(function(){/* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ var h,aa=function(a){var b=0;return function(){return b>>0)+"_",d=0,e=function(f){if(this instanceof e)throw new TypeError("Symbol is not a constructor");return new b(c+(f||"")+"_"+d++,f)};return e}); da("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");for(var b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),c=0;cb||1342177279>>=1)c+=c;return d}}); var ra=function(a,b){a instanceof String&&(a+="");var c=0,d=!1,e={next:function(){if(!d&&c=e}});da("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=qa(this,b,"startsWith");b+="";var e=d.length,f=b.length;c=Math.max(0,Math.min(c|0,d.length));for(var g=0;g=f}}); da("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)ha(b,d)&&c.push([d,b[d]]);return c}});da("Object.is",function(a){return a?a:function(b,c){return b===c?0!==b||1/b===1/c:b!==b&&c!==c}});da("Array.prototype.includes",function(a){return a?a:function(b,c){var d=this;d instanceof String&&(d=String(d));var e=d.length;c=c||0;for(0>c&&(c=Math.max(c+e,0));c>>0),xa=0,za=function(a,b,c){return a.call.apply(a.bind, arguments)},Aa=function(a,b,c){if(!a)throw Error();if(2c&&(c=Math.max(0,a.length+c));if("string"===typeof a)return"string"!==typeof b|| 1!=b.length?-1:a.lastIndexOf(b,c);for(;0<=c;c--)if(c in a&&a[c]===b)return c;return-1},Ra=Array.prototype.forEach?function(a,b){z(null!=a.length);Array.prototype.forEach.call(a,b,void 0)}:function(a,b){for(var c=a.length,d="string"===typeof a?a.split(""):a,e=0;e=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)} function cb(a){var b=[];if(0>a-0)return[];for(var c=0;c>>0),$b=function(a){z(a,"Listener can not be null.");if("function"===typeof a)return a;z(a.handleEvent,"An object listener must have handleEvent method.");a[hc]||(a[hc]=function(b){return a.handleEvent(b)}); return a[hc]};var A=function(){y.call(this);this.Ja=new Sb(this);this.Mk=this;this.Qf=null};x(A,y);A.prototype[xb]=!0;h=A.prototype;h.addEventListener=function(a,b,c,d){Zb(this,a,b,c,d)};h.removeEventListener=function(a,b,c,d){fc(this,a,b,c,d)}; h.dispatchEvent=function(a){ic(this);var b=this.Qf;if(b){var c=[];for(var d=1;b;b=b.Qf)c.push(b),z(1E3>++d,"infinite loop")}b=this.Mk;d=a.type||a;if("string"===typeof a)a=new Ea(a,b);else if(a instanceof Ea)a.target=a.target||b;else{var e=a;a=new Ea(d,b);Rb(a,e)}e=!0;if(c)for(var f=c.length-1;!a.fd&&0<=f;f--){var g=a.currentTarget=c[f];e=jc(g,d,!0,a)&&e}a.fd||(g=a.currentTarget=b,e=jc(g,d,!0,a)&&e,a.fd||(e=jc(g,d,!1,a)&&e));if(c)for(f=0;!a.fd&&f=a.length)return pc;if(b in a)return{value:a[b++],done:!1};b++}};return c}throw Error("Not implemented");},rc=function(a,b){if(ua(a))Ra(a,b);else for(a=qc(a);;){var c=a.next();if(c.done)break;b.call(void 0,c.value,void 0,a)}};var vc=function(a){if(a instanceof sc||a instanceof tc||a instanceof uc)return a;if("function"==typeof a.next)return new sc(function(){return a});if("function"==typeof a[Symbol.iterator])return new sc(function(){return a[Symbol.iterator]()});if("function"==typeof a.Ea)return new sc(function(){return a.Ea()});throw Error("Not an iterator or iterable.");},sc=function(a){this.rf=a};sc.prototype.Ea=function(){return new tc(this.rf())};sc.prototype[Symbol.iterator]=function(){return new uc(this.rf())}; sc.prototype.wg=function(){return new uc(this.rf())};var tc=function(a){this.Wc=a};p(tc,oc);tc.prototype.next=function(){return this.Wc.next()};tc.prototype[Symbol.iterator]=function(){return new uc(this.Wc)};tc.prototype.wg=function(){return new uc(this.Wc)};var uc=function(a){sc.call(this,function(){return a});this.Wc=a};p(uc,sc);uc.prototype.next=function(){return this.Wc.next()};var wc=function(a,b){this.A={};this.K=[];this.pd=this.size=0;var c=arguments.length;if(12*this.size&&xc(this),!0):!1};var xc=function(a){if(a.size!=a.K.length){for(var b=0,c=0;b=d.K.length)return pc;var f=d.K[b++];return{value:a?f:d.A[f],done:!1}};return e};h.ob=function(a){this.size=a};var yc=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var Ac=function(a){if(a.R&&"function"==typeof a.R)a=a.R();else if(ua(a)||"string"===typeof a)a=a.length;else{var b=0,c;for(c in a)b++;a=b}return a},Bc=function(a){if(a.aa&&"function"==typeof a.aa)return a.aa();if("undefined"!==typeof Map&&a instanceof Map||"undefined"!==typeof Set&&a instanceof Set)return Array.from(a.values());if("string"===typeof a)return a.split("");if(ua(a)){for(var b=[],c=a.length,d=0;dc)return!1;!(b instanceof Fc)&&5e&&(e+=d);return[a.kl,c,e,b.y].join("/")};Kc.prototype.Rc=function(){return this.Cb.length};var Mc=function(a){Ea.call(this,"tileevent");this.count=a};x(Mc,Ea);var Nc=function(){},Oc=new Nc;function Pc(a){return Object.assign({},{M:{},Ll:{},keys:[],Na:{},o:{},H:{},sh:!1},a)}var C=function(){this.h={}},E=function(a,b){return a.h.hasOwnProperty(b)?a.h[b]:null},F=function(a,b){return null!=a.h[b]};function Qc(a,b){return E(b,a)}function Rc(a,b,c){b[a]=c}function Sc(){return{}}function Tc(a,b){var c=new a;return null==b?c:Uc(b,Vc,Wc,Xc,a)}function Vc(a,b){return b[a]}function Wc(a,b,c){b.h[a]=c} function Xc(a){if(null==a)throw Error("Cannot deserialize, target constructor was null.");return new a} function Uc(a,b,c,d,e){e=d(e);for(var f=Yc(a,e),g=f.M||{},l=f.o||{},m=f.Na||{},q={},v=n(f.keys||[]),B=v.next();!B.done;q={Gc:q.Gc},B=v.next()){B=B.value;var D=b(B,a);if(null!=D){var Q=void 0;if(g.hasOwnProperty(B)){if(f.sh&&0===D.length)continue;Q=Zc(D,b,c,d,!0,!0,g[B])}else if(l.hasOwnProperty(B))Q=Zc(D,b,c,d,!1,!0,l[B]);else if(m.hasOwnProperty(B))q.Gc=m[B],Q=q.Gc.ra?D.map(function(Y){return function(T){return $c(T,Y.Gc,b,c,d)}}(q)):$c(D,q.Gc,b,c,d);else if(Array.isArray(D)){if(f.sh&&0===D.length)continue; Q=Zc(D,b,c,d,!0,!1)}else Q=D instanceof Nc?null:D;c(B,e,Q)}}return e}function $c(a,b,c,d,e){for(var f={},g=n(Object.keys(a)),l=g.next();!l.done;l=g.next()){l=l.value;var m=a[l];null!=m&&(f[l]=Zc(m,c,d,e,b.ta,b.sa,b.la))}return f} function Zc(a,b,c,d,e,f,g){if(f&&null==g)throw Error("Cannot deserialize a reference object without a constructor.");return null==a?a:e&&f?a.map(function(l){return Uc(l,b,c,d,g)}):e&&!f?a.map(function(l){return l}):!e&&f?Uc(a,b,c,d,g):a instanceof Nc?null:"object"===typeof a?JSON.parse(JSON.stringify(a)):a}function Yc(a,b){if(b instanceof C)a=Pc(b.i());else if(a instanceof C)a=Pc(a.i());else throw Error("Cannot find ClassMetadata.");return a};var ad;var dd=function(a,b){this.ng=a===bd&&b||"";this.zk=cd};dd.prototype.vc=!0;dd.prototype.uc=function(){return this.ng};dd.prototype.toString=function(){return"Const{"+this.ng+"}"};var ed=function(a){if(a instanceof dd&&a.constructor===dd&&a.zk===cd)return a.ng;Ka("expected object of type Const, got '"+a+"'");return"type_error:Const"},cd={},bd={};var gd=function(a,b){if(b!==fd)throw Error("TrustedResourceUrl is not meant to be built directly");this.Sf=a};gd.prototype.toString=function(){return this.Sf+""};gd.prototype.vc=!0;gd.prototype.uc=function(){return this.Sf.toString()}; var hd=function(a){if(a instanceof gd&&a.constructor===gd)return a.Sf;Ka("expected object of type TrustedResourceUrl, got '"+a+"' of type "+ta(a));return"type_error:TrustedResourceUrl"},md=function(a){var b=ed(id);if(!jd.test(b))throw Error("Invalid TrustedResourceUrl format: "+b);var c=b.replace(kd,function(d,e){if(!Object.prototype.hasOwnProperty.call(a,e))throw Error('Found marker, "'+e+'", in format string, "'+b+'", but no valid label mapping found in args: '+JSON.stringify(a));d=a[e];return d instanceof dd?ed(d):encodeURIComponent(String(d))});return ld(c)},kd=/%{(\w+)}/g,jd=RegExp("^((https:)?//[0-9a-z.:[\\]-]+/|/[^/\\\\]|[^:/\\\\%]+/|[^:/\\\\%]*[?#]|about:blank#)","i"),fd={},ld=function(a){if(void 0===ad){var b=null;var c=r.trustedTypes;if(c&&c.createPolicy)try{b=c.createPolicy("goog#html",{createHTML:Ca,createScript:Ca,createScriptURL:Ca})}catch(d){r.console&&r.console.error(d.message)}ad=b}a=(b=ad)?b.createScriptURL(a):a;return new gd(a,fd)};var od=function(a,b){if(b!==nd)throw Error("SafeUrl is not meant to be built directly");this.Rf=a};od.prototype.toString=function(){return this.Rf.toString()};od.prototype.vc=!0;od.prototype.uc=function(){return this.Rf.toString()}; var pd=function(a){if(a instanceof od&&a.constructor===od)return a.Rf;Ka("expected object of type SafeUrl, got '"+a+"' of type "+ta(a));return"type_error:SafeUrl"},qd=RegExp('^(?:audio/(?:3gpp2|3gpp|aac|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|x-matroska|x-wav|wav|webm)|font/\\w+|image/(?:bmp|gif|jpeg|jpg|png|tiff|webp|x-icon|heic|heif)|video/(?:mpeg|mp4|ogg|webm|quicktime|x-matroska))(?:;\\w+=(?:\\w+|"[\\w;,= ]+"))*$',"i"),rd=function(a){if(qd.test(a.type)){var b=void 0!==r.URL&&void 0!==r.URL.createObjectURL? r.URL:void 0!==r.createObjectURL?r:null;if(null==b)throw Error("This browser doesn't seem to support blob URLs");a=b.createObjectURL(a)}else a="about:invalid#zClosurez";return new od(a,nd)},nd={};new od("about:invalid#zClosurez",nd);new od("about:blank",nd);var sd={},td=function(){if(sd!==sd)throw Error("SafeStyle is not meant to be built directly");this.ni="";this.vc=!0};td.prototype.uc=function(){return this.ni};td.prototype.toString=function(){return this.ni.toString()};new td;var ud={},vd=function(){if(ud!==ud)throw Error("SafeStyleSheet is not meant to be built directly");this.mi="";this.vc=!0};vd.prototype.toString=function(){return this.mi.toString()};vd.prototype.uc=function(){return this.mi};new vd;var wd={},xd=function(){var a=r.trustedTypes&&r.trustedTypes.emptyHTML||"";if(wd!==wd)throw Error("SafeHtml is not meant to be built directly");this.li=a;this.vc=!0};xd.prototype.uc=function(){return this.li.toString()};xd.prototype.toString=function(){return this.li.toString()};new xd;var zd=function(a,b){if(!t(a)||!t(a)||!t(a)||1!==a.nodeType||a.namespaceURI&&"http://www.w3.org/1999/xhtml"!==a.namespaceURI||a.tagName.toUpperCase()!=="SCRIPT".toString()){var c="SCRIPT".toString()+"; got: ";if(t(a))try{var d=a.constructor.displayName||a.constructor.name||Object.prototype.toString.call(a)}catch(e){d=""}else d=void 0===a?"undefined":null===a?"null":typeof a;Ka("Argument is not an HTML Element with tag name "+(c+d))}a:{c=(a.ownerDocument&&a.ownerDocument.defaultView|| r).document;if(c.querySelector&&(c=c.querySelector("script[nonce]"))&&(c=c.nonce||c.getAttribute("nonce"))&&yd.test(c))break a;c=""}c&&a.setAttribute("nonce",c);a.src=hd(b)},yd=/^[\w+/_-]+[=]{0,2}$/;var Ad=function(a,b){for(var c=a.split("%s"),d="",e=Array.prototype.slice.call(arguments,1);e.length&&1b)throw Error("Bad port number "+b);a.Ac=b}else a.Ac=null};Ed.prototype.getPath=function(){return this.bc};Ed.prototype.setPath=function(a,b){Gd(this);this.bc=b?Jd(a,!0):a;return this};var Id=function(a,b,c){Gd(a);b instanceof Kd?(a.Ca=b,a.Ca.fg(a.Aa)):(c||(b=Ld(b,Qd)),a.Ca=new Kd(b,a.Aa))};Ed.prototype.getQuery=function(){return this.Ca.toString()}; Ed.prototype.removeParameter=function(a){Gd(this);this.Ca.remove(a);return this};var Gd=function(a){if(a.el)throw Error("Tried to modify a read-only Uri");};Ed.prototype.fg=function(a){this.Aa=a;this.Ca&&this.Ca.fg(a)}; var Rd=function(a){return a instanceof Ed?a.clone():new Ed(a)},Jd=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},Ld=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,Sd),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},Sd=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},Md=/[#\/\?@]/g,Od=/[#\?:]/g,Nd=/[#\?]/g,Qd=/[#\?@]/g,Pd=/#/g,Kd=function(a,b){this.Y=this.N=null;this.va=a||null;this.Aa=!!b},Td= function(a){a.N||(a.N=new Map,a.Y=0,a.va&&Dd(a.va,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};h=Kd.prototype;h.R=function(){Td(this);return this.Y};h.add=function(a,b){Td(this);this.va=null;a=Ud(this,a);var c=this.N.get(a);c||this.N.set(a,c=[]);c.push(b);this.Y=La(this.Y)+1;return this};h.remove=function(a){Td(this);a=Ud(this,a);return this.N.has(a)?(this.va=null,this.Y=La(this.Y)-this.N.get(a).length,this.N.delete(a)):!1};h.clear=function(){this.N=this.va=null;this.Y=0}; h.isEmpty=function(){Td(this);return 0==this.Y};h.Sb=function(a){Td(this);a=Ud(this,a);return this.N.has(a)};h.Lc=function(a){var b=this.aa();return Xa(b,a)};h.forEach=function(a,b){Td(this);this.N.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};h.vb=function(){Td(this);for(var a=Array.from(this.N.values()),b=Array.from(this.N.keys()),c=[],d=0;d