false
Search
Clear search
Close search
Google apps
Main menu
");return null==a||null==a.sheet?Eba:Tca(a.sheet,void 0!=b?b:null,c)} function zm(a){a=Ej(""+a+"");return(new DOMParser).parseFromString(Cj(a),"text/html").body.children[0]} function ym(a,b){if(!a)return uj;var c=document.createElement("div").style;Am(a).forEach(function(e){var f=Dc&&e in Sca?e:e.replace(/^-(?:apple|css|epub|khtml|moz|mso?|o|rim|wap|webkit|xv)-(?=[a-z])/i,"");zb(f,"--")||zb(f,"var")||(e=um(a,e),e=Aca(f,e,b),null!=e&&wm(c,f,e))}); return new qj(c.cssText||"",pj)} function Vca(a){var b=Array.from(om(Eca,a,"getElementsByTagName",["STYLE"])),c=yaa(b,function(k){return vc(Pca(k).cssRules)}); c=xm(c);for(var e=[],f=0;fla?1:Er?1:p=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.height}; n.distance=function(a){var b=a.x"+b+""),Vca(b),b=b.innerHTML);b=Ej(b);var c=document.createElement("template");if(ada&&"content"in c)Lj(c,b),c=c.content;else{var e=document.implementation.createHTMLDocument("x");c=e.body;Lj(e.body,b)}b=document.createTreeWalker(c,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT,null,!1); for(c=Zca?new WeakMap:new Em;e=b.nextNode();){c:{var f=e;switch(sm(f)){case 3:f=this.createTextNode(f);break c;case 1:if("TEMPLATE"==rm(f).toUpperCase())f=null;else{var h=rm(f).toUpperCase();if(h in this.oa||"http://www.w3.org/1999/xhtml"!=Qca(f))var k=null;else this.o[h]?k=document.createElement(h):(k=Vl("SPAN"),this.va&&qm(k,"data-sanitizer-original-tag",h.toLowerCase()));if(k){var l=k,p=pm(f);if(null!=p)for(var r=0;h=p[r];r++)if(h.specified){var u=f;var y=h;var E=y.name;if(zb(E,"data-sanitizer-"))y= null;else{var la=rm(u);y=y.value;var ma={tagName:Db(la).toLowerCase(),attributeName:Db(E).toLowerCase()},sa={Ey:void 0};"style"==ma.attributeName&&(sa.Ey=Oca(u));u=Om(la,E);u in this.i?(E=this.i[u],y=E(y,ma,sa)):(E=Om(null,E),E in this.i?(E=this.i[E],y=E(y,ma,sa)):y=null)}null!==y&&qm(l,h.name,y)}f=k}else f=null}break c;default:f=null}}if(f){if(1==sm(f)&&c.set(e,f),e=tm(e),h=!1,e)k=sm(e),l=rm(e).toLowerCase(),p=tm(e),11!=k||p?"body"==l&&p&&(k=tm(p))&&!tm(k)&&(h=!0):h=!0,k=null,h||!e?k=a:1==sm(e)&& (k=c.get(e)),k.content&&(k=k.content),k.appendChild(f)}else Zl(e)}c.clear&&c.clear()}else a=Vl("SPAN");0")+1,a.lastIndexOf("b;)a.pop()} function Tm(a){a=Array(a);Sm(a,0);return a} ;var Um=new Rm;Um.__default=function(a,b,c){var e=typeof c;"object"===e||"function"===e?a[b]=c:null==c?a.removeAttribute(b):(e=0===b.lastIndexOf("xml:",0)?"http://www.w3.org/XML/1998/namespace":0===b.lastIndexOf("xlink:",0)?"http://www.w3.org/1999/xlink":null)?a.setAttributeNS(e,b,c):a.setAttribute(b,c)}; Um.style=function(a,b,c){a=a.style;if("string"===typeof c)a.cssText=c;else{a.cssText="";for(var e in c)nda.call(c,e)&&(b=c[e],0<=e.indexOf("-")?a.setProperty(e,b):a[e]=b)}}; function Vm(a,b,c,e){(e[b]||e.__default)(a,b,c)} ;var Wm=null;function oda(a){this.created=[];this.deleted=[];this.node=a} ;var pda="undefined"!==typeof Node&&Node.prototype.getRootNode||function(){for(var a=this,b=a;a;)b=a,a=a.parentNode;return b};function qda(a,b){this.i=null;this.ma=!1;this.o=a;this.key=b;this.text=void 0} function Xm(a,b,c){b=new qda(b,c);return a.__incrementalDOMData=b} function Ym(a,b){if(a.__incrementalDOMData)return a.__incrementalDOMData;var c=1===a.nodeType?a.localName:a.nodeName,e=1===a.nodeType?a.getAttribute("key"):null;b=Xm(a,c,1===a.nodeType?e||b:null);if(1===a.nodeType&&(a=a.attributes,c=a.length)){e=b.i||(b.i=Tm(2*c));for(var f=0,h=0;f\n \n \n\n'), "add.svg":$i('\n'),"add_ad.svg":$i('\n'), "add_box.svg":$i('\n'),"announcement.svg":$i('\n \n \n\n'), "arrow_back.svg":$i('\n \n \n\n'),"arrow_circle_down.svg":$i('\n \n\n'), "arrow_circle_down_filled.svg":$i('\n \n\n'), "arrow_downward.svg":$i('\n'),"arrow_drop_down.svg":$i('\n'),"arrow_drop_up.svg":$i('\n'),"arrow_forward.svg":$i('\n'), "arrow_upward.svg":$i('\n'),"article.svg":$i('\n'),"attach_file.svg":$i('\n'), "auto_awesome.svg":$i('\n'),"awf.svg":$i('\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n'), "awf_dark.svg":$i('\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n'), "brand_awareness.svg":$i('\n \n\n'),"brand_awareness_dark.svg":$i('\n \n\n'), "calendar_today.svg":$i('\n'),"campaign.svg":$i('\n \n \n\n'), "chat.svg":$i('\n \n \n\n'),"check.svg":$i('\n \n \n\n'),"check_circle.svg":$i('\n \n \n\n'), "check_circle_filled.svg":$i('\n \n \n \n \n\n'),"check_circle_outline.svg":$i('\n \n \n\n'), "close.svg":$i('\n \n \n\n'),"code.svg":$i('\n'),"content_copy.svg":$i('\n \n\n'), "control_point_duplicate.svg":$i('\n'), "delete.svg":$i('\n'),"delete_outline.svg":$i('\n'),"do_not_disturb.svg":$i('\n \n \n\n'), "down_arrow.svg":$i('\n \n \n\n'),"drive_document.svg":$i('\n \n \n\n'),"drive_image.svg":$i('\n \n \n\n'), "dvr.svg":$i('\n'),"edit.svg":$i('\n\n\n'), "edit_note.svg":$i('\n \n\n'),"email.svg":$i('\n \n \n\n'), "error.svg":$i('\n'),"error_outline.svg":$i('\n \n \n\n'), "event_available.svg":$i('\n \n \n\n'),"face.svg":$i('\n'), "fast_forward.svg":$i('\n'),"featured_video.svg":$i('\n'), "filter_list.svg":$i('\n \n\n'),"flag.svg":$i('\n'),"flag_filled.svg":$i('\n'), "format_bold.svg":$i('\n'),"format_clear.svg":$i('\n'), "format_indent_decrease.svg":$i('\n'),"format_indent_increase.svg":$i('\n'),"format_italic.svg":$i('\n'), "format_list_bulleted.svg":$i('\n'),"format_list_numbered.svg":$i('\n'), "format_quote.svg":$i('\n \n\n'),"format_underline.svg":$i('\n'), "forum.svg":$i('\n'),"help_guide.svg":$i('\n\n\n\n\n\n\n'), "help_guide_base.svg":$i('\n \n\n'), "help_guide_dark.svg":$i('\n\n\n\n\n\n\n'), "help_outline.svg":$i('\n \n \n\n'),"highlight_alt.svg":$i('\n'), "info.svg":$i('\n \n \n\n'),"info_filled.svg":$i('\n'), "keep_pin_outline.svg":$i('\n \n \n\n'),"keyboard_arrow_up.svg":$i('\n \n \n\n'),"label.svg":$i('\n \n \n\n'), "label_off.svg":$i('\n \n \n\n'), "language.svg":$i('\n'), "lightbulb.svg":$i('\n'),"link.svg":$i('\n'), "list_alt.svg":$i('\n\n \n\n'), "list_alt_dark.svg":$i('\n \n\n'), "lock.svg":$i('\n \n \n \n\n'),"lock_open.svg":$i('\n \n \n \n\n'), "lock_person.svg":$i('\n \n\n'), "mail_outline.svg":$i('\n'),"maximize.svg":$i('\n'),"minimize.svg":$i('\n'), "mode_edit.svg":$i('\n \n \n\n'),"more_vert.svg":$i('\n \n \n\n'), "navigate_before.svg":$i('\n'),"navigate_next.svg":$i('\n'),"notifications.svg":$i('\n'), "open_in_new.svg":$i('\n'),"pen_spark.svg":$i('\n \n\n'), "phone.svg":$i('\n \n \n\n'),"play_arrow.svg":$i('\n \n \n\n'), "play_circle.svg":$i('\n \n \n\n'),"play_circle_outline.svg":$i('\n \n\n'), "policy.svg":$i('\n'), "priority.svg":$i('\n \n\n'),"public.svg":$i('\n \n \n\n'), "question_answer.svg":$i('\n \n \n\n'),"remove_circle_outline.svg":$i('\n \n \n\n'), "reply.svg":$i('\n \n\n'),"reply_modern.svg":$i('\n'),"restart_alt.svg":$i('\n \n \n\n'), "schedule.svg":$i('\n \n\n'),"screenshot_monitor.svg":$i('\n'), "search.svg":$i('\n \n \n\n'),"send.svg":$i('\n'), "sentiment_very_satisfied.svg":$i('\n'),"spark.svg":$i('\n \n\n'), "star.svg":$i('\n'),"star_boarder.svg":$i('\n'), "storefront.svg":$i('\n \n\n'), "supervised_user_circle.svg":$i('\n \n \n \n \n\n'), "support.svg":$i('\n \n\n'), "text_format.svg":$i('\n'),"thumb_down_alt.svg":$i('\n'), "thumb_up.svg":$i('\n'),"thumb_up_alt.svg":$i('\n'), "translate.svg":$i('\n'),"undo.svg":$i('\n'), "unfold_more.svg":$i('\n'),"unpin.svg":$i('\n \n \n\n'), "verified.svg":$i('\n'),"video_youtube.svg":$i('\n'), "video_youtube_outline.svg":$i('\n \n \n\n'), "view_column.svg":$i('\n'),"visibility.svg":$i('\n \n \n\n'), "warning.svg":$i('\n \n \n\n'),"warning_filled.svg":$i('\n')};var xda="arrow_back arrow_forward chevron_left chevron_right exit_to_app first_page format_quote gm/arrow_back gm/arrow_forward gm/format_quote gm/help_outline gm/navigate_before gm/navigate_next gm/open_in_new gm/play_arrow gm/undo last_page navigate_before navigate_next open_in_new star_half".split(" "); function Tn(a){var b=a.icon,c=void 0===a.ariaLabel?"":a.ariaLabel,e=void 0===a.ariaBusy?!1:a.ariaBusy,f=void 0===a.size?24:a.size,h=void 0===a.tb?!1:a.tb,k=void 0===a.Kd?[]:a.Kd,l=void 0===a.title?"":a.title;a=void 0===a.Pc?"rem":a.Pc;A.call(this,"sc.shared.MaterialIcon");this.icon=b;this.ariaLabel=c;this.ariaBusy=e;this.size=f;this.Kd=k;this.tb=h;this.title=l;this.Pc=a} w(Tn,A); Tn.prototype.content=function(){var a=this,b=""+("rem"!==this.Pc?this.size:this.size/16)+this.Pc,c={root:!0,baseline:this.tb,flip:-1!==xda.indexOf(this.icon)},e=0===this.icon.indexOf("gm/");e||(c["text-icon"]=!0);for(var f=t(this.Kd),h=f.next();!h.done;h=f.next())h=h.value,""!==h&&(c[h]=!0);e?this.element("div","class",c,"title",this.title,"role",""!==this.ariaLabel||""!==this.title?"img":"presentation","aria-busy",this.ariaBusy,"aria-label",""!==this.ariaLabel?this.ariaLabel:void 0,"style",{width:b, height:b},function(){Cn(wda[a.icon.replace("gm/","")+".svg"])}):this.element("div","class",c,"title",this.title,"role",""!==this.ariaLabel||""!==this.title?"img":"presentation","aria-busy",this.ariaBusy,"aria-label",""!==this.ariaLabel?this.ariaLabel:void 0,"style","font-size: "+b,this.icon)};var yda=[{opacity:0},{opacity:.16,offset:.25},{opacity:.16,offset:.5},{opacity:0}],zda={duration:300},Ada={duration:225,easing:"cubic-bezier(.4, .0, .2, 1)"};function Un(a){a=void 0===a?{}:a;a=void 0===a.Rn?!1:a.Rn;A.call(this,"sc.shared.MaterialInteractionOverlay");var b=this;this.u=!1;this.parentElement=null;this.Rn=a;this.qa=function(c){Vn(b,c.clientX,c.clientY,b.Rn)}; this.oa=function(){b.u=!0;b.Da()}; this.o=function(){b.u=!1;b.Da()}} w(Un,A);Un.prototype.wb=function(){this.o()}; Un.prototype.content=function(){var a=this,b=mca(Fl(getComputedStyle(this.element("span")).color));this.root=this.element("div","class",{root:!0,"light-text":b,hover:this.u},"aria-hidden","true",function(){a.element("div","class","hover-overlay");a.element("div","class","pressed-overlay");a.i=a.element("div","class","ripple")}); Vn(this,0,0,!0,!1);Bda(this)}; function Bda(a){setTimeout(function(){var b=a.parentElement,c,e,f=null!=(e=a.getElement()&&(null==(c=a.getElement())?void 0:c.parentElement))?e:null;b!==f&&(b&&(b.removeEventListener("mousedown",a.qa),b.removeEventListener("mouseenter",a.oa),b.removeEventListener("mouseleave",a.o)),f&&(f.addEventListener("mousedown",a.qa),f.addEventListener("mouseenter",a.oa),f.addEventListener("mouseleave",a.o)),a.parentElement=f)},0)} function Wn(a,b){"Enter"!==b.code&&"Space"!==b.code||Vn(a,0,0,!0)} function Vn(a,b,c,e,f){f=void 0===f?!0:f;var h;if(null!=(h=a.i)&&h.animate){var k=a.root.getBoundingClientRect(),l=.6*Math.max(k.width,k.height)/256;h=(Math.sqrt(Math.pow(k.width/2,2)+Math.pow(k.height/2,2))+10)/128;if(e)b=k="calc(50% - 128px)",l="scale("+l+")",h="scale("+h+")";else{b=b-k.left-128;var p=c-k.top-128;c=k.width/2-128-b;e=k.height/2-128-p;k=p+"px";b+="px";l="translate(0, 0) scale("+l+")";h="translate("+c+"px, "+e+"px) scale("+h+")"}l=[{transform:l},{transform:h}];a.i.style.top=k;a.i.style.left= b;a.i.style.transform=h;f&&(a.i.animate(yda,zda),a.i.animate(l,Ada))}} ;function Xn(a){a=void 0===a?{}:a;A.call(this,"sc.shared.MaterialButton");this.model=a instanceof Sn?a:new Sn(a);this.overlay=new Un;this.watch(this.model)} w(Xn,A);n=Xn.prototype;n.content=function(a){var b=this;a&&this.model.Uf(a);var c=""!==this.model.getText(),e=""!==this.model.me(),f=this.model.Fo()?"a":"button";this.element("div","class","container",function(){b.element("div","class",{"touch-target":!0,hidden:!b.model.em},"aria-hidden","true","hidden",!b.model.em,"onclick",function(){if(!b.model.og()){var l;null==(l=b.i)||l.click();Vn(b.overlay,0,0,!0)}}); var h,k={};b.i=b.element(f,"href",b.model.Fo()||void 0,"target",Cda(b),"class",(k.root=!0,k.text=1===b.model.getStyle(),k["color-label"]=(1===b.model.getStyle()||6===b.model.getStyle())&&"color-label"===b.model.mc,k["color-label-dark"]=3===b.model.getStyle()&&"color-label-dark"===b.model.mc,k["color-hint"]=6===b.model.getStyle()&&c,k["color-danger"]=3===b.model.getStyle()&&"error"===b.model.mc,k["left-icon"]=vda(b.model),k.hairline=3===b.model.getStyle(),k.pill=10===b.model.getStyle(),k.href=!!b.model.Fo(), k.filled=4===b.model.getStyle(),k["protected"]=5===b.model.getStyle(),k.tonal=9===b.model.getStyle(),k.navigational=6===b.model.getStyle()&&!c,k["right-icon"]=b.model.zm(),k["icon-only"]=e&&!c&&!b.model.bp,k["small-icon"]=b.model.Nd,k["disable-legacy-icon-only-touch-target"]=b.model.jr,k.hidden=!b.model.em,k.compact=b.model.compact,k["high-contrast"]=b.model.Vv,k[b.model.mc]=0!==b.model.mc,k[b.model.ue]=0!==b.model.ue,k),"style",""===b.model.Fk()?null:{"max-width":b.model.Fk()},"role",b.model.Yf, "type","button","aria-label",b.model.Fe(),"aria-description",b.model.wD(),"aria-describedby",b.model.wk,"title",b.model.getTitle(),"aria-expanded",null==(h=b.model.kz())?void 0:h.toString(),"aria-haspopup",b.model.lz(),"aria-controls",b.model.gy,"aria-pressed",b.model.ariaPressed,"disabled",b.model.og(),"onclick",function(l){b.Gb(l)},"onkeydown",function(l){b.overlay&&Wn(b.overlay,l)},function(){e&&b.element("span","class","icon",new Tn({icon:b.model.me(), ariaBusy:b.model.Yr,ariaLabel:b.model.Fe(),size:b.model.Nd||c?18:24,tb:!0,Pc:b.model.Pc}));c&&b.element("span","class",{overflow:""!==b.model.Fk()},function(){un(b.model.getText())}); b.overlay.render()})})}; n.Gb=function(a){var b=this.model.Io();b&&b({method:0===a.clientX&&0===a.clientY?1:2})}; n.setDisabled=function(a){this.model.setDisabled(a)}; n.Md=oa(4);n.kz=function(){return this.model.kz()}; n.jl=function(a){this.model.jl(a)}; n.lz=function(){return this.model.lz()}; n.getText=function(){return this.model.getText()}; n.setText=function(a){this.model.setText(a)}; n.focus=function(){var a;null==(a=this.i)||a.focus()}; function Cda(a){if(a.model.Fo())return(a=a.model.getTarget())?Dda[a]:void 0} var Yn={},Dda=(Yn[0]="_self",Yn[1]="_blank",Yn[2]="_parent",Yn[3]="_top",Yn);function Zn(a){var b=a.content,c=void 0===a.elevation?0:a.elevation,e=void 0===a.padding?"1rem":a.padding,f=a.trigger,h=void 0===a.backgroundColor?1:a.backgroundColor,k=void 0===a.un?!0:a.un;a=void 0===a.borderRadius?"0.5rem":a.borderRadius;A.call(this,"sc.shared.MaterialCard");this.i=b;this.elevation=c;this.padding=e;this.overlay=(this.trigger=f)?new Un:null;this.backgroundColor=h;this.un=k;this.borderRadius=a} w(Zn,A);Zn.prototype.fe=function(){return!0}; Zn.prototype.content=function(){var a=this,b=0]*>/gi,Fda=/<\/?(?:blockquote|div|li|ol|ul|p)[^>]*>/gi,Gda=/(<[^>]+>)/gi;function fo(a,b,c){(b=void 0===b?!1:b)&&(void 0===c?0:c)?(a=a.replace(Fda,"\n").replace(/\n{2,}/gi,"\n").trim(),a=a.replace(/<\/?br[^>]*>/gi,"\n")):b&&(a=a.replace(Eda,"\n").replace(/\n{2,}/gi,"\n").trim());return a.replace(Gda,"")} ;function go(a,b,c,e){var f=window.sc_trackStatsImpressions;if(f)f([{id:a,type:b,index:c}],void 0===e?!1:e);else if(z()&&"PROD"!==z().env)throw Error("window.sc_trackStatsImpressions() is undefined or null. Please make sure Stats functions are initialized first.");} function ho(a,b,c,e){var f=window.sc_trackStatsEvent;if(f)f(c,a,b,e);else if(z()&&"PROD"!==z().env)throw Error("window.sc_trackStatsEvent() is undefined or null. Please make sure Stats functions are initialized first.");} ;var io={OG:["BC","AD"],LG:["Before Christ","Anno Domini"],wH:"JFMAMJJASOND".split(""),UH:"JFMAMJJASOND".split(""),uH:"January February March April May June July August September October November December".split(" "),RH:"January February March April May June July August September October November December".split(" "),LH:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),WH:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),qI:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "), YH:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),OH:"Sun Mon Tue Wed Thu Fri Sat".split(" "),XH:"Sun Mon Tue Wed Thu Fri Sat".split(" "),wQ:"SMTWTFS".split(""),VH:"SMTWTFS".split(""),NH:["Q1","Q2","Q3","Q4"],DH:["1st quarter","2nd quarter","3rd quarter","4th quarter"],xG:["AM","PM"],Kx:["EEEE, MMMM d, y","MMMM d, y","MMM d, y","M/d/yy"],mC:["h:mm:ss\u202fa zzzz","h:mm:ss\u202fa z","h:mm:ss\u202fa","h:mm\u202fa"],HG:["{1} 'at' {0}","{1} 'at' {0}","{1}, {0}","{1}, {0}"],UB:6, pR:[5,6],VB:5},jo=io;jo=io;function ko(a,b,c,e,f){a=new Date(a,b,c);e=void 0!==e?e:3;f=f||0;b=((a.getDay()+6)%7-f+7)%7;return a.valueOf()+864E5*((e-f+7)%7-b)} ;function lo(){} function mo(a){if("number"==typeof a){var b=new lo;b.oa=a;var c=a;if(0==c)c="Etc/GMT";else{var e=["Etc/GMT",0>c?"-":"+"];c=Math.abs(c);e.push(Math.floor(c/60)%100);c%=60;0!=c&&e.push(":",Nl(c,2));c=e.join("")}b.ma=c;c=a;0==c?c="UTC":(e=["UTC",0>c?"+":"-"],c=Math.abs(c),e.push(Math.floor(c/60)%100),c%=60,0!=c&&e.push(":",c),c=e.join(""));a=no(a);b.u=[c,c];b.i={bR:a,lC:a};b.o=[];return b}b=new lo;b.ma=a.id;b.oa=-a.std_offset;b.u=a.names;b.i=a.names_ext;b.o=a.transitions;return b} function no(a){var b=["GMT"];b.push(0>=a?"+":"-");a=Math.abs(a);b.push(Nl(Math.floor(a/60)%100,2),":",Nl(a%60,2));return b.join("")} function oo(a,b){b=Date.UTC(b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate(),b.getUTCHours(),b.getUTCMinutes())/36E5;for(var c=0;c=a.o[c];)c+=2;return 0==c?0:a.o[c-1]} lo.prototype.getOffset=function(a){a=this.oa-oo(this,a);return-1440===a?0:a}; lo.prototype.getShortName=function(a){return this.u[0b)var c=a.i.Kx[b];else if(8>b)c=a.i.mC[b-4];else if(12>b)c=a.i.HG[b-8],c=c.replace("{1}",a.i.Kx[b-8]),c=c.replace("{0}",a.i.mC[b-8]);else if(12===b)c=a.i.Kx[0].replace(/[^EMd]*yy*[^EMd]*/,"");else{qo(a,10);return}ro(a,c)} function uo(a,b){b=String(b);a=a.i||jo;if(void 0!==a.rI){for(var c=[],e=0;e=f?String.fromCharCode(a.rI+f-48):b.charAt(e))}b=c.join("")}return b} var Hda=!1;function vo(a){if(!(a.getHours&&a.getSeconds&&a.getMinutes))throw Error("The date to format has no time (probably a goog.date.Date). Use Date or goog.date.DateTime, or use a pattern without time fields.");} function wo(a,b){vo(b);b=to(b);return a.i.xG[12<=b&&24>b?1:0]} function Ida(a,b,c,e,f,h){var k=b.length;switch(b.charAt(0)){case "G":return c=0c&&(c=-c),2==k&&(c%=100),uo(a,Nl(c,k));case "Y":return c=e.getFullYear(),f=e.getMonth(),e=e.getDate(),c=ko(c,f,e,a.i.VB,a.i.UB),c=(new Date(c)).getFullYear(),0>c&&(c=-c),2==k&&(c%=100),uo(a,Nl(c,k));case "M":a:switch(c=e.getMonth(),k){case 5:k=a.i.wH[c];break a;case 4:k=a.i.uH[c];break a;case 3:k=a.i.LH[c];break a;default:k=uo(a,Nl(c+1,k))}return k; case "k":return vo(f),c=to(f)||24,uo(a,Nl(c,k));case "S":return c=f.getMilliseconds()/1E3,uo(a,c.toFixed(Math.min(3,k)).slice(2)+(3k?a.i.NH[c]:a.i.DH[c];case "d":return uo(a,Nl(e.getDate(),k));case "m":return vo(f),uo(a,Nl(f.getMinutes?f.getMinutes():0,k));case "s":return vo(f),uo(a,Nl(f.getSeconds(),k));case "v":return(h||mo(c.getTimezoneOffset())).ma;case "V":a=h||mo(c.getTimezoneOffset()); var l;2>=k?l=a.ma:l=0k?a.getShortName(c):a.u[0k?(k=-e.getOffset(c),a=[0>k?"-": "+"],k=Math.abs(k),a.push(Nl(Math.floor(k/60)%100,2),Nl(k%60,2)),k=a.join("")):k=uo(a,no(e.getOffset(c))),k;default:return""}} ;var xo={NB:{1E3:{other:"0K"},1E4:{other:"00K"},1E5:{other:"000K"},1E6:{other:"0M"},1E7:{other:"00M"},1E8:{other:"000M"},1E9:{other:"0B"},1E10:{other:"00B"},1E11:{other:"000B"},1E12:{other:"0T"},1E13:{other:"00T"},1E14:{other:"000T"}},zG:{1E3:{other:"0 thousand"},1E4:{other:"00 thousand"},1E5:{other:"000 thousand"},1E6:{other:"0 million"},1E7:{other:"00 million"},1E8:{other:"000 million"},1E9:{other:"0 billion"},1E10:{other:"00 billion"},1E11:{other:"000 billion"},1E12:{other:"0 trillion"},1E13:{other:"00 trillion"}, 1E14:{other:"000 trillion"}}},yo=xo;yo=xo;var zo={AED:[2,"dh","\u062f.\u0625."],ALL:[0,"Lek","Lek"],AUD:[2,"$","AU$"],BDT:[2,"\u09f3","Tk"],BGN:[2,"lev","lev"],BRL:[2,"R$","R$"],CAD:[2,"$","C$"],CDF:[2,"FrCD","CDF"],CHF:[2,"CHF","CHF"],CLP:[0,"$","CL$"],CNY:[2,"\u00a5","RMB\u00a5"],COP:[32,"$","COL$"],CRC:[0,"\u20a1","CR\u20a1"],CZK:[50,"K\u010d","K\u010d"],DKK:[50,"kr.","kr."],DOP:[2,"RD$","RD$"],EGP:[2,"\u00a3","LE"],ETB:[2,"Birr","Birr"],EUR:[2,"\u20ac","\u20ac"],GBP:[2,"\u00a3","GB\u00a3"],HKD:[2,"$","HK$"],HRK:[2,"kn","kn"],HUF:[34, "Ft","Ft"],IDR:[0,"Rp","Rp"],ILS:[34,"\u20aa","IL\u20aa"],INR:[2,"\u20b9","Rs"],IRR:[0,"Rial","IRR"],ISK:[0,"kr","kr"],JMD:[2,"$","JA$"],JPY:[0,"\u00a5","JP\u00a5"],KRW:[0,"\u20a9","KR\u20a9"],LKR:[2,"Rs","SLRs"],LTL:[2,"Lt","Lt"],MNT:[0,"\u20ae","MN\u20ae"],MVR:[2,"Rf","MVR"],MXN:[2,"$","Mex$"],MYR:[2,"RM","RM"],NOK:[50,"kr","NOkr"],PAB:[2,"B/.","B/."],PEN:[2,"S/.","S/."],PHP:[2,"\u20b1","PHP"],PKR:[0,"Rs","PKRs."],PLN:[50,"z\u0142","z\u0142"],RON:[2,"RON","RON"],RSD:[0,"din","RSD"],RUB:[50,"\u20bd", "RUB"],SAR:[2,"SAR","SAR"],SEK:[50,"kr","kr"],SGD:[2,"$","S$"],THB:[2,"\u0e3f","THB"],TRY:[2,"\u20ba","TRY"],TWD:[2,"$","NT$"],TZS:[0,"TSh","TSh"],UAH:[2,"\u0433\u0440\u043d.","UAH"],USD:[2,"$","US$"],UYU:[2,"$","$U"],VND:[48,"\u20ab","VN\u20ab"],YER:[0,"Rial","Rial"],ZAR:[2,"R","ZAR"]};var Ao={PB:".",Px:",",PERCENT:"%",Xx:"0",AH:"+",hC:"-",RB:"E",iC:"\u2030",Qx:"\u221e",vH:"NaN",OB:"#,##0.###",IH:"#E0",yH:"#,##0%",FG:"\u00a4#,##0.00",Lx:"USD"},Bo=Ao;Bo=Ao;function Co(a,b){var c;if(c=b){a:if(b&&3===b.length){for(c=0;3>c;c++){var e=b[c];if("A">e||"Z"e||"z"f&&p++;break;case "0":if(0f&&p++;break;case ",":0h+k||1>a.Ia)throw Error('Malformed exponential pattern "'+b+'"');u=!1;break;default:c[0]--,u=!1}0==k&&0f&&0h+k)||0==p)throw Error('Malformed pattern "'+b+'"');l=h+k+l;a.o=0<=f?l-f:0;0<=f&&(a.u=h+k-f,0>a.u&&(a.u=0));a.ma=(0<=f?f:l)-h;a.Qa&&(a.Ea=h+a.ma,0==a.o&&0==a.ma&&(a.ma=1));a.qa.push(Math.max(0,p));a.Ra=0==f|| f==l;e=c[0]-e;a.Ha=Go(a,b,c);c[0]this.oa.length?e=!1:this.va.length=sa)la+=sa,l=!0;else if(ma==u.charAt(0)){if(h||k)break;la+=".";h=!0}else if(ma==y.charAt(0)&&("\u00a0"!=y.charAt(0)||b[0]+1this.o)throw Error("Min value must be less than max value");if(isNaN(a))return Bo.vH;var b=[];var c=a,e=a;if(0==this.Ca)var f=Io;else c=Math.abs(c),e=Math.abs(e),f=Jo(this,1>=c?0:Ko(c)).Oy,e=Lo(e,-f),Mo(this,e),c=Lo(c,-f),c=Mo(this,c),f=Jo(this,f+Ko(c.intValue));a=Lo(a,-f.Oy);(c=0>a||0==a&&0>1/a)?f.Rz?b.push(f.Rz):(b.push(f.prefix),b.push(this.oa)):(b.push(f.prefix),b.push(this.va));if(isFinite(a))if(a*=c?-1:1,a*=this.i,this.Qa)if(e=a,0==e)No(this,e,this.ma, b),Oo(this,0,b);else{var h=Math.floor(Math.log(e)/Math.log(10)+2E-15);e=Lo(e,-h);var k=this.ma;1this.ma?(k=h%this.Ea,0>k&&(k=this.Ea+k),e=Lo(e,k),h-=k,k=1):1>this.ma?(h++,e=Lo(e,-1)):(h-=this.ma-1,e=Lo(e,this.ma-1));No(this,e,k,b);Oo(this,h,b)}else No(this,a,this.ma,b);else b.push(Bo.Qx);c?f.Sz?b.push(f.Sz):(isFinite(a)&&b.push(f.tB),b.push(this.ya)):(isFinite(a)&&b.push(f.tB),b.push(this.Ha));return b.join("")}; function Mo(a,b){var c=Lo(b,a.o);0a.o)throw Error("Min value must be less than max value");e||(e=[]);b=Mo(a,b);var f=b.intValue,h=b.cK,k=0h.length&&(h="1"+Ml("0",a.o-h.length)+h);for(a=h.length;"0"==h.charAt(a-1)&&a>b+1;)a--;for(b=1;bb?(b=-b,c.push(Bo.hC)):a.Sa&&c.push(Bo.AH);b=""+b;for(var e=Bo.Xx,f=b.length;fa)return a-48;var b=Bo.Xx.charCodeAt(0);return b<=a&&ab)return Io;b=Math.min(14,b);var c=a[Lo(1,b)];for(--b;!c&&3<=b;)c=a[Lo(1,b)],b--;if(!c)return Io;c=c.other;var e=a="",f=c.indexOf(";");0<=f&&(c=c.substring(0,f),f=c.substring(f+1))&&(e=/([^0]*)(0+)(.*)/.exec(f),a=e[1],e=e[3]);return c&&"0"!=c?(c=/([^0]*)(0+)(.*)/.exec(c))?{Oy:b+1-(c[2].length-1),Rz:a,Sz:e,prefix:c[1],tB:c[3]}:Io:Io} function Ko(a){if(!isFinite(a))return 0=c.left&&f.right<=c.right){if(0===e)return 0;b=To(a.u[e-1]);break}}return null===b?0:a.kb?b.left-c.left:b.right-c.right}b=null;for(e=a.u.length-1;0<=e;e--){f=To(a.u[e]);if(Uo(f,c)){b=f;break}if(f.left>=c.left&&f.right<=c.right){if(e===a.u.length-1)return 0;b=To(a.u[e+1]);break}}return null===b?0:a.kb?b.right-c.right:b.left-c.left} function Xo(a,b){if(!a.ua||!a.i)return!1;var c=Math.max(0,a.ua.getBoundingClientRect().width-a.i.getBoundingClientRect().width);a=Math.abs(a.i.scrollLeft);return 0===b&&.5>=Math.abs(a-0)||1===b&&.5>=Math.abs(a-c)?!1:!0} function Yo(a){0!==a.style&&(a=a.cardList[a.o.i])&&a.u()} function Zo(a){a.i=a.element("div","class","viewport","onscroll",function(b){a.o.scrollLeft=a.i.scrollLeft;Yo(a);a.Ob||0!==a.style||(a.oa.style.visibility=Xo(a,0)?"visible":"hidden",a.qa.style.visibility=Xo(a,1)?"visible":"hidden");a.fp(b)},function(){a.element("div","class","reel-wrapper",function(){a.ua=a.element("ul","class",{reel:!0, "reel-mobile":a.Ob},"role","list",function(){a.u=a.cardList.map(function(b){return a.element("li","class","card-container","role",a.Tv?"none":null,function(){b.render()})})})})}); a.o.scrollLeft!==a.i.scrollLeft&&(a.i.scrollLeft=a.o.scrollLeft);Yo(a)} function $o(a,b){var c=0===b?"Previous":"Next",e=0===b?-1:1;return a.element("div","class",0===b?"slide-previous":"slide-next",new Xn({icon:0===b?"gm/navigate_before":"gm/navigate_next",trigger:function(){if(a.i){var f=a.i.getBoundingClientRect().width;f=a.i.scrollLeft+(a.kb?1===b?-f:f:0===b?-f:f);var h=a.o,k=a.o.i+e;h.i===k||0>k||k>=h.o||(h.i=k,h.Ba(0));a.o.scrollLeft=f;a.i.scrollTo({left:f,top:0})}}, ariaLabel:c,title:c,disabled:0===b?0===a.o.i:a.o.i===a.o.o-1,style:6}))} function Kda(a){a.element("div","class","control-bar",function(){a.oa=$o(a,0);a.element("div","class","indicator",a.o.i+1+" / "+a.o.o);a.qa=$o(a,1)})} Vo.prototype.content=function(){var a=this;this.element("div","class",{root:!0,scrolling:0===this.style,slide:1===this.style},"dir",this.kb?"rtl":"ltr",function(){switch(a.style){case 0:a.Ob||(a.oa=Wo(a,0,!0));Zo(a);a.Ob||(a.qa=Wo(a,1),a.oa&&(a.oa.style.visibility=Xo(a,0)?"visible":"hidden"));break;case 1:Kda(a),Zo(a)}})}; Vo.prototype.wb=function(){Mn(this)};function ap(a,b){return[].concat(Aa(a.querySelectorAll(b||"*"))).filter(bp)} function bp(a){if(0!=a.tabIndex||a.attributes.tabIndex)var b=a.tabIndex;else{a:switch(a.tagName){case "A":case "BUTTON":case "INPUT":case "SELECT":case "TEXTAREA":b=!0;break a;default:b=!1}b=b?0:-1}return-1!=b&&!a.disabled&&null!==a.offsetParent&&"hidden"!=window.getComputedStyle(a).visibility} function cp(a){return 0==a.length?null:a.reduce(function(b,c){return b.tabIndex<=c.tabIndex?b:c})} function Lda(a){return 0==a.length?null:a.reduceRight(function(b,c){return b.tabIndex>=c.tabIndex?b:c})} ;var dp=[];function ep(){var a=this;this.oa=this.i=null;this.o=!1;this.ma=[];this.u=[];this.qa=function(b){if(a.i&&a.o){var c=ap(a.i),e=cp(c),f;e&&(f=Lda(c));switch(b.key){case "Tab":if(!e||!f)break;b.shiftKey?document.activeElement===e&&(b.preventDefault(),f.focus()):document.activeElement===f&&(b.preventDefault(),e.focus());break;case "Escape":b.stopPropagation(),a.oa()}}}} ep.prototype.init=function(a,b,c){c=void 0===c?!1:c;this.oa=b;if(this.i=a)this.i.addEventListener("keydown",this.qa),c&&fp(this)}; function gp(a,b){if(b||!1!==b&&!a.o)fp(a);else if(a.o){for(hp(a);0\n \n \n '))); e.addEventListener("click",function(){a.i.setMonth(a.i.getMonth()+-1);lp(a)}); c.appendChild(e);e=document.createElement("button");e.className="next";e.setAttribute("title","Next month");e.setAttribute("aria-label","Next month");e.appendChild(Xl($i('\n \n \n ')));e.addEventListener("click",function(){a.i.setMonth(a.i.getMonth()+1);lp(a)}); c.appendChild(e);c=document.createElement("tr");c.appendChild(b);return c} function Qda(a){var b=document.createElement("tr");b.className="weekdays";for(var c=[],e=0;7>e;e++){var f=document.createElement("td");c.push(f);b.appendChild(f)}e=new Date(a.i);for(f=0;7>f;f++){c[e.getDay()].textContent=a.ua?e.toLocaleString(a.oa,{weekday:"narrow"}):"SMTWTFS"[e.getDay()];var h=a.ua?e.toLocaleString(a.oa,{weekday:"long"}):mp[e.getDay()];Xj(np,c[e.getDay()],"aria-label",h);e.setDate(e.getDate()+1)}return b} function lp(a){a.ma.textContent=a.ua?a.i.toLocaleString(a.oa,{month:"long",year:"numeric"}):a.i.getMonth()+1+"/"+a.i.getFullYear();a.u.textContent="";var b=new Date(a.i);b.setDate(1);for(0e;e++){var f=document.createElement("td");if(b.getMonth()==a.i.getMonth()){var h=document.createElement("button");f.dataset.time=b.getTime().toString();var k=!1;a.qa&&(k=a.qa.getTime()===b.getTime());h.textContent= b.getDate().toString();h.className="selectable";var l=mp[b.getDay()]+" "+b.getDate()+" "+a.ma.textContent;Xj(np,h,"aria-label",l);k&&Ck(h,"selected",!0);f.appendChild(h)}else f.className="unselectable";c.appendChild(f);b.setDate(b.getDate()+1)}a.u.appendChild(c)}} function op(a){return new Date(a.getFullYear(),a.getMonth(),1)} kp.prototype.ya=function(a){this.va=a}; kp.prototype.getElement=function(){return this.o}; var mp="Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),np=[lk(Mda)];window.sc_createCalendar=function(a){a=new kp(a);return{setSelectDateCallback:a.ya.bind(a),getElement:a.getElement.bind(a)}};function pp(a){return window.matchMedia("(max-width: "+a+")").matches} function qp(){return pp("37.5rem")} ;function rp(a,b,c,e,f){var h=Error.call(this,a+"/"+b+" "+c+" "+e);this.message=h.message;"stack"in h&&(this.stack=h.stack);this.serviceName=a;this.path=b;this.type=c;this.statusCode=e;this.responseText=f} w(rp,Error);function sp(a){var b=a.serviceName;this.zg=a.zg;this.serviceName=b} sp.prototype.get=function(a,b,c,e){c=void 0===c?{}:c;e=void 0===e?new XMLHttpRequest:e;var f=this,h;return Ua(function(k){if(1==k.i)return k.yield(f.call("GET",a,c,e,"application/json+protobuf"),2);h=k.o;try{return k.return(yg(b,h))}catch(l){throw tp(f,a),l;}})}; function up(a,b,c){c=void 0===c?{}:c;var e=void 0===e?new XMLHttpRequest:e;var f;return Ua(function(h){if(1==h.i)return h.yield(a.call("GET",b,c,e,"application/json"),2);f=h.o;try{return h.return(JSON.parse(f))}catch(k){throw tp(a,b),k;}})} sp.prototype.post=function(a,b,c,e,f){e=void 0===e?{}:e;f=void 0===f?new XMLHttpRequest:f;var h=this,k;return Ua(function(l){if(1==l.i)return l.yield(h.call("POST",a,e,f,"application/json+protobuf",b.serialize()),2);k=l.o;try{return l.return(yg(c,k))}catch(p){throw tp(h,a),p;}})}; function Rda(a,b,c,e){e=void 0===e?{}:e;var f=void 0===f?new XMLHttpRequest:f;var h;return Ua(function(k){if(1==k.i)return k.yield(a.call("POST",b,e,f,"application/json",JSON.stringify(c)),2);h=k.o;try{return k.return(JSON.parse(h))}catch(l){throw tp(a,b),l;}})} sp.prototype.call=function(a,b,c,e,f,h){var k=this;return Ua(function(l){return l.return(new Promise(function(p,r){var u="";if(c.query){for(var y=[],E=t(Object.entries(c.query)),la=E.next();!la.done;la=E.next()){var ma=t(la.value);la=ma.next().value;ma=ma.next().value;ma=Array.isArray(ma)?ma:[ma];ma=t(ma);for(var sa=ma.next();!sa.done;sa=ma.next())sa=sa.value,y.push(encodeURIComponent(la)+"="+encodeURIComponent(sa))}0e.status||299");a.html&&(b+=a.html);a.Sb&&(b+="");return b}; n.Tb=function(a,b){Gj(a);return Cp(this,{Tb:a,attributes:Hj(b)})}; n.Sb=function(a){Gj(a);return Cp(this,{Sb:a})}; n.text=function(a){return Cp(this,{html:Jl(a)})}; n.safeHtml=function(a){return Cp(this,{html:Cj(a).toString()})}; function Cp(a,b){a.i++;var c="{SafeHtmlFormatter:"+a.i+"_"+Ol()+"}";a.o[Jl(c)]=b;return c} ;var Dp=new Bp,Sda="Failed to post. Content violates "+Dp.Tb("a",{href:"https://support.google.com/communities/answer/7425194",target:"_blank"})+"Community Policy"+Dp.Sb("a")+".",Tda="The display name you chose does not meet the "+Dp.Tb("a",{href:"https://support.google.com/communities/answer/7425194",target:"_blank"})+"Community Policy"+Dp.Sb("a")+".";Dp.Tb("a",{href:"https://support.google.com/communities/answer/7425194",target:"_blank"});Dp.Sb("a");function Fp(a){return a+" (Opens in a new window)"} ;var Gp=new Bp,Uda="Community content may not be verified or up-to-date. "+Gp.Tb("a",{href:"https://support.google.com/communities/answer/7424249",target:"_blank"})+"Learn more"+Gp.Sb("a")+".",Vda=Gp.format(Uda),Wda="Please follow our "+Gp.Tb("a",{href:"https://support.google.com/communities/answer/7425194",target:"_blank"})+"content policy"+Gp.Sb("a")+" when creating your post.",Hp=Gp.format(Wda),Xda="Your notifications are currently off and you won't receive subscription updates. To turn them on, go to "+ Gp.Tb("b")+"Notifications"+Gp.Sb("b")+" preferences on your "+Gp.Tb("b")+"Profile"+Gp.Sb("b")+" page.",Yda=Gp.format(Xda),Zda="You'll be posting in a "+Gp.Tb("b")+"public thread"+Gp.Sb("b")+". Make sure your content is appropriate for this forum.",Ip=Gp.format(Zda),$da="To start, please review and accept the "+Gp.Tb("a",{href:"https://policies.google.com/terms/generative-ai",target:"_blank","class":"link","aria-label":Fp("Generative AI Additional Terms of Service")})+"Generative AI Additional Terms of Service"+ Gp.Sb("a"),aea=Gp.format($da),bea="This reply will be attributed to you. Please verify that it follows our\n "+Gp.Tb("a",{href:"https://support.google.com/communities/answer/7425194",target:"_blank"})+"content policy"+Gp.Sb("a")+" before posting.",cea=Gp.format(bea);function Jp(a){return 1==a%10&&11!=a%100?"one":2==a%10&&12!=a%100?"two":3==a%10&&13!=a%100?"few":"other"} var Kp=Jp;Kp=Jp;function Lp(a,b){var c=a|0;if(void 0===b){b=Math;var e=b.min,f=a+"",h=f.indexOf(".");b=e.call(b,-1===h?0:f.length-h-1,3)}e=Math.pow(10,b);a={v:b,f:(a*e|0)%e};return 1==c&&0==a.v?"one":"other"} var Mp=Lp;Mp=Lp;function Np(a){this.ma=a;this.o=this.i=this.oa=null;a=Bo;var b=yo;if(Op!==a||Pp!==b)Op=a,Pp=b,Qp=new Co(1);this.qa=Qp} var Op=null,Pp=null,Qp=null,dea=RegExp("'([{}#].*?)'","g"),eea=RegExp("''","g");Np.prototype.format=function(a){if(this.ma){this.oa=[];var b=fea(this,this.ma);this.o=Rp(this,b);this.ma=null}if(this.o&&0!=this.o.length)for(this.i=vc(this.oa),b=[],Sp(this,this.o,a,!1,b),a=b.join("");0a?(e=Math.floor(e/1E3),b="second"):36E5>a?(e=Math.floor(e/6E4),b="minute"):864E5>a?(e=Math.floor(e/36E5),b="hour"):6048E5>a?(e=Math.floor(e/864E5),b="day"):26298E5>a?(e=Math.floor(e/6048E5),b="week"):315576E5>a?(e=Math.floor(e/26298E5),b="month"):(e=Math.floor(e/315576E5),b="year");return c.format(e,b)} function Zp(a){return{hours:Math.floor(a/3600),minutes:Math.floor(a/60)%60,seconds:a%60}} function $p(a){a=a.split(":");for(var b=["0","0","0"],c=b.length-1,e=a.length-1;0<=e;e--)b[c--]=a[e];a=["{NUM_COUNT, plural, =1 {{NUM_COUNT} hour } other {{NUM_COUNT} hours }}","{NUM_COUNT, plural, =1 {{NUM_COUNT} minute } other {{NUM_COUNT} minutes }}","{NUM_COUNT, plural, =1 {{NUM_COUNT} second} other {{NUM_COUNT} seconds}}"];c="";b=t(b.entries());for(e=b.next();!e.done;e=b.next()){var f=t(e.value);e=f.next().value;f=f.next().value;f=Number(f);0!==f&&(c+=(new Np(a[e])).format({NUM_COUNT:f}))}return c} ;function aq(a,b){this.u=a;this.ma=b;this.o=0;this.i=null} aq.prototype.get=function(){if(0this.o&&(this.o++,a.next=this.i,this.i=a)};function bq(a){a=lea(a);"function"!==typeof ab.setImmediate||ab.Window&&ab.Window.prototype&&!Vb()&&ab.Window.prototype.setImmediate==ab.setImmediate?(cq||(cq=mea()),cq(a)):ab.setImmediate(a)} var cq;function mea(){var a=ab.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!Ob("Presto")&&(a=function(){var f=Vl("IFRAME");f.style.display="none";document.documentElement.appendChild(f);var h=f.contentWindow;f=h.document;f.open();f.close();var k="callImmediate"+Math.random(),l="file:"==h.location.protocol?"*":h.location.protocol+"//"+h.location.host;f=lb(function(p){if(("*"==l||p.origin==l)&&p.data==k)this.port1.onmessage()},this); h.addEventListener("message",f,!1);this.port1={};this.port2={postMessage:function(){h.postMessage(k,l)}}}); if("undefined"!==typeof a&&!Ub()){var b=new a,c={},e=c;b.port1.onmessage=function(){if(void 0!==c.next){c=c.next;var f=c.cb;c.cb=null;f()}}; return function(f){e.next={cb:f};e=e.next;b.port2.postMessage(0)}}return function(f){ab.setTimeout(f,0)}} var lea=Oi;function dq(){this.o=this.i=null} dq.prototype.add=function(a,b){var c=eq.get();c.set(a,b);this.o?this.o.next=c:this.i=c;this.o=c}; dq.prototype.remove=function(){var a=null;this.i&&(a=this.i,this.i=this.i.next,this.i||(this.o=null),a.next=null);return a}; var eq=new aq(function(){return new fq},function(a){return a.reset()}); function fq(){this.next=this.scope=this.fn=null} fq.prototype.set=function(a,b){this.fn=a;this.scope=b;this.next=null}; fq.prototype.reset=function(){this.next=this.scope=this.fn=null};var gq,hq=!1,iq=new dq;function jq(a,b){gq||nea();hq||(gq(),hq=!0);iq.add(a,b)} function nea(){if(ab.Promise&&ab.Promise.resolve){var a=ab.Promise.resolve(void 0);gq=function(){a.then(kq)}}else gq=function(){bq(kq)}} function kq(){for(var a;a=iq.remove();){try{a.fn.call(a.scope)}catch(b){yb(b)}eq.put(a)}hq=!1} ;function lq(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}} ;function mq(a){this.i=0;this.ua=void 0;this.u=this.o=this.ma=null;this.oa=this.qa=!1;if(a!=Ni)try{var b=this;a.call(void 0,function(c){nq(b,2,c)},function(c){nq(b,3,c)})}catch(c){nq(this,3,c)}} function oq(){this.next=this.context=this.i=this.o=this.child=null;this.ma=!1} oq.prototype.reset=function(){this.context=this.i=this.o=this.child=null;this.ma=!1}; var pq=new aq(function(){return new oq},function(a){a.reset()}); function qq(a,b,c){var e=pq.get();e.o=a;e.i=b;e.context=c;return e} function rq(a){if(a instanceof mq)return a;var b=new mq(Ni);nq(b,2,a);return b} mq.prototype.then=function(a,b,c){return sq(this,"function"===typeof a?a:null,"function"===typeof b?b:null,c)}; mq.prototype.$goog_Thenable=!0;n=mq.prototype;n.vl=function(a,b){return sq(this,null,a,b)}; n.catch=mq.prototype.vl;n.cancel=function(a){if(0==this.i){var b=new tq(a);jq(function(){uq(this,b)},this)}}; function uq(a,b){if(0==a.i)if(a.ma){var c=a.ma;if(c.o){for(var e=0,f=null,h=null,k=c.o;k&&(k.ma||(e++,k.child==a&&(f=k),!(f&&1c||0>a?0:a+b>=c?c-b:a} function kr(a){switch(a){case 1:case 3:return"100%";case 2:case 4:return"0%";default:return"50%"}} n.getTransform=function(){return this.Wu?"none":this.mb()?"scale(1, 1)":"scale("+(0===this.vn?1:0)+", "+(0===this.Qi?1:0)+")"}; function lr(a){var b,c;return null!=(c=null==(b=a.getElement())?void 0:b.getRootNode())?c:document} function mr(a){if(a.ey){var b=a.Fr||a.kf&&window.matchMedia("(max-width: 37.5rem)").matches;a=!a.mb()||!b;document.documentElement.style.overflow=a?"auto":"hidden"}} ;var Bea={WO:!1,autoClose:!0};function rr(){A.call(this,"sc.shared.MaterialSnackbar");this.i=new Xn;this.message="";this.qo=5E3;this.Tn=this.ox=!1;this.state=2} w(rr,A);rr.prototype.open=function(a){var b=this,c=a.message,e=a.action,f=void 0===a.qo?5E3:a.qo,h=void 0===a.ox?!1:a.ox,k=void 0===a.Tn?!1:a.Tn;a=a.Xz;if(0===this.state)return Promise.resolve();this.state=0;this.message=c;this.qo=f;this.ox=h;this.Tn=k;this.Xz=a;e?this.action=Object.assign({},Bea,e):this.action=void 0;this.Da();var l;(null==(l=this.action)?0:l.xN)&&this.i.focus();Cea(this);return new Promise(function(p){b.onClose=p})}; rr.prototype.close=function(){if(0===this.state){this.o&&clearTimeout(this.o);this.state=1;this.message="";var a;null==(a=this.Xz)||a.call(this);this.Da()}}; rr.prototype.content=function(){var a=this;this.element("div","class",{root:!0,widescreen:this.ox,"root-closed":this.isClosed()},function(){var b;a.element("div","class",{snackbar:!0,opened:0===a.state,closing:1===a.state,closed:a.isClosed(),"long-action":null==(b=a.action)?void 0:b.WO},"ontransitionend",function(c){if("opacity"===c.propertyName&&0!==a.state&&!a.isClosed()){a.state=2;a.Da();var e;null==(e=a.onClose)||e.call(a)}},function(){a.element("div","role","alert","aria-live","assertive","class", "message",a.message); Dea(a)})})}; function Dea(a){a.action&&a.element("div","class","action",function(){a.i.render({text:a.action.nC,trigger:function(){a.action.autoClose&&a.close();var b,c;null==(c=(b=a.action).Lm)||c.call(b)}, Pc:a.action.Pc})})} function Cea(a){if(!a.action||a.Tn)a.o=setTimeout(function(){a.close()},a.qo)} rr.prototype.isClosed=function(){return 2===this.state};function sr(){this.u=[];this.o=!1;this.oa=new rr} function tr(){return Eea.initialize()} n=sr.prototype;n.initialize=function(a){a=void 0===a?document.body:a;if(this.o)return this;this.o=!0;Fea(this,a);return this}; n.open=function(a){this.o&&this.enqueue(a)}; n.close=function(){this.oa.close()}; n.Ma=function(){var a=this;Ua(function(b){if(1==b.i)return a.o?a.ma?b.yield(a.ma,2):b.Na(2):b.return(a);a.i&&a.i.parentElement&&(a.i.parentElement.removeChild(a.i),a.i=void 0);a.o=!1;return b.return(a)})}; n.enqueue=function(a){this.u.push(a);ur(this)}; function ur(a,b){b=void 0===b?!1:b;var c,e;Ua(function(f){if(1==f.i){if(!b&&a.ma)return f.return();if(0===a.u.length)return null==(e=(c=a).qa)||e.call(c),delete a.ma,delete a.qa,f.return();a.ma||(a.ma=new Promise(function(h){a.qa=h})); return f.yield(a.oa.open(a.u[0]),2)}a.u.shift();ur(a,!0);La(f)})} function Fea(a,b){"interactive"===document.readyState||"complete"===document.readyState?vr(a,b):window.addEventListener("DOMContentLoaded",function(){vr(a,b)})} function vr(a,b){a.i=document.createElement("div");a.i.setAttribute("aria-live","polite");a.i.setAttribute("tabindex","-1");a.i.className="sc-shared-snackbar-container";b.appendChild(a.i);yn(a.i,function(){a.oa.render()})} var Eea=new sr;var Gea={jc:7,kc:7,Qq:!0,hn:!0}; function wr(a){var b=this,c=Object.assign({},a),e=a.content,f=void 0===a.scope?document.body:a.scope,h=a.ariaLabel,k=a.Kc,l=a.er;a=void 0===a.Xs?!1:a.Xs;var p=(delete c.content,delete c.scope,delete c.ariaLabel,delete c.Kc,delete c.er,delete c.Xs,c);this.o=new Map;this.scope=f;this.er=l;this.Xs=a;this.i=new jr(Object.assign({},Gea,p,{onClose:function(){if(b.Wc)for(var r=t(b.o),u=r.next();!u.done;u=r.next()){var y=t(u.value);u=y.next().value;(y=y.next().value)||u.removeAttribute("aria-hidden")}var E;null== (E=p.onClose)||E.call(p)}, content:function(){Bn("div","role","dialog","aria-modal","true","aria-label",h,"aria-labelledby",k,e)}}))} n=wr.prototype;n.initialize=function(){var a=this;if(this.Wc)return this;this.Wc=document.createElement("div");this.Wc.dataset.dialogId=this.er;this.Wc.setAttribute("aria-live","polite");this.scope.appendChild(this.Wc);yn(this.Wc,function(){a.i.render()}); return this}; n.Ma=function(){if(this.Wc){this.i.close();var a;null==(a=this.Wc)||a.remove();this.Wc=void 0}}; n.render=function(){var a=this;this.Wc||this.initialize();yn(this.Wc,function(){a.i.render()})}; n.open=function(a){a=void 0===a?{}:a;this.initialize();if(this.Wc)for(var b=this.Wc;b&&b!==document.body;){var c=b,e=this.getParent(c);if(e){e=t(e.childNodes);for(var f=e.next();!f.done;f=e.next())f=f.value,c!==f&&Li(f)&&("sc-shared-snackbar-container"!==f.className||this.Xs)&&(this.o.set(f,"true"===f.getAttribute("aria-hidden")),f.setAttribute("aria-hidden","true"))}b=this.getParent(b)}this.i.open(Object.assign({},{Jb:!0},a))}; n.close=function(){this.i.close()}; n.setAlignment=function(a){this.i.setAlignment(a)}; n.getParent=function(a){return a.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&a.host&&a.mode?a.host:a.parentNode};function xr(a){Pn.call(this);this.inputType="";this.Vd=!1;this.Ze=!0;this.As=this.rows=0;this.Bs=1;this.Lo=this.text=this.label="";this.wc=this.filled=!1;this.hf=!0;this.disabled=this.Uw=!1;this.placeholder="";this.Kc=[];this.error="";this.maxLength=void 0;this.Zs=this.ariaInvalid=this.ariaRequired=!1;this.icon=void 0;this.dm=!1;this.us=!0;this.qb=void 0;this.autocomplete="";this.Uf(a)} w(xr,Pn);n=xr.prototype; n.Uf=function(a){var b=void 0===a.Vd?!1:a.Vd,c=void 0===a.Ze?!0:a.Ze,e=void 0===a.rows?0:a.rows,f=void 0===a.As?0:a.As,h=void 0===a.Bs?1:a.Bs,k=void 0===a.label?"":a.label,l=void 0===a.placeholder?"":a.placeholder,p=void 0===a.text?"":a.text,r=void 0===a.Lo?"":a.Lo,u=void 0===a.filled?!1:a.filled,y=void 0===a.wc?!1:a.wc,E=void 0===a.hf?!0:a.hf,la=void 0===a.Uw?!1:a.Uw,ma=void 0===a.disabled?!1:a.disabled,sa=void 0===a.Gd?void 0:a.Gd,ua=void 0===a.qe?void 0:a.qe,za=void 0===a.Ie?void 0:a.Ie,Da=void 0=== a.Mm?void 0:a.Mm,Ia=void 0===a.Aw?void 0:a.Aw,Oa=void 0===a.Kc?["self"]:a.Kc,jb=void 0===a.error?"":a.error,eb=a.maxLength,Bb=void 0===a.ariaRequired?!1:a.ariaRequired,Eb=void 0===a.ariaInvalid?!1:a.ariaInvalid,ub=void 0===a.Zs?!1:a.Zs,$a=void 0===a.icon?void 0:a.icon,hb=void 0===a.dm?!1:a.dm,Wb=void 0===a.us?!0:a.us,Sb=void 0===a.qb?void 0:a.qb,Pb=void 0===a.autocomplete?"":a.autocomplete;this.inputType=void 0===a.inputType?"":a.inputType;this.Vd=b;this.rows=e;this.As=f;this.Bs=h;this.label=k;this.placeholder= l;this.text=p;this.Lo=r;this.filled=u;this.wc=y;this.hf=E;this.Uw=la;this.disabled=ma;this.Gd=sa;this.qe=ua;this.Ie=za;this.Mm=Da;this.Aw=Ia;this.Kc=Oa;this.error=jb;this.Ze=c;this.maxLength=eb;this.ariaRequired=Bb;this.ariaInvalid=Eb;this.Zs=ub;this.icon=$a;this.dm=hb;this.us=Wb;this.qb=Sb;this.autocomplete=Pb}; n.Jk=function(){return this.Ze}; n.getLabel=function(){return this.label}; n.getRows=function(){return this.rows}; n.getMaxRows=function(){return this.As}; n.getText=function(){return this.text}; n.setText=function(a){a!==this.text&&(this.text=a,this.Ba(0))}; n.getPlaceholder=function(){return this.placeholder}; n.setPlaceholder=function(a){a!==this.placeholder&&(this.placeholder=a,this.Ba(1))}; n.getError=function(){return this.error}; n.setError=function(a){a!==this.error&&(this.error=a,this.ariaInvalid=""!==a,this.Ba(2))}; n.setDisabled=function(a){a!==this.disabled&&(this.disabled=a,this.Ba(3))}; n.me=function(){return this.icon};function yr(a){a=void 0===a?{}:a;A.call(this,"sc.shared.MaterialTextField");this.labelId=On();this.u=On();this.oa=On();this.i=null;this.isComposing=this.focused=!1;this.model=a instanceof xr?a:new xr(a);this.watch(this.model)} w(yr,A);function Hea(a){return a.model.Jk()?a.i?a.i:new ar({label:a.model.getPlaceholder(),vs:a.model.getLabel()?void 0:zr(a),nj:a.model.hf,disabled:a.model.disabled,filled:a.model.filled,wc:a.model.wc,Vd:a.model.Vd,Oi:function(){return""!==a.model.getText()}, ariaHidden:!0}):null} n=yr.prototype; n.content=function(a){var b=this;a&&this.model.Uf(a);this.i=Hea(this);this.element("div","class","root",function(){b.model.getLabel()&&b.element("label","class","label","id",b.labelId,"aria-hidden","true",b.model.getLabel());b.i&&yea(b.i,!!b.model.getError());var c=b.model.qb?Ar(b.model.qb,{id:"sc.shared.MaterialTextField"}):void 0,e=c?c.attributes({Nn:!1,Iq:!1}):"";b.element("div","class",{"input-container":!0,multiline:b.model.Vd,dense:b.model.wc,invalid:b.model.getError(),outlined:!b.model.filled,filled:b.model.filled, disabled:b.model.disabled},function(){b.element(b.model.getLabel()?"div":"label","class",{box:!0,"box-no-label":b.model.filled&&!b.model.hf,"filled-box":b.model.filled&&!b.model.wc&&(b.model.hf||b.model.Vd),"filled-label":b.model.filled&&!b.model.wc&&b.model.hf,"outlined-box":!b.model.filled&&b.model.hf},function(){var h=b.Dj.apply(b,[b.model.Vd?"textarea":"input",b.oa,"class",{"native-control":!0,"native-control-filled":b.model.filled},"style",{padding:"0 15px","padding-bottom":b.model.filled?"0": "15px","padding-top":!b.model.filled&&b.model.hf?"13px":"0"},"placeholder",b.i?"":b.model.getPlaceholder(),"aria-placeholder",b.i?b.model.getPlaceholder():"","type",b.model.inputType,"rows",b.model.getRows(),"disabled",b.model.disabled,"aria-disabled",b.model.disabled,"aria-labelledby",Iea(b),"maxlength",b.model.maxLength,"onfocus",function(k){b.qe();c&&c.Ao(k)}, "onblur",function(){return void b.Ie()}, "oninput",function(){return void Br(b)}, "onkeyup",function(k){if("Enter"===k.key){var l;null==(l=b.model.Mm)||l()}else if("Tab"===k.key){var p;null==(p=b.model.Aw)||p()}}, "onkeydown",function(k){b.model.Zs&&k.stopPropagation();c&&c.ns(k)}, "onkeypress",function(k){b.model.Zs&&k.stopPropagation()}, "aria-required",b.model.ariaRequired,"aria-invalid",b.model.ariaInvalid,"tabindex",b.model.us?"0":"-1","autocomplete",b.model.autocomplete].concat(Aa(e)));b.o!==h&&(b.o=h,b.o.addEventListener("compositionstart",function(){b.isComposing=!0}),b.o.addEventListener("compositionend",function(){b.isComposing=!1; Br(b)})); b.o.value=b.model.getText();b.model.Vd&&0===b.model.getRows()&&(h=Jea(b),b.o.style.height=h+"px",0===h&&(b.o.style.overflowY="hidden"));b.model.dm&&b.model.me()&&(!b.model.filled&&b.model.hf?b.element("span","class","icon-for-outlined-box",b.model.me()):b.element("span","class","icon",b.model.me()))}); b.i&&(b.i.render(),b.i.setLabel(b.model.getPlaceholder()))}); var f=b.model.getError()||b.model.Lo;f&&(b.element("div","id",b.u,"aria-live",b.model.getError()?"polite":null,"class",{"helper-text":!0,"helper-text-invalid":b.model.getError(),"helper-text-disabled":b.model.disabled,"helper-text-filled":b.model.filled,"helper-text-outlined":!b.model.filled,"helper-text-hidden":!b.model.getError()&&b.model.Uw&&!b.focused},f),b.o.setAttribute("aria-describedby",b.u))})}; function Iea(a){return a.model.Kc?a.model.Kc.map(function(b){return"self"===b?zr(a):b}).join(" "):zr(a)} function zr(a){if(a.model.getLabel()||a.model.getPlaceholder())return a.labelId} function Jea(a){var b=Number(getComputedStyle(a.o).paddingLeft.replace(/[^0-9\.]/g,"")),c=a.o.clientWidth-2*b;b=a.element("div","class","expander","style","width: "+c+"px",""+a.model.getText()+"\u200b").clientHeight;if(a.model.getMaxRows()){var e="\n".repeat(a.model.getMaxRows()-1);e=a.element("div","class","expander","style","width: "+c+"px",""+e+"\u200b");b=Math.min(b,e.clientHeight)}1=c){var f=Number(a.style.left.replace("px",""));a.style.left=Math.floor(f-(e.right-c))+"px"}e.bottom>=b&&(a.style.top=a.offsetHeight/2*-1+"px");this.Sy&&(f=Number(a.style.left.replace("px","")),f<(e.right-f)/2&&(a.style.left="0",a.style.transform="none"),e.right>=c&&(a.style.maxWidth="100vw"),c=a.getBoundingClientRect(), 0>Number(a.style.top.replace("px",""))||c.bottom>=b)&&(a.style.top="0")}}; Cr.prototype.wb=function(){Fr(this)}; function Fr(a){a.trigger.removeEventListener("mouseenter",a.activate);a.trigger.removeEventListener("mouseleave",a.u);a.trigger.removeEventListener("focus",a.activate);a.trigger.removeEventListener("blur",a.deactivate);window.removeEventListener("resize",a.o);a.container&&a.container.removeEventListener("mouseleave",a.deactivate)} function Dr(a,b){if(b.scrollWidth>b.getBoundingClientRect().width)return!0;b=t(b.children);for(var c=b.next();!c.done;c=b.next())if(Dr(a,c.value))return!0;return!1} var Kea=In("sc.shared.MaterialTooltip");function Gr(a,b){var c=void 0===b?{}:b;b=void 0===c.mN?!0:c.mN;(void 0===c.zd?0:c.zd)?kk(window,jk(a)):(c=document.createElement("a"),Mj(c,a),c.rel="noopener",b?(a=window.location,b=jk(c.href),b=Tj(b),void 0!==b&&(a.href=b)):ek(window.location,jk(c.href)))} ;function Hr(){try{return!!window.localStorage}catch(a){return!1}} function Ir(a,b){if(Hr())try{window.localStorage.setItem(a,JSON.stringify(b))}catch(c){}} function Jr(a){var b={},c=void 0===b.removeItem?!1:b.removeItem;b=void 0===b.zN?!0:b.zN;if(!Hr())return null;try{var e=window.localStorage.getItem(a);if(!e)return null;b&&(e=JSON.parse(e));c&&Hr()&&window.localStorage.removeItem(a);return e}catch(f){return null}} ;function Kr(a,b,c){c=void 0===c?!1:c;try{var e=new URL(a);var f=!0}catch(k){f=el(a),e=new URL(f.href),f=!1}a="";c&&(a=e.search);c=new URLSearchParams(a);b=t(b.entries());for(a=b.next();!a.done;a=b.next()){var h=t(a.value);a=h.next().value;h=h.next().value;c.set(a,h)}e.search=c.toString();return f?e.toString():e.pathname+e.search+e.hash} function Lr(a,b){b=new URL(null!=b?b:window.location.href);return(new URLSearchParams(b.search)).get(a)} function Mr(a){var b=void 0===b?window.location.hash:b;b=b.split("#")[1]||b;var c;return null!=(c=(new URLSearchParams(b)).get(a))?c:""} function Nr(a,b,c){c=void 0===c?window.location.hash:c;c=c.split("#")[1]||"";c=new URLSearchParams(c);c.set(a,b);return"#"+c} function Or(a,b){try{var c=new URL(b);var e=!0}catch(f){b=el(b),c=new URL(b.href),e=!1}c.hash=Nr("play",a,c.hash);return e?c.toString():c.pathname+c.search+c.hash} ;function Pr(a){var b=a.triggerId,c=a.productData,e=a.callback,f=void 0===a.ariaLabel?"Feedback":a.ariaLabel,h=void 0===a.Au?!1:a.Au,k=void 0===a.enableTestingMode?!1:a.enableTestingMode,l=void 0===a.pv?!0:a.pv;a=void 0===a.Os?[]:a.Os;A.call(this,"sc.hats_survey_button.HatsSurveyButton");this.triggerId=b;this.productData=c;this.callback=e;this.ariaLabel=f;this.Au=h;this.enableTestingMode=k;this.pv=l;this.Os=a.map(function(p){return p.toLowerCase()})} w(Pr,A);function Lea(a){0=b.oa&&b.cancel())}this.Ea?this.Ea.call(this.Ca,this):this.ya=!0;this.ma||this.rv(new Tr(this))}}; n.FC=function(a,b){this.va=!1;Ur(this,a,b)}; function Ur(a,b,c){a.ma=!0;a.o=c;a.u=!b;Vr(a)} function Wr(a){if(a.ma){if(!a.ya)throw new Xr(a);a.ya=!1}} n.callback=function(a){Wr(this);Ur(this,!0,a)}; n.rv=function(a){Wr(this);Ur(this,!1,a)}; function Yr(a,b,c,e){a.qa.push([b,c,e]);a.ma&&Vr(a)} n.then=function(a,b,c){var e,f,h=new mq(function(k,l){f=k;e=l}); Yr(this,f,function(k){k instanceof Tr?h.cancel():e(k);return Zr},this); return h.then(a,b,c)}; Sr.prototype.$goog_Thenable=!0;Sr.prototype.branch=function(a){var b=new Sr;Yr(this,b.callback,b.rv,b);a&&(b.i=this,this.oa++);return b}; Sr.prototype.isError=function(a){return a instanceof Error}; function $r(a){return waa(a.qa,function(b){return"function"===typeof b[1]})} var Zr={}; function Vr(a){if(a.ua&&a.ma&&$r(a)){var b=a.ua,c=as[b];c&&(ab.clearTimeout(c.i),delete as[b]);a.ua=0}a.i&&(a.i.oa--,delete a.i);b=a.o;for(var e=c=!1;a.qa.length&&!a.va;){var f=a.qa.shift(),h=f[0],k=f[1];f=f[2];if(h=a.u?k:h)try{var l=h.call(f||a.Ca,b);l===Zr&&(l=void 0);void 0!==l&&(a.u=a.u&&(l==b||a.isError(l)),a.o=b=l);if(lq(b)||"function"===typeof ab.Promise&&b instanceof ab.Promise)e=!0,a.va=!0}catch(p){b=p,a.u=!0,$r(a)||(c=!0)}}a.o=b;e&&(l=lb(a.FC,a,!0),e=lb(a.FC,a,!1),b instanceof Sr?(Yr(b, l,e),b.Ha=!0):b.then(l,e));c&&(b=new bs(b),as[b.i]=b,a.ua=b.i)} function Xr(){vb.call(this)} pb(Xr,vb);Xr.prototype.message="Deferred has already fired";Xr.prototype.name="AlreadyCalledError";function Tr(){vb.call(this)} pb(Tr,vb);Tr.prototype.message="Deferred was canceled";Tr.prototype.name="CanceledError";function bs(a){this.i=ab.setTimeout(lb(this.ma,this),0);this.o=a} bs.prototype.ma=function(){delete as[this.i];throw this.o;}; var as={};function ds(a,b){var c=b||{};b=c.document||document;var e=ej(a).toString(),f=(new Ql(b)).createElement("SCRIPT"),h={qF:f,ft:void 0},k=new Sr(Qea,h),l=null,p=null!=c.timeout?c.timeout:5E3;0>>0);function zs(a){if("function"===typeof a)return a;a[Fs]||(a[Fs]=function(b){return a.handleEvent(b)}); return a[Fs]} ;function Gs(){is.call(this);this.u=new qs(this);this.Ac=this;this.Pb=null} pb(Gs,is);Gs.prototype[ms]=!0;n=Gs.prototype;n.qz=function(){return this.Pb}; n.addEventListener=function(a,b,c,e){xs(this,a,b,c,e)}; n.removeEventListener=function(a,b,c,e){Ds(this,a,b,c,e)}; n.dispatchEvent=function(a){var b,c=this.qz();if(c)for(b=[];c;c=c.qz())b.push(c);c=this.Ac;var e=a.type||a;if("string"===typeof a)a=new ks(a,c);else if(a instanceof ks)a.target=a.target||c;else{var f=a;a=new ks(e,c);Ti(a,f)}f=!0;if(b)for(var h=b.length-1;!a.ma&&0<=h;h--){var k=a.i=b[h];f=k.Dr(e,!0,a)&&f}a.ma||(k=a.i=c,f=k.Dr(e,!0,a)&&f,a.ma||(f=k.Dr(e,!1,a)&&f));if(b)for(h=0;!a.ma&&hc&&(c=a.length);var e=a.indexOf("?");if(0>e||e>c){e=c;var f=""}else f=a.substring(e+1,c);a=[a.slice(0,e),f,a.slice(c)];c=a[1];a[1]=b?c?c+"&"+b:b:c;return a[0]+(a[1]?"?"+a[1]:"")+a[2]} function Ps(a,b,c){if(Array.isArray(b))for(var e=0;ee)return null;var f=a.indexOf("&",e);if(0>f||f>c)f=c;e+=b.length+1;return decodeURIComponent(a.slice(e,-1!==f?f:0).replace(/\+/g," "))} var Yea=/[?&]($|#)/;function Ws(a,b){for(var c=a.search(Us),e=0,f,h=[];0<=(f=Ts(a,e,b,c));)h.push(a.substring(e,f)),e=Math.min(a.indexOf("&",f)+1||c,c);h.push(a.slice(e));return h.join("").replace(Yea,"$1")} function Xs(a,b,c){return Ss(Ws(a,b),b,c)} ;function Ys(){this.i=nb()} var Zs=null;Ys.prototype.set=function(a){this.i=a}; Ys.prototype.reset=function(){this.set(nb())}; Ys.prototype.get=function(){return this.i};function $s(a){this.u=a||"";Zs||(Zs=new Ys);this.oa=Zs} $s.prototype.i=!0;$s.prototype.o=!0;$s.prototype.ma=!1;function at(a){return 10>a?"0"+a:String(a)} function bt(a){$s.call(this,a)} pb(bt,$s); function Zea(a,b){var c=[];c.push(a.u," ");if(a.o){var e=c.push;var f=new Date(b.ma());f=at(f.getFullYear()-2E3)+at(f.getMonth()+1)+at(f.getDate())+" "+at(f.getHours())+":"+at(f.getMinutes())+":"+at(f.getSeconds())+"."+at(Math.floor(f.getMilliseconds()/10));e.call(c,"[",f,"] ")}e=c.push;f=a.oa.get();f=(b.ma()-f)/1E3;var h=f.toFixed(3),k=0;if(1>f)k=2;else for(;100>f;)k++,f*=10;for(;0=Lba.value)return"error";if(h.value>=Mba.value)return"warn";if(h.value>=Nba.value)return"log"}return"debug"} if(!this.o[a.o()]){var c=Zea(this.i,a),e=$ea;if(e){var f=b(a.u());afa(e,f,c,a.i())}}}; ct.prototype.addFilter=function(a){this.o[a]=!0}; var $ea=ab.console;function afa(a,b,c,e){if(a[b])a[b](c,void 0===e?"":e);else a.log(c,void 0===e?"":e)} ;function et(a){switch(a){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:return!0;default:return!1}} ;function ft(){} ft.prototype.o=null;ft.prototype.getOptions=function(){return this.o||(this.o=this.u())};var gt;function ht(){} pb(ht,ft);ht.prototype.i=function(){var a=it(this);return a?new ActiveXObject(a):new XMLHttpRequest}; ht.prototype.u=function(){var a={};it(this)&&(a[0]=!0,a[1]=!0);return a}; function it(a){if(!a.ma&&"undefined"==typeof XMLHttpRequest&&"undefined"!=typeof ActiveXObject){for(var b=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],c=0;c>>0);a={requestId:c,apiUrl:jfa(a,b,c),onLoad:b.onLoad,onError:b.onError||function(){}, bA:b.bA||function(){}, gM:b.gM||function(){}, hM:b.hM||function(){}, py:b.py,OJ:b.pageType,Ms:b.Ms};b.Se&&("IFRAME"==b.Se.nodeName?(a.window=b.Se.contentWindow,a.Se=a.window.document.body):(a.window=window,a.Se=b.Se));return a} function jfa(a,b,c){var e=pt(a)+"/apis/render?",f=a.va,h=a.Qa,k=b.helpcenter,l=a.ya,p=a.Ca,r=a.Ya,u=a.ua,y=a.Ka,E=b.pageType,la=b.pageId,ma=b.url,sa=b.Em,ua=b.lS;c=["js_request_id."+c];if(b.extraParams)for(var za in b.extraParams)c.push(za+"."+b.extraParams[za]);a={v:1,key:f,request_source:h,helpcenter:k,hl:l,authuser:p,visit_id:r,view_id:u,psd:y,page_type:E,id:la,url:ma,components:sa,exclude_components:ua,extra_params:c,mendel_ids:a.Ia,service_configuration:a.Ra,scdeb:a.Ea,instant_preview:b.instantPreview, symptom:b.symptom,scenario_id:b.testScenarioId,sjid:b.Ww,user_ip:a.Sa,js_fingerprint:a.Ha};b="";for(var Da in a)f=a[Da],void 0!=f&&(Array.isArray(f)&&(f=f.join()),b&&(b+="&"),b+=Da+"="+encodeURIComponent(f.toString()));return e+b} function ifa(a,b,c){try{var e=JSON.parse(c)}catch(f){b.onError({type:1,message:c});return}if(304!=e.application_error||e.html)if(404!=e.application_error&&e.html){if(b.Ms){if(!e.page_metadata||!e.page_metadata.page_type){b.onError({type:4});return}if(Ki.get(e.page_metadata.page_type)!=b.OJ){b.onError({type:3});return}}e.page_metadata&&b.bA(e.page_metadata);b.Se?qt(a,b,e.html):b.py(function(f){"IFRAME"==f.nodeName?(b.window=f.contentWindow,b.Se=b.window.document.body):(b.window=window,b.Se=f);qt(a, b,e.html)})}else b.onError({type:2}); else b.onError({type:5})} function qt(a,b,c){b.window.sc_scope=b.Se;b.onLoad&&(b.window[b.requestId]=function(e){b.onLoad(e.getChild(b.requestId))}); Wj(b.Se,kt(c));c=Array.from(b.Se.getElementsByTagName("script"));a.ma(b,c)} ot.prototype.ma=function(a,b){for(;0a.o.length;a.oa()} ;function vt(){var a=this;this.i=document.querySelector(".overlay");this.i.addEventListener("scroll",function(){wt(a);a.qa()}); this.o=this.i.querySelector(".overlay__backdrop");this.o.addEventListener("touchmove",function(b){return b.preventDefault()}); this.o.addEventListener("click",function(){xt(a,0)}); this.ya=this.i.querySelector(".overlay__header");this.ya.addEventListener("touchmove",function(b){a.i.classList.contains("fullscreen")&&b.preventDefault()}); this.va=this.i.querySelector(".overlay__close-button");this.va.addEventListener("click",function(){xt(a,0)}); this.qa=xl(function(){if(!a.i.classList.contains("fullscreen")&&!a.u){var b=a.i.scrollTop;0==b?(a.oa.close(),window.removeEventListener("scroll",a.ua),window.document.body.style.overflow=""):b>.8*a.o.clientHeight?xt(a,a.o.clientHeight):b<.2*a.o.clientHeight?xt(a,0):xt(a,Math.round(.7*a.o.clientHeight))}},300); this.i.addEventListener("touchstart",function(){return a.u=!0}); this.i.addEventListener("touchend",function(){a.u=!1;a.qa()}); this.ua=function(){window.scroll(0,a.Ca)}; this.oa=new st(this.i,function(b){return lfa(a,b)},function(){wt(a)})} vt.prototype.ma=oa(8);function wt(a){var b=ut(a.oa);b&&(a.i.scrollTop>=a.o.clientHeight?(a.i.classList.add("fullscreen"),b.xc.contentDocument.body.style.overflowY=""):(a.i.classList.remove("fullscreen"),b.xc.contentDocument.body.style.overflowY="hidden"),0a||5a?a=0:a>c&&(a=c);return a-b} function Pt(a){a.preventDefault()} ;function Rt(a){x.call(this,a)} w(Rt,x);n=Rt.prototype;n.getEnableSsEngine=function(){return Uf(this,2)}; n.getEnableAwr=function(){return Uf(this,3)}; n.getEnableHelpSuggestions=function(){return Uf(this,4)}; n.getAlohaAutoGaRollout=function(){return Uf(this,5)}; n.getEnableConfigurator=function(){return Uf(this,6)}; n.getEnableMweb=function(){return Uf(this,7)}; function sfa(){var a=tfa();return Lf(a,7,!0)} n.getEnableCtlConsentCheckbox=function(){return Uf(this,8)}; n.getEnableIframe=function(){return Uf(this,9)}; function tfa(){var a=new Rt;a=Lf(a,5,!0);a=Lf(a,2,!0);a=Lf(a,4,!1);a=Lf(a,8,!0);return Lf(a,9,!0)} n.getEnableScreenshotNudge=function(){return Uf(this,10)}; n.getEnableWebStartupConfigEndpoint=function(){return Uf(this,11)}; n.getEnableJunkNudge=function(){return Uf(this,12)}; n.getEnableConfiguratorLocale=function(){return Uf(this,13)}; n.getEnableTinyNoPointer=function(){return Uf(this,14)}; n.getEnableSupportSessionLogging=function(){return Uf(this,15)}; n.getEnableFileUploadForScreenshot=function(){return Uf(this,16)}; n.getEnableDirectDeflectionForSingleCategory=function(){return Uf(this,17)}; n.getEnableImageSanitization=function(){return Uf(this,18)}; n.getEnableAlohaBinarySplit=function(){return Uf(this,19)}; n.getEnableDbFeedbackIntents=function(){return Uf(this,20)}; n.getEnableMarkMandatoryFieldsWithRequired=function(){return Uf(this,21)}; n.getEnableFeedbackCategoryCustomUi=function(){return Uf(this,22)};function St(a){x.call(this,a)} w(St,x);function ufa(a){return vfa.some(function(b){return b.test(a)})} var vfa=[/https:\/\/sandbox\.google\.com\/tools\/feedback/,/https:\/\/feedback-frontend-qual[a-z0-9.]*\.google\.com\/inapp/,/https:\/\/feedback-frontend-qual[a-z0-9.]*\.google\.com\/tools\/feedback/,/https:\/\/.*\.googleusercontent\.com\/inapp/];var wfa="af;am;ar-EG;ar-JO;ar-MA;ar-SA;ar-XB;ar;az;be;bg;bn;bs;ca;cs;cy;da;de-AT;de-CH;de;el;en;en-GB;en-AU;en-CA;en-IE;en-IN;en-NZ;en-SG;en-XA;en-XC;en-ZA;es;es-419;es-AR;es-BO;es-CL;es-CO;es-CR;es-DO;es-EC;es-GT;es-HN;es-MX;es-NI;es-PA;es-PE;es-PR;es-PY;es-SV;es-US;es-UY;es-VE;et;eu;fa;fi;fil;fr-CA;fr-CH;fr;gl;gsw;gu;he;hi;hr;hu;hy;id;in;is;it;iw;ja;ka;kk;km;kn;ko;ky;ln;lo;lt;lv;mk;ml;mn;mo;mr;ms;my;nb;ne;nl;no;pa;pl;pt;pt-BR;pt-PT;ro;ru;si;sk;sl;sq;sr-Latn;sr;sv;sw;ta;te;th;tl;tr;uk ; ur ; uz ; vi ; zh;zh-CN;zh-HK;zh-TW;zu".split(";"); function Tt(a){var b;return null==(b=a.formContent)?void 0:b.locale} ;var xfa=xa(["https://www.gstatic.com/uservoice/feedback/client/web/","/main_light_binary.js"]),yfa=xa(["https://www.gstatic.com/uservoice/feedback/client/web/","/main_binary__",".js"]);function Ut(a,b){var c=Tt(a);c=(c&&wfa.includes(c)?Tt(a):"en").replaceAll("-","_").toLowerCase();var e;a=(null==(e=a.initializationData)?0:e.useNightlyRelease)?"nightly":"live";var f;return(null==b?0:null==(f=b.getEnableAlohaBinarySplit)?0:f.call(b))?sk(xfa,a):sk(yfa,a,c)} ;var Vt,Wt;function zfa(a,b,c,e){if(Vt)return Vt;var f=Ut(a,e);return Vt=b.feedbackV2GlobalObject?Promise.resolve(b.feedbackV2GlobalObject):new Promise(function(h,k){var l=Vl("SCRIPT");dk(l,f);l.onload=function(){b.feedbackV2GlobalObject?h(b.feedbackV2GlobalObject):k("feedbackV2GlobalObject not found on window.")}; l.onerror=function(){k("Feedback binary script tag failed to load: "+f.toString())}; c.body.appendChild(l)})} function Afa(a,b,c,e){if(Wt)return Wt;var f=Ut(a,e);return Wt=b.feedbackV2GlobalObject?Promise.resolve(b.feedbackV2GlobalObject):new Promise(function(h,k){var l=Vl("SCRIPT");dk(l,f);l.onload=function(){b.feedbackV2GlobalObject?h(b.feedbackV2GlobalObject):k("feedbackV2GlobalObject not found on window.")}; l.onerror=function(){k("Feedback binary script tag failed to load: "+f.toString())}; c.body.appendChild(l)})} function Bfa(a,b,c,e,f){f=void 0===f?!0:f;var h,k,l,p,r;return Ua(function(u){switch(u.i){case 1:return h=Date.now(),u.yield(zfa(a,c,e,b),2);case 2:k=u.o;if(!(f||(null==(p=a.initializationData)?0:p.useNightlyRelease)||(null==(r=a.initializationData)?0:r.isLocalServer))){l=k.initializeFeedbackClient(a,h,b);u.Na(3);break}return u.yield(k.initializeFeedbackClientAsync(a,h,b),4);case 4:l=u.o;case 3:return l.initiateAloha(),u.return(l)}})} function Cfa(a,b,c,e){var f,h,k;return Ua(function(l){if(1==l.i)return f=Date.now(),l.yield(Afa(a,c,e.document,b),2);if(3!=l.i)return h=l.o,l.yield(h.initializeFeedbackClientAsync(a,f,b,e),3);k=l.o;k.initiateAloha();return l.return(k)})} function Dfa(a,b,c){var e=!0;e=void 0===e?!0:e;var f,h,k,l,p,r,u,y,E,la;return Ua(function(ma){f=c||ab;if(null==(h=b)?0:null==(l=(k=h).getEnableAlohaBinarySplit)?0:l.call(k)){p=f;if(p.isFormOpened)throw r=Error("Form is either loading or already opened"),r.name="DuplicateFormError",r;p.isFormOpened=!0;a.callbacks=a.callbacks||{};u=a.callbacks.onClose||function(){}; a.callbacks.onClose=function(sa){p.isFormOpened=!1;u(sa)}; try{return ma.return(Cfa(a,b,p,f))}catch(sa){throw p.isFormOpened=!1,sa;}}else{y=f;if(y.isFormOpened)throw E=Error("Form is either loading or already opened"),E.name="DuplicateFormError",E;y.isFormOpened=!0;a.callbacks=a.callbacks||{};la=a.callbacks.onClose||function(){}; a.callbacks.onClose=function(sa){y.isFormOpened=!1;la(sa)}; try{return ma.return(Bfa(a,b,y,f.document,e))}catch(sa){throw y.isFormOpened=!1,sa;}}})} ;function Efa(a){try{return ab.JSON.parse(a)}catch(b){}a=String(a);if(/^\s*$/.test(a)?0:/^[\],:{}\s\u2028\u2029]*$/.test(a.replace(/\\["\\\/bfnrtu]/g,"@").replace(/(?:"[^"\\\n\r\u2028\u2029\x00-\x08\x0a-\x1f]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)[\s\u2028\u2029]*(?=:|,|]|}|$)/g,"]").replace(/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g,"")))try{return eval("("+a+")")}catch(b){}throw Error("Invalid JSON string: "+a);} ;function Xt(a){Gs.call(this);this.headers=new Map;this.Ha=a||null;this.o=!1;this.Ea=this.i=null;this.Ca=this.Qa="";this.ma=this.Ka=this.ya=this.Ia=!1;this.oa=0;this.va=null;this.Oa="";this.Ra=this.Sa=!1} pb(Xt,Gs);var Ffa=/^https?$/i,Gfa=["POST","PUT"],Yt=[];function Zt(a,b,c,e,f,h,k){var l=new Xt;Yt.push(l);b&&l.listen("complete",b);l.Rx("ready",l.eJ);h&&(l.oa=Math.max(0,h));k&&(l.Sa=k);l.send(a,c,e,f)} n=Xt.prototype;n.eJ=function(){this.dispose();uc(Yt,this)}; n.send=function(a,b,c,e){if(this.i)throw Error("[goog.net.XhrIo] Object is active with another request="+this.Qa+"; newUri="+a);b=b?b.toUpperCase():"GET";this.Qa=a;this.Ca="";this.Ia=!1;this.o=!0;this.i=this.Ha?this.Ha.i():gt.i();this.Ea=this.Ha?this.Ha.getOptions():gt.getOptions();this.i.onreadystatechange=lb(this.QE,this);try{this.getStatus(),this.Ka=!0,this.i.open(b,String(a),!0),this.Ka=!1}catch(k){this.getStatus();$t(this,k);return}a=c||"";c=new Map(this.headers);if(e)if(Object.getPrototypeOf(e)=== Object.prototype)for(var f in e)c.set(f,e[f]);else if("function"===typeof e.keys&&"function"===typeof e.get){f=t(e.keys());for(var h=f.next();!h.done;h=f.next())h=h.value,c.set(h,e.get(h))}else throw Error("Unknown input type for opt_headers: "+String(e));e=Array.from(c.keys()).find(function(k){return"content-type"==k.toLowerCase()}); f=ab.FormData&&a instanceof ab.FormData;!tc(Gfa,b)||e||f||c.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");b=t(c);for(e=b.next();!e.done;e=b.next())c=t(e.value),e=c.next().value,c=c.next().value,this.i.setRequestHeader(e,c);this.Oa&&(this.i.responseType=this.Oa);"withCredentials"in this.i&&this.i.withCredentials!==this.Sa&&(this.i.withCredentials=this.Sa);try{au(this),0=l.length)&&(a.psdJson=l)}k||(b={invalidPsd:!0})}b=[a,b,c];e.GOOGLE_FEEDBACK_START_ARGUMENTS=b;c=a.feedbackServerUri||"//www.google.com/tools/feedback";if(k=e.GOOGLE_FEEDBACK_START)k.apply(e, b);else{e=c+"/load.js?";for(var p in a)b=a[p],null==b||gb(b)||(e+=encodeURIComponent(p)+"="+encodeURIComponent(b)+"&");a=Pl(f).createElement("SCRIPT");h&&a.setAttribute("nonce",h);h=gj(e);dk(a,h);f.body.appendChild(a)}} function hu(a,b,c,e){var f,h;Ua(function(k){f=c||ab;var l=["web_answers"].includes(a.triggerId)?"en":a.locale,p="DEV"===a.serverEnvironment,r=c||ab;r=a.nonce||Oj(r);l={integrationKeys:{productId:a.productId,feedbackBucket:a.bucket,triggerId:a.triggerId},callbacks:{onClose:a.callback,onLoad:a.onLoadCallback},formContent:{locale:l,disableScreenshot:a.disableScreenshotting,productDisplayName:void 0,announcement:void 0,issueCategories:void 0,includeSeveritySelection:void 0,customImageSrc:void 0,thankYouMessage:void 0, userEmail:void 0,defaultFormInputValues:void 0,defaultFormInputValuesString:void 0,abuseLink:a.abuseLink},initializationData:{isLocalServer:p,nonce:r,useNightlyRelease:p,feedbackJsUrl:void 0,feedbackCssUrl:void 0,feedbackJsUrlSerialized:void 0,feedbackCssUrlSerialized:void 0,submissionServerUri:a.feedbackServerUri,colorScheme:a.colorScheme},extraData:{productVersion:a.productVersion,authUser:a.authuser,configuratorId:a.configuratorId,customZIndex:a.customZIndex,tinyNoPointer:a.tinyNoPointer,allowNonLoggedInFeedback:a.allowNonLoggedInFeedback, enableAnonymousFeedback:a.enableAnonymousFeedback}};b&&(p=new Map(Object.entries(b)),l.extraData.productSpecificData=p);h=l;return k.yield(Dfa(h,e,f),0)})} function iu(a,b,c){try{if("help"===a.flow){var e=a.helpCenterPath.replace(/^\//,"");kk(c||window,jk("https://support.google.com/"+e))}else"submit"===a.flow?gu(a,b,c):Ifa(a.productId,a.feedbackServerUri).then(function(f){f=zf(f,Rt,1);var h=!Baa||(null==f?void 0:f.getEnableMweb()),k=!a.tinyNoPointer||(null==f?void 0:f.getEnableTinyNoPointer());!f||f.getAlohaAutoGaRollout()&&h&&k?hu(a,b,c,f):gu(a,b,c)},function(f){f&&"DuplicateFormError"!==f.name&&gu(a,b,c)})}catch(f){hu(a,b,c,null)}} ob("userfeedback.api.startFeedback",iu);function ju(a){window.sc_trackStatsEvent(49,8);ku(a)} function ku(a){var b=a.productId,c=a.bucket,e=void 0===a.flow?"material":a.flow,f=void 0===a.Jy?!1:a.Jy,h=void 0===a.yI?!0:a.yI,k=a.iN,l=a.onClose,p=a.onLoad,r=a.payload;a=a.description;var u=z(),y={};b=(y.flow=e,y.locale=u.lang,y.productId=b,y.disableSubmit=f,y);c&&(b.bucket=c);l&&(b.callback=l);p&&(b.onLoadCallback=p);u.sb_uri&&(b.serverUri=u.sb_uri);k&&(b.reportDataCallback=k);b.allowNonLoggedInFeedback=h;"submit"===e&&(b.report={description:a});var E={};r.forEach(function(la,ma){E[ma]=la}); iu(b,E)} ;function lu(){var a=z();a=new Map([["answer_id",a.pid],["bc_url",a.bcUrl],["environment_hostname",a.ehn],["external_name",a.ehc],["hc",a.hc],["hostname",a.host],["internal_ip",a.ii],["experiments",a.mendel_ids],["page_type",a.pt],["user_logged_in",a.li],["environment",a.env],["client",mu()]]);a.set("escalation_availability_matching_frd_forms",rl().escalation_availability_matching_frd_forms);a.set("rule_service_escalation_availability_c2c_event_id",rl().rule_service_escalation_availability_c2c_event_id); a.set("rule_service_escalation_availability_c2c_synthesis_event_id",rl().rule_service_escalation_availability_c2c_synthesis_event_id);a.set("rule_service_escalation_availability_chat_event_id",rl().rule_service_escalation_availability_chat_event_id);a.set("rule_service_escalation_availability_chat_synthesis_event_id",rl().rule_service_escalation_availability_chat_synthesis_event_id);a.set("rule_service_escalation_availability_email_event_id",rl().rule_service_escalation_availability_email_event_id); a.set("rule_service_escalation_availability_email_synthesis_event_id",rl().rule_service_escalation_availability_email_synthesis_event_id);a.set("rule_service_escalation_availability_phone_event_id",rl().rule_service_escalation_availability_phone_event_id);a.set("rule_service_escalation_availability_phone_synthesis_event_id",rl().rule_service_escalation_availability_phone_synthesis_event_id);a.set("rule_service_extensible_contact_options_event_id",rl().rule_service_extensible_contact_options_event_id); a.set("rule_service_form_synthesis_event_id",rl().rule_service_form_synthesis_event_id);a.set("rule_service_helpcenter_fields_synthesis_event_id",rl().rule_service_helpcenter_fields_synthesis_event_id);return a} function mu(){var a=z().rs;switch(a){case 4:return"cases";case 1:return"helpcenter";default:return String(a)}} ;function nu(){Kfa(this)} function Kfa(a){a.i=(new Ft({className:"material-dialog-backdrop",Hq:"material-dialog-backdrop--active",vE:"material-dialog-backdrop--locked",uJ:"material-dialog-backdrop--disable-click-capture"})).pC(function(){return!a.oa}); a.i.getElement().addEventListener("click",function(b){b=b.target;var c=b.getAttribute("data-material-dialog-action");c&&(a.o&&a.o(c),Ek(b,"material-dialog--disable-close")||a.close())})} nu.prototype.open=function(a){var b=this,c=a.querySelector(".material-dialog__title");a.setAttribute("role","dialog");c&&(a.setAttribute("title",c.textContent),rfa(c,a).reset().enable(Ek(a,"material-dialog--draggable")));var e=a.querySelector(".material-dialog__minimize-button");if(e){var f=e.getAttribute("data-material-dialog-minimized-aria-label"),h=function(){var k=document.createElement("button");k.className="material-dialog-minimized";k.textContent=c.textContent+"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u2594"; f&&k.setAttribute("aria-label",f);k.addEventListener("click",function(){b.i.open();document.body.removeChild(k)}); b.i.close();document.body.appendChild(k);k.focus()}; this.u=function(){return e.removeEventListener("click",h)}; e.addEventListener("click",h)}this.oa=Ek(a,"material-dialog--disable-close");this.i.hB(!Ek(a,"material-dialog--show-background")).eB(Ek(a,"material-dialog--disable-click-capture")).setContent(a).open();a.focus();return this}; nu.prototype.close=function(){this.i.close();this.u&&this.u();this.ma&&this.ma()}; nu.prototype.Lm=function(a){this.o=a;return this}; nu.prototype.onClose=function(a){this.ma=a;return this}; nu.prototype.onClose=nu.prototype.onClose;nu.prototype.onAction=nu.prototype.Lm;nu.prototype.close=nu.prototype.close;nu.prototype.open=nu.prototype.open;function ou(a){Pn.call(this);this.rk=!1;this.text=this.group="";this.selected=this.disabled=!1;this.Uf(a)} w(ou,Pn);n=ou.prototype;n.Uf=function(a){var b=void 0===a.text?"":a.text,c=void 0===a.disabled?!1:a.disabled,e=void 0===a.selected?!1:a.selected,f=a.content,h=a.ariaLabel,k=a.Yh,l=a.Kj,p=void 0===a.rk?!1:a.rk;this.group=void 0===a.group?"":a.group;this.selected=e;this.text=b;this.content=f;this.ariaLabel=h;this.Yh=k;this.disabled=c;this.Kj=l;this.rk=p}; n.getGroup=function(){return this.group}; n.getText=function(){return this.text}; n.getContent=function(){return this.content}; n.Fe=function(){return this.ariaLabel}; n.isSelected=function(){return this.selected}; n.setSelected=function(a){this.selected=a;var b;null==(b=this.Kj)||b.call(this,this.selected);this.Ba(0)}; n.setDisabled=function(a){this.disabled=a;this.Ba(1)};function pu(a){a=void 0===a?{}:a;A.call(this,"sc.shared.MaterialRadio");this.id=On();this.model=a instanceof ou?a:new ou(a);this.overlay=new Un({Rn:!0});this.i=null;this.watch(this.model)} w(pu,A); pu.prototype.content=function(a){var b=this;a&&this.model.Uf(a);this.element("div","class",{root:!0,disabled:this.model.disabled,"align-top":this.model.rk},function(){b.element("div","class","touch-target","onclick",function(){b.model.disabled||!b.i||b.i.checked||(b.i.checked=!0,b.onChange())},function(){b.element("div","class","radio",function(){b.i=b.element("input","id",b.id,"class","native-control","type","radio","name",b.model.getGroup(),"aria-label",b.model.Fe(),"aria-describedby",b.model.Yh,"disabled", b.model.disabled,"onchange",function(){b.onChange()}); b.i.checked=b.isSelected();b.element("div","class","ring");b.element("div","class","dot");b.overlay.render()})}); var c=b.model.getText(),e=b.model.getContent();(c||e)&&b.element("label","for",b.id,"class","label-text","onclick",function(){Vn(b.overlay,0,0,!0)},c||e)})}; pu.prototype.onChange=function(){if(this.i&&this.model.isSelected()!==this.i.checked&&(this.model.setSelected(this.i.checked),this.model.getGroup()))for(var a=t(Array.from(document.getElementsByName(this.model.getGroup()))),b=a.next();!b.done;b=a.next())b.value.dispatchEvent(new Event("change"))}; pu.prototype.isSelected=function(){return this.model.isSelected()};function qu(a){var b=Object.assign({},a),c=a.content,e=void 0===a.Ph?!0:a.Ph,f=void 0===a.Sl?"placement-start":a.Sl,h=void 0===a.Lq?"alignment-start":a.Lq,k=void 0===a.style?"style-normal":a.style;a=a.Rq;b=(delete b.content,delete b.Ph,delete b.Sl,delete b.Lq,delete b.style,delete b.Rq,b);A.call(this,"sc.shared.MaterialRichTooltip");var l=this;this.o=!1;this.Zd=this.Yd=0;this.u=c;this.Ph=e;this.qa=f;this.oa=h;this.ua=k;this.Rq=a;this.i=new jr(Object.assign({},{content:function(){ru(l)}, Rj:!0,hn:!1,Qq:!1},b))} w(qu,A);n=qu.prototype;n.open=function(a){this.Ph?this.i.open(a):(this.o=!0,this.Da())}; n.mb=function(){return this.Ph?this.i.mb():this.o}; n.close=function(){this.Ph?this.i.close():(this.o=!1,this.Da())}; function su(a,b){var c=b.Zd;if(!a.Ph){var e;a.Yd=null!=(e=b.Yd)?e:a.Yd;a.Zd=null!=c?c:a.Zd;a.Da()}} n.fe=function(){return!0}; n.content=function(){var a=this;this.Ph?this.i.render():this.element("div","class","popup-container","style",{visibility:this.o?"visible":"hidden",transform:"translate("+this.Yd+"px, "+this.Zd+"px)"},function(){ru(a)})}; function ru(a){a.element("div","class","root "+a.qa+" "+a.ua,function(){a.element("div","class","container","style",{padding:a.Rq},a.u);a.element("div","class","clip-track "+a.oa,function(){a.element("div","class","clip",function(){a.element("div","class","caret")})})})} ;function tu(a,b){b=void 0===b?z().hc:b;this.o=a;this.ma={};b&&(this.ma.helpcenter=b)} n=tu.prototype;n.Vk=function(a){this.oa=a;return this}; n.onError=function(a){this.u=a;return this}; n.OE=function(a){this.qa=a;return this}; n.yf=function(a,b){this.ma[a]=b;return this}; n.start=function(a){var b=this;a=void 0===a?z().upload_hostname:a;var c=new XMLHttpRequest;c.open("POST",a+(z().redirect_upload_to_boq||z().redirect_upload_to_boq_support_content?"/upload-ceres":"/upload"));c.withCredentials=!0;c.addEventListener("load",function(){try{var e=JSON.parse(c.responseText);Lfa(b,e.sessionStatus.externalFieldTransfers[0].formPostInfo.url)}catch(f){uu(b)}}); c.addEventListener("error",function(){return uu(b)}); c.addEventListener("abort",function(){return uu(b)}); c.send(Mfa(this));return this}; function Lfa(a,b){var c=new XMLHttpRequest;c.open("POST",b);c.withCredentials=!0;c.addEventListener("load",function(){try{var e=JSON.parse(c.responseText).sessionStatus.additionalInfo["uploader_service.GoogleRupioAdditionalInfo"].completionInfo.customerSpecificInfo;a.i=e.cns_filename;a.ua=e.document_id;a.oa&&a.oa()}catch(f){uu(a)}}); c.upload.addEventListener("progress",function(e){a.qa&&a.qa(e.lengthComputable?Math.max(e.loaded-(e.total-a.o.size),0):0)}); c.addEventListener("error",function(){return uu(a)}); c.addEventListener("abort",function(){return uu(a)}); b=new FormData;b.append("Filedata",a.o,a.o.name);c.send(b)} function uu(a){a.u&&a.u()} function Mfa(a){var b=[{external:{name:"file",filename:a.o.name,formPost:{}}}],c;for(c in a.ma)b.push({inlined:{name:c,content:a.ma[c],contentType:"text/plain"}});return JSON.stringify({protocolVersion:"0.8",createSessionRequest:{fields:b}})} n.iK=function(){return this.i}; n.um=function(){return this.ua}; tu.prototype.getDocumentId=tu.prototype.um;tu.prototype.getCnsFilename=tu.prototype.iK;tu.prototype.start=tu.prototype.start;tu.prototype.setMetadata=tu.prototype.yf;tu.prototype.onProgress=tu.prototype.OE;tu.prototype.onError=tu.prototype.onError;tu.prototype.onSuccess=tu.prototype.Vk;function vu(){var a=this;this.o=document.querySelector(".overlay");this.i=(new Ft({className:"overlay-backdrop",Hq:"overlay-backdrop--active",vE:"overlay-backdrop--locked"})).setContent(this.o).onClose(function(){a.u.close()}); this.i.hB(!0);this.i.eB(!0);this.oa=this.o.querySelector(".overlay__close-button");this.oa.addEventListener("click",function(){a.i.close()}); this.u=new st(this.o,function(b){b.xc.contentDocument.body.style.padding="2.5rem 3.25rem"},null)} vu.prototype.ma=oa(7);window.sc_initOverlay=function(){return new vu};var Nfa={"ads.svg":$i('\n'),"alumnus_expert.svg":$i('\n'), "beenhere.svg":$i('\n'),"beta.svg":$i('\n\n\n\n\n'), "beta_dark.svg":$i('\n\n\n\n'), "bids_and_budgets.svg":$i('\n'),"bronze_expert.svg":$i('\n'),"community_specialist.svg":$i('\n'), "diamond_expert.svg":$i('\n'), "error_computer.svg":$i('\n'), "gold_expert.svg":$i('\n'), "google_employee.svg":$i('\n'),"guidebook.svg":$i('\n\n\n'), "keywords_and_targeting.svg":$i('\n'),"laptop_check.svg":$i('\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n'), "legacy_expert.svg":$i('\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n'), "logo_googleg_48dp.svg":$i('\n \n \n \n \n \n\n'), "no_notifications.svg":$i('\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n'), "page_desktop.svg":$i('\n'), "page_desktop_dark.svg":$i('\n'), "platinum_expert.svg":$i('\n'), "play.svg":$i('\n'),"quickreply.svg":$i('\n'),"search.svg":$i('\n'), "silver_expert.svg":$i('\n'), "stop.svg":$i('\n'),"volunteer_activism.svg":$i('\n'), "workflow.svg":$i('\n'), "workflow_dark.svg":$i('\n')};function wu(a){A.call(this,"sc.shared.TsAssetInterop");this.i=a} w(wu,A);wu.prototype.content=function(){Cn(Nfa[this.i])};var Ofa=new Map([[0,"workflow.svg"],[1,"legacy_expert.svg"],[2,"alumnus_expert.svg"],[3,"bronze_expert.svg"],[4,"silver_expert.svg"],[5,"gold_expert.svg"],[6,"platinum_expert.svg"],[7,"diamond_expert.svg"],[8,"community_specialist.svg"],[9,"google_employee.svg"],[10,"play.svg"],[11,"stop.svg"],[12,"quickreply.svg"],[13,"volunteer_activism.svg"],[14,"beenhere.svg"],[16,"bids_and_budgets.svg"],[17,"keywords_and_targeting.svg"],[15,"ads.svg"],[18,"guidebook.svg"],[19,"beta.svg"]]),xu=new Map([[0,"workflow_dark.svg"], [19,"beta_dark.svg"]]);function yu(a){var b=void 0===a.tb?!1:a.tb,c=void 0===a.ez?!1:a.ez,e=a.icon,f=void 0===a.isDarkMode?!1:a.isDarkMode,h=void 0===a.size?24:a.size,k=a.title;a=void 0===a.Zw?!1:a.Zw;A.call(this,"sc.icon.Icon");f=f&&xu.has(e)?xu.get(e):Ofa.get(e);if(void 0===f)throw Error("The icon asset "+e+" is undefined.");this.tb=b;this.ez=c;this.size=h;this.i=new wu(f);this.title=k;this.Zw=a} w(yu,A);yu.prototype.content=function(){var a=this;this.element("div","class",{root:!0,baseline:this.tb,"text-bottom":this.Zw,flip:this.ez},"title",this.title,"style",{height:this.size+"px",width:this.size+"px"},function(){a.i.render()})};function zu(a){x.call(this,a)} w(zu,x);function Au(a,b){return of(a,3,b,De)} zu.La=[1,2,3,4];function Bu(a){if(!(a&&a instanceof x))throw Error("Value is not proto message.");return Qc(a.serialize(),2)} ;function Cu(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 Du={CLICK:{string:"click",Eg:"cOuCgd"},GENERIC_CLICK:{string:"generic_click",Eg:"szJgjc"},IMPRESSION:{string:"impression",Eg:"xr6bB"},HOVER:{string:"hover",Eg:"ZmdkE"},KEYPRESS:{string:"keypress",Eg:"Kr2w4b"},KEYBOARD_ENTER:{string:"keyboard_enter",Eg:"SYhH9d"},VIS:{string:"vis",Eg:"HkgBsf"}};function Eu(a){if(Fu.has(a))return Fu.get(a);throw Error("Unrecognized EventLabel "+a+".");} function Gu(a){for(var b=new Map,c=t(Object.keys(a)),e=c.next();!e.done;e=c.next())e=e.value,b.set(a[e].string,a[e].Eg);return b} for(var Fu=Gu(Du),Hu=new Map,Iu=t(Object.keys(Du)),Ju=Iu.next();!Ju.done;Ju=Iu.next()){var Ku=Ju.value;Hu.set(Du[Ku].Eg,Du[Ku].string)}var Lu=Gu({TRACK:{string:"track",Eg:"u014N"},INDEX:{string:"index",Eg:"cQYSPc"},MUTABLE:{string:"mutable",Eg:"dYFj7e"},COMPONENT_ID:{string:"cid",Eg:"cOuyq"},TEST_CODE:{string:"tc",Eg:"DM6Eze"}});function Mu(a,b){this.i=a;this.qa=b||!1;this.ma=new Set;this.va=null;this.oa=[];this.o=void 0;this.Ca=this.u=!1;this.ya=null;this.ua=[]} function Nu(a,b){if(b){var c=a.ma;var e=c.has;a=a.qa?Eu(b):b;c=e.call(c,a)}else c=0!=a.ma.size;return c} Mu.prototype.getIndex=function(){return this.va}; Mu.prototype.setAttribute=function(a){this.ya=a;return this}; Mu.prototype.getAttribute=function(){return this.ya}; function Ou(a,b){a.ua.push(b)} function Pu(a,b){for(var c=0;c=a.offsetWidth||0>=a.offsetHeight))return!1;a=a.getBoundingClientRect();return(b=Dm(b,new Cm(a.left,a.top,a.width,a.height)))&&10<=b.width&&10<=b.height?!0:!1} function Yfa(a,b,c){for(var e=[],f={},h=b.length-1;0<=h;f={An:f.An,Uj:f.Uj,yq:f.yq},h--){f.Uj=new Ev;f.yq=[];f.An=tv();Cf(f.Uj,Su,1,f.An);var k=new wv;Cf(k,Su,1,f.An);Cf(f.Uj,wv,9,k);if(k=Vs(window.location.href,"ved"))k=Av(new zv,k),Cf(f.Uj,zv,4,k);b[h].forEach(function(l){return function(p,r){r.o=l.An;r.u=l.An;var u=Xv(this,r);p.length&&gv(u,p);p=r.getElement();Vv(p,c)?(r.oa=!1,r.hidden=!1):u.Sm(1);this.o&&Nu(r.getTag(),"hover")&&void 0!==r.i&&(p.setAttribute("data-hveid",Number(r.i)),0===Bf(l.Uj, fv,2).length&&mv(r)&&(p.setAttribute("decode-data-ved","1"),p.setAttribute("data-ved",mv(r)+"")));this.setTimestamp(u);Ff(l.Uj,2,fv,u);l.yq=l.yq.concat(r.getTag().oa)}}(f),a); k=new pv;Uv();rv(k,f.Uj.serialize());of(k,20,f.yq,De);e.push(k)}return e} function Zfa(a,b,c){for(var e=[],f=new Map,h=b.length-1;0<=h;h--){var k=b[h],l=k.keys().next().value.u,p=f.get(l)||[];p.push(k);f.set(l,p)}f.forEach(function(r,u){var y=0,E=[],la=new Ev,ma=[],sa=tv();Cf(la,Su,1,sa);Cf(la,Su,3,u);var ua=new wv;Cf(ua,Su,1,u);Cf(la,wv,9,ua);for(ua=0;uaarguments.length&&h.args.push(new a.YN);k&&(k=aw,!a.KA||0==fw||a.measure&&1!=fw||(k=(k+1)%2),$v[k].push(h));return fga()}} function gga(a,b){bw=!1;var c={};fw=1;for(var e=0;ea&&(aga++,100h.length)return null;k=h[0].trim();h=h[1].trim();if(Cb(k)||Cb(h))return null;switch(k){case iw(a,"track"):k=h.split(",");for(h=0;h "}); c+=b.length?"END]":"EMPTY]"} function Bw(a){if(a.Ac){var b=a.Ac();a=Ul(b||em(a.oa)||window)}else a=Ul(em(a.oa)||window);return a} ;function Cw(a){if(!a)return"";if(/^about:(?:blank|srcdoc)$/.test(a))return window.origin||"";a.startsWith("blob:")&&(a=a.substring(5));a=a.split("#")[0].split("?")[0];a=a.toLowerCase();0==a.indexOf("//")&&(a=window.location.protocol+a);/^[\w\-]*:\/\//.test(a)||(a=window.location.href);var b=a.substring(a.indexOf("://")+3),c=b.indexOf("/");-1!=c&&(b=b.substring(0,c));c=a.substring(0,a.indexOf("://"));if(!c)throw Error("URI is missing protocol: "+a);if("http"!==c&&"https"!==c&&"chrome-extension"!== c&&"moz-extension"!==c&&"file"!==c&&"android-app"!==c&&"chrome-search"!==c&&"chrome-untrusted"!==c&&"chrome"!==c&&"app"!==c&&"devtools"!==c)throw Error("Invalid URI scheme in origin: "+c);a="";var e=b.indexOf(":");if(-1!=e){var f=b.substring(e+1);b=b.substring(0,e);if("http"===c&&"80"!==f||"https"===c&&"443"!==f)a=":"+f}return c+"://"+b+a} ;function rga(){function a(){f[0]=1732584193;f[1]=4023233417;f[2]=2562383102;f[3]=271733878;f[4]=3285377520;u=r=0} function b(y){for(var E=k,la=0;64>la;la+=4)E[la/4]=y[la]<<24|y[la+1]<<16|y[la+2]<<8|y[la+3];for(la=16;80>la;la++)y=E[la-3]^E[la-8]^E[la-14]^E[la-16],E[la]=(y<<1|y>>>31)&4294967295;y=f[0];var ma=f[1],sa=f[2],ua=f[3],za=f[4];for(la=0;80>la;la++){if(40>la)if(20>la){var Da=ua^ma&(sa^ua);var Ia=1518500249}else Da=ma^sa^ua,Ia=1859775393;else 60>la?(Da=ma&sa|ua&(ma|sa),Ia=2400959708):(Da=ma^sa^ua,Ia=3395469782);Da=((y<<5|y>>>27)&4294967295)+Da+za+Ia+E[la]&4294967295;za=ua;ua=sa;sa=(ma<<30|ma>>>2)&4294967295; ma=y;y=Da}f[0]=f[0]+y&4294967295;f[1]=f[1]+ma&4294967295;f[2]=f[2]+sa&4294967295;f[3]=f[3]+ua&4294967295;f[4]=f[4]+za&4294967295} function c(y,E){if("string"===typeof y){y=unescape(encodeURIComponent(y));for(var la=[],ma=0,sa=y.length;mar?c(l,56-r):c(l,64-(r-56));for(var la=63;56<=la;la--)h[la]=E&255,E>>>=8;b(h);for(la=E=0;5>la;la++)for(var ma=24;0<=ma;ma-=8)y[E++]=f[la]>>ma&255;return y} for(var f=[],h=[],k=[],l=[128],p=1;64>p;++p)l[p]=0;var r,u;a();return{reset:a,update:c,digest:e,digestString:function(){for(var y=e(),E="",la=0;lal?"":0==l?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(Date.now()+1E3*l)).toUTCString();this.i.cookie=a+"="+b+c+k+l+e+(null!=f?";samesite="+ f:"")}; n.get=function(a,b){for(var c=a+"=",e=(this.i.cookie||"").split(";"),f=0,h;fa.Bc()?"https://www.google.com/log?format=json&hasfast=true":"https://play.google.com/log?format=json&hasfast=true");return a.Qa} n.dispatch=function(a){a instanceof pv?this.log(a):(a=qv(new pv,a.serialize()),this.log(a))}; n.dh=function(a){a?(this.experimentIds||(this.experimentIds=new nv),a=a.serialize(),Of(this.experimentIds,4,a)):this.experimentIds&&qf(this.experimentIds,4)}; function Vw(a,b){a.oa=new Kw(1>b?1:b);a.i.setInterval(a.oa.getValue())} n.log=function(a){a=a.clone();var b=this.lc++;a=Ze(a,21,b);this.componentId&&Of(a,26,this.componentId);if(!Xe(a,1)){b=a;var c=Date.now().toString();Ze(b,1,c)}null==Xe(a,15)&&(b=60*(new Date).getTimezoneOffset(),Ze(a,15,b));this.experimentIds&&(b=this.experimentIds.clone(),Cf(a,nv,16,b));for(;this.o.length>=this.bufferSize;)this.o.shift(),++this.Ca;this.o.push(a);this.dispatchEvent(new Ww(a));this.jo||this.i.enabled||this.i.start()}; n.flush=function(a,b){var c=this;if(0===this.o.length)a&&a();else if(this.Ra)Xw(this.ma,3),Yw(this);else{var e=Date.now();if(this.yb>e&&this.Sala||401===la||0===la);ma&&(c.o=sa.concat(c.o),c.jo||c.i.enabled||c.i.start());b&&b("net-send-failed",la);++c.va},E=function(){c.network?c.network.send(r,u,y):c.jw(r,u,y)}; p?p.then(function(la){r.IA["Content-Encoding"]="gzip";r.IA["Content-Type"]="application/binary";r.body=la;r.WI=2;E()},function(){E()}):E()}}}}; n.cz=function(){this.ya||(Zw(this.ma,!0),this.Ha&&(Xw(this.ma,3),Yw(this)),this.Ea&&(Xw(this.ma,2),xga(this)),this.flush(),Zw(this.ma,!1))}; function Yw(a){$w(a,32,10,function(b,c){b=Ss(b,"format","json");var e=!1;try{e=window.navigator.sendBeacon(b,c.serialize())}catch(f){}a.Ra&&!e&&(a.Ra=!1);return e})} function xga(a){$w(a,6,5,function(b,c){b=Rs(b,"format","base64json","p",Qc(c.serialize(),3));if(15360=this.start){a.srt=e.responseStart-this.start;a.ol=a.prt=b-e.responseStart;break}var f;null==(f=Rr)||f.jt(a)}; function hz(a,b,c){c=void 0===c?!0:c;var e=new Sx;Ze(e,1,b);a=Math.trunc(window.performance.now()-a.start);Ze(e,2,a);Kf(e,3,c);Qk({endpoint:"recordsla",httpMethod:"POST",params:{v:"1"},zc:e.serialize()})} ;function iz(a){x.call(this,a)} w(iz,x);iz.prototype.setHost=function(a){return Of(this,3,a)};var Rga=new Map([["PROD",1],["STAGING",2],["DRAFT",3],["READY",4],["TEST",5],["DEV",6],["ALPHA",7],["GKMSSTAGING",8],["LOCAL",9]]),Sga=new Set;function jz(a){var b=this;this.Xd=a;this.aE=!1;this.currentFormId=this.FE=this.qN=this.aO=0;this.lG=Sga;this.transport=this.Uq(1046,860);this.pF=this.Uq(1324,1323);this.rb=new Wy(!1,"","");Rr=this;Tga(this);window.sc_registerPageClickHandlers&&window.sc_registerPageClickHandlers([function(c){return void b.Yc(c)}])} n=jz.prototype;n.Uq=function(a,b){var c=z(),e=Au(new zu,c.mendel_ids);a=(new zx("PROD"===c.env?b:a,String(c.au||"0"))).dh(e);c.auth_token?Ax(a,function(){return c.auth_token}):"about:blank"===location.href&&Ax(a,function(){return""}); a=a.build();a.Ha=a.Oa;a.Ea=!0;return a}; function Tga(a){var b=al("StatsDeferredClearcut",!0);if(b){b=Cga(b);var c=zf(b,Qx,1);Of(c,34,z().visit_id);c=Bf(c,Px,33);if(0=k;k&&(a.lG.add(h),b.push(f))}a.Op(b,!0)} function Uga(a){if(!a.aE){a.aE=!0;nz(a);var b;window.addEventListener("scroll",function(){window.clearTimeout(b);b=window.setTimeout(function(){return void nz(a)},300)})}} n.hx=function(a){var b=[];a=t((a||document).querySelectorAll("[data-stats-imp]"));for(var c=a.next();!c.done;c=a.next())b.push(oz(c.value,{type:0}));this.Op(b)}; n.tO=function(a,b){a=oz(a,{type:0});a.type=b||a.type;this.Op([a])}; n.Op=function(a,b){b=void 0===b?!1:b;if(0!==a.length){var c=lz(this,b?7:3),e=Vy(pz(this.Xd));b=b?7:3;a=t(a);for(var f=a.next();!f.done;f=a.next()){f=f.value;var h=(new Kx).setType(f.type);f.id&&h.setId(f.id);qz(h,f.index);Ff(c,6,Kx,h);h=(new Ly).setType(By.get(f.type));f.id&&Of(h,2,f.id);qz(h,f.index);f=(new Py).setType(b);f=Df(f,4,Qy,h);Uy(e,f.setTimestamp((new wh).setSeconds(Date.now()/1E3)))}mz(this,c);kz(this,e)}}; n.hb=function(a,b,c,e,f){rz(this,a,b,c,e);f instanceof Function&&f()}; n.kG=function(a,b,c,e,f,h){a&&(a=oz(a,{type:0,action:0},h),rz(this,b||a.type,c||a.action,e||a.id,f||a.index))}; function rz(a,b,c,e,f){var h=lz(a,5);var k=(new Ix).setType(b);k=Ze(k,2,c);b=(new Ky).setType(By.get(b));c=Ay.get(c);c=Ze(b,2,c);e&&(k.setId(e),Of(c,3,e));qz(k,f);qz(c,f);Ff(h,7,Ix,k);mz(a,h);e=Vy(pz(a.Xd));f=(new Py).setType(2);f=Df(f,3,Qy,c);e=Uy(e,f.setTimestamp((new wh).setSeconds(Date.now()/1E3)));kz(a,e)} n.Yc=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")||"A"===c.tagName||cz(c))break a;c=c.parentNode}c=null}if(c){e=b.href;var f=(f=b.getAttribute("data-stats-toggle-class"))?!Ek(b,f):b instanceof HTMLInputElement&&("checkbox"===b.type||"radio"===b.type)&&!b.checked;e=oz(b,{type:0,id:e,action:f? 29:8});if(void 0!==e.id){a.hc_internal&&Yk("refererViewId",z().vid);b=this.mz(a);a:{f=t(Oea);for(var h=f.next();!h.done;h=f.next()){var k=t(h.value);h=k.next().value;k=k.next().value;if(Ek(c,h)){f=k;break a}}f=void 0}f=sz(this,e,b,f);e=tz(e);e=Uy(Vy(pz(this.Xd)),e);a=a.event;switch(b){case 2:uz(this,a,c,f,e);break;case 1:b=vz(this,f);b=wz(this,b);Yk("StatsDeferredClearcut",b.serialize())||uz(this,a,c,f);Yk("ScaledStatsDeferredClearcut",e.serialize())||uz(this,a,c,void 0,e);break;default:case 3:mz(this, f),kz(this,e)}}}}}}; function uz(a,b,c,e,f){b.preventDefault();e&&mz(a,e);f&&kz(a,f);a=c.getAttribute&&c.getAttribute("data-stats-delay-url");if(!a&&c instanceof HTMLAnchorElement&&(a=c.href)&&"_blank"===c.target){kk(window,a);return}a&&(c=gb(c)&&Mi(c)&&c.tagName.toUpperCase()==="A".toString()?c.target:"",b=window.sc_delayLocationHandler,b instanceof Function?b(a):dl(a,!0,c))} function xz(a,b,c,e,f){var h=sz(a,{type:b,action:c,id:e,index:f},3);b=tz({type:b,action:c,id:e,index:f});b=Uy(Vy(pz(a.Xd)),b);mz(a,h);kz(a,b)} function sz(a,b,c,e){a=lz(a,4);var f=new Hx;c=Ze(f,1,c).setType(b.type);c=Ze(c,3,b.action).setId(b.id);qz(c,b.index);e&&(b=new Gx,e=Ze(b,1,e),Cf(c,Gx,7,e));Cf(a,Hx,5,c);return a} function tz(a){var b=(new Jy).setType(By.get(a.type));var c=Ay.get(a.action);b=Ze(b,2,c);b=Of(b,3,a.id);qz(b,a.index);a=(new Py).setType(1);return Df(a,2,Qy,b).setTimestamp((new wh).setSeconds(Date.now()/1E3))} function oz(a,b,c){c=void 0===c?!1:c;return{id:yz({element:a,attr:"data-stats-id",defaultValue:b.id}),type:zz({element:a,attr:"data-stats-ve",defaultValue:b.type,Sp:!0}),action:zz({element:a,attr:"data-stats-action",defaultValue:b.action,Sp:c}),index:yz({element:a,attr:"data-stats-idx",defaultValue:b.index})}} n.mz=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}; n.jt=function(a){var b=lz(this,2),c=new Jx;a.ol&&0<=a.ol&&Ze(c,1,Math.round(a.ol));a.prt&&0<=a.prt&&Ze(c,2,Math.round(a.prt));a.srt&&0<=a.srt&&Ze(c,5,Math.round(a.srt));if(a.type&&a.duration_ms){var e=c.setType(a.type);Ze(e,4,Math.round(a.duration_ms))}Cf(b,Jx,4,c);mz(this,b);var f=Hga.get(a.type);e=a.duration_ms;b=a.ol;c=a.prt;a=a.srt;f=(new My).setType(f);e=Ze(f,2,e);0<=b&&Ze(e,3,b);0<=c&&Ze(e,4,c);0<=a&&Ze(e,5,a);a=Vy(pz(this.Xd));b=(new Py).setType(4);b=Df(b,5,Qy,e);a=Uy(a,b.setTimestamp((new wh).setSeconds(Date.now()/ 1E3)));kz(this,a)}; n.vO=function(a){var b=new Ny;0<=a.ol&&Ze(b,1,a.ol);0<=a.prt&&Ze(b,2,a.prt);0<=a.srt&&Ze(b,5,a.srt);a=Vy(pz(this.Xd));var c=(new Py).setType(5);b=Df(c,6,Qy,b);b=Uy(a,b.setTimestamp((new wh).setSeconds(Date.now()/1E3)));kz(this,b)}; n.wO=function(a){var b=lz(this,6),c=new Ox;if(void 0!==a.top&&void 0!==a.page_view_id){var e=c.setTop(Math.trunc(Number(a.top||0)/1E3));Of(e,2,a.page_view_id||"");Cf(b,Ox,8,c);mz(this,b);b=Vy(pz(this.Xd));e=(new Py).setType(6);var f=new Oy;f=Ze(f,1,a.top||0);a=Of(f,2,a.page_view_id||"");a=Df(e,7,Qy,a);a=Uy(b,a.setTimestamp((new wh).setSeconds(Date.now()/1E3)));kz(this,a);10===z().pt&&"true"===ol("MoltronLoggingFeature__enable_view_duration_logs")&&Jga(this.rb,this.Xd.mid||"",c.getTop()||0)}}; n.eh=function(){return new gz}; function lz(a,b){var c=z();var e=new Nx;e=Ze(e,3,c.iro);e=Of(e,1,c.pid).zf(c.vid);c.request_attributes&&of(e,4,c.request_attributes,Ae);if(c=ol("workflow__session-id")){var f=new Mx;c=Of(f,1,c);0!==a.currentFormId&&Of(c,2,String(a.currentFormId));Cf(e,Mx,5,c)}a=new Px;return Cf(a,Nx,2,e).setType(b)} function vz(a,b){var c=z();b.setTimestamp(0===a.FE?Date.now():a.FE);var e=new Qx;e=Ze(e,35,c.ncc);a.Xd.cc&&Of(e,41,a.Xd.cc);var f=Ze(e,17,c.dt);f=Of(f,24,c.ehc);f=Of(f,1,c.hc);f=Kf(f,38,c.ii);f=of(f,21,c.mendel_ids,De);f=Ze(f,46,3);f=Ze(f,19,c.pt);f=Ze(f,14,1);f=Ze(f,32,c.rs);f=Of(f,2,c.rl);f=Of(f,12,c.lang);f=Ze(f,45,22);f=Ze(f,15,17515);b=Ff(f,33,Px,b);b=Ze(b,43,c.rt).zf(c.vid);b=Of(b,34,c.visit_id);b=Ze(b,55,2);b=Kf(b,58,c.web_history_enabled).setSupportJourneyId(c.support_journey_id);c=Rga.get(c.env)|| 0;Ze(b,53,c);if(a.Xd.exp)for(a=t(a.Xd.exp),c=a.next();!c.done;c=a.next())if((c=c.value)&&c.active_groups)for(c=c.active_groups.split(";"),c=t(c),b=c.next();!b.done;b=c.next())b=b.value.split("::"),2===b.length&&(f=new Fx,f=Of(f,1,b[0]),b=Of(f,2,b[1]),Ff(e,13,Fx,b));a=(new Dx).setContentType(55);Ff(e,3,Dx,a);return e} function wz(a,b){var c=z(),e=new Rx;b=Cf(e,Qx,1,b);c.ehn&&(c=Ls(c.ehn.match(Ks)[3]||null),b.setHost(c));a.Xd.ref&&Of(b,3,a.Xd.ref);return b} function mz(a,b){if("true"!==xn("workflow__kms")&&!(1E3<++a.aO)){var c=vz(a,b);""===Mf(c,1)?Sk({Issue:"No helpcenter found when populating clearcut stats",Stats:b}):(c=wz(a,c),a.transport.dispatch(c),a.transport.flush(),vl(document,"sc_statsEvent",{detail:b}))}} function kz(a,b){if("true"!==xn("workflow__kms"))if(""===Mf(zf(b,Fy,6),1))Sk({Issue:"No helpcenter found when populating scaled clearcut",Extension:b});else if(!(1E3<++a.qN)){var c=new iz;c=Cf(c,Ty,1,b);var e=z();e.ehn&&(e=Ls(e.ehn.match(Ks)[3]||null),c.setHost(e));a.Xd.ref&&Of(c,2,a.Xd.ref);a.pF.dispatch(c);a.pF.flush();vl(document,"sc_scaledStatsEvent",{details:b})}} function yz(a){var b=a.element,c=a.attr,e=a.defaultValue;a=void 0===a.Sp?!1:a.Sp;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 zz(a){var b=a.defaultValue;a=Number(yz({element:a.element,attr:a.attr,Sp:void 0===a.Sp?!1:a.Sp}));return isNaN(a)?b:a} function qz(a,b){b&&(b=b.split(","),b[0]&&(zga(a)||Aga(a)||Bga(a)?a.gB(Number(b[0])):a.Sx(Number(b[0]))),b[1]&&a.Jn(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 jz(a);Uga(a);window.sc_trackStatsEvent=a.hb.bind(a);window.sc_trackStatsEventByElement=a.kG.bind(a);window.sc_trackStatsScopedImpressions=a.hx.bind(a);window.sc_trackStatsImpressions=a.Op.bind(a);window.sc_trackStatsImpressionByElement=a.tO.bind(a);window.sc_trackStatsLatency=a.jt.bind(a);window.sc_trackStatsPageView=a.uO.bind(a);window.sc_trackStatsTimeOnPage= a.wO.bind(a);window.sc_trackScaledSupportPageView=a.vO.bind(a)}; function pz(a){var b=z();return{env:b.env,cl:b.cl,visitId:b.visit_id,vid:b.vid,pt:b.pt,pid:b.pid,rl:b.rl,dt:b.dt,ii:b.ii,cc:b.cc,lang:b.lang,hc:b.hc,ehc:b.ehc,rs:b.rs,Xd:a,webHistoryEnabled:!!b.web_history_enabled,supportJourneyId:b.support_journey_id||"",productEscalationsId:ol("productEscalationsId")?Number(ol("productEscalationsId")):0}} ;function Az(a){a=void 0===a?new ni:a;this.state=0;this.i=Vga(a);Bz(this);Cz(this);Dz(this)} function Ez(a){var b;return null!=(b=oi(a.i))?b:new Zh} function Fz(a){var b=a.i;a=Gf(b,2);var c=Rf(b,4),e=Qf(b,3),f=oi(b);b=hf(b,5);c={frdUsages:c};"number"===typeof a&&(c.frdId=a);"number"===typeof e&&(c.frdValueType=e);f&&(c.frdValue=Gz(f));"boolean"===typeof b&&(c.isRequired=b);return c} function Hz(a){var b,c=null!=(b=oi(a.i))?b:new Zh;pi(a.i,c);return c} function Iz(a){a=Hz(a);var b,c=null!=(b=a.getFrdContext())?b:new Ah;$h(a,c);return c} function Jz(a,b){b=b instanceof Az?b:new Az(b);var c=Kz(a),e=Kz(b);if(c&&e&&c===e)return!0;c=Lz(a);e=Lz(b);a=Mz(a);b=Mz(b);return!!(c&&e&&c===e&&a&&b&&a===b)} n=Az.prototype;n.getId=function(){var a;return null!=(a=hg(this.i,2))?a:null}; function Lz(a){var b,c,e;return null!=(e=null==(b=oi(a.i))?void 0:null==(c=b.getFrdContext())?void 0:jg(c,1))?e:null} function Kz(a){var b,c;return null!=(c=null==(b=oi(a.i))?void 0:jg(b,5))?c:null} function Nz(a,b){Bh(Iz(a),b);Cz(a);return a} function Oz(a,b){ai(Hz(a),b);Cz(a);return a} n.isRequired=function(){var a;return null!=(a=Uf(this.i,5))?a:!1}; n.setRequired=function(a){Kf(this.i,5,a);return this}; function Pz(a,b){Rf(a.i,4).includes(b)||(sf(a.i,4,b),Bz(a))} function Mz(a){var b,c,e;return null!=(e=null==(b=oi(a.i))?void 0:null==(c=b.getFrdContext())?void 0:jg(c,2))?e:null} function Qz(a,b){Mz(a)!==b&&(Ch(Iz(a),b),Bz(a));return a} n.Rb=function(){return 0");Pn.prototype.onChange.call(this,function(){oA(e,a)})}else{var f="Notifying "+(null!=c?c:""); Pn.prototype.onChange.call(this,a,function(){oA(f,b)})}}; n.Ba=function(a){var b=this,c;oA(this.Xq+" sent "+(null!=(c=this.Ha[a])?c:"UNKNOWN"),function(){return void Pn.prototype.Ba.call(b,a)})};function qA(a,b,c){A.call(this,"SmartJourney.Form");var e=this;this.model=a;this.Ja=b;this.i=c;this.o=!0;this.watch(a);this.watch(b);null==c||c.UE(function(){return void rA(e)})} w(qA,A);qA.prototype.content=function(){var a=this,b=this.model.getError();this.element("div","class",{hidden:this.model.Cb()||b},this.model.Eo());b?this.element("div","class","error",function(){(new Tn({icon:"gm/error_outline",tb:!0})).render();a.element("span",sA(a.Ja,50));window.sc_sjLog&&a.element("div",b)}):this.model.Cb()?this.element("div","class","loading",new hr):this.o&&this.element("div","class","gdpr-wrapper",function(){var c; null==(c=a.i)||c.render()})}; qA.prototype.focus=function(){var a;null==(a=this.model.Eo().querySelector("div.field label.cc"))||a.focus()}; function rA(a){if(a.i){a.i.mF();var b,c=null!=(b=a.u)?b:a.model.form;if(c){b=t(c.getFieldValues());for(var e=b.next();!e.done;e=b.next())e=e.value,"HIDDEN"!==e.type&&"FROM_EMAIL_ADDRESS_HIDDEN"!==e.type&&"ADDITIONAL_DATA"!==e.type||!e.value||a.i.Mn(e.name,e.value);c=c.getProductSpecificData();b=t(Object.keys(c));for(e=b.next();!e.done;e=b.next())e=e.value,a.i.Mn(e,c[e])}}} ;var cha={eQ:0,fQ:1,cQ:2,dQ:3,nR:4,mR:5,lR:6,ERROR:7,hP:8,cR:9,rP:10,0:"FORM_RENDERED",1:"FORM_RESET",2:"FORM_LOADING",3:"FORM_LOAD_FAILED",4:"VALIDATION_START",5:"VALIDATION_END",6:"VALIDATED",7:"ERROR",8:"BEFORE_SUBMIT",9:"SUBMIT_END",10:"CHAT_REQUESTED"};var dha=0;function tA(a){A.call(this,"SmartJourney.RapiFrame");this.title=a;this.key=""+dha++} w(tA,A);n=tA.prototype;n.content=function(){var a=this,b,c=null==(b=this.frame)?void 0:b.getAttribute("src"),e=this.Dj("iframe",this.key,"src",this.Uu,"scrolling","no","title",this.title);if(e!==this.frame||this.Uu!==c){this.frame=e;var f;null==(f=this.rD)||f.call(this,Error("iframe replaced or src changed"));this.sD=new Promise(function(h,k){a.rD=k;e.onload=function(){h()}}); this.sD.catch(function(){})}}; n.Eo=function(){return this.frame}; n.window=function(){var a,b;return null!=(b=null==(a=this.frame)?void 0:a.contentWindow)?b:null}; n.querySelector=function(a){var b,c,e;return null!=(e=null==(b=this.frame)?void 0:null==(c=b.contentDocument)?void 0:c.querySelector(a))?e:null}; n.load=function(a,b){b=void 0===b?ot:b;this.reset();var c=this.frame,e=this.sD;return new Promise(function(f,h){var k=Object.assign({},eha(),{locale:a.locale,productSpecificData:a.productSpecificData});void 0!==a.requestSource&&(k.requestSource=a.requestSource);var l;(new b(k)).load({helpcenter:a.helpcenter,pageType:a.pageType,pageId:a.pageId,Em:null!=(l=a.Em)?l:[],extraParams:Object.assign({},{dark:Wk()?"1":"0",referer:Uk()},a.extraParams),externalCid:a.externalCid,Ww:a.Ww,py:function(p){var r;return Ua(function(u){if(1== u.i)return Ma(u,2),u.yield(e,4);if(2!=u.i)return p(c),Na(u,0);r=Pa(u);h(Error("Load cancelled: "+r.message));La(u)})}, Ms:!0,onLoad:function(p){f(p)}, onError:function(p){h(Error("RenderApi.ErrorType "+p.type+": "+p.message))}, bA:function(p){p&&a.cN&&(p.redirected||p.deleted_item)&&h(Error("Redirected "+JSON.stringify(p)))}})})}; n.wb=function(){var a;null==(a=this.rD)||a.call(this,Error("component detached"));var b;null==(b=this.xy)||b.call(this)}; function fha(a){var b=a.frame;if(b&&b.contentWindow){var c,e=null==(c=b.contentDocument)?void 0:c.querySelector("html");if(e){c=function(){var h=e.offsetHeight+"px";b.height!==h&&(b.height=h)}; var f=setInterval(c,50);a.xy=function(){clearInterval(f);a.xy=void 0}; c()}}} n.reset=function(){var a;null==(a=this.xy)||a.call(this);Kn(this)}; function eha(){var a=z(),b=a.auth_token;if(""===b)try{b=Jw([])}catch(c){}return{apiKey:a.skey||"",requestSource:a.rs,Bp:!0,authToken:b,authUser:a.au,host:a.ehn,visitId:a.visit_id,viewId:a.vid,mendelIds:z().mendel_ids.join(",")}} ;var gha="problem_description issue summary_of_issue summary_of_issue_req issue_summary additional_information issue_description dscc_issue".split(" ");function uA(a,b,c){b=void 0===b?"Form":b;c=void 0===c?new tA(sA(a,"get_help.contact_us")):c;pA.call(this,b,cha);this.frame=c;this.i=[];this.Vb=!1;a=this.Uu();this.frame.Uu=a} w(uA,pA);n=uA.prototype;n.Xb=function(){return!1}; n.Eo=function(){return this.frame}; n.Fj=function(a){var b=this,c,e,f;return Ua(function(h){if(1==h.i){Ma(h,2);if(!b.frame.Eo())throw Error("Frame must be rendered before loading a form.");if(b.config||b.form){for(var k=t(b.i),l=k.next();!l.done;l=k.next())l=l.value,l();b.i=[];b.config=void 0;b.form=void 0;b.error=void 0;b.frame.reset();b.Ba(1)}b.Oc(!0);b.config=a;oA("Load form: "+z().ehn+"/"+a.helpcenter+"/contact/"+a.id);k=h.yield;l=b.frame;var p=l.load,r=a.id,u=a.helpcenter,y=a.locale,E={dark:Wk()?"1":"0",referer:Uk()};a.PC&&(E.disable_vrg_filter= "true");a.Gu&&(E.cases2="any");var la=Fk("ec");la&&(E.ec=la);a.hideSubmitButton&&(E.hide_submit_button="true");(la=Fk("cse"))&&(E.cse=la);return k.call(h,p.call(l,{pageId:r,helpcenter:u,locale:y,pageType:"CONTACT_FORM",Em:["PCT_DYNAMIC_CONTENT","PCT_METADATA"],extraParams:E,externalCid:hha(a),Ms:!0,productSpecificData:rl(),cN:!0,Ww:Ok()}),4)}if(2!=h.i){b.form=h.o;b.Oc(!1);(u=b.form.getInjectedFrdValuesEventId())&&sl("rule_service_form_synthesis_event_id",u);u=b.form;u.setValidateOnly(!!a.validateOnly); u.setSupportJourneyId(Bk);if(null==(y=a.targetSubmissionDetails)?0:y.o())u.setIncludesTargetSelector(!0),u.setTargetVerified(null!=(la=null==(E=a.targetSubmissionDetails)?void 0:E.i())?la:!1);y=rl();0l.state}); b=t(b);for(var e=b.next();!e.done;e=b.next()){e=e.value;for(var f=!1,h=t(a.getFields()),k=h.next();!k.done;k=h.next())oha(k.value,e,!c)&&(f=!0);f||(c?a.setInjectedScFrdValue(Fz(e)):a.setScFrdValue(Fz(e)))}} function oha(a,b,c){c=void 0===c?!1:c;var e=Mz(b),f=b.getId(),h,k=null==(h=a.getFrdContext())?void 0:h.contextType,l;h=a.getFrdIdentifier()||(null==(l=a.getFrdContext())?void 0:l.frdIdentifier);if(!f||!h||f!==h||e&&k&&e!==k)return!1;b=Wz(b);if(!b||0===b.length)return!1;e=a.getType();if("CHECKBOX"===e||"RADIOBUTTON"===e||"RATING"===e)a.setValues([b],c);else if("PHONE_NUMBER"===e){e=b[0].match(/[a-zA-Z]+/g)||[];b=b[0].match(/[0-9]+/g)||[];if(0===e.length||0===b.length)return!1;a.setValues([[e[0],b[0]]], c)}else a.setValues(b,c);a.hide();a.setTargetVerified(!1);return!0} function mha(a){var b=a.form;if(b){var c=function(e,f){function h(){return void a.Ba(f)} b.listen(e,h);a.i.push(function(){return void b.unlisten(e,h)})}; c("validationstart",4);c("validationend",5);c("validated",6);c("error",7);c("beforesubmit",8);c("submitend",9);c("chatrequested",10)}} n.Uu=function(){return 79===z().rs?"repeater_content_frame":"/s/renderframe2/"}; function hha(a){var b,c,e,f,h;return null==(e=(null!=(c=null==(b=a.rd)?void 0:b.Dc())?c:[]).find(function(k){return 8000001===k.getId()}))?void 0:null==(f=Sz(e))?void 0:null==(h=f[0])?void 0:h.toString()} n.setContactFormCallback=function(a){this.o=a};function xA(a,b){Pn.call(this);this.uf=a;var c={};this.strings=(c[a]=b,c);this.locale=a} w(xA,Pn);xA.prototype.get=function(a){var b,c;return null!=(c=null==(b=this.strings[this.uf])?void 0:b[a])?c:""}; function sA(a,b){var c,e;return null!=(e=null==(c=a.strings[a.locale])?void 0:c[b])?e:a.get(b)} xA.prototype.set=function(a,b){var c;this.strings[a]=Object.assign({},null!=(c=this.strings[a])?c:{},b);this.Ba()};function yA(a){var b=Ok();return b?Kr(a,new Map([["sjid",b]]),!0):a} ;function zA(){pha(this)} function pha(a){window.sc_registerPageClickHandlers([function(b){b.hc_internal&&(b=b.element,b.href&&b.href.startsWith("http")&&(b.search=AA(b.search)))}.bind(a)]); bl.push(function(b){b.href&&b.href.startsWith("http")&&(b.search=AA(b.search))}); a.i();window.addEventListener("load",a.i.bind(a))} zA.prototype.i=function(){for(var a=document.querySelectorAll(".gaiabar form, .non-one-bar form, #search-form"),b=0;ba.o&&UA(a);a.o++},1E3)} TA.prototype.load=function(){var a=this;return Ua(function(b){if(1==b.i)return b.yield(xha(),2);a.player||UA(a);La(b)})}; function VA(a,b,c,e){switch(a){case -1:a=20;break;case 0:a=19;break;case 1:a=25;break;case 2:a=26;break;case 3:a=27;break;case 5:a=28;break;default:a=0}ho(a,b,44,c+","+e)} TA.prototype.wb=function(){this.player=void 0;Mn(this)}; var WA;function xha(){var a,b;return Ua(function(c){if("function"===typeof(null==(a=window.YT)?void 0:a.Player))return c.return();WA||(b=document.createElement("script"),dk(b,gj(Zi($i("//www.youtube.com/player_api")))),document.body.appendChild(b),WA=new Promise(function(e){window.onYouTubeIframeAPIReady=e})); return c.return(WA)})} ;function XA(a){a=a.player;A.call(this,"sc.tailwind.thread.popup_video.PopupVideo");var b=this;this.i=new jr({jc:7,kc:7,Sj:!0,Jo:!0,content:function(){b.element("div","class","root","tabindex","0",b.player)}, kf:!0,onClose:function(){var c;null==(c=b.player.player)||c.stopVideo()}}); this.player=a} w(XA,A);XA.prototype.open=function(a){this.i.open(Object.assign({},{Jb:!0},a));this.player.load()}; XA.prototype.content=function(){this.i.render()};function YA(a,b){var c=void 0===b?{}:b;b=void 0===c.OC?!1:c.OC;var e=c.height,f=void 0===c.Ik?!1:c.Ik;c=c.width;this.i=a;this.o=this.i.getAttribute("data-videoid");this.u=Ek(this.i,"embedded-video")?"default":"medium";c&&e&&(this.ma=c/e==ZA?ZA:1.6);this.qa=f;b||(yha(this),zha(this))} function yha(a){window.addEventListener("hashchange",function(b){Dt(b.oldURL,b.newURL)===a.o&&$A(a)}); window.addEventListener("load",function(){Dt("",location.href)===a.o&&$A(a)})} function zha(a){var b=new XMLHttpRequest;b.addEventListener("load",function(){try{var c=JSON.parse(b.responseText)}catch(e){}c&&Aha(this,c)}.bind(a)); b.open("GET","https://www.googleapis.com/youtube/v3/videos?part=snippet%2C+id&key=AIzaSyD-4tE5aKFZYIS_IrfpCDRsgQZbv5VCJZM&id="+a.o);b.send()} function Aha(a,b){if(b.items&&b.items[0]&&b.items[0].snippet){var c=b.items[0].snippet;b=function(f){for(var h=c,k=0;k>>0),E=[["js_request_id",y],["rr",1],["lc",1]],la=Cha();0c?"0":"")+c);2===z().rs&&a.element("span","class","preview-label","Preview");a.element("span","class","play",a.i)})} function Sha(a){a.element("span","class","label-container",function(){a.u.render();a.element("span","class","label",bC(a))})} function Rha(a){a.element("span","class","label-container",function(){a.qa.render();a.element("span","class","label",cC.format(ZB(a.result))+" views")})} function bC(a){a=YB(a.result);return 0===a?"":Tha.format(new Date(a/1E3))} var cC=new Co(5),Tha=new po(1);var Uha=new Map([[0,"gm/public"],[1,"gm/supervised_user_circle"],[2,"gm/question_answer"],[4,"gm/email"],[5,"gm/drive_document"],[6,"gm/language"]]),Vha=new Map([[5,"Help article"],[2,"Community Post"],[3,"Troubleshooter"]]),Wha=new Map([[5,"Check status"],[3,"Get started"]]);function eC(a,b){b=void 0===b?0:b;Pn.call(this);var c=this;this.i=a;this.u=b;this.ma=[];var e=0a.Lc().length} function fC(a){var b,c;a.ma=null!=(c=null==(b=zf(a.i,Bi,15))?void 0:Bf(b,vi,1).map(function(e){return new QB(e,a.u++)}))?c:[]} ;function iC(a){Pn.call(this);this.metadata=a} w(iC,Pn);iC.prototype.getStartIndex=function(){var a,b;return null!=(b=null==(a=this.metadata.searchQuery)?void 0:a.getStartIndex())?b:0}; iC.prototype.getQuery=function(){var a,b;return null!=(b=null==(a=this.metadata.searchQuery)?void 0:a.getQuery())?b:""};function jC(a){var b="";try{b=a.replace(/[^\p{Letter}\s_-]/ug,"")}catch(c){b=a.replace(/[^\w\s_-]/g,"")}return b.trim().replace(/[\s_]+/g,"-").toLowerCase()} ;var Xha=xa(["aria-"]),Yha=xa(["role"]),Zha=xa(["data-stats-"]);function kC(a){this.i=a||document} kC.prototype.init=function(){for(var a=this,b=this.i.querySelectorAll(".zippy"),c={},e=0;e=window.performance.getEntriesByType("navigation").length)return null;var a=window.performance.getEntriesByType("navigation")[0].name,b;return a&&a.includes("#")&&1===(null==(b=a.match(/:~:text=/g))?void 0:b.length)?(a=a.split("#").slice(1).filter(function(c){return c.includes(":~:text=")})[0])?a.split(":~:").filter(function(c){return c.startsWith("text=")})[0].substring(5).split("&text="):null:null} function cia(a){var b=eia();if(!b||0===b.length)return!1;(b=b.some(function(c){return fia(a,c)}))?window.sc_trackStatsEventByElement(a,2,30,"textFragment"):window.sc_trackStatsEventByElement(a,2,36,"textFragment"); return b} function fia(a,b){var c=!1,e=b.split(",");e=e.map(function(l,p){if(l.startsWith("-")&&p!==e.length-1||l.endsWith("-")&&0!==p)c=!0;return l.replace(/^-|-$/g,"")}); if(c)return!1;var f=a.parentElement.nextElementSibling.textContent;b=e.map(function(l){return f.indexOf(decodeURIComponent(l))}); a=-1;b=t(b.entries());for(var h=b.next();!h.done;h=b.next()){var k=t(h.value);h=k.next().value;k=k.next().value;if(a>=k)return!1;a=k+decodeURIComponent(e[h]).length-1}return!0} function dia(a){var b;(b=!!a.name&&tC(z().query+window.location.hash,a.name)||rC(a))||(b=(a=a.dataset.scZippyId)?uC().has(a):!1);return b} function rC(a){var b=Jk("play");a=a.parentElement.nextElementSibling;return null!==a&&null!==a.querySelector('[data-videoid="'+b+'"]')} function tC(a,b){return(new RegExp("[?#&,]"+Gk(b)+"(?:[#&,]|$)")).test(a)} function oC(a){a.style.marginTop=-a.offsetHeight+"px"} kC.prototype.o=function(a,b){Ck(a,"zippy-hidden");Ck(b,"goog-zippy-expanded");Ck(b,"goog-zippy-collapsed");var c=b.parentElement;if(Ek(b,"goog-zippy-expanded")){a.removeAttribute("aria-hidden");Xj(mC,b,"aria-expanded","true");var e=2;sC(a);lC(c,!0);nC(b)}else Xj(mC,a,"aria-hidden","true"),Xj(mC,b,"aria-expanded","false"),e=3,a.addEventListener("transitionend",vC),lC(c,!1),gia(b),pC(a,"margin-top .218s ease-out",function(){oC(a)}.bind(this)); window.sc_trackStatsEventByElement(b,2,e)}; function uC(){return new Set(Jk("zippy").split(","))} function nC(a){if(a=a.dataset.scZippyId){var b=uC();b.add(a);Kk("zippy",[].concat(Aa(b.values())).join(","))}} function gia(a){if(a=a.dataset.scZippyId){var b=uC();b.delete(a);Kk("zippy",[].concat(Aa(b)).join(","))}} kC.prototype.u=function(a,b,c){switch(c.which){case 13:case 32:c.preventDefault(),this.o(a,b)}}; function sC(a){hia(a);a.style.height=a.style.padding="";a.style.display="";a.removeEventListener("transitionend",vC);pC(a,"margin-top .218s ease-out",function(){a.style.overflow="auto";a.style.marginTop=0}); vl(document,"imgLazyLoad")} function hia(a){a=a.getElementsByClassName("goog-zippy-collapsed");for(var b=0;b=yC} function zC(a,b,c,e,f,h,k,l){this.rank=a;this.ma=b;this.i=c;this.u=e;this.o=f;this.icon=h;this.label=void 0===k?"":k;this.description=void 0===l?"":l} function xC(a){switch(a){case 0:return AC;case 30:return BC;case 1:return CC;case 2:return yC;case 3:return DC;case 4:return EC;case 5:return FC;case 20:return GC;case 10:return HC;case 100:return IC;default:return AC}} n=zC.prototype;n.valueOf=function(){return this.rank}; n.getColor=function(){return OA().tc?this.i:this.ma}; n.me=function(){return this.icon}; n.getLabel=function(){return this.label}; n.getDescription=function(){return this.description}; var AC=new zC(0,"#F1F3F4","#F1F3F4"),BC=new zC(1,"#F1F3F4","#F1F3F4","#0b8043","#C4EED0",2,"Product Expert Alumni","Former Product Experts who are no longer members of the program"),CC=new zC(2,"#896E63","#896E63","#896E63","#B9ABA3",3,"Bronze Member","Community members with growing product knowledge who help other Google users by answers questions"),yC=new zC(3,"#9E9E9E","#9E9E9E","#5F6368","#C4C7C5",4,"Silver Product Expert","Community members with intermediate product knowledge who help other Google users by answering questions"), DC=new zC(4,"#FFB300","#F9AB00","#B06000","#F09D00",5,"Gold Product Expert","Community members with in-depth product knowledge who help other Google users by answering questions"),EC=new zC(5,"#77909D","#718792","#455A64","#E3E3E3",6,"Platinum Product Expert","Community members with advanced product knowledge who help other Google users and Product Experts "),FC=new zC(6,"#79A8FA","#79A8FA","#1A73E8","#A8C7FA",7,"Diamond Product Expert","Community members with product mastery who help other Google users and Product Experts"), GC=new zC(7,"#4285F4","#669DF6","#1A73E8","#A8C7FA",8,"Community Specialist","Google partners who help ensure the quality of community content"),HC=new zC(8,"#4285F4","#669DF6","#1A73E8","#A8C7FA",9,"Community Manager"),IC=new zC(9,"#4285F4","#669DF6","#1A73E8","#A8C7FA",9,"Google Employee","Google product team members and community managers");function JC(a){var b=a.model,c=void 0===a.Nf?!1:a.Nf;a=void 0===a.aw?!1:a.aw;A.call(this,"sc.search.searchResultsList.searchResult.VideoResult");this.model=b;this.Nf=c;this.aw=a;this.i=new Tn({icon:"gm/play_circle",size:this.Nf?48:36})} w(JC,A);JC.prototype.content=function(){var a=this;this.element("div","class",{root:!0,onebox:this.Nf,narrow:this.aw},function(){iia(a);jia(a)})}; function KC(a){return 8===a||9===a||"CT_COMMUNITY_VIDEO"===a||"CT_VIDEO"===a} function LC(a,b){ho(4,a,220,void 0===b?"":String(b))} function iia(a){a.element("div","class","thumbnail-container",function(){var b=a.element;if(600>=window.innerWidth){var c,e,f,h;var k=null!=(h=null==(c=Ai(a.model.i))?void 0:null==(e=zf(c,ti,8))?void 0:null==(f=zf(e,si,4))?void 0:f.getUrl())?h:""}else{var l,p,r,u;k=null!=(u=null==(l=Ai(a.model.i))?void 0:null==(p=zf(l,ti,8))?void 0:null==(r=zf(p,si,2))?void 0:r.getUrl())?u:""}b.call(a,"img","class","thumbnail","aria-hidden","true","src",k);a.element("div","class","play-icon","aria-hidden","true", a.i);b=$B(a.model);b=Zp(b);b=0a.limit} function SC(a){if(PC(a)){a.i=!a.i;a.Da();var b=a.i;ho(b?2:3,a.helpcenterName+"_symptoms_view_"+(b?"more":"less"),b?96:97)}} function RC(a,b){ho(35,a.helpcenterName+"_symptoms_click_"+Mf(b,1)+(b.getActive()?"_active":""),98);b.getActive()||(a=a.getURL(b).split("?"),b="?"+a[1],b=AA(b),Gr(""+a[0]+b))} ;function TC(a){return(a=a.match(/^\w{2,3}([-_]|$)/))?a[0].replace(/[_-]/g,""):""} ;function UC(a){this.i=a;this.ma=this.ya=null;this.o=[];this.qa=document.createElement("input");this.va=this.oa=-1;this.Qa=this.Xr.bind(this);this.Ia=xl(this.tA.bind(this),150);this.Oa=this.Ca=this.Ea=0;this.ua=!1;this.Ka=0;this.Ha=new ep;qia(this)} function qia(a){a.u=document.createElement("div");a.u.className=a.i.className;Ck(a.u,"sc-select",!0);a.u.style.cursor="pointer";a.u.setAttribute("tabindex",0);a.u.setAttribute("aria-expanded",!1);a.u.setAttribute("aria-haspopup","listbox");a.u.setAttribute("aria-required",a.i.getAttribute("aria-required"));a.u.setAttribute("role","listbox");a.u.addEventListener("mousedown",function(e){Ek(this.ma,"sc-select-show")?e.target==this.ma||this.ma.contains(e.target)||this.Xr():0==e.button&&VC(this)}.bind(a)); a.u.addEventListener("keydown",a.ZG.bind(a));a.ya=document.createElement("span");a.u.appendChild(a.ya);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.u.appendChild(b);a.ma=document.createElement("ol");a.ma.setAttribute("role","listbox");a.ma.addEventListener("mousemove",function(){this.ua=!0}.bind(a)); Vk()||a.ma.addEventListener("scroll",function(){0a-1?this.o.length-1:a-1;b!=a&&!aD(this,b);)b=0>b-1?this.o.length-1:b-1;a=b}XC(this,a);this.o[a].focus();this.u.setAttribute("aria-activedescendant", this.o[a].id);bD(this);break;case 40:a.preventDefault();Ek(this.ma,"sc-select-show")||VC(this);a=this.oa;if(0===this.o.length)a=-1;else{for(b=(a+1)%this.o.length;b!=a&&!aD(this,b);)b=(b+1)%this.o.length;a=b}XC(this,a);this.o[a].focus();this.u.setAttribute("aria-activedescendant",this.o[a].id);bD(this)}}; function bD(a){if(-1!=a.oa){var b=a.o[a.oa];b.offsetTopa.ma.scrollTop+a.ma.offsetHeight&&(a.ua=!1,a.ma.scrollTop=b.offsetTop+b.offsetHeight-a.ma.offsetHeight)}} function YC(a){var b=a.i.getAttribute("aria-label")||"";b&&(-1!==a.i.selectedIndex&&(b+=" ("+a.i[a.i.selectedIndex].innerText+")"),a.u.setAttribute("aria-label",b))} n.dispose=function(){this.u&&$l(this.u);this.ma=this.ya=this.u=null;this.o=[]}; window.sc_initSelects=function(){for(var a=t((window.sc_scope||document).getElementsByTagName("select")),b=a.next();!b.done;b=a.next())b=b.value,"true"!==b.dataset.exclude&&new UC(b)};function cD(a){x.call(this,a)} w(cD,x);cD.prototype.setButton=function(a){return Cf(this,ki,1,a)}; var tia=fh(cD);function dD(a){x.call(this,a)} w(dD,x);dD.prototype.yf=function(a,b){return ff(this,1,hi,a,b)}; dD.La=[1];function eD(a){x.call(this,a)} w(eD,x);function fD(a){x.call(this,a)} w(fD,x);fD.prototype.getHeading=function(){return Zf(this,2)}; fD.prototype.setHeading=function(a){return Of(this,2,a)}; var uia=fh(fD);fD.La=[1];var gD=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 hD(){var a=this;this.i=function(){}; this.o=function(b){if("detail"in b){b=tia(b.detail.action);var c,e;if(null==(c=zf(b,ki,1))?0:null==(e=li(c))?0:null!=fg(e,10,ji)){var f,h,k=null==(f=zf(b,ki,1))?void 0:null==(h=li(f))?void 0:eg(h,10,ji);(f=k&&null!==k?k.startsWith("url:")?k.replace("url:",""):k:"")&&a.ma(f)}else{var l,p;if(null==(l=zf(b,ki,1))?0:null==(p=li(l))?0:cf(p,gi,17,ji)){var r;if(f=null==(k=zf(b,ki,1))?void 0:null==(r=li(k))?void 0:gg(r,gi,17,ji))h=Mf(f,2),f=Gf(f,1),h&&f&&a.ma("/"+h+"/workflow/"+f)}}}}; this.u=function(){var b=gD.get(1);b=new CustomEvent(b,{bubbles:!0,cancelable:!0});window.document.body.dispatchEvent(b)}; this.ma=function(b){Gr(b,{zd:!0})}; window.document.body.addEventListener(gD.get(6),this.u);window.document.body.addEventListener(gD.get(5),this.i);window.document.body.addEventListener(gD.get(2),this.o)} var iD;function jD(){void 0===iD&&(iD=new hD)} hD.prototype.dispose=function(){window.document.body.removeEventListener(gD.get(2),this.o);window.document.body.removeEventListener(gD.get(6),this.u);window.document.body.removeEventListener(gD.get(5),this.i)}; window.sc_initSmartButtonController=function(){jD()};function kD(a,b){a=void 0===a?95:a;b=void 0===b?133:b;A.call(this,"sc.shared.ErrorSvg");this.i=new wu("error_computer.svg");this.height=a;this.width=b} w(kD,A);kD.prototype.content=function(){var a=this;this.element("div","style",{width:this.width+"px",height:this.height+"px"},function(){a.i.render()})};function lD(a){this.o=a;this.i=null} lD.prototype.eh=function(a){var b=this;null===this.i&&(this.i=setTimeout(function(){null!==b.i&&(b.i=null,b.o())},a))};function mD(){var a=this;this.ma=function(b){if(!("detail"in b))throw Error("Invalid event type received for state update. Expected CustomEvent.");if(void 0===a.o)throw Error("No state update callback was provided.");b=uia(b.detail);a.o(b)}} n=mD.prototype;n.sendInitCompleteEvent=function(){console.log("[Smart Buttons] Broadcasting init");nD(4)}; n.sendButtonAction=function(a,b){a={action:null==a?void 0:a.serialize(),buttonClientRect:b};nD(2,a)}; n.sendDescribeEvent=function(a){var b=new dD;a=t(a);for(var c=a.next();!c.done;c=a.next())Ff(b,1,hi,c.value);b={action:b.serialize(),buttonClientRect:void 0};nD(5,b)}; n.sendButtonsRenderedEvent=function(){nD(6)}; n.initHandshakeListener=function(a){this.i=a;window.document.body.addEventListener(gD.get(1),this.i)}; n.initStateUpdateListener=function(a){this.o=a;window.document.body.addEventListener(gD.get(3),this.ma)}; n.dispose=function(){window.document.body.removeEventListener(gD.get(3),this.ma);this.i&&window.document.body.removeEventListener(gD.get(1),this.i)}; function nD(a,b){a=gD.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({oP:0,nP:1,iP:2,lP:3,jP:4,mP:5,kP:6});function oD(a,b){this.i=a;this.metadata=b} oD.prototype.ld=function(a){this.i(a)}; function pD(){var a=this;this.o=new Map;this.ma=function(){a.i.sendButtonsRenderedEvent()}; this.i=new mD;via(this)} var qD;function rD(){if(qD&&!sD)return qD;qD=new pD;sD=!1;var a=qD;a.i.initHandshakeListener(a.oa.bind(a));a.i.initStateUpdateListener(a.u.bind(a));a.i.sendInitCompleteEvent();return qD} function wia(a,b,c,e){if(""===b)throw Error("Smart Button guid key is empty");a.o.has(b)||a.o.set(b,new oD(e,c))} pD.prototype.u=function(a){var b,c=null!=(b=Zf(a,5))?b:"";if(!this.o.has(c))throw Error("Smart Button guid key "+c+" does not exist. Cannot update state.");var e;null==(e=this.o.get(c))||e.ld(a)}; pD.prototype.oa=function(){console.log("[Smart Buttons] Received Handshake");var a=[];this.o.forEach(function(b){a.push(b.metadata)}); this.i.sendDescribeEvent(a)}; pD.prototype.dispose=function(){this.i.dispose();this.o.clear();var a;null==(a=vn().querySelector(".workflow"))||a.removeEventListener("dynamicFormRendered",this.ma)}; function via(a){var b;null==(b=vn().querySelector(".workflow"))||b.addEventListener("dynamicFormRendered",a.ma)} var sD=!1;function tD(a){var b=a.buttonTitle,c=a.contentId,e=a.helpcenterName,f=a.Jh;a=void 0===a.Rw?!0:a.Rw;A.call(this,"sc.smart_button.FatalErrorButton");this.i=new kD;this.buttonTitle=b;this.contentId=c;this.helpcenterName=e;this.Jh=f;this.Rw=a} w(tD,A);tD.prototype.content=function(){var a=this;this.element("div","class","^no-margin root",function(){a.element("div","class","^no-margin content",function(){a.i.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.Rw&&a.element("div","class","^no-margin feedback-link",a.Jh);a.element("div","class","^no-margin detail",function(){""!==a.buttonTitle&&a.element("div","class","^no-margin",(new Np("The button title is {buttonTitle}.")).format({buttonTitle:a.buttonTitle})); a.element("div","class","^no-margin",(new Np("The content ID is {contentId}.")).format({contentId:a.contentId}));a.element("div","class","^no-margin",(new Np("The help center name is {helpcenterName}.")).format({helpcenterName:a.helpcenterName}))})})}); xia(this)}; function xia(a){var b,c;null==(c=(b=window).sc_trackStatsImpressions)||c.call(b,[{type:99,id:a.contentId+"_button_"+a.buttonTitle}],!0)} ;var uD=new Map([[1,"good"],[2,"error"]]);function vD(){A.call(this,"sc.smart_button.Icon");this.i=!1} w(vD,A);function wD(a,b,c,e){a.o=b;a.state=c;a.i=void 0===e?!1:e} vD.prototype.content=function(){var a=this;if(void 0!==this.o&&void 0!==this.state&&void 0!==this.i&&0!==this.state){var b={"^no-margin":!0,icon:!0,state:!this.i,"heading-icon":this.i},c=uD.get(this.state);uD.has(this.state)&&(b[c]=!0);var e="";"good"===c?e="Success icon":"error"===c&&(e="Failure icon");this.element("div","class",b,"aria-label",""!==e?e:null,function(){var f;null==(f=a.o)||f.render()})}};function xD(a){A.call(this,"sc.smart_button.SendFeedbackLink");var b=this;this.buttonTitle=a;this.i=function(){yD(b)}; this.o=function(c){"key"in c&&(" "===c.key||"Enter"===c.key)&&yD(b)}} w(xD,A);xD.prototype.content=function(){this.anchor=this.element("a","href","#","class","^no-margin link","Send feedback");var a;null==(a=this.anchor)||a.addEventListener("click",this.i);var b;null==(b=this.anchor)||b.addEventListener("keydown",this.o)}; xD.prototype.dispose=function(){var a;null==(a=this.anchor)||a.removeEventListener("click",this.i);var b;null==(b=this.anchor)||b.removeEventListener("keydown",this.o)}; function yD(a){var b=lu();b.set("smart_button_title",a.buttonTitle);ju({payload:b,productId:Number(z().fbid)})} ;function zD(a){return 2===(null==a?void 0:Qf(a,3))} function AD(a){return 1===(null==a?void 0:Qf(a,3))} function yia(a){a=null==a?void 0:Bf(a,eD,1);if(void 0===a)return!1;a=t(a);for(var b=a.next();!b.done;b=a.next())if(BD(b.value))return!0;return!1} function CD(a){a=DD(a);if(0===a.length)return!1;a=t(a);for(var b=a.next();!b.done;b=a.next())if(!BD(b.value))return!1;return!0} function DD(a){return void 0===a?[]:(null==a?void 0:Bf(a,eD,1))||[]} function BD(a){return void 0!==a&&null!=Qf(a,1)&&0!==$f(a,1,0)} function ED(a){return void 0!==a&&null!=Qf(a,1)&&1===$f(a,1,0)} function FD(a){return void 0!==a&&null!=Qf(a,1)&&2===$f(a,1,0)} function zia(a){return a.filter(function(b){return FD(b)})} ;function GD(a,b){b=void 0===b?!1:b;A.call(this,"sc.smart_button.StateHeading");this.Jh=a;this.Aj=b;this.oa=[];this.headingState=0;this.icon=new vD} w(GD,A);GD.prototype.content=function(){var a;!(zD(this.i)||AD(this.i)||(null==(a=this.i)?0:a.getHeading())||CD(this.i))||Aia(this)}; GD.prototype.ld=function(a){this.i=a;this.oa=DD(this.i);if(zD(this.i))this.headingState=2;else if(AD(this.i))this.headingState=1;else if(0a.Ps?a.Ps+"px":null},function(){a.o&&a.element("div","class","loading-spinner",function(){(new hr({size:"mspin-small"})).render()}); if(0a&&Infinity!==a&&(a=h);this.Qs=h;this.Ps=a;this.Da();this.u.open({anchor:b,Yd:c,Zd:e,Jb:f})}; n.close=function(){this.u.close()}; function Oia(a){return!!a.Zk&&Array.isArray(a.items)&&0b.length){f=[{state:5}];a.Ca.set("",f);p.Na(4);break}a.i.Ag(!0);a.i.open({Jb:!0});Ma(p,5);return p.yield(a.je(b.trim(),a.lc),7);case 7:f=p.o;0===f.length&&(f=[{state:4}]);a.i.Ag(!1);Na(p,4);break;case 5:h=Pa(p),f=[{state:3}],a.i.Ag(!1),a.i.open({Jb:!0}), AE(h);case 4:return a.Ca.set("",f),k=a.i,l=k.Yi,p.yield(uE(a,!0),8);case 8:l.call(k,p.o),a.i.Da(),a.i.open({Jb:!0}),La(p)}})} function Xia(a,b){return function(){a.qa=b;a.i.close();a.va&&a.va()}} pE.prototype.getValues=function(){for(var a=[],b=t(this.o.keys()),c=b.next();!c.done;c=b.next()){(c=c.value)&&!a.includes(c)&&a.push(c);c=t(this.o.get(c));for(var e=c.next();!e.done;e=c.next())(e=e.value.wd)&&!a.includes(e)&&a.push(e)}return a}; function wE(a,b){var c,e;return Ua(function(f){if(1==f.i)return Ma(f,2),f.yield(a.Pb(b,a.lc),4);if(2!=f.i){c=f.o;if(!c||0==c.length)return BE(a,b,Error("No results")),f.return();a.o.set(b,c);return Na(f,0)}e=Pa(f);BE(a,b,e);La(f)})} function BE(a,b,c){a.o.set(b,[{state:2}]);a.Sa&&a.ua&&(a.ua=!1,a.Sa(c),rE(a));AE(c)} function rE(a){a.u=new yr({placeholder:a.cj,wc:!0,Gd:function(){a.oa=a.u.getText().replace(oE,"");a.Xe()}, ariaRequired:a.yb})} function AE(a){a=new CustomEvent("cid_selector_fetch_error",{detail:a});vn().dispatchEvent(a)} function qE(a){a.Ca.clear();a.Ca.set("",[vE()])} function vE(){return{value:"",trigger:function(){}, items:[],state:0}} ;function CE(a){var b=a.items,c=void 0===a.label?void 0:a.label,e=void 0===a.placeholder?"":a.placeholder,f=void 0===a.hf?!0:a.hf,h=void 0===a.filled?!1:a.filled,k=void 0===a.disabled?!1:a.disabled,l=void 0===a.maxHeight?void 0:a.maxHeight,p=void 0===a.minWidth?void 0:a.minWidth,r=void 0===a.selectedIndex?-1:a.selectedIndex,u=void 0===a.autoClose?!0:a.autoClose,y=void 0===a.wc?!1:a.wc,E=void 0===a.ariaRequired?!1:a.ariaRequired,la=void 0===a.Kc?["self"]:a.Kc,ma=void 0===a.Pc?"rem":a.Pc,sa=void 0=== a.gA?function(){}:a.gA,ua=void 0===a.ni?!1:a.ni,za=void 0===a.yv?"":a.yv,Da=void 0===a.zs?void 0:a.zs; a=void 0===a.vt?void 0:a.vt;A.call(this,"sc.shared.MaterialSelect");var Ia=this;this.va=function(){return void DE(Ia)}; this.ya=function(){return void DE(Ia)}; this.active=!1;this.o="";this.oa=!0;this.items=b;this.autoClose=u;this.label=c;this.labelId=On();this.Ol=On();this.minWidth=p;this.filled=h;this.disabled=k;this.wc=y;this.Pc=ma;this.Ca=new Tn({icon:"gm/arrow_drop_down",size:24,tb:!0,Pc:this.Pc});EE(this,r);this.maxHeight=l;this.zs=Da;this.qa=new ar({label:e,nj:f,Vo:48,disabled:k,filled:h,Oi:function(){return Ia.Oi()}, wc:y});this.ariaRequired=E;this.Kc=la;this.gA=sa;this.ni=ua&&!k;this.yv=za;this.vt=a;this.ni&&(this.i=new yr({Ze:!1,us:!1,qe:function(){var Oa;null==(Oa=Ia.i)||Oa.setPlaceholder(Ia.yv);Ia.open({Jb:!1})}, Gd:function(){var Oa;Ia.o=(null==(Oa=Ia.i)?void 0:Oa.getText())||"";Ia.open({Jb:!1})}, Aw:function(){Ia.open({Jb:!0})}})); this.menu=FE(this,b)} w(CE,A);n=CE.prototype; n.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.ni},"style",{"min-width":this.minWidth?this.minWidth:null},function(){a.u=a.element("div","class",{root:!0,dense:a.wc,disabled:a.disabled,active:a.active},"id",a.Ol,"tabindex",0,"aria-haspopup","listbox","aria-labelledby",aja(a),"role","button","aria-expanded",a.menu.mb().toString(),"onclick",function(){return void a.Gb()}, "onkeydown",function(c){a.disabled||"Enter"!==c.code&&"Space"!==c.code||(c.preventDefault(),a.open({Jb:!a.ni}))},"aria-required",a.ariaRequired,"data-filter-enabled",a.i?"true":void 0,function(){a.i&&(a.i.setText(a.o),a.element("div","class",{"filter-input":!0, selection:!0},a.i));a.qa.render();a.i||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.Ca)}); a.u.addEventListener("focusin",a.va);a.u.addEventListener("focusout",a.ya)}); if(this.oa)this.menu.render(),this.ua=void 0;else{var b;(null==(b=this.i)?0:b.focused)&&this.vt&&(this.ua=this.element("label","class","warning-label",this.vt))}}; n.wb=function(){var a;null==(a=this.u)||a.removeEventListener("focusin",this.va);var b;null==(b=this.u)||b.removeEventListener("focusout",this.ya)}; function bja(a,b){a.menu=FE(a,b);a.Da()} n.open=function(a){var b=this;a=(void 0===a?{}:a).Jb;bja(this,this.o?this.items.filter(function(e){return"string"===typeof e.value?e.value.toLowerCase().includes(b.o.toLowerCase()):"string"===typeof e.Zg?e.Zg.toLowerCase().includes(b.o.toLowerCase()):!1}):this.items); this.active=!0;this.i&&!a?this.i.focus():GE(this);if(this.root){var c=this.root.getBoundingClientRect().width;this.menu.setWidth(c)}this.oa&&this.menu.open({anchor:this,Jb:a});this.Da()}; n.close=function(){this.menu.close()}; function HE(a){switch(typeof a.selection){case "function":var b;return null!=(b=a.selection().textContent)?b:"";case "string":return a.selection;default:return""}} function GE(a){var b;null==(b=a.u)||b.focus()} function DE(a){setTimeout(function(){var b=Wq(),c,e;(null==(c=a.u)?0:c.contains(b))||(null==(e=a.menu.getElement())?0:e.contains(b))?a.qa.focus():(a.qa.blur(),a.i&&(a.close(),a.o=HE(a),a.i.setText(a.o),a.i.setPlaceholder(""),a.ua&&a.ua.remove()))},0)} function aja(a){return a.Kc.map(function(b){return"self"===b?a.label?a.labelId+" "+a.Ol:a.Ol:b}).join(" ")} n.Oi=function(){return!!this.selection}; n.Gb=function(){this.disabled||this.open({Jb:!1})}; function FE(a,b){a.oa=!a.ni||!a.zs||b.length<=a.zs;if(!a.oa)return new FA({items:[]});b=IE(a,b);return new FA({items:b,Ow:a.selection,Qi:4,jc:1,kc:4,onClose:function(){GE(a);a.active=!1;a.Da()}, maxHeight:a.ni?"40vh":a.maxHeight,lw:a.filled,Ku:!1})} function IE(a,b){return b.map(function(c){var e=Object.assign({},c,{trigger:function(){a.selection=c.Zg?c.Zg:c.value;"string"===typeof a.selection&&a.gA(a.selection);c.trigger&&c.trigger();a.ni&&(a.o=HE(a),a.close());a.autoClose&&a.close()}}); e.items&&Array.isArray(e.items)&&(e.items=IE(a,e.items));return e})} function EE(a,b){a.selection=0<=b&&bf?b[c++]=f:(2048>f?b[c++]=f>>6|192:(55296==(f&64512)&&e+1>18|240,b[c++]=f>>12&63|128):b[c++]=f>>12|224,b[c++]=f>>6&63|128),b[c++]=f&63|128)}return Oc(b,2)}; KF.prototype.sz=function(){var a=IF.prototype.sz.call(this);Uf(this.oa,13)&&(a.debug="1");delete a.embedOptions;return Object.assign({},a,{embedOptions:this.bB()})};var xja=RegExp("^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)","i");
false
Search Help Center
true
true
true
true
true
102095
");return null==a||null==a.sheet?Hh:On(a.sheet,void 0!=b?b:null,c)} function Sn(a){a=Uh(""+a+"");return(new DOMParser).parseFromString(Sh(a),"text/html").body.children[0]} function Qn(a,b){if(!a)return uh;var c=document.createElement("div").style;Tn(a).forEach(function(e){var f=xf&&e in Nn?e:e.replace(/^-(?:apple|css|epub|khtml|moz|mso?|o|rim|wap|webkit|xv)-(?=[a-z])/i,"");0!=f.lastIndexOf("--",0)&&0!=f.lastIndexOf("var",0)&&(e=Jn(a,e),e=hn(f,e,b),null!=e&&Kn(c,f,e))});return new qh(c.cssText||"",ph)} function Un(a){var b=Array.from(Bn(qn,a,"getElementsByTagName",["STYLE"])),c=rf(b,function(n){return cf(Fn(n).cssRules)});c=Pn(c);for(var e=[],f=0;f"+a+""),Un(a),a=a.innerHTML);a=Uh(a);var c=document.createElement("template");if($n&&"content"in c)ti(c,a),c=c.content;else{var e=document.implementation.createHTMLDocument("x");c=e.body;ti(e.body,a)}a=document.createTreeWalker(c,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT,null,!1);for(c=Wn?new WeakMap:new Yn;e=a.nextNode();){a:{var f=e;switch(Hn(f)){case 3:f= bo(this,f);break a;case 1:if("TEMPLATE"==Gn(f).toUpperCase())f=null;else{var k=Gn(f).toUpperCase();if(k in this.ka||"http://www.w3.org/1999/xhtml"!=Ln(f))var n=null;else this.O[k]?n=document.createElement(k):(n=Rj(document,"SPAN"),this.ya&&Dn(n,"data-sanitizer-original-tag",k.toLowerCase()));if(n){var r=n,t=Cn(f);if(null!=t)for(var y=0;k=t[y];y++)if(k.specified){var E=f;var ma=k;var na=ma.name;if(0==na.lastIndexOf("data-sanitizer-",0))ma=null;else{var ta=Gn(E);ma=ma.value;var ua={tagName:Vd(ta).toLowerCase(),attributeName:Vd(na).toLowerCase()},sa={uh:void 0};"style"==ua.attributeName&&(sa.uh=En(E));E=co(ta,na);E in this.v?(na=this.v[E],ma=na(ma,ua,sa)):(na=co(null,na),na in this.v?(na=this.v[na],ma=na(ma,ua,sa)):ma=null)}null!==ma&&Dn(r,k.name,ma)}f=n}else f=null}break a;default:f=null}}if(f){if(1==Hn(f)&&c.set(e,f),e=In(e),k=!1,e)n=Hn(e),r=Gn(e).toLowerCase(),t=In(e),11!=n||t?"body"==r&&t&&(n=In(t))&&!In(n)&&(k=!0):k=!0,n=null,k||!e?n=b:1==Hn(e)&&(n=c.get(e)),n.content&&(n=n.content),n.appendChild(f)}else Tj(e)}c.clear&& c.clear();return b};var eo={APPLET:!0,AUDIO:!0,BASE:!0,BGSOUND:!0,EMBED:!0,FORM:!0,IFRAME:!0,ISINDEX:!0,KEYGEN:!0,LAYER:!0,LINK:!0,META:!0,OBJECT:!0,SCRIPT:!0,SVG:!0,STYLE:!0,TEMPLATE:!0,VIDEO:!0};var fo={A:!0,ABBR:!0,ACRONYM:!0,ADDRESS:!0,AREA:!0,ARTICLE:!0,ASIDE:!0,B:!0,BDI:!0,BDO:!0,BIG:!0,BLOCKQUOTE:!0,BR:!0,BUTTON:!0,CAPTION:!0,CENTER:!0,CITE:!0,CODE:!0,COL:!0,COLGROUP:!0,DATA:!0,DATALIST:!0,DD:!0,DEL:!0,DETAILS:!0,DFN:!0,DIALOG:!0,DIR:!0,DIV:!0,DL:!0,DT:!0,EM:!0,FIELDSET:!0,FIGCAPTION:!0,FIGURE:!0,FONT:!0,FOOTER:!0,FORM:!0,H1:!0,H2:!0,H3:!0,H4:!0,H5:!0,H6:!0,HEADER:!0,HGROUP:!0,HR:!0,I:!0,IMG:!0,INPUT:!0,INS:!0,KBD:!0,LABEL:!0,LEGEND:!0,LI:!0,MAIN:!0,MAP:!0,MARK:!0,MENU:!0,METER:!0,NAV:!0,NOSCRIPT:!0,OL:!0,OPTGROUP:!0,OPTION:!0,OUTPUT:!0,P:!0,PRE:!0,PROGRESS:!0,Q:!0,S:!0,SAMP:!0,SECTION:!0,SELECT:!0,SMALL:!0,SOURCE:!0,SPAN:!0,STRIKE:!0,STRONG:!0,STYLE:!0,SUB:!0,SUMMARY:!0,SUP:!0,TABLE:!0,TBODY:!0,TD:!0,TEXTAREA:!0,TFOOT:!0,TH:!0,THEAD:!0,TIME:!0,TR:!0,TT:!0,U:!0,UL:!0,VAR:!0,WBR:!0};var go={"ANNOTATION-XML":!0,"COLOR-PROFILE":!0,"FONT-FACE":!0,"FONT-FACE-SRC":!0,"FONT-FACE-URI":!0,"FONT-FACE-FORMAT":!0,"FONT-FACE-NAME":!0,"MISSING-GLYPH":!0};function ho(a){a=a||new io;jo(a);this.v=Vg(a.v);this.ka=Vg(a.Ca);this.O=Vg(a.Ia);this.ya=a.ta;a.ka.forEach(function(b){if(0!=b.lastIndexOf("data-",0))throw new Td('Only "data-" attributes allowed, got: %s.',[b]);if(0==b.lastIndexOf("data-sanitizer-",0))throw new Td('Attributes with "%s" prefix are not allowed, got: %s.',["data-sanitizer-",b]);this.v["* "+b.toUpperCase()]=ko},this);a.La.forEach(function(b){b=b.toUpperCase();if(-1==b.indexOf("-")||go[b])throw new Td("Only valid custom element tag names allowed, got: %s.",[b]);this.O[b]=!0},this);this.ta=a.O;this.ha=a.ya;this.N=null;this.oa=a.oa} Od(ho,ao);function lo(a){return function(b,c){b=Vd(b);return(c=a(b,c))&&"about:invalid#zClosurez"!=jh(c)?jh(c):null}} function io(){this.v={};Re([Ym,Zm],function(a){Sg(a).forEach(function(b){this.v[b]=ko},this)},this);this.N={};this.ka=[];this.La=[];this.Ca=Vg(eo);this.Ia=Vg(fo);this.ta=!1;this.Ma=mh;this.ma=this.ha=this.Pa=this.O=qi;this.ya=null;this.na=this.oa=!1} function mo(a,b){return function(c,e,f,k){c=a(c,e,f,k);return null==c?null:b(c,e,f,k)}} function no(a,b,c,e){a[c]&&!b[c]&&(a[c]=mo(a[c],e))} function jo(a){if(a.na)throw Error("HtmlSanitizer.Builder.build() can only be used once.");no(a.v,a.N,"* USEMAP",ro);var b=lo(a.Ma);["* ACTION","* CITE","* HREF"].forEach(function(e){no(this.v,this.N,e,b)},a);var c=lo(a.O);["* LONGDESC","* SRC","LINK HREF"].forEach(function(e){no(this.v,this.N,e,c)},a);["* FOR","* HEADERS","* NAME"].forEach(function(e){no(this.v,this.N,e,Md(so,this.Pa))},a);no(a.v,a.N,"A TARGET",Md(to,["_blank","_self"]));no(a.v,a.N,"* CLASS",Md(uo,a.ha));no(a.v,a.N,"* ID",Md(vo,a.ha));no(a.v,a.N,"* STYLE",Md(a.ma,c));a.na=!0} function co(a,b){a||(a="*");return(a+" "+b).toUpperCase()} function ko(a){return Vd(a)} function to(a,b){b=Vd(b);return 0<=Qe(a,b.toLowerCase())?b:null} function ro(a){return(a=Vd(a))&&"#"==a.charAt(0)?a:null} function so(a,b,c){b=Vd(b);return a(b,c)} function uo(a,b,c){b=b.split(/(?:\s+)/);for(var e=[],f=0;f")+1,a.lastIndexOf("/i)&&a.match(/<\/td>$/i)&&(b=b||"td",a=""+a+"");a.match(/^/i)&&a.match(/<\/tr>$/i)&&(b=b||"tr",a=""+a+"");a.match(/^<(tbody|thead|tfoot)>/i)&&a.match(/<\/(tbody|thead|tfoot)>$/i)&&(b=b||a.match(/^<(tbody|thead|tfoot)>/i)[1],a=""+a+"
");a=Fo(a);b&&(a=a.querySelector(b).parentNode);return a} function Eo(a,b){for(var c=[a],e=null;e=c.pop();)Array.prototype.forEach.call(e.childNodes,function(f){f.nodeType===Node.TEXT_NODE?Go(e,f,b):f.childNodes.length&&c.push(f)})} function Go(a,b,c){if(b.textContent.match(Ho)){var e=b.nextSibling;a.removeChild(b);b=b.textContent;for(var f=null,k=[];f=Ho.exec(b);){0e&&(a=f+".autoNamespace"+this.ha++);if(b){c&&(b=Jd(b,c));var k=this.N[f];k||(k=[],this.N[f]=k);We(k,this.v[a]);this.v[a]=b;k.push(b);this.O.hasOwnProperty(f)}else if(f.length)b=this.v[a],We(this.N[f]||[],b),delete this.v[a];else if(1a.Ba?Math.floor(b*a.Ba):a.Ba,Ta:0a.Ta?Math.floor(b*a.Ta):a.Ta};a.Ta=Math.max(a.Ba,a.Ta);return a} function bq(a,b,c,e,f,k){var n=b.width-a.ka-a.na;a.oa=hq(n,b.width,b.height,gq(c,b.height),fq(a,[1,2]));a.ma=hq(n,b.width,b.height,gq(f,b.height),fq(a,[3,4]));c=b.height-a.oa-a.ma;f=fq(a,[3,4,1,2]);var r=0;for(n=0;nn){a=kq(f);for(e=b=0;en-b-y.Ba.height&&y.Bc&&(y.lc.height=0),b+=y.lc.height;return Xi(b,k,c)}if(rk){a=kq(e);for(c=e=0;ck-e-t.Ba.width&&t.Bc&&(t.lc.width=0),e+=t.lc.width;return Xi(e,f,b)}if(na,e=null!=b&&0b;if(null!=b&&(c&&e||!c&&!e)&&b=a.length?a:a.slice(0).sort(function(b,c){b=void 0!==b.Wc.Vf?b.Wc.Vf:20;c=void 0!==c.Wc.Vf?c.Wc.Vf:20;return b-c})} $p.prototype.setMargins=$p.prototype.ad;$p.prototype.setMarginEnd=$p.prototype.Ek;$p.prototype.setMarginStart=$p.prototype.Hk;$p.prototype.setMarginLeft=$p.prototype.Fk;$p.prototype.setMarginBottom=$p.prototype.Dk;$p.prototype.setMarginRight=$p.prototype.Gk;$p.prototype.setMarginTop=$p.prototype.Ik;Nd("aplos.chart.layout.DynamicLayout",$p);var lq={Fq:"WARNING",ERROR:"ERROR"};Nd("aplos.util.MessageSeverity",lq);lq.WARNING="WARNING";lq.ERROR="ERROR";var mq={Cq:"UNTIL_REMOVED",Bq:"UNTIL_DATA",Zp:"ONCE"};Nd("aplos.util.MessageDuration",mq);mq.UNTIL_REMOVED="UNTIL_REMOVED";mq.UNTIL_FRESH_DATA="UNTIL_DATA";mq.ONCE="ONCE";function nq(a){this.v=a;this.N=!1} nq.prototype.xk=function(a){this.N=a};nq.prototype.render=function(a){var b=a.filter(function(c){return"ERROR"===c.severity});b.length&&oq(this,b);b.length||(b=pq(this.v.Ja,qq),b.empty()||(b.style("display","none"),b.selectAll("div."+rq).remove(),this.v.kb.style("display","")));a=a.filter(function(c){return"WARNING"===c.severity});sq(this,a)};function oq(a,b){var c=qq,e=tq,f=a.v,k=f.Ja;f.kb.style("display","none");var n=pq(k,c);n.empty()&&(n=k.append("div").classed(c,!0),n.append("div").classed(uq,!0),n.append("div").classed(vq,!0));n.style("display",null);n.select("."+vq).attr("class",vq+" "+e);b=n.select("."+uq).selectAll("div."+rq).data(b);b.exit().remove();b=b.enter().append("div").merge(b);b.text(function(r){return r.message});a.N&&b.attr("tabindex",0);b.attr("class",function(r){return rq+" "+wq+r.severity.toLowerCase()});n.style("position","absolute");a=(f.frameWidth()-n.node().offsetWidth)/2;f=(f.frameHeight()-n.node().offsetHeight)/2;a=Math.max(0,a);f=Math.max(0,f);n.style("left",a+"px");n.style("top",f+"px")} function sq(a,b){var c=a.v.Ja.select("."+xq);c.empty()&&(c=a.v.Ja.append("div").classed(xq,!0));c.style("display",b.length?"":"none");c.classed(yq,!0);var e="";b.forEach(function(f){e+=f.message+"\n"});c.attr("title",e.trim())} function pq(a,b){b=a.selectAll("."+b).nodes();for(var c=null,e=0;e>>0);function Sq(a){if("function"===typeof a)return a;a[$q]||(a[$q]=function(b){return a.handleEvent(b)});return a[$q]} ;var Kk=hh("");function ar(){this.port=this.v=null;this.N=[]} ar.prototype.load=function(){var a=this,b=br();this.v=cr(b);dr().then(function(){a.v&&document.body.appendChild(a.v)});return er(this.v,b).then(function(c){for(a.port=c.ports[0];0\n
 
\n \n \n \n \n \n \n
"))));var r=cm.contentDocument,t=r.querySelector(n.tagName);t||(t=r.querySelector("div"));r=Cl(t);t=Cl(n);for(var y={},E=0;Ef?b[c++]=f:(2048>f?b[c++]=f>>6|192:(55296==(f&64512)&& e+1>18|240,b[c++]=f>>12&63|128):b[c++]=f>>12|224,b[c++]=f>>6&63|128),b[c++]=f&63|128);a=Rf(b)}return"data:image/svg+xml;base64,"+a};Hz.prototype.toSvgDataUrl=Hz.prototype.Wk;Hz.prototype.Qo=function(a){a=void 0===a?1:a;var b=document.createElement("canvas"),c=10*a;b.width=this.frameWidth()*a+2*c;b.height=this.frameHeight()*a+2*c;var e=new Image;e.src=this.Wk(a);var f=new Dz;e.onload=function(){this.onerror=this.onload=null;try{var k=b.getContext("2d");k.fillStyle="#FFF";k.fillRect(0,0,b.width,b.height);k.drawImage(e,c,c);f.Jf(b.toDataURL("image/png"))}catch(n){f.reject(n)}};e.onerror=function(){f.reject(Error("Svg image dataUrl failed to load"))};return f};Hz.prototype.toPngDataUrl=Hz.prototype.Qo;Hz.prototype.getStyle=function(){return this.Fi};function Tz(a,b,c){Tz.base(this,"constructor",$e(a,["prelayout","postlayout"]),b,c);this.vf=this.Qc=null;this.ad({top:40,end:20,start:20,bottom:20},{top:.333,end:.5,start:.5,bottom:.333})} Nd("aplos.chart.SvgChartView",Tz);Od(Tz,Hz);var Uz=0;Tz.prototype.redraw=Tz.prototype.kf;Tz.prototype.yd=function(){Tz.Qb.yd.call(this);var a=this.df().node();a.setAttribute("width",this.frameWidth());a.setAttribute("height",this.frameHeight());this.kb.node().setAttribute("transform","translate("+this.Lb()+","+this.Mb()+")");this.Qc&&this.Qc.attr("width",this.Za()+1).attr("height",this.wb()+2)};Tz.prototype.df=function(){return this.Io};Tz.prototype.getSvg=Tz.prototype.df;Tz.prototype.Ro=function(){var a=this.df().node(),b=document.createElement("style"),c=Nl(a),e=Cl(a);c.push("svg{font:"+e.fontStyle+" "+e.fontVariant+" "+e.fontWeight+" "+e.fontSize+" "+e.fontFamily+"}");b.textContent=c.join("\n");c=document.createElement("defs");c.appendChild(b);a.insertBefore(c,a.firstChild);b=(new XMLSerializer).serializeToString(a);a.removeChild(c);return b};Tz.prototype.toSvgString=Tz.prototype.Ro;Tz.prototype.getNearestDatumDetails=Tz.prototype.Mf;var Vz=document.implementation.hasFeature("org.w3c.svg","1.0")||document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Structure","1.1"),Jz="aplos-chart-container",Kz="aplos-chart-svg",Lz="aplos-draw-area";function Wz(a,b,c){var e=this;Tz.call(this,$e(a,"datumMouseover datumMouseout datumClick seriesMouseover seriesMouseout seriesClick".split(" ")),b,c);this.hb=new Rp(this);this.oa={};this.ve={};this.Mk("hover",new Jp);this.Ya=new Xz;this.on("viewportChange.seriesChartView",function(){e.Ya.reset()})} Od(Wz,Tz);Nd("aplos.chart.SeriesChartView",Wz);Wz.prototype.Mk=function(a,b){b.Yg("clearSelectedDatumDetailsCache",this.hl.bind(this));var c=this.ve,e=Cp[a].selectionChange,f=this.Xa;f.O.hasOwnProperty(e)||Ip(f,[e]);e=c[a];null!=e&&e.Yg("chartDelegate",null);c[a]=b;Sz(this,b,a);return this};Wz.prototype.setSelectionModel=Wz.prototype.Mk;Wz.prototype.Bo=function(a){Sp(this.hb,a);return this};Wz.prototype.setSeriesDefaults=Wz.prototype.Bo;Wz.prototype.ub=function(a){return this.oa[a||"__aplosDefault__"]||this.oa.__aplosDefault__};Wz.prototype.getRenderer=Wz.prototype.ub;Wz.prototype.rn=function(a){return!!this.oa[a||"__aplosDefault__"]};Wz.prototype.hasRenderer=Wz.prototype.rn;Wz.prototype.kg=function(a,b){b?(b.type&&(b=this.getStyle().vj(b)),this.oa[a]=b):delete this.oa[a];return this};Wz.prototype.setRenderer=Wz.prototype.kg;Wz.prototype.hi=function(a){a.type&&(a=this.getStyle().vj(a));this.oa.__aplosDefault__=a;return this};Wz.prototype.setDefaultRenderer=Wz.prototype.hi;Wz.prototype.ei=function(a,b){a=this.Lf(a,!0);a=a.filter(function(c){return!c.series||!c.series.overlay});(this.ve[Bp[b]||"hover"]||null).ih(a.map(function(c){return{series:c.series?c.series:null,datum:c.datum}}));return a.length};Wz.prototype.selectDatum=Wz.prototype.ei;Wz.prototype.eo=function(a){this.Xa.ob("seriesMouseover",this,a,Kj)};Wz.prototype.selectSeries=Wz.prototype.eo;Wz.prototype.Dl=function(a){(this.ve[Bp[a]||"hover"]||null).deselectAll()};Wz.prototype.clearSelections=Wz.prototype.Dl;Wz.prototype.Lf=function(a,b,c){var e=this.N||[],f=this.v||[];if(!e||!f)return[];if(Kj){var k=Jj(this.kb.node());var n=k[0];k=k[1]}for(var r=[],t=0;tb||b>this.Za())||!this.Yb&&(0>a||a>this.wb()))return[];for(var e=new gv(this.Lb(),this.Mb(),this.Za(),this.wb()),f=new Mj(b+e.left,a+e.top),k=[],n=0;n=c)throw Error("LIKE pattern ends with a backslash.");f=a.charAt(++e);nA(f)&&(b+="\\");b+=f;break;case "_":b+=".";break;case "%":b+=".*";break;default:nA(f)&&(b+="\\"),b+=f}}return b+"$"} function pA(a){try{return a=a.replace(/\\"/g,'"'),a=a.replace(/\\'/g,"'"),a=a.replace(/\\n/g,"\n"),a=a.replace(/\\t/g,"\t"),a=a.replace(/\\r/g,"\r"),a=a.replace(/\\\\/g,"\\"),a=a.replace(/\\U([\d\w]{8})/gi,function(b,c){return String.fromCharCode(parseInt(c.substring(0,4),16),parseInt(c.substring(4),16))}),a=a.replace(/\\u([\d\w]{4})/gi,function(b,c){return String.fromCharCode(parseInt(c,16))})}catch(b){throw Error('Unable to unescape "'+a+'" encountered error: '+b);}} function qA(){} qA.prototype.parse=function(){console&&console.error("No expression parser implementation was defined. Please ensure that aplos.data.GeneratedParser has been required.");throw Error("No expression parser implementation was defined.");};var rA=new qA;rA=function(){function a(va,oc,fd,Vc){fd=fd||{};for(Vc=va.length;Vc--;fd[va[Vc]]=oc);return fd} function b(){this.Pc={}} var c=[1,8],e=[1,20],f=[1,26],k=[1,27],n=[1,30],r=[1,112],t=[1,113],y=[1,29],E=[1,28],ma=[1,83],na=[1,84],ta=[1,85],ua=[1,86],sa=[1,87],Ba=[1,88],ya=[1,89],Aa=[1,90],Ca=[1,91],Fa=[1,92],Ea=[1,93],Ja=[1,94],Ka=[1,95],Oa=[1,96],Pa=[1,97],Qa=[1,98],Wa=[1,99],Db=[1,111],Eb=[1,100],Fb=[1,101],Gb=[1,102],Hb=[1,103],Ib=[1,104],Jb=[1,105],$a=[1,106],Kb=[1,107],Lb=[1,108],Mb=[1,109],fb=[1,110],ub=[1,31],vb=[1,32],wb=[1,33],Nb=[1,34],Ob=[1,35],Pb=[1,36],Qb=[1,37],Rb=[1,38],Sb=[1,47],Tb=[1,48],Ub=[1,49],Vb= [1,50],Wb=[1,51],Xb=[1,52],Yb=[1,53],Zb=[1,54],$b=[1,55],ac=[1,56],bc=[1,57],xb=[1,58],cc=[1,59],dc=[1,60],ec=[1,61],yb=[1,62],fc=[1,63],gc=[1,64],Ra=[1,65],Za=[1,66],gb=[1,67],ab=[1,68],bb=[1,69],Xa=[1,70],Ya=[1,71],zb=[1,72],Ab=[1,73],hb=[1,74],cb=[1,75],La=[1,76],ib=[1,77],Bb=[1,78],hc=[1,79],jb=[1,80],Ua=[1,81],kb=[1,82],lb=[1,39],Va=[1,40],mb=[1,41],nb=[1,42],ob=[1,43],pb=[1,44],ic=[1,45],qb=[1,46],rb=[1,116],db=[1,117],sb=[1,118],lc=[1,119],pc=[1,120],uc=[1,121],zc=[1,122],rc=[1,123],Ac=[1,124],Cb=[1,125],Gc=[1,126],Ic=[1,128],Hc=[1,127],nc=[1,129],Bc=[1,130],Cc=[1,131],Dc=[1,132],sc=[1,133],qc=[1,134],Ec=[1,135],vc=[1,136],wc=[1,137],xc=[1,138],yc=[1,139],tb=[5,12,17,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54,71,72,74,75,76,81,82,96,97,98,99],Ig=[1,140],Ok=[1,150],Jg=[5,11,12,17,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54,55,71,72,74,75,76,81,82,96,97,98,99],Li=[1,180],Mi=[5,12,17,42,43,44,45,54,96,97,98,99],af=[1,233],yf=[1,250],Ni=[5,12,17,32,33,36,37,38,39,40,41,42,43,44,45,46,47,48,54,71,72,74,75,76,81,82,96,97,98,99],Ie=[5,12,17,36,37,38,39,40,41,42,43,44,45,46,47,48,54,71,72,74,75,76,81,82,96,97,98,99],re=[2,37],bf=[1,336],je=[5,12,17,54,96,97,98,99],Pk=[96,97],Pi={trace:function(){},Pc:{},Jo:{error:2,expressions:3,math:4,EOF:5,float_item:6,boolean_item:7,identifier_item:8,negated_identifier:9,string_item:10,"(":11,")":12,operator_expression:13,aggregation_function:14,scalar_operator:15,scalar_2_operator:16,",":17,scalar_n_operator:18,comma_values:19,scalar_function:20,scalar_2_function:21,scalar_n_functions:22,alias_functions:23,datetime_functions:24,case_function:25,cast_function:26,quantile_functions:27,native_function:28,misc_function_no_args:29,misc_function_one_arg:30,misc_function_n_args:31,"+":32,"-":33,"/":34,"*":35,"=":36,"!=":37,"<":38,"<=":39,">":40,">=":41,BETWEEN_OP:42,AND_OP:43,NOT_BETWEEN_OP:44,OR_OP:45,IS_NULL_OP:46,IS_TRUE_OP:47,IS_FALSE_OP:48,FLOAT_VALUE:49,STRING_VALUE:50,NATIVE_EXPR:51,NATIVE_AGGREGATE:52,misc_function_start:53,IDENTIFIER:54,DOT_OP:55,BOOLEAN_VALUE:56,token_item:57,ROUND:58,TRUNC:59,LN:60,LOG10:61,LOG:62,POW:63,EXP:64,LIKE:65,COUNT:66,DISTINCT:67,COUNT_DISTINCT_EST:68,NOT_OP:69,NOT_EQUAL_EXPR:70,LIKE_OP:71,NOT_LIKE_OP:72,IS_NOT_NULL:73,IS_NOT_NULL_OP:74,IS_NOT_TRUE_OP:75,IS_NOT_FALSE_OP:76,IF:77,IFNULL:78,NULLIF:79,COALESCE:80,IN_OP:81,NOT_IN_OP:82,NTH_QUANTILE:83,EXTRACT:84,DATE_TRUNC:85,DATETIME_TRUNC:86,TIMESTAMP_TRUNC:87,DATE_ADD:88,DATE_SUB:89,PARSETIME:90,FORMATTIME:91,TIMESTAMP:92,CAST:93,CASE:94,when_then_values:95,ELSE:96,END:97,WHEN:98,THEN:99,AVG:100,SUM:101,MIN:102,MAX:103,COUNT_DISTINCT:104,VARIANCE:105,STDDEV:106,HLL_COUNT_MERGE:107,ABS:108,SIGN:109,IS_INF:110,IS_NAN:111,SQRT:112,CEILING:113,FLOOR:114,COS:115,COSH:116,ACOS:117,ACOSH:118,SIN:119,SINH:120,ASIN:121,ASINH:122,TAN:123,TANH:124,ATAN:125,ATANH:126,IS_NULL:127,UNIX_MICROS:128,UNIX_MILLIS:129,TIMESTAMP_MICROS:130,TIMESTAMP_MILLIS:131,ENCODE_URI_COMPONENT:132,HLL_COUNT_EXTRACT:133,IEEE_DIVIDE:134,POWER:135,DIV:136,MOD:137,ATAN2:138,REGEXP_MATCH:139,GREATEST:140,LEAST:141,CONCAT:142,FORMAT:143,NOT_EXPR:144,EQUAL_EXPR:145,LESS_EXPR:146,LESS_OR_EQUAL_EXPR:147,GREATER_EXPR:148,GREATER_OR_EQUAL_EXPR:149,AND_EXPR:150,OR_EXPR:151,$accept:0,$end:1},mg:{2:"error",5:"EOF",11:"(",12:")",17:",",26:"cast_function",32:"+",33:"-",34:"/",35:"*",36:"=",37:"!=",38:"<",39:"<=",40:">",41:">=",42:"BETWEEN_OP",43:"AND_OP",44:"NOT_BETWEEN_OP",45:"OR_OP",46:"IS_NULL_OP",47:"IS_TRUE_OP",48:"IS_FALSE_OP",49:"FLOAT_VALUE",50:"STRING_VALUE",51:"NATIVE_EXPR",52:"NATIVE_AGGREGATE",54:"IDENTIFIER",55:"DOT_OP",56:"BOOLEAN_VALUE",58:"ROUND",59:"TRUNC",60:"LN",61:"LOG10",62:"LOG",63:"POW",64:"EXP",65:"LIKE",66:"COUNT",67:"DISTINCT",68:"COUNT_DISTINCT_EST",69:"NOT_OP",70:"NOT_EQUAL_EXPR",71:"LIKE_OP",72:"NOT_LIKE_OP",73:"IS_NOT_NULL",74:"IS_NOT_NULL_OP",75:"IS_NOT_TRUE_OP",76:"IS_NOT_FALSE_OP",77:"IF",78:"IFNULL",79:"NULLIF",80:"COALESCE",81:"IN_OP",82:"NOT_IN_OP",83:"NTH_QUANTILE",84:"EXTRACT",85:"DATE_TRUNC",86:"DATETIME_TRUNC",87:"TIMESTAMP_TRUNC",88:"DATE_ADD",89:"DATE_SUB",90:"PARSETIME",91:"FORMATTIME",92:"TIMESTAMP",93:"CAST",94:"CASE",96:"ELSE",97:"END",98:"WHEN",99:"THEN",100:"AVG",101:"SUM",102:"MIN",103:"MAX",104:"COUNT_DISTINCT",105:"VARIANCE",106:"STDDEV",107:"HLL_COUNT_MERGE",108:"ABS",109:"SIGN",110:"IS_INF",111:"IS_NAN",112:"SQRT",113:"CEILING",114:"FLOOR",115:"COS",116:"COSH",117:"ACOS",118:"ACOSH",119:"SIN",120:"SINH",121:"ASIN",122:"ASINH",123:"TAN",124:"TANH",125:"ATAN",126:"ATANH",127:"IS_NULL",128:"UNIX_MICROS",129:"UNIX_MILLIS",130:"TIMESTAMP_MICROS",131:"TIMESTAMP_MILLIS",132:"ENCODE_URI_COMPONENT",133:"HLL_COUNT_EXTRACT",134:"IEEE_DIVIDE",135:"POWER",136:"DIV",137:"MOD",138:"ATAN2",139:"REGEXP_MATCH",140:"GREATEST",141:"LEAST",142:"CONCAT",143:"FORMAT",144:"NOT_EXPR",145:"EQUAL_EXPR",146:"LESS_EXPR",147:"LESS_OR_EQUAL_EXPR",148:"GREATER_EXPR",149:"GREATER_OR_EQUAL_EXPR",150:"AND_EXPR",151:"OR_EXPR"},Zj:[0,[3,2],[4,1],[4,1],[4,1],[4,1],[4,1],[4,3],[4,1],[4,4],[4,4],[4,6],[4,4],[4,4],[4,6],[4,4],[4,1],[4,1],[4,1],[4,1],[4,1],[4,1],[4,1],[4,1],[4,1],[13,3],[13,3],[13,3],[13,3],[13,3],[13,3],[13,3],[13,3],[13,3],[13,3],[13,5],[13,5],[13,3],[13,3],[13,2],[13,2],[13,2],[6,2],[6,1],[10,1],[28,4],[28,4],[53,2],[29,2],[30,3],[31,3],[9,2],[8,1],[8,3],[7,1],[57,1],[19,3],[19,3],[23,4],[23,6],[23,4],[23,6],[23,4],[23,4],[23,4],[23,6],[23,6],[23,4],[23,6],[23,4],[23,5],[23,4],[23,2],[23,6],[23,3],[23,3],[23,4],[23,2],[23,2],[23,2],[23,8],[23,6],[23,6],[23,4],[23,5],[23,5],[23,5],[23,5],[27,8],[24,10],[24,10],[24,6],[24,6],[24,6],[24,8],[24,8],[24,8],[24,8],[24,8],[24,4],[24,6],[24,6],[25,5],[25,3],[95,4],[95,5],[14,1],[14,1],[14,1],[14,1],[14,1],[14,1],[14,1],[14,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[21,1],[21,1],[21,1],[21,1],[21,1],[21,1],[22,1],[22,1],[22,1],[22,1],[15,1],[16,1],[16,1],[16,1],[16,1],[16,1],[18,1],[18,1]],Th:function(va,oc,fd,Vc,hd,za){va=za.length-1;switch(hd){case 1:return za[va-1];case 7:this.qa=za[va-1];break;case 9:case 10:case 13:this.qa={type:"function",name:za[va-3].toUpperCase(),params:[za[va-1]]};break;case 11:case 14:this.qa={type:"function",name:za[va-5].toUpperCase(),params:[za[va-3],za[va-1]]};break;case 12:case 15:this.qa={type:"function",name:za[va-3].toUpperCase(),params:za[va-1]};break;case 25:case 26:case 27:case 28:this.qa={type:"function",name:za[va-1],params:[za[va-2],za[va]]};break;case 29:this.qa={type:"function",name:"EQUAL",params:[za[va-2],za[va]]};break;case 30:this.qa={type:"function",name:"NOT_EQUAL",params:[za[va-2],za[va]]};break;case 31:this.qa={type:"function",name:"LESS",params:[za[va-2],za[va]]};break;case 32:this.qa={type:"function",name:"LESS_OR_EQUAL",params:[za[va-2],za[va]]};break;case 33:this.qa={type:"function",name:"GREATER",params:[za[va-2],za[va]]};break;case 34:this.qa={type:"function",name:"GREATER_OR_EQUAL",params:[za[va-2],za[va]]};break;case 35:this.qa={type:"function",name:"BETWEEN",params:[za[va-4],za[va-2],za[va]]};break;case 36:this.qa={type:"function",name:"NOT BETWEEN",params:[za[va-4],za[va-2],za[va]]};break;case 37:this.qa={type:"function",name:"AND",params:[za[va-2],za[va]]};break;case 38:this.qa={type:"function",name:"OR",params:[za[va-2],za[va]]};break;case 39:this.qa={type:"function",name:"IS NULL",params:[za[va-1]]};break;case 40:this.qa={type:"function",name:"IS TRUE",params:[za[va-1]]};break;case 41:this.qa={type:"function",name:"IS FALSE",params:[za[va-1]]};break;case 42:this.qa={type:"number",value:+-za[va]};break;case 43:this.qa={type:"number",value:+za[va]};break;case 44:this.qa={type:"string",value:pA(za[va].substring(1,za[va].length-1))};break;case 45:case 46:this.qa={type:"function",name:za[va-3],params:[za[va-1]]};break;case 47:hd=za[va-1].pathParts.slice();if(2va.length&&(va+=this.hc.substr(0,20-va.length));return(va.substr(0,20)+(20Vc[0].length)){var Vc=va;var hd=fd;if(this.options.Wi){Vc=this.Uk(va,oc[fd]);if(!1!==Vc)return Vc;if(this.tg)Vc=!1;else return!1}else if(!this.options.flex)break}return Vc?(Vc=this.Uk(Vc,oc[hd]),!1!==Vc?Vc:!1):""===this.hc?this.Mi:this.parseError("Lexical error on line "+(this.Zb+1)+". Unrecognized text.\n"+ this.jh(),{text:"",Xk:null,line:this.Zb})},Hj:function(){var va=this.next();return va?va:this.Hj()},Xi:function(va){this.Hb.push(va)},Un:function(){return 0)/i,/^(?:>=)/i,/^(?:=)/i,/^(?:!=)/i,/^(?:<>)/i,/^(?:\.)/i,/^(?:BETWEEN)/i,/^(?:NOT BETWEEN)/i,/^(?:LIKE)/i,/^(?:NOT LIKE)/i,/^(?:IS NULL)/i,/^(?:IS NOT NULL)/i,/^(?:IS TRUE)/i,/^(?:IS NOT TRUE)/i,/^(?:IS FALSE)/i,/^(?:IS NOT FALSE)/i,/^(?:IN)/i,/^(?:NOT IN)/i,/^(?:CASE)/i,/^(?:WHEN)/i,/^(?:THEN)/i,/^(?:ELSE)/i,/^(?:END)/i,/^(?:COALESCE(?=\s*[(]))/i,/^(?:IF(?=\s*[(]))/i,/^(?:IFNULL(?=\s*[(]))/i,/^(?:NULLIF(?=\s*[(]))/i,/^(?:COUNT_DISTINCT(?=\s*[(]))/i,/^(?:COUNT_DISTINCT_EST(?=\s*[(]))/i,/^(?:PARSETIME(?=\s*[(]))/i,/^(?:FORMATTIME(?=\s*[(]))/i,/^(?:NTH_QUANTILE(?=\s*[(]))/i,/^(?:ENCODE_URI_COMPONENT(?=\s*[(]))/i,/^(?:\()/i,/^(?:\))/i,/^(?:,)/i,/^(?:')/i,/^(?:")/i,/^(?:")/i,/^(?:[0-9]*(\.[0-9]*)?([eE]-?[0-9]+)?\b)/i,/^(?:TRUE|FALSE)/i,/^(?:[a-zA-Z_][a-zA-Z0-9_]*\b)/i,/^(?:["](\\.|[^"])*["])/i,/^(?:['](\\.|[^'])*['])/i,/^(?:[`](\\.|[^`])*[`])/i,/^(?:$)/i,/^(?:.)/i,/^(?:.)/i],conditions:{CASE_MODE:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132],inclusive:!0},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132],inclusive:!0}}}}();b.prototype=Pi;Pi.v=b;return new b}();function sA(a,b,c){if(null!=c&&"number"!==typeof c)throw Error("Provided value for "+b+' to "'+a+'" was of type '+typeof c+" but a number was expected.");} function tA(a,b,c){if(null!=c&&("number"!==typeof c||!isNaN(c))&&isFinite(c)&&c!==parseInt(c,10))throw Error("Provided value for "+b+' to "'+a+'" was not an integer.');} function uA(a,b,c,e,f){if(null!=c&&!(isNaN(c)||c>=e&&c<=f))throw Error("Value provided for "+b+' to "'+a+'" was out of the allowed range of ['+e+", "+f+"].");} function vA(a,b){sA("TRUNC(X, Y)","X",a);sA("TRUNC(X, Y)","Y",b);tA("TRUNC(X, Y)","Y",b);if(null==a||null==b)return null;if(isNaN(a)||isNaN(b))return NaN;if(!isFinite(a))return+a;a=0<=a?Number(Math.floor(a+"e"+b)):Number(Math.ceil(a+"e"+b));return 0<=b?Number(a+"e-"+b):Number(a+"e"+-b)} function wA(a,b){sA("LOG(X, Y)","X",a);sA("LOG(X, Y)","X",b);return null==a||null==b?null:+a/+b} ;function xA(a,b){var c=Array.prototype.slice.call(arguments),e=c.shift();if("undefined"==typeof e)throw Error("[goog.string.format] Template required");return e.replace(/%([0\- \+]*)(\d+)?(\.(\d+))?([%sfdiu])/g,function(f,k,n,r,t,y,E,ma){if("%"==y)return"%";var na=c.shift();if("undefined"==typeof na)throw Error("[goog.string.format] Not enough arguments");arguments[0]=na;return yA[y].apply(null,arguments)})} var yA={s:function(a,b,c){return isNaN(c)||""==c||a.length>=Number(c)?a:a=-1Number(a)?"-":0<=b.indexOf("+")?"+":0<=b.indexOf(" ")?" ":"";0<=Number(a)&&(e=k+e);if(isNaN(c)||e.length>=Number(c))return e;e=isNaN(f)?Math.abs(Number(a)).toString():Math.abs(Number(a)).toFixed(f);a=Number(c)-e.length-k.length;0<=b.indexOf("-",0)?e=k+e+zi(" ",a):(b=0<=b.indexOf("0",0)?"0":" ",e=k+zi(b,a)+e);return e},d:function(a,b,c,e,f,k,n,r){return yA.f(parseInt(a,10),b,c,e,0,k,n,r)}};yA.i=yA.d;yA.u=yA.d;function zA(a,b){if(null==a)return!1;if(0===b.length)return!0;b=Lc(b);for(var c=b.next();!c.done;c=b.next())if(c=c.value,a===c||typeof a!==typeof c)return!1;return!0} function AA(a,b,c){if(null==b||null==c)return!1;if(typeof b!=typeof c)throw Error("Argument type mismatch in "+a+' comparison function: parameter 1 "'+b+'" is type '+typeof b+' but param2 "'+c+'" is type '+typeof c+".");switch(a){case "EQUAL":return b===c;case "NOT_EQUAL":return b!==c;case "LESS":return bc;case "GREATER_OR_EQUAL":return b>=c;default:throw Error('Unhandled binary operator "'+a+'".');}} function BA(a,b){var c=b[0];if(b.some(function(e){return null==e}))return null;switch(a){case "+":for(a=1;a=e?Math.ceil(e-.5):Math.floor(e+.5);if(ec)throw Error("CAST result is out of range for integer type.");return e} function IA(a,b,c){switch(typeof a){case "number":var e=a;break;case "boolean":e=a?1:0;break;case "string":if("inf"===a.toLowerCase()||"+inf"===a.toLowerCase()){e=Infinity;break}else if("-inf"===a.toLowerCase())e=-Infinity;else if("nan"===a.toLowerCase())e=NaN;else if(e=Number(a),isNaN(e))throw Error('CAST from string to a floating point value failed for "'+a+'" because of non-numeric characters.');if(isNaN(e)&&"nan"!==a.toLowerCase())throw Error('CAST from string to a floating point value failed for "'+ a+'".');break;default:throw Error("CAST from "+typeof a+" to a floating point value is not supported.");}if(null!=b&&null!=c&&isFinite(e)&&(ec))throw Error("CAST result "+e+" is out of range for target type.");return e} function JA(a){if("number"===typeof a){if(Infinity===a)return"inf";if(-Infinity===a)return"-inf";if(isNaN(a))return"NaN"}return""+a} ;function KA(a,b){var c=LA;a=a?a.toUpperCase():a;c.v.has(a)||c.v.set(a,new Map);c=c.v.get(a);for(var e=Lc(Sg(b)),f=e.next();!f.done;f=e.next()){f=f.value;var k=f.toUpperCase();c.set(k,new MA(a,k,b[f]))}} function MA(a,b,c){this.O=a;this.N=b;this.v=c} MA.prototype.call=function(){return this.apply(ud.apply(0,arguments))};MA.prototype.apply=function(a){var b=a;b=void 0===b?[]:b;var c=this.v.va,e=this.v.wa;if(c&&b.lengthe)throw Error("Expected no more than "+c+" args for "+this.N);return this.v.vb?this.v.vb.apply(null,a):this.v.ua.apply(null,a)};MA.prototype.Na=function(a){return this.v.Na?this.v.Na.call(null,a):GA(this.O,this.N,a)};var LA=new function(){this.v=new Map};KA("",{AVG:{vb:or},COUNTIF:{vb:rr},SUM:{vb:pr},MIN:{vb:sr},MAX:{vb:tr},COUNT:{vb:qr},COUNT_DISTINCT:{vb:ur},NTH_QUANTILE:{vb:vr},VARIANCE:{vb:xr},STDDEV:{vb:yr},"HLL_COUNT.MERGE":{vb:zr},"HLL_COUNT.EXTRACT":{va:1,wa:1,ua:function(){throw Error("HLL_COUNT.EXTRACT is not implemented on the client.");}},ABS:{va:1,wa:1,ua:function(a){sA("ABS(X)","X",a);return null!=a?Math.abs(+a):null}},SIGN:{va:1,wa:1,ua:function(a){sA("SIGN(X)","X",a);var b=Math.sign||function(c){c=+c;return 0===c||isNaN(c)?c:0Math.abs(a)&&-Infinity===b)return Infinity;if(1Math.abs(a)&&Infinity===b||-Infinity===a&&0>b)return 0;if(-Infinity===a&&0b)return 0;if(Infinity===a&&0b)return-Infinity;if(Infinity===a&&1a))throw Error('Value provided for X to "ATANH(X)" was out of the allowed range of (-1, 1).');var b=Math.atanh||function(c){return Math.log((1+c)/(1-c))/2};return null!=a?b(+a):null}},ATAN2:{va:2,wa:2,ua:function(a,b){sA("ATAN(Y, X)","X",a);sA("ATAN(Y, X)","Y",b);return null==a||null==b?null:Math.atan2(+a,+b)}},REGEXP_MATCH:{va:2,wa:2,ua:function(a,b){if("string"!==typeof a||"string"!==typeof b)return null;if(0==b.indexOf("(?i)")){b=b.substring(4);var c="i"}else 0==b.indexOf("(?is)")&&(b=b.substring(5),c="i");return RegExp(b,c).test(a)},uc:"REGEX"},ENCODE_URI_COMPONENT:{va:1,wa:1,ua:function(a){return"string"!==typeof a?null:encodeURIComponent(a)}},FORMAT:{va:2,wa:void 0,ua:function(a){return 2>arguments.length?null:xA.apply(null,arguments)}},CONCAT:{va:2,wa:void 0,ua:function(a){for(var b="",c=0;ca.length)throw Error("Expected at least one parameter for IN");return a[0]+" IN ("+a.slice(1).join(",")+")"},uc:"IN"},"NOT IN":{va:1,ua:function(a){return zA(a,ud.apply(1,arguments))},Na:function(a){if(1>a.length)throw Error("Expected at least one parameter for NOT IN");return a[0]+" NOT IN ("+a.slice(1).join(",")+")"},uc:"NOT_IN"},"IS NULL":{va:1,wa:1,ua:function(a){return null==a},Na:function(a){return EA("IS NULL",a)},uc:"IS_NULL"},"IS TRUE":{va:1,wa:1,ua:function(a){if(null==a)return!1;if("boolean"!==typeof a)throw Error("Argument type mismatch in IS TRUE param1 is type "+typeof a+" but must be boolean.");return!0===a},Na:function(a){return EA("IS TRUE",a)}},"IS FALSE":{va:1,wa:1,ua:function(a){if(null==a)return!1;if("boolean"!==typeof a)throw Error("Argument type mismatch in IS FALSE param1 is type "+typeof a+" but must be boolean.");return!1===a},Na:function(a){return EA("IS FALSE",a)}},BETWEEN:{va:3,wa:3,ua:function(a,b,c){return null==a||typeof a!==typeof b||typeof a!==typeof c?!1:b<=a&&a<=c},Na:function(a){return"("+a[0]+" BETWEEN "+a[1]+" AND "+a[2]+")"},uc:"BETWEEN"},"NOT BETWEEN":{va:3,wa:3,ua:function(a,b,c){return null==a||typeof a!==typeof b||typeof a!==typeof c?!1:b>a||a>c},Na:function(a){return"("+a[0]+" NOT BETWEEN "+a[1]+" AND "+a[2]+")"},uc:"NOT_BETWEEN"},CAST:{va:2,wa:2,ua:function(a,b){if(null==a)return null;switch(b.toUpperCase()){case "INT32":return HA(a,-2147483648,2147483647);case "INT64":return HA(a,-0x7fffffffffffffff,0x7fffffffffffffff);case "UINT64":return HA(a,0,1.8446744073709552E19);case "FLOAT":return IA(a,-3.4028234663852886E38,3.4028234663852886E38);case "DOUBLE":return IA(a);case "BOOL":return Rs(a);case "STRING":return JA(a);default:throw Error("CAST to "+b.toUpperCase()+" is not supported.");}},Na:function(a){if(2!==a.length)throw Error("Expected two parameters for cast.");var b=a[1].replace(/"/g,"");return"CAST("+a[0]+" AS "+b+")"}},UNIX_MICROS:{va:1,wa:1,ua:function(a){return a}},UNIX_MILLIS:{va:1,wa:1,ua:function(a){return a}},TIMESTAMP_MICROS:{va:1,wa:1,ua:function(a){return a}},TIMESTAMP_MILLIS:{va:1,wa:1,ua:function(a){return 1E3*a}},TIMESTAMP_SECONDS:{va:1,wa:1,ua:function(a){return 1E6*a}},TIMESTAMP:{va:1,wa:2,ua:Xr},DATE:{va:1,wa:2,ua:function(a,b){return Yr(a,"DAY",b)}},DATETIME:{va:1,wa:1,ua:Xr},AND:{va:2,ua:function(){return CA("AND",ud.apply(0,arguments))},Na:function(a){return DA(" AND ",a)}},OR:{va:2,ua:function(){return CA("OR",ud.apply(0,arguments))},Na:function(a){return DA(" OR ",a)}},"+":{va:2,ua:function(){return BA("+",ud.apply(0,arguments))},Na:function(a){return DA("+",a)}},"-":{va:2,ua:function(){return BA("-",ud.apply(0,arguments))},Na:function(a){return DA("-",a)}},"*":{va:2,ua:function(){return BA("*",ud.apply(0,arguments))},Na:function(a){return DA("*",a)}},"/":{va:2,ua:function(){return BA("/",ud.apply(0,arguments))},Na:function(a){return DA("/",a)}},NOT:{va:1,wa:1,ua:function(a){return null==a||"boolean"!==typeof a?null:!1===a},Na:function(a){if(1!==a.length)throw Error("Expected one parameter for NOT");return"(NOT "+a[0]+")"}},EQUAL:{va:2,wa:2,ua:function(a,b){return AA("EQUAL",a,b)},Na:function(a){return DA("=",a)},uc:"="},NOT_EQUAL:{va:2,wa:2,ua:function(a,b){return AA("NOT_EQUAL",a,b)},Na:function(a){return DA("!=",a)},uc:"!="},LESS:{va:2,wa:2,ua:function(a,b){return AA("LESS",a,b)},Na:function(a){return DA("<",a)},uc:"<"},LESS_OR_EQUAL:{va:2,wa:2,ua:function(a,b){return AA("LESS_OR_EQUAL",a,b)},Na:function(a){return DA("<=",a)},uc:"<="},GREATER:{va:2,wa:2,ua:function(a,b){return AA("GREATER",a,b)},Na:function(a){return DA(">",a)},uc:">"},GREATER_OR_EQUAL:{va:2,wa:2,ua:function(a,b){return AA("GREATER_OR_EQUAL",a,b)},Na:function(a){return DA(">=",a)},uc:">="},NATIVE_EXPR:{va:1,wa:1,ua:function(){throw Error("NATIVE_EXPR not yet supported.");}},NATIVE_AGGREGATE:{va:1,wa:1,vb:function(){throw Error("NATIVE_AGGREGATE not yet supported.");}},TO_JSON_STRING:{va:1,wa:2,ua:function(a,b){return b?JSON.stringify(a,null,2):JSON.stringify(a)}}});KA("KLL_QUANTILES",{EXTRACT_POINT_INT64:{ua:function(){throw Error("KLL EXTRACT is not supported for in-memory data.");}},MERGE_POINT_INT64:{vb:wr},EXTRACT_POINT_DOUBLE:{ua:function(){throw Error("KLL EXTRACT is not supported for in-memory data.");}},MERGE_POINT_DOUBLE:{vb:wr}});function NA(){this.ma={};this.ta={};this.oa={};this.ka=[];this.na={};this.ha=[];this.N=null;this.ya=[];this.O=[];this.v={}} w=NA.prototype;w.Tj=function(a,b){this.O.push({Ff:a,order:b?b:"ASC"});return this};w.Cl=function(){this.O=[];return this};w.Nf=function(){return this.O};w.xe=function(a){this.O=a.slice()};w.Pn=function(a,b,c,e){a={Ff:a,measure:c,mr:e||""};"function"===typeof b?a.vb=b:a.Mq=b;this.ya.push(a);return this};w.Qn=function(a){this.N=a;return this};w.tl=function(a){Array.isArray(a)?Re(a,function(b){OA(this,b,{Dd:"decimal",rf:null})},this):OA(this,a,{Dd:"decimal",rf:null});return this};w.rl=function(a){Array.isArray(a)?Re(a,function(b){OA(this,b,{Dd:"boolean",rf:null})},this):OA(this,a,{Dd:"boolean",rf:null});return this};w.Bj=function(a){a=this.v[a]?this.v[a]:null;var b;if(b=a&&a.Dd)a=a.Dd,b=!!a&&"number"===Bs[a].kc;return b?!0:!1};function OA(a,b,c){a.v[b]?(c.Dd&&(a.v[b].Dd=c.Dd),c.rf&&(a.v[b].rf=c.rf)):a.v[b]=c} w.ml=function(a,b){this.ma[a]=b;return this};w.Il=function(a,b){this.ta[a]=b;return this};w.Jl=function(a,b){this.oa[a]=b;delete this.na[a];return this};w.qn=function(a){return this.oa[a]||this.na[a]||this.ma[a]||this.N===a?!0:0<=Qe(this.ka,a)};w.on=function(a){if(null==a||void 0==a)return this;"string"===typeof a&&(a=[a]);for(var b=0;b'):c&&"string"===typeof f&&(f=xi(f));return f} function aB(a,b){var c=b.getExpression().trim().replace(/ +/," ").trim().split(" ");if(2!==c.length)throw Error("nest expression requires two parameters");b=c[0];var e=c[1].split("."),f={nest_label:"NEST_TOP",nest_children:[],nest_child_map:{}};a=Tg(a.v[a.v.length-1],b.split("."));if(null==a)return null;if(!Cd(a))throw Error('Error evaluating nest expression: "'+b+'" did not reference an Array');a.forEach(function(k){var n=f;(Tg(k,e)||"").split("|").forEach(function(r){var t=n.nest_child_map[r];t|| (t={nest_label:r,nest_children:[],nest_child_map:{}},n.nest_child_map[r]=t,n.nest_children.push(t));n=t});n.nest_children.push(k)});return f} ;function bB(a){this.v=a;this.O=this.N=-1;this.ha=0} bB.prototype.next=function(){this.N++;var a=this.v[this.N];"\n"===a?(this.ha++,this.O=-1):this.O++;return a};bB.prototype.index=function(){return this.N};function cB(a,b){if(0>b)throw Error("CharacterIterator can only skip forward");for(var c=0;c]*?>","gi"),close:new RegExp("]*?>","gi")})}for(y=0;y(ma?ma.length:0)&&(na=(ma=k.match(E.open))?ma.length:0,ma=k.match(E.close),(ma?ma.length:0)>na)){y=!0;break a}}}y=!1}y?(r=!0,(t=0<=f.toLowerCase().indexOf("'+k:f+'
'+k)&&Bo(a,b,t,e,void 0),y=Bl(a).select(".aplos-placeholder"),t=y.node(),f=t.parentNode,t=t.nextSibling?t.nextSibling:void 0,y.remove()):(f&&Bo(a,b,f,e,void 0),f=a);y=void 0;for(E=0;Ea.Ia-a.Pa?a.show():fC(a,b))})} function fC(a,b){a.ma||(JB(a.oa,Math.max(.25*a.N,50)),a.ma=Qq(a.oa,"tick",Jd(a.Nn,a,b)),a.oa.start())} w.Nn=function(a){a.Id("hover").Jd()?Date.now()-this.Ia>this.N&&this.show():cC(this)};function cC(a){a.oa.stop();Zq(a.ma);a.ma=null} w.td=function(a,b){return this.ta(a,b)};aC.prototype.setHovercardContainerStyle=aC.prototype.uo;aC.prototype.hide=aC.prototype.Nh;aC.prototype.followClosestSeries=aC.prototype.oj;aC.prototype.followTopMostSeries=aC.prototype.Rl;aC.prototype.followNamedSeries=aC.prototype.Ql;aC.prototype.getPlacer=aC.prototype.Tm;aC.prototype.setPlacer=aC.prototype.xi;aC.prototype.placer=aC.prototype.Tn;aC.prototype.getContentRenderer=aC.prototype.Fd;aC.prototype.setContentRenderer=aC.prototype.zd;aC.prototype.contentRenderer=aC.prototype.Bg;aC.prototype.getShowDelayMs=aC.prototype.Ym;aC.prototype.setShowDelayMs=aC.prototype.Nk;aC.prototype.showDelayMs=aC.prototype.Fo;aC.prototype.getTransitionMs=aC.prototype.ln;aC.prototype.setTransitionMs=aC.prototype.Qk;aC.prototype.transitionMs=aC.prototype.Ae;aC.prototype.getClassName=aC.prototype.fm;aC.prototype.setClassName=aC.prototype.qk;aC.prototype.className=aC.prototype.className;Nd("aplos.chart.behavior.Hovercard",aC);function gC(){this.ka=this.oa=this.na=this.v=this.O=this.N=this.ma=this.ha=null} w=gC.prototype;w.Mo=function(a){this.ha=a;return this};w.No=function(a){this.ma=a;return this};w.Ko=function(a){this.N=a;return this};w.Lo=function(a){this.O=a;return this};w.be=function(a){this.v=a;return this};w.Fl=function(a){this.na=a;return this};w.container=function(a){this.ka=a;return this};w.ah=function(a){this.oa=a;return this};function hC(a){var b=uB?new sB:new vB;a.na&&b.xe(a.na);a.ha&&b.mf(a.ha);a.N&&b.lf(a.N);a.O&&b.ig(a.O);a.ma&&b.lg(a.ma);a.v&&b.fg(a.v);return b} w.Yi=function(){var a=(new aC).oj();a.zd(hC(this));var b=a.xi,c=new RB;null!=this.ka&&c.sk(this.ka);null!=this.oa&&c.ah(this.oa);b.call(a,c);return a};w.yl=function(){var a=new QB;a.Bg(hC(this));return a};gC.prototype.buildPieCard=gC.prototype.yl;gC.prototype.buildCard=gC.prototype.Yi;gC.prototype.positionOptions=gC.prototype.ah;gC.prototype.container=gC.prototype.container;gC.prototype.contentRendererOrdering=gC.prototype.Fl;gC.prototype.conversionFunctionMap=gC.prototype.be;gC.prototype.templateFooter=gC.prototype.Lo;gC.prototype.templateBody=gC.prototype.Ko;gC.prototype.templateSeriesCategory=gC.prototype.No;gC.prototype.templateHeader=gC.prototype.Mo;Nd("aplos.chart.behavior.hovercardutils.Builder",gC);function iC(a,b,c,e){var f=new gC;f.ha=a?a:null;f.N=b?b:null;f.O=c?c:null;f.v=e?e:null;return f} Nd("aplos.chart.behavior.hovercardutils.Builder.fromTemplate",iC);var jC={END:0,RIGHT:1,TOP:2,START:3,LEFT:4,BOTTOM:5,BOTTOM_START:6,BOTTOM_END:7,BOTTOM_LEFT:8,BOTTOM_RIGHT:9,BOTTOM_FULL_START:10,BOTTOM_FULL_END:11,BOTTOM_FULL_LEFT:12,BOTTOM_FULL_RIGHT:13,INSET:14,TOP_START:15,TOP_END:16,TOP_LEFT:17,TOP_RIGHT:18,TOP_FULL_START:19,TOP_FULL_END:20,TOP_FULL_LEFT:21,TOP_FULL_RIGHT:22};Nd("aplos.chart.behavior.LegendPosition",jC);function kC(){this.v=0;this.ha=null;this.N=!1} kC.prototype.position=function(a){if(!arguments.length||void 0===a)return this.v;this.v=a;return this};kC.prototype.O=function(a){if(!arguments.length||void 0===a)return this.ha;this.ha=a;return this};kC.prototype.Md=function(a){if(!arguments.length||void 0===a)return this.N;this.N=a;return this};function lC(a){var b=a.v;a=a.N;3===b&&(b=a?1:4);0===b&&(b=a?4:1);15===b&&(b=a?18:17);16===b&&(b=a?17:18);19===b&&(b=a?22:21);20===b&&(b=a?21:22);6===b&&(b=a?9:8);7===b&&(b=a?8:9);10===b&&(b=a?13:12);11===b&&(b=a?12:13);return b} Nd("aplos.chart.behavior.legend.LegendLayoutParams",kC);var mC={sj:function(a,b,c){return 14===lC(c)?b.wb():a.bottom-a.top},tj:function(a,b,c){return 14===lC(c)?b.Za():a.right-a.left},Vn:function(a,b,c,e,f){f=mC.Lm(a,b,c,e,f);e.style("top",mC.Mm(a,b,c)+"px").style("left",f+"px")},Lm:function(a,b,c,e,f){var k=void 0!==f?f:0;void 0!==f||e.empty()||(k=e.node().offsetWidth);switch(lC(c)){case 14:return c.Md()?a.Lb()+a.Za()-k:a.Lb();case 4:case 1:return c.Md()&&!e.empty()?b.right-k:b.left;case 17:case 21:case 8:case 12:return b.left;case 18:case 22:case 9:case 13:return b.right-k;default:return a=mC.tj(b,a,c),0=k?mC.Tk(f,n,c.height-k):f=n;var t=[];f.forEach(function(y){t.push({width:e,height:y})});return t},jr:function(a,b,c){for(var e=c.height,f=[],k=0,n=[],r=0;r=k?mC.Tk(f,n,c.width-k):f=n;var t=[];f.forEach(function(y){t.push({width:y,height:e})});return t},Tk:function(a,b,c){for(var e=0;ec&&f.style("height",c+"px");a.na||k.scrollHeight<=c&&f.style("overflow-y",null);c=mC.tj(a.O,b,a.v);if(Ec?r.style("width",n+"px"):Math.ceil(r.node().getBoundingClientRect().width)>n?r.style("width",n+"px"):r.style("width","auto");e=Math.ceil(k.getBoundingClientRect().width);0c?(f.style("overflow-x","auto"),f.style("width",Math.min(c,e)+"px")):(f.style("overflow-x"),f.style("width","auto"));uC(a,b)}else f.style("display","none"),f.selectAll(".aplos-legend-column").remove(),k.style("display","none")} function vC(a,b){var c=b.node().getBoundingClientRect(),e=c.top;a=(a.ha?b.select(".aplos-legend-title").node():b.select(".aplos-legend-column").node()).getBoundingClientRect();b=b.select(".aplos-legend-column").selectAll(".aplos-legend-entry");b.empty()?c=0:(b=b.nodes()[b.size()-1].getBoundingClientRect(),c=c.height-(b.top+b.height-a.top));return{top:e,Yo:c}} function rC(a,b,c,e){var f=b.Ja.append("div").style("visibility","hidden");f.append(function(){return c.node().cloneNode(!0)});c=f.select(".aplos-legend");c.selectAll(".aplos-legend-column").remove();e=c.select(".aplos-legend-columns").append("div").classed("aplos-legend-column",!0).append("table").classed(sC(a),!0).style("width","100%").append("tbody").selectAll(".aplos-legend-entry").data(e);e=a.Le(b,e);a.update(b,e,0);var k=vC(a,c),n=e.empty()?0:e.node().getBoundingClientRect().top,r=mC.sj(a.O,b,a.v)-(n-k.top)-k.Yo,t=[[]],y=0,E=n;e.each(Md(function(ma,na){var ta=this.getBoundingClientRect(),ua=ta.top;ta=ua-E+ta.height;0r||t[y].length===ma.Tg)&&(t[y+=1]=[],E=ua);t[y].push(na)},a));f.remove();return t} function uC(a,b){var c=b.Ja.select(".aplos-legend");mC.Vn(b,a.O,a.v,c);c.attr("data-position",Jd(function(){var e=Ug(jC,function(f){return lC(this.v)===f},this);return null!=e?e.toLowerCase():null},a))} w.Le=function(a,b){var c=this.Lj(a);return b.enter().append("tr").classed("aplos-legend-entry",!0).attr("tabindex",c&&this.oa?"0":null).on("click.legend",c).on("keypress.legend",this.oa?c:null).on("mouseover.legend",this.Nj(a)).on("mouseout.legend",this.Mj(a)).each(function(){if(this.nextSibling){var e=document.createElement("tr");e.className="aplos-legend-row-spacer";this.parentNode.insertBefore(e,this.nextSibling)}}).merge(b)};w.update=function(a,b){wC(this,b);b.empty()||Bl(b.node().parentElement).select(".aplos-legend-box-cell").style("width",this.ta.width+"px");var c=0;b.select(".aplos-legend-value").each(function(){c=Math.max(c,this.offsetWidth)});b.filter(function(e,f){return 0===f}).select(".aplos-legend-value-cell").style("width",c+"px")};function wC(a,b){var c=a.Ia||yp();c["svg-sample"]||(c["svg-sample"]=a.La.v(a.ta));b.each(Md(function(e,f){e=Co(f,"
"+(f.categorySeparator?e.Ef:e.zh)+"
",c)[0];for(e=Bl(e).select("tr").node();e.childNodes.length;)this.appendChild(e.childNodes[0])},a));b.classed("aplos-legend-category",function(e){return e.categorySeparator})} function tC(a){a.each(function(){Bl(this.nextElementSibling).remove()});a.attr("opacity",0).on("click.legend",null).on("mouseover.legend",null).on("mouseout.legend",null).remove()} w.nl=function(a,b){b.Ke(new xC(a,this))};function sC(a){return null!=a.Ef?"aplos-legend-table-category":"aplos-legend-table"} function xC(a,b){this.N=a;this.v=b} xC.prototype.Ih=function(){var a={position:yC(this),Vf:30},b=this.v.Jg();if(null!=b)a.margins=b;else switch(a.position){case 1:case 2:case 3:case 4:a.margins={top:5,right:0,bottom:5,left:0};break;case 6:a.margins={top:0,right:0,bottom:0,left:30};break;case 5:a.margins={top:0,right:30,bottom:0,left:0}}return a};xC.prototype.qg=function(a){oC(this.v,this.N,this.v.hb,this.v.Ya,{top:0,right:a.width,bottom:a.height,left:0});var b=this.N.Ja.select(".aplos-legend");if(b.empty())return{Ba:{width:0,height:0},rb:{width:0,height:0},Bc:!0};var c=yC(this),e=Eg(a,this.v.Ue(),c);if(null!=e)return e;var f=b.node(),k=f.offsetWidth;e=f.offsetHeight;f=Math.ceil(f.getBoundingClientRect().width);f==k+1&&(k=f);var n=k;f=e;b=b.selectAll(".aplos-legend-column");var r=b.size();switch(c){case 5:case 6:1t&&(t=y.size())});c=this.N.Ja.select(".aplos-legend-title");c=Fl(c.node());0a.width&&(n=a.width);f>a.height&&(f=a.height);k>a.width&&(k=a.width);e>a.height&&(e=a.height);return{Ba:{width:n,height:f},rb:{width:k,height:e},Bc:!1}};xC.prototype.eh=function(a){var b=a.right-a.left;this.v.O=a;a=this.N.Ja.select(".aplos-legend").node();b!=a.offsetWidth&&uC(this.v,this.N)};xC.prototype.Te=function(){return this.v.O};function yC(a){switch(lC(a.v.v)){case jC.LEFT:return 5;case jC.RIGHT:return 6;case jC.TOP:case jC.TOP_FULL_LEFT:case jC.TOP_FULL_RIGHT:return 2;case jC.TOP_LEFT:case jC.TOP_RIGHT:return 1;case jC.BOTTOM:case jC.BOTTOM_FULL_LEFT:case jC.BOTTOM_FULL_RIGHT:return 4;case jC.BOTTOM_LEFT:case jC.BOTTOM_RIGHT:return 3;default:return 0}} ;function zC(){this.N=new oy;this.v=new AC("");this.v.next=this.v.v=this.v} w=zC.prototype;w.get=function(a,b){return(a=this.N.get(a))?a.value:b};w.set=function(a,b){var c=this.N.get(a);c?c.value=b:(c=new AC(a,b),this.N.set(a,c),a=c,a.v=this.v.v,a.next=this.v,this.v.v=a,a.v.next=a)};w.shift=function(){return BC(this,this.v.next)};w.pop=function(){return BC(this,this.v.v)};w.remove=function(a){return(a=this.N.get(a))?(a.remove(),this.N.remove(a.key),!0):!1};function CC(a){return a.map(function(b){return b})} w.contains=function(a){return this.some(function(b){return b==a})};w.clear=function(){this.tf(0)};w.forEach=function(a,b){for(var c=this.v.next;c!=this.v;c=c.next)a.call(b,c.value,c.key,this)};w.map=function(a,b){for(var c=[],e=this.v.next;e!=this.v;e=e.next)c.push(a.call(b,e.value,e.key,this));return c};w.some=function(a,b){for(var c=this.v.next;c!=this.v;c=c.next)if(a.call(b,c.value,c.key,this))return!0;return!1};w.every=function(a,b){for(var c=this.v.next;c!=this.v;c=c.next)if(!a.call(b,c.value,c.key,this))return!1;return!0};w.tf=function(a){for(;this.N.size>a;){var b=this.v.next;b.remove();this.N.remove(b.key)}};function BC(a,b){a.v!=b&&(b.remove(),a.N.remove(b.key));return b.value} function AC(a,b){this.key=a;this.value=b} AC.prototype.remove=function(){this.v.next=this.next;this.next.v=this.v;delete this.v;delete this.next};Nd("aplos.chart.behavior.SeriesLegendClickHandling",{NONE:0,HIDE:1});function DC(a){nC.call(this,a||'{{svg-sample}} {{series.name}}');this.Ca=!1;this.ma={};this.Sa=!1;this.N={};this.ka=[];this.Pa=[];this.Ma="series_asc";this.ya=1} Od(DC,nC);Nd("aplos.chart.behavior.SeriesLegend",DC);var EC=null,FC=null;DC.prototype.Xo=function(a){return null!=a?(this.Ca=a,a||(this.ma={}),this):this.Ca};DC.prototype.valuesFromNearestDatum=DC.prototype.Xo;DC.prototype.un=function(a){if(null==a)return this.Sa;this.Sa=!!a;return this};DC.prototype.hideEmptySeries=DC.prototype.un;DC.prototype.vn=function(a){this.N[a]=!0;return this};DC.prototype.hideSeries=DC.prototype.vn;DC.prototype.Zg=function(a){if(null==a)return this.Ma;this.Ma=a;return this};DC.prototype.ordering=DC.prototype.Zg;DC.prototype.dj=function(a){if(null==a)return this.ya;this.ya=a;return this};DC.prototype.clickHandling=DC.prototype.dj;w=DC.prototype;w.Ec=function(a){var b=this;DC.Qb.Ec.call(this,a);a.on("mouseout.seriesLegend",function(){this.Ca&&(this.ma={},a.kf())},this);a.on("mousemove.seriesLegend",function(){if(this.Ca){for(var c=a.Mf(),e=0;ethis.N)a.Id("hover").deselectAll(),IC(this);else{var e=[c];switch(this.ha){case 0:void 0!==c.domain&&(e=a.Lf(function(f){return!f.series.overlay&&f.domain===c.domain},!0,!0));break;case 1:e=b}this.select(a,e)}}};w.select=function(a,b){a.Id("hover").ih(b.map(function(c){return{series:c.series?c.series:null,datum:c.datum}}));KC(this,a)};function KC(a,b){if(!a.v){var c="selectnearest_"+Date.now();Bl(a.ka).on("mouseout."+c,function(){var e=b.kb.select(".mouseCapturePane").node(),f;if(f=Kj&&Kj.target)e?(f=Lj(e),e=e.getBoundingClientRect(),f=0<=f[0]&&f[0]h?1:l>=h?0:NaN} function c(l){1===l.length&&(l=e(l));return{left:function(h,p,u,x){null==u&&(u=0);null==x&&(x=h.length);for(;u>>1;0>l(h[z],p)?u=z+1:x=z}return u},right:function(h,p,u,x){null==u&&(u=0);null==x&&(x=h.length);for(;u>>1;0(x=arguments.length)?(h=l,l=0,1):3>x?1:+p;for(var u=-1,x=Math.max(0,Math.ceil((h-l)/p))|0,z=Array(x);++u=Mo?10:h>=No?5:h>=Oo?2:1)*Math.pow(10,l):-Math.pow(10,-l)/(h>=Mo?10:h>=No?5:h>=Oo?2:1)} function r(l,h,p){var u=Math.abs(h-l)/Math.max(0,p);p=Math.pow(10,Math.floor(Math.log(u)/Math.LN10));u/=p;u>=Mo?p*=10:u>=No?p*=5:u>=Oo&&(p*=2);return hh?1:l>=h?0:NaN} function Qa(l){return function(){this.removeAttribute(l)}} function Wa(l){return function(){this.removeAttributeNS(l.space,l.local)}} function Db(l,h){return function(){this.setAttribute(l,h)}} function Eb(l,h){return function(){this.setAttributeNS(l.space,l.local,h)}} function Fb(l,h){return function(){var p=h.apply(this,arguments);null==p?this.removeAttribute(l):this.setAttribute(l,p)}} function Gb(l,h){return function(){var p=h.apply(this,arguments);null==p?this.removeAttributeNS(l.space,l.local):this.setAttributeNS(l.space,l.local,p)}} function Hb(l){return function(){this.style.removeProperty(l)}} function Ib(l,h,p){return function(){this.style.setProperty(l,h,p)}} function Jb(l,h,p){return function(){var u=h.apply(this,arguments);null==u?this.style.removeProperty(l):this.style.setProperty(l,u,p)}} function $a(l,h){return l.style.getPropertyValue(h)||(l.ownerDocument&&l.ownerDocument.defaultView||l.document&&l||l.defaultView).getComputedStyle(l,null).getPropertyValue(h)} function Kb(l){return function(){delete this[l]}} function Lb(l,h){return function(){this[l]=h}} function Mb(l,h){return function(){var p=h.apply(this,arguments);null==p?delete this[l]:this[l]=p}} function fb(l){return l.classList||new ub(l)} function ub(l){this.Ti=l;this.Zd=(l.getAttribute("class")||"").trim().split(/^|\s+/)} function vb(l,h){l=fb(l);for(var p=-1,u=h.length;++p>8&15|h>>4&240,h>>4&15|h&240,(h&15)<<4|h&15,1)):(h=SC.exec(l))?zb(parseInt(h[1],16)):(h=TC.exec(l))?new La(h[1],h[2],h[3],1):(h=UC.exec(l))?new La(255*h[1]/100,255*h[2]/100,255*h[3]/100,1):(h=VC.exec(l))?Ab(h[1],h[2],h[3],h[4]):(h=WC.exec(l))?Ab(255*h[1]/100,255*h[2]/100,255*h[3]/100,h[4]):(h=XC.exec(l))?Bb(h[1],h[2]/100,h[3]/100,1):(h=YC.exec(l))?Bb(h[1],h[2]/100,h[3]/100,h[4]):yv.hasOwnProperty(l)?zb(yv[l]):"transparent"===l?new La(NaN,NaN,NaN,0):null} function zb(l){return new La(l>>16&255,l>>8&255,l&255,1)} function Ab(l,h,p,u){0>=u&&(l=h=p=NaN);return new La(l,h,p,u)} function hb(l){l instanceof Xa||(l=Ya(l));if(!l)return new La;l=l.rgb();return new La(l.r,l.g,l.b,l.opacity)} function cb(l,h,p,u){return 1===arguments.length?hb(l):new La(l,h,p,null==u?1:u)} function La(l,h,p,u){this.r=+l;this.g=+h;this.b=+p;this.opacity=+u} function ib(l){l=Math.max(0,Math.min(255,Math.round(l)||0));return(16>l?"0":"")+l.toString(16)} function Bb(l,h,p,u){0>=u?l=h=p=NaN:0>=p||1<=p?l=h=NaN:0>=h&&(l=NaN);return new Ua(l,h,p,u)} function hc(l){if(l instanceof Ua)return new Ua(l.h,l.s,l.l,l.opacity);l instanceof Xa||(l=Ya(l));if(!l)return new Ua;if(l instanceof Ua)return l;l=l.rgb();var h=l.r/255,p=l.g/255,u=l.b/255,x=Math.min(h,p,u),z=Math.max(h,p,u),A=NaN,la=z-x,oa=(z+x)/2;la?(A=h===z?(p-u)/la+6*(poa?z+x:2-z-x,A*=60):la=0oa?0:A;return new Ua(A,la,oa,l.opacity)} function jb(l,h,p,u){return 1===arguments.length?hc(l):new Ua(l,h,p,null==u?1:u)} function Ua(l,h,p,u){this.h=+l;this.s=+h;this.l=+p;this.opacity=+u} function kb(l,h,p){return 255*(60>l?h+(p-h)*l/60:180>l?p:240>l?h+(p-h)*(240-l)/60:h)} function lb(l){if(l instanceof Va)return new Va(l.l,l.a,l.b,l.opacity);if(l instanceof rb){if(isNaN(l.h))return new Va(l.l,0,0,l.opacity);var h=l.h*zv;return new Va(l.l,Math.cos(h)*l.c,Math.sin(h)*l.c,l.opacity)}l instanceof La||(l=hb(l));var p=pb(l.r),u=pb(l.g),x=pb(l.b);h=mb(.2225045*p+.7168786*u+.0606169*x);if(p===u&&u===x)var z=p=h;else z=mb((.4360747*p+.3850649*u+.1430804*x)/.96422),p=mb((.0139322*p+.0971045*u+.7141733*x)/.82521);return new Va(116*h-16,500*(z-h),200*(h-p),l.opacity)} function Va(l,h,p,u){this.l=+l;this.a=+h;this.b=+p;this.opacity=+u} function mb(l){return l>ZC?Math.pow(l,1/3):l/Av+Bv} function nb(l){return l>Ih?l*l*l:Av*(l-Bv)} function ob(l){return 255*(.0031308>=l?12.92*l:1.055*Math.pow(l,1/2.4)-.055)} function pb(l){return.04045>=(l/=255)?l/12.92:Math.pow((l+.055)/1.055,2.4)} function ic(l){if(l instanceof rb)return new rb(l.h,l.c,l.l,l.opacity);l instanceof Va||(l=lb(l));if(0===l.a&&0===l.b)return new rb(NaN,0,l.l,l.opacity);var h=Math.atan2(l.b,l.a)*Cv;return new rb(0>h?h+360:h,Math.sqrt(l.a*l.a+l.b*l.b),l.l,l.opacity)} function qb(l,h,p,u){return 1===arguments.length?ic(l):new rb(l,h,p,null==u?1:u)} function rb(l,h,p,u){this.h=+l;this.c=+h;this.l=+p;this.opacity=+u} function db(l,h,p,u){if(1===arguments.length){var x=l;if(x instanceof sb)x=new sb(x.h,x.s,x.l,x.opacity);else{x instanceof La||(x=hb(x));var z=x.g/255,A=x.b/255,la=(Dv*A+x.r/255*-1.7884503806-3.5172982438*z)/(Dv+-1.7884503806-3.5172982438);A-=la;var oa=(1.97294*(z-la)- -.29227*A)/-.90649;A=(z=Math.sqrt(oa*oa+A*A)/(1.97294*la*(1-la)))?Math.atan2(oa,A)*Cv-120:NaN;x=new sb(0>A?A+360:A,z,la,x.opacity)}}else x=new sb(l,h,p,null==u?1:u);return x} function sb(l,h,p,u){this.h=+l;this.s=+h;this.l=+p;this.opacity=+u} function lc(l,h,p,u,x){var z=l*l,A=z*l;return((1-3*l+3*z-A)*h+(4-6*z+3*A)*p+(1+3*l+3*z-3*A)*u+A*x)/6} function pc(l){return function(){return l}} function uc(l,h){return function(p){return l+p*h}} function zc(l,h,p){return l=Math.pow(l,p),h=Math.pow(h,p)-l,p=1/p,function(u){return Math.pow(l+u*h,p)}} function rc(l,h){var p=h-l;return p?uc(l,180p?p-360*Math.round(p/360):p):pc(isNaN(l)?h:l)} function Ac(l){return 1===(l=+l)?Cb:function(h,p){return p-h?zc(h,p,l):pc(isNaN(h)?p:h)}} function Cb(l,h){var p=h-l;return p?uc(l,p):pc(isNaN(l)?h:l)} function Gc(l){return function(h){var p=h.length,u=Array(p),x=Array(p),z=Array(p),A;for(A=0;Ap&&(z=h.slice(p,z),la[A]?la[A]+=z:la[++A]=z),(u=u[0])===(x=x[0])?la[A]?la[A]+=x:la[++A]=x:(la[++A]=null,oa.push({vd:A,x:nc(u,x)})),p=Qo.lastIndex;pla.length?oa[0]?Dc(oa[0].x):Cc(h):(h=oa.length,function(ra){for(var qa=0,pa;qal.Cf&&(p=l.Cf);var u=l;l=l.Rc}else h=l.Rc,l.Rc=null,l=u?u.Rc=h:dl=h;$i=u;yf(p);Mg=0}} function af(){var l=Yi.now(),h=l-cl;1E3l&&(Zi=setTimeout(Mi,l-Yi.now()-bl)),aj&&(aj=clearInterval(aj))):(aj||(cl=Yi.now(),aj=setInterval(af,1E3)),Jh=1,Fv(Mi)))} function Ni(l,h,p){var u=new Jg;h=null==h?0:+h;u.restart(function(x){u.stop();l(x+h)},h,p);return u} function Ie(l,h,p,u,x,z){var A=l.Cd;if(!A)l.Cd={};else if(p in A)return;Pk(l,p,{name:h,index:u,group:x,on:$C,tween:aD,time:z.time,delay:z.delay,duration:z.duration,ease:z.ease,timer:null,state:0})} function re(l,h){l=je(l,h);if(0=qa?Ha=!0:10===(tc=A.charCodeAt(pa++))?jc=!0:13===tc&&(jc=!0,10===A.charCodeAt(pa)&&++pa);return A.slice(Uc+1,Pc-1).replace(/""/g,'"')}for(;pa=qa,jc=!1;10===A.charCodeAt(qa-1)&&--qa;for(13===A.charCodeAt(qa-1)&&--qa;(Da=oa())!==To;){for(var eb=[];Da!==Iv&&Da!==To;)eb.push(Da),Da=oa();la&&null==(eb=la(eb,wa++))||ra.push(eb)}return ra} function p(A){return A.map(u).join(l)} function u(A){return null==A?"":x.test(A+="")?'"'+A.replace(/"/g,'""')+'"':A} var x=new RegExp('["'+l+"\n\r]"),z=l.charCodeAt(0);return{parse:function(A,la){var oa,ra;A=h(A,function(qa,pa){if(oa)return oa(qa,pa-1);ra=qa;oa=la?fD(qa,la):Gv(qa)});A.columns=ra||[];return A},parseRows:h,format:function(A,la){null==la&&(la=gD(A));return[la.map(u).join(l)].concat(A.map(function(oa){return la.map(function(ra){return u(oa[ra])}).join(l)})).join("\n")},formatRows:function(A){return A.map(p).join("\n")}}} function hD(l){if(!l.ok)throw Error(l.status+" "+l.statusText);return l.text()} function Jv(l){return function(h,p,u){2===arguments.length&&"function"===typeof p&&(u=p,p=void 0);return fetch(h,p).then(hD).then(function(x){return l(x,u)})}} function Kv(l,h,p,u){if(isNaN(h)||isNaN(p))return l;var x,z=l.tb;u={data:u};var A=l.Qa,la=l.Ra,oa=l.Aa,ra=l.Ea,qa,pa,wa,Da,Ha;if(!z)return l.tb=u,l;for(;z.length;)if((wa=h>=(qa=(A+oa)/2))?A=qa:oa=qa,(Da=p>=(pa=(la+ra)/2))?la=pa:ra=pa,x=z,!(z=z[Ha=Da<<1|wa]))return x[Ha]=u,l;var jc=+l.Ab.call(null,z.data);var eb=+l.Eb.call(null,z.data);if(h===jc&&p===eb)return u.next=z,x?x[Ha]=u:l.tb=u,l;do x=x?x[Ha]=Array(4):l.tb=Array(4),(wa=h>=(qa=(A+oa)/2))?A=qa:oa=qa,(Da=p>=(pa=(la+ra)/2))?la=pa:ra=pa;while((Ha= Da<<1|wa)===(wa=(eb>=pa)<<1|jc>=qa));return x[wa]=z,x[Ha]=u,l} function fe(l,h,p,u,x){this.node=l;this.x0=h;this.y0=p;this.x1=u;this.y1=x} function iD(l){return l[0]} function jD(l){return l[1]} function Uo(l,h,p,u,x,z){this.Ab=l;this.Eb=h;this.Qa=p;this.Ra=u;this.Aa=x;this.Ea=z;this.tb=void 0} function Lv(l){for(var h={data:l.data},p=h;l=l.next;)p=p.next={data:l.data};return h} function il(l,h){if(0>(h=(l=h?l.toExponential(h-1):l.toExponential()).indexOf("e")))return null;var p=l.slice(0,h);return[1u&&(la=Math.max(1,u-oa));z.push(p.substring(x-=la,x+la));if((oa+=la+1)>u)break;la=l[A=(A+1)%l.length]}return z.reverse().join(h)}} function lD(l){return function(h){return h.replace(/[0-9]/g,function(p){return l[+p]})}} function jl(l){return new Vo(l)} function Vo(l){if(!(h=mD.exec(l)))throw Error("invalid format: "+l);var h;this.fill=h[1]||" ";this.align=h[2]||">";this.sign=h[3]||"-";this.symbol=h[4]||"";this.zero=!!h[5];this.width=h[6]&&+h[6];this.comma=!!h[7];this.precision=h[8]&&+h[8].slice(1);this.trim=!!h[9];this.type=h[10]||""} function Mv(l,h){h=il(l,h);if(!h)return l+"";l=h[0];h=h[1];return 0>h?"0."+Array(-h).join("0")+l:l.length>h+1?l.slice(0,h+1)+"."+l.slice(h+1):l+Array(h-l.length+2).join("0")} function Nv(l){return l} function nD(l){function h(la){function oa(Ma){var Rc=tc,Ia=Oc,Ta;if("c"===Uc)Ia=bd(Ma)+Ia,Ma="";else{Ma=+Ma;var Ga=0>Ma;Ma=bd(Math.abs(Ma),eb);if(Pc){var Na=Ma.length;var $c=1,yd=-1,Ed;a:for(;$cTa||57>1)+Rc+Ma+Ia+Ga.slice(Ta);break;default:Ma=Ga+Rc+Ma+Ia}return z(Ma)} la=jl(la);var ra=la.fill,qa=la.align,pa=la.sign,wa=la.symbol,Da=la.zero,Ha=la.width,jc=la.comma,eb=la.precision,Pc=la.trim,Uc=la.type;"n"===Uc?(jc=!0,Uc="g"):Qv[Uc]||(null==eb&&(eb=12),Pc=!0,Uc="g");if(Da||"0"===ra&&"="===qa)Da=!0,ra="0",qa="=";var tc="$"===wa?u[0]:"#"===wa&&/[boxX]/.test(Uc)?"0"+Uc.toLowerCase():"",Oc="$"===wa?u[1]:/[%p]/.test(Uc)?A:"",bd=Qv[Uc],Qc=/[defgprs%]/.test(Uc);eb=null==eb?6:/[gprs]/.test(Uc)?Math.max(1,Math.min(21,eb)):Math.max(0,Math.min(20,eb));oa.toString=function(){return la+ ""};return oa} var p=l.grouping&&l.thousands?kD(l.grouping,l.thousands):Nv,u=l.currency,x=l.decimal,z=l.numerals?lD(l.numerals):Nv,A=l.percent||"%";return{format:h,formatPrefix:function(la,oa){var ra=h((la=jl(la),la.type="f",la));la=3*Math.max(-8,Math.min(8,Math.floor(Kh(oa)/3)));var qa=Math.pow(10,-la),pa=Ov[8+la/3];return function(wa){return ra(qa*wa)+pa}}}} function Ke(){this.reset()} function Rv(l,h,p){var u=l.s=h+p,x=u-h;l.t=h-(u-x)+(p-x)} function kl(l){return 1l?-Ce:Math.asin(l)} function oD(){} function Sv(l){var h=l[0];l=l[1];var p=De(l);return[p*De(h),p*ae(h),ae(l)]} function Tv(l,h){return[l[1]*h[2]-l[2]*h[1],l[2]*h[0]-l[0]*h[2],l[0]*h[1]-l[1]*h[0]]} function Uv(l){var h=ll(l[0]*l[0]+l[1]*l[1]+l[2]*l[2]);l[0]/=h;l[1]/=h;l[2]/=h} function pD(){var l=[],h;return{point:function(p,u){h.push([p,u])},lineStart:function(){l.push(h=[])},lineEnd:oD,dr:function(){1=(wa=pa.length-1))){var wa,Da=pa[0],Ha=pa[wa],jc=Da;if(1E-6>gg(jc[0]-Ha[0])&&1E-6>gg(jc[1]-Ha[1])){x.lineStart();for(la=0;la(l=l.x)[0]?l[1]-Ce-1E-6:Ce-l[1])-(0>(h=h.x)[0]?h[1]-Ce-1E-6:Ce-h[1])} function Wo(){} function Wv(l){return function(h,p){var u=De(h),x=De(p);u=l(u*x);return[u*x*ae(h),u*ae(p)]}} function bj(l){return function(h,p){var u=ll(h*h+p*p),x=l(u),z=ae(x);x=De(x);return[Xv(h*z,u*x),kl(u&&p*z/u)]}} function tD(l){var h=0,p=l.children,u=p&&p.length;if(u)for(;0<=--u;)h+=p[u].value;else h=1;l.value=h} function Yv(l,h){var p=new cj(l);l=+l.value&&(p.value=l.value);var u,x=[p],z,A,la,oa;for(null==h&&(h=uD);u=x.pop();)if(l&&(u.value=+u.data.value),(A=h(u.data))&&(oa=A.length))for(u.children=Array(oa),la=oa-1;0<=la;--la)x.push(z=u.children[la]=new cj(A[la])),z.parent=u,z.depth=u.depth+1;return p.eachBefore(vD)} function uD(l){return l.children} function wD(l){l.data=l.data.data} function vD(l){var h=0;do l.height=h;while((l=l.parent)&&l.height<++h)} function cj(l){this.data=l;this.depth=this.height=0;this.parent=null} function Xo(l){function h(z){var A=z+"",la=p.get(A);if(!la){if(x!==Zv)return x;p.set(A,la=u.push(z))}return l[(la-1)%l.length]} var p=gl(),u=[],x=Zv;l=null==l?[]:nl.call(l);h.domain=function(z){if(!arguments.length)return u.slice();u=[];p=gl();for(var A=-1,la=z.length,oa,ra;++A=p?1:u(x)}}} function zD(l){return function(h,p){var u=l(h=+h,p=+p);return function(x){return 0>=x?h:1<=x?p:u(x)}}} function AD(l,h,p,u){var x=l[0];l=l[1];var z=h[0];h=h[1];loa&&(A=Math.ceil(A*oa)/oa,la=Math.floor(la*oa)/oa,oa=n(A,la,p));0oa&&(u[x]=Math.ceil(A*oa)/oa,u[z]=Math.floor(la*oa)/oa,h(u));return l};return l} function dw(){var l=ap(Zo,nc);l.copy=function(){return $o(l,dw())};return DD(l)} function ew(l,h){l=l.slice();var p=0,u=l.length-1,x=l[p],z=l[u];if(zl?function(p){return-Math.pow(-h,p)*Math.pow(-l,1-p)}:function(p){return Math.pow(h,p)*Math.pow(l,1-p)}} function GD(l){return isFinite(l)?+("1e"+l):0>l?0:l} function fw(l){return 10===l?GD:l===Math.E?Math.exp:function(h){return Math.pow(l,h)}} function gw(l){return l===Math.E?Math.log:10===l&&Math.log10||2===l&&Math.log2||(l=Math.log(l),function(h){return Math.log(h)/l})} function hw(l){return function(h){return-l(-h)}} function iw(){function l(){x=gw(u);z=fw(u);0>p()[0]&&(x=hw(x),z=hw(z));return h} var h=ap(ED,FD).domain([1,10]),p=h.domain,u=10,x=gw(10),z=fw(10);h.base=function(A){return arguments.length?(u=+A,l()):u};h.domain=function(A){return arguments.length?(p(A),l()):p()};h.ticks=function(A){var la=p(),oa=la[0];la=la[la.length-1];var ra;if(ra=lala)break;A.push(Ha)}}}else for(;qala)break;A.push(Ha)}}else A=k(qa,pa,Math.min(pa-qa,wa)).map(z);return ra?A.reverse():A};h.tickFormat=function(A,la){null==la&&(la=10===u?".0e":",");"function"!==typeof la&&(la=Gi(la));if(Infinity===A)return la;null==A&&(A=10);var oa=Math.max(1,u*A/h.ticks().length);return function(ra){var qa=ra/z(Math.round(x(ra)));qa*u=A)for(;l(A),!z(A);)A.setTime(A-1)},function(A,la){if(A>=A)if(0>la)for(;0>=++la;)for(;h(A,-1),!z(A););else for(;0<=--la;)for(;h(A,1),!z(A););})};p&&(x.count=function(z,A){bp.setTime(+z);cp.setTime(+A);l(bp);l(cp);return Math.floor(p(bp,cp))},x.every=function(z){z=Math.floor(z);return isFinite(z)&&0l.y){var h=new Date(-1,l.m,l.d,l.md,l.M,l.S,l.L);h.setFullYear(l.y);return h}return new Date(l.y,l.m,l.d,l.md,l.M,l.S,l.L)} function ol(l){if(0<=l.y&&100>l.y){var h=new Date(Date.UTC(-1,l.m,l.d,l.md,l.M,l.S,l.L));h.setUTCFullYear(l.y);return h}return new Date(Date.UTC(l.y,l.m,l.d,l.md,l.M,l.S,l.L))} function dj(l){return{y:l,m:0,d:1,md:0,M:0,S:0,L:0}} function ID(l){function h(Ia,Ta){return function(Ga){var Na=[],$c=-1,yd=0,Ed=Ia.length,pd,ue;for(Ga instanceof Date||(Ga=new Date(+Ga));++$cNa.sg||53=Ed)return-1;pd=Ta.charCodeAt($c++);if(37===pd){if(pd=Ta.charAt($c++),pd=Rc[pd in jw?Ta.charAt($c++):pd],!pd||0>(Na=pd(Ia,Ga,Na)))return-1}else if(pd!=Ga.charCodeAt(Na++))return-1}return Na} var x=l.dateTime,z=l.date,A=l.time,la=l.periods,oa=l.days,ra=l.shortDays,qa=l.months,pa=l.shortMonths,wa=ej(la),Da=fj(la),Ha=ej(oa),jc=fj(oa),eb=ej(ra),Pc=fj(ra),Uc=ej(qa),tc=fj(qa),Oc=ej(pa),bd=fj(pa),Qc={a:function(Ia){return ra[Ia.getDay()]},A:function(Ia){return oa[Ia.getDay()]},b:function(Ia){return pa[Ia.getMonth()]},B:function(Ia){return qa[Ia.getMonth()]},c:null,d:lw,e:lw,f:JD,H:KD,I:LD,j:MD,L:mw,m:ND,M:OD,p:function(Ia){return la[+(12<=Ia.getHours())]},Q:nw,s:ow,S:PD,u:QD,U:RD,V:SD,w:TD,W:UD,x:null,X:null,y:VD,Y:WD,Z:XD,"%":pw},Ma={a:function(Ia){return ra[Ia.getUTCDay()]},A:function(Ia){return oa[Ia.getUTCDay()]},b:function(Ia){return pa[Ia.getUTCMonth()]},B:function(Ia){return qa[Ia.getUTCMonth()]},c:null,d:qw,e:qw,f:YD,H:ZD,I:$D,j:aE,L:rw,m:bE,M:cE,p:function(Ia){return la[+(12<=Ia.getUTCHours())]},Q:nw,s:ow,S:dE,u:eE,U:fE,V:gE,w:hE,W:iE,x:null,X:null,y:jE,Y:kE,Z:lE,"%":pw},Rc={a:function(Ia,Ta,Ga){return(Ta=eb.exec(Ta.slice(Ga)))?(Ia.w=Pc[Ta[0].toLowerCase()],Ga+Ta[0].length):-1},A:function(Ia,Ta,Ga){return(Ta=Ha.exec(Ta.slice(Ga)))?(Ia.w=jc[Ta[0].toLowerCase()],Ga+Ta[0].length):-1},b:function(Ia,Ta,Ga){return(Ta=Oc.exec(Ta.slice(Ga)))?(Ia.m=bd[Ta[0].toLowerCase()],Ga+Ta[0].length):-1},B:function(Ia,Ta,Ga){return(Ta=Uc.exec(Ta.slice(Ga)))?(Ia.m=tc[Ta[0].toLowerCase()],Ga+Ta[0].length):-1},c:function(Ia,Ta,Ga){return u(Ia,x,Ta,Ga)},d:sw,e:sw,f:mE,H:tw,I:tw,j:nE,L:oE,m:pE,M:qE,p:function(Ia,Ta,Ga){return(Ta=wa.exec(Ta.slice(Ga)))?(Ia.p=Da[Ta[0].toLowerCase()],Ga+Ta[0].length):-1},Q:rE,s:sE,S:tE,u:uE,U:vE,V:wE,w:xE,W:yE,x:function(Ia,Ta,Ga){return u(Ia,z,Ta,Ga)},X:function(Ia,Ta,Ga){return u(Ia,A,Ta,Ga)},y:zE,Y:AE,Z:BE,"%":CE};Qc.x=h(z,Qc);Qc.X=h(A,Qc);Qc.c=h(x,Qc);Ma.x=h(z,Ma);Ma.X=h(A,Ma);Ma.c=h(x,Ma);return{format:function(Ia){var Ta=h(Ia+="",Qc);Ta.toString=function(){return Ia};return Ta},parse:function(Ia){var Ta=p(Ia+="",HD);Ta.toString=function(){return Ia};return Ta},utcFormat:function(Ia){var Ta=h(Ia+="",Ma);Ta.toString=function(){return Ia};return Ta},utcParse:function(Ia){var Ta=p(Ia,ol);Ta.toString=function(){return Ia};return Ta}}} function sd(l,h,p){var u=0>l?"-":"";l=(u?-l:l)+"";var x=l.length;return u+(x=l?-ql:Math.asin(l)} function KE(l){return l.innerRadius} function LE(l){return l.outerRadius} function ME(l){return l.startAngle} function NE(l){return l.endAngle} function OE(l){return l&&l.padAngle} function rl(l,h,p,u,x,z,A){var la=l-p,oa=h-u;A=(A?z:-z)/Mh(la*la+oa*oa);oa*=A;la*=-A;var ra=l+oa,qa=h+la,pa=p+oa,wa=u+la;p=(ra+pa)/2;u=(qa+wa)/2;h=pa-ra;l=wa-qa;A=h*h+l*l;z=x-z;wa=ra*wa-pa*qa;var Da=(0>l?-1:1)*Mh(PE(0,z*z*A-wa*wa));ra=(wa*l-h*Da)/A;qa=(-wa*h-l*Da)/A;pa=(wa*l+h*Da)/A;h=(-wa*h+l*Da)/A;l=ra-p;A=qa-u;p=pa-p;u=h-u;l*l+A*A>p*p+u*u&&(ra=pa,qa=h);return{cx:ra,cy:qa,kd:-oa,ld:-la,Vd:ra*(x/z-1),Wd:qa*(x/z-1)}} function xw(l){this.Fa=l} function sl(l){return new xw(l)} function yw(l){return l[0]} function zw(l){return l[1]} function Aw(){function l(la){var oa,ra=la.length,qa,pa=!1,wa;null==x&&(A=z(wa=el()));for(oa=0;oa<=ra;++oa)!(oal?1:h>=l?0:NaN} function RE(l){return l} function Bw(l){this.Ge=l} function Cw(l,h,p){l.Fa.bezierCurveTo((2*l.Qa+l.Aa)/3,(2*l.Ra+l.Ea)/3,(l.Qa+2*l.Aa)/3,(l.Ra+2*l.Ea)/3,(l.Qa+4*l.Aa+h)/6,(l.Ra+4*l.Ea+p)/6)} function Dw(l){this.Fa=l} function Ew(l,h,p){l.Fa.bezierCurveTo(l.Aa+l.ug*(l.Ie-l.Qa),l.Ea+l.ug*(l.Je-l.Ra),l.Ie+l.ug*(l.Aa-h),l.Je+l.ug*(l.Ea-p),l.Ie,l.Je)} function Fw(l,h){this.Fa=l;this.ug=(1-h)/6} function Gw(l,h,p){var u=l.Aa-l.Qa;h-=l.Aa;var x=(l.Ea-l.Ra)/(u||0>h&&-0);l=(p-l.Ea)/(h||0>u&&-0);return((0>x?-1:1)+(0>l?-1:1))*Math.min(Math.abs(x),Math.abs(l),.5*Math.abs((x*h+l*u)/(u+h)))||0} function Hw(l,h){var p=l.Aa-l.Qa;return p?(3*(l.Ea-l.Ra)/p-h)/2:h} function ip(l,h,p){var u=l.Qa,x=l.Aa,z=l.Ea,A=(x-u)/3;l.Fa.bezierCurveTo(u+A,l.Ra+A*h,x-A,z-A*p,x,z)} function tl(l){this.Fa=l} function Iw(l){this.Fa=new Jw(l)} function Jw(l){this.Fa=l} function Kw(l){this.Fa=l} function Lw(l){var h,p=l.length-1,u=Array(p),x=Array(p),z=Array(p);u[0]=0;x[0]=2;z[0]=l[0]+2*l[1];for(h=1;harguments.length)for(;++zthis.Zd.indexOf(l)&&(this.Zd.push(l),this.Ti.setAttribute("class",this.Zd.join(" ")))},remove:function(l){l=this.Zd.indexOf(l);0<=l&&(this.Zd.splice(l,1),this.Ti.setAttribute("class",this.Zd.join(" ")))},contains:function(l){return 0<=this.Zd.indexOf(l)}};var wv={};Kj=null;"undefined"!==typeof document&&("onmouseenter"in document.documentElement||(wv={mouseenter:"mouseover",mouseleave:"mouseout"}));var xv=[null];Ra.prototype=Za.prototype={constructor:Ra,select:function(l){"function"!==typeof l&&(l=ya(l));for(var h=this.mb,p=h.length,u=Array(p),x=0;x=pa&&(pa=qa+1);!(Pc=eb[pa])&&++paarguments.length){var u=this.node();return p.local?u.getAttributeNS(p.space,p.local):u.getAttribute(p)}return this.each((null==h?p.local?Wa:Qa:"function"===typeof h?p.local?Gb:Fb:p.local?Eb:Db)(p,h))},style:function(l,h,p){return 1arguments.length){for(var u=fb(this.node()),x=-1,z=p.length;++xarguments.length){var A=this.node().__on;if(A)for(var la=0,oa=A.length,ra;la=this.r&&0<=this.g&&255>=this.g&&0<=this.b&&255>=this.b&&0<=this.opacity&&1>=this.opacity},hex:function(){return"#"+ib(this.r)+ib(this.g)+ib(this.b)},toString:function(){var l=this.opacity;l=isNaN(l)?1:Math.max(0,Math.min(1,l));return(1===l?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===l?")":", "+l+")")}}));ab(Ua,jb,bb(Xa,{brighter:function(l){l=null==l?Nh:Math.pow(Nh,l);return new Ua(this.h,this.s,this.l*l,this.opacity)},darker:function(l){l=null==l?.7:Math.pow(.7,l);return new Ua(this.h,this.s,this.l*l,this.opacity)},rgb:function(){var l=this.h%360+360*(0>this.h),h=this.l,p=h+(.5>h?h:1-h)*(isNaN(l)||isNaN(this.s)?0:this.s);h=2*h-p;return new La(kb(240<=l?l-240:l+120,h,p),kb(l,h,p),kb(120>l?l+240:l-120,h,p),this.opacity)},displayable:function(){return(0<=this.s&&1>=this.s||isNaN(this.s))&&0<=this.l&&1>=this.l&&0<=this.opacity&&1>=this.opacity}}));var zv=Math.PI/180,Cv=180/Math.PI,Bv=4/29,Ih=6/29,Av=3*Ih*Ih,ZC=Ih*Ih*Ih;ab(Va,function(l,h,p,u){return 1===arguments.length?lb(l):new Va(l,h,p,null==u?1:u)},bb(Xa,{brighter:function(l){return new Va(this.l+18*(null==l?1:l),this.a,this.b,this.opacity)},darker:function(l){return new Va(this.l-18*(null==l?1:l),this.a,this.b,this.opacity)},rgb:function(){var l=(this.l+16)/116,h=isNaN(this.a)?l:l+this.a/500,p=isNaN(this.b)?l:l-this.b/200;h=.96422*nb(h);l=1*nb(l);p=.82521*nb(p);return new La(ob(3.1338561*h-1.6168667*l-.4906146*p),ob(-.9787684*h+1.9161415*l+.033454*p),ob(.0719453*h-.2289914*l+1.4052427*p),this.opacity)}}));ab(rb,qb,bb(Xa,{brighter:function(l){return new rb(this.h,this.c,this.l+18*(null==l?1:l),this.opacity)},darker:function(l){return new rb(this.h,this.c,this.l-18*(null==l?1:l),this.opacity)},rgb:function(){return lb(this).rgb()}}));var Dv=1.78277*-.29227-.1347134789;ab(sb,db,bb(Xa,{brighter:function(l){l=null==l?Nh:Math.pow(Nh,l);return new sb(this.h,this.s,this.l*l,this.opacity)},darker:function(l){l=null==l?.7:Math.pow(.7,l);return new sb(this.h,this.s,this.l*l,this.opacity)},rgb:function(){var l=isNaN(this.h)?0:(this.h+120)*zv,h=+this.l,p=isNaN(this.s)?0:this.s*h*(1-h),u=Math.cos(l);l=Math.sin(l);return new La(255*(h+p*(-.14861*u+1.78277*l)),255*(h+p*(-.29227*u+-.90649*l)),255*(h+1.97294*p*u),this.opacity)}}));var al=function p(h){function u(z,A){var la=x((z=cb(z)).r,(A=cb(A)).r),oa=x(z.g,A.g),ra=x(z.b,A.b),qa=Cb(z.opacity,A.opacity);return function(pa){z.r=la(pa);z.g=oa(pa);z.b=ra(pa);z.opacity=qa(pa);return z+""}} var x=Ac(h);u.gamma=p;return u}(1),JE=Gc(function(h){var p=h.length-1;return function(u){var x=0>=u?u=0:1<=u?(u=1,p-1):Math.floor(u*p),z=h[x],A=h[x+1];return lc((u-x/p)*p,0(u%=1)?++u:u)*p);return lc((u-x/p)*p,h[(x+p-1)%p],h[x%p],h[(x+1)%p],h[(x+2)%p])}});var Po=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Qo=new RegExp(Po.source,"g"),Ev=180/Math.PI,jp={Ii:0,Ji:0,rotate:0,skewX:0,bi:1,ci:1},ij,kp,Nw,vl,TE=wc(function(h){if("none"===h)return jp;ij||(ij=document.createElement("DIV"),kp=document.documentElement,Nw=document.defaultView);ij.style.transform=h;h=Nw.getComputedStyle(kp.appendChild(ij),null).getPropertyValue("transform");kp.removeChild(ij);h=h.slice(7,-1).split(",");return vc(+h[0],+h[1],+h[2],+h[3],+h[4],+h[5])},"px, ","px)","deg)"),UE=wc(function(h){if(null== h)return jp;vl||(vl=document.createElementNS("http://www.w3.org/2000/svg","g"));vl.setAttribute("transform",h);if(!(h=vl.transform.baseVal.consolidate()))return jp;h=h.matrix;return vc(h.a,h.b,h.c,h.d,h.e,h.f)},", ",")",")");xc(rc);xc(Cb);yc(rc);yc(Cb);tb(rc);var lp=tb(Cb),Jh=0,Zi=0,aj=0,dl,$i,cl=0,Mg=0,bl=0,Yi="object"===typeof performance&&performance.now?performance:Date,Fv="object"===typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(h){setTimeout(h,17)};Jg.prototype=Li.prototype={constructor:Jg,restart:function(h,p,u){if("function"!==typeof h)throw new TypeError("callback is not a function");u=(null==u?Ig():+u)+(null==p?0:+p);this.Rc||$i===this||($i?$i.Rc=this:dl=this,$i=this);this.Af=h;this.Cf=u;yf()},stop:function(){this.Af&&(this.Af=null,this.Cf=Infinity,yf())}};var $C=t("start","end","interrupt"),aD=[],VE=Za.prototype.constructor,Ow=0,Oh=Za.prototype;Ff.prototype=function(h){return Za().transition(h)}.prototype={constructor:Ff,select:function(h){var p=this.He,u=this.Tb;"function"!==typeof h&&(h=ya(h));for(var x=this.mb,z=x.length,A=Array(z),la=0;laarguments.length?je(this.node(),u).on.on(h):this.each($d(u,h,p))},attr:function(h,p){var u=na(h),x="transform"===u?UE:fd;return this.attrTween(h,"function"===typeof p?(u.local?Rk:Qk)(u,x,oc(this,"attr."+h,p)):null==p?(u.local?hd:Vc)(u):(u.local?Ah:za)(u,x,p+""))},attrTween:function(h,p){var u="attr."+h;if(2>arguments.length)return(u=this.tween(u))&&u.xg;if(null==p)return this.tween(u,null);if("function"!==typeof p)throw Error();var x=na(h);return this.tween(u,(x.local?oo:Kd)(x,p))},style:function(h,p,u){var x="transform"===(h+="")?TE:fd;return null==p?this.styleTween(h,Bh(h,x)).on("end.style."+h,ee(h)):this.styleTween(h,"function"===typeof p?bD(h,x,oc(this,"style."+h,p)):qo(h,x,p+""),u)},styleTween:function(h,p,u){var x="style."+(h+="");if(2>arguments.length)return(x=this.tween(x))&&x.xg;if(null==p)return this.tween(x,null);if("function"!==typeof p)throw Error();return this.tween(x,cD(h,p,null==u?"":u))},text:function(h){return this.tween("text","function"===typeof h?eD(oc(this,"text",h)):dD(null==h?"":h+""))},remove:function(){return this.on("end.remove",ag(this.Tb))},tween:function(h,p){var u=this.Tb;h+="";if(2>arguments.length){u=je(this.node(),u).tween;for(var x=0,z=u.length,A;x=(h*=2)?h*h*h:(h-=2)*h*h+2)/2}};Za.prototype.interrupt=function(h){return this.each(function(){var p=h,u=this.Cd,x,z=!0,A;if(u){p=null==p?null:p+"";for(A in u)if((x=u[A]).name!==p)z=!1;else{var la=2x.state;x.state=6;x.timer.stop();la&&x.on.call("interrupt",this,this.__data__,x.index,x.group);delete u[A]}z&&delete this.Cd}})};Za.prototype.transition=function(h){var p;if(h instanceof Ff){var u=h.Tb;h=h.He}else u=++Ow,(p=mp).time=Ig(),h=null==h?null:h+"";for(var x=this.mb,z=x.length,A=0;Az)throw Error("negative radius: "+z);if(null===this.Aa)this.Ga+="M"+(this.Aa=h)+","+(this.Ea=p);else if(1E-6 qa*x)+","+(this.Aa=h+wa*oa)+","+(this.Ea=p+wa*ra)}else this.Ga+="L"+(this.Aa=h)+","+(this.Ea=p)},arc:function(h,p,u,x,z,A){h=+h;p=+p;u=+u;var la=u*Math.cos(x),oa=u*Math.sin(x),ra=h+la,qa=p+oa,pa=1^A;x=A?x-z:z-x;if(0>u)throw Error("negative radius: "+u);if(null===this.Aa)this.Ga+="M"+ra+","+qa;else if(1E-6x&&(x=x%op+op),x>WE?this.Ga+="A"+u+","+u+",0,1,"+pa+","+(h-la)+","+(p-oa)+"A"+u+","+u+",0,1,"+pa+","+(this.Aa=ra)+","+(this.Ea=qa):1E-6=np)+","+pa+","+(this.Aa=h+u*Math.cos(z))+ ","+(this.Ea=p+u*Math.sin(z))))},rect:function(h,p,u,x){this.Ga+="M"+(this.Qa=this.Aa=+h)+","+(this.Ra=this.Ea=+p)+"h"+ +u+"v"+ +x+"h"+-u+"Z"},toString:function(){return this.Ga}};fl.prototype=gl.prototype={constructor:fl,has:function(h){return" "+h in this},get:function(h){return this[" "+h]},set:function(h,p){this[" "+h]=p;return this},remove:function(h){h=" "+h;return h in this&&delete this[h]},clear:function(){for(var h in this)" "===h[0]&&delete this[h]},keys:function(){var h=[],p;for(p in this)" "===p[0]&&h.push(p.slice(1));return h},values:function(){var h=[],p;for(p in this)" "===p[0]&&h.push(this[p]);return h},entries:function(){var h=[],p;for(p in this)" "===p[0]&&h.push({key:p.slice(1),value:this[p]});return h},size:function(){var h=0,p;for(p in this)" "===p[0]&&++h;return h},empty:function(){for(var h in this)if(" "===h[0])return!1;return!0},each:function(h){for(var p in this)" "===p[0]&&h(this[p],p.slice(1),this)}};var Qg=gl.prototype;hl.prototype=function(h,p){var u=new hl;if(h instanceof hl)h.each(function(A){u.add(A)});else if(h){var x=-1,z=h.length;if(null==p)for(;++xz;++z)if(x=p.source[z])x.length?u.push({source:x,target:p.target[z]=Array(4)}):p.target[z]=Lv(x);return h};ge.add=function(h){var p=+this.Ab.call(null,h),u=+this.Eb.call(null,h);return Kv(this.cover(p,u),p,u,h)};ge.addAll=function(h){var p,u,x=h.length,z,A,la=Array(x),oa=Array(x),ra=Infinity,qa=Infinity,pa=-Infinity,wa=-Infinity;for(u=0;upa&&(pa=z),Awa&&(wa=A));pah||h>z||x>p||p>A){var la=z-u,oa=this.tb,ra;switch(ra=(p<(x+A)/2)<<1|h<(u+z)/2){case 0:do{var qa=Array(4);qa[ra]=oa;oa=qa}while(la*=2,z=u+la,A=x+la,h>z||p>A);break;case 1:do qa=Array(4),qa[ra]=oa,oa=qa;while(la*=2,u=z-la,A=x+la,u>h||p>A);break;case 2:do qa=Array(4),qa[ra]=oa,oa=qa;while(la*=2,z=u+la,x=A-la,h>z||x>p);break;case 3:do qa= Array(4),qa[ra]=oa,oa=qa;while(la*=2,u=z-la,x=A-la,u>h||x>p)}this.tb&&this.tb.length&&(this.tb=oa)}else return this;this.Qa=u;this.Ra=x;this.Aa=z;this.Ea=A;return this};ge.data=function(){var h=[];this.visit(function(p){if(!p.length){do h.push(p.data);while(p=p.next)}});return h};ge.extent=function(h){return arguments.length?this.cover(+h[0][0],+h[0][1]).cover(+h[1][0],+h[1][1]):isNaN(this.Qa)?void 0:[[this.Qa,this.Ra],[this.Aa,this.Ea]]};ge.find=function(h,p,u){var x=this.Qa,z=this.Ra,A,la,oa,ra,qa=this.Aa,pa=this.Ea,wa=[],Da=this.tb,Ha;Da&&wa.push(new fe(Da,x,z,qa,pa));null==u?u=Infinity:(x=h-u,z=p-u,qa=h+u,pa=p+u,u*=u);for(;Ha=wa.pop();)if(!(!(Da=Ha.node)||(A=Ha.x0)>qa||(la=Ha.y0)>pa||(oa=Ha.x1)=jc)<<1|h>=Ha)Ha=wa[wa.length-1],wa[wa.length-1]=wa[wa.length- 1-Da],wa[wa.length-1-Da]=Ha}else if(Ha=h-+this.Ab.call(null,Da.data),jc=p-+this.Eb.call(null,Da.data),Ha=Ha*Ha+jc*jc,Ha=(pa=(z+la)/2))?z=pa:la=pa;(Ha=qa>=(wa=(A+oa)/2))?A=wa:oa=wa;if(!(p=u,u=u[jc=Ha<<1|Da]))return this;if(!u.length)break;if(p[jc+1&3]||p[jc+2&3]||p[jc+3&3]){var eb=p;var Pc=jc}}for(;u.data!==h;)if(!(x=u,u=u.next))return this;(h=u.next)&&delete u.next;if(x)return h?x.next=h:delete x.next,this;if(!p)return this.tb=h,this;h?p[jc]=h:delete p[jc];(u=p[0]||p[1]||p[2]||p[3])&&u===(p[3]||p[2]||p[1]||p[0])&&!u.length&&(eb?eb[Pc]=u:this.tb=u);return this};ge.removeAll=function(h){for(var p=0,u=h.length;p=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;jl.prototype=Vo.prototype;Vo.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(null==this.width?"":Math.max(1,this.width|0))+(this.comma?",":"")+(null==this.precision?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};var Pv,Qv={"%":function(h,p){return(100*h).toFixed(p)},b:function(h){return Math.round(h).toString(2)},c:function(h){return h+""},d:function(h){return Math.round(h).toString(10)},e:function(h,p){return h.toExponential(p)},f:function(h,p){return h.toFixed(p)},g:function(h,p){return h.toPrecision(p)},o:function(h){return Math.round(h).toString(8)},p:function(h,p){return Mv(100*h,p)},r:Mv,s:function(h,p){var u=il(h,p);if(!u)return h+"";var x=u[0];u=u[1];u=u-(Pv=3*Math.max(-8,Math.min(8,Math.floor(u/3))))+1;var z=x.length;return u===z?x:u>z?x+Array(u-z+1).join("0"):0Ld;hg*=Rw;rp.add(Xv(hg*tp*ae(up),Qw*jj+hg*De(up)));Ia+=zl?Ph+tp*ZE:Ph;zl^pd>=Qc^sp>=Qc&&(Ed=Tv(Sv(Ed),Sv(yl)),Uv(Ed),pd=Tv(Ma,Ed),Uv(pd),pd=(zl^0<=Ph?-1:1)*kl(pd[2]),Rc>pd||Rc===pd&&(Ed[0]||Ed[1]))&&(Ta+=zl^0<=Ph?1:-1)}}bd=(-1E-6>Ia||1E-6>Ia&&-1E-6>rp)^Ta&1;Uc.length?(eb||(z.polygonStart(),eb=!0),qD(Uc,sD,bd,u,z)):bd&&(eb||(z.polygonStart(),eb=!0),z.lineStart(),u(null,null,1,z),z.lineEnd());eb&&(z.polygonEnd(),eb=!1);Uc=Pc=null},sphere:function(){z.polygonStart();z.lineStart();u(null,null,1,z);z.lineEnd();z.polygonEnd()}};return Oc}})(function(){return!0},function(h){var p=NaN,u=NaN,x=NaN,z;return{lineStart:function(){h.lineStart();z=1},point:function(A,la){var oa=0gg(ra-Ld))h.point(p,u=0<(u+la)/2?Ce:-Ce),h.point(x,u),h.lineEnd(),h.lineStart(),h.point(oa,u),h.point(A,u),z=0;else if(x!==oa&&ra>=Ld){1E-6>gg(p-x)&&(p-=1E-6*x);1E-6>gg(A-oa)&&(A-=1E-6*oa);ra=p;var qa=u,pa=A,wa,Da,Ha=ae(ra-pa);u=1E-6h?Ld:Math.acos(h))&&h/ae(h)}).invert=bj(function(h){return h});ll(3);bj(qp);bj(kl);bj(function(h){return 2*qp(h)});cj.prototype=Yv.prototype={constructor:cj,count:function(){return this.eachAfter(tD)},each:function(h){var p,u=[this],x;do{var z=u.reverse();for(u=[];p=z.pop();)if(h(p),p=p.children){var A=0;for(x=p.length;Ap&&(p+=36E5);h.setTime(36E5*Math.floor((+h-p)/36E5)+p)},function(h,p){h.setTime(+h+36E5*p)},function(h,p){return(p-h)/36E5},function(h){return h.getHours()}),fp=Rd(function(h){h.setHours(0,0,0,0)},function(h,p){h.setDate(h.getDate()+p)},function(h,p){return(p-h-6E4*(p.getTimezoneOffset()-h.getTimezoneOffset()))/864E5},function(h){return h.getDate()-1}),uw=Ng(0),ep=Ng(1);Ng(2);Ng(3);var gp=Ng(4);Ng(5);Ng(6);var cF=Rd(function(h){h.setDate(1);h.setHours(0,0,0,0)},function(h,p){h.setMonth(h.getMonth()+p)},function(h,p){return p.getMonth()-h.getMonth()+12*(p.getFullYear()-h.getFullYear())},function(h){return h.getMonth()}),Pg=Rd(function(h){h.setMonth(0,1);h.setHours(0,0,0,0)},function(h,p){h.setFullYear(h.getFullYear()+p)},function(h,p){return p.getFullYear()-h.getFullYear()},function(h){return h.getFullYear()});Pg.every=function(h){return isFinite(h=Math.floor(h))&&0this.ae&&2===this.Oa&&this.Fa.lineTo(this.Ab,this.Eb);(this.Ha||0!==this.Ha&&1===this.Oa)&&this.Fa.closePath();0<=this.Ha&&(this.ae=1-this.ae,this.Ha=1-this.Ha)},point:function(p,u){p=+p;u=+u;switch(this.Oa){case 0:this.Oa=1;this.Ha?this.Fa.lineTo(p,u):this.Fa.moveTo(p,u);break;case 1:this.Oa=2;default:if(0>=this.ae)this.Fa.lineTo(this.Ab,u),this.Fa.lineTo(p,u);else{var x=this.Ab*(1-this.ae)+p*this.ae;this.Fa.lineTo(x,this.Eb);this.Fa.lineTo(x,u)}}this.Ab=p;this.Eb=u}};gj.prototype={constructor:gj,scale:function(p){return 1===p?this:new gj(this.k*p,this.x,this.y)},translate:function(p,u){return 0===p&0===u?this:new gj(this.k,this.x+this.k*p,this.y+this.k*u)},apply:function(p){return[p[0]*this.k+this.x,p[1]*this.k+this.y]},applyX:function(p){return p*this.k+this.x},applyY:function(p){return p*this.k+this.y},invert:function(p){return[(p[0]-this.x)/this.k,(p[1]-this.y)/this.k]},invertX:function(p){return(p-this.x)/this.k},invertY:function(p){return(p-this.y)/this.k},rescaleX:function(p){return p.copy().domain(p.range().map(this.invertX,this).map(p.invert,p))},rescaleY:function(p){return p.copy().domain(p.range().map(this.invertY,this).map(p.invert,p))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};new gj(1,0,0);vj=b;Gx=function(p,u){return up?1:u>=p?0:NaN};Ui=function(p,u){var x=p.length,z=-1,A,la,oa;if(null==u)for(;++z=A)for(la=oa=A;++zA&&(la=A),oa=A)for(la=oa=A;++zA&&(la=A),oa=A)for(la=A;++zla&&(la=A)}else for(;++z=A)for(la=A;++zla&&(la=A);return la};Ks=function(p,u){var x=p.length,z=-1,A,la;if(null==u)for(;++z=A)for(la=A;++zA&&(la=A)}else for(;++z=A)for(la=A;++zA&&(la=A);return la};PA=function(p,u){var x=p.length,z=-1,A,la=0;if(null==u)for(;++zHa;qa||(qa=pa=el());if(DaAl-1E-12)qa.moveTo(Da*Rg(Ha),Da*df(Ha)),qa.arc(0,0,Da,Ha,jc,!Pc),1E-12Na?lj:Math.acos(Na))/2);eb=Mh(Ga[0]*Ga[0]+Ga[1]*Ga[1]);Ga=wp(Ta,(wa-eb)/(Na-1));Na=wp(Ta,(Da-eb)/(Na+1))}}1E-12=bd;--Ha)pa.point(tc[Ha],Oc[Ha]);pa.lineEnd();pa.areaEnd()}Pc&&(tc[Da]=+x(eb,Da,wa),Oc[Da]=+A(eb,Da,wa),pa.point(z?+z(eb,Da,wa):tc[Da],la?+la(eb,Da,wa):Oc[Da]))}if(Uc)return pa=null,Uc+""||null} function u(){return Aw().defined(oa).curve(qa).context(ra)} var x=yw,z=null,A=td(0),la=zw,oa=td(!0),ra=null,qa=sl,pa=null;p.x=function(wa){return arguments.length?(x="function"===typeof wa?wa:td(+wa),z=null,p):x};p.x0=function(wa){return arguments.length?(x="function"===typeof wa?wa:td(+wa),p):x};p.x1=function(wa){return arguments.length?(z=null==wa?null:"function"===typeof wa?wa:td(+wa),p):z};p.y=function(wa){return arguments.length?(A="function"===typeof wa?wa:td(+wa),la=null,p):A};p.y0=function(wa){return arguments.length?(A="function"===typeof wa?wa:td(+wa),p):A};p.y1=function(wa){return arguments.length?(la=null==wa?null:"function"===typeof wa?wa:td(+wa),p):la};p.lineX0=p.lineY0=function(){return u().x(x).y(A)};p.lineY1=function(){return u().x(x).y(la)};p.lineX1=function(){return u().x(z).y(A)};p.defined=function(wa){return arguments.length?(oa="function"===typeof wa?wa:td(!!wa),p):oa};p.curve=function(wa){return arguments.length?(qa=wa,null!=ra&&(pa=qa(ra)),p):qa};p.context=function(wa){return arguments.length?(null==wa?ra=pa=null:pa=qa(ra=wa),p):ra};return p};Ry=Aw;qx=function(){function p(ra){var qa,pa=ra.length;var wa=0;var Da=Array(pa),Ha=Array(pa),jc=+A.apply(this,arguments);var eb=Math.min(Al,Math.max(-Al,la.apply(this,arguments)-jc));var Pc=Math.min(Math.abs(eb)/pa,oa.apply(this,arguments)),Uc=Pc*(0>eb?-1:1),tc;for(qa=0;qa=e;e++)c.push(new Date(b.getFullYear(),b.getMonth()+e));var f=new Map;a=Lc(a);for(b=a.next();!b.done;b=a.next()){var k=b.value;b=lg(mg(k,1))+"-"+lg(mg(k,2));var n=void 0;e=null!=(n=f.get(b))?n:0;n=void 0;k=null!=(n=pg(k,3))?n:0;f.set(b,e+k)}return c.map(function(r){return{month:r.getTime(),count:f.get(r.getFullYear()+"-"+(r.getMonth()+1))||0}})} function GF(a){var b=a.locale;a={};return iC("{{monthYear}}","
{{series.name}}: {{measure}}
").be((a.monthYear=function(){return(new Date(this.datum.month)).toLocaleDateString(b,{month:"long",year:"numeric"})},a)).Yi()} ;}).call(this); ");return null==a||null==a.sheet?Rg:en(a.sheet,void 0!=b?b:null,c)} function jn(a){a=Wg(""+a+"");return(new DOMParser).parseFromString(Ug(a),"text/html").body.children[0]} function gn(a,b){if(!a)return yg;var c=document.createElement("div").style;kn(a).forEach(function(e){var f=tf&&e in dn?e:e.replace(/^-(?:apple|css|epub|khtml|moz|mso?|o|rim|wap|webkit|xv)-(?=[a-z])/i,"");0!=f.lastIndexOf("--",0)&&0!=f.lastIndexOf("var",0)&&(e=$m(a,e),e=zm(f,e,b),null!=e&&an(c,f,e))});return new ug(c.cssText||"",tg)} function ln(a){var b=Array.from(Sm(Hm,a,"getElementsByTagName",["STYLE"])),c=nf(b,function(n){return cf(Wm(n).cssRules)});c=fn(c);for(var e=[],f=0;f"+a+""),ln(a),a=a.innerHTML);a=Wg(a);var c=document.createElement("template");if(rn&&"content"in c)bh(c,a),c=c.content;else{var e=document.implementation.createHTMLDocument("x");c=e.body;bh(e.body,a)}a=document.createTreeWalker(c,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT,null,!1);for(c=nn?new WeakMap:new pn;e=a.nextNode();){a:{var f=e;switch(Ym(f)){case 3:f= tn(this,f);break a;case 1:if("TEMPLATE"==Xm(f).toUpperCase())f=null;else{var k=Xm(f).toUpperCase();if(k in this.ka||"http://www.w3.org/1999/xhtml"!=bn(f))var n=null;else this.O[k]?n=document.createElement(k):(n=Yj(document,"SPAN"),this.ya&&Um(n,"data-sanitizer-original-tag",k.toLowerCase()));if(n){var r=n,t=Tm(f);if(null!=t)for(var y=0;k=t[y];y++)if(k.specified){var E=f;var ma=k;var na=ma.name;if(0==na.lastIndexOf("data-sanitizer-",0))ma=null;else{var ta=Xm(E);ma=ma.value;var ua={tagName:Ud(ta).toLowerCase(),attributeName:Ud(na).toLowerCase()},sa={th:void 0};"style"==ua.attributeName&&(sa.th=Vm(E));E=un(ta,na);E in this.v?(na=this.v[E],ma=na(ma,ua,sa)):(na=un(null,na),na in this.v?(na=this.v[na],ma=na(ma,ua,sa)):ma=null)}null!==ma&&Um(r,k.name,ma)}f=n}else f=null}break a;default:f=null}}if(f){if(1==Ym(f)&&c.set(e,f),e=Zm(e),k=!1,e)n=Ym(e),r=Xm(e).toLowerCase(),t=Zm(e),11!=n||t?"body"==r&&t&&(n=Zm(t))&&!Zm(n)&&(k=!0):k=!0,n=null,k||!e?n=b:1==Ym(e)&&(n=c.get(e)),n.content&&(n=n.content),n.appendChild(f)}else ak(e)}c.clear&& c.clear();return b};var vn={APPLET:!0,AUDIO:!0,BASE:!0,BGSOUND:!0,EMBED:!0,FORM:!0,IFRAME:!0,ISINDEX:!0,KEYGEN:!0,LAYER:!0,LINK:!0,META:!0,OBJECT:!0,SCRIPT:!0,SVG:!0,STYLE:!0,TEMPLATE:!0,VIDEO:!0};var wn={A:!0,ABBR:!0,ACRONYM:!0,ADDRESS:!0,AREA:!0,ARTICLE:!0,ASIDE:!0,B:!0,BDI:!0,BDO:!0,BIG:!0,BLOCKQUOTE:!0,BR:!0,BUTTON:!0,CAPTION:!0,CENTER:!0,CITE:!0,CODE:!0,COL:!0,COLGROUP:!0,DATA:!0,DATALIST:!0,DD:!0,DEL:!0,DETAILS:!0,DFN:!0,DIALOG:!0,DIR:!0,DIV:!0,DL:!0,DT:!0,EM:!0,FIELDSET:!0,FIGCAPTION:!0,FIGURE:!0,FONT:!0,FOOTER:!0,FORM:!0,H1:!0,H2:!0,H3:!0,H4:!0,H5:!0,H6:!0,HEADER:!0,HGROUP:!0,HR:!0,I:!0,IMG:!0,INPUT:!0,INS:!0,KBD:!0,LABEL:!0,LEGEND:!0,LI:!0,MAIN:!0,MAP:!0,MARK:!0,MENU:!0,METER:!0,NAV:!0,NOSCRIPT:!0,OL:!0,OPTGROUP:!0,OPTION:!0,OUTPUT:!0,P:!0,PRE:!0,PROGRESS:!0,Q:!0,S:!0,SAMP:!0,SECTION:!0,SELECT:!0,SMALL:!0,SOURCE:!0,SPAN:!0,STRIKE:!0,STRONG:!0,STYLE:!0,SUB:!0,SUMMARY:!0,SUP:!0,TABLE:!0,TBODY:!0,TD:!0,TEXTAREA:!0,TFOOT:!0,TH:!0,THEAD:!0,TIME:!0,TR:!0,TT:!0,U:!0,UL:!0,VAR:!0,WBR:!0};var xn={"ANNOTATION-XML":!0,"COLOR-PROFILE":!0,"FONT-FACE":!0,"FONT-FACE-SRC":!0,"FONT-FACE-URI":!0,"FONT-FACE-FORMAT":!0,"FONT-FACE-NAME":!0,"MISSING-GLYPH":!0};function yn(a){a=a||new zn;An(a);this.v=Vf(a.v);this.ka=Vf(a.Da);this.O=Vf(a.Ia);this.ya=a.ta;a.ka.forEach(function(b){if(0!=b.lastIndexOf("data-",0))throw new Sd('Only "data-" attributes allowed, got: %s.',[b]);if(0==b.lastIndexOf("data-sanitizer-",0))throw new Sd('Attributes with "%s" prefix are not allowed, got: %s.',["data-sanitizer-",b]);this.v["* "+b.toUpperCase()]=Bn},this);a.Ka.forEach(function(b){b=b.toUpperCase();if(-1==b.indexOf("-")||xn[b])throw new Sd("Only valid custom element tag names allowed, got: %s.",[b]);this.O[b]=!0},this);this.ta=a.O;this.ha=a.ya;this.N=null;this.oa=a.oa} Nd(yn,sn);function Cn(a){return function(b,c){b=Ud(b);return(c=a(b,c))&&"about:invalid#zClosurez"!=mg(c)?mg(c):null}} function zn(){this.v={};Qe([pm,qm],function(a){Sf(a).forEach(function(b){this.v[b]=Bn},this)},this);this.N={};this.ka=[];this.Ka=[];this.Da=Vf(vn);this.Ia=Vf(wn);this.ta=!1;this.La=qg;this.ma=this.ha=this.Oa=this.O=Nf;this.ya=null;this.na=this.oa=!1} function Dn(a,b){return function(c,e,f,k){c=a(c,e,f,k);return null==c?null:b(c,e,f,k)}} function En(a,b,c,e){a[c]&&!b[c]&&(a[c]=Dn(a[c],e))} function An(a){if(a.na)throw Error("HtmlSanitizer.Builder.build() can only be used once.");En(a.v,a.N,"* USEMAP",Fn);var b=Cn(a.La);["* ACTION","* CITE","* HREF"].forEach(function(e){En(this.v,this.N,e,b)},a);var c=Cn(a.O);["* LONGDESC","* SRC","LINK HREF"].forEach(function(e){En(this.v,this.N,e,c)},a);["* FOR","* HEADERS","* NAME"].forEach(function(e){En(this.v,this.N,e,Jd(Gn,this.Oa))},a);En(a.v,a.N,"A TARGET",Jd(Hn,["_blank","_self"]));En(a.v,a.N,"* CLASS",Jd(In,a.ha));En(a.v,a.N,"* ID",Jd(Jn,a.ha));En(a.v,a.N,"* STYLE",Jd(a.ma,c));a.na=!0} function un(a,b){a||(a="*");return(a+" "+b).toUpperCase()} function Bn(a){return Ud(a)} function Hn(a,b){b=Ud(b);return 0<=Pe(a,b.toLowerCase())?b:null} function Fn(a){return(a=Ud(a))&&"#"==a.charAt(0)?a:null} function Gn(a,b,c){b=Ud(b);return a(b,c)} function In(a,b,c){b=b.split(/(?:\s+)/);for(var e=[],f=0;f")+1,a.lastIndexOf("/i)&&a.match(/<\/td>$/i)&&(b=b||"td",a=""+a+"");a.match(/^/i)&&a.match(/<\/tr>$/i)&&(b=b||"tr",a=""+a+"");a.match(/^<(tbody|thead|tfoot)>/i)&&a.match(/<\/(tbody|thead|tfoot)>$/i)&&(b=b||a.match(/^<(tbody|thead|tfoot)>/i)[1],a=""+a+"
");a=Tn(a);b&&(a=a.querySelector(b).parentNode);return a} function Sn(a,b){for(var c=[a],e=null;e=c.pop();)Array.prototype.forEach.call(e.childNodes,function(f){f.nodeType===Node.TEXT_NODE?Un(e,f,b):f.childNodes.length&&c.push(f)})} function Un(a,b,c){if(b.textContent.match(Vn)){var e=b.nextSibling;a.removeChild(b);b=b.textContent;for(var f=null,k=[];f=Vn.exec(b);){0e&&(a=f+".autoNamespace"+this.ha++);if(b){c&&(b=Id(b,c));var k=this.N[f];k||(k=[],this.N[f]=k);Ve(k,this.v[a]);this.v[a]=b;k.push(b);this.O.hasOwnProperty(f)}else if(f.length)b=this.v[a],Ve(this.N[f]||[],b),delete this.v[a];else if(1a.Ba?Math.floor(b*a.Ba):a.Ba,Ta:0a.Ta?Math.floor(b*a.Ta):a.Ta};a.Ta=Math.max(a.Ba,a.Ta);return a} function tp(a,b,c,e,f,k){var n=b.width-a.ka-a.na;a.oa=zp(n,b.width,b.height,yp(c,b.height),xp(a,[1,2]));a.ma=zp(n,b.width,b.height,yp(f,b.height),xp(a,[3,4]));c=b.height-a.oa-a.ma;f=xp(a,[3,4,1,2]);var r=0;for(n=0;nn){a=Cp(f);for(e=b=0;en-b-y.Ba.height&&y.Bc&&(y.lc.height=0),b+=y.lc.height;return qj(b,k,c)}if(rk){a=Cp(e);for(c=e=0;ck-e-t.Ba.width&&t.Bc&&(t.lc.width=0),e+=t.lc.width;return qj(e,f,b)}if(na,e=null!=b&&0b;if(null!=b&&(c&&e||!c&&!e)&&b=a.length?a:a.slice(0).sort(function(b,c){b=void 0!==b.Sc.Rf?b.Sc.Rf:20;c=void 0!==c.Sc.Rf?c.Sc.Rf:20;return b-c})} rp.prototype.setMargins=rp.prototype.Wc;rp.prototype.setMarginEnd=rp.prototype.Ik;rp.prototype.setMarginStart=rp.prototype.Lk;rp.prototype.setMarginLeft=rp.prototype.Jk;rp.prototype.setMarginBottom=rp.prototype.Hk;rp.prototype.setMarginRight=rp.prototype.Kk;rp.prototype.setMarginTop=rp.prototype.Mk;Md("aplos.chart.layout.DynamicLayout",rp);var Dp={Mq:"WARNING",ERROR:"ERROR"};Md("aplos.util.MessageSeverity",Dp);Dp.WARNING="WARNING";Dp.ERROR="ERROR";var Ep={Jq:"UNTIL_REMOVED",Iq:"UNTIL_DATA",hq:"ONCE"};Md("aplos.util.MessageDuration",Ep);Ep.UNTIL_REMOVED="UNTIL_REMOVED";Ep.UNTIL_FRESH_DATA="UNTIL_DATA";Ep.ONCE="ONCE";function Fp(a){this.v=a;this.N=!1} Fp.prototype.Bk=function(a){this.N=a};Fp.prototype.render=function(a){var b=a.filter(function(c){return"ERROR"===c.severity});b.length&&Gp(this,b);b.length||(b=Hp(this.v.Sa,Ip),b.empty()||(b.style("display","none"),b.selectAll("div."+Jp).remove(),this.v.kb.style("display","")));a=a.filter(function(c){return"WARNING"===c.severity});Kp(this,a)};function Gp(a,b){var c=Ip,e=Lp,f=a.v,k=f.Sa;f.kb.style("display","none");var n=Hp(k,c);n.empty()&&(n=k.append("div").classed(c,!0),n.append("div").classed(Mp,!0),n.append("div").classed(Np,!0));n.style("display",null);n.select("."+Np).attr("class",Np+" "+e);b=n.select("."+Mp).selectAll("div."+Jp).data(b);b.exit().remove();b=b.enter().append("div").merge(b);b.text(function(r){return r.message});a.N&&b.attr("tabindex",0);b.attr("class",function(r){return Jp+" "+Op+r.severity.toLowerCase()});n.style("position","absolute");a=(f.frameWidth()-n.node().offsetWidth)/2;f=(f.frameHeight()-n.node().offsetHeight)/2;a=Math.max(0,a);f=Math.max(0,f);n.style("left",a+"px");n.style("top",f+"px")} function Kp(a,b){var c=a.v.Sa.select("."+Pp);c.empty()&&(c=a.v.Sa.append("div").classed(Pp,!0));c.style("display",b.length?"":"none");c.classed(Qp,!0);var e="";b.forEach(function(f){e+=f.message+"\n"});c.attr("title",e.trim())} function Hp(a,b){b=a.selectAll("."+b).nodes();for(var c=null,e=0;e>>0);function jq(a){if("function"===typeof a)return a;a[rq]||(a[rq]=function(b){return a.handleEvent(b)});return a[rq]} ;var gi=kg("");function sq(){this.port=this.v=null;this.N=[]} sq.prototype.load=function(){var a=this,b=tq();this.v=uq(b);vq().then(function(){a.v&&document.body.appendChild(a.v)});return wq(this.v,b).then(function(c){for(a.port=c.ports[0];0\n
 
\n \n \n \n \n \n \n
"))));var r=vl.contentDocument,t=r.querySelector(n.tagName);t||(t=r.querySelector("div"));r=qk(t);t=qk(n);for(var y={},E=0;Ef?a[c++]=f:(2048>f?a[c++]=f>>6|192:(55296==(f&64512)&& e+1>18|240,a[c++]=f>>12&63|128):a[c++]=f>>12|224,a[c++]=f>>6&63|128),a[c++]=f&63|128);b=void 0;void 0===b&&(b=0);if(!Lf)for(Lf={},c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),e=["+/=","+/","-_=","-_.","-_"],f=0;5>f;f++)for(k=c.concat(e[f].split("")),Kf[f]=k,n=0;n>2],t=b[(t&3)<<4|y>>4],y=b[(y&15)<<2|r>>6],r=b[r&63],c[f++]=""+n+t+y+r;n=0;r=e;switch(a.length-k){case 2:n=a[k+1],r=b[(n&15)<<2]||e;case 1:a=a[k],c[f]=""+b[a>>2]+b[(a&3)<<4|n>>4]+r+e}a=c.join("")}return"data:image/svg+xml;base64,"+a};Zy.prototype.toSvgDataUrl=Zy.prototype.al;Zy.prototype.Xo=function(a){a=void 0===a?1:a;var b=document.createElement("canvas"),c=10*a;b.width=this.frameWidth()*a+2*c;b.height=this.frameHeight()*a+2*c;var e=new Image;e.src=this.al(a);var f=new Vy;e.onload=function(){this.onerror=this.onload=null;try{var k=b.getContext("2d");k.fillStyle="#FFF";k.fillRect(0,0,b.width,b.height);k.drawImage(e,c,c);f.Gf(b.toDataURL("image/png"))}catch(n){f.reject(n)}};e.onerror=function(){f.reject(Error("Svg image dataUrl failed to load"))};return f};Zy.prototype.toPngDataUrl=Zy.prototype.Xo;Zy.prototype.getStyle=function(){return this.Ii};function kz(a,b,c){kz.base(this,"constructor",af(a,["prelayout","postlayout"]),b,c);this.tf=this.Wd=null;this.Wc({top:40,end:20,start:20,bottom:20},{top:.333,end:.5,start:.5,bottom:.333})} Md("aplos.chart.SvgChartView",kz);Nd(kz,Zy);var lz=0;kz.prototype.redraw=kz.prototype.hf;kz.prototype.yd=function(){kz.Qb.yd.call(this);var a=this.Ye().node();a.setAttribute("width",this.frameWidth());a.setAttribute("height",this.frameHeight());this.kb.node().setAttribute("transform","translate("+this.Lb()+","+this.Mb()+")");this.Wd&&this.Wd.attr("width",this.Za()+1).attr("height",this.yb()+2)};kz.prototype.Ye=function(){return this.Po};kz.prototype.getSvg=kz.prototype.Ye;kz.prototype.Yo=function(){var a=this.Ye().node(),b=document.createElement("style"),c=Bk(a),e=qk(a);c.push("svg{font:"+e.fontStyle+" "+e.fontVariant+" "+e.fontWeight+" "+e.fontSize+" "+e.fontFamily+"}");b.textContent=c.join("\n");c=document.createElement("defs");c.appendChild(b);a.insertBefore(c,a.firstChild);b=(new XMLSerializer).serializeToString(a);a.removeChild(c);return b};kz.prototype.toSvgString=kz.prototype.Yo;kz.prototype.getNearestDatumDetails=kz.prototype.Jf;var mz=document.implementation.hasFeature("org.w3c.svg","1.0")||document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Structure","1.1"),az="aplos-chart-container",bz="aplos-chart-svg",cz="aplos-draw-area";function nz(a,b,c){var e=this;kz.call(this,af(a,"datumMouseover datumMouseout datumClick seriesMouseover seriesMouseout seriesClick".split(" ")),b,c);this.Sb=new ip(this);this.ta={};this.Xf={};this.Qk("hover",new po);this.ab=new oz;this.on("viewportChange.seriesChartView",function(){e.ab.reset()})} Nd(nz,kz);Md("aplos.chart.SeriesChartView",nz);nz.prototype.Qk=function(a,b){b.Xg("clearSelectedDatumDetailsCache",this.nl.bind(this));var c=this.Xf,e=io[a].selectionChange,f=this.Xa;f.O.hasOwnProperty(e)||oo(f,[e]);e=c[a];null!=e&&e.Xg("chartDelegate",null);c[a]=b;jz(this,b,a);return this};nz.prototype.setSelectionModel=nz.prototype.Qk;nz.prototype.Io=function(a){jp(this.Sb,a);return this};nz.prototype.setSeriesDefaults=nz.prototype.Io;nz.prototype.ub=function(a){return this.ta[a||"__aplosDefault__"]||this.ta.__aplosDefault__};nz.prototype.getRenderer=nz.prototype.ub;nz.prototype.An=function(a){return!!this.ta[a||"__aplosDefault__"]};nz.prototype.hasRenderer=nz.prototype.An;nz.prototype.ig=function(a,b){b?(b.type&&(b=this.getStyle().Aj(b)),this.ta[a]=b):delete this.ta[a];return this};nz.prototype.setRenderer=nz.prototype.ig;nz.prototype.hi=function(a){a.type&&(a=this.getStyle().Aj(a));this.ta.__aplosDefault__=a;return this};nz.prototype.setDefaultRenderer=nz.prototype.hi;nz.prototype.ei=function(a,b){a=this.Ig(a,!0);a=a.filter(function(c){return!c.series||!c.series.overlay});(this.Xf[ho[b]||"hover"]||null).Di(a.map(function(c){return{series:c.series?c.series:null,datum:c.datum}}));return a.length};nz.prototype.selectDatum=nz.prototype.ei;nz.prototype.oo=function(a){this.Xa.ob("seriesMouseover",this,a,Pj)};nz.prototype.selectSeries=nz.prototype.oo;nz.prototype.Kl=function(a){(this.Xf[ho[a]||"hover"]||null).deselectAll()};nz.prototype.clearSelections=nz.prototype.Kl;nz.prototype.Ig=function(a,b,c){var e=this.O||[],f=this.N||[];if(!e||!f)return[];if(Pj){var k=Oj(this.kb.node());var n=k[0];k=k[1]}for(var r=[],t=0;t