false
Search
Clear search
Close search
Google apps
Main menu
");return null==a||null==a.sheet?cba:cca(a.sheet,void 0!=b?b:null,c)} function Ni(a){a=$f(""+a+"");return(new DOMParser).parseFromString(Yf(a),"text/html").body.children[0]} function Mi(a,b){if(!a)return Qf;var c=document.createElement("div").style;Oi(a).forEach(function(e){var f=lc&&e in bca?e:e.replace(/^-(?:apple|css|epub|khtml|moz|mso?|o|rim|wap|webkit|xv)-(?=[a-z])/i,"");Ab(f,"--")||Ab(f,"var")||(e=Ji(a,e),e=Kba(f,e,b),null!=e&&Ki(c,f,e))}); return new Mf(c.cssText||"",Lf)} function eca(a){var b=Array.from(Di(Oba,a,"getElementsByTagName",["STYLE"])),c=vaa(b,function(k){return ec(Zba(k).cssRules)}); c=Li(c);for(var e=[],f=0;fma?1:lar?1:p"+b+""),eca(b),b=b.innerHTML);b=$f(b);var c=document.createElement("template");if(kca&&"content"in c)gg(c,b),c=c.content;else{var e=document.implementation.createHTMLDocument("x");c=e.body;gg(e.body,b)}b=document.createTreeWalker(c,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT,null,!1); for(c=ica?new WeakMap:new Pi;e=b.nextNode();){c:{var f=e;switch(Hi(f)){case 3:f=this.createTextNode(f);break c;case 1:if("TEMPLATE"==Gi(f).toUpperCase())f=null;else{var h=Gi(f).toUpperCase();if(h in this.oa||"http://www.w3.org/1999/xhtml"!=$ba(f))var k=null;else this.o[h]?k=document.createElement(h):(k=ki("SPAN"),this.ya&&Fi(k,"data-sanitizer-original-tag",h.toLowerCase()));if(k){var l=k,p=Ei(f);if(null!=p)for(var r=0;h=p[r];r++)if(h.specified){var u=f;var z=h;var la=z.name;if(Ab(la,"data-sanitizer-"))z= null;else{var ma=Gi(u);z=z.value;var qa={tagName:Db(ma).toLowerCase(),attributeName:Db(la).toLowerCase()},sa={Ww:void 0};"style"==qa.attributeName&&(sa.Ww=Yba(u));u=Zi(ma,la);u in this.i?(la=this.i[u],z=la(z,qa,sa)):(la=Zi(null,la),la in this.i?(la=this.i[la],z=la(z,qa,sa)):z=null)}null!==z&&Fi(l,h.name,z)}f=k}else f=null}break c;default:f=null}}if(f){if(1==Hi(f)&&c.set(e,f),e=Ii(e),h=!1,e)k=Hi(e),l=Gi(e).toLowerCase(),p=Ii(e),11!=k||p?"body"==l&&p&&(k=Ii(p))&&!Ii(k)&&(h=!0):h=!0,k=null,h||!e?k=a: 1==Hi(e)&&(k=c.get(e)),k.content&&(k=k.content),k.appendChild(f)}else oi(e)}c.clear&&c.clear()}else a=ki("SPAN");0")+1,a.lastIndexOf("=c.tabIndex?b:c})} ;var ej=[];function fj(){var a=this;this.oa=this.i=null;this.o=!1;this.ma=[];this.u=[];this.ua=function(b){if(a.i&&a.o){var c=bj(a.i),e=dj(c),f;e&&(f=xca(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()}}}} fj.prototype.init=function(a,b,c){c=void 0===c?!1:c;this.oa=b;if(this.i=a)this.i.addEventListener("keydown",this.ua),c&&gj(this)}; function hj(a,b){if(b||!1!==b&&!a.o)gj(a);else if(a.o){for(ij(a);0\n \n \n '))); e.addEventListener("click",function(){a.i.setMonth(a.i.getMonth()+-1);mj(a)}); c.appendChild(e);e=document.createElement("button");e.className="next";e.setAttribute("title","Next month");e.setAttribute("aria-label","Next month");e.appendChild(mi(rf('\n \n \n ')));e.addEventListener("click",function(){a.i.setMonth(a.i.getMonth()+1);mj(a)}); c.appendChild(e);c=document.createElement("tr");c.appendChild(b);return c} function Cca(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.va?e.toLocaleString(a.oa,{weekday:"narrow"}):"SMTWTFS"[e.getDay()];var h=a.va?e.toLocaleString(a.oa,{weekday:"long"}):nj[e.getDay()];ug(oj,c[e.getDay()],"aria-label",h);e.setDate(e.getDate()+1)}return b} function mj(a){a.ma.textContent=a.va?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.setAttribute("data-time",b.getTime());var k=!1;a.ua&&(k=a.ua.getTime()===b.getTime());h.textContent= b.getDate().toString();h.className="selectable";var l=nj[b.getDay()]+" "+b.getDate()+" "+a.ma.textContent;ug(oj,h,"aria-label",l);k&&ah(h,"selected",!0);f.appendChild(h)}else f.className="unselectable";c.appendChild(f);b.setDate(b.getDate()+1)}a.u.appendChild(c)}} function pj(a){return new Date(a.getFullYear(),a.getMonth(),1)} lj.prototype.Aa=function(a){this.ya=a}; lj.prototype.getElement=function(){return this.o}; var nj="Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),oj=[Ig(yca)];window.sc_createCalendar=function(a){a=new lj(a);return{setSelectDateCallback:a.Aa.bind(a),getElement:a.getElement.bind(a)}};function qj(a,b,c,e){this.ma=a;this.o=b;this.i=c;this.u=void 0===e?1:e} function rj(a){if(!a||"transparent"===a)return new qj(0,0,0,0);var b=a.match(/\.?\d+(\.\d+)?/g);if(3>b.length)throw Error("Could not parse '"+a+"' as a color.");b.length=4;return new (Function.prototype.bind.apply(qj,[null].concat(Ba(b.map(Number)))))} qj.prototype.getAlpha=function(){return this.u}; function Dca(a){var b=sj(a,Eca);a=sj(a,Fca);return 3.1>b&&a>b} var Fca=new qj(0,0,0),Eca=new qj(255,255,255);function sj(a,b){a=.2126*tj(a.ma)+.7152*tj(a.o)+.0722*tj(a.i)+.05;b=.2126*tj(b.ma)+.7152*tj(b.o)+.0722*tj(b.i)+.05;return Math.max(a,b)/Math.min(a,b)} function tj(a){a/=255;return.03928>a?a/12.92:Math.pow((a+.055)/1.055,2.4)} ;var Gca=new Map([["alt",[""]]]);/* SPDX-License-Identifier: Apache-2.0 */ var Hca=Object.prototype.hasOwnProperty;function uj(){} uj.prototype=Object.create(null);function vj(a,b){for(;a.length>b;)a.pop()} function wj(a){a=Array(a);vj(a,0);return a} ;var xj=new uj;xj.__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)}; xj.style=function(a,b,c){a=a.style;if("string"===typeof c)a.cssText=c;else{a.cssText="";for(var e in c)Hca.call(c,e)&&(b=c[e],0<=e.indexOf("-")?a.setProperty(e,b):a[e]=b)}}; function yj(a,b,c,e){(e[b]||e.__default)(a,b,c)} ;var zj=null;function Ica(a){this.created=[];this.deleted=[];this.node=a} ;var Jca="undefined"!==typeof Node&&Node.prototype.getRootNode||function(){for(var a=this,b=a;a;)b=a,a=a.parentNode;return b};function Kca(a,b){this.i=null;this.ma=!1;this.o=a;this.key=b;this.text=void 0} function Aj(a,b,c){b=new Kca(b,c);return a.__incrementalDOMData=b} function Bj(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=Aj(a,c,1===a.nodeType?e||b:null);if(1===a.nodeType&&(a=a.attributes,c=a.length)){e=b.i||(b.i=wj(c));for(var f=0,h=0;f\n \n \n\n'), "add.svg":rf('\n'),"add_ad.svg":rf('\n'), "add_box.svg":rf('\n'),"announcement.svg":rf('\n \n \n\n'), "arrow_back.svg":rf('\n \n \n\n'),"arrow_downward.svg":rf('\n'),"arrow_drop_down.svg":rf('\n'), "arrow_drop_up.svg":rf('\n'),"arrow_forward.svg":rf('\n'),"arrow_upward.svg":rf('\n'), "article.svg":rf('\n'),"attach_file.svg":rf('\n'), "auto_awesome.svg":rf('\n'),"awf.svg":rf('\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n'), "awf_dark.svg":rf('\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n'), "brand_awareness.svg":rf('\n \n\n'),"brand_awareness_dark.svg":rf('\n \n\n'), "calendar_today.svg":rf('\n'),"chat.svg":rf('\n \n \n\n'), "check.svg":rf('\n \n \n\n'),"check_circle.svg":rf('\n \n \n\n'), "check_circle_filled.svg":rf('\n \n \n \n \n\n'),"check_circle_outline.svg":rf('\n \n \n\n'), "close.svg":rf('\n \n \n\n'),"code.svg":rf('\n'),"content_copy.svg":rf('\n \n\n'), "control_point_duplicate.svg":rf('\n'), "delete.svg":rf('\n'),"delete_outline.svg":rf('\n'),"do_not_disturb.svg":rf('\n \n \n\n'), "down_arrow.svg":rf('\n \n \n\n'),"drive_document.svg":rf('\n \n \n\n'),"drive_image.svg":rf('\n \n \n\n'), "dvr.svg":rf('\n'),"email.svg":rf('\n \n \n\n'), "error.svg":rf('\n'),"error_outline.svg":rf('\n \n \n\n'), "event_available.svg":rf('\n \n \n\n'),"face.svg":rf('\n'), "fast_forward.svg":rf('\n'),"featured_video.svg":rf('\n'), "filter_list.svg":rf('\n \n\n'),"flag.svg":rf('\n'),"flag_filled.svg":rf('\n'), "format_bold.svg":rf('\n'),"format_clear.svg":rf('\n'), "format_indent_decrease.svg":rf('\n'),"format_indent_increase.svg":rf('\n'),"format_italic.svg":rf('\n'), "format_list_bulleted.svg":rf('\n'),"format_list_numbered.svg":rf('\n'), "format_quote.svg":rf('\n \n\n'),"format_underline.svg":rf('\n'), "forum.svg":rf('\n'),"help_guide.svg":rf('\n\n\n\n\n\n\n'), "help_guide_dark.svg":rf('\n\n\n\n\n\n\n'), "help_outline.svg":rf('\n \n \n\n'),"highlight_alt.svg":rf('\n'), "info.svg":rf('\n \n \n\n'),"info_filled.svg":rf('\n'), "keep_pin_outline.svg":rf('\n \n \n\n'),"keyboard_arrow_up.svg":rf('\n \n \n\n'),"label.svg":rf('\n \n \n\n'), "label_off.svg":rf('\n \n \n\n'), "language.svg":rf('\n'), "lightbulb.svg":rf('\n'),"link.svg":rf('\n'), "list_alt.svg":rf('\n\n \n\n'), "list_alt_dark.svg":rf('\n \n\n'), "lock.svg":rf('\n \n \n \n\n'),"lock_open.svg":rf('\n \n \n \n\n'), "mail_outline.svg":rf('\n'),"maximize.svg":rf('\n'),"minimize.svg":rf('\n'), "mode_edit.svg":rf('\n \n \n\n'),"more_vert.svg":rf('\n \n \n\n'), "navigate_before.svg":rf('\n'),"navigate_next.svg":rf('\n'),"notifications.svg":rf('\n'), "open_in_new.svg":rf('\n'),"phone.svg":rf('\n \n \n\n'), "play_arrow.svg":rf('\n \n \n\n'),"play_circle.svg":rf('\n \n \n\n'),"priority.svg":rf('\n \n\n'), "public.svg":rf('\n \n \n\n'),"question_answer.svg":rf('\n \n \n\n'), "remove_circle_outline.svg":rf('\n \n \n\n'),"reply.svg":rf('\n \n\n'),"reply_modern.svg":rf('\n'), "restart_alt.svg":rf('\n \n \n\n'),"schedule.svg":rf('\n \n\n'), "screenshot_monitor.svg":rf('\n'), "search.svg":rf('\n \n \n\n'),"send.svg":rf('\n'), "sentiment_very_satisfied.svg":rf('\n'),"star.svg":rf('\n'), "star_boarder.svg":rf('\n'),"storefront.svg":rf('\n \n\n'), "supervised_user_circle.svg":rf('\n \n \n \n \n\n'), "text_format.svg":rf('\n'),"thumb_down_alt.svg":rf('\n'), "thumb_up.svg":rf('\n'),"thumb_up_alt.svg":rf('\n'), "translate.svg":rf('\n'),"undo.svg":rf('\n'), "unfold_more.svg":rf('\n'),"unpin.svg":rf('\n \n \n\n'), "video_youtube.svg":rf('\n'),"video_youtube_outline.svg":rf('\n \n \n\n'), "view_column.svg":rf('\n'),"visibility.svg":rf('\n \n \n\n'), "warning.svg":rf('\n \n \n\n'),"warning_filled.svg":rf('\n')};var Rca="arrow_back arrow_forward chevron_left chevron_right exit_to_app first_page format_quote last_page navigate_before navigate_next open_in_new star_half gm/arrow_back gm/arrow_forward gm/format_quote gm/help_outline gm/play_arrow gm/open_in_new gm/undo".split(" "); function sk(a){var b=a.icon,c=void 0===a.ariaLabel?"":a.ariaLabel,e=void 0===a.size?24:a.size,f=void 0===a.yb?!1:a.yb,h=void 0===a.Sd?[]:a.Sd,k=void 0===a.title?"":a.title;a=void 0===a.Lc?"rem":a.Lc;E.call(this,"sc.shared.MaterialIcon");this.icon=b;this.ariaLabel=c;this.size=e;this.Sd=h;this.yb=f;this.title=k;this.Lc=a} w(sk,E); sk.prototype.content=function(){var a=this,b=""+("rem"!==this.Lc?this.size:this.size/16)+this.Lc,c={root:!0,baseline:this.yb,flip:-1!==Rca.indexOf(this.icon)},e=0===this.icon.indexOf("gm/");e||(c["text-icon"]=!0);for(var f=t(this.Sd),h=f.next();!h.done;h=f.next())h=h.value,""!==h&&(c[h]=!0);e?this.element("div","class",c,"title",this.title,"role",""!==this.ariaLabel||""!==this.title?"img":"presentation","aria-label",""!==this.ariaLabel?this.ariaLabel:void 0,"style",{width:b,height:b},function(){dk(Qca[a.icon.replace("gm/","")+ ".svg"])}):this.element("div","class",c,"title",this.title,"role",""!==this.ariaLabel||""!==this.title?"img":"presentation","aria-label",""!==this.ariaLabel?this.ariaLabel:void 0,"style","font-size: "+b,this.icon)};var Sca=[{opacity:0},{opacity:.16,offset:.25},{opacity:.16,offset:.5},{opacity:0}],Tca={duration:300},Uca={duration:225,easing:"cubic-bezier(.4, .0, .2, 1)"};function tk(a){a=void 0===a?{}:a;a=void 0===a.Qm?!1:a.Qm;E.call(this,"sc.shared.MaterialInteractionOverlay");var b=this;this.o=!1;this.parentElement=null;this.Qm=a;this.ua=function(c){uk(b,c.clientX,c.clientY,b.Qm)}; this.u=function(){b.o=!0;b.Fa()}; this.oa=function(){b.o=!1;b.Fa()}} w(tk,E);tk.prototype.content=function(){var a=this,b=Dca(rj(getComputedStyle(this.element("span")).color));this.root=this.element("div","class",{root:!0,"light-text":b,hover:this.o},"aria-hidden","true",function(){a.element("div","class","hover-overlay");a.element("div","class","pressed-overlay");a.i=a.element("div","class","ripple")}); Vca(this)}; function Vca(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.ua),b.removeEventListener("mouseenter",a.u),b.removeEventListener("mouseleave",a.oa)),f&&(f.addEventListener("mousedown",a.ua),f.addEventListener("mouseenter",a.u),f.addEventListener("mouseleave",a.oa)),a.parentElement=f)},0)} function vk(a,b){"Enter"!==b.code&&"Space"!==b.code||uk(a,0,0,!0)} function uk(a,b,c,e){var f;if(null!=(f=a.i)&&f.animate){var h=a.root.getBoundingClientRect(),k=.6*Math.max(h.width,h.height)/256;f=(Math.sqrt(Math.pow(h.width/2,2)+Math.pow(h.height/2,2))+10)/128;if(e)b=h="calc(50% - 128px)",k="scale("+k+")",f="scale("+f+")";else{b=b-h.left-128;var l=c-h.top-128;c=h.width/2-128-b;e=h.height/2-128-l;h=l+"px";b+="px";k="translate(0, 0) scale("+k+")";f="translate("+c+"px, "+e+"px) scale("+f+")"}k=[{transform:k},{transform:f}];a.i.style.top=h;a.i.style.left=b;a.i.style.transform= f;a.i.animate(Sca,Tca);a.i.animate(k,Uca)}} ;function wk(a){a=void 0===a?{}:a;E.call(this,"sc.shared.MaterialButton");this.model=a instanceof rk?a:new rk(a);this.overlay=new tk;this.watch(this.model)} w(wk,E);n=wk.prototype;n.content=function(a){var b=this;a&&this.model.Ef(a);var c=""!==this.model.getText(),e=""!==this.model.Me(),f=this.model.Bn()?"a":"button";this.element("div","class","container",function(){b.element("div","class",{"touch-target":!0,hidden:!b.model.ll},"aria-hidden","true","hidden",!b.model.ll,"onclick",function(){if(!b.model.kh()){var l;null==(l=b.Vq)||l.click();uk(b.overlay,0,0,!0)}}); var h,k={};b.Vq=b.element(f,"href",b.model.Bn()||void 0,"target",Wca(b),"class",(k.root=!0,k.text=1===b.model.getStyle()||2===b.model.getStyle()||8===b.model.getStyle(),k["color-label"]=8===b.model.getStyle()||2===b.model.getStyle()||7===b.model.getStyle(),k["color-label-dark"]=11===b.model.getStyle(),k["color-hint"]=6===b.model.getStyle()&&c,k["left-icon"]=Pca(b.model),k.hairline=3===b.model.getStyle()||11===b.model.getStyle(),k.pill=10===b.model.getStyle(),k.href=!!b.model.Bn(),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.Dn(),k["icon-only"]=e&&!c,k["small-icon"]=b.model.hg,k.hidden=!b.model.ll,k.compact=b.model.compact,k["high-contrast"]=b.model.nu,k[b.model.fg]=0!==b.model.fg,k[b.model.Ak]=0!==b.model.Ak,k),"style",""===b.model.Uj()?null:{"max-width":b.model.Uj()},"role",b.model.Rk,"type","button","aria-label",b.model.Le(),"aria-describedby",b.model.Nj,"title",b.model.getTitle(), "aria-expanded",null==(h=b.model.Ex())?void 0:h.toString(),"aria-haspopup",b.model.Vx()?"true":"false","aria-controls",b.model.Fw,"aria-pressed",b.model.ariaPressed,"disabled",b.model.kh(),"onclick",function(l){b.Hb(l)},"onkeydown",function(l){b.Yb(l)},function(){e&&b.element("span","class","icon",new sk({icon:b.model.Me(), size:b.model.hg||c?18:24,yb:!0,Lc:b.model.Lc}));c&&b.element("span","class",{overflow:""!==b.model.Uj()},function(){Wj(b.model.getText())}); b.overlay.render()})})}; n.Hb=function(a){var b=this.model.Gn();b&&b({method:0===a.clientX&&0===a.clientY?1:2})}; n.Yb=function(a){this.overlay&&vk(this.overlay,a)}; n.vc=function(){return this.model.kh()}; n.setDisabled=function(a){this.model.setDisabled(a)}; n.Id=oa(0);n.Ex=function(){return this.model.Ex()}; n.dm=function(a){this.model.dm(a)}; n.Vx=function(){return this.model.Vx()}; n.getText=function(){return this.model.getText()}; n.setText=function(a){this.model.setText(a)}; n.focus=function(){var a;null==(a=this.Vq)||a.focus()}; function Wca(a){if(a.model.Bn())return(a=a.model.getTarget())?Xca[a]:void 0} var xk={},Xca=(xk[0]="_self",xk[1]="_blank",xk[2]="_parent",xk[3]="_top",xk);function yk(a){return window.matchMedia("(max-width: "+a+")").matches} function zk(){return yk("37.5rem")} ;function Ak(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(Ak,Error);function Bk(a){var b=a.serviceName;this.Zf=a.Zf;this.serviceName=b} Bk.prototype.get=function(a,b,c,e){c=void 0===c?{}:c;e=void 0===e?new XMLHttpRequest:e;var f=this,h;return Xa(function(k){if(1==k.i)return Na(k,f.call("GET",a,c,e,"application/json+protobuf"),2);h=k.o;try{return k.return(Me(b,h))}catch(l){throw Ck(f,a),l;}})}; function Dk(a,b,c){c=void 0===c?{}:c;var e=void 0===e?new XMLHttpRequest:e;var f;return Xa(function(h){if(1==h.i)return Na(h,a.call("GET",b,c,e,"application/json"),2);f=h.o;try{return h.return(JSON.parse(f))}catch(k){throw Ck(a,b),k;}})} Bk.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 Xa(function(l){if(1==l.i)return Na(l,h.call("POST",a,e,f,"application/json+protobuf",b.serialize()),2);k=l.o;try{return l.return(Me(c,k))}catch(p){throw Ck(h,a),p;}})}; function Yca(a,b,c,e){e=void 0===e?{}:e;var f=void 0===f?new XMLHttpRequest:f;var h;return Xa(function(k){if(1==k.i)return Na(k,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 Ck(a,b),l;}})} Bk.prototype.call=function(a,b,c,e,f,h){var k=this;return Xa(function(l){return l.return(new Promise(function(p,r){var u="";if(c.query){for(var z=[],la=t(Object.entries(c.query)),ma=la.next();!ma.done;ma=la.next()){var qa=t(ma.value);ma=qa.next().value;qa=qa.next().value;qa=Array.isArray(qa)?qa:[qa];qa=t(qa);for(var sa=qa.next();!sa.done;sa=qa.next())sa=sa.value,z.push(encodeURIComponent(ma)+"="+encodeURIComponent(sa))}0e.status||299this.o&&(this.o++,a.next=this.i,this.i=a)};function Mk(a){a=Zca(a);"function"!==typeof fb.setImmediate||fb.Window&&fb.Window.prototype&&!Jb("Edge")&&fb.Window.prototype.setImmediate==fb.setImmediate?(Nk||(Nk=$ca()),Nk(a)):fb.setImmediate(a)} var Nk;function $ca(){var a=fb.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!Jb("Presto")&&(a=function(){var f=ki("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=nb(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&&!Mb()){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){fb.setTimeout(f,0)}} var Zca=ef;function Ok(){this.o=this.i=null} Ok.prototype.add=function(a,b){var c=Pk.get();c.set(a,b);this.o?this.o.next=c:this.i=c;this.o=c}; Ok.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 Pk=new Lk(function(){return new Qk},function(a){return a.reset()}); function Qk(){this.next=this.scope=this.i=null} Qk.prototype.set=function(a,b){this.i=a;this.scope=b;this.next=null}; Qk.prototype.reset=function(){this.next=this.scope=this.i=null};var Rk,Sk=!1,Tk=new Ok;function Uk(a,b){Rk||ada();Sk||(Rk(),Sk=!0);Tk.add(a,b)} function ada(){if(fb.Promise&&fb.Promise.resolve){var a=fb.Promise.resolve(void 0);Rk=function(){a.then(Vk)}}else Rk=function(){Mk(Vk)}} function Vk(){for(var a;a=Tk.remove();){try{a.i.call(a.scope)}catch(b){zb(b)}Pk.put(a)}Sk=!1} ;function Wk(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}} ;function Xk(a){this.i=0;this.va=void 0;this.u=this.o=this.ma=null;this.oa=this.ua=!1;if(a!=df)try{var b=this;a.call(void 0,function(c){Yk(b,2,c)},function(c){Yk(b,3,c)})}catch(c){Yk(this,3,c)}} function Zk(){this.next=this.context=this.i=this.o=this.child=null;this.ma=!1} Zk.prototype.reset=function(){this.context=this.i=this.o=this.child=null;this.ma=!1}; var $k=new Lk(function(){return new Zk},function(a){a.reset()}); function al(a,b,c){var e=$k.get();e.o=a;e.i=b;e.context=c;return e} function bl(a){if(a instanceof Xk)return a;var b=new Xk(df);Yk(b,2,a);return b} Xk.prototype.then=function(a,b,c){return cl(this,"function"===typeof a?a:null,"function"===typeof b?b:null,c)}; Xk.prototype.$goog_Thenable=!0;n=Xk.prototype;n.Ck=function(a,b){return cl(this,null,a,b)}; n.catch=Xk.prototype.Ck;n.cancel=function(a){if(0==this.i){var b=new dl(a);Uk(function(){el(this,b)},this)}}; function el(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&&1f&&p++;break;case "0":if(0f&&p++;break;case ",":0h+k||1>a.Ka)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.i=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.i&&0==a.ma&&(a.ma=1));a.ua.push(Math.max(0,p));a.Oa=0==f|| f==l;e=c[0]-e;a.Ia=Fl(a,b,c);c[0]this.oa.length?e=!1:this.ya.length=sa)ma+=sa,l=!0;else if(qa==u.charAt(0)){if(h||k)break;ma+=".";h=!0}else if(qa==z.charAt(0)&&("\u00a0"!=z.charAt(0)||b[0]+1this.i)throw Error("Min value must be less than max value");if(isNaN(a))return zl.ZF;var b=[];var c=a,e=a;if(0==this.Da)var f=Hl;else c=Math.abs(c),e=Math.abs(e),f=Il(this,1>=c?0:Jl(c)).ix,e=Kl(e,-f),Ll(this,e),c=Kl(c,-f),c=Ll(this,c),f=Il(this,f+Jl(c.intValue));a=Kl(a,-f.ix);(c=0>a||0==a&&0>1/a)?f.qy?b.push(f.qy):(b.push(f.prefix),b.push(this.oa)):(b.push(f.prefix),b.push(this.ya));if(isFinite(a))if(a*=c?-1:1,a*=this.o,this.Qa)if(e=a,0==e)Ml(this,e,this.ma, b),Nl(this,0,b);else{var h=Math.floor(Math.log(e)/Math.log(10)+2E-15);e=Kl(e,-h);var k=this.ma;1this.ma?(k=h%this.Ea,0>k&&(k=this.Ea+k),e=Kl(e,k),h-=k,k=1):1>this.ma?(h++,e=Kl(e,-1)):(h-=this.ma-1,e=Kl(e,this.ma-1));Ml(this,e,k,b);Nl(this,h,b)}else Ml(this,a,this.ma,b);else b.push(zl.ow);c?f.sy?b.push(f.sy):(isFinite(a)&&b.push(f.Uz),b.push(this.Aa)):(isFinite(a)&&b.push(f.Uz),b.push(this.Ia));return b.join("")}; function Ll(a,b){var c=Kl(b,a.i);0a.i)throw Error("Min value must be less than max value");e||(e=[]);b=Ll(a,b);var f=b.intValue,h=b.DI,k=0h.length&&(h="1"+ci("0",a.i-h.length)+h);for(a=h.length;"0"==h.charAt(a-1)&&a>b+1;)a--;for(b=1;bb?(b=-b,c.push(zl.KA)):a.Ua&&c.push(zl.fG);b=""+b;for(var e=zl.Bw,f=b.length;fa)return a-48;var b=zl.Bw.charCodeAt(0);return b<=a&&ab)return Hl;b=Math.min(14,b);var c=a[Kl(1,b)];for(--b;!c&&3<=b;)c=a[Kl(1,b)],b--;if(!c)return Hl;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))?{ix:b+1-(c[2].length-1),qy:a,sy:e,prefix:c[1],Uz:c[3]}:Hl:Hl} function Jl(a){if(!isFinite(a))return 0]*>/gi,nda=/(<[^>]+>)/gi;function lm(a,b){(void 0===b?0:b)&&(a=a.replace(mda,"\n").replace(/\n{2,}/gi,"\n").trim());return a.replace(nda,"")} ;function mm(){var a,b,c;return null!=(c=null==(a=document.activeElement)?void 0:null==(b=a.shadowRoot)?void 0:b.activeElement)?c:document.activeElement} function nm(a){return Array.from(a.querySelectorAll("*")).filter(oda)} function oda(a){if(a.disabled||0===a.offsetWidth||0===a.offsetHeight||"hidden"===window.getComputedStyle(a).visibility)a=!1;else if(0!==a.tabIndex||a.attributes.getNamedItem("tabindex"))a=0<=a.tabIndex;else a:switch(a.tagName){case "A":case "BUTTON":case "INPUT":case "SELECT":case "TEXTAREA":a=!0;break a;default:a=!1}return a} function om(a,b){b=void 0===b?document:b;pm(a,-1,b)} function pm(a,b,c){c.activeElement&&(c=a.indexOf(c.activeElement),qm(a[((-1===c?0:c+b)+a.length)%a.length]))} function qm(a,b){var c;null==(c=a.focus)||c.call(a,b)} ;function rm(a){ok.call(this);this.icon=this.href=this.Er=this.text="";this.style=this.type=0;this.uo=this.selected=!1;this.Pz=!0;this.Pc=this.disabled=!1;this.maxWidth=this.ariaLabel="";this.target=0;this.Ef(a)} w(rm,ok);n=rm.prototype; n.Ef=function(a){var b=void 0===a.Er?"":a.Er,c=void 0===a.href?"":a.href,e=void 0===a.icon?"":a.icon,f=void 0===a.type?0:a.type,h=void 0===a.style?0:a.style,k=void 0===a.selected?!1:a.selected,l=void 0===a.uo?!1:a.uo,p=a.Pz,r=void 0===a.disabled?!1:a.disabled,u=a.trigger,z=a.remove,la=void 0===a.Pc?!1:a.Pc,ma=void 0===a.ariaLabel?"":a.ariaLabel,qa=void 0===a.maxWidth?"":a.maxWidth,sa=void 0===a.target?0:a.target,ua=a.Qf;this.text=a.text;this.Er=b;this.href=c;this.icon=e;this.type=f;this.style=h;this.selected= k;this.uo=l;this.Pz=null!=p?p:l;this.disabled=r;this.trigger=u;this.remove=z;this.Pc=la;this.ariaLabel=ma;this.maxWidth=qa;this.target=sa;this.Qf=ua}; n.getText=function(){return this.text}; n.Bn=function(){return this.href}; n.Me=function(){return this.icon}; n.getType=function(){return this.type}; n.getStyle=function(){return this.style}; n.setSelected=function(a){a!==this.selected&&(this.selected=a,this.Ca(0))}; function sm(a){return a.uo&&a.Pz} n.Gn=function(){return this.trigger}; n.kh=function(){return this.disabled}; n.setDisabled=function(a){this.disabled=a;this.Ca(1)}; n.Dn=function(){return this.Pc}; n.Le=function(){return this.ariaLabel}; n.Uj=function(){return this.maxWidth}; n.getTarget=function(){return this.target};var tm={},pda=(tm[0]="_self",tm[1]="_blank",tm[2]="_parent",tm[3]="_top",tm);function um(a){a=void 0===a?{text:""}:a;E.call(this,"sc.shared.MaterialChip");this.i=new sk({icon:"gm/close",size:18});this.o=new sk({icon:"gm/check",size:20,yb:!0});this.overlay=new tk;this.model=a instanceof rm?a:new rm(a);this.watch(this.model)} w(um,E);n=um.prototype;n.content=function(a){var b=this;a&&this.model.Ef(a);var c,e,f=null!=(e=null==(c=this.model.Qf)?void 0:c.attributes({Lp:!1}))?e:[],h=this.model.Bn(),k=!!h,l=k?"a":"button";this.element("div","class","container",function(){b.element("div","class","touch-target","onclick",function(){if(!b.model.kh()){var r;null==(r=b.Vq)||r.click();uk(b.overlay,0,0,!0)}}); var p;b.Vq=b.element.apply(b,[l,"href",h,"target",k?pda[b.model.getTarget()]:void 0,"disabled",b.model.kh(),"aria-hidden",b.model.kh(),"aria-label",null!=(p=b.model.Le())?p:void 0,"role",k?void 0:"button","aria-pressed",k?void 0:b.model.selected.toString(),"class",{root:!0,input:0===b.model.getType(),action:0!==b.model.getType(),assistive:1===b.model.getType(),suggestive:2===b.model.getType(),filter:3===b.model.getType(),hairline:0===b.model.getStyle(),"protected":1===b.model.getStyle(),selected:b.model.selected, disabled:b.model.kh(),href:k,limitWidth:!!b.model.Uj()},"style",{"max-width":b.model.Uj()},"onclick",function(){b.Hb()}, "onkeydown",function(r){b.Yb(r)}, "data-removable",sm(b.model)?"true":void 0].concat(Ba(f),[function(){b.model.Dn()||wm(b);if(b.model.getText()){var r=b.model.Er,u={};b.element("span","class",(u.text=!0,u[r]=""!==r,u),b.model.getText())}b.model.Dn()&&wm(b);sm(b.model)&&b.element("button","disabled",b.model.kh(),"class","remove-icon","onclick",function(z){z.stopPropagation();var la;null==(la=b.model.remove)||la()},b.i); b.overlay.render()}]))})}; n.Hb=function(){3===this.model.getType()&&this.model.setSelected(!this.model.selected);var a;null==(a=this.model.Gn())||a()}; n.Yb=function(a){vk(this.overlay,a);if(this.model.uo&&"Backspace"===a.key){var b;null==(b=this.model.remove)||b()}var c;null==(c=this.model.Qf)||c.Jq(a)}; function wm(a){a.model.Me()&&a.element("span","class",{icon:!0,"icon-right":a.model.Dn(),"icon__no-text":!a.model.getText()},function(){(new sk({icon:a.model.Me(),size:20,yb:!0})).render()}); 3===a.model.getType()&&a.element("span","class",{checkmark:!0,"checkmark-right":a.model.Dn()},a.o)} n.focus=function(){var a;null==(a=this.Vq)||a.focus()}; n.isSelected=function(){return this.model.selected}; n.setDisabled=function(a){this.model.setDisabled(a)};function xm(a){var b=void 0===a?{}:a;a=void 0===b.size?"mspin-small":b.size;b=void 0===b.Us?!1:b.Us;E.call(this,"sc.shared.MaterialSpinner");this.size=a;this.Us=b} w(xm,E);xm.prototype.content=function(){var a=this;this.element("div","dir","ltr","class","mspin "+this.size+" "+(this.Us?"mspin-centered":""),function(){a.element("div",function(){a.element("div")})})}; xm.prototype.asElement=function(){var a=ki("div");a.classList.add("scSharedMaterialspinnermspin","scSharedMaterialspinnermspin-medium","scSharedMaterialspinner");var b=ki("div"),c=ki("div");b.appendChild(c);a.appendChild(b);return a};function ym(){E.call(this,"sc.shared.material_dialog.DialogContent");this.i=new xm} w(ym,E);ym.prototype.content=function(a){var b=this,c=a.title,e=a.content,f=a.yg,h=a.Cb,k;this.element("div","class","root","style",{"--dialog-content-padding":null!=(k=a.padding)?k:null},function(){c&&b.element("h1","class","title","role","heading","aria-level","1",c);e&&b.element("div",e);f&&b.element("div",f);h&&b.element("div","class","loading-overlay",function(){b.i.render()})})};function qda(a){return!!a&&("object"===typeof a||"function"===typeof a)&&a.nodeType===Node.ELEMENT_NODE&&"http://www.w3.org/1999/xhtml"===a.namespaceURI} ;function zm(a){var b=a.content,c=void 0===a.Zb?5:a.Zb,e=void 0===a.bc?5:a.bc,f=void 0===a.xm?0:a.xm,h=void 0===a.Gi?0:a.Gi,k=void 0===a.ut?!1:a.ut,l=void 0===a.Nm?!1:a.Nm,p=a.ao,r=a.onClose,u=a.maxHeight,z=void 0===a.wj?!1:a.wj,la=void 0===a.tm?!0:a.tm,ma=void 0===a.Sp?!0:a.Sp,qa=void 0===a.Xm?!0:a.Xm,sa=void 0===a.Jh?!0:a.Jh,ua=void 0===a.xj?!1:a.xj,xa=void 0===a.In?!1:a.In,Ea=void 0===a.Yh?{}:a.Yh,Ha=void 0===a.Bg?!1:a.Bg,Ka=void 0===a.Lt?!1:a.Lt,ab=void 0===a.draggable?!1:a.draggable;a=a.Tj;E.call(this, "sc.shared.MaterialPopup");this.u=null;this.oa=!1;this.Wd=this.Vd=0;this.ya=new sk({icon:"gm/close",yb:!0});this.va=b;this.xm=f;this.Gi=h;this.ut=k;this.Zb=c;this.bc=e;this.maxHeight=u;this.Aa=!z;this.Jh=ua||sa;this.In=xa;this.ao=p;this.onClose=r;this.Nm=l;this.tm=la;this.Sp=ma;this.Xm=qa;this.Yh=Ea;this.Bg=Ha;this.Lt=Ka;ua&&(this.Yh=Object.assign({},{"background-color":"rgba(0, 0, 0, .5)","z-index":"990"},this.Yh));ab&&(this.draggable=new gm);this.Tj=a} w(zm,E);n=zm.prototype;n.Xd=function(){return!0}; n.content=function(){var a=this;this.ua=this.element("div","class","backdrop","style",Object.assign({},{pointerEvents:this.Jh&&this.vb()?"auto":"none",opacity:this.vb()?"1":"0"},this.Yh),"onclick",this.Jh?function(b){a.Xm&&b.target===a.ua&&a.close()}:void 0,function(){a.i=a.element("div","class",{popup:!0, draggable:a.draggable,background:a.Aa,"full-screen-on-mobile":!a.Lt&&a.Bg,"full-screen":a.Lt},"style",{transform:a.getTransform(),transformOrigin:Am(a.xm)+" "+Am(a.Gi),opacity:a.vb()?"1":"0",visibility:a.vb()?"visible":"hidden"},"onkeydown",function(b){a.Yb(b)},function(){a.Jh&&a.In&&a.element("button","type","button","class","close-button","aria-label","Close","onclick",function(){return void a.close()},function(){a.ya.render()}); a.draggable?a.draggable.render({Tj:a.Tj,content:function(){return void a.va()}, pointerEvents:"auto"}):a.va();a.element("span","tabindex","0")})}); this.o&&this.o()}; n.open=function(a){var b=this,c=void 0===a?{}:a,e=c.anchor;a=c.Jb;var f=c.Vd;c=c.Wd;if(!this.vb()&&(this.oa=!0,this.Fa(),this.o=function(){if(e instanceof E){var h;var k=null==(h=e.getElement())?void 0:h.getBoundingClientRect()}else bf(e)?k=e.getBoundingClientRect():e&&(k=e);if(b.i){h=b.Vd;var l=b.Wd,p=b.ua.getBoundingClientRect();k?(h+=Bm(b.Zb,k.left,k.right,p.left,p.width,b.i.offsetWidth),l+=Bm(b.bc,k.top,k.bottom,p.top,p.height,b.i.offsetHeight)):(h+=Cm(b.Zb,p.width,b.i.offsetWidth),l+=Cm(b.bc, p.height,b.i.offsetHeight));b.maxHeight&&(b.i.style.maxHeight=b.maxHeight,b.i.style.overflowY="auto");h=Dm(h,b.i.offsetWidth,window.innerWidth);l=Dm(l,b.i.offsetHeight,window.innerHeight);b.i.style.left=h+"px";b.i.style.top=l+"px"}},window.addEventListener("resize",this.o),window.addEventListener("scroll",this.o),Em(this,f,c),a)){if(a=mm())this.u=a; a=this.i?nm(this.i):[];0c||0>a?0:a+b>=c?c-b:a} function Am(a){switch(a){case 1:case 3:return"100%";case 2:case 4:return"0%";default:return"50%"}} n.getTransform=function(){return this.ut?"none":this.vb()?"scale(1, 1)":"scale("+(0===this.xm?1:0)+", "+(0===this.Gi?1:0)+")"}; n.Yb=function(a){if(this.Sp&&"Escape"===a.key)this.close();else if(this.tm)if("Tab"===a.key&&!a.shiftKey||this.Nm&&"ArrowDown"===a.key){a.preventDefault();a=this.i?nm(this.i):[];var b=Fm(this);b=void 0===b?document:b;pm(a,1,b)}else if("Tab"===a.key&&a.shiftKey||this.Nm&&"ArrowUp"===a.key)a.preventDefault(),om(this.i?nm(this.i):[],Fm(this))}; function Fm(a){var b,c;return null!=(c=null==(b=a.getElement())?void 0:b.getRootNode())?c:document} ;var rda={mN:!1,autoClose:!0};function Gm(){E.call(this,"sc.shared.MaterialSnackbar");this.i=new wk;this.message="";this.qn=5E3;this.Sm=this.Kv=!1;this.state=2} w(Gm,E);Gm.prototype.open=function(a){var b=this,c=a.message,e=a.action,f=void 0===a.qn?5E3:a.qn,h=void 0===a.Kv?!1:a.Kv;a=void 0===a.Sm?!1:a.Sm;if(0===this.state)return Promise.resolve();this.state=0;this.message=c;this.qn=f;this.Kv=h;this.Sm=a;e?this.action=Object.assign({},rda,e):this.action=void 0;this.Fa();var k;(null==(k=this.action)?0:k.kS)&&this.i.focus();sda(this);return new Promise(function(l){b.onClose=l})}; Gm.prototype.close=function(){0===this.state&&(this.o&&clearTimeout(this.o),this.state=1,this.message="",this.Fa())}; Gm.prototype.content=function(){var a=this;this.element("div","class",{root:!0,widescreen:this.Kv,"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.mN},"ontransitionend",function(c){if("opacity"===c.propertyName&&0!==a.state&&!a.isClosed()){a.state=2;a.Fa();var e;null==(e=a.onClose)||e.call(a)}},function(){a.element("div","role","alert","aria-live","assertive","class", "message",a.message); tda(a)})})}; function tda(a){a.action&&a.element("div","class","action",function(){a.i.render({text:a.action.aB,trigger:function(){a.action.autoClose&&a.close();var b,c;null==(c=(b=a.action).Sl)||c.call(b)}, Lc:a.action.Lc})})} function sda(a){if(!a.action||a.Sm)a.o=setTimeout(function(){a.close()},a.qn)} Gm.prototype.isClosed=function(){return 2===this.state};function Hm(){this.u=[];this.o=!1;this.oa=new Gm} function Im(){return uda.initialize()} n=Hm.prototype;n.initialize=function(a){a=void 0===a?document.body:a;if(this.o)return this;this.o=!0;vda(this,a);return this}; n.open=function(a){this.o&&this.enqueue(a)}; n.close=function(){this.oa.close()}; n.Na=function(){var a=this;Xa(function(b){if(1==b.i)return a.o?a.ma?Na(b,a.ma,2):b.Ma(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);Jm(this)}; function Jm(a,b){b=void 0===b?!1:b;var c,e;Xa(function(f){if(1==f.i){if(!b&&a.ma)return f.return();if(0===a.u.length)return null==(e=(c=a).ua)||e.call(c),delete a.ma,delete a.ua,f.return();a.ma||(a.ma=new Promise(function(h){a.ua=h})); return Na(f,a.oa.open(a.u[0]),2)}a.u.shift();Jm(a,!0);Oa(f)})} function vda(a,b){"interactive"===document.readyState||"complete"===document.readyState?Km(a,b):window.addEventListener("DOMContentLoaded",function(){Km(a,b)})} function Km(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);Zj(a.i,function(){a.oa.render()})} var uda=new Hm;var wda={Zb:7,bc:7,Sp:!0,tm:!0}; function Lm(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.Gc;a=a.qt;var l=(delete c.content,delete c.scope,delete c.ariaLabel,delete c.Gc,delete c.qt,c);this.o=new Map;this.scope=f;this.qt=a;this.i=new zm(Object.assign({},wda,l,{onClose:function(){if(b.Tc)for(var p=t(b.o),r=p.next();!r.done;r=p.next()){var u=t(r.value);r=u.next().value;(u=u.next().value)||r.removeAttribute("aria-hidden")}var z;null==(z=l.onClose)||z.call(l)}, content:function(){ck("div","role","dialog","aria-modal","true","aria-label",h,"aria-labelledby",k,e)}}))} n=Lm.prototype;n.initialize=function(){var a=this;if(this.Tc)return this;this.Tc=document.createElement("div");this.Tc.dataset.dialogId=this.qt;this.Tc.setAttribute("aria-live","polite");this.scope.appendChild(this.Tc);Zj(this.Tc,function(){a.i.render()}); return this}; n.Na=function(){if(this.Tc){this.i.close();var a;null==(a=this.Tc)||a.remove();this.Tc=void 0}}; n.render=function(){var a=this;this.Tc||this.initialize();Zj(this.Tc,function(){a.i.render()})}; n.open=function(a){a=void 0===a?{}:a;this.initialize();if(this.Tc)for(var b=this.Tc;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&&bf(f)&&"sc-shared-snackbar-container"!==f.className&&(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 Mm(a,b,c){c=void 0===c?!1:c;a=new URL(a);var e="";c&&(e=a.search);c=new URLSearchParams(e);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;c.set(e,f)}return a.protocol+"//"+a.host+a.pathname+"?"+c.toString()} function Nm(a,b){b=new URL(null!=b?b:window.location.href);return(new URLSearchParams(b.search)).get(a)} ;function Om(a){var b=a.triggerId,c=a.productData,e=a.callback,f=void 0===a.ariaLabel?"Feedback":a.ariaLabel,h=void 0===a.enableTestingMode?!1:a.enableTestingMode;a=void 0===a.Bt?!0:a.Bt;E.call(this,"sc.hats_survey_button.HatsSurveyButton");this.triggerId=b;this.productData=c;this.callback=e;this.ariaLabel=f;this.enableTestingMode=h;this.Bt=a} w(Om,E);function xda(a){a.element("div","class","survey-trigger-button",new wk({text:"Feedback",style:8,icon:a.Bt?"gm/announcement":"",compact:!0,trigger:function(){var b;return Xa(function(c){if(1==c.i)return b=new rl,yda(b)?Na(c,new Promise(function(e){return void setTimeout(e,600)}),2):c.Ma(2); sl(b,{triggerId:a.triggerId,enableTestingMode:a.enableTestingMode,productData:a.productData,callback:function(e){var f,h=null!=(f=null==e?void 0:e.surveyMetadata.sessionId)?f:"";h&&Pm.push(h);a.callback&&a.callback(e)}, defaultStyle:1});Oa(c)})}, ariaLabel:a.ariaLabel}))} Om.prototype.content=function(){xda(this)}; function yda(a){var b=!1;if(!window.hatsNextGlobalObject||!window.hatsNextGlobalObject.surveyMap)return b;for(var c=t(Object.keys(window.hatsNextGlobalObject.surveyMap)),e=c.next();!e.done;e=c.next())e=e.value,Pm.includes(e)||(b=!0,ul(a).o({surveyMetadata:{sessionId:e}}));return b} var Pm=[];var Qm;qb("hcfe.stats.getInstance",function(){return Qm}); var zda=new Map([["primary-button",1],["action-button",2],["default-button",3],["product-link",4]]);function Ada(){} ;/* Copyright 2005, 2007 Bob Ippolito. All Rights Reserved. Copyright The Closure Library Authors. SPDX-License-Identifier: MIT */ function Rm(a,b){this.ua=[];this.Ea=a;this.Da=b||null;this.u=this.ma=!1;this.o=void 0;this.Aa=this.Ia=this.ya=!1;this.va=0;this.i=null;this.oa=0} rb(Rm,Ada);n=Rm.prototype;n.cancel=function(a){if(this.ma)this.o instanceof Rm&&this.o.cancel();else{if(this.i){var b=this.i;delete this.i;a?b.cancel(a):(b.oa--,0>=b.oa&&b.cancel())}this.Ea?this.Ea.call(this.Da,this):this.Aa=!0;this.ma||this.Dt(new Sm(this))}}; n.qB=function(a,b){this.ya=!1;Tm(this,a,b)}; function Tm(a,b,c){a.ma=!0;a.o=c;a.u=!b;Um(a)} function Vm(a){if(a.ma){if(!a.Aa)throw new Wm(a);a.Aa=!1}} n.callback=function(a){Vm(this);Tm(this,!0,a)}; n.Dt=function(a){Vm(this);Tm(this,!1,a)}; function Xm(a,b,c,e){a.ua.push([b,c,e]);a.ma&&Um(a)} n.then=function(a,b,c){var e,f,h=new Xk(function(k,l){f=k;e=l}); Xm(this,f,function(k){k instanceof Sm?h.cancel():e(k);return Ym},this); return h.then(a,b,c)}; Rm.prototype.$goog_Thenable=!0;Rm.prototype.branch=function(a){var b=new Rm;Xm(this,b.callback,b.Dt,b);a&&(b.i=this,this.oa++);return b}; Rm.prototype.isError=function(a){return a instanceof Error}; function Zm(a){return taa(a.ua,function(b){return"function"===typeof b[1]})} var Ym={}; function Um(a){if(a.va&&a.ma&&Zm(a)){var b=a.va,c=$m[b];c&&(fb.clearTimeout(c.i),delete $m[b]);a.va=0}a.i&&(a.i.oa--,delete a.i);b=a.o;for(var e=c=!1;a.ua.length&&!a.ya;){var f=a.ua.shift(),h=f[0],k=f[1];f=f[2];if(h=a.u?k:h)try{var l=h.call(f||a.Da,b);l===Ym&&(l=void 0);void 0!==l&&(a.u=a.u&&(l==b||a.isError(l)),a.o=b=l);if(Wk(b)||"function"===typeof fb.Promise&&b instanceof fb.Promise)e=!0,a.ya=!0}catch(p){b=p,a.u=!0,Zm(a)||(c=!0)}}a.o=b;e&&(l=nb(a.qB,a,!0),e=nb(a.qB,a,!1),b instanceof Rm?(Xm(b, l,e),b.Ia=!0):b.then(l,e));c&&(b=new an(b),$m[b.i]=b,a.va=b.i)} function Wm(){ub.call(this)} rb(Wm,ub);Wm.prototype.message="Deferred has already fired";Wm.prototype.name="AlreadyCalledError";function Sm(){ub.call(this)} rb(Sm,ub);Sm.prototype.message="Deferred was canceled";Sm.prototype.name="CanceledError";function an(a){this.i=fb.setTimeout(nb(this.ma,this),0);this.o=a} an.prototype.ma=function(){delete $m[this.i];throw this.o;}; var $m={};function bn(a,b){var c=b||{};b=c.document||document;var e=yf(a).toString(),f=(new gi(b)).createElement("SCRIPT"),h={sD:f,Fr:void 0},k=new Rm(Bda,h),l=null,p=null!=c.timeout?c.timeout:5E3;0>>0);function wn(a){if("function"===typeof a)return a;a[Cn]||(a[Cn]=function(b){return a.handleEvent(b)}); return a[Cn]} ;function Dn(){fn.call(this);this.u=new nn(this);this.Vg=this;this.Od=null} rb(Dn,fn);Dn.prototype[kn]=!0;n=Dn.prototype;n.Kx=function(){return this.Od}; n.addEventListener=function(a,b,c,e){un(this,a,b,c,e)}; n.removeEventListener=function(a,b,c,e){An(this,a,b,c,e)}; n.dispatchEvent=function(a){var b=this.Kx();if(b){var c=[];for(var e=1;b;b=b.Kx())c.push(b),++e}b=this.Vg;e=a.type||a;if("string"===typeof a)a=new hn(a,b);else if(a instanceof hn)a.target=a.target||b;else{var f=a;a=new hn(e,b);kf(a,f)}f=!0;if(c)for(var h=c.length-1;!a.ma&&0<=h;h--){var k=a.i=c[h];f=k.jq(e,!0,a)&&f}a.ma||(k=a.i=b,f=k.jq(e,!0,a)&&f,a.ma||(f=k.jq(e,!1,a)&&f));if(c)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 Mn(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 Jda=/[?&]($|#)/;function Tn(a,b){for(var c=a.search(Rn),e=0,f,h=[];0<=(f=Qn(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(Jda,"$1")} function Un(a,b,c){return Pn(Tn(a,b),b,c)} ;var Vn=fb.console;function Wn(a){switch(a){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:return!0;default:return!1}} ;function Xn(){} Xn.prototype.o=null;Xn.prototype.getOptions=function(){return this.o||(this.o=this.u())};var Yn;function Zn(){} rb(Zn,Xn);Zn.prototype.i=function(){var a=$n(this);return a?new ActiveXObject(a):new XMLHttpRequest}; Zn.prototype.u=function(){var a={};$n(this)&&(a[0]=!0,a[1]=!0);return a}; function $n(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:Sda(a,b,c),onLoad:b.onLoad,onError:b.onError||function(){}, By:b.By||function(){}, EK:b.EK||function(){}, GK:b.GK||function(){}, Kw:b.Kw,oI:b.pageType,er:b.er};b.Pe&&("IFRAME"==b.Pe.nodeName?(a.window=b.Pe.contentWindow,a.Pe=a.window.document.body):(a.window=window,a.Pe=b.Pe));return a} function Sda(a,b,c){var e=ho(a)+"/apis/render?",f=a.va,h=a.La,k=b.helpcenter,l=a.ya,p=a.Aa,r=a.hb,u=a.Va,z=a.Ka,la=b.pageType,ma=b.pageId,qa=b.url,sa=b.Kl,ua=b.LQ;c=["js_request_id."+c];if(b.extraParams)for(var xa in b.extraParams)c.push(xa+"."+b.extraParams[xa]);a={v:1,key:f,request_source:h,helpcenter:k,hl:l,authuser:p,visit_id:r,view_id:u,psd:z,page_type:la,id:ma,url:qa,components:sa,exclude_components:ua,extra_params:c,mendel_ids:a.Ia,service_configuration:a.Oa,scdeb:a.Da,instant_preview:b.instantPreview, symptom:b.symptom,scenario_id:b.testScenarioId,sjid:b.oS,user_ip:a.Ua,js_fingerprint:a.Ea};b="";for(var Ea in a)f=a[Ea],void 0!=f&&(Array.isArray(f)&&(f=f.join()),b&&(b+="&"),b+=Ea+"="+encodeURIComponent(f.toString()));return e+b} function Rda(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.er){if(!e.page_metadata||!e.page_metadata.page_type){b.onError({type:4});return}if(af.get(e.page_metadata.page_type)!=b.oI){b.onError({type:3});return}}e.page_metadata&&b.By(e.page_metadata);b.Pe?io(a,b,e.html):b.Kw(function(f){"IFRAME"==f.nodeName?(b.window=f.contentWindow,b.Pe=b.window.document.body):(b.window=window,b.Pe=f);io(a, b,e.html)})}else b.onError({type:2}); else b.onError({type:5})} function io(a,b,c){b.window.sc_scope=b.Pe;b.onLoad&&(b.window[b.requestId]=function(e){b.onLoad(e.getChild(b.requestId))}); tg(b.Pe,$f(c));c=Array.from(b.Pe.getElementsByTagName("script"));a.ma(b,c)} go.prototype.ma=function(a,b){for(;0a.o.length;a.oa()} ;function no(){var a=this;this.i=document.querySelector(".overlay");this.i.addEventListener("scroll",function(){oo(a);a.ua()}); this.o=this.i.querySelector(".overlay__backdrop");this.o.addEventListener("touchmove",function(b){return b.preventDefault()}); this.o.addEventListener("click",function(){po(a,0)}); this.Aa=this.i.querySelector(".overlay__header");this.Aa.addEventListener("touchmove",function(b){a.i.classList.contains("fullscreen")&&b.preventDefault()}); this.ya=this.i.querySelector(".overlay__close-button");this.ya.addEventListener("click",function(){po(a,0)}); this.ua=Sh(function(){if(!a.i.classList.contains("fullscreen")&&!a.u){var b=a.i.scrollTop;0==b?(a.oa.close(),window.removeEventListener("scroll",a.va),window.document.body.style.overflow=""):b>.8*a.o.clientHeight?po(a,a.o.clientHeight):b<.2*a.o.clientHeight?po(a,0):po(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.ua()}); this.va=function(){window.scroll(0,a.Da)}; this.oa=new ko(this.i,function(b){return Uda(a,b)},function(){oo(a)})} no.prototype.ma=oa(5);function oo(a){var b=mo(a.oa);b&&(a.i.scrollTop>=a.o.clientHeight?(a.i.classList.add("fullscreen"),b.uc.contentDocument.body.style.overflowY=""):(a.i.classList.remove("fullscreen"),b.uc.contentDocument.body.style.overflowY="hidden"),0a||5a?a=0:a>c&&(a=c);return a-b} function Fo(a){a.preventDefault()} ;function Ho(a){A.call(this,a)} w(Ho,A);n=Ho.prototype;n.getEnableSsEngine=function(){return we(this,2)}; n.getEnableAwr=function(){return we(this,3)}; n.getEnableHelpSuggestions=function(){return we(this,4)}; n.getAlohaAutoGaRollout=function(){return we(this,5)}; n.getEnableConfigurator=function(){return we(this,6)}; n.getEnableMweb=function(){return we(this,7)}; n.getEnableCtlConsentCheckbox=function(){return we(this,8)}; n.getEnableIframe=function(){return we(this,9)}; n.getEnableScreenshotNudge=function(){return we(this,10)}; n.getEnableWebStartupConfigEndpoint=function(){return we(this,11)}; n.getEnableJunkNudge=function(){return we(this,12)}; n.getEnableConfiguratorLocale=function(){return we(this,13)};function Io(a){A.call(this,a)} w(Io,A);var $da=["https://sandbox.google.com/tools/feedback"];var aea="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 Jo(a){var b;return null==(b=a.formContent)?void 0:b.locale} ;var bea=za(["https://www.gstatic.com/uservoice/feedback/client/web/","/main_binary__",".js"]);function cea(a){var b=Jo(a);b=(b&&aea.includes(b)?Jo(a):"en").replaceAll("-","_").toLowerCase();var c;a=(null==(c=a.initializationData)?0:c.useNightlyRelease)?"nightly":"live";return Qg(bea,a,b)} ;var Ko;function dea(a,b,c){if(Ko)return Ko;var e=cea(a);return Ko=b.feedbackV2GlobalObject?Promise.resolve(b.feedbackV2GlobalObject):new Promise(function(f,h){var k=c.createElement("script");zg(k,e);k.onload=function(){b.feedbackV2GlobalObject?f(b.feedbackV2GlobalObject):h("feedbackV2GlobalObject not found on window.")}; k.onerror=function(){h("Feedback binary script tag failed to load: "+e.toString())}; c.body.appendChild(k)})} function eea(a,b,c,e,f){f=void 0===f?!0:f;var h,k,l,p,r;return Xa(function(u){switch(u.i){case 1:return h=Date.now(),Na(u,dea(a,c,e),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.Ma(3);break}return Na(u,k.initializeFeedbackClientAsync(a,h,b),4);case 4:l=u.o;case 3:return l.initiateAloha(),u.return(l)}})} function fea(a,b,c){var e=!0;e=void 0===e?!0:e;var f,h,k,l;Xa(function(p){h=f=c||fb;if(h.isFormOpened)throw k=Error("Form is either loading or already opened"),k.name="DuplicateFormError",k;h.isFormOpened=!0;a.callbacks=a.callbacks||{};l=a.callbacks.onClose||function(){}; a.callbacks.onClose=function(r){h.isFormOpened=!1;l(r)}; try{return p.return(eea(a,b,h,f.document,e))}catch(r){throw h.isFormOpened=!1,r;}})} ;function gea(a){try{return fb.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 Lo(a){Dn.call(this);this.headers=new Map;this.Ia=a||null;this.o=!1;this.Ea=this.i=null;this.Da=this.Qa="";this.ma=this.La=this.Aa=this.Ka=!1;this.oa=0;this.ya=null;this.Oa="";this.Ua=this.Va=!1} rb(Lo,Dn);var hea=/^https?$/i,iea=["POST","PUT"],Mo=[];function No(a,b,c,e,f,h,k){var l=new Lo;Mo.push(l);b&&l.listen("complete",b);l.uw("ready",l.zH);h&&(l.oa=Math.max(0,h));k&&(l.Va=k);l.send(a,c,e,f)} n=Lo.prototype;n.zH=function(){this.dispose();dc(Mo,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.Da="";this.Ka=!1;this.o=!0;this.i=this.Ia?this.Ia.i():Yn.i();this.Ea=this.Ia?this.Ia.getOptions():Yn.getOptions();this.i.onreadystatechange=nb(this.ZC,this);try{this.getStatus(),this.La=!0,this.i.open(b,String(a),!0),this.La=!1}catch(k){this.getStatus();Oo(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=fb.FormData&&a instanceof fb.FormData;!cc(iea,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.Va&&(this.i.withCredentials=this.Va);try{Po(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||jb(b)||(e+=encodeURIComponent(p)+"="+encodeURIComponent(b)+"&");a=fi(f).createElement("SCRIPT");h&&a.setAttribute("nonce",h);h=Af(e);zg(a,h);f.body.appendChild(a)}} function Wo(a,b,c){try{"submit"===a.flow||"help"===a.flow||a.tinyNoPointer?Vo(a,b,c):kea(a.productId,a.feedbackServerUri).then(function(e){e=ke(e,Ho,1);if(null==e||!e.getAlohaAutoGaRollout()||yaa&&!e.getEnableMweb())Vo(a,b,c);else{var f=c||fb,h="DEV"===a.serverEnvironment,k=c||fb;k=a.nonce||jg(k);h={integrationKeys:{productId:a.productId,feedbackBucket:a.bucket},callbacks:{onClose:a.callback,onLoad:a.onLoadCallback},formContent:{locale:a.locale,disableScreenshot:a.disableScreenshotting,productDisplayName:void 0, announcement:void 0,issueCategories:void 0,includeSeveritySelection:void 0,customImageSrc:void 0,thankYouMessage:void 0,userEmail:void 0,defaultFormInputValues:void 0,defaultFormInputValuesString:void 0,abuseLink:a.abuseLink},initializationData:{isLocalServer:h,nonce:k,useNightlyRelease:h,feedbackJsUrl:void 0,feedbackCssUrl:void 0,feedbackJsUrlSerialized:void 0,feedbackCssUrlSerialized:void 0,submissionServerUri:a.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&&(k=new Map(Object.entries(b)),h.extraData.productSpecificData=k);fea(h,e,f)}},function(e){e&&"DuplicateFormError"!==e.name&&Vo(a,b,c)})}catch(e){Vo(a,b,c)}} qb("userfeedback.api.startFeedback",Wo);function Xo(a){window.sc_trackStatsEvent(49,8);Yo(a)} function Yo(a){var b=a.productId,c=a.bucket,e=void 0===a.flow?"material":a.flow,f=void 0===a.bx?!1:a.bx,h=void 0===a.gH?!0:a.gH,k=a.vL,l=a.onClose,p=a.onLoad,r=a.payload;a=a.description;var u=fh(),z={};b=(z.flow=e,z.locale=u.lang,z.productId=b,z.disableSubmit=f,z);c&&(b.bucket=c);l&&(b.callback=l);p&&(b.onLoadCallback=p);u.sb_uri&&(b.serverUri=u.sb_uri);k&&(b.reportDataCallback=k);b.allowNonLoggedInFeedback=h;"submit"===e&&(b.report={description:a});var la={};r.forEach(function(ma,qa){la[qa]=ma}); Wo(b,la)} ;function Zo(){var a=fh();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",$o()]]);a.set("escalation_availability_matching_frd_forms",Nh().escalation_availability_matching_frd_forms);a.set("rule_service_escalation_availability_c2c_event_id",Nh().rule_service_escalation_availability_c2c_event_id); a.set("rule_service_escalation_availability_c2c_synthesis_event_id",Nh().rule_service_escalation_availability_c2c_synthesis_event_id);a.set("rule_service_escalation_availability_chat_event_id",Nh().rule_service_escalation_availability_chat_event_id);a.set("rule_service_escalation_availability_chat_synthesis_event_id",Nh().rule_service_escalation_availability_chat_synthesis_event_id);a.set("rule_service_escalation_availability_email_event_id",Nh().rule_service_escalation_availability_email_event_id); a.set("rule_service_escalation_availability_email_synthesis_event_id",Nh().rule_service_escalation_availability_email_synthesis_event_id);a.set("rule_service_escalation_availability_phone_event_id",Nh().rule_service_escalation_availability_phone_event_id);a.set("rule_service_escalation_availability_phone_synthesis_event_id",Nh().rule_service_escalation_availability_phone_synthesis_event_id);a.set("rule_service_extensible_contact_options_event_id",Nh().rule_service_extensible_contact_options_event_id); a.set("rule_service_form_synthesis_event_id",Nh().rule_service_form_synthesis_event_id);a.set("rule_service_helpcenter_fields_synthesis_event_id",Nh().rule_service_helpcenter_fields_synthesis_event_id);return a} function $o(){var a=fh().rs;switch(a){case 4:return"cases";case 1:return"helpcenter";default:return String(a)}} ;function ap(){mea(this)} function mea(a){a.i=(new vo({className:"material-dialog-backdrop",Jp:"material-dialog-backdrop--active",JC:"material-dialog-backdrop--locked",WH:"material-dialog-backdrop--disable-click-capture"})).cB(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),ch(b,"material-dialog--disable-close")||a.close())})} ap.prototype.open=function(a){var b=this,c=a.querySelector(".material-dialog__title");a.setAttribute("role","dialog");c&&(a.setAttribute("title",c.textContent),Zda(c,a).reset().enable(ch(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=ch(a,"material-dialog--disable-close");this.i.Jz(!ch(a,"material-dialog--show-background")).Gz(ch(a,"material-dialog--disable-click-capture")).setContent(a).open();a.focus();return this}; ap.prototype.close=function(){this.i.close();this.u&&this.u();this.ma&&this.ma()}; ap.prototype.Sl=function(a){this.o=a;return this}; ap.prototype.onClose=function(a){this.ma=a;return this}; ap.prototype.onClose=ap.prototype.onClose;ap.prototype.onAction=ap.prototype.Sl;ap.prototype.close=ap.prototype.close;ap.prototype.open=ap.prototype.open;function bp(a){var b=void 0===a.label?"":a.label,c=void 0===a.Yi?!0:a.Yi,e=void 0===a.Un?void 0:a.Un,f=void 0===a.disabled?!1:a.disabled,h=void 0===a.filled?!1:a.filled,k=void 0===a.qc?!1:a.qc,l=a.Ei,p=void 0===a.Lq?"":a.Lq,r=void 0===a.Be?!1:a.Be;a=void 0===a.ariaHidden?!1:a.ariaHidden;E.call(this,"sc.shared.MaterialBorder");this.Be=this.error=this.focused=this.active=!1;this.filled=h;this.Yi=c;this.qc=k;this.label=b;this.Un=e?"calc(100% - "+e/16+"rem)":void 0;this.disabled=f;this.i=l;this.Lq=p; this.Be=r;this.ariaHidden=a} w(bp,E);n=bp.prototype;n.content=function(){this.filled?nea(this):oea(this)}; n.render=function(){E.prototype.render.call(this)}; n.setLabel=function(a){this.label=a;this.Fa()}; function pea(a,b){a.error=b} function oea(a){var b,c,e=a.Ei();a.element("div","class",{container:!0,"container-dense":a.qc},function(){a.element("div","class",{left:!0,"left-error":a.error,focused:a.focused,disabled:a.disabled});c=a.element("div","class",{mid:!0,"mid-error":a.error,"mid-active":e&&a.Yi,focused:a.focused,disabled:a.disabled},"style",{"max-width":a.Un},function(){a.label&&(b=a.element("label","class",{label:!0,"label-dense":a.qc,"label-error":a.error,"label-active":e,"label-hidden":e&&!a.Yi,"label-focused":a.focused, "label-disabled":a.disabled,"label-multiline":a.Be&&!a.Yi},"aria-hidden",a.ariaHidden||"","style",{"font-size":e?"1rem":""},"id",a.Lq,a.label))}); a.element("div","class",{right:!0,"right-error":a.error,focused:a.focused,disabled:a.disabled})}); if(b&&e&&a.Yi&&c){var f=Number(window.getComputedStyle(c).width.replace("px",""));c.style.width=Math.ceil(.75*f+16)+"px";c.style.paddingLeft="4px";b.style.maxWidth="calc(100%/.75)"}} function nea(a){var b=a.Ei();a.element("div","class",{container:!0,"container-dense":a.qc,filled:!0,"filled-error":a.error,"filled-active":b,"filled-disabled":a.disabled,"filled-focused":a.focused},function(){a.element("div","class",{"filled-bottom":!0,"filled-bottom-focused":a.focused});a.element("label","class",{"filled-label":!0,"label-dense":a.qc,"label-error":a.error,"label-hidden":b&&!a.Yi,"filled-label-active":b,"filled-label-disabled":a.disabled,"filled-label-focused":a.focused},"style",{"max-width":a.Un, "font-size":b?"1rem":""},"id",a.Lq,a.label)})} n.blur=function(){this.focused=!1;this.i()?this.activate():this.deactivate()}; n.focus=function(){this.focused=!0;this.activate()}; n.activate=function(){this.active=!0;this.Fa()}; n.deactivate=function(){this.active=!1;this.Fa()}; n.Ei=function(){return this.label?this.active||this.i():!1};function cp(a){var b=a.icon,c=void 0===a.text?"":a.text,e=void 0===a.title?"":a.title,f=void 0===a.Eu?!1:a.Eu,h=void 0===a.size?void 0:a.size,k=void 0===a.vC?void 0:a.vC,l=void 0===a.Oq?!1:a.Oq,p=void 0===a.filled?!1:a.filled,r=void 0===a.Yt?!1:a.Yt,u=a.trigger,z=a.tabIndex,la=void 0===a.ariaLabel?"":a.ariaLabel;a=void 0===a.Lc?"rem":a.Lc;E.call(this,"sc.shared.MaterialFab");this.i=!1;this.icon=k?new sk({icon:b,yb:!0,size:k,Lc:a}):new sk({icon:b,yb:!0,Lc:a});this.text=c;this.title=e;this.Eu=f;this.size= h;this.Oq=l;this.filled=p;this.Yt=r;this.trigger=u;this.overlay=new tk;this.tabIndex=void 0===z?null:String(z);this.ariaLabel=la} w(cp,E);cp.prototype.content=function(){var a=this,b=["class",{root:!0,extended:this.text,mini:this.Eu,lowered:this.Oq,filled:this.filled,"fake-focus":this.i,grey:this.Yt},"tabindex",this.tabIndex,"onclick",this.trigger,"onkeydown",function(e){a.Yb(e)}, "aria-label",this.ariaLabel];this.title&&b.push("title",this.title);if(this.size){var c=this.size+"px";b.push("style",{height:c,width:c})}this.element.apply(this,["button"].concat(Ba(b),[function(){a.element("span","class","icon",a.icon);a.text&&Wj(a.text);a.overlay.render()}]))}; cp.prototype.Yb=function(a){vk(this.overlay,a)};function dp(a){ok.call(this);this.Lj=!1;this.text=this.group="";this.selected=this.disabled=!1;this.Ef(a)} w(dp,ok);n=dp.prototype;n.Ef=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.Wh,l=a.sj,p=void 0===a.Lj?!1:a.Lj;this.group=void 0===a.group?"":a.group;this.selected=e;this.text=b;this.content=f;this.ariaLabel=h;this.Wh=k;this.disabled=c;this.sj=l;this.Lj=p}; n.getGroup=function(){return this.group}; n.getText=function(){return this.text}; n.getContent=function(){return this.content}; n.Le=function(){return this.ariaLabel}; n.isSelected=function(){return this.selected}; n.setSelected=function(a){this.selected=a;var b;null==(b=this.sj)||b.call(this,this.selected);this.Ca(0)}; n.vc=function(){return this.disabled}; n.setDisabled=function(a){this.disabled=a;this.Ca(1)};function ep(a){a=void 0===a?{}:a;E.call(this,"sc.shared.MaterialRadio");this.id=nk();this.model=a instanceof dp?a:new dp(a);this.overlay=new tk({Qm:!0});this.i=null;this.watch(this.model)} w(ep,E); ep.prototype.content=function(a){var b=this;a&&this.model.Ef(a);this.element("div","class",{root:!0,disabled:this.model.vc(),"align-top":this.model.Lj},function(){b.element("div","class","touch-target","onclick",function(){b.model.vc()||!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.Le(),"aria-describedby",b.model.Wh,"disabled", b.model.vc(),"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(){uk(b.overlay,0,0,!0)},c||e)})}; ep.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"))}; ep.prototype.isSelected=function(){return this.model.isSelected()};function fp(a){var b=Object.assign({},a),c=a.content,e=void 0===a.Kh?!0:a.Kh,f=void 0===a.Vk?"placement-start":a.Vk,h=void 0===a.Op?"alignment-start":a.Op,k=void 0===a.style?"style-normal":a.style;a=a.Tp;b=(delete b.content,delete b.Kh,delete b.Vk,delete b.Op,delete b.style,delete b.Tp,b);E.call(this,"sc.shared.MaterialRichTooltip");var l=this;this.o=!1;this.Wd=this.Vd=0;this.u=c;this.Kh=e;this.ua=f;this.oa=h;this.va=k;this.Tp=a;this.i=new zm(Object.assign({},{content:function(){gp(l)}, wj:!0,tm:!1,Sp:!1},b))} w(fp,E);n=fp.prototype;n.open=function(a){this.Kh?this.i.open(a):(this.o=!0,this.Fa())}; n.vb=function(){return this.Kh?this.i.vb():this.o}; n.close=function(){this.Kh?this.i.close():(this.o=!1,this.Fa())}; function hp(a,b){var c=b.Wd;if(!a.Kh){var e;a.Vd=null!=(e=b.Vd)?e:a.Vd;a.Wd=null!=c?c:a.Wd;a.Fa()}} n.Xd=function(){return!0}; n.content=function(){var a=this;this.Kh?this.i.render():this.element("div","class","popup-container","style",{visibility:this.o?"visible":"hidden",transform:"translate("+this.Vd+"px, "+this.Wd+"px)"},function(){gp(a)})}; function gp(a){a.element("div","class","root "+a.ua+" "+a.va,function(){a.element("div","class","container","style",{padding:a.Tp},a.u);a.element("div","class","clip-track "+a.oa,function(){a.element("div","class","clip",function(){a.element("div","class","caret")})})})} ;function ip(a){ok.call(this);this.inputType="";this.Be=!1;this.nf=!0;this.Rq=this.rows=0;this.Tq=1;this.Ln=this.text=this.label="";this.qc=this.filled=!1;this.We=!0;this.disabled=this.wv=!1;this.placeholder="";this.Gc=[];this.error="";this.maxLength=void 0;this.Br=this.ariaInvalid=this.ariaRequired=!1;this.icon=void 0;this.jl=!1;this.Kq=!0;this.tb=void 0;this.Ef(a)} w(ip,ok);n=ip.prototype; n.Ef=function(a){var b=void 0===a.Be?!1:a.Be,c=void 0===a.nf?!0:a.nf,e=void 0===a.rows?0:a.rows,f=void 0===a.Rq?0:a.Rq,h=void 0===a.Tq?1:a.Tq,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.Ln?"":a.Ln,u=void 0===a.filled?!1:a.filled,z=void 0===a.qc?!1:a.qc,la=void 0===a.We?!0:a.We,ma=void 0===a.wv?!1:a.wv,qa=void 0===a.disabled?!1:a.disabled,sa=void 0===a.Ld?void 0:a.Ld,ua=void 0===a.ke?void 0:a.ke,xa=void 0===a.Ce?void 0:a.Ce,Ea=void 0=== a.Tl?void 0:a.Tl,Ha=void 0===a.Ru?void 0:a.Ru,Ka=void 0===a.Gc?["self"]:a.Gc,ab=void 0===a.error?"":a.error,cb=a.maxLength,tb=void 0===a.ariaRequired?!1:a.ariaRequired,wb=void 0===a.ariaInvalid?!1:a.ariaInvalid,lb=void 0===a.Br?!1:a.Br,Wa=void 0===a.icon?void 0:a.icon,bb=void 0===a.jl?!1:a.jl,Rb=void 0===a.Kq?!0:a.Kq,ed=void 0===a.tb?void 0:a.tb;this.inputType=void 0===a.inputType?"":a.inputType;this.Be=b;this.rows=e;this.Rq=f;this.Tq=h;this.label=k;this.placeholder=l;this.text=p;this.Ln=r;this.filled= u;this.qc=z;this.We=la;this.wv=ma;this.disabled=qa;this.Ld=sa;this.ke=ua;this.Ce=xa;this.Tl=Ea;this.Ru=Ha;this.Gc=Ka;this.error=ab;this.nf=c;this.maxLength=cb;this.ariaRequired=tb;this.ariaInvalid=wb;this.Br=lb;this.icon=Wa;this.jl=bb;this.Kq=Rb;this.tb=ed}; n.Xj=function(){return this.nf}; n.getLabel=function(){return this.label}; n.getRows=function(){return this.rows}; n.getMaxRows=function(){return this.Rq}; n.getText=function(){return this.text}; n.setText=function(a){a!==this.text&&(this.text=a,this.Ca(0))}; n.getPlaceholder=function(){return this.placeholder}; n.setPlaceholder=function(a){a!==this.placeholder&&(this.placeholder=a,this.Ca(1))}; n.getError=function(){return this.error}; n.setError=function(a){a!==this.error&&(this.error=a,this.ariaInvalid=""!==a,this.Ca(2))}; n.vc=function(){return this.disabled}; n.setDisabled=function(a){a!==this.disabled&&(this.disabled=a,this.Ca(3))}; n.Me=function(){return this.icon};function jp(a){a=void 0===a?{}:a;E.call(this,"sc.shared.MaterialTextField");this.labelId=nk();this.u=nk();this.oa=nk();this.i=null;this.isComposing=this.focused=!1;this.model=a instanceof ip?a:new ip(a);this.watch(this.model)} w(jp,E);function qea(a){return a.model.Xj()?a.i?a.i:new bp({label:a.model.getPlaceholder(),Lq:a.model.getLabel()?void 0:kp(a),Yi:a.model.We,disabled:a.model.vc(),filled:a.model.filled,qc:a.model.qc,Be:a.model.Be,Ei:function(){return""!==a.model.getText()}, ariaHidden:!0}):null} n=jp.prototype; n.content=function(a){var b=this;a&&this.model.Ef(a);this.i=qea(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&&pea(b.i,!!b.model.getError());var c=b.model.tb?lp(b.model.tb,{id:"sc.shared.MaterialTextField"}):void 0,e=c?c.attributes({Kp:!1,Lp:!1}):"";b.element("div","class",{"input-container":!0,multiline:b.model.Be,dense:b.model.qc,invalid:b.model.getError(),outlined:!b.model.filled,filled:b.model.filled, disabled:b.model.vc()},function(){b.element(b.model.getLabel()?"div":"label","class",{box:!0,"box-no-label":b.model.filled&&!b.model.We,"filled-box":b.model.filled&&!b.model.qc&&(b.model.We||b.model.Be),"filled-label":b.model.filled&&!b.model.qc&&b.model.We,"outlined-box":!b.model.filled&&b.model.We},function(){var h=b.ij.apply(b,[b.model.Be?"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.We?"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.vc(),"aria-disabled",b.model.vc(),"aria-labelledby",rea(b),"maxlength",b.model.maxLength,"onfocus",function(k){b.ke();c&&c.kq(k)}, "onblur",function(){return void b.Ce()}, "oninput",function(){return void mp(b)}, "onkeyup",function(k){if("Enter"===k.key){var l;null==(l=b.model.Tl)||l()}else if("Tab"===k.key){var p;null==(p=b.model.Ru)||p()}}, "onkeydown",function(k){b.Yb(k);c&&c.Jq(k)}, "onkeypress",function(k){b.model.Br&&k.stopPropagation()}, "aria-required",b.model.ariaRequired,"aria-invalid",b.model.ariaInvalid,"tabindex",b.model.Kq?"0":"-1"].concat(Ba(e)));b.o!==h&&(b.o=h,b.o.addEventListener("compositionstart",function(){b.isComposing=!0}),b.o.addEventListener("compositionend",function(){b.isComposing=!1; mp(b)})); b.o.value=b.model.getText();b.model.Be&&0===b.model.getRows()&&(h=sea(b),b.o.style.height=h+"px",0===h&&(b.o.style.overflowY="hidden"));b.model.jl&&b.model.Me()&&(!b.model.filled&&b.model.We?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.Ln;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.vc(),"helper-text-filled":b.model.filled,"helper-text-outlined":!b.model.filled,"helper-text-hidden":!b.model.getError()&&b.model.wv&&!b.focused},f),b.o.setAttribute("aria-describedby",b.u))})}; function rea(a){return a.model.Gc?a.model.Gc.map(function(b){return"self"===b?kp(a):b}).join(" "):kp(a)} function kp(a){if(a.model.getLabel()||a.model.getPlaceholder())return a.labelId} function sea(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.mx&&(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")}}; np.prototype.Nb=function(){qp(this)}; function qp(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 op(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(op(a,c.value))return!0;return!1} var tea=hk("sc.shared.MaterialTooltip");function rp(){try{return!!window.localStorage}catch(a){return!1}} function sp(a,b){if(rp())try{window.localStorage.setItem(a,JSON.stringify(b))}catch(c){}} function tp(a){var b={},c=void 0===b.removeItem?!1:b.removeItem;b=void 0===b.ZL?!0:b.ZL;if(!rp())return null;try{var e=window.localStorage.getItem(a);if(!e)return null;b&&(e=JSON.parse(e));c&&rp()&&window.localStorage.removeItem(a);return e}catch(f){return null}} ;function up(){this.o={};this.i=0} n=up.prototype;n.format=function(a){var b=[],c=ai("SafeHtmlFormatter:");a=ai(a).replace(new RegExp("\\{"+c+"[\\w&#;]+\\}","g"),nb(this.uL,this,b));b.join(">, <");return $f(a)}; n.uL=function(a,b){a=this.o[b];if(!a)return b;b="";a.Tb&&(b+="<"+a.Tb+a.attributes+">");a.html&&(b+=a.html);a.Sb&&(b+="");return b}; n.Tb=function(a,b){ag(a);return vp(this,{Tb:a,attributes:fg(b)})}; n.Sb=function(a){ag(a);return vp(this,{Sb:a})}; n.text=function(a){return vp(this,{html:ai(a)})}; n.safeHtml=function(a){return vp(this,{html:Yf(a).toString()})}; function vp(a,b){a.i++;var c="{SafeHtmlFormatter:"+a.i+"_"+ei()+"}";a.o[ai(c)]=b;return c} ;function wp(a,b){b=void 0===b?fh().hc:b;this.o=a;this.ma={};b&&(this.ma.helpcenter=b)} n=wp.prototype;n.nk=function(a){this.oa=a;return this}; n.onError=function(a){this.u=a;return this}; n.YC=function(a){this.ua=a;return this}; n.Bh=function(a,b){this.ma[a]=b;return this}; n.start=function(a){var b=this;a=void 0===a?fh().upload_hostname:a;var c=new XMLHttpRequest;c.open("POST",a+"/upload");c.withCredentials=!0;c.addEventListener("load",function(){try{var e=JSON.parse(c.responseText);uea(b,e.sessionStatus.externalFieldTransfers[0].formPostInfo.url)}catch(f){xp(b)}}); c.addEventListener("error",function(){return xp(b)}); c.addEventListener("abort",function(){return xp(b)}); c.send(vea(this));return this}; function uea(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.va=e.document_id;a.oa&&a.oa()}catch(f){xp(a)}}); c.upload.addEventListener("progress",function(e){a.ua&&a.ua(e.lengthComputable?Math.max(e.loaded-(e.total-a.o.size),0):0)}); c.addEventListener("error",function(){return xp(a)}); c.addEventListener("abort",function(){return xp(a)}); b=new FormData;b.append("Filedata",a.o,a.o.name);c.send(b)} function xp(a){a.u&&a.u()} function vea(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.MI=function(){return this.i}; n.Bl=function(){return this.va}; wp.prototype.getDocumentId=wp.prototype.Bl;wp.prototype.getCnsFilename=wp.prototype.MI;wp.prototype.start=wp.prototype.start;wp.prototype.setMetadata=wp.prototype.Bh;wp.prototype.onProgress=wp.prototype.YC;wp.prototype.onError=wp.prototype.onError;wp.prototype.onSuccess=wp.prototype.nk;function yp(){var a=this;this.o=document.querySelector(".overlay");this.i=(new vo({className:"overlay-backdrop",Jp:"overlay-backdrop--active",JC:"overlay-backdrop--locked"})).setContent(this.o).onClose(function(){a.u.close()}); this.i.Jz(!0);this.i.Gz(!0);this.oa=this.o.querySelector(".overlay__close-button");this.oa.addEventListener("click",function(){a.i.close()}); this.u=new ko(this.o,function(b){b.uc.contentDocument.body.style.padding="2.5rem 3.25rem"},null)} yp.prototype.ma=oa(4);window.sc_initOverlay=function(){return new yp};var wea={"ads.svg":rf('\n'),"alumnus_expert.svg":rf('\n'), "beenhere.svg":rf('\n'),"bids_and_budgets.svg":rf('\n'), "bronze_expert.svg":rf('\n'),"community_specialist.svg":rf('\n'), "diamond_expert.svg":rf('\n'), "error_computer.svg":rf('\n'), "gold_expert.svg":rf('\n'), "google_employee.svg":rf('\n'),"guidebook.svg":rf('\n\n\n'), "keywords_and_targeting.svg":rf('\n'),"laptop_check.svg":rf('\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n'), "legacy_expert.svg":rf('\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n'), "logo_googleg_48dp.svg":rf('\n \n \n \n \n \n\n'), "no_notifications.svg":rf('\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":rf('\n'), "page_desktop_dark.svg":rf('\n'), "platinum_expert.svg":rf('\n'), "play.svg":rf('\n'),"quickreply.svg":rf('\n'),"search.svg":rf('\n'), "silver_expert.svg":rf('\n'), "stop.svg":rf('\n'),"volunteer_activism.svg":rf('\n'), "workflow.svg":rf('\n'), "workflow_dark.svg":rf('\n')};function zp(a){E.call(this,"sc.shared.TsAssetInterop");this.i=a} w(zp,E);zp.prototype.content=function(){dk(wea[this.i])};var xea=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"]]),Ap=new Map([[0,"workflow_dark.svg"]]); function Bp(a){var b=void 0===a.yb?!1:a.yb,c=void 0===a.Bx?!1:a.Bx,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.zv?!1:a.zv;E.call(this,"sc.icon.Icon");f=f&&Ap.has(e)?Ap.get(e):xea.get(e);if(void 0===f)throw Error("The icon asset "+e+" is undefined.");this.yb=b;this.Bx=c;this.size=h;this.i=new zp(f);this.title=k;this.zv=a} w(Bp,E);Bp.prototype.content=function(){var a=this;this.element("div","class",{root:!0,baseline:this.yb,"text-bottom":this.zv,flip:this.Bx},"title",this.title,"style",{height:this.size+"px",width:this.size+"px"},function(){a.i.render()})};function Cp(a){A.call(this,a,-1,yea)} w(Cp,A);var yea=[1,2,3,4];function Dp(a){A.call(this,a,-1,zea)} w(Dp,A);var zea=[2];function Ep(a){A.call(this,a,31,Aea)} w(Ep,A);Ep.prototype.getTag=function(){return x(this,2)}; Ep.prototype.setTag=function(a){return y(this,2,a)}; Ep.prototype.Bf=oa(6);var Aea=[3,20,27];function Fp(a,b,c){fn.call(this);this.ya=null!=c?a.bind(c):a;this.oa=b;this.u=null;this.o=!1;this.ma=0;this.i=null} w(Fp,fn);n=Fp.prototype;n.QB=function(a){this.u=arguments;this.i||this.ma?this.o=!0:Gp(this)}; n.stop=function(){this.i&&(fb.clearTimeout(this.i),this.i=null,this.o=!1,this.u=null)}; n.pause=function(){this.ma++}; n.resume=function(){this.ma--;this.ma||!this.o||this.i||(this.o=!1,Gp(this))}; n.xe=function(){fn.prototype.xe.call(this);this.stop()}; function Gp(a){a.i=Fn(function(){a.i=null;a.o&&!a.ma&&(a.o=!1,Gp(a))},a.oa); var b=a.u;a.u=null;a.ya.apply(null,b)} ;function Hp(a){if(!a)return"";if(/^about:(?:blank|srcdoc)$/.test(a))return window.origin||"";a=a.split("#")[0].split("?")[0];a=a.toLowerCase();0==a.indexOf("//")&&(a=window.location.protocol+a);/^[\w\-]*:\/\//.test(a)||(a=window.location.href);var b=a.substring(a.indexOf("://")+3),c=b.indexOf("/");-1!=c&&(b=b.substring(0,c));c=a.substring(0,a.indexOf("://"));if(!c)throw Error("URI is missing protocol: "+a);if("http"!==c&&"https"!==c&&"chrome-extension"!==c&&"moz-extension"!==c&&"file"!==c&&"android-app"!== c&&"chrome-search"!==c&&"chrome-untrusted"!==c&&"chrome"!==c&&"app"!==c&&"devtools"!==c)throw Error("Invalid URI scheme in origin: "+c);a="";var e=b.indexOf(":");if(-1!=e){var f=b.substring(e+1);b=b.substring(0,e);if("http"===c&&"80"!==f||"https"===c&&"443"!==f)a=":"+f}return c+"://"+b+a} ;function Bea(){function a(){f[0]=1732584193;f[1]=4023233417;f[2]=2562383102;f[3]=271733878;f[4]=3285377520;u=r=0} function b(z){for(var la=k,ma=0;64>ma;ma+=4)la[ma/4]=z[ma]<<24|z[ma+1]<<16|z[ma+2]<<8|z[ma+3];for(ma=16;80>ma;ma++)z=la[ma-3]^la[ma-8]^la[ma-14]^la[ma-16],la[ma]=(z<<1|z>>>31)&4294967295;z=f[0];var qa=f[1],sa=f[2],ua=f[3],xa=f[4];for(ma=0;80>ma;ma++){if(40>ma)if(20>ma){var Ea=ua^qa&(sa^ua);var Ha=1518500249}else Ea=qa^sa^ua,Ha=1859775393;else 60>ma?(Ea=qa&sa|ua&(qa|sa),Ha=2400959708):(Ea=qa^sa^ua,Ha=3395469782);Ea=((z<<5|z>>>27)&4294967295)+Ea+xa+Ha+la[ma]&4294967295;xa=ua;ua=sa;sa=(qa<<30|qa>>>2)& 4294967295;qa=z;z=Ea}f[0]=f[0]+z&4294967295;f[1]=f[1]+qa&4294967295;f[2]=f[2]+sa&4294967295;f[3]=f[3]+ua&4294967295;f[4]=f[4]+xa&4294967295} function c(z,la){if("string"===typeof z){z=unescape(encodeURIComponent(z));for(var ma=[],qa=0,sa=z.length;qar?c(l,56-r):c(l,64-(r-56));for(var ma=63;56<=ma;ma--)h[ma]=la&255,la>>>=8;b(h);for(ma=la=0;5>ma;ma++)for(var qa=24;0<=qa;qa-=8)z[la++]=f[ma]>>qa&255;return z} 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 z=e(),la="",ma=0;mal?"":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.Qi()?"https://www.google.com/log?format=json&hasfast=true":"https://play.google.com/log?format=json&hasfast=true");return a.Ua} n.dispatch=function(a){if(a instanceof Ep)this.log(a);else{var b=new Ep;a=a.serialize();b=y(b,8,a);this.log(b)}}; function $p(a,b){b?(a.ma||(a.ma=new Dp),b=b.serialize(),y(a.ma,4,b)):a.ma&&de(a.ma,4)} function aq(a,b){a.oa=new Pp(1>b?1:b);a.i.setInterval(a.oa.getValue())} n.log=function(a){a=a.clone();var b=this.Pi++;y(a,21,b);this.Qa&&y(a,26,this.Qa);if(!x(a,1)){b=a;var c=Date.now().toString();y(b,1,c)}Od(a,15)||(b=60*(new Date).getTimezoneOffset(),y(a,15,b));this.ma&&(b=this.ma.clone(),ne(a,Dp,16,b));for(;this.o.length>=this.bufferSize;)this.o.shift(),++this.Aa;this.o.push(a);this.dispatchEvent(new bq(a));this.Va||this.i.enabled||this.i.start()}; n.flush=function(a,b){var c=this;if(0===this.o.length)a&&a();else if(this.ob)cq(this);else{var e=Date.now();if(this.Nd>e&&this.Bbma||401===ma||0===ma);qa&&(c.o=sa.concat(c.o),c.Va||c.i.enabled||c.i.start());b&&b("net-send-failed",ma)},la=function(){c.Cc?c.Cc.send(r,u,z):c.Jf(r,u,z)}; p?p.then(function(ma){r.sz["Content-Encoding"]="gzip";r.sz["Content-Type"]="application/binary";r.body=ma;r.tH=2;la()},function(){la()}):la()}}}}; n.Ax=function(){this.La||(this.Ka&&cq(this),this.Ia&&Kea(this),this.flush())}; function cq(a){dq(a,32,10,function(b,c){b=Pn(b,"format","json");b=window.navigator.sendBeacon(b,c.serialize());a.ob&&!b&&(a.ob=!1);return b})} function Kea(a){dq(a,6,5,function(b,c){b=On(b,"format","base64json","p",Ac(c.serialize(),3));if(15360 .heading").getAttribute("data-search-dym-tracking-id"),a.qz(f,b,h,e,c)):(e=""!==dh("symptom"),a.xo(f,h,b.getAttribute("data-search-rank"),b.getAttribute("data-search-result-id"),b.getAttribute("data-search-request-id"),b.getAttribute("data-search-url"), b.getAttribute("data-search-flow"),b.getAttribute("data-search-ctx"),e,c))}} function Oea(a,b){function c(){h&&k&&((window.sc_delayLocationHandler=e)?e(f):wh(f))} if("_blank"==a.target||b.shiftKey||b.ctrlKey||b.metaKey)return null;var e=window.sc_delayLocationHandler,f,h=!1,k=!1;window.sc_delayLocationHandler=function(){h=!0;c()}; return function(l){k=!0;f=l;c()}} n.xo=function(a,b,c,e,f,h,k,l,p,r){Fq(this,function(){var u=Gq(p?"suggestion_clicked":"search_results_clicked",b,k,l);jq(u,"q",a);jq(u,"clickRank",c);jq(u,"resultId",e);jq(u,"requestId",f);jq(u,"shownContentList",h);return u},h,function(){var u=Hq(p?15:6,b,k,l); var z=u.setQuery(a);z=y(z,11,Number(c));var la=xq(vq(wq(new uq,e),f),3);z=ne(z,uq,43,la);y(z,8,h);return u},r)}; n.qz=function(a,b,c,e,f){Fq(this,function(){var h=Gq("suggestion_clicked",c);jq(h,"q",a);e&&jq(h,"dymTrackingId",e);return h},b,function(){return null},f)}; n.iz=function(a,b,c){Fq(this,function(){var e=Gq("autocomplete_search_query",fh().visit_id,b);jq(e,"q",a);return e},"",function(){var e=Hq(24,fh().visit_id,b); e.setQuery(a);return e},c)}; n.fz=function(a,b,c,e){Fq(this,function(){var f=Gq("autocomplete_results_clicked",fh().visit_id,c);jq(f,"q",a);jq(f,"shownContentList",b);return f},b,function(){var f=Hq(31,fh().visit_id,c),h=f.setQuery(a); y(h,8,b);return f},e)}; n.gz=function(a,b){Iq(this,function(){var c=Gq("autocomplete_click_impressions",fh().visit_id,b);jq(c,"shownContentList",a.join("|"));return c},function(){var c=Hq(47,fh().visit_id,b),e=a.join("|"); y(c,8,e);return c},"sc_nullFunction")}; function Fq(a,b,c,e,f){f&&f instanceof Function?(window.sc_searchMetricsLinkCallback=function(){f(c)},Iq(a,b,e,"sc_searchMetricsLinkCallback")):Iq(a,b,e,"sc_nullFunction")} function Iq(a,b,c,e){b=b();c=c();c=void 0===c?null:c;var f="asxvmprobertest@gmail.com"==fh().ge;if((a.i||"true"===Kh("initializeMojoMetrics"))&&!f&&(b&&(jq(b,"callback",e),f=ki("SCRIPT"),f.onerror=window[e],zg(f,b.build()),document.body.appendChild(f)),c)){var h;null==(h=a.transport)||h.dispatch(c)}} n.lD=function(a){Iq(this,function(){var b=Gq("article_help_link_clicked",fh().visit_id,"help");jq(b,"url",a);return b},function(){var b=Hq(28,fh().visit_id,"help"); b.setUrl(a);return b},"sc_nullFunction")}; n.mD=function(a){Iq(this,function(){var b=Gq("opened_to_article",fh().visit_id,"help");jq(b,"shownContentList",a);return b},function(){var b=Hq(23,fh().visit_id,"help"); y(b,8,a);return b},"sc_nullFunction")}; n.Zu=function(a,b,c,e,f,h,k,l){e=e||dh("query")||dh("q");h=h||""!==dh("symptom");Iq(this,function(){var p=Gq(h?"shown_suggestions":"shown_search_results",a,f,k);jq(jq(p,"requestId",b),"shownContentList",c.join("|"));e&&jq(p,"q",e);l&&jq(p,"dymTrackingId",l);return p},function(){var p=Hq(h?13:14,a,f,k),r=p.setQuery(e),u=c.join("|"); y(r,8,u);r=new pq;u=new oq;u=y(u,1,1);r=oe(r,oq,8,qq,u);u=vq(new uq,b);var z=u.setTimestamp,la=new Date(Date.now()),ma=new Ik;la=la.getTime();ma.setSeconds(Math.floor(la/1E3)).setNanos(la%1E3*1E6);r=yq(xq(z.call(u,ma),1),r);ne(p,uq,43,r);return p},"sc_nullFunction")}; function Pea(a){switch(a){case 201:return"nd4c_requested";case 45:return"shown_contact_us";case 46:return"contact_us_clicked"}return""} function Qea(a){switch(void 0===a?0:a){case 8:return"nd4c_email";case 9:return"nd4c_phone";case 10:return"nd4c_chat"}return null} function Jq(a,b,c){c=void 0===c?0:c;Iq(a,function(){var e=Qea(c),f=Gq(Pea(b),fh().visit_id,"help");e&&jq(f,"contactMode",e);return f},function(){var e=Hq(b,fh().visit_id,"help"); c&&y(e,27,c);return e},"sc_nullFunction")} n.nz=function(){Jq(this,201)}; n.mz=function(){Jq(this,45,8)}; n.lz=function(){Jq(this,46,8)}; n.pz=function(){Jq(this,45,9)}; n.oz=function(){Jq(this,46,9)}; n.kz=function(){Jq(this,45,10)}; n.jz=function(){Jq(this,46,10)}; n.Zl=function(a,b,c,e,f,h){h=void 0===h?15:h;Iq(this,function(){var k=Gq(197==h?"search_intent_clicked":"suggestion_clicked",a);jq(k,"requestId",b);jq(k,"resultId",c);void 0!==e&&jq(k,"clickRank",e);void 0!==f&&jq(k,"shownContentList",f);return k},function(){var k=Hq(h,a),l=xq(wq(vq(new uq,b),c),3); ne(k,uq,43,l);void 0!==e&&y(k,11,Number(e));void 0!==f&&y(k,8,f);return k},"sc_nullFunction")}; function Gq(a,b,c,e){a=jq(jq(jq(jq(jq(jq(jq(new iq,"flow",c||"support-content"),"gfSessionId",b),"hcName",fh().hc),"locale",fh().lang),"authuser",fh().au),"useAnonymousMetrics","false"),"userAction",a);(e=e||Kq())&&jq(a,"productSpecificContext",e);"help"===c&&jq(a,"useInappHelpPanel","true");(c=Kh("productEscalationsId"))&&jq(a,"productId",c);return a} function Hq(a,b,c,e){var f=new Bq;f=y(f,42,fh().lang);c=y(f,33,c||"support-content");c=y(c,44,fh().hc);b=y(c,5,b);a=y(b,25,a);(e=e||Kq())&&y(a,4,e);(e=Number(Kh("productEscalationsId")))&&y(a,45,e);return a} function Kq(){var a=fh().query_params.find(function(b){return"ec"==b.key}); return a?a.value:""} Dq.prototype.reportSearchResultsFeatureClick=Dq.prototype.Zl;Dq.prototype.reportNewDealChatClicked=Dq.prototype.jz;Dq.prototype.reportNewDealChatDisplayed=Dq.prototype.kz;Dq.prototype.reportNewDealTfnClicked=Dq.prototype.oz;Dq.prototype.reportNewDealTfnDisplayed=Dq.prototype.pz;Dq.prototype.reportNewDealEmailClicked=Dq.prototype.lz;Dq.prototype.reportNewDealEmailDisplayed=Dq.prototype.mz;Dq.prototype.reportNewDealRequested=Dq.prototype.nz;Dq.prototype.reportImpressions=Dq.prototype.Zu; Dq.prototype.reportOpenedToArticle=Dq.prototype.mD;Dq.prototype.reportArticleHelpLinkClicked=Dq.prototype.lD;Dq.prototype.reportAutocompleteImpressions=Dq.prototype.gz;Dq.prototype.reportAutocompleteClick=Dq.prototype.fz;Dq.prototype.reportAutocompleteSearch=Dq.prototype.iz;Dq.prototype.reportSpellingClick=Dq.prototype.qz;Dq.prototype.reportClick=Dq.prototype.xo;Dq.prototype.setUpMojoReportingForSpelling=Dq.prototype.RD;Dq.prototype.setUpMojoReportingForSearchResults=Dq.prototype.QD;var Lq; qb("hcfe.MojoMetrics",Dq);window.sc_initMojoMetrics=function(){Lq||(Lq=new Dq,Lq.QD(),Lq.RD(),window.sc_trackSearchResultImpressions=window.sc_trackSearchResultEnabledRceTracking?window.sc_nullFunction:Lq.Zu.bind(Lq))};function Mq(a,b){this.ma=a;this.o=a.parentNode;this.i=b;this.i.counter&&this.i.count&&Nq(this,[{key:this.i.counter,value:(this.i.count+1).toString()}]);this.ma.addEventListener("click",this.u.bind(this))} Mq.prototype.u=function(){this.i.id&&Nq(this,[{key:this.i.id,value:(new Date).getTime().toString()}]);this.o.parentNode.removeChild(this.o)}; function Nq(a,b){var c=fh();(new Image).src=c.ehn+"/apis/prefinsert?pb="+encodeURIComponent(JSON.stringify({common_params:{context_params:{experiment_id:c.mendel_ids}},resource:{user_pref:b,helpcenter:c.hc,key_type:a.i.type}}))} window.sc_initNotification=function(a,b){new Mq(a,b)};function Oq(a){A.call(this,a)} w(Oq,A);function Pq(a){A.call(this,a)} w(Pq,A);Pq.prototype.getLanguage=function(){return x(this,3)}; Pq.prototype.setLanguage=function(a){return y(this,3,a)}; var Qq=[2,3];function Rq(a){A.call(this,a)} w(Rq,A);Rq.prototype.getId=function(){return x(this,1)}; Rq.prototype.setId=function(a){return y(this,1,a)};function Sq(a){A.call(this,a)} w(Sq,A);Sq.prototype.getState=function(){return $d(this,1,0)}; Sq.prototype.getVisibility=function(){return $d(this,2,0)}; Sq.prototype.setVisibility=function(a){return y(this,2,a)}; Sq.prototype.clearOffTopic=function(){return de(this,7)};function Tq(a){A.call(this,a,-1,Rea)} w(Tq,A);n=Tq.prototype;n.getIndex=function(){return x(this,2)}; n.Bh=function(a){return ne(this,Sq,5,a)}; n.getTypeInfo=function(){return ke(this,Uq,6)}; n.getLanguage=function(){return x(this,39)}; n.setLanguage=function(a){return y(this,39,a)}; function Uq(a){A.call(this,a)} w(Uq,A);Uq.prototype.getType=function(){return $d(this,1,1)}; Uq.prototype.setType=function(a){return y(this,1,a)}; var Rea=[9,38];function Vq(a){A.call(this,a,-1,Sea)} w(Vq,A);n=Vq.prototype;n.Fo=oa(8);n.getTitle=function(){return x(this,9)}; n.setTitle=function(a){return y(this,9,a)}; n.getLanguage=function(){return x(this,14)}; n.setLanguage=function(a){return y(this,14,a)}; n.getState=function(){return $d(this,15,10)}; n.Bh=function(a){return ne(this,Sq,12,a)}; n.Dc=function(){return x(this,22)}; function Wq(a){A.call(this,a)} w(Wq,A);n=Wq.prototype;n.getKey=function(){return x(this,1)}; n.setKey=function(a){return y(this,1,a)}; n.getValue=function(){return x(this,2)}; n.setValue=function(a){return y(this,2,a)}; n.Rb=function(){return Ge(this,2)}; var Sea=[16,18,47,44,33,34,40,46];function Xq(a){A.call(this,a,-1,Tea)} w(Xq,A);var Tea=[5,8];function Yq(a){A.call(this,a)} w(Yq,A);Yq.prototype.getName=function(){return x(this,1)}; Yq.prototype.Eg=function(){return x(this,1)}; Yq.prototype.setName=function(a){return y(this,1,a)};function Zq(a){A.call(this,a)} w(Zq,A);function $q(a,b){return ne(a,Yq,2,b)} ;function ar(a){A.call(this,a,-1,Uea)} w(ar,A);n=ar.prototype;n.getId=function(){return x(this,1)}; n.setId=function(a){return y(this,1,a)}; n.getType=function(){return x(this,3)}; n.setType=function(a){return y(this,3,a)}; n.getTitle=function(){return x(this,4)}; n.setTitle=function(a){return y(this,4,a)}; n.getDescription=function(){return x(this,5)}; n.setDescription=function(a){return y(this,5,a)}; n.getValue=function(){return x(this,6)}; n.setValue=function(a){return y(this,6,a)}; n.Rb=function(){return Ge(this,6)}; var Uea=[2,11,12,16,17];function br(a){A.call(this,a,-1,Vea)} w(br,A);br.prototype.getHeading=function(){return x(this,2)}; br.prototype.setHeading=function(a){return y(this,2,a)}; function cr(a){A.call(this,a)} w(cr,A);function dr(a){A.call(this,a,3)} w(dr,A);function er(a){return ke(a,fr,1)} function gr(a){A.call(this,a)} w(gr,A);gr.prototype.setButton=function(a){return ne(this,dr,1,a)}; function hr(a){A.call(this,a)} w(hr,A);function fr(a){A.call(this,a,-1,Wea)} w(fr,A);n=fr.prototype;n.getType=function(){return x(this,1)}; n.setType=function(a){return y(this,1,a)}; n.getDescription=function(){return x(this,3)}; n.setDescription=function(a){return y(this,3,a)}; n.getValue=function(){return x(this,4)}; n.setValue=function(a){return y(this,4,a)}; n.Rb=function(){return Ge(this,4)}; function ir(a){A.call(this,a)} w(ir,A);function jr(a){A.call(this,a,-1,Xea)} w(jr,A);var Vea=[1],Wea=[14,15,20,21],kr=[10,17],Xea=[1];function lr(a){A.call(this,a,-1,Yea)} w(lr,A);n=lr.prototype;n.getUrl=function(){return x(this,1)}; n.setUrl=function(a){return y(this,1,a)}; n.getTitle=function(){return x(this,2)}; n.setTitle=function(a){return y(this,2,a)}; n.oh=function(){return x(this,3)}; n.getLanguage=function(){return x(this,10)}; n.setLanguage=function(a){return y(this,10,a)}; n.getPageType=function(){return x(this,15)}; n.Ib=function(){return x(this,22)}; function mr(a){return ke(a,nr,28)} function or(a){A.call(this,a)} w(or,A);or.prototype.Gl=function(){return x(this,1)}; or.prototype.nh=function(){return x(this,2)}; or.prototype.getTimestamp=function(){return x(this,5)}; or.prototype.setTimestamp=function(a){return y(this,5,a)}; function nr(a){A.call(this,a)} w(nr,A);nr.prototype.getThumbnail=function(){return x(this,2)}; nr.prototype.hasThumbnail=function(){return Ge(this,2)}; nr.prototype.getTimestamp=function(){return x(this,4)}; nr.prototype.setTimestamp=function(a){return y(this,4,a)}; var Yea=[6,24,27];function pr(a){A.call(this,a,-1,Zea)} w(pr,A);var Zea=[1];function qr(a){A.call(this,a,-1,$ea)} w(qr,A);qr.prototype.Rf=function(){return x(this,3)}; qr.prototype.Ib=function(){return x(this,14)}; var $ea=[1,5,6,8,10,11];function rr(a){A.call(this,a,-1,afa)} w(rr,A);function sr(a){A.call(this,a)} w(sr,A);sr.prototype.getActive=function(){return Xd(this,3)}; sr.prototype.setActive=function(a){return y(this,3,a)}; var afa=[1];function tr(a){A.call(this,a)} w(tr,A);tr.prototype.getQuery=function(){return Be(this,1,ur)}; tr.prototype.setQuery=function(a){return ge(this,1,ur,a)}; tr.prototype.getStartIndex=function(){return x(this,2)}; var ur=[1,5];function vr(a,b,c){this.value=a;this.icon=b;this.ariaLabel=c} vr.prototype.toString=function(){return this.value}; var wr=new vr("error","gm/error_outline","Error notification"),xr=new vr("caution","gm/warning","Caution notification"),yr=new vr("informational","gm/info","Informational notification"),bfa=new vr("success","gm/check_circle_outline","Success notification"); function zr(a){var b=a.message,c=a.type,e=a.position,f=a.Yf,h=a.icon,k=void 0===a.color?!0:a.color,l=void 0===a.compact?!1:a.compact,p=void 0===a.Xu?!1:a.Xu;a=void 0===a.Sj?!1:a.Sj;E.call(this,"sc.shared.Callout");this.i=[];this.message=b;this.messageId=nk();this.type=c;this.position=e;this.icon=new sk({icon:null!=h?h:c.icon,yb:!0,size:l||p?20:24});this.color=k;this.compact=l;this.Xu=p;this.Sj=a;this.i=cfa(this,f)} w(zr,E);function cfa(a,b){return void 0===b?[]:(Array.isArray(b)?b:[b]).map(function(c){return new wk(Object.assign({},{style:1,compact:!0,Nj:a.messageId},c))})} zr.prototype.content=function(){var a=this,b=["root",this.type,this.position];this.color&&b.push("color");this.compact&&b.push("compact");this.Xu&&b.push("relaxed");this.Sj&&b.push("force-mobile-style");this.element("div","class",b.join(" "),"aria-label",this.type.ariaLabel,"aria-live","polite",function(){a.element("div","class","content",function(){a.element("div","class","icon-container","aria-hidden","true",a.icon);a.element("div","id",a.messageId,"class","message",a.message)}); 0>>0),la=[["js_request_id",z],["rr",1],["lc",1]],ma=zfa();0c?"-":"+"];c=Math.abs(c);e.push(Math.floor(c/60)%100);c%=60;0!=c&&e.push(":",di(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=dt(a);b.u=[c,c];b.i={HP:a,XA:a};b.o=[];return b}b=new bt;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 dt(a){var b=["GMT"];b.push(0>=a?"+":"-");a=Math.abs(a);b.push(di(Math.floor(a/60)%100,2),":",di(a%60,2));return b.join("")} function et(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]} bt.prototype.getOffset=function(a){a=this.oa-et(this,a);return-1440===a?0:a}; bt.prototype.getShortName=function(a){return this.u[0b)var c=a.i.gw[b];else if(8>b)c=a.i.YA[b-4];else if(12>b)c=a.i.TE[b-8],c=c.replace("{1}",a.i.gw[b-8]),c=c.replace("{0}",a.i.YA[b-8]);else if(12===b)c=a.i.gw[0].replace(/[^EMd]*yy*[^EMd]*/,"");else{gt(a,10);return}b=c;for(Pfa&&(b=b.replace(/\u200f/g,""));b;){c=b;for(var e=0;e=f?String.fromCharCode(a.aH+f-48):b.charAt(e))}b=c.join("")}return b} var Pfa=!1;function kt(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 lt(a,b){kt(b);b=it(b);return a.i.FE[12<=b&&24>b?1:0]} function Ofa(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),jt(a,di(c,k));case "Y":return c=e.getFullYear(),f=e.getMonth(),e=e.getDate(),c=at(c,f,e,a.i.tA,a.i.sA),c=(new Date(c)).getFullYear(),0>c&&(c=-c),2==k&&(c%=100),jt(a,di(c,k));case "M":a:switch(c=e.getMonth(),k){case 5:k=a.i.bG[c];break a;case 4:k=a.i.YF[c];break a;case 3:k=a.i.lG[c];break a;default:k=jt(a,di(c+1,k))}return k; case "k":return kt(f),c=it(f)||24,jt(a,di(c,k));case "S":return c=f.getMilliseconds()/1E3,jt(a,c.toFixed(Math.min(3,k)).slice(2)+(3k?a.i.mG[c]:a.i.gG[c];case "d":return jt(a,di(e.getDate(),k));case "m":return kt(f),jt(a,di(f.getMinutes?f.getMinutes():0,k));case "s":return kt(f),jt(a,di(f.getSeconds(),k));case "v":return(h||ct(c.getTimezoneOffset())).ma;case "V":a=h||ct(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(di(Math.floor(k/60)%100,2),di(k%60,2)),k=a.join("")):k=jt(a,dt(e.getOffset(c))),k;default:return""}} ;function mt(a){var b=a.parent,c=a.result,e=a.rank,f=a.Ab;a=a.ub;E.call(this,"sc.search.search_results_list.search_result.YoutubePreview");this.o="true"===Kh("MoltronSearchLoggerFeature__use_moltron_search_logger");this.u=new sk({icon:"gm/event_available",size:18});this.ua=new sk({icon:"gm/visibility",size:18});this.i=new sk({icon:"gm/play_circle"});this.oa="true"===Kh("YoutubeSearchResultsPreviewFeature__show_youtube_search_results_reduced");this.result=c;this.rank=e;var h;null!=b?(c=b.getUrl()+"#play=", e=null!=(h=x(this.result.i,5))?h:"",h=c+e):(h=new Map([["autoplay","1"]]),h=Mm(this.result.getUrl(),h,!0));this.url=h;var k;b=null!=(k=null==b?void 0:b.getTitle())?k:this.result.getTitle();k=nt(this);h=ot(this);this.ariaLabel=b+" (video content) published on "+k+" with "+h;this.Ab=f;this.ub=a} w(mt,E);mt.prototype.content=function(){var a=this;this.element("a","aria-label",this.ariaLabel,"class","youtube-preview","href",this.url,"onclick",function(b){return jm(b,function(){a.Vc(b.ctrlKey||b.shiftKey||b.metaKey)})},"onauxclick",function(b){return 1===b.button?jm(b,function(){a.Vc(!0)}):!0},"onkeydown",function(b){return km(b,function(){a.Vc()})},function(){2===fh().rs?a.element("div","class","help-panel-container",function(){pt(a)}):pt(a)})}; mt.prototype.Vc=function(a){a=void 0===a?!1:a;this.o?qt(this.ub,this.result.Ib(),Us(this.result),this.url):rt(this.Ab,String(this.rank),Us(this.result),this.url);Kk(8,"youtube_preview_click",136);Ar(this.url,{Rd:a})}; function pt(a){Qfa(a);a.element("div","class","container",function(){a.element("div","class","title",a.result.getTitle());a.element("div","class","labels",function(){2===fh().rs?a.element("span","class","label-container",nt(a)+" \u2022 "+ot(a)):a.oa||(Rfa(a),Sfa(a))})})} function Qfa(a){a.element("div","class","thumbnail-container",function(){var b=a.element,c,e;var f=null!=(e=null==(c=mr(a.result.i))?void 0:c.getThumbnail())?e:"";b.call(a,"img","class","thumbnail","role","none","alt","","src",f);b=a.element;var h,k;f=null!=(k=null==(h=mr(a.result.i))?void 0:x(h,3))?k:0;h=f%60;b.call(a,"span","class","duration",Math.floor(f/60)+":"+(10>h?"0":"")+h);2===fh().rs&&a.element("span","class","preview-label","Preview");a.element("span","class","play",a.i)})} function Rfa(a){a.element("span","class","label-container",function(){a.u.render();a.element("span","class","label",nt(a))})} function Sfa(a){a.element("span","class","label-container",function(){a.ua.render();a.element("span","class","label",ot(a))})} function nt(a){var b,c;a=null!=(c=null==(b=mr(a.result.i))?void 0:b.getTimestamp())?c:0;return 0===a?"":Tfa.format(new Date(a/1E3))} function ot(a){var b=Ufa,c=b.format,e,f;a=null!=(f=null==(e=mr(a.result.i))?void 0:x(e,1))?f:0;return c.call(b,a)+" views"} var Ufa=new Al(5),Tfa=new ft;var Vfa=new Map([[0,"gm/public"],[1,"gm/supervised_user_circle"],[2,"gm/question_answer"],[4,"gm/email"],[5,"gm/drive_document"],[6,"gm/language"]]),Wfa=new Map([[5,"Help article"],[2,"Community Post"],[3,"Troubleshooter"]]),Xfa=new Map([[5,"Check status"],[3,"Get started"]]);function st(a){ok.call(this);this.i=a;var b;this.nextPageToken=null!=(b=x(this.i,7))?b:"";this.results=me(this.i,lr,1).map(function(c){return new Ts(c)}); this.i.Ib()?this.o=this.i.Ib():0a.Mc().length} ;function xt(a){ok.call(this);this.metadata=a} w(xt,ok);function yt(a){var b;return null!=(b=a.metadata.vD)?b:""} function zt(a){var b;return null!=(b=a.metadata.searchFlowId)?b:""} xt.prototype.getStartIndex=function(){var a,b;return null!=(b=null==(a=this.metadata.searchQuery)?void 0:a.getStartIndex())?b:0}; xt.prototype.getQuery=function(){var a,b;return null!=(b=null==(a=this.metadata.searchQuery)?void 0:a.getQuery())?b:""};function At(a){A.call(this,a,-1,Yfa)} w(At,A);var Yfa=[1];function Bt(a){A.call(this,a)} w(Bt,A);Bt.prototype.getStatus=function(){return $d(this,2,0)}; Bt.prototype.getErrorMessage=function(){return ve(this,3)}; Bt.prototype.setErrorMessage=function(a){return y(this,3,a)};function Ct(a){A.call(this,a,-1,Zfa)} w(Ct,A);var Zfa=[2];function Dt(a){A.call(this,a)} w(Dt,A);function Et(a){a=void 0===a?{}:a;this.qj=new (void 0===a.HL?Bk:a.HL)({Zf:fh().mld+"/v1",serviceName:"MoltronLoggingService"})} function Ft(a,b,c,e){e=void 0===e?{}:e;var f=e.FH,h=e.pH,k,l,p;Xa(function(r){if(!b||!c)return r.return();k=new uq;vq(k,b);k.setTimestamp((new Ik).setSeconds(Math.floor(Date.now()/1E3)));wq(k,c);xq(k,3);if(f||h){l=new pq;if(f){var u=nq(1);p=y(u,2,f);oe(l,mq,3,qq,p)}h&&y(l,10,!0);yq(k,l)}return Na(r,Gt(a,k),0)})} function Ht(a,b,c,e){var f=(void 0===e?{wC:!1}:e).wC,h,k,l,p,r,u;Xa(function(z){if(!b)return z.return();h=[];k=t(c);for(l=k.next();!l.done;l=k.next())if(p=l.value)r=new uq,vq(r,b),r.setTimestamp((new Ik).setSeconds(Math.floor(Date.now()/1E3))),wq(r,p),xq(r,1),f&&(u=new pq,y(u,1,3),yq(r,u)),h.push(r);return Na(z,$fa(a,h),0)})} function It(a,b){var c,e;Xa(function(f){if(!b)return f.return();c=new uq;vq(c,b);c.setTimestamp((new Ik).setSeconds(Math.floor(Date.now()/1E3)));e=new kq;e.setType(3);e.setId("other");ne(c,kq,4,e);xq(c,3);return Na(f,Gt(a,c),0)})} function Gt(a,b,c){c=void 0===c?!1:c;var e,f,h,k;return Xa(function(l){if(1==l.i)return e=new Dt,ne(e,uq,1,b),f={query:{key:fh().mkey}},c&&fh().li&&(h="",(k=(fh().ge||"").toLowerCase())&&(h=Op([{key:"e",value:k}])),!h&&fh().auth_token&&(h=fh().auth_token,h.startsWith("OAuth")&&delete f.query.key),h&&(f.withCredentials=!0,f.headers={Authorization:h})),Pa(l,2),Na(l,a.qj.post("log-moltron-interaction",e,Bt,f),4);if(2!=l.i)return Qa(l,0);Ra(l);Oa(l)})} function $fa(a,b){var c;return Xa(function(e){if(1==e.i)return c=new At,pe(c,uq,1,b),Pa(e,2),Na(e,a.qj.post("log-batch-moltron-interaction",c,Ct,{query:{key:fh().mkey}}),4);if(2!=e.i)return Qa(e,0);Ra(e);Oa(e)})} ;function Jt(a,b,c){Et.call(this);this.i=a;this.dymTrackingId=b;this.sessionId=c} w(Jt,Et);function Kt(a,b,c,e){c=void 0===c?!0:c;e=void 0===e?!0:e;var f,h;Xa(function(k){f=xq(vq(Lt(),b),1);e&&(h=tq(sq(new rq,a.i?3:1),a.sessionId),Aq(f,h));return Na(k,Gt(a,f,c),0)})} function qt(a,b,c,e,f,h){f=void 0===f?!0:f;h=void 0===h?!0:h;var k,l,p;Xa(function(r){k=xq(wq(vq(Lt(),b),c),3);h&&(l=tq(sq(new rq,a.i?4:2),a.sessionId),Aq(k,l));p=(new lq).setUrl(e);zq(k,p);return Na(r,Gt(a,k,f),0)})} Jt.prototype.Zl=function(a,b,c){var e=this,f;return Xa(function(h){f=Mt(e,a,b,4,c);return Na(h,Gt(e,f,!0),0)})}; function Mt(a,b,c,e,f){b=xq(wq(vq(Lt(),b),c),3);f&&(c=new lq,c.setUrl(f),zq(b,c));f=new rq;sq(f,e);tq(f,a.sessionId);Aq(b,f);return b} function Lt(){var a=new uq;a.setTimestamp((new Ik).setSeconds(Math.floor(Date.now()/1E3)));return a} ;function Nt(a,b,c,e,f,h,k){this.context=a;this.dymTrackingId=b;this.flow=c;this.o=e;this.query=f;this.requestId=h;this.sessionId=k;this.i=new Dq(!0)} function Ot(a,b){a.i.Zu(a.sessionId,a.requestId,b,a.query,a.flow,a.o,a.context,a.dymTrackingId)} function rt(a,b,c,e){a.i.xo(a.query,a.sessionId,b,c,a.requestId,e,a.flow,a.context,a.o)} Nt.prototype.Zl=function(a,b,c){this.i.Zl(this.sessionId,this.requestId,a,b,c)};function Pt(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 aga=za(["aria-"]),bga=za(["role"]),cga=za(["data-stats-"]);function Qt(a){this.i=a||document} Qt.prototype.init=function(){for(var a=this,b=this.i.querySelectorAll(".zippy"),c={},e=0;ea.limit} function gu(a){if(du(a)){a.i=!a.i;a.Fa();var b=a.i;Kk(b?2:3,a.helpcenterName+"_symptoms_view_"+(b?"more":"less"),b?96:97)}} function fu(a,b){Kk(35,a.helpcenterName+"_symptoms_click_"+x(b,1)+(b.getActive()?"_active":""),98);b.getActive()||(a=a.getURL(b).split("?"),b="?"+a[1],b=Cr(b),Ar(""+a[0]+b))} ;function hu(a){return(a=a.match(/^\w{2,3}([-_]|$)/))?a[0].replace(/[_-]/g,""):""} ;function iu(a){this.i=a;this.ma=this.Aa=null;this.o=[];this.ua=document.createElement("input");this.ya=this.oa=-1;this.Qa=this.Bq.bind(this);this.Ka=Sh(this.Uy.bind(this),150);this.Oa=this.Da=this.Ea=0;this.va=!1;this.La=0;this.Ia=new fj;lga(this)} function lga(a){a.u=document.createElement("div");a.u.className=a.i.className;ah(a.u,"sc-select",!0);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){ch(this.ma,"sc-select-show")?e.target==this.ma||this.ma.contains(e.target)||this.Bq():0==e.button&&ju(this)}.bind(a)); a.u.addEventListener("keydown",a.iF.bind(a));a.Aa=document.createElement("span");a.u.appendChild(a.Aa);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.va=!0}.bind(a)); sh()||a.ma.addEventListener("scroll",function(){0a-1?this.o.length-1:a-1;b!=a&&!nu(this,b);)b=0>b-1?this.o.length-1:b-1;a=b}lu(this,a);this.o[a].focus();this.u.setAttribute("aria-activedescendant", this.o[a].id);ou(this);break;case 40:a.preventDefault();ch(this.ma,"sc-select-show")||ju(this);a=this.oa;if(0===this.o.length)a=-1;else{for(b=(a+1)%this.o.length;b!=a&&!nu(this,b);)b=(b+1)%this.o.length;a=b}lu(this,a);this.o[a].focus();this.u.setAttribute("aria-activedescendant",this.o[a].id);ou(this)}}; function ou(a){if(-1!=a.oa){var b=a.o[a.oa];b.offsetTopa.ma.scrollTop+a.ma.offsetHeight&&(a.va=!1,a.ma.scrollTop=b.offsetTop+b.offsetHeight-a.ma.offsetHeight)}} function mu(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&&pi(this.u);this.ma=this.Aa=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 iu(b)};var pu=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 qu(){var a=this;this.i=function(){}; this.o=function(b){if("detail"in b){b=Me(gr,b.detail.action);var c,e;if(null==(c=ke(b,dr,1))?0:null==(e=er(c))?0:null!=Be(e,10,kr)){var f,h,k=null==(f=ke(b,dr,1))?void 0:null==(h=er(f))?void 0:Be(h,10,kr);(f=k&&null!==k?k.startsWith("url:")?k.replace("url:",""):k:"")&&a.ma(f)}else{var l,p;if(null==(l=ke(b,dr,1))?0:null==(p=er(l))?0:Td(p,hr,17,kr)){var r;if(f=null==(k=ke(b,dr,1))?void 0:null==(r=er(k))?void 0:Ce(r,hr,17,kr))h=x(f,2),f=x(f,1),h&&f&&a.ma("/"+h+"/workflow/"+f)}}}}; this.u=function(){var b=pu.get(1);b=new CustomEvent(b,{bubbles:!0,cancelable:!0});window.document.body.dispatchEvent(b)}; this.ma=function(b){Ar(b,{Rd:!0})}; window.document.body.addEventListener(pu.get(6),this.u);window.document.body.addEventListener(pu.get(5),this.i);window.document.body.addEventListener(pu.get(2),this.o)} var ru;function su(){void 0===ru&&(ru=new qu)} qu.prototype.dispose=function(){window.document.body.removeEventListener(pu.get(2),this.o);window.document.body.removeEventListener(pu.get(6),this.u);window.document.body.removeEventListener(pu.get(5),this.i)}; window.sc_initSmartButtonController=function(){su()};function tu(a,b){a=void 0===a?95:a;b=void 0===b?133:b;E.call(this,"sc.shared.ErrorSvg");this.i=new zp("error_computer.svg");this.height=a;this.width=b} w(tu,E);tu.prototype.content=function(){var a=this;this.element("div","style",{width:this.width+"px",height:this.height+"px"},function(){a.i.render()})};function uu(a){this.o=a;this.i=null} uu.prototype.Og=function(a){var b=this;null===this.i&&(this.i=setTimeout(function(){null!==b.i&&(b.i=null,b.o())},a))};function vu(){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=Me(br,b.detail);a.o(b)}} n=vu.prototype;n.sendInitCompleteEvent=function(){console.log("[Smart Buttons] Broadcasting init");wu(4)}; n.sendButtonAction=function(a,b){a={action:null==a?void 0:a.serialize(),buttonClientRect:b};wu(2,a)}; n.sendDescribeEvent=function(a){var b=new jr;a=t(a);for(var c=a.next();!c.done;c=a.next())qe(b,1,ir,c.value);b={action:b.serialize(),buttonClientRect:void 0};wu(5,b)}; n.sendButtonsRenderedEvent=function(){wu(6)}; n.initHandshakeListener=function(a){this.i=a;window.document.body.addEventListener(pu.get(1),this.i)}; n.initStateUpdateListener=function(a){this.o=a;window.document.body.addEventListener(pu.get(3),this.ma)}; n.dispose=function(){window.document.body.removeEventListener(pu.get(3),this.ma);this.i&&window.document.body.removeEventListener(pu.get(1),this.i)}; function wu(a,b){a=pu.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({WN:0,RN:1,JN:2,ON:3,LN:4,QN:5,NN:6});function xu(a,b){this.i=a;this.metadata=b} xu.prototype.od=function(a){this.i(a)}; function yu(){var a=this;this.o=new Map;this.ma=function(){a.i.sendButtonsRenderedEvent()}; this.i=new vu;oga(this)} var zu;function Au(){if(zu&&!Bu)return zu;zu=new yu;Bu=!1;var a=zu;a.i.initHandshakeListener(a.oa.bind(a));a.i.initStateUpdateListener(a.u.bind(a));a.i.sendInitCompleteEvent();return zu} function pga(a,b,c,e){if(""===b)throw Error("Smart Button guid key is empty");a.o.has(b)||a.o.set(b,new xu(e,c))} yu.prototype.u=function(a){var b,c=null!=(b=x(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.od(a)}; yu.prototype.oa=function(){console.log("[Smart Buttons] Received Handshake");var a=[];this.o.forEach(function(b){a.push(b.metadata)}); this.i.sendDescribeEvent(a)}; yu.prototype.dispose=function(){this.i.dispose();this.o.clear();var a;null==(a=Xj().querySelector(".workflow"))||a.removeEventListener("dynamicFormRendered",this.ma)}; function oga(a){var b;null==(b=Xj().querySelector(".workflow"))||b.addEventListener("dynamicFormRendered",a.ma)} var Bu=!1;function Cu(a){var b=a.buttonTitle,c=a.contentId,e=a.helpcenterName,f=a.Ah;a=void 0===a.qv?!0:a.qv;E.call(this,"sc.smart_button.FatalErrorButton");this.i=new tu;this.buttonTitle=b;this.contentId=c;this.helpcenterName=e;this.Ah=f;this.qv=a} w(Cu,E);Cu.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.qv&&a.element("div","class","^no-margin feedback-link",a.Ah);a.element("div","class","^no-margin detail",function(){""!==a.buttonTitle&&a.element("div","class","^no-margin",(new Ul("The button title is {buttonTitle}.")).format({buttonTitle:a.buttonTitle})); a.element("div","class","^no-margin",(new Ul("The content ID is {contentId}.")).format({contentId:a.contentId}));a.element("div","class","^no-margin",(new Ul("The help center name is {helpcenterName}.")).format({helpcenterName:a.helpcenterName}))})})}); qga(this)}; function qga(a){var b,c;null==(c=(b=window).sc_trackStatsImpressions)||c.call(b,[{type:99,id:a.contentId+"_button_"+a.buttonTitle}],!0)} ;var Hu=new Map([[1,"good"],[2,"error"]]);function Iu(){E.call(this,"sc.smart_button.Icon");this.i=!1} w(Iu,E);function Ju(a,b,c,e){a.o=b;a.state=c;a.i=void 0===e?!1:e} Iu.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=Hu.get(this.state);Hu.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 Ku(a){E.call(this,"sc.smart_button.SendFeedbackLink");var b=this;this.buttonTitle=a;this.i=function(){Lu(b)}; this.o=function(c){b.Yb(c)}} w(Ku,E);Ku.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)}; Ku.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)}; Ku.prototype.Yb=function(a){"key"in a&&(" "===a.key||"Enter"===a.key)&&Lu(this)}; function Lu(a){var b=Zo();b.set("smart_button_title",a.buttonTitle);Xo({payload:b,productId:Number(fh().fbid)})} ;function Mu(a){return 2===(null==a?void 0:x(a,3))} function Nu(a){return 1===(null==a?void 0:x(a,3))} function rga(a){a=null==a?void 0:me(a,cr,1);if(void 0===a)return!1;a=t(a);for(var b=a.next();!b.done;b=a.next())if(Ou(b.value))return!0;return!1} function Pu(a){a=Qu(a);if(0===a.length)return!1;a=t(a);for(var b=a.next();!b.done;b=a.next())if(!Ou(b.value))return!1;return!0} function Qu(a){return void 0===a?[]:(null==a?void 0:me(a,cr,1))||[]} function Ou(a){return void 0!==a&&Od(a,1)&&0!==x(a,1)} function Ru(a){return void 0!==a&&Od(a,1)&&1===x(a,1)} function Su(a){return void 0!==a&&Od(a,1)&&2===x(a,1)} function sga(a){return a.filter(function(b){return Su(b)})} ;function Tu(a,b){b=void 0===b?!1:b;E.call(this,"sc.smart_button.StateHeading");this.Ah=a;this.ej=b;this.oa=[];this.headingState=0;this.icon=new Iu} w(Tu,E);Tu.prototype.content=function(){var a;!(Mu(this.i)||Nu(this.i)||(null==(a=this.i)?0:a.getHeading())||Pu(this.i))||tga(this)}; Tu.prototype.od=function(a){this.i=a;this.oa=Qu(this.i);if(Mu(this.i))this.headingState=2;else if(Nu(this.i))this.headingState=1;else if(0=lv} function mv(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 kv(a){switch(a){case 0:return nv;case 30:return ov;case 1:return pv;case 2:return lv;case 3:return qv;case 4:return rv;case 5:return sv;case 20:return tv;case 10:return uv;case 100:return vv;default:return nv}} n=mv.prototype;n.valueOf=function(){return this.rank}; n.getColor=function(){return Rr().Je?this.i:this.ma}; n.Me=function(){return this.icon}; n.getLabel=function(){return this.label}; n.getDescription=function(){return this.description}; var nv=new mv(0,"#F1F3F4","#F1F3F4"),ov=new mv(1,"#F1F3F4","#F1F3F4","#0b8043","#C4EED0",2,"Product Expert Alumni","Former Product Experts who are no longer members of the program"),pv=new mv(2,"#896E63","#896E63","#896E63","#B9ABA3",3,"Bronze Member","Community members with growing product knowledge who help other Google users by answers questions"),lv=new mv(3,"#9E9E9E","#9E9E9E","#5F6368","#C4C7C5",4,"Silver Product Expert","Community members with intermediate product knowledge who help other Google users by answering questions"), qv=new mv(4,"#FFB300","#F9AB00","#B06000","#F09D00",5,"Gold Product Expert","Community members with in-depth product knowledge who help other Google users by answering questions"),rv=new mv(5,"#77909D","#718792","#455A64","#E3E3E3",6,"Platinum Product Expert","Community members with advanced product knowledge who help other Google users and Product Experts "),sv=new mv(6,"#79A8FA","#79A8FA","#1A73E8","#A8C7FA",7,"Diamond Product Expert","Community members with product mastery who help other Google users and Product Experts"), tv=new mv(7,"#4285F4","#669DF6","#1A73E8","#A8C7FA",8,"Community Specialist","Google partners who help ensure the quality of community content"),uv=new mv(8,"#4285F4","#669DF6","#1A73E8","#A8C7FA",9,"Community Manager"),vv=new mv(9,"#4285F4","#669DF6","#1A73E8","#A8C7FA",9,"Google Employee","Google product team members and community managers");function wv(a){A.call(this,a,-1,Bga)} w(wv,A);wv.prototype.getTitle=function(){return x(this,1)}; wv.prototype.setTitle=function(a){return y(this,1,a)}; wv.prototype.Wb=function(){return x(this,2)}; wv.prototype.md=function(a){return y(this,2,a)}; var Bga=[3];function xv(a){A.call(this,a)} w(xv,A);function yv(a){A.call(this,a)} w(yv,A);function zv(a){A.call(this,a,-1,Cga)} w(zv,A);var Cga=[1];function Av(a){A.call(this,a)} w(Av,A);Av.prototype.getQuery=function(){return x(this,1)}; Av.prototype.setQuery=function(a){return y(this,1,a)};function Bv(a){A.call(this,a,-1,Dga)} w(Bv,A);var Dga=[1];function Cv(a){var b=a.items,c=a.messages,e=void 0===a.rj?void 0:a.rj,f=void 0===a.Zb?1:a.Zb,h=void 0===a.bc?4:a.bc;a=a.onClose;E.call(this,"hcfe.SearchSelect.Menu");var k=this;this.oa=this.o=!1;this.rj=e;this.items=b;this.messages=c;this.lr=-Infinity;this.jr=Infinity;this.u=new zm({content:function(){Ega(k)}, Gi:4,Zb:f,bc:h,Nm:!0,onClose:a})} w(Cv,E);n=Cv.prototype;n.content=function(){this.u.render()}; function Ega(a){a.element("div","class",{root:!0,"root-loading":a.o},function(){a.oa&&a.element("div","class","search-container",function(){a.element("div","class","input-container",function(){a.ua=a.element("input","class","search-field","placeholder",a.messages.FD,"oninput",function(){var b;null==(b=a.rj)||b.call(a)},"disabled",a.o)}); a.element("div","class","icon","onclick",function(){var b;null==(b=a.ua)||b.focus()},function(){null!=a.va||(a.va=new sk({icon:"gm/search"})); a.va.render()})}); a.element("div","class","scroll-container","style",{minHeight:-Infinitya.jr?a.jr+"px":null},function(){a.o&&a.element("div","class","loading-spinner",function(){(new xm({size:"mspin-small"})).render()}); if(0a&&Infinity!==a&&(a=h);this.lr=h;this.jr=a;this.Fa();this.u.open({anchor:b,Vd:c,Wd:e,Jb:f})}; n.close=function(){this.u.close()}; function Iga(a){return!!a.wk&&Array.isArray(a.items)&&0b.length){f=[{state:5}];a.Da.set("",f);p.Ma(4);break}a.i.dg(!0);a.i.open({Jb:!0});Pa(p,5);return Na(p,a.Nd(b.trim(),a.kc),7);case 7:f=p.o;0===f.length&&(f=[{state:4}]);a.i.dg(!1);Qa(p,4);break;case 5:h=Ra(p),f=[{state:3}],a.i.dg(!1),a.i.open({Jb:!0}), Xv(h);case 4:return a.Da.set("",f),k=a.i,l=k.Ni,Na(p,Rv(a,!0),8);case 8:l.call(k,p.o),a.i.Fa(),a.i.open({Jb:!0}),Oa(p)}})} function Rga(a,b){return function(){a.ua=b;a.i.close();a.ya&&a.ya()}} Mv.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.yd)&&!a.includes(e)&&a.push(e)}return a}; function Tv(a,b){var c,e;return Xa(function(f){if(1==f.i)return Pa(f,2),Na(f,a.Ob(b,a.kc),4);if(2!=f.i){c=f.o;if(!c||0==c.length)return Yv(a,b,Error("No results")),f.return();a.o.set(b,c);return Qa(f,0)}e=Ra(f);Yv(a,b,e);Oa(f)})} function Yv(a,b,c){a.o.set(b,[{state:2}]);a.Va&&a.va&&(a.va=!1,a.Va(c),Ov(a));Xv(c)} function Ov(a){a.u=new jp({placeholder:a.Vg,qc:!0,Ld:function(){a.oa=a.u.getText().replace(Lv,"");a.Od()}, ariaRequired:a.Bb})} function Xv(a){a=new CustomEvent("cid_selector_fetch_error",{detail:a});Xj().dispatchEvent(a)} function Nv(a){a.Da.clear();a.Da.set("",[Sv()])} function Sv(){return{value:"",trigger:function(){}, items:[],state:0}} ;var Zv={item:!0,highlight:!0,"item-top-separator":!1,"item-bottom-separator":!1,"item-with-description":!1},$v=Object.assign({},Zv),aw=Object.assign({},Zv,{highlight:!1}),Vga={DEFAULT:Zv,HELPCENTER_FIELD_SELECT:$v,HELPCENTER_FIELD_SELECT_WITH_DESCRIPTION:Object.assign({},$v,{"item-with-description":!0}),MULTI_SELECT:aw,MULTI_SELECT_WITH_SEPARATOR:Object.assign({},aw,{"item-top-separator":!0}),WITH_BOTTOM_SEPARATOR:Object.assign({},Zv,{"item-bottom-separator":!0})}; function bw(a){var b=a.items,c=a.mv,e=void 0===a.Zb?5:a.Zb,f=void 0===a.bc?5:a.bc,h=void 0===a.xm?0:a.xm,k=void 0===a.Gi?0:a.Gi,l=a.onClose,p=void 0===a.maxHeight?void 0:a.maxHeight,r=a.width,u=void 0===a.Iu?!1:a.Iu,z=void 0===a.Xs?!0:a.Xs;a=void 0===a.Lc?"px":a.Lc;E.call(this,"sc.shared.MaterialMenu");var la=this;this.items=b;this.mv=c;this.maxHeight=p;this.width=r&&z?Math.max(112,Math.min(280,r)):r;this.Iu=u;this.Xs=z;this.Lc=a;this.i=new zm({content:function(){return void Wga(la)}, Zb:e,bc:f,xm:h,Gi:k,Nm:!0,onClose:l,wj:!0,Lc:this.Lc})} w(bw,E);n=bw.prototype;n.setWidth=function(a){this.width=this.Xs?Math.max(112,Math.min(280,a)):a;this.Fa()}; n.content=function(){this.i.render()}; function Wga(a){var b=void 0!==a.width?"px"===a.Lc?a.width:(a.width/16).toFixed(2):null;b=b?""+b+a.Lc:null;a.element("div","role","listbox","tabindex","-1","aria-expanded",a.i.vb(),"class",{root:!0,"omit-top-rounded-corners":a.Iu},"style",Object.assign({},{width:b},a.maxHeight?{maxHeight:a.maxHeight,overflowY:"auto"}:void 0),function(){a.wk(a.items,0)})} n.wk=function(a,b){var c=this,e={};a=t(a);for(var f=a.next();!f.done;e={Xc:e.Xc},f=a.next())if(e.Xc=f.value,!e.Xc.Md||e.Xc.Md())f=this.element("div",function(h){return function(){var k;c.element("button","type","button","role","option","class",Vga[h.Xc.Hq||"DEFAULT"],"disabled",null!=(k=h.Xc.disabled)?k:null,"data-item-id",void 0!==h.Xc.itemId?h.Xc.itemId:"","aria-selected",(c.mv===h.Xc.value).toString(),"onclick",function(){c.mv=h.Xc.value;h.Xc.trigger()},function(){h.Xc.icon&&Xga(c,h.Xc.icon,h.Xc.Oe); c.element("span","class",{"item-label":!0,"label-wrap":h.Xc.vS},"style",{"padding-left":5*b+"px"},function(){switch(typeof h.Xc.value){case "string":dk(h.Xc.value);break;case "function":h.Xc.value()}})})}}(e)),e.Xc.tooltipText&&(new np({text:e.Xc.tooltipText, trigger:f})).render(),e.Xc.wk&&Array.isArray(e.Xc.items)&&0");ok.prototype.onChange.call(this,function(){jw(e,a)})}else{var f="Notifying "+(null!=c?c:""); ok.prototype.onChange.call(this,a,function(){jw(f,b)})}}; n.Ca=function(a){var b=this,c;jw(this.Wp+" sent "+(null!=(c=this.Ea[a])?c:"UNKNOWN"),function(){return void ok.prototype.Ca.call(b,a)})};var aha=new Map([[5,"CHECKBOX"],[3,"CID_SELECTOR"],[4,"GMB_LISTING_SELECTOR"],[1,"HIDDEN"],[2,"SELECT"],[6,"SELECT_WITH_FILTERING"]]);function lw(a,b){var c=a.pq(),e=b.pq();if(c&&e)return bha(c,e);c=a.vq();e=b.vq();if(c&&e)return c.Hp()!==e.Hp()?!1:!c.Zt()&&!c.nC()||!e.Zt()&&!e.nC()?!0:c.dC()!==e.dC()||c.Ot()!==e.Ot()?!1:!0;a=a.wq();b=b.wq();return a&&b?a.u()!==b.u()?!1:!0:!1} function bha(a,b){a=a.u();if(!a)return!1;var c=b.u();return c?a.some(function(e){return c.some(function(f){return e.Ip()!==f.Ip()?!1:!e.Fs()&&!e.HA()||!f.Fs()&&!f.HA()?!0:e.FA()!==f.FA()||e.Qt()!==f.Qt()?!1:!0})}):!1} ;var cha=za(["https://www.google.com/recaptcha/api.js?trustedtypes=true&render=explicit&onload=",""]);function mw(a,b,c){this.i=c;this.clientId=0;this.load(a,void 0===b?function(){}:b)} mw.prototype.load=function(a,b){var c=this;window.sc_renderRecaptcha=function(){window.grecaptcha&&a&&(c.clientId=window.grecaptcha.render(a,{sitekey:"6LcN-4saAAAAAGOz10SCh-KHThAjGiUum6B9HVft",badge:"inline",size:"invisible"}),b())}; var e=document.createElement("script");zg(e,Qg(cha,"sc_renderRecaptcha"));document.head.appendChild(e)}; mw.prototype.getResponse=function(){var a=this,b,c;return Xa(function(e){switch(e.i){case 1:if(!window.grecaptcha)return e.return("");b=window.grecaptcha;Pa(e,2);return Na(e,new Promise(function(f){b.ready(f)}),4); case 4:return Na(e,b.execute(a.clientId,{action:a.i||"submit"}),5);case 5:return c=e.o,e.return(c||"");case 2:return Ra(e),e.return("")}})};var nw={};var dha={sO:0,rA:1,0:"FIELDS_CREATED",1:"FIELD_VALUES"};function ow(a){kw.call(this,void 0===a?"HelpcenterFields":a,dha);this.complete=!1;this.td=""} w(ow,kw);ow.prototype.Kb=function(){return this.complete}; ow.prototype.xc=function(a,b){function c(p){return a?!!p.getId():p.Kb()} function e(p){return p.hd()} b=pw(this,b);if(null==b||!b.length)return[];var f,h=null!=(f=b.filter(function(p){return p.placements.some(function(r){return r.rJ()})}).map(e).filter(c))?f:[],k; h=h.concat(null!=(k=b.filter(function(p){return p.placements.some(function(r){return r.AJ()})}).map(e).filter(c))?k:[]); var l;return h.concat(null!=(l=null==b?void 0:b.filter(function(p){return p.placements.some(function(r){return r.CJ()})}).map(e).filter(c))?l:[])}; function pw(a,b){var c;return null==(c=a.i)?void 0:c.filter(function(e){if(!e.isValid())return!1;var f=e.placements;return f.length?null!=b&&b.length?b.some(function(h){return f.some(function(k){return lw(h,k)})}):!0:!1})} ow.prototype.xq=oa(48);ow.prototype.getInjectedFrdValuesEventId=function(){return this.td};var eha=new Map([["CT_ANSWER","gm/drive_document"],["CT_FORUM_CONTENT","gm/question_answer"],["CT_SUPPORT_FORUM_THREAD","gm/question_answer"],["CT_YOUTUBE","gm/video_youtube"],[void 0,"gm/language"]]);function qw(a){var b;return null!=(b=eha.get(a.type))?b:"gm/drive_document"} function rw(a,b){var c=qw(a);return"CT_WORKFLOW"===a.type?new Bp({icon:0}):new sk({icon:c,size:b})} ;function fha(a,b,c){a=t(a.querySelectorAll("a"));for(var e=a.next();!e.done;e=a.next())if(e=e.value,e.hasAttribute("target")||b){var f=void 0,h=null!=(f=e.getAttribute("aria-label"))?f:"";h.includes(c)||e.setAttribute("aria-label",h+(" ("+c+")"));e.getAttribute("target")||e.setAttribute("target","_blank")}} ;function sw(a,b,c,e,f,h,k){E.call(this,"SmartJourney.Onebox");this.Ha=a;this.oneboxResult=b;this.openInNewWindow=c;this.i=e;this.o=f;this.oa=h;this.Hb=k;this.u=new sk({icon:"gm/open_in_new"});this.ua=new sk({icon:"gm/open_in_new",size:18})} w(sw,E);sw.prototype.content=function(){var a=this;this.element("div","class",{result:!0,separator:this.oa},function(){var b=a.oneboxResult,c;null==(c=Qm)||c.Oo([{type:a.i}]);"CT_SNIPPET"!==b.type&&gha(a);hha(a);iha(a);if("CT_SNIPPET"!==b.type)switch(a.oneboxResult.type){case "CT_WORKFLOW":nw.useHairlineButtonInWorkflowOnebox?jha(a,a.Ha.get("Onebox.GET_STARTED")):tw(a,a.Ha.get("Onebox.GET_STARTED"));break;default:tw(a,a.Ha.get("Onebox.READ_MORE"))}})}; function gha(a){a.element("div","class","content-header",function(){var b=qw(a.oneboxResult),c=rw(a.oneboxResult,16);a.element("span","class",{"content-icon":!0,"help-article":"gm/drive_document"===b,language:"gm/language"===b,"question-answer":"gm/question_answer"===b,youtube:"gm/video_youtube"===b},"aria-hidden","true",c);b=a.Ha.get("Onebox.HELP_ARTICLE");switch(a.oneboxResult.type){case "CT_WORKFLOW":b=a.Ha.get("Onebox.TROUBLESHOOTER")}a.element("span","class","content-label",b)})} function hha(a){var b=a.oneboxResult.title;a.openInNewWindow&&(b+=" ("+a.Ha.get("Onebox.OPENS_IN_A_NEW_WINDOW")+")");a.element("a","class","title","href",a.oneboxResult.url,"target","_blank","data-stats-ve",a.i,"data-stats-action",8,"aria-label",b,"onclick",a.Hb,function(){a.element("div","class","title-wrapper","aria-hidden","true",function(){var c;a.element("span",hm(null!=(c=a.oneboxResult.title)?c:""));a.openInNewWindow&&a.element("span","class","title-icon",a.ua)})})} function iha(a){var b=a.element("div","class","snippet",function(){var c;dk(hm(null!=(c=a.oneboxResult.snippet)?c:""))}); fha(b,a.openInNewWindow,a.Ha.get("Onebox.OPENS_IN_A_NEW_WINDOW"))} function tw(a,b){var c=b;a.openInNewWindow&&(c+=" ("+a.Ha.get("Onebox.OPENS_IN_A_NEW_WINDOW")+")");a.element("a","class","action-link","href",a.oneboxResult.url,"target",a.openInNewWindow?"_blank":"","data-stats-ve",a.o,"data-stats-action",8,"aria-label",c,"onclick",a.Hb,function(){a.element("span",b);a.openInNewWindow&&a.u.render()})} function jha(a,b){var c=b;a.openInNewWindow&&(c+=" ("+a.Ha.get("Onebox.OPENS_IN_A_NEW_WINDOW")+")");a.element("div","class","workflow-action-link","data-stats-ve",a.o,"data-stats-action",8,"onclick",a.Hb,new wk({ariaLabel:c,icon:"gm/arrow_forward",Pc:!0,style:3,text:b,trigger:function(){Ar(a.oneboxResult.url,{Rd:a.openInNewWindow})}}))} ;function uw(a,b){var c;return Xa(function(e){if(1==e.i)return Na(e,b.post({endpoint:"classifications",json:!0,queryParams:{v:"1"},request:kha(a)}),2);c=e.o;return e.return(lha(c,a.method))})} function kha(a){switch(a.method){case "get_categories":return{resource:{get_categories:{description:a.issueDescription,frd_value:a.rd.map(function(b){return b.oE()}), client:a.client}}};case "get_assistive_suggestion":return{resource:{get_assistive_suggestion:{past_question_answers:a.pastQuestionAnswers,predicted_symptoms:a.predictedSymptoms,category_id:a.symptom}}};case "get_query_quality":return{resource:{get_query_quality:{query:a.query}}};default:throw Error("Unsupported classifications method");}} function lha(a,b){if("get_assistive_suggestion"===b){b={};if("get_assistive_resolutions"in a){var c;b.resolution=null==(c=a.get_assistive_resolutions.assistive_resolutions)?void 0:c[0]}if("get_questions"in a){var e;b.question=null==(e=a.get_questions.responses)?void 0:e[0]}return b}if("get_categories"in a){var f;return{categories:null!=(f=a.get_categories.category)?f:[],predictionId:a.get_categories.prediction_id,highConfidenceTopK:a.get_categories.high_confidence_top_k}}if("get_assistive_resolutions"in a){var h;return{cS:null!=(h=a.get_assistive_resolutions.assistive_resolutions)?h:[]}}if("get_questions"in a){var k;return{questions:null!=(k=a.get_questions.responses)?k:[]}}if("get_query_quality"in a)return{predictionId:a.get_query_quality.prediction_id,isJunk:a.get_query_quality.is_junk};throw Error("Unsupported classifications response");} ;function vw(a,b){var c;return Xa(function(e){c={query:a.query,max_results:JSON.stringify(a.maxResults),origin_page_type:JSON.stringify(a.originPageType),search_session_id:a.searchSessionId,symptom:a.symptom,user_context:a.userContext,v:"1"};void 0!==a.skipOnebox&&(c.skip_onebox=String(a.skipOnebox));void 0!==a.skipRelatedQuestions&&(c.skip_related_questions=String(a.skipRelatedQuestions));void 0!==a.maxCharsPerTitle&&(c.max_chars_per_title=JSON.stringify(a.maxCharsPerTitle));return e.return(b.get({endpoint:"search", json:!0,queryParams:c}))})} ;function ww(a,b){ok.call(this);this.i=a;var c={};this.strings=(c[a]=b,c);this.locale=a} w(ww,ok);ww.prototype.get=function(a){var b,c;return null!=(c=null==(b=this.strings[this.i])?void 0:b[a])?c:""}; ww.prototype.set=function(a,b){var c;this.strings[a]=Object.assign({},null!=(c=this.strings[a])?c:{},b);this.Ca()};function xw(){ok.apply(this,arguments);this.o=this.active=!1;this.i=!0;this.completed=!1;this.error="";this.hidden=this.disabled=!1} w(xw,ok);n=xw.prototype;n.setActive=function(a){if(a!==this.active){if(this.active=a)this.o=!0;this.Ca(0)}}; n.isActive=function(){return this.active}; function yw(a,b){b!==a.i&&(a.i=b,a.Ca(2))} function zw(a,b,c){if(b!==a.completed||(void 0===c?0:c))a.completed=b,a.Ca(3)} n.setError=function(a){a!==this.error&&(this.error=a,this.Ca(4))}; n.getError=function(){return this.error}; n.Wc=function(){return""!==this.error}; n.setDisabled=function(a){a!==this.disabled&&(this.disabled=a,this.Ca(5))}; n.vc=function(){return this.disabled}; n.setHidden=function(a){a!==this.hidden&&(this.hidden=a,this.Ca(6))}; n.isHidden=function(){return this.hidden}; function Aw(a){return!a.isHidden()&&!a.vc()} function Bw(a){return Aw(a)&&a.o} n.reset=function(){!1!==this.o&&(this.o=!1,this.Ca(1));yw(this,!0);zw(this,!1);this.setError("")}; n.yr=oa(49);function Cw(a){var b=void 0===a.error?"":a.error,c=void 0===a.steps?[]:a.steps;a=void 0===a.title?"":a.title;ok.call(this);this.error=b;this.steps=c;this.title=a} w(Cw,ok);n=Cw.prototype;n.getError=function(){return this.error}; n.setError=function(a){a!==this.error&&(this.error=a,this.Ca(0))}; n.getTitle=function(){return this.title}; n.If=function(){return this.steps}; function Dw(a){return a.steps.findIndex(function(b){return b.Ra().isActive()})} function mha(a){if(null!==Ew(a)){var b=Dw(a);if(b=a.steps.slice(b+1).find(function(f){return Aw(f.Ra())}))Fw(a,b); else{var c;if(null==(c=Ew(a))?0:c.Ra().completed){var e;null==(e=Ew(a))||e.Ra().setActive(!1);a.Ca(2)}}}} function Fw(a,b){if(null!==b&&Aw(b.Ra())){var c=Ew(a);if(!(c&&a.steps.indexOf(c)Search Help Center
false
false
true
102095
");return null==a||null==a.sheet?Ah:ln(a.sheet,void 0!=b?b:null,c)} function pn(a){a=Hh(""+a+"");return(new DOMParser).parseFromString(Fh(a),"text/html").body.children[0]} function nn(a,b){if(!a)return ph;var c=document.createElement("div").style;qn(a).forEach(function(e){var f=lf&&e in kn?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=fn(a,e),e=Fm(f,e,b),null!=e&&gn(c,f,e))});return new lh(c.cssText||"",kh)} function rn(a){var b=Array.from(Ym(Nm,a,"getElementsByTagName",["STYLE"])),c=df(b,function(n){return Pe(bn(n).cssRules)});c=mn(c);for(var e=[],f=0;f"+a+""),rn(a),a=a.innerHTML);a=Hh(a);var c=document.createElement("template");if(xn&&"content"in c)oi(c,a),c=c.content;else{var e=document.implementation.createHTMLDocument("x");c=e.body;oi(e.body,a)}a=document.createTreeWalker(c,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT,null,!1);for(c=tn?new WeakMap:new vn;e=a.nextNode();){a:{var f=e;switch(dn(f)){case 3:f= zn(this,f);break a;case 1:if("TEMPLATE"==cn(f).toUpperCase())f=null;else{var k=cn(f).toUpperCase();if(k in this.ka||"http://www.w3.org/1999/xhtml"!=hn(f))var n=null;else this.N[k]?n=document.createElement(k):(n=Mj(document,"SPAN"),this.oa&&$m(n,"data-sanitizer-original-tag",k.toLowerCase()));if(n){var r=n,t=Zm(f);if(null!=t)for(var x=0;k=t[x];x++)if(k.specified){var E=f;var ma=k;var na=ma.name;if(0==na.lastIndexOf("data-sanitizer-",0))ma=null;else{var sa=cn(E);ma=ma.value;var ta={tagName:Wd(sa).toLowerCase(),attributeName:Wd(na).toLowerCase()},ua={Bh:void 0};"style"==ta.attributeName&&(ua.Bh=an(E));E=An(sa,na);E in this.v?(na=this.v[E],ma=na(ma,ta,ua)):(na=An(null,na),na in this.v?(na=this.v[na],ma=na(ma,ta,ua)):ma=null)}null!==ma&&$m(r,k.name,ma)}f=n}else f=null}break a;default:f=null}}if(f){if(1==dn(f)&&c.set(e,f),e=en(e),k=!1,e)n=dn(e),r=cn(e).toLowerCase(),t=en(e),11!=n||t?"body"==r&&t&&(n=en(t))&&!en(n)&&(k=!0):k=!0,n=null,k||!e?n=b:1==dn(e)&&(n=c.get(e)),n.content&&(n=n.content),n.appendChild(f)}else Oj(e)}c.clear&& c.clear();return b};var Bn={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 Cn={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 Dn={"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 En(a){a=a||new Fn;Gn(a);this.v=Kg(a.v);this.ka=Kg(a.Da);this.N=Kg(a.Ja);this.oa=a.wa;a.ka.forEach(function(b){if(0!=b.lastIndexOf("data-",0))throw new Ud('Only "data-" attributes allowed, got: %s.',[b]);if(0==b.lastIndexOf("data-sanitizer-",0))throw new Ud('Attributes with "%s" prefix are not allowed, got: %s.',["data-sanitizer-",b]);this.v["* "+b.toUpperCase()]=Hn},this);a.Ma.forEach(function(b){b=b.toUpperCase();if(-1==b.indexOf("-")||Dn[b])throw new Ud("Only valid custom element tag names allowed, got: %s.",[b]);this.N[b]=!0},this);this.ma=a.O;this.ha=a.Aa;this.O=null;this.na=a.oa} Pd(En,yn);function In(a){return function(b,c){b=Wd(b);return(c=a(b,c))&&"about:invalid#zClosurez"!=fh(c)?fh(c):null}} function Fn(){this.v={};De([vm,wm],function(a){Fg(a).forEach(function(b){this.v[b]=Hn},this)},this);this.N={};this.ka=[];this.Ma=[];this.Da=Kg(Bn);this.Ja=Kg(Cn);this.wa=!1;this.Na=ih;this.ma=this.ha=this.Qa=this.O=li;this.Aa=null;this.na=this.oa=!1} function Jn(a,b){return function(c,e,f,k){c=a(c,e,f,k);return null==c?null:b(c,e,f,k)}} function Kn(a,b,c,e){a[c]&&!b[c]&&(a[c]=Jn(a[c],e))} function Gn(a){if(a.na)throw Error("HtmlSanitizer.Builder.build() can only be used once.");Kn(a.v,a.N,"* USEMAP",Ln);var b=In(a.Na);["* ACTION","* CITE","* HREF"].forEach(function(e){Kn(this.v,this.N,e,b)},a);var c=In(a.O);["* LONGDESC","* SRC","LINK HREF"].forEach(function(e){Kn(this.v,this.N,e,c)},a);["* FOR","* HEADERS","* NAME"].forEach(function(e){Kn(this.v,this.N,e,Nd(Mn,this.Qa))},a);Kn(a.v,a.N,"A TARGET",Nd(Nn,["_blank","_self"]));Kn(a.v,a.N,"* CLASS",Nd(On,a.ha));Kn(a.v,a.N,"* ID",Nd(Pn,a.ha));Kn(a.v,a.N,"* STYLE",Nd(a.ma,c));a.na=!0} function An(a,b){a||(a="*");return(a+" "+b).toUpperCase()} function Hn(a){return Wd(a)} function Nn(a,b){b=Wd(b);return 0<=Ae(a,b.toLowerCase())?b:null} function Ln(a){return(a=Wd(a))&&"#"==a.charAt(0)?a:null} function Mn(a,b,c){b=Wd(b);return a(b,c)} function On(a,b,c){b=b.split(/(?:\s+)/);for(var e=[],f=0;f/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=Yn(a);b&&(a=a.querySelector(b).parentNode);return a} function Xn(a,b){for(var c=[a],e=null;e=c.pop();)Array.prototype.forEach.call(e.childNodes,function(f){f.nodeType===Node.TEXT_NODE?Zn(e,f,b):f.childNodes.length&&c.push(f)})} function Zn(a,b,c){if(b.textContent.match($n)){var e=b.nextSibling;a.removeChild(b);b=b.textContent;for(var f=null,k=[];f=$n.exec(b);){0e&&(a=f+".autoNamespace"+this.ha++);if(b){c&&(b=Md(b,c));var k=this.N[f];k||(k=[],this.N[f]=k);Je(k,this.v[a]);this.v[a]=b;k.push(b);this.O.hasOwnProperty(f)}else if(f.length)b=this.v[a],Je(this.N[f]||[],b),delete this.v[a];else if(1a.Ca?Math.floor(b*a.Ca):a.Ca,Ua:0a.Ua?Math.floor(b*a.Ua):a.Ua};a.Ua=Math.max(a.Ca,a.Ua);return a} function yp(a,b,c,e,f,k){var n=b.width-a.ka-a.na;a.oa=Ep(n,b.width,b.height,Dp(c,b.height),Cp(a,[1,2]));a.ma=Ep(n,b.width,b.height,Dp(f,b.height),Cp(a,[3,4]));c=b.height-a.oa-a.ma;f=Cp(a,[3,4,1,2]);var r=0;for(n=0;nn){a=Hp(f);for(e=b=0;en-b-x.Ca.height&&x.Fc&&(x.oc.height=0),b+=x.oc.height;return gj(b,k,c)}if(rk){a=Hp(e);for(c=e=0;ck-e-t.Ca.width&&t.Fc&&(t.oc.width=0),e+=t.oc.width;return gj(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.ad.dg?b.ad.dg:20;c=void 0!==c.ad.dg?c.ad.dg:20;return b-c})} wp.prototype.setMargins=wp.prototype.ld;wp.prototype.setMarginEnd=wp.prototype.Mk;wp.prototype.setMarginStart=wp.prototype.Pk;wp.prototype.setMarginLeft=wp.prototype.Nk;wp.prototype.setMarginBottom=wp.prototype.Lk;wp.prototype.setMarginRight=wp.prototype.Ok;wp.prototype.setMarginTop=wp.prototype.Qk;Od("aplos.chart.layout.DynamicLayout",wp);var Ip={Qq:"WARNING",ERROR:"ERROR"};Od("aplos.util.MessageSeverity",Ip);Ip.WARNING="WARNING";Ip.ERROR="ERROR";var Jp={Nq:"UNTIL_REMOVED",Mq:"UNTIL_DATA",lq:"ONCE"};Od("aplos.util.MessageDuration",Jp);Jp.UNTIL_REMOVED="UNTIL_REMOVED";Jp.UNTIL_FRESH_DATA="UNTIL_DATA";Jp.ONCE="ONCE";function Kp(a){this.v=a;this.N=!1} Kp.prototype.Fk=function(a){this.N=a};Kp.prototype.render=function(a){var b=a.filter(function(c){return"ERROR"===c.severity});b.length&&Lp(this,b);b.length||(b=Mp(this.v.Ka,Np),b.empty()||(b.style("display","none"),b.selectAll("div."+Op).remove(),this.v.lb.style("display","")));a=a.filter(function(c){return"WARNING"===c.severity});Pp(this,a)};function Lp(a,b){var c=Np,e=Qp,f=a.v,k=f.Ka;f.lb.style("display","none");var n=Mp(k,c);n.empty()&&(n=k.append("div").classed(c,!0),n.append("div").classed(Rp,!0),n.append("div").classed(Sp,!0));n.style("display",null);n.select("."+Sp).attr("class",Sp+" "+e);b=n.select("."+Rp).selectAll("div."+Op).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 Op+" "+Tp+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 Pp(a,b){var c=a.v.Ka.select("."+Up);c.empty()&&(c=a.v.Ka.append("div").classed(Up,!0));c.style("display",b.length?"":"none");c.classed(Vp,!0);var e="";b.forEach(function(f){e+=f.message+"\n"});c.attr("title",e.trim())} function Mp(a,b){b=a.selectAll("."+b).nodes();for(var c=null,e=0;e>>0);function oq(a){if("function"===typeof a)return a;a[wq]||(a[wq]=function(b){return a.handleEvent(b)});return a[wq]} ;var kk=ch("");function xq(){this.port=this.v=null;this.N=[]} xq.prototype.load=function(){var a=this,b=yq();this.v=zq(b);Aq().then(function(){a.v&&document.body.appendChild(a.v)});return Bq(this.v,b).then(function(c){for(a.port=c.ports[0];0\n
 
\n \n \n \n \n \n \n
"))));var r=Al.contentDocument,t=r.querySelector(n.tagName);t||(t=r.querySelector("div"));r=vk(t);t=vk(n);for(var x={},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=Ef(b)}return"data:image/svg+xml;base64,"+a};bz.prototype.toSvgDataUrl=bz.prototype.fl;bz.prototype.bp=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.fl(a);var f=new Yy;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.Of(b.toDataURL("image/png"))}catch(n){f.reject(n)}};e.onerror=function(){f.reject(Error("Svg image dataUrl failed to load"))};return f};bz.prototype.toPngDataUrl=bz.prototype.bp;bz.prototype.getStyle=function(){return this.Oi};function nz(a,b,c){nz.base(this,"constructor",Oe(a,["prelayout","postlayout"]),b,c);this.Af=this.Uc=null;this.ld({top:40,end:20,start:20,bottom:20},{top:.333,end:.5,start:.5,bottom:.333})} Od("aplos.chart.SvgChartView",nz);Pd(nz,bz);var oz=0;nz.prototype.redraw=nz.prototype.sf;nz.prototype.Cd=function(){nz.Sb.Cd.call(this);var a=this.lf().node();a.setAttribute("width",this.frameWidth());a.setAttribute("height",this.frameHeight());this.lb.node().setAttribute("transform","translate("+this.Nb()+","+this.Ob()+")");this.Uc&&this.Uc.attr("width",this.ab()+1).attr("height",this.Ab()+2)};nz.prototype.lf=function(){return this.To};nz.prototype.getSvg=nz.prototype.lf;nz.prototype.ep=function(){var a=this.lf().node(),b=document.createElement("style"),c=Gk(a),e=vk(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};nz.prototype.toSvgString=nz.prototype.ep;nz.prototype.getNearestDatumDetails=nz.prototype.Rf;var pz=document.implementation.hasFeature("org.w3c.svg","1.0")||document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Structure","1.1"),dz="aplos-chart-container",ez="aplos-chart-svg",fz="aplos-draw-area";function qz(a,b,c){var e=this;nz.call(this,Oe(a,"datumMouseover datumMouseout datumClick seriesMouseover seriesMouseout seriesClick".split(" ")),b,c);this.kb=new Bo(this);this.oa={};this.Be={};this.Uk("hover",new to);this.Za=new rz;this.on("viewportChange.seriesChartView",function(){e.Za.reset()})} Pd(qz,nz);Od("aplos.chart.SeriesChartView",qz);qz.prototype.Uk=function(a,b){b.hh("clearSelectedDatumDetailsCache",this.ul.bind(this));var c=this.Be,e=mo[a].selectionChange,f=this.Ya;f.O.hasOwnProperty(e)||so(f,[e]);e=c[a];null!=e&&e.hh("chartDelegate",null);c[a]=b;mz(this,b,a);return this};qz.prototype.setSelectionModel=qz.prototype.Uk;qz.prototype.Mo=function(a){Co(this.kb,a);return this};qz.prototype.setSeriesDefaults=qz.prototype.Mo;qz.prototype.wb=function(a){return this.oa[a||"__aplosDefault__"]||this.oa.__aplosDefault__};qz.prototype.getRenderer=qz.prototype.wb;qz.prototype.Dn=function(a){return!!this.oa[a||"__aplosDefault__"]};qz.prototype.hasRenderer=qz.prototype.Dn;qz.prototype.sg=function(a,b){b?(b.type&&(b=this.getStyle().Dj(b)),this.oa[a]=b):delete this.oa[a];return this};qz.prototype.setRenderer=qz.prototype.sg;qz.prototype.ti=function(a){a.type&&(a=this.getStyle().Dj(a));this.oa.__aplosDefault__=a;return this};qz.prototype.setDefaultRenderer=qz.prototype.ti;qz.prototype.oi=function(a,b){a=this.Qf(a,!0);a=a.filter(function(c){return!c.series||!c.series.overlay});(this.Be[lo[b]||"hover"]||null).oh(a.map(function(c){return{series:c.series?c.series:null,datum:c.datum}}));return a.length};qz.prototype.selectDatum=qz.prototype.oi;qz.prototype.to=function(a){this.Ya.rb("seriesMouseover",this,a,Fj)};qz.prototype.selectSeries=qz.prototype.to;qz.prototype.Nl=function(a){(this.Be[lo[a]||"hover"]||null).deselectAll()};qz.prototype.clearSelections=qz.prototype.Nl;qz.prototype.Qf=function(a,b,c){var e=this.N||[],f=this.v||[];if(!e||!f)return[];if(Fj){var k=Ej(this.lb.node());var n=k[0];k=k[1]}for(var r=[],t=0;tb||b>this.ab())||!this.bc&&(0>a||a>this.Ab()))return[];for(var e=new Bu(this.Nb(),this.Ob(),this.ab(),this.Ab()),f=new Hj(b+e.left,a+e.top),k=[],n=0;n=c)throw Error("LIKE pattern ends with a backslash.");f=a.charAt(++e);Iz(f)&&(b+="\\");b+=f;break;case "_":b+=".";break;case "%":b+=".*";break;default:Iz(f)&&(b+="\\"),b+=f}}return b+"$"} function Kz(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 Lz(){} Lz.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 Mz=new Lz;Mz=function(){function a(va,oc,gd,Wc){gd=gd||{};for(Wc=va.length;Wc--;gd[va[Wc]]=oc);return gd} function b(){this.Tc={}} var c=[1,8],e=[1,20],f=[1,26],k=[1,27],n=[1,30],r=[1,112],t=[1,113],x=[1,29],E=[1,28],ma=[1,83],na=[1,84],sa=[1,85],ta=[1,86],ua=[1,87],za=[1,88],ya=[1,89],Aa=[1,90],Ca=[1,91],Fa=[1,92],Ea=[1,93],Ia=[1,94],Ja=[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],Hg=[1,140],Jk=[1,150],Ig=[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],Ei=[1,180],Fi=[5,12,17,42,43,44,45,54,96,97,98,99],bf=[1,233],yf=[1,250],Gi=[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],se=[2,37],cf=[1,336],le=[5,12,17,54,96,97,98,99],Kk=[96,97],Ii={trace:function(){},Tc:{},Uo:{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},ug:{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"},kk:[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]],di:function(va,oc,gd,Wc,hd,Ba){va=Ba.length-1;switch(hd){case 1:return Ba[va-1];case 7:this.ta=Ba[va-1];break;case 9:case 10:case 13:this.ta={type:"function",name:Ba[va-3].toUpperCase(),params:[Ba[va-1]]};break;case 11:case 14:this.ta={type:"function",name:Ba[va-5].toUpperCase(),params:[Ba[va-3],Ba[va-1]]};break;case 12:case 15:this.ta={type:"function",name:Ba[va-3].toUpperCase(),params:Ba[va-1]};break;case 25:case 26:case 27:case 28:this.ta={type:"function",name:Ba[va-1],params:[Ba[va-2],Ba[va]]};break;case 29:this.ta={type:"function",name:"EQUAL",params:[Ba[va-2],Ba[va]]};break;case 30:this.ta={type:"function",name:"NOT_EQUAL",params:[Ba[va-2],Ba[va]]};break;case 31:this.ta={type:"function",name:"LESS",params:[Ba[va-2],Ba[va]]};break;case 32:this.ta={type:"function",name:"LESS_OR_EQUAL",params:[Ba[va-2],Ba[va]]};break;case 33:this.ta={type:"function",name:"GREATER",params:[Ba[va-2],Ba[va]]};break;case 34:this.ta={type:"function",name:"GREATER_OR_EQUAL",params:[Ba[va-2],Ba[va]]};break;case 35:this.ta={type:"function",name:"BETWEEN",params:[Ba[va-4],Ba[va-2],Ba[va]]};break;case 36:this.ta={type:"function",name:"NOT BETWEEN",params:[Ba[va-4],Ba[va-2],Ba[va]]};break;case 37:this.ta={type:"function",name:"AND",params:[Ba[va-2],Ba[va]]};break;case 38:this.ta={type:"function",name:"OR",params:[Ba[va-2],Ba[va]]};break;case 39:this.ta={type:"function",name:"IS NULL",params:[Ba[va-1]]};break;case 40:this.ta={type:"function",name:"IS TRUE",params:[Ba[va-1]]};break;case 41:this.ta={type:"function",name:"IS FALSE",params:[Ba[va-1]]};break;case 42:this.ta={type:"number",value:+-Ba[va]};break;case 43:this.ta={type:"number",value:+Ba[va]};break;case 44:this.ta={type:"string",value:Kz(Ba[va].substring(1,Ba[va].length-1))};break;case 45:case 46:this.ta={type:"function",name:Ba[va-3],params:[Ba[va-1]]};break;case 47:hd=Ba[va-1].pathParts.slice();if(2va.length&&(va+=this.lc.substr(0,20-va.length));return(va.substr(0,20)+(20Wc[0].length)){var Wc=va;var hd=gd;if(this.options.hj){Wc=this.dl(va,oc[gd]);if(!1!==Wc)return Wc;if(this.zg)Wc=!1;else return!1}else if(!this.options.flex)break}return Wc?(Wc=this.dl(Wc,oc[hd]),!1!==Wc?Wc:!1):""===this.lc?this.Vi:this.parseError("Lexical error on line "+(this.hc+1)+". Unrecognized text.\n"+ this.qh(),{text:"",hl:null,line:this.hc})},Qj:function(){var va=this.next();return va?va:this.Qj()},ij:function(va){this.Jb.push(va)},ho: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=Ii;Ii.v=b;return new b}();function Nz(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 Oz(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 Pz(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 Qz(a,b){Nz("TRUNC(X, Y)","X",a);Nz("TRUNC(X, Y)","Y",b);Oz("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 Rz(a,b){Nz("LOG(X, Y)","X",a);Nz("LOG(X, Y)","X",b);return null==a||null==b?null:+a/+b} ;function Sz(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,x,E,ma){if("%"==x)return"%";var na=c.shift();if("undefined"==typeof na)throw Error("[goog.string.format] Not enough arguments");arguments[0]=na;return Tz[x].apply(null,arguments)})} var Tz={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+ui(" ",a):(b=0<=b.indexOf("0",0)?"0":" ",e=k+ui(b,a)+e);return e},d:function(a,b,c,e,f,k,n,r){return Tz.f(parseInt(a,10),b,c,e,0,k,n,r)}};Tz.i=Tz.d;Tz.u=Tz.d;function Uz(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 Vz(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 Wz(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 cA(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 dA(a){if("number"===typeof a){if(Infinity===a)return"inf";if(-Infinity===a)return"-inf";if(isNaN(a))return"NaN"}return""+a} ;function eA(a,b){var c=fA;a=a?a.toUpperCase():a;c.v.has(a)||c.v.set(a,new Map);c=c.v.get(a);for(var e=Lc(Fg(b)),f=e.next();!f.done;f=e.next()){f=f.value;var k=f.toUpperCase();c.set(k,new gA(a,k,b[f]))}} function gA(a,b,c){this.O=a;this.N=b;this.v=c} gA.prototype.call=function(){return this.apply(ud.apply(0,arguments))};gA.prototype.apply=function(a){var b=a;b=void 0===b?[]:b;var c=this.v.va,e=this.v.ya;if(c&&b.lengthe)throw Error("Expected no more than "+c+" args for "+this.N);return this.v.yb?this.v.yb.apply(null,a):this.v.ua.apply(null,a)};gA.prototype.Oa=function(a){return this.v.Oa?this.v.Oa.call(null,a):aA(this.O,this.N,a)};var fA=new function(){this.v=new Map};eA("",{AVG:{yb:Jq},COUNTIF:{yb:Mq},SUM:{yb:Kq},MIN:{yb:Nq},MAX:{yb:Oq},COUNT:{yb:Lq},COUNT_DISTINCT:{yb:Pq},NTH_QUANTILE:{yb:Qq},VARIANCE:{yb:Sq},STDDEV:{yb:Tq},"HLL_COUNT.MERGE":{yb:Uq},"HLL_COUNT.EXTRACT":{va:1,ya:1,ua:function(){throw Error("HLL_COUNT.EXTRACT is not implemented on the client.");}},ABS:{va:1,ya:1,ua:function(a){Nz("ABS(X)","X",a);return null!=a?Math.abs(+a):null}},SIGN:{va:1,ya:1,ua:function(a){Nz("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,ya:2,ua:function(a,b){Nz("ATAN(Y, X)","X",a);Nz("ATAN(Y, X)","Y",b);return null==a||null==b?null:Math.atan2(+a,+b)}},REGEXP_MATCH:{va:2,ya: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)},yc:"REGEX"},ENCODE_URI_COMPONENT:{va:1,ya:1,ua:function(a){return"string"!==typeof a?null:encodeURIComponent(a)}},FORMAT:{va:2,ya:void 0,ua:function(a){return 2>arguments.length?null:Sz.apply(null,arguments)}},CONCAT:{va:2,ya: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(",")+")"},yc:"IN"},"NOT IN":{va:1,ua:function(a){return Uz(a,ud.apply(1,arguments))},Oa: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(",")+")"},yc:"NOT_IN"},"IS NULL":{va:1,ya:1,ua:function(a){return null==a},Oa:function(a){return Zz("IS NULL",a)},yc:"IS_NULL"},"IS TRUE":{va:1,ya: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},Oa:function(a){return Zz("IS TRUE",a)}},"IS FALSE":{va:1,ya: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},Oa:function(a){return Zz("IS FALSE",a)}},BETWEEN:{va:3,ya:3,ua:function(a,b,c){return null==a||typeof a!==typeof b||typeof a!==typeof c?!1:b<=a&&a<=c},Oa:function(a){return"("+a[0]+" BETWEEN "+a[1]+" AND "+a[2]+")"},yc:"BETWEEN"},"NOT BETWEEN":{va:3,ya:3,ua:function(a,b,c){return null==a||typeof a!==typeof b||typeof a!==typeof c?!1:b>a||a>c},Oa:function(a){return"("+a[0]+" NOT BETWEEN "+a[1]+" AND "+a[2]+")"},yc:"NOT_BETWEEN"},CAST:{va:2,ya:2,ua:function(a,b){if(null==a)return null;switch(b.toUpperCase()){case "INT32":return bA(a,-2147483648,2147483647);case "INT64":return bA(a,-0x7fffffffffffffff,0x7fffffffffffffff);case "UINT64":return bA(a,0,1.8446744073709552E19);case "FLOAT":return cA(a,-3.4028234663852886E38,3.4028234663852886E38);case "DOUBLE":return cA(a);case "BOOL":return ls(a);case "STRING":return dA(a);default:throw Error("CAST to "+b.toUpperCase()+" is not supported.");}},Oa: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,ya:1,ua:function(a){return a}},UNIX_MILLIS:{va:1,ya:1,ua:function(a){return a}},TIMESTAMP_MICROS:{va:1,ya:1,ua:function(a){return a}},TIMESTAMP_MILLIS:{va:1,ya:1,ua:function(a){return 1E3*a}},TIMESTAMP_SECONDS:{va:1,ya:1,ua:function(a){return 1E6*a}},TIMESTAMP:{va:1,ya:2,ua:rr},DATE:{va:1,ya:2,ua:function(a,b){return sr(a,"DAY",b)}},DATETIME:{va:1,ya:1,ua:rr},AND:{va:2,ua:function(){return Xz("AND",ud.apply(0,arguments))},Oa:function(a){return Yz(" AND ",a)}},OR:{va:2,ua:function(){return Xz("OR",ud.apply(0,arguments))},Oa:function(a){return Yz(" OR ",a)}},"+":{va:2,ua:function(){return Wz("+",ud.apply(0,arguments))},Oa:function(a){return Yz("+",a)}},"-":{va:2,ua:function(){return Wz("-",ud.apply(0,arguments))},Oa:function(a){return Yz("-",a)}},"*":{va:2,ua:function(){return Wz("*",ud.apply(0,arguments))},Oa:function(a){return Yz("*",a)}},"/":{va:2,ua:function(){return Wz("/",ud.apply(0,arguments))},Oa:function(a){return Yz("/",a)}},NOT:{va:1,ya:1,ua:function(a){return null==a||"boolean"!==typeof a?null:!1===a},Oa:function(a){if(1!==a.length)throw Error("Expected one parameter for NOT");return"(NOT "+a[0]+")"}},EQUAL:{va:2,ya:2,ua:function(a,b){return Vz("EQUAL",a,b)},Oa:function(a){return Yz("=",a)},yc:"="},NOT_EQUAL:{va:2,ya:2,ua:function(a,b){return Vz("NOT_EQUAL",a,b)},Oa:function(a){return Yz("!=",a)},yc:"!="},LESS:{va:2,ya:2,ua:function(a,b){return Vz("LESS",a,b)},Oa:function(a){return Yz("<",a)},yc:"<"},LESS_OR_EQUAL:{va:2,ya:2,ua:function(a,b){return Vz("LESS_OR_EQUAL",a,b)},Oa:function(a){return Yz("<=",a)},yc:"<="},GREATER:{va:2,ya:2,ua:function(a,b){return Vz("GREATER",a,b)},Oa:function(a){return Yz(">",a)},yc:">"},GREATER_OR_EQUAL:{va:2,ya:2,ua:function(a,b){return Vz("GREATER_OR_EQUAL",a,b)},Oa:function(a){return Yz(">=",a)},yc:">="},NATIVE_EXPR:{va:1,ya:1,ua:function(){throw Error("NATIVE_EXPR not yet supported.");}},NATIVE_AGGREGATE:{va:1,ya:1,yb:function(){throw Error("NATIVE_AGGREGATE not yet supported.");}},TO_JSON_STRING:{va:1,ya:2,ua:function(a,b){return b?JSON.stringify(a,null,2):JSON.stringify(a)}}});eA("KLL_QUANTILES",{EXTRACT_POINT_INT64:{ua:function(){throw Error("KLL EXTRACT is not supported for in-memory data.");}},MERGE_POINT_INT64:{yb:Rq},EXTRACT_POINT_DOUBLE:{ua:function(){throw Error("KLL EXTRACT is not supported for in-memory data.");}},MERGE_POINT_DOUBLE:{yb:Rq}});function hA(){this.ma={};this.wa={};this.oa={};this.ka=[];this.na={};this.ha=[];this.N=null;this.Aa=[];this.O=[];this.v={}} w=hA.prototype;w.dk=function(a,b){this.O.push({Kf:a,order:b?b:"ASC"});return this};w.Ml=function(){this.O=[];return this};w.Sf=function(){return this.O};w.De=function(a){this.O=a.slice()};w.ao=function(a,b,c,e){a={Kf:a,measure:c,vr:e||""};"function"===typeof b?a.yb=b:a.Xq=b;this.Aa.push(a);return this};w.bo=function(a){this.N=a;return this};w.Dl=function(a){Array.isArray(a)?De(a,function(b){iA(this,b,{Hd:"decimal",xf:null})},this):iA(this,a,{Hd:"decimal",xf:null});return this};w.Cl=function(a){Array.isArray(a)?De(a,function(b){iA(this,b,{Hd:"boolean",xf:null})},this):iA(this,a,{Hd:"boolean",xf:null});return this};w.Jj=function(a){a=this.v[a]?this.v[a]:null;var b;if(b=a&&a.Hd)a=a.Hd,b=!!a&&"number"===Vr[a].nc;return b?!0:!1};function iA(a,b,c){a.v[b]?(c.Hd&&(a.v[b].Hd=c.Hd),c.xf&&(a.v[b].xf=c.xf)):a.v[b]=c} w.yl=function(a,b){this.ma[a]=b;return this};w.Sl=function(a,b){this.wa[a]=b;return this};w.Tl=function(a,b){this.oa[a]=b;delete this.na[a];return this};w.Cn=function(a){return this.oa[a]||this.na[a]||this.ma[a]||this.N===a?!0:0<=Ae(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=si(f));return f} function vA(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=Gg(a.v[a.v.length-1],b.split("."));if(null==a)return null;if(!Ed(a))throw Error('Error evaluating nest expression: "'+b+'" did not reference an Array');a.forEach(function(k){var n=f;(Gg(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 wA(a){this.v=a;this.O=this.N=-1;this.ha=0} wA.prototype.next=function(){this.N++;var a=this.v[this.N];"\n"===a?(this.ha++,this.O=-1):this.O++;return a};wA.prototype.index=function(){return this.N};function xA(a,b){if(0>b)throw Error("CharacterIterator can only skip forward");for(var c=0;c]*?>","gi"),close:new RegExp("]*?>","gi")})}for(x=0;x(ma?ma.length:0)&&(na=(ma=k.match(E.open))?ma.length:0,ma=k.match(E.close),(ma?ma.length:0)>na)){x=!0;break a}}}x=!1}x?(r=!0,(t=0<=f.toLowerCase().indexOf("'+k:f+'
'+k)&&Un(a,b,t,e,void 0),x=uk(a).select(".aplos-placeholder"),t=x.node(),f=t.parentNode,t=t.nextSibling?t.nextSibling:void 0,x.remove()):(f&&Un(a,b,f,e,void 0),f=a);x=void 0;for(E=0;Ea.Ja-a.Qa?a.show():AB(a,b))})} function AB(a,b){a.ma||(dB(a.oa,Math.max(.25*a.N,50)),a.ma=mq(a.oa,"tick",Md(a.Yn,a,b)),a.oa.start())} w.Yn=function(a){a.Md("hover").Nd()?Date.now()-this.Ja>this.N&&this.show():xB(this)};function xB(a){a.oa.stop();vq(a.ma);a.ma=null} w.xd=function(a,b){return this.wa(a,b)};vB.prototype.setHovercardContainerStyle=vB.prototype.Fo;vB.prototype.hide=vB.prototype.Vh;vB.prototype.followClosestSeries=vB.prototype.xj;vB.prototype.followTopMostSeries=vB.prototype.dm;vB.prototype.followNamedSeries=vB.prototype.bm;vB.prototype.getPlacer=vB.prototype.hn;vB.prototype.setPlacer=vB.prototype.Gi;vB.prototype.placer=vB.prototype.fo;vB.prototype.getContentRenderer=vB.prototype.Jd;vB.prototype.setContentRenderer=vB.prototype.Dd;vB.prototype.contentRenderer=vB.prototype.Hg;vB.prototype.getShowDelayMs=vB.prototype.qn;vB.prototype.setShowDelayMs=vB.prototype.Vk;vB.prototype.showDelayMs=vB.prototype.Qo;vB.prototype.getTransitionMs=vB.prototype.zn;vB.prototype.setTransitionMs=vB.prototype.Yk;vB.prototype.transitionMs=vB.prototype.Ge;vB.prototype.getClassName=vB.prototype.tm;vB.prototype.setClassName=vB.prototype.yk;vB.prototype.className=vB.prototype.className;Od("aplos.chart.behavior.Hovercard",vB);function BB(){this.ka=this.oa=this.na=this.v=this.O=this.N=this.ma=this.ha=null} w=BB.prototype;w.Xo=function(a){this.ha=a;return this};w.Yo=function(a){this.ma=a;return this};w.Vo=function(a){this.N=a;return this};w.Wo=function(a){this.O=a;return this};w.ie=function(a){this.v=a;return this};w.Pl=function(a){this.na=a;return this};w.container=function(a){this.ka=a;return this};w.jh=function(a){this.oa=a;return this};function CB(a){var b=PA?new NA:new QA;a.na&&b.De(a.na);a.ha&&b.uf(a.ha);a.N&&b.tf(a.N);a.O&&b.qg(a.O);a.ma&&b.tg(a.ma);a.v&&b.mg(a.v);return b} w.jj=function(){var a=(new vB).xj();a.Dd(CB(this));var b=a.Gi,c=new lB;null!=this.ka&&c.Ak(this.ka);null!=this.oa&&c.jh(this.oa);b.call(a,c);return a};w.Il=function(){var a=new kB;a.Hg(CB(this));return a};BB.prototype.buildPieCard=BB.prototype.Il;BB.prototype.buildCard=BB.prototype.jj;BB.prototype.positionOptions=BB.prototype.jh;BB.prototype.container=BB.prototype.container;BB.prototype.contentRendererOrdering=BB.prototype.Pl;BB.prototype.conversionFunctionMap=BB.prototype.ie;BB.prototype.templateFooter=BB.prototype.Wo;BB.prototype.templateBody=BB.prototype.Vo;BB.prototype.templateSeriesCategory=BB.prototype.Yo;BB.prototype.templateHeader=BB.prototype.Xo;Od("aplos.chart.behavior.hovercardutils.Builder",BB);function DB(a,b,c,e){var f=new BB;f.ha=a?a:null;f.N=b?b:null;f.O=c?c:null;f.v=e?e:null;return f} Od("aplos.chart.behavior.hovercardutils.Builder.fromTemplate",DB);var EB={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};Od("aplos.chart.behavior.LegendPosition",EB);function FB(){this.v=0;this.ha=null;this.N=!1} FB.prototype.position=function(a){if(!arguments.length||void 0===a)return this.v;this.v=a;return this};FB.prototype.O=function(a){if(!arguments.length||void 0===a)return this.ha;this.ha=a;return this};FB.prototype.Qd=function(a){if(!arguments.length||void 0===a)return this.N;this.N=a;return this};function GB(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} Od("aplos.chart.behavior.legend.LegendLayoutParams",FB);var HB={Aj:function(a,b,c){return 14===GB(c)?b.Ab():a.bottom-a.top},Bj:function(a,b,c){return 14===GB(c)?b.ab():a.right-a.left},io:function(a,b,c,e,f){f=HB.Wm(a,b,c,e,f);e.style("top",HB.Xm(a,b,c)+"px").style("left",f+"px")},Wm:function(a,b,c,e,f){var k=void 0!==f?f:0;void 0!==f||e.empty()||(k=e.node().offsetWidth);switch(GB(c)){case 14:return c.Qd()?a.Nb()+a.ab()-k:a.Nb();case 4:case 1:return c.Qd()&&!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=HB.Bj(b,a,c),0=k?HB.bl(f,n,c.height-k):f=n;var t=[];f.forEach(function(x){t.push({width:e,height:x})});return t},sr:function(a,b,c){for(var e=c.height,f=[],k=0,n=[],r=0;r=k?HB.bl(f,n,c.width-k):f=n;var t=[];f.forEach(function(x){t.push({width:x,height:e})});return t},bl: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=HB.Bj(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"));PB(a,b)}else f.style("display","none"),f.selectAll(".aplos-legend-column").remove(),k.style("display","none")} function QB(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,lp:c}} function MB(a,b,c,e){var f=b.Ka.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(NB(a),!0).style("width","100%").append("tbody").selectAll(".aplos-legend-entry").data(e);e=a.Re(b,e);a.update(b,e,0);var k=QB(a,c),n=e.empty()?0:e.node().getBoundingClientRect().top,r=HB.Aj(a.O,b,a.v)-(n-k.top)-k.lp,t=[[]],x=0,E=n;e.each(Nd(function(ma,na){var sa=this.getBoundingClientRect(),ta=sa.top;sa=ta-E+sa.height;0r||t[x].length===ma.Zg)&&(t[x+=1]=[],E=ta);t[x].push(na)},a));f.remove();return t} function PB(a,b){var c=b.Ka.select(".aplos-legend");HB.io(b,a.O,a.v,c);c.attr("data-position",Md(function(){var e=Jg(EB,function(f){return GB(this.v)===f},this);return null!=e?e.toLowerCase():null},a))} w.Re=function(a,b){var c=this.Uj(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.Wj(a)).on("mouseout.legend",this.Vj(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){RB(this,b);b.empty()||uk(b.node().parentElement).select(".aplos-legend-box-cell").style("width",this.wa.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 RB(a,b){var c=a.Ja||jo();c["svg-sample"]||(c["svg-sample"]=a.Ma.v(a.wa));b.each(Nd(function(e,f){e=Vn(f,"
"+(f.categorySeparator?e.Jf:e.Fh)+"
",c)[0];for(e=uk(e).select("tr").node();e.childNodes.length;)this.appendChild(e.childNodes[0])},a));b.classed("aplos-legend-category",function(e){return e.categorySeparator})} function OB(a){a.each(function(){uk(this.nextElementSibling).remove()});a.attr("opacity",0).on("click.legend",null).on("mouseover.legend",null).on("mouseout.legend",null).remove()} w.zl=function(a,b){b.Qe(new SB(a,this))};function NB(a){return null!=a.Jf?"aplos-legend-table-category":"aplos-legend-table"} function SB(a,b){this.N=a;this.v=b} w=SB.prototype;w.Oh=function(){var a={position:TB(this),dg:30},b=this.v.Pg();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};w.wg=function(a){JB(this.v,this.N,this.v.kb,this.v.Za,{top:0,right:a.width,bottom:a.height,left:0});var b=this.N.Ka.select(".aplos-legend");if(b.empty())return{Ca:{width:0,height:0},ub:{width:0,height:0},Fc:!0};var c=TB(this),e=zg(a,this.v.af(),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=x.size())});c=this.N.Ka.select(".aplos-legend-title");c=yk(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{Ca:{width:n,height:f},ub:{width:k,height:e},Fc:!1}};w.Qh=function(){return 0};w.Rh=function(){return 0};w.lh=function(a){var b=a.right-a.left;this.v.O=a;a=this.N.Ka.select(".aplos-legend").node();b!=a.offsetWidth&&PB(this.v,this.N)};w.Ze=function(){return this.v.O};function TB(a){switch(GB(a.v.v)){case EB.LEFT:return 5;case EB.RIGHT:return 6;case EB.TOP:case EB.TOP_FULL_LEFT:case EB.TOP_FULL_RIGHT:return 2;case EB.TOP_LEFT:case EB.TOP_RIGHT:return 1;case EB.BOTTOM:case EB.BOTTOM_FULL_LEFT:case EB.BOTTOM_FULL_RIGHT:return 4;case EB.BOTTOM_LEFT:case EB.BOTTOM_RIGHT:return 3;default:return 0}} ;function UB(){this.N=new Jx;this.v=new VB("");this.v.next=this.v.v=this.v} w=UB.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 VB(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 WB(this,this.v.next)};w.pop=function(){return WB(this,this.v.v)};w.remove=function(a){return(a=this.N.get(a))?(a.remove(),this.N.remove(a.key),!0):!1};function XB(a){return a.map(function(b){return b})} w.contains=function(a){return this.some(function(b){return b==a})};w.clear=function(){this.yf(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.yf=function(a){for(;this.N.size>a;){var b=this.v.next;b.remove();this.N.remove(b.key)}};function WB(a,b){a.v!=b&&(b.remove(),a.N.remove(b.key));return b.value} function VB(a,b){this.key=a;this.value=b} VB.prototype.remove=function(){this.v.next=this.next;this.next.v=this.v;delete this.v;delete this.next};Od("aplos.chart.behavior.SeriesLegendClickHandling",{NONE:0,HIDE:1});function YB(a){IB.call(this,a||'{{svg-sample}} {{series.name}}');this.Da=!1;this.ma={};this.Ta=!1;this.N={};this.ka=[];this.Qa=[];this.Na="series_asc";this.Aa=1} Pd(YB,IB);Od("aplos.chart.behavior.SeriesLegend",YB);var ZB=null,$B=null;YB.prototype.kp=function(a){return null!=a?(this.Da=a,a||(this.ma={}),this):this.Da};YB.prototype.valuesFromNearestDatum=YB.prototype.kp;YB.prototype.Fn=function(a){if(null==a)return this.Ta;this.Ta=!!a;return this};YB.prototype.hideEmptySeries=YB.prototype.Fn;YB.prototype.Gn=function(a){this.N[a]=!0;return this};YB.prototype.hideSeries=YB.prototype.Gn;YB.prototype.ih=function(a){if(null==a)return this.Na;this.Na=a;return this};YB.prototype.ordering=YB.prototype.ih;YB.prototype.nj=function(a){if(null==a)return this.Aa;this.Aa=a;return this};YB.prototype.clickHandling=YB.prototype.nj;w=YB.prototype;w.Ic=function(a){var b=this;YB.Sb.Ic.call(this,a);a.on("mouseout.seriesLegend",function(){this.Da&&(this.ma={},a.sf())},this);a.on("mousemove.seriesLegend",function(){if(this.Da){for(var c=a.Rf(),e=0;ethis.N)a.Md("hover").deselectAll(),cC(this);else{var e=[c];switch(this.ha){case 0:void 0!==c.domain&&(e=a.Qf(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.Md("hover").oh(b.map(function(c){return{series:c.series?c.series:null,datum:c.datum}}));eC(this,a)};function eC(a,b){if(!a.v){var c="selectnearest_"+Date.now();uk(a.ka).on("mouseout."+c,function(){var e=b.lb.select(".mouseCapturePane").node(),f;if(f=Fj&&Fj.target)e?(f=Gj(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,y){null==u&&(u=0);null==y&&(y=h.length);for(;u>>1;0>l(h[z],p)?u=z+1:y=z}return u},right:function(h,p,u,y){null==u&&(u=0);null==y&&(y=h.length);for(;u>>1;0(y=arguments.length)?(h=l,l=0,1):3>y?1:+p;for(var u=-1,y=Math.max(0,Math.ceil((h-l)/p))|0,z=Array(y);++u=Eo?10:h>=Fo?5:h>=Go?2:1)*Math.pow(10,l):-Math.pow(10,-l)/(h>=Eo?10:h>=Fo?5:h>=Go?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>=Eo?p*=10:u>=Fo?p*=5:u>=Go&&(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.dj=l;this.ee=(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=mC.exec(l))?zb(parseInt(h[1],16)):(h=nC.exec(l))?new La(h[1],h[2],h[3],1):(h=oC.exec(l))?new La(255*h[1]/100,255*h[2]/100,255*h[3]/100,1):(h=pC.exec(l))?Ab(h[1],h[2],h[3],h[4]):(h=qC.exec(l))?Ab(255*h[1]/100,255*h[2]/100,255*h[3]/100,h[4]):(h=rC.exec(l))?Bb(h[1],h[2]/100,h[3]/100,1):(h=sC.exec(l))?Bb(h[1],h[2]/100,h[3]/100,h[4]):hv.hasOwnProperty(l)?zb(hv[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,y=Math.min(h,p,u),z=Math.max(h,p,u),A=NaN,la=z-y,oa=(z+y)/2;la?(A=h===z?(p-u)/la+6*(poa?z+y:2-z-y,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*iv;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),y=pb(l.b);h=mb(.2225045*p+.7168786*u+.0606169*y);if(p===u&&u===y)var z=p=h;else z=mb((.4360747*p+.3850649*u+.1430804*y)/.96422),p=mb((.0139322*p+.0971045*u+.7141733*y)/.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>tC?Math.pow(l,1/3):l/jv+kv} function nb(l){return l>Jh?l*l*l:jv*(l-kv)} 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)*lv;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 y=l;if(y instanceof sb)y=new sb(y.h,y.s,y.l,y.opacity);else{y instanceof La||(y=hb(y));var z=y.g/255,A=y.b/255,la=(mv*A+y.r/255*-1.7884503806-3.5172982438*z)/(mv+-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)*lv-120:NaN;y=new sb(0>A?A+360:A,z,la,y.opacity)}}else y=new sb(l,h,p,null==u?1:u);return y} function sb(l,h,p,u){this.h=+l;this.s=+h;this.l=+p;this.opacity=+u} function lc(l,h,p,u,y){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*y)/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),y=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])===(y=y[0])?la[A]?la[A]+=y:la[++A]=y:(la[++A]=null,oa.push({zd:A,x:nc(u,y)})),p=Io.lastIndex;pla.length?oa[0]?Dc(oa[0].x):Cc(h):(h=oa.length,function(ra){for(var qa=0,pa;qal.Hf&&(p=l.Hf);var u=l;l=l.Vc}else h=l.Vc,l.Vc=null,l=u?u.Vc=h:Zk=h;Si=u;yf(p);Lg=0}} function bf(){var l=Qi.now(),h=l-Yk;1E3l&&(Ri=setTimeout(Fi,l-Qi.now()-Xk)),Ti&&(Ti=clearInterval(Ti))):(Ti||(Yk=Qi.now(),Ti=setInterval(bf,1E3)),Kh=1,ov(Fi)))} function Gi(l,h,p){var u=new Ig;h=null==h?0:+h;u.restart(function(y){u.stop();l(y+h)},h,p);return u} function Ie(l,h,p,u,y,z){var A=l.Gd;if(!A)l.Gd={};else if(p in A)return;Kk(l,p,{name:h,index:u,group:y,on:uC,tween:vC,time:z.time,delay:z.delay,duration:z.duration,ease:z.ease,timer:null,state:0})} function se(l,h){l=le(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(Vc+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())!==Lo;){for(var eb=[];Da!==rv&&Da!==Lo;)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?"":y.test(A+="")?'"'+A.replace(/"/g,'""')+'"':A} var y=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?AC(qa,la):pv(qa)});A.columns=ra||[];return A},parseRows:h,format:function(A,la){null==la&&(la=BC(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 CC(l){if(!l.ok)throw Error(l.status+" "+l.statusText);return l.text()} function sv(l){return function(h,p,u){2===arguments.length&&"function"===typeof p&&(u=p,p=void 0);return fetch(h,p).then(CC).then(function(y){return l(y,u)})}} function tv(l,h,p,u){if(isNaN(h)||isNaN(p))return l;var y,z=l.vb;u={data:u};var A=l.Ra,la=l.Sa,oa=l.Ba,ra=l.Fa,qa,pa,wa,Da,Ha;if(!z)return l.vb=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,y=z,!(z=z[Ha=Da<<1|wa]))return y[Ha]=u,l;var jc=+l.Cb.call(null,z.data);var eb=+l.Gb.call(null,z.data);if(h===jc&&p===eb)return u.next=z,y?y[Ha]=u:l.vb=u,l;do y=y?y[Ha]=Array(4):l.vb=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 y[wa]=z,y[Ha]=u,l} function he(l,h,p,u,y){this.node=l;this.x0=h;this.y0=p;this.x1=u;this.y1=y} function DC(l){return l[0]} function EC(l){return l[1]} function Mo(l,h,p,u,y,z){this.Cb=l;this.Gb=h;this.Ra=p;this.Sa=u;this.Ba=y;this.Fa=z;this.vb=void 0} function uv(l){for(var h={data:l.data},p=h;l=l.next;)p=p.next={data:l.data};return h} function dl(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(y-=la,y+la));if((oa+=la+1)>u)break;la=l[A=(A+1)%l.length]}return z.reverse().join(h)}} function GC(l){return function(h){return h.replace(/[0-9]/g,function(p){return l[+p]})}} function el(l){return new No(l)} function No(l){if(!(h=HC.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 vv(l,h){h=dl(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 wv(l){return l} function IC(l){function h(la){function oa(Ma){var Sc=tc,Ka=Oc,Ta;if("c"===Vc)Ka=bd(Ma)+Ka,Ma="";else{Ma=+Ma;var Ga=0>Ma;Ma=bd(Math.abs(Ma),eb);if(Pc){var Na=Ma.length;var Zc=1,yd=-1,Dd;a:for(;ZcTa||57>1)+Sc+Ma+Ka+Ga.slice(Ta);break;default:Ma=Ga+Sc+Ma+Ka}return z(Ma)} la=el(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,Vc=la.type;"n"===Vc?(jc=!0,Vc="g"):zv[Vc]||(null==eb&&(eb=12),Pc=!0,Vc="g");if(Da||"0"===ra&&"="===qa)Da=!0,ra="0",qa="=";var tc="$"===wa?u[0]:"#"===wa&&/[boxX]/.test(Vc)?"0"+Vc.toLowerCase():"",Oc="$"===wa?u[1]:/[%p]/.test(Vc)?A:"",bd=zv[Vc],Rc=/[defgprs%]/.test(Vc);eb=null==eb?6:/[gprs]/.test(Vc)?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?FC(l.grouping,l.thousands):wv,u=l.currency,y=l.decimal,z=l.numerals?GC(l.numerals):wv,A=l.percent||"%";return{format:h,formatPrefix:function(la,oa){var ra=h((la=el(la),la.type="f",la));la=3*Math.max(-8,Math.min(8,Math.floor(Lh(oa)/3)));var qa=Math.pow(10,-la),pa=xv[8+la/3];return function(wa){return ra(qa*wa)+pa}}}} function Ke(){this.reset()} function Av(l,h,p){var u=l.s=h+p,y=u-h;l.t=h-(u-y)+(p-y)} function fl(l){return 1l?-Be:Math.asin(l)} function JC(){} function Bv(l){var h=l[0];l=l[1];var p=Ce(l);return[p*Ce(h),p*ae(h),ae(l)]} function Cv(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 Dv(l){var h=gl(l[0]*l[0]+l[1]*l[1]+l[2]*l[2]);l[0]/=h;l[1]/=h;l[2]/=h} function KC(){var l=[],h;return{point:function(p,u){h.push([p,u])},lineStart:function(){l.push(h=[])},lineEnd:JC,nr:function(){1=(wa=pa.length-1))){var wa,Da=pa[0],Ha=pa[wa],jc=Da;if(1E-6>dg(jc[0]-Ha[0])&&1E-6>dg(jc[1]-Ha[1])){y.lineStart();for(la=0;la(l=l.x)[0]?l[1]-Be-1E-6:Be-l[1])-(0>(h=h.x)[0]?h[1]-Be-1E-6:Be-h[1])} function Oo(){} function Fv(l){return function(h,p){var u=Ce(h),y=Ce(p);u=l(u*y);return[u*y*ae(h),u*ae(p)]}} function Ui(l){return function(h,p){var u=gl(h*h+p*p),y=l(u),z=ae(y);y=Ce(y);return[Gv(h*z,u*y),fl(u&&p*z/u)]}} function OC(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 Hv(l,h){var p=new Vi(l);l=+l.value&&(p.value=l.value);var u,y=[p],z,A,la,oa;for(null==h&&(h=PC);u=y.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)y.push(z=u.children[la]=new Vi(A[la])),z.parent=u,z.depth=u.depth+1;return p.eachBefore(QC)} function PC(l){return l.children} function RC(l){l.data=l.data.data} function QC(l){var h=0;do l.height=h;while((l=l.parent)&&l.height<++h)} function Vi(l){this.data=l;this.depth=this.height=0;this.parent=null} function Po(l){function h(z){var A=z+"",la=p.get(A);if(!la){if(y!==Iv)return y;p.set(A,la=u.push(z))}return l[(la-1)%l.length]} var p=bl(),u=[],y=Iv;l=null==l?[]:il.call(l);h.domain=function(z){if(!arguments.length)return u.slice();u=[];p=bl();for(var A=-1,la=z.length,oa,ra;++A=p?1:u(y)}}} function UC(l){return function(h,p){var u=l(h=+h,p=+p);return function(y){return 0>=y?h:1<=y?p:u(y)}}} function VC(l,h,p,u){var y=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[y]=Math.ceil(A*oa)/oa,u[z]=Math.floor(la*oa)/oa,h(u));return l};return l} function Nv(){var l=To(Ro,nc);l.copy=function(){return So(l,Nv())};return YC(l)} function Ov(l,h){l=l.slice();var p=0,u=l.length-1,y=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 aD(l){return isFinite(l)?+("1e"+l):0>l?0:l} function Pv(l){return 10===l?aD:l===Math.E?Math.exp:function(h){return Math.pow(l,h)}} function Qv(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 Rv(l){return function(h){return-l(-h)}} function Sv(){function l(){y=Qv(u);z=Pv(u);0>p()[0]&&(y=Rv(y),z=Rv(z));return h} var h=To(ZC,$C).domain([1,10]),p=h.domain,u=10,y=Qv(10),z=Pv(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=Bi(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(y(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&&(y.count=function(z,A){Uo.setTime(+z);Vo.setTime(+A);l(Uo);l(Vo);return Math.floor(p(Uo,Vo))},y.every=function(z){z=Math.floor(z);return isFinite(z)&&0l.y){var h=new Date(-1,l.m,l.d,l.rd,l.M,l.S,l.L);h.setFullYear(l.y);return h}return new Date(l.y,l.m,l.d,l.rd,l.M,l.S,l.L)} function jl(l){if(0<=l.y&&100>l.y){var h=new Date(Date.UTC(-1,l.m,l.d,l.rd,l.M,l.S,l.L));h.setUTCFullYear(l.y);return h}return new Date(Date.UTC(l.y,l.m,l.d,l.rd,l.M,l.S,l.L))} function Wi(l){return{y:l,m:0,d:1,rd:0,M:0,S:0,L:0}} function cD(l){function h(Ka,Ta){return function(Ga){var Na=[],Zc=-1,yd=0,Dd=Ka.length,pd,ve;for(Ga instanceof Date||(Ga=new Date(+Ga));++ZcNa.yg||53=Dd)return-1;pd=Ta.charCodeAt(Zc++);if(37===pd){if(pd=Ta.charAt(Zc++),pd=Sc[pd in Tv?Ta.charAt(Zc++):pd],!pd||0>(Na=pd(Ka,Ga,Na)))return-1}else if(pd!=Ga.charCodeAt(Na++))return-1}return Na} var y=l.dateTime,z=l.date,A=l.time,la=l.periods,oa=l.days,ra=l.shortDays,qa=l.months,pa=l.shortMonths,wa=Xi(la),Da=Yi(la),Ha=Xi(oa),jc=Yi(oa),eb=Xi(ra),Pc=Yi(ra),Vc=Xi(qa),tc=Yi(qa),Oc=Xi(pa),bd=Yi(pa),Rc={a:function(Ka){return ra[Ka.getDay()]},A:function(Ka){return oa[Ka.getDay()]},b:function(Ka){return pa[Ka.getMonth()]},B:function(Ka){return qa[Ka.getMonth()]},c:null,d:Vv,e:Vv,f:dD,H:eD,I:fD,j:gD,L:Wv,m:hD,M:iD,p:function(Ka){return la[+(12<=Ka.getHours())]},Q:Xv,s:Yv,S:jD,u:kD,U:lD,V:mD,w:nD,W:oD,x:null,X:null,y:pD,Y:qD,Z:rD,"%":Zv},Ma={a:function(Ka){return ra[Ka.getUTCDay()]},A:function(Ka){return oa[Ka.getUTCDay()]},b:function(Ka){return pa[Ka.getUTCMonth()]},B:function(Ka){return qa[Ka.getUTCMonth()]},c:null,d:$v,e:$v,f:sD,H:tD,I:uD,j:vD,L:aw,m:wD,M:xD,p:function(Ka){return la[+(12<=Ka.getUTCHours())]},Q:Xv,s:Yv,S:yD,u:zD,U:AD,V:BD,w:CD,W:DD,x:null,X:null,y:ED,Y:FD,Z:GD,"%":Zv},Sc={a:function(Ka,Ta,Ga){return(Ta=eb.exec(Ta.slice(Ga)))?(Ka.w=Pc[Ta[0].toLowerCase()],Ga+Ta[0].length):-1},A:function(Ka,Ta,Ga){return(Ta=Ha.exec(Ta.slice(Ga)))?(Ka.w=jc[Ta[0].toLowerCase()],Ga+Ta[0].length):-1},b:function(Ka,Ta,Ga){return(Ta=Oc.exec(Ta.slice(Ga)))?(Ka.m=bd[Ta[0].toLowerCase()],Ga+Ta[0].length):-1},B:function(Ka,Ta,Ga){return(Ta=Vc.exec(Ta.slice(Ga)))?(Ka.m=tc[Ta[0].toLowerCase()],Ga+Ta[0].length):-1},c:function(Ka,Ta,Ga){return u(Ka,y,Ta,Ga)},d:bw,e:bw,f:HD,H:cw,I:cw,j:ID,L:JD,m:KD,M:LD,p:function(Ka,Ta,Ga){return(Ta=wa.exec(Ta.slice(Ga)))?(Ka.p=Da[Ta[0].toLowerCase()],Ga+Ta[0].length):-1},Q:MD,s:ND,S:OD,u:PD,U:QD,V:RD,w:SD,W:TD,x:function(Ka,Ta,Ga){return u(Ka,z,Ta,Ga)},X:function(Ka,Ta,Ga){return u(Ka,A,Ta,Ga)},y:UD,Y:VD,Z:WD,"%":XD};Rc.x=h(z,Rc);Rc.X=h(A,Rc);Rc.c=h(y,Rc);Ma.x=h(z,Ma);Ma.X=h(A,Ma);Ma.c=h(y,Ma);return{format:function(Ka){var Ta=h(Ka+="",Rc);Ta.toString=function(){return Ka};return Ta},parse:function(Ka){var Ta=p(Ka+="",bD);Ta.toString=function(){return Ka};return Ta},utcFormat:function(Ka){var Ta=h(Ka+="",Ma);Ta.toString=function(){return Ka};return Ta},utcParse:function(Ka){var Ta=p(Ka,jl);Ta.toString=function(){return Ka};return Ta}}} function sd(l,h,p){var u=0>l?"-":"";l=(u?-l:l)+"";var y=l.length;return u+(y=l?-ll:Math.asin(l)} function eE(l){return l.innerRadius} function fE(l){return l.outerRadius} function gE(l){return l.startAngle} function hE(l){return l.endAngle} function iE(l){return l&&l.padAngle} function ml(l,h,p,u,y,z,A){var la=l-p,oa=h-u;A=(A?z:-z)/Nh(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=y-z;wa=ra*wa-pa*qa;var Da=(0>l?-1:1)*Nh(jE(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,od:-oa,qd:-la,Zd:ra*(y/z-1),ae:qa*(y/z-1)}} function gw(l){this.Ga=l} function nl(l){return new gw(l)} function hw(l){return l[0]} function iw(l){return l[1]} function jw(){function l(la){var oa,ra=la.length,qa,pa=!1,wa;null==y&&(A=z(wa=$k()));for(oa=0;oa<=ra;++oa)!(oal?1:h>=l?0:NaN} function lE(l){return l} function kw(l){this.Me=l} function lw(l,h,p){l.Ga.bezierCurveTo((2*l.Ra+l.Ba)/3,(2*l.Sa+l.Fa)/3,(l.Ra+2*l.Ba)/3,(l.Sa+2*l.Fa)/3,(l.Ra+4*l.Ba+h)/6,(l.Sa+4*l.Fa+p)/6)} function mw(l){this.Ga=l} function nw(l,h,p){l.Ga.bezierCurveTo(l.Ba+l.Ag*(l.Oe-l.Ra),l.Fa+l.Ag*(l.Pe-l.Sa),l.Oe+l.Ag*(l.Ba-h),l.Pe+l.Ag*(l.Fa-p),l.Oe,l.Pe)} function ow(l,h){this.Ga=l;this.Ag=(1-h)/6} function pw(l,h,p){var u=l.Ba-l.Ra;h-=l.Ba;var y=(l.Fa-l.Sa)/(u||0>h&&-0);l=(p-l.Fa)/(h||0>u&&-0);return((0>y?-1:1)+(0>l?-1:1))*Math.min(Math.abs(y),Math.abs(l),.5*Math.abs((y*h+l*u)/(u+h)))||0} function qw(l,h){var p=l.Ba-l.Ra;return p?(3*(l.Fa-l.Sa)/p-h)/2:h} function ap(l,h,p){var u=l.Ra,y=l.Ba,z=l.Fa,A=(y-u)/3;l.Ga.bezierCurveTo(u+A,l.Sa+A*h,y-A,z-A*p,y,z)} function ol(l){this.Ga=l} function rw(l){this.Ga=new sw(l)} function sw(l){this.Ga=l} function tw(l){this.Ga=l} function uw(l){var h,p=l.length-1,u=Array(p),y=Array(p),z=Array(p);u[0]=0;y[0]=2;z[0]=l[0]+2*l[1];for(h=1;harguments.length)for(;++zthis.ee.indexOf(l)&&(this.ee.push(l),this.dj.setAttribute("class",this.ee.join(" ")))},remove:function(l){l=this.ee.indexOf(l);0<=l&&(this.ee.splice(l,1),this.dj.setAttribute("class",this.ee.join(" ")))},contains:function(l){return 0<=this.ee.indexOf(l)}};var fv={};Fj=null;"undefined"!==typeof document&&("onmouseenter"in document.documentElement||(fv={mouseenter:"mouseover",mouseleave:"mouseout"}));var gv=[null];Ra.prototype=Za.prototype={constructor:Ra,select:function(l){"function"!==typeof l&&(l=ya(l));for(var h=this.nb,p=h.length,u=Array(p),y=0;y=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()),y=-1,z=p.length;++yarguments.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?Oh:Math.pow(Oh,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 iv=Math.PI/180,lv=180/Math.PI,kv=4/29,Jh=6/29,jv=3*Jh*Jh,tC=Jh*Jh*Jh;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 mv=1.78277*-.29227-.1347134789;ab(sb,db,bb(Xa,{brighter:function(l){l=null==l?Oh:Math.pow(Oh,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)*iv,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 Wk=function p(h){function u(z,A){var la=y((z=cb(z)).r,(A=cb(A)).r),oa=y(z.g,A.g),ra=y(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 y=Ac(h);u.gamma=p;return u}(1),dE=Gc(function(h){var p=h.length-1;return function(u){var y=0>=u?u=0:1<=u?(u=1,p-1):Math.floor(u*p),z=h[y],A=h[y+1];return lc((u-y/p)*p,0(u%=1)?++u:u)*p);return lc((u-y/p)*p,h[(y+p-1)%p],h[y%p],h[(y+1)%p],h[(y+2)%p])}});var Ho=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Io=new RegExp(Ho.source,"g"),nv=180/Math.PI,bp={Ri:0,Si:0,rotate:0,skewX:0,li:1,mi:1},aj,cp,ww,ql,nE=wc(function(h){if("none"===h)return bp;aj||(aj=document.createElement("DIV"),cp=document.documentElement,ww=document.defaultView);aj.style.transform=h;h=ww.getComputedStyle(cp.appendChild(aj),null).getPropertyValue("transform");cp.removeChild(aj);h=h.slice(7,-1).split(",");return vc(+h[0],+h[1],+h[2],+h[3],+h[4],+h[5])},"px, ","px)","deg)"),oE=wc(function(h){if(null== h)return bp;ql||(ql=document.createElementNS("http://www.w3.org/2000/svg","g"));ql.setAttribute("transform",h);if(!(h=ql.transform.baseVal.consolidate()))return bp;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 dp=tb(Cb),Kh=0,Ri=0,Ti=0,Zk,Si,Yk=0,Lg=0,Xk=0,Qi="object"===typeof performance&&performance.now?performance:Date,ov="object"===typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(h){setTimeout(h,17)};Ig.prototype=Ei.prototype={constructor:Ig,restart:function(h,p,u){if("function"!==typeof h)throw new TypeError("callback is not a function");u=(null==u?Hg():+u)+(null==p?0:+p);this.Vc||Si===this||(Si?Si.Vc=this:Zk=this,Si=this);this.Ff=h;this.Hf=u;yf()},stop:function(){this.Ff&&(this.Ff=null,this.Hf=Infinity,yf())}};var uC=t("start","end","interrupt"),vC=[],pE=Za.prototype.constructor,xw=0,Ph=Za.prototype;Ff.prototype=function(h){return Za().transition(h)}.prototype={constructor:Ff,select:function(h){var p=this.Ne,u=this.Vb;"function"!==typeof h&&(h=ya(h));for(var y=this.nb,z=y.length,A=Array(z),la=0;laarguments.length?le(this.node(),u).on.on(h):this.each($d(u,h,p))},attr:function(h,p){var u=na(h),y="transform"===u?oE:gd;return this.attrTween(h,"function"===typeof p?(u.local?Mk:Lk)(u,y,oc(this,"attr."+h,p)):null==p?(u.local?hd:Wc)(u):(u.local?Bh:Ba)(u,y,p+""))},attrTween:function(h,p){var u="attr."+h;if(2>arguments.length)return(u=this.tween(u))&&u.Dg;if(null==p)return this.tween(u,null);if("function"!==typeof p)throw Error();var y=na(h);return this.tween(u,(y.local?go:Kd)(y,p))},style:function(h,p,u){var y="transform"===(h+="")?nE:gd;return null==p?this.styleTween(h,Ch(h,y)).on("end.style."+h,ge(h)):this.styleTween(h,"function"===typeof p?wC(h,y,oc(this,"style."+h,p)):io(h,y,p+""),u)},styleTween:function(h,p,u){var y="style."+(h+="");if(2>arguments.length)return(y=this.tween(y))&&y.Dg;if(null==p)return this.tween(y,null);if("function"!==typeof p)throw Error();return this.tween(y,xC(h,p,null==u?"":u))},text:function(h){return this.tween("text","function"===typeof h?zC(oc(this,"text",h)):yC(null==h?"":h+""))},remove:function(){return this.on("end.remove",Yf(this.Vb))},tween:function(h,p){var u=this.Vb;h+="";if(2>arguments.length){u=le(this.node(),u).tween;for(var y=0,z=u.length,A;y=(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.Gd,y,z=!0,A;if(u){p=null==p?null:p+"";for(A in u)if((y=u[A]).name!==p)z=!1;else{var la=2y.state;y.state=6;y.timer.stop();la&&y.on.call("interrupt",this,this.__data__,y.index,y.group);delete u[A]}z&&delete this.Gd}})};Za.prototype.transition=function(h){var p;if(h instanceof Ff){var u=h.Vb;h=h.Ne}else u=++xw,(p=ep).time=Hg(),h=null==h?null:h+"";for(var y=this.nb,z=y.length,A=0;Az)throw Error("negative radius: "+z);if(null===this.Ba)this.Ha+="M"+(this.Ba=h)+","+(this.Fa=p);else if(1E-6 qa*y)+","+(this.Ba=h+wa*oa)+","+(this.Fa=p+wa*ra)}else this.Ha+="L"+(this.Ba=h)+","+(this.Fa=p)},arc:function(h,p,u,y,z,A){h=+h;p=+p;u=+u;var la=u*Math.cos(y),oa=u*Math.sin(y),ra=h+la,qa=p+oa,pa=1^A;y=A?y-z:z-y;if(0>u)throw Error("negative radius: "+u);if(null===this.Ba)this.Ha+="M"+ra+","+qa;else if(1E-6y&&(y=y%gp+gp),y>qE?this.Ha+="A"+u+","+u+",0,1,"+pa+","+(h-la)+","+(p-oa)+"A"+u+","+u+",0,1,"+pa+","+(this.Ba=ra)+","+(this.Fa=qa):1E-6=fp)+","+pa+","+(this.Ba=h+u*Math.cos(z))+ ","+(this.Fa=p+u*Math.sin(z))))},rect:function(h,p,u,y){this.Ha+="M"+(this.Ra=this.Ba=+h)+","+(this.Sa=this.Fa=+p)+"h"+ +u+"v"+ +y+"h"+-u+"Z"},toString:function(){return this.Ha}};al.prototype=bl.prototype={constructor:al,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 Pg=bl.prototype;cl.prototype=function(h,p){var u=new cl;if(h instanceof cl)h.each(function(A){u.add(A)});else if(h){var y=-1,z=h.length;if(null==p)for(;++yz;++z)if(y=p.source[z])y.length?u.push({source:y,target:p.target[z]=Array(4)}):p.target[z]=uv(y);return h};ie.add=function(h){var p=+this.Cb.call(null,h),u=+this.Gb.call(null,h);return tv(this.cover(p,u),p,u,h)};ie.addAll=function(h){var p,u,y=h.length,z,A,la=Array(y),oa=Array(y),ra=Infinity,qa=Infinity,pa=-Infinity,wa=-Infinity;for(u=0;upa&&(pa=z),Awa&&(wa=A));pah||h>z||y>p||p>A){var la=z-u,oa=this.vb,ra;switch(ra=(p<(y+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=y+la,h>z||p>A);break;case 1:do qa=Array(4),qa[ra]=oa,oa=qa;while(la*=2,u=z-la,A=y+la,u>h||p>A);break;case 2:do qa=Array(4),qa[ra]=oa,oa=qa;while(la*=2,z=u+la,y=A-la,h>z||y>p);break;case 3:do qa= Array(4),qa[ra]=oa,oa=qa;while(la*=2,u=z-la,y=A-la,u>h||y>p)}this.vb&&this.vb.length&&(this.vb=oa)}else return this;this.Ra=u;this.Sa=y;this.Ba=z;this.Fa=A;return this};ie.data=function(){var h=[];this.visit(function(p){if(!p.length){do h.push(p.data);while(p=p.next)}});return h};ie.extent=function(h){return arguments.length?this.cover(+h[0][0],+h[0][1]).cover(+h[1][0],+h[1][1]):isNaN(this.Ra)?void 0:[[this.Ra,this.Sa],[this.Ba,this.Fa]]};ie.find=function(h,p,u){var y=this.Ra,z=this.Sa,A,la,oa,ra,qa=this.Ba,pa=this.Fa,wa=[],Da=this.vb,Ha;Da&&wa.push(new he(Da,y,z,qa,pa));null==u?u=Infinity:(y=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.Cb.call(null,Da.data),jc=p-+this.Gb.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(!(y=u,u=u.next))return this;(h=u.next)&&delete u.next;if(y)return h?y.next=h:delete y.next,this;if(!p)return this.vb=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.vb=u);return this};ie.removeAll=function(h){for(var p=0,u=h.length;p=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;el.prototype=No.prototype;No.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 yv,zv={"%":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 vv(100*h,p)},r:vv,s:function(h,p){var u=dl(h,p);if(!u)return h+"";var y=u[0];u=u[1];u=u-(yv=3*Math.max(-8,Math.min(8,Math.floor(u/3))))+1;var z=y.length;return u===z?y:u>z?y+Array(u-z+1).join("0"):0Ld;eg*=Aw;jp.add(Gv(eg*lp*ae(mp),zw*bj+eg*Ce(mp)));Ka+=ul?Qh+lp*tE:Qh;ul^pd>=Rc^kp>=Rc&&(Dd=Cv(Bv(Dd),Bv(tl)),Dv(Dd),pd=Cv(Ma,Dd),Dv(pd),pd=(ul^0<=Qh?-1:1)*fl(pd[2]),Sc>pd||Sc===pd&&(Dd[0]||Dd[1]))&&(Ta+=ul^0<=Qh?1:-1)}}bd=(-1E-6>Ka||1E-6>Ka&&-1E-6>jp)^Ta&1;Vc.length?(eb||(z.polygonStart(),eb=!0),LC(Vc,NC,bd,u,z)):bd&&(eb||(z.polygonStart(),eb=!0),z.lineStart(),u(null,null,1,z),z.lineEnd());eb&&(z.polygonEnd(),eb=!1);Vc=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,y=NaN,z;return{lineStart:function(){h.lineStart();z=1},point:function(A,la){var oa=0dg(ra-Ld))h.point(p,u=0<(u+la)/2?Be:-Be),h.point(y,u),h.lineEnd(),h.lineStart(),h.point(oa,u),h.point(A,u),z=0;else if(y!==oa&&ra>=Ld){1E-6>dg(p-y)&&(p-=1E-6*y);1E-6>dg(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=Ui(function(h){return h});gl(3);Ui(ip);Ui(fl);Ui(function(h){return 2*ip(h)});Vi.prototype=Hv.prototype={constructor:Vi,count:function(){return this.eachAfter(OC)},each:function(h){var p,u=[this],y;do{var z=u.reverse();for(u=[];p=z.pop();)if(h(p),p=p.children){var A=0;for(y=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()}),Yo=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}),dw=Mg(0),Xo=Mg(1);Mg(2);Mg(3);var Zo=Mg(4);Mg(5);Mg(6);var xE=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()}),Og=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()});Og.every=function(h){return isFinite(h=Math.floor(h))&&0this.fe&&2===this.Pa&&this.Ga.lineTo(this.Cb,this.Gb);(this.Ia||0!==this.Ia&&1===this.Pa)&&this.Ga.closePath();0<=this.Ia&&(this.fe=1-this.fe,this.Ia=1-this.Ia)},point:function(p,u){p=+p;u=+u;switch(this.Pa){case 0:this.Pa=1;this.Ia?this.Ga.lineTo(p,u):this.Ga.moveTo(p,u);break;case 1:this.Pa=2;default:if(0>=this.fe)this.Ga.lineTo(this.Cb,u),this.Ga.lineTo(p,u);else{var y=this.Cb*(1-this.fe)+p*this.fe;this.Ga.lineTo(y,this.Gb);this.Ga.lineTo(y,u)}}this.Cb=p;this.Gb=u}};Zi.prototype={constructor:Zi,scale:function(p){return 1===p?this:new Zi(this.k*p,this.x,this.y)},translate:function(p,u){return 0===p&0===u?this:new Zi(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 Zi(1,0,0);qj=b;ax=function(p,u){return up?1:u>=p?0:NaN};Pi=function(p,u){var y=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};es=function(p,u){var y=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};jA=function(p,u){var y=p.length,z=-1,A,la=0;if(null==u)for(;++zHa;qa||(qa=pa=$k());if(Davl-1E-12)qa.moveTo(Da*Qg(Ha),Da*ef(Ha)),qa.arc(0,0,Da,Ha,jc,!Pc),1E-12Na?dj:Math.acos(Na))/2);eb=Nh(Ga[0]*Ga[0]+Ga[1]*Ga[1]);Ga=op(Ta,(wa-eb)/(Na-1));Na=op(Ta,(Da-eb)/(Na+1))}}1E-12=bd;--Ha)pa.point(tc[Ha],Oc[Ha]);pa.lineEnd();pa.areaEnd()}Pc&&(tc[Da]=+y(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(Vc)return pa=null,Vc+""||null} function u(){return jw().defined(oa).curve(qa).context(ra)} var y=hw,z=null,A=td(0),la=iw,oa=td(!0),ra=null,qa=nl,pa=null;p.x=function(wa){return arguments.length?(y="function"===typeof wa?wa:td(+wa),z=null,p):y};p.x0=function(wa){return arguments.length?(y="function"===typeof wa?wa:td(+wa),p):y};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(y).y(A)};p.lineY1=function(){return u().x(y).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};ly=jw;Lw=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(vl,Math.max(-vl,la.apply(this,arguments)-jc));var Pc=Math.min(Math.abs(eb)/pa,oa.apply(this,arguments)),Vc=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(k,1)+"-"+lg(k,2);var n=void 0;e=null!=(n=f.get(b))?n:0;n=void 0;k=null!=(n=lg(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 aF(a){var b=a.locale;a={};return DB("{{monthYear}}","
{{series.name}}: {{measure}}
").ie((a.monthYear=function(){return(new Date(this.datum.month)).toLocaleDateString(b,{month:"long",year:"numeric"})},a)).jj()} ;}).call(this); ");return null==a||null==a.sheet?wg:um(a.sheet,void 0!=b?b:null,c)} function ym(a){a=Jg(""+a+"");return(new DOMParser).parseFromString(Bg(a),"text/html").body.children[0]} function wm(a,b){if(!a)return kg;var c=document.createElement("div").style;zm(a).forEach(function(e){var f=ff&&e in tm?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=pm(a,e),e=Pl(f,e,b),null!=e&&qm(c,f,e))});return new gg(c.cssText||"",fg)} function Am(a){var b=Array.from(hm(Xl,a,"getElementsByTagName",["STYLE"])),c=Ze(b,function(n){return Ne(lm(n).cssRules)});c=vm(c);for(var e=[],f=0;f"+a+""),Am(a),a=a.innerHTML);a=Jg(a);var c=document.createElement("template");if(Gm&&"content"in c)Pg(c,a),c=c.content;else{var e=document.implementation.createHTMLDocument("x");c=e.body;Pg(e.body,a)}a=document.createTreeWalker(c,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT,null,!1);for(c=Cm?new WeakMap:new Em;e=a.nextNode();){a:{var f=e;switch(nm(f)){case 3:f= Im(this,f);break a;case 1:if("TEMPLATE"==mm(f).toUpperCase())f=null;else{var k=mm(f).toUpperCase();if(k in this.ka||"http://www.w3.org/1999/xhtml"!=rm(f))var n=null;else this.N[k]?n=document.createElement(k):(n=kj(document,"SPAN"),this.oa&&jm(n,"data-sanitizer-original-tag",k.toLowerCase()));if(n){var r=n,t=im(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=mm(E);ma=ma.value;var ua={tagName:Ud(ta).toLowerCase(),attributeName:Ud(na).toLowerCase()},sa={xh:void 0};"style"==ua.attributeName&&(sa.xh=km(E));E=Jm(ta,na);E in this.v?(na=this.v[E],ma=na(ma,ua,sa)):(na=Jm(null,na),na in this.v?(na=this.v[na],ma=na(ma,ua,sa)):ma=null)}null!==ma&&jm(r,k.name,ma)}f=n}else f=null}break a;default:f=null}}if(f){if(1==nm(f)&&c.set(e,f),e=om(e),k=!1,e)n=nm(e),r=mm(e).toLowerCase(),t=om(e),11!=n||t?"body"==r&&t&&(n=om(t))&&!om(n)&&(k=!0):k=!0,n=null,k||!e?n=b:1==nm(e)&&(n=c.get(e)),n.content&&(n=n.content),n.appendChild(f)}else mj(e)}c.clear&& c.clear();return b};var Km={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 Lm={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 Mm={"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 Nm(a){a=a||new Om;Pm(a);this.v=If(a.v);this.ka=If(a.Ea);this.N=If(a.Ja);this.oa=a.wa;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()]=Qm},this);a.La.forEach(function(b){b=b.toUpperCase();if(-1==b.indexOf("-")||Mm[b])throw new Sd("Only valid custom element tag names allowed, got: %s.",[b]);this.N[b]=!0},this);this.ma=a.O;this.ha=a.Aa;this.O=null;this.na=a.oa} Nd(Nm,Hm);function Rm(a){return function(b,c){b=Ud(b);return(c=a(b,c))&&"about:invalid#zClosurez"!=Zf(c)?Zf(c):null}} function Om(){this.v={};ze([Fl,Gl],function(a){Ff(a).forEach(function(b){this.v[b]=Qm},this)},this);this.N={};this.ka=[];this.La=[];this.Ea=If(Km);this.Ja=If(Lm);this.wa=!1;this.Ma=dg;this.ma=this.ha=this.Pa=this.O=Af;this.Aa=null;this.na=this.oa=!1} function Sm(a,b){return function(c,e,f,k){c=a(c,e,f,k);return null==c?null:b(c,e,f,k)}} function Tm(a,b,c,e){a[c]&&!b[c]&&(a[c]=Sm(a[c],e))} function Pm(a){if(a.na)throw Error("HtmlSanitizer.Builder.build() can only be used once.");Tm(a.v,a.N,"* USEMAP",Um);var b=Rm(a.Ma);["* ACTION","* CITE","* HREF"].forEach(function(e){Tm(this.v,this.N,e,b)},a);var c=Rm(a.O);["* LONGDESC","* SRC","LINK HREF"].forEach(function(e){Tm(this.v,this.N,e,c)},a);["* FOR","* HEADERS","* NAME"].forEach(function(e){Tm(this.v,this.N,e,Jd(Vm,this.Pa))},a);Tm(a.v,a.N,"A TARGET",Jd(Wm,["_blank","_self"]));Tm(a.v,a.N,"* CLASS",Jd(Xm,a.ha));Tm(a.v,a.N,"* ID",Jd(Ym,a.ha));Tm(a.v,a.N,"* STYLE",Jd(a.ma,c));a.na=!0} function Jm(a,b){a||(a="*");return(a+" "+b).toUpperCase()} function Qm(a){return Ud(a)} function Wm(a,b){b=Ud(b);return 0<=xe(a,b.toLowerCase())?b:null} function Um(a){return(a=Ud(a))&&"#"==a.charAt(0)?a:null} function Vm(a,b,c){b=Ud(b);return a(b,c)} function Xm(a,b,c){b=b.split(/(?:\s+)/);for(var e=[],f=0;f/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=gn(a);b&&(a=a.querySelector(b).parentNode);return a} function fn(a,b){for(var c=[a],e=null;e=c.pop();)Array.prototype.forEach.call(e.childNodes,function(f){f.nodeType===Node.TEXT_NODE?hn(e,f,b):f.childNodes.length&&c.push(f)})} function hn(a,b,c){if(b.textContent.match(jn)){var e=b.nextSibling;a.removeChild(b);b=b.textContent;for(var f=null,k=[];f=jn.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);Ie(k,this.v[a]);this.v[a]=b;k.push(b);this.O.hasOwnProperty(f)}else if(f.length)b=this.v[a],Ie(this.N[f]||[],b),delete this.v[a];else if(1a.Ca?Math.floor(b*a.Ca):a.Ca,Ua:0a.Ua?Math.floor(b*a.Ua):a.Ua};a.Ua=Math.max(a.Ca,a.Ua);return a} function Wn(a,b,c,e,f,k){var n=b.width-a.ka-a.na;a.oa=bo(n,b.width,b.height,ao(c,b.height),$n(a,[1,2]));a.ma=bo(n,b.width,b.height,ao(f,b.height),$n(a,[3,4]));c=b.height-a.oa-a.ma;f=$n(a,[3,4,1,2]);var r=0;for(n=0;nn){a=fo(f);for(e=b=0;en-b-y.Ca.height&&y.Ec&&(y.nc.height=0),b+=y.nc.height;return ji(b,k,c)}if(rk){a=fo(e);for(c=e=0;ck-e-t.Ca.width&&t.Ec&&(t.nc.width=0),e+=t.nc.width;return ji(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.Vc.Uf?b.Vc.Uf:20;c=void 0!==c.Vc.Uf?c.Vc.Uf:20;return b-c})} Un.prototype.setMargins=Un.prototype.Zc;Un.prototype.setMarginEnd=Un.prototype.Nk;Un.prototype.setMarginStart=Un.prototype.Qk;Un.prototype.setMarginLeft=Un.prototype.Ok;Un.prototype.setMarginBottom=Un.prototype.Mk;Un.prototype.setMarginRight=Un.prototype.Pk;Un.prototype.setMarginTop=Un.prototype.Rk;Md("aplos.chart.layout.DynamicLayout",Un);var go={Tq:"WARNING",ERROR:"ERROR"};Md("aplos.util.MessageSeverity",go);go.WARNING="WARNING";go.ERROR="ERROR";var To={Qq:"UNTIL_REMOVED",Pq:"UNTIL_DATA",oq:"ONCE"};Md("aplos.util.MessageDuration",To);To.UNTIL_REMOVED="UNTIL_REMOVED";To.UNTIL_FRESH_DATA="UNTIL_DATA";To.ONCE="ONCE";function Uo(a){this.v=a;this.N=!1} Uo.prototype.Gk=function(a){this.N=a};Uo.prototype.render=function(a){var b=a.filter(function(c){return"ERROR"===c.severity});b.length&&Vo(this,b);b.length||(b=Wo(this.v.Ta,Xo),b.empty()||(b.style("display","none"),b.selectAll("div."+Yo).remove(),this.v.lb.style("display","")));a=a.filter(function(c){return"WARNING"===c.severity});Zo(this,a)};function Vo(a,b){var c=Xo,e=$o,f=a.v,k=f.Ta;f.lb.style("display","none");var n=Wo(k,c);n.empty()&&(n=k.append("div").classed(c,!0),n.append("div").classed(ap,!0),n.append("div").classed(bp,!0));n.style("display",null);n.select("."+bp).attr("class",bp+" "+e);b=n.select("."+ap).selectAll("div."+Yo).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 Yo+" "+cp+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 Zo(a,b){var c=a.v.Ta.select("."+dp);c.empty()&&(c=a.v.Ta.append("div").classed(dp,!0));c.style("display",b.length?"":"none");c.classed(ep,!0);var e="";b.forEach(function(f){e+=f.message+"\n"});c.attr("title",e.trim())} function Wo(a,b){b=a.selectAll("."+b).nodes();for(var c=null,e=0;e>>0);function yp(a){if("function"===typeof a)return a;a[Gp]||(a[Gp]=function(b){return a.handleEvent(b)});return a[Gp]} ;var rh=Vf("");function Hp(){this.port=this.v=null;this.N=[]} Hp.prototype.load=function(){var a=this,b=Ip();this.v=Jp(b);Kp().then(function(){a.v&&document.body.appendChild(a.v)});return Lp(this.v,b).then(function(c){for(a.port=c.ports[0];0\n
 
\n \n \n \n \n \n \n
"))));var r=gk.contentDocument,t=r.querySelector(n.tagName);t||(t=r.querySelector("div"));r=Fj(t);t=Fj(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(!uf)for(uf={},c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),e=["+/=","+/","-_=","-_.","-_"],f=0;5>f;f++)for(k=c.concat(e[f].split("")),tf[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};ly.prototype.toSvgDataUrl=ly.prototype.il;ly.prototype.gp=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.il(a);var f=new hy;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};ly.prototype.toPngDataUrl=ly.prototype.gp;ly.prototype.getStyle=function(){return this.Ni};function xy(a,b,c){xy.base(this,"constructor",Me(a,["prelayout","postlayout"]),b,c);this.wf=this.Zd=null;this.Zc({top:40,end:20,start:20,bottom:20},{top:.333,end:.5,start:.5,bottom:.333})} Md("aplos.chart.SvgChartView",xy);Nd(xy,ly);var yy=0;xy.prototype.redraw=xy.prototype.mf;xy.prototype.Bd=function(){xy.Rb.Bd.call(this);var a=this.ef().node();a.setAttribute("width",this.frameWidth());a.setAttribute("height",this.frameHeight());this.lb.node().setAttribute("transform","translate("+this.Mb()+","+this.Nb()+")");this.Zd&&this.Zd.attr("width",this.ab()+1).attr("height",this.Bb()+2)};xy.prototype.ef=function(){return this.Wo};xy.prototype.getSvg=xy.prototype.ef;xy.prototype.hp=function(){var a=this.ef().node(),b=document.createElement("style"),c=Qj(a),e=Fj(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};xy.prototype.toSvgString=xy.prototype.hp;xy.prototype.getNearestDatumDetails=xy.prototype.Mf;var zy=document.implementation.hasFeature("org.w3c.svg","1.0")||document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Structure","1.1"),ny="aplos-chart-container",oy="aplos-chart-svg",py="aplos-draw-area";function Ay(a,b,c){var e=this;xy.call(this,Me(a,"datumMouseover datumMouseout datumClick seriesMouseover seriesMouseout seriesClick".split(" ")),b,c);this.Tb=new Hn(this);this.wa={};this.ag={};this.Vk("hover",new zn);this.hb=new By;this.on("viewportChange.seriesChartView",function(){e.hb.reset()})} Nd(Ay,xy);Md("aplos.chart.SeriesChartView",Ay);Ay.prototype.Vk=function(a,b){b.ah("clearSelectedDatumDetailsCache",this.xl.bind(this));var c=this.ag,e=sn[a].selectionChange,f=this.Ya;f.O.hasOwnProperty(e)||yn(f,[e]);e=c[a];null!=e&&e.ah("chartDelegate",null);c[a]=b;wy(this,b,a);return this};Ay.prototype.setSelectionModel=Ay.prototype.Vk;Ay.prototype.Po=function(a){In(this.Tb,a);return this};Ay.prototype.setSeriesDefaults=Ay.prototype.Po;Ay.prototype.wb=function(a){return this.wa[a||"__aplosDefault__"]||this.wa.__aplosDefault__};Ay.prototype.getRenderer=Ay.prototype.wb;Ay.prototype.Hn=function(a){return!!this.wa[a||"__aplosDefault__"]};Ay.prototype.hasRenderer=Ay.prototype.Hn;Ay.prototype.lg=function(a,b){b?(b.type&&(b=this.getStyle().Ej(b)),this.wa[a]=b):delete this.wa[a];return this};Ay.prototype.setRenderer=Ay.prototype.lg;Ay.prototype.oi=function(a){a.type&&(a=this.getStyle().Ej(a));this.wa.__aplosDefault__=a;return this};Ay.prototype.setDefaultRenderer=Ay.prototype.oi;Ay.prototype.mi=function(a,b){a=this.Lg(a,!0);a=a.filter(function(c){return!c.series||!c.series.overlay});(this.ag[rn[b]||"hover"]||null).Ii(a.map(function(c){return{series:c.series?c.series:null,datum:c.datum}}));return a.length};Ay.prototype.selectDatum=Ay.prototype.mi;Ay.prototype.xo=function(a){this.Ya.rb("seriesMouseover",this,a,bj)};Ay.prototype.selectSeries=Ay.prototype.xo;Ay.prototype.Ql=function(a){(this.ag[rn[a]||"hover"]||null).deselectAll()};Ay.prototype.clearSelections=Ay.prototype.Ql;Ay.prototype.Lg=function(a,b,c){var e=this.O||[],f=this.N||[];if(!e||!f)return[];if(bj){var k=aj(this.lb.node());var n=k[0];k=k[1]}for(var r=[],t=0;tb||b>this.ab())||!this.v&&(0>a||a>this.Bb()))return[];for(var e=new Lt(this.Mb(),this.Nb(),this.ab(),this.Bb()),f=new dj(b+e.left,a+e.top),k=[],n=0;na.Ja-a.Pa?a.show():lz(a,b))})} function lz(a,b){a.ma||(Sy(a.oa,Math.max(.25*a.N,50)),a.ma=wp(a.oa,"tick",Id(a.co,a,b)),a.oa.start())} w.co=function(a){a.Jd("hover").ne()?Date.now()-this.Ja>this.N&&this.show():iz(this)};function iz(a){a.oa.stop();Fp(a.ma);a.ma=null} w.td=function(a,b){return this.wa(a,b)};gz.prototype.setHovercardContainerStyle=gz.prototype.Jo;gz.prototype.hide=gz.prototype.Sh;gz.prototype.followClosestSeries=gz.prototype.yj;gz.prototype.followTopMostSeries=gz.prototype.im;gz.prototype.followNamedSeries=gz.prototype.hm;gz.prototype.getPlacer=gz.prototype.nn;gz.prototype.setPlacer=gz.prototype.Ei;gz.prototype.placer=gz.prototype.ko;gz.prototype.getContentRenderer=gz.prototype.Lf;gz.prototype.setContentRenderer=gz.prototype.nf;gz.prototype.contentRenderer=gz.prototype.Cg;gz.prototype.getShowDelayMs=gz.prototype.vn;gz.prototype.setShowDelayMs=gz.prototype.Wk;gz.prototype.showDelayMs=gz.prototype.To;gz.prototype.getTransitionMs=gz.prototype.Dn;gz.prototype.setTransitionMs=gz.prototype.Zk;gz.prototype.transitionMs=gz.prototype.tf;gz.prototype.getClassName=gz.prototype.xm;gz.prototype.setClassName=gz.prototype.zk;gz.prototype.className=gz.prototype.className;Md("aplos.chart.behavior.Hovercard",gz);function oz(){this.v=null;this.N=!1} w=oz.prototype;w.Cg=function(a){return arguments.length&&null!=a?this.nf(a):this.Lf()};w.Lf=function(){return this.v};w.nf=function(a){this.v=a;return this};w.md=function(a){if(a&&a.aj){if(this.N)throw Error("A donut center content card can be attached to one and only one pie chart.");this.N=!0;a.on("postrender.donutcentercontent",this.Xi.bind(this,a));a.on("hoverSelectionChange.donutcentercontent",this.Xi.bind(this,a))}};w.Ad=function(a){a&&a.aj&&(a.v(a.N()),this.N=!1,a.on("postrender.donutcentercontent",null),a.on("hoverSelectionChange.donutcentercontent",null))};w.Xi=function(a){var b=a.wb();if(a&&a.aj&&b&&"function"===typeof b.Id&&!(b.Id()=c)throw Error("LIKE pattern ends with a backslash.");f=a.charAt(++e);uz(f)&&(b+="\\");b+=f;break;case "_":b+=".";break;case "%":b+=".*";break;default:uz(f)&&(b+="\\"),b+=f}}return b+"$"} function wz(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 xz(){} xz.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 yz=new xz;yz=function(){function a(va,oc,fd,Vc){fd=fd||{};for(Vc=va.length;Vc--;fd[va[Vc]]=oc);return fd} function b(){this.Rc={}} 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],yg=[1,140],xk=[1,150],zg=[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],xi=[1,180],yi=[5,12,17,42,43,44,45,54,96,97,98,99],Xe=[1,233],vf=[1,250],zi=[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],Ge=[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],Ye=[1,336],ke=[5,12,17,54,96,97,98,99],yk=[96,97],Bi={trace:function(){},Rc:{},Xo:{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},og:{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"},mk:[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]],Yh:function(va,oc,fd,Vc,gd,za){va=za.length-1;switch(gd){case 1:return za[va-1];case 7:this.ta=za[va-1];break;case 9:case 10:case 13:this.ta={type:"function",name:za[va-3].toUpperCase(),params:[za[va-1]]};break;case 11:case 14:this.ta={type:"function",name:za[va-5].toUpperCase(),params:[za[va-3],za[va-1]]};break;case 12:case 15:this.ta={type:"function",name:za[va-3].toUpperCase(),params:za[va-1]};break;case 25:case 26:case 27:case 28:this.ta={type:"function",name:za[va-1],params:[za[va-2],za[va]]};break;case 29:this.ta={type:"function",name:"EQUAL",params:[za[va-2],za[va]]};break;case 30:this.ta={type:"function",name:"NOT_EQUAL",params:[za[va-2],za[va]]};break;case 31:this.ta={type:"function",name:"LESS",params:[za[va-2],za[va]]};break;case 32:this.ta={type:"function",name:"LESS_OR_EQUAL",params:[za[va-2],za[va]]};break;case 33:this.ta={type:"function",name:"GREATER",params:[za[va-2],za[va]]};break;case 34:this.ta={type:"function",name:"GREATER_OR_EQUAL",params:[za[va-2],za[va]]};break;case 35:this.ta={type:"function",name:"BETWEEN",params:[za[va-4],za[va-2],za[va]]};break;case 36:this.ta={type:"function",name:"NOT BETWEEN",params:[za[va-4],za[va-2],za[va]]};break;case 37:this.ta={type:"function",name:"AND",params:[za[va-2],za[va]]};break;case 38:this.ta={type:"function",name:"OR",params:[za[va-2],za[va]]};break;case 39:this.ta={type:"function",name:"IS NULL",params:[za[va-1]]};break;case 40:this.ta={type:"function",name:"IS TRUE",params:[za[va-1]]};break;case 41:this.ta={type:"function",name:"IS FALSE",params:[za[va-1]]};break;case 42:this.ta={type:"number",value:+-za[va]};break;case 43:this.ta={type:"number",value:+za[va]};break;case 44:this.ta={type:"string",value:wz(za[va].substring(1,za[va].length-1))};break;case 45:case 46:this.ta={type:"function",name:za[va-3],params:[za[va-1]]};break;case 47:gd=za[va-1].pathParts.slice();if(2va.length&&(va+=this.kc.substr(0,20-va.length));return(va.substr(0,20)+(20Vc[0].length)){var Vc=va;var gd=fd;if(this.options.hj){Vc=this.el(va,oc[fd]);if(!1!==Vc)return Vc;if(this.ug)Vc=!1;else return!1}else if(!this.options.flex)break}return Vc?(Vc=this.el(Vc,oc[gd]),!1!==Vc?Vc:!1):""===this.kc?this.Ui:this.parseError("Lexical error on line "+(this.ac+1)+". Unrecognized text.\n"+ this.lh(),{text:"",jl:null,line:this.ac})},Sj:function(){var va=this.next();return va?va:this.Sj()},ij:function(va){this.Jb.push(va)},lo: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=Bi;Bi.v=b;return new b}();function zz(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 Az(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 Bz(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 Cz(a,b){zz("TRUNC(X, Y)","X",a);zz("TRUNC(X, Y)","Y",b);Az("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-"