Choose a Google product

Consumer

Business

Developer

false
Google apps
Main menu

"+k+"\n

"+h+"":k?"

"+k+"":h?"

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

9257077288912426714
true
Search Help Center
true
true
true
true
true
102095
false
false