(function(){/* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ var f,aa=function(a){var b=0;return function(){return b2*this.i&&this.B(),!0):!1};f.B=function(){if(this.i!=this.g.length){for(var a=0,b=0;aa)throw Error("Bad port number "+a);this.A=a}else this.A=null;return this};f.M=function(a,b){this.D=b?R(a,!0):a;return this};f.O=function(a,b){a instanceof P?(this.h=a,this.h.V(this.g)):(b||(a=Q(a,ya)),this.h=new P(a,this.g));return this};f.W=function(){return this.h.toString()};f.m=function(a){return this.h.get(a)}; f.L=function(a,b){this.C=b?R(a):a;return this};var R=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},Q=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,za),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},za=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},ua=/[#\/\?@]/g,wa=/[#\?:]/g,va=/[#\?]/g,ya=/[#\?@]/g,xa=/#/g,P=function(a,b){this.h=this.g=null;this.i=a||null;this.j=!!b};f=P.prototype; f.l=function(){if(!this.g&&(this.g=new K,this.h=0,this.i)){var a=this;ta(this.i,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)})}};f.add=function(a,b){this.l();this.v();a=this.o(a);var c=this.g.get(a);c||this.g.set(a,c=[]);c.push(b);this.h=this.h+1;return this};f.J=function(a){this.l();a=this.o(a);return this.g.H(a)?(this.v(),this.h=this.h-this.g.get(a).length,this.g.T(a)):!1};f.I=function(a){this.l();a=this.o(a);return this.g.H(a)}; f.forEach=function(a,b){this.l();this.g.forEach(function(c,d){ba(c,function(e){a.call(b,e,d,this)},this)},this)};f.s=function(){this.l();for(var a=this.g.u(),b=this.g.s(),c=[],d=0;dn;)h=h.substring(0,h.length-1);return y(p,h)}};var ea=function(p){var m=0,h=0,n=0,L;return function(){var da=(new Date).getTime();if(L){var M=da-L;m+=M;h+=M*M}n++;L=da;p.value=[m,h,n].join("j")}},C=!1;if("Microsoft Internet Explorer"===b.appName)for(var fa=q(k.parentNode.childNodes),t=fa.next();!t.done;t=fa.next()){if(t=t.value,"SCRIPT"==t.nodeName&&t.attributes.src&&t.attributes.src.nodeValue==unescape(escape(c))){C=!0;break}}else C=!0;C&&(c=document.location.toString(), C=document.referrer,d("siteurl",c,c,250),d("ref",c,C,750),l.addEventListener?l.addEventListener("keyup",ea(y("ss","")),!1):l.attachEvent&&l.attachEvent("onkeyup",ea(y("ss",""))));"Win32"==b.platform&&(l.style.cssText="border: 1px solid #7e9db9; padding: 2px;");window.history.g&&(window.history.g="compatible");c=function(){if(""===l.value){l.placeholder="";var p=F("https://www.google.com/cse/static/images/1x/"+a+"/branding.png")||G;p={background:'#FFFFFF url("'+E(p)+'") top 50% left 9px no-repeat'}; var m="";for(n in p)if(Object.prototype.hasOwnProperty.call(p,n)){if(!/^[-_a-zA-Z0-9]+$/.test(n))throw Error("Name allows only [-_a-zA-Z0-9], got: "+n);var h=p[n];null!=h&&(h=Array.isArray(h)?ca(h,ra).join(" "):ra(h),m+=n+":"+h+";")}var n=m?new I(m,H):la;l.style.cssText=n instanceof I&&n.constructor===I?n.i:"type_error:SafeStyle"}};l.onblur=c;l.onfocus=function(){l.placeholder="";l.style.background="#FFFFFF"};/[&?]q=[^&]/.test(g)||c()}},S; a:{var Ba=document.currentScript;if(!Ba)for(var Ca=q(document.getElementsByTagName("script")),T=Ca.next();!T.done;T=Ca.next()){var Da=T.value,U=Da.getAttribute("src"),V;if(V=U){var Ea=U.indexOf("?"),Fa=-1===Ea?U.length:Ea;V=/http(s?):\/\/((www)|(cse))\.google\.([a-z.]{2,})\/((coop\/)?)cse\/brand/.test(U.substring(0,Fa))||/http(s?):\/\/cse\.google\.([a-z.]{2,})\/brand/.test(U.substring(0,Fa))}if(V){S=Da;break a}}S=Ba}var W=S,Ga=location.search; if(W&&W.getAttribute("src")){var Ha=W.getAttribute("src"),X=new O(Ha),Y;a:{var Ia=X.m("lang");if(Ia){var Ja=Ia.replace(/-/g,"_");if(Ja in u){Y=Ja;break a}}b:{if(navigator.languages&&0