(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;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 zb(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();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]=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.La=new Hc(this);this.Bj=this;this.Bf=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.Bf;if(b){var c=[];for(var d=1;b;b=b.Bf)c.push(b),z(1E3>++d,"infinite loop")}b=this.Bj;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.bd&&0<=f;f--){var g=a.currentTarget=c[f];e=Zc(g,d,!0,a)&&e}a.bd||(g=a.currentTarget=b,e=Zc(g,d,!0,a)&&e,a.bd||(e=Zc(g,d,!1,a)&&e));if(c)for(f=0;!a.bd&&f=a.length)throw bd;if(b in a)return a[b++];b++}};return c}throw Error("Not implemented");},ed=function(a,b){if(ta(a))try{Pa(a,b,void 0)}catch(c){if(c!==bd)throw c;}else{a=dd(a);try{for(;;)b.call(void 0,a.next(),void 0,a)}catch(c){if(c!==bd)throw c;}}};var jd=function(a){if(a instanceof fd||a instanceof gd||a instanceof hd)return a;if("function"==typeof a.next)return new fd(function(){return id(a)});if("function"==typeof a[Symbol.iterator])return new fd(function(){return a[Symbol.iterator]()});if("function"==typeof a.Ga)return new fd(function(){return id(a.Ga())});throw Error("Not an iterator or iterable.");},id=function(a){if(!(a instanceof cd))return a;var b=!1;return{next:function(){for(var c;!b;)try{c=a.next();break}catch(d){if(d!==bd)throw d; b=!0}return{value:c,done:b}}}},fd=function(a){this.af=a};fd.prototype.Ga=function(){return new gd(this.af())};fd.prototype[Symbol.iterator]=function(){return new hd(this.af())};fd.prototype.bg=function(){return new hd(this.af())};var gd=function(a){this.Tc=a};q(gd,cd);gd.prototype.next=function(){var a=this.Tc.next();if(a.done)throw bd;return a.value};gd.prototype[Symbol.iterator]=function(){return new hd(this.Tc)};gd.prototype.bg=function(){return new hd(this.Tc)}; var hd=function(a){fd.call(this,function(){return a});this.Tc=a};q(hd,fd);hd.prototype.next=function(){return this.Tc.next()};var kd=function(a,b){this.F={};this.J=[];this.ld=this.size=0;var c=arguments.length;if(12*this.size&&ld(this),!0):!1};var ld=function(a){if(a.size!=a.J.length){for(var b=0,c=0;b=d.J.length)throw bd;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.N&&"function"==typeof a.N)a=a.N();else if(ta(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.T&&"function"==typeof a.T)return a.T();if("string"===typeof a)return a.split("");if(ta(a)){for(var b=[],c=a.length,d=0;dc)return!1;!(b instanceof td)&&5e&&(e+=d);return[a.$j,c,e,b.y].join("/")};yd.prototype.Oc=function(){return this.Cb.length};var Ad=function(a){y.call(this,"tileevent");this.count=a};x(Ad,y);var Bd=function(){},Cd=new Bd;function Dd(a){return Object.assign({S:{},Bk:{},keys:[],Da:{},u:{},K:{},Rg:!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 Ed(a,b){return E(b,a)}function Fd(a,b,c){b[a]=c}function Gd(){return{}}function Hd(a,b){var c=new a;return null==b?c:Id(b,Jd,Kd,Ld,a)}function Jd(a,b){return b[a]}function Kd(a,b,c){b.h[a]=c} function Ld(a){if(null==a)throw Error("Cannot deserialize, target constructor was null.");return new a} function Id(a,b,c,d,e){e=d(e);for(var f=Md(a,e),g=f.S||{},h=f.u||{},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.Rg&&0===D.length)continue;R=Nd(D,b,c,d,!0,!0,g[B])}else if(h.hasOwnProperty(B))R=Nd(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 Od(U,Y.Cc,b,c,d)}}(p)):Od(D,p.Cc,b,c,d);else if(Array.isArray(D)){if(f.Rg&&0===D.length)continue; R=Nd(D,b,c,d,!0,!1)}else R=D instanceof Bd?null:D;c(B,e,R)}}return e}function Od(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]=Nd(m,c,d,e,b.sa,b.ra,b.ka))}return f} function Nd(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 Id(h,b,c,d,g)}):e&&!f?a.map(function(h){return h}):!e&&f?Id(a,b,c,d,g):a instanceof Bd?null:"object"===typeof a?JSON.parse(JSON.stringify(a)):a}function Md(a,b){if(b instanceof C)a=Dd(b.i());else if(a instanceof C)a=Dd(a.i());else throw Error("Cannot find ClassMetadata.");return a};var Pd=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^\\/?#]*)@)?([^\\/?#]*?)(?::([0-9]+))?(?=[\\/?#]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/,Qd=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};Rd.prototype.getPath=function(){return this.pb};Rd.prototype.setPath=function(a,b){Td(this);this.pb=b?Wd(a,!0):a;return this};var Vd=function(a,b,c){Td(a);b instanceof Xd?(a.Ea=b,a.Ea.Pf(a.Ba)):(c||(b=Yd(b,ce)),a.Ea=new Xd(b,a.Ba))};Rd.prototype.getQuery=function(){return this.Ea.toString()}; Rd.prototype.removeParameter=function(a){Td(this);this.Ea.remove(a);return this};var Td=function(a){if(a.Uj)throw Error("Tried to modify a read-only Uri");};Rd.prototype.Pf=function(a){this.Ba=a;this.Ea&&this.Ea.Pf(a)}; var de=function(a){return a instanceof Rd?a.clone():new Rd(a,void 0)},Wd=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},Yd=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,fe),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},fe=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},Zd=/[#\/\?@]/g,ae=/[#\?:]/g,$d=/[#\?]/g,ce=/[#\?@]/g,be=/#/g,Xd=function(a,b){this.aa=this.O=null;this.va=a||null;this.Ba= !!b},ge=function(a){a.O||(a.O=new kd,a.aa=0,a.va&&Qd(a.va,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};k=Xd.prototype;k.N=function(){ge(this);return this.aa};k.add=function(a,b){ge(this);this.va=null;a=he(this,a);var c=this.O.get(a);c||this.O.set(a,c=[]);c.push(b);this.aa=Ja(this.aa)+1;return this};k.remove=function(a){ge(this);a=he(this,a);return this.O.vb(a)?(this.va=null,this.aa=Ja(this.aa)-this.O.get(a).length,this.O.remove(a)):!1}; k.clear=function(){this.O=this.va=null;this.aa=0};k.isEmpty=function(){ge(this);return 0==this.aa};k.vb=function(a){ge(this);a=he(this,a);return this.O.vb(a)};k.Hc=function(a){var b=this.T();return Xa(b,a)};k.forEach=function(a,b){ge(this);this.O.forEach(function(c,d){Pa(c,function(e){a.call(b,e,d,this)},this)},this)};k.Pa=function(){ge(this);for(var a=this.O.T(),b=this.O.Pa(),c=[],d=0;d