
h)&&l.data==g)this.port1.onmessage()},this);f.addEventListener("message",
e,!1);this.port1={};this.port2={postMessage:function(){f.postMessage(g,h)
}}});if("undefined"!==typeof a&&-1==y.indexOf("Trident")&&-
1==y.indexOf("MSIE")){var b=new
a,c={},d=c;b.port1.onmessage=function(){if(void 0!==c.next){c=c.next;var
e=c.M;c.M=null;e()}};return
function(e){d.next={M:e};d=d.next;b.port2.postMessage(0)}}return"undefine
d"!==typeof document&&"onreadystatechange"in Ma("SCRIPT")?function(e){var
f=Ma("SCRIPT");f.onreadystatechange=
function(){f.onreadystatechange=null;f.parentNode.removeChild(f);f=null;e
();e=null};document.documentElement.appendChild(f)}:function(e){k.setTime
out(e,0)}};function Kb(){this.h=this.g=null}var Mb=new
Gb(function(){return new
Lb},function(a){a.reset()},100);Kb.prototype.add=function(a,b){var
c=Mb.get();c.set(a,b);this.h?this.h.next=c:this.g=c;this.h=c};function
Nb(){var
a=Ob,b=null;a.g&&(b=a.g,a.g=a.g.next,a.g||(a.h=null),b.next=null);return
b}function
Lb(){this.next=this.h=this.g=null}Lb.prototype.set=function(a,b){this.g=a
;this.h=b;this.next=null};Lb.prototype.reset=function(){this.next=this.h=
this.g=null};function Pb(a,b){Qb||Rb();Sb||(Qb(),Sb=!0);Ob.add(a,b)}var
Qb;function Rb(){if(k.Promise&&k.Promise.resolve){var
a=k.Promise.resolve(void 0);Qb=function(){a.then(Tb)}}else
Qb=function(){var
b=Tb,c;!(c=!q(k.setImmediate))&&(c=k.Window&&k.Window.prototype)&&(c=-
1==y.indexOf("Edge")&&k.Window.prototype.setImmediate==k.setImmediate);c?
(Ib||(Ib=Jb()),Ib(b)):k.setImmediate(b)}}var Sb=!1,Ob=new Kb;function
Tb(){for(var
a;a=Nb();){try{a.g.call(a.h)}catch(b){Hb(b)}Fb(Mb,a)}Sb=!1};function
T(a){this.g=0;this.u=void
0;this.l=this.h=this.j=null;this.m=this.o=!1;if(a!=ba)try{var
b=this;a.call(void
0,function(c){U(b,2,c)},function(c){U(b,3,c)})}catch(c){U(this,3,c)}}func
tion
Ub(){this.next=this.context=this.h=this.j=this.g=null;this.l=!1}Ub.protot
ype.reset=function(){this.context=this.h=this.j=this.g=null;this.l=!1};va
r Vb=new Gb(function(){return new
Ub},function(a){a.reset()},100);function Wb(a,b,c){var
d=Vb.get();d.j=a;d.h=b;d.context=c;return d}
function Xb(){var a,b=new T(function(c){a=c});return new
Yb(b,a)}T.prototype.then=function(a,b,c){return
Zb(this,q(a)?a:null,q(b)?b:null,c)};T.prototype.$goog_Thenable=!0;T.proto
type.cancel=function(a){if(0==this.g){var b=new
V(a);Pb(function(){$b(this,b)},this)}};
function $b(a,b){if(0==a.g)if(a.j){var c=a.j;if(c.h){for(var
d=0,e=null,f=null,g=c.h;g&&(g.l||(d++,g.g==a&&(e=g),!(e&&1<d)));g=g.next)
e||(f=g);e&&(0==c.g&&1==d?$b(c,b):(f?(d=f,d.next==c.l&&(c.l=d),d.next=d.n
ext.next):ac(c),bc(c,e,3,b)))}a.j=null}else U(a,3,b)}function
cc(a,b){a.h||2!=a.g&&3!=a.g||dc(a);a.l?a.l.next=b:a.h=b;a.l=b}
function Zb(a,b,c,d){var e=Wb(null,null,null);e.g=new
T(function(f,g){e.j=b?function(h){try{var
l=b.call(d,h);f(l)}catch(m){g(m)}}:f;e.h=c?function(h){try{var
l=c.call(d,h);void 0===l&&h instanceof
V?g(h):f(l)}catch(m){g(m)}}:g});e.g.j=a;cc(a,e);return
e.g}T.prototype.w=function(a){this.g=0;U(this,2,a)};T.prototype.A=functio
n(a){this.g=0;U(this,3,a)};
function U(a,b,c){if(0==a.g){a===c&&(b=3,c=new TypeError("Promise cannot
resolve to itself"));a.g=1;a:{var d=c,e=a.w,f=a.A;if(d instanceof
T){cc(d,Wb(e||ba,f||null,a));var g=!0}else{if(d)try{var
h=!!d.$goog_Thenable}catch(m){h=!1}else
h=!1;if(h)d.then(e,f,a),g=!0;else{if(r(d))try{var