Notify Google of SLA Financial Credit Eligibility

This form must be used to notify Google of SLA financial credit eligibility as explained in our Service Level Agreements. This support is currently only available in English.

A Notification of SLA Financial Credit Eligibility must be submitted within 30 days from the time your project becomes eligible to receive a financial credit (60 days for Compute Engine and Load Balancing). The eligibility window begins at the close of the month for which the customer is claiming credits.
 
Please fill out the form once per product, listing all impacted project IDs. In the rare case that multiple downtime incidents occur in a single calendar month, there is no need to fill out the form again if the same product and projects were impacted. SLAs are scoped to calendar months.
 
Note only email addresses for Google/Workspace accounts are accepted, we are unable to work with Workforce Identity Federation identities.
 

When submitting troubleshooting data to support, please ensure you remove any sensitive data such as account passwords, cardholder data, confidential business data, personal health information. Additionally, please avoid providing sensitive government information such as identification numbers or criminal justice information. We will use the troubleshooting data to help us address your support issues and to improve our services, subject to the Google Privacy Notice.

* Required field

Please enter a valid email address.

Please list all projects for which you are requesting SLA credits, separated by commas or whitespace. Project ID can be found in the Google Cloud Platform Console, e.g., 'my-cloud-project'.  Projects not explicitly included in this field will not be considered in calculations.

Please include at least one project id.

Please follow the instructions below or select a different product.
SLA credit requests for Compute Engine must include server log files showing loss of external connectivity errors and the date and time those errors occurred.  Requests without this data may be rejected.
Which are you requesting for? *
Add additional field
Please enter a valid instance ID (numerical). Instance names are not accepted.

This product is not currently covered by the published SLA. Please contact your account team for additional details.

For Firebase SLA credit requests, please see this page.
For Google Maps Platform SLA credit requests, please see this page.
In order to receive any of the Financial Credits described in the Apigee SLA, Customer must notify Google at [email protected] within five (5) calendar days of the end of the month in which Customer becomes eligible to receive a Financial Credit. Failure to comply with this requirement will forfeit Customer's right to receive a Financial Credit.
In order to receive any of the Financial Credits described above, Customer must contact Chronicle at [email protected] within thirty days from the time Customer becomes eligible to receive a Financial Credit with a complete description of the Downtime and for how long. Failure to comply with this requirement will forfeit Customer’s right to receive a Financial Credit.
For AppSheet SLA credit requests, please see this page.
For Google SecOps - SIEM, please provide your Cloud billing account id rather than a project id.
For Google SecOps - SOAR, please provide your Cloud billing account id rather than a project id.
Please provide the name of the applicable compute server and attached storage allotment provisioned in Customer's Bare Metal Solution environment.
Please enter a valid server name.
Which are you requesting for?
Please provide the name of the Kubernetes cluster.
Please enter a valid cluster name.

Please enter the month of impact, using the format YYYY-MM.

All SLAs have a limited eligibility window, as described in the text of the SLA.

Date must be in the form YYYY-MM, and must be within the product's SLA eligibility window.
Please provide specifics of your request, e.g. description, question, or reason for SLA Financial Credit Request. To minimize delays, please ensure that all affected projects are listed in the Project IDs field above.
SLA credit requests for Compute Engine must include server log files showing loss of external connectivity errors and the date and time those errors occurred. Requests without this data may be rejected.
https://myaccount.google.com/privacypolicy?hl=$0
Some account and system information will be sent to Google, and support calls and chats may be recorded. We will use this information to improve support quality and training, to help address technical issues, and to improve our products and services, subject to our Privacy Policy and Terms of Service. Translation services may be used in chats and email.
Additional info
Search
Clear search
Close search
Google apps
Main menu
14281006837298586937
true
Search Help Center
false
true
true
true
true
true
95384

'; var e=Hl(a);a=sl("data:text/html;charset=UTF-8;base64,"+btoa(e.toString()));b||(c.srcdoc=Jl(e))}else{if(b)throw Error("IFRAME_SANDBOX_URL is not supported with disableSandbox");a=new Map([["nonce",a]]);var f=tl(Ibb).toString();var h=f.split(/[?#]/);e=/[?]/.test(f)?"?"+h[1]:"";b=h[0];f=/[#]/.test(f)?"#"+(e?h[2]:h[1]):"";a=Eab(b,e,f,a)}c.src=tl(a).toString();c.style.cssText="border: 0; height: 0; left: 0; position: absolute; top: 0; width: 0;";c.setAttribute("aria-hidden","true");return c} ;var U1={cY:!1,uK:!1},V1;function W1(a){this.options=a=a===void 0?U1:a;if(!Nbb(this.options)&&typeof navigator.msSaveOrOpenBlob!=="function"){var b;this.sandbox=new T1({nE:(b=this.options.uK)!=null?b:!1})}} W1.download=function(a,b,c,e){c=c===void 0?"":c;e=e===void 0?U1:e;return La(function(f){if(f.o==1)return f.yield(Obb(a,b,c,e),2);if(f.ma)return f.return();V1||(V1=new W1,V1.init());return f.yield(Pbb(V1,a,b,c),0)})}; W1.prototype.init=function(){var a=this;return La(function(b){return a.sandbox==null?b.return():b.yield(a.sandbox.load(),0)})}; W1.prototype.download=function(a,b,c){c=c===void 0?"":c;var e=this;return La(function(f){return f.o==1?f.yield(Obb(a,b,c,e.options),2):f.ma?f.return():f.yield(Pbb(e,a,b,c),0)})}; function Pbb(a,b,c,e){e=e===void 0?"":e;var f,h,k;return La(function(l){switch(l.o){case 1:f=b instanceof Blob?b:new Blob([b],{type:e});if(typeof navigator.msSaveOrOpenBlob!=="function"){l.Pa(2);break}navigator.msSaveOrOpenBlob(f,c);return l.yield(X1(),3);case 3:return l.return();case 2:if(!Lb()||Caa(Dab(),16)>=0||!Gb()&&(!yb("iPad")&&!yb("iPhone")||Eb()||Gb()||(zb()?0:yb("Coast"))||Db()||!yb("AppleWebKit"))){l.Pa(4);break}h=new FileReader;h.onload=function(){var p=Fn("A"),r=Cl(String(h.result)); Fl(p,r);p.download=c;p.click()}; h.readAsDataURL(f);return l.yield(X1(),5);case 5:return l.return();case 4:return a.sandbox==null&&(a.sandbox=new T1({nE:(k=a.options.uK)!=null?k:!1}),a.sandbox.load()),l.yield(a.sandbox.exec('var url=URL.createObjectURL(blob);var a=document.createElement("a");if(!("download" in a)){throw new Error("Downloading not supported on this browser");}a.href=url;a.download=filename;document.body.appendChild(a);a.click();setTimeout(function(){document.body.removeChild(a);URL.revokeObjectURL(url);},250);',[{name:"blob", value:f,transfer:!1},{name:"filename",value:c,transfer:!1}]),6);case 6:return l.yield(X1(),0)}})} function Obb(a,b,c,e){c=c===void 0?"":c;e=e===void 0?U1:e;var f;return La(function(h){switch(h.o){case 1:if(!Nbb(e))return h.return(!1);h.ua(2);return h.yield(Qbb(a,b,c),4);case 4:h.ya(3);break;case 2:f=h.qa();if(f instanceof DOMException&&f.name==="SecurityError")return h.return(!1);throw f;case 3:return h.return(!0)}})} function Nbb(a){a=a===void 0?U1:a;return a.cY&&!!window.showSaveFilePicker} function Qbb(a,b,c){c=c===void 0?"":c;var e,f,h,k;return La(function(l){switch(l.o){case 1:var p=c,r={suggestedName:b},t;(t=b.match(/\..+$/))?(t=t[0],t=t.length>16?null:t):t=null;if(t){p=p.replace(/;[^]*/,"");var v={};r.types=[{description:"*"+t,accept:(v[/^\s*[a-zA-Z0-9+._-]+\/[a-zA-Z0-9+._-]+?\s*$/.test(p)?p:"*/*"]=[t],v)}]}e=r;l.ua(2);return l.yield(window.showSaveFilePicker(e),4);case 4:f=l.ma;l.ya(3);break;case 2:h=l.qa();if(h instanceof DOMException&&h.name==="AbortError")return l.return(); throw h;case 3:return l.yield(f.createWritable(),5);case 5:return k=l.ma,l.Qa(6),l.yield(k.write(a),6);case 6:return l.va(),l.yield(k.close(),9);case 9:l.Ba(7);break;case 7:return l.return()}})} W1.prototype.dispose=function(){this.sandbox!=null&&this.sandbox.dispose()}; function X1(){return new Promise(function(a){setTimeout(a,500)})} cb("SafeDownloader",W1);var Rbb=[8000001,8000086,8000063,8000975,8000976,8000087,8000088],Sbb=["CHECKBOX","RADIOBUTTON","DROPDOWN"]; function Tbb(a,b,c){var e=this;this.element=a;this.model=b;this.flags=c;this.validateOnly=ym("validate_only")==="true";this.page=1;this.fields=[];this.Sc=[];this.Da=new Map;this.bubbles=[];this.Ra=[];this.caseId=null;this.Ja=new Map;this.dk=new Map;this.c2c=null;this.listeners=[];this.Ie=0;this.Xa=!0;this.ma=null;this.va=this.hf=this.Gb=!1;this.Ha=this.Va=this.recaptcha=null;this.Dk=[];this.gcmRegistrationId="";this.productSpecificData={};this.ua=[];this.oa=[];this.Ma=[];this.Wd="";this.ud=[];this.Ab= [];this.parentCaseName="";this.ai=[];this.Tc=!1;this.kd=[];this.Ba=[];this.targetVerified=this.ld=!1;this.qa=[];this.chatPoolId="";this.vc=this.og=this.ya=this.Ka=!1;this.rb=this.o=null;this.Qa=27;this.zk=new Set;this.vk=this.model.show_recaptcha;this.Wf=this.querySelector(".form-screenshot");this.nw=new Map;this.submissionChannel=0;this.Sa=new nF("HelpcenterFields/Form");this.submitId=tm;this.dispatchEvent("startinginitialization");a=this.querySelectorAll(".field");for(b=0;b0&&v.parents.push(la)}}}); Z1(this);this.dispatchEvent("fieldsinitialized");this.vk&&Wbb(this);window.sc_createSpinner&&(this.ma=window.sc_createSpinner("small"),um(this.ma.getElement(),"submit-spin",!0));$1(this,!1);Xbb(this);Ybb(this);Zbb(this);a2(this,!0);this.prepopulateFields();this.prefillFieldsFromSession();this.element.addEventListener("submit",function(v){v.preventDefault();e.submitForm()}); this.element.addEventListener("input",function(){e.dispatchEvent("inputchange");e.ya=!1;e.vc=!1}); this.model.c2c_configured&&(this.c2c=(0,window.sc_initFormClickToCall)(this));this.model.is_chat_form&&!this.shouldSubmitToCasesV2()&&b2(this);$bb(this);this.dispatchEvent("validatorinitialized");this.dispatchEvent("initializationcomplete");c2(20);if(a=this.element.getAttribute("data-form-sc-frd-values"))for(a=w(JSON.parse(a)),b=a.next();!b.done;b=a.next())b=new jr(new rk(b.value)),this.ud.push(nr(b)),this.oa.push(xP(b));a=w(this.fields);for(b=a.next();!b.done;b=a.next())if(b=b.value,c=b.getFrdIdentifier())this.Sc.push(b), (f=this.Da.get(c))?f.push(b):this.Da.set(c,[b]);acb(this,this.element.getAttribute("data-helpcenter-frd-fields-confg"));bcb(this);ccb(this);dcb(this);ecb(this);fcb(this)} function ecb(a){var b=document.querySelector(".contact-form-suggestions-panel-container");b&&(Dw.initialize(b,void 0),Rqa(document),Dw.zi=function(c,e){return a.zi(c,e)},Ew(),zSa(a.getRedwoodId()),b=function(){Cw()},a.element.addEventListener("input",b),a.element.addEventListener("change",b),setTimeout(b,0),b=function(){Fw()},a.listen("nextpage",b),a.listen("highcontextchannelrecommendationfound",b),a.listen("submitstart",function(){Dw.submitForm(); Fw()}))} function fcb(a){if(d2(a)&&!z().is_render_api){var b=a.querySelector(".submit-button");b&&(b.textContent=a.model.strings.NEXT);a.listen("dynamicrecommendationfound",a.YU.bind(a));a.listen("error",function(){a.ua.length>0||a.Mv()}); a.listen("invalidated",function(){a.ua.length>0||a.Mv()}); a.listen("submitend",function(){a.Mv()}); (b=document.querySelector(".collapsed-form-container__header"))&&b.addEventListener("click",a.Mv.bind(a))}} function gcb(){return{hL:document.querySelector(".form-suggestions-wrapper"),jK:document.querySelector(".collapsed-form-container"),BK:document.querySelector(".contact-form-dynamic-recommendations-container")}} n=Tbb.prototype;n.Mv=function(){var a=gcb(),b=a.hL,c=a.jK;a=a.BK;b&&c&&a&&(um(c,"hidden",!0),um(a,"hidden",!0),um(b,"hidden",!1),this.setShouldShowNextStep(!0))}; n.YU=function(){var a=gcb(),b=a.hL,c=a.jK;a=a.BK;b&&c&&a&&(um(c,"hidden",!1),um(a,"hidden",!1),um(b,"hidden",!0),this.setShouldShowNextStep(!1),this.ya||Aqa(a,this.getFieldValues(),this.Mq))}; n.querySelector=function(a){return this.element.querySelector(a)}; function e2(a,b){return a.element.querySelector(b)} n.querySelectorAll=function(a){return this.element.querySelectorAll(a)}; function Y1(a,b){for(var c=0;c=a.model.total_pages;um(a.Wf,"hidden",!b);b?a.Ha.activate():a.Ha.deactivate()}} function $1(a,b){var c=a.page>=a.model.total_pages,e=a.querySelector(".submit-button");e&&(um(e,"hidden",!c),e.disabled=!a.Xa||b);if(a.va){var f=f2(a)?".high-context-channel-recommendation__recaptcha":".recaptcha";um(a.querySelector(f),"hidden",!c)}if(f=a.querySelector(".previous-button"))um(f,"hidden",a.page===1),f.disabled=b;if(f=a.querySelector(".next-button"))um(f,"hidden",a.page===a.model.total_pages),f.disabled=!a.Xa||b;if(a.ma){b?a.ma.show():a.ma.hide();var h=a.ma.getElement();!c&&(f==null? 0:f.parentNode)?f.parentNode.appendChild(h):c&&(e==null?0:e.parentNode)?e.parentNode.appendChild(h):(e==null?0:e.parentNode)?e.parentNode.appendChild(h):(f==null?0:f.parentNode)&&f.parentNode.appendChild(h)}(c=a.querySelector(".high-context-channel-recommendation__button-spinner"))&&um(c,"hidden",!b);g2(a,b)} function f2(a){return!xm(a.querySelector(".high-context-channel-recommendation__container"),"hidden")} function Xbb(a){var b=a.querySelector(".submit-button");b&&(!z().li&&a.model.is_chat_form?(b.disabled=!0,e2(a,".notification-area").textContent=a.model.strings.CHAT_UNAVAILABLE):b.addEventListener("click",a.submitForm.bind(a)));(b=a.querySelector(".previous-button"))&&b.addEventListener("click",function(){hcb(a,a.page-1)&&(a.dispatchEvent("previouspage"),c2(7))}); (b=a.querySelector(".next-button"))&&b.addEventListener("click",a.submitForm.bind(a))} function dcb(a){if(sbb()&&!a.model.logged_in){c2(4,304);var b=a.element.querySelector(".need-info-authentication-prompt__container");a=a.element.querySelector(".confirmation-message__authentication-prompt-container");b&&um(b,"hidden",!1);a&&um(a,"hidden",!1)}} function ccb(a){if(sbb()&&a.model.logged_in&&!z().is_render_api){for(var b=[],c=w(Rbb),e=c.next();!e.done;e=c.next())(e=a.Da.get(e.value))&&b.push.apply(b,za(e));b=w(b);c=b.next();for(e={};!c.done;e={Du:void 0,xw:void 0,pF:void 0,targetIdAuthorizationWarning:void 0},c=b.next())e.Du=c.value,e.pF=e.Du.getFrdIdentifier(),e.pF&&(e.xw=e.Du.querySelector(".text-input-container"),e.targetIdAuthorizationWarning=e.Du.querySelector(".target-id-authorization-warning"),e.Du.getElement().addEventListener("focusout", function(f){return function(){var h,k,l,p;return La(function(r){switch(r.o){case 1:h=f.Du.getValues()[0].value;if(!h)return r.return();f.xw&&um(f.xw,"text-input-spin",!0);r.ua(2,3);return r.yield(icb(a,f.pF,h),5);case 5:k=r.ma;if(jf(k,R1,1,Le()).length===0)return r.return();l=jf(k,R1,1,Le())[0];p=uf(l,2);um(f.targetIdAuthorizationWarning,"hidden",p);c2(p?4:5,305);case 3:r.va();f.xw&&um(f.xw,"text-input-spin",!1);r.Ba(0);break;case 2:r.qa(),um(f.targetIdAuthorizationWarning,"hidden",!0),c2(5,305), r.Pa(3)}})}}(e)))}} function Ybb(a){a=a.element.getElementsByTagName("textarea");for(var b=0;b0&&x.getValues()[0].value!==""&&!Sbb.includes(x.getType())&&x.getType()!=="HIDDEN";if(!E||!a.zk.has(E)&&!la){k=[];var ta=sf(v,2);ta?k=[ta]:jf(v,Pj,3,Le()).length>0&&(k=[].concat(za(jcb(jf(v,Pj,3,Le())[0]))));k.length>0&&(h++,cbb(x,k)&&e++)}}}if(e>0){var wa=document.querySelector(".prefilled-callout");wa&&um(wa,"hidden", !1)}kcb(e,h)}else kcb(0,0);a.Ab=[];var Ba,Ha=(Ba=gf(f,L1,2))==null?void 0:Te(Ba,2,Pj,FP);if(Ha)for(var Pa=w(Ha.values()),Ra=Pa.next();!Ra.done;Ra=Pa.next()){var Ya=Ra.value,hb=tk(new rk,Ya),ub=new jr(hb);Ya.eA()||ub.Yc(15);a.Ab.push(xP(ub))}}catch(Ib){console.error("Failed to parse FormsGetPrefillDataResponse",Ib)}finally{a2(a,!1)}}, od:function(e){window.sc_trackStatsEvent(313,21,"getprefilldata: "+e.statusText);console.error("getprefilldata endpoint returned an error",e);a2(a,!1)}, Ul:!0})}else a2(this,!1)}else a2(this,!1)}; function kcb(a,b){var c="no_prefill";b>0&&(c=a===b?"full_prefill":"partial_prefill");window.sc_trackStatsEvent(313,15,c+": prefilled_count:"+(a+"_total_potential_count:"+b))} function jcb(a){return(a=Sj(a))?De(a,Gj,8,Of)?Hj(Jj(a)):De(a,Bj,2,Of)?Cj(a.Yg()).map(function(b){return""+b}):De(a,Gj,3,Of)?Hj(a.Vj()):De(a,zj,4,Of)?Aj(Lj(a)).map(function(b){return""+b}):Nf(a)!=null?[a.Zm().toString()]:De(a,Dj,6,Of)?Ej(a.vn()).flat().map(function(b){return""+b}):[]:[]} n.prepopulateFields=function(a){if(this.model.enable_prepopulate_contact_form_field_query_params)for(var b=w(this.fields),c=b.next();!c.done;c=b.next()){c=c.value;var e=lcb(c,a),f=void 0;if((f=e)==null?0:f.ZO.length)c.setValues(e.ZO,!0),(f=c.getId())&&this.zk.add(f);f=void 0;((f=e)==null?0:f.lX)&&c.hide()}}; function lcb(a,b){b||(b=z().query_params);b=b.filter(function(t){return t.key==="pcff"}); for(var c=[],e=!1,f=0;f .contact-form-label__text');if(a.length!==0&&a[0])return a=a[0],a.textContent?a.textContent:void 0} n.Jz=function(a,b){var c=[];Y1(this,function(e){var f=Yab(e,a,b);f&&c.push({field:e,control:f,value:b})}); return c}; n.yl=function(){return this.page}; n.submitForm=function(){var a=this;if(this.og&&this.vc&&!this.Ka)this.getStatusMessage()!==""&&(this.ya=!1),mcb(this);else{this.rb&&this.Qa!==27||(this.rb=Ct.Qd());for(var b=w(this.qa),c=b.next();!c.done;c=b.next()){c=c.value;var e=c.model;if(!e.uc()&&!e.hd().getId()){iR(c,!0,this.model.strings.REQUIRED_FIELD);h2(this,"invalid",this.model.strings.VALIDATION_NOTE);this.dispatchEvent("invalidated");return}}$1(this,!0);Y1(this,function(h){h.ya&&(a.ld=!0,h.targetVerified()&&(a.targetVerified=!0))}); if(this.Ie!==0){var f=function(){a.element.removeEventListener("uploadend",f);a.submitForm()}; this.element.addEventListener("uploadend",f)}else this.dispatchEvent("validationstart"),i2(this)||this.dispatchEvent("beforesubmit"),ncb(this).then(function(h){!a.c2c||a.model.use_cufinsert_api_when_validating_only&&a.validateOnly?j2(a)&&a.model.check_chat_availability_before_submitting_request&&!k2()&&!a.shouldSubmitToCasesV2()?ocb(a,h):pcb(a,h):qcb(a,h)}).catch(function(){l2(a,a.model.strings.BACKEND_ERROR); a.dispatchEvent("validationend")})}}; function rcb(a){var b=a.querySelector("#channel-recommendation-chat-option"),c=a.querySelector(".high-context-channel-recommendation__continue-button"),e=a.querySelector(".high-context-channel-recommendation__switch-button");a.querySelector("#channel-recommendation-email-option").addEventListener("click",function(){scb(a,!1)}); b.addEventListener("click",function(){scb(a,!0)}); c.addEventListener("click",function(){window.sc_trackStatsEvent(303,55,z().pid);tcb(a,1)}); e.addEventListener("click",function(){window.sc_trackStatsEvent(303,54,z().pid);tcb(a,2)})} function tcb(a,b){b===2?ucb(a,a.o,"channel_reco_chat_channel_selected"):ucb(a,a.o,"channel_reco_chat_channel_shown");var c=a.querySelector(".notification-area");c&&(c.textContent="");a.setSubmissionChannel(b);a.o&&(a.o.submission_channel=b);a.submitForm()} function scb(a,b){var c=a.querySelector("#channel-recommendation-email-option"),e=a.querySelector(".high-context-channel-recommendation__continue-button"),f=a.querySelector(".high-context-channel-recommendation__switch-button");um(a.querySelector("#channel-recommendation-chat-option"),"high-context-channel-recommendation-options__option--active",b);um(c,"high-context-channel-recommendation-options__option--active",!b);um(f,"hidden",!b);um(e,"hidden",b)} function vcb(){var a=dn("FormSurveysFeature__trigger_id");mu(new lu,{triggerId:a,enableTestingMode:dn("FormSurveysFeature__enable_testing_mode")==="true",productData:{experimentIds:gn()}})} n.setAssistiveQuestionAnswers=function(a){this.Ba=a;if(this.c2c&&(!this.model.use_cufinsert_api_when_validating_only||!this.validateOnly)){a=w(this.Ba);for(var b=a.next();!b.done;b=a.next())if(b=b.value,b.c2cCountry&&b.c2cNumber){a=e2(this,'input[type="tel"]').closest(".field").querySelector("select");this.tf(a.name).setValues([[b.c2cCountry,b.c2cNumber]]);break}}}; function Wbb(a){var b="submit_form";a.model.has_custom_recaptcha_action&&(b="submit_form_"+a.getRedwoodId()+"_"+a.getId());var c=f2(a)?".high-context-channel-recommendation__g-recaptcha":".g-recaptcha";a.recaptcha=new lF(a.querySelector(c),function(){a.hf=!0;c2(19,22)},b)} function wcb(a){var b=f2(a)?".high-context-channel-recommendation__g-recaptcha-v2":".g-recaptcha-v2",c=a.querySelector(b);if(c){var e=window.sc_createSpinner?window.sc_createSpinner("small"):null;e&&c.parentNode&&c.parentNode.insertBefore(e.getElement(),c);a.Va=(new pC(c,function(){e&&c.parentNode&&c.parentNode.removeChild(e.getElement());a.va=!0;c2(19,172);c2(4,172)})).Sn(function(){c2(14,172)})}} function xcb(a,b){b=b===void 0?null:b;var c=vR().map(function(h){return h.toString()}); b&&c.push(b);var e,f;b=(f=(e=a.flags.smartIntakeDynamicQuestionsFormAllowlist)==null?void 0:e.primitive_value)!=null?f:[];e=ycb(a);f=z().lang;c.push.apply(c,za(rbb(a.getRedwoodId(),b,e,f)));return[vP(tP(sP(new jr,8001336),8001336).Yc(15),[].concat(za(new Set(c))))]} function ucb(a,b,c){b.form_frd_values=b.form_frd_values.filter(function(e){return e.frd_id!==8001336}); a=xcb(a,c)[0];b.form_frd_values.push(z1(a.Ec))} function ncb(a){var b,c,e,f,h,k,l,p,r,t,v,x,E,la,ta,wa,Ba,Ha,Pa,Ra,Ya,hb,ub,Ib;return La(function(Cb){if(Cb.o==1){if(a.Ka&&a.o)return Cb.return(Promise.resolve(a.o));c={form_id:a.element.getAttribute("id"),header:[],subject:"",content:"",validate_only:a.validateOnly||m2(a)||i2(a)||d2(a),validation_info:a.model.validation_info,language:z().lang,helpcenter_id:a.model.helpcenter_id,active_experiments:a.model.active_experiments,referer:a.model.referer,referer_title:a.model.referer_title,timezone_offset_minutes:(new Date).getTimezoneOffset(), form_frd_values:pR(pR(pR(pR(pR(pR(pR(new lR,a.Ma),a.oa),a.Sa.Oc()),a.Ab),a.qa.map(function(eb){return eb.model}).filter(function(eb){return eb.isRequired()&&eb.isPending()&&eb.isValid()}).map(function(eb){return eb.hd().setRequired(!0)})),[tP(sP(new jr,8000730),8000730).Yc(15).nh([Hm()])]),xcb(a)).Oc().map(function(eb){return z1(eb.Ec)}), selected_symptom_frd_values:(b=a.selectedSymptomFrdValues)==null?void 0:Cab(b),parent_case_name:a.parentCaseName,submission_channel:a.submissionChannel,cases_attachment:a.ai.map(function(eb){return{blob_name:Lf(eb,1),file_name:eb.getFileName()}}), form_revision:Number(a.element.getAttribute("data-contact-form-revision"))};k2()&&(c.chat_pool_id=a.getChatPoolId(),a.getContactType()===1||a.getContactType()===3)&&(c.gcm_registration_id=a.gcmRegistrationId);e=a.getSubjectFieldId();f=a.getBodyFieldId();return a.Ha?Cb.yield(a.Ha.getScreenshotData(),3):Cb.Pa(2)}Cb.o!=2&&(h=Cb.ma)&&(a.Dk=[{name:"screenshot",value:"There was a file uploaded for this field."},{name:"upload_original_filename",value:h.originalFilename},{name:"upload_cns_filename",value:h.Ff}, {name:"upload_document_id",value:h.documentId}]);if(a.Ba.length>0)for(c.is_assistive=!0,c.assistive_flow_results=[],k=w(a.Ba),l=k.next();!l.done;l=k.next())p=l.value,r=p.answer,p.translatedAnswer&&(r+=" ***** "+p.translatedAnswer),c.header.push({name:p.questionId,value:r}),c.content+=p.questionId+": "+r+"\n",c.assistive_flow_results.push({question:p.questionId,answer:r,prediction_id:p.predictionId,recommendation_id:p.recommendationId});n2(a)&&a.ua&&a.ua.length>0&&(c.dynamic_question_results=a.ua.map(function(eb){return{question_text:eb.questionText, question_intent:eb.questionIntent,answer_values:eb.answerValues,relevance:eb.relevance,suggested_input_type:eb.suggestedInputType}})); t=a.getFieldValues();v=zcb(a,!0);x=new Map(a.getHcfNameScFrdValueMap().entries());a.qa.map(function(eb){return eb.model}).forEach(function(eb){eb.isValid()&&x.set(eb.getName(),xP(eb.hd()))}); for(E=0;E0&&(c.product_specific_data=Ya);a.ld&&(c.target_submission_details={used_target_selector:!0,is_target_selector_verified:a.targetVerified});return Cb.return(c)})} function ocb(a,b){var c=o2(a,1);Im({httpMethod:"POST",endpoint:"escalationavailability",params:{v:"1",psd:JSON.stringify(a.productSpecificData)},requestBody:a.shouldSubmitToCasesV2()?c.serialize():"",onLoadCallback:function(e){var f=null;try{f=JSON.parse(e.responseText)}catch(r){f={}}var h,k,l,p;((h=f.chat_channel)==null?0:(k=h.common_options)==null?0:k.available_to_user)||((l=f.hangout_channel)==null?0:(p=l.common_options)==null?0:p.available_to_user)?pcb(a,b):(a.ma&&a.ma.hide(),b2(a))}, od:function(e){window.sc_trackStatsEvent(52,21,"escalationavailability: - "+e.statusText);a.ma&&a.ma.hide();if(e=a.querySelector(".submit-button"))e.disabled=!1;l2(a,a.model.strings.BACKEND_ERROR);a.dispatchEvent("validationend")}})} n.getChatAvailability=function(){var a=this;return La(function(b){return b.return(Acb(a))})}; function qcb(a,b){var c,e,f,h,k,l;La(function(p){if(p.o==1)return c={contact_flow:b},a.va?(c.recaptcha_response=a.Va.getResponse(),p.Pa(2)):a.hf?p.yield(a.recaptcha.getResponse(),4):p.Pa(2);p.o!=2&&(c.recaptcha_response_v3=p.ma);a.c2c.populateCallParameters(c);a.shouldSubmitToCasesV2()&&(e={},f=o2(a,5),dg(f,2)&&(e.form_id=Lf(f,2)),yd(we(f,4))!=null&&(e.redwood_form_id=Sf(f,4)),e.channel=[5],Be(f,ZP,7)?e.sc_frd_values=Bab(new lR(f.getScFrdValues())):Be(f,ek,1)&&(e.frd_values=Cab(new lR(gf(f,ek,1)))), c.escalation=e);h={v:"1",psd:JSON.stringify(a.productSpecificData)};(k=ym("test"))&&(h.test=k);(l=ym("cases2"))&&(h.cases2=l);b.submit_id=a.submitId;Im({httpMethod:"POST",endpoint:"createcall",params:h,requestBody:c,onLoadCallback:function(r){var t=null;try{t=JSON.parse(r.responseText)}catch(v){}p2(a,{type:"c2c",response:t})}, od:function(){p2(a,{type:"c2c",response:!1})}}); p.oa()})} function pcb(a,b){var c,e,f,h;La(function(k){if(k.o==1)return c={v:"0",psd:JSON.stringify(a.productSpecificData)},(e=ym("test"))&&(c.test=e),(f=ym("cases2"))&&(c.cases2=f),b.submit_id=a.submitId,h={common_params:{context_params:{view_id:z().vid}},resource:b},a.va?(h.recaptcha_response=a.Va.getResponse(),k.Pa(2)):a.hf?k.yield(a.recaptcha.getResponse(),4):k.Pa(2);k.o!=2&&(h.recaptcha_response_v3=k.ma);j2(a)&&(a.shouldSubmitToCasesV2()||f)&&(a.Gb=!0);Im({httpMethod:"POST",endpoint:"cufinsert",params:c, requestBody:h,onLoadCallback:function(l){var p=null;try{p=JSON.parse(l.responseText)}catch(r){p2(a,{type:"cuf",response:l.responseText,formData:b});return}p2(a,{type:"cuf",response:p,formData:b})}, od:function(){p2(a,{type:"cuf",response:!1,formData:b})}, Ul:!0});k.oa()})} function j2(a){return a.model.is_chat_form||a.Ka&&a.o!==null&&a.o.submission_channel===2} function m2(a){if(!a.model.fix_multi_page)return!1;var b=!1;Y1(a,function(c){Number(c.yl())>a.yl()&&c.hasSatisfiedDependencies()&&(b=!0)}); return b} function i2(a){var b=a.getContactType()===0;return a.model.logged_in&&rUa()&&b&&!a.Ka} function d2(a){return a.model.logged_in&&!a.ya&&n2(a)} function n2(a){var b=a.getRedwoodId(),c=!!a.flags.enableSmartIntakeDynamicQuestions,e,f;a=(f=(e=a.flags.smartIntakeDynamicQuestionsFormAllowlist)==null?void 0:e.primitive_value)!=null?f:[];e=z().lang;return c&&uR(b,a,e)} n.getHasCheckedForDynamicRecommendation=function(){return this.ya}; n.setHasCheckedForDynamicRecommendation=function(a){this.ya=a}; n.getShouldShowNextStep=function(){return this.og}; n.setShouldShowNextStep=function(a){this.og=a}; function mcb(a,b){b=b===void 0?null:b;$1(a,!0);b&&(a.o=b);a.o.validate_only=a.validateOnly||m2(a);a.dispatchEvent("dynamicrecommendationfound");a.vc=!0;a.ya=!0;$1(a,!1)} function Bcb(a,b){$1(a,!0);a.o=b;a.o.validate_only=a.validateOnly||m2(a);a.Ka=!0;b={contact_flow_model:b};Im({httpMethod:"POST",endpoint:"channelrecommendation",params:{v:"1",psd:JSON.stringify(a.productSpecificData)},requestBody:b,onLoadCallback:function(c){var e=null;try{e=JSON.parse(c.responseText)}catch(f){q2(a,{response:c.responseText});return}q2(a,{response:e})}, od:function(){q2(a,{response:!1})}, Ul:!0})} function q2(a,b){$1(a,!1);if(typeof b.response!=="object")a.submitForm();else if(b=b.response,b.channel_type&&b.channel_type==="CHAT"&&a.getContactType()===0){a.Qa=28;Ccb(a);Dcb();window.sc_trackStatsEvent(303,4,z().pid);var c=a.querySelector(".high-context-channel-recommendation__container");Ecb(a,!1);um(c,"hidden",!1);n2(a)&&a.Mv();a.dispatchEvent("highcontextchannelrecommendationfound");a.vk&&Wbb(a);c=a.querySelector(".high-context-channel-recommendation-options__option-estimated-wait-time");var e= b.chat_channel;if(e&&e.common_options){var f=e.common_options.estimated_wait_time_id;e.common_options.estimated_wait_time_seconds&&(e=e.common_options.estimated_wait_time_seconds,f=e<60?a.model.strings.CHANNEL_RECOMMENDATION_WAIT_TIME.replace("$0","1"):e<180?a.model.strings.CHANNEL_RECOMMENDATION_WAIT_TIME.replace("$0","3"):e<3300?a.model.strings.CHANNEL_RECOMMENDATION_WAIT_TIME.replace("$0",""+Math.floor(e/300+1)*5):a.model.strings.CHANNEL_RECOMMENDATION_WAIT_TIME_IN_HRS.replace("$0",""+(Math.floor(e/ 3600)+1)));c&&f&&Tl(c,im.Yd(f))}c=a.querySelector(".high-context-channel-recommendation-options__help-text");e=a.querySelector(".high-context-channel-recommendation-options__help-text-container");b.estimated_save_time?(b=Math.floor(b.estimated_save_time.seconds/3600)+1,b=a.model.strings[b===1?"CHANNEL_RECOMMENDATION_HELP_TEXT":"CHANNEL_RECOMMENDATION_HELP_TEXT_PLURAL"].replace("$0",""+b),Tl(c,im.Yd(b))):um(e,"hidden",!0);rcb(a)}else a.Qa=29,a.submitForm()} function icb(a,b,c){var e;return La(function(f){e=Fbb(new Q1,Ebb(Dbb(new O1,b),c));return f.return(new Promise(function(h,k){Im({httpMethod:"POST",params:{v:"1",psd:JSON.stringify(a.productSpecificData)},endpoint:"authorizetargets",requestBody:e,onLoadCallback:function(l){var p=null;try{p=Hbb(l.responseText),h(p)}catch(r){k(Error("Failed to parse AuthorizeTargetsResponse."))}}, od:function(){k(Error("API error authorizing targets."))}, Ul:!0})}))})} function Ccb(a){a.rb.report(a.Qa);a.rb=null;a.Qa=27} n.getSubjectFieldId=function(){return e2(this,'input[name="subject-line-field-id"]').value}; n.getBodyFieldId=function(){return e2(this,'input[name="body-text-field-id"]').value}; function zcb(a,b){var c=[];Y1(a,function(p){if(p.hasSatisfiedDependencies())for(var r=p.getValues(b),t=0;t0){l2(a,Kcb(e),e);a.dispatchEvent("validationend");break a}Lcb(a,e)}else l2(a,a.model.strings.BACKEND_ERROR,e)}else l2(a,a.model.strings.CONNECTION_ERROR);a.dispatchEvent("validationend")}else{c=b.response;b=b.formData;f=typeof c==="object"?c==null?void 0:(e=c.result)==null?void 0:e[0]:void 0;e=!1;if(c&&typeof c==="object")if(!c.error&&c.result&&f&&f.indexOf("PERM_FAILURE")!==0)if(f==="ACCEPTED"||f==="SUCCESS"||f==="RETRIED")if(m2(a))r2(a);else if(d2(a))mcb(a,b);else if(i2(a))Bcb(a, b);else{b=ym("cases2");if(b=j2(a)&&(a.shouldSubmitToCasesV2()||b))a.chatPoolId=c.chat_pool_id||"",a.model.chat_support_request_id=c.chat_support_request_id||"";a.dispatchEvent("validated");c.case_id&&(a.caseId=c.case_id,Icb(a));a.validateOnly||(!b||k2()||z().rs===79&&a.flags.enableChatMoleMigration||((0,window.sc_ensureSubscribed)(),a.dispatchEvent("chatrequested")),Ccb(a),Jcb(a));s2(!0);e=!0}else Lcb(a,c);else l2(a,Kcb(c),c);else l2(a,a.model.strings.CONNECTION_ERROR);c=ym("cases2");!e&&j2(a)&&(a.shouldSubmitToCasesV2()|| c)&&(a.Gb=!1);a.dispatchEvent("validationend")}} function Mcb(a,b){switch(a){case 22:switch(b){case 6:return"To work with a Support Specialist, ask a parent or guardian to contact Support for you.";case 4:case 3:return"Refresh this page and try again. Sorry, there was a problem with the form.";case 5:return"Sorry, no contact options are available.";case 2:return"To access support, sign in to a Google account based in a supported region, or go to a supported location.";default:return"Please try again later."}case 21:switch(b){case 1:case 2:return"Please try again later. All specialists are currently busy."; case 3:return"To work with a Support Specialist, use the chat session you have open.";case 4:case 5:return"You\u2019re already in line to work with a specialist.";case 7:case 8:return"Please try again during support hours.";case 6:case 9:case 10:case 11:case 12:return"Refresh this page and try again. Sorry, there was a problem with the form.";case 13:return"Try again later. Sorry, there was a problem with the form.";default:return"Please try again later."}default:return"Please try again later."}} function Kcb(a){var b;return((b=a.submit_error)==null?0:b.length)?(a=a.submit_error[0],Mcb(a.code,a.sub_code)):""} function Ncb(a,b){var c=f2(a)?".high-context-channel-recommendation__recaptcha":".recaptcha";(a=a.querySelector(c))&&um(a,"invalid",b)} function Lcb(a,b){for(var c=!1,e=a.model.strings.VALIDATION_NOTE,f=w(b.result||[]),h=f.next();!h.done;h=f.next())if(h=h.value.split(":"),h[0]==="REQUIRED_FORM_FRD_VALUE"){if(h=Ocb(a,h[1],h[2]))h.isVisible()?iR(h,!0,a.model.strings.REQUIRED_FIELD):e=a.model.strings.REQUIRED_FIELD+": "+h.model.getName(),c=!0}else{var k=a.tf(h[1]);if(h[0]==="REQUIRED_RECAPTCHA")a.page===a.model.total_pages&&(e=a,e.model.fallback_to_recaptcha_v2&&(e.va||(h=f2(e)?".high-context-channel-recommendation__g-recaptcha":".g-recaptcha", (h=e.querySelector(h))&&um(h,"hidden",!0),wcb(e)),Ncb(e,!0)),c=!0,e=a.model.strings.REQUIRED_RECAPTCHA_NOTIFICATION);else if(h[0]==="INVALID_AUTH_TOKEN")c=!0,e="Refresh this page and try again. Sorry, there was a problem with the form.";else if(h[0]==="CHAT_UNAVAILABLE")b2(a),c=!0;else if(k&&k.isVisible()){if(c=k.getType()==="PHONE_NUMBER"&&a.c2c)a:{c=a;var l=k.getValues(!0)[0];if(l&&l.value){l=JSON.parse(l.value);var p;if(p=l){l=l.country;p=[];var r=c.model.phone_type_required_countries;r&&(p=r.split(",")); p=p.indexOf(l)!==-1}if(p){k.setValidity(!1,c.model.strings.PHONE_TYPE_VALIDATION,!0);c=!0;break a}}c=!1}c||k.setValidity(!1,a.model.strings[h[0]]||a.model.strings.DEFAULT);c=!0}}c?(h2(a,"invalid",e+Pcb(a,b)),a.dispatchEvent("invalidated"),c2(17)):r2(a)} function Hcb(a){var b=a.querySelector(".notification-area");b&&(um(b,"error",!1),um(b,"invalid",!1),b.textContent="");Y1(a,function(e){e.setValidity(!0)}); b=w(a.qa);for(var c=b.next();!c.done;c=b.next())iR(c.value,!1);a.va&&Ncb(a,!1)} function h2(a,b,c){var e=a.querySelector(".notification-area");e&&(um(e,b,!0),e.textContent=c,b==="invalid"?(e.setAttribute("role","alert"),(b=a.element.querySelector('[aria-invalid="true"]'))&&b.focus(),(a=a.element.querySelector(".invalid .validation-message"))&&a.setAttribute("aria-live","polite")):e.setAttribute("role","status"))} n.getStatusMessage=function(){var a;return((a=this.querySelector(".notification-area"))==null?void 0:a.innerText)||""}; n.setErrorMessage=function(a){h2(this,"error",a)}; function l2(a,b,c){a.setErrorMessage(b+Pcb(a,c));a.dispatchEvent("error");s2(!1)} function Pcb(a,b){if(!b||!a.model.show_debug_info)return"";a=["\n\nDebug info for Googlers:"];var c;((c=b.submit_error)==null?0:c.length)&&a.push.apply(a,["\nSubmit Errors:"].concat(za(b.submit_error.map(function(f){return JSON.stringify(f)})))); var e;((e=b.result)==null?0:e.length)&&a.push.apply(a,["\nResult:"].concat(za(b.result)));return a.join("\n")} function r2(a){hcb(a,a.page+1);a.dispatchEvent("nextpage");c2(6)} function Jcb(a){a.dispatchEvent("submitstart");if(!j2(a)||a.Ba.length>0)Dcb(),Ecb(a),Qcb(a);if(j2(a)){var b=a.querySelector(".submit-button");b&&(b.disabled=!0);g2(a,!0);window.sc_enableFormSubmissionDetailsAndDownloadUi&&(Rcb(a),Scb(a,e2(a,".submission-details-chat__content")),Tcb(a),b=e2(a,".submission-details-chat__download-button"),b.addEventListener("click",function(){Ucb(a)}),e2(a,".submission-details-chat__edit-button").addEventListener("click",function(){Vcb(a)}),window.sc_trackStatsEvent(182, 4,z().pid),um(e2(a,".submission-details-chat"),"hidden",!1),b.focus()); e2(a,".notification-area").textContent=a.model.strings.CHAT_CREATING;a.dispatchEvent("chatrequested")}c2(22);a.dispatchEvent("submitend");a.dispatchEvent("cleancomplete");dn("FormSurveysFeature__enable_hats")==="true"&&vcb()} function g2(a,b){for(var c=w(a.querySelectorAll(".high-context-channel-recommendation__submit-button")),e=c.next();!e.done;e=c.next())e.value.disabled=b;a=w(a.querySelectorAll(".high-context-channel-recommendation-options__option"));for(c=a.next();!c.done;c=a.next())c.value.disabled=b} function Dcb(){var a=document.querySelector(".prefilled-callout");a&&um(a,"hidden",!0)} function Ecb(a,b){b=b===void 0?!0:b;for(var c=j2(a)&&a.Ba.length>0,e=0;e0&&a.dk.set(c.getId(),e)}b=w(a.qa);for(c=b.next();!c.done;c=b.next())c=c.value,e=c.Ue(),c.isVisible()&&e&&a.Ja.set(e,c.getDisplayValues())} function Scb(a,b){a=w(a.Ja.entries());for(var c=a.next();!c.done;c=a.next()){var e=w(c.value);c=e.next().value;var f=e.next().value;e=c;c=document.createElement("div");var h=document.createElement("span");c.appendChild(h);h.innerText=e;if(f)for(h.innerText+=": ",um(c,"multi-value",f.length>1),e=w(f),f=e.next();!f.done;f=e.next())f=f.value,h=document.createElement("span"),um(h,"submission-value",!0),h.innerText=f,c.appendChild(h);b.appendChild(c)}} function Ucb(a){for(var b="",c=w(a.Ja.entries()),e=c.next();!e.done;e=c.next()){var f=w(e.value);e=f.next().value;f=f.next().value;b+=e;if(f)for(b+=":",e=w(f),f=e.next();!f.done;f=e.next())b+="\n"+f.value;b+="\n\n"}var h;c=((h=a.caseId)!=null?h:a.getId())+".txt";W1.download(b,c,"text/plain");window.sc_trackStatsEvent(182,47,z().pid);en("contact_form_submission_download")} function Vcb(a){var b=new URLSearchParams;a=w(a.dk.entries());for(var c=a.next();!c.done;c=a.next()){var e=w(c.value);c=e.next().value;e=e.next().value;e=w(e);for(var f=e.next();!f.done;f=e.next())b.append("pcff",c+":"+f.value)}en("contact_form_submission_edit");window.sc_trackStatsEvent(182,24,z().pid);b=new URL(""+window.location.origin+window.location.pathname+"?"+b);Tm(b.toString())} function s2(a){Im({httpMethod:"POST",endpoint:"cufz",requestBody:{success:a,page_view_id:z().pvid}})} function Ocb(a,b,c){return b&&c?a.qa.find(function(e){return yP(e.model.hd(),sP(tP(new jr,+b),+b).Yc(+c))}):null} n.tf=function(a){var b=null;Y1(this,function(c){var e=c.cidSelector&&c.getElement().querySelector(".cid-selector");return c.getId()===a&&c.getType()!=="EXTERNAL_SOURCE"||e!==null&&e.getAttribute("id")===a?(b=c,!1):!0}); return b}; function hcb(a,b){if(b===a.page||b<1||b>a.model.total_pages)return!1;a.page=b;Z1(a);$1(a,!1);return!0} function c2(a,b){window.sc_trackStatsEvent(b===void 0?21:b,a,z().pid)} function Wcb(a,b){var c=o2(a,b),e=a.productSpecificData;e.country_code=a.element.querySelector('.additional-request-data input[name="country_code"]').value;return new Promise(function(f,h){Im({httpMethod:"POST",endpoint:"escalationavailability",params:{v:1,psd:JSON.stringify(e)},requestBody:c.serialize(),onLoadCallback:function(k){try{f(JSON.parse(k.responseText))}catch(l){h(Error("Could not parse escalationavailability response"))}}, od:function(){h(Error("escalationavailability endpoint returned an error"))}, Ul:!0})})} function o2(a,b){var c=new kR,e=a.getId();Zf(c,2,e);e=Number(a.getRedwoodId());Wf(c,4,e);Ue(c,3,[b],td);if(a.selectedSymptomFrdValues){b=[];e=w(a.selectedSymptomFrdValues);for(var f=e.next();!f.done;f=e.next()){var h=void 0;b.push.apply(b,za((h=uP(f.value))!=null?h:[]))}a=lUa(pR(nR(new lR,mR(a.selectedSymptomFrdValues)).qd(a.selectedSymptomFrdValues.Zg()),[vP(sP(tP(new jr,8000072),8000072).Yc(15),b)]));kf(c,ZP,7,a)}return c} n.getEscalationChannelAvailabilityInformation=function(a){var b=this,c,e,f,h,k,l,p,r,t;return La(function(v){if(v.o==1)return v.yield(Wcb(b,a),2);if(c=v.ma)switch(a){case 1:return v.return((f=(e=c.chat_channel)==null?void 0:e.common_options)!=null?f:null);case 3:return v.return((l=(h=c)==null?void 0:(k=h.email_channel)==null?void 0:k.common_options)!=null?l:null);case 5:return v.return((t=(p=c)==null?void 0:(r=p.c2c_channel)==null?void 0:r.common_options)!=null?t:null)}return v.return(null)})}; function Acb(a){var b,c,e;return La(function(f){return f.o==1?f.yield(Wcb(a,1),2):(b=f.ma)?f.return(((c=b.chat_channel)==null?void 0:(e=c.common_options)==null?void 0:e.open_now)==="CS_OPEN"):f.return(!1)})} function $bb(a){var b=a.querySelector(".contact-form__gdpr-dialog");if(b){var c=function(e){var f=this.Lb().strings,h=this.Lb().style_params,k=this.Lb().gdpr_privacy_policy_url,l=z().lang,p={};f=new tF(z().lang,(p["gdpr_dialog.trigger_needing_privacy_policy_url"]=f.GDPR_DIALOG_TRIGGER,p["gdpr_dialog.title"]=f.GDPR_DIALOG_TITLE,p["gdpr_dialog.ok"]=f.GDPR_DIALOG_OK,p));var r=new rR({Oa:f,locale:l,privacyPolicyUrl:k,jr:h?{"font-family":h.font_family.title}:void 0,Ap:h?{"font-family":h.font_family.body}: void 0,Fp:h?{"font-weight":String(h.strong_font_weight)}:void 0});ro(e,function(){r.render()}); return r}.call(a,b); pUa(c,function(){c.data=new Map;c.Ia();for(var e=w(a.getFieldValues()),f=e.next();!f.done;f=e.next())f=f.value,f.type!=="HIDDEN"&&f.type!=="FROM_EMAIL_ADDRESS_HIDDEN"&&f.type!=="ADDITIONAL_DATA"||!f.value||sR(c,f.name,f.value);e=w(Object.keys(a.productSpecificData));for(f=e.next();!f.done;f=e.next())f=f.value,sR(c,f,a.productSpecificData[f]);a.gcmRegistrationId&&sR(c,"GCM",a.gcmRegistrationId)})}} function Vbb(a,b){b.addEventListener("uploadstart",function(){++a.Ie}); b.addEventListener("uploadend",function(){--a.Ie;hn(a.element,"uploadend")})} function b2(a){if(!a.Gb){var b=a.querySelector(".submit-button");b&&(b.disabled=!0);g2(a,!0);b=e2(a,".notification-area");um(b,"invalid",!0);b.textContent=a.model.strings.CHAT_UNAVAILABLE}} n.getId=function(){return this.element.getAttribute("id")}; n.getRedwoodId=function(){return this.element.dataset.contactFormRedwoodId}; n.getContactType=function(){return this.model.contact_type}; n.shouldSubmitToCasesV2=function(){return this.model.should_submit_to_cases_v2}; n.getTitle=function(){var a=this.element.querySelector(".contact-form__title");return a?a.textContent:""}; n.Lb=function(){return this.model}; n.getElement=function(){return this.element}; n.getCaseId=function(){return this.caseId}; n.getChatPoolId=function(){return this.chatPoolId}; n.getChatSupportRequestId=function(){return this.model.chat_support_request_id||""}; n.oT=function(){var a=[];Y1(this,function(b){a.push(Xcb(b))}); Array.prototype.push.apply(a,Fcb(this));return a}; function Xcb(a){return{getValues:a.getValues.bind(a),getType:a.getType.bind(a),isVisible:a.isVisible.bind(a),isConditional:a.isConditional.bind(a),hasSatisfiedDependencies:a.hasSatisfiedDependencies.bind(a),getId:a.getId.bind(a),getDisplayName:a.getDisplayName.bind(a),getFrdV1Identifier:a.getFrdV1Identifier.bind(a),getFrdV2Identifier:a.getFrdV2Identifier.bind(a),getFrdIdentifier:a.getFrdIdentifier.bind(a),getFrdContext:a.getFrdContext.bind(a),isCasesTarget:a.isCasesTarget.bind(a),setValues:a.setValues.bind(a), getElement:a.getElement.bind(a),targetVerified:a.targetVerified.bind(a),setTargetVerified:a.setTargetVerified.bind(a),hide:a.hide.bind(a)}} n.pT=function(){var a=[];Y1(this,function(b){b.isVisible()&&a.push(Xcb(b))}); return a}; n.setValidateOnly=function(a){this.validateOnly=a}; n.listen=function(a,b,c,e){this.listeners.push({type:a,listener:b,scope:e})}; n.unlisten=function(a,b,c,e){for(c=0;c0&&!a.Tc;)a.kd.shift()()} n.Lv=function(){var a=this;if(YP(u2(this))){var b=document.activeElement;v2(this,!0);var c=new rQ;Zcb(this,c);Im({httpMethod:"POST",endpoint:"getavailablevaluesforgraph",params:{v:"1"},requestBody:c.serialize(),onLoadCallback:function(e){try{for(var f=ESa(e.responseText),h=w(jf(f,sQ,2,Le())),k=h.next();!k.done;k=h.next()){var l=gf(k.value,Pj,1),p=l.getFrdContext(),r=p?Tf(p,2):null,t=a.Da.get(N1(l));if(t)for(var v=w(t),x=v.next();!x.done;x=v.next()){var E=x.value,la=nbb(E),ta=Tf(la,2);if(!(r&&ta&& r!==ta||!F1(E))){var wa=Hj(Jj(Sj(l)),Qc);switch(E.getType()){case "CHECKBOX":case "RADIOBUTTON":for(var Ba=w(E.querySelectorAll(".list-item")),Ha=Ba.next();!Ha.done;Ha=Ba.next()){var Pa=Ha.value,Ra=wa.indexOf(Pa.querySelector("input").value)===-1;um(Pa,"hidden-by-vrg",Ra)}break;case "DROPDOWN":for(var Ya=w(E.querySelectorAll("option")),hb=Ya.next();!hb.done;hb=Ya.next()){var ub=hb.value;if(ub!==E.querySelector("option")){var Ib=wa.indexOf(ub.value)===-1;um(ub,"hidden-by-vrg",Ib)}}E.element.querySelector("select").dispatchEvent(new Event("selectvrgupdate"))}}}}}catch(Cb){}v2(a, !1);b.focus();Ycb(a)}, od:function(){v2(a,!1);b.focus();Ycb(a)}})}}; function v2(a,b){a.Tc=b;a=w(a.Sc);for(var c=a.next();!c.done;c=a.next())c=c.value,F1(c)&&pbb(c,b)} function Zcb(a,b){var c=u2(a);c=YP(c);BSa(b,qf(c,1));CSa(b,sf(c,2));c=[];for(var e=[],f=!1,h=w(a.Sc),k=h.next();!k.done;k=h.next()){k=k.value;if(F1(k)){var l=k.getFrdIdentifier();l&&c.push(l)}if(D1(k)&&k.hasSatisfiedDependencies()){l=[];for(var p=w(k.getValues()),r=p.next();!r.done;r=p.next())l.push(r.value.value);l.length!==0&&(p=new Ij,k.getType()==="HIDDEN"?$cb(obb(k),l[0],p):k.getFrdIdentifier()===8000001?p.yj((new Bj).oh(l.map(function(v){return Number(v)||0}))):Kj(p,(new Gj).oh(l)),l=Tj(new Pj, p),p=nbb(k),(r=tf(p,2))&&Qj(l,xj(new wj,tf(p,1)).Yc(r)),(k=k.getFrdV2Identifier())&&Rj(l,k),e.push(l),!f&&N1(l)===8000072&&(f=!0))}}if(window.sc_filter_promoted_by_selected_symptom&&!f){var t; h=(t=a.selectedSymptomFrdValues)==null?void 0:mR(t);t=bp(qf(b,2));if(a.selectedSymptomFrdValues&&h&&t&&h===t){t=w(a.ud);for(h=t.next();!h.done;h=t.next())if(N1(h.value)===8000072){f=!0;break}if(!f){f=[];t=w(a.selectedSymptomFrdValues);for(h=t.next();!h.done;h=t.next())k=void 0,f.push.apply(f,za((k=uP(h.value))!=null?k:[]));e.push(nr(vP(sP(tP(new jr,8000072),8000072).Yc(15),f)))}}}Ue(b,3,c,td);yab(b,a.ud.concat(e));ag(b,5,a.model.content_publish_state)} function $cb(a,b,c){switch(a){case 1:c.yj((new Bj).oh([Number(b)]));break;case 2:case 5:c.nh((new Gj).oh([b]));break;case 3:Mj(c,Uea(new zj,[Number(b)]));break;case 4:a=b.split(",");Kj(c,(new Gj).oh(a));break;case 9:c.Vh(b==="true");break;case 8:a=b.split(",").map(function(e){return Number(e)}); c.Ax(Fj(new Dj,[(new Bj).oh(a)]));break;case 11:case 6:case 7:case 10:Oj(c,(new yj).oh([b]))}} function u2(a){a=JSON.parse(a.element.getAttribute("data-form-service-vrg"));return new XP(a)} n.getServiceVrgTaxonomyId=function(){var a=YP(u2(this));return a?bp(qf(a,1)):null}; n.getServiceVrgTaxonomyView=function(){var a=YP(u2(this));return a?Lf(a,2):null}; n.setSupportJourneyId=function(a){this.submitId=a}; function Icb(a){window.sc_log&&window.sc_log("Form","INFO","Case ID: "+a.caseId)} n.setIncludesTargetSelector=function(a){this.ld=a}; n.setTargetVerified=function(a){this.targetVerified=a}; function acb(a,b){var c,e,f,h,k,l,p,r,t;La(function(v){if(v.o==1){if(!b)return v.return();c=new pQ(JSON.parse(b));a.Wd=(e=Bf(c,7))!=null?e:"";a.Wd&&window.sc_log&&window.sc_log("Helpcenter Field","INFO","Form Helpcenter Fields User-based FRD Value Lookup EventID: "+a.Wd);return v.yield(jR({helpCenterFrdFieldsConfg:c,locale:z().lang,neoTaxonomy:qQ(),placements:[a.qv(1),a.qv(2)],sx:"*"}),2)}f=v.ma;h=a.getScFrdValues().map(function(x){return new jr(x)}); k=w(a.Da.keys());for(l=k.next();!l.done;l=k.next())p=l.value,h.push(tP(new jr,p));r=a.getHcfNameScFrdValueMap();t=f.Pi;adb(a,t,2,h,r,".cf div.helpcenter-fields-container.top");adb(a,t,1,h,r,".cf div.helpcenter-fields-container.bottom");EP(a.Sa,a.qa.concat(f.Os).map(function(x){return x.model})); v.oa()})} n.qv=function(a){var b=new JP,c=new IP,e=this.getContactType();Ze(c,3,HP,ud(e));ag(c,2,a);nf(b,1,IP,c);c=new IP;e=this.getRedwoodId();Ze(c,1,HP,Rd(e));ag(c,2,a);nf(b,1,IP,c);a=new OP;lf(a,1,NP,b);return a}; function adb(a,b,c,e,f,h){if(h=a.element.querySelector(h)){var k=qbb(ycb(a));console.log("Form INFO: enableMultiTargets: "+k);var l=b.filter(function(p){if(p.model.placements.length||(!k||c!==1)&&e.some(function(la){return yP(la,p.model.hd())})||!p.model.hd().getId()&&f.has(p.model.getName()))return!1; for(var r=w(p.model.ua),t=r.next();!t.done;t=r.next()){t=t.value;var v=void 0,x=void 0,E=w((x=(v=t.Yv())==null?void 0:v.o())!=null?x:[]);for(v=E.next();!v.done;v=E.next())v.value.Ru()===c&&p.model.placements.push(t)}return!!p.model.placements.length}); l.length&&ro(h,function(){for(var p=w(l),r=p.next();!r.done;r=p.next())r=r.value,r.render(),a.qa.push(r)})}} n.getHelpCenterFieldFrds=function(a){return this.Sa.Oc(a===void 0?!1:a).map(function(b){return xP(b)})}; n.setHelpCenterFieldFrd=function(a){a=new jr(a);for(var b=w(CP(this.Sa)),c=b.next();!c.done;c=b.next())if(c=c.value,yP(c.hd(),a)){zab(c,a);break}}; function ycb(a){var b,c;return(c=(b=a.flags.multiTargetsHelpCenterAllowlist)==null?void 0:b.primitive_value)!=null?c:[]} function bcb(a){var b=[];z().is_render_api||b.push("direct_to_form");ym("cse")==="gse"&&b.push("gse");ym("cse")==="google_marketing_advisor"&&b.push("google_marketing_advisor");b.length&&a.addScFrdValue(xP(vP(sP(tP(new jr,8000104),8000104).Yc(15),b)))} n.zi=function(a,b){a=this.Da.get(Number(a));if(!a||a.length===0)return!1;a=a[0].getElement();return Mw(a,b)}; function k2(){switch(z().rs){case 3:case 8:return!0;default:return!1}} window.sc_initForm=function(a,b,c){a=new Tbb(a,b,c);b={getEscalationChannelAvailabilityInformation:a.getEscalationChannelAvailabilityInformation.bind(a),getContactType:a.getContactType.bind(a),submitForm:a.submitForm.bind(a),getFields:a.oT.bind(a),getVisibleFields:a.pT.bind(a),getSubjectFieldId:a.getSubjectFieldId.bind(a),getBodyFieldId:a.getBodyFieldId.bind(a),getFieldValues:a.getFieldValues.bind(a),getChatPoolId:a.getChatPoolId.bind(a),getChatSupportRequestId:a.getChatSupportRequestId.bind(a),setScreenshotter:a.setScreenshotter.bind(a), setGcmRegistrationId:a.setGcmRegistrationId.bind(a),getProductSpecificData:a.getProductSpecificData.bind(a),setProductSpecificData:a.setProductSpecificData.bind(a),setValidateOnly:a.setValidateOnly.bind(a),listen:a.listen.bind(a),unlisten:a.unlisten.bind(a),getInternalHelpcenterName:a.getInternalHelpcenterName.bind(a),setReenableOnValidated:function(){}, getCaseId:a.getCaseId.bind(a),getScFrdValues:a.getScFrdValues.bind(a),setScFrdValue:a.setScFrdValue.bind(a),addScFrdValue:a.addScFrdValue.bind(a),getHcfNameScFrdValueMap:a.getHcfNameScFrdValueMap.bind(a),setHcfNameScFrdValueMap:a.setHcfNameScFrdValueMap.bind(a),setSelectedSymptomFrdValues:a.setSelectedSymptomFrdValues.bind(a),setParentCaseName:a.setParentCaseName.bind(a),setSubmissionChannel:a.setSubmissionChannel.bind(a),shouldSubmitToCasesV2:a.shouldSubmitToCasesV2.bind(a),addCasesAttachment:a.addCasesAttachment.bind(a), setChatType:function(){}, getChatAvailability:a.getChatAvailability.bind(a),getRedwoodId:a.getRedwoodId.bind(a),prepopulateFields:a.prepopulateFields.bind(a),prefillFieldsFromSession:a.prefillFieldsFromSession.bind(a),setAssistiveQuestionAnswers:a.setAssistiveQuestionAnswers.bind(a),getId:a.getId.bind(a),getServiceVrgTaxonomyId:a.getServiceVrgTaxonomyId.bind(a),getServiceVrgTaxonomyView:a.getServiceVrgTaxonomyView.bind(a),setSupportJourneyId:a.setSupportJourneyId.bind(a),getInjectedScFrdValues:a.getInjectedScFrdValues.bind(a), setInjectedScFrdValue:a.setInjectedScFrdValue.bind(a),getInjectedFrdValuesEventId:a.getInjectedFrdValuesEventId.bind(a),setIncludesTargetSelector:a.setIncludesTargetSelector.bind(a),setTargetVerified:a.setTargetVerified.bind(a),getStatusMessage:a.getStatusMessage.bind(a),setErrorMessage:a.setErrorMessage.bind(a),getHelpCenterFieldFrds:a.getHelpCenterFieldFrds.bind(a),setHelpCenterFieldFrd:a.setHelpCenterFieldFrd.bind(a),setDynamicQuestionAnswers:a.setDynamicQuestionAnswers.bind(a),getDynamicQuestionAnswers:a.getDynamicQuestionAnswers.bind(a), getHasCheckedForDynamicRecommendation:a.getHasCheckedForDynamicRecommendation.bind(a),setHasCheckedForDynamicRecommendation:a.setHasCheckedForDynamicRecommendation.bind(a),getShouldShowNextStep:a.getShouldShowNextStep.bind(a),setShouldShowNextStep:a.setShouldShowNextStep.bind(a)};return a.Mq=b};function bdb(){var a,b;return typeof((a=navigator)==null?void 0:(b=a.mediaDevices)==null?void 0:b.getDisplayMedia)==="function"} ;function w2(a,b){var c,e;(e=(c=window).sc_trackStatsEvent)==null||e.call(c,a,b,z().pid)} ;function x2(a){A.call(this,"sc.forms.Screenshare");this.o=null;this.ma=!1;this.params=a} u(x2,A);x2.prototype.content=function(a){var b=this;a&&(this.params=a);this.element("div","class","screenshare",function(){b.o=b.element("video","autoplay",!0,"class","screenshare-video");b.ma&&b.element("div","class","screenshare-floating-message",function(){(new xu({ariaLabel:"You can scroll around",text:"You can scroll around",icon:"gm/swap_vert",selected:!1})).render()}); b.params.stream&&(b.o.srcObject=b.params.stream,b.ma||cdb(b))})}; function cdb(a){La(function(b){if(b.o==1){if(!a.params.Pg||!a.o)return b.Pa(0);b.ua(3);return b.yield(a.params.Pg.forwardWheel(a.o),5)}if(b.o!=3){a.ma=!0;a.params.wI(a.ma);var c,e;(e=(c=window).sc_trackStatsImpressions)==null||e.call(c,[{type:309,id:z().pid}],!0);w2(309,10);a.Ia();return b.ya(0)}b.qa();b.oa()})} function ddb(a){var b,c,e;return La(function(f){if(!a.o)return f.return(Promise.resolve(new Blob([],{type:"image/png"})));b=a.o;c=document.createElement("canvas");c.width=b.videoWidth;c.height=b.videoHeight;e=c.getContext("2d");e.drawImage(b,0,0,c.width,c.height);return f.return(new Promise(function(h){c.toBlob(function(k){k?h(k):h(new Blob([],{type:"image/png"}))},"image/png")}))})} x2.prototype.WM=function(){return this.ma};function y2(a){A.call(this,"sc.forms.ScreenshareControllers");this.params=a;this.ma=new Qo({text:"Change tab",ariaLabel:"Change tab",style:3,icon:"gm/swap_horiz",Mf:24,trigger:function(){w2(309,56);a.oS()}}); this.o=new Qo({text:"Capture screenshot",ariaLabel:"Capture screenshot",style:4,icon:"gm/screenshot_monitor",Mf:24,trigger:function(){w2(309,46);a.jp()}})} u(y2,A);function edb(a,b,c){a=a.element("span","class","screenshare-footer-learn-more","role","button","tabindex","0","onkeydown",function(e){if(e.key==="Enter"||e.key===" "){var f;(f=e.target)==null||f.click();e.preventDefault()}},"Learn more"); (new tt({trigger:a,text:b,Aj:4,Jj:"35rem",vr:c,xk:!1})).render()} function fdb(a){a.element("div","class","screenshare-footer-scroll-info",function(){var b=a.params.WM,c="",e="",f=-150;a.params.Pg?b||(c="Scroll may be disabled.",e=" How to enable scrolling

  1. Click the Tune icon in the address bar
  2. Go to Shared tabs
  3. Turn on Scrolling & zooming
  4. Reload this page
",f=-170):(c="Scrolling may be unavailable.",e=" To capture the right area of the page:
  1. Go to the shared tab
  2. Scroll to the area of concern
  3. Come back to this page to capture the screenshot
"); c&&(a.element("span",c),e&&edb(a,e,f))})} y2.prototype.content=function(){var a=this;this.element("div","class","screenshare-footer",function(){fdb(a);a.element("div","class","screenshare-footer-buttons",function(){a.ma.render();a.o.render()})})};function z2(a){A.call(this,"sc.forms.ScreenshotEdit");var b=this;this.oa=!1;this.Jk=this.ma=0;this.scaleY=this.scaleX=1;this.qa=[];this.ua=function(c){if(b.params.Pf!=="NONE"){b.oa=!0;var e=b.canvas,f=e.getBoundingClientRect();b.scaleX=e.width/f.width;b.scaleY=e.height/f.height;b.ma=(c.clientX-f.left)*b.scaleX;b.Jk=(c.clientY-f.top)*b.scaleY;var h;(h=b.canvas)==null||h.addEventListener("mousemove",b.va);var k;(k=b.canvas)==null||k.addEventListener("mouseup",b.Ba)}}; this.va=function(c){if(b.oa){var e=b.canvas.getBoundingClientRect(),f=(c.clientX-e.left)*b.scaleX,h=(c.clientY-e.top)*b.scaleY;A2(b);b.o=b.o;c=Math.min(b.ma,f);e=Math.min(b.Jk,h);f=Math.abs(b.ma-f);h=Math.abs(b.Jk-h);var k=b.params.Pf;k==="HIGHLIGHT"?gdb(b,c,e,f,h):k==="HIDE"&&(b.o=b.o,b.o.fillStyle="rgba(0, 0, 0, 1)",b.o.fillRect(c,e,f,h))}}; this.Ba=function(c){if(b.oa){b.oa=!1;var e=b.canvas.getBoundingClientRect(),f=(c.clientX-e.left)*b.scaleX,h=(c.clientY-e.top)*b.scaleY;c=Math.min(b.ma,f);e=Math.min(b.Jk,h);f=Math.abs(b.ma-f);h=Math.abs(b.Jk-h);(f>0||h>0)&&b.qa.push({x:c,y:e,width:f,height:h,mode:b.params.Pf});var k;(k=b.canvas)==null||k.removeEventListener("mousemove",b.va);var l;(l=b.canvas)==null||l.removeEventListener("mouseup",b.Ba);A2(b)}}; this.params=a} u(z2,A);z2.prototype.content=function(a){var b=this;a&&(this.params=a);this.element("div","class","root",function(){b.canvas=b.element("canvas","class","screenshot-image");b.o=b.canvas.getContext("2d");b.canvas.addEventListener("mousedown",b.ua);hdb(b)})}; z2.prototype.onDetach=function(){var a;(a=this.canvas)==null||a.removeEventListener("mousedown",this.ua);this.qa=[]}; function hdb(a){a.canvas=a.canvas;var b=Dl(a.params.Hi),c=new Image;c.onload=function(){a.canvas=a.canvas;a.canvas.width=c.width;a.canvas.height=c.height;a.Da=c;A2(a)}; c.src=b.toString()} function A2(a){if(a.canvas&&a.o&&a.Da){var b=a.canvas;a.o=a.o;a.o.clearRect(0,0,b.width,b.height);a.o.drawImage(a.Da,0,0);b=w(a.qa);for(var c=b.next();!c.done;c=b.next()){var e=c.value,f=a,h=e.x,k=e.y,l=e.width;c=e.height;e=e.mode;e==="HIGHLIGHT"?gdb(f,h,k,l,c):e==="HIDE"&&(f.o=f.o,f.o.fillStyle="rgba(0, 0, 0, 1)",f.o.fillRect(h,k,l,c))}}} function gdb(a,b,c,e,f){a.o=a.o;a.o.strokeStyle="rgb(255, 187, 41)";a.o.lineWidth=4;a.o.strokeRect(b,c,e,f)} function idb(a){return La(function(b){return a.qa.length!==0&&a.canvas?b.return(new Promise(function(c){a.canvas.toBlob(function(e){c(e)})})):b.return(Promise.resolve(a.params.Hi))})} ;function B2(a){A.call(this,"sc.forms.ScreenshotEditControllers");this.ma=new Qo({text:"Cancel",ariaLabel:"Cancel",trigger:function(){w2(311,59);a.HD()}, style:3,le:"material-pill",Mc:"px"});this.o=new Qo({text:"Done",ariaLabel:"Done",trigger:function(){w2(311,60);var b;(b=a.mI)==null||b.call(a)}, style:4,le:"material-pill",Mc:"px"});this.params=a} u(B2,A);function jdb(a){return new xu({ariaLabel:"Highlight",text:"Highlight",icon:"gm/highlight_alt",selected:a.params.Pf==="HIGHLIGHT",trigger:function(){w2(311,58);a.params.Wl("HIGHLIGHT")}})} function kdb(a){return new xu({ariaLabel:"Hide",text:"Hide",icon:"gm/featured_video",selected:a.params.Pf==="HIDE",trigger:function(){w2(311,5);a.params.Wl("HIDE")}})} B2.prototype.content=function(){var a=this;this.element("div","class","root",function(){a.element("div","class","edit-control-buttons","aria-live","off",function(){jdb(a).render();kdb(a).render()}); a.element("div","class","modal-control-buttons",function(){a.ma.render();a.o.render()})})};function C2(a){A.call(this,"sc.forms.ScreenshotPreview");this.o=null;this.params=a;this.o=Dl(a.Hi).toString();this.ma=ldb(this)} u(C2,A);function ldb(a){return new xu({text:"Highlight or hide content",ariaLabel:"Highlight or hide content",style:0,type:1,icon:"gm/edit",trigger:function(){w2(310,24);a.params.wE()}, Xw:!0})} C2.prototype.focus=function(){this.ma.focus()}; C2.prototype.onDetach=function(){this.o&&(URL.revokeObjectURL(this.o),this.o=null)}; C2.prototype.content=function(){var a=this;this.element("div","class","root",function(){a.element("img","class","screenshot-image","src",a.o,"alt","Captured screenshot");a.element("div","class","edit-button-container",function(){a.ma.render()})}); requestAnimationFrame(function(){return void a.focus()})};function D2(a){A.call(this,"sc.forms.ScreenshotPreviewControllers");this.ma=new Qo({text:"Capture again",ariaLabel:"Capture again",icon:"gm/restart_alt",Mf:20,style:3,trigger:function(){w2(310,56);a.KD()}}); this.o=new Qo({text:"Attach screenshot",ariaLabel:"Attach screenshot",icon:"gm/attach_file_add",Mf:20,style:4,trigger:function(){w2(310,57);a.Zo()}})} u(D2,A);D2.prototype.content=function(){var a=this;this.element("div","class","root",function(){a.ma.render();a.o.render()})};function E2(a){A.call(this,"sc.forms.ScreenshotCaptureDialog");var b=this;this.ma=0;this.stream=null;this.page="SCREENSHARE";this.Hi=new Blob;this.Pf="NONE";this.ua=new z2({Hi:this.Hi,Pf:this.Pf});this.oa=null;this.o=!1;this.qa=new x2({stream:this.stream,Pg:this.Pg,wI:function(c){b.o=c;b.Ia()}}); this.params=a;this.dialog=new Bu({content:function(){b.element("div","class","screenshot-capture-dialog",function(){mdb(b)})}, Ah:{"background-color":"rgba(0,0,0,.3)"},Lm:!1,Km:!1,ariaLabel:ndb(this)})} u(E2,A);function ndb(a){switch(a.page){case "SCREENSHARE":return"Learn how we manage your data";case "SCREENSHOT_PREVIEW":return"Confirm screenshot";case "SCREENSHOT_EDIT":return"Highlight or hide information on the screenshot";default:return""}} function mdb(a){(new yu).render({content:function(){a.element("div","class","screenshot-capture-dialog-content",function(){odb(a);pdb(a);qdb(a)})}})} function rdb(a){a.element("div","class","screenshot-capture-dialog-title","role","heading",function(){switch(a.page){case "SCREENSHARE":(new Mo({icon:"gm/privacy_tip",size:24})).render();a.element("span","class","data-management-link","role","link","tabindex","0","onclick",function(b){Nl(window,Cl("https://policies.google.com/privacy"),"_blank");b.preventDefault()},"onkeydown",function(b){b.key==="Enter"&&(Nl(window,Cl("https://policies.google.com/privacy"),"_blank"),b.preventDefault())},"Learn how we manage your data"); break;case "SCREENSHOT_PREVIEW":a.element("span","Confirm screenshot");break;case "SCREENSHOT_EDIT":a.element("span","Highlight or hide information on the screenshot")}})} function odb(a){a.element("div","class","screenshot-capture-dialog-content-header",function(){rdb(a);sdb(a)})} function sdb(a){a.element("button","class","dialog-close-button","type","button","aria-label","Close","onclick",function(){a.close()},function(){(new Mo({icon:"gm/close", size:24,De:["close-icon"]})).render()})} function pdb(a){a.oa=a.element("div","class","screenshot-capture-dialog-content-body",function(){switch(a.page){case "SCREENSHARE":a.qa.render({stream:a.stream,Pg:a.Pg,wI:function(b){a.o=b;a.Ia()}}); break;case "SCREENSHOT_PREVIEW":(new C2({Hi:a.Hi,wE:function(){a.wE()}})).render(); break;case "SCREENSHOT_EDIT":a.ua.render({Hi:a.Hi,Pf:a.Pf})}})} function qdb(a){a.element("div","class","screenshot-capture-dialog-footer",function(){switch(a.page){case "SCREENSHARE":(new y2({oS:function(){a.close();a.params.jp()}, jp:function(){tdb(a)}, WM:a.o,Pg:a.Pg})).render();break;case "SCREENSHOT_PREVIEW":(new D2({KD:function(){a.KD()}, Zo:function(){a.Zo()}})).render(); break;case "SCREENSHOT_EDIT":(new B2({HD:function(){a.HD()}, Wl:function(b){a.Wl(b)}, Pf:a.Pf,mI:function(){a.mI()}})).render()}})} function tdb(a){La(function(b){if(b.o==1)return a.oa.classList.add("flash"),setTimeout(function(){a.oa.classList.remove("flash")},750),b.yield(ddb(a.qa),2); a.Hi=b.ma;a.page="SCREENSHOT_PREVIEW";a.Pf="NONE";udb(a);a.Ia();b.oa()})} n=E2.prototype;n.HD=function(){this.Pf="NONE";this.setPage("SCREENSHOT_PREVIEW")}; n.setPage=function(a){this.page!==a&&(this.page=a,this.Ia())}; n.KD=function(){this.close();this.params.jp()}; n.wE=function(){this.Pf="NONE";this.setPage("SCREENSHOT_EDIT")}; n.Wl=function(a){this.Pf!==a&&(this.Pf=a,this.Ia())}; n.content=function(){var a=this;this.element("div","class","root",function(){a.dialog.Ki(ndb(a));a.dialog.render()})}; n.open=function(a,b){var c=this;this.page="SCREENSHARE";this.Pg=b;this.stream=a;this.qa=new x2({stream:a,Pg:b,wI:function(e){c.o=e;c.Ia()}}); this.dialog.open();this.ma=window.pageYOffset;document.body.style.top=-this.ma+"px";document.body.style.width=document.body.clientWidth+"px";document.body.style.position="fixed";vdb(this)}; n.close=function(){this.page==="SCREENSHARE"&&udb(this);document.body.style.position="";document.body.style.width="";document.body.style.top="";window.scroll(0,this.ma);this.dialog.close();this.dialog.Ua()}; function udb(a){if(a.stream){a=w(a.stream.getTracks());for(var b=a.next();!b.done;b=a.next())b.value.stop()}} function vdb(a){if(a.stream){var b=a.stream.getTracks()[0],c=function(){a.page==="SCREENSHARE"&&a.close();b.removeEventListener("ended",c)}; b.addEventListener("ended",c)}} n.mI=function(){var a=this;return La(function(b){if(b.o==1)return b.yield(idb(a.ua),2);a.Hi=b.ma;a.page="SCREENSHOT_PREVIEW";a.Pf="NONE";a.Ia();b.oa()})}; n.Zo=function(){this.params.Zo(this.Hi)};function F2(a){A.call(this,"sc.forms.ScreenshotCapture");var b=this;this.zf="scFormsScreenshotcapturescreenshot-capture-button-tooltip";this.ma=new E2({jp:this.jp.bind(this),Zo:this.Zo.bind(this)});this.params=a;this.qa=new Qo({icon:"gm/add",text:this.params.allowMultipleFiles?"Choose files":"Choose file",ariaLabel:this.params.allowMultipleFiles?"Choose files":"Choose file",style:3,Mf:24,trigger:function(){w2(307,52);var c;(c=b.o)==null||c.click()}}); this.oa=new Qo({icon:"gm/screenshot_monitor",Mf:24,text:"Capture screenshot",ariaLabel:"Capture screenshot. You will be asked to share your screen.",style:4,trigger:function(){w2(306,52);b.jp()}}); this.attachments=new JF({Yf:this.params.Yf,allowMultipleFiles:this.params.allowMultipleFiles,formId:this.params.formId,wB:function(c){wdb(b,c)}, vB:function(c){wdb(b,c)}})} u(F2,A);F2.prototype.content=function(){var a=this;this.element("div","class","root",function(){a.attachments.render();xdb(a);ydb(a);bdb()&&zdb(a);a.ma.render()})}; function ydb(a){a.element("div","class","screenshot-capture-button-container",function(){if(bdb()){var b=Adb(a);(new tt({text:"You will be asked to share your screen.",trigger:b,zf:a.zf})).render()}Bdb(a)})} function Adb(a){return a.element("label","class","screenshot-capture-button-wrapper",function(){a.oa.render()})} function Bdb(a){a.element("label","class","upload-label","for",a.params.id,function(){a.qa.render()})} function zdb(a){a.element("div","class","callout-container",function(){(new tu({type:su,message:"For the fastest resolution, click Capture screenshot. If you upload a file, make sure the image shows the entire screen rather than cropping it. Details like your account ID, date ranges, and page URLs are important for support specialists to review.",position:"component",icon:"gm/info"})).render()})} F2.prototype.jp=function(){var a=this,b,c;return La(function(e){if(e.o==1){e.ua(2);var f=e.yield,h=navigator.mediaDevices,k=h.getDisplayMedia;if("CaptureController"in window&&typeof window.CaptureController==="function"){a.Pg=new window.CaptureController;a.Pg.setFocusBehavior("no-focus-change");var l={video:{displaySurface:"browser"},audio:!1,controller:a.Pg}}else l={video:{displaySurface:"browser"},audio:!1};return f.call(e,k.call(h,l),4)}if(e.o!=2)return b=e.ma,w2(306,10),a.ma.open(b,a.Pg),e.ya(0); c=e.qa();c instanceof DOMException&&c.name==="NotAllowedError"?w2(306,11):w2(306,21);e.oa()})}; F2.prototype.Zo=function(a){var b=this,c,e,f;return La(function(h){c=(new Date).toISOString().replace(/[^0-9]/g,"");e="screenshot_"+c+".png";f=new File([a],e,{type:a.type});b.attachments.addAttachments([f]);Cdb(b,f);b.ma.close();w2(306,57);b.Ia();h.oa()})}; F2.prototype.getValues=function(){var a=KF(this.attachments),b=[];a=w(a);for(var c=a.next();!c.done;c=a.next())c=c.value,b.push({name:this.params.id,value:"There was a file uploaded for this field."},{name:"upload_original_filename",value:c.filename},{name:"upload_cns_filename",value:c.Ff},{name:"upload_document_id",value:c.documentId});return b}; function xdb(a){var b=["type","file","id",a.params.id,"name",a.params.id,"class","screenshot-capture-input","onchange",function(){var c=a.o;if(c&&c.files&&c.files.length>0){c=a.o;c=c!=null&&c.files?Array.from(c.files):[];a.o&&(a.o.value="");if(c.length){a.attachments.addAttachments(c);for(var e=w(c),f=e.next();!f.done;f=e.next())Cdb(a,f.value);w2(307,57)}a.Ia();c.length&&sCa(a.attachments)}}].concat(za(a.params.allowMultipleFiles?["multiple", "1"]:[]));a.o=a.element.apply(a,["input"].concat(za(b)))} function Cdb(a,b){a.o&&ss(a.o,"uploadstart",{detail:b})} function wdb(a,b){a.o&&ss(a.o,"uploadend",{detail:b})} ;
false
false
false
true
true
true
true
true
7309155,7249334,7303230,7332538,7420927,7303233,7247179,7247304,7247188,9305646,7247297
false
true
false
12677017
false
false