Make Google Docs, Sheets, Slides & Forms public

Want to get more out of Google Docs for work or school? Sign up for a Google Workspace trial at no charge.

To make a document, spreadsheet, or presentation available for a large audience to see, publish the file. After you publish your file you can send a new URL to anyone or embed into your website.

Important: Based on your account’s settings, when you publish a file, you can make it visible to everyone on the web, everyone in your organization, or a group of people in your organization. Be careful when publishing private or sensitive info. 

Publish file

Important: 

  • When you publish a chart to the web, people can see the data used to create it. Be careful when publishing a chart with private or sensitive info.
  • Any changes you make to the original document will be updated in the published version. The automatic update might take a few minutes.
  • To remove a file from the web, you must stop publishing it. Learn how to stop publishing a file.
  • To stop sharing a file with collaborators, learn how to change sharing permissions.
  1. In Google Docs, Sheets, or Slides, open a file.
  2. At the top, click File and then Share and then Publish to web.
  3. Choose a publishing option:
    • Spreadsheet: Publish the entire spreadsheet or individual sheets. You can also choose a publishing format.
    • Presentation: Choose how quickly to advance the slides.
  4. Click Publish.
  5. Copy the URL and send it to anyone you’d like to see the file. Or, embed it into your website.

Publish a file from a shared drive

Important: If you’re using an account through work or school, your administrator might have turned off the ability to publish a file. If you can’t publish a file, contact your administrator.

  1. On your computer, go to drive.google.com.
  2. On the left, click Shared drives and then double-click one of your shared drives.
  3. At the top, next to the name of your shared drive, click the Down arrow Down Arrowand thenShared drive settings.
  4. Next to “Sharing with non-members,” click Edit.
  5. Click “Non-member of this shared drive can be given access to files in this shared drive.”
  6. Click Apply.
  7. Follow the steps to publish a file.
Turn off automatic updates

When you make changes to a published Docs or Sheets file, it will automatically publish the changes. To turn off automatic updates:

  1. Open a file in Google Docs or Sheets that you’ve already published to the web.
  2. Click File and then  Share and then Publish to web.
  3. Click Published content & settings.
  4. Uncheck the box next to "Automatically republish when changes are made."
  • To turn automatic publishing back on, check the box.

Note: You can't turn off automatic updates in Google Slides.

Stop publishing a file
  1. Open a file in Google Docs, Sheets, or Slides.
  2. At the top, click File and then  Share and then Publish to web.
  3. Click Published content & settings.
  4. Click Stop publishing.
How published files look when you share them

If you send someone the URL of a published file, they’ll see a version they can’t edit that looks different from yours. Here’s what others will see:

  • Documents: A version with no toolbar.
  • Spreadsheets: A version with no toolbar. People with "view" permissions can see charts, cell formatting, and the values of cells, but can’t view or edit formulas.
  • Presentations: A view-only version or a version in presentation mode with full-screen slides.
Control who can publish a file

File owners and editors can publish files. If you're the owner of a file and want someone else to publish the file, give them "edit" access.

If you’re the owner and don’t want anyone else to publish the file:

  1. Open a file in Google Docs, Sheets, or Slides.
  2. On the top right, click Share.
  3. Click Settings Settings.
  4. Uncheck Editors can change permissions and share.
  5. Click Done.

Embed files

You can make a document, spreadsheet, presentation, or form available to view on an existing website by embedding it in your site or blog.

Embed a document, spreadsheet, or presentation
  1. Open a file in Google Docs, Sheets, or Slides.
  2. At the top, click File and then  Share and then Publish to web.
  3. In the window that appears, click Embed.
  4. Choose a publishing option:
  • Spreadsheet: Choose to publish the entire spreadsheet or individual sheets.
  • Presentation: Choose a presentation size and how quickly to change the slides.
  1. Click Publish.
  2. Copy the HTML in the text box and paste it into your site or blog.
Edit embedded spreadsheets

If you’re embedding a spreadsheet, you can show or hide parts of the spreadsheet after you publish to the web.

  1. Open a file in Google Sheets.
  2. At the top, click File and then  Share and then Publish to web.
  3. In the window that appears, click Embed.
  4. Click Publish.
  5. Copy the code in the text box and paste it into your site or blog.
  6. To show or hide parts of the spreadsheet, edit the HTML on your site or blog.
  • gid=: The sheet ID.
  • range=: The rows and columns that are published to the web. For example, A1:B14.
  • widget=: True or false. If true, the sheet tab is displayed at the bottom.
  • headers=: True or false. If true, row numbers and column letters are displayed.
  • chrome=: True or false. If true, the title and footer are displayed.
Embed a form
  1. In Google Forms, open a form.
  2. At the top right, click Send.
  3. At the top of the window, click Embed.
  4. To copy the HTML that appears, click Copy.
  5. Paste the HTML into your site or blog.

Related article:

 

Was this helpful?
How can we improve it?
true
Visit the Learning Center

Using Google products, like Google Docs, at work or school? Try powerful tips, tutorials, and templates. Learn to work on Office files without installing Office, create dynamic project plans and team calendars, auto-organize your inbox, and more.

Search
Clear search
Close search
Google apps
Main menu
");return null==a||null==a.sheet?Zaa:$ba(a.sheet,void 0!=b?b:null,c)} function ki(a){if(jc&&!tc(10)||"function"!=typeof cb.DOMParser)return null;a=rf(""+a+"");return(new DOMParser).parseFromString(pf(a),"text/html").body.children[0]} function ji(a,b){if(!a)return gf;var c=document.createElement("div").style;li(a).forEach(function(e){var f=lc&&e in Zba?e:e.replace(/^-(?:apple|css|epub|khtml|moz|mso?|o|rim|wap|webkit|xv)-(?=[a-z])/i,"");Bb(f,"--")||Bb(f,"var")||(e=fi(a,e),e=Hba(f,e,b),null!=e&&gi(c,f,e))}); return new cf(c.cssText||"",bf)} function bca(a){var b=Array.from($h(Lba,a,"getElementsByTagName",["STYLE"])),c=waa(b,function(k){return ec(Wba(k).cssRules)}); c=hi(c);for(var e=[],f=0;fma?1:lar?1:p"+b+""),bca(b),b=b.innerHTML);b=rf(b);var c=document.createElement("template");if(kca&&"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=fca?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.va||"http://www.w3.org/1999/xhtml"!=Xba(f))var k=null;else this.ma[h]?k=document.createElement(h):(k=Hh("SPAN"),this.Ba&&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(Bb(la,"data-sanitizer-"))A= null;else{var ma=ci(u);A=A.value;var oa={tagName:Eb(ma).toLowerCase(),attributeName:Eb(la).toLowerCase()},sa={Xv:void 0};"style"==oa.attributeName&&(sa.Xv=Vba(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("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)xca.call(c,e)&&(b=c[e],0<=e.indexOf("-")?a.setProperty(e,b):a[e]=b)}}; function Ei(a,b,c,e){(e[b]||e.__default)(a,b,c)} ;var Fi=null;function yca(a){this.created=[];this.deleted=[];this.node=a} ;var zca="undefined"!==typeof Node&&Node.prototype.getRootNode||function(){for(var a=this,b=a;a;)b=a,a=a.parentNode;return b};function Aca(a,b){this.o=null;this.ua=!1;this.ma=a;this.key=b;this.text=void 0} function Gi(a,b,c){b=new Aca(b,c);return a.__incrementalDOMData=b} function Hi(a,b){if(a.__incrementalDOMData)return a.__incrementalDOMData;var c=1===a.nodeType?a.localName:a.nodeName,e=1===a.nodeType?a.getAttribute("key"):null;b=Gi(a,c,1===a.nodeType?e||b:null);if(1===a.nodeType&&(a=a.attributes,c=a.length)){e=b.o||(b.o=Ci(c));for(var f=0,h=0;f\n \n \n\n'), "add.svg":Ge('\n'),"add_ad.svg":Ge('\n'), "add_box.svg":Ge('\n'),"announcement.svg":Ge('\n \n \n\n'), "arrow_back.svg":Ge('\n \n \n\n'),"arrow_downward.svg":Ge('\n'),"arrow_drop_down.svg":Ge('\n'), "arrow_drop_up.svg":Ge('\n'),"arrow_forward.svg":Ge('\n'),"arrow_upward.svg":Ge('\n'), "article.svg":Ge('\n'),"attach_file.svg":Ge('\n'), "auto_awesome.svg":Ge('\n'),"awf.svg":Ge('\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n'), "awf_dark.svg":Ge('\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n'), "calendar_today.svg":Ge('\n'),"chat.svg":Ge('\n \n \n\n'), "check.svg":Ge('\n \n \n\n'),"check_circle.svg":Ge('\n \n \n\n'), "check_circle_filled.svg":Ge('\n \n \n \n \n\n'),"check_circle_outline.svg":Ge('\n \n \n\n'), "close.svg":Ge('\n \n \n\n'),"code.svg":Ge('\n'),"content_copy.svg":Ge('\n \n\n'), "control_point_duplicate.svg":Ge('\n'), "delete.svg":Ge('\n'),"delete_outline.svg":Ge('\n'),"do_not_disturb.svg":Ge('\n \n \n\n'), "down_arrow.svg":Ge('\n \n \n\n'),"drive_document.svg":Ge('\n \n \n\n'),"drive_image.svg":Ge('\n \n \n\n'), "dvr.svg":Ge('\n'),"email.svg":Ge('\n \n \n\n'), "error.svg":Ge('\n'),"error_outline.svg":Ge('\n \n \n\n'), "event_available.svg":Ge('\n \n \n\n'),"face.svg":Ge('\n'), "fast_forward.svg":Ge('\n'),"featured_video.svg":Ge('\n'), "filter_list.svg":Ge('\n \n\n'),"flag.svg":Ge('\n'),"flag_filled.svg":Ge('\n'), "format_bold.svg":Ge('\n'),"format_clear.svg":Ge('\n'), "format_indent_decrease.svg":Ge('\n'),"format_indent_increase.svg":Ge('\n'),"format_italic.svg":Ge('\n'), "format_list_bulleted.svg":Ge('\n'),"format_list_numbered.svg":Ge('\n'), "format_quote.svg":Ge('\n \n\n'),"format_underline.svg":Ge('\n'), "help_outline.svg":Ge('\n \n \n\n'),"highlight_alt.svg":Ge('\n'), "info.svg":Ge('\n \n \n\n'),"info_filled.svg":Ge('\n'), "keep_pin_outline.svg":Ge('\n \n \n\n'),"keyboard_arrow_up.svg":Ge('\n \n \n\n'),"label.svg":Ge('\n \n \n\n'), "label_off.svg":Ge('\n \n \n\n'), "language.svg":Ge('\n'), "lightbulb.svg":Ge('\n'),"link.svg":Ge('\n'), "list_alt.svg":Ge('\n\n \n\n'), "list_alt_dark.svg":Ge('\n \n\n'), "lock.svg":Ge('\n \n \n \n\n'),"lock_open.svg":Ge('\n \n \n \n\n'), "mail_outline.svg":Ge('\n'),"maximize.svg":Ge('\n'),"minimize.svg":Ge('\n'), "mode_edit.svg":Ge('\n \n \n\n'),"more_vert.svg":Ge('\n \n \n\n'), "navigate_before.svg":Ge('\n'),"navigate_next.svg":Ge('\n'),"notifications.svg":Ge('\n'), "open_in_new.svg":Ge('\n'),"phone.svg":Ge('\n \n \n\n'), "play_arrow.svg":Ge('\n \n \n\n'),"play_circle.svg":Ge('\n \n \n\n'),"public.svg":Ge('\n \n \n\n'), "question_answer.svg":Ge('\n \n \n\n'),"remove_circle_outline.svg":Ge('\n \n \n\n'), "reply.svg":Ge('\n \n\n'),"restart_alt.svg":Ge('\n \n \n\n'), "schedule.svg":Ge('\n \n\n'),"screenshot_monitor.svg":Ge('\n'), "search.svg":Ge('\n \n \n\n'),"send.svg":Ge('\n'), "sentiment_very_satisfied.svg":Ge('\n'),"star.svg":Ge('\n'), "star_boarder.svg":Ge('\n'),"storefront.svg":Ge('\n \n\n'), "supervised_user_circle.svg":Ge('\n \n \n \n \n\n'), "text_format.svg":Ge('\n'),"thumb_down_alt.svg":Ge('\n'), "thumb_up.svg":Ge('\n'),"thumb_up_alt.svg":Ge('\n'), "translate.svg":Ge('\n'),"undo.svg":Ge('\n'), "unfold_more.svg":Ge('\n'),"unpin.svg":Ge('\n \n \n\n'), "video_youtube.svg":Ge('\n'),"video_youtube_outline.svg":Ge('\n \n \n\n'), "view_column.svg":Ge('\n'),"visibility.svg":Ge('\n \n \n\n'), "warning.svg":Ge('\n \n \n\n'),"warning_filled.svg":Ge('\n')};var Gca="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.yb?!1:a.yb,h=void 0===a.Hd?[]:a.Hd,k=void 0===a.title?"":a.title;a=void 0===a.Fc?"rem":a.Fc;E.call(this,"sc.shared.MaterialIcon");this.icon=b;this.ariaLabel=c;this.size=e;this.Hd=h;this.yb=f;this.title=k;this.Fc=a} w(yj,E); yj.prototype.content=function(){var a=this,b=""+("rem"!==this.Fc?this.size:this.size/16)+this.Fc,c={root:!0,baseline:this.yb,flip:-1!==Gca.indexOf(this.icon)},e=0===this.icon.indexOf("gm/");e||(c["text-icon"]=!0);for(var f=t(this.Hd),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(Fca[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 Hca=[{opacity:0},{opacity:.16,offset:.25},{opacity:.16,offset:.5},{opacity:0}],Ica={duration:300},Jca={duration:225,easing:"cubic-bezier(.4, .0, .2, 1)"};function zj(a){a=void 0===a?{}:a;a=void 0===a.Gm?!1:a.Gm;E.call(this,"sc.shared.MaterialInteractionOverlay");var b=this;this.ma=!1;this.parentElement=null;this.Gm=a;this.ya=function(c){Aj(b,c.clientX,c.clientY,b.Gm)}; this.oa=function(){b.ma=!0;b.Ha()}; this.va=function(){b.ma=!1;b.Ha()}} w(zj,E);zj.prototype.content=function(){var a=this,b=uba(sh(getComputedStyle(this.element("span")).color));this.root=this.element("div","class",{root:!0,"light-text":b,hover:this.ma},"aria-hidden","true",function(){a.element("div","class","hover-overlay");a.element("div","class","pressed-overlay");a.o=a.element("div","class","ripple")}); Kca(this)}; function Kca(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.ya),b.removeEventListener("mouseenter",a.oa),b.removeEventListener("mouseleave",a.va)),f&&(f.addEventListener("mousedown",a.ya),f.addEventListener("mouseenter",a.oa),f.addEventListener("mouseleave",a.va)),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(Hca,Ica);a.o.animate(k,Jca)}} ;var Cj={},Lca=(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.o=new yj({icon:"gm/close",size:18});this.ma=new yj({icon:"gm/check",size:20,yb:!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.wf(a);var c,e,f=null!=(e=null==(c=this.model.Jf)?void 0:c.attributes({kp:!1}))?e:[],h=this.model.Zm(),k=!!h,l=k?"a":"button";this.element("div","class","container",function(){b.element("div","class","touch-target","onclick",function(){if(!b.model.Rg()){var r;null==(r=b.vq)||r.click();Aj(b.overlay,0,0,!0)}}); var p;b.vq=b.element.apply(b,[l,"href",h,"target",k?Lca[b.model.getTarget()]:void 0,"disabled",b.model.Rg(),"aria-hidden",b.model.Rg(),"aria-label",null!=(p=b.model.Kf())?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.Rg(),href:k,limitWidth:!!b.model.Gj()},"style",{"max-width":b.model.Gj()},"onclick",function(){b.onClick()}, "onkeydown",function(r){b.Vb(r)}, "data-removable",xj(b.model)?"true":void 0].concat(Ba(f),[function(){b.model.hn()||Ej(b);b.model.getText()&&b.element("span","class","text",b.model.getText());b.model.hn()&&Ej(b);xj(b.model)&&b.element("button","disabled",b.model.Rg(),"class","remove-icon","onclick",function(r){r.stopPropagation();var u;null==(u=b.model.remove)||u()},b.o); b.overlay.render()}]))})}; n.onClick=function(){3===this.model.getType()&&this.model.setSelected(!this.model.selected);var a;null==(a=this.model.jn())||a()}; n.Vb=function(a){Bj(this.overlay,a);if(this.model.Nn&&"Backspace"===a.key){var b;null==(b=this.model.remove)||b()}var c;null==(c=this.model.Jf)||c.lq(a)}; function Ej(a){a.model.Qe()&&a.element("span","class",{icon:!0,"icon-right":a.model.hn(),"icon__no-text":!a.model.getText()},function(){(new yj({icon:a.model.Qe(),size:20,yb:!0})).render()}); 3===a.model.getType()&&a.element("span","class",{checkmark:!0,"checkmark-right":a.model.hn()},a.ma)} n.focus=function(){var a;null==(a=this.vq)||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.oa=a;this.ua=b;this.ma=0;this.o=null} Gj.prototype.get=function(){if(0this.ma&&(this.ma++,a.next=this.o,this.o=a)};var Hj;function Mca(){var a=cb.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!Lb("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=mb(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&&!Ob()){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){cb.setTimeout(f,0)}} ;function Ij(a){cb.setTimeout(function(){throw a;},0)} ;function Jj(){this.ma=this.o=null} Jj.prototype.add=function(a,b){var c=Kj.get();c.set(a,b);this.ma?this.ma.next=c:this.o=c;this.ma=c}; Jj.prototype.remove=function(){var a=null;this.o&&(a=this.o,this.o=this.o.next,this.o||(this.ma=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||Nca();Nj||(Mj(),Nj=!0);Oj.add(a,b)} function Nca(){if(cb.Promise&&cb.Promise.resolve){var a=cb.Promise.resolve(void 0);Mj=function(){a.then(Qj)}}else Mj=function(){var b=Qj; "function"!==typeof cb.setImmediate||cb.Window&&cb.Window.prototype&&!Lb("Edge")&&cb.Window.prototype.setImmediate==cb.setImmediate?(Hj||(Hj=Mca()),Hj(b)):cb.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.Aa=void 0;this.oa=this.ma=this.ua=null;this.va=this.ya=!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.ma=this.child=null;this.ua=!1} Uj.prototype.reset=function(){this.context=this.o=this.ma=this.child=null;this.ua=!1}; var Vj=new Gj(function(){return new Uj},function(a){a.reset()}); function Wj(a,b,c){var e=Vj.get();e.ma=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.Vl=function(a,b){return Yj(this,null,a,b)}; n.catch=Sj.prototype.Vl;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.ua){var c=a.ua;if(c.ma){for(var e=0,f=null,h=null,k=c.ma;k&&(k.ua||(e++,k.child==a&&(f=k),!(f&&1=c.tabIndex?b:c})} ;var tk=[];function uk(){var a=this;this.va=this.o=null;this.ma=!1;this.ua=[];this.oa=[];this.ya=function(b){if(a.o&&a.ma){var c=qk(a.o),e=sk(c),f;e&&(f=Sca(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.va()}}}} uk.prototype.init=function(a,b,c){c=void 0===c?!1:c;this.va=b;if(this.o=a)this.o.addEventListener("keydown",this.ya),c&&vk(this)}; function wk(a,b){if(b||!1!==b&&!a.ma)vk(a);else if(a.ma){for(xk(a);0\n \n \n '))); e.addEventListener("click",function(){a.o.setMonth(a.o.getMonth()+-1);Bk(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(Ge('\n \n \n ')));e.addEventListener("click",function(){a.o.setMonth(a.o.getMonth()+1);Bk(a)}); c.appendChild(e);c=document.createElement("tr");c.appendChild(b);return c} function Xca(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.Aa?e.toLocaleString(a.va,{weekday:"narrow"}):"SMTWTFS"[e.getDay()];var h=a.Aa?e.toLocaleString(a.va,{weekday:"long"}):Ck[e.getDay()];Ff(Dk,c[e.getDay()],"aria-label",h);e.setDate(e.getDate()+1)}return b} function Bk(a){a.ua.textContent=a.Aa?a.o.toLocaleString(a.va,{month:"long",year:"numeric"}):a.o.getMonth()+1+"/"+a.o.getFullYear();a.oa.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.ya&&(k=a.ya.getTime()===b.getTime());h.textContent= b.getDate().toString();h.className="selectable";var l=Ck[b.getDay()]+" "+b.getDate()+" "+a.ua.textContent;Ff(Dk,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.oa.appendChild(c)}} function Ek(a){return new Date(a.getFullYear(),a.getMonth(),1)} Ak.prototype.Ca=function(a){this.Ba=a}; Ak.prototype.getElement=function(){return this.ma}; var Ck="Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),Dk=[Kf(Tca)];window.sc_createCalendar=function(a){a=new Ak(a);return{setSelectDateCallback:a.Ca.bind(a),getElement:a.getElement.bind(a)}};function Fk(a){tj.call(this);this.text="";this.disabled=!1;this.Sk=!0;this.title=this.Hk=this.ariaLabel=this.href="";this.wt=this.ariaHasPopup=!1;this.maxWidth=this.icon="";this.style=1;this.nk=!1;this.Fc="rem";this.compact=this.Mc=!1;this.Rl=this.Yh=0;this.mp="button";this.wf(a)} w(Fk,tj);n=Fk.prototype; n.wf=function(a){var b=void 0===a.href?"":a.href,c=a.target,e=void 0===a.ariaLabel?"":a.ariaLabel,f=void 0===a.Hk?"":a.Hk,h=void 0===a.title?"":a.title,k=void 0===a.icon?"":a.icon,l=void 0===a.style?1:a.style,p=void 0===a.disabled?!1:a.disabled,r=void 0===a.Sk?!0:a.Sk,u=a.ariaExpanded,A=void 0===a.ariaHasPopup?!1:a.ariaHasPopup,la=a.Iv,ma=a.ariaPressed,oa=void 0===a.wt?!1:a.wt,sa=void 0===a.nk?!1:a.nk,ua=void 0===a.maxWidth?"":a.maxWidth,va=a.trigger,Da=void 0===a.Mc?!1:a.Mc,Qa=void 0===a.compact? !1:a.compact,Ia=void 0===a.Yh?0:a.Yh,ib=void 0===a.Rl?0:a.Rl,ab=void 0===a.Fc?"rem":a.Fc,zb=void 0===a.mp?"button":a.mp;this.text=void 0===a.text?"":a.text;this.href=b;this.target=c;this.ariaLabel=e;this.Hk=f;this.title=h;this.ariaExpanded=u;this.ariaHasPopup=A;this.Iv=la;this.ariaPressed=ma;this.wt=oa;this.maxWidth=ua;this.nk=sa;this.icon=k;this.style=l;this.disabled=p;this.Sk=r;this.trigger=va;this.Mc=Da;this.compact=Qa;this.Yh=Ia;this.Rl=ib;this.Fc=ab;this.mp=zb}; n.getText=function(){return this.text}; n.setText=function(a){this.text=a;this.Ea(0)}; n.Rg=function(){return this.disabled}; n.setDisabled=function(a){this.disabled=a;this.Ea(2)}; n.Id=pa(1);n.Zm=function(){return this.href}; n.getTarget=function(){return this.target}; n.qy=pa(2);n.Kf=function(){return this.ariaLabel}; n.getTitle=function(){return this.title}; n.Pl=function(a){this.ariaExpanded=a;this.Ea(3)}; n.Fw=function(){return this.ariaExpanded}; n.Tw=function(){return this.ariaHasPopup}; n.Qe=function(){return this.icon}; n.Gj=function(){return this.maxWidth}; n.getStyle=function(){return this.style}; n.jn=function(){return this.trigger}; n.hn=function(){return""!==this.getText()&&""!==this.Qe()&&this.Mc}; function Yca(a){return""!==a.getText()&&""!==a.Qe()&&!a.Mc} ;function Gk(a){a=void 0===a?{}:a;E.call(this,"sc.shared.MaterialButton");this.model=a instanceof Fk?a:new Fk(a);this.overlay=new zj;this.watch(this.model)} w(Gk,E);n=Gk.prototype;n.content=function(a){var b=this;a&&this.model.wf(a);var c=""!==this.model.getText(),e=""!==this.model.Qe(),f=this.model.Zm()?"a":"button";this.element("div","class","container",function(){b.element("div","class",{"touch-target":!0,hidden:!b.model.Sk},"aria-hidden","true","hidden",!b.model.Sk,"onclick",function(){if(!b.model.Rg()){var l;null==(l=b.vq)||l.click();Aj(b.overlay,0,0,!0)}}); var h,k={};b.vq=b.element(f,"href",b.model.Zm()||void 0,"target",Zca(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"]=Yca(b.model),k.hairline=3===b.model.getStyle()||11===b.model.getStyle(),k.pill=10===b.model.getStyle(),k.href=!!b.model.Zm(),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.hn(),k["icon-only"]=e&&!c,k["small-icon"]=b.model.nk,k.hidden=!b.model.Sk,k.compact=b.model.compact,k["high-contrast"]=b.model.wt,k[b.model.Yh]=0!==b.model.Yh,k[b.model.Rl]=0!==b.model.Rl,k),"style",""===b.model.Gj()?null:{"max-width":b.model.Gj()},"role",b.model.mp,"type","button","aria-label",b.model.Kf(),"aria-describedby",b.model.Hk,"title",b.model.getTitle(), "aria-expanded",null==(h=b.model.Fw())?void 0:h.toString(),"aria-haspopup",b.model.Tw()?"true":"false","aria-controls",b.model.Iv,"aria-pressed",b.model.ariaPressed,"disabled",b.model.Rg(),"onclick",function(l){b.onClick(l)},"onkeydown",function(l){b.Vb(l)},function(){e&&b.element("span","class","icon",new yj({icon:b.model.Qe(), size:b.model.nk||c?18:24,yb:!0,Fc:b.model.Fc}));c&&b.element("span","class",{overflow:""!==b.model.Gj()},function(){bj(b.model.getText())}); b.overlay.render()})})}; n.onClick=function(a){var b=this.model.jn();b&&b({method:0===a.clientX&&0===a.clientY?1:2})}; n.Vb=function(a){this.overlay&&Bj(this.overlay,a)}; n.Cc=function(){return this.model.Rg()}; n.setDisabled=function(a){this.model.setDisabled(a)}; n.Id=pa(0);n.Fw=function(){return this.model.Fw()}; n.Pl=function(a){this.model.Pl(a)}; n.Tw=function(){return this.model.Tw()}; n.getText=function(){return this.model.getText()}; n.setText=function(a){this.model.setText(a)}; n.focus=function(){var a;null==(a=this.vq)||a.focus()}; function Zca(a){if(a.model.Zm())return(a=a.model.getTarget())?$ca[a]:void 0} var Hk={},$ca=(Hk[0]="_self",Hk[1]="_blank",Hk[2]="_parent",Hk[3]="_top",Hk);function Kk(a){return window.matchMedia("(max-width: "+a+")").matches} function Lk(){return Kk("37.5rem")} ;function Mk(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(Mk,Error);function Nk(a){var b=a.serviceName;this.zg=a.zg;this.serviceName=b} Nk.prototype.get=function(a,b,c,e){c=void 0===c?{}:c;e=void 0===e?new XMLHttpRequest:e;var f=this,h;return Wa(function(k){if(1==k.o)return Ma(k,f.call("GET",a,c,e,"application/json+protobuf"),2);h=k.ma;try{return k.return(be(b,h))}catch(l){throw Ok(f,a),l;}})}; function ada(a,b,c){c=void 0===c?{}:c;var e=void 0===e?new XMLHttpRequest:e;var f;return Wa(function(h){if(1==h.o)return Ma(h,a.call("GET",b,c,e,"application/json"),2);f=h.ma;try{return h.return(JSON.parse(f))}catch(k){throw Ok(a,b),k;}})} Nk.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 Wa(function(l){if(1==l.o)return Ma(l,h.call("POST",a,e,f,"application/json+protobuf",ae(b)),2);k=l.ma;try{return l.return(be(c,k))}catch(p){throw Ok(h,a),p;}})}; function bda(a,b,c,e){e=void 0===e?{}:e;var f=void 0===f?new XMLHttpRequest:f;var h;return Wa(function(k){if(1==k.o)return Ma(k,a.call("POST",b,e,f,"application/json",JSON.stringify(c)),2);h=k.ma;try{return k.return(JSON.parse(h))}catch(l){throw Ok(a,b),l;}})} Nk.prototype.call=function(a,b,c,e,f,h){var k=this;return Wa(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 ",":0h+k||1>a.La)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.o=0<=f?l-f:0;0<=f&&(a.oa=h+k-f,0>a.oa&&(a.oa=0));a.ua=(0<=f?f:l)-h;a.Sa&&(a.Ia=h+a.ua,0==a.o&&0==a.ua&&(a.ua=1));a.ya.push(Math.max(0,p));a.Oa=0== f||f==l;e=c[0]-e;a.Ka=dl(a,b,c);c[0]this.va.length?e=!1:this.Ba.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.o)throw Error("Min value must be less than max value");if(isNaN(a))return $k.wE;var b=[];var c=a,e=a;if(0==this.Fa)var f=fl;else c=Math.abs(c),e=Math.abs(e),f=gl(this,1>=c?0:hl(c)).fw,e=il(e,-f),jl(this,e),c=il(c,-f),c=jl(this,c),f=gl(this,f+hl(c.intValue));a=il(a,-f.fw);(c=0>a||0==a&&0>1/a)?f.ix?b.push(f.ix):(b.push(f.prefix),b.push(this.va)):(b.push(f.prefix),b.push(this.Ba));if(isFinite(a))if(a*=c?-1:1,a*=this.ma,this.Sa)if(e=a,0==e)kl(this,e,this.ua, b),ll(this,0,b);else{var h=Math.floor(Math.log(e)/Math.log(10)+2E-15);e=il(e,-h);var k=this.ua;1this.ua?(k=h%this.Ia,0>k&&(k=this.Ia+k),e=il(e,k),h-=k,k=1):1>this.ua?(h++,e=il(e,-1)):(h-=this.ua-1,e=il(e,this.ua-1));kl(this,e,k,b);ll(this,h,b)}else kl(this,a,this.ua,b);else b.push($k.yv);c?f.jx?b.push(f.jx):(isFinite(a)&&b.push(f.Hy),b.push(this.Ca)):(isFinite(a)&&b.push(f.Hy),b.push(this.Ka));return b.join("")}; function jl(a,b){var c=il(b,a.o);0a.o)throw Error("Min value must be less than max value");e||(e=[]);b=jl(a,b);var f=b.intValue,h=b.nH,k=0h.length&&(h="1"+yh("0",a.o-h.length)+h);for(a=h.length;"0"==h.charAt(a-1)&&a>b+1;)a--;for(b=1;bb?(b=-b,c.push($k.yz)):a.Ua&&c.push($k.HE);b=""+b;for(var e=$k.Fv,f=b.length;fa)return a-48;var b=$k.Fv.charCodeAt(0);return b<=a&&ab)return fl;b=Math.min(14,b);var c=a[il(1,b)];for(--b;!c&&3<=b;)c=a[il(1,b)],b--;if(!c)return fl;c=c.other;var e=a="",f=c.indexOf(";");0<=f&&(c=c.substring(0,f),f=c.substring(f+1))&&(e=/([^0]*)(0+)(.*)/.exec(f),a=e[1],e=e[3]);return c&&"0"!=c?(c=/([^0]*)(0+)(.*)/.exec(c))?{fw:b+1-(c[2].length-1),ix:a,jx:e,prefix:c[1],Hy:c[3]}:fl:fl} function hl(a){if(!isFinite(a))return 0c||0>a?0:a+b>=c?c-b:a} function Ol(a){switch(a){case 1:case 3:return"100%";case 2:case 4:return"0%";default:return"50%"}} n.getTransform=function(){return this.Jb()?"scale(1, 1)":"scale("+(0===this.qk?1:0)+", "+(0===this.ci?1:0)+")"}; n.Vb=function(a){if(this.zp&&"Escape"===a.key)this.close();else if(this.Vq)if("Tab"===a.key&&!a.shiftKey||this.Em&&"ArrowDown"===a.key){a.preventDefault();a=this.o?Hl(this.o):[];var b=Tl(this);b=void 0===b?document:b;Jl(a,1,b)}else if("Tab"===a.key&&a.shiftKey||this.Em&&"ArrowUp"===a.key)a.preventDefault(),Il(this.o?Hl(this.o):[],Tl(this))}; function Tl(a){var b,c;return null!=(c=null==(b=a.getElement())?void 0:b.getRootNode())?c:document} ;var lda={sL:!1,qp:!0};function Ul(){E.call(this,"sc.shared.MaterialSnackbar");this.o=new Gk;this.message="";this.Sm=5E3;this.Im=this.Qu=!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.Sm?5E3:a.Sm,h=void 0===a.Qu?!1:a.Qu;a=void 0===a.Im?!1:a.Im;if(0===this.state)return Promise.resolve();this.state=0;this.message=c;this.Sm=f;this.Qu=h;this.Im=a;e?this.action=Object.assign({},lda,e):this.action=void 0;this.Ha();var k;(null==(k=this.action)?0:k.YP)&&this.o.focus();mda(this);return new Promise(function(l){b.onClose=l})}; Ul.prototype.close=function(){0===this.state&&(this.ma&&clearTimeout(this.ma),this.state=1,this.message="",this.Ha())}; Ul.prototype.content=function(){var a=this;this.element("div","class",{root:!0,widescreen:this.Qu,"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.sL},"ontransitionend",function(c){if("opacity"===c.propertyName&&0!==a.state&&!a.isClosed()){a.state=2;a.Ha();var e;null==(e=a.onClose)||e.call(a)}},function(){a.element("div","role","alert","aria-live","assertive","class", "message",a.message); nda(a)})})}; function nda(a){a.action&&a.element("div","class","action",function(){a.o.render({text:a.action.Dz,trigger:function(){a.action.qp&&a.close();var b,c;null==(c=(b=a.action).Gl)||c.call(b)}, Fc:a.action.Fc})})} function mda(a){if(!a.action||a.Im)a.ma=setTimeout(function(){a.close()},a.Sm)} Ul.prototype.isClosed=function(){return 2===this.state};function Vl(){this.oa=[];this.ma=!1;this.va=new Ul} function Wl(){return oda.initialize()} Vl.prototype.initialize=function(a){a=void 0===a?document.body:a;if(this.ma)return this;this.ma=!0;pda(this,a);return this}; Vl.prototype.open=function(a){this.ma&&(this.oa.push(a),Xl(this))}; Vl.prototype.close=function(){this.va.close()}; Vl.prototype.Pa=function(){var a=this;Wa(function(b){if(1==b.o)return a.ma?a.ua?Ma(b,a.ua,2):b.Wa(2):b.return(a);a.o&&a.o.parentElement&&(a.o.parentElement.removeChild(a.o),a.o=void 0);a.ma=!1;return b.return(a)})}; function Xl(a,b){b=void 0===b?!1:b;var c,e;Wa(function(f){if(1==f.o){if(!b&&a.ua)return f.return();if(0===a.oa.length)return null==(e=(c=a).ya)||e.call(c),delete a.ua,delete a.ya,f.return();a.ua||(a.ua=new Promise(function(h){a.ya=h})); return Ma(f,a.va.open(a.oa[0]),2)}a.oa.shift();Xl(a,!0);Na(f)})} function pda(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.va.render()})} var oda=new Vl;var qda={Zb:7,Xb:7,zp:!0,Vq:!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.Bc,l=(delete c.content,delete c.scope,delete c.ariaLabel,delete c.Bc,c);this.ma=new Map;this.scope=f;this.o=new Nl(Object.assign({},qda,l,{onClose:function(){if(b.md)for(var p=t(b.ma),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.md)return this;this.md=document.createElement("div");this.md.setAttribute("aria-live","polite");this.scope.appendChild(this.md);ej(this.md,function(){a.o.render()}); return this}; n.Pa=function(){if(this.md){this.o.close();var a;null==(a=this.md)||a.remove();this.md=void 0}}; n.open=function(a){a=void 0===a?{}:a;this.initialize();if(this.md)for(var b=this.md;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.ma.set(f,"true"===f.getAttribute("aria-hidden")),f.setAttribute("aria-hidden","true"))}b=this.getParent(b)}this.o.open(Object.assign({},{Ob:!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;pb("hcfe.stats.getInstance",function(){return $l}); var rda=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.oa=new Ml;this.dialog=new Zl({ariaLabel:"Your progress will not be saved and you\u2019ll have to restart this chat",Nm:!1,content:function(){return void a.render()}, Xi:!0});this.cancelButton=new Gk({text:"Go back",trigger:function(){a.onClose(1);$l.hb(168,11)}, style:1});this.ma=new Gk({text:"Close anyway",trigger:function(){a.onClose(2);$l.hb(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.oa.render({content:function(){a.element("div","class","content",function(){a.element("div","class","warning",function(){(new yj({icon:"gm/warning",Hd:["^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.ma.render()})}, padding:this.padding})}; n.open=function(){var a=this;this.dialog.open();$l.hb(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.Pa=function(){this.dialog.Pa()};var sda=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 tda=function(){if(!cb.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}}); try{cb.addEventListener("test",function(){},b),cb.removeEventListener("test",function(){},b)}catch(c){}return a}();function uda(a){var b=a.iframe,c=void 0===a.js?"ZNWN1d":a.js,e=void 0===a.onMessage?void 0:a.onMessage,f=void 0===a.Qt?void 0:a.Qt;vda({destination:a.destination,getSource:function(){return b.contentWindow}, zJ:wda(a.origin),js:c,onMessage:e,Qt:f})} function vda(a){var b=a.destination,c=a.getSource,e=a.zJ,f=void 0===a.token?void 0:a.token,h=a.js,k=void 0===a.onMessage?void 0:a.onMessage,l=void 0===a.Qt?void 0:a.Qt,p=Object.create(null);e.forEach(function(r){p[r]=!0}); new sda(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 wda(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&&cb.self&&cb.self.location&&(a=cb.self.location.protocol.slice(0,-1));return a?a.toLowerCase():""} function xda(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.va&&b.cancel())}this.Ia?this.Ia.call(this.Fa,this):this.Ca=!0;this.ua||this.Ls(new vm(this))}}; n.Sz=function(a,b){this.Ba=!1;wm(this,a,b)}; function wm(a,b,c){a.ua=!0;a.ma=c;a.oa=!b;xm(a)} function ym(a){if(a.ua){if(!a.Ca)throw new zm(a);a.Ca=!1}} n.callback=function(a){ym(this);wm(this,!0,a)}; n.Ls=function(a){ym(this);wm(this,!1,a)}; function Am(a,b,c,e){a.ya.push([b,c,e]);a.ua&&xm(a)} n.then=function(a,b,c){var e,f,h=new Sj(function(k,l){f=k;e=l}); Am(this,f,function(k){k instanceof vm?h.cancel():e(k);return Bm},this); return h.then(a,b,c)}; um.prototype.$goog_Thenable=!0;um.prototype.branch=function(a){var b=new um;Am(this,b.callback,b.Ls,b);a&&(b.o=this,this.va++);return b}; um.prototype.isError=function(a){return a instanceof Error}; function Cm(a){return taa(a.ya,function(b){return"function"===typeof b[1]})} var Bm={}; function xm(a){if(a.Aa&&a.ua&&Cm(a)){var b=a.Aa,c=Dm[b];c&&(cb.clearTimeout(c.o),delete Dm[b]);a.Aa=0}a.o&&(a.o.va--,delete a.o);b=a.ma;for(var e=c=!1;a.ya.length&&!a.Ba;){var f=a.ya.shift(),h=f[0],k=f[1];f=f[2];if(h=a.oa?k:h)try{var l=h.call(f||a.Fa,b);l===Bm&&(l=void 0);void 0!==l&&(a.oa=a.oa&&(l==b||a.isError(l)),a.ma=b=l);if(Rj(b)||"function"===typeof cb.Promise&&b instanceof cb.Promise)e=!0,a.Ba=!0}catch(p){b=p,a.oa=!0,Cm(a)||(c=!0)}}a.ma=b;e&&(l=mb(a.Sz,a,!0),e=mb(a.Sz,a,!1),b instanceof um? (Am(b,l,e),b.Ka=!0):b.then(l,e));c&&(b=new Em(b),Dm[b.o]=b,a.Aa=b.o)} function zm(){xb.call(this)} qb(zm,xb);zm.prototype.message="Deferred has already fired";zm.prototype.name="AlreadyCalledError";function vm(){xb.call(this)} qb(vm,xb);vm.prototype.message="Deferred was canceled";vm.prototype.name="CanceledError";function Em(a){this.o=cb.setTimeout(mb(this.ua,this),0);this.ma=a} Em.prototype.ua=function(){delete Dm[this.o];throw this.ma;}; var Dm={};function Fm(a,b){var c=b||{};b=c.document||document;var e=Oe(a).toString(),f=(new Ch(b)).createElement("SCRIPT"),h={bC:f,Tq:void 0},k=new um(Eda,h),l=null,p=null!=c.timeout?c.timeout:5E3;0>>0);function Zm(a){if("function"===typeof a)return a;a[en]||(a[en]=function(b){return a.handleEvent(b)}); return a[en]} ;function fn(){Jm.call(this);this.oa=new Qm(this);this.Bf=this;this.Rd=null} qb(fn,Jm);fn.prototype[Nm]=!0;n=fn.prototype;n.Kw=function(){return this.Rd}; n.addEventListener=function(a,b,c,e){Xm(this,a,b,c,e)}; n.removeEventListener=function(a,b,c,e){cn(this,a,b,c,e)}; n.dispatchEvent=function(a){var b=this.Kw();if(b){var c=[];for(var e=1;b;b=b.Kw())c.push(b),++e}b=this.Bf;e=a.type||a;if("string"===typeof a)a=new Lm(a,b);else if(a instanceof Lm)a.target=a.target||b;else{var f=a;a=new Lm(e,b);ze(a,f)}f=!0;if(c)for(var h=c.length-1;!a.ua&&0<=h;h--){var k=a.o=c[h];f=k.Qp(e,!0,a)&&f}a.ua||(k=a.o=b,f=k.Qp(e,!0,a)&&f,a.ua||(f=k.Qp(e,!1,a)&&f));if(c)for(h=0;!a.ua&&h>>0);a={requestId:c,apiUrl:Rda(a,b,c),onLoad:b.onLoad,onError:b.onError||function(){}, px:b.px||function(){}, pJ:b.pJ||function(){}, Mv:b.Mv,cH:b.pageType,Cq:b.Cq};b.ze&&("IFRAME"==b.ze.nodeName?(a.window=b.ze.contentWindow,a.ze=a.window.document.body):(a.window=window,a.ze=b.ze));return a} function Rda(a,b,c){var e=wn(a)+"/apis/render?",f=a.Aa,h=a.La,k=b.helpcenter,l=a.Ba,p=a.Ca,r=a.Za,u=a.Ua,A=a.Ka,la=b.pageType,ma=b.pageId,oa=b.url,sa=b.Kj,ua=b.eP;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.Ia,service_configuration:a.Sa,scdeb:a.Fa,instant_preview:b.instantPreview, symptom:b.symptom,scenario_id:b.testScenarioId,sjid:b.sjid,user_ip:a.Oa};b="";for(var Da in a)f=a[Da],void 0!=f&&(Array.isArray(f)&&(f=f.join()),b&&(b+="&"),b+=Da+"="+encodeURIComponent(f.toString()));return e+b} function Qda(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.Cq){if(!e.page_metadata||!e.page_metadata.page_type){b.onError({type:4});return}if(te.get(e.page_metadata.page_type)!=b.cH){b.onError({type:3});return}}e.page_metadata&&b.px(e.page_metadata);b.ze?xn(a,b,e.html):b.Mv(function(f){"IFRAME"==f.nodeName?(b.window=f.contentWindow,b.ze=b.window.document.body):(b.window=window,b.ze=f);xn(a,b,e.html)})}else b.onError({type:2})} function xn(a,b,c){b.window.sc_scope=b.ze;b.onLoad&&(b.window[b.requestId]=function(e){b.onLoad(e.getChild(b.requestId))}); Ef(b.ze,rf(c));c=Array.from(b.ze.getElementsByTagName("script"));a.ua(b,c)} vn.prototype.ua=function(a,b){for(;0a.ma.length;a.va()} ;function Cn(){var a=this;this.o=document.querySelector(".overlay");this.o.addEventListener("scroll",function(){Dn(a);a.va()}); this.ma=this.o.querySelector(".overlay__backdrop");this.ma.addEventListener("touchmove",function(b){return b.preventDefault()}); this.ma.addEventListener("click",function(){En(a,0)}); this.Ba=this.o.querySelector(".overlay__header");this.Ba.addEventListener("touchmove",function(b){a.o.classList.contains("fullscreen")&&b.preventDefault()}); this.Aa=this.o.querySelector(".overlay__close-button");this.Aa.addEventListener("click",function(){En(a,0)}); this.va=ih(function(){if(!a.o.classList.contains("fullscreen")&&!a.ua){var b=a.o.scrollTop;0==b?(a.oa.close(),window.removeEventListener("scroll",a.ya),window.document.body.style.overflow=""):b>.8*a.ma.clientHeight?En(a,a.ma.clientHeight):b<.2*a.ma.clientHeight?En(a,0):En(a,Math.round(.7*a.ma.clientHeight))}},300); this.o.addEventListener("touchstart",function(){return a.ua=!0}); this.o.addEventListener("touchend",function(){a.ua=!1;a.va()}); this.ya=function(){window.scroll(0,a.Ca)}; this.oa=new zn(this.o,function(b){return Sda(a,b)},function(){Dn(a)})} Cn.prototype.Ni=pa(5);function Dn(a){var b=Bn(a.oa);b&&(a.o.scrollTop>=a.ma.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 Un(a){a.preventDefault()} ;function Wn(a){z.call(this,a)} w(Wn,z);n=Wn.prototype;n.getEnableSsEngine=function(){return Gd(this,2)}; n.getEnableAwr=function(){return Gd(this,3)}; n.getEnableHelpSuggestions=function(){return Gd(this,4)}; n.getAlohaAutoGaRollout=function(){return Gd(this,5)}; n.getEnableConfigurator=function(){return Gd(this,6)}; n.getEnableMweb=function(){return Gd(this,7)}; n.getEnableCtlConsentCheckbox=function(){return Gd(this,8)}; n.getEnableIframe=function(){return Gd(this,9)};function Xn(a){z.call(this,a)} w(Xn,z);var Yda=["https://sandbox.google.com/tools/feedback"];var Zda="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 Yn(a){var b;return null==(b=a.formContent)?void 0:b.locale} ;var $da=za(["https://www.gstatic.com/uservoice/feedback/client/web/","/main_binary__",".js"]);function aea(a){var b=Yn(a);b=(b&&Zda.includes(b)?Yn(a):"en").replaceAll("-","_").toLowerCase();var c;a=(null==(c=a.initializationData)?0:c.useNightlyRelease)?"nightly":"live";return Sf($da,a,b)} ;var Zn;function bea(a,b,c){if(Zn)return Zn;var e=aea(a);return Zn=b.feedbackV2GlobalObject?Promise.resolve(b.feedbackV2GlobalObject):new Promise(function(f,h){var k=c.createElement("script");If(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 cea(a,b,c,e,f){f=void 0===f?!0:f;var h,k,l,p,r;return Wa(function(u){switch(u.o){case 1:return h=Date.now(),Ma(u,bea(a,c,e),2);case 2:k=u.ma;if(!(f||(null==(p=a.initializationData)?0:p.useNightlyRelease)||(null==(r=a.initializationData)?0:r.isLocalServer))){l=k.initializeFeedbackClient(a,h,b);u.Wa(3);break}return Ma(u,k.initializeFeedbackClientAsync(a,h,b),4);case 4:l=u.ma;case 3:return l.initiateAloha(),u.return(l)}})} function dea(a,b,c){var e=!0;e=void 0===e?!0:e;var f,h,k,l;Wa(function(p){h=f=c||cb;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(cea(a,b,h,f.document,e))}catch(r){throw h.isFormOpened=!1,r;}})} ;function eea(a){try{return cb.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 $n(a){fn.call(this);this.headers=new Map;this.Ka=a||null;this.ma=!1;this.Ia=this.o=null;this.Fa=this.Sa="";this.ua=this.Na=this.Ca=this.La=!1;this.va=0;this.Ba=null;this.Oa="";this.Ua=this.Za=!1} qb($n,fn);var fea=/^https?$/i,gea=["POST","PUT"],ao=[];function bo(a,b,c,e,f,h,k){var l=new $n;ao.push(l);b&&l.listen("complete",b);l.Bv("ready",l.jG);h&&(l.va=Math.max(0,h));k&&(l.Za=k);l.send(a,c,e,f)} n=$n.prototype;n.jG=function(){this.dispose();dc(ao,this)}; n.send=function(a,b,c,e){if(this.o)throw Error("[goog.net.XhrIo] Object is active with another request="+this.Sa+"; newUri="+a);b=b?b.toUpperCase():"GET";this.Sa=a;this.Fa="";this.La=!1;this.ma=!0;this.o=this.Ka?this.Ka.o():nn.o();this.Ia=this.Ka?this.Ka.getOptions():nn.getOptions();this.o.onreadystatechange=mb(this.xB,this);try{this.getStatus(),this.Na=!0,this.o.open(b,String(a),!0),this.Na=!1}catch(k){this.getStatus();co(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=cb.FormData&&a instanceof cb.FormData;!cc(gea,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.Oa&&(this.o.responseType=this.Oa);"withCredentials"in this.o&&this.o.withCredentials!==this.Za&&(this.o.withCredentials=this.Za);try{eo(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||hb(b)||(e+=encodeURIComponent(p)+"="+encodeURIComponent(b)+"&");a=Bh(f).createElement("SCRIPT");h&&a.setAttribute("nonce",h);If(a,Pe(e));f.body.appendChild(a)}} function lo(a,b,c){try{"submit"===a.flow||"help"===a.flow||a.tinyNoPointer?ko(a,b,c):iea(a.productId,a.serverUri).then(function(e){e=Pd(e,Wn,1);if(null==e||!e.getAlohaAutoGaRollout()||zaa&&!e.getEnableMweb())ko(a,b,c);else{var f=c||cb,h="DEV"===a.serverEnvironment,k=c||cb;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);dea(h,e,f)}},function(e){e&&"DuplicateFormError"!==e.name&&ko(a,b,c)})}catch(e){ko(a,b,c)}} pb("userfeedback.api.startFeedback",lo);function mo(a){window.sc_trackStatsEvent(49,8);no(a)} function no(a){var b=a.productId,c=a.bucket,e=void 0===a.flow?"material":a.flow,f=void 0===a.bw?!1:a.bw,h=void 0===a.KF?!0:a.KF,k=a.ZJ,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}); lo(b,la)} ;function oo(){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",po()]]);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 po(){var a=tg().rs;switch(a){case 4:return"cases";case 1:return"helpcenter";default:return String(a)}} ;function qo(){kea(this)} function kea(a){a.o=(new Kn({className:"material-dialog-backdrop",jp:"material-dialog-backdrop--active",nB:"material-dialog-backdrop--locked",wG:"material-dialog-backdrop--disable-click-capture"})).Gz(function(){return!a.va}); a.o.getElement().addEventListener("click",function(b){b=b.target;var c=b.getAttribute("data-material-dialog-action");c&&(a.ma&&a.ma(c),qg(b,"material-dialog--disable-close")||a.close())})} qo.prototype.open=function(a){var b=this,c=a.querySelector(".material-dialog__title");a.setAttribute("role","dialog");c&&(a.setAttribute("title",c.textContent),Xda(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.oa=function(){return e.removeEventListener("click",h)}; e.addEventListener("click",h)}this.va=qg(a,"material-dialog--disable-close");this.o.xy(!qg(a,"material-dialog--show-background")).sy(qg(a,"material-dialog--disable-click-capture")).setContent(a).open();a.focus();return this}; qo.prototype.close=function(){this.o.close();this.oa&&this.oa();this.ua&&this.ua()}; qo.prototype.Gl=function(a){this.ma=a;return this}; qo.prototype.onClose=function(a){this.ua=a;return this}; qo.prototype.onClose=qo.prototype.onClose;qo.prototype.onAction=qo.prototype.Gl;qo.prototype.close=qo.prototype.close;qo.prototype.open=qo.prototype.open;function ro(a){var b=void 0===a.label?"":a.label,c=void 0===a.Di?!0:a.Di,e=void 0===a.En?void 0:a.En,f=void 0===a.disabled?!1:a.disabled,h=void 0===a.filled?!1:a.filled,k=void 0===a.nc?!1:a.nc,l=a.Xh,p=void 0===a.nq?"":a.nq;a=void 0===a.Be?!1:a.Be;E.call(this,"sc.shared.MaterialBorder");this.Be=this.error=this.o=this.active=!1;this.filled=h;this.Di=c;this.nc=k;this.label=b;this.En=e?"calc(100% - "+e/16+"rem)":void 0;this.disabled=f;this.ma=l;this.nq=p;this.Be=a} w(ro,E);n=ro.prototype;n.content=function(){this.filled?lea(this):mea(this)}; n.render=function(){E.prototype.render.call(this)}; n.setLabel=function(a){this.label=a;this.Ha()}; function nea(a,b){a.error=b} function mea(a){var b,c,e=a.Xh();a.element("div","class",{container:!0,"container-dense":a.nc},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.Di,focused:a.o,disabled:a.disabled},"style",{"max-width":a.En},function(){a.label&&(b=a.element("label","class",{label:!0,"label-dense":a.nc,"label-error":a.error,"label-active":e,"label-hidden":e&&!a.Di,"label-focused":a.o,"label-disabled":a.disabled, "label-multiline":a.Be&&!a.Di},"style",{"font-size":e?"1rem":""},"id",a.nq,a.label))}); a.element("div","class",{right:!0,"right-error":a.error,focused:a.o,disabled:a.disabled})}); if(b&&e&&a.Di&&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 lea(a){var b=a.Xh();a.element("div","class",{container:!0,"container-dense":a.nc,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.nc,"label-error":a.error,"label-hidden":b&&!a.Di,"filled-label-active":b,"filled-label-disabled":a.disabled,"filled-label-focused":a.o},"style",{"max-width":a.En,"font-size":b? "1rem":""},"id",a.nq,a.label)})} n.blur=function(){this.o=!1;this.ma()?this.activate():this.deactivate()}; n.focus=function(){this.o=!0;this.activate()}; n.activate=function(){this.active=!0;this.Ha()}; n.deactivate=function(){this.active=!1;this.Ha()}; n.Xh=function(){return this.label?this.active||this.ma():!1};function so(a){var b=a.icon,c=void 0===a.text?"":a.text,e=void 0===a.title?"":a.title,f=void 0===a.Jt?!1:a.Jt,h=void 0===a.size?void 0:a.size,k=void 0===a.dB?void 0:a.dB,l=void 0===a.Dn?!1:a.Dn,p=void 0===a.filled?!1:a.filled,r=void 0===a.jt?!1:a.jt,u=a.trigger,A=a.tabIndex,la=void 0===a.ariaLabel?"":a.ariaLabel;a=void 0===a.Fc?"rem":a.Fc;E.call(this,"sc.shared.MaterialFab");this.o=!1;this.icon=k?new yj({icon:b,yb:!0,size:k,Fc:a}):new yj({icon:b,yb:!0,Fc:a});this.text=c;this.title=e;this.Jt=f;this.size= h;this.Dn=l;this.filled=p;this.jt=r;this.trigger=u;this.overlay=new zj;this.tabIndex=void 0===A?null:String(A);this.ariaLabel=la} w(so,E);so.prototype.content=function(){var a=this,b=["class",{root:!0,extended:this.text,mini:this.Jt,lowered:this.Dn,filled:this.filled,"fake-focus":this.o,grey:this.jt},"tabindex",this.tabIndex,"onclick",this.trigger,"onkeydown",function(e){a.Vb(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()}]))}; so.prototype.Vb=function(a){Bj(this.overlay,a)};function to(a){tj.call(this);this.qj=!1;this.text=this.group="";this.selected=this.disabled=!1;this.wf(a)} w(to,tj);n=to.prototype;n.wf=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.tj,l=a.Ri,p=void 0===a.qj?!1:a.qj;this.group=void 0===a.group?"":a.group;this.selected=e;this.text=b;this.content=f;this.ariaLabel=h;this.tj=k;this.disabled=c;this.Ri=l;this.qj=p}; n.getGroup=function(){return this.group}; n.getText=function(){return this.text}; n.getContent=function(){return this.content}; n.Kf=function(){return this.ariaLabel}; n.isSelected=function(){return this.selected}; n.setSelected=function(a){this.selected=a;var b;null==(b=this.Ri)||b.call(this,this.selected);this.Ea(0)}; n.Cc=function(){return this.disabled}; n.setDisabled=function(a){this.disabled=a;this.Ea(1)};function uo(a){a=void 0===a?{}:a;E.call(this,"sc.shared.MaterialRadio");this.id=sj();this.model=a instanceof to?a:new to(a);this.overlay=new zj({Gm:!0});this.o=null;this.watch(this.model)} w(uo,E); uo.prototype.content=function(a){var b=this;a&&this.model.wf(a);this.element("div","class",{root:!0,disabled:this.model.Cc(),"align-top":this.model.qj},function(){b.element("div","class","touch-target","onclick",function(){b.model.Cc()||!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.Kf(),"aria-describedby",b.model.tj,"disabled", b.model.Cc(),"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)})}; uo.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"))}; uo.prototype.isSelected=function(){return this.model.isSelected()};function vo(a){var b=Object.assign({},a),c=a.content,e=void 0===a.lh?!0:a.lh,f=void 0===a.Kk?"placement-start":a.Kk,h=void 0===a.wp?"alignment-start":a.wp,k=void 0===a.style?"style-normal":a.style;a=a.Ap;b=(delete b.content,delete b.lh,delete b.Kk,delete b.wp,delete b.style,delete b.Ap,b);E.call(this,"sc.shared.MaterialRichTooltip");var l=this;this.ma=!1;this.Vd=this.le=0;this.oa=c;this.lh=e;this.ya=f;this.va=h;this.Aa=k;this.Ap=a;this.o=new Nl(Object.assign({},{content:function(){wo(l)}, Wl:!0,Vq:!1,zp:!1},b))} w(vo,E);n=vo.prototype;n.open=function(a){this.lh?this.o.open(a):(this.ma=!0,this.Ha())}; n.Jb=function(){return this.lh?this.o.Jb():this.ma}; n.close=function(){this.lh?this.o.close():(this.ma=!1,this.Ha())}; function xo(a,b){var c=b.Vd;if(!a.lh){var e;a.le=null!=(e=b.le)?e:a.le;a.Vd=null!=c?c:a.Vd;a.Ha()}} n.oe=function(){return!0}; n.content=function(){var a=this;this.lh?this.o.render():this.element("div","class","popup-container","style",{visibility:this.ma?"visible":"hidden",transform:"translate("+this.le+"px, "+this.Vd+"px)"},function(){wo(a)})}; function wo(a){a.element("div","class","root "+a.ya+" "+a.Aa,function(){a.element("div","class","container","style",{padding:a.Ap},a.oa);a.element("div","class","clip-track "+a.va,function(){a.element("div","class","clip",function(){a.element("div","class","caret")})})})} ;function yo(a){tj.call(this);this.inputType="";this.Be=!1;this.Ze=!0;this.tq=this.rows=0;this.vn=this.text=this.label="";this.nc=this.filled=!1;this.If=!0;this.disabled=this.Bu=!1;this.placeholder="";this.Bc=[];this.error="";this.maxLength=void 0;this.Qq=this.ariaInvalid=this.ariaRequired=!1;this.icon=void 0;this.Rk=!1;this.mq=!0;this.Gc=void 0;this.wf(a)} w(yo,tj);n=yo.prototype; n.wf=function(a){var b=void 0===a.Be?!1:a.Be,c=void 0===a.Ze?!0:a.Ze,e=void 0===a.rows?0:a.rows,f=void 0===a.tq?0:a.tq,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.vn?"":a.vn,r=void 0===a.filled?!1:a.filled,u=void 0===a.nc?!1:a.nc,A=void 0===a.If?!0:a.If,la=void 0===a.Bu?!1:a.Bu,ma=void 0===a.disabled?!1:a.disabled,oa=void 0===a.Pd?void 0:a.Pd,sa=void 0===a.vg?void 0:a.vg,ua=void 0===a.rg?void 0:a.rg,va=void 0===a.In?void 0:a.In, Da=void 0===a.Bc?["self"]:a.Bc,Qa=void 0===a.error?"":a.error,Ia=a.maxLength,ib=void 0===a.ariaRequired?!1:a.ariaRequired,ab=void 0===a.ariaInvalid?!1:a.ariaInvalid,zb=void 0===a.Qq?!1:a.Qq,Jb=void 0===a.icon?void 0:a.icon,vb=void 0===a.Rk?!1:a.Rk,jb=void 0===a.mq?!0:a.mq,gb=void 0===a.Gc?void 0:a.Gc;this.inputType=void 0===a.inputType?"":a.inputType;this.Be=b;this.rows=e;this.tq=f;this.label=h;this.placeholder=k;this.text=l;this.vn=p;this.filled=r;this.nc=u;this.If=A;this.Bu=la;this.disabled=ma; this.Pd=oa;this.vg=sa;this.rg=ua;this.In=va;this.Bc=Da;this.error=Qa;this.Ze=c;this.maxLength=Ia;this.ariaRequired=ib;this.ariaInvalid=ab;this.Qq=zb;this.icon=Jb;this.Rk=vb;this.mq=jb;this.Gc=gb}; n.Mj=function(){return this.Ze}; n.getLabel=function(){return this.label}; n.getRows=function(){return this.rows}; n.getMaxRows=function(){return this.tq}; n.getText=function(){return this.text}; n.setText=function(a){a!==this.text&&(this.text=a,this.Ea(0))}; n.getPlaceholder=function(){return this.placeholder}; n.setPlaceholder=function(a){a!==this.placeholder&&(this.placeholder=a,this.Ea(1))}; n.getError=function(){return this.error}; n.setError=function(a){a!==this.error&&(this.error=a,this.ariaInvalid=""!==a,this.Ea(2))}; n.Cc=function(){return this.disabled}; n.setDisabled=function(a){a!==this.disabled&&(this.disabled=a,this.Ea(3))}; n.Qe=function(){return this.icon};function zo(a){a=void 0===a?{}:a;E.call(this,"sc.shared.MaterialTextField");this.labelId=sj();this.va=sj();this.ya=sj();this.o=null;this.isComposing=this.oa=!1;this.model=a instanceof yo?a:new yo(a);this.watch(this.model)} w(zo,E);function oea(a){return a.model.Mj()?a.o?a.o:new ro({label:a.model.getPlaceholder(),nq:a.model.getLabel()?void 0:Ao(a),Di:a.model.If,disabled:a.model.Cc(),filled:a.model.filled,nc:a.model.nc,Be:a.model.Be,Xh:function(){return""!==a.model.getText()}}):null} n=zo.prototype; n.content=function(a){var b=this;a&&this.model.wf(a);this.o=oea(this);this.element("div","class","root",function(){b.model.getLabel()&&b.element("label","class","label","id",b.labelId,"aria-hidden","true",b.model.getLabel());b.o&&nea(b.o,!!b.model.getError());var c=b.model.Gc?Bo(b.model.Gc,{id:"sc.shared.MaterialTextField"}):void 0,e=c?c.attributes({Ez:!1,kp:!1}):"";b.element("div","class",{"input-container":!0,multiline:b.model.Be,dense:b.model.nc,invalid:b.model.getError(),outlined:!b.model.filled,filled:b.model.filled, disabled:b.model.Cc()},function(){b.element(b.model.getLabel()?"div":"label","class",{box:!0,"box-no-label":b.model.filled&&!b.model.If,"filled-box":b.model.filled&&!b.model.nc&&(b.model.If||b.model.Be),"filled-label":b.model.filled&&!b.model.nc&&b.model.If,"outlined-box":!b.model.filled&&b.model.If},function(){var h=b.Ki.apply(b,[b.model.Be?"textarea":"input",b.ya,"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.Cc(),"aria-labelledby",pea(b),"maxlength",b.model.maxLength,"onfocus",function(k){b.vg();c&&c.qA(k)}, "onblur",function(){return void b.rg()}, "oninput",function(){return void Co(b)}, "onkeyup",function(k){if("Enter"===k.key){var l;null==(l=b.model.In)||l()}}, "onkeydown",function(k){b.Vb(k);c&&c.lq(k)}, "onkeypress",function(k){b.model.Qq&&k.stopPropagation()}, "aria-required",b.model.ariaRequired,"aria-invalid",b.model.ariaInvalid,"tabindex",b.model.mq?"0":"-1"].concat(Ba(e)));b.ma!==h&&(b.ma=h,b.ma.addEventListener("compositionstart",function(){b.isComposing=!0}),b.ma.addEventListener("compositionend",function(){b.isComposing=!1; Co(b)})); b.ma.value=b.model.getText();b.model.Be&&0===b.model.getRows()&&(h=qea(b),b.ma.style.height=h+"px",0===h&&(b.ma.style.overflowY="hidden"));b.model.Rk&&b.model.Qe()&&b.element("span","class","icon",b.model.Qe())}); b.o&&(b.o.render(),b.o.setLabel(b.model.getPlaceholder()))}); var f=b.model.getError()||b.model.vn;f&&(b.element("div","id",b.va,"aria-live",b.model.getError()?"polite":null,"class",{"helper-text":!0,"helper-text-invalid":b.model.getError(),"helper-text-disabled":b.model.Cc(),"helper-text-filled":b.model.filled,"helper-text-outlined":!b.model.filled,"helper-text-hidden":!b.model.getError()&&b.model.Bu&&!b.oa},f),b.ma.setAttribute("aria-describedby",b.va))})}; function pea(a){return a.model.Bc?a.model.Bc.map(function(b){return"self"===b?Ao(a):b}).join(" "):Ao(a)} function Ao(a){if(a.model.getLabel()||a.model.getPlaceholder())return a.labelId} function qea(a){var b=Number(getComputedStyle(a.ma).paddingLeft.replace(/[^0-9\.]/g,"")),c=a.ma.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.vg=function(){this.oa=!0;this.o&&this.o.focus();var a;null==(a=this.model.vg)||a();this.Ha()}; n.rg=function(){this.oa=!1;this.o&&this.o.blur();var a;null==(a=this.model.rg)||a();this.Ha()}; function Co(a){if(!a.isComposing){var b=a.ma.value;a.model.setText(b);var c;null==(c=a.model.Pd)||c(b)}} n.Vb=function(a){this.model.Qq&&a.stopPropagation()}; 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.Qc=function(){return!!this.model.getError()}; n.Cc=function(){return this.model.Cc()}; n.setDisabled=function(a){this.model.setDisabled(a)}; n.focus=function(){var a;null==(a=this.ma)||a.focus()};function Do(a){var b=void 0===a.text?"":a.text,c=a.trigger,e=void 0===a.Vi?"":a.Vi,f=void 0===a.mb?!1:a.mb,h=void 0===a.Al?!0:a.Al,k=void 0===a.ah?!1:a.ah,l=void 0===a.Qy?0:a.Qy,p=void 0===a.Ku?4:a.Ku,r=void 0===a.delay?0:a.delay,u=void 0===a.cL?function(){}:a.cL,A=void 0===a.dL?function(){}:a.dL; a=void 0===a.Lq?!1:a.Lq;E.call(this,"sc.shared.MaterialTooltip");var la=this;this.o=!1;this.Qy=l;this.Ku=p;this.mb=f;this.text=b;this.trigger=c;this.Vi=e;this.Al=h;this.ah=k;this.Lq=a;this.activate=function(){if(!la.ah||Eo(la,la.trigger))la.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")}}; Do.prototype.Lb=function(){Fo(this)}; function Fo(a){a.trigger.removeEventListener("mouseenter",a.activate);a.trigger.removeEventListener("mouseleave",a.ma);a.trigger.removeEventListener("focus",a.activate);a.trigger.removeEventListener("blur",a.deactivate);a.container&&a.container.removeEventListener("mouseleave",a.deactivate)} function Eo(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(Eo(a,c.value))return!0;return!1} var rea=mj("sc.shared.MaterialTooltip");function Go(){try{return!!window.localStorage}catch(a){return!1}} function Ho(a,b){if(Go())try{window.localStorage.setItem(a,JSON.stringify(b))}catch(c){}} function Io(a){var b={},c=void 0===b.removeItem?!1:b.removeItem;b=void 0===b.rK?!0:b.rK;if(!Go())return null;try{var e=window.localStorage.getItem(a);if(!e)return null;b&&(e=JSON.parse(e));c&&Go()&&window.localStorage.removeItem(a);return e}catch(f){return null}} ;function Jo(){this.ma={};this.o=0} n=Jo.prototype;n.format=function(a){var b=wh("SafeHtmlFormatter:");a=wh(a).replace(new RegExp("\\{"+b+"[\\w&#;]+\\}","g"),mb(this.YJ,this,[]));return rf(a)}; n.YJ=function(a,b){a=this.ma[b];if(!a)return b;b="";a.Ub&&(b+="<"+a.Ub+a.attributes+">");a.html&&(b+=a.html);a.Sb&&(b+="");return b}; n.Ub=function(a,b){sf(a);return Ko(this,{Ub:a,attributes:wf(b)})}; n.Sb=function(a){sf(a);return Ko(this,{Sb:a})}; n.text=function(a){return Ko(this,{html:wh(a)})}; n.safeHtml=function(a){return Ko(this,{html:pf(a).toString()})}; function Ko(a,b){a.o++;var c="{SafeHtmlFormatter:"+a.o+"_"+Ah()+"}";a.ma[wh(c)]=b;return c} ;function Lo(a,b){b=void 0===b?tg().hc:b;this.ma=a;this.ua={};b&&(this.ua.helpcenter=b)} n=Lo.prototype;n.Uj=function(a){this.va=a;return this}; n.onError=function(a){this.oa=a;return this}; n.wB=function(a){this.ya=a;return this}; n.fk=function(a,b){this.ua[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);sea(b,e.sessionStatus.externalFieldTransfers[0].formPostInfo.url)}catch(f){Mo(b)}}); c.addEventListener("error",function(){return Mo(b)}); c.addEventListener("abort",function(){return Mo(b)}); c.send(tea(this));return this}; function sea(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.Aa=e.document_id;a.va&&a.va()}catch(f){Mo(a)}}); c.upload.addEventListener("progress",function(e){a.ya&&a.ya(e.lengthComputable?Math.max(e.loaded-(e.total-a.ma.size),0):0)}); c.addEventListener("error",function(){return Mo(a)}); c.addEventListener("abort",function(){return Mo(a)}); b=new FormData;b.append("Filedata",a.ma,a.ma.name);c.send(b)} function Mo(a){a.oa&&a.oa()} function tea(a){var b=[{external:{name:"file",filename:a.ma.name,formPost:{}}}],c;for(c in a.ua)b.push({inlined:{name:c,content:a.ua[c],contentType:"text/plain"}});return JSON.stringify({protocolVersion:"0.8",createSessionRequest:{fields:b}})} n.sH=function(){return this.o}; n.al=function(){return this.Aa}; Lo.prototype.getDocumentId=Lo.prototype.al;Lo.prototype.getCnsFilename=Lo.prototype.sH;Lo.prototype.start=Lo.prototype.start;Lo.prototype.setMetadata=Lo.prototype.fk;Lo.prototype.onProgress=Lo.prototype.wB;Lo.prototype.onError=Lo.prototype.onError;Lo.prototype.onSuccess=Lo.prototype.Uj;function No(){var a=this;this.ma=document.querySelector(".overlay");this.o=(new Kn({className:"overlay-backdrop",jp:"overlay-backdrop--active",nB:"overlay-backdrop--locked"})).setContent(this.ma).onClose(function(){a.ua.close()}); this.o.xy(!0);this.o.sy(!0);this.oa=this.ma.querySelector(".overlay__close-button");this.oa.addEventListener("click",function(){a.o.close()}); this.ua=new zn(this.ma,function(b){b.iframe.contentDocument.body.style.padding="2.5rem 3.25rem"},null)} No.prototype.Ni=pa(4);window.sc_initOverlay=function(){return new No};var uea={"ads.svg":Ge('\n'),"alumnus_expert.svg":Ge('\n'), "beenhere.svg":Ge('\n'),"bids_and_budgets.svg":Ge('\n'), "bronze_expert.svg":Ge('\n'),"community_specialist.svg":Ge('\n'), "diamond_expert.svg":Ge('\n'), "error_computer.svg":Ge('\n'), "gold_expert.svg":Ge('\n'), "google_employee.svg":Ge('\n'),"keywords_and_targeting.svg":Ge('\n'), "laptop_check.svg":Ge('\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n'), "legacy_expert.svg":Ge('\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n'), "logo_googleg_48dp.svg":Ge('\n \n \n \n \n \n\n'), "page_desktop.svg":Ge('\n'), "page_desktop_dark.svg":Ge('\n'), "platinum_expert.svg":Ge('\n'), "play.svg":Ge('\n'),"quickreply.svg":Ge('\n'),"search.svg":Ge('\n'), "silver_expert.svg":Ge('\n'), "stop.svg":Ge('\n'),"volunteer_activism.svg":Ge('\n'), "workflow.svg":Ge('\n'), "workflow_dark.svg":Ge('\n')};function Oo(a){E.call(this,"sc.shared.TsAssetInterop");this.o=a} w(Oo,E);Oo.prototype.content=function(){ij(uea[this.o])};var vea=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"]]),Po=new Map([[0,"workflow_dark.svg"]]); function Qo(a){var b=void 0===a.yb?!1:a.yb,c=void 0===a.Cw?!1:a.Cw,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.Fu?!1:a.Fu;E.call(this,"sc.icon.Icon");f=f&&Po.has(e)?Po.get(e):vea.get(e);if(void 0===f)throw Error("The icon asset "+e+" is undefined.");this.yb=b;this.Cw=c;this.size=h;this.o=new Oo(f);this.title=k;this.Fu=a} w(Qo,E);Qo.prototype.content=function(){var a=this;this.element("div","class",{root:!0,baseline:this.yb,"text-bottom":this.Fu,flip:this.Cw},"title",this.title,"style",{height:this.size+"px",width:this.size+"px"},function(){a.o.render()})};function Ro(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.Js?!0:a.Js;E.call(this,"sc.hats_survey_button.HatsSurveyButton");this.triggerId=b;this.productData=c;this.callback=e;this.ariaLabel=f;this.enableTestingMode=h;this.Js=a} w(Ro,E);function wea(a){a.element("div","class","survey-trigger-button",new Gk({text:"Feedback",style:8,icon:a.Js?"gm/announcement":"",compact:!0,trigger:function(){var b;return Wa(function(c){if(1==c.o)return b=new nk,xea(b)?Ma(c,new Promise(function(e){return void setTimeout(e,600)}),2):c.Wa(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&&So.push(h);a.callback&&a.callback(e)}, defaultStyle:1});Na(c)})}, ariaLabel:a.ariaLabel}))} Ro.prototype.content=function(){wea(this)}; function xea(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,So.includes(e)||(b=!0,pk(a).ma({surveyMetadata:{sessionId:e}}));return b} var So=[];function To(a){z.call(this,a,-1,yea)} w(To,z);var yea=[1,2,3,4];function Uo(a){z.call(this,a,-1,zea)} w(Uo,z);var zea=[2];function Vo(a){z.call(this,a,31,Aea)} w(Vo,z);Vo.prototype.getTag=function(){return x(this,2)}; Vo.prototype.setTag=function(a){return y(this,2,a)}; Vo.prototype.tf=pa(7);var Aea=[3,20,27];function Wo(a){if(!a)return"";if(/^about:(?:blank|srcdoc)$/.test(a))return window.origin||"";a=a.split("#")[0].split("?")[0];a=a.toLowerCase();0==a.indexOf("//")&&(a=window.location.protocol+a);/^[\w\-]*:\/\//.test(a)||(a=window.location.href);var b=a.substring(a.indexOf("://")+3),c=b.indexOf("/");-1!=c&&(b=b.substring(0,c));c=a.substring(0,a.indexOf("://"));if(!c)throw Error("URI is missing protocol: "+a);if("http"!==c&&"https"!==c&&"chrome-extension"!==c&&"moz-extension"!==c&&"file"!==c&&"android-app"!== c&&"chrome-search"!==c&&"chrome-untrusted"!==c&&"chrome"!==c&&"app"!==c&&"devtools"!==c)throw Error("Invalid URI scheme in origin: "+c);a="";var e=b.indexOf(":");if(-1!=e){var f=b.substring(e+1);b=b.substring(0,e);if("http"===c&&"80"!==f||"https"===c&&"443"!==f)a=":"+f}return c+"://"+b+a} ;function Bea(){function a(){f[0]=1732584193;f[1]=4023233417;f[2]=2562383102;f[3]=271733878;f[4]=3285377520;u=r=0} function b(A){for(var la=k,ma=0;64>ma;ma+=4)la[ma/4]=A[ma]<<24|A[ma+1]<<16|A[ma+2]<<8|A[ma+3];for(ma=16;80>ma;ma++)A=la[ma-3]^la[ma-8]^la[ma-14]^la[ma-16],la[ma]=(A<<1|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 Da=ua^oa&(sa^ua);var Qa=1518500249}else Da=oa^sa^ua,Qa=1859775393;else 60>ma?(Da=oa&sa|ua&(oa|sa),Qa=2400959708):(Da=oa^sa^ua,Qa=3395469782);Da=((A<<5|A>>>27)&4294967295)+Da+va+Qa+la[ma]&4294967295;va=ua;ua=sa;sa=(oa<<30|oa>>>2)& 4294967295;oa=A;A=Da}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<=ma;ma--)h[ma]=la&255,la>>>=8;b(h);for(ma=la=0;5>ma;ma++)for(var oa=24;0<=oa;oa-=8)A[la++]=f[ma]>>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.Ij()?"https://www.google.com/log?format=json&hasfast=true":"https://play.google.com/log?format=json&hasfast=true");return a.Ua} n.dispatch=function(a){if(a instanceof Vo)this.log(a);else{var b=new Vo;a=ae(a);b=y(b,8,a);this.log(b)}}; function pp(a,b){b?(a.ua||(a.ua=new Uo),b=ae(b),y(a.ua,4,b)):a.ua&&Id(a.ua,4)} function qp(a,b){a.va=new dp(1>b?1:b);hn(a.o,a.va.getValue())} n.log=function(a){a=a.clone();var b=this.wi++;y(a,21,b);this.La&&y(a,26,this.La);if(!x(a,1)){b=a;var c=Date.now().toString();y(b,1,c)}xd(a,15)||(b=60*(new Date).getTimezoneOffset(),y(a,15,b));this.ua&&(b=this.ua.clone(),Sd(a,Uo,16,b));for(;1E3<=this.ma.length;)this.ma.shift(),++this.Ca;this.ma.push(a);this.dispatchEvent(new rp(a));this.Za||this.o.enabled||this.o.start()}; n.flush=function(a,b){var c=this;if(0===this.ma.length)a&&a();else if(this.rb)sp(this);else{var e=Date.now();if(this.hd>e&&this.wbma||401===ma||0===ma);oa&&(c.ma=sa.concat(c.ma),c.Za||c.o.enabled||c.o.start());b&&b("net-send-failed",ma)},la=function(){c.Rb?c.Rb.send(r,u,A):c.Ye(r,u,A)}; p?p.then(function(ma){r.Wx["Content-Encoding"]="gzip";r.Wx["Content-Type"]="application/binary";r.body=ma;r.dG=2;la()},function(){la()}):la()}}}}; n.Bw=function(){this.Ka||(this.Sa&&sp(this),this.Na&&Jea(this),this.flush())}; function sp(a){tp(a,32,10,function(b,c){b=lm(b,"format","json");b=window.navigator.sendBeacon(b,ae(c));a.rb&&!b&&(a.rb=!1);return b})} function Jea(a){tp(a,6,5,function(b,c){c=ae(c);for(var e=[],f=0,h=0;h>=8);e[f++]=k}c=zc(e,3);c=km(b,"format","base64json","p",c);if(15360 .heading").getAttribute("data-search-dym-tracking-id"),a.Ux(f,b,h,e,c)):(e=""!==rg("symptom"),a.On(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 Lea(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.On=function(a,b,c,e,f,h,k,l,p,r){b=Cp(p?"suggestion_clicked":"search_results_clicked",b,k,l);zp(b,"q",a);zp(b,"clickRank",c);zp(b,"resultId",e);zp(b,"requestId",f);zp(b,"shownContentList",h);Dp(this,b,h,r)}; n.Ux=function(a,b,c,e,f){c=Cp("sugesstion_clicked",c);zp(c,"q",a);e&&zp(c,"dymTrackingId",e);Dp(this,c,b,f)}; n.Tx=function(a,b,c){b=Cp("autocomplete_search_query",tg().visit_id,b);zp(b,"q",a);Dp(this,b,"",c)}; n.Rx=function(a,b,c,e){c=Cp("autocomplete_results_clicked",tg().visit_id,c);zp(c,"q",a);zp(c,"shownContentList",b);Dp(this,c,b,e)}; n.Sx=function(a,b){b=Cp("autocomplete_click_impressions",tg().visit_id,b);zp(b,"shownContentList",a.join("|"));Ep(this,b,"sc_nullFunction")}; function Dp(a,b,c,e){e&&e instanceof Function?(window.sc_searchMetricsLinkCallback=function(){e(c)},Ep(a,b,"sc_searchMetricsLinkCallback")):Ep(a,b,"sc_nullFunction")} n.MB=function(a){var b=Cp("article_help_link_clicked",tg().visit_id,"help");zp(b,"url",a);Ep(this,b,"sc_nullFunction")}; n.VB=function(a){var b=Cp("opened_to_article",tg().visit_id,"help");zp(b,"shownContentList",a);Ep(this,b,"sc_nullFunction")}; n.ju=function(a,b,c,e,f,h,k,l){e=e||rg("query")||rg("q");h=h||""!==rg("symptom");a=Cp(h?"shown_suggestions":"shown_search_results",a,f,k);zp(a,"q",e);zp(a,"requestId",b);zp(a,"shownContentList",c.join("|"));l&&zp(a,"dymTrackingId",l);Ep(this,a,"sc_nullFunction")}; function Fp(a,b,c){b=Cp(b,tg().visit_id,"help");c&&zp(b,"contactMode",c);Ep(a,b,"sc_nullFunction")} n.RB=function(){Fp(this,"nd4c_requested")}; n.QB=function(){Fp(this,"shown_contact_us","nd4c_email")}; n.PB=function(){Fp(this,"contact_us_clicked","nd4c_email")}; n.UB=function(){Fp(this,"shown_contact_us","nd4c_phone")}; n.TB=function(){Fp(this,"contact_us_clicked","nd4c_phone")}; n.OB=function(){Fp(this,"shown_contact_us","nd4c_chat")}; n.NB=function(){Fp(this,"contact_us_clicked","nd4c_chat")}; n.Ml=function(a,b,c,e,f,h){a=Cp(void 0===h?"suggestion_clicked":h,a);zp(a,"requestId",b);zp(a,"resultId",c);void 0!==e&&zp(a,"clickRank",e);void 0!==f&&zp(a,"shownContentList",f);Ep(this,a,"sc_nullFunction")}; function Cp(a,b,c,e){a=zp(zp(zp(zp(zp(zp(zp(new yp,"flow",c||"support-content"),"gfSessionId",b),"hcName",tg().hc),"locale",tg().lang),"authuser",tg().au),"useAnonymousMetrics","false"),"userAction",a);(e=e||Mea())&&zp(a,"productSpecificContext",e);"help"===c&&zp(a,"useInappHelpPanel","true");(c=$g("productEscalationsId"))&&zp(a,"productId",c);return a} function Mea(){var a=tg().query_params.find(function(b){return"ec"==b.key}); return a?a.value:""} function Ep(a,b,c){var e="asxvmprobertest@gmail.com"==tg().ge;!a.o&&"true"!==$g("initializeMojoMetrics")||e||(zp(b,"callback",c),a=Hh("SCRIPT"),a.onerror=window[c],If(a,b.build()),document.body.appendChild(a))} Ap.prototype.reportSearchResultsFeatureClick=Ap.prototype.Ml;Ap.prototype.reportNewDealChatClicked=Ap.prototype.NB;Ap.prototype.reportNewDealChatDisplayed=Ap.prototype.OB;Ap.prototype.reportNewDealTfnClicked=Ap.prototype.TB;Ap.prototype.reportNewDealTfnDisplayed=Ap.prototype.UB;Ap.prototype.reportNewDealEmailClicked=Ap.prototype.PB;Ap.prototype.reportNewDealEmailDisplayed=Ap.prototype.QB;Ap.prototype.reportNewDealRequested=Ap.prototype.RB;Ap.prototype.reportImpressions=Ap.prototype.ju; Ap.prototype.reportOpenedToArticle=Ap.prototype.VB;Ap.prototype.reportArticleHelpLinkClicked=Ap.prototype.MB;Ap.prototype.reportAutocompleteImpressions=Ap.prototype.Sx;Ap.prototype.reportAutocompleteClick=Ap.prototype.Rx;Ap.prototype.reportAutocompleteSearch=Ap.prototype.Tx;Ap.prototype.reportSpellingClick=Ap.prototype.Ux;Ap.prototype.reportClick=Ap.prototype.On;Ap.prototype.setUpMojoReportingForSpelling=Ap.prototype.tC;Ap.prototype.setUpMojoReportingForSearchResults=Ap.prototype.sC;var Gp; pb("hcfe.MojoMetrics",Ap);window.sc_initMojoMetrics=function(){Gp||(Gp=new Ap,Gp.sC(),Gp.tC(),window.sc_trackSearchResultImpressions=window.sc_trackSearchResultEnabledRceTracking?window.sc_nullFunction:Gp.ju.bind(Gp))};function Hp(a,b){this.ua=a;this.ma=a.parentNode;this.o=b;this.o.counter&&this.o.count&&Ip(this,[{key:this.o.counter,value:(this.o.count+1).toString()}]);this.ua.addEventListener("click",this.oa.bind(this))} Hp.prototype.oa=function(){this.o.id&&Ip(this,[{key:this.o.id,value:(new Date).getTime().toString()}]);this.ma.parentNode.removeChild(this.ma)}; function Ip(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 Hp(a,b)};function Jp(a,b,c){this.value=a;this.icon=b;this.ariaLabel=c} Jp.prototype.toString=function(){return this.value}; var Kp=new Jp("error","gm/error_outline","Error notification"),Lp=new Jp("caution","gm/warning","Caution notification"),Mp=new Jp("informational","gm/info","Informational notification"),Nea=new Jp("success","gm/check_circle_outline","Success notification"); function Np(a){var b=a.message,c=a.type,e=a.position,f=a.xg,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,yb:!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())b.push(new Gk(Object.assign({},{style:1,compact:!0},e.value)));b=b.reverse()}this.o=b} w(Np,E);Np.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.element("div","class","icon-container","aria-hidden","true",a.icon);a.element("div","class","message",a.message)}); 0]*>/gi,cfa=/(<[^>]+>)/gi;function Gq(a,b){(void 0===b?0:b)&&(a=a.replace(bfa,"\n").replace(/\n{2,}/gi,"\n").trim());return a.replace(cfa,"")} ;var Hq=void 0;function Iq(){void 0===Hq&&console.error("Settings must be initialized before being used.");return Hq} function Jq(){var a;return null!=(a=Iq().DI)?a:!1} function Kq(){return Iq().language} ;var Lq=4/3,dfa=16/9;function Mq(a){var b=a.Ic;a=void 0===a.Jj?!1:a.Jj;E.call(this,"sc.tailwind.thread.popup_video.PopupVideo");var c=this;this.Ic=b;this.id=this.Ic.getId();this.Jj=a;this.o=new Nl({Zb:7,Xb:7,Xi:!0,nt:!0,content:function(){c.ma=c.element("div","class","root","tabindex","0")}, Ih:!0});this.aspectRatio=efa(this);this.watch(this.Ic)} w(Mq,E);Mq.prototype.open=function(a){this.o.open(Object.assign({},{Ob:!0},a));ffa(this)}; Mq.prototype.content=function(){this.o.render()}; function gfa(a){a.player=new window.YT.Player(a.ma,{height:String((a.Jj?960:640)/a.aspectRatio),width:String(a.Jj?960:640),videoId:a.id,playerVars:{autoplay:1,cc_load_policy:1,controls:2,hl:Jq()?Kq():a.Ic.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;Nq(-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;Nq(b,a.id,h,c)}}})} function ffa(a){Wa(function(b){if(1==b.o)return Ma(b,hfa(),2);gfa(a);Na(b)})} function Nq(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}Vk(a,b,44,c+","+e)} function efa(a){var b=a.Ic.o.width;a=a.Ic.o.height;return b&&a?b/a===Lq?Lq:dfa:Lq} var Oq;function hfa(){var a,b;return Wa(function(c){if("function"===typeof(null==(a=window.YT)?void 0:a.Player))return c.return();Oq||(b=document.createElement("script"),If(b,Pe(Fe(Ge("//www.youtube.com/player_api")))),document.body.appendChild(b),Oq=new Promise(function(e){window.onYouTubeIframeAPIReady=e})); return c.return(Oq)})} ;function Pq(a,b){var c=void 0===b?{}:b;b=void 0===c.Wz?!1:c.Wz;var e=c.height,f=void 0===c.Jj?!1:c.Jj;c=c.width;this.o=a;this.ma=this.o.getAttribute("data-videoid");this.oa=qg(this.o,"embedded-video")?"default":"medium";c&&e&&(this.va=c/e==Qq?Qq:1.6);this.ua=f;b||(ifa(this),jfa(this))} function ifa(a){window.addEventListener("hashchange",function(b){In(b.oldURL,b.newURL)===a.ma&&Rq(a)}); window.addEventListener("load",function(){In("",location.href)===a.ma&&Rq(a)})} function jfa(a){var b=new XMLHttpRequest;b.addEventListener("load",function(){try{var c=JSON.parse(b.responseText)}catch(e){}c&&kfa(this,c)}.bind(a)); b.open("GET","https://www.googleapis.com/youtube/v3/videos?part=snippet%2C+id&key=AIzaSyD-4tE5aKFZYIS_IrfpCDRsgQZbv5VCJZM&id="+a.ma);b.send()} function kfa(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=mfa();0c?"-":"+"];c=Math.abs(c);e.push(Math.floor(c/60)%100);c%=60;0!=c&&e.push(":",zh(c,2));c=e.join("")}b.ua=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=Tr(a);b.oa=[c,c];b.o={jO:a,Bz:a};b.ma=[];return b}b=new Rr;b.ua=a.id;b.va=-a.std_offset;b.oa=a.names;b.o=a.names_ext;b.ma=a.transitions;return b} function Tr(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 Ur(a,b){b=Date.UTC(b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate(),b.getUTCHours(),b.getUTCMinutes())/36E5;for(var c=0;c=a.ma[c];)c+=2;return 0==c?0:a.ma[c-1]} Rr.prototype.getOffset=function(a){a=this.va-Ur(this,a);return-1440===a?0:a}; Rr.prototype.getShortName=function(a){return this.oa[0b)var c=a.o.rv[b];else if(8>b)c=a.o.Cz[b-4];else if(12>b)c=a.o.sD[b-8],c=c.replace("{1}",a.o.rv[b-8]),c=c.replace("{0}",a.o.Cz[b-8]);else if(12===b)c=a.o.rv[0].replace(/[^EMd]*yy*[^EMd]*/,"");else{Wr(a,10);return}b=c;for(Cfa&&(b=b.replace(/\u200f/g,""));b;){c=b;for(var e=0;e=f?String.fromCharCode(a.DF+f-48):b.charAt(e))}b=c.join("")}return b} var Cfa=!1;function $r(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 as(a,b){$r(b);b=Yr(b);return a.o.mD[12<=b&&24>b?1:0]} function Bfa(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),Zr(a,zh(c,k));case "Y":return c=e.getFullYear(),f=e.getMonth(),e=e.getDate(),c=Qr(c,f,e,a.o.lz,a.o.kz),c=(new Date(c)).getFullYear(),0>c&&(c=-c),2==k&&(c%=100),Zr(a,zh(c,k));case "M":a:switch(c=e.getMonth(),k){case 5:k=a.o.yE[c];break a;case 4:k=a.o.uE[c];break a;case 3:k=a.o.XE[c];break a;default:k=Zr(a,zh(c+1,k))}return k; case "k":return $r(f),c=Yr(f)||24,Zr(a,zh(c,k));case "S":return c=f.getMilliseconds()/1E3,Zr(a,c.toFixed(Math.min(3,k)).slice(2)+(3k?a.o.ZE[c]:a.o.LE[c];case "d":return Zr(a,zh(e.getDate(),k));case "m":return $r(f),Zr(a,zh(f.getMinutes?f.getMinutes():0,k));case "s":return $r(f),Zr(a,zh(f.getSeconds(),k));case "v":return(h||Sr(c.getTimezoneOffset())).ua;case "V":a=h||Sr(c.getTimezoneOffset()); var l;2>=k?l=a.ua:l=0k?a.getShortName(c):a.oa[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=Zr(a,Tr(e.getOffset(c))),k;default:return""}} ;function bs(a){var b=a.parent,c=a.result,e=a.rank,f=a.Ab;a=a.ub;E.call(this,"sc.search.search_results_list.search_result.YoutubePreview");this.ma="true"===$g("MoltronSearchLoggerFeature__use_moltron_search_logger");this.oa=new yj({icon:"gm/event_available",size:18});this.ya=new yj({icon:"gm/visibility",size:18});this.o=new yj({icon:"gm/play_circle"});this.va="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=Gr(this.result.getUrl(),h,!0));this.url=h;var k;b=null!=(k=null==b?void 0:b.getTitle())?k:this.result.getTitle();k=ds(this);h=es(this);this.ariaLabel=b+" (video content) published on "+k+" with "+h;this.Ab=f;this.ub=a} w(bs,E);bs.prototype.content=function(){var a=this;this.element("a","aria-label",this.ariaLabel,"class","youtube-preview","href",this.url,"onclick",function(b){return Eq(b,function(){a.Yd(b.ctrlKey||b.shiftKey||b.metaKey)})},"onauxclick",function(b){return 1===b.button?Eq(b,function(){a.Yd(!0)}):!0},"onkeydown",function(b){return Fq(b,function(){a.Yd()})},function(){2===tg().rs?a.element("div","class","help-panel-container",function(){fs(a)}):fs(a)})}; bs.prototype.Yd=function(a){a=void 0===a?!1:a;this.ma?gs(this.ub,Ir(this.result),this.url):hs(this.Ab,String(this.rank),Ir(this.result),this.url);Vk(8,"youtube_preview_click",136);Op(this.url,{Od:a})}; function fs(a){Dfa(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",ds(a)+" \u2022 "+es(a)):a.va||(Efa(a),Ffa(a))})})} function Dfa(a){a.element("div","class","thumbnail-container",function(){var b=a.element,c,e;var f=null!=(e=null==(c=rq(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=rq(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 Efa(a){a.element("span","class","label-container",function(){a.oa.render();a.element("span","class","label",ds(a))})} function Ffa(a){a.element("span","class","label-container",function(){a.ya.render();a.element("span","class","label",es(a))})} function ds(a){var b,c;a=null!=(c=null==(b=rq(a.result.o))?void 0:b.getTimestamp())?c:0;return 0===a?"":Gfa.format(new Date(a/1E3))} function es(a){var b=Hfa,c=b.format,e,f;a=null!=(f=null==(e=rq(a.result.o))?void 0:x(e,1))?f:0;return c.call(b,a)+" views"} var Hfa=new al(5),Gfa=new Vr;var Ifa=new Map([[0,"gm/public"],[1,"gm/supervised_user_circle"],[2,"gm/question_answer"],[4,"gm/email"],[5,"gm/drive_document"],[6,"gm/language"]]),Jfa=new Map([[5,"Help article"],[2,"Community Post"],[3,"Troubleshooter"]]),Kfa=new Map([[5,"Check status"],[3,"Get started"]]);function is(a){tj.call(this);this.o=a;var b;this.nextPageToken=null!=(b=x(this.o,7))?b:"";this.results=Rd(this.o,qq,1).map(function(c){return new Hr(c)})} w(is,tj);is.prototype.Hc=function(){return this.results}; is.prototype.Uc=function(){return Rd(this.o,qq,6).map(function(a){return new Hr(a)})}; is.prototype.Lf=function(){var a;return null!=(a=this.o.Lf())?a:""}; is.prototype.Pc=function(){return this.o.Pc()?this.o.Pc():0a.Hc().length} ;function ms(a){tj.call(this);this.metadata=a} w(ms,tj);function ns(a){var b;return null!=(b=a.metadata.eC)?b:""} function os(a){var b;return null!=(b=a.metadata.searchFlowId)?b:""} ms.prototype.getStartIndex=function(){var a,b;return null!=(b=null==(a=this.metadata.searchQuery)?void 0:a.getStartIndex())?b:0}; ms.prototype.getQuery=function(){var a,b;return null!=(b=null==(a=this.metadata.searchQuery)?void 0:a.getQuery())?b:""};function ps(a){z.call(this,a)} w(ps,z);ps.prototype.getType=function(){return Fd(this,1,0)}; ps.prototype.setType=function(a){return y(this,1,a)}; ps.prototype.getId=function(){return Xd(this,2)}; ps.prototype.setId=function(a){return y(this,2,a)};function qs(a){z.call(this,a)} w(qs,z);function rs(a){var b=new qs;return y(b,1,a)} ;function ss(a){z.call(this,a)} w(ss,z);var ts=[2,3,4,5,6,7,8,9];function us(a){z.call(this,a)} w(us,z);us.prototype.getUrl=function(){return Xd(this,1)}; us.prototype.setUrl=function(a){return y(this,1,a)}; us.prototype.getTitle=function(){return Xd(this,2)}; us.prototype.setTitle=function(a){return y(this,2,a)};function vs(a){z.call(this,a)} w(vs,z);function ws(a){z.call(this,a)} w(ws,z);ws.prototype.Tg=function(){return Xd(this,1)}; function xs(a,b){return y(a,1,b)} ws.prototype.getTimestamp=function(){return Pd(this,Tk,2)}; ws.prototype.setTimestamp=function(a){return Sd(this,Tk,2,a)}; function ys(a,b){return y(a,3,b)} function zs(a,b){return y(a,5,b)} function As(a,b){return Sd(a,ss,6,b)} function Bs(a,b){return Sd(a,us,7,b)} function Cs(a,b){return Sd(a,vs,8,b)} ;function Ds(a){z.call(this,a,-1,Lfa)} w(Ds,z);var Lfa=[1];function Es(a){z.call(this,a)} w(Es,z);Es.prototype.getStatus=function(){return Fd(this,2,0)}; Es.prototype.getErrorMessage=function(){return Xd(this,3)}; Es.prototype.setErrorMessage=function(a){return y(this,3,a)};function Fs(a){z.call(this,a,-1,Mfa)} w(Fs,z);var Mfa=[2];function Gs(a){z.call(this,a)} w(Gs,z);function Hs(a){a=void 0===a?{}:a;this.Nl=new (void 0===a.hK?Nk:a.hK)({zg:tg().mld+"/v1",serviceName:"MoltronLoggingService"})} function Is(a,b,c,e){e=void 0===e?{}:e;var f=e.PO,h=e.ZF,k,l,p;Wa(function(r){if(!b||!c)return r.return();k=new ws;xs(k,b);k.setTimestamp((new Tk).setSeconds(Math.floor(Date.now()/1E3)));ys(k,c);zs(k,3);if(f||h){l=new ss;if(f){var u=rs(1);p=y(u,2,f);Ud(l,qs,3,ts,p)}h&&y(l,10,!0);As(k,l)}return Ma(r,Js(a,k),0)})} function Ks(a,b,c,e){var f=(void 0===e?{eB:!1}:e).eB,h,k,l,p,r,u;Wa(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 ws,xs(r,b),r.setTimestamp((new Tk).setSeconds(Math.floor(Date.now()/1E3))),ys(r,p),zs(r,1),f&&(u=new ss,y(u,1,3),As(r,u)),h.push(r);return Ma(A,Nfa(a,h),0)})} function Ls(a,b){var c,e;Wa(function(f){if(!b)return f.return();c=new ws;xs(c,b);c.setTimestamp((new Tk).setSeconds(Math.floor(Date.now()/1E3)));e=new ps;e.setType(3);e.setId("other");Sd(c,ps,4,e);zs(c,3);return Ma(f,Js(a,c),0)})} function Js(a,b,c){c=void 0===c?!1:c;var e,f,h,k;return Wa(function(l){if(1==l.o)return e=new Gs,Sd(e,ws,1,b),f={query:{key:tg().mkey}},c&&tg().li&&(h="",(k=(tg().ge||"").toLowerCase())&&(h=cp([{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})),Oa(l,2),Ma(l,a.Nl.post("log-moltron-interaction",e,Es,f),4);if(2!=l.o)return Pa(l,0);Ra(l);Na(l)})} function Nfa(a,b){var c;return Wa(function(e){if(1==e.o)return c=new Ds,Vd(c,ws,1,b),Oa(e,2),Ma(e,a.Nl.post("log-batch-moltron-interaction",c,Fs,{query:{key:tg().mkey}}),4);if(2!=e.o)return Pa(e,0);Ra(e);Na(e)})} ;function Ms(a,b,c,e){Hs.call(this);this.predictionId=a;this.o=b;this.dymTrackingId=c;this.sessionId=e} w(Ms,Hs);function Ns(a){var b,c;Wa(function(e){b=Os();xs(b,a.predictionId);zs(b,1);c=new vs;y(c,1,a.o?3:1);y(c,2,a.sessionId);Cs(b,c);return Ma(e,Js(a,b,!0),0)})} function gs(a,b,c){var e,f,h;Wa(function(k){e=Os();xs(e,a.predictionId);ys(e,b);zs(e,3);f=new vs;y(f,1,a.o?4:2);y(f,2,a.sessionId);Cs(e,f);h=new us;h.setUrl(c);Bs(e,h);return Ma(k,Js(a,e,!0),0)})} Ms.prototype.Ml=function(a,b){var c=this,e;return Wa(function(f){e=Ps(c,a,4,b);return Ma(f,Js(c,e,!0),0)})}; function Ps(a,b,c,e){var f=Os();xs(f,a.predictionId);ys(f,b);zs(f,3);e&&(b=new us,b.setUrl(e),Bs(f,b));e=new vs;y(e,1,c);y(e,2,a.sessionId);Cs(f,e);return f} function Os(){var a=new ws;a.setTimestamp((new Tk).setSeconds(Math.floor(Date.now()/1E3)));return a} ;function Qs(a,b,c,e,f,h,k){this.context=a;this.dymTrackingId=b;this.flow=c;this.ma=e;this.query=f;this.requestId=h;this.sessionId=k;this.o=new Ap(!0)} function Rs(a,b){a.o.ju(a.sessionId,a.requestId,b,a.query,a.flow,a.ma,a.context,a.dymTrackingId)} function hs(a,b,c,e){a.o.On(a.query,a.sessionId,b,c,a.requestId,e,a.flow,a.context,a.ma)} Qs.prototype.Ml=function(a,b,c){this.o.Ml(this.sessionId,this.requestId,a,b,c)};var Ofa=za(["aria-"]),Pfa=za(["role"]),Qfa=za(["data-stats-"]);function Ss(a){this.o=a||document} Ss.prototype.init=function(){for(var a=this,b=this.o.querySelectorAll(".zippy"),c={},e=0;ea.limit} function it(a){if(ft(a)){a.o=!a.o;a.Ha();var b=a.o;Vk(b?2:3,a.helpcenterName+"_symptoms_view_"+(b?"more":"less"),b?96:97)}} function ht(a,b){Vk(35,a.helpcenterName+"_symptoms_click_"+x(b,1)+(b.getActive()?"_active":""),98);b.getActive()||(a=a.getURL(b).split("?"),b="?"+a[1],b=Qp(b),Op(""+a[0]+b))} ;function jt(a){return(a=a.match(/^\w{2,3}([-_]|$)/))?a[0].replace(/[_-]/g,""):""} ;function kt(a){this.o=a;this.ua=this.Ca=null;this.ma=[];this.ya=document.createElement("input");this.Ba=this.va=-1;this.Sa=this.eq.bind(this);this.La=ih(this.Jx.bind(this),150);this.Oa=this.Fa=this.Ia=0;this.Aa=!1;this.Na=0;this.Ka=new uk;Zfa(this)} function Zfa(a){a.oa=document.createElement("div");a.oa.className=a.o.className;og(a.oa,"sc-select",!0);a.oa.setAttribute("tabindex",0);a.oa.setAttribute("aria-expanded",!1);a.oa.setAttribute("aria-haspopup","listbox");a.oa.setAttribute("aria-required",a.o.getAttribute("aria-required"));a.oa.setAttribute("role","listbox");a.oa.addEventListener("mousedown",function(e){qg(this.ua,"sc-select-show")?e.target==this.ua||this.ua.contains(e.target)||this.eq():0==e.button&<(this)}.bind(a)); a.oa.addEventListener("keydown",a.FD.bind(a));a.Ca=document.createElement("span");a.oa.appendChild(a.Ca);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.oa.appendChild(b);a.ua=document.createElement("ol");a.ua.setAttribute("role","listbox");a.ua.addEventListener("mousemove",function(){this.Aa=!0}.bind(a)); Hg()||a.ua.addEventListener("scroll",function(){0a-1?this.ma.length-1:a-1;b!=a&&!pt(this,b);)b=0>b-1?this.ma.length-1:b-1;a=b}nt(this,a);this.ma[a].focus();this.oa.setAttribute("aria-activedescendant", this.ma[a].id);qt(this);break;case 40:a.preventDefault();qg(this.ua,"sc-select-show")||lt(this);a=this.va;if(0===this.ma.length)a=-1;else{for(b=(a+1)%this.ma.length;b!=a&&!pt(this,b);)b=(b+1)%this.ma.length;a=b}nt(this,a);this.ma[a].focus();this.oa.setAttribute("aria-activedescendant",this.ma[a].id);qt(this)}}; function qt(a){if(-1!=a.va){var b=a.ma[a.va];b.offsetTopa.ua.scrollTop+a.ua.offsetHeight&&(a.Aa=!1,a.ua.scrollTop=b.offsetTop+b.offsetHeight-a.ua.offsetHeight)}} function ot(a){var b=a.o.getAttribute("aria-label")||"";b&&(-1!==a.o.selectedIndex&&(b+=" ("+a.o[a.o.selectedIndex].innerText+")"),a.oa.setAttribute("aria-label",b))} n.dispose=function(){this.oa&&Mh(this.oa);this.ua=this.Ca=this.oa=null;this.ma=[]}; 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 kt(b)};var rt=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 st(){var a=this;this.o=function(){}; this.ma=function(b){if("detail"in b){b=be(lq,b.detail.action);var c,e;if(null==(c=Pd(b,iq,1))?0:null==(e=jq(c))?0:10===Md(e,pq)){var f,h,k=null==(f=Pd(b,iq,1))?void 0:null==(h=jq(f))?void 0:Ad(h,10,pq);k&&a.ua(k)}else{var l,p;if(null==(l=Pd(b,iq,1))?0:null==(p=jq(l))?0:zd(p,17,pq)){var r;if(f=null==(k=Pd(b,iq,1))?void 0:null==(r=jq(k))?void 0:Yd(r,mq,17,pq))h=x(f,2),f=x(f,1),h&&f&&a.ua("/"+h+"/workflow/"+f)}}}}; this.oa=function(){var b=rt.get(1);b=new CustomEvent(b,{bubbles:!0,cancelable:!0});window.document.body.dispatchEvent(b)}; this.ua=function(b){Op(b,{Od:!0})}; window.document.body.addEventListener(rt.get(6),this.oa);window.document.body.addEventListener(rt.get(5),this.o);window.document.body.addEventListener(rt.get(2),this.ma)} var tt;function ut(){void 0===tt&&(tt=new st)} st.prototype.dispose=function(){window.document.body.removeEventListener(rt.get(2),this.ma);window.document.body.removeEventListener(rt.get(6),this.oa);window.document.body.removeEventListener(rt.get(5),this.o)}; window.sc_initSmartButtonController=function(){ut()};function zt(a,b){a=void 0===a?95:a;b=void 0===b?133:b;E.call(this,"sc.shared.ErrorSvg");this.o=new Oo("error_computer.svg");this.height=a;this.width=b} w(zt,E);zt.prototype.content=function(){var a=this;this.element("div","style",{width:this.width+"px",height:this.height+"px"},function(){a.o.render()})};function At(a){this.ma=a;this.o=null} At.prototype.Bg=function(a){var b=this;null===this.o&&(this.o=setTimeout(function(){null!==b.o&&(b.o=null,b.ma())},a))};function Bt(){var a=this;this.ua=function(b){if(!("detail"in b))throw Error("Invalid event type received for state update. Expected CustomEvent.");if(void 0===a.ma)throw Error("No state update callback was provided.");b=be(gq,b.detail);a.ma(b)}} n=Bt.prototype;n.sendInitCompleteEvent=function(){console.log("[Smart Buttons] Broadcasting init");Ct(4)}; n.sendButtonAction=function(a,b){a={action:null==a?void 0:ae(a),buttonClientRect:b};Ct(2,a)}; n.sendDescribeEvent=function(a){var b=new oq;a=t(a);for(var c=a.next();!c.done;c=a.next())Wd(b,1,nq,c.value);b={action:ae(b),buttonClientRect:void 0};Ct(5,b)}; n.sendButtonsRenderedEvent=function(){Ct(6)}; n.initHandshakeListener=function(a){this.o=a;window.document.body.addEventListener(rt.get(1),this.o)}; n.initStateUpdateListener=function(a){this.ma=a;window.document.body.addEventListener(rt.get(3),this.ua)}; n.dispose=function(){window.document.body.removeEventListener(rt.get(3),this.ua);this.o&&window.document.body.removeEventListener(rt.get(1),this.o)}; function Ct(a,b){a=rt.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({dM:0,cM:1,XL:2,aM:3,YL:4,bM:5,ZL:6});function Dt(a,b){this.o=a;this.metadata=b} Dt.prototype.Yc=function(a){this.o(a)}; function Et(){var a=this;this.ma=new Map;this.ua=function(){a.o.sendButtonsRenderedEvent()}; this.o=new Bt;bga(this)} var Ft;function Gt(){if(Ft&&!Ht)return Ft;Ft=new Et;Ht=!1;var a=Ft;a.o.initHandshakeListener(a.va.bind(a));a.o.initStateUpdateListener(a.oa.bind(a));a.o.sendInitCompleteEvent();return Ft} function cga(a,b,c,e){if(""===b)throw Error("Smart Button guid key is empty");a.ma.has(b)||a.ma.set(b,new Dt(e,c))} Et.prototype.oa=function(a){var b,c=null!=(b=x(a,5))?b:"";if(!this.ma.has(c))throw Error("Smart Button guid key "+c+" does not exist. Cannot update state.");var e;null==(e=this.ma.get(c))||e.Yc(a)}; Et.prototype.va=function(){console.log("[Smart Buttons] Received Handshake");var a=[];this.ma.forEach(function(b){a.push(b.metadata)}); this.o.sendDescribeEvent(a)}; Et.prototype.dispose=function(){this.o.dispose();this.ma.clear();var a;null==(a=cj().querySelector(".workflow"))||a.removeEventListener("dynamicFormRendered",this.ua)}; function bga(a){var b;null==(b=cj().querySelector(".workflow"))||b.addEventListener("dynamicFormRendered",a.ua)} var Ht=!1;function It(a){var b=a.buttonTitle,c=a.contentId,e=a.helpcenterName,f=a.dh;a=void 0===a.wu?!0:a.wu;E.call(this,"sc.smart_button.FatalErrorButton");this.o=new zt;this.buttonTitle=b;this.contentId=c;this.helpcenterName=e;this.dh=f;this.wu=a} w(It,E);It.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.wu&&a.element("div","class","^no-margin feedback-link",a.dh);a.element("div","class","^no-margin detail",function(){""!==a.buttonTitle&&a.element("div","class","^no-margin",(new sl("The button title is {buttonTitle}.")).format({buttonTitle:a.buttonTitle})); a.element("div","class","^no-margin",(new sl("The content ID is {contentId}.")).format({contentId:a.contentId}));a.element("div","class","^no-margin",(new sl("The help center name is {helpcenterName}.")).format({helpcenterName:a.helpcenterName}))})})}); dga(this)}; function dga(a){var b,c;null==(c=(b=window).sc_trackStatsImpressions)||c.call(b,[{type:99,id:a.contentId+"_button_"+a.buttonTitle}],!0)} ;var Jt=new Map([[1,"good"],[2,"error"]]);function Kt(){E.call(this,"sc.smart_button.Icon");this.o=!1} w(Kt,E);function Lt(a,b,c,e){a.ma=b;a.state=c;a.o=void 0===e?!1:e} Kt.prototype.content=function(){var a=this;if(void 0!==this.ma&&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=Jt.get(this.state);Jt.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.ma)||f.render()})}};function Mt(a){E.call(this,"sc.smart_button.SendFeedbackLink");var b=this;this.buttonTitle=a;this.o=function(){Nt(b)}; this.ma=function(c){b.Vb(c)}} w(Mt,E);Mt.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.ma)}; Mt.prototype.dispose=function(){var a;null==(a=this.anchor)||a.removeEventListener("click",this.o);var b;null==(b=this.anchor)||b.removeEventListener("keydown",this.ma)}; Mt.prototype.Vb=function(a){"key"in a&&(" "===a.key||"Enter"===a.key)&&Nt(this)}; function Nt(a){var b=oo();b.set("smart_button_title",a.buttonTitle);mo({payload:b,productId:Number(tg().fbid)})} ;function Ot(a){return 2===(null==a?void 0:x(a,3))} function Pt(a){return 1===(null==a?void 0:x(a,3))} function ega(a){a=null==a?void 0:Rd(a,hq,1);if(void 0===a)return!1;a=t(a);for(var b=a.next();!b.done;b=a.next())if(Qt(b.value))return!0;return!1} function Rt(a){a=St(a);if(0===a.length)return!1;a=t(a);for(var b=a.next();!b.done;b=a.next())if(!Qt(b.value))return!1;return!0} function St(a){return void 0===a?[]:(null==a?void 0:Rd(a,hq,1))||[]} function Qt(a){return void 0!==a&&xd(a,1)&&0!==x(a,1)} function Tt(a){return void 0!==a&&xd(a,1)&&1===x(a,1)} function Ut(a){return void 0!==a&&xd(a,1)&&2===x(a,1)} function fga(a){return a.filter(function(b){return Ut(b)})} ;function Vt(a,b){b=void 0===b?!1:b;E.call(this,"sc.smart_button.StateHeading");this.dh=a;this.Hi=b;this.va=[];this.headingState=0;this.icon=new Kt} w(Vt,E);Vt.prototype.content=function(){var a;!(Ot(this.o)||Pt(this.o)||(null==(a=this.o)?0:a.getHeading())||Rt(this.o))||gga(this)}; Vt.prototype.Yc=function(a){this.o=a;this.va=St(this.o);if(Ot(this.o))this.headingState=2;else if(Pt(this.o))this.headingState=1;else if(0=pu} function qu(a,b,c,e,f,h,k,l){this.rank=a;this.ua=b;this.o=c;this.oa=e;this.ma=f;this.icon=h;this.label=void 0===k?"":k;this.description=void 0===l?"":l} function ou(a){switch(a){case 0:return ru;case 30:return su;case 1:return tu;case 2:return pu;case 3:return uu;case 4:return vu;case 5:return wu;case 20:return xu;case 10:return yu;case 100:return zu;default:return ru}} n=qu.prototype;n.valueOf=function(){return this.rank}; n.getColor=function(){return Iq().Aj?this.o:this.ua}; n.Qe=function(){return this.icon}; n.getLabel=function(){return this.label}; n.getDescription=function(){return this.description}; var ru=new qu(0,"#F1F3F4","#F1F3F4"),su=new qu(1,"#F1F3F4","#F1F3F4","#0F9D58","#C4EED0",2,"Product Expert Alumni","Former Product Experts who are no longer members of the program"),tu=new qu(2,"#896E63","#896E63","#896E63","#B9ABA3",3,"Bronze Member","Community members with growing product knowledge who help other Google users by answers questions"),pu=new qu(3,"#9E9E9E","#9E9E9E","#5F6368","#C4C7C5",4,"Silver Product Expert","Community members with intermediate product knowledge who help other Google users by answering questions"), uu=new qu(4,"#FFB300","#F9AB00","#E37400","#F09D00",5,"Gold Product Expert","Community members with in-depth product knowledge who help other Google users by answering questions"),vu=new qu(5,"#77909D","#718792","#455A64","#E3E3E3",6,"Platinum Product Expert","Community members with advanced product knowledge who help other Google users and Product Experts "),wu=new qu(6,"#79A8FA","#79A8FA","#1A73E8","#A8C7FA",7,"Diamond Product Expert","Community members with product mastery who help other Google users and Product Experts"), xu=new qu(7,"#4285F4","#669DF6","#1A73E8","#A8C7FA",8,"Community Specialist","Google partners who help ensure the quality of community content"),yu=new qu(8,"#4285F4","#669DF6","#1A73E8","#A8C7FA",9,"Community Manager"),zu=new qu(9,"#4285F4","#669DF6","#1A73E8","#A8C7FA",9,"Google Employee","Google product team members and community managers");function Au(a){z.call(this,a,-1,wga)} w(Au,z);Au.prototype.getTitle=function(){return x(this,1)}; Au.prototype.setTitle=function(a){return y(this,1,a)}; Au.prototype.Qb=function(){return x(this,2)}; Au.prototype.Xc=function(a){return y(this,2,a)}; var wga=[3];function Bu(a){z.call(this,a)} w(Bu,z);function Cu(a){z.call(this,a)} w(Cu,z);function Du(a){z.call(this,a,-1,xga)} w(Du,z);var xga=[1];function Eu(a){z.call(this,a)} w(Eu,z);Eu.prototype.getQuery=function(){return x(this,1)}; Eu.prototype.setQuery=function(a){return y(this,1,a)};function Fu(a){z.call(this,a,-1,yga)} w(Fu,z);var yga=[1];function Gu(a){var b=a.items,c=a.messages,e=void 0===a.Qi?void 0:a.Qi,f=void 0===a.Zb?1:a.Zb,h=void 0===a.Xb?4:a.Xb;a=a.onClose;E.call(this,"hcfe.SearchSelect.Menu");var k=this;this.va=this.ma=!1;this.Qi=e;this.items=b;this.messages=c;this.Fq=-Infinity;this.Eq=Infinity;this.oa=new Nl({content:function(){zga(k)}, ci:4,Zb:f,Xb:h,Em:!0,onClose:a})} w(Gu,E);n=Gu.prototype;n.content=function(){this.oa.render()}; function zga(a){a.element("div","class",{root:!0,"root-loading":a.ma},function(){a.va&&a.element("div","class","search-container",function(){a.element("div","class","input-container",function(){a.ya=a.element("input","class","search-field","placeholder",a.messages.kC,"oninput",function(){var b;null==(b=a.Qi)||b.call(a)},"disabled",a.ma)}); a.element("div","class","icon","onclick",function(){var b;null==(b=a.ya)||b.focus()},function(){null!=a.Aa||(a.Aa=new yj({icon:"gm/search"})); a.Aa.render()})}); a.element("div","class","scroll-container","style",{minHeight:-Infinitya.Eq?a.Eq+"px":null},function(){a.ma&&a.element("div","class","loading-spinner",function(){(new Ll({size:"mspin-small"})).render()}); if(0a&&Infinity!==a&&(a=h);this.Fq=h;this.Eq=a;this.Ha();this.oa.open({anchor:b,le:c,Vd:e,Ob:f})}; n.close=function(){this.oa.close()}; function Dga(a){return!!a.Yj&&Array.isArray(a.items)&&0b.length){f=[{state:5}];a.Fa.set("",f);p.Wa(4);break}a.o.Rf(!0);a.o.open({Ob:!0});Oa(p,5);return Ma(p,a.hd(b.trim(),a.tc),7);case 7:f=p.ma;0===f.length&&(f=[{state:4}]);a.o.Rf(!1);Pa(p,4);break;case 5:h=Ra(p),f=[{state:3}],a.o.Rf(!1),a.o.open({Ob:!0}), av(h);case 4:return a.Fa.set("",f),k=a.o,l=k.ri,Ma(p,Vu(a,!0),8);case 8:l.call(k,p.ma),a.o.Ha(),a.o.open({Ob:!0}),Na(p)}})} function Mga(a,b){return function(){a.ya=b;a.o.close();a.Ba&&a.Ba()}} Qu.prototype.getValues=function(){for(var a=[],b=t(this.ma.keys()),c=b.next();!c.done;c=b.next()){(c=c.value)&&!a.includes(c)&&a.push(c);c=t(this.ma.get(c));for(var e=c.next();!e.done;e=c.next())(e=e.value.vd)&&!a.includes(e)&&a.push(e)}return a}; function Xu(a,b){var c,e;return Wa(function(f){if(1==f.o)return Oa(f,2),Ma(f,a.Rb(b,a.tc),4);if(2!=f.o){c=f.ma;if(!c||0==c.length)return bv(a,b,Error("No results")),f.return();a.ma.set(b,c);return Pa(f,0)}e=Ra(f);bv(a,b,e);Na(f)})} function bv(a,b,c){a.ma.set(b,[{state:2}]);a.Za&&a.Aa&&(a.Aa=!1,a.Za(c),Su(a));av(c)} function Su(a){a.oa=new zo({placeholder:a.Bf,nc:!0,Pd:function(){a.va=a.oa.getText().replace(Pu,"");a.Rd()}, ariaRequired:a.Kb})} function av(a){a=new CustomEvent("cid_selector_fetch_error",{detail:a});cj().dispatchEvent(a)} function Ru(a){a.Fa.clear();a.Fa.set("",[Wu()])} function Wu(){return{value:"",trigger:function(){}, items:[],state:0}} ;function cv(a){tj.call(this);this.ariaLabel=this.text="";this.checked=this.disabled=!1;this.tabIndex=0;this.wf(a)} w(cv,tj);n=cv.prototype;n.wf=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.Jd;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.Jd=k}; n.getText=function(){return this.text}; n.getContent=function(){return this.content}; n.Kf=function(){return this.ariaLabel}; n.Cc=function(){return this.disabled}; n.isChecked=function(){return this.checked}; function dv(a,b){if(a.isChecked()!==b){a.checked=b;var c;null==(c=a.Jd)||c.call(a,b);a.Ea(0)}} ;function ev(a){a=void 0===a?{}:a;E.call(this,"sc.shared.MaterialCheckbox");this.model=a instanceof cv?a:new cv(a);this.overlay=new zj({Gm:!0});this.o=null;this.watch(this.model)} w(ev,E);ev.prototype.content=function(a){var b=this;a&&this.model.wf(a);this.element("label","class",{root:!0,disabled:this.model.Cc()},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.Kf(),"tabindex",b.model.tabIndex,"disabled",b.model.Cc(),"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()})}; ev.prototype.onChange=function(){this.o&&dv(this.model,this.o.checked)}; ev.prototype.isChecked=function(){return this.model.isChecked()};var fv={item:!0,highlight:!0,"item-top-separator":!1,"item-bottom-separator":!1,"item-with-description":!1},gv=Object.assign({},fv),hv=Object.assign({},fv,{highlight:!1}),Qga={DEFAULT:fv,HELPCENTER_FIELD_SELECT:gv,HELPCENTER_FIELD_SELECT_WITH_DESCRIPTION:Object.assign({},gv,{"item-with-description":!0}),MULTI_SELECT:hv,MULTI_SELECT_WITH_SEPARATOR:Object.assign({},hv,{"item-top-separator":!0}),WITH_BOTTOM_SEPARATOR:Object.assign({},fv,{"item-bottom-separator":!0})}; function iv(a){var b=a.items,c=a.tu,e=void 0===a.Zb?5:a.Zb,f=void 0===a.Xb?5:a.Xb,h=void 0===a.qk?0:a.qk,k=void 0===a.ci?0:a.ci,l=a.onClose,p=void 0===a.maxHeight?void 0:a.maxHeight,r=a.width,u=void 0===a.Ot?!1:a.Ot,A=void 0===a.ls?!0:a.ls;a=void 0===a.Fc?"px":a.Fc;E.call(this,"sc.shared.MaterialMenu");var la=this;this.items=b;this.tu=c;this.maxHeight=p;this.width=r&&A?Math.max(112,Math.min(280,r)):r;this.Ot=u;this.ls=A;this.Fc=a;this.o=new Nl({content:function(){return void Rga(la)}, Zb:e,Xb:f,qk:h,ci:k,Em:!0,onClose:l,Wl:!0,Fc:this.Fc})} w(iv,E);n=iv.prototype;n.setWidth=function(a){this.width=this.ls?Math.max(112,Math.min(280,a)):a;this.Ha()}; n.content=function(){this.o.render()}; function Rga(a){var b=void 0!==a.width?"px"===a.Fc?a.width:(a.width/16).toFixed(2):null;b=b?""+b+a.Fc:null;a.element("div","role","listbox","tabindex","-1","aria-expanded",a.o.Jb(),"class",{root:!0,"omit-top-rounded-corners":a.Ot},"style",Object.assign({},{width:b},a.maxHeight?{maxHeight:a.maxHeight,overflowY:"auto"}:void 0),function(){a.Yj(a.items,0)})} n.Yj=function(a,b){var c=this,e={};a=t(a);for(var f=a.next();!f.done;e={ad:e.ad},f=a.next())if(e.ad=f.value,!e.ad.Qd||e.ad.Qd())f=this.element("div",function(h){return function(){var k;c.element("button","type","button","role","option","class",Qga[h.ad.kq||"DEFAULT"],"disabled",null!=(k=h.ad.disabled)?k:null,"data-item-id",void 0!==h.ad.itemId?h.ad.itemId:"","aria-selected",(c.tu===h.ad.value).toString(),"onclick",function(){c.tu=h.ad.value;h.ad.trigger()},function(){h.ad.icon&&Sga(c,h.ad.icon,h.ad.Wg); c.element("span","class","item-label","style",{"padding-left":5*b+"px"},function(){switch(typeof h.ad.value){case "string":ij(h.ad.value);break;case "function":h.ad.value()}})})}}(e)),e.ad.tooltipText&&(new Do({text:e.ad.tooltipText, trigger:f})).render(),e.ad.Yj&&Array.isArray(e.ad.items)&&0");tj.prototype.onChange.call(this,function(){qv(e,a)})}else{var f="Notifying "+(null!=c?c:""); tj.prototype.onChange.call(this,a,function(){qv(f,b)})}}; n.Ea=function(a){var b=this,c;qv(this.Dp+" sent "+(null!=(c=this.Ka[a])?c:"UNKNOWN"),function(){return void tj.prototype.Ea.call(b,a)})};var Wga=new Map([[5,"CHECKBOX"],[3,"CID_SELECTOR"],[4,"GMB_LISTING_SELECTOR"],[1,"HIDDEN"],[2,"SELECT"],[6,"SELECT_WITH_FILTERING"]]);function sv(a,b){var c=a.Tp(),e=b.Tp();if(c&&e)return Xga(c,e);c=a.Yp();e=b.Yp();if(c&&e)return c.hp()!==e.hp()?!1:!c.ot()&&!c.WA()||!e.ot()&&!e.WA()?!0:c.getContactType()!==e.getContactType()||c.Vs()!==e.Vs()?!1:!0;a=a.Zp();b=b.Zp();return a&&b?a.ua()!==b.ua()?!1:!0:!1} function Xga(a,b){a=a.ua();if(!a)return!1;var c=b.ua();return c?a.some(function(e){return c.some(function(f){return e.ip()!==f.ip()?!1:!e.Qr()&&!e.sz()||!f.Qr()&&!f.sz()?!0:e.Or()!==f.Or()||e.Pr()!==f.Pr()?!1:!0})}):!1} ;var Yga=za(["https://www.google.com/recaptcha/api.js?trustedtypes=true&render=explicit&onload=",""]);function tv(a,b,c){this.o=c;this.clientId=0;this.load(a,void 0===b?function(){}:b)} tv.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");If(e,Sf(Yga,"sc_renderRecaptcha"));document.head.appendChild(e)}; tv.prototype.getResponse=function(){var a=this,b,c;return Wa(function(e){switch(e.o){case 1:if(!window.grecaptcha)return e.return("");b=window.grecaptcha;Oa(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.ma,e.return(c||"");case 2:return Ra(e),e.return("")}})};var uv={};var Zga={NM:0,jz:1,0:"FIELDS_CREATED",1:"FIELD_VALUES"};function vv(a){rv.call(this,void 0===a?"HelpcenterFields":a,Zga);this.complete=!1;this.kd=""} w(vv,rv);vv.prototype.Gb=function(){return this.complete}; vv.prototype.uc=function(a,b){function c(p){return a?!!p.getId():p.Gb()} function e(p){return p.Xd()} b=wv(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.bI()})}).map(e).filter(c))?f:[],k; h=h.concat(null!=(k=b.filter(function(p){return p.placements.some(function(r){return r.kI()})}).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.lI()})}).map(e).filter(c))?l:[])}; function wv(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 sv(h,k)})}):!0:!1})} vv.prototype.aq=pa(31);vv.prototype.getInjectedFrdValuesEventId=function(){return this.kd};var $ga=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 xv(a){var b;return null!=(b=$ga.get(a.type))?b:"gm/drive_document"} function yv(a,b){var c=xv(a);return"CT_WORKFLOW"===a.type?new Qo({icon:0}):new yj({icon:c,size:b})} ;function aha(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 zv(a,b,c,e,f,h,k){E.call(this,"SmartJourney.Onebox");this.Ja=a;this.oneboxResult=b;this.openInNewWindow=c;this.o=e;this.ma=f;this.va=h;this.onClick=k;this.oa=new yj({icon:"gm/open_in_new"})} w(zv,E);zv.prototype.content=function(){var a=this;this.element("div","class",{result:!0,separator:this.va},function(){var b=a.oneboxResult,c;null==(c=$l)||c.ao([{type:a.o}]);"CT_SNIPPET"!==b.type&&bha(a);cha(a);dha(a);if("CT_SNIPPET"!==b.type)switch(a.oneboxResult.type){case "CT_WORKFLOW":uv.useHairlineButtonInWorkflowOnebox?eha(a,a.Ja.get("Onebox.GET_STARTED")):Av(a,a.Ja.get("Onebox.GET_STARTED"));break;default:Av(a,a.Ja.get("Onebox.READ_MORE"))}})}; function bha(a){a.element("div","class","content-header",function(){var b=xv(a.oneboxResult),c=yv(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.Ja.get("Onebox.HELP_ARTICLE");switch(a.oneboxResult.type){case "CT_WORKFLOW":b=a.Ja.get("Onebox.TROUBLESHOOTER")}a.element("span","class","content-label",b)})} function cha(a){var b=a.oneboxResult.title;a.openInNewWindow&&(b+=" ("+a.Ja.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",Cq(null!=(c=a.oneboxResult.title)?c:""))})} function dha(a){var b=a.element("div","class","snippet",function(){var c;ij(Cq(null!=(c=a.oneboxResult.snippet)?c:""))}); aha(b,a.openInNewWindow,a.Ja.get("Onebox.OPENS_IN_A_NEW_WINDOW"))} function Av(a,b){var c=b;a.openInNewWindow&&(c+=" ("+a.Ja.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.ma,"data-stats-action",8,"aria-label",c,"onclick",a.onClick,function(){a.element("span",b);a.openInNewWindow&&a.oa.render()})} function eha(a,b){var c=b;a.openInNewWindow&&(c+=" ("+a.Ja.get("Onebox.OPENS_IN_A_NEW_WINDOW")+")");a.element("div","class","workflow-action-link","data-stats-ve",a.ma,"data-stats-action",8,"onclick",a.onClick,new Gk({ariaLabel:c,icon:"gm/arrow_forward",Mc:!0,style:3,text:b,trigger:function(){Op(a.oneboxResult.url,{Od:a.openInNewWindow})}}))} ;function Bv(a,b){var c;return Wa(function(e){if(1==e.o)return Ma(e,b.post({endpoint:"classifications",json:!0,queryParams:{v:"1"},request:fha(a)}),2);c=e.ma;return e.return(gha(c,a.method))})} function fha(a){switch(a.method){case "get_categories":return{resource:{get_categories:{description:a.issueDescription,frd_value:a.jd.map(function(b){return b.YC()}), 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 gha(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{aK: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 Cv(a,b){var c;return Wa(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 Dv(a){tj.call(this);this.strings=a} w(Dv,tj);Dv.prototype.get=function(a){var b;return null!=(b=this.strings[a])?b:""}; Dv.prototype.set=function(a){this.strings=Object.assign({},this.strings,a);this.Ea()};function Ev(){tj.apply(this,arguments);this.ma=this.active=!1;this.o=!0;this.completed=!1;this.error="";this.hidden=this.disabled=!1} w(Ev,tj);n=Ev.prototype;n.setActive=function(a){if(a!==this.active){if(this.active=a)this.ma=!0;this.Ea(0)}}; n.isActive=function(){return this.active}; function Fv(a,b){b!==a.o&&(a.o=b,a.Ea(2))} function Gv(a,b,c){if(b!==a.completed||(void 0===c?0:c))a.completed=b,a.Ea(3)} n.setError=function(a){a!==this.error&&(this.error=a,this.Ea(4))}; n.getError=function(){return this.error}; n.Qc=function(){return""!==this.error}; n.setDisabled=function(a){a!==this.disabled&&(this.disabled=a,this.Ea(5))}; n.Cc=function(){return this.disabled}; n.setHidden=function(a){a!==this.hidden&&(this.hidden=a,this.Ea(6))}; n.isHidden=function(){return this.hidden}; function Hv(a){return!a.isHidden()&&!a.Cc()} function Iv(a){return Hv(a)&&a.ma} n.reset=function(){!1!==this.ma&&(this.ma=!1,this.Ea(1));Fv(this,!0);Gv(this,!1);this.setError("")}; n.Nq=pa(32);function Jv(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(Jv,tj);n=Jv.prototype;n.getError=function(){return this.error}; n.setError=function(a){a!==this.error&&(this.error=a,this.Ea(0))}; n.getTitle=function(){return this.title}; n.Af=function(){return this.steps}; function Kv(a){return a.steps.findIndex(function(b){return b.Qa().isActive()})} function hha(a){if(null!==Lv(a)){var b=Kv(a);if(b=a.steps.slice(b+1).find(function(f){return Hv(f.Qa())}))Mv(a,b); else{var c;if(null==(c=Lv(a))?0:c.Qa().completed){var e;null==(e=Lv(a))||e.Qa().setActive(!1);a.Ea(2)}}}} function Mv(a,b){if(null!==b&&Hv(b.Qa())){var c=Lv(a);if(!(c&&a.steps.indexOf(c)Search Help Center
true
35
false
false