(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"==typeof Object.assign?Object.assign:function(a,b){for(var c=1;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;fb?null:"string"===typeof a?a.charAt(b):a[b]}function Xa(a,b){return 0<=Na(a,b)}function Ya(a){if(!Array.isArray(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0}function Za(a,b){b=Na(a,b);var c;(c=0<=b)&&$a(a,b);return c}function $a(a,b){z(null!=a.length);Array.prototype.splice.call(a,b,1)} function ab(a){return Array.prototype.concat.apply([],arguments)}function bb(a){var b=a.length;if(0=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)} function eb(a){var b=[];if(0>a-0)return[];for(var c=0;c/g,kb=/"/g,lb=/'/g,mb=/\x00/g,nb=/[\x00&<>"']/,ob=function(a,b){return ab?1:0};var pb;a:{var qb=r.navigator;if(qb){var rb=qb.userAgent;if(rb){pb=rb;break a}}pb=""}var sb=function(a){return-1!=pb.indexOf(a)};function tb(a,b,c){for(var d in a)b.call(c,a[d],d,a)}function ub(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c}function vb(a,b,c){var d={},e;for(e in a)d[e]=b.call(c,a[e],e,a);return d}function wb(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1}function xb(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b}function yb(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b}function Ab(a,b){for(var c in a)if(a[c]==b)return!0;return!1} function Bb(a){var b=Cb,c;for(c in b)if(a.call(void 0,b[c],c,b))return c}function Db(a){for(var b in a)return!1;return!0}function Eb(a,b){b in a&&delete a[b]}function Fb(a){var b={},c;for(c in a)b[c]=a[c];return b} function Gb(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]=Gb(a[c]);return b}var Hb="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "); function Ib(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=Rb(b);a:{b=(a.ownerDocument&&a.ownerDocument.defaultView||r).document;if(b.querySelector&&(b=b.querySelector("script[nonce]"))&&(b=b.nonce||b.getAttribute("nonce"))&&bc.test(b))break a;b=""}b&&a.setAttribute("nonce",b)},bc=/^[\w+/_-]+[=]{0,2}$/;var dc=function(a,b){for(var c=a.split("%s"),d="",e=Array.prototype.slice.call(arguments,1);e.length&&1")&&(a=a.replace(jb,">")),-1!=a.indexOf('"')&&(a=a.replace(kb,""")),-1!=a.indexOf("'")&&(a=a.replace(lb,"'")),-1!=a.indexOf("\x00")&&(a=a.replace(mb,"�")));return a},fc=function(a){var b=1;a= a.split(":");for(var c=[];0parseFloat(qc)){pc=String(sc);break a}}pc=qc} var tc=pc,hc={},uc=function(a){return ic(a,function(){for(var b=0,c=gb(String(tc)).split("."),d=gb(String(a)).split("."),e=Math.max(c.length,d.length),f=0;0==b&&f>>0),Pc=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[Xc]||(a[Xc]=function(b){return a.handleEvent(b)}); return a[Xc]};var A=function(){Da.call(this);this.Ka=new Hc(this);this.yj=this;this.zf=null};x(A,Da);A.prototype[Cc]=!0;k=A.prototype;k.addEventListener=function(a,b,c,d){Oc(this,a,b,c,d)};k.removeEventListener=function(a,b,c,d){Vc(this,a,b,c,d)}; k.dispatchEvent=function(a){Yc(this);var b=this.zf;if(b){var c=[];for(var d=1;b;b=b.zf)c.push(b),z(1E3>++d,"infinite loop")}b=this.yj;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);Ib(a,e)}e=!0;if(c)for(var f=c.length-1;!a.ad&&0<=f;f--){var g=a.currentTarget=c[f];e=Zc(g,d,!0,a)&&e}a.ad||(g=a.currentTarget=b,e=Zc(g,d,!0,a)&&e,a.ad||(e=Zc(g,d,!1,a)&&e));if(c)for(f=0;!a.ad&&f=a.length)throw $c;if(b in a)return a[b++];b++}};return c}throw Error("Not implemented");},cd=function(a,b){if(ta(a))try{Pa(a,b,void 0)}catch(c){if(c!==$c)throw c;}else{a=bd(a);try{for(;;)b.call(void 0,a.next(),void 0,a)}catch(c){if(c!==$c)throw c;}}};var dd=function(a,b){this.D={};this.J=[];this.kd=this.K=0;var c=arguments.length;if(12*this.K&&ed(this),!0):!1};var ed=function(a){if(a.K!=a.J.length){for(var b=0,c=0;b=d.J.length)throw $c;var f=d.J[b++];return a?f:d.D[f]};return e};var fd=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var hd=function(a){if(a.O&&"function"==typeof a.O)a=a.O();else if(ta(a)||"string"===typeof a)a=a.length;else{var b=0,c;for(c in a)b++;a=b}return a},id=function(a){if(a.U&&"function"==typeof a.U)return a.U();if("string"===typeof a)return a.split("");if(ta(a)){for(var b=[],c=a.length,d=0;dc)return!1;!(b instanceof md)&&5e&&(e+=d);return[a.Vj,c,e,b.y].join("/")};rd.prototype.Oc=function(){return this.Bb.length};var td=function(a){y.call(this,"tileevent");this.count=a};x(td,y);var ud=function(){},vd=new ud;function wd(a){return Object.assign({S:{},vk:{},keys:[],Da:{},s:{},L:{},Og:!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 xd(a,b){return E(b,a)}function yd(a,b,c){b[a]=c}function zd(){return{}}function Ad(a,b){var c=new a;return null==b?c:Bd(b,Cd,Dd,Ed,a)}function Cd(a,b){return b[a]}function Dd(a,b,c){b.h[a]=c} function Ed(a){if(null==a)throw Error("Cannot deserialize, target constructor was null.");return new a} function Bd(a,b,c,d,e){e=d(e);for(var f=Fd(a,e),g=f.S||{},h=f.s||{},m=f.Da||{},p={},v=n(f.keys||[]),B=v.next();!B.done;p={Cc:p.Cc},B=v.next()){B=B.value;var D=b(B,a);if(null!=D){var R=void 0;if(g.hasOwnProperty(B)){if(f.Og&&0===D.length)continue;R=Gd(D,b,c,d,!0,!0,g[B])}else if(h.hasOwnProperty(B))R=Gd(D,b,c,d,!1,!0,h[B]);else if(m.hasOwnProperty(B))p.Cc=m[B],R=p.Cc.qa?D.map(function(Y){return function(U){return Hd(U,Y.Cc,b,c,d)}}(p)):Hd(D,p.Cc,b,c,d);else if(Array.isArray(D)){if(f.Og&&0===D.length)continue; R=Gd(D,b,c,d,!0,!1)}else R=D instanceof ud?null:D;c(B,e,R)}}return e}function Hd(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]=Gd(m,c,d,e,b.sa,b.ra,b.ka))}return f} function Gd(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 Bd(h,b,c,d,g)}):e&&!f?a.map(function(h){return h}):!e&&f?Bd(a,b,c,d,g):a instanceof ud?null:"object"===typeof a?JSON.parse(JSON.stringify(a)):a}function Fd(a,b){if(b instanceof C)a=wd(b.i());else if(a instanceof C)a=wd(a.i());else throw Error("Cannot find ClassMetadata.");return a};var Id=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^\\/?#]*)@)?([^\\/?#]*?)(?::([0-9]+))?(?=[\\/?#]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/,Jd=function(a,b){if(a){a=a.split("&");for(var c=0;cb)throw Error("Bad port number "+b);a.uc=b}else a.uc=null};Kd.prototype.getPath=function(){return this.ob};Kd.prototype.setPath=function(a,b){Md(this);this.ob=b?Pd(a,!0):a;return this};var Od=function(a,b,c){Md(a);b instanceof Qd?(a.Ea=b,a.Ea.Nf(a.Ba)):(c||(b=Rd(b,Wd)),a.Ea=new Qd(b,a.Ba))};Kd.prototype.getQuery=function(){return this.Ea.toString()}; Kd.prototype.removeParameter=function(a){Md(this);this.Ea.remove(a);return this};var Md=function(a){if(a.Qj)throw Error("Tried to modify a read-only Uri");};Kd.prototype.Nf=function(a){this.Ba=a;this.Ea&&this.Ea.Nf(a)}; var Xd=function(a){return a instanceof Kd?a.clone():new Kd(a,void 0)},Pd=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},Rd=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,Yd),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},Yd=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},Sd=/[#\/\?@]/g,Ud=/[#\?:]/g,Td=/[#\?]/g,Wd=/[#\?@]/g,Vd=/#/g,Qd=function(a,b){this.K=this.P=null;this.va=a||null;this.Ba=!!b}, Zd=function(a){a.P||(a.P=new dd,a.K=0,a.va&&Jd(a.va,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};k=Qd.prototype;k.O=function(){Zd(this);return this.K};k.add=function(a,b){Zd(this);this.va=null;a=$d(this,a);var c=this.P.get(a);c||this.P.set(a,c=[]);c.push(b);this.K=Ja(this.K)+1;return this};k.remove=function(a){Zd(this);a=$d(this,a);return this.P.ub(a)?(this.va=null,this.K=Ja(this.K)-this.P.get(a).length,this.P.remove(a)):!1};k.clear=function(){this.P=this.va=null;this.K=0}; k.isEmpty=function(){Zd(this);return 0==this.K};k.ub=function(a){Zd(this);a=$d(this,a);return this.P.ub(a)};k.Hc=function(a){var b=this.U();return Xa(b,a)};k.forEach=function(a,b){Zd(this);this.P.forEach(function(c,d){Pa(c,function(e){a.call(b,e,d,this)},this)},this)};k.Na=function(){Zd(this);for(var a=this.P.U(),b=this.P.Na(),c=[],d=0;d