(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;cb?1:0};var hb;a:{var ib=r.navigator;if(ib){var jb=ib.userAgent;if(jb){hb=jb;break a}}hb=""}var kb=function(a){return-1!=hb.indexOf(a)};function lb(a,b,c){for(var d in a)b.call(c,a[d],d,a)}function mb(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c}function nb(a,b,c){var d={},e;for(e in a)d[e]=b.call(c,a[e],e,a);return d}function ob(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1}function pb(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b}function qb(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b}function rb(a,b){for(var c in a)if(a[c]==b)return!0;return!1} function sb(a){var b=tb,c;for(c in b)if(a.call(void 0,b[c],c,b))return c}function ub(a){for(var b in a)return!1;return!0}function vb(a,b){b in a&&delete a[b]}function wb(a){var b={},c;for(c in a)b[c]=a[c];return b} function xb(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]=xb(a[c]);return b}var yb="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "); function zb(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=Jb(b);a:{b=(a.ownerDocument&&a.ownerDocument.defaultView||r).document;if(b.querySelector&&(b=b.querySelector("script[nonce]"))&&(b=b.nonce||b.getAttribute("nonce"))&&Ub.test(b))break a;b=""}b&&a.setAttribute("nonce",b)},Ub=/^[\w+/_-]+[=]{0,2}$/;var Wb=function(a,b){for(var c=a.split("%s"),d="",e=Array.prototype.slice.call(arguments,1);e.length&&1parseFloat(gc)){fc=String(ic);break a}}fc=gc} var kc=fc,Zb={},lc=function(a){return $b(a,function(){for(var b=0,c=fb(String(kc)).split("."),d=fb(String(a)).split("."),e=Math.max(c.length,d.length),f=0;0==b&&f>>0),Bc=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[Jc]||(a[Jc]=function(b){return a.handleEvent(b)}); return a[Jc]};var A=function(){Da.call(this);this.La=new tc(this);this.Kj=this;this.Hf=null};x(A,Da);A.prototype[oc]=!0;k=A.prototype;k.addEventListener=function(a,b,c,d){Ac(this,a,b,c,d)};k.removeEventListener=function(a,b,c,d){Hc(this,a,b,c,d)}; k.dispatchEvent=function(a){Kc(this);var b=this.Hf;if(b){var c=[];for(var d=1;b;b=b.Hf)c.push(b),z(1E3>++d,"infinite loop")}b=this.Kj;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);zb(a,e)}e=!0;if(c)for(var f=c.length-1;!a.gd&&0<=f;f--){var g=a.currentTarget=c[f];e=Lc(g,d,!0,a)&&e}a.gd||(g=a.currentTarget=b,e=Lc(g,d,!0,a)&&e,a.gd||(e=Lc(g,d,!1,a)&&e));if(c)for(f=0;!a.gd&&f=a.length)throw Oc;if(b in a)return a[b++];b++}};c.next=c.rb.bind(c);return c}throw Error("Not implemented");},Rc=function(a,b){if(ta(a))try{Pa(a,b,void 0)}catch(c){if(c!==Oc)throw c;}else{a=Qc(a);try{for(;;)b.call(void 0,a.rb(),void 0,a)}catch(c){if(c!==Oc)throw c;}}};var Wc=function(a){if(a instanceof Sc||a instanceof Tc||a instanceof Uc)return a;if("function"==typeof a.next)return new Sc(function(){return Vc(a)});if("function"==typeof a[Symbol.iterator])return new Sc(function(){return a[Symbol.iterator]()});if("function"==typeof a.Ga)return new Sc(function(){return Vc(a.Ga())});throw Error("Not an iterator or iterable.");},Vc=function(a){if(!(a instanceof Pc))return a;var b=!1;return{next:function(){for(var c;!b;)try{c=a.rb();break}catch(d){if(d!==Oc)throw d; b=!0}return{value:c,done:b}}}},Sc=function(a){this.gf=a};Sc.prototype.Ga=function(){return new Tc(this.gf())};Sc.prototype[Symbol.iterator]=function(){return new Uc(this.gf())};Sc.prototype.hg=function(){return new Uc(this.gf())};var Tc=function(a){this.Yc=a};q(Tc,Pc);Tc.prototype.rb=function(){var a=this.Yc.next();if(a.done)throw Oc;return a.value};Tc.prototype.next=function(){return Tc.prototype.rb.call(this)};Tc.prototype[Symbol.iterator]=function(){return new Uc(this.Yc)};Tc.prototype.hg=function(){return new Uc(this.Yc)}; var Uc=function(a){Sc.call(this,function(){return a});this.Yc=a};q(Uc,Sc);Uc.prototype.next=function(){return this.Yc.next()};var Xc=function(a,b){this.A={};this.J=[];this.qd=this.size=0;var c=arguments.length;if(12*this.size&&Yc(this),!0):!1};var Yc=function(a){if(a.size!=a.J.length){for(var b=0,c=0;b=d.J.length)throw Oc;var f=d.J[b++];return a?f:d.A[f]};e.next=e.rb.bind(e);return e};k.tb=function(a){this.size=a};var Zc=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var ad=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},bd=function(a){if(a.W&&"function"==typeof a.W)return a.W();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 fd)&&5e&&(e+=d);return[a.ik,c,e,b.y].join("/")};kd.prototype.Tc=function(){return this.Fb.length};var md=function(a){y.call(this,"tileevent");this.count=a};x(md,y);var nd=function(){},od=new nd;function pd(a){return Object.assign({R:{},Kk:{},keys:[],Da:{},u:{},K:{},Yg:!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 qd(a,b){return E(b,a)}function rd(a,b,c){b[a]=c}function sd(){return{}}function td(a,b){var c=new a;return null==b?c:ud(b,vd,wd,xd,a)}function vd(a,b){return b[a]}function wd(a,b,c){b.h[a]=c} function xd(a){if(null==a)throw Error("Cannot deserialize, target constructor was null.");return new a} function ud(a,b,c,d,e){e=d(e);for(var f=yd(a,e),g=f.R||{},h=f.u||{},m=f.Da||{},p={},v=n(f.keys||[]),B=v.next();!B.done;p={Hc:p.Hc},B=v.next()){B=B.value;var D=b(B,a);if(null!=D){var R=void 0;if(g.hasOwnProperty(B)){if(f.Yg&&0===D.length)continue;R=zd(D,b,c,d,!0,!0,g[B])}else if(h.hasOwnProperty(B))R=zd(D,b,c,d,!1,!0,h[B]);else if(m.hasOwnProperty(B))p.Hc=m[B],R=p.Hc.qa?D.map(function(X){return function(U){return Ad(U,X.Hc,b,c,d)}}(p)):Ad(D,p.Hc,b,c,d);else if(Array.isArray(D)){if(f.Yg&&0===D.length)continue; R=zd(D,b,c,d,!0,!1)}else R=D instanceof nd?null:D;c(B,e,R)}}return e}function Ad(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]=zd(m,c,d,e,b.sa,b.ra,b.ka))}return f} function zd(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 ud(h,b,c,d,g)}):e&&!f?a.map(function(h){return h}):!e&&f?ud(a,b,c,d,g):a instanceof nd?null:"object"===typeof a?JSON.parse(JSON.stringify(a)):a}function yd(a,b){if(b instanceof C)a=pd(b.i());else if(a instanceof C)a=pd(a.i());else throw Error("Cannot find ClassMetadata.");return a};var Bd=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$"),Cd=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};Dd.prototype.getPath=function(){return this.dc};Dd.prototype.setPath=function(a,b){Fd(this);this.dc=b?Id(a,!0):a;return this};var Hd=function(a,b,c){Fd(a);b instanceof Jd?(a.Ea=b,a.Ea.Vf(a.Ba)):(c||(b=Kd(b,Pd)),a.Ea=new Jd(b,a.Ba))};Dd.prototype.getQuery=function(){return this.Ea.toString()}; Dd.prototype.removeParameter=function(a){Fd(this);this.Ea.remove(a);return this};var Fd=function(a){if(a.ck)throw Error("Tried to modify a read-only Uri");};Dd.prototype.Vf=function(a){this.Ba=a;this.Ea&&this.Ea.Vf(a)}; var Qd=function(a){return a instanceof Dd?a.clone():new Dd(a,void 0)},Id=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},Kd=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,Rd),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},Rd=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},Ld=/[#\/\?@]/g,Nd=/[#\?:]/g,Md=/[#\?]/g,Pd=/[#\?@]/g,Od=/#/g,Jd=function(a,b){this.$=this.O=null;this.va=a||null;this.Ba=!!b}, Sd=function(a){a.O||(a.O=new Xc,a.$=0,a.va&&Cd(a.va,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};k=Jd.prototype;k.S=function(){Sd(this);return this.$};k.add=function(a,b){Sd(this);this.va=null;a=Td(this,a);var c=this.O.get(a);c||this.O.set(a,c=[]);c.push(b);this.$=Ja(this.$)+1;return this};k.remove=function(a){Sd(this);a=Td(this,a);return this.O.ob(a)?(this.va=null,this.$=Ja(this.$)-this.O.get(a).length,this.O.remove(a)):!1};k.clear=function(){this.O=this.va=null;this.$=0}; k.isEmpty=function(){Sd(this);return 0==this.$};k.ob=function(a){Sd(this);a=Td(this,a);return this.O.ob(a)};k.Mc=function(a){var b=this.W();return Va(b,a)};k.forEach=function(a,b){Sd(this);this.O.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};k.Pa=function(){Sd(this);for(var a=this.O.W(),b=this.O.Pa(),c=[],d=0;d