(function(){/* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ 'use strict';var l;function aa(a){var b=0;return function(){return bc&&(c=Math.max(c+e,0));ca.length?"&":"")+encodeURIComponent(d)+"="+encodeURIComponent(String(f)))}}return b}var za={};var Ia=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]};function Ja(a,b){return ab?1:0};var G;a:{var Ka=q.navigator;if(Ka){var La=Ka.userAgent;if(La){G=La;break a}}G=""}function H(a){return-1!=G.indexOf(a)};function Ma(a,b){for(var c in a)b.call(void 0,a[c],c,a)}var Na="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function Oa(a,b){for(var c,d,e=1;eparseFloat(Ya)){Xa=String($a);break a}}Xa=Ya}var bb=Xa,Ra={}; function cb(){return Qa(function(){for(var a=0,b=Ia(String(bb)).split("."),c=Ia("11").split("."),d=Math.max(b.length,c.length),e=0;0==a&&ea.b&&(a.b++,b.next=a.a,a.a=b)};function ib(a){q.setTimeout(function(){throw a;},0)}var jb; function kb(){var a=q.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!H("Presto")&&(a=function(){var e=fb("IFRAME");e.style.display="none";document.documentElement.appendChild(e);var g=e.contentWindow;e=g.document;e.open();e.close();var f="callImmediate"+Math.random(),h="file:"==g.location.protocol?"*":g.location.protocol+"//"+g.location.host;e=x(function(k){if(("*"==h||k.origin==h)&&k.data==f)this.port1.onmessage()},this);g.addEventListener("message", e,!1);this.port1={};this.port2={postMessage:function(){g.postMessage(f,h)}}});if("undefined"!==typeof a&&!H("Trident")&&!H("MSIE")){var b=new a,c={},d=c;b.port1.onmessage=function(){if(void 0!==c.next){c=c.next;var e=c.I;c.I=null;e()}};return function(e){d.next={I:e};d=d.next;b.port2.postMessage(0)}}return function(e){q.setTimeout(e,0)}};function lb(){this.b=this.a=null}var nb=new gb(function(){return new mb},function(a){a.reset()});lb.prototype.add=function(a,b){var c=nb.get();c.set(a,b);this.b?this.b.next=c:this.a=c;this.b=c};function ob(){var a=pb,b=null;a.a&&(b=a.a,a.a=a.a.next,a.a||(a.b=null),b.next=null);return b}function mb(){this.next=this.b=this.a=null}mb.prototype.set=function(a,b){this.a=a;this.b=b;this.next=null};mb.prototype.reset=function(){this.next=this.b=this.a=null};function qb(a,b){rb||sb();tb||(rb(),tb=!0);pb.add(a,b)}var rb;function sb(){if(q.Promise&&q.Promise.resolve){var a=q.Promise.resolve(void 0);rb=function(){a.then(ub)}}else rb=function(){var b=ub;!v(q.setImmediate)||q.Window&&q.Window.prototype&&!H("Edge")&&q.Window.prototype.setImmediate==q.setImmediate?(jb||(jb=kb()),jb(b)):q.setImmediate(b)}}var tb=!1,pb=new lb;function ub(){for(var a;a=ob();){try{a.a.call(a.b)}catch(b){ib(b)}hb(nb,a)}tb=!1};function vb(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};function I(a){this.a=0;this.j=void 0;this.f=this.b=this.c=null;this.h=this.i=!1;if(a!=u)try{var b=this;a.call(void 0,function(c){J(b,2,c)},function(c){J(b,3,c)})}catch(c){J(this,3,c)}}function wb(){this.next=this.c=this.b=this.f=this.a=null;this.h=!1}wb.prototype.reset=function(){this.c=this.b=this.f=this.a=null;this.h=!1};var xb=new gb(function(){return new wb},function(a){a.reset()});function yb(a,b,c){var d=xb.get();d.f=a;d.b=b;d.c=c;return d} I.prototype.then=function(a,b,c){return zb(this,v(a)?a:null,v(b)?b:null,c)};I.prototype.$goog_Thenable=!0;I.prototype.cancel=function(a){if(0==this.a){var b=new K(a);qb(function(){Ab(this,b)},this)}};function Ab(a,b){if(0==a.a)if(a.c){var c=a.c;if(c.b){for(var d=0,e=null,g=null,f=c.b;f&&(f.h||(d++,f.a==a&&(e=f),!(e&&1=b.l&&b.cancel())}this.F?this.F.call(this.D,this):this.s=!0;this.a||(a=new M(this),N(this),O(this,!1,a))}};L.prototype.u=function(a,b){this.j=!1;O(this,a,b)};function O(a,b,c){a.a=!0;a.c=c;a.f=!b;Jb(a)} function N(a){if(a.a){if(!a.s)throw new Kb(a);a.s=!1}}function P(a,b,c,d){a.h.push([b,c,d]);a.a&&Jb(a);return a}L.prototype.then=function(a,b,c){var d,e,g=new I(function(f,h){d=f;e=h});P(this,d,function(f){f instanceof M?g.cancel():e(f)});return g.then(a,b,c)};L.prototype.$goog_Thenable=!0;function Lb(a){return va(a.h,function(b){return v(b[1])})} function Jb(a){if(a.i&&a.a&&Lb(a)){var b=a.i,c=Mb[b];c&&(q.clearTimeout(c.a),delete Mb[b]);a.i=0}a.b&&(a.b.l--,delete a.b);b=a.c;for(var d=c=!1;a.h.length&&!a.j;){var e=a.h.shift(),g=e[0],f=e[1];e=e[2];if(g=a.f?f:g)try{var h=g.call(e||a.D,b);void 0!==h&&(a.f=a.f&&(h==b||h instanceof Error),a.c=b=h);if(vb(b)||"function"===typeof q.Promise&&b instanceof q.Promise)d=!0,a.j=!0}catch(k){b=k,a.f=!0,Lb(a)||(c=!0)}}a.c=b;d&&(h=x(a.u,a,!0),d=x(a.u,a,!1),b instanceof L?(P(b,h,d),b.Z=!0):b.then(h,d));c&&(b= new Nb(b),Mb[b.a]=b,a.i=b.a)}function Ob(){var a=new L;N(a);O(a,!0,null);return a}function Kb(){B.call(this)}z(Kb,B);Kb.prototype.message="Deferred has already fired";Kb.prototype.name="AlreadyCalledError";function M(){B.call(this)}z(M,B);M.prototype.message="Deferred was canceled";M.prototype.name="CanceledError";function Nb(a){this.a=q.setTimeout(x(this.c,this),0);this.b=a}Nb.prototype.c=function(){delete Mb[this.a];throw this.b;};var Mb={};var Pb,Qb=[];function Rb(a,b){function c(){var e=a.shift();e=Sb(e,b);a.length&&P(e,c,c,void 0);return e}if(!a.length)return Ob();var d=Qb.length;ya(Qb,a);if(d)return Pb;a=Qb;return Pb=c()} function Sb(a,b){var c=b||{};b=c.document||document;var d=Ba(a).toString(),e=fb("SCRIPT"),g={L:e,N:void 0},f=new L(Tb,g),h=null,k=null!=c.timeout?c.timeout:5E3;0b)throw Error("Bad port number "+b);a.l=b}else a.l=null}function gc(a,b,c){b instanceof U?(a.c=b,mc(a.c,a.i)):(c||(b=V(b,nc)),a.c=new U(b,a.i))} function T(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""}function V(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,oc),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null}function oc(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)}var ic=/[#\/\?@]/g,kc=/[#\?:]/g,jc=/[#\?]/g,nc=/[#\?@]/g,lc=/#/g;function U(a,b){this.b=this.a=null;this.c=a||null;this.f=!!b} function W(a){a.a||(a.a=new ac,a.b=0,a.c&&dc(a.c,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))}l=U.prototype;l.add=function(a,b){W(this);this.c=null;a=X(this,a);var c=this.a.get(a);c||this.a.set(a,c=[]);c.push(b);this.b+=1;return this};function pc(a,b){W(a);b=X(a,b);R(a.a.b,b)&&(a.c=null,a.b-=a.a.get(b).length,a=a.a,R(a.b,b)&&(delete a.b[b],a.c--,a.a.length>2*a.c&&bc(a)))}function qc(a,b){W(a);b=X(a,b);return R(a.a.b,b)} l.forEach=function(a,b){W(this);this.a.forEach(function(c,d){ta(c,function(e){a.call(b,e,d,this)},this)},this)};l.v=function(){W(this);for(var a=this.a.A(),b=this.a.v(),c=[],d=0;d