(function(){/* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ var k=k||{},l=this||self,m=function(){},n=function(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&& !a.propertyIsEnumerable("call"))return"function"}else return"null";else if("function"==b&&"undefined"==typeof a.call)return"object";return b},p=function(a){var b=n(a);return"array"==b||"object"==b&&"number"==typeof a.length},q=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b},aa=function(a,b,c){return a.call.apply(a.bind,arguments)},ba=function(a,b,c){if(!a)throw Error();if(2b?null:"string"===typeof a?a.charAt(b):a[b]};var x=function(){this.R=this.R};x.prototype.R=!1;var y=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.i=!1};y.prototype.stopPropagation=function(){this.i=!0};y.prototype.preventDefault=function(){this.defaultPrevented=!0};var ja=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]},z=function(a,b){return ab?1:0};var A;a:{var ka=l.navigator;if(ka){var la=ka.userAgent;if(la){A=la;break a}}A=""};var ma=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1},na="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),pa=function(a,b){for(var c,d,e=1;eparseFloat(xa)){wa=String(za);break a}}wa=xa} var Aa=wa,qa={},Ba=function(a){return ra(a,function(){for(var b=0,c=ja(String(Aa)).split("."),d=ja(String(a)).split("."),e=Math.max(c.length,d.length),f=0;0==b&&f=a.keyCode)a.keyCode=-1}catch(b){}};var H="closure_listenable_"+(1E6*Math.random()|0),La=0;var Ma=function(a,b,c,d,e){this.listener=a;this.J=null;this.src=b;this.type=c;this.capture=!!d;this.F=e;this.key=++La;this.o=this.D=!1},Na=function(a){a.o=!0;a.listener=null;a.J=null;a.src=null;a.F=null};var I=function(a){this.src=a;this.c={};this.L=0};I.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.c[f];a||(a=this.c[f]=[],this.L++);var g=Oa(a,b,d,e);-1d.keyCode||void 0!=d.returnValue)){a:{var e=!1;if(0==d.keyCode)try{d.keyCode=-1;break a}catch(g){e=!0}if(e||void 0==d.returnValue)d.returnValue=!0}d=[];for(e=b.currentTarget;e;e=e.parentNode)d.push(e);a=a.type;for(e=d.length-1;!b.i&&0<=e;e--){b.currentTarget=d[e];var f=db(d[e],a,!0,b);c=c&&f}for(e=0;!b.i&&e>>0),Va=function(a){w(a,"Listener can not be null.");if("function"==n(a))return a;w(a.handleEvent,"An object listener must have handleEvent method.");a[eb]||(a[eb]=function(b){return a.handleEvent(b)});return a[eb]};var K=function(){x.call(this);this.h=new I(this);this.la=this;this.ca=null};t(K,x);K.prototype[H]=!0;K.prototype.addEventListener=function(a,b,c,d){Ua(this,a,b,c,d)};K.prototype.removeEventListener=function(a,b,c,d){ab(this,a,b,c,d)}; K.prototype.dispatchEvent=function(a){Wa(this);var b=this.ca;if(b){var c=[];for(var d=1;b;b=b.ca)c.push(b),w(1E3>++d,"infinite loop")}b=this.la;d=a.type||a;if("string"===typeof a)a=new y(a,b);else if(a instanceof y)a.target=a.target||b;else{var e=a;a=new y(d,b);pa(a,e)}e=!0;if(c)for(var f=c.length-1;!a.i&&0<=f;f--){var g=a.currentTarget=c[f];e=L(g,d,!0,a)&&e}a.i||(g=a.currentTarget=b,e=L(g,d,!0,a)&&e,a.i||(e=L(g,d,!1,a)&&e));if(c)for(f=0;!a.i&&f=kb(this).value)for("function"==n(b)&&(b=b()),a=new M(a,String(b),this.ma),c&&(a.X=c),c=this;c;){var d=c,e=a;if(d.Y)for(var f=0;b=d.Y[f];f++)b(e);c=c.getParent()}};N.prototype.info=function(a,b){this.log(hb,a,b)};var lb={},P=null,mb=function(a){P||(P=new N(""),lb[""]=P,P.ga(ib));var b;if(!(b=lb[a])){b=new N(a);var c=a.lastIndexOf("."),d=a.substr(c+1);c=mb(a.substr(0,c));c.P||(c.P={});c.P[d]=b;b.I=c;lb[a]=b}return b};var Q=function(a,b){a&&a.log(jb,b,void 0)};var nb=function(){};nb.prototype.W=null;var pb=function(a){var b;(b=a.W)||(b={},ob(a)&&(b[0]=!0,b[1]=!0),b=a.W=b);return b};var qb,rb=function(){};t(rb,nb);var sb=function(a){return(a=ob(a))?new ActiveXObject(a):new XMLHttpRequest},ob=function(a){if(!a.Z&&"undefined"==typeof XMLHttpRequest&&"undefined"!=typeof ActiveXObject){for(var b=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],c=0;c2*this.l&&S(this),!0):!1};var S=function(a){if(a.l!=a.b.length){for(var b=0,c=0;b=d.b.length)throw tb;var f=d.b[b++];return a?f:d.g[f]};return e};var vb=function(a){if(a.u&&"function"==typeof a.u)return a.u();if("string"===typeof a)return a.split("");if(p(a)){for(var b=[],c=a.length,d=0;d