/* _GlobalPrefix_ */ /* _Module_:inmolecalling */ try{ var h,aa=function(a){return Object.assign(Object.create(null),a)},ba=function(a){return a?(a=String(a).replace(/([-()\[\]{}+?*.$\^|,:#=b.length?a:ra(new sa(a),[b[0]]).S()},va=function(a){a=void 0===a?[]:a;return a.map(function(a){var b={};if(ta(l(a,1)||"")){if(ta(l(a,2)||""))return null;b.name=l(a,2)}else b.usbid=l(a,1);null!=l(a,3)&&(b.w=l(a,3));null!=l(a,4)&&(b.h=l(a,4));null!=l(a,5)&&(b.fps=l(a,5));null!=m(a,6,!0)&&(b.isSupported=m(a,6,!0));return b}).filter(function(a){return null!==a})},wa="function"==typeof Object.defineProperties? Object.defineProperty:function(a,b,c){a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value)},ya="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this,Aa=function(){Aa=function(){};ya.Symbol||(ya.Symbol=Ba)},Ba=function(){var a=0;return function(b){return"jscomp_symbol_"+(b||"")+a++}}(),Da=function(){Aa();var a=ya.Symbol.iterator;a||(a=ya.Symbol.iterator=ya.Symbol("iterator"));"function"!=typeof Array.prototype[a]&&wa(Array.prototype,a,{configurable:!0, writable:!0,value:function(){return Ca(this)}});Da=function(){}},Ca=function(a){var b=0;return Ea(function(){return b=e}});var Wa=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)}; Ha("WeakMap",function(a){function b(a){Wa(a,d)||wa(a,d,{value:{}})}function c(a){var c=Object[a];c&&(Object[a]=function(a){b(a);return c(a)})}if(function(){if(!a||!Object.seal)return!1;try{var b=Object.seal({}),c=Object.seal({}),d=new a([[b,2],[c,3]]);if(2!=d.get(b)||3!=d.get(c))return!1;d["delete"](b);d.set(c,4);return!d.has(b)&&4==d.get(c)}catch(q){return!1}}())return a;var d="$jscomp_hidden_"+Math.random();c("freeze");c("preventExtensions");c("seal");var e=0,f=function(a){this.g=(e+=Math.random()+ 1).toString();if(a){Aa();Da();a=Ga(a);for(var b;!(b=a.next()).done;)b=b.value,this.set(b[0],b[1])}};f.prototype.set=function(a,c){b(a);if(!Wa(a,d))throw Error("c`"+a);a[d][this.g]=c;return this};f.prototype.get=function(a){return Wa(a,d)?a[d][this.g]:void 0};f.prototype.has=function(a){return Wa(a,d)&&Wa(a[d],this.g)};f.prototype["delete"]=function(a){return Wa(a,d)&&Wa(a[d],this.g)?delete a[d][this.g]:!1};return f}); Ha("Map",function(a){if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var b=Object.seal({x:4}),c=new a(Ga([[b,"s"]]));if("s"!=c.get(b)||1!=c.size||c.get({x:4})||c.set({x:4},"t")!=c||2!=c.size)return!1;var d=c.entries(),e=d.next();if(e.done||e.value[0]!=b||"s"!=e.value[1])return!1;e=d.next();return e.done||4!=e.value[0].x||"t"!=e.value[1]||!d.next().done?!1:!0}catch(v){return!1}}())return a;Aa();Da();var b=new WeakMap,c=function(a){this.l= {};this.g=f();this.size=0;if(a){a=Ga(a);for(var b;!(b=a.next()).done;)b=b.value,this.set(b[0],b[1])}};c.prototype.set=function(a,b){var c=d(this,a);c.list||(c.list=this.l[c.id]=[]);c.entry?c.entry.value=b:(c.entry={next:this.g,previous:this.g.previous,head:this.g,key:a,value:b},c.list.push(c.entry),this.g.previous.next=c.entry,this.g.previous=c.entry,this.size++);return this};c.prototype["delete"]=function(a){a=d(this,a);return a.entry&&a.list?(a.list.splice(a.index,1),a.list.length||delete this.l[a.id], a.entry.previous.next=a.entry.next,a.entry.next.previous=a.entry.previous,a.entry.head=null,this.size--,!0):!1};c.prototype.clear=function(){this.l={};this.g=this.g.previous=f();this.size=0};c.prototype.has=function(a){return!!d(this,a).entry};c.prototype.get=function(a){return(a=d(this,a).entry)&&a.value};c.prototype.entries=function(){return e(this,function(a){return[a.key,a.value]})};c.prototype.keys=function(){return e(this,function(a){return a.key})};c.prototype.values=function(){return e(this, function(a){return a.value})};c.prototype.forEach=function(a,b){for(var c=this.entries(),d;!(d=c.next()).done;)d=d.value,a.call(b,d[1],d[0],this)};c.prototype[Symbol.iterator]=c.prototype.entries;var d=function(a,c){var d=c&&typeof c;"object"==d||"function"==d?b.has(c)?d=b.get(c):(d=""+ ++g,b.set(c,d)):d="p_"+c;var e=a.l[d];if(e&&Wa(a.l,d))for(a=0;ac&&(c=Math.max(c+e,0));c>>0),pb=0,sb=function(a,b,c){return a.call.apply(a.bind,arguments)},tb=function(a,b,c){if(!a)throw Error();if(2b?null:u(a)?a.charAt(b):a[b]},Jb=function(a,b,c){for(var d=a.length,e=u(a)?a.split(""):a,f=0;fb?null:u(a)?a.charAt(b):a[b]},Mb=function(a,b){return 0<=Bb(a,b)},Nb=function(a){return 0==a.length},Qb=function(a){if(!kb(a))for(var b=a.length-1;0<=b;b--)delete a[b]; a.length=0},Rb=function(a,b){Mb(a,b)||a.push(b)},Tb=function(a,b,c){var d;2==arguments.length||0>(d=Bb(a,c))?a.push(b):Sb(a,d,0,b)},Vb=function(a,b){b=Bb(a,b);var c;(c=0<=b)&&Ub(a,b);return c},Ub=function(a,b){return 1==Array.prototype.splice.call(a,b,1).length},Wb=function(a,b,c){b=Jb(a,b,c);return 0<=b?(Ub(a,b),!0):!1},Xb=function(a,b){var c=0;Cb(a,function(d,e){b.call(void 0,d,e,a)&&Ub(a,e)&&c++})},Yb=function(a){return Array.prototype.concat.apply([],arguments)},Zb=function(a){return Array.prototype.concat.apply([], arguments)},C=function(a){var b=a.length;if(0=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)},cc=function(a,b,c){b=b||a;var d=function(a){return nb(a)? "o"+qb(a):(typeof a).charAt(0)+a};c=c||d;d={};for(var e=0,f=0;fb?1:ae?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 nc=function(a,b){return 0==a.lastIndexOf(b,0)},oc=function(a,b){return a.toLowerCase()==b.toLowerCase()},pc=function(a,b){for(var c=a.split("%s"),d="",e=Array.prototype.slice.call(arguments,1);e.length&&1")&&(a=a.replace(uc,">"));-1!=a.indexOf('"')&&(a=a.replace(vc,"""));-1!=a.indexOf("'")&&(a=a.replace(wc,"'"));-1!=a.indexOf("\x00")&&(a=a.replace(xc,"�"));return a},sc=/&/g,tc=//g,vc=/"/g,wc=/'/g,xc=/\x00/g,rc=/[\x00&<>"']/,zc=function(a,b){return-1!=a.indexOf(b)},Ac=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)},Bc=function(a,b){a=r(void 0)?a.toFixed(void 0): String(a);var c=a.indexOf(".");-1==c&&(c=a.length);return Ac("0",Math.max(0,b-c))+a},Cc=function(a){return null==a?"":String(a)},Dc=function(){return Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^y()).toString(36)},Fc=function(a,b){var c=0;a=qc(String(a)).split(".");b=qc(String(b)).split(".");for(var d=Math.max(a.length,b.length),e=0;0==c&&eb?1:0},Gc=function(a){isFinite(a)&&(a=String(a));return u(a)?/^\s*-?0x/i.test(a)?parseInt(a,16):parseInt(a,10):NaN},Hc=function(a,b,c){a=a.split(b);for(var d=[];0parseFloat(Fd)){Ed=String(Hd);break a}}Ed=Fd}var Id=Ed,kd={},Jd=function(a){return ld(a,function(){return 0<=Fc(Id,a)})},Kd;var Ld=$a.document; Kd=Ld&&od?Dd()||("CSS1Compat"==Ld.compatMode?parseInt(Id,10):5):void 0; var Md=D("Firefox"),Nd=gd()||D("iPod"),Od=D("iPad"),Pd=D("Android")&&!(fd()||D("Firefox")||D("Opera")||D("Silk")),Qd=fd(),Rd=D("Safari")&&!(fd()||D("Coast")||D("Opera")||D("Edge")||D("Silk")||D("Android"))&&!hd();var Sd=null,Td=null,Vd=function(a){Ud();for(var b=Sd,c=[],d=0;d>2;e=(e&3)<<4|g>>4;g=(g&15)<<2|n>>6;n&=63;k||(n=64,f||(g=64));c.push(b[q],b[e],b[g],b[n])}return c.join("")},Xd=function(a){var b="";Wd(a,function(a){b+=String.fromCharCode(a)});return b},Yd=function(a){var b=a.length,c=0;"="===a[b-2]?c=2:"="===a[b-1]&&(c=1);var d=new Uint8Array(Math.ceil(3*b/4)-c),e=0;Wd(a,function(a){d[e++]=a});return d.subarray(0, e)},Wd=function(a,b){function c(b){for(;d>4);64!=g&&(b(f<<4&240|g>>2),64!=k&&b(g<<6&192|k))}},Ud=function(){if(!Sd){Sd={};Td={};for(var a=0;65>a;a++)Sd[a]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(a),Td[Sd[a]]=a,62<=a&&(Td["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(a)]= a)}}; var $d=function(a,b,c){this.l=null;this.G=this.H=this.g=this.o=this.F=0;this.I=!1;a&&Zd(this,a,b,c)},ae=[],be=function(a,b,c){if(ae.length){var d=ae.pop();a&&Zd(d,a,b,c);return d}return new $d(a,b,c)};$d.prototype.clone=function(){return be(this.l,this.F,this.o-this.F)};$d.prototype.clear=function(){this.l=null;this.g=this.o=this.F=0;this.I=!1}; var Zd=function(a,b,c,d){b=b.constructor===Uint8Array?b:b.constructor===ArrayBuffer?new Uint8Array(b):b.constructor===Array?new Uint8Array(b):b.constructor===String?Yd(b):new Uint8Array(0);a.l=b;a.F=r(c)?c:0;a.o=r(d)?a.F+d:a.l.length;a.g=a.F};$d.prototype.reset=function(){this.g=this.F}; $d.prototype.u=function(){var a=this.l;var b=a[this.g];var c=b&127;if(128>b)return this.g+=1,c;b=a[this.g+1];c|=(b&127)<<7;if(128>b)return this.g+=2,c;b=a[this.g+2];c|=(b&127)<<14;if(128>b)return this.g+=3,c;b=a[this.g+3];c|=(b&127)<<21;if(128>b)return this.g+=4,c;b=a[this.g+4];c|=(b&15)<<28;if(128>b)return this.g+=5,c>>>0;this.g+=5;128<=a[this.g++]&&128<=a[this.g++]&&128<=a[this.g++]&&128<=a[this.g++]&&this.g++;return c};$d.prototype.L=$d.prototype.u; var G=function(){},ce="function"==typeof Uint8Array,I=function(a,b,c,d,e,f){a.g=null;b||(b=c?[c]:[]);a.Jv=c?String(c):void 0;a.F=0===c?-1:0;a.l=b;a:{if(a.l.length&&(b=a.l.length-1,(c=a.l[b])&&"object"==typeof c&&!kb(c)&&!(ce&&c instanceof Uint8Array))){a.L=b-a.F;a.o=c;break a}-1=a?b.push("[...reached max depth limit...]"): b.push("[end]");return b.join("")},De=function(a){if(Ee[a])return Ee[a];a=String(a);if(!Ee[a]){var b=/function ([^\(]+)/.exec(a);Ee[a]=b?b[1]:"[Anonymous]"}return Ee[a]},Ee={}; var Fe=!od||9<=Number(Kd),Ge=od&&!Jd("9"),He=function(){if(!$a.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});$a.addEventListener("test",eb,b);$a.removeEventListener("test",eb,b);return a}(); var Ie=function(a){return rd?"webkit"+a:nd?"o"+a.toLowerCase():a.toLowerCase()},Je=Ie("AnimationStart"),Ke=Ie("AnimationEnd"),Le=Ie("AnimationIteration"),Me=Ie("TransitionEnd");var Ne=function(a,b){Q.call(this,a?a.type:"");this.relatedTarget=this.o=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=0;this.key="";this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.pointerId=0;this.pointerType="";this.g=null;a&&this.init(a,b)};A(Ne,Q);var Oe={2:"touch",3:"pen",4:"mouse"}; Ne.prototype.init=function(a,b){var c=this.type=a.type,d=a.changedTouches?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.o=b;(b=a.relatedTarget)?qd&&(jd(b,"nodeName")||(b=null)):"mouseover"==c?b=a.fromElement:"mouseout"==c&&(b=a.toElement);this.relatedTarget=b;null===d?(this.clientX=void 0!==a.clientX?a.clientX:a.pageX,this.clientY=void 0!==a.clientY?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0):(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,this.clientY= void 0!==d.clientY?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0);this.button=a.button;this.key=a.key||"";this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.pointerId=a.pointerId||0;this.pointerType=u(a.pointerType)?a.pointerType:Oe[a.pointerType]||"";this.state=a.state;this.g=a;a.defaultPrevented&&this.F()}; Ne.prototype.F=function(){Ne.ra.F.call(this);var a=this.g;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,Ge)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}}; var Pe="closure_listenable_"+(1E6*Math.random()|0),Qe=function(a){return!(!a||!a[Pe])},Re=0;var Se=function(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.Qb=e;this.key=++Re;this.removed=this.rg=!1},Te=function(a){a.removed=!0;a.listener=null;a.proxy=null;a.src=null;a.Qb=null};var Ue=function(a){this.src=a;this.g={};this.l=0};Ue.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=Ve(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.o;e;e=e.parentNode)c.push(e);a=a.type;for(e=c.length-1;0<=e;e--){b.o=c[e];var f=pf(c[e],a,!0,b);d=d&&f}for(e=0;e>>0),cf=function(a){if(mb(a))return a;a[qf]||(a[qf]=function(b){return a.handleEvent(b)});return a[qf]}; var rf=function(a,b){Q.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=y()};A(rf,Q);var sf=function(a){if(!a.l)try{a.l=a.json?JSON.parse(a.json):null}catch(b){return null}return a.l}; var tf=function(){},uf,vf,wf=new tf;tf.prototype.reset=function(){uf=void 0}; tf.prototype.isInstalled=function(){if(!r(uf))if(uf=!1,od){try{var a=new ActiveXObject("O1d.Plugin");uf=!0;vf="0.1.44.29"}catch(b){}if(!uf)try{a=new ActiveXObject("gtpo3d_host.O3DHostControl"),uf=!0,vf=xf(a.description)}catch(b){}if(!uf)try{a=new ActiveXObject("o3d_host.O3DHostControl"),uf=!0,vf=xf(a.description)}catch(b){}}else $a.navigator&&((a=navigator.mimeTypes["application/o1d"])&&a.enabledPlugin&&(uf=!0,vf="0.1.44.29"),uf||(a=navigator.mimeTypes["application/vnd.gtpo3d.auto"])&&a.enabledPlugin&& (uf=!0,vf=xf(a.enabledPlugin.description)),uf||(a=navigator.mimeTypes["application/vnd.o3d.auto"])&&a.enabledPlugin&&(uf=!0,vf=xf(a.enabledPlugin.description)));return uf};var xf=function(a){return(a=a.match(/\d+(?:\.\d+)+/))&&a[0]?a[0]:""};tf.prototype.Sa=function(){return this.isInstalled()?vf:null}; var yf=function(a,b,c){this.o=a;this.l=b||null;this.g=c||[]};yf.prototype.toString=function(){return this.o};var zf=!1,Af="",Bf=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&&(zf=!0,a.description)){Af=Bf(a.description);return}if(navigator.plugins["Shockwave Flash 2.0"]){zf=!0;Af="2.0.0.11";return}}if(navigator.mimeTypes&&navigator.mimeTypes.length&&(a=navigator.mimeTypes["application/x-shockwave-flash"],zf=!(!a||!a.enabledPlugin))){Af=Bf(a.enabledPlugin.description);return}try{var b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");zf=!0;Af=Bf(b.GetVariable("$version")); return}catch(c){}try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");zf=!0;Af="6.0.21";return}catch(c){}try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash"),zf=!0,Af=Bf(b.GetVariable("$version"))}catch(c){}})();var Cf=zf,Df=Af; var T=function(){xe.call(this);this.Pc=new Ue(this);this.oh=this;this.Ja=null};A(T,xe);T.prototype[Pe]=!0;var Ef=function(a,b,c){bf(a,b,c,void 0,void 0)};T.prototype.removeEventListener=function(a,b,c,d){kf(this,a,b,c,d)}; T.prototype.M=function(a){var b,c=this.Ja;if(c)for(b=[];c;c=c.Ja)b.push(c);c=this.oh;var d=a.type||a;if(u(a))a=new Q(a,c);else if(a instanceof Q)a.target=a.target||c;else{var e=a;a=new Q(d,c);dd(a,e)}e=!0;if(b)for(var f=b.length-1;0<=f;f--){var g=a.o=b[f];e=g.af(d,!0,a)&&e}g=a.o=c;e=g.af(d,!0,a)&&e;e=g.af(d,!1,a)&&e;if(b)for(f=0;f",0);og("",0);og("
",0); var qg=function(a){return function(){return a}},rg=qg(!0),sg=qg(null),tg=function(a){return a},ug=function(a){return function(){throw Error(a);}},vg=function(a){var b=b||0;return function(){return a.apply(this,Array.prototype.slice.call(arguments,0,b))}},xg=function(){var a=wg;return function(){return!a.apply(this,arguments)}},yg=function(a,b){var c=function(){};c.prototype=a.prototype;c=new c;a.apply(c,Array.prototype.slice.call(arguments,1));return c}; var zg=function(a,b){return a+Math.random()*(b-a)};var Ag="StopIteration"in $a?$a.StopIteration:{message:"StopIteration",stack:""},Bg=function(){};Bg.prototype.next=function(){throw Ag;};Bg.prototype.Nc=function(){return this}; var Cg=function(a){if(a instanceof Bg)return a;if("function"==typeof a.Nc)return a.Nc(!1);if(lb(a)){var b=0,c=new Bg;c.next=function(){for(;;){if(b>=a.length)throw Ag;if(b in a)return a[b++];b++}};return c}throw Error("q");},Dg=function(a,b){if(lb(a))try{B(a,b,void 0)}catch(c){if(c!==Ag)throw c;}else{a=Cg(a);try{for(;;)b.call(void 0,a.next(),void 0,a)}catch(c){if(c!==Ag)throw c;}}},Eg=function(a){if(lb(a))return C(a);a=Cg(a);var b=[];Dg(a,function(a){b.push(a)});return b}; var Gg=function(a,b){this.l={};this.g=[];this.u=this.o=0;var c=arguments.length;if(12*this.o&&Hg(this),!0):!1}; var Hg=function(a){if(a.o!=a.g.length){for(var b=0,c=0;b=d.g.length)throw Ag;var e=d.g[b++];return a?e:d.l[e]};return e}; var Ig=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)}; var Kg=function(a){return a.bb&&"function"==typeof a.bb?a.bb():lb(a)||u(a)?a.length:Oc(a)},Lg=function(a){if(a.ya&&"function"==typeof a.ya)return a.ya();if(u(a))return a.split("");if(lb(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},Xg=/#|$/,Yg=function(a,b){var c=a.search(Xg);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 Zg=function(a){this.g=this.L=this.o="";this.H=null;this.u=this.l="";this.F=!1;var b;a instanceof Zg?(this.F=r(void 0)?void 0:a.F,$g(this,a.o),this.L=a.L,this.g=a.g,ah(this,a.Xb()),this.l=a.l,bh(this,a.G.clone()),this.u=a.u):a&&(b=String(a).match(Sg))?(this.F=!1,$g(this,b[1]||"",!0),this.L=ch(b[2]||""),this.g=ch(b[3]||"",!0),ah(this,b[4]),this.l=ch(b[5]||"",!0),bh(this,b[6]||"",!0),this.u=ch(b[7]||"")):(this.F=!1,this.G=new dh(null,this.F))}; Zg.prototype.toString=function(){var a=[],b=this.o;b&&a.push(eh(b,fh,!0),":");var c=this.g;if(c||"file"==b)a.push("//"),(b=this.L)&&a.push(eh(b,fh,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.Xb(),null!=c&&a.push(":",String(c));if(c=this.l)this.g&&"/"!=c.charAt(0)&&a.push("/"),a.push(eh(c,"/"==c.charAt(0)?gh:hh,!0));(c=this.G.toString())&&a.push("?",c);(c=this.u)&&a.push("#",eh(c,ih));return a.join("")}; Zg.prototype.resolve=function(a){var b=this.clone(),c=!!a.o;c?$g(b,a.o):c=!!a.L;c?b.L=a.L:c=!!a.g;c?b.g=a.g:c=null!=a.H;var d=a.l;if(c)ah(b,a.Xb());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(zc(e,"./")||zc(e,"/.")){d=nc(e,"/");e=e.split("/");for(var f=[],g=0;gb)throw Error("s`"+b);a.H=b}else a.H=null},bh=function(a,b,c){b instanceof dh?(a.G=b,jh(a.G,a.F)):(c||(b=eh(b,kh)),a.G=new dh(b,a.F))},ch=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},eh=function(a,b,c){return u(a)?(a=encodeURI(a).replace(b,lh),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},lh=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},fh=/[#\/\?@]/g,hh= /[#\?:]/g,gh=/[#\?]/g,kh=/[#\?@]/g,ih=/#/g,dh=function(a,b){this.l=this.g=null;this.o=a||null;this.u=!!b},mh=function(a){a.g||(a.g=new Gg,a.l=0,a.o&&Vg(a.o,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};h=dh.prototype;h.bb=function(){mh(this);return this.l};h.add=function(a,b){mh(this);this.o=null;a=nh(this,a);var c=this.g.get(a);c||this.g.set(a,c=[]);c.push(b);this.l+=1;return this}; h.remove=function(a){mh(this);a=nh(this,a);return Ig(this.g.l,a)?(this.o=null,this.l-=this.g.get(a).length,this.g.remove(a)):!1};h.clear=function(){this.g=this.o=null;this.l=0};h.Vc=function(){mh(this);return 0==this.l};var oh=function(a,b){mh(a);b=nh(a,b);return Ig(a.g.l,b)};h=dh.prototype;h.Ue=function(a){var b=this.ya();return Mb(b,a)};h.forEach=function(a,b){mh(this);this.g.forEach(function(c,d){B(c,function(c){a.call(b,c,d,this)},this)},this)}; h.Cb=function(){mh(this);for(var a=this.g.ya(),b=this.g.Cb(),c=[],d=0;d":">","`":"`","\u0085":"…","\u00a0":" ","\u2028":"
","\u2029":"
"},xh=function(a){return wh[a]},yh={"\x00":"%00", "\u0001":"%01","\u0002":"%02","\u0003":"%03","\u0004":"%04","\u0005":"%05","\u0006":"%06","\u0007":"%07","\b":"%08","\t":"%09","\n":"%0A","\x0B":"%0B","\f":"%0C","\r":"%0D","\u000e":"%0E","\u000f":"%0F","\u0010":"%10","\u0011":"%11","\u0012":"%12","\u0013":"%13","\u0014":"%14","\u0015":"%15","\u0016":"%16","\u0017":"%17","\u0018":"%18","\u0019":"%19","\u001a":"%1A","\u001b":"%1B","\u001c":"%1C","\u001d":"%1D","\u001e":"%1E","\u001f":"%1F"," ":"%20",'"':"%22","'":"%27","(":"%28",")":"%29","<":"%3C", ">":"%3E","\\":"%5C","{":"%7B","}":"%7D","\u007f":"%7F","\u0085":"%C2%85","\u00a0":"%C2%A0","\u2028":"%E2%80%A8","\u2029":"%E2%80%A9","\uff01":"%EF%BC%81","\uff03":"%EF%BC%83","\uff04":"%EF%BC%84","\uff06":"%EF%BC%86","\uff07":"%EF%BC%87","\uff08":"%EF%BC%88","\uff09":"%EF%BC%89","\uff0a":"%EF%BC%8A","\uff0b":"%EF%BC%8B","\uff0c":"%EF%BC%8C","\uff0f":"%EF%BC%8F","\uff1a":"%EF%BC%9A","\uff1b":"%EF%BC%9B","\uff1d":"%EF%BC%9D","\uff1f":"%EF%BC%9F","\uff20":"%EF%BC%A0","\uff3b":"%EF%BC%BB","\uff3d":"%EF%BC%BD"}, zh=function(a){return yh[a]},Ah=/[\x00\x22\x27\x3c\x3e]/g,Bh=/[\x00- \x22\x27-\x29\x3c\x3e\\\x7b\x7d\x7f\x85\xa0\u2028\u2029\uff01\uff03\uff04\uff06-\uff0c\uff0f\uff1a\uff1b\uff1d\uff1f\uff20\uff3b\uff3d]/g,Ch=/^[^&:\/?#]*(?:[\/?#]|$)|^https?:|^data:image\/[a-z0-9+]+;base64,[a-z0-9+\/]+=*$|^blob:/i,Dh=/<(?:!|\/?([a-zA-Z][a-zA-Z0-9:\-]*))(?:[^>'"]|"[^"]*"|'[^']*')*>/g,Eh=/ \u30a2\u30a4\u30b3\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u304f\u3060\u3055\u3044\u3002'))}; var V=function(a){xe.call(this);this.N=a;this.F={}};A(V,xe);var Gh=[];V.prototype.listen=function(a,b,c,d){return Hh(this,a,b,c,d)}; var Hh=function(a,b,c,d,e,f){kb(c)||(c&&(Gh[0]=c.toString()),c=Gh);for(var g=0;g");c=c.join("")}c=a.createElement(c);d&&(u(d)?c.className=d:kb(d)?c.className=d.join(" "):fi(c,d));2a.l&&(a.l++,b.next=a.g,a.g=b)};var qi=function(a){$a.setTimeout(function(){throw a;},0)},ri,si=function(){var a=$a.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!D("Presto")&&(a=function(){var a=document.createElement("IFRAME");a.style.display="none";a.src="";document.documentElement.appendChild(a);var b=a.contentWindow;a=b.document;a.open();a.write("");a.close();var c="callImmediate"+Math.random(),d="file:"==b.location.protocol?"*":b.location.protocol+"//"+b.location.host; a=x(function(a){if(("*"==d||a.origin==d)&&a.data==c)this.port1.onmessage()},this);b.addEventListener("message",a,!1);this.port1={};this.port2={postMessage:function(){b.postMessage(c,d)}}});if("undefined"!==typeof a&&!D("Trident")&&!D("MSIE")){var b=new a,c={},d=c;b.port1.onmessage=function(){if(r(c.next)){c=c.next;var a=c.kk;c.kk=null;a()}};return function(a){d.next={kk:a};d=d.next;b.port2.postMessage(0)}}return"undefined"!==typeof document&&"onreadystatechange"in document.createElement("SCRIPT")? function(a){var b=document.createElement("SCRIPT");b.onreadystatechange=function(){b.onreadystatechange=null;b.parentNode.removeChild(b);b=null;a();a=null};document.documentElement.appendChild(b)}:function(a){$a.setTimeout(a,0)}}; var ti=function(){this.l=this.g=null},vi=new oi(function(){return new ui},function(a){a.reset()});ti.prototype.add=function(a,b){var c=vi.get();c.set(a,b);this.l?this.l.next=c:this.g=c;this.l=c};ti.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 ui=function(){this.next=this.l=this.g=null};ui.prototype.set=function(a,b){this.g=a;this.l=b;this.next=null};ui.prototype.reset=function(){this.next=this.l=this.g=null}; var Ai=function(a,b){wi||xi();yi||(wi(),yi=!0);zi.add(a,b)},wi,xi=function(){if($a.Promise&&$a.Promise.resolve){var a=$a.Promise.resolve(void 0);wi=function(){a.then(Bi)}}else wi=function(){var a=Bi;!mb($a.setImmediate)||$a.Window&&$a.Window.prototype&&!D("Edge")&&$a.Window.prototype.setImmediate==$a.setImmediate?(ri||(ri=si()),ri(a)):$a.setImmediate(a)}},yi=!1,zi=new ti,Bi=function(){for(var a;a=zi.remove();){try{a.g.call(a.l)}catch(b){qi(b)}pi(vi,a)}yi=!1}; var Ci=function(a){a.prototype.then=a.prototype.then;a.prototype.$goog_Thenable=!0},Di=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};var Fi=function(a,b){this.g=0;this.G=void 0;this.u=this.l=this.o=null;this.F=this.L=!1;if(a!=eb)try{var c=this;a.call(b,function(a){Ei(c,2,a)},function(a){Ei(c,3,a)})}catch(d){Ei(this,3,d)}},Gi=function(){this.next=this.context=this.l=this.u=this.g=null;this.o=!1};Gi.prototype.reset=function(){this.context=this.l=this.u=this.g=null;this.o=!1}; var Hi=new oi(function(){return new Gi},function(a){a.reset()}),Ii=function(a,b,c){var d=Hi.get();d.u=a;d.l=b;d.context=c;return d},Ji=function(a){if(a instanceof Fi)return a;var b=new Fi(eb);Ei(b,2,a);return b},Ki=function(a){return new Fi(function(b,c){c(a)})},Mi=function(a,b,c){Li(a,b,c,null)||Ai(ub(b,a))},Ni=function(a){return new Fi(function(b,c){a.length||b(void 0);for(var d=0,e;da.J?0==a.J?X(a.U,5E4,a):X(a.U,5E3,a):(kj(a,{step:"callback",error:"timeout"}),lj(a,-2),nj(a))}; ij.prototype.N=function(){if(1==this.l)if(null!=this.g.version){0!=this.u&&(this.u=!1,this.M("i"));try{if(8E3>this.O){X(this.N,250,this);this.O+=250;var a=!0}else kj(this,{step:"callback",error:"timeout"}),lj(this,-2),nj(this),a=!1;if(a){var b=x(this.$n,this);this.g.onmessage=b;if(this.V&&r(this.g.onmessageglobal)){var c=qb(this);bb("om_"+c,b,hi(this.o.g));this.g.onmessageglobal="om_"+c}kj(this,{step:"callback"});lj(this,2)}}catch(d){kj(this,{step:"callback",error:d.name,msg:d.message})}}else 1!= this.u&&(this.u=!0,this.M("i")),X(this.N,250,this)};var oj=function(a){dd(a.P,{domain:document.domain,useragent:Ic,pluginversion:a.Sa()});a.send(W(["mf",2,a.P]))};h=ij.prototype;h.Sa=function(){return this.g.version};h.ej=function(a){this.P=a;4<=this.l&&oj(this)};h.send=function(a,b){if(!(3>this.l))a:{try{this.g.send(a)}catch(c){b||this.M("k");break a}b||(a=new rf("of-msg",a),this.M(a))}};h.ro=function(){return this.u}; h.$n=function(a){2==this.l&&lj(this,3);var b=new rf("f-msg",a);switch(b.g){case "f-connect":kj(this,sf(b).pop());return;case "f-ready":kj(this,{step:"ready"});lj(this,4);oj(this);break;case "mf":JSON.parse(b.json);kj(this,{ok:!0,step:"done"});lj(this,5);break;case "f-dead":lj(this,-1);nj(this);break;case "jmidata":this.M(new rf("i-msg",a));this.M(new pj);this.H=0;break;case "f-kill":nj(this);mj(this);break;case "getproxyforurl":try{var c=this.g.getproxyforurl(b.json);this.send(c)}catch(d){}}a=y(); this.M(b);a=y()-a;5E3this.H&&(this.H=a)};var nj=function(a){a.M(new rf("f-msg",W(["mf","",""])))};ij.prototype.yb=function(){return this.l};var lj=function(a,b){b!=a.l&&(a.l=b,a.M("q"))};ij.prototype.Gk=function(){return this.F};ij.prototype.K=function(){this.g&&(this.g.onmessage=null,this.V&&null!=this.g.onmessageglobal&&(bb(this.g.onmessageglobal,null,hi(this.o.g)),this.g.onmessageglobal=null),od||this.o.Pk(this.g),this.g=null)}; ij.prototype.X=function(){this.K();this.G&&(gj(this.G),delete this.G);this.F=[];this.o=null;this.H=0;ij.ra.X.call(this)};var kj=function(a,b){100>a.F.length&&(b.t=""+y(),a.F.push(b))};ij.prototype.W=function(){this.M(new rj(this.F));delete this.G};var rj=function(){Q.call(this,"d")};A(rj,Q);var qj=function(){Q.call(this,"a")};A(qj,Q);var pj=function(){Q.call(this,"j")}; var tj=function(a){I(this,a,0,-1,sj,null)};A(tj,G);var sj=[6,19,29,30,34,38,41];h=tj.prototype;h.ua=function(){return l(this,1)};h.ha=function(a){J(this,1,a)};h.ga=function(){return l(this,12)};h.Yg=function(a){J(this,17,a)};h.la=function(){return l(this,35)};h.xb=function(a){J(this,35,a)}; var uj=function(a){this.l=a};uj.prototype.g=function(a,b){new vj(this.l,a,b||3E4)};var vj=function(a,b,c){V.call(this);this.g=b;this.l=a;this.listen(a,"f-msg",this.o);X(this.u,c,this)};A(vj,V); vj.prototype.o=function(a){a:{var b=l(this.g,21)||"";if("connection-broadcast"==a.g&&(a=sf(a),"hscreq"==a[2]["message-type"]&&a[2].id==b)){b=a[2].body;break a}b=null}if(null!=b){b=this.l;a=l(this.g,21)||"";var c=JSON.parse(this.g.Na());a=["connection-broadcast",{type:"same-jid"},{"message-type":"hscresp",id:a,body:c}];b instanceof ij?b.send(W(a)):b.ld(a);this.dispose()}};vj.prototype.u=function(){this.dispose()}; var wj=function(a){this.g=new Gg;if(a){a=Lg(a);for(var b=a.length,c=0;cc)return!1;!(b instanceof wj)&&5this.l&&(this.g=2,this.l=4294967295)},Cj=function(a){for(var b=a.l-a.g+1,c=Math.floor(a.g+b*Math.random()),d=0;a.o.contains(c);)if(c=b)return null;a.o.add(c);return c}; var Dj=function(a,b,c,d,e,f,g,k){this.G=a;this.u=b||0;this.g=r(c)?c:null;this.o=r(d)?d:null;this.l=r(e)?e:null;this.F=r(f)?f:null;this.H=r(g)?g:null;this.L=r(k)?k:null},Ej=new Gg({neon:1,sse2:2,ssse3:4,sse4_1:8,sse4_2:16,avx:32}),Gj=function(a){var b;var c=a[4],d=c.transports;if(null!=d){var e=!1,f=!1;for(b=0;bFc(a,"4.5.0.0")&&Vb(this.Ea,"bpd");this.U=c||{};null!=this.Ea&&dd(this.U,{exps:this.Ea});this.Sd=e||!1;this.xc=new Sh(this);a:{for(c=0;cb[1].indexOf("nf"))a.o=b,b=Uj(a),a.o[4]||(a.o[4]=b),a.o[4].os=Xj(a),a.o[4].clientver=1,r(a.o[4].renderer)||(a.o[4].renderer=1),a.o[4].browserRenderer=Hf(a.V),Cf&&(a.o[4].flashVersion=Df),null!=Gf(a.V)&&(a.o[4].o3dVersion=Gf(a.V).Sa()),null!=a.o[4].browser||(a.o[4].browser=b.browser),null!=a.o[4].clientver||(a.o[4].clientver=b.clientver),null!=a.o[4].connectsequence||(a.o[4].connectsequence=b.connectsequence),!a.Ie("3.12.0.0")&&r(a.o[4].videoRtpHdrExts)&&(a.o[4].videoRtpHdrExts= []),a.Ie("3.15.1.0")||Wb(a.o[4].audioCodecs||[],function(a){return"opus"==a[1]});Sj(a)},Sj=function(a){var b=a.Pb();b&&"nf0"!=b[1]?a.O=1:1==a.O?a.O=3:0==a.O&&(a.O=2);a.M(new Oj(b))},Xj=function(a){var b="other";if(xd)b="windows";else if(wd)b=-1!=ud.indexOf("Intel")?"mac":"mac-ppc";else if(0<=Ic.indexOf("CrOS"))b="cros";else{var c;!(c=!yd)&&(c=a.V)&&(a=a.V,c=!(a.l&&Gf(a)));c||(b="linux")}return b},Yj=function(){var a="Other";if(nd)a="Opera";else if(od)a="Internet Explorer";else if(Md)a="Firefox";else if(Qd){a:{a= navigator.plugins;for(b in a)if("Chromium PDF Viewer"==a[b].name){var b=!0;break a}b=!1}a=b?"Chromium-based":"Chrome"}else Rd&&(a="Safari");return a};Lj.prototype.Pb=function(a){if(this.o&&""!=this.o[1]){var b=this.o.slice();var c=Hf(this.V);a:{var d=b;var e;void 0==d?e=this.Pb():e=d;if(e&&(d=e[4].renderer))break a;d=0}c&d||(b[1]="nf0",b[2]="0.0.0")}else b=["mf","nf0","0.0.0",1,Uj(this)];return a?W(b):b};var Uj=function(a){var b="";a.G&&(b=a.G.Gk());return{os:Xj(a),browser:Yj(),clientver:1,connectsequence:b}}; Lj.prototype.Fg=function(){if(!this.xa)return 0;switch(this.xa.callType){case "v":return 3;case "a":return 1;default:return 0}};var Wj=function(a){if(!a.xa)return 0;switch(a.xa.pr){case "i":return 2;case "a":return 1;default:return 0}};h=Lj.prototype;h.sj=function(a,b,c,d,e){a=["jt",a,b,c,d];e&&a.push(e);this.ld(W(a))};h.Xi=function(){};h.Ie=function(a){var b=null!=this.U&&null!=this.U.pluginversion?this.U.pluginversion:this.Pb()[2];return 0<=Fc(b,a)};h.um=function(){return this.Ie("2.4.0.0")}; h.zm=function(){return!0};h.X=function(){Lj.ra.X.call(this);ze(this.xc);this.R.dispose();this.R=null;Rj(this);this.U=this.V=null};h.Sa=function(){return this.isInstalled()&&null!=this.Pb()?this.Pb()[2]:null};h.ah=function(){return this.xc};h.uk=function(){this.ld(["streamon","null@nowhere.com","nullsession","0",0,null,640,480])}; var Zj=new yf("OIU9Vb");var ak=function(a){I(this,a,"ci:dc",-1,null,null)};A(ak,G);P("ci:dc",ak);var bk=function(a){I(this,a,0,-1,null,null)};A(bk,G);var ck=function(a){I(this,a,0,-1,null,null)};A(ck,G);ck.prototype.getDevice=function(){return l(this,1)};var dk=function(a,b){J(a,1,b)};var ek=function(a){I(this,a,0,-1,null,null)};A(ek,G);var gk=function(a){I(this,a,0,-1,fk,null)};A(gk,G);var fk=[3],hk=function(a){I(this,a,0,-1,null,null)};A(hk,G);var jk=function(a){I(this,a,0,-1,ik,null)};A(jk,G);var ik=[3,4];var kk=function(a){I(this,a,0,-1,null,null)};A(kk,G);var lk=function(a){I(this,a,0,-1,null,null)};A(lk,G);var nk=function(a){I(this,a,"ci:cbb",-1,mk,null)};A(nk,G);var mk=[36];P("ci:cbb",nk);var ok=function(a){I(this,a,"ci:ec",-1,null,null)};A(ok,G);P("ci:ec",ok);var pk=function(a){I(this,a,"ci:gc",-1,null,null)};A(pk,G);P("ci:gc",pk);var qk=function(a){I(this,a,"ci:cpc",-1,null,null)};A(qk,G);P("ci:cpc",qk);var rk=function(a){I(this,a,"ci:ha:a",-1,null,null)};A(rk,G);P("ci:ha:a",rk);var sk=function(a){I(this,a,"ci:ha:q",-1,null,null)};A(sk,G);P("ci:ha:q",sk);var tk=function(a){I(this,a,"ci:ha",-1,null,null)};A(tk,G);P("ci:ha",tk);var uk=function(a){I(this,a,"ci:hpa",-1,null,null)};A(uk,G);P("ci:hpa",uk);var wk=function(a){I(this,a,"ci:csm",-1,vk,null)};A(wk,G);var vk=[15],xk=function(a){I(this,a,"ci:csmmc",-1,null,null)};A(xk,G);P("ci:csmmc",xk);P("ci:csm",wk);var yk=function(a){I(this,a,"ci:asc",-1,null,null)};A(yk,G);P("ci:asc",yk);var zk=function(a){I(this,a,"ci:cui:uss",-1,null,null)};A(zk,G);P("ci:cui:uss",zk);var Bk=function(a){I(this,a,"ci:cui",-1,Ak,null)};A(Bk,G);var Ak=[9,30];P("ci:cui",Bk);Bk.prototype.getDeviceId=function(){return l(this,19)};var Ck=function(a){I(this,a,"ci:cro",-1,null,null)};A(Ck,G);P("ci:cro",Ck);var Dk=function(a){Ck.call(this,a);this.ad="u";this.sd=!1;this.V="";this.Ja="channel";this.clientId="CLID"+String(Math.random()).substring(2);this.Fb="";this.version="local";this.ba="WCX";this.mb=-1;this.oa="_GC_roster";this.Sd=0;this.u=[];this.G=[];this.Zc=[];this.fa="";this.J="Google \u30c8\u30fc\u30af";this.Nd=this.rd=this.Od=!1;this.Ah=!0;this.nb=this.Ha=this.Ea=this.Fa=!1;this.Y=0;this.W=!1;this.La="";this.K=this.Ne=this.xh=!1;this.H="";this.Pf=!0;this.locale="ja";this.gc=this.sh=this.Pd=!1; this.yc=!0;this.xc=this.Ac=this.Bc=this.Mc=this.kc=this.Tb=!1;this.Td=null;this.Me=!0;this.bd=this.Kf=!1;this.Xa=1073741824;this.Le=Infinity;this.ci=this.ud=this.Da=this.xa=this.P=this.qd=this.od=this.pd=!1;this.va=!0;this.Ta=-1;this.ia=1;this.O=!1;this.Qd=this.Kb="";this.to=null;this.Dh=!0;this.$c=this.sa=this.Of=this.N=this.Qf=this.Lc=this.Za=this.zc=!1;this.tb=null;this.Rd=this.$h=this.hi=this.Ba=this.oh=this.lb=!1;r(m(K(this,qk,2,1),7,""))||(a=K(this,qk,2,1),J(a,7,""));this.I=!1;this.ma=null; this.U=this.R=0};A(Dk,Ck);var Ek=new yf("prW3ub");Dk.prototype.register=function(a){null===Fk(a,Ek)&&a.registerService(Ek,this)}; bb("GoogleChat_GetConfig",function(a,b,c,d,e,f,g,k,n,q,t,v,z,L,qa,ka,xb,Ya,cb,Oa,xa,fa,La,Ia,hb,Pa,R,ua,za,Ob,ac,Pg,S,E,F,kc,Fa,Pb,U,H,Ma,Db,Jf,sd,kO,lO,mO,nO,oO,pO,qO,rO,sO,tO,uO,vO,wO,xO,yO,zO,AO,BO,CO,DO,EO,FO,GO,HO,IO,JO,KO,LO,MO,LA,NO,OO,M){M&&(M=JSON.parse(M));M=new Dk(M);M.sd=!0;M.V=a;M.Ja=b;M.clientId=c;M.ad=d;M.Fb=e;M.version=f;M.ba=g;M.mb=k;M.oa=n;M.Sd=q;M.u=t;M.G=v;M.Zc=z;M.fa=L;M.J=qa;M.Od="aquasar"==qa||"Google-Voice"==qa;M.rd="hangout_lite"==qa||"hangout"==qa;M.pd="ChromeOS"==qa;M.od= "aChromeExtension"==qa;M.qd="gmail"==qa;M.Nd="present"==qa;M.Ah=ka;M.Fa=xb;M.Ea=Ya;M.Ha=cb;M.nb=Oa;M.Y=xa;M.W=fa;M.La=La;M.xh=Ia;M.Ne=hb;M.K=Pa;M.H=R;M.Pf=ua;M.locale=za;M.Pd=Ob;M.sh=ac;M.gc=Pg;M.yc=S;M.Tb=E;M.kc=F;M.Mc=kc;M.Bc=Fa;M.Ac=Pb;M.xc=U;M.Td=H;M.Kf=Ma;M.Me=Db;M.bd=Jf;M.Xa=sd;M.Le=kO;M.P=lO;M.xa=mO;M.Da=nO;M.ud=oO;M.ci=pO;M.va=qO;M.Ta=rO;M.ia=sO;M.O=tO;M.Kb=uO;M.Qd=vO;M.to=wO;M.Dh=xO;M.zc=yO;M.Za=zO;M.Lc=AO;M.Qf=BO;M.N=CO;M.Of=DO;M.sa=EO;M.$c=FO;M.tb=GO;M.lb=HO;M.oh=IO;M.Ba=JO;M.hi=KO;M.$h= LO;M.Rd=MO;M.I=hb||!l(K(M,wk,3,1),32);LA&&(M.ma=new ak(JSON.parse(LA)));M.R=NO||0;M.U=OO||0;switch(qa){case "docs":M.I=!1}return M},void 0); var Gk=function(a,b){this.o=a;this.g=b;this.constructor.Wj||(this.constructor.Wj={});this.constructor.Wj[this.toString()]=this};Gk.prototype.Na=function(){return this.toString()};Gk.prototype.toString=function(){this.l||(this.l=this.o.g+":"+this.g);return this.l};Gk.prototype.pa=function(){return this.g}; var Hk=function(a,b){Gk.call(this,a,b)};A(Hk,Gk);var Ik=function(a){var b={},c={},d=[],e=[],f=function(a){if(!c[a]){var e=a instanceof yf?a.g:[];c[a]=C(e);B(e,function(c){b[c]=b[c]||[];b[c].push(a)});e.length||d.push(a);B(e,f)}};for(B(a,f);d.length;){var g=d.shift();e.push(g);b[g]&&B(b[g],function(a){Vb(c[a],g);c[a].length||d.push(a)})}var k={},n=[];B(e,function(a){a instanceof yf&&(a=a.l,null==a||k[a]||(k[a]=!0,n.push(a)))});return{services:e,Qo:n}}; var Jk=new yf("pVbxBc"),Kk=new yf("n73qwf");/* Portions of this code are from MochiKit, received by The Closure Authors under the MIT license. All other code is Copyright 2005-2009 The Closure Authors. All Rights Reserved. */ var Lk=function(a,b){this.H=[];this.W=a;this.R=b||null;this.F=this.l=!1;this.u=void 0;this.O=this.Y=this.J=!1;this.I=0;this.o=null;this.G=0};Lk.prototype.cancel=function(a){if(this.l)this.u instanceof Lk&&this.u.cancel();else{if(this.o){var b=this.o;delete this.o;a?b.cancel(a):(b.G--,0>=b.G&&b.cancel())}this.W?this.W.call(this.R,this):this.O=!0;this.l||this.g(new Mk(this))}};Lk.prototype.P=function(a,b){this.J=!1;Nk(this,a,b)}; var Nk=function(a,b,c){a.l=!0;a.u=c;a.F=!b;Ok(a)},Qk=function(a){if(a.l){if(!a.O)throw new Pk(a);a.O=!1}};Lk.prototype.na=function(a){Qk(this);Nk(this,!0,a)};Lk.prototype.g=function(a){Qk(this);Nk(this,!1,a)};Lk.prototype.ca=function(a,b){return Rk(this,a,null,b)};var Sk=function(a,b,c){return Rk(a,null,b,c)},Tk=function(a,b,c){return Rk(a,b,b,c)},Rk=function(a,b,c,d){a.H.push([b,c,d]);a.l&&Ok(a);return a}; Lk.prototype.then=function(a,b,c){var d,e,f=new Fi(function(a,b){d=a;e=b});Rk(this,d,function(a){a instanceof Mk?f.cancel():e(a)});return f.then(a,b,c)};Ci(Lk);var Uk=function(a,b){b instanceof Lk?a.ca(x(b.L,b)):a.ca(function(){return b})};Lk.prototype.L=function(a){var b=new Lk;Rk(this,b.na,b.g,b);a&&(b.o=this,this.G++);return b};Lk.prototype.isError=function(a){return a instanceof Error}; var Vk=function(a){return Hb(a.H,function(a){return mb(a[1])})},Ok=function(a){if(a.I&&a.l&&Vk(a)){var b=a.I,c=Wk[b];c&&($a.clearTimeout(c.g),delete Wk[b]);a.I=0}a.o&&(a.o.G--,delete a.o);b=a.u;for(var d=c=!1;a.H.length&&!a.J;){var e=a.H.shift(),f=e[0],g=e[1];e=e[2];if(f=a.F?g:f)try{var k=f.call(e||a.R,b);r(k)&&(a.F=a.F&&(k==b||a.isError(k)),a.u=b=k);if(Di(b)||"function"===typeof $a.Promise&&b instanceof $a.Promise)d=!0,a.J=!0}catch(n){b=n,a.F=!0,Vk(a)||(c=!0)}}a.u=b;d&&(k=x(a.P,a,!0),d=x(a.P,a,!1), b instanceof Lk?(Rk(b,k,d),b.Y=!0):b.then(k,d));c&&(b=new Xk(b),Wk[b.g]=b,a.I=b.g)},Yk=function(a){var b=new Lk;b.na(a);return b},Zk=function(a){var b=new Lk;a.then(function(a){b.na(a)},function(a){b.g(a)});return b},$k=function(a){var b=new Lk;b.g(a);return b},Pk=function(){wb.call(this)};A(Pk,wb);Pk.prototype.message="Deferred has already fired";Pk.prototype.name="AlreadyCalledError";var Mk=function(){wb.call(this)};A(Mk,wb);Mk.prototype.message="Deferred was canceled";Mk.prototype.name="CanceledError"; var Xk=function(a){this.g=$a.setTimeout(x(this.l,this),0);this.o=a};Xk.prototype.l=function(){delete Wk[this.g];throw this.o;};var Wk={}; var bl=function(a){xe.call(this);this.l={};this.H={};this.F={};this.g={};this.o={};this.K={};this.G=a?a.G:new T;this.R=!a;this.u=null;a?(this.u=a,this.F=a.F,this.g=a.g,this.H=a.H,this.o=a.o):y();a=al(this);this!=a&&(a.I?a.I.push(this):a.I=[this])};A(bl,xe);var cl=.05>Math.random(),al=function(a){for(;a.u;)a=a.u;return a},dl=function(a,b){for(;a;){if(a==b)return!0;a=a.u}return!1};bl.prototype.get=function(a){var b=Fk(this,a);if(null==b)throw new el(a);return b}; var fl=function(a,b){return!(!a.l[b]&&!a.F[b])},Fk=function(a,b){for(var c=a;c;c=c.u){if(c.L)throw Error("A");if(c.l[b])return c.l[b][0];if(c.K[b])break}if(c=a.F[b]){c=c(a);if(null==c)throw Error("B`"+b);a.registerService(b,c);return c}return null},hl=function(a,b,c){return gl(a,[b],c)[b]},gl=function(a,b,c){var d=!c;c={};for(var e=[],f=[],g={},k={},n=Fk(a,Jk),q=0;q>1;c>b[f].pk?e=f-1:d=f+1}d=c.length)throw Ag;var d=c.key(b++);if(a)return d;d=c.getItem(d);if(!u(d))throw"Storage mechanism: Invalid value was encountered";return d};return d};h.clear=function(){this.g.clear()};h.key=function(a){return this.g.key(a)}; var Ol=function(){var a=null;try{a=window.localStorage||null}catch(b){}this.g=a};A(Ol,Ml);var Ql=function(a,b){this.l=a;this.g=null;if(od&&!(9<=Number(Kd))){Pl||(Pl=new Gg);this.g=Pl.get(a);this.g||(b?this.g=document.getElementById(b):(this.g=document.createElement("userdata"),this.g.addBehavior("#default#userData"),document.body.appendChild(this.g)),Pl.set(a,this.g));try{this.g.load(this.l)}catch(c){this.g=null}}};A(Ql,Ll); var Rl={".":".2E","!":".21","~":".7E","*":".2A","'":".27","(":".28",")":".29","%":"."},Pl=null,Sl=function(a){return"_"+encodeURIComponent(a).replace(/[.!~*'()%]/g,function(a){return Rl[a]})};h=Ql.prototype;h.set=function(a,b){this.g.setAttribute(Sl(a),b);Tl(this)};h.get=function(a){a=this.g.getAttribute(Sl(a));if(!u(a)&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a};h.remove=function(a){this.g.removeAttribute(Sl(a));Tl(this)};h.bb=function(){return Ul(this).attributes.length}; h.Nc=function(a){var b=0,c=Ul(this).attributes,d=new Bg;d.next=function(){if(b>=c.length)throw Ag;var d=c[b++];if(a)return decodeURIComponent(d.nodeName.replace(/\./g,"%")).substr(1);d=d.nodeValue;if(!u(d))throw"Storage mechanism: Invalid value was encountered";return d};return d};h.clear=function(){for(var a=Ul(this),b=a.attributes.length;0b.l&&9!=b.l&&(f=dm)}else if("AuthenticAMD"==b.g)switch(b.o){case 4:case 5:case 6:f=dm}else"ARM"!=b.g&&(f=dm);-1==b.F||0!=b.u&&1!=b.u||2==(b.F&2)||(f=dm);e=f;e==cm&&(e=("GenuineIntel"==b.g&&!Hj(b)||null!=b.L&&em[b.L]?"GenuineIntel"!=b.g||Hj(b)?bm:null:am)||e);return e},hm=function(a){var b=a.Ef;1280=a.g.length)throw Error("F");return a.g.lengtha.o.length){for(var d=a.u.length;d&&127this.o.length){var b=Ri(),d=new FileReader;d.onload=x(function(){this.u.set(new Uint8Array(d.result)); b.resolve()},this);d.readAsArrayBuffer(a.slice(0,this.u.length));var g=Ri(),k=new FileReader;k.onload=x(function(){this.g.set(new Uint8Array(k.result));g.resolve()},this);k.readAsArrayBuffer(a.slice(a.size-this.g.length,a.size));c.resolve(Pi([b.$,g.$]))}else{var n=new FileReader;n.onload=x(function(){var a=new Uint8Array(n.result);this.o.set(a);this.l>this.u.length&&(this.G=(this.l-this.u.length)%this.g.length);c.resolve()},this);n.readAsArrayBuffer(a)}},x(c.reject,c),a);return c.$},bn=function(a, b,c){var d=Ri();Oi([b,c]).then(function(a){a[1].createWriter(x(function(a){a.seek(a.length);a.onwriteend=x(this.I,this);d.resolve(a)},this),x(d.reject,d))},x(d.reject,d),a);return d.$}; Xm.prototype.I=function(){this.H&&this.H.readyState!=this.H.WRITING&&0>=8);b[c++]=e}for(a=0;ad&&l(a,2)!=c});le(f,1,g);return f}}catch(k){}return new fn}; hn.prototype.add=function(a,b){this.l.add(b);var c=ln(this,a,b),d=N(c,gn,1),e=new gn;J(e,1,5);e.Oa(b);b=y();J(e,3,b);Sb(d,void 0,0,e);le(c,1,d);this.g.set(kn(a),c.Na())};hn.prototype.remove=function(a,b){b=ln(this,a,b);this.g.set(kn(a),b.Na())};var mn=function(a,b){var c=ln(a,b),d=N(c,gn,1),e=Jb(d,function(a){a=l(a,2);return!this.l.contains(a)},a);if(0<=e){var f=d[e],g=l(f,2),k=l(f,1);k--;J(f,1,k);0>=k&&Ub(d,e);le(c,1,d);a.g.set(kn(b),c.Na());a.l.add(g);return g}return null}; var on=function(){this.u="";this.J=0;this.K=!1;this.I=null;this.G=new Xm;this.g={};this.F=nn();Vi(this.F,eb);this.o=hn.hb();this.L=this.l=null;this.R=window.requestIdleCallback||null};fb(on); var qn=function(a,b){a.l=b;a.g[b]=a.G;a.G=new Xm;a.g[b].open(a.F,"hangouts-call-"+b+".log");var c=new Date;pn(a,b,"### Start ["+c.toString()+"] ### "+b);pn(a,b,"Current time is "+c.toUTCString());pn(a,b,"Google Talk Plugin Version: "+a.u);pn(a,b,"User agent: "+Ic)},pn=function(a,b,c,d){var e=y();null==a.I&&(a.I=e);d=null!=d?d:8;if(!(da&&b.setFullYear(b.getFullYear()-1900);return b};h=Bo.prototype;h.Bg=yo.lh;h.Cg=yo.mh;h.clone=function(){var a=new Bo(this.g);a.Bg=this.Bg;a.Cg=this.Cg;return a}; h.getFullYear=function(){return this.g.getFullYear()};h.getMonth=function(){return this.g.getMonth()};h.getDate=function(){return this.g.getDate()};h.getTime=function(){return this.g.getTime()};h.getDay=function(){return this.g.getDay()};h.getUTCFullYear=function(){return this.g.getUTCFullYear()};h.getUTCMonth=function(){return this.g.getUTCMonth()};h.getUTCDate=function(){return this.g.getUTCDate()};h.getUTCHours=function(){return this.g.getUTCHours()};h.getUTCMinutes=function(){return this.g.getUTCMinutes()}; h.getTimezoneOffset=function(){return this.g.getTimezoneOffset()};h.set=function(a){this.g=new Date(a.getFullYear(),a.getMonth(),a.getDate())}; h.add=function(a){if(a.L||a.u){var b=this.getMonth()+a.u+12*a.L,c=this.getFullYear()+Math.floor(b/12);b%=12;0>b&&(b+=12);a:{switch(b){case 1:var d=0!=c%4||0==c%100&&0!=c%400?28:29;break a;case 5:case 8:case 10:case 3:d=30;break a}d=31}d=Math.min(d,this.getDate());this.g.setDate(1);this.g.setFullYear(c);this.g.setMonth(b);this.g.setDate(d)}a.g&&(a=new Date((new Date(this.getFullYear(),this.getMonth(),this.getDate(),12)).getTime()+864E5*a.g),this.g.setDate(1),this.g.setFullYear(a.getFullYear()),this.g.setMonth(a.getMonth()), this.g.setDate(a.getDate()),Ao(this,a.getDate()))};h.bh=function(a){return[this.getFullYear(),Bc(this.getMonth()+1,2),Bc(this.getDate(),2)].join(a?"-":"")};h.kb=function(a){return!(!a||this.getFullYear()!=a.getFullYear()||this.getMonth()!=a.getMonth()||this.getDate()!=a.getDate())};h.toString=function(){return this.bh()};var Ao=function(a,b){a.getDate()!=b&&a.g.setUTCHours(a.g.getUTCHours()+(a.getDate()=HTMLMediaElement.HAVE_ENOUGH_DATA?g.play():af(g,"canplaythrough",function(){g.play()})):d&&a.M(new Ro)},Qo=function(a, b,c){return new Promise(function(d){b.setSinkId?c==b.sinkId?d():b.setSinkId(c).then(function(){d()},function(b){Y(a.O,"Failed to set sink ID on audio element "+("(sinkId="+a.H+"). Error="+b));d()}):(Y(a.O,"Did not set sink ID "+("(sinkId="+a.H+"). 'setSinkId' function is not ")+"defined."),d())})},To=function(a,b,c){var d=a.G[b];null==d&&(d=ki("AUDIO"),An(42)&&(d.crossOrigin="anonymous"),d.src=c,d.load(),a.G[b]=d);d.readyState>=HTMLMediaElement.HAVE_ENOUGH_DATA?a.K(b,!0):af(d,"canplaythrough",x(a.K, a,b,!1))};No.prototype.K=function(a,b){this.M(new Uo(a,b,!0))};No.prototype.R=function(a){var b=this.o[a];null!=b&&(window.URL.revokeObjectURL(b.src),delete this.o[a]);this.M(new Vo(a))};No.prototype.X=function(){null!=this.l&&delete this.l;No.ra.X.call(this)};var Uo=function(a,b,c){Q.call(this,"z");this.key=a;this.g=b;this.success=c};A(Uo,Q);var Ro=function(){Q.call(this,"A")};A(Ro,Q);var Vo=function(a){Q.call(this,"B");this.g=a};A(Vo,Q);var Po=function(a){Q.call(this,"y");this.g=a};A(Po,Q); var Wo=function(a,b,c){this.g=a;this.volume=b;this.reset=c}; var Xo=function(){T.call(this);this.l=new V(this);this.da(this.l);this.g=null;this.o=!1};A(Xo,T); var Yo=function(a){if(a.o)return null!=a.g;a.o=!0;try{return a.g=new No,a.l.listen(a.g,"z",x(a.eq,a)),a.l.listen(a.g,"A",x(a.Cp,a)),a.l.listen(a.g,"B",x(a.yr,a)),a.l.listen(a.g,"y",x(a.xr,a)),!0}catch(b){return!1}},Zo=function(a){return Yo(a)&&!Xc(a.g.o)},bp=function(a,b){if(!Yo(a))return a.M(new $o({warning:"WebAudio engine constructor failed."})),!1;var c=b.action;if("init"==c){if("play_audio"==b.id){c=b.effect_handle;var d=b.properties.resource,e=d.key,f=ap(d);d=a.g;var g=c;b="tx"==b.dir;To(d, e,f);f=d.G[e];e in d.F||(d.F[e]=[]);d.F[e].push(g);d.u[g]=f.cloneNode(!0);e=d.l.createMediaElementSource(d.u[g]);d.N[g]=e;b?e.connect(d.I):(b=d.l.createMediaStreamDestination(),e.connect(b),d.J[g]=b);a.M(new $o({effect_handle:c,status:"initialized"}));return!0}}else if("enable"==c){if("play_audio"==b.id)return c=b.effect_handle,d=b.properties,So(a.g,c,new Wo(Zc(d,"loop",!1),Zc(d,"volume",1),Zc(d,"reset",!1))),!0}else if("disable"==c){if("play_audio"==b.id)return c=b.effect_handle,a=a.g.u[c],a.pause(), a.currentTime=0,!0}else if("manage_resource"==c){if((c=b.properties.load_resource)&&"audio"==c.type)return e=c.key,f=ap(c),To(a.g,e,f),!0;c=b.properties.delete_resource;c=null!=c?c:null;if(null!=c&&null!=a.g.G[c]){a=a.g;delete a.G[c];d=a.F[c];if(null!=d){for(g=0;gb?b/2E3:2E3>b?(b-1E3)/2E3+.5:3E3>b?(b-2E3)/2E3+1:4E3>b?(b-3E3)/2E3+1.5:6E3>b?(b-4E3)/4E3+2:1E4>b?(b-6E3)/8E3+2.5:15E3>b?(b-1E4)/1E4+3:19E3>b?(b-15E3)/8E3+3.5:22E3>b?(b-19E3)/6E3+4:32767>=b?(b-22E3)/21534+4.5:5}; var hq=function(a,b,c,d){T.call(this);this.I=new Io("talk.media.webrtc.AudioOutput");this.o=a;this.F=b;this.H=new V(this);this.da(this.H);this.g=[];this.G=0;this.l=null;c&&(a=eq().createAnalyser(),a.fftSize=2048,eq().createMediaStreamSource(b).connect(a),this.l=a);this.u=d;gq(this,1)};p(hq,T);hq.prototype.toString=function(){return"AudioOutput(stream="+this.F+", volume="+this.G+", elements.length="+this.g.length+")"}; var iq=function(a,b){a.I.g("["+a+"] "+b)},gq=function(a,b){if(a.o){iq(a,"Setting volume to "+b+".");var c=Math.ceil(b)-a.g.length;if(0c){c=-c;iq(a,"Removing "+c+" elements.");for(var d=0;dc.o()&&Y(a.u,"Negative fps! s:{"+c.start.toString()+"} e:{"+c.g.toString()+"}"),a.l.get(b).push(c))};mq.prototype.G=function(){this.o.forEach(function(a,b){B(a,function(a){tq(this,b,a)},this)},this)}; var uq=function(a){var b=0,c=0;B(a,function(a){b+=a.g.g-a.start.g;c+=a.g.timestamp-a.start.timestamp});return 0==c?null:b/c},vq=function(a){var b=[];B(a,function(a){a.u||(b.push({t:a.start.timestamp,c:1,i:a}),b.push({t:a.g.timestamp,c:-1,i:a}))});gc(b);var c=0,d=0,e=-Infinity,f=[];B(b,function(a){var b=a.t,g=b-e;0=c.length)){var g=c[f];g instanceof wq?0, sessionParams_="+(null!=this.g?"":null)+", tag="+this.o+")"};h.re=function(){return this.l};h.qe=function(){return this.u};h.Vf=function(){return this.g};h.ae=function(){return this.o};var ir=function(){this.u=this.g=this.l=this.o=null};ir.prototype.S=function(){return new hr(this)}; var jr=function(a,b){a.o=b;return a},kr=function(a,b){a.l=b;return a},lr=function(a,b){a.u=b;return a}; var mr=function(a,b,c,d){this.l=a;this.u=b;this.g=c;this.o=d};mr.prototype.toString=function(){return"DataChannelDescriptor(label="+this.o+" id="+this.l+", SSRC="+this.g+", format="+this.u+")"};mr.prototype.getChannelId=function(){return this.l};mr.prototype.pc=function(){return this.o};mr.prototype.kb=function(a){return null==a?!1:this.l==a.l&&this.o==a.o&&this.g==a.g}; var nr=function(a){this.g=a.g;this.l=a.l;this.o=a.o};nr.prototype.toString=function(){return"BandwidthConstraints("+("minBandwidthKbps="+this.l+", ")+("maxBandwidthKbps="+this.g+", ")+("startBandwidthKbps="+this.o)};var or=function(){this.o=this.l=this.g=-1};or.prototype.S=function(){return new nr(this)}; var pr=function(a){this.o=a.o;this.g=a.g;this.l=a.l};pr.prototype.toString=function(){return"RtpHeaderExtension(uri="+this.o+", id="+this.g+", mediaType="+this.l+")"};pr.prototype.Tc=function(){return this.o};pr.prototype.getId=function(){return this.g};pr.prototype.la=function(){return this.l};var qr=function(){this.l=this.g=this.o=null};qr.prototype.S=function(){return new pr(this)};var rr=function(a,b){a.o=b;return a},sr=function(a,b){a.g=b;return a},tr=function(a,b){a.l=b;return a}; var ur=function(a){this.u=a.o;this.g=a.l;this.o=a.u;this.l=a.g};ur.prototype.Xb=function(){return this.u};var vr=function(){this.g=this.u=this.l=this.o=null};vr.prototype.S=function(){return new ur(this)};var wr=function(a,b){a.o=b;return a},xr=function(a,b){a.l=b;return a},yr=function(a,b){a.g=b;return a}; var zr=function(a){this.g=a.g;this.Jg=a.l};zr.prototype.toString=function(){return"RIDs(send="+this.Jg+", rids="+C(this.g)+")"};var Ar=function(){this.g=[];this.l=!0};Ar.prototype.S=function(){return new zr(this)};var Br=function(a,b){a.g=C(b);return a}; var Cr=function(a){this.g=a.g;this.l=C(a.l)};Cr.prototype.toString=function(){return"SsrcGroup(semantics="+this.g+", ssrcs="+this.l+")"};Cr.prototype.Ua=function(){return C(this.l)};var Dr=function(){this.g=null;this.l=[]};Dr.prototype.S=function(){return new Cr(this)};var Er=function(a){var b=new Dr;b.g=a;return b},Fr=function(a,b){a.l=C(b);return a}; var Gr=function(a,b,c,d){this.g=a;this.l=b;this.width=c;this.height=d};Gr.prototype.clone=function(){return new Gr(this.g,this.l,this.width,this.height)};var Hr=function(a,b){return a==b?!0:a&&b?a.g==b.g&&a.width==b.width&&a.l==b.l&&a.height==b.height:!1};Gr.prototype.contains=function(a){return this.g<=a.g&&this.g+this.width>=a.g+a.width&&this.l<=a.l&&this.l+this.height>=a.l+a.height}; Gr.prototype.ceil=function(){this.g=Math.ceil(this.g);this.l=Math.ceil(this.l);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};Gr.prototype.floor=function(){this.g=Math.floor(this.g);this.l=Math.floor(this.l);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};Gr.prototype.round=function(){this.g=Math.round(this.g);this.l=Math.round(this.l);this.width=Math.round(this.width);this.height=Math.round(this.height);return this}; var Jr=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;T.call(this);this.H=a;this.I=b;this.J=c;this.o=d;this.u=e;this.G="sc"!==d;this.l=null;Ir(this,g);this.Df=f};p(Jr,Wq);h=Jr.prototype;h.toString=function(){return"Source(id="+this.I+" type="+this.J+" content="+this.o+" state="+this.u+" participantId="+this.H+")"};h.Z=function(){return this.H};h.Ma=function(a){this.H=a};h.getId=function(){return this.I};h.pa=function(){return this.J}; h.getContent=function(){return this.o};h.setContent=function(a){this.o!=a&&(this.o=a,this.M("G"))};h.getState=function(){return this.u};h.zb=function(a){this.u!=a&&(this.u=a,this.M("I"))};var Ir=function(a,b){var c=null!=a.l&&!Nb(a.l),d=null!=b&&!Nb(b);d?b=C(b).sort(function(a,b){return a.g-b.g||a.l-b.l||a.width-b.width||a.height-b.height}):b=null;if(c=d!=c||d&&!ic(a.l,b,Hr))a.l=b;return c};Jr.prototype.ff=function(){return this.l&&C(this.l)}; Jr.prototype.M=function(a){return Wq.prototype.M.call(this,a)}; var Kr=function(a){this.G=a.F;this.H=a.G;this.g=a.I;this.J=a.K;this.l=a.L;this.L=a.l;this.Wc=a.o;this.F=a.u;this.I=C(a.g);this.o=a.H;this.u=C(a.J)};h=Kr.prototype;h.toString=function(){return"Stream(participantId="+this.H+", mediaType="+this.G+", sourceId="+this.g+", streamId="+this.J+", muted="+this.l+", croppable="+this.L+", mediaStreamId="+this.Wc+", mediaStreamTrackId="+this.F+", ssrcs="+this.I+", rids="+this.o+", ssrcGroups="+this.u+")"};h.la=function(){return this.G};h.Z=function(){return this.H}; h.ub=function(){return this.J};h.Ua=function(){return C(this.I)};h.matches=function(a){return this.Z()==a.Z()&&this.la()==a.la()&&this.g==a.g&&this.ub()==a.ub()};var sa=function(a){this.F=(a=void 0===a?null:a)?a.G:null;this.G=a?a.H:"";this.I=a?a.g:null;this.K=a?a.J:null;this.L=a?a.l:!1;this.l=a?a.L:!0;this.o=a?a.Wc:null;this.u=a?a.F:null;this.g=a?C(a.I):[];this.H=a?a.o:null;this.J=a?C(a.u):[]};sa.prototype.S=function(){return new Kr(this)}; var Lr=function(a,b){a.F=b;return a},Mr=function(a,b){a.G=b;return a},Nr=function(a,b){a.I=b;return a},Or=function(a,b){a.K=b;return a},Pr=function(a,b){a.L=b;return a},Qr=function(a,b){a.l=b;return a},Rr=function(a,b){a.o=b;return a},Sr=function(a,b){a.u=b;return a},ra=function(a,b){a.g=C(b);return a},Tr=function(a,b){a.g.push(b);return a};sa.prototype.Ua=function(){return C(this.g)};var Ur=function(a,b){a.H=b;return a},Vr=function(a,b){a.J=C(b);return a}; var Wr=function(a){this.L=a.o;this.G=a.G;this.F=a.u;this.l=a.g&&a.g.clone();this.g=a.l;this.o=a.F;this.I=a.L;this.u=a.I;this.H=a.H.slice()};h=Wr.prototype;h.toString=function(){return"StreamRequest(participantId: "+this.L+", sourceId: "+this.G+", mediaType: "+this.F+", resolution: "+(this.l&&this.l.width+"x"+this.l.height)+", frameRate: "+this.g+", adaptationReason: "+this.u+", send: "+this.o+", ssrcs: "+this.H+")"};h.Z=function(){return this.L};h.la=function(){return this.F};h.Gc=function(){return this.G}; h.Mb=function(){return this.l&&this.l.clone()};h.Ua=function(){return this.H};h.$b=function(){return this.l&&this.l.width};h.getHeight=function(){return this.l&&this.l.height};h.matches=function(a){return this.Z()==a.Z()&&Xr(this,a)};var Xr=function(a,b){return a.la()==b.la()&&a.Gc()==b.Gc()},Yr=function(a){this.o=(a=void 0===a?null:a)?a.L:"";this.G=a?a.G:"";this.u=a&&a.F;this.g=a&&a.l&&a.l.clone();this.l=a&&a.g;this.F=null===a?!0:a.o;this.L=a&&a.I;this.I=a&&a.u||0;this.H=a&&a.H||[]}; Yr.prototype.S=function(){return new Wr(this)};var Zr=function(a,b){a.u=b;return a},$r=function(a,b){a.H=b;return a},as=function(a,b){a.G=b;return a},bs=function(a,b){a.L=b;return a},cs=function(a,b){a.F=b;return a},ds=function(a,b){a.g=new bi(b.width,b.height);return a},es=function(a,b){a.l=b;return a},fs=function(a){var b=new bi(0,0),c=Math.min;null!==a.g&&(b=new bi(c(a.g.width,b.width),c(a.g.height,b.height)));return ds(a,b)},gs=function(a){a.l=Math.min(a.l||Infinity,0);return a}; var hs=function(a,b,c,d){this.N=a;this.I=b;this.g=c;this.o=void 0===d?null:d;this.l=null;this.H=[];this.G="";this.u=[];this.K=this.J=!0;this.F=[];this.L=null},ks=function(a){if(a.l){var b=a.l;b={port:b.Xb(),name:b.g,messagesize:b.o,numstreams:b.l}}else b={};return{type:a.pa(),mediaId:is(a),bandwidthConstraints:String(a.o),codecs:js(a),streams:la(a),sctpSettings:b,defaultRequests:C(a.u).map(String),send:a.J,receive:a.K}},ls=function(a){var b=new hs(a.N,a.I,a.g,a.o);b.l=a.l;b.H=a.H;b.G=a.G;b.u=a.u; b.J=a.J;b.K=a.K;b.F=a.F;b.L=a.L;return b};hs.prototype.pa=function(){return this.N}; var js=function(a){return C(a.I)},ms=function(a,b){a=ls(a);a.I=b;return a},ns=function(a,b){a=ls(a);a.l=b;return a},os=function(a,b){a=ls(a);a.g=b;return a},la=function(a){return C(a.H)},na=function(a,b){a=ls(a);a.H=b;return a},is=function(a){if(a.G)return a.G;switch(a.N){case "a":return"audio";case "v":return"video";case "d":return"data";default:return""}},ps=function(a,b){a=ls(a);a.G=b;return a},qs=function(a,b){a=ls(a);a.u=b;return a},rs=function(a,b){null==b&&(b=-1);a=ls(a);var c=new or;c.g=b; a.o=c.S();return a},ss=function(a){return a.o?a.o.g:null},ts=function(a,b){a=ls(a);a.o=b;return a},us=function(a,b){a=ls(a);a.J=b;return a},vs=function(a,b){a=ls(a);a.K=b;return a},ws=function(a,b){a=ls(a);a.F=b;return a},xs=function(a,b){a=ls(a);a.L=b;return a},zs=function(a,b,c){var d=new Set(c.map(ys));c=la(a);Xb(c,function(a){return d.has(a.ub())});return na(a,c.concat(b))},Bs=function(a,b){var c=void 0===c?tg:c;return As(a,function(a){return Zq(a,b)},c)},As=function(a,b,c){c=void 0===c?tg:c; b=Jb(a.I,b);if(-1==b)return a;var d=js(a);c=c(d[b]);Ub(d,b);Sb(d,0,0,c);return ms(a,d)},Cs=function(a,b){if(null===b)return a;var c=ls(a),d=ss(b);d&&(c=rs(c,d));d=js(b);Nb(d)||(c=ms(c,d));(d=b.l)&&(c=ns(c,d));d=C(b.g);Nb(d)||(c=os(c,d));d=C(b.u);Nb(d)||(c=qs(c,d));a=la(a);b=la(b);d=ys;a=lc(a,d);Object.assign(a,lc(b,d));b=Object.values(a);return na(c,b)},ys=function(a){return a.ub()}; var Ds=function(a,b,c,d,e,f){this.G=a;this.o=b;this.l=c;this.g=d||null;this.F=null;this.u=e||[];this.L=f||"full"};Ds.prototype.Sa=function(){return this.G};var Es=function(a,b){a=$c(a);a.o=b;return a},Fs=function(a,b){a=$c(a);a.l=b;return a};var Gs=function(a,b,c,d,e,f,g){this.Aa=a||null;this.qa=b||null;this.Ra=c||null;this.u=r(d)?d:null;this.o=new Gg;Fg(this.o,lc(e||[],function(a){return a.pc()},this));this.g=f||null;this.l=g||[]},Is=function(a,b){var c=a.qa;if(!c)return a;b=Eb(js(c),b);var d=Fb(b,function(a){return a.tc.toString()});b=Eb(b,function(a){return!Zq(a,"rtx")||Mb(d,"apt"in a.u?a.u.apt:null)});return Hs(a,ms(c,b))},Js=function(a){return{sessionId:a.u,audio:a.Aa&&ks(a.Aa),video:a.qa&&ks(a.qa),data:a.Ra&&ks(a.Ra),pushChannels:a.o.ya()&& a.o.ya().toString(),cryptos:C(a.l)}},Ks=function(a){var b=$c(a);b.o=a.o.clone();return b},ma=function(a,b){a=Ks(a);a.Aa=b;return a},Hs=function(a,b){a=Ks(a);a.qa=b;return a},Ls=function(a,b){a=Ks(a);a.Ra=b;return a},Ms=function(a,b){a=Ks(a);a.g=b;return a},Ns=function(a,b){a=Ks(a);a.l=b;return a},Ps=function(a,b,c){a=Ks(a);a.Aa=Os(a.Aa,b,c);a.qa=Os(a.qa,b,c);a.Ra=Os(a.Ra,b,c);return a},Os=function(a,b,c){if(null==a)return null;b=Eb(b,function(b){return b.la()==a.pa()});c=Eb(c,function(b){return b.la()== a.pa()});return zs(a,b,c)}; var Qs=function(){},Rs=function(){return{autoGainControl:!0,echoCancellation:!0,highPassFilter:!0,inbandFec:!0,dtx:!0,noiseSuppression:!0,preferredSendCodec:null,sendComfortNoise:!0,sendOpus:!0,sendStereo:!1,stereoSwapping:!1,transientSuppression:!0}}; var Ts=function(a){I(this,a,"hc:cc",-1,Ss,null)};A(Ts,G);var Ss=[14,15],Us=function(a){I(this,a,0,-1,null,null)};A(Us,G);P("hc:cc",Ts);Ts.prototype.G=function(a){J(this,6,a)};var Vs=function(a){T.call(this);this.g=a;this.u=m(this.g,3,0);this.o=0;this.l=!1};A(Vs,Wq);var Xs=function(a,b){b=yp(b);if(null!=b){for(var c=0;c=m(d.g,2,1)&&(d.M(new Ws(0)),d.l=!0)):(d.l&&(d.M(new Ws(1)),d.l=!1),d.o=0)}}},Ws=function(a){Q.call(this,"K");this.id=a};A(Ws,Q); var Ys=function(a){T.call(this);this.Ha=a;a.Ja=this;this.da(a);this.g="nr"};p(Ys,Wq);var $s=function(a){return{config:a.Y(),muted:a.Jb(),state:Zs(a)}};Ys.prototype.ga=function(){return this.Ha};Ys.prototype.Jb=function(){return"mu"==this.ga().getState()};Ys.prototype.Y=function(){return null}; var Zs=function(a){switch(a.g){case "re":return"\u7aef\u672b\u306f\u4f7f\u7528\u3067\u304d\u308b\u72b6\u614b\u3067\u3059";case "nr":return"\u7aef\u672b\u306f\u4f7f\u7528\u3067\u304d\u306a\u3044\u72b6\u614b\u3067\u3059";case "nd":return"\u7aef\u672b\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3067\u3057\u305f";case "ad":return"\u7aef\u672b\u3078\u306e\u30a2\u30af\u30bb\u30b9\u304c\u62d2\u5426\u3055\u308c\u307e\u3057\u305f";case "fa":return"\u7aef\u672b\u3067\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f"; case "st":return"\u7aef\u672b\u304c\u505c\u6b62\u3057\u307e\u3057\u305f"}return""};Ys.prototype.u=function(a){if(a!==this.g){var b=this.Jb();this.g=a;this.M("P");b!==this.Jb()&&this.M("O")}};Ys.prototype.xf=function(){};Ys.prototype.kg=function(){};Ys.prototype.va=function(){}; var at={Bu:0,vs:1,TIMEOUT:2,As:3,mt:4,ks:5,yu:6,Ms:7,ns:8,ds:9,rs:10,Yt:11,ru:12,Pt:13,Tr:14,Is:15,Zs:16,zu:17,Vr:18,Xs:19,bu:20,wt:21,qs:22,Gs:23,Dt:24,eu:25,du:26,Et:27,ct:28,wu:29,Wt:30,yt:31,gs:32,Zr:33,xu:34,Nt:35,Ku:36,Au:37,Us:38,Ts:39,Vs:40,Du:41,Rt:42,zs:43,Hs:44,Cu:45,Wr:46,Bt:47,Kt:48,zt:49,Lt:50,Ft:51,Ht:52,Gt:53,Jt:54,It:55,gu:56,Ls:57,Lu:58,nt:59,it:60,Xr:61,Ur:62,ms:63,lt:64,Rs:65,Qs:66,dt:67,Ss:68,Yr:69,Ps:70,es:71,At:72,ts:73,cu:74,hs:102,St:104,Sr:108,fu:109,$s:110,qt:111,kt:112, rt:113,tt:114,st:115}; var bt=function(a,b,c,d){d=void 0===d?"a":d;T.call(this);this.I=a;this.H=b;this.o=c;this.F=d};p(bt,Wq);bt.prototype.Z=function(){return this.I};bt.prototype.getState=function(){return this.F};bt.prototype.zb=function(a){a!=this.F&&(this.F=a,this.M("R"))};bt.prototype.getInfo=function(){return this.o}; var ct={Ys:"INITIAL",ku:"STARTING",ju:"STARTED",bt:"INPROGRESS",Mt:"PAUSED",mu:"STOPPED",Js:"FINISHED"},dt=function(a,b,c){Q.call(this,"S");this.state=a;this.g=b;this.l=c};A(dt,Q);var et=function(){T.call(this);this.ob=this.V=null};p(et,T);var ft=function(a){return{hangoutId:a.ob,isInProgress:"INPROGRESS"==a.getState(),remoteJid:a.V,sessionId:a.uc(),state:a.getState()}};h=et.prototype;h.Ya=function(){throw Error("J");};h.Hc=function(){};h.start=function(){};h.Jd=function(){};h.vd=function(){};h.zi=function(){};h.Wg=function(){return!1};h.qh=function(){};h.ha=function(a){this.ob=a}; var gt=function(a){var b=a.V,c=a.ob;a=a.uc();return b?b:c?c+"_hangout@groupchat.google.com":a?a+"_session@groupchat.google.com":"unknown@groupchat.google.com"},ht=function(a,b){Q.call(this,"U");this.g=a;this.l=b};p(ht,Q);var it=function(a){Q.call(this,"V");this.g=a};p(it,Q);var jt=function(a){Q.call(this,"X");this.g=a};p(jt,Q);var kt=function(a,b,c){Q.call(this,"W");this.u=a;this.g=b;this.l=c};p(kt,Q);var lt=function(a,b,c){Q.call(this,"T");this.ib=a;this.label=b;this.payload=c};p(lt,Q); var mt=function(a){Q.call(this,"aa");this.g=a};p(mt,Q); var nt=function(a){I(this,a,0,-1,null,null)};A(nt,G);var ot=function(a){I(this,a,0,-1,null,null)};A(ot,G);ot.prototype.pa=function(){return l(this,1)};var pt=function(a){I(this,a,0,-1,null,null)};A(pt,G);pt.prototype.pa=function(){return l(this,1)};pt.prototype.getDeviceId=function(){return l(this,6)};var rt=function(a){I(this,a,0,-1,qt,null)};A(rt,G);var qt=[24];rt.prototype.gg=function(a){J(this,6,a)};var tt=function(a){I(this,a,0,-1,st,null)};A(tt,G);var st=[11];h=tt.prototype;h.ua=function(){return l(this,2)};h.ha=function(a){J(this,2,a)};h.Db=function(){return l(this,21)};h.Z=function(){return l(this,3)};h.Ma=function(a){J(this,3,a)};var ut=function(){T.call(this)};A(ut,T);var vt=function(a){return{id:a.Hb(),isInProgress:"INPROGRESS"==a.getState(),state:a.getState()}};ut.prototype.pause=eb;ut.prototype.resume=eb;ut.prototype.uj=eb;ut.prototype.Xa=eb;var wt=function(a,b,c){Q.call(this,"da");this.Vd=C(a);this.Eb=C(b);this.removed=C(c)};A(wt,Q);var xt=function(a){Q.call(this,"ea");this.g=C(a)};A(xt,Q); var yt=function(){this.l=this.o=this.g=null},zt=function(a,b){a.g=b;return a};yt.prototype.Db=function(){return this.l};var At=function(a,b){a.l=b;return a},Ct=function(a,b){if(a.o){var c=K(b,mp,4)||new mp;J(c,4,a.o);O(b,4,c)}Bt(a,b)},Bt=function(a,b){a.g&&J(b,14,a.g);a.l&&J(b,21,a.l)};yt.prototype.toString=function(){return"{ ParticipantLogId: "+(this.g||"")+", MucJid: "+(this.o||"")+", SyntheticId: , MeetingCode: , MeetingSpaceId: , LocalSessionId: "+(this.l||"")+" }"}; var Dt=function(){this.F=!0;this.P=!1;this.l=null;this.H=[];this.u=this.o=!1;this.J=null;this.I=!0;this.g=!1;this.K=[{urls:["stun:stun.l.google.com:19302","stun:stun1.l.google.com:19302","stun:stun2.l.google.com:19302","stun:stun3.l.google.com:19302","stun:stun4.l.google.com:19302"]}];this.Ja=!0;this.V=new Qs;this.N=this.O=!1;this.G=null;this.L=void 0;this.R=1E4;this.U=!1},Et=function(a){return{useAudio:!0,useVideo:!0,useData:!0,useVideoRtx:a.F,dumpRtpHeaders:a.P,allowEarlyMedia:!0,earlyMediaHangoutId:a.l, defaultRequests:a.H,useStandardIce:!0,debugLogUploadAllowed:a.o,debugLogUploadForced:a.u,clientResource:a.J,useCallPerf:!1,useSimulcast:a.I,useP2P:a.g,useTURN:!1,startMuted:a.Ja,useDtls:a.O,workaroundCrbug810848:!1,useConferenceMode:!0,useDscp:!1,useSsbwe:!0,useVirtualAudioSSRCs:!1,allowH264:!1,allowVP9:!1,useAdaptiveLayering_:a.N,useWebrtcCpuAdaptation:!0,useSpeakerSwitchSmoothing:!1,useBackendLoudestSpeaker:!1,useReversedOfferAnswerFlow:!1,bandwidthConstraints:a.G,jmiIntervalMs:a.L,jmiUploadIntervalMs:a.R, shouldHistogramData:a.U}},Ft=function(a){var b=new Dt,c;for(c in a)b[c]=a[c];return b},Gt=function(a){a=Ft(a);a.u=!0;return a},Ht=function(a,b){a=Ft(a);a.l=b;return a},Kt=function(a){var b=[It,Jt];a=Ft(a);a.H=b;return a},Lt=function(a){a=Ft(a);a.I=!1;return a},Mt=function(a,b){a=Ft(a);a.g=b;return a},Nt=function(a,b){a=Ft(a);a.K=b;return a},Ot=function(a){a=Ft(a);a.Ja=!1;return a},Pt=function(a,b){a=Ft(a);a.G=b;return a}; var Qt=function(a,b,c){bt.call(this,b.Z(),b.g,b,c);this.u=a;this.g=!1};p(Qt,bt);Qt.prototype.l=function(){return this.u};var Rt=function(){T.call(this);this.zc="INITIAL";this.yc=void 0};A(Rt,Wq);h=Rt.prototype;h.Ui=function(){return{state:this.getState(),endCause:this.yc,id:St(this),isInProgress:"INPROGRESS"==this.getState(),localId:this.Db(),localDescription:Js(Tt(this)),localSession:ft(this.l),options:Et(this.o),remoteAudioCodecs:Fb(C(this.ma),function(a){return a.toString()}),remoteSession:vt(this.u),useEarlyMedia:null!==this.o.l&&0b?a.La.call(null,a.Qd,{timeout:5E3}):a.Zc())):a.g.g("Sending "+JSON.stringify(c))};cu.prototype.Zc=function(a){null==this.ia||null!=a&&a.didTimeout||(this.Mc=y(),this.g.g("Sending "+JSON.stringify(this.ia)),this.ia=null)}; var gu=function(a,b,c){ju(a,b,fu(a,b,c));ku(a.l,fu(a,b,c))},lu=function(a,b){a.zc[b]||(a.zc[b]=!0,gu(a,"latency-events",[[{key:b,time:y().toString()}]]))}; cu.prototype.Nd=function(a){var b=a.candidate;null!=b&&(this.g.g("Got local candidate: "+b.candidate),this.I.ca(function(a){var c=a.fh;a=a.Tg;var e=this.kc;c=c||"";a=a||"";var f=b.candidate.trim().split(" "),g=Number(f[1]),k=f[2],n=f[3],q=f[4],t=f[5],v=f[7],z="0";10<=f.length&&"generation"==f[8]&&(z=f[9]);f={host:"local",relay:"relay",srflx:"stun"};e?c={media:b.sdpMid,component:g,protocol:k,ip:q,port:Number(t),priority:Number(n),type:f[v],generation:z}:(e=c,2==g&&(e=c.slice(0,-1)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="[("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(c[c.length- 1])+1)%64]),c=[q,t,{audio:"",video:"video_",data:"data_"}[b.sdpMid]+["","rtp","rtcp"][g],e,a,String((n>>24)/127),k,z,f[v],"unknown0"]);gu(this,"jc",[[c]])},this),a=Sp(b),lu(this,"send candidate "+a),"stun"!=a&&(this.pd=!0))}; cu.prototype.Lc=function(a){var b=a.sdp;a=(a=b.match(/a=ice-ufrag:(\S*)/))&&a[1];b=(b=b.match(/a=ice-pwd:(\S*)/))&&b[1];if(null!=a&&null!=b){gu(this,"jtr",[{a:{type:"ice",ufrag:a,pwd:b}}]);this.I.na({fh:a,Tg:b});a=Wk;for(var c in a)b=a[c],$a.clearTimeout(b.g),b.l()}else Jo(this.g,"Browser's offer has no ICE credentials.")};cu.prototype.Pf=function(a){this.Lc(a);eu(this)}; var mu=function(a){a.g.g("Resetting "+Oc(a.V)+" audio elements.");Lc(a.V,function(a){iq(a,"Rebuilding.");var b=a.G;gq(a,0);gq(a,b)})},ou=function(a,b,c){a.g.g("New stream set for FluteSession: videoTracks = "+(null!=c?c.getVideoTracks().length.toString():"none")+", audioTracks = "+(null!=b?b.g.getAudioTracks().length.toString():"none"));if(b==a.Pg)b=!1;else{a.Id=null;a.Pg=b;if(null!=b&&(a.Id=nu(a.Pg),a.Tb(a.Hd,"unchanged"),a.xa)){b=a.u;var d=a.Id;Yo(b)&&Oo(b.g,d);4==a.H&&(b=a.u,Yo(b)&&(b=b.g,null!= b.g&&(null!=b.ec&&(b.ec.disconnect(),delete b.ec),b.ec=b.l.createScriptProcessor(4096,1,1),b.ec.onaudioprocess=x(b.P,b),b.g.connect(b.ec),b.ec.connect(b.l.destination))))}mu(a);b=!0}c==a.Jc?c=!1:(null!=a.Jc&&(a.Jc=null),null!=a.O&&(window.URL.revokeObjectURL(a.O),a.O=null),null!=c&&(a.Jc=c,a.O=window.URL.createObjectURL(a.Jc)),c=!0);(b||c)&&eu(a)},qu=function(a,b){var c=null;B(b,function(a){null!=a.timestamp&&0a)){d=Yb([a,{global:ip(this.Y)}],d);ep(this.Y);var b=fu(this,"jmidatav3",d);ju(this,"jmidatav3",b);a=this.l;b=new rf("i-msg",W(b));pu(a,b)}},a)},ru=function(a,b){var c=y();-1==a.nb||1E4y()-this.mb?this.La.call(null,this.Pd,{timeout:du/2}):this.$c()};cu.prototype.$c=function(a){this.hg||null!=a&&a.didTimeout||(this.hg=!0,this.za.getStats(this.Rd))};cu.prototype.Of=function(a){this.lb=this.ba=a}; cu.prototype.hi=function(a){this.hg=!1;a=a.result();var b=0,c={},d=y(),e=!1;if(-1==this.Kb||1E3k-this.mb)){this.mb=k;b=k=!1;for(c=0;c=f-this.qd[e]||(this.qd[e]=f,Mb(d,"audioOutputLevel")?k=!0:Mb(d,"googFrameRateReceived")&&(b=!0))));ku(this.l,fu(this,"jhb",[k,b]))}y()-this.tb>=this.ba&&(this.tb=y(),qu(this, a))};var uu=function(a){a.g.g("Requesting initial ICE credentials from the browser.");a.za.createOffer(x(a.Lc,a),zb,{mandatory:{OfferToReceiveAudio:!0,OfferToReceiveVideo:!0}})};h=cu.prototype; h.zr=function(){this.g.g("ICE connection state changed to: "+this.za.iceConnectionState);if("disconnected"==this.za.iceConnectionState)lu(this,"transport not writable"),gu(this,"trstate",[{anyWritable:!1}]),this.I.l?(this.g.g("Initiating ICE restart."),this.I=new Lk,this.za.createOffer(x(this.Pf,this),zb,{mandatory:{OfferToReceiveAudio:!0,OfferToReceiveVideo:!0,IceRestart:!0}})):Y(this.g,"Redundant disconnected state change");else if("connected"==this.za.iceConnectionState||"completed"==this.za.iceConnectionState)null!= this.o&&this.o.g(2704,this.G),null!=this.Xa&&(gj(this.Xa),this.Xa=null),null!=this.Ta&&(gj(this.Ta),this.Ta=null),null!=this.Za&&(gj(this.Za),this.Za=null),this.R=2,lu(this,"transport writable"),gu(this,"trstate",[{anyWritable:!0}])};h.xp=function(a){a=x(this.bo,this,a);this.I.ca(a)}; h.bo=function(a){for(var b=0;bthis.oa&&(b=Math.round(Math.sqrt(this.oa*b/c)),c=Math.floor(this.oa/b));else{var d=this.ma>Mf.g;b=d?2048:b;c=d?1280:c}b={mandatory:{maxWidth:b,maxHeight:c},optional:[{maxFrameRate:this.ma},{minFrameRate:this.ma}]};b.optional.push({googTemporalLayeredScreencast:!0});if(null!=a&&null!=a.streamId){a=a.streamId;if(""==a){Ko(this.g,"User canceled extension desktop-casting.");this.sa=!1;gu(this,"share-result",[null,1]);return}Ko(this.g,"Desktop-casting using the extension."); b.mandatory.chromeMediaSource="desktop";b.mandatory.chromeMediaSourceId=a}else Ko(this.g,"Screencasting without extension support."),b.mandatory.chromeMediaSource="screen";md().webkitGetUserMedia({audio:!1,video:b},x(this.Le,this),x(this.Kf,this,2))};h.bp=function(a){Y(this.g,"chooseDesktopMedia error: "+a.value)};h.tq=function(){this.F&&(Ku(this,!1),Lu(this.Ba,this.O))}; h.Yp=function(){var a=new Zg("https://ssl.gstatic.com/chat/sounds/outgoing_ring_08d6076c4e21ce2f30d739a53ef1c609.ogg");this.Ei({id:"play_audio",action:"init",dir:"rx",effect_handle:"c",properties:{resource:{key:"c",host:a.g,path:a.l,type:"audio",secure:"https"==a.o}}});this.Ei({id:"play_audio",action:"enable",dir:"rx",effect_handle:"c",properties:{loop:!1,mute_with_mic:!1,volume:1,reset:!0}})}; h.gq=function(a,b,c){a!=b&&Y(this.g,"Stereo volume scaling is not supported");a=Math.max(a,b);if(null!=this.K){a:{b=this.K;for(var d in b||{})for(var e=Zc(b[d],"streams",[]),f=0;fMf.g)),d==a.za&& a.I.ca(x(a.gc,a,"answer",a.Ng,c,b))):null!=a.Ng&&a.I.ca(x(a.gc,a,"offer",a.Ng,c,b))}};cu.prototype.Le=function(a){this.sa=!1;this.J=a;Ju(this);this.N=window.URL.createObjectURL(a);Lu(this.Ba,this.N)};cu.prototype.Kf=function(a,b){null!=b&&Y(this.g,"Start screenshare failed: "+b.name);this.sa=!1;gu(this,"share-result",[null,a])}; var Ku=function(a,b){Pu(a,b);b||(hu(a),a.J=null,window.URL.revokeObjectURL(a.N),a.N=null);a.F=b;a.g.g("Setting screensharing state to "+a.F);Cu(a.l);eu(a)},Ju=function(a){Ku(a,!0);gu(a,"share-result",[null,0])},hu=function(a){null!=a.J&&B(a.J.getVideoTracks(),function(a){a.stop()})},Pu=function(a,b){var c=a.J.getVideoTracks();B(c,function(a){b?(Ko(this.g,"Adding desktop-stream-ended listener."),af(a,"ended",x(this.Td,this))):(Ko(this.g,"Removing desktop-stream-ended listener."),mf(a,"ended"))},a)}; cu.prototype.Td=function(){this.g.g("The desktop stream was stopped by the browser.");gu(this,"share-notify",[null,{event:"window-stop-sharing"}])};var vu=function(a){a.xa?(a=a.u,a=Yo(a)?a.g.I.stream:null):a=a.Id;return a};cu.prototype.X=function(){var a=this;Object.keys(this.V).forEach(function(b){return Tq(a.va,b)});this.V={};ze(this.u);cu.ra.X.call(this)};var bu=function(a){this.l=null;this.g=a},Lu=function(a,b){b!=a.l&&(a.l=b,a.g.M(new Qu(a.g.Ea,a.g.G,b)))}; cu.prototype.$h=function(a){a=a.channel;if(null==this.md||a.label==this.md.label)this.md=a;var b=this.W.get(decodeURI(a.label));null==b&&(Y(this.g,a.label+" datachannel detected without stream info"),b=new Eu(null));b.channel=a;a.onopen=x(function(a){Ko(this.g,"receive datachannel "+a.label+" is open.")},this,a);a.onclose=x(function(a){Ko(this.g,"receive datachannel "+a.label+" is closed.");this.W.remove(a.label)},this,a);a.onerror=x(function(a,b){Y(this.g,"receive datachannel "+a.label+" threw error: "+ b);this.W.remove(a.label)},this,a);a.onmessage=x(this.ci,this,a)};cu.prototype.Ne=function(a,b){var c=this.md,d=null;null!=a.label&&(d=this.W.get(a.label));null!=d&&(c=d.channel);c.send(b)}; cu.prototype.ci=function(a,b){b=b.data;var c=decodeURI(a.label);var d=this.W.get(c);null==d?(Y(this.g,"Receive data: "+b+" on unknown data channel: "+a.label),d=a.label.split("/"),a=decodeURIComponent(d[0]),d=decodeURIComponent(d[1]),c={nick:a,groupid:a,streamid:d,label:c}):c=d.sr;ku(this.l,fu(this,"data-receive",[c,b]))};cu.prototype.Qf=function(a){this.Bc=a;Cu(this.l)};var iu=function(a){Kh(a.P,a.za,"signalingstatechange",a.sd)}; cu.prototype.sd=function(a){a.target==this.za&&"closed"==this.za.signalingState&&this.M("va")};var Qu=function(a,b,c){Q.call(this,"ua");this.sessionId=b;this.url=c};A(Qu,Q);var Eu=function(a){this.sr=a;this.channel=null}; var Ru=function(a,b,c,d,e,f,g){this.u=a;this.F=b;this.l=c;this.L=d;this.G=e;f==Um&&(f=null);g==Um&&(g=null);this.o=f||null;this.g=g||null},Su=function(a){if(a.F)return!1;var b=[];null!=a.o&&b.push({sourceId:a.o.id});a=$c(a.L);var c=a.audio_auto_gain_control;null!=c&&!c&&(a.internal_audio_auto_gain_control=!1);Lc(a,function(a,c){b.push(ed(Xp.get(c),a))});a=a.audio_noise_suppression;null!=a&&!a&&b.push({googTypingNoiseDetection:!1});return{optional:b}},Tu=function(a){if(a.l)return!1;var b=[];null!= a.g&&b.push({sourceId:a.g.id});b.push({minFrameRate:a.u.frameRate},{minHeight:a.u.height},{minWidth:a.u.width},{maxFrameRate:a.u.frameRate},{maxWidth:a.u.width},{maxHeight:a.u.height});Lc(a.G,function(a,d){b.push(ed(Yp.get(d),a))});return{optional:b}},Uu=function(a,b){return Oc(a)==Oc(b)&&Nc(a,function(a,d){return b[d]==a})},Xu=function(a,b){return Vu(a,b)&&Wu(a,b)},Vu=function(a,b){return null!=b?a.F&&b.F||Uu(a.L,b.L)&&a.F==b.F&&Yu(a.o,b.o):!1},Wu=function(a,b){return null!=b?a.l&&b.l||a.u.kb(b.u)&& Uu(a.G,b.G)&&a.l==b.l&&Yu(a.g,b.g):!1},Zu=function(a,b){return new Ru(a.u.He(b),a.F,a.l,a.L,a.G,a.o,a.g)},$u=function(a,b,c){return Nm(b,a.o)&&Nm(c,a.g)?a:new Ru(a.u,a.F,a.l,a.L,a.G,null!=b?b:a.o,null!=c?c:a.g)},av=function(a,b){return $u(a,null!=a.o?a.o:b.o,null!=a.g?a.g:b.g)};Ru.prototype.toString=function(){return W({audio:Su(this),video:Tu(this)})};var Yu=function(a,b){return a==b?!0:null!=a&&null!=b&&a.id==b.id}; var bv=function(a){this.g=a;this.l=[]},nu=function(a){var b=Yb(a.g.getVideoTracks(),a.g.getAudioTracks());b=Fb(b,function(a){return null!=a.clone?a.clone():a},a);b=new webkitMediaStream(b);a.l.push(b);return b};bv.prototype.stop=function(){cv(this.g);B(this.l,function(a){cv(a)},this)};var cv=function(a){dv(a.getVideoTracks());dv(a.getAudioTracks())},dv=function(a){B(a,function(a){a.stop()})}; var ev=function(){if(xd){var a=/Windows NT ([0-9.]+)/;return(a=a.exec(Ic))?a[1]:"0"}return wd?(a=/10[_.][0-9_.]+/,(a=a.exec(Ic))?a[0].replace(/_/g,"."):"10"):zd?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(Ic))?a[1]:""):Ad||Bd||Cd?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(Ic))?a[1].replace(/_/g,"."):""):""}(); var fv=function(a,b,c,d){T.call(this);this.U=b;this.H=new V(this);this.da(this.H);this.g=new Io("talk.media.webrtc.VideoEffects");this.Ta=d;this.l=null;this.u=!1;this.O=[];this.F=this.W=this.R=this.Y=!1;this.V=this.I=this.o=this.K=this.G=null;this.N=(a=K(a,ek,7)&&K(K(a,ek,7),jk,6))&&m(a,1,"c995490806d28cf9ab21269a991e8d52")||null;this.fa=a&&m(a,5,"unknown")||null;this.xa=a&&m(a,2,67108864)||0;this.Ba=a&&ge(a,3)||null;this.Da=a&&ge(a,4)||null;this.P=this.J=null;this.ia=!1;this.sa=c;this.ba=null}; A(fv,T);fv.prototype.Ya=function(){return this.I};fv.prototype.close=function(){null!=this.I&&(this.o==this.I&&(this.F=!1,this.O=[]),this.o=this.I=null);null!=this.K&&(this.G!=this.K&&window.URL.revokeObjectURL(this.G),window.URL.revokeObjectURL(this.K),this.G=this.K=null)}; var gv=function(a,b,c){a.close();a.o=b;a.V=c;a.G=window.URL.createObjectURL(a.o);a.I=a.o;a.K=a.G;0==b.getVideoTracks().length?(Y(a.g,"Raw stream set with no video tracks"),X(x(a.M,a,"stream"))):a.F?Nu(a):X(x(a.M,a,"stream"))},Nu=function(a){if(null!=a.G){a.R=!1;var b=new webkitMediaStream([]),c=window.URL.createObjectURL(b);a.ba=b;a.va=c;af(b,"addtrack",x(a.oa,a,a.G,b,c));Ou(a,{message_type:"register",src_url:a.G,dest_url:c,ssrc:4294967295});a.g.g("Sent register message to the plugin: src = "+a.G+ "dest = "+c)}};fv.prototype.oa=function(a,b,c){if(a==this.G){this.g.g("Switching to the post-effect stream: "+c);this.I=b;this.K=c;this.R=!0;a=this.O;this.O=[];for(b=0;bc?"-":"+"];c=Math.abs(c);d.push(Math.floor(c/60)%100);c%=60;0!=c&&d.push(":",Bc(c,2));c=d.join("")}b.u=c;c=a;0==c?c="UTC":(d=["UTC",0>c?"+":"-"],c=Math.abs(c),d.push(Math.floor(c/60)%100),c%=60,0!=c&&d.push(":",c),c=d.join(""));a=qw(a);b.F=[c,c];b.g={lu:a,Pj:a};b.l=[];return b}b=new pw;b.u=a.id;b.o=-a.std_offset;b.F=a.names;b.g=a.names_ext;b.l=a.transitions;return b},qw= function(a){var b=["GMT"];b.push(0>=a?"+":"-");a=Math.abs(a);b.push(Bc(Math.floor(a/60)%100,2),":",Bc(a%60,2));return b.join("")},sw=function(a,b){b=Date.UTC(b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate(),b.getUTCHours(),b.getUTCMinutes())/36E5;for(var c=0;c=a.l[c];)c+=2;return 0==c?0:a.l[c-1]}; var vw=function(){this.l=[];this.g=yo;var a="HH:mm:ss";for(tw&&(a=a.replace(/\u200f/g,""));a;){for(var b=a,c=0;c=e?String.fromCharCode(a.Vm+e-48):b.charAt(d))}b=c.join("")}return b},tw=!1,yw=function(a){if(!(a.getHours&&a.getSeconds&&a.getMinutes))throw Error("M");},zw=function(a,b,c,d,e){var f=b.length;switch(b.charAt(0)){case "G":return c=0c&&(c=-c),2==f&&(c%=100),xw(a,Bc(c,f));case "M":a:switch(c= d.getMonth(),f){case 5:f=a.g.Bj[c];break a;case 4:f=a.g.Aj[c];break a;case 3:f=a.g.Fj[c];break a;default:f=xw(a,Bc(c+1,f))}return f;case "k":return yw(e),xw(a,Bc(ww(e)||24,f));case "S":return c=e.getTime()%1E3/1E3,xw(a,c.toFixed(Math.min(3,f)).substr(2)+(3f?1:0];case "h":return yw(e),xw(a,Bc(ww(e)%12||12,f));case "K":return yw(e),xw(a,Bc(ww(e)%12,f));case "H":return yw(e),xw(a,Bc(ww(e), f));case "c":a:switch(c=d.getDay(),f){case 5:f=a.g.Lj[c];break a;case 4:f=a.g.Oj[c];break a;case 3:f=a.g.Nj[c];break a;default:f=xw(a,Bc(c,1))}return f;case "L":a:switch(c=d.getMonth(),f){case 5:f=a.g.Kj[c];break a;case 4:f=a.g.Jj[c];break a;case 3:f=a.g.Mj[c];break a;default:f=xw(a,Bc(c+1,f))}return f;case "Q":return c=Math.floor(d.getMonth()/3),4>f?a.g.Gj[c]:a.g.Ej[c];case "d":return xw(a,Bc(d.getDate(),f));case "m":return yw(e),xw(a,Bc(e.getMinutes(),f));case "s":return yw(e),xw(a,Bc(e.getSeconds(), f));case "v":return f=rw(c.getTimezoneOffset()),f.u;case "V":return a=rw(c.getTimezoneOffset()),2>=f?a.u:0f?a.F[0f?(f=-(e.o-sw(e,c)),a=[0>f?"-":"+"],f=Math.abs(f),a.push(Bc(Math.floor(f/60)%100,2),Bc(f%60,2)),f=a.join("")):f=xw(a,qw(e.o-sw(e,c))),f;default:return""}}; var Aw=function(a){var b=K(a,$v,1)||new $v;O(a,1,b);return b},Bw=function(a){var b=K(a,ck,5)||new ck;O(a,5,b);return b},Cw=function(a){a=Aw(a);var b=K(a,Uv,1)||new Uv;O(a,1,b);return b},Dw=function(a){var b=K(a,Zv,3)||new Zv;O(a,3,b);return b};var Ew=function(){this.u=0;this.l=new Map;this.g=new Map},Fw=function(a,b,c,d){d=void 0===d?!0:d;a.g.has(b);a.g.set(b,c);return function(){a.g["delete"](b);d&&a.g.set(b,qg(c()))}};Ew.prototype.ca=function(a,b){a=Fw(this,a,b,!1);b=this.u++;this.l.set(b,a);return b};Ew.prototype.o=function(a){var b=this.l.get(a);this.l["delete"](a)&&b()};Ew.prototype.reset=function(){this.u=0;this.l.clear();this.g.clear()};fb(Ew); var Gw=function(a){if(!a)return"";a=a.split("#")[0].split("?")[0];a=a.toLowerCase();0==a.indexOf("//")&&(a=window.location.protocol+a);/^[\w\-]*:\/\//.test(a)||(a=window.location.href);var b=a.substring(a.indexOf("://")+3),c=b.indexOf("/");-1!=c&&(b=b.substring(0,c));a=a.substring(0,a.indexOf("://"));if("http"!==a&&"https"!==a&&"chrome-extension"!==a&&"file"!==a&&"android-app"!==a&&"chrome-search"!==a&&"app"!==a)throw Error("N`"+a);c="";var d=b.indexOf(":");if(-1!=d){var e=b.substring(d+1);b=b.substring(0, d);if("http"===a&&"80"!==e||"https"===a&&"443"!==e)c=":"+e}return a+"://"+b+c}; var Hw=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;t=q=0}function b(a){for(var b=g,c=0;64>c;c+=4)b[c/4]=a[c]<<24|a[c+1]<<16|a[c+2]<<8|a[c+3];for(c=16;80>c;c++)a=b[c-3]^b[c-8]^b[c-14]^b[c-16],b[c]=(a<<1|a>>>31)&4294967295;a=e[0];var d=e[1],f=e[2],k=e[3],n=e[4];for(c=0;80>c;c++){if(40>c)if(20>c){var q=k^d&(f^k);var t=1518500249}else q=d^f^k,t=1859775393;else 60>c?(q=d&f|k&(d|f),t=2400959708):(q=d^f^k,t=3395469782);q=((a<<5|a>>>27)&4294967295)+ q+n+t+b[c]&4294967295;n=k;k=f;f=(d<<30|d>>>2)&4294967295;d=a;a=q}e[0]=e[0]+a&4294967295;e[1]=e[1]+d&4294967295;e[2]=e[2]+f&4294967295;e[3]=e[3]+k&4294967295;e[4]=e[4]+n&4294967295}function c(a,c){if("string"===typeof a){a=unescape(encodeURIComponent(a));for(var d=[],e=0,g=a.length;eq?c(k,56-q):c(k,64-(q-56));for(var g=63;56<=g;g--)f[g]=d&255,d>>>=8;b(f);for(g=d=0;5>g;g++)for(var n=24;0<=n;n-=8)a[d++]=e[g]>>n&255;return a}for(var e=[],f=[],g=[],k=[128],n=1;64>n;++n)k[n]=0;var q,t;a();return{reset:a,update:c,digest:d,Cn:function(){for(var a=d(),b="",c=0;cc?"":0==c?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(y()+1E3*c)).toUTCString();this.g.cookie=a+"="+b+e+d+c+f}; h.get=function(a,b){for(var c=a+"=",d=(this.g.cookie||"").split(";"),e=0,f;eb?1:b,3E5,.1);fj(a.g,a.o.g)};cx.prototype.log=function(a){a=ve(a);var b=this.oa++;J(a,21,b);l(a,1)||(b=y().toString(),J(a,1,b));for(;1E3<=this.l.length;)this.l.shift(),++this.J;this.l.push(a);this.M(new ex(a));this.I||this.g.l||this.g.start()}; cx.prototype.flush=function(a,b){if(0==this.l.length)a&&a();else{var c=y();if(this.Y>c&&this.Othis.sa()?"https://www.google.com/log?format=json":"https://play.google.com/log?format=json");var f=this.F;this.N&&(c["X-Goog-AuthUser"]=this.N,f=Wg(f,"authuser",this.N));this.K&&(c["X-Goog-PageId"]=this.K,f=Wg(f,"pageId",this.K));if(e&&this.W==e)b&&b();else{this.l=[];this.g.l&& this.g.stop();this.J=0;var g=d.Na(),k=1,n;if(n=this.U)try{n=!!Uint8Array.from}catch(q){n=!1}n&&(c["Content-Encoding"]="gzip",c["Content-Type"]="application/binary",g=fx.Uh(Uint8Array.from(mc(g))),k=2);c={url:f,body:g,g:k,requestHeaders:c,requestType:"POST",withCredentials:this.ma};f=x(function(b){this.o.reset();fj(this.g,this.o.g);if(b){try{var c=JSON.parse(b.replace(")]}'\n",""));var d=new ax(c)}catch(z){}d&&(b=m(d,1,"-1"),b=Number(b),0a||401==a||0==a)this.l=c.concat(this.l),this.I||this.g.l||this.g.start();b&&b()},this);this.ia(c,f,g)}}}};cx.prototype.G=function(){this.flush()};var ex=function(){this.type="event-logged"};A(ex,Q); var gx=nd?"opera":pd?"edge":od?"ie":Md?"firefox":Nd?"iphone":Od?"ipad":Pd?"android":Qd?"chrome":Rd?"safari":"unknown";var ix=function(){return!hx()&&(D("iPod")||D("iPhone")||D("Android")||D("IEMobile"))},hx=function(){return D("iPad")||D("Android")&&!D("Mobile")||D("Silk")};var jx=function(a,b,c,d,e,f){cx.call(this,a,Mw,b,c,d,e,void 0,void 0,f);a=this.R;d=this.V;b=new Vw;c=new Uw;e=ix()||hx()?hx()?2:ix()?1:0:3;J(b,6,D("Android")?3:D("CrOS")?5:D("CrKey")?9:D("Windows")?2:D("iPad")?6:gd()?7:D("iPod")?8:D("Linux")?4:D("Macintosh")?1:0);f=Ic;var g="";D("Windows")?(g=/Windows (?:NT|Phone) ([0-9.]+)/,g=(f=g.exec(f))?f[1]:"0.0"):hd()?(g=/(?:iPhone|iPod|iPad|CPU)\s+OS\s+(\S+)/,g=(f=g.exec(f))&&f[1].replace(/_/g,".")):D("Macintosh")?(g=/Mac OS X ([0-9_.]+)/,g=(f=g.exec(f))?f[1].replace(/_/g, "."):"10"):D("Android")?(g=/Android\s+([^\);]+)(\)|;)/,g=(f=g.exec(f))&&f[1]):D("CrOS")&&(g=/(?:CrOS\s+(?:i686|x86_64)\s+([0-9.]+))/,g=(f=g.exec(f))&&f[1]);J(b,2,g||"");J(b,3,e);d||(d=ii(),e=document.documentElement.getAttribute("lang"),J(b,5,e),J(c,1,d.navigator.language||d.navigator.browserLanguage));J(c,2,gx);J(c,3,zn);Cf&&J(c,4,Df);O(a,11,b);O(a,9,c);O(this.u,1,this.R)};A(jx,cx); /* pako 1.0.6 nodeca/pako Copyright (C) 2014-2017 by Vitaly Puzrin and Andrei Tuputcyn Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Ported from zlib 1.2.8 Copyright (C) 1995-2013 Jean-loup Gailly and Mark Adler This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. Jean-loup Gailly Mark Adler jloup@gzip.org madler@alumni.caltech.edu */ var fx=function(){var a={},b={};(function(c){if("object"===typeof a&&"undefined"!==typeof b)b.cc=c();else if("function"===typeof define&&define.hv)define([],c);else{var d;"undefined"!==typeof window?d=window:"undefined"!==typeof global?d=global:"undefined"!==typeof self?d=self:d=this;d.Kv=c()}})(function(){return function g(a,b,f){function d(k,n){if(!b[k]){if(!a[k]){var q="function"==typeof require&&require;if(!n&&q)return q(k,!0);if(e)return e(k,!0);n=Error("Q`"+k);throw n.code="MODULE_NOT_FOUND", n;}n=b[k]={cc:{}};a[k][0].call(n.cc,function(b){var e=a[k][1][b];return d(e?e:b)},n,n.cc,g,a,b,f)}return b[k].cc}for(var e="function"==typeof require&&require,q=0;qa.jb&&(a.jb+=16);this.yd=0;this.Qa="";this.ended=!1;this.wd=[];this.Ia=new z;this.Ia.wa=0;var b=n.yn(this.Ia, a.level,a.method,a.jb,a.zo,a.kd);if(0!==b)throw Error(v[b]);a.bi&&n.An(this.Ia,a.bi);if(a.Ze){var e;"string"===typeof a.Ze?e=t.oj(a.Ze):"[object ArrayBuffer]"===L.call(a.Ze)?e=new Uint8Array(a.Ze):e=a.Ze;b=n.zn(this.Ia,e);if(0!==b)throw Error(v[b]);this.gv=!0}}function e(a,b){b=new d(b);b.push(a,!0);if(b.yd)throw b.Qa||v[b.yd];return b.result}var n=a("./zlib/deflate"),q=a("./utils/common"),t=a("./utils/strings"),v=a("./zlib/messages"),z=a("./zlib/zstream"),L=Object.prototype.toString;d.prototype.push= function(a,b){var d=this.Ia,e=this.options.th;if(this.ended)return!1;var f=b===~~b?b:!0===b?4:0;"string"===typeof a?d.input=t.oj(a):"[object ArrayBuffer]"===L.call(a)?d.input=new Uint8Array(a):d.input=a;d.Yb=0;d.eb=d.input.length;do{0===d.wa&&(d.Gb=new q.Kc(e),d.wb=0,d.wa=e);a=n.nk(d,f);if(1!==a&&0!==a)return this.Ce(a),this.ended=!0,!1;if(0===d.wa||0===d.eb&&(4===f||2===f))"string"===this.options.jg?this.bg(t.hn(q.Zg(d.Gb,d.wb))):this.bg(q.Zg(d.Gb,d.wb))}while((0b.jb&&(b.jb=-b.jb,0===b.jb&&(b.jb=-15));!(0<=b.jb&&16>b.jb)||a&&a.jb||(b.jb+=32);15b.jb&&0===(b.jb&15)&&(b.jb|=15);this.yd=0;this.Qa="";this.ended=!1;this.wd=[];this.Ia=new L;this.Ia.wa=0;a=n.oo(this.Ia,b.jb);if(a!==v.Oe)throw Error(z[a]);this.bi=new qa;n.no(this.Ia,this.bi)}function e(a,b){b=new d(b);b.push(a,!0);if(b.yd)throw b.Qa||z[b.yd];return b.result} var n=a("./zlib/inflate"),q=a("./utils/common"),t=a("./utils/strings"),v=a("./zlib/constants"),z=a("./zlib/messages"),L=a("./zlib/zstream"),qa=a("./zlib/gzheader"),ka=Object.prototype.toString;d.prototype.push=function(a,b){var d=this.Ia,e=this.options.th,f=this.options.Ze,g,k=!1;if(this.ended)return!1;var z=b===~~b?b:!0===b?v.mg:v.Sj;"string"===typeof a?d.input=t.gn(a):"[object ArrayBuffer]"===ka.call(a)?d.input=new Uint8Array(a):d.input=a;d.Yb=0;d.eb=d.input.length;do{0===d.wa&&(d.Gb=new q.Kc(e), d.wb=0,d.wa=e);a=n.Yk(d,v.Sj);a===v.Xm&&f&&("string"===typeof f?g=t.oj(f):"[object ArrayBuffer]"===ka.call(f)?g=new Uint8Array(f):g=f,a=n.po(this.Ia,g));a===v.Wm&&!0===k&&(a=v.Oe,k=!1);if(a!==v.ng&&a!==v.Oe)return this.Ce(a),this.ended=!0,!1;if(d.wb&&(0===d.wa||a===v.ng||0===d.eb&&(z===v.mg||z===v.Tj)))if("string"===this.options.jg){b=t.Cr(d.Gb,d.wb);var L=d.wb-b;var qa=t.kn(d.Gb,b);d.wb=L;d.wa=e-L;L&&q.Cc(d.Gb,d.Gb,b,L,0);this.bg(qa)}else this.bg(q.Zg(d.Gb,d.wb));0===d.eb&&0===d.wa&&(k=!0)}while((0< d.eb||0===d.wa)&&a!==v.ng);a===v.ng&&(z=v.mg);if(z===v.mg)return a=n.mo(this.Ia),this.Ce(a),this.ended=!0,a===v.Oe;z===v.Tj&&(this.Ce(v.Oe),d.wa=0);return!0};d.prototype.bg=function(a){this.wd.push(a)};d.prototype.Ce=function(a){a===v.Oe&&(this.result="string"===this.options.jg?this.wd.join(""):q.Ch(this.wd));this.wd=[];this.yd=a;this.Qa=this.Ia.Qa};f.gt=d;f.Yk=e;f.xv=function(a,b){b=b||{};b.raw=!0;return e(a,b)};f.Nv=e},{"./utils/common":3,"./utils/strings":4,"./zlib/constants":6,"./zlib/gzheader":9, "./zlib/inflate":11,"./zlib/messages":13,"./zlib/zstream":15}],3:[function(a,b,f){function d(a,b){return Object.prototype.hasOwnProperty.call(a,b)}a="undefined"!==typeof Uint8Array&&"undefined"!==typeof Uint16Array&&"undefined"!==typeof Int32Array;f.assign=function(a){for(var b=Array.prototype.slice.call(arguments,1);b.length;){var e=b.shift();if(e){if("object"!==typeof e)throw new TypeError(e+"must be non-object");for(var f in e)d(e,f)&&(a[f]=e[f])}}return a};f.Zg=function(a,b){if(a.length===b)return a; if(a.subarray)return a.subarray(0,b);a.length=b;return a};var e={Cc:function(a,b,d,e,f){if(b.subarray&&a.subarray)a.set(b.subarray(d,d+e),f);else for(var g=0;gb&&(a.subarray||!a.subarray))return String.fromCharCode.apply(null,e.Zg(a,b));for(var d="",f=0;fa;a++)n[a]=252<=a?6:248<=a?5:240<=a?4:224<=a?3:192<=a?2:1;n[254]=n[254]=1;f.oj=function(a){var b,d,f=a.length,g=0;for(b=0;bk?1:2048>k?2:65536>k?3:4}var q=new e.Kc(g);for(b=d=0;dk?q[d++]=k:(2048>k?q[d++]=192|k>>>6:(65536>k?q[d++]=224|k>>>12:(q[d++]=240|k>>>18,q[d++]=128|k>>>12&63),q[d++]=128|k>>>6&63),q[d++]=128|k&63);return q};f.hn=function(a){return d(a,a.length)};f.gn=function(a){for(var b= new e.Kc(a.length),d=0,f=b.length;dk)g[e++]=k;else{var q=n[k];if(4k?g[e++]=k:(k-=65536,g[e++]=55296|k>>10&1023,g[e++]=56320|k&1023)}}}return d(g,e)};f.Cr=function(a,b){var d;b=b||a.length;b>a.length&&(b=a.length);for(d=b-1;0<=d&&128===(a[d]&192);)d--;return 0>d||0=== d?b:d+n[a[d]]>b?d:b}},{"./common":3}],5:[function(a,b){b.cc=function(a,b,d,e){var f=a&65535|0;a=a>>>16&65535|0;for(var g;0!==d;){g=2E3d;d++){a=d;for(var e=0;8>e;e++)a=a&1?3988292384^a>>> 1:a>>>1;b[d]=a}return b}();b.cc=function(a,b,e,f){e=f+e;for(a^=-1;f>>8^d[(a^b[f])&255];return a^-1}},{}],8:[function(a,b,f){function d(a,b){a.Qa=ua[b];return b}function e(a){for(var b=a.length;0<=--b;)a[b]=0}function n(a){var b=a.state,d=b.Ca;d>a.wa&&(d=a.wa);0!==d&&(Ia.Cc(a.Gb,b.qb,b.dg,d,a.wb),a.wb+=d,b.dg+=d,a.ie+=d,a.wa-=d,b.Ca-=d,0===b.Ca&&(b.dg=0))}function q(a,b){hb.Zm(a,0<=a.nc?a.nc:-1,a.aa-a.nc,b);a.nc=a.aa;n(a.Ia)}function t(a,b){a.qb[a.Ca++]=b}function v(a,b){a.qb[a.Ca++]=b>>> 8&255;a.qb[a.Ca++]=b&255}function z(a,b){var d=a.nl,e=a.aa,f=a.wc,g=a.xl,k=a.aa>a.Ub-262?a.aa-(a.Ub-262):0,n=a.window,Ob=a.je,q=a.hd,R=a.aa+258,t=n[e+f-1],v=n[e+f];a.wc>=a.Ok&&(d>>=2);g>a.ta&&(g=a.ta);do{var fa=b;if(n[fa+f]===v&&n[fa+f-1]===t&&n[fa]===n[e]&&n[++fa]===n[e+1]){e+=2;for(fa++;n[++e]===n[++fa]&&n[++e]===n[++fa]&&n[++e]===n[++fa]&&n[++e]===n[++fa]&&n[++e]===n[++fa]&&n[++e]===n[++fa]&&n[++e]===n[++fa]&&n[++e]===n[++fa]&&ef){a.sf=b;f=fa;if(fa>=g)break;t=n[e+ f-1];v=n[e+f]}}}while((b=q[b&Ob])>k&&0!==--d);return f<=a.ta?f:a.ta}function L(a){var b=a.Ub,d;do{var e=a.Fm-a.ta-a.aa;if(a.aa>=b+(b-262)){Ia.Cc(a.window,a.window,b,b,0);a.sf-=b;a.aa-=b;a.nc-=b;var f=d=a.Ig;do{var g=a.head[--f];a.head[f]=g>=b?g-b:0}while(--d);f=d=b;do g=a.hd[--f],a.hd[f]=g>=b?g-b:0;while(--d);e+=b}if(0===a.Ia.eb)break;f=a.Ia;d=a.window;g=a.aa+a.ta;var k=f.eb;k>e&&(k=e);0===k?d=0:(f.eb-=k,Ia.Cc(d,f.input,f.Yb,k,g),1===f.state.ab?f.Ga=Pa(f.Ga,d,k,g):2===f.state.ab&&(f.Ga=R(f.Ga,d,k, g)),f.Yb+=k,f.nd+=k,d=k);a.ta+=d;if(3<=a.ta+a.bc)for(e=a.aa-a.bc,a.Wa=a.window[e],a.Wa=(a.Wa<a.ta+a.bc););}while(262>a.ta&&0!==a.Ia.eb)}function qa(a,b){for(var d;;){if(262>a.ta){L(a);if(262>a.ta&&0===b)return 1;if(0===a.ta)break}d=0;3<=a.ta&&(a.Wa=(a.Wa<a.aa?a.aa:2;return 4===b?(q(a,!0),0===a.Ia.wa?3:4):a.Fc&&(q(a,!1),0===a.Ia.wa)?1:2}function ka(a,b){for(var d,e;;){if(262> a.ta){L(a);if(262>a.ta&&0===b)return 1;if(0===a.ta)break}d=0;3<=a.ta&&(a.Wa=(a.Wa<=a.cb&&(1===a.kd||3===a.cb&&4096a.aa?a.aa:2;return 4===b?(q(a,!0),0===a.Ia.wa?3:4):a.Fc&&(q(a,!1),0===a.Ia.wa)?1:2}function xb(a,b){for(var d,e,f,g=a.window;;){if(258>=a.ta){L(a);if(258>=a.ta&&0===b)return 1;if(0===a.ta)break}a.cb=0;if(3<=a.ta&&0a.ta&&(a.cb=a.ta)}3<=a.cb?(d=hb.Ud(a,1,a.cb-3),a.ta-=a.cb,a.aa+=a.cb,a.cb=0):(d=hb.Ud(a,0,a.window[a.aa]),a.ta--,a.aa++);if(d&&(q(a,!1),0===a.Ia.wa))return 1}a.bc=0;return 4===b?(q(a,!0),0===a.Ia.wa?3:4):a.Fc&&(q(a,!1),0===a.Ia.wa)?1:2}function Ya(a,b){for(var d;;){if(0===a.ta&&(L(a),0===a.ta)){if(0===b)return 1;break}a.cb=0;d=hb.Ud(a,0,a.window[a.aa]);a.ta--;a.aa++;if(d&& (q(a,!1),0===a.Ia.wa))return 1}a.bc=0;return 4===b?(q(a,!0),0===a.Ia.wa?3:4):a.Fc&&(q(a,!1),0===a.Ia.wa)?1:2}function cb(a,b,d,e,f){this.Tn=a;this.wo=b;this.So=d;this.vo=e;this.Hn=f}function Oa(){this.Ia=null;this.status=0;this.qb=null;this.ab=this.Ca=this.dg=this.Ic=0;this.Pa=null;this.Uc=0;this.method=8;this.qf=-1;this.je=this.wj=this.Ub=0;this.window=null;this.Fm=0;this.head=this.hd=null;this.xl=this.Ok=this.kd=this.level=this.mi=this.nl=this.wc=this.ta=this.sf=this.aa=this.ve=this.Vl=this.cb= this.nc=this.Cd=this.Bd=this.Yh=this.Ig=this.Wa=0;this.Zb=new Ia.mc(1146);this.me=new Ia.mc(122);this.Ob=new Ia.mc(78);e(this.Zb);e(this.me);e(this.Ob);this.hk=this.wg=this.Kg=null;this.td=new Ia.mc(16);this.vb=new Ia.mc(573);e(this.vb);this.kf=this.Dd=0;this.depth=new Ia.mc(573);e(this.depth);this.Lb=this.Wb=this.bc=this.matches=this.Gf=this.Kd=this.Tf=this.Fc=this.Yf=this.ii=0}function xa(a){if(!a||!a.state)return d(a,-2);a.nd=a.ie=0;a.xg=2;var b=a.state;b.Ca=0;b.dg=0;0>b.ab&&(b.ab=-b.ab);b.status= b.ab?42:113;a.Ga=2===b.ab?0:1;b.qf=0;hb.$m(b);return 0}function fa(a){var b=xa(a);0===b&&(a=a.state,a.Fm=2*a.Ub,e(a.head),a.mi=za[a.level].wo,a.Ok=za[a.level].Tn,a.xl=za[a.level].So,a.nl=za[a.level].vo,a.aa=0,a.nc=0,a.ta=0,a.bc=0,a.cb=a.wc=2,a.ve=0,a.Wa=0);return b}function La(a,b,e,f,g,k){if(!a)return-2;var n=1;-1===b&&(b=6);0>f?(n=0,f=-f):15g||9f||15b||9k||4a.Ic-5&&(d=a.Ic-5);;){if(1>=a.ta){L(a);if(0===a.ta&&0===b)return 1;if(0===a.ta)break}a.aa+=a.ta;a.ta= 0;var e=a.nc+d;if(0===a.aa||a.aa>=e)if(a.ta=a.aa-e,a.aa=e,q(a,!1),0===a.Ia.wa)return 1;if(a.aa-a.nc>=a.Ub-262&&(q(a,!1),0===a.Ia.wa))return 1}a.bc=0;if(4===b)return q(a,!0),0===a.Ia.wa?3:4;a.aa>a.nc&&q(a,!1);return 1}),new cb(4,4,8,4,qa),new cb(4,5,16,8,qa),new cb(4,6,32,32,qa),new cb(4,4,16,16,ka),new cb(8,16,32,32,ka),new cb(8,16,128,128,ka),new cb(8,32,128,256,ka),new cb(32,128,258,1024,ka),new cb(32,258,258,4096,ka)];f.nv=function(a,b){return La(a,b,8,15,8,0)};f.yn=La;f.pv=fa;f.qv=xa;f.An=function(a, b){a&&a.state&&2===a.state.ab&&(a.state.Pa=b)};f.nk=function(a,b){if(!a||!a.state||5b)return a?d(a,-2):-2;var f=a.state;if(!a.Gb||!a.input&&0!==a.eb||666===f.status&&4!==b)return d(a,0===a.wa?-5:-2);f.Ia=a;var g=f.qf;f.qf=b;if(42===f.status)if(2===f.ab)a.Ga=0,t(f,31),t(f,139),t(f,8),f.Pa?(t(f,(f.Pa.text?1:0)+(f.Pa.dd?2:0)+(f.Pa.gb?4:0)+(f.Pa.name?8:0)+(f.Pa.comment?16:0)),t(f,f.Pa.time&255),t(f,f.Pa.time>>8&255),t(f,f.Pa.time>>16&255),t(f,f.Pa.time>>24&255),t(f,9===f.level?2:2<=f.kd||2>f.level? 4:0),t(f,f.Pa.Ul&255),f.Pa.gb&&f.Pa.gb.length&&(t(f,f.Pa.gb.length&255),t(f,f.Pa.gb.length>>8&255)),f.Pa.dd&&(a.Ga=R(a.Ga,f.qb,f.Ca,0)),f.Uc=0,f.status=69):(t(f,0),t(f,0),t(f,0),t(f,0),t(f,0),t(f,9===f.level?2:2<=f.kd||2>f.level?4:0),t(f,3),f.status=113);else{var k=8+(f.wj-8<<4)<<8;k|=(2<=f.kd||2>f.level?0:6>f.level?1:6===f.level?2:3)<<6;0!==f.aa&&(k|=32);f.status=113;v(f,k+(31-k%31));0!==f.aa&&(v(f,a.Ga>>>16),v(f,a.Ga&65535));a.Ga=1}if(69===f.status)if(f.Pa.gb){for(k=f.Ca;f.Uc<(f.Pa.gb.length&65535)&& (f.Ca!==f.Ic||(f.Pa.dd&&f.Ca>k&&(a.Ga=R(a.Ga,f.qb,f.Ca-k,k)),n(a),k=f.Ca,f.Ca!==f.Ic));)t(f,f.Pa.gb[f.Uc]&255),f.Uc++;f.Pa.dd&&f.Ca>k&&(a.Ga=R(a.Ga,f.qb,f.Ca-k,k));f.Uc===f.Pa.gb.length&&(f.Uc=0,f.status=73)}else f.status=73;if(73===f.status)if(f.Pa.name){k=f.Ca;do{if(f.Ca===f.Ic&&(f.Pa.dd&&f.Ca>k&&(a.Ga=R(a.Ga,f.qb,f.Ca-k,k)),n(a),k=f.Ca,f.Ca===f.Ic)){var q=1;break}q=f.Uck&&(a.Ga=R(a.Ga,f.qb,f.Ca-k,k));0===q&& (f.Uc=0,f.status=91)}else f.status=91;if(91===f.status)if(f.Pa.comment){k=f.Ca;do{if(f.Ca===f.Ic&&(f.Pa.dd&&f.Ca>k&&(a.Ga=R(a.Ga,f.qb,f.Ca-k,k)),n(a),k=f.Ca,f.Ca===f.Ic)){q=1;break}q=f.Uck&&(a.Ga=R(a.Ga,f.qb,f.Ca-k,k));0===q&&(f.status=103)}else f.status=103;103===f.status&&(f.Pa.dd?(f.Ca+2>f.Ic&&n(a),f.Ca+2<=f.Ic&&(t(f,a.Ga&255),t(f,a.Ga>>8&255),a.Ga=0,f.status=113)):f.status=113);if(0!==f.Ca){if(n(a),0=== a.wa)return f.qf=-1,0}else if(0===a.eb&&(b<<1)-(4=f.ab)return 1;2===f.ab?(t(f, a.Ga&255),t(f,a.Ga>>8&255),t(f,a.Ga>>16&255),t(f,a.Ga>>24&255),t(f,a.nd&255),t(f,a.nd>>8&255),t(f,a.nd>>16&255),t(f,a.nd>>24&255)):(v(f,a.Ga>>>16),v(f,a.Ga&65535));n(a);0=f.Ub){0===g&&(e(f.head),f.aa=0,f.nc=0,f.bc=0);var k=new Ia.Kc(f.Ub);Ia.Cc(k,b,d-f.Ub,f.Ub,0);b=k;d=f.Ub}k=a.eb;var n=a.Yb;var q=a.input;a.eb=d;a.Yb=0;a.input=b;for(L(f);3<=f.ta;){b=f.aa;d=f.ta-2;do f.Wa=(f.Wa<xa&&(Oa+=f[e++]<>>24;Oa>>>=R;xa-=R;R=Pa>>>16&255;if(0===R)z[v++]=Pa&65535;else if(R&16){var ua=Pa&65535;if(R&=15)xa>>=R,xa-=R;15>xa&&(Oa+=f[e++]<>>24;Oa>>>=R;xa-=R;R=Pa>>>16&255;if(R&16){Pa&=65535;R&=15;xaqa){a.Qa="invalid distance too far back"; d.mode=30;break a}Oa>>>=R;xa-=R;R=v-b;if(Pa>R){R=Pa-R;if(R>xb&&d.Yi){a.Qa="invalid distance too far back";d.mode=30;break a}var za=0;var Ob=cb;if(0===Ya){if(za+=ka-R,R>3;e-=ua;xa-=ua<<3;a.Yb=e;a.wb=v;a.eb= e>>24&255)+(a>>>8&65280)+((a&65280)<<8)+((a&255)<<24)}function e(){this.mode=0;this.Lg=!1;this.ab=0;this.Zh=!1;this.total=this.check=this.zg=this.flags=0;this.head=null;this.hc=this.Md=this.ic=this.Jf=0;this.window=null;this.gb=this.offset=this.length=this.Ab=this.be=0;this.le=this.Gd=null;this.Ec=this.ag=this.zf=this.wl=this.$e=this.fd=0;this.next=null;this.Rb=new L.mc(320); this.lg=new L.mc(288);this.rk=this.ml=null;this.Er=this.back=this.Yi=0}function n(a){if(!a||!a.state)return-2;var b=a.state;a.nd=a.ie=b.total=0;a.Qa="";b.ab&&(a.Ga=b.ab&1);b.mode=1;b.Lg=0;b.Zh=0;b.zg=32768;b.head=null;b.be=0;b.Ab=0;b.Gd=b.ml=new L.Nf(852);b.le=b.rk=new L.Nf(592);b.Yi=1;b.back=-1;return 0}function q(a){if(!a||!a.state)return-2;var b=a.state;b.ic=0;b.Md=0;b.hc=0;return n(a)}function t(a,b){if(!a||!a.state)return-2;var d=a.state;if(0>b){var e=0;b=-b}else e=(b>>4)+1,48>b&&(b&=15);if(b&& (8>b||15=f.ic?(L.Cc(f.window,b,d-f.ic,f.ic,0),f.hc=0,f.Md=f.ic):(a=f.ic-f.hc,a>e&&(a=e),L.Cc(f.window,b,d-e,a,f.hc),(e-=a)?(L.Cc(f.window,b,d-e,e,0),f.hc=e,f.Md=f.ic):(f.hc+=a,f.hc===f.ic&&(f.hc=0),f.MdF;){if(0===S)break a;S--;E+=fa[v++]<>>8&255;k.check=ka(k.check,f,2,0);F=E=0;k.mode=2;break}k.flags=0;k.head&&(k.head.done=!1);if(!(k.ab&1)||(((E&255)<<8)+(E>>8))%31){a.Qa="incorrect header check";k.mode=30;break}if(8!==(E&15)){a.Qa="unknown compression method";k.mode=30;break}E>>>=4;F-=4;var U=(E&15)+8;if(0===k.Jf)k.Jf=U;else if(U>k.Jf){a.Qa="invalid window size";k.mode=30;break}k.zg=1<F;){if(0===S)break a;S--;E+=fa[v++]<>8&1);k.flags&512&&(f[0]=E&255,f[1]=E>>>8&255,k.check=ka(k.check,f,2,0));F=E=0;k.mode=3;case 3:for(;32>F;){if(0===S)break a;S--;E+=fa[v++]<>>8&255,f[2]=E>>>16&255,f[3]=E>>>24&255,k.check= ka(k.check,f,4,0));F=E=0;k.mode=4;case 4:for(;16>F;){if(0===S)break a;S--;E+=fa[v++]<>8);k.flags&512&&(f[0]=E&255,f[1]=E>>>8&255,k.check=ka(k.check,f,2,0));F=E=0;k.mode=5;case 5:if(k.flags&1024){for(;16>F;){if(0===S)break a;S--;E+=fa[v++]<>>8&255,k.check=ka(k.check,f,2,0));F=E=0}else k.head&&(k.head.gb=null);k.mode=6;case 6:if(k.flags&1024){var H=k.length;H>S&&(H=S);H&&(k.head&&(U= k.head.zh-k.length,k.head.gb||(k.head.gb=Array(k.head.zh)),L.Cc(k.head.gb,fa,v,H,U)),k.flags&512&&(k.check=ka(k.check,fa,H,v)),S-=H,v+=H,k.length-=H);if(k.length)break a}k.length=0;k.mode=7;case 7:if(k.flags&2048){if(0===S)break a;H=0;do U=fa[v+H++],k.head&&U&&65536>k.length&&(k.head.name+=String.fromCharCode(U));while(U&&Hk.length&&(k.head.comment+=String.fromCharCode(U));while(U&&HF;){if(0===S)break a;S--;E+=fa[v++]<>9&1,k.head.done=!0);a.Ga=k.check=0;k.mode=12;break;case 10:for(;32>F;){if(0===S)break a;S--;E+=fa[v++]<>>=F&7;F-=F&7;k.mode=27;break}for(;3>F;){if(0===S)break a;S--;E+=fa[v++]<>>=1;--F;switch(E&3){case 0:k.mode=14;break;case 1:U=k;if(cb){Oa=new L.Nf(512);xa=new L.Nf(32);for(H=0;144>H;)U.Rb[H++]=8;for(;256>H;)U.Rb[H++]=9;for(;280>H;)U.Rb[H++]=7;for(;288>H;)U.Rb[H++]=8;Ya(1,U.Rb,0,288,Oa,0,U.lg,{Ab:9});for(H=0;32>H;)U.Rb[H++]= 5;Ya(2,U.Rb,0,32,xa,0,U.lg,{Ab:5});cb=!1}U.Gd=Oa;U.fd=9;U.le=xa;U.$e=5;k.mode=20;if(6===b){E>>>=2;F-=2;break a}break;case 2:k.mode=17;break;case 3:a.Qa="invalid block type",k.mode=30}E>>>=2;F-=2;break;case 14:E>>>=F&7;for(F-=F&7;32>F;){if(0===S)break a;S--;E+=fa[v++]<>>16^65535)){a.Qa="invalid stored block lengths";k.mode=30;break}k.length=E&65535;F=E=0;k.mode=15;if(6===b)break a;case 15:k.mode=16;case 16:if(H=k.length){H>S&&(H=S);H>t&&(H=t);if(0===H)break a;L.Cc(q,fa,v, H,n);S-=H;v+=H;t-=H;n+=H;k.length-=H;break}k.mode=12;break;case 17:for(;14>F;){if(0===S)break a;S--;E+=fa[v++]<>>=5;F-=5;k.ag=(E&31)+1;E>>>=5;F-=5;k.wl=(E&15)+4;E>>>=4;F-=4;if(286F;){if(0===S)break a;S--;E+=fa[v++]<>>=3;F-=3}for(;19>k.Ec;)k.Rb[g[k.Ec++]]=0;k.Gd=k.ml;k.fd=7;H={Ab:k.fd};Pb=Ya(0,k.Rb,0,19,k.Gd,0,k.lg,H);k.fd= H.Ab;if(Pb){a.Qa="invalid code lengths set";k.mode=30;break}k.Ec=0;k.mode=19;case 19:for(;k.Ec>>24;Ma&=65535;if(H<=F)break;if(0===S)break a;S--;E+=fa[v++]<Ma)E>>>=H,F-=H,k.Rb[k.Ec++]=Ma;else{if(16===Ma){for(U=H+2;F>>=H;F-=H;if(0===k.Ec){a.Qa="invalid bit length repeat";k.mode=30;break}U=k.Rb[k.Ec-1];H=3+(E&3);E>>>=2;F-=2}else if(17===Ma){for(U=H+3;F>>=H;F-=H;U=0;H=3+(E&7);E>>>=3;F-=3}else{for(U=H+7;F>>=H;F-=H;U=0;H=11+(E&127);E>>>=7;F-=7}if(k.Ec+H>k.zf+k.ag){a.Qa="invalid bit length repeat";k.mode=30;break}for(;H--;)k.Rb[k.Ec++]=U}}if(30===k.mode)break;if(0===k.Rb[256]){a.Qa="invalid code -- missing end-of-block";k.mode=30;break}k.fd=9;H={Ab:k.fd};Pb=Ya(1,k.Rb,0,k.zf,k.Gd,0,k.lg,H);k.fd=H.Ab;if(Pb){a.Qa="invalid literal/lengths set";k.mode=30;break}k.$e=6;k.le=k.rk;H={Ab:k.$e};Pb=Ya(2, k.Rb,k.zf,k.ag,k.le,0,k.lg,H);k.$e=H.Ab;if(Pb){a.Qa="invalid distances set";k.mode=30;break}k.mode=20;if(6===b)break a;case 20:k.mode=21;case 21:if(6<=S&&258<=t){a.wb=n;a.wa=t;a.Yb=v;a.eb=S;k.be=E;k.Ab=F;xb(a,Fa);n=a.wb;q=a.Gb;t=a.wa;v=a.Yb;fa=a.input;S=a.eb;E=k.be;F=k.Ab;12===k.mode&&(k.back=-1);break}for(k.back=0;;){Ma=k.Gd[E&(1<>>24;U=Ma>>>16&255;Ma&=65535;if(H<=F)break;if(0===S)break a;S--;E+=fa[v++]<>Db)];H=Ma>>>24;U=Ma>>>16&255;Ma&=65535;if(Db+H<=F)break;if(0===S)break a;S--;E+=fa[v++]<>>=Db;F-=Db;k.back+=Db}E>>>=H;F-=H;k.back+=H;k.length=Ma;if(0===U){k.mode=26;break}if(U&32){k.back=-1;k.mode=12;break}if(U&64){a.Qa="invalid literal/length code";k.mode=30;break}k.gb=U&15;k.mode=22;case 22:if(k.gb){for(U=k.gb;F>>=k.gb;F-=k.gb;k.back+=k.gb}k.Er=k.length;k.mode=23;case 23:for(;;){Ma=k.le[E&(1<>> 24;U=Ma>>>16&255;Ma&=65535;if(H<=F)break;if(0===S)break a;S--;E+=fa[v++]<>Db)];H=Ma>>>24;U=Ma>>>16&255;Ma&=65535;if(Db+H<=F)break;if(0===S)break a;S--;E+=fa[v++]<>>=Db;F-=Db;k.back+=Db}E>>>=H;F-=H;k.back+=H;if(U&64){a.Qa="invalid distance code";k.mode=30;break}k.offset=Ma;k.gb=U&15;k.mode=24;case 24:if(k.gb){for(U=k.gb;F>>=k.gb;F-=k.gb;k.back+= k.gb}if(k.offset>k.zg){a.Qa="invalid distance too far back";k.mode=30;break}k.mode=25;case 25:if(0===t)break a;H=Fa-t;if(k.offset>H){H=k.offset-H;if(H>k.Md&&k.Yi){a.Qa="invalid distance too far back";k.mode=30;break}H>k.hc?(H-=k.hc,U=k.ic-H):U=k.hc-H;H>k.length&&(H=k.length);Db=k.window}else Db=q,U=n-k.offset,H=k.length;H>t&&(H=t);t-=H;k.length-=H;do q[n++]=Db[U++];while(--H);0===k.length&&(k.mode=21);break;case 26:if(0===t)break a;q[n++]=k.length;t--;k.mode=21;break;case 27:if(k.ab){for(;32>F;){if(0=== S)break a;S--;E|=fa[v++]<F;){if(0===S)break a;S--;E+=fa[v++]<k.mode&&(27>k.mode||4!==b))&&z(a,a.Gb,a.wb,Fa-a.wa))return k.mode=31,-4;La-=a.eb;Fa-=a.wa;a.nd+=La;a.ie+=Fa;k.total+=Fa;k.ab&&Fa&&(a.Ga=k.check=k.flags?ka(k.check,q,Fa,a.wb-Fa):qa(k.check,q,Fa,a.wb-Fa));a.xg=k.Ab+(k.Lg?64:0)+(12===k.mode?128:0)+(20===k.mode||15===k.mode?256:0);(0===La&&0===Fa||4===b)&&0===Pb&&(Pb=-5);return Pb};f.mo=function(a){if(!a||!a.state)return-2;var b=a.state;b.window&&(b.window=null);a.state=null;return 0};f.no=function(a,b){a&&a.state&& (a=a.state,0!==(a.ab&2)&&(a.head=b,b.done=!1))};f.po=function(a,b){var d=b.length;if(!a||!a.state)return-2;var e=a.state;if(0!==e.ab&&11!==e.mode)return-2;if(11===e.mode){var f=qa(1,b,d,0);if(f!==e.check)return-3}if(z(a,b,d,d))return e.mode=31,-4;e.Zh=1;return 0};f.vv="pako inflate (from Nodeca project)"},{"../utils/common":3,"./adler32":5,"./crc32":7,"./inffast":10,"./inftrees":12}],12:[function(a,b){var d=a("../utils/common"),e=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115, 131,163,195,227,258,0,0],k=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],n=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],q=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];b.cc=function(a,b,f,g,qa,ka,xb,Ya){var t=Ya.Ab,v,z,L,La,Ia,hb,Pa=0,R=new d.mc(16);var ua=new d.mc(16);var za,Ob=0;for(v=0;15>=v;v++)R[v]=0;for(z=0;zL&&(ac=L);if(0===L)return qa[ka++]=20971520,qa[ka++]=20971520,Ya.Ab=1,0;for(t=1;t=v;v++)if(La<<=1,La-=R[v],0>La)return-1;if(0v;v++)ua[v+1]=ua[v]+R[v];for(z=0;zS?(U=za[Ob+xb[z]],H=Pg[Pa+xb[z]]):(U=96,H=0);La=1<>ua)+hb]=Pb<<24|U<<16|H|0;while(0!==hb);for(La=1<>=1;0!==La?(Ia&=La-1,Ia+=La):Ia=0;z++;if(0===--R[v]){if(v===L)break;v=b[f+xb[z]]}if(v>ac&&(Ia&Fa)!==F){0===ua&&(ua=ac);E+=t;g=v-ua;for(La=1<=La)break;g++;La<<=1}kc+=1<>>8&255}function t(a,b,d){a.Lb>16-d?(a.Wb|=b<>16-a.Lb,a.Lb+=d-16):(a.Wb|=b<>>=1,d<<=1;while(0<--b);return d>>>1}function L(a,b,d){var e=Array(16),f=0,g;for(g=1;15>=g;g++)e[g]=f=f+d[g-1]<<1;for(d=0;d<=b;d++)f=a[2*d+1],0!==f&&(a[2*d]=z(e[f]++,f))}function qa(a){var b;for(b=0;286>b;b++)a.Zb[2*b]=0;for(b=0;30>b;b++)a.me[2*b]=0; for(b=0;19>b;b++)a.Ob[2*b]=0;a.Zb[512]=1;a.Kd=a.Gf=0;a.Fc=a.matches=0}function ka(a){8f?kc[f]:kc[256+(f>>>7)];v(a,k,d);n=ac[k];0!==n&&(f-=U[k],t(a,f,n))}}while(ea.Dd;){var q=a.vb[++a.Dd]=2>n?++n:0;d[2*q]=1;a.depth[q]=0;a.Kd--;f&&(a.Gf-=e[2*q+1])}b.tf=n;for(k=a.Dd>>1;1<=k;k--)Ya(a,d,k);q=g;do k=a.vb[1],a.vb[1]=a.vb[a.Dd--], Ya(a,d,1),e=a.vb[1],a.vb[--a.kf]=k,a.vb[--a.kf]=e,d[2*q]=d[2*k]+d[2*e],a.depth[q]=(a.depth[k]>=a.depth[e]?a.depth[k]:a.depth[e])+1,d[2*k+1]=d[2*e+1]=q,a.vb[1]=q++,Ya(a,d,1);while(2<=a.Dd);a.vb[--a.kf]=a.vb[1];k=b.sk;q=b.tf;e=b.he.sm;f=b.he.Wk;g=b.he.Fn;var t=b.he.En,v=b.he.xo,z,E=0;for(z=0;15>=z;z++)a.td[z]=0;k[2*a.vb[a.kf]+1]=0;for(b=a.kf+1;573>b;b++){var sd=a.vb[b];z=k[2*k[2*sd+1]+1]+1;z>v&&(z=v,E++);k[2*sd+1]=z;if(!(sd>q)){a.td[z]++;var F=0;sd>=t&&(F=g[sd-t]);var H=k[2*sd];a.Kd+=H*(z+F);f&&(a.Gf+= H*(e[2*sd+1]+F))}}if(0!==E){do{for(z=v-1;0===a.td[z];)z--;a.td[z]--;a.td[z+1]+=2;a.td[v]--;E-=2}while(0q||(k[2*e+1]!==z&&(a.Kd+=(z-k[2*e+1])*k[2*e],k[2*e+1]=z),sd--)}L(d,n,a.td)}function xa(a,b,d){var e,f=-1,g=b[1],k=0,n=7,q=4;0===g&&(n=138,q=3);b[2*(d+1)+1]=65535;for(e=0;e<=d;e++){var t=g;g=b[2*(e+1)+1];++k=k?a.Ob[34]++:a.Ob[36]++,k=0,f=t,0===g?(n=138,q=3):t===g?(n=6,q= 3):(n=7,q=4))}}function fa(a,b,d){var e,f=-1,g=b[1],k=0,n=7,q=4;0===g&&(n=138,q=3);for(e=0;e<=d;e++){var z=g;g=b[2*(e+1)+1];if(!(++k=k?(v(a,17,a.Ob),t(a,k-3,3)):(v(a,18,a.Ob),t(a,k-11,7));k=0;f=z;0===g?(n=138,q=3):z===g?(n=6,q=3):(n=7,q=4)}}}function La(a){var b=4093624447,d;for(d=0;31>=d;d++,b>>>=1)if(b&1&&0!==a.Zb[2*d])return 0;if(0!==a.Zb[18]||0!==a.Zb[20]||0!==a.Zb[26])return 1;for(d= 32;256>d;d++)if(0!==a.Zb[2*d])return 1;return 0}function Ia(a){if(!Jf){var b,d,f,g=Array(16);for(f=d=0;28>f;f++)for(Pb[f]=d,b=0;b<1<f;f++)for(U[f]=d,b=0;b<1<>=7;30>f;f++)for(U[f]=d<<7,b=0;b<1<=b;b++)g[b]=0;for(b=0;143>=b;)E[2*b+1]=8,b++,g[8]++;for(;255>=b;)E[2*b+1]=9,b++,g[9]++;for(;279>=b;)E[2*b+1]=7,b++,g[7]++;for(;287>=b;)E[2*b+1]=8,b++,g[8]++;L(E,287,g);for(b=0;30>b;b++)F[2*b+1]=5,F[2* b]=z(b,5);H=new e(E,Ob,257,286,15);Ma=new e(F,ac,0,30,15);Db=new e([],Pg,0,19,7);Jf=!0}a.Kg=new n(a.Zb,H);a.wg=new n(a.me,Ma);a.hk=new n(a.Ob,Db);a.Wb=0;a.Lb=0;qa(a)}function hb(a,b,d,e){t(a,e?1:0,3);ka(a);q(a,d);q(a,~d);za.Cc(a.qb,a.window,b,d,a.Ca);a.Ca+=d}function Pa(a){t(a,2,3);v(a,256,E);16===a.Lb?(q(a,a.Wb),a.Wb=0,a.Lb=0):8<=a.Lb&&(a.qb[a.Ca++]=a.Wb&255,a.Wb>>=8,a.Lb-=8)}function R(a,b,d,e){var f=0;if(0>>3;var k=a.Gf+3+7>>>3;k<=g&&(g=k)}else g=k=d+5;if(d+4<=g&&-1!==b)hb(a,b,d,e);else if(4===a.kd||k===g)t(a,2+(e?1:0),3),cb(a,E,F);else{t(a,4+(e?1:0),3);b=a.Kg.tf+1;d=a.wg.tf+1;f+=1;t(a,b-257,5);t(a,d-1,5);t(a,f-4,4);for(g=0;g>>8&255;a.qb[a.Tf+2*a.Fc+1]=b&255;a.qb[a.ii+a.Fc]=d&255;a.Fc++; 0===b?a.Zb[2*d]++:(a.matches++,b--,a.Zb[2*(Fa[d]+256+1)]++,a.me[2*(256>b?kc[b]:kc[256+(b>>>7)])]++);return a.Fc===a.Yf-1}var za=a("../utils/common"),Ob=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],ac=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],Pg=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],S=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],E=Array(576);d(E);var F=Array(60);d(F);var kc=Array(512);d(kc);var Fa=Array(256);d(Fa);var Pb=Array(29);d(Pb);var U=Array(30); d(U);var H,Ma,Db,Jf=!1;f.$m=Ia;f.an=hb;f.Zm=R;f.Ud=ua;f.Ym=Pa},{"../utils/common":3}],15:[function(a,b){b.cc=function(){this.input=null;this.nd=this.eb=this.Yb=0;this.Gb=null;this.ie=this.wa=this.wb=0;this.Qa="";this.state=null;this.xg=2;this.Ga=0}},{}],"/":[function(a,b){var d=a("./lib/utils/common").assign,e=a("./lib/deflate"),k=a("./lib/inflate");a=a("./lib/zlib/constants");var n={};d(n,e,k,a);b.cc=n},{"./lib/deflate":1,"./lib/inflate":2,"./lib/utils/common":3,"./lib/zlib/constants":6}]},{},[])("/")}); return b.cc}(); var kx=function(){};var mx=function(a,b,c){T.call(this);this.F=new Gm(300);this.u=new Gm(300);this.G="";this.g=[];var d=Ew.hb();ye(this,Fw(d,"recentImpressions",x(this.I,this)));ye(this,Fw(d,"diagnosticImpressions",x(this.H,this)));this.o=new Set;var e=window.location.pathname;d=window.location.search;c||(c=(c=/\/u\/(\d+)\/?/.exec(e))&&c[1],c=(d=/[\?&]authuser=(\d+)/.exec(d))&&d[1]||c||"0");this.l=new jx(50,c);this.l.U=new kx;d=this.l;d.P=!0;dx(d,18E4);null!=b&&lx(this,b);Gl(this);this.fb.init(a)};A(mx,T);xl(dw,mx); var nx=function(a){var b=new aw;Bw(b);dk(K(b,ck,5),cw());J(K(b,ck,5),3,1);a.fb.eg(b);a.g.forEach(function(a){return a.eg(b)});return b},lx=function(a,b){b.then(function(a){null!=a&&(this.l.F=a)},void 0,a)};mx.prototype.I=function(){return this.F.ya()};mx.prototype.H=function(){return this.u.ya()}; var px=function(a,b,c,d,e,f,g,k,n){var q=nx(a),t=new Yv;J(t,1,b);var v=Aw(q);O(v,8,t);if(c){var z=Cw(q);z.Oa(c)}d&&(z=Cw(q),J(z,5,d));e&&(z=Cw(q),z.ha(e));g&&(c=Dw(t),J(c,2,g));k&&(c=Dw(t),J(c,1,k));n&&O(v,16,n);g=bw[b];if(1!=g){k=y();k=new Date(k);n=new vw;if(!k)throw Error("L");t=[];for(v=0;v"};h.dm=function(a){this.F=a;return this};h.cm=function(a){this.I=a;return this};h.km=function(){return this};h.nm=function(a){this.U=a;return this};h.pm=function(a){this.K=a;return this};h.bj=function(a){this.O=a;return this};h.gj=function(a){this.l=a};h.qm=function(a){this.o=a;return this}; var Cy=function(a,b){a.g=b};By.prototype.mr=function(a){this.J=a};By.prototype.dr=function(a){this.u=a};var Dy=function(a){var b=a.L.g;b=Math.round(.5*b)+Math.floor(Math.random()*b);Ow(a.L);return Math.min(b,36E4)};By.prototype.cancel=function(){this.H=!0;this.gj("c")};var Ay=function(){};Ay.prototype.Yg=function(a){this.g=a;return this};Ay.prototype.mm=function(a){this.l=a};Ay.prototype.na=function(a){this.g(a)}; var Ey=new yf("iHLLuf");var Fy=function(a,b){T.call(this);this.g=b;a.load(x(this.To,this),x(this.Uo,this));this.F=0;this.o=new Gg;this.l=new Gg};A(Fy,T);var Gy=null,Hy=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&&!u(b)?b.Na():b);B(c,function(a){f+=e+"Content-Type: "+a.type+"\r\nContent-transfer-encoding: "+a.g+"\r\n\r\n"+a.data+"\r\n\r\n"});return f+=d};h=Fy.prototype;h.Uf=null;h.To=function(a){this.Uf=a;this.M("Aa")};h.Uo=function(){this.L||(this.Uf=null)}; h.X=function(){var a=this.o.Cb();B(a,gj);a=this.l.Cb();B(a,gj)};h.request=function(a){Iy(this,a)}; var Iy=function(a,b){if(!a.L&&!b.H&&null!=a.Uf){Cy(b,a.F++);a.g&&a.g.onRequest(b);var c=b.O,d=null!=b.R?b.R:{},e=null!=b.K?b.K:{},f=null!=b.P?b.P:"application/json";if(null!=b.o?b.o:1)e.alt="protojson",f="application/json+protobuf",null!=c&&(c=JSON.parse(c.Na()));var g=b.N;if(0")+" and "+(d?d.id:""));for(var e in a.l)ou(a.l[e],c,d);jy(a.F,b.o);jy(a.K,b.g);Vx(a.F)&&mB(a,!a.Xf());if(Vx(a.K)){c=!1;for(var f in a.l)Iu(a.l[f]),c=!0;c||Iu(bB(a,"default-preview-session-id"))}(ay(a.F)||ay(a.K))&&Cu(a);a.Xa&&(a.Xa=!1,sB(a));null!=d&&(a.sa=b.u,null==a.sa||a.sa.kb(a.J.l)?b=!1:(a.J.l=a.sa,b=!0),b&&jB(a));tB(a)&&jB(a);uB(a)}; cB.prototype.Xi=function(a){if(a){if(0==this.Ta)for(var b in this.l)a=this.l[b],a.ba=1E3;++this.Ta}else if(--this.Ta,0==this.Ta)for(b in this.l)a=this.l[b],a.ba=a.lb};var vB=function(a){var b=Xx(a.P);a.g.g("Maybe set selected speaker to "+b);null!=b&&b!=Um&&Cv(a.u,b)}; cB.prototype.Qd=function(a){qB(this);this.oa=a;null!=a.u&&wB(this,a.u);if(null==a.error)Y(this.g,"Update request succeeded after fallback");else{var b=a.error;ly(b)?(Y(this.g,"Update request failed: "+b.name),400=v.length){if(t=wE(a,t,f))g.push(t),Uk(k,t.g)}else n=q(t,Math.ceil(v.length/2E3)).concat(n);t=n.shift()}var z=new Lk;sE(a,z);z.ca(x(a.O,a,b,g,c,d,e));Sk(z,function(){var a=new xE;a.l=!0;a.errorCode=-1;this.O(b,[a],c,d,e)},a);k.ca(function(){z.na()});k.na()},wE=function(a,b,c){var d= vE(a,b,!!c);a.V.push(d);if(a.P)a=document.createElement("SCRIPT"),ai(a,lE(d)),a.type="text/javascript",document.body.appendChild(a);else{var e=new xE,f=new qm(0a.l&&a.g.length;)AE(a,a.g.shift())},AE=function(a,b){a.l++;b().ca(function(){this.l--;zE(this)},a)},pE=function(a,b){return(a=a.match("/"+b+"=([^/]+)"))?a[1]:null}; var BE=function(a,b){this.data=a;this.Hf=b};BE.prototype.toString=function(){return"[op. result, version: "+this.Hf+", resource count: "+this.data.length+"]"};var CE=function(){T.call(this)};A(CE,T);var DE=function(a){this.g=a};DE.prototype.o=rg;var EE=function(a,b){this.l=a;this.g=b};var FE=function(a,b,c,d,e,f,g,k,n,q){this.g=a;this.H=C(b);this.I=C(c);this.P=C(d);this.G=Yb(b,d);this.R=Yb(c,e);this.o=f;this.J=C(g);this.K=C(k);this.N=C(n);this.L=Yb(g,n);this.O=Yb(k,q);this.F=tg};FE.prototype.l=function(a){if(a instanceof this.g)var b=this.H;else if(a instanceof this.o)b=this.J;else return[];return Fb(b,function(b){return b.call(a)})};var GE=function(a,b){if(b instanceof a.g)a=a.P;else if(b instanceof a.o)a=a.N;else return[];return Fb(a,function(a){return a.call(b)})}; FE.prototype.u=function(a){if(a instanceof this.g)var b=this.G;else if(a instanceof this.o)b=this.L;else return[];return Fb(b,function(b){return b.call(a)})};FE.prototype.xd=function(a,b){var c=this.R;a.length!=c.length&&(b?a=Yb(a,b):c=this.I);var d=new this.g;B(a,function(a,b){c[b].call(d,a)},this);return d}; var HE=function(a,b){var c=a.O;b.length!=c.length&&(c=a.K);var d=new a.o;B(b,function(a,b){c[b].call(d,a)},a);return d},IE=function(a,b){if(b instanceof a.g)a=a.G;else if(b instanceof a.o)a=a.L;else return!1;return!Hb(a,function(a){return null==a.call(b)})},KE=function(a,b,c){b=JE(a,b,a.u);a=JE(a,c,a.u);return ic(b,a)},JE=function(a,b,c){return b instanceof Array?b:c.call(a,b)}; var ME=function(a,b,c,d,e,f,g){T.call(this);this.g=d;this.K=e;this.u=HE(this.g,c);++LE;this.J=e.g;this.Ha=g||null;this.Y=f&&f.l||null;this.va=e.o();this.La=f&&f.g||null;this.Qb=new V(this);this.da(this.Qb);this.data={};this.oa=[];this.Ea={};this.l=-2;this.H=!0;this.G=Ri();this.state="ja";this.config=ve(b);$A.hb();this.N={};this.Da=rg};A(ME,T);var NE=new Gg(10,67);ME.prototype.U=function(a){return new OE(a.Hf,a.data,[],"fa")}; var PE=function(a,b){return new OE(b.Hf,[],a,"fa")},LE=0,QE=0,RE=function(a){"ja"==a.state&&(a.state="ha",a.Y&&a.Qb.listen(a.Y,a.La,a.Nl))};ME.prototype.start=function(a){a&&(this.u=ve(a));"ja"==this.state&&RE(this);if("ha"!=this.state)return null;this.state="ia";SE(this);return null};ME.prototype.stop=function(){if("ia"==this.state||"ha"==this.state)this.flush(),this.fa(),this.state="ja"};var SE=function(a){a.H&&a.G&&(a.G.resolve(a.oa),a.G=null)}; ME.prototype.fa=function(){this.Y&&Kh(this.Qb,this.Y,this.La,this.Nl)};ME.prototype.xd=function(a){for(var b=[],c=0;c=e.data.length?c[0].resolve(e.data):B(c,function(a,b){var c=d[b];b=Eb(e.data,function(a){return this.ma(a).kb(c)},this);a.resolve(b)},this)}; h.Kl=function(a,b,c){this.report("e",new fF(a.Sh(),a.Kk(),c));B(b,function(a){a.reject(c)});c.response&&c.response.getResponseHeader&&(a=c.response.getResponseHeader().yb(),(b=NE.get(a))&&gF(this,b,"Collection apiary operation failed with response code "+a+" triggering endcause "+b));return c};h.Ck=function(a){var b=!1;B(a,function(a){(a=this.N[a.toString()])&&1<=a.length&&(a.shift(),b=b||1<=a.length)},this);b&&this.I()};h.Nl=function(a){"ia"!=this.state&&"ha"!=this.state||this.Gi(a)}; h.Gi=function(a){var b=this.Lk(a),c=hF(this,a);a=iF(this,a);if(c.length||a.length)b=new OE(b,c,a,"ea"),this.report("j"),this.Hi(b)};h.Lk=function(){return-2}; var hF=function(a,b){var c=[];B(b.g.qc(),function(a){var b=this.g;a=a instanceof b.g?a:new b.g(JSON.parse(a.Na()));IE(this.g,a)?eF(this,dF(this,a))&&c.push(a):this.report("D","Pushed modified: "+a.Na())},a);return c},iF=function(a,b){if(!b.g.Qc)return[];var c=[];B(b.g.Qc(),function(a){var b=this.g.F(a);IE(this.g,b)?(a=dF(this,b),eF(this,a)&&c.push(a)):this.report("D","Pushed deleted: "+a.Na())},a);return c};ME.prototype.Hi=function(a){a instanceof OE&&jF(this,a)}; var jF=function(a,b){B(b.l,function(a){IE(this.g,a)?this.data[kF(this,a)]=ve(a):this.report("D","Partial update: "+a.Na())},a);var c=[];B(b.o,function(a){var b=kF(this,a);this.data[b]?delete this.data[b]:c.push(a)},a);0y()-a.Fa&&d.Yl(a.l)?e=a.l:a.Fa=y());d=YE(a,d,function(c){sF(a,!1);return e!=c.Hf?new uF(c.Hf,c.data,b):null});Vi(d.then(x(a.xq,a,c)),x(a.wq,a,c));a.W=d;Vi(a.W,eb);return d};h=rF.prototype;h.mf=function(a){return 0<=a};h.El=function(){tF(this,"qa",!0)};h.Ld=function(){return null!=tF(this,"ua",!0)||this.W?this.W:Ki("Collection not yet started, so cannot resync.")}; h.Gi=function(a){var b=!1,c=a.g.Rc();null!=c&&""!=c&&(b=this.g.F(c),b=dF(this,b),b=eF(this,b));b?this.Ld():rF.ra.Gi.call(this,a)};h.Lk=function(a){var b;mb(a.g.ea)&&null!=a.g.ea()&&(b=a.g.ea().Sa());return b}; h.Hi=function(a){var b=a.g==this.sa;this.sa=Math.max(this.sa,a.g);sF(this,!1);if(a instanceof uF)wF(this,a);else{this.mf(this.l)||this.M(new xF(a.l,a.o));if(this.mf(this.l)&&a.g<=this.l){"ea"==a.u&&this.report("l");var c=!1;b&&(this.report("m"),c=!0);100=b?(this.report("p"),a=!0):this.o.length>m(this.config,4,64)&&(this.report("o"),a=!0);a?(Qb(this.o),this.F.reset(),vF(this,"wa")):(Ow(this.F),yF(this))}};h.wq=function(a){this.report(a?"C":"s");AF(this,!0);TE(this)?(Ow(this.F),yF(this)):zF(this)}; h.Xj=function(){this.Ba.stop();if(0!=this.o.length&&this.mf(this.l)){for(var a=0;0=m(a.config,6,3E5)&&gF(a,22,c)}else a.O=y();else a.O=null},wF=function(a,b){if(a.l>=b.g&&100>a.l-b.g){var c=[];if(a.l==b.g){var d={};B(b.data,function(a){var b=kF(this, a);d[b]=!0;b=this.data[b]||null;b==a||b instanceof a.constructor&&BF(JSON.parse(b.Na()),JSON.parse(a.Na()))||c.push({local:b&&b.Na(),server:a.Na()})},a);Lc(a.data,function(a,b){d[b]||c.push({local:a.Na(),server:null})},a)}if(0!=c.length)a.report("B",c);else{a.report("y");switch(b.l){case "va":a.report("z");break;case "sa":a.report("A")}return}}a.l>b.g&&100>>0}; h.Wq=function(a){var b=new pA;J(b,1,a.g);a=a.Ua();J(b,2,a||[]);return b};h.Fq=function(a){var b=QF(ge(a,2),this.Oi)||[];a=l(a,1);return null!=a?Fr(Er(a),b).S():null};h.Hq=function(a){var b=TF(a.la());if(null==b)return null;var c=a.Z(),d=a.Gc();if(null==c||null==d)return null;var e=new Yr;e.o=c;b=as(Zr(e,b),d);c=K(a,nA,8);null!=c&&$r(b,QF(ge(c,1),this.Oi,this)||[]);return UF(b,K(a,Lz,9))}; var UF=function(a,b){if(b&&l(b,2)){if(cs(a,!0),b=b.Mb()){var c=l(b,3);c&&es(a,c);c=b.$b();b=b.getHeight();c&&b&&ds(a,new bi(c,b))}}else cs(a,!1);return a.S()},QF=function(a,b,c){null!=c&&(b=x(b,c));if(null==a||!kb(a))return null;c=[];for(var d=0;da.length||!(a[0]instanceof Wz)?c=null:(a=a[0],c=null!=a?a.u():null));this.M(new aG(b,d,c))},null,d);return a}; var cG=function(){Gl(this)};fb(cG);var dG=function(a,b,c){return a.fb.L(b,c,void 0,void 0)},eG=function(){};A(eG,wl);xl(eG,cG);eG.prototype.l=Dl();eG.prototype.L=Dl();eG.prototype.F=Dl();eG.prototype.u=Dl();var gG=function(a,b,c,d,e){xe.call(this);this.u=a;this.K=b;this.O=c||this.P;this.J=d||null;this.N=e||null;this.l=-1;this.I=Ri();this.g=null;this.o=!1;this.H=0;this.G=this.F=void 0;this.R=++fG};A(gG,xe);var fG=0;gG.prototype.Yl=function(a){this.l=a;hG(this);return!0};gG.prototype.Ph=function(){return this.I};gG.prototype.Nh=function(){return this.I.$};gG.prototype.Vk=function(){return this.o};var iG=function(a){null==a.g&&(a.g=a.K(),hG(a));return a.g};h=gG.prototype;h.cj=function(a){this.H=a}; h.Kh=function(){return this.H};h.hj=function(a,b){r(b)&&(b=Math.max(a,b));this.F=a;this.G=b};h.Eg=function(){return this.F};h.Lh=function(){return this.G};var hG=function(a){if(null!=a.g&&-1!=a.l){var b=a.g;if(mb(b.T)){var c=new My;J(c,1,a.l);b.T(c)}else mb(b.ka)&&b.ka()}};gG.prototype.Sh=function(){return this.u};gG.prototype.Kk=function(){return iG(this).toString()};gG.prototype.toString=function(){return"[Operation id: "+this.R+": "+this.u+", version: "+this.l+"]"};gG.prototype.P=function(){return[]}; var jG=function(){wb.call(this)};A(jG,wb);jG.prototype.message="Operation has already been executed.";jG.prototype.name="AlreadyExecutedError"; var kG=function(a){this.g=a};A(kG,DE);var lG=function(a){this.g=a};A(lG,kG);h=lG.prototype;h.Fe=function(a){return new gG("hangout_participants/add",function(){var b=new YB;le(b,6,a);return b},function(a){return N(a,mz,5)})};h.Ge=function(a){return new gG("hangout_participants/modify",function(){var b=new SC;le(b,4,a);return b},function(a){return N(a,mz,4)})};h.Af=function(a,b){var c=b&&b.jYdIne||0;return new gG("hangout_participants/remove",function(){var b=new YC;ZC(b,a);J(b,5,c);return b})}; h.Bf=function(a){return new gG("hangout_participants/query",function(){var b=new VC;b.ha(a.ua());b.Ma(a.Z());return b},function(a){return[K(a,mz,2)]})};h.Cf=function(a){return new gG("hangout_participants/search",function(){var b=new ZB;b.ha(a.ua());return b},function(a){return a.Gg()},mC.prototype.u,KC.prototype.u)}; var mG=function(a){this.g=a};A(mG,kG);h=mG.prototype;h.Fe=function(a){return new gG("hangouts/add",function(){var b=new RB;le(b,4,a);return b},function(a){return N(a,zz,5)})};h.Ge=function(a){return new gG("hangouts/modify",function(){var b=new OC;le(b,4,a);return b},function(a){return N(a,zz,4)})};h.Af=function(){return null};h.Bf=function(a){return new gG("hangouts/query",function(){var b=new $B;b.ha(a.ua());return b},function(a){return[K(a,zz,2)]},mC.prototype.G,KC.prototype.G)};h.Cf=function(a){return this.Bf(a)}; var nG=function(a){this.g=a};A(nG,DE);nG.prototype.Fe=function(a){return new gG("media_sessions/add",function(){var b=new eC;le(b,4,a);return b},function(a){return N(a,Wz,4)})};nG.prototype.Ge=function(a){return new gG("media_sessions/modify",function(){var b=new hD;le(b,4,a);return b},function(a){return N(a,Wz,4)})};nG.prototype.Af=function(){return null}; var oG=function(a){this.g=a};A(oG,kG);h=oG.prototype;h.Fe=function(a){return new gG("media_sources/add",function(){var b=new hC;le(b,4,a);return b},function(a){return N(a,bA,4)})};h.Ge=function(a){return new gG("media_sources/modify",function(){var b=new lD;le(b,4,a);return b},function(a){return N(a,bA,4)})};h.Af=function(){return null};h.Bf=function(a){return new gG("media_sources/query",function(){var b=new oD;b.ha(a.ua());b.Ma(a.Z());var c=a.Xl();J(b,4,c);return b},function(a){return[a.ga()]})}; h.Cf=function(a){return new gG("media_sources/search",x(function(){var b=new iC;b.ha(a.ua());return b},this),function(a){return N(a,bA,2)},mC.prototype.H,KC.prototype.H)}; var pG=function(a){this.g=a};A(pG,kG);h=pG.prototype;h.Fe=function(a){return new gG("media_streams/add",function(){var b=new kC;le(b,4,a);return b},function(a){return N(a,lA,4)})};h.Ge=function(a){return new gG("media_streams/modify",function(){var b=new rD;le(b,4,a);return b},function(a){return N(a,lA,4)})};h.Af=function(){return null};h.Bf=function(a){return new gG("media_streams/query",function(){var b=new uD;b.ha(a.ua());var c=a.Ki();J(b,2,c);b.Oa(a.Li());c=a.ub();J(b,4,c);return b},function(a){return[a.Ya()]})}; h.Cf=function(a){return new gG("media_streams/search",x(function(){var b=new lC;b.ha(a.ua());b.Oa(a.Li());var c=a.Ki();J(b,2,c);return b},this),function(a){return N(a,lA,2)},mC.prototype.I,KC.prototype.I)}; var qG=function(){return new FE(lA,[lA.prototype.ua,lA.prototype.Oq,lA.prototype.Pq],[lA.prototype.ha,lA.prototype.Mi,lA.prototype.Oa],[lA.prototype.ub],[lA.prototype.Ni],rA,[rA.prototype.ua,rA.prototype.Ki,rA.prototype.Li],[rA.prototype.ha,rA.prototype.Mq,rA.prototype.Oa],[rA.prototype.ub],[rA.prototype.Nq])}; var sG=function(a,b,c){return rG(a,b,[c],new FE(zz,[zz.prototype.ua],[zz.prototype.ha],[],[],Az,[Az.prototype.ua],[Az.prototype.ha],[],[]),mG,"Ga")},tG=function(a,b,c){return rG(a,b,[c],new FE(bA,[bA.prototype.ua],[bA.prototype.ha],[bA.prototype.Z,bA.prototype.Ii],[bA.prototype.Ma,bA.prototype.Ji],iA,[iA.prototype.ua],[iA.prototype.ha],[iA.prototype.Z,iA.prototype.Xl],[iA.prototype.Ma,iA.prototype.Lq]),oG,"Ka")},rG=function(a,b,c,d,e,f){var g=cG.hb();e=new e(dG(g,a,b));f=new EE(g.fb.F(a,b),f);return new rF(a, g.fb.l(a,b),c,d,e,f,g.fb.u(a,b))}; var vG=function(){this.g=new uG;this.l=null;this.version=0};A(vG,kG);h=vG.prototype;h.Fe=function(a){return new wG(this,0,a)};h.Ge=function(a){return new wG(this,1,a)};h.Af=function(a){return new wG(this,2,a)};h.Bf=function(a){return new wG(this,3,[a])};h.Cf=function(){return new wG(this,4,[])};var uG=function(){T.call(this)};A(uG,CE);uG.prototype.execute=function(a){a.execute()};var wG=function(a,b,c){this.g=a;this.u=b;this.l=c;this.version=null;this.o=Ri();this.F=!1}; wG.prototype.execute=function(){this.F=!0;Ai(x(this.tr,this))};var xG=function(a){if(!a.g.l)return null;switch(a.u){case 0:return a.l;case 1:var b=[];B(Fb(a.l,a.Bk,a),function(a,d){null===a||b.push(this.l[d])},a);return b;case 2:case 3:return a=Fb(a.l,a.Bk,a),Wb(a,ib),a;case 4:return a.g.l.get();default:return null}};h=wG.prototype;h.Bk=function(a){var b=this.g.l;if(!b)return null;var c=dF(b,a);return Kb(b.get(),function(a){return c.kb(dF(b,a))})}; h.tr=function(a,b){if(a=a||xG(this)){if(r(b))b>this.g.version&&(this.g.version=b);else switch(this.u){case 0:case 1:case 2:this.g.version++}this.o.resolve(new BE(a,r(b)?b:this.g.version))}else this.o.reject("Could not perform operation")};h.Yl=function(a){this.version=a;return!0};h.Ph=function(){return this.o};h.Nh=function(){return this.o.$};h.Kh=qg(0);h.cj=eb;h.Eg=qg(0);h.Lh=qg(void 0);h.hj=eb;h.Vk=function(){return this.F};h.Sh=function(){return this.u.toString()};h.Kk=function(){return this.l.toString()}; var yG=function(a,b,c){var d=qG(),e=cG.hb(),f=new vG;a=new rF(a,e.fb.l(a,b),c,d,f);return f.l=a};var AG=function(a){for(var b=[],c=0;c>>0,f=a.Fa.get(d)||0,g=l(b,10)||0;a.Fa.set(d,g);g=Math.max(g-f,0);f=a.xa.get(d);if(null!=f){J(b,114,f.Ef.width);J(b,115,f.Ef.height);g=!MG(a,d)||0=e.height||0>=e.width||0>=c.g)f=!1;var g=a.Hb(),k=a.F,n=c,q=f;f=new lA;f.Mi(1);f.Oa(g);f.ha(k);f.Ma(n.Z());f.xb(SF(n.la()));g=n.Gc();J(f,7,g);g=new Lz;J(g,1,!0);J(g,2,q);q=n.Mb();null!=q&&(k=new Jz,k.setHeight(q.height),k.setWidth(q.width),J(k,3, n.g),O(g,3,k));O(f,9,g);f.Ni(d);a.o.g("Session "+a.pb()+" sending stream request: "+c.toString()+" with streamId: "+d);b=K(b,nA,8);O(f,8,b);ZE(a.l,f);e&&b&&ge(b,1)&&(c=ge(b,1)[0]>>>0,null!=c&&((b=a.xa.get(c))?b.Ef=e:(b={bf:0,$k:!MG(a,c),al:!1,Ef:e},a.xa.set(c,b)),a=76800this.g){var f=c-this.o;e=d-this.l;f=this.F?f:f+e;e=0this.g){d=a-this.g;var e=b-this.o,f=c-this.l;d={$i:0e;e++)d[e]=b.charCodeAt(c)<<24|b.charCodeAt(c+1)<<16|b.charCodeAt(c+2)<<8|b.charCodeAt(c+3),c+=4;else for(e=0;16>e;e++)d[e]=b[c]<<24|b[c+1]<<16|b[c+2]<<8|b[c+3],c+=4;for(e=16;80>e;e++){var f=d[e-3]^d[e-8]^d[e-14]^d[e-16];d[e]=(f<<1|f>>>31)&4294967295}b=a.g[0];c=a.g[1];var g=a.g[2],k=a.g[3],n=a.g[4];for(e=0;80>e;e++){if(40>e)if(20>e){f=k^c&(g^k);var q=1518500249}else f=c^g^k,q=1859775393;else 60>e?(f=c&g|k&(c|g),q=2400959708):(f=c^g^ k,q=3395469782);f=(b<<5|b>>>27)+f+n+q+d[e]&4294967295;n=k;k=g;g=(c<<30|c>>>2)&4294967295;c=b;b=f}a.g[0]=a.g[0]+b&4294967295;a.g[1]=a.g[1]+c&4294967295;a.g[2]=a.g[2]+g&4294967295;a.g[3]=a.g[3]+k&4294967295;a.g[4]=a.g[4]+n&4294967295}; PI.prototype.update=function(a,b){if(null!=a){r(b)||(b=a.length);for(var c=b-this.l,d=0,e=this.L,f=this.o;dthis.o?this.update(this.u,56-this.o):this.update(this.u,this.l-(this.o-56));for(var c=this.l-1;56<=c;c--)this.L[c]=b&255,b/=256;QI(this,this.L);for(c=b=0;5>c;c++)for(var d=24;0<=d;d-=8)a[b]=this.g[c]>>d&255,++b;return a}; var SI=function(){var a=window.crypto||window.msCrypto;a&&a.getRandomValues&&(this.o=!0,this.l=Infinity,this.I=!0);if(16>this.l){a=this.g;var b=this.l;this.g="";this.l=16;RI(this,a,Math.max(0,b));this.I=!1}},$I=function(a){var b={},c=window.localStorage||{},d=window.sessionStorage||{};if(!a.o){b.Bv=TI();b.Ev=(new Date).toLocaleString();b.local={};for(var e=0;eTI()-b.un;)b.tn++;try{b.ko=window.history.length}catch(n){b.ko=n.message}b.window=UI(window);b.document=UI(document);b.screen=UI(window.screen);try{b.documentElement=UI(document.documentElement)}catch(n){b.documentElement=n.message}b.navigator=UI(window.navigator);try{b.performance=VI(window.performance)}catch(n){b.performance=n.message}b.Gn=[];e=x(function(a){b.Gn.push(UI(a))}, a);WI(a,window,e,0);b.plugins=[];if(navigator.plugins)for(e=0;e=k.length?RI(a,String.fromCharCode.apply(String,t.digest()),n):(t.update(VI(k[q++])),v(b))},b)};v(10);a.u=[];a.Ag=0}}},YI=function(a){var b=function(b){bJ(a,b,this)};a.u=[];bf(window,"devicemotion",b);bf(window,"deviceorientation",b);for(var c=0;c=a.l?(d.reset(),d.update("SEED_SALT:"+b+a.g),a.g=String.fromCharCode.apply(String,d.digest()),a.H="",a.F=0,a.I=!0):a.H=b}},dJ=function(a,b){var c=[];if(a.o)a=new window.Uint8Array(Math.min(65536, b||1)),(window.crypto||window.msCrypto).getRandomValues(a),c=[].slice.call(a);else{if(0>a.l||0==a.g.length)throw new cJ;var d=new PI;d.update("RANDOM_SALT:"+a.g);var e=d.digest();null!==e&&(d.reset(),d.update("SEED_SALT:"+a.g),a.g=String.fromCharCode.apply(String,d.digest()),c=e.slice(0,b||e.length))}return c},eJ=function(a,b){for(var c=[],d=0;c.length b.length?b=null:(c=wI(b[3],"groupid")||wI(b[3],"nick"),d=wI(b[3],"streamid")||wI(b[3],"name"),e=uI(b[3],"label",u,""),b=tI(b,4,u,null)||"",b=null!=c&&null!=d&&null!=b?{ib:c,tm:d,label:e,payload:b}:null);b&&this.M(new EJ(a,b.label,b.ib,b.tm,b.payload));break;case "getdevicestate":this.M(new FJ(new xH(b,this.g.Wh(),this.g.Vh(),this.g.Fh())));break;case "jhb":c=tI(b,3,ab,!1);b=tI(b,4,ab,!1);this.M(new GJ(a,c,b));break;case "latency-events":(b=4>b.length?null:uI(b[3][0],"key",u,""))&&this.M(new HJ(a, b));break;case "jmiend":a=tI(b,2,u,"Unknown");b=tI(b,5,w,-1);this.M(new IJ(a,b));break;case "ping":a=tI(b,2,u,"Unknown");pJ(this,["pong",a]);break;case "jt":this.F["delete"](a);c=this.l;tI(b,4,u,null);b=parseInt(b[3],10);b in c.o||(b=6);this.M(new JJ(a,b));break;case "f-dead":this.M(new KJ("57"));break;case "termall":this.F.clear();this.M(new LJ(4));break;case "fe":a=tI(b,2,u,"Unknown");c=b[3];null!=c||(c="Unknown");b=b[4];this.M(new MJ(c,a,b));break;case "share-result":a:{switch(b[4]){case 0:b="Lb"; break a;case 1:b="Mb";break a}b="Jb"}this.M(new NJ(a,b));break;case "share-notify":(b=II(b))&&this.M(new NJ(a,b));break;case "jtr":a=tI(b,2,u,"Unknown");c=b[3].a;b=wI(c,"ufrag");c=wI(c,"pwd");b&&c&&this.M(new OJ(a,b,c));break;case "trstate":(b=this.l.G.parse(b))&&this.M(new PJ(a,b))}else this.o.l(jJ,c)}};oJ.prototype.J=function(a){if(a=a.json){var b=a[0];b?"mf"===b&&(a=vI(this.l,a).l,!ta(Cc(a))&&16<=a.length&&RI(this.u,a,a.length)):this.o.l(gJ,W(a))}}; var pJ=function(a,b){a.o.g(fJ,W(b));a=a.g;"jn"==b[0]&&a.M("b");a.ld(b)},CJ=function(a,b){Q.call(this,"Qb");this.sessionId=a;this.g=b};p(CJ,Q);var EJ=function(a,b,c,d,e){Q.call(this,"Rb");this.sessionId=a;this.label=b;this.ib=c;this.tm=d;this.payload=e};p(EJ,Q);var FJ=function(a){Q.call(this,"Sb");this.g=a};p(FJ,Q);var MJ=function(a,b,c){Q.call(this,"Vb");this.errorCode=a;this.sessionId=b;this.l=c};p(MJ,Q);var LJ=function(a){Q.call(this,"Ub");this.g=a};p(LJ,Q); var KJ=function(a){Q.call(this,"Wb");this.errorCode=a};p(KJ,Q);var GJ=function(a,b,c){Q.call(this,"Xb");this.sessionId=a;this.g=b;this.l=c};p(GJ,Q);var HJ=function(a,b){Q.call(this,"Yb");this.sessionId=a;this.message=b};p(HJ,Q);var DJ=function(a,b){Q.call(this,"Zb");this.sessionId=a;this.g=b};p(DJ,Q);var IJ=function(a,b){Q.call(this,"$b");this.sessionId=a;this.u=b};p(IJ,Q);var BJ=function(a,b){Q.call(this,"ac");this.sessionId=a;this.g=b};p(BJ,Q); var tJ=function(a,b,c){Q.call(this,"Tb");this.mediaType=a;this.muted=b;this.reason=c};p(tJ,Q);var NJ=function(a,b){Q.call(this,"cc");this.sessionId=a;this.state=b};p(NJ,Q);var JJ=function(a,b){Q.call(this,"dc");this.sessionId=a;this.g=b};p(JJ,Q);var OJ=function(a,b,c){Q.call(this,"ec");this.sessionId=a;this.fh=b;this.Tg=c};p(OJ,Q);var PJ=function(a,b){Q.call(this,"fc");this.sessionId=a;this.g=b};p(PJ,Q); var QJ=function(a){Wq.apply(this,arguments)};p(QJ,Wq);var RJ=function(a,b){var c=new V(a);a.da(c);c.listen(b,"Qb",a.g)};QJ.prototype.g=function(a){var b=LI(new Map(a.g.l));this.M(new MI(a.sessionId,a.g.g,b))};var SJ=function(a,b,c,d){gH.call(this,b,d,"a");this.u=c};p(SJ,gH);SJ.prototype.l=function(){return this.u};var TJ=function(a,b){Ys.call(this,b);this.G=a;this.F=[];this.o=this.l=!1;this.I=new V(this);this.da(this.I);this.H=this.ga().getContent();this.I.listen(this.ga(),"G",this.J);this.u("re")};p(TJ,Ys);TJ.prototype.stop=function(){this.ze();"sc"!=this.ga().getContent()?this.u("st"):this.u("nd");return!0};TJ.prototype.Y=function(){return null};var VJ=function(a,b){a.u(b);UJ(a)};TJ.prototype.wh=function(a,b){return new SJ(this.G,this,a,b)}; TJ.prototype.xf=function(a){this.F.push(a);var b=this.ga().pa();uJ(this.G,"",a,b,"user",this.l)};TJ.prototype.kg=function(a){Vb(this.F,a)};TJ.prototype.rj=function(){WJ(this,this.l,"user")};var XJ=function(a){return 0==a.F.length?null:Lb(a.F,function(b){return"default-settings-session-id"!=b&&a.G.F.has(b)})};TJ.prototype.ze=function(){if("st"==this.g)return!1;this.l=!0;"sc"!=this.ga().getContent()?WJ(this,!0,"user")||(this.o=!0,UJ(this)):(this.o=!0,this.M("O"));return!0}; TJ.prototype.ui=function(){"st"!=this.g&&(this.o=this.l=!1,UJ(this),"sc"!=this.ga().getContent()&&WJ(this,!1,"user"))};TJ.prototype.Jb=function(){switch(this.g){case "nd":case "ad":case "fa":return!0;default:return this.o}};var WJ=function(a,b,c){for(var d=a.ga().pa(),e=0b)return;this.H.bk=a[b];break;case "ao":a=C(this.g.o);c=C(this.g.G);b=c.indexOf(b);if(0>b)return;this.H.ek=a[b];break;case "vi":a=C(this.g.u);c=C(this.g.H);b=c.indexOf(b);if(0>b)return;this.H.Em=a[b]}this.P.start()};h.Lo=function(a){if(null!=this.l&&null!=this.G){var b=XJ(this.o);if(null!=b&&b==a.sessionId)switch(a.state){case "Lb":cK(this);break;case "Jb":dK(this,!0);break;case "Mb":case "Kb":dK(this,!1)}}}; var cK=function(a){VJ(a.l,"re");a.J.listen(a.l,"P",function(){null==a.l||"nd"!=a.l.g&&"st"!=a.l.g||dK(a,!1)});a.G.resolve(a.l);a.K=!0;a.I&&eK(a.I)},dK=function(a,b){if(null!=a.l&&null!=a.G)if(a.K){a.G=null;a.K=!1;b=a.l;a.l=null;a.I&&eK(a.I);var c=XJ(a.o);null!=c&&pJ(a.F,["share-remove","",c,0]);VJ(b,"nd")}else b&&VJ(a.l,"fa"),a.G.reject(a.l),a.G=null,a.K=!1,a.l=null},bK=function(a){Jr.call(this,"","2","v","ca");this.F=a;this.g=null;eK(this)};p(bK,Jr); var eK=function(a){var b=a.F.G&&a.F.K?a.F.l.ga():null;b!=a.g&&(a.g=b,a.M("G"),a.M("I"),a.M("J"))};bK.prototype.getContent=function(){return this.g?this.g.getContent():Jr.prototype.getContent.call(this)};bK.prototype.getState=function(){return this.g?this.g.getState():Jr.prototype.getState.call(this)};bK.prototype.ff=function(){return this.g?this.g.ff():Jr.prototype.ff.call(this)}; var fK=function(a,b){this.F=a;this.u=b};fK.prototype.error=function(a){gK(this,2,a)};fK.prototype.o=function(a){gK(this,0,a)};fK.prototype.g=function(a){gK(this,0,a)};fK.prototype.l=function(a){gK(this,1,a)};var gK=function(a,b,c){var d=a.F;a="["+a.u+"] "+c;switch(b){case 2:b=W(["error",a]);break;case 1:b=W(["warning",a]);break;default:b=W(["comment",a])}try{d.ld(b)}catch(e){}}; var iK=function(a,b,c,d,e){et.call(this);this.o=new fK(b.g,"realtime.media.api.flute.LocalSession");this.W=new V(this);this.da(this.W);this.l=a;this.U=!1;this.g=b;this.W.listen(this.g,"Rb",this.Mo).listen(this.g,"Ub",this.jp).listen(this.g,"Vb",this.lp).listen(this.g,"Wb",this.mp).listen(this.g,"Xb",this.np).listen(this.g,"Yb",this.op).listen(this.g,"Zb",this.pp).listen(this.g,"ac",this.rp).listen(this.g,"$b",this.qp).listen(this.g,"cc",this.No).listen(this.g,"dc",this.sp).listen(this.g,"ec",this.zq).listen(this.g, "fc",this.Bq);this.ba=c;this.F="INITIAL";this.O=this.K=this.G=this.P=this.N=null;this.R=this.H=void 0;this.J=null;this.I=e;this.u=hK(this,e);this.V=d;this.Y=Ri();this.fa="call/"+e.J};p(iK,et);var jK=function(a,b,c,d){a.F!=b&&(a.F=b,!w(a.H)&&w(c)&&(a.H=c),u(a.R)||!d||ta(Cc(d))||(a.R=d),a.M(new dt(a.F,a.H,d)))};iK.prototype.getState=function(){return this.F};iK.prototype.uc=function(){return this.l};iK.prototype.yf=function(){return this.u}; var hK=function(a,b){var c=nJ(a.g);if(null==c)return a.o.l("FluteLocalSession.createOffer called before flute version available."),null;var d=C(c.o),e=C(c.H),f=C(c.u),g=C(c.I),k=[cr(br(ar(new $q,"d"),101),"google-data").S()];b.N&&Qd&&(e=Fb(e,function(a){return gr(new $q(a),"useadaptivelayering_v2","true").S()}));a.U=yJ(a.g);var n=kK(a,a.U?"ICE":"GICE");c=lK(a,Eb(C(c.F),function(a){return"AES_CM_128_HMAC_SHA1_32"!=a},a));d=new hs("a",d,f);f=null;f=new hs("v",e,g,a.I.G);e=null;e=new hs("d",k,[]);k= b.g?[8579373]:mK(a,1);a.N=ra(Or(Nr(Lr(new sa,"a"),"1"),a.l+"/1"),k).S();k=b.I?3:1;k=b.g?[8579374]:mK(a,k);g=[];if(1=b.length)this.G.push("|"+a);else{b=b.length;for(var c=Math.ceil(b/3800),d=0,e=1;da-vL?10:100)},uL),LL=function(){vL=y();wL&&window.clearTimeout(wL);wL=window.setTimeout(KL,10)},FL=function(a,b){if(!/^https?:\/\//.test(a))throw Error("da`"+a);this.o=a;this.l=b;this.g=0}; FL.prototype.send=function(a){this.g=++this.g%2;a=this.o+"#"+this.g+encodeURIComponent(a);try{if(rd){var b=this.l.location;if(a instanceof Wf)var c=a;else a instanceof Wf?c=a:(a=a.Fd?a.Sc():String(a),Yf.test(a)||(a="about:invalid#zClosurez"),c=Zf(a));b.href=Xf(c)}else this.l.location.replace(a)}catch(d){}LL()};var DL=function(a,b,c){this.u=a;this.l=b;this.o=c;this.g=this.l.location.href.split("#")[0]+"#INITIAL";JL.push(this);LL()}; DL.prototype.receive=function(){var a=this.l.location.href;if(a!=this.g){this.g=a;if(a=a.split("#")[1])a=a.substr(1),this.o(decodeURIComponent(a));return!0}return!1}; var NL=function(a,b){jL.call(this,b);this.g=a;this.o=this.g.g.pru;this.l=this.g.g.ifrid;rd&&ML()};A(NL,jL);if(rd)var OL=[],PL=0,ML=function(){PL||(PL=window.setTimeout(function(){QL()},1E3))},QL=function(a){var b=y();for(a=a||3E3;OL.length&&b-OL[0].timestamp>=a;){var c=OL.shift().lo;ni(c)}PL=window.setTimeout(RL,1E3)},RL=function(){QL()};var SL={};NL.prototype.Je=3;NL.prototype.connect=function(){kL(this).xpcRelay||(kL(this).xpcRelay=TL);this.send("tp","SETUP")}; var TL=function(a,b){var c=b.indexOf(":"),d=b.substr(0,c);b=b.substr(c+1);if(od&&-1!=(c=d.indexOf("|"))){g=d.substr(0,c);d=d.substr(c+1);c=d.indexOf("+");var e=d.substr(0,c);c=parseInt(d.substr(c+1),10);var f=SL[e];f||(f=SL[e]={Ek:[],em:0,yk:0});zc(d,"++")&&(f.yk=c+1);f.Ek[c]=b;f.em++;if(f.em!=f.yk)return;b=f.Ek.join("");delete SL[e]}else var g=d;gL[a].l(g,decodeURIComponent(b))};NL.prototype.eh=function(a){"SETUP"==a?(this.send("tp","SETUP_ACK"),sL(this.g)):"SETUP_ACK"==a&&sL(this.g)}; NL.prototype.send=function(a,b){b=encodeURIComponent(b);var c=b.length;if(od&&1800=c?"++":"+")+f)}else UL(this,a,b)}; var UL=function(a,b,c,d){if(od){var e=kL(a).document.createElement("DIV"),f={onload:Rf("this.xpcOnload()"),sandbox:null},g={src:null,srcdoc:null},k={sandbox:""};var n={};for(var q in g)n[q]=g[q];for(q in k)n[q]=k[q];for(q in f){var t=q.toLowerCase();if(t in g)throw Error("p`"+t+"`"+q+"`"+f[q]);t in k&&delete n[t];n[q]=f[q]}f=null;g="";if(n)for(L in n){if(!mg.test(L))throw Error("o`"+L);q=n[L];if(null!=q){k=L;t=q;if(t instanceof Pf)t=Qf(t);else if("style"==k.toLowerCase()){q=void 0;if(!nb(t))throw Error("n`"+ typeof t+"`"+t);if(!(t instanceof bg)){var v="";for(q in t){if(!/^[-_a-zA-Z0-9]+$/.test(q))throw Error("k`"+q);var z=t[q];null!=z&&(z=kb(z)?Fb(z,ig).join(" "):ig(z),v+=q+":"+z+";")}t=v?cg(v):dg}t instanceof bg&&t.constructor===bg&&t.l===ag?q=t.g:(gb(t),q="type_error:SafeStyle");t=q}else{if(/^on/i.test(k))throw Error("l`"+k+"`"+t);if(k.toLowerCase()in ng)if(t instanceof Tf)t=Uf(t);else if(t instanceof Wf)t=Xf(t);else if(u(t))t=$f(t).Sc();else throw Error("m`"+k+"`iframe`"+t);}t.Fd&&(t=t.Sc());k=k+ '="'+yc(String(t))+'"';g+=" "+k}}var L="":(f=pg(g),L+=">"+lg(f)+"",f=f.Wf());(n=n&&n.dir)&&(/^(ltr|rtl|auto)$/i.test(n)?f=0:f=null);n=og(L,f);e.innerHTML=lg(n);e=e.childNodes[0];e.xpcOnload=VL}else e=kL(a).document.createElement("IFRAME"),rd?OL.push({timestamp:y(),lo:e}):bf(e,"load",VL);n=e.style;n.visibility="hidden";n.width=e.style.height="0px";n.position="absolute";n=a.o;n+="#"+a.g.name;a.l&&(n+=","+a.l);n+="|"+b;d&&(n+= "|"+d);e.src=n+(":"+c);kL(a).document.body.appendChild(e)},VL=function(){ni(this)};NL.prototype.X=function(){NL.ra.X.call(this);rd&&QL(0)}; var WL=function(a,b,c,d,e){jL.call(this,c);this.F=a;this.G=e||2;this.R=b||"*";this.K=new V(this);this.H=new ej(100,kL(this));this.N=!!d;this.o=new Lk;this.u=new Lk;this.l=new Lk;this.P=iL();this.J=null;this.N?1==mL(this.F)?Uk(this.l,this.o):Uk(this.l,this.u):(Uk(this.l,this.o),2==this.G&&Uk(this.l,this.u));this.l.ca(this.Yn,this);this.l.na(!0);this.K.listen(this.H,"tick",this.Tk)};A(WL,jL);WL.prototype.g=null;WL.prototype.O=!1;WL.prototype.Je=1;var XL={};WL.prototype.I=0; var $L=function(a){var b=a.g.data;if(!u(b))return!1;var c=b.indexOf("|"),d=b.indexOf(":");if(-1==c||-1==d)return!1;var e=b.substring(0,c);c=b.substring(c+1,d);b=b.substring(d+1);if(d=gL[e])return d.l(c,b,a.g.origin),!0;d=YL(b)[0];for(var f in gL){var g=gL[f];if(1==mL(g)&&!g.Dc()&&"tp"==c&&("SETUP"==d||"SETUP_NTPV2"==d)&&ZL(g,a.g.origin))return lL(g,e),g.l(c,b),!0}return!1}; WL.prototype.eh=function(a){var b=YL(a);a=b[1];switch(b[0]){case "SETUP_ACK":aM(this,1);this.o.l||this.o.na(!0);break;case "SETUP_ACK_NTPV2":2==this.G&&(aM(this,2),this.o.l||this.o.na(!0));break;case "SETUP":aM(this,1);bM(this,1);break;case "SETUP_NTPV2":2==this.G&&(b=this.g,aM(this,2),bM(this,2),1!=b&&null==this.J||this.J==a||cM(this),this.J=a)}}; var cM=function(a){2!=a.G||null!=a.g&&2!=a.g||a.send("tp","SETUP_NTPV2,"+a.P);null!=a.g&&1!=a.g||a.send("tp","SETUP")},bM=function(a,b){if(2!=a.G||null!=a.g&&2!=a.g||2!=b){if(null!=a.g&&1!=a.g||1!=b)return;a.send("tp","SETUP_ACK")}else a.send("tp","SETUP_ACK_NTPV2");a.u.l||a.u.na(!0)},aM=function(a,b){b>a.g&&(a.g=b);1==a.g&&(a.u.l||a.N||a.u.na(!0),a.J=null)};h=WL.prototype; h.connect=function(){var a=kL(this),b=qb(a),c=XL[b];w(c)||(c=0);0==c&&bf(a.postMessage?a:a.document,"message",$L,!1,WL);XL[b]=c+1;this.O=!0;this.Tk()};h.Tk=function(){var a=0==mL(this.F);this.N&&a||this.F.Dc()||this.L?this.H.stop():(this.H.start(),cM(this))};h.send=function(a,b){var c=this.F.vc;c&&(this.send=function(a,b){var d=this,e=this.F.name;this.I=X(function(){d.I=0;try{var f=c.postMessage?c:c.document;f.postMessage&&f.postMessage(e+"|"+a+":"+b,d.R)}catch(n){}},0)},this.send(a,b))}; h.Yn=function(){sL(this.F,1==this.G||1==this.g?200:void 0)};h.X=function(){if(this.O){var a=kL(this),b=qb(a),c=XL[b];XL[b]=c-1;1==c&&kf(a.postMessage?a:a.document,"message",$L,!1,WL)}this.I&&(gj(this.I),this.I=0);ze(this.K);delete this.K;ze(this.H);delete this.H;this.o.cancel();delete this.o;this.u.cancel();delete this.u;this.l.cancel();delete this.l;delete this.send;WL.ra.X.call(this)};var YL=function(a){a=a.split(",");a[1]=a[1]||null;return a}; var dM=function(a,b){jL.call(this,b);this.g=a;this.l=a.at||"";this.o=a.rat||"";a=kL(this);if(!a.nix_setup_complete)try{a.execScript("Class GCXPC____NIXVBS_wrapper\n Private m_Transport\nPrivate m_Auth\nPublic Sub SetTransport(transport)\nIf isEmpty(m_Transport) Then\nSet m_Transport = transport\nEnd If\nEnd Sub\nPublic Sub SetAuth(auth)\nIf isEmpty(m_Auth) Then\nm_Auth = auth\nEnd If\nEnd Sub\nPublic Function GetAuthToken()\n GetAuthToken = m_Auth\nEnd Function\nPublic Sub SendMessage(service, payload)\n Call m_Transport.GCXPC____NIXJS_handle_message(service, payload)\nEnd Sub\nPublic Sub CreateChannel(channel)\n Call m_Transport.GCXPC____NIXJS_create_channel(channel)\nEnd Sub\nPublic Sub GCXPC____NIXVBS_container()\n End Sub\nEnd Class\n Function GCXPC____NIXVBS_get_wrapper(transport, auth)\nDim wrap\nSet wrap = New GCXPC____NIXVBS_wrapper\nwrap.SetTransport transport\nwrap.SetAuth auth\nSet GCXPC____NIXVBS_get_wrapper = wrap\nEnd Function", "vbscript"),a.nix_setup_complete=!0}catch(c){}this.GCXPC____NIXJS_handle_message=this.Zn;this.GCXPC____NIXJS_create_channel=this.vn};A(dM,jL);h=dM.prototype;h.Je=6;h.rf=!1;h.Be=null;h.connect=function(){0==mL(this.g)?this.Zj():this.Yj()};h.Zj=function(){if(!this.rf){var a=this.g.lf;try{a.contentWindow.opener=(0,kL(this).GCXPC____NIXVBS_get_wrapper)(this,this.l),this.rf=!0}catch(b){}this.rf||kL(this).setTimeout(x(this.Zj,this),100)}}; h.Yj=function(){if(!this.rf){try{var a=kL(this).opener;if(a&&"GCXPC____NIXVBS_container"in a){this.Be=a;if(this.Be.GetAuthToken()!=this.o)return;this.Be.CreateChannel((0,kL(this).GCXPC____NIXVBS_get_wrapper)(this,this.l));this.rf=!0;sL(this.g)}}catch(b){return}this.rf||kL(this).setTimeout(x(this.Yj,this),100)}};h.vn=function(a){this.Be=a;this.Be.GetAuthToken()==this.o&&sL(this.g)};h.Zn=function(a,b){kL(this).setTimeout(x(function(){this.g.l(a,b)},this),1)}; h.send=function(a,b){this.Be.SendMessage(a,b)};h.X=function(){dM.ra.X.call(this);this.Be=null}; var fM=function(a,b){dL.call(this);for(var c=0,d;d=fL[c];c++)if(d in a&&!/^https?:\/\//.test(a[d]))throw Error("ea`"+a[d]+"`"+d);this.g=a;this.name=this.g.cn||iL();this.o=b||di();this.u=[];this.H=new V(this);a.lpu=a.lpu||Ug(hi(this.o.g).location.href)+"/robots.txt";a.ppu=a.ppu||Ug(a.pu||"")+"/robots.txt";gL[this.name]=this;nf(window,"unload",eM)||af(window,"unload",eM)};A(fM,dL);var gM=/^%*tp$/,hM=/^%+tp$/;h=fM.prototype;h.Xd=null;h.De=null;h.sc=null;h.hf=1;h.Dc=function(){return 2==this.hf}; h.vc=null;h.lf=null;var zL=function(a){try{return!!a.vc&&!a.vc.closed}catch(b){return!1}};fM.prototype.connect=function(a){this.F=a||eb;3==this.hf&&(this.hf=1);this.De?this.De.ca(this.I):this.I()}; fM.prototype.I=function(){this.De=null;if(this.g.ifrid){var a=this.g.ifrid;this.lf=u(a)?this.o.g.getElementById(a):a}this.lf&&((a=this.lf.contentWindow)||(a=window.frames[this.g.ifrid]),this.vc=a);if(!this.vc){if(window==window.top)throw Error("ga");this.vc=window.parent}if(!this.sc){if(!this.g.tp){a=this.g;if(mb(document.postMessage)||mb(window.postMessage)||od&&window.postMessage)var b=1;else if(qd)b=2;else if(od&&this.g.pru)b=3;else{var c;if(c=od){c=!1;try{b=window.opener,window.opener={},c=jd(window, "opener"),window.opener=b}catch(d){}}b=c?6:4}a.tp=b}switch(this.g.tp){case 1:this.sc=new WL(this,this.g.ph,this.o,!!this.g.osh,this.g.nativeProtocolVersion||2);break;case 6:this.sc=new dM(this,this.o);break;case 2:this.sc=new tL(this,this.o);break;case 3:this.sc=new NL(this,this.o);break;case 4:this.sc=new uL(this,this.o);break;case 7:if(a=this.vc)try{a=window.document.domain==this.vc.document.domain}catch(d){a=!1}a&&(this.sc=new nL(this,this.o))}if(!this.sc)throw Error("fa");}for(this.sc.connect();0< this.u.length;)this.u.shift()()};fM.prototype.close=function(){this.De&&(this.De.cancel(),this.De=null);this.u.length=0;this.H.removeAll();this.hf=3;ze(this.sc);this.F=this.sc=null;ze(this.Xd);this.Xd=null};var sL=function(a,b){a.Dc()||a.Xd&&0!=a.Xd.gf||(a.hf=2,ze(a.Xd),r(b)?(a.Xd=new ZJ(a.F,b),a.Xd.start()):(a.Xd=null,a.F()))};fM.prototype.send=function(a,b){this.Dc()&&(zL(this)?(nb(b)&&(b=W(b)),this.sc.send(iM(a),b)):this.close())}; fM.prototype.l=function(a,b,c){this.De?this.u.push(x(this.l,this,a,b,c)):ZL(this,c)&&!this.L&&3!=this.hf&&(a&&"tp"!=a?this.Dc()&&(a=a.replace(/%[0-9a-f]{2}/gi,decodeURIComponent),a=hM.test(a)?a.substring(1):a,a=this.getService(a,b))&&(b=eL(b,a.zl),null!=b&&a.na(b)):this.sc.eh(b))}; var iM=function(a){gM.test(a)&&(a="%"+a);return a.replace(/[%:|]/g,encodeURIComponent)},mL=function(a){var b=a.g.role;return w(b)?b:window.parent==a.vc?1:0},lL=function(a,b){delete gL[a.name];a.name=b;gL[b]=a},ZL=function(a,b){var c=a.g.ph;return ta(Cc(b))||ta(Cc(c))||b==a.g.ph};fM.prototype.X=function(){this.close();this.lf=this.vc=null;delete gL[this.name];ze(this.H);delete this.H;fM.ra.X.call(this)};var eM=function(){for(var a in gL)ze(gL[a])}; var jM=function(a,b){T.call(this);this.G=a;this.I=$c(b);this.G.registerService("mediaCall",x(this.J,this),!0)};A(jM,T);jM.prototype.J=function(a){var b=this.I[a[0]];null!=b&&b(qe(a))};jM.prototype.send=function(a){this.G.send("mediaCall",ke(a))};var kM=function(a){I(this,a,"rme:cc",-1,null,null)};A(kM,G);P("rme:cc",kM);var lM=function(a){I(this,a,"rme:ccr",-1,null,null)};A(lM,G);P("rme:ccr",lM);var nM=function(a){I(this,a,"rme:sc",-1,mM,null)};A(nM,G);var mM=[3,4,5];P("rme:sc",nM);var oM=function(a){I(this,a,0,-1,null,null)};A(oM,G);var pM=function(a){I(this,a,"rme:dc",-1,null,null)};A(pM,G);P("rme:dc",pM);var qM=function(a){I(this,a,"rme:csc",-1,null,null)};A(qM,G);P("rme:csc",qM);qM.prototype.ua=function(){return l(this,2)}; qM.prototype.ha=function(a){J(this,2,a)};qM.prototype.Z=function(){return l(this,3)};qM.prototype.Ma=function(a){J(this,3,a)};var sM=function(a){I(this,a,"rme:pu",-1,rM,null)};A(sM,G);var rM=[2];P("rme:pu",sM);sM.prototype.Gg=function(){return N(this,mz,2)};var tM=function(a){I(this,a,"rme:md",-1,null,null)};A(tM,G);P("rme:md",tM);tM.prototype.fc=function(a){J(this,4,a)};var uM=function(a){I(this,a,"rme:mdsc",-1,null,null)};A(uM,G);P("rme:mdsc",uM);uM.prototype.fc=function(a){J(this,3,a)}; var vM=function(a){I(this,a,"rme:sd",-1,null,null)};A(vM,G);P("rme:sd",vM);vM.prototype.Cb=function(){return l(this,3)};var wM=function(a){I(this,a,"rme:rmdi",-1,null,null)};A(wM,G);P("rme:rmdi",wM);var xM=function(a){I(this,a,"rme:spmd",-1,null,null)};A(xM,G);P("rme:spmd",xM);var yM=function(a){I(this,a,"rme:tmap",-1,null,null)};A(yM,G);P("rme:tmap",yM);var zM=function(a){I(this,a,0,-1,null,null)};A(zM,G);zM.prototype.getId=function(){return l(this,1)};zM.prototype.pc=function(){return l(this,2)}; zM.prototype.getSelected=function(){return l(this,3)};var BM=function(a){I(this,a,"rme:mdi",-1,AM,null)};A(BM,G);var AM=[3,4,5];P("rme:mdi",BM);var CM=function(a){I(this,a,"rme:sadlu",-1,null,null)};A(CM,G);P("rme:sadlu",CM);var DM=function(a){I(this,a,"rme:adluc",-1,null,null)};A(DM,G);P("rme:adluc",DM);var EM=function(a){I(this,a,"rme:rdlu",-1,null,null)};A(EM,G);P("rme:rdlu",EM);var FM=function(a){I(this,a,"rme:rrreq",-1,null,null)};A(FM,G);P("rme:rrreq",FM); FM.prototype.Z=function(){return l(this,2)};FM.prototype.Ma=function(a){J(this,2,a)};var GM=function(a){I(this,a,"rme:rrresp",-1,null,null)};A(GM,G);P("rme:rrresp",GM);GM.prototype.Z=function(){return l(this,2)};GM.prototype.Ma=function(a){J(this,2,a)};var HM=function(a){I(this,a,"rme:dpmreq",-1,null,null)};A(HM,G);P("rme:dpmreq",HM);var IM=function(a){I(this,a,"rme:dpmresp",-1,null,null)};A(IM,G);P("rme:dpmresp",IM); var JM={Bb:100,prefix:"//ssl.gstatic.com/chat/sounds/hangout_dtmf_click_",Vb:"9629c9a5b555e421de741170532c1142.wav"},KM={Bb:4E3,prefix:"//ssl.gstatic.com/chat/sounds/outgoing_ring_",Bl:"08d6076c4e21ce2f30d739a53ef1c609.ogg",nn:!0};var LM=function(){this.g=0;this.l=Ri();this.o=null};LM.prototype.then=function(a,b,c){return this.l.$.then(a,b,c)};var MM=function(a,b){return Ui(a.l.$,b,void 0)};LM.prototype.get=function(){return this.o};Ci(LM);var NM=function(){this.g=new LM};NM.prototype.resolve=function(a){var b=this;0==this.g.g&&(this.g.l.resolve(a),Di(a)?(a.then(function(a){return OM(b,a)},function(){return OM(b,null)}),this.g.g=1):OM(this,a))};var OM=function(a,b){a.g.g=2;a.g.o=b}; NM.prototype.reject=function(a){0==this.g.g&&(this.g.g=2,this.g.l.reject(a))}; var PM=function(){T.call(this)};A(PM,kH);var QM=function(){T.call(this)};A(QM,Wq);var RM=function(a){Q.call(this,"hc");this.g=C(a)};A(RM,Q);var TM=function(){xe.call(this);this.l=[];this.g=new SM(x(this.o,this));this.da(this.g)};A(TM,xe);TM.prototype.o=function(a){B(this.l,function(b){a=b.filter(a)});return a};var SM=function(a){T.call(this);this.u=a;this.l=[];this.g=!1};A(SM,QM);var UM=function(a,b){a.l=C(b);a.g||(a.g=!0,Ai(a.o,a))};SM.prototype.o=function(){this.g=!1;this.M(new RM(this.u(this.l)))}; var VM=function(a){this.l=null;this.o=a;this.o.then(function(a){this.l=a},null,this);this.g={}},WM=function(a,b,c){null==a.g[b]&&(null!=c?0g)f= {ni:d,nj:NaN,n:1};else{g+=1;var k=d-e;e+=k/g;var n=NaN;1b.length&&"INPROGRESS"==a.getState()){a.stop(52);return}}a.u.$l(b)},dP=function(a,b,c,d){a.g.g(cO,a.getState(),b);d&&a.g.g(bO,d);a.zc!=b&&(a.zc=b,a.yc=c,a.M(new dt(b,c,d)))}; bP.prototype.vd=function(a){var b=this;switch(this.getState()){case "STOPPED":case "FINISHED":this.g.l(aO);return}a=a.filter(function(a){a=new Jr(a.Z(),a.Gc(),a.la());return null===pP(b,a)});a.forEach(function(a){b.g.g($N,a);var c=b.Da,e=a.Z(),f=a.Gc();a=a.Mb();e+=f;a&&921600<=a.og()?c.l[e]||(c.l[e]=y()):delete c.l[e]});null!=this.oa?UM(this.oa,a):qP(this,a)};bP.prototype.Td=function(a){rP(this,a.g);qP(this,a.g)}; var qP=function(a,b){a.u.vd(b);a.xc={};b.forEach(function(b){if(b.o){var c=b.Z();b=b.Gc();a.xc[c+b]=!0}});a.H.forEach(a.kc,a)};bP.prototype.kc=function(a){var b=a.Z();b=this.xc[b+a.H]||!1;b!=a.g&&(a.g=b,a.M("ga"))}; var rP=function(a,b){b=Ga(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;var d=c.Ua();if(null!=d){c=c.u;d=Ga(d);for(var e=d.next();!e.done;e=d.next())a.Y.set(e.value,c)}}},nP=function(a,b){a.g.g(ZN,W(b));if(null!==a.sa){if(b.filter(function(a){return"v"==a.la()}).length){UM(a.sa,b);return}a.g.l(YN,W(b))}sP(a,b)};bP.prototype.Rd=function(a){var b=a.target;a=b.Jb();b=b.ga();(b=this.K[kP(b)])?(a=Pr(new sa(b.getInfo()),a).S(),b.o=a,NG(this.u,a)):this.g.l(XN)}; var lP=function(a,b){a&&(b=Qr(new sa(a.getInfo()),b).S(),a.o=b)};bP.prototype.Le=function(a){sP(this,a.g)}; var sP=function(a,b){var c=b.filter(function(b){b=b.I;return!(null!=b&&St(a)!=b)});if(0!=c.length&&(rP(a,c),a.R=Yb(a.R.filter(function(a){return!c.some(function(b){return Xr(a,b)})}),c.filter(function(a){return a.o})),a.g.g(WN,W(a.R)),a.l.ug(a.R),a.F&&a.F.qa)){var d=tP(a);b=d?15E3:0;a.Xa&&gj(a.Xa);a.Xa=X(function(){jP(a,d)},b)}},tP=function(a){if(!(Qd&&An(59)&&a.o.N))return!1;var b=null;a.R.forEach(function(a){!ta(a.Gc())&&a.Mb()&&(null==b||a.Mb().width>b.Mb().width)&&(b=a)});if(null==b)return!1; a=b.Mb();var c=!1;57600>=a.height*a.width&&(c=!0);return c},jP=function(a,b){a.F&&a.P!=b&&(a.P=b,a.O&&(gj(a.O),a.O=null),a.La&&(gj(a.La),a.La=null),a.F=uP(a,a.F),vP(a),b?(a.V=new VM(a.Of),WM(a.V,834),a.W=y(),a.U=null):(WM(a.V,835),XM(a.V),a.V=null,a.W=null,a.U=y()))},uP=function(a,b){return Qd&&An(59)&&a.o.N?Hs(b,rs(b.qa,a.P?150:3150)):b},vP=function(a){1==a.P?wP(a,[]):a.l.update(a.F,[]).then(function(){a.La=X(function(){3150===ss(a.F.qa)&&(a.F=Hs(a.F,rs(a.F.qa,-1)),a.l.update(a.F,[]))},50)})},wP= function(a,b){a.P&&(a.F=Hs(a.F,rs(a.F.qa,-1)));a.l.update(a.F,b).then(function(){a.O&&gj(a.O);a.O=X(function(){a.P&&(a.F=Hs(a.F,rs(a.F.qa,150)),a.l.update(a.F,[]))},1E3)})},Tt=function(a){return a.l.yf()};bP.prototype.Ya=function(a){var b=pP(this,a);return null!=b?b:Lb(this.H,function(b){b=b.getInfo();return b.Z()==a.Z()&&b.la()==a.pa()&&b.g==a.getId()})}; bP.prototype.Ui=function(){var a=Rt.prototype.Ui.call(this),b=this.Od.fb.xe()||null;dd(a,{sessionOptions:Et(this.o),audioOptions:Rs(),systemInfo:b?b.Na():"Unavailable",sessionEndDebugInfo:this.sd});return a}; var pP=function(a,b){if(b.Z()!=a.Nd&&""!=b.Z())return null;a=Qc(a.K).filter(function(a){a=a.g.ga();return b.getId()==a.getId()&&b.pa()==a.pa()});return 1Jb(b.Ea.ya(),function(b){return b==a?!0:b&&a?b.uh===a.uh&&b.Fi===a.Fi&&b.Si===a.Si&&b.Ri===a.Ri&&b.fi===a.fi&&b.Qi===a.Qi&&b.cf===a.cf&&b.Eh===a.Eh&&b.Ci===a.Ci&&b.de===a.de&&b.ee===a.ee:!1})&&b.Ea.add(a))});null==this.Ta&&(this.Ta=X(function(){b.Pd.$.then(b.Qf,null,b);b.Ta=null},500))}; bP.prototype.Qf=function(a){this.g.g(TN,W(this.Ea.ya()));this.M(new $t(this.Ea.ya(),a))}; var xP=function(a,b){if(b=yp(b))for(var c=0;ca.W+15E3,d=a.U&&y()>a.U+15E3;if(c||d){var e=yp(b).filter(function(a){return a&& 2==vp(a)&&0==wp(a)});b=c&&e.some(function(a){return a.$b()>=AP.width});e=d&&e.every(function(a){return a.$b()<=BP.width});b&&a.J.then(function(a){return px(a,4627)});e&&a.J.then(function(a){return px(a,4875)});c&&(a.W=null);d&&(a.U=null)}};h=bP.prototype;h.Zo=function(a){this.M(new Wt(a.id))}; h.Fp=function(a){if(null!=a.g){xP(this,a.g);DP(this,a.g);dN(this.Da,a.g);nN(this.Bc,a.g);this.I&&this.I.Kq(a.g);this.ba&&this.ba.l(a.g);yP(this,a.g);CP(this,a.g);this.u.uj(a.g);this.Tb=a.g;this.Qd&&this.nb.update(a.g);this.xa||(this.xa="PAUSED"!=this.getState());var b=this.xa&&this.o.Rd&&(c=l(K(a,jp,8,1),3),d=l(a,5)+l(a,7))});this.bd||0!=c||(this.J.then(function(a){return px(a,4220)}),this.bd=!0);this.Mc||1!=c||(this.J.then(function(a){return px(a,4221)}),this.Mc=!0);this.ad||2!=c||(this.J.then(function(a){return px(a,4222)}),this.ad=!0);this.Zc||3!=c||(this.g.g(SN),this.J.then(function(a){return px(a,4134)}),this.Zc=!0)}var e=!1;N(a.g,xp,13).forEach(function(a){e= e||0=d&&(b.g.has(e)||b.g.set(e,[]),b.g.get(e).push(d))}c?b.l.set(a,{$g:c,ge:y()}):b.l["delete"](a)}; h.Dp=function(a){this.g.g(RN,a.message);"transport writable"==a.message?(this.Ne=!0,this.ia||X(this.jo,1E4,this),this.M(new Yt([],[],this.Db())),iP(this)):"render first video frame"==a.message?(this.ia=!0,this.lb.resolve(y()),iP(this)):"transport not writable"==a.message&&(this.o.g?this.stop(10,"P2P session ending. Falling back to cloud."):this.Jd())};h.jo=function(){this.ia||(this.ia=!0,this.lb.reject("First video frame timed out"),iP(this))}; var iP=function(a){"STARTED"==a.getState()&&a.Ne&&a.ia&&dP(a,"INPROGRESS")};bP.prototype.Pf=function(a){switch(a.label){case "collections":this.M(new bN(a.payload));break;case "msodc":this.u.Xa(a.label,a.payload);break;case "dataSendChannel":this.g.o(QN,a.payload);break;default:this.M(new aN(a.ib,a.payload))}};var hP=function(a){a.l.pj()&&(a.N=X(a.fo,5E3,a))};h=bP.prototype; h.Jp=function(a){if(null!=this.N){a.g!=this.od&&(a.g?this.g.g(PN):this.g.l(ON),this.od=a.g);a.l!=this.pd&&(a.l?this.g.g(NN):this.g.l(MN),this.pd=a.l);var b=y();a.g&&(this.tb=b);a.l&&(this.Kb=b);if(a.g||a.l)gj(this.N),this.N=null,hP(this)}};h.fo=function(){var a=y(),b=(a-this.tb)/1E3;a=(a-this.Kb)/1E3;this.M(new Vt(St(this),b,a));this.tb==this.va?this.g.g(LN):5E3c.length||!(c[0]instanceof Wz)?(a.g.g("Stopping remote session due to receiving null session proto."),a.l.then(function(a){return px(a,3945)}),b.stop(16,"Received null session proto.")):(c=c[0],null!=c?(d=RF(a.U,c,!d.g),null!=d?oQ(a,b,d):(a.g.g("Stopping session due to inability to parse session proto."),a.l.then(function(a){return px(a,3947)}),b.stop(16,"Error parsing session proto."))):(a.g.g("Stopping session due to type mismatch in session proto."),a.l.then(function(a){return px(a, 3946)}),b.stop(16,"Type mismatch in session proto.")))},hQ=function(a,b,c){var d=b.l||a.H;b=null!=d?Ht(b,d):Ht(b,null);b=Mt(b,c);if(c){b=Lt(b);if(null==a.F)return a.l.then(function(a){return px(a,3941)}),null;b=Ot(b);b=Kt(b);b=Nt(b,Zb(a.mb,b.K))}return b};TP.prototype.Ta=function(a){null!=a.Eb&&0c.length)){var d=new Qz;le(d,6,c);var e=Tt(b).g;if(e&&(J(d,4,e.o),J(d,5,e.l),e.g)){var f=new Rz;J(f,1,e.g.split(" ")[0]);J(f,2,e.g.split(" ")[1]);O(d,2,f)}var g=[];B(C(Tt(b).l),function(a){g.push(this.U.ik(a))},this);b=new Tz;b.xb(4);O(b,2,d);le(b,4,g);d=new Wz;d.Oa(a.sessionId);Xz(d,[b]);ZE(this.J, d)}}; TP.prototype.Kb=function(a){var b=a.target,c=this.W.get(b.Db()),d=b.getState();if(c!=d){this.W.set(b.Db(),d);this.u.get(c).remove(b);this.u.get(d).add(b);switch(d){case "STARTED":null!=this.H&&null!=this.sa&&null!=this.va&&b.Rf(this.H,this.sa,this.va);break;case "INPROGRESS":rQ(this,b);break;case "STOPPED":sQ(this,b,a.g,a.l);break;case "FINISHED":this.u.get(b.getState()).remove(b),this.W.remove(b.Db()),this.o.remove(b),this.xa["delete"](b),ze(b),this.o.bb()==this.u.get("FINISHED").bb()&&"STOPPED"==this.O&& this.zb("FINISHED")}this.M(a)}}; var rQ=function(a,b){if("INITIAL"!=a.getState()&&"STOPPED"!=a.getState()&&"FINISHED"!=a.getState()){"STARTING"==a.getState()&&a.zb("INPROGRESS");KP(b,a.I.V);var c=b.Db(),d=UP(a);B(d,function(a){c!=a.Db()&&(a.pause(),tQ(this,a,b))},a)}},sQ=function(a,b,c,d){B(a.N,function(a){a.kg(b.Db())});if(26==c)c=a.F,a.F=SP(a,!1),c&&(a.F?tQ(a,c,a.F):a.g.error("Cloud session"+St(c)+" to cloud handoff failed"));else{55==c&&a.l.then(function(a){px(a,3262,St(b)||void 0)},null,a);var e=a.u.get("STOPPED").bb()+a.u.get("FINISHED").bb(); a.o.bb()==e?"STOPPED"!=a.O&&(a.g.g("All sessions now stopped."),a.stop(c,d)):0==UP(a).length&&B(XP(a),function(a){a.resume();tQ(this,b,a)},a)}},tQ=function(a,b,c){if(b.o.g)var d=5;else if(c.o.g)d=4;else{d=6;var e=y(),f=y();c.lb.$.then(function(){f=y();WM(this.fa,29,e);WM(this.fa,30,f);XM(this.fa);this.g.g("Cloud to cloud handoff took: "+(f-e)+" ms");this.l.then(function(a){px(a,4652,St(c)||void 0)},null,this)},function(){f=y();this.g.g("Cloud to cloud handoff timeout: "+(f-e)+" ms");this.l.then(function(a){px(a, 4653,St(c)||void 0)},null,this)},a)}var g=new ot;J(g,1,d);J(g,2,0);J(g,3,St(b));J(g,4,St(c));J(g,5,f);var k=new tt;O(k,15,g);b.u.Ti(k);4==d&&a.l.then(function(a){px(a,3260,St(c)||void 0)},null,a);a.g.g("Handing off from "+(b.o.g?"P2P":"RF")+" session to "+(c.o.g?"P2P":"RF")+" session")},kQ=function(a){a.Ba||(a.Ba=LP.hb(),a.G.listen(a.Ba,"kc",a.lb))}; TP.prototype.lb=function(){var a=this,b=new Set(this.xa);0!==b.size&&(this.g.g("SleepWatcher fired. Waiting 3 seconds to determine if media is live."),hj(3E3).then(function(){a.F.bl()?(a.g.g("SleepWatcher fired but session is still live. Not suspending."),WP(a,4588),a.M("ra")):(a.g.l("Suspend triggered by SleepWatcher, "+("effecting "+b.size+" session(s).")),WP(a,2056),uQ(a,b),a.M("sa"))}))}; var uQ=function(a,b){a.N.concat().filter(function(a){return"v"===a.ga().pa()}).forEach(function(a){return a.ze()});hj(2E3).then(function(){b.forEach(function(){switch(a.getState()){case "STOPPED":case "FINISHED":return}a.stop(112,"JS was suspended for too long.")})})},VP=function(a){a.l.then(function(a){px(a,4412)})},WP=function(a,b,c,d,e,f,g,k){a.l.then(function(a){return px(a,b,c,d,e,f,g,k)})}; var vQ=function(a,b,c){T.call(this);this.o=b;this.g=c;this.l=new V(this);this.da(this.l);this.l.removeAll();this.l.listen(a,"jc",this.F)};A(vQ,T);vQ.prototype.F=function(a){this.g.report("G");var b=this.o,c=wy(a.data);c=new PA(c);c=N(c,NA,1);B(c,b.g,b);a=wy(a.data);a=N(new PA(a),NA,1);0==a.length?this.g.report("K"):1==a.length?B(a,this.u,this):this.g.report("L")}; vQ.prototype.u=function(a){var b=K(a,Sy,1);(b=b&&l(b,3))&&this.g.report("Z",b);a=K(a,MA,2);if(null!=a){for(var c,d=0;dd?hj(1E3).then(x(this.$j,this,f,g,a,b,d+1)):this.Ll(a,b,c,234):(f=ve(b.u).ua(),this.V.resolve(b),this.sa.resolve(c),this.da(b),this.da(c),2!=this.ib.g&&(this.ia.resolve(f),this.ma.resolve(g)),d=OQ(this),this.da(d),this.va.resolve(d),d=new qH(d,this.g),this.ba.resolve(d),this.da(d), a.resolve(),this.W.resolve(null),this.zb(2),this.g.connect(f,g,this.P),this.da(new vQ(this.g,this.o.I,this.o.H)),b.start(),c.start())};h.Ll=function(a,b,c,d){this.J();this.zb(0);ze(b);ze(c);a.reject(new NQ(PQ(d),d))};h.Gh=function(){var a=IQ.ra.Gh.call(this);a.hangout=x(function(){return this.F.get()&&VE(this.F.get())},this);a.participants=x(function(){return this.l.get()&&VE(this.l.get())},this);a.mediaSources=x(function(){return this.u.get()&&VE(this.u.get())},this);return a}; h.Hh=function(){var a=IQ.ra.Hh.call(this);a.hangout=qg(this.F.get()&&VE(this.F.get()));a.participants=qg(this.l.get()&&VE(this.l.get()));a.mediaSources=qg(this.u.get()&&VE(this.u.get()));return a};var OQ=function(a){var b=tG(a.Ka,a.o,a.ob.get());a.da(b);a.xa.resolve(b);b.start();return new GQ(a.ib.get(),b,a.l.get(),a.g.N.concat().map(function(a){return a.ga()}),a.g)}; IQ.prototype.tj=function(a,b){var c=this;this.fa=b;this.G.cookie=this.o.u.l.g;var d=Ji();if(a&&!this.N){d=new mz;d.ha(this.ob.get());d.Ma(this.ib.get());var e={};e.jYdIne=b;d=this.l.get().remove(d,e,2).then(this.J,null,this)}Ui(d,function(){c.o.u.l.g=null;wQ.prototype.tj.call(c,a,b)});Lc(this.I,ze);Yc(this.I);d=new AQ(b);this.V.reject(d);this.sa.reject(d);this.xa.reject(d);null!=this.F.get()&&this.F.get().stop();null!=this.l.get()&&this.l.get().stop();null!=this.u.get()&&this.u.get().stop()}; IQ.prototype.Pi=function(a){if(3==this.getState()||4==this.getState())return!1;var b=this.I[a.ga().getId()];if(b&&Mb(b.l,a))return!1;b||(b=new DQ(this),this.I[a.ga().getId()]=b);b.listen(a.ga(),["G","H","I","J"],b.J);b.l.push(a);FQ(b);return IQ.ra.Pi.call(this,a)};IQ.prototype.J=function(){null!=this.R&&lf(this.R);null!=this.Ba&&lf(this.Ba)}; IQ.prototype.Fa=function(){this.J();var a=l(this.o,12),b=null!=this.fa?this.fa:63;if(null!=a){var c=new YC;J(c,5,b);var d=new nz;d.ha(this.G.ob);ta(this.G.ib)||d.Ma(this.G.ib);ZC(c,[d]);c.setRequestHeader(ZA(this.o));d=new My;O(d,3,this.G.cookie||this.o.u.l.g);c.T(d);c=c.Na();d=this.U?this.U.R():[];d=Fb(d,function(a){return a.Na()},this);if(null!=navigator.sendBeacon){var e=new FormData;e.append("r",c);B(d,function(a){e.append("l",a)});this.N=navigator.sendBeacon(a,e)}this.N||(a=Wg(a,"r",c),a=Wg(a, "l",d),c=nm.g(),c.open("GET",a,!1),c.send(null));this.N=!0}this.disconnect(b)};var PQ=function(a){var b=null;try{b=qe(a.response.sv)}catch(d){}var c;b instanceof tC?(a=b.getResponseHeader())&&(c=10==a.yb()?JQ[l(b,4)]||209:KQ[a.yb()]):w(a)&&(c=a);return r(c)?c:302},NQ=function(a,b){this.yd=b}; var QQ=function(a,b,c){var d=sG(a,b,"");return d.add(c).then(function(a){var b=d.g;a=HE(b,b.l(a[0]));d.u=ve(a);return d},function(a){ze(d);throw a;})},SQ=function(a,b,c){var d=0;r(void 0)&&(c=ve(c),J(c,5,!0),d=y()+NaN);var e=Ri(),f=function(a){y()>=d?e.reject(a):X(k,5E3)},g=function(c){1==c.getResponseHeader().yb()?(c=c.ua(),e.resolve(sG(a,b,c))):f(new xy("fatal","backend",null,c))},k=function(){Vi(RQ(a,b,c).then(g),f)};k();return e.$},RQ=function(a,b,c){a=dG(cG.hb(),a,b);var d=a.o;c=ve(c);return XK(a).then(function(a){c.setRequestHeader(a); return d.makeRequest("hangouts/resolve",c)})}; var TQ=function(a,b,c,d){V.call(this);this.J=a;this.K=b;this.O=c;this.I=d;this.o=!0;this.g=this.H=null;this.G=!1;this.u=null;this.l()};A(TQ,V);TQ.prototype.X=function(){this.g&&this.g.stop();TQ.ra.X.call(this)};var VQ=function(a,b){a.u=b;UQ(a)};TQ.prototype.fc=function(a){this.o=a;UQ(this);WQ(this);this.l()}; var UQ=function(a){null!=a.g||a.G||null==a.u||a.o||(a.G=!0,a.u().then(function(a){this.G=!1;this.L?a.stop():this.K.Pi(a)&&(this.g=a,this.listen(a.ga(),"I",this.l),WQ(this),this.l())},null,a))},WQ=function(a){null!=a.g&&(a.o?a.g.ze():a.g.ui())};TQ.prototype.l=function(){var a=this.g?this.g.Jb():this.o;if(a!==this.H){this.H=a;var b=new uM;J(b,1,this.J);J(b,2,this.I);b.fc(a);this.O(b)}}; var XQ=function(a,b,c){V.call(this);this.G=a;this.H=cL(this.G.get(jw));this.g=b;this.Xh=!1;this.u={};this.l=null;this.o=Ji();c.then(this.vp,this.wp,this)};A(XQ,V);h=XQ.prototype;h.X=function(){YQ(this,null);XQ.ra.X.call(this)};h.vp=function(){this.g.l.then(this.rr,void 0,this)};h.wp=function(){this.g.disconnect(15);this.dispose()};h.rr=function(){this.g.onDisconnect.then(this.dispose,this.dispose,this);this.listen(this.g.l.get(),"Ya",this.mk);this.hm();this.mk()}; h.hm=function(){Ui(this.g.l.get().Ld(),function(){this.L||X(this.hm,2E3,this)},this)};h.mk=function(){var a=0,b=!1;B(this.g.l.get().get(),function(c){switch(m(c,17,0)){case 20:ZQ(this,c);break;case 22:ZQ(this,c);break;case 21:b=!0;ZQ(this,c);break;default:c.Hk()&&a++}},this);1=this.H.size&&this.pause()};h.rj=function(){};h.stop=function(){if("st"===this.g)return!1;US(this,"Stopping.");TS(this,null);this.H.clear();this.u("st");return!0};h.ze=function(){if("st"==this.g)return!1;$S(this,!0);return!0};h.ui=function(){"st"!=this.g&&$S(this,!1)};h.Jb=function(){switch(this.g){case "nd":case "ad":case "fa":return!0;default:return this.K}}; var $S=function(a,b){US(a,"Setting mute state to mute="+b+".");a.K=b;a.Bi(a.K);ZS(a);a.M("O")};SS.prototype.Bi=function(a){a?TS(this,null):VS(this)};SS.prototype.pause=function(){this.I||"st"==this.g||(US(this,"Pausing."),this.I=!0,TS(this,null))};SS.prototype.resume=function(){this.I&&"st"!=this.g&&(US(this,"Resuming."),this.I=!1,VS(this))}; var ZS=function(a){var b=a.ga().getState(),c=a.Jb()?"mu":"li";b!==c&&(US(a,"Update source state from "+b+" to "+c),a.ga().zb(c))},VS=function(a,b){if(a.O)return Vi(a.O,eb).then(function(){return VS(a,b)});"fa"!=a.g&&"ad"!=a.g||a.u("re");if("re"!=a.g)return US(a,"Skipping update usermedia while device in "+("state="+a.g+".")),Ji();if(a.I)return US(a,"Skipping update usermedia because capture is paused."),Ji();if(a.jj()&&a.K)return US(a,"Skipping update usermedia because capture is muted."),Ji();if(a.o&& a.R&&a.R.kb(a.l))return US(a,"Skipping update usermedia because settings were unchanged."),Ji();var c=aT(a);if(!c)return a.F.error("["+a+"] Attempting to update usermedia with null constraints."),Ki("Attempting to update usermedia with null constraints.");if(Xc(c))return US(a,"Skipping update usermedia with empty constraints."),Ji();var d=a.l;a.rm()&&TS(a,null);a.R=d;var e=a.Da++;US(a,"Attempting update usermedia with id="+e+" settings="+a.l+("constraints="+$a.JSON.stringify(c)+"."));var f=a.ga().pa(); bT(a,f);a.O=RS(c).then(function(b){a.ba="";"a"==f?cT(a,4800):"v"==f&&cT(a,4797);dT(a);a.I||!a.l.kb(d)?(US(a,"During update usermedia with id="+e+" capture settings "+("changed to "+a.l+".")),a.P(b)):a.jj()&&a.K?(US(a,"During update usermedia with id="+e+" capture was muted."),a.P(b)):(US(a,"Update usermedia success with id="+e+"."),a.cg(b))},function(c){eT(a,"Error during update usermedia call with id="+e+": "+c+".");c&&(a.ba=c.name,fT(a,f,c.name));ly(c)?(dT(a),a.u("ad")):c&&c.name&&("NotReadableError"=== c.name||"TrackStartError"===c.name)&&b?null!==a.N?eT(a,"Ignore getUserMedia failure with id="+e+" as we are still in the failure delay period."):(eT(a,"Delaying transitioning capture to failure after "+("unexpected getUserMedia failure with id="+e+".")),a.R=null,a.N=setTimeout(function(){a.N=null;eT(a,"getUserMedia still has not succeeded after delay. About to make one final explicit attempt.");cT(a,4578);VS(a,!1)},2E3)):a.u("fa");throw c;});Ui(a.O,function(){a.O=null});return a.O},dT=function(a){null!== a.N&&(clearTimeout(a.N),a.N=null,US(a,"Cancelling pending failure timer since getUserMedia eventually succeeded after delay."))};SS.prototype.jj=function(){return!0};SS.prototype.rm=function(){return!1}; var aT=function(a){if(null==a.getDeviceId()||a.getDeviceId()===Um.id)return US(a,"Return empty user media constraints with null deviceId."),{};var b={audio:!1,video:!1},c=a.ga().pa();switch(c){case "a":b.audio=a.l.ef();break;case "v":b.video=a.l.ef();break;default:return a.F.error("["+a+"] "+("Invalid mediaType="+c+".")),null}return b}; SS.prototype.cg=function(a){var b=this;US(this,"getUserMedia success for stream="+a.id+".");this.kl=y();if(0==a.getAudioTracks().length&&0==a.getVideoTracks().length)return eT(this,"No media tracks for stream="+a.id+"."),Ji();TS(this,null);[].concat(Ta(a.getAudioTracks()),Ta(a.getVideoTracks())).forEach(function(a){bf(a,"ended",b.La,void 0,b);bf(a,["mute","unmute"],b.oa,void 0,b)});!1!==this.dh&&(this.dh=!1,this.M("M"));TS(this,a);this.oa();gT(this,a);return Ji()};SS.prototype.La=function(){this.M("L")}; SS.prototype.oa=function(){var a=hT(this);a!==this.fa&&(this.fa=a,this.M("N"))};var hT=function(a){if(!a.o)return!1;a=[].concat(Ta(a.o.getAudioTracks()),Ta(a.o.getVideoTracks()));return 0!=a.length&&a.every(function(a){return a.muted})};SS.prototype.V=function(){}; var US=function(a,b){a.F.g("["+a+"] "+b)},eT=function(a,b){a.F.l("["+a+"] "+b)},TS=function(a,b){b!==a.o&&(a.G.forEach(a.P,a),a.G.clear(),a.P(a.o),b&&a.H.forEach(function(c){a.G.set(c,b.clone())}),US(a,"Stream changed with new stream="+(b&&b.id)+"."),a.o=b,a.M("Q"))},YS=function(a,b){a.l=b;return VS(a)},cT=function(a,b){a.Fa.then(function(a){px(a,b)})},gT=function(a,b){b=b.getAudioTracks().map(function(a){return a.getSettings().echoCancellation}).filter(function(a){return"boolean"===typeof a});0!== b.length&&(b=b.some(function(a){return!a}),b!==a.ma&&(a.ma=b,cT(a,b?4705:4706),US(a,"echoCancellation="+!b)))},fT=function(a,b,c){"a"==b?(cT(a,4801),iT.has(c)?cT(a,iT.get(c).audio):cT(a,4471)):"v"==b&&cT(a,4798)},bT=function(a,b){"a"==b?cT(a,4799):"v"==b&&cT(a,4796)},iT=new Map([["AbortError",{audio:4460}],["NotAllowedError",{audio:4461}],["NotFoundError",{audio:4462}],["NotReadableError",{audio:4463}],["OverconstrainedError",{audio:4464}],["SecurityError",{audio:4465}],["TypeError",{audio:4466}], ["PermissionDeniedError",{audio:4475}],["InvalidStateError",{audio:4476}],["DevicesNotFoundError",{audio:4477}],["ConstraintNotSatisfiedError",{audio:4478}],["TrackStartError",{audio:4479}],["MediaDeviceFailedDueToShutdown",{audio:4480}],["MediaDeviceKillSwitchOn",{audio:4481}]]); var jT=function(a,b,c){SS.call(this,a,b,MS(new LS,c).S());this.ia=c;this.W=!1;this.J=null;a=new V(this);this.da(a);a.listen(this,"Q",this.Pl);this.Pl(null)};p(jT,SS);h=jT.prototype;h.X=function(){ze(this.J);SS.prototype.X.call(this)};h.Bi=function(a){var b=this;this.F.g("Changing media mute for "+this+", setting track.enabled="+!a);[this.o].concat(Ta(this.G.values())).filter(Boolean).forEach(function(c){c!==b.Ya()&&kT(c,a)})};h.cg=function(a){kT(a,this.Jb());return SS.prototype.cg.call(this,a)}; h.Pl=function(){this.J&&(this.F.g("Disposing of volume monitor for "+this),ze(this.J));var a=this.Ya();a&&(this.F.g("Creating volume monitor for stream with id="+a.id+" in "+this),this.J=new hq(null,a,!0,""))};h.xf=function(a){SS.prototype.xf.call(this,a);(a=NS(this,a))&&kT(a,this.Jb())};h.jj=function(){return!1};h.rm=function(){if(Md)return!0;var a=this.R,b=this.l;return a&&a.deviceId===b.deviceId&&a.g.g!==b.g.g?!0:!1}; var kT=function(a,b){a.getAudioTracks().forEach(function(a){return a.enabled=!b})}; var QR={audio:"a",video:"v",data:"d",application:"d"};var lT=function(a,b){b=void 0===b?{}:b;this.o=a;this.H=b;this.F=[];this.K=new Set;this.G="ICE";this.L="full";this.u=null},oT=function(a){if(a.u)return a.u;var b=Math.pow(2,53)*Math.random(),c=[];c.push(new ux("v","0"));c.push(new ux("o","- "+b+" 2 IN IP4 127.0.0.1"));c.push(new ux("s","-"));c.push(new ux("t","0 0"));b=Qd?mT(a):nT(a);0d.g.g?"passive":"active":"passive")));return c},jU=function(a){Md&&(a=os(a,C(a.g).filter(function(a){return"urn:ietf:params:rtp-hdrext:toffset"!==a.Tc()})));return a},lU=function(a){var b= function(a,b){return a.some(function(a){return a.tc==b})};return a.filter(function(a,d,e){return!oc(a.g,"rtx")||b(e,"apt"in a.u?a.u.apt:null)})},hU=function(a){var b=function(a){return yS(a.getParams(),function(a,b){return oc(b,"packetization-mode")&&"1"===a})};a=a.filter(function(a,d,e){var c=!0;e.forEach(function(e,f){f!=d&&e.g==a.g&&oc(a.g,"H264")&&(c&=b(a))});return c});return lU(a)},iU=function(a,b){b=b.filter(function(b){return oc(b.g,"vp8")||oc(b.g,"h264-svc")||a.u.F&&oc(b.g,"rtx")||!1});return lU(b)}, mU=function(a,b,c,d){a.g.l("Rengotiation (id="+c+") FAILED: "+b+". Error="+d);a.L&&a.g.l("Last local SDP was: "+dS(a.L));a.G&&a.g.l("Last remote SDP was: "+dS(a.G));b=a.o.g;b.localDescription&&a.g.l("PeerConnection's current local SDP is: "+b.localDescription.sdp);b.remoteDescription&&a.g.l("PeerConnection's current remote SDP is: "+b.remoteDescription.sdp)}; ya.Object.defineProperties(VT.prototype,{o:{configurable:!0,enumerable:!0,get:function(){return this.F}},Y:{configurable:!0,enumerable:!0,get:function(){return this.u}},I:{configurable:!0,enumerable:!0,get:function(){return this.l||this.K}}}); var nU=function(a,b){VT.call(this,a,b);this.U=!0};p(nU,VT);nU.prototype.Ja=function(){return new xR("realtime.media.api.webrtc.PeerNegotiatorLegacy")}; nU.prototype.V=function(){var a=this;return jS(function c(){var d;return wS(c,function(c){switch(c.$a){case 1:if(!a.U){c.te(2);break}a.U=!1;return nS(c,oU(a),3);case 3:if(null==a.l)return c["return"]();case 2:if(!a.O){c.te(4);break}a.g.g("Performing ICE restart.");a.O=!1;return nS(c,gU(a,a.H),5);case 5:d=c.Ke;var e=Jx(d);a.l=Ms(a.I,e.g);case 4:return nS(c,pU(a),0)}})}())}; var oU=function(a){return jS(function c(){var d,e,f,g;return wS(c,function(c){switch(c.$a){case 1:return a.g.g("Setting initial remote description."),a.L||a.g.l("Current local SDP is unexpectedly not set while attempting to set the initial remote description."),d=a.L,e=kU(a,"answer",a.H),a.g.g("Generating initial remote answer SDP."),f=["conference"],g=DT(e,d,null,{Gm:f}),a.g.g("Setting initial remote answer."),nS(c,fU(a,"answer",g),0)}})}())},pU=function(a){return jS(function c(){var d,e,f,g;return wS(c, function(c){switch(c.$a){case 1:return d=a.W++,e=a.H,a.l&&(a.K=a.l,a.l=null),a.g.g("Rengotiation (id="+d+"): Starting."),oS(c,2),nS(c,qU(a,e,d),4);case 4:pS(c,3);break;case 2:throw f=qS(c),mU(a,"Failed to create or set remote offer.",d,f),f;case 3:return oS(c,5),nS(c,rU(a,a.K,e,d),7);case 7:pS(c,6);break;case 5:throw g=qS(c),mU(a,"Failed to create or set local answer.",d,g),g;case 6:a.g.g("Rengotiation (id="+d+"): Successfully completed."),c.$a=0}})}())},qU=function(a,b,c){return jS(function e(){var f, g,k;return wS(e,function(e){switch(e.$a){case 1:return a.g.g("Rengotiation (id="+c+"): Generating remote offer SDP."),b=kU(a,"offer",b),f=a.G,g=["conference"],k=CT(b,f,{Gm:g,Al:sU(a)}),a.g.g("Rengotiation (id="+c+"): Setting remote offer."),nS(e,fU(a,"offer",k),0)}})}())},rU=function(a,b,c,d){return jS(function f(){var g,k,n;return wS(f,function(f){switch(f.$a){case 1:return a.g.g("Rengotiation (id="+d+"): Generating and setting local answer."),Md?nS(f,PT(a.o),6):nS(f,PT(a.o),4);case 4:var q=b;a.g.g("Altering local description."); var v=q.g,z=v.g,L=v.F;!z||L&&"actpass"!==L||(q=a.u.g?Ms(q,bS(v,c.g.g>z?"active":"passive")):Ms(q,bS(v,"active")));g=q;k=DT(g,a.G);return nS(f,TT(a.o,"answer",k),0);case 6:return n=f.Ke,nS(f,TT(a.o,"answer",n),0)}})}())},sU=function(a){if(!Md)return[];a=a.o.g.getSenders().find(function(a){return"video"===a.track.kind});return a?(a=a.getParameters().encodings)&&0!==a.length?a.map(function(a){return a.rid}):[]:[]}; var tU=function(a,b,c){var d=UR;this.F=hl(a,hw).then();this.l=b;this.u=c;this.o=d;this.g=new Set};tU.prototype.update=function(a,b){var c=this.o(b);b=this.u(b);var d="un";this.g.has(a)?c?(this.g["delete"](a),d="r"):d="m":b&&(this.g.add(a),uU(this),d="m");return d};var uU=function(a){a.F.then(function(b){px(b,a.l)})}; var vU=["Incompatible version number: ",""];vU.raw=["Incompatible version number: ",""];var wU=["Elapsed time in jmidata decreased from "," to\n ",""];wU.raw=["Elapsed time in jmidata decreased from "," to\n ",""]; var xU=function(a,b){this.G=new Eq("realtime.media.api.webrtc.JmiStatsParser");this.L=a;this.N=b;this.H=new aI;this.K=hl(this.L,mw);this.l=-1;this.u=new Map;this.o=new dp;this.P=new DS(this.L);this.g=null;this.F=!1;this.I=new tU(a,4549,SR);this.J=new tU(a,4550,TR);this.O=[this.I,this.J]},yU=function(a){a.K.then(function(b){a.g||a.F||(a.g=b.Do(),a.g&&a.g.onMessage.addListener(function(b){return a.o.N(b)}))})},EU=function(a,b,c,d,e){zU(a,b);var f=new Map;b.forEach(function(a){if("localcandidate"=== a.type){var b=AU(a);a=a.id;null!=b&&(b=b.networkType,ta(Cc(a))||ta(Cc(b))||((b=BU[b])||(b=0),f.set(a,b)))}});b.forEach(function(b){switch(b.type){case "ssrc":CU(a,AU(b),c,d);break;case "VideoBwe":if(b=AU(b)){var e=new qp;J(e,1,2);J(e,24,2);QH(b,e);J(e,2,-1);J(e,3,-1);J(e,4,-1);J(e,5,-1);e.Yc(-1);J(e,7,-1);J(e,8,-1);J(e,9,-1);J(e,10,-1);DU(d,e)}break;case "googCandidatePair":var g=AU(b);if(g){b=N(d,xp,13);e=new xp;UH(g,e);var q=0;"true"===g.googActiveConnection&&(q|=1);"true"===g.googWritable&&(q|= 2);"true"===g.googReadable&&(q|=4);J(e,2,q);q=new jp;var t=new jp;J(q,1,g.googLocalAddress||"");J(t,1,g.googRemoteAddress||"");var v=g.googChannelId,z=0;nc(v,"Channel-audio-")?z=1:nc(v,"Channel-video-")&&(z=2);J(q,2,z);J(t,2,z);v={local:1,stun:2,relay:3};J(q,3,v[g.googLocalCandidateType]||0);J(t,3,v[g.googRemoteCandidateType]||0);v={udp:1,tcp:2,ssltcp:3}[g.googTransportType]||0;J(q,4,v);J(t,4,v);O(e,8,q);O(e,9,t);q=q.Ya();J(e,1,q);q=fI(a.H,g,a.l);J(e,5,q?q.$i:-1);J(e,7,q?q.Wi:-1);g=g.localCandidateId; u(g)&&!ta(Cc(g))&&f.has(g)&&(g=f.get(g),J(e,55,g));b.push(e);le(d,13,b)}}});ES(a.P).then(function(b){var c;(c=ip(a.o))?(PH(c,d),c=c.jmiVersion,c=w(c)?c:r(void 0)?void 0:-1):c=0;3!==c?a.G.o(vU,c):(hp(a.o,b.value),0>a.l||(J(d,1,Math.round(a.l)),ep(a.o),e(d)))})},zU=function(a,b){var c=null;b.forEach(function(a){a.timestamp&&0b||(b<=a.l&&a.G.l(wU,a.l,b),a.l=b)},FU=function(a){var b=new Map;a.forEach(function(a){var c= a.stat("ssrc");a=a.stat("audioOutputLevel");ta(Cc(c))||ta(Cc(a))||(c=parseInt(c,10),a=fq(a),b.set(c,a))});return b},GU=function(a,b){var c={audio:!1,video:!1};b.forEach(function(b){if("ssrc"===b.type){var d=b.names();if(d.includes("packetsReceived")){var f=Number(b.stat("ssrc"));a.u.has(f)||a.u.set(f,0);b=Number(b.stat("packetsReceived"));0>=b-a.u.get(f)||(a.u.set(f,b),d.includes("audioOutputLevel")?c.audio=!0:d.includes("googFrameRateReceived")&&(c.video=!0))}}});return c},HU=function(a){return a.reduce(function(a, c){var b=-1;"VideoBwe"===c.type&&(c=c.stat("googAvailableSendBandwidth"),ta(Cc(c))||(b=Math.round(Number(c))));return Math.max(a,b)},-1)},CU=function(a,b,c,d){Fp(b,c,a.N);if(b){c=!1;c=Tc(b,"mediaType")?"audio"===Zc(b,"mediaType"):Tc(b,"audioInputLevel")||Tc(b,"audioOutputLevel")||Tc(b,"googExpandRate");var e=Tc(b,"bytesSent"),f=c?new qp:new BG;IU(b,f,e,c);c?SH(b,f,e):JU(b,f,e);var g=l(f,25);null!=g&&a.O.forEach(function(a){return a.update(g,f)});KU(a,b,f,e);DU(d,f)}},IU=function(a,b,c,d){J(b,1,d? 1:2);J(b,24,c?0:1);w(a.ssrc)&&(J(b,25,a.ssrc),J(b,53,[a.ssrc]));RH(a,b,c)},KU=function(a,b,c,d){if(a=dI(a.H,b,a.l,d))J(c,2,a.li),d?J(c,42,a.Qe):J(c,96,a.Qe)},JU=function(a,b,c){TH(a,b,c);var d=a.googContentType;d&&J(b,59,"screen"===d);if(c){var e=tp.kh;c=VR(a.googBandwidthLimitedResolution);VR(a.googCpuLimitedResolution)&&(e|=tp.jh);c&&(e|=tp.ih);J(b,65,e)}else if(a=a.googTimingFrameInfo)try{a="["+a+"]",e=new hS(a?JSON.parse(a):null),b.u=e}catch(f){}},AU=function(a){var b={};a.names().forEach(function(c){var d= a.stat(c);null!=d&&(isNaN(d)||u(d)&&ta(d)||(d=Number(d)));b[c]=d});return b},DU=function(a,b){b=b||new qp;var c=yp(a);c.push(b);zp(a,c)},BU={lan:1,vpn:11,wlan:2,wwan:5}; var LU=["Ignore report with timestamp prior to initial stats:\n ",""];LU.raw=["Ignore report with timestamp prior to initial stats:\n ",""];var MU=["No valid timestamp for the stats: ",""];MU.raw=["No valid timestamp for the stats: ",""]; var NU=function(){this.u=new Eq("realtime.media.api.webrtc.RtcStatsParser");this.F=new aI;this.g=this.l=null;this.o=new Map},XU=function(a,b,c,d){var e=XR(b);e?(OU(a,e),e=PU(a),0>e?a.u.l(LU,QU(b)):(J(c,1,Math.round(e)),b.forEach(function(d){switch(RU[d.type]||d.type){case "candidate-pair":if(d){var e=d.selected;if(ab(e)&&!1!==e){e=N(c,xp,13);var f=new xp,n=new jp,q=new jp;SU(n);SU(q);O(f,8,n);O(f,9,q);J(f,7,-1);J(f,5,-1);var t=l(n,3);J(f,1,t);J(f,2,0);f.Yc(-1);J(f,6,-1);J(f,4,-1);t=d.remoteCandidateId|| "";TU(b.get(d.localCandidateId||""),n);TU(b.get(t),q);O(f,8,n);O(f,9,q);q=d.selected;t=d.writable;var v=d.readable;ab(q)&&(t=void 0===t?!0:t,v=void 0===v?!0:v);var z=0;!0===q&&(z|=1);!0===t&&(z|=2);!0===v&&(z|=4);J(f,2,z);n=l(n,3);J(f,1,n);n=UU(d,"bytesReceived");J(f,6,n);n=UU(d,"bytesSent");J(f,4,n);if(d=fI(a.F,d,PU(a),!1))J(f,5,d.$i),J(f,7,d.Wi);e.push(f);le(c,13,e)}}break;case "inbound-rtp":case "outbound-rtp":d&&!WR(d)&&(e=yp(c),f=new qp,J(f,9,-1),J(f,7,-1),J(f,3,-1),J(f,2,-1),J(f,5,-1),J(f,4, -1),J(f,1,0),J(f,10,-1),J(f,8,-1),f.Yc(-1),n="outbound-rtp"===(RU[d.type]||d.type),d&&(J(f,24,n?0:1),q="audio"===d.mediaType,J(f,1,q?1:2),t=d.ssrc,u(t)&&!ta(t)&&(t=Number(t),J(f,25,t),J(f,53,[t])),t=d.nackCount,w(t)&&J(f,28,t),t=d.firCount,w(t)&&J(f,27,t),q||WR(d)||(q=Math.round(UU(d,"framerateMean")),J(f,29,q),n?(q=Math.round(UU(d,"bitrateMean")),J(f,42,q)):(q=Math.round(UU(d,"bitrateMean")),J(f,96,q)),f.setHeight(-2),f.setWidth(-2))),n?VU(a,d,f,b):WU(a,d,f,b),d=dI(a.F,d,PU(a),n,!1),null!=d&&(n? J(f,42,d.Qe):(J(f,96,d.Qe),J(f,2,d.li))),e.push(f),zp(c,e))}}),d(c))):a.u.l(MU,QU(b))},YU=function(a,b){var c={audio:!1,video:!1};b.forEach(function(b){if("inbound-rtp"==(RU[b.type]||b.type)&&!WR(b)){var d=b.ssrc,f=b.packetsReceived;u(d)&&!ta(d)&&w(f)&&(d=Number(d),a.o.has(d)||a.o.set(d,0),0>=f-a.o.get(d)||(a.o.set(d,f),"audio"===b.mediaType&&(c.audio=!0),"video"===b.mediaType&&(c.video=!0)))}});return c},OU=function(a,b){null===a.l&&(a.l=b);if(null===a.g||b.getTime()>a.g.getTime())a.g=b},PU=function(a){return a.g&& a.l?(a.g.getTime()-a.l.getTime())/1E3:-1},TU=function(a,b){if(a){var c=a.ipAddress||"",d=a.portNumber||"";ta(c)||ta(d)||J(b,1,c+":"+d);J(b,3,ZU[a.candidateType||""]||0);J(b,4,$U[a.transport||""]||0)}},WU=function(a,b,c,d){if(b){var e=WR(b),f=b.remoteId;e||!u(f)||ta(f)||VU(a,d.get(f),c,d);a=Math.round(UU(b,"jitter"));J(c,5,a);c.Yc(Math.round(aV(b,["mozRtt","roundTripTime"])));a=UU(b,"packetsLost");J(c,3,a);e||(e=UU(b,"packetsReceived"),J(c,10,e),b=UU(b,"bytesReceived"),J(c,9,b))}},VU=function(a,b, c,d){if(b){var e=WR(b),f=b.remoteId;e||!u(f)||ta(f)||WU(a,d.get(f),c,d);e||(a=UU(b,"packetsSent"),J(c,8,a),b=UU(b,"bytesSent"),J(c,7,b))}},SU=function(a){J(a,3,0);J(a,4,0);J(a,2,0)},UU=function(a,b){return aV(a,[b],void 0)},aV=function(a,b,c){c=c||-1;b=Ga(b);for(var d=b.next();!d.done;d=b.next())if(d=d.value,a&&w(a[d])){c=a[d];break}return c},QU=function(a){for(var b={},c=Ga(a.keys()),d=c.next();!d.done;d=c.next())d=d.value,b[d]=a.get(d);return $a.JSON.stringify(b)},RU={inboundrtp:"inbound-rtp",outboundrtp:"outbound-rtp", candidatepair:"candidate-pair",localcandidate:"local-candidate",remotecandidate:"remote-candidate"},ZU={host:1,serverreflexive:2,peerreflexive:2,relayed:3},$U={udp:1,tcp:2}; var bV=["Unsupported platform. All stats ignored."];bV.raw=["Unsupported platform. All stats ignored."];var cV=["NetworkInfoService unable to be loaded\n ",""];cV.raw=["NetworkInfoService unable to be loaded\n ",""]; var dV=function(a,b,c){var d=this;this.J=new Eq("realtime.media.api.webrtc.StatsManager");this.K=a;this.N=b;this.L=null;c.then(function(a){return d.L=a},function(a){return d.J.g(cV,a)});this.g=new xU(this.K,this.N);this.G=new NU;this.H=this.I=0;this.l=null;this.o=new Map;this.u=new Map;this.F=!1};dV.prototype.start=function(){Qd?yU(this.g):Md||this.J.o(bV)};dV.prototype.stop=function(){if(Qd){var a=this.g;a.g&&(a.g.disconnect(),a.g=null);a.F=!0}}; var eV=function(a,b){if(!a.F)if(Qd){var c=a.g;var d=null;b=Ga(b);for(var e=b.next();!e.done;e=b.next())(e=e.value.timestamp)&&0d-a.I||(a.I=d,d={audio:!1,video:!1},Qd?d=GU(a.g,b):Md&& (d=YU(a.G,b)),c(d.audio,d.video))},iV=function(a,b,c){var d=y();200>d-a.H||(a.H=d,a=0,Qd?a=HU(b):Md&&(a=-1),c(a))},lV=function(a,b,c,d){var e=new op,f=function(a){return jV(d,a)},g=function(b){a.L&&a.L.g(b);kV(a,f,b)};Qd?EU(a.g,b,c,e,g):Md&&XU(a.G,b,e,g)},jV=function(a,b){zp(b,yp(b).filter(function(a){return 0d.length)&&(d=d[0].toString(),""!=d)){var g=a.u.get(d);g&&(g.forEach(function(a){a= mV(a);c.push(a)}),a.u["delete"](d));(d=a.o.get(d))&&d.Yd&&(g=mV(d),c.push(g),d.ge=d.Yd,d.Yd=null);0y()-this.P)||(this.fa=!0,QT(this.g).then(function(b){return JV(a,b)})))}; var JV=function(a,b){a.fa=!1;var c=null;if(Qd)c=b.result();else if(Md)c=b;else return;b=KV(a);LV(a,c);MV(a,c);Md||NV(a,c,b);b&&gV(a.O,b);eV(a.O,c);b=y();if(b-a.P>=a.La){a.P=0==a.P?b:a.P+a.La;b=!1;for(var d=Ga(a.Y),e=d.next();!e.done;e=d.next())if(e=e.value,"v"==e.ga().pa()&&!e.Jb()){b=!0;break}lV(a.O,c,!b,function(b){return a.M(new OV(b))})}},NV=function(a,b,c){fV(b,c,function(b){a.H&&(b.has(a.H)?b.get(a.H).ce=!0:b.set(a.H,{volume:0,ce:!0}));a.M(new HS(a.l,b))})},KV=function(a){if(!a.o||!$R(a.o.Aa))return null; var b=JT(a.g);if(!b)return null;var c=new Map,d=new Map;b.forEach(function(b){if("audio"==b.track.kind&&mb(b.getContributingSources)){var e=b.getContributingSources(),g=0,k=null;B(e,function(b){b.timestamp>=g&&b.source!=a.o.Aa.L&&(g=b.timestamp,k={ke:b.source,timestamp:g})});a.sa||(a.sa=y(),a.M(new PV(a.sa)));if(null!=k){if(Qd)b=parseInt(b.track.id,10);else if(mb(b.getSynchronizationSources)&&0e&&(e=a,d=b)});0!==e&&0!==d&&(b=b.get(d).sort(function(a,b){return b.timestamp-a.timestamp}).reverse().find(function(a){return a.source!==c&&a.timestamp>=e}))&&(a.H=b.source)}},IV=function(a){for(var b=new Map,c=Ga(a.N.keys()), d=c.next();!d.done;d=c.next()){var e=d.value;d=a.N.get(e);if(e=uV(a,a.o,e))d=YR(d)||0,b.set(e,{volume:d,ce:!1})}var f=new Map,g=KV(a);g?(b.forEach(function(a,b){(b=g.get(b))&&f.set(b.ke,{volume:a.volume,ce:!1})}),a.H&&(f.has(a.H)?f.get(a.H).ce=!0:f.set(a.H,{volume:0,ce:!0}))):f=b;a.M(new HS(a.l,f))},LV=function(a,b){hV(a.O,b,function(b,d){b&&tV(a,"recv first audio packet");d&&tV(a,"recv first video packet");a.M(new RV(b,d))})},MV=function(a,b){a.ia&&!a.Ba.has("bandwidth 3150")&&iV(a.O,b,function(b){SV.forEach(function(c, e){b>=e&&tV(a,c)})})},uV=function(a,b,c){if(!b||!b.Aa)return null;if($R(a.o.Aa)){if(b=C(a.o.Aa.F).find(function(a){return a.toString()==c}))return b;pV(a,"Received audio from non-virtual ssrc "+c+"when only virtual ssrcs should be used");return null}if(a=la(b.Aa).find(function(a){return a.ub()==c}))if(a=a.Ua(),!Nb(a))return a[0];return null},TV=function(a,b){b.forEach(function(){tV(a,"recv candidate ")});dU(a.G,b)},VV=function(a){UV(a);null==a.W&&1==a.U&&(vV(a,2703),a.ma=X(function(){1==a.U&&(pV(a, "Transport writable 1st timer timed out."),vV(a,2705))},2E4),a.oa=X(function(){1==a.U&&(pV(a,"Transport writable 2nd timer timed out."),vV(a,2706))},3E4),a.W=X(function(){if(1==a.U){pV(a,"Transport writable timeout failed, aborting.");var b=27;vV(a,2707);a.Xa||(vV(a,3736),b=24);a.M(new zV(b,a.l))}},55E3))},WV=function(a,b){null!=a.ma&&(gj(a.ma),a.ma=null);null!=a.oa&&(gj(a.oa),a.oa=null);null!=a.W&&(gj(a.W),a.W=null);a.U=b},EV=function(a){return jS(function c(){var d,e;return wS(c,function(c){switch(c.$a){case 1:d= a.g.g.iceConnectionState;oV(a,"ICE connection state changed to: "+d);if("disconnected"!=d){if("connected"==d||"completed"==d)WV(a,2),tV(a,"transport writable"),vV(a,2704),a.M(new XV(!0));c.te(0);break}tV(a,"transport not writable");a.M(new XV(!1));if(Md)return c["return"]();oV(a,"Initiating ICE restart");oS(c,3);var f=a.G;f.O=!0;f=aU(f);return nS(c,f,5);case 5:pS(c,0);break;case 3:throw e=qS(c),pV(a,"ICE restart failed with error="+e),a.M(new zV(19,a.l,e.toString())),e;}})}())}; nV.prototype.nb=function(a){a=a.candidate;oV(this,"Got local ICE candidate: "+JSON.stringify(a));this.M(new YV(this.l,[a]));a=a.pa();tV(this,"send candidate "+a);"STUN"!=a&&(this.Xa=!0)}; var UV=function(a){tV(a,"call connect");null==a.ia&&(a.ia=!0,hj(3E5).then(function(){a.ia=!1}))},ZV=function(a,b){return jS(function d(){var e;return wS(d,function(d){switch(d.$a){case 1:return tV(a,"recv remote description"),a.o=b,a.Da=new Map(la(b.Ra).map(function(a){return[a.Wc||a.g,a]})),oS(d,2),nS(d,bU(a.G,b),4);case 4:pS(d,0);break;case 2:throw e=qS(d),pV(a,"Negotiating with updated remote description failed with error="+e),a.M(new zV(19,a.l,e.toString())),e;}})}())},$V=function(a){a.g.g.getLocalStreams().forEach(function(b){return CV(a, b)});a.va=!0},aW=function(a){a.va=!1;a.Y.forEach(function(b){(b=NS(b,a.l))&&BV(a,b)})};nV.prototype.X=function(){var a=this;ze(this.K);this.N.forEach(function(b,c){return Tq(a.xa,c)});this.N.clear();ze(this.g);this.g=null;this.F&&(this.F.close(),this.F=null);T.prototype.X.call(this)};nV.prototype.vd=function(){tV(this,"recv view request")}; var FV=function(a,b){oV(a,"receive datachannel "+b.label+" created.");a.ba.set(b.label,b);b.onopen=function(){oV(a,"receive datachannel "+b.label+" is open.")};b.onclose=function(){oV(a,"receive datachannel "+b.label+" is closed.");a.ba["delete"](b.label)};b.onerror=function(c){pV(a,"receive datachannel "+b.label+" threw error: "+c);a.ba["delete"](b.label)};b.onmessage=function(c){c=c.data;var d=a.Da.get(b.label);d=d?d.Z():b.label;oV(a,"dataReceived: participantId="+d+(" label="+b.label+" data="+ c));null!=c&&a.M(new bW(a.l,d,b.label,c))}};nV.prototype.Fb=function(a){a.target!=this.g.g||"closed"!=this.g.g.signalingState||this.L||(vV(this,2055),this.M(new zV(4,this.l)))};var DV=function(a,b){0==b.length&&a.R.l("No ICE servers provided.");b.some(function(a){return!a.url&&!a.urls})&&(a.R.l("Malformed Ice servers: "+JSON.stringify(b)),vV(a,4264))},vV=function(a,b,c){c=void 0===c?"":c;a.Za.then(function(d){px(d,b,a.l,void 0,void 0,void 0,void 0,c)})}; ya.Object.defineProperties(nV.prototype,{J:{configurable:!0,enumerable:!0,get:function(){return this.G?this.G.I:null}}});var GV=Qd&&!An(40)?200:100,SV=new Map([[5E5,"bandwidth 500"],[1E6,"bandwidth 1000"],[15E5,"bandwidth 1500"],[25E5,"bandwidth 2500"],[315E4,"bandwidth 3150"]]),RV=function(a,b){Q.call(this,"wc");this.g=a;this.l=b};p(RV,Q);var OV=function(a){Q.call(this,"Ac");this.g=a};p(OV,Q);var cW=function(a,b){Q.call(this,"Bc");this.g=a;this.l=b};p(cW,Q); var YV=function(a,b){Q.call(this,"yc");this.sessionId=a;this.g=b};p(YV,Q);var sV=function(a,b){Q.call(this,"xc");this.sessionId=a;this.message=b};p(sV,Q);var XV=function(a){Q.call(this,"Dc");this.g=a};p(XV,Q);var bW=function(a,b,c,d){Q.call(this,"uc");this.sessionId=a;this.ib=b;this.label=c;this.payload=d};p(bW,Q);var zV=function(a,b,c){Q.call(this,"vc");this.g=a;this.sessionId=b;this.l=c};p(zV,Q);var PV=function(a){Q.call(this,"tc");this.g=a};p(PV,Q); var dW=["Unregistering audio capture=","."];dW.raw=["Unregistering audio capture=","."];var eW=["Registering audio capture=","."];eW.raw=["Registering audio capture=","."];var fW=["Registering peer controller=","."];fW.raw=["Registering peer controller=","."];var gW=function(){T.call(this);this.u=new Eq("realtime.media.api.webrtc.AudioMonitor");this.l=this.g=null;this.o=new ej(100);this.da(this.o);var a=new V(this);this.da(a);a.listen(this.o,"tick",this.I);this.F=0};p(gW,Wq); gW.prototype.X=function(){hW(this);ze(this.l);Wq.prototype.X.call(this)}; var iW=function(a,b){a.u.g(fW,b);var c=new V(a);a.da(c);c.listen(b,"nc",a.G).listen(b,"tc",a.H).listen(b,"Bc",function(){return ze(c)})},jW=function(a,b){a.u.g(eW,b);a.g&&hW(a);a.g=b;a.o.start();a.l=new V(a);a.l.listen(a.g,"P",function(){"st"===b.g&&hW(a)})},hW=function(a){a.g&&(a.u.g(dW,a.g),a.o.stop(),a.g=null,ze(a.l),a.l=null)},kW=function(a,b,c){b=void 0===b?"amsid":b;c=void 0===c?null:c;if(a.g){var d=a.g;d=d.J?YR(d.J)||0:0}else d=0;a.M(new MI(b,d,c||new Map))}; gW.prototype.I=function(){1E3y()-c.kl?("ai"==e?uW(b,4868):uW(b,4869),VS(c,!1)):f&&f.groupId!==g?VS(c,!0):!0!==c.dh&&(c.dh=!0,c.M("M")))})};h.ep=function(){vW(this);this.M("cb")}; h.hq=function(){tW(this);this.M("cb")}; var tW=function(a){if(a.l&&a.G){vW(a);a.g.kj("ai")&&a.l.ze();var b=a.g.Dg("ai");a.l.U(b);a.F.g("Setting audio in to device with id="+b);wW(a)}a.o&&a.K&&(a.g.kj("vi")&&a.o.ze(),b=a.g.Dg("vi"),a.o.U(b),a.F.g("Setting video in to device with id="+b));var c=a.g.Dg("ao");null!=c&&(a.F.g("Setting audio out to device with id="+c),Vi(Vq(a.R,c),function(b){a.F.l("Failed to set audio out to device with id="+c+" error='"+b+"'.")}))},wW=function(a){var b=a.g.Ad("ai"),c=a.g.Ad("ao");if(b&&c&&b.groupId&&c.groupId){var d= b.groupId===c.groupId?3405:3406;b="mic: "+b.displayName+" speaker: "+c.displayName;if(d!==a.I||b!==a.H)a.I=d,a.H=b,uW(a,d,b)}},vW=function(a){if(a.l&&a.G){var b=a.g.Ad("ai"),c=a.g.Ad("ao"),d=a.l.l;b=!!b&&!!c&&d.g.o&&Vp(b,c,a.g.getDevices("ai"),a.g.getDevices("ao"));a=a.l;a.W!==b&&((a.W=b)?(b=a.ia,c=new $G,c.g=b.N,c.F=b.H,c.J=b.L,c.l=b.g,c.o=b.F,c.L=b.J,c.u=b.G,c.K=b.I,c.N=b.K,c.H=b.o,c.I=b.u,b=c.hh(b.l),b.l=!1,b.g=!1,b.o=!1,b.F=!1,b.L=!1,b.u=!1,b=b.S()):b=a.ia,YS(a,MS(a.l.ye(),b).S()))}}; sW.prototype.nf=function(a){var b=this.g.Ad(a),c=this.g.getDevices(a).map(function(a){return Tm(new Om(a),a==b).S()});Md&&"ao"==a&&0==c.length&&(c=[xW]);return new bH(c,[])};sW.prototype.pf=function(a,b){b!=xW.id&&(this.g.om(a,b),this.g.ti(a,b))}; var uW=function(a,b,c){a.P.then(function(a){px(a,b,void 0,void 0,void 0,void 0,void 0,c)})},xW=Tm(Rm(Sm(Qm(Pm("__synthetic_default_speaker_device__"),"\u30b7\u30b9\u30c6\u30e0\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30b9\u30d4\u30fc\u30ab\u30fc\u7aef\u672b"),"\u30b7\u30b9\u30c6\u30e0\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30b9\u30d4\u30fc\u30ab\u30fc\u7aef\u672b"),"__synthetic_default_speaker_device__"),!0).S(); var yW=function(a,b){T.call(this);this.u=new xR("realtime.media.api.webrtc.DeviceStatus");this.H=b;this.F=new Ol;b=ny(this.F);b||(this.u.g("Unable to load persistent device state from local storage."),b=new my);this.l=b;b=new Qx(a,"vi",this.l.cd);var c=new Qx(a,"ai",this.l.gd);a=new Qx(a,"ao",this.l.fe);this.g=new Map([["vi",b],["ai",c],["ao",a]]);this.G=new Map([["vi",!1],["ai",!1],["ao",!1]]);this.o=new V(this);this.da(this.o);this.o.listen(md().mediaDevices,"devicechange",this.wf);this.wf()}; p(yW,T);yW.prototype.getDevices=function(a){return this.g.get(a).getDevices()};var zW=function(a,b,c){var d=a.g.get(b);fy(d,c);a.G.set(b,Vx(d))};h=yW.prototype;h.Ad=function(a){return Xx(this.g.get(a))};h.om=function(a,b){a=this.g.get(a);var c=Xx(a);fS(a,b);Nm(c,Xx(a))||this.M("fb")};h.Mh=function(a){return this.g.get(a).H||Um};h.ti=function(a,b){a=this.g.get(a);var c=Xx(a),d=a.H;eS(a,b);c&&fS(a,c.id);this.F.set("mlsds2",W(oy(this.l)));ey(a);Nm(c,Xx(a))||this.M("fb");Nm(d,a.H)||this.M("eb")}; h.Dg=function(a){return(a=this.Ad(a))&&a.id};h.wf=function(){var a=this;return QS().then(function(b){b=jc(b,function(a){return a.kind});var c=xS(b,function(a){return a.map(function(a){return Rm(Qm(Pm(a.deviceId),a.label),a.groupId).S()})});b=c.audioinput||[];AW(b);var d=c.audiooutput||[];AW(d);c=a.H(c.videoinput||[]);BW(a,b,d,c)},function(b){a.u.l("Error calling enumerateDevices: "+b);throw b;})};h.kj=function(a){return this.G.get(a)}; var BW=function(a,b,c,d){var e=a.g.get("ai"),f=a.g.get("ao"),g=a.g.get("vi"),k=Xx(e),n=Xx(g),q=Xx(f),t=!ic(e.getDevices(),b,Nm)||!ic(f.getDevices(),c,Nm)||!ic(g.getDevices(),d,Nm);zW(a,"ai",b);zW(a,"ao",c);zW(a,"vi",d);t&&a.M("db");Nm(k,Xx(e))&&Nm(n,Xx(g))&&Nm(q,Xx(f))||a.M("fb")},AW=function(a){var b=["Communications","Default"];Qd&&!An(64)&&b.forEach(function(b){var c=a.findIndex(function(a){return a.id.toLowerCase()==b.toLowerCase()});if(-1!==c&&a[c].displayName){var e=a[c],f=e.displayName,g=a.filter(function(a){return a.groupId== e.groupId&&a.id!=e.id});1==g.length&&a.splice(c,1,Qm(new Om(e),f+("\uff08"+(g[0].displayName+"\uff09"))).S())}})}; var CW=function(a){this.g=new xR("realtime.media.api.webrtc.LoggingManager");this.R=hl(a,hw).then();this.H=on.hb();this.G=hl(a,mw);this.L=null;this.o=new Set;this.I=new Set;this.J=this.u=!1;this.K=this.F=this.l=null;this.P=this.O=!1};CW.prototype.Va=function(a){var b=this;this.g.g("Logging manager initialized with userId="+a);this.L=a;this.H.u="11.0.0.0";a&&(a=un(this.H,a),null!=a&&a.ca(function(a){0