(function(){/* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ var m,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}); t("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;cc&&(c=Math.max(c+e,0));cb?null:"string"===typeof a?a.charAt(b):a[b]}function Oa(a,b){b=Ia(a,b);var c;(c=0<=b)&&Array.prototype.splice.call(a,b,1);return c}function Pa(a){return Array.prototype.concat.apply([],arguments)}function Qa(a){var b=a.length;if(0b?1:0};var ib;a:{var kb=x.navigator;if(kb){var lb=kb.userAgent;if(lb){ib=lb;break a}}ib=""}var H=function(a){return-1!=ib.indexOf(a)};var nb=function(a,b){a.src=bb(b);(b=mb(a.ownerDocument&&a.ownerDocument.defaultView))&&a.setAttribute("nonce",b)},mb=function(a){if(a&&a!=x)return ob(a.document,"script");null===pb&&(pb=ob(x.document,"script"));return pb},pb=null,qb=null,rb=/^[\w+/_-]+[=]{0,2}$/,ob=function(a,b){if(!a.querySelector)return"";var c=a.querySelector(b+"[nonce]");c||"style"!=b||(c=a.querySelector('link[rel="stylesheet"][nonce]'));return c&&(a=c.nonce||c.getAttribute("nonce"))&&rb.test(a)?a:""};var sb=function(a){sb[" "](a);return a};sb[" "]=B;var ub=function(a){var b=tb;return Object.prototype.hasOwnProperty.call(b,9)?b[9]:b[9]=a(9)};var vb=H("Opera"),wb=H("Trident")||H("MSIE"),xb=H("Edge"),yb=H("Gecko")&&!(-1!=ib.toLowerCase().indexOf("webkit")&&!H("Edge"))&&!(H("Trident")||H("MSIE"))&&!H("Edge"),zb=-1!=ib.toLowerCase().indexOf("webkit")&&!H("Edge"),Ab; a:{var Bb="",Cb=function(){var a=ib;if(yb)return/rv:([^\);]+)(\)|;)/.exec(a);if(xb)return/Edge\/([\d\.]+)/.exec(a);if(wb)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(zb)return/WebKit\/(\S+)/.exec(a);if(vb)return/(?:Version)[ \/]?(\S+)/.exec(a)}();Cb&&(Bb=Cb?Cb[1]:"");if(wb){var Db,Eb=x.document;Db=Eb?Eb.documentMode:void 0;if(null!=Db&&Db>parseFloat(Bb)){Ab=String(Db);break a}}Ab=Bb} var Fb=Ab,tb={},Gb=function(){return ub(function(){for(var a=0,b=gb(String(Fb)).split("."),c=gb("9").split("."),d=Math.max(b.length,c.length),e=0;0==a&&ee;e++){var f=c.concat(d[e].split(""));Hb[e]=f;for(var g=0;g>2;k=(k&3)<<4|l>>4;l=(l&15)<<2|h>>6;h&=63;f||(h=64,e||(l=64));c.push(b[g],b[k],b[l]||"",b[h]||"")}return c.join("")};try{return JSON.stringify(this.C&&M(this),Qb)}finally{Uint8Array.prototype.toJSON=a}}:function(){return JSON.stringify(this.C&&M(this),Qb)};var Qb=function(a,b){return"number"!==typeof b||!isNaN(b)&&Infinity!==b&&-Infinity!==b?b:String(b)},Rb=function(a,b){J=b=b?JSON.parse(b):null;a=new a(b);J=null;return a};I.prototype.toString=function(){return M(this).toString()}; I.prototype.getExtension=function(a){Kb(this);this.l||(this.l={});var b=a.kd;return a.md?a.qc()?(this.l[b]||(this.l[b]=Ka(this.v[b]||[],function(c){return new a.fc(c)})),this.l[b]):this.v[b]=this.v[b]||[]:a.qc()?(!this.l[b]&&this.v[b]&&(this.l[b]=new a.fc(this.v[b])),this.l[b]):this.v[b]};I.prototype.clone=function(){var a=Ha(M(this));J=a;a=new this.constructor(a);J=null;return a};try{(new self.OffscreenCanvas(0,0)).getContext("2d")}catch(a){};var Tb=function(a,b){Sa(b,function(c,d){c&&"object"==typeof c&&c.Ib&&(c=c.Gb());"style"==d?a.style.cssText=c:"class"==d?a.className=c:"for"==d?a.htmlFor=c:Sb.hasOwnProperty(d)?a.setAttribute(Sb[d],c):0==d.lastIndexOf("aria-",0)||0==d.lastIndexOf("data-",0)?a.setAttribute(d,c):a[d]=c})},Sb={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign", width:"width"},Ub=function(a,b,c){function d(h){h&&b.appendChild("string"===typeof h?a.createTextNode(h):h)}for(var e=1;e=b.eb&&b.cancel())}this.Mb?this.Mb.call(this.Db,this):this.tb=!0;this.ha||(a=new Hc(this),Ic(this),Jc(this,!1,a))}};P.prototype.Cb=function(a,b){this.cb=!1;Jc(this,a,b)}; var Jc=function(a,b,c){a.ha=!0;a.u=c;a.wa=!b;Kc(a)},Ic=function(a){if(a.ha){if(!a.tb)throw new Lc(a);a.tb=!1}};P.prototype.callback=function(a){Ic(this);Jc(this,!0,a)};var Mc=function(a,b,c){a.Wa.push([b,c,void 0]);a.ha&&Kc(a)};P.prototype.then=function(a,b,c){var d,e,f=new O(function(g,h){e=g;d=h});Mc(this,e,function(g){g instanceof Hc?f.cancel():d(g)});return f.then(a,b,c)};P.prototype.$goog_Thenable=!0; var Nc=function(a){return La(a.Wa,function(b){return"function"===typeof b[1]})},Kc=function(a){if(a.Ya&&a.ha&&Nc(a)){var b=a.Ya,c=Oc[b];c&&(x.clearTimeout(c.Pa),delete Oc[b]);a.Ya=0}a.A&&(a.A.eb--,delete a.A);b=a.u;for(var d=c=!1;a.Wa.length&&!a.cb;){var e=a.Wa.shift(),f=e[0],g=e[1];e=e[2];if(f=a.wa?g:f)try{var h=f.call(e||a.Db,b);void 0!==h&&(a.wa=a.wa&&(h==b||h instanceof Error),a.u=b=h);if(mc(b)||"function"===typeof x.Promise&&b instanceof x.Promise)d=!0,a.cb=!0}catch(k){b=k,a.wa=!0,Nc(a)||(c= !0)}}a.u=b;d&&(h=D(a.Cb,a,!0),d=D(a.Cb,a,!1),b instanceof P?(Mc(b,h,d),b.bc=!0):b.then(h,d));c&&(b=new Pc(b),Oc[b.Pa]=b,a.Ya=b.Pa)},Lc=function(){F.call(this)};E(Lc,F);Lc.prototype.message="Deferred has already fired";Lc.prototype.name="AlreadyCalledError";var Hc=function(){F.call(this)};E(Hc,F);Hc.prototype.message="Deferred was canceled";Hc.prototype.name="CanceledError";var Pc=function(a){this.Pa=x.setTimeout(D(this.Rc,this),0);this.Ka=a}; Pc.prototype.Rc=function(){delete Oc[this.Pa];throw this.Ka;};var Oc={};var Tc=function(a){var b={},c=b.document||document,d=bb(a).toString(),e=(new Yb(c)).createElement("SCRIPT"),f={Rb:e,Ea:void 0},g=new P(f),h=null,k=null!=b.timeout?b.timeout:5E3;0>>0),Id=function(a){if("function"===typeof a)return a;a[Qd]||(a[Qd]=function(b){return a.handleEvent(b)});return a[Qd]};var T=function(){td.call(this);this.G=new Ad(this);this.Zb=this;this.ob=null};E(T,td);T.prototype[wd]=!0;m=T.prototype;m.addEventListener=function(a,b,c,d){Hd(this,a,b,c,d)};m.removeEventListener=function(a,b,c,d){Od(this,a,b,c,d)}; m.dispatchEvent=function(a){var b=this.ob;if(b){var c=[];for(var d=1;b;b=b.ob)c.push(b),++d}b=this.Zb;d=a.type||a;if("string"===typeof a)a=new R(a,b);else if(a instanceof R)a.target=a.target||b;else{var e=a;a=new R(d,b);Va(a,e)}e=!0;if(c)for(var f=c.length-1;!a.Ba&&0<=f;f--){var g=a.currentTarget=c[f];e=Rd(g,d,!0,a)&&e}a.Ba||(g=a.currentTarget=b,e=Rd(g,d,!0,a)&&e,a.Ba||(e=Rd(g,d,!1,a)&&e));if(c)for(f=0;!a.Ba&&f2*this.i&&be(this),!0):!1};var be=function(a){if(a.i!=a.m.length){for(var b=0,c=0;b=d.m.length)throw Zd;var f=d.m[b++];return a?f:d.I[f]};return e};var ce=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var de=function(a){if(a.H&&"function"==typeof a.H)return a.H();if("string"===typeof a)return a.split("");if(Ba(a)){for(var b=[],c=a.length,d=0;d=h.length)&&(a.psdJson=h)}g||(d={invalidPsd:!0});g=(e?new Yb(Xb(e)):Fa||(Fa=new Yb)).createElement("SCRIPT");f&&g.setAttribute("nonce",f);g.onload=function(){c.startHelpPanel({helpcenter:a.helpCenterPath.split("/")[1],apiKey:"testpage",locale:a.locale,enableSendFeedback:a.enableSendFeedback||!1,serverData:b,helpApiData:{helpApiConfig:a, productData:d,productWindow:c}})};nb(g,eb(Za(new G(Xa,"https://www.gstatic.com/support/help/staging/main_frame/help_panel_staging_binary.js"))));e.body.appendChild(g)};for(var xe={en:["en-us"],ar:["ar-eg"],zh:["zh-cn","zh-hans","zh-hans-cn"],"zh-tw":["zh-hant","zh-hant-tw"],nl:["nl-nl"],"en-gb":[],fr:["fr-fr"],de:["de-de"],it:["it-it"],ja:["ja-jp"],ko:["ko-kr"],pl:["pl-pl"],pt:["pt-br"],ru:["ru-ru"],es:["es-es"],th:["th-th"],tr:["tr-tr"],"es-419":[],bg:["bg-bg"],ca:["ca-es"],hr:["hr-hr"],cs:["cs-cz"],da:["da-dk"],fil:["fil-ph","tl","tl-ph"],fi:["fi-fi"],el:["el-gr"],iw:["he","he-il","iw-il"],hi:["hi-in"],hu:["hu-hu"],id:["id-id","in","in-id"],lv:["lv-lv"],lt:["lt-lt"], no:["no-no","nb","nb-no"],"pt-pt":[],ro:["ro-ro","mo"],sr:["sr-rs","sr-cyrl-rs"],sk:["sk-sk"],sl:["sl-sl"],sv:["sv-se"],uk:["uk-ua"],vi:["vi-vn"],fa:["fa-ir"]},ye={},ze=ea(Object.keys(xe)),Ae=ze.next();!Ae.done;Ae=ze.next()){var Be=Ae.value;ye[Be]=Be;for(var Ce=ea(xe[Be]),De=Ce.next();!De.done;De=Ce.next())ye[De.value]=Be};var W=function(a,b){this.N=this.ba=this.T="";this.oa=null;this.$=this.K="";this.F=this.rc=!1;if(a instanceof W){this.F=void 0!==b?b:a.F;Ee(this,a.T);var c=a.ba;X(this);this.ba=c;c=a.N;X(this);this.N=c;Fe(this,a.oa);c=a.K;X(this);this.K=c;Ge(this,a.B.clone());a=a.$;X(this);this.$=a}else a&&(c=String(a).match(ge))?(this.F=!!b,Ee(this,c[1]||"",!0),a=c[2]||"",X(this),this.ba=He(a),a=c[3]||"",X(this),this.N=He(a,!0),Fe(this,c[4]),a=c[5]||"",X(this),this.K=He(a,!0),Ge(this,c[6]||"",!0),a=c[7]||"",X(this), this.$=He(a)):(this.F=!!b,this.B=new Ie(null,this.F))};W.prototype.toString=function(){var a=[],b=this.T;b&&a.push(Je(b,Ke,!0),":");var c=this.N;if(c||"file"==b)a.push("//"),(b=this.ba)&&a.push(Je(b,Ke,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.oa,null!=c&&a.push(":",String(c));if(c=this.K)this.N&&"/"!=c.charAt(0)&&a.push("/"),a.push(Je(c,"/"==c.charAt(0)?Le:Me,!0));(c=this.B.toString())&&a.push("?",c);(c=this.$)&&a.push("#",Je(c,Ne));return a.join("")}; W.prototype.resolve=function(a){var b=this.clone(),c=!!a.T;c?Ee(b,a.T):c=!!a.ba;if(c){var d=a.ba;X(b);b.ba=d}else c=!!a.N;c?(d=a.N,X(b),b.N=d):c=null!=a.oa;d=a.K;if(c)Fe(b,a.oa);else if(c=!!a.K){if("/"!=d.charAt(0))if(this.N&&!this.K)d="/"+d;else{var e=b.K.lastIndexOf("/");-1!=e&&(d=b.K.substr(0,e+1)+d)}e=d;if(".."==e||"."==e)d="";else if(-1!=e.indexOf("./")||-1!=e.indexOf("/.")){d=0==e.lastIndexOf("/",0);e=e.split("/");for(var f=[],g=0;gb)throw Error("Bad port number "+b);a.oa=b}else a.oa=null},Ge=function(a,b,c){X(a);b instanceof Ie?(a.B=b,a.B.sb(a.F)):(c||(b=Je(b,Oe)),a.B=new Ie(b,a.F))};W.prototype.getQuery=function(){return this.B.toString()};W.prototype.removeParameter=function(a){X(this);this.B.remove(a);return this};var X=function(a){if(a.rc)throw Error("Tried to modify a read-only Uri");}; W.prototype.sb=function(a){this.F=a;this.B&&this.B.sb(a)}; var He=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},Je=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,Pe),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},Pe=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},Ke=/[#\/\?@]/g,Me=/[#\?:]/g,Le=/[#\?]/g,Oe=/[#\?@]/g,Ne=/#/g,Ie=function(a,b){this.i=this.j=null;this.D=a||null;this.F=!!b},Y=function(a){a.j||(a.j=new ae,a.i=0,a.D&&he(a.D,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g, " ")),c)}))};m=Ie.prototype;m.add=function(a,b){Y(this);this.D=null;a=Qe(this,a);var c=this.j.get(a);c||this.j.set(a,c=[]);c.push(b);this.i+=1;return this};m.remove=function(a){Y(this);a=Qe(this,a);return this.j.X(a)?(this.D=null,this.i-=this.j.get(a).length,this.j.remove(a)):!1};m.clear=function(){this.j=this.D=null;this.i=0};m.mb=function(){Y(this);return 0==this.i};m.X=function(a){Y(this);a=Qe(this,a);return this.j.X(a)}; m.forEach=function(a,b){Y(this);this.j.forEach(function(c,d){Ja(c,function(e){a.call(b,e,d,this)},this)},this)};m.J=function(){Y(this);for(var a=this.j.H(),b=this.j.J(),c=[],d=0;dh?"":0==h?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(Date.now()+1E3*h)).toUTCString())+(d?";secure":"")+(null!=e?";samesite="+e:"")}; m.get=function(a,b){for(var c=a+"=",d=(this.M.cookie||"").split(";"),e=0,f;ep;p+=4)r[p/4]=q[p]<<24|q[p+1]<<16|q[p+2]<<8|q[p+3];for(p=16;80>p;p++)q=r[p-3]^r[p-8]^r[p-14]^r[p-16],r[p]=(q<<1|q>>>31)&4294967295;q=e[0];var v=e[1],z=e[2],U=e[3],ic=e[4];for(p=0;80>p;p++){if(40>p)if(20>p){var ra=U^v&(z^U);var jb=1518500249}else ra=v^z^U,jb=1859775393;else 60>p?(ra=v&z|U&(v|z),jb=2400959708):(ra=v^z^U,jb=3395469782);ra=((q<<5|q>>>27)&4294967295)+ ra+ic+jb+r[p]&4294967295;ic=U;U=z;z=(v<<30|v>>>2)&4294967295;v=q;q=ra}e[0]=e[0]+q&4294967295;e[1]=e[1]+v&4294967295;e[2]=e[2]+z&4294967295;e[3]=e[3]+U&4294967295;e[4]=e[4]+ic&4294967295}function c(q,r){if("string"===typeof q){q=unescape(encodeURIComponent(q));for(var p=[],v=0,z=q.length;vl?c(h,56-l):c(h,64-(l-56));for(var p=63;56<=p;p--)f[p]=r&255,r>>>=8;b(f);for(p=r=0;5>p;p++)for(var v=24;0<=v;v-=8)q[r++]=e[p]>>v&255;return q}for(var e=[],f=[],g=[],h=[128],k=1;64>k;++k)h[k]=0;var l,u;a();return{reset:a,update:c,digest:d,digestString:function(){for(var q=d(),r="",p=0;p=h.length)&&(a.psdJson=h)}g||(b={invalidPsd:!0})}b=[a,b,c];d.GOOGLE_FEEDBACK_START_ARGUMENTS=b;c=a.serverUri||"//www.google.com/tools/feedback";if(g=d.GOOGLE_FEEDBACK_START)g.apply(d,b); else{d=c+"/load.js?";for(var k in a)b=a[k],null==b||C(b)||(d+=encodeURIComponent(k)+"="+encodeURIComponent(b)+"&");a=(e?new Yb(Xb(e)):Fa||(Fa=new Yb)).createElement("SCRIPT");f&&a.setAttribute("nonce",f);nb(a,mf(d));e.body.appendChild(a)}};y("userfeedback.api.startFeedback",nf,void 0);var of=function(a,b){var c=a.serverUri||"//www.gstatic.com/feedback";x.GOOGLE_HELP_SESSION_ARGUMENTS=arguments;var d=Vb(document,"SCRIPT");c=mf(c+"/session_load.js");nb(d,c);window.document.body.appendChild(d)};y("userfeedback.api.help.resumeOpenHelpSession",of,void 0);y("userfeedback.api.help.startHelpWithChatSupport",function(a,b){a.flow="help";nf(a,b)},void 0);var pf=function(a,b){of(a,b);var c=a.serverUri||"//www.google.com/tools/feedback";x.GOOGLE_HELP_CHAT_ARGUMENTS=arguments;var d=Vb(document,"SCRIPT");c=mf(c+"/chat_load.js");nb(d,c);window.document.body.appendChild(d)};y("userfeedback.api.help.loadChatSupport",pf,void 0);var qf=Date.now(),rf=/support\/content\/resources\/(non)?prod\/js\/survey\/survey_(dark|light)_(ltr|rtl)/gi,sf=/support\/content\/resources\/(non)?prod\/js\/survey\/survey_binary__/gi,Z=function(a,b){this.xc=a;this.Pb=b.receiverUri;this.ka=b.locale||b.locale||"en".replace(/-/g,"_");this.L=b.window||b.window||top;this.Ua=b.productData||b.productData||{};this.gb=b.Y||b.environment||"https://clients6.google.com";this.Oa=b.ld||b.helpCenterPath||"";this.P=b.apiKey||b.apiKey||"";this.Bc=b.od||b.renderApiUri|| "";this.Lb=b.nonce||b.nonce||mb(this.L)};Z.prototype.Nc=function(a){tf();nf(uf(this,a),this.Ua,this.L)};Z.prototype.Oc=function(a,b){b=b||{};vc(Ye(a,{apiKey:this.P,document:this.L.document,Y:this.gb,ia:this.Oa,locale:this.ka,U:b.stepId,source:b.source,qa:b.theme}));window.guidedhelp||(window.guidedhelp={});window.guidedhelp.onError=b.onerror;window.guidedhelp.onFlowDismiss=b.ondismiss;window.guidedhelp.onFlowStepSet=b.onstepenter;window.guidedhelp.onFlowLoadSuccess=b.onload}; Z.prototype.Qc=function(){var a=A("help.guide.dismissFlow");a&&a()};Z.prototype.Pc=function(a){var b=this,c=vf(this,a||{});ve(this.Pb||"https://www.google.com/tools/feedback").then(function(d){var e;if(!(e=c.forceNewHelpPanel)&&(e=d)){var f=void 0===f?!1:f;e=Lb(d,3);e=null==e?e:!!e;e=null==e?f:e}e?we(c,d.rb(),b.L,b.Ua):(tf(),nf(c,b.Ua,b.L))})}; var uf=function(a,b){b=b||{};return{bucket:b.bucket,locale:a.ka,callback:b.onend||B,serverUri:b.serverUri||a.Pb,productId:a.xc,productVersion:b.productVersion,authuser:b.authuser,abuseLink:b.abuseLink,customZIndex:b.customZIndex,flow:"wizard",enableAnonymousFeedback:b.enableAnonymousFeedback,allowNonLoggedInFeedback:b.allowNonLoggedInFeedback,tinyNoPointer:b.tinyNoPointer,disableScreenshotAtStartup:b.disableScreenshotAtStartup}},vf=function(a,b){var c=b||{};b=uf(a,b);Va(b,{anchor:c.anchor,contactBucket:c.contactBucket, flow:"help",helpCenterContext:c.context,helpCenterPath:a.Oa,enableSendFeedback:c.enableSendFeedback||!1,enableCache:c.enableCache,defaultHelpArticleId:c.defaultHelpArticleId,supportContentUrl:c.supportContentUrl,defaultHelpArticleFragment:c.defaultHelpArticleFragment,newApi:!0,suggestHost:c.suggestHost,renderApiUri:a.Bc,symptom:c.symptom,useInappHelpPanel:c.useInappHelpPanel||!1,directToGetHelp:c.directToGetHelp||!1,forceNewHelpPanel:c.forceNewHelpPanel||!1,startedFromHelpApi:!0,domain:a.L.location.protocol+ "//"+a.L.location.host,onCloseCallback:c.onCloseCallback});return b};m=Z.prototype;m.tc=function(a){var b=a||{};a=vf(this,a);Va(a,{escalationJSONString:b.escalationJSONString});pf(a,this.Ua)}; m.Dc=function(a){var b=Date.now();wf(this,a).then(function(c,d){var e=L(d,id,2);if(e){var f=xf(e),g;L(d,jd,1)&&Mb(L(d,jd,1),1)&&(g=Mb(L(d,jd,1),1));var h={surveyData:{surveyData:d.rb(),triggerRequestTime:b,apiKey:this.P,nonProd:a.nonProd,language:Mb(e,8),libraryVersion:364747075,surveyMetadata:{triggerId:a.triggerId,sessionId:g,surveyId:Mb(d,5)}},triggerId:a.triggerId,surveyError:null};setTimeout(function(){return c(h)},1E3*f)}else h={surveyData:null,triggerId:a.triggerId,surveyError:{reason:"No eligible surveys."}}, c(h)}.bind(this,a.callback),function(c){a.callback({surveyData:null,triggerId:a.triggerId,surveyError:{reason:"Failed to trigger survey: "+c}})})}; m.wc=function(a){if(a.surveyData){var b=a.surveyData&&a.surveyData.surveyData&&a.surveyData.surveyData.surveyData?a.surveyData.surveyData:a.surveyData;switch(a.defaultStyle){case 1:var c;a.promptStyle=null!=(c=a.promptStyle)?c:2;var d;a.completionStyle=null!=(d=a.completionStyle)?d:2;break;default:var e;a.promptStyle=null!=(e=a.promptStyle)?e:1;var f;a.completionStyle=null!=(f=a.completionStyle)?f:1}c=L(Rb(od,b.surveyData),id,2);a:if(d=a.promptStyle,e=Lb(L(c,fd,3),4),d){switch(d){case 1:d=e.includes(1); break a;case 2:d=e.includes(2);break a}d=!1}else d=!0;if(d){a:if(d=a.completionStyle,c=Lb(L(c,dd,2),4),d){switch(d){case 1:c=c.includes(1);break a;case 2:c=c.includes(2);break a}c=!1}else c=!0;if(c){c=b.nonProd?"nonprod":"prod";d=2===a.colorScheme?"dark":"light";e=document.body;a:{f=Xb(e);if(f.defaultView&&f.defaultView.getComputedStyle&&(f=f.defaultView.getComputedStyle(e,null))){f=f.direction||f.getPropertyValue("direction")||"";break a}f=""}f="rtl"==(f||(e.currentStyle?e.currentStyle.direction: null)||e.style&&e.style.direction)?"rtl":"ltr";2!==a.completionStyle||yf("https://gstatic.com/support/content/resources/"+c+"/js/survey/survey_"+d+"_"+f+".css")||(zf(),e=document.createElement("link"),c=fb(new G(Xa,"https://gstatic.com/support/content/resources/%{env}/js/survey/survey_%{mode}_%{dir}.css"),{env:c,mode:d,dir:f}),e.rel="stylesheet",e.href=bb(c).toString(),(c=e.ownerDocument&&e.ownerDocument.defaultView)&&c!=x?c=ob(c.document,"style"):(null===qb&&(qb=ob(x.document,"style")),c=qb),c&& e.setAttribute("nonce",c),document.head.appendChild(e));Af(this,a,b)}else a.listener&&a.listener.surveyPrompted&&a.listener.surveyPrompted(a.surveyData,{reason:"Invalid completion style"})}else a.listener&&a.listener.surveyPrompted&&a.listener.surveyPrompted(a.surveyData,{reason:"Invalid prompt style"})}};m.ic=function(a){window.hatsNextGlobalObject&&window.hatsNextGlobalObject.dismissSurvey&&window.hatsNextGlobalObject.dismissSurvey(a.surveyMetadata)};m.Ac=function(a,b,c){Bf().register(a,b,c)}; m.mc=function(a,b){Bf().execute(a,b)};m.pc=function(a){return Bf().Ra(a)}; var wf=function(a,b){var c=new Uc({Ic:b.nonProd?"https://test-scone-pa-googleapis.sandbox.google.com":"https://scone-pa.clients6.google.com",apiKey:a.P,zb:b.authuser}),d=[];var e=void 0===e?!1:e;var f=cf(String(x.location.href)),g=[];var h=e;h=void 0===h?!1:h;var k=x.__SAPISID||x.__APISID||x.__3PSAPISID||x.__OVERRIDE_SID;jf(h)&&(k=k||x.__1PSAPISID);if(k)h=!0;else{var l=new Re(document);k=l.get("SAPISID")||l.get("APISID")||l.get("__Secure-3PAPISID")||l.get("SID");jf(h)&&(k=k||l.get("__Secure-1PAPISID")); h=!!k}h&&(h=(f=0==f.indexOf("https:")||0==f.indexOf("chrome-extension:")||0==f.indexOf("moz-extension:"))?x.__SAPISID:x.__APISID,h||(h=new Re(document),h=h.get(f?"SAPISID":"APISID")||h.get("__Secure-3PAPISID")),(h=h?ff(h,f?"SAPISIDHASH":"APISIDHASH",d):null)&&g.push(h),f&&jf(e)&&((e=kf("__1PSAPISID","__Secure-1PAPISID","SAPISID1PHASH",d))&&g.push(e),(d=kf("__3PSAPISID","__Secure-3PAPISID","SAPISID3PHASH",d))&&g.push(d)));g=(0==g.length?0:g.join(" "))?"v1/survey/trigger":"v1/survey/trigger/trigger_anonymous"; d=(new Q).setSeconds(-60*(new Date).getTimezoneOffset());d=Ob(d,2,0,0);e=new $c;d=Pb(e,3,d);e=new bd;e=Ob(e,1,1,0);e=Ob(e,4,364747075,0);e=Nb(e,3,[1,2]);f=b.preferredSurveyLanguageList&&0b.triggerRequestTime){a.listener&&a.listener.surveyPrompted&&a.listener.surveyPrompted(b,{reason:"Survey was triggered before the most recent survey event. Please re-trigger the survey."});var c=!1;break a}}else if(qf>b.triggerRequestTime){a.listener&&a.listener.surveyPrompted&&a.listener.surveyPrompted(b,{reason:"Survey must be triggered after initializing the help API."}); c=!1;break a}c=Date.now()-b.triggerRequestTime;864E5