(function(){/* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ var k,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;c=e}}); da("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}});da("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){a instanceof String&&(a+="");var c=0,d=!1,e={next:function(){if(!d&&cc&&(c=Math.max(c+e,0));c>>0),wa=0,ya=function(a,b,c){return a.call.apply(a.bind, arguments)},za=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},Pa=Array.prototype.forEach?function(a,b,c){z(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;f=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)}function bb(a){var b=[];if(0>a-0)return[];for(var c=0;c/g,hb=/"/g,ib=/'/g,jb=/\x00/g,kb=/[\x00&<>"']/,lb=function(a,b){return ab?1:0};var mb;a:{var nb=r.navigator;if(nb){var ob=nb.userAgent;if(ob){mb=ob;break a}}mb=""}var pb=function(a){return-1!=mb.indexOf(a)};function qb(a,b,c){for(var d in a)b.call(c,a[d],d,a)}function rb(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c}function sb(a,b,c){var d={},e;for(e in a)d[e]=b.call(c,a[e],e,a);return d}function tb(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1}function ub(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b}function vb(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b}function wb(a,b){for(var c in a)if(a[c]==b)return!0;return!1} function xb(a){var b=yb,c;for(c in b)if(a.call(void 0,b[c],c,b))return c}function zb(a){for(var b in a)return!1;return!0}function Ab(a,b){b in a&&delete a[b]}function Bb(a){var b={},c;for(c in a)b[c]=a[c];return b} function Cb(a){if(!a||"object"!==typeof a)return a;if("function"===typeof a.clone)return a.clone();if("undefined"!==typeof Map&&a instanceof Map)return new Map(a);if("undefined"!==typeof Set&&a instanceof Set)return new Set(a);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]=Cb(a[c]);return b}var Db="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "); function Eb(a,b){for(var c,d,e=1;e"}else f=void 0===a?"undefined":null===a?"null":typeof a;Ia("Argument is not a %s (or a non-Element, non-Location mock); got: %s", "HTMLScriptElement",f)}a.src=Ob(b);a:{b=(a.ownerDocument&&a.ownerDocument.defaultView||r).document;if(b.querySelector&&(b=b.querySelector("script[nonce]"))&&(b=b.nonce||b.getAttribute("nonce"))&&Zb.test(b))break a;b=""}b&&a.setAttribute("nonce",b)},Zb=/^[\w+/_-]+[=]{0,2}$/;var ac=function(a,b){for(var c=a.split("%s"),d="",e=Array.prototype.slice.call(arguments,1);e.length&&1")&&(a=a.replace(gb,">")),-1!=a.indexOf('"')&&(a=a.replace(hb,""")),-1!=a.indexOf("'")&&(a=a.replace(ib,"'")),-1!=a.indexOf("\x00")&&(a=a.replace(jb,"�")));return a},cc=function(a){var b=1;a= a.split(":");for(var c=[];0parseFloat(nc)){mc=String(pc);break a}}mc=nc} var qc=mc,ec={},rc=function(a){return fc(a,function(){for(var b=0,c=db(String(qc)).split("."),d=db(String(a)).split("."),e=Math.max(c.length,d.length),f=0;0==b&&f>>0),Mc=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[Uc]||(a[Uc]=function(b){return a.handleEvent(b)}); return a[Uc]};var A=function(){Da.call(this);this.La=new Ec(this);this.Ej=this;this.Ef=null};x(A,Da);A.prototype[zc]=!0;k=A.prototype;k.addEventListener=function(a,b,c,d){Lc(this,a,b,c,d)};k.removeEventListener=function(a,b,c,d){Sc(this,a,b,c,d)}; k.dispatchEvent=function(a){Vc(this);var b=this.Ef;if(b){var c=[];for(var d=1;b;b=b.Ef)c.push(b),z(1E3>++d,"infinite loop")}b=this.Ej;d=a.type||a;if("string"===typeof a)a=new y(a,b);else if(a instanceof y)a.target=a.target||b;else{var e=a;a=new y(d,b);Eb(a,e)}e=!0;if(c)for(var f=c.length-1;!a.ed&&0<=f;f--){var g=a.currentTarget=c[f];e=Wc(g,d,!0,a)&&e}a.ed||(g=a.currentTarget=b,e=Wc(g,d,!0,a)&&e,a.ed||(e=Wc(g,d,!1,a)&&e));if(c)for(f=0;!a.ed&&f=a.length)throw Zc;if(b in a)return a[b++];b++}};c.next=c.Zb.bind(c);return c}throw Error("Not implemented");},bd=function(a,b){if(ta(a))try{Pa(a,b,void 0)}catch(c){if(c!==Zc)throw c;}else{a=ad(a);try{for(;;)b.call(void 0,a.next(),void 0,a)}catch(c){if(c!==Zc)throw c;}}};var gd=function(a){if(a instanceof cd||a instanceof dd||a instanceof ed)return a;if("function"==typeof a.next)return new cd(function(){return fd(a)});if("function"==typeof a[Symbol.iterator])return new cd(function(){return a[Symbol.iterator]()});if("function"==typeof a.Ga)return new cd(function(){return fd(a.Ga())});throw Error("Not an iterator or iterable.");},fd=function(a){if(!(a instanceof $c))return a;var b=!1;return{next:function(){for(var c;!b;)try{c=a.next();break}catch(d){if(d!==Zc)throw d; b=!0}return{value:c,done:b}}}},cd=function(a){this.df=a};cd.prototype.Ga=function(){return new dd(this.df())};cd.prototype[Symbol.iterator]=function(){return new ed(this.df())};cd.prototype.eg=function(){return new ed(this.df())};var dd=function(a){this.Wc=a};q(dd,$c);dd.prototype.Zb=function(){var a=this.Wc.next();if(a.done)throw Zc;return a.value};dd.prototype.next=function(){return dd.prototype.Zb.call(this)};dd.prototype[Symbol.iterator]=function(){return new ed(this.Wc)};dd.prototype.eg=function(){return new ed(this.Wc)}; var ed=function(a){cd.call(this,function(){return a});this.Wc=a};q(ed,cd);ed.prototype.next=function(){return this.Wc.next()};var hd=function(a,b){this.u={};this.J=[];this.od=this.size=0;var c=arguments.length;if(12*this.size&&id(this),!0):!1};var id=function(a){if(a.size!=a.J.length){for(var b=0,c=0;b=d.J.length)throw Zc;var f=d.J[b++];return a?f:d.u[f]};e.next=e.Zb.bind(e);return e};k.rb=function(a){this.size=a};var jd=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var ld=function(a){if(a.S&&"function"==typeof a.S)a=a.S();else if(ta(a)||"string"===typeof a)a=a.length;else{var b=0,c;for(c in a)b++;a=b}return a},md=function(a){if(a.T&&"function"==typeof a.T)return a.T();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(ta(a)){for(var b=[],c=a.length,d=0;dc)return!1;!(b instanceof qd)&&5e&&(e+=d);return[a.ck,c,e,b.y].join("/")};vd.prototype.Rc=function(){return this.Db.length};var xd=function(a){y.call(this,"tileevent");this.count=a};x(xd,y);var yd=function(){},zd=new yd;function Ad(a){return Object.assign({R:{},Ek:{},keys:[],Da:{},A:{},K:{},Ug:!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 Bd(a,b){return E(b,a)}function Cd(a,b,c){b[a]=c}function Dd(){return{}}function Ed(a,b){var c=new a;return null==b?c:Fd(b,Gd,Hd,Id,a)}function Gd(a,b){return b[a]}function Hd(a,b,c){b.h[a]=c} function Id(a){if(null==a)throw Error("Cannot deserialize, target constructor was null.");return new a} function Fd(a,b,c,d,e){e=d(e);for(var f=Jd(a,e),g=f.R||{},h=f.A||{},m=f.Da||{},p={},v=n(f.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(g.hasOwnProperty(B)){if(f.Ug&&0===D.length)continue;R=Kd(D,b,c,d,!0,!0,g[B])}else if(h.hasOwnProperty(B))R=Kd(D,b,c,d,!1,!0,h[B]);else if(m.hasOwnProperty(B))p.Fc=m[B],R=p.Fc.qa?D.map(function(X){return function(U){return Ld(U,X.Fc,b,c,d)}}(p)):Ld(D,p.Fc,b,c,d);else if(Array.isArray(D)){if(f.Ug&&0===D.length)continue; R=Kd(D,b,c,d,!0,!1)}else R=D instanceof yd?null:D;c(B,e,R)}}return e}function Ld(a,b,c,d,e){for(var f={},g=n(Object.keys(a)),h=g.next();!h.done;h=g.next()){h=h.value;var m=a[h];null!=m&&(f[h]=Kd(m,c,d,e,b.sa,b.ra,b.ka))}return f} function Kd(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 Fd(h,b,c,d,g)}):e&&!f?a.map(function(h){return h}):!e&&f?Fd(a,b,c,d,g):a instanceof yd?null:"object"===typeof a?JSON.parse(JSON.stringify(a)):a}function Jd(a,b){if(b instanceof C)a=Ad(b.i());else if(a instanceof C)a=Ad(a.i());else throw Error("Cannot find ClassMetadata.");return a};var Md=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^\\/?#]*)@)?([^\\/?#]*?)(?::([0-9]+))?(?=[\\/?#]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/,Nd=function(a,b){if(a){a=a.split("&");for(var c=0;cb)throw Error("Bad port number "+b);a.xc=b}else a.xc=null};Od.prototype.getPath=function(){return this.ac};Od.prototype.setPath=function(a,b){Qd(this);this.ac=b?Td(a,!0):a;return this};var Sd=function(a,b,c){Qd(a);b instanceof Ud?(a.Ea=b,a.Ea.Sf(a.Ba)):(c||(b=Vd(b,$d)),a.Ea=new Ud(b,a.Ba))};Od.prototype.getQuery=function(){return this.Ea.toString()}; Od.prototype.removeParameter=function(a){Qd(this);this.Ea.remove(a);return this};var Qd=function(a){if(a.Xj)throw Error("Tried to modify a read-only Uri");};Od.prototype.Sf=function(a){this.Ba=a;this.Ea&&this.Ea.Sf(a)}; var ae=function(a){return a instanceof Od?a.clone():new Od(a,void 0)},Td=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},Vd=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,be),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},be=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},Wd=/[#\/\?@]/g,Yd=/[#\?:]/g,Xd=/[#\?]/g,$d=/[#\?@]/g,Zd=/#/g,Ud=function(a,b){this.$=this.N=null;this.va=a||null;this.Ba=!!b}, ce=function(a){a.N||(a.N=new hd,a.$=0,a.va&&Nd(a.va,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};k=Ud.prototype;k.S=function(){ce(this);return this.$};k.add=function(a,b){ce(this);this.va=null;a=de(this,a);var c=this.N.get(a);c||this.N.set(a,c=[]);c.push(b);this.$=Ja(this.$)+1;return this};k.remove=function(a){ce(this);a=de(this,a);return this.N.nb(a)?(this.va=null,this.$=Ja(this.$)-this.N.get(a).length,this.N.remove(a)):!1};k.clear=function(){this.N=this.va=null;this.$=0}; k.isEmpty=function(){ce(this);return 0==this.$};k.nb=function(a){ce(this);a=de(this,a);return this.N.nb(a)};k.Kc=function(a){var b=this.T();return Va(b,a)};k.forEach=function(a,b){ce(this);this.N.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};k.Pa=function(){ce(this);for(var a=this.N.T(),b=this.N.Pa(),c=[],d=0;d