Skip to main content
"+k+"\n
"+h+"":k?"
"+k+"":h?""+h+"":""}else k=void 0;h=a.mf;if(a.Ua.Ar){var n=new ev;var p=(new $v).setTitle(a.Ua.getTitle());var r=a.Ua.getDescription();p=rh(p,2,r);p=rh(p,3,f);n=ei(n,Zla,p)}else n=
void 0;Zv(f,c,2,void 0,e,k,!0,h,n)}:function(){fw(a);
Xla({md:"genieSkillEntryButtonId",entryPoint:1},{Tn:!0,sessionConfigId:a.o,Of:Vv(a.Ua),mf:a.mf})};
case 2:return function(){fw(a);Pf(b,or,7,qr)&&Xla({md:Yg(ih(b,or,7,qr),3),entryPoint:1},{Tn:!0,sessionConfigId:a.o,Of:Vv(a.Ua),mf:a.mf})};
case 4:return function(){if(!gh(b,9,qr)){var c;(c=a.ma)==null||Yfa(c);fw(a)}};
default:return function(){fw(a)}}}
function fw(a){Uv({action:35,Ua:a.Ua,viewType:a.we.Pd})}
function ew(a){switch(a){case 1:a=bma.get(z().hc);if(qo()){var b;return(b=a==null?void 0:a.concat("_dark"))!=null?b:void 0}return a;case 2:return"gm/arrow_forward";case 3:return"gm/chat_spark"}}
function ema(a){a.element("div","class","chat-button",new kq({text:"Chat to learn more",style:11,trigger:function(){Uv({action:22,Ua:a.Ua,actionId:"genieChatToLearnMore",viewType:a.we.Pd});Zv("",z().hc+"-genie_cta",1,"genieChatToLearnMore",Vv(a.Ua))}}))}
;function gw(a){var b=a.vl;a=a.policyData;E.call(this,"sc.discovery.genie.v2.Card");var c=this;this.o=new br({borderRadius:"1rem",padding:"0.75rem 1rem",Xk:!1,backgroundColor:5,content:function(){gma(c)}});
this.policyData=a;this.vl=b;this.watch(this.vl)}
t(gw,E);gw.prototype.content=function(){this.element("div","class","root",this.o)};
function gma(a){a.element("div","class","card-root",function(){hma(a,a.policyData.Sc());a.element("div","class","content",function(){a.element("div","class","content-title",function(){var c=a.policyData.getTitle();c&&a.element("div","class","title",c);(c=Yg(a.policyData,5))&&a.element("div","class","sub-title",c)});
var b=a.element("div","class","content-items",function(){var c,e=((c=xg(a.policyData,yr,2))==null?void 0:zg(c,xr,1,Xf()))||[];c=x(e);for(e=c.next();!e.done;e=c.next())e=e.value,e=e.getValue()?e.getKey()+": "+e.getValue():e.getValue(),a.element("div","class","content-item",e)});
ima(a.vl,b.offsetHeight);a.vl.Bl!==0&&(b.style.height=a.vl.Bl+"px")});
a.element("div","class","context",function(){var b=wg(a.policyData,wr,4);b&&a.element("div","class",{label:!0,review:b.getStatus()===1,closed:b.getStatus()===2},b.getText())})})}
function hma(a,b){a:{switch(b){case 4:b="gm/critical";break;case 5:b="gm/appeal_review";break;case 6:b="gm/appeal_closed";break;default:b="";break a}b=qo()?b+"_dark":b}b&&a.element("div","class","icon",new gq({icon:b,size:44}))}
;function jma(a){a=a.Bl;bq.call(this);this.Bl=a}
t(jma,bq);function ima(a,b){var c=a.Bl!==0&&a.Blc?a.experienceType===2?"collapsed":"none":"expanded"}break;default:b="none"}tw(a,b)}else tw(a,"none")}
function ow(a){return a.zt||z().env==="TEST"}
function Ama(a){return ow(a)&&!!a.oa&&a.oa.length>1}
function Bma(a){var b;return(b=a.oa)!=null?b:[]}
function Cma(a,b){if(Yg(b,2)){var c;a.o=(c=a.genieData)==null?void 0:c.find(function(e){var f;return((f=Br(e))==null?void 0:Yg(f,2))===Yg(b,2)});
a.Ea(3)}}
function tw(a,b){b!==a.Pd&&(a.ya=a.Pd,a.Pd=b,a.Ea(2))}
function uma(a,b,c){switch(a.experienceType){case 2:if(a.externalCid===void 0&&a.issueType===8)throw new lw("No external cid found");var e;var f=new ts;f=kg(f,4,Te,a.externalCid===void 0?"":String(a.externalCid),void 0,Ve);f=ig(f,7,Be(a.extCidCount),"0");c=kg(f,6,Te,c,void 0,Ve);c=uh(c,3,a.experienceType);c=uh(c,2,a.issueType);a=(e=a.La)!=null?e:[];a=Hg(c,8,tr,a);b!==void 0&&kg(a,1,Te,String(b),void 0,Ve);b=ws(vs(new us,Hr()),3);a=Ag(b,ts,4,a);return Dha(a);case 1:if(a.externalCid===void 0)throw new lw("No external cid found");
if(!a.article.getContent())throw new lw("No article content found");e=new ts;e=kg(e,4,Te,String(a.externalCid),void 0,Ve);e=ig(e,7,Be(a.extCidCount),"0");e=uh(e,3,a.experienceType);b!==void 0&&kg(e,1,Te,String(b),void 0,Ve);b=new us;c=Hr();a=(new jr).setContent([a.article.getTitle(),Rg(a.article,5),a.article.getContent()].join("\n"));a=Ag(c,jr,5,a);a=ws(vs(b,a),3);a=Ag(a,ts,4,e);return Dha(a);default:throw new lw("Unsupported experience type");}}
function pw(a,b){b!==0&&(a.ma=b,a.Ea(0),sw(a))}
function qma(a,b){if(xma())return-1;var c,e,f;return(f=(c=a.qa)==null?void 0:(e=c.find(function(h){return h.cid===b}))==null?void 0:e.XB)!=null?f:void 0}
function oma(a,b){var c,e,f;return(f=(c=a.qa)==null?void 0:(e=c.find(function(h){return h.XB===b}))==null?void 0:e.cid)!=null?f:void 0}
function rma(a){var b;return(b=qw(a,210,"ExtCidCount"))!=null?b:0}
function sma(a){var b=[];b.push.apply(b,Fa(a.qa.map(function(c){var e=new tr;e=rh(e,1,String(c.cid));return rh(e,2,String(c.XB))})));
return b}
function wma(a){return a.filter(function(b){return Nf(b,tr,6)}).map(function(b){return Br(b)})}
function qw(a,b,c){var e;return(e=nw(a,b,c))==null?void 0:Vg(Gm(e)[0],3)}
function yma(a,b,c){var e;return(e=nw(a,b,c))==null?void 0:lh(Gm(e)[0],1)}
function nw(a,b,c){return zg(a.customerContext,Fm,5,Xf()).find(function(e){return Zg(e,1,0)===b&&Yg(e,2)===c})}
function vma(a){var b=a.experienceType;var c=a.issueType;var e=a.sessionId;var f=a.customerId;var h=a.externalCid;var k=a.viewType;var n=a.isError;a=a.errorMessage;return n?b===1?JSON.stringify({experienceType:b,errorMessage:a,sessionId:e}):JSON.stringify({experienceType:b,issueType:c,errorMessage:a,sessionId:e}):b===1?JSON.stringify({experienceType:b,sessionId:e,customerId:f,externalCid:h,viewType:k}):JSON.stringify({experienceType:b,issueType:c,sessionId:e,customerId:f,externalCid:h,viewType:k})}
function xma(){var a=z();return a.env!=="PROD"&&a.hc==="support_content_dev"&&a.pid==="10693991"}
function zma(a,b){if(!b)return"";var c,e=a.Ma;a=a.Qa.Vc(b);return(c=e.parseFromString(qn(a),"text/html").body.textContent)!=null?c:""}
;function uw(a){a=a.Ua;var b,c=wv(sv(rv(qv(new pv,z().lang),(b=z().support_journey_id)!=null?b:""),z().visit_id),z().mendel_ids),e;dv.call(this,c,c,{authUser:z().au,isDarkMode:z().dark,wk:(e=z().genie_iframe_origin)!=null?e:"https://support.google.com",bS:!0,ui:function(h){switch(h.action){case "thumbUp":Uv({action:10,Ua:f.Ua});break;case "thumbDown":Uv({action:11,Ua:f.Ua});break;case "feedbackInitialized":f.oa.complete()}}});
var f=this;this.ya=this.xr.bind(this);this.Ba=this.onError.bind(this);this.oa=new mma({timeout:3E3,xr:this.ya,onError:this.Ba});this.ma="embedOptions";this.qa="genieUiMessageChannel";this.Ua=a}
t(uw,dv);l=uw.prototype;l.Tv=function(a){var b=this;return Ya(function(c){b.oa.reset();b.oa.load();Mq(20,"wizFeedbackButton",262);rw(b.Ua,1);b.ua.promise.then(function(){Mq(47,"wizFeedbackButton",262)});
return c.return(dv.prototype.Tv.call(b,a))})};
l.wC=function(){return"embed/genie"};
l.Cz=function(a){dv.prototype.Cz.call(this,a);a.style.height="3rem";a.style.visibility="hidden"};
l.xr=function(){Mq(15,"wizFeedbackButton",262);rw(this.Ua,2);this.o&&(this.o.style.visibility="visible")};
l.onError=function(){Mq(21,"wizFeedbackButton",262);rw(this.Ua,3)};function vw(a){a=a.Ua;E.call(this,"sc.discovery.genie.FeedbackButton");var b=this;this.va=new kq;this.ua=new kq;this.ya=Xp();this.o=this.ma=!1;this.Ua=a;this.Ua.onChange(1,function(){b.Ua.ua===3&&b.Ja()});
this.Ba=new uw({Ua:a})}
t(vw,E);vw.prototype.content=function(){var a=this;this.element("div","class",{root:!0,"boq-wiz":ww(this),rce:!ww(this)},function(){if(ww(a)){var b=a.mj("div",a.ya,"class","boq-wiz-container","");a.oa!==b&&(a.oa=b,a.Ba.initialize(a.oa))}else Dma(a)})};
function Dma(a){a.element("span","class","label","aria-live","polite",a.dh());a.element("div","class","buttons",function(){a.va.render({icon:"gm/thumb_up_alt",hj:20,Mb:a.ma?0:"color-label",trigger:function(){a.ma=!a.ma;a.o=!1;a.Ja();Uv({action:10,Ua:a.Ua})},
ariaLabel:"Helpful",xd:"button"});a.ua.render({icon:"gm/thumb_down_alt",hj:20,Mb:a.o?0:"color-label",trigger:function(){a.o=!a.o;a.ma=!1;a.Ja();Uv({action:11,Ua:a.Ua})},
ariaLabel:"Unhelpful",xd:"button"})})}
vw.prototype.dh=function(){return this.o?"Thanks for your feedback!":this.ma?"Thanks for your feedback! \ud83c\udf89":"Helpful?"};
function ww(a){return a.Ua.xt&&a.Ua.ua!==3}
;function xw(a){var b=a.accounts;var c=a.Lm;var e=a.UD;a=a.onOpen;E.call(this,"sc.discovery.genie.v2.Identifier.CidSelector");var f=this;this.accounts=b;this.Lm=c;this.UD=e;this.onOpen=a;b=this.ci();var h;this.menu=new Es({items:b,vv:(h=b.find(function(k){return k.ag===Yg(f.Lm,2)}))==null?void 0:h.value,
Vs:!1,width:360,maxHeight:"16rem",lc:3,mc:4,onClose:function(){f.o.Dz("gm/arrow_drop_down")}});
this.o=new kq({text:Ema(this),icon:"gm/google_ads_logo",wp:"gm/arrow_drop_down",trigger:function(){return void f.open()},
padding:"0.25rem 0.75rem"})}
t(xw,E);xw.prototype.content=function(){var a=this;this.element("div","class","root",function(){a.element("div","class","trigger",a.o);a.menu.render()})};
xw.prototype.ci=function(){var a=this;return[{value:"Accounts with a similar issue:",trigger:function(){},
disabled:!0}].concat(Fa(this.accounts.map(function(b){var c=Yg(b,2)===Yg(a.Lm,2),e=Wla(Yg(b,2)),f=Yg(b,3).trim(),h=!f;return{value:function(){return a.element("div","class",{"customer-info":!0,"customer-selected":c},function(){a.element("div","class",{check:!0,"check-hidden":!c},new gq({icon:qo()?"gm/check_white":"gm/check_blue",size:24}));a.element("div","class",{"account-name":!0,"account-name-empty":h},h?"Unnamed account":f);a.element("div","class","ext-cid",e)})},
trigger:function(){a.Lm=b;a.UD(b);a.menu.close()},
ag:Yg(b,2)}})))};
function Ema(a){var b=Yg(a.Lm,3).trim(),c=Yg(a.Lm,2);return Yv(""+(b?Yg(a.Lm,3):"Account")+" "+Wla(c))}
xw.prototype.open=function(){this.menu.open({anchor:this.o.getElement(),Nb:!1,Ge:12});this.o.Dz("gm/arrow_drop_up");this.onOpen()};var Fma=new Map([["adwords_policy_center","gm/google_ads_logo"],["adwords3","gm/google_ads_logo"]]);function yw(a){var b=a.identifierData;a=a.Ua;E.call(this,"sc.discovery.genie.v2.Identifier");this.identifierData=b;this.Ua=a}
t(yw,E);yw.prototype.content=function(){var a=this;this.element("div","class","root",function(){a.element("div","class","chips",function(){a.Ua.issueType===2&&Ama(a.Ua)&&a.element("div","class","cid-selector",new xw({accounts:Bma(a.Ua),Lm:Br(a.Ua.o),UD:function(f){Cma(a.Ua,f)},
onOpen:function(){var f,h=a.Ua.experienceType,k=a.Ua.issueType,n,p,r,u;var w=(u=(n=a.Ua.o)==null?void 0:(p=xg(n,rr,4))==null?void 0:(r=zg(p,pr,1,Xf())[0])==null?void 0:r.getId())!=null?u:"";Vla(30,{experienceType:h,issueType:k,actionId:w,sessionId:Vv(a.Ua),customerId:Wv(a.Ua),externalCid:Xv(a.Ua),viewType:a.Ua.Pd,genieDataCount:(f=a.Ua.genieData)==null?void 0:f.length})}}));
var b=zg(a.identifierData,ur,4,Xf())||[];b=x(b);for(var c=b.next(),e={};!c.done;e={mB:void 0,AK:void 0},c=b.next())c=c.value,e.mB=Gma(c.Sc()),e.AK=Yv(c.getLabel()),a.element("div","class","chip",function(f){return function(){f.mB&&a.element("div","class","chip-icon",new gq({icon:f.mB,size:16}));a.element("div","class","chip-label",f.AK)}}(e))});
a.element("div","class","title","role","heading","aria-level","2",a.identifierData.getTitle())})};
function Gma(a){switch(a){case 1:return Fma.get(z().hc);case 2:return qo()?"gm/timer":"gm/timer_primary";case 3:return qo()?"gm/information_spark_primary_dark":"gm/information_spark_primary"}}
;function zw(a){a=a.Ua;E.call(this,"sc.discovery.genie.v2.ExpandedView");this.Ua=a;this.genieData=a.o;var b,c;this.isGenai=(c=(b=a.metadata)==null?void 0:Tg(b,2))!=null?c:!1}
t(zw,E);
zw.prototype.content=function(){var a=this;this.element("div","class","root",function(){if(Nf(a.genieData,vr,1)){var b;a.element("div","class","identifier",new yw({identifierData:(b=xg(a.genieData,vr,1))!=null?b:new vr,Ua:a.Ua}))}if(Nf(a.genieData,sr,2)){var c;a.element("div","class","content",new iw({contentData:(c=xg(a.genieData,sr,2))!=null?c:new sr}))}zg(a.genieData,zr,5,Xf()).length>0&&a.element("div","class","card-list",new hw({vE:[].concat(Fa(yg(a.genieData,zr,5)))}));Nf(a.genieData,rr,4)&&
(b=new Sv({actionData:xg(a.genieData,rr,4),actionType:0,Pd:"expanded"}),a.element("div","class","action",new dw({we:b,Ua:a.Ua})));Hma(a)})};
function Hma(a){a.element("div","class","footer",function(){a.element("div","class",{feedback:!0,"align-with-action":!a.isGenai},new vw({Ua:a.Ua}));a.isGenai&&a.element("div","class","disclaimer",new kw)})}
;function Aw(a){this.Aa=of(a)}
t(Aw,bi);function Bw(a,b){return hg(a,3,b,qe)}
;Aw.prototype.Ca=uk([0,Xj,-3]);function Ima(a){if(!(a&&a instanceof bi))throw Error("Value is not proto message.");return Ic(a.serialize(),2)}
;function Jma(a,b,c,e){if(a){var f="";c&&c.length&&(f="; track:"+c.join(",").trim());c="";e&&e.length&&(c="; "+e.join("; ").trim());a.setAttribute("jslog",b+f+c);a.LSWHIf=void 0}}
;var Cw={ARROW_KEYS:{string:"arrow_keys",Vd:"Wxn7ub"},AUTOMATED:{string:"automated",Vd:"wjpLYc"},CLICK:{string:"click",Vd:"cOuCgd"},DRAGEND:{string:"dragend",Vd:"RlD3W"},DROP:{string:"drop",Vd:"DaY83b"},GENERIC_CLICK:{string:"generic_click",Vd:"szJgjc"},HOVER:{string:"hover",Vd:"ZmdkE"},IMPRESSION:{string:"impression",Vd:"xr6bB"},KEYBOARD_ENTER:{string:"keyboard_enter",Vd:"SYhH9d"},KEYPRESS:{string:"keypress",Vd:"Kr2w4b"},LONG_PRESS:{string:"long_press",Vd:"tfSNVb"},MOUSEOVER:{string:"mouseover",Vd:"FrfE3b"},
RIGHT_CLICK:{string:"rightclick",Vd:"CYQmze"},SCROLL:{string:"scroll",Vd:"XuHpsb"},SWIPE:{string:"swipe",Vd:"eteedb"},VIS:{string:"vis",Vd:"HkgBsf"}};function Kma(a){if(Lma.has(a))return Lma.get(a);throw Error("Unrecognized EventLabel "+a+".");}
function Mma(a){for(var b=new Map,c=x(Object.keys(a)),e=c.next();!e.done;e=c.next())e=e.value,b.set(a[e].string,a[e].Vd);return b}
for(var Lma=Mma(Cw),Dw=new Map,Nma=x(Object.keys(Cw)),Ew=Nma.next();!Ew.done;Ew=Nma.next()){var Oma=Ew.value;Dw.set(Cw[Oma].Vd,Cw[Oma].string)}var Pma=Mma({TRACK:{string:"track",Vd:"u014N"},INDEX:{string:"index",Vd:"cQYSPc"},MUTABLE:{string:"mutable",Vd:"dYFj7e"},COMPONENT_ID:{string:"cid",Vd:"cOuyq"},TEST_CODE:{string:"tc",Vd:"DM6Eze"}});function Fw(a,b){this.ya=a;this.o=null;this.qa=[];this.ma=void 0;this.va=this.ua=!1;this.kH=null;this.oa=[];this.Rv=b||!1;this.Jv=new Set}
l=Fw.prototype;l.getID=function(){return this.ya};
function Gw(a,b){return b?a.Jv.has(a.Lu(b)):a.Jv.size!=0}
l.getIndex=function(){return this.o};
l.Pq=function(){return this.ua};
l.setAttribute=function(a){this.kH=a;return this};
l.getAttribute=function(){return this.kH};
function Qma(a,b){a.oa.push(b)}
function Hw(a,b){for(var c=0;c=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.height};
l.distance=function(a){var b=a.x=a.o.length)throw Error("Out of bounds exception");return a.o.length<50?b:(a.ma+Number(b))%50}
;function qx(a){this.Aa=of(a)}
t(qx,bi);var vna=[0,jk,kk,bk,y];qx.prototype.Ca=uk(vna);var wna=[0,mk,[0,Lj,Wj,-2],[0,Lj]];var xna=[0,ek,-1,Xj,Qj,-1];var yna=[0,Wj,y,-1];function rx(a){this.Aa=of(a)}
t(rx,bi);l=rx.prototype;l.getKey=function(){return Yg(this,1)};
l.setKey=function(a){return rh(this,1,a)};
l.getValue=function(){return Yg(this,2)};
l.setValue=function(a){return rh(this,2,a)};
l.Vb=function(){return wh(this,2)};var zna=[0,y,-1];rx.prototype.Ca=uk(zna);var Ana=[0,mk,-1];function sx(a){this.Aa=of(a)}
t(sx,bi);function tx(a){this.Aa=of(a)}
t(tx,bi);function ux(a){this.Aa=of(a,4)}
t(ux,bi);function vx(a){this.Aa=of(a,36)}
t(vx,bi);vx.prototype.getTag=function(){return Yg(this,2)};
vx.prototype.setTag=function(a){return rh(this,2,a)};
vx.prototype.Jg=function(a){return Cg(this,3,a)};
vx.prototype.setValue=function(a,b){return Vf(this,3,rx,a,b)};
function wx(a,b){return rh(a,8,b)}
function xx(a,b){rh(a,24,b)}
;var Bna=[0,fk,[0,pk,jl,pk,-1,[0,mk],pk],qba];var Cna=[0,12,Wj,10,bk];sx.prototype.Ca=uk(Cna);var Dna=[0,1,Cna];tx.prototype.Ca=uk(Dna);var yx=[-4,{},Dna,mk,Bna];ux.prototype.Ca=uk(yx);var Ena=[-36,{},Mj,y,hk,zna,jk,1,jk,xna,y,yna,bk,Wj,Nj,y,-1,tba,vna,Mj,jk,mk,Xj,Nj,-1,Ana,y,bk,y,Yj,y,-1,Jj,1,Jj,yx,bk,wna];vx.prototype.Ca=uk(Ena);function zx(a,b,c,e,f){this.o=f=f===void 0?Fna:f;this.ya=a===void 0?!0:a;this.ma=c===void 0?!1:c;this.Ba=b===void 0?!1:b;this.qa=e===void 0?!1:e;this.Fa=new tna}
t(zx,Uw);zx.prototype.oa=function(a,b){for(var c=[],e=[],f=0;f=10&&b.height>=10?!0:!1}
function Gna(a,b,c){for(var e=[],f={},h=b.length-1;h>=0;f={Xe:void 0,Al:void 0,Nz:void 0},h--){f.Al=new cx;f.Nz=[];f.Xe=Vw();Ag(f.Al,Iw,1,f.Xe);var k=new Yw;Ag(k,Iw,1,f.Xe);Ag(f.Al,Yw,9,k);if(k=yu(window.location.href,"ved"))k=bx(new ax,k),Ag(f.Al,ax,4,k);b[h].forEach(function(n){return function(p,r){r.Xe=n.Xe;r.qa=n.Xe;var u=Dx(this,r);p.length&&Ow(u,p);p=r.getElement();Bx(p,c)?(r.oa=!1,r.hidden=!1):u.zp(1);this.qa&&Gw(r.getTag(),"hover")&&r.o!==void 0&&(p.setAttribute("data-hveid",Number(r.o)),
zg(n.Al,Nw,2,Xf()).length===0&&fx(r)&&(p.setAttribute("decode-data-ved","1"),p.setAttribute("data-ved",fx(r)+"")));this.setTimestamp(u);Dg(n.Al,2,Nw,u);n.Nz=n.Nz.concat(r.getTag().qa)}}(f),a);
a.o("Impression Event",f.Al);k=new vx;xx(k,f.Al.serialize());hg(k,20,f.Nz,qe);e.push(k)}return e}
function Hna(a,b,c){for(var e=[],f=new Map,h=b.length-1;h>=0;h--){var k=b[h],n=k.keys().next().value.qa,p=f.get(n)||[];p.push(k);f.set(n,p)}f.forEach(function(r,u){var w=0,A=[],la=new cx,ma=[],sa=Vw();Ag(la,Iw,1,sa);Ag(la,Iw,3,u);var Aa=new Yw;Ag(Aa,Iw,1,u);Ag(la,Yw,9,Aa);for(Aa=0;Aa=0;f--)for(var h=b[f],k=h.keys(),n=k.next().value,p=h.get(n),r={},u=0;uarguments.length&&h.args.push(new a.WT);k&&(k=Fx,!a.gF||Jx==0||a.measure&&Jx!=1||(k=(k+1)%2),Mna[k].push(h));return Sna(a.window)}}
function Tna(a,b){var c={};Jx=1;for(var e=0;e0&&b>1&&(a=b-Ix,a<500&&(Kna++,a>100&&Nna++,Ona1?b:0}
function Sna(a){if(!Gx.has(a)){Gx.size||(Hx=new cv);Gx.add(a);var b=Hx.resolve;a.requestAnimationFrame(function(c){Gx.clear();var e=Mna[Fx];Fx=(Fx+1)%2;try{Tna(e,c)}finally{Jx=0,e.length=0}b()})}return Hx.promise}
;function Una(a,b){this.o=a;this.Zz=b===void 0?!1:b}
function Vna(a,b){return Wna(a,b).filter(function(c){return Kx(this.o,c)!=null},a)}
function Xna(a,b){var c=a.o;a=[];for(var e=void 0,f={},h=0;h0;){var e=c.shift();e.getAttribute("jslog")&&a.push(e);e.shadowRoot&&c.unshift.apply(c,e.shadowRoot.querySelectorAll("*"))}}else a=[].slice.call(b.querySelectorAll("[jslog]"));a.unshift(b);return a}
var ex=0;function Zna(a,b){this.qa=a;this.o=b||!1;this.ma=void 0}
function Kx(a,b){var c=b.LSWHIf||null;if(c&&(c.getTag().ma||a.ma)&&c.getTag().ma!=a.ma)return null;var e;!(e=c&&c.getTag().Pq&&!c.getTag().Pq())&&(e=c&&c.getTag().Pq&&c.getTag().Pq())&&(e=b.getAttribute("jslog"),e=!(!e||Jb(e)||e!=c.getTag().getAttribute()));if(e)return c;e=b.getAttribute("jslog");if(!e)return null;e=$na(a,e);if(!e||(e.ma||a.ma)&&e.ma!=a.ma)return null;a=new dx(b,e);c&&c.getTag().va&&c.ua&&(a.ua=!0);if(c=a.getElement().getAttribute("data-ved")){a.ma=c;if(!c||c.charAt(0)!="0"&&c.charAt(0)!=
"2")var f=null;else{c=c.substring(1);try{var h=jna(c);f=xg(h,Iw,13)}catch(k){f=null}}f&&(a.Xe=f,a.qa=f)}return b.LSWHIf=a}
function $na(a,b){if(Jb(b))return null;var c=b.split(";"),e=Number(c[0].trim());if(isNaN(e))return null;e=a.qa.xB(e);for(var f=1;f0&&h.length;)n.push(h.shift()),k--;h.length&&n.push(h.join(":"));h=n;if(h.length<2)return null;k=h[0].trim();h=h[1].trim();if(Jb(k)||Jb(h))return null;switch(k){case Lx(a,"track"):k=h.split(",");for(h=0;h=0;--c)a.push(typeof b[c],b[c]);return a.join("\v")}
;function Rx(a){ru.call(this);this.ma=a||ap();if(this.qa=this.gQ())this.oa=lu(this.ma.getDocument(),this.qa,qb(this.kM,this))}
wb(Rx,ru);l=Rx.prototype;l.gQ=Qx(function(){var a=this.isSupported(),b=this.vC()!="hidden";if(a){var c;b?c=(((Ac?"Webkit":zc?"Moz":null)||"")+"visibilitychange").toLowerCase():c="visibilitychange";a=c}else a=null;return a});
l.vC=Qx(function(){return coa("hidden",this.ma.getDocument())});
l.oQ=Qx(function(){return coa("visibilityState",this.ma.getDocument())});
l.isSupported=function(){return!!this.vC()};
l.isHidden=function(){return!!this.ma.getDocument()[this.vC()]};
l.kM=function(){var a=this.isSupported()?this.ma.getDocument()[this.oQ()]:null;a=new doa(this.isHidden(),a);this.dispatchEvent(a)};
l.Ke=function(){pu(this.oa);Rx.Oh.Ke.call(this)};function Sx(a,b,c,e,f,h,k){var n=e===void 0?{}:e;var p=n.Yp===void 0?void 0:n.Yp;e=n.ZH===void 0?!1:n.ZH;n=n.Zz===void 0?!1:n.Zz;Px.call(this);var r=this;this.Ra=a;this.transport=c;this.Ma=this.o=this.Hc=this.Rb=void 0;this.Qa=[];this.ob=[];this.Ha=e;this.Ba=b||new gx;this.Fa=new Zna(this.Ba,this.Ha);this.mb={click:3};this.Xa={click:this.Lu("generic_click")};this.La=new Rx;this.Mc=(new Qna(this)).measure(p?function(){return p().then(r.XI.bind(r))}:this.XI).gF().build();
this.rb=new Nx(this.Mc,500,this);this.Pa=k||new Una(this.Fa,n);this.Ra instanceof Uw&&(this.oa=this.Ra);this.ua=f;this.Db=h}
t(Sx,Px);function Tx(a,b,c){a.mb[b]=c;a.Xa[b]=a.Lu(b)}
function goa(a,b,c){var e=a.mb[b];if(e&&(b=hoa(a,b,c)))if(a.oa)for(e=a.oa.ua(b,new gna(e)),b=0;b=10&&k.height>=10?!0:!1;k&&(h=Kx(this.Fa,h))&&Gw(h.getTag(),"impression")&&c.push(h)}for(b=0;b "});
c+=b.length?"END]":"EMPTY]"}
function ooa(a){if(a.Db){var b=a.o;a=a.Db();b=dp(a||b.o.defaultView||window)}else b=dp(a.o.o.defaultView||window);return b}
l.Ta=function(){if(this.o){var a=this.o.getDocument();this.unlisten(a,"scroll",this.Ng,!0);this.unlisten(a,"resize",this.Ng,!0);this.unlisten(a,"load",this.Ng,!1);this.unlisten(a,"DOMContentLoaded",this.Ng,!1)}this.unlisten(this.La,"visibilitychange",this.Ng,!1);this.rb.dispose()};function poa(a){if(!a)return"";if(/^about:(?:blank|srcdoc)$/.test(a))return window.origin||"";a.indexOf("blob:")===0&&(a=a.substring(5));a=a.split("#")[0].split("?")[0];a=a.toLowerCase();a.indexOf("//")==0&&(a=window.location.protocol+a);/^[\w\-]*:\/\//.test(a)||(a=window.location.href);var b=a.substring(a.indexOf("://")+3),c=b.indexOf("/");c!=-1&&(b=b.substring(0,c));c=a.substring(0,a.indexOf("://"));if(!c)throw Error("URI is missing protocol: "+a);if(c!=="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")throw Error("Invalid URI scheme in origin: "+c);a="";var e=b.indexOf(":");if(e!=-1){var f=b.substring(e+1);b=b.substring(0,e);if(c==="http"&&f!=="80"||c==="https"&&f!=="443")a=":"+f}return c+"://"+b+a}
;function qoa(){function a(){f[0]=1732584193;f[1]=4023233417;f[2]=2562383102;f[3]=271733878;f[4]=3285377520;u=r=0}
function b(w){for(var A=k,la=0;la<64;la+=4)A[la/4]=w[la]<<24|w[la+1]<<16|w[la+2]<<8|w[la+3];for(la=16;la<80;la++)w=A[la-3]^A[la-8]^A[la-14]^A[la-16],A[la]=(w<<1|w>>>31)&4294967295;w=f[0];var ma=f[1],sa=f[2],Aa=f[3],Ba=f[4];for(la=0;la<80;la++){if(la<40)if(la<20){var Ga=Aa^ma&(sa^Aa);var Na=1518500249}else Ga=ma^sa^Aa,Na=1859775393;else la<60?(Ga=ma&sa|Aa&(ma|sa),Na=2400959708):(Ga=ma^sa^Aa,Na=3395469782);Ga=((w<<5|w>>>27)&4294967295)+Ga+Ba+Na+A[la]&4294967295;Ba=Aa;Aa=sa;sa=(ma<<30|ma>>>2)&4294967295;
ma=w;w=Ga}f[0]=f[0]+w&4294967295;f[1]=f[1]+ma&4294967295;f[2]=f[2]+sa&4294967295;f[3]=f[3]+Aa&4294967295;f[4]=f[4]+Ba&4294967295}
function c(w,A){if(typeof w==="string"){w=unescape(encodeURIComponent(w));for(var la=[],ma=0,sa=w.length;ma=56;la--)h[la]=A&255,A>>>=8;b(h);for(la=A=0;la<5;la++)for(var ma=24;ma>=0;ma-=8)w[A++]=f[la]>>ma&255;return w}
for(var f=[],h=[],k=[],n=[128],p=1;p<64;++p)n[p]=0;var r,u;a();return{reset:a,update:c,digest:e,digestString:function(){for(var w=e(),A="",la=0;la=0;b--)this.remove(a[b])};
function Vx(a){a=(a.o.cookie||"").split(";");for(var b=[],c=[],e,f,h=0;h0&&(this.o.splice(0,b),this.oa+=b);this.o.push(a);this.ot||this.ma.enabled||this.ma.start()}};
l.flush=function(a,b){var c=this;if(this.o.length===0)a&&a();else{var e=Date.now();if(this.Db>e&&this.mb0&&(c.mb=Date.now(),c.Db=c.mb+la),ma=ny.ctor?ny.o(ma,ny.ctor,ny.fieldIndex,!0):ny.o(ma,ny.fieldIndex,null,!0),ma=ma===null?void 0:ma)&&(ma=Ug(ma,1,-1),ma!==-1&&(c.ua=new ky(ma<1?1:ma),c.ma.setInterval(c.ua.getValue())))}a&&a();c.Ba=0},w=function(la,ma){var sa=zg(f,vx,3,Xf());
var Aa=kh(f,14),Ba=c.ua;Ba.o=Math.min(3E5,Ba.o*2);Ba.ma=Math.min(3E5,Ba.o+Math.round(.1*(Math.random()-.5)*2*Ba.o));c.ma.setInterval(c.ua.getValue());la===401&&h&&(c.rb=h);Aa&&(c.oa+=Aa);ma===void 0&&(ma=500<=la&&la<600||la===401||la===0);ma&&(c.o=sa.concat(c.o),c.ot||c.ma.enabled||c.ma.start());b&&b("net-send-failed",la);++c.Ba},A=function(){c.network&&c.network.send(r,u,w)};
p?p.then(function(la){r.requestHeaders["Content-Encoding"]="gzip";r.requestHeaders["Content-Type"]="application/binary";r.body=la;r.LO=2;A()},function(){A()}):A()}}}};
l.fC=function(){this.Fa||(dpa(this.qa,!0),this.Ia&&(hy(this.qa,3),qpa(this)),this.Ha&&(hy(this.qa,2),rpa(this)),this.flush(),dpa(this.qa,!1))};
function qpa(a){spa(a,32,10,function(b,c){b=new URL(b);b.searchParams.set("format","json");var e=!1;try{e=window.navigator.sendBeacon(b.toString(),c.serialize())}catch(f){}e||(a.Ma=!1);return e})}
function rpa(a){spa(a,6,5,function(b,c){b=new URL(b);b.searchParams.set("format","base64json");b.searchParams.set("p",Ic(c.serialize(),3));c=b.toString();if(c.length>15360)return!1;(new Image).src=c;return!0})}
function spa(a,b,c,e){if(a.o.length!==0){var f=new URL(ppa(a));f.searchParams.delete("format");var h=a.xo();h&&f.searchParams.set("auth",h);f.searchParams.set("authuser",a.Mm||"0");for(h=0;h>>0);a={requestId:c,apiUrl:Cpa(a,b,c),onLoad:b.onLoad,onError:b.onError||function(){},
aE:b.aE||function(){},
hS:b.hS||function(){},
jS:b.jS||function(){},
iB:b.iB,OP:b.pageType,responseMustMatchPageType:b.responseMustMatchPageType};b.injectInto&&(b.injectInto.nodeName=="IFRAME"?(a.window=b.injectInto.contentWindow,a.injectInto=a.window.document.body):(a.window=window,a.injectInto=b.injectInto));return a}
function Cpa(a,b,c){var e=Dpa(a)+"/apis/render?",f=a.Ba,h=a.Qa,k=b.helpcenter,n=b.originHelpcenter,p=a.Fa,r=a.Ha,u=a.ob,w=a.ya,A=a.Pa,la=b.pageType,ma=b.pageId,sa=b.url,Aa=b.includeComponents,Ba=b.excludeComponents;c=["js_request_id."+c];if(b.extraParams)for(var Ga in b.extraParams)c.push(Ga+"."+b.extraParams[Ga]);a={v:1,key:f,request_source:h,helpcenter:k,origin_ehc:n,hl:p,authuser:r,visit_id:u,view_id:w,psd:A,page_type:la,id:ma,url:sa,components:Aa,exclude_components:Ba,extra_params:c,mendel_ids:a.Ma,
service_configuration:a.mb,scdeb:a.Ia,instant_preview:b.instantPreview,symptom:b.symptom,scenario_id:b.testScenarioId,sjid:b.Sm,user_ip:a.Xa,js_fingerprint:a.La};b="";for(var Na in a)f=a[Na],f!=void 0&&(Array.isArray(f)&&(f=f.join()),b&&(b+="&"),b+=Na+"="+encodeURIComponent(f.toString()));return e+b}
function Bpa(a,b,c){try{var e=JSON.parse(c)}catch(f){b.onError({type:1,message:c});return}if(e.application_error!=304||e.html)if(e.application_error!=404&&e.html){if(b.responseMustMatchPageType){if(!e.page_metadata||!e.page_metadata.page_type){b.onError({type:4});return}if(jda.get(e.page_metadata.page_type)!=b.OP){b.onError({type:3});return}}e.page_metadata&&b.aE(e.page_metadata);b.injectInto?Epa(a,b,e.html):b.iB(function(f){f.nodeName=="IFRAME"?(b.window=f.contentWindow,b.injectInto=b.window.document.body):
(b.window=window,b.injectInto=f);Epa(a,b,e.html)})}else b.onError({type:2});
else b.onError({type:5})}
function Epa(a,b,c){b.window.sc_scope=b.injectInto;b.onLoad&&(b.window[b.requestId]=function(e){b.onLoad(e.getChild(b.requestId))});
rn(b.injectInto,Hp(c));c=Array.from(b.injectInto.getElementsByTagName("script"));a.qa(b,c)}
xy.prototype.qa=function(a,b){for(;b.length>0;){var c=b.shift();if(c.src){b=this.qa.bind(this,a,b);Fpa(a.injectInto,c.src,b);break}try{var e=a.window,f=dfa(c.textContent),h=zda(f),k=e.eval(h);k===h&&(k=e.eval(h.toString()))}catch(n){}}};
function ypa(a,b){!a.o||a.va?b():(window.sc_sso_callback=function(){a.va=!0},Fpa(document.body,Dpa(a)+"/s/sso",b))}
function Fpa(a,b,c){var e=ep("SCRIPT");An(e,Jp(b));e.addEventListener("load",c);e.addEventListener("error",c);a.appendChild(e)}
function Gpa(a){var b=new URL(a);if(b.search!==""||b.hash!=="")throw Error("Invalid host value.");if(b.protocol!=="http:"&&b.protocol!=="https:")throw Error("Invalid host value.");if(b.hostname.endsWith(".prod.google.com"))return b.origin;if(!wpa.some(function(c){return b.hostname.endsWith(c)}))throw Error("Invalid host value.");
if(!vpa.some(function(c){return b.hostname.startsWith(c)}))throw Error("Invalid host value.");
return b.origin}
function Dpa(a){a.ma?a=a.ma.replace(/\/+$/,""):a.o?(a=a.ua,a=a=="https://support.google.com"?a.replace("support","support.corp"):a.replace("sandbox","corp")):a=a.ua;return Gpa(a)}
;var Hpa;function yy(a,b,c){c=c===void 0?2E3:c;var e=document.querySelector("."+(b===0?"sc-polite-live-region":"sc-assertive-live-region"));e&&(e.textContent=a,clearTimeout(Hpa),Hpa=setTimeout(function(){e.textContent=""},c))}
;var Ipa=[0,1,y,hk,Pl,ck,fk,ck,fk];var Jpa=[0,fk,-1,ck];var Kpa=[0,fk,ck,fk];function zy(a){this.Aa=of(a)}
t(zy,bi);var Lpa=wk(zy),Ay=[1,2,3,6,7];var Mpa=[0,Ay,ik,Kpa,ik,Jpa,ik,Ipa,2,ik,[0],ik,[0]];zy.prototype.Ca=uk(Mpa);var Npa=[0,y,-1];function By(a){this.Aa=of(a)}
t(By,bi);By.prototype.getValue=function(){return Yg(this,1)};
By.prototype.setValue=function(a){return rh(this,1,a)};
By.prototype.Vb=function(){return wh(this,1)};function Cy(a){this.Aa=of(a)}
t(Cy,bi);Cy.prototype.getType=function(){return Zg(this,1,0)};
Cy.prototype.setType=function(a){return th(this,1,a)};
Cy.prototype.getId=function(){return Yg(this,2)};
Cy.prototype.setId=function(a){return rh(this,2,a)};function Dy(a){this.Aa=of(a)}
t(Dy,bi);Dy.prototype.getUrl=function(){return Yg(this,1)};
Dy.prototype.setUrl=function(a){return rh(this,1,a)};
Dy.prototype.getTitle=function(){return Yg(this,2)};
Dy.prototype.setTitle=function(a){return rh(this,2,a)};function Ey(a){this.Aa=of(a)}
t(Ey,bi);function Opa(a){var b=new Ey;return th(b,1,a)}
;function Fy(a){this.Aa=of(a)}
t(Fy,bi);function Gy(a){this.Aa=of(a)}
t(Gy,bi);var Hy=[2,3,4,5,6,7,8,9];function Iy(a){this.Aa=of(a)}
t(Iy,bi);function Jy(a,b){return th(a,1,b)}
function Ky(a,b){return rh(a,2,b)}
;function Ly(a){this.Aa=of(a)}
t(Ly,bi);function Ppa(a){var b=(new By).setValue(ko());Ag(a,By,9,b)}
Ly.prototype.Qf=function(){return Yg(this,1)};
function My(a,b){return rh(a,1,b)}
Ly.prototype.getTimestamp=function(){return xg(this,fl,2)};
Ly.prototype.setTimestamp=function(a){return Ag(this,fl,2,a)};
function Ny(a,b){return rh(a,3,b)}
function Oy(a,b){return th(a,5,b)}
function Py(a,b){return Ag(a,Gy,6,b)}
function Qy(a,b){return Ag(a,Dy,7,b)}
function Ry(a,b){return Ag(a,Iy,8,b)}
;function Sy(a){this.Aa=of(a)}
t(Sy,bi);l=Sy.prototype;l.getId=function(){return Ug(this,1)};
l.setId=function(a){return ph(this,1,a)};
l.Nl=oa(11);l.getQuery=function(){return Yg(this,9)};
l.setQuery=function(a){return rh(this,9,a)};
l.getUrl=function(){return Yg(this,10)};
l.setUrl=function(a){return rh(this,10,a)};
l.Me=function(){return Ug(this,45)};var Qpa=[0,y];By.prototype.Ca=uk(Qpa);var Rpa=[0,mk,y];Cy.prototype.Ca=uk(Rpa);var Spa=[0,y,-1,mk];Dy.prototype.Ca=uk(Spa);var Tpa=[0,mk,-2];var Upa=[0,mk,y,-1];Ey.prototype.Ca=uk(Upa);var Vpa=[0,mk,y,mk];var Wpa=[0,y];var Xpa=[0,y];var Ypa=[0,mk];var Zpa=[0,mk];var $pa=[0,Wj];Fy.prototype.Ca=uk($pa);var aqa=[0,Hy,mk,ik,$pa,ik,Upa,ik,Ypa,ik,Tpa,ik,Vpa,ik,Xpa,ik,Zpa,ik,Wpa,bk,-1];Gy.prototype.Ca=uk(aqa);var bqa=[0,mk,y];Iy.prototype.Ca=uk(bqa);var Ty=[0,y,jl,y,Rpa,mk,aqa,Spa,bqa,Qpa];Ly.prototype.Ca=uk(Ty);Sy.prototype.Ca=uk([0,Wj,y,-8,Wj,bk,y,Nj,y,Wj,-1,y,Nj,-1,Wj,y,Wj,bk,mk,-4,Wj,y,-2,Wj,-1,bk,Nj,Wj,mk,1,hk,Npa,y,Ty,y,Wj,y,-1]);function Uy(a,b){this.qa=a;this.ma=a.parentNode;this.o=b;this.o.counter&&cqa(this,[{key:this.o.counter,value:((this.o.count||0)+1).toString()}]);this.qa.addEventListener("click",this.oa.bind(this))}
Uy.prototype.oa=function(){this.o.id&&cqa(this,[{key:this.o.id,value:(new Date).getTime().toString()}]);this.ma.parentNode.removeChild(this.ma)};
function cqa(a,b){var c=z();(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 Uy(a,b)};function Vy(a){this.Aa=of(a)}
t(Vy,bi);Vy.prototype.getContentType=function(){return Sg(this,1)};
Vy.prototype.setContentType=function(a){return th(this,1,a)};
Vy.prototype.getId=function(a){return ch(this,2,a)};
Vy.prototype.setId=function(a,b){return jg(this,2,Te,a,b,Ve)};function Wy(a){this.Aa=of(a)}
t(Wy,bi);Wy.prototype.getStyle=function(){return Zg(this,1,0)};function Xy(a){this.Aa=of(a)}
t(Xy,bi);l=Xy.prototype;l.sC=function(){return Zg(this,1,0)};
l.getType=function(){return Zg(this,2,0)};
l.setType=function(a){return th(this,2,a)};
l.getId=function(){return Rg(this,4)};
l.setId=function(a){return rh(this,4,a)};
l.wF=function(a){ph(this,5,a)};
l.Lp=function(a){ph(this,6,a)};
var dqa=vk(Xy);function Yy(a){this.Aa=of(a)}
t(Yy,bi);l=Yy.prototype;l.getType=function(){return Zg(this,1,0)};
l.setType=function(a){return th(this,1,a)};
l.getId=function(){return Rg(this,3)};
l.setId=function(a){return rh(this,3,a)};
l.wF=function(a){ph(this,4,a)};
l.Lp=function(a){ph(this,5,a)};
var eqa=vk(Yy);function Zy(a){this.Aa=of(a)}
t(Zy,bi);Zy.prototype.getType=function(){return Zg(this,3,1)};
Zy.prototype.setType=function(a){return th(this,3,a)};function $y(a){this.Aa=of(a)}
t($y,bi);l=$y.prototype;l.getType=function(){return Zg(this,1,0)};
l.setType=function(a){return th(this,1,a)};
l.getId=function(){return Rg(this,2)};
l.setId=function(a){return rh(this,2,a)};
l.wF=function(a){ph(this,3,a)};
l.Lp=function(a){ph(this,4,a)};
var fqa=vk($y);function az(a){this.Aa=of(a)}
t(az,bi);function bz(a){this.Aa=of(a)}
t(bz,bi);function cz(a){this.Aa=of(a)}
t(cz,bi);cz.prototype.Ch=function(){return Qg(this,2)};
cz.prototype.Ud=function(a){return ph(this,2,a)};function dz(a){this.Aa=of(a)}
t(dz,bi);dz.prototype.getTop=function(){return Qg(this,1)};
dz.prototype.setTop=function(a){return ph(this,1,a)};function ez(a){this.Aa=of(a)}
t(ez,bi);ez.prototype.getType=function(){return Zg(this,1,0)};
ez.prototype.setType=function(a){return th(this,1,a)};
ez.prototype.getTimestamp=function(){return Ne(If(this,9))};
ez.prototype.setTimestamp=function(a){return qh(this,9,a)};function fz(a){this.Aa=of(a)}
t(fz,bi);l=fz.prototype;l.getErrorCode=function(a){var b=Yf(this,8,se,3,void 0,!0);Kd(b,a);return b[a]};
l.getProjectId=function(){return Pe(If(this,10))};
l.setProjectId=function(a){return Lf(this,10,Oe(a))};
l.getPageType=function(){return Sg(this,19)};
l.Ch=function(){return Qg(this,49)};
l.Ud=function(a){return ph(this,49,a)};
l.setSupportJourneyId=function(a){return rh(this,59,a)};
l.setHost=function(a){return rh(this,63,a)};function gz(a){this.Aa=of(a)}
t(gz,bi);gz.prototype.setHost=function(a){return rh(this,2,a)};
gz.prototype.Me=function(){return Xg(this,4)};
var gqa=wk(gz);var hqa=[0,Nj,y,Nj,-1,Wj,-1];var iqa=[0,[0,xs,lr,[0,y]],[0,hk,Gr,hk,[0,y,-1],hk,[0,y],hk,[0,pk,hk,Gr,y,hqa,fk],hqa],nr];var hz=[0,mk,ek];Vy.prototype.Ca=uk(hz);var jqa=[0,bk,mk,-1,Wj,mk,-1,bk];var kqa=[0,hz,ek,hk,jqa,Xj,Wj,Vj,mk,-2];var lqa=[0,y,-1];var iz=[0,Nj,hk,lqa];var mqa=[0,y,bk,y];var nqa=[0,mk,y,mk,-1];var oqa=[0,Wj,-2];var pqa=[0,y,-5,Wj,-1,bk,mk,y,[0,bk,Lj,y,mk]];var qqa=[0,mk,y,[0,y,-2,Wj,bk],y,[0,y,Wj,-1,bk,-1],[0,mk,Wj,-2,mk,Nj],[0,Xj,y],[0,Wj,-2],[0,y,mk,-4,2,mk]];var rqa=[0,mk];Wy.prototype.Ca=uk(rqa);var sqa=[0,mk,-2,y,Wj,-1,rqa];Xy.prototype.Ca=uk(sqa);var tqa=[0,mk,-1,y,Wj,-1];Yy.prototype.Ca=uk(tqa);var uqa=[0,Wj,-1,mk,Wj,-1];Zy.prototype.Ca=uk(uqa);var vqa=[0,mk,y,Wj,-1];$y.prototype.Ca=uk(vqa);var wqa=[0,Wj,1,Wj];az.prototype.Ca=uk(wqa);var xqa=[0,y,-1];bz.prototype.Ca=uk(xqa);var yqa=[0,y,Wj,mk,nk,xqa];cz.prototype.Ca=uk(yqa);var zqa=[0,Wj,y];dz.prototype.Ca=uk(zqa);var Aqa=[0,mk,yqa,wqa,uqa,sqa,hk,vqa,hk,tqa,zqa,Nj];ez.prototype.Ca=uk(Aqa);var jz=[0,y,-1,hk,hz,hk,qqa,hk,jqa,y,-1,Xj,Wj,Vj,y,-1,hk,Om,mk,Wj,hk,nqa,mk,-2,Xj,-1,mqa,1,y,Wj,-1,ek,Wj,-1,Nj,Wj,mk,hk,Aqa,y,mk,Wj,fda,bk,Rq,kqa,y,hk,[0,mk,Nj,-1,bk],mk,pqa,mk,-2,[0,y,-1,mk,Wj,-1,mk],Wj,mk,oqa,mk,-3,Xj,iz,bk,y,iqa,y,-2];fz.prototype.Ca=uk(jz);gz.prototype.Ca=uk([0,jz,y,-1,Vj]);function kz(a){this.Aa=of(a)}
t(kz,bi);kz.prototype.kb=function(){return Ne(If(this,4))};kz.prototype.Ca=uk([0,mk,Nj,bk,Nj]);function lz(a){this.Aa=of(a)}
t(lz,bi);lz.prototype.Ho=oa(13);var mz=[0,y,Wj];lz.prototype.Ca=uk(mz);function nz(a){this.Aa=of(a)}
t(nz,bi);nz.prototype.Qf=function(){return Yg(this,1)};var oz=[0,y,ek];nz.prototype.Ca=uk(oz);function pz(a){this.Aa=of(a)}
t(pz,bi);pz.prototype.getFrdIdentifier=function(){return Yg(this,1)};var qz=[0,y,-1,mz];pz.prototype.Ca=uk(qz);function rz(a){this.Aa=of(a)}
t(rz,bi);l=rz.prototype;l.getUrl=function(){return Yg(this,1)};
l.setUrl=function(a){return rh(this,1,a)};
l.getTitle=function(){return Yg(this,2)};
l.setTitle=function(a){return rh(this,2,a)};
l.fe=function(){return Yg(this,3)};var sz=[0,y,-2,mz,mk];rz.prototype.Ca=uk(sz);var tz=[0,y,-2,Nj];function uz(a){this.Aa=of(a)}
t(uz,bi);uz.prototype.setSupportJourneyId=function(a){return rh(this,1,a)};
uz.prototype.getUrl=function(){return Yg(this,2)};
uz.prototype.setUrl=function(a){return rh(this,2,a)};
uz.prototype.getPageType=function(){return Zg(this,4,0)};var Bqa=[0,y,-2,mk,-1,y,-1];uz.prototype.Ca=uk(Bqa);function vz(a){this.Aa=of(a)}
t(vz,bi);vz.prototype.getTitle=function(){return Yg(this,2)};
vz.prototype.setTitle=function(a){return rh(this,2,a)};var Cqa=[0,1,y,-2];vz.prototype.Ca=uk(Cqa);var Dqa=[0,1,y];function wz(a){this.Aa=of(a)}
t(wz,bi);var Eqa=[0,sz,oz];wz.prototype.Ca=uk(Eqa);function xz(a){this.Aa=of(a)}
t(xz,bi);var Fqa=[0,hk,sz,oz];xz.prototype.Ca=uk(Fqa);var Gqa=[0,Nj,y,-1,qz,y,-1];var Hqa=[0,tz,y,-1];var Iqa=[0,tz,mk];function yz(a){this.Aa=of(a)}
t(yz,bi);yz.prototype.Wb=function(){return xg(this,pz,1)};
yz.prototype.Pc=function(a){return Ag(this,pz,1,a)};var Jqa=[0,qz,oz];yz.prototype.Ca=uk(Jqa);function zz(a){this.Aa=of(a)}
t(zz,bi);var Az=[2,3,5,6,7,8,9,10];zz.prototype.Ca=uk([0,Az,Bqa,ik,Cqa,ik,Dqa,mk,ik,Jqa,ik,Eqa,ik,Fqa,ik,Iqa,ik,Hqa,ik,Gqa]);function Bz(a){this.Aa=of(a)}
t(Bz,bi);Bz.prototype.Ca=uk([0]);function Cz(a,b){var c=c===void 0?ir():c;if(Dz()){var e=Ez();a=Kqa(a,b);e=Bg(e,2,Az,a);Fz(e,c)}}
function Gz(a,b,c){var e=e===void 0?ir():e;if(Dz()){var f=new wz;b=Hz(a,b,c);f=Ag(f,rz,1,b);a=Iz(a.Qb());a=Ag(f,nz,2,a);f=Ez();a=Bg(f,6,Az,a);Fz(a,e)}}
function Jz(a,b,c,e){var f=f===void 0?ir():f;if(Dz()){var h=new xz;e=Iz(e);h=Ag(h,nz,2,e);b=x(b);for(var k=b.next();!k.done;k=b.next())e=h,k=Hz(k.value,0,2),Dg(e,1,rz,k);a=x(a);for(e=a.next();!e.done;e=a.next())b=h,e=Hz(e.value,0,1),Dg(b,1,rz,e);c=x(c);for(b=c.next();!b.done;b=c.next())a=h,b=Hz(b.value,0,9),Dg(a,1,rz,b);c=Ez();h=Bg(c,7,Az,h);Fz(h,f)}}
function Lqa(a,b,c){a=a===void 0?"":a;var e=e===void 0?ir():e;Dz()&&(a=(new yz).Pc(Mqa(a,b)),c=Iz(c),c=Ag(a,nz,2,c),a=Ez(),c=Bg(a,5,Az,c),Fz(c,e))}
function Mqa(a,b){a=a===void 0?"":a;for(var c=new pz,e=x(b.entries()),f=e.next();!f.done;f=e.next()){var h=x(f.value);f=h.next().value;h=h.next().value;if(h.id===a)return b=void 0,a=rh(c,2,h.text),a=rh(a,1,h.id),e=Kz((b=h.reporting_id)!=null?b:"",f+1),Ag(a,lz,3,e),c}c=rh(c,1,"other");c=rh(c,2,"Other");b=Kz("",b.length+1);return Ag(c,lz,3,b)}
function Hz(a,b,c){var e=(new rz).setUrl(a.getUrl()).setTitle(a.getTitle());var f=a.fe();e=rh(e,3,f);a=Kz(Lz(a),b);a=Ag(e,lz,4,a);return th(a,5,c)}
function Iz(a){var b=new nz;a=rh(b,1,a);return hg(a,2,[],Te)}
function Kz(a,b){var c=new lz;a=rh(c,1,a);return ph(a,2,b)}
function Dz(){return Ho("SupportJourneyFeature__enable_journey_publish")==="true"&&z().rs!==26}
function Nqa(){var a=z(),b;var c=new uz;c=rh(c,3,a.hc);c=rh(c,6,a.lang);c=th(c,4,a.pt);var e=(b=a.vid)==null?void 0:b.toString();b=rh(c,7,e).setSupportJourneyId(a.support_journey_id);return th(b,5,a.rt).setUrl(window.location.href)}
function Fz(a,b){try{b.post({endpoint:"logjourney",queryParams:{v:"1"},request:a,response:Bz})}catch(c){if(z()&&z().env!=="PROD")throw c;}}
function Kqa(a,b){var c=z(),e;b=(new vz).setTitle(b||c.title||c.html_title);a=rh(b,3,a||c.pid);c=(e=to("refererViewId"))==null?void 0:e.toString();return rh(a,4,c)}
function Ez(){var a=z();var b=new zz;var c=Nqa();b=Ag(b,uz,1,c);return th(b,4,a.rs)}
;function Mz(a){this.Aa=of(a)}
t(Mz,bi);Mz.prototype.Ca=uk([0,hk,Ty]);var Oqa=[0,mk,-1,y,-1];function Nz(a){this.Aa=of(a)}
t(Nz,bi);Nz.prototype.getStatus=function(){return Zg(this,2,0)};
Nz.prototype.getErrorMessage=function(){return Yg(this,3)};
Nz.prototype.setErrorMessage=function(a){return rh(this,3,a)};var Pqa=[0,1,mk,y,Oqa];Nz.prototype.Ca=uk(Pqa);function Oz(a){this.Aa=of(a)}
t(Oz,bi);Oz.prototype.Wr=oa(14);Oz.prototype.Ca=uk([0,1,hk,Pqa]);var Qqa=[0,y,bk];function Pz(a){this.Aa=of(a)}
t(Pz,bi);Pz.prototype.Ca=uk([0,Ty,2,Qqa]);function Qz(a){a=a===void 0?{}:a;this.Jk=new (a.lT===void 0?er:a.lT)({serverUrl:z().mld+"/v1",serviceName:"MoltronLoggingService"})}
function Rz(a,b,c,e){e=e===void 0?{}:e;var f=e.cP;var h=e.zO;var k,n,p;Ya(function(r){if(!b||!c)return r.return();k=new Ly;My(k,b);k.setTimestamp(hl());Ny(k,c);Oy(k,3);if(f||h){n=new Gy;if(f){var u=Opa(1);p=rh(u,2,f);Bg(n,3,Hy,p)}h&&nh(n,10,!0);Py(k,n)}return r.yield(Sz(a,k),0)})}
function Tz(a,b,c,e){var f=(e===void 0?{nJ:!1}:e).nJ;var h,k,n,p,r,u;Ya(function(w){if(!b)return w.return();h=[];k=x(c);for(n=k.next();!n.done;n=k.next())if(p=n.value)r=new Ly,My(r,b),r.setTimestamp(hl()),Ny(r,p),Oy(r,1),f&&(u=new Gy,th(u,1,3),Py(r,u)),Ppa(r),h.push(r);return w.yield(Rqa(a,h),0)})}
function Sqa(a,b){var c,e;Ya(function(f){if(!b)return f.return();c=new Ly;My(c,b);c.setTimestamp(hl());e=new Cy;e.setType(3);e.setId("other");Ag(c,Cy,4,e);Oy(c,3);return f.yield(Sz(a,c),0)})}
function Sz(a,b){var c=c===void 0?!1:c;var e,f,h,k;return Ya(function(n){if(n.o==1)return e=new Pz,Ppa(b),Ag(e,Ly,1,b),f={query:{key:z().mkey}},c&&z().li&&(h="",(k=(z().ge||"").toLowerCase())&&(h=Wx([{key:"e",value:k}])),!h&&z().auth_token&&(h=z().auth_token,(h.startsWith("OAuth")||h.startsWith("Bearer"))&&delete f.query.key),h&&(f.withCredentials=!0,f.headers={Authorization:h})),Pa(n,2),n.yield(a.Jk.post("log-moltron-interaction",e,Nz,f),4);if(n.o!=2)return Qa(n,0);Ra(n);Oa(n)})}
function Rqa(a,b){var c;return Ya(function(e){if(e.o==1)return c=new Mz,Cg(c,1,b),Pa(e,2),e.yield(a.Jk.post("log-batch-moltron-interaction",c,Oz,{query:{key:z().mkey}}),4);if(e.o!=2)return Qa(e,0);Ra(e);Oa(e)})}
;var Tqa=new Map([["PROD",3],["STAGING",4],["DRAFT",2],["READY",4],["TEST",1],["DEV",1],["ALPHA",1],["GKMSSTAGING",4],["LOCAL",1]]),Uqa=new Map([[0,10],[1,2],[2,25],[4,6],[5,26],[6,13],[7,17],[8,15],[9,23],[10,16],[36,30],[13,8],[14,11],[15,28],[16,3],[17,4],[18,24],[20,14],[21,5],[24,22],[25,21],[26,20],[28,27],[29,29],[30,12],[31,19],[32,18],[33,9],[34,1],[100,0],[11,31],[12,36],[19,32],[23,33],[22,7],[27,34],[35,35],[38,37],[37,38],[39,39]]),Vqa=new Map([[0,0],[1,1],[2,2],[3,2],[4,3]]),Wqa=new Map([[0,
0],[1,30],[2,14],[3,6],[4,25],[5,15],[6,18],[7,22],[8,24],[9,10],[10,1],[11,23],[12,28],[13,5],[14,2],[15,7],[16,29],[17,17],[18,26],[19,12],[20,16],[21,13],[22,27],[23,3],[24,11],[25,21],[26,20],[27,4],[28,8],[29,9],[30,19],[31,31],[32,32],[33,33],[34,34],[35,35],[37,37],[36,36],[40,38],[41,39],[42,40],[43,41],[44,42],[45,43],[46,44],[47,45],[48,46],[50,47],[51,48],[52,49]]),Uz=new Map([[0,0],[251,245],[260,254],[78,1],[35,2],[32,3],[20,4],[9,5],[8,6],[48,7],[28,8],[33,9],[14,10],[17,11],[58,12],
[15,13],[16,14],[47,15],[21,16],[52,17],[182,175],[29,18],[31,19],[30,20],[49,21],[83,22],[84,23],[85,86],[92,87],[120,111],[121,112],[122,113],[123,114],[125,116],[126,117],[127,118],[18,24],[51,25],[55,26],[56,27],[50,28],[89,77],[160,153],[74,29],[143,135],[75,30],[82,31],[104,95],[76,32],[94,79],[100,88],[101,89],[102,90],[103,94],[90,78],[81,33],[73,34],[40,35],[46,36],[53,37],[88,91],[1,38],[80,39],[27,40],[72,41],[7,42],[57,43],[41,44],[34,45],[23,46],[13,47],[36,48],[45,49],[5,50],[22,51],
[172,165],[37,52],[39,53],[10,54],[11,55],[3,56],[93,80],[130,121],[99,85],[117,108],[26,57],[69,58],[66,59],[61,60],[62,61],[68,62],[70,63],[71,64],[65,65],[67,66],[247,241],[248,242],[249,243],[257,251],[258,252],[259,253],[86,92],[63,67],[59,68],[60,69],[64,70],[87,93],[95,82],[96,84],[97,83],[98,81],[54,71],[24,72],[4,73],[25,74],[44,75],[2,76],[105,96],[151,144],[106,97],[107,98],[108,99],[109,100],[110,103],[111,101],[112,102],[113,104],[114,105],[115,106],[118,107],[116,109],[119,110],[124,
115],[128,119],[129,120],[131,122],[156,149],[132,123],[133,124],[134,125],[135,126],[159,152],[136,127],[19,128],[137,129],[138,130],[139,131],[140,132],[141,133],[142,134],[144,136],[145,138],[146,139],[147,140],[148,141],[149,142],[150,143],[152,145],[153,146],[154,147],[155,148],[157,150],[158,151],[161,154],[162,155],[163,156],[164,157],[165,158],[166,159],[167,160],[168,161],[169,162],[170,163],[171,164],[173,166],[174,167],[175,168],[176,169],[177,170],[178,171],[179,172],[188,181],[189,182],
[201,194],[180,173],[181,174],[242,235],[243,236],[252,246],[253,247],[254,248],[265,259],[268,262],[266,260],[267,261],[282,276],[279,273],[280,274],[250,244],[183,176],[184,177],[185,178],[186,179],[187,180],[190,183],[191,184],[192,185],[193,186],[194,187],[195,188],[196,189],[197,190],[198,191],[199,192],[200,193],[215,208],[216,209],[202,195],[203,196],[204,197],[205,198],[206,199],[207,200],[208,201],[209,202],[210,203],[211,204],[212,205],[213,206],[214,207],[217,210],[218,211],[219,212],[220,
213],[221,214],[222,215],[223,216],[224,217],[225,218],[226,219],[227,220],[228,221],[229,222],[230,223],[231,224],[232,225],[233,226],[255,249],[256,250],[234,227],[235,228],[236,229],[237,230],[238,231],[239,232],[240,233],[241,234],[244,237],[245,238],[246,239],[261,255],[262,256],[263,257],[264,258],[269,263],[270,264],[271,265],[272,266],[273,267],[274,268],[283,277],[284,278],[275,269],[276,270],[277,271],[278,272],[285,279],[286,280],[287,281],[288,282],[281,275]]),Xqa=new Map([[0,0],[1,11],
[2,7],[3,3],[4,14],[5,5],[6,8],[7,2],[8,13],[9,4],[10,12],[11,10],[12,6],[13,15],[14,9],[15,1],[16,16],[17,17],[18,18],[19,19],[20,20],[21,21],[22,22],[23,23],[24,24],[25,25],[26,26]]),Yqa=new Map([[1,1],[39,6],[83,7],[27,8],[3,2],[93,5],[18,10],[102,11],[90,12],[4,13],[8,3],[79,4],[2,4],[92,17],[113,18],[12,19],[19,20],[87,21],[105,22],[112,23],[109,24],[6,25],[67,26],[75,27],[13,28],[30,29],[84,30],[63,31],[96,32],[97,33],[81,34],[23,35],[73,36],[98,37],[17,38],[115,39],[99,40],[29,41],[14,42],
[76,43],[82,44],[24,45],[31,46],[46,47],[22,48],[101,49],[15,50],[25,51],[74,52],[26,53],[111,54],[69,55],[61,56],[91,57],[94,58],[104,59],[116,16],[118,61],[121,65],[65,60],[85,62],[119,63],[120,64],[122,66],[123,67],[124,68],[125,69],[126,70],[127,71],[128,72],[129,73],[130,74],[131,75],[132,76],[134,77],[135,78],[136,79],[137,80],[138,81],[139,82],[140,83]]);function Vz(a){this.Aa=of(a)}
t(Vz,bi);Vz.prototype.getProjectId=function(){return Ne(If(this,1))};
Vz.prototype.setProjectId=function(a){return qh(this,1,a)};
Vz.prototype.getRole=function(){return Rg(this,3)};var Zqa=[0,Nj,mk,y,-1,bk,-1];Vz.prototype.Ca=uk(Zqa);function Wz(a){this.Aa=of(a)}
t(Wz,bi);var $qa=[0,mk,-1,Wj];Wz.prototype.Ca=uk($qa);function Xz(a){this.Aa=of(a)}
t(Xz,bi);Xz.prototype.Me=function(){return ah(this,4)};var ara=[0,y,-2,Qj];Xz.prototype.Ca=uk(ara);var bra=[0,y,-12];function Yz(a){this.Aa=of(a)}
t(Yz,bi);Yz.prototype.getPageType=function(){return Sg(this,1)};
Yz.prototype.setHost=function(a){return rh(this,13,a)};var cra=[0,mk,y,-1,mk,bk,y,Wj,1,bra,mk,y,-2];Yz.prototype.Ca=uk(cra);function Zz(a){this.Aa=of(a)}
t(Zz,bi);var dra=[0,y,-1];Zz.prototype.Ca=uk(dra);function $z(a){this.Aa=of(a)}
t($z,bi);$z.prototype.Ch=function(){return Rg(this,2)};
$z.prototype.Ud=function(a){return rh(this,2,a)};
$z.prototype.setSupportJourneyId=function(a){return rh(this,6,a)};var era=[0,y,-2,bk,Nj,y,-1];$z.prototype.Ca=uk(era);var fra=[0,mk,y];var gra=[0,y];var aA=[0,y];var hra=[0];var bA=[0,y,-1];var ira=[0];var jra=[0,bA];var cA=[0,y,jl,[0,[1,2],ik,[0,y],ik,[0,aA],y,-1]];var dA=[0,y,-1,Nj,pba,[0,4,y,-2,Wj,y,-2],7,bk];var eA=[0,[4],dA,hk,dA,mk,ik,[0,hk,[0,dA,Wj,Yj]]];var fA=[0,[1,2],ik,ira,ik,hra];var kra=[0,hk,fA];var lra=[0,[2,3,4,5,6,7,8,9,10],cA,ik,[0,[2,3,4,5,6,7],[0,bk,hk,[0,[2,3],mk,ik,bA,ik,jra]],ik,ira,ik,hra,ik,bA,ik,[0,Wj,-1,mk],ik,[0,hk,jra],ik,[0],[0,mk]],ik,[0,[1,2,3,4,5,6,7],ik,kra,ik,[0,[1,2],ik,fA,ik,[0]],ik,[0,y,-1,[0,ek,Wj,-1],mk],ik,[0],ik,[0,mk],ik,[0,hk,[0,y,bk,y,-1],kra],ik,[0,hk,fA]],ik,[0],ik,[0],ik,[0,[1],ik,[0,y,mk,eA]],ik,[0,y,-1],ik,[0,[1,2,3],ik,[0,eA],ik,[0,aA],ik,[0,bk]],ik,[0,[1],ik,aA],ik,[0,[1,2,3],ik,[0,y,-1],ik,[0,y],ik,[0,[2,3,4],y,ik,[0],ik,[0],ik,[0,eA]]]];var mra=[0,[0,[2,3,4,9],cA,ik,[0,bk],ik,[0,cA,lk,fA],ik,[0,bk,cA,fA],4,ik,[0,hk,[0,[2],y,ik,[0]]]],hk,lra];var nra=[0,[0,aA,[0,y,[0,[0,[1,2,3,4],ik,[0,aA],ik,[0,[2,3,4,5],y,ik,[0,y,-1],ik,[0],ik,[0,[1],gk],ik,[0]],ik,[0,[0,y,-1],[0,[1,2,3],ik,[0],ik,[0],ik,[0]]],ik,[0]],y,mk],hk,mra],mra,[0,[0,gra,fra]]],hk,[0,lra]];var ora=[0,[20],mk,-1,y,mk,y,14,ik,[0,2,y,-1,1,y,-2,Wj,-1,bk]];function gA(a){this.Aa=of(a)}
t(gA,bi);l=gA.prototype;l.getType=function(){return Zg(this,1,0)};
l.setType=function(a){return th(this,1,a)};
l.getIndex=function(){return Qg(this,4)};
l.vA=function(a){ph(this,4,a)};
l.Lp=function(a){ph(this,5,a)};function hA(a){this.Aa=of(a)}
t(hA,bi);l=hA.prototype;l.getType=function(){return Zg(this,1,0)};
l.setType=function(a){return th(this,1,a)};
l.getIndex=function(){return Qg(this,4)};
l.vA=function(a){ph(this,4,a)};
l.Lp=function(a){ph(this,5,a)};function iA(a){this.Aa=of(a)}
t(iA,bi);l=iA.prototype;l.getType=function(){return Zg(this,1,0)};
l.setType=function(a){return th(this,1,a)};
l.getIndex=function(){return Qg(this,3)};
l.vA=function(a){ph(this,3,a)};
l.Lp=function(a){ph(this,4,a)};function jA(a){this.Aa=of(a)}
t(jA,bi);jA.prototype.getType=function(){return Zg(this,1,0)};
jA.prototype.setType=function(a){return th(this,1,a)};function kA(a){this.Aa=of(a)}
t(kA,bi);function lA(a){this.Aa=of(a)}
t(lA,bi);function mA(a){this.Aa=of(a)}
t(mA,bi);mA.prototype.getType=function(){return Zg(this,1,0)};
mA.prototype.setType=function(a){return th(this,1,a)};
mA.prototype.getTimestamp=function(){return xg(this,fl,8)};
mA.prototype.setTimestamp=function(a){return Ag(this,fl,8,a)};
var nA=[2,3,4,5,6,7];function oA(a){this.Aa=of(a)}
t(oA,bi);function pA(a){this.Aa=of(a)}
t(pA,bi);function qA(a){this.Aa=of(a,500)}
t(qA,bi);function rA(a,b){return Dg(a,8,mA,b)}
var pra=wk(qA);var qra=[0,mk,-1,y,Wj,-1];gA.prototype.Ca=uk(qra);var rra=[0,mk,-1,y,Wj,-1];hA.prototype.Ca=uk(rra);var sra=[0,mk,y,Wj,-1];iA.prototype.Ca=uk(sra);var tra=[0,mk,Wj,-3];jA.prototype.Ca=uk(tra);var ura=[0,Wj,-1,2,Wj];kA.prototype.Ca=uk(ura);var vra=[0,Wj,y];lA.prototype.Ca=uk(vra);var wra=[0,nA,mk,ik,qra,ik,rra,ik,sra,ik,tra,ik,ura,ik,vra,jl];mA.prototype.Ca=uk(wra);var xra=[0,y,mk,-1];var yra=[0,[2,3],[0,y,-1,mk,y,-1],ik,[0,mk,-1,Nj,Wj,y,-2,mk,-1,[0,mk,Wj]],ik,[0,y,2,jl,y,[0,1,y,mk],1,[0,[2,3,4,6,7,8,9,10],1,ik,[0,Wj],ik,[0,1,y,mk,y],ik,[0,1,mk],mk,ik,[0,mk,-2],ik,[0,mk,y,mk],ik,[0,y],ik,[0,mk],ik,[0,y],bk],mk,-2,xra]];var zra=[0,mk,-3,Wj];var Ara=[0,mk,y];var Bra=[0,ek,-17];var Cra=[0,y,-1];oA.prototype.Ca=uk(Cra);var Dra=[0,hk,Ara,mk,-1,hk,Cra,hk,zra,hk,Sm,Bra,iqa];pA.prototype.Ca=uk(Dra);var Era=[0,mk,Jj];var sA=[0,hk,[0,mk,Jj,Wj,-1],Era,hk,[0,mk,Jj,bk],Jj,ok,y,ok,hk,Era];var tA=[0,[2,3,4],sA,ik,[0,y,-1],ik,[0,y,-1],ik,[0,[1,2],gk,-1]];var uA=[0,mk,[0,y,-3,mk,-1],[0,mk,-3,y,1,y,-1,7,y],[0,Nj,y,-2],[0,y,-2,ek,[0,jl,-1,Nj,Jj],y,mk,y],[0,mk,bk,-1,y],[0,y,-1,1,mk,[0,y,-1,[0,y,-1],y],y],[0,[0,y]],[0],gra,fra];var vA=[0,y,mk,-2];var wA=[0,ek];var Fra=[0,y,-2];var Gra=[0,[2],y,ik,Fra,sA];var xA=[0,[1,2,4],ik,[0,y,-3],ik,[0,mk,y],sA,ik,[0,y]];var Hra=[0,y,-1,sA,[0,y]];var Ira=[0,y,Fra];var Jra=[0,hk,xA,Wj,-1,wA];var Kra=[0,function(){return yA},
mk],yA=[0,sA,hk,[0,y,-1],hk,Ira,hk,xA,Jra,hk,function(){return yA},
hk,function(){return Kra},
y,-1,hk,Ira];var Lra=[0,[3,5,6,7,8,9],2,ik,Hra,1,ik,[0,mk,sA],ik,[0,y,sA,mk,1,hk,xA],ik,Jra,ik,[0,hk,Gra,hk,xA],ik,yA];var zA=[0,[3,4],jl,Wj,ik,[0,[1,2,3,4,5,6,7],ik,[0,y,-3],ik,[0,xA,mk],ik,[0,Gra,mk],ik,[0,Hra,mk,hk,[0,y,-1]],ik,[0,mk],ik,[0,yA,mk],ik,[0]],ik,[0,vA,Lra,wA]];var Mra=[0,[6,7,8,9],y,-3,hk,function(){return Mra},
ik,[0,y,-2],ik,[0,y,-3,hk,[0,y,-1]],ik,[0,y,-2],ik,[0,y,-1]];var Nra=[0,Mra,Jj,sA,bk];var Ora=[0,y,Jj,sA];var Pra=[0,mk,Jj,sA];var Qra=[0,y,-2];var Rra=[0,[2,3],y,Tj,gk];var AA=[0,hk,[0,[1],ik,Rra],[0,y,-1],[0,[1],ik,Rra],[0,Wj,y,-1],2,[0,y]];var Sra=[0,y,Jj,AA];var BA=[0,sA,hk,function(){return BA},
mk,-2,Wj,y,-3,[0,[6,7,8],bk,-4,dk,-2,Wj,-2,Nj,jl,bk,Jj,y,-2],[0,[0,Jj,-4],-2],y,[0,y,-1,Nj,-1,[0,y,-4],jm,jl]];var Tra=[0,hk,[0,[1,2],ik,[0,hk,[0,y,Lj,y],Rj],ik,[0,hk,[0,mba,y]]],[0,Lj]];var Ura=[0,AA,hk,Tra,y];var CA=[0,y,-1];var DA=[0,Nj,Wj];var EA=[0,mk,lk,y];var Vra=[0,y,jk];var FA=[0,mk,y];var Wra=[0,hk,[0,mk,lk,y,bk,FA]];var GA=[-500,$qa,Zqa,era,cra,dra,ara,ora,hk,wra,991,Dra,[0,hk,[0,Nj,-2],mk,-2,nk,mk,Nj,-1,Qj,bk,mk],[0,1,Xj,[0,[0,mk,[0,nk,-2,Wj,-3,hk,[0,y,ek,-2,y,mk],[0,mk],[0,y,Wj,-2],Wj,-2],y,-5,uA,y],[0,hk,BA,Wj,1,y,[0,hk,[0,mk,y],hk,[0,y,-1]],[0,bk,-1,y],[0,hk,[0,ek,mk]],vA,y],1,[0,[0,Rj,bk,-2,y,Nj,-6,bk,Nj,-1,y,-2,Nj,-5,Rj,Nj,-3,bk,-13,y,-3],[0,y,-5,bk,y,-6],[0,y,-5,bk,-32,y,-11],1,[0,[1,2,3],Tj,-2],[0,y,-25],y]],[0,[0,mk,y,-1],mk,jm,[0,AA,y,uA],[0,hk,Tra,y],[0,jl]],[0,[0,mk,uA,y,-2,mk,y,-1,mk,y,[0,hk,[0,
y,-1,mk]],bk,y],[0,xra,hk,[0,[3,4,5],sA,bk,ik,Qra,ik,[0,y],ik,[0,y,Qra],ek],ek,y]],[0,vA,jl,y,[0,mk,y],mk,[0,[2,3,4,5,6,7,8,9],mk,ik,[0,Wj],ik,[0,mk,y,-1],ik,[0,mk],ik,[0,mk,-2],ik,[0,mk,y,mk],ik,[0,y],ik,[0,mk],ik,[0,y],bk,-1]],[0,[0,[3,4],mk,uA,ik,[0,y],ik,[0,y,ek,y]],[0,[2,3],vA,ik,[0,sA,mk,-1],ik,[0,Sra,hk,Sra]]],[0,mk,[0,uA,y,-2,mk,y],[0,hk,BA]],[0,[0,mk,[0,uA,y,-4],[0,1,[0,y],ek],[0,1,[0,Wj]]],[0,vA,[0,7,hk,[0,[0,y,mk,y,bk],CA],hk,[0,[0,y,-2,mk,y,bk],CA],hk,[0,[0,y,-1,mk,y,bk],CA],hk,[0,[0,
y,-2,mk,y],CA],hk,[0,[0,[0,ok],mk,bk],CA],hk,[0,[0,ek,mk],CA]],[0,hk,[0,y,1,mk,Wj,hk,[0,1,y,1,y,-1],2,y,-3]]],[0,hk,[0,y,mk]]],[0,[0,y,Wj,uA,hk,zA,mk,hk,zA],[0,vA,Lra,mk,wA,hk,[0,y,-1,hk,[0,y,jk,-1]]]],[0,y,ok],[0,[0,uA,hk,zA,-1,y,-1,[0,ok,Wj,bk],y,-2],[0,y,hk,[0,[1,2,3],ik,Nra,ik,Ora,ik,Pra],vA,[0,hk,Nra],[0,hk,Ora],[0,bk,hk,Pra]]],[0,[0,[0,[2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23],mk,ik,[0,y,-2],ik,[0,y,-2],ik,[0,Nj,1,mk],ik,[0,y],ik,[0,y,-1,mk],ik,[0,y],ik,[0,y],ik,[0,y],ik,[0,
y,mk],ik,[0,y],ik,[0,y],ik,[0],ik,[0,y,-1],ik,[0,y],ik,[0,y,-1],ik,[0,y,-1],ik,[0],ik,[0,mk],ik,[0,y],ik,[0,y],ik,[0,y,Nj],ik,[0,y,hk,[0,y,-1]],y,uj,uba,y],1,[0,ek,y,-1],y,uA],[0,y,Ura,hk,Ura]],[0,[0,uA,y,Yj,y,Wj],[0,vA,hk,[0,Wj,Lj,sA]]],[0,[0,uA,[0,hk,[0,[1,2],ik,[0,y],ik,tA]],y],[0,vA,tA],hk,tA],[0,[0,mk,uA,[0,Nj,-2,y,-2,mk,y,-3],[0,y,jl]],[0,vA,[0,hk,[0,y,Jj,sA]],bk,[0,y,ek]]],[0,[0,uA,y,-1,mk,y,hk,[0,mk],Wj,y,-1],[0,vA,hk,[0,sA,bk,y,Jj]]]],yra,[0,[1],ik,[0,[0,[0,Sj,Zj],DA,1,[0,y],[0,y,[0,Jj,-7,
bk,mk]],[0,y,-2,bk],[0,[0,[0,y,-1,mk,y,-4],DA],[0,mk,y,nk,Wj],mk]],[0,[2,3],[4,5],y,ik,[0,[0,y,ek,bk]],ik,[0,[0,[2,3,4,5,6],DA,ik,[0,mk],ik,[0,[0,[0,ek],y],[0,[0,[0,y,-1],[0,[0,y,-4],[0,hk,[0,y,-1]]]]]],ik,[0,bk],ik,[0,[2,3,4,5],lk,ik,[0,EA],ik,[0,hk,EA],ik,[0,EA],ik,[0,y]],ik,[0]],Vra],ik,[0,Vra,[0,[0,bk,y],[0,y,-2,nk],[0,[0,DA,-1],1,mk,nk],[0,bk,-1],hk,[0,[4,5,6,7],lk,y,mk,ik,[0,Wra,mk],ik,[0,Wra],ik,[0,mk,lk,sba,y,-1,hk,[0,Yj,FA]],ik,[0,1,y,-1],bk,y,hk,[0,[2],y,ik,[0,lk]],[0,y,FA]],1,nk,[0,y,-2]],
y,nk,y],ik,[0]],[0,mk,-1],[0,[1,2,3,4,5,6],ik,[0,mk],ik,[0],ik,[0,y,Wj,bk,-1],ik,[0,Wj,nk,mk,-1],ik,[0],ik,[0]]]],[0,[5,6,7,8],y,bk,mk,y,ik,[0,y,-1],ik,[0,y,-1],ik,[0,y,-1],ik,[0,Nj,-1]],[0,y,[0,mk,-1,[0,y],mk],[0,[1,2,3,4,5,6],ik,[0,Nj],ik,[0],ik,[0,Nj],ik,[0],ik,[0,[1,2],ik,[0,y],ik,[0,y],mk],ik,[0]],y,[0,y,-3],y,[0,y,mk],y,[0,mk,-1],ek,y,ek,1,y],nra];qA.prototype.Ca=uk(GA);function HA(a){var b=a.env;var c=a.cl;var e=a.visitId;var f=a.vid;var h=a.pt;var k=a.pid;var n=a.rl;var p=a.dt;var r=a.ii;var u=a.cc;var w=a.lang;var A=a.hc;var la=a.ehc;var ma=a.rs;var sa=a.Qe;var Aa=a.webHistoryEnabled;var Ba=a.supportJourneyId;a=a.productEscalationsId;var Ga=new qA;c=Number(c);var Na=new Wz;Na=th(Na,1,2);b=Tqa.get(b);b=th(Na,2,b);c=Number.isFinite(c)?c:null;b=ph(b,3,c);Ga=Ag(Ga,Wz,1,b);b=new $z;e=rh(b,1,e);Aa=nh(e,4,Aa);f&&Aa.Ud(f.toString());Aa.setSupportJourneyId(Ba);f=Ag(Ga,
$z,3,Aa);Ba=new Yz;h=Uqa.get(h);h=th(Ba,1,h);k=rh(h,2,k);n=rh(k,3,n);p=Vqa.get(p);p=th(n,4,p);r=nh(p,5,r);u=rh(r,6,u);u=th(u,10,1);u=Ag(f,Yz,4,u);r=new Zz;w=rh(r,1,w);w=Ag(u,Zz,5,w);u=new Xz;A=rh(u,1,A);la=rh(A,2,la);la=kg(la,4,ve,a,void 0,Le);la=Ag(w,Xz,6,la);a=new Vz;ma=Yqa.has(ma)?Yqa.get(ma):0;ma=th(a,2,ma);ma=Ag(la,Vz,2,ma);la=new pA;if(sa&&sa.exp)for(sa=x(sa.exp),a=sa.next();!a.done;a=sa.next())if((a=a.value)&&a.active_groups)for(a=a.active_groups.split(";"),a=x(a),A=a.next();!A.done;A=a.next())A=
A.value.split("::"),A.length===2&&(w=new oA,w=rh(w,1,A[0]),A=rh(w,2,A[1]),Dg(la,4,oA,A));return Ag(ma,pA,1E3,la)}
;function IA(a,b,c){Qz.call(this);this.o=a;this.dymTrackingId=b;this.sessionId=c;this.ma=new Map}
t(IA,Qz);function JA(a,b,c){c=c===void 0?!0:c;var e,f;Ya(function(h){e=Oy(My(KA(),b),1);c&&(f=Ky(Jy(new Iy,a.o?3:1),a.sessionId),Ry(e,f));return h.yield(Sz(a,e),0)})}
function LA(a,b,c,e,f){f=f===void 0?!0:f;Ya(function(h){return h.yield(a.zw("reportSearchResultClick",a.dT,b,c,e,f),0)})}
l=IA.prototype;l.dT=function(a,b,c,e){e=e===void 0?!0:e;var f=this,h,k,n;return Ya(function(p){h=Oy(Ny(My(KA(),a),b),3);e&&(k=Ky(Jy(new Iy,f.o?4:2),f.sessionId),Ry(h,k));n=(new Dy).setUrl(c);Qy(h,n);return p.yield(Sz(f,h),0)})};
l.sK=oa(15);l.vz=function(a,b,c){var e=this;return Ya(function(f){return f.yield(e.zw("reportSearchResultsFeatureClick",e.eT,a,b,c),0)})};
l.eT=function(a,b,c){var e=this,f;return Ya(function(h){f=Xra(e,a,b,4,c);return h.yield(Sz(e,f),0)})};
l.tK=oa(16);function Yra(a,b,c){var e,f;return Ya(function(h){var k=new Gy;var n=new Fy;n=ph(n,1,c);e=Bg(k,2,Hy,n);f=Py(Oy(My(KA(),b),4),e);return h.yield(Sz(a,f),0)})}
function Xra(a,b,c,e,f){b=Oy(Ny(My(KA(),b),c),3);f&&(f=(new Dy).setUrl(f),Qy(b,f));a=Ky(Jy(new Iy,e),a.sessionId);Ry(b,a);return b}
function KA(){return(new Ly).setTimestamp(hl())}
l.zw=function(a,b){var c=Za.apply(2,arguments),e=this.PO.apply(this,[a].concat(Fa(c))),f=this.ma.get(e);f||(f=pea(b.bind.apply(b,[this].concat(Fa(c)))),this.ma.set(e,f));return f()};
l.PO=function(a){return a+"("+Za.apply(1,arguments).join(",")+")"};function MA(a){this.o=a;this.oa="";this.ma=[]}
MA.prototype.init=function(){Zra(this);$ra(this);!this.o.visit_id&&window.sc_visit_id&&(this.o.visit_id=window.sc_visit_id);if(!NA){var a=document.getElementsByTagName("body")[0],b=this.ua.bind(this);a.addEventListener("click",b);NA=!0;document.addEventListener("pjaxunload",function(){a.removeEventListener("click",b);NA=!1})}asa();
bsa(this);csa();dsa();this.o.fragment&&(window.location.hash=this.o.fragment);!this.o.is_render_api&&this.o.esid&&(this.oa=nea(),window.setInterval(kea,5E3));esa()};
function dsa(){function a(b,c){var e=Mr(b,c);e&&window.requestAnimationFrame(function(){var f=document.querySelector('[data-videoid="'+e+'"]');if(f){var h=Fo();window.scroll(0,window.pageYOffset+f.getBoundingClientRect().top-(h||0))}})}
window.addEventListener("load",function(){return a("",location.href)});
window.addEventListener("hashchange",function(b){return a(b.oldURL,b.newURL)})}
MA.prototype.Gb=function(){return this.o};
MA.prototype.qa=function(a){for(var b=0;b0&&(a.o.request_attributes=b)}
function bsa(a){a.qa([function(b){(b=b.href)&&b[0]==="#"&&OA(io(b))}]);
window.addEventListener("hashchange",function(){OA(io());var b=io();(b=PA(b))&&b.scrollIntoView()});
window.addEventListener("load",function(){var b=io();OA(b);(b=PA(b))&&b.scrollIntoView()})}
function csa(){var a=document.querySelector(".main-content");a&&a.addEventListener("focusin",function(b){if(b.target instanceof Element){var c=Fo();c&&(b=b.target.getBoundingClientRect().top,c=Math.max(c-b,0),c>0&&window.scrollBy(0,-c))}})}
function Zra(a){var b=window.sc_scope||document;b instanceof HTMLDocument&&(b=b.documentElement);b.setAttribute("lang",a.o.lang);b.setAttribute("dir",a.o.rtl?"rtl":"ltr")}
function PA(a){return document.getElementById(a)||document.getElementsByName(a)[0]}
function OA(a){if(a=PA(a)){var b=Fo()||0;var c=(c=document.querySelector(".article-nav"))?c.offsetHeight:void 0;var e=(e=document.querySelector(".scDiscoveryGeniesticky"))?e.offsetHeight:void 0;b=b+(c||0)+(e||0);a.style.scrollMarginTop=b?b+16+"px":""}}
var NA=!1,QA={};function fsa(a){switch(a.tagName){case "BUTTON":case "INPUT":case "OPTION":case "SELECT":return!0}return!1}
window.sc_initPage=function(a){var b=new MA(a);b.init();if(window.sc_refresh==1){var c;window.sc_pageModel&&(c=window.sc_pageModel.iro);window.sc_pageModel=b.Gb();window.sc_sid=b.oa;c&&(window.sc_pageModel.iro=c);window.sc_registerPageClickHandlers=b.qa.bind(b)}else window.sc_pageModel.html_title=a.html_title};
window.sc_initHelpcenterPageModelProto=function(a){window.sc_helpcenterPageModelProto=a};
tb("hcfe.Page",MA);tb("hcfe.Page.setString",function(a,b){QA[a]=b});
tb("hcfe.Page.getString",function(a){return QA[a]});function gsa(){this.start=window.performance.now()}
gsa.prototype.report=function(a){var b=window.performance.now();a={type:a,duration_ms:b-this.start};if(this.requestUrl)for(var c=x(window.performance.getEntriesByName(this.requestUrl)),e=c.next();!e.done;e=c.next())if(e=e.value,e.responseStart>=this.start){a.srt=e.responseStart-this.start;a.ol=a.prt=b-e.responseStart;break}var f;(f=Ls)==null||f.Ip(a)};
function RA(a,b,c,e){c=c===void 0?0:c;e=e===void 0?!0:e;var f=new kz;b=th(f,1,b);a=Math.trunc(window.performance.now()-a.start);a=qh(b,2,a);e=nh(a,3,e);c!==0&&qh(e,4,c);lo({endpoint:"recordsla",httpMethod:"POST",params:{v:"1"},requestBody:e.serialize()})}
;function SA(a){this.Aa=of(a)}
t(SA,bi);SA.prototype.setHost=function(a){return rh(this,3,a)};
SA.prototype.Me=function(){return Xg(this,4)};SA.prototype.Ca=uk([0,GA,y,-1,Vj,-1,Yj]);var hsa=new Map([["PROD",1],["STAGING",2],["DRAFT",3],["READY",4],["TEST",5],["DEV",6],["ALPHA",7],["GKMSSTAGING",8],["LOCAL",9]]),isa=new Set;function jsa(a){var b=this;this.Qe=a;this.fJ=!1;this.currentFormId=this.RJ=this.mT=this.ZT=0;this.zL=isa;this.transport=this.Sj(1046,860);this.BK=this.Sj(1324,1323);this.Cb=new IA(!1,"","");Ls=this;ksa(this);window.sc_registerPageClickHandlers&&window.sc_registerPageClickHandlers([function(c){return void b.ud(c)}])}
l=jsa.prototype;l.Sj=function(a,b){var c=z(),e=Bw(new Aw,c.mendel_ids);a=ty(new sy(c.env==="PROD"?b:a,String(c.au||"0")),e);c.auth_token?tpa(a,function(){return c.auth_token}):"about:blank"===location.href&&tpa(a,function(){return""});
a=a.build();a.Ia=a.Ma;a.Ha=!0;return a};
function ksa(a){var b=to("StatsDeferredClearcut",!0);if(b){b=gqa(b);var c=xg(b,fz,1);rh(c,34,z().visit_id);c=zg(c,ez,33,Xf());if(c.length>0){a.transport.dispatch(b);a.transport.flush();try{Lo(document,"sc_statsEvent",{detail:c[0]})}catch(e){}}}if(b=to("ScaledStatsDeferredClearcut",!0))b=pra(b),c=xg(b,$z,3),rh(c,1,z().visit_id),TA(a,b)}
l.tU=function(){this.Yz();if(window.sc_refresh){var a=UA(this,1);var b=new az;b=ph(b,1,Number(this.Qe.cl));var c=Number(to("refererViewId"));c>0&&ph(b,3,c);Ag(a,az,3,b);VA(this,a)}};
function WA(a){for(var b=[],c=x(document.querySelectorAll("[data-stats-visible-imp]")),e=c.next();!e.done;e=c.next()){e=e.value;var f=XA(e,{type:0}),h=f.type+"-"+f.id+"-"+f.index,k;if(k=!a.zL.has(h))k=void 0,k=k===void 0?50:k,k=oea(e)>=k;k&&(a.zL.add(h),b.push(f))}a.Ej(b,!0)}
function lsa(a){if(!a.fJ){a.fJ=!0;WA(a);var b;window.addEventListener("scroll",function(){window.clearTimeout(b);b=window.setTimeout(function(){return void WA(a)},300)})}}
l.Yz=function(a){var b=[];a=x((a||document).querySelectorAll("[data-stats-imp]"));for(var c=a.next();!c.done;c=a.next())b.push(XA(c.value,{type:0}));this.Ej(b)};
l.sU=function(a,b){a=XA(a,{type:0});a.type=b||a.type;this.Ej([a])};
l.Ej=function(a,b){b=b===void 0?!1:b;if(a.length!==0){var c=UA(this,b?7:3),e=HA(YA(this.Qe));b=b?7:3;a=x(a);for(var f=a.next();!f.done;f=a.next()){f=f.value;var h=(new $y).setType(f.type);f.id&&h.setId(f.id);ZA(h,f.index);Dg(c,6,$y,h);h=(new iA).setType(Uz.get(f.type));f.id&&rh(h,2,f.id);ZA(h,f.index);f=(new mA).setType(b);f=Bg(f,4,nA,h);rA(e,f.setTimestamp((new fl).setSeconds(Date.now()/1E3)))}VA(this,c);TA(this,e)}};
l.tb=function(a,b,c,e,f){msa(this,a,b,c,e);f instanceof Function&&f()};
l.yL=function(a,b,c,e,f,h){a&&(a=XA(a,{type:0,action:0},h),msa(this,b||a.type,c||a.action,e||a.id,f||a.index))};
function msa(a,b,c,e,f){var h=UA(a,5);var k=(new Yy).setType(b);k=th(k,2,c);b=(new hA).setType(Uz.get(b));c=Wqa.get(c);c=th(b,2,c);e&&(k.setId(e),rh(c,3,e));ZA(k,f);ZA(c,f);Dg(h,7,Yy,k);VA(a,h);e=HA(YA(a.Qe));f=(new mA).setType(2);f=Bg(f,3,nA,c);e=rA(e,f.setTimestamp((new fl).setSeconds(Date.now()/1E3)));TA(a,e)}
l.ud=function(a){if(a.href!=="#"){var b=a.element;if(b){a:{var c=b;var e;if(e=c){b:{for(e=c;e;){if(e.hasAttribute&&e.hasAttribute("data-stats-ignore")){e=!0;break b}e=e.parentNode}e=!1}e=!e}if(e)for(;c;){if(c.hasAttribute&&c.hasAttribute("data-stats-action")||c.tagName==="A"||fsa(c))break a;c=c.parentNode}c=null}if(c){e=b.href;var f=(f=b.getAttribute("data-stats-toggle-class"))?!$n(b,f):b instanceof HTMLInputElement&&(b.type==="checkbox"||b.type==="radio")&&!b.checked;e=XA(b,{type:0,id:e,action:f?
29:8});if(e.id!==void 0){a.hc_internal&&so("refererViewId",z().vid);b=this.sC(a);a:{f=x(pia);for(var h=f.next();!h.done;h=f.next()){var k=x(h.value);h=k.next().value;k=k.next().value;if($n(c,h)){f=k;break a}}f=void 0}f=nsa(this,e,b,f);e=osa(e);e=rA(HA(YA(this.Qe)),e);a=a.event;switch(b){case 2:$A(this,a,c,f,e);break;case 1:b=psa(this,f);b=qsa(this,b);so("StatsDeferredClearcut",b.serialize())||$A(this,a,c,f);so("ScaledStatsDeferredClearcut",e.serialize())||$A(this,a,c,void 0,e);break;default:case 3:VA(this,
f),TA(this,e)}}}}}};
function $A(a,b,c,e,f){e&&VA(a,e);f&&TA(a,f);if(!b.defaultPrevented){b.preventDefault();a=c.getAttribute&&c.getAttribute("data-stats-delay-url");if(!a&&c instanceof HTMLAnchorElement&&(a=c.href)&&c.target==="_blank"){wn(window,a);return}a&&(c=nb(c)&&Um(c)&&c.tagName.toUpperCase()==="A".toString()?c.target:"",b=window.sc_delayLocationHandler,b instanceof Function?b(a):wo(a,!0,c))}}
function aB(a,b,c,e,f){var h=nsa(a,{type:b,action:c,id:e,index:f},3);b=osa({type:b,action:c,id:e,index:f});b=rA(HA(YA(a.Qe)),b);VA(a,h);TA(a,b)}
function nsa(a,b,c,e){a=UA(a,4);var f=new Xy;c=th(f,1,c).setType(b.type);c=th(c,3,b.action).setId(b.id);ZA(c,b.index);e&&(b=new Wy,e=th(b,1,e),Ag(c,Wy,7,e));Ag(a,Xy,5,c);return a}
function osa(a){var b=(new gA).setType(Uz.get(a.type));var c=Wqa.get(a.action);b=th(b,2,c);b=rh(b,3,a.id);ZA(b,a.index);a=(new mA).setType(1);return Bg(a,2,nA,b).setTimestamp((new fl).setSeconds(Date.now()/1E3))}
function XA(a,b,c){c=c===void 0?!1:c;return{id:bB({element:a,attr:"data-stats-id",defaultValue:b.id}),type:rsa({element:a,attr:"data-stats-ve",defaultValue:b.type,Fs:!0}),action:rsa({element:a,attr:"data-stats-action",defaultValue:b.action,Fs:c}),index:bB({element:a,attr:"data-stats-idx",defaultValue:b.index})}}
l.sC=function(a){var b=a.element.getAttribute("data-stats-method");if(b)switch(b.toUpperCase()){case "DELAY":return 2;case "DEFER":return 1;default:return 3}return a.blank||a.authuser_related?3:a.external?2:a.hc_internal?1:3};
l.Ip=function(a){var b=UA(this,2),c=new Zy;a.ol&&a.ol>=0&&ph(c,1,Math.round(a.ol));a.prt&&a.prt>=0&&ph(c,2,Math.round(a.prt));a.srt&&a.srt>=0&&ph(c,5,Math.round(a.srt));if(a.type&&a.duration_ms){var e=c.setType(a.type);ph(e,4,Math.round(a.duration_ms))}Ag(b,Zy,4,c);VA(this,b);var f=Xqa.get(a.type);e=a.duration_ms;b=a.ol;c=a.prt;a=a.srt;f=(new jA).setType(f);e=ph(f,2,e);b>=0&&ph(e,3,b);c>=0&&ph(e,4,c);a>=0&&ph(e,5,a);a=HA(YA(this.Qe));b=(new mA).setType(4);b=Bg(b,5,nA,e);a=rA(a,b.setTimestamp((new fl).setSeconds(Date.now()/
1E3)));TA(this,a)};
l.uU=function(a){var b=new kA;a.ol>=0&&ph(b,1,a.ol);a.prt>=0&&ph(b,2,a.prt);a.srt>=0&&ph(b,5,a.srt);a=HA(YA(this.Qe));var c=(new mA).setType(5);b=Bg(c,6,nA,b);b=rA(a,b.setTimestamp((new fl).setSeconds(Date.now()/1E3)));TA(this,b)};
l.vU=function(a){var b=UA(this,6),c=new dz;if(a.top!==void 0&&a.page_view_id!==void 0){var e=c.setTop(Math.trunc(Number(a.top||0)/1E3));rh(e,2,a.page_view_id||"");Ag(b,dz,8,c);VA(this,b);b=HA(YA(this.Qe));e=(new mA).setType(6);var f=new lA;f=ph(f,1,a.top||0);a=rh(f,2,a.page_view_id||"");a=Bg(e,7,nA,a);a=rA(b,a.setTimestamp((new fl).setSeconds(Date.now()/1E3)));TA(this,a);z().pt===10&&Ho("MoltronLoggingFeature__enable_view_duration_logs")==="true"&&Yra(this.Cb,this.Qe.mid||"",c.getTop()||0)}};
l.Kd=function(){return new gsa};
function UA(a,b){var c=z();var e=new cz;e=th(e,3,c.iro);e=rh(e,1,c.pid).Ud(c.vid);c.request_attributes&&hg(e,4,c.request_attributes,ne);if(c=Ho("workflow__session-id")){var f=new bz;c=rh(f,1,c);a.currentFormId!==0&&rh(c,2,String(a.currentFormId));Ag(e,bz,5,c)}a=new ez;return Ag(a,cz,2,e).setType(b)}
function psa(a,b){var c=z();b.setTimestamp(a.RJ===0?Date.now():a.RJ);var e=new fz;e=th(e,35,c.ncc);a.Qe.cc&&rh(e,41,a.Qe.cc);var f=th(e,17,c.dt);f=rh(f,24,c.ehc);f=rh(f,1,c.hc);f=nh(f,38,c.ii);f=hg(f,21,c.mendel_ids,qe);f=th(f,46,3);f=th(f,19,c.pt);f=th(f,14,1);f=th(f,32,c.rs);f=rh(f,2,c.rl);f=rh(f,12,c.lang);f=th(f,45,22);f=ph(f,15,17515);b=Dg(f,33,ez,b);b=th(b,43,c.rt).Ud(c.vid);b=rh(b,34,c.visit_id);b=th(b,55,2);b=nh(b,58,c.web_history_enabled).setSupportJourneyId(c.support_journey_id);c=hsa.get(c.env)||
0;th(b,53,c);if(a.Qe.exp)for(a=x(a.Qe.exp),c=a.next();!c.done;c=a.next())if((c=c.value)&&c.active_groups)for(c=c.active_groups.split(";"),c=x(c),b=c.next();!b.done;b=c.next())b=b.value.split("::"),b.length===2&&(f=new Cm,f=rh(f,1,b[0]),b=rh(f,2,b[1]),Dg(e,13,Cm,b));a=(new Vy).setContentType(55);Dg(e,3,Vy,a);return e}
function qsa(a,b){var c=z(),e=new gz;b=Ag(e,fz,1,b);c.ehn&&(c=vu(c.ehn.match(uu)[3]||null),b.setHost(c));a.Qe.ref&&rh(b,3,a.Qe.ref);return b}
function VA(a,b){if(Mp("workflow__kms")!=="true"&&!(++a.ZT>1E3)){var c=psa(a,b);Rg(c,1)===""?mo({Issue:"No helpcenter found when populating clearcut stats",Stats:b}):(c=qsa(a,c),a.transport.dispatch(c),a.transport.flush(),Lo(document,"sc_statsEvent",{detail:b}))}}
function TA(a,b){if(Mp("workflow__kms")!=="true")if(Rg(xg(b,Xz,6),1)==="")mo({Issue:"No helpcenter found when populating scaled clearcut",Extension:b});else if(!(++a.mT>1E3)){var c=new SA;c=Ag(c,qA,1,b);var e=z();e.ehn&&(e=vu(e.ehn.match(uu)[3]||null),c.setHost(e));a.Qe.ref&&rh(c,2,a.Qe.ref);(e=Ho("zwieback_id"))&&Number(e)>0&&Lf(c,5,Oe(e));a.BK.dispatch(c);a.BK.flush();Lo(document,"sc_scaledStatsEvent",{details:b})}}
function bB(a){var b=a.element;var c=a.attr;var e=a.defaultValue;a=a.Fs===void 0?!1:a.Fs;var f=b&&b.getAttribute&&b.getAttribute(c);if(a)for(;b&&!f;)f=b.getAttribute&&b.getAttribute(c),b=b.parentNode;return(f=f||e)?f.toLowerCase():void 0}
function rsa(a){var b=a.element;var c=a.attr;var e=a.defaultValue;a=Number(bB({element:b,attr:c,Fs:a.Fs===void 0?!1:a.Fs}));return isNaN(a)?e:a}
function ZA(a,b){b&&(b=b.split(","),b[0]&&(dqa(a)||eqa(a)||fqa(a)?a.wF(Number(b[0])):a.vA(Number(b[0]))),b[1]&&a.Lp(Number(b[1])))}
window.sc_initStats=function(a){window.sc_statsModel=a;if(!window.sc_refresh){var b=window.sc_trackStatsScopedImpressions;if(b){b(window.sc_scope);return}}a=new jsa(a);lsa(a);window.sc_trackStatsEvent=a.tb.bind(a);window.sc_trackStatsEventByElement=a.yL.bind(a);window.sc_trackStatsScopedImpressions=a.Yz.bind(a);window.sc_trackStatsImpressions=a.Ej.bind(a);window.sc_trackStatsImpressionByElement=a.sU.bind(a);window.sc_trackStatsLatency=a.Ip.bind(a);window.sc_trackStatsPageView=a.tU.bind(a);window.sc_trackStatsTimeOnPage=
a.vU.bind(a);window.sc_trackScaledSupportPageView=a.uU.bind(a)};
function YA(a){var b=z();return{env:b.env,cl:b.cl,visitId:b.visit_id,vid:b.vid,pt:b.pt,pid:b.pid,rl:b.rl,dt:b.dt,ii:b.ii,cc:b.cc,lang:b.lang,hc:b.hc,ehc:b.ehc,rs:b.rs,Qe:a,webHistoryEnabled:!!b.web_history_enabled,supportJourneyId:b.support_journey_id||"",productEscalationsId:Ho("productEscalationsId")?Number(Ho("productEscalationsId")):0}}
;function cB(a){a=a===void 0?new dm:a;this.state=this.priority=0;this.Cc=ssa(a);dB(this);eB(this);fB(this)}
function gB(a){var b;return(b=em(a.Cc))!=null?b:new Gl}
l=cB.prototype;l.getPriority=function(){return this.priority};
function hB(a){var b,c=(b=em(a.Cc))!=null?b:new Gl;fm(a.Cc,c);return c}
function tsa(a){a=hB(a);var b,c=(b=a.getFrdContext())!=null?b:new ol;Hl(a,c);return c}
l.getId=function(){var a;return(a=jh(this.Cc,2))!=null?a:null};
function iB(a){var b,c,e;return(e=(b=em(a.Cc))==null?void 0:(c=b.getFrdContext())==null?void 0:mh(c,1))!=null?e:null}
function jB(a){var b,c;return(c=(b=em(a.Cc))==null?void 0:mh(b,5))!=null?c:null}
l.setPriority=function(a){this.priority=a;return this};
l.isRequired=function(){var a;return(a=Tg(this.Cc,5))!=null?a:!1};
l.setRequired=function(a){nh(this.Cc,5,a);return this};
l.Qq=function(){return dh(this.Cc,4,Xf()).includes(1)||this.xq()===5};
function kB(a,b){dh(a.Cc,4,Xf()).includes(b)||(kg(a.Cc,4,ne,b,void 0,pe),dB(a))}
l.xq=function(){var a,b,c;return(c=(a=em(this.Cc))==null?void 0:(b=a.getFrdContext())==null?void 0:mh(b,2))!=null?c:null};
l.td=function(a){this.xq()!==a&&(tsa(this).td(a),dB(this));return this};
l.Vb=function(){return this.getValues().length>0};
l.getValues=function(){var a;if((a=em(this.Cc))==null||!Jl(a))return[];var b;a=(b=em(this.Cc))==null?void 0:Jl(b);var c,e,f,h,k,n,p,r,u,w,A,la;return((c=a.qk())==null?0:xl(c).length)?(e=a.qk())==null?void 0:xl(e,Od):((f=a.ah())==null?0:Kg(f,Xf()).length)?(h=a.ah())==null?void 0:Kg(h,Xf(Od)):((k=a.Fo())==null?0:ul(k).length)?(n=a.Fo())==null?void 0:ul(n).map(function(ma){return Kg(ma,Xf(Od))}):((p=zl(a))==null?0:xl(p).length)?(r=zl(a))==null?void 0:xl(r,Od):((u=Cl(a))==null?0:Kg(u,Xf()).length)?(w=
Cl(a))==null?void 0:Kg(w,Xf(Od)):((A=El(a))==null?0:Yf(A,1,eg,Xf()).length)?(la=El(a))==null?void 0:Yf(la,1,eg,Xf()).map(function(ma){return Yc(ma)}):Og(a,Qf(a,Al,7))!=null?[a.wq()]:[]};
l.qk=function(){var a,b,c,e;return(e=(a=em(this.Cc))==null?void 0:(b=Jl(a))==null?void 0:(c=b.qk())==null?void 0:xl(c,Od))!=null?e:null};
l.ah=function(){var a,b,c,e;return(e=(a=em(this.Cc))==null?void 0:(b=Jl(a))==null?void 0:(c=b.ah())==null?void 0:Kg(c,Xf(Od)))!=null?e:null};
l.Fo=function(){var a,b,c,e;return(e=(a=em(this.Cc))==null?void 0:(b=Jl(a))==null?void 0:(c=b.Fo())==null?void 0:ul(c).map(function(f){return Kg(f,Xf(Od))}))!=null?e:null};
l.wq=function(){var a,b;if((a=em(this.Cc))==null)a=void 0;else if((a=Jl(a))==null)a=void 0;else{var c=Qf(a,Al,7);a=Og(a,c);a=a==null?void 0:a}return(b=a)!=null?b:null};
l.Ig=function(a){lB(this).Ig(mB(a));fB(this);return this};
l.zj=function(a){lB(this).zj(nB(a));fB(this);return this};
l.xv=function(a){lB(this).xv(vl(new tl,a.map(function(b){return nB(b)})));
fB(this);return this};
l.setDateValues=function(a){Dl(lB(this),oB(a));fB(this);return this};
l.Kh=function(a){lB(this).Kh(a);fB(this);return this};
function lB(a){var b=new yl;Kl(hB(a),b);return b}
function dB(a){var b;a.Qq()&&((b=em(a.Cc))==null?0:Nf(b,ol,1))&&(kB(a,1),a.td(5))}
function eB(a){var b,c=(b=jB(a))!=null?b:iB(a);c&&ph(a.Cc,2,c)}
l.QI=function(){var a,b=(a=em(this.Cc))==null?void 0:Jl(a);if(!b)return 0;var c;return(c=usa.get(tg(b,Al)))!=null?c:0};
function fB(a){var b=a.QI();b===0?Lf(a.Cc,3):th(a.Cc,3,b)}
l.qc=function(){return!!this.getId()&&this.Vb()};
var usa=new Map([[3,2],[2,1],[6,8],[8,4],[4,3],[5,11],[7,9]]);function vsa(a){var b=Il(new Gl,a.frdIdentifier);if(a.frdContext){var c=a.frdContext;c=pl(new ol,c.frdIdentifier).td(c.contextType)}else c=void 0;return Kl(Hl(b,c),wsa(a.selectedValueList))}
function wsa(a){if(a){if(a.stringValues)return(new yl).Ig(mB(a.stringValues.value));if(a.intValues)return(new yl).zj(nB(a.intValues.value));if(a.intListValues)return(new yl).xv(vl(new tl,a.intListValues.list.map(function(b){return nB(b.value)})));
if(a.enumValueIdentifiers)return Bl(new yl,mB(a.enumValueIdentifiers.value));if(a.dateTimeValues)return Dl(new yl,oB(a.dateTimeValues.valueTimeMillis));if(a.bytesValues)return Fl(new yl,xsa(a.bytesValues.value));if(typeof a.boolValue==="boolean")return(new yl).Kh(a.boolValue)}}
function ysa(a){var b=Il(new Gl,a.frd_identifier);if(a.frd_context){var c=a.frd_context;c=pl(new ol,c.frd_identifier).td(c.context_type)}else c=void 0;return Kl(Hl(b,c),zsa(a.selected_value_list))}
function zsa(a){if(a){if(a.string_values)return(new yl).Ig(mB(a.string_values.value));if(a.int_values)return(new yl).zj(nB(a.int_values.value));if(a.int_list_values)return(new yl).xv(vl(new tl,a.int_list_values.list.map(function(b){return nB(b.value)})));
if(a.enum_value_identifiers)return Bl(new yl,mB(a.enum_value_identifiers.value));if(a.date_time_values)return Dl(new yl,oB(a.date_time_values.value_time_millis));if(a.bytes_values)return Fl(new yl,xsa(a.bytes_values.value));if(typeof a.bool_value==="boolean")return(new yl).Kh(a.bool_value)}}
function pB(a){var b=a.getFrdContext(),c=Sg(a,5);a=Jl(a);var e={};if(b){var f=Sg(b,1);b=Sg(b,2);var h={};typeof f==="number"&&(h.frd_identifier=f);typeof b==="number"&&(h.context_type=b);e.frd_context=h}typeof c==="number"&&(e.frd_identifier=c);a&&(e.selected_value_list=Asa(a));return e}
function Asa(a){var b=a.qk();if(b)return{string_values:{value:xl(b,Od)}};if(b=a.ah())return{int_values:{value:Kg(b,Xf(Od))}};if(b=zl(a))return{enum_value_identifiers:{value:xl(b,Od)}};if(b=Cl(a))return{date_time_values:{value_time_millis:Kg(b,Xf(Od))}};if(b=El(a))return{bytes_values:{value:Yf(b,1,eg,Xf()).map(function(c){return Yc(c)})}};
b=Og(a,Qf(a,Al,7));return typeof b==="boolean"?{bool_value:b}:(a=a.Fo())?{int_list_values:{list:ul(a).map(function(c){return{value:Kg(c,Xf(Od))}})}}:{}}
function ssa(a){if(a instanceof dm)return a.clone();if("frdId"in a||"frdValue"in a&&!Array.isArray(a.frdValue)){var b=new dm;b=ph(b,2,a.frdId);b=fm(b,a.frdValue?vsa(a.frdValue):void 0);b=th(b,3,a.frdValueType);b=hg(b,4,a.frdUsages,ne);return nh(b,5,a.isRequired)}if("frd_id"in a||"frd_value"in a&&!Array.isArray(a.frd_value))return b=new dm,b=ph(b,2,a.frd_id),b=fm(b,a.frd_value?ysa(a.frd_value):void 0),b=th(b,3,a.frd_value_type),b=hg(b,4,a.frd_usages,ne),nh(b,5,a.is_required);if(a instanceof Gl)return qB(a.clone());
if("frdIdentifier"in a||"frdContext"in a)return qB(vsa(a));if("frd_identifier"in a||"frd_context"in a)return qB(ysa(a));throw Error("Unrecognized FRD representation:"+JSON.stringify(a,null,"\t"));}
function nB(a){return(new sl).Jg(a)}
function mB(a){return(new wl).Jg(a)}
function oB(a){return Xba(new rl,a)}
function xsa(a){return(new ql).Jg(a==null?void 0:a.slice())}
function qB(a){return fm(new dm,a)}
;var Bsa=Ha(["/s/renderframe2/"]);function rB(a){this.formId=a}
rB.prototype.load=function(){var a=this;if(this.o)return this.o;this.Uc=document.createElement("iframe");this.Uc.style.display="none";document.body.appendChild(this.Uc);this.o=new Promise(function(b,c){a.Uc.addEventListener("load",function(){var e;return Ya(function(f){if(f.o==1)return Pa(f,2),f.yield(a.gp(),4);if(f.o!=2){a.form=f.ma;var h=a.form,k=Jo();Object.keys(k).length>0&&h.setProductSpecificData(k);a.Uc.contentWindow.sc_ensureSubscribed=window.sc_ensureSubscribed;b();return Qa(f,0)}e=Ra(f);
c(e);Oa(f)})})});
vn(this.Uc,1,Sn(Bsa));return this.o};
rB.prototype.gp=function(){var a=this;return new Promise(function(b,c){(new xy({apiKey:z().skey||"",requestSource:z().rs,locale:z().lang,sendEndUserCredentials:!0,authToken:z().auth_token,authUser:z().au,host:z().ehn,visitId:z().visit_id,viewId:z().vid})).load({helpcenter:z().hc,pageType:"CONTACT_FORM",pageId:a.formId,includeComponents:[],injectInto:a.Uc,onLoad:function(e){return void b(e)},
onError:c})})};
rB.prototype.getChatAvailability=function(){var a=this,b,c;return Ya(function(e){return e.return((c=(b=a.form)==null?void 0:b.getChatAvailability())!=null?c:!1)})};
rB.prototype.submitForm=function(){this.form.submitForm()};function sB(a){var b=ko();return b?qq(a,new Map([["sjid",b]]),!0):a}
;function Csa(){Dsa(this)}
function Dsa(a){window.sc_registerPageClickHandlers([function(b){b.hc_internal&&(b=b.element,b.href&&b.href.startsWith("http")&&(b.search=tB(b.search)))}.bind(a)]);
uo.push(function(b){b.href&&b.href.startsWith("http")&&(b.search=tB(b.search))});
a.o();window.addEventListener("load",a.o.bind(a))}
Csa.prototype.o=function(){for(var a=document.querySelectorAll(".gaiabar form, .non-one-bar form, #search-form"),b=0;b0&&(!a.WC||a.Hb.ma||a.Hb.defaultLanguage==="en")}
;function NB(a){this.Aa=of(a)}
t(NB,bi);l=NB.prototype;l.Ch=function(){return Ug(this,4)};
l.Ud=function(a){return ph(this,4,a)};
l.getUserAgent=function(){return Yg(this,6)};
l.Me=function(){return Wg(this,8)};
l.setSupportJourneyId=function(a){return rh(this,9,a)};var OB=[0,Rq,Vj,y,Wj,y,-1,mk,Nj,y,bk];NB.prototype.Ca=uk(OB);function PB(a){this.Aa=of(a)}
t(PB,bi);PB.prototype.kb=function(){return Wg(this,1)};
PB.prototype.vb=oa(33);PB.prototype.getMessageId=function(){return Wg(this,3)};PB.prototype.Ca=uk([0,Nj,-2,1,y,4,OB]);function QB(a){this.Aa=of(a)}
t(QB,bi);QB.prototype.kb=function(){return Wg(this,1)};
QB.prototype.vb=oa(32);QB.prototype.getMessageId=function(){return Wg(this,3)};QB.prototype.Ca=uk([0,Nj,-2,6,OB]);function RB(a){this.Aa=of(a)}
t(RB,bi);l=RB.prototype;l.kb=function(){return Wg(this,1)};
l.vb=oa(31);l.getMessageId=function(){return Wg(this,3)};
l.getType=function(){return Zg(this,4,0)};
l.setType=function(a){return th(this,4,a)};RB.prototype.Ca=uk([0,Nj,-2,mk,5,OB]);function SB(a){this.Aa=of(a)}
t(SB,bi);l=SB.prototype;l.kb=function(){return Wg(this,1)};
l.vb=oa(30);l.getMessageId=function(){return Wg(this,3)};
l.Ne=oa(37);l.eg=function(a){return th(this,4,a)};SB.prototype.Ca=uk([0,Nj,-2,mk,bk,4,OB]);function TB(a){this.Aa=of(a)}
t(TB,bi);TB.prototype.kb=function(){return Wg(this,1)};
TB.prototype.vb=oa(28);TB.prototype.Ca=uk([0,Nj,-1,mk,6,OB]);function UB(a){this.Aa=of(a)}
t(UB,bi);UB.prototype.kb=function(){return Wg(this,1)};
UB.prototype.vb=oa(27);UB.prototype.Ne=oa(36);UB.prototype.eg=function(a){return th(this,3,a)};UB.prototype.Ca=uk([0,Nj,-1,mk,6,OB]);function VB(a){this.Aa=of(a)}
t(VB,bi);l=VB.prototype;l.kb=function(){return Wg(this,1)};
l.vb=oa(26);l.getValue=function(){return Tg(this,3,!0)};
l.setValue=function(a){return nh(this,3,a)};
l.Vb=function(){return Og(this,3)!=null};VB.prototype.Ca=uk([0,Nj,-1,bk,Nj,y,mk,3,OB]);function WB(a){this.Aa=of(a)}
t(WB,bi);WB.prototype.kb=function(){return Wg(this,1)};
WB.prototype.vb=oa(24);WB.prototype.getMessageId=function(){return Wg(this,3)};WB.prototype.Ca=uk([0,Nj,-2,6,OB]);function XB(a){this.Aa=of(a)}
t(XB,bi);l=XB.prototype;l.kb=function(){return Wg(this,1)};
l.vb=oa(23);l.getMessageId=function(){return Wg(this,3)};
l.Ne=oa(35);l.eg=function(a){return th(this,4,a)};XB.prototype.Ca=uk([0,Nj,-2,mk,5,OB]);var Wsa=[0,mk,y];function Gs(a){this.Aa=of(a)}
t(Gs,bi);var Xsa=[0,hk,Wsa];Gs.prototype.Ca=uk(Xsa);function YB(a){this.Aa=of(a)}
t(YB,bi);l=YB.prototype;l.Bo=function(){return Yg(this,3)};
l.getMimeType=function(){return Yg(this,5)};
l.setMimeType=function(a){return rh(this,5,a)};
l.getContent=function(){var a=this.Aa,b=qd(a),c=Jf(a,b,6),e=eg(c);e!=null&&e!==c&&Mf(a,b,6,e);return e==null?Wc():e};
l.setContent=function(a){return Lf(this,6,Fd(a,!1,!0))};
l.clearContent=function(){return Lf(this,6)};function ZB(a){this.Aa=of(a)}
t(ZB,bi);ZB.prototype.kb=function(){return Wg(this,1)};
ZB.prototype.vb=oa(22);ZB.prototype.getMessage=function(){return xg(this,Jk,3)};var $B=[0,y,-2,bk,y,jk,Pk,bk];YB.prototype.Ca=uk($B);ZB.prototype.Ca=uk([0,Nj,-1,Qk,bk,hk,$B,mk,3,OB]);function aC(a){this.Aa=of(a)}
t(aC,bi);aC.prototype.kb=function(){return Wg(this,1)};
aC.prototype.getThread=function(){return xg(this,Sk,2)};
aC.prototype.getIsDraft=function(){return Tg(this,8,!1)};
aC.prototype.setIsDraft=function(a){return nh(this,8,a)};aC.prototype.Ca=uk([0,Nj,Uk,bk,hk,$B,mk,y,-1,bk,1,OB,y,-1]);function bC(a){this.Aa=of(a)}
t(bC,bi);bC.prototype.kb=function(){return Wg(this,1)};
bC.prototype.vb=oa(21);bC.prototype.getMessageId=function(){return Wg(this,3)};bC.prototype.Ca=uk([0,Nj,-2,bk,5,OB]);function cC(a){this.Aa=of(a)}
t(cC,bi);cC.prototype.kb=function(){return Wg(this,1)};
cC.prototype.vb=oa(20);cC.prototype.Ca=uk([0,Nj,-1,bk,6,OB]);function dC(a){this.Aa=of(a)}
t(dC,bi);dC.prototype.kb=function(){return Wg(this,1)};
dC.prototype.vb=oa(19);dC.prototype.getMessageId=function(){return Wg(this,3)};
dC.prototype.getMessage=function(){return xg(this,Jk,4)};dC.prototype.Ca=uk([0,Nj,-2,Qk,hk,$B,mk,bk,-1,1,OB]);function eC(a){this.Aa=of(a)}
t(eC,bi);l=eC.prototype;l.kb=function(){return Wg(this,1)};
l.vb=oa(18);l.getThread=function(){return xg(this,Sk,3)};
l.getIsDraft=function(){return Tg(this,6)};
l.setIsDraft=function(a){return nh(this,6,a)};eC.prototype.Ca=uk([0,Nj,-1,Uk,hk,$B,mk,bk,-1,2,OB]);function fC(a){this.Aa=of(a)}
t(fC,bi);fC.prototype.kb=function(){return Wg(this,1)};
function gC(a,b){return qh(a,1,b)}
fC.prototype.vb=oa(17);fC.prototype.getMessageId=function(){return Wg(this,4)};
fC.prototype.clearOffTopic=function(){return Lf(this,7)};
function Ysa(a){var b=new NB;return Ag(a,NB,10,b)}
;fC.prototype.Ca=uk([0,Nj,y,Nj,-1,1,Nj,bk,-1,1,OB]);function hC(a){this.Aa=of(a)}
t(hC,bi);hC.prototype.Ca=uk([0,9,OB]);function iC(a){this.Aa=of(a)}
t(iC,bi);iC.prototype.getInfo=function(){return xg(this,al,1)};iC.prototype.Ca=uk([0,cl,bk]);function jC(a){this.Aa=of(a)}
t(jC,bi);jC.prototype.kb=function(){return Wg(this,1)};
jC.prototype.getValue=function(){return Zg(this,2,2)};
jC.prototype.setValue=function(a){return th(this,2,a)};
jC.prototype.Vb=function(){return Sg(this,2)!=null};jC.prototype.Ca=uk([0,Nj,mk,Nj,y,5,OB]);function kC(a){this.Aa=of(a)}
t(kC,bi);kC.prototype.getInfo=function(){return xg(this,al,2)};kC.prototype.Ca=uk([0,Nj,cl,bk,$B,Nj,4,OB]);function lC(a){this.Aa=of(a)}
t(lC,bi);lC.prototype.getInfo=function(){return xg(this,al,1)};
lC.prototype.kb=function(){return Wg(this,2)};lC.prototype.Ca=uk([0,cl,Nj,7,OB]);var Zsa=0;function mC(a){this.options=a;this.id=""+Zsa++}
function nC(a){var b=$sa(a);b&&ata(a,b)}
mC.prototype.focus=function(a){var b;(b=a?this.getItem(a):$sa(this))==null||b.focus()};
function oC(a){var b='[data-focus-group="'+a.id+'"][data-focus-item]';a=a.options.scope;a=typeof a.nodeType==="number"?a:a.getElement();return(b=a==null?void 0:a.querySelectorAll(b))?Array.from(b):[]}
mC.prototype.getItem=function(a){return ffa(this.options.scope,'[data-focus-group="'+this.id+'"][data-focus-id="'+a+'"')};
function $sa(a){a=oC(a);if(a.length!==0){var b,c;return(c=(b=a.find(function(e){return e.tabIndex===0}))!=null?b:a.find(function(e){return e.dataset.focusInitial==="true"}))!=null?c:a[0]}}
function Qt(a,b){b=b===void 0?{}:b;return new bta(b,a.id,function(c){a.onFocus(c)},function(c){cta(a,c,b)})}
mC.prototype.onFocus=function(a){ata(this,a.target)};
function cta(a,b,c){function e(h,k,n){if(h){var p;(p=a.getItem(h))==null||p.focus();b.preventDefault()}else{if(h=k)h=a.options.qn,k=oC(a),p=k.indexOf(f),p===-1?h=!1:(n=p+n,n=h?(n+k.length)%k.length:Math.max(0,Math.min(k.length-1,n)),k[n].focus(),h=!0);h&&b.preventDefault()}}
var f=b.target;b.key==="ArrowUp"?e(c.up,a.options.Mj,-1):b.key==="ArrowDown"?e(c.kY,a.options.Mj,1):b.key==="ArrowLeft"?e(c.left,a.options.Qs,-1):b.key==="ArrowRight"&&e(c.right,a.options.Qs,1)}
function ata(a,b){a=x(oC(a));for(var c=a.next();!c.done;c=a.next())c=c.value,c.tabIndex=c===b?0:-1}
function bta(a,b,c,e){this.options=a;this.groupId=b;this.rq=c;this.xu=e}
bta.prototype.attributes=function(a){var b=a===void 0?{}:a;a=b.Rp===void 0?!0:b.Rp;b=b.Os===void 0?!0:b.Os;var c=["data-focus-item","true","data-focus-group",this.groupId,"tabindex","-1000"];this.options.id&&c.push("data-focus-id",this.options.id);this.options.initial&&c.push("data-focus-initial","true");a&&c.push("onfocus",this.rq);b&&c.push("onkeydown",this.xu);return c};function pC(a,b){if(c===void 0)var c=(c=window.gtag)&&typeof c==="function"?c:void 0;c&&(b?c("event",a,Object.assign({},b)):c("event",a))}
;function qC(a){this.Aa=of(a)}
t(qC,bi);qC.prototype.getCode=function(){return Zg(this,1,0)};
qC.prototype.getMessage=function(){return Yg(this,4)};
var dta=wk(qC);qC.prototype.Ca=uk([0,mk,-1,Xsa,y]);function rC(a){this.Jk=new er({serverUrl:function(){return AB().kx+"/s/community/api"},
serviceName:a})}
rC.prototype.call=function(a,b,c){var e=this,f;return Ya(function(h){if(h.o==1){Pa(h,2);var k=h.yield,n=e.Jk,p=n.post,r={withCredentials:!0};AB().authuser&&(r.query={authuser:AB().authuser});AB().lH&&(r.headers={Authorization:AB().lH});return k.call(h,p.call(n,a,b,c,r),4)}if(h.o!=2)return h.return(h.ma);f=Ra(h);if(f instanceof dr&&f.type==="application_error")throw new Fs(dta(f.responseText));throw f;})};function sC(a){this.Aa=of(a)}
t(sC,bi);sC.prototype.Ca=uk([0]);function tC(){var a={};var b=a.Yg;var c=a.Rh;a=a.Bf;this.productId=0;this.Yg=b!=null?b:new rC("SupportForums");this.Rh=c!=null?c:new rC("UserInfo");this.Bf=a!=null?a:new rC("Annotations")}
function uC(a,b){a.productId>0&&qh(b,8,a.productId);if(a=z())a.vid&&b.Ud(Number(a.vid)),a.visit_id&&rh(b,3,String(a.visit_id))}
l=tC.prototype;
l.updateGlobalUserInfo=function(a){var b=a.userId;var c=a.name;var e=a.headline;var f=a.bio;var h=a.QU;var k=a.youtube;var n=a.DF;var p=a.Dp;var r=a.avatar;var u=a.uR;var w=a.yk;var A=a.generativeAnswerTosAcceptedTimeUsec;var la=this,ma,sa,Aa,Ba;return Ya(function(Ga){ma=new Zk;sa=new Yk;Aa=bl(new al,ma).xF(sa);var Na=new kC;Ba=Ag(Na,al,2,Aa);b&&qh(Ba,1,b);c&&(ma.setName(c),Na=nh(Aa,5,!1),nh(Na,4,!1));e!==void 0&&rh(ma,4,e);f!==void 0&&rh(ma,5,f);h!==void 0&&rh(ma,6,h);k!==void 0&&rh(ma,7,k);n!==
void 0&&nh(sa,3,n);p!==void 0&&nh(sa,4,p);u!==void 0&&qh(sa,23,u);w!==void 0&&nh(sa,24,w);A!==void 0&&qh(sa,28,A);r&&Ag(Ba,YB,4,r);return Ga.return(la.Rh.call("UpdateGlobalUserInfo",Ba,al))})};
l.validateUserInfo=function(a){var b=this,c;return Ya(function(e){var f=new lC,h=bl(new al,(new Zk).setName(a));c=Ag(f,al,1,h);return e.yield(b.Rh.call("ValidateUserInfo",c,sC),0)})};
l.subscribeToForum=function(a,b){var c=this,e;return Ya(function(f){var h=new jC;h=qh(h,1,a).setValue(b);var k=new NB;e=Ag(h,NB,10,k);uC(c,xg(e,NB,10));return f.yield(c.Rh.call("SubscribeToForum",e,sC),0)})};
l.getDefaultUserInfo=function(){var a=this,b;return Ya(function(c){if(c.o==1)return c.yield(a.Rh.call("GetDefaultUserInfo",new hC,iC),2);b=c.ma;return c.return(b.getInfo())})};
l.setThreadAttribute=function(a,b,c){var e=this,f;return Ya(function(h){var k=new TB;k=qh(k,1,a);k=qh(k,2,b);k=th(k,3,c);var n=new NB;f=Ag(k,NB,10,n);uC(e,xg(f,NB,10));return h.yield(e.Bf.call("SetThreadAttribute",f,sC),0)})};
l.createThread=function(a){var b=a.forumId;var c=a.title;var e=a.payload;var f=a.purpose;var h=a.category;var k=a.symptom;var n=a.details===void 0?new Map:a.details;var p=a.Af===void 0?[]:a.Af;var r=a.subscribe===void 0?!1:a.subscribe;var u=a.If===void 0?!0:a.If;var w=a.Wu;var A=a.articleId;var la=a.postMethod;var ma=this,sa,Aa,Ba,Ga,Na,Ta,Xa,bb,Db,Kb,Eb;return Ya(function(jb){var vb=(new Sk).setTitle(c);sa=rh(vb,13,e).setLanguage(CB());f!==void 0&&th(sa,21,f);h&&rh(sa,22,h);k&&rh(sa,45,k);Aa=x(n);
for(Ba=Aa.next();!Ba.done;Ba=Aa.next()){Ga=Ba.value;Na=x(Ga);Ta=Na.next().value;Xa=Na.next().value;bb=Ta;Db=Xa;vb=sa;var Ub=(new Rk).setKey(bb).setValue(Db);Dg(vb,16,Rk,Ub)}A&&(Kb=new zk,vb=new yk,Ub=AB().internalHelpCenter,vb=rh(vb,1,Ub),Ub=qh(vb,2,Number(A)),vb=Kb,Ub=Ub.setLanguage(CB()),Bg(vb,3,Ak,Ub),Ag(sa,zk,43,Kb));la&&th(sa,28,la);vb=new aC;vb=qh(vb,1,b);vb=Ag(vb,Sk,2,sa);Ub=p.filter(vC).map(wC);vb=Cg(vb,4,Ub);vb=nh(vb,3,r);vb=th(vb,5,u?1:0);Ub=new NB;Eb=Ag(vb,NB,10,Ub);uC(ma,xg(Eb,NB,10));
w&&rh(Eb,7,w);pC("create",{content_type:"forum_thread"});return jb.return(ma.Yg.call("CreateThread",Eb,Sk))})};
l.updateThread=function(a,b,c,e,f){f=f===void 0?!0:f;var h=this,k;return Ya(function(n){var p=new eC;p=qh(p,1,a);p=qh(p,2,b);p=Ag(p,Sk,3,c);var r=e.filter(vC).map(wC);p=Cg(p,4,r);p=th(p,5,f?1:0);r=new NB;k=Ag(p,NB,10,r);uC(h,xg(k,NB,10));return n.return(h.Yg.call("UpdateThread",k,Sk))})};
l.createMessage=function(a){var b=a.forumId;var c=a.threadId;var e=a.payload;var f=a.type===void 0?1:a.type;var h=a.subscribe===void 0?!1:a.subscribe;var k=a.If===void 0?!0:a.If;var n=a.Af===void 0?[]:a.Af;var p=a.parentMessageId===void 0?void 0:a.parentMessageId;var r=a.sourceMessage===void 0?void 0:a.sourceMessage;var u=this,w,A,la;return Ya(function(ma){w=(new Gk).setType(f);var sa=new Jk;sa=rh(sa,4,e);A=Ag(sa,Gk,6,w);p&&qh(A,37,p);r&&Ag(A,Dk,42,r);sa=new ZB;sa=qh(sa,1,b);sa=qh(sa,2,c);sa=Ag(sa,
Jk,3,A);sa=nh(sa,4,h);sa=th(sa,6,k?1:0);var Aa=n.filter(vC).map(wC);sa=Cg(sa,5,Aa);Aa=new NB;la=Ag(sa,NB,10,Aa);uC(u,xg(la,NB,10));return ma.return(u.Yg.call("CreateMessage",la,Jk))})};
l.updateMessage=function(a){var b=a.forumId;var c=a.threadId;var e=a.messageId;var f=a.updates;var h=a.attachments;var k=a.mL===void 0?!1:a.mL;var n=this,p;return Ya(function(r){var u=new dC;u=qh(u,1,b);u=qh(u,2,c);u=qh(u,3,e);u=Ag(u,Jk,4,f);u=th(u,6,k?0:1);var w=h.filter(vC).map(wC);u=Cg(u,5,w);w=new NB;p=Ag(u,NB,10,w);uC(n,xg(p,NB,10));return r.return(n.Yg.call("UpdateMessage",p,Jk))})};
l.setMessageVote=function(a){var b=a.forumId;var c=a.threadId;var e=a.messageId;var f=a.vote;var h=a.ek;var k=this,n;return Ya(function(p){var r=new SB;r=qh(r,1,b);r=qh(r,2,c);r=qh(r,3,e).eg(f);r=nh(r,5,h);var u=new NB;n=Ag(r,NB,10,u);uC(k,xg(n,NB,10));return p.yield(k.Bf.call("SetMessageVote",n,sC),0)})};
l.unsetMessageVote=function(a){var b=a.forumId;var c=a.threadId;var e=a.messageId;var f=a.vote;var h=this,k;return Ya(function(n){var p=new XB;p=qh(p,1,b);p=qh(p,2,c);p=qh(p,3,e).eg(f);var r=new NB;k=Ag(p,NB,10,r);uC(h,xg(k,NB,10));return n.yield(h.Bf.call("UnsetMessageVote",k,sC),0)})};
l.reportAbuse=function(a,b,c){var e=this,f;return Ya(function(h){var k=gC(new fC,a);k=qh(k,3,b);f=Ysa(k);uC(e,xg(f,NB,10));c!==void 0&&qh(f,4,c);return h.yield(e.Yg.call("UserFlag",f,sC),0)})};
l.Uk=oa(40);l.reportOffTopic=function(a,b,c){var e=this,f;return Ya(function(h){var k=new PB;k=qh(k,1,a);k=qh(k,2,b);var n=new NB;f=Ag(k,NB,10,n);uC(e,xg(f,NB,10));c!==void 0&&qh(f,3,c);return h.yield(e.Bf.call("SetOffTopic",f,sC),0)})};
l.clearOffTopic=function(a,b,c){var e=this,f;return Ya(function(h){var k=new QB;k=qh(k,1,a);k=qh(k,2,b);var n=new NB;f=Ag(k,NB,10,n);uC(e,xg(f,NB,10));c!==void 0&&qh(f,3,c);return h.yield(e.Bf.call("SetOnTopic",f,sC),0)})};
l.Wm=oa(43);l.tm=oa(46);l.setThreadVote=function(a,b,c){var e=this,f;return Ya(function(h){var k=new UB;k=qh(k,1,a);k=qh(k,2,b).eg(c);var n=new NB;f=Ag(k,NB,10,n);uC(e,xg(f,NB,10));return h.yield(e.Bf.call("SetThreadVote",f,sC),0)})};
l.subscribeToThread=function(a,b,c){var e=this,f;return Ya(function(h){var k=new VB;k=qh(k,1,a);k=qh(k,2,b);k=th(k,6,eta(c));var n=new NB;f=Ag(k,NB,10,n);uC(e,xg(f,NB,10));return h.yield(e.Bf.call("SubscribeToThread",f,sC),0)})};
l.deleteThread=function(a,b){var c=this,e;return Ya(function(f){var h=new cC;h=qh(h,1,a);h=qh(h,2,b);var k=new NB;e=Ag(h,NB,10,k);uC(c,xg(e,NB,10));return f.yield(c.Yg.call("DeleteThread",e,sC),0)})};
l.deleteMessage=function(a,b,c){var e=this,f;return Ya(function(h){var k=new bC;k=qh(k,1,a);k=qh(k,2,b);k=qh(k,3,c);var n=new NB;f=Ag(k,NB,10,n);uC(e,xg(f,NB,10));return h.yield(e.Yg.call("DeleteMessage",f,sC),0)})};
l.setMessageType=function(a,b,c,e){var f=this,h;return Ya(function(k){var n=new RB;n=qh(n,1,a);n=qh(n,2,b);n=qh(n,3,c).setType(e);var p=new NB;h=Ag(n,NB,10,p);uC(f,xg(h,NB,10));return k.yield(f.Bf.call("SetMessageType",h,sC),0)})};
l.unsetMessageType=function(a,b,c){var e=this,f;return Ya(function(h){var k=new WB;k=qh(k,1,a);k=qh(k,2,b);k=qh(k,3,c);var n=new NB;f=Ag(k,NB,10,n);uC(e,xg(f,NB,10));return h.yield(e.Bf.call("UnsetMessageType",f,sC),0)})};
l.Om=oa(49);function eta(a){switch(a){case 1:return 2;case 0:return 1;case 2:return 3;default:return 0}}
function wC(a){var b=new YB;b=rh(b,1,a.originalFilename);b=rh(b,3,a.documentId);a.Ef&&rh(b,2,a.Ef);a.deleted&&nh(b,4,!0);return b}
function vC(a){return a.Ef!==void 0&&!a.deleted||a.Ef===void 0&&a.deleted}
;var xC=new Hn,fta="Showing results for "+In(xC,"a")+"KEYWORD"+Kn(xC,"a"),gta=xC.format(fta),hta="Search instead for "+In(xC,"a")+"KEYWORD"+Kn(xC,"a"),ita=xC.format(hta),jta="Did you mean: "+In(xC,"a")+"KEYWORD"+Kn(xC,"a"),kta=xC.format(jta);function yC(a,b){b=b===void 0?0:b;bq.call(this);this.o=a;this.index=b;this.rank=b+1}
t(yC,bq);l=yC.prototype;l.getIndex=function(){return this.index};
l.getTitle=function(){var a;return Zr((a=this.o.getTitle())!=null?a:"")};
l.fe=function(){var a;return(a=this.o.fe())!=null?a:""};
function lta(a){var b;return(b=Rg(a.o,12))!=null?b:""}
l.getUrl=function(){var a;return(a=this.o.getUrl())!=null?a:""};
function zC(a){var b=a.getUrl();if(!b)return b;var c=AC(a);if(c===8||c===9){var e,f;a=(f=(e=tm(a.o))==null?void 0:Rg(e,5))!=null?f:"";b=uq(a,b)}return b}
l.Qb=function(){var a;return(a=this.o.Qb())!=null?a:""};
function Lz(a){var b;return(b=Rg(a.o,21))!=null?b:""}
function BC(a){var b,c;return(c=(b=sm(a.o))==null?void 0:b.Cq())!=null?c:0}
function CC(a){var b,c;return(c=(b=sm(a.o))==null?void 0:Qg(b,3))!=null?c:0}
function mta(a){var b,c;return(c=(b=sm(a.o))==null?void 0:Sg(b,9))!=null?c:0}
function AC(a){var b;a=(b=mh(a.o,4))!=null?b:null;switch(a){case 81:return 0;case 72:return 1;case 62:case 63:case 65:return 2;case 70:return 3;case 21:return 4;case 99:return 7;case 102:return 8;case 103:return 9;default:return a?5:6}}
function DC(a,b){var c=AC(a),e="";switch(c){case 0:var f;e=(f=b==null?void 0:Rg(b,25))!=null?f:"";break;case 1:case 2:var h;e=(h=b==null?void 0:Rg(b,8))!=null?h:"";break;case 3:var k;e=(k=b==null?void 0:Rg(b,24))!=null?k:"";break;case 5:var n;e=(n=b==null?void 0:Rg(b,7))!=null?n:"";break;case 4:var p;e=(p=b==null?void 0:Rg(b,21))!=null?p:"";break;case 7:e="Guidebooks lesson";break;case 8:e="Community video";break;case 9:e="Help video";break;case 6:b=null;try{var r;b=new URL((r=a.getUrl())!=null?r:
"","https://support.google.com")}catch(u){}b!==null&&(e=b.host)}c!==6&&c!==7&<a(a)&&(e+=" - "+lta(a));return e}
function EC(a){return zg(a.o,om,27,Xf()).map(function(b){return new yC(b,a.index)})}
function nta(a){var b,c;return(c=(b=tm(a.o))==null?void 0:Jg(b,4))!=null?c:0}
function FC(a){var b,c;return(c=(b=tm(a.o))==null?void 0:Ig(b,1))!=null?c:0}
function GC(a){var b,c;return(c=(b=tm(a.o))==null?void 0:Qg(b,3))!=null?c:0}
function ota(a){var b,c;return(c=(b=tm(a.o))==null?void 0:Rg(b,7))!=null?c:""}
;function HC(a){var b=a.parent;var c=a.result;a=a.Cb;E.call(this,"sc.search.search_results_list.search_result.YoutubePreview");this.ma=new gq({icon:"gm/event_available",size:18});this.ua=new gq({icon:"gm/visibility",size:18});this.o=new gq({icon:"gm/play_circle"});this.oa=Ho("YoutubeSearchResultsPreviewFeature__show_youtube_search_results_reduced")==="true";this.result=c;var e;if(b!=null){c=b.getUrl()+"#play=";var f=(e=Rg(this.result.o,5))!=null?e:"";e=c+f}else e=new Map([["autoplay","1"]]),e=qq(this.result.getUrl(),
e,!0);this.url=e;var h;b=(h=b==null?void 0:b.getTitle())!=null?h:this.result.getTitle();h=IC(this);e=JC.format(FC(this.result))+" views";this.ariaLabel=b+" (video content) published on "+h+" with "+e;this.Cb=a}
t(HC,E);HC.prototype.content=function(){var a=this;this.element("a","aria-label",this.ariaLabel,"class","youtube-preview","href",this.url,"onclick",function(b){return Xr(b,function(){a.ud(b.ctrlKey||b.shiftKey||b.metaKey)})},"onauxclick",function(b){return b.button===1?Xr(b,function(){a.ud(!0)}):!0},"onkeydown",function(b){return Yr(b,function(){a.ud()})},function(){z().rs===2?a.element("div","class","help-panel-container",function(){pta(a)}):pta(a)})};
HC.prototype.ud=function(a){a=a===void 0?!1:a;LA(this.Cb,this.result.Qb(),Lz(this.result),this.url);Mq(8,"youtube_preview_click",136);var b=sB(this.url);cr(b,{Hd:a})};
function pta(a){qta(a);a.element("div","class","container",function(){a.element("div","class","title",a.result.getTitle());a.element("div","class","labels",function(){z().rs===2?a.element("span","class","label-container",JC.format(FC(a.result))+" views \u2022 "+IC(a)):a.oa||(rta(a),sta(a))})})}
function qta(a){a.element("div","class","thumbnail-container",function(){var b=a.element,c,e;var f=(e=(c=tm(a.result.o))==null?void 0:c.getThumbnail())!=null?e:"";b.call(a,"img","class","thumbnail","role","none","alt","","src",f);b=a.element;f=GC(a.result);c=f%60;b.call(a,"span","class","duration",Math.floor(f/60)+":"+(c<10?"0":"")+c);z().rs===2&&a.element("span","class","preview-label","Preview");a.element("span","class","play",a.o)})}
function sta(a){a.element("span","class","label-container",function(){a.ma.render();a.element("span","class","label",IC(a))})}
function rta(a){a.element("span","class","label-container",function(){a.ua.render();a.element("span","class","label",JC.format(FC(a.result))+" views")})}
function IC(a){a=nta(a.result);return a===0?"":tta.format(new Date(a/1E3))}
var JC=new yq(5),tta=new es(1);var uta=new Map([[0,"gm/public"],[1,"gm/supervised_user_circle"],[2,"gm/question_answer"],[4,"gm/email"],[5,"gm/drive_document"],[6,"gm/language"]]),vta=new Map([[5,"Help article"],[2,"Community Post"],[3,"Troubleshooter"]]),wta=new Map([[5,"Check status"],[3,"Get started"]]);function KC(a,b){b=b===void 0?0:b;bq.call(this);var c=this;this.o=a;this.hd=b;this.qa=[];var e=zg(this.o,om,6,Xf()).length>0;a=zg(this.o,om,1,Xf()).length>0;var f;this.nextPageToken=(f=Rg(this.o,7))!=null?f:"";this.oa=zg(this.o,om,6,Xf()).map(function(h){return new yC(h,c.hd++)});
a?this.results=zg(this.o,om,1,Xf()).map(function(h,k){h=new yC(h,c.hd++);e||k!==1?e&&k===0&&LC(c):LC(c);return h}):(LC(this),this.results=[]);
this.o.Qb()?this.ma=this.o.Qb():this.ma=this.od().length>0?this.od()[0].Qb():this.Qd().length>0?this.Qd()[0].Qb():this.qa.length>0?this.qa[0].Qb():""}
t(KC,bq);KC.prototype.od=function(){return this.results};
KC.prototype.Qd=function(){return this.oa};
KC.prototype.Xi=function(){var a;return(a=this.o.Xi())!=null?a:""};
function xta(a){return a.results.filter(function(b){var c;return!((c=EC(b)[0])==null||!tm(c.o))}).length}
function yta(a){var b;return((b=Ig(a.o,2))!=null?b:0)>a.od().length}
function LC(a){var b,c;a.qa=(c=(b=xg(a.o,um,15))==null?void 0:zg(b,om,1,Xf()).map(function(e){return new yC(e,a.hd++)}))!=null?c:[]}
;function MC(a){bq.call(this);this.metadata=a}
t(MC,bq);MC.prototype.getStartIndex=function(){var a,b;return(b=(a=this.metadata.searchQuery)==null?void 0:a.getStartIndex())!=null?b:0};
MC.prototype.getQuery=function(){var a,b;return(b=(a=this.metadata.searchQuery)==null?void 0:a.getQuery())!=null?b:""};function NC(a){return OC(a)>=zta}
function PC(a,b,c,e,f,h,k,n){this.rank=a;this.qa=b;this.o=c;this.oa=e;this.ma=f;this.icon=h;this.label=k===void 0?"":k;this.description=n===void 0?"":n}
function OC(a){switch(a){case 0:return Ata;case 30:return Bta;case 1:return QC;case 2:return zta;case 3:return RC;case 4:return TC;case 5:return UC;case 20:return VC;case 10:return WC;case 100:return Cta;default:return Ata}}
l=PC.prototype;l.valueOf=function(){return this.rank};
l.getColor=function(){return AB().wc?this.o:this.qa};
l.Sc=function(){return this.icon};
l.getLabel=function(){return this.label};
l.getDescription=function(){return this.description};
var Ata=new PC(0,"#F1F3F4","#F1F3F4"),Bta=new PC(1,"#F1F3F4","#F1F3F4","#0b8043","#C4EED0",2,"Product Expert Alumni","Former Product Experts who are no longer members of the program"),QC=new PC(2,"#896E63","#896E63","#896E63","#B9ABA3",3,"Bronze Member","Community members with growing product knowledge who help other Google users by answers questions"),zta=new PC(3,"#9E9E9E","#9E9E9E","#5F6368","#C4C7C5",4,"Silver Product Expert","Community members with intermediate product knowledge who help other Google users by answering questions"),
RC=new PC(4,"#FFB300","#F9AB00","#B06000","#F09D00",5,"Gold Product Expert","Community members with in-depth product knowledge who help other Google users by answering questions"),TC=new PC(5,"#77909D","#718792","#455A64","#E3E3E3",6,"Platinum Product Expert","Community members with advanced product knowledge who help other Google users and Product Experts "),UC=new PC(6,"#79A8FA","#79A8FA","#1A73E8","#A8C7FA",7,"Diamond Product Expert","Community members with product mastery who help other Google users and Product Experts"),
VC=new PC(7,"#4285F4","#669DF6","#1A73E8","#A8C7FA",9,"Community Specialist","Google partners who help ensure the quality of community content"),WC=new PC(8,"#4285F4","#669DF6","#1A73E8","#A8C7FA",10,"Community Manager"),Cta=new PC(9,"#4285F4","#669DF6","#1A73E8","#A8C7FA",10,"Google Employee","Google product team members and community managers");function XC(a){var b=a.model;var c=a.Uf===void 0?!1:a.Uf;a=a.wy===void 0?!1:a.wy;E.call(this,"sc.search.searchResultsList.searchResult.VideoResult");this.model=b;this.Uf=c;this.wy=a;this.o=new gq({icon:"gm/play_circle",size:this.Uf?48:36})}
t(XC,E);XC.prototype.content=function(){var a=this;this.element("div","class",{root:!0,onebox:this.Uf,narrow:this.wy},function(){Dta(a);Eta(a)})};
function YC(a){return a===8||a===9||a==="CT_COMMUNITY_VIDEO"||a==="CT_VIDEO"}
function ZC(a){return a===8||a==="CT_COMMUNITY_VIDEO"?"Community video":a===9||a==="CT_VIDEO"?"Help video":""}
function $C(a,b){Mq(4,a,220,b===void 0?"":String(b))}
function Dta(a){a.element("div","class","thumbnail-container",function(){var b=a.element;if(window.innerWidth<=600){var c,e,f,h;var k=(h=(c=tm(a.model.o))==null?void 0:(e=xg(c,mm,8))==null?void 0:(f=xg(e,lm,4))==null?void 0:f.getUrl())!=null?h:""}else{var n,p,r,u;k=(u=(n=tm(a.model.o))==null?void 0:(p=xg(n,mm,8))==null?void 0:(r=xg(p,lm,2))==null?void 0:r.getUrl())!=null?u:""}b.call(a,"img","class","thumbnail","aria-hidden","true","src",k);a.element("div","class","play-icon","aria-hidden","true",
a.o);b=GC(a.model);b=nia(b);b=b.hours>0?b.hours+":"+b.minutes.toString().padStart(2,"0")+":"+b.seconds.toString().padStart(2,"0"):b.minutes+":"+b.seconds.toString().padStart(2,"0");k=a.element;c=GC(a.model);c=nia(c);e="PT";c.hours>0&&(e+=c.hours+"H");c.minutes>0&&(e+=c.minutes+"M");c.seconds>0&&(e+=c.seconds+"S");k.call(a,"time","class","duration","datetime",e,"aria-label",oia(b),b)})}
function Eta(a){a.element("div","class","text-content",function(){a.element("h2","class","title","aria-label",a.Uf?a.model.getTitle()+" ("+ZC(AC(a.model))+")":a.model.getTitle(),a.model.getTitle());a.Uf||a.element("div","class","subtitle",DC(a.model,null));AC(a.model)===8&&(a.Uf||a.element("div","class","snippet",Fta.Vc(a.model.fe())),Gta(a));Hta(a)})}
function Gta(a){a.element("div","class","channel",function(){a.element("div","class","channel-title",ota(a.model));a.element("div","class","delimiter","aria-hidden","true","\u2022");var b=OC(mta(a.model));a.element("div","class","user-role",function(){b.Sc()&&a.element("div","class","role-icon","aria-hidden","true",new Xs({icon:b.Sc(),isDarkMode:qo(),size:14,title:b.getLabel()}));a.element("div","class","role-name",b.getLabel())})})}
function Hta(a){a.element("div","class","video-metadata",function(){var b,c;(c=(b=tm(a.model.o))==null?void 0:Og(b,6))!=null&&c&&aD(a,"gm/verified","Verified",["verified-chip"]);aD(a,"gm/visibility",Ita.format(FC(a.model))+" views");aD(a,"gm/event_available",Ks({XF:nta(a.model)/1E3,style:1}))})}
function aD(a,b,c,e){e=e===void 0?[]:e;e.push("metadata-chip");a.element("div","class",e.join(" "),function(){a.element("div","class","chip-icon","aria-hidden","true",new gq({icon:b,size:16}));a.element("div","class","chip-text",c)})}
var Ita=new yq(5),Fta=(new Rn).build();function bD(a){var b=a.symptoms;var c=a.limit===void 0?8:a.limit;var e=a.helpcenterName===void 0?"":a.helpcenterName;var f=a.Nv===void 0?new Map:a.Nv;a=a.Du===void 0?0:a.Du;E.call(this,"sc.symptoms.Symptoms");this.ma=Ho("workflow__full-layout")==="true";this.isRendered=this.o=!1;this.symptoms=b;this.limit=c;this.helpcenterName=e;this.Nv=f;this.Du=a}
t(bD,E);bD.prototype.getURL=function(a){var b;a=(b=Rg(a,1))!=null?b:"";return a!==""&&this.Nv.has(a)&&(b=this.Nv.get(a))?b:""};
bD.prototype.content=function(){var a=this,b=zg(this.symptoms,xm,1,Xf()).filter(function(c){var e;return((e=Rg(c,2))==null?void 0:e.trim())!==""});
this.element("div","class","root",function(){a.element("div","class","container",function(){switch(a.Du){case 0:Jta(a,b);break;case 1:for(var c=0;ca.limit}
function Nta(a){if(cD(a)){a.o=!a.o;a.Ja();var b=a.o;Mq(b?2:3,a.helpcenterName+"_symptoms_view_"+(b?"more":"less"),b?96:97)}}
function dD(a,b){Mq(35,a.helpcenterName+"_symptoms_click_"+Rg(b,1)+(b.getActive()?"_active":""),98);b.getActive()||(a=a.getURL(b).split("?"),b="?"+a[1],b=tB(b),cr(""+a[0]+b))}
;var eD;Eea("A AREA BUTTON HEAD INPUT LINK MENU META OPTGROUP OPTION PROGRESS STYLE SELECT SOURCE TEXTAREA TITLE TRACK".split(" "));
function Ota(a,b,c){Array.isArray(c)&&(c=c.join(" "));var e="aria-"+b;c===""||c==void 0?(eD||(c={},eD=(c.atomic=!1,c.autocomplete="none",c.dropeffect="none",c.haspopup=!1,c.live="off",c.multiline=!1,c.multiselectable=!1,c.orientation="vertical",c.readonly=!1,c.relevant="additions text",c.required=!1,c.sort="none",c.busy=!1,c.disabled=!1,c.hidden=!1,c.invalid="false",c)),c=eD,b in c?a.setAttribute(e,c[b]):a.removeAttribute(e)):a.setAttribute(e,c)}
;function fD(a){au.call(this);this.o=a||ap();this.ma={};this.qa={}}
wb(fD,au);fD.prototype.Ke=function(){Uo(this.ma,this.o.removeNode,this.o);this.qa=this.o=this.ma=null;fD.Oh.Ke.call(this)};
function gD(a,b,c){c=c||"polite";var e;(e=a.ma[c])?e.removeAttribute("aria-hidden"):(e=a.o.createElement("DIV"),e.id="goog-lr-"+ob(e),e.style.position="absolute",e.style.top="-1000px",e.style.height="1px",e.style.overflow="hidden",Ota(e,"live",c),Ota(e,"atomic","true"),a.o.getDocument().body.appendChild(e),a.ma[c]=e);var f=a.qa[c];f=f&&f===b?b+"\u00a0":b;b&&(a.qa[c]=f);Qea(e,f)}
;function Pta(a){return(a=a.match(/^\w{2,3}([-_]|$)/))?a[0].replace(/[_-]/g,""):""}
;function hD(a){this.o=a;this.qa=this.Fa=null;this.ma=[];this.va=document.createElement("input");this.Ba=this.ua=-1;this.Qa=this.du.bind(this);this.Ma=No(this.wE.bind(this),150);this.Ra=this.Ha=this.Ia=0;this.ya=!1;this.Pa=0;this.La=new at;Qta(this)}
function Qta(a){a.oa=document.createElement("div");a.oa.className=a.o.className;Yn(a.oa,"sc-select",!0);a.oa.style.cursor="pointer";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){$n(this.qa,"sc-select-show")?e.target==this.qa||this.qa.contains(e.target)||this.du():e.button==0&&iD(this)}.bind(a));
a.oa.addEventListener("keydown",a.lM.bind(a));a.Fa=document.createElement("span");a.oa.appendChild(a.Fa);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.qa=document.createElement("ol");a.qa.setAttribute("role","listbox");a.qa.addEventListener("mousemove",function(){this.ya=!0}.bind(a));
po()||a.qa.addEventListener("scroll",function(){this.Pa>0?this.Pa--:this.wE()}.bind(a));
a.oa.appendChild(a.qa);Rta(a);Sta(a);a.o.addEventListener("optionschange",function(){return void Sta(a)});
a.o.addEventListener("selecttoggledisabled",function(){a.oa.setAttribute("tabindex",a.o.disabled?-1:0)});
a.o.addEventListener("selectvrgupdate",function(){for(var e=0;e=20&&z().rs===4){var b=document.createElement("li");b.appendChild(a.va);a.qa.appendChild(b)}for(b=0;ba.qa.scrollTop+a.qa.offsetHeight&&(a.ya=!1,a.qa.scrollTop=b.offsetTop+b.offsetHeight-a.qa.offsetHeight)}}
function Tta(a){var b=a.o.getAttribute("aria-label")||"";b&&(a.o.selectedIndex!==-1&&(b+=" ("+a.o[a.o.selectedIndex].innerText+")"),a.oa.setAttribute("aria-label",b))}
l.dispose=function(){this.oa&&ip(this.oa);this.qa=this.Fa=this.oa=null;this.ma=[]};
window.sc_initSelects=function(){for(var a=x((window.sc_scope||document).getElementsByTagName("select")),b=a.next();!b.done;b=a.next())b=b.value,b.dataset.exclude!=="true"&&new hD(b)};function kD(a){this.Aa=of(a)}
t(kD,bi);kD.prototype.setButton=function(a){return Ag(this,Zl,1,a)};
var Xta=wk(kD);kD.prototype.Ca=uk([0,cm]);function lD(a){this.Aa=of(a)}
t(lD,bi);lD.prototype.Ps=function(a,b){Dg(this,1,Wl,a,b)};
lD.prototype.Jf=function(a,b){return Vf(this,1,Wl,a,b)};lD.prototype.Ca=uk([0,hk,bm]);function mD(a){this.Aa=of(a)}
t(mD,bi);var Yta=[0,mk,y,-1];mD.prototype.Ca=uk(Yta);function nD(a){this.Aa=of(a)}
t(nD,bi);nD.prototype.getHeading=function(){return Yg(this,2)};
nD.prototype.setHeading=function(a){return rh(this,2,a)};
var Zta=wk(nD);nD.prototype.Ca=uk([0,hk,Yta,y,mk,1,y]);var oD=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 $ta(){var a=this;this.o=function(){};
this.ma=function(b){if("detail"in b){b=Xta(b.detail.action);var c,e;if((c=xg(b,Zl,1))==null?0:(e=$l(c))==null?0:hh(e,10,Yl)!=null){var f,h,k=(f=xg(b,Zl,1))==null?void 0:(h=$l(f))==null?void 0:gh(h,10,Yl);(f=k&&k!==null?k.startsWith("url:")?k.replace("url:",""):k:"")&&a.qa(f)}else{var n,p;if((n=xg(b,Zl,1))==null?0:(p=$l(n))==null?0:Pf(p,Vl,17,Yl)){var r;if(f=(k=xg(b,Zl,1))==null?void 0:(r=$l(k))==null?void 0:ih(r,Vl,17,Yl))h=Rg(f,2),f=Qg(f,1),h&&f&&a.qa("/"+h+"/workflow/"+f)}}}};
this.oa=function(){var b=oD.get(1);b=new CustomEvent(b,{bubbles:!0,cancelable:!0});window.document.body.dispatchEvent(b)};
this.qa=function(b){cr(b,{Hd:!0})};
window.document.body.addEventListener(oD.get(6),this.oa);window.document.body.addEventListener(oD.get(5),this.o);window.document.body.addEventListener(oD.get(2),this.ma)}
var aua;function pD(){aua===void 0&&(aua=new $ta)}
$ta.prototype.dispose=function(){window.document.body.removeEventListener(oD.get(2),this.ma);window.document.body.removeEventListener(oD.get(6),this.oa);window.document.body.removeEventListener(oD.get(5),this.o)};
window.sc_initSmartButtonController=function(){pD()};function qD(a,b){a=a===void 0?95:a;b=b===void 0?133:b;E.call(this,"sc.shared.ErrorSvg");this.o=new Us("error_computer.svg");this.height=a;this.width=b}
t(qD,E);qD.prototype.content=function(){var a=this;this.element("div","style",{width:this.width+"px",height:this.height+"px"},function(){a.o.render()})};function bua(a){this.ma=a;this.o=null}
bua.prototype.Kd=function(a){var b=this;this.o===null&&(this.o=setTimeout(function(){b.o!==null&&(b.o=null,b.ma())},a))};function cua(){var a=this;this.qa=function(b){if(!("detail"in b))throw Error("Invalid event type received for state update. Expected CustomEvent.");if(a.ma===void 0)throw Error("No state update callback was provided.");b=Zta(b.detail);a.ma(b)}}
l=cua.prototype;l.sendInitCompleteEvent=function(){console.log("[Smart Buttons] Broadcasting init");rD(4)};
l.sendButtonAction=function(a,b){a={action:a==null?void 0:a.serialize(),buttonClientRect:b};rD(2,a)};
l.sendDescribeEvent=function(a){var b=new lD;a=x(a);for(var c=a.next();!c.done;c=a.next())b.Ps(c.value);b={action:b.serialize(),buttonClientRect:void 0};rD(5,b)};
l.sendButtonsRenderedEvent=function(){rD(6)};
l.initHandshakeListener=function(a){this.o=a;window.document.body.addEventListener(oD.get(1),this.o)};
l.initStateUpdateListener=function(a){this.ma=a;window.document.body.addEventListener(oD.get(3),this.qa)};
l.dispose=function(){window.document.body.removeEventListener(oD.get(3),this.qa);this.o&&window.document.body.removeEventListener(oD.get(1),this.o)};
function rD(a,b){a=oD.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({tV:0,sV:1,nV:2,qV:3,oV:4,rV:5,pV:6});function sD(a,b){this.o=a;this.metadata=b}
sD.prototype.getMetadata=function(){return this.metadata};
sD.prototype.Ld=function(a){this.o(a)};
function tD(){var a=this;this.ma=new Map;this.qa=function(){a.o.sendButtonsRenderedEvent()};
this.o=new cua;dua(this)}
var uD;function eua(){if(uD&&!fua)return uD;uD=new tD;fua=!1;var a=uD;a.o.initHandshakeListener(a.ua.bind(a));a.o.initStateUpdateListener(a.oa.bind(a));a.o.sendInitCompleteEvent();return uD}
function gua(a,b,c,e){if(b==="")throw Error("Smart Button guid key is empty");a.ma.has(b)||a.ma.set(b,new sD(e,c))}
tD.prototype.oa=function(a){var b,c=(b=Yg(a,5))!=null?b:"";if(!this.ma.has(c))throw Error("Smart Button guid key "+c+" does not exist. Cannot update state.");var e;(e=this.ma.get(c))==null||e.Ld(a)};
tD.prototype.ua=function(){console.log("[Smart Buttons] Received Handshake");var a=[];this.ma.forEach(function(b){a.push(b.getMetadata())});
this.o.sendDescribeEvent(a)};
tD.prototype.dispose=function(){this.o.dispose();this.ma.clear();var a;(a=Kp().querySelector(".workflow"))==null||a.removeEventListener("dynamicFormRendered",this.qa)};
function dua(a){var b;(b=Kp().querySelector(".workflow"))==null||b.addEventListener("dynamicFormRendered",a.qa)}
var fua=!1;function vD(a){var b=a.buttonTitle;var c=a.contentId;var e=a.helpcenterName;var f=a.Ei;a=a.Fz===void 0?!0:a.Fz;E.call(this,"sc.smart_button.FatalErrorButton");this.o=new qD;this.buttonTitle=b;this.contentId=c;this.helpcenterName=e;this.Ei=f;this.Fz=a}
t(vD,E);vD.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.Fz&&a.element("div","class","^no-margin feedback-link",a.Ei);a.element("div","class","^no-margin detail",function(){a.buttonTitle!==""&&a.element("div","class","^no-margin",(new Hq("The button title is {buttonTitle}.")).format({buttonTitle:a.buttonTitle}));
a.element("div","class","^no-margin",(new Hq("The content ID is {contentId}.")).format({contentId:a.contentId}));a.element("div","class","^no-margin",(new Hq("The help center name is {helpcenterName}.")).format({helpcenterName:a.helpcenterName}))})})});
hua(this)};
function hua(a){var b,c;(c=(b=window).sc_trackStatsImpressions)==null||c.call(b,[{type:99,id:a.contentId+"_button_"+a.buttonTitle}],!0)}
;var iua=new Map([[1,"good"],[2,"error"]]);function wD(){E.call(this,"sc.smart_button.Icon");this.o=!1}
t(wD,E);function xD(a,b,c,e){a.ma=b;a.state=c;a.o=e===void 0?!1:e}
wD.prototype.content=function(){var a=this;if(this.ma!==void 0&&this.state!==void 0&&this.o!==void 0&&this.state!==0){var b={"^no-margin":!0,icon:!0,state:!this.o,"heading-icon":this.o},c=iua.get(this.state);iua.has(this.state)&&(b[c]=!0);var e="";c==="good"?e="Success icon":c==="error"&&(e="Failure icon");this.element("div","class",b,"aria-label",e!==""?e:null,function(){var f;(f=a.ma)==null||f.render()})}};function yD(a){E.call(this,"sc.smart_button.SendFeedbackLink");var b=this;this.buttonTitle=a;this.o=function(){jua(b)};
this.ma=function(c){"key"in c&&(c.key===" "||c.key==="Enter")&&jua(b)}}
t(yD,E);yD.prototype.content=function(){this.anchor=this.element("a","href","#","class","^no-margin link","Send feedback");var a;(a=this.anchor)==null||a.addEventListener("click",this.o);var b;(b=this.anchor)==null||b.addEventListener("keydown",this.ma)};
yD.prototype.dispose=function(){var a;(a=this.anchor)==null||a.removeEventListener("click",this.o);var b;(b=this.anchor)==null||b.removeEventListener("keydown",this.ma)};
function jua(a){var b=Jv();b.set("smart_button_title",a.buttonTitle);Hv({payload:b,productId:Number(z().fbid)})}
;function zD(a){return(a==null?void 0:Sg(a,3))===2}
function kua(a){return(a==null?void 0:Sg(a,3))===1}
function lua(a){a=a==null?void 0:zg(a,mD,1,Xf());if(a===void 0)return!1;a=x(a);for(var b=a.next();!b.done;b=a.next())if(AD(b.value))return!0;return!1}
function mua(a){a=BD(a);if(a.length===0)return!1;a=x(a);for(var b=a.next();!b.done;b=a.next())if(!AD(b.value))return!1;return!0}
function BD(a){return a===void 0?[]:(a==null?void 0:zg(a,mD,1,Xf(Od)))||[]}
function AD(a){return a!==void 0&&Sg(a,1)!=null&&Zg(a,1,0)!==0}
function nua(a){return a!==void 0&&Sg(a,1)!=null&&Zg(a,1,0)===1}
function oua(a){return a!==void 0&&Sg(a,1)!=null&&Zg(a,1,0)===2}
function pua(a){return a.filter(function(b){return oua(b)})}
;function CD(a,b){b=b===void 0?!1:b;E.call(this,"sc.smart_button.StateHeading");this.Ei=a;this.xk=b;this.ua=[];this.headingState=0;this.icon=new wD}
t(CD,E);CD.prototype.content=function(){var a;!(zD(this.o)||kua(this.o)||((a=this.o)==null?0:a.getHeading())||mua(this.o))||qua(this)};
CD.prototype.Ld=function(a){this.o=a;this.ua=BD(this.o);if(zD(this.o))this.headingState=2;else if(kua(this.o))this.headingState=1;else if(pua(BD(this.o)).length>0)this.headingState=2;else{a:if(a=BD(this.o),a.length===0)a=!1;else{a=x(a);for(var b=a.next();!b.done;b=a.next())if(!nua(b.value)){a=!1;break a}a=!0}a?this.headingState=1:this.headingState=0}this.Ja()};
CD.prototype.heading=function(){var a=this.o;if(((a==null?void 0:a.getHeading())||"").trim()!==""){var b;return((b=this.o)==null?void 0:b.getHeading()).trim()}return this.headingState===1?"All actions successfully complete!":this.ua.length===0?zD(this.o)?"There was a problem while running actions. Please complete manually.":"":"There was a problem while running actions. Please review below."};
function rua(a){var b;if(a.o&&((b=a.o)==null?0:Sg(b,3)!=null)){var c;return(c=a.o)==null?void 0:Zg(c,3,0)}return a.headingState===2?2:a.headingState===1?1:0}
function qua(a){a.element("div","class",{"^no-margin":!0,container:!0,error:a.headingState===2,good:a.headingState===1},"tabindex","0",function(){a.element("div","class","^no-margin content",function(){a.headingState===1&&(a.ma===void 0&&(a.ma=new gq({icon:"gm/check_circle_outline",size:24,De:["^no-margin"]})),xD(a.icon,a.ma,rua(a),!0),a.icon.render());a.headingState===2&&(a.oa===void 0&&(a.oa=new gq({icon:"gm/error_outline",size:24,De:["^no-margin"]})),xD(a.icon,a.oa,rua(a),!0),a.icon.render());
a.element("div","class","^no-margin heading","aria-live","polite",a.heading());a.headingState!==2||a.xk||a.element("div","class","^no-margin feedback-link",a.Ei)})})}
;function DD(){E.call(this,"sc.smart_button.States");this.icon=new wD}
t(DD,E);DD.prototype.content=function(){var a=this,b=lua(this.o);b||this.element("ul","class","^no-margin");var c,e;(c=this.o)==null||(e=zg(c,mD,1,Xf()))==null||e.forEach(function(f){Rg(f,2)!==""&&a.element("div","class","^no-margin state","tabindex","0",function(){b?(sua(a,f),tua(a,f,b),uua(a,f)):a.element("ul","class","list",function(){a.element("li","class","list",function(){tua(a,f,b)})})})})};
DD.prototype.He=function(){return BD(this.o).length>0};
DD.prototype.Ld=function(a){this.o=a;this.Ja()};
function uua(a,b){if(Yg(b,3)){a.ua===void 0&&(a.ua=new gq({icon:"gm/help_outline",size:16,De:["^no-margin"]}));var c=new Ov({content:function(){Qp("div","style",{"max-width":"200px","max-height":"200px","overflow-x":"hidden","overflow-y":"auto"},function(){var f;Gp((f=Yg(b,3))!=null?f:"")})},
Ph:!0,wl:"placement-start",aq:"alignment-center",style:"style-normal",lc:4,mc:2});c.render();var e=a.element("div","role","button","tabindex",0,"class","detail text-pad ^no-margin","aria-label","Detailed state information tooltip",function(){var f;(f=a.ua)==null||f.render()});
e.addEventListener("mouseenter",function(){c.open({anchor:e})});
e.addEventListener("focus",function(){c.open({anchor:e})});
e.addEventListener("blur",function(){c.close()})}}
function sua(a,b){AD(b)&&(nua(b)&&(a.ma===void 0&&(a.ma=new gq({icon:"gm/check_circle_outline",size:16,De:["^no-margin"]})),xD(a.icon,a.ma,Sg(b,1))),oua(b)&&(a.oa===void 0&&(a.oa=new gq({icon:"gm/error_outline",size:16,De:["^no-margin"]})),xD(a.icon,a.oa,Sg(b,1))),a.icon.render())}
function tua(a,b,c){a.element("div","class",{"^no-margin":!0,text:!0,"text-pad":c},Rg(b,2))}
;function ED(a){E.call(this,"sc.smart_button.StandardButton");this.ma=this.oa=!1;this.ya=new It;this.states=new DD;this.Lf=a.Lf;this.title=a.title.trim();this.description=a.description.trim();this.value=a.value.trim();var b;this.va=new CD(a.Ei,(b=a.xk)!=null?b:!1)}
t(ED,E);ED.prototype.Ld=function(a){this.states.Ld(a);this.va.Ld(a);this.ma=!1;this.Ja()};
ED.prototype.kh=function(a){this.ma=a;this.Ja()};
ED.prototype.content=function(){var a=this;this.o=this.element("div","class",{"^no-margin":!0,root:!0,"spinner-overlay":this.ma},"tabindex","0","aria-label",this.title===""?null:this.title,function(){vua(a);a.va.render();a.element("div","class","^no-margin flex content",function(){a.element("div","class","^no-margin",function(){a.title!==""&&a.element("div","class","^no-margin title",a.title);a.description!==""&&a.element("div","class","^no-margin sub-heading description",a.description);a.states.He()&&
a.element("div","class","^no-margin states-container",function(){a.states.render()})});
a.element("div","class","^no-margin button-container",function(){a.ua=new kq({disabled:a.oa,text:a.value||"Do it for me",style:4,trigger:function(){a.oa=!0;if(a.Lf&&a.o!==void 0){var b;(b=a.ua)==null||b.setDisabled(!0);a.Lf(a.o.getBoundingClientRect())}}});
a.ua.render()})})})};
function vua(a){if(a.o&&a.ma){var b=a.element("div","class","^no-margin spinner","style",{top:a.o.clientHeight/2-12+"px",left:a.o.clientWidth/2-12+"px"},"aria-label","Executing action",a.ya);requestAnimationFrame(function(){b.focus()})}}
;function FD(a){var b=a.title===void 0?"":a.title;var c=a.description===void 0?"":a.description;var e=a.value===void 0?"":a.value;a=a.Lf===void 0?void 0:a.Lf;E.call(this,"sc.smart_button.TakeMeThereButton");this.o=!1;this.Lf=a;this.title=b;this.description=c;this.value=e}
t(FD,E);FD.prototype.content=function(){var a=this,b=this.title===""&&this.description==="";this.oa=this.element("div","class",{"^no-margin":!0,root:!b},"tabindex","0","aria-label",this.title===""?null:this.title,function(){a.element("div","class",{"^no-margin":!0,flex:!b},function(){a.element("div","class","^no-margin content",function(){a.title!==""&&a.element("div","class","^no-margin title",a.title);a.description!==""&&a.element("div","class","^no-margin sub-heading description",a.description)});
a.element("div","class","^no-margin button-container",function(){a.ma=new kq({disabled:a.o,text:a.value||"Do it for me",style:4,trigger:function(){a.o=!0;if(a.Lf&&a.oa!==void 0){var c;(c=a.ma)==null||c.setDisabled(!0);a.Lf(a.oa.getBoundingClientRect())}}});
a.ma.render()})})})};
FD.prototype.Ld=function(){};
FD.prototype.kh=function(){};function GD(a){var b=a.Pj;var c=a.button===void 0?void 0:a.button;var e=a.contentId;var f=a.xk===void 0?!1:a.xk;var h=a.helpcenterName;var k=a.dI;var n=a.vZ;var p=a.Tm===void 0?!1:a.Tm;var r=a.Zx===void 0?!0:a.Zx;a=a.Lf===void 0?void 0:a.Lf;E.call(this,"sc.smart_button.SmartButton");var u=this;this.ma=this.va=!1;this.Tm=p;this.smartButton=c===void 0&&b!==""?Dca(b||""):c||new Zl;r&&Nf(this.smartButton,Xl,1)?Lf(this.smartButton,2):Nf(this.smartButton,Ul,2)&&Lf(this.smartButton,1);this.contentId=e;this.helpcenterName=
h;this.xk=f;b=HD(this);this.Ei=new yD(b);var w;this.ua=(w=$l(this.smartButton))==null?void 0:Sg(w,1);this.button=wua(this);this.ua!==3&&(this.dI=k===void 0?new vD({Ei:this.Ei,buttonTitle:b,contentId:this.contentId,helpcenterName:h,Fz:!this.xk}):k,this.timer=n===void 0?new bua(function(){u.ma=!0;u.Ja()}):new n(function(){u.ma=!0;
u.Ja()}),a&&(this.Lf=a))}
t(GD,E);function ID(a){a.o=eua();gua(a.o,xua(a),yua(a),function(b){a.Ld(b)})}
l=GD.prototype;l.content=function(){var a;if((a=$l(this.smartButton))!=null&&Nf(a,Wl,19)){var b;a=Tg((b=$l(this.smartButton))==null?void 0:xg(b,Wl,19),1,!0)}else a=!0;if(a)if(this.ma){var c;(c=this.dI)==null||c.render()}else if(this.button.render(),!this.Tm){var e,f;(f=(e=window).sc_trackStatsImpressions)==null||f.call(e,[{type:93,id:JD(this)}],!0)}};
l.dispose=function(){if(this.smartButton){var a;if((a=this.o)!=null){var b=xua(this);if(b===""||!a.ma.has(b))throw Error("Smart Button "+b+" does not exist, or the guid key is empty");a.ma.delete(b)}var c;(c=this.Ei)==null||c.dispose()}};
l.Ld=function(a){var b;(b=this.timer)!=null&&b.o!==null&&(clearTimeout(b.o),b.o=null);if(!mua(a)){var c;(c=this.timer)==null||c.Kd(6E4)}this.button.kh(!1);this.button.Ld(a);this.Ja();a=x(zg(a,mD,1,Xf()));for(b=a.next();!b.done;b=a.next()){var e=c=void 0,f=void 0,h=void 0,k=void 0,n=void 0,p=void 0,r=void 0;if(!this.Tm)switch(Sg(b.value,1)){case 0:(p=(r=window).sc_trackStatsEvent)==null||p.call(r,130,0,JD(this));break;case 1:(k=(n=window).sc_trackStatsEvent)==null||k.call(n,130,10,JD(this));break;
case 2:(f=(h=window).sc_trackStatsEvent)==null||f.call(h,130,21,JD(this));break;default:(c=(e=window).sc_trackStatsEvent)==null||c.call(e,130,0,JD(this))}}};
function wua(a){return a.ua===3?new FD({title:HD(a),description:a.getDescription(),value:a.getValue(),Lf:function(b){a.ud(b)}}):new ED({title:HD(a),
description:a.getDescription(),value:a.getValue(),xk:a.xk,Ei:a.Ei,Lf:function(b){a.ud(b)}})}
l.ud=function(a){this.va=!0;var b;(b=this.Lf)==null||b.call(this);this.button.kh(!0);var c;(c=this.timer)==null||c.Kd(6E4);(b=this.o)!=null&&(this.oa||(this.oa=new kD,this.oa.setButton(this.smartButton)),c=this.oa,b.o.sendButtonAction(c,a));this.Ja();if(!this.Tm){var e,f;(f=(e=window).sc_trackStatsEvent)==null||f.call(e,93,35,JD(this))}};
function HD(a){if(Nf(a.smartButton,Xl,1)){var b;return((b=$l(a.smartButton))==null?void 0:Yg(b,2))||""}var c;return((c=xg(a.smartButton,Ul,2))==null?void 0:c.getTitle())||""}
l.getDescription=function(){if(Nf(this.smartButton,Xl,1)){var a;return((a=$l(this.smartButton))==null?void 0:a.getDescription())||""}var b;return((b=xg(this.smartButton,Ul,2))==null?void 0:b.getDescription())||""};
l.getValue=function(){if(Nf(this.smartButton,Xl,1)){var a;return((a=$l(this.smartButton))==null?void 0:a.getValue())||""}var b;return((b=xg(this.smartButton,Ul,2))==null?void 0:b.getValue())||""};
function xua(a){if(Nf(a.smartButton,Xl,1)){var b,c,e;return(e=(b=$l(a.smartButton))==null?void 0:(c=xg(b,Wl,19))==null?void 0:Yg(c,3))!=null?e:""}var f;if((f=xg(a.smartButton,Ul,2))==null?0:wh(f,20)){var h,k;return(k=(h=xg(a.smartButton,Ul,2))==null?void 0:Yg(h,20))!=null?k:""}throw Error("No smart button guid found.");}
function yua(a){var b=new Wl,c;if((c=$l(a.smartButton))==null||!Nf(c,Wl,19))return b;var e;c=(e=$l(a.smartButton))==null?void 0:xg(e,Wl,19);e=Tg(c,1,!0);nh(b,1,e);e=lh(c,2);rh(b,2,e);c=lh(c,3);rh(b,3,c);rh(b,4,a.contentId.toString());rh(b,5,a.helpcenterName);return b}
function JD(a){return a.contentId+"_button_"+HD(a)}
;function zua(a){try{return(new URL(a)).pathname}catch(b){return a}}
tb("sc.smart_journey_survey.initialize",function(a,b){a=zua(a);oq("sj-recommendations-survey-pathname")===a&&(vt(new ut,{triggerId:b,productData:{customData:{triggerPoint:"Survey at SJ1 recommendation destination"}}}),pq("sj-recommendations-survey-pathname"))});function KD(a){bq.call(this);this.ariaLabel=this.text="";this.checked=this.disabled=this.ariaHidden=!1;this.tabIndex=0;this.zf(a)}
t(KD,bq);l=KD.prototype;l.zf=function(a){var b=a.checked===void 0?!1:a.checked;var c=a.text===void 0?"":a.text;var e=a.ariaLabel===void 0?"":a.ariaLabel;var f=a.disabled===void 0?!1:a.disabled;var h=a.tabIndex===void 0?0:a.tabIndex;var k=a.ariaHidden===void 0?!1:a.ariaHidden;var n=a.content;a=a.xe;this.checked=b;this.text=c;this.ariaLabel=e;this.disabled=f;this.tabIndex=h;this.content=n;this.xe=a;this.ariaHidden=k};
l.getText=function(){return this.text};
l.getContent=function(){return this.content};
l.Zd=function(){return this.ariaLabel};
l.isChecked=function(){return this.checked};
function LD(a,b){if(a.isChecked()!==b){a.checked=b;var c;(c=a.xe)==null||c.call(a,b);a.Ea(0)}}
;function MD(a){a=a===void 0?{}:a;E.call(this,"sc.shared.MaterialCheckbox");this.id=Xp();this.model=a instanceof KD?a:new KD(a);this.overlay=new hq({Vp:!0});this.o=null;this.watch(this.model)}
t(MD,E);MD.prototype.content=function(a){var b=this;a&&this.model.zf(a);this.element("label","class",{root:!0,disabled:this.model.disabled},"aria-hidden",this.model.ariaHidden,function(){b.element("div","class","touch-target",function(){b.element("div","class","checkbox",function(){b.o=b.element("input","id",b.id,"class","native-control","type","checkbox","aria-label",b.model.Zd(),"tabindex",b.model.tabIndex,"disabled",b.model.disabled,"onchange",function(){b.onChange()});
b.o.checked=b.model.isChecked()===!0;b.o.indeterminate=b.model.isChecked()===null;b.element("div","class","box",function(){b.element("svg","class","checkmark","aria-hidden","true","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?Gp(c):e&&e()})};
MD.prototype.onChange=function(){this.o&&LD(this.model,this.o.checked)};
MD.prototype.isChecked=function(){return this.model.isChecked()};function ND(a){var b=a.forumId;var c=a.forumName;var e=a.Dj===void 0?0:a.Dj;var f=a.Sa===void 0?new tC:a.Sa;a=a.Da===void 0?null:a.Da;E.call(this,"sc.tailwind.thread_list.subscription_dialog.SubscriptionDialog");var h=this;this.ua=new Jt;this.cancelButton=new kq({text:"Cancel",style:3,trigger:function(){h.uj();h.close()}});
this.va=new kq({text:"Update preferences",style:4,trigger:function(){Aua(h);h.close()}});
this.Ba=new Map;this.ma=new Map;this.Sa=f;this.forumId=b;this.forumName=c;this.Da=a;this.o=e===2;this.oa=new Mt({content:function(){h.render()}});
this.ya=[{subscription:2,text:"New announcements from the "+this.forumName+" team"}];this.ma=Bua(this);this.Ba.set(2,3)}
t(ND,E);l=ND.prototype;l.content=function(){var a=this;this.element("div","class","root",function(){a.ua.render({title:"Manage your "+a.forumName+" community subscriptions",content:function(){a.element("div","class","sub-heading","Get notifications for the following:");for(var b=x(a.ma.values()),c=b.next(),e={};!c.done;e={IJ:void 0},c=b.next())e.IJ=c.value,a.element("div","class","radio-label",function(f){return function(){f.IJ.render()}}(e))},
Yh:function(){Cua(a)}})})};
l.open=function(){this.oa.open()};
l.close=function(){this.oa.close()};
l.Ta=function(){this.oa.Ta()};
function Bua(a){for(var b=new Map,c=x(a.ya),e=c.next();!e.done;e=c.next())e=e.value,b.set(e.subscription,new MD({text:e.text,checked:a.o}));return b}
function Cua(a){a.element("div","class","buttons",function(){a.cancelButton.render();a.va.render()})}
function Aua(a){var b,c,e,f;Ya(function(h){if(h.o==1){b=a.ma.get(2);if(!b||b.isChecked()===a.o)return h.return();c=b.isChecked()?3:1;Pa(h,2);return h.yield(a.Sa.subscribeToForum(a.forumId,c),4)}if(h.o!=2)return a.o=(e=b.isChecked())!=null?e:!1,Lt().open({message:"Notification preferences updated successfully"}),(f=a.Da)==null||f.HL(b.isChecked()?2:0),Qa(h,0);Ra(h);Lt().open({message:"Error: Notification preferences not updated"});Oa(h)})}
l.uj=function(){var a=this.ma.get(2);a&&a.isChecked()!==this.o&&LD(a.model,this.o)};function OD(a){this.Aa=of(a)}
t(OD,bi);OD.prototype.Ca=uk([0,ek,y]);function PD(a){this.Aa=of(a)}
t(PD,bi);l=PD.prototype;l.getId=function(){return Rg(this,1)};
l.setId=function(a){return rh(this,1,a)};
l.getName=function(){return Rg(this,2)};
l.Gf=function(){return Rg(this,2)};
l.setName=function(a){return rh(this,2,a)};
l.getLanguage=function(){return Rg(this,3)};
l.setLanguage=function(a){return rh(this,3,a)};
l.getContent=function(){return Rg(this,4)};
l.setContent=function(a){return rh(this,4,a)};
l.clearContent=function(){return Lf(this,4)};var Dua=[0,y,-3];PD.prototype.Ca=uk(Dua);function QD(a){this.Aa=of(a)}
t(QD,bi);QD.prototype.Ca=uk([0,hk,Dua]);function RD(a){var b=a.jc===void 0?null:a.jc;var c=a.Px;var e=a.Qx===void 0?AB().experimentIds.includes(46):a.Qx;var f=a.Rx===void 0?AB().experimentIds.includes(47):a.Rx;a=a.tx===void 0?!0:a.tx;E.call(this,"sc.tailwind.thread.hero.HeroAttachment");this.jc=null;this.ua=this.va.bind(this);this.Qx=e;this.Rx=f;this.tx=a;this.Px=c;this.Rx&&b?(this.jc=b,b=sq("play")===this.jc.getId(),this.o=new FB({Hb:this.jc,playerVars:Object.assign({},EB,{hl:zB!==void 0&&BB()?CB():this.jc.getLanguage(),autoplay:b?1:0,
cc_load_policy:this.tx?1:0})}),this.watch(this.jc),SD(this)&&window.addEventListener("resize",this.ua)):this.Qx&&this.Px&&(this.oa=Rg(this.Px,1))}
t(RD,E);RD.prototype.onDetach=function(){this.jc&&Wp(this,this.jc);SD(this)&&window.removeEventListener("resize",this.ua)};
RD.prototype.content=function(){var a=this;this.o?(this.ya=this.element("div","class","root",function(){a.ma=a.element("div","class",{"video-player-container":!0,"youtube-shorts-player":SD(a)},function(){a.o.render();a.o.load()})}),SD(this)&&this.va()):this.oa&&this.element("img","class","hero-image","src",this.oa,"alt","")};
function SD(a){var b;return((b=a.jc)==null?void 0:b.url.indexOf("/shorts/")===-1?0:1)===1}
RD.prototype.va=function(){if(this.ya&&this.ma){var a=this.ya.getBoundingClientRect().width;a=Math.min(800,Math.round(a/9*16));this.ma.style.height=a+"px";this.ma.style.width=a/16*9+"px"}};var Eua=[0,y,-1];function TD(a){this.Aa=of(a)}
t(TD,bi);TD.prototype.getTitle=function(){return Yg(this,1)};
TD.prototype.setTitle=function(a){return rh(this,1,a)};
TD.prototype.Wb=function(){return Yg(this,2)};
TD.prototype.Pc=function(a){return rh(this,2,a)};var Fua=[0,y,-1,hk,Eua];TD.prototype.Ca=uk(Fua);function UD(a){this.Aa=of(a)}
t(UD,bi);UD.prototype.Ca=uk([0,y,mk,y]);function Gg(a){this.Aa=of(a)}
t(Gg,bi);var VD=[0,y,-1,bk,y,bk];Gg.prototype.Ca=uk(VD);function WD(a){this.Aa=of(a)}
t(WD,bi);WD.prototype.removeNode=function(a){return Eg(this,a)};
var Gua=wk(WD);WD.prototype.Ca=uk([0,hk,VD]);function XD(a){this.Aa=of(a)}
t(XD,bi);XD.prototype.getQuery=function(){return Rg(this,1)};
XD.prototype.setQuery=function(a){return rh(this,1,a)};XD.prototype.Ca=uk([0,y,mk,y]);function YD(a){this.Aa=of(a)}
t(YD,bi);YD.prototype.removeNode=function(a){return Eg(this,a)};
var Hua=wk(YD);YD.prototype.Ca=uk([0,hk,VD]);function ZD(a){var b=a.items;var c=a.messages;var e=a.Kk===void 0?void 0:a.Kk;var f=a.lc===void 0?1:a.lc;var h=a.mc===void 0?4:a.mc;var k=a.onClose;var n=a.maxWidth===void 0?"18.75rem":a.maxWidth;a=a.Nj===void 0?!1:a.Nj;E.call(this,"hcfe.SearchSelect.Menu");var p=this;this.ua=this.ma=!1;this.Kk=e;this.items=b;this.messages=c;this.qv=-Infinity;this.pv=Infinity;this.maxWidth=n;this.Nj=a;this.popup=new zs({content:function(){Iua(p)},
Ii:4,lc:f,mc:h,Sp:!0,onClose:k})}
t(ZD,E);l=ZD.prototype;l.content=function(){this.popup.render()};
function Iua(a){a.element("div","class",{root:!0,"root-loading":a.ma},function(){a.messages.MJ&&a.element("div","class","menu-label",a.messages.MJ);a.ua&&a.element("div","class","search-container",function(){a.element("div","class","input-container",function(){a.oa=a.element("input","class","search-field","placeholder",a.messages.pF,"oninput",function(){var b;(b=a.Kk)==null||b.call(a)},"disabled",a.ma);
a.oa.style.width="calc("+a.maxWidth+" - 3.25rem)"});
a.element("div","class","icon","onclick",function(){var b;(b=a.oa)==null||b.focus()},function(){a.va!=null||(a.va=new gq({icon:"gm/search"}));
a.va.render()})});
a.element("div","class","scroll-container","style",{minHeight:a.qv>-Infinity?a.qv+"px":null,maxHeight:a.pv0)switch(a.items[0].state){case 4:Jua(a);break;case 3:Kua(a);break;case 5:Lua(a);break;default:a.Im(a.items,0)}})})}
function Kua(a){a.element("div","class","search-message-container",function(){a.element("div","class","search-inner search-error",function(){a.o!=null||(a.o=$D());a.o.render();a.element("div","data-error-message","true","tabindex","0",function(){a.element("div","class","search-message-heading",a.messages.kF);a.element("div",a.messages.lF)})})})}
function Lua(a){a.element("div","class","search-message-container",function(){a.element("div","class","search-inner",function(){a.element("div","class","search-no-results-icon",function(){a.o!=null||(a.o=$D());a.o.render()});
a.element("div","data-error-message","true","tabindex","0",function(){a.element("div","class","search-message-heading",a.messages.mF);a.element("div",a.messages.nF)})})})}
function Jua(a){a.element("div","class","search-message-container",function(){a.element("div","class","search-inner",function(){a.element("div","class","search-no-results-icon",function(){a.o!=null||(a.o=$D());a.o.render()});
a.element("div","data-error-message","true","tabindex","0",function(){a.element("div","class","search-message-heading",a.messages.OD);a.element("div",a.messages.oF)})})})}
function $D(){return new gq({icon:"gm/error_outline"})}
l.kh=function(a){this.ma=a;this.Ja()};
l.Im=function(a,b){var c=this;a=x(a);for(var e=a.next(),f={};!e.done;f={Hf:void 0},e=a.next()){f.Hf=e.value;var h=(e=Mua(f.Hf))?"true":f.Hf.Fh?"false":null,k=void 0;this.element("button","type","button","role","option","class",{item:!0,highlight:!0,alternatingRowColor:this.Nj,unclickable:f.Hf.dG},"disabled",f.Hf.disabled,"data-index",(k=f.Hf.index)!=null?k:"","aria-expanded",h,"onclick",function(n){return function(){n.Hf.dG||n.Hf.trigger()}}(f),"onkeydown",function(n){return function(p){n.Hf.dG||
p.key!=="Space"&&p.key!=="Enter"||n.Hf.trigger()}}(f),function(n){return function(){Nua(c,n.Hf.icon);
c.element("span","class","item-label",function(){typeof n.Hf.value==="string"?Rp(n.Hf.value):typeof n.Hf.value==="function"&&n.Hf.value()})}}(f));
e&&this.Im(f.Hf.items,++b)}};
function Nua(a,b){b&&a.element("div","class","icon",new gq({icon:b,size:24}))}
function Oua(a){var b,c;return(c=(b=a.oa)==null?void 0:b.value)!=null?c:null}
l.open=function(a){var b=a.anchor;var c=a.Re;var e=a.Ge;var f=a.Nb;var h=a.qv;a=a.pv;h===void 0&&(h=-Infinity);a===void 0&&(a=Infinity);h>a&&a!==Infinity&&(a=h);this.qv=h;this.pv=a;this.Ja();this.popup.open({anchor:b,Re:c,Ge:e,Nb:f})};
l.close=function(){this.popup.close()};
function Mua(a){return!!a.Im&&Array.isArray(a.items)&&a.items.length>0}
;function Pua(a,b,c){var e,f;return Ya(function(h){e=new UD;rh(e,1,a);rh(e,3,b);c&&th(e,2,c);f=e.serialize();return h.return(new Promise(function(k,n){lo({endpoint:"cidgettree",params:Qua(),httpMethod:"POST",requestBody:f,onLoadCallback:function(p){var r=null;try{r=Gua(p.responseText),k(zg(r,Gg,1,Xf()).map(function(u){return Rua(u,!0)}))}catch(u){n(u)}},
Id:function(){n()}})}))})}
function Sua(a,b,c){var e,f;return Ya(function(h){e=new XD;e.setQuery(a);rh(e,3,b);c&&th(e,2,c);f=e.serialize();return h.return(new Promise(function(k,n){lo({endpoint:"cidsearch",params:Qua(),httpMethod:"POST",requestBody:f,onLoadCallback:function(p){var r=null;try{r=Hua(p.responseText),k(zg(r,Gg,1,Xf()).map(function(u){return Rua(u,!1)}))}catch(u){n(u)}},
Id:function(){n()}})}))})}
function Rua(a,b){return{Nd:Rg(a,1)||"",BP:Rg(a,4)||"",accountName:Rg(a,2)||"",isMcc:b?!!Og(a,3):!1,state:0,isEligible:!!Og(a,5)}}
function Qua(){return{v:1,origin_page_type:z().pt}}
;function aE(a){var b=a.items;var c=a.tv;var e=a.Fy;var f=a.yz;var h=a.Kk;var k=a.selectedIndex===void 0?-1:a.selectedIndex;var n=a.ariaRequired===void 0?!1:a.ariaRequired;var p=a.maxWidth===void 0?"18.75rem":a.maxWidth;a=a.Nj===void 0?!1:a.Nj;E.call(this,"hcfe.SearchSelect.Select");var r=this;this.ma=this.focused=this.active=!1;this.oa=new gq({icon:"gm/arrow_drop_down",size:24,wb:!0});this.selection=k>=0&&k1?k*2:k;var n,p;h=(n=this.getElement())==null?void 0:(p=n.firstElementChild)==null?void 0:p.getBoundingClientRect().height;c.call(b,{anchor:e,Nb:a,qv:f,pv:h===null||h===void 0?Infinity:Math.min(window.innerHeight-h-175,250)})}};
l.close=function(){this.menu.close()};var bE=/[^0-9]/g,Wua=Ws()?200:264,Xua={placeholder:"Google Ads account"},Yua={pF:"Search for accounts",OD:"No accounts found",kF:"Something went wrong",lF:"Can\u2019t find accounts. Try searching again.",mF:"Type at least 3 characters to get results",nF:"Search for account name or number",oF:"Try searching for a different name or number"},Zua={pF:"Search for accounts",OD:"No accounts found",kF:"Something went wrong",lF:"Can\u2019t find accounts. Try searching again.",mF:"Type at least 3 characters to get results",
nF:"Search for account name or number",oF:"Try searching for a different name or number",MJ:"EXPAND THE MANAGER ACCOUNT TO VIEW ANY ELIGIBLE SUB-ACCOUNTS"};
function cE(a){var b=a===void 0?{}:a;a=b.VP===void 0?void 0:b.VP;var c=b.search===void 0?void 0:b.search;var e=b.defaultValue===void 0?void 0:b.defaultValue;var f=b.ariaRequired===void 0?!1:b.ariaRequired;var h=b.cI===void 0?"Google Ads Customer ID":b.cI;var k=b.frdId===void 0?void 0:b.frdId;var n=b.pageId===void 0?"":b.pageId;b=b.tJ===void 0?!1:b.tJ;E.call(this,"sc.shared.CidSelector");var p=this;this.Hc=f;this.Iq=h;this.Md=k;var r;this.Ba=b&&((r=z().show_eligibility_chip_in_cid_selector)!=null?
r:!1);var u,w;this.ma=((w=(u=z())==null?void 0:u.enable_wide_cid_selector)!=null?w:!1)||this.Ba;this.ue=n;if(e){if(this.Xa=e,a||c)throw Error("Cannot set defaultValue when fetchTree or search is set");}else this.Mc=a||Pua,this.Ij=c||Sua;this.oa=new Map;this.La=new Map;$ua(this);this.ua=null;this.Pa=this.Ra=0;this.ya=null;this.Ia=new Set;this.Je=new gq({icon:"gm/arrow_drop_down"});this.Hj=new gq({icon:"gm/check"});this.bl=Uq(function(){ava(p)},1E3);
this.o=new aE({items:[],tv:Xua,maxWidth:this.ma?"var(--wide-cid-selector-width)":void 0,Fy:this.Ba?Zua:Yua,yz:new gq({icon:"gm/account_circle"}),Kk:this.bl,ariaRequired:this.Hc,Nj:this.ma&&Ws()});this.Rb=null;this.ob=!1;this.rb=this.Db=this.Ma=this.Ha=null;this.Fa=!0;this.Qa=new Promise(function(A,la){p.Db=A;p.rb=la});
this.va="";this.Xa&&(bva(this),this.va=this.Xa.replace(bE,""));this.al=Uq(function(){p.Ha&&p.Ha()},300)}
t(cE,E);cE.prototype.content=function(){var a=this;if(!this.ob)if(this.Ma&&(this.Ma.remove(),this.Ma=null),this.ua!==null){this.element("div","class",{root:!0,wide:this.ma},this.ua);this.ua.setText(this.va);this.Fa&&dE(this);var b;(b=this.ua.getElement())==null||b.setAttribute("data-help-center-field-element-id","fallback-textfield")}else this.Rb?this.element("div","class",{root:!0,wide:this.ma},"onkeydown",function(c){c.key==="Enter"&&c.preventDefault()},function(){a.o.render();
a.o.Fj(a.Rb);a.element("div","class","legal-label","Only you can see this info")}):(eE(this),this.Ma=this.element("div","class","loading-spinner",function(){(new It({size:"mspin-small"})).render()}))};
function dE(a){if(a.Db){a.Pa!==1||a.Ra!==0||a.Xa||a.oa.get("")[0].Nd===void 0||(a.va=a.oa.get("")[0].Nd.replace(bE,""),a.ya=a.oa.get("")[0]);var b={lL:a.va,cidCount:a.Pa,aZ:a.Ra};a.Fa&&(a.Fa=!1,a.Db(b))}}
function eE(a){return Ya(function(b){if(b.o==1){if(!a.Mc)return dE(a),b.return();a.ob=!0;return b.yield(fE(a),2)}a.Rb=b.ma;a.ob=!1;dE(a);a.Ja();Oa(b)})}
function fE(a,b){b=b===void 0?!1:b;var c,e;return Ya(function(f){if(f.o==1)return c=cva(),e={Nd:""},a.oa.has("")?f.Na(2):f.yield(dva(a,""),2);eva(a,e,c,0,b,0);return f.return(c.items)})}
function eva(a,b,c,e,f,h){var k=f?a.La:a.oa;if(!k.has(b.Nd))return e;b=x(k.get(b.Nd));for(var n=b.next(),p={};!n.done;p={Df:void 0,AB:void 0},n=b.next()){p.Df=n.value;p.AB=e++;p.Df.isMcc?(a.Ra++,Uua(a.o)):a.Pa++;n=p.Df.Nd!=="";var r=p.Df.accountName;if(r===void 0||r.trim()==="")r="Google Ads account";r={value:function(u){return function(){return fva(a,u.Df,h,u.AB)}}(p),
ag:function(u){return function(){return gva(a,u.Df)}}(p),
index:p.AB,trigger:hva(a,p.Df),items:[],selectable:n,Im:a.Ia.has(p.Df.Nd),Fh:p.Df.isMcc,state:p.Df.state,ariaLabel:r+" "+p.Df.Nd,disabled:a.Ba&&!p.Df.isMcc&&!p.Df.isEligible,dG:a.Ba&&p.Df.isMcc};c.items.push(r);k.has(p.Df.Nd)&&n&&(e=eva(a,p.Df,r,e,f,h+1))}return e}
function fva(a,b,c,e){var f=b.state===0,h=a.ma?Wua:104,k=a.ma?58:5,n=f?h-c*k+"px":"100%",p=b===a.ya;return a.element("div","class",{container:!0,"container-menu":!0,wide:a.ma},"aria-selected",p?"true":"false",function(){var r=a.element("div","class","icon-container column check",function(){p&&a.Hj.render()});
p&&r.setAttribute("aria-label","Account selected");r.setAttribute("role","img");var u=a.Ba&&!b.isMcc&&!b.isEligible;a.element("div","class","account-info",function(){a.element("div","class",{center:!0,column:!0,"full-width-column":!f,wide:a.ma},function(){iva(a,0,c,b.accountName);if(f){var A=b.accountName;A.trim()===""&&(A="Google Ads account");var la=a.element("div","class",{account:!0,text:!0,wide:a.ma,"show-eligibility-chip":a.Ba,disabled:u},A);a.ma||(la.style.maxWidth=n);(new Cs({text:A,Zm:4,
trigger:la})).render()}else a.element("div","class",{account:!0,text:!0,wide:a.ma},function(){jva(a)}).style.width=a.ma?"19rem":n});
f&&(a.element("div","class",{value:!0,text:!0,disabled:u},b.Nd),a.ma&&a.Ba&&a.element("div","class","eligible-chip-container",function(){a.element("div","class","eligible-chip",function(){b.isEligible&&(new Ht({disabled:!0,size:"mspin-small",selected:!0,style:1,text:"Eligible",zs:"^scSharedCidselectoreligible-text"})).render()})}))});
r=a.Ia.has(b.Nd);var w=a.element("div","class",{"icon-container":!0,column:!0,active:r,"icon-present":b.isMcc,"expand-icon":!0},"role","button","aria-expanded",r?"true":"false","onclick",function(A){kva(a,A,b,e)},"onkeydown",function(A){kva(a,A,b,e)},function(){b.isMcc&&a.element("div",a.Je)});
b.isMcc&&(w.tabIndex=0,w.setAttribute("aria-label",r?"Collapse account":"Expand account"))})}
function jva(a){var b=new gq({icon:"gm/error_outline",size:20});a.element("div","class","expansion-error-container",function(){b.render();a.element("div","class","expansion-error-text","Can\u2019t find accounts. Please try again.")})}
function kva(a,b,c,e){"key"in b&&b.key!==" "&&b.key!=="Enter"||(b.preventDefault(),b.stopPropagation(),c.isMcc&&lva(a,c,e))}
function iva(a,b,c,e){b!=c&&(a.element("div","class","account-track"),iva(a,++b,c,e))}
function lva(a,b,c){var e,f,h;Ya(function(k){if(k.o==1){(e=a.Ia.has(b.Nd))?a.Ia.delete(b.Nd):a.Ia.add(b.Nd);f=a.oa.has(b.Nd);!e&&f&&(h=a.oa.get(b.Nd),h.length===1&&h[0].state!==0&&(a.oa.delete(b.Nd),f=!1));if(e||f)return k.Na(2);a.o.kh(!0);a.Ja();a.o.open({Nb:!0});return k.yield(dva(a,b.Nd),3)}k.o!=2&&a.o.kh(!1);mva(a,c);Oa(k)})}
function mva(a,b){var c,e,f;Ya(function(h){if(h.o==1)return c=a.o,e=c.Fj,h.yield(fE(a),2);e.call(c,h.ma);a.o.Ja();a.o.open({Nb:!0});(f=a.getElement().querySelector('button[data-index="'+b+'"]'))&&f.focus();Oa(h)})}
function gva(a,b){return a.element("div","class",{container:!0,"container-selected":!0,wide:a.ma},function(){a.element("div","class",{account:!0,text:!0,wide:a.ma},b.accountName);a.element("div","class","value text","style",{"padding-right":"8px"},b.Nd)})}
function ava(a){var b,c,e,f,h,k,n;Ya(function(p){switch(p.o){case 1:b=Oua(a.o.menu);b=b===null?"":b.trim();if(b!==""){p.Na(2);break}$ua(a);c=a.o;e=c.Fj;return p.yield(fE(a,!1),3);case 3:return e.call(c,p.ma),a.o.Ja(),a.o.open({Nb:!0}),p.return();case 2:f=[];if(b.length<3){f=[{state:5}];a.La.set("",f);p.Na(4);break}a.o.kh(!0);a.o.open({Nb:!0});Pa(p,5);return p.yield(a.Ij(b.trim(),a.ue,a.Md),7);case 7:f=p.ma;f.length===0&&(f=[{state:4}]);a.o.kh(!1);Qa(p,4);break;case 5:h=Ra(p),f=[{state:3}],a.o.kh(!1),
a.o.open({Nb:!0}),nva(h);case 4:return a.La.set("",f),k=a.o,n=k.Fj,p.yield(fE(a,!0),8);case 8:n.call(k,p.ma),a.o.Ja(),a.o.open({Nb:!0}),Oa(p)}})}
function hva(a,b){return function(){a.ya=b;a.o.close();a.Ha&&a.Ha()}}
cE.prototype.getValues=function(){for(var a=[],b=x(this.oa.keys()),c=b.next();!c.done;c=b.next()){(c=c.value)&&!a.includes(c)&&a.push(c);c=x(this.oa.get(c));for(var e=c.next();!e.done;e=c.next())(e=e.value.Nd)&&!a.includes(e)&&a.push(e)}return a};
function dva(a,b){var c,e;return Ya(function(f){if(f.o==1)return Pa(f,2),f.yield(a.Mc(b,a.ue,a.Md),4);if(f.o!=2){c=f.ma;if(!c||c.length==0)return ova(a,b,Error("No results")),f.return();a.oa.set(b,c);return Qa(f,0)}e=Ra(f);ova(a,b,e);Oa(f)})}
function ova(a,b,c){a.oa.set(b,[{state:2}]);a.rb&&a.Fa&&(a.Fa=!1,a.rb(c),bva(a));nva(c)}
function bva(a){a.ua=new Ot({placeholder:a.Iq,zc:!0,Oc:function(){a.va=a.ua.getText().replace(bE,"");a.al()},
ariaRequired:a.Hc})}
function nva(a){a=new CustomEvent("cid_selector_fetch_error",{detail:a});Kp().dispatchEvent(a)}
function $ua(a){a.La.clear();a.La.set("",[cva()])}
function cva(){return{value:"",trigger:function(){},
items:[],state:0}}
;function gE(a){var b=a.items;var c=a.label===void 0?void 0:a.label;var e=a.placeholder===void 0?"":a.placeholder;var f=a.Ve===void 0?!0:a.Ve;var h=a.filled===void 0?!1:a.filled;var k=a.disabled===void 0?!1:a.disabled;var n=a.maxHeight===void 0?void 0:a.maxHeight;var p=a.minWidth===void 0?void 0:a.minWidth;var r=a.selectedIndex===void 0?-1:a.selectedIndex;var u=a.autoClose===void 0?!0:a.autoClose;var w=a.zc===void 0?!1:a.zc;var A=a.ariaRequired===void 0?!1:a.ariaRequired;var la=a.Yc===void 0?["self"]:
a.Yc;var ma=a.Qc===void 0?"rem":a.Qc;var sa=a.fE===void 0?function(){}:a.fE;
var Aa=a.Xh===void 0?!1:a.Xh;var Ba=a.Jt===void 0?"":a.Jt;var Ga=a.Yq===void 0?void 0:a.Yq;a=a.Gs===void 0?void 0:a.Gs;E.call(this,"sc.shared.MaterialSelect");var Na=this;this.Fa=function(){return void pva(Na)};
this.Ha=function(){return void pva(Na)};
this.active=!1;this.ma="";this.ua=!0;this.Ba=function(Ta){Ta.code==="Escape"&&(Ta.stopPropagation(),Na.close())};
this.items=b;this.autoClose=u;this.label=c;this.labelId=Xp();this.Bn=Xp();this.minWidth=p;this.filled=h;this.disabled=k;this.zc=w;this.Qc=ma;this.Ia=new gq({icon:"gm/arrow_drop_down",size:24,wb:!0,Qc:this.Qc});qva(this,r);this.maxHeight=n;this.Yq=Ga;this.va=new Et({label:e,Zj:f,Zq:48,disabled:k,filled:h,Aj:function(){return Na.Aj()},
zc:w});this.ariaRequired=A;this.Yc=la;this.fE=sa;this.Xh=Aa&&!k;this.Jt=Ba;this.Gs=a;this.Xh&&(this.o=new Ot({Cf:!1,yu:!1,onFocus:function(){var Ta;(Ta=Na.o)==null||Ta.setPlaceholder(Na.Jt);Na.open({Nb:!1})},
Oc:function(){var Ta;Na.ma=((Ta=Na.o)==null?void 0:Ta.getText())||"";Na.open({Nb:!1})},
Wy:function(){Na.open({Nb:!0})}}));
this.menu=rva(this,b)}
t(gE,E);l=gE.prototype;
l.content=function(){var a=this;this.label&&this.element("div","class","label","id",this.labelId,this.label);this.root=this.element("div","class",{container:!0,"container-with-filtering":this.Xh},"style",{"min-width":this.minWidth?this.minWidth:null},function(){a.oa=a.element("div","class",{root:!0,dense:a.zc,disabled:a.disabled,active:a.active},"id",a.Bn,"tabindex",0,"aria-haspopup","listbox","aria-labelledby",sva(a),"role","button","aria-expanded",a.menu.Ab().toString(),"onclick",function(){return void a.Jb()},
"onkeydown",function(c){a.disabled||c.code!=="Enter"&&c.code!=="Space"||(c.preventDefault(),a.open({Nb:!a.Xh}))},"aria-required",a.ariaRequired,"data-filter-enabled",a.o?"true":void 0,function(){a.o&&(a.o.setText(a.ma),a.element("div","class",{"filter-input":!0,
selection:!0},a.o));a.va.render();a.o||a.element("div","class",{"filled-content":a.filled,"filled-selection":a.filled&&a.selection,selection:!0},a.selection);a.element("div","class",{"filled-content":a.filled,"filled-selection":a.filled&&a.selection,arrow:!0},a.Ia)});
a.oa.addEventListener("focusin",a.Fa);a.oa.addEventListener("focusout",a.Ha)});
if(this.ua)this.menu.render(),this.ya=void 0;else{var b;((b=this.o)==null?0:b.focused)&&this.Gs&&(this.ya=this.element("label","class","warning-label",this.Gs))}};
l.onDetach=function(){var a;(a=this.oa)==null||a.removeEventListener("focusin",this.Fa);var b;(b=this.oa)==null||b.removeEventListener("focusout",this.Ha)};
function tva(a,b){a.menu=rva(a,b);a.Ja()}
l.open=function(a){var b=this;a=(a===void 0?{}:a).Nb;tva(this,this.ma?this.items.filter(function(f){return typeof f.value==="string"?f.value.toLowerCase().includes(b.ma.toLowerCase()):typeof f.ag==="string"?f.ag.toLowerCase().includes(b.ma.toLowerCase()):!1}):this.items);
this.active=!0;this.o&&!a?this.o.focus():hE(this);if(this.root){var c=this.root.getBoundingClientRect().width;this.menu.setWidth(c)}this.ua&&this.menu.open({anchor:this,Nb:a});var e;(e=this.getElement())==null||e.addEventListener("keydown",this.Ba);this.Ja()};
l.close=function(){this.menu.close();var a;(a=this.getElement())==null||a.removeEventListener("keydown",this.Ba)};
function iE(a){switch(typeof a.selection){case "function":var b;return(b=a.selection().textContent)!=null?b:"";case "string":return a.selection;default:return""}}
function hE(a){var b;(b=a.oa)==null||b.focus()}
function pva(a){setTimeout(function(){var b=Yp(),c,e;((c=a.oa)==null?0:c.contains(b))||((e=a.menu.getElement())==null?0:e.contains(b))?a.va.focus():(a.va.blur(),a.o&&(a.close(),a.ma=iE(a),a.o.setText(a.ma),a.o.setPlaceholder(""),a.ya&&a.ya.remove()))},0)}
function sva(a){return a.Yc.map(function(b){return b==="self"?a.label?a.labelId+" "+a.Bn:a.Bn:b}).join(" ")}
l.Aj=function(){return!!this.selection};
l.Jb=function(){this.disabled||this.open({Nb:!1})};
function rva(a,b){a.ua=!a.Xh||!a.Yq||b.length<=a.Yq;if(!a.ua)return new Es({items:[]});b=uva(a,b);return new Es({items:b,vv:a.selection,Ii:4,lc:1,mc:4,onClose:function(){hE(a);a.active=!1;a.Ja()},
maxHeight:a.Xh?"40vh":a.maxHeight,Py:a.filled,Vs:!1})}
function uva(a,b){return b.map(function(c){var e=Object.assign({},c,{trigger:function(){a.selection=c.ag?c.ag:c.value;typeof a.selection==="string"&&a.fE(a.selection);c.trigger&&c.trigger();a.Xh&&(a.ma=iE(a),a.close());a.autoClose&&a.close()}});
e.items&&Array.isArray(e.items)&&(e.items=uva(a,e.items));return e})}
function qva(a,b){a.selection=b>=0&&b");bq.prototype.onChange.call(this,function(){jE(e,a)})}else{var f="Notifying "+(c!=null?c:"");
bq.prototype.onChange.call(this,a,function(){jE(f,b)})}};
l.Ea=function(a){var b=this,c;jE(this.kt+" sent "+((c=this.Ia[a])!=null?c:"UNKNOWN"),function(){return void bq.prototype.Ea.call(b,a)})};var vva=new Map([[5,"CHECKBOX"],[3,"CID_SELECTOR"],[4,"GMB_LISTING_SELECTOR"],[1,"HIDDEN"],[7,"SELECT_TABLE"],[2,"SELECT"],[8,"INPUT_TEXT"],[6,"SELECT_WITH_FILTERING"]]);function wva(a,b){var c=a.Ot(),e=b.Ot();if(c&&e)return xva(c,e);c=a.Tt();e=b.Tt();if(c&&e)return c.Js()!==e.Js()?!1:!c.Lx()&&!c.bJ()||!e.Lx()&&!e.bJ()?!0:c.xI()!==e.xI()||c.xx()!==e.xx()?!1:!0;a=a.Ut();b=b.Ut();return a&&b?a.o()!==b.o()?!1:!0:!1}
function xva(a,b){a=a.o();if(!a)return!1;var c=b.o();return c?a.some(function(e){return c.some(function(f){return e.Ks()!==f.Ks()?!1:!e.Zv()&&!e.dJ()||!f.Zv()&&!f.dJ()?!0:e.LG()!==f.LG()||e.Bx()!==f.Bx()?!1:!0})}):!1}
;var yva=Ha(["https://www.google.com/recaptcha/api.js?trustedtypes=true&render=explicit&onload=",""]);function lE(a,b,c){this.o=c;this.clientId=0;this.load(a,b===void 0?function(){}:b)}
lE.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");An(e,Sn(yva,"sc_renderRecaptcha"));document.head.appendChild(e)};
lE.prototype.getResponse=function(){var a=this,b,c;return Ya(function(e){switch(e.o){case 1:if(!window.grecaptcha)return e.return("");b=window.grecaptcha;Pa(e,2);return e.yield(new Promise(function(f){b.ready(f)}),4);
case 4:return e.yield(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 mE={};var zva={eW:0,rG:1,0:"FIELDS_CREATED",1:"FIELD_VALUES"};function nE(a){kE.call(this,a===void 0?"HelpcenterFields":a,zva);this.complete=!1;this.Rd=""}
t(nE,kE);nE.prototype.qc=function(){return this.complete};
nE.prototype.Nc=function(a,b){function c(u){return a?!!u.getId():u.qc()}
function e(u){return u.cJ()?u.iQ():u.Ed()}
var f=Ava(this,b);if(f==null||!f.length)return[];var h;b=(h=f.filter(function(u){return u.placements.some(function(w){return w.HQ()})}).flatMap(e).filter(c))!=null?h:[];
var k;b=b.concat((k=f.filter(function(u){return u.placements.some(function(w){return w.SQ()})}).flatMap(e).filter(c))!=null?k:[]);
var n;b=b.concat((n=f==null?void 0:f.filter(function(u){return u.placements.some(function(w){return w.TQ()})}).flatMap(e).filter(c))!=null?n:[]);
h=new Map;b=x(b);for(k=b.next();!k.done;k=b.next())if(k=k.value,f=void 0,n=(f=k.getId())!=null?f:0,h.has(n)){var p=void 0,r=void 0;f=(r=(p=h.get(n))==null?void 0:p.getPriority())!=null?r:0;p=void 0;r=(p=k.getPriority())!=null?p:0;f>r&&h.set(n,k)}else f=n=void 0,h.set((f=(n=k)==null?void 0:n.getId())!=null?f:0,k);return Array.from(h.values())};
function Ava(a,b){var c;return(c=a.o)==null?void 0:c.filter(function(e){if(!e.isValid())return!1;var f=e.placements;return f.length?b!=null&&b.length?b.some(function(h){return f.some(function(k){return wva(h,k)})}):!0:!1})}
nE.prototype.Vt=oa(53);nE.prototype.getInjectedFrdValuesEventId=function(){return this.Rd};var Bva=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"],["CT_COMMUNITY_VIDEO","gm/play_circle_outline"],["CT_VIDEO","gm/play_circle_outline"],[void 0,"gm/language"]]);function oE(a){var b;return(b=Bva.get(a.type))!=null?b:"gm/drive_document"}
function pE(a,b){var c=oE(a);return a.type==="CT_WORKFLOW"?new Xs({icon:0}):new gq({icon:c,size:b})}
function Cva(a){switch(a){case "ROLE_USER":return 0;case "ROLE_PRODUCT_EXPERT_LEVEL_1":return 1;case "ROLE_PRODUCT_EXPERT_LEVEL_2":return 2;case "ROLE_PRODUCT_EXPERT_LEVEL_3":return 3;case "ROLE_PRODUCT_EXPERT_LEVEL_4":return 4;case "ROLE_PRODUCT_EXPERT_LEVEL_5":return 5;case "ROLE_COMMUNITY_MANAGER":return 10;case "ROLE_COMMUNITY_SPECIALIST":return 20;case "ROLE_GOOGLE_EMPLOYEE":return 100;case "ROLE_ALUMNUS":return 30;default:return 0}}
function qE(a){return(new lm).setUrl(a.url)}
;function Dva(a,b,c){a=x(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=(f=e.getAttribute("aria-label"))!=null?f:"";h.includes(c)||e.setAttribute("aria-label",h+(" ("+c+")"));e.getAttribute("target")||e.setAttribute("target","_blank")}}
;function rE(a,b,c,e,f,h,k){E.call(this,"SmartJourney.Onebox");this.Oa=a;this.oneboxResult=b;this.openInNewWindow=c;this.ma=e;this.oa=f;this.va=h;this.Jb=k;this.ua=new gq({icon:"gm/open_in_new"});this.ya=new gq({icon:"gm/open_in_new",size:18});if(YC(this.oneboxResult.type)){a=new om;a=rh(a,5,b.id);a=pm(a.setTitle(b.title).setUrl(b.url),b.snippet);a:switch(b.type){case "CT_COMMUNITY_VIDEO":c=102;break a;case "CT_VIDEO":c=103;break a;default:c=1}a=th(a,4,c);a=rm(qm(a,b.tracking_id),b.request_id);b.tailwind_data&&
(c=b.tailwind_data,e=new km,c=th(e,9,Cva(c.user_role)),Ag(a,km,26,c));b.youtube_data&&(c=b.youtube_data,b=new nm,b=qh(b,1,c.views),b=rh(b,2,c.thumbnail),b=ph(b,3,c.duration).setTimestamp(c.timestamp),b=rh(b,5,c.youtube_id),b=nh(b,6,c.is_verified),b=rh(b,7,c.channel_title),c.thumbnails&&(e=c.thumbnails,c=new mm,e.default_thumbnail&&(f=qE(e.default_thumbnail),Ag(c,lm,1,f)),e.medium_thumbnail&&(f=qE(e.medium_thumbnail),Ag(c,lm,2,f)),e.high_thumbnail&&(f=qE(e.high_thumbnail),Ag(c,lm,3,f)),e.standard_thumbnail&&
(f=qE(e.standard_thumbnail),Ag(c,lm,4,f)),e.maxres_thumbnail&&(e=qE(e.maxres_thumbnail),Ag(c,lm,5,e)),Ag(b,mm,8,c)),Ag(a,nm,28,b));this.o=new yC(a)}}
t(rE,E);rE.prototype.content=function(){var a=this;this.element("div","class",{result:!0,separator:this.va},function(){var b=a.oneboxResult,c;(c=Ls)==null||c.Ej([{type:a.ma}]);b.type!=="CT_SNIPPET"&&Eva(a);Fva(a);if(!a.o&&(Gva(a),b.type!=="CT_SNIPPET"))switch(a.oneboxResult.type){case "CT_WORKFLOW":mE.useHairlineButtonInWorkflowOnebox?Hva(a,a.Oa.get("Onebox.GET_STARTED")):Iva(a,a.Oa.get("Onebox.GET_STARTED"));break;default:Iva(a,a.Oa.get("Onebox.READ_MORE"))}})};
function Eva(a){a.element("div","class","content-header",function(){var b=oE(a.oneboxResult),c=pE(a.oneboxResult,16);a.element("span","class",{"content-icon":!0,"help-article":b==="gm/drive_document",language:b==="gm/language","question-answer":b==="gm/question_answer",youtube:b==="gm/video_youtube",video:b==="gm/play_circle_outline"},"aria-hidden","true",c);if(a.o)b=DC(a.o,null);else switch(b=a.Oa.get("Onebox.HELP_ARTICLE"),a.oneboxResult.type){case "CT_WORKFLOW":b=a.Oa.get("Onebox.TROUBLESHOOTER")}a.element("span",
"class","content-label",b)})}
function Fva(a){var b=a.oneboxResult.title;a.openInNewWindow&&(b+=" ("+a.Oa.get("Onebox.OPENS_IN_A_NEW_WINDOW")+")");YC(a.oneboxResult.type)&&(b+=" ("+ZC(a.oneboxResult.type)+")");var c,e;a.element("a","class","title","href",(e=(c=a.o)==null?void 0:zC(c))!=null?e:a.oneboxResult.url,"target","_blank","data-stats-ve",a.ma,"data-stats-action",8,"aria-label",b,"onclick",a.Jb,function(){a.o?((new XC({model:a.o,Uf:!0,wy:!0})).render(),$C(a.o.getUrl())):a.element("div","class","title-wrapper","aria-hidden",
"true",function(){var f;a.element("span",Wr((f=a.oneboxResult.title)!=null?f:""));a.openInNewWindow&&a.element("span","class","title-icon",a.ya)})})}
function Gva(a){var b=a.element("div","class","snippet",function(){var c;Rp(Wr((c=a.oneboxResult.snippet)!=null?c:""))});
Dva(b,a.openInNewWindow,a.Oa.get("Onebox.OPENS_IN_A_NEW_WINDOW"))}
function Iva(a,b){var c=b;a.openInNewWindow&&(c+=" ("+a.Oa.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.oa,"data-stats-action",8,"aria-label",c,"onclick",a.Jb,function(){a.element("span",b);a.openInNewWindow&&a.ua.render()})}
function Hva(a,b){var c=b;a.openInNewWindow&&(c+=" ("+a.Oa.get("Onebox.OPENS_IN_A_NEW_WINDOW")+")");a.element("div","class","workflow-action-link","data-stats-ve",a.oa,"data-stats-action",8,"onclick",a.Jb,new kq({ariaLabel:c,icon:"gm/arrow_forward",xc:!0,style:3,text:b,trigger:function(){cr(a.oneboxResult.url,{Hd:a.openInNewWindow})}}))}
;function sE(a,b){var c;return Ya(function(e){if(e.o==1)return e.yield(b.post({endpoint:"classifications",json:!0,queryParams:{v:"1"},request:Jva(a)}),2);c=e.ma;return e.return(Kva(c,a.method))})}
function Jva(a){switch(a.method){case "get_categories":return{resource:{get_categories:{description:a.issueDescription,frd_value:a.Od.map(function(b){return pB(gB(b))}),
client:a.client}}};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 Kva(a,b){if(b==="get_assistive_suggestion"){b={};if("get_assistive_resolutions"in a){var c;b.resolution=(c=a.get_assistive_resolutions.assistive_resolutions)==null?void 0:c[0]}if("get_questions"in a){var e;b.question=(e=a.get_questions.responses)==null?void 0:e[0]}return b}if("get_categories"in a){var f;return{categories:(f=a.get_categories.category)!=null?f:[],predictionId:a.get_categories.prediction_id,highConfidenceTopK:a.get_categories.high_confidence_top_k}}if("get_assistive_resolutions"in
a){var h;return{jZ:(h=a.get_assistive_resolutions.assistive_resolutions)!=null?h:[]}}if("get_questions"in a){var k;return{questions:(k=a.get_questions.responses)!=null?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 Lva(a,b){var c;return Ya(function(e){c={query:a.query,max_results:JSON.stringify(a.maxResults),origin_page_type:JSON.stringify(a.originPageType),search_session_id:a.searchSessionId,symptom:a.symptom,user_context:a.userContext,v:"1"};a.skipOnebox!==void 0&&(c.skip_onebox=String(a.skipOnebox));a.skipRelatedQuestions!==void 0&&(c.skip_related_questions=String(a.skipRelatedQuestions));a.maxCharsPerTitle!==void 0&&(c.max_chars_per_title=JSON.stringify(a.maxCharsPerTitle));a.supportJourneyId!==
void 0&&(c.support_journey_id=String(a.supportJourneyId));return e.return(b.get({endpoint:"search",json:!0,queryParams:c}))})}
;function tE(a,b){bq.call(this);this.pageLocale=a;var c={};this.strings=(c[a]=b,c);this.locale=a}
t(tE,bq);tE.prototype.get=function(a){var b,c;return(c=(b=this.strings[this.pageLocale])==null?void 0:b[a])!=null?c:""};
tE.prototype.set=function(a,b){var c;this.strings[a]=Object.assign({},(c=this.strings[a])!=null?c:{},b);this.Ea()};function uE(){var a=z();a={kx:a.ehn,HO:a.bcUrl,query:a.query,internalHelpCenter:a.hc,Et:a.ehc,language:a.lang,authuser:String(a.au),lH:a.auth_token,wc:a.dark,experimentIds:a.tw_smei,BU:a.upload_hostname,sR:a.li,oR:a.rs===3||a.rs===8||a.rs===2||a.rs===79,rJ:(new URLSearchParams(location.search)).get("format")==="embed"};zB?console.error("Global settings should only be initialized once."):zB=Object.assign({},a)}
;function vE(a,b,c,e){e=e===void 0?{}:e;if(BB())a=e.messageId,e=e.relative===void 0?!0:e.relative,c="/s/community/forum/"+b+"/thread/"+c,a&&(c+="/message/"+a),c=wE(c,!1),c=e?xE(c):c.toString();else{var f=e;b=f.vJ===void 0?!1:f.vJ;e=f.language===void 0?CB():f.language;var h=f.messageId;var k=f.relative===void 0?!0:f.relative;switch(f.purpose===void 0?1:f.purpose){case 11:f="community-video";break;case 12:f="community-guide";break;default:f="thread"}c=wE("/"+a+"/"+f+"/"+c);c.searchParams.set("hl",e);
b&&c.searchParams.set("notify","new");h&&c.searchParams.set("msgid",""+h);c=k?xE(c):c.toString()}return c}
function wE(a,b){b=b===void 0?!0:b;a=new URL(a,AB().kx);var c=AB().authuser;c&&b&&a.searchParams.set("authuser",c);return a}
function xE(a){return a.href.replace(a.origin,"")}
;function yE(a){this.Aa=of(a)}
t(yE,bi);function zE(a){return xg(a,pv,1)}
function AE(a){var b=new yE;return Ag(b,pv,1,a)}
function BE(a,b){return oh(a,2,b)}
function CE(a,b){Ag(a,zy,18,b)}
function DE(a,b){return oh(a,21,b)}
function EE(a){return xg(a,aw,19)}
;yE.prototype.Ca=uk([0,yv,ck,10,ck,1,ck,-1,1,Mpa,ama,ck,-1]);function FE(a,b){b=b===void 0?{}:b;dv.call(this,a,zE(a),b);this.ma="embedOptions";this.qa="guidanceChatUiMessageChannel"}
t(FE,dv);FE.prototype.wC=function(){return"embed/chat"};
FE.prototype.oC=function(){return Tg(this.Te,13)?{debug:"1"}:{}};var Mva=RegExp("^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)","i");var Nva=[0,Wj,-1];function GE(a){this.Aa=of(a)}
t(GE,bi);GE.prototype.Nl=oa(10);GE.prototype.Me=function(){return Ug(this,14)};var Ova=[0,y,-2,mk,y,-3,mk,y,-3,Wj];GE.prototype.Ca=uk(Ova);var Pva=[0,mk,Wj];function HE(a){this.Aa=of(a)}
t(HE,bi);l=HE.prototype;l.getQuery=function(){return Yg(this,5)};
l.setQuery=function(a){return rh(this,5,a)};
l.getUrl=function(){return Yg(this,6)};
l.setUrl=function(a){return rh(this,6,a)};
l.Ch=function(){return Ug(this,13)};
l.Ud=function(a){return ph(this,13,a)};var Qva=[0,mk,-1,Nj,Wj,y,-2,mk,-1,Pva,Wj,y,Wj,y,-1];HE.prototype.Ca=uk(Qva);function IE(a){this.Aa=of(a)}
t(IE,bi);var JE=[3,4];IE.prototype.Ca=uk([0,JE,Ova,Nva,ik,Qva,ik,Ty]);function Rva(){}
function Sva(a,b){if(!b.bc||b.interactionType!==null&&b.interactionType!==void 0)if(!b.interactionType||b.bc!==null&&b.bc!==void 0)a=null;else{var c=(new Ly).setTimestamp(hl());b.predictionId&&My(c,b.predictionId);b.reportingId&&Ny(c,b.reportingId);b.interactionType&&Oy(c,b.interactionType);b.nu&&Py(c,b.nu);var e=new IE;c=Bg(e,4,JE,c);a.bC(c,b);a=c}else c=new HE,b.bc&&th(c,1,b.bc),b.Nh&&th(c,2,b.Nh),b.lq&&qh(c,3,b.lq),b.Fw&&ph(c,4,b.Fw),b.query&&c.setQuery(b.query),b.url&&c.setUrl(b.url),b.Ep&&(e=
b.Ep.join("|"),rh(c,7,e)),b.contactMode&&th(c,9,b.contactMode),b.viewId&&c.Ud(b.viewId),b.Fq&&rh(c,14,b.Fq),e=new IE,c=Bg(e,3,JE,c),a.bC(c,b),a=c;return a}
;function KE(a){var b=a===void 0?{}:a;a=b.on===void 0?!1:b.on;var c=b.disabled===void 0?!1:b.disabled;var e=b.toggle;b=b.nw===void 0?"":b.nw;E.call(this,"sc.shared.MaterialSwitch");this.on=a;this.disabled=c;this.toggle=e;this.nw=b;this.overlay=new hq({Vp:!0})}
t(KE,E);KE.prototype.content=function(){var a=this;this.element("label","class",{root:!0,on:this.on,disabled:this.disabled},"aria-labelledby",this.nw,function(){a.element("div","class","track");a.element("div","class","thumb-underlay",function(){a.element("div","class","thumb");a.o=a.element("input","class","native-control","type","checkbox","disabled",a.disabled,"onchange",function(){return void a.onChange()});
a.o.checked=a.on;a.overlay.render()})})};
KE.prototype.onChange=function(){this.on=this.o.checked;this.Ja();var a;(a=this.toggle)==null||a.call(this)};var LE=2*Math.PI*18;function ME(a){a=a.size;E.call(this,"sc.shared.MaterialProgressCircle");this.progress=0;this.size=a}
t(ME,E);function Tva(a,b){Number.isNaN(b)||(a.progress=b<0?0:b>1?1:b,a.Ja())}
ME.prototype.content=function(){var a=this;this.element("svg","class","root","viewBox","0 0 48 48","width",this.size,"height",this.size,function(){a.element("circle","cx",24,"cy",24,"r",18,"style",{"stroke-width":"4px"},"stroke-dasharray",LE,"stroke-dashoffset",LE-LE*a.progress)})};function Uva(a,b){var c=Math.log(a)/Math.log(1024)|0;a=Number((a/Math.pow(1024,c)).toFixed(1));try{return(new Intl.NumberFormat(b,{style:"unit",unit:"byte kilobyte megabyte gigabyte terabyte petabyte".split(" ")[c]||"petabyte"})).format(a)}catch(e){return a+" "+(c===0?"":"KMGTPEZY".charAt(c-1))+"B"}}
;function NE(a){var b=a.file;var c=a.oh;var e=a.locale;var f=a.dE;var h=a.formId;a=a.fileUpload;E.call(this,"sc.forms.upload.attachment");this.ua=new gq({icon:"gm/close",size:20});this.oa=new ME({size:24});this.va=new gq({icon:"gm/error_outline",size:16});this.o=this.inProgress=!1;this.root=this.ma=null;this.file=b;this.oh=c;this.locale=e;this.dE=f;this.formId=h;this.fileUpload=a===void 0?new Qv(b):a}
t(NE,E);NE.prototype.upload=function(){var a=this;if(this.ma)return this.ma;this.inProgress=!0;this.ma=new Promise(function(b,c){a.file.size>a.oh?(a.inProgress=!1,a.o=!1,a.Ja(),c()):(a.formId&&a.fileUpload.Jf("formId",a.formId),a.fileUpload.ym(function(){Vva(a);b()}).onError(function(){a.inProgress=!1;
a.o=!1;a.Ja();c()}).WJ(function(e){Tva(a.oa,e/a.file.size)}).start())});
this.Ja();return this.ma};
NE.prototype.getFile=function(){return this.file};
NE.prototype.content=function(){var a=this;this.root=this.element("div","tabindex","0","class",{root:!0,"root--with-error":!this.inProgress&&!this.o},function(){a.element("div","class","name","aria-live","polite",function(){Gp(a.file.name);!a.inProgress&&a.o&&a.element("span","class","attached","(file attached)");a.inProgress||a.o||Wva(a)});
!a.inProgress&&a.o?a.element("div","class","size",Uva(a.file.size,a.locale)):a.inProgress&&a.element("div","class","progress",function(){a.oa.render()});
a.element("div","class","close",function(){a.element("button","type","button","class","remove-button","aria-label","Remove attachment "+a.file.name,"onclick",function(){a.dE(a)},function(){a.ua.render()})})})};
function Wva(a){a.element("div","class","error",function(){a.element("span","class","error__icon",function(){a.va.render()});
a.element("span","class","error__text",a.file.size>a.oh?(new Hq("File must be smaller than {localizedFileSize}")).format({localizedFileSize:Uva(a.oh,a.locale)}):"Failed to attach. Try again or try another file.")})}
NE.prototype.focus=function(){var a;(a=this.root)==null||a.focus()};
function Vva(a){Tva(a.oa,1);a.inProgress=!1;a.o=!0;setTimeout(function(){a.Ja()},500)}
;function OE(a){var b=a.oh;var c=a.allowMultipleFiles;var e=a.formId;var f=a.locale===void 0?"en":a.locale;var h=a.fB===void 0?NE:a.fB;var k=a.kE;var n=a.iE;var p=a.jE;a=a.RD;E.call(this,"sc.forms.upload.attachments");this.attachments=new Set;this.oh=b;this.allowMultipleFiles=c;this.formId=e;this.locale=f;this.fB=h;this.kE=k;this.iE=n;this.jE=p;this.RD=a}
t(OE,E);OE.prototype.getSize=function(){return this.attachments.size};
OE.prototype.addAttachments=function(a){if(a.length!==0){if(this.allowMultipleFiles){a=x(a);for(var b=a.next();!b.done;b=a.next())Xva(this,b.value)}else{b=x(this.attachments);for(var c=b.next();!c.done;c=b.next())Yva(this,c.value);Xva(this,a[0])}this.Ja()}};
function Zva(a,b){if(a.attachments.size){a=[].concat(Fa(a.attachments));var c=a.findIndex(function(e){return e.getFile()===b});
c<1||a[c-1].focus()}}
function $va(a){a=x(a.attachments);for(var b=a.next();!b.done;b=a.next())if(b.value.inProgress)return!1;return!0}
function PE(a){return $va(a)?[].concat(Fa(a.attachments)).filter(function(b){return!b.inProgress&&b.o}).map(function(b){return b.inProgress?null:{filename:b.file.name,
Ef:b.fileUpload.o,documentId:b.fileUpload.Bo()}}):[]}
OE.prototype.content=function(){var a=this;this.element("div","aria-live","polite",function(){a.attachments.size||a.element("div","class","no-attachments-label",a.allowMultipleFiles?"No files chosen":"No file chosen");a.o&&(a.element("div","class","last-removed-attachment","File "+a.o.name+" removed"),a.o=void 0);for(var b=x(a.attachments),c=b.next();!c.done;c=b.next())c.value.render()})};
function Xva(a,b){var c=new a.fB({file:b,oh:a.oh,locale:a.locale,formId:a.formId,dE:function(e){Yva(a,e)}});
c.upload().then(function(){var e;(e=a.kE)==null||e.call(a,b)}).catch(function(){var e;
(e=a.iE)==null||e.call(a,b)});
a.attachments.add(c)}
function Yva(a,b){var c;(c=a.RD)==null||c.call(a,b.getFile());a.attachments.delete(b);a.o=b.getFile();a.Ja();var e;(e=a.jE)==null||e.call(a,b.getFile())}
;function QE(a){var b=a.id;var c=a.oh;var e=a.formId;var f=a.locale===void 0?"en":a.locale;var h=a.allowMultipleFiles===void 0?!0:a.allowMultipleFiles;a=a.yO===void 0?OE:a.yO;E.call(this,"sc.forms.Upload");var k=this;this.oa=new Set;this.ua=!1;this.id=b;this.allowMultipleFiles=h;this.attachments=new a({locale:f,oh:c,formId:e,allowMultipleFiles:h,kE:function(n){RE(k,n)},
iE:function(n){k.allowMultipleFiles||SE(k,!1);RE(k,n)},
jE:function(n){var p;if((p=k.o)==null?0:p.value.endsWith(n.name))k.o.value="";k.allowMultipleFiles||SE(k,!1);RE(k,n);k.attachments.getSize()||k.ma.focus()},
RD:function(n){Zva(k.attachments,n)}});
this.ma=new kq({icon:"gm/add",text:this.allowMultipleFiles?"Choose files":"Choose file",ariaLabel:this.allowMultipleFiles?"Choose files":"Choose file",style:3,trigger:function(){var n;(n=k.o)==null||n.click()}})}
t(QE,E);QE.prototype.content=function(){var a=this;this.element("div","class","root",function(){a.attachments.render();a.element("label","class","upload-label","for",a.id,"style",{pointerEvents:a.ua?"none":"auto"},function(){a.ma.render()});
awa(a)})};
function awa(a){var b=["type","file","id",a.id,"name",a.id,"class","native-input","onchange",function(){var c=a.o;if(c&&c.files&&c.files.length>0){c=a.o;c=c!=null&&c.files?Array.from(c.files):[];a.attachments.addAttachments(c);for(var e=0;e 2832195168942663758
Search Help Center
true
true
106715
false