(function(){/* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ var k,ba=function(a){var b=0;return function(){return b=e}});ma("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=na(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}}); ma("String.prototype.repeat",function(a){return a?a:function(b){var c=na(this,null,"repeat");if(0>b||1342177279>>=1)c+=c;return d}});var oa=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)},pa="function"==typeof Object.assign?Object.assign:function(a,b){for(var c=1;cc&&(c=Math.max(c+e,0));c>>0),Ca=0,Ea=function(a,b,c){return a.call.apply(a.bind,arguments)},Ga=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},Wa=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]},eb=function(a,b){return 0<=Ua(a,b)},fb=function(a){if(!Array.isArray(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0},hb=function(a,b){b=Ua(a,b);var c;(c=0<=b)&&gb(a,b);return c},gb=function(a,b){A(null!=a.length);Array.prototype.splice.call(a,b,1)},ib=function(a){return Array.prototype.concat.apply([],arguments)},jb=function(a){var b=a.length;if(0=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)},mb=function(a){for(var b={},c=0,d=0;da-0)return[];for(var c=0;c/g,tb=/"/g,ub=/'/g,vb=/\x00/g,wb=/[\x00&<>"']/,xb=function(a,b){return ab?1:0};var yb;a:{var zb=r.navigator;if(zb){var Ab=zb.userAgent;if(Ab){yb=Ab;break a}}yb=""}var Bb=function(a){return-1!=yb.indexOf(a)};var Cb=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)},Db=function(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c},Eb=function(a,b,c){var d={},e;for(e in a)d[e]=b.call(c,a[e],e,a);return d},Fb=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1},Gb=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b},Ib=function(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b},Jb=function(a,b){for(var c in a)if(a[c]==b)return!0;return!1},Lb=function(a){var b= Kb,c;for(c in b)if(a.call(void 0,b[c],c,b))return c},Mb=function(a){for(var b in a)return!1;return!0},Nb=function(a,b){b in a&&delete a[b]},Ob=function(a){var b={},c;for(c in a)b[c]=a[c];return b},Pb=function(a){var b=ya(a);if("object"==b||"array"==b){if(v(a.clone))return a.clone();b="array"==b?[]:{};for(var c in a)b[c]=Pb(a[c]);return b}return a},Qb="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),Rb=function(a,b){for(var c,d,e=1;e"}else f=void 0===a?"undefined":null===a?"null":typeof a;Pa("Argument is not a %s (or a non-Element, non-Location mock); got: %s", "HTMLScriptElement",f)}a.src=$b(b);(b=a.ownerDocument&&a.ownerDocument.defaultView)&&b!=r?b=wa(b.document):(null===va&&(va=wa(r.document)),b=va);b&&a.setAttribute("nonce",b)};var nc=function(a,b){for(var c=a.split("%s"),d="",e=Array.prototype.slice.call(arguments,1);e.length&&1")&&(a=a.replace(sb,">")),-1!=a.indexOf('"')&&(a=a.replace(tb,""")),-1!=a.indexOf("'")&&(a=a.replace(ub,"'")),-1!=a.indexOf("\x00")&&(a=a.replace(vb,"�")));return a},pc=function(a){var b=1;a= a.split(":");for(var c=[];0parseFloat(Ac)){zc=String(Cc);break a}}zc=Ac} var Dc=zc,rc={},Ec=function(a){return sc(a,function(){for(var b=0,c=pb(String(Dc)).split("."),d=pb(String(a)).split("."),e=Math.max(c.length,d.length),f=0;0==b&&f=a.keyCode)a.keyCode=-1}catch(b){}};var Oc="closure_listenable_"+(1E6*Math.random()|0),Pc=function(a){return!(!a||!a[Oc])},Qc=0;var Rc=function(a,b,c,d,e){this.listener=a;this.Hd=null;this.src=b;this.type=c;this.capture=!!d;this.ab=e;this.key=++Qc;this.mc=this.nd=!1},Sc=function(a){a.mc=!0;a.listener=null;a.Hd=null;a.src=null;a.ab=null};var Tc=function(a){this.src=a;this.Z={};this.ed=0};Tc.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.Z[f];a||(a=this.Z[f]=[],this.ed++);var g=Uc(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.Sb&&0<=e;e--){b.currentTarget=d[e];var f=jd(d[e],a,!0,b);c=c&&f}for(e=0;!b.Sb&&e>>0),ad=function(a){A(a,"Listener can not be null.");if(v(a))return a;A(a.handleEvent,"An object listener must have handleEvent method.");a[kd]||(a[kd]=function(b){return a.handleEvent(b)});return a[kd]};var ld=function(){Ja.call(this);this.Aa=new Tc(this);this.sj=this;this.wf=null};y(ld,Ja);ld.prototype[Oc]=!0;k=ld.prototype;k.addEventListener=function(a,b,c,d){$c(this,a,b,c,d)};k.removeEventListener=function(a,b,c,d){gd(this,a,b,c,d)}; k.dispatchEvent=function(a){md(this);var b=this.wf;if(b){var c=[];for(var d=1;b;b=b.wf)c.push(b),A(1E3>++d,"infinite loop")}b=this.sj;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);Rb(a,e)}e=!0;if(c)for(var f=c.length-1;!a.Sb&&0<=f;f--){var g=a.currentTarget=c[f];e=nd(g,d,!0,a)&&e}a.Sb||(g=a.currentTarget=b,e=nd(g,d,!0,a)&&e,a.Sb||(e=nd(g,d,!1,a)&&e));if(c)for(f=0;!a.Sb&&f=a.length)throw od;if(b in a)return a[b++];b++}};return c}throw Error("Not implemented");},rd=function(a,b){if(za(a))try{Wa(a,b,void 0)}catch(c){if(c!==od)throw c;}else{a=qd(a);try{for(;;)b.call(void 0,a.next(),void 0,a)}catch(c){if(c!==od)throw c;}}};var sd=function(a,b){this.l={};this.H=[];this.gd=this.I=0;var c=arguments.length;if(12*this.I&&td(this),!0):!1};var td=function(a){if(a.I!=a.H.length){for(var b=0,c=0;b=d.H.length)throw od;var f=d.H[b++];return a?f:d.l[f]};return e};var ud=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var wd=function(a){if(a.L&&"function"==typeof a.L)a=a.L();else if(za(a)||"string"===typeof a)a=a.length;else{var b=0,c;for(c in a)b++;a=b}return a},xd=function(a){if(a.S&&"function"==typeof a.S)return a.S();if("string"===typeof a)return a.split("");if(za(a)){for(var b=[],c=a.length,d=0;dc)return!1;!(b instanceof Bd)&&5e&&(e+=d);return[a.Pj,c,e,b.y].join("/")};Ed.prototype.Jc=function(){return this.rb.length};var Gd=function(a){z.call(this,"tileevent");this.count=a};y(Gd,z);var Hd=function(){},Id=new Hd;function Jd(a){return Object.assign({P:{},nk:{},keys:[],wa:{},u:{},K:{}},a)}var B=function(){this.a={}},D=function(a,b){return a.a.hasOwnProperty(b)?a.a[b]:null},F=function(a,b){return null!=a.a[b]};function Kd(a,b){return D(b,a)}function Ld(a,b,c){b[a]=c}function Md(){return{}}function Nd(a,b){var c=new a;return null==b?c:Od(b,Pd,Qd,Rd,a)}function Pd(a,b){return b[a]}function Qd(a,b,c){b.a[a]=c} function Rd(a){if(null==a)throw Error("Cannot deserialize, target constructor was null.");return new a} function Od(a,b,c,d,e){e=d(e);var f=Sd(a,e),g=f.P||{},h=f.u||{},n=f.wa||{},p={};f=l(f.keys||[]);for(var t=f.next();!t.done;p={vc:p.vc},t=f.next()){t=t.value;var C=b(t,a);if(null!=C){var E=void 0;g.hasOwnProperty(t)?E=Td(C,b,c,d,!0,!0,g[t]):h.hasOwnProperty(t)?E=Td(C,b,c,d,!1,!0,h[t]):n.hasOwnProperty(t)?(p.vc=n[t],E=p.vc.ja?C.map(function(aa){return function(Fa){return Ud(Fa,aa.vc,b,c,d)}}(p)):Ud(C,p.vc,b,c,d)):E=Array.isArray(C)?Td(C,b,c,d,!0,!1):C instanceof Hd?null:C;c(t,e,E)}}return e} function Ud(a,b,c,d,e){for(var f={},g=l(Object.keys(a)),h=g.next();!h.done;h=g.next()){h=h.value;var n=a[h];null!=n&&(f[h]=Td(n,c,d,e,b.la,b.ka,b.ea))}return f}function Td(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(h){return Od(h,b,c,d,g)}):e&&!f?a.map(function(h){return h}):!e&&f?Od(a,b,c,d,g):a instanceof Hd?null:"object"===typeof a?JSON.parse(JSON.stringify(a)):a} function Sd(a,b){if(b instanceof B)a=Jd(b.f());else if(a instanceof B)a=Jd(a.f());else throw Error("Cannot find ClassMetadata.");return a};var Vd=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^\\/?#]*)@)?([^\\/?#]*?)(?::([0-9]+))?(?=[\\/?#]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/,Wd=function(a,b){if(a){a=a.split("&");for(var c=0;cb)throw Error("Bad port number "+b);a.lc=b}else a.lc=null};Xd.prototype.getPath=function(){return this.bb};Xd.prototype.setPath=function(a,b){Zd(this);this.bb=b?be(a,!0):a;return this};var ae=function(a,b,c){Zd(a);b instanceof ce?(a.xa=b,a.xa.Mf(a.ua)):(c||(b=de(b,je)),a.xa=new ce(b,a.ua))};Xd.prototype.getQuery=function(){return this.xa.toString()}; Xd.prototype.removeParameter=function(a){Zd(this);this.xa.remove(a);return this};var Zd=function(a){if(a.Lj)throw Error("Tried to modify a read-only Uri");};Xd.prototype.Mf=function(a){this.ua=a;this.xa&&this.xa.Mf(a)}; var ke=function(a){return a instanceof Xd?a.clone():new Xd(a,void 0)},be=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},de=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,le),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},le=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},fe=/[#\/\?@]/g,he=/[#\?:]/g,ge=/[#\?]/g,je=/[#\?@]/g,ie=/#/g,ce=function(a,b){this.I=this.M=null;this.pa=a||null;this.ua=!!b}, me=function(a){a.M||(a.M=new sd,a.I=0,a.pa&&Wd(a.pa,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};k=ce.prototype;k.L=function(){me(this);return this.I};k.add=function(a,b){me(this);this.pa=null;a=ne(this,a);var c=this.M.get(a);c||this.M.set(a,c=[]);c.push(b);this.I=Qa(this.I)+1;return this};k.remove=function(a){me(this);a=ne(this,a);return this.M.ib(a)?(this.pa=null,this.I=Qa(this.I)-this.M.get(a).length,this.M.remove(a)):!1};k.clear=function(){this.M=this.pa=null;this.I=0}; k.isEmpty=function(){me(this);return 0==this.I};k.ib=function(a){me(this);a=ne(this,a);return this.M.ib(a)};k.Cc=function(a){var b=this.S();return eb(b,a)};k.forEach=function(a,b){me(this);this.M.forEach(function(c,d){Wa(c,function(e){a.call(b,e,d,this)},this)},this)};k.Da=function(){me(this);for(var a=this.M.S(),b=this.M.Da(),c=[],d=0;d