(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(g){if(this instanceof e)throw new TypeError("Symbol is not a constructor");return new b(c+(g||"")+"_"+d++,g)};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 pa=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=oa(this,b,"startsWith");b+="";var e=d.length,g=b.length;c=Math.max(0,Math.min(c|0,d.length));for(var f=0;f=g}}); da("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)fa(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),va=0,xa=function(a,b,c){return a.call.apply(a.bind, arguments)},ya=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},Oa=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 ab(a){var b=[];if(0>a-0)return[];for(var c=0;cb?1:0};function gb(){var a=r.navigator;return a&&(a=a.userAgent)?a:""}function hb(a){return-1!=gb().indexOf(a)};var ib=function(a){ib[" "](a);return a};ib[" "]=function(){};var kb=function(a,b){var c=jb;return Object.prototype.hasOwnProperty.call(c,a)?c[a]:c[a]=b(a)};var lb=hb("Opera"),mb=hb("Trident")||hb("MSIE"),nb=hb("Edge"),ob=hb("Gecko")&&!(-1!=gb().toLowerCase().indexOf("webkit")&&!hb("Edge"))&&!(hb("Trident")||hb("MSIE"))&&!hb("Edge"),pb=-1!=gb().toLowerCase().indexOf("webkit")&&!hb("Edge"),qb; a:{var rb="",sb=function(){var a=gb();if(ob)return/rv:([^\);]+)(\)|;)/.exec(a);if(nb)return/Edge\/([\d\.]+)/.exec(a);if(mb)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(pb)return/WebKit\/(\S+)/.exec(a);if(lb)return/(?:Version)[ \/]?(\S+)/.exec(a)}();sb&&(rb=sb?sb[1]:"");if(mb){var tb,ub=r.document;tb=ub?ub.documentMode:void 0;if(null!=tb&&tb>parseFloat(rb)){qb=String(tb);break a}}qb=rb} var vb=qb,jb={},wb=function(a){return kb(a,function(){for(var b=0,c=eb(String(vb)).split("."),d=eb(String(a)).split("."),e=Math.max(c.length,d.length),g=0;0==b&&g>>0),bc=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[jc]||(a[jc]=function(b){return a.handleEvent(b)}); return a[jc]};var A=function(){y.call(this);this.Na=new Ub(this);this.wk=this;this.Of=null};x(A,y);A.prototype[zb]=!0;h=A.prototype;h.addEventListener=function(a,b,c,d){ac(this,a,b,c,d)};h.removeEventListener=function(a,b,c,d){hc(this,a,b,c,d)}; h.dispatchEvent=function(a){kc(this);var b=this.Of;if(b){var c=[];for(var d=1;b;b=b.Of)c.push(b),z(1E3>++d,"infinite loop")}b=this.wk;d=a.type||a;if("string"===typeof a)a=new Ca(a,b);else if(a instanceof Ca)a.target=a.target||b;else{var e=a;a=new Ca(d,b);Tb(a,e)}e=!0;if(c)for(var g=c.length-1;!a.fd&&0<=g;g--){var f=a.currentTarget=c[g];e=lc(f,d,!0,a)&&e}a.fd||(f=a.currentTarget=b,e=lc(f,d,!0,a)&&e,a.fd||(e=lc(f,d,!1,a)&&e));if(c)for(g=0;!a.fd&&g=a.length)return rc;if(b in a)return{value:a[b++],done:!1};b++}};return c}throw Error("Not implemented");},tc=function(a,b){if(sa(a))Oa(a,b);else for(a=sc(a);;){var c=a.next();if(c.done)break;b.call(void 0,c.value,void 0,a)}};var xc=function(a){if(a instanceof uc||a instanceof vc||a instanceof wc)return a;if("function"==typeof a.next)return new uc(function(){return a});if("function"==typeof a[Symbol.iterator])return new uc(function(){return a[Symbol.iterator]()});if("function"==typeof a.Ia)return new uc(function(){return a.Ia()});throw Error("Not an iterator or iterable.");},uc=function(a){this.mf=a};uc.prototype.Ia=function(){return new vc(this.mf())};uc.prototype[Symbol.iterator]=function(){return new wc(this.mf())}; uc.prototype.tg=function(){return new wc(this.mf())};var vc=function(a){this.Xc=a};q(vc,qc);vc.prototype.next=function(){return this.Xc.next()};vc.prototype[Symbol.iterator]=function(){return new wc(this.Xc)};vc.prototype.tg=function(){return new wc(this.Xc)};var wc=function(a){uc.call(this,function(){return a});this.Xc=a};q(wc,uc);wc.prototype.next=function(){return this.Xc.next()};var yc=function(a,b){this.B={};this.K=[];this.pd=this.size=0;var c=arguments.length;if(12*this.size&&zc(this),!0):!1};var zc=function(a){if(a.size!=a.K.length){for(var b=0,c=0;b=d.K.length)return rc;var g=d.K[b++];return{value:a?g:d.B[g],done:!1}};return e};h.pb=function(a){this.size=a};var Ac=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var Cc=function(a){if(a.R&&"function"==typeof a.R)a=a.R();else if(sa(a)||"string"===typeof a)a=a.length;else{var b=0,c;for(c in a)b++;a=b}return a},Dc=function(a){if(a.ba&&"function"==typeof a.ba)return a.ba();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(sa(a)){for(var b=[],c=a.length,d=0;dc)return!1;!(b instanceof Hc)&&5e&&(e+=d);return[a.Uk,c,e,b.y].join("/")};Mc.prototype.Sc=function(){return this.Db.length};var Oc=function(a){Ca.call(this,"tileevent");this.count=a};x(Oc,Ca);var Pc=function(){},Qc=new Pc;function Rc(a){return Object.assign({},{M:{},ul:{},keys:[],xa:{},s:{},H:{},oh:!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 Sc(a,b){return E(b,a)}function Tc(a,b,c){b[a]=c}function Uc(){return{}}function Vc(a,b){var c=new a;return null==b?c:Wc(b,Xc,Yc,Zc,a)}function Xc(a,b){return b[a]}function Yc(a,b,c){b.h[a]=c} function Zc(a){if(null==a)throw Error("Cannot deserialize, target constructor was null.");return new a} function Wc(a,b,c,d,e){e=d(e);for(var g=$c(a,e),f=g.M||{},l=g.s||{},m=g.xa||{},p={},v=n(g.keys||[]),B=v.next();!B.done;p={Fc:p.Fc},B=v.next()){B=B.value;var D=b(B,a);if(null!=D){var R=void 0;if(f.hasOwnProperty(B)){if(g.oh&&0===D.length)continue;R=ad(D,b,c,d,!0,!0,f[B])}else if(l.hasOwnProperty(B))R=ad(D,b,c,d,!1,!0,l[B]);else if(m.hasOwnProperty(B))p.Fc=m[B],R=p.Fc.ca?D.map(function(Y){return function(U){return bd(U,Y.Fc,b,c,d)}}(p)):bd(D,p.Fc,b,c,d);else if(Array.isArray(D)){if(g.oh&&0===D.length)continue; R=ad(D,b,c,d,!0,!1)}else R=D instanceof Pc?null:D;c(B,e,R)}}return e}function bd(a,b,c,d,e){for(var g={},f=n(Object.keys(a)),l=f.next();!l.done;l=f.next()){l=l.value;var m=a[l];null!=m&&(g[l]=ad(m,c,d,e,b.ea,b.da,b.$))}return g} function ad(a,b,c,d,e,g,f){if(g&&null==f)throw Error("Cannot deserialize a reference object without a constructor.");return null==a?a:e&&g?a.map(function(l){return Wc(l,b,c,d,f)}):e&&!g?a.map(function(l){return l}):!e&&g?Wc(a,b,c,d,f):a instanceof Pc?null:"object"===typeof a?JSON.parse(JSON.stringify(a)):a}function $c(a,b){if(b instanceof C)a=Rc(b.i());else if(a instanceof C)a=Rc(a.i());else throw Error("Cannot find ClassMetadata.");return a};var cd;var fd=function(a,b){this.kg=a===dd&&b||"";this.ik=ed};fd.prototype.xf=!0;fd.prototype.rf=function(){return this.kg};fd.prototype.toString=function(){return"Const{"+this.kg+"}"};var gd=function(a){if(a instanceof fd&&a.constructor===fd&&a.ik===ed)return a.kg;Ha("expected object of type Const, got '"+a+"'");return"type_error:Const"},ed={},dd={};var id=function(a,b){this.Rf=b===hd?a:""};id.prototype.xf=!0;id.prototype.rf=function(){return this.Rf.toString()};id.prototype.toString=function(){return this.Rf+""}; var jd=function(a){if(a instanceof id&&a.constructor===id)return a.Rf;Ha("expected object of type TrustedResourceUrl, got '"+a+"' of type "+ra(a));return"type_error:TrustedResourceUrl"},od=function(a){var b=gd(kd);if(!ld.test(b))throw Error("Invalid TrustedResourceUrl format: "+b);var c=b.replace(md,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 fd?gd(d):encodeURIComponent(String(d))});return nd(c)},md=/%{(\w+)}/g,ld=RegExp("^((https:)?//[0-9a-z.:[\\]-]+/|/[^/\\\\]|[^:/\\\\%]+/|[^:/\\\\%]*[?#]|about:blank#)","i"),hd={},nd=function(a){if(void 0===cd){var b=null;var c=r.trustedTypes;if(c&&c.createPolicy)try{b=c.createPolicy("goog#html",{createHTML:Aa,createScript:Aa,createScriptURL:Aa})}catch(d){r.console&&r.console.error(d.message)}cd=b}a=(b=cd)?b.createScriptURL(a):a;return new id(a,hd)};var qd=function(a,b){this.Qf=b===pd?a:""};qd.prototype.xf=!0;qd.prototype.rf=function(){return this.Qf.toString()};qd.prototype.toString=function(){return this.Qf.toString()}; var rd=function(a){if(a instanceof qd&&a.constructor===qd)return a.Qf;Ha("expected object of type SafeUrl, got '"+a+"' of type "+ra(a));return"type_error:SafeUrl"},sd=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)|video/(?:mpeg|mp4|ogg|webm|quicktime|x-matroska))(?:;\\w+=(?:\\w+|"[\\w;,= ]+"))*$',"i"),td=function(a){if(sd.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 qd(a,pd)},pd={};var vd=function(a,b){a:{try{var c=a&&a.ownerDocument,d=c&&(c.defaultView||c.parentWindow);d=d||r;if(d.Element&&d.Location){var e=d;break a}}catch(f){}e=null}if(e&&"undefined"!=typeof e.HTMLScriptElement&&(!a||!(a instanceof e.HTMLScriptElement)&&(a instanceof e.Location||a instanceof e.Element))){if(t(a))try{var g=a.constructor.displayName||a.constructor.name||Object.prototype.toString.call(a)}catch(f){g=""}else g=void 0===a?"undefined":null===a?"null":typeof a;Ha("Argument is not a %s (or a non-Element, non-Location mock); got: %s", "HTMLScriptElement",g)}a:{e=(a.ownerDocument&&a.ownerDocument.defaultView||r).document;if(e.querySelector&&(e=e.querySelector("script[nonce]"))&&(e=e.nonce||e.getAttribute("nonce"))&&ud.test(e))break a;e=""}e&&a.setAttribute("nonce",e);a.src=jd(b)},ud=/^[\w+/_-]+[=]{0,2}$/;var wd=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.yc=b}else a.yc=null};Ad.prototype.getPath=function(){return this.bc};Ad.prototype.setPath=function(a,b){Cd(this);this.bc=b?Fd(a,!0):a;return this};var Ed=function(a,b,c){Cd(a);b instanceof Gd?(a.Fa=b,a.Fa.dg(a.Da)):(c||(b=Hd(b,Md)),a.Fa=new Gd(b,a.Da))};Ad.prototype.getQuery=function(){return this.Fa.toString()}; Ad.prototype.removeParameter=function(a){Cd(this);this.Fa.remove(a);return this};var Cd=function(a){if(a.Ok)throw Error("Tried to modify a read-only Uri");};Ad.prototype.dg=function(a){this.Da=a;this.Fa&&this.Fa.dg(a)}; var Nd=function(a){return a instanceof Ad?a.clone():new Ad(a)},Fd=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},Hd=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,Od),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},Od=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},Id=/[#\/\?@]/g,Kd=/[#\?:]/g,Jd=/[#\?]/g,Md=/[#\?@]/g,Ld=/#/g,Gd=function(a,b){this.Z=this.O=null;this.va=a||null;this.Da=!!b},Pd= function(a){a.O||(a.O=new Map,a.Z=0,a.va&&zd(a.va,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};h=Gd.prototype;h.R=function(){Pd(this);return this.Z};h.add=function(a,b){Pd(this);this.va=null;a=Qd(this,a);var c=this.O.get(a);c||this.O.set(a,c=[]);c.push(b);this.Z=Ia(this.Z)+1;return this};h.remove=function(a){Pd(this);a=Qd(this,a);return this.O.has(a)?(this.va=null,this.Z=Ia(this.Z)-this.O.get(a).length,this.O.delete(a)):!1};h.clear=function(){this.O=this.va=null;this.Z=0}; h.isEmpty=function(){Pd(this);return 0==this.Z};h.Sb=function(a){Pd(this);a=Qd(this,a);return this.O.has(a)};h.Lc=function(a){var b=this.ba();return Ua(b,a)};h.forEach=function(a,b){Pd(this);this.O.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};h.wb=function(){Pd(this);for(var a=Array.from(this.O.values()),b=Array.from(this.O.keys()),c=[],d=0;d