(function(){/* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ var k,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=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}});ea("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),Aa=0,Ca=function(a,b,c){return a.call.apply(a.bind,arguments)},Da=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},Sa=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 $a(a,b){return 0<=Qa(a,b)}function ab(a){if(!Array.isArray(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0}function bb(a,b){b=Qa(a,b);var c;(c=0<=b)&&cb(a,b);return c}function cb(a,b){A(null!=a.length);Array.prototype.splice.call(a,b,1)} function db(a){return Array.prototype.concat.apply([],arguments)}function eb(a){var b=a.length;if(0=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)} function hb(a){for(var b={},c=0,d=0;da-0)return[];for(var c=0;c/g,ob=/"/g,pb=/'/g,qb=/\x00/g,rb=/[\x00&<>"']/,sb=function(a,b){return ab?1:0};var tb;a:{var ub=r.navigator;if(ub){var vb=ub.userAgent;if(vb){tb=vb;break a}}tb=""}var wb=function(a){return-1!=tb.indexOf(a)};var xb=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)},yb=function(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c},zb=function(a,b,c){var d={},e;for(e in a)d[e]=b.call(c,a[e],e,a);return d},Ab=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1},Cb=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b},Db=function(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b},Eb=function(a,b){for(var c in a)if(a[c]==b)return!0;return!1},Gb=function(a){var b= Fb,c;for(c in b)if(a.call(void 0,b[c],c,b))return c},Hb=function(a){for(var b in a)return!1;return!0},Ib=function(a,b){b in a&&delete a[b]},Jb=function(a){var b={},c;for(c in a)b[c]=a[c];return b},Kb=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]=Kb(a[c]);return b}, Lb="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),Mb=function(a,b){for(var c,d,e=1;e"}else f=void 0===a?"undefined":null===a?"null":typeof a;La("Argument is not a %s (or a non-Element, non-Location mock); got: %s", "HTMLScriptElement",f)}a.src=Vb(b);(b=a.ownerDocument&&a.ownerDocument.defaultView)&&b!=r?b=ua(b.document):(null===ta&&(ta=ua(r.document)),b=ta);b&&a.setAttribute("nonce",b)};var gc=function(a,b){for(var c=a.split("%s"),d="",e=Array.prototype.slice.call(arguments,1);e.length&&1")&&(a=a.replace(nb,">")),-1!=a.indexOf('"')&&(a=a.replace(ob,""")),-1!=a.indexOf("'")&&(a=a.replace(pb,"'")),-1!=a.indexOf("\x00")&&(a=a.replace(qb,"�")));return a},ic=function(a){var b=1;a= a.split(":");for(var c=[];0parseFloat(tc)){sc=String(vc);break a}}sc=tc} var wc=sc,kc={},xc=function(a){return lc(a,function(){for(var b=0,c=kb(String(wc)).split("."),d=kb(String(a)).split("."),e=Math.max(c.length,d.length),f=0;0==b&&f=a.keyCode)a.keyCode=-1}catch(b){}};var Hc="closure_listenable_"+(1E6*Math.random()|0),Ic=function(a){return!(!a||!a[Hc])},Jc=0;var Kc=function(a,b,c,d,e){this.listener=a;this.Yd=null;this.src=b;this.type=c;this.capture=!!d;this.pb=e;this.key=++Jc;this.Cc=this.Ad=!1},Lc=function(a){a.Cc=!0;a.listener=null;a.Yd=null;a.src=null;a.pb=null};var Mc=function(a){this.src=a;this.ca={};this.rd=0};Mc.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.ca[f];a||(a=this.ca[f]=[],this.rd++);var g=Nc(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.dc&&0<=e;e--){b.currentTarget=d[e];var f=cd(d[e],a,!0,b);c=c&&f}for(e=0;!b.dc&&e>>0),Uc=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[dd]||(a[dd]=function(b){return a.handleEvent(b)});return a[dd]};var B=function(){y.call(this);this.Ja=new Mc(this);this.Kj=this;this.Kf=null};x(B,y);B.prototype[Hc]=!0;k=B.prototype;k.addEventListener=function(a,b,c,d){Tc(this,a,b,c,d)};k.removeEventListener=function(a,b,c,d){$c(this,a,b,c,d)}; k.dispatchEvent=function(a){ed(this);var b=this.Kf;if(b){var c=[];for(var d=1;b;b=b.Kf)c.push(b),A(1E3>++d,"infinite loop")}b=this.Kj;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);Mb(a,e)}e=!0;if(c)for(var f=c.length-1;!a.dc&&0<=f;f--){var g=a.currentTarget=c[f];e=fd(g,d,!0,a)&&e}a.dc||(g=a.currentTarget=b,e=fd(g,d,!0,a)&&e,a.dc||(e=fd(g,d,!1,a)&&e));if(c)for(f=0;!a.dc&&f=a.length)throw gd;if(b in a)return a[b++];b++}};return c}throw Error("Not implemented");},jd=function(a,b){if(xa(a))try{Sa(a,b,void 0)}catch(c){if(c!==gd)throw c;}else{a=id(a);try{for(;;)b.call(void 0,a.next(),void 0,a)}catch(c){if(c!==gd)throw c;}}};var kd=function(a,b){this.F={};this.J=[];this.td=this.L=0;var c=arguments.length;if(12*this.L&&ld(this),!0):!1};var ld=function(a){if(a.L!=a.J.length){for(var b=0,c=0;b=d.J.length)throw gd;var f=d.J[b++];return a?f:d.F[f]};return e};var md=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var od=function(a){if(a.O&&"function"==typeof a.O)a=a.O();else if(xa(a)||"string"===typeof a)a=a.length;else{var b=0,c;for(c in a)b++;a=b}return a},pd=function(a){if(a.U&&"function"==typeof a.U)return a.U();if("string"===typeof a)return a.split("");if(xa(a)){for(var b=[],c=a.length,d=0;dc)return!1;!(b instanceof td)&&5e&&(e+=d);return[a.fk,c,e,b.y].join("/")};wd.prototype.Xc=function(){return this.Gb.length};var yd=function(a){z.call(this,"tileevent");this.count=a};x(yd,z);var zd=function(){},Ad=new zd;function Bd(a){return Object.assign({R:{},Hk:{},keys:[],Da:{},u:{},M:{}},a)}var E=function(){this.h={}},F=function(a,b){return a.h.hasOwnProperty(b)?a.h[b]:null},G=function(a,b){return null!=a.h[b]};function Cd(a,b){return F(b,a)}function Dd(a,b,c){b[a]=c}function Ed(){return{}}function Fd(a,b){var c=new a;return null==b?c:Gd(b,Hd,Id,Jd,a)}function Hd(a,b){return b[a]}function Id(a,b,c){b.h[a]=c} function Jd(a){if(null==a)throw Error("Cannot deserialize, target constructor was null.");return new a} function Gd(a,b,c,d,e){e=d(e);var f=Kd(a,e),g=f.R||{},h=f.u||{},n=f.Da||{},p={};f=m(f.keys||[]);for(var t=f.next();!t.done;p={Kc:p.Kc},t=f.next()){t=t.value;var C=b(t,a);if(null!=C){var D=void 0;g.hasOwnProperty(t)?D=Ld(C,b,c,d,!0,!0,g[t]):h.hasOwnProperty(t)?D=Ld(C,b,c,d,!1,!0,h[t]):n.hasOwnProperty(t)?(p.Kc=n[t],D=p.Kc.pa?C.map(function(ca){return function(Y){return Md(Y,ca.Kc,b,c,d)}}(p)):Md(C,p.Kc,b,c,d)):D=Array.isArray(C)?Ld(C,b,c,d,!0,!1):C instanceof zd?null:C;c(t,e,D)}}return e} function Md(a,b,c,d,e){for(var f={},g=m(Object.keys(a)),h=g.next();!h.done;h=g.next()){h=h.value;var n=a[h];null!=n&&(f[h]=Ld(n,c,d,e,b.ra,b.qa,b.ja))}return f}function Ld(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 Gd(h,b,c,d,g)}):e&&!f?a.map(function(h){return h}):!e&&f?Gd(a,b,c,d,g):a instanceof zd?null:"object"===typeof a?JSON.parse(JSON.stringify(a)):a} function Kd(a,b){if(b instanceof E)a=Bd(b.i());else if(a instanceof E)a=Bd(a.i());else throw Error("Cannot find ClassMetadata.");return a};var Nd=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^\\/?#]*)@)?([^\\/?#]*?)(?::([0-9]+))?(?=[\\/?#]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/,Od=function(a,b){if(a){a=a.split("&");for(var c=0;cb)throw Error("Bad port number "+b);a.Bc=b}else a.Bc=null};Pd.prototype.getPath=function(){return this.qb};Pd.prototype.setPath=function(a,b){Rd(this);this.qb=b?Ud(a,!0):a;return this};var Td=function(a,b,c){Rd(a);b instanceof Vd?(a.Ea=b,a.Ea.Yf(a.Ba)):(c||(b=Wd(b,ae)),a.Ea=new Vd(b,a.Ba))};Pd.prototype.getQuery=function(){return this.Ea.toString()}; Pd.prototype.removeParameter=function(a){Rd(this);this.Ea.remove(a);return this};var Rd=function(a){if(a.bk)throw Error("Tried to modify a read-only Uri");};Pd.prototype.Yf=function(a){this.Ba=a;this.Ea&&this.Ea.Yf(a)}; var be=function(a){return a instanceof Pd?a.clone():new Pd(a,void 0)},Ud=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},Wd=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,ce),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},ce=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},Xd=/[#\/\?@]/g,Zd=/[#\?:]/g,Yd=/[#\?]/g,ae=/[#\?@]/g,$d=/#/g,Vd=function(a,b){this.L=this.P=null;this.va=a||null;this.Ba=!!b}, de=function(a){a.P||(a.P=new kd,a.L=0,a.va&&Od(a.va,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};k=Vd.prototype;k.O=function(){de(this);return this.L};k.add=function(a,b){de(this);this.va=null;a=fe(this,a);var c=this.P.get(a);c||this.P.set(a,c=[]);c.push(b);this.L=Ma(this.L)+1;return this};k.remove=function(a){de(this);a=fe(this,a);return this.P.yb(a)?(this.va=null,this.L=Ma(this.L)-this.P.get(a).length,this.P.remove(a)):!1};k.clear=function(){this.P=this.va=null;this.L=0}; k.isEmpty=function(){de(this);return 0==this.L};k.yb=function(a){de(this);a=fe(this,a);return this.P.yb(a)};k.Qc=function(a){var b=this.U();return $a(b,a)};k.forEach=function(a,b){de(this);this.P.forEach(function(c,d){Sa(c,function(e){a.call(b,e,d,this)},this)},this)};k.Ma=function(){de(this);for(var a=this.P.U(),b=this.P.Ma(),c=[],d=0;d