Skip to main content Search
Clear search
Close search
Google apps
Main menu
"+k+"\n
"+h+"":k?"
"+k+"":h?""+h+"":""}else k=void 0;h=a.mf;if(a.Ra.Dr){var n=new Zu;var p=(new Tv).setTitle(a.Ra.getTitle());var r=a.Ra.getDescription();p=th(p,2,r);p=th(p,3,f);n=gi(n,jma,p)}else n=
void 0;Sv(f,c,2,void 0,e,k,!0,h,n)}:function(){Zv(a);
hma({qd:"genieSkillEntryButtonId",entryPoint:1},{Vn:!0,sessionConfigId:a.o,Nf:Pv(a.Ra),mf:a.mf})};
case 2:return function(){Zv(a);Rf(b,gr,7,ir)&&hma({qd:$g(kh(b,gr,7,ir),3),entryPoint:1},{Vn:!0,sessionConfigId:a.Ra.xq?a.Ra.xq:a.o,Nf:Pv(a.Ra),mf:a.mf})};
case 4:return function(){if(!ih(b,9,ir)){var c;(c=a.ma)==null||Dea(c);Zv(a)}};
default:return function(){Zv(a)}}}
function Zv(a){Ov({action:35,Ra:a.Ra,uiVersion:a.Jc.Ak?2:1,viewType:a.Jc.Rd})}
function Yv(a){switch(a){case 1:a=mma.get(z().hc);if(jo()){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 pma(a){a.element("div","class","chat-button",new eq({text:"Chat to learn more",style:11,trigger:function(){Ov({action:22,Ra:a.Ra,actionId:"genieChatToLearnMore",uiVersion:a.Jc.Ak?2:1,viewType:a.Jc.Rd});Sv("",z().hc+"-genie_cta",1,"genieChatToLearnMore",Pv(a.Ra))}}))}
;function $v(a){a=a.contentData;A.call(this,"sc.discovery.genie.Content");this.contentData=a}
t($v,A);$v.prototype.content=function(){var a=this,b=fma(this.contentData.getDescription());this.element("div","class","root",function(){a.element("div","class","description",b);$g(a.contentData,3)&&a.element("span","class","eta",$g(a.contentData,3))})};var aw=new An,rma="This product may show inaccurate or offensive information. "+Bn(aw,"a",{href:"https://policies.google.com/terms","class":"scDiscoveryGenieDisclaimerlink",target:"_blank"})+"Terms"+Dn(aw,"a")+".",sma=aw.format(rma);function bw(){A.call(this,"sc.discovery.genie.Disclaimer")}
t(bw,A);bw.prototype.content=function(){this.element("div","class","root",sma)};function tma(a){var b=a.timeout===void 0?1E4:a.timeout;var c=a.Ar===void 0?function(){}:a.Ar;
a=a.onError===void 0?function(){}:a.onError;
this.state=0;this.o=null;this.timeout=b;this.Ar=c;this.onError=a}
l=tma.prototype;l.load=function(){var a=this;this.state===0&&(this.state=1,this.clearTimeout(),this.o=setTimeout(function(){a.error()},this.timeout))};
l.complete=function(){this.state===1&&(this.state=2,this.clearTimeout(),this.Ar())};
l.error=function(){this.state===1&&(this.state=3,this.clearTimeout(),this.onError())};
l.reset=function(){this.clearTimeout();this.state=0};
l.getState=function(){return this.state};
l.clearTimeout=function(){this.o!==null&&clearTimeout(this.o);this.o=null};var uma=["https://support.google.com/google-ads/workflow/14159772","https://support.google.com/google-ads/workflow/14282534"];function cw(a){a=Error.call(this,a);this.message=a.message;"stack"in a&&(this.stack=a.stack)}
t(cw,Error);
function dw(a){var b=a.experienceType;var c=a.issueType;var e=a.customerContext;var f=a.article;var h=a.Un===void 0?!1:a.Un;var k=a.Vv===void 0?!1:a.Vv;var n=a.At===void 0?!1:a.At;var p=a.xD===void 0?!1:a.xD;var r=a.Dr===void 0?!1:a.Dr;var u=a.xq===void 0?"":a.xq;var w=a.Bt===void 0?!1:a.Bt;var E=a.jo===void 0?!1:a.jo;var la=a.Dt===void 0?!1:a.Dt;var ma=a.Et===void 0?!1:a.Et;var sa=a.Ct===void 0?!1:a.Ct;a=a.externalCid===void 0?void 0:a.externalCid;Wp.call(this);this.ua=this.ma=0;this.Qa=(new Kn).build();
this.Ma=new DOMParser;this.ya=this.Rd="none";this.Ia=this.va=null;this.Fa=!1;this.sveType=262;this.qa=[];this.experienceType=b;this.issueType=c;this.customerContext=e;this.article=f;this.Un=h;this.Vv=k;this.At=n;this.xD=p;this.Dr=r;this.xq=u;this.Bt=w;this.jo=E;this.Dt=la;this.Et=ma;this.Ct=sa;this.descriptiveName="";var Aa,Ba;b=(Ba=(Aa=ew(this,210,"CidArray"))==null?void 0:zm(Aa).map(function(Qa){return Xg(Qa,3)}))!=null?Ba:[];
var Ga,Na;Aa=(Na=(Ga=ew(this,210,"ExtCidArray"))==null?void 0:zm(Ga).map(function(Qa){return Xg(Qa,3)}))!=null?Na:[];
for(Ga=0;Gac?a.experienceType===2?"collapsed":"none":"expanded"}break;default:b="none"}kw(a,b)}else kw(a,"none")}
function fw(a){return a.Ct||z().env==="TEST"}
function Ima(a){return fw(a)&&!!a.oa&&a.oa.length>1}
function Jma(a){var b;return(b=a.oa)!=null?b:[]}
function Kma(a,b){if($g(b,2)){var c;a.o=(c=a.genieData)==null?void 0:c.find(function(e){var f;return((f=tr(e))==null?void 0:$g(f,2))===$g(b,2)});
a.Ea(3)}}
function kw(a,b){b!==a.Rd&&(a.ya=a.Rd,a.Rd=b,a.Ea(2))}
function Bma(a,b,c){switch(a.experienceType){case 2:if(a.externalCid===void 0&&a.issueType===8)throw new cw("No external cid found");var e;var f=new ms;f=mg(f,4,Te,a.externalCid===void 0?"":String(a.externalCid),void 0,Ve);f=kg(f,7,Be(a.extCidCount),"0");c=mg(f,6,Te,c,void 0,Ve);c=wh(c,3,a.experienceType);c=wh(c,2,a.issueType);f=(e=a.Ka)!=null?e:[];e=Jg(c,8,lr,f);c=new ls;f=c.df;var h=new ks;a=qh(h,1,a.Vv);a=f.call(c,a);a=Cg(e,ls,5,a);b!==void 0&&mg(a,1,Te,String(b),void 0,Ve);b=qs(ps(new ns,zr()),
3);b=Cg(b,ms,4,a);return Lha(b);case 1:if(a.externalCid===void 0)throw new cw("No external cid found");if(!a.article.getContent())throw new cw("No article content found");e=new ms;e=mg(e,4,Te,String(a.externalCid),void 0,Ve);e=kg(e,7,Be(a.extCidCount),"0");e=wh(e,3,a.experienceType);b!==void 0&&mg(e,1,Te,String(b),void 0,Ve);b=new ns;c=zr();a=(new br).setContent([a.article.getTitle(),Tg(a.article,5),a.article.getContent()].join("\n"));a=Cg(c,br,5,a);b=qs(ps(b,a),3);b=Cg(b,ms,4,e);return Lha(b);default:throw new cw("Unsupported experience type");
}}
function gw(a,b){b!==0&&(a.ma=b,a.Ea(0),jw(a))}
function xma(a,b){if(Ema())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.gC)!=null?f:void 0}
function vma(a,b){var c,e,f;return(f=(c=a.qa)==null?void 0:(e=c.find(function(h){return h.gC===b}))==null?void 0:e.cid)!=null?f:void 0}
function yma(a){var b;return(b=hw(a,210,"ExtCidCount"))!=null?b:0}
function zma(a){var b=[];b.push.apply(b,Fa(a.qa.map(function(c){var e=new lr;e=th(e,1,String(c.cid));return th(e,2,String(c.gC))})));
return b}
function Dma(a){return a.filter(function(b){return Pf(b,lr,6)}).map(function(b){return tr(b)})}
function hw(a,b,c){var e;return(e=ew(a,b,c))==null?void 0:Xg(zm(e)[0],3)}
function Fma(a,b,c){var e;return(e=ew(a,b,c))==null?void 0:nh(zm(e)[0],1)}
function ew(a,b,c){return Bg(a.customerContext,ym,5,Zf()).find(function(e){return ah(e,1,0)===b&&$g(e,2)===c})}
function Cma(a){var b=a.experienceType;var c=a.issueType;var e=a.sessionId;var f=a.customerId;var h=a.externalCid;var k=a.uiVersion;var n=a.viewType;var p=a.isError;a=a.errorMessage;return p?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,uiVersion:k,viewType:n}):JSON.stringify({experienceType:b,issueType:c,sessionId:e,customerId:f,
externalCid:h,uiVersion:k,viewType:n})}
function Ema(){var a=z();return a.env!=="PROD"&&a.hc==="support_content_dev"&&a.pid==="10693991"}
function Hma(a,b){if(!b)return"";var c,e=a.Ma;a=a.Qa.Xc(b);return(c=e.parseFromString(jn(a),"text/html").body.textContent)!=null?c:""}
;function lw(a){a=a.Ra;var b,c=qv(mv(lv(kv(new jv,z().lang),(b=z().support_journey_id)!=null?b:""),z().visit_id),z().mendel_ids),e;Yu.call(this,c,c,{authUser:z().au,isDarkMode:z().dark,xk:(e=z().genie_iframe_origin)!=null?e:"https://support.google.com",jS:!0,Hh:function(h){switch(h.action){case "thumbUp":Ov({action:10,Ra:f.Ra});break;case "thumbDown":Ov({action:11,Ra:f.Ra});break;case "feedbackInitialized":f.oa.complete()}}});
var f=this;this.ya=this.Ar.bind(this);this.Fa=this.onError.bind(this);this.oa=new tma({timeout:3E3,Ar:this.ya,onError:this.Fa});this.ma="embedOptions";this.qa="genieUiMessageChannel";this.Ra=a}
t(lw,Yu);l=lw.prototype;l.aw=function(a){var b=this;return Ya(function(c){b.oa.reset();b.oa.load();Gq(20,"wizFeedbackButton",262);iw(b.Ra,1);b.ua.promise.then(function(){Gq(47,"wizFeedbackButton",262)});
return c.return(Yu.prototype.aw.call(b,a))})};
l.JC=function(){return"embed/genie"};
l.Jz=function(a){Yu.prototype.Jz.call(this,a);a.style.height="3rem";a.style.visibility="hidden"};
l.Ar=function(){Gq(15,"wizFeedbackButton",262);iw(this.Ra,2);this.o&&(this.o.style.visibility="visible")};
l.onError=function(){Gq(21,"wizFeedbackButton",262);iw(this.Ra,3)};function mw(a){a=a.Ra;A.call(this,"sc.discovery.genie.FeedbackButton");var b=this;this.va=new eq;this.ua=new eq;this.ya=Rp();this.o=this.ma=!1;this.Ra=a;this.Ra.onChange(1,function(){b.Ra.ua===3&&b.Ja()});
this.Ca=new lw({Ra:a})}
t(mw,A);mw.prototype.content=function(){var a=this;this.element("div","class",{root:!0,"boq-wiz":nw(this),rce:!nw(this)},function(){if(nw(a)){var b=a.mj("div",a.ya,"class","boq-wiz-container","");a.oa!==b&&(a.oa=b,a.Ca.initialize(a.oa))}else Lma(a)})};
function Lma(a){a.element("span","class","label","aria-live","polite",a.ah());a.element("div","class","buttons",function(){a.va.render({icon:"gm/thumb_up_alt",Mb:a.ma?0:"color-label",trigger:function(){a.ma=!a.ma;a.o=!1;a.Ja();Ov({action:10,Ra:a.Ra})},
ariaLabel:"Helpful",zd:"button"});a.ua.render({icon:"gm/thumb_down_alt",Mb:a.o?0:"color-label",trigger:function(){a.o=!a.o;a.ma=!1;a.Ja();Ov({action:11,Ra:a.Ra})},
ariaLabel:"Unhelpful",zd:"button"})})}
mw.prototype.ah=function(){return this.o?"Thanks for your feedback!":this.ma?"Thanks for your feedback! \ud83c\udf89":"Helpful?"};
function nw(a){return a.Ra.At&&a.Ra.ua!==3}
;function ow(a){var b=a.Qj;a=a.policyData;A.call(this,"sc.discovery.genie.v2.Card");var c=this;this.o=new Uq({borderRadius:"1rem",padding:"0.75rem 1rem",Hi:!1,backgroundColor:5,content:function(){Mma(c)}});
this.policyData=a;this.Qj=b;this.watch(this.Qj)}
t(ow,A);ow.prototype.content=function(){this.element("div","class","root",this.o)};
function Mma(a){a.element("div","class","card-root",function(){Nma(a,a.policyData.Uc());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=$g(a.policyData,5))&&a.element("div","class","sub-title",c)});
var b=a.element("div","class","content-items",function(){var c,e=((c=zg(a.policyData,qr,2))==null?void 0:Bg(c,pr,1,Zf()))||[];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)});
Oma(a.Qj,b.offsetHeight);a.Qj.Sj!==0&&(b.style.height=a.Qj.Sj+"px")});
a.element("div","class","context",function(){var b=yg(a.policyData,or,4);b&&a.element("div","class",{label:!0,review:b.getStatus()===1,closed:b.getStatus()===2},b.getText())})})}
function Nma(a,b){switch(b){case 4:b="gm/critical";break;case 5:b="gm/appeal_review";break;case 6:b="gm/appeal_closed";break;default:b=""}(b=jo()?b+"_dark":b)&&a.element("div","class","icon",new aq({icon:b,size:44}))}
;function pw(a){a=a.Sj;Wp.call(this);this.Sj=a}
t(pw,Wp);function Oma(a,b){var c=a.Sj!==0&&a.Sj0)a.element("div","class","card-list",new qw({OE:[].concat(Fa(Ag(a.genieData,rr,5)))}));else if(Pf(a.genieData,rr,
3)){var e;a.element("div","class","card",new ow({Qj:new pw({Sj:0}),policyData:(e=yg(a.genieData,rr,3))!=null?e:new rr}))}Pf(a.genieData,jr,4)&&(b=new Mv({actionData:zg(a.genieData,jr,4),actionType:0,Ak:!0,Rd:"expanded"}),a.element("div","class","action",new Xv({Jc:b,Ra:a.Ra})));Sma(a)})};
function Sma(a){a.element("div","class","footer",function(){a.element("div","class",{feedback:!0,"align-with-action":!a.isGenai},new mw({Ra:a.Ra}));a.isGenai&&a.element("div","class","disclaimer",new bw)})}
;function uw(a){this.Aa=qf(a)}
t(uw,di);function vw(a,b){return jg(a,3,b,qe)}
;uw.prototype.Ba=nk([0,Rj,-3]);function Tma(a){if(!(a&&a instanceof di))throw Error("Value is not proto message.");return Ic(a.serialize(),2)}
;function Uma(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 ww={ARROW_KEYS:{string:"arrow_keys",Xd:"Wxn7ub"},AUTOMATED:{string:"automated",Xd:"wjpLYc"},CLICK:{string:"click",Xd:"cOuCgd"},DRAGEND:{string:"dragend",Xd:"RlD3W"},DROP:{string:"drop",Xd:"DaY83b"},GENERIC_CLICK:{string:"generic_click",Xd:"szJgjc"},HOVER:{string:"hover",Xd:"ZmdkE"},IMPRESSION:{string:"impression",Xd:"xr6bB"},KEYBOARD_ENTER:{string:"keyboard_enter",Xd:"SYhH9d"},KEYPRESS:{string:"keypress",Xd:"Kr2w4b"},LONG_PRESS:{string:"long_press",Xd:"tfSNVb"},MOUSEOVER:{string:"mouseover",Xd:"FrfE3b"},
RIGHT_CLICK:{string:"rightclick",Xd:"CYQmze"},SCROLL:{string:"scroll",Xd:"XuHpsb"},SWIPE:{string:"swipe",Xd:"eteedb"},VIS:{string:"vis",Xd:"HkgBsf"}};function Vma(a){if(Wma.has(a))return Wma.get(a);throw Error("Unrecognized EventLabel "+a+".");}
function Xma(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].Xd);return b}
for(var Wma=Xma(ww),xw=new Map,Yma=x(Object.keys(ww)),yw=Yma.next();!yw.done;yw=Yma.next()){var Zma=yw.value;xw.set(ww[Zma].Xd,ww[Zma].string)}var $ma=Xma({TRACK:{string:"track",Xd:"u014N"},INDEX:{string:"index",Xd:"cQYSPc"},MUTABLE:{string:"mutable",Xd:"dYFj7e"},COMPONENT_ID:{string:"cid",Xd:"cOuyq"},TEST_CODE:{string:"tc",Xd:"DM6Eze"}});function zw(a,b){this.ya=a;this.o=null;this.qa=[];this.ma=void 0;this.va=this.ua=!1;this.tH=null;this.oa=[];this.Yv=b||!1;this.Pv=new Set}
l=zw.prototype;l.getID=function(){return this.ya};
function Aw(a,b){return b?a.Pv.has(a.Ru(b)):a.Pv.size!=0}
l.getIndex=function(){return this.o};
l.Sq=function(){return this.ua};
l.setAttribute=function(a){this.tH=a;return this};
l.getAttribute=function(){return this.tH};
function ana(a,b){a.oa.push(b)}
function Bw(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 kx(a){this.Aa=qf(a)}
t(kx,di);var Gna=[0,dk,ek,Vj,y];kx.prototype.Ba=nk(Gna);var Hna=[0,gk,[0,Gj,Qj,-2],[0,Gj]];var Ina=[0,Yj,-1,Rj,Kj,-1];var Jna=[0,Qj,y,-1];function lx(a){this.Aa=qf(a)}
t(lx,di);l=lx.prototype;l.getKey=function(){return $g(this,1)};
l.setKey=function(a){return th(this,1,a)};
l.getValue=function(){return $g(this,2)};
l.setValue=function(a){return th(this,2,a)};
l.Vb=function(){return yh(this,2)};var Kna=[0,y,-1];lx.prototype.Ba=nk(Kna);var Lna=[0,gk,-1];function mx(a){this.Aa=qf(a)}
t(mx,di);function nx(a){this.Aa=qf(a)}
t(nx,di);function ox(a){this.Aa=qf(a,4)}
t(ox,di);function px(a){this.Aa=qf(a,36)}
t(px,di);px.prototype.getTag=function(){return $g(this,2)};
px.prototype.setTag=function(a){return th(this,2,a)};
px.prototype.Ig=function(a){return Eg(this,3,a)};
px.prototype.setValue=function(a,b){return Xf(this,3,lx,a,b)};
function qx(a,b){return th(a,8,b)}
function rx(a,b){th(a,24,b)}
;var Mna=[0,Zj,[0,jk,cl,jk,-1,[0,gk],jk],wba];var Nna=[0,12,Qj,10,Vj];mx.prototype.Ba=nk(Nna);var Ona=[0,1,Nna];nx.prototype.Ba=nk(Ona);var sx=[-4,{},Ona,gk,Mna];ox.prototype.Ba=nk(sx);var Pna=[-36,{},Hj,y,bk,Kna,dk,1,dk,Ina,y,Jna,Vj,Qj,Jj,y,-1,zba,Gna,Hj,dk,gk,Rj,Jj,-1,Lna,y,Vj,y,Sj,y,-1,Fj,1,Fj,sx,Vj,Hna];px.prototype.Ba=nk(Pna);function tx(a,b,c,e,f){this.o=f=f===void 0?Qna:f;this.ya=a===void 0?!0:a;this.ma=c===void 0?!1:c;this.Fa=b===void 0?!1:b;this.qa=e===void 0?!1:e;this.Ca=new Ena}
t(tx,Ow);tx.prototype.oa=function(a,b){for(var c=[],e=[],f=0;f=10&&b.height>=10?!0:!1}
function Rna(a,b,c){for(var e=[],f={},h=b.length-1;h>=0;f={We:void 0,Bl:void 0,Uz:void 0},h--){f.Bl=new Xw;f.Uz=[];f.We=Pw();Cg(f.Bl,Cw,1,f.We);var k=new Sw;Cg(k,Cw,1,f.We);Cg(f.Bl,Sw,9,k);if(k=su(window.location.href,"ved"))k=Ww(new Vw,k),Cg(f.Bl,Vw,4,k);b[h].forEach(function(n){return function(p,r){r.We=n.We;r.qa=n.We;var u=xx(this,r);p.length&&Iw(u,p);p=r.getElement();vx(p,c)?(r.oa=!1,r.hidden=!1):u.Cp(1);this.qa&&Aw(r.getTag(),"hover")&&r.o!==void 0&&(p.setAttribute("data-hveid",Number(r.o)),
Bg(n.Bl,Hw,2,Zf()).length===0&&$w(r)&&(p.setAttribute("decode-data-ved","1"),p.setAttribute("data-ved",$w(r)+"")));this.setTimestamp(u);Fg(n.Bl,2,Hw,u);n.Uz=n.Uz.concat(r.getTag().qa)}}(f),a);
a.o("Impression Event",f.Bl);k=new px;rx(k,f.Bl.serialize());jg(k,20,f.Uz,qe);e.push(k)}return e}
function Sna(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,E=[],la=new Xw,ma=[],sa=Pw();Cg(la,Cw,1,sa);Cg(la,Cw,3,u);var Aa=new Sw;Cg(Aa,Cw,1,u);Cg(la,Sw,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.fU);k&&(k=zx,!a.pF||Dx==0||a.measure&&Dx!=1||(k=(k+1)%2),Xna[k].push(h));return coa(a.window)}}
function doa(a,b){var c={};Dx=1;for(var e=0;e0&&b>1&&(a=b-Cx,a<500&&(Vna++,a>100&&Yna++,Zna1?b:0}
function coa(a){if(!Ax.has(a)){Ax.size||(Bx=new Xu);Ax.add(a);var b=Bx.resolve;a.requestAnimationFrame(function(c){Ax.clear();var e=Xna[zx];zx=(zx+1)%2;try{doa(e,c)}finally{Dx=0,e.length=0}b()})}return Bx.promise}
;function eoa(a,b){this.o=a;this.gA=b===void 0?!1:b}
function foa(a,b){return goa(a,b).filter(function(c){return Ex(this.o,c)!=null},a)}
function hoa(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 Zw=0;function joa(a,b){this.qa=a;this.o=b||!1;this.ma=void 0}
function Ex(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().Sq&&!c.getTag().Sq())&&(e=c&&c.getTag().Sq&&c.getTag().Sq())&&(e=b.getAttribute("jslog"),e=!(!e||Kb(e)||e!=c.getTag().getAttribute()));if(e)return c;e=b.getAttribute("jslog");if(!e)return null;e=koa(a,e);if(!e||(e.ma||a.ma)&&e.ma!=a.ma)return null;a=new Yw(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=una(c);f=zg(h,Cw,13)}catch(k){f=null}}f&&(a.We=f,a.qa=f)}return b.LSWHIf=a}
function koa(a,b){if(Kb(b))return null;var c=b.split(";"),e=Number(c[0].trim());if(isNaN(e))return null;e=a.qa.IB(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(Kb(k)||Kb(h))return null;switch(k){case Fx(a,"track"):k=h.split(",");for(h=0;h=0;--c)a.push(typeof b[c],b[c]);return a.join("\v")}
;function Kx(a){lu.call(this);this.ma=a||Wo();if(this.qa=this.oQ())this.oa=fu(this.ma.getDocument(),this.qa,qb(this.sM,this))}
wb(Kx,lu);l=Kx.prototype;l.oQ=Jx(function(){var a=this.isSupported(),b=this.HC()!="hidden";if(a){var c;b?c=(((Ac?"Webkit":zc?"Moz":null)||"")+"visibilitychange").toLowerCase():c="visibilitychange";a=c}else a=null;return a});
l.HC=Jx(function(){return noa("hidden",this.ma.getDocument())});
l.wQ=Jx(function(){return noa("visibilityState",this.ma.getDocument())});
l.isSupported=function(){return!!this.HC()};
l.isHidden=function(){return!!this.ma.getDocument()[this.HC()]};
l.sM=function(){var a=this.isSupported()?this.ma.getDocument()[this.wQ()]:null;a=new ooa(this.isHidden(),a);this.dispatchEvent(a)};
l.Ke=function(){ju(this.oa);Kx.Ph.Ke.call(this)};function Lx(a,b,c,e,f,h,k){var n=e===void 0?{}:e;var p=n.bq===void 0?void 0:n.bq;e=n.gI===void 0?!1:n.gI;n=n.gA===void 0?!1:n.gA;Ix.call(this);var r=this;this.Sa=a;this.transport=c;this.Ma=this.o=this.yc=this.Nb=void 0;this.Qa=[];this.mb=[];this.Ha=e;this.Fa=b||new ax;this.Ca=new joa(this.Fa,this.Ha);this.Va={click:3};this.ub={click:this.Ru("generic_click")};this.Ka=new Kx;this.Fc=(new aoa(this)).measure(p?function(){return p().then(r.eJ.bind(r))}:this.eJ).pF().build();
this.qb=new Gx(this.Fc,500,this);this.Pa=k||new eoa(this.Ca,n);this.Sa instanceof Ow&&(this.oa=this.Sa);this.ua=f;this.Bb=h}
t(Lx,Ix);function Mx(a,b,c){a.Va[b]=c;a.ub[b]=a.Ru(b)}
function roa(a,b,c){var e=a.Va[b];if(e&&(b=soa(a,b,c)))if(a.oa)for(e=a.oa.ua(b,new rna(e)),b=0;b=10&&k.height>=10?!0:!1;k&&(h=Ex(this.Ca,h))&&Aw(h.getTag(),"impression")&&c.push(h)}for(b=0;b "});
c+=b.length?"END]":"EMPTY]"}
function zoa(a){if(a.Bb){var b=a.o;a=a.Bb();b=Xea(a||b.o.defaultView||window)}else b=Xea(a.o.o.defaultView||window);return b}
l.Ua=function(){if(this.o){var a=this.o.getDocument();this.unlisten(a,"scroll",this.Mg,!0);this.unlisten(a,"resize",this.Mg,!0);this.unlisten(a,"load",this.Mg,!1);this.unlisten(a,"DOMContentLoaded",this.Mg,!1)}this.unlisten(this.Ka,"visibilitychange",this.Mg,!1);this.qb.dispose()};function Aoa(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 Boa(){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 E=k,la=0;la<64;la+=4)E[la/4]=w[la]<<24|w[la+1]<<16|w[la+2]<<8|w[la+3];for(la=16;la<80;la++)w=E[la-3]^E[la-8]^E[la-14]^E[la-16],E[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+E[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,E){if(typeof w==="string"){w=unescape(encodeURIComponent(w));for(var la=[],ma=0,sa=w.length;ma=56;la--)h[la]=E&255,E>>>=8;b(h);for(la=E=0;la<5;la++)for(var ma=24;ma>=0;ma-=8)w[E++]=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(),E="",la=0;la=0;b--)this.remove(a[b])};
function Ox(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.vt||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.Bb>e&&this.Va0&&(c.Va=Date.now(),c.Bb=c.Va+la),ma=gy.ctor?gy.o(ma,gy.ctor,gy.fieldIndex,!0):gy.o(ma,gy.fieldIndex,null,!0),ma=ma===null?void 0:ma)&&(ma=Wg(ma,1,-1),ma!==-1&&(c.ua=new dy(ma<1?1:ma),c.ma.setInterval(c.ua.getValue())))}a&&a();c.Fa=0},w=function(la,ma){var sa=Bg(f,px,3,Zf());
var Aa=mh(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.qb=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.vt||c.ma.enabled||c.ma.start());b&&b("net-send-failed",la);++c.Fa},E=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.ZO=2;E()},function(){E()}):E()}}}};
l.oC=function(){this.Ca||(opa(this.qa,!0),this.Ia&&(ay(this.qa,3),Bpa(this)),this.Ha&&(ay(this.qa,2),Cpa(this)),this.flush(),opa(this.qa,!1))};
function Bpa(a){Dpa(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 Cpa(a){Dpa(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 Dpa(a,b,c,e){if(a.o.length!==0){var f=new URL(Apa(a));f.searchParams.delete("format");var h=a.Ao();h&&f.searchParams.set("auth",h);f.searchParams.set("authuser",a.Nm||"0");for(h=0;h>>0);a={requestId:c,apiUrl:Npa(a,b,c),onLoad:b.onLoad,onError:b.onError||function(){},
jE:b.jE||function(){},
pS:b.pS||function(){},
rS:b.rS||function(){},
pB:b.pB,XP: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 Npa(a,b,c){var e=Opa(a)+"/apis/render?",f=a.Fa,h=a.Qa,k=b.helpcenter,n=b.originHelpcenter,p=a.Ca,r=a.Ha,u=a.mb,w=a.ya,E=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:E,page_type:la,id:ma,url:sa,components:Aa,exclude_components:Ba,extra_params:c,mendel_ids:a.Ma,
service_configuration:a.Va,scdeb:a.Ia,instant_preview:b.instantPreview,symptom:b.symptom,scenario_id:b.testScenarioId,sjid:b.Tm,user_ip:a.ub,js_fingerprint:a.Ka};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 Mpa(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(qda.get(e.page_metadata.page_type)!=b.XP){b.onError({type:3});return}}e.page_metadata&&b.jE(e.page_metadata);b.injectInto?Ppa(a,b,e.html):b.pB(function(f){f.nodeName=="IFRAME"?(b.window=f.contentWindow,b.injectInto=b.window.document.body):
(b.window=window,b.injectInto=f);Ppa(a,b,e.html)})}else b.onError({type:2});
else b.onError({type:5})}
function Ppa(a,b,c){b.window.sc_scope=b.injectInto;b.onLoad&&(b.window[b.requestId]=function(e){b.onLoad(e.getChild(b.requestId))});
kn(b.injectInto,Bp(c));c=Array.from(b.injectInto.getElementsByTagName("script"));a.qa(b,c)}
qy.prototype.qa=function(a,b){for(;b.length>0;){var c=b.shift();if(c.src){b=this.qa.bind(this,a,b);Qpa(a.injectInto,c.src,b);break}try{var e=a.window,f=nfa(c.textContent),h=Gda(f),k=e.eval(h);k===h&&(k=e.eval(h.toString()))}catch(n){}}};
function Jpa(a,b){!a.o||a.va?b():(window.sc_sso_callback=function(){a.va=!0},Qpa(document.body,Opa(a)+"/s/sso",b))}
function Qpa(a,b,c){var e=Zo("SCRIPT");tn(e,Dp(b));e.addEventListener("load",c);e.addEventListener("error",c);a.appendChild(e)}
function Rpa(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(!Hpa.some(function(c){return b.hostname.endsWith(c)}))throw Error("Invalid host value.");
if(!Gpa.some(function(c){return b.hostname.startsWith(c)}))throw Error("Invalid host value.");
return b.origin}
function Opa(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 Rpa(a)}
;var Spa;function ry(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(Spa),Spa=setTimeout(function(){e.textContent=""},c))}
;var Tpa=[0,1,y,bk,Il,Wj,Zj,Wj,Zj];var Upa=[0,Zj,-1,Wj];var Vpa=[0,Zj,Wj,Zj];function sy(a){this.Aa=qf(a)}
t(sy,di);var Wpa=pk(sy),ty=[1,2,3,6,7];var Xpa=[0,ty,ck,Vpa,ck,Upa,ck,Tpa,2,ck,[0],ck,[0]];sy.prototype.Ba=nk(Xpa);var Ypa=[0,y,-1];function uy(a){this.Aa=qf(a)}
t(uy,di);uy.prototype.getValue=function(){return $g(this,1)};
uy.prototype.setValue=function(a){return th(this,1,a)};
uy.prototype.Vb=function(){return yh(this,1)};function vy(a){this.Aa=qf(a)}
t(vy,di);vy.prototype.getType=function(){return ah(this,1,0)};
vy.prototype.setType=function(a){return vh(this,1,a)};
vy.prototype.getId=function(){return $g(this,2)};
vy.prototype.setId=function(a){return th(this,2,a)};function wy(a){this.Aa=qf(a)}
t(wy,di);wy.prototype.getUrl=function(){return $g(this,1)};
wy.prototype.setUrl=function(a){return th(this,1,a)};
wy.prototype.getTitle=function(){return $g(this,2)};
wy.prototype.setTitle=function(a){return th(this,2,a)};function xy(a){this.Aa=qf(a)}
t(xy,di);function Zpa(a){var b=new xy;return vh(b,1,a)}
;function yy(a){this.Aa=qf(a)}
t(yy,di);function zy(a){this.Aa=qf(a)}
t(zy,di);var Ay=[2,3,4,5,6,7,8,9];function By(a){this.Aa=qf(a)}
t(By,di);function Cy(a,b){return vh(a,1,b)}
function Dy(a,b){return th(a,2,b)}
;function Ey(a){this.Aa=qf(a)}
t(Ey,di);function $pa(a){var b=(new uy).setValue(co());Cg(a,uy,9,b)}
Ey.prototype.Pf=function(){return $g(this,1)};
function Fy(a,b){return th(a,1,b)}
Ey.prototype.getTimestamp=function(){return zg(this,Zk,2)};
Ey.prototype.setTimestamp=function(a){return Cg(this,Zk,2,a)};
function Gy(a,b){return th(a,3,b)}
function Hy(a,b){return vh(a,5,b)}
function Iy(a,b){return Cg(a,zy,6,b)}
function Jy(a,b){return Cg(a,wy,7,b)}
function Ky(a,b){return Cg(a,By,8,b)}
;function Ly(a){this.Aa=qf(a)}
t(Ly,di);l=Ly.prototype;l.getId=function(){return Wg(this,1)};
l.setId=function(a){return rh(this,1,a)};
l.Ol=oa(11);l.getQuery=function(){return $g(this,9)};
l.setQuery=function(a){return th(this,9,a)};
l.getUrl=function(){return $g(this,10)};
l.setUrl=function(a){return th(this,10,a)};
l.Ue=function(){return Wg(this,45)};var aqa=[0,y];uy.prototype.Ba=nk(aqa);var bqa=[0,gk,y];vy.prototype.Ba=nk(bqa);var cqa=[0,y,-1,gk];wy.prototype.Ba=nk(cqa);var dqa=[0,gk,-2];var eqa=[0,gk,y,-1];xy.prototype.Ba=nk(eqa);var fqa=[0,gk,y,gk];var gqa=[0,y];var hqa=[0,y];var iqa=[0,gk];var jqa=[0,gk];var kqa=[0,Qj];yy.prototype.Ba=nk(kqa);var lqa=[0,Ay,gk,ck,kqa,ck,eqa,ck,iqa,ck,dqa,ck,fqa,ck,hqa,ck,jqa,ck,gqa,Vj,-1];zy.prototype.Ba=nk(lqa);var mqa=[0,gk,y];By.prototype.Ba=nk(mqa);var My=[0,y,cl,y,bqa,gk,lqa,cqa,mqa,aqa];Ey.prototype.Ba=nk(My);Ly.prototype.Ba=nk([0,Qj,y,-8,Qj,Vj,y,Jj,y,Qj,-1,y,Jj,-1,Qj,y,Qj,Vj,gk,-4,Qj,y,-2,Qj,-1,Vj,Jj,Qj,gk,1,bk,Ypa,y,My,y,Qj,y,-1]);function Ny(a,b){this.qa=a;this.ma=a.parentNode;this.o=b;this.o.counter&&nqa(this,[{key:this.o.counter,value:((this.o.count||0)+1).toString()}]);this.qa.addEventListener("click",this.oa.bind(this))}
Ny.prototype.oa=function(){this.o.id&&nqa(this,[{key:this.o.id,value:(new Date).getTime().toString()}]);this.ma.parentNode.removeChild(this.ma)};
function nqa(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 Ny(a,b)};function Oy(a){this.Aa=qf(a)}
t(Oy,di);Oy.prototype.getContentType=function(){return Ug(this,1)};
Oy.prototype.setContentType=function(a){return vh(this,1,a)};
Oy.prototype.getId=function(a){return eh(this,2,a)};
Oy.prototype.setId=function(a,b){return lg(this,2,Te,a,b,Ve)};function Py(a){this.Aa=qf(a)}
t(Py,di);Py.prototype.getStyle=function(){return ah(this,1,0)};function Qy(a){this.Aa=qf(a)}
t(Qy,di);l=Qy.prototype;l.DC=function(){return ah(this,1,0)};
l.getType=function(){return ah(this,2,0)};
l.setType=function(a){return vh(this,2,a)};
l.getId=function(){return Tg(this,4)};
l.setId=function(a){return th(this,4,a)};
l.JF=function(a){rh(this,5,a)};
l.Op=function(a){rh(this,6,a)};
var oqa=ok(Qy);function Ry(a){this.Aa=qf(a)}
t(Ry,di);l=Ry.prototype;l.getType=function(){return ah(this,1,0)};
l.setType=function(a){return vh(this,1,a)};
l.getId=function(){return Tg(this,3)};
l.setId=function(a){return th(this,3,a)};
l.JF=function(a){rh(this,4,a)};
l.Op=function(a){rh(this,5,a)};
var pqa=ok(Ry);function Sy(a){this.Aa=qf(a)}
t(Sy,di);Sy.prototype.getType=function(){return ah(this,3,1)};
Sy.prototype.setType=function(a){return vh(this,3,a)};function Ty(a){this.Aa=qf(a)}
t(Ty,di);l=Ty.prototype;l.getType=function(){return ah(this,1,0)};
l.setType=function(a){return vh(this,1,a)};
l.getId=function(){return Tg(this,2)};
l.setId=function(a){return th(this,2,a)};
l.JF=function(a){rh(this,3,a)};
l.Op=function(a){rh(this,4,a)};
var qqa=ok(Ty);function Uy(a){this.Aa=qf(a)}
t(Uy,di);function Vy(a){this.Aa=qf(a)}
t(Vy,di);function Wy(a){this.Aa=qf(a)}
t(Wy,di);Wy.prototype.Bh=function(){return Sg(this,2)};
Wy.prototype.Wd=function(a){return rh(this,2,a)};function Xy(a){this.Aa=qf(a)}
t(Xy,di);Xy.prototype.getTop=function(){return Sg(this,1)};
Xy.prototype.setTop=function(a){return rh(this,1,a)};function Yy(a){this.Aa=qf(a)}
t(Yy,di);Yy.prototype.getType=function(){return ah(this,1,0)};
Yy.prototype.setType=function(a){return vh(this,1,a)};
Yy.prototype.getTimestamp=function(){return Ne(Kf(this,9))};
Yy.prototype.setTimestamp=function(a){return sh(this,9,a)};function Zy(a){this.Aa=qf(a)}
t(Zy,di);l=Zy.prototype;l.getErrorCode=function(a){var b=ag(this,8,se,3,void 0,!0);Jd(b,a);return b[a]};
l.getProjectId=function(){return Pe(Kf(this,10))};
l.setProjectId=function(a){return Nf(this,10,Oe(a))};
l.getPageType=function(){return Ug(this,19)};
l.Bh=function(){return Sg(this,49)};
l.Wd=function(a){return rh(this,49,a)};
l.setSupportJourneyId=function(a){return th(this,59,a)};
l.setHost=function(a){return th(this,63,a)};function $y(a){this.Aa=qf(a)}
t($y,di);$y.prototype.setHost=function(a){return th(this,2,a)};
$y.prototype.Ue=function(){return Zg(this,4)};
var rqa=pk($y);var sqa=[0,Jj,y,Jj,-1,Qj,-1];var tqa=[0,[0,rs,dr,[0,y]],[0,bk,yr,bk,[0,y,-1],bk,[0,y],bk,[0,jk,bk,yr,y,sqa,Zj],sqa],fr];var az=[0,gk,Yj];Oy.prototype.Ba=nk(az);var uqa=[0,Vj,gk,-1,Qj,gk,-1,Vj];var vqa=[0,az,Yj,bk,uqa,Rj,Qj,Pj,gk,-2];var wqa=[0,y,-1];var bz=[0,Jj,bk,wqa];var xqa=[0,y,Vj,y];var yqa=[0,gk,y,gk,-1];var zqa=[0,Qj,-2];var Aqa=[0,y,-5,Qj,-1,Vj,gk,y,[0,Vj,Gj,y,gk]];var Bqa=[0,gk,y,[0,y,-2,Qj,Vj],y,[0,y,Qj,-1,Vj,-1],[0,gk,Qj,-2,gk,Jj],[0,Rj,y],[0,Qj,-2],[0,y,gk,-4,2,gk]];var Cqa=[0,gk];Py.prototype.Ba=nk(Cqa);var Dqa=[0,gk,-2,y,Qj,-1,Cqa];Qy.prototype.Ba=nk(Dqa);var Eqa=[0,gk,-1,y,Qj,-1];Ry.prototype.Ba=nk(Eqa);var Fqa=[0,Qj,-1,gk,Qj,-1];Sy.prototype.Ba=nk(Fqa);var Gqa=[0,gk,y,Qj,-1];Ty.prototype.Ba=nk(Gqa);var Hqa=[0,Qj,1,Qj];Uy.prototype.Ba=nk(Hqa);var Iqa=[0,y,-1];Vy.prototype.Ba=nk(Iqa);var Jqa=[0,y,Qj,gk,hk,Iqa];Wy.prototype.Ba=nk(Jqa);var Kqa=[0,Qj,y];Xy.prototype.Ba=nk(Kqa);var Lqa=[0,gk,Jqa,Hqa,Fqa,Dqa,bk,Gqa,bk,Eqa,Kqa,Jj];Yy.prototype.Ba=nk(Lqa);var cz=[0,y,-1,bk,az,bk,Bqa,bk,uqa,y,-1,Rj,Qj,Pj,y,-1,bk,Hm,gk,Qj,bk,yqa,gk,-2,Rj,-1,xqa,1,y,Qj,-1,Yj,Qj,-1,Jj,Qj,gk,bk,Lqa,y,gk,Qj,mda,Vj,Jq,vqa,y,bk,[0,gk,Jj,-1,Vj],gk,Aqa,gk,-2,[0,y,-1,gk,Qj,-1,gk],Qj,gk,zqa,gk,-3,Rj,bz,Vj,y,tqa,y,-2];Zy.prototype.Ba=nk(cz);$y.prototype.Ba=nk([0,cz,y,-1,Pj]);function dz(a){this.Aa=qf(a)}
t(dz,di);dz.prototype.kb=function(){return Ne(Kf(this,4))};dz.prototype.Ba=nk([0,gk,Jj,Vj,Jj]);function ez(a){this.Aa=qf(a)}
t(ez,di);ez.prototype.Jo=oa(13);var fz=[0,y,Qj];ez.prototype.Ba=nk(fz);function gz(a){this.Aa=qf(a)}
t(gz,di);gz.prototype.Pf=function(){return $g(this,1)};var hz=[0,y,Yj];gz.prototype.Ba=nk(hz);function iz(a){this.Aa=qf(a)}
t(iz,di);iz.prototype.getFrdIdentifier=function(){return $g(this,1)};var jz=[0,y,-1,fz];iz.prototype.Ba=nk(jz);function kz(a){this.Aa=qf(a)}
t(kz,di);l=kz.prototype;l.getUrl=function(){return $g(this,1)};
l.setUrl=function(a){return th(this,1,a)};
l.getTitle=function(){return $g(this,2)};
l.setTitle=function(a){return th(this,2,a)};
l.ke=function(){return $g(this,3)};var lz=[0,y,-2,fz,gk];kz.prototype.Ba=nk(lz);var mz=[0,y,-2,Jj];function nz(a){this.Aa=qf(a)}
t(nz,di);nz.prototype.setSupportJourneyId=function(a){return th(this,1,a)};
nz.prototype.getUrl=function(){return $g(this,2)};
nz.prototype.setUrl=function(a){return th(this,2,a)};
nz.prototype.getPageType=function(){return ah(this,4,0)};var Mqa=[0,y,-2,gk,-1,y,-1];nz.prototype.Ba=nk(Mqa);function oz(a){this.Aa=qf(a)}
t(oz,di);oz.prototype.getTitle=function(){return $g(this,2)};
oz.prototype.setTitle=function(a){return th(this,2,a)};var Nqa=[0,1,y,-2];oz.prototype.Ba=nk(Nqa);var Oqa=[0,1,y];function pz(a){this.Aa=qf(a)}
t(pz,di);var Pqa=[0,lz,hz];pz.prototype.Ba=nk(Pqa);function qz(a){this.Aa=qf(a)}
t(qz,di);var Qqa=[0,bk,lz,hz];qz.prototype.Ba=nk(Qqa);var Rqa=[0,Jj,y,-1,jz,y,-1];var Sqa=[0,mz,y,-1];var Tqa=[0,mz,gk];function rz(a){this.Aa=qf(a)}
t(rz,di);rz.prototype.Wb=function(){return zg(this,iz,1)};
rz.prototype.Rc=function(a){return Cg(this,iz,1,a)};var Uqa=[0,jz,hz];rz.prototype.Ba=nk(Uqa);function sz(a){this.Aa=qf(a)}
t(sz,di);var tz=[2,3,5,6,7,8,9,10];sz.prototype.Ba=nk([0,tz,Mqa,ck,Nqa,ck,Oqa,gk,ck,Uqa,ck,Pqa,ck,Qqa,ck,Tqa,ck,Sqa,ck,Rqa]);function uz(a){this.Aa=qf(a)}
t(uz,di);uz.prototype.Ba=nk([0]);function vz(a,b){var c=c===void 0?ar():c;if(wz()){var e=xz();a=Vqa(a,b);e=Dg(e,2,tz,a);yz(e,c)}}
function zz(a,b,c){var e=e===void 0?ar():e;if(wz()){var f=new pz;b=Az(a,b,c);f=Cg(f,kz,1,b);a=Bz(a.Rb());a=Cg(f,gz,2,a);f=xz();a=Dg(f,6,tz,a);yz(a,e)}}
function Cz(a,b,c,e){var f=f===void 0?ar():f;if(wz()){var h=new qz;e=Bz(e);h=Cg(h,gz,2,e);b=x(b);for(var k=b.next();!k.done;k=b.next())e=h,k=Az(k.value,0,2),Fg(e,1,kz,k);a=x(a);for(e=a.next();!e.done;e=a.next())b=h,e=Az(e.value,0,1),Fg(b,1,kz,e);c=x(c);for(b=c.next();!b.done;b=c.next())a=h,b=Az(b.value,0,9),Fg(a,1,kz,b);c=xz();h=Dg(c,7,tz,h);yz(h,f)}}
function Wqa(a,b,c){a=a===void 0?"":a;var e=e===void 0?ar():e;wz()&&(a=(new rz).Rc(Xqa(a,b)),c=Bz(c),c=Cg(a,gz,2,c),a=xz(),c=Dg(a,5,tz,c),yz(c,e))}
function Xqa(a,b){a=a===void 0?"":a;for(var c=new iz,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=th(c,2,h.text),a=th(a,1,h.id),e=Dz((b=h.reporting_id)!=null?b:"",f+1),Cg(a,ez,3,e),c}c=th(c,1,"other");c=th(c,2,"Other");b=Dz("",b.length+1);return Cg(c,ez,3,b)}
function Az(a,b,c){var e=(new kz).setUrl(a.getUrl()).setTitle(a.getTitle());var f=a.ke();e=th(e,3,f);a=Dz(Ez(a),b);a=Cg(e,ez,4,a);return vh(a,5,c)}
function Bz(a){var b=new gz;a=th(b,1,a);return jg(a,2,[],Te)}
function Dz(a,b){var c=new ez;a=th(c,1,a);return rh(a,2,b)}
function wz(){return Ao("SupportJourneyFeature__enable_journey_publish")==="true"&&z().rs!==26}
function Yqa(){var a=z(),b;var c=new nz;c=th(c,3,a.hc);c=th(c,6,a.lang);c=vh(c,4,a.pt);var e=(b=a.vid)==null?void 0:b.toString();b=th(c,7,e).setSupportJourneyId(a.support_journey_id);return vh(b,5,a.rt).setUrl(window.location.href)}
function yz(a,b){try{b.post({endpoint:"logjourney",queryParams:{v:"1"},request:a,response:uz})}catch(c){if(z()&&z().env!=="PROD")throw c;}}
function Vqa(a,b){var c=z(),e;b=(new oz).setTitle(b||c.title||c.html_title);a=th(b,3,a||c.pid);c=(e=mo("refererViewId"))==null?void 0:e.toString();return th(a,4,c)}
function xz(){var a=z();var b=new sz;var c=Yqa();b=Cg(b,nz,1,c);return vh(b,4,a.rs)}
;function Fz(a){this.Aa=qf(a)}
t(Fz,di);Fz.prototype.Ba=nk([0,bk,My]);var Zqa=[0,gk,-1,y,-1];function Gz(a){this.Aa=qf(a)}
t(Gz,di);Gz.prototype.getStatus=function(){return ah(this,2,0)};
Gz.prototype.getErrorMessage=function(){return $g(this,3)};
Gz.prototype.setErrorMessage=function(a){return th(this,3,a)};var $qa=[0,1,gk,y,Zqa];Gz.prototype.Ba=nk($qa);function Hz(a){this.Aa=qf(a)}
t(Hz,di);Hz.prototype.Zr=oa(14);Hz.prototype.Ba=nk([0,1,bk,$qa]);var ara=[0,y,Vj];function Iz(a){this.Aa=qf(a)}
t(Iz,di);Iz.prototype.Ba=nk([0,My,2,ara]);function Jz(a){a=a===void 0?{}:a;this.Lk=new (a.tT===void 0?Xq:a.tT)({serverUrl:z().mld+"/v1",serviceName:"MoltronLoggingService"})}
function Kz(a,b,c,e){e=e===void 0?{}:e;var f=e.kP;var h=e.UO;var k,n,p;Ya(function(r){if(!b||!c)return r.return();k=new Ey;Fy(k,b);k.setTimestamp(al());Gy(k,c);Hy(k,3);if(f||h){n=new zy;if(f){var u=Zpa(1);p=th(u,2,f);Dg(n,3,Ay,p)}h&&ph(n,10,!0);Iy(k,n)}return r.yield(Lz(a,k),0)})}
function Mz(a,b,c,e){var f=(e===void 0?{vJ:!1}:e).vJ;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 Ey,Fy(r,b),r.setTimestamp(al()),Gy(r,p),Hy(r,1),f&&(u=new zy,vh(u,1,3),Iy(r,u)),$pa(r),h.push(r);return w.yield(bra(a,h),0)})}
function cra(a,b){var c,e;Ya(function(f){if(!b)return f.return();c=new Ey;Fy(c,b);c.setTimestamp(al());e=new vy;e.setType(3);e.setId("other");Cg(c,vy,4,e);Hy(c,3);return f.yield(Lz(a,c),0)})}
function Lz(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 Iz,$pa(b),Cg(e,Ey,1,b),f={query:{key:z().mkey}},c&&z().li&&(h="",(k=(z().ge||"").toLowerCase())&&(h=Px([{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.Lk.post("log-moltron-interaction",e,Gz,f),4);if(n.o!=2)return Ra(n,0);Sa(n);Oa(n)})}
function bra(a,b){var c;return Ya(function(e){if(e.o==1)return c=new Fz,Eg(c,1,b),Pa(e,2),e.yield(a.Lk.post("log-batch-moltron-interaction",c,Hz,{query:{key:z().mkey}}),4);if(e.o!=2)return Ra(e,0);Sa(e);Oa(e)})}
;var dra=new Map([["PROD",3],["STAGING",4],["DRAFT",2],["READY",4],["TEST",1],["DEV",1],["ALPHA",1],["GKMSSTAGING",4],["LOCAL",1]]),era=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]]),fra=new Map([[0,0],[1,1],[2,2],[3,2],[4,3]]),gra=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]]),Nz=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]]),hra=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]]),ira=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]]);function Oz(a){this.Aa=qf(a)}
t(Oz,di);Oz.prototype.getProjectId=function(){return Ne(Kf(this,1))};
Oz.prototype.setProjectId=function(a){return sh(this,1,a)};
Oz.prototype.getRole=function(){return Tg(this,3)};var jra=[0,Jj,gk,y,-1,Vj,-1];Oz.prototype.Ba=nk(jra);function Pz(a){this.Aa=qf(a)}
t(Pz,di);var kra=[0,gk,-1,Qj];Pz.prototype.Ba=nk(kra);function Qz(a){this.Aa=qf(a)}
t(Qz,di);Qz.prototype.Ue=function(){return ch(this,4)};var lra=[0,y,-2,Kj];Qz.prototype.Ba=nk(lra);var mra=[0,y,-12];function Rz(a){this.Aa=qf(a)}
t(Rz,di);Rz.prototype.getPageType=function(){return Ug(this,1)};
Rz.prototype.setHost=function(a){return th(this,13,a)};var nra=[0,gk,y,-1,gk,Vj,y,Qj,1,mra,gk,y,-2];Rz.prototype.Ba=nk(nra);function Sz(a){this.Aa=qf(a)}
t(Sz,di);var ora=[0,y,-1];Sz.prototype.Ba=nk(ora);function Tz(a){this.Aa=qf(a)}
t(Tz,di);Tz.prototype.Bh=function(){return Tg(this,2)};
Tz.prototype.Wd=function(a){return th(this,2,a)};
Tz.prototype.setSupportJourneyId=function(a){return th(this,6,a)};var pra=[0,y,-2,Vj,Jj,y,-1];Tz.prototype.Ba=nk(pra);var Uz=[0,y];var qra=[0];var Vz=[0,y,-1];var rra=[0];var sra=[0,Vz];var Wz=[0,y,-1,Jj,vba,[0,4,y,-2,Qj,y,-2],7,Vj];var Xz=[0,[4],Wz,bk,Wz,gk,ck,[0,bk,[0,Wz,Qj,Sj]]];var Yz=[0,[1,2],ck,rra,ck,qra];var tra=[0,bk,Yz];var ura=[0,[0,Uz,[0,y]],bk,[0,[0,[2,3,4,5,6,7,8,9,10],[0,y,cl,[0,[1,2],ck,[0,y],ck,[0,Uz],y,-1]],ck,[0,[2,3,4,5,6,7],[0,Vj,bk,[0,[2,3],gk,ck,Vz,ck,sra]],ck,rra,ck,qra,ck,Vz,ck,[0,Qj,-1,gk],ck,[0,bk,sra],ck,[0],[0,gk]],ck,[0,[1,2,3,4,5,6,7],ck,tra,ck,[0,[1,2],ck,Yz,ck,[0]],ck,[0,y,-1,[0,Yj,Qj,-1],gk],ck,[0],ck,[0,gk],ck,[0,bk,[0,y,Vj,y,-1],tra],ck,[0,bk,Yz]],ck,[0],ck,[0],ck,[0,[1],ck,[0,y,gk,Xz]],ck,[0,y,-1],ck,[0,[1,2,3],ck,[0,Xz],ck,[0,Uz],ck,[0,Vj]],ck,[0,[1],ck,Uz],ck,[0,[1,2,3],ck,[0,y,-1],ck,
[0,y],ck,[0,[2,3,4],y,ck,[0],ck,[0],ck,[0,Xz]]]]]];var vra=[0,[20],gk,-1,y,gk,y,14,ck,[0,2,y,-1,1,y,-2,Qj,-1,Vj]];function Zz(a){this.Aa=qf(a)}
t(Zz,di);l=Zz.prototype;l.getType=function(){return ah(this,1,0)};
l.setType=function(a){return vh(this,1,a)};
l.getIndex=function(){return Sg(this,4)};
l.FA=function(a){rh(this,4,a)};
l.Op=function(a){rh(this,5,a)};function $z(a){this.Aa=qf(a)}
t($z,di);l=$z.prototype;l.getType=function(){return ah(this,1,0)};
l.setType=function(a){return vh(this,1,a)};
l.getIndex=function(){return Sg(this,4)};
l.FA=function(a){rh(this,4,a)};
l.Op=function(a){rh(this,5,a)};function aA(a){this.Aa=qf(a)}
t(aA,di);l=aA.prototype;l.getType=function(){return ah(this,1,0)};
l.setType=function(a){return vh(this,1,a)};
l.getIndex=function(){return Sg(this,3)};
l.FA=function(a){rh(this,3,a)};
l.Op=function(a){rh(this,4,a)};function bA(a){this.Aa=qf(a)}
t(bA,di);bA.prototype.getType=function(){return ah(this,1,0)};
bA.prototype.setType=function(a){return vh(this,1,a)};function cA(a){this.Aa=qf(a)}
t(cA,di);function dA(a){this.Aa=qf(a)}
t(dA,di);function eA(a){this.Aa=qf(a)}
t(eA,di);eA.prototype.getType=function(){return ah(this,1,0)};
eA.prototype.setType=function(a){return vh(this,1,a)};
eA.prototype.getTimestamp=function(){return zg(this,Zk,8)};
eA.prototype.setTimestamp=function(a){return Cg(this,Zk,8,a)};
var fA=[2,3,4,5,6,7];function gA(a){this.Aa=qf(a)}
t(gA,di);function hA(a){this.Aa=qf(a)}
t(hA,di);function iA(a){this.Aa=qf(a,500)}
t(iA,di);function jA(a,b){return Fg(a,8,eA,b)}
var wra=pk(iA);var xra=[0,gk,-1,y,Qj,-1];Zz.prototype.Ba=nk(xra);var yra=[0,gk,-1,y,Qj,-1];$z.prototype.Ba=nk(yra);var zra=[0,gk,y,Qj,-1];aA.prototype.Ba=nk(zra);var Ara=[0,gk,Qj,-3];bA.prototype.Ba=nk(Ara);var Bra=[0,Qj,-1,2,Qj];cA.prototype.Ba=nk(Bra);var Cra=[0,Qj,y];dA.prototype.Ba=nk(Cra);var Dra=[0,fA,gk,ck,xra,ck,yra,ck,zra,ck,Ara,ck,Bra,ck,Cra,cl];eA.prototype.Ba=nk(Dra);var Era=[0,y,gk,-1];var Fra=[0,[2,3],[0,y,-1,gk,y,-1],ck,[0,gk,-1,Jj,Qj,y,-2,gk,-1,[0,gk,Qj]],ck,[0,y,2,cl,y,[0,1,y,gk],1,[0,[2,3,4,6,7,8,9,10],1,ck,[0,Qj],ck,[0,1,y,gk,y],ck,[0,1,gk],gk,ck,[0,gk,-2],ck,[0,gk,y,gk],ck,[0,y],ck,[0,gk],ck,[0,y],Vj],gk,-2,Era]];var Gra=[0,gk,-3,Qj];var Hra=[0,gk,y];var Ira=[0,Yj,-17];var Jra=[0,y,-1];gA.prototype.Ba=nk(Jra);var Kra=[0,bk,Hra,gk,-1,bk,Jra,bk,Gra,bk,Lm,Ira,tqa];hA.prototype.Ba=nk(Kra);var Lra=[0,gk,Fj];var kA=[0,bk,[0,gk,Fj,Qj,-1],Lra,bk,[0,gk,Fj,Vj],Fj,ik,y,ik,bk,Lra];var lA=[0,[2,3,4],kA,ck,[0,y,-1],ck,[0,y,-1],ck,[0,[1,2],ak,-1]];var mA=[0,gk,[0,y,-3,gk,-1],[0,gk,-3,y,1,y,-1,7,y],[0,Jj,y,-2],[0,y,-2,Yj,[0,cl,-1,Jj,Fj],y,gk,y],[0,gk,Vj,-1,y],[0,y,-1,1,gk,[0,y,-1,[0,y,-1],y],y],[0,[0,y]],[0],[0,y]];var nA=[0,y,gk,-2];var oA=[0,Yj];var Mra=[0,y,-2];var Nra=[0,[2],y,ck,Mra,kA];var pA=[0,[1,2,4],ck,[0,y,-3],ck,[0,gk,y],kA,ck,[0,y]];var Ora=[0,y,-1,kA,[0,y]];var Pra=[0,y,Mra];var Qra=[0,bk,pA,Qj,-1,oA];var Rra=[0,function(){return qA},
gk],qA=[0,kA,bk,[0,y,-1],bk,Pra,bk,pA,Qra,bk,function(){return qA},
bk,function(){return Rra},
y,-1,bk,Pra];var Sra=[0,[3,5,6,7,8,9],2,ck,Ora,1,ck,[0,gk,kA],ck,[0,y,kA,gk,1,bk,pA],ck,Qra,ck,[0,bk,Nra,bk,pA],ck,qA];var rA=[0,[3,4],cl,Qj,ck,[0,[1,2,3,4,5,6,7],ck,[0,y,-3],ck,[0,pA,gk],ck,[0,Nra,gk],ck,[0,Ora,gk,bk,[0,y,-1]],ck,[0,gk],ck,[0,qA,gk],ck,[0]],ck,[0,nA,Sra,oA]];var Tra=[0,[6,7,8,9],y,-3,bk,function(){return Tra},
ck,[0,y,-2],ck,[0,y,-3,bk,[0,y,-1]],ck,[0,y,-2],ck,[0,y,-1]];var Ura=[0,Tra,Fj,kA,Vj];var Vra=[0,y,Fj,kA];var Wra=[0,gk,Fj,kA];var Xra=[0,y,-2];var Yra=[0,[2,3],y,Nj,ak];var sA=[0,bk,[0,[1],ck,Yra],[0,y,-1],[0,[1],ck,Yra],[0,Qj,y,-1],2,[0,y]];var Zra=[0,y,Fj,sA];var tA=[0,kA,bk,function(){return tA},
gk,-2,Qj,y,-3,[0,[6,7,8],Vj,-4,Xj,-2,Qj,-2,Jj,cl,Vj,Fj,y,-2],[0,[0,Fj,-4],-2],y,[0,y,-1,Jj,-1,[0,y,-4],cm,cl]];var $ra=[0,bk,[0,[1,2],ck,[0,bk,[0,y,Gj,y],Lj],ck,[0,bk,[0,rba,y]]],[0,Gj]];var asa=[0,sA,bk,$ra,y];var uA=[0,y,-1];var vA=[0,Jj,Qj];var wA=[0,gk,fk,y];var bsa=[0,y,dk];var xA=[0,gk,y];var csa=[0,bk,[0,gk,fk,y,Vj,xA]];var yA=[-500,kra,jra,pra,nra,ora,lra,vra,bk,Dra,991,Kra,[0,bk,[0,Jj,-2],gk,-2,hk,gk,Jj,-1,Kj,Vj,gk],[0,1,Rj,[0,[0,gk,[0,hk,-2,Qj,-3,bk,[0,y,Yj,-2,y,gk],[0,gk],[0,y,Qj,-2],Qj,-2],y,-5,mA,y],[0,bk,tA,Qj,1,y,[0,bk,[0,gk,y],bk,[0,y,-1]],[0,Vj,-1,y],[0,bk,[0,Yj,gk]],nA,y],1,[0,[0,Lj,Vj,-2,y,Jj,-6,Vj,Jj,-1,y,-2,Jj,-5,Lj,Jj,-3,Vj,-13,y,-3],[0,y,-5,Vj,y,-6],[0,y,-5,Vj,-32,y,-11],1,[0,[1,2,3],Nj,-2],[0,y,-25],y]],[0,[0,gk,y,-1],gk,cm,[0,sA,y,mA],[0,bk,$ra,y],[0,cl]],[0,[0,gk,mA,y,-2,gk,y,-1,gk,y,[0,bk,[0,
y,-1,gk]],Vj,y],[0,Era,bk,[0,[3,4,5],kA,Vj,ck,Xra,ck,[0,y],ck,[0,y,Xra],Yj],Yj,y]],[0,nA,cl,y,[0,gk,y],gk,[0,[2,3,4,5,6,7,8,9],gk,ck,[0,Qj],ck,[0,gk,y,-1],ck,[0,gk],ck,[0,gk,-2],ck,[0,gk,y,gk],ck,[0,y],ck,[0,gk],ck,[0,y],Vj,-1]],[0,[0,[3,4],gk,mA,ck,[0,y],ck,[0,y,Yj,y]],[0,[2,3],nA,ck,[0,kA,gk,-1],ck,[0,Zra,bk,Zra]]],[0,gk,[0,mA,y,-2,gk,y],[0,bk,tA]],[0,[0,gk,[0,mA,y,-4],[0,1,[0,y],Yj],[0,1,[0,Qj]]],[0,nA,[0,7,bk,[0,[0,y,gk,y,Vj],uA],bk,[0,[0,y,-2,gk,y,Vj],uA],bk,[0,[0,y,-1,gk,y,Vj],uA],bk,[0,[0,
y,-2,gk,y],uA],bk,[0,[0,[0,ik],gk,Vj],uA],bk,[0,[0,Yj,gk],uA]],[0,bk,[0,y,1,gk,Qj,bk,[0,1,y,1,y,-1],2,y,-3]]],[0,bk,[0,y,gk]]],[0,[0,y,Qj,mA,bk,rA,gk,bk,rA],[0,nA,Sra,gk,oA,bk,[0,y,-1,bk,[0,y,dk,-1]]]],[0,y,ik],[0,[0,mA,bk,rA,-1,y,-1,[0,ik,Qj,Vj],y,-2],[0,y,bk,[0,[1,2,3],ck,Ura,ck,Vra,ck,Wra],nA,[0,bk,Ura],[0,bk,Vra],[0,Vj,bk,Wra]]],[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],gk,ck,[0,y,-2],ck,[0,y,-2],ck,[0,Jj,1,gk],ck,[0,y],ck,[0,y,-1,gk],ck,[0,y],ck,[0,y],ck,[0,y],ck,[0,
y,gk],ck,[0,y],ck,[0,y],ck,[0],ck,[0,y,-1],ck,[0,y],ck,[0,y,-1],ck,[0,y,-1],ck,[0],ck,[0,gk],ck,[0,y],ck,[0,y],ck,[0,y,Jj],ck,[0,y,bk,[0,y,-1]],y,wj,Aba,y],1,[0,Yj,y,-1],y,mA],[0,y,asa,bk,asa]],[0,[0,mA,y,Sj,y,Qj],[0,nA,bk,[0,Qj,Gj,kA]]],[0,[0,mA,[0,bk,[0,[1,2],ck,[0,y],ck,lA]],y],[0,nA,lA],bk,lA],[0,[0,gk,mA,[0,Jj,-2,y,-2,gk,y,-3],[0,y,cl]],[0,nA,[0,bk,[0,y,Fj,kA]],Vj,[0,y,Yj]]],[0,[0,mA,y,-1,gk,y,bk,[0,gk],Qj,y,-1],[0,nA,bk,[0,kA,Vj,y,Fj]]]],Fra,[0,[1],ck,[0,[0,[0,Mj,Tj],vA,1,[0,y],[0,y,[0,Fj,-7,
Vj,gk]],[0,y,-2,Vj],[0,[0,[0,y,-1,gk,y,-4],vA],[0,gk,y,hk,Qj],gk]],[0,[2,3],[4,5],y,ck,[0,[0,y,Yj,Vj]],ck,[0,[0,[2,3,4,5,6],vA,ck,[0,gk],ck,[0,[0,[0,Yj],y],[0,[0,[0,y,-1],[0,[0,y,-4],[0,bk,[0,y,-1]]]]]],ck,[0,Vj],ck,[0,[2,3,4,5],fk,ck,[0,wA],ck,[0,bk,wA],ck,[0,wA],ck,[0,y]],ck,[0]],bsa],ck,[0,bsa,[0,[0,Vj,y],[0,y,-2,hk],[0,[0,vA,-1],1,gk,hk],[0,Vj,-1],bk,[0,[4,5,6,7],fk,y,gk,ck,[0,csa,gk],ck,[0,csa],ck,[0,gk,fk,yba,y,-1,bk,[0,Sj,xA]],ck,[0,1,y,-1],Vj,y,bk,[0,[2],y,ck,[0,fk]],[0,y,xA]],1,hk,[0,y,-2]],
y,hk,y],ck,[0]],[0,gk,-1],[0,[1,2,3,4,5,6],ck,[0,gk],ck,[0],ck,[0,y,Qj,Vj,-1],ck,[0,Qj,hk,gk,-1],ck,[0],ck,[0]]]],[0,[5,6,7,8],y,Vj,gk,y,ck,[0,y,-1],ck,[0,y,-1],ck,[0,y,-1],ck,[0,Jj,-1]],[0,y,[0,gk,-1,[0,y],gk],[0,[1,2,3,4,5,6],ck,[0,Jj],ck,[0],ck,[0,Jj],ck,[0],ck,[0,[1,2],ck,[0,y],ck,[0,y],gk],ck,[0]],y,[0,y,-3],y,[0,y,gk],y,[0,gk,-1],Yj,y,Yj,1,y],ura];iA.prototype.Ba=nk(yA);function zA(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 E=a.hc;var la=a.ehc;var ma=a.rs;var sa=a.Pe;var Aa=a.webHistoryEnabled;var Ba=a.supportJourneyId;a=a.productEscalationsId;var Ga=new iA;c=Number(c);var Na=new Pz;Na=vh(Na,1,2);b=dra.get(b);b=vh(Na,2,b);c=Number.isFinite(c)?c:null;b=rh(b,3,c);Ga=Cg(Ga,Pz,1,b);b=new Tz;e=th(b,1,e);Aa=ph(e,4,Aa);f&&Aa.Wd(f.toString());Aa.setSupportJourneyId(Ba);f=Cg(Ga,
Tz,3,Aa);Ba=new Rz;h=era.get(h);h=vh(Ba,1,h);k=th(h,2,k);n=th(k,3,n);p=fra.get(p);p=vh(n,4,p);r=ph(p,5,r);u=th(r,6,u);u=vh(u,10,1);u=Cg(f,Rz,4,u);r=new Sz;w=th(r,1,w);w=Cg(u,Sz,5,w);u=new Qz;E=th(u,1,E);la=th(E,2,la);la=mg(la,4,ve,a,void 0,Le);la=Cg(w,Qz,6,la);a=new Oz;ma=ira.has(ma)?ira.get(ma):0;ma=vh(a,2,ma);ma=Cg(la,Oz,2,ma);la=new hA;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),E=a.next();!E.done;E=a.next())E=
E.value.split("::"),E.length===2&&(w=new gA,w=th(w,1,E[0]),E=th(w,2,E[1]),Fg(la,4,gA,E));return Cg(ma,hA,1E3,la)}
;function AA(a,b,c){Jz.call(this);this.o=a;this.dymTrackingId=b;this.sessionId=c;this.ma=new Map}
t(AA,Jz);function BA(a,b,c){c=c===void 0?!0:c;var e,f;Ya(function(h){e=Hy(Fy(CA(),b),1);c&&(f=Dy(Cy(new By,a.o?3:1),a.sessionId),Ky(e,f));return h.yield(Lz(a,e),0)})}
function DA(a,b,c,e,f){f=f===void 0?!0:f;Ya(function(h){return h.yield(a.Gw("reportSearchResultClick",a.lT,b,c,e,f),0)})}
l=AA.prototype;l.lT=function(a,b,c,e){e=e===void 0?!0:e;var f=this,h,k,n;return Ya(function(p){h=Hy(Gy(Fy(CA(),a),b),3);e&&(k=Dy(Cy(new By,f.o?4:2),f.sessionId),Ky(h,k));n=(new wy).setUrl(c);Jy(h,n);return p.yield(Lz(f,h),0)})};
l.AK=oa(15);l.Cz=function(a,b,c){var e=this;return Ya(function(f){return f.yield(e.Gw("reportSearchResultsFeatureClick",e.mT,a,b,c),0)})};
l.mT=function(a,b,c){var e=this,f;return Ya(function(h){f=dsa(e,a,b,4,c);return h.yield(Lz(e,f),0)})};
l.BK=oa(16);function esa(a,b,c){var e,f;return Ya(function(h){var k=new zy;var n=new yy;n=rh(n,1,c);e=Dg(k,2,Ay,n);f=Iy(Hy(Fy(CA(),b),4),e);return h.yield(Lz(a,f),0)})}
function dsa(a,b,c,e,f){b=Hy(Gy(Fy(CA(),b),c),3);f&&(f=(new wy).setUrl(f),Jy(b,f));a=Dy(Cy(new By,e),a.sessionId);Ky(b,a);return b}
function CA(){return(new Ey).setTimestamp(al())}
l.Gw=function(a,b){var c=$a.apply(2,arguments),e=this.bP.apply(this,[a].concat(Fa(c))),f=this.ma.get(e);f||(f=wea(b.bind.apply(b,[this].concat(Fa(c)))),this.ma.set(e,f));return f()};
l.bP=function(a){return a+"("+$a.apply(1,arguments).join(",")+")"};function EA(a){this.o=a;this.oa="";this.ma=[]}
EA.prototype.init=function(){fsa(this);gsa(this);!this.o.visit_id&&window.sc_visit_id&&(this.o.visit_id=window.sc_visit_id);if(!FA){var a=document.getElementsByTagName("body")[0],b=this.ua.bind(this);a.addEventListener("click",b);FA=!0;document.addEventListener("pjaxunload",function(){a.removeEventListener("click",b);FA=!1})}hsa();
isa(this);jsa();ksa();this.o.fragment&&(window.location.hash=this.o.fragment);!this.o.is_render_api&&this.o.esid&&(this.oa=uea(),window.setInterval(rea,5E3));lsa()};
function ksa(){function a(b,c){var e=Er(b,c);e&&window.requestAnimationFrame(function(){var f=document.querySelector('[data-videoid="'+e+'"]');if(f){var h=yo();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)})}
EA.prototype.Gb=function(){return this.o};
EA.prototype.qa=function(a){for(var b=0;b0&&(a.o.request_attributes=b)}
function isa(a){a.qa([function(b){(b=b.href)&&b[0]==="#"&&GA(ao(b))}]);
window.addEventListener("hashchange",function(){GA(ao());var b=ao();(b=HA(b))&&b.scrollIntoView()});
window.addEventListener("load",function(){var b=ao();GA(b);(b=HA(b))&&b.scrollIntoView()})}
function jsa(){var a=document.querySelector(".main-content");a&&a.addEventListener("focusin",function(b){if(b.target instanceof Element){var c=yo();c&&(b=b.target.getBoundingClientRect().top,c=Math.max(c-b,0),c>0&&window.scrollBy(0,-c))}})}
function fsa(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 HA(a){return document.getElementById(a)||document.getElementsByName(a)[0]}
function GA(a){if(a=HA(a)){var b=yo()||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 FA=!1,IA={};function msa(a){switch(a.tagName){case "BUTTON":case "INPUT":case "OPTION":case "SELECT":return!0}return!1}
window.sc_initPage=function(a){var b=new EA(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};
ub("hcfe.Page",EA);ub("hcfe.Page.setString",function(a,b){IA[a]=b});
ub("hcfe.Page.getString",function(a){return IA[a]});function nsa(){this.start=window.performance.now()}
nsa.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=Fs)==null||f.Lp(a)};
function JA(a,b,c,e){c=c===void 0?0:c;e=e===void 0?!0:e;var f=new dz;b=vh(f,1,b);a=Math.trunc(window.performance.now()-a.start);a=sh(b,2,a);e=ph(a,3,e);c!==0&&sh(e,4,c);eo({endpoint:"recordsla",httpMethod:"POST",params:{v:"1"},requestBody:e.serialize()})}
;function KA(a){this.Aa=qf(a)}
t(KA,di);KA.prototype.setHost=function(a){return th(this,3,a)};
KA.prototype.Ue=function(){return Zg(this,4)};KA.prototype.Ba=nk([0,yA,y,-1,Pj,-1,Sj]);var osa=new Map([["PROD",1],["STAGING",2],["DRAFT",3],["READY",4],["TEST",5],["DEV",6],["ALPHA",7],["GKMSSTAGING",8],["LOCAL",9]]),psa=new Set;function qsa(a){var b=this;this.Pe=a;this.mJ=!1;this.currentFormId=this.bK=this.uT=this.hU=0;this.RL=psa;this.transport=this.Uj(1046,860);this.RK=this.Uj(1324,1323);this.Db=new AA(!1,"","");Fs=this;rsa(this);window.sc_registerPageClickHandlers&&window.sc_registerPageClickHandlers([function(c){return void b.wd(c)}])}
l=qsa.prototype;l.Uj=function(a,b){var c=z(),e=vw(new uw,c.mendel_ids);a=my(new ly(c.env==="PROD"?b:a,String(c.au||"0")),e);c.auth_token?Epa(a,function(){return c.auth_token}):"about:blank"===location.href&&Epa(a,function(){return""});
a=a.build();a.Ia=a.Ma;a.Ha=!0;return a};
function rsa(a){var b=mo("StatsDeferredClearcut",!0);if(b){b=rqa(b);var c=zg(b,Zy,1);th(c,34,z().visit_id);c=Bg(c,Yy,33,Zf());if(c.length>0){a.transport.dispatch(b);a.transport.flush();try{Eo(document,"sc_statsEvent",{detail:c[0]})}catch(e){}}}if(b=mo("ScaledStatsDeferredClearcut",!0))b=wra(b),c=zg(b,Tz,3),th(c,1,z().visit_id),LA(a,b)}
l.DU=function(){this.fA();if(window.sc_refresh){var a=MA(this,1);var b=new Uy;b=rh(b,1,Number(this.Pe.cl));var c=Number(mo("refererViewId"));c>0&&rh(b,3,c);Cg(a,Uy,3,b);NA(this,a)}};
function OA(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=PA(e,{type:0}),h=f.type+"-"+f.id+"-"+f.index,k;if(k=!a.RL.has(h))k=void 0,k=k===void 0?50:k,k=vea(e)>=k;k&&(a.RL.add(h),b.push(f))}a.Ej(b,!0)}
function ssa(a){if(!a.mJ){a.mJ=!0;OA(a);var b;window.addEventListener("scroll",function(){window.clearTimeout(b);b=window.setTimeout(function(){return void OA(a)},300)})}}
l.fA=function(a){var b=[];a=x((a||document).querySelectorAll("[data-stats-imp]"));for(var c=a.next();!c.done;c=a.next())b.push(PA(c.value,{type:0}));this.Ej(b)};
l.BU=function(a,b){a=PA(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=MA(this,b?7:3),e=zA(QA(this.Pe));b=b?7:3;a=x(a);for(var f=a.next();!f.done;f=a.next()){f=f.value;var h=(new Ty).setType(f.type);f.id&&h.setId(f.id);RA(h,f.index);Fg(c,6,Ty,h);h=(new aA).setType(Nz.get(f.type));f.id&&th(h,2,f.id);RA(h,f.index);f=(new eA).setType(b);f=Dg(f,4,fA,h);jA(e,f.setTimestamp((new Zk).setSeconds(Date.now()/1E3)))}NA(this,c);LA(this,e)}};
l.rb=function(a,b,c,e,f){tsa(this,a,b,c,e);f instanceof Function&&f()};
l.QL=function(a,b,c,e,f,h){a&&(a=PA(a,{type:0,action:0},h),tsa(this,b||a.type,c||a.action,e||a.id,f||a.index))};
function tsa(a,b,c,e,f){var h=MA(a,5);var k=(new Ry).setType(b);k=vh(k,2,c);b=(new $z).setType(Nz.get(b));c=gra.get(c);c=vh(b,2,c);e&&(k.setId(e),th(c,3,e));RA(k,f);RA(c,f);Fg(h,7,Ry,k);NA(a,h);e=zA(QA(a.Pe));f=(new eA).setType(2);f=Dg(f,3,fA,c);e=jA(e,f.setTimestamp((new Zk).setSeconds(Date.now()/1E3)));LA(a,e)}
l.wd=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"||msa(c))break a;c=c.parentNode}c=null}if(c){e=b.href;var f=(f=b.getAttribute("data-stats-toggle-class"))?!Tn(b,f):b instanceof HTMLInputElement&&(b.type==="checkbox"||b.type==="radio")&&!b.checked;e=PA(b,{type:0,id:e,action:f?
29:8});if(e.id!==void 0){a.hc_internal&&lo("refererViewId",z().vid);b=this.DC(a);a:{f=x(zia);for(var h=f.next();!h.done;h=f.next()){var k=x(h.value);h=k.next().value;k=k.next().value;if(Tn(c,h)){f=k;break a}}f=void 0}f=usa(this,e,b,f);e=vsa(e);e=jA(zA(QA(this.Pe)),e);a=a.event;switch(b){case 2:SA(this,a,c,f,e);break;case 1:b=wsa(this,f);b=xsa(this,b);lo("StatsDeferredClearcut",b.serialize())||SA(this,a,c,f);lo("ScaledStatsDeferredClearcut",e.serialize())||SA(this,a,c,void 0,e);break;default:case 3:NA(this,
f),LA(this,e)}}}}}};
function SA(a,b,c,e,f){e&&NA(a,e);f&&LA(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"){pn(window,a);return}a&&(c=nb(c)&&Nm(c)&&c.tagName.toUpperCase()==="A".toString()?c.target:"",b=window.sc_delayLocationHandler,b instanceof Function?b(a):po(a,!0,c))}}
function TA(a,b,c,e,f){var h=usa(a,{type:b,action:c,id:e,index:f},3);b=vsa({type:b,action:c,id:e,index:f});b=jA(zA(QA(a.Pe)),b);NA(a,h);LA(a,b)}
function usa(a,b,c,e){a=MA(a,4);var f=new Qy;c=vh(f,1,c).setType(b.type);c=vh(c,3,b.action).setId(b.id);RA(c,b.index);e&&(b=new Py,e=vh(b,1,e),Cg(c,Py,7,e));Cg(a,Qy,5,c);return a}
function vsa(a){var b=(new Zz).setType(Nz.get(a.type));var c=gra.get(a.action);b=vh(b,2,c);b=th(b,3,a.id);RA(b,a.index);a=(new eA).setType(1);return Dg(a,2,fA,b).setTimestamp((new Zk).setSeconds(Date.now()/1E3))}
function PA(a,b,c){c=c===void 0?!1:c;return{id:UA({element:a,attr:"data-stats-id",defaultValue:b.id}),type:ysa({element:a,attr:"data-stats-ve",defaultValue:b.type,Is:!0}),action:ysa({element:a,attr:"data-stats-action",defaultValue:b.action,Is:c}),index:UA({element:a,attr:"data-stats-idx",defaultValue:b.index})}}
l.DC=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.Lp=function(a){var b=MA(this,2),c=new Sy;a.ol&&a.ol>=0&&rh(c,1,Math.round(a.ol));a.prt&&a.prt>=0&&rh(c,2,Math.round(a.prt));a.srt&&a.srt>=0&&rh(c,5,Math.round(a.srt));if(a.type&&a.duration_ms){var e=c.setType(a.type);rh(e,4,Math.round(a.duration_ms))}Cg(b,Sy,4,c);NA(this,b);var f=hra.get(a.type);e=a.duration_ms;b=a.ol;c=a.prt;a=a.srt;f=(new bA).setType(f);e=rh(f,2,e);b>=0&&rh(e,3,b);c>=0&&rh(e,4,c);a>=0&&rh(e,5,a);a=zA(QA(this.Pe));b=(new eA).setType(4);b=Dg(b,5,fA,e);a=jA(a,b.setTimestamp((new Zk).setSeconds(Date.now()/
1E3)));LA(this,a)};
l.FU=function(a){var b=new cA;a.ol>=0&&rh(b,1,a.ol);a.prt>=0&&rh(b,2,a.prt);a.srt>=0&&rh(b,5,a.srt);a=zA(QA(this.Pe));var c=(new eA).setType(5);b=Dg(c,6,fA,b);b=jA(a,b.setTimestamp((new Zk).setSeconds(Date.now()/1E3)));LA(this,b)};
l.IU=function(a){var b=MA(this,6),c=new Xy;if(a.top!==void 0&&a.page_view_id!==void 0){var e=c.setTop(Math.trunc(Number(a.top||0)/1E3));th(e,2,a.page_view_id||"");Cg(b,Xy,8,c);NA(this,b);b=zA(QA(this.Pe));e=(new eA).setType(6);var f=new dA;f=rh(f,1,a.top||0);a=th(f,2,a.page_view_id||"");a=Dg(e,7,fA,a);a=jA(b,a.setTimestamp((new Zk).setSeconds(Date.now()/1E3)));LA(this,a);z().pt===10&&Ao("MoltronLoggingFeature__enable_view_duration_logs")==="true"&&esa(this.Db,this.Pe.mid||"",c.getTop()||0)}};
l.Md=function(){return new nsa};
function MA(a,b){var c=z();var e=new Wy;e=vh(e,3,c.iro);e=th(e,1,c.pid).Wd(c.vid);c.request_attributes&&jg(e,4,c.request_attributes,ne);if(c=Ao("workflow__session-id")){var f=new Vy;c=th(f,1,c);a.currentFormId!==0&&th(c,2,String(a.currentFormId));Cg(e,Vy,5,c)}a=new Yy;return Cg(a,Wy,2,e).setType(b)}
function wsa(a,b){var c=z();b.setTimestamp(a.bK===0?Date.now():a.bK);var e=new Zy;e=vh(e,35,c.ncc);a.Pe.cc&&th(e,41,a.Pe.cc);var f=vh(e,17,c.dt);f=th(f,24,c.ehc);f=th(f,1,c.hc);f=ph(f,38,c.ii);f=jg(f,21,c.mendel_ids,qe);f=vh(f,46,3);f=vh(f,19,c.pt);f=vh(f,14,1);f=vh(f,32,c.rs);f=th(f,2,c.rl);f=th(f,12,c.lang);f=vh(f,45,22);f=rh(f,15,17515);b=Fg(f,33,Yy,b);b=vh(b,43,c.rt).Wd(c.vid);b=th(b,34,c.visit_id);b=vh(b,55,2);b=ph(b,58,c.web_history_enabled).setSupportJourneyId(c.support_journey_id);c=osa.get(c.env)||
0;vh(b,53,c);if(a.Pe.exp)for(a=x(a.Pe.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 um,f=th(f,1,b[0]),b=th(f,2,b[1]),Fg(e,13,um,b));a=(new Oy).setContentType(55);Fg(e,3,Oy,a);return e}
function xsa(a,b){var c=z(),e=new $y;b=Cg(e,Zy,1,b);c.ehn&&(c=pu(c.ehn.match(ou)[3]||null),b.setHost(c));a.Pe.ref&&th(b,3,a.Pe.ref);return b}
function NA(a,b){if(Gp("workflow__kms")!=="true"&&!(++a.hU>1E3)){var c=wsa(a,b);Tg(c,1)===""?fo({Issue:"No helpcenter found when populating clearcut stats",Stats:b}):(c=xsa(a,c),a.transport.dispatch(c),a.transport.flush(),Eo(document,"sc_statsEvent",{detail:b}))}}
function LA(a,b){if(Gp("workflow__kms")!=="true")if(Tg(zg(b,Qz,6),1)==="")fo({Issue:"No helpcenter found when populating scaled clearcut",Extension:b});else if(!(++a.uT>1E3)){var c=new KA;c=Cg(c,iA,1,b);var e=z();e.ehn&&(e=pu(e.ehn.match(ou)[3]||null),c.setHost(e));a.Pe.ref&&th(c,2,a.Pe.ref);(e=Ao("zwieback_id"))&&Number(e)>0&&Nf(c,5,Oe(e));a.RK.dispatch(c);a.RK.flush();Eo(document,"sc_scaledStatsEvent",{details:b})}}
function UA(a){var b=a.element;var c=a.attr;var e=a.defaultValue;a=a.Is===void 0?!1:a.Is;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 ysa(a){var b=a.element;var c=a.attr;var e=a.defaultValue;a=Number(UA({element:b,attr:c,Is:a.Is===void 0?!1:a.Is}));return isNaN(a)?e:a}
function RA(a,b){b&&(b=b.split(","),b[0]&&(oqa(a)||pqa(a)||qqa(a)?a.JF(Number(b[0])):a.FA(Number(b[0]))),b[1]&&a.Op(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 qsa(a);ssa(a);window.sc_trackStatsEvent=a.rb.bind(a);window.sc_trackStatsEventByElement=a.QL.bind(a);window.sc_trackStatsScopedImpressions=a.fA.bind(a);window.sc_trackStatsImpressions=a.Ej.bind(a);window.sc_trackStatsImpressionByElement=a.BU.bind(a);window.sc_trackStatsLatency=a.Lp.bind(a);window.sc_trackStatsPageView=a.DU.bind(a);window.sc_trackStatsTimeOnPage=
a.IU.bind(a);window.sc_trackScaledSupportPageView=a.FU.bind(a)};
function QA(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,Pe:a,webHistoryEnabled:!!b.web_history_enabled,supportJourneyId:b.support_journey_id||"",productEscalationsId:Ao("productEscalationsId")?Number(Ao("productEscalationsId")):0}}
;function VA(a){a=a===void 0?new Xl:a;this.state=this.priority=0;this.Dc=zsa(a);WA(this);XA(this);YA(this)}
function ZA(a){var b;return(b=Yl(a.Dc))!=null?b:new zl}
l=VA.prototype;l.getPriority=function(){return this.priority};
function $A(a){var b,c=(b=Yl(a.Dc))!=null?b:new zl;Zl(a.Dc,c);return c}
function Asa(a){a=$A(a);var b,c=(b=a.getFrdContext())!=null?b:new hl;Al(a,c);return c}
l.getId=function(){var a;return(a=lh(this.Dc,2))!=null?a:null};
function aB(a){var b,c,e;return(e=(b=Yl(a.Dc))==null?void 0:(c=b.getFrdContext())==null?void 0:oh(c,1))!=null?e:null}
function bB(a){var b,c;return(c=(b=Yl(a.Dc))==null?void 0:oh(b,5))!=null?c:null}
l.setPriority=function(a){this.priority=a;return this};
l.isRequired=function(){var a;return(a=Vg(this.Dc,5))!=null?a:!1};
l.setRequired=function(a){ph(this.Dc,5,a);return this};
l.Tq=function(){return fh(this.Dc,4,Zf()).includes(1)||this.Aq()===5};
function cB(a,b){fh(a.Dc,4,Zf()).includes(b)||(mg(a.Dc,4,ne,b,void 0,pe),WA(a))}
l.Aq=function(){var a,b,c;return(c=(a=Yl(this.Dc))==null?void 0:(b=a.getFrdContext())==null?void 0:oh(b,2))!=null?c:null};
l.vd=function(a){this.Aq()!==a&&(Asa(this).vd(a),WA(this));return this};
l.Vb=function(){return this.getValues().length>0};
l.getValues=function(){var a;if((a=Yl(this.Dc))==null||!Cl(a))return[];var b;a=(b=Yl(this.Dc))==null?void 0:Cl(b);var c,e,f,h,k,n,p,r,u,w,E,la;return((c=a.rk())==null?0:ql(c).length)?(e=a.rk())==null?void 0:ql(e,Od):((f=a.Zg())==null?0:Mg(f,Zf()).length)?(h=a.Zg())==null?void 0:Mg(h,Zf(Od)):((k=a.Ho())==null?0:nl(k).length)?(n=a.Ho())==null?void 0:nl(n).map(function(ma){return Mg(ma,Zf(Od))}):((p=sl(a))==null?0:ql(p).length)?(r=sl(a))==null?void 0:ql(r,Od):((u=vl(a))==null?0:Mg(u,Zf()).length)?(w=
vl(a))==null?void 0:Mg(w,Zf(Od)):((E=xl(a))==null?0:ag(E,1,gg,Zf()).length)?(la=xl(a))==null?void 0:ag(la,1,gg,Zf()).map(function(ma){return Yc(ma)}):Rg(a,Sf(a,tl,7))!=null?[a.zq()]:[]};
l.rk=function(){var a,b,c,e;return(e=(a=Yl(this.Dc))==null?void 0:(b=Cl(a))==null?void 0:(c=b.rk())==null?void 0:ql(c,Od))!=null?e:null};
l.Zg=function(){var a,b,c,e;return(e=(a=Yl(this.Dc))==null?void 0:(b=Cl(a))==null?void 0:(c=b.Zg())==null?void 0:Mg(c,Zf(Od)))!=null?e:null};
l.Ho=function(){var a,b,c,e;return(e=(a=Yl(this.Dc))==null?void 0:(b=Cl(a))==null?void 0:(c=b.Ho())==null?void 0:nl(c).map(function(f){return Mg(f,Zf(Od))}))!=null?e:null};
l.zq=function(){var a,b;if((a=Yl(this.Dc))==null)a=void 0;else if((a=Cl(a))==null)a=void 0;else{var c=Sf(a,tl,7);a=Rg(a,c);a=a==null?void 0:a}return(b=a)!=null?b:null};
l.Hg=function(a){dB(this).Hg(eB(a));YA(this);return this};
l.zj=function(a){dB(this).zj(fB(a));YA(this);return this};
l.Dv=function(a){dB(this).Dv(ol(new ml,a.map(function(b){return fB(b)})));
YA(this);return this};
l.Lh=function(a){dB(this).Lh(a);YA(this);return this};
function dB(a){var b=new rl;Dl($A(a),b);return b}
function WA(a){var b;a.Tq()&&((b=Yl(a.Dc))==null?0:Pf(b,hl,1))&&(cB(a,1),a.vd(5))}
function XA(a){var b,c=(b=bB(a))!=null?b:aB(a);c&&rh(a.Dc,2,c)}
l.ZI=function(){var a,b=(a=Yl(this.Dc))==null?void 0:Cl(a);if(!b)return 0;var c;return(c=Bsa.get(vg(b,tl)))!=null?c:0};
function YA(a){var b=a.ZI();b===0?Nf(a.Dc,3):vh(a.Dc,3,b)}
l.qc=function(){return!!this.getId()&&this.Vb()};
var Bsa=new Map([[3,2],[2,1],[6,8],[8,4],[4,3],[5,11],[7,9]]);function Csa(a){var b=Bl(new zl,a.frdIdentifier);if(a.frdContext){var c=a.frdContext;c=il(new hl,c.frdIdentifier).vd(c.contextType)}else c=void 0;return Dl(Al(b,c),Dsa(a.selectedValueList))}
function Dsa(a){if(a){if(a.stringValues)return(new rl).Hg(eB(a.stringValues.value));if(a.intValues)return(new rl).zj(fB(a.intValues.value));if(a.intListValues)return(new rl).Dv(ol(new ml,a.intListValues.list.map(function(b){return fB(b.value)})));
if(a.enumValueIdentifiers)return ul(new rl,eB(a.enumValueIdentifiers.value));if(a.dateTimeValues)return wl(new rl,Esa(a.dateTimeValues.valueTimeMillis));if(a.bytesValues)return yl(new rl,Fsa(a.bytesValues.value));if(typeof a.boolValue==="boolean")return(new rl).Lh(a.boolValue)}}
function Gsa(a){var b=Bl(new zl,a.frd_identifier);if(a.frd_context){var c=a.frd_context;c=il(new hl,c.frd_identifier).vd(c.context_type)}else c=void 0;return Dl(Al(b,c),Hsa(a.selected_value_list))}
function Hsa(a){if(a){if(a.string_values)return(new rl).Hg(eB(a.string_values.value));if(a.int_values)return(new rl).zj(fB(a.int_values.value));if(a.int_list_values)return(new rl).Dv(ol(new ml,a.int_list_values.list.map(function(b){return fB(b.value)})));
if(a.enum_value_identifiers)return ul(new rl,eB(a.enum_value_identifiers.value));if(a.date_time_values)return wl(new rl,Esa(a.date_time_values.value_time_millis));if(a.bytes_values)return yl(new rl,Fsa(a.bytes_values.value));if(typeof a.bool_value==="boolean")return(new rl).Lh(a.bool_value)}}
function gB(a){var b=a.getFrdContext(),c=Ug(a,5);a=Cl(a);var e={};if(b){var f=Ug(b,1);b=Ug(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=Isa(a));return e}
function Isa(a){var b=a.rk();if(b)return{string_values:{value:ql(b,Od)}};if(b=a.Zg())return{int_values:{value:Mg(b,Zf(Od))}};if(b=sl(a))return{enum_value_identifiers:{value:ql(b,Od)}};if(b=vl(a))return{date_time_values:{value_time_millis:Mg(b,Zf(Od))}};if(b=xl(a))return{bytes_values:{value:ag(b,1,gg,Zf()).map(function(c){return Yc(c)})}};
b=Rg(a,Sf(a,tl,7));return typeof b==="boolean"?{bool_value:b}:(a=a.Ho())?{int_list_values:{list:nl(a).map(function(c){return{value:Mg(c,Zf(Od))}})}}:{}}
function zsa(a){if(a instanceof Xl)return a.clone();if("frdId"in a||"frdValue"in a&&!Array.isArray(a.frdValue)){var b=new Xl;b=rh(b,2,a.frdId);b=Zl(b,a.frdValue?Csa(a.frdValue):void 0);b=vh(b,3,a.frdValueType);b=jg(b,4,a.frdUsages,ne);return ph(b,5,a.isRequired)}if("frd_id"in a||"frd_value"in a&&!Array.isArray(a.frd_value))return b=new Xl,b=rh(b,2,a.frd_id),b=Zl(b,a.frd_value?Gsa(a.frd_value):void 0),b=vh(b,3,a.frd_value_type),b=jg(b,4,a.frd_usages,ne),ph(b,5,a.is_required);if(a instanceof zl)return hB(a.clone());
if("frdIdentifier"in a||"frdContext"in a)return hB(Csa(a));if("frd_identifier"in a||"frd_context"in a)return hB(Gsa(a));throw Error("Unrecognized FRD representation:"+JSON.stringify(a,null,"\t"));}
function fB(a){return(new ll).Ig(a)}
function eB(a){return(new pl).Ig(a)}
function Esa(a){return dca(new kl,a)}
function Fsa(a){return(new jl).Ig(a==null?void 0:a.slice())}
function hB(a){return Zl(new Xl,a)}
;var Jsa=Ha(["/s/renderframe2/"]);function iB(a){this.formId=a}
iB.prototype.load=function(){var a=this;if(this.o)return this.o;this.Wc=document.createElement("iframe");this.Wc.style.display="none";document.body.appendChild(this.Wc);this.o=new Promise(function(b,c){a.Wc.addEventListener("load",function(){var e;return Ya(function(f){if(f.o==1)return Pa(f,2),f.yield(a.kp(),4);if(f.o!=2){a.form=f.ma;var h=a.form,k=Co();Object.keys(k).length>0&&h.setProductSpecificData(k);a.Wc.contentWindow.sc_ensureSubscribed=window.sc_ensureSubscribed;b();return Ra(f,0)}e=Sa(f);
c(e);Oa(f)})})});
on(this.Wc,1,Ln(Jsa));return this.o};
iB.prototype.kp=function(){var a=this;return new Promise(function(b,c){(new qy({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.Wc,onLoad:function(e){return void b(e)},
onError:c})})};
iB.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)})};
iB.prototype.submitForm=function(){this.form.submitForm()};function jB(a){var b=co();return b?kq(a,new Map([["sjid",b]]),!0):a}
;function Ksa(){Lsa(this)}
function Lsa(a){window.sc_registerPageClickHandlers([function(b){b.hc_internal&&(b=b.element,b.href&&b.href.startsWith("http")&&(b.search=kB(b.search)))}.bind(a)]);
no.push(function(b){b.href&&b.href.startsWith("http")&&(b.search=kB(b.search))});
a.o();window.addEventListener("load",a.o.bind(a))}
Ksa.prototype.o=function(){for(var a=document.querySelectorAll(".gaiabar form, .non-one-bar form, #search-form"),b=0;b0&&(!a.eD||a.Hb.ma||a.Hb.defaultLanguage==="en")}
;function EB(a){this.Aa=qf(a)}
t(EB,di);l=EB.prototype;l.Bh=function(){return Wg(this,4)};
l.Wd=function(a){return rh(this,4,a)};
l.getUserAgent=function(){return $g(this,6)};
l.Ue=function(){return Yg(this,8)};
l.setSupportJourneyId=function(a){return th(this,9,a)};var FB=[0,Jq,Pj,y,Qj,y,-1,gk,Jj,y,Vj];EB.prototype.Ba=nk(FB);function GB(a){this.Aa=qf(a)}
t(GB,di);GB.prototype.kb=function(){return Yg(this,1)};
GB.prototype.vb=oa(33);GB.prototype.getMessageId=function(){return Yg(this,3)};GB.prototype.Ba=nk([0,Jj,-2,1,y,4,FB]);function HB(a){this.Aa=qf(a)}
t(HB,di);HB.prototype.kb=function(){return Yg(this,1)};
HB.prototype.vb=oa(32);HB.prototype.getMessageId=function(){return Yg(this,3)};HB.prototype.Ba=nk([0,Jj,-2,6,FB]);function IB(a){this.Aa=qf(a)}
t(IB,di);l=IB.prototype;l.kb=function(){return Yg(this,1)};
l.vb=oa(31);l.getMessageId=function(){return Yg(this,3)};
l.getType=function(){return ah(this,4,0)};
l.setType=function(a){return vh(this,4,a)};IB.prototype.Ba=nk([0,Jj,-2,gk,5,FB]);function JB(a){this.Aa=qf(a)}
t(JB,di);l=JB.prototype;l.kb=function(){return Yg(this,1)};
l.vb=oa(30);l.getMessageId=function(){return Yg(this,3)};
l.Me=oa(37);l.dg=function(a){return vh(this,4,a)};JB.prototype.Ba=nk([0,Jj,-2,gk,Vj,4,FB]);function KB(a){this.Aa=qf(a)}
t(KB,di);KB.prototype.kb=function(){return Yg(this,1)};
KB.prototype.vb=oa(28);KB.prototype.Ba=nk([0,Jj,-1,gk,6,FB]);function LB(a){this.Aa=qf(a)}
t(LB,di);LB.prototype.kb=function(){return Yg(this,1)};
LB.prototype.vb=oa(27);LB.prototype.Me=oa(36);LB.prototype.dg=function(a){return vh(this,3,a)};LB.prototype.Ba=nk([0,Jj,-1,gk,6,FB]);function MB(a){this.Aa=qf(a)}
t(MB,di);l=MB.prototype;l.kb=function(){return Yg(this,1)};
l.vb=oa(26);l.getValue=function(){return Vg(this,3,!0)};
l.setValue=function(a){return ph(this,3,a)};
l.Vb=function(){return Rg(this,3)!=null};MB.prototype.Ba=nk([0,Jj,-1,Vj,Jj,y,gk,3,FB]);function NB(a){this.Aa=qf(a)}
t(NB,di);NB.prototype.kb=function(){return Yg(this,1)};
NB.prototype.vb=oa(24);NB.prototype.getMessageId=function(){return Yg(this,3)};NB.prototype.Ba=nk([0,Jj,-2,6,FB]);function OB(a){this.Aa=qf(a)}
t(OB,di);l=OB.prototype;l.kb=function(){return Yg(this,1)};
l.vb=oa(23);l.getMessageId=function(){return Yg(this,3)};
l.Me=oa(35);l.dg=function(a){return vh(this,4,a)};OB.prototype.Ba=nk([0,Jj,-2,gk,5,FB]);var dta=[0,gk,y];function As(a){this.Aa=qf(a)}
t(As,di);var eta=[0,bk,dta];As.prototype.Ba=nk(eta);function PB(a){this.Aa=qf(a)}
t(PB,di);l=PB.prototype;l.Do=function(){return $g(this,3)};
l.getMimeType=function(){return $g(this,5)};
l.setMimeType=function(a){return th(this,5,a)};
l.getContent=function(){var a=this.Aa,b=qd(a),c=Lf(a,b,6),e=gg(c);e!=null&&e!==c&&Of(a,b,6,e);return e==null?Wc():e};
l.setContent=function(a){return Nf(this,6,Dd(a,!1,!0))};
l.clearContent=function(){return Nf(this,6)};function QB(a){this.Aa=qf(a)}
t(QB,di);QB.prototype.kb=function(){return Yg(this,1)};
QB.prototype.vb=oa(22);QB.prototype.getMessage=function(){return zg(this,Ck,3)};var RB=[0,y,-2,Vj,y,dk,Ik,Vj];PB.prototype.Ba=nk(RB);QB.prototype.Ba=nk([0,Jj,-1,Jk,Vj,bk,RB,gk,3,FB]);function SB(a){this.Aa=qf(a)}
t(SB,di);SB.prototype.kb=function(){return Yg(this,1)};
SB.prototype.getThread=function(){return zg(this,Lk,2)};
SB.prototype.getIsDraft=function(){return Vg(this,8,!1)};
SB.prototype.setIsDraft=function(a){return ph(this,8,a)};SB.prototype.Ba=nk([0,Jj,Nk,Vj,bk,RB,gk,y,-1,Vj,1,FB,y,-1]);function TB(a){this.Aa=qf(a)}
t(TB,di);TB.prototype.kb=function(){return Yg(this,1)};
TB.prototype.vb=oa(21);TB.prototype.getMessageId=function(){return Yg(this,3)};TB.prototype.Ba=nk([0,Jj,-2,Vj,5,FB]);function UB(a){this.Aa=qf(a)}
t(UB,di);UB.prototype.kb=function(){return Yg(this,1)};
UB.prototype.vb=oa(20);UB.prototype.Ba=nk([0,Jj,-1,Vj,6,FB]);function VB(a){this.Aa=qf(a)}
t(VB,di);VB.prototype.kb=function(){return Yg(this,1)};
VB.prototype.vb=oa(19);VB.prototype.getMessageId=function(){return Yg(this,3)};
VB.prototype.getMessage=function(){return zg(this,Ck,4)};VB.prototype.Ba=nk([0,Jj,-2,Jk,bk,RB,gk,Vj,-1,1,FB]);function WB(a){this.Aa=qf(a)}
t(WB,di);l=WB.prototype;l.kb=function(){return Yg(this,1)};
l.vb=oa(18);l.getThread=function(){return zg(this,Lk,3)};
l.getIsDraft=function(){return Vg(this,6)};
l.setIsDraft=function(a){return ph(this,6,a)};WB.prototype.Ba=nk([0,Jj,-1,Nk,bk,RB,gk,Vj,-1,2,FB]);function XB(a){this.Aa=qf(a)}
t(XB,di);XB.prototype.kb=function(){return Yg(this,1)};
function YB(a,b){return sh(a,1,b)}
XB.prototype.vb=oa(17);XB.prototype.getMessageId=function(){return Yg(this,4)};
XB.prototype.clearOffTopic=function(){return Nf(this,7)};
function fta(a){var b=new EB;return Cg(a,EB,10,b)}
;XB.prototype.Ba=nk([0,Jj,y,Jj,-1,1,Jj,Vj,-1,1,FB]);function ZB(a){this.Aa=qf(a)}
t(ZB,di);ZB.prototype.Ba=nk([0,9,FB]);function $B(a){this.Aa=qf(a)}
t($B,di);$B.prototype.getInfo=function(){return zg(this,Uk,1)};$B.prototype.Ba=nk([0,Wk,Vj]);function aC(a){this.Aa=qf(a)}
t(aC,di);aC.prototype.kb=function(){return Yg(this,1)};
aC.prototype.getValue=function(){return ah(this,2,2)};
aC.prototype.setValue=function(a){return vh(this,2,a)};
aC.prototype.Vb=function(){return Ug(this,2)!=null};aC.prototype.Ba=nk([0,Jj,gk,Jj,y,5,FB]);function bC(a){this.Aa=qf(a)}
t(bC,di);bC.prototype.getInfo=function(){return zg(this,Uk,2)};bC.prototype.Ba=nk([0,Jj,Wk,Vj,RB,Jj,4,FB]);function cC(a){this.Aa=qf(a)}
t(cC,di);cC.prototype.getInfo=function(){return zg(this,Uk,1)};
cC.prototype.kb=function(){return Yg(this,2)};cC.prototype.Ba=nk([0,Wk,Jj,7,FB]);var gta=0;function dC(a){this.options=a;this.id=""+gta++}
function eC(a){var b=hta(a);b&&ita(a,b)}
dC.prototype.focus=function(a){var b;(b=a?this.getItem(a):hta(this))==null||b.focus()};
function fC(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):[]}
dC.prototype.getItem=function(a){return pfa(this.options.scope,'[data-focus-group="'+this.id+'"][data-focus-id="'+a+'"')};
function hta(a){a=fC(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 Kt(a,b){b=b===void 0?{}:b;return new jta(b,a.id,function(c){a.onFocus(c)},function(c){kta(a,c,b)})}
dC.prototype.onFocus=function(a){ita(this,a.target)};
function kta(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.un,k=fC(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.rY,a.options.Mj,1):b.key==="ArrowLeft"?e(c.left,a.options.Ts,-1):b.key==="ArrowRight"&&e(c.right,a.options.Ts,1)}
function ita(a,b){a=x(fC(a));for(var c=a.next();!c.done;c=a.next())c=c.value,c.tabIndex=c===b?0:-1}
function jta(a,b,c,e){this.options=a;this.groupId=b;this.uq=c;this.Du=e}
jta.prototype.attributes=function(a){var b=a===void 0?{}:a;a=b.Up===void 0?!0:b.Up;b=b.Rs===void 0?!0:b.Rs;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.uq);b&&c.push("onkeydown",this.Du);return c};function gC(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 hC(a){this.Aa=qf(a)}
t(hC,di);hC.prototype.getCode=function(){return ah(this,1,0)};
hC.prototype.getMessage=function(){return $g(this,4)};
var lta=pk(hC);hC.prototype.Ba=nk([0,gk,-1,eta,y]);function iC(a){this.Lk=new Xq({serverUrl:function(){return rB().sx+"/s/community/api"},
serviceName:a})}
iC.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.Lk,p=n.post,r={withCredentials:!0};rB().authuser&&(r.query={authuser:rB().authuser});rB().uH&&(r.headers={Authorization:rB().uH});return k.call(h,p.call(n,a,b,c,r),4)}if(h.o!=2)return h.return(h.ma);f=Sa(h);if(f instanceof Wq&&f.type==="application_error")throw new zs(lta(f.responseText));throw f;})};function jC(a){this.Aa=qf(a)}
t(jC,di);jC.prototype.Ba=nk([0]);function kC(){var a={};var b=a.Xg;var c=a.Sh;a=a.Bf;this.productId=0;this.Xg=b!=null?b:new iC("SupportForums");this.Sh=c!=null?c:new iC("UserInfo");this.Bf=a!=null?a:new iC("Annotations")}
function lC(a,b){a.productId>0&&sh(b,8,a.productId);if(a=z())a.vid&&b.Wd(Number(a.vid)),a.visit_id&&th(b,3,String(a.visit_id))}
l=kC.prototype;
l.updateGlobalUserInfo=function(a){var b=a.userId;var c=a.name;var e=a.headline;var f=a.bio;var h=a.aV;var k=a.youtube;var n=a.QF;var p=a.Gp;var r=a.avatar;var u=a.OR;var w=a.zk;var E=a.generativeAnswerTosAcceptedTimeUsec;var la=this,ma,sa,Aa,Ba;return Ya(function(Ga){ma=new Sk;sa=new Rk;Aa=Vk(new Uk,ma).KF(sa);var Na=new bC;Ba=Cg(Na,Uk,2,Aa);b&&sh(Ba,1,b);c&&(ma.setName(c),Na=ph(Aa,5,!1),ph(Na,4,!1));e!==void 0&&th(ma,4,e);f!==void 0&&th(ma,5,f);h!==void 0&&th(ma,6,h);k!==void 0&&th(ma,7,k);n!==
void 0&&ph(sa,3,n);p!==void 0&&ph(sa,4,p);u!==void 0&&sh(sa,23,u);w!==void 0&&ph(sa,24,w);E!==void 0&&sh(sa,28,E);r&&Cg(Ba,PB,4,r);return Ga.return(la.Sh.call("UpdateGlobalUserInfo",Ba,Uk))})};
l.validateUserInfo=function(a){var b=this,c;return Ya(function(e){var f=new cC,h=Vk(new Uk,(new Sk).setName(a));c=Cg(f,Uk,1,h);return e.yield(b.Sh.call("ValidateUserInfo",c,jC),0)})};
l.subscribeToForum=function(a,b){var c=this,e;return Ya(function(f){var h=new aC;h=sh(h,1,a).setValue(b);var k=new EB;e=Cg(h,EB,10,k);lC(c,zg(e,EB,10));return f.yield(c.Sh.call("SubscribeToForum",e,jC),0)})};
l.getDefaultUserInfo=function(){var a=this,b;return Ya(function(c){if(c.o==1)return c.yield(a.Sh.call("GetDefaultUserInfo",new ZB,$B),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 KB;k=sh(k,1,a);k=sh(k,2,b);k=vh(k,3,c);var n=new EB;f=Cg(k,EB,10,n);lC(e,zg(f,EB,10));return h.yield(e.Bf.call("SetThreadAttribute",f,jC),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.hv;var E=a.articleId;var la=a.postMethod;var ma=this,sa,Aa,Ba,Ga,Na,Qa,Va,Za,xb,Db,Bb;return Ya(function(fb){var tb=(new Lk).setTitle(c);sa=th(tb,13,e).setLanguage(tB());f!==void 0&&vh(sa,21,f);h&&th(sa,22,h);k&&th(sa,45,k);Aa=x(n);
for(Ba=Aa.next();!Ba.done;Ba=Aa.next()){Ga=Ba.value;Na=x(Ga);Qa=Na.next().value;Va=Na.next().value;Za=Qa;xb=Va;tb=sa;var Ub=(new Kk).setKey(Za).setValue(xb);Fg(tb,16,Kk,Ub)}E&&(Db=new sk,tb=new rk,Ub=rB().internalHelpCenter,tb=th(tb,1,Ub),Ub=sh(tb,2,Number(E)),tb=Db,Ub=Ub.setLanguage(tB()),Dg(tb,3,tk,Ub),Cg(sa,sk,43,Db));la&&vh(sa,28,la);tb=new SB;tb=sh(tb,1,b);tb=Cg(tb,Lk,2,sa);Ub=p.filter(mC).map(nC);tb=Eg(tb,4,Ub);tb=ph(tb,3,r);tb=vh(tb,5,u?1:0);Ub=new EB;Bb=Cg(tb,EB,10,Ub);lC(ma,zg(Bb,EB,10));
w&&th(Bb,7,w);gC("create",{content_type:"forum_thread"});return fb.return(ma.Xg.call("CreateThread",Bb,Lk))})};
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 WB;p=sh(p,1,a);p=sh(p,2,b);p=Cg(p,Lk,3,c);var r=e.filter(mC).map(nC);p=Eg(p,4,r);p=vh(p,5,f?1:0);r=new EB;k=Cg(p,EB,10,r);lC(h,zg(k,EB,10));return n.return(h.Xg.call("UpdateThread",k,Lk))})};
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,E,la;return Ya(function(ma){w=(new zk).setType(f);var sa=new Ck;sa=th(sa,4,e);E=Cg(sa,zk,6,w);p&&sh(E,37,p);r&&Cg(E,wk,42,r);sa=new QB;sa=sh(sa,1,b);sa=sh(sa,2,c);sa=Cg(sa,
Ck,3,E);sa=ph(sa,4,h);sa=vh(sa,6,k?1:0);var Aa=n.filter(mC).map(nC);sa=Eg(sa,5,Aa);Aa=new EB;la=Cg(sa,EB,10,Aa);lC(u,zg(la,EB,10));return ma.return(u.Xg.call("CreateMessage",la,Ck))})};
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.uL===void 0?!1:a.uL;var n=this,p;return Ya(function(r){var u=new VB;u=sh(u,1,b);u=sh(u,2,c);u=sh(u,3,e);u=Cg(u,Ck,4,f);u=vh(u,6,k?0:1);var w=h.filter(mC).map(nC);u=Eg(u,5,w);w=new EB;p=Cg(u,EB,10,w);lC(n,zg(p,EB,10));return r.return(n.Xg.call("UpdateMessage",p,Ck))})};
l.setMessageVote=function(a){var b=a.forumId;var c=a.threadId;var e=a.messageId;var f=a.vote;var h=a.fk;var k=this,n;return Ya(function(p){var r=new JB;r=sh(r,1,b);r=sh(r,2,c);r=sh(r,3,e).dg(f);r=ph(r,5,h);var u=new EB;n=Cg(r,EB,10,u);lC(k,zg(n,EB,10));return p.yield(k.Bf.call("SetMessageVote",n,jC),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 OB;p=sh(p,1,b);p=sh(p,2,c);p=sh(p,3,e).dg(f);var r=new EB;k=Cg(p,EB,10,r);lC(h,zg(k,EB,10));return n.yield(h.Bf.call("UnsetMessageVote",k,jC),0)})};
l.reportAbuse=function(a,b,c){var e=this,f;return Ya(function(h){var k=YB(new XB,a);k=sh(k,3,b);f=fta(k);lC(e,zg(f,EB,10));c!==void 0&&sh(f,4,c);return h.yield(e.Xg.call("UserFlag",f,jC),0)})};
l.Wk=oa(40);l.reportOffTopic=function(a,b,c){var e=this,f;return Ya(function(h){var k=new GB;k=sh(k,1,a);k=sh(k,2,b);var n=new EB;f=Cg(k,EB,10,n);lC(e,zg(f,EB,10));c!==void 0&&sh(f,3,c);return h.yield(e.Bf.call("SetOffTopic",f,jC),0)})};
l.clearOffTopic=function(a,b,c){var e=this,f;return Ya(function(h){var k=new HB;k=sh(k,1,a);k=sh(k,2,b);var n=new EB;f=Cg(k,EB,10,n);lC(e,zg(f,EB,10));c!==void 0&&sh(f,3,c);return h.yield(e.Bf.call("SetOnTopic",f,jC),0)})};
l.Xm=oa(43);l.um=oa(46);l.setThreadVote=function(a,b,c){var e=this,f;return Ya(function(h){var k=new LB;k=sh(k,1,a);k=sh(k,2,b).dg(c);var n=new EB;f=Cg(k,EB,10,n);lC(e,zg(f,EB,10));return h.yield(e.Bf.call("SetThreadVote",f,jC),0)})};
l.subscribeToThread=function(a,b,c){var e=this,f;return Ya(function(h){var k=new MB;k=sh(k,1,a);k=sh(k,2,b);k=vh(k,6,mta(c));var n=new EB;f=Cg(k,EB,10,n);lC(e,zg(f,EB,10));return h.yield(e.Bf.call("SubscribeToThread",f,jC),0)})};
l.deleteThread=function(a,b){var c=this,e;return Ya(function(f){var h=new UB;h=sh(h,1,a);h=sh(h,2,b);var k=new EB;e=Cg(h,EB,10,k);lC(c,zg(e,EB,10));return f.yield(c.Xg.call("DeleteThread",e,jC),0)})};
l.deleteMessage=function(a,b,c){var e=this,f;return Ya(function(h){var k=new TB;k=sh(k,1,a);k=sh(k,2,b);k=sh(k,3,c);var n=new EB;f=Cg(k,EB,10,n);lC(e,zg(f,EB,10));return h.yield(e.Xg.call("DeleteMessage",f,jC),0)})};
l.setMessageType=function(a,b,c,e){var f=this,h;return Ya(function(k){var n=new IB;n=sh(n,1,a);n=sh(n,2,b);n=sh(n,3,c).setType(e);var p=new EB;h=Cg(n,EB,10,p);lC(f,zg(h,EB,10));return k.yield(f.Bf.call("SetMessageType",h,jC),0)})};
l.unsetMessageType=function(a,b,c){var e=this,f;return Ya(function(h){var k=new NB;k=sh(k,1,a);k=sh(k,2,b);k=sh(k,3,c);var n=new EB;f=Cg(k,EB,10,n);lC(e,zg(f,EB,10));return h.yield(e.Bf.call("UnsetMessageType",f,jC),0)})};
l.Pm=oa(49);function mta(a){switch(a){case 1:return 2;case 0:return 1;case 2:return 3;default:return 0}}
function nC(a){var b=new PB;b=th(b,1,a.originalFilename);b=th(b,3,a.documentId);a.Ef&&th(b,2,a.Ef);a.deleted&&ph(b,4,!0);return b}
function mC(a){return a.Ef!==void 0&&!a.deleted||a.Ef===void 0&&a.deleted}
;var oC=new An,nta="Showing results for "+Bn(oC,"a")+"KEYWORD"+Dn(oC,"a"),ota=oC.format(nta),pta="Search instead for "+Bn(oC,"a")+"KEYWORD"+Dn(oC,"a"),qta=oC.format(pta),rta="Did you mean: "+Bn(oC,"a")+"KEYWORD"+Dn(oC,"a"),sta=oC.format(rta);function pC(a,b){b=b===void 0?0:b;Wp.call(this);this.o=a;this.index=b;this.rank=b+1}
t(pC,Wp);l=pC.prototype;l.getIndex=function(){return this.index};
l.getTitle=function(){var a;return Rr((a=this.o.getTitle())!=null?a:"")};
l.ke=function(){var a;return(a=this.o.ke())!=null?a:""};
function tta(a){var b;return(b=Tg(a.o,12))!=null?b:""}
l.getUrl=function(){var a;return(a=this.o.getUrl())!=null?a:""};
function qC(a){var b=a.getUrl();if(!b)return b;var c=rC(a);if(c===8||c===9){var e,f;a=(f=(e=mm(a.o))==null?void 0:Tg(e,5))!=null?f:"";b=oq(a,b)}return b}
l.Rb=function(){var a;return(a=this.o.Rb())!=null?a:""};
function Ez(a){var b;return(b=Tg(a.o,21))!=null?b:""}
function sC(a){var b,c;return(c=(b=lm(a.o))==null?void 0:b.Fq())!=null?c:0}
function tC(a){var b,c;return(c=(b=lm(a.o))==null?void 0:Sg(b,3))!=null?c:0}
function uta(a){var b,c;return(c=(b=lm(a.o))==null?void 0:Ug(b,9))!=null?c:0}
function rC(a){var b;a=(b=oh(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 uC(a,b){var c=rC(a),e="";switch(c){case 0:var f;e=(f=b==null?void 0:Tg(b,25))!=null?f:"";break;case 1:case 2:var h;e=(h=b==null?void 0:Tg(b,8))!=null?h:"";break;case 3:var k;e=(k=b==null?void 0:Tg(b,24))!=null?k:"";break;case 5:var n;e=(n=b==null?void 0:Tg(b,7))!=null?n:"";break;case 4:var p;e=(p=b==null?void 0:Tg(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&&tta(a)&&(e+=" - "+tta(a));return e}
function vC(a){return Bg(a.o,hm,27,Zf()).map(function(b){return new pC(b,a.index)})}
function vta(a){var b,c;return(c=(b=mm(a.o))==null?void 0:Lg(b,4))!=null?c:0}
function wC(a){var b,c;return(c=(b=mm(a.o))==null?void 0:Kg(b,1))!=null?c:0}
function xC(a){var b,c;return(c=(b=mm(a.o))==null?void 0:Sg(b,3))!=null?c:0}
function wta(a){var b,c;return(c=(b=mm(a.o))==null?void 0:Tg(b,7))!=null?c:""}
;function yC(a){var b=a.parent;var c=a.result;a=a.Db;A.call(this,"sc.search.search_results_list.search_result.YoutubePreview");this.ma=new aq({icon:"gm/event_available",size:18});this.ua=new aq({icon:"gm/visibility",size:18});this.o=new aq({icon:"gm/play_circle"});this.oa=Ao("YoutubeSearchResultsPreviewFeature__show_youtube_search_results_reduced")==="true";this.result=c;var e;if(b!=null){c=b.getUrl()+"#play=";var f=(e=Tg(this.result.o,5))!=null?e:"";e=c+f}else e=new Map([["autoplay","1"]]),e=kq(this.result.getUrl(),
e,!0);this.url=e;var h;b=(h=b==null?void 0:b.getTitle())!=null?h:this.result.getTitle();h=zC(this);e=AC.format(wC(this.result))+" views";this.ariaLabel=b+" (video content) published on "+h+" with "+e;this.Db=a}
t(yC,A);yC.prototype.content=function(){var a=this;this.element("a","aria-label",this.ariaLabel,"class","youtube-preview","href",this.url,"onclick",function(b){return Pr(b,function(){a.wd(b.ctrlKey||b.shiftKey||b.metaKey)})},"onauxclick",function(b){return b.button===1?Pr(b,function(){a.wd(!0)}):!0},"onkeydown",function(b){return Qr(b,function(){a.wd()})},function(){z().rs===2?a.element("div","class","help-panel-container",function(){xta(a)}):xta(a)})};
yC.prototype.wd=function(a){a=a===void 0?!1:a;DA(this.Db,this.result.Rb(),Ez(this.result),this.url);Gq(8,"youtube_preview_click",136);var b=jB(this.url);Vq(b,{Jd:a})};
function xta(a){yta(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",AC.format(wC(a.result))+" views \u2022 "+zC(a)):a.oa||(zta(a),Ata(a))})})}
function yta(a){a.element("div","class","thumbnail-container",function(){var b=a.element,c,e;var f=(e=(c=mm(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=xC(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 Ata(a){a.element("span","class","label-container",function(){a.ma.render();a.element("span","class","label",zC(a))})}
function zta(a){a.element("span","class","label-container",function(){a.ua.render();a.element("span","class","label",AC.format(wC(a.result))+" views")})}
function zC(a){a=vta(a.result);return a===0?"":Bta.format(new Date(a/1E3))}
var AC=new sq(5),Bta=new Wr(1);var Cta=new Map([[0,"gm/public"],[1,"gm/supervised_user_circle"],[2,"gm/question_answer"],[4,"gm/email"],[5,"gm/drive_document"],[6,"gm/language"]]),Dta=new Map([[5,"Help article"],[2,"Community Post"],[3,"Troubleshooter"]]),Eta=new Map([[5,"Check status"],[3,"Get started"]]);function BC(a,b){b=b===void 0?0:b;Wp.call(this);var c=this;this.o=a;this.kd=b;this.qa=[];var e=Bg(this.o,hm,6,Zf()).length>0;a=Bg(this.o,hm,1,Zf()).length>0;var f;this.nextPageToken=(f=Tg(this.o,7))!=null?f:"";this.oa=Bg(this.o,hm,6,Zf()).map(function(h){return new pC(h,c.kd++)});
a?this.results=Bg(this.o,hm,1,Zf()).map(function(h,k){h=new pC(h,c.kd++);e||k!==1?e&&k===0&&CC(c):CC(c);return h}):(CC(this),this.results=[]);
this.o.Rb()?this.ma=this.o.Rb():this.ma=this.rd().length>0?this.rd()[0].Rb():this.Sd().length>0?this.Sd()[0].Rb():this.qa.length>0?this.qa[0].Rb():""}
t(BC,Wp);BC.prototype.rd=function(){return this.results};
BC.prototype.Sd=function(){return this.oa};
BC.prototype.Yi=function(){var a;return(a=this.o.Yi())!=null?a:""};
function Fta(a){return a.results.filter(function(b){var c;return!((c=vC(b)[0])==null||!mm(c.o))}).length}
function Gta(a){var b;return((b=Kg(a.o,2))!=null?b:0)>a.rd().length}
function CC(a){var b,c;a.qa=(c=(b=zg(a.o,nm,15))==null?void 0:Bg(b,hm,1,Zf()).map(function(e){return new pC(e,a.kd++)}))!=null?c:[]}
;function DC(a){Wp.call(this);this.metadata=a}
t(DC,Wp);DC.prototype.getStartIndex=function(){var a,b;return(b=(a=this.metadata.searchQuery)==null?void 0:a.getStartIndex())!=null?b:0};
DC.prototype.getQuery=function(){var a,b;return(b=(a=this.metadata.searchQuery)==null?void 0:a.getQuery())!=null?b:""};function EC(a){return FC(a)>=Hta}
function GC(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 FC(a){switch(a){case 0:return Ita;case 30:return Jta;case 1:return HC;case 2:return Hta;case 3:return IC;case 4:return JC;case 5:return KC;case 20:return LC;case 10:return MC;case 100:return Kta;default:return Ita}}
l=GC.prototype;l.valueOf=function(){return this.rank};
l.getColor=function(){return rB().wc?this.o:this.qa};
l.Uc=function(){return this.icon};
l.getLabel=function(){return this.label};
l.getDescription=function(){return this.description};
var Ita=new GC(0,"#F1F3F4","#F1F3F4"),Jta=new GC(1,"#F1F3F4","#F1F3F4","#0b8043","#C4EED0",2,"Product Expert Alumni","Former Product Experts who are no longer members of the program"),HC=new GC(2,"#896E63","#896E63","#896E63","#B9ABA3",3,"Bronze Member","Community members with growing product knowledge who help other Google users by answers questions"),Hta=new GC(3,"#9E9E9E","#9E9E9E","#5F6368","#C4C7C5",4,"Silver Product Expert","Community members with intermediate product knowledge who help other Google users by answering questions"),
IC=new GC(4,"#FFB300","#F9AB00","#B06000","#F09D00",5,"Gold Product Expert","Community members with in-depth product knowledge who help other Google users by answering questions"),JC=new GC(5,"#77909D","#718792","#455A64","#E3E3E3",6,"Platinum Product Expert","Community members with advanced product knowledge who help other Google users and Product Experts "),KC=new GC(6,"#79A8FA","#79A8FA","#1A73E8","#A8C7FA",7,"Diamond Product Expert","Community members with product mastery who help other Google users and Product Experts"),
LC=new GC(7,"#4285F4","#669DF6","#1A73E8","#A8C7FA",9,"Community Specialist","Google partners who help ensure the quality of community content"),MC=new GC(8,"#4285F4","#669DF6","#1A73E8","#A8C7FA",10,"Community Manager"),Kta=new GC(9,"#4285F4","#669DF6","#1A73E8","#A8C7FA",10,"Google Employee","Google product team members and community managers");function NC(a){var b=a.model;var c=a.Tf===void 0?!1:a.Tf;a=a.Dy===void 0?!1:a.Dy;A.call(this,"sc.search.searchResultsList.searchResult.VideoResult");this.model=b;this.Tf=c;this.Dy=a;this.o=new aq({icon:"gm/play_circle",size:this.Tf?48:36})}
t(NC,A);NC.prototype.content=function(){var a=this;this.element("div","class",{root:!0,onebox:this.Tf,narrow:this.Dy},function(){Lta(a);Mta(a)})};
function OC(a){return a===8||a===9||a==="CT_COMMUNITY_VIDEO"||a==="CT_VIDEO"}
function PC(a){return a===8||a==="CT_COMMUNITY_VIDEO"?"Community video":a===9||a==="CT_VIDEO"?"Help video":""}
function QC(a,b){Gq(4,a,220,b===void 0?"":String(b))}
function Lta(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=mm(a.model.o))==null?void 0:(e=zg(c,fm,8))==null?void 0:(f=zg(e,em,4))==null?void 0:f.getUrl())!=null?h:""}else{var n,p,r,u;k=(u=(n=mm(a.model.o))==null?void 0:(p=zg(n,fm,8))==null?void 0:(r=zg(p,em,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=xC(a.model);b=xia(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=xC(a.model);c=xia(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",yia(b),b)})}
function Mta(a){a.element("div","class","text-content",function(){a.element("h2","class","title","aria-label",a.Tf?a.model.getTitle()+" ("+PC(rC(a.model))+")":a.model.getTitle(),a.model.getTitle());a.Tf||a.element("div","class","subtitle",uC(a.model,null));rC(a.model)===8&&(a.Tf||a.element("div","class","snippet",Nta.Xc(a.model.ke())),Ota(a));Pta(a)})}
function Ota(a){a.element("div","class","channel",function(){a.element("div","class","channel-title",wta(a.model));a.element("div","class","delimiter","aria-hidden","true","\u2022");var b=FC(uta(a.model));a.element("div","class","user-role",function(){b.Uc()&&a.element("div","class","role-icon","aria-hidden","true",new Rs({icon:b.Uc(),isDarkMode:jo(),size:14,title:b.getLabel()}));a.element("div","class","role-name",b.getLabel())})})}
function Pta(a){a.element("div","class","video-metadata",function(){var b,c;(c=(b=mm(a.model.o))==null?void 0:Rg(b,6))!=null&&c&&RC(a,"gm/verified","Verified",["verified-chip"]);RC(a,"gm/visibility",Qta.format(wC(a.model))+" views");RC(a,"gm/event_available",Es({gG:vta(a.model)/1E3,style:1}))})}
function RC(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 aq({icon:b,size:16}));a.element("div","class","chip-text",c)})}
var Qta=new sq(5),Nta=(new Kn).build();function SC(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.Tv===void 0?new Map:a.Tv;a=a.Ju===void 0?0:a.Ju;A.call(this,"sc.symptoms.Symptoms");this.ma=Ao("workflow__full-layout")==="true";this.isRendered=this.o=!1;this.symptoms=b;this.limit=c;this.helpcenterName=e;this.Tv=f;this.Ju=a}
t(SC,A);SC.prototype.getURL=function(a){var b;a=(b=Tg(a,1))!=null?b:"";return a!==""&&this.Tv.has(a)&&(b=this.Tv.get(a))?b:""};
SC.prototype.content=function(){var a=this,b=Bg(this.symptoms,pm,1,Zf()).filter(function(c){var e;return((e=Tg(c,2))==null?void 0:e.trim())!==""});
this.element("div","class","root",function(){a.element("div","class","container",function(){switch(a.Ju){case 0:Rta(a,b);break;case 1:for(var c=0;ca.limit}
function Vta(a){if(TC(a)){a.o=!a.o;a.Ja();var b=a.o;Gq(b?2:3,a.helpcenterName+"_symptoms_view_"+(b?"more":"less"),b?96:97)}}
function UC(a,b){Gq(35,a.helpcenterName+"_symptoms_click_"+Tg(b,1)+(b.getActive()?"_active":""),98);b.getActive()||(a=a.getURL(b).split("?"),b="?"+a[1],b=kB(b),Vq(""+a[0]+b))}
;var VC;Nea("A AREA BUTTON HEAD INPUT LINK MENU META OPTGROUP OPTION PROGRESS STYLE SELECT SOURCE TEXTAREA TITLE TRACK".split(" "));
function Wta(a,b,c){Array.isArray(c)&&(c=c.join(" "));var e="aria-"+b;c===""||c==void 0?(VC||(c={},VC=(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=VC,b in c?a.setAttribute(e,c[b]):a.removeAttribute(e)):a.setAttribute(e,c)}
;function WC(a){Vt.call(this);this.o=a||Wo();this.ma={};this.qa={}}
wb(WC,Vt);WC.prototype.Ke=function(){Po(this.ma,this.o.removeNode,this.o);this.qa=this.o=this.ma=null;WC.Ph.Ke.call(this)};
function XC(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",Wta(e,"live",c),Wta(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);$ea(e,f)}
;function Xta(a){return(a=a.match(/^\w{2,3}([-_]|$)/))?a[0].replace(/[_-]/g,""):""}
;function ZC(a){this.o=a;this.qa=this.Ca=null;this.ma=[];this.va=document.createElement("input");this.Fa=this.ua=-1;this.Qa=this.nu.bind(this);this.Ma=Go(this.QE.bind(this),150);this.Sa=this.Ha=this.Ia=0;this.ya=!1;this.Pa=0;this.Ka=new Vs;Yta(this)}
function Yta(a){a.oa=document.createElement("div");a.oa.className=a.o.className;Rn(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){Tn(this.qa,"sc-select-show")?e.target==this.qa||this.qa.contains(e.target)||this.nu():e.button==0&&$C(this)}.bind(a));
a.oa.addEventListener("keydown",a.tM.bind(a));a.Ca=document.createElement("span");a.oa.appendChild(a.Ca);var b=document.createElementNS("http://www.w3.org/2000/svg","svg");b.setAttribute("viewBox","0 0 48 48");var c=document.createElementNS("http://www.w3.org/2000/svg","path");c.setAttribute("d","M14 20l10 10 10-10z");b.appendChild(c);a.oa.appendChild(b);a.qa=document.createElement("ol");a.qa.setAttribute("role","listbox");a.qa.addEventListener("mousemove",function(){this.ya=!0}.bind(a));
io()||a.qa.addEventListener("scroll",function(){this.Pa>0?this.Pa--:this.QE()}.bind(a));
a.oa.appendChild(a.qa);Zta(a);$ta(a);a.o.addEventListener("optionschange",function(){return void $ta(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 aua(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&&cp(this.oa);this.qa=this.Ca=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 ZC(b)};function bD(a){this.Aa=qf(a)}
t(bD,di);bD.prototype.setButton=function(a){return Cg(this,Sl,1,a)};
var eua=pk(bD);bD.prototype.Ba=nk([0,Wl]);function cD(a){this.Aa=qf(a)}
t(cD,di);cD.prototype.Ss=function(a,b){Fg(this,1,Pl,a,b)};
cD.prototype.df=function(a,b){return Xf(this,1,Pl,a,b)};cD.prototype.Ba=nk([0,bk,Vl]);function dD(a){this.Aa=qf(a)}
t(dD,di);var fua=[0,gk,y,-1];dD.prototype.Ba=nk(fua);function eD(a){this.Aa=qf(a)}
t(eD,di);eD.prototype.getHeading=function(){return $g(this,2)};
eD.prototype.setHeading=function(a){return th(this,2,a)};
var gua=pk(eD);eD.prototype.Ba=nk([0,bk,fua,y,gk,1,y]);var fD=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 hua(){var a=this;this.o=function(){};
this.ma=function(b){if("detail"in b){b=eua(b.detail.action);var c,e;if((c=zg(b,Sl,1))==null?0:(e=Tl(c))==null?0:jh(e,10,Rl)!=null){var f,h,k=(f=zg(b,Sl,1))==null?void 0:(h=Tl(f))==null?void 0:ih(h,10,Rl);(f=k&&k!==null?k.startsWith("url:")?k.replace("url:",""):k:"")&&a.qa(f)}else{var n,p;if((n=zg(b,Sl,1))==null?0:(p=Tl(n))==null?0:Rf(p,Ol,17,Rl)){var r;if(f=(k=zg(b,Sl,1))==null?void 0:(r=Tl(k))==null?void 0:kh(r,Ol,17,Rl))h=Tg(f,2),f=Sg(f,1),h&&f&&a.qa("/"+h+"/workflow/"+f)}}}};
this.oa=function(){var b=fD.get(1);b=new CustomEvent(b,{bubbles:!0,cancelable:!0});window.document.body.dispatchEvent(b)};
this.qa=function(b){Vq(b,{Jd:!0})};
window.document.body.addEventListener(fD.get(6),this.oa);window.document.body.addEventListener(fD.get(5),this.o);window.document.body.addEventListener(fD.get(2),this.ma)}
var iua;function gD(){iua===void 0&&(iua=new hua)}
hua.prototype.dispose=function(){window.document.body.removeEventListener(fD.get(2),this.ma);window.document.body.removeEventListener(fD.get(6),this.oa);window.document.body.removeEventListener(fD.get(5),this.o)};
window.sc_initSmartButtonController=function(){gD()};function hD(a,b){a=a===void 0?95:a;b=b===void 0?133:b;A.call(this,"sc.shared.ErrorSvg");this.o=new Os("error_computer.svg");this.height=a;this.width=b}
t(hD,A);hD.prototype.content=function(){var a=this;this.element("div","style",{width:this.width+"px",height:this.height+"px"},function(){a.o.render()})};function jua(a){this.ma=a;this.o=null}
jua.prototype.Md=function(a){var b=this;this.o===null&&(this.o=setTimeout(function(){b.o!==null&&(b.o=null,b.ma())},a))};function kua(){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=gua(b.detail);a.ma(b)}}
l=kua.prototype;l.sendInitCompleteEvent=function(){console.log("[Smart Buttons] Broadcasting init");iD(4)};
l.sendButtonAction=function(a,b){a={action:a==null?void 0:a.serialize(),buttonClientRect:b};iD(2,a)};
l.sendDescribeEvent=function(a){var b=new cD;a=x(a);for(var c=a.next();!c.done;c=a.next())b.Ss(c.value);b={action:b.serialize(),buttonClientRect:void 0};iD(5,b)};
l.sendButtonsRenderedEvent=function(){iD(6)};
l.initHandshakeListener=function(a){this.o=a;window.document.body.addEventListener(fD.get(1),this.o)};
l.initStateUpdateListener=function(a){this.ma=a;window.document.body.addEventListener(fD.get(3),this.qa)};
l.dispose=function(){window.document.body.removeEventListener(fD.get(3),this.qa);this.o&&window.document.body.removeEventListener(fD.get(1),this.o)};
function iD(a,b){a=fD.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({DV:0,AV:1,vV:2,yV:3,wV:4,zV:5,xV:6});function jD(a,b){this.o=a;this.metadata=b}
jD.prototype.getMetadata=function(){return this.metadata};
jD.prototype.Nd=function(a){this.o(a)};
function kD(){var a=this;this.ma=new Map;this.qa=function(){a.o.sendButtonsRenderedEvent()};
this.o=new kua;lua(this)}
var lD;function mua(){if(lD&&!nua)return lD;lD=new kD;nua=!1;var a=lD;a.o.initHandshakeListener(a.ua.bind(a));a.o.initStateUpdateListener(a.oa.bind(a));a.o.sendInitCompleteEvent();return lD}
function oua(a,b,c,e){if(b==="")throw Error("Smart Button guid key is empty");a.ma.has(b)||a.ma.set(b,new jD(e,c))}
kD.prototype.oa=function(a){var b,c=(b=$g(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.Nd(a)};
kD.prototype.ua=function(){console.log("[Smart Buttons] Received Handshake");var a=[];this.ma.forEach(function(b){a.push(b.getMetadata())});
this.o.sendDescribeEvent(a)};
kD.prototype.dispose=function(){this.o.dispose();this.ma.clear();var a;(a=Ep().querySelector(".workflow"))==null||a.removeEventListener("dynamicFormRendered",this.qa)};
function lua(a){var b;(b=Ep().querySelector(".workflow"))==null||b.addEventListener("dynamicFormRendered",a.qa)}
var nua=!1;function mD(a){var b=a.buttonTitle;var c=a.contentId;var e=a.helpcenterName;var f=a.Di;a=a.Mz===void 0?!0:a.Mz;A.call(this,"sc.smart_button.FatalErrorButton");this.o=new hD;this.buttonTitle=b;this.contentId=c;this.helpcenterName=e;this.Di=f;this.Mz=a}
t(mD,A);mD.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.Mz&&a.element("div","class","^no-margin feedback-link",a.Di);a.element("div","class","^no-margin detail",function(){a.buttonTitle!==""&&a.element("div","class","^no-margin",(new Bq("The button title is {buttonTitle}.")).format({buttonTitle:a.buttonTitle}));
a.element("div","class","^no-margin",(new Bq("The content ID is {contentId}.")).format({contentId:a.contentId}));a.element("div","class","^no-margin",(new Bq("The help center name is {helpcenterName}.")).format({helpcenterName:a.helpcenterName}))})})});
pua(this)};
function pua(a){var b,c;(c=(b=window).sc_trackStatsImpressions)==null||c.call(b,[{type:99,id:a.contentId+"_button_"+a.buttonTitle}],!0)}
;var qua=new Map([[1,"good"],[2,"error"]]);function nD(){A.call(this,"sc.smart_button.Icon");this.o=!1}
t(nD,A);function oD(a,b,c,e){a.ma=b;a.state=c;a.o=e===void 0?!1:e}
nD.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=qua.get(this.state);qua.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 pD(a){A.call(this,"sc.smart_button.SendFeedbackLink");var b=this;this.buttonTitle=a;this.o=function(){rua(b)};
this.ma=function(c){"key"in c&&(c.key===" "||c.key==="Enter")&&rua(b)}}
t(pD,A);pD.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)};
pD.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 rua(a){var b=Dv();b.set("smart_button_title",a.buttonTitle);Bv({payload:b,productId:Number(z().fbid)})}
;function qD(a){return(a==null?void 0:Ug(a,3))===2}
function sua(a){return(a==null?void 0:Ug(a,3))===1}
function tua(a){a=a==null?void 0:Bg(a,dD,1,Zf());if(a===void 0)return!1;a=x(a);for(var b=a.next();!b.done;b=a.next())if(rD(b.value))return!0;return!1}
function uua(a){a=sD(a);if(a.length===0)return!1;a=x(a);for(var b=a.next();!b.done;b=a.next())if(!rD(b.value))return!1;return!0}
function sD(a){return a===void 0?[]:(a==null?void 0:Bg(a,dD,1,Zf(Od)))||[]}
function rD(a){return a!==void 0&&Ug(a,1)!=null&&ah(a,1,0)!==0}
function vua(a){return a!==void 0&&Ug(a,1)!=null&&ah(a,1,0)===1}
function wua(a){return a!==void 0&&Ug(a,1)!=null&&ah(a,1,0)===2}
function xua(a){return a.filter(function(b){return wua(b)})}
;function tD(a,b){b=b===void 0?!1:b;A.call(this,"sc.smart_button.StateHeading");this.Di=a;this.yk=b;this.ua=[];this.headingState=0;this.icon=new nD}
t(tD,A);tD.prototype.content=function(){var a;!(qD(this.o)||sua(this.o)||((a=this.o)==null?0:a.getHeading())||uua(this.o))||yua(this)};
tD.prototype.Nd=function(a){this.o=a;this.ua=sD(this.o);if(qD(this.o))this.headingState=2;else if(sua(this.o))this.headingState=1;else if(xua(sD(this.o)).length>0)this.headingState=2;else{a:if(a=sD(this.o),a.length===0)a=!1;else{a=x(a);for(var b=a.next();!b.done;b=a.next())if(!vua(b.value)){a=!1;break a}a=!0}a?this.headingState=1:this.headingState=0}this.Ja()};
tD.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?qD(this.o)?"There was a problem while running actions. Please complete manually.":"":"There was a problem while running actions. Please review below."};
function zua(a){var b;if(a.o&&((b=a.o)==null?0:Ug(b,3)!=null)){var c;return(c=a.o)==null?void 0:ah(c,3,0)}return a.headingState===2?2:a.headingState===1?1:0}
function yua(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 aq({icon:"gm/check_circle_outline",size:24,Ee:["^no-margin"]})),oD(a.icon,a.ma,zua(a),!0),a.icon.render());a.headingState===2&&(a.oa===void 0&&(a.oa=new aq({icon:"gm/error_outline",size:24,Ee:["^no-margin"]})),oD(a.icon,a.oa,zua(a),!0),a.icon.render());
a.element("div","class","^no-margin heading","aria-live","polite",a.heading());a.headingState!==2||a.yk||a.element("div","class","^no-margin feedback-link",a.Di)})})}
;function uD(){A.call(this,"sc.smart_button.States");this.icon=new nD}
t(uD,A);uD.prototype.content=function(){var a=this,b=tua(this.o);b||this.element("ul","class","^no-margin");var c,e;(c=this.o)==null||(e=Bg(c,dD,1,Zf()))==null||e.forEach(function(f){Tg(f,2)!==""&&a.element("div","class","^no-margin state","tabindex","0",function(){b?(Aua(a,f),Bua(a,f,b),Cua(a,f)):a.element("ul","class","list",function(){a.element("li","class","list",function(){Bua(a,f,b)})})})})};
uD.prototype.He=function(){return sD(this.o).length>0};
uD.prototype.Nd=function(a){this.o=a;this.Ja()};
function Cua(a,b){if($g(b,3)){a.ua===void 0&&(a.ua=new aq({icon:"gm/help_outline",size:16,Ee:["^no-margin"]}));var c=new Iv({content:function(){Kp("div","style",{"max-width":"200px","max-height":"200px","overflow-x":"hidden","overflow-y":"auto"},function(){var f;Ap((f=$g(b,3))!=null?f:"")})},
Qh:!0,wl:"placement-start",eq:"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 Aua(a,b){rD(b)&&(vua(b)&&(a.ma===void 0&&(a.ma=new aq({icon:"gm/check_circle_outline",size:16,Ee:["^no-margin"]})),oD(a.icon,a.ma,Ug(b,1))),wua(b)&&(a.oa===void 0&&(a.oa=new aq({icon:"gm/error_outline",size:16,Ee:["^no-margin"]})),oD(a.icon,a.oa,Ug(b,1))),a.icon.render())}
function Bua(a,b,c){a.element("div","class",{"^no-margin":!0,text:!0,"text-pad":c},Tg(b,2))}
;function vD(a){A.call(this,"sc.smart_button.StandardButton");this.ma=this.oa=!1;this.ya=new Ct;this.states=new uD;this.Kf=a.Kf;this.title=a.title.trim();this.description=a.description.trim();this.value=a.value.trim();var b;this.va=new tD(a.Di,(b=a.yk)!=null?b:!1)}
t(vD,A);vD.prototype.Nd=function(a){this.states.Nd(a);this.va.Nd(a);this.ma=!1;this.Ja()};
vD.prototype.jh=function(a){this.ma=a;this.Ja()};
vD.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(){Dua(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 eq({disabled:a.oa,text:a.value||"Do it for me",style:4,trigger:function(){a.oa=!0;if(a.Kf&&a.o!==void 0){var b;(b=a.ua)==null||b.setDisabled(!0);a.Kf(a.o.getBoundingClientRect())}}});
a.ua.render()})})})};
function Dua(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 wD(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.Kf===void 0?void 0:a.Kf;A.call(this,"sc.smart_button.TakeMeThereButton");this.o=!1;this.Kf=a;this.title=b;this.description=c;this.value=e}
t(wD,A);wD.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 eq({disabled:a.o,text:a.value||"Do it for me",style:4,trigger:function(){a.o=!0;if(a.Kf&&a.oa!==void 0){var c;(c=a.ma)==null||c.setDisabled(!0);a.Kf(a.oa.getBoundingClientRect())}}});
a.ma.render()})})})};
wD.prototype.Nd=function(){};
wD.prototype.jh=function(){};function xD(a){var b=a.Pj;var c=a.button===void 0?void 0:a.button;var e=a.contentId;var f=a.yk===void 0?!1:a.yk;var h=a.helpcenterName;var k=a.kI;var n=a.JZ;var p=a.Um===void 0?!1:a.Um;var r=a.qy===void 0?!0:a.qy;a=a.Kf===void 0?void 0:a.Kf;A.call(this,"sc.smart_button.SmartButton");var u=this;this.ma=this.va=!1;this.Um=p;this.smartButton=c===void 0&&b!==""?Kca(b||""):c||new Sl;r&&Pf(this.smartButton,Ql,1)?Nf(this.smartButton,2):Pf(this.smartButton,Nl,2)&&Nf(this.smartButton,1);this.contentId=e;this.helpcenterName=
h;this.yk=f;b=yD(this);this.Di=new pD(b);var w;this.ua=(w=Tl(this.smartButton))==null?void 0:Ug(w,1);this.button=Eua(this);this.ua!==3&&(this.kI=k===void 0?new mD({Di:this.Di,buttonTitle:b,contentId:this.contentId,helpcenterName:h,Mz:!this.yk}):k,this.timer=n===void 0?new jua(function(){u.ma=!0;u.Ja()}):new n(function(){u.ma=!0;
u.Ja()}),a&&(this.Kf=a))}
t(xD,A);function zD(a){a.o=mua();oua(a.o,Fua(a),Gua(a),function(b){a.Nd(b)})}
l=xD.prototype;l.content=function(){var a;if((a=Tl(this.smartButton))!=null&&Pf(a,Pl,19)){var b;a=Vg((b=Tl(this.smartButton))==null?void 0:zg(b,Pl,19),1,!0)}else a=!0;if(a)if(this.ma){var c;(c=this.kI)==null||c.render()}else if(this.button.render(),!this.Um){var e,f;(f=(e=window).sc_trackStatsImpressions)==null||f.call(e,[{type:93,id:AD(this)}],!0)}};
l.dispose=function(){if(this.smartButton){var a;if((a=this.o)!=null){var b=Fua(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.Di)==null||c.dispose()}};
l.Nd=function(a){var b;(b=this.timer)!=null&&b.o!==null&&(clearTimeout(b.o),b.o=null);if(!uua(a)){var c;(c=this.timer)==null||c.Md(6E4)}this.button.jh(!1);this.button.Nd(a);this.Ja();a=x(Bg(a,dD,1,Zf()));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.Um)switch(Ug(b.value,1)){case 0:(p=(r=window).sc_trackStatsEvent)==null||p.call(r,130,0,AD(this));break;case 1:(k=(n=window).sc_trackStatsEvent)==null||k.call(n,130,10,AD(this));break;
case 2:(f=(h=window).sc_trackStatsEvent)==null||f.call(h,130,21,AD(this));break;default:(c=(e=window).sc_trackStatsEvent)==null||c.call(e,130,0,AD(this))}}};
function Eua(a){return a.ua===3?new wD({title:yD(a),description:a.getDescription(),value:a.getValue(),Kf:function(b){a.wd(b)}}):new vD({title:yD(a),
description:a.getDescription(),value:a.getValue(),yk:a.yk,Di:a.Di,Kf:function(b){a.wd(b)}})}
l.wd=function(a){this.va=!0;var b;(b=this.Kf)==null||b.call(this);this.button.jh(!0);var c;(c=this.timer)==null||c.Md(6E4);(b=this.o)!=null&&(this.oa||(this.oa=new bD,this.oa.setButton(this.smartButton)),c=this.oa,b.o.sendButtonAction(c,a));this.Ja();if(!this.Um){var e,f;(f=(e=window).sc_trackStatsEvent)==null||f.call(e,93,35,AD(this))}};
function yD(a){if(Pf(a.smartButton,Ql,1)){var b;return((b=Tl(a.smartButton))==null?void 0:$g(b,2))||""}var c;return((c=zg(a.smartButton,Nl,2))==null?void 0:c.getTitle())||""}
l.getDescription=function(){if(Pf(this.smartButton,Ql,1)){var a;return((a=Tl(this.smartButton))==null?void 0:a.getDescription())||""}var b;return((b=zg(this.smartButton,Nl,2))==null?void 0:b.getDescription())||""};
l.getValue=function(){if(Pf(this.smartButton,Ql,1)){var a;return((a=Tl(this.smartButton))==null?void 0:a.getValue())||""}var b;return((b=zg(this.smartButton,Nl,2))==null?void 0:b.getValue())||""};
function Fua(a){if(Pf(a.smartButton,Ql,1)){var b,c,e;return(e=(b=Tl(a.smartButton))==null?void 0:(c=zg(b,Pl,19))==null?void 0:$g(c,3))!=null?e:""}var f;if((f=zg(a.smartButton,Nl,2))==null?0:yh(f,20)){var h,k;return(k=(h=zg(a.smartButton,Nl,2))==null?void 0:$g(h,20))!=null?k:""}throw Error("No smart button guid found.");}
function Gua(a){var b=new Pl,c;if((c=Tl(a.smartButton))==null||!Pf(c,Pl,19))return b;var e;c=(e=Tl(a.smartButton))==null?void 0:zg(e,Pl,19);e=Vg(c,1,!0);ph(b,1,e);e=nh(c,2);th(b,2,e);c=nh(c,3);th(b,3,c);th(b,4,a.contentId.toString());th(b,5,a.helpcenterName);return b}
function AD(a){return a.contentId+"_button_"+yD(a)}
;function Hua(a){try{return(new URL(a)).pathname}catch(b){return a}}
ub("sc.smart_journey_survey.initialize",function(a,b){a=Hua(a);iq("sj-recommendations-survey-pathname")===a&&(pt(new ot,{triggerId:b,productData:{customData:{triggerPoint:"Survey at SJ1 recommendation destination"}}}),jq("sj-recommendations-survey-pathname"))});function BD(a){Wp.call(this);this.ariaLabel=this.text="";this.checked=this.disabled=this.ariaHidden=!1;this.tabIndex=0;this.zf(a)}
t(BD,Wp);l=BD.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.ye;this.checked=b;this.text=c;this.ariaLabel=e;this.disabled=f;this.tabIndex=h;this.content=n;this.ye=a;this.ariaHidden=k};
l.getText=function(){return this.text};
l.getContent=function(){return this.content};
l.je=function(){return this.ariaLabel};
l.isChecked=function(){return this.checked};
function CD(a,b){if(a.isChecked()!==b){a.checked=b;var c;(c=a.ye)==null||c.call(a,b);a.Ea(0)}}
;function DD(a){a=a===void 0?{}:a;A.call(this,"sc.shared.MaterialCheckbox");this.id=Rp();this.model=a instanceof BD?a:new BD(a);this.overlay=new bq({Yp:!0});this.o=null;this.watch(this.model)}
t(DD,A);DD.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.je(),"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?Ap(c):e&&e()})};
DD.prototype.onChange=function(){this.o&&CD(this.model,this.o.checked)};
DD.prototype.isChecked=function(){return this.model.isChecked()};function ED(a){var b=a.forumId;var c=a.forumName;var e=a.Dj===void 0?0:a.Dj;var f=a.Ta===void 0?new kC:a.Ta;a=a.Da===void 0?null:a.Da;A.call(this,"sc.tailwind.thread_list.subscription_dialog.SubscriptionDialog");var h=this;this.ua=new Dt;this.cancelButton=new eq({text:"Cancel",style:3,trigger:function(){h.uj();h.close()}});
this.va=new eq({text:"Update preferences",style:4,trigger:function(){Iua(h);h.close()}});
this.Ca=new Map;this.ma=new Map;this.Ta=f;this.forumId=b;this.forumName=c;this.Da=a;this.o=e===2;this.oa=new Gt({content:function(){h.render()}});
this.ya=[{subscription:2,text:"New announcements from the "+this.forumName+" team"}];this.ma=Jua(this);this.Ca.set(2,3)}
t(ED,A);l=ED.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={QJ:void 0},c=b.next())e.QJ=c.value,a.element("div","class","radio-label",function(f){return function(){f.QJ.render()}}(e))},
Zh:function(){Kua(a)}})})};
l.open=function(){this.oa.open()};
l.close=function(){this.oa.close()};
l.Ua=function(){this.oa.Ua()};
function Jua(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 DD({text:e.text,checked:a.o}));return b}
function Kua(a){a.element("div","class","buttons",function(){a.cancelButton.render();a.va.render()})}
function Iua(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.Ta.subscribeToForum(a.forumId,c),4)}if(h.o!=2)return a.o=(e=b.isChecked())!=null?e:!1,Ft().open({message:"Notification preferences updated successfully"}),(f=a.Da)==null||f.XL(b.isChecked()?2:0),Ra(h,0);Sa(h);Ft().open({message:"Error: Notification preferences not updated"});Oa(h)})}
l.uj=function(){var a=this.ma.get(2);a&&a.isChecked()!==this.o&&CD(a.model,this.o)};function FD(a){this.Aa=qf(a)}
t(FD,di);FD.prototype.Ba=nk([0,Yj,y]);function GD(a){this.Aa=qf(a)}
t(GD,di);l=GD.prototype;l.getId=function(){return Tg(this,1)};
l.setId=function(a){return th(this,1,a)};
l.getName=function(){return Tg(this,2)};
l.Gf=function(){return Tg(this,2)};
l.setName=function(a){return th(this,2,a)};
l.getLanguage=function(){return Tg(this,3)};
l.setLanguage=function(a){return th(this,3,a)};
l.getContent=function(){return Tg(this,4)};
l.setContent=function(a){return th(this,4,a)};
l.clearContent=function(){return Nf(this,4)};var Lua=[0,y,-3];GD.prototype.Ba=nk(Lua);function HD(a){this.Aa=qf(a)}
t(HD,di);HD.prototype.Ba=nk([0,bk,Lua]);function ID(a){var b=a.jc===void 0?null:a.jc;var c=a.Xx;var e=a.Yx===void 0?rB().experimentIds.includes(46):a.Yx;var f=a.Zx===void 0?rB().experimentIds.includes(47):a.Zx;a=a.Bx===void 0?!0:a.Bx;A.call(this,"sc.tailwind.thread.hero.HeroAttachment");this.jc=null;this.ua=this.va.bind(this);this.Yx=e;this.Zx=f;this.Bx=a;this.Xx=c;this.Zx&&b?(this.jc=b,b=mq("play")===this.jc.getId(),this.o=new wB({Hb:this.jc,playerVars:Object.assign({},vB,{hl:qB!==void 0&&sB()?tB():this.jc.getLanguage(),autoplay:b?1:0,
cc_load_policy:this.Bx?1:0})}),this.watch(this.jc),JD(this)&&window.addEventListener("resize",this.ua)):this.Yx&&this.Xx&&(this.oa=Tg(this.Xx,1))}
t(ID,A);ID.prototype.onDetach=function(){this.jc&&Qp(this,this.jc);JD(this)&&window.removeEventListener("resize",this.ua)};
ID.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":JD(a)},function(){a.o.render();a.o.load()})}),JD(this)&&this.va()):this.oa&&this.element("img","class","hero-image","src",this.oa,"alt","")};
function JD(a){var b;return((b=a.jc)==null?void 0:b.url.indexOf("/shorts/")===-1?0:1)===1}
ID.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 Mua=[0,y,-1];function KD(a){this.Aa=qf(a)}
t(KD,di);KD.prototype.getTitle=function(){return $g(this,1)};
KD.prototype.setTitle=function(a){return th(this,1,a)};
KD.prototype.Wb=function(){return $g(this,2)};
KD.prototype.Rc=function(a){return th(this,2,a)};var Nua=[0,y,-1,bk,Mua];KD.prototype.Ba=nk(Nua);function LD(a){this.Aa=qf(a)}
t(LD,di);LD.prototype.Ba=nk([0,y,gk,y]);function Ig(a){this.Aa=qf(a)}
t(Ig,di);var MD=[0,y,-1,Vj,y,Vj];Ig.prototype.Ba=nk(MD);function ND(a){this.Aa=qf(a)}
t(ND,di);ND.prototype.removeNode=function(a){return Hg(this,a)};
var Oua=pk(ND);ND.prototype.Ba=nk([0,bk,MD]);function OD(a){this.Aa=qf(a)}
t(OD,di);OD.prototype.getQuery=function(){return Tg(this,1)};
OD.prototype.setQuery=function(a){return th(this,1,a)};OD.prototype.Ba=nk([0,y,gk,y]);function PD(a){this.Aa=qf(a)}
t(PD,di);PD.prototype.removeNode=function(a){return Hg(this,a)};
var Pua=pk(PD);PD.prototype.Ba=nk([0,bk,MD]);function QD(a){var b=a.items;var c=a.messages;var e=a.Mk===void 0?void 0:a.Mk;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;A.call(this,"hcfe.SearchSelect.Menu");var p=this;this.ua=this.ma=!1;this.Mk=e;this.items=b;this.messages=c;this.yv=-Infinity;this.xv=Infinity;this.maxWidth=n;this.Nj=a;this.popup=new ts({content:function(){Qua(p)},
Ii:4,lc:f,mc:h,Vp:!0,onClose:k})}
t(QD,A);l=QD.prototype;l.content=function(){this.popup.render()};
function Qua(a){a.element("div","class",{root:!0,"root-loading":a.ma},function(){a.messages.WJ&&a.element("div","class","menu-label",a.messages.WJ);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.yF,"oninput",function(){var b;(b=a.Mk)==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 aq({icon:"gm/search"}));
a.va.render()})});
a.element("div","class","scroll-container","style",{minHeight:a.yv>-Infinity?a.yv+"px":null,maxHeight:a.xv0)switch(a.items[0].state){case 4:Rua(a);break;case 3:Sua(a);break;case 5:Tua(a);break;default:a.Jm(a.items,0)}})})}
function Sua(a){a.element("div","class","search-message-container",function(){a.element("div","class","search-inner search-error",function(){a.o!=null||(a.o=RD());a.o.render();a.element("div","data-error-message","true","tabindex","0",function(){a.element("div","class","search-message-heading",a.messages.tF);a.element("div",a.messages.uF)})})})}
function Tua(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=RD());a.o.render()});
a.element("div","data-error-message","true","tabindex","0",function(){a.element("div","class","search-message-heading",a.messages.vF);a.element("div",a.messages.wF)})})})}
function Rua(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=RD());a.o.render()});
a.element("div","data-error-message","true","tabindex","0",function(){a.element("div","class","search-message-heading",a.messages.ZD);a.element("div",a.messages.xF)})})})}
function RD(){return new aq({icon:"gm/error_outline"})}
l.jh=function(a){this.ma=a;this.Ja()};
l.Jm=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=Uua(f.Hf))?"true":f.Hf.Eh?"false":null,k=void 0;this.element("button","type","button","role","option","class",{item:!0,highlight:!0,alternatingRowColor:this.Nj,unclickable:f.Hf.mG},"disabled",f.Hf.disabled,"data-index",(k=f.Hf.index)!=null?k:"","aria-expanded",h,"onclick",function(n){return function(){n.Hf.mG||n.Hf.trigger()}}(f),"onkeydown",function(n){return function(p){n.Hf.mG||
p.key!=="Space"&&p.key!=="Enter"||n.Hf.trigger()}}(f),function(n){return function(){Vua(c,n.Hf.icon);
c.element("span","class","item-label",function(){typeof n.Hf.value==="string"?Lp(n.Hf.value):typeof n.Hf.value==="function"&&n.Hf.value()})}}(f));
e&&this.Jm(f.Hf.items,++b)}};
function Vua(a,b){b&&a.element("div","class","icon",new aq({icon:b,size:24}))}
function Wua(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.Qe;var e=a.Ge;var f=a.Ob;var h=a.yv;a=a.xv;h===void 0&&(h=-Infinity);a===void 0&&(a=Infinity);h>a&&a!==Infinity&&(a=h);this.yv=h;this.xv=a;this.Ja();this.popup.open({anchor:b,Qe:c,Ge:e,Ob:f})};
l.close=function(){this.popup.close()};
function Uua(a){return!!a.Jm&&Array.isArray(a.items)&&a.items.length>0}
;function Xua(a,b,c){var e,f;return Ya(function(h){e=new LD;th(e,1,a);th(e,3,b);c&&vh(e,2,c);f=e.serialize();return h.return(new Promise(function(k,n){eo({endpoint:"cidgettree",params:Yua(),httpMethod:"POST",requestBody:f,onLoadCallback:function(p){var r=null;try{r=Oua(p.responseText),k(Bg(r,Ig,1,Zf()).map(function(u){return Zua(u,!0)}))}catch(u){n(u)}},
Kd:function(){n()}})}))})}
function $ua(a,b,c){var e,f;return Ya(function(h){e=new OD;e.setQuery(a);th(e,3,b);c&&vh(e,2,c);f=e.serialize();return h.return(new Promise(function(k,n){eo({endpoint:"cidsearch",params:Yua(),httpMethod:"POST",requestBody:f,onLoadCallback:function(p){var r=null;try{r=Pua(p.responseText),k(Bg(r,Ig,1,Zf()).map(function(u){return Zua(u,!1)}))}catch(u){n(u)}},
Kd:function(){n()}})}))})}
function Zua(a,b){return{Pd:Tg(a,1)||"",PP:Tg(a,4)||"",accountName:Tg(a,2)||"",isMcc:b?!!Rg(a,3):!1,state:0,isEligible:!!Rg(a,5)}}
function Yua(){return{v:1,origin_page_type:z().pt}}
;function SD(a){var b=a.items;var c=a.Av;var e=a.My;var f=a.Fz;var h=a.Mk;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;A.call(this,"hcfe.SearchSelect.Select");var r=this;this.ma=this.focused=this.active=!1;this.oa=new aq({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,Ob:a,yv:f,xv:h===null||h===void 0?Infinity:Math.min(window.innerHeight-h-175,250)})}};
l.close=function(){this.menu.close()};var TD=/[^0-9]/g,dva=Qs()?200:264,eva={placeholder:"Google Ads account"},fva={yF:"Search for accounts",ZD:"No accounts found",tF:"Something went wrong",uF:"Can\u2019t find accounts. Try searching again.",vF:"Type at least 3 characters to get results",wF:"Search for account name or number",xF:"Try searching for a different name or number"},gva={yF:"Search for accounts",ZD:"No accounts found",tF:"Something went wrong",uF:"Can\u2019t find accounts. Try searching again.",vF:"Type at least 3 characters to get results",
wF:"Search for account name or number",xF:"Try searching for a different name or number",WJ:"EXPAND THE MANAGER ACCOUNT TO VIEW ANY ELIGIBLE SUB-ACCOUNTS"};
function UD(a){var b=a===void 0?{}:a;a=b.dQ===void 0?void 0:b.dQ;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.jI===void 0?"Google Ads Customer ID":b.jI;var k=b.frdId===void 0?void 0:b.frdId;var n=b.pageId===void 0?"":b.pageId;b=b.CJ===void 0?!1:b.CJ;A.call(this,"sc.shared.CidSelector");var p=this;this.Fc=f;this.Lq=h;this.Od=k;var r;this.Ca=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.Ca;this.xe=n;if(e){if(this.mb=e,a||c)throw Error("Cannot set defaultValue when fetchTree or search is set");}else this.md=a||Xua,this.Ij=c||$ua;this.oa=new Map;this.Ma=new Map;hva(this);this.ua=null;this.Qa=this.Va=0;this.ya=null;this.Ka=new Set;this.Ie=new aq({icon:"gm/arrow_drop_down"});this.Hj=new aq({icon:"gm/check"});this.dl=Mq(function(){iva(p)},1E3);
this.o=new SD({items:[],Av:eva,maxWidth:this.ma?"var(--wide-cid-selector-width)":void 0,My:this.Ca?gva:fva,Fz:new aq({icon:"gm/account_circle"}),Mk:this.dl,ariaRequired:this.Fc,Nj:this.ma&&Qs()});this.yc=null;this.qb=!1;this.Bb=this.Nb=this.Pa=this.Ia=null;this.Ha=!0;this.Sa=new Promise(function(E,la){p.Nb=E;p.Bb=la});
this.va="";this.mb&&(jva(this),this.va=this.mb.replace(TD,""));this.bl=Mq(function(){p.Ia&&p.Ia()},300)}
t(UD,A);UD.prototype.content=function(){var a=this;if(!this.qb)if(this.Pa&&(this.Pa.remove(),this.Pa=null),this.ua!==null){this.element("div","class",{root:!0,wide:this.ma},this.ua);this.ua.setText(this.va);this.Ha&&VD(this);var b;(b=this.ua.getElement())==null||b.setAttribute("data-help-center-field-element-id","fallback-textfield")}else this.yc?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.yc);a.element("div","class","legal-label","Only you can see this info")}):(WD(this),this.Pa=this.element("div","class","loading-spinner",function(){(new Ct({size:"mspin-small"})).render()}))};
function VD(a){if(a.Nb){a.Qa!==1||a.Va!==0||a.mb||a.oa.get("")[0].Pd===void 0||(a.va=a.oa.get("")[0].Pd.replace(TD,""),a.ya=a.oa.get("")[0]);var b={tL:a.va,cidCount:a.Qa,jZ:a.Va};a.Ha&&(a.Ha=!1,a.Nb(b))}}
function WD(a){return Ya(function(b){if(b.o==1){if(!a.md)return VD(a),b.return();a.qb=!0;return b.yield(XD(a),2)}a.yc=b.ma;a.qb=!1;VD(a);a.Ja();Oa(b)})}
function XD(a,b){b=b===void 0?!1:b;var c,e;return Ya(function(f){if(f.o==1)return c=kva(),e={Pd:""},a.oa.has("")?f.Na(2):f.yield(lva(a,""),2);mva(a,e,c,0,b,0);return f.return(c.items)})}
function mva(a,b,c,e,f,h){var k=f?a.Ma:a.oa;if(!k.has(b.Pd))return e;b=x(k.get(b.Pd));for(var n=b.next(),p={};!n.done;p={Df:void 0,MB:void 0},n=b.next()){p.Df=n.value;p.MB=e++;p.Df.isMcc?(a.Va++,bva(a.o)):a.Qa++;n=p.Df.Pd!=="";var r=p.Df.accountName;if(r===void 0||r.trim()==="")r="Google Ads account";r={value:function(u){return function(){return nva(a,u.Df,h,u.MB)}}(p),
Zf:function(u){return function(){return ova(a,u.Df)}}(p),
index:p.MB,trigger:pva(a,p.Df),items:[],selectable:n,Jm:a.Ka.has(p.Df.Pd),Eh:p.Df.isMcc,state:p.Df.state,ariaLabel:r+" "+p.Df.Pd,disabled:a.Ca&&!p.Df.isMcc&&!p.Df.isEligible,mG:a.Ca&&p.Df.isMcc};c.items.push(r);k.has(p.Df.Pd)&&n&&(e=mva(a,p.Df,r,e,f,h+1))}return e}
function nva(a,b,c,e){var f=b.state===0,h=a.ma?dva: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.Ca&&!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(){qva(a,0,c,b.accountName);if(f){var E=b.accountName;E.trim()===""&&(E="Google Ads account");var la=a.element("div","class",{account:!0,text:!0,wide:a.ma,"show-eligibility-chip":a.Ca,disabled:u},E);a.ma||(la.style.maxWidth=n);(new ws({text:E,hn:4,
trigger:la})).render()}else a.element("div","class",{account:!0,text:!0,wide:a.ma},function(){rva(a)}).style.width=a.ma?"19rem":n});
f&&(a.element("div","class",{value:!0,text:!0,disabled:u},b.Pd),a.ma&&a.Ca&&a.element("div","class","eligible-chip-container",function(){a.element("div","class","eligible-chip",function(){b.isEligible&&(new Bt({disabled:!0,size:"mspin-small",selected:!0,style:1,text:"Eligible",Cs:"^scSharedCidselectoreligible-text"})).render()})}))});
r=a.Ka.has(b.Pd);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(E){sva(a,E,b,e)},"onkeydown",function(E){sva(a,E,b,e)},function(){b.isMcc&&a.element("div",a.Ie)});
b.isMcc&&(w.tabIndex=0,w.setAttribute("aria-label",r?"Collapse account":"Expand account"))})}
function rva(a){var b=new aq({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 sva(a,b,c,e){"key"in b&&b.key!==" "&&b.key!=="Enter"||(b.preventDefault(),b.stopPropagation(),c.isMcc&&tva(a,c,e))}
function qva(a,b,c,e){b!=c&&(a.element("div","class","account-track"),qva(a,++b,c,e))}
function tva(a,b,c){var e,f,h;Ya(function(k){if(k.o==1){(e=a.Ka.has(b.Pd))?a.Ka.delete(b.Pd):a.Ka.add(b.Pd);f=a.oa.has(b.Pd);!e&&f&&(h=a.oa.get(b.Pd),h.length===1&&h[0].state!==0&&(a.oa.delete(b.Pd),f=!1));if(e||f)return k.Na(2);a.o.jh(!0);a.Ja();a.o.open({Ob:!0});return k.yield(lva(a,b.Pd),3)}k.o!=2&&a.o.jh(!1);uva(a,c);Oa(k)})}
function uva(a,b){var c,e,f;Ya(function(h){if(h.o==1)return c=a.o,e=c.Fj,h.yield(XD(a),2);e.call(c,h.ma);a.o.Ja();a.o.open({Ob:!0});(f=a.getElement().querySelector('button[data-index="'+b+'"]'))&&f.focus();Oa(h)})}
function ova(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.Pd)})}
function iva(a){var b,c,e,f,h,k,n;Ya(function(p){switch(p.o){case 1:b=Wua(a.o.menu);b=b===null?"":b.trim();if(b!==""){p.Na(2);break}hva(a);c=a.o;e=c.Fj;return p.yield(XD(a,!1),3);case 3:return e.call(c,p.ma),a.o.Ja(),a.o.open({Ob:!0}),p.return();case 2:f=[];if(b.length<3){f=[{state:5}];a.Ma.set("",f);p.Na(4);break}a.o.jh(!0);a.o.open({Ob:!0});Pa(p,5);return p.yield(a.Ij(b.trim(),a.xe,a.Od),7);case 7:f=p.ma;f.length===0&&(f=[{state:4}]);a.o.jh(!1);Ra(p,4);break;case 5:h=Sa(p),f=[{state:3}],a.o.jh(!1),
a.o.open({Ob:!0}),vva(h);case 4:return a.Ma.set("",f),k=a.o,n=k.Fj,p.yield(XD(a,!0),8);case 8:n.call(k,p.ma),a.o.Ja(),a.o.open({Ob:!0}),Oa(p)}})}
function pva(a,b){return function(){a.ya=b;a.o.close();a.Ia&&a.Ia()}}
UD.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.Pd)&&!a.includes(e)&&a.push(e)}return a};
function lva(a,b){var c,e;return Ya(function(f){if(f.o==1)return Pa(f,2),f.yield(a.md(b,a.xe,a.Od),4);if(f.o!=2){c=f.ma;if(!c||c.length==0)return wva(a,b,Error("No results")),f.return();a.oa.set(b,c);return Ra(f,0)}e=Sa(f);wva(a,b,e);Oa(f)})}
function wva(a,b,c){a.oa.set(b,[{state:2}]);a.Bb&&a.Ha&&(a.Ha=!1,a.Bb(c),jva(a));vva(c)}
function jva(a){a.ua=new It({placeholder:a.Lq,Bc:!0,Qc:function(){a.va=a.ua.getText().replace(TD,"");a.bl()},
ariaRequired:a.Fc})}
function vva(a){a=new CustomEvent("cid_selector_fetch_error",{detail:a});Ep().dispatchEvent(a)}
function hva(a){a.Ma.clear();a.Ma.set("",[kva()])}
function kva(){return{value:"",trigger:function(){},
items:[],state:0}}
;function YD(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.Te===void 0?!0:a.Te;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.Bc===void 0?!1:a.Bc;var E=a.ariaRequired===void 0?!1:a.ariaRequired;var la=a.ad===void 0?["self"]:
a.ad;var ma=a.Sc===void 0?"rem":a.Sc;var sa=a.oE===void 0?function(){}:a.oE;
var Aa=a.Yh===void 0?!1:a.Yh;var Ba=a.Nt===void 0?"":a.Nt;var Ga=a.er===void 0?void 0:a.er;a=a.Js===void 0?void 0:a.Js;A.call(this,"sc.shared.MaterialSelect");var Na=this;this.Ha=function(){return void xva(Na)};
this.Ia=function(){return void xva(Na)};
this.active=!1;this.ma="";this.ua=!0;this.Ca=function(Qa){Qa.code==="Escape"&&(Qa.stopPropagation(),Na.close())};
this.items=b;this.autoClose=u;this.label=c;this.labelId=Rp();this.Cn=Rp();this.minWidth=p;this.filled=h;this.disabled=k;this.Bc=w;this.Sc=ma;this.Ka=new aq({icon:"gm/arrow_drop_down",size:24,wb:!0,Sc:this.Sc});yva(this,r);this.maxHeight=n;this.er=Ga;this.va=new yt({label:e,dk:f,gr:48,disabled:k,filled:h,Aj:function(){return Na.Aj()},
Bc:w});this.ariaRequired=E;this.ad=la;this.oE=sa;this.Yh=Aa&&!k;this.Nt=Ba;this.Js=a;this.Yh&&(this.o=new It({Cf:!1,Fu:!1,onFocus:function(){var Qa;(Qa=Na.o)==null||Qa.setPlaceholder(Na.Nt);Na.open({Ob:!1})},
Qc:function(){var Qa;Na.ma=((Qa=Na.o)==null?void 0:Qa.getText())||"";Na.open({Ob:!1})},
fz:function(){Na.open({Ob:!0})}}));
this.menu=zva(this,b)}
t(YD,A);l=YD.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.Yh},"style",{"min-width":this.minWidth?this.minWidth:null},function(){a.oa=a.element("div","class",{root:!0,dense:a.Bc,disabled:a.disabled,active:a.active},"id",a.Cn,"tabindex",0,"aria-haspopup","listbox","aria-labelledby",Ava(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({Ob:!a.Yh}))},"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.Ka)});
a.oa.addEventListener("focusin",a.Ha);a.oa.addEventListener("focusout",a.Ia)});
if(this.ua)this.menu.render(),this.ya=void 0;else{var b;((b=this.o)==null?0:b.focused)&&this.Js&&(this.ya=this.element("label","class","warning-label",this.Js))}};
l.onDetach=function(){var a;(a=this.oa)==null||a.removeEventListener("focusin",this.Ha);var b;(b=this.oa)==null||b.removeEventListener("focusout",this.Ia)};
function Bva(a,b){a.menu=zva(a,b);a.Ja()}
l.open=function(a){var b=this;a=(a===void 0?{}:a).Ob;Bva(this,this.ma?this.items.filter(function(f){return typeof f.value==="string"?f.value.toLowerCase().includes(b.ma.toLowerCase()):typeof f.Zf==="string"?f.Zf.toLowerCase().includes(b.ma.toLowerCase()):!1}):this.items);
this.active=!0;this.o&&!a?this.o.focus():ZD(this);if(this.root){var c=this.root.getBoundingClientRect().width;this.menu.setWidth(c)}this.ua&&this.menu.open({anchor:this,Ob:a});var e;(e=this.getElement())==null||e.addEventListener("keydown",this.Ca);this.Ja()};
l.close=function(){this.menu.close();var a;(a=this.getElement())==null||a.removeEventListener("keydown",this.Ca)};
function $D(a){switch(typeof a.selection){case "function":var b;return(b=a.selection().textContent)!=null?b:"";case "string":return a.selection;default:return""}}
function ZD(a){var b;(b=a.oa)==null||b.focus()}
function xva(a){setTimeout(function(){var b=Sp(),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=$D(a),a.o.setText(a.ma),a.o.setPlaceholder(""),a.ya&&a.ya.remove()))},0)}
function Ava(a){return a.ad.map(function(b){return b==="self"?a.label?a.labelId+" "+a.Cn:a.Cn:b}).join(" ")}
l.Aj=function(){return!!this.selection};
l.Jb=function(){this.disabled||this.open({Ob:!1})};
function zva(a,b){a.ua=!a.Yh||!a.er||b.length<=a.er;if(!a.ua)return new ys({items:[]});b=Cva(a,b);return new ys({items:b,Bv:a.selection,Ii:4,lc:1,mc:4,onClose:function(){ZD(a);a.active=!1;a.Ja()},
maxHeight:a.Yh?"40vh":a.maxHeight,Wy:a.filled,Ys:!1})}
function Cva(a,b){return b.map(function(c){var e=Object.assign({},c,{trigger:function(){a.selection=c.Zf?c.Zf:c.value;typeof a.selection==="string"&&a.oE(a.selection);c.trigger&&c.trigger();a.Yh&&(a.ma=$D(a),a.close());a.autoClose&&a.close()}});
e.items&&Array.isArray(e.items)&&(e.items=Cva(a,e.items));return e})}
function yva(a,b){a.selection=b>=0&&b");Wp.prototype.onChange.call(this,function(){aE(e,a)})}else{var f="Notifying "+(c!=null?c:"");
Wp.prototype.onChange.call(this,a,function(){aE(f,b)})}};
l.Ea=function(a){var b=this,c;aE(this.qt+" sent "+((c=this.Ia[a])!=null?c:"UNKNOWN"),function(){return void Wp.prototype.Ea.call(b,a)})};var Dva=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 Eva(a,b){var c=a.St(),e=b.St();if(c&&e)return Fva(c,e);c=a.Xt();e=b.Xt();if(c&&e)return c.Ms()!==e.Ms()?!1:!c.Sx()&&!c.iJ()||!e.Sx()&&!e.iJ()?!0:c.JI()!==e.JI()||c.Ex()!==e.Ex()?!1:!0;a=a.Yt();b=b.Yt();return a&&b?a.o()!==b.o()?!1:!0:!1}
function Fva(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.Ns()!==f.Ns()?!1:!e.gw()&&!e.kJ()||!f.gw()&&!f.kJ()?!0:e.cH()!==f.cH()||e.Ix()!==f.Ix()?!1:!0})}):!1}
;var Gva=Ha(["https://www.google.com/recaptcha/api.js?trustedtypes=true&render=explicit&onload=",""]);function cE(a,b,c){this.o=c;this.clientId=0;this.load(a,b===void 0?function(){}:b)}
cE.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");tn(e,Ln(Gva,"sc_renderRecaptcha"));document.head.appendChild(e)};
cE.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 Sa(e),e.return("")}})};var dE={};var Hva={mW:0,FG:1,0:"FIELDS_CREATED",1:"FIELD_VALUES"};function eE(a){bE.call(this,a===void 0?"HelpcenterFields":a,Hva);this.complete=!1;this.Td=""}
t(eE,bE);eE.prototype.qc=function(){return this.complete};
eE.prototype.Pc=function(a,b){function c(u){return a?!!u.getId():u.qc()}
function e(u){return u.jJ()?u.qQ():u.Gd()}
var f=Iva(this,b);if(f==null||!f.length)return[];var h;b=(h=f.filter(function(u){return u.placements.some(function(w){return w.SQ()})}).flatMap(e).filter(c))!=null?h:[];
var k;b=b.concat((k=f.filter(function(u){return u.placements.some(function(w){return w.aR()})}).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.bR()})}).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 Iva(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 Eva(h,k)})}):!0:!1})}
eE.prototype.Zt=oa(53);eE.prototype.getInjectedFrdValuesEventId=function(){return this.Td};var Jva=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 fE(a){var b;return(b=Jva.get(a.type))!=null?b:"gm/drive_document"}
function gE(a,b){var c=fE(a);return a.type==="CT_WORKFLOW"?new Rs({icon:0}):new aq({icon:c,size:b})}
function Kva(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 hE(a){return(new em).setUrl(a.url)}
;function Lva(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 iE(a,b,c,e,f,h,k){A.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 aq({icon:"gm/open_in_new"});this.ya=new aq({icon:"gm/open_in_new",size:18});if(OC(this.oneboxResult.type)){a=new hm;a=th(a,5,b.id);a=im(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=vh(a,4,c);a=km(jm(a,b.tracking_id),b.request_id);b.tailwind_data&&
(c=b.tailwind_data,e=new dm,c=vh(e,9,Kva(c.user_role)),Cg(a,dm,26,c));b.youtube_data&&(c=b.youtube_data,b=new gm,b=sh(b,1,c.views),b=th(b,2,c.thumbnail),b=rh(b,3,c.duration).setTimestamp(c.timestamp),b=th(b,5,c.youtube_id),b=ph(b,6,c.is_verified),b=th(b,7,c.channel_title),c.thumbnails&&(e=c.thumbnails,c=new fm,e.default_thumbnail&&(f=hE(e.default_thumbnail),Cg(c,em,1,f)),e.medium_thumbnail&&(f=hE(e.medium_thumbnail),Cg(c,em,2,f)),e.high_thumbnail&&(f=hE(e.high_thumbnail),Cg(c,em,3,f)),e.standard_thumbnail&&
(f=hE(e.standard_thumbnail),Cg(c,em,4,f)),e.maxres_thumbnail&&(e=hE(e.maxres_thumbnail),Cg(c,em,5,e)),Cg(b,fm,8,c)),Cg(a,gm,28,b));this.o=new pC(a)}}
t(iE,A);iE.prototype.content=function(){var a=this;this.element("div","class",{result:!0,separator:this.va},function(){var b=a.oneboxResult,c;(c=Fs)==null||c.Ej([{type:a.ma}]);b.type!=="CT_SNIPPET"&&Mva(a);Nva(a);if(!a.o&&(Ova(a),b.type!=="CT_SNIPPET"))switch(a.oneboxResult.type){case "CT_WORKFLOW":dE.useHairlineButtonInWorkflowOnebox?Pva(a,a.Oa.get("Onebox.GET_STARTED")):Qva(a,a.Oa.get("Onebox.GET_STARTED"));break;default:Qva(a,a.Oa.get("Onebox.READ_MORE"))}})};
function Mva(a){a.element("div","class","content-header",function(){var b=fE(a.oneboxResult),c=gE(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=uC(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 Nva(a){var b=a.oneboxResult.title;a.openInNewWindow&&(b+=" ("+a.Oa.get("Onebox.OPENS_IN_A_NEW_WINDOW")+")");OC(a.oneboxResult.type)&&(b+=" ("+PC(a.oneboxResult.type)+")");var c,e;a.element("a","class","title","href",(e=(c=a.o)==null?void 0:qC(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 NC({model:a.o,Tf:!0,Dy:!0})).render(),QC(a.o.getUrl())):a.element("div","class","title-wrapper","aria-hidden",
"true",function(){var f;a.element("span",Or((f=a.oneboxResult.title)!=null?f:""));a.openInNewWindow&&a.element("span","class","title-icon",a.ya)})})}
function Ova(a){var b=a.element("div","class","snippet",function(){var c;Lp(Or((c=a.oneboxResult.snippet)!=null?c:""))});
Lva(b,a.openInNewWindow,a.Oa.get("Onebox.OPENS_IN_A_NEW_WINDOW"))}
function Qva(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 Pva(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 eq({ariaLabel:c,icon:"gm/arrow_forward",zc:!0,style:3,text:b,trigger:function(){Vq(a.oneboxResult.url,{Jd:a.openInNewWindow})}}))}
;function jE(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:Rva(a)}),2);c=e.ma;return e.return(Sva(c,a.method))})}
function Rva(a){switch(a.method){case "get_categories":return{resource:{get_categories:{description:a.issueDescription,frd_value:a.Qd.map(function(b){return gB(ZA(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 Sva(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{sZ:(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 Tva(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 kE(a,b){Wp.call(this);this.pageLocale=a;var c={};this.strings=(c[a]=b,c);this.locale=a}
t(kE,Wp);kE.prototype.get=function(a){var b,c;return(c=(b=this.strings[this.pageLocale])==null?void 0:b[a])!=null?c:""};
kE.prototype.set=function(a,b){var c;this.strings[a]=Object.assign({},(c=this.strings[a])!=null?c:{},b);this.Ea()};function lE(){var a=z();a={sx:a.ehn,XO:a.bcUrl,query:a.query,internalHelpCenter:a.hc,It:a.ehc,language:a.lang,authuser:String(a.au),uH:a.auth_token,wc:a.dark,experimentIds:a.tw_smei,SU:a.upload_hostname,DR:a.li,wR:a.rs===3||a.rs===8||a.rs===2||a.rs===79,zJ:(new URLSearchParams(location.search)).get("format")==="embed"};qB?console.error("Global settings should only be initialized once."):qB=Object.assign({},a)}
;function mE(a,b,c,e){e=e===void 0?{}:e;if(sB())a=e.messageId,e=e.relative===void 0?!0:e.relative,c="/s/community/forum/"+b+"/thread/"+c,a&&(c+="/message/"+a),c=nE(c,!1),c=e?oE(c):c.toString();else{var f=e;b=f.GJ===void 0?!1:f.GJ;e=f.language===void 0?tB():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=nE("/"+a+"/"+f+"/"+c);c.searchParams.set("hl",e);
b&&c.searchParams.set("notify","new");h&&c.searchParams.set("msgid",""+h);c=k?oE(c):c.toString()}return c}
function nE(a,b){b=b===void 0?!0:b;a=new URL(a,rB().sx);var c=rB().authuser;c&&b&&a.searchParams.set("authuser",c);return a}
function oE(a){return a.href.replace(a.origin,"")}
;function pE(a){this.Aa=qf(a)}
t(pE,di);function qE(a){return zg(a,jv,1)}
function rE(a){var b=new pE;return Cg(b,jv,1,a)}
function sE(a,b){return qh(a,2,b)}
function tE(a,b){Cg(a,sy,18,b)}
function uE(a,b){return qh(a,21,b)}
function vE(a){return zg(a,Uv,19)}
;pE.prototype.Ba=nk([0,sv,Wj,10,Wj,1,Wj,-1,1,Xpa,lma,Wj,-1]);function wE(a,b){b=b===void 0?{}:b;Yu.call(this,a,qE(a),b);this.ma="embedOptions";this.qa="guidanceChatUiMessageChannel"}
t(wE,Yu);wE.prototype.JC=function(){return"embed/chat"};
wE.prototype.xC=function(){return Vg(this.Je,13)?{debug:"1"}:{}};var Uva=RegExp("^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)","i");var Vva=[0,Qj,-1];function xE(a){this.Aa=qf(a)}
t(xE,di);xE.prototype.Ol=oa(10);xE.prototype.Ue=function(){return Wg(this,14)};var Wva=[0,y,-2,gk,y,-3,gk,y,-3,Qj];xE.prototype.Ba=nk(Wva);var Xva=[0,gk,Qj];function yE(a){this.Aa=qf(a)}
t(yE,di);l=yE.prototype;l.getQuery=function(){return $g(this,5)};
l.setQuery=function(a){return th(this,5,a)};
l.getUrl=function(){return $g(this,6)};
l.setUrl=function(a){return th(this,6,a)};
l.Bh=function(){return Wg(this,13)};
l.Wd=function(a){return rh(this,13,a)};var Yva=[0,gk,-1,Jj,Qj,y,-2,gk,-1,Xva,Qj,y,Qj,y,-1];yE.prototype.Ba=nk(Yva);function zE(a){this.Aa=qf(a)}
t(zE,di);var AE=[3,4];zE.prototype.Ba=nk([0,AE,Wva,Vva,ck,Yva,ck,My]);function Zva(){}
function $va(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 Ey).setTimestamp(al());b.predictionId&&Fy(c,b.predictionId);b.reportingId&&Gy(c,b.reportingId);b.interactionType&&Hy(c,b.interactionType);b.vu&&Iy(c,b.vu);var e=new zE;c=Dg(e,4,AE,c);a.kC(c,b);a=c}else c=new yE,b.bc&&vh(c,1,b.bc),b.Oh&&vh(c,2,b.Oh),b.nq&&sh(c,3,b.nq),b.Mw&&rh(c,4,b.Mw),b.query&&c.setQuery(b.query),b.url&&c.setUrl(b.url),b.Hp&&(e=
b.Hp.join("|"),th(c,7,e)),b.contactMode&&vh(c,9,b.contactMode),b.viewId&&c.Wd(b.viewId),b.Iq&&th(c,14,b.Iq),e=new zE,c=Dg(e,3,AE,c),a.kC(c,b),a=c;return a}
;function BE(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.zw===void 0?"":b.zw;A.call(this,"sc.shared.MaterialSwitch");this.on=a;this.disabled=c;this.toggle=e;this.zw=b;this.overlay=new bq({Yp:!0})}
t(BE,A);BE.prototype.content=function(){var a=this;this.element("label","class",{root:!0,on:this.on,disabled:this.disabled},"aria-labelledby",this.zw,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()})})};
BE.prototype.onChange=function(){this.on=this.o.checked;this.Ja();var a;(a=this.toggle)==null||a.call(this)};var CE=2*Math.PI*18;function DE(a){a=a.size;A.call(this,"sc.shared.MaterialProgressCircle");this.progress=0;this.size=a}
t(DE,A);function awa(a,b){Number.isNaN(b)||(a.progress=b<0?0:b>1?1:b,a.Ja())}
DE.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",CE,"stroke-dashoffset",CE-CE*a.progress)})};function bwa(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 EE(a){var b=a.file;var c=a.nh;var e=a.locale;var f=a.mE;var h=a.formId;a=a.fileUpload;A.call(this,"sc.forms.upload.attachment");this.ua=new aq({icon:"gm/close",size:20});this.oa=new DE({size:24});this.va=new aq({icon:"gm/error_outline",size:16});this.o=this.inProgress=!1;this.root=this.ma=null;this.file=b;this.nh=c;this.locale=e;this.mE=f;this.formId=h;this.fileUpload=a===void 0?new Kv(b):a}
t(EE,A);EE.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.nh?(a.inProgress=!1,a.o=!1,a.Ja(),c()):(a.formId&&a.fileUpload.df("formId",a.formId),a.fileUpload.zm(function(){cwa(a);b()}).onError(function(){a.inProgress=!1;
a.o=!1;a.Ja();c()}).eK(function(e){awa(a.oa,e/a.file.size)}).start())});
this.Ja();return this.ma};
EE.prototype.getFile=function(){return this.file};
EE.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(){Ap(a.file.name);!a.inProgress&&a.o&&a.element("span","class","attached","(file attached)");a.inProgress||a.o||dwa(a)});
!a.inProgress&&a.o?a.element("div","class","size",bwa(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.mE(a)},function(){a.ua.render()})})})};
function dwa(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.nh?(new Bq("File must be smaller than {localizedFileSize}")).format({localizedFileSize:bwa(a.nh,a.locale)}):"Failed to attach. Try again or try another file.")})}
EE.prototype.focus=function(){var a;(a=this.root)==null||a.focus()};
function cwa(a){awa(a.oa,1);a.inProgress=!1;a.o=!0;setTimeout(function(){a.Ja()},500)}
;function FE(a){var b=a.nh;var c=a.allowMultipleFiles;var e=a.formId;var f=a.locale===void 0?"en":a.locale;var h=a.mB===void 0?EE:a.mB;var k=a.tE;var n=a.rE;var p=a.sE;a=a.cE;A.call(this,"sc.forms.upload.attachments");this.attachments=new Set;this.nh=b;this.allowMultipleFiles=c;this.formId=e;this.locale=f;this.mB=h;this.tE=k;this.rE=n;this.sE=p;this.cE=a}
t(FE,A);FE.prototype.getSize=function(){return this.attachments.size};
FE.prototype.addAttachments=function(a){if(a.length!==0){if(this.allowMultipleFiles){a=x(a);for(var b=a.next();!b.done;b=a.next())ewa(this,b.value)}else{b=x(this.attachments);for(var c=b.next();!c.done;c=b.next())fwa(this,c.value);ewa(this,a[0])}this.Ja()}};
function gwa(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 hwa(a){a=x(a.attachments);for(var b=a.next();!b.done;b=a.next())if(b.value.inProgress)return!1;return!0}
function GE(a){return hwa(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.Do()}}):[]}
FE.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 ewa(a,b){var c=new a.mB({file:b,nh:a.nh,locale:a.locale,formId:a.formId,mE:function(e){fwa(a,e)}});
c.upload().then(function(){var e;(e=a.tE)==null||e.call(a,b)}).catch(function(){var e;
(e=a.rE)==null||e.call(a,b)});
a.attachments.add(c)}
function fwa(a,b){var c;(c=a.cE)==null||c.call(a,b.getFile());a.attachments.delete(b);a.o=b.getFile();a.Ja();var e;(e=a.sE)==null||e.call(a,b.getFile())}
;function HE(a){var b=a.id;var c=a.nh;var e=a.formId;var f=a.locale===void 0?"en":a.locale;var h=a.allowMultipleFiles===void 0?!0:a.allowMultipleFiles;a=a.PO===void 0?FE:a.PO;A.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,nh:c,formId:e,allowMultipleFiles:h,tE:function(n){IE(k,n)},
rE:function(n){k.allowMultipleFiles||JE(k,!1);IE(k,n)},
sE:function(n){var p;if((p=k.o)==null?0:p.value.endsWith(n.name))k.o.value="";k.allowMultipleFiles||JE(k,!1);IE(k,n);k.attachments.getSize()||k.ma.focus()},
cE:function(n){gwa(k.attachments,n)}});
this.ma=new eq({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(HE,A);HE.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()});
iwa(a)})};
function iwa(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 5311890656808988747
Search Help Center
true
true
100334
false