(function(){'use strict';var l={push:a=>void a()};const m=new Set("aaft aafit aafct irli sart scrt".split(" "));var n=function(a){if(Array.isArray(a.g.cbvi))for(const b of a.g.cbvi)b();a.g.cbvi=l},p=function(a,b="all"){const d=b==="all";n(a);var c,e;let f;const g=((c=google.stvsc)==null?void 0:c.ns)||((e=window.performance)==null?void 0:(f=e.timing)==null?void 0:f.navigationStart);g&&(a.i.ns=g);a:{c=window.location.search;if(!(window._csc==="agsa"&&window._cshid||window.performance&&window.performance.navigation&&window.performance.navigation.type)&&(c=(c=c.match(RegExp("[?&]qsubts=(\\d+)")))&&Number(c[1]),c>0))break a;c=void 0}c&&(a.i.gsans=c);c=a.g.t.getAttribute("eid");e=[];for(const h of Object.keys(a.i))!d&&m.has(h)||e.push(`${h}.${a.i[h]-a.L}`);for(const h of Object.keys(a.j))!d&&m.has(h.split("-")[0])||e.push(`${h}.${a.j[h]-a.L}`);b=`/gen_204?s=async&astyp=${a.g.astyp}&t=${b}&atyp=csi&ei=${c}&rt=${e.join(",")}`;d&&(a.v&&(b+=`&twt=${Math.round(a.v)}&mwt=${Math.round(a.C)}`),a.B&&(b+=`&lvhr=${a.B}`),b+=`&${"imn"}=${a.G}`,b+=`&${"ima"}=${a.H}`);b+=`&${"folid"}=${a.g.id}`;google.log("","",b)},q= function(a){a.G!==a.A||a.I||(a.i.art=Date.now(),p(a))},r=function(a){a.H===a.M&&n(a)},t=function(a,b,d){var c=a.g.t.querySelectorAll("[data-subtree]");for(const f of c){var e=f.dataset.subtree;e&&(c=`${"saft"}-${e}`,e=`${"sart"}-${e}`,f.contains(b)||b.contains(f))&&(a.j[c]=d,a.j[e]=d)}},u=function(a,b,d){var c=google.cv(b,!google.bpv,a.g.t);c&1?(c=Date.now(),d&&(a.B=d),a.i.aaft=c,a.i.aafct=c,t(a,b,c)):c&4&&(a.N=!0,r(a))},v=function(a,b,d,c=!1){b.getAttribute("data-deferred")==="1"?google.rll(b,!0,()=>{v(a,b,d,c)}):c||(b.getAttribute("data-deferred")==="2"&&b.setAttribute("data-deferred","3"),c=!0,w(a,b,d))},x=function(a,b,d){u(a,b,d);b=b.getElementsByTagName("img");for(d=0;d{v(a,c,g)});a.i.irfi||(a.i.irfi=Date.now());a.i.irli=Date.now()}},w=function(a,b,d){const c=Date.now();a.i.irfie||(a.i.irfie=c);++a.A;d&&(++a.M,a.i.aaft=c,a.i.aafit=c,t(a,b,c));a.N&&r(a);a.S&&q(a)},y=function(a,b,d){var c=a.g.t.querySelectorAll("[data-subtree]");for(const e of c){c=e.dataset.subtree;if(!c)continue;const f=`${"sirt"}-${c}`,g=`${"sart"}-${c}`,h=`${"scrt"}-${c}`;let k=!1;b.contains(e)?(a.j[f]||(k=!0,a.j[f]=d),a.j[g]=d,a.j[h]=d):e.contains(b)&&(a.j[g]=d,a.j[h]=d);c==="mfc"&&k&&p(a,"sirt-mfc")}},z=class{constructor(a){this.g=a;this.L=Date.now();this.j= {};this.i={};this.M=this.H=this.v=this.A=this.G=this.F=this.C=this.B=0;if(this.g.t&&google.cv(this.g.t,!1)&1){a=this.g.id;var b;let d;const c=(b=window.google)==null?void 0:(d=b.timers)==null?void 0:d.load;c&&(b=c.e.folr,google.c.e("load","folr",b?`${b},${a}`:a))}}}; var A=class{constructor(a){this.g=a}toString(){return this.g}};function B(a){if(a instanceof A)return a.g;throw Error("a");};function C(a){var b=google.cr,d=[];const c=[];for(var e=0;e{b.g.req.addEventListener("readystatechange",b.J);b.g.req.open("GET",b.g.url);for(const d of Object.keys(b.g.h))b.g.req.setRequestHeader(d,b.g.h[d]);b.i.ipf=Date.now();b.g.req.send()})} var G=function(a){a.s===0&&a.R&&google.drty&&google.drty()},H=function(a){if(!a.O){a.O=!0;if(Array.isArray(a.g.cbfd))for(const b of a.g.cbfd)b();a.g.cbfd=l}},I=function(a,b){a.I=!0;a.i.ft=Date.now();a.v=0;a.g.req.removeEventListener("readystatechange",a.J);a.g.req.abort();p(a);google.fce(a.g.t,a.g.cee,b);H(a)},P=function(a,b,d){var c=b[0];b=b[1];if(!a.T&&c===2&&b==null)return J(a,d),a.T=!0,a.g.t;switch(c){case 1:I(a,Error(d));break;case 2:return K(a,b,d);case 6:return L(a,b,d);case 3:M(a,b,d,!0);break;case 4:a.s++;google.ia.dq.push({astyp:a.g.astyp,cb:()=>{N(d);a.s--;G(a)}});break;case 7:O(a,d);break;case 5:google.ia.dq.push({astyp:a.g.astyp,md:d});break;case 12:c=JSON.parse(d),C(c.css_modules)}},J=function(a,b){const d=Date.now();a.i.st=d;a.g.t.innerHTML=b;y(a,a.g.t,d);Q(a.g.t);a.g.t.setAttribute("eid",a.K[0]);x(a,a.g.t,++a.l)},K=function(a,b,d){b=document.getElementById(b);b.innerHTML=d;a.l++;for(const c of b.children)u(a,c,a.l);y(a,b,Date.now());Q(b);return b},L=function(a,b,d){const c= a.g.t.querySelector(`[data-async-ph="${b}"]`);if(c)return R(a,c,d);a.s++;google.ia.dq.push({astyp:a.g.astyp,cb:()=>{var e=a.g.t.querySelector(`[data-async-ph="${b}"]`);e?(R(a,e,d),a.s--,G(a)):(e=Error(),e.message="ia_no_ph",google.ml(e,!1,{t:b}))}})},M=function(a,b,d,c){let e;const f=(e=document.getElementById(b))!=null?e:a.g.t.querySelector(`img[data-iid="${b}"]`);f?(f.setAttribute("data-deferred","2"),f.src=d):c?a.g.cbfd.push(()=>{google.ia.dq.push({astyp:a.g.astyp,cb:()=>{M(a,b,d,!1)}})}):(c=Error(),c.message="ia_no_img",google.ml(c,!1,{t:b,u:d}))},N=function(a){const b=document.createElement("script");b.textContent=a;try{document.body.appendChild(b)}catch(d){google.ml(d,!1,{script:a.substring(0,500)})}},O=function(a,b){const d=document.createElement("style");try{d.appendChild(document.createTextNode(b)),a.g.t.appendChild(d)}catch(c){google.ml(c,!1,{css:b.substring(0,500)})}},Q=function(a){a=a.querySelectorAll('script:not([type]),script[type="text/javascript"]');for(const b of a)N(b.text)},R= function(a,b,d){const c=document.createElement("div");c.innerHTML=d;const e=Array.from(c.getElementsByTagName("script"),g=>g.text),f=document.createDocumentFragment();for(;c.firstChild;)try{f.appendChild(c.firstChild)}catch(g){google.ml(g,!1,{script:d.substring(0,500)});return}d=Array.from(f.children);b.parentElement.replaceChild(f,b);b=Date.now();a.l++;for(const g of e)N(g);for(const g of d)y(a,g,b),x(a,g,a.l);return f},F=class extends z{constructor(a){super(a);this.J=this.P.bind(this);this.s=this.l= this.cursor=0;a.cbvi.push(()=>{this.R=!0;G(this)})}P(){const a=this.g.req.readyState;try{if(a>=2&&(this.i.ipfr||(this.i.ttfb=this.i.ipfr=Date.now()),this.g.req.status!==200)){I(this,Error(`${this.g.req.status}`));return}if(a<3)return;this.F=performance.now();const d=this.g.req.responseText,c=d.length;if(c>=5){if(this.cursor===0){if(d.substring(0,5)!==")]}'\n"){I(this,Error("d"));return}this.cursor=5}let e;for(;!this.I;){e=d.indexOf(";",this.cursor);if(e===-1)break;const g=parseInt(d.substring(this.cursor,e),16);if(isNaN(g))break;if(cthis.C&&(this.C=f);this.v+=f;this.F=0}}catch(d){I(this,d);return}a===4&&(this.i.ipfrl=this.i.acrt=Date.now(),this.i.aaft||(this.i.aaft=this.i.acrt),this.S=!0,q(this),H(this),r(this))}};google.ia.mi[1]==null&&(google.ia.mi[1]=E);}).call(this);