(function(){/* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ var h,aa=function(a){var b=0;return function(){return b=e}}); ea("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=oa(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}});ea("String.prototype.repeat",function(a){return a?a:function(b){var c=oa(this,null,"repeat");if(0>b||1342177279>>=1)c+=c;return d}}); var pa=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)},qa="function"==typeof Object.assign?Object.assign:function(a,b){for(var c=1;cc&&(c=Math.max(c+e,0));c>>0),Ba=0,Da=function(a,b,c){return a.call.apply(a.bind,arguments)},Ea=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},Ta=Array.prototype.forEach?function(a,b,c){A(null!=a.length);Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e="string"===typeof a?a.split(""):a,f=0;fb?null:"string"===typeof a?a.charAt(b):a[b]}function ab(a,b){return 0<=Ra(a,b)}function bb(a){if(!Array.isArray(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0}function cb(a,b){b=Ra(a,b);var c;(c=0<=b)&&db(a,b);return c}function db(a,b){A(null!=a.length);Array.prototype.splice.call(a,b,1)} function eb(a){return Array.prototype.concat.apply([],arguments)}function fb(a){var b=a.length;if(0=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)} function ib(a){for(var b={},c=0,d=0;da-0)return[];for(var c=0;c/g,pb=/"/g,qb=/'/g,rb=/\x00/g,sb=/[\x00&<>"']/,tb=function(a,b){return ab?1:0};var ub;a:{var vb=r.navigator;if(vb){var wb=vb.userAgent;if(wb){ub=wb;break a}}ub=""}var xb=function(a){return-1!=ub.indexOf(a)};var yb=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)},zb=function(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c},Ab=function(a,b,c){var d={},e;for(e in a)d[e]=b.call(c,a[e],e,a);return d},Cb=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1},Db=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b},Eb=function(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b},Fb=function(a,b){for(var c in a)if(a[c]==b)return!0;return!1},Hb=function(a){var b= Gb,c;for(c in b)if(a.call(void 0,b[c],c,b))return c},Ib=function(a){for(var b in a)return!1;return!0},Jb=function(a,b){b in a&&delete a[b]},Kb=function(a){var b={},c;for(c in a)b[c]=a[c];return b},Lb=function(a){if(!a||"object"!==typeof a)return a;if("function"===typeof a.clone)return a.clone();var b=Array.isArray(a)?[]:"function"!==typeof ArrayBuffer||"function"!==typeof ArrayBuffer.isView||!ArrayBuffer.isView(a)||a instanceof DataView?{}:new a.constructor(a.length),c;for(c in a)b[c]=Lb(a[c]);return b}, Mb="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),Nb=function(a,b){for(var c,d,e=1;e"}else f=void 0===a?"undefined":null===a?"null":typeof a;Ma("Argument is not a %s (or a non-Element, non-Location mock); got: %s", "HTMLScriptElement",f)}a.src=Wb(b);(b=a.ownerDocument&&a.ownerDocument.defaultView)&&b!=r?b=va(b.document):(null===ua&&(ua=va(r.document)),b=ua);b&&a.setAttribute("nonce",b)};var hc=function(a,b){for(var c=a.split("%s"),d="",e=Array.prototype.slice.call(arguments,1);e.length&&1")&&(a=a.replace(ob,">")),-1!=a.indexOf('"')&&(a=a.replace(pb,""")),-1!=a.indexOf("'")&&(a=a.replace(qb,"'")),-1!=a.indexOf("\x00")&&(a=a.replace(rb,"�")));return a},jc=function(a){var b=1;a= a.split(":");for(var c=[];0parseFloat(uc)){tc=String(wc);break a}}tc=uc} var xc=tc,lc={},yc=function(a){return mc(a,function(){for(var b=0,c=lb(String(xc)).split("."),d=lb(String(a)).split("."),e=Math.max(c.length,d.length),f=0;0==b&&f=a.keyCode)a.keyCode=-1}catch(b){}};var Ic="closure_listenable_"+(1E6*Math.random()|0),Jc=function(a){return!(!a||!a[Ic])},Kc=0;var Lc=function(a,b,c,d,e){this.listener=a;this.Wd=null;this.src=b;this.type=c;this.capture=!!d;this.nb=e;this.key=++Kc;this.Ac=this.yd=!1},Mc=function(a){a.Ac=!0;a.listener=null;a.Wd=null;a.src=null;a.nb=null};var Nc=function(a){this.src=a;this.aa={};this.pd=0};Nc.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.aa[f];a||(a=this.aa[f]=[],this.pd++);var g=Oc(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.bc&&0<=e;e--){b.currentTarget=d[e];var f=dd(d[e],a,!0,b);c=c&&f}for(e=0;!b.bc&&e>>0),Vc=function(a){A(a,"Listener can not be null.");if("function"===typeof a)return a;A(a.handleEvent,"An object listener must have handleEvent method.");a[ed]||(a[ed]=function(b){return a.handleEvent(b)});return a[ed]};var B=function(){y.call(this);this.Ha=new Nc(this);this.Jj=this;this.If=null};x(B,y);B.prototype[Ic]=!0;h=B.prototype;h.addEventListener=function(a,b,c,d){Uc(this,a,b,c,d)};h.removeEventListener=function(a,b,c,d){ad(this,a,b,c,d)}; h.dispatchEvent=function(a){fd(this);var b=this.If;if(b){var c=[];for(var d=1;b;b=b.If)c.push(b),A(1E3>++d,"infinite loop")}b=this.Jj;d=a.type||a;if("string"===typeof a)a=new z(a,b);else if(a instanceof z)a.target=a.target||b;else{var e=a;a=new z(d,b);Nb(a,e)}e=!0;if(c)for(var f=c.length-1;!a.bc&&0<=f;f--){var g=a.currentTarget=c[f];e=gd(g,d,!0,a)&&e}a.bc||(g=a.currentTarget=b,e=gd(g,d,!0,a)&&e,a.bc||(e=gd(g,d,!1,a)&&e));if(c)for(f=0;!a.bc&&f=a.length)throw hd;if(b in a)return a[b++];b++}};return c}throw Error("Not implemented");},kd=function(a,b){if(ya(a))try{Ta(a,b,void 0)}catch(c){if(c!==hd)throw c;}else{a=jd(a);try{for(;;)b.call(void 0,a.next(),void 0,a)}catch(c){if(c!==hd)throw c;}}};var ld=function(a,b){this.C={};this.H=[];this.rd=this.J=0;var c=arguments.length;if(12*this.J&&md(this),!0):!1};var md=function(a){if(a.J!=a.H.length){for(var b=0,c=0;b=d.H.length)throw hd;var f=d.H[b++];return a?f:d.C[f]};return e};var nd=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var pd=function(a){if(a.M&&"function"==typeof a.M)a=a.M();else if(ya(a)||"string"===typeof a)a=a.length;else{var b=0,c;for(c in a)b++;a=b}return a},qd=function(a){if(a.S&&"function"==typeof a.S)return a.S();if("string"===typeof a)return a.split("");if(ya(a)){for(var b=[],c=a.length,d=0;dc)return!1;!(b instanceof ud)&&5e&&(e+=d);return[a.ek,c,e,b.y].join("/")};xd.prototype.Vc=function(){return this.Eb.length};var zd=function(a){z.call(this,"tileevent");this.count=a};x(zd,z);var Ad=function(){},Bd=new Ad;function Cd(a){return Object.assign({O:{},Gk:{},keys:[],Ba:{},o:{},K:{}},a)}var E=function(){this.a={}},F=function(a,b){return a.a.hasOwnProperty(b)?a.a[b]:null},G=function(a,b){return null!=a.a[b]};function Dd(a,b){return F(b,a)}function Ed(a,b,c){b[a]=c}function Fd(){return{}}function Gd(a,b){var c=new a;return null==b?c:Hd(b,Id,Jd,Kd,a)}function Id(a,b){return b[a]}function Jd(a,b,c){b.a[a]=c} function Kd(a){if(null==a)throw Error("Cannot deserialize, target constructor was null.");return new a} function Hd(a,b,c,d,e){e=d(e);var f=Ld(a,e),g=f.O||{},l=f.o||{},n=f.Ba||{},p={};f=m(f.keys||[]);for(var t=f.next();!t.done;p={Ic:p.Ic},t=f.next()){t=t.value;var C=b(t,a);if(null!=C){var D=void 0;g.hasOwnProperty(t)?D=Md(C,b,c,d,!0,!0,g[t]):l.hasOwnProperty(t)?D=Md(C,b,c,d,!1,!0,l[t]):n.hasOwnProperty(t)?(p.Ic=n[t],D=p.Ic.na?C.map(function(ca){return function(Y){return Nd(Y,ca.Ic,b,c,d)}}(p)):Nd(C,p.Ic,b,c,d)):D=Array.isArray(C)?Md(C,b,c,d,!0,!1):C instanceof Ad?null:C;c(t,e,D)}}return e} function Nd(a,b,c,d,e){for(var f={},g=m(Object.keys(a)),l=g.next();!l.done;l=g.next()){l=l.value;var n=a[l];null!=n&&(f[l]=Md(n,c,d,e,b.pa,b.oa,b.ha))}return f}function Md(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 Hd(l,b,c,d,g)}):e&&!f?a.map(function(l){return l}):!e&&f?Hd(a,b,c,d,g):a instanceof Ad?null:"object"===typeof a?JSON.parse(JSON.stringify(a)):a} function Ld(a,b){if(b instanceof E)a=Cd(b.f());else if(a instanceof E)a=Cd(a.f());else throw Error("Cannot find ClassMetadata.");return a};var Od=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^\\/?#]*)@)?([^\\/?#]*?)(?::([0-9]+))?(?=[\\/?#]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/,Pd=function(a,b){if(a){a=a.split("&");for(var c=0;cb)throw Error("Bad port number "+b);a.zc=b}else a.zc=null};Qd.prototype.getPath=function(){return this.ob};Qd.prototype.setPath=function(a,b){Sd(this);this.ob=b?Vd(a,!0):a;return this};var Ud=function(a,b,c){Sd(a);b instanceof Wd?(a.Ca=b,a.Ca.Wf(a.za)):(c||(b=Xd(b,be)),a.Ca=new Wd(b,a.za))};Qd.prototype.getQuery=function(){return this.Ca.toString()}; Qd.prototype.removeParameter=function(a){Sd(this);this.Ca.remove(a);return this};var Sd=function(a){if(a.ak)throw Error("Tried to modify a read-only Uri");};Qd.prototype.Wf=function(a){this.za=a;this.Ca&&this.Ca.Wf(a)}; var ce=function(a){return a instanceof Qd?a.clone():new Qd(a,void 0)},Vd=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},Xd=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,de),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},de=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},Yd=/[#\/\?@]/g,$d=/[#\?:]/g,Zd=/[#\?]/g,be=/[#\?@]/g,ae=/#/g,Wd=function(a,b){this.J=this.N=null;this.ta=a||null;this.za=!!b}, fe=function(a){a.N||(a.N=new ld,a.J=0,a.ta&&Pd(a.ta,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};h=Wd.prototype;h.M=function(){fe(this);return this.J};h.add=function(a,b){fe(this);this.ta=null;a=ge(this,a);var c=this.N.get(a);c||this.N.set(a,c=[]);c.push(b);this.J=Na(this.J)+1;return this};h.remove=function(a){fe(this);a=ge(this,a);return this.N.wb(a)?(this.ta=null,this.J=Na(this.J)-this.N.get(a).length,this.N.remove(a)):!1};h.clear=function(){this.N=this.ta=null;this.J=0}; h.isEmpty=function(){fe(this);return 0==this.J};h.wb=function(a){fe(this);a=ge(this,a);return this.N.wb(a)};h.Oc=function(a){var b=this.S();return ab(b,a)};h.forEach=function(a,b){fe(this);this.N.forEach(function(c,d){Ta(c,function(e){a.call(b,e,d,this)},this)},this)};h.Ka=function(){fe(this);for(var a=this.N.S(),b=this.N.Ka(),c=[],d=0;d