Tag your website using Google Ads

To provide a comprehensive and consolidated view of your Audiences and make audience management and optimization simpler, you’ll see the following improvements in Google Ads:

  • New audience reporting
    Detailed reporting about audience demographics, segments, and exclusions is now consolidated in one place, the “Audiences” tab within the left page navigation menu. You can also easily manage your Audiences from this report page. Learn more About Audience reporting
  • New terms
    We’re using new terms on your audience report and throughout Google Ads. For example, “audience types” (these include similar, custom, in-market, and affinity) are now referred to as audience segments and “remarketing” is now referred to as “your data”. Learn more about the Updates to Audience terms and phrases

Tag your website with the global site tag to set up an audience source in your website or apps that helps you reach people who have visited your website or who have used your app. The global site tag is a web tagging library for Google's site measurement, conversion tracking, and products using your data segments. It’s a block of code that adds your website visitors to your data segments, allowing you to target your ads to these visitors.

For dynamic remarketing, you’ll also use event snippets, which passes specific data to Google Ads about your website visitors and the actions that they take on your site.

This article contains instructions for how to set up tracking using global site tag, including using snippets for tracking. You can skip to one of the following sections:

Additionally, learn how to tag your site for dynamic remarketing or how to set up your app for dynamic remarketing.

Before you begin

  • You need to be familiar with your website's code. Otherwise consider working with a developer or someone with a technical background.
  • Your data segments that are comprised of your website visitors and app users need to have a minimum number of visitors in order for your ads to show.
  • Once you tag your website, people visiting your website will be automatically added to your data segments based on the rules you've set.
Google Ads does not permit the implementation of tags on pages related to policy-restricted offers. Learn more about the Personalized advertising policy

Instructions

Setting up remarketing for the first time with the Google Ads tag

To set up website remarketing for the first time in Google Ads, you'll need to add a code snippet to your website: the global site tag and the optional event snippet.

Once you’ve installed the global site tag, it will capture information about the pages viewed by your website visitors. This information includes the page URL and title, and is used to create remarketing lists.

You must install the global site tag on every page of your website, but you need only one global site tag for each Google Ads account.

Setting up event snippets

The event snippet can be used to pass specific data to Google Ads about your website visitors and the actions they take on your site, such as viewing a product, completing purchases, filling out online forms, and setting up registration. The data passed to the event snippet can be used to create dynamic remarketing lists as well.

You can also use the event snippet to measure additional actions that should be counted as dynamic remarketing events. Install this snippet on site pages you'd like to measure, where the event occurs. These events include when a customer makes a purchase on a retail site, or searching for airline tickets on a travel site. Learn more about event parameters for different business types

Please ensure you're providing users with clear and comprehensive information about data collection, and obtaining consent where legally required.

Create or edit your global site tag and remarketing event snippet

  1. Sign in to Google Ads.
  2. Click on the tools icon Google Ads | tools [Icon] in the upper right and click Audience Manager under the section labeled “Shared library”.
  3. On the left, click Audience sources. This opens a group of sources from which you can create remarketing lists.
  4. In the “Google Ads tag” card, click SET UP TAG.
    • If you’ve already set up a tag, select Edit source from the 3-dot icon 3 dot icon in the upper right of the “Google Ads tag” card. If you’re just getting the code, skip to step 6.
  5. Select which type of data the tag will collect, standard remarketing data or dynamic remarketing data, which includes specific attributes/parameters.
    • You can also choose to include the user ID parameter with the tag. Including the user ID parameter allows you to pass a user ID to the tag for each website visitor, which enables features like cross-device linking.
    • If you select specific attributes or parameters, you can choose the business type that best represents your products and services.
  6. Click CREATE AND CONTINUE.
    • This button will say SAVE AND CONTINUE for an existing tag.
  7. When the installation screen appears, your global site tag and event snippet will be ready for use. You can copy the code, use Tag Manager, download the tag, or email the tag to a web developer.
    • To integrate remarketing into your site, copy the code and paste it between the <head></head> tags of the website.
      Alert: The event snippet should not be copied and pasted as-is for use on your website. It contains placeholder values that your web developer must dynamically populate when they integrate the snippet code into their web server. Learn how to use event parameters for your business type
    • The global site tag must be added into every page of your site. Whereas the event snippet only needs to be added into the specific pages you want to track for dynamic remarketing events.
      Note: If you have already set up the global site tag using Display & Video 360, Search Ads 360, Campaign Manager 360, Google Analytics or another Google Ads account, it isn’t necessary to add it to your website again. However, for both conversion tracking and remarketing to work, you’ll be required to add the config command (a piece of code that contains your conversion ID) to every instance of the global site tag right above the </script> end tag. In the following example, “AW-CONVERSION_ID” stands for your account’s conversion ID:

      gtag('config', 'AW-CONVERSION_ID');

      If you have the global site tag implemented from products other than those listed above, it needs to be customized to enable measurement with Google Ads. If you are using the old event snippet, you may be prompted to change to the new event snippet, which is recommended.

  8. Click DONE.
  9. In the following “What’s Next” confirmation screen, click DONE again.
    • Optional: If you previously added the global site tag from another Google product such as Google Analytics, make sure you add the 'config' command from the Google Ads tag (highlighted below) to every existing instance of the tag. Note that "AW-123456789" is only an example of an ID. You'll need to replace this part of the 'config' command with your accounts' conversion ID in the global site tag box.
          <script async src="https://www.googletagmanager.com/gtag/js?id=AW-123456789"> </script>
          <script>
          window.dataLayer = window.dataLayer | | [ ] ;
          function gtag ( ) {dataLayer.push (arguments ) ; }
          gtag ('js' , new Date ( ) ) ;
          gtag ('config', 'AW-123456789') ;
          </script>

Using the Google Analytics tag in place of the Google Ads tag

To use your Google Analytics tag instead of the Google Ads remarketing tag, you’ll need to have the following:

  • Google Analytics tag on your website
  • Linked Google Ads and Google Analytics accounts (when linking your accounts, you'll need administrative access to the Google Ads account and edit access to the Google Analytics account)
  • Remarketing and advertising features enabled in Google Analytics

For detailed instructions, see Enable remarketing and advertising reporting features in Google Analytics.

Advanced options

Disable the collection of your data

You can choose to disable the collection of personalized advertising data for users who do not wish to view personalized ads or for your own compliance reasons. You can modify the global site tag and disable the collection of personalized advertising data for particular users on your site, or choose to exclude all users from California in the Audience Manager section of your Google Ads account.

Disable the first-party cookie setting

To ensure that Google Ads can measure all of your conversions, regardless of the browser that your site visitor is using, your global site tag sets new cookies on your domain that will store information about the ad click that brought people to your website.

If you don’t want your data tag to set first-party cookies on your site’s domain, add the following line to the tag configuration before you load the script tag:

var google_conversion_linker = false;

If you’re using conversion_async.js, add the highlighted portion below to the google_trackConversion call:

window.google_trackConversion( { google_conversion_linker : false } );

It's not recommended to do this because it will lead to less accurate conversion measurement.

Was this helpful?
How can we improve it?

Need more help?

Sign in for additional support options to quickly solve your issue

Search
Clear search
Close search
Google apps
Main menu

");return(new DOMParser).parseFromString(rf(a),"text/html").body.children[0]} function ji(a,b){if(!a)return jf;var c=document.createElement("div").style;li(a).forEach(function(e){var f=nc&&e in Xba?e:e.replace(/^-(?:apple|css|epub|khtml|moz|mso?|o|rim|wap|webkit|xv)-(?=[a-z])/i,"");Db(f,"--")||Db(f,"var")||(e=fi(a,e),e=Fba(f,e,b),null!=e&&hi(c,f,e))}); return new ef(c.cssText||"",df)} function $ba(a){var b=Array.from($h(Jba,a,"getElementsByTagName",["STYLE"])),c=vaa(b,function(k){return gc(Uba(k).cssRules)}); c=ii(c);for(var e=[],f=0;fma?1:lar?1:p"+b+""),$ba(b),b=b.innerHTML);b=uf(b);var c=document.createElement("template");if(ica&&"content"in c)cg(c,b),c=c.content;else{var e=document.implementation.createHTMLDocument("x");c=e.body;cg(e.body,b)}b=document.createTreeWalker(c,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT,null, !1);for(c=dca?new WeakMap:new mi;e=b.nextNode();){c:{var f=e;switch(di(f)){case 3:f=this.createTextNode(f);break c;case 1:if("TEMPLATE"==ci(f).toUpperCase())f=null;else{var h=ci(f).toUpperCase();if(h in this.na||"http://www.w3.org/1999/xhtml"!=Vba(f))var k=null;else this.ha[h]?k=document.createElement(h):(k=Hh("SPAN"),this.ua&&bi(k,"data-sanitizer-original-tag",h.toLowerCase()));if(k){var l=k,p=ai(f);if(null!=p)for(var r=0;h=p[r];r++)if(h.specified){var u=f;var A=h;var la=A.name;if(Db(la,"data-sanitizer-"))A= null;else{var ma=ci(u);A=A.value;var oa={tagName:Gb(ma).toLowerCase(),attributeName:Gb(la).toLowerCase()},sa={wt:void 0};"style"==oa.attributeName&&(sa.wt=Tba(u));u=xi(ma,la);u in this.o?(la=this.o[u],A=la(A,oa,sa)):(la=xi(null,la),la in this.o?(la=this.o[la],A=la(A,oa,sa)):A=null)}null!==A&&bi(l,h.name,A)}f=k}else f=null}break c;default:f=null}}if(f){if(1==di(f)&&c.set(e,f),e=ei(e),h=!1,e)k=di(e),l=ci(e).toLowerCase(),p=ei(e),11!=k||p?"body"==l&&p&&(k=ei(p))&&!ei(k)&&(h=!0):h=!0,k=null,h||!e?k=a: 1==di(e)&&(k=c.get(e)),k.content&&(k=k.content),k.appendChild(f)}else Lh(e)}c.clear&&c.clear()}else a=Hh("SPAN");0")+1,a.lastIndexOf(""))}else a="";return uf(a)}; qi.prototype.createTextNode=function(a){var b=a.data;(a=ei(a))&&"style"==ci(a).toLowerCase()&&!("STYLE"in this.na)&&"STYLE"in this.ha&&(b=of(Zba(b,this.ma,sb(function(c,e){return this.ta(c,{PC:e})},this)))); return document.createTextNode(b)};function yi(a){var b=new ri;b.ta=uca;b.na=bg;b=vi(b,bg);b.ma=af;return ui(b,af).build().wg(a)} function zi(a){return(new ri).build().wg(a)} ;/* SPDX-License-Identifier: Apache-2.0 */ var vca=Object.prototype.hasOwnProperty;function Ai(){} Ai.prototype=Object.create(null);function Bi(a,b){for(;a.length>b;)a.pop()} function Ci(a){a=Array(a);Bi(a,0);return a} ;var Di=new Ai;Di.__default=function(a,b,c){var e=typeof c;"object"===e||"function"===e?a[b]=c:null==c?a.removeAttribute(b):(e=0===b.lastIndexOf("xml:",0)?"http://www.w3.org/XML/1998/namespace":0===b.lastIndexOf("xlink:",0)?"http://www.w3.org/1999/xlink":null)?a.setAttributeNS(e,b,c):a.setAttribute(b,c)}; Di.style=function(a,b,c){a=a.style;if("string"===typeof c)a.cssText=c;else{a.cssText="";for(var e in c)vca.call(c,e)&&(b=c[e],0\n \n \n\n'), "add.svg":Ie('\n'),"add_ad.svg":Ie('\n'), "add_box.svg":Ie('\n'),"announcement.svg":Ie('\n \n \n\n'), "arrow_back.svg":Ie('\n \n \n\n'),"arrow_downward.svg":Ie('\n'),"arrow_drop_down.svg":Ie('\n'), "arrow_drop_up.svg":Ie('\n'),"arrow_forward.svg":Ie('\n'),"arrow_upward.svg":Ie('\n'), "article.svg":Ie('\n'),"attach_file.svg":Ie('\n'), "auto_awesome.svg":Ie('\n'),"awf.svg":Ie('\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n'), "awf_dark.svg":Ie('\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n'), "calendar_today.svg":Ie('\n'),"chat.svg":Ie('\n \n \n\n'), "check.svg":Ie('\n \n \n\n'),"check_circle.svg":Ie('\n \n \n\n'), "check_circle_filled.svg":Ie('\n \n \n \n \n\n'),"check_circle_outline.svg":Ie('\n \n \n\n'), "close.svg":Ie('\n \n \n\n'),"code.svg":Ie('\n'),"content_copy.svg":Ie('\n \n\n'), "control_point_duplicate.svg":Ie('\n'), "delete.svg":Ie('\n'),"delete_outline.svg":Ie('\n'),"do_not_disturb.svg":Ie('\n \n \n\n'), "down_arrow.svg":Ie('\n \n \n\n'),"drive_document.svg":Ie('\n \n \n\n'),"drive_image.svg":Ie('\n \n \n\n'), "dvr.svg":Ie('\n'),"email.svg":Ie('\n \n \n\n'), "error.svg":Ie('\n'),"error_outline.svg":Ie('\n \n \n\n'), "event_available.svg":Ie('\n \n \n\n'),"face.svg":Ie('\n'), "fast_forward.svg":Ie('\n'),"featured_video.svg":Ie('\n'), "filter_list.svg":Ie('\n \n\n'),"flag.svg":Ie('\n'),"format_bold.svg":Ie('\n'), "format_clear.svg":Ie('\n'),"format_indent_decrease.svg":Ie('\n'), "format_indent_increase.svg":Ie('\n'),"format_italic.svg":Ie('\n'),"format_list_bulleted.svg":Ie('\n'), "format_list_numbered.svg":Ie('\n'),"format_quote.svg":Ie('\n \n\n'), "format_underline.svg":Ie('\n'),"help_outline.svg":Ie('\n \n \n\n'), "highlight_alt.svg":Ie('\n'),"info.svg":Ie('\n \n \n\n'), "info_filled.svg":Ie('\n'),"keep_pin_outline.svg":Ie('\n \n \n\n'), "keyboard_arrow_up.svg":Ie('\n \n \n\n'),"label.svg":Ie('\n \n \n\n'), "label_off.svg":Ie('\n \n \n\n'), "language.svg":Ie('\n'), "lightbulb.svg":Ie('\n'),"link.svg":Ie('\n'), "lock.svg":Ie('\n \n \n \n\n'),"lock_open.svg":Ie('\n \n \n \n\n'), "mail_outline.svg":Ie('\n'),"maximize.svg":Ie('\n'),"minimize.svg":Ie('\n'), "mode_edit.svg":Ie('\n \n \n\n'),"more_vert.svg":Ie('\n \n \n\n'), "navigate_before.svg":Ie('\n'),"navigate_next.svg":Ie('\n'),"notifications.svg":Ie('\n'), "open_in_new.svg":Ie('\n'),"phone.svg":Ie('\n \n \n\n'), "play_arrow.svg":Ie('\n \n \n\n'),"play_circle.svg":Ie('\n \n \n\n'),"public.svg":Ie('\n \n \n\n'), "question_answer.svg":Ie('\n \n \n\n'),"remove_circle_outline.svg":Ie('\n \n \n\n'), "reply.svg":Ie('\n \n\n'),"restart_alt.svg":Ie('\n \n \n\n'), "schedule.svg":Ie('\n \n\n'),"screenshot_monitor.svg":Ie('\n'), "search.svg":Ie('\n \n \n\n'),"send.svg":Ie('\n'), "sentiment_very_satisfied.svg":Ie('\n'),"star.svg":Ie('\n'), "star_boarder.svg":Ie('\n'),"storefront.svg":Ie('\n \n\n'), "supervised_user_circle.svg":Ie('\n \n \n \n \n\n'), "text_format.svg":Ie('\n'),"thumb_down_alt.svg":Ie('\n'), "thumb_up.svg":Ie('\n'),"thumb_up_alt.svg":Ie('\n'), "translate.svg":Ie('\n'),"undo.svg":Ie('\n'), "unfold_more.svg":Ie('\n'),"unpin.svg":Ie('\n \n \n\n'), "video_youtube.svg":Ie('\n'),"video_youtube_outline.svg":Ie('\n \n \n\n'), "view_column.svg":Ie('\n'),"visibility.svg":Ie('\n \n \n\n'), "warning.svg":Ie('\n \n \n\n')};var Eca="arrow_back arrow_forward chevron_left chevron_right exit_to_app first_page format_quote last_page navigate_before navigate_next open_in_new star_half gm/arrow_back gm/arrow_forward gm/format_quote gm/help_outline gm/play_arrow gm/open_in_new gm/undo".split(" "); function yj(a){var b=a.icon,c=void 0===a.ariaLabel?"":a.ariaLabel,e=void 0===a.size?24:a.size,f=void 0===a.rb?!1:a.rb,h=void 0===a.Pd?[]:a.Pd,k=void 0===a.title?"":a.title;a=void 0===a.tc?"rem":a.tc;E.call(this,"sc.shared.MaterialIcon");this.icon=b;this.ariaLabel=c;this.size=e;this.Pd=h;this.rb=f;this.title=k;this.tc=a} w(yj,E); yj.prototype.content=function(){var a=this,b=""+("rem"!==this.tc?this.size:this.size/16)+this.tc,c={root:!0,baseline:this.rb,flip:-1!==Eca.indexOf(this.icon)},e=0===this.icon.indexOf("gm/");e||(c["text-icon"]=!0);for(var f=t(this.Pd),h=f.next();!h.done;h=f.next())h=h.value,""!==h&&(c[h]=!0);e?this.element("div","class",c,"title",this.title,"role",""!==this.ariaLabel||""!==this.title?"img":"presentation","aria-label",""!==this.ariaLabel?this.ariaLabel:void 0,"style",{width:b,height:b},function(){ij(Dca[a.icon.replace("gm/","")+ ".svg"])}):this.element("div","class",c,"title",this.title,"role",""!==this.ariaLabel||""!==this.title?"img":"presentation","aria-label",""!==this.ariaLabel?this.ariaLabel:void 0,"style","font-size: "+b,this.icon)};var Fca=[{opacity:0},{opacity:.16,offset:.25},{opacity:.16,offset:.5},{opacity:0}],Gca={duration:300},Hca={duration:225,easing:"cubic-bezier(.4, .0, .2, 1)"};function zj(a){a=void 0===a?{}:a;a=void 0===a.Uk?!1:a.Uk;E.call(this,"sc.shared.MaterialInteractionOverlay");var b=this;this.ha=!1;this.parentElement=null;this.Uk=a;this.oa=function(c){Aj(b,c.clientX,c.clientY,b.Uk)}; this.ka=function(){b.ha=!0;b.Ba()}; this.na=function(){b.ha=!1;b.Ba()}} w(zj,E);zj.prototype.content=function(){var a=this,b=sba(sh(getComputedStyle(this.element("span")).color));this.root=this.element("div","class",{root:!0,"light-text":b,hover:this.ha},"aria-hidden","true",function(){a.element("div","class","hover-overlay");a.element("div","class","pressed-overlay");a.o=a.element("div","class","ripple")}); Ica(this)}; function Ica(a){setTimeout(function(){var b=a.parentElement,c,e,f=null!=(e=a.getElement()&&(null==(c=a.getElement())?void 0:c.parentElement))?e:null;b!==f&&(b&&(b.removeEventListener("mousedown",a.oa),b.removeEventListener("mouseenter",a.ka),b.removeEventListener("mouseleave",a.na)),f&&(f.addEventListener("mousedown",a.oa),f.addEventListener("mouseenter",a.ka),f.addEventListener("mouseleave",a.na)),a.parentElement=f)},0)} function Bj(a,b){"Enter"!==b.code&&"Space"!==b.code||Aj(a,0,0,!0)} function Aj(a,b,c,e){var f;if(null!=(f=a.o)&&f.animate){var h=a.root.getBoundingClientRect(),k=.6*Math.max(h.width,h.height)/256;f=(Math.sqrt(Math.pow(h.width/2,2)+Math.pow(h.height/2,2))+10)/128;if(e)b=h="calc(50% - 128px)",k="scale("+k+")",f="scale("+f+")";else{b=b-h.left-128;var l=c-h.top-128;c=h.width/2-128-b;e=h.height/2-128-l;h=l+"px";b+="px";k="translate(0, 0) scale("+k+")";f="translate("+c+"px, "+e+"px) scale("+f+")"}k=[{transform:k},{transform:f}];a.o.style.top=h;a.o.style.left=b;a.o.style.transform= f;a.o.animate(Fca,Gca);a.o.animate(k,Hca)}} ;var Cj={},Jca=(Cj[0]="_self",Cj[1]="_blank",Cj[2]="_parent",Cj[3]="_top",Cj);function Dj(a){a=void 0===a?{text:""}:a;E.call(this,"sc.shared.MaterialChip");this.ha=new yj({icon:"gm/close",size:18});this.ka=new yj({icon:"gm/check",size:20,rb:!0});this.overlay=new zj;this.model=a instanceof wj?a:new wj(a);this.watch(this.model)} w(Dj,E);n=Dj.prototype;n.content=function(a){var b=this;a&&this.model.je(a);var c,e,f=null!=(e=null==(c=this.model.lf)?void 0:c.attributes({Pp:!1}))?e:[],h=this.model.Bl(),k=!!h,l=k?"a":"button";this.element("div","class","container",function(){b.element("div","class","touch-target","onclick",function(){if(!b.model.If()){var r;null==(r=b.o)||r.click();Aj(b.overlay,0,0,!0)}}); var p;b.o=b.element.apply(b,[l,"href",h,"target",k?Jca[b.model.getTarget()]:void 0,"disabled",b.model.If(),"aria-hidden",b.model.If(),"aria-label",null!=(p=b.model.ue())?p:void 0,"role",k?void 0:"button","aria-pressed",k?void 0:b.model.selected.toString(),"class",{root:!0,input:0===b.model.getType(),action:0!==b.model.getType(),assistive:1===b.model.getType(),suggestive:2===b.model.getType(),filter:3===b.model.getType(),hairline:0===b.model.getStyle(),"protected":1===b.model.getStyle(),selected:b.model.selected, disabled:b.model.If(),href:k,limitWidth:!!b.model.Ei()},"style",{"max-width":b.model.Ei()},"onclick",function(){b.onClick()}, "onkeydown",function(r){Bj(b.overlay,r);if(b.model.am&&"Backspace"===r.key){var u;null==(u=b.model.remove)||u()}var A;null==(A=b.model.lf)||A.Zq(r)}, "data-removable",xj(b.model)?"true":void 0].concat(Ba(f),[function(){b.model.Dl()||Ej(b);b.model.getText()&&b.element("span","class","text",b.model.getText());b.model.Dl()&&Ej(b);xj(b.model)&&b.element("button","disabled",b.model.If(),"class","remove-icon","onclick",function(r){r.stopPropagation();var u;null==(u=b.model.remove)||u()},b.ha); b.overlay.render()}]))})}; n.onClick=function(){3===this.model.getType()&&this.model.setSelected(!this.model.selected);var a;null==(a=this.model.El())||a()}; function Ej(a){a.model.we()&&a.element("span","class",{icon:!0,"icon-right":a.model.Dl(),"icon__no-text":!a.model.getText()},function(){(new yj({icon:a.model.we(),size:20,rb:!0})).render()}); 3===a.model.getType()&&a.element("span","class",{checkmark:!0,"checkmark-right":a.model.Dl()},a.ka)} n.focus=function(){var a;null==(a=this.o)||a.focus()}; n.isSelected=function(){return this.model.selected}; n.setDisabled=function(a){this.model.setDisabled(a)};function Fj(a){var b="";try{b=a.replace(/[^\p{Letter}\s_-]/ug,"")}catch(c){b=a.replace(/[^\w\s_-]/g,"")}return b.trim().replace(/[\s_]+/g,"-").toLowerCase()} ;function Gj(a,b){this.ka=a;this.ma=b;this.ha=0;this.o=null} Gj.prototype.get=function(){if(0this.ha&&(this.ha++,a.next=this.o,this.o=a)};var Hj;function Kca(){var a=gb.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!Ob("Presto")&&(a=function(){var f=Hh("IFRAME");f.style.display="none";document.documentElement.appendChild(f);var h=f.contentWindow;f=h.document;f.open();f.close();var k="callImmediate"+Math.random(),l="file:"==h.location.protocol?"*":h.location.protocol+"//"+h.location.host;f=sb(function(p){if(("*"==l||p.origin==l)&&p.data==k)this.port1.onmessage()},this); h.addEventListener("message",f,!1);this.port1={};this.port2={postMessage:function(){h.postMessage(k,l)}}}); if("undefined"!==typeof a&&!Rb()){var b=new a,c={},e=c;b.port1.onmessage=function(){if(void 0!==c.next){c=c.next;var f=c.cb;c.cb=null;f()}}; return function(f){e.next={cb:f};e=e.next;b.port2.postMessage(0)}}return function(f){gb.setTimeout(f,0)}} ;function Ij(a){gb.setTimeout(function(){throw a;},0)} ;function Jj(){this.ha=this.o=null} Jj.prototype.add=function(a,b){var c=Kj.get();c.set(a,b);this.ha?this.ha.next=c:this.o=c;this.ha=c}; Jj.prototype.remove=function(){var a=null;this.o&&(a=this.o,this.o=this.o.next,this.o||(this.ha=null),a.next=null);return a}; var Kj=new Gj(function(){return new Lj},function(a){return a.reset()}); function Lj(){this.next=this.scope=this.o=null} Lj.prototype.set=function(a,b){this.o=a;this.scope=b;this.next=null}; Lj.prototype.reset=function(){this.next=this.scope=this.o=null};var Mj,Nj=!1,Oj=new Jj;function Pj(a,b){Mj||Lca();Nj||(Mj(),Nj=!0);Oj.add(a,b)} function Lca(){if(gb.Promise&&gb.Promise.resolve){var a=gb.Promise.resolve(void 0);Mj=function(){a.then(Qj)}}else Mj=function(){var b=Qj; "function"!==typeof gb.setImmediate||gb.Window&&gb.Window.prototype&&!Ob("Edge")&&gb.Window.prototype.setImmediate==gb.setImmediate?(Hj||(Hj=Kca()),Hj(b)):gb.setImmediate(b)}} function Qj(){for(var a;a=Oj.remove();){try{a.o.call(a.scope)}catch(b){Ij(b)}Kj.put(a)}Nj=!1} ;function Rj(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}} ;function Sj(a){this.o=0;this.ta=void 0;this.ka=this.ha=this.ma=null;this.na=this.oa=!1;if(a!=ag)try{var b=this;a.call(void 0,function(c){Tj(b,2,c)},function(c){Tj(b,3,c)})}catch(c){Tj(this,3,c)}} function Uj(){this.next=this.context=this.o=this.ha=this.child=null;this.ma=!1} Uj.prototype.reset=function(){this.context=this.o=this.ha=this.child=null;this.ma=!1}; var Vj=new Gj(function(){return new Uj},function(a){a.reset()}); function Wj(a,b,c){var e=Vj.get();e.ha=a;e.o=b;e.context=c;return e} function Xj(a){if(a instanceof Sj)return a;var b=new Sj(ag);Tj(b,2,a);return b} Sj.prototype.then=function(a,b,c){return Yj(this,"function"===typeof a?a:null,"function"===typeof b?b:null,c)}; Sj.prototype.$goog_Thenable=!0;n=Sj.prototype;n.yk=function(a,b){return Yj(this,null,a,b)}; n.catch=Sj.prototype.yk;n.cancel=function(a){if(0==this.o){var b=new Zj(a);Pj(function(){ak(this,b)},this)}}; function ak(a,b){if(0==a.o)if(a.ma){var c=a.ma;if(c.ha){for(var e=0,f=null,h=null,k=c.ha;k&&(k.ma||(e++,k.child==a&&(f=k),!(f&&1=c.tabIndex?b:c})} ;var tk=[];function uk(){var a=this;this.na=this.o=null;this.ha=!1;this.ma=[];this.ka=[];this.oa=function(b){if(a.o&&a.ha){var c=qk(a.o),e=sk(c),f;e&&(f=Qca(c));switch(b.key){case "Tab":if(!e||!f)break;b.shiftKey?document.activeElement===e&&(b.preventDefault(),f.focus()):document.activeElement===f&&(b.preventDefault(),e.focus());break;case "Escape":b.stopPropagation(),a.na()}}}} uk.prototype.init=function(a,b,c){c=void 0===c?!1:c;this.na=b;if(this.o=a)this.o.addEventListener("keydown",this.oa),c&&vk(this)}; function wk(a,b){if(b||!1!==b&&!a.ha)vk(a);else if(a.ha){for(xk(a);0\n \n \n '))); e.addEventListener("click",function(){a.o.setMonth(a.o.getMonth()+-1);Ak(a)}); c.appendChild(e);e=document.createElement("button");e.className="next";e.setAttribute("title","Next month");e.setAttribute("aria-label","Next month");e.appendChild(Jh(Ie('\n \n \n ')));e.addEventListener("click",function(){a.o.setMonth(a.o.getMonth()+1);Ak(a)}); c.appendChild(e);c=document.createElement("tr");c.appendChild(b);return c} function Vca(a){var b=document.createElement("tr");b.className="weekdays";for(var c=[],e=0;7>e;e++){var f=document.createElement("td");c.push(f);b.appendChild(f)}e=new Date(a.o);for(f=0;7>f;f++){c[e.getDay()].textContent=a.ta?e.toLocaleString(a.na,{weekday:"narrow"}):"SMTWTFS"[e.getDay()];var h=a.ta?e.toLocaleString(a.na,{weekday:"long"}):Bk[e.getDay()];Ff(Ck,c[e.getDay()],"aria-label",h);e.setDate(e.getDate()+1)}return b} function Ak(a){a.ma.textContent=a.ta?a.o.toLocaleString(a.na,{month:"long",year:"numeric"}):a.o.getMonth()+1+"/"+a.o.getFullYear();a.ka.textContent="";var b=new Date(a.o);b.setDate(1);for(0e;e++){var f=document.createElement("td");if(b.getMonth()==a.o.getMonth()){var h=document.createElement("button");f.setAttribute("data-time",b.getTime());var k=!1;a.oa&&(k=a.oa.getTime()===b.getTime());h.textContent= b.getDate().toString();h.className="selectable";var l=Bk[b.getDay()]+" "+b.getDate()+" "+a.ma.textContent;Ff(Ck,h,"aria-label",l);k&&og(h,"selected",!0);f.appendChild(h)}else f.className="unselectable";c.appendChild(f);b.setDate(b.getDate()+1)}a.ka.appendChild(c)}} function Dk(a){return new Date(a.getFullYear(),a.getMonth(),1)} zk.prototype.va=function(a){this.ua=a}; zk.prototype.getElement=function(){return this.ha}; var Bk="Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),Ck=[Lf(Rca)];window.sc_createCalendar=function(a){a=new zk(a);return{setSelectDateCallback:a.va.bind(a),getElement:a.getElement.bind(a)}};function Ek(a){tj.call(this);this.text="";this.disabled=!1;this.Lj=!0;this.title=this.ariaLabel=this.href="";this.ariaHasPopup=!1;this.maxWidth=this.icon="";this.style=1;this.ej=!1;this.tc="rem";this.compact=this.Ac=!1;this.uk=this.nh=0;this.je(a)} w(Ek,tj);n=Ek.prototype; n.je=function(a){var b=void 0===a.href?"":a.href,c=a.target,e=void 0===a.ariaLabel?"":a.ariaLabel,f=void 0===a.title?"":a.title,h=void 0===a.icon?"":a.icon,k=void 0===a.style?1:a.style,l=void 0===a.disabled?!1:a.disabled,p=void 0===a.Lj?!0:a.Lj,r=a.ariaExpanded,u=void 0===a.ariaHasPopup?!1:a.ariaHasPopup,A=a.bt,la=a.ariaPressed,ma=void 0===a.ej?!1:a.ej,oa=void 0===a.maxWidth?"":a.maxWidth,sa=a.trigger,ua=void 0===a.Ac?!1:a.Ac,va=void 0===a.compact?!1:a.compact,Ea=void 0===a.nh?0:a.nh,Oa=void 0=== a.uk?0:a.uk,Ja=void 0===a.tc?"rem":a.tc;this.text=void 0===a.text?"":a.text;this.href=b;this.target=c;this.ariaLabel=e;this.title=f;this.ariaExpanded=r;this.ariaHasPopup=u;this.bt=A;this.ariaPressed=la;this.maxWidth=oa;this.ej=ma;this.icon=h;this.style=k;this.disabled=l;this.Lj=p;this.trigger=sa;this.Ac=ua;this.compact=va;this.nh=Ea;this.uk=Oa;this.tc=Ja}; n.getText=function(){return this.text}; n.setText=function(a){this.text=a;this.wa(0)}; n.If=function(){return this.disabled}; n.setDisabled=function(a){this.disabled=a;this.wa(2)}; n.rd=pa(1);n.Bl=function(){return this.href}; n.getTarget=function(){return this.target}; n.zv=pa(2);n.ue=function(){return this.ariaLabel}; n.getTitle=function(){return this.title}; n.sk=function(a){this.ariaExpanded=a;this.wa(3)}; n.Xt=function(){return this.ariaExpanded}; n.pu=function(){return this.ariaHasPopup}; n.we=function(){return this.icon}; n.Ei=function(){return this.maxWidth}; n.getStyle=function(){return this.style}; n.El=function(){return this.trigger}; n.Dl=function(){return""!==this.getText()&&""!==this.we()&&this.Ac}; function Wca(a){return""!==a.getText()&&""!==a.we()&&!a.Ac} ;function Fk(a){a=void 0===a?{}:a;E.call(this,"sc.shared.MaterialButton");this.model=a instanceof Ek?a:new Ek(a);this.overlay=new zj;this.watch(this.model)} w(Fk,E);n=Fk.prototype;n.content=function(a){var b=this;a&&this.model.je(a);var c=""!==this.model.getText(),e=""!==this.model.we(),f=this.model.Bl()?"a":"button";this.element("div","class","container",function(){b.element("div","class",{"touch-target":!0,hidden:!b.model.Lj},"hidden",!b.model.Lj,"onclick",function(){if(!b.model.If()){var l;null==(l=b.o)||l.click();Aj(b.overlay,0,0,!0)}}); var h,k={};b.o=b.element(f,"href",b.model.Bl()||void 0,"target",Xca(b),"class",(k.root=!0,k.text=1===b.model.getStyle()||2===b.model.getStyle()||8===b.model.getStyle(),k["color-label"]=8===b.model.getStyle()||2===b.model.getStyle()||7===b.model.getStyle(),k["color-label-dark"]=11===b.model.getStyle(),k["color-hint"]=6===b.model.getStyle()&&c,k["left-icon"]=Wca(b.model),k.hairline=3===b.model.getStyle()||11===b.model.getStyle(),k.pill=10===b.model.getStyle(),k.href=!!b.model.Bl(),k.filled=4===b.model.getStyle(), k["protected"]=5===b.model.getStyle(),k.tonal=9===b.model.getStyle(),k.navigational=6===b.model.getStyle()&&!c,k["right-icon"]=b.model.Dl(),k["icon-only"]=e&&!c,k["small-icon"]=b.model.ej,k.hidden=!b.model.Lj,k.compact=b.model.compact,k[b.model.nh]=0!==b.model.nh,k[b.model.uk]=0!==b.model.uk,k),"style",""===b.model.Ei()?null:{"max-width":b.model.Ei()},"type","button","aria-label",b.model.ue(),"title",b.model.getTitle(),"aria-expanded",null==(h=b.model.Xt())?void 0:h.toString(),"aria-haspopup",b.model.pu()? "true":"false","aria-controls",b.model.bt,"aria-pressed",b.model.ariaPressed,"disabled",b.model.If(),"onclick",function(l){b.onClick(l)},"onkeydown",function(l){b.overlay&&Bj(b.overlay,l)},function(){e&&b.element("span","class","icon",new yj({icon:b.model.we(), size:b.model.ej||c?18:24,rb:!0,tc:b.model.tc}));c&&b.element("span","class",{overflow:""!==b.model.Ei()},function(){bj(b.model.getText())}); b.overlay.render()})})}; n.onClick=function(a){var b=this.model.El();b&&b({method:0===a.clientX&&0===a.clientY?1:2})}; n.setDisabled=function(a){this.model.setDisabled(a)}; n.rd=pa(0);n.Xt=function(){return this.model.Xt()}; n.sk=function(a){this.model.sk(a)}; n.pu=function(){return this.model.pu()}; n.getText=function(){return this.model.getText()}; n.setText=function(a){this.model.setText(a)}; n.focus=function(){var a;null==(a=this.o)||a.focus()}; function Xca(a){if(a.model.Bl())return(a=a.model.getTarget())?Yca[a]:void 0} var Gk={},Yca=(Gk[0]="_self",Gk[1]="_blank",Gk[2]="_parent",Gk[3]="_top",Gk);function Hk(a){return window.matchMedia("(max-width: "+a+")").matches} function Ik(){return Hk("37.5rem")} ;function Jk(a,b,c,e,f){var h=Error.call(this,a+"/"+b+" "+c+" "+e);this.message=h.message;"stack"in h&&(this.stack=h.stack);this.serviceName=a;this.path=b;this.type=c;this.statusCode=e;this.responseText=f} w(Jk,Error);function Kk(a){var b=a.serviceName;this.Vf=a.Vf;this.serviceName=b} Kk.prototype.get=function(a,b,c,e){c=void 0===c?{}:c;e=void 0===e?new XMLHttpRequest:e;var f=this,h;return Ya(function(k){if(1==k.o)return Ma(k,f.call("GET",a,c,e,"application/json+protobuf"),2);h=k.ha;try{return k.return(de(b,h))}catch(l){throw Lk(f,a),l;}})}; function Zca(a,b,c){c=void 0===c?{}:c;var e=void 0===e?new XMLHttpRequest:e;var f;return Ya(function(h){if(1==h.o)return Ma(h,a.call("GET",b,c,e,"application/json"),2);f=h.ha;try{return h.return(JSON.parse(f))}catch(k){throw Lk(a,b),k;}})} Kk.prototype.post=function(a,b,c,e,f){e=void 0===e?{}:e;f=void 0===f?new XMLHttpRequest:f;var h=this,k;return Ya(function(l){if(1==l.o)return Ma(l,h.call("POST",a,e,f,"application/json+protobuf",ce(b)),2);k=l.ha;try{return l.return(de(c,k))}catch(p){throw Lk(h,a),p;}})}; function $ca(a,b,c,e){e=void 0===e?{}:e;var f=void 0===f?new XMLHttpRequest:f;var h;return Ya(function(k){if(1==k.o)return Ma(k,a.call("POST",b,e,f,"application/json",JSON.stringify(c)),2);h=k.ha;try{return k.return(JSON.parse(h))}catch(l){throw Lk(a,b),l;}})} Kk.prototype.call=function(a,b,c,e,f,h){var k=this;return Ya(function(l){return l.return(new Promise(function(p,r){var u="";if(c.query){for(var A=[],la=t(Object.entries(c.query)),ma=la.next();!ma.done;ma=la.next()){var oa=t(ma.value);ma=oa.next().value;oa=oa.next().value;oa=Array.isArray(oa)?oa:[oa];oa=t(oa);for(var sa=oa.next();!sa.done;sa=oa.next())sa=sa.value,A.push(encodeURIComponent(ma)+"="+encodeURIComponent(sa))}0e.status||299f&&p++;break;case "0":if(0f&&p++;break;case ",":0

h+k||1>a.Fa)throw Error('Malformed exponential pattern "'+b+'"');u=!1;break;default:c[0]--,u=!1}0==k&&0f&&0h+k)||0==p)throw Error('Malformed pattern "'+b+'"');l=h+k+l;a.ha=0a.ka&&(a.ka=0));a.ma=(0this.na.length?e=!1:this.ua.length=sa)ma+=sa,l=!0;else if(oa==u.charAt(0)){if(h||k)break;ma+=".";h=!0}else if(oa==A.charAt(0)&&("\u00a0"!=A.charAt(0)||b[0]+1this.ha)throw Error("Min value must be less than max value");if(isNaN(a))return Zk.iB;var b=[];var c=a,e=a;if(0==this.Aa)var f=el;else c=Math.abs(c),e=Math.abs(e),f=fl(this,1>=c?0:gl(c)).Dt,e=hl(e,-f),il(this,e),c=hl(c,-f),c=il(this,c),f=fl(this,f+gl(c.intValue));a=hl(a,-f.Dt);(c=0>a||0==a&&0>1/a)?f.Cu?b.push(f.Cu):(b.push(f.prefix),b.push(this.na)):(b.push(f.prefix),b.push(this.ua));if(isFinite(a))if(a*=c?-1:1,a*=this.o,this.La)if(e=a,0==e)jl(this,e,this.ma, b),kl(this,0,b);else{var h=Math.floor(Math.log(e)/Math.log(10)+2E-15);e=hl(e,-h);var k=this.ma;1this.ma?(k=h%this.Ca,0>k&&(k=this.Ca+k),e=hl(e,k),h-=k,k=1):1>this.ma?(h++,e=hl(e,-1)):(h-=this.ma-1,e=hl(e,this.ma-1));jl(this,e,k,b);kl(this,h,b)}else jl(this,a,this.ma,b);else b.push(Zk.Ms);c?f.Du?b.push(f.Du):(isFinite(a)&&b.push(f.Nv),b.push(this.va)):(isFinite(a)&&b.push(f.Nv),b.push(this.Ea));return b.join("")}; function il(a,b){var c=hl(b,a.ha);0a.ha)throw Error("Min value must be less than max value");e||(e=[]);b=il(a,b);var f=b.intValue,h=b.ED,k=0h.length&&(h="1"+yh("0",a.ha-h.length)+h);for(a=h.length;"0"==h.charAt(a-1)&&a>b+1;)a--;for(b=1;bb?(b=-b,c.push(Zk.yw)):a.Na&&c.push(Zk.nB);b=""+b;for(var e=Zk.Vs,f=b.length;fa)return a-48;var b=Zk.Vs.charCodeAt(0);return bb)return el;b=Math.min(14,b);var c=a[hl(1,b)];for(--b;!c&&3c||0>a?0:a+b>=c?c-b:a} function Nl(a){switch(a){case 1:case 3:return"100%";case 2:case 4:return"0%";default:return"50%"}} n.getTransform=function(){return this.Cb()?"scale(1, 1)":"scale("+(0===this.fj?1:0)+", "+(0===this.rh?1:0)+")"}; function Ol(a,b){if(a.zn&&"Escape"===b.key)a.close();else if(a.Zo)if("Tab"===b.key&&!b.shiftKey||a.zj&&"ArrowDown"===b.key)b.preventDefault(),b=a.o?Gl(a.o):[],a=Tl(a),a=void 0===a?document:a,Il(b,1,a);else if("Tab"===b.key&&b.shiftKey||a.zj&&"ArrowUp"===b.key)b.preventDefault(),Hl(a.o?Gl(a.o):[],Tl(a))} function Tl(a){var b,c;return null!=(c=null==(b=a.getElement())?void 0:b.getRootNode())?c:document} ;var ida={hI:!1,rn:!0};function Ul(){E.call(this,"sc.shared.MaterialSnackbar");this.ha=new Fk;this.message="";this.nl=5E3;this.tn=this.js=!1;this.state=2} w(Ul,E);Ul.prototype.open=function(a){var b=this,c=a.message,e=a.action,f=void 0===a.nl?5E3:a.nl,h=void 0===a.js?!1:a.js;a=void 0===a.tn?!1:a.tn;if(0===this.state)return Promise.resolve();this.state=0;this.message=c;this.nl=f;this.js=h;this.tn=a;e?this.action=Object.assign({},ida,e):this.action=void 0;this.Ba();jda(this);return new Promise(function(k){b.onClose=k})}; Ul.prototype.close=function(){0===this.state&&(this.o&&clearTimeout(this.o),this.state=1,this.message="",this.Ba())}; Ul.prototype.content=function(){var a=this;this.element("div","class",{root:!0,widescreen:this.js,"root-closed":this.isClosed()},function(){var b;a.element("div","class",{snackbar:!0,opened:0===a.state,closing:1===a.state,closed:a.isClosed(),"long-action":null==(b=a.action)?void 0:b.hI},"ontransitionend",function(c){if("opacity"===c.propertyName&&0!==a.state&&!a.isClosed()){a.state=2;a.Ba();var e;null==(e=a.onClose)||e.call(a)}},function(){a.element("div","role","alert","aria-live","assertive","class", "message",a.message); kda(a)})})}; function kda(a){a.action&&a.element("div","class","action",function(){a.ha.render({text:a.action.cC,trigger:function(){a.action.rn&&a.close();var b,c;null==(c=(b=a.action).Tl)||c.call(b)}, tc:a.action.tc})})} function jda(a){if(!a.action||a.tn)a.o=setTimeout(function(){a.close()},a.nl)} Ul.prototype.isClosed=function(){return 2===this.state};function Vl(){this.ka=[];this.ha=!1;this.na=new Ul} function Wl(){return lda.initialize()} Vl.prototype.initialize=function(a){a=void 0===a?document.body:a;if(this.ha)return this;this.ha=!0;mda(this,a);return this}; Vl.prototype.open=function(a){this.ha&&(this.ka.push(a),Xl(this))}; Vl.prototype.close=function(){this.na.close()}; Vl.prototype.Ka=function(){var a=this;Ya(function(b){if(1==b.o)return a.ha?a.ma?Ma(b,a.ma,2):b.Qa(2):b.return(a);a.o&&a.o.parentElement&&(a.o.parentElement.removeChild(a.o),a.o=void 0);a.ha=!1;return b.return(a)})}; function Xl(a,b){b=void 0===b?!1:b;var c,e;Ya(function(f){if(1==f.o){if(!b&&a.ma)return f.return();if(0===a.ka.length)return null==(e=(c=a).oa)||e.call(c),delete a.ma,delete a.oa,f.return();a.ma||(a.ma=new Promise(function(h){a.oa=h})); return Ma(f,a.na.open(a.ka[0]),2)}a.ka.shift();Xl(a,!0);Na(f)})} function mda(a,b){"interactive"===document.readyState||"complete"===document.readyState?Yl(a,b):window.addEventListener("DOMContentLoaded",function(){Yl(a,b)})} function Yl(a,b){a.o=document.createElement("div");a.o.setAttribute("aria-live","polite");a.o.setAttribute("tabindex","-1");a.o.className="sc-shared-snackbar-container";b.appendChild(a.o);ej(a.o,function(){a.na.render()})} var lda=new Vl;var nda={Qb:7,Ob:7,zn:!0,Zo:!0};function Zl(a){var b=this,c=Object.assign({},a),e=a.content,f=void 0===a.scope?document.body:a.scope,h=a.ariaLabel,k=a.qc,l=(delete c.content,delete c.scope,delete c.ariaLabel,delete c.qc,c);this.ha=new Map;this.scope=f;this.o=new Ml(Object.assign({},nda,l,{onClose:function(){if(b.Qc)for(var p=t(b.ha),r=p.next();!r.done;r=p.next()){var u=t(r.value);r=u.next().value;(u=u.next().value)||r.removeAttribute("aria-hidden")}var A;null==(A=l.onClose)||A.call(l)}, content:function(){hj("div","role","dialog","aria-modal","true","aria-label",h,"aria-labelledby",k,e)}}))} n=Zl.prototype;n.initialize=function(){var a=this;if(this.Qc)return this;this.Qc=document.createElement("div");this.Qc.setAttribute("aria-live","polite");this.scope.appendChild(this.Qc);ej(this.Qc,function(){a.o.render()}); return this}; n.Ka=function(){if(this.Qc){this.o.close();var a;null==(a=this.Qc)||a.remove();this.Qc=void 0}}; n.open=function(a){a=void 0===a?{}:a;this.initialize();if(this.Qc)for(var b=this.Qc;b&&b!==document.body;){var c=b,e=this.getParent(c);if(e){e=t(e.childNodes);for(var f=e.next();!f.done;f=e.next())f=f.value,c!==f&&Zf(f)&&"sc-shared-snackbar-container"!==f.className&&(this.ha.set(f,"true"===f.getAttribute("aria-hidden")),f.setAttribute("aria-hidden","true"))}b=this.getParent(b)}this.o.open(Object.assign({},{Fb:!0},a))}; n.close=function(){this.o.close()}; n.setAlignment=function(a){this.o.setAlignment(a)}; n.getParent=function(a){return a.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&a.host&&a.mode?a.host:a.parentNode};var $l;vb("hcfe.stats.getInstance",function(){return $l}); var oda=new Map([["primary-button",1],["action-button",2],["default-button",3],["product-link",4]]);function am(){E.call(this,"sc.chat_container.ConfirmDialog");var a=this;this.ka=new Ll;this.dialog=new Zl({ariaLabel:"Your progress will not be saved and you\u2019ll have to restart this chat",al:!1,content:function(){return void a.render()}, Wh:!0});this.cancelButton=new Fk({text:"Go back",trigger:function(){a.onClose(1);$l.Ua(168,11)}, style:1});this.ha=new Fk({text:"Close anyway",trigger:function(){a.onClose(2);$l.Ua(168,10)}, style:1});this.o=function(){}; this.padding="2rem 2.5rem 1.5rem"} w(am,E);n=am.prototype;n.content=function(){var a=this;this.ka.render({content:function(){a.element("div","class","content",function(){a.element("div","class","warning",function(){(new yj({icon:"gm/warning",Pd:["^warningIcon"]})).render()}); a.element("p","class","intro","Your progress will not be saved and you\u2019ll have to restart this chat")})}, footer:function(){a.element("div","class","button-row",function(){a.cancelButton.render();a.ha.render()})}, padding:this.padding})}; n.open=function(){var a=this;this.dialog.open();$l.Ua(168,1);return new Promise(function(b){a.o=b})}; n.onClose=function(a){this.o(a);this.dialog.close()}; n.close=function(){this.dialog.close()}; n.Ka=function(){this.dialog.Ka()};var pda=Promise;function bm(a,b){this.data=a;this.channel=b} bm.prototype.reply=function(a,b,c){this.channel.send(a,b,c)};function cm(a){this.o=a} cm.prototype.send=function(a,b,c){c=void 0===c?[]:c;var e=new MessageChannel;dm(e.port1,b);this.o.postMessage(a,[e.port2].concat(c))}; function em(a,b){dm(a,b);return new cm(a)} function dm(a,b){b&&(a.onmessage=function(c){b(new bm(c.data,em(c.ports[0])))})} ;var qda=function(){if(!gb.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}}); try{gb.addEventListener("test",function(){},b),gb.removeEventListener("test",function(){},b)}catch(c){}return a}();function rda(a){var b=a.iframe,c=void 0===a.aq?"ZNWN1d":a.aq,e=void 0===a.onMessage?void 0:a.onMessage,f=void 0===a.sr?void 0:a.sr;sda({destination:a.destination,getSource:function(){return b.contentWindow}, hG:tda(a.origin),aq:c,onMessage:e,sr:f})} function sda(a){var b=a.destination,c=a.getSource,e=a.hG,f=void 0===a.token?void 0:a.token,h=a.aq,k=void 0===a.onMessage?void 0:a.onMessage,l=void 0===a.sr?void 0:a.sr,p=Object.create(null);e.forEach(function(r){p[r]=!0}); new pda(function(r,u){function A(la){if(la.source&&la.source===c())if(!0!==p[la.origin]){b.removeEventListener("message",A,!1);var ma=e.join(", ");u(Error('Origin mismatch while establishing channel "'+h+'". Expected '+(1===e.length?ma:"one of ["+ma+"]")+", but received "+la.origin+"."))}else(la.data.n||la.data)===h&&(b.removeEventListener("message",A,!1),f&&la.data.t!==f?u(Error('Token mismatch while establishing channel "'+h+'". Expected '+f+", but received "+la.data.t+".")):(r(em(la.ports[0],k)), l&&l(la)))} b.addEventListener("message",A,!1)})} function tda(a){a="string"===typeof a?[a]:a;var b=Object.create(null);a.forEach(function(c){if("null"===c)throw Error("Receiving from null origin not allowed without token verification. Please use NullOriginConnector.");b[c]=!0}); return a} ;var fm=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$");function gm(a){a=a.match(fm)[1]||null;!a&&gb.self&&gb.self.location&&(a=gb.self.location.protocol.slice(0,-1));return a?a.toLowerCase():""} function uda(a){var b=a.match(fm);a=b[1];var c=b[3];b=b[4];var e="";a&&(e+=a+":");c&&(e=e+"//"+c,b&&(e+=":"+b));return e} function hm(a,b){if(!b)return a;var c=a.indexOf("#");0>c&&(c=a.length);var e=a.indexOf("?");if(0>e||e>c){e=c;var f=""}else f=a.substring(e+1,c);a=[a.slice(0,e),f,a.slice(c)];c=a[1];a[1]=b?c?c+"&"+b:b:c;return a[0]+(a[1]?"?"+a[1]:"")+a[2]} function im(a,b,c){if(Array.isArray(b))for(var e=0;e=b.na&&b.cancel())}this.Ca?this.Ca.call(this.Aa,this):this.va=!0;this.ma||this.Jn(new um(this))}}; n.Rw=function(a,b){this.ua=!1;vm(this,a,b)}; function vm(a,b,c){a.ma=!0;a.ha=c;a.ka=!b;wm(a)} function xm(a){if(a.ma){if(!a.va)throw new ym(a);a.va=!1}} n.callback=function(a){xm(this);vm(this,!0,a)}; n.Jn=function(a){xm(this);vm(this,!1,a)}; function zm(a,b,c,e){a.oa.push([b,c,e]);a.ma&&wm(a)} n.then=function(a,b,c){var e,f,h=new Sj(function(k,l){f=k;e=l}); zm(this,f,function(k){k instanceof um?h.cancel():e(k);return Am},this); return h.then(a,b,c)}; tm.prototype.$goog_Thenable=!0;tm.prototype.branch=function(a){var b=new tm;zm(this,b.callback,b.Jn,b);a&&(b.o=this,this.na++);return b}; tm.prototype.isError=function(a){return a instanceof Error}; function Bm(a){return taa(a.oa,function(b){return"function"===typeof b[1]})} var Am={}; function wm(a){if(a.ta&&a.ma&&Bm(a)){var b=a.ta,c=Cm[b];c&&(gb.clearTimeout(c.o),delete Cm[b]);a.ta=0}a.o&&(a.o.na--,delete a.o);b=a.ha;for(var e=c=!1;a.oa.length&&!a.ua;){var f=a.oa.shift(),h=f[0],k=f[1];f=f[2];if(h=a.ka?k:h)try{var l=h.call(f||a.Aa,b);l===Am&&(l=void 0);void 0!==l&&(a.ka=a.ka&&(l==b||a.isError(l)),a.ha=b=l);if(Rj(b)||"function"===typeof gb.Promise&&b instanceof gb.Promise)e=!0,a.ua=!0}catch(p){b=p,a.ka=!0,Bm(a)||(c=!0)}}a.ha=b;e&&(l=sb(a.Rw,a,!0),e=sb(a.Rw,a,!1),b instanceof tm? (zm(b,l,e),b.Ea=!0):b.then(l,e));c&&(b=new Dm(b),Cm[b.o]=b,a.ta=b.o)} function ym(){Ab.call(this)} wb(ym,Ab);ym.prototype.message="Deferred has already fired";ym.prototype.name="AlreadyCalledError";function um(){Ab.call(this)} wb(um,Ab);um.prototype.message="Deferred was canceled";um.prototype.name="CanceledError";function Dm(a){this.o=gb.setTimeout(sb(this.ma,this),0);this.ha=a} Dm.prototype.ma=function(){delete Cm[this.o];throw this.ha;}; var Cm={};function Em(a){a&&"function"==typeof a.dispose&&a.dispose()} ;function Fm(){this.Aa=this.Aa;this.ta=this.ta} Fm.prototype.Aa=!1;Fm.prototype.isDisposed=function(){return this.Aa}; Fm.prototype.dispose=function(){this.Aa||(this.Aa=!0,this.Dd())}; function Gm(a,b){a.Aa?b():(a.ta||(a.ta=[]),a.ta.push(b))} Fm.prototype.Dd=function(){if(this.ta)for(;this.ta.length;)this.ta.shift()()};function Hm(a,b){this.type=a;this.o=this.target=b;this.defaultPrevented=this.ma=!1} Hm.prototype.stopPropagation=function(){this.ma=!0}; Hm.prototype.preventDefault=function(){this.defaultPrevented=!0};function Im(a,b){Hm.call(this,a?a.type:"");this.relatedTarget=this.o=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=0;this.key="";this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.pointerId=0;this.pointerType="";this.ha=null;a&&this.init(a,b)} wb(Im,Hm);var Bda={2:"touch",3:"pen",4:"mouse"}; Im.prototype.init=function(a,b){var c=this.type=a.type,e=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.o=b;if(b=a.relatedTarget){if(mc){a:{try{jc(b.nodeName);var f=!0;break a}catch(h){}f=!1}f||(b=null)}}else"mouseover"==c?b=a.fromElement:"mouseout"==c&&(b=a.toElement);this.relatedTarget=b;e?(this.clientX=void 0!==e.clientX?e.clientX:e.pageX,this.clientY=void 0!==e.clientY?e.clientY:e.pageY,this.screenX=e.screenX||0,this.screenY=e.screenY|| 0):(this.clientX=void 0!==a.clientX?a.clientX:a.pageX,this.clientY=void 0!==a.clientY?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0);this.button=a.button;this.keyCode=a.keyCode||0;this.key=a.key||"";this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.pointerId=a.pointerId||0;this.pointerType="string"===typeof a.pointerType?a.pointerType:Bda[a.pointerType]||"";this.state=a.state;this.ha=a;a.defaultPrevented&&Im.Xf.preventDefault.call(this)}; Im.prototype.stopPropagation=function(){Im.Xf.stopPropagation.call(this);this.ha.stopPropagation?this.ha.stopPropagation():this.ha.cancelBubble=!0}; Im.prototype.preventDefault=function(){Im.Xf.preventDefault.call(this);var a=this.ha;a.preventDefault?a.preventDefault():a.returnValue=!1};var Jm="closure_listenable_"+(1E6*Math.random()|0);function Km(a){return!(!a||!a[Jm])} ;var Cda=0;function Dda(a,b,c,e,f){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!e;this.Oq=f;this.key=++Cda;this.Rh=this.Wp=!1} function Lm(a){a.Rh=!0;a.listener=null;a.proxy=null;a.src=null;a.Oq=null} ;function Mm(a){this.src=a;this.o={};this.ha=0} Mm.prototype.add=function(a,b,c,e,f){var h=a.toString();a=this.o[h];a||(a=this.o[h]=[],this.ha++);var k=Nm(a,b,e,f);-1>>0);function Vm(a){if("function"===typeof a)return a;a[an]||(a[an]=function(b){return a.handleEvent(b)}); return a[an]} ;function bn(){Fm.call(this);this.oa=new Mm(this);this.Ge=this;this.Oc=null} wb(bn,Fm);bn.prototype[Jm]=!0;n=bn.prototype;n.eu=function(){return this.Oc}; n.addEventListener=function(a,b,c,e){Tm(this,a,b,c,e)}; n.removeEventListener=function(a,b,c,e){Zm(this,a,b,c,e)}; n.dispatchEvent=function(a){var b=this.eu();if(b){var c=[];for(var e=1;b;b=b.eu())c.push(b),++e}b=this.Ge;e=a.type||a;if("string"===typeof a)a=new Hm(a,b);else if(a instanceof Hm)a.target=a.target||b;else{var f=a;a=new Hm(e,b);Be(a,f)}f=!0;if(c)for(var h=c.length-1;!a.ma&&0>>0);a={requestId:c,apiUrl:Mda(a,b,c),onLoad:b.onLoad,onError:b.onError||function(){}, Ju:b.Ju||function(){}, QF:b.QF||function(){}, ht:b.ht,pD:b.pageType,Go:b.Go};b.Xd&&("IFRAME"==b.Xd.nodeName?(a.window=b.Xd.contentWindow,a.Xd=a.window.document.body):(a.window=window,a.Xd=b.Xd));return a} function Mda(a,b,c){var e=sn(a)+"/apis/render?",f=a.ua,h=a.Fa,k=b.helpcenter,l=a.ta,p=a.va,r=a.Na,u=a.Ja,A=a.Ea,la=b.pageType,ma=b.pageId,oa=b.url,sa=b.Ii,ua=b.lL;c=["js_request_id."+c];if(b.extraParams)for(var va in b.extraParams)c.push(va+"."+b.extraParams[va]);a={v:1,key:f,request_source:h,helpcenter:k,hl:l,authuser:p,visit_id:r,view_id:u,psd:A,page_type:la,id:ma,url:oa,components:sa,exclude_components:ua,extra_params:c,mendel_ids:a.Ca,service_configuration:a.La,scdeb:a.Aa,instant_preview:b.instantPreview, symptom:b.symptom,scenario_id:b.testScenarioId,sjid:b.sjid};b="";for(var Ea in a)f=a[Ea],void 0!=f&&(Array.isArray(f)&&(f=f.join()),b&&(b+="&"),b+=Ea+"="+encodeURIComponent(f.toString()));return e+b} function Lda(a,b,c){try{var e=JSON.parse(c)}catch(f){b.onError({type:1,message:c});return}if(404!=e.application_error&&e.html){if(b.Go){if(!e.page_metadata||!e.page_metadata.page_type){b.onError({type:4});return}if(ve.get(e.page_metadata.page_type)!=b.pD){b.onError({type:3});return}}e.page_metadata&&b.Ju(e.page_metadata);b.Xd?tn(a,b,e.html):b.ht(function(f){"IFRAME"==f.nodeName?(b.window=f.contentWindow,b.Xd=b.window.document.body):(b.window=window,b.Xd=f);tn(a,b,e.html)})}else b.onError({type:2})} function tn(a,b,c){b.window.sc_scope=b.Xd;b.onLoad&&(b.window[b.requestId]=function(e){b.onLoad(e.getChild(b.requestId))}); Df(b.Xd,uf(c));c=Array.from(b.Xd.getElementsByTagName("script"));a.ma(b,c)} rn.prototype.ma=function(a,b){for(;0a.ha.length;a.na()} ;function yn(){var a=this;this.o=document.querySelector(".overlay");this.o.addEventListener("scroll",function(){zn(a);a.na()}); this.ha=this.o.querySelector(".overlay__backdrop");this.ha.addEventListener("touchmove",function(b){return b.preventDefault()}); this.ha.addEventListener("click",function(){An(a,0)}); this.ua=this.o.querySelector(".overlay__header");this.ua.addEventListener("touchmove",function(b){a.o.classList.contains("fullscreen")&&b.preventDefault()}); this.ta=this.o.querySelector(".overlay__close-button");this.ta.addEventListener("click",function(){An(a,0)}); this.na=ih(function(){if(!a.o.classList.contains("fullscreen")&&!a.ma){var b=a.o.scrollTop;0==b?(a.ka.close(),window.removeEventListener("scroll",a.oa),window.document.body.style.overflow=""):b>.8*a.ha.clientHeight?An(a,a.ha.clientHeight):b<.2 this.o.addeventlistener a.ma="!0});" this.oa="function(){window.scroll(0,a.va)};" this.ka="new" vn nda yn.prototype.nh="pa(4);function" zn b="xn(a.ka);b&&(a.o.scrollTop">=a.ha.clientHeight?(a.o.classList.add("fullscreen"),b.iframe.contentDocument.body.style.overflowY=""):(a.o.classList.remove("fullscreen"),b.iframe.contentDocument.body.style.overflowY="hidden"),0a||5a?a=0:a>c&&(a=c);return a-b} function Qn(a){a.preventDefault()} ;function Sn(a){z.call(this,a)} w(Sn,z);n=Sn.prototype;n.getEnableSsEngine=function(){return Fd(this,2)}; n.getEnableAwr=function(){return Fd(this,3)}; n.getEnableHelpSuggestions=function(){return Fd(this,4)}; n.getAlohaAutoGaRollout=function(){return Fd(this,5)}; n.getEnableConfigurator=function(){return Fd(this,6)}; n.getEnableMweb=function(){return Fd(this,7)}; n.getEnableCtlConsentCheckbox=function(){return Fd(this,8)}; n.getEnableIframe=function(){return Fd(this,9)};function Tn(a){z.call(this,a)} w(Tn,z);var Tda=["https://sandbox.google.com/tools/feedback"];var Uda="af am ar-EG ar-JO ar-MA ar-SA ar-XB ar az be bg bn bs ca cs cy da de-AT de-CH de el en en-GB en-AU en-CA en-IE en-IN en-NZ en-SG en-XA en-XC en-ZA es es-419 es-AR es-BO es-CL es-CO es-CR es-DO es-EC es-GT es-HN es-MX es-NI es-PA es-PE es-PR es-PY es-SV es-US es-UY es-VE et eu fa fi fil fr-CA fr-CH fr gl gsw gu he hi hr hu hy id in is it iw ja ka kk km kn ko ky ln lo lt lv mk ml mn mo mr ms my nb ne nl no pa pl pt pt-BR pt-PT ro ru si sk sl sq sr-Latn sr sv sw ta te th tl tr uk ur uz vi zh zh-CN zh-HK zh-TW zu".split(" "); function Un(a){var b;return null==(b=a.formContent)?void 0:b.locale} ;var Vda=za(["https://www.gstatic.com/uservoice/feedback/client/web/","/main_binary__",".js"]);function Wda(a){var b=Un(a);b=(b&&Uda.includes(b)?Un(a):"en").replaceAll("-","_").toLowerCase();var c;a=(null==(c=a.initializationData)?0:c.useNightlyRelease)?"nightly":"live";return Yf(Vda,a,b)} ;var Vn;function Xda(a,b,c){if(Vn)return Vn;var e=Wda(a);return Vn=b.feedbackV2GlobalObject?Promise.resolve(b.feedbackV2GlobalObject):new Promise(function(f,h){var k=c.createElement("script");Jf(k,e);k.onload=function(){b.feedbackV2GlobalObject?f(b.feedbackV2GlobalObject):h("feedbackV2GlobalObject not found on window.")}; k.onerror=function(){h("Feedback binary script tag failed to load: "+e.toString())}; c.body.appendChild(k)})} function Yda(a,b,c,e,f){f=void 0===f?!0:f;var h,k,l,p,r;return Ya(function(u){switch(u.o){case 1:return h=Date.now(),Ma(u,Xda(a,c,e),2);case 2:k=u.ha;if(!(f||(null==(p=a.initializationData)?0:p.useNightlyRelease)||(null==(r=a.initializationData)?0:r.isLocalServer))){l=k.initializeFeedbackClient(a,h,b);u.Qa(3);break}return Ma(u,k.initializeFeedbackClientAsync(a,h,b),4);case 4:l=u.ha;case 3:return l.initiateAloha(),u.return(l)}})} function Zda(a,b,c){var e=!0;e=void 0===e?!0:e;var f,h,k,l;Ya(function(p){h=f=c||gb;if(h.isFormOpened)throw k=Error("Form is either loading or already opened"),k.name="DuplicateFormError",k;h.isFormOpened=!0;a.callbacks=a.callbacks||{};l=a.callbacks.onClose||function(){}; a.callbacks.onClose=function(r){h.isFormOpened=!1;l(r)}; try{return p.return(Yda(a,b,h,f.document,e))}catch(r){throw h.isFormOpened=!1,r;}})} ;function $da(a){try{return gb.JSON.parse(a)}catch(b){}a=String(a);if(/^\s*$/.test(a)?0:/^[\],:{}\s\u2028\u2029]*$/.test(a.replace(/\\["\\\/bfnrtu]/g,"@").replace(/(?:"[^"\\\n\r\u2028\u2029\x00-\x08\x0a-\x1f]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)[\s\u2028\u2029]*(?=:|,|]|}|$)/g,"]").replace(/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g,"")))try{return eval("("+a+")")}catch(b){}throw Error("Invalid JSON string: "+a);} ;function Wn(a){bn.call(this);this.headers=new Map;this.Fa=a||null;this.ha=!1;this.Ea=this.o=null;this.Ca=this.Ha="";this.ma=this.Ja=this.va=this.La=!1;this.na=0;this.ua=null;this.Na="";this.Va=this.ka=!1} wb(Wn,bn);var aea=/^https?$/i,bea=["POST","PUT"],Xn=[];function Yn(a,b,c,e,f,h,k){var l=new Wn;Xn.push(l);b&&l.listen("complete",b);l.Rs("ready",l.DC);h&&(l.na=Math.max(0,h));k&&(l.ka=k);l.send(a,c,e,f)} n=Wn.prototype;n.DC=function(){this.dispose();fc(Xn,this)}; n.send=function(a,b,c,e){if(this.o)throw Error("[goog.net.XhrIo] Object is active with another request="+this.Ha+"; newUri="+a);b=b?b.toUpperCase():"GET";this.Ha=a;this.Ca="";this.La=!1;this.ha=!0;this.o=this.vt();this.Ea=this.Fa?this.Fa.getOptions():jn.getOptions();this.o.onreadystatechange=sb(this.py,this);try{this.getStatus(),this.Ja=!0,this.o.open(b,String(a),!0),this.Ja=!1}catch(k){this.getStatus();Zn(this,k);return}a=c||"";c=new Map(this.headers);if(e)if(Object.getPrototypeOf(e)===Object.prototype)for(var f in e)c.set(f, e[f]);else if("function"===typeof e.keys&&"function"===typeof e.get){f=t(e.keys());for(var h=f.next();!h.done;h=f.next())h=h.value,c.set(h,e.get(h))}else throw Error("Unknown input type for opt_headers: "+String(e));e=Array.from(c.keys()).find(function(k){return"content-type"==k.toLowerCase()}); f=gb.FormData&&a instanceof gb.FormData;!ec(bea,b)||e||f||c.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");b=t(c);for(e=b.next();!e.done;e=b.next())c=t(e.value),e=c.next().value,c=c.next().value,this.o.setRequestHeader(e,c);this.Na&&(this.o.responseType=this.Na);"withCredentials"in this.o&&this.o.withCredentials!==this.ka&&(this.o.withCredentials=this.ka);try{$n(this),0=l.length)&&(a.psdJson=l)}k||(b={invalidPsd:!0})}b=[a,b,c];e.GOOGLE_FEEDBACK_START_ARGUMENTS=b;c=a.serverUri||"//www.google.com/tools/feedback";if(k=e.GOOGLE_FEEDBACK_START)k.apply(e,b);else{e= c+"/load.js?";for(var p in a)b=a[p],null==b||ob(b)||(e+=encodeURIComponent(p)+"="+encodeURIComponent(b)+"&");a=Bh(f).createElement("SCRIPT");h&&a.setAttribute("nonce",h);Jf(a,Re(e));f.body.appendChild(a)}} function ho(a,b,c){try{"submit"===a.flow||"help"===a.flow||a.tinyNoPointer?go(a,b,c):dea(a.productId,a.serverUri).then(function(e){e=Pd(e,Sn,1);if(null==e||!e.getAlohaAutoGaRollout()||yaa&&!e.getEnableMweb())go(a,b,c);else{var f=c||gb,h="DEV"===a.serverEnvironment,k=c||gb;k=a.nonce||gg(k);h={integrationKeys:{productId:a.productId,feedbackBucket:a.bucket},callbacks:{onClose:a.callback,onLoad:a.onLoadCallback},formContent:{locale:a.locale,disableScreenshot:a.disableScreenshotting,productDisplayName:void 0, announcement:void 0,issueCategories:void 0,includeSeveritySelection:void 0,customImageSrc:void 0,thankYouMessage:void 0,userEmail:void 0,defaultFormInputValues:void 0,defaultFormInputValuesString:void 0,abuseLink:a.abuseLink},initializationData:{isLocalServer:h,nonce:k,useNightlyRelease:h,feedbackJsUrl:void 0,feedbackCssUrl:void 0,feedbackJsUrlSerialized:void 0,feedbackCssUrlSerialized:void 0,submissionServerUri:a.serverUri,colorScheme:a.colorScheme},extraData:{productVersion:a.productVersion,authUser:a.authuser, configuratorId:a.configuratorId,customZIndex:a.customZIndex,tinyNoPointer:a.tinyNoPointer,allowNonLoggedInFeedback:a.allowNonLoggedInFeedback,enableAnonymousFeedback:a.enableAnonymousFeedback}};b&&(k=new Map(Object.entries(b)),h.extraData.productSpecificData=k);Zda(h,e,f)}},function(e){e&&"DuplicateFormError"!==e.name&&go(a,b,c)})}catch(e){go(a,b,c)}} vb("userfeedback.api.startFeedback",ho);function io(a){window.sc_trackStatsEvent(49,8);jo(a)} function jo(a){var b=a.productId,c=a.bucket,e=void 0===a.flow?"material":a.flow,f=void 0===a.At?!1:a.At,h=void 0===a.hC?!0:a.hC,k=a.IG,l=a.onClose,p=a.onLoad,r=a.payload;a=a.description;var u=tg(),A={};b=(A.flow=e,A.locale=u.lang,A.productId=b,A.disableSubmit=f,A);c&&(b.bucket=c);l&&(b.callback=l);p&&(b.onLoadCallback=p);u.sb_uri&&(b.serverUri=u.sb_uri);k&&(b.reportDataCallback=k);b.allowNonLoggedInFeedback=h;"submit"===e&&(b.report={description:a});var la={};r.forEach(function(ma,oa){la[oa]=ma}); ho(b,la)} ;function ko(){var a=tg();a=new Map([["answer_id",a.pid],["bc_url",a.bcUrl],["environment_hostname",a.ehn],["external_name",a.ehc],["hc",a.hc],["hostname",a.host],["internal_ip",a.ii],["experiments",a.mendel_ids],["page_type",a.pt],["user_logged_in",a.li],["environment",a.env],["client",lo()]]);a.set("escalation_availability_matching_frd_forms",dh().escalation_availability_matching_frd_forms);a.set("rule_service_escalation_availability_c2c_event_id",dh().rule_service_escalation_availability_c2c_event_id); a.set("rule_service_escalation_availability_c2c_synthesis_event_id",dh().rule_service_escalation_availability_c2c_synthesis_event_id);a.set("rule_service_escalation_availability_chat_event_id",dh().rule_service_escalation_availability_chat_event_id);a.set("rule_service_escalation_availability_chat_synthesis_event_id",dh().rule_service_escalation_availability_chat_synthesis_event_id);a.set("rule_service_escalation_availability_email_event_id",dh().rule_service_escalation_availability_email_event_id); a.set("rule_service_escalation_availability_email_synthesis_event_id",dh().rule_service_escalation_availability_email_synthesis_event_id);a.set("rule_service_escalation_availability_phone_event_id",dh().rule_service_escalation_availability_phone_event_id);a.set("rule_service_escalation_availability_phone_synthesis_event_id",dh().rule_service_escalation_availability_phone_synthesis_event_id);a.set("rule_service_extensible_contact_options_event_id",dh().rule_service_extensible_contact_options_event_id); a.set("rule_service_form_synthesis_event_id",dh().rule_service_form_synthesis_event_id);a.set("rule_service_helpcenter_fields_synthesis_event_id",dh().rule_service_helpcenter_fields_synthesis_event_id);return a} function lo(){var a=tg().rs;switch(a){case 4:return"cases";case 1:return"helpcenter";default:return String(a)}} ;function mo(){fea(this)} function fea(a){a.o=(new Gn({className:"material-dialog-backdrop",mn:"material-dialog-backdrop--active",ay:"material-dialog-backdrop--locked",XC:"material-dialog-backdrop--disable-click-capture"})).Fw(function(){return!a.na}); a.o.getElement().addEventListener("click",function(b){b=b.target;var c=b.getAttribute("data-material-dialog-action");c&&(a.ha&&a.ha(c),qg(b,"material-dialog--disable-close")||a.close())})} mo.prototype.open=function(a){var b=this,c=a.querySelector(".material-dialog__title");a.setAttribute("role","dialog");c&&(a.setAttribute("title",c.textContent),Sda(c,a).reset().enable(qg(a,"material-dialog--draggable")));var e=a.querySelector(".material-dialog__minimize-button");if(e){var f=e.getAttribute("data-material-dialog-minimized-aria-label"),h=function(){var k=document.createElement("button");k.className="material-dialog-minimized";k.textContent=c.textContent+"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u2594"; f&&k.setAttribute("aria-label",f);k.addEventListener("click",function(){b.o.open();document.body.removeChild(k)}); b.o.close();document.body.appendChild(k);k.focus()}; this.ka=function(){return e.removeEventListener("click",h)}; e.addEventListener("click",h)}this.na=qg(a,"material-dialog--disable-close");this.o.Dv(!qg(a,"material-dialog--show-background")).Av(qg(a,"material-dialog--disable-click-capture")).setContent(a).open();a.focus();return this}; mo.prototype.close=function(){this.o.close();this.ka&&this.ka();this.ma&&this.ma()}; mo.prototype.Tl=function(a){this.ha=a;return this}; mo.prototype.onClose=function(a){this.ma=a;return this}; mo.prototype.onClose=mo.prototype.onClose;mo.prototype.onAction=mo.prototype.Tl;mo.prototype.close=mo.prototype.close;mo.prototype.open=mo.prototype.open;function no(a){var b=void 0===a.label?"":a.label,c=void 0===a.Eh?!0:a.Eh,e=void 0===a.Pl?void 0:a.Pl,f=void 0===a.disabled?!1:a.disabled,h=void 0===a.filled?!1:a.filled,k=void 0===a.Xb?!1:a.Xb,l=a.mh,p=void 0===a.oo?"":a.oo;a=void 0===a.Zd?!1:a.Zd;E.call(this,"sc.shared.MaterialBorder");this.Zd=this.error=this.o=this.active=!1;this.filled=h;this.Eh=c;this.Xb=k;this.label=b;this.Pl=e?"calc(100% - "+e/16+"rem)":void 0;this.disabled=f;this.ha=l;this.oo=p;this.Zd=a} w(no,E);n=no.prototype;n.content=function(){this.filled?gea(this):hea(this)}; n.render=function(){E.prototype.render.call(this)}; n.setLabel=function(a){this.label=a;this.Ba()}; function iea(a,b){a.error=b} function hea(a){var b,c,e=a.mh();a.element("div","class",{container:!0,"container-dense":a.Xb},function(){a.element("div","class",{left:!0,"left-error":a.error,focused:a.o,disabled:a.disabled});c=a.element("div","class",{mid:!0,"mid-error":a.error,"mid-active":e&&a.Eh,focused:a.o,disabled:a.disabled},"style",{"max-width":a.Pl},function(){a.label&&(b=a.element("label","class",{label:!0,"label-dense":a.Xb,"label-error":a.error,"label-active":e,"label-hidden":e&&!a.Eh,"label-focused":a.o,"label-disabled":a.disabled, "label-multiline":a.Zd&&!a.Eh},"style",{"font-size":e?"1rem":""},"id",a.oo,a.label))}); a.element("div","class",{right:!0,"right-error":a.error,focused:a.o,disabled:a.disabled})}); if(b&&e&&a.Eh&&c){var f=Number(window.getComputedStyle(c).width.replace("px",""));c.style.width=Math.ceil(.75*f+16)+"px";c.style.paddingLeft="4px";b.style.maxWidth="calc(100%/.75)"}} function gea(a){var b=a.mh();a.element("div","class",{container:!0,"container-dense":a.Xb,filled:!0,"filled-error":a.error,"filled-active":b,"filled-disabled":a.disabled,"filled-focused":a.o},function(){a.element("div","class",{"filled-bottom":!0,"filled-bottom-focused":a.o});a.element("label","class",{"filled-label":!0,"label-dense":a.Xb,"label-error":a.error,"label-hidden":b&&!a.Eh,"filled-label-active":b,"filled-label-disabled":a.disabled,"filled-label-focused":a.o},"style",{"max-width":a.Pl,"font-size":b? "1rem":""},"id",a.oo,a.label)})} n.blur=function(){this.o=!1;this.ha()?this.activate():this.deactivate()}; n.focus=function(){this.o=!0;this.activate()}; n.activate=function(){this.active=!0;this.Ba()}; n.deactivate=function(){this.active=!1;this.Ba()}; n.mh=function(){return this.label?this.active||this.ha():!1};function oo(a){var b=a.icon,c=void 0===a.text?"":a.text,e=void 0===a.title?"":a.title,f=void 0===a.jr?!1:a.jr,h=void 0===a.size?void 0:a.size,k=void 0===a.Rx?void 0:a.Rx,l=void 0===a.Ol?!1:a.Ol,p=void 0===a.filled?!1:a.filled,r=void 0===a.Nq?!1:a.Nq,u=a.trigger,A=a.tabIndex,la=void 0===a.ariaLabel?"":a.ariaLabel;a=void 0===a.tc?"rem":a.tc;E.call(this,"sc.shared.MaterialFab");this.o=!1;this.icon=k?new yj({icon:b,rb:!0,size:k,tc:a}):new yj({icon:b,rb:!0,tc:a});this.text=c;this.title=e;this.jr=f;this.size= h;this.Ol=l;this.filled=p;this.Nq=r;this.trigger=u;this.overlay=new zj;this.tabIndex=void 0===A?null:String(A);this.ariaLabel=la} w(oo,E);oo.prototype.content=function(){var a=this,b=["class",{root:!0,extended:this.text,mini:this.jr,lowered:this.Ol,filled:this.filled,"fake-focus":this.o,grey:this.Nq},"tabindex",this.tabIndex,"onclick",this.trigger,"onkeydown",function(e){Bj(a.overlay,e)}, "aria-label",this.ariaLabel];this.title&&b.push("title",this.title);if(this.size){var c=this.size+"px";b.push("style",{height:c,width:c})}this.element.apply(this,["button"].concat(Ba(b),[function(){a.element("span","class","icon",a.icon);a.text&&bj(a.text);a.overlay.render()}]))};function po(a){tj.call(this);this.oi=!1;this.text=this.group="";this.selected=this.disabled=!1;this.je(a)} w(po,tj);n=po.prototype;n.je=function(a){var b=void 0===a.text?"":a.text,c=void 0===a.disabled?!1:a.disabled,e=void 0===a.selected?!1:a.selected,f=a.content,h=a.ariaLabel,k=a.ti,l=a.wf,p=void 0===a.oi?!1:a.oi;this.group=void 0===a.group?"":a.group;this.selected=e;this.text=b;this.content=f;this.ariaLabel=h;this.ti=k;this.disabled=c;this.wf=l;this.oi=p}; n.getGroup=function(){return this.group}; n.getText=function(){return this.text}; n.getContent=function(){return this.content}; n.ue=function(){return this.ariaLabel}; n.isSelected=function(){return this.selected}; n.setSelected=function(a){this.selected=a;var b;null==(b=this.wf)||b.call(this,this.selected);this.wa(0)}; n.setDisabled=function(a){this.disabled=a;this.wa(1)};function qo(a){a=void 0===a?{}:a;E.call(this,"sc.shared.MaterialRadio");this.id=sj();this.model=a instanceof po?a:new po(a);this.overlay=new zj({Uk:!0});this.o=null;this.watch(this.model)} w(qo,E); qo.prototype.content=function(a){var b=this;a&&this.model.je(a);this.element("div","class",{root:!0,disabled:this.model.disabled,"align-top":this.model.oi},function(){b.element("div","class","touch-target","onclick",function(){b.model.disabled||!b.o||b.o.checked||(b.o.checked=!0,b.onChange())},function(){b.element("div","class","radio",function(){b.o=b.element("input","id",b.id,"class","native-control","type","radio","name",b.model.getGroup(),"aria-label",b.model.ue(),"aria-describedby",b.model.ti,"disabled", b.model.disabled,"onchange",function(){b.onChange()}); b.o.checked=b.isSelected();b.element("div","class","ring");b.element("div","class","dot");b.overlay.render()})}); var c=b.model.getText(),e=b.model.getContent();(c||e)&&b.element("label","for",b.id,"class","label-text","onclick",function(){Aj(b.overlay,0,0,!0)},c||e)})}; qo.prototype.onChange=function(){if(this.o&&this.model.isSelected()!==this.o.checked&&(this.model.setSelected(this.o.checked),this.model.getGroup()))for(var a=t(Array.from(document.getElementsByName(this.model.getGroup()))),b=a.next();!b.done;b=a.next())b.value.dispatchEvent(new Event("change"))}; qo.prototype.isSelected=function(){return this.model.isSelected()};function ro(a){var b=Object.assign({},a),c=a.content,e=void 0===a.Dg?!0:a.Dg,f=void 0===a.Dj?"placement-start":a.Dj,h=void 0===a.vn?"alignment-start":a.vn,k=void 0===a.style?"style-normal":a.style;a=a.An;b=(delete b.content,delete b.Dg,delete b.Dj,delete b.vn,delete b.style,delete b.An,b);E.call(this,"sc.shared.MaterialRichTooltip");var l=this;this.ha=!1;this.Gd=this.Rd=0;this.ka=c;this.Dg=e;this.oa=f;this.na=h;this.ta=k;this.An=a;this.o=new Ml(Object.assign({},{content:function(){so(l)}, Ak:!0,Zo:!1,zn:!1},b))} w(ro,E);n=ro.prototype;n.open=function(a){this.Dg?this.o.open(a):(this.ha=!0,this.Ba())}; n.Cb=function(){return this.Dg?this.o.Cb():this.ha}; n.close=function(){this.Dg?this.o.close():(this.ha=!1,this.Ba())}; function to(a,b){var c=b.Gd;if(!a.Dg){var e;a.Rd=null!=(e=b.Rd)?e:a.Rd;a.Gd=null!=c?c:a.Gd;a.Ba()}} n.ud=function(){return!0}; n.content=function(){var a=this;this.Dg?this.o.render():this.element("div","class","popup-container","style",{visibility:this.ha?"visible":"hidden",transform:"translate("+this.Rd+"px, "+this.Gd+"px)"},function(){so(a)})}; function so(a){a.element("div","class","root "+a.oa+" "+a.ta,function(){a.element("div","class","container","style",{padding:a.An},a.ka);a.element("div","class","clip-track "+a.na,function(){a.element("div","class","clip",function(){a.element("div","class","caret")})})})} ;function uo(a){tj.call(this);this.inputType="";this.Zd=!1;this.He=!0;this.vo=this.rows=0;this.Hl=this.text=this.label="";this.Xb=this.filled=!1;this.kf=!0;this.disabled=this.Qr=!1;this.placeholder="";this.qc=[];this.error="";this.maxLength=void 0;this.To=this.ariaInvalid=this.ariaRequired=!1;this.icon=void 0;this.Kj=!1;this.lo=!0;this.uc=void 0;this.je(a)} w(uo,tj);n=uo.prototype; n.je=function(a){var b=void 0===a.Zd?!1:a.Zd,c=void 0===a.He?!0:a.He,e=void 0===a.rows?0:a.rows,f=void 0===a.vo?0:a.vo,h=void 0===a.label?"":a.label,k=void 0===a.placeholder?"":a.placeholder,l=void 0===a.text?"":a.text,p=void 0===a.Hl?"":a.Hl,r=void 0===a.filled?!1:a.filled,u=void 0===a.Xb?!1:a.Xb,A=void 0===a.kf?!0:a.kf,la=void 0===a.Qr?!1:a.Qr,ma=void 0===a.disabled?!1:a.disabled,oa=void 0===a.Bd?void 0:a.Bd,sa=void 0===a.Sf?void 0:a.Sf,ua=void 0===a.Rf?void 0:a.Rf,va=void 0===a.Ul?void 0:a.Ul, Ea=void 0===a.qc?["self"]:a.qc,Oa=void 0===a.error?"":a.error,Ja=a.maxLength,fb=void 0===a.ariaRequired?!1:a.ariaRequired,nb=void 0===a.ariaInvalid?!1:a.ariaInvalid,ib=void 0===a.To?!1:a.To,jb=void 0===a.icon?void 0:a.icon,Ua=void 0===a.Kj?!1:a.Kj,kb=void 0===a.lo?!0:a.lo,Va=void 0===a.uc?void 0:a.uc;this.inputType=void 0===a.inputType?"":a.inputType;this.Zd=b;this.rows=e;this.vo=f;this.label=h;this.placeholder=k;this.text=l;this.Hl=p;this.filled=r;this.Xb=u;this.kf=A;this.Qr=la;this.disabled=ma; this.Bd=oa;this.Sf=sa;this.Rf=ua;this.Ul=va;this.qc=Ea;this.error=Oa;this.He=c;this.maxLength=Ja;this.ariaRequired=fb;this.ariaInvalid=nb;this.To=ib;this.icon=jb;this.Kj=Ua;this.lo=kb;this.uc=Va}; n.Ki=function(){return this.He}; n.getLabel=function(){return this.label}; n.getRows=function(){return this.rows}; n.getMaxRows=function(){return this.vo}; n.getText=function(){return this.text}; n.setText=function(a){a!==this.text&&(this.text=a,this.wa(0))}; n.getPlaceholder=function(){return this.placeholder}; n.setPlaceholder=function(a){a!==this.placeholder&&(this.placeholder=a,this.wa(1))}; n.getError=function(){return this.error}; n.setError=function(a){a!==this.error&&(this.error=a,this.ariaInvalid=""!==a,this.wa(2))}; n.setDisabled=function(a){a!==this.disabled&&(this.disabled=a,this.wa(3))}; n.we=function(){return this.icon};function vo(a){a=void 0===a?{}:a;E.call(this,"sc.shared.MaterialTextField");this.labelId=sj();this.na=sj();this.oa=sj();this.o=null;this.isComposing=this.ka=!1;this.model=a instanceof uo?a:new uo(a);this.watch(this.model)} w(vo,E);function jea(a){return a.model.Ki()?a.o?a.o:new no({label:a.model.getPlaceholder(),oo:a.model.getLabel()?void 0:wo(a),Eh:a.model.kf,disabled:a.model.disabled,filled:a.model.filled,Xb:a.model.Xb,Zd:a.model.Zd,mh:function(){return""!==a.model.getText()}}):null} n=vo.prototype; n.content=function(a){var b=this;a&&this.model.je(a);this.o=jea(this);this.element("div","class","root",function(){b.model.getLabel()&&b.element("label","class","label","id",b.labelId,b.model.getLabel());b.o&&iea(b.o,!!b.model.getError());var c=b.model.uc?xo(b.model.uc,{id:"sc.shared.MaterialTextField"}):void 0,e=c?c.attributes({Dw:!1,Pp:!1}):"";b.element("div","class",{"input-container":!0,multiline:b.model.Zd,dense:b.model.Xb,invalid:b.model.getError(),outlined:!b.model.filled,filled:b.model.filled,disabled:b.model.disabled}, function(){b.element(b.model.getLabel()?"div":"label","class",{box:!0,"box-no-label":b.model.filled&&!b.model.kf,"filled-box":b.model.filled&&!b.model.Xb&&(b.model.kf||b.model.Zd),"filled-label":b.model.filled&&!b.model.Xb&&b.model.kf,"outlined-box":!b.model.filled&&b.model.kf},function(){var h=b.Kh.apply(b,[b.model.Zd?"textarea":"input",b.oa,"class",{"native-control":!0,"native-control-filled":b.model.filled},"style",{padding:"0 15px","padding-bottom":b.model.filled?"0":"15px"},"placeholder",b.o? "":b.model.getPlaceholder(),"aria-placeholder",b.o?b.model.getPlaceholder():"","type",b.model.inputType,"rows",b.model.getRows(),"disabled",b.model.disabled,"aria-labelledby",kea(b),"maxlength",b.model.maxLength,"onfocus",function(k){b.Sf();c&&c.tx(k)}, "onblur",function(){return void b.Rf()}, "oninput",function(){return void yo(b)}, "onkeyup",function(k){if("Enter"===k.key){var l;null==(l=b.model.Ul)||l()}}, "onkeydown",function(k){b.model.To&&k.stopPropagation();c&&c.Zq(k)}, "onkeypress",function(k){b.model.To&&k.stopPropagation()}, "aria-required",b.model.ariaRequired,"aria-invalid",b.model.ariaInvalid,"tabindex",b.model.lo?"0":"-1"].concat(Ba(e)));b.ha!==h&&(b.ha=h,b.ha.addEventListener("compositionstart",function(){b.isComposing=!0}),b.ha.addEventListener("compositionend",function(){b.isComposing=!1; yo(b)})); b.ha.value=b.model.getText();b.model.Zd&&0===b.model.getRows()&&(h=lea(b),b.ha.style.height=h+"px",0===h&&(b.ha.style.overflowY="hidden"));b.model.Kj&&b.model.we()&&b.element("span","class","icon",b.model.we())}); b.o&&(b.o.render(),b.o.setLabel(b.model.getPlaceholder()))}); var f=b.model.getError()||b.model.Hl;f&&(b.element("div","id",b.na,"aria-live",b.model.getError()?"polite":null,"class",{"helper-text":!0,"helper-text-invalid":b.model.getError(),"helper-text-disabled":b.model.disabled,"helper-text-filled":b.model.filled,"helper-text-outlined":!b.model.filled,"helper-text-hidden":!b.model.getError()&&b.model.Qr&&!b.ka},f),b.ha.setAttribute("aria-describedby",b.na))})}; function kea(a){return a.model.qc?a.model.qc.map(function(b){return"self"===b?wo(a):b}).join(" "):wo(a)} function wo(a){if(a.model.getLabel()||a.model.getPlaceholder())return a.labelId} function lea(a){var b=Number(getComputedStyle(a.ha).paddingLeft.replace(/[^0-9\.]/g,"")),c=a.ha.clientWidth-2*b;b=a.element("div","class","expander","style","width: "+c+"px",""+a.model.getText()+"\u200b");if(a.model.getMaxRows()){var e="\n".repeat(a.model.getMaxRows()-1);a=a.element("div","class","expander","style","width: "+c+"px",""+e+"\u200b");return Math.min(b.clientHeight,a.clientHeight)}return b.clientHeight} n.Sf=function(){this.ka=!0;this.o&&this.o.focus();var a;null==(a=this.model.Sf)||a();this.Ba()}; n.Rf=function(){this.ka=!1;this.o&&this.o.blur();var a;null==(a=this.model.Rf)||a();this.Ba()}; function yo(a){if(!a.isComposing){var b=a.ha.value;a.model.setText(b);var c;null==(c=a.model.Bd)||c(b)}} n.getText=function(){return this.model.getText()}; n.setText=function(a){this.model.setText(a)}; n.setPlaceholder=function(a){this.model.setPlaceholder(a)}; n.setError=function(a){this.model.setError(a)}; n.Fc=function(){return!!this.model.getError()}; n.setDisabled=function(a){this.model.setDisabled(a)}; n.focus=function(){var a;null==(a=this.ha)||a.focus()};function zo(a){var b=void 0===a.text?"":a.text,c=a.trigger,e=void 0===a.Vh?"":a.Vh,f=void 0===a.Xa?!1:a.Xa,h=void 0===a.fk?!0:a.fk,k=void 0===a.vg?!1:a.vg,l=void 0===a.Vv?0:a.Vv,p=void 0===a.Yr?4:a.Yr,r=void 0===a.delay?0:a.delay;E.call(this,"sc.shared.MaterialTooltip");var u=this;this.o=!1;this.Vv=l;this.Yr=p;this.Xa=f;this.text=b;this.trigger=c;this.Vh=e;this.fk=h;this.vg=k;this.activate=function(){if(!u.vg||Ao(u,u.trigger))u.o=!0,0=c){var f=Number(a.style.left.replace("px",""));a.style.left=Math.floor(f-(e.right-c))+"px"}e.bottom>=b&&(a.style.top=a.offsetHeight/2*-1+"px")}}; zo.prototype.Gb=function(){Bo(this)}; function Bo(a){a.trigger.removeEventListener("mouseenter",a.activate);a.trigger.removeEventListener("mouseleave",a.ha);a.trigger.removeEventListener("focus",a.activate);a.trigger.removeEventListener("blur",a.deactivate);a.container&&a.container.removeEventListener("mouseleave",a.deactivate)} function Ao(a,b){if(b.scrollWidth>b.getBoundingClientRect().width)return!0;b=t(b.children);for(var c=b.next();!c.done;c=b.next())if(Ao(a,c.value))return!0;return!1} var mea=mj("sc.shared.MaterialTooltip");function Co(){try{return!!window.localStorage}catch(a){return!1}} function Do(a,b){if(Co())try{window.localStorage.setItem(a,JSON.stringify(b))}catch(c){}} function Eo(a){var b={},c=void 0===b.removeItem?!1:b.removeItem;b=void 0===b.jH?!0:b.jH;if(!Co())return null;try{var e=window.localStorage.getItem(a);if(!e)return null;b&&(e=JSON.parse(e));c&&Co()&&window.localStorage.removeItem(a);return e}catch(f){return null}} ;function Fo(){this.ha={};this.o=0} n=Fo.prototype;n.format=function(a){var b=wh("SafeHtmlFormatter:");a=wh(a).replace(new RegExp("\\{"+b+"[\\w]+\\}","g"),sb(this.HG,this,[]));return uf(a)}; n.HG=function(a,b){a=this.ha[b];if(!a)return b;b="";a.Lb&&(b+="");a.html&&(b+=a.html);a.Jb&&(b+=""+a.Jb+">");return b}; n.Lb=function(a,b){vf(a);return Go(this,{Lb:a,attributes:zf(b)})}; n.Jb=function(a){vf(a);return Go(this,{Jb:a})}; n.text=function(a){return Go(this,{html:wh(a)})}; n.safeHtml=function(a){return Go(this,{html:rf(a).toString()})}; function Go(a,b){a.o++;var c="{SafeHtmlFormatter:"+a.o+"_"+Ah()+"}";a.ha[wh(c)]=b;return c} ;function Ho(a,b){b=void 0===b?tg().hc:b;this.ha=a;this.ma={};b&&(this.ma.helpcenter=b)} n=Ho.prototype;n.Si=function(a){this.na=a;return this}; n.onError=function(a){this.ka=a;return this}; n.oy=function(a){this.oa=a;return this}; n.Zi=function(a,b){this.ma[a]=b;return this}; n.start=function(a){var b=this;a=void 0===a?tg().upload_hostname:a;var c=new XMLHttpRequest;c.open("POST",a+"/upload");c.withCredentials=!0;c.addEventListener("load",function(){try{var e=JSON.parse(c.responseText);nea(b,e.sessionStatus.externalFieldTransfers[0].formPostInfo.url)}catch(f){Io(b)}}); c.addEventListener("error",function(){return Io(b)}); c.addEventListener("abort",function(){return Io(b)}); c.send(oea(this));return this}; function nea(a,b){var c=new XMLHttpRequest;c.open("POST",b);c.withCredentials=!0;c.addEventListener("load",function(){try{var e=JSON.parse(c.responseText).sessionStatus.additionalInfo["uploader_service.GoogleRupioAdditionalInfo"].completionInfo.customerSpecificInfo;a.o=e.cns_filename;a.ta=e.document_id;a.na&&a.na()}catch(f){Io(a)}}); c.upload.addEventListener("progress",function(e){a.oa&&a.oa(e.lengthComputable?Math.max(e.loaded-(e.total-a.ha.size),0):0)}); c.addEventListener("error",function(){return Io(a)}); c.addEventListener("abort",function(){return Io(a)}); b=new FormData;b.append("Filedata",a.ha,a.ha.name);c.send(b)} function Io(a){a.ka&&a.ka()} function oea(a){var b=[{external:{name:"file",filename:a.ha.name,formPost:{}}}],c;for(c in a.ma)b.push({inlined:{name:c,content:a.ma[c],contentType:"text/plain"}});return JSON.stringify({protocolVersion:"0.8",createSessionRequest:{fields:b}})} n.LD=function(){return this.o}; n.Al=function(){return this.ta}; Ho.prototype.getDocumentId=Ho.prototype.Al;Ho.prototype.getCnsFilename=Ho.prototype.LD;Ho.prototype.start=Ho.prototype.start;Ho.prototype.setMetadata=Ho.prototype.Zi;Ho.prototype.onProgress=Ho.prototype.oy;Ho.prototype.onError=Ho.prototype.onError;Ho.prototype.onSuccess=Ho.prototype.Si;function Jo(){var a=this;this.ha=document.querySelector(".overlay");this.o=(new Gn({className:"overlay-backdrop",mn:"overlay-backdrop--active",ay:"overlay-backdrop--locked"})).setContent(this.ha).onClose(function(){a.ma.close()}); this.o.Dv(!0);this.o.Av(!0);this.ka=this.ha.querySelector(".overlay__close-button");this.ka.addEventListener("click",function(){a.o.close()}); this.ma=new vn(this.ha,function(b){b.iframe.contentDocument.body.style.padding="2.5rem 3.25rem"},null)} Jo.prototype.Nh=pa(3);window.sc_initOverlay=function(){return new Jo};var pea={"ads.svg":Ie('\n'),"alumnus_expert.svg":Ie('\n'), "beenhere.svg":Ie('\n'),"bids_and_budgets.svg":Ie('\n'), "bronze_expert.svg":Ie('\n'),"community_specialist.svg":Ie('\n'), "diamond_expert.svg":Ie('\n'), "error_computer.svg":Ie('\n'), "gold_expert.svg":Ie('\n'), "google_employee.svg":Ie('\n'),"keywords_and_targeting.svg":Ie('\n'), "laptop_check.svg":Ie('\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n'), "legacy_expert.svg":Ie('\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n'), "logo_googleg_48dp.svg":Ie('\n \n \n \n \n \n\n'), "page_desktop.svg":Ie('\n'), "page_desktop_dark.svg":Ie('\n'), "platinum_expert.svg":Ie('\n'), "play.svg":Ie('\n'),"quickreply.svg":Ie('\n'),"search.svg":Ie('\n'), "silver_expert.svg":Ie('\n'), "stop.svg":Ie('\n'),"volunteer_activism.svg":Ie('\n'), "workflow.svg":Ie('\n'), "workflow_dark.svg":Ie('\n')};function Ko(a){E.call(this,"sc.shared.TsAssetInterop");this.o=a} w(Ko,E);Ko.prototype.content=function(){ij(pea[this.o])};var qea=new Map([[0,"workflow.svg"],[1,"legacy_expert.svg"],[2,"alumnus_expert.svg"],[3,"bronze_expert.svg"],[4,"silver_expert.svg"],[5,"gold_expert.svg"],[6,"platinum_expert.svg"],[7,"diamond_expert.svg"],[8,"community_specialist.svg"],[9,"google_employee.svg"],[10,"play.svg"],[11,"stop.svg"],[12,"quickreply.svg"],[13,"volunteer_activism.svg"],[14,"beenhere.svg"],[16,"bids_and_budgets.svg"],[17,"keywords_and_targeting.svg"],[15,"ads.svg"]]),Lo=new Map([[0,"workflow_dark.svg"]]); function Mo(a){var b=void 0===a.rb?!1:a.rb,c=void 0===a.Tt?!1:a.Tt,e=a.icon,f=void 0===a.isDarkMode?!1:a.isDarkMode,h=void 0===a.size?24:a.size,k=a.title;a=void 0===a.Tr?!1:a.Tr;E.call(this,"sc.icon.Icon");f=f&&Lo.has(e)?Lo.get(e):qea.get(e);if(void 0===f)throw Error("The icon asset "+e+" is undefined.");this.rb=b;this.Tt=c;this.size=h;this.o=new Ko(f);this.title=k;this.Tr=a} w(Mo,E);Mo.prototype.content=function(){var a=this;this.element("div","class",{root:!0,baseline:this.rb,"text-bottom":this.Tr,flip:this.Tt},"title",this.title,"style",{height:this.size+"px",width:this.size+"px"},function(){a.o.render()})};function No(a){E.call(this,"sc.text_bubble.TextBubble");this.text=a.text;this.style=a.style} w(No,E);No.prototype.content=function(){var a=this;this.element("div","class",{"text-bubble":!0,"text-bubble--active":0===this.style,"text-bubble--completed":1===this.style,"text-bubble--inverted":2===this.style},function(){ij(a.text)})};function Oo(a){var b=a.triggerId,c=a.productData,e=a.callback,f=void 0===a.ariaLabel?"Feedback":a.ariaLabel,h=void 0===a.enableTestingMode?!1:a.enableTestingMode;a=void 0===a.vq?!0:a.vq;E.call(this,"sc.hats_survey_button.HatsSurveyButton");this.triggerId=b;this.productData=c;this.callback=e;this.ariaLabel=f;this.enableTestingMode=h;this.vq=a} w(Oo,E);function rea(a){a.element("div","class","survey-trigger-button",new Fk({text:"Feedback",style:8,icon:a.vq?"gm/announcement":"",compact:!0,trigger:function(){var b;return Ya(function(c){if(1==c.o)return b=new nk,sea(b)?Ma(c,new Promise(function(e){return void setTimeout(e,600)}),2):c.Qa(2); ok(b,{triggerId:a.triggerId,enableTestingMode:a.enableTestingMode,productData:a.productData,callback:function(e){var f,h=null!=(f=null==e?void 0:e.surveyMetadata.sessionId)?f:"";h&&Po.push(h);a.callback&&a.callback(e)}, defaultStyle:1});Na(c)})}, ariaLabel:a.ariaLabel}))} Oo.prototype.content=function(){rea(this)}; function sea(a){var b=!1;if(!window.hatsNextGlobalObject||!window.hatsNextGlobalObject.surveyMap)return b;for(var c=t(Object.keys(window.hatsNextGlobalObject.surveyMap)),e=c.next();!e.done;e=c.next())e=e.value,Po.includes(e)||(b=!0,pk(a).ha({surveyMetadata:{sessionId:e}}));return b} var Po=[];function Qo(a){z.call(this,a,-1,tea)} w(Qo,z);var tea=[1,2,3,4];function Ro(a){z.call(this,a,-1,uea)} w(Ro,z);var uea=[2];function So(a){z.call(this,a,31,vea)} w(So,z);So.prototype.getTag=function(){return x(this,2)}; So.prototype.setTag=function(a){return y(this,2,a)}; So.prototype.Se=pa(6);var vea=[3,20,27];function To(a){Fm.call(this);this.Ca=a;this.ka={}} wb(To,Fm);var Uo=[];n=To.prototype;n.listen=function(a,b,c,e){Array.isArray(b)||(b&&(Uo[0]=b.toString()),b=Uo);for(var f=0;fma;ma+=4)la[ma/4]=A[ma]ma;ma++)A=la[ma-3]^la[ma-8]^la[ma-14]^la[ma-16],la[ma]=(A>>31)&4294967295;A=f[0];var oa=f[1],sa=f[2],ua=f[3],va=f[4];for(ma=0;80>ma;ma++){if(40>ma)if(20>ma){var Ea=ua^oa&(sa^ua);var Oa=1518500249}else Ea=oa^sa^ua,Oa=1859775393;else 60>ma?(Ea=oa&sa|ua&(oa|sa),Oa=2400959708):(Ea=oa^sa^ua,Oa=3395469782);Ea=((A>>27)&4294967295)+Ea+va+Oa+la[ma]&4294967295;va=ua;ua=sa;sa=(oa>>2)& 4294967295;oa=A;A=Ea}f[0]=f[0]+A&4294967295;f[1]=f[1]+oa&4294967295;f[2]=f[2]+sa&4294967295;f[3]=f[3]+ua&4294967295;f[4]=f[4]+va&4294967295} function c(A,la){if("string"===typeof A){A=unescape(encodeURIComponent(A));for(var ma=[],oa=0,sa=A.length;oar?c(l,56-r):c(l,64-(r-56));for(var ma=63;56>>=8;b(h);for(ma=la=0;5>ma;ma++)for(var oa=24;0>oa&255;return A} for(var f=[],h=[],k=[],l=[128],p=1;64>p;++p)l[p]=0;var r,u;a();return{reset:a,update:c,digest:e,digestString:function(){for(var A=e(),la="",ma=0;mal?"":0==l?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(Date.now()+1E3*l)).toUTCString();this.o.cookie=a+"="+b+c+k+l+e+(null!=f?";samesite="+ f:"")}; n.get=function(a,b){for(var c=a+"=",e=(this.o.cookie||"").split(";"),f=0,h;fa.ni()?"https://www.google.com/log?format=json&hasfast=true":"https://play.google.com/log?format=json&hasfast=true");return a.Ja} n.dispatch=function(a){if(a instanceof So)this.log(a);else{var b=new So;a=ce(a);b=y(b,8,a);this.log(b)}}; function qp(a,b){b?(a.ma||(a.ma=new Ro),b=ce(b),y(a.ma,4,b)):a.ma&&Kd(a.ma,4)} function rp(a){a.Ib=a.Ze} function sp(a,b){a.ka=new hp(1>b?1:b);dn(a.o,a.ka.getValue())} n.log=function(a){a=a.clone();var b=this.zh++;y(a,21,b);this.Fa&&y(a,26,this.Fa);if(!x(a,1)){b=a;var c=Date.now().toString();y(b,1,c)}xd(a,15)||(b=a,c=60*(new Date).getTimezoneOffset(),y(b,15,c));this.ma&&(b=this.ma.clone(),Sd(a,Ro,16,b));for(;1E3e&&this.Zama||401===ma||0===ma);oa&&(c.ha=sa.concat(c.ha),c.Na||c.o.enabled||c.o.start());b&&b("net-send-failed",ma)},la=function(){c.ub?c.ub.send(r,u,A):c.Sc(r,u,A)}; p?p.then(function(ma){r.ov["Content-Encoding"]="gzip";r.ov["Content-Type"]="application/binary";r.body=ma;r.vC=2;la()},function(){la()}):la()}}}}; n.St=function(){this.Ea||(this.Ib&&up(this),this.Ha&&Fea(this),this.flush())}; function up(a){vp(a,32,10,function(b,c){b=lm(b,"format","json");b=window.navigator.sendBeacon(b,ce(c));a.Va&&!b&&(a.Va=!1);return b})} function Fea(a){vp(a,6,5,function(b,c){c=ce(c);for(var e=[],f=0,h=0;h>=8);e[f++]=k}c=Cc(e,3);c=km(b,"format","base64json","p",c);if(15360 .heading").getAttribute("data-search-dym-tracking-id"),a.mv(f,b,h,e,c)):(e=""!==rg("symptom"),a.bm(f,h,b.getAttribute("data-search-rank"),b.getAttribute("data-search-result-id"),b.getAttribute("data-search-request-id"),b.getAttribute("data-search-url"), b.getAttribute("data-search-flow"),b.getAttribute("data-search-ctx"),e,c))}} function Hea(a,b){function c(){h&&k&&((window.sc_delayLocationHandler=e)?e(f):Lg(f))} if("_blank"==a.target||b.shiftKey||b.ctrlKey||b.metaKey)return null;var e=window.sc_delayLocationHandler,f,h=!1,k=!1;window.sc_delayLocationHandler=function(){h=!0;c()}; return function(l){k=!0;f=l;c()}} n.bm=function(a,b,c,e,f,h,k,l,p,r){b=Ep(p?"suggestion_clicked":"search_results_clicked",b,k,l);Bp(b,"q",a);Bp(b,"clickRank",c);Bp(b,"resultId",e);Bp(b,"requestId",f);Bp(b,"shownContentList",h);Fp(this,b,h,r)}; n.mv=function(a,b,c,e,f){c=Ep("sugesstion_clicked",c);Bp(c,"q",a);e&&Bp(c,"dymTrackingId",e);Fp(this,c,b,f)}; n.lv=function(a,b,c){b=Ep("autocomplete_search_query",tg().visit_id,b);Bp(b,"q",a);Fp(this,b,"",c)}; n.jv=function(a,b,c,e){c=Ep("autocomplete_results_clicked",tg().visit_id,c);Bp(c,"q",a);Bp(c,"shownContentList",b);Fp(this,c,b,e)}; n.kv=function(a,b){b=Ep("autocomplete_click_impressions",tg().visit_id,b);Bp(b,"shownContentList",a.join("|"));Gp(this,b,"sc_nullFunction")}; function Fp(a,b,c,e){e&&e instanceof Function?(window.sc_searchMetricsLinkCallback=function(){e(c)},Gp(a,b,"sc_searchMetricsLinkCallback")):Gp(a,b,"sc_nullFunction")} n.Ey=function(a){var b=Ep("article_help_link_clicked",tg().visit_id,"help");Bp(b,"url",a);Gp(this,b,"sc_nullFunction")}; n.My=function(a){var b=Ep("opened_to_article",tg().visit_id,"help");Bp(b,"shownContentList",a);Gp(this,b,"sc_nullFunction")}; n.Fr=function(a,b,c,e,f,h,k,l){e=e||rg("query")||rg("q");h=h||""!==rg("symptom");a=Ep(h?"shown_suggestions":"shown_search_results",a,f,k);Bp(a,"q",e);Bp(a,"requestId",b);Bp(a,"shownContentList",c.join("|"));l&&Bp(a,"dymTrackingId",l);Gp(this,a,"sc_nullFunction")}; function Hp(a,b,c){b=Ep(b,tg().visit_id,"help");c&&Bp(b,"contactMode",c);Gp(a,b,"sc_nullFunction")} n.Jy=function(){Hp(this,"nd4c_requested")}; n.Iy=function(){Hp(this,"shown_contact_us","nd4c_email")}; n.Hy=function(){Hp(this,"contact_us_clicked","nd4c_email")}; n.Ly=function(){Hp(this,"shown_contact_us","nd4c_phone")}; n.Ky=function(){Hp(this,"contact_us_clicked","nd4c_phone")}; n.Gy=function(){Hp(this,"shown_contact_us","nd4c_chat")}; n.Fy=function(){Hp(this,"contact_us_clicked","nd4c_chat")}; n.nk=function(a,b,c,e,f,h){a=Ep(void 0===h?"suggestion_clicked":h,a);Bp(a,"requestId",b);Bp(a,"resultId",c);void 0!==e&&Bp(a,"clickRank",e);void 0!==f&&Bp(a,"shownContentList",f);Gp(this,a,"sc_nullFunction")}; function Ep(a,b,c,e){a=Bp(Bp(Bp(Bp(Bp(Bp(Bp(new Ap,"flow",c||"support-content"),"gfSessionId",b),"hcName",tg().hc),"locale",tg().lang),"authuser",tg().au),"useAnonymousMetrics","false"),"userAction",a);(e=e||Iea())&&Bp(a,"productSpecificContext",e);"help"===c&&Bp(a,"useInappHelpPanel","true");(c=$g("productEscalationsId"))&&Bp(a,"productId",c);return a} function Iea(){var a=tg().query_params.find(function(b){return"ec"==b.key}); return a?a.value:""} function Gp(a,b,c){var e="[email protected]"==tg().ge;!a.o&&"true"!==$g("initializeMojoMetrics")||e||(Bp(b,"callback",c),a=Hh("SCRIPT"),a.onerror=window[c],Jf(a,b.build()),document.body.appendChild(a))} Cp.prototype.reportSearchResultsFeatureClick=Cp.prototype.nk;Cp.prototype.reportNewDealChatClicked=Cp.prototype.Fy;Cp.prototype.reportNewDealChatDisplayed=Cp.prototype.Gy;Cp.prototype.reportNewDealTfnClicked=Cp.prototype.Ky;Cp.prototype.reportNewDealTfnDisplayed=Cp.prototype.Ly;Cp.prototype.reportNewDealEmailClicked=Cp.prototype.Hy;Cp.prototype.reportNewDealEmailDisplayed=Cp.prototype.Iy;Cp.prototype.reportNewDealRequested=Cp.prototype.Jy;Cp.prototype.reportImpressions=Cp.prototype.Fr; Cp.prototype.reportOpenedToArticle=Cp.prototype.My;Cp.prototype.reportArticleHelpLinkClicked=Cp.prototype.Ey;Cp.prototype.reportAutocompleteImpressions=Cp.prototype.kv;Cp.prototype.reportAutocompleteClick=Cp.prototype.jv;Cp.prototype.reportAutocompleteSearch=Cp.prototype.lv;Cp.prototype.reportSpellingClick=Cp.prototype.mv;Cp.prototype.reportClick=Cp.prototype.bm;Cp.prototype.setUpMojoReportingForSpelling=Cp.prototype.kz;Cp.prototype.setUpMojoReportingForSearchResults=Cp.prototype.jz;var Ip; vb("hcfe.MojoMetrics",Cp);window.sc_initMojoMetrics=function(){Ip||(Ip=new Cp,Ip.jz(),Ip.kz(),window.sc_trackSearchResultImpressions=window.sc_trackSearchResultEnabledRceTracking?window.sc_nullFunction:Ip.Fr.bind(Ip))};function Jp(a,b){this.ma=a;this.ha=a.parentNode;this.o=b;this.o.counter&&this.o.count&&Kp(this,[{key:this.o.counter,value:(this.o.count+1).toString()}]);this.ma.addEventListener("click",this.ka.bind(this))} Jp.prototype.ka=function(){this.o.id&&Kp(this,[{key:this.o.id,value:(new Date).getTime().toString()}]);this.ha.parentNode.removeChild(this.ha)}; function Kp(a,b){var c=tg();(new Image).src=c.ehn+"/apis/prefinsert?pb="+encodeURIComponent(JSON.stringify({common_params:{context_params:{experiment_id:c.mendel_ids}},resource:{user_pref:b,helpcenter:c.hc,key_type:a.o.type}}))} window.sc_initNotification=function(a,b){new Jp(a,b)};function Lp(a,b,c){this.value=a;this.icon=b;this.ariaLabel=c} Lp.prototype.toString=function(){return this.value}; var Mp=new Lp("error","gm/error_outline","Error notification"),Np=new Lp("caution","gm/warning","Caution notification"),Op=new Lp("informational","gm/info","Informational notification"),Jea=new Lp("success","gm/check_circle_outline","Success notification"); function Pp(a){var b=a.message,c=a.type,e=a.position,f=a.Tf,h=a.icon,k=void 0===a.color?!0:a.color;a=void 0===a.compact?!1:a.compact;E.call(this,"sc.shared.Callout");this.o=[];this.message=b;this.type=c;this.position=e;this.icon=new yj({icon:null!=h?h:c.icon,rb:!0,size:a?20:24});this.color=k;this.compact=a;if(void 0===f)b=[];else{c=Array.isArray(f)?f:[f];b=[];c=t(c);for(e=c.next();!e.done;e=c.next())e=e.value,b.push(new Fk({ariaLabel:e.ariaLabel,text:e.text,trigger:e.trigger,style:1,compact:!0})); b=b.reverse()}this.o=b} w(Pp,E);Pp.prototype.content=function(){var a=this,b=["root",this.type,this.position];this.color&&b.push("color");this.compact&&b.push("compact");this.element("div","class",b.join(" "),"aria-label",this.type.ariaLabel,"aria-live","polite",function(){a.element("div","class","content",function(){a.icon.render();a.element("div","class","message",a.message)}); 0]*>/gi,Zea=/(]+>)/gi;function Iq(a,b){(void 0===b?0:b)&&(a=a.replace(Yea,"\n").replace(/\n{2,}/gi,"\n").trim());return a.replace(Zea,"")} ;var Jq=void 0;function Kq(){void 0===Jq&&console.error("Settings must be initialized before being used.");return Jq} function Lq(){var a;return null!=(a=Kq().cF)?a:!1} function Mq(){return Kq().language} ;var Nq=4/3,$ea=16/9;function Oq(a){var b=a.xc;a=void 0===a.Hi?!1:a.Hi;E.call(this,"sc.tailwind.thread.popup_video.PopupVideo");var c=this;this.xc=b;this.id=this.xc.getId();this.Hi=a;this.o=new Ml({Qb:7,Ob:7,Wh:!0,Pq:!0,content:function(){c.ha=c.element("div","class","root")}, Wg:!0});this.aspectRatio=afa(this);this.watch(this.xc)} w(Oq,E);Oq.prototype.open=function(a){this.o.open(Object.assign({},{Fb:!0},a));bfa(this)}; Oq.prototype.content=function(){this.o.render()}; function cfa(a){a.player=new window.YT.Player(a.ha,{height:String((a.Hi?960:640)/a.aspectRatio),width:String(a.Hi?960:640),videoId:a.id,playerVars:{autoplay:1,cc_load_policy:1,controls:2,hl:Lq()?Mq():a.xc.getLanguage(),rel:0,playsinline:0},events:{onReady:function(){var b,c,e,f=null!=(e=null==(b=a.player)?void 0:null==(c=b.getCurrentTime)?void 0:c.call(b))?e:0,h,k,l;b=null!=(l=null==(h=a.player)?void 0:null==(k=h.getDuration)?void 0:k.call(h))?l:0;Pq(-1,a.id,f,b)}, onStateChange:function(b){b=b.data;var c,e,f,h=null!=(f=null==(c=a.player)?void 0:null==(e=c.getCurrentTime)?void 0:e.call(c))?f:0,k,l,p;c=null!=(p=null==(k=a.player)?void 0:null==(l=k.getDuration)?void 0:l.call(k))?p:0;Pq(b,a.id,h,c)}}})} function bfa(a){Ya(function(b){if(1==b.o)return Ma(b,dfa(),2);cfa(a);Na(b)})} function Pq(a,b,c,e){switch(a){case -1:a=20;break;case 0:a=19;break;case 1:a=25;break;case 2:a=26;break;case 3:a=27;break;case 5:a=28;break;default:a=0}Uk(a,b,44,c+","+e)} function afa(a){var b=a.xc.o.width;a=a.xc.o.height;return b&&a?b/a===Nq?Nq:$ea:Nq} var Qq;function dfa(){var a,b;return Ya(function(c){if("function"===typeof(null==(a=window.YT)?void 0:a.Player))return c.return();Qq||(b=document.createElement("script"),Jf(b,Re(He(Ie("//www.youtube.com/player_api")))),document.body.appendChild(b),Qq=new Promise(function(e){window.onYouTubeIframeAPIReady=e})); return c.return(Qq)})} ;function Rq(a,b){var c=void 0===b?{}:b;b=void 0===c.Vw?!1:c.Vw;var e=c.height,f=void 0===c.Hi?!1:c.Hi;c=c.width;this.o=a;this.ha=this.o.getAttribute("data-videoid");this.ka=qg(this.o,"embedded-video")?"default":"medium";c&&e&&(this.na=c/e==Sq?Sq:1.6);this.ma=f;b||(efa(this),ffa(this))} function efa(a){window.addEventListener("hashchange",function(b){En(b.oldURL,b.newURL)===a.ha&&Tq(a)}); window.addEventListener("load",function(){En("",location.href)===a.ha&&Tq(a)})} function ffa(a){var b=new XMLHttpRequest;b.addEventListener("load",function(){try{var c=JSON.parse(b.responseText)}catch(e){}c&&gfa(this,c)}.bind(a)); b.open("GET","https://www.googleapis.com/youtube/v3/videos?part=snippet%2C+id&key=AIzaSyD-4tE5aKFZYIS_IrfpCDRsgQZbv5VCJZM&id="+a.ha);b.send()} function gfa(a,b){if(b.items&&b.items[0]&&b.items[0].snippet){var c=b.items[0].snippet;b=function(f){for(var h=c,k=0;k>>0),la=[["js_request_id",A],["rr",1],["lc",1]],ma=ifa();0a&&b.setFullYear(b.getFullYear()-1900);return b} n=Lr.prototype;n.px=Jr.Js;n.qx=Jr.Ks;n.clone=function(){var a=new Lr(this.date);a.px=this.px;a.qx=this.qx;return a}; n.getFullYear=function(){return this.date.getFullYear()}; n.getYear=function(){return this.getFullYear()}; n.getMonth=function(){return this.date.getMonth()}; n.getDate=function(){return this.date.getDate()}; n.getTime=function(){return this.date.getTime()}; n.getDay=function(){return this.date.getDay()}; n.getUTCFullYear=function(){return this.date.getUTCFullYear()}; n.getUTCMonth=function(){return this.date.getUTCMonth()}; n.getUTCDate=function(){return this.date.getUTCDate()}; n.getUTCDay=function(){return this.date.getDay()}; n.getUTCHours=function(){return this.date.getUTCHours()}; n.getUTCMinutes=function(){return this.date.getUTCMinutes()}; n.getTimezoneOffset=function(){return this.date.getTimezoneOffset()}; n.set=function(a){this.date=new Date(a.getFullYear(),a.getMonth(),a.getDate())}; n.setFullYear=function(a){this.date.setFullYear(a)}; n.setYear=function(a){this.setFullYear(a)}; n.setMonth=function(a){this.date.setMonth(a)}; n.setDate=function(a){this.date.setDate(a)}; n.setTime=function(a){this.date.setTime(a)}; n.setUTCFullYear=function(a){this.date.setUTCFullYear(a)}; n.setUTCMonth=function(a){this.date.setUTCMonth(a)}; n.setUTCDate=function(a){this.date.setUTCDate(a)}; n.add=function(a){if(a.o||a.months){var b=this.getMonth()+a.months+12*a.o,c=this.getYear()+Math.floor(b/12);b%=12;0>b&&(b+=12);a:{switch(b){case 1:var e=0!=c%4||0==c%100&&0!=c%400?28:29;break a;case 5:case 8:case 10:case 3:e=30;break a}e=31}e=Math.min(e,this.getDate());this.setDate(1);this.setFullYear(c);this.setMonth(b);this.setDate(e)}a.days&&(c=this.getYear(),b=0=c?-1900:0,c=new Date(c,this.getMonth(),this.getDate(),12),a=new Date(c.getTime()+864E5*a.days),this.setDate(1),this.setFullYear(a.getFullYear()+ b),this.setMonth(a.getMonth()),this.setDate(a.getDate()),Nr(this,a.getDate()))}; function Or(a){var b=a.getFullYear(),c=0>b?"-":1E4c?"-":"+"];c=Math.abs(c);e.push(Math.floor(c/60)%100);c%=60;0!=c&&e.push(":",zh(c,2));c=e.join("")}b.ma=c;c=a;0==c?c="UTC":(e=["UTC",0>c?"+":"-"],c=Math.abs(c),e.push(Math.floor(c/60)%100),c%=60,0!=c&&e.push(":",c),c=e.join(""));a=$r(a);b.ka=[c,c];b.o={rK:a,Bw:a};b.ha=[];return b}b=new Yr;b.ma=a.id;b.na=-a.std_offset;b.ka=a.names;b.o=a.names_ext;b.ha=a.transitions;return b} function $r(a){var b=["GMT"];b.push(0>=a?"+":"-");a=Math.abs(a);b.push(zh(Math.floor(a/60)%100,2),":",zh(a%60,2));return b.join("")} function as(a,b){b=Date.UTC(b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate(),b.getUTCHours(),b.getUTCMinutes())/36E5;for(var c=0;c=a.ha[c];)c+=2;return 0==c?0:a.ha[c-1]} Yr.prototype.getOffset=function(a){a=this.na-as(this,a);return-1440===a?0:a}; Yr.prototype.getShortName=function(a){return this.ka[0b)var c=a.o.Es[b];else if(8>b)c=a.o.Cw[b-4];else if(12>b)c=a.o.Xz[b-8],c=c.replace("{1}",a.o.Es[b-8]),c=c.replace("{0}",a.o.Cw[b-8]);else if(12===b)c=a.o.Es[0].replace(/[^EMd]*yy*[^EMd]*/,"");else{ds(a,10);return}b=c;for(zfa&&(b=b.replace(/\u200f/g,""));b;){c=b;for(var e=0;e=f?String.fromCharCode(a.aC+f-48):b.charAt(e))}b=c.join("")}return b} var zfa=!1;function hs(a){if(!(a.getHours&&a.getSeconds&&a.getMinutes))throw Error("The date to format has no time (probably a goog.date.Date). Use Date or goog.date.DateTime, or use a pattern without time fields.");} function is(a,b){hs(b);b=fs(b);return a.o.Tz[12b?1:0]} function yfa(a,b,c,e,f,h){var k=b.length;switch(b.charAt(0)){case "G":return c=0c&&(c=-c),2==k&&(c%=100),gs(a,zh(c,k));case "Y":return c=e.getFullYear(),f=e.getMonth(),e=e.getDate(),c=Kr(c,f,e,a.o.Ks,a.o.Js),c=(new Date(c)).getFullYear(),0>c&&(c=-c),2==k&&(c%=100),gs(a,zh(c,k));case "M":a:switch(c=e.getMonth(),k){case 5:k=a.o.kB[c];break a;case 4:k=a.o.gB[c];break a;case 3:k=a.o.uB[c];break a;default:k=gs(a,zh(c+1,k))}return k; case "k":return hs(f),c=fs(f)||24,gs(a,zh(c,k));case "S":return c=f.getMilliseconds()/1E3,gs(a,c.toFixed(Math.min(3,k)).slice(2)+(3k?a.o.vB[c]:a.o.oB[c];case "d":return gs(a,zh(e.getDate(),k));case "m":return hs(f),gs(a,zh(f.getMinutes(),k));case "s":return hs(f),gs(a,zh(f.getSeconds(),k));case "v":return(h||Zr(c.getTimezoneOffset())).ma;case "V":a=h||Zr(c.getTimezoneOffset()); var l;2>=k?l=a.ma:l=0k?a.getShortName(c):a.ka[0k?(k=-e.getOffset(c),a=[0>k?"-": "+"],k=Math.abs(k),a.push(zh(Math.floor(k/60)%100,2),zh(k%60,2)),k=a.join("")):k=gs(a,$r(e.getOffset(c))),k;default:return""}} ;function js(a){var b=a.parent,c=a.result,e=a.rank,f=a.mb;a=a.ab;E.call(this,"sc.search.search_results_list.search_result.YoutubePreview");this.ha="true"===$g("MoltronSearchLoggerFeature__use_moltron_search_logger");this.ka=new yj({icon:"gm/event_available",size:18});this.oa=new yj({icon:"gm/visibility",size:18});this.o=new yj({icon:"gm/play_circle"});this.na="true"===$g("YoutubeSearchResultsPreviewFeature__show_youtube_search_results_reduced");this.result=c;this.rank=e;var h;null!=b?(c=b.getUrl()+ "#play=",e=null!=(h=x(this.result.o,5))?h:"",h=c+e):(h=new Map([["autoplay","1"]]),h=Pr(this.result.getUrl(),h,!0));this.url=h;var k;b=null!=(k=null==b?void 0:b.getTitle())?k:this.result.getTitle();k=ks(this);h=ls(this);this.ariaLabel=b+" (video content) published on "+k+" with "+h;this.mb=f;this.ab=a} w(js,E);js.prototype.content=function(){var a=this;this.element("a","aria-label",this.ariaLabel,"class","youtube-preview","href",this.url,"onclick",function(b){return Gq(b,function(){a.Ld(b.ctrlKey||b.shiftKey||b.metaKey)})},"onauxclick",function(b){return 1===b.button?Gq(b,function(){a.Ld(!0)}):!0},"onkeydown",function(b){return Hq(b,function(){a.Ld()})},function(){2===tg().rs?a.element("div","class","help-panel-container",function(){ms(a)}):ms(a)})}; js.prototype.Ld=function(a){a=void 0===a?!1:a;this.ha?ns(this.ab,Sr(this.result),this.url):os(this.mb,String(this.rank),Sr(this.result),this.url);Uk(8,"youtube_preview_click",136);Qp(this.url,{od:a})}; function ms(a){Afa(a);a.element("div","class","container",function(){a.element("div","class","title",a.result.getTitle());a.element("div","class","labels",function(){2===tg().rs?a.element("span","class","label-container",ks(a)+" \u2022 "+ls(a)):a.na||(Bfa(a),Cfa(a))})})} function Afa(a){a.element("div","class","thumbnail-container",function(){var b=a.element,c,e;var f=null!=(e=null==(c=tq(a.result.o))?void 0:c.getThumbnail())?e:"";b.call(a,"img","class","thumbnail","role","none","alt","","src",f);b=a.element;var h,k;f=null!=(k=null==(h=tq(a.result.o))?void 0:x(h,3))?k:0;h=f%60;b.call(a,"span","class","duration",Math.floor(f/60)+":"+(10>h?"0":"")+h);2===tg().rs&&a.element("span","class","preview-label","Preview");a.element("span","class","play",a.o)})} function Bfa(a){a.element("span","class","label-container",function(){a.ka.render();a.element("span","class","label",ks(a))})} function Cfa(a){a.element("span","class","label-container",function(){a.oa.render();a.element("span","class","label",ls(a))})} function ks(a){var b,c;a=null!=(c=null==(b=tq(a.result.o))?void 0:b.getTimestamp())?c:0;return 0===a?"":Dfa.format(new Date(a/1E3))} function ls(a){var b=Efa,c=b.format,e,f;a=null!=(f=null==(e=tq(a.result.o))?void 0:x(e,1))?f:0;return c.call(b,a)+" views"} var Efa=new $k(5),Dfa=new bs;var Ffa=new Map([[0,"gm/public"],[1,"gm/supervised_user_circle"],[2,"gm/question_answer"],[4,"gm/email"],[5,"gm/drive_document"],[6,"gm/language"]]),Gfa=new Map([[5,"Help article"],[2,"Community Post"],[3,"Troubleshooter"]]),Hfa=new Map([[5,"Check status"],[3,"Get started"]]);function ps(a){tj.call(this);this.o=a;var b;this.nextPageToken=null!=(b=x(this.o,7))?b:"";this.results=Rd(this.o,sq,1).map(function(c){return new Qr(c)})} w(ps,tj);ps.prototype.vc=function(){return this.results}; ps.prototype.Kc=function(){return Rd(this.o,sq,6).map(function(a){return new Qr(a)})}; ps.prototype.mf=function(){var a;return null!=(a=this.o.mf())?a:""}; ps.prototype.Ec=function(){return this.o.Ec()?this.o.Ec():0a.vc().length} ;function ts(a){tj.call(this);this.metadata=a} w(ts,tj);function us(a){var b;return null!=(b=a.metadata.Vy)?b:""} function vs(a){var b;return null!=(b=a.metadata.searchFlowId)?b:""} ts.prototype.getStartIndex=function(){var a,b;return null!=(b=null==(a=this.metadata.searchQuery)?void 0:a.getStartIndex())?b:0}; ts.prototype.getQuery=function(){var a,b;return null!=(b=null==(a=this.metadata.searchQuery)?void 0:a.getQuery())?b:""};function ws(a){z.call(this,a)} w(ws,z);ws.prototype.getType=function(){return Ed(this,1,0)}; ws.prototype.setType=function(a){return y(this,1,a)}; ws.prototype.getId=function(){return Yd(this,2)}; ws.prototype.setId=function(a){return y(this,2,a)};function xs(a){z.call(this,a)} w(xs,z);function ys(a){var b=new xs;return y(b,1,a)} ;function zs(a){z.call(this,a)} w(zs,z);var As=[2,3,4,5,6,7,8,9];function Bs(a){z.call(this,a)} w(Bs,z);Bs.prototype.getUrl=function(){return Yd(this,1)}; Bs.prototype.setUrl=function(a){return y(this,1,a)}; Bs.prototype.getTitle=function(){return Yd(this,2)}; Bs.prototype.setTitle=function(a){return y(this,2,a)};function Cs(a){z.call(this,a)} w(Cs,z);function Ds(a){z.call(this,a)} w(Ds,z);Ds.prototype.Yg=function(){return Yd(this,1)}; function Es(a,b){return y(a,1,b)} Ds.prototype.getTimestamp=function(){return Pd(this,Sk,2)}; Ds.prototype.setTimestamp=function(a){return Sd(this,Sk,2,a)}; function Fs(a,b){return y(a,3,b)} function Gs(a,b){return y(a,5,b)} function Hs(a,b){return Sd(a,zs,6,b)} function Is(a,b){return Sd(a,Bs,7,b)} function Js(a,b){return Sd(a,Cs,8,b)} ;function Ks(a){z.call(this,a,-1,Ifa)} w(Ks,z);var Ifa=[1];function Ls(a){z.call(this,a)} w(Ls,z);Ls.prototype.getStatus=function(){return Ed(this,2,0)}; Ls.prototype.getErrorMessage=function(){return Yd(this,3)}; Ls.prototype.setErrorMessage=function(a){return y(this,3,a)};function Ms(a){z.call(this,a,-1,Jfa)} w(Ms,z);var Jfa=[2];function Ns(a){z.call(this,a)} w(Ns,z);function Os(a){a=void 0===a?{}:a;this.qk=new (void 0===a.ZG?Kk:a.ZG)({Vf:tg().mld+"/v1",serviceName:"MoltronLoggingService"})} function Ps(a,b,c,e){e=void 0===e?{}:e;var f=e.ZK,h=e.rC,k,l,p;Ya(function(r){if(!b||!c)return r.return();k=new Ds;Es(k,b);k.setTimestamp((new Sk).setSeconds(Math.floor(Date.now()/1E3)));Fs(k,c);Gs(k,3);if(f||h){l=new zs;if(f){var u=ys(1);p=y(u,2,f);Td(l,xs,3,As,p)}h&&y(l,10,!0);Hs(k,l)}return Ma(r,Qs(a,k),0)})} function Rs(a,b,c,e){var f=(void 0===e?{Sx:!1}:e).Sx,h,k,l,p,r,u;Ya(function(A){if(!b)return A.return();h=[];k=t(c);for(l=k.next();!l.done;l=k.next())if(p=l.value)r=new Ds,Es(r,b),r.setTimestamp((new Sk).setSeconds(Math.floor(Date.now()/1E3))),Fs(r,p),Gs(r,1),f&&(u=new zs,y(u,1,3),Hs(r,u)),h.push(r);return Ma(A,Kfa(a,h),0)})} function Ss(a,b){var c,e;Ya(function(f){if(!b)return f.return();c=new Ds;Es(c,b);c.setTimestamp((new Sk).setSeconds(Math.floor(Date.now()/1E3)));e=new ws;e.setType(3);e.setId("other");Sd(c,ws,4,e);Gs(c,3);return Ma(f,Qs(a,c),0)})} function Qs(a,b,c){c=void 0===c?!1:c;var e,f,h,k;return Ya(function(l){if(1==l.o)return e=new Ns,Sd(e,Ds,1,b),f={query:{key:tg().mkey}},c&&tg().li&&(h="",(k=(tg().ge||"").toLowerCase())&&(h=gp([{key:"e",value:k}])),!h&&tg().auth_token&&(h=tg().auth_token,h.startsWith("OAuth")&&delete f.query.key),h&&(f.withCredentials=!0,f.headers={Authorization:h})),Pa(l,2),Ma(l,a.qk.post("log-moltron-interaction",e,Ls,f),4);if(2!=l.o)return Qa(l,0);Ra(l);Na(l)})} function Kfa(a,b){var c;return Ya(function(e){if(1==e.o)return c=new Ks,Ud(c,Ds,1,b),Pa(e,2),Ma(e,a.qk.post("log-batch-moltron-interaction",c,Ms,{query:{key:tg().mkey}}),4);if(2!=e.o)return Qa(e,0);Ra(e);Na(e)})} ;function Ts(a,b,c,e){Os.call(this);this.predictionId=a;this.o=b;this.dymTrackingId=c;this.sessionId=e} w(Ts,Os);function Us(a){var b,c;Ya(function(e){b=Vs();Es(b,a.predictionId);Gs(b,1);c=new Cs;y(c,1,a.o?3:1);y(c,2,a.sessionId);Js(b,c);return Ma(e,Qs(a,b,!0),0)})} function ns(a,b,c){var e,f,h;Ya(function(k){e=Vs();Es(e,a.predictionId);Fs(e,b);Gs(e,3);f=new Cs;y(f,1,a.o?4:2);y(f,2,a.sessionId);Js(e,f);h=new Bs;h.setUrl(c);Is(e,h);return Ma(k,Qs(a,e,!0),0)})} Ts.prototype.nk=function(a,b){var c=this,e;return Ya(function(f){e=Ws(c,a,4,b);return Ma(f,Qs(c,e,!0),0)})}; function Ws(a,b,c,e){var f=Vs();Es(f,a.predictionId);Fs(f,b);Gs(f,3);e&&(b=new Bs,b.setUrl(e),Is(f,b));e=new Cs;y(e,1,c);y(e,2,a.sessionId);Js(f,e);return f} function Vs(){var a=new Ds;a.setTimestamp((new Sk).setSeconds(Math.floor(Date.now()/1E3)));return a} ;function Xs(a,b,c,e,f,h,k){this.context=a;this.dymTrackingId=b;this.flow=c;this.ha=e;this.query=f;this.requestId=h;this.sessionId=k;this.o=new Cp(!0)} function Ys(a,b){a.o.Fr(a.sessionId,a.requestId,b,a.query,a.flow,a.ha,a.context,a.dymTrackingId)} function os(a,b,c,e){a.o.bm(a.query,a.sessionId,b,c,a.requestId,e,a.flow,a.context,a.ha)} Xs.prototype.nk=function(a,b,c){this.o.nk(this.sessionId,this.requestId,a,b,c)};var Lfa=za(["aria-"]),Mfa=za(["role"]),Nfa=za(["data-stats-"]);function Zs(a){this.o=a||document} Zs.prototype.init=function(){for(var a=this,b=this.o.querySelectorAll(".zippy"),c={},e=0;ea.limit} function pt(a){if(mt(a)){a.o=!a.o;a.Ba();var b=a.o;Uk(b?2:3,a.helpcenterName+"_symptoms_view_"+(b?"more":"less"),b?96:97)}} function ot(a,b){Uk(35,a.helpcenterName+"_symptoms_click_"+x(b,1)+(b.getActive()?"_active":""),98);b.getActive()||(a=a.getURL(b).split("?"),b="?"+a[1],b=Sp(b),Qp(""+a[0]+b))} ;function qt(a){this.o=a;this.ma=this.va=null;this.ha=[];this.oa=document.createElement("input");this.ua=this.na=-1;this.La=this.eo.bind(this);this.Fa=this.cv.bind(this);this.Ja=this.Aa=this.Ca=0;this.ta=!1;this.Ha=0;this.Ea=new uk;Wfa(this)} function Wfa(a){a.ka=document.createElement("div");a.ka.className=a.o.className;og(a.ka,"sc-select",!0);a.ka.setAttribute("tabindex",0);a.ka.setAttribute("aria-expanded",!1);a.ka.setAttribute("aria-haspopup","listbox");a.ka.setAttribute("role","listbox");a.ka.addEventListener("mousedown",function(e){qg(this.ma,"sc-select-show")?e.target==this.ma||this.ma.contains(e.target)||this.eo():0==e.button&&rt(this)}.bind(a)); a.ka.addEventListener("keydown",a.gA.bind(a));a.va=document.createElement("span");a.ka.appendChild(a.va);var b=document.createElementNS("http://www.w3.org/2000/svg","svg");b.setAttribute("viewBox","0 0 48 48");var c=document.createElementNS("http://www.w3.org/2000/svg","path");c.setAttribute("d","M14 20l10 10 10-10z");b.appendChild(c);a.ka.appendChild(b);a.ma=document.createElement("ol");a.ma.setAttribute("role","listbox");a.ma.addEventListener("mousemove",function(){this.ta=!0}.bind(a)); a.ma.addEventListener("scroll",function(){0a-1?this.ha.length-1:a-1;b!=a&&!vt(this,b);)b=0>b-1?this.ha.length-1:b-1;a=b}tt(this,a);this.ha[a].focus();this.ka.setAttribute("aria-activedescendant", this.ha[a].id);wt(this);break;case 40:a.preventDefault();qg(this.ma,"sc-select-show")||rt(this);a=this.na;if(0===this.ha.length)a=-1;else{for(b=(a+1)%this.ha.length;b!=a&&!vt(this,b);)b=(b+1)%this.ha.length;a=b}tt(this,a);this.ha[a].focus();this.ka.setAttribute("aria-activedescendant",this.ha[a].id);wt(this)}}; function wt(a){if(-1!=a.na){var b=a.ha[a.na];b.offsetTopa.ma.scrollTop+a.ma.offsetHeight&&(a.ta=!1,a.ma.scrollTop=b.offsetTop+b.offsetHeight-a.ma.offsetHeight)}} function ut(a){var b=a.o.getAttribute("aria-label")||"";b&&(-1!==a.o.selectedIndex&&(b+=" ("+a.o[a.o.selectedIndex].innerText+")"),a.ka.setAttribute("aria-label",b))} n.dispose=function(){this.ka&&Mh(this.ka);this.ma=this.va=this.ka=null;this.ha=[]}; window.sc_initSelects=function(){for(var a=t((window.sc_scope||document).getElementsByTagName("select")),b=a.next();!b.done;b=a.next())b=b.value,"true"!==b.dataset.exclude&&new qt(b)};var xt=new Map([[1,"smart_button_event_handshake"],[2,"smart_button_event_execute"],[3,"smart_button_event_state_update"],[4,"smart_button_event_initialized"],[5,"smart_button_event_describe_buttons"],[6,"smart_button_event_rendered"]]);function yt(){var a=this;this.o=function(){}; this.ha=function(b){if("detail"in b){b=de(nq,b.detail.action);var c,e;if(null==(c=Pd(b,kq,1))?0:null==(e=lq(c))?0:10===Od(e,rq)){var f,h,k=null==(f=Pd(b,kq,1))?void 0:null==(h=lq(f))?void 0:Zd(h,10,rq);k&&a.ma(k)}else{var l,p;if(null==(l=Pd(b,kq,1))?0:null==(p=lq(l))?0:zd(p,17,rq)){var r;if(f=null==(k=Pd(b,kq,1))?void 0:null==(r=lq(k))?void 0:$d(r,oq,17,rq))h=x(f,2),f=x(f,1),h&&f&&a.ma("/"+h+"/workflow/"+f)}}}}; this.ka=function(){var b=xt.get(1);b=new CustomEvent(b,{bubbles:!0,cancelable:!0});window.document.body.dispatchEvent(b)}; this.ma=function(b){Qp(b,{od:!0})}; window.document.body.addEventListener(xt.get(6),this.ka);window.document.body.addEventListener(xt.get(5),this.o);window.document.body.addEventListener(xt.get(2),this.ha)} var zt;function At(){void 0===zt&&(zt=new yt)} yt.prototype.dispose=function(){window.document.body.removeEventListener(xt.get(2),this.ha);window.document.body.removeEventListener(xt.get(6),this.ka);window.document.body.removeEventListener(xt.get(5),this.o)}; window.sc_initSmartButtonController=function(){At()};function Bt(a,b){a=void 0===a?95:a;b=void 0===b?133:b;E.call(this,"sc.shared.ErrorSvg");this.o=new Ko("error_computer.svg");this.height=a;this.width=b} w(Bt,E);Bt.prototype.content=function(){var a=this;this.element("div","style",{width:this.width+"px",height:this.height+"px"},function(){a.o.render()})};function Ct(a){this.ha=a;this.o=null} Ct.prototype.Te=function(a){var b=this;null===this.o&&(this.o=setTimeout(function(){null!==b.o&&(b.o=null,b.ha())},a))};function Dt(){var a=this;this.ma=function(b){if(!("detail"in b))throw Error("Invalid event type received for state update. Expected CustomEvent.");if(void 0===a.ha)throw Error("No state update callback was provided.");b=de(iq,b.detail);a.ha(b)}} n=Dt.prototype;n.sendInitCompleteEvent=function(){console.log("[Smart Buttons] Broadcasting init");Et(4)}; n.sendButtonAction=function(a,b){a={action:null==a?void 0:ce(a),buttonClientRect:b};Et(2,a)}; n.sendDescribeEvent=function(a){var b=new qq;a=t(a);for(var c=a.next();!c.done;c=a.next())Vd(b,1,pq,c.value);b={action:ce(b),buttonClientRect:void 0};Et(5,b)}; n.sendButtonsRenderedEvent=function(){Et(6)}; n.initHandshakeListener=function(a){this.o=a;window.document.body.addEventListener(xt.get(1),this.o)}; n.initStateUpdateListener=function(a){this.ha=a;window.document.body.addEventListener(xt.get(3),this.ma)}; n.dispose=function(){window.document.body.removeEventListener(xt.get(3),this.ma);this.o&&window.document.body.removeEventListener(xt.get(1),this.o)}; function Et(a,b){a=xt.get(a);var c=new CustomEvent(a,{bubbles:!0,cancelable:!0,detail:b});console.log("[Smart Buttons] Broadcasting event "+a);console.log(b);window.document.body.dispatchEvent(c)} ;Object.keys({MI:0,JI:1,zI:2,HI:3,DI:4,II:5,EI:6});function Jt(a,b){this.o=a;this.metadata=b} Jt.prototype.Mc=function(a){this.o(a)}; function Kt(){var a=this;this.ha=new Map;this.ma=function(){a.o.sendButtonsRenderedEvent()}; this.o=new Dt;Yfa(this)} var Lt;function Mt(){if(Lt&&!Nt)return Lt;Lt=new Kt;Nt=!1;var a=Lt;a.o.initHandshakeListener(a.na.bind(a));a.o.initStateUpdateListener(a.ka.bind(a));a.o.sendInitCompleteEvent();return Lt} function Zfa(a,b,c,e){if(""===b)throw Error("Smart Button guid key is empty");a.ha.has(b)||a.ha.set(b,new Jt(e,c))} Kt.prototype.ka=function(a){var b,c=null!=(b=x(a,5))?b:"";if(!this.ha.has(c))throw Error("Smart Button guid key "+c+" does not exist. Cannot update state.");var e;null==(e=this.ha.get(c))||e.Mc(a)}; Kt.prototype.na=function(){console.log("[Smart Buttons] Received Handshake");var a=[];this.ha.forEach(function(b){a.push(b.metadata)}); this.o.sendDescribeEvent(a)}; Kt.prototype.dispose=function(){this.o.dispose();this.ha.clear();var a;null==(a=cj().querySelector(".workflow"))||a.removeEventListener("dynamicFormRendered",this.ma)}; function Yfa(a){var b;null==(b=cj().querySelector(".workflow"))||b.addEventListener("dynamicFormRendered",a.ma)} var Nt=!1;function Ot(a){var b=a.buttonTitle,c=a.contentId,e=a.helpcenterName,f=a.xg;a=void 0===a.Mr?!0:a.Mr;E.call(this,"sc.smart_button.FatalErrorButton");this.o=new Bt;this.buttonTitle=b;this.contentId=c;this.helpcenterName=e;this.xg=f;this.Mr=a} w(Ot,E);Ot.prototype.content=function(){var a=this;this.element("div","class","^no-margin root",function(){a.element("div","class","^no-margin content",function(){a.o.render()}); a.element("div","class","^no-margin content",function(){a.element("div","class","^no-margin title","Hmm... something went wrong.");a.element("div","class","^no-margin error","The smart button requested did not load. Please complete actions manually.");a.Mr&&a.element("div","class","^no-margin feedback-link",a.xg);a.element("div","class","^no-margin detail",function(){""!==a.buttonTitle&&a.element("div","class","^no-margin",(new rl("The button title is {buttonTitle}.")).format({buttonTitle:a.buttonTitle})); a.element("div","class","^no-margin",(new rl("The content ID is {contentId}.")).format({contentId:a.contentId}));a.element("div","class","^no-margin",(new rl("The help center name is {helpcenterName}.")).format({helpcenterName:a.helpcenterName}))})})}); $fa(this)}; function $fa(a){var b,c;null==(c=(b=window).sc_trackStatsImpressions)||c.call(b,[{type:99,id:a.contentId+"_button_"+a.buttonTitle}],!0)} ;var Pt=new Map([[1,"good"],[2,"error"]]);function Qt(){E.call(this,"sc.smart_button.Icon");this.o=!1} w(Qt,E);function Rt(a,b,c,e){a.ha=b;a.state=c;a.o=void 0===e?!1:e} Qt.prototype.content=function(){var a=this;if(void 0!==this.ha&&void 0!==this.state&&void 0!==this.o&&0!==this.state){var b={"^no-margin":!0,icon:!0,state:!this.o,"heading-icon":this.o},c=Pt.get(this.state);Pt.has(this.state)&&(b[c]=!0);var e="";"good"===c?e="Success icon":"error"===c&&(e="Failure icon");this.element("div","class",b,"aria-label",""!==e?e:null,function(){var f;null==(f=a.ha)||f.render()})}};function St(a){E.call(this,"sc.smart_button.SendFeedbackLink");var b=this;this.buttonTitle=a;this.o=function(){Tt(b)}; this.ha=function(c){"key"in c&&(" "===c.key||"Enter"===c.key)&&Tt(b)}} w(St,E);St.prototype.content=function(){this.anchor=this.element("a","href","#","class","^no-margin link","Send feedback");var a;null==(a=this.anchor)||a.addEventListener("click",this.o);var b;null==(b=this.anchor)||b.addEventListener("keydown",this.ha)}; St.prototype.dispose=function(){var a;null==(a=this.anchor)||a.removeEventListener("click",this.o);var b;null==(b=this.anchor)||b.removeEventListener("keydown",this.ha)}; function Tt(a){var b=ko();b.set("smart_button_title",a.buttonTitle);io({payload:b,productId:Number(tg().fbid)})} ;function Ut(a){return 2===(null==a?void 0:x(a,3))} function Vt(a){return 1===(null==a?void 0:x(a,3))} function aga(a){a=null==a?void 0:Rd(a,jq,1);if(void 0===a)return!1;a=t(a);for(var b=a.next();!b.done;b=a.next())if(Wt(b.value))return!0;return!1} function Xt(a){a=Yt(a);if(0===a.length)return!1;a=t(a);for(var b=a.next();!b.done;b=a.next())if(!Wt(b.value))return!1;return!0} function Yt(a){return void 0===a?[]:(null==a?void 0:Rd(a,jq,1))||[]} function Wt(a){return void 0!==a&&xd(a,1)&&0!==x(a,1)} function Zt(a){return void 0!==a&&xd(a,1)&&1===x(a,1)} function $t(a){return void 0!==a&&xd(a,1)&&2===x(a,1)} function bga(a){return a.filter(function(b){return $t(b)})} ;function au(a,b){b=void 0===b?!1:b;E.call(this,"sc.smart_button.StateHeading");this.xg=a;this.Hh=b;this.na=[];this.headingState=0;this.icon=new Qt} w(au,E);au.prototype.content=function(){var a;!(Ut(this.o)||Vt(this.o)||(null==(a=this.o)?0:a.getHeading())||Xt(this.o))||cga(this)}; au.prototype.Mc=function(a){this.o=a;this.na=Yt(this.o);if(Ut(this.o))this.headingState=2;else if(Vt(this.o))this.headingState=1;else if(0=vu} function wu(a,b,c,e,f,h,k,l){this.rank=a;this.ma=b;this.o=c;this.ka=e;this.ha=f;this.icon=h;this.label=void 0===k?"":k;this.description=void 0===l?"":l} function uu(a){switch(a){case 0:return xu;case 30:return yu;case 1:return zu;case 2:return vu;case 3:return Au;case 4:return Bu;case 5:return Cu;case 20:return Du;case 10:return Eu;case 100:return Fu;default:return xu}} n=wu.prototype;n.valueOf=function(){return this.rank}; n.getColor=function(){return Kq().zi?this.o:this.ma}; n.we=function(){return this.icon}; n.getLabel=function(){return this.label}; n.getDescription=function(){return this.description}; var xu=new wu(0,"#F1F3F4","#F1F3F4"),yu=new wu(1,"#F1F3F4","#F1F3F4","#0F9D58","#C4EED0",2,"Product Expert Alumni","Former Product Experts who are no longer members of the program"),zu=new wu(2,"#896E63","#896E63","#896E63","#B9ABA3",3,"Bronze Member","Community members with growing product knowledge who help other Google users by answers questions"),vu=new wu(3,"#9E9E9E","#9E9E9E","#5F6368","#C4C7C5",4,"Silver Product Expert","Community members with intermediate product knowledge who help other Google users by answering questions"), Au=new wu(4,"#FFB300","#F9AB00","#E37400","#F09D00",5,"Gold Product Expert","Community members with in-depth product knowledge who help other Google users by answering questions"),Bu=new wu(5,"#77909D","#718792","#455A64","#E3E3E3",6,"Platinum Product Expert","Community members with advanced product knowledge who help other Google users and Product Experts "),Cu=new wu(6,"#79A8FA","#79A8FA","#1A73E8","#A8C7FA",7,"Diamond Product Expert","Community members with product mastery who help other Google users and Product Experts"), Du=new wu(7,"#4285F4","#669DF6","#1A73E8","#A8C7FA",8,"Community Specialist","Google partners who help ensure the quality of community content"),Eu=new wu(8,"#4285F4","#669DF6","#1A73E8","#A8C7FA",9,"Community Manager"),Fu=new wu(9,"#4285F4","#669DF6","#1A73E8","#A8C7FA",9,"Google Employee","Google product team members and community managers");function Gu(a){z.call(this,a,-1,sga)} w(Gu,z);Gu.prototype.getTitle=function(){return x(this,1)}; Gu.prototype.setTitle=function(a){return y(this,1,a)}; Gu.prototype.Kb=function(){return x(this,2)}; Gu.prototype.Lc=function(a){return y(this,2,a)}; var sga=[3];function Hu(a){z.call(this,a)} w(Hu,z);function Iu(a){z.call(this,a)} w(Iu,z);function Ju(a){z.call(this,a,-1,tga)} w(Ju,z);var tga=[1];function Ku(a){z.call(this,a)} w(Ku,z);Ku.prototype.getQuery=function(){return x(this,1)}; Ku.prototype.setQuery=function(a){return y(this,1,a)};function Lu(a){z.call(this,a,-1,uga)} w(Lu,z);var uga=[1];function Mu(a){var b=a.items,c=a.messages,e=void 0===a.Sh?void 0:a.Sh,f=void 0===a.Qb?1:a.Qb,h=void 0===a.Ob?4:a.Ob;a=a.onClose;E.call(this,"hcfe.SearchSelect.Menu");var k=this;this.na=this.ha=!1;this.Sh=e;this.items=b;this.messages=c;this.Jo=-Infinity;this.Io=Infinity;this.ka=new Ml({content:function(){vga(k)}, rh:4,Qb:f,Ob:h,zj:!0,onClose:a})} w(Mu,E);n=Mu.prototype;n.content=function(){this.ka.render()}; function vga(a){a.element("div","class",{root:!0,"root-loading":a.ha},function(){a.na&&a.element("div","class","search-container",function(){a.element("div","class","input-container",function(){a.oa=a.element("input","class","search-field","placeholder",a.messages.bz,"oninput",function(){var b;null==(b=a.Sh)||b.call(a)},"disabled",a.ha)}); a.element("div","class","icon","onclick",function(){var b;null==(b=a.oa)||b.focus()},function(){null!=a.ta||(a.ta=new yj({icon:"gm/search"})); a.ta.render()})}); a.element("div","class","scroll-container","style",{minHeight:-Infinitya.Io?a.Io+"px":null},function(){a.ha&&a.element("div","class","loading-spinner",function(){(new Kl({size:"mspin-small"})).render()}); if(0a&&Infinity!==a&&(a=h);this.Jo=h;this.Io=a;this.Ba();this.ka.open({anchor:b,Rd:c,Gd:e,Fb:f})}; n.close=function(){this.ka.close()}; function zga(a){return!!a.Wi&&Array.isArray(a.items)&&0b.length){f=[{state:5}];a.Aa.set("",f);p.Qa(4);break}a.o.yf(!0);a.o.open({Fb:!0});Pa(p,5);return Ma(p,a.Oc(b.trim(),a.Pb),7);case 7:f=p.ha;0===f.length&&(f=[{state:4}]);a.o.yf(!1);Qa(p,4);break;case 5:h=Ra(p),f=[{state:3}],a.o.yf(!1),a.o.open({Fb:!0}), gv(h);case 4:return a.Aa.set("",f),k=a.o,l=k.xh,Ma(p,av(a,!0),8);case 8:l.call(k,p.ha),a.o.Ba(),a.o.open({Fb:!0}),Na(p)}})} function Iga(a,b){return function(){a.oa=b;a.o.close();a.ua&&a.ua()}} Wu.prototype.getValues=function(){for(var a=[],b=t(this.ha.keys()),c=b.next();!c.done;c=b.next()){(c=c.value)&&!a.includes(c)&&a.push(c);c=t(this.ha.get(c));for(var e=c.next();!e.done;e=c.next())(e=e.value.Uc)&&!a.includes(e)&&a.push(e)}return a}; function cv(a,b){var c,e;return Ya(function(f){if(1==f.o)return Pa(f,2),Ma(f,a.Ib(b,a.Pb),4);if(2!=f.o){c=f.ha;if(!c||0==c.length)return hv(a,b,Error("No results")),f.return();a.ha.set(b,c);return Qa(f,0)}e=Ra(f);hv(a,b,e);Na(f)})} function hv(a,b,c){a.ha.set(b,[{state:2}]);a.Va&&a.ta&&(a.ta=!1,a.Va(c),Yu(a));gv(c)} function Yu(a){a.ka=new vo({placeholder:a.Ze,Xb:!0,Bd:function(){a.na=a.ka.getText().replace(Vu,"");a.Sc()}, ariaRequired:a.ub})} function gv(a){a=new CustomEvent("cid_selector_fetch_error",{detail:a});cj().dispatchEvent(a)} function Xu(a){a.Aa.clear();a.Aa.set("",[bv()])} function bv(){return{value:"",trigger:function(){}, items:[],state:0}} ;function iv(a){tj.call(this);this.ariaLabel=this.text="";this.checked=this.disabled=!1;this.tabIndex=0;this.je(a)} w(iv,tj);n=iv.prototype;n.je=function(a){var b=void 0===a.text?"":a.text,c=void 0===a.ariaLabel?"":a.ariaLabel,e=void 0===a.disabled?!1:a.disabled,f=void 0===a.tabIndex?0:a.tabIndex,h=a.content,k=a.vd;this.checked=void 0===a.checked?!1:a.checked;this.text=b;this.ariaLabel=c;this.disabled=e;this.tabIndex=f;this.content=h;this.vd=k}; n.getText=function(){return this.text}; n.getContent=function(){return this.content}; n.ue=function(){return this.ariaLabel}; n.isChecked=function(){return this.checked}; function jv(a,b){if(a.isChecked()!==b){a.checked=b;var c;null==(c=a.vd)||c.call(a,b);a.wa(0)}} ;function kv(a){a=void 0===a?{}:a;E.call(this,"sc.shared.MaterialCheckbox");this.model=a instanceof iv?a:new iv(a);this.overlay=new zj({Uk:!0});this.o=null;this.watch(this.model)} w(kv,E);kv.prototype.content=function(a){var b=this;a&&this.model.je(a);this.element("label","class",{root:!0,disabled:this.model.disabled},function(){b.element("div","class","touch-target",function(){b.element("div","class","checkbox",function(){b.o=b.element("input","class","native-control","type","checkbox","aria-label",b.model.ue(),"tabindex",b.model.tabIndex,"disabled",b.model.disabled,"onchange",function(){b.onChange()}); b.o.checked=!0===b.model.isChecked();b.o.indeterminate=null===b.model.isChecked();b.element("div","class","box",function(){b.element("svg","class","checkmark","viewBox","0 0 24 24",function(){b.element("path","class","checkmark-path","d","M1.73,12.91 8.1,19.28 22.79,4.59")}); b.element("div","class","mixedmark")}); b.overlay.render()})}); var c=b.model.getText(),e=b.model.getContent();c?bj(c):e&&e()})}; kv.prototype.onChange=function(){this.o&&jv(this.model,this.o.checked)}; kv.prototype.isChecked=function(){return this.model.isChecked()};var lv={item:!0,highlight:!0,"item-top-separator":!1,"item-bottom-separator":!1,"item-with-description":!1},mv=Object.assign({},lv),nv=Object.assign({},lv,{highlight:!1}),Mga={DEFAULT:lv,HELPCENTER_FIELD_SELECT:mv,HELPCENTER_FIELD_SELECT_WITH_DESCRIPTION:Object.assign({},mv,{"item-with-description":!0}),MULTI_SELECT:nv,MULTI_SELECT_WITH_SEPARATOR:Object.assign({},nv,{"item-top-separator":!0}),WITH_BOTTOM_SEPARATOR:Object.assign({},lv,{"item-bottom-separator":!0})}; function ov(a){var b=a.items,c=void 0===a.Qb?5:a.Qb,e=void 0===a.Ob?5:a.Ob,f=void 0===a.fj?0:a.fj,h=void 0===a.rh?0:a.rh,k=a.onClose,l=void 0===a.maxHeight?void 0:a.maxHeight,p=a.width,r=void 0===a.pr?!1:a.pr,u=void 0===a.bq?!0:a.bq;a=void 0===a.tc?"px":a.tc;E.call(this,"sc.shared.MaterialMenu");var A=this;this.items=b;this.maxHeight=l;this.width=p&&u?Math.max(112,Math.min(280,p)):p;this.pr=r;this.bq=u;this.tc=a;this.o=new Ml({content:function(){return void Nga(A)}, Qb:c,Ob:e,fj:f,rh:h,zj:!0,onClose:k,Ak:!0,tc:this.tc})} w(ov,E);n=ov.prototype;n.setWidth=function(a){this.width=this.bq?Math.max(112,Math.min(280,a)):a;this.Ba()}; n.content=function(){this.o.render()}; function Nga(a){var b=void 0!==a.width?"px"===a.tc?a.width:(a.width/16).toFixed(2):null;b=b?""+b+a.tc:null;a.element("div","role","listbox","tabindex","-1","aria-expanded",a.o.Cb(),"class",{root:!0,"omit-top-rounded-corners":a.pr},"style",Object.assign({},{width:b},a.maxHeight?{maxHeight:a.maxHeight,overflowY:"auto"}:void 0),function(){a.Wi(a.items,0)})} n.Wi=function(a,b){var c=this,e={};a=t(a);for(var f=a.next();!f.done;e={hd:e.hd},f=a.next())if(e.hd=f.value,!e.hd.Cd||e.hd.Cd())f=this.element("div",function(h){return function(){var k;c.element("button","type","button","role","option","class",Mga[h.hd.ko||"DEFAULT"],"disabled",null!=(k=h.hd.disabled)?k:null,"data-item-id",void 0!==h.hd.itemId?h.hd.itemId:"","onclick",function(){h.hd.trigger()},function(){h.hd.icon&&Oga(c,h.hd.icon,h.hd.qg); c.element("span","class","item-label","style",{"padding-left":5*b+"px"},function(){switch(typeof h.hd.value){case "string":ij(h.hd.value);break;case "function":h.hd.value()}})})}}(e)),e.hd.tooltipText&&(new zo({text:e.hd.tooltipText, trigger:f})).render(),e.hd.Wi&&Array.isArray(e.hd.items)&&0");tj.prototype.onChange.call(this,function(){wv(e,a)})}else{var f="Notifying "+(null!=c?c:""); tj.prototype.onChange.call(this,a,function(){wv(f,b)})}}; n.wa=function(a){var b=this,c;wv(this.oa+" sent "+(null!=(c=this.Fa[a])?c:"UNKNOWN"),function(){return void tj.prototype.wa.call(b,a)})};var Sga=new Map([[5,"CHECKBOX"],[3,"CID_SELECTOR"],[4,"GMB_LISTING_SELECTOR"],[1,"HIDDEN"],[2,"SELECT"]]);function yv(a,b){var c=a.Sn(),e=b.Sn();if(c&&e)return Tga(c,e);c=a.Xn();e=b.Xn();if(c&&e)return c.Le()!==e.Le()?!1:!c.Kx()&&!c.Lx()||!e.Kx()&&!e.Lx()?!0:c.getContactType()!==e.getContactType()||c.Zt()!==e.Zt()?!1:!0;a=a.Yn();b=b.Yn();return a&&b?a.Le()!==b.Le()?!1:!0:!1} function Tga(a,b){a=a.ma();if(!a)return!1;var c=b.ma();return c?a.some(function(e){return c.some(function(f){return e.Le()!==f.Le()?!1:!e.rw()&&!e.sw()||!f.rw()&&!f.sw()?!0:e.Ps()!==f.Ps()||e.Qs()!==f.Qs()?!1:!0})}):!1} ;var Uga=za(["https://www.google.com/recaptcha/api.js?trustedtypes=true&render=explicit&onload=",""]);function zv(a,b,c){this.o=c;this.clientId=0;this.load(a,void 0===b?function(){}:b)} zv.prototype.load=function(a,b){var c=this;window.sc_renderRecaptcha=function(){window.grecaptcha&&a&&(c.clientId=window.grecaptcha.render(a,{sitekey:"6LcN-4saAAAAAGOz10SCh-KHThAjGiUum6B9HVft",badge:"inline",size:"invisible"}),b())}; var e=document.createElement("script");Jf(e,Yf(Uga,"sc_renderRecaptcha"));document.head.appendChild(e)}; zv.prototype.getResponse=function(){var a=this,b,c;return Ya(function(e){switch(e.o){case 1:if(!window.grecaptcha)return e.return("");b=window.grecaptcha;Pa(e,2);return Ma(e,new Promise(function(f){b.ready(f)}),4); case 4:return Ma(e,b.execute(a.clientId,{action:a.o||"submit"}),5);case 5:return c=e.ha,e.return(c||"");case 2:return Ra(e),e.return("")}})};var Av={};var Vga={oJ:0,iw:1,0:"FIELDS_CREATED",1:"FIELD_VALUES"};function Bv(a){xv.call(this,void 0===a?"HelpcenterFields":a,Vga);this.complete=!1;this.ld=""} w(Bv,xv);Bv.prototype.yb=function(){return this.complete}; Bv.prototype.kc=function(a,b){function c(p){return a?!!p.getId():p.yb()} function e(p){return p.Kd()} b=Cv(this,b);if(null==b||!b.length)return[];var f,h=null!=(f=b.filter(function(p){return p.placements.some(function(r){return r.nE()})}).map(e).filter(c))?f:[],k; h=h.concat(null!=(k=b.filter(function(p){return p.placements.some(function(r){return r.wE()})}).map(e).filter(c))?k:[]); var l;return h.concat(null!=(l=null==b?void 0:b.filter(function(p){return p.placements.some(function(r){return r.xE()})}).map(e).filter(c))?l:[])}; function Cv(a,b){var c;return null==(c=a.o)?void 0:c.filter(function(e){if(!e.isValid())return!1;var f=e.placements;return f.length?null!=b&&b.length?b.some(function(h){return f.some(function(k){return yv(h,k)})}):!0:!1})} Bv.prototype.Zn=pa(31);Bv.prototype.getInjectedFrdValuesEventId=function(){return this.ld};var Wga=new Map([["CT_ANSWER","gm/drive_document"],["CT_FORUM_CONTENT","gm/question_answer"],["CT_SUPPORT_FORUM_THREAD","gm/question_answer"],["CT_YOUTUBE","gm/video_youtube"],[void 0,"gm/language"]]);function Dv(a){var b;return null!=(b=Wga.get(a.type))?b:"gm/drive_document"} function Ev(a,b){var c=Dv(a);return"CT_WORKFLOW"===a.type?new Mo({icon:0}):new yj({icon:c,size:b})} ;function Xga(a,b,c){a=t(a.querySelectorAll("a"));for(var e=a.next();!e.done;e=a.next())if(e=e.value,e.hasAttribute("target")||b){var f=void 0,h=null!=(f=e.getAttribute("aria-label"))?f:"";h.includes(c)||e.setAttribute("aria-label",h+(" ("+c+")"));e.getAttribute("target")||e.setAttribute("target","_blank")}} ;function Fv(a,b,c,e,f,h,k){E.call(this,"SmartJourney.Onebox");this.Da=a;this.oneboxResult=b;this.openInNewWindow=c;this.o=e;this.ha=f;this.na=h;this.onClick=k;this.ka=new yj({icon:"gm/open_in_new"})} w(Fv,E);Fv.prototype.content=function(){var a=this;this.element("div","class",{result:!0,separator:this.na},function(){var b=a.oneboxResult,c;null==(c=$l)||c.um([{type:a.o}]);"CT_SNIPPET"!==b.type&&Yga(a);Zga(a);$ga(a);if("CT_SNIPPET"!==b.type)switch(a.oneboxResult.type){case "CT_WORKFLOW":Av.useHairlineButtonInWorkflowOnebox?aha(a,a.Da.get("Onebox.GET_STARTED")):Gv(a,a.Da.get("Onebox.GET_STARTED"));break;default:Gv(a,a.Da.get("Onebox.READ_MORE"))}})}; function Yga(a){a.element("div","class","content-header",function(){var b=Dv(a.oneboxResult),c=Ev(a.oneboxResult,16);a.element("span","class",{"content-icon":!0,"help-article":"gm/drive_document"===b,language:"gm/language"===b,"question-answer":"gm/question_answer"===b,youtube:"gm/video_youtube"===b},"aria-hidden","true",c);b=a.Da.get("Onebox.HELP_ARTICLE");switch(a.oneboxResult.type){case "CT_WORKFLOW":b=a.Da.get("Onebox.TROUBLESHOOTER")}a.element("span","class","content-label",b)})} function Zga(a){var b=a.oneboxResult.title;a.openInNewWindow&&(b+=" ("+a.Da.get("Onebox.OPENS_IN_A_NEW_WINDOW")+")");a.element("a","class","title","href",a.oneboxResult.url,"target","_blank","data-stats-ve",a.o,"data-stats-action",8,"aria-label",b,"onclick",a.onClick,function(){var c;a.element("span",Eq(null!=(c=a.oneboxResult.title)?c:""))})} function $ga(a){var b=a.element("div","class","snippet",function(){var c;ij(Eq(null!=(c=a.oneboxResult.snippet)?c:""))}); Xga(b,a.openInNewWindow,a.Da.get("Onebox.OPENS_IN_A_NEW_WINDOW"))} function Gv(a,b){var c=b;a.openInNewWindow&&(c+=" ("+a.Da.get("Onebox.OPENS_IN_A_NEW_WINDOW")+")");a.element("a","class","action-link","href",a.oneboxResult.url,"target",a.openInNewWindow?"_blank":"","data-stats-ve",a.ha,"data-stats-action",8,"aria-label",c,"onclick",a.onClick,function(){a.element("span",b);a.openInNewWindow&&a.ka.render()})} function aha(a,b){var c=b;a.openInNewWindow&&(c+=" ("+a.Da.get("Onebox.OPENS_IN_A_NEW_WINDOW")+")");a.element("div","class","workflow-action-link","data-stats-ve",a.ha,"data-stats-action",8,"onclick",a.onClick,new Fk({ariaLabel:c,icon:"gm/arrow_forward",Ac:!0,style:3,text:b,trigger:function(){Qp(a.oneboxResult.url,{od:a.openInNewWindow})}}))} ;function Hv(a,b){var c;return Ya(function(e){if(1==e.o)return Ma(e,b.post({endpoint:"classifications",json:!0,queryParams:{v:"1"},request:bha(a)}),2);c=e.ha;return e.return(cha(c,a.method))})} function bha(a){switch(a.method){case "get_categories":return{resource:{get_categories:{description:a.issueDescription,frd_value:a.Wc.map(function(b){return b.Gz()}), client:a.client}}};case "get_assistive_resolutions":return{resource:{get_assistive_resolutions:{past_question_answers:a.pastQuestionAnswers,predicted_symptoms:a.predictedSymptoms,category_id:a.symptom}}};case "get_questions":return{resource:{get_questions:{past_question_answers:a.pastQuestionAnswers,predicted_symptoms:a.predictedSymptoms,category_id:a.symptom}}};case "get_assistive_suggestion":return{resource:{get_assistive_suggestion:{past_question_answers:a.pastQuestionAnswers,predicted_symptoms:a.predictedSymptoms, category_id:a.symptom}}};case "get_query_quality":return{resource:{get_query_quality:{query:a.query}}};default:throw Error("Unsupported classifications method");}} function cha(a,b){if("get_assistive_suggestion"===b){b={};if("get_assistive_resolutions"in a){var c;b.resolution=null==(c=a.get_assistive_resolutions.assistive_resolutions)?void 0:c[0]}if("get_questions"in a){var e;b.question=null==(e=a.get_questions.responses)?void 0:e[0]}return b}if("get_categories"in a){var f;return{categories:null!=(f=a.get_categories.category)?f:[],predictionId:a.get_categories.prediction_id,highConfidenceTopK:a.get_categories.high_confidence_top_k}}if("get_assistive_resolutions"in a){var h;return{JG:null!=(h=a.get_assistive_resolutions.assistive_resolutions)?h:[]}}if("get_questions"in a){var k;return{questions:null!=(k=a.get_questions.responses)?k:[]}}if("get_query_quality"in a)return{predictionId:a.get_query_quality.prediction_id,isJunk:a.get_query_quality.is_junk};throw Error("Unsupported classifications response");} ;function Iv(a,b){var c;return Ya(function(e){c={query:a.query,max_results:JSON.stringify(a.maxResults),origin_page_type:JSON.stringify(a.originPageType),search_session_id:a.searchSessionId,symptom:a.symptom,user_context:a.userContext,v:"1"};void 0!==a.skipOnebox&&(c.skip_onebox=String(a.skipOnebox));void 0!==a.skipRelatedQuestions&&(c.skip_related_questions=String(a.skipRelatedQuestions));return e.return(b.get({endpoint:"search",json:!0,queryParams:c}))})} ;function Jv(a){tj.call(this);this.strings=a} w(Jv,tj);Jv.prototype.get=function(a){var b;return null!=(b=this.strings[a])?b:""}; Jv.prototype.set=function(a){this.strings=Object.assign({},this.strings,a);this.wa()};function Kv(){tj.apply(this,arguments);this.ha=this.active=!1;this.o=!0;this.completed=!1;this.error="";this.hidden=this.disabled=!1} w(Kv,tj);n=Kv.prototype;n.setActive=function(a){if(a!==this.active){if(this.active=a)this.ha=!0;this.wa(0)}}; function Lv(a,b){b!==a.o&&(a.o=b,a.wa(2))} function Mv(a,b,c){if(b!==a.completed||(void 0===c?0:c))a.completed=b,a.wa(3)} n.setError=function(a){a!==this.error&&(this.error=a,this.wa(4))}; n.getError=function(){return this.error}; n.Fc=function(){return""!==this.error}; n.setDisabled=function(a){a!==this.disabled&&(this.disabled=a,this.wa(5))}; n.setHidden=function(a){a!==this.hidden&&(this.hidden=a,this.wa(6))}; n.isHidden=function(){return this.hidden}; function Nv(a){return!a.isHidden()&&!a.disabled} function Ov(a){return Nv(a)&&a.ha} n.reset=function(){!1!==this.ha&&(this.ha=!1,this.wa(1));Lv(this,!0);Mv(this,!1);this.setError("")}; n.Po=pa(32);function Pv(a){var b=void 0===a.error?"":a.error,c=void 0===a.steps?[]:a.steps;a=void 0===a.title?"":a.title;tj.call(this);this.error=b;this.steps=c;this.title=a} w(Pv,tj);n=Pv.prototype;n.getError=function(){return this.error}; n.setError=function(a){a!==this.error&&(this.error=a,this.wa(0))}; n.getTitle=function(){return this.title}; n.Ye=function(){return this.steps}; function Qv(a){return a.steps.findIndex(function(b){return b.Oa().active})} function dha(a){if(null!==Rv(a)){var b=Qv(a);if(b=a.steps.slice(b+1).find(function(f){return Nv(f.Oa())}))Sv(a,b); else{var c;if(null==(c=Rv(a))?0:c.Oa().completed){var e;null==(e=Rv(a))||e.Oa().setActive(!1);a.wa(2)}}}} function Sv(a,b){if(null!==b&&Nv(b.Oa())){var c=Rv(a);if(!(c&&a.steps.indexOf(c)

Search Help Center
true
73067
false
false