try{ /* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ var k,ca=function(a){var b=0>a;a=Math.abs(a);var c=a>>>0;a=Math.floor((a-c)/4294967296);a>>>=0;b&&(a=~a>>>0,c=(~c>>>0)+1,4294967295a?1:0;a=b?-a:a;if(0===a)0<1/a?aa=ba=0:(ba=0,aa=2147483648);else if(isNaN(a))ba=0,aa=2147483647;else if(3.4028234663852886E38>>0;else if(1.1754943508222875E-38>a)a=Math.round(a/Math.pow(2,-149)),ba=0,aa=(b<<31|a)>>>0;else{var c=Math.floor(Math.log(a)/Math.LN2);a*=Math.pow(2, -c);a=Math.round(8388608*a)&8388607;ba=0;aa=(b<<31|c+127<<23|a)>>>0}},ea=function(a){var b=0>a?1:0;a=b?-a:a;if(0===a)ba=0<1/a?0:2147483648,aa=0;else if(isNaN(a))ba=2147483647,aa=4294967295;else if(1.7976931348623157E308>>0,aa=0;else if(2.2250738585072014E-308>a)a/=Math.pow(2,-1074),ba=(b<<31|a/4294967296)>>>0,aa=a>>>0;else{var c=a,d=0;if(2<=c)for(;2<=c&&1023>d;)d++,c/=2;else for(;1>c&&-1022>>0;aa=4503599627370496* a>>>0}},fa=function(a,b){return 4294967296*b+(a>>>0)},ha=function(a,b){var c=b&2147483648;c&&(a=~a+1>>>0,b=~b>>>0,0==a&&(b=b+1>>>0));a=fa(a,b);return c?-a:a},ja=function(a,b){function c(e,f){e=e?String(e):"";return f?"0000000".slice(e.length)+e:e}if(2097151>=b)return""+(4294967296*b+a);var d=(a>>>24|b<<8)>>>0&16777215;b=b>>16&65535;a=(a&16777215)+6777216*d+6710656*b;d+=8147497*b;b*=2;1E7<=a&&(d+=Math.floor(a/1E7),a%=1E7);1E7<=d&&(b+=Math.floor(d/1E7),d%=1E7);return c(b,0)+c(d,b)+c(a,1)},ka=function(a, b){var c=b&2147483648;c&&(a=~a+1>>>0,b=~b+(0==a?1:0)>>>0);a=ja(a,b);return c?"-"+a:a},ma=function(a){return a.constructor===Uint8Array?a:a.constructor===ArrayBuffer?new Uint8Array(a):a.constructor===Array?new Uint8Array(a):a.constructor===String?la(a):new Uint8Array(0)},pa=function(){!na&&oa&&(na=oa());return na},qa=function(){return[]},ua=function(a,b){b=void 0===b?!1:b;var c=new ra;a=m(c,2,a);return m(sa(a,ta(b)),3,1)},ta=function(a){return va?wa?2:3:xa?4:ya?5:(void 0===a?0:a)?za("Linux")?17:18: 1},Ka=function(a){if(a instanceof Aa){var b=a;a=new Ba(a.l,a.u,a.F,a.H,a.I);if(Ca){var c=function(){var d={};if(Da)var e=Da;else{e=ua(0);var f=new Fa;Ga(e,f);e=Ha(f);e=Da=Ia(e)}d["X-Goog-Meeting-RtcClient"]=e;return d};b.G=c;a.G=c}}else a instanceof Ba?b=new Aa(a.l,a.u,a.F,a.H,a.I,new Ja):a=b=a;return{vp:a,nq:b}},Na=function(a,b){a=La(a);var c=n(a,Ma,2);m(c,4,b);return a},Pa=function(a){return a instanceof p?Oa(a):a.clone()},Ua=function(a){a.forEach(function(b){if(b=n(b,Qa,8))Ra(b,t(b,1).map(Sa)), u(b,Ta,2).forEach(function(c){var d=t(c,2).map(Sa);return m(c,2,d||[])})})},bb=function(a,b,c,d,e,f,g){e=new e(Va(a,b));f=new Wa(b.o,f);return new Xa(new Za(a),n(b.g,$a,13),c,d,e,f,b.u,g)},fb=function(a,b,c){var d=cb(a,b,"");return d.add(c).then(function(e){db(d,e[0]);return d},function(e){eb(d);throw e;})},mb=function(a,b,c){function d(g){if(1==g.getResponseHeader().pb())return g=g.ma(),cb(a,b,g);throw new hb("fatal","backend",null,g);}function e(){return ib(jb(a,b,c).then(d),function(g){if(kb()< f)return lb(5E3).then(e);throw g;})}var f=0;return e()},jb=function(a,b,c){return nb(a,ob).then(function(d){return d.g}).then(function(d){return b.l.makeRequest("hangouts/resolve",Oa(c).setRequestHeader(Na(b,d)),pb)})},qb=function(a){return Object.assign(Object.create(null),a)},tb=function(a){rb.add(a);return new sb(a)},ub=function(a){a=a.split(":").filter(function(b){return 0=b.length?a:Oc(new Pc(a),[b[0]]).W()},Qc=function(a){if(a=a.defaultSendBandwidth)a:switch(a){case 1:case 2:a=640;break a;default:a=1280}else a=1280;return a},Tc=function(a){a=void 0===a?[]:a;return a.map(function(b){var c={};if(Rc(t(b,1)||"")){if(Rc(t(b,2)||""))return null;c.name=t(b,2)}else c.usbid=t(b,1);null!=t(b,3)&&(c.w=t(b,3));null!=t(b,4)&&(c.h=t(b,4));null!=b.Pb()&& (c.fps=b.Pb());null!=Sc(b,6,!0)&&(c.isSupported=Sc(b,6,!0));return c}).filter(function(b){return null!==b})},Wc=function(){var a=Uc();return a&&a.mediaDevices&&a.mediaDevices.enumerateDevices?Vc(a.mediaDevices.enumerateDevices()):Vc([])},Yc=function(a){var b=Uc();return b&&b.mediaDevices&&b.mediaDevices.getUserMedia?Vc(b.mediaDevices.getUserMedia(a)):Xc("Missing getUserMedia API.")},$c=function(){var a=Zc;a&&"suspended"===a.state&&a.resume()},dd=function(){Zc||(Zc=new (window.AudioContext||window.webkitAudioContext), ad=new bd(2E3),cd=new v,cd.listen(ad,"tick",function(){return $c()}),$c(),ad.start());return Zc},hd=function(a){return(ed&&fd(59)||gd&&ac(tb("AepsRe")))&&a.some(function(b){return b.uri.includes("http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions")})},id=function(a){var b=new Map;a.forEach(function(c,d){c=c.g.get("msid");c.l&&(c=x(c.g.split(" ")),c.next(),c=c.next().value,b.set(c,d))});return b},kd=function(a,b){var c=new Map;a.forEach(function(d,e){if(!(d.g.get("msid").l||b&& b.g[e]&&!b.g[e].Ki)){d=jd[d.mediaType];var f=c.get(d)||[];c.set(d,y(f).concat([e]))}});return c},nd=function(a,b){var c=void 0===c?{}:c;a=new ld(a,c);a.L=void 0===b?null:b;return md(a)},pd=function(a){var b=a.H,c=a.K,d=a.F,e=a.g,f=a.G;a=[a.I,a.l,b.toLowerCase(),a.L,a.o,a.u,"typ",od(zb)[e]];switch(e){case "LOCAL":"TCP"==b&&a.push("tcptyp","active");break;case "STUN":case "RELAY":case "PEER_REFLEX":c&&d&&a.push("raddr",c,"rport",d)}a.push("generation",f);return new RTCIceCandidate({sdpMLineIndex:0, candidate:"candidate:"+a.join(" ")})},qd=function(a){return a.ge&&a.nk},rd=function(a){return a.width+"x"+a.height},ud=function(a){return 0===sd(a)&&!td(a)&&0<(t(a,29)||0)},vd=function(a){return 0===sd(a)&&!td(a)&&0<(t(a,30)||0)},td=function(a){return!(wd(a,59)&&(a.getHeight()||t(a,57)))},xd=function(a){return"true"!==a&&"false"!==a?null:"true"===a},yd=function(a){a=a?a.isRemote:void 0;return"boolean"===typeof a&&!0===a},zd=function(a){return null!=a&&-1!==a},Ad=function(a,b){a.every(function(c){return"number"=== typeof c})&&b(a)},Bd=function(a){return 0!==a?a:void 0},Cd=function(a,b,c){"number"===typeof a?b(a):void 0!==c&&b(c)},Dd=function(a){var b=["mediaType","kind"],c="";c=void 0===c?-1:c;if(a){b=x(b);for(var d=b.next();!d.done;d=b.next())if(d=d.value,typeof a[d]===typeof c)return a[d]}return c},Ed=function(a,b){var c=b.remoteId;if(c=c&&a.get(c))return c;a=x(a.values());for(c=a.next();!c.done;c=a.next())if(c=c.value,c.localId===b.id)return c},Fd=function(a,b){return(b=b.get(a.transportId))&&b.selectedCandidatePairId? b.selectedCandidatePairId===a.id:!!a.selected},Hd=function(a,b){a.forEach(function(c){var d=c.source;if(c.timestamp){var e=Gd(c.timestamp);(!b.has(d)||b.get(d).ji=e}});ge("Array.prototype.find",function(a){return a?a:function(b,c){return Fe(this,b,c).Ln}}); ge("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=Ge(this,b,"startsWith"),e=d.length,f=b.length;c=Math.max(0,Math.min(c|0,d.length));for(var g=0;g=f}});var He=function(a,b){a instanceof String&&(a+="");var c=0,d={next:function(){if(cc&&(c=Math.max(c+e,0));cc&&(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>>0),Ye=0,af=function(a,b,c){return a.call.apply(a.bind,arguments)},bf=function(a,b,c){if(!a)throw Error();if(2b?null:"string"===typeof a?a.charAt(b): a[b]},qf=function(a,b,c){for(var d=a.length,e="string"===typeof a?a.split(""):a,f=0;fb?null:"string"===typeof a?a.charAt(b):a[b]},tf=function(a){return 0==a.length},uf=function(a){if(!Array.isArray(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0},vf=function(a,b){0<=jf(a,b)||a.push(b)},xf= function(a,b,c){var d;2==arguments.length||0>(d=jf(a,c))?a.push(b):wf(a,d,0,b)},zf=function(a,b){b=jf(a,b);var c;(c=0<=b)&&yf(a,b);return c},yf=function(a,b){return 1==Array.prototype.splice.call(a,b,1).length},Af=function(a,b){b=qf(a,b,void 0);return 0<=b?(yf(a,b),!0):!1},Bf=function(a,b){var c=0;lf(a,function(d,e){b.call(void 0,d,e,a)&&yf(a,e)&&c++})},Cf=function(a){return Array.prototype.concat.apply([],arguments)},I=function(a){var b=a.length;if(0=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)},Ff=function(a,b,c){b=b||a;var d=function(l){return We(l)?"o"+Ze(l):(typeof l).charAt(0)+l};c=c||d;d={};for(var e=0,f=0;f>>1),q;c?q=b.call(e,a[l],l,a):q=b(d,a[l]);0b?1:ac&&wf(a,-(c+1),0,b)},Pf=function(a,b){for(var c={},d=0;de?b[c++]=e:(2048>e?b[c++]=e>>6|192:(55296==(e&64512)&&d+1>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}; var Sf=function(a){return function(){return a}},Tf=function(){return!0},Uf=function(a){return a},Vf=function(a){return function(){throw Error(a);}},Wf=function(a){return function(){return!a.apply(this,arguments)}}; var Xf=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)},Yf=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1},Zf=function(a,b){for(var c in a)if(!b.call(void 0,a[c],c,a))return!1;return!0},$f=function(a){for(var b in a)return b},ag=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b},bg=function(a,b){return null!==a&&b in a},cg=function(a,b){for(var c in a)if(a[c]==b)return!0;return!1},dg=function(a){for(var b in a)return!1;return!0},eg=function(a){for(var b in a)delete a[b]}, fg=function(a){var b={},c;for(c in a)b[c]=a[c];return b},od=function(a){var b={},c;for(c in a)b[a[c]]=c;return b},gg="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),hg=function(a,b){for(var c,d,e=1;e/g,Cg=/"/g,Dg=/'/g,Eg=/\x00/g,Fg=/[\x00&<>"']/,Cc=function(a,b){var c=0;a=yg(String(a)).split(".");b=yg(String(b)).split(".");for(var d=Math.max(a.length,b.length),e=0;0==c&&eb?1:0}; var zc;a:{var Hg=F.navigator;if(Hg){var Ig=Hg.userAgent;if(Ig){zc=Ig;break a}}zc=""}var za=function(a){return-1!=zc.indexOf(a)},Jg=function(a){for(var b=/(\w[\w ]+)\/([^\s]+)\s*(?:\((.*?)\))?/g,c=[],d;d=b.exec(a);)c.push([d[1],d[2],d[3]||void 0]);return c}; var Kg=function(){return za("Trident")||za("MSIE")},Fc=function(){return za("Firefox")||za("FxiOS")},Lg=function(){return za("Safari")&&!(Dc()||za("Coast")||za("Opera")||za("Edge")||za("Edg/")||za("OPR")||Fc()||za("Silk")||za("Android"))},Dc=function(){return(za("Chrome")||za("CriOS"))&&!za("Edge")},Ec=function(){function a(e){e=rf(e,d);return c[e]||""}var b=zc;if(Kg())return Mg(b);b=Jg(b);var c={};kf(b,function(e){c[e[0]]=e[1]});var d=cf(bg,c);return za("Opera")?a(["Version","Opera"]):za("Edge")? a(["Edge"]):za("Edg/")?a(["Edg"]):Dc()?a(["Chrome","CriOS","HeadlessChrome"]):(b=b[2])&&b[1]||""},Mg=function(a){var b=/rv: *([\d\.]*)/.exec(a);if(b&&b[1])return b[1];b="";var c=/MSIE +([\d\.]+)/.exec(a);if(c&&c[1])if(a=/Trident\/(\d.\d)/.exec(a),"7.0"==c[1])if(a&&a[1])switch(a[1]){case "4.0":b="8.0";break;case "5.0":b="9.0";break;case "6.0":b="10.0";break;case "7.0":b="11.0"}else b="7.0";else b=c[1];return b}; var Ng=function(a,b){a.src=rg(b);(b=a.ownerDocument&&a.ownerDocument.defaultView)&&b!=F?b=Pe(b.document):(null===Oe&&(Oe=Pe(F.document)),b=Oe);b&&a.setAttribute("nonce",b)}; var Og=function(a){Fg.test(a)&&(-1!=a.indexOf("&")&&(a=a.replace(zg,"&")),-1!=a.indexOf("<")&&(a=a.replace(Ag,"<")),-1!=a.indexOf(">")&&(a=a.replace(Bg,">")),-1!=a.indexOf('"')&&(a=a.replace(Cg,""")),-1!=a.indexOf("'")&&(a=a.replace(Dg,"'")),-1!=a.indexOf("\x00")&&(a=a.replace(Eg,"�")));return a},Pg=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)},Qg=function(a,b){a=String(a);var c=a.indexOf(".");-1==c&&(c=a.length);return Pg("0", Math.max(0,b-c))+a},Rg=function(a){return null==a?"":String(a)},nc=function(){return Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^kb()).toString(36)},Sg=function(a){isFinite(a)&&(a=String(a));return"string"===typeof a?/^\s*-?0x/i.test(a)?parseInt(a,16):parseInt(a,10):NaN},Tg=function(a,b,c){a=a.split(b);for(var d=[];0f&&128<=c;f++)c=a.l[a.g++],d|=(c&127)<<7*f;128<=c&&(c=a.l[a.g++],d|=(c&127)<<28,e|=(c&127)>>4);if(128<=c)for(f=0;5>f&&128<=c;f++)c=a.l[a.g++],e|=(c&127)<<7*f+3;if(128>c)return b(d>>>0,e>>>0);a.K=!0},Zg=function(a){var b=a.l;var c=b[a.g];var d=c&127;if(128>c)return a.g+=1,d;c=b[a.g+1];d|=(c&127)<<7;if(128>c)return a.g+=2,d;c=b[a.g+2];d|=(c&127)<<14;if(128>c)return a.g+=3,d;c=b[a.g+3];d|=(c&127)<<21;if(128>c)return a.g+=4,d;c=b[a.g+4];d|=(c&15)<<28;if(128> c)return a.g+=5,d>>>0;a.g+=5;128<=b[a.g++]&&128<=b[a.g++]&&128<=b[a.g++]&&128<=b[a.g++]&&a.g++;return d},Wg=[]; var $g=function(a){this.g=Xg(a,void 0,void 0);this.o=this.l=-1;this.u=!1},ah=function(a){return 4==a.o};$g.prototype.reset=function(){this.g.reset();this.o=this.l=-1}; var bh=function(a){var b=a.g;(b=b.g==b.o)||(b=a.u)||(b=a.g,b=b.K||0>b.g||b.g>b.o);if(b)return!1;b=Zg(a.g);var c=b&7;if(0!=c&&5!=c&&1!=c&&2!=c&&3!=c&&4!=c)return a.u=!0,!1;a.l=b>>>3;a.o=c;return!0},ch=function(a){switch(a.o){case 0:if(0!=a.o)ch(a);else{for(a=a.g;a.l[a.g]&128;)a.g++;a.g++}break;case 1:1!=a.o?ch(a):(a=a.g,a.g+=8);break;case 2:if(2!=a.o)ch(a);else{var b=Zg(a.g);a=a.g;a.g+=b}break;case 5:5!=a.o?ch(a):(a=a.g,a.g+=4);break;case 3:b=a.l;do{if(!bh(a)){a.u=!0;break}if(4==a.o){a.l!=b&&(a.u= !0);break}ch(a)}while(1);break;default:a.u=!0}},dh=function(a,b,c){var d=a.g.o,e=Zg(a.g);e=a.g.g+e;a.g.o=e;c(b,a);a.g.g=e;a.g.o=d},eh=function(a){var b=Zg(a.g);a=a.g;var c=a.l,d=a.g,e=d+b,f=[];for(b="";dg)f.push(g);else if(192>g)continue;else if(224>g){var h=c[d++];f.push((g&31)<<6|h&63)}else if(240>g){h=c[d++];var l=c[d++];f.push((g&15)<<12|(h&63)<<6|l&63)}else if(248>g){h=c[d++];l=c[d++];var q=c[d++];g=(g&7)<<18|(h&63)<<12|(l&63)<<6|q&63;g-=65536;f.push((g>>10&1023)+55296, (g&1023)+56320)}8192<=f.length&&(b+=String.fromCharCode.apply(null,f),f.length=0)}if(8192>=f.length)f=String.fromCharCode.apply(null,f);else{c="";for(e=0;e>>7|c<<25)>>>0,c>>>=7;a.g.push(b)},hh=function(a,b){for(;127>>=7;a.g.push(b)},ih=function(a,b){if(0<=b)hh(a,b);else{for(var c=0;9>c;c++)a.g.push(b&127|128),b>>=7;a.g.push(1)}},jh=function(a,b){a.g.push(b>>>0&255);a.g.push(b>>>8&255);a.g.push(b>>>16&255);a.g.push(b>>>24&255)}; var kh=function(){return za("iPhone")&&!za("iPod")&&!za("iPad")},Bc=function(){return kh()||za("iPad")||za("iPod")},yc=function(){return za("Macintosh")},Ac=function(){return za("Windows")}; var lh=function(a){lh[" "](a);return a};lh[" "]=Re;var mh=function(a,b,c,d){d=d?d(b):b;return Object.prototype.hasOwnProperty.call(a,d)?a[d]:a[d]=c(b)}; var Uc=function(){return F.navigator||null},nh=za("Opera"),oh=Kg(),ph=za("Edge"),qh=za("Gecko")&&!(-1!=zc.toLowerCase().indexOf("webkit")&&!za("Edge"))&&!(za("Trident")||za("MSIE"))&&!za("Edge"),rh=-1!=zc.toLowerCase().indexOf("webkit")&&!za("Edge"),wa=rh&&za("Mobile"),sh,th=Uc();sh=th&&th.platform||"";var uh=yc(),vh=Ac(),wh=za("Linux")||za("CrOS"),va=za("Android"),xa=kh(),ya=za("iPad"),xh=za("iPod"),yh=function(){var a=F.document;return a?a.documentMode:void 0},zh; a:{var Ah="",Bh=function(){var a=zc;if(qh)return/rv:([^\);]+)(\)|;)/.exec(a);if(ph)return/Edge\/([\d\.]+)/.exec(a);if(oh)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(rh)return/WebKit\/(\S+)/.exec(a);if(nh)return/(?:Version)[ \/]?(\S+)/.exec(a)}();Bh&&(Ah=Bh?Bh[1]:"");if(oh){var Ch=yh();if(null!=Ch&&Ch>parseFloat(Ah)){zh=String(Ch);break a}}zh=Ah}var Dh=zh,Eh={},Fh=function(a){return mh(Eh,a,function(){return 0<=Cc(Dh,a)})},Gh; if(F.document&&oh){var Hh=yh();Gh=Hh?Hh:parseInt(Dh,10)||void 0}else Gh=void 0;var Ih=Gh; var Jh=Fc(),Kh=kh()||za("iPod"),Lh=za("iPad"),Mh=za("Android")&&!(Dc()||Fc()||za("Opera")||za("Silk")),ed=Dc(),gd=Lg()&&!Bc(); var Nh={},Oh=null,Ia=function(a){var b;void 0===b&&(b=0);Ph();b=Nh[b];for(var c=[],d=0;d>2;e=(e&3)<<4|g>>4;g=(g&15)<<2|l>>6;l&=63;h||(l=64,f||(g=64));c.push(b[q],b[e],b[g]||"",b[l]||"")}return c.join("")},Rh=function(a){var b="";Qh(a,function(c){b+=String.fromCharCode(c)});return b},la=function(a){var b=a.length,c=3*b/4;c%3?c=Math.floor(c):-1!="=.".indexOf(a[b-1])&&(c=-1!="=.".indexOf(a[b-2])?c-2:c-1);var d=new Uint8Array(c), e=0;Qh(a,function(f){d[e++]=f});return d.subarray(0,e)},Qh=function(a,b){function c(l){for(;d>4);64!=g&&(b(f<<4&240|g>>2),64!=h&&b(g<<6&192|h))}},Ph=function(){if(!Oh){Oh={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;5>c;c++){var d=a.concat(b[c].split("")); Nh[c]=d;for(var e=0;e>>=7,a.o++;b.push(c);a.o++};Fa.prototype.reset=function(){this.u=[];this.l.end();this.o=0;this.F=[]}; var Ha=function(a){for(var b=new Uint8Array(a.o+a.l.length()),c=a.u,d=c.length,e=0,f=0;ff)d.g.push(f);else if(2048>f)d.g.push(f>>6|192),d.g.push(f&63|128);else if(65536>f)if(55296<=f&&56319>=f&&e+1= g&&(f=1024*(f-55296)+g-56320+65536,d.g.push(f>>18|240),d.g.push(f>>12&63|128),d.g.push(f>>6&63|128),d.g.push(f&63|128),e++)}else d.g.push(f>>12|224),d.g.push(f>>6&63|128),d.g.push(f&63|128)}Uh(a,b)}},P=function(a,b,c,d){null!=c&&(b=Th(a,b),d(c,a),Uh(a,b))},Yh=function(a,b,c){if(null!=c)for(var d=0;d=a?b.push("[...reached max depth limit...]"):b.push("[end]");return b.join("")},Ci=function(a){var b=Error();if(Error.captureStackTrace)return Error.captureStackTrace(b,a),String(b.stack);try{throw b;}catch(c){b=c}return(a=b.stack)?String(a):null},Bi=function(a){var b;(b=Ci(a||Bi))||(b=Fi(a||arguments.callee.caller,[]));return b},Fi=function(a,b){var c=[];if(0<=jf(b,a))c.push("[...circular reference...]");else if(a&&50>b.length){c.push(Ei(a)+"(");for(var d=a.arguments,e=0;d&&e=a.keyCode)a.keyCode=-1}catch(b){}}; var Pi="closure_listenable_"+(1E6*Math.random()|0),Qi=function(a){return!(!a||!a[Pi])},Ri=0; var Si=function(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.Vd=e;this.key=++Ri;this.removed=this.Hg=!1},Ti=function(a){a.removed=!0;a.listener=null;a.proxy=null;a.src=null;a.Vd=null}; var Ui=function(a){this.src=a;this.g={};this.l=0};Ui.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.g[f];a||(a=this.g[f]=[],this.l++);var g=Vi(a,b,d,e);-1c.keyCode||void 0!=c.returnValue)){a:{var e=!1;if(0==c.keyCode)try{c.keyCode=-1;break a}catch(g){e=!0}if(e||void 0==c.returnValue)c.returnValue=!0}c=[];for(e=b.l;e;e=e.parentNode)c.push(e);a=a.type;for(e=c.length-1;0<=e;e--){b.l=c[e];var f=oj(c[e],a,!0,b);d=d&&f}for(e=0;e>>0),cj=function(a){if(Ve(a))return a;a[pj]||(a[pj]=function(b){return a.handleEvent(b)});return a[pj]}; var qj=function(a,b){T.call(this,a);this.json=b;try{var c=b.match('".*?"')[0];var d=c.substring(1,c.length-1)}catch(e){d=""}this.g=d;this.timestamp=Date.now()};C(qj,T);var rj=function(a){if(!a.o)try{a.o=a.json?JSON.parse(a.json):null}catch(b){return null}return a.o}; var sj=function(a,b,c){this.zs=a;this.qm=b||null;this.Eo=c||[]};sj.prototype.toString=function(){return this.zs};sj.prototype.getModuleId=function(){return this.qm};sj.prototype.Pf=function(){return this.Eo}; var tj=!1,uj="",vj=function(a){a=a.match(/[\d]+/g);if(!a)return"";a.length=3;return a.join(".")}; (function(){if(navigator.plugins&&navigator.plugins.length){var a=navigator.plugins["Shockwave Flash"];if(a&&(tj=!0,a.description)){uj=vj(a.description);return}if(navigator.plugins["Shockwave Flash 2.0"]){tj=!0;uj="2.0.0.11";return}}if(navigator.mimeTypes&&navigator.mimeTypes.length&&(a=navigator.mimeTypes["application/x-shockwave-flash"],tj=!(!a||!a.enabledPlugin))){uj=vj(a.enabledPlugin.description);return}if("undefined"!=typeof ActiveXObject){try{var b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7"); tj=!0;uj=vj(b.GetVariable("$version"));return}catch(c){}try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");tj=!0;uj="6.0.21";return}catch(c){}try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash"),tj=!0,uj=vj(b.GetVariable("$version"))}catch(c){}}})();var wj=tj,xj=uj; var yj=!oh||9<=Number(Ih),zj=!qh&&!oh||oh&&9<=Number(Ih)||qh&&Fh("1.9.1"); var Aj=function(a,b){this.width=a;this.height=b};Aj.prototype.clone=function(){return new Aj(this.width,this.height)};var Bj=function(a){return a.width*a.height};k=Aj.prototype;k.aspectRatio=function(){return this.width/this.height};k.Wc=function(){return!Bj(this)};k.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};k.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this}; k.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};var Cj=function(a,b){a.width*=b;a.height*=b;return a}; var Dj=function(a){return a?new Vd(9==a.nodeType?a:a.ownerDocument||a.document):gf||(gf=new Vd)},Fj=function(a,b){Xf(b,function(c,d){c&&"object"==typeof c&&c.zl&&(c=c.ml());"style"==d?a.style.cssText=c:"class"==d?a.className=c:"for"==d?a.htmlFor=c:Ej.hasOwnProperty(d)?a.setAttribute(Ej[d],c):wg(d,"aria-")||wg(d,"data-")?a.setAttribute(d,c):a[d]=c})},Ej={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"},Gj=function(a){a=a.document;a="CSS1Compat"==a.compatMode?a.documentElement:a.body;return new Aj(a.clientWidth,a.clientHeight)},Hj=function(a){return a?a.parentWindow||a.defaultView:window},Ij=function(a,b,c){function d(h){h&&b.appendChild("string"===typeof h?a.createTextNode(h):h)}for(var e=2;e");f=f.join("")}f=Jj(d,f);g&&("string"===typeof g?f.className=g:Array.isArray(g)?f.className=g.join(" "):Fj(f,g));2a.l&&(a.l++,b.next=a.g,a.g=b)}; var Vj=function(a){F.setTimeout(function(){throw a;},0)},Wj,Xj=function(){var a=F.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!za("Presto")&&(a=function(){var e=Jj(document,"IFRAME");e.style.display="none";document.documentElement.appendChild(e);var f=e.contentWindow;e=f.document;e.open();e.close();var g="callImmediate"+Math.random(),h="file:"==f.location.protocol?"*":f.location.protocol+"//"+f.location.host;e=G(function(l){if(("*"== h||l.origin==h)&&l.data==g)this.port1.onmessage()},this);f.addEventListener("message",e,!1);this.port1={};this.port2={postMessage:function(){f.postMessage(g,h)}}});if("undefined"!==typeof a&&!Kg()){var b=new a,c={},d=c;b.port1.onmessage=function(){if(void 0!==c.next){c=c.next;var e=c.Bk;c.Bk=null;e()}};return function(e){d.next={Bk:e};d=d.next;b.port2.postMessage(0)}}return function(e){F.setTimeout(e,0)}}; var Yj=function(){this.l=this.g=null},ak=new Tj(function(){return new Zj},function(a){a.reset()});Yj.prototype.add=function(a,b){var c=ak.get();c.set(a,b);this.l?this.l.next=c:this.g=c;this.l=c};Yj.prototype.remove=function(){var a=null;this.g&&(a=this.g,this.g=this.g.next,this.g||(this.l=null),a.next=null);return a};var Zj=function(){this.next=this.scope=this.g=null};Zj.prototype.set=function(a,b){this.g=a;this.scope=b;this.next=null};Zj.prototype.reset=function(){this.next=this.scope=this.g=null}; var fk=function(a,b){bk||ck();dk||(bk(),dk=!0);ek.add(a,b)},bk,ck=function(){if(F.Promise&&F.Promise.resolve){var a=F.Promise.resolve(void 0);bk=function(){a.then(gk)}}else bk=function(){var b=gk;!Ve(F.setImmediate)||F.Window&&F.Window.prototype&&!za("Edge")&&F.Window.prototype.setImmediate==F.setImmediate?(Wj||(Wj=Xj()),Wj(b)):F.setImmediate(b)}},dk=!1,ek=new Yj,gk=function(){for(var a;a=ek.remove();){try{a.g.call(a.scope)}catch(b){Vj(b)}Uj(ak,a)}dk=!1}; var hk=function(a){a.prototype.$goog_Thenable=!0},ik=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}}; var kk=function(a,b){this.g=0;this.G=void 0;this.u=this.l=this.o=null;this.K=this.F=!1;if(a!=Re)try{var c=this;a.call(b,function(d){jk(c,2,d)},function(d){jk(c,3,d)})}catch(d){jk(this,3,d)}},lk=function(){this.next=this.context=this.l=this.u=this.g=null;this.o=!1};lk.prototype.reset=function(){this.context=this.l=this.u=this.g=null;this.o=!1}; var mk=new Tj(function(){return new lk},function(a){a.reset()}),nk=function(a,b,c){var d=mk.get();d.u=a;d.l=b;d.context=c;return d},Vc=function(a){if(a instanceof kk)return a;var b=new kk(Re);jk(b,2,a);return b},Xc=function(a){return new kk(function(b,c){c(a)})},pk=function(a,b,c){ok(a,b,c,null)||fk(cf(b,a))},qk=function(a){return new kk(function(b,c){a.length||b(void 0);for(var d=0,e;da.I?0==a.I?Hk(a.X,5E4,a):Hk(a.X,5E3,a):(Nk(a,{step:"callback",error:"timeout"}),Ok(a,Kk.Vj),Qk(a))}; Jk.prototype.J=function(){if(this.jd==Kk.Ij)if(null==this.cb.version)1!=this.o&&(this.o=!0,this.P("i")),Hk(this.J,250,this);else{0!=this.o&&(this.o=!1,this.P("i"));try{if(8E3>this.M){Hk(this.J,250,this);this.M+=250;var a=!0}else Nk(this,{step:"callback",error:"timeout"}),Ok(this,Kk.Vj),Qk(this),a=!1;if(a){var b=G(this.Cp,this);this.cb.onmessage=b;if(this.V&&void 0!==this.cb.onmessageglobal){var c=Ze(this);Me("om_"+c,b,Lj(this.l));this.cb.onmessageglobal="om_"+c}Nk(this,{step:"callback"});Ok(this, Kk.Gj)}}catch(d){Nk(this,{step:"callback",error:d.name,msg:d.message})}}};var Rk=function(a){hg(a.O,{domain:document.domain,useragent:zc,pluginversion:a.Qb()});a.send(Oj(["mf",2,a.O]))};k=Jk.prototype;k.Qb=function(){return this.cb.version};k.pn=function(a){this.O=a;this.jd>=Kk.Nj&&Rk(this)};k.send=function(a,b){if(!(this.jdthis.hh&&(this.hh=a)};var Qk=function(a){a.P(new qj("f-msg",Oj(["mf","",""])))};Jk.prototype.pb=function(){return this.jd};var Ok=function(a,b){b!=a.jd&&(a.jd=b,a.P(Lk.fo))};Jk.prototype.bl=function(){return this.u}; Jk.prototype.G=function(){this.cb&&(this.cb.onmessage=null,this.V&&null!=this.cb.onmessageglobal&&(Me(this.cb.onmessageglobal,null,Lj(this.l)),this.cb.onmessageglobal=null),oh||this.l.l(this.cb),this.cb=null)};Jk.prototype.Z=function(){this.G();this.F&&(Ik(this.F),delete this.F);this.u=[];this.l=null;this.hh=0;Jk.Ta.Z.call(this)};var Nk=function(a,b){100>a.u.length&&(b.t=""+kb(),a.u.push(b))};Jk.prototype.aa=function(){this.P(new Uk(this.u));delete this.F};Jk.prototype.getVersionInfo=function(){return this.R}; var Uk=function(){T.call(this,"d")};H(Uk,T);var Tk=function(){T.call(this,"a")};H(Tk,T);var Sk=function(){T.call(this,"j")}; var Wk=function(a){Q(this,a,0,-1,Vk,null)};H(Wk,p);var Vk=[6,19,29,30,34,38,41];Wk.prototype.ma=function(){return t(this,1)};Wk.prototype.G=function(a){return m(this,17,a)};Wk.prototype.da=function(){return t(this,35)}; var v=function(a){S.call(this);this.Oa=a;this.I={}};H(v,S);var Xk=[];v.prototype.listen=function(a,b,c,d){return Yk(this,a,b,c,d)}; var Yk=function(a,b,c,d,e,f){Array.isArray(c)||(c&&(Xk[0]=c.toString()),c=Xk);for(var g=0;g=a.length)throw el;if(b in a)return a[b++];b++}};return c}throw Error("A");},hl=function(a,b){if(Ue(a))try{kf(a,b,void 0)}catch(c){if(c!==el)throw c;}else{a=gl(a);try{for(;;)b.call(void 0,a.next(),void 0,a)}catch(c){if(c!==el)throw c;}}},il=function(a){if(Ue(a))return I(a);a=gl(a);var b=[];hl(a,function(c){b.push(c)});return b}; var jl=function(a,b){this.l={};this.g=[];this.u=this.o=0;var c=arguments.length;if(12*this.o&&kl(this),!0):!1};var kl=function(a){if(a.o!=a.g.length){for(var b=0,c=0;b=d.g.length)throw el;var f=d.g[b++];return a?f:d.l[f]};return e}; var ll=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)}; var ml=function(a){if(a.tb&&"function"==typeof a.tb)return a.tb();if("string"===typeof a)return a.split("");if(Ue(a)){for(var b=[],c=a.length,d=0;dc&&(c=a.length);var d=a.indexOf("?");if(0>d||d>c){d=c;var e=""}else e=a.substring(d+1,c);a=[a.substr(0,d),e,a.substr(c)];c=a[1];a[1]=b?c?c+"&"+b:b:c;a=a[0]+(a[1]?"?"+a[1]:"")+a[2]}return a},wl=/#|$/,xl=function(a,b){var c=a.search(wl);a:{var d=0;for(var e=b.length;0<=(d=a.indexOf(b,d))&&dd)return null;e=a.indexOf("&",d);if(0>e||e>c)e=c;d+=b.length+1;return decodeURIComponent(a.substr(d,e-d).replace(/\+/g," "))}; var yl=function(a){this.g=this.G=this.o="";this.H=null;this.K=this.l="";this.F=!1;var b;a instanceof yl?(this.F=a.F,zl(this,a.o),this.G=a.G,this.g=a.g,Al(this,a.H),this.l=a.l,Bl(this,a.u.clone()),this.K=a.K):a&&(b=String(a).match(rl))?(this.F=!1,zl(this,b[1]||"",!0),this.G=Cl(b[2]||""),this.g=Cl(b[3]||"",!0),Al(this,b[4]),this.l=Cl(b[5]||"",!0),Bl(this,b[6]||"",!0),this.K=Cl(b[7]||"")):(this.F=!1,this.u=new Dl(null,this.F))}; yl.prototype.toString=function(){var a=[],b=this.o;b&&a.push(El(b,Fl,!0),":");var c=this.g;if(c||"file"==b)a.push("//"),(b=this.G)&&a.push(El(b,Fl,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.H,null!=c&&a.push(":",String(c));if(c=this.l)this.g&&"/"!=c.charAt(0)&&a.push("/"),a.push(El(c,"/"==c.charAt(0)?Gl:Hl,!0));(c=this.u.toString())&&a.push("?",c);(c=this.K)&&a.push("#",El(c,Il));return a.join("")}; yl.prototype.resolve=function(a){var b=this.clone(),c=!!a.o;c?zl(b,a.o):c=!!a.G;c?b.G=a.G:c=!!a.g;c?b.g=a.g:c=null!=a.H;var d=a.l;if(c)Al(b,a.H);else if(c=!!a.l){if("/"!=d.charAt(0))if(this.g&&!this.l)d="/"+d;else{var e=b.l.lastIndexOf("/");-1!=e&&(d=b.l.substr(0,e+1)+d)}e=d;if(".."==e||"."==e)d="";else if(-1!=e.indexOf("./")||-1!=e.indexOf("/.")){d=wg(e,"/");e=e.split("/");for(var f=[],g=0;gb)throw Error("C`"+b);a.H=b}else a.H=null},Bl=function(a,b,c){b instanceof Dl?(a.u=b,Jl(a.u,a.F)):(c||(b=El(b,Kl)),a.u=new Dl(b,a.F))},Cl=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},El=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,Ll),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},Ll=function(a){a=a.charCodeAt(0); return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},Fl=/[#\/\?@]/g,Hl=/[#\?:]/g,Gl=/[#\?]/g,Kl=/[#\?@]/g,Il=/#/g,Dl=function(a,b){this.l=this.g=null;this.o=a||null;this.u=!!b},Ml=function(a){a.g||(a.g=new jl,a.l=0,a.o&&ul(a.o,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};k=Dl.prototype;k.fb=function(){Ml(this);return this.l};k.add=function(a,b){Ml(this);this.o=null;a=Nl(this,a);var c=this.g.get(a);c||this.g.set(a,c=[]);c.push(b);this.l+=1;return this}; k.remove=function(a){Ml(this);a=Nl(this,a);return ll(this.g.l,a)?(this.o=null,this.l-=this.g.get(a).length,this.g.remove(a)):!1};k.clear=function(){this.g=this.o=null;this.l=0};k.Wc=function(){Ml(this);return 0==this.l};var Ol=function(a,b){Ml(a);b=Nl(a,b);return ll(a.g.l,b)};k=Dl.prototype;k.forEach=function(a,b){Ml(this);this.g.forEach(function(c,d){kf(c,function(e){a.call(b,e,d,this)},this)},this)}; k.jc=function(){Ml(this);for(var a=this.g.tb(),b=this.g.jc(),c=[],d=0;dCc(a,"4.5.0.0")&&zf(this.H,"bpd");this.F=b||{};null!=this.H&&Object.assign(this.F,{exps:this.H});this.S=d||!1;this.J=new Pl(this)};H(bm,U); var cm=function(a,b,c,d){T.call(this,"h");this.K=a;this.g=b;this.F=c;this.o=d};H(cm,T);var dm=function(a,b){T.call(this,"g");this.sessionId=b};H(dm,T);bm.prototype.u=0;var em=function(a){T.call(this,"l");this.json=a};H(em,T);var fm=function(){T.call(this,"f")};H(fm,T);bm.prototype.initialize=function(a){if(!this.o){if($l(a))this.o=gm(this,a);else{var b=a;this.o=gm(this)}this.o.initialize(b)?(this.u=0,Hk(this.R,15E3,this)):(hm(this),this.u=4,im(this))}}; var hm=function(a){a.o&&(a.o.L=null,a.o.dispose(),a.o=null);a.u=0};bm.prototype.R=function(){this.o&&1!=this.u&&im(this)};var gm=function(a,b){null!=a.F&&Object.assign(a.F,{jid:a.M,renderer:0,useBrowserHttp:!!wh});if($l(b)){var c=a.F;b=new am(b);null!=c&&b.pn(c);c=b}else c=new Jk(null,a.F,a.S);c.L=a;a.I.listen(c,"f-msg",a.O);return c},dl=function(a,b){a.o&&(Array.isArray(b)&&(b=Oj(b)),a.o.send(b))};bm.prototype.isInstalled=function(){return!(4==this.u||2==this.u)}; bm.prototype.Ei=function(){return!!this.o&&!!this.o.Xp&&this.o.o};var km=function(a){if(!jm(a,"5.5.0.0"))return!1;a=(a=Vl(a))&&a[4]&&a[4].videoCodecs;if(!a)return!1;for(var b=0;bb[1].indexOf("nf"))a.l=b,b=Wl(a),a.l[4]||(a.l[4]=b),a.l[4].os=nm(),a.l[4].clientver=1,a.l[4].browserRenderer=0,wj&&(a.l[4].flashVersion=xj),null==a.l[4].browser&&(a.l[4].browser=b.browser),null==a.l[4].clientver&&(a.l[4].clientver=b.clientver),null==a.l[4].connectsequence&&(a.l[4].connectsequence=b.connectsequence),jm(a,"3.12.0.0")||void 0===a.l[4].videoRtpHdrExts||(a.l[4].videoRtpHdrExts=[]),jm(a,"3.15.1.0")||Af(a.l[4].audioCodecs||[],function(c){return"opus"== c[1]});im(a)},im=function(a){var b=Vl(a);b&&"nf0"!=b[1]?a.u=1:1==a.u?a.u=3:0==a.u&&(a.u=2);a.P(new em(b))},nm=function(){var a="other";vh?a="windows":uh?a=-1!=sh.indexOf("Intel")?"mac":"mac-ppc":0<=zc.indexOf("CrOS")?a="cros":wh&&(a="linux");return a},Vl=function(a,b){a=a.l&&""!=a.l[1]?a.l.slice():["mf","nf0","0.0.0",1,Wl(a)];return b?Oj(a):a},Wl=function(a){var b="";a.o&&(b=a.o.bl());a="Other";if(nh)a="Opera";else if(oh)a="Internet Explorer";else if(Jh)a="Firefox";else if(ed){a:{a=navigator.plugins; for(c in a)if("Chromium PDF Viewer"==a[c].name){var c=!0;break a}c=!1}a=c?"Chromium-based":"Chrome"}else gd&&(a="Safari");return{os:nm(),browser:a,clientver:1,connectsequence:b}},mm=function(a){if(!a.G)return 0;switch(a.G.pr){case "i":return 2;case "a":return 1;default:return 0}},jm=function(a,b){a=null!=a.F&&null!=a.F.pluginversion?a.F.pluginversion:Vl(a)[2];return 0<=Cc(a,b)};bm.prototype.Z=function(){bm.Ta.Z.call(this);eb(this.J);this.I.dispose();this.I=null;hm(this);this.F=null}; var om=function(a,b,c){switch(c){case 2:b=Oj(["error",b]);break;case 1:b=Oj(["warning",b]);break;default:b=Oj(["comment",b])}try{dl(a,b)}catch(d){}},Xl=function(a){if(!a.G)return 0;switch(a.G.callType){case "v":return 3;case "a":return 1;default:return 0}}; var pm=function(){}; var qm=function(){};H(qm,pm);qm.prototype.fb=function(){var a=0;hl(this.Jd(!0),function(){a++});return a};qm.prototype.clear=function(){var a=il(this.Jd(!0)),b=this;kf(a,function(c){b.remove(c)})}; var rm=function(a){this.g=a};H(rm,qm);k=rm.prototype;k.isAvailable=function(){if(!this.g)return!1;try{return this.g.setItem("__sak","1"),this.g.removeItem("__sak"),!0}catch(a){return!1}};k.set=function(a,b){try{this.g.setItem(a,b)}catch(c){if(0==this.g.length)throw"Storage mechanism: Storage disabled";throw"Storage mechanism: Quota exceeded";}};k.get=function(a){a=this.g.getItem(a);if("string"!==typeof a&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a};k.remove=function(a){this.g.removeItem(a)}; k.fb=function(){return this.g.length};k.Jd=function(a){var b=0,c=this.g,d=new fl;d.next=function(){if(b>=c.length)throw el;var e=c.key(b++);if(a)return e;e=c.getItem(e);if("string"!==typeof e)throw"Storage mechanism: Invalid value was encountered";return e};return d};k.clear=function(){this.g.clear()};k.key=function(a){return this.g.key(a)}; var sm=function(){var a=null;try{a=window.localStorage||null}catch(b){}this.g=a};H(sm,rm); var tm=function(){this.l=new sm};tm.prototype.g=function(a,b){this.l.isAvailable()&&(b=b||3E4,this.l.set("hscv",Oj([kb()+b,JSON.parse(a.sa())])))}; var um=function(a,b){this.l=new tm;ed||(b=new Jk(null,{jid:b}),b.initialize(),this.g=new bl(b));a.registerService("waitForRequest",G(this.o,this))};um.prototype.o=function(a){var b=JSON.parse(a);a=JSON.parse(b.context);b=Number(JSON.parse(b.timeoutMs));a=new Wk(a);this.l.g(a,b);null!=this.g&&this.g.g(a,b)}; var vm=function(a){Q(this,a,0,-1,null,null)};H(vm,p); var xm=function(a){Q(this,a,0,-1,wm,null)};H(xm,p);var wm=[14];xm.prototype.ma=function(){return t(this,1)};xm.prototype.Ab=function(){return t(this,4)}; var ym=function(a){Q(this,a,0,-1,null,null)};H(ym,p);var zm=function(a,b){var c=t(a,1);null!=c&&O(b,1,c);c=t(a,2);null!=c&&null!=c&&Vh(b,2,c);c=t(a,3);null!=c&&null!=c&&Vh(b,3,c);c=t(a,4);null!=c&&null!=c&&Vh(b,4,c)};ym.prototype.Qb=function(){return t(this,4)}; var Ma=function(a){Q(this,a,0,-1,null,null)};H(Ma,p);var Am=function(a,b){var c=t(a,1);null!=c&&O(b,1,c);c=t(a,2);null!=c&&O(b,2,c);c=t(a,3);null!=c&&O(b,3,c);c=t(a,4);null!=c&&O(b,4,c)}; var Bm=function(a){Q(this,a,0,-1,null,null)};H(Bm,p);var Cm=function(a,b){var c=t(a,1);null!=c&&J(b,1,c);c=t(a,2);null!=c&&O(b,2,c)}; var Dm=function(a){Q(this,a,0,-1,null,null)};H(Dm,p);var Em=function(a,b){var c=t(a,1);null!=c&&L(b,1,c);c=t(a,2);null!=c&&L(b,2,c);c=t(a,3);null!=c&&O(b,3,c);c=t(a,4);null!=c&&J(b,4,c);c=t(a,5);null!=c&&O(b,5,c);c=t(a,6);null!=c&&O(b,6,c);c=t(a,7);null!=c&&b.g(7,c)};Dm.prototype.getMajorVersion=function(){return t(this,3)};Dm.prototype.Qb=function(){return t(this,4)}; var ra=function(a){Q(this,a,0,-1,null,null)};H(ra,p);var Ga=function(a,b){var c=t(a,1);null!=c&&L(b,1,c);c=t(a,2);null!=c&&L(b,2,c);c=t(a,3);null!=c&&L(b,3,c);c=t(a,4);null!=c&&L(b,4,c);c=t(a,5);null!=c&&L(b,5,c)};ra.prototype.getDevice=function(){return t(this,1)};var sa=function(a,b){return m(a,1,b)}; var Fm=function(a){Q(this,a,0,-1,null,null)};H(Fm,p);var Gm=function(a,b){var c=n(a,Dm,1);null!=c&&P(b,1,c,Em);c=n(a,Ma,2);null!=c&&P(b,2,c,Am);c=n(a,Bm,3);null!=c&&P(b,3,c,Cm);c=t(a,4);null!=c&&O(b,4,c);c=t(a,5);null!=c&&K(b,5,c);c=t(a,6);null!=c&&b.K(6,c);c=n(a,ra,7);null!=c&&P(b,7,c,Ga);c=t(a,8);null!=c&&O(b,8,c);c=n(a,ym,9);null!=c&&P(b,9,c,zm)}; var Hm=function(a){Q(this,a,0,-1,null,null)};H(Hm,p);var Im=function(a,b){for(;bh(b)&&!ah(b);)switch(b.l){case 1:var c=Yg(b.g,ha);m(a,1,c);break;case 2:c=Yg(b.g,fa);m(a,2,c);break;default:ch(b)}return a}; var Jm=function(a){Q(this,a,0,-1,null,null)};H(Jm,p); var Km=function(a,b){for(;bh(b)&&!ah(b);)switch(b.l){case 1:var c=Yg(b.g,ha);m(a,1,c);break;case 2:c=eh(b);m(a,2,c);break;case 3:c=eh(b);m(a,3,c);break;case 4:c=Yg(b.g,ka);m(a,4,c);break;case 10:c=eh(b);m(a,10,c);break;case 11:c=Zg(b.g);m(a,11,c);break;case 5:c=Yg(b.g,fa);m(a,5,c);break;case 6:c=Yg(b.g,fa);m(a,6,c);break;case 7:c=eh(b);m(a,7,c);break;case 8:c=eh(b);m(a,8,c);break;case 9:c=new Hm;dh(b,c,Im);R(a,9,c);break;case 12:c=Yg(b.g,ha);m(a,12,c);break;case 13:c=!!Zg(b.g);m(a,13,c);break;default:ch(b)}return a}; Jm.prototype.pb=function(){return t(this,1)}; var Lm=function(a){Q(this,a,0,-1,null,null)};H(Lm,p); var Nm=function(a){Q(this,a,0,-1,Mm,null)};H(Nm,p);var Mm=[6];Nm.prototype.ma=function(){return t(this,1)};Nm.prototype.getTitle=function(){return t(this,9)};Nm.prototype.setTitle=function(a){return m(this,9,a)};Nm.prototype.nj=function(a){return m(this,10,a)}; var Om={Gx:0,du:1,TIMEOUT:2,iu:3,hv:4,Lt:5,UNKNOWN:6,yu:7,Pt:8,Ht:9,Xt:10,Aw:11,ex:12,bw:13,yt:14,uu:15,Vu:16,zx:17,At:18,Tu:19,Ew:20,zv:21,St:22,su:23,Nv:24,Nw:25,Iw:26,Ov:27,bo:28,xx:29,xw:30,Ev:31,Jt:32,Un:33,yx:34,eo:35,Mx:36,Fx:37,Ou:38,Nu:39,Pu:40,Kx:41,dw:42,gu:43,tu:44,Jx:45,Bt:46,Hv:47,Yv:48,Fv:49,Zv:50,Sv:51,Uv:52,Tv:53,Wv:54,Vv:55,Pw:56,xu:57,Nx:58,jv:59,cv:60,Ct:61,zt:62,Nt:63,gv:64,Lu:65,Ku:66,$u:67,Mu:68,Dt:69,Hu:70,It:71,Gv:72,au:73,Hw:74,hw:75,pv:76,Lw:77,iw:78,jw:79,Kt:102,ev:103, Dx:104,Cx:105,Ex:106,ax:107,xt:108,Ow:109,Wu:110,rv:111,dv:112,sv:113,uv:114,tv:115,Rv:116,Qv:117,Kw:118,Yt:119,Jw:120,Vt:121,Qt:122,Hx:123,Ot:124,Tt:125,Ix:126,Ut:127}; var Pm=function(a){Q(this,a,0,-1,null,null)};H(Pm,p);Pm.prototype.getService=function(){return t(this,1)};Pm.prototype.cd=function(){return null!=t(this,2)}; var Rm=function(a){Q(this,a,0,-1,Qm,null)};H(Rm,p);var Qm=[15,26];Rm.prototype.ma=function(){return t(this,1)};Rm.prototype.G=function(a){return m(this,1,a)};Rm.prototype.da=function(){return t(this,14)}; var V=function(a){Q(this,a,0,-1,null,null)};H(V,p);var Sm=function(a){Q(this,a,0,-1,null,null)};H(Sm,p); var Vm=function(a,b){for(;bh(b)&&!ah(b);)switch(b.l){case 1:var c=Yg(b.g,ha);Tm(a,c);break;case 2:c=eh(b);m(a,2,c);break;case 3:c=new Sm;dh(b,c,Um);R(a,3,c);break;default:ch(b)}return a},Xm=function(a,b){var c=t(a,1);null!=c&&J(b,1,c);c=t(a,2);null!=c&&O(b,2,c);c=n(a,Sm,3);null!=c&&P(b,3,c,Wm)},Um=function(a,b){for(;bh(b)&&!ah(b);)switch(b.l){case 1:var c=eh(b);m(a,1,c);break;case 2:c=Yg(b.g,ha);m(a,2,c);break;default:ch(b)}return a},Wm=function(a,b){var c=t(a,1);null!=c&&O(b,1,c);c=t(a,2);null!= c&&J(b,2,c)};V.prototype.Qb=function(){return t(this,1)};var Tm=function(a,b){return m(a,1,b)}; var Zm=function(a){Q(this,a,0,-1,Ym,null)};H(Zm,p);var Ym=[4];Zm.prototype.setRequestHeader=function(a){return R(this,1,a)};Zm.prototype.$=function(){return n(this,V,3)};Zm.prototype.T=function(a){return R(this,3,a)};Zm.prototype.fa=function(){this.T(void 0)}; var an=function(a){Q(this,a,0,-1,$m,null)};H(an,p);var $m=[20,8,19,26];an.prototype.ma=function(){return t(this,1)};an.prototype.H=function(a){return m(this,1,a)};an.prototype.Y=function(){return t(this,2)};an.prototype.G=function(a){return m(this,2,a)}; var cn=function(a){Q(this,a,0,-1,bn,null)};H(cn,p);var bn=[6];cn.prototype.setRequestHeader=function(a){return R(this,1,a)};cn.prototype.$=function(){return n(this,V,5)};cn.prototype.T=function(a){return R(this,5,a)};cn.prototype.fa=function(){this.T(void 0)};var dn=function(a,b){return si(a,6,b)}; var en=function(a){Q(this,a,0,-1,null,null)};H(en,p);en.prototype.setRequestHeader=function(a){return R(this,1,a)};en.prototype.ma=function(){return t(this,2)};var fn=function(a,b){return m(a,2,b)};en.prototype.$=function(){return n(this,V,3)};en.prototype.T=function(a){return R(this,3,a)};en.prototype.fa=function(){this.T(void 0)}; var gn=function(a){Q(this,a,0,-1,null,null)};H(gn,p);gn.prototype.setRequestHeader=function(a){return R(this,1,a)};gn.prototype.ma=function(){return t(this,2)};var hn=function(a,b){return m(a,2,b)};gn.prototype.$=function(){return n(this,V,3)};gn.prototype.T=function(a){return R(this,3,a)};gn.prototype.fa=function(){this.T(void 0)}; var jn=function(a){Q(this,a,0,-1,null,null)};H(jn,p); var ln=function(a){Q(this,a,0,-1,kn,null)};H(ln,p);var kn=[3];k=ln.prototype;k.setRequestHeader=function(a){return R(this,1,a)};k.da=function(){return pi(this,6,1)};k.$=function(){return n(this,V,8)};k.T=function(a){return R(this,8,a)};k.fa=function(){this.T(void 0)}; var mn=function(a){Q(this,a,0,-1,null,null)};H(mn,p); var nn=function(a){Q(this,a,0,-1,null,null)};H(nn,p);nn.prototype.getHeight=function(){return t(this,1)}; var pn=function(a){Q(this,a,0,-1,on,null)};H(pn,p);var qn=function(a){Q(this,a,0,-1,null,null)};H(qn,p);var on=[8,10];qn.prototype.cd=function(){return null!=t(this,2)};pn.prototype.da=function(){return t(this,3)};var rn=function(a,b){m(a,3,b)},sn=function(a,b){si(a,8,b)}; var tn=function(a){Q(this,a,0,-1,null,null)};H(tn,p); var vn=function(a){Q(this,a,0,-1,un,null)};H(vn,p);var un=[5];vn.prototype.Ab=function(){return n(this,nn,3)}; var wn=function(a){Q(this,a,0,-1,null,null)};H(wn,p);wn.prototype.da=function(){return t(this,1)}; var xn=function(a){Q(this,a,0,-1,null,null)};H(xn,p);xn.prototype.da=function(){return t(this,3)}; var yn=function(a){Q(this,a,0,-1,null,null)};H(yn,p);yn.prototype.da=function(){return t(this,9)}; var An=function(a){Q(this,a,0,-1,zn,null)};H(An,p);var Bn=function(a){Q(this,a,0,-1,null,null)};H(Bn,p);var zn=[3,6]; var Dn=function(a){Q(this,a,0,-1,Cn,null)};H(Dn,p);var Cn=[3,4,5,6];Dn.prototype.da=function(){return pi(this,1,4)}; var En=function(a){Q(this,a,0,-1,null,null)};H(En,p);En.prototype.getChannelId=function(){return t(this,1)};En.prototype.vd=function(){return t(this,4)}; var Gn=function(a){Q(this,a,0,-1,Fn,null)};H(Gn,p);var In=function(a){Q(this,a,0,-1,Hn,null)};H(In,p);var Fn=[3,4,5,6,10,16],Hn=[2];Gn.prototype.G=function(){return t(this,1)};Gn.prototype.H=function(a){return m(this,1,a)};var Jn=function(a,b){si(a,3,b)},Kn=function(a,b){m(a,6,b||[])};Gn.prototype.Tg=function(){return n(this,In,17)}; var Mn=function(a){Q(this,a,0,-1,Ln,null)};H(Mn,p);var Ln=[4];Mn.prototype.setRequestHeader=function(a){return R(this,1,a)};Mn.prototype.$=function(){return n(this,V,3)};Mn.prototype.T=function(a){return R(this,3,a)};Mn.prototype.fa=function(){this.T(void 0)}; var Nn=function(a){Q(this,a,0,-1,null,null)};H(Nn,p);Nn.prototype.setRequestHeader=function(a){return R(this,1,a)};Nn.prototype.$=function(){return n(this,V,3)};Nn.prototype.T=function(a){return R(this,3,a)};Nn.prototype.fa=function(){this.T(void 0)}; var On=function(a){Q(this,a,0,-1,null,null)};H(On,p);var Pn=function(a){Q(this,a,0,-1,null,null)};H(Pn,p);var Qn=function(a){Q(this,a,0,-1,null,null)};H(Qn,p);var Sn=function(a){Q(this,a,0,-1,Rn,null)};H(Sn,p);var Tn=function(a){Q(this,a,0,-1,null,null)};H(Tn,p);var Un=function(a){Q(this,a,0,-1,null,null)};H(Un,p);Pn.prototype.zc=function(){return wd(this,1)};var Rn=[3];Tn.prototype.getHeight=function(){return ni(this,4)};k=On.prototype;k.ma=function(){return t(this,1)}; k.Im=function(a){return m(this,1,a)};k.Y=function(){return t(this,2)};k.gj=function(a){return m(this,2,a)};k.va=function(){return t(this,3)};k.Jm=function(a){return m(this,3,a)};k.da=function(){return t(this,4)}; var Wn=function(a){Q(this,a,0,-1,Vn,null)};H(Wn,p);var Vn=[4];Wn.prototype.setRequestHeader=function(a){return R(this,1,a)};Wn.prototype.$=function(){return n(this,V,3)};Wn.prototype.T=function(a){return R(this,3,a)};Wn.prototype.fa=function(){this.T(void 0)};var Xn=function(a,b){return si(a,4,b)}; var Yn=function(a){Q(this,a,0,-1,null,null)};H(Yn,p);Yn.prototype.setRequestHeader=function(a){return R(this,1,a)};Yn.prototype.ma=function(){return t(this,2)};var Zn=function(a,b){return m(a,2,b)};Yn.prototype.Y=function(){return t(this,3)};Yn.prototype.$=function(){return n(this,V,4)};Yn.prototype.T=function(a){return R(this,4,a)};Yn.prototype.fa=function(){this.T(void 0)}; var $n=function(a){Q(this,a,0,-1,null,null)};H($n,p);var Qa=function(a){Q(this,a,0,-1,ao,null)};H(Qa,p);var Ta=function(a){Q(this,a,0,-1,bo,null)};H(Ta,p);var co=function(a){Q(this,a,0,-1,null,null)};H(co,p);var fo=function(a){Q(this,a,0,-1,eo,null)};H(fo,p);var go=function(a){Q(this,a,0,-1,null,null)};H(go,p);var ho=function(a){Q(this,a,0,-1,null,null)};H(ho,p);var ao=[1,2,3],bo=[2],Ra=function(a,b){m(a,1,b||[])};co.prototype.zc=function(){return wd(this,1)};var eo=[1]; go.prototype.setPaused=function(a){return m(this,1,a)};ho.prototype.setPaused=function(a){return m(this,1,a)};k=$n.prototype;k.Nr=function(){return t(this,1)};k.oh=function(a){return m(this,1,a)};k.da=function(){return t(this,2)};k.Or=function(){return t(this,3)};k.rh=function(a){return m(this,3,a)};k.nh=function(){return t(this,4)};k.sh=function(a){return m(this,4,a)};k.ma=function(){return t(this,5)};k.qh=function(a){return m(this,5,a)};k.Y=function(){return t(this,6)}; k.va=function(){return t(this,7)}; var jo=function(a){Q(this,a,0,-1,io,null)};H(jo,p);var io=[4];jo.prototype.setRequestHeader=function(a){return R(this,1,a)};jo.prototype.$=function(){return n(this,V,3)};jo.prototype.T=function(a){return R(this,3,a)};jo.prototype.fa=function(){this.T(void 0)};var ko=function(a,b){return si(a,4,b)}; var lo=function(a){Q(this,a,0,-1,null,null)};H(lo,p);lo.prototype.setRequestHeader=function(a){return R(this,1,a)};var mo=function(a,b){return m(a,2,b)},no=function(a,b){return m(a,3,b)};lo.prototype.ma=function(){return t(this,4)};var oo=function(a,b){return m(a,4,b)};lo.prototype.$=function(){return n(this,V,5)};lo.prototype.T=function(a){return R(this,5,a)};lo.prototype.fa=function(){this.T(void 0)}; var po=function(a){Q(this,a,0,-1,null,null)};H(po,p); var qo=function(a){Q(this,a,0,-1,null,null)};H(qo,p);qo.prototype.ma=function(){return t(this,2)}; var ro=function(a){Q(this,a,0,-1,null,null)};H(ro,p);ro.prototype.setRequestHeader=function(a){return R(this,1,a)};ro.prototype.$=function(){return n(this,V,3)};ro.prototype.T=function(a){return R(this,3,a)};ro.prototype.fa=function(){this.T(void 0)}; var so=function(a){Q(this,a,0,-1,null,null)};H(so,p);var to=function(a,b){return R(a,3,b)},uo=function(a,b){return R(a,4,b)},vo=function(a,b){return R(a,6,b)},wo=function(a,b){return R(a,7,b)},xo=function(a,b){return R(a,8,b)}; var zo=function(a){Q(this,a,0,-1,yo,null)};H(zo,p);var yo=[2];zo.prototype.setRequestHeader=function(a){return R(this,1,a)};var Ao=function(a,b){return si(a,2,b)};zo.prototype.$c=function(a){return ti(this,2,a,so)};zo.prototype.$=function(){return n(this,V,3)};zo.prototype.T=function(a){return R(this,3,a)};zo.prototype.fa=function(){this.T(void 0)}; var Co=function(a){Q(this,a,"charp",-1,Bo,null)};H(Co,p);var Bo=[5];Co.messageId="charp";Co.prototype.getResponseHeader=function(){return n(this,Jm,1)};Co.prototype.$=function(){return n(this,V,3)};Co.prototype.T=function(a){return R(this,3,a)};Co.prototype.fa=function(){this.T(void 0)}; var Eo=function(a){Q(this,a,"chparp",-1,Do,null)};H(Eo,p);var Do=[5];Eo.messageId="chparp";Eo.prototype.getResponseHeader=function(){return n(this,Jm,1)};Eo.prototype.$=function(){return n(this,V,3)};Eo.prototype.T=function(a){return R(this,3,a)};Eo.prototype.fa=function(){this.T(void 0)}; var Fo=function(a){Q(this,a,0,-1,null,null)};H(Fo,p);Fo.prototype.Y=function(){return t(this,1)}; var Ho=function(a){Q(this,a,"chpsrp",-1,Go,null)};H(Ho,p);var Go=[2,4];Ho.messageId="chpsrp";Ho.prototype.getResponseHeader=function(){return n(this,Jm,1)};Ho.prototype.$=function(){return n(this,V,3)};Ho.prototype.T=function(a){return R(this,3,a)};Ho.prototype.fa=function(){this.T(void 0)}; var Io=function(a){Q(this,a,"chqrp",-1,null,null)};H(Io,p);Io.messageId="chqrp";Io.prototype.getResponseHeader=function(){return n(this,Jm,1)};Io.prototype.$=function(){return n(this,V,3)};Io.prototype.T=function(a){return R(this,3,a)};Io.prototype.fa=function(){this.T(void 0)}; var pb=function(a){Q(this,a,"chrrp",-1,null,null)};H(pb,p);pb.messageId="chrrp";k=pb.prototype;k.getResponseHeader=function(){return n(this,Jm,1)};k.ma=function(){return t(this,2)};k.$=function(){return n(this,V,5)};k.T=function(a){return R(this,5,a)};k.fa=function(){this.T(void 0)}; var Jo=function(a){Q(this,a,0,-1,null,null)};H(Jo,p);Jo.prototype.ma=function(){return t(this,7)}; var Lo=function(a){Q(this,a,"chsearp",-1,Ko,null)};H(Lo,p);var Ko=[4];Lo.messageId="chsearp";Lo.prototype.getResponseHeader=function(){return n(this,Jm,1)};Lo.prototype.$=function(){return n(this,V,3)};Lo.prototype.T=function(a){return R(this,3,a)};Lo.prototype.fa=function(){this.T(void 0)}; var Mo=function(a){Q(this,a,"chseqrp",-1,null,null)};H(Mo,p);Mo.messageId="chseqrp";Mo.prototype.getResponseHeader=function(){return n(this,Jm,1)};Mo.prototype.$=function(){return n(this,V,3)};Mo.prototype.T=function(a){return R(this,3,a)};Mo.prototype.fa=function(){this.T(void 0)}; var Oo=function(a){Q(this,a,"chsoarp",-1,No,null)};H(Oo,p);var No=[4];Oo.messageId="chsoarp";Oo.prototype.getResponseHeader=function(){return n(this,Jm,1)};Oo.prototype.$=function(){return n(this,V,3)};Oo.prototype.T=function(a){return R(this,3,a)};Oo.prototype.fa=function(){this.T(void 0)}; var Qo=function(a){Q(this,a,"chsosrp",-1,Po,null)};H(Qo,p);var Po=[2];Qo.messageId="chsosrp";Qo.prototype.getResponseHeader=function(){return n(this,Jm,1)};Qo.prototype.$=function(){return n(this,V,3)};Qo.prototype.T=function(a){return R(this,3,a)};Qo.prototype.fa=function(){this.T(void 0)}; var So=function(a){Q(this,a,"chstarp",-1,Ro,null)};H(So,p);var Ro=[4];So.messageId="chstarp";So.prototype.getResponseHeader=function(){return n(this,Jm,1)};So.prototype.$=function(){return n(this,V,3)};So.prototype.T=function(a){return R(this,3,a)};So.prototype.fa=function(){this.T(void 0)}; var Uo=function(a){Q(this,a,"chstsrp",-1,To,null)};H(Uo,p);var To=[2];Uo.messageId="chstsrp";Uo.prototype.getResponseHeader=function(){return n(this,Jm,1)};Uo.prototype.$=function(){return n(this,V,3)};Uo.prototype.T=function(a){return R(this,3,a)};Uo.prototype.fa=function(){this.T(void 0)}; var Vo=function(a){Q(this,a,"chpara",-1,null,null)};H(Vo,p);Vo.messageId="chpara";Vo.prototype.getResponseHeader=function(){return n(this,Jm,1)};Vo.prototype.$=function(){return n(this,V,3)};Vo.prototype.T=function(a){return R(this,3,a)};Vo.prototype.fa=function(){this.T(void 0)}; var Wo=function(a){Q(this,a,0,-1,null,null)};H(Wo,p); var Yo=function(a){Q(this,a,"chbrp",-1,Xo,null)};H(Yo,p);var Xo=[2];Yo.messageId="chbrp";k=Yo.prototype;k.getResponseHeader=function(){return n(this,Jm,1)};k.$c=function(a){return ti(this,2,a,Wo)};k.$=function(){return n(this,V,3)};k.T=function(a){return R(this,3,a)};k.fa=function(){this.T(void 0)}; var $o=function(a){Q(this,a,0,-1,Zo,null)};H($o,p);var Zo=[4];$o.prototype.setRequestHeader=function(a){return R(this,1,a)};$o.prototype.$=function(){return n(this,V,3)};$o.prototype.T=function(a){return R(this,3,a)};$o.prototype.fa=function(){this.T(void 0)}; var bp=function(a){Q(this,a,"chmrp",-1,ap,null)};H(bp,p);var ap=[4];bp.messageId="chmrp";bp.prototype.getResponseHeader=function(){return n(this,Jm,1)};bp.prototype.$=function(){return n(this,V,3)};bp.prototype.T=function(a){return R(this,3,a)};bp.prototype.fa=function(){this.T(void 0)}; var dp=function(a){Q(this,a,0,-1,cp,null)};H(dp,p);var cp=[4];dp.prototype.setRequestHeader=function(a){return R(this,1,a)};dp.prototype.$=function(){return n(this,V,3)};dp.prototype.T=function(a){return R(this,3,a)};dp.prototype.fa=function(){this.T(void 0)}; var fp=function(a){Q(this,a,"chpmrp",-1,ep,null)};H(fp,p);var ep=[4];fp.messageId="chpmrp";fp.prototype.getResponseHeader=function(){return n(this,Jm,1)};fp.prototype.$=function(){return n(this,V,3)};fp.prototype.T=function(a){return R(this,3,a)};fp.prototype.fa=function(){this.T(void 0)}; var gp=function(a){Q(this,a,0,-1,null,null)};H(gp,p);k=gp.prototype;k.setRequestHeader=function(a){return R(this,1,a)};k.ma=function(){return t(this,2)};k.Y=function(){return t(this,3)};k.$=function(){return n(this,V,4)};k.T=function(a){return R(this,4,a)};k.fa=function(){this.T(void 0)}; var hp=function(a){Q(this,a,"chpqrp",-1,null,null)};H(hp,p);hp.messageId="chpqrp";hp.prototype.getResponseHeader=function(){return n(this,Jm,1)};hp.prototype.$=function(){return n(this,V,3)};hp.prototype.T=function(a){return R(this,3,a)};hp.prototype.fa=function(){this.T(void 0)}; var ip=function(a){Q(this,a,0,-1,null,null)};H(ip,p);ip.prototype.ma=function(){return t(this,1)};ip.prototype.G=function(a){return m(this,1,a)};ip.prototype.Y=function(){return t(this,2)};ip.prototype.H=function(a){return m(this,2,a)}; var kp=function(a){Q(this,a,0,-1,jp,null)};H(kp,p);var jp=[6,7];k=kp.prototype;k.setRequestHeader=function(a){return R(this,1,a)};k.ma=function(){return t(this,2)};k.Y=function(){return t(this,3)};k.$=function(){return n(this,V,4)};k.T=function(a){return R(this,4,a)};k.fa=function(){this.T(void 0)};var lp=function(a,b){return si(a,7,b)}; var mp=function(a){Q(this,a,"chprrp",-1,null,null)};H(mp,p);mp.messageId="chprrp";mp.prototype.getResponseHeader=function(){return n(this,Jm,1)};mp.prototype.$=function(){return n(this,V,2)};mp.prototype.T=function(a){return R(this,2,a)};mp.prototype.fa=function(){this.T(void 0)}; var np=function(a){Q(this,a,0,-1,null,null)};H(np,p);np.prototype.ma=function(){return t(this,1)}; var op=function(a){Q(this,a,0,-1,null,null)};H(op,p);k=op.prototype;k.ma=function(){return t(this,1)};k.Ir=function(a){return m(this,1,a)};k.Y=function(){return t(this,2)};k.Jr=function(a){return m(this,2,a)};k.va=function(){return t(this,3)};k.Kr=function(a){return m(this,3,a)}; var qp=function(a){Q(this,a,0,-1,pp,null)};H(qp,p);var rp=function(a){Q(this,a,0,-1,null,null)};H(rp,p);var pp=[1],sp=function(a){var b=new rp;return m(b,1,a)},tp=function(a){var b=new qp;return si(b,1,a)}; var vp=function(a){Q(this,a,0,-1,up,null)};H(vp,p);var up=[3];vp.prototype.ma=function(){return t(this,1)};var wp=function(a,b){return m(a,1,b)}; var yp=function(a){Q(this,a,0,-1,xp,null)};H(yp,p);var xp=[3];yp.prototype.setRequestHeader=function(a){return R(this,1,a)}; var Ap=function(a){Q(this,a,"hpear",-1,zp,null)};H(Ap,p);var zp=[4];Ap.messageId="hpear";Ap.prototype.getResponseHeader=function(){return n(this,Jm,1)};Ap.prototype.$=function(){return n(this,V,3)};Ap.prototype.T=function(a){return R(this,3,a)};Ap.prototype.fa=function(){this.T(void 0)}; var Cp=function(a){Q(this,a,0,-1,Bp,null)};H(Cp,p);var Bp=[4];Cp.prototype.setRequestHeader=function(a){return R(this,1,a)};Cp.prototype.$=function(){return n(this,V,3)};Cp.prototype.T=function(a){return R(this,3,a)};Cp.prototype.fa=function(){this.T(void 0)};var Dp=function(a,b){return si(a,4,b)}; var Fp=function(a){Q(this,a,"chstmrp",-1,Ep,null)};H(Fp,p);var Ep=[4];Fp.messageId="chstmrp";Fp.prototype.getResponseHeader=function(){return n(this,Jm,1)};Fp.prototype.$=function(){return n(this,V,3)};Fp.prototype.T=function(a){return R(this,3,a)};Fp.prototype.fa=function(){this.T(void 0)}; var Gp=function(a){Q(this,a,0,-1,null,null)};H(Gp,p);var Hp=function(a,b){var c=t(a,1);null!=c&&O(b,1,c);c=t(a,2);null!=c&&L(b,2,c);c=t(a,3);null!=c&&L(b,3,c);c=t(a,4);null!=c&&L(b,4,c)};Gp.prototype.pa=function(){return t(this,2)}; var Ip=function(a){Q(this,a,0,-1,null,null)};H(Ip,p);var Jp=function(a,b){var c=t(a,1);null!=c&&b.g(1,c);c=t(a,2);null!=c&&b.g(2,c);c=t(a,3);null!=c&&b.g(3,c);c=t(a,4);null!=c&&b.g(4,c);c=t(a,5);null!=c&&b.g(5,c)};Ip.prototype.fb=function(){return t(this,5)}; var Kp=function(a){Q(this,a,0,-1,null,null)};H(Kp,p);var Lp=function(a,b){var c=t(a,1);null!=c&&L(b,1,c);c=t(a,2);null!=c&&L(b,2,c);c=n(a,Ip,3);null!=c&&P(b,3,c,Jp);c=n(a,Ip,4);null!=c&&P(b,4,c,Jp);c=t(a,5);null!=c&&L(b,5,c);c=n(a,Ip,6);null!=c&&P(b,6,c,Jp)}; var Mp=function(a){Q(this,a,0,-1,null,null)};H(Mp,p);var Np=function(a,b){var c=t(a,1);null!=c&&L(b,1,c);c=t(a,2);null!=c&&b.g(2,c);c=t(a,3);null!=c&&b.g(3,c);c=t(a,4);null!=c&&b.g(4,c);c=t(a,5);null!=c&&J(b,5,c);c=t(a,6);null!=c&&J(b,6,c);c=t(a,9);null!=c&&Xh(b,9,c);c=t(a,10);null!=c&&Xh(b,10,c)}; var Pp=function(a){Q(this,a,0,-1,Op,null)};H(Pp,p);var Op=[2,3],Qp=function(a,b){var c=t(a,1);null!=c&&O(b,1,c);c=t(a,2);0=b.G&&b.cancel())}this.R?this.R.call(this.O,this):this.J=!0;this.g||this.l(new cv(this))}};bv.prototype.M=function(a,b){this.I=!1;dv(this,a,b)}; var dv=function(a,b,c){a.g=!0;a.u=c;a.K=!b;ev(a)},gv=function(a){if(a.g){if(!a.J)throw new fv(a);a.J=!1}};bv.prototype.callback=function(a){gv(this);dv(this,!0,a)};bv.prototype.l=function(a){gv(this);dv(this,!1,a)};var iv=function(a,b,c){return hv(a,b,null,c)},jv=function(a,b,c){return hv(a,null,b,c)},hv=function(a,b,c,d){a.H.push([b,c,d]);a.g&&ev(a);return a}; bv.prototype.then=function(a,b,c){var d,e,f=new kk(function(g,h){d=g;e=h});hv(this,d,function(g){g instanceof cv?f.cancel():e(g)});return f.then(a,b,c)};hk(bv);var kv=function(a,b){b instanceof bv?iv(a,G(b.F,b)):iv(a,function(){return b})};bv.prototype.F=function(a){var b=new bv;hv(this,b.callback,b.l,b);a&&(b.o=this,this.G++);return b};bv.prototype.isError=function(a){return a instanceof Error}; var lv=function(a){return pf(a.H,function(b){return Ve(b[1])})},ev=function(a){if(a.L&&a.g&&lv(a)){var b=a.L,c=mv[b];c&&(F.clearTimeout(c.g),delete mv[b]);a.L=0}a.o&&(a.o.G--,delete a.o);b=a.u;for(var d=c=!1;a.H.length&&!a.I;){var e=a.H.shift(),f=e[0],g=e[1];e=e[2];if(f=a.K?g:f)try{var h=f.call(e||a.O,b);void 0!==h&&(a.K=a.K&&(h==b||a.isError(h)),a.u=b=h);if(ik(b)||"function"===typeof F.Promise&&b instanceof F.Promise)d=!0,a.I=!0}catch(l){b=l,a.K=!0,lv(a)||(c=!0)}}a.u=b;d&&(h=G(a.M,a,!0),d=G(a.M, a,!1),b instanceof bv?(hv(b,h,d),b.S=!0):b.then(h,d));c&&(b=new nv(b),mv[b.g]=b,a.L=b.g)},pv=function(){var a=new bv;a.callback(new ov(200,""));return a},qv=function(a){var b=new bv;a.then(function(c){b.callback(c)},function(c){b.l(c)});return b},rv=function(a){var b=new bv;b.l(a);return b},fv=function(){ff.call(this)};H(fv,ff);fv.prototype.message="Deferred has already fired";fv.prototype.name="AlreadyCalledError";var cv=function(){ff.call(this)};H(cv,ff);cv.prototype.message="Deferred was canceled"; cv.prototype.name="CanceledError";var nv=function(a){this.g=F.setTimeout(G(this.o,this),0);this.l=a};nv.prototype.o=function(){delete mv[this.g];throw this.l;};var mv={}; var tv=function(a){S.call(this);this.o={};this.H={};this.L={};this.l={};this.u={};this.O={};this.G=a?a.G:new U;this.S=!a;this.F=null;a?(this.F=a,this.L=a.L,this.l=a.l,this.H=a.H,this.u=a.u):kb();a=sv(this);this!=a&&(a.I?a.I.push(this):a.I=[this])};H(tv,S);var uv=.05>Math.random(),sv=function(a){for(;a.F;)a=a.F;return a},vv=function(a,b){for(;a;){if(a==b)return!0;a=a.F}return!1};tv.prototype.get=function(a){var b=wv(this,a);if(null==b)throw new xv(a);return b}; var Td=function(a,b){return!(!a.o[b]&&!a.L[b])},wv=function(a,b){for(var c=a;c;c=c.F){if(c.K())throw Error("J`"+b);if(c.o[b])return c.o[b][0];if(c.O[b])break}if(c=a.L[b]){c=c(a);if(null==c)throw Error("K`"+b);a.registerService(b,c);return c}return null},nb=function(a,b,c){return yv(a,[b],c)[b]},yv=function(a,b,c){var d=zv(a),e=!c;c={};var f=[],g=[],h={},l={},q=wv(a,$u),r={};b=x(b);for(var w=b.next();!w.done;r={Mb:r.Mb},w=b.next())if(r.Mb=w.value,w=wv(a,r.Mb)){var B=new bv;c[r.Mb]=B;w.Wh&&(kv(B,w.Wh()), iv(B,cf(function(A){return A},w)));B.callback(w)}else a.u[r.Mb]?(w=a.u[r.Mb].F(),iv(w,function(A){return function(){return a.ri(A.Mb)}}(r)),c[r.Mb]=w):(w=void 0,r.Mb instanceof sj?w=av([r.Mb]).Cq:(B=a.H[r.Mb])&&(w=[B]),!e||w&&w.length?(w&&(q&&r.Mb instanceof sj&&q.my()&&(uv&&(B=q.oy(Av),l[r.Mb]=B),q.hy(r.Mb)),f.push.apply(f,y(w)),h[r.Mb]=hf(w)),g.push(r.Mb)):(w=new bv,c[r.Mb]=w,w.l(new xv(r.Mb))));if(e){if(f.length){a.J&&0=a.g.length)throw Error("Q");return a.g.length=r.length){if(q=px(a,q,c,f))g.push(q),kv(h,q.g)}else b=l(q,Math.ceil(r.length/2E3)).concat(b);q=b.shift()}var w=new bv;lx(a,w);iv(w,function(){return qx(a,g,d,e)});jv(w,function(){var B=new rx;B.l=!0;B.errorCode=-1;qx(this,[B],d,e)},a);iv(h,function(){return w.callback()}); h.callback()},px=function(a,b,c,d){var e=ox(a,b,!(void 0===d||!d),c);a.aa.push(e);if(a.R)a=Jj(document,"SCRIPT"),Ng(a,ex(e)),a.type="text/javascript",a.async=!1,document.body.appendChild(a);else{var f=new rx,g=new Yv(0a.l&&a.g.length;)ux(a,a.g.shift())},ux=function(a,b){a.l++;iv(b(),function(){this.l--;tx(this)},a)}; var vx=function(a){U.call(this);this.I=a;this.H=new Map;this.I.registerService("mediaCall",G(this.M,this),!0)};C(vx,U);vx.prototype.O=function(a){for(var b=[],c=0;c"};k.Qm=function(a){this.K=a;return this};k.Pm=function(a){this.I=a;return this};k.gn=function(){return this};k.on=function(a){this.V=a;return this};k.qn=function(a){this.M=a;return this};k.nn=function(a){this.L=a;return this};k.nj=function(a){this.R=a;return this};k.qj=function(a){this.l=a}; k.rn=function(a){this.o=a;return this};var Ry=function(a,b){a.g=b};Qy.prototype.Ls=function(a){this.J=a};Qy.prototype.Cs=function(a){this.u=a};var Sy=function(a){var b=a.F.g;b=Math.round(.5*b)+Math.floor(Math.random()*b);Oy(a.F);return Math.min(b,36E4)};Qy.prototype.cancel=function(){this.H=!0;this.qj("c")};var Py=function(){};Py.prototype.G=function(a){this.g=a;return this};Py.prototype.ln=function(a){this.l=a};Py.prototype.callback=function(a){this.g(a)}; var Ty=new sj("iHLLuf"); var Uy=function(a,b){U.call(this);this.l=b;this.N=null;a.load(G(this.H,this),G(this.I,this));this.J=0;this.F=new jl;this.u=new jl};C(Uy,U);var Vy=function(a,b,c,d){var e="\r\n\r\n--"+d+"\r\n";d="\r\n\r\n--"+d+"--\r\n";var f=e+"Content-Type: "+a+"\r\n\r\n"+(b&&"string"!==typeof b?b.sa():b);kf(c,function(g){f+=e+"Content-Type: "+g.type+"\r\nContent-transfer-encoding: "+g.g+"\r\n\r\n"+g.data+"\r\n\r\n"});return f+=d};Uy.prototype.H=function(a){this.o=a;this.P("u")}; Uy.prototype.I=function(){this.K()||(this.o=null)};Uy.prototype.Z=function(){var a=this.F.jc();kf(a,Ik);a=this.u.jc();kf(a,Ik)};Uy.prototype.request=function(a){Wy(this,a)}; var Wy=function(a,b){if(!a.K()&&!b.H&&null!=a.o){Ry(b,a.J++);a.l&&a.l.onRequest(b);var c=b.R,d=null==b.L?{}:b.L,e=null==b.M?{}:b.M,f=null==b.S?"application/json":b.S;if(null==b.o||b.o)e.alt="protojson",f="application/json+protobuf",c instanceof p&&(c=JSON.parse(c.sa()));var g=b.O;if(0=e.data.length?c[0].resolve(e.data):c.forEach(function(g,h){var l=d[h];h=e.data.filter(function(q){q=f.bb(q);return iy(q.l,q.g,l.g)});g.resolve(h)})}; var Qz=function(a,b,c){a.report("b",new Uz(b.ti(),b.kl(),c));c.response&&c.response.getResponseHeader&&(b=c.response.getResponseHeader().pb(),(c=Vz.get(b))&&Wz(a,c,"Collection apiary operation failed with response code "+b+" triggering endcause "+c))},Pz=function(a,b){var c=!1;b.forEach(function(d){(d=a.R[d.toString()])&&1<=d.length&&(d.shift(),c=c||1<=d.length)});c&&a.O()};Bz.prototype.qb=function(a){"ga"!=this.state&&"fa"!=this.state||this.$a(a)}; Bz.prototype.$a=function(a){var b=this.Bb(a),c=Xz(this,a);a=Yz(this,a);if(c.length||a.length)this.l.K(c),b=new Az(b,c,a,"ca"),this.report("g"),this.za(b)};Bz.prototype.Bb=function(){return-2}; var Xz=function(a,b){var c=[];b.notification.Ib().forEach(function(d){var e=a.l;d=d instanceof e.g?d:new e.g(JSON.parse(d.sa()));gy(a.l,d)?Sz(a,Lz(a,d))&&c.push(d):a.report("A","Pushed modified: "+d.sa())});return c},Yz=function(a,b){if(!b.notification.oc)return[];var c=[];b.notification.oc().forEach(function(d){var e=a.l.F(d);gy(a.l,e)?(d=Lz(a,e),Sz(a,d)&&c.push(d)):a.report("A","Pushed deleted: "+d.sa())});return c};Bz.prototype.za=function(a){a instanceof Az&&Zz(this,a)}; var Zz=function(a,b){b.Gh.forEach(function(d){gy(a.l,d)?a.data[$z(a,d)]=Pa(d):a.report("A","Partial update: "+d.sa())});var c=[];b.yj.forEach(function(d){var e=$z(a,d);a.data[e]?delete a.data[e]:c.push(d)});0Date.now()-a.Cb&&d.Tl(a.o)?e=a.o:a.Cb=Date.now());d=Jz(a,d,void 0,function(f){jA(a,!0);return e!=f.version?(a.l.K(f.data),new fA(f.version,f.data,b)):null});ib(d.then(function(){return gA(a)}),function(){a.report(c?"z":"p");kA(a,!0);Fz(a)?(Oy(a.H),lA(a)):mA(a)});a.M=d;ib(a.M,Re);return d};Xa.prototype.J=function(a){return 0<=a}; var oA=function(a){return null!=iA(a,"sa",!0)||a.M?a.M:Xc("Collection not yet started, so cannot resync.")};Xa.prototype.$a=function(a){var b=!1,c=a.notification.Kb();c&&""!=c&&(b=this.l.F(c),b=Lz(this,b),b=Sz(this,b));b?oA(this):Bz.prototype.$a.call(this,a)};Xa.prototype.Bb=function(a){var b;"function"===typeof a.notification.$&&a.notification.$()&&(b=a.notification.$().Qb());return b}; Xa.prototype.za=function(a){var b=a.g==this.Pa;this.Pa=Math.max(this.Pa,a.g);jA(this,!1);if(a instanceof fA)pA(this,a);else{this.J(this.o)||W(this.Eb,{Gh:a.Gh,yj:a.yj});if(this.J(this.o)&&a.g<=this.o){"ca"==a.l&&this.report("i");var c=!1;b&&(this.report("j"),c=!0);100=c?(a.report("m"),b=!0):a.u.length>pi(a.config,4,64)&&(a.report("l"),b=!0);b?(uf(a.u),a.H.reset(),nA(a,"ua")):(Oy(a.H),lA(a))}}; Xa.prototype.mb=function(){this.kb.stop();if(0!=this.u.length&&this.J(this.o)){for(var a=0;0=pi(a.config,6,3E5)&&Wz(a,22,c)}else a.ha=null},pA=function(a,b){if(a.o>=b.g&&100>a.o-b.g){var c=[];if(a.o==b.g){var d={};b.data.forEach(function(h){var l= $z(a,h);d[l]=!0;l=a.data[l]||null;if(null==l)c.push({local:null,server:h.sa(),mismatch:"local_missing"});else{var q=l==h?null:l instanceof h.constructor?qA(JSON.parse(l.sa()),JSON.parse(h.sa())):"_";null!=q&&c.push({local:l.sa(),server:h.sa(),mismatch:q})}});Xf(a.data,function(h,l){d[l]||c.push({local:h.sa(),server:null,mismatch:"server_missing"})})}if(0!=c.length)a.Tb.logImpression(1827,{Nb:a.Gb+":"+c[0].mismatch});else{a.report("v");switch(b.l){case "ta":a.report("w");break;case "qa":a.report("x")}return}}a.o> b.g&&100>>0}; var cb=function(a,b,c){return bb(a,b,[c],new cy({mg:Rm,kg:[Rm.prototype.ma],lg:[Rm.prototype.G],sg:[],tg:[],pg:qt,ng:[qt.prototype.ma],og:[qt.prototype.G],qg:[],rg:[]}),$x,"z","Hangout")},uA=function(a,b,c){return bb(a,b,[c],new cy({mg:On,kg:[On.prototype.ma],lg:[On.prototype.Im],sg:[On.prototype.Y,On.prototype.va],tg:[On.prototype.gj,On.prototype.Jm],pg:op,ng:[op.prototype.ma],og:[op.prototype.Ir],qg:[op.prototype.Y,op.prototype.va],rg:[op.prototype.Jr,op.prototype.Kr]}),by,"E","MediaSources")}; var vA=function(a){Q(this,a,"rme:ccr",-1,null,null)};H(vA,p);vA.messageId="rme:ccr";var wA=function(a,b){return m(a,1,b)}; var yA=function(a){Q(this,a,"rme:pu",-1,xA,null)};H(yA,p);var xA=[2];yA.messageId="rme:pu"; var zA=function(a){Q(this,a,"rme:mdsc",-1,null,null)};H(zA,p);zA.messageId="rme:mdsc";var AA=function(a,b){return m(a,1,b)},BA=function(a,b){return m(a,2,b)},CA=function(a,b){return m(a,3,b)}; var DA=function(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d};DA.prototype.clone=function(){return new DA(this.left,this.top,this.width,this.height)};var EA=function(a,b){return a==b?!0:a&&b?a.left==b.left&&a.width==b.width&&a.top==b.top&&a.height==b.height:!1};DA.prototype.contains=function(a){return this.left<=a.left&&this.left+this.width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.height}; DA.prototype.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};DA.prototype.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}; DA.prototype.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}; var HA=function(a,b,c,d,e,f,g){d=void 0===d?"un":d;e=void 0===e?"li":e;f=void 0===f?null:f;g=void 0===g?null:g;dz.call(this);this.H=a;this.lb=b;this.Ba=c;this.u=d;this.G=0;this.F=e;this.J="sc"!==d;this.o=null;FA(this,g);this.Ee=f;this.O=new ky(this);this.R=my(this.O);GA(this)};C(HA,dz);var GA=function(a){W(a.R,{state:a.F,content:a.u})};HA.prototype.toString=function(){return"Source(id="+this.lb+" type="+this.Ba+" content="+this.u+" state="+this.F+" participantId="+this.H+")"};HA.prototype.Y=function(){return this.H}; HA.prototype.getContent=function(){return this.u};HA.prototype.M=function(a){this.u!=a&&(this.u=a,this.P("X"),GA(this))};var IA=function(a,b){a.G!=b&&(a.G=b,a.P("X"))};HA.prototype.Ad=function(){return this.F};var JA=function(a,b){a.F!=b&&(a.F=b,a.P("Z"),GA(a))};HA.prototype.ud=function(){return this.J}; var KA=function(a,b){a.J!=b&&(a.J=b,a.P("$"))},FA=function(a,b){var c=null!=a.o&&!tf(a.o),d=null!=b&&!tf(b);d?b=I(b).sort(function(e,f){return e.left-f.left||e.top-f.top||e.width-f.width||e.height-f.height}):b=null;if(c=d!=c||d&&!Nf(a.o,b,EA))a.o=b;return c};HA.prototype.bf=function(){return this.o&&I(this.o)};HA.prototype.P=function(a){return dz.prototype.P.call(this,a)}; var LA=function(a){return new HA(void 0===a.vh?"":a.vh,a.id,a.mediaType,void 0===a.content?"un":a.content,void 0===a.state?"li":a.state,void 0===a.Vm?null:a.Vm,void 0===a.Nn?null:a.Nn)}; var MA=function(a,b,c,d){v.call(this);this.J=a;this.M=b;this.O=c;this.L=d;this.u=!0;this.l=this.H=null;this.G=!1;this.F=null;this.o()};C(MA,v);MA.prototype.Z=function(){this.l&&this.l.stop();v.prototype.Z.call(this)};var OA=function(a,b){a.F=b;NA(a)},QA=function(a,b){a.u=b;NA(a);PA(a);a.o()},NA=function(a){null!=a.l||a.G||null==a.F||a.u||(a.G=!0,a.F().then(function(b){a.G=!1;a.K()?b.stop():a.M.ab(b)&&(a.l=b,a.listen(b.l,"Z",a.o),PA(a),a.o())}))},PA=function(a){null!=a.l&&(a.u?a.l.mute():a.l.hm())}; MA.prototype.o=function(){var a=this.l?this.l.isMuted():this.u;a!==this.H&&(this.H=a,this.O(CA(BA(AA(new zA,this.J),this.L),a)))}; var RA=function(a,b){var c=void 0;return new (c||(c=Promise))(function(d,e){function f(l){try{h(b.next(l))}catch(q){e(q)}}function g(l){try{h(b["throw"](l))}catch(q){e(q)}}function h(l){l.done?d(l.value):(new c(function(q){q(l.value)})).then(f,g)}h((b=b.apply(a,void 0)).next())})}; var SA=function(a){this.g=a.g;this.Vf=a.l};SA.prototype.be=function(){return I(this.g)};SA.prototype.toString=function(){return"RIDs(send="+this.Vf+", rids="+this.be()+")"};var TA=function(){this.g=[];this.l=!0};TA.prototype.W=function(){return new SA(this)};var UA=function(a,b){a.g=I(b);return a}; var VA=function(a,b){this.g=a;this.l=I(b)};VA.prototype.toString=function(){return"SsrcGroup(semantics="+this.g+", ssrcs="+this.l+")"};VA.prototype.Ea=function(){return I(this.l)}; var WA=function(a){this.L=a.H;this.J=a.I;this.M=a.M;this.g=a.R;this.I=a.L;this.G=a.u;this.R=a.S;this.F=a.o;this.gd=a.F;this.o=a.G;this.H=a.K;this.O=I(a.l);this.l=a.J;this.u=I(a.O);this.K=a.g};k=WA.prototype; k.toString=function(){return"Stream(participantId="+this.J+", mediaType="+this.L+", sourceId="+this.M+", streamId="+this.g+", muted="+this.I+", downlinkPaused="+this.G+", uplinkPaused="+this.R+", croppable="+this.F+", mediaStreamId="+this.gd+", mediaStreamTrackId="+this.o+", ssrcs="+this.O+", rids="+this.l+", ssrcGroups="+this.u+", adaptationFlags="+this.K+")"};k.da=function(){return this.L};k.Y=function(){return this.J};k.va=function(){return this.M};k.zc=function(){return this.I};k.ud=function(){return this.F}; k.Ea=function(){return I(this.O)};k.matches=function(a){return this.Y()==a.Y()&&this.da()==a.da()&&this.va()==a.va()&&this.g==a.g};var Pc=function(a){this.H=(a=void 0===a?null:a)?a.L:null;this.I=a?a.J:"";this.M=a?a.M:null;this.R=a?a.g:null;this.L=a?a.I:!1;this.u=a?a.G:!1;this.S=a?a.R:!1;this.o=a?a.F:!0;this.F=a?a.gd:null;this.G=a?a.o:null;this.K=a?a.H:null;this.l=a?I(a.O):[];this.J=a?a.l:null;this.O=a?I(a.u):[];this.g=a?a.K:0};Pc.prototype.W=function(){return new WA(this)}; var XA=function(a,b){a.H=b;return a},YA=function(a,b){a.I=b;return a},ZA=function(a,b){a.M=b;return a},$A=function(a,b){a.R=b;return a},aB=function(a,b){a.L=b;return a},bB=function(a,b){a.u=b;return a},cB=function(a,b){a.S=b;return a},dB=function(a,b){a.o=b;return a},eB=function(a,b){a.F=b;return a},fB=function(a,b){a.G=b;return a},gB=function(a,b){a.K=b;return a},Oc=function(a,b){a.l=I(b);return a};Pc.prototype.Ea=function(){return I(this.l)}; var hB=function(a,b){a.J=b;return a},iB=function(a,b){a.O=I(b);return a},jB=function(a,b){a.g=b;return a}; var kB=function(a){dz.call(this);this.l=a;a.L=this;this.g(a);this.u="nr"};C(kB,dz);k=kB.prototype;k.ya=function(){return{config:this.Yi(),muted:this.isMuted(),state:lB(this)}};k.da=function(){return this.l.Ba};k.isMuted=function(){return"mu"==this.l.Ad()};k.Hi=function(){return!1};k.Yi=function(){return null}; var lB=function(a){switch(a.u){case "re":return"El dispositivo est\u00e1 preparado";case "nr":return"El dispositivo no est\u00e1 preparado";case "nd":return"No se encuentra el dispositivo";case "ad":return"Se ha denegado el acceso al dispositivo";case "fa":return"El dispositivo ha fallado";case "st":return"El dispositivo se ha parado"}return""};kB.prototype.G=function(a){if(a!==this.u){var b=this.isMuted();this.u=a;this.P("ea");b!==this.isMuted()&&this.P("da")}};kB.prototype.X=function(){}; kB.prototype.xa=function(){};kB.prototype.ec=function(){}; var mB=function(a){this.g=a.g;this.l=a.l;this.o=a.o};mB.prototype.toString=function(){return"BandwidthConstraints(minBandwidthKbps="+(this.l+", maxBandwidthKbps=")+(this.g+", startBandwidthKbps=")+this.o};var nB=function(){this.o=this.l=this.g=-1};nB.prototype.W=function(){return new mB(this)}; var Ab=function(a,b,c,d,e,f,g,h,l,q,r){this.l=a;this.L=b;this.g=c;this.H=d;this.o=e;this.u=f;this.I=g;this.G=h;this.J=l;this.K=void 0===q?null:q;this.F=void 0===r?null:r},oB=function(a,b){return a==b?!0:a&&b?a.l===b.l&&a.L===b.L&&a.g===b.g&&a.H===b.H&&a.o===b.o&&a.u===b.u&&a.I===b.I&&a.G===b.G&&a.J===b.J&&a.K===b.K&&a.F===b.F:!1}; Ab.prototype.toString=function(){return"Candidate(component="+this.l+", priority="+this.L+", type="+(this.g+", protocol="+this.H+", ip="+this.o+", port=")+(this.u+", foundation="+this.I+", generation=")+(this.G+", network="+this.J+", relatedIp=")+(this.K+", relatedPort="+this.F+")")};Ab.prototype.ga=function(){return new Ab(this.l,this.L,this.g,this.H,this.o,this.u,this.I,this.G,this.J,this.K,this.F)};Ab.prototype.xg=function(a){var b=this.ga();b.u=a;return b}; var pB=function(a){this.F=a.F;this.Ac=a.H;this.g=a.G;this.K=a.l;this.o=a.K;this.l=a.u;this.G=a.o;this.u=Object.freeze(qb(a.g))};pB.prototype.toString=function(){return"Codec(name="+this.g+", mediaType="+this.F+", payloadType="+this.Ac+", bitrate="+this.K+", clockrate="+this.o+", channels="+this.l+", audioNack="+this.G+", params="+Oj(this.u)+")"};pB.prototype.da=function(){return this.F};pB.prototype.getParams=function(){return this.u}; var qB=function(a,b){a=String(a.g).toLowerCase();b=String(b).toLowerCase();return 0==(a, sessionParams_="+(null!=this.u?"":null)+", tag="+this.l+")"};var yB=function(){var a;this.o=(a=void 0===a?null:a)?a.g:null;this.l=a?a.o:null;this.g=a?a.u:null;this.u=a?a.l:null};yB.prototype.W=function(){return new xB(this)};var zB=function(a,b){a.o=b;return a},AB=function(a,b){a.l=b;return a},BB=function(a,b){a.u=b;return a}; var CB=function(a,b,c){this.g=a;this.l=b;this.o=c};CB.prototype.toString=function(){return"DataChannelDescriptor(label="+this.o+" id="+this.g+", format="+(this.l+")")};CB.prototype.getChannelId=function(){return this.g};CB.prototype.vd=function(){return this.o}; var DB=function(a,b,c){this.id=a;this.uri=b;this.mediaType=void 0===c?null:c};DB.prototype.toString=function(){return"RtpHeaderExtension(uri="+this.uri+", id="+this.id+", mediaType="+this.mediaType+")"}; var EB=function(a){this.l=a.o;this.g=a.l;this.u=a.u;this.o=a.g};EB.prototype.ya=function(){return{port:this.l,name:this.g,messagesize:this.u,numstreams:this.o}};var FB=function(){var a;this.o=(a=void 0===a?null:a)?a.l:null;this.l=a?a.g:null;this.u=a?a.u:null;this.g=a?a.o:null};FB.prototype.W=function(){return new EB(this)};FB.prototype.xg=function(a){this.o=a;return this};FB.prototype.Xc=function(a){this.l=a;return this};var GB=function(a,b){a.g=b;return a}; var HB=function(a){this.H=a.K;this.L=a.H;this.G=a.u;this.l=a.g&&a.g.clone();this.F=a.l;this.g=a.F;this.u=a.G;this.K=a.o;this.I=a.L.slice();this.o=a.I};k=HB.prototype;k.toString=function(){return"StreamRequest(participantId: "+this.H+", sourceId: "+this.L+", mediaType: "+this.G+", resolution: "+(this.l&&this.l.width+"x"+this.l.height)+", frameRate: "+this.F+", adaptationReason: "+this.K+", send: "+this.g+", ssrcs: "+this.I+", streamId: "+this.o+")"};k.Y=function(){return this.H};k.da=function(){return this.G}; k.va=function(){return this.L};k.Ab=function(){return this.l&&this.l.clone()};k.ve=function(){return this.K};k.Ea=function(){return this.I};k.getHeight=function(){return this.l&&this.l.height};k.Pb=function(){return this.F};k.matches=function(a){return this.Y()==a.Y()&&IB(this,a)}; var IB=function(a,b){return a.da()==b.da()&&a.va()==b.va()},JB=function(a){this.K=(a=void 0===a?null:a)?a.H:"";this.H=a?a.L:"";this.u=a&&a.G;this.g=a&&a.l&&a.l.clone();this.l=a&&a.F;this.F=null===a?!0:a.g;this.G=a&&a.u;this.o=a&&a.K||0;this.L=a&&a.I||[];this.I=a&&a.o||null};JB.prototype.W=function(){return new HB(this)};var KB=function(a,b){a.u=b;return a},LB=function(a,b){a.L=b;return a},MB=function(a,b){a.I=b;return a},NB=function(a,b){a.H=b;return a},OB=function(a,b){a.G=b;return a}; JB.prototype.md=function(a){this.F=a;return this};var PB=function(a,b){a.g=new Aj(b.width,b.height);return a},QB=function(a,b){a.l=b;return a},RB=function(a){var b=new Aj(0,0),c=Math.min;null!==a.g&&(b=new Aj(c(a.g.width,b.width),c(a.g.height,b.height)));return PB(a,b)},SB=function(a){a.l=Math.min(a.l||Infinity,0);return a}; var TB=function(a,b,c,d){this.l=a;this.F=b;this.I=c;this.Gc=void 0===d?null:d;this.g=null;this.H=[];this.K="";this.Pd=[];this.L=this.G=!0;this.o=[];this.u=null},WB=function(a,b){return a===b?!0:a&&b?a.l===b.l&&Nf(UB(a),UB(b),function(c,d){return c===d?!0:c&&d?c.F===d.F&&c.Ac===d.Ac&&c.g===d.g&&c.K===d.K&&c.o===d.o&&c.l===d.l:!1})&&Nf(VB(a),VB(b),function(c,d){return c===d?!0:c&&d?c.uri===d.uri&&c.id===d.id&&c.mediaType===d.mediaType:!1}):!1}; TB.prototype.ya=function(){var a=this.g?this.g.ya():{};return{type:this.l,mediaId:XB(this),bandwidthConstraints:String(this.Td()),codecs:UB(this),streams:Jc(this),sctpSettings:a,rtpHeaderExtensions:VB(this),defaultRequests:this.Tc().map(String),send:this.G,receive:this.L,virtualSsrcs:I(this.o),loudestCsrc:this.u}};TB.prototype.ga=function(){var a=new TB(this.l,this.F,this.I,this.Gc);a.g=this.g;a.H=this.H;a.K=this.K;a.Pd=this.Pd;a.G=this.G;a.L=this.L;a.o=this.o;a.u=this.u;return a}; var UB=function(a){return I(a.F)},YB=function(a,b){a=a.ga();a.F=b;return a},ZB=function(a,b){a=a.ga();a.g=b;return a},VB=function(a){return I(a.I)},$B=function(a,b){a=a.ga();a.I=b;return a},Jc=function(a){return I(a.H)},Lc=function(a,b){a=a.ga();a.H=b;return a},XB=function(a){if(a.K)return a.K;switch(a.l){case "a":return"audio";case "v":return"video";case "d":return"data";default:return""}},aC=function(a,b){a=a.ga();a.K=b;return a};k=TB.prototype;k.Tc=function(){return I(this.Pd)}; k.zf=function(a){var b=this.ga();b.Pd=a;return b};k.Dj=function(a){var b=this.ga();b.Gc=a;return b};k.Td=function(){return this.Gc};k.md=function(a){var b=this.ga();b.G=a;return b}; var bC=function(a,b){a=a.ga();a.L=b;return a},cC=function(a,b){a=a.ga();a.o=b;return a},dC=function(a,b){a=a.ga();a.u=b;return a},eC=function(a){return 0>>0};var VC=function(a){return a>>>0};BC.prototype.G=function(a){var b=new Ta;b=m(b,1,a.g);a=a.Ea();return m(b,2,a||[])};BC.prototype.L=function(a){var b=KC(t(a,2),this.g)||[];a=t(a,1);return null==a?null:new VA(a,b)};var WC=function(a){var b=SC;return KC(a,b.J,b)||[]}; BC.prototype.J=function(a){var b=MC(a.da());if(null==b)return null;var c=a.Y(),d=a.va();if(null==c||null==d)return null;var e=MB(new JB,a.nh());e.K=c;b=NB(KB(e,b),d);c=n(a,Qa,8);null!=c&&LB(b,KC(t(c,1),this.g,this)||[]);return NC(b,n(a,vn,9))}; var NC=function(a,b){if(b&&wd(b,2)){a.md(!0);var c=t(b,5);c.length&&LB(a,c.map(VC));if(b=b.Ab())(c=t(b,3))&&QB(a,c),c=t(b,2),b=b.getHeight(),c&&b&&PB(a,new Aj(c,b))}else a.md(!1);return a.W()},KC=function(a,b,c){if(null==a||!Array.isArray(a))return null;for(var d=[],e=0;e=c.length)){var g=c[f];g instanceof GD?0=c.level})};ID.prototype.$c=function(a){if(JD(this,a)){var b=[a.name,a.sessionId,a.context,a.message.toString(),a.error].filter(function(c){return null!=c});KD.get(a.level)(b)}}; var KD=new Map([[0,function(a){console.debug.apply(console,y(a))}],[1,function(a){console.info.apply(console,y(a))}],[2,function(a){console.warn.apply(console,y(a))}],[3,function(a){console.error.apply(console,y(a))}]]); var LD=function(){var a=this;this.l=new Set;this.g=[];setTimeout(function(){a.g=null},5E3)},MD=z(["",""]),ND=function(a,b){if(null!==a.g)a.g.forEach(function(d){return b.$c(d)});else if(null===a.g){var c={level:2,message:HD(MD,"A backend has been registered, but all catch-up entries have already been cleared. In order for a backend to receive catch-up entries, it must be registered within 5 seconds of the LogManager's creation."),name:"realtime.logging.internal.LogManager",context:null,error:null, json:null,sessionId:null,timestamp:Date.now()};b.$c(c)}a.l.add(b)};LD.prototype.$c=function(a){null!==this.g&&this.g.push(a);for(var b=x(this.l),c=b.next();!c.done;c=b.next()){c=c.value;try{c.$c(a)}catch(d){setTimeout(function(){throw d;},0)}}};var OD,PD=function(){OD||(OD=new LD,zD.ca.then(function(){var a=new ID;0b?-1:kb()+b;this.l.start(0>b?this.o:Math.min(this.o,b))};k.stop=function(){this.l.stop()};k.Am=function(){}; k.xp=function(){if(this.G.call(this.F))this.Am();else if(0>this.u)this.l.start(this.o);else{var a=this.u-kb();0>=a||this.l.start(Math.min(this.o,a))}}; var Vb={iceServers:[{urls:["stun:74.125.250.129:19303"]}],iceTransportPolicy:"all",iceCandidatePoolSize:"5"},Sb={iceServers:[{urls:["stun:[2001:4860:4864:5:8000::1]:19303"]}],iceTransportPolicy:"all",iceCandidatePoolSize:"5"},Tb={optional:[{Wx:!0}]}; var xE=function(a){T.call(this,wE);this.message=a};C(xE,T);var wE=new Mi("xa"); var yE=function(){this.u=this.g=null},zE=function(a,b){a.g=b;return a};yE.prototype.l=function(a){this.g&&m(a,14,this.g)};yE.prototype.toString=function(){return"{ ParticipantLogId: "+(this.g||"")+", MucJid: "+(this.u||"")+", SyntheticId: , MeetingCode: , MeetingSpaceId: }"}; var AE=function(){U.apply(this,arguments)};C(AE,U);k=AE.prototype;k.ya=function(){return{id:this.l,isInProgress:"INPROGRESS"==this.ja(),state:this.ja()}};k.pause=function(){};k.resume=function(){};k.pa=function(){throw Error("ha");};k.dl=function(){return Xc("Not implemented")};k.pm=function(){};var BE=new Mi("ya"),CE=new Mi("za"),DE=function(a,b,c){T.call(this,BE);this.me=I(a);this.Xd=I(b);this.removed=I(c)};C(DE,T);var EE=function(a){T.call(this,CE);this.g=I(a)};C(EE,T); var FE=function(){dz.call(this);this.Bb="INITIAL";this.xb=void 0};C(FE,dz);k=FE.prototype;k.ya=function(){var a=this.G;return{state:this.ja(),endCause:this.xb,id:this.o.l,isInProgress:"INPROGRESS"==this.ja(),localId:this.ob(),localDescription:GE(this).ya(),localSession:this.l.ya(),options:this.getOptions().ya(),remoteAudioCodecs:I(this.ia).map(String),remoteSession:this.o.ya(),remoteSessionDescription:a&&a.ya(),useEarlyMedia:null!==this.u.ad&&0d.Ym)})});this.H=c;this.J= 1E3*d.Dk};C(oF,nF);var sF=z(["Connection lost alarm triggering: ",""]),tF=z(["Connection lost alarm not triggering: ",""]),rF=function(a,b,c){c?a.N.U(sF,b):a.N.info(tF,b);c?a.l.add(b):a.l.delete(b);a.l.size?null==a.o&&(a.o=Hk(function(){a.H(6371,{Nb:Array.from(a.l).join(",")});a.G=!0;W(a.u,!0)},a.J),a.F=X(),a.H(3061,{Nb:Array.from(a.l).join(",")})):null!=a.o&&(Ik(a.o),a.o=null,a.G&&(a.G=!1,W(a.u,!1)),b=a.F?Math.round(wD(X(),a.F)/1E3):-1,a.H(3062,{Hc:b}),a.F=null)}; var uF=function(a,b,c){return pF(a,b,c)}; var vF=function(a){dz.call(this);this.l=a;this.F=pi(this.l,3,0);this.u=0;this.o=!1};C(vF,dz); var xF=function(a,b){b=hr(b);if(null!=b){for(var c=x(b),d=c.next();!d.done;d=c.next())if(d=d.value,0==sd(d)&&2==wr(d)&&(0==t(d,57)||0==d.getHeight())){a.F=pi(a.l,3,0);return}b=x(b);for(d=b.next();!d.done;d=b.next())switch(c=d.value,sd(c)){case 2:d=a,0=pi(d.l,2,1)&&(d.P(new wF(0)),d.o=!0)):(d.o&&(d.P(new wF(1)),d.o=!1),d.u=0)}}},wF=function(a){T.call(this,"La");this.id=a};C(wF,T); var yF=function(){this.g=new Map};yF.prototype.register=function(a,b,c){var d=a.messageId;if("string"===typeof d){var e=this.g.get(d);e?(e.fn=e.fn||b,e.Nk=e.Nk||c):this.g.set(d,{nb:a,fn:b,Nk:c})}};yF.prototype.ki=function(a){var b=a[0],c=this.g.get(b);if(c)return new c.nb(a);throw Error("ka`"+b);}; var zF={},AF=new yF,BF=function(a,b){T.call(this,"Ma");this.Ca=a;this.data=b};C(BF,T); var CF=function(a){var b=new Map;a.forEach(function(c,d){b.set(d,{volume:c,cg:!1})});return b},DF=function(a,b,c){T.call(this,"Na");this.sessionId=a;this.o=b;this.g=new Map(c)};C(DF,T);var EF=function(a){T.call(this,"Oa");this.dm=a};C(EF,T); var FF=z(["Latencies for csrc "," reset before reporting"]),GF=new sj("kmRoq"); var HF=function(){S.call(this);this.N=null;this.o={};this.l={}};C(HF,S);var IF=function(a,b){hr(b).forEach(function(c){if(2==wr(c)&&1==sd(c)&&0e)d={Si:b,vj:NaN,n:1};else{e+=1;var f=b-c;c+=f/e;var g=NaN;1c)return LF(b,f);var g=t(b,3);if(2>e)return LF(a,g);d=t(a,2);var h=t(a,1),l=t(a,4),q=t(b,2),r=t(b,1),w=t(b,4),B=g-f;b=c+e;l=Math.sqrt((l*l*(c-1)+w*w*(e-1)+B*B*c*e/b)/(b-1));c=(f*c+g*e)/b;m(a,5,b);m(a,1,Math.min(h,r));m(a,2,Math.max(d,q));m(a,3,Math.round(c)); m(a,4,Math.round(l));return a},JF=function(a){return null!=a?a:NaN}; var NF=function(a){Q(this,a,0,-1,null,null)};H(NF,p); var PF=function(){this.u=!1;this.l=this.K=this.F=this.Yf=this.o=null;this.g=new Iq;OF.set(this.g,this)},QF=function(a){return OF.get(a)},OF=new WeakMap; var TF=function(){this.g=null;this.u=new RF(function(){return null},function(a,b){return LF(a,null!=b?b:NaN)});this.K=new RF(function(){return new SF},function(a,b){a.update(b);return a});this.l=new RF(function(){return[]},function(a,b){if(null==b)return a;20<=a.length&&(a.length=0);a.push(b);return a});this.o=new RF(function(){return null},function(a,b){return MF(a,b)})};TF.prototype.update=function(a){this.g=a;UF(this)}; var UF=function(a){jr(a.g).forEach(function(b){var c=t(b,1),d=t(b,2);b=t(b,3);var e=a.l;VF(e,e.l,c+"-"+d,WF,b)});hr(a.g).forEach(function(b){var c=or(b)[0];if(c){var d=sd(b);XF(a,c,d,YF,t(b,2));XF(a,c,d,ZF,t(b,113));XF(a,c,d,$F,t(b,96));XF(a,c,d,aG,t(b,42));switch(wr(b)){case 1:bG(a,c,d,cG,t(b,26));1==d?(XF(a,c,d,dG,ni(b,107)),XF(a,c,d,eG,ni(b,68)),XF(a,c,d,fG,ni(b,106)),XF(a,c,d,gG,ni(b,104)),XF(a,c,d,hG,ni(b,156)),XF(a,c,d,iG,ni(b,103)),XF(a,c,d,jG,ni(b,207)),kG(a,c,d,iG,ni(b,103)),kG(a,c,d,cG, t(b,26)),kG(a,c,d,jG,ni(b,207)),(pr(b)||[]).forEach(function(e){kG(a,c,d,lG,e)})):0==d&&kG(a,c,d,WF,t(b,6));break;case 2:if(1==d){if(bG(a,c,d,mG,t(b,89)),0<(t(b,138)||0)&&(bG(a,c,d,nG,t(b,138)),b=QF(b).o))bG(a,c,d,oG,(t(b,12)||0)-(t(b,11)||0)),bG(a,c,d,pG,(t(b,4)||0)-(t(b,3)||0)),bG(a,c,d,qG,(t(b,12)||0)-(t(b,9)||0)),bG(a,c,d,rG,(t(b,6)||0)-(t(b,2)||0))}else 0==d&&kG(a,c,d,WF,t(b,6))}}});n(a.g,Pp,222)&&(sG(a.o,tG,n(n(a.g,Pp,222),Ip,4)),sG(a.o,uG,n(n(a.g,Pp,222),Ip,5)))},bG=function(a,b,c,d,e){a=a.u; VF(a,a.g,b+"-"+c,d,e)},XF=function(a,b,c,d,e){null!=e&&-1!=e&&(a=a.K,VF(a,a.g,b+"-"+c,d,e))},kG=function(a,b,c,d,e){a=a.l;VF(a,a.g,b+"-"+c,d,e)},zG=function(a){if(!a.g)return null;jr(a.g).forEach(function(b){var c=b.G,d=WF,e=t(b,1),f=t(b,2);(d=a.l.l.get(e+"-"+f+"-"+d))&&c.call(b,d)});hr(a.g).forEach(function(b){var c=or(b)[0],d=sd(b);c&&(vG(a,c,d,cG,b,b.L),vG(a,c,d,nG,b,b.Gs),vG(a,c,d,mG,b,b.Js),vG(a,c,d,oG,b,b.Ds),vG(a,c,d,pG,b,b.Es),vG(a,c,d,qG,b,b.Ks),vG(a,c,d,rG,b,b.Ms),wG(a,c,d,dG,b,b.zh),wG(a, c,d,eG,b,b.sf),wG(a,c,d,fG,b,b.Ah),wG(a,c,d,gG,b,b.Bh),wG(a,c,d,hG,b,b.Ch),wG(a,c,d,iG,b,b.Dh),wG(a,c,d,jG,b,b.hn),wG(a,c,d,YF,b,function(e){return m(b,2,Math.round(e))}),wG(a,c,d,ZF,b,function(e){return m(b,113,Math.round(e))}),wG(a,c,d,$F,b,function(e){return m(b,96,Math.round(e))}),wG(a,c,d,aG,b,function(e){return m(b,42,Math.round(e))}),xG(a,c,d,iG,b,b.Ns),xG(a,c,d,cG,b,b.Fs),xG(a,c,d,WF,b,b.H),xG(a,c,d,lG,b,b.G),xG(a,c,d,jG,b,b.Bs))});yG(a,tG,Pp.prototype.H);yG(a,uG,Pp.prototype.G);return a.g}, vG=function(a,b,c,d,e,f){(a=a.u.g.get(b+"-"+c+"-"+d))&&KF(a)&&f.call(e,a)},wG=function(a,b,c,d,e,f){(a=a.K.g.get(b+"-"+c+"-"+d))&&!isNaN(a.g)&&f.call(e,a.g)},xG=function(a,b,c,d,e,f){(a=a.l.g.get(b+"-"+c+"-"+d))&&f.call(e,a)},yG=function(a,b,c){if((b=a.o.o.get("-"+b))&&KF(b)){if(null==t(a.g,222)){var d=a.g,e=new Pp;R(d,222,e)}c.call(n(a.g,Pp,222),b)}};TF.prototype.reset=function(){this.g=null;this.u.reset();this.K.reset();this.l.reset();this.o.reset()}; var RF=function(a,b){this.u=a;this.K=b;this.g=new Map;this.l=new Map;this.o=new Map},sG=function(a,b,c){VF(a,a.o,"",b,c)},VF=function(a,b,c,d,e){c=c+"-"+d;d=b.has(c)?b.get(c):a.u();a=a.K(d,e);b.set(c,a)};RF.prototype.reset=function(){this.g.clear();this.l.clear();this.o.clear()};var AG=function(a){this.g=a};AG.prototype.toString=function(){return this.g}; var cG=new AG("XTvm9d"),nG=new AG("TdVfcf"),mG=new AG("eQTbEc"),oG=new AG("a4Yxj"),pG=new AG("nUWCZc"),qG=new AG("Nboi5"),rG=new AG("R5vmJf"),dG=new AG("gzdO6e"),eG=new AG("tXhbTd"),fG=new AG("KQMrwb"),gG=new AG("VV4zEf"),hG=new AG("JFlPof"),iG=new AG("BUnMQ"),jG=new AG("i5kSvf"),lG=new AG("bBLyge"),WF=new AG("Wau6Je"),YF=new AG("YoLTIb"),ZF=new AG("A1VqNe"),$F=new AG("F2EIlf"),aG=new AG("DbrXbf"),tG=new AG("F2s1L"),uG=new AG("NJuHOb"),SF=function(){this.g=NaN;this.l=0}; SF.prototype.update=function(a){this.l++;this.g=1===this.l?a:this.g+(a-this.g)/this.l}; var BG=new sj("HETvff","lHoXXe"); var CG=function(){S.call(this);this.N=null;this.o=new Map;this.l=new Map};C(CG,S);var DG=function(a,b){hr(b).forEach(function(c){if(2==wr(c)&&0=Bj(bE)?d.o[e]||(d.o[e]=kb()):delete d.o[e]});null!=this.oa?HH(this.oa,a):IH(this,a)};KG.prototype.Ke=function(a){JH(this,a.g);IH(this,a.g)}; var IH=function(a,b){JG(a,5150);a.l.qd(b);a.o.qd(b);a.Fb={};b.forEach(function(c){if(c.g){var d=c.Y();c=c.va();a.Fb[d+c]=!0}});a.F.forEach(a.Gb,a)};KG.prototype.Gb=function(a){var b=a.Y(),c=a.va();b=this.Fb[b+c]||!1;b!=a.l&&(a.l=b,a.P("Pa"))}; var JH=function(a,b){b=x(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;var d=c.Ea();if(null!=d){c=c.ve();d=x(d);for(var e=d.next();!e.done;e=d.next())a.X.set(e.value,c)}}},KH=z(["Stream Requests for UP streams received from remote\n side: ","."]),LH=z(["Audio Stream Requests for UP streams received unexpectedly from remote\n side: ","."]),tH=function(a,b){a.N.info(KH,Oj(b.map(function(c){return c.toString()})));MH(a,NH(a,b));if(null!==a.qa){if(b.filter(function(c){return"v"==c.da()}).length){HH(a.qa, b);return}a.N.U(LH,Oj(b.map(function(c){return c.toString()})))}OH(a,b)},PH=z(["Muted unknown capture."]);KG.prototype.Gd=function(a){var b=a.target;a=b.isMuted();b=b.l;var c=b.Ba;"a"==c?this.Fc++:"v"==c&&this.Tb++;(b=this.I[rH(b)])?(a=aB(new Pc(b.getInfo()),a).W(),b.u=a,yH(this.o,a)):this.N.U(PH)};var sH=function(a,b){a&&(b=dB(new Pc(a.getInfo()),b).W(),a.u=b)};KG.prototype.Le=function(a){OH(this,a.g)}; var QH=z(["Sending stream requests for UP streams to local session:\n ","."]),OH=function(a,b){var c=b.filter(function(e){e=e.u;return!(null!=e&&a.o.l!=e)});if(0!=c.length){JH(a,c);a.R=Cf(a.R.filter(function(e){return!c.some(function(f){return IB(e,f)})}),c);var d=a.u.wo;void 0!=d&&(a.R=a.R.map(function(e){return(e.Pb()||0)>d?QB(new JB(e),d).W():e}));a.N.info(QH,Oj(a.R));JG(a,5147);a.l.$i(a.R)}},NH=function(a,b){if(!ed||!fd(59)||!a.u.xf)return!1;var c=null;b.forEach(function(d){!Rc(d.va())&&d.Ab()&& (null==c||d.Ab().width>c.Ab().width)&&(c=d)});if(null==c)return!1;a=c.Ab();return a.height*a.widthqf(b.Na.tb(),function(d){return oB(d,c)})&&b.Na.add(c)});null==this.Wa&&(this.Wa=Hk(function(){b.Oe.ca.then(b.tt,null,b);b.Wa=null},500))};var TH=z(["Sending local ICE candidates over to the other side:\n ","."]);KG.prototype.tt=function(a){this.N.info(TH,Oj(this.Na.tb()));this.P(new nD(this.Na.tb(),a))}; var VH=function(a,b){if(b=hr(b))for(var c=0;cb&&(b=new Vp,b=m(b,1,c.length), c=m(b,2,c||[]),R(a,207,c),Dr(a,d))}},$H=function(a,b,c){var d=hr(b);d&&Dr(b,d.filter(function(e){if(1==sd(e)){var f=yr(e)||or(e)[0]||0,g=a.Ec.get(f)||{},h=g.packets||0,l=g.Sp||!1;e=t(e,10)||0;h=h==e;l=!l||!h;c&&(g.packets=e,g.Sp=h,a.Ec.set(f,g));return l}return!0}))},aI=function(a,b){var c=a.V&&15E3=bE.width});e=d&&e.every(function(f){return(t(f,57)|| 0)<=aE.width});b&&JG(a,4627);e&&JG(a,4875);c&&(a.V=null);d&&(a.S=null)}},cI=function(a,b){hr(b).forEach(function(c){return bI(a,c)})},bI=function(a,b){var c=or(b)[0];if(0==sd(b)){var d=WH(a,c);0=Bj(bE)&&(a=b.o[d])&&(a=kb()-a,0<=a&&(b.l[c]=b.l[c]||[],b.l[c].push(a),delete b.o[d]))}; KG.prototype.Zs=function(a){var b=a.source?this.pa(a.source):null,c=b?b.getInfo().Ea():[];b=this.Sb;a=a.id;c=0=d&&(b.l.has(e)||b.l.set(e,[]),b.l.get(e).push(d))}c?b.o.set(a,{ssrc:c,de:kb()}):b.o.delete(a)};var iI=z(["Latency event: ","."]); KG.prototype.Eq=function(a){this.N.info(iI,a.message);"transport writable"==a.message?(this.Cg=!0,this.ha||Hk(this.Zh,2E3,this),this.P(new lD([],[],this.ob())),bH(this)):"recv first video packet"==a.message?(this.ha=!0,bH(this)):"transport not writable"==a.message&&jI(this.o)};KG.prototype.Zh=function(){this.ha||(this.ha=!0,bH(this))};var bH=function(a){"STARTED"==a.ja()&&a.Cg&&a.ha&&(RG(a,"INPROGRESS"),a.P(new lD([],[],a.ob())))},kI=z(["Received data on the broadcast data channel. Data: ",""]); KG.prototype.Pp=function(a){switch(a.label){case "collections":W(this.Yc,a.payload);break;case "dataSendChannel":this.N.Sa(kI,a.payload);break;default:this.P(new BF(a.Ca,a.payload))}};var aH=function(a){a.l.yn()&&(a.M=Hk(a.Rh,5E3,a))},lI=z(["Session started receiving audio."]),mI=z(["Session stopped receiving audio!"]),nI=z(["Session started receiving video."]),oI=z(["Session stopped receiving video!"]); KG.prototype.Vs=function(a){if(null!=this.M){a.g!=this.tc&&(a.g?this.N.info(lI):this.N.U(mI),this.tc=a.g);a.o!=this.uc&&(a.o?this.N.info(nI):this.N.U(oI),this.uc=a.o);var b=X();a.g&&(this.mb=b);a.o&&(this.vb=b);if(a.g||a.o)Ik(this.M),this.M=null,aH(this)}};var pI=z(["Session has never received audio."]),qI=z(["Session has not received audio for "," seconds."]),rI=z(["Session has never received video."]),sI=z(["Session has not received video for "," seconds."]); KG.prototype.Rh=function(){var a=X(),b=wD(a,this.mb)/1E3;a=wD(a,this.vb)/1E3;this.P(new iD(this.o.l,b,a));this.mb==this.ta?this.N.info(pI):5E3h.length||null==h[0])a.u.logImpression(3945),e.stop(16,"Received null session proto.");else{var l=h[0];null!=t(l,17)&&null!=t(l,21)&&W(a.Fb,pi(l.Tg(),1,0)===t(l,21));l=LC(a.aa,l);null==l?(a.u.logImpression(3947),e.stop(16,"Error parsing session proto.")):MJ(a,e,l)}return h}),function(h){var l="Failed to add session to collection. Error: "+ h;a.l.U(HJ,l);a.u.logImpression(3949,{Nb:l});l.includes("Malformed RTCIceServer")&&a.u.logImpression(4264);e.stop("transport_unavailable"==h.g?108:16,l);throw h;})}else a.l.Sa(FJ),a.u.logImpression(3942),e.stop(16,"Local session initialize failed to create local offer.")},function(f){var g="Failed to initialize session. Error: "+zi(f);a.l.U(IJ,g);a.u.logImpression(3943,{sessionId:e.o.l||void 0,Nb:g});e.stop(109,"Failed to initialize session.");throw f;});e.l.jj()&&(a.Da.add(e),NJ(a));sy(e.$a.u,function(){pJ(a)}); return e},JJ=function(a){return"undefined"!==typeof RTCPeerConnection&&a.mb()?(a.u.logImpression(5989),Qb(a.X).then(function(b){a.u.logImpression(b?5991:5990);return b})):Vc(null)};XI.prototype.Na=function(){}; var OJ=function(a,b){var c=a.V.af();c&&(b=b.ga(),b.Xf=c);if(c=a.V.Rf()){var d=b.ga();b.Xf&&(c=Math.max(b.Xf,c));d.Mi=c;b=d}c=a.V.Sf();b=b.ga();b.tf=c;c=a.xa.oq(a.S,b);c.bj(a.qa);return new KG(a.S,a.xa,c,b,a.xb)},KJ=function(a,b){b=OJ(a,b);if(null==b)return null;a.G.add(b);a.H.get(b.ja()).add(b);a.ia.set(b.ob(),b.ja());b.oa=a.vb;b.H.listen(b.oa,"Qa",b.Ke);b.qa=a.Ub;b.H.listen(b.qa,"Qa",b.Le);BH(b,a.$a);zH(b,function(c){return a.ab(c)});VI(a.bb,a.kb,b.Yc);a.I.listen(b,["Ma","pa","ua","oa"],a.P);a.I.listen(b.l, wE,function(c){return a.P(c)});a.I.listen(b.o,BE,function(c){return a.P(c)});a.I.listen(b,"wa",a.Eb);a.I.listen(b,"na",a.Cb);a.I.listen(b,"la",a.Db);a.I.listen(b.l,wE,a.Sb);a.I.listen(b,"ma",a.Gb);return b},PJ=function(a,b,c){b.start(c);a.M.forEach(function(d){LG(b,d)})},tJ=function(a){return Cf(Array.from(a.H.get("INITIAL")),lJ(a),jJ(a),iJ(a),hJ(a))},iJ=function(a){return Array.from(a.H.get("PAUSED"))},hJ=function(a){return Array.from(a.H.get("INPROGRESS"))},jJ=function(a){return Array.from(a.H.get("STARTED"))}, lJ=function(a){return Array.from(a.H.get("STARTING"))};XI.prototype.Db=function(a){MJ(this,a.l,a.g)}; var QJ=z(["Received remote description for session "," with sufficient data to allow session preparation."]),RJ=z(["Received remote description for session "," with sufficient data to allow starting the session."]),MJ=function(a,b,c){var d=b.ja(),e=0!=I(c.l).length;var f=!1;var g=c.g;g&&null!=g.g&&(f=2==g.g.split(" ").length);f=e!=f;e=c.g;g=null!=e&&null!=e.o&&null!=e.l&&0d.length)){var e=new An;si(e,6,d);if(d=GE(c).g)if(m(e,4,d.o),m(e,5,d.l),d.g){var f=new Bn;m(f,1,d.g.split(" ")[0]);m(f,2,d.g.split(" ")[1]);R(e,2,f)}d=I(GE(c).l).map(function(g){return b.aa.xk(g)});c=new Dn;m(c,1,4);R(c,2,e);si(c,4,d);e=new Gn;e.H(a.sessionId);Jn(e,[c]);Kz(this.ha,e)}}; XI.prototype.Eb=function(a){var b=a.target,c=this.ia.get(b.ob()),d=b.ja();if(c!=d){this.ia.set(b.ob(),d);this.H.get(c).delete(b);this.H.get(d).add(b);"INPROGRESS"==d&&this.Wa.resolve(b);switch(d){case "STARTED":TJ(this,b);break;case "INPROGRESS":UJ(this,b);break;case "STOPPED":VJ(this,b,a.Hb,a.g);break;case "FINISHED":this.H.get(b.ja()).delete(b),this.ia.delete(b.ob()),this.G.delete(b),this.Da.delete(b),eb(b),this.G.size==this.H.get("FINISHED").size&&"STOPPED"==this.O&&ZI(this,"FINISHED")}this.P(a)}}; var TJ=function(a,b){null!=a.o&&null!=a.wa&&null!=a.za&&(b.Kg(a.o,a.wa,a.za),hJ(a).filter(function(c){return c!=b}).forEach(function(c){SJ(a,c,b)}))},UJ=function(a,b){if("INITIAL"!=a.ja()&&"STOPPED"!=a.ja()&&"FINISHED"!=a.ja()){"STARTING"==a.ja()&&ZI(a,"INPROGRESS");OI(b,a.J.Gf);var c=b.ob();hJ(a).filter(function(d){return c!=d.ob()}).forEach(function(d){d.pause()})}},WJ=z(["Cloud session "," to cloud handoff failed"]),XJ=z(["All sessions now stopped."]),VJ=function(a,b,c,d){a.M.forEach(function(f){f.xa(b.ob())}); if(26==c)c=a.F,a.F=cJ(a),c&&(a.F?SJ(a,c,a.F,6):a.l.Sa(WJ,c.o.l));else{var e=a.H.get("STOPPED").size+a.H.get("FINISHED").size;a.G.size===e?"STOPPED"!==a.O&&(a.l.info(XJ),a.stop(c,d)):0==hJ(a).length&&iJ(a).forEach(function(f){f.resume();SJ(a,b,f)})}},SJ=function(a,b,c,d){d=void 0===d?6:d;var e=X().g;c.l.mn();var f=c.l.cl();if(f){var g=d;f.then(function(){var h=X().g;7==d&&(Kb(a.R,29,e),Kb(a.R,30,h),a.X.then(function(l){return l.l(Ob(a.R))}));YJ(a,b,c,h-e,g)},function(){YJ(a,b,c,null,g)})}},ZJ=z(["Upload log failed during handoff"]), $J=z(["Cloud to cloud handoff took: "," ms"]),aK=z(["Cloud to cloud DTLS handoff took: "," ms"]),YJ=function(a,b,c,d,e){var f=us(ts(ss(m(rs(new ps,e),2,0),b.o.l),c.o.l),d);f=Ns(f);ib(iH(b.O,f,b.ob()),function(g){Qd(a.l,Ai(g)).U(ZJ)});6==e?(a.l.info($J,d),a.u.logImpression(null===d?4653:4652,{sessionId:c.o.l||void 0})):7==e&&(a.l.info(aK,d),a.u.logImpression(null===d?5589:5588,{sessionId:c.o.l||void 0}))},NJ=function(a){a.Ia||(a.Ia=PI.ic(),a.I.listen(a.Ia,"Ra",a.Tb))},bK=z(["SleepWatcher fired. Waiting 3 seconds to determine if media is live."]), cK=z(["SleepWatcher fired but session is still live. Not suspending."]),dK=z(["Suspend triggered by SleepWatcher, effecting "," session(s)."]);XI.prototype.Tb=function(){var a=this,b=new Set(this.Da);0!==b.size&&(this.l.info(bK),lb(3E3).then(function(){a.F.Gl()?(a.l.info(cK),a.u.logImpression(4588),a.P("sa")):(a.l.U(dK,b.size),a.u.logImpression(2056),eK(a,b),a.P("ta"))}))}; var eK=function(a,b){a.M.concat().filter(function(c){return"v"===c.da()}).forEach(function(c){return c.mute()});lb(2E3).then(function(){b.forEach(function(){switch(a.ja()){case "STOPPED":case "FINISHED":return}a.stop(112,"JS was suspended for too long.")})})},dJ=function(a,b){var c=a.F;c&&c.l.wj()&&b.ui()?nb(a.S,XD).then(function(d){d.X();a.u.logImpression(4899)},function(){return a.u.logImpression(4900)}):a.u.logImpression(4900)};KB(new JB,"a").W();var LJ=KB(new JB,"a").md(!1).W(); QB(PB(KB(new JB,"v"),$D),30).W();QB(PB(KB(new JB,"v"),bE),30).W(); var fK=function(a,b,c,d,e){gD.call(this);var f=this;this.R=new BC;this.u=a;this.O=b;this.M=e;this.l=new Map;this.G=new aD;this.G.L=this;this.J=new v(this);this.g(this.J);sy(this.O.onChange,function(){return f.H()},this);this.J.listen(this.M,["ua","wa"],this.H);d.forEach(this.F,this)};C(fK,gD);var gK=function(a,b,c,d,e){return new fK(a,b,c,d,e)};fK.prototype.F=function(a){""==a.Y()&&(a.H=this.u);this.G.add(a)};fK.prototype.o=function(a){return a==this.u?this.G:this.l.get(a)||null}; fK.prototype.I=function(a){var b=this,c=new Set;a.forEach(function(d){if(d!=b.u&&(c.add(d),!b.l.has(d))){var e=new aD;e.L=b;b.l.set(d,e);b.P(new fD("ia",d,e))}});this.l.forEach(function(d,e){c.has(e)||b.l.delete(e)&&b.P(new fD("ja",e,d))});this.H()}; fK.prototype.H=function(){var a=this,b=new Set;this.O.get().forEach(function(c){var d=c.Y();if(d&&(d=a.l.get(d))){var e=a.R;var f=c.Y();var g=c.va(),h=MC(c.da()),l="un";if(null!=n(c,Sn,7)){a:{switch(t(n(c,Sn,7),1)){case 1:l="ca";break a;case 2:l="sc";break a}l="un"}var q=KC(u(n(c,Sn,7),Tn,3),e.M,e)||void 0}if(null!=n(c,Un,8)){var r=ni(n(c,Un,8),2);r="number"===typeof r?r:void 0}var w=n(c,Pn,5)&&n(c,Pn,5).zc()?"mu":"li";e=null;null!=f&&null!=g&&null!=h&&(e=LA({vh:f,id:g,mediaType:h,content:l,state:w, Vm:r,Nn:q}));null!=n(c,Pn,5)&&(q=n(c,Pn,5),t(q,2));null!=n(c,Qn,6)&&t(n(c,Qn,6),1);if(f=e)(q=bD(d,f.Ba,f.lb,f.Y()))?(q.M(f.getContent()),d=f.Ee,q.Ee!=d&&(q.Ee=d,q.P("Y")),JA(q,f.Ad()),d=f.bf(),FA(q,d)&&q.P("$")):d.add(f)}b.add(hK(c.Y(),c.va()))});oJ(this.M).forEach(function(c){var d=c.Y(),e=c.va();if(d!=a.u&&!b.has(d+"/"+e)){c=c.getInfo().da();var f=a.l.get(d);null==f||bD(f,c,e,d)||f.add(LA({vh:d,id:e,mediaType:c}));b.add(d+"/"+e)}});this.l.forEach(function(c){Array.from(c.l).forEach(function(d){b.has(hK(d.Y(), d.lb))||c.remove(d)})})};var hK=function(a,b){return a+"/"+b}; var iK=new sj("y89nuf","Z6rzZb",[XD]),jK=new sj("L6b6Xe","BezZ2c"); var kK=[4,5,6,7];Object.freeze({oo:!0,ht:!0});Object.freeze({oo:!1,ht:!1}); var lK=function(a){this.J=a.g;this.O=a.K;this.M=a.J;this.g=a.l;this.l=a.o;this.o=a.F;this.H=a.u;this.L=a.O;this.I=a.R;this.K=a.H;this.G=a.I;this.u=a.G;this.F=a.L;this.R=a.M}; lK.prototype.toString=function(){return"AudioConfig(deviceId="+this.u+", updateDeviceId="+(this.G+", useAecDelayCorrection=")+(this.J+", useInternalAgc=")+(this.O+", useDucking=")+(this.M+", useAec=")+(this.g+", useAgc=")+(this.l+", useNoiseSuppression=")+(this.o+", useHighpassFilter=")+(this.H+", useMirroring=")+(this.L+", useTransisentSuppression=")+(this.I+", disableWhitelistAec=")+(this.K+")treatAsScreencast=")+(this.F+")")};lK.prototype.getDeviceId=function(){return this.u}; var mK=function(){this.L=!1;this.K=this.g=!0;this.J=!1;this.I=this.H=this.R=this.O=this.u=this.F=this.o=this.l=!0;this.M=this.G=null};mK.prototype.W=function(){return new lK(this)};mK.prototype.Ej=function(a){this.G=a;return this};var nK=(new mK).W(); var oK=function(){var a=void 0===a?{}:a;var b,c,d,e,f,g,h,l;this.config={Gg:null!==(b=a.Gg)&&void 0!==b?b:!1,ci:null!==(c=a.ci)&&void 0!==c?c:0,gi:null!==(d=a.gi)&&void 0!==d?d:!0,deviceId:null!==(e=a.deviceId)&&void 0!==e?e:null,framerate:null!==(f=a.framerate)&&void 0!==f?f:30,qf:null!==(g=a.qf)&&void 0!==g?g:null,Hh:null!==(h=a.Hh)&&void 0!==h?h:!1,Bj:null!==(l=a.Bj)&&void 0!==l?l:!0}};k=oK.prototype; k.toString=function(){return"VideoConfig("+["bypassFpsCap="+this.config.Gg,"contentDetails="+this.config.ci,"croppable="+this.config.gi,"deviceId="+this.config.deviceId,"framerate="+this.config.framerate,"resolution="+this.config.qf,"treatAsScreencast="+this.config.Hh,"updateDeviceId="+this.config.Bj].join()+")"};k.getDeviceId=function(){return this.config.deviceId};k.ud=function(){return this.config.gi};k.Pb=function(){return this.config.framerate};k.Ab=function(){return this.config.qf}; var pK=function(a){this.id=a.K;this.displayName=a.g;this.groupId=a.u;this.g=a.l;this.isSelected=a.o},qK=function(a,b){return a==b?!0:!!a&&!!b&&a.id==b.id&&a.displayName==b.displayName&&a.groupId==b.groupId&&a.g==b.g&&a.isSelected==b.isSelected};pK.prototype.toString=function(){return"Device(id="+this.id+", displayName="+this.displayName+", groupId="+this.groupId+", fullName="+this.g+", isSelected="+this.isSelected+")"};var rK=function(){this.K=null;this.l=this.u=this.g="";this.o=!1}; rK.prototype.W=function(){return new pK(this)};var $d=function(a){var b=new rK;b.K=a;return b},Zd=function(a,b){a.g=b;return a};rK.prototype.He=function(a){this.u=a;return this};var sK=function(a,b){a.l=b;return a},tK=function(a,b){a.o=b;return a},uK=sK(Zd($d("__absent_device__"),"__absent_device__").He("__absent_device__"),"__absent_device__").W(); var vK=function(a,b){T.call(this,a);this.deviceType=b};C(vK,T);var wK=new Mi("Sa"),zK=new Mi("Ta"),AK=new Mi("Ua"),BK=new Mi("Va"); var CK=function(a,b,c,d,e,f){dz.call(this);this.X=a;this.O=b;this.J=c;this.R=d;this.M=e;this.V=f;this.S=[];this.u=this.l=this.o=null;this.I=new v(this);this.g(this.I);this.G=new v(this);this.g(this.G);this.F=new v(this);this.g(this.F);this.H=new v(this);this.g(this.H);this.Se(new lD([],[]))};C(CK,dz);CK.prototype.Y=function(){return this.X}; var DK=function(a,b){a.l===b?!a.l&&a.o&&a.G.listen(a.o,"ga",a.Se):(a.l&&al(a.F,a.l,["Z","X","Y","$"]),(a.l=b)?(a.F.listen(b,"Z",a.wq),a.F.listen(b,["X","Y","$"],a.ur),a.H.listen(a.M,"ua",a.Se)):a.H.removeAll(),a.P("Wa"),a.o&&a.G.listen(a.o,null!==b?"ha":"ga",a.Se))};k=CK.prototype;k.pa=function(){return this.u};k.release=function(a){zf(this.S,a)&&this.P("Xa")}; k.Se=function(a){var b=this.R.o(this.Y());this.o&&this.o===b||(this.I.removeAll(),this.o&&al(this.G,this.o,["ha","ga"]),this.o=b,this.I.listen(this.R,null!==b?"ja":"ia",this.Se));if(null==this.o)DK(this,null);else{b=Array.from(this.o.l);for(var c=this.l,d=null,e=0;e=a.G},kL=function(a){return a.o.fb()>=a.g},lL=function(a){this.l=new mw(a);this.u=a;this.o=this.g=0};lL.prototype.add=function(a){var b=this.l.add(a),c=this.l.fb();this.g+=a;b&&(this.g-=b);this.o=this.g/c};var mL=function(a){return a.l.fb()>=a.u}; var Y=function(a,b,c,d){S.call(this);var e=this;this.S=a;this.F=new Map;this.R=new ky(this);this.l=this.R.signal();this.H=0;this.I=new mw(300);d&&Ki(this,DD(CD.ic(),d.name,function(){return d.Ya.concat(nL(e))}));sy(b,function(f){var g=f.Mc,h=f.data;f=f.bn;1=c||0>=a)return null;this.u=this.u?.65*this.u+.35*a:a;var d=!1,e=!1,f=!1,g=X();15>b?b=this.G=g:(d=this.ue.H){f=60<=e.o;e.o+=g;var h=60<=e.o;!f&&h&&e.l.logImpression(5966)}else 60<=e.o&&e.l.logImpression(5967),e.o=0;200e.H&&200c);return{Pg:d,status:e,Xa:a,Aa:f}}; GL.prototype.ib=function(a){var b=a.Pg,c=a.status;a=a.Xa;null!==c&&(c!==this.u&&(this.u=c,this.o=a),this.O()||(this.M++,2E3>b&&this.J++),this.L.add(b))};GL.prototype.Ua=function(a){return[a.Pg]};var JL={},HL=(JL.x5ghY=[-Infinity,0],JL.MNynB=[0,2E3],JL.lcN5Wd=[2E3,Infinity],JL),IL=new Map([["x5ghY",5E3],["MNynB",15E3],["lcN5Wd",15E3]]); var KL=function(a,b,c){Y.call(this,a,b,"realtime.media.stats.emitters.monitors.audioreceived.FractionLostMonitor",{name:"recentMaxAudioRecvFractionLost",Ya:["Time Since Call Start","Max Audio Recv Fraction Lost (%)"]});this.V=3E4/c;this.L=new lL(this.V);this.O=6E4/c;this.G=new iL(20,.6,this.O);this.u=this.J=!1;this.o=!0;this.M=new Map};C(KL,Y); KL.prototype.Ra=function(a){var b=this;a=a.filter(function(h){var l=yr(h)||or(h)[0];null===l?h=!1:(l=b.M.get(l)||0,h=(t(h,9)||0)!==l);return h});if(0==a.length)return null;a.forEach(function(h){var l=yr(h)||or(h)[0]||0;h=t(h,9)||0;b.M.set(l,h)});a=a.reduce(function(h,l){return Math.max(h,t(l,2))},0);this.L.add(a);this.G.add(a);var c=50b)return this.u=X(),null;a=t(a[0],80);if(null===a)return null;b=hL(SL,a);if(null===b){var c=X();return{$f:a,status:b,Xa:c,hb:!1,Aa:!1,zb:!1}}c=SL[this.o][0]h/10&&(f=Math.min(100,Math.round(g/h*100))))}c.G.set(e,{Fq:d,Mc:b});e=f}else e=100;return e})).concat([100]));return{Gq:a, bh:80>=a}};VL.prototype.ub=function(a){a=a.bh;!a&&this.o?this.logImpression(4127):a&&!this.o&&this.logImpression(4126)};VL.prototype.ib=function(a){a=a.bh;a!==this.o&&(this.o=a)};VL.prototype.Ua=function(a){return[a.Gq]}; var WL=function(a,b){Y.call(this,a,b,"realtime.media.stats.emitters.monitors.audiosent.BitRateMonitor",{name:"statsAudioSentBitrate",Ya:["Time Since Call Start","Audio Sent Bitrate (bps)"]});this.o="lcN5Wd"};C(WL,Y);WL.prototype.Ra=function(a,b){if(5>b)return null;a=Math.min.apply(Math,y(a.map(function(c){return t(c,42)})));if(Infinity===a)return null;b=hL(XL,a);return{wc:a,status:b}};WL.prototype.ib=function(a){a=a.status;null!==a&&a!==this.o&&(this.o=a)};WL.prototype.Ua=function(a){return[a.wc]}; var YL={},XL=(YL.MNynB=[-Infinity,500],YL.lcN5Wd=[500,Infinity],YL); var ZL=function(a,b){Y.call(this,a,b,"realtime.media.stats.emitters.monitors.audiosent.EchoLikelihoodMonitor",{name:"statsAudioSentEchoLikelihoodRecentMax",Ya:["Time Since Call Start","Max Audio Sent Residual Echo Likelihood"]});this.o=!1};C(ZL,Y);ZL.prototype.Ra=function(a){a=Math.max.apply(Math,y(a.map(function(b){return ni(b,133)||0})));return-Infinitya&&this.L++)};var $L=function(){var a=0;Ac()?a=1:za("CrOS")&&(a=2);return a};aM.prototype.Ua=function(a){return[a.Rk]}; var bM=function(a,b){Y.call(this,a,b,"realtime.media.stats.emitters.monitors.BatteryMonitor",{name:"recentBatteryLevel",Ya:["Time Since Call Start","Battery level (%)"]});this.o=0};C(bM,Y);bM.prototype.Ra=function(a){a=Math.round(100*pi(a,75,-1));return a===this.o?null:{vk:a}};bM.prototype.ib=function(a){this.o=a.vk};bM.prototype.Ua=function(a){return[a.vk]}; var eM=function(a,b){Y.call(this,a,b,"realtime.media.stats.emitters.monitors.ConnectionMonitor");var c=this;this.o=this.u=0;ed&&fd(61)&&ED(this,{connection:function(){return cM()}});ED(this,{networkType:function(){return c.o+": "+dM[c.o]},transportProtocol:function(){a:switch(c.u){case 1:var d="UDP";break a;case 2:case 3:d="TCP";break a;default:d="Unknown"}return d}})};C(eM,Y); eM.prototype.Ra=function(a){var b=t(a,55);b=this.o=null!=b&&fM.includes(b)?b:0;a=this.u=t(n(a,Gp,8,1),4);return{network:b,protocol:a}};eM.prototype.ub=function(a){switch(a.protocol){case 1:rL(this,3778);break;case 2:case 3:rL(this,3777)}};eM.prototype.Fh=function(){}; var cM=function(){var a=Uc(),b={};["type","effectiveType","downlinkMax","downlink","rtt"].forEach(function(c){return b[c]=a.connection[c]||"unknown"});return b},fM=ag({sx:0,mx:1,ux:2,vx:3,kx:4,nx:5,ox:6,px:7,qx:8,lx:10,tx:11}),gM={},dM=(gM[0]="Unknown",gM[1]="Ethernet",gM[2]="WiFi",gM[3]="Wimax",gM[4]="Bluetooth",gM[5]="Mobile",gM[6]="Mobile 2G",gM[7]="Ethernet",gM[8]="Mobile 3G",gM[10]="Dummy",gM[11]="VPN",gM); var hM=function(a,b){Y.call(this,a,b,"realtime.media.stats.emitters.monitors.NetworkMonitor");this.G=new Map;this.u=!1;this.o=X();this.L=0};C(hM,Y);k=hM.prototype;k.Ra=function(a){var b=this,c=0b)return this.u=X(),null;a=Math.min.apply(Math,y(a.map(function(h){return t(h,96)})));if(Infinity===a)return null;a=Math.round(a/100)/10;b=.65*this.G+.35*a;var c=hL(kM,b),d=X(),e=!1,f=!1,g=!1;null!==c&&(e=kM[this.o][0]>kM[c][0],c===this.o&&(d=this.u),f=5E3=b);return{wc:a,status:c,Xa:d,hb:e,Aa:f,zb:g,uj:b}};k.ub=function(a){var b=a.status,c=a.Aa,d=a.zb;if(a.hb||c)"lcN5Wd"===b?rL(this,4376):"MNynB"===b&&rL(this,4377);d?pL(this,4378):c&&qL(this)}; k.ib=function(a){var b=a.status,c=a.Xa;this.G=a.uj;null!==b&&b!==this.o&&(this.o=b,this.u=c)};k.Ua=function(a){return[a.wc]};var lM={},kM=(lM.MNynB=[-Infinity,200],lM.lcN5Wd=[200,Infinity],lM); var mM=function(a,b){Y.call(this,a,b,"realtime.media.stats.emitters.monitors.screensharereceived.FpsDecodeMonitor",{name:"recentScreenshareRecvFpsDecode",Ya:["Time Since Call Start","Screenshare Decoded FPS"]});this.o="lcN5Wd";this.u=X()};C(mM,Y);k=mM.prototype;k.reset=function(){this.o="lcN5Wd";this.u=X();sL(this)}; k.Ra=function(a,b){if(10>b)return this.u=X(),null;a=Math.min.apply(Math,y(a.map(function(f){return t(f,31)})));if(!(0<=a&&60>=a))return null;b=hL(nM,a);var c=X(),d=!1,e=!1;null!==b&&(e=nM[this.o][0]>nM[b][0],b===this.o&&(c=this.u),d=5E3b)return this.u=X(),null;a=Math.min.apply(Math,y(a.map(function(f){return ni(f,50)})));if(!(0<=a&&60>=a))return null;b=hL(qM,a);var c=X(),d=!1,e=!1;null!==b&&(e=qM[this.o][0]>qM[b][0],b===this.o&&(c=this.u),d=5E3b)return this.o=X(),null;a=Math.max.apply(Math,y(a.map(function(g){return t(g,2)})));if(!(0<=a&&100>=a))return null;b=.65*this.G+.35*a;var c=hL(tM,b),d=X(),e=!1,f=!1;null!==c&&(f=tM[this.u][0]=r&&(r=(r=b.u.get(q))?wD(X(),r):Infinity);return{Ob:Math.min(r,QF(l).Yf),ssrc:q}});a.forEach(function(l){l=wM(l);var q=l.ssrc;0=a?{Ob:a,ssrc:b}:null}; vM.prototype.ub=function(a){var b=a.status,c=a.Aa,d=a.zb,e=a.ssrc;if(a.hb||c)switch(b){case "lcN5Wd":rL(this,4185,{Hc:e});break;case "peRWwb":rL(this,4186,{Hc:e});break;case "kJFEZb":rL(this,4187,{Hc:e});break;case "fcP1q":rL(this,4188,{Hc:e});break;case "ozt2pf":rL(this,4189,{Hc:e})}d?pL(this,4184,{Hc:e}):c&&qL(this)};vM.prototype.ib=function(a){var b=a.Ob,c=a.status;a=a.Xa;null!==c&&(this.L=b,c!==this.o&&(this.o=c,this.G=a))};vM.prototype.Ua=function(a){return[a.Ob]}; var wM=function(a){var b=yr(a)||or(a)[0]||0;return{Ob:t(a,138)||0,ssrc:b}},xM=ed&&fd(62),BM={},AM=(BM.lcN5Wd=[-Infinity,300],BM.peRWwb=[300,1500],BM.kJFEZb=[1500,5E3],BM.fcP1q=[5E3,2E4],BM.ozt2pf=[2E4,Infinity],BM); var CM=function(a,b){Y.call(this,a,b,"realtime.media.stats.emitters.monitors.screensharereceived.OneWayDelayMonitor",{name:"recentScreenshareRecvOneWayDelay",Ya:["Time Since Call Start","One Way Delay (ms)"]});this.o=X();this.reset()};C(CM,Y);k=CM.prototype;k.reset=function(){this.u="lcN5Wd";this.G=0;this.o=X();sL(this)}; k.Ra=function(a,b){if(10>b)return this.o=X(),null;a=a.map(function(g){return{delay:t(g,89),Nf:QF(g).Yf}}).filter(function(g){var h=g.delay;g=!!g.Nf;return"number"===typeof h&&0h&&g}).map(function(g){return Math.min(g.delay,g.Nf)});a=Math.max.apply(Math,y(a).concat([-1]));if(0>a)return null;b=.65*this.G+.35*a;var c=hL(DM,b),d=X(),e=!1,f=!1;null!==c&&(e=DM[this.u][0]HM[c][0],c===this.o&&(d=this.u),f=5E3=b);return{wc:a,status:c,Xa:d,hb:e,Aa:f,zb:g,uj:b}}; k.ub=function(a){var b=a.status,c=a.Aa,d=a.zb;if(a.hb||c)"lcN5Wd"===b?rL(this,4373):"MNynB"===b&&rL(this,4374);d&&pL(this,4375)};k.ib=function(a){var b=a.status,c=a.Xa;this.G=a.uj;null!==b&&b!==this.o&&(this.o=b,this.u=c)};k.Ua=function(a){return[a.wc]};var IM={},HM=(IM.MNynB=[-Infinity,200],IM.lcN5Wd=[200,Infinity],IM); var JM=function(a,b,c){Y.call(this,a,b,"realtime.media.stats.emitters.monitors.screensharesent.FpsCaptureMonitor",{name:"recentScreenshareSentFpsCapture",Ya:["Time Since Call Start","Sent FPS (Capture)"]});this.G=new iL(0,.6,1E4>c?10:2);this.o="lcN5Wd";this.u=X()};C(JM,Y);k=JM.prototype;k.reset=function(){this.o="lcN5Wd";this.u=X();qL(this);sL(this)}; k.Ra=function(a,b){if(10>b)return this.u=X(),null;a=Math.min.apply(Math,y(a.map(function(g){return t(g,29)})));if(0>a||60KM[b][0],b===this.o&&(c=this.u),e=5E3=a&&jL(this.G));return{Yk:a,status:b,Xa:c,hb:d,Aa:e,zb:f}};k.ub=function(a){var b=a.status,c=a.Aa,d=a.zb;if(a.hb||c)"lcN5Wd"===b?rL(this,4340):"x5ghY"===b&&rL(this,4339);d?pL(this,4341):c&&qL(this)}; k.ib=function(a){var b=a.status;a=a.Xa;null!==b&&b!==this.o&&(this.o=b,this.u=a)};k.Ua=function(a){return[a.Yk]};var LM={},KM=(LM.x5ghY=[-Infinity,0],LM.lcN5Wd=[0,Infinity],LM); var MM=function(a,b){Y.call(this,a,b,"realtime.media.stats.emitters.monitors.screensharesent.FpsEncodeMonitor",{name:"recentScreenshareSentFpsEncode",Ya:["Time Since Call Start","Sent FPS (Encode)"]});this.o="lcN5Wd";this.u=X()};C(MM,Y);k=MM.prototype;k.reset=function(){this.o="lcN5Wd";this.u=X();qL(this);sL(this)}; k.Ra=function(a){a=a.filter(function(g){return"number"===typeof t(g,29)&&0a||60NM[b][0],b===this.o&&(c=this.u),e=2E3=a);return{Zk:a,status:b,Xa:c,hb:d,Aa:e,zb:f}};k.ub=function(a){var b=a.status,c=a.Aa,d=a.zb;if(a.hb||c)"lcN5Wd"===b?rL(this,4329):"x5ghY"===b&&rL(this,4328);d&&pL(this,4330)}; k.ib=function(a){var b=a.status;a=a.Xa;null!==b&&b!==this.o&&(this.o=b,this.u=a)};k.Ua=function(a){return[a.Zk]};var OM={},NM=(OM.x5ghY=[-Infinity,0],OM.lcN5Wd=[0,Infinity],OM); var PM=function(a,b){Y.call(this,a,b,"realtime.media.stats.emitters.monitors.screensharesent.FractionLostMonitor",{name:"recentScreenshareSentFractionLost",Ya:["Time Since Call Start","Fraction Lost (%)"]});this.o=X();this.reset()};C(PM,Y);k=PM.prototype;k.reset=function(){this.G=0;this.u="lcN5Wd";this.o=X();qL(this);sL(this)}; k.Ra=function(a,b){var c=X();if(10>b)return this.o=c,null;a=Math.max.apply(Math,y(a.map(function(l){return t(l,2)})));if(0>a||100b)return this.o=c,null;a=a.map(function(h){return[h,QF(h)]}).filter(function(h){h=x(h);h.next();return!!h.next().value}).map(function(h){var l=x(h);h=l.next().value;l=l.next().value;return{delay:t(h,89),Nf:l.Yf}}).filter(function(h){var l=h.delay;h=!!h.Nf;return"number"===typeof l&&0l&&h}).map(function(h){return Math.min(h.delay,h.Nf)});a=Math.max.apply(Math,y(a).concat([-1]));if(0>a)return null;b=hL(UM,a);var d=c,e=!1,f=!1,g=!1;null!==b&&(e=UM[this.u][0]< UM[b][0],b===this.u&&(d=this.o),f=1E4e?lb(1E3).then(G(a.Lb,a,h,l,b,c,e+1)):a.mb(b,c,d,234):(h=Pa(c.F).ma(),a.Pa.resolve(c),a.Wa.resolve(d),a.g(c),a.g(d),a.Yc=f.sources,oN(a,b,h,l),c.start(void 0,f.Fp),d.start(void 0,f.Xb))}; LN.prototype.mb=function(a,b,c,d){this.Og();1==this.u&&lN(this,0);eb(b);eb(c);a.reject(new wN(PN(this,d),d))};LN.prototype.Na=function(){var a=this;return Object.assign(gN.prototype.Na.call(this),{hangout:function(){return a.J.get()&&a.J.get().ya()},participants:function(){return a.Xb.get()&&a.Xb.get().ya()},mediaSources:function(){return a.sources.get()&&a.sources.get().ya()}})}; var nN=function(a){var b=uA(a.ra,a.l,a.Za.get());a.g(b);a.Eb.resolve(b);b.start(void 0,a.Yc);sy(b.onChange,function(c){return QN(a,c.Xd)},a);return a.Qc()?yN(a.Ca.get(),a.ua.M.concat().map(function(c){return c.l}),a.ua):gK(a.Ca.get(),b,a.Xb.get(),a.ua.M.concat().map(function(c){return c.l}),a.ua)};LN.prototype.Qc=function(){return!1}; LN.prototype.Fb=function(a,b){var c=this;this.V=b;this.H.cookie=this.l.l.o.g;var d=Vc();if(a&&!this.qa){d=new an;d.H(this.Za.get());d.G(this.Ca.get());var e={};e=(e.jYdIne=b,e);d=this.Xb.get().remove(d,e,2).then(this.Og,null,this)}xk(d,function(){c.l.l.o.g=null;gN.prototype.Fb.call(c,a,b)});Xf(this.O,eb);eg(this.O);d=new rN(b);this.Pa.reject(d);this.Wa.reject(d);this.Eb.reject(d);null!=this.J.get()&&this.J.get().stop();null!=this.Xb.get()&&this.Xb.get().stop();null!=this.sources.get()&&this.sources.get().stop()}; LN.prototype.ab=function(a){if(3==this.u||4==this.u)return!1;var b=this.O[a.l.lb];if(b&&b.u.includes(a))return!1;b||(b=new YC(this),this.O[a.l.lb]=b);b.listen(a.l,["X","Y","Z","$"],b.O);b.u.push(a);$C(b);return gN.prototype.ab.call(this,a)};var hN=function(a){return Ee(function(b){return b.return(nb(a.ra,iK).then(function(c){return function(){return c(a)}}))})};k=LN.prototype;k.Co=function(){var a=this,b;return Ee(function(c){b=new ky(a);return c.return(new JN({fg:my(b),ik:function(){return Xc("unsupported")}}))})}; k.Ao=function(){var a=this,b,c,d,e;return Ee(function(f){b=new ky(a);c=function(){return Promise.reject("Unsupported")};d=function(){return Promise.reject("Unsupported")};e=function(){return Promise.reject("Unsupported")};return f.return(new GN({Ar:my(b),qk:c,Kl:d,kn:e}))})};k.Bo=function(){var a=this;return Ee(function(b){return b.return(nb(a.ra,jK).then(function(c){return c(a)}))})};k.Og=function(){null!=this.xa&&kj(this.xa);null!=this.qb&&kj(this.qb)}; k.Cm=function(){this.Og();var a=t(this.l.g,12),b=null!=this.V?this.V:63;if(null!=a){var c=new kp;m(c,5,b);var d=new ip;d.G(this.H.Za);Rc(this.H.Ca)||d.H(this.H.Ca);lp(c,[d]);c.setRequestHeader(uN(this));d=new V;R(d,3,this.H.cookie||this.l.l.o.g);c.T(d);c=c.sa();d=(this.Ia?this.Ia.O(this):[]).map(function(f){return f.sa()});if(null!=navigator.sendBeacon){var e=new URLSearchParams;e.append("r",c);d.forEach(function(f){e.append("l",f)});this.qa=navigator.sendBeacon(a,e)}this.qa||(a=vl(a,"r",c),a=vl(a, "l",d),c=Vv.g(),c.open("GET",a,!1),c.send(null));this.qa=!0}this.disconnect(b)}; var PN=function(a,b){var c=null,d=null;try{c=b.response.td,d=c[0]}catch(f){}var e;"chparp"===d?(b=new Eo(c),(c=b.getResponseHeader())&&(e=10==c.pb()?RN[t(b,4)]||209:SN[c.pb()])):"number"===typeof b&&(e=b);return void 0!==e?e:63==a.V||3==a.u||4==a.u?219:302},QN=function(a,b){var c=a.Ca.get(),d=b.filter(function(f){return f.Y()===c}),e=(b=a.ua.M.concat().find(function(f){return"a"===f.l.Ba}))&&b.l.lb;if(d=(d=e&&d.find(function(f){return f.va()===e}))&&n(d,Qn,6)&&t(n(d,Qn,6),1))b.mute(),W(a.Ne,{jy:d}), a.logImpression(990)},RN={1:200,2:201,3:202,4:206,5:207,6:209,7:216,11:223,17:235,12:236,13:237,14:238,15:239,16:240},SN={1:0,2:307,3:303,4:217,5:305,6:307,7:307,8:306,11:217}; var TN={Zb:100,prefix:"//ssl.gstatic.com/chat/sounds/hangout_dtmf_click_",mc:"9629c9a5b555e421de741170532c1142.wav"},UN={Zb:4E3,prefix:"//ssl.gstatic.com/chat/sounds/outgoing_ring_",Dq:"126f6dbefdd6eddc45a6205747c25fab.mp3",Nq:"08d6076c4e21ce2f30d739a53ef1c609.ogg",Rx:!0}; var VN=function(a,b,c){v.call(this);this.G=a.get(PK);this.L=this.G.al();this.l=b;this.o=!1;this.H={};this.u=null;this.F=Vc();c.then(this.br,this.dr,this)};C(VN,v);k=VN.prototype;k.Z=function(){WN(this,null);v.prototype.Z.call(this)};k.br=function(){this.l.Xb.then(this.Ss,void 0,this)};k.dr=function(){this.l.disconnect(15);this.dispose()};k.Ss=function(){var a=this;this.l.F.then(this.dispose,this.dispose,this);sy(this.l.Xb.get().onChange,function(){return XN(a)},this);this.Wm();XN(this)}; k.Wm=function(){var a=this;xk(oA(this.l.Xb.get()),function(){a.K()||Hk(a.Wm,2E3,a)})}; var XN=function(a){var b=0,c=!1;a.l.Xb.get().get().forEach(function(d){switch(pi(d,17,0)){case 20:YN(a,d);break;case 22:YN(a,d);break;case 21:c=!0;YN(a,d);break;default:Sc(d,18,!1)&&b++}});1this.o)if(a)this.o=b,IO(this,a);else throw Error("pa");GO(this)}};var KO=z(["session query returned error, stopping sync"]),LO=z(["ignoring session query error"]);wO.prototype.M=function(a){if(null!=this.l){var b=a instanceof rO?a:new rO(""+a);switch(b.status){case 4:case 5:case 7:case 11:Qd(this.N,a).Sa(KO);AO(this);this.P(new MO(b.status,b.g));break;default:Qd(this.N,a).U(LO),GO(this)}}}; var NO=z(["not syncing, ignoring session push"]),OO=z(["removed by session push"]),PO=z(["session push with no version, have ",""]),QO=z(["session push provided version ",", have ",""]),RO=z(["modified by session push"]),SO=z(["resync requested by session push"]); wO.prototype.I=function(a){var b=this;if(null!=this.l)if(a=a.notification,a.oc().some(function(e){return e.G()==b.l}))this.N.info(OO),AO(this),this.P(new MO(11,"session removed"));else{var c=a.$();c=c&&c.Qb();if(void 0===c)this.N.info(PO,this.o);else if(this.N.info(QO,c,this.o),!(c<=this.o)){var d=a.Ib().find(function(e){return e.G()==b.l});null!=d&&(this.N.info(RO),this.o=c,IO(this,d));null!=t(a,4)&&a.Kb().G()==this.l&&(this.N.info(SO),DO(this))}}else this.N.info(NO)}; var TO=new Mi("qb"),UO=new Mi("rb"),MO=function(a,b){T.call(this,TO);this.status=a;this.message=b};C(MO,T);var HO=function(a){T.call(this,UO);this.g=a};C(HO,T); var VO=function(a,b,c){S.call(this);var d=this;this.L=a;this.I=b;this.N=new Md("realtime.media.api.a.BulkJoinProcessor");this.u=c;this.l=null;this.o=new Promise(function(e){return d.J=e});this.H=new Promise(function(e){d.G=e});this.F=!1};C(VO,S); var WO=z(["Connecting Bulk Join Handler for ",""]),XO=z(["Disconnecting Bulk Join Handler for ",""]),YO=z(["Set sessionId ",""]),$O=function(a,b){if(!a.l){a.N.info(WO,b);var c=sy(a.L,function(d){return ZO(a,d)},a);a.H.finally(function(){a.N.info(XO,b);xy(a.L,c)})}a.N.info(YO,b);a.l=b},aP=z(["Ignoring bulk join request for "," since we already are handling one."]),bP=z(["Adding session "," to bulk join for ",""]),cP=z(["Failed to get down streams!"]),dP=z(["Appending "," MediaStreamAdds to bulk join for ", ""]),eP=z(["Failed to get down streams!"]),fP=z(["We bulk joined a different hangoutId! Session had "," and bulk join was for ",""]),gP=z(["Bulk join complete. UpStreams: ",". DownStreams: ","."]),ZO=function(a,b){var c=b.Go,d=b.no,e,f,g,h,l,q,r;return Ee(function(w){switch(w.g){case 1:e=bz(c);if(!e)return w.return();f=e;if(a.F)return a.N.U(aP,f),w.return();a.N.info(bP,a.l,f);a.F=!0;g=d(uo(new so,mo(oo(no(new lo,a.l),f),1))).then(hP).catch(function(B){Qd(a.N,iP(B)).Sa(cP)});h=new Promise(function(B){a.N.info(dP, a.u.length,f);a.u.length?B(jP(a,d,f)):B(d(uo(new so,mo(oo(no(new lo,a.l),f),2))).then(hP).catch(function(A){Qd(a.N,iP(A)).Sa(eP)}))});return D(w,a.o,2);case 2:return l=w.l,f!==l?D(w,h,7):D(w,h,5);case 5:return q=w.l,D(w,g,6);case 6:r={Fn:q,Ok:w.l};a.N.info(gP,kP(r.Fn),kP(r.Ok));a.G(r);w.La(0);break;case 7:a.N.Sa(fP,l,f),a.G({}),w.g=0}})},lP=z(["Failed to add streams! Pushing streams back ","."]),jP=function(a,b,c){var d=a.u.concat(),e=d.map(function(f){f=RC(a.I,a.l,c,f);m(f,6,void 0);return f});a.u.length= 0;return b(to(new so,ko(new jo,e))).then(function(f){var g,h,l;return Ee(function(q){if(1==q.g)return D(q,a.o,2);g=q.l;if(c!==g)throw Error("qa");h=n(f,So,3);if(!h||!az(h))throw Error("ra");l=$y(h);return q.return({version:l,data:u(h,$n,4)||[]})})}).catch(function(f){Qd(a.N,iP(f)).Sa(lP,d.length);a.u.unshift.apply(a.u,y(d))})},mP=z(["Set hangout id: ",""]),nP=z(["Bulk never occurred before session finalization."]),oP=function(a){return Ee(function(b){a.F||(a.N.info(nP),a.F=!0,a.G({}));return b.return(a.H)})}, hP=function(a){a=n(a,Uo,4);if(!a)throw Error("sa");if(!az(a))throw Error("ta");var b=$y(a);if(null!=b)return{version:b,data:u(a,$n,2)||[]};throw Error("ua");},kP=function(a){return a?a.data.length+" items ("+a.version+")":"NONE"},iP=function(a){return a instanceof Error?a:Error(""+a)}; var pP=!1; var qP=function(a){a=[[1300,t(a,2)],[1301,t(a,3)],[1302,t(a,4)],[1303,t(a,5)],[1304,t(a,6)],[1305,t(a,7)],[1306,t(a,8)],[1307,t(a,9)],[1308,t(a,10)],[1309,t(a,11)],[1310,t(a,12)],[1311,t(a,13)]].map(function(b){var c=x(b);b=c.next().value;c=c.next().value;return Au(zu(new yu,b),c)});return Du(a)}; var SC=new BC,rP=z(["sessionId=",""]),tP=function(a,b,c,d){var e=d.Ko;d=d.Jc;AE.call(this);var f=this;this.N=null;this.G=RD(new Md("realtime.media.api.apiary.RemoteSession"),function(g){return g(rP,DI(f))});this.$a=a;this.O=b;this.mb=d;this.za=this.o=this.Da=this.l=null;this.Rg=e;this.I=new Za(a);this.ia=sP(b,d);this.F=this.u=null;this.ha=uk();this.ta=[];this.ab=!1;this.xa=new v(this);this.g(this.xa);this.M=c;this.g(this.M);this.H="INITIAL";this.wa=new Set;this.S=[];this.R=[];this.X=new Map;this.J= new Map;this.aa=new Map;this.qa=new Map;this.Wa=new Map;this.bb=new Map;this.Ia=uk();this.oa=uk();this.Pa=new Set;this.xb=nb(a,Qx);this.V=new VO(this.O.l.O,SC,this.S);this.g(this.V);ED(this,{mediaSessionStartTime:function(){return(new Date(f.kb)).toString()},mediaUpStreams:function(){return f.u&&f.u.ya()},mediaDownStreams:function(){return f.F&&f.F.ya()}})};C(tP,AE);var uP=z(["state changed "," -> ",""]),TG=function(a,b,c,d){a.H!=b&&(a.G.info(uP,a.H,b),a.H=b,a.P(new sD(b,c,d)))};tP.prototype.ja=function(){return this.H}; tP.prototype.dl=function(){return this.ha.ca.then(function(a){return a.G?a.G.ca:Vc(a.get())})}; var xP=function(a,b,c,d){null==a.u&&(a.u=a.Oa(c,b),a.g(a.u),sy(a.u.Wa,function(e){var f=e.Hb;a.G.Sa(vP,e.reason);a.stop(f)},a),a.u.start(void 0,d),sy(a.u.onChange,function(e){return wP(a,e.me,e.Xd,e.removed)},a))},SG=function(a,b){null==a.F&&(a.F=a.Na(b,""),a.g(a.F),sy(a.F.Wa,function(c){var d=c.Hb;a.G.Sa(vP,c.reason);a.stop(d)},a),sy(a.F.Eb,function(c){c=c.Gh;if(a.ab&&0!=c.length)if("INPROGRESS"==a.H)yP(a,c);else if("STARTING"==a.H||"STARTED"==a.H)a.R=Cf(a.R,c)},a),a.ha.resolve(a.F),Dz(a.F),sy(a.F.onChange, function(c){var d=c.me,e=c.Xd;c=c.removed;0>>0;switch(sd(d)){case 1:if(2===wr(d)){QF(d)||b.I.o(6642);var f=X(),g=t(d,10)||0;var h=b.Wa.get(e)||{Dn:0,Pi:new uD(0)};var l=0r?q|65536:q&-65537));r=KP(b,e);l=!r.Fi||l;q=!!wd(d, 59);if(g.isLive!=l||g.Uf!=q)g.isLive=l,g.Uf=q,g.ue&&(g.ue=f.g);var w=QF(d);w&&(w.K=r.cj,w.F=h,e=b.bb.get(e)||f,w.l=e,g.ue&&(w.u=l,w.Yf=f.g-g.ue,q&&LP(b,w.o,t(d,138)||0)))}}break;case 0:c.add(e)}})}};tP.prototype.vb=function(a){this.P(new kD(a.g))};tP.prototype.gb=function(a){switch(a.status){case 11:var b=25;break;default:b=15}this.stop(b,"ClientResponseStatus: "+a.status+" with desc: "+a.message)}; var MP=function(a,b){var c;(c=a.g!=b.g||a.Pb()!=b.Pb())||(a=a.Ab(),b=b.Ab(),c=null==a&&null==b?!1:null==a||null==b?!0:a.width!=b.width||a.height!=b.height);return c},LP=function(a,b,c){if(0=d.height||0>=d.width||!c.Pb())e=!1;var f=b.nh(),g=a.l,h=a.o,l=c,q=e;e=new $n;e.sh(f);e.oh(1);e.rh(g);e.qh(h);g=l.Y()||null;m(e,6,g);g=CC(l.da());m(e,2,g);g=l.va();m(e,7,g);g=new vn; m(g,2,q);h=l.Ab();null!=h&&(q=new nn,m(q,1,h.height),m(q,2,h.width),l=l.Pb(),m(q,3,l),R(g,3,q));R(e,9,g);a.G.info(YP,c,f);b=n(b,Qa,8);a.I.logImpression(5149);R(e,8,b);d&&b&&t(b,1)&&(b=t(b,1)[0]>>>0,null!=b&&(d={width:d.width,height:d.height,framerate:c.Pb()||void 0},(c=a.qa.get(b))?c.settings=d:(c={ue:0,isLive:!KP(a,b).Fi,Uf:!1,settings:d},a.qa.set(b,c)),a=76800this.g){var l=c-this.F,q=Math.max(d-this.K,0);l=this.H?l:l+q;h.fh=0this.g){d=a-this.g;var e=b-this.o,f=c-this.l;d={lj:0d.rd&&9!=d.rd&&(e=WR)}else if("AuthenticAMD"==d.sd)switch(d.Jf){case 4:case 5:case 6:e=WR}else"ARM"!=d.sd&&(e=WR);-1==d.Kf|| 0!=d.Lg&&1!=d.Lg||null==d.Kf||2==(d.Kf&2)||(e=WR);e==VR&&(e=("GenuineIntel"==d.sd&&!NR(d)||null!=d.gh&&YR[d.gh]?"GenuineIntel"!=d.sd||NR(d)?UR:null:TR)||e)}b=void 0===b?null:b;f=e.qf;null!=b&&f>b&&(f=b);b=new Aj(f,Math.floor(.5625*f));c=["jec",[[e.g.id,e.g.name,b.width,b.height,e.framerate]],{num_threads:-1,cpu_profile:e.l,apply_immediately:!0,force_reopen:!!c}];a.N.info(mS,Oj({Xk:d.Xk,Tm:d.Tm,Il:d.Il,Ak:d.Ak,Lg:d.Lg,Jk:d.Jk,Kk:d.Kk,Hk:d.Hk,sd:d.sd,Jf:d.Jf,rd:d.rd,Ik:d.Ik,Fk:d.Fk,Kf:d.Kf,Vk:d.Vk, um:d.um,platform:d.platform,gh:d.gh,zk:d.zk}));cS(a,c)},oS=z(["Unknown talk plugin message type: ",""]),pS=z(["Could not parse flute mediaInfo message: ",""]); bS.prototype.G=function(a){if(a=rj(a)){var b=a[0];if(!b)this.N.U(oS,b);else if("jmidata"===b||"jmidatav3"===b){b=a[2];var c=this.o;if("jmidatav3"==a[0])c=$Q(c.K,a);else if(c=c.F,null!=a&&a[2]&&a[3]){var d=new Gq;var e=a[6];null==e?e=0:(null!=e.cpu&&m(d,34,Math.round(e.cpu)),null!=e.bcpu&&m(d,92,Math.round(e.bcpu)),null!=e.gcpu&&m(d,94,Math.round(e.gcpu)),null!=e.tcpu&&m(d,35,Math.round(e.tcpu)),null!=e.cpus&&m(d,36,e.cpus),null!=e.t&&m(d,54,Math.round(e.t)),e=zQ(e.v));2!=e?c=null:(e=-1,"number"=== typeof a[3]?e=a[3]:"string"===typeof a[3]&&(e=parseFloat(a[3])),m(d,1,Math.round(e)),e=a[4],null!=e&&(vQ(c,e[0],d),yQ(c,e[1],d)),e=a[5],null!=e&&(CQ(c,e[0],d),CQ(c,e[1],d)),c=d)}else c=null;c?this.P(new qS(b,c)):this.N.U(pS,Oj(a))}}};bS.prototype.H=function(a){"unchanged"!==a.g&&"unknown"!==a.g&&this.P(new gS("a",a.K,a.g));"unchanged"!==a.o&&"unknown"!==a.o&&this.P(new gS("v",a.F,a.o))}; var rS=z(["Unknown talk plugin message type: ",""]),sS=z(["Got plugin msg: ",""]),tS=z(["Could not parse flute candidates message: ",""]); bS.prototype.I=function(a){var b;if(b=rj(a)){var c=b[0];if(c)switch("jai"!==c&&this.N.g(sS,Oj(b)),a=b[2],this.u.add(a),c){case "jai":if(null==b[4])b=new oQ(0,new Map);else{c=null!=b[3]?b[3]/5:void 0;null==c&&(c=0);b=b[4][1];null==b&&(b=[]);for(var d=new Map,e=0;e b.length?b=null:(c=pR(b[3],"groupid")||pR(b[3],"nick"),d=pR(b[3],"streamid")||pR(b[3],"name"),e=lR(b[3],"label",""),b=fR(b,4)||"",b=null==c||null==d||null==b?null:{Ca:c,vf:d,label:e,payload:b});b&&this.P(new wS(a,b.label,b.Ca,b.vf,b.payload));break;case "getdevicestate":this.P(new xS(new mQ(b)));break;case "jhb":c=LR(b,3);b=LR(b,4);this.P(new yS(a,c,b));break;case "latency-events":(b=4>b.length?null:lR(b[3][0],"key",""))&&this.P(new zS(a,b));break;case "jmiend":a=kR(b,"Unknown");b=gR(b,5,-1);this.P(new AS(a, b));break;case "ping":a=kR(b,"Unknown");cS(this,["pong",a]);break;case "jt":this.u.delete(a);c=this.o;fR(b,4);b=parseInt(b[3],10);b in c.u||(b=6);this.P(new BS(a,b));break;case "f-dead":this.P(new CS("57"));break;case "termall":this.u.clear();this.P(new DS(4));break;case "fe":a=kR(b,"Unknown");c=b[3];null==c&&(c="Unknown");b=b[4];this.P(new ES(c,a,b));break;case "share-result":a:{switch(b[4]){case 0:b="ub";break a;case 1:b="vb";break a}b="sb"}this.P(new FS(a,b));break;case "share-notify":(b=GR(b))&& this.P(new FS(a,b));break;case "jtr":a=kR(b,"Unknown");e=b[3].a;b=pR(e,"ufrag");c=pR(e,"pwd");d=lR(e,"fingerprint","");e=lR(e,"dtlsrole","");b&&c&&this.P(new GS(a,b,c,d||null,e||null));break;case "trstate":(b=this.o.I.parse(b))&&this.P(new HS(a,b))}else this.N.U(rS,c)}};var IS=z(["Unknown talk plugin message type: ",""]);bS.prototype.J=function(a){(a=a.json)&&(a[0]||this.N.U(IS,Oj(a)))}; var JS=z(["Sent plugin msg: ",""]),cS=function(a,b){a.N.g(JS,Oj(b));a=a.l;"jn"==b[0]&&a.P("b");dl(a,b)},uS=function(a,b){T.call(this,"xb");this.sessionId=a;this.g=b};C(uS,T);var wS=function(a,b,c,d,e){T.call(this,"yb");this.sessionId=a;this.label=b;this.Ca=c;this.vf=d;this.payload=e};C(wS,T);var xS=function(a){T.call(this,"zb");this.g=a};C(xS,T);var ES=function(a,b,c){T.call(this,"Cb");this.errorCode=a;this.sessionId=b;this.g=c};C(ES,T);var DS=function(a){T.call(this,"Bb");this.Hb=a};C(DS,T); var CS=function(a){T.call(this,"Db");this.errorCode=a};C(CS,T);var yS=function(a,b,c){T.call(this,"Eb");this.sessionId=a;this.g=b;this.o=c};C(yS,T);var zS=function(a,b){T.call(this,"Fb");this.sessionId=a;this.message=b};C(zS,T);var vS=function(a,b){T.call(this,"Gb");this.sessionId=a;this.g=b};C(vS,T);var AS=function(a,b){T.call(this,"Hb");this.sessionId=a;this.o=b};C(AS,T);var qS=function(a,b){T.call(this,"Ib");this.sessionId=a;this.Va=b};C(qS,T); var gS=function(a,b,c){T.call(this,"Ab");this.mediaType=a;this.muted=b;this.reason=c};C(gS,T);var FS=function(a,b){T.call(this,"Kb");this.sessionId=a;this.state=b};C(FS,T);var BS=function(a,b){T.call(this,"Lb");this.sessionId=a;this.Hb=b};C(BS,T);var GS=function(a,b,c,d,e){T.call(this,"Mb");this.sessionId=a;this.F=b;this.K=c;this.o=d;this.g=e};C(GS,T);var HS=function(a,b){T.call(this,"Nb");this.sessionId=a;this.g=b};C(HS,T); var KS=function(){dz.apply(this,arguments)};C(KS,dz);var LS=function(a,b){var c=new v(a);a.g(c);c.listen(b,"xb",a.l)};KS.prototype.l=function(a){var b=CF(new Map(a.g.g));this.P(new DF(a.sessionId,a.g.l,b))}; var MS=function(a,b,c,d){lF.call(this,b,d,1);this.F=c};C(MS,lF);MS.prototype.o=function(){return this.F}; var NS=function(a,b){kB.call(this,b);this.I=a;this.H=[];this.F=this.o=!1;this.M=null;this.O=new v(this);this.g(this.O);this.J=this.l.getContent();this.O.listen(this.l,"X",this.R);this.G("re")};C(NS,kB);NS.prototype.stop=function(){this.mute();"sc"!=this.l.getContent()?this.G("st"):this.G("nd");return!0};NS.prototype.Yi=function(){return this.M};NS.prototype.setConfig=function(a){this.M=a};var PS=function(a,b){a.G(b);OS(a)};NS.prototype.Bb=function(a,b){a=new MS(this.I,this,a,b);this.g(a);return a}; NS.prototype.X=function(a){this.H.push(a);this.I.mute("",a,this.l.Ba,"user",this.o)};NS.prototype.xa=function(a){zf(this.H,a)};NS.prototype.tc=function(){QS(this,this.o,"user")};var RS=function(a){return 0==a.H.length?null:sf(a.H,function(b){return"default-settings-session-id"!=b&&a.I.u.has(b)})};NS.prototype.mute=function(){if("st"==this.u)return!1;this.o=!0;"sc"!=this.l.getContent()?QS(this,!0,"user")||(this.F=!0,OS(this)):(this.F=!0,this.P("da"));return!0}; NS.prototype.hm=function(){"st"!=this.u&&(this.F=this.o=!1,OS(this),"sc"!=this.l.getContent()&&QS(this,!1,"user"))};NS.prototype.start=function(){};NS.prototype.isMuted=function(){switch(this.u){case "nd":case "ad":case "fa":return!0;default:return this.F}};var QS=function(a,b,c){for(var d=a.l.Ba,e=0b&&(a=2,b=4294967295);this.g=a;this.o=b},XT=function(a){for(var b=a.o-a.g+1,c=Math.floor(a.g+b*Math.random()),d=0;a.l.has(c);)if(c=b)return null;a.l.add(c);return c}; var rU=function(a){OK.call(this,a);var b=this;this.N=new Md("realtime.media.api.flute.Delegate");this.H=null;nb(this.ra,ob,!0).then(function(c){c.g.then(function(d){b.H=d})});this.o=this.K=this.g=null;this.u=new KS;this.L=new QR;this.F=!1;this.G=nb(this.ra,Rx)};C(rU,OK);k=rU.prototype; k.initialize=function(a){var b=this;if(!this.o){sU(this,6267);var c=uk();this.o=c.ca;this.o.then(function(){sU(b,6268)},function(){b.o=null;sU(b,6269)});var d=this.ra.get(Ud).l,e=[new dU(d,"application/googletalk","version")];a.checkO1d&&e.push(new dU(d,"application/o1d","frameCount"));e.some(function(f){return f.Ei()})?(this.l.zd(3),c.resolve(3),rk(e).then(function(){return tU(b,c,a)})):tU(this,c,a)}return this.o};k.Yd=function(){return!!this.g}; k.di=function(){if(this.Yd()){var a=this.ra.get(Ud).l;return new kU(a)}return null};k.ei=function(){return this.g?new TS(this.g,this.L):null};k.fi=function(){return this.K};k.Vi=function(a,b,c){if(!this.g)return null;a=new PT(a,b,this.g,new qU,null,c);uU(this);vU(this,a);return a};k.Wi=function(){return this.g?new cU(this.g,this.u):null};k.Xi=function(){if(!this.g)return null;var a=new Ls,b=dS(this.g).l;R(a,7,b);b=fS(this.g);R(a,8,b);return a}; var sU=function(a,b){a.G.then(function(c){c.logImpression(b)})},yU=function(a,b){if(a.g){var c=4<=(t(fS(a.g),6)||1)?wU:xU;cS(a.g,["setcalloptions",UE(b),b.Bc(),{video_process_adaptation_threshhold:c.process,video_system_low_adaptation:c.An,video_system_high_adaptation:c.zn}])}},tU=function(a,b,c){nb(a.ra,mz,!0).then(function(d){var e={appName:t(d.g,3),buildLabel:t(d.g,4),allowConcurrentSessions:"true",cams:Tc(u(d.xe(),Ou,3))},f=t(d.g,15)||[];f=f.concat(zU.filter(function(g){return!f.includes(g)})); d=iU(hU.ic(),a.ra,kz(d),e,f);d.initialize();AU(a,d,b,c)})},uU=function(a){nb(a.ra,XD).then(function(b){b.aa();a.g&&(a.g.F=b)})},BU=function(a){a.F||(a.F=!0,nb(a.ra,BG,!0).then(function(b){return b.L(a.u)}))},vU=function(a,b){switch(b.ja()){case "STARTED":case "INPROGRESS":yU(a,b);break;case "STOPPED":case "FINISHED":break;default:b.K()||aj(b,"wa",function(){return vU(a,b)})}},AU=function(a,b,c,d){switch(b.u){case 1:var e=function(g){jm(b,pi(g.xe(),1,"3.17.0.0")||"0")?(ND(PD(),new $T(b)),a.g=new bS(b), LS(a.u,a.g),BU(a),nS(a.g,Qc(d)),a.l.zd(7),c.resolve(7),DD(CD.ic(),"fluteVersionInfo",function(){return Oj(Vl(b))}),a.K=new HT(a.ra,a.g.l.J)):(a.l.zd(1),c.reject(1))},f=a.l.l;f?e(f):a.l.G.then(e);break;case 4:a.l.zd(1);c.reject(1);break;case 2:a.l.zd(2);c.reject(2);break;default:b.Ei()&&a.l.zd(3),aj(b,"l",function(){return AU(a,b,c,d)})}};MK(rU,4);var xU={process:.1,An:.65,zn:.85},wU={process:.1,An:.75,zn:.9},zU="bpd cc gii hc hem hmb hre hvr jdv3 mef msv ols poc ric spar tl tm wv wvlm".split(" "); var CU=function(a,b){this.N=new Md("realtime.media.api.webrtc.AudioDeviceLogger");this.K=Vc(nb(b,Rx));this.o=a;this.l=null;this.g="";var c=new eA(this.u,5E3,this);a.listen(AK,function(){return c.wi()});c.wi()},DU=z(["Audio devices are on "," (",")"]); CU.prototype.u=function(){var a=this.o.l("ai"),b=this.o.l("ao");if(a&&a!=uK&&a.groupId&&a.displayName&&b&&b!=uK&&b.groupId&&b.displayName){var c=a.groupId==b.groupId,d=c?3405:3406;a="mic: "+a.displayName+" speaker: "+b.displayName;if(d!==this.l||a!==this.g)this.l=d,this.g=a,EU(this,d,a),this.N.info(DU,c?"same groupId":"different groupIds",a)}};var EU=function(a,b,c){a.K.then(function(d){d.logImpression(b,{Nb:c})})}; var FU=function(a,b){T.call(this,"Ob");this.sessionId=a;this.g=new Map(b)};C(FU,T); var HU=function(a,b,c){lF.call(this,a,c,1);var d=this;this.F=b;this.H=new v;this.g(this.H);this.H.listen(this.l,"fa",function(){var e=d.l.Oa(d.F);null!=e&&d.P(new GU(d.F,e))})};C(HU,lF);HU.prototype.o=function(){return this.F};var GU=function(a,b){T.call(this,"Pb");this.sessionId=a;this.stream=b};C(GU,T); var IU=function(a){this.deviceId=a.F;this.o=a.g;this.groupId=a.G;this.u=a.o;this.Eg=a.K};IU.prototype.Zd=function(a){return a===this?!0:a&&this.deviceId===a.deviceId?Jh?!0:"default"===this.deviceId||"communications"===this.deviceId?this.o===a.o&&this.groupId===a.groupId:!0:!1};IU.prototype.toString=function(){return"MediaSettings(deviceId="+this.deviceId+",deviceLabel="+this.o+",groupId="+this.groupId+")"}; IU.prototype.Fe=function(a){return void 0===a||a?{deviceId:{exact:this.deviceId}}:{mandatory:{sourceId:this.deviceId},optional:[]}};IU.prototype.$d=function(){return new JU(this)};var JU=function(a){this.F=a?a.deviceId:null;this.g=a?a.o:null;this.G=a?a.groupId:null;this.o=a?a.u:null;this.K=a?a.Eg:0};JU.prototype.W=function(){return new IU(this)};JU.prototype.Ej=function(a){this.F=a;return this};var KU=function(a,b){a.K=b;return a},LU=function(a,b){a.g=b;return a}; JU.prototype.He=function(a){this.G=a;return this}; var MU=z(["",""]),PU=function(a,b,c){kB.call(this,b);var d=this;this.o=WD(RD(new Md(this.Na()),function(e){return e(MU,d)}));this.Oc=new ky(this);this.ra=a;this.Pc=nb(a,Rx);this.F=c;this.H=this.M=this.R=this.za=null;this.J=new Set;this.ia=new Map;this.O=this.ta=!1;this.ab=null;this.Pa=this.Da=!1;this.Db=this.Fb=this.Eb=this.ha=null;this.Wa=this.vb=!1;this.Yc=this.Oc.signal();this.Lb=ac(tb("nlZjzc"));this.qa=new Set;this.mb=[];this.wa=[];this.S=new NU;OU(this)};C(PU,kB);PU.prototype.Na=function(){return"realtime.media.api.webrtc.Capture"}; PU.prototype.Z=function(){this.stop();QU(this,null);this.J.clear();this.ab=null;eb(this.S);kB.prototype.Z.call(this)};PU.prototype.toString=function(){return"Capture(source="+this.l+" muted="+this.ta+" paused="+this.O+" deviceState="+this.u+" stream="+(this.H?this.H.id:null)+")"}; var RU=z(["Stopping stream with id=",""]),SU=function(a,b){b&&(a.o.info(RU,b.id),y(b.getAudioTracks()).concat(y(b.getVideoTracks())).forEach(function(c){lj(c);c.stop()}))},TU=z(["Starting media."]),VU=function(a){a.o.info(TU);a.Wa=!0;a.G("re");UU(a).then(Sf(a))},WU=function(a,b,c,d){a.bb(b,void 0===c?null:c,void 0===d?null:d)},XU=z(["Setting deviceId="," groupId=","."]); PU.prototype.bb=function(a,b,c,d){b=void 0===b?null:b;c=void 0===c?null:c;d=void 0===d?null:d;this.o.info(XU,a,c);null===a||a===uK.id?this.G("nd"):"nd"===this.u&&this.Wa&&this.G("re");d||(d=this.F);return YU(this,LU(d.$d().Ej(a),b).He(c).W()).then(Sf(this))};var ZU=z(["Updating device state to: ",""]);PU.prototype.G=function(a){this.o.info(ZU,a);var b=this.isMuted();kB.prototype.G.call(this,a);"nd"===a&&QU(this,null);this.isMuted()!==b&&($U(this),this.$a(this.isMuted()))}; PU.prototype.getDeviceId=function(){return this.F.deviceId};PU.prototype.Yi=function(){return this.ab};PU.prototype.setConfig=function(a){this.ab=a};var aV=function(a,b){return a.H?a.ia.get(b)||null:null};PU.prototype.Oa=function(a){return this.Lb?this.pa():aV(this,a)};PU.prototype.pa=function(){return this.H};var bV=function(a){return[a.H].concat(y(a.ia.values())).filter(Boolean)};PU.prototype.Bb=function(a,b){return new HU(this,a,b)}; var cV=z(["Registering sessionId=","."]),dV=z(["Called registerSession() twice with the same sessionId='","'"]);PU.prototype.X=function(a){this.o.info(cV,a);0===this.J.size&&this.resume();if(this.J.has(a))throw this.o.Sa(dV,a),Error("ya`"+a);this.J.add(a);this.H&&this.oa(a,this.H)};var eV=z(["Unregistering sessionId=","."]); PU.prototype.xa=function(a){this.o.info(eV,a);this.J.delete(a);var b=aV(this,a);this.Cb()&&b?(b.getTracks().forEach(function(c){return c.enabled=!1}),this.mb.push(b)):SU(this,b);this.ia.delete(a);this.qa.delete(a);0>=this.J.size&&this.pause()};PU.prototype.Cb=function(){return!1};PU.prototype.tc=function(){};var fV=z(["Stopping."]);k=PU.prototype;k.stop=function(){if("st"===this.u)return!1;this.o.info(fV);QU(this,null);this.Wa=!1;this.J.clear();this.G("st");return!0}; k.mute=function(){if("st"==this.u)return!1;gV(this,!0);return!0};k.hm=function(){"st"!=this.u&&gV(this,!1)};k.start=function(){VU(this)};k.isMuted=function(){switch(this.u){case "nd":case "ad":case "fa":return!0;default:return this.ta}};var hV=z(["Setting mute state to mute=","."]),gV=function(a,b){a.o.info(hV,b);var c=a.isMuted();a.ta=b;c!=b&&(a.$a(b),$U(a),a.P("da"))};PU.prototype.$a=function(a){a?QU(this,null):UU(this)};var iV=z(["Pausing."]); PU.prototype.pause=function(){this.O||"st"==this.u||(this.o.info(iV),this.O=!0,QU(this,null))};var jV=z(["Resuming."]);PU.prototype.resume=function(){this.O&&"st"!=this.u&&(this.o.info(jV),this.O=!1,UU(this))}; var kV=z(["Update source state from "," to ",""]),$U=function(a){var b=a.l.Ad(),c=a.isMuted()?"mu":"li";b!==c&&(a.o.info(kV,b,c),JA(a.l,c))},lV=z(["Skipping update usermedia while device in state=","."]),mV=z(["Skipping update usermedia because capture is paused."]),nV=z(["Skipping update usermedia because capture is muted."]),oV=z(["Skipping update usermedia because settings were unchanged and the track has not failed."]),pV=z(["Attempting to update usermedia with null constraints."]),qV=z(["Skipping update usermedia with empty constraints."]), rV=z(["Attempting to update usermedia with id="," settings="," constraints=","."]),sV=z(["During update usermedia with id="," capture settings changed to ","."]),tV=z(["During update usermedia with id="," capture was muted."]),uV=z(["Update usermedia success with id=","."]),vV=z(["Error during update usermedia call with id="," constraints=",": ","."]),wV=z(["Ignore getUserMedia failure with id="," as we are still in the failure delay period."]),xV=z(["Unexpected getUserMedia failure with id=",". Delaying transitioning capture to failure."]), yV=z(["getUserMedia still has not succeeded after delay. About to make one final explicit attempt."]),zV=z(["Clearing pending getUserMedia request with id=","."]),UU=function(a,b,c){b=void 0===b?!0:b;c=void 0===c?!1:c;if(a.R)return ib(a.R,Re).then(function(){return UU(a,b,c)});var d=a.u;"fa"!=a.u&&"ad"!=a.u||a.G("re");if("re"!=a.u)return a.o.info(lV,a.u),Vc();if(a.O)return a.o.info(mV),Vc();if("re"==d&&a.kb()&&a.ta)return a.o.info(nV),Vc();if(a.H&&a.za&&a.za.Zd(a.F)&&!a.Da)return a.o.info(oV),Vc(); if(a.F.u)return a.F.u==a.M?Vc():a.aa(a.F.u);var e=AV(a);if(!e)return a.o.Sa(pV),Xc("Attempting to update usermedia with null constraints.");if(dg(e))return a.o.info(qV),Vc();var f=a.F;if(a.xb()||c)QU(a,null),BV(a,null);a.za=f;var g=CV++;a.o.info(rV,g,a.F,F.JSON.stringify(e));var h=a.l.Ba;DV(a,h);a.R=Yc(e).then(function(l){a.Db=null;a.vb=!1;"a"==h?a.logImpression(4800):"v"==h&&a.logImpression(4797);EV(a);a.O||!a.F.Zd(f)||"st"===a.u?(a.o.info(sV,g,a.F),SU(a,l)):a.kb()&&a.ta?(a.o.info(tV,g),SU(a,l)): (a.o.info(uV,g),a.aa(l))},function(l){a.o.U(vV,g,F.JSON.stringify(e),l);l&&(a.Db=l,FV(a,h,l.name));Gc(l)?(EV(a),a.vb=!0,"a"==h?a.logImpression(5802):"v"==h&&a.logImpression(5803),a.G("ad")):wc(l)?(EV(a),a.G("ad")):xc(l)&&b?null!==a.ha?a.o.U(wV,g):(a.o.U(xV,g),a.za=null,a.ha=setTimeout(function(){a.ha=null;a.o.U(yV);a.logImpression(4578);UU(a,!1,c)},2E3)):a.G("fa");throw l;});GV(a,a.R);xk(a.R,function(){a.o.info(zV,g);a.R=null});return a.R},GV=function(a,b){var c=setTimeout(function(){W(a.Yc,void 0)}, 5E3);xk(b,function(){clearTimeout(c)})},HV=z(["Cancelling pending failure timer since getUserMedia eventually succeeded after delay."]),EV=function(a){null!==a.ha&&(clearTimeout(a.ha),a.ha=null,a.o.info(HV))};PU.prototype.kb=function(){return!0};PU.prototype.xb=function(){return!1}; var IV=z(["Return empty user media constraints with null deviceId."]),JV=z(["Invalid mediaType=","."]),AV=function(a){if(null==a.getDeviceId()||a.getDeviceId()===uK.id)return a.o.info(IV),{};var b={audio:!1,video:!1},c=a.l.Ba;switch(c){case "a":b.audio=a.F.Fe(a.uc());break;case "v":b.video=a.F.Fe();break;default:return a.o.Sa(JV,c),null}return b},KV=z(["getUserMedia success for stream=","."]),LV=z(["No media tracks for stream=","."]); PU.prototype.aa=function(a){var b=this;this.o.info(KV,a.id);kb();if(0==a.getAudioTracks().length&&0==a.getVideoTracks().length)return this.o.U(LV,a.id),Vc();QU(this,null);y(a.getAudioTracks()).concat(y(a.getVideoTracks())).forEach(function(c){bj(c,"ended",b.Qc,void 0,b);bj(c,["mute","unmute"],b.Ub,void 0,b)});MV(this,!1);QU(this,a);this.Ub();NV(this,a);OV(this,a);return Vc()};PU.prototype.Qc=function(){this.P("aa")};var MV=function(a,b){a.Da!==b&&(a.Da=b,a.P("ba"),a.Da&&a.Tb())};PU.prototype.Tb=function(){}; PU.prototype.Ub=function(){var a=PV(this);a!==this.Pa&&(this.Pa=a,this.P("ca"))};var PV=function(a){if(!a.M)return!1;a=y(a.M.getAudioTracks()).concat(y(a.M.getVideoTracks()));return 0!=a.length&&a.every(function(b){return b.muted})};PU.prototype.Hi=function(){return this.Pa};PU.prototype.Ia=function(a){var b=a.u;if(this.Lb&&b)if(a.g)this.qa.has(b)&&this.pa()&&(this.oa(b,this.pa()),this.qa.delete(b),this.P("fa"));else if(a=aV(this,b))SU(this,a),this.ia.delete(b),this.qa.add(b)}; var QV=z(["Capture's StreamTransformer threw while setting it's input stream."]),QU=function(a,b){if(b!=a.M){var c=a.M;a.M=b;try{a.S.G(b)}catch(d){throw Qd(a.o,d).Sa(QV),d;}finally{SU(a,c),a.mb.forEach(function(d){return SU(a,d)}),a.mb.length=0}}},RV=z(["Stream changed with new stream=","."]),BV=function(a,b){b!==a.H&&(a.wa.push.apply(a.wa,y(bV(a))),a.ia.clear(),a.qa.clear(),b?(SV(a),a.J.forEach(function(c){a.oa(c,b)})):TV(a),a.o.info(RV,b&&b.id),a.H=b,a.Sb(),a.P("fa"))};PU.prototype.Sb=function(){}; var UV=z(["UI call to release old streams timed out"]),SV=function(a){setTimeout(function(){0a?a/2E3:2E3>a?(a-1E3)/2E3+.5:3E3>a?(a-2E3)/2E3+1:4E3>a?(a-3E3)/2E3+1.5:6E3>a?(a-4E3)/4E3+2:1E4>a?(a-6E3)/8E3+2.5:15E3>a?(a-1E4)/1E4+3:19E3>a?(a-15E3)/8E3+3.5:22E3>a?(a-19E3)/6E3+4:32767>=a?(a-22E3)/21534+4.5:5}; var cW=function(a){S.call(this);this.l=null;var b=a;ed&&(b=this.l=a.clone(),b.getAudioTracks().forEach(function(c){return c.enabled=!0}));this.F=b};C(cW,S);cW.prototype.Z=function(){this.l&&(y(this.l.getAudioTracks()).concat(y(this.l.getVideoTracks())).forEach(function(a){a.stop()}),this.l=null);S.prototype.Z.call(this)};cW.prototype.stream=function(){return this.F}; var dW=function(a){cW.call(this,a);this.o=dd().createAnalyser();this.o.fftSize=2048;this.u=dd().createMediaStreamSource(this.stream());this.u.connect(this.o)};C(dW,cW);dW.prototype.Z=function(){this.u.disconnect();cW.prototype.Z.call(this)};var eW=function(a){var b=new Uint8Array(a.o.fftSize);a.o.getByteTimeDomainData(b);a=256*b.reduce(function(c,d){return Math.max(c,Math.abs(d-128))},0);return bW(a)}; var fW=z(["",""]),gW=function(a,b,c,d){U.call(this);var e=this;this.l=WD(RD(new Md("realtime.media.audio.AudioOutput"),function(f){return f(fW,e)}));this.O=d&&nb(d,Rx);0===a.getAudioTracks().length&&this.logImpression(6549);this.R=a;this.I=new v(this);this.g(this.I);this.volume=0;this.F=b?new dW(a):null;this.g(this.F);this.J=c};C(gW,U);gW.prototype.toString=function(){return"AudioOutput(stream="+this.R.id+", volume="+this.volume+")"};var hW=z(["Setting requested volume to ","."]); gW.prototype.setVolume=function(a){this.l.info(hW,a);this.volume=a};gW.prototype.pa=function(){return this.R};gW.prototype.V=function(){return Vc()};var iW=function(a,b){a.J=b;return a.V()};gW.prototype.Z=function(){this.setVolume(0);U.prototype.Z.call(this)};var jW=z(["Rebuilding."]);gW.prototype.G=function(){this.l.info(jW)};gW.prototype.logImpression=function(a,b,c){this.O&&this.O.then(function(d){d.logImpression(a,{Hc:b,Nb:c})})}; var kW=function(a,b){T.call(this,"playing_error");this.code=a;this.message=b};C(kW,T); var lW=function(a,b,c,d,e){gW.call(this,b,c,d,e);this.u=a;this.o=[];a=Kd(tb("AgRW1b"),0);this.X=Math.pow(10,-a/20);this.setVolume(1)};C(lW,gW);lW.prototype.toString=function(){return"HtmlAudioOutput(stream="+this.pa().id+", volume="+this.volume+", elements.length="+this.o.length+")"};var mW=z(["Lowering volume to ","."]); lW.prototype.setVolume=function(a){gW.prototype.setVolume.call(this,a);1>this.X&&(a*=this.X,this.l.info(mW,a));if(this.u){var b=Math.ceil(a)-this.o.length;if(0b){b=-b;this.l.info(nW,b);for(var c=0;cc.l()&&a.N.U(GW,c.start,c.end),a.o.get(b).push(c))};xW.prototype.F=function(){var a=this;this.u.forEach(function(b,c){b.forEach(function(d){BW(a,c,d)})})}; var CW=function(a){var b=0,c=0;a.forEach(function(d){b+=d.end.g-d.start.g;c+=d.end.timestamp-d.start.timestamp});return 0==c?null:b/c},DW=function(a){var b=[];a.forEach(function(g){g.o||(b.push({t:g.start.timestamp,c:1,i:g}),b.push({t:g.end.timestamp,c:-1,i:g}))});Lf(b);var c=0,d=0,e=-Infinity,f=[];b.forEach(function(g){var h=g.t,l=h-e;0=this.mf:this.F<=this.H)?(this.u=null,this.N.U(oX,this.l?"passive":"active")):this.u=Hk(this.L,this.l?this.S:this.V,this)}; var jd={audio:"a",video:"v",data:"d",application:"d"}; var ld=function(a,b){b=void 0===b?{}:b;this.u=a;this.o=b;this.F=[];this.J=new Set;this.H="ICE";this.G="full";this.K=null},md=function(a){if(a.K)return a.K;var b=Math.pow(2,53)*Math.random(),c=[];c.push(new eE("v","0"));c.push(new eE("o","- "+b+" 2 IN IP4 127.0.0.1"));c.push(new eE("s","-"));c.push(new eE("t","0 0"));b=a.o.In?pX(a):qX(a);0 Audio."),iF(hF(b,null),null)):b},SX=function(a,b,c){c||(c={});null==c.id&&(RX+=2,c.id=RX);return a.l.createDataChannel(b,c)};QX.prototype.close=function(){"closed"!=this.l.signalingState&&this.l.close();lj(this.l);this.l.onicecandidate=null;this.l.oniceconnectionstatechange=null;this.l.onaddstream=null;this.l.onremovestream=null;this.l.ondatachannel=null}; var TX=function(a,b){var c,d;return Ee(function(e){if(!LX(a))return a.l.addStream(b),e.La(0);c=b.getTracks()[0];d=a.l.getTransceivers().find(function(f){return("sendonly"==f.direction||"sendrecv"==f.direction)&&f.receiver.track.kind==c.kind});return D(e,d.sender.replaceTrack(c),0)})},UX=function(a,b){if(LX(a)){var c=b.getTracks()[0];a.l.getTransceivers().find(function(d){return d.sender.track==c}).sender.replaceTrack(null)}else a.l.removeStream(b)},VX=function(a){return a.l.getReceivers?a.l.getReceivers(): []},WX=function(a){return a.l.getSenders?a.l.getSenders():[]};QX.prototype.M=function(a){if(a=a.candidate)a.candidate?(a=Bb(a.candidate),this.P(new XX(a))):this.o.U("RTCIceCandidate.candidate had no value.")}; var YX=function(a,b){var c,d,e;return Ee(function(f){switch(f.g){case 1:return D(f,a.J,2);case 2:return re(f,3),D(f,a.l.createOffer(b),5);case 5:return c=f.l,d=Cb(c.sdp),a.H.resolve(ed&&fd(74)?d.session.sessionId:a.l.id),f.return(d);case 3:throw e=te(f),a.o.error("createOffer Failed: "+e),e;}})},ZX=function(a){return Ee(function(b){return 1==b.g?D(b,a.l.getStats(),2):b.return(b.l)})},$X=function(a){return Ee(function(b){return b.return(new Promise(function(c){return a.l.getStats(c)}))})},aY=function(a, b){b=pd(b);b=Vc(a.l.addIceCandidate(b));ib(b,function(c){a.o.U("addIceCandidate Failed: "+c)});return b},bY=function(a,b){var c=new RTCSessionDescription({type:"offer",sdp:uE(b)});b=Vc(a.l.setLocalDescription(c));ib(b,function(d){a.o.U("setLocalDescription Failed: "+d);a.o.U("The current signalingState is : "+a.l.signalingState);a.o.U("The offending SDP was: \n"+c.sdp)});return b.then(Re)},dY=function(a,b){var c=new RTCSessionDescription({type:"answer",sdp:uE(b)}),d=Vc(a.l.setRemoteDescription(c)); ib(d,function(e){a.o.U("setRemoteDescription Failed: "+e);a.o.U("The current signalingState is : "+a.l.signalingState);a.o.U("The offending SDP was: \n"+c.sdp);throw e;});d.then(function(){return cY(a,b)});return d.then(Re)},cY=function(a,b){var c=new Map;b.g.forEach(function(e){var f=e.g.get("mid").g;f&&(e=e.g.get("msid"),e.l&&(e=x(e.g.split(" ")).next().value,c.set(f,e)))});var d=new Map(a.F);a.l.getTransceivers().forEach(function(e){var f=e.mid;e=e.receiver.track;e.enabled&&f&&(f=c.get(f))&&(a.F.has(f)? d.delete(f):(e=new MediaStream([e]),a.F.set(f,e),a.P(new MX(e,f))))});d.forEach(function(e,f){a.F.delete(f);a.P(new NX(e,f))})},LX=function(a){return!ed||a.G()};QX.prototype.G=function(){return!1};var XX=function(a){T.call(this,"Rb");this.candidate=a};C(XX,T);var MX=function(a,b){T.call(this,"Sb");this.stream=a;this.g=b};C(MX,T);var NX=function(a,b){T.call(this,"Tb");this.stream=a;this.g=b};C(NX,T); var OX=function(a){return y(a.getAudioTracks()).concat(y(a.getVideoTracks())).forEach(function(b){return b.stop()})},RX=0; var eY=function(a,b,c){this.ea=a;this.g=b;this.H=c;this.N=new Md("realtime.media.api.webrtc.PeerNegotiator");this.o=this.qe=null;this.M=0;this.L=this.Cd=this.Ve=null;this.u=[];this.K=[];this.F=this.G=!1;this.l=[];this.J=!0},fY=z(["Negotiation (id=","): Starting."]),gY=z(["Negotiation (id=","): Successfully completed."]),jY=function(a){var b,c,d,e,f;return Ee(function(g){switch(g.g){case 1:b=a.M++;c=a.J;a.J=!1;d=a.L;a.N.info(fY,b);e=!0;if(!c){g.La(2);break}e=a.Cd;if(!LX(a.ea)){g.La(2);break}f=wC(sC(Kc(d, cC(Lc(d.na,[]),[])),cC(Lc(d.la,[]),[])),cC(Lc(d.Ha,[]),[]));return D(g,hY(a,b,f),4);case 4:e=!0;case 2:if(!e){g.La(5);break}return D(g,iY(a,b,d),5);case 5:return D(g,hY(a,b,d),7);case 7:a.N.info(gY,b),g.g=0}})},iY=function(a,b,c){var d,e,f,g,h;return Ee(function(l){switch(l.g){case 1:d=a.ea;re(l,2);e=null;f=a.F;a.F=!1;g=LX(a.ea)||f;if(!g){l.La(4);break}return D(l,kY(a,c,f),5);case 5:e=l.l;case 4:if(f){var q=Ib(e);a.Cd=xC(a.localDescription,q.g)}a.Cd&&(a.Ve=a.Cd,a.Cd=null);e=LX(a.ea)?lY(a,e):nd(a.Ve, a.qe);mY(a);return D(l,bY(d,e),6);case 6:a.qe=e;se(l,0);break;case 2:throw h=te(l),nY(a,"Failed to create or set local offer.",b,h),h;}})},lY=function(a,b){LX(a.ea)&&(gd||ed)&&a.g.ge&&(b=oY(b));ed&&fd(83)&&ac(tb("KXe7n"))&&(b=pY(a,b));return b},oY=function(a){var b=new qU;a.g.forEach(function(c,d){if("video"==c.mediaType&&c.Vf&&!c.g.get("ssrc-group").get("SIM").l){var e=c.g.get("ssrc-group").get("FID").g.split(" "),f=Array.from(c.K),g=[e[0],XT(b),XT(b)],h=[e[1],XT(b),XT(b)];f.push(fE("a=ssrc-group:SIM "+ g.join(" ")));var l=c.g.get("ssrc").get(e[0]).F;g.forEach(function(q,r){var w=h[r];0=a.L?c?lZ:mZ:c?nZ:oZ},qZ=function(a,b,c){var d=b.getParameters(),e=a.K.Kd;if(d.encodings&&0b||(b<=a.l&&a.N.U(b_,a.l,b),m(c,1,Math.round(b)),a.l=b)},c_=function(a){var b=null;a.forEach(function(c){(c=d_(c.timestamp))&&0=d-a.u.get(f)||(a.u.set(f,d),e.includes("audioOutputLevel")?c.audio=!0:e.includes("googFrameRateReceived")&&(c.video=!0))}}});return c},i_=function(a){return a.reduce(function(b,c){var d=-1;"VideoBwe"===c.type&&(c=c.stat("googAvailableSendBandwidth"),Rc(Rg(c))||(d=Math.round(Number(c))));return Math.max(b,d)},-1)},ZZ=function(a,b,c,d,e,f){SZ(b,c,a.M);var g=!1;g="mediaType"in b?"audio"===b.mediaType:"audioInputLevel"in b||"audioOutputLevel"in b||"googExpandRate"in b;var h="bytesSent"in b;if(!(f&&g&&h)||d||j_(a,b))if(!f||g||!h||!c||"screen"!==b.googContentType){var l=g?new Iq:(new PF).g;k_(b,l,h,g);g?l_(a,b,l,h):m_(b,l,h);var q=yr(l);null!=q&&a.O.forEach(function(r){return r.update(q,l)});n_(a,b,l,h);ti(e,2,l,Iq)}},k_=function(a,b,c,d){m(b,1,d?1:2);m(b,24,c?0:1);"number"===typeof a.ssrc&&(m(b,25,a.ssrc),m(b,53,[a.ssrc]));GQ(a,b,c)},o_=function(a,b,c){var d=0,e=0;b.forEach(function(f){f.has(a)&&(e+=f.get(a),d+=1)}); 0d},$Z=function(a){var b={};a.names().forEach(function(c){var d= a.stat(c);null!=d&&(isNaN(d)||"string"===typeof d&&Rc(d)||(d=Number(d)));b[c]=d});return b},p_=function(a,b){a.J.then(function(c){c.logImpression(4804,b)})},YZ={lan:1,vpn:11,wlan:2,wwan:5},f_="googExpandRate googSpeechExpandRate googPreemptiveExpandRate googAccelerateRate googSecondaryDecodedRate googSecondaryDiscardedRate".split(" "),d_=function(a){return"number"===typeof a?new Date(a):a}; var q_=function(a){this.N=new Md("realtime.media.api.webrtc.RtcStatsParser");this.G=a;this.H=new PQ;this.g=this.l=null;this.u=new Map;this.o=new Map;this.F=new Map;this.K=new Map},r_=z(["No valid timestamp for the stats: ",""]),s_=z(["Ignore report with timestamp prior to initial stats:\n ",""]),t_=z(["Ignore report with stale timestamp "," from "," of ",""]),B_=function(a,b,c){var d=u_(b);if(d)if(v_(a,d),d=w_(a),0>d)a.N.U(s_,x_(b));else{m(c,1,Math.round(d));d=x(b);for(var e=d.next();!e.done;e= d.next()){e=x(e.value);var f=e.next().value;e=e.next().value;f=e.id||f;var g=e.timestamp;g="number"===typeof g?g:g?g.getTime():0;if(g&&g==(a.F.get(f)||0))a.K.get(f)!=g&&(a.K.set(f,g),a.N.info(t_,g,f,e.type));else switch(a.F.set(f,g),y_[e.type]||e.type){case "candidate-pair":z_(a,e,c,b);break;case "inbound-rtp":case "outbound-rtp":A_(a,e,c,b)}}}else a.N.U(r_,x_(b))},D_=function(a,b,c){a=C_(a,b);c=x(hr(c));for(b=c.next();!b.done;b=c.next())if(b=b.value,null!=t(b,1)&&null!=t(b,24)&&null!=t(b,25)&&1=== sd(b)&&a.has(yr(b))){var d=a.get(yr(b));switch(wr(b)){case 1:var e=t(d,167)||0;m(b,167,e);e=ni(d,170)||0;m(b,170,e);e=t(d,171)||0;m(b,171,e);e=t(d,168)||0;m(b,168,e);e=t(d,165)||0;m(b,165,e);d=t(d,166)||0;m(b,166,d);break;case 2:d=t(d,130)||0,m(b,130,d)}}},C_=function(a,b){for(var c=new Map,d={},e=x(b.values()),f=e.next();!f.done;d={Bf:d.Bf},f=e.next()){var g=f.value;f=g;if("inbound-rtp"===(y_[g.type]||g.type)&&b.get(g.trackId)){var h=g,l=b.get(h.trackId);g=Number(g.ssrc);d.Bf=new Iq;switch(f.kind){case "audio":E_(a, h,l,d.Bf,f.kind);break;case "video":Cd(h.framesDecoded,function(q){return function(r){return m(q.Bf,130,r)}}(d))}c.set(g,d.Bf)}}return c},v_=function(a,b){null===a.l&&(a.l=b);if(null===a.g||b.getTime()>a.g.getTime())a.g=b},G_=function(a,b,c,d){a=F_(a,b,c,!0);b=a.value;a.cd&&d(b)},F_=function(a,b,c,d){d=void 0===d?!1:d;var e=b&&b[c];if("number"!==typeof e)return{value:-1,cd:!1};b=b.id+"_"+c;c=!a.u.has(b);var f=a.u.get(b)||{Gm:0,Fm:0},g=f.Gm;f=f.Fm;var h=w_(a);(h>f||c)&&a.u.set(b,{Gm:e,Fm:h});return h> f&&!c?{value:d?Math.round((e-g)/(h-f)):e-g,cd:!0}:{value:-1,cd:!1}},w_=function(a){return a.g&&a.l?(a.g.getTime()-a.l.getTime())/1E3:-1},z_=function(a,b,c,d){if(Fd(b,d)){var e=ti(c,13,void 0,Rq),f=new Gp,g=new Gp;m(f,3,0);m(f,4,0);m(f,2,1);m(g,3,0);m(g,4,0);m(g,2,1);R(e,8,f);R(e,9,g);m(e,7,-1);m(e,5,-1);Br(e,f.pa());Cr(e,0);m(e,3,-1);m(e,6,-1);m(e,4,-1);var h=b.remoteCandidateId||"",l=d.get(b.localCandidateId||"");l&&H_(l,f);(h=d.get(h))&&H_(h,g);R(e,8,f);R(e,9,g);Cr(e,I_(b,d));Br(e,f.pa());Cd(b.bytesReceived, function(q){return m(e,6,q)});Cd(b.bytesSent,function(q){return m(e,4,q)});Cd(b.currentRoundTripTime,function(q){return m(e,3,Math.round(1E3*q))});Cd(b.packetsSent,function(q){return m(e,90,q)});Cd(b.packetsDiscardedOnSend,function(q){return m(e,91,q)});if(a=UQ(a.H,b,w_(a),!1))m(e,5,a.lj),m(e,7,a.hj);J_(b,c)}},H_=function(a,b){var c=a.ip||a.ipAddress||"",d=a.port||a.portNumber||0;!Rc(c)&&0d-a.L)){a.L=d;if(a.o)a=h_(a.u,b);else{a=a.K;d={audio:!1,video:!1};b=x(b.values());for(var e=b.next();!e.done;e=b.next())if(e=e.value,"inbound-rtp"==(y_[e.type]||e.type)&&!yd(e)){var f=Number(e.ssrc),g=e.packetsReceived;f&&"number"===typeof g&&(a.o.has(f)||a.o.set(f,0),0>=g-a.o.get(f)||(a.o.set(f,g),e=Dd(e),"audio"===e&&(d.audio=!0),"video"===e&&(d.video=!0)))}a=d}c(a.audio,a.video)}},f0=function(a,b,c){var d=kb();200>d-a.H||(a.H=d,a=a.o?i_(b):-1,c(a))},j0= function(a,b,c,d,e,f){f=void 0===f?!1:f;var g,h,l;return Ee(function(q){if(1==q.g)return g=new Gq,h=null,b?(h=c_(b),a_(a.u,b,d,e,g,f)):(h=u_(c),B_(a.K,c,g)),ed?D(q,a.J.then(function(r){return r.Ze()}),3):q.La(2);2!=q.g&&(l=q.l,g0(a,g,l,h));b&&c&&D_(a.K,c,g);h0(g);i0(g);a.I.forEach(function(r){return r.u(g)});return q.return(g)})},d0=function(a){a.J.then(function(b){a.g||a.F||(a.g=b.Ug(),a.g&&a.g.onMessage.addListener(function(c){var d=a.l;d.L+=c.tabCpuUsage;d.K+=c.browserCpuUsage;d.F+=c.gpuCpuUsage; d.G+=c.tabJsMemoryAllocated;d.H+=c.tabJsMemoryUsed;d.g++}))})},g0=function(a,b,c,d){var e=a.l;var f={};e=(f.jmiVersion=e.V,f.numOfProcessors=e.O,f.totalCpuUsage=e.S,f.tabCpuUsage=e.g?e.L/e.g:null,f.browserCpuUsage=e.g?e.K/e.g:null,f.gpuCpuUsage=e.g?e.F/e.g:null,f.tabJsMemoryAllocated=e.g?e.G/e.g:null,f.tabJsMemoryUsed=e.g?e.H/e.g:null,f);EQ(e,b);if(d){QZ(a.l,d);d=a.l;var g=c.value;if(e=g&&g.numOfProcessors){var h=f=0;if(g=g.processors){g=x(g);for(var l=g.next();!l.done;l=g.next())l=l.value.usage, f+=l.user+l.kernel,h+=l.total}else f=d.J,h=d.u;g=h==d.u?d.R:100*e*(f-d.J)/(h-d.u);d.J=f;d.u=h;d.R=g;d.S=g;d.O=e}c.value&&c.value.temperatures&&c.value.temperatures[0]&&m(b,189,c.value.temperatures[0]);b=a.l;0>(null!=b.l&&null!=b.o?(b.l.getTime()-b.o.getTime())/1E3:-1)||(a=a.l,a.L=0,a.K=0,a.F=0,a.G=0,a.H=0,a.g=0)}},i0=function(a){Dr(a,hr(a).filter(function(b){return 0e.length)&&(e=e[0].toString(),""!=e)){var f=b.l.get(e);f&&(f.forEach(function(g){g=n0(g);d.push(g)}),b.l.delete(e));(e=b.g.get(e))&&e.Qd&&(f=n0(e),d.push(f),e.de=e.Qd,e.Qd=null);0kb()-this.oa)||n1(this))}; L0.prototype.Gd=function(){if(this.R.enabled){m1(this);this.qb.clear();for(var a=x(VX(this.ea)),b=a.next();!b.done;b=a.next())b=b.value,"video"==b.track.kind&&"function"===typeof b.getSynchronizationSources&&Hd(b.getSynchronizationSources(),this.qb);this.tc&&this.P(new o1(this.l,this.ab,this.qb));if(2==this.Rc){a=new Map;b=x(this.O.keys());for(var c=b.next();!c.done;c=b.next()){var d=c.value;c=this.O.get(d);(d=S0(this,this.G,d))&&p1(this,a,d,(c.F?eW(c.F):null)||0)}q1(this,a);r1(this,a)}else 3==this.Rc&& r1(this,this.ia)}}; var n1=function(a){var b,c,d,e,f,g,h,l,q,r,w,B;Ee(function(A){switch(A.g){case 1:return a.Oa=!0,ed&&!a.Da()?D(A,$X(a.ea),5):D(A,ZX(a.ea),4);case 4:b=A.l;A.La(3);break;case 5:b=A.l.result();case 3:c=b;if(!a.ea)return A.return();a.Oa=!1;s1(a,c);t1(a,c);1==a.Rc&&u1(a,c);a.F&&m0(a.Fc,a.F);var E=a.M;if(!E.G){if(E.o){var M=E.u;for(var ia=null,Ea=x(c),Ya=Ea.next();!Ya.done;Ya=Ea.next())(Ya=d_(Ya.value.timestamp))&&0=a.gb)){A.La(0);break}a.oa=0==a.oa?d:a.oa+a.gb;f=e=!1;g=x(a.wa);for(h=g.next();!h.done;h=g.next())l=h.value,"v"!==l.da()||l.isMuted()?"a"===l.da()&&(f=!0):e=!0;q=ed&&!a.Da()?c:null;if(!ed||a.Da()){r=c;A.La(7);break}return D(A,ZX(a.ea),8);case 8:r=A.l;case 7:return w=r,a.ea?D(A,j0(a.M,q,w,!e,f,LX(a.ea)),9):A.return();case 9:B=A.l,a.P(new v1(B)),A.g=0}})},u1=function(a,b){b=a.M.o?e_(b):new Map;var c=new Map;b.forEach(function(d, e){p1(a,c,e,d)});q1(a,c);r1(a,c)},m1=function(a){var b=a.F;a.F=null;a.ha=null;a.ia=null;a.ab.clear();if(a.G&&0d&&(d=q.timestamp,a.ha=l):(null==h&&(h=q),l=q.source)}null!=h&&(l=h.source,a.F.set(f,{Jb:l,timestamp:Gd(h.timestamp)}),a.ia.set(l,{volume:bW(Math.min(3E5*(h.audioLevel||0),32768)),cg:!1}))}}q1(a,a.ia);3==a.Rc&&a.Nc.smooth(a.ia)}y1(a,b)}, p1=function(a,b,c,d){a.F&&(c=(c=a.F.get(c))?c.Jb:null);null!==c&&(1==a.Rc&&a.o&&(a=a.o.get(c),null!=a&&0!=a&&(d/=a)),b.set(c,{volume:d,cg:!1}))},q1=function(a,b){a.ha&&(b.has(a.ha)?b.get(a.ha).cg=!0:b.set(a.ha,{volume:0,cg:!0}))},s1=function(a,b){e0(a.M,b,function(c,d){c&&R0(a,"recv first audio packet");d&&R0(a,"recv first video packet");a.P(new z1(c,d))})},t1=function(a,b){a.za&&f0(a.M,b,function(c){A1.forEach(function(d,e){c>=e&&(R0(a,d),"bandwidth 3150"==d&&(a.za=!1))})})},S0=function(a,b,c){if(!b|| !b.na)return null;if(0=d&&(null===a.l&&a.N.info(i2,d),a.u=X(),a.l=d)):a.N.U(j2)},a);c.hg.ca.then(function(){a.N.info(g2)});xk(c.l.ca,function(){c=== a.o&&(a.N.info(h2),f2(a))});a.o=c},Z1=z(["Level is stale. Waiting for new data."]),i2=z(["Got an initial level: ",""]),j2=z(["Got unexpected message from Audio Processor Data Channel"]); var k2=function(a){IU.call(this,a);this.l=a.u;this.g=a.l};C(k2,IU);k=k2.prototype;k.Zd=function(a){return IU.prototype.Zd.call(this,a)&&a instanceof k2?cT(this.l,a.l)&&cT(this.g,a.g):!1};k.toString=function(){return"VideoSettings(base="+IU.prototype.toString.call(this)+", minVideoShape="+(this.l+", maxVideoShape=")+(this.g+")")}; k.Fe=function(){var a=IU.prototype.Fe.call(this);gd?(a.aspectRatio=16/9,a.height=this.g.height,a.width=this.g.width,a.frameRate=this.g.frameRate):a.advanced=[{frameRate:{min:this.l.frameRate}},{height:{min:this.l.height}},{width:{min:this.l.width}},{frameRate:{max:this.g.frameRate}},{width:{max:this.g.width}},{height:{max:this.g.height}},{aspectRatio:{exact:16/9}}];return a};k.vg=function(a){a=this.g.vg(a);var b=this.l.vg(a);return l2(m2(this.$d(),a),b).W()};k.$d=function(){return new m3(this)}; var m3=function(a){JU.call(this,a);this.u=a?a.l:null;this.l=a?a.g:null};C(m3,JU);m3.prototype.W=function(){return new k2(this)};var l2=function(a,b){a.u=b;return a},m2=function(a,b){a.l=b;return a}; var n3=function(){this.l=[]};n3.prototype.push=function(a){this.l.push(a)};n3.prototype.search=function(a,b){for(var c=x(this.l),d=c.next();!d.done;d=c.next())if(d=d.value,d.name.test(a)||d.o.test(b))return d.l;return dT(eT(fT(new gT,Infinity),Infinity),Infinity).W()};n3.prototype.g=function(a){for(var b=x(this.l),c=b.next();!c.done;c=b.next())if(c=c.value,c.name.test(a)&&null!=c.g)return c.g;return!0}; var o3=function(a,b,c,d,e,f){this.name=Id(a);this.o=Id(b);this.g=f;this.l=dT(eT(fT(new gT,c?c:Infinity),d?d:Infinity),e?e:Infinity).W()}; var Nd=function(a,b){this.options=a;this.g=b;this.u=this.loaded=!1;a=this.options.release||"324829792";this.o=vg(new mg(kg,"/_/rtcvidproc/release/%{release}/videopipe_bundle.js"),{release:a});this.l="/_/rtcvidproc/release/"+a+"/";window.getMediaPipeCapabilities&&(this.loaded=!0)}; Nd.prototype.loadModule=function(){var a,b,c,d;return RA(this,function f(){var g=this,h;return Ce(f,function(l){switch(l.g){case 1:if(g.loaded){l.La(0);break}re(l,3);return D(l,s0(g.o,{timeout:15E3}),5);case 5:se(l,4);break;case 3:throw h=te(l),null===(b=(a=g.g).logImpression)||void 0===b?void 0:b.call(a,6833),h;case 4:null===(d=(c=g.g).logImpression)||void 0===d?void 0:d.call(c,6832),g.loaded=!0,l.g=0}})})}; var p3=function(a,b,c,d){return RA(a,function f(){var g=this,h,l;return Ce(f,function(q){if(1==q.g){h=g;g.g.logInfo("creating new video processor, bundleUri "+g.o+", assetsRoot "+g.l);if(g.u)throw Error("Aa");return D(q,g.loadModule(),2)}if(3!=q.g)return D(q,window.createMediaPipeBasedVideoProcessor(g.l,g.options,b,c,g.g,function(r){h.u=!0;d(r)}),3);l=q.l;return q.return(l)})})}; var Ld=function(a,b){this.l=a;this.g=b},q3=z(["",""]);Ld.prototype.logInfo=function(a){this.l.info(q3,a)};Ld.prototype.logImpression=function(a){this.g.logImpression(a)}; var Jd=null,r3=function(a,b){b=void 0===b?Od(a):b;U.call(this);var c=this;this.S=b;this.O=new ky(this);this.I=this.u=this.o=null;this.l={enableBackgroundBlur:!1,virtualBackgroundUrl:void 0,processingGraphName:void 0};this.J=Pd();this.F=my(this.O);this.R=new Md("google3.javascript.apps.realtime.media.videoprocessing.webrtcvideoprocessor");Ki(this,function(){eb(c.o)});this.M=!!document.createElement("canvas").getContext("webgl2",{failIfMajorPerformanceCaveat:!ac(tb("SCVan"))});a.logImpression(this.M? 6834:6836)};C(r3,U);var s3=z(["",""]);r3.prototype.logInfo=function(a){this.R.info(s3,a)};r3.prototype.H=function(){return!(this.l.enableBackgroundBlur||this.l.virtualBackgroundUrl||this.l.processingGraphName)};r3.prototype.G=function(a){RA(this,function c(){var d=this,e;return Ce(c,function(f){d.logInfo("setInputStream "+(a?"set":"unset"));e=d.u;d.u=a;return D(f,t3(d,e!==a),0)})})}; var u3=function(a,b,c){return RA(a,function e(){var f=this;return Ce(e,function(g){if(1==g.g)return D(g,W(f.F,b),2);f.J=c;f.P("R4eg1b");g.g=0})})},t3=function(a,b){b=void 0===b?!1:b;return RA(a,function d(){var e=this,f,g,h,l;return Ce(d,function(q){switch(q.g){case 1:f=e;if(null!=e.u&&(e.l.enableBackgroundBlur||e.l.virtualBackgroundUrl||e.l.processingGraphName)){q.La(2);break}return D(q,v3(e),3);case 3:return q.return();case 2:g=e.o;re(q,4,5);if(b||!e.o)return D(q,p3(e.S,e.l,e.u,function(r){return RA(f, function B(){var A=this;return Ce(B,function(E){if(1==E.g)return A.logInfo("Handling unrecoverable error: "+r),D(E,v3(A),2);A.P("gBHCEe");E.g=0})})}),10);g=null;return D(q,e.o.updateConfig(e.l),8);case 10:e.o=q.l;case 8:return D(q,e.o.getOutputStream(),11);case 11:return h=q.l,D(q,u3(e,h,Object.assign({},e.l)),5);case 5:ue(q);eb(g);e.I=null;ve(q);break;case 4:return l=te(q),e.l=Pd(),D(q,v3(e),13);case 13:throw l;}})})},v3=function(a){return RA(a,function c(){var d=this;return Ce(c,function(e){if(1== e.g)return D(e,u3(d,d.u,Pd()),2);if(!d.o)return e.return();d.logInfo("disabling video processor");eb(d.o);d.o=null;d.I=null;e.g=0})})}; var w3=function(a,b,c,d){PU.call(this,a,b,c);this.Fc=d;this.Ec=c.l;this.I=c.g;this.vc="sc"==b.getContent()?"detail":"";this.V=null;this.Gb=new Map;this.qb=Kd(tb("ApsEyf"),30);this.Nc=ac(tb("lSsX3e"));this.gb=Kd(tb("D6t7Jf"),180);a=new r3(new Za(a));eb(this.S);this.S=a||new NU;OU(this)};C(w3,PU);w3.prototype.Na=function(){return"realtime.media.api.webrtc.CameraCapture"};w3.prototype.Ia=function(a){PU.prototype.Ia.call(this,a);var b=a.u;b&&(this.Gb.set(b,a),(b=aV(this,b))&&a.g&&x3(this,b,a))}; w3.prototype.oa=function(a,b){b=PU.prototype.oa.call(this,a,b);(a=this.Gb.get(a))&&a.g&&x3(this,b,a);return b};w3.prototype.Oa=function(a){return 30!==this.qb?this.pa():PU.prototype.Oa.call(this,a)}; var y3=z(["Applying constraints to stream id="," for stream request (settings=",", constraints=",", request=",")"]),z3=z(["Failed to apply constraints to the session stream."]),x3=function(a,b,c){if(!gd&&a.S.H()){var d=A3(a,a.F,c),e=d.Fe(!0);a.o.info(y3,b.id,d,JSON.stringify(e),c);a.logImpression(5538);b=x(b.getVideoTracks());for(c=b.next();!c.done;c=b.next())c.value.applyConstraints(e).then(function(){return a.logImpression(5539)},function(f){Qd(a.o,Ai(f)).Sa(z3);a.logImpression(5540)})}},A3=function(a, b,c){if((c=void 0===c?null:c)&&c.g){var d=new gT(b.g),e=new gT(b.l),f=c.Ab();a.Nc||(f.heighta.I.height&&(f=Cj(f,a.I.height/f.height)),f.width>a.I.width&&(f=Cj(f,a.I.width/f.width)),f&&(fT(eT(d,f.height),f.width),fT(eT(e,f.height),f.width)));var g=a.I.frameRate;(c=c.Pb())&&(g=Math.min(g,c));f&&Bj(f)<=Bj($D)&&(g=Math.min(g,a.qb));g=a.I.frameRate/Math.ceil(a.I.frameRate/g);dT(d,g);d=d.W();e=e.W();b=m2(l2(b.$d(),e),d).W()}a.V&&(b=b.vg(a.V));"sc"==a.l.getContent()&& (a=b,b=m2(l2(a.$d(),B3(a.l)),B3(a.g)).W());return b};w3.prototype.bb=function(a){var b=m2(l2(this.F.$d(),this.Ec),this.I).W();a!==this.getDeviceId()&&(this.V=null);return PU.prototype.bb.call(this,a,null,null,b)};w3.prototype.ec=function(a){this.vc=a;bV(this).forEach(function(b){b.getVideoTracks().forEach(function(c){"contentHint"in c&&(c.contentHint=a)})})};var C3=z(["Capture settings updated to camera whitelist to ",". Rerequesting media."]); w3.prototype.aa=function(a){if(0$D.width||a.height>$D.height)&&eT(fT(b,bE.width),bE.height);return dT(b,Math.min(a.frameRate,30)).W()}; var F3=function(a){if(!E3){var b=lc();a=ib(nb(a,SK).then(function(c){return c.Ze()}).then(zZ).then(function(c){return kc({oe:c.modelName,jh:c.numOfProcessors||Qe("navigator.hardwareConcurrency")||0,Gk:new Set(c.features),Al:za("CrOS")})}),function(){return b});E3=qk([a,lb(2E3,b)])}return E3},E3=null; var Rd=new Md("realtime.util.gpuNames"),Sd=z(["Error getting WebGL unmasked renderer name."]); var G3=function(){var a=null;try{a=window.sessionStorage||null}catch(b){}this.g=a};H(G3,rm); var K3=function(a){this.F=nb(a,SK);this.L=nb(a,Rx);this.o=new sm;this.u=new G3;this.g={};this.l={};this.K=null;this.H=a;a=G(this.G,this);var b=null;if(this.o.isAvailable()){var c=this.o.get("scp"),d=null!=c;try{b=JSON.parse(c)}catch(e){d=!1}!d&&a&&(b=a())}else H3.error("Error in retrieving cpu info from local storage.");if(a=b)this.g=a;I3(this);J3(this)},S3=function(a){var b=new As;m(b,1,L3());m(b,14,bR);var c=M3();m(b,15,c);m(b,16,ZD);N3()&&O3(a,4749);P3(a)?m(b,5,"ARM"):(m(b,2,6),m(b,3,14),m(b,5, "GenuineIntel"),Js(b,Q3(a.g)));m(b,25,a.g.modelName);m(b,6,a.g.numOfProcessors);m(b,19,a.l.model);m(b,26,a.l.manufacturer);R3(a).forEach(function(d){var e=ti(b,24,void 0,xs);m(e,1,6);m(e,2,d.substring(0,100))});return b},M3=function(){var a="Other";nh?a="Opera":oh?a="Internet Explorer":Jh?a="Firefox":za("Edg/")?a="Chromium-based Edge":ed?a=N3()?"Chromium-based":"Chrome":gd&&(a="Safari");return a},N3=function(){if(null!=T3)return T3;var a=navigator.plugins,b;for(b in a)if("Chromium PDF Viewer"==a[b].name)return T3= !0;return T3=!1},L3=function(){var a="other";vh?a="windows":uh?a=-1!=sh.indexOf("Intel")?Lg()&&yc()&&0")+", deviceLabel="+(d?d:"")+", groupId="+(c?c:""))}this.o&&this.J&&(this.l.M("vi")&&this.o.mute(),a=GT(this.l,"vi"),WU(this.o,a),this.L.info("Setting video in to device with id="+a))}; k.Ol=function(){for(var a=x(b4(this)),b=a.next();!b.done;b=a.next()){b=b.value;var c=this.l.l("ai"),d=this.l.l("ao"),e=b.F;c=!!c&&!!d&&e.g.K&&Yd(c,d,this.l.getDevices("ai"),this.l.getDevices("ao"));b.gb!==c&&((b.gb=c)?(c=b.Ci,d=new mK,d.g=c.J,d.K=c.O,d.J=c.M,d.l=c.g,d.o=c.l,d.F=c.o,d.u=c.H,d.O=c.L,d.R=c.I,d.H=c.K,d.I=c.G,d=d.Ej(c.u),d.L=c.F,d.M=c.R,c=d,c.l=!1,c.g=!1,c.o=!1,c.K=!1,c.F=!1,c.u=!1,c=c.W()):c=b.Ci,YU(b,aW(b.F.$d(),c).W()))}}; var b4=function(a){return y(a.F.values()).concat().filter(function(b){return b.Ci.G})},a4=function(a,b,c){a.u.listen(b,"ea",function(){"st"===b.u&&(eb(b),c(b))})};X3.prototype.logImpression=function(a,b){this.R.then(function(c){c.logImpression(a,{Nb:b})})}; var d4=function(a,b){var c=new sm,d=new Md("realtime.media.api.webrtc.DeviceManager");FT.call(this,a,c4(c,d));this.aa=c;this.X=d;this.S=b;this.I=new Map([["vi",!1],["ai",!1],["ao",!1]]);this.u=new Map([["vi",!1],["ai",!1],["ao",!1]]);this.F=new v(this);this.g(this.F);this.F.listen(Uc().mediaDevices,"devicechange",this.o);this.o()};C(d4,FT);var e4=z(["Unable to load persistent device state from local storage."]),c4=function(a,b){if(a=iT(a))return a;b.info(e4)}; d4.prototype.J=function(a){this.aa.set("mlsds2",Oj(jT(a)))};var f4=z(["Error calling enumerateDevices"]);d4.prototype.o=function(){var a=this;return Wc().then(function(b){b=Pf(b,function(c){return c.kind});g4(a,"ai",b.audioinput||[]);g4(a,"ao",b.audiooutput||[]);g4(a,"vi",b.videoinput||[],a.S)},function(b){Qd(a.X,b).U(f4);throw b;})};var g4=function(a,b,c,d){d=void 0===d?Uf:d;var e=c.filter(function(f){return!!f.deviceId});c=c.length!==e.length;c!==a.R(b)&&(a.u.set(b,c),a.P(new vK(BK,b)));a.V(b,d(e.map(ae)))}; d4.prototype.O=function(a,b){this.I.set(a,b)};d4.prototype.M=function(a){return this.I.get(a)};d4.prototype.R=function(a){return this.u.get(a)}; var h4=function(a,b,c,d,e,f){var g=new FormData;g.append("prod",uh?"Google_Talk_Plugin_Mac":vh?"Google_Talk_Plugin":"Google_Talk_Plugin_Linux");g.append("ver",(f?f:"unknown")+"-calls");g.append("email",b);g.append("type","log");g.append("log",new Blob([a]),e);c&&g.append("participant_log_id",c);if(a=d)try{a=!!navigator.sendBeacon&&navigator.sendBeacon("https://clients2.google.com/cr/report",g)}catch(l){a=!1}if(a)return pv();try{var h=new bv;bw("https://clients2.google.com/cr/report",function(l){l= l.target;kw(l)?h.callback(new ov(l.pb(),lw(l))):(l=Error("Ba`"+l.V+"`"+l.pb()+"`"+lw(l)),h.l(l))},"POST",g);return h}catch(l){return rv(l)}},ov=function(a,b){this.l=a;this.g=b}; var i4=function(a,b){U.call(this);this.M=a||4194304;this.R=b||10485760;this.l=this.F=this.u=this.I=this.O=null;this.o=this.H=0;this.G=[]};C(i4,U);var j4=function(a){a.u||(a.u=new Uint8Array(a.M+a.R),a.F=a.u.subarray(0,a.M),a.l=a.u.subarray(a.M))};i4.prototype.open=function(a,b,c){if(!this.O){var d=uk();this.O=d.ca;a=k4(a,b,!!c);b=l4(a);b=m4(this,b);n4(this,b,a).then(function(e){this.I=e;this.J();d.resolve()},G(d.reject,d),this)}return this.O}; var q4=function(a){return"undefined"!==typeof TextEncoder?(o4||(o4=new TextEncoder),o4.encode(a)):p4(Rf(a))},p4=function(a){if("function"===typeof Uint8Array.from)return Uint8Array.from(a);a=Object(a);if(!a.length)return new Uint8Array(0);for(var b=new Uint8Array(a.length),c=0;ca.u.length){for(var d=a.F.length;d&&127this.u.length){var e=uk(),f=new FileReader;f.onload=G(function(){this.F.set(new Uint8Array(f.result)); e.resolve()},this);f.readAsArrayBuffer(d.slice(0,this.F.length));var g=uk(),h=new FileReader;h.onload=G(function(){this.l.set(new Uint8Array(h.result));g.resolve()},this);h.readAsArrayBuffer(d.slice(d.size-this.l.length,d.size));c.resolve(sk([e.ca,g.ca]))}else{var l=new FileReader;l.onload=G(function(){var q=new Uint8Array(l.result);this.u.set(q);this.o>this.F.length&&(this.H=(this.o-this.F.length)%this.l.length);c.resolve()},this);l.readAsArrayBuffer(d)}},G(c.reject,c),a);return c.ca},n4=function(a, b,c){var d=uk();rk([b,c]).then(function(e){e[1].createWriter(G(function(f){f.seek(f.length);f.onwriteend=G(this.J,this);d.resolve(f)},this),G(d.reject,d))},G(d.reject,d),a);return d.ca}; i4.prototype.J=function(){this.I&&this.I.readyState!=this.I.WRITING&&0>=8);b[c++]=e}for(a=0;ad&&t(h,2)!=c:!1});si(f,1,g);return f}}catch(h){}return new Hu}; s4.prototype.add=function(a,b,c){this.l.add(b);var d=v4(this,a,b),e=u(d,Iu,1);var f=new Iu;f=m(f,1,5);b=m(f,2,b);c=m(b,4,c);b=kb();c=m(c,3,b);wf(e,void 0,0,c);si(d,1,e);this.g.set(u4(a),d.sa())};s4.prototype.remove=function(a,b){b=v4(this,a,b);this.g.set(u4(a),b.sa())}; var w4=function(a,b){var c=v4(a,b),d=u(c,Iu,1),e=qf(d,function(q){q=t(q,2);return!this.l.contains(q)},a);if(0<=e){var f=d[e],g=t(f,2),h=t(f,4),l=t(f,1);l--;m(f,1,l);0>=l&&yf(d,e);si(c,1,d);a.g.set(u4(b),c.sa());a.l.add(g);return{sessionId:g,Jc:h}}return null};Se(s4);var t4=[31,37,41,43,47,53,61,67,71,73];s4.prototype.N=null; var y4=function(){this.F="";this.J=0;this.I=null;this.H=new i4;this.g={};this.K=x4();ib(this.K,Re);this.o=s4.ic();this.G=this.l=null;this.O=window.requestIdleCallback||null;this.u=!1},z4=function(a,b,c,d){var e=kb();null==a.I&&(a.I=e);d=null!=d?d:8;if(!(d=b.Pc;b.ec=a;c!==b.Eb&&c1(b)}}; var W4=function(a,b){if(null!=(b.u.get("collections")||null)){var c=vC(b).map(a.ia,a),d=b.Ha;null==d&&(d=[tB(sB("d"),101).Xc("google-data").W()],d=new TB("d",d,[]));d=Lc(d,Jc(d).concat(c));b=wC(b,d)}a.O=b;if(a.X.Uh&&b.la){c=[];d=x(Jc(b.la));for(var e=d.next();!e.done;e=d.next())e=e.value,a.M.has(e.g)&&c.push(e);b=sC(b,Lc(b.la,c))}a.o.info("Session "+a.Bc()+" setting remote descriptions: "+Oj(b.ya()));return J1(a.l,b)}; U4.prototype.ia=function(a){var b=a.vd()||"local_push_channel",c=a.getChannelId()||"";return eB($A(ZA(YA(XA(new Pc,"d"),c),b),a.getChannelId()||""),a.vd()).W()};var X4=function(a,b){if(a.M.size!==b.size)return!0;a=x(a.M.values());for(var c=a.next();!c.done;c=a.next())if(!b.has(c.value))return!0;return!1};U4.prototype.ha=function(){this.G.reject(Error("Ca"));this.G=null}; var Y4=function(a){GK.call(this);this.g((new v(this)).listen(a,"Na",this.H))};C(Y4,GK);Y4.prototype.H=function(a){if(this.l&&(this.l||null).pa()){var b=(this.l||null).pa();if(b instanceof HU)IK(this,a.o/5);else if(b.o()==a.sessionId){b=x(b.getInfo().Ea());for(var c=b.next();!c.done;c=b.next())if(c=c.value,a.g.has(c)){IK(this,a.g.get(c).volume/5);return}IK(this,0)}}else IK(this,0)}; var Z4=function(){S.call(this);this.l=new Map};C(Z4,S);var $4=function(a,b){a.l.set(b.Bc(),b);var c=new v(a);a.g(c);c.listen(b,"wa",function(d){"FINISHED"==d.state&&(this.l.delete(b.Bc()),eb(c))})}; var a5=function(){d4.apply(this,arguments)};C(a5,d4);a5.prototype.getDevices=function(a){var b=d4.prototype.getDevices.call(this,a);return"ao"==a&&0==b.length?[b5]:b};a5.prototype.l=function(a){var b=d4.prototype.l.call(this,a);return"ao"!=a||b?b:b5};a5.prototype.G=function(a,b){b!==b5.id&&d4.prototype.G.call(this,a,b)};var b5=tK(sK(Zd($d("__synthetic_default_speaker_device__"),"Altavoz predeterminado del sistema"),"Altavoz predeterminado del sistema").He("__synthetic_default_speaker_device__"),!0).W(); var c5=function(a,b,c,d){var e=this;c=void 0===c?be:c;d=void 0===d?be:d;this.g=a;this.G=b;this.O=c;this.I=d;this.o=uk();this.ca=this.o.ca;this.L=this.l=this.u=this.F=!1;xk(this.ca,function(){e.F=!0});this.K=null;this.H()};c5.prototype.H=function(){var a=this;this.F||(this.L=this.l,this.K=Hk(function(){a.l=!1;a.u=!0;a.O()},1E3),d5(this,"initiated",!!this.g.audio,!!this.g.video),Yc(this.g).then(this.M,this.J,this))};var d5=function(a,b,c,d){(c||d)&&a.G.logImpression(e5[(c?1:0)|(d?2:0)].get(b))}; c5.prototype.M=function(a){d5(this,"succeeded",!!this.g.audio,!!this.g.video);Ik(this.K);this.L&&this.u&&this.G.logImpression(5466);this.o.resolve(a)};c5.prototype.J=function(a){d5(this,"failed",!!this.g.audio,!!this.g.video);Ik(this.K);Gc(a)||!wc(a)?this.o.reject(a):this.u?this.o.reject(a):(this.l||(this.l=!0,this.I()),Hk(this.H,1E3,this))}; var e5=[null,new Map([["initiated",4816],["succeeded",4817],["failed",4818]]),new Map([["initiated",4813],["succeeded",4814],["failed",4815]]),new Map([["initiated",4819],["succeeded",4820],["failed",4821]])]; var f5=function(a){OK.call(this,a);this.I=new EX("realtime.media.api.webrtc.Delegate");this.L=new H4(this.ra);this.g=new S1;this.K=new n3;a=this.ra.get(Ud).l;var b=this.ra;JW.has(b)||JW.set(b,new xW);b=JW.get(b);this.F=new MW(a,b,this.ra);this.J=new Z4;this.u=0;this.H=this.G=!0;this.o=new Za(this.ra)};C(f5,OK); f5.prototype.initialize=function(){var a=this;if(!g5())return null;this.o.logImpression(6270);var b=this.l.G.then(function(c){a.L.initialize(kz(c));c=c.xe()?u(c.xe(),Ou,3)||[]:[];a.K=h5(c);return 7});this.o.logImpression(4163);nb(this.ra,BG,!0).then(function(c){return c.L(a.g)});nb(this.ra,GF,!0).then(function(c){return c.L(a.g)});b=[b,i5(this)];return rk(b).then(function(c){a.o.logImpression(6271);return j5(a,c)},function(c){a.o.logImpression(6272);throw c;})}; var j5=function(a,b){(b=b.find(function(c){return 7!=c}))||(b=7);return a.u=b};f5.prototype.Yd=function(){return g5()?kK.includes(this.u):null}; f5.prototype.Xl=function(a,b,c,d){var e=this;switch(this.u){case 0:return null;case 4:case 5:case 6:if(a=this.G&&a,b=this.H&&b,a||b){if(Jh)return Vc(7);var f=uk(),g=(new c5({audio:a,video:b},this.o,c,d)).ca;ib(f.ca,function(){return g.cancel()});g.then(function(h){var l=h.getAudioTracks();h=h.getVideoTracks();l.concat(h).forEach(function(q){return q.stop()});"http:"==window.location.protocol?f.resolve([7]):f.resolve(rk([i5(e)]))},function(h){return f.reject(h)});return f.ca.then(function(h){return j5(e, h)})}default:return Vc(this.u)}};var i5=function(a){return Wc().then(function(b){for(var c=0,d=!1,e=0,f=!1,g=0;ga.l&&(a.l=b);1==a.l&&(a.F.g||a.R||a.F.callback(!0),a.M=null)};k=D5.prototype; k.connect=function(){var a=Lj(this.H),b=Ze(a),c=E5[b];"number"!==typeof c&&(c=0);0==c&&bj(a.postMessage?a:a.document,"message",H5,!1,D5);E5[b]=c+1;this.S=!0;this.sl()};k.sl=function(){var a=0==v5(this.G);this.R&&a||this.G.Ud()||this.K()?this.I.stop():(this.I.start(),K5(this))}; k.send=function(a,b){var c=this.G.Kc;c&&(this.send=function(d,e){var f=this,g=this.G.name;this.J=Hk(function(){f.J=0;try{var h=c.postMessage?c:c.document;h.postMessage&&h.postMessage(g+"|"+d+":"+e,f.X)}catch(l){}},0)},this.send(a,b))};k.Bp=function(){C5(this.G,1==this.L||1==this.l?200:void 0)}; k.Z=function(){if(this.S){var a=Lj(this.H),b=Ze(a),c=E5[b];E5[b]=c-1;1==c&&jj(a.postMessage?a:a.document,"message",H5,!1,D5)}this.J&&(Ik(this.J),this.J=0);eb(this.O);delete this.O;eb(this.I);delete this.I;this.u.cancel();delete this.u;this.F.cancel();delete this.F;this.o.cancel();delete this.o;delete this.send;D5.Ta.Z.call(this)};var F5=function(a){a=a.split(",");a[1]=a[1]||null;return a}; var M5=function(a,b){o5.call(this);for(var c=0,d;d=q5[c];c++)if(d in a&&!/^https?:\/\//.test(a[d]))throw Error("Da`"+a[d]+"`"+d);this.l=a;this.name=this.l.cn||s5();this.o=b||Dj();this.F=[];this.L=new v(this);a.lpu=a.lpu||tl(Lj(this.o).location.href)+"/robots.txt";a.ppu=a.ppu||tl(a.pu||"")+"/robots.txt";z5[this.name]=this;mj(window,"unload",L5)||aj(window,"unload",L5)};H(M5,o5);var N5=/^%*tp$/,O5=/^%+tp$/;k=M5.prototype;k.Ld=null;k.De=null;k.bd=null;k.df=1;k.Ud=function(){return 2==this.df};k.Kc=null; k.$g=null;k.connect=function(a){this.G=a||Re;3==this.df&&(this.df=1);this.De?iv(this.De,this.Ek):this.Ek()}; k.Ek=function(){this.De=null;if(this.l.ifrid){var a=this.l.ifrid;this.$g="string"===typeof a?this.o.g.getElementById(a):a}this.$g&&((a=this.$g.contentWindow)||(a=window.frames[this.l.ifrid]),this.Kc=a);if(!this.Kc){if(window==window.top)throw Error("Fa");this.Kc=window.parent}if(!this.bd){this.l.tp||(this.l.tp=Ve(document.postMessage)||Ve(window.postMessage)||oh&&window.postMessage?1:0);if(Ve(this.l.tp))this.bd=new this.l.tp(this,this.o);else switch(this.l.tp){case 1:this.bd=new D5(this,this.l.ph, this.o,!!this.l.osh,this.l.nativeProtocolVersion||2);break;case 2:if(a=this.Kc)try{a=window.document.domain==this.Kc.document.domain}catch(b){a=!1}a&&(this.bd=new w5(this,this.o))}if(!this.bd)throw Error("Ea");}for(this.bd.connect();0Math.random(); var _ModuleManager_initialize=function(a,b){if(!na)if(oa)na=oa();else return;na.mj(a,b)}; _ModuleManager_initialize('inmolecalling/sy0/hl:1/rsr/ma/Z5j79c/SFhYHb/T6U9J/sy1:1/sy2/zYiFGf:8,9/hioBjc:9/sy3/TH1Apc:c/DWfIKf:8/lHoXXe/WrxA7/rrm:g/nUMwj:c/y8ZRGd/VBoDkb',[]); }catch(e){_DumpException(e)} // Google Inc.