/websearch/community?hl=en

About the Community

Activity
Loading...
Top 16 posters this month
114582 members
bluequoll(170 posts)
Diamond Product Expert
Shannon...(146 posts)
Platinum Product Expert
Penelope(65 posts)
Gold Product Expert
OptimistPrime(62 posts)
Platinum Product Expert
Jason King, Ad Grants Certified Professional(26 posts)
Gold Product Expert
Padmavathi s(15 posts)
Bronze Member
MessagePK(11 posts)
Gold Product Expert
Title 230(11 posts)
Jayne Haboc(10 posts)
Ravinder C(9 posts)
Platinum Product Expert
nick boni(7 posts)
Anar Rustamli(7 posts)
Bronze Member
AliciaL(6 posts)
Ryan Fisher 1727(6 posts)
Tyrion Lannister(5 posts)
Chander Mehra(5 posts)
false
Search
Clear search
Close search
Google apps
Main menu
");return null==a||null==a.sheet?Sf:Oi(a.sheet,void 0!=b?b:null,c)} function Si(a){if(Uc&&!gd(10)||"function"!=typeof wb.DOMParser)return null;a=gg($e("Never attached to DOM."),""+a+"");return(new DOMParser).parseFromString(Vf(a),"text/html").body.children[0]} function Qi(a,b){if(!a)return Ff;var c=document.createElement("div").style;Ti(a).forEach(function(e){var f=Xc&&e in Ni?e:e.replace(/^-(?:apple|css|epub|khtml|moz|mso?|o|rim|wap|webkit|xv)-(?=[a-z])/i,"");Ub(f,"--")||Ub(f,"var")||(e=Ji(a,e),e=ii(f,e,b),null!=e&&Ki(c,f,e))}); return hg(c.cssText||"")} function Ui(a){var b=Array.from(Bi(qi,a,"getElementsByTagName",["STYLE"])),c=xc(b,function(f){return vc(Fi(f).cssRules)}); c=Pi(c);c.sort(function(f,h){f=bi(f.selectorText);a:{h=bi(h.selectorText);for(var k=Math.min(f.length,h.length),l=0;lr?1:nh?1:f"+b+""),Ui(b),b=b.innerHTML);b=gg($e("Never attached to DOM."),b);var c=document.createElement("template");if(ij&&"content"in c)wg(c,b),c=c.content;else{var e=document.implementation.createHTMLDocument("x");c=e.body;wg(e.body,b)}b=document.createTreeWalker(c,NodeFilter.SHOW_ELEMENT| NodeFilter.SHOW_TEXT,null,!1);for(c=Yi?new WeakMap:new $i;e=b.nextNode();){c:{var f=e;switch(Hi(f)){case 3:f=Dj(this,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"!=Li(f))var k=null;else this.ha[h]?k=document.createElement(h):(k=Vh(document,"SPAN"),this.ua&&Di(k,"data-sanitizer-original-tag",h.toLowerCase()));if(k){var l=k,n=Ci(f);if(null!=n)for(var r=0;h=n[r];r++)if(h.specified){var t=f;var w=h;var x=w.name; if(Ub(x,"data-sanitizer-"))w=null;else{var E=Gi(t);w=w.value;var pa={tagName:Xb(E).toLowerCase(),attributeName:Xb(x).toLowerCase()},qa={Dq:void 0};"style"==pa.attributeName&&(qa.Dq=Ei(t));t=Bj(E,x);t in this.o?(x=this.o[t],w=x(w,pa,qa)):(x=Bj(null,x),x in this.o?(x=this.o[x],w=x(w,pa,qa)):w=null)}null!==w&&Di(l,h.name,w)}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(),n=Ii(e),11!=k||n?"body"==l&&n&&(k=Ii(n))&&!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 Yh(e)}c.clear&&c.clear()}else a=Vh(document,"SPAN");0")+1,a.lastIndexOf("b;)a.pop()} function Jj(a){a=Array(a);Ij(a,0);return a} ;var Kj=new Hj;Kj.__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)}; Kj.style=function(a,b,c){a=a.style;if("string"===typeof c)a.cssText=c;else{a.cssText="";for(var e in c)Gj.call(c,e)&&(b=c[e],0<=e.indexOf("-")?a.setProperty(e,b):a[e]=b)}}; function Lj(a,b,c,e){(e[b]||e.__default)(a,b,c)} ;var Mj=null;function Nj(a){this.node=a;this.o=[];this.deleted=[]} ;var Oj="undefined"!==typeof Node&&Node.prototype.getRootNode||function(){for(var a=this,b=a;a;)b=a,a=a.parentNode;return b};function Pj(a,b){this.o=null;this.ka=!1;this.ha=a;this.key=b;this.text=void 0} function Qj(a,b,c){b=new Pj(b,c);return a.__incrementalDOMData=b} function Rj(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=Qj(a,c,1===a.nodeType?e||b:null);if(1===a.nodeType&&(a=a.attributes,c=a.length)){e=b.o||(b.o=Jj(c));for(var f=0,h=0;f\n \n \n\n'), "add.svg":$e('\n \n \n\n'),"announcement.svg":$e('\n \n \n\n'),"arrow_back.svg":$e('\n \n \n\n'), "arrow_drop_down.svg":$e('\n'),"arrow_drop_up.svg":$e('\n'),"arrow_forward.svg":$e('\n'), "attach_file.svg":$e('\n'),"auto_awesome.svg":$e('\n'), "calendar_today.svg":$e('\n'),"chat.svg":$e('\n \n \n\n'), "check.svg":$e('\n \n \n\n'),"check_circle.svg":$e('\n \n \n\n'), "check_circle_filled.svg":$e('\n \n \n \n \n\n'),"check_circle_outline.svg":$e('\n \n \n\n'), "close.svg":$e('\n \n \n\n'),"code.svg":$e('\n'),"content_copy.svg":$e('\n \n\n'), "delete_outline.svg":$e('\n'),"do_not_disturb.svg":$e('\n \n \n\n'), "down_arrow.svg":$e('\n \n \n\n'),"drive_document.svg":$e('\n \n \n\n'),"drive_image.svg":$e('\n \n \n\n'), "dvr.svg":$e('\n'),"email.svg":$e('\n \n \n\n'), "error.svg":$e('\n'),"error_outline.svg":$e('\n \n \n\n'), "event_available.svg":$e('\n \n \n\n'),"face.svg":$e('\n'), "featured_video.svg":$e('\n'),"filter_list.svg":$e('\n \n\n'),"format_bold.svg":$e('\n'), "format_clear.svg":$e('\n'),"format_indent_decrease.svg":$e('\n'), "format_indent_increase.svg":$e('\n'),"format_italic.svg":$e('\n'),"format_list_bulleted.svg":$e('\n'), "format_list_numbered.svg":$e('\n'),"format_quote.svg":$e('\n \n\n'), "format_underline.svg":$e('\n'),"help_outline.svg":$e('\n \n \n\n'), "highlight_alt.svg":$e('\n'),"info.svg":$e('\n \n \n\n'), "info_filled.svg":$e('\n'),"keep_pin_outline.svg":$e('\n \n \n\n'), "keyboard_arrow_up.svg":$e('\n \n \n\n'),"label.svg":$e('\n \n \n\n'), "label_off.svg":$e('\n \n \n\n'), "language.svg":$e('\n'), "link.svg":$e('\n'),"lock.svg":$e('\n \n \n \n\n'), "lock_open.svg":$e('\n \n \n \n\n'),"maximize.svg":$e('\n'), "minimize.svg":$e('\n'),"mode_edit.svg":$e('\n \n \n\n'),"more_vert.svg":$e('\n \n \n\n'), "navigate_before.svg":$e('\n'),"navigate_next.svg":$e('\n'),"notifications.svg":$e('\n'), "open_in_new.svg":$e('\n'),"phone.svg":$e('\n \n \n\n'), "play_arrow.svg":$e('\n \n \n\n'),"play_circle.svg":$e('\n \n \n\n'),"public.svg":$e('\n \n \n\n'), "question_answer.svg":$e('\n \n \n\n'),"remove_circle_outline.svg":$e('\n \n \n\n'), "restart_alt.svg":$e('\n \n \n\n'),"search.svg":$e('\n \n \n\n'), "send.svg":$e('\n'),"sentiment_very_satisfied.svg":$e('\n'), "star.svg":$e('\n'),"star_boarder.svg":$e('\n'), "storefront.svg":$e('\n \n\n'), "supervised_user_circle.svg":$e('\n \n \n \n \n\n'), "text_format.svg":$e('\n'),"thumb_down_alt.svg":$e('\n'), "thumb_up.svg":$e('\n'),"thumb_up_alt.svg":$e('\n'), "undo.svg":$e('\n'),"unfold_more.svg":$e('\n'), "unpin.svg":$e('\n \n \n\n'),"video_youtube.svg":$e('\n'), "video_youtube_outline.svg":$e('\n \n \n\n'), "visibility.svg":$e('\n \n \n\n'),"warning.svg":$e('\n \n \n\n')};var Qk="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 Rk(a){var b=a.icon,c=void 0===a.size?24:a.size,e=void 0===a.Ab?!1:a.Ab,f=void 0===a.Gd?[]:a.Gd;a=void 0===a.title?"":a.title;A.call(this,"sc.shared.MaterialIcon");this.icon=b;this.size=c;this.Gd=f;this.Ab=e;this.title=a} y(Rk,A);Rk.prototype.content=function(){var a=this,b=this.size/16+"rem",c={root:!0,baseline:this.Ab,flip:-1!==Qk.indexOf(this.icon)},e=0===this.icon.indexOf("gm/");e||(c["text-icon"]=!0);for(var f=u(this.Gd),h=f.next();!h.done;h=f.next())h=h.value,""!==h&&(c[h]=!0);e?this.element("div","class",c,"title",this.title,"style",{width:b,height:b},function(){vk(Pk[a.icon.replace("gm/","")+".svg"])}):this.element("div","class",c,"title",this.title,"style","font-size: "+b,this.icon)};function Sk(a,b,c,e){this.ka=a;this.ha=b;this.o=c;this.ma=void 0===e?1:e} function Tk(a){if(!a||"transparent"===a)return new Sk(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(Sk,[null].concat(Ba(b.map(Number)))))} function Uk(a){var b=Vk(a,Wk);a=Vk(a,Xk);return 3.1>b&&a>b} var Xk=new Sk(0,0,0),Wk=new Sk(255,255,255);function Vk(a,b){a=.2126*Yk(a.ka)+.7152*Yk(a.ha)+.0722*Yk(a.o)+.05;b=.2126*Yk(b.ka)+.7152*Yk(b.ha)+.0722*Yk(b.o)+.05;return Math.max(a,b)/Math.min(a,b)} function Yk(a){a/=255;return.03928>a?a/12.92:Math.pow((a+.055)/1.055,2.4)} ;var Zk=[{opacity:0},{opacity:.16,offset:.25},{opacity:.16,offset:.5},{opacity:0}],$k={duration:300},al={duration:225,easing:"cubic-bezier(.4, .0, .2, 1)"};function bl(a){a=void 0===a?{}:a;a=void 0===a.Ll?!1:a.Ll;A.call(this,"sc.shared.MaterialInteractionOverlay");var b=this;this.ha=!1;this.parentElement=null;this.Ll=a;this.ta=function(c){cl(b,c.clientX,c.clientY,b.Ll)}; this.ma=function(){b.ha=!0;b.Ca()}; this.na=function(){b.ha=!1;b.Ca()}} y(bl,A);bl.prototype.content=function(){var a=this,b=Uk(Tk(getComputedStyle(this.element("span")).color));this.root=this.element("div","class",{root:!0,"light-text":b,hover:this.ha},"aria-hidden","true",function(){a.element("div","class","hover-overlay");a.element("div","class","pressed-overlay");a.o=a.element("div","class","ripple")}); dl(this)}; function dl(a){setTimeout(function(){var b,c,e=a.parentElement,f=null!==(c=a.getElement()&&(null===(b=a.getElement())||void 0===b?void 0:b.parentElement))&&void 0!==c?c:null;e!==f&&(e&&(e.removeEventListener("mousedown",a.ta),e.removeEventListener("mouseenter",a.ma),e.removeEventListener("mouseleave",a.na)),f&&(f.addEventListener("mousedown",a.ta),f.addEventListener("mouseenter",a.ma),f.addEventListener("mouseleave",a.na)),a.parentElement=f)},0)} function el(a,b){"Enter"!==b.code&&"Space"!==b.code||cl(a,0,0,!0)} function cl(a,b,c,e){var f;if(null!==(f=a.o)&&void 0!==f&&f.animate){var h=a.root.getBoundingClientRect(),k=.6*Math.max(h.width,h.height)/256,l=(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+")",l="scale("+l+")";else{b=b-h.left-128;var n=c-h.top-128;c=h.width/2-128-b;e=h.height/2-128-n;h=n+"px";b+="px";k="translate(0, 0) scale("+k+")";l="translate("+c+"px, "+e+"px) scale("+l+")"}k=[{transform:k},{transform:l}];a.o.style.top=h;a.o.style.left= b;a.o.style.transform=l;a.o.animate(Zk,$k);a.o.animate(k,al)}} ;function fl(a){a=void 0===a?{}:a;A.call(this,"sc.shared.MaterialButton");this.model=a instanceof Nk?a:new Nk(a);this.overlay=new bl;Dk(this,this.model)} y(fl,A);p=fl.prototype; p.content=function(a){var b=this;a&&this.model.Ce(a);var c=""!==this.model.Ja(),e=""!==this.model.sg();this.o=this.element(this.model.Ui()?"a":"button","href",this.model.Ui()||void 0,"class",{root:!0,text:1===this.model.getStyle()||2===this.model.getStyle()||8===this.model.getStyle(),"color-label":8===this.model.getStyle()||2===this.model.getStyle(),"color-hint":6===this.model.getStyle()&&c,hairline:3===this.model.getStyle(),href:!!this.model.Ui(),filled:4===this.model.getStyle(),"protected":5=== this.model.getStyle(),tonal:9===this.model.getStyle(),navigational:6===this.model.getStyle()&&!c,"navigational-alt":7===this.model.getStyle(),"left-icon":Ok(this.model),"right-icon":this.model.lk(),"icon-only":e&&!c,"small-icon":this.model.Pk,hidden:!this.model.Yl,compact:this.model.compact},"style",""===this.model.mm()?null:{"max-width":this.model.mm()},"type","button","aria-label",this.model.Ti(),"aria-expanded",this.model.Yt,"aria-controls",this.model.Xt,"disabled",this.model.qg(),"onclick",function(f){b.wb(f)}, "onkeydown",function(f){b.overlay&&el(b.overlay,f)},function(){e&&b.element("span","class","icon",new Rk({icon:b.model.sg(), size:b.model.Pk||c?18:24,Ab:!0}));c&&b.element("span","class",{overflow:""!==b.model.mm()},function(){nk(b.model.Ja())}); b.overlay.render()})}; p.wb=function(a){var b=this.model.om();b&&b({method:0===a.clientX&&0===a.clientY?1:2})}; p.Zb=function(a){this.model.Zb(a)}; p.Vc=ma(0);p.Ja=function(){return this.model.Ja()}; p.nb=function(a){this.model.nb(a)}; p.focus=function(){var a;null===(a=this.o)||void 0===a?void 0:a.focus()};function gl(a,b){this.value=a;this.icon=b} gl.prototype.toString=function(){return this.value}; var hl=new gl("error","gm/error_outline"),il=new gl("caution","gm/warning"),jl=new gl("success","gm/check_circle_outline");function kl(a){var b=a.message,c=a.type,e=a.position;a=void 0===a.Qm?void 0:a.Qm;A.call(this,"sc.shared.Callout");this.message=b;this.type=c;this.position=e;this.icon=new Rk({icon:c.icon,Ab:!0});void 0!==a&&(this.Qm=new fl({mb:a.mb,text:a.text,trigger:a.trigger,style:1,compact:!0}))} y(kl,A);kl.prototype.content=function(){var a=this;this.element("div","class","root "+this.type+" "+this.position,"aria-live","polite",function(){a.element("div","class","content",function(){a.icon.render();a.element("div","class","message",a.message)}); void 0!==a.Qm&&a.element("div","class","secondary-button",a.Qm)})};function ll(a,b,c){b=void 0===b?!0:b;void 0===c||c?rg(window,Oe(a)):(c=document.createElement("a"),yg(c,a),c.rel="noopener",b?(a=Oe(c.href),window.location.href=ig(a)):(a=Oe(c.href),window.location.replace(ig(a))))} ;function ml(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} y(ml,Error);function nl(a){var b=a.serviceName;this.uf=a.uf;this.serviceName=b} nl.prototype.get=function(a,b,c,e){c=void 0===c?{}:c;e=void 0===e?new XMLHttpRequest:e;return ue(this,function h(){var k=this,l;return mb(h,function(n){if(1==n.o)return Ra(n,k.call("GET",a,c,e,"application/json+protobuf"),2);l=n.ha;try{return n.return(ie(b,l))}catch(r){throw ol(k,a),r;}})})}; function pl(a,b,c){c=void 0===c?{}:c;var e=void 0===e?new XMLHttpRequest:e;return ue(a,function h(){var k=this,l;return mb(h,function(n){if(1==n.o)return Ra(n,k.call("GET",b,c,e,"application/json"),2);l=n.ha;try{return n.return(JSON.parse(l))}catch(r){throw ol(k,b),r;}})})} nl.prototype.post=function(a,b,c,e,f){e=void 0===e?{}:e;f=void 0===f?new XMLHttpRequest:f;return ue(this,function k(){var l=this,n;return mb(k,function(r){if(1==r.o)return Ra(r,l.call("POST",a,e,f,"application/json+protobuf",b.Hb()),2);n=r.ha;try{return r.return(ie(c,n))}catch(t){throw ol(l,a),t;}})})}; function ql(a,b,c,e){e=void 0===e?{}:e;var f=void 0===f?new XMLHttpRequest:f;return ue(a,function k(){var l=this,n;return mb(k,function(r){if(1==r.o)return Ra(r,l.call("POST",b,e,f,"application/json",JSON.stringify(c)),2);n=r.ha;try{return r.return(JSON.parse(n))}catch(t){throw ol(l,b),t;}})})} nl.prototype.call=function(a,b,c,e,f,h){return ue(this,function l(){var n=this,r;return mb(l,function(t){r=n;return t.return(new Promise(function(w,x){var E="";if(c.query){for(var pa=[],qa=u(Object.entries(c.query)),sa=qa.next();!sa.done;sa=qa.next()){var va=u(sa.value);sa=va.next().value;va=va.next().value;va=Array.isArray(va)?va:[va];va=u(va);for(var za=va.next();!za.done;za=va.next())za=za.value,pa.push(encodeURIComponent(sa)+"="+encodeURIComponent(za))}0e.status||299this.ha&&(this.ha++,a.next=this.o,this.o=a)};var xl; function yl(){var a=wb.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!Bc("Presto")&&(a=function(){var f=Vh(document,"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=Jb(function(n){if(("*"==l||n.origin==l)&&n.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&&!Ic()){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){wb.setTimeout(f,0)}} ;function zl(a){wb.setTimeout(function(){throw a;},0)} ;function Al(){this.ha=this.o=null} Al.prototype.add=function(a,b){var c=Bl.get();c.set(a,b);this.ha?this.ha.next=c:this.o=c;this.ha=c}; Al.prototype.remove=function(){var a=null;this.o&&(a=this.o,this.o=this.o.next,this.o||(this.ha=null),a.next=null);return a}; var Bl=new wl(function(){return new Cl},function(a){return a.reset()}); function Cl(){this.next=this.scope=this.o=null} Cl.prototype.set=function(a,b){this.o=a;this.scope=b;this.next=null}; Cl.prototype.reset=function(){this.next=this.scope=this.o=null};function Dl(a,b){El||Fl();Gl||(El(),Gl=!0);Hl.add(a,b)} var El;function Fl(){if(wb.Promise&&wb.Promise.resolve){var a=wb.Promise.resolve(void 0);El=function(){a.then(Il)}}else El=function(){var b=Il; "function"!==typeof wb.setImmediate||wb.Window&&wb.Window.prototype&&!Bc("Edge")&&wb.Window.prototype.setImmediate==wb.setImmediate?(xl||(xl=yl()),xl(b)):wb.setImmediate(b)}} var Gl=!1,Hl=new Al;function Il(){for(var a;a=Hl.remove();){try{a.o.call(a.scope)}catch(b){zl(b)}Bl.put(a)}Gl=!1} ;function Jl(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}} ;function Kl(a){this.o=0;this.ta=void 0;this.ma=this.ha=this.ka=null;this.oa=this.na=!1;if(a!=yb)try{var b=this;a.call(void 0,function(c){Ll(b,2,c)},function(c){Ll(b,3,c)})}catch(c){Ll(this,3,c)}} function Ml(){this.next=this.context=this.o=this.ha=this.child=null;this.ka=!1} Ml.prototype.reset=function(){this.context=this.o=this.ha=this.child=null;this.ka=!1}; var Nl=new wl(function(){return new Ml},function(a){a.reset()}); function Ol(a,b,c){var e=Nl.get();e.ha=a;e.o=b;e.context=c;return e} function Pl(a){if(a instanceof Kl)return a;var b=new Kl(yb);Ll(b,2,a);return b} Kl.prototype.then=function(a,b,c){return Ql(this,"function"===typeof a?a:null,"function"===typeof b?b:null,c)}; Kl.prototype.$goog_Thenable=!0;function Rl(a,b,c){return Ql(a,null,b,c)} Kl.prototype.cancel=function(a){if(0==this.o){var b=new Sl(a);Dl(function(){Tl(this,b)},this)}}; function Tl(a,b){if(0==a.o)if(a.ka){var c=a.ka;if(c.ha){for(var e=0,f=null,h=null,k=c.ha;k&&(k.ka||(e++,k.child==a&&(f=k),!(f&&1=c.tabIndex?b:c})} ;var um=[];function vm(){var a=this;this.oa=this.o=null;this.ha=!1;this.ka=[];this.ma=[];this.na=function(b){if(a.o&&a.ha){var c=qm(a.o),e=sm(c),f;e&&(f=tm(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()}}}} vm.prototype.init=function(a,b,c){c=void 0===c?!1:c;this.oa=b;if(this.o=a)this.o.addEventListener("keydown",this.na),c&&wm(this)}; function xm(a,b){if(b||!1!==b&&!a.ha)wm(a);else if(a.ha){for(ym(a);0\n \n \n '))); e.addEventListener("click",function(){a.o.setMonth(a.o.getMonth()+-1);Em(a)}); c.appendChild(e);e=document.createElement("button");e.className="next";e.setAttribute("title","Next month");e.setAttribute("aria-label","Next month");e.appendChild(Wh($e('\n \n \n ')));e.addEventListener("click",function(){a.o.setMonth(a.o.getMonth()+1);Em(a)}); c.appendChild(e);c=document.createElement("tr");c.appendChild(b);return c} function Dm(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.o);for(f=0;7>f;f++)c[e.getDay()].textContent=a.va?e.toLocaleString(a.na,{weekday:"narrow"}):"SMTWTFS"[e.getDay()],e.setDate(e.getDate()+1);return b} function Em(a){a.ma.textContent=a.va?a.o.toLocaleString(a.na,{month:"long",year:"numeric"}):a.o.getMonth()+1+"/"+a.o.getFullYear();a.ka.textContent="";var b=new Date(a.o);b.setDate(1);for(0e;e++){var f=document.createElement("td");if(b.getMonth()==a.o.getMonth()){var h=document.createElement("button");f.setAttribute("data-time",b.getTime());var k=!1;a.oa&&(k=a.oa.getTime()===b.getTime());h.textContent= b.getDate().toString();h.className="selectable";k&&Jg(h,"selected",!0);f.appendChild(h)}else f.className="unselectable";c.appendChild(f);b.setDate(b.getDate()+1)}a.ka.appendChild(c)}} function Fm(a){return new Date(a.getFullYear(),a.getMonth(),1)} Am.prototype.ua=function(a){this.ta=a}; Am.prototype.getElement=function(){return this.ha}; window.sc_createCalendar=function(a){a=new Am(a);return{setSelectDateCallback:a.ua.bind(a),getElement:a.getElement.bind(a)}};function Gm(a){z.call(this,a)} y(Gm,z);function Hm(a){a&&"function"==typeof a.dispose&&a.dispose()} ;function Im(){this.ua=this.ua;this.ta=this.ta} Im.prototype.ua=!1;Im.prototype.isDisposed=function(){return this.ua}; Im.prototype.dispose=function(){this.ua||(this.ua=!0,this.Bd())}; function Jm(a,b){a.ua?b():(a.ta||(a.ta=[]),a.ta.push(b))} Im.prototype.Bd=function(){if(this.ta)for(;this.ta.length;)this.ta.shift()()};function Km(a,b){this.type=a;this.o=this.target=b;this.defaultPrevented=this.ka=!1} Km.prototype.stopPropagation=function(){this.ka=!0}; Km.prototype.preventDefault=function(){this.defaultPrevented=!0};var Lm=function(){if(!wb.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}}); try{wb.addEventListener("test",yb,b),wb.removeEventListener("test",yb,b)}catch(c){}return a}();function Mm(a,b){Km.call(this,a?a.type:"");this.relatedTarget=this.o=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=0;this.key="";this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.pointerId=0;this.pointerType="";this.ha=null;a&&this.init(a,b)} Nb(Mm,Km);var Nm={2:"touch",3:"pen",4:"mouse"}; Mm.prototype.init=function(a,b){var c=this.type=a.type,e=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.o=b;if(b=a.relatedTarget){if(Wc){a:{try{Rc(b.nodeName);var f=!0;break a}catch(h){}f=!1}f||(b=null)}}else"mouseover"==c?b=a.fromElement:"mouseout"==c&&(b=a.toElement);this.relatedTarget=b;e?(this.clientX=void 0!==e.clientX?e.clientX:e.pageX,this.clientY=void 0!==e.clientY?e.clientY:e.pageY,this.screenX=e.screenX||0,this.screenY=e.screenY|| 0):(this.clientX=void 0!==a.clientX?a.clientX:a.pageX,this.clientY=void 0!==a.clientY?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0);this.button=a.button;this.keyCode=a.keyCode||0;this.key=a.key||"";this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.pointerId=a.pointerId||0;this.pointerType="string"===typeof a.pointerType?a.pointerType:Nm[a.pointerType]||"";this.state=a.state;this.ha=a;a.defaultPrevented&&Mm.Sf.preventDefault.call(this)}; Mm.prototype.stopPropagation=function(){Mm.Sf.stopPropagation.call(this);this.ha.stopPropagation?this.ha.stopPropagation():this.ha.cancelBubble=!0}; Mm.prototype.preventDefault=function(){Mm.Sf.preventDefault.call(this);var a=this.ha;a.preventDefault?a.preventDefault():a.returnValue=!1};var Om="closure_listenable_"+(1E6*Math.random()|0);function Pm(a){return!(!a||!a[Om])} ;var Qm=0;function Rm(a,b,c,e,f){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!e;this.Jo=f;this.key=++Qm;this.Ve=this.Tn=!1} function Sm(a){a.Ve=!0;a.listener=null;a.proxy=null;a.src=null;a.Jo=null} ;function Tm(a){this.src=a;this.o={};this.ha=0} Tm.prototype.add=function(a,b,c,e,f){var h=a.toString();a=this.o[h];a||(a=this.o[h]=[],this.ha++);var k=Um(a,b,e,f);-1>>0);function bn(a){if("function"===typeof a)return a;a[kn]||(a[kn]=function(b){return a.handleEvent(b)}); return a[kn]} ;function ln(){Im.call(this);this.ma=new Tm(this);this.Oc=this;this.Ob=null} Nb(ln,Im);ln.prototype[Om]=!0;p=ln.prototype;p.sr=function(){return this.Ob}; p.addEventListener=function(a,b,c,e){$m(this,a,b,c,e)}; p.removeEventListener=function(a,b,c,e){hn(this,a,b,c,e)}; p.dispatchEvent=function(a){var b=this.sr();if(b){var c=[];for(var e=1;b;b=b.sr())c.push(b),++e}b=this.Oc;e=a.type||a;if("string"===typeof a)a=new Km(a,b);else if(a instanceof Km)a.target=a.target||b;else{var f=a;a=new Km(e,b);Hc(a,f)}f=!0;if(c)for(var h=c.length-1;!a.ka&&0<=h;h--){var k=a.o=c[h];f=k.am(e,!0,a)&&f}a.ka||(k=a.o=b,f=k.am(e,!0,a)&&f,a.ka||(f=k.am(e,!1,a)&&f));if(c)for(h=0;!a.ka&&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.substr(0,e),f,a.substr(c)];c=a[1];a[1]=b?c?c+"&"+b:b:c;return a[0]+(a[1]?"?"+a[1]:"")+a[2]} function sn(a,b,c){if(Array.isArray(b))for(var e=0;e>>0);a={requestId:c,Vy:Rn(a,b,c),onLoad:b.onLoad,onError:b.onError||function(){}, kp:b.kp||function(){}, bC:b.bC||function(){}, rq:b.rq,Mz:b.pageType,Fk:b.Fk};b.qd&&("IFRAME"==b.qd.nodeName?(a.window=b.qd.contentWindow,a.qd=a.window.document.body):(a.window=window,a.qd=b.qd));return a} function Rn(a,b,c){var e=Sn(a)+"/apis/render?",f=a.ua,h=a.Ba,k=b.helpcenter,l=a.ta,n=a.va,r=a.Ha,t=a.Ga,w=a.Aa,x=b.pageType,E=b.pageId,pa=b.url,qa=b.Zg,sa=b.IF;c=["js_request_id."+c];if(b.extraParams)for(var va in b.extraParams)c.push(va+"."+b.extraParams[va]);a={v:1,key:f,request_source:h,helpcenter:k,hl:l,authuser:n,visit_id:r,view_id:t,psd:w,page_type:x,id:E,url:pa,components:qa,exclude_components:sa,extra_params:c,mendel_ids:a.ya,service_configuration:a.Ea,scdeb:a.wa,instant_preview:b.instantPreview, symptom:b.symptom};b="";for(var za in a)f=a[za],void 0!=f&&(Array.isArray(f)&&(f=f.join()),b&&(b+="&"),b+=za+"="+encodeURIComponent(f.toString()));return e+b} function Qn(a,b,c){try{var e=JSON.parse(c)}catch(f){b.onError({type:1,message:c});return}if(404!=e.application_error&&e.html){if(b.Fk){if(!e.page_metadata||!e.page_metadata.page_type){b.onError({type:4});return}if(se.get(e.page_metadata.page_type)!=b.Mz){b.onError({type:3});return}}e.page_metadata&&b.kp(e.page_metadata);b.qd?Tn(a,b,e.html):b.rq(function(f){"IFRAME"==f.nodeName?(b.window=f.contentWindow,b.qd=b.window.document.body):(b.window=window,b.qd=f);Tn(a,b,e.html)})}else b.onError({type:2})} function Tn(a,b,c){b.window.sc_scope=b.qd;b.onLoad&&(b.window[b.requestId]=function(e){b.onLoad(e.getChild(b.requestId))}); kg(b.qd,Bn(c));c=Array.from(b.qd.getElementsByTagName("script"));a.ka(b,c)} Ln.prototype.ka=function(a,b){for(;0a.ha.length;a.oa()} ;var Yn=lf(Ze($e("//www.youtube.com/player_api")));function Zn(a,b){a=Sg("play",a);b=Sg("play",b);return b===a?"":b} ;function $n(a){this.Aa="modal-backdrop "+a.className;this.va=a.Kl;this.ma=a.kv;this.wa=a.xz;this.oa=a.VD;this.ya=this.na=!1;this.ha=new vm;ao(this)} function ao(a){a.o=document.createElement("div");a.o.className=a.Aa;a.o.setAttribute("aria-hidden",!0);a.o.addEventListener("click",function(b){b.target==a.o&&(a.ka&&!a.ka()||a.close())}); a.ha.init(a.o,function(){a.ka&&!a.ka()||a.close()}); a.oa?(a.oa.parentNode.replaceChild(a.o,a.oa),a.ei(a.oa)):document.body.appendChild(a.o)} p=$n.prototype; p.close=function(){this.o.setAttribute("aria-hidden",!0);this.o.style.zIndex="";xm(this.ha,!1);Jg(this.o,this.va,!1);var a;if(a=null!=document.activeElement)a=0!=(document.activeElement.compareDocumentPosition(this.o)&Node.DOCUMENT_POSITION_CONTAINS);if(a)for(;0a||5a?a=0:a>c&&(a=c);return a-b} function mo(a){a.preventDefault()} ;function po(a,b,c){a.timeOfStartCall=(new Date).getTime();var e=c||wb,f=e.document,h=a.nonce||Bg(e);h&&!a.nonce&&(a.nonce=h);if("help"==a.flow){var k=xb("document.location.href",e);!a.helpCenterContext&&k&&(a.helpCenterContext=k.substring(0,1200));k=!0;if(b&&JSON&&JSON.stringify){var l=JSON.stringify(b);(k=1200>=l.length)&&(a.psdJson=l)}k||(b={invalidPsd:!0})}b=[a,b,c];e.GOOGLE_FEEDBACK_START_ARGUMENTS=b;c=a.serverUri||"//www.google.com/tools/feedback";if(k=e.GOOGLE_FEEDBACK_START)k.apply(e,b);else{e= c+"/load.js?";for(var n in a)b=a[n],null==b||Bb(b)||(e+=encodeURIComponent(n)+"="+encodeURIComponent(b)+"&");a=$h(Ph(f),"SCRIPT");h&&a.setAttribute("nonce",h);qg(a,Dn(e));f.body.appendChild(a)}} Mb("userfeedback.api.startFeedback",po);function qo(a){window.sc_trackStatsEvent(49,8);ro(a)} function ro(a){var b=a.productId,c=a.bucket,e=void 0===a.flow?"material":a.flow,f=void 0===a.Hq?!1:a.Hq,h=void 0===a.Ty?!0:a.Ty,k=a.FC,l=a.hb,n=a.onLoad,r=a.payload;a=a.description;var t=Qg(),w={};b=(w.flow=e,w.locale=t.lang,w.productId=b,w.disableSubmit=f,w);c&&(b.bucket=c);l&&(b.callback=l);n&&(b.onLoadCallback=n);t.sb_uri&&(b.serverUri=t.sb_uri);k&&(b.reportDataCallback=k);b.allowNonLoggedInFeedback=h;"submit"===e&&(b.report={description:a});var x={};r.forEach(function(E,pa){x[pa]=E}); po(b,x)} ;function so(){var a=Qg();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",to()]]);a.set("escalation_availability_matching_frd_forms",xh().escalation_availability_matching_frd_forms);a.set("rule_service_escalation_availability_c2c_event_id",xh().rule_service_escalation_availability_c2c_event_id); a.set("rule_service_escalation_availability_c2c_synthesis_event_id",xh().rule_service_escalation_availability_c2c_synthesis_event_id);a.set("rule_service_escalation_availability_chat_event_id",xh().rule_service_escalation_availability_chat_event_id);a.set("rule_service_escalation_availability_chat_synthesis_event_id",xh().rule_service_escalation_availability_chat_synthesis_event_id);a.set("rule_service_escalation_availability_email_event_id",xh().rule_service_escalation_availability_email_event_id); a.set("rule_service_escalation_availability_email_synthesis_event_id",xh().rule_service_escalation_availability_email_synthesis_event_id);a.set("rule_service_escalation_availability_phone_event_id",xh().rule_service_escalation_availability_phone_event_id);a.set("rule_service_escalation_availability_phone_synthesis_event_id",xh().rule_service_escalation_availability_phone_synthesis_event_id);a.set("rule_service_extensible_contact_options_event_id",xh().rule_service_extensible_contact_options_event_id); a.set("rule_service_helpcenter_fields_synthesis_event_id",xh().rule_service_helpcenter_fields_synthesis_event_id);return a} function to(){var a=Qg().rs;switch(a){case 4:return"cases";case 1:return"helpcenter";default:return String(a)}} ;function uo(){vo(this)} function vo(a){a.o=(new $n({className:"material-dialog-backdrop",Kl:"material-dialog-backdrop--active",kv:"material-dialog-backdrop--locked",xz:"material-dialog-backdrop--disable-click-capture"})).Ut(function(){return!a.oa}); a.o.getElement().addEventListener("click",function(b){b=b.target;var c=b.getAttribute("data-material-dialog-action");c&&(a.ha&&a.ha(c),Ng(b,"material-dialog--disable-close")||a.close())})} uo.prototype.open=function(a){var b=this,c=a.querySelector(".material-dialog__title");c&&oo(c,a).reset().enable(Ng(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.o.open();document.body.removeChild(k)}); b.o.close();document.body.appendChild(k);k.focus()}; this.ma=function(){return e.removeEventListener("click",h)}; e.addEventListener("click",h)}this.oa=Ng(a,"material-dialog--disable-close");this.o.Ws(!Ng(a,"material-dialog--show-background")).Ts(Ng(a,"material-dialog--disable-click-capture")).ei(a).open();a.focus();return this}; uo.prototype.close=function(){this.o.close();this.ma&&this.ma();this.ka&&this.ka()}; uo.prototype.$c=function(a){this.ha=a;return this}; uo.prototype.hb=function(a){this.ka=a;return this}; uo.prototype.onClose=uo.prototype.hb;uo.prototype.onAction=uo.prototype.$c;uo.prototype.close=uo.prototype.close;uo.prototype.open=uo.prototype.open;function wo(a,b){var c=null;return function(e){for(var f=[],h=0;hc||0>a?0:a+b>=c?c-b:a} function Go(a){switch(a){case 1:case 3:return"100%";case 2:case 4:return"0%";default:return"50%"}} function Ho(a){var b,c;return null!==(c=null===(b=a.getElement())||void 0===b?void 0:b.getRootNode())&&void 0!==c?c:document} ;function Mo(a){var b=a.content,c=void 0===a.Eg?!0:a.Eg,e=void 0===a.Pl?"placement-start":a.Pl,f=void 0===a.sq?"alignment-start":a.sq,h=void 0===a.style?"style-normal":a.style,k=a.$n,l=te(a,"content useFixedBackdrop caretPlacement caretAlignment style containerPadding".split(" "));A.call(this,"sc.shared.MaterialRichTooltip");var n=this;this.ha=!1;this.vd=this.Id=0;this.ma=b;this.Eg=c;this.ta=e;this.na=f;this.ua=h;this.$n=k;this.o=new Fo(Object.assign({content:function(){No(n)}, Lp:!0,fn:!1,Ul:!1},l))} y(Mo,A);p=Mo.prototype;p.open=function(a){this.Eg?this.o.open(a):(this.ha=!0,this.Ca())}; p.isOpen=function(){return this.Eg?this.o.isOpen():this.ha}; p.close=function(){this.Eg?this.o.close():(this.ha=!1,this.Ca())}; function Oo(a,b){var c=b.Id;b=b.vd;a.Eg||(a.Id=null!==c&&void 0!==c?c:a.Id,a.vd=null!==b&&void 0!==b?b:a.vd,a.Ca())} p.Rd=function(){return!0}; p.content=function(){var a=this;this.Eg?this.o.render():this.element("div","class","popup-container","style",{visibility:this.ha?"visible":"hidden",transform:"translate("+this.Id+"px, "+this.vd+"px)"},function(){No(a)})}; function No(a){a.element("div","class","root "+a.ta+" "+a.ua,function(){a.element("div","class","container","style",{padding:a.$n},a.ma);a.element("div","class","clip-track "+a.na,function(){a.element("div","class","clip",function(){a.element("div","class","caret")})})})} ;var Po={QD:!1,Ml:!0};function Qo(){A.call(this,"sc.shared.MaterialSnackbar");this.ha=new fl;this.message="";this.$j=5E3;this.Rp=!1;this.state=2} y(Qo,A);Qo.prototype.open=function(a){var b=this,c=a.message,e=a.action,f=void 0===a.$j?5E3:a.$j;a=void 0===a.Rp?!1:a.Rp;if(0===this.state)return Promise.resolve();this.state=0;this.message=c;this.$j=f;this.Rp=a;e?this.action=Object.assign(Object.assign({},Po),e):this.action=void 0;this.Ca();Ro(this);return new Promise(function(h){b.hb=h})}; Qo.prototype.close=function(){0===this.state&&(this.o&&clearTimeout(this.o),this.state=1,this.message="",this.Ca())}; Qo.prototype.content=function(){var a=this;this.element("div","class",{root:!0,widescreen:this.Rp,"root-closed":2===this.state},function(){var b;a.element("div","class",{snackbar:!0,opened:0===a.state,closing:1===a.state,closed:2===a.state,"long-action":null===(b=a.action)||void 0===b?void 0:b.QD},"ontransitionend",function(c){var e;"opacity"===c.propertyName&&0!==a.state&&2!==a.state&&(a.state=2,a.Ca(),null===(e=a.hb)||void 0===e?void 0:e.call(a))},function(){a.element("div","role","status","aria-live", "assertive","class","message",a.message); So(a)})})}; function So(a){a.action&&a.element("div","class","action",function(){a.ha.render({text:a.action.actionText,trigger:function(){var b,c;a.action.Ml&&a.close();null===(c=(b=a.action).$c)||void 0===c?void 0:c.call(b)}})})} function Ro(a){a.action||(a.o=setTimeout(function(){a.close()},a.$j))} ;function To(){this.ma=[];this.ha=!1;this.oa=new Qo} To.prototype.initialize=function(a){a=void 0===a?document.body:a;if(this.ha)return this;this.ha=!0;Uo(this,a);return this}; To.prototype.open=function(a){this.ha&&(this.ma.push(a),Vo(this))}; To.prototype.close=function(){this.oa.close()}; To.prototype.Xa=function(){ue(this,function b(){var c=this;return mb(b,function(e){if(1==e.o)return c.ha?c.ka?Ra(e,c.ka,2):e.Va(2):e.return(c);c.o&&c.o.parentElement&&(c.o.parentElement.removeChild(c.o),c.o=void 0);c.ha=!1;return e.return(c)})})}; function Vo(a,b){b=void 0===b?!1:b;var c;ue(a,function f(){var h=this,k;return mb(f,function(l){if(1==l.o){k=h;if(!b&&h.ka)return l.return();if(0===h.ma.length)return null===(c=h.na)||void 0===c?void 0:c.call(h),delete h.ka,delete h.na,l.return();h.ka||(h.ka=new Promise(function(n){k.na=n})); return Ra(l,h.oa.open(h.ma[0]),2)}h.ma.shift();Vo(h,!0);Wa(l)})})} function Uo(a,b){"interactive"===document.readyState||"complete"===document.readyState?Wo(a,b):window.addEventListener("DOMContentLoaded",function(){Wo(a,b)})} function Wo(a,b){a.o=document.createElement("div");b.appendChild(a.o);qk(a.o,function(){a.oa.render()})} var Xo=new To;function Yo(a){var b=void 0===a?{}:a;a=void 0===b.size?"mspin-small":b.size;b=void 0===b.Vn?!1:b.Vn;A.call(this,"sc.shared.MaterialSpinner");this.size=a;this.Vn=b} y(Yo,A);Yo.prototype.content=function(){var a=this;this.element("div","class","mspin "+this.size+" "+(this.Vn?"mspin-centered":""),function(){a.element("div",function(){a.element("div")})})};function Zo(a){Jk.call(this);this.inputType="";this.jh=!1;this.Ge=!0;this.xk=this.rows=0;this.tm=this.text=this.label="";this.Xb=this.filled=!1;this.Ne=!0;this.disabled=this.Gp=!1;this.placeholder="";this.jf=[];this.error="";this.maxLength=void 0;this.yd=!1;this.Ce(a)} y(Zo,Jk);p=Zo.prototype; p.Ce=function(a){var b=void 0===a.jh?!1:a.jh,c=void 0===a.Ge?!0:a.Ge,e=void 0===a.rows?0:a.rows,f=void 0===a.xk?0:a.xk,h=void 0===a.label?"":a.label,k=void 0===a.placeholder?"":a.placeholder,l=void 0===a.text?"":a.text,n=void 0===a.tm?"":a.tm,r=void 0===a.filled?!1:a.filled,t=void 0===a.Xb?!1:a.Xb,w=void 0===a.Ne?!0:a.Ne,x=void 0===a.Gp?!1:a.Gp,E=void 0===a.disabled?!1:a.disabled,pa=void 0===a.Pd?void 0:a.Pd,qa=void 0===a.kh?void 0:a.kh,sa=void 0===a.Lf?void 0:a.Lf,va=void 0===a.jf?["self"]:a.jf, za=void 0===a.error?"":a.error,Ca=a.maxLength,Ma=void 0===a.yd?!1:a.yd;this.inputType=void 0===a.inputType?"":a.inputType;this.jh=b;this.rows=e;this.xk=f;this.label=h;this.placeholder=k;this.text=l;this.tm=n;this.filled=r;this.Xb=t;this.Ne=w;this.Gp=x;this.disabled=E;this.Pd=pa;this.kh=qa;this.Lf=sa;this.jf=va;this.error=za;this.Ge=c;this.maxLength=Ca;this.yd=Ma}; p.rk=function(){return this.Ge}; p.Cb=function(){return this.label}; p.Ja=function(){return this.text}; p.nb=function(a){a!==this.text&&(this.text=a,Mk(this,0))}; p.Zb=function(a){a!==this.disabled&&(this.disabled=a,Mk(this,3))}; p.od=function(){return this.maxLength};function $o(a){a=void 0===a?{}:a;A.call(this,"sc.shared.MaterialTextField");this.labelId=Ik();this.na=Ik();this.o=null;this.ma=!1;this.model=a instanceof Zo?a:new Zo(a);Dk(this,this.model)} y($o,A);function ap(a){return a.model.rk()?a.o?a.o:new Bo({label:a.model.placeholder,ym:a.model.Cb()?void 0:bp(a),floatingLabel:a.model.Ne,disabled:a.model.disabled,filled:a.model.filled,Xb:a.model.Xb,Cg:function(){return""!==a.model.Ja()}}):null} p=$o.prototype; p.content=function(a){var b=this;a&&this.model.Ce(a);this.o=ap(this);this.element("div","class","root",function(){b.model.Cb()&&b.element("label","class","label","id",b.labelId,b.model.Cb());b.o&&(b.o.error=!!b.model.error);b.element("div","class",{"input-container":!0,multiline:b.model.jh,dense:b.model.Xb,invalid:b.model.error,outlined:!b.model.filled,filled:b.model.filled,disabled:b.model.disabled},function(){b.element(b.model.Cb()?"div":"label","class",{box:!0,"box-no-label":b.model.filled&&!b.model.Ne, "filled-box":b.model.filled&&!b.model.Xb&&(b.model.Ne||b.model.jh),"filled-label":b.model.filled&&!b.model.Xb&&b.model.Ne,"outlined-box":!b.model.filled&&b.model.Ne},function(){b.ha=b.element(b.model.jh?"textarea":"input","class",{"native-control":!0,"native-control-filled":b.model.filled},"style",{padding:"0 15px","padding-bottom":b.model.filled?"0":"15px"},"placeholder",b.o?"":b.model.placeholder,"aria-placeholder",b.o?b.model.placeholder:"","type",b.model.inputType,"rows",b.model.rows,"disabled", b.model.disabled,"aria-labelledby",cp(b),"maxlength",b.model.od(),"onfocus",function(){return void b.kh()},"onblur",function(){return void b.Lf()},"oninput",function(){var f,h=b.ha.value; b.model.nb(h);null===(f=b.model.Pd)||void 0===f?void 0:f(h)},"aria-required",b.model.yd); b.ha.value=b.model.Ja();if(b.model.jh&&0===b.model.rows){var e=dp(b);b.ha.style.height=e+"px";0===e&&(b.ha.style.overflowY="hidden")}}); b.o&&(b.o.render(),Eo(b.o,b.model.placeholder))}); var c=b.model.error||b.model.tm;c&&(b.element("div","id",b.na,"class",{"helper-text":!0,"helper-text-invalid":b.model.error,"helper-text-disabled":b.model.disabled,"helper-text-filled":b.model.filled,"helper-text-outlined":!b.model.filled,"helper-text-hidden":!b.model.error&&b.model.Gp&&!b.ma},c),b.ha.setAttribute("aria-describedby",b.na))})}; function cp(a){return a.model.jf?a.model.jf.map(function(b){return"self"===b?bp(a):b}).join(" "):bp(a)} function bp(a){if(a.model.Cb()||a.model.placeholder)return a.labelId} function dp(a){var b=Number(getComputedStyle(a.ha).paddingLeft.replace(/[^0-9\.]/g,"")),c=a.ha.clientWidth-2*b;b=a.element("div","class","expander","style","width: "+c+"px",""+a.model.Ja()+"\u200b");if(a.model.xk){var e="\n".repeat(a.model.xk-1);a=a.element("div","class","expander","style","width: "+c+"px",""+e+"\u200b");return Math.min(b.clientHeight,a.clientHeight)}return b.clientHeight} p.kh=function(){var a;this.ma=!0;this.o&&this.o.focus();null===(a=this.model.kh)||void 0===a?void 0:a();this.Ca()}; p.Lf=function(){var a;this.ma=!1;this.o&&this.o.blur();null===(a=this.model.Lf)||void 0===a?void 0:a();this.Ca()}; p.Ja=function(){return this.model.Ja()}; p.nb=function(a){this.model.nb(a)}; function ep(a,b){a=a.model;b!==a.error&&(a.error=b,Mk(a,2))} p.hasError=function(){return!!this.model.error}; p.Zb=function(a){this.model.Zb(a)}; p.focus=function(){this.ha.focus()};function fp(a){var b=void 0===a.text?"":a.text,c=a.trigger,e=void 0===a.Ip?"":a.Ip,f=void 0===a.isRtl?!1:a.isRtl,h=void 0===a.vk?!0:a.vk,k=void 0===a.Pf?!1:a.Pf,l=void 0===a.Ok?10:a.Ok;a=void 0===a.hn?0:a.hn;A.call(this,"sc.shared.MaterialTooltip");var n=this;this.o=!1;this.Ok=l;this.hn=a;this.isRtl=f;this.text=b;this.trigger=c;this.Ip=e;this.vk=h;this.Pf=k;this.activate=function(){if(!n.Pf||gp(n,n.trigger))n.o=!0,n.Ca()}; this.deactivate=function(){n.o=!1;n.Ca()}; this.ha=function(r){var t=r.clientX,w=r.clientY;r=n.container.getBoundingClientRect();var x=r.right,E=r.bottom;w=r.top<=w&&w<=E;r.left<=t&&t<=x&&w||n.deactivate()}} y(fp,A);fp.prototype.content=function(){var a=this;hp(this);this.container=this.element("div","class","container","style",{display:this.o?"":"none",transform:this.isRtl?"translateX(-100%)":void 0,direction:this.isRtl?"rtl":void 0,"max-height":this.vk?"7rem":void 0},function(){var h=vk(a.text);h.classList.add(ip+"blob");for(var k=u(a.Ip.split(/ +/)),l=k.next();!l.done;l=k.next())(l=l.value)&&h.classList.add(l);a.vk?(h.style.webkitLineClamp="5",h.style.whiteSpace="normal"):h.style.display="inline-block"}); this.container.style.top="0";var b=this.container.getBoundingClientRect(),c=this.trigger.getBoundingClientRect(),e=c.x,f=c.y;0!==b.top&&(e=c.x-b.x,f=c.top-b.top);this.container.style.left=this.isRtl?e-this.Ok+"px":e+c.width+this.Ok+"px";this.container.style.marginTop=f-c.height/4+this.hn+"px";this.trigger.addEventListener("mouseenter",this.activate);this.trigger.addEventListener("mouseleave",this.ha);this.trigger.addEventListener("focus",this.activate);this.trigger.addEventListener("blur",this.deactivate); this.container&&this.container.addEventListener("mouseleave",this.deactivate)}; fp.prototype.Ca=function(){A.prototype.Ca.call(this);var a=this.getElement().firstChild;if(a){var b=window.innerHeight,c=document.documentElement.clientWidth,e=a.getBoundingClientRect();if(this.isRtl)0>=e.x&&(a.style.left=a.offsetWidth+10+"px");else if(e.right>=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")}}; fp.prototype.we=function(){hp(this)}; function hp(a){a.trigger.removeEventListener("mouseenter",a.activate);a.trigger.removeEventListener("mouseleave",a.ha);a.trigger.removeEventListener("focus",a.activate);a.trigger.removeEventListener("blur",a.deactivate);a.container&&a.container.removeEventListener("mouseleave",a.deactivate)} function gp(a,b){if(b.scrollWidth>b.getBoundingClientRect().width)return!0;b=u(b.children);for(var c=b.next();!c.done;c=b.next())if(gp(a,c.value))return!0;return!1} var ip=zk("sc.shared.MaterialTooltip");function jp(a){return window.matchMedia("(max-width: "+a+")").matches} function kp(){return jp("37.5rem")} ;function lp(){this.ha={};this.o=0} p=lp.prototype;p.format=function(a){var b=Kh("SafeHtmlFormatter:");a=Kh(a).replace(new RegExp("\\{"+b+"[\\w&#;]+\\}","g"),Jb(this.zC,this,[]));return Xf(a,null)}; p.zC=function(a,b){a=this.ha[b];if(!a)return b;b="";a.Wc&&(b+="<"+a.Wc+a.attributes+">");a.html&&(b+=a.html);a.Pc&&(b+="");return b}; p.Wc=function(a,b){Yf(a);return mp(this,{Wc:a,attributes:dg(b)})}; p.Pc=function(a){Yf(a);return mp(this,{Pc:a})}; p.text=function(a){return mp(this,{html:Kh(a)})}; p.safeHtml=function(a){return mp(this,{html:Vf(a).toString()})}; function mp(a,b){a.o++;var c="{SafeHtmlFormatter:"+a.o+"_"+Oh()+"}";a.ha[Kh(c)]=b;return c} ;function np(a){this.ha=a;this.ka={};(a=Qg().hc)&&(this.ka.helpcenter=a)} p=np.prototype;p.dj=function(a){this.na=a;return this}; p.onError=function(a){this.ma=a;return this}; p.gs=function(a){this.oa=a;return this}; p.oh=function(a,b){this.ka[a]=b;return this}; p.start=function(){var a=this,b=new XMLHttpRequest;b.open("POST",Qg().upload_hostname+"/upload");b.withCredentials=!0;b.addEventListener("load",function(){try{var c=JSON.parse(b.responseText);op(a,c.sessionStatus.externalFieldTransfers[0].formPostInfo.url)}catch(e){pp(a)}}); b.addEventListener("error",function(){return pp(a)}); b.addEventListener("abort",function(){return pp(a)}); b.send(qp(this));return this}; function op(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.o=e.cns_filename;a.ta=e.document_id;a.na&&a.na()}catch(f){pp(a)}}); c.upload.addEventListener("progress",function(e){a.oa&&a.oa(e.lengthComputable?Math.max(e.loaded-(e.total-a.ha.size),0):0)}); c.addEventListener("error",function(){return pp(a)}); c.addEventListener("abort",function(){return pp(a)}); b=new FormData;b.append("Filedata",a.ha,a.ha.name);c.send(b)} function pp(a){a.ma&&a.ma()} function qp(a){var b=[{external:{name:"file",filename:a.ha.name,formPost:{}}}],c;for(c in a.ka)b.push({inlined:{name:c,content:a.ka[c],contentType:"text/plain"}});return JSON.stringify({protocolVersion:"0.8",createSessionRequest:{fields:b}})} p.dA=function(){return this.o}; p.Nh=function(){return this.ta}; np.prototype.getDocumentId=np.prototype.Nh;np.prototype.getCnsFilename=np.prototype.dA;np.prototype.start=np.prototype.start;np.prototype.setMetadata=np.prototype.oh;np.prototype.onProgress=np.prototype.gs;np.prototype.onError=np.prototype.onError;np.prototype.onSuccess=np.prototype.dj;var rp={"alumnus_expert.svg":$e('\n'),"bronze_expert.svg":$e('\n'), "community_specialist.svg":$e('\n'),"diamond_expert.svg":$e('\n'), "error_computer.svg":$e('\n'), "gold_expert.svg":$e('\n'), "google_employee.svg":$e('\n'),"legacy_expert.svg":$e('\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n'), "logo_googleg_48dp.svg":$e('\n \n \n \n \n \n\n'), "page_desktop.svg":$e('\n'), "page_desktop_dark.svg":$e('\n'), "platinum_expert.svg":$e('\n'), "play.svg":$e('\n'),"search.svg":$e('\n'), "silver_expert.svg":$e('\n'), "stop.svg":$e('\n'),"workflow.svg":$e('\n'), "workflow_dark.svg":$e('\n')};function sp(a){A.call(this,"sc.shared.TsAssetInterop");this.o=a} y(sp,A);sp.prototype.content=function(){vk(rp[this.o])};var tp=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"]]),up=new Map([[0,"workflow_dark.svg"]]); function vp(a){var b=void 0===a.Ab?!1:a.Ab,c=void 0===a.cr?!1:a.cr,e=a.icon,f=void 0===a.isDarkMode?!1:a.isDarkMode,h=void 0===a.size?24:a.size;a=a.title;A.call(this,"sc.icon.Icon");f=f&&up.has(e)?up.get(e):tp.get(e);if(void 0===f)throw Error("The icon asset "+e+" is undefined.");this.Ab=b;this.cr=c;this.size=h;this.o=new sp(f);this.title=a} y(vp,A);vp.prototype.content=function(){var a=this;this.element("div","class",{root:!0,baseline:this.Ab,flip:this.cr},"title",this.title,"style",{height:this.size+"px",width:this.size+"px"},function(){a.o.render()})};function wp(a){z.call(this,a,-1,xp)} y(wp,z);var xp=[1,2,3,4];function yp(a){z.call(this,a,-1,zp)} y(yp,z);var zp=[2];function Ap(a){z.call(this,a,31,Bp)} y(Ap,z);Ap.prototype.Pb=ma(4);Ap.prototype.Mc=ma(5);var Bp=[3,20,27];function Cp(a){if(!a)return"";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 Dp(){function a(){f[0]=1732584193;f[1]=4023233417;f[2]=2562383102;f[3]=271733878;f[4]=3285377520;t=r=0} function b(w){for(var x=k,E=0;64>E;E+=4)x[E/4]=w[E]<<24|w[E+1]<<16|w[E+2]<<8|w[E+3];for(E=16;80>E;E++)w=x[E-3]^x[E-8]^x[E-14]^x[E-16],x[E]=(w<<1|w>>>31)&4294967295;w=f[0];var pa=f[1],qa=f[2],sa=f[3],va=f[4];for(E=0;80>E;E++){if(40>E)if(20>E){var za=sa^pa&(qa^sa);var Ca=1518500249}else za=pa^qa^sa,Ca=1859775393;else 60>E?(za=pa&qa|sa&(pa|qa),Ca=2400959708):(za=pa^qa^sa,Ca=3395469782);za=((w<<5|w>>>27)&4294967295)+za+va+Ca+x[E]&4294967295;va=sa;sa=qa;qa=(pa<<30|pa>>>2)&4294967295;pa=w;w=za}f[0]=f[0]+ w&4294967295;f[1]=f[1]+pa&4294967295;f[2]=f[2]+qa&4294967295;f[3]=f[3]+sa&4294967295;f[4]=f[4]+va&4294967295} function c(w,x){if("string"===typeof w){w=unescape(encodeURIComponent(w));for(var E=[],pa=0,qa=w.length;par?c(l,56-r):c(l,64-(r-56));for(var E=63;56<=E;E--)h[E]=x&255,x>>>=8;b(h);for(E=x=0;5>E;E++)for(var pa=24;0<=pa;pa-=8)w[x++]=f[E]>>pa&255;return w} for(var f=[],h=[],k=[],l=[128],n=1;64>n;++n)l[n]=0;var r,t;a();return{reset:a,update:c,digest:e,digestString:function(){for(var w=e(),x="",E=0;El?"":0==l?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(Date.now()+1E3*l)).toUTCString();this.o.cookie=a+"="+b+c+k+l+e+(null!=f?";samesite="+ f:"")}; p.get=function(a,b){for(var c=a+"=",e=(this.o.cookie||"").split(";"),f=0,h;fa.xd()?"https://www.google.com/log?format=json&hasfast=true":"https://play.google.com/log?format=json&hasfast=true");return a.Ga} p.dispatch=function(a){if(a instanceof Ap)this.log(a);else{var b=new Ap;a=a.Hb();b=Vd(b,8,a);this.log(b)}}; function qq(a,b){b?(a.ka||(a.ka=new yp),b=b.Hb(),Vd(a.ka,4,b)):a.ka&&Vd(a.ka,4,void 0)} function rq(a){a.Ua=a.Ld} function sq(a,b){a.na=new Np(1>b?1:b);nn(a.o,a.na.Sa())} p.log=function(a){a=a.clone();var b=this.Ee++;Vd(a,21,b);this.Ba&&Vd(a,26,this.Ba);if(!Pd(a,1)){b=a;var c=Date.now().toString();Vd(b,1,c)}Qd(a,15)||Vd(a,15,60*(new Date).getTimezoneOffset());this.ka&&(b=this.ka.clone(),de(a,16,b));for(;1E3<=this.ha.length;)this.ha.shift(),++this.va;this.ha.push(a);this.dispatchEvent(new tq(a));this.Ha||this.o.enabled||this.o.start()}; p.flush=function(a,b){var c=this;if(0===this.ha.length)a&&a();else if(this.Ma)uq(this);else{var e=Date.now();if(this.mc>e&&this.RaE||401===E||0===E)c.ha=pa.concat(c.ha),c.Ha||c.o.enabled||c.o.start();b&&b("net-send-failed",E)},x=function(){c.Qa?c.Qa.send(r,t,w):c.yc(r,t,w)}; n?n.then(function(E){r.Ks["Content-Encoding"]="gzip";r.Ks["Content-Type"]="application/binary";r.body=E;r.ez=2;x()},function(){x()}):x()}}}}; p.ar=function(){this.Aa||(this.Ua&&uq(this),this.Da&&vq(this),this.flush())}; function uq(a){wq(a,32,10,function(b,c){b=vn(b,"format","json");b=window.navigator.sendBeacon(b,c.Hb());a.Ma&&!b&&(a.Ma=!1);return b})} function vq(a){wq(a,6,5,function(b,c){c=c.Hb();for(var e=[],f=0,h=0;h>=8);e[f++]=k}c=pd(e,3);b=un(b,"format","base64json","p",c);if(15360 .heading").getAttribute("data-search-dym-tracking-id"),a.Is(f,b,h,e,c)):(e=""!==Og("symptom"),a.ij(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 Eq(a,b){function c(){h&&k&&((window.sc_delayLocationHandler=e)?e(f):gh(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()}} p.ij=function(a,b,c,e,f,h,k,l,n,r){b=Fq(n?"suggestion_clicked":"search_results_clicked",b,k,l);Bq(b,"q",a);Bq(b,"clickRank",c);Bq(b,"resultId",e);Bq(b,"requestId",f);Bq(b,"shownContentList",h);Gq(this,b,h,r)}; p.Is=function(a,b,c,e,f){c=Fq("sugesstion_clicked",c);Bq(c,"q",a);e&&Bq(c,"dymTrackingId",e);Gq(this,c,b,f)}; p.Hs=function(a,b,c){b=Fq("autocomplete_search_query",Qg().visit_id,b);Bq(b,"q",a);Gq(this,b,"",c)}; p.Fs=function(a,b,c,e){c=Fq("autocomplete_results_clicked",Qg().visit_id,c);Bq(c,"q",a);Bq(c,"shownContentList",b);Gq(this,c,b,e)}; p.Gs=function(a,b){b=Fq("autocomplete_click_impressions",Qg().visit_id,b);Bq(b,"shownContentList",a.join("|"));Hq(this,b,"sc_nullFunction")}; function Gq(a,b,c,e){e&&e instanceof Function?(window.sc_searchMetricsLinkCallback=function(){e(c)},Hq(a,b,"sc_searchMetricsLinkCallback")):Hq(a,b,"sc_nullFunction")} p.Ov=function(a){var b=Fq("article_help_link_clicked",Qg().visit_id,"help");Bq(b,"url",a);Hq(this,b,"sc_nullFunction")}; p.Uv=function(a){var b=Fq("opened_to_article",Qg().visit_id,"help");Bq(b,"shownContentList",a);Hq(this,b,"sc_nullFunction")}; p.Nm=function(a,b,c,e,f,h,k,l){e=e||Og("query")||Og("q");h=h||""!==Og("symptom");a=Fq(h?"shown_suggestions":"shown_search_results",a,f,k);Bq(a,"q",e);Bq(a,"requestId",b);Bq(a,"shownContentList",c.join("|"));l&&Bq(a,"dymTrackingId",l);Hq(this,a,"sc_nullFunction")}; function Iq(a,b,c){b=Fq(b,Qg().visit_id,"help");c&&Bq(b,"contactMode",c);Hq(a,b,"sc_nullFunction")} p.Rv=function(){Iq(this,"nd4c_requested")}; p.Qv=function(){Iq(this,"shown_contact_us","nd4c_email")}; p.Pv=function(){Iq(this,"contact_us_clicked","nd4c_email")}; p.Tv=function(){Iq(this,"shown_contact_us","nd4c_phone")}; p.Sv=function(){Iq(this,"contact_us_clicked","nd4c_phone")}; p.jj=function(a,b,c,e,f,h){a=Fq(void 0===h?"suggestion_clicked":h,a);Bq(a,"requestId",b);Bq(a,"resultId",c);void 0!==e&&Bq(a,"clickRank",e);void 0!==f&&Bq(a,"shownContentList",f);Hq(this,a,"sc_nullFunction")}; function Fq(a,b,c,e){a=Bq(Bq(Bq(Bq(Bq(Bq(Bq(new Aq,"flow",c||"support-content"),"gfSessionId",b),"hcName",Qg().hc),"locale",Qg().lang),"authuser",Qg().au),"useAnonymousMetrics","false"),"userAction",a);(e=e||Jq())&&Bq(a,"productSpecificContext",e);"help"===c&&Bq(a,"useInappHelpPanel","true");(c=th("productEscalationsId"))&&Bq(a,"productId",c);return a} function Jq(){var a=Qg().query_params.find(function(b){return"ec"==b.key}); return a?a.value:""} function Hq(a,b,c){if(a.o||"true"===th("initializeMojoMetrics")){Bq(b,"callback",c);a=Vh(document,"SCRIPT");a.onerror=window[c];var e=Object.fromEntries(b.ka.entries());c=Object.fromEntries(b.o.entries());b=hf(b.ha,e);b=gf(b).toString();b=mf.exec(b);e=b[3]||"";c=lf(b[1]+nf("?",b[2]||"",c)+nf("#",e,void 0));qg(a,c);document.body.appendChild(a)}} Cq.prototype.reportSearchResultsFeatureClick=Cq.prototype.jj;Cq.prototype.reportND4CTfnClicked=Cq.prototype.Sv;Cq.prototype.reportND4CTfnDisplayed=Cq.prototype.Tv;Cq.prototype.reportND4CEmailClicked=Cq.prototype.Pv;Cq.prototype.reportND4CEmailDisplayed=Cq.prototype.Qv;Cq.prototype.reportND4CRequested=Cq.prototype.Rv;Cq.prototype.reportImpressions=Cq.prototype.Nm;Cq.prototype.reportOpenedToArticle=Cq.prototype.Uv;Cq.prototype.reportArticleHelpLinkClicked=Cq.prototype.Ov; Cq.prototype.reportAutocompleteImpressions=Cq.prototype.Gs;Cq.prototype.reportAutocompleteClick=Cq.prototype.Fs;Cq.prototype.reportAutocompleteSearch=Cq.prototype.Hs;Cq.prototype.reportSpellingClick=Cq.prototype.Is;Cq.prototype.reportClick=Cq.prototype.ij;Cq.prototype.setUpMojoReportingForSpelling=Cq.prototype.ow;Cq.prototype.setUpMojoReportingForSearchResults=Cq.prototype.nw;var Kq;Mb("hcfe.MojoMetrics",Cq); window.sc_initMojoMetrics=function(){Kq||(Kq=new Cq,Kq.nw(),Kq.ow(),window.sc_trackSearchResultImpressions=window.sc_trackSearchResultEnabledRceTracking?window.sc_nullFunction:Kq.Nm.bind(Kq))};function Lq(){A.call(this,"sc.shared.material_dialog.DialogContent");this.o=new Yo} y(Lq,A);Lq.prototype.content=function(a){var b=this,c=a.title,e=a.content,f=a.Do,h=a.rb;this.element("div","class","root",function(){c&&b.element("h1","class","title",c);e&&b.element("div",e);f&&b.element("div",f);h&&b.element("div","class","loading-overlay",function(){b.o.render()})})};var Mq={vc:7,wc:7,Ul:!0,fn:!0};function Nq(a){var b=this,c=a.content,e=void 0===a.scope?document.body:a.scope,f=a.mb,h=te(a,["content","scope","ariaLabel"]);this.ha=new Map;this.scope=e;this.o=new Fo(Object.assign(Object.assign(Object.assign({},Mq),h),{hb:function(){var k;if(b.Hc)for(var l=u(b.ha),n=l.next();!n.done;n=l.next()){var r=u(n.value);n=r.next().value;(r=r.next().value)||n.removeAttribute("aria-hidden")}null===(k=h.hb)||void 0===k?void 0:k.call(h)}, content:function(){uk("div","role","dialog","aria-modal","true","aria-label",f,c)}}))} Nq.prototype.initialize=function(){var a=this;if(this.Hc)return this;this.Hc=document.createElement("div");this.Hc.setAttribute("aria-live","polite");this.scope.appendChild(this.Hc);qk(this.Hc,function(){a.o.render()}); return this}; Nq.prototype.Xa=function(){this.Hc&&(this.o.close(),this.Hc.remove(),this.Hc=void 0)}; Nq.prototype.open=function(a){a=void 0===a?{}:a;this.initialize();if(this.Hc)for(var b=this.Hc;b&&b!==document.body;){var c=b,e=Oq(c);if(e){e=u(e.childNodes);for(var f=e.next();!f.done;f=e.next())f=f.value,c!==f&&Bb(f)&&1===f.nodeType&&(this.ha.set(f,"true"===f.getAttribute("aria-hidden")),f.setAttribute("aria-hidden","true"))}b=Oq(b)}this.o.open(Object.assign({Kb:!0},a))}; Nq.prototype.close=function(){this.o.close()}; function Oq(a){return a.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&a.host&&a.mode?a.host:a.parentNode} ;function Pq(a){a=a.wb;A.call(this,"sc.tailwind.shared.rich_text_editor.attachment.FailedOverlay");this.wb=a} y(Pq,A);Pq.prototype.content=function(){var a=this;this.element("button","class","root","onclick",function(){return void a.wb()},"Failed to attach file, click here to try again.")};function Qq(){A.call(this,"sc.tailwind.shared.rich_text_editor.attachment.LoadingOverlay");this.o=new Yo} y(Qq,A);Qq.prototype.content=function(){var a=this;this.element("div","class","root",function(){a.o.render()})};function Rq(a){a=a.hd;A.call(this,"sc.tailwind.shared.rich_text_editor.attachment.RemoveButton");this.o=new Rk({icon:"gm/close",size:16,Ab:!0});this.overlay=new bl;this.hd=a} y(Rq,A);Rq.prototype.content=function(){var a=this;this.element("div","class","root",function(){a.element("button","class","remove-button","aria-label","Remove attachment","onclick",function(){return void a.hd()},"onkeydown",function(b){"Backspace"!==b.key&&"Delete"!==b.key||a.hd()},function(){a.o.render(); a.overlay.render()})})};function Sq(a){var b=a.Ns,c=a.hd;a=a.js;A.call(this,"sc.tailwind.shared.rich_text_editor.attachment.InlinedAttachment");this.na=new Qq;this.o=this.rb=!1;this.Ns=b;this.ta=new Rq({hd:c});this.ma=new Pq({wb:a})} y(Sq,A);Sq.prototype.Ec=function(a){this.rb!==a&&(this.rb=a,this.Ca())}; Sq.prototype.ha=function(a){this.o!==a&&(this.o=a,this.Ca())}; Sq.prototype.content=function(){var a=this;this.element("div","class","root",function(){og(a.element("img","class","image"),a.Ns);a.ta.render();a.rb?a.na.render():a.o&&a.ma.render()})};function Tq(a){var b=a.fileName,c=a.mimeType,e=a.hd;a=a.js;A.call(this,"sc.tailwind.shared.rich_text_editor.attachment.NonInlinedAttachment");this.na=new Qq;this.o=this.rb=!1;this.ta=new Rq({hd:e});e=b.lastIndexOf(".");b=-1===e?{base:b,extension:""}:{base:b.substring(0,e),extension:b.substring(e+1)};e=b.extension;this.base=b.base;this.extension=e;this.ua=xf("https://drive-thirdparty.googleusercontent.com/32/type/"+c);this.ma=new Pq({wb:a})} y(Tq,A);Tq.prototype.Ec=function(a){this.rb!==a&&(this.rb=a,this.Ca())}; Tq.prototype.ha=function(a){this.o!==a&&(this.o=a,this.Ca())}; Tq.prototype.content=function(){var a=this;this.element("div","class",{root:!0,"root-failed":this.o},function(){a.element("div","class","filename",a.base);a.element("div","class","extension",function(){og(a.element("img","class","icon"),a.ua);a.element("span",a.extension)}); a.ta.render();a.rb?a.na.render():a.o&&a.ma.render()})};function Uq(){this.documentId=this.mimeType=this.Of="";this.ka=this.ha=this.Ve=!1} function Vq(a){var b=new Uq;b.Of=a.name;b.mimeType=a.type;b.file=a;Wq(b);return b} function Xq(a){var b=new Uq;b.Of=a.originalFilename;b.mimeType=a.mimeType;b.Ac=a.Ac;b.documentId=a.documentId;Wq(b);return b} function Wq(a){a.dom=document.createElement("div");a.eh()?(a.dom.contentEditable="false",a.dom.style.display="inline-block",a.dom.style.maxWidth="100%",a.component=new Sq({Ns:sf(a.file),hd:function(){return void a.remove()}, js:function(){return void a.upload()}})):a.component=new Tq({fileName:a.Of, mimeType:a.mimeType,hd:function(){return void a.remove()}, js:function(){return void a.upload()}}); qk(a.dom,function(){a.component.render()})} p=Uq.prototype;p.render=function(){var a;null===(a=this.component)||void 0===a?void 0:a.render()}; p.eh=function(){if(!this.file)return!1;switch(this.mimeType){case "image/gif":case "image/jpeg":case "image/png":return!0;default:return!1}}; p.upload=function(){var a=this;this.Ec(!0);Yq(this,!1);this.o&&this.o();this.fileUpload=(new np(this.file)).dj(function(){a.Ec(!1);a.Ac=a.fileUpload.o;a.documentId=a.fileUpload.Nh();a.documentId||(a.documentId=Date.now().toString(16)+Math.floor(65536*Math.random()).toString(16));a.dom&&(a.dom.dataset.richTextEditorAttachmentDocumentId=a.documentId);a.o&&a.o()}).onError(function(){Yq(a,!0); a.Ec(!1);a.o&&a.o()}).oh("SupportContentForums","TailwindPost").start()}; p.remove=function(){this.Ve||(this.dom&&this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.Ve=!0,this.ma&&this.ma())}; p.Gm=function(a){this.o=a}; p.hd=function(a){this.ma=a}; p.Tj=function(a){a.appendChild(this.dom)}; p.jk=function(){return this.dom}; p.rb=function(){return this.ka}; p.hasError=function(){return this.ha}; p.Wi=function(){return{originalFilename:this.Of,mimeType:this.mimeType,Ac:this.Ac,documentId:this.documentId,deleted:this.Ve}}; p.Ec=function(a){var b;this.ka!==a&&(this.ka=a,null===(b=this.component)||void 0===b?void 0:b.Ec(a))}; function Yq(a,b){var c;a.ha!==b&&(a.ha=b,null===(c=a.component)||void 0===c?void 0:c.ha(b))} Uq.prototype.getUploadedFile=Uq.prototype.Wi;Uq.prototype.hasError=Uq.prototype.hasError;Uq.prototype.isLoading=Uq.prototype.rb;Uq.prototype.getDom=Uq.prototype.jk;Uq.prototype.appendDomTo=Uq.prototype.Tj;Uq.prototype.onRemove=Uq.prototype.hd;Uq.prototype.onStateChange=Uq.prototype.Gm;Uq.prototype.remove=Uq.prototype.remove;Uq.prototype.upload=Uq.prototype.upload;Uq.prototype.isInlinableImage=Uq.prototype.eh;Uq.fromUploadedFile=Xq;Uq.fromLocalFile=Vq;function Zq(a,b,c){this.o=a;this.ha=b;this.ka=void 0===c?!0:c} Zq.prototype.toString=function(){return this.o}; var $q=new Zq("attachFile",!1,!1),ar=new Zq("bold",!0),br=new Zq("italic",!0),cr=new Zq("underline",!0),dr=new Zq("code",!1),er=new Zq("insertUnorderedList",!0),fr=new Zq("insertOrderedList",!0),gr=new Zq("outdent",!0,!1),hr=new Zq("indent",!0,!1),ir=new Zq("insertLink",!1),jr=new Zq("removeFormat",!0,!1);var kr={Bt:{1E3:{other:"0K"},1E4:{other:"00K"},1E5:{other:"000K"},1E6:{other:"0M"},1E7:{other:"00M"},1E8:{other:"000M"},1E9:{other:"0B"},1E10:{other:"00B"},1E11:{other:"000B"},1E12:{other:"0T"},1E13:{other:"00T"},1E14:{other:"000T"}},bx:{1E3:{other:"0 thousand"},1E4:{other:"00 thousand"},1E5:{other:"000 thousand"},1E6:{other:"0 million"},1E7:{other:"00 million"},1E8:{other:"000 million"},1E9:{other:"0 billion"},1E10:{other:"00 billion"},1E11:{other:"000 billion"},1E12:{other:"0 trillion"},1E13:{other:"00 trillion"}, 1E14:{other:"000 trillion"}}},lr=kr;lr=kr;var mr={AED:[2,"dh","\u062f.\u0625."],ALL:[0,"Lek","Lek"],AUD:[2,"$","AU$"],BDT:[2,"\u09f3","Tk"],BGN:[2,"lev","lev"],BRL:[2,"R$","R$"],CAD:[2,"$","C$"],CDF:[2,"FrCD","CDF"],CHF:[2,"CHF","CHF"],CLP:[0,"$","CL$"],CNY:[2,"\u00a5","RMB\u00a5"],COP:[32,"$","COL$"],CRC:[0,"\u20a1","CR\u20a1"],CZK:[50,"K\u010d","K\u010d"],DKK:[50,"kr.","kr."],DOP:[2,"RD$","RD$"],EGP:[2,"\u00a3","LE"],ETB:[2,"Birr","Birr"],EUR:[2,"\u20ac","\u20ac"],GBP:[2,"\u00a3","GB\u00a3"],HKD:[2,"$","HK$"],HRK:[2,"kn","kn"],HUF:[34, "Ft","Ft"],IDR:[0,"Rp","Rp"],ILS:[34,"\u20aa","IL\u20aa"],INR:[2,"\u20b9","Rs"],IRR:[0,"Rial","IRR"],ISK:[0,"kr","kr"],JMD:[2,"$","JA$"],JPY:[0,"\u00a5","JP\u00a5"],KRW:[0,"\u20a9","KR\u20a9"],LKR:[2,"Rs","SLRs"],LTL:[2,"Lt","Lt"],MNT:[0,"\u20ae","MN\u20ae"],MVR:[2,"Rf","MVR"],MXN:[2,"$","Mex$"],MYR:[2,"RM","RM"],NOK:[50,"kr","NOkr"],PAB:[2,"B/.","B/."],PEN:[2,"S/.","S/."],PHP:[2,"\u20b1","PHP"],PKR:[0,"Rs","PKRs."],PLN:[50,"z\u0142","z\u0142"],RON:[2,"RON","RON"],RSD:[0,"din","RSD"],RUB:[50,"\u20bd", "RUB"],SAR:[2,"Rial","Rial"],SEK:[50,"kr","kr"],SGD:[2,"$","S$"],THB:[2,"\u0e3f","THB"],TRY:[2,"\u20ba","TRY"],TWD:[2,"$","NT$"],TZS:[0,"TSh","TSh"],UAH:[2,"\u0433\u0440\u043d.","UAH"],USD:[2,"$","US$"],UYU:[2,"$","$U"],VND:[48,"\u20ab","VN\u20ab"],YER:[0,"Rial","Rial"],ZAR:[2,"R","ZAR"]};var nr={Et:".",gq:",",Nt:"%",kq:"0",ky:"+",Mt:"-",Ft:"E",Ot:"\u2030",hq:"\u221e",ay:"NaN",Dt:"#,##0.###",qy:"#E0",jy:"#,##0%",ex:"\u00a4#,##0.00",fq:"USD"},or=nr;or=nr;function pr(a){this.ya=40;this.ka=1;this.Da=0;this.ha=3;this.Ba=this.ma=0;this.Ha=!1;this.Aa=this.ua="";this.oa=or.Mt;this.va="";this.o=1;this.ta=!1;this.na=[];this.Ea=this.Ga=!1;this.wa=0;if("number"===typeof a)switch(a){case 1:qr(this,or.Dt);break;case 2:qr(this,or.qy);break;case 3:qr(this,or.jy);break;case 4:a=or.ex;var b=["0"],c=mr[or.fq];if(c){c=c[0]&7;if(0f&&n++;break;case "0":if(0f&&n++;break;case ",":0h+k||1>a.Ba)throw Error('Malformed exponential pattern "'+b+'"');t=!1;break;default:c[0]--,t=!1}0==k&&0f&&0h+k)||0==n)throw Error('Malformed pattern "'+b+'"');l=h+k+l;a.ha=0<=f?l-f:0;0<=f&&(a.ma=h+k-f,0>a.ma&&(a.ma=0));a.ka=(0<=f?f:l)-h;a.Ea&&(a.ya=h+a.ka,0==a.ha&&0==a.ka&&(a.ka=1));a.na.push(Math.max(0,n));a.Ga= 0==f||f==l;e=c[0]-e;a.Aa=sr(a,b,c);c[0]this.oa.length?e=!1:this.ua.length=qa)E+=qa,l=!0;else if(pa==t.charAt(0)){if(h||k)break;E+=".";h=!0}else if(pa==w.charAt(0)&&("\u00a0"!=w.charAt(0)||b[0]+1this.ha)throw Error("Min value must be less than max value");if(isNaN(a))return or.ay;var b=[];var c=a,e=a;if(0==this.wa)var f=ur;else c=Math.abs(c),e=Math.abs(e),f=vr(this,1>=c?0:wr(c)).Lq,e=xr(e,-f),yr(this,e),c=xr(c,-f),c=yr(this,c),f=vr(this,f+wr(c.intValue));a=xr(a,-f.Lq);(c=0>a||0==a&&0>1/a)?f.Tr?b.push(f.Tr):(b.push(f.prefix),b.push(this.oa)):(b.push(f.prefix),b.push(this.ua));if(isFinite(a))if(a=a*(c?-1:1)*this.o,this.Ea)if(e=a,0==e)zr(this,e,this.ka, b),Ar(this,0,b);else{var h=Math.floor(Math.log(e)/Math.log(10)+2E-15);e=xr(e,-h);var k=this.ka;1this.ka?(k=h%this.ya,0>k&&(k=this.ya+k),e=xr(e,k),h-=k,k=1):1>this.ka?(h++,e=xr(e,-1)):(h-=this.ka-1,e=xr(e,this.ka-1));zr(this,e,k,b);Ar(this,h,b)}else zr(this,a,this.ka,b);else b.push(or.hq);c?f.Ur?b.push(f.Ur):(isFinite(a)&&b.push(f.suffix),b.push(this.va)):(isFinite(a)&&b.push(f.suffix),b.push(this.Aa));return b.join("")}; function yr(a,b){var c=xr(b,a.ha);0a.ha)throw Error("Min value must be less than max value");e||(e=[]);b=yr(a,b);var f=b.intValue,h=b.Yz,k=0h.length&&(h="1"+Nh("0",a.ha-h.length)+h);for(a=h.length;"0"==h.charAt(a-1)&&a>b+1;)a--;for(b=1;bb?(b=-b,c.push(or.Mt)):a.Ha&&c.push(or.ky);b=""+b;for(var e=or.kq,f=b.length;fa)return a-48;var b=or.kq.charCodeAt(0);return b<=a&&ab)return ur;b=Math.min(14,b);var c=a[xr(1,b)];for(--b;!c&&3<=b;)c=a[xr(1,b)],b--;if(!c)return ur;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))?{Lq:b+1-(c[2].length-1),Tr:a,Ur:e,prefix:c[1],suffix:c[3]}:ur:ur} function wr(a){if(!isFinite(a))return 0=r)&&(e=ts(),(f=e.focusNode)&&0!==(f.compareDocumentPosition(a.Wa.content)&Node.DOCUMENT_POSITION_CONTAINS))){for(var t=0;f&&f!==a.o;){if(f.nodeType===Node.TEXT_NODE){var w=f===e.focusNode?e.focusOffset:null!==(k=null===(h=f.textContent)||void 0===h?void 0:h.length)&&void 0!==k?k:0,x=Math.min(r,w);x<(null!==(n=null===(l=f.textContent)|| void 0===l?void 0:l.length)&&void 0!==n?n:0)&&(t=w-x);r-=x;if(!r)break}f=ns(f)}h=document.createRange();h.setStart(f,t);h.setEnd(e.focusNode,e.focusOffset);h.deleteContents();e.removeAllRanges();e.addRange(h)}}Mk(a.model,0)},function(){Uj=Vj.lastChild}),a.Wa=null!==(c=a.Wa)&&void 0!==c?c:new zs(a.o)); a.element("div","class","toolbar",function(){a.ua.render({Wa:a.Wa})}); a.ih.render();a.model.rk()&&a.ma.render()}); ht(this);this.ha||(this.na=(new this.qq({model:this.model,Wa:this.Wa})).initialize(),this.ta=(new this.Nr({model:this.model,Wa:this.Wa,ih:this.ih})).initialize(),this.va=(new this.Aq({model:this.model,Wa:this.Wa})).initialize(),this.ya=(new this.Mr({model:this.model,Wa:this.Wa})).initialize(),this.ha=!0);if(this.vm){var b=this.vm;delete this.vm;this.qj(b)}}; p.we=function(){var a,b,c,e;this.ha&&(null===(a=this.na)||void 0===a?void 0:a.Xa(),null===(b=this.ta)||void 0===b?void 0:b.Xa(),null===(c=this.va)||void 0===c?void 0:c.Xa(),null===(e=this.ya)||void 0===e?void 0:e.Xa(),this.na=void 0,this.ha=!1)}; p.focus=function(){if(this.o){this.o.focus();var a=document.createRange();a.selectNodeContents(this.o.lastChild||this.o);a.collapse(!1);var b=ts();b.removeAllRanges();b.addRange(a)}}; p.Rl=ma(7);p.rg=function(){if(!this.o)return"";this.o.normalize();ks(this.o);return qs(this.o).innerHTML}; p.Ja=function(){var a;if(!this.o)return"";this.o.normalize();ks(this.o);return null!==(a=qs(this.o).textContent)&&void 0!==a?a:""}; p.nb=function(a){var b=document.createElement("div");b.innerText=a;this.qj(b)}; p.qj=function(a){if(this.o){if("string"===typeof a){var b=document.createElement("div");kg(b,Ej(a));a=b}b=this.o;b.textContent="";a=u(a.childNodes);for(var c=a.next();!c.done;c=a.next())b.appendChild(c.value.cloneNode(!0));this.o.normalize();ks(this.o);Mk(this.model,0)}}; p.clear=function(){this.o&&(this.o.textContent="")}; p.Ol=ma(8);p.Fa=function(a){this.model.Fa(0,a);return this}; p.Ed=function(){return this.model.Ed()}; p.de=function(a){this.model.de(a)}; function ht(a){var b,c,e;var f=a.model;var h=null!==(e=null===(c=null===(b=a.o)||void 0===b?void 0:b.textContent)||void 0===c?void 0:c.length)&&void 0!==e?e:0;f.hintText?f=f.hintText:(h=Math.max(0,f.minLength-h),f=0>>0),x=[["js_request_id",w],["rr",1],["lc",1]],E=Mu();0]+)>)/gi,"")}; function Zu(a){var b;return null!==(b=Pd(a.o,3))&&void 0!==b?b:""} Yu.prototype.getUrl=function(){var a;return null!==(a=this.o.getUrl())&&void 0!==a?a:""}; Yu.prototype.Rc=function(){var a;return null!==(a=this.o.Rc())&&void 0!==a?a:""}; function $u(a){var b,c;return null!==(c=null===(b=be(a.o,Ru,26))||void 0===b?void 0:Pd(b,1))&&void 0!==c?c:0} function av(a){var b,c;return null!==(c=null===(b=be(a.o,Ru,26))||void 0===b?void 0:Pd(b,3))&&void 0!==c?c:0} function bv(a){var b,c;return null!==(c=null===(b=be(a.o,Ru,26))||void 0===b?void 0:Pd(b,4))&&void 0!==c?c:""} function cv(a){var b;a=null!==(b=Pd(a.o,4))&&void 0!==b?b:null;switch(a){case 81:return 0;case 72:return 1;case 62:case 63:case 65:return 2;case 70:return 3;case 21:return 4;default:return a?5:6}} ;function dv(a){z.call(this,a)} y(dv,z);dv.prototype.getType=function(){return Xd(this,1,0)}; dv.prototype.getId=function(){return me(this,2)}; dv.prototype.setId=function(a){return Vd(this,2,a)};function ev(a){z.call(this,a)} y(ev,z);function fv(a){z.call(this,a)} y(fv,z);var gv=[2,3,4,5,6,7];function hv(a){z.call(this,a)} y(hv,z);hv.prototype.getUrl=function(){return me(this,1)}; hv.prototype.lb=function(){return me(this,2)}; hv.prototype.uc=function(a){return Vd(this,2,a)};function iv(a){z.call(this,a)} y(iv,z);function jv(a){z.call(this,a)} y(jv,z);jv.prototype.Qh=function(){return me(this,1)}; function kv(a){var b=new Gm;var c=Math.floor(Date.now()/1E3);b=oe(b,c);de(a,2,b)} ;function lv(a){z.call(this,a,-1,mv)} y(lv,z);var mv=[1];function nv(a){z.call(this,a)} y(nv,z);nv.prototype.Hf=function(){return Xd(this,2,0)};function ov(a){z.call(this,a,-1,pv)} y(ov,z);var pv=[2];function qv(a){z.call(this,a)} y(qv,z);function rv(a){a=void 0===a?{}:a;this.kj=new (void 0===a.PC?nl:a.PC)({uf:Qg().mld+"/v1",serviceName:"MoltronLoggingService"})} function sv(a,b,c,e){var f=(void 0===e?{}:e).lz;ue(a,function k(){var l,n,r,t=this;return mb(k,function(w){if(!b||!c)return w.return();l=new jv;Vd(l,1,b);kv(l);Vd(l,3,c);Vd(l,5,3);f&&(n=new ev,Vd(n,1,1),Vd(n,2,f),r=new fv,ee(r,3,gv,n),de(l,6,r));return Ra(w,tv(t,l),0)})})} function uv(a,b,c,e){var f=(void 0===e?{Cr:!1}:e).Cr;ue(a,function k(){var l,n,r,t,w,x,E=this;return mb(k,function(pa){if(!b)return pa.return();l=[];n=u(c);for(r=n.next();!r.done;r=n.next())if(t=r.value)w=new jv,Vd(w,1,b),kv(w),Vd(w,3,t),Vd(w,5,1),f&&(x=new fv,Vd(x,1,3),de(w,6,x)),l.push(w);return Ra(pa,vv(E,l),0)})})} function wv(a,b){ue(a,function e(){var f,h,k=this;return mb(e,function(l){if(!b)return l.return();f=new jv;Vd(f,1,b);kv(f);h=new dv;Vd(h,1,3);h.setId("other");de(f,4,h);Vd(f,5,3);return Ra(l,tv(k,f),0)})})} function tv(a,b,c){c=void 0===c?!1:c;return ue(a,function f(){var h,k,l,n,r=this;return mb(f,function(t){if(1==t.o)return h=new qv,de(h,1,b),k={query:{key:Qg().mkey}},c&&(l=(Qg().ge||"").toLowerCase(),n=Mp([{key:"e",value:l}]))&&(k.withCredentials=!0,k.headers={Authorization:n}),$a(t,2),Ra(t,r.kj.post("log-moltron-interaction",h,nv,k),4);if(2!=t.o)return ab(t,0);cb(t);Wa(t)})})} function vv(a,b){return ue(a,function e(){var f,h=this;return mb(e,function(k){if(1==k.o)return f=new lv,fe(f,1,b),$a(k,2),Ra(k,h.kj.post("log-batch-moltron-interaction",f,ov,{query:{key:Qg().mkey}}),4);if(2!=k.o)return ab(k,0);cb(k);Wa(k)})})} ;function xv(a,b,c,e){rv.call(this);this.predictionId=a;this.o=b;this.dymTrackingId=c;this.sessionId=e} y(xv,rv);function yv(a){ue(a,function c(){var e=this,f,h;return mb(c,function(k){f=zv();Vd(f,1,e.predictionId);Vd(f,5,1);h=new iv;Vd(h,1,e.o?3:1);Vd(h,2,e.sessionId);de(f,8,h);return Ra(k,tv(e,f,!0),0)})})} function Av(a,b,c){ue(a,function f(){var h=this,k,l,n;return mb(f,function(r){k=zv();Vd(k,1,h.predictionId);Vd(k,3,b);Vd(k,5,3);l=new iv;Vd(l,1,h.o?4:2);Vd(l,2,h.sessionId);de(k,8,l);n=new hv;Vd(n,1,c);de(k,7,n);return Ra(r,tv(h,k,!0),0)})})} xv.prototype.jj=function(a,b){return ue(this,function e(){var f=this,h;return mb(e,function(k){h=Bv(f,a,4,b);return Ra(k,tv(f,h,!0),0)})})}; function Bv(a,b,c,e){var f=zv();Vd(f,1,a.predictionId);Vd(f,3,b);Vd(f,5,3);e&&(b=new hv,Vd(b,1,e),de(f,7,b));e=new iv;Vd(e,1,c);Vd(e,2,a.sessionId);de(f,8,e);return f} function zv(){var a=new jv;kv(a);return a} ;function Cv(a,b,c,e,f,h,k){this.context=a;this.dymTrackingId=b;this.flow=c;this.ha=e;this.query=f;this.requestId=h;this.sessionId=k;this.o=new Cq(!0)} function Dv(a,b){a.o.Nm(a.sessionId,a.requestId,b,a.query,a.flow,a.ha,a.context,a.dymTrackingId)} function Ev(a,b,c,e){a.o.ij(a.query,a.sessionId,b,c,a.requestId,e,a.flow,a.context,a.ha)} Cv.prototype.jj=function(a,b,c){this.o.jj(this.sessionId,this.requestId,a,b,c)};function Fv(a){var b=a.symptoms,c=void 0===a.limit?8:a.limit,e=void 0===a.helpcenterName?"":a.helpcenterName,f=void 0===a.ln?new Map:a.ln;a=void 0===a.Am?0:a.Am;A.call(this,"sc.symptoms.Symptoms");this.ha="true"===th("workflow__full-layout");this.isRendered=this.o=!1;this.symptoms=b;this.limit=c;this.helpcenterName=e;this.ln=f;this.Am=a} y(Fv,A);Fv.prototype.content=function(){var a=this,b=ce(this.symptoms,Wu,1).filter(function(c){var e;return""!==(null===(e=Pd(c,2))||void 0===e?void 0:e.trim())}); this.element("div","class","root",function(){a.element("div","class","container",function(){switch(a.Am){case 0:Gv(a,b);break;case 1:for(var c=0;ca.limit} function Mv(a){if(Iv(a)){a.o=!a.o;a.Ca();var b=a.o;rl(b?2:3,a.helpcenterName+"_symptoms_view_"+(b?"more":"less"),b?96:97)}} function Lv(a,b){rl(35,a.helpcenterName+"_symptoms_click_"+Pd(b,1)+(Wd(b,3)?"_active":""),98);if(!Wd(b,3)){a:{var c;b=null!==(c=Pd(b,1))&&void 0!==c?c:"";if(""!==b&&a.ln.has(b)&&(a=a.ln.get(b)))break a;a=""}a=a.split("?");c="?"+a[1];c=Gu(c);ll(""+a[0]+c,!0,!1)}} ;function Nv(a){this.o=a;this.ka=this.va=null;this.ha=[];this.na=document.createElement("input");this.ua=this.oa=-1;this.Ea=this.um.bind(this);this.Ba=this.ys.bind(this);this.Ga=this.wa=this.ya=0;this.ta=!1;this.Da=0;this.Aa=new vm;Ov(this)} function Ov(a){a.ma=document.createElement("div");a.ma.className=a.o.className;Jg(a.ma,"sc-select",!0);a.ma.setAttribute("tabindex",0);a.ma.setAttribute("role","listbox");a.ma.setAttribute("aria-expanded",!1);a.ma.addEventListener("mousedown",function(e){Ng(this.ka,"sc-select-show")?e.target==this.ka||this.ka.contains(e.target)||this.um():0==e.button&&Pv(this)}.bind(a)); a.ma.addEventListener("keydown",a.Nx.bind(a));a.va=document.createElement("span");a.ma.appendChild(a.va);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.ma.appendChild(b);a.ka=document.createElement("ol");a.ka.addEventListener("mousemove",function(){this.ta=!0}.bind(a)); a.ka.addEventListener("scroll",function(){0a-1?this.ha.length-1:a-1;b!=a&&!Uv(this,b);)b=0>b-1?this.ha.length-1:b-1;a=b}Sv(this,a);this.ha[a].focus();this.ma.setAttribute("aria-activedescendant",this.ha[a].id); Vv(this);break;case 40:a.preventDefault();Ng(this.ka,"sc-select-show")||Pv(this);a=this.oa;if(0===this.ha.length)a=-1;else{for(b=(a+1)%this.ha.length;b!=a&&!Uv(this,b);)b=(b+1)%this.ha.length;a=b}Sv(this,a);this.ha[a].focus();this.ma.setAttribute("aria-activedescendant",this.ha[a].id);Vv(this)}}; function Vv(a){if(-1!=a.oa){var b=a.ha[a.oa];b.offsetTopa.ka.scrollTop+a.ka.offsetHeight&&(a.ta=!1,a.ka.scrollTop=b.offsetTop+b.offsetHeight-a.ka.offsetHeight)}} function Tv(a){var b=a.o.getAttribute("aria-label")||"";b&&(-1!==a.o.selectedIndex&&(b+=" ("+a.o[a.o.selectedIndex].innerText+")"),a.ma.setAttribute("aria-label",b))} p.dispose=function(){this.ma&&Zh(this.ma);this.ka=this.va=this.ma=null;this.ha=[]}; function Wv(a){a=u((a||document).getElementsByTagName("select"));for(var b=a.next();!b.done;b=a.next())b=b.value,"true"!==b.dataset.exclude&&new Nv(b)} window.sc_initSelects=function(){Wv(window.sc_scope)};function Xv(a){z.call(this,a,-1,Yv)} y(Xv,z);p=Xv.prototype;p.getId=function(){return Pd(this,1)}; p.setId=function(a){return Vd(this,1,a)}; p.getType=function(){return Pd(this,3)}; p.lb=function(){return Pd(this,4)}; p.uc=function(a){return Vd(this,4,a)}; p.og=function(){return Pd(this,5)}; p.Hk=ma(12);p.Sa=function(){return Pd(this,6)}; p.lc=function(a){return Vd(this,6,a)}; p.Db=function(){return Qd(this,6)}; p.Tm=function(a){Vd(this,20,a)}; var Yv=[2,11,12,16,17];function Zv(a){z.call(this,a,-1,$v)} y(Zv,z);Zv.prototype.Tm=function(a){Vd(this,5,a)}; function aw(a){z.call(this,a)} y(aw,z);function bw(a){z.call(this,a,3)} y(bw,z);function cw(a){return be(a,dw,1)} function ew(a){z.call(this,a)} y(ew,z);function fw(a){z.call(this,a)} y(fw,z);function dw(a){z.call(this,a,-1,gw)} y(dw,z);p=dw.prototype;p.getType=function(){return Pd(this,1)}; p.og=function(){return Pd(this,3)}; p.Hk=ma(11);p.Sa=function(){return Pd(this,4)}; p.lc=function(a){return Vd(this,4,a)}; p.Db=function(){return Qd(this,4)}; function hw(a){z.call(this,a)} y(hw,z);hw.prototype.Tm=function(a){Vd(this,3,a)}; function iw(a){z.call(this,a,-1,jw)} y(iw,z);var $v=[1],gw=[14,15,20,21],kw=[10,17],jw=[1];var lw=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 mw(){var a=this;this.o=function(){}; this.ha=function(b){var c,e,f,h,k,l,n,r;if("detail"in b)if(b=ie(ew,b.detail.action),null===(e=null===(c=be(b,bw,1))||void 0===c?void 0:cw(c))||void 0===e?0:Sd(e,10,kw))(n=null===(h=null===(f=be(b,bw,1))||void 0===f?void 0:cw(f))||void 0===h?void 0:Pd(h,10===Td(h,kw)?10:-1))&&a.ka(n);else if(null===(l=null===(k=be(b,bw,1))||void 0===k?void 0:cw(k))||void 0===l?0:Sd(l,17,kw))if(f=null===(r=null===(n=be(b,bw,1))||void 0===n?void 0:cw(n))||void 0===r?void 0:ne(r,fw,17,kw))h=Pd(f,2),f=Pd(f,1),h&&f&&a.ka("/"+ h+"/workflow/"+f)}; this.ma=function(){var b=lw.get(1);b=new CustomEvent(b,{bubbles:!0,cancelable:!0});window.document.body.dispatchEvent(b)}; this.ka=ll;window.document.body.addEventListener(lw.get(6),this.ma);window.document.body.addEventListener(lw.get(5),this.o);window.document.body.addEventListener(lw.get(2),this.ha)} var nw;function ow(){void 0===nw&&(nw=new mw)} mw.prototype.dispose=function(){window.document.body.removeEventListener(lw.get(2),this.ha);window.document.body.removeEventListener(lw.get(6),this.ma);window.document.body.removeEventListener(lw.get(5),this.o)}; window.sc_initSmartButtonController=function(){ow()};function pw(a,b){a=void 0===a?95:a;b=void 0===b?133:b;A.call(this,"sc.shared.ErrorSvg");this.o=new sp("error_computer.svg");this.height=a;this.width=b} y(pw,A);pw.prototype.content=function(){var a=this;this.element("div","style",{width:this.width+"px",height:this.height+"px"},function(){a.o.render()})};function qw(a){this.ha=a;this.o=null} function rw(a){null===a.o&&(a.o=setTimeout(function(){null!==a.o&&(a.o=null,a.ha())},6E4))} ;function sw(){var a=this;this.ka=function(b){if(!("detail"in b))throw Error("Invalid event type received for state update. Expected CustomEvent.");if(void 0===a.ha)throw Error("No state update callback was provided.");b=ie(Zv,b.detail);a.ha(b)}} p=sw.prototype;p.sendInitCompleteEvent=function(){console.log("[Smart Buttons] Broadcasting init");tw(4,void 0)}; p.sendButtonAction=function(a,b){a={action:null===a||void 0===a?void 0:a.Hb(),buttonClientRect:b};tw(2,a)}; p.sendDescribeEvent=function(a){var b=new iw;a=u(a);for(var c=a.next();!c.done;c=a.next())ge(b,1,c.value,hw);b={action:b.Hb(),buttonClientRect:void 0};tw(5,b)}; p.sendButtonsRenderedEvent=function(){tw(6)}; p.initHandshakeListener=function(a){this.o=a;window.document.body.addEventListener(lw.get(1),this.o)}; p.initStateUpdateListener=function(a){this.ha=a;window.document.body.addEventListener(lw.get(3),this.ka)}; p.dispose=function(){window.document.body.removeEventListener(lw.get(3),this.ka);this.o&&window.document.body.removeEventListener(lw.get(1),this.o)}; function tw(a,b){a=lw.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({gE:0,fE:1,aE:2,dE:3,bE:4,eE:5,cE:6});function uw(a,b){this.o=a;this.metadata=b} uw.prototype.jd=function(a){this.o(a)}; function vw(){var a=this;this.ha=new Map;this.ka=function(){a.o.sendButtonsRenderedEvent()}; this.o=new sw;ww(this)} var xw;function yw(){if(xw&&!zw)return xw;xw=new vw;zw=!1;var a=xw;a.o.initHandshakeListener(a.oa.bind(a));a.o.initStateUpdateListener(a.ma.bind(a));a.o.sendInitCompleteEvent();return xw} function Aw(a,b,c,e){if(""===b)throw Error("Smart Button guid key is empty");a.ha.has(b)||a.ha.set(b,new uw(e,c))} vw.prototype.ma=function(a){var b,c,e=null!==(b=Pd(a,5))&&void 0!==b?b:"";if(!this.ha.has(e))throw Error("Smart Button guid key "+e+" does not exist. Cannot update state.");null===(c=this.ha.get(e))||void 0===c?void 0:c.jd(a)}; vw.prototype.oa=function(){console.log("[Smart Buttons] Received Handshake");var a=[];this.ha.forEach(function(b){a.push(b.metadata)}); this.o.sendDescribeEvent(a)}; vw.prototype.dispose=function(){var a;this.o.dispose();this.ha.clear();null===(a=ok().querySelector(".workflow"))||void 0===a?void 0:a.removeEventListener("dynamicFormRendered",this.ka)}; function ww(a){var b;null===(b=ok().querySelector(".workflow"))||void 0===b?void 0:b.addEventListener("dynamicFormRendered",a.ka)} var zw=!1;function Bw(a){var b=a.buttonTitle,c=a.contentId,e=a.helpcenterName,f=a.Qf;a=void 0===a.Fp?!0:a.Fp;A.call(this,"sc.smart_button.FatalErrorButton");this.o=new pw;this.buttonTitle=b;this.contentId=c;this.helpcenterName=e;this.Qf=f;this.Fp=a} y(Bw,A);Bw.prototype.content=function(){var a=this;this.element("div","class","^no-margin root",function(){a.element("div","class","^no-margin content",function(){a.o.render()}); a.element("div","class","^no-margin content",function(){a.element("div","class","^no-margin title","Hmm... something went wrong.");a.element("div","class","^no-margin error","The smart button requested did not load. Please complete actions manually.");a.Fp&&a.element("div","class","^no-margin feedback-link",a.Qf);a.element("div","class","^no-margin detail",function(){""!==a.buttonTitle&&a.element("div","class","^no-margin",(new Hr("The button title is {buttonTitle}.")).format({buttonTitle:a.buttonTitle})); a.element("div","class","^no-margin",(new Hr("The content ID is {contentId}.")).format({contentId:a.contentId}));a.element("div","class","^no-margin",(new Hr("The help center name is {helpcenterName}.")).format({helpcenterName:a.helpcenterName}))})})}); Cw(this)}; function Cw(a){var b;null===(b=window.sc_trackStatsImpressions)||void 0===b?void 0:b.call(window,[{type:99,id:a.contentId+"_button_"+a.buttonTitle}],!0)} ;var Dw=new Map([[1,"good"],[2,"error"]]);function Ew(){A.call(this,"sc.smart_button.Icon");this.o=!1} y(Ew,A);function Fw(a,b,c,e){a.ha=b;a.state=c;a.o=void 0===e?!1:e} Ew.prototype.content=function(){var a=this;if(void 0!==this.ha&&void 0!==this.state&&void 0!==this.o&&0!==this.state){var b={"^no-margin":!0,icon:!0,state:!this.o,"heading-icon":this.o},c=Dw.get(this.state);Dw.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.ha)||void 0===f?void 0:f.render()})}};function Gw(a){A.call(this,"sc.smart_button.SendFeedbackLink");var b=this;this.buttonTitle=a;this.o=function(){Hw(b)}; this.ha=function(c){"key"in c&&(" "===c.key||"Enter"===c.key)&&Hw(b)}} y(Gw,A);Gw.prototype.content=function(){var a,b;this.anchor=this.element("a","href","#","class","^no-margin link","Send feedback");null===(a=this.anchor)||void 0===a?void 0:a.addEventListener("click",this.o);null===(b=this.anchor)||void 0===b?void 0:b.addEventListener("keydown",this.ha)}; Gw.prototype.dispose=function(){var a,b;null===(a=this.anchor)||void 0===a?void 0:a.removeEventListener("click",this.o);null===(b=this.anchor)||void 0===b?void 0:b.removeEventListener("keydown",this.ha)}; function Hw(a){var b=so();b.set("smart_button_title",a.buttonTitle);qo({payload:b,productId:Number(Qg().fbid)})} ;function Iw(a){return 2===(null===a||void 0===a?void 0:Pd(a,3))} function Jw(a){return 1===(null===a||void 0===a?void 0:Pd(a,3))} function Kw(a){a=null===a||void 0===a?void 0:ce(a,aw,1);if(void 0===a)return!1;a=u(a);for(var b=a.next();!b.done;b=a.next())if(Lw(b.value))return!0;return!1} function Mw(a){a=Nw(a);if(0===a.length)return!1;a=u(a);for(var b=a.next();!b.done;b=a.next())if(!Lw(b.value))return!1;return!0} function Nw(a){return void 0===a?[]:(null===a||void 0===a?void 0:ce(a,aw,1))||[]} function Lw(a){return void 0!==a&&Qd(a,1)&&0!==Pd(a,1)} function Ow(a){return void 0!==a&&Qd(a,1)&&1===Pd(a,1)} function Pw(a){return void 0!==a&&Qd(a,1)&&2===Pd(a,1)} function Qw(a){return a.filter(function(b){return Pw(b)})} ;function Rw(a,b){b=void 0===b?!1:b;A.call(this,"sc.smart_button.StateHeading");this.Qf=a;this.ah=b;this.na=[];this.headingState=0;this.icon=new Ew} y(Rw,A);Rw.prototype.content=function(){var a;!(Iw(this.o)||Jw(this.o)||(null===(a=this.o)||void 0===a?0:Pd(a,2))||Mw(this.o))||Sw(this)}; Rw.prototype.jd=function(a){this.o=a;this.na=Nw(this.o);if(Iw(this.o))this.headingState=2;else if(Jw(this.o))this.headingState=1;else if(0=nx} function ox(a){return mx(a)>=px} function qx(a,b,c,e,f,h,k){this.rank=a;this.ka=b;this.o=c;this.ma=e;this.ha=f;this.icon=h;this.label=void 0===k?"":k} function mx(a){switch(a){case 0:return rx;case 30:return sx;case 1:return tx;case 2:return nx;case 3:return ux;case 4:return vx;case 5:return wx;case 20:return px;case 10:return xx;case 100:return yx;default:return rx}} qx.prototype.valueOf=function(){return this.rank}; function zx(a){return qu().Ki?a.o:a.ka} qx.prototype.sg=function(){return this.icon}; qx.prototype.Cb=function(){return this.label}; var rx=new qx(0,"#F1F3F4","#F1F3F4"),sx=new qx(1,"#F1F3F4","#F1F3F4",void 0,void 0,2),tx=new qx(2,"#896E63","#896E63","#896E63","#B9ABA3",3,"Bronze Member"),nx=new qx(3,"#9E9E9E","#9E9E9E","#5F6368","#BDC1C6",4,"Silver Product Expert"),ux=new qx(4,"#FFB300","#F9AB00","#E37400","#F9AB00",5,"Gold Product Expert"),vx=new qx(5,"#77909D","#718792","#455A64","#AFBEC5",6,"Platinum Product Expert"),wx=new qx(6,"#79A8FA","#79A8FA","#1A73E8","#8AB4F8",7,"Diamond Product Expert"),px=new qx(7,"#4285F4","#669DF6", "#1A73E8","#8AB4F8",8,"Community Specialist"),xx=new qx(8,"#4285F4","#669DF6","#1A73E8","#8AB4F8",9,"Community Manager"),yx=new qx(9,"#4285F4","#669DF6","#1A73E8","#8AB4F8",9,"Google Employee");var Ax=ya(["aria-"]),Bx=ya(["role"]),Cx=ya(["data-stats-"]);function Dx(a){this.o=a||document} Dx.prototype.init=function(){for(var a=this,b=this.o.querySelectorAll(".zippy"),c={},e=0;e=a.length} p.hasEmail=function(){var a;return!(null===(a=this.privateInfo)||void 0===a||!Pd(a,1))}; function ky(a){if(1!==a.forumUserInfos.size)throw Error("Expected only one forum to be populated for a call to `getRole`.");return Pd(be(a.forumUserInfos.values().next().value,wt,1),3)} function ly(a){var b;return null!==(b=Pd(a.publicInfo,5))&&void 0!==b?b:""} function my(a){a=ly(a);return 0===a.length||500>=a.length} function ny(a){var b;return null!==(b=Pd(a.publicInfo,4))&&void 0!==b?b:""} function oy(a){a=ny(a);return 0===a.length||80>=a.length} function py(a){var b;return null!==(b=Pd(a.publicInfo,2))&&void 0!==b?b:""} function qy(a,b){return ue(a,function e(){var f,h=this,k;return mb(e,function(l){if(1==l.o){var n=new Qt;Vd(n,1,b.originalFilename);Vd(n,3,b.documentId);b.Ac&&Vd(n,2,b.Ac);b.deleted&&Vd(n,4,!0);f=n;return Ra(l,h.Za.updateGlobalUserInfo({userId:h.getId(),avatar:f}),2)}k=l.ha;n=Pd(be(k,Bt,2),2);Vd(h.publicInfo,2,n);Mk(h,1);Wa(l)})})} function ry(a){var b;return null!==(b=Pd(a.publicInfo,6))&&void 0!==b?b:""} function sy(a){a=ry(a);if(0===a.length)return!0;try{return"https:"===(new URL(a)).protocol}catch(b){return!1}} function ty(a){var b;return null!==(b=Pd(a.publicInfo,7))&&void 0!==b?b:""} function uy(a){a=ty(a);if(0===a.length)return!0;try{var b=new URL(a);return"https:"===b.protocol&&gy.includes(b.hostname)}catch(c){return!1}} function iy(a){return jy(a)&&oy(a)&&my(a)&&sy(a)&&uy(a)} p.delete=function(){return ue(this,function b(){var c=this;return mb(b,function(e){if(1==e.o)return Ra(e,yu(c.Za,c.getId()),2);c.userId=0;c.o=new Bt;c.publicInfo=new Bt;c.privateInfo=new Ft;c.profileAbuse=new Et;Wa(e)})})}; p.reportAbuse=function(){return ue(this,function b(){var c=this,e;return mb(b,function(f){e=c.forumUserInfos.keys().next().value;return Ra(f,zu(c.Za,c.getId(),e),0)})})}; p.Xm=function(){var a,b;return null!==(b=null===(a=this.privateInfo)||void 0===a?void 0:Yd(a,4,!0))&&void 0!==b?b:!1}; function vy(a){var b,c;return null!==(c=null===(b=a.profileAbuse)||void 0===b?void 0:Qd(b,1))&&void 0!==c?c:!1} ;function wy(a,b,c,e){e=void 0===e?{}:e;if(ru())a=e.messageId,e=void 0===e.relative?!0:e.relative,c="/s/community/forum/"+b+"/thread/"+c,a&&(c+="/message/"+a),c=xy(c),c=e?yy(c):c.toString();else{var f=e;b=void 0===f.av?!1:f.av;e=void 0===f.language?su():f.language;var h=f.messageId;f=void 0===f.relative?!0:f.relative;c=xy("/"+a+"/thread/"+c);c.searchParams.set("hl",e);b&&c.searchParams.set("notify","new");h&&c.searchParams.set("msgid",""+h);c=f?yy(c):c.toString()}return c} function xy(a){a=new URL(a,qu().Qq);var b=qu().authuser;b&&a.searchParams.set("authuser",b);return a} function yy(a){return a.href.replace(a.origin,"")} ;function zy(){var a=Qg();a={Qq:a.ehn,oB:a.hc,Tq:a.ehc,language:a.lang,authuser:a.au,Ki:a.dark,experimentIds:a.tw_smei,pB:"embed"===(new URLSearchParams(location.search)).get("format")};pu?console.error("Global settings should only be initialized once."):pu=Object.assign({},a)} ;var Ay=["image/gif","image/jpeg","image/png"];function By(a){var b=a.user;a=void 0===a.Yq?np:a.Yq;A.call(this,"sc.tailwind.shared.AvatarUpload");this.ma=!1;this.user=b;this.Yq=a;this.na=Xo.initialize();this.ua=new Rk({icon:"gm/mode_edit"})} y(By,A);By.prototype.content=function(){var a=this;this.element("div","class","root",function(){if(a.ma&&a.o){a.ta||(a.ta=new Yo({size:"mspin-medium"}));var b=sf(a.o);a.element("img","class","preview","title","Uploading avatar","src",qf(b));a.ta.render()}Cy(a)})}; function Cy(a){a.ma||a.element("div","class","upload-container",function(){a.Pi=a.element("button","class","edit-button","title","Upload avatar","onclick",function(){var b;null===(b=a.ha)||void 0===b?void 0:b.click()},function(){a.ua.render()}); a.ha=a.element("input","accept",Ay.join(", "),"class","native-input","type","file","onchange",function(){var b;if(b=a.ha){var c;b=!(null===(c=a.ha.files)||void 0===c||!c.length)}b&&(b=a.ha,b=b.files?b.files[0]:void 0,a.o=b,Dy(a,a.o))})})} function Dy(a,b){a.ma=!0;a.Ca();var c=new a.Yq(b);c.dj(function(){return void Ey(a,c)}).onError(function(){a.na.open({message:"Unable to upload file"}); Fy(a)}).oh("SupportContentForums","TailwindAvatar").start()} function Ey(a,b){return ue(a,function e(){var f=this,h;return mb(e,function(k){switch(k.o){case 1:return h=f.Wi(f.o,b),$a(k,2),Ra(k,qy(f.user,h),4);case 4:f.na.open({message:"Avatar uploaded successfully"});ab(k,3);break;case 2:cb(k),f.na.open({message:"Unable to upload file"});case 3:Fy(f),Wa(k)}})})} function Fy(a){var b;delete a.o;a.ma=!1;a.Ca();null===(b=a.Pi)||void 0===b?void 0:b.focus()} By.prototype.Wi=function(a,b){return{originalFilename:a.name,mimeType:a.type,Ac:b.o,documentId:b.Nh(),deleted:!1}};function Gy(a){var b=a.user,c=a.size,e=void 0===a.fh?!1:a.fh,f=void 0===a.td?!1:a.td;a=void 0===a.Qp?!1:a.Qp;A.call(this,"sc.tailwind.shared.Avatar");this.user=b;this.size=c;this.fh=e;this.Qp=a;if(this.o=f&&lx(Hy(this)))this.ha=new By({user:b,td:f}),Dk(this,this.user,1)} y(Gy,A);Gy.prototype.content=function(){var a=this,b=zx(mx(Hy(this))),c=lx(Hy(this)),e=ox(Hy(this)),f={};this.element("div","class",(f.root=!0,f[this.size]=!0,f["at-least-silver"]=c,f["at-least-specialist"]=e,f),"style",{"background-color":c?b:null,"border-color":c?b:null},function(){e&&Iy(a);switch(0===a.user.getId()?0:py(a.user)&&lx(Hy(a))?3:a.fh?2:1){case 3:Jy(a);break;case 0:vk(Ky);break;case 2:Ly(a);break;default:My(a)}a.o&&a.ha.render()})}; function Iy(a){a.element("div","class","specialist-border",function(){(new vp({icon:mx(Hy(a)).sg(),size:Ny(a.size)})).render()})} function My(a){var b=a.user.getName().charAt(0).toLocaleUpperCase();a.element("svg","class","monogram","xlmns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",function(){a.element("circle","cx","12","cy","12","r","12","fill",fy[a.user.getId()%fy.length]);a.element("text","fill","#fff","font-size","16","text-anchor","middle","x","12","y","18",b)})} function Jy(a){a.element("img","class","avatar","onload",function(){return void a.Ca()},"src",py(a.user)).complete||a.element("div","class","avatar avatar-loading",function(){(new Yo).render()})} function Ly(a){a.element("svg","class","silhouette","xlmns","http://www.w3.org/2000/svg","fill",fy[a.user.getId()%fy.length],"viewBox","2 2 20 20",function(){a.element("path","d","M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 3c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3zm0 14.2c-2.5 0-4.71-1.28-6-3.22.03-1.99 4-3.08 6-3.08 1.99 0 5.97 1.09 6 3.08-1.29 1.94-3.5 3.22-6 3.22z")})} function Hy(a){return a.Qp?ky(a.user):a.user.highestRole} function Ny(a){switch(a){case "large":return kp()?72:114;case "medium":return 40;case "small":return 24;default:return 0}} var Ky=$e('\n \n \n \n');function Oy(a){A.call(this,"sc.tailwind.shared.CategorySelect");this.model=a;Dk(this,this.model);a=Py(this.model);var b;var c=null!==(b=this.model.o)&&void 0!==b?b:0;this.select=new by({filled:!1,items:a,label:"Category",selectedIndex:c})} y(Oy,A);Oy.prototype.content=function(){var a=this;this.element("div","class","root",function(){a.select.render()})};function Qy(a){var b=a.categories,c=a.XC;Jk.call(this);this.categories=b;c&&(this.o=this.categories.findIndex(function(e){return e.id===c})+1,this.category=this.categories[this.o])} y(Qy,Jk);Qy.prototype.Qc=function(){return this.category}; Qy.prototype.ye=function(a){a!==this.category&&(this.category=a,Mk(this,0))}; function Py(a){return[{value:"Please select",trigger:function(){return void a.ye(void 0)}}].concat(Ba(a.categories.map(function(b){return{value:b.label, trigger:function(){return void a.ye(b)}}})))} ;function Ry(a){A.call(this,"sc.tailwind.shared.TitleField");var b=this;this.model=a;Dk(this,this.model);this.o=new $o({Ge:!0,label:"Tell us your question",placeholder:this.model.hint,Ne:!1,maxLength:this.model.od(),Pd:function(){b.model.nb(b.o.Ja())}})} y(Ry,A);Ry.prototype.content=function(){var a=this;this.o.nb(this.model.Ja());this.element("div","class","root",function(){a.o.render();Sy(a)})}; function Sy(a){a.element("div","class","helper-text",function(){var b=a.element;var c=a.o.Ja().length;c=c=a.model.od()?"Character limit is reached.":"";b.call(a,"div","class","limits-text",c);b=a.o.Ja().length;c=b+"/"+a.model.od();a.element("div","class","char-count","aria-label",c,"aria-live",b===a.model.od()?"assertive":void 0,c)})} ;function Ty(a){var b=void 0===a.text?"":a.text,c=void 0===a.hint?'Example: "How do I backup my photos?"':a.hint,e=void 0===a.minLength?10:a.minLength;a=void 0===a.maxLength?100:a.maxLength;Jk.call(this);this.text=b;this.hint=c;this.minLength=e;this.maxLength=a} y(Ty,Jk);Ty.prototype.od=function(){return this.maxLength}; Ty.prototype.nb=function(a){a=a.substring(0,this.maxLength);if(a!==this.text){var b=Uy(this);this.text=a;Mk(this,0);b!==Uy(this)&&Mk(this,1)}}; Ty.prototype.Ja=function(){return this.text.substring(0,this.maxLength)}; function Uy(a){var b=a.text.length;return b>=a.minLength&&b<=a.maxLength} ;function Vy(a){Jk.call(this);this.mb=this.text="";this.checked=this.disabled=!1;this.tabIndex=0;this.Ce(a)} y(Vy,Jk);Vy.prototype.Ce=function(a){var b=void 0===a.text?"":a.text,c=void 0===a.mb?"":a.mb,e=void 0===a.disabled?!1:a.disabled,f=void 0===a.tabIndex?0:a.tabIndex,h=a.content,k=a.He;this.checked=void 0===a.checked?!1:a.checked;this.text=b;this.mb=c;this.disabled=e;this.tabIndex=f;this.content=h;this.He=k}; Vy.prototype.Ja=function(){return this.text}; Vy.prototype.se=function(){return this.content}; Vy.prototype.Ti=function(){return this.mb};function Wy(a){a=void 0===a?{}:a;A.call(this,"sc.shared.MaterialCheckbox");this.model=a instanceof Vy?a:new Vy(a);this.overlay=new bl({Ll:!0});this.o=null;Dk(this,this.model)} y(Wy,A);Wy.prototype.content=function(a){var b=this;a&&this.model.Ce(a);this.element("label","class",{root:!0,disabled:this.model.disabled},function(){b.element("div","class","checkbox",function(){b.o=b.element("input","class","native-control","type","checkbox","aria-label",b.model.Ti(),"tabindex",b.model.tabIndex,"disabled",b.model.disabled,"onchange",function(){b.Fa()}); b.o.checked=!0===b.model.checked;b.o.indeterminate=null===b.model.checked;b.element("div","class","box",function(){b.element("svg","class","checkmark","viewBox","0 0 24 24",function(){b.element("path","class","checkmark-path","d","M1.73,12.91 8.1,19.28 22.79,4.59")}); b.element("div","class","mixedmark")}); b.overlay.render()}); var c=b.model.Ja(),e=b.model.se();c?nk(c):e&&e()})}; Wy.prototype.Fa=function(){if(this.o){var a=this.model,b=this.o.checked,c;a.checked!==b&&(a.checked=b,null===(c=a.He)||void 0===c?void 0:c.call(a,b),Mk(a,0))}};function Xy(a){z.call(this,a,-1,Yy)} y(Xy,z);Xy.prototype.lb=function(){return Pd(this,1)}; Xy.prototype.uc=function(a){return Vd(this,1,a)}; Xy.prototype.bc=function(){return Pd(this,2)}; Xy.prototype.be=function(a){return Vd(this,2,a)}; var Yy=[3];var Zy=new Map([[3,2],[2,1],[6,8],[8,4],[4,3],[5,11],[7,9]]);function $y(){Jk.apply(this,arguments);this.dependencies=[]} y($y,Jk);$y.prototype.Xd=function(){return 1===this.getState()}; $y.prototype.isPending=function(){return 0===this.getState()}; $y.prototype.Wh=ma(13);$y.prototype.sf=ma(14);var az=ya(["https://www.google.com/recaptcha/api.js?trustedtypes=true&render=explicit&onload=",""]);function bz(a,b){this.clientId=0;this.load(a,void 0===b?function(){}:b)} bz.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");qg(e,Te(az,"sc_renderRecaptcha"));document.head.appendChild(e)}; bz.prototype.getResponse=function(){return ue(this,function b(){var c,e=this,f;return mb(b,function(h){switch(h.o){case 1:if(!window.grecaptcha)return h.return("");c=window.grecaptcha;$a(h,2);return Ra(h,new Promise(function(k){c.ready(k)}),4); case 4:return Ra(h,c.execute(e.clientId,{action:"submit"}),5);case 5:return f=h.ha,h.return(f||"");case 2:return cb(h),h.return("")}})})};function cz(){$y.apply(this,arguments);this.state=0;this.Wd=""} y(cz,$y);cz.prototype.getState=function(){return this.state}; cz.prototype.Cc=function(){var a,b,c,e,f,h,k=null!==(b=null===(a=this.o)||void 0===a?void 0:a.filter(function(l){var n;return null===(n=l.ha)||void 0===n?void 0:n.ha()}).map(function(l){return l.Ff()}).filter(this.ha))&&void 0!==b?b:[]; k=k.concat(null!==(e=null===(c=this.o)||void 0===c?void 0:c.filter(function(l){var n;return null===(n=l.ha)||void 0===n?void 0:n.ua()}).map(function(l){return l.Ff()}).filter(this.ha))&&void 0!==e?e:[]); return k.concat(null!==(h=null===(f=this.o)||void 0===f?void 0:f.filter(function(l){var n;return null===(n=l.ha)||void 0===n?void 0:n.va()}).map(function(l){return l.Ff()}).filter(this.ha))&&void 0!==h?h:[])}; cz.prototype.ha=function(a){return!!a.getId()&&a.Db()}; cz.prototype.Nd=ma(16);var dz=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 ez(a){var b;return null!==(b=dz.get(a.type))&&void 0!==b?b:"gm/drive_document"} function fz(a,b){var c=ez(a);return"CT_WORKFLOW"===a.type?new vp({icon:0}):new Rk({icon:c,size:b})} ;function gz(a,b,c){var e;a=u(a.querySelectorAll("a"));for(var f=a.next();!f.done;f=a.next())if(f=f.value,f.hasAttribute("target")||b){var h=null!==(e=f.getAttribute("aria-label"))&&void 0!==e?e:"";h.includes(c)||f.setAttribute("aria-label",h+(" ("+c+")"));f.getAttribute("target")||f.setAttribute("target","_blank")}} ;var hz;Mb("hcfe.Stats.getInstance",function(){return hz});function iz(a,b,c,e,f,h,k){A.call(this,"SmartJourney.Onebox");this.La=a;this.oneboxResult=b;this.openInNewWindow=c;this.o=e;this.na=f;this.ma=h;this.wb=k;this.ha=new Rk({icon:"gm/open_in_new"})} y(iz,A);iz.prototype.content=function(){var a=this;this.element("div","class",{result:!0,separator:this.ma},function(){var b=a.oneboxResult,c;null===(c=hz)||void 0===c?void 0:c.cn([{type:a.o}]);"CT_SNIPPET"!==b.type&&jz(a);kz(a);lz(a);if("CT_SNIPPET"!==b.type)switch(a.oneboxResult.type){case "CT_WORKFLOW":mz(a,a.La.get("Onebox.GET_STARTED"));break;default:mz(a,a.La.get("Onebox.READ_MORE"))}})}; function jz(a){a.element("div","class","content-header",function(){var b=ez(a.oneboxResult),c=fz(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.La.get("Onebox.HELP_ARTICLE");switch(a.oneboxResult.type){case "CT_WORKFLOW":b=a.La.get("Onebox.TROUBLESHOOTER")}a.element("span","class","content-label",b)})} function kz(a){var b=a.oneboxResult.title;a.openInNewWindow&&(b+=" ("+a.La.get("Onebox.OPENS_IN_A_NEW_WINDOW")+")");a.element("a","class","title","href",a.oneboxResult.url,"target","_blank","data-stats-ve",a.o,"data-stats-action",8,"aria-label",b,"onclick",a.wb,function(){var c;a.element("span",ct(null!==(c=a.oneboxResult.title)&&void 0!==c?c:""))})} function lz(a){var b=a.element("div","class","snippet",function(){var c;vk(ct(null!==(c=a.oneboxResult.snippet)&&void 0!==c?c:""))}); gz(b,a.openInNewWindow,a.La.get("Onebox.OPENS_IN_A_NEW_WINDOW"))} function mz(a,b){var c=b;a.openInNewWindow&&(c+=" ("+a.La.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.na,"data-stats-action",8,"aria-label",c,"onclick",a.wb,function(){a.element("span",b);a.openInNewWindow&&a.ha.render()})} ;function nz(a,b){return ue(this,function e(){var f;return mb(e,function(h){if(1==h.o)return Ra(h,b.post({endpoint:"classifications",json:!0,queryParams:{v:"1"},request:oz(a)}),2);f=h.ha;var k=h.return;var l;if("get_categories"in f)var n={categories:null!==(l=f.get_categories.category)&&void 0!==l?l:[],predictionId:f.get_categories.prediction_id,highConfidenceTopK:f.get_categories.high_confidence_top_k};else throw Error("Unsupported classifications response");return k.call(h,n)})})} function oz(a){switch(a.method){case "get_categories":return{resource:{get_categories:{description:a.issueDescription,frd_value:a.nd.map(function(b){return b.ha()})}}}; default:throw Error("Unsupported classifications method");}} ;function pz(a,b){return ue(this,function e(){return mb(e,function(f){return f.return(b.get({endpoint:"search",json:!0,queryParams:{query:a.query,max_results:JSON.stringify(a.maxResults),origin_page_type:JSON.stringify(33),search_session_id:a.searchSessionId,symptom:a.symptom,user_context:a.userContext,v:"1"}}))})})} ;function qz(a){Jk.call(this);this.strings=a} y(qz,Jk);qz.prototype.get=function(a){var b;return null!==(b=this.strings[a])&&void 0!==b?b:""}; qz.prototype.set=function(a){this.strings=Object.assign(Object.assign({},this.strings),a);Mk(this)};function rz(a){z.call(this,a)} y(rz,z);function sz(a){z.call(this,a)} y(sz,z);function tz(a){z.call(this,a,-1,uz)} y(tz,z);var uz=[1];function vz(a){z.call(this,a)} y(vz,z);vz.prototype.getQuery=function(){return Pd(this,1)};function wz(a){z.call(this,a,-1,xz)} y(wz,z);var xz=[1];function yz(a){var b=a.items,c=a.Tc,e=void 0===a.nh?void 0:a.nh,f=void 0===a.vc?1:a.vc,h=void 0===a.wc?4:a.wc;a=a.hb;A.call(this,"hcfe.SearchSelect.Menu");var k=this;this.na=this.ha=!1;this.nh=e;this.items=b;this.Tc=c;this.Pm=-Infinity;this.Om=Infinity;this.ma=new Fo({content:function(){zz(k)}, Gg:4,vc:f,wc:h,Di:!0,hb:a})} y(yz,A);p=yz.prototype;p.content=function(){this.ma.render()}; function zz(a){a.element("div","class",{root:!0,"root-loading":a.ha},function(){a.na&&a.element("div","class","search-container",function(){a.element("div","class","input-container",function(){a.ta=a.element("input","class","search-field","placeholder",a.Tc.gw,"oninput",function(){var b;null===(b=a.nh)||void 0===b?void 0:b.call(a)},"disabled",a.ha)}); a.element("div","class","icon","onclick",function(){var b;null===(b=a.ta)||void 0===b?void 0:b.focus()},function(){var b; null!==(b=a.ua)&&void 0!==b?b:a.ua=new Rk({icon:"gm/search"});a.ua.render()})}); a.element("div","class","scroll-container","style",{minHeight:-Infinitya.Om?a.Om+"px":null},function(){a.ha&&a.element("div","class","loading-spinner",function(){(new Yo({size:"mspin-small"})).render()}); if(0a&&Infinity!==a&&(a=h);this.Pm=h;this.Om=a;this.Ca();this.ma.open({anchor:b,Id:c,vd:e,Kb:f})}; p.close=function(){this.ma.close()}; function Ez(a){return!!a.Zh&&Array.isArray(a.items)&&0b.length){f=[{state:5}];a.Aa.set("",f);n.Va(4);break}a.o.Ye(!0);a.o.open({Kb:!0});$a(n,5);return Ra(n,a.Ob(b.trim()),7);case 7:f=n.ha;0===f.length&&(f=[{state:4}]);a.o.Ye(!1);ab(n,4);break;case 5:h=cb(n),f=[{state:3}],a.o.Ye(!1),a.o.open({Kb:!0}), jA(h);case 4:return a.Aa.set("",f),k=a.o,l=k.Jg,Ra(n,Yz(a,!0),8);case 8:l.call(k,n.ha),a.o.Ca(),a.o.open({Kb:!0}),Wa(n)}})} function dA(a,b){return function(){a.ta=b;a.o.close();a.va&&a.va()}} Sz.prototype.getValues=function(){for(var a=[],b=u(this.ha.keys()),c=b.next();!c.done;c=b.next()){(c=c.value)&&!a.includes(c)&&a.push(c);c=u(this.ha.get(c));for(var e=c.next();!e.done;e=c.next())(e=e.value.Jc)&&!a.includes(e)&&a.push(e)}return a}; function $z(a,b){var c,e;return ob(function(f){if(1==f.o)return $a(f,2),Ra(f,a.ub(b),4);if(2!=f.o){c=f.ha;if(!c||0==c.length)return kA(a,b,Error("No results")),f.return();a.ha.set(b,c);return ab(f,0)}e=cb(f);kA(a,b,e);Wa(f)})} function kA(a,b,c){a.ha.set(b,[{state:2}]);a.Ra&&a.ua&&(a.ua=!1,a.Ra(c),Vz(a));jA(c)} function Vz(a){a.na=new $o({placeholder:"Google Ads Customer ID",Xb:!0,Pd:function(){a.ma=a.na.Ja().replace(Pz,"");a.$b()}, yd:a.$a})} function jA(a){a=new CustomEvent("cid_selector_fetch_error",{detail:a});ok().dispatchEvent(a)} function Tz(a){a.Aa.clear();a.Aa.set("",[Zz()])} function Zz(){return{value:"",trigger:function(){}, items:[],state:0}} ;function lA(a,b){this.ua=a;this.ya=b;this.ma="https://play.google.com/log?format=json&hasfast=true";this.oa=!1;this.va=xq;this.o=""} function mA(a){var b=new nq(a.ua,a.na?a.na:Mp,a.ya,a.va,a.ma,a.oa,!1,void 0,void 0,void 0,a.wa?a.wa:void 0);if(a.Aa){var c=a.Aa;Pd(c,1)||Vd(c,1,1);de(b.oa,1,c)}if(a.ha){c=a.ha;var e=be(b.oa,dq,1),f=be(e,bq,11);f||(f=new bq);Vd(f,7,c);de(e,11,f);Pd(e,1)||Vd(e,1,1);de(b.oa,1,e)}a.ta&&(b.wa=a.ta);a.o&&(b.Ba=a.o);a.ka&&qq(b,a.ka);a.Da&&(c=a.Da,b.ka||(b.ka=new yp),$d(b.ka,2,c));a.Ba&&(a=a.Ba,b.$a=!0,sq(b,a));return b} ;
Search Help Center
true
100334
");return null==a||null==a.sheet?sg:Bm(a.sheet,void 0!=b?b:null,c)} function Fm(a){if(af&&!nf(10)||"function"!=typeof hd.DOMParser)return null;a=zg(""+a+"",null);return(new DOMParser).parseFromString(vg(a),"text/html").body.children[0]} function Dm(a,b){if(!a)return gg;var c=document.createElement("div").style;Gm(a).forEach(function(e){var f=df&&e in Am?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=wm(a,e),e=Wl(f,e,b),null!=e&&xm(c,f,e))});return new cg(c.cssText||"",bg)} function Hm(a){var b=Array.from(om(dm,a,"getElementsByTagName",["STYLE"])),c=Ae(b,function(f){return ke(sm(f).cssRules)});c=Cm(c);c.sort(function(f,l){f=Pl(f.selectorText);a:{l=Pl(l.selectorText);for(var p=pe,r=Math.min(f.length,l.length),t=0;t"+a+""),Hm(a),a=a.innerHTML);a=zg(a,null);var c=document.createElement("template");if(Nm&&"content"in c)Ug(c,a),c=c.content;else{var e=document.implementation.createHTMLDocument("x");c=e.body;Ug(e.body,a)}a=document.createTreeWalker(c,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT,null,!1);for(c=Jm?new WeakMap:new Lm;e=a.nextNode();){a:{var f=e;switch(um(f)){case 3:f= Pm(this,f);break a;case 1:if("TEMPLATE"==tm(f).toUpperCase())f=null;else{var l=tm(f).toUpperCase();if(l in this.ha||"http://www.w3.org/1999/xhtml"!=ym(f))var p=null;else this.N[l]?p=document.createElement(l):(p=Zi(document,"SPAN"),this.na&&qm(p,"data-sanitizer-original-tag",l.toLowerCase()));if(p){var r=p,t=pm(f);if(null!=t)for(var y=0;l=t[y];y++)if(l.specified){var E=f;var ma=l;var na=ma.name;if(0==na.lastIndexOf("data-sanitizer-",0))ma=null;else{var ta=tm(E);ma=ma.value;var ua={tagName:Ed(ta).toLowerCase(),attributeName:Ed(na).toLowerCase()},sa={ih:void 0};"style"==ua.attributeName&&(sa.ih=rm(E));E=Qm(ta,na);E in this.v?(na=this.v[E],ma=na(ma,ua,sa)):(na=Qm(null,na),na in this.v?(na=this.v[na],ma=na(ma,ua,sa)):ma=null)}null!==ma&&qm(r,l.name,ma)}f=p}else f=null}break a;default:f=null}}if(f){if(1==um(f)&&c.set(e,f),e=vm(e),l=!1,e)p=um(e),r=tm(e).toLowerCase(),t=vm(e),11!=p||t?"body"==r&&t&&(p=vm(t))&&!vm(p)&&(l=!0):l=!0,p=null,l||!e?p=b:1==um(e)&&(p=c.get(e)),p.content&&(p=p.content),p.appendChild(f)}else aj(e)}c.clear&& c.clear();return b};var Rm={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 Sm={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 Tm={"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 Um(a){a=a||new Vm;Wm(a);this.v=Ne(a.v);this.ha=Ne(a.Da);this.N=Ne(a.Ia);this.na=a.va;a.ha.forEach(function(b){if(0!=b.lastIndexOf("data-",0))throw new Bd('Only "data-" attributes allowed, got: %s.',[b]);if(0==b.lastIndexOf("data-sanitizer-",0))throw new Bd('Attributes with "%s" prefix are not allowed, got: %s.',["data-sanitizer-",b]);this.v["* "+b.toUpperCase()]=Xm},this);a.Ka.forEach(function(b){b=b.toUpperCase();if(-1==b.indexOf("-")||Tm[b])throw new Bd("Only valid custom element tag names allowed, got: %s.",[b]);this.N[b]=!0},this);this.ka=a.O;this.$=a.ya;this.O=null;this.ma=a.na} vd(Um,Om);function Ym(a){return function(b,c){b=Ed(b);return(c=a(b,c))&&"about:invalid#zClosurez"!=Tf(c)?Tf(c):null}} function Vm(){this.v={};Td([Ml,Nl],function(a){Ke(a).forEach(function(b){this.v[b]=Xm},this)},this);this.N={};this.ha=[];this.Ka=[];this.Da=Ne(Rm);this.Ia=Ne(Sm);this.va=!1;this.La=$f;this.ka=this.$=this.Oa=this.O=Rg;this.ya=null;this.ma=this.na=!1} function Zm(a,b){return function(c,e,f,l){c=a(c,e,f,l);return null==c?null:b(c,e,f,l)}} function $m(a,b,c,e){a[c]&&!b[c]&&(a[c]=Zm(a[c],e))} function Wm(a){if(a.ma)throw Error("HtmlSanitizer.Builder.build() can only be used once.");$m(a.v,a.N,"* USEMAP",an);var b=Ym(a.La);["* ACTION","* CITE","* HREF"].forEach(function(e){$m(this.v,this.N,e,b)},a);var c=Ym(a.O);["* LONGDESC","* SRC","LINK HREF"].forEach(function(e){$m(this.v,this.N,e,c)},a);["* FOR","* HEADERS","* NAME"].forEach(function(e){$m(this.v,this.N,e,rd(bn,this.Oa))},a);$m(a.v,a.N,"A TARGET",rd(cn,["_blank","_self"]));$m(a.v,a.N,"* CLASS",rd(dn,a.$));$m(a.v,a.N,"* ID",rd(en,a.$));$m(a.v,a.N,"* STYLE",rd(a.ka,c));a.ma=!0} function Qm(a,b){a||(a="*");return(a+" "+b).toUpperCase()} function Xm(a){return Ed(a)} function cn(a,b){b=Ed(b);return 0<=Sd(a,b.toLowerCase())?b:null} function an(a){return(a=Ed(a))&&"#"==a.charAt(0)?a:null} function bn(a,b,c){b=Ed(b);return a(b,c)} function dn(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=on(a);b&&(a=a.querySelector(b).parentNode);return a} function nn(a,b){for(var c=[a],e=null;e=c.pop();)Array.prototype.forEach.call(e.childNodes,function(f){f.nodeType===Node.TEXT_NODE?pn(e,f,b):f.childNodes.length&&c.push(f)})} function pn(a,b,c){if(b.textContent.match(qn)){var e=b.nextSibling;a.removeChild(b);b=b.textContent;for(var f=null,l=[];f=qn.exec(b);){0e&&(a=f+".autoNamespace"+this.$++);if(b){c&&(b=qd(b,c));var l=this.N[f];l||(l=[],this.N[f]=l);be(l,this.v[a]);this.v[a]=b;l.push(b);this.O.hasOwnProperty(f)}else if(f.length)b=this.v[a],be(this.N[f]||[],b),delete this.v[a];else if(1a.Ba?Math.floor(b*a.Ba):a.Ba,Ta:0a.Ta?Math.floor(b*a.Ta):a.Ta};a.Ta=Math.max(a.Ba,a.Ta);return a} function co(a,b,c,e,f,l){var p=b.width-a.ha-a.ma;a.na=jo(p,b.width,b.height,io(c,b.height),ho(a,[1,2]));a.ka=jo(p,b.width,b.height,io(f,b.height),ho(a,[3,4]));c=b.height-a.na-a.ka;f=ho(a,[3,4,1,2]);var r=0;for(p=0;pp){a=Zo(f);for(e=b=0;ep-b-y.Ba.height&&y.yc&&(y.bc.height=0),b+=y.bc.height;return Yh(b,l,c)}if(rl){a=Zo(e);for(c=e=0;cl-e-t.Ba.width&&t.yc&&(t.bc.width=0),e+=t.bc.width;return Yh(e,f,b)}if(pa,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.Rc.If?b.Rc.If:20;c=void 0!==c.Rc.If?c.Rc.If:20;return b-c})} ao.prototype.setMargins=ao.prototype.Vc;ao.prototype.setMarginEnd=ao.prototype.uk;ao.prototype.setMarginStart=ao.prototype.xk;ao.prototype.setMarginLeft=ao.prototype.vk;ao.prototype.setMarginBottom=ao.prototype.tk;ao.prototype.setMarginRight=ao.prototype.wk;ao.prototype.setMarginTop=ao.prototype.yk;ud("aplos.chart.layout.DynamicLayout",ao);var $o={nq:"WARNING",ERROR:"ERROR"};ud("aplos.util.MessageSeverity",$o);$o.WARNING="WARNING";$o.ERROR="ERROR";var ap={kq:"UNTIL_REMOVED",jq:"UNTIL_DATA",Ip:"ONCE"};ud("aplos.util.MessageDuration",ap);ap.UNTIL_REMOVED="UNTIL_REMOVED";ap.UNTIL_FRESH_DATA="UNTIL_DATA";ap.ONCE="ONCE";function bp(a){this.v=a} bp.prototype.render=function(a){var b=a.filter(function(c){return"ERROR"===c.severity});b.length&&cp(this,b);b.length||(b=dp(this.v.Sa,ep),b.empty()||(b.style("display","none"),b.selectAll("div."+fp).remove(),this.v.ab.style("display","")));a=a.filter(function(c){return"WARNING"===c.severity});gp(this,a)};function cp(a,b){var c=ep,e=hp,f=a.v,l=f.Sa;f.ab.style("display","none");a=dp(l,c);a.empty()&&(a=l.append("div").classed(c,!0),a.append("div").classed(ip,!0),a.append("div").classed(jp,!0));a.style("display",null);a.select("."+jp).attr("class",jp+" "+e);b=a.select("."+ip).selectAll("div."+fp).data(b);b.exit().remove();b=b.enter().append("div").merge(b);b.text(function(p){return p.message});b.attr("class",function(p){return fp+" "+kp+p.severity.toLowerCase()});a.style("position","absolute");b=(f.frameWidth()-a.node().offsetWidth)/2;f=(f.frameHeight()-a.node().offsetHeight)/2;b=Math.max(0,b);f=Math.max(0,f);a.style("left",b+"px");a.style("top",f+"px")} function gp(a,b){var c=a.v.Sa.select("."+lp);c.empty()&&(c=a.v.Sa.append("div").classed(lp,!0));c.style("display",b.length?"":"none");c.classed(mp,!0);var e="";b.forEach(function(f){e+=f.message+"\n"});c.attr("title",e.trim())} function dp(a,b){b=a.selectAll("."+b).nodes();for(var c=null,e=0;e>>0);function Gp(a){if("function"===typeof a)return a;a[Op]||(a[Op]=function(b){return a.handleEvent(b)});return a[Op]} ;function Pp(){this.port=this.v=null;this.N=[]} Pp.prototype.load=function(){var a=this,b=Qp();this.v=Rp(b);Sp().then(function(){document.body.appendChild(a.v)});return Tp(this.v,b).then(function(c){for(a.port=c.ports[0];0e?c:c==e?c:e)});return c} ud("aplos.data.aggregations.max",dq);function aq(a,b){var c=0;b=b||Sg;a.forEach(function(e,f){e=b(e,f);null!=e&&("number"!==typeof e||!isNaN(e)&&isFinite(e))&&c++});return c} ud("aplos.data.aggregations.count",aq);function eq(a,b){var c=new Set;b=b||Sg;a.forEach(function(e,f){e=b(e,f);null!=e&&("number"!==typeof e||!isNaN(e)&&isFinite(e))&&c.add(e)});return c.size} ud("aplos.data.aggregations.countDistinct",eq);function fq(a,b,c,e){if(2>a||!Yp(a))throw Error("Number of quantiles must be an integer greater or equal to 2, but "+a+" was provided.");if(0>b||b>a||!Yp(b))throw Error("Requested quantile must be an integer from 0 to the number of quanties, "+a+", but "+b+" was requested.");return gq(b/a,c,e)} ud("aplos.data.aggregations.quantiles",fq);function gq(a,b,c){if(0>a||1c.length)var e=null;else{if(!c||2>c.length)e=null;else if(e=[],b){var f=ue(c,b),l=Je(f);if(2>l.length)e=null;else for(f=xe(l),c=0;cb?Date.UTC(b,3,7,10):Date.UTC(b,2,14,10);c-=864E5*(new Date(c)).getUTCDay();b=2007>b?Date.UTC(b,9,31,9):Date.UTC(b,10,7,9);b-=864E5*(new Date(b)).getUTCDay();return a>=c&&ae?(a=a.Gc(c+1)-e,(c*a+b-e)/a):ba&&b.setFullYear(b.getFullYear()-1900);return b} w=yq.prototype;w.Ge=sq.Qk;w.He=sq.Rk;w.clone=function(){var a=new yq(this.date);a.Ge=this.Ge;a.He=this.He;return a};w.getFullYear=function(){return this.date.getFullYear()};w.getYear=function(){return this.getFullYear()};w.getMonth=function(){return this.date.getMonth()};w.getDate=function(){return this.date.getDate()};w.getTime=function(){return this.date.getTime()};w.getDay=function(){return this.date.getDay()};w.getUTCFullYear=function(){return this.date.getUTCFullYear()};w.getUTCMonth=function(){return this.date.getUTCMonth()};w.getUTCDate=function(){return this.date.getUTCDate()};w.getUTCDay=function(){return this.date.getDay()};w.getUTCHours=function(){return this.date.getUTCHours()};w.getUTCMinutes=function(){return this.date.getUTCMinutes()};w.getTimezoneOffset=function(){return this.date.getTimezoneOffset()};w.set=function(a){this.date=new Date(a.getFullYear(),a.getMonth(),a.getDate())};w.setFullYear=function(a){this.date.setFullYear(a)};w.setYear=function(a){this.setFullYear(a)};w.setMonth=function(a){this.date.setMonth(a)};w.setDate=function(a){this.date.setDate(a)};w.setTime=function(a){this.date.setTime(a)};w.setUTCFullYear=function(a){this.date.setUTCFullYear(a)};w.setUTCMonth=function(a){this.date.setUTCMonth(a)};w.setUTCDate=function(a){this.date.setUTCDate(a)};w.add=function(a){if(a.N||a.months){var b=this.getMonth()+a.months+12*a.N,c=this.getYear()+Math.floor(b/12);b%=12;0>b&&(b+=12);var e=Math.min(uq(c,b),this.getDate());this.setDate(1);this.setFullYear(c);this.setMonth(b);this.setDate(e)}a.days&&(c=this.getYear(),b=0<=c&&99>=c?-1900:0,a=new Date((new Date(c,this.getMonth(),this.getDate(),12)).getTime()+864E5*a.days),this.setDate(1),this.setFullYear(a.getFullYear()+b),this.setMonth(a.getMonth()),this.setDate(a.getDate()),Aq(this,a.getDate()))};w.Zf=function(a){return[this.getFullYear(),Gh(this.getMonth()+1),Gh(this.getDate())].join(a?"-":"")+""};w.toString=function(){return this.Zf()};function Aq(a,b){a.getDate()!=b&&a.date.setUTCHours(a.date.getUTCHours()+(a.getDate()=c.qg?a-=c.Kg-c.Ib:a<=c.uf&&(a-=c.Kf-c.Ib);return a} function Hq(a,b){b=b||"UTC";try{return Dq(a,"%Y-%m-%d %H:%M:%S",b)}catch(c){}try{return Dq(a,"%Y-%m-%d",b)}catch(c){}throw Error(a+" not of the form Y-M-D or Y-M-D H-M-S");} function Iq(a,b,c){c=c||"UTC";var e=Jq(b);Kq(a);Eq(c,"Invalid timezone specified");if("local"===c)return Lq(a,e);var f=Math.floor(a/1E3);b=Mq(f,c);switch(e){case "YEAR":return a=new Date(f+b),a=Date.UTC(a.getUTCFullYear(),0,1),c=Mq(a,c),1E3*(a-c);case "QUARTER":return a=new Date(f+b),a=Date.UTC(a.getUTCFullYear(),3*Math.floor(a.getUTCMonth()/3),1),c=Mq(a,c),1E3*(a-c);case "MONTH":return a=new Date(f+b),a=Date.UTC(a.getUTCFullYear(),a.getUTCMonth(),1),c=Mq(a,c),1E3*(a-c);case "WEEK":return a=new Cq,a.setTime(f+b),b=new vq,b.days=-1*a.getUTCDay(),a.add(b),a=Date.UTC(a.getUTCFullYear(),a.getUTCMonth(),a.getUTCDate()),c=Mq(a,c),1E3*(a-c);case "DAY":return a=new Date(f+b),a=Date.UTC(a.getUTCFullYear(),a.getUTCMonth(),a.getUTCDate()),c=Mq(a,c),1E3*(a-c);case "HOUR":return a=f+b,1E3*Nq(a-a%36E5-b,c);case "MINUTE":return a=f+b,1E3*Nq(a-a%6E4-b,c);case "SECOND":return 1E3*Nq(1E3*Math.floor(f/1E3),c);case "MILLISECOND":return 1E3*Nq(Math.floor(f),c);case "MICROSECOND":return 1E3*Nq(Math.floor(a)/1E3,c);default:throw Error("Unknown or unsupported date component for truncation:"+e+".");}} function Oq(a,b,c,e){e=void 0===e?"UTC":e;if("local"===e){e=a;switch(b){case "YEAR":case "QUARTER":case "MONTH":"YEAR"===b?c*=12:"QUARTER"===b&&(c*=3);e=new Date(e/1E3);b=e.getFullYear();for(c=e.getMonth()+c;11c[a])f=a+2;else break;if(l=c.length|| 0>l)return{Ib:b,uf:null,qg:null,jh:null,Kf:null,Kg:null};a=l;break}}e=b+6E7*c[a+1];f=b+6E7*c[a-1];return{Ib:e,uf:36E8*c[a],qg:36E8*c[a+2],jh:e-f,Kf:f,Kg:b+6E7*c[a+3]}} function Mq(a,b){return Gq(1E3*a,b).Ib/1E3} function Nq(a,b){var c=1E3*a;b=Gq(c,b);var e=b.Kf-b.Ib;return a-(0>=e||c-e>b.uf?0:e)/1E3} function Tq(a,b){if(!isFinite(b)||b!==parseInt(b,10))throw Error("value in "+a+" is not a finite integer.");} function Eq(a,b){if("string"!==typeof a)throw Error(b);} function Kq(a){if("number"!==typeof a)throw Error("Invalid timestamp");} for(var Qq=/^(\+|-)(\d\d?)(?::(\d\d?))?$/,Rq={"ETC/GMT+12":-432E5,"ETC/GMT+11":-396E5,"PACIFIC/MIDWAY":-396E5,"PACIFIC/NIUE":-396E5,"PACIFIC/PAGO_PAGO":-396E5,"PACIFIC/SAMOA":-396E5,"US/SAMOA":-396E5,"ETC/GMT+10":-36E6,HST:-36E6,"PACIFIC/HONOLULU":-36E6,"PACIFIC/JOHNSTON":-36E6,"PACIFIC/TAHITI":-36E6,"SYSTEMV/HST10":-36E6,"US/HAWAII":-36E6,"PACIFIC/MARQUESAS":-342E5,"ETC/GMT+9":-324E5,"PACIFIC/GAMBIER":-324E5,"SYSTEMV/YST9":-324E5,"ETC/GMT+8":-288E5,"PACIFIC/PITCAIRN":-288E5,"SYSTEMV/PST8":-288E5,"AMERICA/CRESTON":-252E5,"AMERICA/PHOENIX":-252E5,"ETC/GMT+7":-252E5,MST:-252E5,PNT:-252E5,"SYSTEMV/MST7":-252E5,"US/ARIZONA":-252E5,"AMERICA/REGINA":-216E5,"AMERICA/SWIFT_CURRENT":-216E5,"CANADA/EAST-SASKATCHEWAN":-216E5,"CANADA/SASKATCHEWAN":-216E5,"ETC/GMT+6":-216E5,"SYSTEMV/CST6":-216E5,"AMERICA/ATIKOKAN":-18E6,"AMERICA/CAYMAN":-18E6,"AMERICA/CORAL_HARBOUR":-18E6,"AMERICA/PANAMA":-18E6,EST:-18E6,"ETC/GMT+5":-18E6,"SYSTEMV/EST5":-18E6,"AMERICA/ANGUILLA":-144E5,"AMERICA/ANTIGUA":-144E5,"AMERICA/ARUBA":-144E5,"AMERICA/BLANC-SABLON":-144E5,"AMERICA/CARACAS":-144E5,"AMERICA/CURACAO":-144E5,"AMERICA/DOMINICA":-144E5,"AMERICA/GRENADA":-144E5,"AMERICA/GUADELOUPE":-144E5,"AMERICA/GUYANA":-144E5,"AMERICA/KRALENDIJK":-144E5,"AMERICA/LA_PAZ":-144E5,"AMERICA/LOWER_PRINCES":-144E5,"AMERICA/MARIGOT":-144E5,"AMERICA/MONTSERRAT":-144E5,"AMERICA/PORT_OF_SPAIN":-144E5,"AMERICA/PUERTO_RICO":-144E5,"AMERICA/ST_BARTHELEMY":-144E5,"AMERICA/ST_KITTS":-144E5,"AMERICA/ST_LUCIA":-144E5,"AMERICA/ST_THOMAS":-144E5,"AMERICA/ST_VINCENT":-144E5,"AMERICA/TORTOLA":-144E5,"AMERICA/VIRGIN":-144E5,"ETC/GMT+4":-144E5,PRT:-144E5,"SYSTEMV/AST4":-144E5,"AMERICA/CAYENNE":-108E5,"AMERICA/PARAMARIBO":-108E5,"ANTARCTICA/ROTHERA":-108E5,"ETC/GMT+3":-108E5,"ATLANTIC/SOUTH_GEORGIA":-72E5,"ETC/GMT+2":-72E5,"ATLANTIC/CAPE_VERDE":-36E5,"ETC/GMT+1":-36E5,"AFRICA/ABIDJAN":0,"AFRICA/ACCRA":0,"AFRICA/BAMAKO":0,"AFRICA/BANJUL":0,"AFRICA/BISSAU":0,"AFRICA/CONAKRY":0,"AFRICA/DAKAR":0,"AFRICA/FREETOWN":0,"AFRICA/LOME":0,"AFRICA/MONROVIA":0,"AFRICA/NOUAKCHOTT":0,"AFRICA/OUAGADOUGOU":0,"AFRICA/TIMBUKTU":0,"ATLANTIC/REYKJAVIK":0,"ATLANTIC/ST_HELENA":0,"ETC/GMT":0,"ETC/GMT+0":0,"ETC/GMT0":0,"ETC/GREENWICH":0,"ETC/UCT":0,"ETC/UNIVERSAL":0,"ETC/UTC":0,"ETC/ZULU":0,FACTORY:0,GMT:0,"GMT+0":0,GMT0:0,GREENWICH:0,ICELAND:0,UCT:0,UNIVERSAL:0,UTC:0,ZULU:0,"AFRICA/BANGUI":36E5,"AFRICA/BRAZZAVILLE":36E5,"AFRICA/DOUALA":36E5,"AFRICA/KINSHASA":36E5,"AFRICA/LAGOS":36E5,"AFRICA/LIBREVILLE":36E5,"AFRICA/LUANDA":36E5,"AFRICA/MALABO":36E5,"AFRICA/NIAMEY":36E5,"AFRICA/PORTO-NOVO":36E5,"AFRICA/SAO_TOME":36E5,"ETC/GMT-1":36E5,"AFRICA/BLANTYRE":72E5,"AFRICA/BUJUMBURA":72E5,"AFRICA/GABORONE":72E5,"AFRICA/HARARE":72E5,"AFRICA/JOHANNESBURG":72E5,"AFRICA/KIGALI":72E5,"AFRICA/LUBUMBASHI":72E5,"AFRICA/LUSAKA":72E5,"AFRICA/MAPUTO":72E5,"AFRICA/MASERU":72E5,"AFRICA/MBABANE":72E5,CAT:72E5,"ETC/GMT-2":72E5,"AFRICA/ADDIS_ABABA":108E5,"AFRICA/ASMARA":108E5,"AFRICA/ASMERA":108E5,"AFRICA/DAR_ES_SALAAM":108E5,"AFRICA/DJIBOUTI":108E5,"AFRICA/KAMPALA":108E5,"AFRICA/MOGADISHU":108E5,"AFRICA/NAIROBI":108E5,"ANTARCTICA/SYOWA":108E5,"ASIA/ADEN":108E5,"ASIA/BAHRAIN":108E5,"ASIA/KUWAIT":108E5,"ASIA/QATAR":108E5,"ASIA/RIYADH":108E5,EAT:108E5,"ETC/GMT-3":108E5,"INDIAN/ANTANANARIVO":108E5,"INDIAN/COMORO":108E5,"INDIAN/MAYOTTE":108E5,"ASIA/DUBAI":144E5,"ASIA/MUSCAT":144E5,"ETC/GMT-4":144E5,"INDIAN/MAHE":144E5,"INDIAN/REUNION":144E5,"ASIA/KABUL":162E5,"ANTARCTICA/MAWSON":18E6,"ETC/GMT-5":18E6,"INDIAN/KERGUELEN":18E6,"INDIAN/MALDIVES":18E6,"ASIA/CALCUTTA":198E5,"ASIA/COLOMBO":198E5,"ASIA/KOLKATA":198E5,IST:198E5,"ASIA/KATHMANDU":207E5,"ASIA/KATMANDU":207E5,"ANTARCTICA/VOSTOK":216E5,"ASIA/KASHGAR":216E5,"ASIA/THIMBU":216E5,"ASIA/THIMPHU":216E5,"ASIA/URUMQI":216E5,"ETC/GMT-6":216E5,"INDIAN/CHAGOS":216E5,"ASIA/RANGOON":234E5,"ASIA/YANGON":234E5,"INDIAN/COCOS":234E5,"ANTARCTICA/DAVIS":252E5,"ASIA/BANGKOK":252E5,"ASIA/HO_CHI_MINH":252E5,"ASIA/JAKARTA":252E5,"ASIA/PHNOM_PENH":252E5,"ASIA/PONTIANAK":252E5,"ASIA/SAIGON":252E5,"ASIA/VIENTIANE":252E5,"ETC/GMT-7":252E5,"INDIAN/CHRISTMAS":252E5,VST:252E5,"ANTARCTICA/CASEY":288E5,"ASIA/BRUNEI":288E5,"ASIA/KUALA_LUMPUR":288E5,"ASIA/KUCHING":288E5,"ASIA/MAKASSAR":288E5,"ASIA/SINGAPORE":288E5,"ASIA/UJUNG_PANDANG":288E5,"ETC/GMT-8":288E5,SINGAPORE:288E5,"ASIA/DILI":324E5,"ASIA/JAYAPURA":324E5,"ASIA/PYONGYANG":324E5,"ASIA/TOKYO":324E5,"ETC/GMT-9":324E5,JAPAN:324E5,JST:324E5,"PACIFIC/PALAU":324E5,ACT:342E5,"AUSTRALIA/DARWIN":342E5,"AUSTRALIA/NORTH":342E5,"ANTARCTICA/DUMONTDURVILLE":36E6,"ETC/GMT-10":36E6,"PACIFIC/CHUUK":36E6,"PACIFIC/GUAM":36E6,"PACIFIC/PORT_MORESBY":36E6,"PACIFIC/SAIPAN":36E6,"PACIFIC/TRUK":36E6,"PACIFIC/YAP":36E6,"ETC/GMT-11":396E5,"PACIFIC/BOUGAINVILLE":396E5,"PACIFIC/GUADALCANAL":396E5,"PACIFIC/KOSRAE":396E5,"PACIFIC/POHNPEI":396E5,"PACIFIC/PONAPE":396E5,SST:396E5,"ETC/GMT-12":432E5,KWAJALEIN:432E5,"PACIFIC/FUNAFUTI":432E5,"PACIFIC/KWAJALEIN":432E5,"PACIFIC/MAJURO":432E5,"PACIFIC/NAURU":432E5,"PACIFIC/TARAWA":432E5,"PACIFIC/WAKE":432E5,"PACIFIC/WALLIS":432E5,"ETC/GMT-13":468E5,"PACIFIC/ENDERBURY":468E5,"PACIFIC/FAKAOFO":468E5,"ETC/GMT-14":504E5,"PACIFIC/KIRITIMATI":504E5},Sq={},Uq=[2770,60,7137,0,11506,60,16041,0,20410,60,24777,0,29146,60,33513,0,35194,60,42249,0,45106,60,50985,0,55354,60,59889,0,64090,60,68625,0,72994,60,77361,0,81730,60,86097,0,90466,60,94833,0,99202,60,103569,0,107938,60,112473,0,116674,60,121209,0,125578,60,129945,0,134314,60,138681,0,143050,60,147417,0,151282,60,156153,0,160018,60,165057,0,168754,60,173793,0,177490,60,182529,0,186394,60,191265,0,195130,60,200001,0,203866,60,208905,0,212602,60,217641,0,221338,60,226377,0,230242,60,235113,0,238978,60,243849,0,247714,60,252585,0,256450,60,261489,0,265186,60,270225,0,273922,60,278961,0,282826,60,287697,0,291562,60,296433,0,300298,60,305337,0,309034,60,314073,0,317770,60,322809,0,326002,60,331713,0,334738,60,340449,0,343474,60,349185,0,352378,60,358089,0,361114,60,366825,0,369850,60,375561,0,378586,60,384297,0,387322,60,393033,0,396058,60,401769,0,404962,60,410673,0,413698,60,419409,0,422434,60,428145,0,431170,60,436881,0,439906,60,445617,0,448810,60,454521,0,457546,60,463257,0,466282,60,471993,0,475018,60,480729,0,483754,60,489465,0,492490,60,498201,0,501394,60,507105,0,510130,60,515841,0,518866,60,524577,0,527602,60,533313,0,536338,60,542049,0,545242,60,550953,0,553978,60,559689,0,562714,60,568425,0,571450,60,577161,0,580186,60,585897,0,588922,60,594633,0],Vq=Kc(["PST8PDT","America/Los_Angeles","US/Pacific"]),Wq=Vq.next();!Wq.done;Wq=Vq.next()){var Xq=Wq.value.toUpperCase();Sq[Xq]={id:Xq,xn:-480,Do:Uq}} var Yq={YEAR:"YEAR",QUARTER:"QUARTER",MONTH:"MONTH",WEEK:"WEEK",DAYOFYEAR:"DAYOFYEAR",DAY:"DAY",DAYOFWEEK:"DAYOFWEEK",HOUR:"HOUR",MINUTE:"MINUTE",SECOND:"SECOND",MILLISECOND:"MILLISECOND",MICROSECOND:"MICROSECOND"},Zq={},$q;for($q in Yq)Zq[Yq[$q]]=$q;var ar=Zq;function Jq(a){if(!a)throw Error("Missing date component.");var b=ar[a.toUpperCase()];if(!b)throw Error("Invalid date component "+a);return b} function Lq(a,b){var c=new Date(a/1E3);switch(b){case "YEAR":c=new Date(c.getFullYear(),0,1);break;case "QUARTER":c=new Date(c.getFullYear(),3*Math.floor(c.getMonth()/3),1);break;case "MONTH":c=new Date(c.getFullYear(),c.getMonth(),1);break;case "WEEK":a=-1*c.getDay();c=new Date(c.getFullYear(),c.getMonth(),c.getDate());c.setDate(c.getDate()+a);break;case "DAY":c=new Date(c.getFullYear(),c.getMonth(),c.getDate());break;case "HOUR":c=new Date(c.getFullYear(),c.getMonth(),c.getDate(),c.getHours());break;case "MINUTE":c=new Date(c.getFullYear(),c.getMonth(),c.getDate(),c.getHours(),c.getMinutes());break;case "SECOND":return 1E6*Math.floor(a/1E6);case "MILLISECOND":return 1E3*Math.floor(a/1E3);case "MICROSECOND":return Math.floor(a);default:throw Error("Unknown or unsupported date component for truncation:"+b+".");}return 1E3*c.getTime()} ;function br(a,b){var c=cr(a,void 0===b?"__default__":b);return function(e){return null==e?"null":c(e/1E3)}} function cr(a,b){b=void 0===b?"__default__":b;var c=!1;0<=a.indexOf("%Z")&&(c=!0,a=a.replace("%Z","_tzhereplz_"));var e=dr();return function(f){if(null==f)return"null";"string"===typeof f&&(f=+f);ld(f)&&(f=f.getTime());var l="__default__"===b?kq:b,p=er(a);if("local"===l){p=fr(a);var r=f;l=-6E7*(new Date(f)).getTimezoneOffset()}else"UTC"===l||"+00:00"===l?(r=f,l=0):(f*=1E3,r=Gq(f,l),r=(f+r.Ib)/1E3,l=Pq(f,l));r=new Date(r);if(isNaN(r.getTime()))return"Invalid date";p=p(r);if(!c)return p;l=(0<=l?"+":"")+e(l);return p.replace("_tzhereplz_",l)}} function dr(){var a=Mh("02.0f");return function(b){if(null==b)return"null";"string"===typeof b&&(b=+b);var c=0<=b?"":"-";b=Math.abs(b);var e=Math.floor(b/36E8);b=Math.floor((b-36E8*e)/6E7);return""+c+a(e)+":"+a(b)}} ;var gr=["COUNT","COUNT_DISTINCT","COUNT_DISTINCT_EST"],hr="SUM AVG MIN MAX QUANTILE_50 QUANTILE_75 QUANTILE_90 QUANTILE_95 QUANTILE_99".split(" ").concat(gr),ir=["MIN","MAX"].concat(gr),jr={},kr=(jr[["string"]]={Vb:void 0,zc:!1,mc:"integer",qc:function(){return String},nc:"",wc:"aplos-string-cell",lc:gr,Gb:1,ac:"string",uc:function(a){return a},kc:function(a){return"COUNT_DISTINCT("+a+")"},jc:function(a){if(null==a)return"null";if("string"!==typeof a)return String(a);a=a.replace(/\\/g,"\\\\");a=a.replace(/"/g,'\\"');a=a.replace(/\n/g,"\\n");a=a.replace(/\r/g,"\\r");return'"'+a+'"'}},jr[["decimal"]]={Vb:void 0,zc:!1,mc:"decimal",qc:Jh,nc:".2f",wc:"aplos-numeric-cell",lc:hr,Gb:2,ac:"number",uc:function(a){return a},kc:function(a){return"SUM("+a+")"},jc:String},jr[["integer"]]={Vb:void 0,zc:!1,mc:"integer",qc:Jh,nc:".0f",wc:"aplos-numeric-cell",lc:hr,Gb:2,ac:"number",uc:function(a){return a},kc:function(a){return"SUM("+a+")"},jc:String},jr[["time_us"]]={Vb:.001,zc:!1,mc:"integer",qc:br,nc:"%Y-%m-%d %H:%M:%S",wc:"aplos-date-cell",lc:ir,Gb:3,ac:"number",uc:function(a){return a},kc:function(a){return"COUNT_DISTINCT("+a+")"},jc:function(a){ld(a)&&(a=1E3*a.getTime());return String(a)}},jr[["time_ms"]]={Vb:1,zc:!1,mc:"integer",qc:cr,nc:"%Y-%m-%d %H:%M:%S",wc:"aplos-date-cell",lc:ir,Gb:3,ac:"number",uc:function(a){return a},kc:function(a){return"COUNT_DISTINCT("+a+")"},jc:function(a){ld(a)&&(a=a.getTime());return String(a)}},jr[["timestamp"]]={Vb:.001,zc:!1,mc:"integer",qc:br,nc:"%Y-%m-%d %H:%M:%S",wc:"aplos-date-cell",lc:ir,Gb:3,ac:"number",uc:function(a){return a},kc:function(a){return"COUNT_DISTINCT("+a+")"},jc:function(a){if(null==a)return"null";ld(a)&&(a=1E3*a.getTime());return"TIMESTAMP_MICROS("+a+")"}},jr[["date"]]={Vb:.001,zc:!0,mc:"integer",qc:function(a){return br(a,"UTC")},nc:"%Y-%m-%d",wc:"aplos-date-cell",lc:ir,Gb:3,ac:"number",uc:function(a){return a},kc:function(a){return"COUNT_DISTINCT("+a+")"},jc:function(a){if(null==a)return"null";ld(a)&&(a=1E3*a.getTime());return"DATE(TIMESTAMP_MICROS("+a+'), "UTC")'}},jr[["datetime"]]={Vb:.001,zc:!0,mc:"integer",qc:function(a){return br(a,"UTC")},nc:"%Y-%m-%d %H:%M:%S",wc:"aplos-date-cell",lc:ir,Gb:3,ac:"number",uc:function(a){return a},kc:function(a){return"COUNT_DISTINCT("+a+")"},jc:function(a){if(null==a)return"null";ld(a)&&(a=1E3*a.getTime());return"DATETIME(TIMESTAMP_MICROS("+a+'), "UTC")'}},jr[["boolean"]]={Vb:void 0,zc:!1,mc:"integer",qc:function(){return String},nc:"",wc:"",lc:gr,Gb:4,ac:"boolean",uc:function(a){return a},kc:function(a){return"SUM(CASE WHEN "+a+" THEN 1 ELSE 0 END)"},jc:String},jr[["hll_sketch"]]={Vb:void 0,zc:!1,mc:"integer",qc:Jh,nc:".0f",wc:"aplos-numeric-cell",lc:["HLL_COUNT.MERGE"],Gb:2,ac:"number",uc:function(a){return"HLL_COUNT.EXTRACT("+a+")"},kc:function(a){return"HLL_COUNT.MERGE("+a+")"},jc:String},jr[["message"]]={Vb:void 0,zc:!1,mc:"integer",qc:function(){return function(a){return JSON.stringify(a,null,2)}},nc:"",wc:"aplos-string-cell",lc:[],Gb:1,ac:"object",uc:function(a){return a},kc:function(a){return"COUNT_DISTINCT(TO_JSON_STRING("+a+"))"},jc:String},jr[["array"]]={Vb:void 0,zc:!1,mc:"integer",qc:function(){return function(a){return JSON.stringify(a,null,2)}},nc:"",wc:"aplos-string-cell",lc:[],Gb:1,ac:"object",uc:function(a){return a},kc:function(a){return"COUNT_DISTINCT(TO_JSON_STRING("+a+"))"},jc:String},jr[["kll_int64"]]={uj:!0,Vb:void 0,mc:"integer",qc:Jh,nc:".0f",wc:"aplos-numeric-cell",lc:["KLL_INT64_QUANTILE_50","KLL_INT64_QUANTILE_75","KLL_INT64_QUANTILE_90","KLL_INT64_QUANTILE_95","KLL_INT64_QUANTILE_99"],Gb:2,ac:"number",uc:function(a){return"KLL_QUANTILES.EXTRACT_POINT_INT64("+a+", 0.5)"},kc:function(a){return"KLL_QUANTILES.MERGE_POINT_INT64("+a+", 0.5)"},jc:String},jr[["kll_double"]]={uj:!0,Vb:void 0,mc:"decimal",qc:Jh,nc:".2f",wc:"aplos-numeric-cell",lc:["KLL_DOUBLE_QUANTILE_50","KLL_DOUBLE_QUANTILE_75","KLL_DOUBLE_QUANTILE_90","KLL_DOUBLE_QUANTILE_95","KLL_DOUBLE_QUANTILE_99"],Gb:2,ac:"number",uc:function(a){return"KLL_QUANTILES.EXTRACT_POINT_DOUBLE("+a+", 0.5)"},kc:function(a){return"KLL_QUANTILES.MERGE_POINT_DOUBLE("+a+", 0.5)"},jc:String},jr);function lr(a){if("string"===typeof a)return"string";if("number"===typeof a)return"decimal";if("boolean"===typeof a)return"boolean";if(ld(a))return"timestamp";if(null==a)return"string";throw Error("Unknown filter value type: "+a);} ;var mr={EQUALS:"=",GREATER_THAN:">",LESS_THAN:"<",GREATER_THAN_EQUALS:">=",LESS_THAN_EQUALS:"<=",NOT_EQUALS:"!=",IN:"IN",NOT_IN:"NOT_IN",BETWEEN:"BETWEEN",NOT_BETWEEN:"NOT_BETWEEN",IS_NULL:"IS_NULL",IS_NOT_NULL:"IS_NOT_NULL",IS_INFINITY:"IS_INFINITY",IS_NOT_INFINITY:"IS_NOT_INFINITY",IS_NAN:"IS_NAN",IS_NOT_NAN:"IS_NOT_NAN",CONTAINS:"CONTAINS",DOES_NOT_CONTAIN:"DOES_NOT_CONTAIN",REGEX:"REGEX",NOT_REGEX:"NOT_REGEX"};ud("aplos.data.FilterOperator",mr);function nr(a,b,c){return or(b).mb(a,c)} function pr(a,b){return(a=or(a).re)?a(b):b} var qr={},wr=(qr["="]={mb:function(a,b){return"null"===b[0]?rr(a):a+" = "+b[0]},re:null},qr[">"]={mb:function(a,b){return a+" > "+b[0]},re:function(a){return[sr(a)]}},qr["<"]={mb:function(a,b){return a+" < "+b[0]},re:function(a){return[tr(a)]}},qr[">="]={mb:function(a,b){return a+" >= "+b[0]},re:function(a){return[sr(a)]}},qr["<="]={mb:function(a,b){return a+" <= "+b[0]},re:function(a){return[tr(a)]}},qr["!="]={mb:function(a,b){return"null"===b[0]?ur(a):a+" != "+b[0]}},qr.IN={mb:function(a,b){if(null==b||0===b.length)return"true = false";b=b.slice();var c=he(b,function(e){return"null"===e});if(c&&0===b.length)return rr(a);b=a+" IN ("+b.join(",")+")";return c?"("+b+" OR "+rr(a)+")":b}},qr.NOT_IN={mb:function(a,b){if(null==b||0===b.length)return"true = true";b=b.slice();var c=he(b,function(e){return"null"===e});if(c&&0===b.length)return ur(a);b=a+" NOT IN ("+b.join(",")+")";return c?"("+b+" AND "+ur(a)+")":b}},qr.BETWEEN={mb:function(a,b){return a+" BETWEEN "+b[0]+" AND "+b[1]},re:function(a){return Vh(a)}},qr.NOT_BETWEEN={mb:function(a,b){return a+" NOT BETWEEN "+b[0]+" AND "+b[1]},re:function(a){return Vh(a)}},qr.IS_NULL={mb:rr},qr.IS_NOT_NULL={mb:ur},qr.IS_INFINITY={mb:function(a){return"IS_INF("+a+")"}},qr.IS_NOT_INFINITY={mb:function(a){return"NOT(IS_INF("+a+"))"}},qr.IS_NAN={mb:function(a){return"IS_NAN("+a+")"}},qr.IS_NOT_NAN={mb:function(a){return"NOT(IS_NAN("+a+"))"}},qr.CONTAINS={mb:function(a,b){return vr(a,b[0])}},qr.DOES_NOT_CONTAIN={mb:function(a,b){return"NOT("+vr(a,b[0])+")"}},qr.REGEX={mb:function(a,b){return"REGEXP_MATCH("+a+", "+b[0]+")"}},qr.NOT_REGEX={mb:function(a,b){return"NOT(REGEXP_MATCH("+a+", "+b[0]+"))"}},qr);function vr(a,b){b=b||"";b.startsWith('"')&&b.endsWith('"')&&(b=b.substring(1,b.length-1));b=(b||"").toString().replace(xr,"\\\\$1");b=b.replace(/'/g,"\\'");return"REGEXP_MATCH("+a+", '(?is).*"+b+".*')"} function rr(a){return a+" IS NULL"} function ur(a){return a+" IS NOT NULL"} function or(a){if(null==wr[a])throw Error("Unknown filter operator: "+a);return wr[a]} var xr=/([.?*+^$[\]\\(){}|-])/g;function yr(a,b,c){if("string"!==typeof a)return a={tf:void 0!==a.column?a.column:a.tf,operator:void 0!==a.operator?a.operator:a.operator,value:void 0!==a.value?a.value:a.value},Array.isArray(a.value)&&("="===a.operator?a.operator="IN":"!="===a.operator&&(a.operator="NOT_IN")),a;if(null==b)throw Error("No operator specified.");return{tf:a,operator:b,value:void 0!==c?c:""}} ud("aplos.data.SimpleFilter",function(){});ud("aplos.data.SimpleFilter.Operator",mr);ud("aplos.data.SimpleFilter.buildFromFilterOrValues",yr);function zr(a){for(var b=0;be&&(f=1));return null!=f?"ASC"===a?f:-1*f:0} var Fr=Br.bind(null,"ASC",!1);function Er(a){return null==a?0:-Infinity===a?2:Infinity===a?4:"number"===typeof a&&isNaN(a)?1:3} var Cr=!1,Dr=/^-?[0-9]*(\.)?[0-9]+$/;ud("aplos.data.util.toFilterExpression",function(a,b,c,e){b=void 0===b?"=":b;c=void 0===c?!0:c;if(!0===c&&"="===b)return a;var f=[];void 0!==c&&(c=Array.isArray(c)?c:[c],c=pr(b,c),c.forEach(function(l){var p=null==e?lr(l):e;f.push(kr[p].jc(l))}));return nr(a,b,f)});ud("aplos.data.util.seriesHasData",function(a,b){return a.data.some(function(c){return null!=c[b]})});ud("aplos.data.util.sort",Br);function Gr(a){this.kf=this.Ra=.35;this.lb=this.Qb=null;this.ka=new Set;this.v=[0,1];this.na=new kk;this.N=0;this.La=!1;this.Va=null!=a?a:2;this.O=!0;this.ma=this.Sd=null;this.Yb=!1;this.ha=null;this.Ka=!1;this.Ia=1;this.Oa=0;this.va=null;this.Ya=1;this.jf=this.Ac=this.se=this.hf=this.$=null;this.lf=new Vi(0,0);this.Da=this.ya=null;this.tc=void 0;this.ag=new Hr(this);Ir(this)} w=Gr.prototype;w.oi=function(a){this.Va=a;this.O=!0;return this};w.ak=function(a){this.Ra=a;2==this.Va&&this.oi(this.Va);return this};w.Ql=function(){return this.Ra};w.Yj=function(a,b){this.Qb=a;this.lb=b;this.O=!0;return this};w.Ug=function(a){this.jf=a;return this};w.Le=function(){return this.jf};w.ub=function(){return this.na};w.Wf=function(a){this.na=a;return this};w.Ek=function(a){this.Sd=a;return this};w.wi=function(a){this.ma=a;this.Ka||(this.ha=null);this.ma instanceof Jr&&(a=this.ma.zg(),"function"===typeof a&&this.Jd(a));this.O=!0;return this};w.Vm=function(){return this.ma};w.Xj=function(a){this.La=a;this.O=!0;return this};w.Jd=function(a){this.tc=a;2===this.Va&&(this.O=!0)};function Kr(a){a.ka.clear();a.Ka||(a.ha=null);a.O=!0} function Lr(a,b,c,e){for(var f=0;f=e[0]*e[1]?NaN:b>e[0]!=e[1]>e[0]!=f[1]>f[0]?sr(c):tr(c)} function Or(a,b){return a.Sd||b||function(c){return null!=c?c.toString():""}} w.bandwidth=function(){Ir(this);return 2==this.Va?this.Ja.bandwidth():this.va?2===this.Ya?this.Ja(this.va)-this.Ja(0):this.va||0:0};function Pr(a){Ir(a);return 2==a.Va?[ti(a.Ja,a.v[0]),ti(a.Ja,a.v[1])]:a.Ja.domain()} w.zk=function(a){this.ha=a;this.Ka=null!=a;this.mi(1,0);return this};w.mi=function(a,b){this.Ia=a;this.Oa=b;this.O=!0};function Qr(a,b,c,e,f,l,p){a.Yb!==l&&(a.O=!0);a.$=b;a.hf=c;a.se=e;a.N=f;a.Yb=l;a.Ac=p} w.xh=function(){var a=Qh(this.N);null==this.Le()&&this.na.Pj(this.$);return{position:a,If:10}};w.$f=function(a){var b=Qh(this.N);b=Yg(a,this.Le(),b);if(null!=b)return b;b=this.range();this.range(1===this.N||3===this.N?[a.height,0]:[0,a.width]);var c=Rr(this,this.Ac);a=this.na.ah(this.$,c,this.N,a,this.bandwidth(),this.Da);this.range(b);return a};w.zh=function(){return 0};w.Ah=function(){return 0};w.Tg=function(a){var b=a.right-a.left,c=a.bottom-a.top;if(1===this.N||3===this.N){var e=this.range();this.range(e[0]<=e[1]?[0,c]:[c,0])}else this.range([0,b]);this.lf=new Vi(b,c);this.ya=a};w.zf=function(){return this.ya};w.render=function(a,b){if(this.$){var c=this.ya;this.$.attr("transform","translate("+((1==this.N?c.right:c.left)-a.Kb())+", "+((2==this.N?c.bottom:c.top)-a.Lb())+")");c=Rr(this,this.Ac);var e=Nr(this,0);if(isNaN(e))switch(this.N){case 0:e=a.yb();break;case 1:e=0;break;case 3:e=a.Za();break;case 2:e=0}var f={top:a.Lb(),right:a.Kb()+a.Za(),bottom:a.Lb()+a.yb(),left:a.Kb()};this.na.render(this.$,c,this.N,new Vi(a.Za(),a.yb()),this.lf,this.bandwidth(),b,this.Da,this.hf,e,this.se,this.ya,f)}};function Rr(a,b){Ir(a);var c=Sr(a),e=a.Sd;c.Te()||(e=Or(a,b));b=c.Mb(2==a.Va?null:a.Ja.domain(),Math.abs(a.v[0]-a.v[1]),Array.from(a.ka),e,a,a.ag).map(function(l){l&&void 0!==l.value||(l={value:l});void 0===l.location&&(l.location=Math.round(op(this,l.value)));return l},a).filter(function(l){return l.location>=Math.min(this.v[0],this.v[1])&&l.location<=Math.max(this.v[0],this.v[1])},a);var f=b.map(function(l){return l.value});b.forEach(function(l){null==l.label&&(l.label=e(l.value,f));l.label=l.label.toString()},a);return b} function Tr(a){if(!a.ha)if(2==a.Va){var b=Array.from(a.ka);0=b?[1,10]:[b/Math.sqrt(10),b*Math.sqrt(10)];case 3:return null==b?(a=Date.now(),[a-864E5,a]):[+b-432E5,+b+432E5];default:throw Error("Unsupported scale type: "+a.Va);}} w.Jd=function(a){this.tc=a};w.zg=function(){return this.tc};w.Te=function(){return!1};w.Mb=function(a,b,c,e,f,l){this.Ja&&this.Ja.ticks?("function"===typeof this.tc&&this.Ja.domainOverride&&this.Ja.domainOverride(this.tc),a[0]==a[1]&&(a=Ur(this,a[0])),a=this.Ja.domain(a||c).range([0,b]).ticks().map(function(t){return"number"===typeof t?+t.toFixed(7):t})):a=c;if(this.Lj&&l&&f){var p=2,r=np(a,f,e);for(e=r;l.v.na&&l.v.$&&l.v.na.Fi(e,l.v.$,l.v.N)&&2=b)return[];var f=this.hh||rs(c),l=1E3*kr[f].Vb;f=a[0]>a[1];c=Vh(c);a=Vh(a);0===c[1]-c[0]&&(a=c=[c[0]-36E8,c[0]+36E8]);var p=+c[0]*l;c=+a[0]*l;a=+a[1]*l;var r=ss(this,(a-c)/(b/this.un));b=r.interval;r=r.unit;var t=e;e&&(t=function(sa){return e(sa/1E3)});var y=t||ts(this,this.nh[r].tick),E=t||ts(this,this.nh[r].Dc);t=t||ts(this,this.nh[r].transition);var ma=us(r);p=this.tg(b,r,c,p);for(var na=[];p<=a;){if(p>=c){var ta=y(p),ua="minor";ma&&this.ef(p,ma)===p&&(ua="major",t&&(ta=t(p)));na.push({value:p,Eh:ua,label:ta})}p=this.ze(p,r,b)}E&&na.length&&(na[0].label=E(na[0].value));1!==l&&na.forEach(function(sa){sa.value=sa.value/l});return!1===f?na:na.reverse()};w.Bd=function(a,b,c){b=this.Mb(a,b,c);return b.length?Vh(b,function(e){return e.value}):a};function ss(a,b){for(var c=Kc(a.yi),e=c.next();!e.done;e=c.next())if(e=e.value,vs[e.unit]*e.interval>=b)return e;return a.yi[a.yi.length-1]} function us(a){switch(a){case "MONTH":case "WEEK":return"YEAR";case "DAY":return"MONTH";case "HOUR":return"DAY";case "MINUTE":return"HOUR";case "SECOND":return"MINUTE";case "MILLISECOND":return"SECOND"}return null} w.ef=function(a,b){return Iq(a,b,this.Yg)};w.ze=function(a,b,c){return Oq(a,b,c,this.Yg)};function ts(a,b){return b?br(b,a.Yg):null} w.tg=function(a,b,c,e){switch(b){case "WEEK":case "DAY":return"WEEK"===b?(b=this.ef(e,"WEEK"),b=this.ze(b,"DAY",this.Jo),a*=7):b=this.ef(e,"DAY"),c=Math.floor((c-b)/864E8),c=Math.floor(c/a)*a,this.ze(b,"DAY",c);default:return b=us(b)||"YEAR",this.ef(c,b)}};function rs(a){a=Vh(a);return 3E11a[0]?"time_ms":"timestamp"} function ps(a,b){if(!a)return a;var c=Eh(a||"","\n");return c=b)return[];var f=a[0];f=f instanceof Date?1E13<+f?"microseconds":"date":"number"===typeof f?1E13=c[1]&&(a=Cs(this.Kh),r-p=Cs(b.Db)&&(b.Db=null);a=Cs(b.step)/a;aCs(b.Db)&&(b.Db=b.step));this.Fg=b}a=e||b.N||b.v;e=e||b.v;p=+p;c=new Bq;c.setTime(p);p=this.tg(c,b.step);c=b.Db?this.tg(c,b.Db):null;y=[];for(var E=!1;p.getTime()<=r;){var ma={};a:switch(f){case "milliseconds":var na= p.getTime();break a;case "microseconds":na=1E3*p.getTime();break a;default:na=new Date(p.getTime())}ma.value=na;c&&b.Db&&c.getTime()<=p.getTime()?(ma.type="transition",ma.label=a(new Date(p.getTime())),Es(c,b.Db),E=!0):ma.label=e(new Date(p.getTime()));y.push(ma);Es(p,b.step)}c&&y.length&&!E&&(y[0].type="transition",y[0].label=a(new Date(y[0].value*l)));t&&y.reverse();return y};w.Bd=function(a,b,c){b=this.Mb(a,b,c);return b.length?Vh(b,function(e){return e.value}):a};w.tg=function(a,b){if(b.N)var c=new Bq(Math.ceil(a.getFullYear()/b.N)*b.N);else if(b.months)c=new Bq(a.getFullYear(),Math.ceil(a.getMonth()/b.months)*b.months);else if(b.days){c=a.getDate();for(var e=a.getFullYear(),f=a.getMonth()-1;0<=f;f--)c+=uq(e,f);c=new Bq(a.getFullYear(),0,Math.ceil(c/b.days)*b.days);0===b.days%7&&c.setDate(c.getDate()-c.getDay()+this.zi)}else if(b.O)c=new Bq(a.getFullYear(),a.getMonth(),a.getDate(),Math.ceil(a.getHours()/b.O)*b.O);else if(b.$)c=new Bq(a.getFullYear(),a.getMonth(),a.getDate(),a.getHours(),Math.ceil(a.getMinutes()/b.$)*b.$);else if(1<=b.v)c=new Bq(a.getFullYear(),a.getMonth(),a.getDate(),a.getHours(),a.getMinutes(),Math.ceil(a.getSeconds()/b.v)*b.v);else if(b.v)c=new Bq(a.getFullYear(),a.getMonth(),a.getDate(),a.getHours(),a.getMinutes(),a.getSeconds(),Math.ceil(.001*a.getMilliseconds()/b.v)*b.v*1E3);else throw Error("Zero step is not valid.");c.getTime()a)throw Error("numTicks must be at least 2");this.he=a;this.Fe=!1;return this};w.Im=function(){return this.he};w.ji=function(a){this.Mg=a;return this};w.Hm=function(){return this.Mg};w.qk=function(a){this.v=a;return this};w.tm=function(){return this.v};w.Sg=function(a){(this.Fe=a)?this.he=null:this.he=5;return this};w.fm=function(){return this.Fe};w.Te=function(){return!1};w.Jd=function(a){this.tc=a};w.zg=function(){return this.tc};w.Mb=function(a,b,c,e,f){b=this.Fe?Math.max(2,Math.floor(b/100)):this.he;this.tc&&(a=this.tc(a));a=Array.isArray(a)?this.rh(this.Mg,b-1,a,this.v||!1):[];return f?np(a,f,e):a};w.Bd=function(a,b,c){b=this.Mb(a,b,c);return b.length?Vh(b):a};w.Oe=function(a,b,c,e){var f=b[1]-b[0],l=0>f;f=Math.abs(f);var p=f/c;f=Math.pow(10,f?Math.floor(Math.log(p)/Math.LN10):0);for(var r=p,t=0;t=p&&(!e||r==Math.round(r))&&c*r+this.Qe(b,r)>=b[1]);t++);return(l?-1:1)*r};function Hs(a){return 0>a?a+2E-10:0a[0]&&(c-=b);return c};Fs.prototype.getDefaultViewport=Fs.prototype.Bd;Fs.prototype.getTicks=Fs.prototype.Mb;Fs.prototype.getNicingFunction=Fs.prototype.zg;Fs.prototype.getDynamicTicks=Fs.prototype.fm;Fs.prototype.setDynamicTicks=Fs.prototype.Sg;Fs.prototype.getIntIntervalsOnly=Fs.prototype.tm;Fs.prototype.setIntIntervalsOnly=Fs.prototype.qk;Fs.prototype.getNiceCoefficients=Fs.prototype.Hm;Fs.prototype.setNiceCoefficients=Fs.prototype.ji;Fs.prototype.getNumTicks=Fs.prototype.Im;Fs.prototype.setNumTicks=Fs.prototype.ki;var Gs=[1,1.25,1.5,2,2.5,3,4,5,6,7.5,8,10];ud("aplos.chart.BaseTickProvider",Fs);function Is(){Fs.call(this);this.Sg(!0);this.ji([.25,.5,.6,.75,.8,1,1.25,1.5,2,2.5,3,4,5,6,7.5,8,10]);this.Eg=!1} Zc(Is,Fs);Is.prototype.rh=function(a,b,c,e){if(0===b&&(0c[1]||0>c[0]&&0c[1])break;if(this.Eg){if(p-c[0]f;f=Math.abs(f);var p=0==c?f/2:f/(c+1);f=Math.pow(10,f?Math.floor(Math.log(p)/Math.LN10):0);for(var r=null,t=null,y=0,E=0;E=p){var na=this.Qe(b,ma);if(c*ma+na>b[1])if(e)if(na=Math.floor((b[1]-na)/ma)+1,na>y)y=na;else break;else break;r=ma}t=ma}}null===r&&(r=null!==t?t:1);return(l?-1:1)*r};Is.prototype.Qe=function(a,b){return Math.ceil(a[0]/b)*b};ud("aplos.chart.DataTickProvider",Is);function Js(){} Js.prototype.Te=function(){return!0};Js.prototype.Mb=function(a,b,c,e,f){a=Ks(c||a);b=[];f?(b=np(a,f,e),b.forEach(function(l){0===Math.log(Math.abs(+l.value))*Math.LOG10E%1?(l.label=e?l.label:Ls(l.value),l.Eh="major"):(l.label="",l.Eh="minor")})):b=a;return b};Js.prototype.Bd=function(a,b,c){return Vh(Ks(c||a))};function Ks(a){a=a.filter(function(l){return 0!==l});var b=Vh(a),c=b[0],e=b[1];0>=c&&0<=e&&(a=a.filter(function(l){return 0f&&(e.push(a*(f+"e"+b)),b!==c);f++);1===a||e.reverse();return e} function Ls(a){var b=0>a?"-":"";a=Math.log(Math.abs(a))*Math.LOG10E;if(0===a)return b+"1";if(1===a)return b+"10";a=(""+a).split("").map(function(c){return"-"===c?"-":"\u2070\u00b9\u00b2\u00b3\u2074\u2075\u2076\u2077\u2078\u2079"[c]}).join("");return b+"10"+a} ud("aplos.chart.LogTickProvider",Js);function Ms(){this.Xg=[]} Ms.prototype.Te=function(){return!1};Ms.prototype.Mb=function(){return this.Xg.map(function(a){return a&&void 0!==a.value?Ne(a):a})};Ms.prototype.Bd=function(a){return this.Xg.length?Vh(this.Xg,function(b){return null!=b.value?b.value:b}):a};Ms.prototype.Fk=function(a){this.Xg=a.slice();return this};Ms.prototype.setTicks=Ms.prototype.Fk;Ms.prototype.getDefaultViewport=Ms.prototype.Bd;Ms.prototype.getTicks=Ms.prototype.Mb;ud("aplos.chart.ManualTickProvider",Ms);function Ns(){Fs.call(this)} Zc(Ns,Fs);Ns.prototype.rh=function(a,b,c,e){4E-10=c[1])f=b;else{if(1===b)return Vh(Os(this,a,2,1,c,e));f=Math.round(Math.abs(c[0])/(c[1]-c[0])*b);0===f?f=1:f===b&&(f=b-1)}0===c[1]-c[0]&&(0c[1]&&(c=[1.25*c[0],0]));return Os(this,a,b,f,c,e)};function Os(a,b,c,e,f,l){c=Math.max(1,c);var p=0;0>f[0]&&(p=a.Oe(b,[f[0],0],e,l));var r=0;0c[0]&&0c[1]&&(c=[1.25*c[0],.75*c[1]]));if(1==b&&(0==c[0]||0==c[1]||0>c[0]&&0=c[1])?b?"data":"tight":b?"data":"quantum":a},renderingType:function(a,b){return"default"==a?b?"ticks":"gridlines":a},scaleType:0,showDomainAxisLine:!0,showBaseline:!0},log:{nicing:"tight",tickFormatter:function(a){var b=null;a&&(b="function"===typeof a?a:Jh(a));return b},tickProviderType:function(a){return"default"==a?"tight":a},renderingType:function(a,b){return"default"==a?b?"ticks":"gridlines":a},scaleType:1,showDomainAxisLine:!0,showBaseline:!1},ordinal:{nicing:void 0,tickFormatter:function(a){var b=null;a&&(b="function"===typeof a?a:Jh(a));return b},tickProviderType:function(a){return"default"==a?"tight":a},renderingType:function(a){return"default"==a?"labels":a},scaleType:2,showDomainAxisLine:!1,showBaseline:!1},time:{nicing:"none",tickFormatter:function(a){var b=null;a&&("function"===typeof a?b=a:b=cr(a));return b},tickProviderType:function(a){return"default"==a?"tight":a},renderingType:function(a,b){return"default"==a?b?"ticks":"gridlines":a},scaleType:3,showDomainAxisLine:!0,showBaseline:!1}};function at(){} Zc(at,Ss);ud("aplos.chart.OldAxisSpecParser",at);var bt=new Ss;Qs.current=bt;function ct(){} ct.prototype.Zd=function(){};ct.prototype.Od=function(){};ud("aplos.chart.ShapeRenderer",ct);function dt(a,b,c){this.N=void 0!==c?c:!1;this.O=void 0!==b?b:!0;this.$=a;this.ha="0.6ex"} w=dt.prototype;w.Zd=function(a,b,c,e,f,l,p){var r=(this.$+" "+b).trim();a=a.append("g").attr("class",r);this.Bc(a);a.append("text");this.Od(a,b,c,e,f,l,p)};w.Od=function(a,b,c,e,f,l,p){var r=null!=p.strokeWidth?p.strokeWidth:2,t=this.O?"white":l,y=this.Kc(a);1>y.size()&&(y=oj(a.node()),b=(this.$+" "+b).trim(),y.attr("class",b),y.selectAll("*").remove(),this.Bc(y),y.append("text"),y=this.Kc(a));a=a.select("text");this.Pc(y,a,c,e,f,this.O,r,l,t,this.N?p.label:null)};w.Bc=function(){};w.Kc=function(){};w.Pc=function(){};function et(a,b,c,e,f,l,p){c={dx:c,fill:l,"text-anchor":"middle",opacity:a.N?"1":"0"};af||bf?(c.y=e,c.dy=a.ha):(c.dy=e,c["dominant-baseline"]="middle");ui(b,c);b.style("fill",l);b.style("font-size",1.25*f+"px");b.text(p)} ud("aplos.chart.shaperenderer.BaseLabelShape",dt);function ft(){dt.call(this,"aplos-box-triangle-right-shape-group",!0,!1)} Zc(ft,dt);ft.prototype.Bc=function(a){a=a.append("g").attr("class","aplos-box-triangle-right-shape");a.append("rect").attr("class","primary");a.append("path").attr("class","secondary")};ft.prototype.Kc=function(a){return a.select("g.aplos-box-triangle-right-shape")};ft.prototype.Pc=function(a,b,c,e,f,l,p,r,t,y){var E=a.select(".primary");if(1>E.size())throw Error("No primary path found in update selection");var ma=a.select(".secondary");if(1>ma.size())throw Error("No secondary path found in update selection");var na=2*f,ta=na/16;ui(a,{fill:r,width:na+"px",height:na+"px",transform:"translate("+(c-f)+", "+(e-f)+")"});ui(E,{rx:2,ry:2,width:2*f,height:2*f,fill:l?r:"white",stroke:l?null:r,"stroke-width":l?"0":p});ui(ma,{d:"M5.5 3.5v9l6-4.5z",fill:"white",transform:"scale("+ ta+")"});et(this,b,c,e,f,t,y)};ud("aplos.chart.shaperenderer.BoxTriangleRight",ft);function gt(a,b){dt.call(this,"aplos-circle-shape-group",a,b)} Zc(gt,dt);gt.prototype.Bc=function(a){a.append("circle").attr("class","aplos-circle-shape")};gt.prototype.Kc=function(a){return a.select("circle.aplos-circle-shape")};gt.prototype.Pc=function(a,b,c,e,f,l,p,r,t,y){ui(a,{cx:c,cy:isNaN(e)?null:e,r:f,fill:l?r:"white",stroke:l?null:r,"stroke-width":l?"0":p});et(this,b,c,e,f,t,y)};ud("aplos.chart.shaperenderer.Circle",gt);function ht(){} ht.prototype.Zd=function(a,b,c,e,f,l,p,r,t){b=("aplos-cylinder-shape "+b).trim();a=a.append("line").attr("class",b);this.Od(a,b,c,e,f,l,p,r,t)};ht.prototype.Od=function(a,b,c,e,f,l,p,r,t){ui(a,{x1:c,x2:r,y1:e,y2:t,"stroke-linecap":"round",stroke:l,"stroke-width":2*f})};ud("aplos.chart.shaperenderer.Cylinder",ht);function it(a,b){dt.call(this,"aplos-equilateral-triangle-shape-group",a,b)} Zc(it,dt);it.prototype.Bc=function(a){a.append("polygon").attr("class","aplos-equilateral-triangle-shape")};it.prototype.Kc=function(a){return a.select("polygon.aplos-equilateral-triangle-shape")};it.prototype.Pc=function(a,b,c,e,f,l,p,r,t,y){var E=.866*f;ui(a,{points:c+","+(e-E)+" "+(c+f+","+(e+E)+" ")+(c-f+","+(e+E)),fill:l?r:"white",stroke:l?null:r,"stroke-width":l?"0":p});et(this,b,c,e+f-E,f,t,y)};ud("aplos.chart.shaperenderer.EquilateralTriangle",it);function jt(){dt.call(this,"aplos-error-shape-group",!0,!1)} Zc(jt,dt);jt.prototype.Bc=function(a){a=a.append("g").attr("class","aplos-error-shape");a.append("circle").attr("class","secondary");a.append("path").attr("class","primary")};jt.prototype.Kc=function(a){return a.select("g.aplos-error-shape")};jt.prototype.Pc=function(a,b,c,e,f,l,p,r,t,y){l=a.select(".primary");if(1>l.size())throw Error("No primary path found in update selection");p=a.select(".secondary");if(1>p.size())throw Error("No secondary path found in update selection");var E=2*f,ma=2,na=2;if(36l.size())throw Error("No primary path found in update selection");p=a.select(".secondary");if(1>p.size())throw Error("No secondary path found in update selection");var E=2*f,ma=1.5,na=1.5;36l.size())throw Error("No primary path found in update selection");p=a.select(".secondary");if(1>p.size())throw Error("No secondary path found in update selection");f*=1.4;var E=2*f;if(36E.size())throw Error("No primary path found in update selection");l=a.select(".secondary");if(1>l.size())throw Error("No secondary path found in update selection");var ma=2*f,na=2;p=1;if(36Ie(c)||1>a.length)return a;a.sort(function(E,ma){return Fr(E[b],ma[b])});e=e||Ot(a,b);for(var f=a[0],l=[],p=0,r=0;r=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=this.top+this.height:this.left<=a.left&&this.left+this.width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.height};w.distance=function(a){var b=a.xsa?1E3*sa:sa;ua.displayName=a.name;ua.description=ua.datum.description;ua.chartX=op(l,p?ua.time:ua.time/1E3);ua.chartY=0;sa=b.Ad()||du;ua.label=sa(ua.time)},this);e.sort(function(ua,sa){return ua.$a-sa.$a});var r=[];if(0f.Za())break;E.$a>y.Jb.$a+100?(y.hd=E.$a-y.Jb.$a,y={Jb:E,hb:[]},r.push(y)):y.hb.push(E)}if(!y)return;if(y.Jb.$a+60>f.Za()){y.Gl=!0;0na.Jb.$a-100){var ta=(na.Jb.$a-ma.Jb.$a)/2+ma.Jb.$a;y=na.hb;e=ma.hb;na.hb=[];ma.hb=[];e.forEach(function(ua){ua.chartX> ta?na.hb.push(ua):ma.hb.push(ua)});y.forEach(function(ua){ua.chartX>ta?na.hb.push(ua):ma.hb.push(ua)});ma.hd=ta-ma.Jb.$a;na.hd=na.Jb.$a-ta;60>ma.hd&&(na.hd+=ma.hd,na.hb=[ma.Jb].concat(ma.hb).concat(na.hb),r.splice(r.length-2,1))}}else y.hd=f.Za()-y.Jb.$a}c.sj=r;Xn(b,c)}};w.render=function(a,b,c){var e=b.vb;b=Xn(b);if(b.sj&&b.wq)if(0===a.data.length&&null==c.node())c.selectAll("*").remove();else return c.attr("transform","translate(0, -60)"),a=c.select(".background-rect"),a.size()||(a=c.append("rect").classed("background-rect",!0).style("fill","#fafafa")),a.attr("width",e.Za()).attr("height",60),c=c.selectAll(".event-annotation-content").data(b.sj),c.exit().remove(),a=c.enter().append("g").classed("event-annotation-content",!0),a.append("g").classed("subdominant-lines",!0),a.append("line").classed("marker-line",!0),a.append("line").classed("range-line",!0),a.append("g").classed("text-holder",!0),c=a.merge(c),c.each(function(f){var l=oj(this),p=f.Jb,r=f.Gl,t=f.hd-4-10;ui(l,{transform:"translate("+p.$a+", 0)"});var y=l.select(".text-holder");y.append("text").classed("annotation-title",!0);y.append("text").classed("date",!0);y.append("text").classed("subdominant-additional-text",!0);y.attr("transform","translate("+(r?"-":"")+4+", 10)");var E=y.select("text.annotation-title").text(p.description);tj(E.node(),t);E.attr("dy","1em");uj(E.node(),p.description);E=y.select("text.date").text(p.label);tj(E.node(),t);E.attr("dy","2.15em");uj(E.node(),p.label);var ma=0Math.PI/180*this.N},a)).classed(ju,!0).style("opacity","0").attr("transform",function(c){return"translate("+c.start+")"});a.Wa?b.transition().delay(a.Wa).duration(a.Wa).style("opacity","1"):b.style("opacity","1");a.O&&!af?lu(a,b):mu(a,b);nu(a,b);ou(b);b.filter(function(){return!oj(this).select("."+pu).text()}).style("display","none")} function lu(a,b){var c=a.Cb.Ef,e=a.Cb.ee,f=a.Cb.position,l=a.Cb.padding;b=b.append("g").attr("transform",function(p){if(c&&e){var r=p.offset[0];p=p.offset[1];var t=l+e;t=0===r?0:0Math.PI&&Wt(f.rect,b)?f.be.style("display","none"):(f.be.style("display",""),e=f.rect)})} function mu(a,b){var c=a.Cb.Ef,e=a.Cb.ee,f=a.Cb.padding,l=a.v;b.append("g").attr("transform",function(p){if(c&&e){var r=p.offset[0];p=p.offset[1];var t=f+e;t=0===r?0:0Math.PI/180*this.v},a)).classed(uu,!0).attr("transform",function(c){return"translate("+c.start+")"});wu(a,b);xu(a,b);b.empty()||(yu(a,b),zu(b),Lj(b).filter(function(){return!oj(this).select("."+Au).text()}).style("display","none"))} function wu(a,b){var c=a.Cb.Ef,e=a.Cb.ee,f=a.Cb.position,l=a.Cb.padding;b=b.append("g").attr("transform",function(r){if(c&&e){var t=r.offset[0];r=r.offset[1];var y=l;0!==t&&0!==r&&(y+=e);y=0===t?0:0r?-l:l:0}else t=r.Xc[0],r=r.Xc[1],E=y=0;return"translate("+[t+y,r+E]+")"});var p=b=Hj(b);b.select("div").empty()||(p=b.select("div"));p.attr("data-label-position",Bu(a,f)).append("div").classed(Au,!0).style("opacity",0).each(rd(Cu,a.N));b.each(rd(function(r,t){r=oj(this);var y=r.select("."+Au),E=y.node();mj(E,null,null,!0);if(c&&e){var ma=t.offset[0];t=t.offset[1]}else ma=t.Xc[0],t=t.Xc[1];y.style("text-align",0===ma?"center":0Math.PI&&Wt(f.rect,b)?(f.be.style("display","none"),f.Ih.style("display","none")):(f.be.style("display",""),f.Ih.style("display",""),e=f.rect)})} function yu(a,b){var c=Ij(b).node().getBoundingClientRect();b.each(rd(function(e,f){var l=oj(this),p=Lj(l.select("g")),r=p.select("."+Au).node().getBoundingClientRect(),t=Math.ceil(r.left+r.width-f.left-f.width)+5,y=Math.ceil(f.left-r.left)+5,E=(0f.top+f.height||r.leftf.left+f.width)l.style("display","none"),p.style("display","none")},a,c))} function xu(a,b){var c=a.Cb.ee;b.append("line").classed(Fu,!0).style("opacity",0).attr("x1",0).attr("y1",0).attr("x2",function(e){return e.offset[0]}).attr("y2",function(e){return e.offset[1]});0=l.length?"hidden":null},this));return r};w.ie=function(a,b,c,e,f){e=e.append("circle").attr("cx",f.width/2).attr("cy",f.height/2).attr("r",f.width/2);Yj(e,function(){return c.color()(a,b)})};w.md=function(a,b,c,e){var f=new Di(c,e),l=this.Pe(),p=this.Cd(),r=Ei(f,new Di(0,0)),t=null;if(r>=p&&r<=l)for(f=(0<=f.x?0:Math.PI)+Math.atan(f.y/f.x)+Math.PI/2,l=Ju(this,a,b),p=0;p=r.startAngle&&f<=r.endAngle){t=ow(this,a,b,r.data||{},p,c,e);break}return t};function ow(a,b,c,e,f,l,p){var r=c.measure(),t=c.domain(),y=c.color(),E=Ju(a,b,c)[f];var ma=a.Pe();var na=a.Cd();E=(E.startAngle-Math.PI/2+(E.endAngle-Math.PI/2))/2;ma=na+(ma-na)/2;ma=new Di(Math.round(Math.cos(E)*ma),Math.round(Math.sin(E)*ma));E=c.vb;na=ma.x+E.Za()/2;E=ma.y+E.yb()/2;b={index:f,datum:e,measure:r(e,f),domain:t(e,f),datumX:ma.x,datumY:ma.y,chartX:na,chartY:E,color:y(e,f),series:b,seriesConfig:c,relativeDistance:0,domainDistance:0,measureDistance:0};return b=a.Bb(b,l,p)} w.Bb=function(a,b,c){var e={domainDistance:0,measureDistance:0,relativeDistance:0};Qe(e,a);void 0!=b&&void 0!=c&&(e.relativeDistance=Ei(new Di(e.datumX,e.datumY),new Di(b,c)));return e};w.ae=function(a,b,c,e,f,l,p){f=void 0===f?[]:f;for(var r=0;rua.endAngle-ua.startAngle?sa.style("display","none"):sa.style("display","")});y.each(function(ua,sa){var Ba=oj(this),ya=Ba.select("path"),Aa=p(ua.data,sa);ua=r(ua.data,sa);Ba.classed("highlight",0Aa);Ba.classed("selected",0ua);ya.attr("filter",0e.endAngle-e.startAngle&&(e.startAngle=e.endAngle);return a(e)}}} function tw(a,b,c,e,f){var l=rw(b);return rd(function(p,r){r=Sd(e,r);p=uw(p,r,c,e,f);return l.call(this,{startAngle:p,endAngle:p})},a)} function pw(a,b,c,e,f){for(--b;0<=b;b--)for(var l=f(c[b],b),p=0;p=r.measureSize,t),E=r.domainPosition+r.domainSize/2;y=r.measurePosition+r.measureSize+(f?-1:1)*y;switch(this.v){case "vertical":if(l){var ma=-1*y;var na=".32em"}else ma=E,E=-1*y,na="middle"===this.N?".32em":null;break;default:l?(ma=E,E=y,na=null):(ma=y,na=".32em")}t=(t=r.validValue&&("above"===this.N||t>=this.ha))&&(l?y<=e:y>=c);r.barLabel={domainPosition:ma,measurePosition:E,valid:t,dy:na,"text-anchor":Cw(this,b),"dominant-baseline":Dw(this,b)}}};function Cw(a,b){switch(a.N){case "above":return"vertical"===a.v?"y"===b?"left":"middle":"y"===b?"middle":"left";case "bottom":return"vertical"===a.v?"y"===b?"left":"middle":"y"===b?"middle":"left";case "middle":return"middle";case "top":return"vertical"===a.v?"y"===b?"right":"middle":"y"===b?"middle":"right";default:throw Error("Unrecognized bar label position");}} function Dw(a,b){switch(a.N){case "above":return null;case "bottom":return null;case "middle":return"vertical"===a.v?null:"y"===b?"middle":null;case "top":return"vertical"===a.v?"x"===b?"hanging":null:"y"===b?"hanging":null;default:throw Error("Unrecognized bar label position");}} w.add=function(a){a.append("text").attr("class","bar-label")};w.update=function(a,b,c,e){a=a.select(".bar-label");var f="y"===c,l=this;a.each(function(p){var r=p.barLabel;if(r){var t=oj(this),y=r.valid?1:0,E=null,ma=p.barLabel;if("above"===l.N){var na=p.chartX;ma=p.chartY}else"vertical"===l.v?f?(na=ma.measurePosition,ma=-1*ma.domainPosition):(na=-1*ma.measurePosition,ma=ma.domainPosition):(na=ma.domainPosition,ma=ma.measurePosition);na=new Di(na,ma);r.valid&&e.contains(na)||(E="none");t.text(p.label);b&&(t=t.transition().duration(b));switch(l.v){case "vertical":na= "y"===c?"rotate(-90)":"rotate(90)";break;default:na=null}ui(t,{x:r.domainPosition,y:r.measurePosition,dy:r.dy,opacity:y,display:E,"dominant-baseline":r["dominant-baseline"],transform:na});t.attr("text-anchor",Bj(r["text-anchor"],p.label));t.style("fill",l.O)}})};w.remove=function(a){a.selectAll(".bar-label").remove()};w.Nf=function(){return!0};xw.prototype.getMinBarLength=xw.prototype.Em;xw.prototype.setMinBarLength=xw.prototype.hi;xw.prototype.getLabelPosition=xw.prototype.ld;xw.prototype.setLabelPosition=xw.prototype.Ob;xw.prototype.getLabelOrientation=xw.prototype.vm;xw.prototype.setLabelOrientation=xw.prototype.rk;xw.prototype.getLabelColor=xw.prototype.Ke;xw.prototype.setLabelColor=xw.prototype.Uc;xw.prototype.getLabelOffsetFunction=xw.prototype.um;xw.prototype.setLabelOffsetFunction=xw.prototype.Ze;function yw(a,b){return a?-4:-b-4} function zw(a,b){return a?b-4:-4} function Aw(a,b){return a?b/2:-b/2} function Bw(a,b){return a?4:-b+4} ud("module$contents$aplos$chart$renderer$BarLabels_BarLabels.Orientation",{HORIZONTAL:"horizontal",VERTICAL:"vertical"});ud("module$contents$aplos$chart$renderer$BarLabels_BarLabels.Position",{ABOVE:"above",BOTTOM:"bottom",MIDDLE:"middle",TOP:"top"});function Ew(){Yt.call(this);this.na=this.Ra=2;this.ha=null;this.va=0;this.Da=this.$=1;this.ka=this.La=null;this.N=this.Ya=this.Ia=0;this.v=new xw;this.ya=[this.v,new Ct];this.lb=ik;this.Qb=null} Zc(Ew,Yt);function Fw(a,b){a.ya.push(b);return a} function Gw(a,b){be(a.ya,a.v);a.v=b;Fw(a,a.v)} w=Ew.prototype;w.Sl=function(){return this.v};w.lo=function(a){this.Ya=a;return this};w.Tn=function(a){this.N=a;return this};w.Tl=function(){return this.N};w.Id=function(a){this.lb=a;return this};w.hl=function(a){return arguments.length&&null!=a?this.Hd(a):this.Ec()};w.strokeWidth=function(a){return arguments.length&&null!=a?this.Nd(a):this.Cf()};w.Nd=function(a){this.Ia=a;return this};w.Cf=function(){return this.Ia};w.stack=function(a){return arguments.length&&null!=a?this.Md(a):this.Re()};w.Md=function(a){this.Uf(a?2:1);return this};w.Re=function(){return 2===this.$};w.Uf=function(a){this.$=a;return this};w.mm=function(){return this.$};w.qo=function(a){return arguments.length&&null!=a?this.vi(a):this.Da};w.vi=function(a){this.Da=a;return this};w.Rm=function(){return this.Da};w.Hg=function(a){return arguments.length&&void 0!==a?this.Vg(a):this.ka};w.Vg=function(a){this.ka=Math.max(0,a);return this};w.Dm=function(){return this.ka};w.Ak=function(a){this.La=Math.max(0,a);return this};w.Fm=function(){return this.La};w.il=function(a){return arguments.length&&null!=a?this.$j(a):this.na};w.$j=function(a){this.na=a;return this};w.Pl=function(){return this.na};w.Xm=function(){return this.ha};w.Hk=function(a){this.ha=a;return this};w.jl=function(a){return arguments.length&&null!=a?this.dk(a):this.va};w.dk=function(a){this.va=a;return this};w.Rl=function(){return this.va};w.Mn=function(a){return arguments.length&&null!=a?this.ni(a):this.Ra};w.ni=function(a){this.Ra=a;return this};w.Lm=function(){return this.Ra};w.nd=function(){return-10};w.Ed=function(a){return a instanceof Ew};w.Un=function(a){this.Qb=a;return this};w.Sc=function(a,b){var c=new Map,e=new Map,f=new Map,l=this.$;bu(this,a,b);for(var p=0,r=0;rt&&(b.barClass+=" inverse-highlight"),t=r(b.datum,a),0t&&(b.barClass+=" inverse-selected");c=au(this);for(p=0;pf.length)throw Error('Number of series exceeds length of weight pattern "'+a.ha+'"');for(var l=[],p=0;py.measureSize?y.measurePosition+y.measureSize:y.measurePosition,y.domainSize,Math.abs(y.measureSize)):new Vt(0>y.measureSize?y.measurePosition+y.measureSize:y.measurePosition,y.domainPosition,Math.abs(y.measureSize),y.domainSize);a:{var ma=Math.max(f.left,E.left);var na=Math.min(f.left+ f.width,E.left+E.width);if(ma<=na){var ta=Math.max(f.top,E.top);E=Math.min(f.top+f.height,E.top+E.height);if(ta<=E){ma=new Vt(ma,ta,na-ma,E-ta);break a}}ma=null}if(null===ma)continue}if("function"!==typeof l||l(y,t,c,e))ma=Tw(this,y,c,e),ma.domainDistance=e&&a<=l?0:Math.abs(a-p),measureDistance:c>=r&&c<=t?0:Math.abs(c-b),relativeDistance:Ei(new Di(p,b),new Di(a,c))}} w.ie=function(a,b,c,e,f){var l=f.width;f=f.height;var p=e.append("g").attr("class","bar-group");e=c.Cc()(a,b);var r=xn(c,"strokeWidth")?c.strokeWidth()(a,b):this.Ia;l=p.append("rect").attr("class","bar").attr("width",l).attr("height",f).attr("stroke-width",r).attr("stroke-dasharray",e).attr("x",0).attr("y",0).attr("rx",1);Yj(l,function(){return c.color()(a,b)},!0);e&&"none"!==e.toLowerCase()&&l.attr("fill","transparent")};function Qw(a){a=oj(a).attr("data-rect").split(",");return{domainPosition:+a[0],measurePosition:+a[1],domainSize:+a[2],measureSize:+a[3]}} function Sw(a,b,c,e){e={domainPosition:e.domainPosition,measurePosition:e.measurePosition,domainSize:e.domainSize,measureSize:e.measureSize};switch(a.Ya){case 1:e.domainPosition-=c;break;case 2:e.domainPosition+=c;break;default:e.measurePosition=b,e.measureSize=0}return e} function Mw(a,b,c,e,f){var l=c.measureOffset,p=c.measure+l,r=Nr(f,l),t=Nr(f,p);if(Il(r)&&Il(t)){p=pMath.abs(t-r)?t=r:r+=(p?1:-1)*a.Da);p?(p=0===l?Math.floor:Math.ceil,y=Math.ceil):(p=0===l?Math.ceil:Math.floor,y=Math.floor);r=p(r);t=y(t)}else t=r=null;p=op(e,c.domain);y=Mr(e,c.domain)+b.barOffset;var E=b.barWidth,ma=r;r=t-r;var na=t=void 0,ta=Math.min(E/2,Math.abs(r),c.strokeWidth);E-=ta;y+=ta/2;r+=(0<=r?-1:1)*ta/2;if(null!=c.measureLowerBound&& null!=c.measureUpperBound){var ua=c.measureLowerBound,sa=c.measureUpperBound;null!=ua&&null!=sa&&(t=Nr(f,l+ua),na=Nr(f,l+sa))}a="x"==Zt(a);l=b.barWidth/2;b=Mr(e,c.domain)+b.barOffset+l;c=op(f,c.measure+c.measureOffset);return{barGroupCenter:p,chartX:a?b:c,chartY:a?c:b,domainPosition:y,domainSize:E,measurePosition:ma,measureSize:r,measureLowerBoundPosition:t,measureUpperBoundPosition:na,strokeWidth:ta}} w.je=function(){return!0};w.Ag=function(a,b){b=Xn(b);return null==b.barData?a.data:b.barData};Ew.prototype.setCssName=Ew.prototype.Un;Ew.prototype.getRoundingRadiusPx=Ew.prototype.Lm;Ew.prototype.setRoundingRadiusPx=Ew.prototype.ni;Ew.prototype.roundingRadiusPx=Ew.prototype.Mn;Ew.prototype.getBarHorizontalMargin=Ew.prototype.Rl;Ew.prototype.setBarHorizontalMargin=Ew.prototype.dk;Ew.prototype.barHorizontalMargin=Ew.prototype.jl;Ew.prototype.setWeightPattern=Ew.prototype.Hk;Ew.prototype.getWeightPattern=Ew.prototype.Xm;Ew.prototype.getBarGroupInnerPadding=Ew.prototype.Pl;Ew.prototype.setBarGroupInnerPadding=Ew.prototype.$j;Ew.prototype.barGroupInnerPadding=Ew.prototype.il;Ew.prototype.getMinBarWidth=Ew.prototype.Fm;Ew.prototype.setMinBarWidth=Ew.prototype.Ak;Ew.prototype.getMaxBarWidth=Ew.prototype.Dm;Ew.prototype.setMaxBarWidth=Ew.prototype.Vg;Ew.prototype.maxBarWidth=Ew.prototype.Hg;Ew.prototype.getStackedBarPadding=Ew.prototype.Rm;Ew.prototype.setStackedBarPadding=Ew.prototype.vi;Ew.prototype.stackedBarPadding=Ew.prototype.qo;Ew.prototype.getGroupingType=Ew.prototype.mm;Ew.prototype.setGroupingType=Ew.prototype.Uf;Ew.prototype.getStack=Ew.prototype.Re;Ew.prototype.setStack=Ew.prototype.Md;Ew.prototype.stack=Ew.prototype.stack;Ew.prototype.getStrokeWidth=Ew.prototype.Cf;Ew.prototype.setStrokeWidth=Ew.prototype.Nd;Ew.prototype.strokeWidth=Ew.prototype.strokeWidth;Ew.prototype.autoBarLabels=Ew.prototype.hl;Ew.prototype.setColorHighlightStrategy=Ew.prototype.Id;Ew.prototype.getBorderRenderingStrategy=Ew.prototype.Tl;Ew.prototype.setBorderRenderingStrategy=Ew.prototype.Tn;Ew.prototype.setTransitionStrategy=Ew.prototype.lo;Ew.prototype.getBarLabelDecorator=Ew.prototype.Sl;function Pw(a,b,c,e,f,l,p){if(null===a||null===b||null===c||null===e||null===l)return"";l=Math.min(Math.abs(e),l,c/2);p=1==p?"Z":"";return f?0<=e?"M"+b+" "+a+"h"+(e-l)+"a"+l+","+l+" 0 0 1 "+l+","+l+"v"+(c-2*l)+"a"+l+","+l+" 0 0 1 "+-l+","+l+"h"+-1*(e-l)+p:"M"+b+" "+a+"h"+(e+l)+"a"+l+","+l+" 0 0 0 "+-l+","+l+"v"+(c-2*l)+"a"+l+","+l+" 0 0 0 "+l+","+l+"h"+-1*(e+l)+p:0>=e?"M"+a+" "+b+"v"+(e+l)+"a"+l+","+l+" 0 0 1 "+l+","+-l+"h"+(c-2*l)+"a"+l+","+l+" 0 0 1 "+l+","+l+"v"+-1*(e+l)+p:"M"+a+" "+b+"v"+(e-l)+ "a"+l+","+l+" 0 0 0 "+l+","+l+"h"+(c-2*l)+"a"+l+","+l+" 0 0 0 "+l+","+-l+"v"+-1*(e-l)+p} function Kw(a,b,c,e,f,l,p,r){e=Math.floor((e-(2*r+f*(a-1)))/a);l&&(e=Math.max(l,e));p&&(e=Math.min(p,e));return c&&0!=c.length?Math.floor(e*a*c[b]):e} function Lw(a,b,c,e,f,l,p,r){var t=Math.floor((e-(2*r+f*(a-1)))/a),y=0;p&&t>p&&(y=Math.floor((t-p)*a/2));for(var E=t=0;E2*this.size&&hx(this),!0):!1};function hx(a){if(a.size!=a.v.length){for(var b=0,c=0;b=e.v.length)throw Zw;var l=e.v[b++];return a?l:e.N[l]};return f};function ix(a,b){return Object.prototype.hasOwnProperty.call(a,b)} ;function jx(){Yt.call(this);this.va=null;this.ka=0;this.N=!1;this.ha=2;this.v=!1;this.na=null;this.$=3} Zc(jx,Yt);w=jx.prototype;w.Ln=function(a){if(null==a)return this.N;this.N=a;return this};w.Hg=function(a){if(void 0===a)return this.na;this.na=a;return this};w.strokeWidth=function(a){if(null==a)return this.$;this.$=a;return this};w.Ym=function(a){if(null==a)return this.ha;this.ha=a;return this};w.fo=function(a,b){b?(this.va=null,this.ka=a||0):(this.va=a||0,this.ka=null);return this};w.stack=function(a){if(!arguments.length||null==a)return this.v;this.v=a;return this};w.Sc=function(a,b){for(var c=new fx,e=new fx,f=0;fua&&(ta.lineClass+=" inverse-highlight")};w.render=function(a,b,c,e){a=Xn(b).lineData;var f=Nr(b.ob(),0),l=this.N?"round":"butt";b=c.selectAll(".bar-target-line").data(a,function(y){return y.key});c=b.enter().append("line");a=b.exit();var p=c.merge(b),r=au(this),t=Zt(this);e&&(c.each(function(y){var E=oj(this);ui(E,{display:y.validValue?null:"none","class":"bar-target-line "+y.lineClass,stroke:y.color,"stroke-linecap":l,"stroke-width":y.strokeWidth,"stroke-dasharray":y.dashPattern});E.attr(t+"1",y.domainPosition);E.attr(t+"2",y.domainPosition+y.domainSize);E.attr(r+"1",f);E.attr(r+"2",f)}),p=p.transition().duration(e),a=a.transition().duration(e),a.attr(r+"1",f),a.attr(r+"2",f));a.remove();p.each(function(y){var E=oj(this);e&&(E=E.transition(p));ui(E,{display:y.validValue?null:"none","class":"bar-target-line "+y.lineClass,filter:y.filter,stroke:y.color,"stroke-linecap":l,"stroke-width":y.strokeWidth,"stroke-dasharray":y.dashPattern});E.attr(t+"1",y.domainPosition);E.attr(t+"2",y.domainPosition+y.domainSize);E.attr(r+"1",y.measurePosition);E.attr(r+"2",y.measurePosition)});return null};function lx(a,b,c,e,f){a.v&&(c=1,b=0);return(0===b?f:0)+e+(b+1===c?f:0)} function mx(a,b,c,e,f,l){if(a.v)return Math.floor((c-b)/2)-l;c=Math.floor((c-b)*f/2);0===e&&(c-=l);return c+(a.ha+b)*e} function nx(a,b,c,e,f,l){var p=b.measureOffset,r=b.measure+p;Il(r)&&Il(p)||(r=0);p=op(l,r);var t=op(l,0);r=0>r;l=(l=t=e&&a<=l?0:Math.abs(a-p),b.domainDistance=c,b.measureDistance=f,b.relativeDistance=a,b):null};w.ae=function(a,b,c,e,f){a=f||[];if(b=Xn(b).lineData)for(f=0;fya.chartX&&(l=!0);p=ya.chartX;rx(this,ya);ya.pointClass="";var Aa=t(ya.datum,Ba);0Aa&&(ya.pointClass=(ya.pointClass+" inverse-highlight").trim());Aa=y(ya.datum,Ba);0Aa&&(ya.pointClass=(ya.pointClass+" inverse-selected").trim());ua&&(Aa=ya.domainOffset||0,E&&ma&&(ya.domainLowerBound=E(ya.datum,Ba),ya.domainUpperBound=ma(ya.datum,Ba),b||(ya.domainLowerBound+=Aa,ya.domainUpperBound+=Aa),null!==ya.domainLowerBound&&null!==ya.domainUpperBound&&(ya.domainLowerBoundPosition=Nr(e,ya.domainLowerBound,null),ya.domainUpperBoundPosition=Nr(e,ya.domainUpperBound,null),ya.errorBarColor=ya.color)),Aa=ya.measureOffset||0,ya.measureLowerBound=na(ya.datum,Ba),ya.measureUpperBound=ta(ya.datum,Ba),sa||(ya.measureLowerBound+=Aa,ya.measureUpperBound+=Aa),null!==ya.measureLowerBound&&null!==ya.measureUpperBound&&(ya.measureLowerBoundPosition=Nr(f,ya.measureLowerBound,null),ya.measureUpperBoundPosition=Nr(f,ya.measureUpperBound,null),ya.errorBarColor=ya.color));ya.shapeRenderer=a(ya.datum,ya.index)}l&&r.sort(function(Ca,Fa){return Ca.chartX-Fa.chartX});c.Fb=r;this.v.Nb(r,au(this),e,f)}};function qx(a,b,c){var e=a.ka;b.shapeRenderer&&(e=px(b.shapeRenderer));return Zn(c,function(f){return f.shapeRenderer?px(f.shapeRenderer):e})} function rx(a,b){switch(a.N){case 1:b.labelX=isNaN(b.chartX)?null:b.chartX;b.labelY=isNaN(b.chartY)?null:b.chartY-6.5-b.radius;break;case 4:b.labelX=isNaN(b.chartX)?null:b.chartX;b.labelY=isNaN(b.chartY)?null:b.chartY;break;case 2:b.labelX=isNaN(b.chartX)?null:b.chartX-6.5-b.radius;b.labelY=isNaN(b.chartY)?null:b.chartY;break;case 3:b.labelX=isNaN(b.chartX)?null:b.chartX+6.5+b.radius;b.labelY=isNaN(b.chartY)?null:b.chartY;break;default:case 0:b.labelX=null,b.labelY=null}} w.render=function(a,b,c,e,f,l,p){a=Nr(b.ob(),0);f=Xn(b);var r=xn(b,"datumHoverState")?b.jd():function(){return 0};b=xn(b,"datumClickState")?b.Vd():function(){return 0};var t=c.node();sx(this,f.Fb||[],t,a,e,l,p,r,b);return c.selectAll(".point-group")};function sx(a,b,c,e,f,l,p,r,t){if(0===b.length)tx(a,c,e,f);else{c=oj(c).selectAll(".point-group").data(b,function(sa){return sa.key});c.exit().remove();var y=c.enter().append("g").attr("class","point-group");c=y.merge(c);a.v.Nf()||a.v.add(y,f,l);var E=function(sa,Ba){var ya=+sa.radius;if(0Aa.chartX&&(p=!0);t=Aa.chartX;rx(this.v,Aa);this.ya&&(ta&&ua&&(Aa.domainLowerBound= ta(Aa.datum,ya),Aa.domainUpperBound=ua(Aa.datum,ya),null!==Aa.domainLowerBound&&null!==Aa.domainUpperBound&&(Ca=Aa.domainOffset||0,Aa.domainLowerBound+=Ca,Aa.domainUpperBound+=Ca,Aa.domainLowerBoundPosition=Nr(f,Ca+Aa.domainLowerBound),Aa.domainUpperBoundPosition=Nr(f,Ca+Aa.domainUpperBound),Aa.errorBarColor=Aa.color)),Aa.measureLowerBound=sa(Aa.datum,ya),Aa.measureUpperBound=Ba(Aa.datum,ya),null!=Aa.measureLowerBound&&null!=Aa.measureUpperBound&&(Ca=Aa.measureOffset||0,Aa.measureLowerBound+=Ca,Aa.measureUpperBound+= Ca,Aa.measureLowerBoundPosition=Nr(l,Ca+Aa.measureLowerBound),Aa.measureUpperBoundPosition=Nr(l,Ca+Aa.measureUpperBound),Aa.errorBarColor=Aa.color));Aa.shapeRenderer=b(Aa.datum,Aa.index);Aa.strokeWidth=na(Aa.datum,ya)}p&&y.sort(function(Ja,Ka){return Ja.chartX-Ka.chartX});var Fa=this.Ra?this.Ra(y,this):y;p=[];if(r)for(r=0;rQa&&(Oa+=" inverse-highlight");var Wa=ma(y[0].datum,0);0Wa&&(Oa+=" inverse-selected");Ea.push({color:Ka[0],Gg:Ka[1],Cc:Ka[2],Ce:Ka[3],Fl:Ja,vc:Fa,Jq:a.name,strokeWidth:Pa,Bq:Pa,zq:0 Qa,id:"lineclip"+Oj(),Ej:Oa})},this)}e.Fb=y;e.vj=p;e.Gf=Ea;this.N&&this.v.v.Nb(y,au(this),f,l)}};w.render=function(a,b,c,e,f,l,p){var r=Nr(b.ob(),0),t=Xn(b),y=c.node();if(0!==a.data.length||null!=y){var E=c.select("g");E.node()&&E.classed("area-segments")||Nj(y,'');var ma=cj(y);E=ma[1];var na=ma[2],ta=ma[3];y=ma[4];ma=ma[5];Cx(c,t.Gf,b);Dx(this,t.Gf,E,r,e,l);Ex(this,t.Gf,na,r,e,l);Fx(this,t.vj,ta,r,e,l);Gx(this,t.Gf,ma,r,e,l);this.N?this.v.render(a,b,oj(y),e,f,l,p):(b=b.Jh(),Xn(b,{}),this.v.render({name:a.name,data:[]},b,oj(y),e,f,l,p));return c.selectAll(".area, .line-series, .event-target, .error-area, .isolate-datum, .point-group")}};function Ex(a,b,c,e,f,l){if(a.ha)if(0===b.length)Hx(a,c,e,f);else if(oj(c).attr("clip-path",l),f){l=oj(c).selectAll(".line-series").data(b);l.exit().remove();b=oj(c).selectAll(".event-target").data(b);b.exit().remove();c=l.enter().append("path");ui(c,{"class":function(t){return t.Ej},fill:"none"});l=c.merge(l);var p=b.enter().append("path");ui(p,{"class":"event-target",fill:"none"});b=p.merge(b);var r=Ix().defined(function(t){return t.validValue}).curve(a.$).x(function(t){return t.chartX}).y(e);f&&(ui(c,{stroke:function(t){return t.Gg},"stroke-dasharray":function(t){return t.Cc},d:function(t){return r(t.vc)},"stroke-width":function(t){return t.strokeWidth}}),l=l.transition().duration(f),ui(p,{stroke:"transparent",opacity:"0",d:function(t){return r(t.vc)},"stroke-width":function(t){return Math.max(10,t.strokeWidth)}}),b=b.transition().duration(f));r.y(function(t){return t.chartY});ui(l,{"clip-path":function(t){return"url(#"+t.id+")"},stroke:function(t){return t.color},"stroke-dasharray":function(t){return t.Cc},d:function(t){return r(t.vc)},"stroke-width":function(t){return t.strokeWidth}});ui(b,{"clip-path":function(t){return"url(#"+t.id+")"},stroke:"transparent",opacity:"0",d:function(t){return r(t.vc)},"stroke-width":function(t){return Math.max(10,t.strokeWidth)}})}else Jx(a,c,b),oj(c).selectAll(".line-series").data(b),oj(c).selectAll(".event-target").data(b);else Nj(c,"")} function Jx(a,b,c){for(var e="",f=Ix().defined(function(r){return r.validValue}).curve(a.$).x(function(r){return a.Da?Math.round(r.chartX):Math.round(100*r.chartX)/100}).y(function(r){r=Il(r.chartY)?r.chartY:1E4;return a.Da?Math.round(r):Math.round(100*r)/100}),l=0;l';e+=''}Nj(b,e)} function Hx(a,b,c,e){var f=oj(b).selectAll(".line-series");e&&(f=f.transition().duration(e));var l=Ix().defined(function(p){return p.validValue}).curve(a.$).x(function(p){return p.chartX}).y(c);f.attr("d",function(p){return l(p.vc)}).remove();oj(b).selectAll(".event-target").remove()} function Fx(a,b,c,e,f,l){b.length&&!a.N&&a.ha?(a=oj(c).attr("clip-path",l).selectAll(".isolate-datum").data(b),a.exit().remove(),b=a.enter().append("path").attr("stroke-linecap","round"),a=b.merge(a),c={d:function(p){return"M"+p.chartX+","+e+"h0"},stroke:function(p){return p.color},"stroke-width":function(p){return 2*p.strokeWidth},"class":function(p){return"line-series isolate-datum"+(null!=p.datumClass?" "+p.datumClass:"")}},f&&(ui(b,c),a=a.transition().duration(f)),c.d=function(p){return"M"+p.chartX+","+p.chartY+"h0"},ui(a,c)):Nj(c,"")} function Dx(a,b,c,e,f,l){if(a.va)if(0===b.length)Kx(c,e,f);else{b=oj(c).attr("clip-path",l).selectAll(".area").data(b);b.exit().remove();c=b.enter().append("path").attr("class","area").attr("stroke-width",0);b=c.merge(b);var p=Lx().curve(a.La).defined(function(r){return r.validValue}).x(function(r){return r.chartX}).y1(e).y0(e);f&&(ui(c,{fill:function(r){return r.Gg},d:function(r){return p(r.vc)}}),b=b.transition().duration(f));p.y1(function(r){return r.chartY}).y0(function(r){return r.chartY0});ui(b,{"clip-path":function(r){return"url(#"+r.id+")"},fill:function(r){return r.Gg},d:function(r){return p(r.vc)},"class":function(r){return"area"+(null!=r.datumClass?" "+r.datumClass:"")}})}else Nj(c,"")} function Kx(a,b,c){a=oj(a).selectAll(".area");c&&(a=a.transition().duration(c));var e=Lx().defined(function(f){return f.validValue}).x(function(f){return f.chartX}).y1(b).y0(b);a.attr("d",function(f){return e(f.vc)}).remove()} function Gx(a,b,c,e,f,l){if(a.ya)if(0===b.length||a.N)Mx(c,e,f);else{b=oj(c).attr("clip-path",l).selectAll(".error-area").data(b);b.exit().remove();c=b.enter().append("path");ui(c,{"class":"error-area","stroke-width":0});b=c.merge(b);var p=Lx().curve(a.La).defined(function(r){return r.validValue}).x(function(r){return r.chartX}).y1(e).y0(e);f&&(ui(c,{fill:function(r){return r.color},d:function(r){return p(r.vc)}}),b=b.transition().duration(f));p.y1(function(r){return null!=r.measureUpperBoundPosition?r.measureUpperBoundPosition:r.chartY});p.y0(function(r){return null!=r.measureLowerBoundPosition?r.measureLowerBoundPosition:r.chartY});ui(b,{"clip-path":function(r){return"url(#"+r.id+")"},fill:function(r){return r.color},opacity:a.N?"0":".2",d:function(r){return p(r.vc)}})}else Nj(c,"")} function Mx(a,b,c){a=oj(a).selectAll(".error-area");c&&(a=a.transition().duration(c));var e=Lx().defined(function(f){return f.validValue}).x(function(f){return f.chartX}).y1(b).y0(b);a.attr("d",function(f){return e(f.vc)}).remove()} function Bx(a,b){var c=null!=a.O;return function(e,f){if(c)for(e=0;eE)return!0;if(tab||a>=r.length)return null;for(var t=Math.min(Math.max(Ox(r,c),a),b),y=null,E=Number.MAX_VALUE,ma=Number.MAX_VALUE,na=t;na<=b&&!p(na);na++);for(b=t;b>=a&&!p(b);b--);null!=y&&(y=this.Bb(y,c,e));return y};function Ox(a,b,c){c=void 0===c?!1:c;var e=ne(a,b,function(f,l){return f-l.chartX});if(0>e)return-e-1;if(c)for(;e=a?Wj():Xj()};function qy(){return!1} w.ij=function(a,b,c,e){var f=py(a,b,c,e);c=py(a,b,c);e=py(a,b,void 0,e);a=py(a,b);return this.v[f]||this.v[c]||this.v[e]||this.v[a]||null};w.ke=function(a,b,c,e,f){b=py(b,c,e,f);this.v[b]=a};w.Zn=function(a){this.ha=a};w.Pf=function(a,b,c,e){b=py(b,c,e);this.N[b]=a};w.Xl=function(a){return this.$[a.toLowerCase()]||null};w.Tc=function(a,b){this.$[b.toLowerCase()]=a};w.Wc=function(a,b){this.ma[b.toLowerCase()]=a};function ry(a,b){a.ha&&a.ha(b)} function py(a,b,c,e){a=[a.toString(),b.toString()];a.push((c||"").toLowerCase());a.push((e||"").toLowerCase());return a.join("-")} function ny(a){var b=function(c){return function(e){var f=e.rendering?e.rendering:{};c&&null==f.domainAxisOuterPaddingPct&&null==f.domainAxisOuterPaddingPx&&(f.domainAxisOuterPaddingPx=this.na,f.domainAxisOuterPaddingPct=this.ka);e.rendering=f;return c?bt.Yi(e,6):bt.Zi(e,6)}.bind(this)}.bind(a);a.ke({rendering:{type:"default",barGroupPaddingPct:.35,minPxBetweenTicks:20}},0,0);a.Pf(b(!0),0,0);a.ke({rendering:{type:"default",barGroupPaddingPct:.35,minPxBetweenTicks:2}},0,1);a.Pf(b(!0),0,1);a.ke({rendering:{type:"default",barGroupPaddingPct:.35,domainAxisOuterPaddingPct:.35,minPxBetweenTicks:20}},0,0,"waterfall");a.ke({rendering:{type:"default",barGroupPaddingPct:.35,domainAxisOuterPaddingPct:.35,minPxBetweenTicks:2}},0,1,"waterfall");a.ke({ticks:{type:"default",numTicks:5},rendering:{type:"default",minPxBetweenTicks:14,showBaseline:!0}},1,0);a.Pf(b(!1),1,0);a.ke({ticks:{type:"default",numTicks:5},rendering:{type:"default",minPxBetweenTicks:14,showBaseline:!0}},1,1);a.Pf(b(!1),1,1)} function oy(a){a.Tc({},"eventAnnotation");a.Wc(function(){return new cu}.bind(a),"eventAnnotation");a.Tc({hideSingleArcBorder:!0,labelPadding:3,leaderLineLength:15,leaderLineTailLength:10,minLabelArcAngle:0,sortSlices:!1},"arc");a.Wc(function(b){var c=new Gu(null!=b.arcInnerRadius?b.arcInnerRadius:0,null!=b.arcOuterRadius?b.arcOuterRadius:0);b=b.arc||b;null!=b.enableHtmlLabels&&c.Yh(b.enableHtmlLabels);null!=b.hideSingleArcBorder&&(c.ma=b.hideSingleArcBorder);null!=b.labelPadding&&c.ci(b.labelPadding);null!=b.leaderLineLength&&c.di(b.leaderLineLength);null!=b.leaderLineTailLength&&c.ei(b.leaderLineTailLength);null!=b.minLabelArcAngle&&c.ii(b.minLabelArcAngle);null!=b.showBackground&&(c.Ia=b.showBackground);null!=b.showHighlightShadow&&(c.Ka=b.showHighlightShadow);null!=b.sortSlices&&c.ui(b.sortSlices);return c}.bind(a),"arc");a.Tc({stack:!0,includeArea:!0},"area");a.Wc(function(b){return gy(b)}.bind(a),"area");a.Tc({maxBarWidth:300,strokeWidth:2},"bar");a.Wc(function(b){var c=new Ew,e=c.v;b=b.bar||b;b=ky(b);if(null!=b.groupingType)switch(b.groupingType){case "grouped":c.Uf(1);break;case "stacked":c.Uf(2);break;case "groupedStacked":c.Uf(3);break;default:throw Error("Invalid bar grouping type: "+b.groupingType);}null!=b.labelColor&&null!=e&&e.Uc(b.labelColor);null!=b.labelOrientation&&null!=e&&e.rk(b.labelOrientation);null!=b.labelPosition&&null!=e&&e.Ob(b.labelPosition);null!=b.minBarWidth&&c.Ak(+b.minBarWidth);null!=b.maxBarWidth&&c.Vg(b.maxBarWidth);null!=b.minBarLengthForLabel&&null!=e&&e.hi(b.minBarLengthForLabel);(null!=b.stack&&null==b.groupingType||0==b.groupingType)&&c.Md(b.stack);null!=b.strokeWidth&&c.Nd(b.strokeWidth);null!=b.weightPattern&&c.Hk(b.weightPattern);iy(c,b);jy(c,b,!1);return c}.bind(a),"bar");a.Tc({maxBarWidth:300,strokeWidth:5},"barTarget");a.Wc(function(b){var c=new jx;b=b.bartarget||b;null!=b.stack&&c.stack(b.stack);null!=b.maxBarWidth&&c.Hg(b.maxBarWidth);null!=b.strokeWidth&&c.strokeWidth(b.strokeWidth);return c}.bind(a),"barTarget");a.Tc({strokeWidth:2,legendKeyStrokeWidth:4},"line");a.Wc(function(b){return gy(b)}.bind(a),"line");a.Tc({strokeWidth:1},"markerLine");a.Wc(function(b){var c=new $x;b=b.markerline||b;null!=b.greaterThanLabel&&c.qj(b.greaterThanLabel);null!=b.legendKeyStrokeWidth&&c.Ff(b.legendKeyStrokeWidth);null!=b.lessThanLabel&&c.Aj(b.lessThanLabel);null!=b.showSeriesName&&c.Ik(!!b.showSeriesName);null!=b.strokeWidth&&c.strokeWidth(b.strokeWidth);return c}.bind(a),"markerLine");a.Tc({},"point");a.Wc(function(b){var c=new ox;b=b.point||b;null!=b.animatesFromDomainAxis&&c.Wj(b.animatesFromDomainAxis);if(null!=b.errorRenderer){var e=b;if(null!=e.errorRenderer)switch(e.errorRenderer){case "whiskers":c.Zh(new Ct);break;case "comparison_points":case "comparisonPoints":c.Zh(new Bt);break;default:throw Error('Unrecognized error renderer type: "'+e.errorRenderer+'"');}}null!=b.labelColor&&c.Uc(b.labelColor);null!=b.labelPosition&&hy(c,b);null!=b.shapeRenderer&&c.Sf(b.shapeRenderer);iy(c,b);return c}.bind(a),"point");a.Tc({},"waterfall");a.Wc(function(b){var c=fy(),e=c.v;b=b.waterfall||b;b=ky(b);null!=b.labelColor&&null!=e&&e.Uc(b.labelColor);null!=b.labelPosition&&null!=e&&e.Ob(b.labelPosition);null!=b.maxBarWidth&&c.Vg(b.maxBarWidth);null!=b.minBarLengthForLabel&&null!=e&&e.hi(b.minBarLengthForLabel);null!=b.strokeWidth&&c.Nd(b.strokeWidth);iy(c,b);return c}.bind(a),"waterfall")} my.prototype.setSeriesRendererFactory=my.prototype.Wc;my.prototype.setDefaultSeriesSeriesRendererSpec=my.prototype.Tc;my.prototype.getDefaultSeriesSeriesRendererSpec=my.prototype.Xl;my.prototype.setAxisFactory=my.prototype.Pf;my.prototype.setExtendedDefaultsCallback=my.prototype.Zn;my.prototype.setDefaultAxisSpec=my.prototype.ke;my.prototype.getDefaultAxisSpec=my.prototype.ij;ud("aplos.chart.style.AplosTemplateStyle",my);function sy(){my.call(this);this.O+=" quantum-style"} Zc(sy,my);ud("aplos.chart.style.QuantumStyle",sy);var ty=new sy;ud("aplos.chart.Style.getCurrentStyle",function(){return ty});ud("aplos.chart.Style.setCurrentStyle",function(a){ty=a});ud("aplos.chart.Style.resetCurrentStyle",function(){ty=new sy});function uy(){this.N=0;this.O=null;this.v=[];this.$=Sg;this.ma=this.ka;this.ha=Sg} ud("aplos.data.DataPromise",uy);var vy=!1;uy.setAllowSynchronousPromises=function(){vy=!0};uy.prototype.xf=function(a){if(0!==this.N)return this;this.N=1;this.O=a;for(a=0;a')),document.body.appendChild(Pj),Pj.contentDocument.body.appendChild($i(new Gf(Hf,"\n \n
 
\n \n \n \n \n \n \n
"))));var r=Pj.contentDocument,t=r.querySelector(p.tagName);t||(t=r.querySelector("div"));r=pj(t);t=pj(p);for(var y={},E=0;E>=8),a[c++]=f;b=void 0;void 0=== b&&(b=0);if(!tf)for(tf={},c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),e=["+/=","+/","-_=","-_.","-_"],f=0;5>f;f++)for(l=c.concat(e[f].split("")),sf[f]=l,p=0;p>2],t=b[(t&3)<<4|y>>4],y=b[(y&15)<<2|r>>6],r=b[r&63],c[f++]=""+p+t+y+r;p=0;r=e;switch(a.length-l){case 2:p=a[l+1],r=b[(p&15)<<2]||e;case 1:a=a[l],c[f]=""+ b[a>>2]+b[(a&3)<<4|p>>4]+r+e}a=c.join("")}return"data:image/svg+xml;base64,"+a};yy.prototype.toSvgDataUrl=yy.prototype.Mk;yy.prototype.Ao=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.Mk(a);var f=new uy;e.onload=function(){this.onerror=this.onload=null;try{var l=b.getContext("2d");l.fillStyle="#FFF";l.fillRect(0,0,b.width,b.height);l.drawImage(e,c,c);f.xf(b.toDataURL("image/png"))}catch(p){f.reject(p)}};e.onerror=function(){f.reject(Error("Svg image dataUrl failed to load"))};return f};yy.prototype.toPngDataUrl=yy.prototype.Ao;yy.prototype.getStyle=function(){return this.xi};var Ay="aplos-chart",Ly="aplos-chart-container";function My(a,b,c){My.base(this,"constructor",je(a,["prelayout","postlayout"]),b,c);this.hf=this.Sd=null;this.Vc({top:40,end:20,start:20,bottom:20},{top:.333,end:.5,start:.5,bottom:.333})} ud("aplos.chart.SvgChartView",My);vd(My,yy);var Ny=0;My.prototype.redraw=My.prototype.Xe;My.prototype.vd=function(){My.Pb.vd.call(this);var a=this.Se().node();a.setAttribute("width",this.frameWidth());a.setAttribute("height",this.frameHeight());this.ab.node().setAttribute("transform","translate("+this.Kb()+","+this.Lb()+")");this.Sd&&this.Sd.attr("width",this.Za()+1).attr("height",this.yb()+2)};My.prototype.Se=function(){return this.ro};My.prototype.getSvg=My.prototype.Se;My.prototype.Bo=function(){var a=this.Se().node(),b=document.createElement("style"),c=zj(a),e=pj(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};My.prototype.toSvgString=My.prototype.Bo;My.prototype.getNearestDatumDetails=My.prototype.Af;var Oy=document.implementation.hasFeature("org.w3c.svg","1.0")||document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Structure","1.1"),By="aplos-chart-container",Cy="aplos-chart-svg",Dy="aplos-draw-area";function Py(a,b,c){var e=this;My.call(this,je(a,"datumMouseover datumMouseout datumClick seriesMouseover seriesMouseout seriesClick".split(" ")),b,c);this.Qb=new On(this);this.va={};this.Of={};this.Ck("hover",new Gn);this.lb=new Qy;this.on("viewportChange.seriesChartView",function(){e.lb.reset()})} vd(Py,My);ud("aplos.chart.SeriesChartView",Py);Py.prototype.Ck=function(a,b){b.Og("clearSelectedDatumDetailsCache",this.Wk.bind(this));var c=this.Of,e=zn[a].selectionChange,f=this.Xa;f.O.hasOwnProperty(e)||Fn(f,[e]);e=c[a];null!=e&&e.Og("chartDelegate",null);c[a]=b;Ky(this,b,a);return this};Py.prototype.setSelectionModel=Py.prototype.Ck;Py.prototype.io=function(a){Pn(this.Qb,a);return this};Py.prototype.setSeriesDefaults=Py.prototype.io;Py.prototype.ub=function(a){return this.va[a||"__aplosDefault__"]||this.va.__aplosDefault__};Py.prototype.getRenderer=Py.prototype.ub;Py.prototype.$m=function(a){return!!this.va[a||"__aplosDefault__"]};Py.prototype.hasRenderer=Py.prototype.$m;Py.prototype.Wf=function(a,b){b?(b.type&&(b=this.getStyle().mj(b)),this.va[a]=b):delete this.va[a];return this};Py.prototype.setRenderer=Py.prototype.Wf;Py.prototype.Xh=function(a){a.type&&(a=this.getStyle().mj(a));this.va.__aplosDefault__=a;return this};Py.prototype.setDefaultRenderer=Py.prototype.Xh;Py.prototype.Vh=function(a,b){a=this.yg(a,!0);a=a.filter(function(c){return!c.series||!c.series.overlay});(this.Of[yn[b]||"hover"]||null).ri(a.map(function(c){return{series:c.series?c.series:null,datum:c.datum}}));return a.length};Py.prototype.selectDatum=Py.prototype.Vh;Py.prototype.Pn=function(a){this.Xa.nb("seriesMouseover",this,a,wi)};Py.prototype.selectSeries=Py.prototype.Pn;Py.prototype.tl=function(a){(this.Of[yn[a]||"hover"]||null).deselectAll()};Py.prototype.clearSelections=Py.prototype.tl;Py.prototype.yg=function(a,b,c){var e=this.O||[],f=this.N||[];if(!e||!f)return[];if(wi){var l=vi(this.ab.node());var p=l[0];l=l[1]}for(var r=[],t=0;tb||b>this.Za())||!this.v&&(0>a||a>this.yb()))return[];for(var e=new Vt(this.Kb(),this.Lb(),this.Za(),this.yb()),f=new Di(b+e.left,a+e.top),l=[],p=0;pa.Ia-a.Oa?a.show():Az(a,b))})} function Az(a,b){a.ka||(gz(a.na,Math.max(.25*a.N,50)),a.ka=Ep(a.na,"tick",qd(a.zn,a,b)),a.na.start())} w.zn=function(a){a.Dd("hover").de()?Date.now()-this.Ia>this.N&&this.show():xz(this)};function xz(a){a.na.stop();Np(a.ka);a.ka=null} w.md=function(a,b){return this.va(a,b)};vz.prototype.setHovercardContainerStyle=vz.prototype.ao;vz.prototype.hide=vz.prototype.Fh;vz.prototype.followClosestSeries=vz.prototype.fj;vz.prototype.followTopMostSeries=vz.prototype.Il;vz.prototype.followNamedSeries=vz.prototype.Hl;vz.prototype.getPlacer=vz.prototype.Jm;vz.prototype.setPlacer=vz.prototype.li;vz.prototype.placer=vz.prototype.Fn;vz.prototype.getContentRenderer=vz.prototype.yf;vz.prototype.setContentRenderer=vz.prototype.Ye;vz.prototype.contentRenderer=vz.prototype.og;vz.prototype.getShowDelayMs=vz.prototype.Om;vz.prototype.setShowDelayMs=vz.prototype.Dk;vz.prototype.showDelayMs=vz.prototype.no;vz.prototype.getTransitionMs=vz.prototype.Wm;vz.prototype.setTransitionMs=vz.prototype.Gk;vz.prototype.transitionMs=vz.prototype.df;vz.prototype.getClassName=vz.prototype.Vl;vz.prototype.setClassName=vz.prototype.ek;vz.prototype.className=vz.prototype.className;ud("aplos.chart.behavior.Hovercard",vz);function Dz(){this.v=null;this.N=!1} w=Dz.prototype;w.og=function(a){return arguments.length&&null!=a?this.Ye(a):this.yf()};w.yf=function(){return this.v};w.Ye=function(a){this.v=a;return this};w.ad=function(a){if(a&&a.Ki){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.Hi.bind(this,a));a.on("hoverSelectionChange.donutcentercontent",this.Hi.bind(this,a))}};w.ud=function(a){a&&a.Ki&&(a.v(a.N()),this.N=!1,a.on("postrender.donutcentercontent",null),a.on("hoverSelectionChange.donutcentercontent",null))};w.Hi=function(a){var b=a.ub();if(a&&a.Ki&&b&&"function"===typeof b.Cd&&!(b.Cd()=c)throw Error("LIKE pattern ends with a backslash.");f=a.charAt(++e);Jz(f)&&(b+="\\");b+=f;break;case "_":b+=".";break;case "%":b+=".*";break;default:Jz(f)&&(b+="\\"),b+=f}}return b+"$"} function Lz(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 Mz(){} Mz.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 Nz=new Mz;Nz=function(){function a(va,oc,fd,Uc){fd=fd||{};for(Uc=va.length;Uc--;fd[va[Uc]]=oc);return fd} function b(){this.Mc={}} var c=[1,8],e=[1,20],f=[1,26],l=[1,27],p=[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],mc=[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],xg=[1,140],xk=[1,150],yg=[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],We=[1,233],uf=[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],Ee=[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],oe=[2,37],Xe=[1,336],ie=[5,12,17,54,96,97,98,99],yk=[96,97],Bi={trace:function(){},Mc:{},to:{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},Yf:{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"},Sj:[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]],Mh:function(va,oc,fd,Uc,gd,za){va=za.length-1;switch(gd){case 1:return za[va-1];case 7:this.oa=za[va-1];break;case 9:case 10:case 13:this.oa={type:"function",name:za[va-3].toUpperCase(),params:[za[va-1]]};break;case 11:case 14:this.oa={type:"function",name:za[va-5].toUpperCase(),params:[za[va-3],za[va-1]]};break;case 12:case 15:this.oa={type:"function",name:za[va-3].toUpperCase(),params:za[va-1]};break;case 25:case 26:case 27:case 28:this.oa={type:"function",name:za[va-1],params:[za[va-2],za[va]]};break;case 29:this.oa={type:"function",name:"EQUAL",params:[za[va-2],za[va]]};break;case 30:this.oa={type:"function",name:"NOT_EQUAL",params:[za[va-2],za[va]]};break;case 31:this.oa={type:"function",name:"LESS",params:[za[va-2],za[va]]};break;case 32:this.oa={type:"function",name:"LESS_OR_EQUAL",params:[za[va-2],za[va]]};break;case 33:this.oa={type:"function",name:"GREATER",params:[za[va-2],za[va]]};break;case 34:this.oa={type:"function",name:"GREATER_OR_EQUAL",params:[za[va-2],za[va]]};break;case 35:this.oa={type:"function",name:"BETWEEN",params:[za[va-4],za[va-2],za[va]]};break;case 36:this.oa={type:"function",name:"NOT BETWEEN",params:[za[va-4],za[va-2],za[va]]};break;case 37:this.oa={type:"function",name:"AND",params:[za[va-2],za[va]]};break;case 38:this.oa={type:"function",name:"OR",params:[za[va-2],za[va]]};break;case 39:this.oa={type:"function",name:"IS NULL",params:[za[va-1]]};break;case 40:this.oa={type:"function",name:"IS TRUE",params:[za[va-1]]};break;case 41:this.oa={type:"function",name:"IS FALSE",params:[za[va-1]]};break;case 42:this.oa={type:"number",value:+-za[va]};break;case 43:this.oa={type:"number",value:+za[va]};break;case 44:this.oa={type:"string",value:Lz(za[va].substring(1,za[va].length-1))};break;case 45:case 46:this.oa={type:"function",name:za[va-3],params:[za[va-1]]};break;case 47:gd=za[va-1].pathParts.slice();if(2va.length&&(va+=this.Zb.substr(0,20-va.length));return(va.substr(0,20)+(20Uc[0].length)){var Uc=va;var gd=fd;if(this.options.Pi){Uc=this.Kk(va,oc[fd]);if(!1!==Uc)return Uc;if(this.eg)Uc=!1;else return!1}else if(!this.options.flex)break}return Uc?(Uc=this.Kk(Uc,oc[gd]),!1!==Uc?Uc:!1):""===this.Zb?this.Ei:this.parseError("Lexical error on line "+(this.Wb+1)+". Unrecognized text.\n"+ this.Wg(),{text:"",Nk:null,line:this.Wb})},Bj:function(){var va=this.next();return va?va:this.Bj()},Qi:function(va){this.Hb.push(va)},Gn: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 Oz(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 Pz(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 Qz(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 Rz(a,b){Oz("TRUNC(X, Y)","X",a);Oz("TRUNC(X, Y)","Y",b);Pz("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 Sz(a,b){Oz("LOG(X, Y)","X",a);Oz("LOG(X, Y)","X",b);return null==a||null==b?null:+a/+b} ;function Tz(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,l,p,r,t,y,E,ma){if("%"==y)return"%";var na=c.shift();if("undefined"==typeof na)throw Error("[goog.string.format] Not enough arguments");arguments[0]=na;return Uz[y].apply(null,arguments)})} var Uz={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=l+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-l.length;0<=b.indexOf("-",0)?e=l+e+Fh(" ",a):(b=0<=b.indexOf("0",0)?"0":" ",e=l+Fh(b,a)+e);return e},d:function(a,b,c,e,f,l,p,r){return Uz.f(parseInt(a,10),b,c,e,0,l,p,r)}};Uz.i=Uz.d;Uz.u=Uz.d;function Vz(a,b){if(null==a)return!1;if(0===b.length)return!0;b=Kc(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 Wz(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 Xz(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 dA(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 eA(a){if("number"===typeof a){if(Infinity===a)return"inf";if(-Infinity===a)return"-inf";if(isNaN(a))return"NaN"}return""+a} ;function fA(a,b){var c=gA;a=a?a.toUpperCase():a;c.v.has(a)||c.v.set(a,new Map);c=c.v.get(a);for(var e=Kc(Ke(b)),f=e.next();!f.done;f=e.next()){f=f.value;var l=f.toUpperCase();c.set(l,new hA(a,l,b[f]))}} function hA(a,b,c){this.O=a;this.N=b;this.v=c} hA.prototype.call=function(a){for(var b=[],c=0;ce)throw Error("Expected no more than "+c+" args for "+this.N);return this.v.wb?this.v.wb.apply(null,a):this.v.ta.apply(null,a)};hA.prototype.Ma=function(a){return this.v.Ma?this.v.Ma.call(null,a):bA(this.O,this.N,a)};var gA=new function(){this.v=new Map};fA("",{AVG:{wb:Zp},COUNTIF:{wb:bq},SUM:{wb:$p},MIN:{wb:cq},MAX:{wb:dq},COUNT:{wb:aq},COUNT_DISTINCT:{wb:eq},NTH_QUANTILE:{wb:fq},VARIANCE:{wb:hq},STDDEV:{wb:iq},"HLL_COUNT.MERGE":{wb:jq},"HLL_COUNT.EXTRACT":{ua:1,wa:1,ta:function(){throw Error("HLL_COUNT.EXTRACT is not implemented on the client.");}},ABS:{ua:1,wa:1,ta:function(a){Oz("ABS(X)","X",a);return null!=a?Math.abs(+a):null}},SIGN:{ua:1,wa:1,ta:function(a){Oz("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:{ua:2,wa:2,ta:function(a,b){Oz("ATAN(Y, X)","X",a);Oz("ATAN(Y, X)","Y",b);return null==a||null==b?null:Math.atan2(+a,+b)}},REGEXP_MATCH:{ua:2,wa:2,ta: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)},oc:"REGEX"},ENCODE_URI_COMPONENT:{ua:1,wa:1,ta:function(a){return"string"!==typeof a?null:encodeURIComponent(a)}},FORMAT:{ua:2,wa:void 0,ta:function(a){return 2>arguments.length?null:Tz.apply(null,arguments)}},CONCAT:{ua:2,wa:void 0,ta: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(",")+")"},oc:"IN"},"NOT IN":{ua:1,ta:function(a,b){for(var c=[],e=1;ea.length)throw Error("Expected at least one parameter for NOT IN");return a[0]+" NOT IN ("+a.slice(1).join(",")+")"},oc:"NOT_IN"},"IS NULL":{ua:1,wa:1,ta:function(a){return null==a},Ma:function(a){return $z("IS NULL",a)},oc:"IS_NULL"},"IS TRUE":{ua:1,wa:1,ta: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},Ma:function(a){return $z("IS TRUE",a)}},"IS FALSE":{ua:1,wa:1,ta: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},Ma:function(a){return $z("IS FALSE",a)}},BETWEEN:{ua:3,wa:3,ta:function(a,b,c){return null==a||typeof a!==typeof b||typeof a!==typeof c?!1:b<=a&&a<=c},Ma:function(a){return"("+a[0]+" BETWEEN "+a[1]+" AND "+a[2]+")"},oc:"BETWEEN"},"NOT BETWEEN":{ua:3,wa:3,ta:function(a,b,c){return null==a||typeof a!==typeof b||typeof a!==typeof c?!1:b>a||a>c},Ma:function(a){return"("+a[0]+" NOT BETWEEN "+a[1]+" AND "+a[2]+")"},oc:"NOT_BETWEEN"},CAST:{ua:2,wa:2,ta:function(a,b){if(null==a)return null;switch(b.toUpperCase()){case "INT32":return cA(a,-2147483648,2147483647);case "INT64":return cA(a,-0x7fffffffffffffff,0x7fffffffffffffff);case "UINT64":return cA(a,0,1.8446744073709552E19);case "FLOAT":return dA(a,-3.4028234663852886E38,3.4028234663852886E38);case "DOUBLE":return dA(a);case "BOOL":return Ar(a);case "STRING":return eA(a);default:throw Error("CAST to "+b.toUpperCase()+" is not supported.");}},Ma: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:{ua:1,wa:1,ta:function(a){return a}},UNIX_MILLIS:{ua:1,wa:1,ta:function(a){return a}},TIMESTAMP_MICROS:{ua:1,wa:1,ta:function(a){return a}},TIMESTAMP_MILLIS:{ua:1,wa:1,ta:function(a){return 1E3*a}},TIMESTAMP_SECONDS:{ua:1,wa:1,ta:function(a){return 1E6*a}},TIMESTAMP:{ua:1,wa:2,ta:Hq},DATE:{ua:1,wa:2,ta:function(a,b){return Iq(a,"DAY",b)}},DATETIME:{ua:1,wa:1,ta:Hq},AND:{ua:2,ta:function(a){for(var b=[],c=0;c",a)},oc:">"},GREATER_OR_EQUAL:{ua:2,wa:2,ta:function(a,b){return Wz("GREATER_OR_EQUAL",a,b)},Ma:function(a){return Zz(">=",a)},oc:">="},NATIVE_EXPR:{ua:1,wa:1,ta:function(){throw Error("NATIVE_EXPR not yet supported.");}},NATIVE_AGGREGATE:{ua:1,wa:1,wb:function(){throw Error("NATIVE_AGGREGATE not yet supported.");}},TO_JSON_STRING:{ua:1,wa:2,ta:function(a,b){return b?JSON.stringify(a,null,2):JSON.stringify(a)}}});fA("KLL_QUANTILES",{EXTRACT_POINT_INT64:{ta:function(){throw Error("KLL EXTRACT is not supported for in-memory data.");}},MERGE_POINT_INT64:{wb:gq},EXTRACT_POINT_DOUBLE:{ta:function(){throw Error("KLL EXTRACT is not supported for in-memory data.");}},MERGE_POINT_DOUBLE:{wb:gq}});function iA(){this.ka={};this.va={};this.na={};this.ha=[];this.ma={};this.$=[];this.N=null;this.ya=[];this.O=[];this.v={}} w=iA.prototype;w.Mj=function(a,b){this.O.push({tf:a,order:b?b:"ASC"});return this};w.rl=function(){this.O=[];return this};w.Bf=function(){return this.O};w.le=function(a){this.O=a.slice()};w.Bn=function(a,b,c,e){a={tf:a,measure:c,Pq:e||""};"function"===typeof b?a.wb=b:a.uq=b;this.ya.push(a);return this};w.Cn=function(a){this.N=a;return this};w.fl=function(a){Array.isArray(a)?Td(a,function(b){jA(this,b,{zd:"decimal",af:null})},this):jA(this,a,{zd:"decimal",af:null});return this};w.el=function(a){Array.isArray(a)?Td(a,function(b){jA(this,b,{zd:"boolean",af:null})},this):jA(this,a,{zd:"boolean",af:null});return this};w.uj=function(a){a=this.v[a]?this.v[a]:null;var b;if(b=a&&a.zd)a=a.zd,b=!!a&&"number"===kr[a].ac;return b?!0:!1};function jA(a,b,c){a.v[b]?(c.zd&&(a.v[b].zd=c.zd),c.af&&(a.v[b].af=c.af)):a.v[b]=c} w.$k=function(a,b){this.ka[a]=b;return this};w.zl=function(a,b){this.va[a]=b;return this};w.Al=function(a,b){this.na[a]=b;delete this.ma[a];return this};w.Zm=function(a){return this.na[a]||this.ma[a]||this.ka[a]||this.N===a?!0:0<=Sd(this.ha,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=Dh(f));return f} function wA(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=Le(a.v[a.v.length-1],b.split("."));if(null==a)return null;if(!kd(a))throw Error('Error evaluating nest expression: "'+b+'" did not reference an Array');a.forEach(function(l){var p=f;(Le(l,e)||"").split("|").forEach(function(r){var t=p.nest_child_map[r];t|| (t={nest_label:r,nest_children:[],nest_child_map:{}},p.nest_child_map[r]=t,p.nest_children.push(t));p=t});p.nest_children.push(l)});return f} ;function xA(a){this.v=a;this.O=this.N=-1;this.$=0} xA.prototype.next=function(){this.N++;var a=this.v[this.N];"\n"===a?(this.$++,this.O=-1):this.O++;return a};xA.prototype.index=function(){return this.N};function yA(a,b){if(0>b)throw Error("CharacterIterator can only skip forward");for(var c=0;c]*?>","gi"),close:new RegExp("]*?>","gi")})}for(y=0;y(ma?ma.length:0)&&(na=(ma=l.match(E.open))?ma.length:0,ma=l.match(E.close),(ma?ma.length:0)>na)){y=!0;break a}}}y=!1}y?(r=!0,(t=0<=f.toLowerCase().indexOf("'+l:f+'
'+l)&&kn(a,b,t,e,void 0),y=oj(a).select(".aplos-placeholder"),t=y.node(),f=t.parentNode,t=t.nextSibling?t.nextSibling:void 0,y.remove()):(f&&kn(a,b,f,e,void 0),f=a);y=void 0;for(E=0;E=l?aB.Jk(f,p,c.height-l):f=p;var t=[];f.forEach(function(y){t.push({width:e,height:y})});return t},Mq:function(a,b,c){for(var e=c.height,f=[],l=0,p=[],r=0;r=l?aB.Jk(f,p,c.width-l):f=p;var t=[];f.forEach(function(y){t.push({width:y,height:e})});return t},Jk:function(a,b,c){for(var e=0;ec&&f.style("height",c+"px");a.ma||l.scrollHeight<=c&&f.style("overflow-y",null);e=aB.kj(a.O,b,a.v);if(Ee?p.style("width",r+"px"):Math.ceil(p.node().getBoundingClientRect().width)>r?p.style("width",r+"px"):p.style("width","auto");c=Math.ceil(l.getBoundingClientRect().width);0e?(f.style("overflow-x","auto"),f.style("width",Math.min(e,c)+"px")):(f.style("overflow-x"),f.style("width","auto"));iB(a,b)}else f.style("display","none"),f.selectAll(".aplos-legend-column").remove(),l.style("display","none")} function jB(a,b){var c=b.node().getBoundingClientRect(),e=c.top;a=(a.$?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,Io:c}} function fB(a,b,c,e){var f=b.Sa.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(gB(a),!0).style("width","100%").append("tbody").selectAll(".aplos-legend-entry").data(e);e=a.ze(b,e);a.update(b,e,0);var l=jB(a,c),p=e.empty()?0:e.node().getBoundingClientRect().top,r=aB.jj(a.O,b,a.v)-(p-l.top)-l.Io,t=[[]],y=0,E=p;e.each(rd(function(ma,na){var ta=this.getBoundingClientRect(),ua=ta.top;ta=ua-E+ta.height;0r||t[y].length===ma.Ig)&&(t[y+=1]=[],E=ua);t[y].push(na)},a));f.remove();return t} function iB(a,b){var c=b.Sa.select(".aplos-legend");aB.Hn(b,a.O,a.v,c);c.attr("data-position",qd(function(){var e=Me(YA,function(f){return $A(this.v)===f},this);return null!=e?e.toLowerCase():null},a))} w.ze=function(a,b){var c=this.Fj(a);return b.enter().append("tr").classed("aplos-legend-entry",!0).attr("tabindex",c&&this.ya?"0":null).on("click.legend",c).on("keypress.legend",this.ya?c:null).on("mouseover.legend",this.Hj(a)).on("mouseout.legend",this.Gj(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){kB(this,b);b.empty()||oj(b.node().parentElement).select(".aplos-legend-box-cell").style("width",this.na.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 kB(a,b){var c=a.Ia||wn();c["svg-sample"]||(c["svg-sample"]=a.Ka.v(a.na));b.each(rd(function(e,f){e=ln(f,"
"+(f.categorySeparator?e.sf:e.mh)+"
",c)[0];for(e=oj(e).select("tr").node();e.childNodes.length;)this.appendChild(e.childNodes[0])},a));b.classed("aplos-legend-category",function(e){return e.categorySeparator})} function hB(a){a.each(function(){oj(this.nextElementSibling).remove()});a.attr("opacity",0).on("click.legend",null).on("mouseover.legend",null).on("mouseout.legend",null).remove()} w.al=function(a,b){b.ye(new lB(a,this))};function gB(a){return null!=a.sf?"aplos-legend-table-category":"aplos-legend-table"} function lB(a,b){this.N=a;this.v=b} w=lB.prototype;w.xh=function(){var a={position:mB(this),If:30},b=this.v.xg();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.$f=function(a){cB(this.v,this.N,this.v.lb,this.v.Ya,{top:0,right:a.width,bottom:a.height,left:0});var b=this.N.Sa.select(".aplos-legend");if(b.empty())return{Ba:{width:0,height:0},rb:{width:0,height:0},yc:!0};var c=mB(this),e=Yg(a,this.v.Le(),c);if(null!=e)return e;var f=b.node(),l=f.offsetWidth;e=f.offsetHeight;f=Math.ceil(f.getBoundingClientRect().width);f==l+1&&(l=f);var p=l;f=e;b=b.selectAll(".aplos-legend-column");var r=b.size();switch(c){case 5:case 6:1t&&(t=y.size())});c=this.N.Sa.select(".aplos-legend-title");c=sj(c.node());0a.width&&(p=a.width);f>a.height&&(f=a.height);l>a.width&&(l=a.width);e>a.height&&(e=a.height);return{Ba:{width:p,height:f},rb:{width:l,height:e},yc:!1}};w.zh=function(){return 0};w.Ah=function(){return 0};w.Tg=function(a){var b=a.right-a.left;this.v.O=a;a=this.N.Sa.select(".aplos-legend").node();b!=a.offsetWidth&&iB(this.v,this.N)};w.zf=function(){return this.v.O};function mB(a){switch($A(a.v.v)){case YA.LEFT:return 5;case YA.RIGHT:return 6;case YA.TOP:case YA.TOP_FULL_LEFT:case YA.TOP_FULL_RIGHT:return 2;case YA.TOP_LEFT:case YA.TOP_RIGHT:return 1;case YA.BOTTOM:case YA.BOTTOM_FULL_LEFT:case YA.BOTTOM_FULL_RIGHT:return 4;case YA.BOTTOM_LEFT:case YA.BOTTOM_RIGHT:return 3;default:return 0}} ;function nB(){this.N=new fx;this.v=new oB("",void 0);this.v.next=this.v.v=this.v} w=nB.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 oB(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 pB(this,this.v.next)};w.pop=function(){return pB(this,this.v.v)};w.remove=function(a){return(a=this.N.get(a))?(a.remove(),this.N.remove(a.key),!0):!1};function qB(a){return a.map(function(b){return b})} w.contains=function(a){return rB(this,function(b){return b==a})};w.clear=function(){this.ef(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};function rB(a,b){for(var c=a.v.next;c!=a.v;c=c.next)if(b.call(void 0,c.value,c.key,a))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.ef=function(a){for(;this.N.size>a;){var b=this.v.next;b.remove();this.N.remove(b.key)}};function pB(a,b){a.v!=b&&(b.remove(),a.N.remove(b.key));return b.value} function oB(a,b){this.key=a;this.value=b} oB.prototype.remove=function(){this.v.next=this.next;this.next.v=this.v;delete this.v;delete this.next};ud("aplos.chart.behavior.SeriesLegendClickHandling",{NONE:0,HIDE:1});function sB(a){bB.call(this,a||'{{svg-sample}} {{series.name}}');this.Da=!1;this.ka={};this.Ra=!1;this.N={};this.ha=[];this.Oa=[];this.La="series_asc";this.va=1} vd(sB,bB);ud("aplos.chart.behavior.SeriesLegend",sB);var tB=null,uB=null;sB.prototype.Ho=function(a){return null!=a?(this.Da=a,a||(this.ka={}),this):this.Da};sB.prototype.valuesFromNearestDatum=sB.prototype.Ho;sB.prototype.bn=function(a){if(null==a)return this.Ra;this.Ra=!!a;return this};sB.prototype.hideEmptySeries=sB.prototype.bn;sB.prototype.cn=function(a){this.N[a]=!0;return this};sB.prototype.hideSeries=sB.prototype.cn;sB.prototype.Pg=function(a){if(null==a)return this.La;this.La=a;return this};sB.prototype.ordering=sB.prototype.Pg;sB.prototype.Vi=function(a){if(null==a)return this.va;this.va=a;return this};sB.prototype.clickHandling=sB.prototype.Vi;w=sB.prototype;w.ad=function(a){var b=this;sB.Pb.ad.call(this,a);a.on("mouseout.seriesLegend",function(){this.Da&&(this.ka={},a.Xe())},this);a.on("mousemove.seriesLegend",function(){if(this.Da){for(var c=a.Af(),e=0;ethis.N)a.Dd("hover").deselectAll(),xB(this);else{var e=[c];switch(this.$){case 0:void 0!==c.domain&&(e=a.yg(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.Dd("hover").ri(b.map(function(c){return{series:c.series?c.series:null,datum:c.datum}}));zB(this,a)};function zB(a,b){if(!a.v){var c="selectnearest_"+Date.now();oj(a.ha).on("mouseout."+c,function(){var e=b.ab.select(".mouseCapturePane").node(),f;if(f=wi&&wi.target)e?(f=Ci(e),e=e.getBoundingClientRect(),f=0<=f[0]&&f[0]*{line-height:normal}.aplos-chart text{letter-spacing:0}.aplos-chart .aplos-draw-area{cursor:default}.aplos-chart .aplos-draw-area.aplos-cursor-grabbing{cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.aplos-chart .slider-widget{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.axis path,.axis line{fill:none;stroke:#000;shape-rendering:crispEdges}.aplos-chart .area{opacity:.25}.aplos-table-viewport{overflow:hidden}.aplos-table-chart .padder,.aplos-table-chart .open-pivot-key,.aplos-table-chart .contract-pivot-key{float:left}.aplos-table-chart .pivot-key{display:block;overflow:hidden;text-overflow:ellipsis}.aplos-synthetic-row-header{text-align:right}.aplos-fixed-headers-table{position:absolute;margin:0}.aplos-fixed-headers-table .aplos-table-thead,.aplos-fixed-headers-table .aplos-table-tfoot{overflow:hidden}.aplos-fixed-headers-table .aplos-table-tbody{overflow:auto}.aplos-frozen-columns{position:absolute}.aplos-frozen-columns-table{margin:0;border-right:0;border-left:0}.aplos-frozen-columns-table .aplos-table-thead,.aplos-frozen-columns-table .aplos-table-tbody,.aplos-frozen-columns-table .aplos-table-tfoot{display:block;overflow:hidden;background:white}.aplos-googlemap-label{color:#424242;fill:#757575;font-family:\'Roboto\',sans-serif;font-size:14px;stroke:none;white-space:nowrap}.aplos-legend{position:absolute;line-height:1em;overflow-x:auto;overflow-y:hidden}.aplos-legend-title{font-size:16px;line-height:16px;padding:0 0 20px}.aplos-legend-entry{font-size:13px}.aplos-legend-entry-clickable{cursor:pointer}.aplos-legend-entry-hidden{opacity:.26}.aplos-legend-box-cell{padding:0 8px 0 0}[dir="rtl"] .aplos-legend-box-cell{padding:0 0 0 8px}.aplos-legend-columns{white-space:nowrap}.aplos-legend-column{display:inline-block;vertical-align:top;padding:0 15px 0 0}.aplos-legend-column:only-child{max-width:100%}.aplos-legend-column:last-child{padding:0;min-width:0}[dir="rtl"] .aplos-legend-column{padding:0 0 0 15px}[dir="rtl"] .aplos-legend-column:last-child{padding:0}.aplos-legend-table{table-layout:fixed;border-spacing:0}.aplos-legend-table-category{table-layout:auto;border-spacing:0}.aplos-legend-entry{vertical-align:top}.aplos-legend-box-cell{vertical-align:middle}.aplos-legend-label-cell{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.aplos-legend-value-cell{white-space:nowrap;text-align:right}.aplos-legend-row-spacer{height:8px}.aplos-rolelegend-colorrange svg{display:block}.aplos-rolelegend-colorrange-box{stroke:#ccc}.aplos-rolelegend-sizerange svg{display:block}.aplos-rolelegend-sizerange-axis,.aplos-rolelegend-sizerange-axistick{stroke:darkgray;stroke-width:1px}.aplos-rolelegend-mapping svg{display:block}.aplos-hovercard{background:white;border:1px solid #e0e0e0;border-radius:2px;box-shadow:0 1px 4px rgba(0,0,0,.16);color:#757575;font-size:14px;line-height:20px;padding:12px 16px;position:absolute;text-align:left;white-space:nowrap}.aplos-hovercard .aplos-renderer-key{margin-right:8px}.plx-tooltip-header{color:#424242;font-weight:500;margin-bottom:4px}.aplos-donut-center{background:transparent;border-width:0;color:#757575;line-height:20px;padding:0;position:absolute;text-align:center;white-space:normal}.aplos-chart .aplos-table-sort-index{color:#ccc;display:inline;font-size:9px;margin:0;padding:2px 2px 2px 6px;vertical-align:middle}.aplos-sort-indicator-asc{display:inline-block;height:0;width:0;position:relative;top:-4px;border:4px solid transparent;border-bottom-color:#000}.aplos-sort-indicator-desc{display:inline-block;height:0;width:0;border:4px solid transparent;border-top-color:#000}.breadcrumb{height:35px}.breadcrumb .chip{display:inline-block;margin:2px 0 2px 2px;vertical-align:top}.breadcrumb .chip div{display:inline-block;vertical-align:top}.breadcrumb .chip .chip-tail{width:0;height:0;border-top:12px solid #fdd0a2;border-bottom:12px solid #fdd0a2;border-left:10px solid transparent;margin-left:-10px}.breadcrumb .chip .chip-text{border-right:none;cursor:pointer;padding:5px 10px;background:#fdd0a2;font-size:11px;height:14px;box-sizing:content-box}.breadcrumb .chip .chip-arrow{width:0;height:0;border-top:12px solid transparent;border-bottom:12px solid transparent;border-left:10px solid #fdd0a2}.aplos-selector-view{overflow:hidden;white-space:nowrap;display:block}.aplos-selector-view .selector-item{background:none;border-bottom:2px solid transparent;box-sizing:border-box;color:#777;font-weight:normal;cursor:pointer;display:inline-block;font-size:14px;padding:4px;margin:4px;transition:background-color .15s,border-bottom .15s}.aplos-selector-view .selector-item:hover{color:#222}.aplos-selector-view .selector-item.active{border-bottom:2px solid #4285f4;color:#4285f4;font-weight:bold}.collapsibleheatmap-modeselector-holder{position:absolute;top:0;left:0;right:0;text-align:center}.aplos-chart .cell-label-group text{font-weight:bold}.range-selector .extent{fill:#000;fill-opacity:.04;shape-rendering:crispEdges}.range-selector .unselected{fill:#fff;fill-opacity:.8}.range-selector .brush-handle-bar{stroke:#9e9e9e;stroke-width:1px;shape-rendering:crispEdges}.range-selector .brush-handle-thumb{fill:#fff}.range-selector .brush-handle-mark{stroke:#bbb;stroke-width:2px;shape-rendering:crispEdges}.aplos-badge{display:inline-block;position:absolute;top:10px;right:10px}.aplos-message-overlay{margin:0 15px}.aplos-message-warning-badge{width:24px;height:24px;overflow:hidden;border:none;background-size:24px;background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPjxzdmcgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHg9IjBweCIgeT0iMHB4IiB3aWR0aD0iMjRweCIgaGVpZ2h0PSIyNHB4IiB2aWV3Qm94PSIwIDAgMjQgMjQiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDI0IDI0Ij48ZyBpZD0iSGVhZGVyIj48Zz48cmVjdCB4PSItNjE4IiB5PSItNTY4IiBmaWxsPSJub25lIiB3aWR0aD0iMTQwMCIgaGVpZ2h0PSIzNjAwIi8+PC9nPjwvZz48ZyBpZD0iSWNvbiI+PGc+PHJlY3QgZmlsbD0ibm9uZSIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ii8+PHBhdGggZmlsbD0iI2ZmYjc0ZCIgZD0iTTEsMjFoMjJMMTIsMkwxLDIxeiBNMTMsMThoLTJ2LTJoMlYxOHogTTEzLDE0aC0ydi00aDJWMTR6Ii8+PC9nPjwvZz48L3N2Zz4=)}.aplos-message-icon-error{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPjxzdmcgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHg9IjBweCIgeT0iMHB4IiB3aWR0aD0iMjRweCIgaGVpZ2h0PSIyNHB4IiB2aWV3Qm94PSIwIDAgMjQgMjQiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDI0IDI0Ij48ZyBpZD0iSGVhZGVyIj48Zz48cmVjdCB4PSItNjE4IiB5PSItNTY4IiBmaWxsPSJub25lIiB3aWR0aD0iMTQwMCIgaGVpZ2h0PSIzNjAwIi8+PC9nPjwvZz48ZyBpZD0iSWNvbiI+PGc+PHJlY3QgZmlsbD0ibm9uZSIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ii8+PHBhdGggZmlsbD0iI2ZmMTc0NCIgZD0iTTEsMjFoMjJMMTIsMkwxLDIxeiBNMTMsMThoLTJ2LTJoMlYxOHogTTEzLDE0aC0ydi00aDJWMTR6Ii8+PC9nPjwvZz48L3N2Zz4=);display:inline-block;position:absolute;top:-5px;left:-30px;width:24px;height:24px;overflow:hidden;border:none;background-size:24px}.aplos-message{font-weight:normal;font-size:14px;color:#7f7f7f;line-height:initial}.aplos-chart .arc-border{stroke:white;stroke-width:2}.aplos-chart .empty-pie{fill:#eee}.aplos-chart .arc-label-container{display:table;max-height:50px;max-width:50px}.aplos-chart .arc-label{display:table-cell;height:100%;text-align:center;vertical-align:middle}.aplos-chart .arc-leader-line,.aplos-chart .arc-leader-line-tail{stroke:#9e9e9e}.html-container>body{background:transparent}.aplos-chart .padder{display:inline-block;width:1em}.aplos-annotation-hover-content{color:#db4437}.aplos-annotation{cursor:default;shape-rendering:crispEdges}.aplos-annotation-base,.aplos-annotation-pole{stroke:#ccc;stroke-linecap:square;stroke-width:2px}.aplos-annotation-flag{fill:#fff;fill-opacity:.6;stroke:#ccc;stroke-width:1px}.aplos-annotation:hover .aplos-annotation-base,.aplos-annotation:hover .aplos-annotation-pole,.aplos-annotation:hover .aplos-annotation-flag{fill-opacity:1;stroke:#666}.aplos-annotation:hover text{fill:#000}.aplos-chart .dot-follow-domain-line,.aplos-chart .dot-follow-measure-line{stroke:#757575;stroke-dasharray:1,3;pointer-events:none}.aplos-chart .dot-follow-point-group,.aplos-line-annotation-layer{pointer-events:none}.aplos-chart .line-annotation .annotation-label{font-size:11px}.ginsu-style .axis line,.quantum-style .axis line,.ginsu-style .axis path,.quantum-style .axis path{stroke:#eee}.quantum-style .baseline-group .baseline,.quantum-style .axis .strong-tick-mark{stroke:#9e9e9e}.ginsu-style text,.quantum-style text{fill:#757575;font-family:\'Roboto\',sans-serif;font-size:12px;stroke:none}.ginsu-style .axis-title,.quantum-style .axis-title{fill:#424242}.ginsu-style .arc-label,.quantum-style .arc-label{fill:#fff;color:#fff;font-weight:500}.ginsu-style .arc[data-label-position="outside"] .arc-label,.quantum-style .arc[data-label-position="outside"] .arc-label,.ginsu-style .html-container[data-label-position="outside"] .arc-label,.quantum-style .html-container[data-label-position="outside"] .arc-label{fill:inherit;color:inherit}.ginsu-style .aplos-legend-entry,.quantum-style .aplos-legend-entry{color:#757575;font-family:\'Roboto\',sans-serif;font-size:14px}.ginsu-style .legend-color-chip,.quantum-style .legend-color-chip{display:inline-block;width:10px;height:10px;overflow:hidden}.marker-label{font-size:10px}.aplos-chart .node rect{shape-rendering:crispEdges}.aplos-chart .node text{pointer-events:none;text-shadow:0 1px 0 #fff}.aplos-chart .link{fill:none;stroke:#000;stroke-opacity:.2}.aplos-chart .link:hover{stroke-opacity:.5}.aplos-chart .error-group .error-bar,.aplos-chart .error-group .error-upper-whisker,.aplos-chart .error-group .error-lower-whisker{stroke-width:1px}.ginsu-style .chart-title,.quantum-style .chart-title{color:#757575;font-size:16px}.aplos-table-view{height:100%;outline:none;position:relative;width:100%}.aplos-table-view :focus{outline:none}.aplos-table{border-spacing:0;table-layout:fixed;width:1px}.aplos-sizing-table{border-spacing:0}.aplos-table-header{font-weight:500;overflow:hidden;position:relative}.aplos-table-body,.aplos-table-footer{overflow:hidden;position:relative}.aplos-footer-row-name{text-align:right}.aplos-table td{margin:0;overflow:hidden;padding:0;text-overflow:ellipsis;vertical-align:top}.aplos-table .row-number-cell{-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none}.aplos-data-row.aplos-selected{background-color:#f5f5f5}.aplos-table .padder,.aplos-table .open-pivot-key,.aplos-table .contract-pivot-key{float:left}.aplos-table .pivot-key{display:block;overflow:hidden;text-overflow:ellipsis}.aplos-data-row.aplos-hover{background-color:#eee}.aplos-scrollbar{position:absolute}.aplos-horizontal-scrollbar{bottom:0;overflow-x:scroll;overflow-y:hidden}.aplos-vertical-scrollbar{right:0;overflow-x:hidden;overflow-y:scroll}.aplos-table-view.aplos-quantum-style{background-color:white;border:0;box-shadow:0 3px 1px -2px rgba(0,0,0,.14),0 2px 2px 0 rgba(0,0,0,.098),0 1px 5px 0 rgba(0,0,0,.084);color:rgba(0,0,0,.87);font-family:Roboto;font-size:13px}.aplos-quantum-style .aplos-table-header{border-bottom:1px solid rgba(0,0,0,.12);color:rgba(0,0,0,.54);cursor:pointer;font-size:12px;text-align:left}.aplos-quantum-style .aplos-column-header .aplos-content-holder{display:block;margin:16px 8px;overflow:hidden;text-overflow:ellipsis}.aplos-quantum-style .aplos-column-header.aplos-sort .aplos-content-holder{color:rgba(0,0,0,.87)}.aplos-quantum-style .aplos-column-header .aplos-content{white-space:nowrap}.aplos-quantum-style .aplos-table-cell .aplos-content{margin:8px;overflow:hidden;text-overflow:ellipsis;white-space:pre-wrap}.aplos-quantum-style .aplos-column-header{position:relative}.aplos-quantum-style .aplos-table-cell,.aplos-quantum-style .aplos-padding-cell{border-bottom:1px solid #e0e0e0;padding:0}.aplos-quantum-style .aplos-data-row.aplos-hover{background-color:#eee}.aplos-quantum-style .row-number-cell{color:rgba(0,0,0,.54);font-size:12px;font-weight:500}.aplos-quantum-style .row-number-cell .aplos-content-holder{color:rgba(0,0,0,.54);font-size:12px;font-weight:500;margin:8px 0 8px 8px}.aplos-quantum-style .aplos-table-cell.row-number-cell .aplos-content{margin:8px 0 8px 16px}.aplos-quantum-style a{cursor:pointer;text-decoration:none}.aplos-quantum-style a:hover{text-decoration:underline}.aplos-quantum-style a,.aplos-quantum-style a:visited,.aplos-quantum-style a:active{color:#4d90fe}.aplos-quantum-style .pivot-key-group{padding:8px}.aplos-quantum-style .aplos-sort-indicator-asc{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMzJweCIgaGVpZ2h0PSIzMnB4IiB2aWV3Qm94PSIwIDAgMzIgMzIiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2gvbnMiPiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4gICAgICAgIDxnIGlkPSJpYy11cC1hcnJvdyIgc2tldGNoOnR5cGU9Ik1TTGF5ZXJHcm91cCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTguMDAwMDAwLCAtOC4wMDAwMDApIj4gICAgICAgICAgICA8cGF0aCBkPSJNMCwwIEw0OCwwIEw0OCw0OCBMMCw0OCBMMCwwIEwwLDAgWiIgaWQ9IlNoYXBlIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+ICAgICAgICAgICAgPHBhdGggZD0iTTgsMjQgTDEwLjgzLDI2LjgzIEwyMiwxNS42NiBMMjIsNDAgTDI2LDQwIEwyNiwxNS42NiBMMzcuMTcsMjYuODMgTDQwLDI0IEwyNCw4IEw4LDI0IEw4LDI0IFoiIGlkPSJTaGFwZSIgZmlsbD0iIzAwMDAwMCIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPiAgICAgICAgPC9nPiAgICA8L2c+PC9zdmc+);background-position:2px 2px;background-repeat:no-repeat;background-size:9px;border:none;height:11px;opacity:.8;top:0;width:1em}.aplos-quantum-style .aplos-sort-indicator-desc{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMzJweCIgaGVpZ2h0PSIzMnB4IiB2aWV3Qm94PSIwIDAgMzIgMzIiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2gvbnMiPiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4gICAgICAgIDxnIGlkPSJpYy1kb3duLWFycm93IiBza2V0Y2g6dHlwZT0iTVNMYXllckdyb3VwIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtOC4wMDAwMDAsIC04LjAwMDAwMCkiPiAgICAgICAgICAgIDxwYXRoIGQ9Ik0wLDAgTDQ4LDAgTDQ4LDQ4IEwwLDQ4IEwwLDAgTDAsMCBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4gICAgICAgICAgICA8cGF0aCBkPSJNOCwyNCBMMTAuODMsMjYuODMgTDIyLDE1LjY2IEwyMiw0MCBMMjYsNDAgTDI2LDE1LjY2IEwzNy4xNywyNi44MyBMNDAsMjQgTDI0LDggTDgsMjQgTDgsMjQgWiIgaWQ9IlNoYXBlIiBmaWxsPSIjMDAwMDAwIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyNC4wMDAwMDAsIDI0LjAwMDAwMCkgc2NhbGUoMSwgLTEpIHRyYW5zbGF0ZSgtMjQuMDAwMDAwLCAtMjQuMDAwMDAwKSAiPjwvcGF0aD4gICAgICAgIDwvZz4gICAgPC9nPjwvc3ZnPg==);background-position:2px 2px;background-repeat:no-repeat;background-size:9px;border:none;height:11px;opacity:.8;top:0;width:1em}.aplos-quantum-style .aplos-footer-row{background:#f5f5f5;border-top:1px solid #e0e0e0}.aplos-quantum-style::-webkit-scrollbar{height:8px;width:8px}.aplos-quantum-style ::-webkit-scrollbar{height:8px;overflow:visible;width:8px}.aplos-quantum-style ::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,0.2);background-clip:padding-box;border:solid transparent;min-height:28px;padding:100px 0 0;box-shadow:inset 1px 1px 0 rgba(0,0,0,0.1),inset 0 -1px 0 rgba(0,0,0,0.07);border-width:1px}.aplos-quantum-style ::-webkit-scrollbar-button{height:0;width:0}.aplos-quantum-style ::-webkit-scrollbar-track{background-clip:padding-box;border:solid transparent;border-width:0 0 0 4px}.aplos-quantum-style ::-webkit-scrollbar-corner{background:transparent}.aplos-column-resizer{height:0;position:absolute}.aplos-column-resizer-inner{position:absolute}.aplos-sizer-grip{position:absolute;width:8px;cursor:ew-resize;top:0;left:0}.aplos-sizer-line{height:100%;margin-left:50%}.aplos-sizer-grip.aplos-hover>.aplos-sizer-grip-inner{background-color:#e0e0e0;top:8px;bottom:8px;left:3px;right:3px;position:absolute}.aplos-chart .row-axis .tick-line,.aplos-chart .column-axis .tick-line{fill:none;stroke:#000;shape-rendering:crispEdges}.aplos-chart .waterfall-transition{shape-rendering:crispEdges}.aplos-quantum-checkbox{-webkit-appearance:none;-moz-appearance:none;background:none;border:2px solid rgba(0,0,0,0.54);border-radius:2px;box-sizing:border-box;cursor:pointer;height:15px;width:15px;outline:none;vertical-align:top;margin:0}.aplos-quantum-checkbox:checked,.aplos-quantum-checkbox:indeterminate{background-color:#757575;border:none}.aplos-quantum-checkbox:checked::after{border-bottom:2px solid #fff;border-left:2px solid #fff;content:"";display:block;height:4px;transform:translate(2px,3px) rotate(-45deg) scale(1)!important;width:9px!important}.aplos-quantum-checkbox:indeterminate::after{border-bottom:2px solid #fff;content:"";display:block;height:0;transform:translate(3px,6px) scale(1)!important;width:9px!important}.aplos-quantum-numbers .value{display:block;width:15px;text-align:center}.aplos-quantum-numbers .aplos-quantum-checkbox{display:none;pointer-events:none}.aplos-quantum-numbers .aplos-quantum-checkbox:only-child{display:block}.aplos-data-row:hover .aplos-quantum-numbers .value{display:none}.aplos-data-row:hover .aplos-quantum-numbers .aplos-quantum-checkbox{display:block}.aplos-highlight{background-color:yellow}.aplos-highlight-active{background-color:orange}.aplos-scorecard{color:rgba(0,0,0,.87);cursor:default;display:flex;flex-direction:row;flex-wrap:wrap;font-family:\'Roboto\',sans-serif;font-size:13px}.aplos-scorecard .aplos-series{margin:24px}.aplos-scorecard-title{font-weight:normal;font-size:1em;margin:0 0 8px}.aplos-scorecard .aplos-positive{color:#0f9d58}.aplos-scorecard .aplos-negative{color:#f3574c}.aplos-scorecard-subtitle{margin-top:8px;color:rgba(0,0,0,0.54)}.aplos-scorecard-metric{font-size:32px}.aplos-chart .symbol-annotation-separator,.aplos-chart .symbol-annotation-bottom-separator{stroke:gray;shape-rendering:crispEdges}text.symbol-annotation-series-label-error{opacity:.4;fill:#db4437}.aplos-chart .event-annotation-content{color:#757575;font-family:\'Roboto\',sans-serif;font-size:12px;padding:0 4px}.aplos-chart .event-annotation-content .annotation-title{font-weight:600}.aplos-chart .event-annotation-content .subdominant-additional-text,.aplos-chart .event-annotation-content .annotation-title,.aplos-chart .event-annotation-content .date{fill:#a3a3a3}.aplos-chart .event-annotation-content .range-line,.aplos-chart .event-annotation-content .marker-line{stroke:#d2d2d2;shape-rendering:crispEdges}.aplos-chart .event-annotation-content .subdominant-lines{stroke:#f2f2f2;shape-rendering:crispEdges}.aplos-a11y-content{color:transparent;position:absolute;left:0;top:0;width:1px;height:1px;overflow:hidden}.aplos-multiselect-brush.brush-hidden{opacity:0}.aplos-multiselect-brush .selection{fill:none;shape-rendering:crispEdges;stroke:rgba(0,0,0,.12)}.aplos-multiselect-brush .overlay{fill:#fff;fill-opacity:0;transition:fill-opacity .2s}.aplos-multiselect-brush .overlay.overlay-visible{fill-opacity:.69}.aplos-multiselect-hide-brush-overlay .aplos-multiselect-brush .overlay{fill:none}.aplos-range-selection .overlay{fill:#fff;fill-opacity:0;transition:fill-opacity .2s}.aplos-range-selection .overlay.visible{fill-opacity:.7}.aplos-range-selection .selection{fill:none;shape-rendering:crispEdges;stroke:#9e9e9e}.aplos-range-selection-domain-handle{opacity:0;transition:opacity .1s}.aplos-range-selection-domain-handle.visible{left:0;opacity:1;position:absolute;top:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.aplos-range-selection-domain-handle span{background:rgba(97,97,97,.9);border-radius:1px;color:#fff;cursor:move;display:inline-block;font-size:10px;padding:5px 8px;transform:translate(-50%,-50%)}.aplos-databox-overlay{display:none;position:absolute;top:0;left:0}.aplos-databox-overlay.visible{display:block}.aplos-legacy-style .aplos-spark-cell,.aplos-quantum-style .aplos-spark-cell{vertical-align:middle}.aplos-spark-bar{height:1em}.aplos-spark-bar.positive{background:#4d90fe;border-radius:0 4px 4px 0}.aplos-spark-bar.negative{background:#db4437;border-radius:4px 0 0 4px}\n',og);var hj=Ad||(Ad=new fj),BB=hj.v;if(af&&BB.createStyleSheet){var CB=BB.createStyleSheet();Ez(CB)}else{var DB=gj("HEAD")[0];if(!DB){var EB=gj("BODY")[0];DB=hj.Xi("HEAD");EB.parentNode.insertBefore(DB,EB)}var FB=hj.Xi("STYLE"),GB=Wg('style[nonce],link[rel="stylesheet"][nonce]');GB&&FB.setAttribute("nonce",GB);Ez(FB);hj.appendChild(DB,FB)}; var Mh,Vh,ai,di,ei,gi,hi,ji,tr,sr,wi,Ci,oj,Dj,Uj,fk,Fq,er,fr,kA,iu,Hu,sw,vw,ww,Ix,Lx,Rx,Sx,Tx,Ux,Vx,Wx,Xx,Yx,Zx,zy,HB;(function(){function a(k){return function(){return this.matches(k)}} function b(k,h){return kh?1:k>=h?0:NaN} function c(k){1===k.length&&(k=e(k));return{left:function(h,n,u,x){null==u&&(u=0);null==x&&(x=h.length);for(;u>>1;0>k(h[z],n)?u=z+1:x=z}return u},right:function(h,n,u,x){null==u&&(u=0);null==x&&(x=h.length);for(;u>>1;0(x=arguments.length)?(h=k,k=0,1):3>x?1:+n;for(var u=-1,x=Math.max(0,Math.ceil((h-k)/n))|0,z=Array(x);++u=lo?10:h>=mo?5:h>=no?2:1)*Math.pow(10,k):-Math.pow(10,-k)/(h>=lo?10:h>=mo?5:h>=no?2:1)} function r(k,h,n){var u=Math.abs(h-k)/Math.max(0,n);n=Math.pow(10,Math.floor(Math.log(u)/Math.LN10));u/=n;u>=lo?n*=10:u>=mo?n*=5:u>=no&&(n*=2);return hh?1:k>=h?0:NaN} function Qa(k){return function(){this.removeAttribute(k)}} function Wa(k){return function(){this.removeAttributeNS(k.space,k.local)}} function Db(k,h){return function(){this.setAttribute(k,h)}} function Eb(k,h){return function(){this.setAttributeNS(k.space,k.local,h)}} function Fb(k,h){return function(){var n=h.apply(this,arguments);null==n?this.removeAttribute(k):this.setAttribute(k,n)}} function Gb(k,h){return function(){var n=h.apply(this,arguments);null==n?this.removeAttributeNS(k.space,k.local):this.setAttributeNS(k.space,k.local,n)}} function Hb(k){return function(){this.style.removeProperty(k)}} function Ib(k,h,n){return function(){this.style.setProperty(k,h,n)}} function Jb(k,h,n){return function(){var u=h.apply(this,arguments);null==u?this.style.removeProperty(k):this.style.setProperty(k,u,n)}} function $a(k,h){return k.style.getPropertyValue(h)||(k.ownerDocument&&k.ownerDocument.defaultView||k.document&&k||k.defaultView).getComputedStyle(k,null).getPropertyValue(h)} function Kb(k){return function(){delete this[k]}} function Lb(k,h){return function(){this[k]=h}} function Mb(k,h){return function(){var n=h.apply(this,arguments);null==n?delete this[k]:this[k]=n}} function fb(k){return k.classList||new ub(k)} function ub(k){this.Mi=k;this.Td=(k.getAttribute("class")||"").trim().split(/^|\s+/)} function vb(k,h){k=fb(k);for(var n=-1,u=h.length;++n>8&15|h>>4&240,h>>4&15|h&240,(h&15)<<4|h&15,1)):(h=NB.exec(k))?zb(parseInt(h[1],16)):(h=OB.exec(k))?new La(h[1],h[2],h[3],1):(h=PB.exec(k))?new La(255*h[1]/100,255*h[2]/100,255*h[3]/100,1):(h=QB.exec(k))?Ab(h[1],h[2],h[3],h[4]):(h=RB.exec(k))?Ab(255*h[1]/100,255*h[2]/100,255*h[3]/100,h[4]):(h=SB.exec(k))?Bb(h[1],h[2]/100,h[3]/100,1):(h=TB.exec(k))?Bb(h[1],h[2]/100,h[3]/100,h[4]):Pu.hasOwnProperty(k)?zb(Pu[k]):"transparent"===k?new La(NaN,NaN,NaN,0):null} function zb(k){return new La(k>>16&255,k>>8&255,k&255,1)} function Ab(k,h,n,u){0>=u&&(k=h=n=NaN);return new La(k,h,n,u)} function hb(k){k instanceof Xa||(k=Ya(k));if(!k)return new La;k=k.rgb();return new La(k.r,k.g,k.b,k.opacity)} function cb(k,h,n,u){return 1===arguments.length?hb(k):new La(k,h,n,null==u?1:u)} function La(k,h,n,u){this.r=+k;this.g=+h;this.b=+n;this.opacity=+u} function ib(k){k=Math.max(0,Math.min(255,Math.round(k)||0));return(16>k?"0":"")+k.toString(16)} function Bb(k,h,n,u){0>=u?k=h=n=NaN:0>=n||1<=n?k=h=NaN:0>=h&&(k=NaN);return new Ua(k,h,n,u)} function hc(k){if(k instanceof Ua)return new Ua(k.h,k.s,k.l,k.opacity);k instanceof Xa||(k=Ya(k));if(!k)return new Ua;if(k instanceof Ua)return k;k=k.rgb();var h=k.r/255,n=k.g/255,u=k.b/255,x=Math.min(h,n,u),z=Math.max(h,n,u),A=NaN,la=z-x,oa=(z+x)/2;la?(A=h===z?(n-u)/la+6*(noa?z+x:2-z-x,A*=60):la=0oa?0:A;return new Ua(A,la,oa,k.opacity)} function jb(k,h,n,u){return 1===arguments.length?hc(k):new Ua(k,h,n,null==u?1:u)} function Ua(k,h,n,u){this.h=+k;this.s=+h;this.l=+n;this.opacity=+u} function kb(k,h,n){return 255*(60>k?h+(n-h)*k/60:180>k?n:240>k?h+(n-h)*(240-k)/60:h)} function lb(k){if(k instanceof Va)return new Va(k.l,k.a,k.b,k.opacity);if(k instanceof rb){if(isNaN(k.h))return new Va(k.l,0,0,k.opacity);var h=k.h*Qu;return new Va(k.l,Math.cos(h)*k.c,Math.sin(h)*k.c,k.opacity)}k instanceof La||(k=hb(k));var n=pb(k.r),u=pb(k.g),x=pb(k.b);h=mb(.2225045*n+.7168786*u+.0606169*x);if(n===u&&u===x)var z=n=h;else z=mb((.4360747*n+.3850649*u+.1430804*x)/.96422),n=mb((.0139322*n+.0971045*u+.7141733*x)/.82521);return new Va(116*h-16,500*(z-h),200*(h-n),k.opacity)} function Va(k,h,n,u){this.l=+k;this.a=+h;this.b=+n;this.opacity=+u} function mb(k){return k>UB?Math.pow(k,1/3):k/Ru+Su} function nb(k){return k>uh?k*k*k:Ru*(k-Su)} function ob(k){return 255*(.0031308>=k?12.92*k:1.055*Math.pow(k,1/2.4)-.055)} function pb(k){return.04045>=(k/=255)?k/12.92:Math.pow((k+.055)/1.055,2.4)} function ic(k){if(k instanceof rb)return new rb(k.h,k.c,k.l,k.opacity);k instanceof Va||(k=lb(k));if(0===k.a&&0===k.b)return new rb(NaN,0,k.l,k.opacity);var h=Math.atan2(k.b,k.a)*Tu;return new rb(0>h?h+360:h,Math.sqrt(k.a*k.a+k.b*k.b),k.l,k.opacity)} function qb(k,h,n,u){return 1===arguments.length?ic(k):new rb(k,h,n,null==u?1:u)} function rb(k,h,n,u){this.h=+k;this.c=+h;this.l=+n;this.opacity=+u} function db(k,h,n,u){if(1===arguments.length){var x=k;if(x instanceof sb)x=new sb(x.h,x.s,x.l,x.opacity);else{x instanceof La||(x=hb(x));var z=x.g/255,A=x.b/255,la=(Uu*A+x.r/255*-1.7884503806-3.5172982438*z)/(Uu+-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)*Tu-120:NaN;x=new sb(0>A?A+360:A,z,la,x.opacity)}}else x=new sb(k,h,n,null==u?1:u);return x} function sb(k,h,n,u){this.h=+k;this.s=+h;this.l=+n;this.opacity=+u} function lc(k,h,n,u,x){var z=k*k,A=z*k;return((1-3*k+3*z-A)*h+(4-6*z+3*A)*n+(1+3*k+3*z-3*A)*u+A*x)/6} function pc(k){return function(){return k}} function uc(k,h){return function(n){return k+n*h}} function zc(k,h,n){return k=Math.pow(k,n),h=Math.pow(h,n)-k,n=1/n,function(u){return Math.pow(k+u*h,n)}} function rc(k,h){var n=h-k;return n?uc(k,180n?n-360*Math.round(n/360):n):pc(isNaN(k)?h:k)} function Ac(k){return 1===(k=+k)?Cb:function(h,n){return n-h?zc(h,n,k):pc(isNaN(h)?n:h)}} function Cb(k,h){var n=h-k;return n?uc(k,n):pc(isNaN(k)?h:k)} function Gc(k){return function(h){var n=h.length,u=Array(n),x=Array(n),z=Array(n),A;for(A=0;An&&(z=h.slice(n,z),la[A]?la[A]+=z:la[++A]=z),(u=u[0])===(x=x[0])?la[A]?la[A]+=x:la[++A]=x:(la[++A]=null,oa.push({od:A,x:mc(u,x)})),n=po.lastIndex;nla.length?oa[0]?Dc(oa[0].x):Cc(h):(h=oa.length,function(ra){for(var qa=0,pa;qak.qf&&(n=k.qf);var u=k;k=k.Nc}else h=k.Nc,k.Nc=null,k=u?u.Nc=h:Mk=h;Ii=u;uf(n);Bg=0}} function We(){var k=Gi.now(),h=k-Lk;1E3k&&(Hi=setTimeout(yi,k-Gi.now()-Kk)),Ji&&(Ji=clearInterval(Ji))):(Ji||(Lk=Gi.now(),Ji=setInterval(We,1E3)),vh=1,Wu(yi)))} function zi(k,h,n){var u=new yg;h=null==h?0:+h;u.restart(function(x){u.stop();k(x+h)},h,n);return u} function Ee(k,h,n,u,x,z){var A=k.yd;if(!A)k.yd={};else if(n in A)return;yk(k,n,{name:h,index:u,group:x,on:VB,tween:WB,time:z.time,delay:z.delay,duration:z.duration,ease:z.ease,timer:null,state:0})} function oe(k,h){k=ie(k,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(Tc+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())!==so;){for(var eb=[];Da!==Zu&&Da!==so;)eb.push(Da),Da=oa();la&&null==(eb=la(eb,wa++))||ra.push(eb)}return ra} function n(A){return A.map(u).join(k)} function u(A){return null==A?"":x.test(A+="")?'"'+A.replace(/"/g,'""')+'"':A} var x=new RegExp('["'+k+"\n\r]"),z=k.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):Xu(qa)});A.columns=ra||[];return A},parseRows:h,format:function(A,la){null==la&&(la=bC(A));return[la.map(u).join(k)].concat(A.map(function(oa){return la.map(function(ra){return u(oa[ra])}).join(k)})).join("\n")},formatRows:function(A){return A.map(n).join("\n")}}} function $u(k){if(!k.ok)throw Error(k.status+" "+k.statusText);return k.text()} function av(k){return function(h,n,u){2===arguments.length&&"function"===typeof n&&(u=n,n=void 0);return fetch(h,n).then($u).then(function(x){return k(x,u)})}} function to(k){return function(h,n){return fetch(h,n).then($u).then(function(u){return(new DOMParser).parseFromString(u,k)})}} function bv(k,h,n,u){if(isNaN(h)||isNaN(n))return k;var x,z=k.tb;u={data:u};var A=k.Pa,la=k.Qa,oa=k.Aa,ra=k.Ea,qa,pa,wa,Da,Ha;if(!z)return k.tb=u,k;for(;z.length;)if((wa=h>=(qa=(A+oa)/2))?A=qa:oa=qa,(Da=n>=(pa=(la+ra)/2))?la=pa:ra=pa,x=z,!(z=z[Ha=Da<<1|wa]))return x[Ha]=u,k;var jc=+k.Ab.call(null,z.data);var eb=+k.Eb.call(null,z.data);if(h===jc&&n===eb)return u.next=z,x?x[Ha]=u:k.tb=u,k;do x=x?x[Ha]=Array(4):k.tb=Array(4),(wa=h>=(qa=(A+oa)/2))?A=qa:oa=qa,(Da=n>=(pa=(la+ra)/2))?la=pa:ra=pa;while((Ha= Da<<1|wa)===(wa=(eb>=pa)<<1|jc>=qa));return x[wa]=z,x[Ha]=u,k} function ee(k,h,n,u,x){this.node=k;this.x0=h;this.y0=n;this.x1=u;this.y1=x} function cC(k){return k[0]} function dC(k){return k[1]} function uo(k,h,n,u,x,z){this.Ab=k;this.Eb=h;this.Pa=n;this.Qa=u;this.Aa=x;this.Ea=z;this.tb=void 0} function cv(k){for(var h={data:k.data},n=h;k=k.next;)n=n.next={data:k.data};return h} function Rk(k,h){if(0>(h=(k=h?k.toExponential(h-1):k.toExponential()).indexOf("e")))return null;var n=k.slice(0,h);return[1u&&(la=Math.max(1,u-oa));z.push(n.substring(x-=la,x+la));if((oa+=la+1)>u)break;la=k[A=(A+1)%k.length]}return z.reverse().join(h)}} function fC(k){return function(h){return h.replace(/[0-9]/g,function(n){return k[+n]})}} function Sk(k){return new vo(k)} function vo(k){if(!(h=gC.exec(k)))throw Error("invalid format: "+k);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 dv(k,h){h=Rk(k,h);if(!h)return k+"";k=h[0];h=h[1];return 0>h?"0."+Array(-h).join("0")+k:k.length>h+1?k.slice(0,h+1)+"."+k.slice(h+1):k+Array(h-k.length+2).join("0")} function ev(k){return k} function hC(k){function h(la){function oa(Ma){var Rc=tc,Ia=Oc,Ta;if("c"===Tc)Ia=ad(Ma)+Ia,Ma="";else{Ma=+Ma;var Ga=0>Ma;Ma=ad(Math.abs(Ma),eb);if(Pc){var Na=Ma.length;var Xc=1,yd=-1,Cd;a:for(;XcTa||57>1)+Rc+Ma+Ia+Ga.slice(Ta);break;default:Ma=Ga+Rc+Ma+Ia}return z(Ma)} la=Sk(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,Tc=la.type;"n"===Tc?(jc=!0,Tc="g"):hv[Tc]||(null==eb&&(eb=12),Pc=!0,Tc="g");if(Da||"0"===ra&&"="===qa)Da=!0,ra="0",qa="=";var tc="$"===wa?u[0]:"#"===wa&&/[boxX]/.test(Tc)?"0"+Tc.toLowerCase():"",Oc="$"===wa?u[1]:/[%p]/.test(Tc)?A:"",ad=hv[Tc],Qc=/[defgprs%]/.test(Tc);eb=null==eb?6:/[gprs]/.test(Tc)?Math.max(1,Math.min(21,eb)):Math.max(0,Math.min(20,eb));oa.toString=function(){return la+ ""};return oa} var n=k.grouping&&k.thousands?eC(k.grouping,k.thousands):ev,u=k.currency,x=k.decimal,z=k.numerals?fC(k.numerals):ev,A=k.percent||"%";return{format:h,formatPrefix:function(la,oa){var ra=h((la=Sk(la),la.type="f",la));la=3*Math.max(-8,Math.min(8,Math.floor(wh(oa)/3)));var qa=Math.pow(10,-la),pa=fv[8+la/3];return function(wa){return ra(qa*wa)+pa}}}} function Fe(){this.reset()} function iv(k,h,n){var u=k.s=h+n,x=u-h;k.t=h-(u-x)+(n-x)} function Tk(k){return 1k?-ye:Math.asin(k)} function iC(){} function jv(k){var h=k[0];k=k[1];var n=ze(k);return[n*ze(h),n*$d(h),$d(k)]} function kv(k,h){return[k[1]*h[2]-k[2]*h[1],k[2]*h[0]-k[0]*h[2],k[0]*h[1]-k[1]*h[0]]} function lv(k){var h=Uk(k[0]*k[0]+k[1]*k[1]+k[2]*k[2]);k[0]/=h;k[1]/=h;k[2]/=h} function jC(){var k=[],h;return{point:function(n,u){h.push([n,u])},lineStart:function(){k.push(h=[])},lineEnd:iC,Iq:function(){1=(wa=pa.length-1))){var wa,Da=pa[0],Ha=pa[wa],jc=Da;if(1E-6>Yf(jc[0]-Ha[0])&&1E-6>Yf(jc[1]-Ha[1])){x.lineStart();for(la=0;la(k=k.x)[0]?k[1]-ye-1E-6:ye-k[1])-(0>(h=h.x)[0]?h[1]-ye-1E-6:ye-h[1])} function wo(){} function nv(k){return function(h,n){var u=ze(h),x=ze(n);u=k(u*x);return[u*x*$d(h),u*$d(n)]}} function Ki(k){return function(h,n){var u=Uk(h*h+n*n),x=k(u),z=$d(x);x=ze(x);return[ov(h*z,u*x),Tk(u&&n*z/u)]}} function nC(k){var h=0,n=k.children,u=n&&n.length;if(u)for(;0<=--u;)h+=n[u].value;else h=1;k.value=h} function pv(k,h){var n=new Li(k);k=+k.value&&(n.value=k.value);var u,x=[n],z,A,la,oa;for(null==h&&(h=oC);u=x.pop();)if(k&&(u.value=+u.data.value),(A=h(u.data))&&(oa=A.length))for(u.children=Array(oa),la=oa-1;0<=la;--la)x.push(z=u.children[la]=new Li(A[la])),z.parent=u,z.depth=u.depth+1;return n.eachBefore(pC)} function oC(k){return k.children} function qC(k){k.data=k.data.data} function pC(k){var h=0;do k.height=h;while((k=k.parent)&&k.height<++h)} function Li(k){this.data=k;this.depth=this.height=0;this.parent=null} function xo(k){function h(z){var A=z+"",la=n.get(A);if(!la){if(x!==qv)return x;n.set(A,la=u.push(z))}return k[(la-1)%k.length]} var n=Pk(),u=[],x=qv;k=null==k?[]:Wk.call(k);h.domain=function(z){if(!arguments.length)return u.slice();u=[];n=Pk();for(var A=-1,la=z.length,oa,ra;++A=n?1:u(x)}}} function tC(k){return function(h,n){var u=k(h=+h,n=+n);return function(x){return 0>=x?h:1<=x?n:u(x)}}} function uC(k,h,n,u){var x=k[0];k=k[1];var z=h[0];h=h[1];koa&&(A=Math.ceil(A*oa)/oa,la=Math.floor(la*oa)/oa,oa=p(A,la,n));0oa&&(u[x]=Math.ceil(A*oa)/oa,u[z]=Math.floor(la*oa)/oa,h(u));return k};return k} function vv(){var k=Bo(zo,mc);k.copy=function(){return Ao(k,vv())};return xC(k)} function wv(k,h){k=k.slice();var n=0,u=k.length-1,x=k[n],z=k[u];if(zk?function(n){return-Math.pow(-h,n)*Math.pow(-k,1-n)}:function(n){return Math.pow(h,n)*Math.pow(k,1-n)}} function AC(k){return isFinite(k)?+("1e"+k):0>k?0:k} function xv(k){return 10===k?AC:k===Math.E?Math.exp:function(h){return Math.pow(k,h)}} function yv(k){return k===Math.E?Math.log:10===k&&Math.log10||2===k&&Math.log2||(k=Math.log(k),function(h){return Math.log(h)/k})} function zv(k){return function(h){return-k(-h)}} function Av(){function k(){x=yv(u);z=xv(u);0>n()[0]&&(x=zv(x),z=zv(z));return h} var h=Bo(yC,zC).domain([1,10]),n=h.domain,u=10,x=yv(10),z=xv(10);h.base=function(A){return arguments.length?(u=+A,k()):u};h.domain=function(A){return arguments.length?(n(A),k()):n()};h.ticks=function(A){var la=n(),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=l(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=Mh(la));if(Infinity===A)return la;null==A&&(A=10);var oa=Math.max(1,u*A/h.ticks().length);return function(ra){var qa=ra/z(Math.round(x(ra)));qa*u=A)for(;k(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););})};n&&(x.count=function(z,A){Co.setTime(+z);Do.setTime(+A);k(Co);k(Do);return Math.floor(n(Co,Do))},x.every=function(z){z=Math.floor(z);return isFinite(z)&&0k.y){var h=new Date(-1,k.m,k.d,k.$c,k.M,k.S,k.L);h.setFullYear(k.y);return h}return new Date(k.y,k.m,k.d,k.$c,k.M,k.S,k.L)} function Xk(k){if(0<=k.y&&100>k.y){var h=new Date(Date.UTC(-1,k.m,k.d,k.$c,k.M,k.S,k.L));h.setUTCFullYear(k.y);return h}return new Date(Date.UTC(k.y,k.m,k.d,k.$c,k.M,k.S,k.L))} function Mi(k){return{y:k,m:0,d:1,$c:0,M:0,S:0,L:0}} function CC(k){function h(Ia,Ta){return function(Ga){var Na=[],Xc=-1,yd=0,Cd=Ia.length,pd,re;for(Ga instanceof Date||(Ga=new Date(+Ga));++XcNa.dg||53=Cd)return-1;pd=Ta.charCodeAt(Xc++);if(37===pd){if(pd=Ta.charAt(Xc++),pd=Rc[pd in Bv?Ta.charAt(Xc++):pd],!pd||0>(Na=pd(Ia,Ga,Na)))return-1}else if(pd!=Ga.charCodeAt(Na++))return-1}return Na} var x=k.dateTime,z=k.date,A=k.time,la=k.periods,oa=k.days,ra=k.shortDays,qa=k.months,pa=k.shortMonths,wa=Ni(la),Da=Oi(la),Ha=Ni(oa),jc=Oi(oa),eb=Ni(ra),Pc=Oi(ra),Tc=Ni(qa),tc=Oi(qa),Oc=Ni(pa),ad=Oi(pa),Qc={a:function(Ia){return ra[Ia.getDay()]},A:function(Ia){return oa[Ia.getDay()]},b:function(Ia){return pa[Ia.getMonth()]},B:function(Ia){return qa[Ia.getMonth()]},c:null,d:Dv,e:Dv,f:DC,H:EC,I:FC,j:GC,L:Ev,m:HC,M:IC,p:function(Ia){return la[+(12<=Ia.getHours())]},Q:Fv,s:Gv,S:JC,u:KC,U:LC,V:MC,w:NC,W:OC,x:null,X:null,y:PC,Y:QC,Z:RC,"%":Hv},Ma={a:function(Ia){return ra[Ia.getUTCDay()]},A:function(Ia){return oa[Ia.getUTCDay()]},b:function(Ia){return pa[Ia.getUTCMonth()]},B:function(Ia){return qa[Ia.getUTCMonth()]},c:null,d:Iv,e:Iv,f:SC,H:TC,I:UC,j:VC,L:Jv,m:WC,M:XC,p:function(Ia){return la[+(12<=Ia.getUTCHours())]},Q:Fv,s:Gv,S:YC,u:ZC,U:$C,V:aD,w:bD,W:cD,x:null,X:null,y:dD,Y:eD,Z:fD,"%":Hv},Rc={a:function(Ia,Ta,Ga){return(Ta=eb.exec(Ta.slice(Ga)))?(Ia.w=Pc[Ta[0].toLowerCase()],Ga+Ta[0].length):-1},A:function(Ia,Ta,Ga){return(Ta=Ha.exec(Ta.slice(Ga)))?(Ia.w=jc[Ta[0].toLowerCase()],Ga+Ta[0].length):-1},b:function(Ia,Ta,Ga){return(Ta=Oc.exec(Ta.slice(Ga)))?(Ia.m=ad[Ta[0].toLowerCase()],Ga+Ta[0].length):-1},B:function(Ia,Ta,Ga){return(Ta=Tc.exec(Ta.slice(Ga)))?(Ia.m=tc[Ta[0].toLowerCase()],Ga+Ta[0].length):-1},c:function(Ia,Ta,Ga){return u(Ia,x,Ta,Ga)},d:Kv,e:Kv,f:gD,H:Lv,I:Lv,j:hD,L:iD,m:jD,M:kD,p:function(Ia,Ta,Ga){return(Ta=wa.exec(Ta.slice(Ga)))?(Ia.p=Da[Ta[0].toLowerCase()],Ga+Ta[0].length):-1},Q:lD,s:mD,S:nD,u:oD,U:pD,V:qD,w:rD,W:sD,x:function(Ia,Ta,Ga){return u(Ia,z,Ta,Ga)},X:function(Ia,Ta,Ga){return u(Ia,A,Ta,Ga)},y:tD,Y:uD,Z:vD,"%":wD};Qc.x=h(z,Qc);Qc.X=h(A,Qc);Qc.c=h(x,Qc);Ma.x=h(z,Ma);Ma.X=h(A,Ma);Ma.c=h(x,Ma);return{format:function(Ia){var Ta=h(Ia+="",Qc);Ta.toString=function(){return Ia};return Ta},parse:function(Ia){var Ta=n(Ia+="",BC);Ta.toString=function(){return Ia};return Ta},utcFormat:function(Ia){var Ta=h(Ia+="",Ma);Ta.toString=function(){return Ia};return Ta},utcParse:function(Ia){var Ta=n(Ia,Xk);Ta.toString=function(){return Ia};return Ta}}} function sd(k,h,n){var u=0>k?"-":"";k=(u?-k:k)+"";var x=k.length;return u+(x=k?-Zk:Math.asin(k)} function ED(k){return k.innerRadius} function FD(k){return k.outerRadius} function GD(k){return k.startAngle} function HD(k){return k.endAngle} function ID(k){return k&&k.padAngle} function $k(k,h,n,u,x,z,A){var la=k-n,oa=h-u;A=(A?z:-z)/yh(la*la+oa*oa);oa*=A;la*=-A;var ra=k+oa,qa=h+la,pa=n+oa,wa=u+la;n=(ra+pa)/2;u=(qa+wa)/2;h=pa-ra;k=wa-qa;A=h*h+k*k;z=x-z;wa=ra*wa-pa*qa;var Da=(0>k?-1:1)*yh(JD(0,z*z*A-wa*wa));ra=(wa*k-h*Da)/A;qa=(-wa*h-k*Da)/A;pa=(wa*k+h*Da)/A;h=(-wa*h+k*Da)/A;k=ra-n;A=qa-u;n=pa-n;u=h-u;k*k+A*A>n*n+u*u&&(ra=pa,qa=h);return{cx:ra,cy:qa,Yc:-oa,Zc:-la,Pd:ra*(x/z-1),Qd:qa*(x/z-1)}} function Pv(k){this.Fa=k} function al(k){return new Pv(k)} function Qv(k){return k[0]} function Rv(k){return k[1]} function Sv(){function k(la){var oa,ra=la.length,qa,pa=!1,wa;null==x&&(A=z(wa=Nk()));for(oa=0;oa<=ra;++oa)!(oak?1:h>=k?0:NaN} function LD(k){return k} function Tv(k){this.ue=k} function Uv(k,h,n){k.Fa.bezierCurveTo((2*k.Pa+k.Aa)/3,(2*k.Qa+k.Ea)/3,(k.Pa+2*k.Aa)/3,(k.Qa+2*k.Ea)/3,(k.Pa+4*k.Aa+h)/6,(k.Qa+4*k.Ea+n)/6)} function Vv(k){this.Fa=k} function Wv(k,h,n){k.Fa.bezierCurveTo(k.Aa+k.fg*(k.we-k.Pa),k.Ea+k.fg*(k.xe-k.Qa),k.we+k.fg*(k.Aa-h),k.xe+k.fg*(k.Ea-n),k.we,k.xe)} function Xv(k,h){this.Fa=k;this.fg=(1-h)/6} function Yv(k,h,n){var u=k.Aa-k.Pa;h-=k.Aa;var x=(k.Ea-k.Qa)/(u||0>h&&-0);k=(n-k.Ea)/(h||0>u&&-0);return((0>x?-1:1)+(0>k?-1:1))*Math.min(Math.abs(x),Math.abs(k),.5*Math.abs((x*h+k*u)/(u+h)))||0} function Zv(k,h){var n=k.Aa-k.Pa;return n?(3*(k.Ea-k.Qa)/n-h)/2:h} function Jo(k,h,n){var u=k.Pa,x=k.Aa,z=k.Ea,A=(x-u)/3;k.Fa.bezierCurveTo(u+A,k.Qa+A*h,x-A,z-A*n,x,z)} function bl(k){this.Fa=k} function $v(k){this.Fa=new aw(k)} function aw(k){this.Fa=k} function bw(k){this.Fa=k} function cw(k){var h,n=k.length-1,u=Array(n),x=Array(n),z=Array(n);u[0]=0;x[0]=2;z[0]=k[0]+2*k[1];for(h=1;harguments.length)for(;++zthis.Td.indexOf(k)&&(this.Td.push(k),this.Mi.setAttribute("class",this.Td.join(" ")))},remove:function(k){k=this.Td.indexOf(k);0<=k&&(this.Td.splice(k,1),this.Mi.setAttribute("class",this.Td.join(" ")))},contains:function(k){return 0<=this.Td.indexOf(k)}};var Nu={};wi=null;"undefined"!==typeof document&&("onmouseenter"in document.documentElement||(Nu={mouseenter:"mouseover",mouseleave:"mouseout"}));var Ou=[null];Ra.prototype=Za.prototype={constructor:Ra,select:function(k){"function"!==typeof k&&(k=ya(k));for(var h=this.kb,n=h.length,u=Array(n),x=0;x=pa&&(pa=qa+1);!(Pc=eb[pa])&&++paarguments.length){var u=this.node();return n.local?u.getAttributeNS(n.space,n.local):u.getAttribute(n)}return this.each((null==h?n.local?Wa:Qa:"function"===typeof h?n.local?Gb:Fb:n.local?Eb:Db)(n,h))},style:function(k,h,n){return 1arguments.length){for(var u=fb(this.node()),x=-1,z=n.length;++xarguments.length){var A=this.node().__on;if(A)for(var la=0,oa=A.length,ra;la=this.r&&0<=this.g&&255>=this.g&&0<=this.b&&255>=this.b&&0<=this.opacity&&1>=this.opacity},hex:function(){return"#"+ib(this.r)+ib(this.g)+ib(this.b)},toString:function(){var k=this.opacity;k=isNaN(k)?1:Math.max(0,Math.min(1,k));return(1===k?"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===k?")":", "+k+")")}}));ab(Ua,jb,bb(Xa,{brighter:function(k){k=null==k?zh:Math.pow(zh,k);return new Ua(this.h,this.s,this.l*k,this.opacity)},darker:function(k){k=null==k?.7:Math.pow(.7,k);return new Ua(this.h,this.s,this.l*k,this.opacity)},rgb:function(){var k=this.h%360+360*(0>this.h),h=this.l,n=h+(.5>h?h:1-h)*(isNaN(k)||isNaN(this.s)?0:this.s);h=2*h-n;return new La(kb(240<=k?k-240:k+120,h,n),kb(k,h,n),kb(120>k?k+240:k-120,h,n),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 Qu=Math.PI/180,Tu=180/Math.PI,Su=4/29,uh=6/29,Ru=3*uh*uh,UB=uh*uh*uh;ab(Va,function(k,h,n,u){return 1===arguments.length?lb(k):new Va(k,h,n,null==u?1:u)},bb(Xa,{brighter:function(k){return new Va(this.l+18*(null==k?1:k),this.a,this.b,this.opacity)},darker:function(k){return new Va(this.l-18*(null==k?1:k),this.a,this.b,this.opacity)},rgb:function(){var k=(this.l+16)/116,h=isNaN(this.a)?k:k+this.a/500,n=isNaN(this.b)?k:k-this.b/200;h=.96422*nb(h);k=1*nb(k);n=.82521*nb(n);return new La(ob(3.1338561*h-1.6168667*k-.4906146*n),ob(-.9787684*h+1.9161415*k+.033454*n),ob(.0719453*h-.2289914*k+1.4052427*n),this.opacity)}}));ab(rb,qb,bb(Xa,{brighter:function(k){return new rb(this.h,this.c,this.l+18*(null==k?1:k),this.opacity)},darker:function(k){return new rb(this.h,this.c,this.l-18*(null==k?1:k),this.opacity)},rgb:function(){return lb(this).rgb()}}));var Uu=1.78277*-.29227-.1347134789;ab(sb,db,bb(Xa,{brighter:function(k){k=null==k?zh:Math.pow(zh,k);return new sb(this.h,this.s,this.l*k,this.opacity)},darker:function(k){k=null==k?.7:Math.pow(.7,k);return new sb(this.h,this.s,this.l*k,this.opacity)},rgb:function(){var k=isNaN(this.h)?0:(this.h+120)*Qu,h=+this.l,n=isNaN(this.s)?0:this.s*h*(1-h),u=Math.cos(k);k=Math.sin(k);return new La(255*(h+n*(-.14861*u+1.78277*k)),255*(h+n*(-.29227*u+-.90649*k)),255*(h+1.97294*n*u),this.opacity)}}));var Jk=function n(h){function u(z,A){var la=x((z=cb(z)).r,(A=cb(A)).r),oa=x(z.g,A.g),ra=x(z.b,A.b),qa=Cb(z.opacity,A.opacity);return function(pa){z.r=la(pa);z.g=oa(pa);z.b=ra(pa);z.opacity=qa(pa);return z+""}} var x=Ac(h);u.gamma=n;return u}(1),DD=Gc(function(h){var n=h.length-1;return function(u){var x=0>=u?u=0:1<=u?(u=1,n-1):Math.floor(u*n),z=h[x],A=h[x+1];return lc((u-x/n)*n,0(u%=1)?++u:u)*n);return lc((u-x/n)*n,h[(x+n-1)%n],h[x%n],h[(x+1)%n],h[(x+2)%n])}});var oo=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,po=new RegExp(oo.source,"g"),Vu=180/Math.PI,Ko={Ai:0,Bi:0,rotate:0,skewX:0,Sh:1,Th:1},Ri,Lo,ew,dl,ND=wc(function(h){if("none"===h)return Ko;Ri||(Ri=document.createElement("DIV"),Lo=document.documentElement,ew=document.defaultView);Ri.style.transform=h;h=ew.getComputedStyle(Lo.appendChild(Ri),null).getPropertyValue("transform");Lo.removeChild(Ri);h=h.slice(7,-1).split(",");return vc(+h[0],+h[1],+h[2],+h[3],+h[4],+h[5])},"px, ","px)","deg)"),OD=wc(function(h){if(null== h)return Ko;dl||(dl=document.createElementNS("http://www.w3.org/2000/svg","g"));dl.setAttribute("transform",h);if(!(h=dl.transform.baseVal.consolidate()))return Ko;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 Mo=tb(Cb),vh=0,Hi=0,Ji=0,Mk,Ii,Lk=0,Bg=0,Kk=0,Gi="object"===typeof performance&&performance.now?performance:Date,Wu="object"===typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(h){setTimeout(h,17)};yg.prototype=xi.prototype={constructor:yg,restart:function(h,n,u){if("function"!==typeof h)throw new TypeError("callback is not a function");u=(null==u?xg():+u)+(null==n?0:+n);this.Nc||Ii===this||(Ii?Ii.Nc=this:Mk=this,Ii=this);this.mf=h;this.qf=u;uf()},stop:function(){this.mf&&(this.mf=null,this.qf=Infinity,uf())}};var VB=t("start","end","interrupt"),WB=[],PD=Za.prototype.constructor,fw=0,Ah=Za.prototype;yf.prototype=function(h){return Za().transition(h)}.prototype={constructor:yf,select:function(h){var n=this.ve,u=this.Rb;"function"!==typeof h&&(h=ya(h));for(var x=this.kb,z=x.length,A=Array(z),la=0;laarguments.length?ie(this.node(),u).on.on(h):this.each(Zd(u,h,n))},attr:function(h,n){var u=na(h),x="transform"===u?OD:fd;return this.attrTween(h,"function"===typeof n?(u.local?Ak:zk)(u,x,oc(this,"attr."+h,n)):null==n?(u.local?gd:Uc)(u):(u.local?mh:za)(u,x,n+""))},attrTween:function(h,n){var u="attr."+h;if(2>arguments.length)return(u=this.tween(u))&&u.jg;if(null==n)return this.tween(u,null);if("function"!==typeof n)throw Error();var x=na(h);return this.tween(u,(x.local?Rn:Jd)(x,n))},style:function(h,n,u){var x="transform"===(h+="")?ND:fd;return null==n?this.styleTween(h,nh(h,x)).on("end.style."+h,de(h)):this.styleTween(h,"function"===typeof n?XB(h,x,oc(this,"style."+h,n)):Tn(h,x,n+""),u)},styleTween:function(h,n,u){var x="style."+(h+="");if(2>arguments.length)return(x=this.tween(x))&&x.jg;if(null==n)return this.tween(x,null);if("function"!==typeof n)throw Error();return this.tween(x,YB(h,n,null==u?"":u))},text:function(h){return this.tween("text","function"===typeof h?$B(oc(this,"text",h)):ZB(null==h?"":h+""))},remove:function(){return this.on("end.remove",Uf(this.Rb))},tween:function(h,n){var u=this.Rb;h+="";if(2>arguments.length){u=ie(this.node(),u).tween;for(var x=0,z=u.length,A;x=(h*=2)?h*h*h:(h-=2)*h*h+2)/2}};Za.prototype.interrupt=function(h){return this.each(function(){var n=h,u=this.yd,x,z=!0,A;if(u){n=null==n?null:n+"";for(A in u)if((x=u[A]).name!==n)z=!1;else{var la=2x.state;x.state=6;x.timer.stop();la&&x.on.call("interrupt",this,this.__data__,x.index,x.group);delete u[A]}z&&delete this.yd}})};Za.prototype.transition=function(h){var n;if(h instanceof yf){var u=h.Rb;h=h.ve}else u=++fw,(n=No).time=xg(),h=null==h?null:h+"";for(var x=this.kb,z=x.length,A=0;Az)throw Error("negative radius: "+z);if(null===this.Aa)this.Ga+="M"+(this.Aa=h)+","+(this.Ea=n);else if(1E-6 qa*x)+","+(this.Aa=h+wa*oa)+","+(this.Ea=n+wa*ra)}else this.Ga+="L"+(this.Aa=h)+","+(this.Ea=n)},arc:function(h,n,u,x,z,A){h=+h;n=+n;u=+u;var la=u*Math.cos(x),oa=u*Math.sin(x),ra=h+la,qa=n+oa,pa=1^A;x=A?x-z:z-x;if(0>u)throw Error("negative radius: "+u);if(null===this.Aa)this.Ga+="M"+ra+","+qa;else if(1E-6x&&(x=x%Po+Po),x>QD?this.Ga+="A"+u+","+u+",0,1,"+pa+","+(h-la)+","+(n-oa)+"A"+u+","+u+",0,1,"+pa+","+(this.Aa=ra)+","+(this.Ea=qa):1E-6=Oo)+","+pa+","+(this.Aa=h+u*Math.cos(z))+ ","+(this.Ea=n+u*Math.sin(z))))},rect:function(h,n,u,x){this.Ga+="M"+(this.Pa=this.Aa=+h)+","+(this.Qa=this.Ea=+n)+"h"+ +u+"v"+ +x+"h"+-u+"Z"},toString:function(){return this.Ga}};Ok.prototype=Pk.prototype={constructor:Ok,has:function(h){return" "+h in this},get:function(h){return this[" "+h]},set:function(h,n){this[" "+h]=n;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=[],n;for(n in this)" "===n[0]&&h.push(n.slice(1));return h},values:function(){var h=[],n;for(n in this)" "===n[0]&&h.push(this[n]);return h},entries:function(){var h=[],n;for(n in this)" "===n[0]&&h.push({key:n.slice(1),value:this[n]});return h},size:function(){var h=0,n;for(n in this)" "===n[0]&&++h;return h},empty:function(){for(var h in this)if(" "===h[0])return!1;return!0},each:function(h){for(var n in this)" "===n[0]&&h(this[n],n.slice(1),this)}};var Fg=Pk.prototype;Qk.prototype=function(h,n){var u=new Qk;if(h instanceof Qk)h.each(function(A){u.add(A)});else if(h){var x=-1,z=h.length;if(null==n)for(;++xz;++z)if(x=n.source[z])x.length?u.push({source:x,target:n.target[z]=Array(4)}):n.target[z]=cv(x);return h};fe.add=function(h){var n=+this.Ab.call(null,h),u=+this.Eb.call(null,h);return bv(this.cover(n,u),n,u,h)};fe.addAll=function(h){var n,u,x=h.length,z,A,la=Array(x),oa=Array(x),ra=Infinity,qa=Infinity,pa=-Infinity,wa=-Infinity;for(u=0;upa&&(pa=z),Awa&&(wa=A));pah||h>z||x>n||n>A){var la=z-u,oa=this.tb,ra;switch(ra=(n<(x+A)/2)<<1|h<(u+z)/2){case 0:do{var qa=Array(4);qa[ra]=oa;oa=qa}while(la*=2,z=u+la,A=x+la,h>z||n>A);break;case 1:do qa=Array(4),qa[ra]=oa,oa=qa;while(la*=2,u=z-la,A=x+la,u>h||n>A);break;case 2:do qa=Array(4),qa[ra]=oa,oa=qa;while(la*=2,z=u+la,x=A-la,h>z||x>n);break;case 3:do qa= Array(4),qa[ra]=oa,oa=qa;while(la*=2,u=z-la,x=A-la,u>h||x>n)}this.tb&&this.tb.length&&(this.tb=oa)}else return this;this.Pa=u;this.Qa=x;this.Aa=z;this.Ea=A;return this};fe.data=function(){var h=[];this.visit(function(n){if(!n.length){do h.push(n.data);while(n=n.next)}});return h};fe.extent=function(h){return arguments.length?this.cover(+h[0][0],+h[0][1]).cover(+h[1][0],+h[1][1]):isNaN(this.Pa)?void 0:[[this.Pa,this.Qa],[this.Aa,this.Ea]]};fe.find=function(h,n,u){var x=this.Pa,z=this.Qa,A,la,oa,ra,qa=this.Aa,pa=this.Ea,wa=[],Da=this.tb,Ha;Da&&wa.push(new ee(Da,x,z,qa,pa));null==u?u=Infinity:(x=h-u,z=n-u,qa=h+u,pa=n+u,u*=u);for(;Ha=wa.pop();)if(!(!(Da=Ha.node)||(A=Ha.x0)>qa||(la=Ha.y0)>pa||(oa=Ha.x1)=jc)<<1|h>=Ha)Ha=wa[wa.length-1],wa[wa.length-1]=wa[wa.length- 1-Da],wa[wa.length-1-Da]=Ha}else if(Ha=h-+this.Ab.call(null,Da.data),jc=n-+this.Eb.call(null,Da.data),Ha=Ha*Ha+jc*jc,Ha=(pa=(z+la)/2))?z=pa:la=pa;(Ha=qa>=(wa=(A+oa)/2))?A=wa:oa=wa;if(!(n=u,u=u[jc=Ha<<1|Da]))return this;if(!u.length)break;if(n[jc+1&3]||n[jc+2&3]||n[jc+3&3]){var eb=n;var Pc=jc}}for(;u.data!==h;)if(!(x=u,u=u.next))return this;(h=u.next)&&delete u.next;if(x)return h?x.next=h:delete x.next,this;if(!n)return this.tb=h,this;h?n[jc]=h:delete n[jc];(u=n[0]||n[1]||n[2]||n[3])&&u===(n[3]||n[2]||n[1]||n[0])&&!u.length&&(eb?eb[Pc]=u:this.tb=u);return this};fe.removeAll=function(h){for(var n=0,u=h.length;n=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;Sk.prototype=vo.prototype;vo.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(null==this.width?"":Math.max(1,this.width|0))+(this.comma?",":"")+(null==this.precision?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};var gv,hv={"%":function(h,n){return(100*h).toFixed(n)},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,n){return h.toExponential(n)},f:function(h,n){return h.toFixed(n)},g:function(h,n){return h.toPrecision(n)},o:function(h){return Math.round(h).toString(8)},p:function(h,n){return dv(100*h,n)},r:dv,s:function(h,n){var u=Rk(h,n);if(!u)return h+"";var x=u[0];u=u[1];u=u-(gv=3*Math.max(-8,Math.min(8,Math.floor(u/3))))+1;var z=x.length;return u===z?x:u>z?x+Array(u-z+1).join("0"):0Kd;Zf*=iw;So.add(ov(Zf*Uo*$d(Vo),hw*Si+Zf*ze(Vo)));Ia+=hl?Bh+Uo*TD:Bh;hl^pd>=Qc^To>=Qc&&(Cd=kv(jv(Cd),jv(gl)),lv(Cd),pd=kv(Ma,Cd),lv(pd),pd=(hl^0<=Bh?-1:1)*Tk(pd[2]),Rc>pd||Rc===pd&&(Cd[0]||Cd[1]))&&(Ta+=hl^0<=Bh?1:-1)}}ad=(-1E-6>Ia||1E-6>Ia&&-1E-6>So)^Ta&1;Tc.length?(eb||(z.polygonStart(),eb=!0),kC(Tc,mC,ad,u,z)):ad&&(eb||(z.polygonStart(),eb=!0),z.lineStart(),u(null,null,1,z),z.lineEnd());eb&&(z.polygonEnd(),eb=!1);Tc=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 n=NaN,u=NaN,x=NaN,z;return{lineStart:function(){h.lineStart();z=1},point:function(A,la){var oa=0Yf(ra-Kd))h.point(n,u=0<(u+la)/2?ye:-ye),h.point(x,u),h.lineEnd(),h.lineStart(),h.point(oa,u),h.point(A,u),z=0;else if(x!==oa&&ra>=Kd){1E-6>Yf(n-x)&&(n-=1E-6*x);1E-6>Yf(A-oa)&&(A-=1E-6*oa);ra=n;var qa=u,pa=A,wa,Da,Ha=$d(ra-pa);u=1E-6h?Kd:Math.acos(h))&&h/$d(h)}).invert=Ki(function(h){return h});Uk(3);Ki(Ro);Ki(Tk);Ki(function(h){return 2*Ro(h)});Li.prototype=pv.prototype={constructor:Li,count:function(){return this.eachAfter(nC)},each:function(h){var n,u=[this],x;do{var z=u.reverse();for(u=[];n=z.pop();)if(h(n),n=n.children){var A=0;for(x=n.length;An&&(n+=36E5);h.setTime(36E5*Math.floor((+h-n)/36E5)+n)},function(h,n){h.setTime(+h+36E5*n)},function(h,n){return(n-h)/36E5},function(h){return h.getHours()}),Go=Rd(function(h){h.setHours(0,0,0,0)},function(h,n){h.setDate(h.getDate()+n)},function(h,n){return(n-h-6E4*(n.getTimezoneOffset()-h.getTimezoneOffset()))/864E5},function(h){return h.getDate()-1}),Mv=Cg(0),Fo=Cg(1);Cg(2);Cg(3);var Ho=Cg(4);Cg(5);Cg(6);var XD=Rd(function(h){h.setDate(1);h.setHours(0,0,0,0)},function(h,n){h.setMonth(h.getMonth()+n)},function(h,n){return n.getMonth()-h.getMonth()+12*(n.getFullYear()-h.getFullYear())},function(h){return h.getMonth()}),Eg=Rd(function(h){h.setMonth(0,1);h.setHours(0,0,0,0)},function(h,n){h.setFullYear(h.getFullYear()+n)},function(h,n){return n.getFullYear()-h.getFullYear()},function(h){return h.getFullYear()});Eg.every=function(h){return isFinite(h=Math.floor(h))&&0this.Ud&&2===this.Na&&this.Fa.lineTo(this.Ab,this.Eb);(this.Ha||0!==this.Ha&&1===this.Na)&&this.Fa.closePath();0<=this.Ha&&(this.Ud=1-this.Ud,this.Ha=1-this.Ha)},point:function(n,u){n=+n;u=+u;switch(this.Na){case 0:this.Na=1;this.Ha?this.Fa.lineTo(n,u):this.Fa.moveTo(n,u);break;case 1:this.Na=2;default:if(0>=this.Ud)this.Fa.lineTo(this.Ab,u),this.Fa.lineTo(n,u);else{var x=this.Ab*(1-this.Ud)+n*this.Ud;this.Fa.lineTo(x,this.Eb);this.Fa.lineTo(x,u)}}this.Ab=n;this.Eb=u}};Pi.prototype={constructor:Pi,scale:function(n){return 1===n?this:new Pi(this.k*n,this.x,this.y)},translate:function(n,u){return 0===n&0===u?this:new Pi(this.k,this.x+this.k*n,this.y+this.k*u)},apply:function(n){return[n[0]*this.k+this.x,n[1]*this.k+this.y]},applyX:function(n){return n*this.k+this.x},applyY:function(n){return n*this.k+this.y},invert:function(n){return[(n[0]-this.x)/this.k,(n[1]-this.y)/this.k]},invertX:function(n){return(n-this.x)/this.k},invertY:function(n){return(n-this.y)/this.k},rescaleX:function(n){return n.copy().domain(n.range().map(this.invertX,this).map(n.invert,n))},rescaleY:function(n){return n.copy().domain(n.range().map(this.invertY,this).map(n.invert,n))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};new Pi(1,0,0);hi=b;vw=function(n,u){return un?1:u>=n?0:NaN};Vh=function(n,u){var x=n.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};tr=function(n,u){var x=n.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};kA=function(n,u){var x=n.length,z=-1,A,la=0;if(null==u)for(;++zHa;qa||(qa=pa=Nk());if(Dail-1E-12)qa.moveTo(Da*Gg(Ha),Da*Ze(Ha)),qa.arc(0,0,Da,Ha,jc,!Pc),1E-12Na?Ui:Math.acos(Na))/2);eb=yh(Ga[0]*Ga[0]+Ga[1]*Ga[1]);Ga=Xo(Ta,(wa-eb)/(Na-1));Na=Xo(Ta,(Da-eb)/(Na+1))}}1E-12=ad;--Ha)pa.point(tc[Ha],Oc[Ha]);pa.lineEnd();pa.areaEnd()}Pc&&(tc[Da]=+x(eb,Da,wa),Oc[Da]=+A(eb,Da,wa),pa.point(z?+z(eb,Da,wa):tc[Da],la?+la(eb,Da,wa):Oc[Da]))}if(Tc)return pa=null,Tc+""||null} function u(){return Sv().defined(oa).curve(qa).context(ra)} var x=Qv,z=null,A=td(0),la=Rv,oa=td(!0),ra=null,qa=al,pa=null;n.x=function(wa){return arguments.length?(x="function"===typeof wa?wa:td(+wa),z=null,n):x};n.x0=function(wa){return arguments.length?(x="function"===typeof wa?wa:td(+wa),n):x};n.x1=function(wa){return arguments.length?(z=null==wa?null:"function"===typeof wa?wa:td(+wa),n):z};n.y=function(wa){return arguments.length?(A="function"===typeof wa?wa:td(+wa),la=null,n):A};n.y0=function(wa){return arguments.length?(A="function"===typeof wa?wa:td(+wa),n):A};n.y1=function(wa){return arguments.length?(la=null==wa?null:"function"===typeof wa?wa:td(+wa),n):la};n.lineX0=n.lineY0=function(){return u().x(x).y(A)};n.lineY1=function(){return u().x(x).y(la)};n.lineX1=function(){return u().x(z).y(A)};n.defined=function(wa){return arguments.length?(oa="function"===typeof wa?wa:td(!!wa),n):oa};n.curve=function(wa){return arguments.length?(qa=wa,null!=ra&&(pa=qa(ra)),n):qa};n.context=function(wa){return arguments.length?(null==wa?ra=pa=null:pa=qa(ra=wa),n):ra};return n};Ix=Sv;Hu=function(){function n(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(il,Math.max(-il,la.apply(this,arguments)-jc));var Pc=Math.min(Math.abs(eb)/pa,oa.apply(this,arguments)),Tc=Pc*(0>eb?-1:1),tc;for(qa=0;qa{{monthYear}}",body:"
{{series.name}}: {{measure}}
",xl:{monthYear:function(){return(new Date(this.datum.month)).toLocaleDateString(void 0,{month:"long",year:"numeric"})}}}));c.addBehavior((new wB(!0)).Ij(200));c.addBehavior((new sB).position(16).Oi(!1).Pg("series_desc").$e(new IB));c.addBehavior(new hz);c.draw([{name:"primary",displayName:a.v.getAttribute("data-primary-label")||"",data:zE(a,b),domain:"month",measure:"count",color:a.v.getAttribute("data-primary-color")},{name:"secondary",displayName:a.v.getAttribute("data-secondary-label")||"",data:BE(a,b),domain:"month",measure:"count",color:"#bdbdbd"}])} function AE(a,b){b=void 0===b?new Date:b;for(var c=[],e=-11;0>=e;e++)c.push(new Date(b.getFullYear(),b.getMonth()+e));var f=new Map;a=Kc(a);for(b=a.next();!b.done;b=a.next()){var l=Kc(b.value);b=l.next().value;e=l.next().value;l=l.next().value;f.set(b+"-"+e,l||0)}return c.map(function(p){return{month:p.getTime(),count:f.get(p.getFullYear()+"-"+(p.getMonth()+1))||0}})} function DE(a){return XA(void 0===a.rj?"":a.rj,void 0===a.body?"":a.body,void 0===a.Jl?"":a.Jl,a.xl).Ri()} ud("hcfe.forum.ActivityChart.setUpAll",function(){for(var a=Kc((window.sc_scope||document).querySelectorAll("[data-activity-chart]")),b=a.next();!b.done;b=a.next())CE(new JB(b.value))});}).call(this);
false