@access-ci/ui 0.8.0-beta2 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -0
- package/dist/access-ci-ui.bundle.js +56 -3
- package/dist/access-ci-ui.js +9 -8
- package/dist/access-ci-ui.umd.cjs +65 -12
- package/dist/access-qa-bot-DT5Eikre.js +1898 -0
- package/dist/{icon-l_WXz3VS.js → icon-DO5WLkIr.js} +1 -1
- package/dist/{index-7DUt41Pg.js → index-CGLHL48j.js} +685 -617
- package/dist/{resource-group-detail-BWQAjklP.js → resource-group-detail-px8JUvEX.js} +2 -2
- package/dist/{resource-home-itrfiwmu.js → resource-home-CI6IFYKT.js} +2 -2
- package/package.json +2 -1
|
@@ -1,43 +1,96 @@
|
|
|
1
|
-
(function(G,rt){typeof exports=="object"&&typeof module<"u"?rt(exports):typeof define=="function"&&define.amd?define(["exports"],rt):(G=typeof globalThis<"u"?globalThis:G||self,rt(G.AccessCiUi={}))})(this,function(G){"use strict";var kb=Object.defineProperty;var Sb=(G,rt,V)=>rt in G?kb(G,rt,{enumerable:!0,configurable:!0,writable:!0,value:V}):G[rt]=V;var L=(G,rt,V)=>Sb(G,typeof rt!="symbol"?rt+"":rt,V);var ts,me;var rt,V,Qr,xe,Xr,Jr,ds,fs,ps,gs,Gr,ai={},Zr=[],th=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Xi=Array.isArray;function qt(e,t){for(var i in t)e[i]=t[i];return e}function $r(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function ye(e,t,i){var n,s,r,o={};for(r in t)r=="key"?n=t[r]:r=="ref"?s=t[r]:o[r]=t[r];if(arguments.length>2&&(o.children=arguments.length>3?rt.call(arguments,2):i),typeof e=="function"&&e.defaultProps!=null)for(r in e.defaultProps)o[r]===void 0&&(o[r]=e.defaultProps[r]);return ci(e,o,n,s,null)}function ci(e,t,i,n,s){var r={type:e,props:t,key:i,ref:n,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:s??++Qr,__i:-1,__u:0};return s==null&&V.vnode!=null&&V.vnode(r),r}function Z(e){return e.children}function Ji(e,t){this.props=e,this.context=t}function Be(e,t){if(t==null)return e.__?Be(e.__,e.__i+1):null;for(var i;t<e.__k.length;t++)if((i=e.__k[t])!=null&&i.__e!=null)return i.__e;return typeof e.type=="function"?Be(e):null}function to(e){var t,i;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((i=e.__k[t])!=null&&i.__e!=null){e.__e=e.__c.base=i.__e;break}return to(e)}}function ms(e){(!e.__d&&(e.__d=!0)&&xe.push(e)&&!Gi.__r++||Xr!==V.debounceRendering)&&((Xr=V.debounceRendering)||Jr)(Gi)}function Gi(){var e,t,i,n,s,r,o,a;for(xe.sort(ds);e=xe.shift();)e.__d&&(t=xe.length,n=void 0,r=(s=(i=e).__v).__e,o=[],a=[],i.__P&&((n=qt({},s)).__v=s.__v+1,V.vnode&&V.vnode(n),bs(i.__P,n,s,i.__n,i.__P.namespaceURI,32&s.__u?[r]:null,o,r??Be(s),!!(32&s.__u),a),n.__v=s.__v,n.__.__k[n.__i]=n,oo(o,n,a),n.__e!=r&&to(n)),xe.length>t&&xe.sort(ds));Gi.__r=0}function eo(e,t,i,n,s,r,o,a,c,l,h){var u,d,f,p,m,v=n&&n.__k||Zr,x=t.length;for(i.__d=c,eh(i,t,v),c=i.__d,u=0;u<x;u++)(f=i.__k[u])!=null&&(d=f.__i===-1?ai:v[f.__i]||ai,f.__i=u,bs(e,f,d,s,r,o,a,c,l,h),p=f.__e,f.ref&&d.ref!=f.ref&&(d.ref&&vs(d.ref,null,f),h.push(f.ref,f.__c||p,f)),m==null&&p!=null&&(m=p),65536&f.__u||d.__k===f.__k?c=io(f,c,e):typeof f.type=="function"&&f.__d!==void 0?c=f.__d:p&&(c=p.nextSibling),f.__d=void 0,f.__u&=-196609);i.__d=c,i.__e=m}function eh(e,t,i){var n,s,r,o,a,c=t.length,l=i.length,h=l,u=0;for(e.__k=[],n=0;n<c;n++)(s=t[n])!=null&&typeof s!="boolean"&&typeof s!="function"?(o=n+u,(s=e.__k[n]=typeof s=="string"||typeof s=="number"||typeof s=="bigint"||s.constructor==String?ci(null,s,null,null,null):Xi(s)?ci(Z,{children:s},null,null,null):s.constructor===void 0&&s.__b>0?ci(s.type,s.props,s.key,s.ref?s.ref:null,s.__v):s).__=e,s.__b=e.__b+1,r=null,(a=s.__i=ih(s,i,o,h))!==-1&&(h--,(r=i[a])&&(r.__u|=131072)),r==null||r.__v===null?(a==-1&&u--,typeof s.type!="function"&&(s.__u|=65536)):a!==o&&(a==o-1?u--:a==o+1?u++:(a>o?u--:u++,s.__u|=65536))):s=e.__k[n]=null;if(h)for(n=0;n<l;n++)(r=i[n])!=null&&!(131072&r.__u)&&(r.__e==e.__d&&(e.__d=Be(r)),ao(r,r))}function io(e,t,i){var n,s;if(typeof e.type=="function"){for(n=e.__k,s=0;n&&s<n.length;s++)n[s]&&(n[s].__=e,t=io(n[s],t,i));return t}e.__e!=t&&(t&&e.type&&!i.contains(t)&&(t=Be(e)),i.insertBefore(e.__e,t||null),t=e.__e);do t=t&&t.nextSibling;while(t!=null&&t.nodeType===8);return t}function no(e,t){return t=t||[],e==null||typeof e=="boolean"||(Xi(e)?e.some(function(i){no(i,t)}):t.push(e)),t}function ih(e,t,i,n){var s=e.key,r=e.type,o=i-1,a=i+1,c=t[i];if(c===null||c&&s==c.key&&r===c.type&&!(131072&c.__u))return i;if(n>(c!=null&&!(131072&c.__u)?1:0))for(;o>=0||a<t.length;){if(o>=0){if((c=t[o])&&!(131072&c.__u)&&s==c.key&&r===c.type)return o;o--}if(a<t.length){if((c=t[a])&&!(131072&c.__u)&&s==c.key&&r===c.type)return a;a++}}return-1}function so(e,t,i){t[0]==="-"?e.setProperty(t,i??""):e[t]=i==null?"":typeof i!="number"||th.test(t)?i:i+"px"}function Zi(e,t,i,n,s){var r;t:if(t==="style")if(typeof i=="string")e.style.cssText=i;else{if(typeof n=="string"&&(e.style.cssText=n=""),n)for(t in n)i&&t in i||so(e.style,t,"");if(i)for(t in i)n&&i[t]===n[t]||so(e.style,t,i[t])}else if(t[0]==="o"&&t[1]==="n")r=t!==(t=t.replace(/(PointerCapture)$|Capture$/i,"$1")),t=t.toLowerCase()in e||t==="onFocusOut"||t==="onFocusIn"?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+r]=i,i?n?i.u=n.u:(i.u=fs,e.addEventListener(t,r?gs:ps,r)):e.removeEventListener(t,r?gs:ps,r);else{if(s=="http://www.w3.org/2000/svg")t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!="width"&&t!="height"&&t!="href"&&t!="list"&&t!="form"&&t!="tabIndex"&&t!="download"&&t!="rowSpan"&&t!="colSpan"&&t!="role"&&t!="popover"&&t in e)try{e[t]=i??"";break t}catch{}typeof i=="function"||(i==null||i===!1&&t[4]!=="-"?e.removeAttribute(t):e.setAttribute(t,t=="popover"&&i==1?"":i))}}function ro(e){return function(t){if(this.l){var i=this.l[t.type+e];if(t.t==null)t.t=fs++;else if(t.t<i.u)return;return i(V.event?V.event(t):t)}}}function bs(e,t,i,n,s,r,o,a,c,l){var h,u,d,f,p,m,v,x,y,w,b,S,_,A,C,M,O=t.type;if(t.constructor!==void 0)return null;128&i.__u&&(c=!!(32&i.__u),r=[a=t.__e=i.__e]),(h=V.__b)&&h(t);t:if(typeof O=="function")try{if(x=t.props,y="prototype"in O&&O.prototype.render,w=(h=O.contextType)&&n[h.__c],b=h?w?w.props.value:h.__:n,i.__c?v=(u=t.__c=i.__c).__=u.__E:(y?t.__c=u=new O(x,b):(t.__c=u=new Ji(x,b),u.constructor=O,u.render=sh),w&&w.sub(u),u.props=x,u.state||(u.state={}),u.context=b,u.__n=n,d=u.__d=!0,u.__h=[],u._sb=[]),y&&u.__s==null&&(u.__s=u.state),y&&O.getDerivedStateFromProps!=null&&(u.__s==u.state&&(u.__s=qt({},u.__s)),qt(u.__s,O.getDerivedStateFromProps(x,u.__s))),f=u.props,p=u.state,u.__v=t,d)y&&O.getDerivedStateFromProps==null&&u.componentWillMount!=null&&u.componentWillMount(),y&&u.componentDidMount!=null&&u.__h.push(u.componentDidMount);else{if(y&&O.getDerivedStateFromProps==null&&x!==f&&u.componentWillReceiveProps!=null&&u.componentWillReceiveProps(x,b),!u.__e&&(u.shouldComponentUpdate!=null&&u.shouldComponentUpdate(x,u.__s,b)===!1||t.__v===i.__v)){for(t.__v!==i.__v&&(u.props=x,u.state=u.__s,u.__d=!1),t.__e=i.__e,t.__k=i.__k,t.__k.some(function(E){E&&(E.__=t)}),S=0;S<u._sb.length;S++)u.__h.push(u._sb[S]);u._sb=[],u.__h.length&&o.push(u);break t}u.componentWillUpdate!=null&&u.componentWillUpdate(x,u.__s,b),y&&u.componentDidUpdate!=null&&u.__h.push(function(){u.componentDidUpdate(f,p,m)})}if(u.context=b,u.props=x,u.__P=e,u.__e=!1,_=V.__r,A=0,y){for(u.state=u.__s,u.__d=!1,_&&_(t),h=u.render(u.props,u.state,u.context),C=0;C<u._sb.length;C++)u.__h.push(u._sb[C]);u._sb=[]}else do u.__d=!1,_&&_(t),h=u.render(u.props,u.state,u.context),u.state=u.__s;while(u.__d&&++A<25);u.state=u.__s,u.getChildContext!=null&&(n=qt(qt({},n),u.getChildContext())),y&&!d&&u.getSnapshotBeforeUpdate!=null&&(m=u.getSnapshotBeforeUpdate(f,p)),eo(e,Xi(M=h!=null&&h.type===Z&&h.key==null?h.props.children:h)?M:[M],t,i,n,s,r,o,a,c,l),u.base=t.__e,t.__u&=-161,u.__h.length&&o.push(u),v&&(u.__E=u.__=null)}catch(E){if(t.__v=null,c||r!=null){for(t.__u|=c?160:128;a&&a.nodeType===8&&a.nextSibling;)a=a.nextSibling;r[r.indexOf(a)]=null,t.__e=a}else t.__e=i.__e,t.__k=i.__k;V.__e(E,t,i)}else r==null&&t.__v===i.__v?(t.__k=i.__k,t.__e=i.__e):t.__e=nh(i.__e,t,i,n,s,r,o,c,l);(h=V.diffed)&&h(t)}function oo(e,t,i){t.__d=void 0;for(var n=0;n<i.length;n++)vs(i[n],i[++n],i[++n]);V.__c&&V.__c(t,e),e.some(function(s){try{e=s.__h,s.__h=[],e.some(function(r){r.call(s)})}catch(r){V.__e(r,s.__v)}})}function nh(e,t,i,n,s,r,o,a,c){var l,h,u,d,f,p,m,v=i.props,x=t.props,y=t.type;if(y==="svg"?s="http://www.w3.org/2000/svg":y==="math"?s="http://www.w3.org/1998/Math/MathML":s||(s="http://www.w3.org/1999/xhtml"),r!=null){for(l=0;l<r.length;l++)if((f=r[l])&&"setAttribute"in f==!!y&&(y?f.localName===y:f.nodeType===3)){e=f,r[l]=null;break}}if(e==null){if(y===null)return document.createTextNode(x);e=document.createElementNS(s,y,x.is&&x),a&&(V.__m&&V.__m(t,r),a=!1),r=null}if(y===null)v===x||a&&e.data===x||(e.data=x);else{if(r=r&&rt.call(e.childNodes),v=i.props||ai,!a&&r!=null)for(v={},l=0;l<e.attributes.length;l++)v[(f=e.attributes[l]).name]=f.value;for(l in v)if(f=v[l],l!="children"){if(l=="dangerouslySetInnerHTML")u=f;else if(!(l in x)){if(l=="value"&&"defaultValue"in x||l=="checked"&&"defaultChecked"in x)continue;Zi(e,l,null,f,s)}}for(l in x)f=x[l],l=="children"?d=f:l=="dangerouslySetInnerHTML"?h=f:l=="value"?p=f:l=="checked"?m=f:a&&typeof f!="function"||v[l]===f||Zi(e,l,f,v[l],s);if(h)a||u&&(h.__html===u.__html||h.__html===e.innerHTML)||(e.innerHTML=h.__html),t.__k=[];else if(u&&(e.innerHTML=""),eo(e,Xi(d)?d:[d],t,i,n,y==="foreignObject"?"http://www.w3.org/1999/xhtml":s,r,o,r?r[0]:i.__k&&Be(i,0),a,c),r!=null)for(l=r.length;l--;)$r(r[l]);a||(l="value",y==="progress"&&p==null?e.removeAttribute("value"):p!==void 0&&(p!==e[l]||y==="progress"&&!p||y==="option"&&p!==v[l])&&Zi(e,l,p,v[l],s),l="checked",m!==void 0&&m!==e[l]&&Zi(e,l,m,v[l],s))}return e}function vs(e,t,i){try{if(typeof e=="function"){var n=typeof e.__u=="function";n&&e.__u(),n&&t==null||(e.__u=e(t))}else e.current=t}catch(s){V.__e(s,i)}}function ao(e,t,i){var n,s;if(V.unmount&&V.unmount(e),(n=e.ref)&&(n.current&&n.current!==e.__e||vs(n,null,t)),(n=e.__c)!=null){if(n.componentWillUnmount)try{n.componentWillUnmount()}catch(r){V.__e(r,t)}n.base=n.__P=null}if(n=e.__k)for(s=0;s<n.length;s++)n[s]&&ao(n[s],t,i||typeof e.type!="function");i||$r(e.__e),e.__c=e.__=e.__e=e.__d=void 0}function sh(e,t,i){return this.constructor(e,i)}function rh(e,t,i){var n,s,r,o;V.__&&V.__(e,t),s=(n=typeof i=="function")?null:t.__k,r=[],o=[],bs(t,e=(!n&&i||t).__k=ye(Z,null,[e]),s||ai,ai,t.namespaceURI,!n&&i?[i]:s?null:t.firstChild?rt.call(t.childNodes):null,r,!n&&i?i:s?s.__e:t.firstChild,n,o),oo(r,e,o)}function co(e,t,i){var n,s,r,o,a=qt({},e.props);for(r in e.type&&e.type.defaultProps&&(o=e.type.defaultProps),t)r=="key"?n=t[r]:r=="ref"?s=t[r]:a[r]=t[r]===void 0&&o!==void 0?o[r]:t[r];return arguments.length>2&&(a.children=arguments.length>3?rt.call(arguments,2):i),ci(e.type,a,n||e.key,s||e.ref,null)}function lo(e,t){var i={__c:t="__cC"+Gr++,__:e,Consumer:function(n,s){return n.children(s)},Provider:function(n){var s,r;return this.getChildContext||(s=new Set,(r={})[t]=this,this.getChildContext=function(){return r},this.componentWillUnmount=function(){s=null},this.shouldComponentUpdate=function(o){this.props.value!==o.value&&s.forEach(function(a){a.__e=!0,ms(a)})},this.sub=function(o){s.add(o);var a=o.componentWillUnmount;o.componentWillUnmount=function(){s&&s.delete(o),a&&a.call(o)}}),n.children}};return i.Provider.__=i.Consumer.contextType=i}rt=Zr.slice,V={__e:function(e,t,i,n){for(var s,r,o;t=t.__;)if((s=t.__c)&&!s.__)try{if((r=s.constructor)&&r.getDerivedStateFromError!=null&&(s.setState(r.getDerivedStateFromError(e)),o=s.__d),s.componentDidCatch!=null&&(s.componentDidCatch(e,n||{}),o=s.__d),o)return s.__E=s}catch(a){e=a}throw e}},Qr=0,Ji.prototype.setState=function(e,t){var i;i=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=qt({},this.state),typeof e=="function"&&(e=e(qt({},i),this.props)),e&&qt(i,e),e!=null&&this.__v&&(t&&this._sb.push(t),ms(this))},Ji.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),ms(this))},Ji.prototype.render=Z,xe=[],Jr=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,ds=function(e,t){return e.__v.__b-t.__v.__b},Gi.__r=0,fs=0,ps=ro(!1),gs=ro(!0),Gr=0;var oh=0;function g(e,t,i,n,s,r){t||(t={});var o,a,c=t;"ref"in t&&(o=t.ref,delete t.ref);var l={type:e,props:c,key:i,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--oh,__i:-1,__u:0,__source:s,__self:r};if(typeof e=="function"&&(o=e.defaultProps))for(a in o)c[a]===void 0&&(c[a]=o[a]);return V.vnode&&V.vnode(l),l}const ah="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20fill='%231a5b6e'%20class='bi%20bi-house-door-fill'%20viewBox='0%200%2016%2016'%3e%3cpath%20d='M6.5%2014.5v-3.505c0-.245.25-.495.5-.495h2c.25%200%20.5.25.5.5v3.5a.5.5%200%200%200%20.5.5h4a.5.5%200%200%200%20.5-.5v-7a.5.5%200%200%200-.146-.354L13%205.793V2.5a.5.5%200%200%200-.5-.5h-1a.5.5%200%200%200-.5.5v1.293L8.354%201.146a.5.5%200%200%200-.708%200l-6%206A.5.5%200%200%200%201.5%207.5v7a.5.5%200%200%200%20.5.5h4a.5.5%200%200%200%20.5-.5'/%3e%3c/svg%3e";function xs({expandWidth:e=!1,homeTitle:t="ACCESS Home",homeUrl:i="https://access-ci.org/",items:n=[],topBorder:s=!1}){if(!(!n||!n.length))return g("ul",{class:`breadcrumbs ${e?"expand":""} ${s?"top-border":""}`,children:[g("li",{class:"home",children:g("a",{href:i,title:t,children:g("img",{src:ah,alt:t,height:"14"})})}),n.map(r=>g("li",{class:r.classes||"",children:r.href?g("a",{href:r.href,children:r.name}):r.name}))]})}const ho=[{name:"Researchers",href:"https://access-ci.org/get-started/for-researchers/"},{name:"Educators",href:"https://access-ci.org/get-started/for-educators/"},{name:"Graduate Students",href:"https://access-ci.org/get-started/for-graduate-students/"},{name:"Resource Providers",href:"https://access-ci.org/get-started/for-resource-providers/"},{name:"CI Community",href:"https://access-ci.org/get-started/for-programs-organizations/"}],uo=[{name:"ACCESS Home",href:"https://access-ci.org/",classes:"icon icon-home"},{name:"Allocations",href:"https://allocations.access-ci.org/",classes:"track"},{name:"Resources",href:"https://allocations.access-ci.org/resources",classes:"track"},{name:"Events & Trainings",href:"https://support.access-ci.org/events",classes:"track"},{name:"Support",href:"https://support.access-ci.org/",classes:"track"},{name:"News",href:"https://access-ci.org/news/",classes:"track"},{name:"About",href:"https://access-ci.org/about/",classes:"track grow"},{name:"Find info for you",classes:"highlight",items:ho},{name:"Search",href:"https://support.access-ci.org/find",classes:"icon icon-search"}],fo={name:"My ACCESS",items:[{name:"Allocations",href:"https://allocations.access-ci.org/requests"},{name:"Community Persona",href:"https://support.access-ci.org/community-persona"},{name:"Edit Profile",href:"https://allocations.access-ci.org/profile"},{name:"Publications",href:"https://allocations.access-ci.org/publications"},{name:"Share with ORCID",href:"https://allocations.access-ci.org/orcid"},{name:"Log out",href:"https://cilogon.org/logout/?skin=access"}]},po={name:"Login",items:[{name:"Login",href:"https://cilogon.org/?skin=access"},{name:"Questions",href:"https://identity.access-ci.org/"},{name:"Register",href:"https://identity.access-ci.org/new-user"},{name:"Reset Password",href:"https://identity.access-ci.org/password-reset"}]},ch=[{className:"x",href:"https://twitter.com/ACCESSforCI",name:"X"},{className:"youtube",href:"https://www.youtube.com/c/ACCESSforCI",name:"YouTube"},{className:"facebook",href:"https://www.facebook.com/ACCESSforCI",name:"Facebook"},{className:"linkedin",href:"https://www.linkedin.com/company/accessforci/",name:"LinkedIn"}],lh=[{href:"https://access-ci.org/acceptable-use/",name:"Acceptable Use"},{href:"https://access-ci.org/about/acknowledging-access/",name:"Acknowledging ACCESS"},{href:"https://access-ci.org/code-of-conduct/",name:"Code of Conduct"},{href:"https://access-ci.org/glossary/",name:"Glossary"},{href:"https://access-ci.org/privacy-policy",name:"Privacy Policy"},{href:"https://operations.access-ci.org/report-security-incident",name:"Report a Security Incident"},{href:"https://access-ci.org/site-map/",name:"Site Map"}],hh="https://www.nsf.gov/awardsearch/showAward",li=({number:e})=>g("a",{href:`${hh}?AWD_ID=${e}&HistoricalAwards=false`,children:["#",e]}),$i=({className:e=null,items:t})=>g("ul",{class:e,children:t.map(({className:i,name:n,href:s})=>g("li",{children:g("a",{className:i,href:s,children:n})}))}),uh="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAABIAAAASABGyWs+AABv5klEQVR42u29d5gkVb0+/p5zKnTunp48m3NiWWDJCCJJAREJ14DoNV/1ioqo1wRmr2K46upVMcuiCCIIkgTJYdllE5tnw8xODj3TuSuec35/VOfpWYLu/r7cZ8/z1HZtd09VdZ23PuH9hAMcHUfH0XF0vFoGOXoLDj36t9zEmBo4G1J2mNmDSI08l0yn+v/xuvdssY7enemHcvQWHHo4xrgi3NC1TA2+QQgXY4nxLSPjmXUAjgLrKLBe+bDyg5Qy3acHO5ltOxgcNwNDI3nt6J059KBHb8GL3CCm6wQkKiUHpQyapgcUhepH78xRYP2Tw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B44eDAaB4F0zWEkMbRu3IUWP/0GJ807x5JGE/nCg7gLdU5dvSuHB1Hx/8P4/8D9B8zcoSATacAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjItMDgtMTdUMTY6MTI6MTUtMDQ6MDBuCuvkAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTA4LTE3VDE2OjEyOjE1LTA0OjAwH1dTWAAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAAASUVORK5CYII=",dh="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20id='Layer_1'%20viewBox='0%200%20269.14%2041.37'%3e%3cdefs%3e%3clinearGradient%20id='linear-gradient'%20x1='14.99'%20y1='25.59'%20x2='42.38'%20y2='-1.8'%20gradientTransform='matrix(1,%200,%200,%201,%200,%200)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0'%20stop-color='%23e47637'%3e%3c/stop%3e%3cstop%20offset='.88'%20stop-color='%23ffcc52'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20id='linear-gradient-2'%20x1='87.72'%20y1='26.66'%20x2='112.87'%20y2='1.51'%20gradientTransform='matrix(1,%200,%200,%201,%200,%200)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0'%20stop-color='%23008597'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%2348c0b9'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20id='linear-gradient-3'%20x1='233.69'%20y1='10.21'%20x2='195.89'%20y2='32.03'%20gradientTransform='matrix(1,%200,%200,%201,%200,%200)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='.2'%20stop-color='%23008597'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%2348c0b9'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20id='linear-gradient-4'%20x1='45.84'%20y1='29.07'%20x2='82.09'%20y2='29.07'%20gradientTransform='matrix(1,%200,%200,%201,%200,%200)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='.18'%20stop-color='%2348c0b9'%3e%3c/stop%3e%3cstop%20offset='.81'%20stop-color='%23008597'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20id='linear-gradient-5'%20x1='43.22'%20y1='20.68'%20x2='68.03'%20y2='20.68'%20gradientTransform='matrix(1,%200,%200,%201,%200,%200)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='.22'%20stop-color='%2348c0b9'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%23008597'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20id='linear-gradient-6'%20x1='165.05'%20y1='35.98'%20x2='194.21'%20y2='35.98'%20gradientTransform='matrix(1,%200,%200,%201,%200,%200)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='.03'%20stop-color='%23008597'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%2348c0b9'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20id='linear-gradient-7'%20x1='123.91'%20y1='11.68'%20x2='160.35'%20y2='11.68'%20xlink:href='%23linear-gradient-2'%3e%3c/linearGradient%3e%3clinearGradient%20id='linear-gradient-8'%20x1='269.14'%20y1='20.69'%20x2='234.79'%20y2='20.69'%20gradientTransform='matrix(1,%200,%200,%201,%200,%200)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='.03'%20stop-color='%23038596'%3e%3c/stop%3e%3cstop%20offset='.82'%20stop-color='%2366d6d6'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20id='linear-gradient-9'%20x1='271.07'%20y1='10.21'%20x2='233.26'%20y2='32.03'%20gradientTransform='matrix(1,%200,%200,%201,%200,%200)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='.2'%20stop-color='%23008597'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%2348c0b9'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20id='linear-gradient-10'%20y1='20.36'%20x2='191.15'%20y2='20.36'%20xlink:href='%23linear-gradient-6'%3e%3c/linearGradient%3e%3clinearGradient%20id='linear-gradient-11'%20y1='5.3'%20y2='5.3'%20xlink:href='%23linear-gradient-6'%3e%3c/linearGradient%3e%3c/defs%3e%3cg%3e%3cpolygon%20points='44.62%20.43%202.5%207.94%2030.06%2040.66%2044.62%20.43'%20style='fill:url(%23linear-gradient);'%3e%3c/polygon%3e%3crect%20x='15.25'%20y='17.07'%20width='8.79'%20height='8.79'%20transform='translate(23.41%20-7.39)%20rotate(49.9)'%20style='fill:%23fff;'%3e%3c/rect%3e%3crect%20x='8.52'%20y='22.74'%20width='8.79'%20height='8.79'%20transform='translate(25.35%20-.23)%20rotate(49.9)'%20style='fill:%231a5b6e;'%3e%3c/rect%3e%3crect%20x='1.8'%20y='28.4'%20width='8.79'%20height='8.79'%20transform='translate(27.29%206.93)%20rotate(49.9)'%20style='fill:%23f07537;'%3e%3c/rect%3e%3crect%20x='2.86'%20y='16.01'%20width='8.79'%20height='8.79'%20transform='translate(18.19%201.71)%20rotate(49.9)'%20style='fill:%2348c0b9;'%3e%3c/rect%3e%3crect%20x='14.19'%20y='29.46'%20width='8.79'%20height='8.79'%20transform='translate(32.51%20-2.17)%20rotate(49.9)'%20style='fill:%23008597;'%3e%3c/rect%3e%3c/g%3e%3cg%3e%3cg%3e%3cpath%20d='M70.26,.67l14.44,40.03h-11.09l-2.57-7.25h-14.5l-2.51,7.25h-10.82L57.66,.67h12.6Zm-10.65,24.03h8.37l-4.18-11.93-4.18,11.93Z'%3e%3c/path%3e%3cpath%20d='M103.46,31.89c3.68,0,6.3-2.45,7.02-6.41l10.26,3.4c-2.45,7.53-8.25,12.49-17.23,12.49-11.26,0-19.24-8.64-19.24-20.69S92.25,0,103.52,0c8.98,0,14.77,4.96,17.23,12.49l-10.26,3.4c-.72-3.96-3.34-6.41-7.02-6.41-4.85,0-8.25,4.35-8.25,11.21s3.4,11.21,8.25,11.21Z'%20style='fill:%23008597;'%3e%3c/path%3e%3cpath%20d='M84.42,23.37c-1.27-14.31,7.83-23.37,19.09-23.37,8.98,0,14.77,4.96,17.23,12.49l-10.26,3.4c-.72-3.96-3.34-6.41-7.02-6.41-4.85,0-8.25,4.35-8.25,11.21l-10.79,2.68Z'%20style='fill:url(%23linear-gradient-2);'%3e%3c/path%3e%3cpath%20d='M143.01,31.89c3.68,0,6.3-2.45,7.02-6.41l10.26,3.4c-2.45,7.53-8.25,12.49-17.23,12.49-11.26,0-19.24-8.64-19.24-20.69S131.8,0,143.07,0c8.98,0,14.77,4.96,17.23,12.49l-10.26,3.4c-.72-3.96-3.34-6.41-7.02-6.41-4.85,0-8.25,4.35-8.25,11.21s3.4,11.21,8.25,11.21Z'%20style='fill:%23008597;'%3e%3c/path%3e%3cpath%20d='M203.38,26.76c3.4,3.85,7.92,5.63,11.99,5.63,3.35,0,5.58-1.23,5.58-3.51,0-2.57-2.84-2.9-8.98-4.13-5.85-1.17-12.26-3.34-12.26-11.49s7.08-13.27,15.95-13.27c7.02,0,12.54,2.73,15.72,6.19l-5.91,7.36c-2.62-2.9-6.13-4.57-10.09-4.57-2.95,0-4.96,1.12-4.96,3.18,0,2.29,2.45,2.67,7.3,3.68,6.25,1.28,14.05,3.01,14.05,11.93s-7.58,13.61-16.83,13.61c-6.53,0-14.16-2.57-17.51-6.69l5.97-7.92Z'%20style='fill:url(%23linear-gradient-3);'%3e%3c/path%3e%3cpath%20d='M211.97,24.76c-5.85-1.17-12.26-3.34-12.26-11.49s7.08-13.27,15.95-13.27c7.02,0,12.54,2.73,15.72,6.19l-5.91,7.36c-2.62-2.9-6.13-4.57-10.09-4.57-2.95,0-4.96,1.12-4.96,3.18,0,2.29,2.45,2.67,7.3,3.68l-5.74,8.92Z'%20style='fill:%23008597;'%3e%3c/path%3e%3cpath%20d='M70.26,.67l14.44,40.03h-11.09l-2.57-7.25L59.62,.67h10.65Zm-2.29,24.03'%20style='fill:%23008597;'%3e%3c/path%3e%3cpath%20d='M194.21,.67V9.92h-18.46v5.97h15.28v9.03h-15.28v6.52h18.46v9.26h-29.16V.67h29.16Z'%20style='fill:%23008597;'%3e%3c/path%3e%3c/g%3e%3cpolygon%20points='82.09%2033.45%2078.93%2024.7%2067.98%2024.7%2059.61%2024.7%2048.99%2024.7%2045.84%2033.45%2082.09%2033.45'%20style='fill:url(%23linear-gradient-4);'%3e%3c/polygon%3e%3cpath%20d='M68.03,.67l-13.99,40.03h-10.82L57.66,.67h10.37Zm-8.42,24.03l4.18-11.93-4.18,11.93Z'%20style='fill:url(%23linear-gradient-5);'%3e%3c/path%3e%3cpolygon%20points='165.05%2031.35%20165.05%2040.61%20175.76%2040.61%20176.66%2040.61%20194.21%2040.61%20194.21%2031.35%20165.05%2031.35'%20style='fill:url(%23linear-gradient-6);'%3e%3c/polygon%3e%3cpolygon%20points='175.75%2015.39%20165.05%2015.39%20165.05%20.74%20175.75%20.67%20175.75%2015.39'%20style='fill:%23008597;'%3e%3c/polygon%3e%3cpath%20d='M124.03,23.37c-1.27-14.31,7.83-23.37,19.09-23.37,8.98,0,14.77,4.96,17.23,12.49l-10.26,3.4c-.72-3.96-3.34-6.41-7.02-6.41-4.85,0-8.25,4.35-8.25,11.21l-10.79,2.68Z'%20style='fill:url(%23linear-gradient-7);'%3e%3c/path%3e%3cpath%20d='M240.76,26.76c3.4,3.85,7.92,5.63,11.99,5.63,3.35,0,5.58-1.23,5.58-3.51,0-2.57-2.84-2.9-8.98-4.13-5.85-1.17-12.26-3.34-12.26-11.49s7.08-13.27,15.95-13.27c7.02,0,12.54,2.73,15.72,6.19l-5.91,7.36c-2.62-2.9-6.13-4.57-10.09-4.57-2.95,0-4.96,1.12-4.96,3.18,0,2.29,2.45,2.67,7.3,3.68,6.25,1.28,14.05,3.01,14.05,11.93s-7.58,13.61-16.83,13.61c-6.53,0-14.16-2.57-17.51-6.69l5.97-7.92Z'%20style='fill:url(%23linear-gradient-8);'%3e%3c/path%3e%3cpath%20d='M240.76,26.76c3.4,3.85,7.92,5.63,11.99,5.63,3.35,0,5.58-1.23,5.58-3.51,0-2.57-2.84-2.9-8.98-4.13-5.85-1.17-12.26-3.34-12.26-11.49s7.08-13.27,15.95-13.27c7.02,0,12.54,2.73,15.72,6.19l-5.91,7.36c-2.62-2.9-6.13-4.57-10.09-4.57-2.95,0-4.96,1.12-4.96,3.18,0,2.29,2.45,2.67,7.3,3.68,6.25,1.28,14.05,3.01,14.05,11.93s-7.58,13.61-16.83,13.61c-6.53,0-14.16-2.57-17.51-6.69l5.97-7.92Z'%20style='fill:url(%23linear-gradient-9);'%3e%3c/path%3e%3cpolygon%20points='165.05%2015.73%20165.05%2024.99%20175.76%2024.99%20176.66%2024.99%20191.15%2024.99%20191.15%2015.73%20165.05%2015.73'%20style='fill:url(%23linear-gradient-10);'%3e%3c/polygon%3e%3cpath%20d='M249.34,24.76c-5.85-1.17-12.26-3.34-12.26-11.49s7.08-13.27,15.95-13.27c7.02,0,12.54,2.73,15.72,6.19l-5.91,7.36c-2.62-2.9-6.13-4.57-10.09-4.57-2.95,0-4.96,1.12-4.96,3.18,0,2.29,2.45,2.67,7.3,3.68l-5.74,8.92Z'%20style='fill:%23008597;'%3e%3c/path%3e%3cpolygon%20points='165.05%20.67%20165.05%209.92%20175.76%209.92%20176.66%209.92%20194.21%209.92%20194.21%20.67%20165.05%20.67'%20style='fill:url(%23linear-gradient-11);'%3e%3c/polygon%3e%3c/g%3e%3c/svg%3e",go=({nsfUrl:e="https://www.nsf.gov",placement:t="header",siteName:i="",siteUrl:n="/"})=>g("div",{class:`logo logo-${t}`,children:[g("a",{class:"nsf",href:e,children:g("img",{class:"nsf-logo",src:uh,alt:"National Science Foundation"})}),g("div",{class:"divider"}),g("a",{class:"access",href:n,children:[g("img",{class:"access-logo",src:dh,alt:"ACCESS"}),i&&t=="header"?g("span",{class:`name name-${i.toLocaleLowerCase().replace(" ","-")}`,children:i}):null]})]});var ne,q,ys,mo,tn=0,bo=[],et=V,vo=et.__b,xo=et.__r,yo=et.diffed,_o=et.__c,wo=et.unmount,ko=et.__;function ze(e,t){et.__h&&et.__h(q,e,tn||t),tn=0;var i=q.__H||(q.__H={__:[],__h:[]});return e>=i.__.length&&i.__.push({}),i.__[e]}function mt(e){return tn=1,_s(Mo,e)}function _s(e,t,i){var n=ze(ne++,2);if(n.t=e,!n.__c&&(n.__=[Mo(void 0,t),function(a){var c=n.__N?n.__N[0]:n.__[0],l=n.t(c,a);c!==l&&(n.__N=[l,n.__[1]],n.__c.setState({}))}],n.__c=q,!q.u)){var s=function(a,c,l){if(!n.__c.__H)return!0;var h=n.__c.__H.__.filter(function(d){return!!d.__c});if(h.every(function(d){return!d.__N}))return!r||r.call(this,a,c,l);var u=!1;return h.forEach(function(d){if(d.__N){var f=d.__[0];d.__=d.__N,d.__N=void 0,f!==d.__[0]&&(u=!0)}}),!(!u&&n.__c.props===a)&&(!r||r.call(this,a,c,l))};q.u=!0;var r=q.shouldComponentUpdate,o=q.componentWillUpdate;q.componentWillUpdate=function(a,c,l){if(this.__e){var h=r;r=void 0,s(a,c,l),r=h}o&&o.call(this,a,c,l)},q.shouldComponentUpdate=s}return n.__N||n.__}function _e(e,t){var i=ze(ne++,3);!et.__s&&ks(i.__H,t)&&(i.__=e,i.i=t,q.__H.__h.push(i))}function se(e,t){var i=ze(ne++,4);!et.__s&&ks(i.__H,t)&&(i.__=e,i.i=t,q.__h.push(i))}function it(e){return tn=5,Ve(function(){return{current:e}},[])}function Ve(e,t){var i=ze(ne++,7);return ks(i.__H,t)&&(i.__=e(),i.__H=t,i.__h=e),i.__}function So(e){var t=q.context[e.__c],i=ze(ne++,9);return i.c=e,t?(i.__==null&&(i.__=!0,t.sub(q)),t.props.value):e.__}function fh(){var e=ze(ne++,11);if(!e.__){for(var t=q.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var i=t.__m||(t.__m=[0,0]);e.__="P"+i[0]+"-"+i[1]++}return e.__}function ph(){for(var e;e=bo.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(en),e.__H.__h.forEach(ws),e.__H.__h=[]}catch(t){e.__H.__h=[],et.__e(t,e.__v)}}et.__b=function(e){q=null,vo&&vo(e)},et.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),ko&&ko(e,t)},et.__r=function(e){xo&&xo(e),ne=0;var t=(q=e.__c).__H;t&&(ys===q?(t.__h=[],q.__h=[],t.__.forEach(function(i){i.__N&&(i.__=i.__N),i.i=i.__N=void 0})):(t.__h.forEach(en),t.__h.forEach(ws),t.__h=[],ne=0)),ys=q},et.diffed=function(e){yo&&yo(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(bo.push(t)!==1&&mo===et.requestAnimationFrame||((mo=et.requestAnimationFrame)||gh)(ph)),t.__H.__.forEach(function(i){i.i&&(i.__H=i.i),i.i=void 0})),ys=q=null},et.__c=function(e,t){t.some(function(i){try{i.__h.forEach(en),i.__h=i.__h.filter(function(n){return!n.__||ws(n)})}catch(n){t.some(function(s){s.__h&&(s.__h=[])}),t=[],et.__e(n,i.__v)}}),_o&&_o(e,t)},et.unmount=function(e){wo&&wo(e);var t,i=e.__c;i&&i.__H&&(i.__H.__.forEach(function(n){try{en(n)}catch(s){t=s}}),i.__H=void 0,t&&et.__e(t,i.__v))};var Ao=typeof requestAnimationFrame=="function";function gh(e){var t,i=function(){clearTimeout(n),Ao&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(i,100);Ao&&(t=requestAnimationFrame(i))}function en(e){var t=q,i=e.__c;typeof i=="function"&&(e.__c=void 0,i()),q=t}function ws(e){var t=q;e.__c=e.__(),q=t}function ks(e,t){return!e||e.length!==t.length||t.some(function(i,n){return i!==e[n]})}function Mo(e,t){return typeof t=="function"?t(e):t}const Ss=(e=900)=>document.body.clientWidth>=e?"desktop":"mobile",Co=(e=900)=>{const[t,i]=mt(Ss(e));return _e(()=>{window.addEventListener("resize",()=>i(Ss(e)))},[]),t},re=(e,t,i=[])=>{const n=t.attachShadow({mode:"open"});rh(g(Z,{children:[e,i.map(s=>g("style",{children:s}))]}),n)},Oo=()=>window.pageYOffset!==void 0?window.pageYOffset:(document.documentElement||document.body.parentNode||document.body).scrollTop,Eo={},nn={},mh=(e,{cache:t=!0,corsProxy:i=!1}={cache:!0,corsProxy:!1})=>{if(t&&e in Eo)return Eo[e];if(e in nn)return nn[e];const n=fetch(i?`https://corsproxy.io/?${encodeURIComponent(e)}`:e).then(s=>{if(delete nn[e],s.status<200||s.status>299)return{error:{status:s.status}};try{return s.json()}catch(r){return{error:{message:r}}}});return nn[e]=n,n},ft=(e,{cache:t=!0,corsProxy:i=!1,defaultValue:n=null}={cache:!0,corsProxy:!1,defaultValue:null})=>{const[s,r]=mt(n);let o=!1;return Array.isArray(e)||(e=e?[e]:[],o=!0),_e(()=>{e.length&&(async()=>{const a=await Promise.all(e.map(l=>mh(l,{cache:t,corsProxy:i}))),c=o?a[0]:a;r(c)})()},[...e]),s},To=()=>{const e=ft("https://operations-api.access-ci.org/wh2/cider/v1/access-active-groups/type/resource-catalog.access-ci.org/");return As([e],({results:t})=>{const{active_groups:i,feature_categories:n,features:s,organizations:r,resources:o}=t,a=[{tagCategoryId:-1,name:"Resource Provider",tags:[]}],c=[-1];for(let p of n)[100,102,103].includes(p.feature_category_id)&&(a.push({tagCategoryId:p.feature_category_id,name:p.feature_category_name,tags:[]}),c.push(p.feature_category_id));a.sort((p,m)=>p.name.localeCompare(m.name));const l=s.filter(p=>c.includes(p.feature_category_id)).map(p=>({tagId:p.feature_id,name:p.feature_name,tagCategoryId:p.feature_category_id})),h={};for(let p of r)l.push({tagId:p.organization_id*-1,name:p.organization_name,tagCategoryId:-1,iconUri:p.organization_favicon_url||null}),h[p.organization_id]=p;l.sort((p,m)=>p.name.localeCompare(m.name));const u=l.map(p=>p.tagId),d=[{resourceCategoryId:1,name:"Compute & Storage Resources",resourceGroups:[],resourceGroupIds:[]},{resourceCategoryId:2,name:"Program & Other Resources",resourceGroups:[],resourceGroupIds:[]}],f=i.filter(p=>p.rollup_info_resourceids).map(p=>({infoGroupId:p.info_groupid,name:p.group_descriptive_name,description:p.group_description,infoResourceIds:p.rollup_info_resourceids,imageUri:p.group_logo_url?`https://cider.access-ci.org/public/groups/${p.group_logo_url.match(/[0-9]+/)[0]}/logo`:null,tagIds:[...p.rollup_organization_ids.map(m=>m*-1).filter(m=>u.includes(m)),...p.rollup_feature_ids.filter(m=>u.includes(m))],resourceCategoryId:p.rollup_feature_ids.includes(137)?2:1,accessAllocated:p.rollup_feature_ids.includes(139),organizations:p.rollup_organization_ids.map(m=>h[m]).filter(m=>m),resources:o.filter(m=>p.rollup_info_resourceids.includes(m.info_resourceid))})).sort((p,m)=>p.name.localeCompare(m.name));return vh({resourceCategories:d,resourceGroups:f,tags:l,tagCategories:a})})},hi=(e,t=null)=>{const i=To();return i&&i.resourceGroups.find(n=>n.infoGroupId==e)||t},bh=(e,t=[])=>{const i=ft(`https://operations-api.access-ci.org/wh2/cider/v1/access-active/info_groupid/${e}/?format=json`);return i&&!i.error?i.results:t},As=(e,t,i=null)=>Ve(()=>{if(!e.length)return i;for(let n of e)if(!n||n.error)return i;return t.apply(null,e)},e),vh=({resourceCategories:e,resourceGroups:t,tags:i,tagCategories:n})=>{const s={};for(let a of n)a.tags=[],s[a.tagCategoryId]=a;const r={};for(let a of i)a.tagCategory=s[a.tagCategoryId],a.tagCategory.tags.push(a),a.resources=[],r[a.tagId]=a;const o={};for(let a of e)a.resourceGroups=[],o[a.resourceCategoryId]=a;for(let a of t)a.resourceCategory=o[a.resourceCategoryId],a.resourceCategory.resourceGroups.push(a),a.tags=a.tagIds.map(c=>r[c]);return{resourceCategories:e,resourceGroups:t,tags:i,tagCategories:n}},xh=({resourceGroups:e,tags:t,tagCategories:i},n)=>{const s=new Set,r=new Set,o=new Set,a=new Set(n);for(let h of t)a.has(h.tagId)&&o.add(h.tagCategoryId);const c=i.filter(({tagCategoryId:h})=>o.has(h)),l=new Set(t.filter(h=>!o.has(h.tagCategoryId)).map(h=>h.tagId));for(let h of e){let u=!0;for(let d of c){let f=!1;for(let p of d.tags)if(a.has(p.tagId)&&h.tags.includes(p)){f=!0;break}if(!f){u=!1;break}}if(u){r.add(h.infoGroupId),s.add(h.resourceCategoryId);for(let d of h.tagIds)l.delete(d)}}return{disabledTagIds:l,resourceCategoryIds:s,infoGroupIds:r,tagCategoryIds:o,tagIds:a}},Do=e=>{let t=e.match(/href="([^"]+)"/);return t?t[1]:null},Ms=e=>e.replace(/(<[^>]+>)/g,"").replace(/ /g," "),Cs=e=>{const t=[];for(let i of e.split(/(\<\/p\>)|[\n\r]+/g)){if(!i)continue;const n=Array.from(i.matchAll(/<a([^>]+)>([^<]+)<\/a>/g)),s=i.split(/<a[^<]+<\/a>/g),r=[];for(;s.length>0;){r.push(Ms(s.shift()));let o=n.shift();if(o){let a=Do(o[1]);a&&r.push(g("a",{href:a,children:o[2]}))}}t.push(g("p",{children:r}))}return t},yh=({showAfterScroll:e=300})=>{const[t,i]=mt(!1);return _e(()=>{window.addEventListener("scroll",()=>i(Oo()>=e))},[]),g("button",{class:`scroll-to-top ${t?"visible":""}`,title:"Return to Top",onClick:()=>window.scrollTo({top:0,behavior:"smooth"}),children:"Return to Top"})},_h=(e={})=>g(Z,{children:[g("div",{class:"container",children:[g("div",{class:"upper",children:[g("div",{class:"about",children:[g("p",{class:"awards",children:["ACCESS is an advanced computing and data resource program supported by the U.S. National Science Foundation (NSF) under the Office of Advanced Cyberinfrastructure awards"," ",g(li,{number:2138259}),", ",g(li,{number:2138286}),","," ",g(li,{number:2138307}),", ",g(li,{number:2137603})," and"," ",g(li,{number:2138296}),"."]}),g("p",{class:"disclaimer",children:"Any opinions, findings, conclusions or recommendations expressed in this material are those of the authors and do not necessarily reflect the views of NSF."}),g("a",{class:"contact",href:"https://access-ci.org/contact/",children:"Contact ACCESS"}),g($i,{className:"social",items:ch})]}),g("div",{class:"personas",children:[g("p",{children:"For:"}),g($i,{items:ho})]})]}),g("div",{class:"lower",children:[g(go,{siteName:"ACCESS",siteUrl:"https://access-ci.org",placement:"footer"}),g($i,{className:"links",items:lh})]})]}),g(yh,{...e})]}),wh=(e={})=>g("div",{class:"container",children:g(go,{...e})}),Po=({autoOpenMode:e,classes:t="",href:i="",html:n="",items:s,mode:r,name:o,open:a,parentId:c="root",setOpen:l})=>{const h=fh(),u=a[c]==h,d=u||e==r,f=()=>l({...a,[c]:u?null:h});if(n)return g("div",{dangerouslySetInnerHTML:{__html:n}});if(i)return g("a",{href:i,class:`item ${t||""}`,children:o});if(s)return g(Z,{children:[o&&g("button",{"aria-expanded":d,"aria-controls":h,class:`item ${d?"expanded":"collapsed"}`,onClick:f,children:o}),g("ul",{class:t,id:h,hidden:!d,"aria-hidden":!d,children:s.map(({autoOpenMode:p,classes:m,href:v,html:x,items:y,name:w})=>g("li",{class:m||"",children:g(Po,{autoOpenMode:p,href:v,html:x,items:y,mode:r,name:w,open:a,parentId:h,setOpen:l})}))})]})},Ro=({classes:e,items:t,name:i,target:n})=>{const s=Co(1280),[r,o]=mt({});return _e(()=>{document.body.addEventListener("click",a=>{a.target!=n&&Ss()=="desktop"&&o({})}),n.addEventListener("keydown",({key:a})=>{a=="Escape"&&o({})})},[]),g("nav",{class:`menu ${e||""}`,children:g(Po,{autoOpenMode:"desktop",items:t,mode:s,name:i,open:r,setOpen:o})})},kh=({items:e,siteName:t=""})=>{const i=Co(768),n=e.map(({name:s,href:r,items:o})=>{if(i=="mobile")for(;!r;)r=o[0].href,o=o[0];return r?g("div",{class:"column",children:g("h3",{children:g("a",{href:r,children:s})})}):g("div",{class:"column",children:[g("h3",{children:s}),g($i,{items:o})]})});return g("nav",{class:"footer",children:[g("h2",{children:["ACCESS ",t]}),g("div",{class:"columns",children:n})]})};let we,ui;const Sh=(e,t)=>{if(we=void 0,t&&t.type==="click"){if(t.ctrlKey||t.metaKey||t.altKey||t.shiftKey||t.button!==0)return e;const i=t.target.closest("a[href]"),n=i&&i.getAttribute("href");if(!i||i.origin!=location.origin||/^#/.test(n)||!/^(_?self)?$/i.test(i.target)||ui&&(typeof ui=="string"?!n.startsWith(ui):!ui.test(n)))return e;we=!0,t.preventDefault(),t=i.href.replace(location.origin,"")}else typeof t=="string"?we=!0:t&&t.url?(we=!t.replace,t=t.url):t=location.pathname+location.search;return we===!0?history.pushState(null,"",t):we===!1&&history.replaceState(null,"",t),t},Ah=(e,t,i)=>{e=e.split("/").filter(Boolean),t=(t||"").split("/").filter(Boolean);for(let n=0,s,r;n<Math.max(e.length,t.length);n++){let[,o,a,c]=(t[n]||"").match(/^(:?)(.*?)([+*?]?)$/);if(s=e[n],!(!o&&a==s)){if(!o&&s&&c=="*"){i.rest="/"+e.slice(n).map(decodeURIComponent).join("/");break}if(!o||!s&&c!="?"&&c!="*")return;if(r=c=="+"||c=="*",r?s=e.slice(n).map(decodeURIComponent).join("/")||void 0:s&&(s=decodeURIComponent(s)),i.params[a]=s,a in i||(i[a]=s),r)break}}return i};function di(e){const[t,i]=_s(Sh,e.url||location.pathname+location.search);e.scope&&(ui=e.scope);const n=we===!0,s=Ve(()=>{const r=new URL(t,location.origin),o=r.pathname.replace(/\/+$/g,"")||"/";return{url:t,path:o,query:Object.fromEntries(r.searchParams),route:(a,c)=>i({url:a,replace:c}),wasPush:n}},[t]);return se(()=>(addEventListener("click",i),addEventListener("popstate",i),()=>{removeEventListener("click",i),removeEventListener("popstate",i)}),[]),ye(di.ctx.Provider,{value:s},e.children)}const Mh=Promise.resolve();function Io(e){const[t,i]=_s(M=>M+1,0),{url:n,query:s,wasPush:r,path:o}=Ch(),{rest:a=o,params:c={}}=So(Lo),l=it(!1),h=it(o),u=it(0),d=it(),f=it(),p=it(),m=it(!1),v=it();v.current=!1;const x=it(!1);let y,w,b;no(e.children).some(M=>{if(Ah(a,M.props.path,b={...M.props,path:a,query:s,params:c,rest:""}))return y=co(M,b);M.props.default&&(w=co(M,b))});let S=y||w;Ve(()=>{f.current=d.current;const M=f.current&&f.current.props.children;!M||!S||S.type!==M.type||S.props.component!==M.props.component?(this.__v&&this.__v.__k&&this.__v.__k.reverse(),u.current++,x.current=!0):x.current=!1},[n]);const _=d.current&&d.current.__u&sn&&d.current.__u&rn,A=d.current&&d.current.__h;d.current=ye(Lo.Provider,{value:b},S),_?(d.current.__u|=sn,d.current.__u|=rn):A&&(d.current.__h=!0);const C=f.current;return f.current=null,this.__c=(M,O)=>{v.current=!0,f.current=C,e.onLoadStart&&e.onLoadStart(n),l.current=!0;let E=u.current;M.then(()=>{E===u.current&&(f.current=null,d.current&&(O.__h&&(d.current.__h=O.__h),O.__u&rn&&(d.current.__u|=rn),O.__u&sn&&(d.current.__u|=sn)),Mh.then(i))})},se(()=>{const M=this.__v&&this.__v.__e;if(v.current){!m.current&&!p.current&&(p.current=M);return}!m.current&&p.current&&(p.current!==M&&p.current.remove(),p.current=null),m.current=!0,h.current!==o&&(r&&scrollTo(0,0),e.onRouteChange&&e.onRouteChange(n),h.current=o),e.onLoadEnd&&l.current&&e.onLoadEnd(n),l.current=!1},[o,r,t]),x.current?[ye(Os,{r:d}),ye(Os,{r:f})]:ye(Os,{r:d})}const sn=32,rn=128,Os=({r:e})=>e.current;Io.Provider=di,di.ctx=lo({});const Lo=lo({}),Ch=()=>So(di.ctx);function Fo(e){let t,i;const n=()=>e().then(r=>i=r&&r.default||r),s=r=>{const[,o]=mt(0),a=it(i);if(t||(t=n()),i!==void 0)return ye(i,r);throw a.current||(a.current=t.then(()=>o(1))),t};return s.preload=()=>(t||(t=n()),t),s}const Bo=V.__e;V.__e=(e,t,i)=>{if(e&&e.then){let n=t;for(;n=n.__;)if(n.__c&&n.__c.__c)return t.__e==null&&(t.__e=i.__e,t.__k=i.__k),t.__k||(t.__k=[]),n.__c.__c(e,t)}Bo&&Bo(e,t,i)};function Oh(e){return this.__c=Eh,this.componentDidCatch=e.onError,e.children}function Eh(e){e.then(()=>this.forceUpdate())}const Th=Fo(()=>Promise.resolve().then(()=>lb)),Dh=Fo(()=>Promise.resolve().then(()=>mb));function Ph({title:e="Resources",showTitle:t=!0,baseUri:i="/resources"}){return g(di,{children:g(Oh,{children:g(Io,{children:[g(Dh,{path:i,baseUri:i,title:e,showTitle:t}),g(Th,{path:`${i}/:infoGroupId`,baseUri:i})]})})})}const Rh=({headings:e=[],idPrefix:t="",smoothScroll:i=!0})=>{const[n,s]=mt(-1);let r;const o=[];if(e.forEach(a=>{a.tagName=="H1"?r=a:a.tagName=="H2"&&(o.push(a),a.id||(a.id=t+a.textContent.replace(/[^A-Za-z0-9]+/g,"-").toLowerCase()))}),_e(()=>{o.length&&window.addEventListener("scroll",function(){const a=Oo()+window.innerHeight*.1;let c=-1;o.forEach((l,h)=>{if(l.offsetTop<a)return c=h,!1}),s(c)})},[]),!!o.length)return g("div",{class:"toc",children:[r&&g("h2",{children:r.textContent}),o.length>0&&g("ul",{children:o.map((a,c)=>g("li",{children:g("a",{href:`#${a.id}`,class:c==n?"active":"",onClick:l=>{i&&(l.preventDefault(),window.scrollTo({top:a.offsetTop,behavior:"smooth"}),history.pushState(null,null,`#${a.id}`))},children:a.textContent})}))})]})},oe=":host,:root{--contrast: #232323;--contrast-2: #3f3f3f;--contrast-3: #707070;--contrast-6: #999999;--contrast-7: #d9d9d9;--contrast-8: #dfdfdf;--contrast-9: #e5e5e5;--green-400: #288654;--red-400: #a70000;--orange-200: #f6d8ca;--orange-400: #f07537;--teal-050: #ecf9f8;--teal-100: #cee8e9;--teal-200: #b0dadb;--teal-400: #48c0b9;--teal-600: #107180;--teal-700: #1a5b6e;--yellow-200: #fce5ab;--yellow-400: #ffc42d;--color: white;--padding: 30px;--offset: 0px;--outline: white;color:var(--contrast)}:host,:host button,:root,:root button{font-family:Archivo,sans-serif}.container{margin:0 auto;padding:0 var(--padding);width:var(--width)}.visually-hidden{border:0!important;clip:rect(0,0,0,0)!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important;width:1px!important}@media (min-width: 600px){:host,:root{--padding: calc((100% - var(--width)) / 2);--offset: 7px;--width: 540px}}@media (min-width: 768px){:host,:root{--width: 712px}}@media (min-width: 900px){:host,:root{--width: 840px}}@media (min-width: 1024px){:host,:root{--width: 940px}}@media (min-width: 1280px){:host,:root{--padding: 10px;--offset: 0px;--width: 1180px}}",Ih='ul.breadcrumbs{--offset: calc((100vw - var(--width)) / 2);border-bottom:1px solid var(--contrast-7);box-sizing:border-box;font-size:14px;font-stretch:70%;font-weight:600;line-height:20px;list-style-type:none;margin:0;padding:0 30px;width:100vw}ul.breadcrumbs.top-border{border-top:1px solid var(--contrast-7)}ul.breadcrumbs.expand{margin-left:-30px;margin-right:-30px}ul.breadcrumbs li{display:inline-block;margin:0;padding:11px 0 6px;text-transform:uppercase;vertical-align:middle}ul.breadcrumbs li:not(.home):before{content:"/";margin:0 12px}ul.breadcrumbs li a{color:var(--teal-700);text-decoration:none}ul.breadcrumbs li:not(.home) a:active,ul.breadcrumbs li:not(.home) a:focus,ul.breadcrumbs li:not(.home) a:hover{text-decoration:underline}@media (min-width: 600px){ul.breadcrumbs{padding-left:var(--offset);padding-right:var(--offset)}ul.breadcrumbs.expand{margin-left:calc(var(--offset) * -1);margin-right:calc(var(--offset) * -1)}}',Lh=`:root{color:#232323;font-family:Archivo,sans-serif;font-size:16px}h1{font-size:36px;font-stretch:70%;font-weight:500;margin-top:60px}h2{font-size:22px;font-weight:800;margin-top:36px}h3{color:var(--teal-700);font-size:18px;font-weight:800}a{color:var(--contrast);font-weight:800;text-decoration:underline}a:active,a:focus,a:hover{color:var(--teal-600);text-decoration:none}ol,p,ul{font-size:1.125rem;line-height:1.875rem;margin:0 0 1.25rem}li{margin-bottom:.5rem}.btn{background-color:var(--teal-700);border:4px solid var(--teal-700);color:#fff;display:inline-block;font-family:Archivo,sans-serif;font-size:16px;font-weight:600;line-height:24px;padding:6px 12px;text-decoration:none;text-transform:uppercase}.secondary{background-color:var(--yellow-400);border-color:var(--yellow-400);color:var(--contrast)}.danger{background-color:var(--red-400);border-color:var(--red-400)}.lg{font-size:20px;line-height:30px;padding:8px 16px}.btn.active,.btn:active,.btn:focus,.btn:hover{background-color:#fff;border-color:var(--contrast);color:var(--contrast);cursor:pointer}.btn-clear,.btn-clear.active,.btn-clear:active,.btn-clear:focus,.btn-clear:hover{background-color:transparent;border-color:transparent;color:var(--contrast)}.btn:disabled{background-color:var(--contrast-8);border-color:var(--contrast-8);color:var(--contrast-3)}.btn .bi{vertical-align:middle}.btn+.btn{margin-left:10px}.table{border-top:1px solid var(--contrast);border-collapse:collapse;width:100%}.table td,.table th{border-bottom:1px solid var(--contrast);padding:16px}.table thead th{text-align:left}.table tbody th{text-align:right}input,select{border:1px solid var(--contrast-8);border-radius:0;color:var(--contrast);font-size:1rem;padding:6px 12px}select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;background-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' viewBox='0 0 16 16'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708'/></svg>");background-position:right 12px center;background-repeat:no-repeat;padding:6px 36px 6px 12px}.intro{font-size:24px}`,Fh=`:host{background-color:#fbfbfb}.container{color:var(--contrast)}a{color:var(--teal-600);font-weight:800;text-decoration:none}a:active,a:focus,a:hover{text-decoration:underline}.about{padding-top:25px}.awards{font-size:15px;line-height:21px;margin:0 0 20px}.disclaimer{font-size:12px;line-height:18px;margin:0 0 15px}.contact{font-size:16px;font-stretch:70%;text-transform:uppercase}.social{align-items:center;display:flex;flex-direction:row;justify-content:flex-start;list-style-type:none;margin:0;padding:20px 0 10px}.social li{margin:0 35px 0 0;padding:0}.social li:last-child{margin:-10px}.social a{background-size:contain;background-repeat:no-repeat;display:block;height:25px;text-indent:-999999px;width:25px}.x{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23232323' class='bi bi-twitter-x' viewBox='0 0 16 16'><path d='M12.6.75h2.454l-5.36 6.142L16 15.25h-4.937l-3.867-5.07-4.425 5.07H.316l5.733-6.57L0 .75h5.063l3.495 4.633L12.601.75Zm-.86 13.028h1.36L4.323 2.145H2.865z'/></svg>")}.youtube{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23232323' viewBox='0 0 16 16'><path d='M8.051 1.999h.089c.822.003 4.987.033 6.11.335a2.01 2.01 0 0 1 1.415 1.42c.101.38.172.883.22 1.402l.01.104.022.26.008.104c.065.914.073 1.77.074 1.957v.075c-.001.194-.01 1.108-.082 2.06l-.008.105-.009.104c-.05.572-.124 1.14-.235 1.558a2.01 2.01 0 0 1-1.415 1.42c-1.16.312-5.569.334-6.18.335h-.142c-.309 0-1.587-.006-2.927-.052l-.17-.006-.087-.004-.171-.007-.171-.007c-1.11-.049-2.167-.128-2.654-.26a2.01 2.01 0 0 1-1.415-1.419c-.111-.417-.185-.986-.235-1.558L.09 9.82l-.008-.104A31 31 0 0 1 0 7.68v-.123c.002-.215.01-.958.064-1.778l.007-.103.003-.052.008-.104.022-.26.01-.104c.048-.519.119-1.023.22-1.402a2.01 2.01 0 0 1 1.415-1.42c.487-.13 1.544-.21 2.654-.26l.17-.007.172-.006.086-.003.171-.007A100 100 0 0 1 7.858 2zM6.4 5.209v4.818l4.157-2.408z'/></svg>")}.facebook{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23232323' viewBox='0 0 16 16'><path d='M16 8.049c0-4.446-3.582-8.05-8-8.05C3.58 0-.002 3.603-.002 8.05c0 4.017 2.926 7.347 6.75 7.951v-5.625h-2.03V8.05H6.75V6.275c0-2.017 1.195-3.131 3.022-3.131.876 0 1.791.157 1.791.157v1.98h-1.009c-.993 0-1.303.621-1.303 1.258v1.51h2.218l-.354 2.326H9.25V16c3.824-.604 6.75-3.934 6.75-7.951'/></svg>")}a.linkedin{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23232323' viewBox='0 0 16 16'><path d='M0 1.146C0 .513.526 0 1.175 0h13.65C15.474 0 16 .513 16 1.146v13.708c0 .633-.526 1.146-1.175 1.146H1.175C.526 16 0 15.487 0 14.854zm4.943 12.248V6.169H2.542v7.225zm-1.2-8.212c.837 0 1.358-.554 1.358-1.248-.015-.709-.52-1.248-1.342-1.248S2.4 3.226 2.4 3.934c0 .694.521 1.248 1.327 1.248zm4.908 8.212V9.359c0-.216.016-.432.08-.586.173-.431.568-.878 1.232-.878.869 0 1.216.662 1.216 1.634v3.865h2.401V9.25c0-2.22-1.184-3.252-2.764-3.252-1.274 0-1.845.7-2.165 1.193v.025h-.016l.016-.025V6.169h-2.4c.03.678 0 7.225 0 7.225z'/></svg>")}.lower{border-top:1px solid var(--contrast-9);padding:10px 0 60px}.links{display:flex;flex-direction:row;flex-wrap:wrap;list-style-type:none;margin:20px 0 0;padding:0}.links li{padding:0 20px 10px 0}.links li:last-child{padding-right:0}.links a{font-size:12px;font-weight:600}.scroll-to-top{background-color:#00000080;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' stroke='white' stroke-width='1' viewBox='0 0 16 16'><path fill-rule='evenodd' d='M7.646 4.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1-.708.708L8 5.707l-5.646 5.647a.5.5 0 0 1-.708-.708z'/></svg>");background-position:center;background-repeat:no-repeat;background-size:13px;border:0 none transparent;bottom:30px;cursor:pointer;display:block;height:40px;opacity:0;position:fixed;right:30px;text-indent:-999999px;transition:opacity .25s ease-out;width:40px;z-index:100}.scroll-to-top.visible{opacity:1}.personas{box-sizing:border-box;font-size:15px;padding:20px 0}.personas p{margin:0}.personas ul{list-style-type:none;margin:5px 0;padding:0}.personas li{padding:3px 0}@media (min-width: 1024px){.lower{align-items:start;display:flex;flex-direction:row;justify-content:space-between}.links{margin-top:0}}@media (min-width: 900px){.upper{display:flex;flex-direction:row;justify-content:space-between}.upper>*{width:calc((var(--width) - 20px) / 2)}.about{padding:40px 0 30px}.awards{font-size:18px;line-height:24px}.personas{font-size:18px;padding:40px calc(((var(--width) - 140px) / 8) + 20px) 30px}}`,Bh=".container{box-sizing:content-box;height:84px;padding-top:20px}@media (min-width: 900px){.container{height:144px;padding-top:52px}}",zo=`.logo{align-items:start;display:flex;flex-direction:row}.nsf-logo{height:49px}.access-logo{height:23px;margin-top:12px}.access,.nsf{display:block;text-decoration:none}.divider{border-right:2px solid #bbbbbb;height:40px;margin:4px 15px 0 12px;width:0}.name{color:var(--teal-700);display:block;font-size:17.5px;font-stretch:80%;font-weight:200;line-height:1;margin:3px 0 0;text-align:right}.name:before{content:"";display:inline-block;height:0;margin:0 5px 0 0;width:0}.name-allocations:before{border-bottom:12px solid var(--orange-400);border-left:12px solid transparent}.name-coordination-office:before{background-color:var(--teal-400);border-radius:6px;height:12px;margin:0 6px 0 0;width:12px}.name-metrics:before{background-image:url("data:image/svg+xml;utf8,<svg viewBox='0 0 12 12' xmlns='http://www.w3.org/2000/svg' width='12'><circle cx='12' cy='0' r='12' fill='%23008496' /></svg>");background-size:cover;height:12px;margin:0 2px 0 0;width:12px}.name-operations:before{border-top:12px solid var(--yellow-400);border-right:12px solid transparent}.name-support:before{background-color:var(--teal-700);height:12px;margin:0 6px 0 0;width:12px}.logo-footer .nsf-logo{height:40px}.logo-footer .divider{height:34px;margin:3px 11px 0 9px}.logo-footer .access-logo{margin-top:10px;height:21px;width:auto}@media (min-width: 900px){.nsf-logo{height:82px}.divider{height:70px;margin:6px 23px 0 20px}.access-logo{height:auto;margin-top:22px;width:253px}.name{font-size:30px}.name-allocations:before{border-bottom:20px solid var(--orange-400);border-left:20px solid transparent}.name-metrics:before{height:20px;margin:0 4px 0 0;width:20px}.name-operations:before{border-top:20px solid var(--yellow-400);border-right:20px solid transparent}.name-coordination-office:before{border-radius:9.5px;height:19px;width:19px}.name-support:before{height:19px;margin:0 7px 0 0;width:19px}}`,Es=`.menu{--icon-caret-down-dark: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23232323' viewBox='0 0 16 16'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>");--icon-caret-down-light: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>");--icon-caret-down-teal: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23107180' viewBox='0 0 16 16'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>")}.universal{--background: var(--teal-700);--border: rgba(19, 133, 151, .35)}.site{--background: var(--teal-600);--border: #157688}.site ul ul{--border: rgba(19, 133, 151, .35)}.menu ul,.menu li{list-style-type:none;margin:0;padding:0}.menu a{text-decoration:none}.item{background:transparent;border:0 none transparent;border-radius:0;box-sizing:border-box;cursor:pointer;display:block;text-align:left;width:100%}.item{font-size:14px;font-weight:600;line-height:21px;padding:13.5px var(--padding) 13.5px}.menu>ul>li>.item{font-weight:800}.item,.menu li:last-child li:last-child>.item{border-bottom:1px solid var(--border)}.menu li.highlight button,.menu li:last-child>.item,.menu>.collapsed{border-bottom:0 none transparent}.expanded{border-bottom-width:2px}.menu button{position:relative}.menu>button{font-weight:500;padding:13.5px var(--padding) 13.5px;text-transform:uppercase}.menu button:after{background-image:var(--icon-caret-down-light);background-repeat:no-repeat;background-size:18px;content:"";display:block;height:18px;right:calc(var(--padding) + var(--offset));position:absolute;top:15px;width:18px}.menu button.expanded:after{transform:rotate(180deg)}.menu .highlight button:after{background-image:var(--icon-caret-down-dark)}.menu button,.menu ul li{background-color:var(--background)}.menu button,.menu ul li a{color:var(--color)}.menu ul li li{background-color:#fff}.menu ul li li a{color:#138597}.icon>.item{background-position:calc(var(--padding) + var(--offset)) center;background-repeat:no-repeat;background-size:14px 14px;text-indent:-99999px}.icon-home>.item{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'><path d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5'/></svg>")}.icon-search>.item{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'><path d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001q.044.06.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1 1 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0'/></svg>")}.track .item{text-transform:uppercase;padding-top:4px;padding-bottom:4px}.track:first-child .item{padding-top:17px}.track.grow .item{padding-bottom:21px}.track .item{border-bottom:0 none transparent}.highlight button{background-color:var(--yellow-400);color:var(--contrast)}.footer{background-color:var(--teal-700);padding:50px var(--padding) 36px;color:#fff}.footer h2{font-size:14px;font-weight:600;margin:0 auto 20px;text-transform:uppercase;width:var(--width)}.columns{margin:0 auto;width:var(--width)}.column{padding-bottom:14px}.footer a,.footer a:visited{color:#fff;text-decoration:none}.footer a:active,.footer a:focus,.footer a:hover{color:var(--teal-100);text-decoration:underline}.footer h3{font-size:14px;font-weight:800;margin:0}.footer ul{margin:0;padding:0}.footer li{font-size:14px;font-weight:600;list-style-type:none;padding:14px 0 0}@media (min-width: 768px){.columns{display:flex;flex-direction:row;flex-wrap:wrap;padding:10px 0}.column{padding-bottom:40px;padding-right:20px;width:calc((var(--width) - 60px) / 4)}.column:nth-child(4),.column:last-child{padding-right:0}}@media (min-width: 1280px){.site{--background: white;--color: var(--teal-600);--outline: var(--teal-700);--padding: 20px;border-bottom:1px solid #d9d9d9;border-top:3px solid var(--teal-700)}.site>ul{justify-content:end}.menu>button{display:none}.menu>ul{display:flex;flex-direction:row;margin:0 auto;width:calc(var(--width) + (2 * var(--padding)))}.item,.track .item,.track:first-child .item,.track.grow .item{border-bottom:0 none transparent;padding-top:12px;padding-bottom:12px}.site .item{font-size:16px}.grow{flex:1 0 auto}.universal{background-color:var(--teal-700)}.universal>ul>li:first-child{margin-left:-10px}.universal>ul>li:last-child{margin-right:-10px}.universal li button{--padding: 20px}.icon>.item{background-position:center center;width:56px}.menu button:after,.menu button.expanded:after,.menu .highlight button:after,.menu .highlight button.expanded:after{display:inline-block;margin-left:5px;position:static;vertical-align:middle}.menu button:after{background-image:var(--icon-caret-down-teal)}.universal button:after{background-image:var(--icon-caret-down-light)}.menu button.expanded:after,.menu button.item:active:after,.menu button.item:focus:after,.menu button.item:hover:after{background-image:var(--icon-caret-down-light)}.menu>ul>li{display:flex;flex-direction:row;justify-content:start;position:relative}.menu>ul>li.grow>.item{flex:0 1 0}.menu>ul>li.active>.item,.menu>ul>li>.expanded,.menu>ul>li>.item:active,.menu>ul>li>.item:focus,.menu>ul>li>.item:hover{background-color:var(--teal-600);color:#fff;outline:0 none transparent}.menu>ul>li>.item:focus-visible{outline:3px solid var(--outline);outline-offset:-3px;z-index:1000}.menu>ul ul{background-color:var(--teal-600);padding:10px 0;position:absolute;right:0;top:48px;z-index:9999}.menu>ul ul li{background-color:var(--teal-600)}.menu>ul ul .item{color:#fff;white-space:nowrap;padding:5px 20px}.menu>ul ul .item:active,.menu>ul ul .item:focus,.menu>ul ul .item:hover{color:#cee8e9;outline:0 none transparent;text-decoration:underline}.menu>ul ul .item:focus-visible{outline:3px solid white;outline-offset:-3px;z-index:1000}.menu>ul>li>.item{line-height:24px}}@media (min-width: 1280px){.columns{flex-wrap:nowrap;padding:10px 0 0}.column{padding-bottom:72px;width:calc((var(--width) - 120px) / 7)}.column:nth-child(4){padding-right:20px}}`,zh='@import"https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css";.glide{position:relative;width:100%;box-sizing:border-box}.glide *{box-sizing:inherit}.glide__track{overflow:hidden}.glide__slides{position:relative;width:100%;list-style:none;backface-visibility:hidden;transform-style:preserve-3d;touch-action:pan-Y;overflow:hidden;margin:0;padding:0;white-space:nowrap;display:flex;flex-wrap:nowrap;will-change:transform}.glide__slides--dragging{-webkit-user-select:none;user-select:none}.glide__slide{width:100%;height:100%;flex-shrink:0;white-space:normal;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}.glide__slide a{-webkit-user-select:none;user-select:none;-webkit-user-drag:none;-moz-user-select:none;-ms-user-select:none}.glide__arrows,.glide__bullets{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.glide--rtl{direction:rtl}.glide__arrow{position:absolute;display:block;top:50%;z-index:2;color:#fff;text-transform:uppercase;padding:9px 12px;background-color:transparent;border:2px solid rgba(255,255,255,.5);border-radius:4px;box-shadow:0 .25em .5em #0000001a;text-shadow:0 .25em .5em rgba(0,0,0,.1);opacity:1;cursor:pointer;transition:opacity .15s ease,border .3s ease-in-out;transform:translateY(-50%);line-height:1}.glide__arrow:focus{outline:none}.glide__arrow:hover{border-color:#fff}.glide__arrow--left{left:2em}.glide__arrow--right{right:2em}.glide__arrow--disabled{opacity:.33}.glide__bullets{position:absolute;z-index:2;bottom:2em;left:50%;display:inline-flex;list-style:none;transform:translate(-50%)}.glide__bullet{background-color:#ffffff80;width:9px;height:9px;padding:0;border-radius:50%;border:2px solid transparent;transition:all .3s ease-in-out;cursor:pointer;line-height:0;box-shadow:0 .25em .5em #0000001a;margin:0 .25em}.glide__bullet:focus{outline:none}.glide__bullet:hover,.glide__bullet:focus{border:2px solid #fff;background-color:#ffffff80}.glide__bullet--active{background-color:#fff}.glide--swipeable{cursor:grab;cursor:-moz-grab;cursor:-webkit-grab}.glide--dragging{cursor:grabbing;cursor:-moz-grabbing;cursor:-webkit-grabbing}.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}.accordion{margin:0 0 16px}.accordion-heading{margin:0}.accordion-heading button{background-color:var(--teal-050);border:0 none transparent;color:var(--teal-700);cursor:pointer;display:block;font-size:16px;font-weight:800;padding:16px 40px 16px 20px;position:relative;text-align:left;width:100%}.accordion-heading button .icon{position:absolute;right:20px;top:16px}.accordion-content{padding:16px 20px 0}.alert{align-items:center;background-color:var(--yellow-200);border-radius:10px;display:flex;flex-direction:row;margin-bottom:20px;padding:20px}.alert i{margin-right:20px}ul.breadcrumbs{--offset: calc((100vw - var(--width)) / 2);border-bottom:1px solid var(--contrast-7);box-sizing:border-box;font-size:14px;font-stretch:70%;font-weight:600;line-height:20px;list-style-type:none;margin:0;padding:0 30px;width:100vw}ul.breadcrumbs.top-border{border-top:1px solid var(--contrast-7)}ul.breadcrumbs.expand{margin-left:-30px;margin-right:-30px}ul.breadcrumbs li{display:inline-block;margin:0;padding:11px 0 6px;text-transform:uppercase;vertical-align:middle}ul.breadcrumbs li:not(.home):before{content:"/";margin:0 12px}ul.breadcrumbs li a{color:var(--teal-700);text-decoration:none}ul.breadcrumbs li:not(.home) a:active,ul.breadcrumbs li:not(.home) a:focus,ul.breadcrumbs li:not(.home) a:hover{text-decoration:underline}@media (min-width: 600px){ul.breadcrumbs{padding-left:var(--offset);padding-right:var(--offset)}ul.breadcrumbs.expand{margin-left:calc(var(--offset) * -1);margin-right:calc(var(--offset) * -1)}}.carousel{margin-bottom:1rem;width:var(--width)}.slide-inner{background-color:var(--contrast-9);display:flex;flex-direction:column}.slide-image img{display:block;width:100%}.slide-text{box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;padding:20px}.slide-text h2{font-size:16px;line-height:1.1;margin:0 0 .25rem}.slide-text a{font-size:14px;line-height:1.1}.slide-text p{font-size:14px;line-height:1.2;margin-bottom:.5rem}.glide__arrow{align-items:center;background-color:var(--contrast-3);border:0 none transparent;border-radius:15px;display:flex;justify-content:center;height:30px;padding:8px;width:30px}.glide__arrow:active,.glide__arrow:hover{background-color:var(--teal-700)}.glide__arrow svg{fill:#fff}.glide__arrow--left{margin-left:-66px}.glide__arrow--right{margin-right:-66px}@media (min-width: 768px){.slide-inner{flex-direction:row}.slide-image img{width:calc((var(--width) - 20px) / 2)}}@media (min-width: 1024px){.slide-image img{width:calc((var(--width) - 40px) / 3)}}@media (min-width: 1280px){.slide-text h2{font-size:18px}.slide-text a{font-size:16px}.slide-text p{font-size:16px;line-height:1.2;margin-bottom:.5rem}}.highlight{background-color:var(--yellow-200);padding:2px 0}.header-components{margin-bottom:2rem}.button-group .btn{display:block;margin:0 0 10px}.card{border:5px solid var(--contrast);padding:20px}@media (min-width: 768px){.flex-header{align-items:center;display:flex;justify-content:space-between}.header-components{margin-bottom:0}.button-group{display:flex}.button-group .btn{display:flex;margin:0 10px 0 0}}@media (min-width: 1024px){.cards{display:flex;flex-direction:row;flex-wrap:wrap;gap:20px}.card{flex:1 0 20%;margin:0}}.donut-chart svg path{cursor:pointer}.donut-chart .center-text{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;line-height:1.2}.donut-chart .center-text *{cursor:default;display:block;margin-bottom:.25rem;text-align:center}.donut-chart .center-text .percent{color:var(--contrast-2);font-size:.7rem}.donut-chart .top-items{list-style-type:none;margin:0;padding:0}.donut-chart .top-items li{align-items:center;display:flex;flex-direction:row;font-size:1rem;line-height:1.2;margin-bottom:5px}.donut-chart .symbol{border-radius:8px;display:inline-block;height:16px;margin-right:5px;vertical-align:text-top;width:16px}.expand-text{margin-bottom:1rem;position:relative}.expand-text.contracted{max-height:5.3rem;overflow:hidden}.expand-text button{background-color:#fff;border:0 none transparent;color:var(--teal-700);cursor:pointer;font-size:1rem;font-weight:700}.expand-text.contracted button{background:linear-gradient(to right,#fff0,#fff 50%,#fff);position:absolute;right:0;text-align:right;bottom:0;width:12rem}.grid{border-top:1px solid var(--contrast);max-width:100%;margin-bottom:1rem;overflow:scroll;position:relative}.grid table{border-collapse:separate;border-spacing:0;border-top:0 none transparent;margin-bottom:0;position:relative}.grid th{position:sticky;top:0;z-index:10}.grid th,.grid td{background-color:#fff}.grid th:last-child,.grid td:last-child{border-right:0 none transparent}.grid th.important,.grid td.important{background-color:#f8f9fa}.grid th.input,.grid td.input{background-color:var(--teal-200)}.grid .edited td,.grid .edited select{background-color:#faf1d7}.grid .edited td.important,.grid .edited select.important{background-color:#fbeeca}.grid .disabled td,.grid .disabled select{background-color:#ddd}.grid .disabled td.important,.grid .disabled select.important{background-color:#ccc}.grid tbody tr:last-child th,.grid tbody tr:last-child td{border-bottom:0 none transparent}.icon{height:1em;margin-right:5px;vertical-align:text-bottom}.info-tip{background-color:transparent;border:0 none transparent}.tippy-box[data-theme~=access]{background-color:var(--teal-700);border-radius:0;color:#fff;font-weight:400;padding:5px}.tippy-box[data-theme~=access][data-placement^=top]>.tippy-arrow:before{border-top-color:var(--teal-700)}.tippy-box[data-theme~=access][data-placement^=bottom]>.tippy-arrow:before{border-bottom-color:var(--teal-700)}.tippy-box[data-theme~=access][data-placement^=left]>.tippy-arrow:before{border-left-color:var(--teal-700)}.tippy-box[data-theme~=access][data-placement^=right]>.tippy-arrow:before{border-right-color:var(--teal-700)}.mini-bar{flex:0 0 auto;position:relative;width:100px}.mini-bar .bar{background-color:#ddd;height:1em}.filters-outer{float:right;position:relative}.filters-inner{background-color:#fff;border:4px solid var(--contrast);padding:20px;position:absolute;right:0;top:41px;width:calc(var(--width) * .4)}.filters-inner h2{font-size:16px;margin:0 0 1rem}.filters-inner ul.tags{margin-bottom:1rem}.btn-filters{position:relative}.btn-filters .active-tag-count{background-color:var(--orange-400);border-radius:10px;color:#fff;display:block;font-size:12px;height:20px;line-height:20px;top:-10px;position:absolute;text-align:center;right:-10px;width:20px}.btn-filters.active{z-index:100}.btn-filters.active:after{background-color:#fff;bottom:-4px;content:"";display:block;height:4px;left:0;position:absolute;width:100%}.event:not(:last-child){margin-bottom:1.5rem}.event-icon,.event-icon:active,.event-icon:focus,.event-icon:hover{align-items:center;background-color:var(--teal-700);color:#fff;display:none;flex:0 0 auto;flex-direction:column;font-weight:800;justify-content:center;height:calc((var(--width) - 140px) / 8);text-decoration:none;width:calc((var(--width) - 140px) / 8)}.event-icon span{display:block}.event-icon span:nth-child(2){font-size:2rem}.event-metadata{margin-bottom:1rem}.event-metadata i:not(:first-child){margin-left:1rem}@media (min-width: 768px){.event{display:flex;flex-direction:row}.event-icon,.event-icon:active,.event-icon:focus,.event-icon:hover{display:flex;margin-right:20px}.event h3{margin-top:0}}@media (min-width: 900px){.event-icon span:nth-child(2){font-size:3rem}}.carousel-projects .glide__slide{font-size:16px}.carousel-projects h3{margin:0 0 .25rem}.carousel-projects .project-metadata{margin-bottom:.5rem}.carousel-projects .project-meta{display:inline-block;font-weight:700;line-height:1.1;margin-right:1rem;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.carousel-projects .project-meta .bi{vertical-align:middle}.metrics-overview strong{background-color:var(--yellow-200);font-size:1.2rem;padding:2px;white-space:nowrap}.metrics-overview .bi{vertical-align:middle}.metrics-overview .btn{font-size:1rem}.metrics-disclaimer{font-size:.9rem;line-height:1.2;margin:.5rem 0}.metrics-disclaimer .bi{vertical-align:middle}.resource-group{align-items:flex-start;clear:both;display:flex;flex-direction:column;margin-bottom:20px}.resource-group-image{--image-width: 100%;align-items:center;background-color:var(--contrast-9);border:1px solid var(--contrast);color:var(--contrast-8);display:flex;flex:0 0 auto;flex-direction:column;font-size:5rem;justify-content:center;margin:20px 0;min-height:calc(var(--image-width) / 3 * 2);position:relative;width:var(--image-width)}.resource-group-image:active,.resource-group-image:focus,.resource-group-image:hover{color:var(--contrast-8)}.resource-group-image>img{display:block;width:100%}.image-type-logo{display:flex;flex-direction:column;justify-content:center;min-height:120px}.image-type-logo>*{margin:10px;width:calc(100% - 20px)}.resource-group-text *:first-child{margin-top:0}.resource-group-detail{margin-bottom:70px;width:var(--width)}.resource-group-feature-image{margin-top:60px;width:100%}.resource-group-description:after{clear:both;content:"";display:block}@media (min-width: 768px){.resource-group{flex-direction:row;margin-bottom:40px}.resource-group-image{--image-width: calc((var(--width) - 140px) / 4 + 20px);margin:0 20px 0 0}}@media (min-width: 900px){.resource-group-feature-image{float:right;margin:0 0 0 20px;width:calc(((var(--width) - 140px) / 8) * 3 + 40px)}}#resource-navigation{display:flex;flex-direction:column;gap:10px}@media (min-width: 1024px){#resource-navigation{flex-direction:row;gap:20px}}#resource-news{background-color:var(--teal-100);padding:20px}#resource-news h2{font-size:1.2rem;font-weight:200;margin:0 0 .5rem}#resource-news ul{list-style-type:none;margin:0;padding:0}#resource-news li{font-size:1rem;line-height:1.3;margin:0 0 .5rem;padding:0}@media (min-width: 1024px){#resource-news{box-sizing:border-box;width:calc((var(--width) - 60px) / 4)}}ul.resource-pathways{display:flex;flex-direction:column;gap:10px;list-style-type:none;margin:0;padding:0;width:100%}ul.resource-pathways li{margin:0;width:100%}ul.resource-pathways li a{align-items:flex-start;border:5px solid transparent;box-sizing:border-box;display:flex;height:100%;flex-direction:row;justify-content:flex-start;line-height:1.3;padding:20px;text-decoration:none}ul.resource-pathways a>.bi{font-size:2rem;margin-bottom:1rem}ul.resource-pathways li a>.detail{display:flex;flex-direction:column;margin-left:20px}ul.resource-pathways .title{font-size:1.2rem}ul.resource-pathways .description{font-size:1rem;font-weight:400}ul.resource-pathways .login{font-size:.9rem;font-style:italic;font-weight:400;margin-top:.25rem}ul.resource-pathways .login .bi{vertical-align:middle}.resource-pathway-0{background-color:var(--yellow-400)}.resource-pathway-1{background-color:var(--teal-600)}.resource-pathway-1 a{color:#fff}.resource-pathway-2{background-color:var(--orange-400)}.resource-pathway-3{background-color:var(--teal-200)}ul.resource-pathways li a:active,ul.resource-pathways li a:focus,ul.resource-pathways li a:hover{background-color:#fff;border:5px solid var(--contrast);color:var(--contrast)}@media (min-width: 1024px){ul.resource-pathways{flex-direction:row;gap:20px}ul.resource-pathways li{box-sizing:border-box;width:calc((var(--width) - 60px) / 4)}ul.resource-pathways li a{flex-direction:column}ul.resource-pathways li a>.detail{margin-left:0}}.scroll-text{position:relative}.scroll-text:after{background-color:red;background:linear-gradient(to bottom,#fff0,#fff 50%,#fff);bottom:0;content:"";display:block;height:2rem;left:0;position:absolute;width:100%;z-index:99999}.scroll-text-inner{padding-bottom:2rem;overflow-y:scroll}.search{position:relative}.search input{padding-right:35px}.search .btn-clear{position:absolute;right:-5px;top:-6px}.section-navigation{border-bottom:1px solid var(--contrast-8);border-top:1px solid var(--contrast-8);display:flex;flex-direction:row;margin:20px 0}.section-navigation h2{flex:0 0 auto;font-size:1rem;font-weight:400;margin:20px 0}.section-navigation ul{display:flex;flex-direction:row;flex-wrap:wrap;margin:0;padding:10px 0}.section-navigation li{line-height:1;list-style-type:none;flex:0 0 auto;font-size:1rem;margin:10px 0 10px 20px;padding:0}ul.tags{margin:0;padding:0}li.tag{display:inline-block;list-style-type:none;margin:0 5px 5px 0;max-width:100%}.tag button{background-color:var(--teal-100);border:1px solid var(--teal-400);border-radius:8px;color:var(--contrast);cursor:pointer;display:inline-block;font-size:16px;font-weight:500;line-height:18px;max-width:100%;overflow:hidden;padding:3px 7px;text-align:left;text-decoration:none;text-overflow:ellipsis;text-wrap:nowrap}.tag button:hover{background-color:var(--teal-200);color:var(--contrast)}.tag button:disabled{background-color:var(--contrast-9);border-color:var(--contrast-6);color:var(--contrast-3)}.tag.active button{border-color:var(--orange-400);background-color:var(--orange-200)}',Vh=".toc{background-color:var(--teal-600);color:#fff;padding:20px;position:sticky;top:50px}h2{font-size:16px;font-weight:800;margin:0 0 16px}ul{margin:0;padding:0 0 0 20px}li{line-height:1.125;list-style-type:none;margin:0;padding:9px 0}a{color:#fff;font-size:16px;font-weight:600;text-decoration:underline;text-decoration-color:transparent}a :active,a:focus,a:hover{color:var(--teal-100);text-decoration-color:var(--teal-100)}@media (min-width: 768px){a.active{color:var(--teal-100)}}@media (min-width: 900px){.toc{padding:32px}}",Hh=(e={})=>{re(g(xs,{...e}),e.target,[oe,Ih])},Nh=(e={})=>{re(g(_h,{...e}),e.target,[oe,Fh,zo])},Wh=(e={})=>{re(g(wh,{...e}),e.target,[oe,zo,Bh])},Uh=({items:e,isLoggedIn:t,loginUrl:i,logoutUrl:n,siteName:s,target:r}={})=>{if(t===void 0&&(t=document.cookie.split("; ").includes("SESSaccesscisso=1")),e===void 0){const o={...t?fo:po};o.items=o.items.map(c=>({...c,href:c.name=="Login"&&i||c.name=="Log out"&&n||c.href})),e=[...uo,o];let a=e.find(c=>(c.href||"").replace(/\/$/,"")==document.location.href.replace(/\/$/,""));s&&!a&&(a=e.find(c=>c.name==s)),a&&(a.classes+=" active")}re(g(Ro,{classes:"universal",items:e,name:"ACCESS Menu",target:r}),r,[oe,Es])},jh=({items:e,siteName:t,target:i})=>re(g(Ro,{classes:"site",items:e,name:`${t} Menu`,target:i}),i,[oe,Es]),Yh=({items:e,siteName:t,target:i})=>re(g(kh,{items:e,siteName:t}),i,[oe,Es]),Kh=({headings:e=[],target:t})=>re(g(Rh,{headings:e}),t,[oe,Vh]),qh=({baseUri:e,showTitle:t,target:i,title:n})=>re(g(Ph,{baseUri:e,showTitle:t,title:n}),i,[oe,Lh,zh]);function H({alt:e=null,name:t=null,src:i=null}){return t?g("i",{class:`icon bi bi-${t}`}):g("img",{class:"icon",alt:e,src:i})}const Vo=()=>{const e=new Event("accessci-update-sections");document.dispatchEvent(e)};function zt({children:e,headerComponents:t=null,icon:i=null,sectionId:n=null,title:s}){const r=n||s.toLowerCase().replace(/[^0-9a-z]+/g,"-");return se(()=>(Vo(),Vo),[]),g("section",{id:r,"data-section-title":s,"data-section-icon":i,children:[g("div",{class:"flex-header",children:[g("h2",{children:[i?g(H,{name:i}):null,s]}),t?g("div",{class:"header-components",children:t}):null]}),e]})}function Qh({infoGroupId:e}){const t=ft(`https://support.access-ci.org/api/1.0/affinity_groups/${e}`);if(!t||t.error||!t.length)return;const i=Ms(t[0].slack_link);return g(zt,{title:"User Community",icon:"people-fill",children:[g("p",{children:"Join the community by participating in an affinity group! Members get update about announcements, events, and outages."}),g("div",{class:"button-group",children:[g("a",{href:t[0].url,class:"btn secondary",children:[g(H,{name:"person-plus-fill"})," Join Affinity Group"]}),i?g("a",{href:i,class:"btn",children:[g(H,{name:"slack"})," Connect on Slack"]}):null,g("a",{href:"#questions-and-answers",class:"btn",children:[g(H,{name:"chat-fill"})," Ask and Answer Questions"]})]})]})}function Xh({infoGroupId:e}){const t=hi(e),i=ft(t&&t.infoResourceIds.length?`https://operations-api.access-ci.org/wh2/cider/v1/info_resourceid/${t.infoResourceIds[0]}/?format=json`:null);if(!t)return;const{accessAllocated:n,name:s,description:r,imageUri:o,organizations:a}=t,c=n?"https://allocations.access-ci.org/get-your-first-project":null,l=i&&i.results?(i.results.compute||i.results.storage||{}).user_guide_url:null;return g("div",{class:"resource-group-description",children:[o?g("img",{class:"resource-group-feature-image",src:o}):null,g("h1",{children:t.name}),a.map(h=>g("p",{children:g("a",{href:h.organization_url||"#",children:[h.organization_favicon_url?g(H,{alt:h.organization_name,src:h.organization_favicon_url}):null,h.organization_name]})})),r?g("p",{children:r}):null,g("div",{style:{marginTop:"1rem"},children:[c?g("a",{href:c,class:"btn secondary lg",children:[g(H,{name:"check2-circle"})," Get Started with ",s]}):null,l?g("a",{href:l,class:"btn lg",children:[g(H,{name:"book"})," User Guide"]}):null]})]})}function Jh({column:e,row:t,style:i={}}){const n=e.format?e.format(t[e.key],t):t[e.key],s=["cell"];return e.class&&s.push(e.class),e.rowClass&&s.push(e.rowClass(t)),g("td",{class:s.join(" "),style:i,children:n})}const Gh={text:Jh};function on({columns:e,rows:t,classes:i,frozenColumns:n=0,maxHeight:s=400,minWidth:r,rowClasses:o=[],scrollResetOnUpdate:a=!1}){const c=it();se(()=>{c.current&&a&&(c.current.scrollTop=0)},[t]);const l=[0];for(let p=0;p<n;p++)l[p+1]=l[p]+(e[p].width||100);const h=(p,m)=>p<n?{position:"sticky",left:`${l[p]}px`,minWidth:`${e[p].width||100}px`,width:`${e[p].width||100}px`,zIndex:m||1}:{},u=e.map((p,m)=>g("th",{class:p.headerClass||p.class||"",style:h(m,100),children:p.formatHeader?p.formatHeader(p.name,p):p.name},p.key)),d=t.map((p,m)=>{const v=e.map((x,y)=>{const w=Gh[x.type||"text"];return g(w,{column:x,row:p,style:h(y)},x.key)});return g("tr",{class:o[m]||"",children:v},m)}),f={};return r&&(f.minWidth=r),g("div",{class:`grid ${i||""}`,style:{maxHeight:Number.isInteger(s)?`${s}px`:s||null},ref:c,children:g("table",{class:"table",style:f,children:[g("thead",{children:g("tr",{children:u})}),g("tbody",{children:d})]})})}function Zh({infoGroupId:e}){const t=ft(`https://support.access-ci.org/api/1.0/affinity_groups/${e}`),i=t&&!t.error&&t.length?t[0].field_ask_ci_locale:null,n=i?`${i}.json`:null,s=ft(n);return!s||s.error||!s.topic_list||!s.topic_list.topics||!s.topic_list.topics.length?void 0:g(zt,{title:"Questions and Answers",icon:"chat-fill",headerComponents:[g("a",{href:i,class:"btn secondary",children:"Ask a Question"}),g("a",{href:i,class:"btn",children:"View All Topics"})],children:g(on,{columns:[{key:"title",name:"Topic",format:(a,c)=>g(Z,{children:[c.pinned?g(H,{name:"pin-fill"}):null,g("a",{href:`https://ask.cyberinfrastructure.org/t/${c.slug}/${c.id}`,children:a})]})},{key:"posts_count",name:"Posts",format:a=>a.toLocaleString("en-us")},{key:"bumped_at",name:"Last Update",format:a=>new Date(a).toLocaleString("en-US",{dateStyle:"medium"})}],rows:s.topic_list.topics.slice(0,5)})})}var bt="top",Ct="bottom",Ot="right",vt="left",Ts="auto",fi=[bt,Ct,Ot,vt],He="start",pi="end",$h="clippingParents",Ho="viewport",gi="popper",tu="reference",No=fi.reduce(function(e,t){return e.concat([t+"-"+He,t+"-"+pi])},[]),Wo=[].concat(fi,[Ts]).reduce(function(e,t){return e.concat([t,t+"-"+He,t+"-"+pi])},[]),eu="beforeRead",iu="read",nu="afterRead",su="beforeMain",ru="main",ou="afterMain",au="beforeWrite",cu="write",lu="afterWrite",hu=[eu,iu,nu,su,ru,ou,au,cu,lu];function Vt(e){return e?(e.nodeName||"").toLowerCase():null}function _t(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ke(e){var t=_t(e).Element;return e instanceof t||e instanceof Element}function Et(e){var t=_t(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Ds(e){if(typeof ShadowRoot>"u")return!1;var t=_t(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function uu(e){var t=e.state;Object.keys(t.elements).forEach(function(i){var n=t.styles[i]||{},s=t.attributes[i]||{},r=t.elements[i];!Et(r)||!Vt(r)||(Object.assign(r.style,n),Object.keys(s).forEach(function(o){var a=s[o];a===!1?r.removeAttribute(o):r.setAttribute(o,a===!0?"":a)}))})}function du(e){var t=e.state,i={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,i.popper),t.styles=i,t.elements.arrow&&Object.assign(t.elements.arrow.style,i.arrow),function(){Object.keys(t.elements).forEach(function(n){var s=t.elements[n],r=t.attributes[n]||{},o=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:i[n]),a=o.reduce(function(c,l){return c[l]="",c},{});!Et(s)||!Vt(s)||(Object.assign(s.style,a),Object.keys(r).forEach(function(c){s.removeAttribute(c)}))})}}const Uo={name:"applyStyles",enabled:!0,phase:"write",fn:uu,effect:du,requires:["computeStyles"]};function Ht(e){return e.split("-")[0]}var Se=Math.max,an=Math.min,Ne=Math.round;function Ps(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function jo(){return!/^((?!chrome|android).)*safari/i.test(Ps())}function We(e,t,i){t===void 0&&(t=!1),i===void 0&&(i=!1);var n=e.getBoundingClientRect(),s=1,r=1;t&&Et(e)&&(s=e.offsetWidth>0&&Ne(n.width)/e.offsetWidth||1,r=e.offsetHeight>0&&Ne(n.height)/e.offsetHeight||1);var o=ke(e)?_t(e):window,a=o.visualViewport,c=!jo()&&i,l=(n.left+(c&&a?a.offsetLeft:0))/s,h=(n.top+(c&&a?a.offsetTop:0))/r,u=n.width/s,d=n.height/r;return{width:u,height:d,top:h,right:l+u,bottom:h+d,left:l,x:l,y:h}}function Rs(e){var t=We(e),i=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-i)<=1&&(i=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:i,height:n}}function Yo(e,t){var i=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(i&&Ds(i)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Qt(e){return _t(e).getComputedStyle(e)}function fu(e){return["table","td","th"].indexOf(Vt(e))>=0}function ae(e){return((ke(e)?e.ownerDocument:e.document)||window.document).documentElement}function cn(e){return Vt(e)==="html"?e:e.assignedSlot||e.parentNode||(Ds(e)?e.host:null)||ae(e)}function Ko(e){return!Et(e)||Qt(e).position==="fixed"?null:e.offsetParent}function pu(e){var t=/firefox/i.test(Ps()),i=/Trident/i.test(Ps());if(i&&Et(e)){var n=Qt(e);if(n.position==="fixed")return null}var s=cn(e);for(Ds(s)&&(s=s.host);Et(s)&&["html","body"].indexOf(Vt(s))<0;){var r=Qt(s);if(r.transform!=="none"||r.perspective!=="none"||r.contain==="paint"||["transform","perspective"].indexOf(r.willChange)!==-1||t&&r.willChange==="filter"||t&&r.filter&&r.filter!=="none")return s;s=s.parentNode}return null}function mi(e){for(var t=_t(e),i=Ko(e);i&&fu(i)&&Qt(i).position==="static";)i=Ko(i);return i&&(Vt(i)==="html"||Vt(i)==="body"&&Qt(i).position==="static")?t:i||pu(e)||t}function Is(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function bi(e,t,i){return Se(e,an(t,i))}function gu(e,t,i){var n=bi(e,t,i);return n>i?i:n}function qo(){return{top:0,right:0,bottom:0,left:0}}function Qo(e){return Object.assign({},qo(),e)}function Xo(e,t){return t.reduce(function(i,n){return i[n]=e,i},{})}var mu=function(t,i){return t=typeof t=="function"?t(Object.assign({},i.rects,{placement:i.placement})):t,Qo(typeof t!="number"?t:Xo(t,fi))};function bu(e){var t,i=e.state,n=e.name,s=e.options,r=i.elements.arrow,o=i.modifiersData.popperOffsets,a=Ht(i.placement),c=Is(a),l=[vt,Ot].indexOf(a)>=0,h=l?"height":"width";if(!(!r||!o)){var u=mu(s.padding,i),d=Rs(r),f=c==="y"?bt:vt,p=c==="y"?Ct:Ot,m=i.rects.reference[h]+i.rects.reference[c]-o[c]-i.rects.popper[h],v=o[c]-i.rects.reference[c],x=mi(r),y=x?c==="y"?x.clientHeight||0:x.clientWidth||0:0,w=m/2-v/2,b=u[f],S=y-d[h]-u[p],_=y/2-d[h]/2+w,A=bi(b,_,S),C=c;i.modifiersData[n]=(t={},t[C]=A,t.centerOffset=A-_,t)}}function vu(e){var t=e.state,i=e.options,n=i.element,s=n===void 0?"[data-popper-arrow]":n;s!=null&&(typeof s=="string"&&(s=t.elements.popper.querySelector(s),!s)||Yo(t.elements.popper,s)&&(t.elements.arrow=s))}const xu={name:"arrow",enabled:!0,phase:"main",fn:bu,effect:vu,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ue(e){return e.split("-")[1]}var yu={top:"auto",right:"auto",bottom:"auto",left:"auto"};function _u(e,t){var i=e.x,n=e.y,s=t.devicePixelRatio||1;return{x:Ne(i*s)/s||0,y:Ne(n*s)/s||0}}function Jo(e){var t,i=e.popper,n=e.popperRect,s=e.placement,r=e.variation,o=e.offsets,a=e.position,c=e.gpuAcceleration,l=e.adaptive,h=e.roundOffsets,u=e.isFixed,d=o.x,f=d===void 0?0:d,p=o.y,m=p===void 0?0:p,v=typeof h=="function"?h({x:f,y:m}):{x:f,y:m};f=v.x,m=v.y;var x=o.hasOwnProperty("x"),y=o.hasOwnProperty("y"),w=vt,b=bt,S=window;if(l){var _=mi(i),A="clientHeight",C="clientWidth";if(_===_t(i)&&(_=ae(i),Qt(_).position!=="static"&&a==="absolute"&&(A="scrollHeight",C="scrollWidth")),_=_,s===bt||(s===vt||s===Ot)&&r===pi){b=Ct;var M=u&&_===S&&S.visualViewport?S.visualViewport.height:_[A];m-=M-n.height,m*=c?1:-1}if(s===vt||(s===bt||s===Ct)&&r===pi){w=Ot;var O=u&&_===S&&S.visualViewport?S.visualViewport.width:_[C];f-=O-n.width,f*=c?1:-1}}var E=Object.assign({position:a},l&&yu),T=h===!0?_u({x:f,y:m},_t(i)):{x:f,y:m};if(f=T.x,m=T.y,c){var F;return Object.assign({},E,(F={},F[b]=y?"0":"",F[w]=x?"0":"",F.transform=(S.devicePixelRatio||1)<=1?"translate("+f+"px, "+m+"px)":"translate3d("+f+"px, "+m+"px, 0)",F))}return Object.assign({},E,(t={},t[b]=y?m+"px":"",t[w]=x?f+"px":"",t.transform="",t))}function wu(e){var t=e.state,i=e.options,n=i.gpuAcceleration,s=n===void 0?!0:n,r=i.adaptive,o=r===void 0?!0:r,a=i.roundOffsets,c=a===void 0?!0:a,l={placement:Ht(t.placement),variation:Ue(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:s,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Jo(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Jo(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const ku={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:wu,data:{}};var ln={passive:!0};function Su(e){var t=e.state,i=e.instance,n=e.options,s=n.scroll,r=s===void 0?!0:s,o=n.resize,a=o===void 0?!0:o,c=_t(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return r&&l.forEach(function(h){h.addEventListener("scroll",i.update,ln)}),a&&c.addEventListener("resize",i.update,ln),function(){r&&l.forEach(function(h){h.removeEventListener("scroll",i.update,ln)}),a&&c.removeEventListener("resize",i.update,ln)}}const Au={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Su,data:{}};var Mu={left:"right",right:"left",bottom:"top",top:"bottom"};function hn(e){return e.replace(/left|right|bottom|top/g,function(t){return Mu[t]})}var Cu={start:"end",end:"start"};function Go(e){return e.replace(/start|end/g,function(t){return Cu[t]})}function Ls(e){var t=_t(e),i=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:i,scrollTop:n}}function Fs(e){return We(ae(e)).left+Ls(e).scrollLeft}function Ou(e,t){var i=_t(e),n=ae(e),s=i.visualViewport,r=n.clientWidth,o=n.clientHeight,a=0,c=0;if(s){r=s.width,o=s.height;var l=jo();(l||!l&&t==="fixed")&&(a=s.offsetLeft,c=s.offsetTop)}return{width:r,height:o,x:a+Fs(e),y:c}}function Eu(e){var t,i=ae(e),n=Ls(e),s=(t=e.ownerDocument)==null?void 0:t.body,r=Se(i.scrollWidth,i.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),o=Se(i.scrollHeight,i.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),a=-n.scrollLeft+Fs(e),c=-n.scrollTop;return Qt(s||i).direction==="rtl"&&(a+=Se(i.clientWidth,s?s.clientWidth:0)-r),{width:r,height:o,x:a,y:c}}function Bs(e){var t=Qt(e),i=t.overflow,n=t.overflowX,s=t.overflowY;return/auto|scroll|overlay|hidden/.test(i+s+n)}function Zo(e){return["html","body","#document"].indexOf(Vt(e))>=0?e.ownerDocument.body:Et(e)&&Bs(e)?e:Zo(cn(e))}function vi(e,t){var i;t===void 0&&(t=[]);var n=Zo(e),s=n===((i=e.ownerDocument)==null?void 0:i.body),r=_t(n),o=s?[r].concat(r.visualViewport||[],Bs(n)?n:[]):n,a=t.concat(o);return s?a:a.concat(vi(cn(o)))}function zs(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Tu(e,t){var i=We(e,!1,t==="fixed");return i.top=i.top+e.clientTop,i.left=i.left+e.clientLeft,i.bottom=i.top+e.clientHeight,i.right=i.left+e.clientWidth,i.width=e.clientWidth,i.height=e.clientHeight,i.x=i.left,i.y=i.top,i}function $o(e,t,i){return t===Ho?zs(Ou(e,i)):ke(t)?Tu(t,i):zs(Eu(ae(e)))}function Du(e){var t=vi(cn(e)),i=["absolute","fixed"].indexOf(Qt(e).position)>=0,n=i&&Et(e)?mi(e):e;return ke(n)?t.filter(function(s){return ke(s)&&Yo(s,n)&&Vt(s)!=="body"}):[]}function Pu(e,t,i,n){var s=t==="clippingParents"?Du(e):[].concat(t),r=[].concat(s,[i]),o=r[0],a=r.reduce(function(c,l){var h=$o(e,l,n);return c.top=Se(h.top,c.top),c.right=an(h.right,c.right),c.bottom=an(h.bottom,c.bottom),c.left=Se(h.left,c.left),c},$o(e,o,n));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function ta(e){var t=e.reference,i=e.element,n=e.placement,s=n?Ht(n):null,r=n?Ue(n):null,o=t.x+t.width/2-i.width/2,a=t.y+t.height/2-i.height/2,c;switch(s){case bt:c={x:o,y:t.y-i.height};break;case Ct:c={x:o,y:t.y+t.height};break;case Ot:c={x:t.x+t.width,y:a};break;case vt:c={x:t.x-i.width,y:a};break;default:c={x:t.x,y:t.y}}var l=s?Is(s):null;if(l!=null){var h=l==="y"?"height":"width";switch(r){case He:c[l]=c[l]-(t[h]/2-i[h]/2);break;case pi:c[l]=c[l]+(t[h]/2-i[h]/2);break}}return c}function xi(e,t){t===void 0&&(t={});var i=t,n=i.placement,s=n===void 0?e.placement:n,r=i.strategy,o=r===void 0?e.strategy:r,a=i.boundary,c=a===void 0?$h:a,l=i.rootBoundary,h=l===void 0?Ho:l,u=i.elementContext,d=u===void 0?gi:u,f=i.altBoundary,p=f===void 0?!1:f,m=i.padding,v=m===void 0?0:m,x=Qo(typeof v!="number"?v:Xo(v,fi)),y=d===gi?tu:gi,w=e.rects.popper,b=e.elements[p?y:d],S=Pu(ke(b)?b:b.contextElement||ae(e.elements.popper),c,h,o),_=We(e.elements.reference),A=ta({reference:_,element:w,strategy:"absolute",placement:s}),C=zs(Object.assign({},w,A)),M=d===gi?C:_,O={top:S.top-M.top+x.top,bottom:M.bottom-S.bottom+x.bottom,left:S.left-M.left+x.left,right:M.right-S.right+x.right},E=e.modifiersData.offset;if(d===gi&&E){var T=E[s];Object.keys(O).forEach(function(F){var z=[Ot,Ct].indexOf(F)>=0?1:-1,I=[bt,Ct].indexOf(F)>=0?"y":"x";O[F]+=T[I]*z})}return O}function Ru(e,t){t===void 0&&(t={});var i=t,n=i.placement,s=i.boundary,r=i.rootBoundary,o=i.padding,a=i.flipVariations,c=i.allowedAutoPlacements,l=c===void 0?Wo:c,h=Ue(n),u=h?a?No:No.filter(function(p){return Ue(p)===h}):fi,d=u.filter(function(p){return l.indexOf(p)>=0});d.length===0&&(d=u);var f=d.reduce(function(p,m){return p[m]=xi(e,{placement:m,boundary:s,rootBoundary:r,padding:o})[Ht(m)],p},{});return Object.keys(f).sort(function(p,m){return f[p]-f[m]})}function Iu(e){if(Ht(e)===Ts)return[];var t=hn(e);return[Go(e),t,Go(t)]}function Lu(e){var t=e.state,i=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var s=i.mainAxis,r=s===void 0?!0:s,o=i.altAxis,a=o===void 0?!0:o,c=i.fallbackPlacements,l=i.padding,h=i.boundary,u=i.rootBoundary,d=i.altBoundary,f=i.flipVariations,p=f===void 0?!0:f,m=i.allowedAutoPlacements,v=t.options.placement,x=Ht(v),y=x===v,w=c||(y||!p?[hn(v)]:Iu(v)),b=[v].concat(w).reduce(function(ct,lt){return ct.concat(Ht(lt)===Ts?Ru(t,{placement:lt,boundary:h,rootBoundary:u,padding:l,flipVariations:p,allowedAutoPlacements:m}):lt)},[]),S=t.rects.reference,_=t.rects.popper,A=new Map,C=!0,M=b[0],O=0;O<b.length;O++){var E=b[O],T=Ht(E),F=Ue(E)===He,z=[bt,Ct].indexOf(T)>=0,I=z?"width":"height",B=xi(t,{placement:E,boundary:h,rootBoundary:u,altBoundary:d,padding:l}),Y=z?F?Ot:vt:F?Ct:bt;S[I]>_[I]&&(Y=hn(Y));var tt=hn(Y),pt=[];if(r&&pt.push(B[T]<=0),a&&pt.push(B[Y]<=0,B[tt]<=0),pt.every(function(ct){return ct})){M=E,C=!1;break}A.set(E,pt)}if(C)for(var ot=p?3:1,It=function(lt){var ht=b.find(function(ii){var ee=A.get(ii);if(ee)return ee.slice(0,lt).every(function(ni){return ni})});if(ht)return M=ht,"break"},at=ot;at>0;at--){var Mt=It(at);if(Mt==="break")break}t.placement!==M&&(t.modifiersData[n]._skip=!0,t.placement=M,t.reset=!0)}}const Fu={name:"flip",enabled:!0,phase:"main",fn:Lu,requiresIfExists:["offset"],data:{_skip:!1}};function ea(e,t,i){return i===void 0&&(i={x:0,y:0}),{top:e.top-t.height-i.y,right:e.right-t.width+i.x,bottom:e.bottom-t.height+i.y,left:e.left-t.width-i.x}}function ia(e){return[bt,Ot,Ct,vt].some(function(t){return e[t]>=0})}function Bu(e){var t=e.state,i=e.name,n=t.rects.reference,s=t.rects.popper,r=t.modifiersData.preventOverflow,o=xi(t,{elementContext:"reference"}),a=xi(t,{altBoundary:!0}),c=ea(o,n),l=ea(a,s,r),h=ia(c),u=ia(l);t.modifiersData[i]={referenceClippingOffsets:c,popperEscapeOffsets:l,isReferenceHidden:h,hasPopperEscaped:u},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":h,"data-popper-escaped":u})}const zu={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Bu};function Vu(e,t,i){var n=Ht(e),s=[vt,bt].indexOf(n)>=0?-1:1,r=typeof i=="function"?i(Object.assign({},t,{placement:e})):i,o=r[0],a=r[1];return o=o||0,a=(a||0)*s,[vt,Ot].indexOf(n)>=0?{x:a,y:o}:{x:o,y:a}}function Hu(e){var t=e.state,i=e.options,n=e.name,s=i.offset,r=s===void 0?[0,0]:s,o=Wo.reduce(function(h,u){return h[u]=Vu(u,t.rects,r),h},{}),a=o[t.placement],c=a.x,l=a.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=l),t.modifiersData[n]=o}const Nu={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Hu};function Wu(e){var t=e.state,i=e.name;t.modifiersData[i]=ta({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const Uu={name:"popperOffsets",enabled:!0,phase:"read",fn:Wu,data:{}};function ju(e){return e==="x"?"y":"x"}function Yu(e){var t=e.state,i=e.options,n=e.name,s=i.mainAxis,r=s===void 0?!0:s,o=i.altAxis,a=o===void 0?!1:o,c=i.boundary,l=i.rootBoundary,h=i.altBoundary,u=i.padding,d=i.tether,f=d===void 0?!0:d,p=i.tetherOffset,m=p===void 0?0:p,v=xi(t,{boundary:c,rootBoundary:l,padding:u,altBoundary:h}),x=Ht(t.placement),y=Ue(t.placement),w=!y,b=Is(x),S=ju(b),_=t.modifiersData.popperOffsets,A=t.rects.reference,C=t.rects.popper,M=typeof m=="function"?m(Object.assign({},t.rects,{placement:t.placement})):m,O=typeof M=="number"?{mainAxis:M,altAxis:M}:Object.assign({mainAxis:0,altAxis:0},M),E=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,T={x:0,y:0};if(_){if(r){var F,z=b==="y"?bt:vt,I=b==="y"?Ct:Ot,B=b==="y"?"height":"width",Y=_[b],tt=Y+v[z],pt=Y-v[I],ot=f?-C[B]/2:0,It=y===He?A[B]:C[B],at=y===He?-C[B]:-A[B],Mt=t.elements.arrow,ct=f&&Mt?Rs(Mt):{width:0,height:0},lt=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:qo(),ht=lt[z],ii=lt[I],ee=bi(0,A[B],ct[B]),ni=w?A[B]/2-ot-ee-ht-O.mainAxis:It-ee-ht-O.mainAxis,be=w?-A[B]/2+ot+ee+ii+O.mainAxis:at+ee+ii+O.mainAxis,si=t.elements.arrow&&mi(t.elements.arrow),es=si?b==="y"?si.clientTop||0:si.clientLeft||0:0,ji=(F=E==null?void 0:E[b])!=null?F:0,is=Y+ni-ji-es,ns=Y+be-ji,Yi=bi(f?an(tt,is):tt,Y,f?Se(pt,ns):pt);_[b]=Yi,T[b]=Yi-Y}if(a){var Ki,ss=b==="x"?bt:vt,rs=b==="x"?Ct:Ot,ie=_[S],ve=S==="y"?"height":"width",qi=ie+v[ss],Le=ie-v[rs],Qi=[bt,vt].indexOf(x)!==-1,os=(Ki=E==null?void 0:E[S])!=null?Ki:0,as=Qi?qi:ie-A[ve]-C[ve]-os+O.altAxis,cs=Qi?ie+A[ve]+C[ve]-os-O.altAxis:Le,ls=f&&Qi?gu(as,ie,cs):bi(f?as:qi,ie,f?cs:Le);_[S]=ls,T[S]=ls-ie}t.modifiersData[n]=T}}const Ku={name:"preventOverflow",enabled:!0,phase:"main",fn:Yu,requiresIfExists:["offset"]};function qu(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Qu(e){return e===_t(e)||!Et(e)?Ls(e):qu(e)}function Xu(e){var t=e.getBoundingClientRect(),i=Ne(t.width)/e.offsetWidth||1,n=Ne(t.height)/e.offsetHeight||1;return i!==1||n!==1}function Ju(e,t,i){i===void 0&&(i=!1);var n=Et(t),s=Et(t)&&Xu(t),r=ae(t),o=We(e,s,i),a={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(n||!n&&!i)&&((Vt(t)!=="body"||Bs(r))&&(a=Qu(t)),Et(t)?(c=We(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):r&&(c.x=Fs(r))),{x:o.left+a.scrollLeft-c.x,y:o.top+a.scrollTop-c.y,width:o.width,height:o.height}}function Gu(e){var t=new Map,i=new Set,n=[];e.forEach(function(r){t.set(r.name,r)});function s(r){i.add(r.name);var o=[].concat(r.requires||[],r.requiresIfExists||[]);o.forEach(function(a){if(!i.has(a)){var c=t.get(a);c&&s(c)}}),n.push(r)}return e.forEach(function(r){i.has(r.name)||s(r)}),n}function Zu(e){var t=Gu(e);return hu.reduce(function(i,n){return i.concat(t.filter(function(s){return s.phase===n}))},[])}function $u(e){var t;return function(){return t||(t=new Promise(function(i){Promise.resolve().then(function(){t=void 0,i(e())})})),t}}function td(e){var t=e.reduce(function(i,n){var s=i[n.name];return i[n.name]=s?Object.assign({},s,n,{options:Object.assign({},s.options,n.options),data:Object.assign({},s.data,n.data)}):n,i},{});return Object.keys(t).map(function(i){return t[i]})}var na={placement:"bottom",modifiers:[],strategy:"absolute"};function sa(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return!t.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function ed(e){e===void 0&&(e={});var t=e,i=t.defaultModifiers,n=i===void 0?[]:i,s=t.defaultOptions,r=s===void 0?na:s;return function(a,c,l){l===void 0&&(l=r);var h={placement:"bottom",orderedModifiers:[],options:Object.assign({},na,r),modifiersData:{},elements:{reference:a,popper:c},attributes:{},styles:{}},u=[],d=!1,f={state:h,setOptions:function(x){var y=typeof x=="function"?x(h.options):x;m(),h.options=Object.assign({},r,h.options,y),h.scrollParents={reference:ke(a)?vi(a):a.contextElement?vi(a.contextElement):[],popper:vi(c)};var w=Zu(td([].concat(n,h.options.modifiers)));return h.orderedModifiers=w.filter(function(b){return b.enabled}),p(),f.update()},forceUpdate:function(){if(!d){var x=h.elements,y=x.reference,w=x.popper;if(sa(y,w)){h.rects={reference:Ju(y,mi(w),h.options.strategy==="fixed"),popper:Rs(w)},h.reset=!1,h.placement=h.options.placement,h.orderedModifiers.forEach(function(O){return h.modifiersData[O.name]=Object.assign({},O.data)});for(var b=0;b<h.orderedModifiers.length;b++){if(h.reset===!0){h.reset=!1,b=-1;continue}var S=h.orderedModifiers[b],_=S.fn,A=S.options,C=A===void 0?{}:A,M=S.name;typeof _=="function"&&(h=_({state:h,options:C,name:M,instance:f})||h)}}}},update:$u(function(){return new Promise(function(v){f.forceUpdate(),v(h)})}),destroy:function(){m(),d=!0}};if(!sa(a,c))return f;f.setOptions(l).then(function(v){!d&&l.onFirstUpdate&&l.onFirstUpdate(v)});function p(){h.orderedModifiers.forEach(function(v){var x=v.name,y=v.options,w=y===void 0?{}:y,b=v.effect;if(typeof b=="function"){var S=b({state:h,name:x,instance:f,options:w}),_=function(){};u.push(S||_)}})}function m(){u.forEach(function(v){return v()}),u=[]}return f}}var id=[Au,Uu,ku,Uo,Nu,Fu,Ku,xu,zu],nd=ed({defaultModifiers:id}),sd="tippy-box",ra="tippy-content",rd="tippy-backdrop",oa="tippy-arrow",aa="tippy-svg-arrow",Ae={passive:!0,capture:!0},ca=function(){return document.body};function od(e,t){return{}.hasOwnProperty.call(e,t)}function Vs(e,t,i){if(Array.isArray(e)){var n=e[t];return n??(Array.isArray(i)?i[t]:i)}return e}function Hs(e,t){var i={}.toString.call(e);return i.indexOf("[object")===0&&i.indexOf(t+"]")>-1}function la(e,t){return typeof e=="function"?e.apply(void 0,t):e}function ha(e,t){if(t===0)return e;var i;return function(n){clearTimeout(i),i=setTimeout(function(){e(n)},t)}}function ad(e,t){var i=Object.assign({},e);return t.forEach(function(n){delete i[n]}),i}function cd(e){return e.split(/\s+/).filter(Boolean)}function je(e){return[].concat(e)}function ua(e,t){e.indexOf(t)===-1&&e.push(t)}function ld(e){return e.filter(function(t,i){return e.indexOf(t)===i})}function hd(e){return e.split("-")[0]}function un(e){return[].slice.call(e)}function da(e){return Object.keys(e).reduce(function(t,i){return e[i]!==void 0&&(t[i]=e[i]),t},{})}function yi(){return document.createElement("div")}function _i(e){return["Element","Fragment"].some(function(t){return Hs(e,t)})}function ud(e){return Hs(e,"NodeList")}function dd(e){return Hs(e,"MouseEvent")}function fd(e){return!!(e&&e._tippy&&e._tippy.reference===e)}function pd(e){return _i(e)?[e]:ud(e)?un(e):Array.isArray(e)?e:un(document.querySelectorAll(e))}function Ns(e,t){e.forEach(function(i){i&&(i.style.transitionDuration=t+"ms")})}function fa(e,t){e.forEach(function(i){i&&i.setAttribute("data-state",t)})}function gd(e){var t,i=je(e),n=i[0];return n!=null&&(t=n.ownerDocument)!=null&&t.body?n.ownerDocument:document}function md(e,t){var i=t.clientX,n=t.clientY;return e.every(function(s){var r=s.popperRect,o=s.popperState,a=s.props,c=a.interactiveBorder,l=hd(o.placement),h=o.modifiersData.offset;if(!h)return!0;var u=l==="bottom"?h.top.y:0,d=l==="top"?h.bottom.y:0,f=l==="right"?h.left.x:0,p=l==="left"?h.right.x:0,m=r.top-n+u>c,v=n-r.bottom-d>c,x=r.left-i+f>c,y=i-r.right-p>c;return m||v||x||y})}function Ws(e,t,i){var n=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(s){e[n](s,i)})}function pa(e,t){for(var i=t;i;){var n;if(e.contains(i))return!0;i=i.getRootNode==null||(n=i.getRootNode())==null?void 0:n.host}return!1}var Nt={isTouch:!1},ga=0;function bd(){Nt.isTouch||(Nt.isTouch=!0,window.performance&&document.addEventListener("mousemove",ma))}function ma(){var e=performance.now();e-ga<20&&(Nt.isTouch=!1,document.removeEventListener("mousemove",ma)),ga=e}function vd(){var e=document.activeElement;if(fd(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}function xd(){document.addEventListener("touchstart",bd,Ae),window.addEventListener("blur",vd)}var yd=typeof window<"u"&&typeof document<"u",_d=yd?!!window.msCrypto:!1;function Ye(e){var t=e==="destroy"?"n already-":" ";return[e+"() was called on a"+t+"destroyed instance. This is a no-op but","indicates a potential memory leak."].join(" ")}function ba(e){var t=/[ \t]{2,}/g,i=/^[ \t]*/gm;return e.replace(t," ").replace(i,"").trim()}function wd(e){return ba(`
|
|
1
|
+
(function(pt,Ct){typeof exports=="object"&&typeof module<"u"?Ct(exports):typeof define=="function"&&define.amd?define(["exports"],Ct):(pt=typeof globalThis<"u"?globalThis:pt||self,Ct(pt.AccessCiUi={}))})(this,function(pt){"use strict";var p1=Object.defineProperty;var g1=(pt,Ct,L)=>Ct in pt?p1(pt,Ct,{enumerable:!0,configurable:!0,writable:!0,value:L}):pt[Ct]=L;var Z=(pt,Ct,L)=>g1(pt,typeof Ct!="symbol"?Ct+"":Ct,L);var Zo,nn;var Ct,L,la,on,Aa,da,or,rr,sr,ar,ua,Kn={},ha=[],zu=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Qi=Array.isArray;function Ce(e,t){for(var n in t)e[n]=t[n];return e}function fa(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function Y(e,t,n){var i,o,r,s={};for(r in t)r=="key"?i=t[r]:r=="ref"?o=t[r]:s[r]=t[r];if(arguments.length>2&&(s.children=arguments.length>3?Ct.call(arguments,2):n),typeof e=="function"&&e.defaultProps!=null)for(r in e.defaultProps)s[r]===void 0&&(s[r]=e.defaultProps[r]);return qn(e,s,i,o,null)}function qn(e,t,n,i,o){var r={type:e,props:t,key:n,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:o??++la,__i:-1,__u:0};return o==null&&L.vnode!=null&&L.vnode(r),r}function Nu(){return{current:null}}function N(e){return e.children}function ce(e,t){this.props=e,this.context=t}function yn(e,t){if(t==null)return e.__?yn(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null)return n.__e;return typeof e.type=="function"?yn(e):null}function pa(e){var t,n;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null){e.__e=e.__c.base=n.__e;break}return pa(e)}}function cr(e){(!e.__d&&(e.__d=!0)&&on.push(e)&&!Li.__r++||Aa!==L.debounceRendering)&&((Aa=L.debounceRendering)||da)(Li)}function Li(){var e,t,n,i,o,r,s,a;for(on.sort(or);e=on.shift();)e.__d&&(t=on.length,i=void 0,r=(o=(n=e).__v).__e,s=[],a=[],n.__P&&((i=Ce({},o)).__v=o.__v+1,L.vnode&&L.vnode(i),lr(n.__P,i,o,n.__n,n.__P.namespaceURI,32&o.__u?[r]:null,s,r??yn(o),!!(32&o.__u),a),i.__v=o.__v,i.__.__k[i.__i]=i,wa(s,i,a),i.__e!=r&&pa(i)),on.length>t&&on.sort(or));Li.__r=0}function ga(e,t,n,i,o,r,s,a,c,l,A){var d,u,h,p,g,b=i&&i.__k||ha,v=t.length;for(n.__d=c,ju(n,t,b),c=n.__d,d=0;d<v;d++)(h=n.__k[d])!=null&&(u=h.__i===-1?Kn:b[h.__i]||Kn,h.__i=d,lr(e,h,u,o,r,s,a,c,l,A),p=h.__e,h.ref&&u.ref!=h.ref&&(u.ref&&Ar(u.ref,null,h),A.push(h.ref,h.__c||p,h)),g==null&&p!=null&&(g=p),65536&h.__u||u.__k===h.__k?c=ma(h,c,e):typeof h.type=="function"&&h.__d!==void 0?c=h.__d:p&&(c=p.nextSibling),h.__d=void 0,h.__u&=-196609);n.__d=c,n.__e=g}function ju(e,t,n){var i,o,r,s,a,c=t.length,l=n.length,A=l,d=0;for(e.__k=[],i=0;i<c;i++)(o=t[i])!=null&&typeof o!="boolean"&&typeof o!="function"?(s=i+d,(o=e.__k[i]=typeof o=="string"||typeof o=="number"||typeof o=="bigint"||o.constructor==String?qn(null,o,null,null,null):Qi(o)?qn(N,{children:o},null,null,null):o.constructor===void 0&&o.__b>0?qn(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o).__=e,o.__b=e.__b+1,r=null,(a=o.__i=Uu(o,n,s,A))!==-1&&(A--,(r=n[a])&&(r.__u|=131072)),r==null||r.__v===null?(a==-1&&d--,typeof o.type!="function"&&(o.__u|=65536)):a!==s&&(a==s-1?d--:a==s+1?d++:(a>s?d--:d++,o.__u|=65536))):o=e.__k[i]=null;if(A)for(i=0;i<l;i++)(r=n[i])!=null&&!(131072&r.__u)&&(r.__e==e.__d&&(e.__d=yn(r)),ya(r,r))}function ma(e,t,n){var i,o;if(typeof e.type=="function"){for(i=e.__k,o=0;i&&o<i.length;o++)i[o]&&(i[o].__=e,t=ma(i[o],t,n));return t}e.__e!=t&&(t&&e.type&&!n.contains(t)&&(t=yn(e)),n.insertBefore(e.__e,t||null),t=e.__e);do t=t&&t.nextSibling;while(t!=null&&t.nodeType===8);return t}function he(e,t){return t=t||[],e==null||typeof e=="boolean"||(Qi(e)?e.some(function(n){he(n,t)}):t.push(e)),t}function Uu(e,t,n,i){var o=e.key,r=e.type,s=n-1,a=n+1,c=t[n];if(c===null||c&&o==c.key&&r===c.type&&!(131072&c.__u))return n;if(i>(c!=null&&!(131072&c.__u)?1:0))for(;s>=0||a<t.length;){if(s>=0){if((c=t[s])&&!(131072&c.__u)&&o==c.key&&r===c.type)return s;s--}if(a<t.length){if((c=t[a])&&!(131072&c.__u)&&o==c.key&&r===c.type)return a;a++}}return-1}function ba(e,t,n){t[0]==="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||zu.test(t)?n:n+"px"}function Ri(e,t,n,i,o){var r;t:if(t==="style")if(typeof n=="string")e.style.cssText=n;else{if(typeof i=="string"&&(e.style.cssText=i=""),i)for(t in i)n&&t in n||ba(e.style,t,"");if(n)for(t in n)i&&n[t]===i[t]||ba(e.style,t,n[t])}else if(t[0]==="o"&&t[1]==="n")r=t!==(t=t.replace(/(PointerCapture)$|Capture$/i,"$1")),t=t.toLowerCase()in e||t==="onFocusOut"||t==="onFocusIn"?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+r]=n,n?i?n.u=i.u:(n.u=rr,e.addEventListener(t,r?ar:sr,r)):e.removeEventListener(t,r?ar:sr,r);else{if(o=="http://www.w3.org/2000/svg")t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!="width"&&t!="height"&&t!="href"&&t!="list"&&t!="form"&&t!="tabIndex"&&t!="download"&&t!="rowSpan"&&t!="colSpan"&&t!="role"&&t!="popover"&&t in e)try{e[t]=n??"";break t}catch{}typeof n=="function"||(n==null||n===!1&&t[4]!=="-"?e.removeAttribute(t):e.setAttribute(t,t=="popover"&&n==1?"":n))}}function va(e){return function(t){if(this.l){var n=this.l[t.type+e];if(t.t==null)t.t=rr++;else if(t.t<n.u)return;return n(L.event?L.event(t):t)}}}function lr(e,t,n,i,o,r,s,a,c,l){var A,d,u,h,p,g,b,v,w,_,m,y,x,P,C,B,D=t.type;if(t.constructor!==void 0)return null;128&n.__u&&(c=!!(32&n.__u),r=[a=t.__e=n.__e]),(A=L.__b)&&A(t);t:if(typeof D=="function")try{if(v=t.props,w="prototype"in D&&D.prototype.render,_=(A=D.contextType)&&i[A.__c],m=A?_?_.props.value:A.__:i,n.__c?b=(d=t.__c=n.__c).__=d.__E:(w?t.__c=d=new D(v,m):(t.__c=d=new ce(v,m),d.constructor=D,d.render=Wu),_&&_.sub(d),d.props=v,d.state||(d.state={}),d.context=m,d.__n=i,u=d.__d=!0,d.__h=[],d._sb=[]),w&&d.__s==null&&(d.__s=d.state),w&&D.getDerivedStateFromProps!=null&&(d.__s==d.state&&(d.__s=Ce({},d.__s)),Ce(d.__s,D.getDerivedStateFromProps(v,d.__s))),h=d.props,p=d.state,d.__v=t,u)w&&D.getDerivedStateFromProps==null&&d.componentWillMount!=null&&d.componentWillMount(),w&&d.componentDidMount!=null&&d.__h.push(d.componentDidMount);else{if(w&&D.getDerivedStateFromProps==null&&v!==h&&d.componentWillReceiveProps!=null&&d.componentWillReceiveProps(v,m),!d.__e&&(d.shouldComponentUpdate!=null&&d.shouldComponentUpdate(v,d.__s,m)===!1||t.__v===n.__v)){for(t.__v!==n.__v&&(d.props=v,d.state=d.__s,d.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.some(function(E){E&&(E.__=t)}),y=0;y<d._sb.length;y++)d.__h.push(d._sb[y]);d._sb=[],d.__h.length&&s.push(d);break t}d.componentWillUpdate!=null&&d.componentWillUpdate(v,d.__s,m),w&&d.componentDidUpdate!=null&&d.__h.push(function(){d.componentDidUpdate(h,p,g)})}if(d.context=m,d.props=v,d.__P=e,d.__e=!1,x=L.__r,P=0,w){for(d.state=d.__s,d.__d=!1,x&&x(t),A=d.render(d.props,d.state,d.context),C=0;C<d._sb.length;C++)d.__h.push(d._sb[C]);d._sb=[]}else do d.__d=!1,x&&x(t),A=d.render(d.props,d.state,d.context),d.state=d.__s;while(d.__d&&++P<25);d.state=d.__s,d.getChildContext!=null&&(i=Ce(Ce({},i),d.getChildContext())),w&&!u&&d.getSnapshotBeforeUpdate!=null&&(g=d.getSnapshotBeforeUpdate(h,p)),ga(e,Qi(B=A!=null&&A.type===N&&A.key==null?A.props.children:A)?B:[B],t,n,i,o,r,s,a,c,l),d.base=t.__e,t.__u&=-161,d.__h.length&&s.push(d),b&&(d.__E=d.__=null)}catch(E){if(t.__v=null,c||r!=null){for(t.__u|=c?160:128;a&&a.nodeType===8&&a.nextSibling;)a=a.nextSibling;r[r.indexOf(a)]=null,t.__e=a}else t.__e=n.__e,t.__k=n.__k;L.__e(E,t,n)}else r==null&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=Vu(n.__e,t,n,i,o,r,s,c,l);(A=L.diffed)&&A(t)}function wa(e,t,n){t.__d=void 0;for(var i=0;i<n.length;i++)Ar(n[i],n[++i],n[++i]);L.__c&&L.__c(t,e),e.some(function(o){try{e=o.__h,o.__h=[],e.some(function(r){r.call(o)})}catch(r){L.__e(r,o.__v)}})}function Vu(e,t,n,i,o,r,s,a,c){var l,A,d,u,h,p,g,b=n.props,v=t.props,w=t.type;if(w==="svg"?o="http://www.w3.org/2000/svg":w==="math"?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),r!=null){for(l=0;l<r.length;l++)if((h=r[l])&&"setAttribute"in h==!!w&&(w?h.localName===w:h.nodeType===3)){e=h,r[l]=null;break}}if(e==null){if(w===null)return document.createTextNode(v);e=document.createElementNS(o,w,v.is&&v),a&&(L.__m&&L.__m(t,r),a=!1),r=null}if(w===null)b===v||a&&e.data===v||(e.data=v);else{if(r=r&&Ct.call(e.childNodes),b=n.props||Kn,!a&&r!=null)for(b={},l=0;l<e.attributes.length;l++)b[(h=e.attributes[l]).name]=h.value;for(l in b)if(h=b[l],l!="children"){if(l=="dangerouslySetInnerHTML")d=h;else if(!(l in v)){if(l=="value"&&"defaultValue"in v||l=="checked"&&"defaultChecked"in v)continue;Ri(e,l,null,h,o)}}for(l in v)h=v[l],l=="children"?u=h:l=="dangerouslySetInnerHTML"?A=h:l=="value"?p=h:l=="checked"?g=h:a&&typeof h!="function"||b[l]===h||Ri(e,l,h,b[l],o);if(A)a||d&&(A.__html===d.__html||A.__html===e.innerHTML)||(e.innerHTML=A.__html),t.__k=[];else if(d&&(e.innerHTML=""),ga(e,Qi(u)?u:[u],t,n,i,w==="foreignObject"?"http://www.w3.org/1999/xhtml":o,r,s,r?r[0]:n.__k&&yn(n,0),a,c),r!=null)for(l=r.length;l--;)fa(r[l]);a||(l="value",w==="progress"&&p==null?e.removeAttribute("value"):p!==void 0&&(p!==e[l]||w==="progress"&&!p||w==="option"&&p!==b[l])&&Ri(e,l,p,b[l],o),l="checked",g!==void 0&&g!==e[l]&&Ri(e,l,g,b[l],o))}return e}function Ar(e,t,n){try{if(typeof e=="function"){var i=typeof e.__u=="function";i&&e.__u(),i&&t==null||(e.__u=e(t))}else e.current=t}catch(o){L.__e(o,n)}}function ya(e,t,n){var i,o;if(L.unmount&&L.unmount(e),(i=e.ref)&&(i.current&&i.current!==e.__e||Ar(i,null,t)),(i=e.__c)!=null){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(r){L.__e(r,t)}i.base=i.__P=null}if(i=e.__k)for(o=0;o<i.length;o++)i[o]&&ya(i[o],t,n||typeof e.type!="function");n||fa(e.__e),e.__c=e.__=e.__e=e.__d=void 0}function Wu(e,t,n){return this.constructor(e,n)}function xn(e,t,n){var i,o,r,s;L.__&&L.__(e,t),o=(i=typeof n=="function")?null:n&&n.__k||t.__k,r=[],s=[],lr(t,e=(!i&&n||t).__k=Y(N,null,[e]),o||Kn,Kn,t.namespaceURI,!i&&n?[n]:o?null:t.firstChild?Ct.call(t.childNodes):null,r,!i&&n?n:o?o.__e:t.firstChild,i,s),wa(r,e,s)}function xa(e,t){xn(e,t,xa)}function dr(e,t,n){var i,o,r,s,a=Ce({},e.props);for(r in e.type&&e.type.defaultProps&&(s=e.type.defaultProps),t)r=="key"?i=t[r]:r=="ref"?o=t[r]:a[r]=t[r]===void 0&&s!==void 0?s[r]:t[r];return arguments.length>2&&(a.children=arguments.length>3?Ct.call(arguments,2):n),qn(e.type,a,i||e.key,o||e.ref,null)}function le(e,t){var n={__c:t="__cC"+ua++,__:e,Consumer:function(i,o){return i.children(o)},Provider:function(i){var o,r;return this.getChildContext||(o=new Set,(r={})[t]=this,this.getChildContext=function(){return r},this.componentWillUnmount=function(){o=null},this.shouldComponentUpdate=function(s){this.props.value!==s.value&&o.forEach(function(a){a.__e=!0,cr(a)})},this.sub=function(s){o.add(s);var a=s.componentWillUnmount;s.componentWillUnmount=function(){o&&o.delete(s),a&&a.call(s)}}),i.children}};return n.Provider.__=n.Consumer.contextType=n}Ct=ha.slice,L={__e:function(e,t,n,i){for(var o,r,s;t=t.__;)if((o=t.__c)&&!o.__)try{if((r=o.constructor)&&r.getDerivedStateFromError!=null&&(o.setState(r.getDerivedStateFromError(e)),s=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(e,i||{}),s=o.__d),s)return o.__E=o}catch(a){e=a}throw e}},la=0,ce.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Ce({},this.state),typeof e=="function"&&(e=e(Ce({},n),this.props)),e&&Ce(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),cr(this))},ce.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),cr(this))},ce.prototype.render=N,on=[],da=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,or=function(e,t){return e.__v.__b-t.__v.__b},Li.__r=0,rr=0,sr=va(!1),ar=va(!0),ua=0;var Yu=0;function f(e,t,n,i,o,r){t||(t={});var s,a,c=t;"ref"in t&&(s=t.ref,delete t.ref);var l={type:e,props:c,key:n,ref:s,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--Yu,__i:-1,__u:0,__source:o,__self:r};if(typeof e=="function"&&(s=e.defaultProps))for(a in s)c[a]===void 0&&(c[a]=s[a]);return L.vnode&&L.vnode(l),l}const Ku="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20fill='%231a5b6e'%20class='bi%20bi-house-door-fill'%20viewBox='0%200%2016%2016'%3e%3cpath%20d='M6.5%2014.5v-3.505c0-.245.25-.495.5-.495h2c.25%200%20.5.25.5.5v3.5a.5.5%200%200%200%20.5.5h4a.5.5%200%200%200%20.5-.5v-7a.5.5%200%200%200-.146-.354L13%205.793V2.5a.5.5%200%200%200-.5-.5h-1a.5.5%200%200%200-.5.5v1.293L8.354%201.146a.5.5%200%200%200-.708%200l-6%206A.5.5%200%200%200%201.5%207.5v7a.5.5%200%200%200%20.5.5h4a.5.5%200%200%200%20.5-.5'/%3e%3c/svg%3e";function ur({expandWidth:e=!1,homeTitle:t="ACCESS Home",homeUrl:n="https://access-ci.org/",items:i=[],topBorder:o=!1}){if(!(!i||!i.length))return f("ul",{class:`breadcrumbs ${e?"expand":""} ${o?"top-border":""}`,children:[f("li",{class:"home",children:f("a",{href:n,title:t,children:f("img",{src:Ku,alt:t,height:"14"})})}),i.map(r=>f("li",{class:r.classes||"",children:r.href?f("a",{href:r.href,children:r.name}):r.name}))]})}var je,dt,hr,_a,_n=0,Pa=[],gt=L,Ba=gt.__b,ka=gt.__r,Da=gt.diffed,Ca=gt.__c,Ea=gt.unmount,Sa=gt.__;function Pn(e,t){gt.__h&>.__h(dt,e,_n||t),_n=0;var n=dt.__H||(dt.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function R(e){return _n=1,Xn(Oa,e)}function Xn(e,t,n){var i=Pn(je++,2);if(i.t=e,!i.__c&&(i.__=[n?n(t):Oa(void 0,t),function(a){var c=i.__N?i.__N[0]:i.__[0],l=i.t(c,a);c!==l&&(i.__N=[l,i.__[1]],i.__c.setState({}))}],i.__c=dt,!dt.u)){var o=function(a,c,l){if(!i.__c.__H)return!0;var A=i.__c.__H.__.filter(function(u){return!!u.__c});if(A.every(function(u){return!u.__N}))return!r||r.call(this,a,c,l);var d=!1;return A.forEach(function(u){if(u.__N){var h=u.__[0];u.__=u.__N,u.__N=void 0,h!==u.__[0]&&(d=!0)}}),!(!d&&i.__c.props===a)&&(!r||r.call(this,a,c,l))};dt.u=!0;var r=dt.shouldComponentUpdate,s=dt.componentWillUpdate;dt.componentWillUpdate=function(a,c,l){if(this.__e){var A=r;r=void 0,o(a,c,l),r=A}s&&s.call(this,a,c,l)},dt.shouldComponentUpdate=o}return i.__N||i.__}function et(e,t){var n=Pn(je++,3);!gt.__s&&gr(n.__H,t)&&(n.__=e,n.i=t,dt.__H.__h.push(n))}function Wt(e,t){var n=Pn(je++,4);!gt.__s&&gr(n.__H,t)&&(n.__=e,n.i=t,dt.__h.push(n))}function q(e){return _n=5,kt(function(){return{current:e}},[])}function Ma(e,t,n){_n=6,Wt(function(){return typeof e=="function"?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},n==null?n:n.concat(e))}function kt(e,t){var n=Pn(je++,7);return gr(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function X(e,t){return _n=8,kt(function(){return e},t)}function Zt(e){var t=dt.context[e.__c],n=Pn(je++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(dt)),t.props.value):e.__}function Ta(e,t){gt.useDebugValue&>.useDebugValue(t?t(e):e)}function fr(){var e=Pn(je++,11);if(!e.__){for(var t=dt.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function qu(){for(var e;e=Pa.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Hi),e.__H.__h.forEach(pr),e.__H.__h=[]}catch(t){e.__H.__h=[],gt.__e(t,e.__v)}}gt.__b=function(e){dt=null,Ba&&Ba(e)},gt.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),Sa&&Sa(e,t)},gt.__r=function(e){ka&&ka(e),je=0;var t=(dt=e.__c).__H;t&&(hr===dt?(t.__h=[],dt.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.i=n.__N=void 0})):(t.__h.forEach(Hi),t.__h.forEach(pr),t.__h=[],je=0)),hr=dt},gt.diffed=function(e){Da&&Da(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Pa.push(t)!==1&&_a===gt.requestAnimationFrame||((_a=gt.requestAnimationFrame)||Xu)(qu)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.i=void 0})),hr=dt=null},gt.__c=function(e,t){t.some(function(n){try{n.__h.forEach(Hi),n.__h=n.__h.filter(function(i){return!i.__||pr(i)})}catch(i){t.some(function(o){o.__h&&(o.__h=[])}),t=[],gt.__e(i,n.__v)}}),Ca&&Ca(e,t)},gt.unmount=function(e){Ea&&Ea(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(i){try{Hi(i)}catch(o){t=o}}),n.__H=void 0,t&>.__e(t,n.__v))};var Ia=typeof requestAnimationFrame=="function";function Xu(e){var t,n=function(){clearTimeout(i),Ia&&cancelAnimationFrame(t),setTimeout(e)},i=setTimeout(n,100);Ia&&(t=requestAnimationFrame(n))}function Hi(e){var t=dt,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),dt=t}function pr(e){var t=dt;e.__c=e.__(),dt=t}function gr(e,t){return!e||e.length!==t.length||t.some(function(n,i){return n!==e[i]})}function Oa(e,t){return typeof t=="function"?t(e):t}let rn,Gn;const Gu=(e,t)=>{if(rn=void 0,t&&t.type==="click"){if(t.ctrlKey||t.metaKey||t.altKey||t.shiftKey||t.button!==0)return e;const n=t.target.closest("a[href]"),i=n&&n.getAttribute("href");if(!n||n.origin!=location.origin||/^#/.test(i)||!/^(_?self)?$/i.test(n.target)||Gn&&(typeof Gn=="string"?!i.startsWith(Gn):!Gn.test(i)))return e;rn=!0,t.preventDefault(),t=n.href.replace(location.origin,"")}else typeof t=="string"?rn=!0:t&&t.url?(rn=!t.replace,t=t.url):t=location.pathname+location.search;return rn===!0?history.pushState(null,"",t):rn===!1&&history.replaceState(null,"",t),t},Ju=(e,t,n)=>{e=e.split("/").filter(Boolean),t=(t||"").split("/").filter(Boolean);for(let i=0,o,r;i<Math.max(e.length,t.length);i++){let[,s,a,c]=(t[i]||"").match(/^(:?)(.*?)([+*?]?)$/);if(o=e[i],!(!s&&a==o)){if(!s&&o&&c=="*"){n.rest="/"+e.slice(i).map(decodeURIComponent).join("/");break}if(!s||!o&&c!="?"&&c!="*")return;if(r=c=="+"||c=="*",r?o=e.slice(i).map(decodeURIComponent).join("/")||void 0:o&&(o=decodeURIComponent(o)),n.params[a]=o,a in n||(n[a]=o),r)break}}return n};function Jn(e){const[t,n]=Xn(Gu,e.url||location.pathname+location.search);e.scope&&(Gn=e.scope);const i=rn===!0,o=kt(()=>{const r=new URL(t,location.origin),s=r.pathname.replace(/\/+$/g,"")||"/";return{url:t,path:s,query:Object.fromEntries(r.searchParams),route:(a,c)=>n({url:a,replace:c}),wasPush:i}},[t]);return Wt(()=>(addEventListener("click",n),addEventListener("popstate",n),()=>{removeEventListener("click",n),removeEventListener("popstate",n)}),[]),Y(Jn.ctx.Provider,{value:o},e.children)}const Zu=Promise.resolve();function Qa(e){const[t,n]=Xn(B=>B+1,0),{url:i,query:o,wasPush:r,path:s}=$u(),{rest:a=s,params:c={}}=Zt(La),l=q(!1),A=q(s),d=q(0),u=q(),h=q(),p=q(),g=q(!1),b=q();b.current=!1;const v=q(!1);let w,_,m;he(e.children).some(B=>{if(Ju(a,B.props.path,m={...B.props,path:a,query:o,params:c,rest:""}))return w=dr(B,m);B.props.default&&(_=dr(B,m))});let y=w||_;kt(()=>{h.current=u.current;const B=h.current&&h.current.props.children;!B||!y||y.type!==B.type||y.props.component!==B.props.component?(this.__v&&this.__v.__k&&this.__v.__k.reverse(),d.current++,v.current=!0):v.current=!1},[i]);const x=u.current&&u.current.__u&Fi&&u.current.__u&zi,P=u.current&&u.current.__h;u.current=Y(La.Provider,{value:m},y),x?(u.current.__u|=Fi,u.current.__u|=zi):P&&(u.current.__h=!0);const C=h.current;return h.current=null,this.__c=(B,D)=>{b.current=!0,h.current=C,e.onLoadStart&&e.onLoadStart(i),l.current=!0;let E=d.current;B.then(()=>{E===d.current&&(h.current=null,u.current&&(D.__h&&(u.current.__h=D.__h),D.__u&zi&&(u.current.__u|=zi),D.__u&Fi&&(u.current.__u|=Fi)),Zu.then(n))})},Wt(()=>{const B=this.__v&&this.__v.__e;if(b.current){!g.current&&!p.current&&(p.current=B);return}!g.current&&p.current&&(p.current!==B&&p.current.remove(),p.current=null),g.current=!0,A.current!==s&&(r&&scrollTo(0,0),e.onRouteChange&&e.onRouteChange(i),A.current=s),e.onLoadEnd&&l.current&&e.onLoadEnd(i),l.current=!1},[s,r,t]),v.current?[Y(mr,{r:u}),Y(mr,{r:h})]:Y(mr,{r:u})}const Fi=32,zi=128,mr=({r:e})=>e.current;Qa.Provider=Jn,Jn.ctx=le({});const La=le({}),$u=()=>Zt(Jn.ctx);function br(e){let t,n;const i=()=>e().then(r=>n=r&&r.default||r),o=r=>{const[,s]=R(0),a=q(n);if(t||(t=i()),n!==void 0)return Y(n,r);throw a.current||(a.current=t.then(()=>s(1))),t};return o.preload=()=>(t||(t=i()),t),o}const Ra=L.__e;L.__e=(e,t,n)=>{if(e&&e.then){let i=t;for(;i=i.__;)if(i.__c&&i.__c.__c)return t.__e==null&&(t.__e=n.__e,t.__k=n.__k),t.__k||(t.__k=[]),i.__c.__c(e,t)}Ra&&Ra(e,t,n)};function Ha(e){return this.__c=th,this.componentDidCatch=e.onError,e.children}function th(e){e.then(()=>this.forceUpdate())}const eh=br(()=>Promise.resolve().then(()=>zp).then(e=>({default:e.QABot})));class nh extends ce{render(){const{welcome:t,prompt:n,isLoggedIn:i,isOpen:o,apiKey:r,embedded:s}=this.props,a=r||void 0||null;return a?f(Ha,{children:f(eh,{welcome:t||"Welcome to ACCESS Q&A Bot!",prompt:n||"Ask me anything...",isLoggedIn:i,isOpen:o===!0,embedded:s===!0,apiKey:a})}):(console.error("QA Bot: No valid API key provided"),null)}}const Fa=[{name:"Researchers",href:"https://access-ci.org/get-started/for-researchers/"},{name:"Educators",href:"https://access-ci.org/get-started/for-educators/"},{name:"Graduate Students",href:"https://access-ci.org/get-started/for-graduate-students/"},{name:"Resource Providers",href:"https://access-ci.org/get-started/for-resource-providers/"},{name:"CI Community",href:"https://access-ci.org/get-started/for-programs-organizations/"}],za=[{name:"ACCESS Home",href:"https://access-ci.org/",classes:"icon icon-home"},{name:"Allocations",href:"https://allocations.access-ci.org/",classes:"track"},{name:"Resources",href:"https://allocations.access-ci.org/resources",classes:"track"},{name:"Events & Trainings",href:"https://support.access-ci.org/events",classes:"track"},{name:"Support",href:"https://support.access-ci.org/",classes:"track"},{name:"News",href:"https://access-ci.org/news/",classes:"track"},{name:"About",href:"https://access-ci.org/about/",classes:"track grow"},{name:"Find info for you",classes:"highlight",items:Fa},{name:"Search",href:"https://support.access-ci.org/find",classes:"icon icon-search"}],Na={name:"My ACCESS",items:[{name:"Allocations",href:"https://allocations.access-ci.org/requests"},{name:"Community Persona",href:"https://support.access-ci.org/community-persona"},{name:"Edit Profile",href:"https://allocations.access-ci.org/profile"},{name:"Publications",href:"https://allocations.access-ci.org/publications"},{name:"Share with ORCID",href:"https://allocations.access-ci.org/orcid"},{name:"Log out",href:"https://cilogon.org/logout/?skin=access"}]},ja={name:"Login",items:[{name:"Login",href:"https://cilogon.org/?skin=access"},{name:"Questions",href:"https://identity.access-ci.org/"},{name:"Register",href:"https://identity.access-ci.org/new-user"},{name:"Reset Password",href:"https://identity.access-ci.org/password-reset"}]},ih=[{className:"x",href:"https://twitter.com/ACCESSforCI",name:"X"},{className:"youtube",href:"https://www.youtube.com/c/ACCESSforCI",name:"YouTube"},{className:"facebook",href:"https://www.facebook.com/ACCESSforCI",name:"Facebook"},{className:"linkedin",href:"https://www.linkedin.com/company/accessforci/",name:"LinkedIn"}],oh=[{href:"https://access-ci.org/acceptable-use/",name:"Acceptable Use"},{href:"https://access-ci.org/about/acknowledging-access/",name:"Acknowledging ACCESS"},{href:"https://access-ci.org/code-of-conduct/",name:"Code of Conduct"},{href:"https://access-ci.org/glossary/",name:"Glossary"},{href:"https://access-ci.org/privacy-policy",name:"Privacy Policy"},{href:"https://operations.access-ci.org/report-security-incident",name:"Report a Security Incident"},{href:"https://access-ci.org/site-map/",name:"Site Map"}],rh="https://www.nsf.gov/awardsearch/showAward",Zn=({number:e})=>f("a",{href:`${rh}?AWD_ID=${e}&HistoricalAwards=false`,children:["#",e]}),Ni=({className:e=null,items:t})=>f("ul",{class:e,children:t.map(({className:n,name:i,href:o})=>f("li",{children:f("a",{className:n,href:o,children:i})}))}),sh="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAABIAAAASABGyWs+AABv5klEQVR42u29d5gkVb0+/p5zKnTunp48m3NiWWDJCCJJAREJ14DoNV/1ioqo1wRmr2K46upVMcuiCCIIkgTJYdllE5tnw8xODj3TuSuec35/VOfpWYLu/r7cZ8/z1HZtd09VdZ23PuH9hAMcHUfH0XF0vFoGOXoLDj36t9zEmBo4G1J2mNmDSI08l0yn+v/xuvdssY7enemHcvQWHHo4xrgi3NC1TA2+QQgXY4nxLSPjmXUAjgLrKLBe+bDyg5Qy3acHO5ltOxgcN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yQ5KrH+HxrcNQ3TMpBIW8gVHC6EzBy9K0eB9U+P/qGB3NB44eDAaB4F0zWEkMbRu3IUWP/0GJ807x5JGE/nCg7gLdU5dvSuHB1Hx/8P4/8D9B8zcoSATacAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjItMDgtMTdUMTY6MTI6MTUtMDQ6MDBuCuvkAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTA4LTE3VDE2OjEyOjE1LTA0OjAwH1dTWAAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAAASUVORK5CYII=",ah="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20id='Layer_1'%20viewBox='0%200%20269.14%2041.37'%3e%3cdefs%3e%3clinearGradient%20id='linear-gradient'%20x1='14.99'%20y1='25.59'%20x2='42.38'%20y2='-1.8'%20gradientTransform='matrix(1,%200,%200,%201,%200,%200)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0'%20stop-color='%23e47637'%3e%3c/stop%3e%3cstop%20offset='.88'%20stop-color='%23ffcc52'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20id='linear-gradient-2'%20x1='87.72'%20y1='26.66'%20x2='112.87'%20y2='1.51'%20gradientTransform='matrix(1,%200,%200,%201,%200,%200)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0'%20stop-color='%23008597'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%2348c0b9'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20id='linear-gradient-3'%20x1='233.69'%20y1='10.21'%20x2='195.89'%20y2='32.03'%20gradientTransform='matrix(1,%200,%200,%201,%200,%200)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='.2'%20stop-color='%23008597'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%2348c0b9'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20id='linear-gradient-4'%20x1='45.84'%20y1='29.07'%20x2='82.09'%20y2='29.07'%20gradientTransform='matrix(1,%200,%200,%201,%200,%200)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='.18'%20stop-color='%2348c0b9'%3e%3c/stop%3e%3cstop%20offset='.81'%20stop-color='%23008597'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20id='linear-gradient-5'%20x1='43.22'%20y1='20.68'%20x2='68.03'%20y2='20.68'%20gradientTransform='matrix(1,%200,%200,%201,%200,%200)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='.22'%20stop-color='%2348c0b9'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%23008597'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20id='linear-gradient-6'%20x1='165.05'%20y1='35.98'%20x2='194.21'%20y2='35.98'%20gradientTransform='matrix(1,%200,%200,%201,%200,%200)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='.03'%20stop-color='%23008597'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%2348c0b9'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20id='linear-gradient-7'%20x1='123.91'%20y1='11.68'%20x2='160.35'%20y2='11.68'%20xlink:href='%23linear-gradient-2'%3e%3c/linearGradient%3e%3clinearGradient%20id='linear-gradient-8'%20x1='269.14'%20y1='20.69'%20x2='234.79'%20y2='20.69'%20gradientTransform='matrix(1,%200,%200,%201,%200,%200)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='.03'%20stop-color='%23038596'%3e%3c/stop%3e%3cstop%20offset='.82'%20stop-color='%2366d6d6'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20id='linear-gradient-9'%20x1='271.07'%20y1='10.21'%20x2='233.26'%20y2='32.03'%20gradientTransform='matrix(1,%200,%200,%201,%200,%200)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='.2'%20stop-color='%23008597'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%2348c0b9'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20id='linear-gradient-10'%20y1='20.36'%20x2='191.15'%20y2='20.36'%20xlink:href='%23linear-gradient-6'%3e%3c/linearGradient%3e%3clinearGradient%20id='linear-gradient-11'%20y1='5.3'%20y2='5.3'%20xlink:href='%23linear-gradient-6'%3e%3c/linearGradient%3e%3c/defs%3e%3cg%3e%3cpolygon%20points='44.62%20.43%202.5%207.94%2030.06%2040.66%2044.62%20.43'%20style='fill:url(%23linear-gradient);'%3e%3c/polygon%3e%3crect%20x='15.25'%20y='17.07'%20width='8.79'%20height='8.79'%20transform='translate(23.41%20-7.39)%20rotate(49.9)'%20style='fill:%23fff;'%3e%3c/rect%3e%3crect%20x='8.52'%20y='22.74'%20width='8.79'%20height='8.79'%20transform='translate(25.35%20-.23)%20rotate(49.9)'%20style='fill:%231a5b6e;'%3e%3c/rect%3e%3crect%20x='1.8'%20y='28.4'%20width='8.79'%20height='8.79'%20transform='translate(27.29%206.93)%20rotate(49.9)'%20style='fill:%23f07537;'%3e%3c/rect%3e%3crect%20x='2.86'%20y='16.01'%20width='8.79'%20height='8.79'%20transform='translate(18.19%201.71)%20rotate(49.9)'%20style='fill:%2348c0b9;'%3e%3c/rect%3e%3crect%20x='14.19'%20y='29.46'%20width='8.79'%20height='8.79'%20transform='translate(32.51%20-2.17)%20rotate(49.9)'%20style='fill:%23008597;'%3e%3c/rect%3e%3c/g%3e%3cg%3e%3cg%3e%3cpath%20d='M70.26,.67l14.44,40.03h-11.09l-2.57-7.25h-14.5l-2.51,7.25h-10.82L57.66,.67h12.6Zm-10.65,24.03h8.37l-4.18-11.93-4.18,11.93Z'%3e%3c/path%3e%3cpath%20d='M103.46,31.89c3.68,0,6.3-2.45,7.02-6.41l10.26,3.4c-2.45,7.53-8.25,12.49-17.23,12.49-11.26,0-19.24-8.64-19.24-20.69S92.25,0,103.52,0c8.98,0,14.77,4.96,17.23,12.49l-10.26,3.4c-.72-3.96-3.34-6.41-7.02-6.41-4.85,0-8.25,4.35-8.25,11.21s3.4,11.21,8.25,11.21Z'%20style='fill:%23008597;'%3e%3c/path%3e%3cpath%20d='M84.42,23.37c-1.27-14.31,7.83-23.37,19.09-23.37,8.98,0,14.77,4.96,17.23,12.49l-10.26,3.4c-.72-3.96-3.34-6.41-7.02-6.41-4.85,0-8.25,4.35-8.25,11.21l-10.79,2.68Z'%20style='fill:url(%23linear-gradient-2);'%3e%3c/path%3e%3cpath%20d='M143.01,31.89c3.68,0,6.3-2.45,7.02-6.41l10.26,3.4c-2.45,7.53-8.25,12.49-17.23,12.49-11.26,0-19.24-8.64-19.24-20.69S131.8,0,143.07,0c8.98,0,14.77,4.96,17.23,12.49l-10.26,3.4c-.72-3.96-3.34-6.41-7.02-6.41-4.85,0-8.25,4.35-8.25,11.21s3.4,11.21,8.25,11.21Z'%20style='fill:%23008597;'%3e%3c/path%3e%3cpath%20d='M203.38,26.76c3.4,3.85,7.92,5.63,11.99,5.63,3.35,0,5.58-1.23,5.58-3.51,0-2.57-2.84-2.9-8.98-4.13-5.85-1.17-12.26-3.34-12.26-11.49s7.08-13.27,15.95-13.27c7.02,0,12.54,2.73,15.72,6.19l-5.91,7.36c-2.62-2.9-6.13-4.57-10.09-4.57-2.95,0-4.96,1.12-4.96,3.18,0,2.29,2.45,2.67,7.3,3.68,6.25,1.28,14.05,3.01,14.05,11.93s-7.58,13.61-16.83,13.61c-6.53,0-14.16-2.57-17.51-6.69l5.97-7.92Z'%20style='fill:url(%23linear-gradient-3);'%3e%3c/path%3e%3cpath%20d='M211.97,24.76c-5.85-1.17-12.26-3.34-12.26-11.49s7.08-13.27,15.95-13.27c7.02,0,12.54,2.73,15.72,6.19l-5.91,7.36c-2.62-2.9-6.13-4.57-10.09-4.57-2.95,0-4.96,1.12-4.96,3.18,0,2.29,2.45,2.67,7.3,3.68l-5.74,8.92Z'%20style='fill:%23008597;'%3e%3c/path%3e%3cpath%20d='M70.26,.67l14.44,40.03h-11.09l-2.57-7.25L59.62,.67h10.65Zm-2.29,24.03'%20style='fill:%23008597;'%3e%3c/path%3e%3cpath%20d='M194.21,.67V9.92h-18.46v5.97h15.28v9.03h-15.28v6.52h18.46v9.26h-29.16V.67h29.16Z'%20style='fill:%23008597;'%3e%3c/path%3e%3c/g%3e%3cpolygon%20points='82.09%2033.45%2078.93%2024.7%2067.98%2024.7%2059.61%2024.7%2048.99%2024.7%2045.84%2033.45%2082.09%2033.45'%20style='fill:url(%23linear-gradient-4);'%3e%3c/polygon%3e%3cpath%20d='M68.03,.67l-13.99,40.03h-10.82L57.66,.67h10.37Zm-8.42,24.03l4.18-11.93-4.18,11.93Z'%20style='fill:url(%23linear-gradient-5);'%3e%3c/path%3e%3cpolygon%20points='165.05%2031.35%20165.05%2040.61%20175.76%2040.61%20176.66%2040.61%20194.21%2040.61%20194.21%2031.35%20165.05%2031.35'%20style='fill:url(%23linear-gradient-6);'%3e%3c/polygon%3e%3cpolygon%20points='175.75%2015.39%20165.05%2015.39%20165.05%20.74%20175.75%20.67%20175.75%2015.39'%20style='fill:%23008597;'%3e%3c/polygon%3e%3cpath%20d='M124.03,23.37c-1.27-14.31,7.83-23.37,19.09-23.37,8.98,0,14.77,4.96,17.23,12.49l-10.26,3.4c-.72-3.96-3.34-6.41-7.02-6.41-4.85,0-8.25,4.35-8.25,11.21l-10.79,2.68Z'%20style='fill:url(%23linear-gradient-7);'%3e%3c/path%3e%3cpath%20d='M240.76,26.76c3.4,3.85,7.92,5.63,11.99,5.63,3.35,0,5.58-1.23,5.58-3.51,0-2.57-2.84-2.9-8.98-4.13-5.85-1.17-12.26-3.34-12.26-11.49s7.08-13.27,15.95-13.27c7.02,0,12.54,2.73,15.72,6.19l-5.91,7.36c-2.62-2.9-6.13-4.57-10.09-4.57-2.95,0-4.96,1.12-4.96,3.18,0,2.29,2.45,2.67,7.3,3.68,6.25,1.28,14.05,3.01,14.05,11.93s-7.58,13.61-16.83,13.61c-6.53,0-14.16-2.57-17.51-6.69l5.97-7.92Z'%20style='fill:url(%23linear-gradient-8);'%3e%3c/path%3e%3cpath%20d='M240.76,26.76c3.4,3.85,7.92,5.63,11.99,5.63,3.35,0,5.58-1.23,5.58-3.51,0-2.57-2.84-2.9-8.98-4.13-5.85-1.17-12.26-3.34-12.26-11.49s7.08-13.27,15.95-13.27c7.02,0,12.54,2.73,15.72,6.19l-5.91,7.36c-2.62-2.9-6.13-4.57-10.09-4.57-2.95,0-4.96,1.12-4.96,3.18,0,2.29,2.45,2.67,7.3,3.68,6.25,1.28,14.05,3.01,14.05,11.93s-7.58,13.61-16.83,13.61c-6.53,0-14.16-2.57-17.51-6.69l5.97-7.92Z'%20style='fill:url(%23linear-gradient-9);'%3e%3c/path%3e%3cpolygon%20points='165.05%2015.73%20165.05%2024.99%20175.76%2024.99%20176.66%2024.99%20191.15%2024.99%20191.15%2015.73%20165.05%2015.73'%20style='fill:url(%23linear-gradient-10);'%3e%3c/polygon%3e%3cpath%20d='M249.34,24.76c-5.85-1.17-12.26-3.34-12.26-11.49s7.08-13.27,15.95-13.27c7.02,0,12.54,2.73,15.72,6.19l-5.91,7.36c-2.62-2.9-6.13-4.57-10.09-4.57-2.95,0-4.96,1.12-4.96,3.18,0,2.29,2.45,2.67,7.3,3.68l-5.74,8.92Z'%20style='fill:%23008597;'%3e%3c/path%3e%3cpolygon%20points='165.05%20.67%20165.05%209.92%20175.76%209.92%20176.66%209.92%20194.21%209.92%20194.21%20.67%20165.05%20.67'%20style='fill:url(%23linear-gradient-11);'%3e%3c/polygon%3e%3c/g%3e%3c/svg%3e",Ua=({nsfUrl:e="https://www.nsf.gov",placement:t="header",siteName:n="",siteUrl:i="/"})=>f("div",{class:`logo logo-${t}`,children:[f("a",{class:"nsf",href:e,children:f("img",{class:"nsf-logo",src:sh,alt:"National Science Foundation"})}),f("div",{class:"divider"}),f("a",{class:"access",href:i,children:[f("img",{class:"access-logo",src:ah,alt:"ACCESS"}),n&&t=="header"?f("span",{class:`name name-${n.toLocaleLowerCase().replace(" ","-")}`,children:n}):null]})]}),vr=(e=900)=>document.body.clientWidth>=e?"desktop":"mobile",Va=(e=900)=>{const[t,n]=R(vr(e));return et(()=>{window.addEventListener("resize",()=>n(vr(e)))},[]),t},Ee=(e,t,n=[])=>{const i=t.attachShadow({mode:"open"});xn(f(N,{children:[e,n.map(o=>f("style",{children:o}))]}),i)},Wa=()=>window.pageYOffset!==void 0?window.pageYOffset:(document.documentElement||document.body.parentNode||document.body).scrollTop,Ya={},ji={},ch=(e,{cache:t=!0,corsProxy:n=!1}={cache:!0,corsProxy:!1})=>{if(t&&e in Ya)return Ya[e];if(e in ji)return ji[e];const i=fetch(n?`https://corsproxy.io/?${encodeURIComponent(e)}`:e).then(o=>{if(delete ji[e],o.status<200||o.status>299)return{error:{status:o.status}};try{return o.json()}catch(r){return{error:{message:r}}}});return ji[e]=i,i},Lt=(e,{cache:t=!0,corsProxy:n=!1,defaultValue:i=null}={cache:!0,corsProxy:!1,defaultValue:null})=>{const[o,r]=R(i);let s=!1;return Array.isArray(e)||(e=e?[e]:[],s=!0),et(()=>{e.length&&(async()=>{const a=await Promise.all(e.map(l=>ch(l,{cache:t,corsProxy:n}))),c=s?a[0]:a;r(c)})()},[...e]),o},Ka=()=>{const e=Lt("https://operations-api.access-ci.org/wh2/cider/v1/access-active-groups/type/resource-catalog.access-ci.org/");return wr([e],({results:t})=>{const{active_groups:n,feature_categories:i,features:o,organizations:r,resources:s}=t,a=[{tagCategoryId:-1,name:"Resource Provider",tags:[]}],c=[-1];for(let p of i)[100,102,103].includes(p.feature_category_id)&&(a.push({tagCategoryId:p.feature_category_id,name:p.feature_category_name,tags:[]}),c.push(p.feature_category_id));a.sort((p,g)=>p.name.localeCompare(g.name));const l=o.filter(p=>c.includes(p.feature_category_id)).map(p=>({tagId:p.feature_id,name:p.feature_name,tagCategoryId:p.feature_category_id})),A={};for(let p of r)l.push({tagId:p.organization_id*-1,name:p.organization_name,tagCategoryId:-1,iconUri:p.organization_favicon_url||null}),A[p.organization_id]=p;l.sort((p,g)=>p.name.localeCompare(g.name));const d=l.map(p=>p.tagId),u=[{resourceCategoryId:1,name:"Compute & Storage Resources",resourceGroups:[],resourceGroupIds:[]},{resourceCategoryId:2,name:"Program & Other Resources",resourceGroups:[],resourceGroupIds:[]}],h=n.filter(p=>p.rollup_info_resourceids).map(p=>({infoGroupId:p.info_groupid,name:p.group_descriptive_name,description:p.group_description,infoResourceIds:p.rollup_info_resourceids,imageUri:p.group_logo_url?`https://cider.access-ci.org/public/groups/${p.group_logo_url.match(/[0-9]+/)[0]}/logo`:null,tagIds:[...p.rollup_organization_ids.map(g=>g*-1).filter(g=>d.includes(g)),...p.rollup_feature_ids.filter(g=>d.includes(g))],resourceCategoryId:p.rollup_feature_ids.includes(137)?2:1,accessAllocated:p.rollup_feature_ids.includes(139),organizations:p.rollup_organization_ids.map(g=>A[g]).filter(g=>g),resources:s.filter(g=>p.rollup_info_resourceids.includes(g.info_resourceid))})).sort((p,g)=>p.name.localeCompare(g.name));return Ah({resourceCategories:u,resourceGroups:h,tags:l,tagCategories:a})})},$n=(e,t=null)=>{const n=Ka();return n&&n.resourceGroups.find(i=>i.infoGroupId==e)||t},lh=(e,t=[])=>{const n=Lt(`https://operations-api.access-ci.org/wh2/cider/v1/access-active/info_groupid/${e}/?format=json`);return n&&!n.error?n.results:t},wr=(e,t,n=null)=>kt(()=>{if(!e.length)return n;for(let i of e)if(!i||i.error)return n;return t.apply(null,e)},e),Ah=({resourceCategories:e,resourceGroups:t,tags:n,tagCategories:i})=>{const o={};for(let a of i)a.tags=[],o[a.tagCategoryId]=a;const r={};for(let a of n)a.tagCategory=o[a.tagCategoryId],a.tagCategory.tags.push(a),a.resources=[],r[a.tagId]=a;const s={};for(let a of e)a.resourceGroups=[],s[a.resourceCategoryId]=a;for(let a of t)a.resourceCategory=s[a.resourceCategoryId],a.resourceCategory.resourceGroups.push(a),a.tags=a.tagIds.map(c=>r[c]);return{resourceCategories:e,resourceGroups:t,tags:n,tagCategories:i}},dh=({resourceGroups:e,tags:t,tagCategories:n},i)=>{const o=new Set,r=new Set,s=new Set,a=new Set(i);for(let A of t)a.has(A.tagId)&&s.add(A.tagCategoryId);const c=n.filter(({tagCategoryId:A})=>s.has(A)),l=new Set(t.filter(A=>!s.has(A.tagCategoryId)).map(A=>A.tagId));for(let A of e){let d=!0;for(let u of c){let h=!1;for(let p of u.tags)if(a.has(p.tagId)&&A.tags.includes(p)){h=!0;break}if(!h){d=!1;break}}if(d){r.add(A.infoGroupId),o.add(A.resourceCategoryId);for(let u of A.tagIds)l.delete(u)}}return{disabledTagIds:l,resourceCategoryIds:o,infoGroupIds:r,tagCategoryIds:s,tagIds:a}},qa=e=>{let t=e.match(/href="([^"]+)"/);return t?t[1]:null},yr=e=>e.replace(/(<[^>]+>)/g,"").replace(/ /g," "),xr=e=>{const t=[];for(let n of e.split(/(\<\/p\>)|[\n\r]+/g)){if(!n)continue;const i=Array.from(n.matchAll(/<a([^>]+)>([^<]+)<\/a>/g)),o=n.split(/<a[^<]+<\/a>/g),r=[];for(;o.length>0;){r.push(yr(o.shift()));let s=i.shift();if(s){let a=qa(s[1]);a&&r.push(f("a",{href:a,children:s[2]}))}}t.push(f("p",{children:r}))}return t},uh=({showAfterScroll:e=300})=>{const[t,n]=R(!1);return et(()=>{window.addEventListener("scroll",()=>n(Wa()>=e))},[]),f("button",{class:`scroll-to-top ${t?"visible":""}`,title:"Return to Top",onClick:()=>window.scrollTo({top:0,behavior:"smooth"}),children:"Return to Top"})},hh=(e={})=>f(N,{children:[f("div",{class:"container",children:[f("div",{class:"upper",children:[f("div",{class:"about",children:[f("p",{class:"awards",children:["ACCESS is an advanced computing and data resource program supported by the U.S. National Science Foundation (NSF) under the Office of Advanced Cyberinfrastructure awards"," ",f(Zn,{number:2138259}),", ",f(Zn,{number:2138286}),","," ",f(Zn,{number:2138307}),", ",f(Zn,{number:2137603})," and"," ",f(Zn,{number:2138296}),"."]}),f("p",{class:"disclaimer",children:"Any opinions, findings, conclusions or recommendations expressed in this material are those of the authors and do not necessarily reflect the views of NSF."}),f("a",{class:"contact",href:"https://access-ci.org/contact/",children:"Contact ACCESS"}),f(Ni,{className:"social",items:ih})]}),f("div",{class:"personas",children:[f("p",{children:"For:"}),f(Ni,{items:Fa})]})]}),f("div",{class:"lower",children:[f(Ua,{siteName:"ACCESS",siteUrl:"https://access-ci.org",placement:"footer"}),f(Ni,{className:"links",items:oh})]})]}),f(uh,{...e})]}),fh=(e={})=>f("div",{class:"container",children:f(Ua,{...e})}),Xa=({autoOpenMode:e,classes:t="",href:n="",html:i="",items:o,mode:r,name:s,open:a,parentId:c="root",setOpen:l})=>{const A=fr(),d=a[c]==A,u=d||e==r,h=()=>l({...a,[c]:d?null:A});if(i)return f("div",{dangerouslySetInnerHTML:{__html:i}});if(n)return f("a",{href:n,class:`item ${t||""}`,children:s});if(o)return f(N,{children:[s&&f("button",{"aria-expanded":u,"aria-controls":A,class:`item ${u?"expanded":"collapsed"}`,onClick:h,children:s}),f("ul",{class:t,id:A,hidden:!u,"aria-hidden":!u,children:o.map(({autoOpenMode:p,classes:g,href:b,html:v,items:w,name:_})=>f("li",{class:g||"",children:f(Xa,{autoOpenMode:p,href:b,html:v,items:w,mode:r,name:_,open:a,parentId:A,setOpen:l})}))})]})},Ga=({classes:e,items:t,name:n,target:i})=>{const o=Va(1280),[r,s]=R({});return et(()=>{document.body.addEventListener("click",a=>{a.target!=i&&vr()=="desktop"&&s({})}),i.addEventListener("keydown",({key:a})=>{a=="Escape"&&s({})})},[]),f("nav",{class:`menu ${e||""}`,children:f(Xa,{autoOpenMode:"desktop",items:t,mode:o,name:n,open:r,setOpen:s})})},ph=({items:e,siteName:t=""})=>{const n=Va(768),i=e.map(({name:o,href:r,items:s})=>{if(n=="mobile")for(;!r;)r=s[0].href,s=s[0];return r?f("div",{class:"column",children:f("h3",{children:f("a",{href:r,children:o})})}):f("div",{class:"column",children:[f("h3",{children:o}),f(Ni,{items:s})]})});return f("nav",{class:"footer",children:[f("h2",{children:["ACCESS ",t]}),f("div",{class:"columns",children:i})]})},gh=br(()=>Promise.resolve().then(()=>e1)),mh=br(()=>Promise.resolve().then(()=>c1));function bh({title:e="Resources",showTitle:t=!0,baseUri:n="/resources"}){return f(Jn,{children:f(Ha,{children:f(Qa,{children:[f(mh,{path:n,baseUri:n,title:e,showTitle:t}),f(gh,{path:`${n}/:infoGroupId`,baseUri:n})]})})})}const vh=({headings:e=[],idPrefix:t="",smoothScroll:n=!0})=>{const[i,o]=R(-1);let r;const s=[];if(e.forEach(a=>{a.tagName=="H1"?r=a:a.tagName=="H2"&&(s.push(a),a.id||(a.id=t+a.textContent.replace(/[^A-Za-z0-9]+/g,"-").toLowerCase()))}),et(()=>{s.length&&window.addEventListener("scroll",function(){const a=Wa()+window.innerHeight*.1;let c=-1;s.forEach((l,A)=>{if(l.offsetTop<a)return c=A,!1}),o(c)})},[]),!!s.length)return f("div",{class:"toc",children:[r&&f("h2",{children:r.textContent}),s.length>0&&f("ul",{children:s.map((a,c)=>f("li",{children:f("a",{href:`#${a.id}`,class:c==i?"active":"",onClick:l=>{n&&(l.preventDefault(),window.scrollTo({top:a.offsetTop,behavior:"smooth"}),history.pushState(null,null,`#${a.id}`))},children:a.textContent})}))})]})},Se=":host,:root{--contrast: #232323;--contrast-2: #3f3f3f;--contrast-3: #707070;--contrast-6: #999999;--contrast-7: #d9d9d9;--contrast-8: #dfdfdf;--contrast-9: #e5e5e5;--green-400: #288654;--red-400: #a70000;--orange-200: #f6d8ca;--orange-400: #f07537;--teal-050: #ecf9f8;--teal-100: #cee8e9;--teal-200: #b0dadb;--teal-400: #48c0b9;--teal-600: #107180;--teal-700: #1a5b6e;--yellow-200: #fce5ab;--yellow-400: #ffc42d;--color: white;--padding: 30px;--offset: 0px;--outline: white;color:var(--contrast)}:host,:host button,:root,:root button{font-family:Archivo,sans-serif}.container{margin:0 auto;padding:0 var(--padding);width:var(--width)}.visually-hidden{border:0!important;clip:rect(0,0,0,0)!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important;width:1px!important}@media (min-width: 600px){:host,:root{--padding: calc((100% - var(--width)) / 2);--offset: 7px;--width: 540px}}@media (min-width: 768px){:host,:root{--width: 712px}}@media (min-width: 900px){:host,:root{--width: 840px}}@media (min-width: 1024px){:host,:root{--width: 940px}}@media (min-width: 1280px){:host,:root{--padding: 10px;--offset: 0px;--width: 1180px}}",wh='ul.breadcrumbs{--offset: calc((100vw - var(--width)) / 2);border-bottom:1px solid var(--contrast-7);box-sizing:border-box;font-size:14px;font-stretch:70%;font-weight:600;line-height:20px;list-style-type:none;margin:0;padding:0 30px;width:100vw}ul.breadcrumbs.top-border{border-top:1px solid var(--contrast-7)}ul.breadcrumbs.expand{margin-left:-30px;margin-right:-30px}ul.breadcrumbs li{display:inline-block;margin:0;padding:11px 0 6px;text-transform:uppercase;vertical-align:middle}ul.breadcrumbs li:not(.home):before{content:"/";margin:0 12px}ul.breadcrumbs li a{color:var(--teal-700);text-decoration:none}ul.breadcrumbs li:not(.home) a:active,ul.breadcrumbs li:not(.home) a:focus,ul.breadcrumbs li:not(.home) a:hover{text-decoration:underline}@media (min-width: 600px){ul.breadcrumbs{padding-left:var(--offset);padding-right:var(--offset)}ul.breadcrumbs.expand{margin-left:calc(var(--offset) * -1);margin-right:calc(var(--offset) * -1)}}',yh=`:root{color:#232323;font-family:Archivo,sans-serif;font-size:16px}h1{font-size:36px;font-stretch:70%;font-weight:500;margin-top:60px}h2{font-size:22px;font-weight:800;margin-top:36px}h3{color:var(--teal-700);font-size:18px;font-weight:800}a{color:var(--contrast);font-weight:800;text-decoration:underline}a:active,a:focus,a:hover{color:var(--teal-600);text-decoration:none}ol,p,ul{font-size:1.125rem;line-height:1.875rem;margin:0 0 1.25rem}li{margin-bottom:.5rem}.btn{background-color:var(--teal-700);border:4px solid var(--teal-700);color:#fff;display:inline-block;font-family:Archivo,sans-serif;font-size:16px;font-weight:600;line-height:24px;padding:6px 12px;text-decoration:none;text-transform:uppercase}.secondary{background-color:var(--yellow-400);border-color:var(--yellow-400);color:var(--contrast)}.danger{background-color:var(--red-400);border-color:var(--red-400)}.lg{font-size:20px;line-height:30px;padding:8px 16px}.btn.active,.btn:active,.btn:focus,.btn:hover{background-color:#fff;border-color:var(--contrast);color:var(--contrast);cursor:pointer}.btn-clear,.btn-clear.active,.btn-clear:active,.btn-clear:focus,.btn-clear:hover{background-color:transparent;border-color:transparent;color:var(--contrast)}.btn:disabled{background-color:var(--contrast-8);border-color:var(--contrast-8);color:var(--contrast-3)}.btn .bi{vertical-align:middle}.btn+.btn{margin-left:10px}.table{border-top:1px solid var(--contrast);border-collapse:collapse;width:100%}.table td,.table th{border-bottom:1px solid var(--contrast);padding:16px}.table thead th{text-align:left}.table tbody th{text-align:right}input,select{border:1px solid var(--contrast-8);border-radius:0;color:var(--contrast);font-size:1rem;padding:6px 12px}select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;background-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' viewBox='0 0 16 16'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708'/></svg>");background-position:right 12px center;background-repeat:no-repeat;padding:6px 36px 6px 12px}.intro{font-size:24px}`,xh=`:host{background-color:#fbfbfb}.container{color:var(--contrast)}a{color:var(--teal-600);font-weight:800;text-decoration:none}a:active,a:focus,a:hover{text-decoration:underline}.about{padding-top:25px}.awards{font-size:15px;line-height:21px;margin:0 0 20px}.disclaimer{font-size:12px;line-height:18px;margin:0 0 15px}.contact{font-size:16px;font-stretch:70%;text-transform:uppercase}.social{align-items:center;display:flex;flex-direction:row;justify-content:flex-start;list-style-type:none;margin:0;padding:20px 0 10px}.social li{margin:0 35px 0 0;padding:0}.social li:last-child{margin:-10px}.social a{background-size:contain;background-repeat:no-repeat;display:block;height:25px;text-indent:-999999px;width:25px}.x{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23232323' class='bi bi-twitter-x' viewBox='0 0 16 16'><path d='M12.6.75h2.454l-5.36 6.142L16 15.25h-4.937l-3.867-5.07-4.425 5.07H.316l5.733-6.57L0 .75h5.063l3.495 4.633L12.601.75Zm-.86 13.028h1.36L4.323 2.145H2.865z'/></svg>")}.youtube{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23232323' viewBox='0 0 16 16'><path d='M8.051 1.999h.089c.822.003 4.987.033 6.11.335a2.01 2.01 0 0 1 1.415 1.42c.101.38.172.883.22 1.402l.01.104.022.26.008.104c.065.914.073 1.77.074 1.957v.075c-.001.194-.01 1.108-.082 2.06l-.008.105-.009.104c-.05.572-.124 1.14-.235 1.558a2.01 2.01 0 0 1-1.415 1.42c-1.16.312-5.569.334-6.18.335h-.142c-.309 0-1.587-.006-2.927-.052l-.17-.006-.087-.004-.171-.007-.171-.007c-1.11-.049-2.167-.128-2.654-.26a2.01 2.01 0 0 1-1.415-1.419c-.111-.417-.185-.986-.235-1.558L.09 9.82l-.008-.104A31 31 0 0 1 0 7.68v-.123c.002-.215.01-.958.064-1.778l.007-.103.003-.052.008-.104.022-.26.01-.104c.048-.519.119-1.023.22-1.402a2.01 2.01 0 0 1 1.415-1.42c.487-.13 1.544-.21 2.654-.26l.17-.007.172-.006.086-.003.171-.007A100 100 0 0 1 7.858 2zM6.4 5.209v4.818l4.157-2.408z'/></svg>")}.facebook{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23232323' viewBox='0 0 16 16'><path d='M16 8.049c0-4.446-3.582-8.05-8-8.05C3.58 0-.002 3.603-.002 8.05c0 4.017 2.926 7.347 6.75 7.951v-5.625h-2.03V8.05H6.75V6.275c0-2.017 1.195-3.131 3.022-3.131.876 0 1.791.157 1.791.157v1.98h-1.009c-.993 0-1.303.621-1.303 1.258v1.51h2.218l-.354 2.326H9.25V16c3.824-.604 6.75-3.934 6.75-7.951'/></svg>")}a.linkedin{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23232323' viewBox='0 0 16 16'><path d='M0 1.146C0 .513.526 0 1.175 0h13.65C15.474 0 16 .513 16 1.146v13.708c0 .633-.526 1.146-1.175 1.146H1.175C.526 16 0 15.487 0 14.854zm4.943 12.248V6.169H2.542v7.225zm-1.2-8.212c.837 0 1.358-.554 1.358-1.248-.015-.709-.52-1.248-1.342-1.248S2.4 3.226 2.4 3.934c0 .694.521 1.248 1.327 1.248zm4.908 8.212V9.359c0-.216.016-.432.08-.586.173-.431.568-.878 1.232-.878.869 0 1.216.662 1.216 1.634v3.865h2.401V9.25c0-2.22-1.184-3.252-2.764-3.252-1.274 0-1.845.7-2.165 1.193v.025h-.016l.016-.025V6.169h-2.4c.03.678 0 7.225 0 7.225z'/></svg>")}.lower{border-top:1px solid var(--contrast-9);padding:10px 0 60px}.links{display:flex;flex-direction:row;flex-wrap:wrap;list-style-type:none;margin:20px 0 0;padding:0}.links li{padding:0 20px 10px 0}.links li:last-child{padding-right:0}.links a{font-size:12px;font-weight:600}.scroll-to-top{background-color:#00000080;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' stroke='white' stroke-width='1' viewBox='0 0 16 16'><path fill-rule='evenodd' d='M7.646 4.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1-.708.708L8 5.707l-5.646 5.647a.5.5 0 0 1-.708-.708z'/></svg>");background-position:center;background-repeat:no-repeat;background-size:13px;border:0 none transparent;bottom:30px;cursor:pointer;display:block;height:40px;opacity:0;position:fixed;right:30px;text-indent:-999999px;transition:opacity .25s ease-out;width:40px;z-index:100}.scroll-to-top.visible{opacity:1}.personas{box-sizing:border-box;font-size:15px;padding:20px 0}.personas p{margin:0}.personas ul{list-style-type:none;margin:5px 0;padding:0}.personas li{padding:3px 0}@media (min-width: 1024px){.lower{align-items:start;display:flex;flex-direction:row;justify-content:space-between}.links{margin-top:0}}@media (min-width: 900px){.upper{display:flex;flex-direction:row;justify-content:space-between}.upper>*{width:calc((var(--width) - 20px) / 2)}.about{padding:40px 0 30px}.awards{font-size:18px;line-height:24px}.personas{font-size:18px;padding:40px calc(((var(--width) - 140px) / 8) + 20px) 30px}}`,_h=".container{box-sizing:content-box;height:84px;padding-top:20px}@media (min-width: 900px){.container{height:144px;padding-top:52px}}",Ja=`.logo{align-items:start;display:flex;flex-direction:row}.nsf-logo{height:49px}.access-logo{height:23px;margin-top:12px}.access,.nsf{display:block;text-decoration:none}.divider{border-right:2px solid #bbbbbb;height:40px;margin:4px 15px 0 12px;width:0}.name{color:var(--teal-700);display:block;font-size:17.5px;font-stretch:80%;font-weight:200;line-height:1;margin:3px 0 0;text-align:right}.name:before{content:"";display:inline-block;height:0;margin:0 5px 0 0;width:0}.name-allocations:before{border-bottom:12px solid var(--orange-400);border-left:12px solid transparent}.name-coordination-office:before{background-color:var(--teal-400);border-radius:6px;height:12px;margin:0 6px 0 0;width:12px}.name-metrics:before{background-image:url("data:image/svg+xml;utf8,<svg viewBox='0 0 12 12' xmlns='http://www.w3.org/2000/svg' width='12'><circle cx='12' cy='0' r='12' fill='%23008496' /></svg>");background-size:cover;height:12px;margin:0 2px 0 0;width:12px}.name-operations:before{border-top:12px solid var(--yellow-400);border-right:12px solid transparent}.name-support:before{background-color:var(--teal-700);height:12px;margin:0 6px 0 0;width:12px}.logo-footer .nsf-logo{height:40px}.logo-footer .divider{height:34px;margin:3px 11px 0 9px}.logo-footer .access-logo{margin-top:10px;height:21px;width:auto}@media (min-width: 900px){.nsf-logo{height:82px}.divider{height:70px;margin:6px 23px 0 20px}.access-logo{height:auto;margin-top:22px;width:253px}.name{font-size:30px}.name-allocations:before{border-bottom:20px solid var(--orange-400);border-left:20px solid transparent}.name-metrics:before{height:20px;margin:0 4px 0 0;width:20px}.name-operations:before{border-top:20px solid var(--yellow-400);border-right:20px solid transparent}.name-coordination-office:before{border-radius:9.5px;height:19px;width:19px}.name-support:before{height:19px;margin:0 7px 0 0;width:19px}}`,_r=`.menu{--icon-caret-down-dark: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23232323' viewBox='0 0 16 16'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>");--icon-caret-down-light: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>");--icon-caret-down-teal: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23107180' viewBox='0 0 16 16'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>")}.universal{--background: var(--teal-700);--border: rgba(19, 133, 151, .35)}.site{--background: var(--teal-600);--border: #157688}.site ul ul{--border: rgba(19, 133, 151, .35)}.menu ul,.menu li{list-style-type:none;margin:0;padding:0}.menu a{text-decoration:none}.item{background:transparent;border:0 none transparent;border-radius:0;box-sizing:border-box;cursor:pointer;display:block;text-align:left;width:100%}.item{font-size:14px;font-weight:600;line-height:21px;padding:13.5px var(--padding) 13.5px}.menu>ul>li>.item{font-weight:800}.item,.menu li:last-child li:last-child>.item{border-bottom:1px solid var(--border)}.menu li.highlight button,.menu li:last-child>.item,.menu>.collapsed{border-bottom:0 none transparent}.expanded{border-bottom-width:2px}.menu button{position:relative}.menu>button{font-weight:500;padding:13.5px var(--padding) 13.5px;text-transform:uppercase}.menu button:after{background-image:var(--icon-caret-down-light);background-repeat:no-repeat;background-size:18px;content:"";display:block;height:18px;right:calc(var(--padding) + var(--offset));position:absolute;top:15px;width:18px}.menu button.expanded:after{transform:rotate(180deg)}.menu .highlight button:after{background-image:var(--icon-caret-down-dark)}.menu button,.menu ul li{background-color:var(--background)}.menu button,.menu ul li a{color:var(--color)}.menu ul li li{background-color:#fff}.menu ul li li a{color:#138597}.icon>.item{background-position:calc(var(--padding) + var(--offset)) center;background-repeat:no-repeat;background-size:14px 14px;text-indent:-99999px}.icon-home>.item{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'><path d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5'/></svg>")}.icon-search>.item{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'><path d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001q.044.06.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1 1 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0'/></svg>")}.track .item{text-transform:uppercase;padding-top:4px;padding-bottom:4px}.track:first-child .item{padding-top:17px}.track.grow .item{padding-bottom:21px}.track .item{border-bottom:0 none transparent}.highlight button{background-color:var(--yellow-400);color:var(--contrast)}.footer{background-color:var(--teal-700);padding:50px var(--padding) 36px;color:#fff}.footer h2{font-size:14px;font-weight:600;margin:0 auto 20px;text-transform:uppercase;width:var(--width)}.columns{margin:0 auto;width:var(--width)}.column{padding-bottom:14px}.footer a,.footer a:visited{color:#fff;text-decoration:none}.footer a:active,.footer a:focus,.footer a:hover{color:var(--teal-100);text-decoration:underline}.footer h3{font-size:14px;font-weight:800;margin:0}.footer ul{margin:0;padding:0}.footer li{font-size:14px;font-weight:600;list-style-type:none;padding:14px 0 0}@media (min-width: 768px){.columns{display:flex;flex-direction:row;flex-wrap:wrap;padding:10px 0}.column{padding-bottom:40px;padding-right:20px;width:calc((var(--width) - 60px) / 4)}.column:nth-child(4),.column:last-child{padding-right:0}}@media (min-width: 1280px){.site{--background: white;--color: var(--teal-600);--outline: var(--teal-700);--padding: 20px;border-bottom:1px solid #d9d9d9;border-top:3px solid var(--teal-700)}.site>ul{justify-content:end}.menu>button{display:none}.menu>ul{display:flex;flex-direction:row;margin:0 auto;width:calc(var(--width) + (2 * var(--padding)))}.item,.track .item,.track:first-child .item,.track.grow .item{border-bottom:0 none transparent;padding-top:12px;padding-bottom:12px}.site .item{font-size:16px}.grow{flex:1 0 auto}.universal{background-color:var(--teal-700)}.universal>ul>li:first-child{margin-left:-10px}.universal>ul>li:last-child{margin-right:-10px}.universal li button{--padding: 20px}.icon>.item{background-position:center center;width:56px}.menu button:after,.menu button.expanded:after,.menu .highlight button:after,.menu .highlight button.expanded:after{display:inline-block;margin-left:5px;position:static;vertical-align:middle}.menu button:after{background-image:var(--icon-caret-down-teal)}.universal button:after{background-image:var(--icon-caret-down-light)}.menu button.expanded:after,.menu button.item:active:after,.menu button.item:focus:after,.menu button.item:hover:after{background-image:var(--icon-caret-down-light)}.menu>ul>li{display:flex;flex-direction:row;justify-content:start;position:relative}.menu>ul>li.grow>.item{flex:0 1 0}.menu>ul>li.active>.item,.menu>ul>li>.expanded,.menu>ul>li>.item:active,.menu>ul>li>.item:focus,.menu>ul>li>.item:hover{background-color:var(--teal-600);color:#fff;outline:0 none transparent}.menu>ul>li>.item:focus-visible{outline:3px solid var(--outline);outline-offset:-3px;z-index:1000}.menu>ul ul{background-color:var(--teal-600);padding:10px 0;position:absolute;right:0;top:48px;z-index:9999}.menu>ul ul li{background-color:var(--teal-600)}.menu>ul ul .item{color:#fff;white-space:nowrap;padding:5px 20px}.menu>ul ul .item:active,.menu>ul ul .item:focus,.menu>ul ul .item:hover{color:#cee8e9;outline:0 none transparent;text-decoration:underline}.menu>ul ul .item:focus-visible{outline:3px solid white;outline-offset:-3px;z-index:1000}.menu>ul>li>.item{line-height:24px}}@media (min-width: 1280px){.columns{flex-wrap:nowrap;padding:10px 0 0}.column{padding-bottom:72px;width:calc((var(--width) - 120px) / 7)}.column:nth-child(4){padding-right:20px}}`,Ph='@import"https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css";.glide{position:relative;width:100%;box-sizing:border-box}.glide *{box-sizing:inherit}.glide__track{overflow:hidden}.glide__slides{position:relative;width:100%;list-style:none;backface-visibility:hidden;transform-style:preserve-3d;touch-action:pan-Y;overflow:hidden;margin:0;padding:0;white-space:nowrap;display:flex;flex-wrap:nowrap;will-change:transform}.glide__slides--dragging{-webkit-user-select:none;user-select:none}.glide__slide{width:100%;height:100%;flex-shrink:0;white-space:normal;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}.glide__slide a{-webkit-user-select:none;user-select:none;-webkit-user-drag:none;-moz-user-select:none;-ms-user-select:none}.glide__arrows,.glide__bullets{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.glide--rtl{direction:rtl}.glide__arrow{position:absolute;display:block;top:50%;z-index:2;color:#fff;text-transform:uppercase;padding:9px 12px;background-color:transparent;border:2px solid rgba(255,255,255,.5);border-radius:4px;box-shadow:0 .25em .5em #0000001a;text-shadow:0 .25em .5em rgba(0,0,0,.1);opacity:1;cursor:pointer;transition:opacity .15s ease,border .3s ease-in-out;transform:translateY(-50%);line-height:1}.glide__arrow:focus{outline:none}.glide__arrow:hover{border-color:#fff}.glide__arrow--left{left:2em}.glide__arrow--right{right:2em}.glide__arrow--disabled{opacity:.33}.glide__bullets{position:absolute;z-index:2;bottom:2em;left:50%;display:inline-flex;list-style:none;transform:translate(-50%)}.glide__bullet{background-color:#ffffff80;width:9px;height:9px;padding:0;border-radius:50%;border:2px solid transparent;transition:all .3s ease-in-out;cursor:pointer;line-height:0;box-shadow:0 .25em .5em #0000001a;margin:0 .25em}.glide__bullet:focus{outline:none}.glide__bullet:hover,.glide__bullet:focus{border:2px solid #fff;background-color:#ffffff80}.glide__bullet--active{background-color:#fff}.glide--swipeable{cursor:grab;cursor:-moz-grab;cursor:-webkit-grab}.glide--dragging{cursor:grabbing;cursor:-moz-grabbing;cursor:-webkit-grabbing}.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}.accordion{margin:0 0 16px}.accordion-heading{margin:0}.accordion-heading button{background-color:var(--teal-050);border:0 none transparent;color:var(--teal-700);cursor:pointer;display:block;font-size:16px;font-weight:800;padding:16px 40px 16px 20px;position:relative;text-align:left;width:100%}.accordion-heading button .icon{position:absolute;right:20px;top:16px}.accordion-content{padding:16px 20px 0}.alert{align-items:center;background-color:var(--yellow-200);border-radius:10px;display:flex;flex-direction:row;margin-bottom:20px;padding:20px}.alert i{margin-right:20px}ul.breadcrumbs{--offset: calc((100vw - var(--width)) / 2);border-bottom:1px solid var(--contrast-7);box-sizing:border-box;font-size:14px;font-stretch:70%;font-weight:600;line-height:20px;list-style-type:none;margin:0;padding:0 30px;width:100vw}ul.breadcrumbs.top-border{border-top:1px solid var(--contrast-7)}ul.breadcrumbs.expand{margin-left:-30px;margin-right:-30px}ul.breadcrumbs li{display:inline-block;margin:0;padding:11px 0 6px;text-transform:uppercase;vertical-align:middle}ul.breadcrumbs li:not(.home):before{content:"/";margin:0 12px}ul.breadcrumbs li a{color:var(--teal-700);text-decoration:none}ul.breadcrumbs li:not(.home) a:active,ul.breadcrumbs li:not(.home) a:focus,ul.breadcrumbs li:not(.home) a:hover{text-decoration:underline}@media (min-width: 600px){ul.breadcrumbs{padding-left:var(--offset);padding-right:var(--offset)}ul.breadcrumbs.expand{margin-left:calc(var(--offset) * -1);margin-right:calc(var(--offset) * -1)}}.carousel{margin-bottom:1rem;width:var(--width)}.slide-inner{background-color:var(--contrast-9);display:flex;flex-direction:column}.slide-image img{display:block;width:100%}.slide-text{box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;padding:20px}.slide-text h2{font-size:16px;line-height:1.1;margin:0 0 .25rem}.slide-text a{font-size:14px;line-height:1.1}.slide-text p{font-size:14px;line-height:1.2;margin-bottom:.5rem}.glide__arrow{align-items:center;background-color:var(--contrast-3);border:0 none transparent;border-radius:15px;display:flex;justify-content:center;height:30px;padding:8px;width:30px}.glide__arrow:active,.glide__arrow:hover{background-color:var(--teal-700)}.glide__arrow svg{fill:#fff}.glide__arrow--left{margin-left:-66px}.glide__arrow--right{margin-right:-66px}@media (min-width: 768px){.slide-inner{flex-direction:row}.slide-image img{width:calc((var(--width) - 20px) / 2)}}@media (min-width: 1024px){.slide-image img{width:calc((var(--width) - 40px) / 3)}}@media (min-width: 1280px){.slide-text h2{font-size:18px}.slide-text a{font-size:16px}.slide-text p{font-size:16px;line-height:1.2;margin-bottom:.5rem}}.highlight{background-color:var(--yellow-200);padding:2px 0}.header-components{margin-bottom:2rem}.button-group .btn{display:block;margin:0 0 10px}.card{border:5px solid var(--contrast);padding:20px}@media (min-width: 768px){.flex-header{align-items:center;display:flex;justify-content:space-between}.header-components{margin-bottom:0}.button-group{display:flex}.button-group .btn{display:flex;margin:0 10px 0 0}}@media (min-width: 1024px){.cards{display:flex;flex-direction:row;flex-wrap:wrap;gap:20px}.card{flex:1 0 20%;margin:0}}.donut-chart svg path{cursor:pointer}.donut-chart .center-text{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;line-height:1.2}.donut-chart .center-text *{cursor:default;display:block;margin-bottom:.25rem;text-align:center}.donut-chart .center-text .percent{color:var(--contrast-2);font-size:.7rem}.donut-chart .top-items{list-style-type:none;margin:0;padding:0}.donut-chart .top-items li{align-items:center;display:flex;flex-direction:row;font-size:1rem;line-height:1.2;margin-bottom:5px}.donut-chart .symbol{border-radius:8px;display:inline-block;height:16px;margin-right:5px;vertical-align:text-top;width:16px}.expand-text{margin-bottom:1rem;position:relative}.expand-text.contracted{max-height:5.3rem;overflow:hidden}.expand-text button{background-color:#fff;border:0 none transparent;color:var(--teal-700);cursor:pointer;font-size:1rem;font-weight:700}.expand-text.contracted button{background:linear-gradient(to right,#fff0,#fff 50%,#fff);position:absolute;right:0;text-align:right;bottom:0;width:12rem}.grid{border-top:1px solid var(--contrast);max-width:100%;margin-bottom:1rem;overflow:scroll;position:relative}.grid table{border-collapse:separate;border-spacing:0;border-top:0 none transparent;margin-bottom:0;position:relative}.grid th{position:sticky;top:0;z-index:10}.grid th,.grid td{background-color:#fff}.grid th:last-child,.grid td:last-child{border-right:0 none transparent}.grid th.important,.grid td.important{background-color:#f8f9fa}.grid th.input,.grid td.input{background-color:var(--teal-200)}.grid .edited td,.grid .edited select{background-color:#faf1d7}.grid .edited td.important,.grid .edited select.important{background-color:#fbeeca}.grid .disabled td,.grid .disabled select{background-color:#ddd}.grid .disabled td.important,.grid .disabled select.important{background-color:#ccc}.grid tbody tr:last-child th,.grid tbody tr:last-child td{border-bottom:0 none transparent}.icon{height:1em;margin-right:5px;vertical-align:text-bottom}.info-tip{background-color:transparent;border:0 none transparent}.tippy-box[data-theme~=access]{background-color:var(--teal-700);border-radius:0;color:#fff;font-weight:400;padding:5px}.tippy-box[data-theme~=access][data-placement^=top]>.tippy-arrow:before{border-top-color:var(--teal-700)}.tippy-box[data-theme~=access][data-placement^=bottom]>.tippy-arrow:before{border-bottom-color:var(--teal-700)}.tippy-box[data-theme~=access][data-placement^=left]>.tippy-arrow:before{border-left-color:var(--teal-700)}.tippy-box[data-theme~=access][data-placement^=right]>.tippy-arrow:before{border-right-color:var(--teal-700)}.mini-bar{flex:0 0 auto;position:relative;width:100px}.mini-bar .bar{background-color:#ddd;height:1em}.filters-outer{float:right;position:relative}.filters-inner{background-color:#fff;border:4px solid var(--contrast);padding:20px;position:absolute;right:0;top:41px;width:calc(var(--width) * .4)}.filters-inner h2{font-size:16px;margin:0 0 1rem}.filters-inner ul.tags{margin-bottom:1rem}.btn-filters{position:relative}.btn-filters .active-tag-count{background-color:var(--orange-400);border-radius:10px;color:#fff;display:block;font-size:12px;height:20px;line-height:20px;top:-10px;position:absolute;text-align:center;right:-10px;width:20px}.btn-filters.active{z-index:100}.btn-filters.active:after{background-color:#fff;bottom:-4px;content:"";display:block;height:4px;left:0;position:absolute;width:100%}.event:not(:last-child){margin-bottom:1.5rem}.event-icon,.event-icon:active,.event-icon:focus,.event-icon:hover{align-items:center;background-color:var(--teal-700);color:#fff;display:none;flex:0 0 auto;flex-direction:column;font-weight:800;justify-content:center;height:calc((var(--width) - 140px) / 8);text-decoration:none;width:calc((var(--width) - 140px) / 8)}.event-icon span{display:block}.event-icon span:nth-child(2){font-size:2rem}.event-metadata{margin-bottom:1rem}.event-metadata i:not(:first-child){margin-left:1rem}@media (min-width: 768px){.event{display:flex;flex-direction:row}.event-icon,.event-icon:active,.event-icon:focus,.event-icon:hover{display:flex;margin-right:20px}.event h3{margin-top:0}}@media (min-width: 900px){.event-icon span:nth-child(2){font-size:3rem}}.carousel-projects .glide__slide{font-size:16px}.carousel-projects h3{margin:0 0 .25rem}.carousel-projects .project-metadata{margin-bottom:.5rem}.carousel-projects .project-meta{display:inline-block;font-weight:700;line-height:1.1;margin-right:1rem;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.carousel-projects .project-meta .bi{vertical-align:middle}.metrics-overview strong{background-color:var(--yellow-200);font-size:1.2rem;padding:2px;white-space:nowrap}.metrics-overview .bi{vertical-align:middle}.metrics-overview .btn{font-size:1rem}.metrics-disclaimer{font-size:.9rem;line-height:1.2;margin:.5rem 0}.metrics-disclaimer .bi{vertical-align:middle}.resource-group{align-items:flex-start;clear:both;display:flex;flex-direction:column;margin-bottom:20px}.resource-group-image{--image-width: 100%;align-items:center;background-color:var(--contrast-9);border:1px solid var(--contrast);color:var(--contrast-8);display:flex;flex:0 0 auto;flex-direction:column;font-size:5rem;justify-content:center;margin:20px 0;min-height:calc(var(--image-width) / 3 * 2);position:relative;width:var(--image-width)}.resource-group-image:active,.resource-group-image:focus,.resource-group-image:hover{color:var(--contrast-8)}.resource-group-image>img{display:block;width:100%}.image-type-logo{display:flex;flex-direction:column;justify-content:center;min-height:120px}.image-type-logo>*{margin:10px;width:calc(100% - 20px)}.resource-group-text *:first-child{margin-top:0}.resource-group-detail{margin-bottom:70px;width:var(--width)}.resource-group-feature-image{margin-top:60px;width:100%}.resource-group-description:after{clear:both;content:"";display:block}@media (min-width: 768px){.resource-group{flex-direction:row;margin-bottom:40px}.resource-group-image{--image-width: calc((var(--width) - 140px) / 4 + 20px);margin:0 20px 0 0}}@media (min-width: 900px){.resource-group-feature-image{float:right;margin:0 0 0 20px;width:calc(((var(--width) - 140px) / 8) * 3 + 40px)}}#resource-navigation{display:flex;flex-direction:column;gap:10px}@media (min-width: 1024px){#resource-navigation{flex-direction:row;gap:20px}}#resource-news{background-color:var(--teal-100);padding:20px}#resource-news h2{font-size:1.2rem;font-weight:200;margin:0 0 .5rem}#resource-news ul{list-style-type:none;margin:0;padding:0}#resource-news li{font-size:1rem;line-height:1.3;margin:0 0 .5rem;padding:0}@media (min-width: 1024px){#resource-news{box-sizing:border-box;width:calc((var(--width) - 60px) / 4)}}ul.resource-pathways{display:flex;flex-direction:column;gap:10px;list-style-type:none;margin:0;padding:0;width:100%}ul.resource-pathways li{margin:0;width:100%}ul.resource-pathways li a{align-items:flex-start;border:5px solid transparent;box-sizing:border-box;display:flex;height:100%;flex-direction:row;justify-content:flex-start;line-height:1.3;padding:20px;text-decoration:none}ul.resource-pathways a>.bi{font-size:2rem;margin-bottom:1rem}ul.resource-pathways li a>.detail{display:flex;flex-direction:column;margin-left:20px}ul.resource-pathways .title{font-size:1.2rem}ul.resource-pathways .description{font-size:1rem;font-weight:400}ul.resource-pathways .login{font-size:.9rem;font-style:italic;font-weight:400;margin-top:.25rem}ul.resource-pathways .login .bi{vertical-align:middle}.resource-pathway-0{background-color:var(--yellow-400)}.resource-pathway-1{background-color:var(--teal-600)}.resource-pathway-1 a{color:#fff}.resource-pathway-2{background-color:var(--orange-400)}.resource-pathway-3{background-color:var(--teal-200)}ul.resource-pathways li a:active,ul.resource-pathways li a:focus,ul.resource-pathways li a:hover{background-color:#fff;border:5px solid var(--contrast);color:var(--contrast)}@media (min-width: 1024px){ul.resource-pathways{flex-direction:row;gap:20px}ul.resource-pathways li{box-sizing:border-box;width:calc((var(--width) - 60px) / 4)}ul.resource-pathways li a{flex-direction:column}ul.resource-pathways li a>.detail{margin-left:0}}.scroll-text{position:relative}.scroll-text:after{background-color:red;background:linear-gradient(to bottom,#fff0,#fff 50%,#fff);bottom:0;content:"";display:block;height:2rem;left:0;position:absolute;width:100%;z-index:99999}.scroll-text-inner{padding-bottom:2rem;overflow-y:scroll}.search{position:relative}.search input{padding-right:35px}.search .btn-clear{position:absolute;right:-5px;top:-6px}.section-navigation{border-bottom:1px solid var(--contrast-8);border-top:1px solid var(--contrast-8);display:flex;flex-direction:row;margin:20px 0}.section-navigation h2{flex:0 0 auto;font-size:1rem;font-weight:400;margin:20px 0}.section-navigation ul{display:flex;flex-direction:row;flex-wrap:wrap;margin:0;padding:10px 0}.section-navigation li{line-height:1;list-style-type:none;flex:0 0 auto;font-size:1rem;margin:10px 0 10px 20px;padding:0}ul.tags{margin:0;padding:0}li.tag{display:inline-block;list-style-type:none;margin:0 5px 5px 0;max-width:100%}.tag button{background-color:var(--teal-100);border:1px solid var(--teal-400);border-radius:8px;color:var(--contrast);cursor:pointer;display:inline-block;font-size:16px;font-weight:500;line-height:18px;max-width:100%;overflow:hidden;padding:3px 7px;text-align:left;text-decoration:none;text-overflow:ellipsis;text-wrap:nowrap}.tag button:hover{background-color:var(--teal-200);color:var(--contrast)}.tag button:disabled{background-color:var(--contrast-9);border-color:var(--contrast-6);color:var(--contrast-3)}.tag.active button{border-color:var(--orange-400);background-color:var(--orange-200)}',Bh=".toc{background-color:var(--teal-600);color:#fff;padding:20px;position:sticky;top:50px}h2{font-size:16px;font-weight:800;margin:0 0 16px}ul{margin:0;padding:0 0 0 20px}li{line-height:1.125;list-style-type:none;margin:0;padding:9px 0}a{color:#fff;font-size:16px;font-weight:600;text-decoration:underline;text-decoration-color:transparent}a :active,a:focus,a:hover{color:var(--teal-100);text-decoration-color:var(--teal-100)}@media (min-width: 768px){a.active{color:var(--teal-100)}}@media (min-width: 900px){.toc{padding:32px}}",kh='body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;margin:0}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.rcb-toggle-button.rcb-button-show{background-color:#1a5b6e;background-position:50%;background-repeat:no-repeat;background-size:72%}.rcb-chat-window{max-width:100%;width:550px!important}.rcb-chat-window .rcb-bot-avatar{background-position:50%;background-repeat:no-repeat;background-size:contain;border-radius:0}.rcb-chat-window .rcb-chat-header{align-items:center;display:flex;flex-direction:row;font-weight:700}.rcb-chat-window a{color:#000;font-weight:700;text-decoration:underline}.rcb-chat-window a:hover{color:#107180}.rcb-chat-window .rcb-bot-message a{color:#fff;text-decoration:none}.rcb-chat-window .rcb-bot-message a:hover{text-decoration:underline}.rcb-chat-window .rcb-chat-input-textarea{overflow-y:auto}.rcb-chat-window .rcb-chat-footer-container{font-size:10px}.embedded-qa-bot .rcb-chat-window{max-width:100%;width:100%!important}.rcb-chat-header-container{border-bottom:1px solid #ccc;color:#fff;display:flex;justify-content:space-between;max-height:55px;padding:12px}.rcb-chat-header{display:flex;flex-direction:row}.rcb-bot-avatar{background-size:cover;border-radius:50%;height:30px;margin-right:12px;width:30px}.rcb-message-prompt-container.visible{align-items:center;animation:rcb-animation-pop-in .3s ease-in-out;bottom:0;display:flex;justify-content:center;margin:auto;opacity:1;pointer-events:auto;position:-webkit-sticky;position:sticky}.rcb-message-prompt-container.hidden{height:0;opacity:0;pointer-events:none;visibility:hidden}.rcb-message-prompt-text{background-color:#fff;border:.5px solid #adadad;border-radius:20px;color:#adadad;cursor:pointer;font-size:12px;padding:6px 12px;transition:color .3s ease,border-color .3s ease;z-index:9999}.rcb-message-prompt-container.hidden .rcb-message-prompt-text{padding:0}.rcb-user-message-container{display:flex;flex-direction:row;justify-content:right}.rcb-user-message{border-radius:22px;font-size:15px;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;margin-right:16px;margin-top:8px;min-height:20px;overflow:hidden;overflow-wrap:anywhere;padding:12px 16px;text-align:right;white-space:pre-wrap;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.rcb-user-message-offset{margin-right:50px}.rcb-user-message-entry{animation:rcb-animation-user-message-entry .3s ease-in backwards}.rcb-message-user-avatar{background-size:cover;border-radius:50%;height:40px;margin-left:-10px;margin-right:6px;margin-top:9px;width:40px}.rcb-bot-message-container{display:flex;flex-direction:row}.rcb-bot-message{border-radius:22px;font-size:15px;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;margin-left:16px;margin-top:8px;min-height:20px;overflow:hidden;overflow-wrap:anywhere;padding:12px 16px;text-align:left;white-space:pre-wrap;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.rcb-bot-message-offset{margin-left:50px}.rcb-bot-message-entry{animation:rcb-animation-bot-message-entry .3s ease-in backwards}.rcb-message-bot-avatar{background-size:cover;border-radius:50%;height:40px;margin-left:6px;margin-right:-10px;margin-top:9px;width:40px}.rcb-typing-indicator{align-items:center;display:flex}.rcb-dot{animation:rcb-animation-bot-typing 1s infinite;background-color:#ccc;border-radius:50%;height:8px;margin-right:4px;width:8px}.rcb-dot:nth-child(2){animation-delay:.2s}.rcb-dot:nth-child(3){animation-delay:.4s}.rcb-chat-body-container{height:100%;overflow-x:hidden;overflow-y:scroll;padding-bottom:16px;position:relative;touch-action:pan-y;width:100%}.rcb-chat-body-container::-webkit-scrollbar-track{background-color:#f1f1f1}.rcb-chat-body-container::-webkit-scrollbar-thumb{background-color:#ddd;border-radius:4px}.rcb-chat-body-container::-webkit-scrollbar-thumb:hover{background-color:#cfcfcf}.rcb-chat-body-container::-webkit-scrollbar-corner{background-color:#f1f1f1}.rcb-checkbox-container{display:flex;flex-wrap:wrap;gap:10px;margin-left:16px;padding-top:12px}.rcb-checkbox-offset{margin-left:50px!important}.rcb-checkbox-row-container{align-items:center;animation:rcb-animations-checkboxes-entry .5s ease-out;background-color:#fff;border-radius:10px;border-style:solid;border-width:.5px;cursor:pointer;display:flex;gap:5px;max-height:32px;min-height:30px;overflow:hidden;width:80%}.rcb-checkbox-row-container:hover{box-shadow:0 0 5px #0003}.rcb-checkbox-row{align-items:center;cursor:pointer;display:inline-flex;margin-left:10px}.rcb-checkbox-mark{align-items:center;background-color:#f2f2f2;border:none;border-radius:50%;cursor:pointer;display:flex;height:20px;justify-content:center;margin-right:10px;transition:all .3s ease;width:20px}.rcb-checkbox-mark:hover{background-color:#c2c2c2}.rcb-checkbox-mark:before{content:"✓";transition:all .3s ease}.rcb-checkbox-label{font-size:14px}.rcb-checkbox-next-button{align-items:center;animation:rcb-animations-checkboxes-entry .5s ease-out;background-color:#fff;border-radius:10px;border-style:solid;border-width:.5px;cursor:pointer;display:inline-block;font-size:24px;max-height:32px;min-height:30px;text-align:center;width:80%}.rcb-checkbox-next-button:before{content:"→"}.rcb-checkbox-next-button:hover{box-shadow:0 0 5px #0003}.rcb-options-container{display:flex;flex-wrap:wrap;gap:10px;margin-left:16px;max-width:70%;padding-top:12px}.rcb-options-offset{margin-left:50px!important}.rcb-options{align-items:center;animation:rcb-animation-options-entry .5s ease-out;border-radius:20px;border-style:solid;border-width:.5px;cursor:pointer;display:inline-flex;font-size:14px;justify-content:center;overflow:hidden;padding:10px 20px;transition:background-color .3s ease}.rcb-options:hover{box-shadow:0 0 5px #0003}.rcb-line-break-container{align-items:center;display:flex;justify-content:center;max-height:45px;padding-bottom:5px;padding-top:10px}.rcb-line-break-text{color:#adadad;font-size:12px;padding:6px 12px}.rcb-spinner-container{align-items:center;display:flex;justify-content:center;max-height:45px;min-height:35px;padding-bottom:5px;padding-top:10px}.rcb-spinner{animation:rcb-animation-spin 1s linear infinite;border:4px solid #f3f3f3;border-radius:50%;height:22px;width:22px}.rcb-chat-input{align-items:center;background-color:#fff;border-top:1px solid #ccc;display:flex;padding:8px 16px}.rcb-chat-input::placeholder{color:#999}.rcb-chat-input-textarea{background-color:#fff;border:none;border-radius:4px;color:#000;flex:1 1;font-family:inherit;font-size:16px;height:auto;min-height:38px;outline:none;overflow-y:scroll;padding:8px;resize:none;touch-action:none}.rcb-chat-input-textarea::-webkit-scrollbar,.rcb-chat-input-textarea::-webkit-scrollbar-thumb{background-color:initial}.rcb-chat-input-textarea::-webkit-scrollbar-thumb:hover{background-color:initial}.rcb-chat-input-char-counter{font-size:14px;margin-left:8px;margin-top:3px}.rcb-chat-footer-container{align-items:flex-end;background-color:#f2f2f2;border-top:1px solid #ccc;color:#000;display:flex;font-size:12px;justify-content:space-between;max-height:55px;padding:12px 16px 8px 10px}.rcb-chat-footer,.rcb-toggle-button{display:flex;flex-direction:row}.rcb-toggle-button{border:none;border-radius:50%;bottom:20px;box-shadow:0 2px 4px #0003;cursor:pointer;height:75px;position:fixed;right:20px;width:75px;z-index:9999}.rcb-toggle-button.rcb-button-hide{animation:rcb-animation-collapse .3s ease-in-out forwards;opacity:0;visibility:hidden}.rcb-toggle-button.rcb-button-show{animation:rcb-animation-expand .3s ease-in-out forwards;opacity:1;visibility:visible}.rcb-toggle-icon{background-position:50%;background-repeat:no-repeat;background-size:cover;border-radius:inherit;height:100%;margin:auto;width:100%}.rcb-badge,.rcb-toggle-icon{align-items:center;display:flex;justify-content:center}.rcb-badge{background-color:red;border-radius:50%;color:#fff;height:25px;position:absolute;right:-6px;top:-6px;width:25px}.rcb-chat-tooltip{border-radius:20px;box-shadow:0 2px 6px #0003;cursor:pointer;font-size:20px;padding:16px;position:fixed;transition:transform .3s ease;white-space:nowrap;z-index:9999}.rcb-chat-tooltip-tail{border-style:solid;border-width:10px 0 10px 10px;content:"";margin-top:-10px;position:absolute;right:-10px;top:50%}.rcb-chat-tooltip.rcb-tooltip-hide{animation:rcb-animation-tooltip-out .5s ease-in-out;opacity:0;visibility:hidden}.rcb-chat-tooltip.rcb-tooltip-show{animation:rcb-animation-tooltip-in .5s ease-in-out;opacity:1;visibility:visible}.rcb-toast-prompt{animation:rcb-animation-pop-in .3s ease-in-out;background-color:#fff;border:.5px solid #7a7a7a;border-radius:5px;color:#7a7a7a;cursor:pointer;font-size:12px;margin-top:6px;padding:6px 12px;text-align:center;transition:color .3s ease,border-color .3s ease;width:100%;z-index:9999}.rcb-toast-prompt-container{align-items:center;animation:popIn .3s ease-in-out;bottom:0;display:flex;flex-direction:column;justify-content:flex-end;left:50%;margin:200 auto auto;opacity:1;pointer-events:auto;position:absolute;transform:translate(-50%)}.rcb-media-display-image-container,.rcb-media-display-video-container{border-radius:22px;margin-right:16px;margin-top:8px;padding:16px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.rcb-media-display-offset{margin-right:50px!important}.rcb-media-display-image{border-radius:22px;height:auto;object-fit:cover;width:100%}.rcb-media-display-video{background-color:#000;border-radius:22px;height:auto;width:100%}.rcb-media-display-audio{border-radius:22px;height:auto;margin-right:16px;margin-top:8px;width:100%}.rcb-media-entry{animation:rcb-animation-user-message-entry .3s ease-in backwards}.rcb-attach-button-disabled,.rcb-attach-button-enabled{background-size:cover;border-radius:6px;display:inline-block;height:30px;position:relative;text-align:center;width:30px}.rcb-attach-button-disabled input[type=file],.rcb-attach-button-enabled input[type=file]{display:none;height:100%;position:absolute;width:100%}.rcb-attach-button-enabled{cursor:pointer}.rcb-attach-button-disabled{opacity:.5}.rcb-attach-button-enabled:after{background-color:#0000001a;border-radius:50%;content:"";height:0;left:50%;opacity:0;position:absolute;top:50%;transform:translate(-50%,-50%);transition:width .2s ease-out,height .2s ease-out,opacity .2s ease-out;width:0}.rcb-attach-button-enabled:hover:after{height:130%;opacity:1;width:130%}.rcb-attach-icon-disabled,.rcb-attach-icon-enabled{background-repeat:no-repeat;background-size:cover;display:inline-block;height:24px;margin-top:2px;transition:background-image .3s ease;width:24px}.rcb-attach-icon-enabled{cursor:pointer}.rcb-emoji-button-disabled,.rcb-emoji-button-enabled{background-size:cover;border-radius:6px;cursor:pointer;display:inline-block;height:30px;position:relative;text-align:center;width:30px}.rcb-emoji-icon-disabled,.rcb-emoji-icon-enabled{background-repeat:no-repeat;background-size:cover;display:inline-block;font-size:20px;height:24px;margin-top:2px;position:relative;width:24px}.rcb-emoji-icon-enabled{cursor:pointer}.rcb-emoji-icon-disabled{opacity:.5}.rcb-emoji-button-enabled:after{background-color:#0000001a;border-radius:50%;content:"";height:0;left:50%;opacity:0;position:absolute;top:50%;transform:translate(-50%,-50%);transition:width .2s ease-out,height .2s ease-out,opacity .2s ease-out;width:0}.rcb-emoji-button-enabled:hover:after{height:130%;opacity:1;width:130%}.rcb-emoji-button-popup{background-color:#fff;border:1px solid #ccc;border-radius:4px;box-shadow:0 2px 4px #0003;max-height:200px;overflow-y:auto;padding:8px;position:absolute;transform:translateY(calc(-100% - 30px));width:158px}.rcb-emoji{cursor:pointer;font-size:24px;padding:3px;transition:transform .2s ease-in-out}.rcb-emoji:hover{transform:scale(1.2)}.rcb-audio-icon{background-size:cover;border:none;cursor:pointer;display:inline-block;height:30px;margin-left:5px;position:relative;width:30px}.rcb-audio-icon:after{background-color:#0000001a;border-radius:50%;content:"";height:0;left:50%;opacity:0;position:absolute;top:50%;transform:translate(-50%,-50%);transition:width .2s ease-out,height .2s ease-out,opacity .2s ease-out;width:0}.rcb-audio-icon:hover:after{height:130%;opacity:1;width:130%}.rcb-close-chat-icon{background-size:cover;border:none;cursor:pointer;display:inline-block;height:30px;margin-left:5px;position:relative;width:30px}.rcb-close-chat-icon:after{background-color:#0000001a;border-radius:50%;content:"";height:0;left:50%;opacity:0;position:absolute;top:50%;transform:translate(-50%,-50%);transition:width .2s ease-out,height .2s ease-out,opacity .2s ease-out;width:0}.rcb-close-chat-icon:hover:after{height:130%;opacity:1;width:130%}.rcb-notification-icon{background-size:cover;border:none;cursor:pointer;display:inline-block;height:30px;margin-left:5px;position:relative;width:30px}.rcb-notification-icon:after{background-color:#0000001a;border-radius:50%;content:"";height:0;left:50%;opacity:0;position:absolute;top:50%;transform:translate(-50%,-50%);transition:width .2s ease-out,height .2s ease-out,opacity .2s ease-out;width:0}.rcb-notification-icon:hover:after{height:130%;opacity:1;width:130%}.rcb-voice-button-disabled,.rcb-voice-button-enabled{align-items:center;background-color:#fff;border-radius:4px;box-shadow:0 0 3px #0000004d;cursor:pointer;display:inline-flex;height:32px;justify-content:center;margin-left:8px;text-transform:uppercase;transition:all .3s ease;width:32px}.rcb-voice-button-enabled{border:1px solid red;box-shadow:0 0 3px #ff000080}.rcb-voice-button-enabled:hover{border:1px solid #3d0000}.rcb-voice-button-disabled{border:1px;border-color:#0003;border-style:solid}.rcb-voice-button-disabled:hover{box-shadow:0 0 3px #8a0000}.rcb-voice-icon{background-position:50%;background-repeat:no-repeat;background-size:cover;background-size:contain;height:60%;object-fit:cover;width:60%}.rcb-voice-icon.on{animation:rcb-animation-ping 1s infinite}.rcb-send-button{border:none;border-radius:4px;box-shadow:0 0 3px #0000004d;cursor:pointer;display:inline-flex;height:32px;justify-content:center;margin-left:8px;text-transform:uppercase;transition:background-color .3s ease;width:51px}.rcb-send-icon{background-position:50%;background-repeat:no-repeat;background-size:cover;background-size:contain;height:50%;object-fit:cover;transform:translateY(20%);width:50%}.rcb-view-history-container{align-items:center;display:flex;justify-content:center;max-height:45px;min-height:35px;padding-bottom:5px;padding-top:10px}.rcb-view-history-button{align-items:center;background-color:#fff;border:.5px solid #adadad;border-radius:20px;color:#adadad;cursor:pointer;display:inline-flex;font-size:12px;justify-content:center;max-width:60%;padding:6px 12px;transition:color .3s ease,border-color .3s ease}.rcb-view-history-button>p{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rcb-chatbot-global{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;line-height:1.5;z-index:9999}.rcb-chat-window{background-color:#fff;border-radius:10px;bottom:20px;box-shadow:0 2px 4px #0003;display:flex;flex-direction:column;height:550px;overflow:hidden;position:fixed;right:20px;transition:all .3s ease;width:375px}.rcb-window-embedded .rcb-chat-window{bottom:auto;opacity:1;position:relative;right:auto;visibility:visible}.rcb-window-open .rcb-chat-window{animation:rcb-animation-expand .3s ease-in-out forwards;opacity:1;visibility:visible}.rcb-window-close .rcb-chat-window{animation:rcb-animation-collapse .3s ease-in-out forwards;opacity:0;visibility:hidden}@keyframes rcb-animation-expand{0%{opacity:0;transform:translate(100%,100%) scale(0)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes rcb-animation-collapse{0%{opacity:1;transform:translate(0) scale(1)}to{opacity:0;transform:translate(100%,100%) scale(0)}}@keyframes rcb-animation-ping{0%{filter:brightness(100%);opacity:1}50%{filter:brightness(50%);opacity:.8}}@keyframes rcb-animation-bot-message-entry{0%{opacity:0;transform:translate(-100%,50%) scale(0)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes rcb-animation-user-message-entry{0%{opacity:0;transform:translate(100%,50%) scale(0)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes rcb-animation-bot-typing{0%{opacity:.4}50%{opacity:1}to{opacity:.4}}@keyframes rcb-animation-pop-in{0%{opacity:0;transform:scale(.8)}70%{opacity:1;transform:scale(1.1)}to{transform:scale(1)}}@keyframes rcb-animations-checkboxes-entry{0%{opacity:0;transform:translate(-100%)}to{opacity:1;transform:translate(0)}}@keyframes rcb-animation-options-entry{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes rcb-animation-tooltip-in{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}@keyframes rcb-animation-tooltip-out{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-5px)}}@keyframes rcb-animation-spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}',Dh=(e={})=>{Ee(f(ur,{...e}),e.target,[Se,wh])},Ch=(e={})=>{Ee(f(hh,{...e}),e.target,[Se,xh,Ja])},Eh=(e={})=>{Ee(f(fh,{...e}),e.target,[Se,Ja,_h])},Sh=({isLoggedIn:e,target:t,...n}={})=>{e===void 0&&(e=document.cookie.split("; ").includes("SESSaccesscisso=1")),Ee(f(nh,{isLoggedIn:e,target:t,...n}),t,[Se,kh])},Mh=({items:e,isLoggedIn:t,loginUrl:n,logoutUrl:i,siteName:o,target:r}={})=>{if(t===void 0&&(t=document.cookie.split("; ").includes("SESSaccesscisso=1")),e===void 0){const s={...t?Na:ja};s.items=s.items.map(c=>({...c,href:c.name=="Login"&&n||c.name=="Log out"&&i||c.href})),e=[...za,s];let a=e.find(c=>(c.href||"").replace(/\/$/,"")==document.location.href.replace(/\/$/,""));o&&!a&&(a=e.find(c=>c.name==o)),a&&(a.classes+=" active")}Ee(f(Ga,{classes:"universal",items:e,name:"ACCESS Menu",target:r}),r,[Se,_r])},Th=({items:e,siteName:t,target:n})=>Ee(f(Ga,{classes:"site",items:e,name:`${t} Menu`,target:n}),n,[Se,_r]),Ih=({items:e,siteName:t,target:n})=>Ee(f(ph,{items:e,siteName:t}),n,[Se,_r]),Oh=({headings:e=[],target:t})=>Ee(f(vh,{headings:e}),t,[Se,Bh]),Qh=({baseUri:e,showTitle:t,target:n,title:i})=>Ee(f(bh,{baseUri:e,showTitle:t,title:i}),n,[Se,yh,Ph]);var Za=/[\s\n\\/='"\0<>]/,$a=/^(xlink|xmlns|xml)([A-Z])/,Lh=/^accessK|^auto[A-Z]|^cell|^ch|^col|cont|cross|dateT|encT|form[A-Z]|frame|hrefL|inputM|maxL|minL|noV|playsI|popoverT|readO|rowS|src[A-Z]|tabI|useM|item[A-Z]/,Rh=/^ac|^ali|arabic|basel|cap|clipPath$|clipRule$|color|dominant|enable|fill|flood|font|glyph[^R]|horiz|image|letter|lighting|marker[^WUH]|overline|panose|pointe|paint|rendering|shape|stop|strikethrough|stroke|text[^L]|transform|underline|unicode|units|^v[^i]|^w|^xH/,Hh=new Set(["draggable","spellcheck"]),Fh=/["&<]/;function Ui(e){if(e.length===0||Fh.test(e)===!1)return e;for(var t=0,n=0,i="",o="";n<e.length;n++){switch(e.charCodeAt(n)){case 34:o=""";break;case 38:o="&";break;case 60:o="<";break;default:continue}n!==t&&(i+=e.slice(t,n)),i+=o,t=n+1}return n!==t&&(i+=e.slice(t,n)),i}var tc={},zh=new Set(["animation-iteration-count","border-image-outset","border-image-slice","border-image-width","box-flex","box-flex-group","box-ordinal-group","column-count","fill-opacity","flex","flex-grow","flex-negative","flex-order","flex-positive","flex-shrink","flood-opacity","font-weight","grid-column","grid-row","line-clamp","line-height","opacity","order","orphans","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","widows","z-index","zoom"]),Nh=/[A-Z]/g;function jh(e){var t="";for(var n in e){var i=e[n];if(i!=null&&i!==""){var o=n[0]=="-"?n:tc[n]||(tc[n]=n.replace(Nh,"-$&").toLowerCase()),r=";";typeof i!="number"||o.startsWith("--")||zh.has(o)||(r="px;"),t=t+o+":"+i+r}}return t||void 0}function ec(){this.__d=!0}function Uh(e,t){return{__v:e,context:t,props:e.props,setState:ec,forceUpdate:ec,__d:!0,__h:new Array(0)}}var Pr,sn,ti,ei,Br={},nc=[],ni=Array.isArray,kr=Object.assign,Rt="";function ic(e,t,n){var i=L.__s;L.__s=!0,Pr=L.__b,sn=L.diffed,ti=L.__r,ei=L.unmount;var o=Y(N,null);o.__k=[e];try{var r=Ue(e,t||Br,!1,void 0,o,!1,n);return ni(r)?r.join(Rt):r}catch(s){throw s.then?new Error('Use "renderToStringAsync" for suspenseful rendering.'):s}finally{L.__c&&L.__c(e,nc),L.__s=i,nc.length=0}}function oc(e,t){var n,i=e.type,o=!0;return e.__c?(o=!1,(n=e.__c).state=n.__s):n=new i(e.props,t),e.__c=n,n.__v=e,n.props=e.props,n.context=t,n.__d=!0,n.state==null&&(n.state=Br),n.__s==null&&(n.__s=n.state),i.getDerivedStateFromProps?n.state=kr({},n.state,i.getDerivedStateFromProps(n.props,n.state)):o&&n.componentWillMount?(n.componentWillMount(),n.state=n.__s!==n.state?n.__s:n.state):!o&&n.componentWillUpdate&&n.componentWillUpdate(),ti&&ti(e),n.render(n.props,n.state,t)}function Ue(e,t,n,i,o,r,s){if(e==null||e===!0||e===!1||e===Rt)return Rt;var a=typeof e;if(a!="object")return a=="function"?Rt:a=="string"?Ui(e):e+Rt;if(ni(e)){var c,l=Rt;o.__k=e;for(var A=0;A<e.length;A++){var d=e[A];if(d!=null&&typeof d!="boolean"){var u,h=Ue(d,t,n,i,o,r,s);typeof h=="string"?l+=h:(c||(c=[]),l&&c.push(l),l=Rt,ni(h)?(u=c).push.apply(u,h):c.push(h))}}return c?(l&&c.push(l),c):l}if(e.constructor!==void 0)return Rt;e.__=o,Pr&&Pr(e);var p=e.type,g=e.props;if(typeof p=="function"){var b,v,w,_=t;if(p===N){if("tpl"in g){for(var m=Rt,y=0;y<g.tpl.length;y++)if(m+=g.tpl[y],g.exprs&&y<g.exprs.length){var x=g.exprs[y];if(x==null)continue;typeof x!="object"||x.constructor!==void 0&&!ni(x)?m+=x:m+=Ue(x,t,n,i,e,r,s)}return m}if("UNSTABLE_comment"in g)return"<!--"+Ui(g.UNSTABLE_comment)+"-->";v=g.children}else{if((b=p.contextType)!=null){var P=t[b.__c];_=P?P.props.value:b.__}var C=p.prototype&&typeof p.prototype.render=="function";if(C)v=oc(e,_),w=e.__c;else{e.__c=w=Uh(e,_);for(var B=0;w.__d&&B++<25;)w.__d=!1,ti&&ti(e),v=p.call(w,g,_);w.__d=!0}if(w.getChildContext!=null&&(t=kr({},t,w.getChildContext())),C&&L.errorBoundaries&&(p.getDerivedStateFromError||w.componentDidCatch)){v=v!=null&&v.type===N&&v.key==null&&v.props.tpl==null?v.props.children:v;try{return Ue(v,t,n,i,e,r,s)}catch(j){return p.getDerivedStateFromError&&(w.__s=p.getDerivedStateFromError(j)),w.componentDidCatch&&w.componentDidCatch(j,Br),w.__d?(v=oc(e,t),(w=e.__c).getChildContext!=null&&(t=kr({},t,w.getChildContext())),Ue(v=v!=null&&v.type===N&&v.key==null&&v.props.tpl==null?v.props.children:v,t,n,i,e,r,s)):Rt}finally{sn&&sn(e),e.__=null,ei&&ei(e)}}}v=v!=null&&v.type===N&&v.key==null&&v.props.tpl==null?v.props.children:v;try{var D=Ue(v,t,n,i,e,r,s);return sn&&sn(e),e.__=null,L.unmount&&L.unmount(e),D}catch(j){if(s&&s.onError){var E=s.onError(j,e,function($){return Ue($,t,n,i,e,r,s)});if(E!==void 0)return E;var S=L.__e;return S&&S(j,e),Rt}throw j}}var I,O="<"+p,M=Rt;for(var T in g){var Q=g[T];if(typeof Q!="function"||T==="class"||T==="className"){switch(T){case"children":I=Q;continue;case"key":case"ref":case"__self":case"__source":continue;case"htmlFor":if("for"in g)continue;T="for";break;case"className":if("class"in g)continue;T="class";break;case"defaultChecked":T="checked";break;case"defaultSelected":T="selected";break;case"defaultValue":case"value":switch(T="value",p){case"textarea":I=Q;continue;case"select":i=Q;continue;case"option":i!=Q||"selected"in g||(O+=" selected")}break;case"dangerouslySetInnerHTML":M=Q&&Q.__html;continue;case"style":typeof Q=="object"&&(Q=jh(Q));break;case"acceptCharset":T="accept-charset";break;case"httpEquiv":T="http-equiv";break;default:if($a.test(T))T=T.replace($a,"$1:$2").toLowerCase();else{if(Za.test(T))continue;T[4]!=="-"&&!Hh.has(T)||Q==null?n?Rh.test(T)&&(T=T==="panose1"?"panose-1":T.replace(/([A-Z])/g,"-$1").toLowerCase()):Lh.test(T)&&(T=T.toLowerCase()):Q+=Rt}}Q!=null&&Q!==!1&&(O=Q===!0||Q===Rt?O+" "+T:O+" "+T+'="'+(typeof Q=="string"?Ui(Q):Q+Rt)+'"')}}if(Za.test(p))throw new Error(p+" is not a valid HTML tag name in "+O+">");if(M||(typeof I=="string"?M=Ui(I):I!=null&&I!==!1&&I!==!0&&(M=Ue(I,t,p==="svg"||p!=="foreignObject"&&n,i,e,r,s))),sn&&sn(e),e.__=null,ei&&ei(e),!M&&Vh.has(p))return O+"/>";var z="</"+p+">",V=O+">";return ni(M)?[V].concat(M,[z]):typeof M!="string"?[V,M,z]:V+M+z}var Vh=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]);function Dr(e,t){for(var n in e)if(n!=="__source"&&!(n in t))return!0;for(var i in t)if(i!=="__source"&&e[i]!==t[i])return!0;return!1}function Cr(e,t){this.props=e,this.context=t}function Wh(e,t){function n(o){var r=this.props.ref,s=r==o.ref;return!s&&r&&(r.call?r(null):r.current=null),t?!t(this.props,o)||!s:Dr(this.props,o)}function i(o){return this.shouldComponentUpdate=n,Y(e,o)}return i.displayName="Memo("+(e.displayName||e.name)+")",i.prototype.isReactComponent=!0,i.__f=!0,i}(Cr.prototype=new ce).isPureReactComponent=!0,Cr.prototype.shouldComponentUpdate=function(e,t){return Dr(this.props,e)||Dr(this.state,t)};var rc=L.__b;L.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),rc&&rc(e)};var Yh=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function $t(e){function t(n){if(!("ref"in n))return e(n,null);var i=n.ref;delete n.ref;var o=e(n,i);return n.ref=i,o}return t.$$typeof=Yh,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var sc=function(e,t){return e==null?null:he(he(e).map(t))},Kh={map:sc,forEach:sc,count:function(e){return e?he(e).length:0},only:function(e){var t=he(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:he},qh=L.__e;L.__e=function(e,t,n,i){if(e.then){for(var o,r=t;r=r.__;)if((o=r.__c)&&o.__c)return t.__e==null&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t)}qh(e,t,n,i)};var ac=L.unmount;function cc(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(i){typeof i.__c=="function"&&i.__c()}),e.__c.__H=null),(e=function(i,o){for(var r in o)i[r]=o[r];return i}({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(i){return cc(i,t,n)})),e}function lc(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(i){return lc(i,t,n)}),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function Vi(){this.__u=0,this.t=null,this.__b=null}function Ac(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Xh(e){var t,n,i;function o(r){if(t||(t=e()).then(function(s){n=s.default||s},function(s){i=s}),i)throw i;if(!n)throw t;return Y(n,r)}return o.displayName="Lazy",o.__f=!0,o}function ii(){this.u=null,this.o=null}L.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),ac&&ac(e)},(Vi.prototype=new ce).__c=function(e,t){var n=t.__c,i=this;i.t==null&&(i.t=[]),i.t.push(n);var o=Ac(i.__v),r=!1,s=function(){r||(r=!0,n.__R=null,o?o(a):a())};n.__R=s;var a=function(){if(!--i.__u){if(i.state.__a){var c=i.state.__a;i.__v.__k[0]=lc(c,c.__c.__P,c.__c.__O)}var l;for(i.setState({__a:i.__b=null});l=i.t.pop();)l.forceUpdate()}};i.__u++||32&t.__u||i.setState({__a:i.__b=i.__v.__k[0]}),e.then(s,s)},Vi.prototype.componentWillUnmount=function(){this.t=[]},Vi.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),i=this.__v.__k[0].__c;this.__v.__k[0]=cc(this.__b,n,i.__O=i.__P)}this.__b=null}var o=t.__a&&Y(N,null,e.fallback);return o&&(o.__u&=-33),[Y(N,null,t.__a?null:e.children),o]};var dc=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function Gh(e){return this.getChildContext=function(){return e.context},e.children}function Jh(e){var t=this,n=e.i;t.componentWillUnmount=function(){xn(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],contains:function(){return!0},appendChild:function(i){this.childNodes.push(i),t.i.appendChild(i)},insertBefore:function(i,o){this.childNodes.push(i),t.i.appendChild(i)},removeChild:function(i){this.childNodes.splice(this.childNodes.indexOf(i)>>>1,1),t.i.removeChild(i)}}),xn(Y(Gh,{context:t.context},e.__v),t.l)}function Zh(e,t){var n=Y(Jh,{__v:e,i:t});return n.containerInfo=t,n}(ii.prototype=new ce).__a=function(e){var t=this,n=Ac(t.__v),i=t.o.get(e);return i[0]++,function(o){var r=function(){t.props.revealOrder?(i.push(o),dc(t,e,i)):o()};n?n(r):r()}},ii.prototype.render=function(e){this.u=null,this.o=new Map;var t=he(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},ii.prototype.componentDidUpdate=ii.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){dc(e,n,t)})};var uc=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,$h=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,tf=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,ef=/[A-Z0-9]/g,nf=typeof document<"u",of=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function hc(e,t,n){return t.__k==null&&(t.textContent=""),xn(e,t),typeof n=="function"&&n(),e?e.__c:null}function fc(e,t,n){return xa(e,t),typeof n=="function"&&n(),e?e.__c:null}ce.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(ce.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var pc=L.event;function rf(){}function sf(){return this.cancelBubble}function af(){return this.defaultPrevented}L.event=function(e){return pc&&(e=pc(e)),e.persist=rf,e.isPropagationStopped=sf,e.isDefaultPrevented=af,e.nativeEvent=e};var Er,cf={enumerable:!1,configurable:!0,get:function(){return this.class}},gc=L.vnode;L.vnode=function(e){typeof e.type=="string"&&function(t){var n=t.props,i=t.type,o={},r=i.indexOf("-")===-1;for(var s in n){var a=n[s];if(!(s==="value"&&"defaultValue"in n&&a==null||nf&&s==="children"&&i==="noscript"||s==="class"||s==="className")){var c=s.toLowerCase();s==="defaultValue"&&"value"in n&&n.value==null?s="value":s==="download"&&a===!0?a="":c==="translate"&&a==="no"?a=!1:c[0]==="o"&&c[1]==="n"?c==="ondoubleclick"?s="ondblclick":c!=="onchange"||i!=="input"&&i!=="textarea"||of(n.type)?c==="onfocus"?s="onfocusin":c==="onblur"?s="onfocusout":tf.test(s)&&(s=c):c=s="oninput":r&&$h.test(s)?s=s.replace(ef,"-$&").toLowerCase():a===null&&(a=void 0),c==="oninput"&&o[s=c]&&(s="oninputCapture"),o[s]=a}}i=="select"&&o.multiple&&Array.isArray(o.value)&&(o.value=he(n.children).forEach(function(l){l.props.selected=o.value.indexOf(l.props.value)!=-1})),i=="select"&&o.defaultValue!=null&&(o.value=he(n.children).forEach(function(l){l.props.selected=o.multiple?o.defaultValue.indexOf(l.props.value)!=-1:o.defaultValue==l.props.value})),n.class&&!n.className?(o.class=n.class,Object.defineProperty(o,"className",cf)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),t.props=o}(e),e.$$typeof=uc,gc&&gc(e)};var mc=L.__r;L.__r=function(e){mc&&mc(e),Er=e.__c};var bc=L.diffed;L.diffed=function(e){bc&&bc(e);var t=e.props,n=e.__e;n!=null&&e.type==="textarea"&&"value"in t&&t.value!==n.value&&(n.value=t.value==null?"":t.value),Er=null};var lf={ReactCurrentDispatcher:{current:{readContext:function(e){return Er.__n[e.__c].props.value},useCallback:X,useContext:Zt,useDebugValue:Ta,useDeferredValue:xc,useEffect:et,useId:fr,useImperativeHandle:Ma,useInsertionEffect:Pc,useLayoutEffect:Wt,useMemo:kt,useReducer:Xn,useRef:q,useState:R,useSyncExternalStore:Bc,useTransition:_c}}};function Af(e){return Y.bind(null,e)}function Bn(e){return!!e&&e.$$typeof===uc}function df(e){return Bn(e)&&e.type===N}function uf(e){return!!e&&!!e.displayName&&(typeof e.displayName=="string"||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")}function hf(e){return Bn(e)?dr.apply(null,arguments):e}function vc(e){return!!e.__k&&(xn(null,e),!0)}function ff(e){return e&&(e.base||e.nodeType===1&&e)||null}var pf=function(e,t){return e(t)},gf=function(e,t){return e(t)},wc=N;function yc(e){e()}function xc(e){return e}function _c(){return[!1,yc]}var Pc=Wt,mf=Bn;function Bc(e,t){var n=t(),i=R({h:{__:n,v:t}}),o=i[0].h,r=i[1];return Wt(function(){o.__=n,o.v=t,Sr(o)&&r({h:o})},[e,n,t]),et(function(){return Sr(o)&&r({h:o}),e(function(){Sr(o)&&r({h:o})})},[e]),n}function Sr(e){var t,n,i=e.v,o=e.__;try{var r=i();return!((t=o)===(n=r)&&(t!==0||1/t==1/n)||t!=t&&n!=n)}catch{return!0}}var Me={useState:R,useId:fr,useReducer:Xn,useEffect:et,useLayoutEffect:Wt,useInsertionEffect:Pc,useTransition:_c,useDeferredValue:xc,useSyncExternalStore:Bc,startTransition:yc,useRef:q,useImperativeHandle:Ma,useMemo:kt,useCallback:X,useContext:Zt,useDebugValue:Ta,version:"18.3.1",Children:Kh,render:hc,hydrate:fc,unmountComponentAtNode:vc,createPortal:Zh,createElement:Y,createContext:le,createFactory:Af,cloneElement:hf,createRef:Nu,Fragment:N,isValidElement:Bn,isElement:mf,isFragment:df,isMemo:uf,findDOMNode:ff,Component:ce,PureComponent:Cr,memo:Wh,forwardRef:$t,flushSync:gf,unstable_batchedUpdates:pf,StrictMode:wc,Suspense:Vi,SuspenseList:ii,lazy:Xh,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:lf};function Mr(e){return{render:function(t){hc(t,e)},unmount:function(){vc(e)}}}function bf(e,t){return fc(t,e),Mr(e)}const vf={createRoot:Mr,hydrateRoot:bf},wf={renderToString:ic,renderToStaticMarkup:ic};function Tr(){return Tr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Tr.apply(null,arguments)}function Ir(e,t){t===void 0&&(t={});var n=t.insertAt;if(e&&typeof document<"u"){var i=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css",n==="top"&&i.firstChild?i.insertBefore(o,i.firstChild):i.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}Ir('.rcb-chat-header-container{border-bottom:1px solid #ccc;color:#fff;display:flex;justify-content:space-between;max-height:55px;padding:12px}.rcb-chat-header{display:flex;flex-direction:row}.rcb-bot-avatar{background-size:cover;border-radius:50%;height:30px;margin-right:12px;width:30px}.rcb-message-prompt-container.visible{align-items:center;animation:rcb-animation-pop-in .3s ease-in-out;bottom:0;display:flex;justify-content:center;margin:auto;opacity:1;pointer-events:auto;position:sticky}.rcb-message-prompt-container.hidden{height:0;opacity:0;pointer-events:none;visibility:hidden}.rcb-message-prompt-text{background-color:#fff;border:.5px solid #adadad;border-radius:20px;color:#adadad;cursor:pointer;font-size:12px;padding:6px 12px;transition:color .3s ease,border-color .3s ease;z-index:9999}.rcb-message-prompt-container.hidden .rcb-message-prompt-text{padding:0}.rcb-user-message-container{display:flex;flex-direction:row;justify-content:right}.rcb-user-message{border-radius:22px;font-size:15px;height:fit-content;margin-right:16px;margin-top:8px;min-height:20px;overflow:hidden;overflow-wrap:anywhere;padding:12px 16px;text-align:right;white-space:pre-wrap;width:fit-content}.rcb-user-message-offset{margin-right:50px}.rcb-user-message-entry{animation:rcb-animation-user-message-entry .3s ease-in backwards}.rcb-message-user-avatar{background-size:cover;border-radius:50%;height:40px;margin-left:-10px;margin-right:6px;margin-top:9px;width:40px}.rcb-bot-message-container{display:flex;flex-direction:row}.rcb-bot-message{border-radius:22px;font-size:15px;height:fit-content;margin-left:16px;margin-top:8px;min-height:20px;overflow:hidden;overflow-wrap:anywhere;padding:12px 16px;text-align:left;white-space:pre-wrap;width:fit-content}.rcb-bot-message-offset{margin-left:50px}.rcb-bot-message-entry{animation:rcb-animation-bot-message-entry .3s ease-in backwards}.rcb-message-bot-avatar{background-size:cover;border-radius:50%;height:40px;margin-left:6px;margin-right:-10px;margin-top:9px;width:40px}.rcb-typing-indicator{align-items:center;display:flex}.rcb-dot{animation:rcb-animation-bot-typing 1s infinite;background-color:#ccc;border-radius:50%;height:8px;margin-right:4px;width:8px}.rcb-dot:nth-child(2){animation-delay:.2s}.rcb-dot:nth-child(3){animation-delay:.4s}.rcb-chat-body-container{height:100%;overflow-x:hidden;overflow-y:scroll;padding-bottom:16px;position:relative;touch-action:pan-y;width:100%}.rcb-chat-body-container::-webkit-scrollbar-track{background-color:#f1f1f1}.rcb-chat-body-container::-webkit-scrollbar-thumb{background-color:#ddd;border-radius:4px}.rcb-chat-body-container::-webkit-scrollbar-thumb:hover{background-color:#cfcfcf}.rcb-chat-body-container::-webkit-scrollbar-corner{background-color:#f1f1f1}.rcb-checkbox-container{display:flex;flex-wrap:wrap;gap:10px;margin-left:16px;padding-top:12px}.rcb-checkbox-offset{margin-left:50px!important}.rcb-checkbox-row-container{align-items:center;animation:rcb-animations-checkboxes-entry .5s ease-out;background-color:#fff;border-radius:10px;border-style:solid;border-width:.5px;cursor:pointer;display:flex;gap:5px;max-height:32px;min-height:30px;overflow:hidden;width:80%}.rcb-checkbox-row-container:hover{box-shadow:0 0 5px #0003}.rcb-checkbox-row{align-items:center;cursor:pointer;display:inline-flex;margin-left:10px}.rcb-checkbox-mark{align-items:center;background-color:#f2f2f2;border:none;border-radius:50%;cursor:pointer;display:flex;height:20px;justify-content:center;margin-right:10px;transition:all .3s ease;width:20px}.rcb-checkbox-mark:hover{background-color:#c2c2c2}.rcb-checkbox-mark:before{content:"✓";transition:all .3s ease}.rcb-checkbox-label{font-size:14px}.rcb-checkbox-next-button{align-items:center;animation:rcb-animations-checkboxes-entry .5s ease-out;background-color:#fff;border-radius:10px;border-style:solid;border-width:.5px;cursor:pointer;display:inline-block;font-size:24px;max-height:32px;min-height:30px;text-align:center;width:80%}.rcb-checkbox-next-button:before{content:"→"}.rcb-checkbox-next-button:hover{box-shadow:0 0 5px #0003}.rcb-options-container{display:flex;flex-wrap:wrap;gap:10px;margin-left:16px;max-width:70%;padding-top:12px}.rcb-options-offset{margin-left:50px!important}.rcb-options{align-items:center;animation:rcb-animation-options-entry .5s ease-out;border-radius:20px;border-style:solid;border-width:.5px;cursor:pointer;display:inline-flex;font-size:14px;justify-content:center;overflow:hidden;padding:10px 20px;transition:background-color .3s ease}.rcb-options:hover{box-shadow:0 0 5px #0003}.rcb-line-break-container{align-items:center;display:flex;justify-content:center;max-height:45px;padding-bottom:5px;padding-top:10px}.rcb-line-break-text{color:#adadad;font-size:12px;padding:6px 12px}.rcb-spinner-container{align-items:center;display:flex;justify-content:center;max-height:45px;min-height:35px;padding-bottom:5px;padding-top:10px}.rcb-spinner{animation:rcb-animation-spin 1s linear infinite;border:4px solid #f3f3f3;border-radius:50%;height:22px;width:22px}.rcb-chat-input{align-items:center;background-color:#fff;border-top:1px solid #ccc;display:flex;padding:8px 16px}.rcb-chat-input::placeholder{color:#999}.rcb-chat-input-textarea{background-color:#fff;border:none;border-radius:4px;color:#000;flex:1;font-family:inherit;font-size:16px;height:auto;min-height:38px;outline:none;overflow-y:scroll;padding:8px;resize:none;touch-action:none}.rcb-chat-input-textarea::-webkit-scrollbar,.rcb-chat-input-textarea::-webkit-scrollbar-thumb{background-color:initial}.rcb-chat-input-textarea::-webkit-scrollbar-thumb:hover{background-color:initial}.rcb-chat-input-char-counter{font-size:14px;margin-left:8px;margin-top:3px}.rcb-chat-footer-container{align-items:flex-end;background-color:#f2f2f2;border-top:1px solid #ccc;color:#000;display:flex;font-size:12px;justify-content:space-between;max-height:55px;padding:12px 16px 8px 10px}.rcb-chat-footer,.rcb-toggle-button{display:flex;flex-direction:row}.rcb-toggle-button{border:none;border-radius:50%;bottom:20px;box-shadow:0 2px 4px #0003;cursor:pointer;height:75px;position:fixed;right:20px;width:75px;z-index:9999}.rcb-toggle-button.rcb-button-hide{animation:rcb-animation-collapse .3s ease-in-out forwards;opacity:0;visibility:hidden}.rcb-toggle-button.rcb-button-show{animation:rcb-animation-expand .3s ease-in-out forwards;opacity:1;visibility:visible}.rcb-toggle-icon{background-position:50%;background-repeat:no-repeat;background-size:cover;border-radius:inherit;height:100%;margin:auto;width:100%}.rcb-badge,.rcb-toggle-icon{align-items:center;display:flex;justify-content:center}.rcb-badge{background-color:red;border-radius:50%;color:#fff;height:25px;position:absolute;right:-6px;top:-6px;width:25px}.rcb-chat-tooltip{border-radius:20px;box-shadow:0 2px 6px #0003;cursor:pointer;font-size:20px;padding:16px;position:fixed;transition:transform .3s ease;white-space:nowrap;z-index:9999}.rcb-chat-tooltip-tail{border-style:solid;border-width:10px 0 10px 10px;content:"";margin-top:-10px;position:absolute;right:-10px;top:50%}.rcb-chat-tooltip.rcb-tooltip-hide{animation:rcb-animation-tooltip-out .5s ease-in-out;opacity:0;visibility:hidden}.rcb-chat-tooltip.rcb-tooltip-show{animation:rcb-animation-tooltip-in .5s ease-in-out;opacity:1;visibility:visible}.rcb-toast-prompt{animation:rcb-animation-pop-in .3s ease-in-out;background-color:#fff;border:.5px solid #7a7a7a;border-radius:5px;color:#7a7a7a;cursor:pointer;font-size:12px;margin-top:6px;padding:6px 12px;text-align:center;transition:color .3s ease,border-color .3s ease;width:100%;z-index:9999}.rcb-toast-prompt-container{align-items:center;animation:popIn .3s ease-in-out;bottom:0;display:flex;flex-direction:column;justify-content:flex-end;left:50%;margin:200 auto auto;opacity:1;pointer-events:auto;position:absolute;transform:translate(-50%)}.rcb-media-display-image-container,.rcb-media-display-video-container{border-radius:22px;margin-right:16px;margin-top:8px;padding:16px;width:fit-content}.rcb-media-display-offset{margin-right:50px!important}.rcb-media-display-image{border-radius:22px;height:auto;object-fit:cover;width:100%}.rcb-media-display-video{background-color:#000;border-radius:22px;height:auto;width:100%}.rcb-media-display-audio{border-radius:22px;height:auto;margin-right:16px;margin-top:8px;width:100%}.rcb-media-entry{animation:rcb-animation-user-message-entry .3s ease-in backwards}.rcb-attach-button-disabled,.rcb-attach-button-enabled{background-size:cover;border-radius:6px;display:inline-block;height:30px;position:relative;text-align:center;width:30px}.rcb-attach-button-disabled input[type=file],.rcb-attach-button-enabled input[type=file]{display:none;height:100%;position:absolute;width:100%}.rcb-attach-button-enabled{cursor:pointer}.rcb-attach-button-disabled{opacity:.5}.rcb-attach-button-enabled:after{background-color:#0000001a;border-radius:50%;content:"";height:0;left:50%;opacity:0;position:absolute;top:50%;transform:translate(-50%,-50%);transition:width .2s ease-out,height .2s ease-out,opacity .2s ease-out;width:0}.rcb-attach-button-enabled:hover:after{height:130%;opacity:1;width:130%}.rcb-attach-icon-disabled,.rcb-attach-icon-enabled{background-repeat:no-repeat;background-size:cover;display:inline-block;height:24px;margin-top:2px;transition:background-image .3s ease;width:24px}.rcb-attach-icon-enabled{cursor:pointer}.rcb-emoji-button-disabled,.rcb-emoji-button-enabled{background-size:cover;border-radius:6px;cursor:pointer;display:inline-block;height:30px;position:relative;text-align:center;width:30px}.rcb-emoji-icon-disabled,.rcb-emoji-icon-enabled{background-repeat:no-repeat;background-size:cover;display:inline-block;font-size:20px;height:24px;margin-top:2px;position:relative;width:24px}.rcb-emoji-icon-enabled{cursor:pointer}.rcb-emoji-icon-disabled{opacity:.5}.rcb-emoji-button-enabled:after{background-color:#0000001a;border-radius:50%;content:"";height:0;left:50%;opacity:0;position:absolute;top:50%;transform:translate(-50%,-50%);transition:width .2s ease-out,height .2s ease-out,opacity .2s ease-out;width:0}.rcb-emoji-button-enabled:hover:after{height:130%;opacity:1;width:130%}.rcb-emoji-button-popup{background-color:#fff;border:1px solid #ccc;border-radius:4px;box-shadow:0 2px 4px #0003;max-height:200px;overflow-y:auto;padding:8px;position:absolute;transform:translateY(calc(-100% - 30px));width:158px}.rcb-emoji{cursor:pointer;font-size:24px;padding:3px;transition:transform .2s ease-in-out}.rcb-emoji:hover{transform:scale(1.2)}.rcb-audio-icon{background-size:cover;border:none;cursor:pointer;display:inline-block;height:30px;margin-left:5px;position:relative;width:30px}.rcb-audio-icon:after{background-color:#0000001a;border-radius:50%;content:"";height:0;left:50%;opacity:0;position:absolute;top:50%;transform:translate(-50%,-50%);transition:width .2s ease-out,height .2s ease-out,opacity .2s ease-out;width:0}.rcb-audio-icon:hover:after{height:130%;opacity:1;width:130%}.rcb-close-chat-icon{background-size:cover;border:none;cursor:pointer;display:inline-block;height:30px;margin-left:5px;position:relative;width:30px}.rcb-close-chat-icon:after{background-color:#0000001a;border-radius:50%;content:"";height:0;left:50%;opacity:0;position:absolute;top:50%;transform:translate(-50%,-50%);transition:width .2s ease-out,height .2s ease-out,opacity .2s ease-out;width:0}.rcb-close-chat-icon:hover:after{height:130%;opacity:1;width:130%}.rcb-notification-icon{background-size:cover;border:none;cursor:pointer;display:inline-block;height:30px;margin-left:5px;position:relative;width:30px}.rcb-notification-icon:after{background-color:#0000001a;border-radius:50%;content:"";height:0;left:50%;opacity:0;position:absolute;top:50%;transform:translate(-50%,-50%);transition:width .2s ease-out,height .2s ease-out,opacity .2s ease-out;width:0}.rcb-notification-icon:hover:after{height:130%;opacity:1;width:130%}.rcb-voice-button-disabled,.rcb-voice-button-enabled{align-items:center;background-color:#fff;border-radius:4px;box-shadow:0 0 3px #0000004d;cursor:pointer;display:inline-flex;height:32px;justify-content:center;margin-left:8px;text-transform:uppercase;transition:all .3s ease;width:32px}.rcb-voice-button-enabled{border:1px solid red;box-shadow:0 0 3px #ff000080}.rcb-voice-button-enabled:hover{border:1px solid #3d0000}.rcb-voice-button-disabled{border:1px;border-color:#0003;border-style:solid}.rcb-voice-button-disabled:hover{box-shadow:0 0 3px #8a0000}.rcb-voice-icon{background-position:50%;background-repeat:no-repeat;background-size:cover;background-size:contain;height:60%;object-fit:cover;width:60%}.rcb-voice-icon.on{animation:rcb-animation-ping 1s infinite}.rcb-send-button{border:none;border-radius:4px;box-shadow:0 0 3px #0000004d;cursor:pointer;display:inline-flex;height:32px;justify-content:center;margin-left:8px;text-transform:uppercase;transition:background-color .3s ease;width:51px}.rcb-send-icon{background-position:50%;background-repeat:no-repeat;background-size:cover;background-size:contain;height:50%;object-fit:cover;transform:translateY(20%);width:50%}.rcb-view-history-container{align-items:center;display:flex;justify-content:center;max-height:45px;min-height:35px;padding-bottom:5px;padding-top:10px}.rcb-view-history-button{align-items:center;background-color:#fff;border:.5px solid #adadad;border-radius:20px;color:#adadad;cursor:pointer;display:inline-flex;font-size:12px;justify-content:center;max-width:60%;padding:6px 12px;transition:color .3s ease,border-color .3s ease}.rcb-view-history-button>p{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rcb-chatbot-global{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;line-height:1.5;z-index:9999}.rcb-chat-window{background-color:#fff;border-radius:10px;bottom:20px;box-shadow:0 2px 4px #0003;display:flex;flex-direction:column;height:550px;overflow:hidden;position:fixed;right:20px;transition:all .3s ease;width:375px}.rcb-window-embedded .rcb-chat-window{bottom:auto;opacity:1;position:relative;right:auto;visibility:visible}.rcb-window-open .rcb-chat-window{animation:rcb-animation-expand .3s ease-in-out forwards;opacity:1;visibility:visible}.rcb-window-close .rcb-chat-window{animation:rcb-animation-collapse .3s ease-in-out forwards;opacity:0;visibility:hidden}@keyframes rcb-animation-expand{0%{opacity:0;transform:translate(100%,100%) scale(0)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes rcb-animation-collapse{0%{opacity:1;transform:translate(0) scale(1)}to{opacity:0;transform:translate(100%,100%) scale(0)}}@keyframes rcb-animation-ping{0%{filter:brightness(100%);opacity:1}50%{filter:brightness(50%);opacity:.8}}@keyframes rcb-animation-bot-message-entry{0%{opacity:0;transform:translate(-100%,50%) scale(0)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes rcb-animation-user-message-entry{0%{opacity:0;transform:translate(100%,50%) scale(0)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes rcb-animation-bot-typing{0%{opacity:.4}50%{opacity:1}to{opacity:.4}}@keyframes rcb-animation-pop-in{0%{opacity:0;transform:scale(.8)}70%{opacity:1;transform:scale(1.1)}to{transform:scale(1)}}@keyframes rcb-animations-checkboxes-entry{0%{opacity:0;transform:translate(-100%)}to{opacity:1;transform:translate(0)}}@keyframes rcb-animation-options-entry{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes rcb-animation-tooltip-in{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}@keyframes rcb-animation-tooltip-out{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-5px)}}@keyframes rcb-animation-spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}',{insertAt:"top"});const wt={AUDIO_BUTTON:"audio-button",NOTIFICATION_BUTTON:"notification-button",CLOSE_CHAT_BUTTON:"close-chat-button",SEND_MESSAGE_BUTTON:"send-button",VOICE_MESSAGE_BUTTON:"voice-button",FILE_ATTACHMENT_BUTTON:"file-attachment-button",EMOJI_PICKER_BUTTON:"emoji-button"},kc="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml:space='preserve'%20viewBox='0%200%201000%201000'%3e%3crect%20width='100%25'%20height='100%25'%20fill='%23fff'/%3e%3cg%3e%3crect%20width='45'%20height='30'%20x='-22.5'%20y='-15'%20rx='1.5'%20ry='1.5'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%2337547a;fill-rule:nonzero;opacity:1'%20transform='rotate(90%20-99%20362)%20scale(3.4003)'/%3e%3cpath%20d='M0%2075q14%200%2014%2017%200%2016-14%2016Z'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%2398b0ca;fill-rule:nonzero;opacity:1'%20transform='rotate(180%20106%20386)%20scale(3.4003)'/%3e%3crect%20width='25'%20height='4'%20x='-12.5'%20y='-2'%20rx='.2'%20ry='.2'%20style='stroke:%2346648c;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%2346648c;fill-rule:nonzero;opacity:1'%20transform='rotate(90%20-46%20282)%20scale(3.4003)'/%3e%3cpath%20d='M19%2065h4l5%204v1H14v-1Z'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%2346648c;fill-rule:nonzero;opacity:1'%20transform='translate(165%20150)%20scale(3.4003)'/%3e%3crect%20width='25'%20height='2'%20x='-12.5'%20y='-1'%20rx='.1'%20ry='.1'%20style='stroke:%2398b0ca;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%2398b0ca;fill-rule:nonzero;opacity:1'%20transform='rotate(90%20-3%20240)%20scale(3.4003)'/%3e%3ccircle%20r='7.5'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%23a478fc;fill-rule:nonzero;opacity:1'%20transform='translate(236%20175)%20scale(3.4003)'/%3e%3crect%20width='45'%20height='30'%20x='-22.5'%20y='-15'%20rx='1.5'%20ry='1.5'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%2337547a;fill-rule:nonzero;opacity:1'%20transform='rotate(90%20139%20600)%20scale(3.4003)'/%3e%3cpath%20d='M184%2075q14%200%2014%2017%200%2016-14%2016Z'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%2398b0ca;fill-rule:nonzero;opacity:1'%20transform='translate(165%20150)%20scale(3.4003)'/%3e%3crect%20width='25'%20height='4'%20x='-12.5'%20y='-2'%20rx='.2'%20ry='.2'%20style='stroke:%2346648c;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%2346648c;fill-rule:nonzero;opacity:1'%20transform='rotate(90%20219%20548)%20scale(3.4003)'/%3e%3cpath%20d='M175%2065h4l5%204v1h-14v-1Z'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%2346648c;fill-rule:nonzero;opacity:1'%20transform='translate(165%20150)%20scale(3.4003)'/%3e%3crect%20width='25'%20height='2'%20x='-12.5'%20y='-1'%20rx='.1'%20ry='.1'%20style='stroke:%2398b0ca;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%2398b0ca;fill-rule:nonzero;opacity:1'%20transform='rotate(90%20262%20505)%20scale(3.4003)'/%3e%3ccircle%20r='7.5'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%23a478fc;fill-rule:nonzero;opacity:1'%20transform='translate(767%20175)%20scale(3.4003)'/%3e%3crect%20width='116.7'%20height='70'%20x='-58.4'%20y='-35'%20rx='31.5'%20ry='31.5'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%2371c9fc;fill-rule:nonzero;opacity:1'%20transform='translate(502%20877)%20scale(3.4003)'/%3e%3crect%20width='60'%20height='20'%20x='-30'%20y='-10'%20rx='3'%20ry='3'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%2337547a;fill-rule:nonzero;opacity:1'%20transform='translate(502%20728)%20scale(3.4003)'/%3e%3ccircle%20r='75'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%2371c9fc;fill-rule:nonzero;opacity:1'%20transform='translate(502%20473)%20scale(3.4003)'/%3e%3crect%20width='129.4'%20height='82.3'%20x='-64.7'%20y='-41.1'%20rx='37'%20ry='37'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%23fff;fill-rule:nonzero;opacity:1'%20transform='translate(502%20464)%20scale(3.4003)'/%3e%3crect%20width='108'%20height='68.6'%20x='-54'%20y='-34.3'%20rx='30.9'%20ry='30.9'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%23162334;fill-rule:nonzero;opacity:1'%20transform='translate(502%20464)%20scale(3.4003)'/%3e%3ccircle%20r='19.4'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%23a478fc;fill-rule:nonzero;opacity:1'%20transform='translate(415%20464)%20scale(3.4003)'/%3e%3ccircle%20r='19.4'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%23a478fc;fill-rule:nonzero;opacity:1'%20transform='translate(591%20464)%20scale(3.4003)'/%3e%3crect%20width='96'%20height='53.2'%20x='-48'%20y='-26.6'%20rx='23.9'%20ry='23.9'%20style='stroke:%23162334;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%23162334;fill-rule:nonzero;opacity:1'%20transform='translate(503%20875)%20scale(3.4003)'/%3e%3cpath%20stroke-linecap='round'%20d='m68%20215%207-15M81%20222l-7-22M81%20222l7-14M101%20208H87M114%20219l-7-24M113%20219l13-22M131%20214l-5-17M148%20214h-18M69%20214H51M100%20209l7-15'%20style='stroke:%23a478fc;stroke-width:3;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:10;is-custom-font:none;font-file-url:none;fill:none;fill-rule:nonzero;opacity:1'%20transform='translate(165%20150)%20scale(3.4003)'/%3e%3c/g%3e%3c/svg%3e",Dc=$t((e,t)=>Y("svg",{viewBox:"0 0 637 637",ref:t,...e},Y("path",{d:"m478 113-13 2-4 1h4l14-2c10-2 35-2 42-1l6 3 3 1c3 0-4-3-8-5-7-1-34-1-44 1m56 6 8 6c7 5 20 17 20 19s7 12 8 12l-3-6-4-6c0-3-15-17-25-24-5-3-8-4-4-1m-198 16-9 1a512 512 0 0 1 9-1m-180 30a412 412 0 0 0-23 4 167 167 0 0 0-32 8 439 439 0 0 1 46-9 304 304 0 0 1 11-2l6-1h-8m369 8 4 3-7-6c-1 0 0 2 3 3m-439 9c-7 3-18 13-18 15l6-5c5-5 9-8 14-10l6-4-8 4m442 12-10 11-7 6 7-6c7-5 14-14 13-16l-3 5M65 205l-1 11c0 9 0 10 4 17 5 10 7 12 22 11 10 0 15 0 38-5l5-1-6 1-16 2-21 2c-13 1-16-1-21-10-3-5-4-6-4-15l1-12c1-4 1-5-1-1m335 1c3 0 3 1 3 3l-2 6c-2 5-35 39-76 80-53 51-120 117-138 137-21 24-22 25-22 27 0 3 6 9 9 9 4 0 14-8 38-27a5073 5073 0 0 1 15-16 1421 1421 0 0 0-17 15l-31 25-6 2-4-3c-3-3-3-4-2-6 3-8 79-85 160-163 57-57 79-80 79-86 0-2-3-4-7-4-2 0-2 0 1 1m165 18c-9 17-25 32-57 53l-10 8 16-11 12-8c15-10 27-22 39-39 5-7 6-8 4-8l-4 5m-221 2a199 199 0 0 0-19 10 183 183 0 0 1 27-12c0-1-1-1-8 2m-34 16c-3 3-2 3 2 0l1-2-3 2m151 3-1 2 2-2c3-3 2-3-1 0m-16 12-11 10a281 281 0 0 0 11-10m-24 18-7 5-7 5-42 31c-10 7-24 19-22 19l7-6 16-12a343 343 0 0 0 35-25 573 573 0 0 0 20-17m-187 0-2 2 4-2 3-2-5 2m-14 6-3 2 4-1 4-3-5 2m-7 3-8 4-18 8 18-7 7-3 3-1c1-2 0-2-2-1m254 24a2672 2672 0 0 1-71 54 601 601 0 0 0 39-29 1352 1352 0 0 1 32-25m-291-8-2 2 4-2 3-2-5 2m-13 5-2 2h3c5-3 4-4-1-2m-19 9-7 3-13 6c-10 5-13 7-14 10-3 4-2 5 1 0 2-3 5-5 14-9l13-6 12-6-6 2m178 36c-17 12-21 16-21 17a390 390 0 0 1 20-17m-206 34 1 4 1 3 1 5 2 8 1 5v-6l-1-8-2-5-1-4-1-2c-1-2-1-2-1 0m222 23-9 7a683 683 0 0 0-56 44 261 261 0 0 0-26 20 1345 1345 0 0 0-46 34c-6 3-7 3-19 3-11 0-12 0-18-3-8-4-10-8-17-20l-5-10 4 10c5 10 12 18 19 22 4 2 6 2 17 2 13 0 14 0 21-3l26-19 42-33a2183 2183 0 0 0 43-34 643 643 0 0 1 24-20",fill:"#fff",fillRule:"evenodd"}),Y("path",{d:"M478 114a620 620 0 0 1-39 6l-21 3a5481 5481 0 0 0-19 3 870 870 0 0 1-54 8l-1 1-6 1-12 2-13 2a992 992 0 0 0-76 12 400 400 0 0 1-45 8l-6 1-5 1h-3l-3 1-2 1-26 4-13 2-17 3c-23 5-33 9-43 19-7 8-9 13-9 27 0 8 1 9 4 14 5 9 8 11 21 10l21-2a1133 1133 0 0 1 23-4 659 659 0 0 0 74-14l3-1h3l3-1h3l2-1 2-1h3l2-1h2l24-5 38-7a2100 2100 0 0 1 93-18l3-1 10-1a2082 2082 0 0 1 120-17l2 1c2 0 8 5 8 7l1 2 1 6c0 4 0 6-3 10-2 4-16 16-18 16l-7 5-10 8a1070 1070 0 0 0-11 7 113 113 0 0 1-20 14l-2 2-3 2-2 2h-1a154 154 0 0 1-28 21l-5 4-5 4a573 573 0 0 1-50 37 175 175 0 0 0-24 18l-1 2-2 1-2 1-2 1-1 1-12 10a396 396 0 0 0-32 25l-8 6-6 5-9 7a326 326 0 0 1-25 20l-13 12a5073 5073 0 0 0-17 15c-24 20-34 27-39 27-2 0-8-6-8-9 0-2 1-3 22-27 18-20 85-86 138-137 41-41 74-75 76-80l2-6c0-2 0-3-2-3l-7 1a233 233 0 0 1-26 9l-1 1-1 1h-1l-1 1h-2l-3 2-1 1h-2l-3 2h-1l-5 2-22 10-9 4-4 2-5 2-10 4-2 1-2 1-2 1-13 6a334 334 0 0 1-38 17 75 75 0 0 0-14 6l-5 2-4 1-2 1-3 2-7 3-16 6a247 247 0 0 0-32 14l-1 1h-2l-1 1h-2l-1 1-12 6a103 103 0 0 0-27 15l-2 5-1 1v11l1 5 1 5 1 4c0 3 0 4 2 4v3l1 3 1 2 2 10 1 4 1 5 2 10 2 8 1 4 1 4c3 3 9 25 11 38l1 7v2l1 4v1l1 1v2l1 2 1 3v1l5 10c7 13 9 16 17 20 6 3 7 3 18 3 12 0 13 0 19-3 8-4 11-6 26-18a1345 1345 0 0 1 85-67 683 683 0 0 1 50-39l12-9a513 513 0 0 1 44-33 201 201 0 0 0 22-17 2270 2270 0 0 0 73-54 158 158 0 0 0 58-59c2 0 3-9 4-27l-1-19-1-4-1-6-1-3-4-6-4-6c0-2-6-8-13-14a77 77 0 0 0-28-18c-6-1-34-1-43 1"}))),Cc=$t((e,t)=>Y("svg",{viewBox:"0 -960 960 960",ref:t,...e},Y("path",{d:"M765-321q0 117-84 196-83 80-200 80-118 0-200-80t-83-196v-392q0-85 61-144 61-58 146-58 86 0 147 58 61 59 61 144v374q0 54-39 92-39 37-93 37-55 0-93-37-38-38-38-92v-372h110v372q0 9 6 14t15 5q8 0 15-5t7-14v-374q0-39-29-66t-68-27q-40 0-69 27t-29 66v392q0 71 51 119t122 48q71 0 122-48t51-119v-426h111v426Z"}))),yf=$t((e,t)=>Y("svg",{viewBox:"0 -960 960 960",ref:t,...e},Y("path",{d:"M125-165v-113h77v-273q0-93 55-167 56-75 146-100v-19q0-32 22-55 23-23 55-23t55 23q22 23 22 55v19q90 25 146 99 56 73 56 168v273h77v113H125ZM480-32q-38 0-66-27-27-27-27-66h186q0 39-27 66t-66 27Z"}))),xf=$t((e,t)=>Y("svg",{viewBox:"0 -960 960 960",ref:t,...e},Y("path",{d:"M137-190v-113h78v-253q0-41 11-79 11-39 35-71l-9 150h10L17-802l74-74L873-92l-74 74-175-172H137Zm609-149L319-769q20-15 41-25t44-16v-28q0-32 22-54t54-22q32 0 55 22t22 54v28q85 23 137 94t52 160v217ZM481-47q-38 0-65-27t-27-65h184q0 38-27 65t-65 27Z"}))),_f=$t((e,t)=>Y("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",ref:t,...e},Y("g",{strokeLinecap:"round",strokeWidth:10},Y("path",{d:"m19 19 61 61M80 19 19 80"})))),Pf=$t((e,t)=>Y("svg",{viewBox:"0 -960 960 960",ref:t,...e},Y("path",{d:"M94-136v-255l351-93-351-92v-253l816 346L94-136Z"}))),Bf=$t((e,t)=>Y("svg",{viewBox:"0 -960 960 960",ref:t,...e},Y("path",{d:"M480-372q-61 0-105-43-43-43-43-105v-240q0-61 43-105 43-43 105-43 61 0 105 43 43 44 43 105v240q0 62-43 105t-105 43ZM425-76v-122q-121-16-197-108t-76-214h109q0 91 64 154t155 63q91 0 155-63t64-154h109q0 122-77 214T534-198v122H425Z"}))),kf=$t((e,t)=>Y("svg",{viewBox:"0 -960 960 960",ref:t,...e},Y("path",{d:"m763-343-80-79q8-20 13-44 5-23 5-54h109q0 49-11 95t-36 82ZM625-482 336-770v-2q3-56 45-96t101-40q62 0 105 43t43 105v249l-1 17q-1 7-4 12ZM427-76v-122q-120-16-196-108-77-92-77-214h109q0 91 64 154t155 63q43 0 80-14 37-15 67-41l78 79q-35 32-78 53t-93 28v122H427Zm362 27L41-796l75-75 748 748-75 74Z"}))),Ec=$t((e,t)=>Y("svg",{viewBox:"0 -960 960 960",ref:t,...e},Y("path",{d:"M625-511q29 0 50-21t20-50q0-29-20-50-21-20-50-20t-50 20-20 50q0 29 20 50 21 21 50 21Zm-290 0q29 0 50-21t20-49q0-30-20-50t-50-21q-29 0-50 20-20 21-20 50 0 30 20 50 21 21 50 21Zm145 268q75 0 137-43t85-115H258q24 72 85 115 62 43 137 43Zm0 198q-90 0-170-34-79-34-138-93T79-310q-34-80-34-170t34-170q34-79 93-138t138-93q80-34 170-34t170 34q79 34 138 93t93 138q34 80 34 170t-34 170q-34 79-93 138T650-79q-80 34-170 34Zm0-435Zm0 322q134 0 228-94t94-228q0-134-94-228t-228-94q-134 0-228 94t-94 228q0 134 94 228t228 94Z"}))),Df=$t((e,t)=>Y("svg",{viewBox:"0 -960 960 960",ref:t,...e},Y("path",{d:"M553-64v-108q107-27 173-113 67-87 67-197 0-109-67-195T553-789v-108q152 26 249 144 97 117 97 271 0 155-97 273T553-64ZM61-335v-290h176l236-237v764L237-335H61Zm492 28v-346q51 23 82 70t31 103-31 103q-31 47-82 70Z"}))),Cf=$t((e,t)=>Y("svg",{viewBox:"0 -960 960 960",ref:t,...e},Y("path",{d:"M807-15 700-123q-33 21-71 37-38 15-80 22v-108q20-4 38-12l35-17-153-154v257L234-335H57v-290h144L10-818l74-75L882-90l-75 75Zm37-264-80-79q13-30 19-60 7-31 7-64 0-109-68-195-67-86-173-112v-108q152 26 249 144 98 117 98 271 0 55-14 107-13 51-38 96ZM661-462 549-575v-78q51 23 83 70 31 47 31 103l-1 9-1 9ZM469-655 366-759l103-103v207Z"}))),Sc={general:{primaryColor:"#42b0c5",secondaryColor:"#491d8d",fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif",showHeader:!0,showFooter:!0,showInputRow:!0,actionDisabledIcon:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='32'%20height='32'%20viewBox='0%200%2042%2042'%3e%3cpath%20style='fill:none;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke:%23b00000;stroke-opacity:1;stroke-miterlimit:4'%20d='M17%209a8%208%200%200%201-8%208%208%208%200%200%201-8-8%208%208%200%200%201%208-8%208%208%200%200%201%208%208Zm0%200'%20transform='rotate(.086)%20scale(1.77778)'/%3e%3cpath%20style='fill:none;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke:%23b00000;stroke-opacity:1;stroke-miterlimit:10'%20d='M14.66%2014.66%203.34%203.34'%20transform='rotate(.086)%20scale(1.77778)'/%3e%3c/svg%3e",embedded:!1,flowStartTrigger:"ON_LOAD"},tooltip:{mode:"CLOSE",text:"Talk to me! 😊"},chatButton:{icon:Dc},header:{title:f("div",{style:{cursor:"pointer",margin:0,fontSize:20,fontWeight:"bold"},onClick:()=>window.open("https://github.com/tjtanjin/"),children:"Tan Jin"}),showAvatar:!0,avatar:kc,buttons:[wt.NOTIFICATION_BUTTON,wt.AUDIO_BUTTON,wt.CLOSE_CHAT_BUTTON],closeChatIcon:_f},notification:{disabled:!1,defaultToggledOn:!0,volume:.2,icon:yf,iconDisabled:xf,sound:"data:audio/wav;base64,UklGRmaIAABXQVZFZm10IBAAAAABAAIAQB8AAAB9AAAEABAATElTVBoAAABJTkZPSVNGVA4AAABMYXZmNjAuMTYuMTAwAGRhdGEgiAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD/////AAAAAAAA//////7/////////AAABAAAAAgABAAEAAQAAAAIAAQABAP//AAD+////AAD+//7////+////AAD//wAA/v8AAAAA/v8AAP//AAAAAAAAAgD////////+////AAABAAEAAgD/////AQABAAAA//8CAP//AAAAAAAA/v8AAAAA//8AAAEA//8EAAAAAAAAAAAA//8BAP//AQABAAEA/////wEA/v///wAAAAACAAAAAAABAAAA//8AAP//AAACAP//////////AAAAAAEAAAAAAAEA//8AAAEAAQADAAIAAgAAAAAA/v///wEAAAAAAAEAAAAAAAEA//8AAAEAAQD//wAA//8AAAEAAAABAAEAAAABAP//AAD//wAAAgAAAP//AQD/////AAAAAP7/AgAAAAIAAAAAAAAAAAABAAAAAQABAP//AAABAP///v8AAP////8AAP//AAD//wAA//8BAP//AAD///7///8BAP7///8AAAIAAgABAAEA/v8AAP//AQADAAEAAAACAAEA/////////v///wEA/v////7/AAD+////AAAAAAAAAgAAAAAAAAD//wEAAAAAAAAAAQABAAIA/v8AAAAA//8AAAEAAAAAAP//AgD//wEA/////wAAAQACAAAAAAAAAP//AQD/////AQAAAAEA/v8AAAEAAQABAAEA///+////AQD//wEAAgD+//7/AAAAAAAAAQAAAAAAAQAAAAAAAAAAAP//AAD//wEAAQD//wAAAQABAP7///8AAP7/AAABAP7/AQABAAEAAAABAAEAAAD+/wIAAAABAAAAAQD/////AQACAP////8AAP//AQD//wEA/v8CAAEAAAAAAAAAAQAAAAIAAQAAAAEAAgD//wEAAAAAAP7///8BAP//AgAAAP///v8CAAAAAgD///////////7/AAACAAEAAgD//wAAAAABAP//AwAAAAMA//8AAAAAAQD+/wAAAAD//wAAAQD//wEA//8BAP7/AAABAAAA//8BAAAA//8AAP//AQADAP3////+////AgD+/////v8BAAEAAQACAAAAAAAAAAAA//8AAP//AAD+/wEA/v8AAP7/AAD//wAAAQACAAAAAQAAAP//AQAAAAAAAAABAAAAAAD+//////8AAAAAAAD//wAAAAABAAEA//8AAAEA//8AAP//AgD+/wAA///+/wAA/v///wAAAQABAAAAAQD//wAA//8AAAEA//8BAAAAAgABAP//AAACAAIAAQABAP//AAAAAAAA//8BAAIAAAABAAAA//8CAAEA/v//////AAAAAAEA////////AQAAAP//AAD//wAAAAAAAP3/AAAAAAEAAAACAAAAAAAAAP//AAD//wAAAAAAAAAAAAAAAP///v///wAAAAABAAAAAAD//wEAAAABAAEAAQD//wAAAAACAAAAAQD+/wAA//8BAAEAAAD+/wAA/////wAAAAABAAAAAAD//////v8AAAAA//8AAAAAAAAAAAIAAAABAAEAAAABAP7/AAD9//////////7///8BAP//AAD///3/AQABAP//AAD//wAAAAABAAAA//8AAP//AAD/////AQABAAEA//8AAAAA//8BAAMA//8AAAAA//8AAP7/AAD//wAAAAAAAP7/AQAAAAAA/v8CAP//AAABAAIAAQABAAAA//8BAAEAAQD///7/AQD//wAAAQABAP//AAD//wEAAAAAAAAAAQAAAAIA//8AAP////8AAP//AQD//////v///wEA/v8AAAIAAgACAAEAAAAAAAEAAAAAAAAAAAAAAAAAAQD//wAA/////wAAAQACAP////8AAAAAAAD//wAAAQD+/wEA//8AAAEAAwD//wEAAQAAAAAAAAABAP////8AAAAAAQAAAAAAAAAAAAEAAQAAAP////////7/AQABAAEAAQD///////8BAAAA//8AAAAAAgABAAEA/v8BAP7///8BAP3/AQABAAIAAAD//wEAAAAAAP//AAABAAIA//8CAAAAAQAAAAEA//8BAAAA/////wAAAAD//wEAAQD//wAAAAAAAP//AAAAAAAAAQABAAAAAQAAAP//AQD//////v8AAAEAAAAAAAAA//8AAAAAAAACAAEAAQAAAP//AAABAAEA/////wAAAgABAAAAAAAAAAEAAAABAP//AQABAP7////+/wEAAAAAAP//AAABAAAAAAABAAEAAAAAAAAA//8BAP///f/+/wEAAQD///7///8AAAAAAQAAAP////8AAAAAAAABAAAAAQD/////AAD//wEA//8AAAIA//8CAAAA//8AAAAAAAD+/wEAAAD+/wAA/////wAA////////AAAAAAAA//8BAAAAAAD//wAAAAD//wEA//8AAP//AQD+/wAAAAAAAP7/AAD+/wEAAQABAP//AAABAAEAAQD//wAA/////wEA//8AAAAAAgAAAAAA//8BAAAAAgAAAAAAAAAAAP7/AQD//wAAAAD+/wAAAAADAAIA/////wAAAQD//wIA//8BAAEA/v8AAAIAAAAAAP3///8AAAAAAAAAAAAAAAABAP///////wAA//8AAAEAAQABAAEAAQABAAAAAQAAAAAAAQABAP7/AQD//wAAAQABAAEA//8BAAAAAgAAAAEAAAABAP//AAD/////AAD//wIA/////wIAAAD///7/AAAAAAAAAAACAP//AAABAP////8AAAAAAAABAAAAAgAAAAAAAQD+/wEA/////wAA/////wAAAAAAAAAA/v//////AAAAAP//AAABAAAAAQAAAAIAAAACAAAA//8AAAAA//8AAP7/AAAAAP//AAACAP//AQABAP//AQABAAAA/////////v8AAP//AQAAAAAA///+/wAAAQD+/wEAAQAAAAEA/////wAAAQD//wAA//8AAAAA/v8BAAEA//8AAP7//v8BAAAAAAAAAAEA//8AAAEA/////wAAAAD//////////wEAAAABAAEA//8CAAEA/f8AAAAA//8BAAAABAABAAEAAQAAAAAAAAAAAP7///8AAAAA/v8BAAAA//8AAAIA//8AAP////8BAP//AAAAAAAAAAD/////AQD///7/////////AQD8////AgABAAIA////////AAD//wAAAAABAAAAAAAAAAEAAgAAAP//AQD//wAAAAAAAP/////+/wAAAAABAAAAAwABAP///////wEAAAADAP//AQACAAAA//8CAAEAAAAAAP///////wIAAAAAAAAAAQAAAAAAAgD//wEAAAABAAAA/v8AAAAAAAAAAAAAAAAAAAEA/v8AAP//AQD//wAA//////7///8AAAAAAAAAAP7/AQD//wAA//8AAAEAAAABAAEAAQD/////AAD//wEAAAD/////AQAAAAEAAAD//wEAAAD/////AgD//wAAAQD//////////wAAAAD//wAAAAABAAAAAAD//wAAAQD///7/AQD//wEAAAD/////AAD//wEA//8AAAEA//8CAAAAAQD//wEAAgAAAAEAAwAAAAAA/v8BAAEAAgD//wEAAAAAAAAAAAD//wEA//8AAAAAAQACAP///////wAAAQABAAEAAAAAAAEAAQD+/wEA/f////////8AAAAA//8AAAEA//8BAAAA/v///wEAAAAAAAEA/////wAAAAAAAP//AAAAAAIAAAABAAAA/////wAAAAD//wAA/v8AAAMAAQD+/wEAAAABAAEA//8BAP//AgAAAAAAAAD//wAA/////wEA/v8CAP3/AAACAP3/AQABAAAAAQACAAEA/v8AAAAA//8BAAAAAgAAAAAAAgACAAEA/v/9/wAAAQABAP7///8AAP//AgD+/////v8CAP////8BAP//AQACAAEAAQABAP//AAD///7/AAABAAEAAgD//wEA//8CAAEAAQABAAEAAAABAAAA/v8AAAEA/v8AAP//AAABAP//AQAAAAEAAgAAAAAA/v///wEAAQAAAAIAAAD/////AgAAAAEA/v8AAP7/AQAAAAAAAQAAAAEAAAACAAEA//8BAP////8AAAIAAAAAAP//AAAAAAIAAAAAAAAAAwABAP///v8BAAAAAAAAAP3/AAABAAEA/v////////////3//v8AAAAAAQABAAIAAAD+/////v8AAAAAAQABAAEAAQAAAP//AAAAAP//AQAAAP//AAABAAAAAAAAAAAA////////AAAAAP//AQD/////AAABAAEA//8CAP7///8AAP7//v8BAAEAAAD+/////////wEAAAAAAAAAAgD//wAAAQAAAP7/AQABAP//AQAAAAAAAAD/////AAACAP////8BAAAAAAD//wAA//8AAAEAAQABAAAAAAABAAAAAQD+/wEA/v8AAAEAAQD/////AAD//wAAAQABAP7//v//////AAACAAAAAAAAAAAAAAACAAAAAQAAAAAA//8BAP//AQD//wAA///+/wIAAQD//wAAAAD//wAA/v8AAP3///8AAAAAAAAAAAAA/f8AAAAA//8CAP7/AAD///7/AAAAAAAAAAD//wEAAAAAAAEAAAAAAAAA//8BAP////8BAP7///8CAAEA//8BAP3///////////8BAAAAAAAAAAEAAgD+//////8BAAMAAQADAAEAAAACAAAAAQD/////AAABAAMAAQAAAP//AQD//wAA//8AAAAA//8CAP7//////wAAAAAAAAIA/v8AAP//AAACAP//AwD//wAA//8AAP//AwD//wEAAQABAAEAAQACAAEAAAD//wAA//8AAAIAAAAAAP///////wAAAQD//wIA//8BAP7/AAD///////8AAAAAAAAAAAEAAAD//wAAAQD//wEA//8BAAAAAAD/////AgABAAIAAAABAAAAAAAAAP//AAAAAAAA//8AAAAAAAD/////AQAAAAAAAQD//wAA///+////AAAAAAEAAgABAAEAAAAAAP//AQAAAAAAAQD+/wAAAAABAAEAAAD/////AQABAP7///8AAAIAAAACAAAA//8AAP//AgACAAAA///+/wAAAAABAAAAAQAAAAEA/v8BAAEA//8CAP//AQD+/////v8AAAAAAAACAP//AAD+/wIA/v8BAAAAAAD/////AAAAAP7///8AAP7//////wEAAAABAAAAAAD//wAAAAAAAAAAAgACAAAAAAABAAAA/f8AAP7/AgAAAAEA//8BAAAAAAD///7/AQD//wAAAAAAAAEAAAAAAAEAAAAAAAAAAQAAAAAA//8AAAAAAAABAP///////wAAAgABAAEA//8AAP//AAACAP//AQABAAEA//8BAAAAAAABAAAA//8AAAEAAAAAAAIA/v8BAP//AQD//wEAAAABAAEAAQACAAEAAAAAAAEAAAABAAAAAAD/////AAABAAEA//8AAAAAAQABAP//AAAAAP//AAD/////AQD//wAAAAABAAEA//8BAAAA//8AAP///f/+/wAA/////wAAAQAAAAIAAAAAAAAAAAD+/wEA/f8CAAAA//8AAAEAAgAAAAMAAAABAAAAAAAAAP//AQAAAAAAAQABAAAAAQAAAP//AAAAAAAA//8AAAAAAAABAAAAAQAAAAAAAAABAAIAAAAAAP7/AQD//wAAAAD+////AAAAAAAAAAABAAAA/////wAA//8AAAAAAAD/////AgD//wAA//8CAP//AQACAAEA/f////////8BAAIAAQABAP//AAD//wAA///+////AAD+/wAAAQD/////AAAAAAAA/////wAAAAABAAAAAQAAAAAA//8AAAIAAAABAP//AQABAAEA//8AAAAAAAADAAEAAAABAP//AgD//wMA//8AAAAAAAD//wAAAAD9/wEA///+/wAA//8BAAEA//8BAAAA//8AAP///v8BAP///////////v8BAAAAAQABAAAAAAAAAAAA//8AAP7/AQAAAAAAAAAAAP7/AQAAAAAAAgABAAEAAAABAAEAAAAAAAAAAAD+/wAAAAD//wEAAAAAAAAAAAAAAP//AgABAAAAAAABAAEAAAD/////AAAAAP//AAABAP////8BAAAAAQABAP7//v/+////AQAAAAAAAQAAAAEAAgAAAAAAAQAAAAEAAAD+/////v8BAP//AAABAP//AQABAAAAAAD//wAA//8CAP//AAAAAAEAAAABAAAAAAAAAP//AAD+////AwAAAAAAAQD//wEAAAACAAEAAAADAAAAAAD/////AAAAAAEAAAABAAAA//8AAAEA//8BAP///v8AAP//AAD//wAAAQABAP//AQAAAAAA/////wEAAQAAAP////8AAAEA//8BAAAAAQAAAP////8AAAAAAQAAAAIAAQAAAAEAAAAAAAEAAAD//wEAAAAAAP////8AAAAA//8BAAEAAAAAAAIA///+/wIA/v8BAAAAAQACAAAAAQAAAP7///8AAP//AAAAAAEAAAAAAP7/AAD+////AAAAAAAAAAD//wAA/v8BAAMAAAABAAIAAgD//wAA//8BAAEA//8BAP7/AAAAAP7///8BAAAAAQAAAP7/AQD/////AAAAAAEAAAABAP//AQABAAAAAgABAAAAAAAAAP///////wEA//8AAAEA//8AAAAAAQAAAAIAAAABAP7//////wAAAQABAAAAAAABAAEA///+/wAA//8BAP///v8AAP///v8BAAAA//8CAAAAAQAAAAEAAQABAAAAAAD+/wAAAAD+/wAAAAAAAAAA/f////////8AAAAAAQABAP///////wEA//8BAAEAAAAAAAAA/////wEA/v//////AAAAAP//AAABAAAAAAD+/wAAAAD9////AQAAAAEAAwD//wEAAQAAAP//AgAAAAAAAAD+/wIAAAAAAAAAAAAAAAIA//8AAAEAAQACAAAAAQD//wAAAAD//wIAAQABAAAAAAD//wEA//8BAAEAAQAAAAAAAQABAP7/AAD//wEAAAACAP7/AQAAAAAAAAD//wIAAQACAAIAAQAAAAAAAAAAAP3///8BAAAAAQACAP//AgD9/wAAAAD//wEA/v////////8AAAAAAAD//wEAAQD//wMAAQAAAAEA//8AAAEA//8AAAAAAAACAAAAAAD//wAAAQD///////8AAAAA//8BAAIA/v8BAAEA/f8AAAAAAAAAAAAAAgD/////AAD+/wAAAAD//wAAAAAAAP//////////AgABAP///v8AAAIAAQAAAP//AAABAAAA/////wAAAAAAAAEAAAABAP///v///wIA//8BAAEAAQAAAAAA///+/wEAAAAAAAAA/////////v8BAP3/AAAAAAAAAAAAAAAA//8AAP//AAAAAP//AAABAAIAAAACAP////8DAAAAAAABAAAAAwABAP//AAABAP//AAAAAP////8BAAAAAgD//wAA///+/wAAAQD//wAA//8AAP7///8AAAAA/v8AAAAAAQD//wEA/v////////8AAAAAAQAAAP//AQACAAAAAAAAAP//AAD//wAAAAD//wAAAAD+/wAAAAAAAP//AQD//wAAAgAAAAAAAQABAAAAAwD+/wAAAAD///7/AQD//wIAAQAAAP//AAD//wAA//8CAAEAAAAAAAAA/////wAAAAD//wEAAQD///////8BAAAA//8BAAEAAAAAAAAA/v///wEAAAAAAAAAAAADAAAAAAAAAAAAAQABAAEAAAD+//7//v8AAP//AQAAAAAAAAABAAEAAgAAAAAAAQD//wAA/f8AAAAAAAABAAAAAQAAAAAAAAAAAAIA//8BAP///////wIA/////wAAAAABAAEA//8BAAAAAAD//wAAAQD//wEAAAAAAAIA/v8BAP//AAAAAAEAAAABAP//AAAAAAAAAQABAP7/AAABAAAAAQD//wIAAAAAAAEA///+/wAA//8AAP//AAAAAAAAAAABAP///////wIAAQAAAAEAAQAAAP7/AQAAAAAAAQAAAAAAAQD/////AQAAAAAA///+//7/AAD+/wEA//8AAAAA///+/wEAAAABAAIAAQABAAAA//8AAP//AAD//wAAAAD//wAAAAAAAP//AQAAAAAA////////AQAAAAAAAQD+////AQABAP7/AAD///7/AgD//wAAAAAAAP//AAAAAAEA//8BAAEAAgAAAAIAAAD//wEA/////wAAAQD///7/AQD//wEAAQD/////AAAAAAEAAgAAAAAAAQD//wEA//8AAP7//////wAA//8BAAEA//8BAAAAAQD/////AAABAP//AAACAP//AQAAAP//AAABAP////8AAAAAAAABAAEAAwABAAAAAgD//wAAAAD//wEAAAABAAAAAAABAAEA/////wAA//8AAAIAAAAAAAEAAQABAAEAAQABAP//AgAAAAAA//8BAP3//v///wAA//8AAAAAAQAAAP//AQD//wEAAAACAAIAAAABAAAA//8BAAEA//8BAP//AAAAAP//AQAAAAIAAAD//wAAAAAAAAEA////////AQAAAP//AQD//wAAAQD+/wEAAAABAP///v///wAAAAAAAP//AAAAAAIAAQD//wAAAgD+/wAAAAD//wAAAAABAP///P//////AAACAP////8AAAIAAAABAAAAAAAAAAAA//8AAAAAAQADAP//AQAAAAAAAAABAAEAAQAAAAAA/v8AAAAAAAD//wAAAQD//wAAAAD//wAA/v////////8CAAEA/v8BAP7/AAAAAAAA//8AAAEAAAD//wIAAQAAAAIAAQAAAAAAAAD///7/AQABAP//AAAAAP//AAACAAEA//8BAAAAAwAAAAAAAAD//wEAAAD//wAA///////////+/wAAAQABAAIAAAABAAEAAAD//wEAAAD/////AAD+/wIAAwABAAEA/v8BAAEAAAD//wAA//8AAP//AAAAAAEAAAAAAP//AAAAAAEAAQABAAEA/v///wAAAAD//wEAAAACAAAA/f/+/wAA/v///wAA//8AAAEAAQD///7/AAAAAAAAAAABAAAAAAACAAAAAAABAAAAAAABAP//AQD//wAA//8BAP7/AgABAAEAAQAAAAAAAQD//wEA/v8AAP////8AAP///////wIAAQD//wAAAAD//wAA/v///wAAAQD//wIA/////wEAAAAAAAIAAAABAAAAAAD//wEA//8AAAAA/////wAAAQAAAAAAAAD//wEAAQAAAAAAAAACAP///////wAAAgD//wAA/v8AAAIAAAAAAAEAAAABAP//AQABAAEAAQAAAP///v8BAAEAAAAAAP////8AAAAAAQD//wIAAQAAAAEAAAAAAAAA//8BAP//AAAAAP7//v///wEAAAAAAAIAAAAAAP//AAD//wEA//8BAAAAAAABAAEAAAABAP7///8AAAIAAAABAP//AAD//wEAAAAAAP//AAAAAAEAAAAAAAAAAAAAAP7/AQD//wAAAQD+/wEA/v8BAP7/AAABAAEAAAACAAIAAAADAAAA//8AAAEAAAABAP//AQD//wIA/////wEA//8AAAEA//8AAAEAAAAAAAAAAQABAAAAAAAAAAAAAAD//////////wAA//8AAP7/AAD+/wAAAQAAAAAA/////wAABAAAAAAA//8AAAEAAAAAAAAA/v8AAP//AAAAAAAAAAD//wAAAAD///////8BAAEAAAD/////AgABAAEA/v/+/wAAAQACAAEAAAD//wAAAwABAP//AgD+/wAA/v8AAAAAAAAA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////3////EgAAACUAGgAvAAUAHQD2/xIA9f/0//T/3P/4/8///f/h/wIA7f8AAAoAAQApAAQALQADACAAAgAPAP//9P///9r//f/T/wAA3f/9//D/AQAQAP//HAAHAC8ACQAfAPv/GAD+//f/+P/j/wEA0v/+/9n/AADq/wIABgD//x0AAQAuAAEAIwAAABQAAwD8/wEA3/8AAM//AADe////7f8BAAwA//8ZAAMALwAAACEA//8dAP3//v/9/+n////U//z/1v8BAOT/AAD+/wAAGwD+/ywA/v8kAAIAGAD///3////q/wEA0P///97/AADk/wAABAAAABUAAQAqAAEAKQAAABwAAAAFAP//6f8AANr////X/wAA4/8AAPj/AgAUAAAAKgD//ywAAAAcAP7/AQAAAOv/AADU/wAA2v8CAOP/AAABAAAAFgABABsAAAAqAAEAHwAAABQAAgDv/wEA3v///9H////f////7/8BAAoAAQApAAAALgD//yEAAQAIAAAA8P8BANr//v/V////4f8AAPf//v8UAAAAFAAAACYAAQAhAP7/GwD+//T/AADo/wIA1v8CANr/AgDp/wEABgAAAB8AAQAsAAEAJAAAAAwA///z/wEA3/8AANT/AADh/wEA9P///xQAAgASAAAAJQAAACEAAAAaAP//+v8BAOj////W////2P8BAOf///8DAAAAHwAAAC4AAAAlAAAAEgAAAPL/AQDm////0f8CAN3/AADr//7/EQD//xAAAQAhAAIAJQAAAB8AAAABAP//6v8CAN//AQDX/wAA4/8AAPr/AAAXAAAAKgABACgAAAAbAP///f8AAOj/AADU/wAA2v///+f/AQANAAMAEQD+/xwA/v8kAP7/IQABAAgA/v/p////5/8AANf/AQDd/wEA8v8BABMAAQAjAAAALgAAACAAAQADAAEA7f8BANn/AgDY//7/4P/+/wEAAAAXAAIAFAAFACUA/P8jAP//EgAAAO//AQDo////1/8AAN3/AADx//7/DgAAAB0AAQAoAAAAIwAAAAoAAQDv/wMA4f8AANn/AQDi/wEA+v///xgAAAAQAP3/IwD//yUA/v8XAAAA7/8AAOv/AADc/wAA3P/+/+v/AQALAAEAGgACACkAAAAkAP7/EAABAO/////q//7/1/8AANz/AgDw/wEAEgD//w8AAAAcAAIAJQAAAB0AAAD2////7P8AAOP/AgDa/wAA5P8BAAQAAQAWAAAAIgAAACMAAAAaAP//+P///+v/AQDZ/wAA2////+7/AAARAAAADgAAABYAAAAhAAAAIAABAPz/AQDt/wAA5P8AANr/AQDg/wEA/P8BABcAAAAhAP//KQD//xwAAAD8/wEA7v8AAN3////Z/wAA6f8BAA0AAAARAAEAEQAAACMAAAAgAAEA/f8CAO3/AADv/wAA3v8BANv////1////EgAAABkA//8nAAAAIgAAAAMAAADu/wAA6P8CANn/AQDg////BQD//xMAAQAOAP//IAABACYAAAAGAAAA6f////H/AADg/wEA2f8AAO3///8PAAAAFQACACQAAAAkAAEADQABAO//AADp/wAA2////9z/AQD7/wEAFgAAAAwAAQAXAP7/JQD9/xMAAADx/wAA8f8AAOr/AADc/wEA4/8BAAkAAAAVAAAAIQD//yYA//8UAAEA9P8BAOz/AADf/wAA3P8AAPP/AAAQAAAADQABAA0AAAAlAAEAGAD///H//v/0/wEA7v8CAN//AADg//3/BAACABUAAQAfAAAAJwABABgAAQD0//7/7f///+L/AADa/wIA8P///w4A//8SAAMACQAAACAAAQAgAP//+v////P////y/wEA4/8BANr/AQD9/wAAEwD//xkAAQAjAAAAIgABAPz////s/wAA6v8BANX/AQDr//7/BwABABMAAAAHAP//FwAAACYAAAD//wEA9P8BAPb/AQDu////2v8BAPn/AAATAP//FwD//yEAAAAjAAAAAgAAAOn/AQDr//7/2P8CAOT/AAABAP//FgABAAUAAQATAP//IwAAAAEAAgDy/wEA9/8AAPb/AADb/wAA6/8BABAAAAATAP7/IQAAACYA//8UAP//7/8AAPD/AADd/wEA3P/+//7///8OAAAACgAAAAgAAAAhAP//CQACAPT/AQD2/wAA9v///97////m/wIADgABABMAAQAfAP//JwAAABMAAADw/wAA8P///+r/AQDb/wAA9f8AAA8AAAARAAIABAD//wYA/v8HAAAAAQD//wMAAgAGAAAA7f8AAOz/AAALAP//DwACABQA//8bAAAAHgD///f/AADq/wEA6/8BANj//v/t/wAACAD+/xAAAgAEAAAABAABAAcAAQADAAAA//8AAAUA///1/wAA5f///wIAAAAOAAAAEAAAABsAAAAhAAAA/v8BAOj////y////3f8AAOf/AQAGAAEADAAAAAcA//8BAP//CQABAAMA//8BAP//BQAAAAAAAADo/wAA+/8AAAoAAAALAAAAFAAAACAAAQAGAAIA7f8BAPH/AADm/wMA3P8CAP7/AgASAP//CgD//wAAAAAIAP//BQD//wEAAAACAP7/BAAAAPz/AwD8////BAAAAAEA//8HAAAAHQAAAAgA/v/x//7/8f///+f/AQDg/////P///woAAAAMAP//AAABAAYA//8EAAAAAgAAAAUAAAACAAAAAwAAAAIAAAABAAAAAQABAAAAAgAcAP//DgD///T/AQDx/wAA9P8CAOH/AAD3/wAACQAAAAoAAQABAP//AwAAAAcAAAD+/wAAAgACAAEAAAD+////AwD+/wAAAAABAP//+v8BABEAAQATAAAA9f/+//L//f/z/wIA6f8AAPb/AQAFAP//DAAAAAAAAAAFAP//BQD//wEA//8DAAEAAQAAAP7///8AAAAA//8BAAIAAAD+/wAAEAABABYAAgD6/wEA8v8BAPX/AwDp/wAA8////wMA//8JAAEABAABAAEA//8FAAEA//8AAAMAAQACAP//AQAAAAEAAgAFAP//AQABAAAAAQAAAP//EQABAAAAAAD5/wEA+P8AAPr////6/wAA+/8BAAIA//8BAAAA//8CAAUA//8BAP7/AAABAAEAAgAAAAAAAwAAAAEA/v8DAAIAAAACAAQA//8TAAAA/P8BAPr////3//////8AAPz/AQD7/wEAAgD/////AAABAAEABAAAAP//////////AAAAAAAAAAADAAAAAwAAAAAA//8EAP///v/+/xAA//8HAAAA+/////j/AQD8////AAD///n///8AAAAA//8AAP////8DAP//AgAAAAAAAAACAAIAAAD+/wAAAQD//wAA/////wIAAgD9////CQACAAYA///9////+f8BAPr/AQAAAAIA/v///wAA//8AAAAAAAAAAAEAAAABAAAAAgAAAAEAAAAAAAEAAQABAAAAAgABAP//AAD//wEAAAD///////8BAAIAAQAAAAAA/v/+//////8BAAAAAQABAP//AAD///////8BAAAAAQABAP////8CAAEAAQD//wEA/v//////AQAAAAAAAAAAAAAAAAD9/wMA/////wAAAQD+/wEA/v/+//7/AQD//wMAAAAAAAAAAAABAAEA//////7/AAACAP3/AAD//wAAAQAAAP//AQD//wAAAAAAAAEA//8CAP//AAAAAAAA/v8AAAAA//8BAP//AAABAP//AAAAAP//AQD//wAAAQABAAAAAAABAAEA/v///wAAAAD//////////wAAAAAAAP//AAD////////8/wIAAAADAAEA/////wEA/v8BAP7/AgAAAAEAAgAAAP//AgD/////AQD//wEA//////7/AQD//wMAAAAAAAAA//8CAP//AQAAAP//AAACAAAAAAABAP//AQD+/wAA/////wAA/f///wAAAAAAAP7/AAAAAAAAAgD//wEAAQACAP//AAAAAAEAAQD//wAAAAAAAAAA//8BAAMA/v8AAP7/AQAAAAAAAQAAAAAA///+//7/AAAAAAAA//8BAP7/AQAAAP//AQABAAAAAQAAAP//AAD//wIA/v///wAAAQABAP//AAD//wEA//8BAP//AgAAAP///////wAAAQABAP//AwABAAAAAAAAAAAA/////wIAAwACAAAA/v8BAAAAAAAAAAAA//8AAP////8AAAAA/////wAA/////wEA/v8CAAEAAQD//wAAAAABAAAAAAD//wEAAQABAAAA//8CAAAAAAAAAP7/AAABAAAAAQABAAAAAgABAAAAAQD//wEAAwD+/wAA/v8AAAEAAAAAAAAAAAAAAAEAAAD//wMA/v///wAAAAACAAEAAAAAAP7///8DAAEAAQD//wEA/f8BAAEAAQD//wEAAQABAAMAAgAAAAEA//8AAP//BAAAAAIA/v//////AQABAAAAAAD//wEAAAACAAIAAQAAAAAAAgAAAAAAAAABAAIAAAABAAIAAQAAAP////8AAAAAAAD//wAAAQACAP//AAAAAAAAAQAAAAEA//8AAAAAAAD/////AQD//wAAAQD9////AQAAAAAA//8BAAAA///+/////v8BAAAAAQAAAAAAAAAAAAIA//8BAAAAAAACAP//AQD//wAAAAD/////AAD9/wAAAAACAAAAAgAAAAEAAQABAAEAAAAAAAEA//8AAAEAAQACAAAAAQAAAAEA//8BAAIAAAACAP//AAABAAAAAAAAAAAAAAD//wAAAQD/////AAAAAP////8AAAEAAAAAAP7///8BAAIAAQD//wEAAQAAAP//AgAAAAAAAAD//wAA//8CAP7/AQAAAP7/AAD+////AAAAAAAAAQABAAAA//8AAAEAAAABAP7/AAAAAP7/AAD+/wAAAQABAAEA/////////v8BAP///v///wIAAAAAAAAAAQAAAAIAAQAAAAAAAAABAAEAAAAAAAAAAAD//wEAAQD//wAAAQABAAAA/v/+/////////wAAAAD//wAAAAD/////AAAAAP7/AAD//wIA//8CAP//AQAAAP////8AAAAAAQABAP////8AAP//AQACAAAAAQAAAAAAAAAAAAAA//8BAAAAAAD+/wAA/v///wEAAAD+//7///8CAP7/AAABAP3/AwAAAAAAAAABAAIAAAABAAAAAQABAAIAAAAAAP//AAAAAAEAAAACAAEAAAACAAAAAAABAAAAAwAAAAAAAAD+/wAAAQD9//////8BAAAA/v8AAAAAAAAAAAAAAAD//wMA/v8BAAEAAQACAAAA/v8BAP//AwABAAIAAQABAP//AQAAAAEAAAAAAAEA//8AAAAAAAD/////AAABAAEAAAAAAP////8AAAAAAAAAAAAA/v8AAP//AQAAAP//AAABAAIAAQAAAAAAAgABAAAA/////wAAAQABAP//AQABAAEA/////wAAAAAAAAAAAAABAAEAAQAAAAAAAAAAAAAA//8AAP7/AQD9/wAAAgD//wEAAQABAAEA/v8AAAEA/////wAAAAAAAP//AAABAAAAAAAAAAAA//8CAP//AAABAAEAAQABAAAA//8BAAIAAgD//wAA/v8AAAEAAAD///7/AAAAAAEAAAABAAAAAQABAAAAAQACAAAA///+/wAAAQABAP7////+/wAA//8AAAAAAgAAAP//AQD9/wAAAAD//wAA//8AAAAAAQAAAAAAAQD//wAAAAAAAP//AQABAAAA/v8CAP//AAD///////8AAAAAAAACAAEA//8BAP7/AAAAAAEA//8BAAAAAQD//wAAAQD+/wAA/////wAAAAD//wAAAQABAAAA//8AAAEA/////wAA//8AAAAA/v/+/wEAAgABAP//AgD//wIA/////wAA//8AAAEAAQAAAAAAAQAAAAMAAAACAP//",showCount:!0},audio:{disabled:!0,defaultToggledOn:!1,language:"en-US",voiceNames:["Microsoft David - English (United States)","Alex (English - United States)"],rate:1,volume:1,icon:Df,iconDisabled:Cf},chatHistory:{disabled:!1,maxEntries:30,storageKey:"rcb-history",storageType:"LOCAL_STORAGE",viewChatHistoryButtonText:"Load Chat History ⟳",chatHistoryLineBreakText:"----- Previous Chat History -----",autoLoad:!1},chatInput:{disabled:!1,allowNewline:!1,enabledPlaceholderText:"Type your message...",disabledPlaceholderText:"",showCharacterCount:!1,characterLimit:-1,botDelay:1e3,sendButtonIcon:Pf,blockSpam:!0,sendOptionOutput:!0,sendCheckboxOutput:!0,buttons:[wt.VOICE_MESSAGE_BUTTON,wt.SEND_MESSAGE_BUTTON]},chatWindow:{showScrollbar:!1,showTypingIndicator:!0,autoJumpToBottom:!1,showMessagePrompt:!0,messagePromptText:"New Messages ↓",messagePromptOffset:30,defaultOpen:!1},sensitiveInput:{maskInTextArea:!0,maskInUserBubble:!0,asterisksCount:10,hideInUserBubble:!1},userBubble:{animate:!0,showAvatar:!1,avatar:"data:image/svg+xml,%3csvg%20width='140'%20height='140'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cy='60.044'%20cx='70'%20fill='%235c5c5c'%20r='29'/%3e%3cpath%20d='m16.36%20156.186-.01-30.5c-.005-16.844%2024.168-30.507%2053.991-30.516%2029.823-.009%2054.004%2013.64%2054.01%2030.484l.008%2030.5-108%20.032z'%20fill='%235c5c5c'/%3e%3c/svg%3e",simulateStream:!1,streamSpeed:30},botBubble:{animate:!0,showAvatar:!1,avatar:kc,simulateStream:!1,streamSpeed:30},voice:{disabled:!0,defaultToggledOn:!1,language:"en-US",timeoutPeriod:1e4,autoSendDisabled:!1,autoSendPeriod:1e3,sendAsAudio:!1,icon:Bf,iconDisabled:kf},footer:{text:f("div",{style:{cursor:"pointer",display:"flex",flexDirection:"row",alignItems:"center",columnGap:3},onClick:()=>window.open("https://react-chatbotify.com"),children:[f("span",{children:"Powered By "},0),f("div",{style:{borderRadius:"50%",width:14,height:14,display:"flex",justifyContent:"center",alignItems:"center",background:"linear-gradient(to right, #42b0c5, #491d8d)"},children:f(Dc,{style:{width:"80%",height:"80%",fill:"#fff"}})},1),f("span",{style:{fontWeight:"bold"},children:" React ChatBotify"},2)]}),buttons:[wt.FILE_ATTACHMENT_BUTTON,wt.EMOJI_PICKER_BUTTON]},fileAttachment:{disabled:!1,multiple:!0,accept:".png",icon:Cc,iconDisabled:Cc,sendFileName:!0,showMediaDisplay:!1},emoji:{disabled:!1,icon:Ec,iconDisabled:Ec,list:["😀","😃","😄","😅","😊","😌","😇","🙃","🤣","😍","🥰","🥳","🎉","🎈","🚀","⭐️"]},toast:{maxCount:3,forbidOnMax:!1,dismissOnClick:!0},event:{rcbPreInjectMessage:!1,rcbPostInjectMessage:!1,rcbStartSimulateStreamMessage:!1,rcbStopSimulateStreamMessage:!1,rcbStartStreamMessage:!1,rcbChunkStreamMessage:!1,rcbStopStreamMessage:!1,rcbRemoveMessage:!1,rcbLoadChatHistory:!1,rcbToggleChatWindow:!1,rcbStartSpeakAudio:!1,rcbToggleAudio:!1,rcbToggleNotifications:!1,rcbToggleVoice:!1,rcbChangePath:!1,rcbShowToast:!1,rcbDismissToast:!1,rcbUserSubmitText:!1,rcbUserUploadFile:!1,rcbTextAreaChangeValue:!1,rcbPreLoadChatBot:!1,rcbPostLoadChatBot:!1},ariaLabel:{chatButton:"open chat",audioButton:"toggle audio",closeChatButton:"close chat",emojiButton:"emoji picker",fileAttachmentButton:"upload file",notificationButton:"toggle notifications",sendButton:"send message",voiceButton:"toggle voice",inputTextArea:"input text area"},device:{desktopEnabled:!0,mobileEnabled:!0,applyMobileOptimizations:!0}},Mc=le({settings:{},setSettings:()=>null}),G=()=>Zt(Mc),Ef=({children:e,settings:t=Sc,setSettings:n})=>f(Mc.Provider,{value:{settings:t,setSettings:n},children:e}),Tc={tooltipStyle:{},notificationBadgeStyle:{},chatWindowStyle:{},headerStyle:{},bodyStyle:{},chatInputContainerStyle:{},chatInputAreaStyle:{},chatInputAreaFocusedStyle:{},chatInputAreaDisabledStyle:{},userBubbleStyle:{},botBubbleStyle:{},botOptionStyle:{},botOptionHoveredStyle:{},botCheckboxRowStyle:{},botCheckboxNextStyle:{},botCheckMarkStyle:{},botCheckMarkSelectedStyle:{},characterLimitStyle:{},characterLimitReachedStyle:{},chatHistoryLineBreakStyle:{},chatMessagePromptStyle:{},chatMessagePromptHoveredStyle:{},footerStyle:{},loadingSpinnerStyle:{},mediaDisplayContainerStyle:{},chatButtonStyle:{},chatHistoryButtonStyle:{},chatHistoryButtonHoveredStyle:{},sendButtonStyle:{},sendButtonHoveredStyle:{},sendButtonDisabledStyle:{},audioButtonStyle:{},audioButtonDisabledStyle:{},closeChatButtonStyle:{},emojiButtonStyle:{},emojiButtonDisabledStyle:{},fileAttachmentButtonStyle:{},fileAttachmentButtonDisabledStyle:{},notificationButtonStyle:{},notificationButtonDisabledStyle:{},voiceButtonStyle:{},voiceButtonDisabledStyle:{},chatIconStyle:{},audioIconStyle:{},audioIconDisabledStyle:{},closeChatIconStyle:{},emojiIconStyle:{},emojiIconDisabledStyle:{},fileAttachmentIconStyle:{},fileAttachmentIconDisabledStyle:{},notificationIconStyle:{},notificationIconDisabledStyle:{},voiceIconStyle:{},voiceIconDisabledStyle:{},sendIconStyle:{},sendIconDisabledStyle:{},sendIconHoveredStyle:{},rcbTypingIndicatorContainerStyle:{},rcbTypingIndicatorDotStyle:{},toastPromptContainerStyle:{},toastPromptStyle:{},toastPromptHoveredStyle:{}},Ic=le({styles:{},setStyles:()=>null}),At=()=>Zt(Ic),Sf=({children:e,styles:t=Tc,setStyles:n})=>f(Ic.Provider,{value:{styles:t,setStyles:n},children:e}),Mf=({buttons:e})=>{var t,n,i,o,r;const{settings:s}=G(),{styles:a}=At(),c={backgroundImage:`linear-gradient(to right, ${(t=s.general)==null?void 0:t.secondaryColor},
|
|
2
|
+
${(n=s.general)==null?void 0:n.primaryColor})`,...a.headerStyle};return f("div",{style:c,className:"rcb-chat-header-container",children:[f("div",{className:"rcb-chat-header",children:[((i=s.header)==null?void 0:i.showAvatar)&&f("div",{style:{backgroundImage:`url("${(o=s.header)==null?void 0:o.avatar}")`},className:"rcb-bot-avatar"}),(r=s.header)==null?void 0:r.title]}),f("div",{className:"rcb-chat-header",children:e==null?void 0:e.map((l,A)=>f(N,{children:l},A))})]})},Oc=le({}),St=()=>Zt(Oc),Tf=({children:e,botIdRef:t,flowRef:n})=>{const i=q(null),o=q(""),r=q(new Map),s=q(null),a=q(""),c=q(!1),l=q(null),A=q(null),d=q(null);return f(Oc.Provider,{value:{botIdRef:t,flowRef:n,inputRef:i,streamMessageMap:r,chatBodyRef:s,paramsInputRef:a,keepVoiceOnRef:c,audioContextRef:l,audioBufferRef:A,gainNodeRef:d,prevInputRef:o},children:e})},Qc=le({}),Et=()=>Zt(Qc),If=({children:e,settings:t})=>{var n,i,o,r,s,a;const[c,l]=R(!1),[A,d]=R(((n=t==null?void 0:t.chatWindow)==null?void 0:n.defaultOpen)??!1),[u,h]=R(((i=t==null?void 0:t.audio)==null?void 0:i.defaultToggledOn)??!1),[p,g]=R(((o=t==null?void 0:t.voice)==null?void 0:o.defaultToggledOn)??!1),[b,v]=R(((r=t==null?void 0:t.notification)==null?void 0:r.defaultToggledOn)??!0),[w,_]=R(!1),[m,y]=R(!1),[x,P]=R(!1),[C,B]=R(!0),[D,E]=R(!1),[S,I]=R(!1),[O,M]=R(!1),[T,Q]=R(0),[z,V]=R(0),[j,$]=R(!1),[K,tt]=R(null),[F,J]=R(((s=window.visualViewport)==null?void 0:s.height)??window.innerHeight),[ot,Ht]=R(((a=window.visualViewport)==null?void 0:a.width)??window.innerWidth);return f(Qc.Provider,{value:{isBotTyping:c,setIsBotTyping:l,isChatWindowOpen:A,setIsChatWindowOpen:d,audioToggledOn:u,setAudioToggledOn:h,voiceToggledOn:p,setVoiceToggledOn:g,notificationsToggledOn:b,setNotificationsToggledOn:v,isLoadingChatHistory:w,setIsLoadingChatHistory:_,hasChatHistoryLoaded:m,setHasChatHistoryLoaded:y,isScrolling:x,setIsScrolling:P,textAreaDisabled:C,setTextAreaDisabled:B,textAreaSensitiveMode:D,setTextAreaSensitiveMode:E,hasInteractedPage:S,setHasInteractedPage:I,hasFlowStarted:O,setHasFlowStarted:M,unreadCount:T,setUnreadCount:Q,inputLength:z,setInputLength:V,blockAllowsAttachment:j,setBlockAllowsAttachment:$,timeoutId:K,setTimeoutId:tt,viewportHeight:F,setViewportHeight:J,viewportWidth:ot,setViewportWidth:Ht},children:e})},Of=()=>{var e,t,n;const{settings:i}=G(),{styles:o}=At(),{unreadCount:r,isScrolling:s,setIsScrolling:a}=Et(),{chatBodyRef:c}=St(),[l,A]=R(!1),d={color:(e=i.general)==null?void 0:e.primaryColor,borderColor:(t=i.general)==null?void 0:t.primaryColor,...o.chatMessagePromptHoveredStyle},u=(p,g,b,v)=>(p/=v/2)<1?b/2*p*p+g:-b/2*(--p*(p-2)-1)+g;return f("div",{className:"rcb-message-prompt-container "+(c.current&&((h=i.chatWindow)!=null&&h.showMessagePrompt)&&s&&r>0?"visible":"hidden"),children:f("div",{onMouseEnter:()=>{A(!0)},onMouseLeave:()=>{A(!1)},style:l?d:{...o.chatMessagePromptStyle},onMouseDown:p=>{p.preventDefault(),function(g){if(!c.current)return;const b=c.current.scrollTop,v=c.current.scrollHeight-c.current.clientHeight-b;let w=0;(function _(){if(!c.current)return;w+=20;const m=u(w,b,v,g);c.current.scrollTop=m,w<g?requestAnimationFrame(_):a(!1)})()}(600)},className:"rcb-message-prompt-text",children:(n=i.chatWindow)==null?void 0:n.messagePromptText})});var h},Lc="rcb-start-speak-audio",Rc="rcb-toggle-audio",Hc="rcb-toggle-notifications",Fc="rcb-toggle-voice",zc="rcb-toggle-chat-window",Nc="rcb-pre-inject-message",jc="rcb-post-inject-message",Uc="rcb-start-simulate-stream-message",Vc="rcb-stop-simulate-stream-message",Wc="rcb-start-stream-message",Yc="rcb-chunk-stream-message",Kc="rcb-stop-stream-message",Qf="rcb-remove-message",qc="rcb-load-chat-history",Xc="rcb-change-path",Or="rcb-show-toast",Gc="rcb-dismiss-toast",Jc="rcb-user-submit-text",Zc="rcb-user-upload-file",$c="rcb-text-area-change-value",tl="rcb-pre-load-chatbot",el="rcb-post-load-chatbot",Lf={[Lc]:!0,[Rc]:!0,[Fc]:!0,[Hc]:!0,[zc]:!0,[Nc]:!0,[jc]:!1,[tl]:!0,[el]:!1,[Uc]:!0,[Vc]:!1,[Wc]:!0,[Yc]:!0,[Kc]:!0,[qc]:!0,[Xc]:!0,[Or]:!0,[Gc]:!0,[Jc]:!0,[Zc]:!0,[$c]:!0},Wi=async(e,t,n)=>{const i=new CustomEvent(e,{detail:t,cancelable:Lf[e]});return i.data=n,i.promises=[],window.dispatchEvent(i),await Promise.all(i.promises),i},nl=le({paths:[],setPaths:()=>null}),Qr=()=>Zt(nl),Rf=({children:e})=>{const[t,n]=R([]);return f(nl.Provider,{value:{paths:t,setPaths:n},children:e})},Yi=()=>{const{settings:e}=G(),{paths:t,setPaths:n}=Qr(),{setIsBotTyping:i,setTextAreaDisabled:o,setTextAreaSensitiveMode:r,blockAllowsAttachment:s,setBlockAllowsAttachment:a}=Et(),{botIdRef:c}=St(),l=X(()=>t.length>0?t[t.length-1]:null,[t]),A=X(()=>t.length>1?t[t.length-2]:null,[t]),d=X(async h=>{var p,g;if((p=e.event)!=null&&p.rcbChangePath){const b=l(),v=A(),w={botId:c.current,currPath:b,prevPath:v};if(event=await Wi(Xc,w,{currPath:b,prevPath:v,nextPath:h}),event.defaultPrevented)return!1}return i(!0),(g=e.chatInput)!=null&&g.blockSpam&&o(!0),r(!1),n(b=>[...b,h]),!0},[t,n,e]),u=X(h=>{n(h)},[]);return{getCurrPath:l,getPrevPath:A,goToPath:d,blockAllowsAttachment:s,setBlockAllowsAttachment:a,paths:t,replacePaths:u}},fe=()=>{const{getCurrPath:e,getPrevPath:t,paths:n}=(()=>{const{getCurrPath:o,getPrevPath:r,goToPath:s,paths:a,replacePaths:c}=Yi();return{getCurrPath:o,getPrevPath:r,goToPath:s,paths:a,replacePaths:c}})(),{botIdRef:i}=St();return{callRcbEvent:X(async(o,r)=>{const s={botId:i.current,currPath:e(),prevPath:t()};return await Wi(o,s,r)},[n])}},Te=()=>{const{settings:e}=G(),{isChatWindowOpen:t,setIsChatWindowOpen:n,viewportHeight:i,setViewportHeight:o,viewportWidth:r,setViewportWidth:s,setUnreadCount:a}=Et(),{callRcbEvent:c}=fe(),[l,A]=R(0),d=X(async()=>{var h;(h=e.event)!=null&&h.rcbToggleChatWindow&&(await c(zc,{currState:t,newState:!t})).defaultPrevented||n(p=>(p||a(0),!p))},[t]),u=X(async h=>{t!==h&&await d()},[t]);return{isChatWindowOpen:t,setIsChatWindowOpen:n,toggleChatWindow:d,openChat:u,chatScrollHeight:l,setChatScrollHeight:A,viewportHeight:i,setViewportHeight:o,viewportWidth:r,setViewportWidth:s}},il=le({messages:[],setMessages:()=>null}),Lr=()=>Zt(il),Hf=({children:e})=>{const[t,n]=R([]);return f(il.Provider,{value:{messages:t,setMessages:n},children:e})},Ff=({message:e,isNewSender:t})=>{var n,i,o,r,s,a;const{settings:c}=G(),{styles:l}=At(),A=typeof e.content=="string",d=e.content,u=e.contentWrapper?f(e.contentWrapper,{children:d}):d,h={backgroundColor:(n=c.general)==null?void 0:n.primaryColor,color:"#fff",maxWidth:(i=c.userBubble)!=null&&i.showAvatar?"65%":"70%",...l.userBubbleStyle},p=(o=c.userBubble)!=null&&o.animate?"rcb-user-message-entry":"",g=((r=c.userBubble)==null?void 0:r.showAvatar)&&t,b="rcb-user-message"+(!t&&(s=c.userBubble)!=null&&s.showAvatar?" rcb-user-message-offset":"");return f("div",{className:"rcb-user-message-container",children:[A?f("div",{style:h,className:`${b} ${p}`,children:u}):f(N,{children:u}),g&&f("div",{style:{backgroundImage:`url("${(a=c.userBubble)==null?void 0:a.avatar}")`},className:"rcb-message-user-avatar"})]})},zf=({message:e,isNewSender:t})=>{var n,i,o,r,s,a;const{settings:c}=G(),{styles:l}=At(),A=typeof e.content=="string",d=e.content,u=e.contentWrapper?f(e.contentWrapper,{children:d}):d,h={backgroundColor:(n=c.general)==null?void 0:n.secondaryColor,color:"#fff",maxWidth:(i=c.botBubble)!=null&&i.showAvatar?"65%":"70%",...l.botBubbleStyle},p=(o=c.botBubble)!=null&&o.animate?"rcb-bot-message-entry":"",g=((r=c.botBubble)==null?void 0:r.showAvatar)&&t,b="rcb-bot-message"+(!t&&(s=c.botBubble)!=null&&s.showAvatar?" rcb-bot-message-offset":"");return f("div",{className:"rcb-bot-message-container",children:[g&&f("div",{style:{backgroundImage:`url("${(a=c.botBubble)==null?void 0:a.avatar}")`},className:"rcb-message-bot-avatar"}),A?f("div",{style:h,className:`${b} ${p}`,children:u}):f(N,{children:u})]})},Nf=()=>{var e,t,n;const{settings:i}=G(),{styles:o}=At(),r=(e=i.botBubble)!=null&&e.animate?"rcb-bot-message-entry":"";return f("div",{className:"rcb-bot-message-container",children:[((t=i.botBubble)==null?void 0:t.showAvatar)&&f("div",{style:{backgroundImage:`url("${(n=i.botBubble)==null?void 0:n.avatar}")`},className:"rcb-message-bot-avatar"}),f("div",{onMouseDown:s=>{s.preventDefault()},className:`rcb-bot-message ${r}`,children:f("div",{className:"rcb-typing-indicator",style:{...o==null?void 0:o.rcbTypingIndicatorContainerStyle},children:[f("span",{className:"rcb-dot",style:{...o==null?void 0:o.rcbTypingIndicatorDotStyle}}),f("span",{className:"rcb-dot",style:{...o==null?void 0:o.rcbTypingIndicatorDotStyle}}),f("span",{className:"rcb-dot",style:{...o==null?void 0:o.rcbTypingIndicatorDotStyle}})]})})]})},jf=({setChatScrollHeight:e})=>{var t,n,i;const{settings:o}=G(),{styles:r}=At(),{messages:s}=Lr(),{isChatWindowOpen:a}=Te(),{isBotTyping:c,isScrolling:l,setIsScrolling:A,setUnreadCount:d}=Et(),{chatBodyRef:u}=St(),h={...r==null?void 0:r.bodyStyle,scrollbarWidth:(t=o.chatWindow)!=null&&t.showScrollbar?"auto":"none"};return et(()=>{u.current&&(e(u.current.scrollHeight),l||(u.current.scrollTop=u.current.scrollHeight))},[(n=u.current)==null?void 0:n.scrollHeight]),f("div",{style:h,className:"rcb-chat-body-container",ref:u,onScroll:()=>{var p,g;if(!u.current)return;e(u.current.scrollHeight);const{scrollTop:b,clientHeight:v,scrollHeight:w}=u.current,_=b+v<w-(((p=o.chatWindow)==null?void 0:p.messagePromptOffset)??30);A(_),_||(b+v>=w-1&&(u.current.scrollTop=w-v-1),(a||(g=o.general)!=null&&g.embedded)&&d(0))},children:[s.map((p,g)=>{const b=(v=>v===0||s[v].sender!==s[v-1].sender)(g);return p.sender.toUpperCase()==="USER"?f(Ff,{message:p,isNewSender:b},g):p.sender.toUpperCase()==="BOT"?f(zf,{message:p,isNewSender:b},g):f("div",{children:p.content},g)}),c&&((i=o.chatWindow)==null?void 0:i.showTypingIndicator)&&f(Nf,{}),f(Of,{})]})},Uf=({checkboxes:e,checkedItems:t,path:n})=>{var i,o,r,s,a,c,l,A,d,u,h;const{settings:p}=G(),{styles:g}=At(),{paths:b}=Qr(),{handleSubmitText:v}=Dn(),[w,_]=R(new Set),[m,y]=R(!1),x={cursor:m?`url("${(i=p.general)==null?void 0:i.actionDisabledIcon}"), auto`:"pointer",color:(o=p.general)==null?void 0:o.primaryColor,borderColor:(r=p.general)==null?void 0:r.primaryColor,...g.botCheckboxRowStyle},P={cursor:m||w.size<e.min?`url("${(s=p.general)==null?void 0:s.actionDisabledIcon}"), auto`:"pointer",color:(a=p.general)==null?void 0:a.primaryColor,borderColor:(c=p.general)==null?void 0:c.primaryColor,...g.botCheckboxNextStyle},C={cursor:m?`url("${(l=p.general)==null?void 0:l.actionDisabledIcon}"), auto`:"pointer",color:"transparent",...g.botCheckMarkStyle},B={cursor:m?`url("${(A=p.general)==null?void 0:A.actionDisabledIcon}"), auto`:"pointer",color:"#fff",borderColor:(d=p.general)==null?void 0:d.primaryColor,backgroundColor:(u=p.general)==null?void 0:u.primaryColor,...g.botCheckMarkSelectedStyle};return et(()=>{b.length>0&&b[b.length-1]!==n&&y(!e.reusable)},[b]),f("div",{className:"rcb-checkbox-container "+((h=p.botBubble)!=null&&h.showAvatar?"rcb-checkbox-offset":""),children:[e.items.map(D=>f("div",{onMouseDown:E=>{E.preventDefault(),(S=>{m||_(I=>{const O=new Set(I);if(O.has(S))t.delete(S),O.delete(S);else{if(w.size==e.max)return I;t.add(S),O.add(S)}return O})})(D)},style:x,className:"rcb-checkbox-row-container",children:f("div",{className:"rcb-checkbox-row",children:[f("div",{style:w.has(D)?B:C,className:"rcb-checkbox-mark"}),f("div",{className:"rcb-checkbox-label",children:D})]})},D)),f("div",{style:P,className:"rcb-checkbox-next-button",onMouseDown:D=>{var E;if(D.preventDefault(),m||w.size<e.min)return;const S=Array.from(t).join(", ");let I;y(!e.reusable),I=e.sendOutput!=null?e.sendOutput:((E=p.chatInput)==null?void 0:E.sendCheckboxOutput)??!0,v(S,I)}})]})},Vf=async(e,t)=>{const n=e.checkboxes;if(!n)return;let i;if(typeof n=="function"?(i=n(t),i instanceof Promise&&(i=await i)):i=n,Array.isArray(i)&&(i={items:i}),!("items"in i)||i.items.length==0)return;i.min==null&&(i.min=1),i.max==null&&(i.max=i.items.length),i.min>i.max&&(i.min=i.max),i.reusable==null&&(i.reusable=!1);const o=new Set,r=t.currPath,s=f(Uf,{checkboxes:i,checkedItems:o,path:r});await t.injectMessage(s)},Wf=async(e,t)=>{const n=e.function;if(!n)return;const i=n(t);return i instanceof Promise?await i:i},Yf=async(e,t,n)=>{const i=e.message;if(!i)return;if(typeof i=="string")return void(i.trim()!==""&&(n?await t.simulateStreamMessage(i):await t.injectMessage(i)));let o=i(t);o instanceof Promise&&(o=await o),o&&o.trim()!==""&&(n?await t.simulateStreamMessage(o):await t.injectMessage(o))},Kf=({options:e,path:t})=>{var n,i,o,r,s,a;const{settings:c}=G(),{styles:l}=At(),{paths:A}=Qr(),{handleSubmitText:d}=Dn(),[u,h]=R([]),[p,g]=R(!1),b={cursor:p?`url("${(n=c.general)==null?void 0:n.actionDisabledIcon}"), auto`:"pointer",color:(i=c.general)==null?void 0:i.primaryColor,borderColor:(o=c.general)==null?void 0:o.primaryColor,backgroundColor:"#fff",...l.botOptionStyle},v={color:"#fff",borderColor:(r=c.general)==null?void 0:r.primaryColor,backgroundColor:(s=c.general)==null?void 0:s.primaryColor,...l.botOptionHoveredStyle};return et(()=>{A.length>0&&A[A.length-1]!==t&&g(!e.reusable)},[A]),f("div",{className:"rcb-options-container "+((a=c.botBubble)!=null&&a.showAvatar?"rcb-options-offset":""),children:e.items.map((w,_)=>{const m=u[_]&&!p;return f("div",{className:"rcb-options",style:m?v:b,onMouseEnter:()=>(y=>{h(x=>{const P=[...x];return P[y]=!0,P})})(_),onMouseLeave:()=>(y=>{h(x=>{const P=[...x];return P[y]=!1,P})})(_),onMouseDown:y=>{var x;if(y.preventDefault(),p)return;let P;g(!e.reusable),P=e.sendOutput!=null?e.sendOutput:((x=c.chatInput)==null?void 0:x.sendOptionOutput)??!0,d(w,P)},children:w},w)})})},qf=async(e,t)=>{const n=e.options;if(!n)return;let i;if(typeof n=="function"?(i=n(t),i instanceof Promise&&(i=await i)):i=n,Array.isArray(i)&&(i={items:i}),!("items"in i)||i.items.length==0)return;i.reusable==null&&(i.reusable=!1);const o=t.currPath,r=f(Kf,{options:i,path:o});await t.injectMessage(r)},Xf=async(e,t)=>{const n=e.component;if(n){if(typeof n=="function"){let i=n(t);return i instanceof Promise&&(i=await i),i?void await t.injectMessage(i):void 0}await t.injectMessage(n)}},Gf=async(e,t,n)=>{const i=t.currPath,o=e[i];if(!o)throw new Error("block is not valid.");const r=o.transition;let s;if(typeof r=="function"?(s=r(t),s instanceof Promise&&(s=await s)):s=r,typeof s=="number"&&(s={duration:s}),!s||s instanceof Promise||s.duration==null||typeof s.duration!="number")return;s.interruptable==null&&(s.interruptable=!1);const a=setTimeout(async()=>{await rl(e,t)},s.duration);s.interruptable&&n(a)},Jf=async(e,t,n)=>{const i=e.chatDisabled;if(i==null)return;let o;typeof i=="function"?(o=i(t),o instanceof Promise&&(o=await o)):o=i,n(o)},ol=async(e,t,n)=>{const i=e.isSensitive;if(!i)return void n(!1);let o;typeof i=="function"?(o=i(t),o instanceof Promise&&(o=await o)):o=i,n(o)},rl=async(e,t)=>{const n=e[t.currPath];if(!n)throw new Error("Block is not valid.");const i=Object.keys(n);for(const o of i)o==="function"&&await Wf(n,t);return!!i.includes("path")&&await(async(o,r)=>{const s=o.path;if(!s)return!1;if(typeof s=="string")return await r.goToPath(s),!0;let a=s(r);if(a instanceof Promise&&(a=await a),!a)return!1;const c=a;return await r.goToPath(c),!0})(n,t)},Zf=()=>{var e;const{settings:t}=G(),{styles:n}=At();return f("div",{className:"rcb-line-break-container",children:f("div",{style:{...n.chatHistoryLineBreakStyle},className:"rcb-line-break-text","data-testid":"chat-history-line-break-text",children:(e=t.chatHistory)==null?void 0:e.chatHistoryLineBreakText})})},$f=()=>{var e;const{settings:t}=G(),{styles:n}=At(),i={borderTop:`4px solid ${(e=t.general)==null?void 0:e.primaryColor}`,...n.loadingSpinnerStyle};return f("div",{className:"rcb-spinner-container",children:f("div",{style:i,className:"rcb-spinner"})})},Ki=()=>{try{if(typeof crypto<"u"&&typeof crypto.randomUUID=="function")return crypto.randomUUID();throw new Error("crypto.randomUUID not available")}catch(e){if(typeof crypto<"u"&&typeof crypto.getRandomValues=="function")return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){const n=crypto.getRandomValues(new Uint8Array(1))[0]%16;return(t==="x"?n:3&n|8).toString(16)});throw console.error(e),new Error("crypto.getRandomValues is also not available")}},Ve=(e,t)=>({id:Ki(),content:e,sender:t,type:typeof e=="string"?"string":"object",timestamp:new Date().toUTCString(),tags:[]});let We,sl=!1,qi="rcb-history",Xi=30,al=!1,Gi=[];const Rr=async e=>{if(al||!We)return;const t=[],n=sl?Gi.length:0;for(let o=e.length-1;o>=n;o--){const r=e[o];if(r.sender.toUpperCase()==="SYSTEM"||(r.content!==""&&t.unshift(r),t.length===Xi))break}let i=t.map(np);if(i.length<Xi){const o=Xi-i.length;i=[...Gi.slice(-o),...i]}tp(i)},cl=()=>Gi,tp=e=>{We&&We.setItem(qi,JSON.stringify(e))},ep=e=>{var t,n,i,o,r;We=((n=(t=e.chatHistory)==null?void 0:t.storageType)==null?void 0:n.toUpperCase())==="SESSION_STORAGE"?sessionStorage:localStorage,qi=(i=e.chatHistory)==null?void 0:i.storageKey,Xi=(o=e.chatHistory)==null?void 0:o.maxEntries,al=(r=e.chatHistory)==null?void 0:r.disabled,Gi=(s=>{if(s!=null)try{return JSON.parse(s)}catch{return[]}return[]})(We.getItem(qi))},np=e=>Bn(e.content)?structuredClone({id:e.id,content:wf.renderToString(e.content),type:e.type,sender:e.sender.toUpperCase(),timestamp:e.timestamp,tags:e.tags}):e,ll=(e,t,n)=>{const i=new DOMParser().parseFromString(e,"text/html");return Array.from(i.body.childNodes).map((o,r)=>{var s;if(o.nodeType===Node.TEXT_NODE)return o.textContent;{const a=o.tagName.toLowerCase();let c=Array.from(o.attributes).reduce((l,A)=>{const d=A.name.toLowerCase();if(d==="style"){const u=A.value.split(";").filter(p=>p.trim()!==""),h={};u.forEach(p=>{const[g,b]=p.split(":").map(w=>w.trim()),v=g.replace(/-([a-z])/g,(w,_)=>_.toUpperCase());h[v]=b}),l[d]=h}else a!=="audio"&&a!=="video"||d!=="controls"||A.value!==""?l[d]=A.value:l[d]="true";return l},{});if(Object.prototype.hasOwnProperty.call(c,"class")){const l=o.classList;c.className=l.toString(),delete c.class,(s=t.botBubble)!=null&&s.showAvatar&&(c=ip(l,c)),c=op(l,c,t,n),c=rp(l,c,t,n),c=sp(l,c,t,n),c=ap(l,c,t,n)}if(["area","base","br","col","embed","hr","img","input","link","meta","source","track","wbr"].includes(a))return Y(a,{key:r,...c});{const l=ll(o.innerHTML,t,n);return Y(a,{key:r,...c},...l)}}})},ip=(e,t)=>((e.contains("rcb-options-container")||e.contains("rcb-checkbox-container"))&&(t.className=`${e.toString()} rcb-options-offset`),t),op=(e,t,n,i)=>{var o,r,s,a,c;return e.contains("rcb-options")&&(t.style={...t.style,color:((o=i.botOptionStyle)==null?void 0:o.color)??((r=n.general)==null?void 0:r.primaryColor),borderColor:((s=i.botOptionStyle)==null?void 0:s.color)??((a=n.general)==null?void 0:a.primaryColor),cursor:`url("${(c=n.general)==null?void 0:c.actionDisabledIcon}"), auto`,...i.botOptionStyle}),t},rp=(e,t,n,i)=>{var o,r,s,a,c;return e.contains("rcb-checkbox-row-container")&&(t.style={...t.style,color:((o=i.botCheckboxRowStyle)==null?void 0:o.color)??((r=n.general)==null?void 0:r.primaryColor),borderColor:((s=i.botCheckboxRowStyle)==null?void 0:s.color)??((a=n.general)==null?void 0:a.primaryColor),cursor:`url("${(c=n.general)==null?void 0:c.actionDisabledIcon}"), auto`,...i.botCheckboxRowStyle}),t},sp=(e,t,n,i)=>{var o,r,s,a,c;return e.contains("rcb-checkbox-next-button")&&(t.style={...t.style,color:((o=i.botCheckboxNextStyle)==null?void 0:o.color)??((r=n.general)==null?void 0:r.primaryColor),borderColor:((s=i.botCheckboxNextStyle)==null?void 0:s.color)??((a=n.general)==null?void 0:a.primaryColor),cursor:`url("${(c=n.general)==null?void 0:c.actionDisabledIcon}"), auto`,...i.botCheckboxNextStyle}),t},ap=(e,t,n,i)=>{var o,r;return(e.contains("rcb-media-display-image-container")||e.contains("rcb-media-display-video-container"))&&(t.style={...t.style,backgroundColor:(o=n.general)==null?void 0:o.primaryColor,maxWidth:(r=n.userBubble)!=null&&r.showAvatar?"65%":"70%",...i.mediaDisplayContainerStyle}),t},Al=e=>{if(!e)return!1;const t=e.getBoundingClientRect(),n=window.innerHeight??document.documentElement.clientHeight,i=window.innerWidth??document.documentElement.clientWidth;return t.top>=0&&t.left>=0&&t.bottom<=n&&t.right<=i},Hr=()=>{const{settings:e}=G(),{notificationsToggledOn:t,setNotificationsToggledOn:n,hasInteractedPage:i,unreadCount:o,setUnreadCount:r}=Et(),{audioBufferRef:s,audioContextRef:a,gainNodeRef:c}=St(),{callRcbEvent:l}=fe(),A=X(async()=>{var h,p;const g=(h=e.notification)==null?void 0:h.sound;a.current=new AudioContext;const b=a.current.createGain();let v;if(b.gain.value=((p=e.notification)==null?void 0:p.volume)??.2,c.current=b,g!=null&&g.startsWith("data:audio")){const w=atob(g.split(",")[1]),_=new ArrayBuffer(w.length),m=new Uint8Array(_);for(let y=0;y<w.length;y++)m[y]=w.charCodeAt(y);v=_}else v=await(await fetch(g)).arrayBuffer();s.current=await a.current.decodeAudioData(v)},[e.notification]),d=X(()=>{var h;if((h=e.notification)!=null&&h.disabled||!t||!i||!a.current||!s.current)return;const p=a.current.createBufferSource();p.buffer=s.current,p.connect(c.current).connect(a.current.destination),p.start()},[e.notification,t,i,a,s,c]),u=X(async()=>{var h;(h=e.event)!=null&&h.rcbToggleNotifications&&(await l(Hc,{currState:t,newState:!t})).defaultPrevented||n(p=>!p)},[t]);return{unreadCount:o,setUnreadCount:r,notificationsToggledOn:t,toggleNotifications:u,playNotificationSound:d,setUpNotifications:A}},cp=(e,t)=>{var n,i,o,r;((s,a,c,l,A)=>{if(!window.SpeechSynthesisUtterance)return void console.info("Speech Synthesis API is not supported in this environment.");const d=new window.SpeechSynthesisUtterance;d.text=s,d.lang=a,d.rate=l,d.volume=A;let u=!1;for(const h of c)if(window.speechSynthesis.getVoices().find(p=>{if(p.name===h)return d.voice=p,window.speechSynthesis.speak(d),void(u=!0)}),u)break;u||window.speechSynthesis.speak(d)})(t,(n=e.audio)==null?void 0:n.language,(i=e.audio)==null?void 0:i.voiceNames,(o=e.audio)==null?void 0:o.rate,(r=e.audio)==null?void 0:r.volume)},dl=()=>{const{settings:e}=G(),{audioToggledOn:t,setAudioToggledOn:n}=Et(),{callRcbEvent:i}=fe(),o=X(async()=>{var s;(s=e.event)!=null&&s.rcbToggleAudio&&(await i(Rc,{currState:t,newState:!t})).defaultPrevented||n(a=>!a)},[t]),r=X(async s=>{var a,c;if((a=e.audio)!=null&&a.disabled||!t)return;let l=s;if((c=e.event)!=null&&c.rcbStartSpeakAudio){const A=await i(Lc,{textToRead:l});if(A.defaultPrevented)return;l=A.data.textToRead}cp(e,l)},[e,t]);return{audioToggledOn:t,speakAudio:r,toggleAudio:o}},Ji=()=>{var e,t,n,i;const{settings:o}=G(),{messages:r,setMessages:s}=Lr(),a=q(r);et(()=>{a.current=r},[r]);const{audioToggledOn:c,isChatWindowOpen:l,isScrolling:A,setIsBotTyping:d,setUnreadCount:u}=Et(),{streamMessageMap:h,chatBodyRef:p}=St(),{callRcbEvent:g}=fe(),{speakAudio:b}=dl(),{playNotificationSound:v}=Hr(),w=X(async(B,D="BOT",E=null)=>{var S,I,O,M,T;if(typeof B!="string")throw new Error("Content must be of type string to simulate stream.");D=D.toUpperCase();let Q=Ve(B,D);if((S=o.event)!=null&&S.rcbStartSimulateStreamMessage){const F=await g(Uc,{message:Q});if(F.defaultPrevented)return null;E=F.data.simulateStreamChunker?F.data.simulateStreamChunker:E,Q=F.data.message}d(!1);let z=30;z=(I=o.botBubble)!=null&&I.streamSpeed?(O=o.botBubble)==null?void 0:O.streamSpeed:(M=o.userBubble)==null?void 0:M.streamSpeed;const V={...Q,content:""};s(F=>{const J=[...F,V];return P(J),J});let j=Q.content;E&&(j=E(j));let $=0;const K=j.length,tt=new Promise(F=>{const J=setInterval(()=>{if($>=K)return clearInterval(J),void F();s(ot=>{const Ht=[...ot];for(let It=Ht.length-1;It>=0;It--)if(Ht[It].id===V.id){const ue=j[$];ue&&(V.content+=ue,Ht[It]=V),$++;break}return Ht})},z)});return u(F=>F+1),await tt,Rr(r),(T=o.event)!=null&&T.rcbStopSimulateStreamMessage&&(await g(Vc,{message:Q})).defaultPrevented,Q.id},[o,r,g]),_=X(async(B,D="BOT")=>{var E,S,I;D=D.toUpperCase();let O=Ve(B,D);if((E=o.event)!=null&&E.rcbPreInjectMessage){const M=await g(Nc,{message:O});if(M.defaultPrevented)return null;O=M.data.message}return O.sender.toUpperCase()==="BOT"&&(l||(S=o.general)!=null&&S.embedded)&&typeof O.content=="string"&&O.content.trim()!==""&&b(O.content),u(M=>M+1),(I=o.event)!=null&&I.rcbPostInjectMessage&&await g(jc,{message:O}),s(M=>{const T=[...M,O];return P(T),T}),O.id},[o,c,l,g]),m=X(async B=>{var D;const E=a.current.find(S=>S.id===B);return!E||(D=o.event)!=null&&D.rcbRemoveMessage&&(await g(Qf,{message:E})).defaultPrevented?null:(s(S=>{const I=S.filter(O=>O.id!==B);return P(I),I}),u(S=>Math.max(S-1,0)),B)},[g,(e=o.event)==null?void 0:e.rcbRemoveMessage]),y=X(async(B,D="BOT")=>{var E,S;if(D=D.toUpperCase(),!h.current.has(D)){const O=Ve(B,D);return(E=o.event)!=null&&E.rcbStartStreamMessage&&(await g(Wc,{message:O})).defaultPrevented?null:(d(!1),s(M=>{const T=[...M,O];return P(T),[...M,O]}),h.current.set(D,O.id),u(M=>M+1),O.id)}const I={...Ve(B,D),id:h.current.get(D)};return(S=o.event)!=null&&S.rcbChunkStreamMessage&&(await g(Yc,{message:I})).defaultPrevented?null:(s(O=>{const M=[...O];for(let T=M.length-1;T>=0;T--)if(M[T].id===I.id){M[T]=I;break}return P(M),M}),h.current.get(D)??null)},[g,(t=o.event)==null?void 0:t.rcbChunkStreamMessage,(n=o.event)==null?void 0:n.rcbStartStreamMessage,h]),x=X(async(B="BOT")=>{var D;if(B=B.toUpperCase(),!h.current.has(B))return!0;const E=h.current.get(B),S=a.current.find(I=>I.id===E);return((D=o.event)==null||!D.rcbStopStreamMessage||!(await g(Kc,{messageToEndStreamFor:S})).defaultPrevented)&&(h.current.delete(B),Rr(a.current),!0)},[g,(i=o.event)==null?void 0:i.rcbStopStreamMessage,h]),P=B=>{var D,E;Rr(B);let S=!0;(B.length===0||l&&!A)&&(S=!1),(D=o.general)!=null&&D.embedded&&Al(p.current)&&(S=!1);const I=B[B.length-1];(!I||I.sender.toUpperCase()==="USER")&&(S=!1),S&&v(),((E=o.chatWindow)!=null&&E.autoJumpToBottom||!A)&&setTimeout(()=>{p!=null&&p.current&&(p.current.scrollTop=p.current.scrollHeight)},1)},C=X(B=>{P(B),s(B)},[P]);return{endStreamMessage:x,injectMessage:_,removeMessage:m,simulateStreamMessage:w,streamMessage:y,messages:r,replaceMessages:C}};let Fr,pe,Zi,Ye=!1,ge=null;const zr=()=>{if(!Fr){const e=window.SpeechRecognition||window.webkitSpeechRecognition;Fr=e!=null?new e:null}return Fr},lp=(e,t,n,i,o,r)=>{var s,a,c;const l=zr();if(!l)return;if(!Ye)try{Ye=!0,l.lang=(s=e.voice)==null?void 0:s.language,l.start()}catch{}const A=(a=e.voice)==null?void 0:a.timeoutPeriod,d=(c=e.voice)==null?void 0:c.autoSendPeriod;l.onresult=u=>{var h,p;clearTimeout(pe),pe=null,clearTimeout(Zi);const g=u.results[u.results.length-1][0].transcript;if(r.current){const b=(h=e.chatInput)==null?void 0:h.characterLimit,v=r.current.value+g;b!=null&&b>=0&&v.length>b?i(v.slice(0,b)):i(v),o(r.current.value.length)}A&&(pe=setTimeout(async()=>await jr(t,r),A)),(p=e.voice)!=null&&p.autoSendDisabled||(Zi=setTimeout(n,d))},l.onend=()=>{Ye?(l.start(),!pe&&A&&(pe=setTimeout(async()=>await jr(t,r),A))):(clearTimeout(pe),pe=null,clearTimeout(Zi))},A&&(pe=setTimeout(async()=>await jr(t,r),A))},Ap=(e,t)=>{navigator.mediaDevices.getUserMedia({audio:!0}).then(n=>{if(ge=new MediaRecorder(n),!Ye)try{Ye=!0,ge.start()}catch{}ge.ondataavailable=i=>{t.current&&t.current.push(i.data)},ge.onstop=()=>{e(),n.getTracks().forEach(i=>i.stop())}}).catch(n=>{console.error("Unable to use microphone:",n)})},Nr=()=>{const e=zr();e&&(Ye=!1,e&&e.stop(),ge&&ge.state!=="inactive"&&(ge.stop(),ge=null),clearTimeout(pe),pe=null,clearTimeout(Zi))},jr=async(e,t)=>{var n;(n=t.current)!=null&&n.disabled||await e(),Nr()},Ur=()=>{const{settings:e}=G(),{voiceToggledOn:t,setVoiceToggledOn:n}=Et(),{callRcbEvent:i}=fe(),o=X(async()=>{var s;(s=e.event)!=null&&s.rcbToggleVoice&&(await i(Fc,{currState:t,newState:!t})).defaultPrevented||n(a=>!a)},[t]),r=X(s=>{((a,c)=>{var l,A,d;const u=zr();(l=c.voice)!=null&&l.disabled||(A=c.chatInput)==null||!A.blockSpam||!u||(a&&!Ye?(Ye=!0,(d=c.voice)!=null&&d.sendAsAudio?ge==null||ge.start():u.start()):a||Nr())})(s,e)},[e]);return{voiceToggledOn:t,toggleVoice:o,syncVoice:r}},kn=()=>{const{settings:e}=G(),{inputLength:t,setInputLength:n,textAreaDisabled:i,setTextAreaDisabled:o,textAreaSensitiveMode:r,setTextAreaSensitiveMode:s}=Et(),{inputRef:a,chatBodyRef:c,prevInputRef:l}=St(),{callRcbEvent:A}=fe(),d=X(async w=>{var _,m,y;if(i&&a.current)a.current.value="";else if(a.current&&l.current!==null){const x=(_=e.chatInput)==null?void 0:_.characterLimit,P=(m=e.chatInput)!=null&&m.allowNewline?w:w.replace(/\n/g," ");if(x!=null&&x>=0&&P.length>x?a.current.value=P.slice(0,x):a.current.value=P,(y=e.event)!=null&&y.rcbTextAreaChangeValue&&(await A($c,{currValue:a.current.value,prevValue:l.current})).defaultPrevented)return void(a.current.value=l.current);l.current=a.current.value}},[i,a,l,e,A]),u=X(w=>{var _;(_=a.current)!=null&&_.disabled||setTimeout(()=>{var m,y,x;(m=e.general)!=null&&m.embedded?Al(c==null?void 0:c.current)&&((y=a.current)==null||y.focus()):w!=="start"&&((x=a.current)==null||x.focus())},100)},[]),h=X(()=>{!i&&a.current&&a.current.focus()},[i]),p=X(()=>{a.current&&a.current.blur()},[]),g=X(()=>a&&a.current?a.current.value:"",[]),b=X(()=>{o(w=>!w)},[]),v=X(()=>{s(w=>!w)},[]);return{textAreaDisabled:i,setTextAreaDisabled:o,textAreaSensitiveMode:r,setTextAreaSensitiveMode:s,inputLength:t,setInputLength:n,getTextAreaValue:g,setTextAreaValue:d,updateTextAreaFocus:u,focusTextArea:h,blurTextArea:p,toggleTextAreaDisabled:b,toggleTextAreaSensitiveMode:v}},ul=le({toasts:[],setToasts:()=>null}),hl=()=>Zt(ul),dp=({children:e})=>{const[t,n]=R([]);return f(ul.Provider,{value:{toasts:t,setToasts:n},children:e})},$i=()=>{const{settings:e}=G(),{toasts:t,setToasts:n}=hl(),{callRcbEvent:i}=fe(),o=q(t);et(()=>{o.current=t},[t]);const r=X(async(c,l)=>{var A,d,u,h;let p=null;if(o.current.length>=(((A=e.toast)==null?void 0:A.maxCount)??3)){if((d=e.toast)!=null&&d.forbidOnMax)return null;p=Ki();let b={id:p,content:c,timeout:l};if((u=e.event)!=null&&u.rcbShowToast){const v=await i(Or,{toast:b});if(v.defaultPrevented)return null;b=v.data.toast}return n(v=>[...v.slice(1),b]),p}p=Ki();let g={id:p,content:c,timeout:l};if((h=e.event)!=null&&h.rcbShowToast){const b=await i(Or,{toast:g});if(b.defaultPrevented)return null;g=b.data.toast}return n(b=>[...b,g]),p},[e,i,n]),s=X(async c=>{var l;const A=t.find(d=>d.id===c);return!A||(l=e.event)!=null&&l.rcbDismissToast&&(await i(Gc,{toast:A})).defaultPrevented?null:(n(d=>d.filter(u=>u.id!==c)),c)},[i,n]),a=X(c=>{n(c)},[]);return{showToast:r,dismissToast:s,toasts:t,replaceToasts:a}},Dn=()=>{var e,t,n,i;const{settings:o}=G(),{endStreamMessage:r,injectMessage:s,removeMessage:a,simulateStreamMessage:c,streamMessage:l}=Ji(),{getCurrPath:A,getPrevPath:d,goToPath:u}=Yi(),{timeoutId:h,voiceToggledOn:p,setTextAreaSensitiveMode:g,textAreaSensitiveMode:b,setTextAreaDisabled:v,setIsBotTyping:w,setBlockAllowsAttachment:_,setInputLength:m}=Et(),{flowRef:y,chatBodyRef:x,inputRef:P,keepVoiceOnRef:C,paramsInputRef:B}=St(),{showToast:D,dismissToast:E}=$i(),{callRcbEvent:S}=fe(),{syncVoice:I}=Ur(),{setTextAreaValue:O}=kn(),{openChat:M}=Te(),T=X(async z=>{var V,j,$,K,tt,F;const J=A();if(J&&y.current[J]){if(b){if((V=o==null?void 0:o.sensitiveInput)!=null&&V.hideInUserBubble)return;if((j=o==null?void 0:o.sensitiveInput)!=null&&j.maskInUserBubble)return void(($=o.userBubble)!=null&&$.simulateStream?await c("*".repeat(((K=o.sensitiveInput)==null?void 0:K.asterisksCount)??10),"USER"):await s("*".repeat(((tt=o.sensitiveInput)==null?void 0:tt.asterisksCount)??10),"USER"))}(F=o.userBubble)!=null&&F.simulateStream?await c(z,"USER"):await s(z,"USER")}},[y,A,o,s,b]),Q=X(async(z,V,j=!0)=>{var $,K;(V=V.trim())!==""&&(j&&await T(V),h&&clearTimeout(h),B.current=V,x.current&&(x.current.scrollTop=x.current.scrollHeight),P.current&&(O(""),m(0)),($=o.chatInput)!=null&&$.blockSpam&&v(!0),C.current=p,I(!1),setTimeout(()=>{w(!0)},400),g(!1),setTimeout(async()=>{var tt;const F={prevPath:d(),currPath:A(),goToPath:u,setTextAreaValue:O,userInput:V,injectMessage:s,simulateStreamMessage:c,streamMessage:l,removeMessage:a,endStreamMessage:r,openChat:M,showToast:D,dismissToast:E};if(!await rl(y.current,F)){const J=A();if(!J)return;const ot=y.current[J];if(!ot)return;ot.chatDisabled||v((tt=o.chatInput)==null?void 0:tt.disabled),ol(ot,F,g),_(typeof ot.file=="function"),I(C.current),w(!1)}},(K=o.chatInput)==null?void 0:K.botDelay))},[h,(e=o.chatInput)==null?void 0:e.blockSpam,(t=o.chatInput)==null?void 0:t.botDelay,(n=o.chatInput)==null?void 0:n.disabled,C,p,I,T,d,A,u,s,l,a,r,M,D,E,y]);return{handleSubmitText:X(async(z,V=!0)=>{var j,$;if(z=z??((j=P.current)==null?void 0:j.value),($=o.event)!=null&&$.rcbUserSubmitText&&(await S(Jc,{inputText:z,sendInChat:V})).defaultPrevented)return;const K=A();K&&Q(K,z,V)},[S,A,Q,P,(i=o.event)==null?void 0:i.rcbUserSubmitText])}},to=()=>{var e;const{settings:t}=G();return kt(()=>{var n;if(typeof window>"u"||!window.navigator)return!1;if((n=t.device)==null||!n.applyMobileOptimizations)return!0;const i=navigator.userAgent,o=!/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(i),r=window.innerWidth>=768;return o&&r},[(e=t.device)==null?void 0:e.applyMobileOptimizations])},up=({buttons:e})=>{var t,n,i,o,r,s,a,c,l,A,d;const u=to(),{settings:h}=G(),{styles:p}=At(),{textAreaDisabled:g,textAreaSensitiveMode:b,inputLength:v,hasFlowStarted:w,setHasFlowStarted:_,setInputLength:m}=Et(),{inputRef:y}=St(),[x,P]=R(!1),[C,B]=R(!1),{handleSubmitText:D}=Dn(),{setTextAreaValue:E}=kn(),S={boxSizing:u?"content-box":"border-box",...p.chatInputAreaStyle},I={outline:g?"":"none",boxShadow:g?"":`0 0 5px ${(t=h.general)==null?void 0:t.primaryColor}`,boxSizing:u?"content-box":"border-box",...p.chatInputAreaStyle,...p.chatInputAreaFocusedStyle},O={cursor:`url("${(n=h.general)==null?void 0:n.actionDisabledIcon}"), auto`,caretColor:"transparent",boxSizing:u?"content-box":"border-box",...p.chatInputAreaStyle,...p.chatInputAreaDisabledStyle},M={color:"#989898",...p.characterLimitStyle},T={color:"#ff0000",...p.characterLimitReachedStyle},Q=g?(i=h.chatInput)==null?void 0:i.disabledPlaceholderText:(o=h.chatInput)==null?void 0:o.enabledPlaceholderText,z=()=>{g||P(!0)},V=()=>{P(!1)},j=()=>{B(!0)},$=()=>{B(!1)},K=async F=>{var J;if(!C&&F.key==="Enter"){if(F.shiftKey)return void((J=h.chatInput)!=null&&J.allowNewline||F.preventDefault());F.preventDefault(),await D()}},tt=F=>{y.current&&(E(F.target.value),m(y.current.value.length))};return f("div",{"aria-label":((r=h.ariaLabel)==null?void 0:r.inputTextArea)??"input text area",role:"textbox",onMouseDown:F=>{var J;F.stopPropagation(),!w&&((J=h.general)==null?void 0:J.flowStartTrigger)==="ON_CHATBOT_INTERACT"&&_(!0)},style:{...p.chatInputContainerStyle},className:"rcb-chat-input",children:[b&&(s=h.sensitiveInput)!=null&&s.maskInTextArea?f("input",{ref:y,type:"password",className:"rcb-chat-input-textarea",style:g?O:x?I:S,placeholder:Q,onChange:tt,onKeyDown:K,onFocus:z,onBlur:V,onCompositionStart:j,onCompositionEnd:$}):f("textarea",{ref:y,style:g?O:x?I:S,rows:1,className:"rcb-chat-input-textarea",placeholder:Q,onChange:tt,onKeyDown:K,onFocus:z,onBlur:V,onCompositionStart:j,onCompositionEnd:$}),f(N,{children:[e==null?void 0:e.map((F,J)=>f(N,{children:F},J)),((a=h.chatInput)==null?void 0:a.showCharacterCount)&&((c=h.chatInput)==null?void 0:c.characterLimit)!=null&&((l=h.chatInput)==null?void 0:l.characterLimit)>0&&f("div",{className:"rcb-chat-input-char-counter",style:v>=((A=h.chatInput)==null?void 0:A.characterLimit)?T:M,children:[v,"/",(d=h.chatInput)==null?void 0:d.characterLimit]})]})]})},hp=({buttons:e})=>{var t;const{settings:n}=G(),{styles:i}=At();return f("div",{"data-testid":"chatbot-footer-container",style:{...i.footerStyle},className:"rcb-chat-footer-container",children:[f("div",{className:"rcb-chat-footer",children:e==null?void 0:e.map((o,r)=>f(N,{children:o},r))}),f("span",{children:(t=n.footer)==null?void 0:t.text})]})},fp=()=>{var e,t,n,i,o,r,s;const{settings:a}=G(),{styles:c}=At(),{unreadCount:l}=Et(),{isChatWindowOpen:A,toggleChatWindow:d}=Te(),u={backgroundImage:`linear-gradient(to right, ${(e=a.general)==null?void 0:e.secondaryColor},
|
|
3
|
+
${(t=a.general)==null?void 0:t.primaryColor})`,...c.chatButtonStyle},h={backgroundImage:`url(${(n=a.chatButton)==null?void 0:n.icon})`,fill:"#fff",width:75,height:75,...c.chatIconStyle};return f(N,{children:!((i=a.general)!=null&&i.embedded)&&f("div",{"aria-label":((o=a.ariaLabel)==null?void 0:o.chatButton)??"open chat",role:"button",style:u,className:"rcb-toggle-button "+(A?"rcb-button-hide":"rcb-button-show"),onClick:d,children:[(()=>{var p;const g=(p=a.chatButton)==null?void 0:p.icon;return g&&typeof g!="string"?g&&f("span",{className:"rcb-toggle-icon",children:f(g,{style:h})}):f("span",{className:"rcb-toggle-icon",style:h})})(),!((r=a.notification)!=null&&r.disabled)&&((s=a.notification)==null?void 0:s.showCount)&&f("span",{style:{...c.notificationBadgeStyle},className:"rcb-badge",children:l})]})})},pp=()=>{var e,t,n,i;const o=to(),{settings:r}=G(),{styles:s}=At(),{isChatWindowOpen:a,openChat:c}=Te(),[l,A]=R(!1),[d,u]=R(!1),[h,p]=R(0);et(()=>{var v,w,_;const m=(v=r.tooltip)==null?void 0:v.mode;if(m==="ALWAYS")if(o){let y;y=a?(((w=s.chatWindowStyle)==null?void 0:w.width)??375)-(((_=s.chatButtonStyle)==null?void 0:_.width)??75):0,p(y),A(!0)}else A(!a);else m==="NEVER"?A(!1):m==="START"?d?A(!1):(u(!0),A(!0)):m==="CLOSE"&&A(!a)},[a]);const g={transform:`translateX(-${h}px)`,right:(((e=s.chatButtonStyle)==null?void 0:e.width)??75)+40,bottom:30,backgroundColor:(t=r.general)==null?void 0:t.secondaryColor,color:"#fff",...s.tooltipStyle},b={borderColor:`transparent transparent transparent ${g.backgroundColor}`};return f(N,{children:!((n=r.general)!=null&&n.embedded)&&f("div",{"data-testid":"chat-tooltip",style:g,className:"rcb-chat-tooltip "+(l?"rcb-tooltip-show":"rcb-tooltip-hide"),onClick:()=>c(!0),children:[f("span",{children:(i=r.tooltip)==null?void 0:i.text}),f("span",{className:"rcb-chat-tooltip-tail",style:b})]})})},gp=({id:e,content:t,timeout:n})=>{var i,o;const{settings:r}=G(),{styles:s}=At(),[a]=R({toastPromptStyle:{...s.toastPromptStyle},toastPromptHoveredStyle:{...s.toastPromptHoveredStyle}}),{dismissToast:c}=$i(),[l,A]=R(!1),d={color:(i=r.general)==null?void 0:i.primaryColor,borderColor:(o=r.general)==null?void 0:o.primaryColor,...a.toastPromptHoveredStyle};return et(()=>{if(n){const u=setTimeout(()=>{c(e)},n);return()=>clearTimeout(u)}},[e,c,n]),typeof t=="string"?f("div",{onMouseEnter:()=>{A(!0)},onMouseLeave:()=>{A(!1)},style:l?d:a.toastPromptStyle,onMouseDown:async u=>{var h;(h=r.toast)!=null&&h.dismissOnClick&&(u.preventDefault(),await c(e))},className:"rcb-toast-prompt",children:t}):f(N,{children:t})},mp=()=>{var e,t,n,i;const{styles:o}=At(),{toasts:r}=hl(),s={bottom:(((e=o.footerStyle)==null?void 0:e.height)??50)+(((t=o.chatInputContainerStyle)==null?void 0:t.height)??70)+20,width:300,minWidth:(((n=o.chatWindowStyle)==null?void 0:n.width)??375)/2,maxWidth:(((i=o.chatWindowStyle)==null?void 0:i.width)??375)-50,...o.toastPromptContainerStyle};return f("div",{className:"rcb-toast-prompt-container",style:s,children:r.map(a=>f(gp,{id:a.id,content:a.content,timeout:a.timeout},a.id))})},fl=({file:e,fileType:t,fileUrl:n})=>{var i,o,r;const{settings:s}=G(),{styles:a}=At(),c={backgroundColor:(i=s.general)==null?void 0:i.primaryColor,maxWidth:(o=s.userBubble)!=null&&o.showAvatar?"65%":"70%",...a.mediaDisplayContainerStyle};return f(N,{children:n?f(N,{children:[t==="image"&&n&&f("div",{style:c,className:"rcb-media-display-image-container rcb-media-entry","data-testid":"media-display-image-container",children:f("img",{src:n,alt:"Image Display",className:"rcb-media-display-image"})}),t==="video"&&n&&f("div",{style:c,className:"rcb-media-display-video-container rcb-media-entry","data-testid":"media-display-video-container",children:f("video",{controls:!0,className:"rcb-media-display-video",children:[f("source",{src:n,type:e.type}),"Your browser does not support the video tag."]})}),t==="audio"&&n&&f("audio",{"data-testid":"media-display-audio-container",style:{maxWidth:(r=s.userBubble)!=null&&r.showAvatar?"65%":"70%"},controls:!0,className:"rcb-media-display-audio rcb-media-entry",children:[f("source",{src:n,type:e.type}),"Your browser does not support the audio tag."]})]}):f(N,{})})},pl=async e=>{if(!e)return{fileType:null,fileUrl:null};const t=e.type.split("/")[0];if(!["image","video","audio"].includes(t))return{fileType:null,fileUrl:null};try{return{fileType:t,fileUrl:await new Promise((n,i)=>{const o=new FileReader;o.onload=()=>n(o.result),o.onerror=()=>i(new Error("File reading failed")),o.readAsDataURL(e)})}}catch(n){return console.error(n),{fileType:null,fileUrl:null}}},bp=()=>{var e,t,n,i,o,r;const{settings:s}=G(),{styles:a}=At(),{injectMessage:c,simulateStreamMessage:l,streamMessage:A,removeMessage:d,endStreamMessage:u}=Ji(),{getCurrPath:h,getPrevPath:p,goToPath:g,blockAllowsAttachment:b}=Yi(),{flowRef:v,inputRef:w}=St(),_=v.current,{showToast:m,dismissToast:y}=$i(),{callRcbEvent:x}=fe(),{openChat:P}=Te(),{setTextAreaValue:C}=kn(),{handleSubmitText:B}=Dn(),D={cursor:`url("${(e=s.general)==null?void 0:e.actionDisabledIcon}"), auto`,...a.fileAttachmentButtonStyle,...a.fileAttachmentButtonDisabledStyle},E={backgroundImage:`url(${(t=s.fileAttachment)==null?void 0:t.icon})`,fill:"#a6a6a6",...a.fileAttachmentIconStyle},S={backgroundImage:`url(${(n=s.fileAttachment)==null?void 0:n.icon})`,fill:"#a6a6a6",...a.fileAttachmentIconStyle,...a.fileAttachmentIconDisabledStyle};return f("label",{"aria-label":((i=s.ariaLabel)==null?void 0:i.fileAttachmentButton)??"upload file",role:"button",className:b?"rcb-attach-button-enabled":"rcb-attach-button-disabled",style:b?{...a.fileAttachmentButtonStyle}:D,children:[f("input",{className:"rcb-attach-input",role:"file",type:"file",onChange:async I=>{var O,M,T,Q;const z=I.target.files;if(!z||(O=s.event)!=null&&O.rcbUserUploadFile&&(await x(Zc,{files:z})).defaultPrevented)return;const V=h();if(!V)return;const j=_[V];if(!j)return;const $=j.file;if($!=null){const K=[];for(let tt=0;tt<z.length;tt++){if(K.push(z[tt].name),(M=s.fileAttachment)==null||!M.showMediaDisplay)continue;const F=await pl(z[tt]);!F.fileType||!F.fileUrl||await c(f(fl,{file:z[tt],fileType:F.fileType,fileUrl:F.fileUrl}),"USER")}await B("📄 "+K.join(", "),(T=s.fileAttachment)==null?void 0:T.sendFileName),await $({userInput:(Q=w.current)==null?void 0:Q.value,prevPath:p(),currPath:h(),goToPath:g,setTextAreaValue:C,injectMessage:c,simulateStreamMessage:l,streamMessage:A,removeMessage:d,endStreamMessage:u,openChat:P,showToast:m,dismissToast:y,files:z})}},multiple:(o=s.fileAttachment)==null?void 0:o.multiple,accept:(r=s.fileAttachment)==null?void 0:r.accept,disabled:!b}),(()=>{var I,O;const M=b?(I=s.fileAttachment)==null?void 0:I.icon:(O=s.fileAttachment)==null?void 0:O.iconDisabled;return M&&typeof M!="string"?M&&f("span",{className:b?"rcb-attach-icon-enabled":"rcb-attach-icon-disabled",children:f(M,{style:b?E:S})}):f("span",{className:b?"rcb-attach-icon-enabled":"rcb-attach-icon-disabled",style:b?E:S})})()]})},vp=()=>{var e,t,n,i,o,r;const{settings:s}=G(),{styles:a}=At(),{inputRef:c}=St(),{textAreaDisabled:l,setTextAreaValue:A}=kn(),d=q(null),u=q(null),[h,p]=R(!1),g={cursor:`url("${(e=s.general)==null?void 0:e.actionDisabledIcon}"), auto`,...a.emojiButtonStyle,...a.emojiButtonDisabledStyle},b={backgroundImage:`url(${(t=s.emoji)==null?void 0:t.icon})`,fill:"#a6a6a6",...a.emojiIconStyle},v={backgroundImage:`url(${(n=s.emoji)==null?void 0:n.icon})`,fill:"#a6a6a6",...a.emojiIconStyle,...a.emojiIconDisabledStyle};return et(()=>{const w=m=>{const y=m.composedPath();d.current&&!y.includes(d.current)&&u.current&&!y.includes(u.current)&&p(!1)},_=()=>{(()=>{if(d.current&&u.current){const m=u.current.getBoundingClientRect(),y=d.current.offsetHeight,x=m.top-y-8;d.current.style.left=`${m.left}px`,d.current.style.top=`${x}px`}})()};return document.addEventListener("mousedown",w),window.addEventListener("resize",_),()=>{document.removeEventListener("mousedown",w),window.removeEventListener("resize",_)}},[]),f(N,{children:[f("div",{"aria-label":((i=s.ariaLabel)==null?void 0:i.emojiButton)??"emoji picker",role:"button",ref:u,className:l?"rcb-emoji-button-disabled":"rcb-emoji-button-enabled",style:l?g:{...a.emojiButtonStyle},onMouseDown:w=>{w.preventDefault(),p(!l&&!h)},children:(()=>{var w,_;const m=l?(w=s.emoji)==null?void 0:w.iconDisabled:(_=s.emoji)==null?void 0:_.icon;return m&&typeof m!="string"?m&&f("span",{className:l?"rcb-emoji-icon-disabled":"rcb-emoji-icon-enabled",children:f(m,{style:l?v:b})}):f("span",{className:l?"rcb-emoji-icon-disabled":"rcb-emoji-icon-enabled",style:l?v:b})})()}),h&&f("div",{className:"rcb-emoji-button-popup",ref:d,children:(r=(o=s.emoji)==null?void 0:o.list)==null?void 0:r.map((w,_)=>f("span",{className:"rcb-emoji",onMouseDown:m=>((y,x)=>{y.preventDefault(),c.current&&(A(c.current.value+x),setTimeout(()=>{const P=c.current;if(P){P.focus();const C=P.value.length;P.setSelectionRange(C,C)}},50)),p(!1)})(m,w),children:w},_))})]})},wp=()=>{var e,t,n;const{settings:i}=G(),{styles:o}=At(),{audioToggledOn:r,toggleAudio:s}=dl(),a={backgroundImage:`url(${(e=i.audio)==null?void 0:e.icon})`,fill:"#fcec3d",...o.audioIconStyle},c={backgroundImage:`url(${(t=i.audio)==null?void 0:t.iconDisabled})`,fill:"#e8eaed",...o.audioIconStyle,...o.audioIconDisabledStyle};return f("div",{"aria-label":((n=i.ariaLabel)==null?void 0:n.audioButton)??"toggle audio",role:"button",onMouseDown:async l=>{l.preventDefault(),await s()},style:r?{...o.audioButtonStyle}:{...o.audioButtonStyle,...o.audioButtonDisabledStyle},children:(()=>{var l,A;const d=r?(l=i.audio)==null?void 0:l.icon:(A=i.audio)==null?void 0:A.iconDisabled;return d&&typeof d!="string"?d&&f("span",{className:"rcb-audio-icon","data-testid":"rcb-audio-icon",children:f(d,{style:r?a:c,"data-testid":"rcb-audio-icon-svg"})}):f("span",{className:"rcb-audio-icon","data-testid":"rcb-audio-icon",style:r?a:c})})()})},yp=()=>{var e,t;const{settings:n}=G(),{styles:i}=At(),{openChat:o}=Te(),r={backgroundImage:`url(${(e=n.header)==null?void 0:e.closeChatIcon})`,fill:"#e8eaed",stroke:"#e8eaed",...i.closeChatIconStyle};return f("div",{"aria-label":((t=n.ariaLabel)==null?void 0:t.closeChatButton)??"close chat",role:"button",onMouseDown:s=>{s.stopPropagation(),o(!1)},style:{...i.closeChatButtonStyle},children:(()=>{var s;const a=(s=n.header)==null?void 0:s.closeChatIcon;return a&&typeof a!="string"?a&&f("span",{className:"rcb-close-chat-icon","data-testid":"rcb-close-chat-icon",children:f(a,{style:r})}):f("span",{className:"rcb-close-chat-icon","data-testid":"rcb-close-chat-icon",style:r})})()})},xp=()=>{var e,t,n;const{settings:i}=G(),{styles:o}=At(),{notificationsToggledOn:r,toggleNotifications:s}=(()=>{const{notificationsToggledOn:l,toggleNotifications:A,playNotificationSound:d}=Hr();return{notificationsToggledOn:l,toggleNotifications:A,playNotificationSound:d}})(),a={backgroundImage:`url(${(e=i.notification)==null?void 0:e.icon})`,fill:"#fcec3d",...o.notificationIconStyle},c={backgroundImage:`url(${(t=i.notification)==null?void 0:t.iconDisabled})`,fill:"#e8eaed",...o.notificationIconStyle,...o.notificationIconDisabledStyle};return f("div",{"aria-label":((n=i.ariaLabel)==null?void 0:n.notificationButton)??"toggle notifications",role:"button",onMouseDown:async l=>{l.preventDefault(),await s()},style:r?{...o.notificationButtonStyle}:{...o.notificationButtonStyle,...o.notificationButtonDisabledStyle},children:(()=>{var l,A;const d=r?(l=i.notification)==null?void 0:l.icon:(A=i.notification)==null?void 0:A.iconDisabled;return d&&typeof d!="string"?d&&f("span",{className:"rcb-notification-icon","data-testid":"rcb-notification-icon",children:f(d,{style:r?a:c,"data-testid":"rcb-notification-icon-svg"})}):f("span",{className:"rcb-notification-icon","data-testid":"rcb-notification-icon",style:r?a:c})})()})},_p=()=>{var e,t,n;const{settings:i}=G(),{styles:o}=At(),{injectMessage:r}=Ji(),{inputRef:s}=St(),{voiceToggledOn:a,toggleVoice:c}=Ur(),{setInputLength:l,setTextAreaValue:A,textAreaDisabled:d}=kn(),{handleSubmitText:u}=Dn(),h=q([]),[p,g]=R(!1);et(()=>{var m;(m=i.voice)!=null&&m.sendAsAudio?(_(),h.current=[]):u()},[p]),et(()=>{a?((m,y,x,P,C,B,D)=>{var E;(E=m.voice)!=null&&E.sendAsAudio?Ap(x,B):lp(m,y,x,P,C,D)})(i,c,w,A,l,h,s):Nr()},[a]);const b={backgroundImage:`url(${(e=i.voice)==null?void 0:e.icon})`,fill:"#9aa0a6",...o.voiceIconStyle},v={backgroundImage:`url(${(t=i.voice)==null?void 0:t.iconDisabled})`,fill:"#9aa0a6",...o.voiceIconStyle,...o.voiceIconDisabledStyle},w=()=>{g(m=>!m)},_=async()=>{const m=new Blob(h.current,{type:"audio/wav"}),y=new File([m],"voice-input.wav",{type:"audio/wav"}),x=await pl(y);!x.fileType||!x.fileUrl||await r(f(fl,{file:y,fileType:x.fileType,fileUrl:x.fileUrl}),"USER")};return f("div",{"aria-label":((n=i.ariaLabel)==null?void 0:n.voiceButton)??"toggle voice",role:"button",onMouseDown:async m=>{m.preventDefault(),!d&&await c()},style:a&&!d?{...o.voiceButtonStyle}:{...o.voiceButtonStyle,...o.voiceButtonDisabledStyle},className:a&&!d?"rcb-voice-button-enabled":"rcb-voice-button-disabled",children:(()=>{var m,y;const x=a?(m=i.voice)==null?void 0:m.icon:(y=i.voice)==null?void 0:y.iconDisabled;return x&&typeof x!="string"?x&&f("span",{className:"rcb-voice-icon "+(a&&!d?"on":""),children:f(x,{style:a&&!d?b:v})}):f("span",{className:"rcb-voice-icon"+(a&&!d?"-on":""),"data-testid":"rcb-voice-icon",style:a&&!d?b:v})})()})},Pp=()=>{var e,t,n,i,o,r,s,a;const{settings:c}=G(),{styles:l}=At(),{textAreaDisabled:A}=Et(),[d,u]=R(!1),{handleSubmitText:h}=Dn(),p={backgroundColor:(e=c.general)==null?void 0:e.primaryColor,...l.sendButtonStyle},g={cursor:`url("${(t=c.general)==null?void 0:t.actionDisabledIcon}"), auto`,backgroundColor:(n=c.general)==null?void 0:n.primaryColor,...l.sendButtonStyle,...l.sendButtonDisabledStyle},b={backgroundColor:(i=c.general)==null?void 0:i.secondaryColor,...l.sendButtonStyle,...l.sendButtonHoveredStyle},v={backgroundImage:`url(${(o=c.chatInput)==null?void 0:o.sendButtonIcon})`,fill:"#fff",...l.sendIconStyle},w={backgroundImage:`url(${(r=c.chatInput)==null?void 0:r.sendButtonIcon})`,fill:"#fff",...l.sendIconStyle,...l.sendIconDisabledStyle},_={backgroundImage:`url(${(s=c.chatInput)==null?void 0:s.sendButtonIcon})`,fill:"#fff",...l.sendIconStyle,...l.sendIconHoveredStyle};return f("div",{"aria-label":((a=c.ariaLabel)==null?void 0:a.sendButton)??"send message",role:"button",onMouseEnter:()=>{u(!0)},onMouseLeave:()=>{u(!1)},onMouseDown:async m=>{m==null||m.preventDefault(),!A&&await h()},style:A?g:d?b:p,className:"rcb-send-button",children:(()=>{var m;const y=(m=c.chatInput)==null?void 0:m.sendButtonIcon;return y&&typeof y!="string"?y&&f("span",{className:"rcb-send-icon","data-testid":"rcb-send-icon",children:f(y,{style:A?w:d?_:v})}):f("span",{className:"rcb-send-icon","data-testid":"rcb-send-icon",style:A?w:d?_:v})})()})},Bp=(e,t)=>{var n,i,o,r,s,a,c,l,A;const d={[wt.AUDIO_BUTTON]:(n=e.audio)==null?void 0:n.disabled,[wt.CLOSE_CHAT_BUTTON]:(i=e.general)==null?void 0:i.embedded,[wt.EMOJI_PICKER_BUTTON]:(o=e.emoji)==null?void 0:o.disabled,[wt.FILE_ATTACHMENT_BUTTON]:(r=e.fileAttachment)==null?void 0:r.disabled,[wt.NOTIFICATION_BUTTON]:(s=e.notification)==null?void 0:s.disabled,[wt.SEND_MESSAGE_BUTTON]:!1,[wt.VOICE_MESSAGE_BUTTON]:(a=e.voice)==null?void 0:a.disabled},u={},h=p=>p?p.map(g=>{if(typeof g=="string"){if((b=>Object.values(wt).includes(b))(g)&&!d[g]){if(u[g])return u[g];const b=t[g];if(typeof b=="function"){const v=b();return u[g]=v,v}return null}return null}return g}).filter(g=>g!==null):[];return{header:h((c=e.header)==null?void 0:c.buttons),chatInput:h((l=e.chatInput)==null?void 0:l.buttons),footer:h((A=e.footer)==null?void 0:A.buttons)}},kp=()=>{const{settings:e}=G(),t=kt(()=>({[wt.CLOSE_CHAT_BUTTON]:()=>f(yp,{}),[wt.AUDIO_BUTTON]:()=>f(wp,{}),[wt.NOTIFICATION_BUTTON]:()=>f(xp,{}),[wt.EMOJI_PICKER_BUTTON]:()=>f(vp,{}),[wt.FILE_ATTACHMENT_BUTTON]:()=>f(bp,{}),[wt.SEND_MESSAGE_BUTTON]:()=>f(Pp,{}),[wt.VOICE_MESSAGE_BUTTON]:()=>f(_p,{})}),[]),{header:n,chatInput:i,footer:o}=kt(()=>Bp(e,t),[e,t]);return{headerButtons:kt(()=>n,[n]),chatInputButtons:kt(()=>i,[i]),footerButtons:kt(()=>o,[o])}},gl=()=>{const{settings:e}=G(),{styles:t}=At(),{setMessages:n}=Lr(),{isLoadingChatHistory:i,setIsLoadingChatHistory:o,hasChatHistoryLoaded:r,setHasChatHistoryLoaded:s}=Et(),{chatBodyRef:a}=St(),{callRcbEvent:c}=fe(),{chatScrollHeight:l}=Te(),A=X(async()=>{var d;const u=cl();u&&((d=e.event)!=null&&d.rcbLoadChatHistory&&(await c(qc,{})).defaultPrevented||(o(!0),((h,p,g,b,v,w,_,m)=>{var y;if(sl=!0,g!=null)try{b(P=>{const C=Ve(f($f,{}),"SYSTEM");return P.shift(),[C,...P]});const x=g.map(P=>{if(P.type==="object"){const C=ll(P.content,h,p);return{...P,content:C}}return P});setTimeout(()=>{b(P=>{var C;let B;return P.shift(),B=(C=h.chatHistory)!=null&&C.autoLoad?Ve(f(N,{}),"SYSTEM"):Ve(f(Zf,{}),"SYSTEM"),[...x,B,...P]}),m(!0)},500),setTimeout(()=>{if(!v.current)return;const{scrollHeight:P}=v.current,C=P-w;v.current.scrollTop=v.current.scrollTop+C,_(!1)},510)}catch{We.removeItem((y=h.chatHistory)==null?void 0:y.storageKey)}})(e,t,u,n,a,l,o,s)))},[e,t,n]);return{isLoadingChatHistory:i,setIsLoadingChatHistory:o,hasChatHistoryLoaded:r,showChatHistory:A}},Dp=()=>{var e,t,n;const{settings:i}=G(),{styles:o}=At(),{showChatHistory:r}=gl(),[s,a]=R(!1),c={color:(e=i.general)==null?void 0:e.primaryColor,borderColor:(t=i.general)==null?void 0:t.primaryColor,...o.chatHistoryButtonStyle,...o.chatHistoryButtonHoveredStyle};return f("div",{className:"rcb-view-history-container",children:f("div",{onMouseEnter:()=>{a(!0)},onMouseLeave:()=>{a(!1)},style:s?c:{...o.chatHistoryButtonStyle},onMouseDown:l=>{l.preventDefault(),r()},className:"rcb-view-history-button",role:"button",tabIndex:0,children:f("p",{children:(n=i.chatHistory)==null?void 0:n.viewChatHistoryButtonText})})})},Cp=()=>{var e,t,n,i,o;const r=to(),{settings:s}=G(),{endStreamMessage:a,injectMessage:c,removeMessage:l,simulateStreamMessage:A,streamMessage:d,replaceMessages:u}=Ji(),{getCurrPath:h,getPrevPath:p,goToPath:g,paths:b}=Yi(),{showToast:v,dismissToast:w}=$i(),{isBotTyping:_,isChatWindowOpen:m,isScrolling:y,hasFlowStarted:x,setIsChatWindowOpen:P,setTextAreaDisabled:C,setAudioToggledOn:B,setVoiceToggledOn:D,setIsBotTyping:E,setTextAreaSensitiveMode:S,setBlockAllowsAttachment:I,setTimeoutId:O}=Et(),{chatBodyRef:M,flowRef:T,streamMessageMap:Q,paramsInputRef:z,keepVoiceOnRef:V}=St(),j=T.current,{viewportHeight:$,setViewportHeight:K,setViewportWidth:tt,openChat:F}=Te(),{setUpNotifications:J}=Hr(),{handleFirstInteraction:ot}=(()=>{var at;const{settings:bt}=G(),{hasInteractedPage:xt,setHasInteractedPage:Dt,hasFlowStarted:Ot,setHasFlowStarted:Qt}=Et(),ft=X(()=>{var vt;if(Dt(!0),!Ot&&((vt=bt.general)==null?void 0:vt.flowStartTrigger)==="ON_PAGE_INTERACT"&&Qt(!0),!window.SpeechSynthesisUtterance)return void console.info("Speech Synthesis API is not supported in this environment.");const _t=new window.SpeechSynthesisUtterance;_t.text="",_t.onend=()=>{window.removeEventListener("click",ft),window.removeEventListener("keydown",ft),window.removeEventListener("touchstart",ft)},window.speechSynthesis.speak(_t)},[Ot,(at=bt.general)==null?void 0:at.flowStartTrigger]);return{hasInteractedPage:xt,handleFirstInteraction:ft}})(),{showChatHistory:Ht}=gl(),{updateTextAreaFocus:It,setTextAreaValue:ue}=kn(),{syncVoice:De}=Ur(),ze=q(0);et(()=>(window.addEventListener("click",ot),window.addEventListener("keydown",ot),window.addEventListener("touchstart",ot),()=>{window.removeEventListener("click",ot),window.removeEventListener("keydown",ot),window.removeEventListener("touchstart",ot)}),[]),et(()=>{var at,bt,xt;C((at=s.chatInput)==null?void 0:at.disabled),P((bt=s.chatWindow)==null?void 0:bt.defaultOpen),B((xt=s.audio)==null?void 0:xt.defaultToggledOn),setTimeout(()=>{var Dt;D((Dt=s.voice)==null?void 0:Dt.defaultToggledOn)},1)},[]),et(()=>{var at;(at=s.notification)!=null&&at.disabled||J()},[(e=s.notification)==null?void 0:e.disabled]),et(()=>{!y&&M!=null&&M.current&&(M.current.scrollTop=M.current.scrollHeight)},[_]),et(()=>{var at,bt;if((at=s.chatHistory)!=null&&at.disabled)We&&We.removeItem(qi);else if(ep(s),cl().length>0){const xt=Ve(f(Dp,{}),"SYSTEM");u([xt]),(bt=s.chatHistory)!=null&&bt.autoLoad&&Ht()}},[(t=s.chatHistory)==null?void 0:t.storageKey,(n=s.chatHistory)==null?void 0:n.maxEntries,(i=s.chatHistory)==null?void 0:i.disabled]),et(()=>{var at;r||(at=s.general)!=null&&at.embedded||!navigator.virtualKeyboard||(navigator.virtualKeyboard.overlaysContent=!0,navigator.virtualKeyboard.addEventListener("geometrychange",bt=>{if(!bt.target)return;const{x:xt,y:Dt,width:Ot,height:Qt}=bt.target.boundingRect;xt==0&&Dt==0&&Ot==0&&Qt==0?(setTimeout(()=>{var ft;K((ft=window.visualViewport)==null?void 0:ft.height)},101),setTimeout(()=>{var ft,vt;$!=((ft=window.visualViewport)==null?void 0:ft.height)&&K((vt=window.visualViewport)==null?void 0:vt.height)},1001)):setTimeout(()=>{var ft;K(((ft=window.visualViewport)==null?void 0:ft.height)-Qt)},101)}))},[r]),et(()=>{var at,bt,xt,Dt;if(r)return;m&&(K((at=window.visualViewport)==null?void 0:at.height),tt((bt=window.visualViewport)==null?void 0:bt.width));const Ot=()=>window.scrollTo({top:0,left:0,behavior:"auto"}),Qt=()=>ze.current=window.scrollY,ft=()=>{var _t,Jt;K((_t=window.visualViewport)==null?void 0:_t.height),tt((Jt=window.visualViewport)==null?void 0:Jt.width)},vt=()=>{var _t;window.removeEventListener("scroll",Ot),window.removeEventListener("scroll",Qt),(_t=window.visualViewport)==null||_t.removeEventListener("resize",ft)};return m?(vt(),document.body.style.position="fixed",window.addEventListener("scroll",Ot),(xt=window.visualViewport)==null||xt.addEventListener("resize",ft)):(document.body.style.position="static",vt(),window.scrollTo({top:ze.current,left:0,behavior:"auto"}),window.addEventListener("scroll",Qt),(Dt=window.visualViewport)==null||Dt.removeEventListener("resize",ft)),vt},[m,r]),et(()=>{const at=h();if(!at)return;const bt=j[at];if(!bt)return void E(!1);(async(xt,Dt)=>{var Ot,Qt;await(async(ft,vt,_t,Jt,vn,Ne)=>{const Vt=ft[vt.currPath];if(!Vt)throw new Error("Block is not valid.");for(const Vn of Object.keys(Vt))switch(Vn){case"message":await Yf(Vt,vt,_t);break;case"options":await qf(Vt,vt);break;case"checkboxes":await Vf(Vt,vt);break;case"component":await Xf(Vt,vt);break;case"chatDisabled":await Jf(Vt,vt,Jt);break;case"isSensitive":await ol(Vt,vt,vn);break;case"transition":await Gf(ft,vt,Ne)}})(j,Dt,((Ot=s.botBubble)==null?void 0:Ot.simulateStream)??!1,C,S,O),E(!1),"chatDisabled"in xt||C((Qt=s.chatInput)==null?void 0:Qt.disabled),"isSensitive"in xt||S(!1),I(typeof xt.file=="function"),It(at),De(V.current&&!xt.chatDisabled),Dt.currPath!==Dt.prevPath&&Q.current.clear()})(bt,{prevPath:p(),currPath:at,goToPath:g,setTextAreaValue:ue,userInput:z.current,endStreamMessage:a,injectMessage:c,removeMessage:l,simulateStreamMessage:A,streamMessage:d,openChat:F,showToast:v,dismissToast:w})},[b]),et(()=>{var at;(x||((at=s.general)==null?void 0:at.flowStartTrigger)==="ON_LOAD")&&g("start")},[x,(o=s.general)==null?void 0:o.flowStartTrigger])},Ep="https://cdn.jsdelivr.net/gh/tjtanjin/react-chatbotify-themes/themes",Sp="2592000",ml="RCB_THEME_CACHE_DATA",bl=async(e,t)=>{const{id:n,version:i,baseUrl:o=Ep,cacheDuration:r=Sp}=t,s=i||await(async(v,w)=>{const _=`${w}/${v}/meta.json`;try{const m=await fetch(_);return m.ok?(await m.json()).version:(console.error(`Failed to fetch meta.json from ${_}`),null)}catch(m){return console.error(`Failed to fetch meta.json from ${_}`,m),null}})(n,o);if(!s)return console.error(`Unable to find version for theme: ${n}`),{settings:{},inlineStyles:{},cssStylesText:""};const a=((v,w,_)=>{const m=localStorage.getItem(`${ml}_${v}_${w}`);if(!m)return null;try{const y=JSON.parse(m),x=new Date().getTime(),P=Math.floor(x/1e3);return y.cacheDate+_>=P?y:null}catch(y){return console.error(`Unable to fetch cache for ${v}`,y),null}})(n,s,r);if(a){const v=vl(e,a.cssStylesText);return{settings:a.settings,inlineStyles:a.inlineStyles,cssStylesText:v}}const c=`${o}/${n}/${s}/styles.css`,l=`${o}/${n}/${s}/settings.json`,A=`${o}/${n}/${s}/styles.json`;let d="";const u=await fetch(c);u.ok?d=await u.text():console.info(`Could not fetch styles.css from ${c}`);const h=await fetch(l);let p={};h.ok?p=await h.json():console.info(`Could not fetch settings.json from ${l}`);const g=await fetch(A);let b={};return g.ok?b=await g.json():console.info(`Could not fetch styles.json from ${A}`),((v,w,_,m,y)=>{const x=new Date().getTime(),P={settings:_,inlineStyles:m,cssStylesText:y,cacheDate:Math.floor(x/1e3)};localStorage.setItem(`${ml}_${v}_${w}`,JSON.stringify(P))})(n,s,p,b,d),{settings:p,inlineStyles:b,cssStylesText:vl(e,d)}},vl=(e,t)=>t.split(new RegExp("(?<=})")).map(n=>{const i=n.trim();return i.startsWith("@import")||i.startsWith("@keyframes")||i.startsWith("@media")?i:i?`#${e} ${i}`:""}).join(`
|
|
4
|
+
`),Mp=async(e,t,n,i)=>{var o,r;let s=eo(Sc),a=eo(Tc),c="";if(i!=null)if(Array.isArray(i))for(const l of i){const A=await bl(e,l);s=me(A.settings,s),a=me(A.inlineStyles,a),c+=A.cssStylesText}else{const l=await bl(e,i);s=me(l.settings,s),a=me(l.inlineStyles,a),c+=l.cssStylesText}return t!=null&&(s=me(t,s)),n!=null&&(a=me(n,a)),((o=s.chatInput)==null?void 0:o.botDelay)!=null&&((r=s.chatInput)==null?void 0:r.botDelay)<500&&(s.chatInput.botDelay=500),{settings:s,inlineStyles:a,cssStylesText:c}},me=(e,t)=>{const n=[{source:e,target:t}];for(;n.length;){const i=n.pop();if(i==null)continue;const{source:o,target:r}=i;for(const s of Object.keys(o)){const a=s;if(Bn(o[a]))r[a]=o[a];else if(typeof o[a]!="object"||o[a]===null||Array.isArray(o[a]))try{r[a]=o[a]}catch{}else(typeof r[a]!="object"||r[a]===null)&&(r[a]={}),n.push({source:o[a],target:r[a]})}}return t},eo=e=>{if(e===null||typeof e!="object")return e;const t=Array.isArray(e)?[]:{},n=[{source:e,target:t}],i=new WeakMap;for(i.set(e,t);n.length;){const o=n.pop();if(o==null)continue;const{source:r,target:s}=o;for(const a in r)if(Object.prototype.hasOwnProperty.call(r,a)){const c=r[a];if(c&&typeof c=="object")if(i.has(c))s[a]=i.get(c);else{const l=Array.isArray(c)?[]:{};i.set(c,l),s[a]=l,n.push({source:c,target:l})}else s[a]=c}}return t},Tp=e=>{const{updateSettings:t}=(()=>{const{settings:o,setSettings:r}=G(),s=X(c=>{!c||Object.keys(c).length===0||r(eo(me(c,o)))},[o]),a=X(c=>{r(c)},[]);return{settings:o,replaceSettings:a,updateSettings:s}})(),{updateStyles:n}=(()=>{const{styles:o,setStyles:r}=At(),s=X(c=>{!c||Object.keys(c).length===0||r(eo(me(c,o)))},[o]),a=X(c=>{r(c)},[]);return{styles:o,replaceStyles:a,updateStyles:s}})(),i=e==null?void 0:e.map(o=>o());et(()=>{let o={},r={};i==null||i.forEach(s=>{s!=null&&s.settings&&Object.keys(s==null?void 0:s.settings).length!==0&&(o=me(s.settings,o)),s!=null&&s.styles&&Object.keys(s==null?void 0:s.styles).length!==0&&(r=me(s.styles,r))}),t(o),n(r)},[])},Ip=({plugins:e})=>{var t,n,i,o;const r=to(),{settings:s}=G(),{styles:a}=At(),{hasFlowStarted:c,setHasFlowStarted:l}=Et(),{inputRef:A}=St(),{setChatScrollHeight:d,viewportHeight:u,viewportWidth:h,isChatWindowOpen:p}=Te(),{headerButtons:g,chatInputButtons:b,footerButtons:v}=kp();Cp(),Tp(e);const w=kt(()=>{var y;const x="rcb-chatbot-global ";return(y=s.general)!=null&&y.embedded?x+"rcb-window-embedded":p?x+"rcb-window-open":x+"rcb-window-close"},[s,p]);return f(N,{children:(r&&((_=s.device)==null?void 0:_.desktopEnabled)||!r&&((m=s.device)==null?void 0:m.mobileEnabled))&&f("div",{onMouseDown:y=>{var x,P;!c&&((x=s.general)==null?void 0:x.flowStartTrigger)==="ON_CHATBOT_INTERACT"&&l(!0),r?(P=A.current)==null||P.blur():y==null||y.preventDefault()},className:w,children:[f(pp,{}),f(fp,{}),p&&!r&&!((t=s.general)!=null&&t.embedded)&&f(N,{children:[f("style",{children:`
|
|
5
|
+
html {
|
|
6
|
+
overflow: hidden !important;
|
|
7
|
+
touch-action: none !important;
|
|
8
|
+
scroll-behavior: auto !important;
|
|
9
|
+
}
|
|
10
|
+
`}),f("div",{style:{position:"fixed",top:0,left:0,width:"100%",height:"100%",backgroundColor:"#fff",zIndex:9999}})]}),f("div",{style:(()=>{var y,x;return r||(y=s.general)!=null&&y.embedded?(x=s.general)!=null&&x.embedded?{...a.chatWindowStyle}:{...a.chatWindowStyle,zIndex:1e4}:{...a.chatWindowStyle,borderRadius:"0px",left:"0px",right:"auto",top:"0px",bottom:"auto",width:`${h}px`,height:`${u}px`,zIndex:1e4}})(),className:"rcb-chat-window",children:[((n=s.general)==null?void 0:n.showHeader)&&f(Mf,{buttons:g}),f(jf,{setChatScrollHeight:d}),f(mp,{}),((i=s.general)==null?void 0:i.showInputRow)&&f(up,{buttons:b}),((o=s.general)==null?void 0:o.showFooter)&&f(hp,{buttons:v})]})]})});var _,m},wl=le(void 0),yl=()=>Zt(wl),Op=({children:e})=>{var t;const n=q(""),i=q({}),[o,r]=R({}),[s,a]=R({}),[c,l]=R(!1);return et(()=>{l(!0)},[]),c?f("div",{style:{fontFamily:(t=o.general)==null?void 0:t.fontFamily},children:f(wl.Provider,{value:{loadConfig:async(A,d,u,h,p,g)=>{n.current=A,i.current=d;const b=await Mp(A,u,h,p);g.current&&(g.current.textContent=b.cssStylesText),r(b.settings),a(b.inlineStyles)}},children:f(Ef,{settings:o,setSettings:r,children:f(Sf,{styles:s,setStyles:a,children:f(dp,{children:f(Tf,{botIdRef:n,flowRef:i,children:f(Rf,{children:f(If,{settings:o,children:f(Hf,{children:e})})})})})})})})}):null},Qp=({id:e,flow:t,settings:n,styles:i,themes:o,plugins:r,setConfigLoaded:s,styleRootRef:a})=>{const c=kt(()=>e,[]),l=yl(),{flowRef:A}=St();return A&&A.current!==t&&(A.current=t),et(()=>{(async()=>{var d,u;(d=n.event)!=null&&d.rcbPreLoadChatBot&&(await Wi(tl,{botId:c,currPath:null,prevPath:null},{flow:t,settings:n,styles:i,themes:o,plugins:r})).defaultPrevented||(l!=null&&l.loadConfig&&(await l.loadConfig(c,t,n,i,o,a),s(!0)),(u=n.event)!=null&&u.rcbPostLoadChatBot&&Wi(el,{botId:c,currPath:null,prevPath:null},{flow:t,settings:n,styles:i,themes:o,plugins:r}))})()},[o]),null},Vr=["Quickstart","API Docs","Examples","Github","Discord"],Lp={start:{message:"Hello, I am Tan Jin 👋! Welcome to React ChatBotify, I'm excited that you are using our chatbot 😊!",transition:{duration:1e3},chatDisabled:!0,path:"show_options"},show_options:{message:"It looks like you have not set up a conversation flow yet. No worries! Here are a few helpful things you can check out to get started:",options:Vr,path:"process_options"},prompt_again:{message:"Do you need any other help?",options:Vr,path:"process_options"},unknown_input:{message:"Sorry, I do not understand your message 😢! If you require further assistance, you may click on the Github option and open an issue there or visit our discord.",options:Vr,path:"process_options"},process_options:{transition:{duration:0},path:e=>{let t="";switch(e.userInput){case"Quickstart":t="https://react-chatbotify.com/docs/introduction/quickstart/";break;case"API Docs":t="https://react-chatbotify.com/docs/api/bot_options";break;case"Examples":t="https://react-chatbotify.com/docs/examples/basic_form";break;case"Github":t="https://github.com/tjtanjin/react-chatbotify/";break;case"Discord":t="https://discord.gg/6R4DK4G5Zh";break;default:return"unknown_input"}return e.injectMessage("Sit tight! I'll send you right there!"),setTimeout(()=>{window.open(t)},1e3),"repeat"}},repeat:{transition:{duration:3e3},path:"prompt_again"}},Rp=({id:e,flow:t,settings:n,styles:i,themes:o,plugins:r})=>{const s=kt(()=>e||"rcb-"+Ki(),[]),a=t&&Object.keys(t).length!==0?t:Lp,c=n||{},l=i||{},A=r||[],[d,u]=R(!1),h=yl(),p=q(null),[g,b]=R(o||[]);et(()=>{o&&b(o)},[o]);const v=()=>f(N,{children:[f(Qp,{styleRootRef:p,id:s,flow:a,settings:c,styles:l,themes:g,plugins:A,setConfigLoaded:u}),d&&f(Ip,{plugins:r})]});return f(h==null?Op:N,{children:[f("style",{ref:p}),f("div",{id:s,children:v()})]})};Ir(".rcb-toggle-button.rcb-button-show{background-color:#1a5b6e;background-position:50%;background-repeat:no-repeat;background-size:72%}.rcb-chat-window{max-width:100%;width:550px!important;.rcb-bot-avatar{background-position:50%;background-repeat:no-repeat;background-size:contain;border-radius:0}.rcb-chat-header{align-items:center;display:flex;flex-direction:row;font-weight:700}a{color:#000;font-weight:700;text-decoration:underline}a:hover{color:#107180}.rcb-bot-message a{color:#fff;text-decoration:none}.rcb-bot-message a:hover{text-decoration:underline}.rcb-chat-input-textarea{overflow-y:auto}.rcb-chat-footer-container{font-size:10px}}.embedded-qa-bot{.rcb-chat-window{max-width:100%;width:100%!important}}",{insertAt:"top"});const no=e=>{const t=e.welcome||"Hello! What can I help you with?",n=e.prompt||"Questions should stand alone and not refer to previous ones.",i=e.embedded||!1,o=q(null),r=e.isLoggedIn!==void 0&&e.isLoggedIn,s=e.isAnonymous!==void 0?e.isAnonymous:!r,a=e.disabled!==void 0?e.disabled:s,c=e.isOpen!==void 0&&e.isOpen,l=e.onClose,A=e.apiKey||process.env.REACT_APP_API_KEY;let d=!1;et(()=>{o.current&&o.current.parentElement},[]);const u={start:{message:t,path:"loop"},loop:{message:async h=>{await(async p=>{try{const g={method:"POST",headers:{"Content-Type":"application/json","X-API-KEY":A},body:JSON.stringify({query:p.userInput})},b=await fetch("https://access-ai.ccs.uky.edu/api/query",g),v=(await b.json()).response;for(let w=0;w<v.length;w++)await p.streamMessage(v.slice(0,w+1)),await new Promise(_=>setTimeout(_,2))}catch{await p.injectMessage("Unable to contact the Q&A Bot. Please try again later."),d=!0}})(h)},path:()=>d?"start":"loop"}};return Me.createElement("div",{className:"access-qa-bot",ref:o},Me.createElement(Rp,{settings:{general:(()=>{const h=(p,g)=>{if(o.current){const b=getComputedStyle(o.current).getPropertyValue(p);if(b&&b.trim()!=="")return b.trim();if(o.current.parentElement){const v=getComputedStyle(o.current.parentElement).getPropertyValue(p);if(v&&v.trim()!=="")return v.trim()}}return g};return{primaryColor:h("--primary-color","#1a5b6e"),secondaryColor:h("--secondary-color","#107180"),fontFamily:h("--font-family","Arial, sans-serif"),embedded:i}})(),header:{title:"ACCESS Q&A Bot",avatar:"https://support.access-ci.org/themes/contrib/asp-theme/images/icons/ACCESS-arrrow.svg"},chatInput:{enabledPlaceholderText:n,disabledPlaceholderText:"Please log in to ask questions.",disabled:a},chatHistory:{disabled:!0},botBubble:{simStream:!0,dangerouslySetInnerHtml:!0},chatButton:{icon:"https://support.access-ci.org/themes/contrib/asp-theme/images/icons/ACCESS-arrrow.svg"},tooltip:{text:"Ask me about ACCESS! 😊"},audio:{disabled:!0},emoji:{disabled:!0},fileAttachment:{disabled:!0},notification:{disabled:!0},footer:{text:Me.createElement("div",null,"Find out more ",Me.createElement("a",{href:"https://support.access-ci.org/tools/access-qa-tool"},"about this tool")," or ",Me.createElement("a",{href:"https://docs.google.com/forms/d/e/1FAIpQLSeWnE1r738GU1u_ri3TRpw9dItn6JNPi7-FH7QFB9bAHSVN0w/viewform"},"give us feedback"),".")}},isOpen:c,onClose:l,flow:u}))};function Hp(e){return Me.createElement(no,{embedded:e.embedded,welcome:e.welcome,prompt:e.prompt,isLoggedIn:e.isLoggedIn,isAnonymous:e.isAnonymous,disabled:e.disabled,isOpen:e.isOpen,onClose:e.onClose,apiKey:e.apiKey})}Ir("body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;margin:0}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}",{insertAt:"top"});class xl extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"}),this.container=document.createElement("div"),this.container.className="qa-bot-container",this.shadowRoot.appendChild(this.container),this.injectStyles()}injectStyles(){const t=document.createElement("style");t.textContent=`
|
|
11
|
+
:host {
|
|
12
|
+
display: block;
|
|
13
|
+
--primary-color: #1a5b6e;
|
|
14
|
+
--secondary-color: #107180;
|
|
15
|
+
--font-family: Arial, sans-serif;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.qa-bot-container {
|
|
19
|
+
width: 100%;
|
|
20
|
+
height: 100%;
|
|
21
|
+
font-family: var(--font-family);
|
|
22
|
+
}
|
|
23
|
+
`,this.shadowRoot.appendChild(t);const n=document.createElement("style");if(n.textContent=`
|
|
24
|
+
/* Essential styles from react-chatbotify */
|
|
25
|
+
.rcb-header-avatar {
|
|
26
|
+
width: 24px !important;
|
|
27
|
+
height: 24px !important;
|
|
28
|
+
margin-right: 8px !important;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.rcb-chat-header {
|
|
32
|
+
background-color: var(--primary-color) !important;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.rcb-chat-button {
|
|
36
|
+
background-color: var(--primary-color) !important;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/* Ensure proper z-index for floating button */
|
|
40
|
+
.rcb-floating-button {
|
|
41
|
+
z-index: 1000 !important;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/* Make links in footer readable */
|
|
45
|
+
.rcb-chat-footer a {
|
|
46
|
+
color: var(--primary-color) !important;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/* Fix button styling */
|
|
50
|
+
.rcb-send-button {
|
|
51
|
+
background-color: var(--primary-color) !important;
|
|
52
|
+
}
|
|
53
|
+
`,this.shadowRoot.appendChild(n),document.styleSheets)try{const i=document.createElement("style");let o="";for(let r=0;r<document.styleSheets.length;r++)try{const s=document.styleSheets[r];if(s.href&&!s.href.startsWith(window.location.origin))continue;const a=s.cssRules||s.rules;if(!a)continue;for(let c=0;c<a.length;c++)a[c].selectorText&&(a[c].selectorText.includes(".rcb-")||a[c].selectorText.includes(".access-qa-bot"))&&(o+=a[c].cssText+`
|
|
54
|
+
`)}catch{continue}o&&(i.textContent=o,this.shadowRoot.appendChild(i))}catch(i){console.warn("Failed to copy document styles to shadow DOM",i)}}static get observedAttributes(){return["welcome","prompt","embedded","is-logged-in","is-anonymous","disabled","is-open","api-key"]}attributeChangedCallback(t,n,i){n!==i&&this._render()}_getProps(){return{welcome:this.getAttribute("welcome"),prompt:this.getAttribute("prompt"),embedded:this.hasAttribute("embedded"),isLoggedIn:this.hasAttribute("is-logged-in"),isAnonymous:this.hasAttribute("is-anonymous"),disabled:this.hasAttribute("disabled"),isOpen:this.hasAttribute("is-open"),apiKey:this.getAttribute("api-key")||"demo-key",onClose:()=>{this.dispatchEvent(new CustomEvent("qabot-close"))}}}connectedCallback(){this.syncStyles(),this._render(),this.styleObserver=new MutationObserver(()=>this.syncStyles()),this.styleObserver.observe(this,{attributes:!0,attributeFilter:["style"]})}disconnectedCallback(){this.styleObserver&&this.styleObserver.disconnect(),this.root&&this.root.unmount()}syncStyles(){if(this.style.cssText){const t=this.style.cssText.split(";").filter(n=>n.trim().startsWith("--")).map(n=>n.trim());if(t.length>0){const n=this.container.style;t.forEach(i=>{const[o,r]=i.split(":").map(s=>s.trim());n.setProperty(o,r)})}}}_render(){this.root||(this.root=Mr(this.container));const t=this._getProps();this.root.render(Y(wc,null,Y(no,t)))}}customElements.define("access-qa-bot",xl);const _l=xl;function Pl(e){const{target:t,...n}=e;if(!(t&&t instanceof HTMLElement))return void console.error("QA Bot: A valid target DOM element is required");const i=document.createElement("access-qa-bot");return n.welcome&&i.setAttribute("welcome",n.welcome),n.prompt&&i.setAttribute("prompt",n.prompt),n.embedded&&i.setAttribute("embedded",""),n.isLoggedIn&&i.setAttribute("is-logged-in",""),n.isAnonymous&&i.setAttribute("is-anonymous",""),n.disabled&&i.setAttribute("disabled",""),n.isOpen&&i.setAttribute("is-open",""),n.apiKey&&i.setAttribute("api-key",n.apiKey),n.styles&&Object.entries(n.styles).forEach(([o,r])=>{o.startsWith("--")&&i.style.setProperty(o,r)}),n.onClose&&i.addEventListener("qabot-close",n.onClose),t.appendChild(i),()=>{t.removeChild(i)}}function Fp(e){const{target:t,version:n,isLoggedIn:i,isOpen:o,isAnonymous:r,...s}=e;if(t&&t instanceof HTMLElement){if(typeof window<"u"&&typeof customElements<"u"&&customElements.get("access-qa-bot"))return Pl({target:t,isLoggedIn:i,isAnonymous:r,isOpen:o,...s});{const a=vf.createRoot(t);return a.render(Me.createElement(Me.StrictMode,null,Me.createElement(Hp,Tr({isLoggedIn:i,isAnonymous:r,isOpen:o},s)))),()=>{a.unmount()}}}console.error("QA Bot: A valid target DOM element is required")}typeof window<"u"&&(window.process={env:{REACT_APP_API_KEY:"demo-key"}},window.accessQABot={WebComponentQABot:_l,qAndATool:Pl});const zp=Object.freeze(Object.defineProperty({__proto__:null,QABot:no,WebComponentQABot:_l,default:no,qAndATool:Fp},Symbol.toStringTag,{value:"Module"}));function nt({alt:e=null,name:t=null,src:n=null}){return t?f("i",{class:`icon bi bi-${t}`}):f("img",{class:"icon",alt:e,src:n})}const Bl=()=>{const e=new Event("accessci-update-sections");document.dispatchEvent(e)};function be({children:e,headerComponents:t=null,icon:n=null,sectionId:i=null,title:o}){const r=i||o.toLowerCase().replace(/[^0-9a-z]+/g,"-");return Wt(()=>(Bl(),Bl),[]),f("section",{id:r,"data-section-title":o,"data-section-icon":n,children:[f("div",{class:"flex-header",children:[f("h2",{children:[n?f(nt,{name:n}):null,o]}),t?f("div",{class:"header-components",children:t}):null]}),e]})}function Np({infoGroupId:e}){const t=Lt(`https://support.access-ci.org/api/1.0/affinity_groups/${e}`);if(!t||t.error||!t.length)return;const n=yr(t[0].slack_link);return f(be,{title:"User Community",icon:"people-fill",children:[f("p",{children:"Join the community by participating in an affinity group! Members get update about announcements, events, and outages."}),f("div",{class:"button-group",children:[f("a",{href:t[0].url,class:"btn secondary",children:[f(nt,{name:"person-plus-fill"})," Join Affinity Group"]}),n?f("a",{href:n,class:"btn",children:[f(nt,{name:"slack"})," Connect on Slack"]}):null,f("a",{href:"#questions-and-answers",class:"btn",children:[f(nt,{name:"chat-fill"})," Ask and Answer Questions"]})]})]})}function jp({infoGroupId:e}){const t=$n(e),n=Lt(t&&t.infoResourceIds.length?`https://operations-api.access-ci.org/wh2/cider/v1/info_resourceid/${t.infoResourceIds[0]}/?format=json`:null);if(!t)return;const{accessAllocated:i,name:o,description:r,imageUri:s,organizations:a}=t,c=i?"https://allocations.access-ci.org/get-your-first-project":null,l=n&&n.results?(n.results.compute||n.results.storage||{}).user_guide_url:null;return f("div",{class:"resource-group-description",children:[s?f("img",{class:"resource-group-feature-image",src:s}):null,f("h1",{children:t.name}),a.map(A=>f("p",{children:f("a",{href:A.organization_url||"#",children:[A.organization_favicon_url?f(nt,{alt:A.organization_name,src:A.organization_favicon_url}):null,A.organization_name]})})),r?f("p",{children:r}):null,f("div",{style:{marginTop:"1rem"},children:[c?f("a",{href:c,class:"btn secondary lg",children:[f(nt,{name:"check2-circle"})," Get Started with ",o]}):null,l?f("a",{href:l,class:"btn lg",children:[f(nt,{name:"book"})," User Guide"]}):null]})]})}function Up({column:e,row:t,style:n={}}){const i=e.format?e.format(t[e.key],t):t[e.key],o=["cell"];return e.class&&o.push(e.class),e.rowClass&&o.push(e.rowClass(t)),f("td",{class:o.join(" "),style:n,children:i})}const Vp={text:Up};function io({columns:e,rows:t,classes:n,frozenColumns:i=0,maxHeight:o=400,minWidth:r,rowClasses:s=[],scrollResetOnUpdate:a=!1}){const c=q();Wt(()=>{c.current&&a&&(c.current.scrollTop=0)},[t]);const l=[0];for(let p=0;p<i;p++)l[p+1]=l[p]+(e[p].width||100);const A=(p,g)=>p<i?{position:"sticky",left:`${l[p]}px`,minWidth:`${e[p].width||100}px`,width:`${e[p].width||100}px`,zIndex:g||1}:{},d=e.map((p,g)=>f("th",{class:p.headerClass||p.class||"",style:A(g,100),children:p.formatHeader?p.formatHeader(p.name,p):p.name},p.key)),u=t.map((p,g)=>{const b=e.map((v,w)=>{const _=Vp[v.type||"text"];return f(_,{column:v,row:p,style:A(w)},v.key)});return f("tr",{class:s[g]||"",children:b},g)}),h={};return r&&(h.minWidth=r),f("div",{class:`grid ${n||""}`,style:{maxHeight:Number.isInteger(o)?`${o}px`:o||null},ref:c,children:f("table",{class:"table",style:h,children:[f("thead",{children:f("tr",{children:d})}),f("tbody",{children:u})]})})}function Wp({infoGroupId:e}){const t=Lt(`https://support.access-ci.org/api/1.0/affinity_groups/${e}`),n=t&&!t.error&&t.length?t[0].field_ask_ci_locale:null,i=n?`${n}.json`:null,o=Lt(i);return!o||o.error||!o.topic_list||!o.topic_list.topics||!o.topic_list.topics.length?void 0:f(be,{title:"Questions and Answers",icon:"chat-fill",headerComponents:[f("a",{href:n,class:"btn secondary",children:"Ask a Question"}),f("a",{href:n,class:"btn",children:"View All Topics"})],children:f(io,{columns:[{key:"title",name:"Topic",format:(a,c)=>f(N,{children:[c.pinned?f(nt,{name:"pin-fill"}):null,f("a",{href:`https://ask.cyberinfrastructure.org/t/${c.slug}/${c.id}`,children:a})]})},{key:"posts_count",name:"Posts",format:a=>a.toLocaleString("en-us")},{key:"bumped_at",name:"Last Update",format:a=>new Date(a).toLocaleString("en-US",{dateStyle:"medium"})}],rows:o.topic_list.topics.slice(0,5)})})}var zt="top",te="bottom",ee="right",Nt="left",Wr="auto",oi=[zt,te,ee,Nt],Cn="start",ri="end",Yp="clippingParents",kl="viewport",si="popper",Kp="reference",Dl=oi.reduce(function(e,t){return e.concat([t+"-"+Cn,t+"-"+ri])},[]),Cl=[].concat(oi,[Wr]).reduce(function(e,t){return e.concat([t,t+"-"+Cn,t+"-"+ri])},[]),qp="beforeRead",Xp="read",Gp="afterRead",Jp="beforeMain",Zp="main",$p="afterMain",tg="beforeWrite",eg="write",ng="afterWrite",ig=[qp,Xp,Gp,Jp,Zp,$p,tg,eg,ng];function ve(e){return e?(e.nodeName||"").toLowerCase():null}function Yt(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function an(e){var t=Yt(e).Element;return e instanceof t||e instanceof Element}function ne(e){var t=Yt(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Yr(e){if(typeof ShadowRoot>"u")return!1;var t=Yt(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function og(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var i=t.styles[n]||{},o=t.attributes[n]||{},r=t.elements[n];!ne(r)||!ve(r)||(Object.assign(r.style,i),Object.keys(o).forEach(function(s){var a=o[s];a===!1?r.removeAttribute(s):r.setAttribute(s,a===!0?"":a)}))})}function rg(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(i){var o=t.elements[i],r=t.attributes[i]||{},s=Object.keys(t.styles.hasOwnProperty(i)?t.styles[i]:n[i]),a=s.reduce(function(c,l){return c[l]="",c},{});!ne(o)||!ve(o)||(Object.assign(o.style,a),Object.keys(r).forEach(function(c){o.removeAttribute(c)}))})}}const El={name:"applyStyles",enabled:!0,phase:"write",fn:og,effect:rg,requires:["computeStyles"]};function we(e){return e.split("-")[0]}var cn=Math.max,oo=Math.min,En=Math.round;function Kr(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Sl(){return!/^((?!chrome|android).)*safari/i.test(Kr())}function Sn(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var i=e.getBoundingClientRect(),o=1,r=1;t&&ne(e)&&(o=e.offsetWidth>0&&En(i.width)/e.offsetWidth||1,r=e.offsetHeight>0&&En(i.height)/e.offsetHeight||1);var s=an(e)?Yt(e):window,a=s.visualViewport,c=!Sl()&&n,l=(i.left+(c&&a?a.offsetLeft:0))/o,A=(i.top+(c&&a?a.offsetTop:0))/r,d=i.width/o,u=i.height/r;return{width:d,height:u,top:A,right:l+d,bottom:A+u,left:l,x:l,y:A}}function qr(e){var t=Sn(e),n=e.offsetWidth,i=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-i)<=1&&(i=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:i}}function Ml(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Yr(n)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function Ie(e){return Yt(e).getComputedStyle(e)}function sg(e){return["table","td","th"].indexOf(ve(e))>=0}function Ke(e){return((an(e)?e.ownerDocument:e.document)||window.document).documentElement}function ro(e){return ve(e)==="html"?e:e.assignedSlot||e.parentNode||(Yr(e)?e.host:null)||Ke(e)}function Tl(e){return!ne(e)||Ie(e).position==="fixed"?null:e.offsetParent}function ag(e){var t=/firefox/i.test(Kr()),n=/Trident/i.test(Kr());if(n&&ne(e)){var i=Ie(e);if(i.position==="fixed")return null}var o=ro(e);for(Yr(o)&&(o=o.host);ne(o)&&["html","body"].indexOf(ve(o))<0;){var r=Ie(o);if(r.transform!=="none"||r.perspective!=="none"||r.contain==="paint"||["transform","perspective"].indexOf(r.willChange)!==-1||t&&r.willChange==="filter"||t&&r.filter&&r.filter!=="none")return o;o=o.parentNode}return null}function ai(e){for(var t=Yt(e),n=Tl(e);n&&sg(n)&&Ie(n).position==="static";)n=Tl(n);return n&&(ve(n)==="html"||ve(n)==="body"&&Ie(n).position==="static")?t:n||ag(e)||t}function Xr(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function ci(e,t,n){return cn(e,oo(t,n))}function cg(e,t,n){var i=ci(e,t,n);return i>n?n:i}function Il(){return{top:0,right:0,bottom:0,left:0}}function Ol(e){return Object.assign({},Il(),e)}function Ql(e,t){return t.reduce(function(n,i){return n[i]=e,n},{})}var lg=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,Ol(typeof t!="number"?t:Ql(t,oi))};function Ag(e){var t,n=e.state,i=e.name,o=e.options,r=n.elements.arrow,s=n.modifiersData.popperOffsets,a=we(n.placement),c=Xr(a),l=[Nt,ee].indexOf(a)>=0,A=l?"height":"width";if(!(!r||!s)){var d=lg(o.padding,n),u=qr(r),h=c==="y"?zt:Nt,p=c==="y"?te:ee,g=n.rects.reference[A]+n.rects.reference[c]-s[c]-n.rects.popper[A],b=s[c]-n.rects.reference[c],v=ai(r),w=v?c==="y"?v.clientHeight||0:v.clientWidth||0:0,_=g/2-b/2,m=d[h],y=w-u[A]-d[p],x=w/2-u[A]/2+_,P=ci(m,x,y),C=c;n.modifiersData[i]=(t={},t[C]=P,t.centerOffset=P-x,t)}}function dg(e){var t=e.state,n=e.options,i=n.element,o=i===void 0?"[data-popper-arrow]":i;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||Ml(t.elements.popper,o)&&(t.elements.arrow=o))}const ug={name:"arrow",enabled:!0,phase:"main",fn:Ag,effect:dg,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Mn(e){return e.split("-")[1]}var hg={top:"auto",right:"auto",bottom:"auto",left:"auto"};function fg(e,t){var n=e.x,i=e.y,o=t.devicePixelRatio||1;return{x:En(n*o)/o||0,y:En(i*o)/o||0}}function Ll(e){var t,n=e.popper,i=e.popperRect,o=e.placement,r=e.variation,s=e.offsets,a=e.position,c=e.gpuAcceleration,l=e.adaptive,A=e.roundOffsets,d=e.isFixed,u=s.x,h=u===void 0?0:u,p=s.y,g=p===void 0?0:p,b=typeof A=="function"?A({x:h,y:g}):{x:h,y:g};h=b.x,g=b.y;var v=s.hasOwnProperty("x"),w=s.hasOwnProperty("y"),_=Nt,m=zt,y=window;if(l){var x=ai(n),P="clientHeight",C="clientWidth";if(x===Yt(n)&&(x=Ke(n),Ie(x).position!=="static"&&a==="absolute"&&(P="scrollHeight",C="scrollWidth")),x=x,o===zt||(o===Nt||o===ee)&&r===ri){m=te;var B=d&&x===y&&y.visualViewport?y.visualViewport.height:x[P];g-=B-i.height,g*=c?1:-1}if(o===Nt||(o===zt||o===te)&&r===ri){_=ee;var D=d&&x===y&&y.visualViewport?y.visualViewport.width:x[C];h-=D-i.width,h*=c?1:-1}}var E=Object.assign({position:a},l&&hg),S=A===!0?fg({x:h,y:g},Yt(n)):{x:h,y:g};if(h=S.x,g=S.y,c){var I;return Object.assign({},E,(I={},I[m]=w?"0":"",I[_]=v?"0":"",I.transform=(y.devicePixelRatio||1)<=1?"translate("+h+"px, "+g+"px)":"translate3d("+h+"px, "+g+"px, 0)",I))}return Object.assign({},E,(t={},t[m]=w?g+"px":"",t[_]=v?h+"px":"",t.transform="",t))}function pg(e){var t=e.state,n=e.options,i=n.gpuAcceleration,o=i===void 0?!0:i,r=n.adaptive,s=r===void 0?!0:r,a=n.roundOffsets,c=a===void 0?!0:a,l={placement:we(t.placement),variation:Mn(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Ll(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Ll(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const gg={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:pg,data:{}};var so={passive:!0};function mg(e){var t=e.state,n=e.instance,i=e.options,o=i.scroll,r=o===void 0?!0:o,s=i.resize,a=s===void 0?!0:s,c=Yt(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return r&&l.forEach(function(A){A.addEventListener("scroll",n.update,so)}),a&&c.addEventListener("resize",n.update,so),function(){r&&l.forEach(function(A){A.removeEventListener("scroll",n.update,so)}),a&&c.removeEventListener("resize",n.update,so)}}const bg={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:mg,data:{}};var vg={left:"right",right:"left",bottom:"top",top:"bottom"};function ao(e){return e.replace(/left|right|bottom|top/g,function(t){return vg[t]})}var wg={start:"end",end:"start"};function Rl(e){return e.replace(/start|end/g,function(t){return wg[t]})}function Gr(e){var t=Yt(e),n=t.pageXOffset,i=t.pageYOffset;return{scrollLeft:n,scrollTop:i}}function Jr(e){return Sn(Ke(e)).left+Gr(e).scrollLeft}function yg(e,t){var n=Yt(e),i=Ke(e),o=n.visualViewport,r=i.clientWidth,s=i.clientHeight,a=0,c=0;if(o){r=o.width,s=o.height;var l=Sl();(l||!l&&t==="fixed")&&(a=o.offsetLeft,c=o.offsetTop)}return{width:r,height:s,x:a+Jr(e),y:c}}function xg(e){var t,n=Ke(e),i=Gr(e),o=(t=e.ownerDocument)==null?void 0:t.body,r=cn(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),s=cn(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),a=-i.scrollLeft+Jr(e),c=-i.scrollTop;return Ie(o||n).direction==="rtl"&&(a+=cn(n.clientWidth,o?o.clientWidth:0)-r),{width:r,height:s,x:a,y:c}}function Zr(e){var t=Ie(e),n=t.overflow,i=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+i)}function Hl(e){return["html","body","#document"].indexOf(ve(e))>=0?e.ownerDocument.body:ne(e)&&Zr(e)?e:Hl(ro(e))}function li(e,t){var n;t===void 0&&(t=[]);var i=Hl(e),o=i===((n=e.ownerDocument)==null?void 0:n.body),r=Yt(i),s=o?[r].concat(r.visualViewport||[],Zr(i)?i:[]):i,a=t.concat(s);return o?a:a.concat(li(ro(s)))}function $r(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function _g(e,t){var n=Sn(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function Fl(e,t,n){return t===kl?$r(yg(e,n)):an(t)?_g(t,n):$r(xg(Ke(e)))}function Pg(e){var t=li(ro(e)),n=["absolute","fixed"].indexOf(Ie(e).position)>=0,i=n&&ne(e)?ai(e):e;return an(i)?t.filter(function(o){return an(o)&&Ml(o,i)&&ve(o)!=="body"}):[]}function Bg(e,t,n,i){var o=t==="clippingParents"?Pg(e):[].concat(t),r=[].concat(o,[n]),s=r[0],a=r.reduce(function(c,l){var A=Fl(e,l,i);return c.top=cn(A.top,c.top),c.right=oo(A.right,c.right),c.bottom=oo(A.bottom,c.bottom),c.left=cn(A.left,c.left),c},Fl(e,s,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function zl(e){var t=e.reference,n=e.element,i=e.placement,o=i?we(i):null,r=i?Mn(i):null,s=t.x+t.width/2-n.width/2,a=t.y+t.height/2-n.height/2,c;switch(o){case zt:c={x:s,y:t.y-n.height};break;case te:c={x:s,y:t.y+t.height};break;case ee:c={x:t.x+t.width,y:a};break;case Nt:c={x:t.x-n.width,y:a};break;default:c={x:t.x,y:t.y}}var l=o?Xr(o):null;if(l!=null){var A=l==="y"?"height":"width";switch(r){case Cn:c[l]=c[l]-(t[A]/2-n[A]/2);break;case ri:c[l]=c[l]+(t[A]/2-n[A]/2);break}}return c}function Ai(e,t){t===void 0&&(t={});var n=t,i=n.placement,o=i===void 0?e.placement:i,r=n.strategy,s=r===void 0?e.strategy:r,a=n.boundary,c=a===void 0?Yp:a,l=n.rootBoundary,A=l===void 0?kl:l,d=n.elementContext,u=d===void 0?si:d,h=n.altBoundary,p=h===void 0?!1:h,g=n.padding,b=g===void 0?0:g,v=Ol(typeof b!="number"?b:Ql(b,oi)),w=u===si?Kp:si,_=e.rects.popper,m=e.elements[p?w:u],y=Bg(an(m)?m:m.contextElement||Ke(e.elements.popper),c,A,s),x=Sn(e.elements.reference),P=zl({reference:x,element:_,strategy:"absolute",placement:o}),C=$r(Object.assign({},_,P)),B=u===si?C:x,D={top:y.top-B.top+v.top,bottom:B.bottom-y.bottom+v.bottom,left:y.left-B.left+v.left,right:B.right-y.right+v.right},E=e.modifiersData.offset;if(u===si&&E){var S=E[o];Object.keys(D).forEach(function(I){var O=[ee,te].indexOf(I)>=0?1:-1,M=[zt,te].indexOf(I)>=0?"y":"x";D[I]+=S[M]*O})}return D}function kg(e,t){t===void 0&&(t={});var n=t,i=n.placement,o=n.boundary,r=n.rootBoundary,s=n.padding,a=n.flipVariations,c=n.allowedAutoPlacements,l=c===void 0?Cl:c,A=Mn(i),d=A?a?Dl:Dl.filter(function(p){return Mn(p)===A}):oi,u=d.filter(function(p){return l.indexOf(p)>=0});u.length===0&&(u=d);var h=u.reduce(function(p,g){return p[g]=Ai(e,{placement:g,boundary:o,rootBoundary:r,padding:s})[we(g)],p},{});return Object.keys(h).sort(function(p,g){return h[p]-h[g]})}function Dg(e){if(we(e)===Wr)return[];var t=ao(e);return[Rl(e),t,Rl(t)]}function Cg(e){var t=e.state,n=e.options,i=e.name;if(!t.modifiersData[i]._skip){for(var o=n.mainAxis,r=o===void 0?!0:o,s=n.altAxis,a=s===void 0?!0:s,c=n.fallbackPlacements,l=n.padding,A=n.boundary,d=n.rootBoundary,u=n.altBoundary,h=n.flipVariations,p=h===void 0?!0:h,g=n.allowedAutoPlacements,b=t.options.placement,v=we(b),w=v===b,_=c||(w||!p?[ao(b)]:Dg(b)),m=[b].concat(_).reduce(function(F,J){return F.concat(we(J)===Wr?kg(t,{placement:J,boundary:A,rootBoundary:d,padding:l,flipVariations:p,allowedAutoPlacements:g}):J)},[]),y=t.rects.reference,x=t.rects.popper,P=new Map,C=!0,B=m[0],D=0;D<m.length;D++){var E=m[D],S=we(E),I=Mn(E)===Cn,O=[zt,te].indexOf(S)>=0,M=O?"width":"height",T=Ai(t,{placement:E,boundary:A,rootBoundary:d,altBoundary:u,padding:l}),Q=O?I?ee:Nt:I?te:zt;y[M]>x[M]&&(Q=ao(Q));var z=ao(Q),V=[];if(r&&V.push(T[S]<=0),a&&V.push(T[Q]<=0,T[z]<=0),V.every(function(F){return F})){B=E,C=!1;break}P.set(E,V)}if(C)for(var j=p?3:1,$=function(J){var ot=m.find(function(Ht){var It=P.get(Ht);if(It)return It.slice(0,J).every(function(ue){return ue})});if(ot)return B=ot,"break"},K=j;K>0;K--){var tt=$(K);if(tt==="break")break}t.placement!==B&&(t.modifiersData[i]._skip=!0,t.placement=B,t.reset=!0)}}const Eg={name:"flip",enabled:!0,phase:"main",fn:Cg,requiresIfExists:["offset"],data:{_skip:!1}};function Nl(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function jl(e){return[zt,ee,te,Nt].some(function(t){return e[t]>=0})}function Sg(e){var t=e.state,n=e.name,i=t.rects.reference,o=t.rects.popper,r=t.modifiersData.preventOverflow,s=Ai(t,{elementContext:"reference"}),a=Ai(t,{altBoundary:!0}),c=Nl(s,i),l=Nl(a,o,r),A=jl(c),d=jl(l);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:l,isReferenceHidden:A,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":A,"data-popper-escaped":d})}const Mg={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Sg};function Tg(e,t,n){var i=we(e),o=[Nt,zt].indexOf(i)>=0?-1:1,r=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,s=r[0],a=r[1];return s=s||0,a=(a||0)*o,[Nt,ee].indexOf(i)>=0?{x:a,y:s}:{x:s,y:a}}function Ig(e){var t=e.state,n=e.options,i=e.name,o=n.offset,r=o===void 0?[0,0]:o,s=Cl.reduce(function(A,d){return A[d]=Tg(d,t.rects,r),A},{}),a=s[t.placement],c=a.x,l=a.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=l),t.modifiersData[i]=s}const Og={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Ig};function Qg(e){var t=e.state,n=e.name;t.modifiersData[n]=zl({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const Lg={name:"popperOffsets",enabled:!0,phase:"read",fn:Qg,data:{}};function Rg(e){return e==="x"?"y":"x"}function Hg(e){var t=e.state,n=e.options,i=e.name,o=n.mainAxis,r=o===void 0?!0:o,s=n.altAxis,a=s===void 0?!1:s,c=n.boundary,l=n.rootBoundary,A=n.altBoundary,d=n.padding,u=n.tether,h=u===void 0?!0:u,p=n.tetherOffset,g=p===void 0?0:p,b=Ai(t,{boundary:c,rootBoundary:l,padding:d,altBoundary:A}),v=we(t.placement),w=Mn(t.placement),_=!w,m=Xr(v),y=Rg(m),x=t.modifiersData.popperOffsets,P=t.rects.reference,C=t.rects.popper,B=typeof g=="function"?g(Object.assign({},t.rects,{placement:t.placement})):g,D=typeof B=="number"?{mainAxis:B,altAxis:B}:Object.assign({mainAxis:0,altAxis:0},B),E=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,S={x:0,y:0};if(x){if(r){var I,O=m==="y"?zt:Nt,M=m==="y"?te:ee,T=m==="y"?"height":"width",Q=x[m],z=Q+b[O],V=Q-b[M],j=h?-C[T]/2:0,$=w===Cn?P[T]:C[T],K=w===Cn?-C[T]:-P[T],tt=t.elements.arrow,F=h&&tt?qr(tt):{width:0,height:0},J=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Il(),ot=J[O],Ht=J[M],It=ci(0,P[T],F[T]),ue=_?P[T]/2-j-It-ot-D.mainAxis:$-It-ot-D.mainAxis,De=_?-P[T]/2+j+It+Ht+D.mainAxis:K+It+Ht+D.mainAxis,ze=t.elements.arrow&&ai(t.elements.arrow),at=ze?m==="y"?ze.clientTop||0:ze.clientLeft||0:0,bt=(I=E==null?void 0:E[m])!=null?I:0,xt=Q+ue-bt-at,Dt=Q+De-bt,Ot=ci(h?oo(z,xt):z,Q,h?cn(V,Dt):V);x[m]=Ot,S[m]=Ot-Q}if(a){var Qt,ft=m==="x"?zt:Nt,vt=m==="x"?te:ee,_t=x[y],Jt=y==="y"?"height":"width",vn=_t+b[ft],Ne=_t-b[vt],Vt=[zt,Nt].indexOf(v)!==-1,Vn=(Qt=E==null?void 0:E[y])!=null?Qt:0,$o=Vt?vn:_t-P[Jt]-C[Jt]-Vn+D.altAxis,tr=Vt?_t+P[Jt]+C[Jt]-Vn-D.altAxis:Ne,er=h&&Vt?cg($o,_t,tr):ci(h?$o:vn,_t,h?tr:Ne);x[y]=er,S[y]=er-_t}t.modifiersData[i]=S}}const Fg={name:"preventOverflow",enabled:!0,phase:"main",fn:Hg,requiresIfExists:["offset"]};function zg(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Ng(e){return e===Yt(e)||!ne(e)?Gr(e):zg(e)}function jg(e){var t=e.getBoundingClientRect(),n=En(t.width)/e.offsetWidth||1,i=En(t.height)/e.offsetHeight||1;return n!==1||i!==1}function Ug(e,t,n){n===void 0&&(n=!1);var i=ne(t),o=ne(t)&&jg(t),r=Ke(t),s=Sn(e,o,n),a={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(i||!i&&!n)&&((ve(t)!=="body"||Zr(r))&&(a=Ng(t)),ne(t)?(c=Sn(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):r&&(c.x=Jr(r))),{x:s.left+a.scrollLeft-c.x,y:s.top+a.scrollTop-c.y,width:s.width,height:s.height}}function Vg(e){var t=new Map,n=new Set,i=[];e.forEach(function(r){t.set(r.name,r)});function o(r){n.add(r.name);var s=[].concat(r.requires||[],r.requiresIfExists||[]);s.forEach(function(a){if(!n.has(a)){var c=t.get(a);c&&o(c)}}),i.push(r)}return e.forEach(function(r){n.has(r.name)||o(r)}),i}function Wg(e){var t=Vg(e);return ig.reduce(function(n,i){return n.concat(t.filter(function(o){return o.phase===i}))},[])}function Yg(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function Kg(e){var t=e.reduce(function(n,i){var o=n[i.name];return n[i.name]=o?Object.assign({},o,i,{options:Object.assign({},o.options,i.options),data:Object.assign({},o.data,i.data)}):i,n},{});return Object.keys(t).map(function(n){return t[n]})}var Ul={placement:"bottom",modifiers:[],strategy:"absolute"};function Vl(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(i){return!(i&&typeof i.getBoundingClientRect=="function")})}function qg(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,i=n===void 0?[]:n,o=t.defaultOptions,r=o===void 0?Ul:o;return function(a,c,l){l===void 0&&(l=r);var A={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ul,r),modifiersData:{},elements:{reference:a,popper:c},attributes:{},styles:{}},d=[],u=!1,h={state:A,setOptions:function(v){var w=typeof v=="function"?v(A.options):v;g(),A.options=Object.assign({},r,A.options,w),A.scrollParents={reference:an(a)?li(a):a.contextElement?li(a.contextElement):[],popper:li(c)};var _=Wg(Kg([].concat(i,A.options.modifiers)));return A.orderedModifiers=_.filter(function(m){return m.enabled}),p(),h.update()},forceUpdate:function(){if(!u){var v=A.elements,w=v.reference,_=v.popper;if(Vl(w,_)){A.rects={reference:Ug(w,ai(_),A.options.strategy==="fixed"),popper:qr(_)},A.reset=!1,A.placement=A.options.placement,A.orderedModifiers.forEach(function(D){return A.modifiersData[D.name]=Object.assign({},D.data)});for(var m=0;m<A.orderedModifiers.length;m++){if(A.reset===!0){A.reset=!1,m=-1;continue}var y=A.orderedModifiers[m],x=y.fn,P=y.options,C=P===void 0?{}:P,B=y.name;typeof x=="function"&&(A=x({state:A,options:C,name:B,instance:h})||A)}}}},update:Yg(function(){return new Promise(function(b){h.forceUpdate(),b(A)})}),destroy:function(){g(),u=!0}};if(!Vl(a,c))return h;h.setOptions(l).then(function(b){!u&&l.onFirstUpdate&&l.onFirstUpdate(b)});function p(){A.orderedModifiers.forEach(function(b){var v=b.name,w=b.options,_=w===void 0?{}:w,m=b.effect;if(typeof m=="function"){var y=m({state:A,name:v,instance:h,options:_}),x=function(){};d.push(y||x)}})}function g(){d.forEach(function(b){return b()}),d=[]}return h}}var Xg=[bg,Lg,gg,El,Og,Eg,Fg,ug,Mg],Gg=qg({defaultModifiers:Xg}),Jg="tippy-box",Wl="tippy-content",Zg="tippy-backdrop",Yl="tippy-arrow",Kl="tippy-svg-arrow",ln={passive:!0,capture:!0},ql=function(){return document.body};function $g(e,t){return{}.hasOwnProperty.call(e,t)}function ts(e,t,n){if(Array.isArray(e)){var i=e[t];return i??(Array.isArray(n)?n[t]:n)}return e}function es(e,t){var n={}.toString.call(e);return n.indexOf("[object")===0&&n.indexOf(t+"]")>-1}function Xl(e,t){return typeof e=="function"?e.apply(void 0,t):e}function Gl(e,t){if(t===0)return e;var n;return function(i){clearTimeout(n),n=setTimeout(function(){e(i)},t)}}function t0(e,t){var n=Object.assign({},e);return t.forEach(function(i){delete n[i]}),n}function e0(e){return e.split(/\s+/).filter(Boolean)}function Tn(e){return[].concat(e)}function Jl(e,t){e.indexOf(t)===-1&&e.push(t)}function n0(e){return e.filter(function(t,n){return e.indexOf(t)===n})}function i0(e){return e.split("-")[0]}function co(e){return[].slice.call(e)}function Zl(e){return Object.keys(e).reduce(function(t,n){return e[n]!==void 0&&(t[n]=e[n]),t},{})}function di(){return document.createElement("div")}function ui(e){return["Element","Fragment"].some(function(t){return es(e,t)})}function o0(e){return es(e,"NodeList")}function r0(e){return es(e,"MouseEvent")}function s0(e){return!!(e&&e._tippy&&e._tippy.reference===e)}function a0(e){return ui(e)?[e]:o0(e)?co(e):Array.isArray(e)?e:co(document.querySelectorAll(e))}function ns(e,t){e.forEach(function(n){n&&(n.style.transitionDuration=t+"ms")})}function $l(e,t){e.forEach(function(n){n&&n.setAttribute("data-state",t)})}function c0(e){var t,n=Tn(e),i=n[0];return i!=null&&(t=i.ownerDocument)!=null&&t.body?i.ownerDocument:document}function l0(e,t){var n=t.clientX,i=t.clientY;return e.every(function(o){var r=o.popperRect,s=o.popperState,a=o.props,c=a.interactiveBorder,l=i0(s.placement),A=s.modifiersData.offset;if(!A)return!0;var d=l==="bottom"?A.top.y:0,u=l==="top"?A.bottom.y:0,h=l==="right"?A.left.x:0,p=l==="left"?A.right.x:0,g=r.top-i+d>c,b=i-r.bottom-u>c,v=r.left-n+h>c,w=n-r.right-p>c;return g||b||v||w})}function is(e,t,n){var i=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(o){e[i](o,n)})}function tA(e,t){for(var n=t;n;){var i;if(e.contains(n))return!0;n=n.getRootNode==null||(i=n.getRootNode())==null?void 0:i.host}return!1}var ye={isTouch:!1},eA=0;function A0(){ye.isTouch||(ye.isTouch=!0,window.performance&&document.addEventListener("mousemove",nA))}function nA(){var e=performance.now();e-eA<20&&(ye.isTouch=!1,document.removeEventListener("mousemove",nA)),eA=e}function d0(){var e=document.activeElement;if(s0(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}function u0(){document.addEventListener("touchstart",A0,ln),window.addEventListener("blur",d0)}var h0=typeof window<"u"&&typeof document<"u",f0=h0?!!window.msCrypto:!1;function In(e){var t=e==="destroy"?"n already-":" ";return[e+"() was called on a"+t+"destroyed instance. This is a no-op but","indicates a potential memory leak."].join(" ")}function iA(e){var t=/[ \t]{2,}/g,n=/^[ \t]*/gm;return e.replace(t," ").replace(n,"").trim()}function p0(e){return iA(`
|
|
2
55
|
%ctippy.js
|
|
3
56
|
|
|
4
|
-
%c`+
|
|
57
|
+
%c`+iA(e)+`
|
|
5
58
|
|
|
6
59
|
%c👷 This is a development-only message. It will be removed in production.
|
|
7
|
-
`)}function
|
|
60
|
+
`)}function oA(e){return[p0(e),"color: #00C584; font-size: 1.3em; font-weight: bold;","line-height: 1.5","color: #a6a095;"]}var hi;process.env.NODE_ENV!=="production"&&g0();function g0(){hi=new Set}function Oe(e,t){if(e&&!hi.has(t)){var n;hi.add(t),(n=console).warn.apply(n,oA(t))}}function os(e,t){if(e&&!hi.has(t)){var n;hi.add(t),(n=console).error.apply(n,oA(t))}}function m0(e){var t=!e,n=Object.prototype.toString.call(e)==="[object Object]"&&!e.addEventListener;os(t,["tippy() was passed","`"+String(e)+"`","as its targets (first) argument. Valid types are: String, Element,","Element[], or NodeList."].join(" ")),os(n,["tippy() was passed a plain object which is not supported as an argument","for virtual positioning. Use props.getReferenceClientRect instead."].join(" "))}var rA={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},b0={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},Kt=Object.assign({appendTo:ql,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},rA,b0),v0=Object.keys(Kt),w0=function(t){process.env.NODE_ENV!=="production"&&cA(t,[]);var n=Object.keys(t);n.forEach(function(i){Kt[i]=t[i]})};function sA(e){var t=e.plugins||[],n=t.reduce(function(i,o){var r=o.name,s=o.defaultValue;if(r){var a;i[r]=e[r]!==void 0?e[r]:(a=Kt[r])!=null?a:s}return i},{});return Object.assign({},e,n)}function y0(e,t){var n=t?Object.keys(sA(Object.assign({},Kt,{plugins:t}))):v0,i=n.reduce(function(o,r){var s=(e.getAttribute("data-tippy-"+r)||"").trim();if(!s)return o;if(r==="content")o[r]=s;else try{o[r]=JSON.parse(s)}catch{o[r]=s}return o},{});return i}function aA(e,t){var n=Object.assign({},t,{content:Xl(t.content,[e])},t.ignoreAttributes?{}:y0(e,t.plugins));return n.aria=Object.assign({},Kt.aria,n.aria),n.aria={expanded:n.aria.expanded==="auto"?t.interactive:n.aria.expanded,content:n.aria.content==="auto"?t.interactive?null:"describedby":n.aria.content},n}function cA(e,t){e===void 0&&(e={}),t===void 0&&(t=[]);var n=Object.keys(e);n.forEach(function(i){var o=t0(Kt,Object.keys(rA)),r=!$g(o,i);r&&(r=t.filter(function(s){return s.name===i}).length===0),Oe(r,["`"+i+"`","is not a valid prop. You may have spelled it incorrectly, or if it's","a plugin, forgot to pass it in an array as props.plugins.",`
|
|
8
61
|
|
|
9
62
|
`,`All props: https://atomiks.github.io/tippyjs/v6/all-props/
|
|
10
|
-
`,"Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "))})}var
|
|
63
|
+
`,"Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "))})}var x0=function(){return"innerHTML"};function rs(e,t){e[x0()]=t}function lA(e){var t=di();return e===!0?t.className=Yl:(t.className=Kl,ui(e)?t.appendChild(e):rs(t,e)),t}function AA(e,t){ui(t.content)?(rs(e,""),e.appendChild(t.content)):typeof t.content!="function"&&(t.allowHTML?rs(e,t.content):e.textContent=t.content)}function ss(e){var t=e.firstElementChild,n=co(t.children);return{box:t,content:n.find(function(i){return i.classList.contains(Wl)}),arrow:n.find(function(i){return i.classList.contains(Yl)||i.classList.contains(Kl)}),backdrop:n.find(function(i){return i.classList.contains(Zg)})}}function dA(e){var t=di(),n=di();n.className=Jg,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var i=di();i.className=Wl,i.setAttribute("data-state","hidden"),AA(i,e.props),t.appendChild(n),n.appendChild(i),o(e.props,e.props);function o(r,s){var a=ss(t),c=a.box,l=a.content,A=a.arrow;s.theme?c.setAttribute("data-theme",s.theme):c.removeAttribute("data-theme"),typeof s.animation=="string"?c.setAttribute("data-animation",s.animation):c.removeAttribute("data-animation"),s.inertia?c.setAttribute("data-inertia",""):c.removeAttribute("data-inertia"),c.style.maxWidth=typeof s.maxWidth=="number"?s.maxWidth+"px":s.maxWidth,s.role?c.setAttribute("role",s.role):c.removeAttribute("role"),(r.content!==s.content||r.allowHTML!==s.allowHTML)&&AA(l,e.props),s.arrow?A?r.arrow!==s.arrow&&(c.removeChild(A),c.appendChild(lA(s.arrow))):c.appendChild(lA(s.arrow)):A&&c.removeChild(A)}return{popper:t,onUpdate:o}}dA.$$tippy=!0;var _0=1,lo=[],as=[];function P0(e,t){var n=aA(e,Object.assign({},Kt,sA(Zl(t)))),i,o,r,s=!1,a=!1,c=!1,l=!1,A,d,u,h=[],p=Gl(xt,n.interactiveDebounce),g,b=_0++,v=null,w=n0(n.plugins),_={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},m={id:b,reference:e,popper:di(),popperInstance:v,props:n,state:_,plugins:w,clearDelayTimeouts:$o,setProps:tr,setContent:er,show:l1,hide:A1,hideWithInteractivity:d1,enable:Vt,disable:Vn,unmount:u1,destroy:h1};if(!n.render)return process.env.NODE_ENV!=="production"&&os(!0,"render() function has not been supplied."),m;var y=n.render(m),x=y.popper,P=y.onUpdate;x.setAttribute("data-tippy-root",""),x.id="tippy-"+m.id,m.popper=x,e._tippy=m,x._tippy=m;var C=w.map(function(k){return k.fn(m)}),B=e.hasAttribute("aria-expanded");return ze(),j(),Q(),z("onCreate",[m]),n.showOnCreate&&vn(),x.addEventListener("mouseenter",function(){m.props.interactive&&m.state.isVisible&&m.clearDelayTimeouts()}),x.addEventListener("mouseleave",function(){m.props.interactive&&m.props.trigger.indexOf("mouseenter")>=0&&O().addEventListener("mousemove",p)}),m;function D(){var k=m.props.touch;return Array.isArray(k)?k:[k,0]}function E(){return D()[0]==="hold"}function S(){var k;return!!((k=m.props.render)!=null&&k.$$tippy)}function I(){return g||e}function O(){var k=I().parentNode;return k?c0(k):document}function M(){return ss(x)}function T(k){return m.state.isMounted&&!m.state.isVisible||ye.isTouch||A&&A.type==="focus"?0:ts(m.props.delay,k?0:1,Kt.delay)}function Q(k){k===void 0&&(k=!1),x.style.pointerEvents=m.props.interactive&&!k?"":"none",x.style.zIndex=""+m.props.zIndex}function z(k,H,U){if(U===void 0&&(U=!0),C.forEach(function(rt){rt[k]&&rt[k].apply(rt,H)}),U){var lt;(lt=m.props)[k].apply(lt,H)}}function V(){var k=m.props.aria;if(k.content){var H="aria-"+k.content,U=x.id,lt=Tn(m.props.triggerTarget||e);lt.forEach(function(rt){var Ft=rt.getAttribute(H);if(m.state.isVisible)rt.setAttribute(H,Ft?Ft+" "+U:U);else{var ae=Ft&&Ft.replace(U,"").trim();ae?rt.setAttribute(H,ae):rt.removeAttribute(H)}})}}function j(){if(!(B||!m.props.aria.expanded)){var k=Tn(m.props.triggerTarget||e);k.forEach(function(H){m.props.interactive?H.setAttribute("aria-expanded",m.state.isVisible&&H===I()?"true":"false"):H.removeAttribute("aria-expanded")})}}function $(){O().removeEventListener("mousemove",p),lo=lo.filter(function(k){return k!==p})}function K(k){if(!(ye.isTouch&&(c||k.type==="mousedown"))){var H=k.composedPath&&k.composedPath()[0]||k.target;if(!(m.props.interactive&&tA(x,H))){if(Tn(m.props.triggerTarget||e).some(function(U){return tA(U,H)})){if(ye.isTouch||m.state.isVisible&&m.props.trigger.indexOf("click")>=0)return}else z("onClickOutside",[m,k]);m.props.hideOnClick===!0&&(m.clearDelayTimeouts(),m.hide(),a=!0,setTimeout(function(){a=!1}),m.state.isMounted||ot())}}}function tt(){c=!0}function F(){c=!1}function J(){var k=O();k.addEventListener("mousedown",K,!0),k.addEventListener("touchend",K,ln),k.addEventListener("touchstart",F,ln),k.addEventListener("touchmove",tt,ln)}function ot(){var k=O();k.removeEventListener("mousedown",K,!0),k.removeEventListener("touchend",K,ln),k.removeEventListener("touchstart",F,ln),k.removeEventListener("touchmove",tt,ln)}function Ht(k,H){ue(k,function(){!m.state.isVisible&&x.parentNode&&x.parentNode.contains(x)&&H()})}function It(k,H){ue(k,H)}function ue(k,H){var U=M().box;function lt(rt){rt.target===U&&(is(U,"remove",lt),H())}if(k===0)return H();is(U,"remove",d),is(U,"add",lt),d=lt}function De(k,H,U){U===void 0&&(U=!1);var lt=Tn(m.props.triggerTarget||e);lt.forEach(function(rt){rt.addEventListener(k,H,U),h.push({node:rt,eventType:k,handler:H,options:U})})}function ze(){E()&&(De("touchstart",bt,{passive:!0}),De("touchend",Dt,{passive:!0})),e0(m.props.trigger).forEach(function(k){if(k!=="manual")switch(De(k,bt),k){case"mouseenter":De("mouseleave",Dt);break;case"focus":De(f0?"focusout":"blur",Ot);break;case"focusin":De("focusout",Ot);break}})}function at(){h.forEach(function(k){var H=k.node,U=k.eventType,lt=k.handler,rt=k.options;H.removeEventListener(U,lt,rt)}),h=[]}function bt(k){var H,U=!1;if(!(!m.state.isEnabled||Qt(k)||a)){var lt=((H=A)==null?void 0:H.type)==="focus";A=k,g=k.currentTarget,j(),!m.state.isVisible&&r0(k)&&lo.forEach(function(rt){return rt(k)}),k.type==="click"&&(m.props.trigger.indexOf("mouseenter")<0||s)&&m.props.hideOnClick!==!1&&m.state.isVisible?U=!0:vn(k),k.type==="click"&&(s=!U),U&&!lt&&Ne(k)}}function xt(k){var H=k.target,U=I().contains(H)||x.contains(H);if(!(k.type==="mousemove"&&U)){var lt=Jt().concat(x).map(function(rt){var Ft,ae=rt._tippy,Wn=(Ft=ae.popperInstance)==null?void 0:Ft.state;return Wn?{popperRect:rt.getBoundingClientRect(),popperState:Wn,props:n}:null}).filter(Boolean);l0(lt,k)&&($(),Ne(k))}}function Dt(k){var H=Qt(k)||m.props.trigger.indexOf("click")>=0&&s;if(!H){if(m.props.interactive){m.hideWithInteractivity(k);return}Ne(k)}}function Ot(k){m.props.trigger.indexOf("focusin")<0&&k.target!==I()||m.props.interactive&&k.relatedTarget&&x.contains(k.relatedTarget)||Ne(k)}function Qt(k){return ye.isTouch?E()!==k.type.indexOf("touch")>=0:!1}function ft(){vt();var k=m.props,H=k.popperOptions,U=k.placement,lt=k.offset,rt=k.getReferenceClientRect,Ft=k.moveTransition,ae=S()?ss(x).arrow:null,Wn=rt?{getBoundingClientRect:rt,contextElement:rt.contextElement||I()}:e,Fu={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(nr){var Yn=nr.state;if(S()){var f1=M(),ca=f1.box;["placement","reference-hidden","escaped"].forEach(function(ir){ir==="placement"?ca.setAttribute("data-placement",Yn.placement):Yn.attributes.popper["data-popper-"+ir]?ca.setAttribute("data-"+ir,""):ca.removeAttribute("data-"+ir)}),Yn.attributes.popper={}}}},wn=[{name:"offset",options:{offset:lt}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!Ft}},Fu];S()&&ae&&wn.push({name:"arrow",options:{element:ae,padding:3}}),wn.push.apply(wn,(H==null?void 0:H.modifiers)||[]),m.popperInstance=Gg(Wn,x,Object.assign({},H,{placement:U,onFirstUpdate:u,modifiers:wn}))}function vt(){m.popperInstance&&(m.popperInstance.destroy(),m.popperInstance=null)}function _t(){var k=m.props.appendTo,H,U=I();m.props.interactive&&k===ql||k==="parent"?H=U.parentNode:H=Xl(k,[U]),H.contains(x)||H.appendChild(x),m.state.isMounted=!0,ft(),process.env.NODE_ENV!=="production"&&Oe(m.props.interactive&&k===Kt.appendTo&&U.nextElementSibling!==x,["Interactive tippy element may not be accessible via keyboard","navigation because it is not directly after the reference element","in the DOM source order.",`
|
|
11
64
|
|
|
12
65
|
`,"Using a wrapper <div> or <span> tag around the reference element","solves this by creating a new parentNode context.",`
|
|
13
66
|
|
|
14
67
|
`,"Specifying `appendTo: document.body` silences this warning, but it","assumes you are using a focus management solution to handle","keyboard navigation.",`
|
|
15
68
|
|
|
16
|
-
`,"See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity"].join(" "))}function
|
|
69
|
+
`,"See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity"].join(" "))}function Jt(){return co(x.querySelectorAll("[data-tippy-root]"))}function vn(k){m.clearDelayTimeouts(),k&&z("onTrigger",[m,k]),J();var H=T(!0),U=D(),lt=U[0],rt=U[1];ye.isTouch&<==="hold"&&rt&&(H=rt),H?i=setTimeout(function(){m.show()},H):m.show()}function Ne(k){if(m.clearDelayTimeouts(),z("onUntrigger",[m,k]),!m.state.isVisible){ot();return}if(!(m.props.trigger.indexOf("mouseenter")>=0&&m.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(k.type)>=0&&s)){var H=T(!1);H?o=setTimeout(function(){m.state.isVisible&&m.hide()},H):r=requestAnimationFrame(function(){m.hide()})}}function Vt(){m.state.isEnabled=!0}function Vn(){m.hide(),m.state.isEnabled=!1}function $o(){clearTimeout(i),clearTimeout(o),cancelAnimationFrame(r)}function tr(k){if(process.env.NODE_ENV!=="production"&&Oe(m.state.isDestroyed,In("setProps")),!m.state.isDestroyed){z("onBeforeUpdate",[m,k]),at();var H=m.props,U=aA(e,Object.assign({},H,Zl(k),{ignoreAttributes:!0}));m.props=U,ze(),H.interactiveDebounce!==U.interactiveDebounce&&($(),p=Gl(xt,U.interactiveDebounce)),H.triggerTarget&&!U.triggerTarget?Tn(H.triggerTarget).forEach(function(lt){lt.removeAttribute("aria-expanded")}):U.triggerTarget&&e.removeAttribute("aria-expanded"),j(),Q(),P&&P(H,U),m.popperInstance&&(ft(),Jt().forEach(function(lt){requestAnimationFrame(lt._tippy.popperInstance.forceUpdate)})),z("onAfterUpdate",[m,k])}}function er(k){m.setProps({content:k})}function l1(){process.env.NODE_ENV!=="production"&&Oe(m.state.isDestroyed,In("show"));var k=m.state.isVisible,H=m.state.isDestroyed,U=!m.state.isEnabled,lt=ye.isTouch&&!m.props.touch,rt=ts(m.props.duration,0,Kt.duration);if(!(k||H||U||lt)&&!I().hasAttribute("disabled")&&(z("onShow",[m],!1),m.props.onShow(m)!==!1)){if(m.state.isVisible=!0,S()&&(x.style.visibility="visible"),Q(),J(),m.state.isMounted||(x.style.transition="none"),S()){var Ft=M(),ae=Ft.box,Wn=Ft.content;ns([ae,Wn],0)}u=function(){var wn;if(!(!m.state.isVisible||l)){if(l=!0,x.offsetHeight,x.style.transition=m.props.moveTransition,S()&&m.props.animation){var aa=M(),nr=aa.box,Yn=aa.content;ns([nr,Yn],rt),$l([nr,Yn],"visible")}V(),j(),Jl(as,m),(wn=m.popperInstance)==null||wn.forceUpdate(),z("onMount",[m]),m.props.animation&&S()&&It(rt,function(){m.state.isShown=!0,z("onShown",[m])})}},_t()}}function A1(){process.env.NODE_ENV!=="production"&&Oe(m.state.isDestroyed,In("hide"));var k=!m.state.isVisible,H=m.state.isDestroyed,U=!m.state.isEnabled,lt=ts(m.props.duration,1,Kt.duration);if(!(k||H||U)&&(z("onHide",[m],!1),m.props.onHide(m)!==!1)){if(m.state.isVisible=!1,m.state.isShown=!1,l=!1,s=!1,S()&&(x.style.visibility="hidden"),$(),ot(),Q(!0),S()){var rt=M(),Ft=rt.box,ae=rt.content;m.props.animation&&(ns([Ft,ae],lt),$l([Ft,ae],"hidden"))}V(),j(),m.props.animation?S()&&Ht(lt,m.unmount):m.unmount()}}function d1(k){process.env.NODE_ENV!=="production"&&Oe(m.state.isDestroyed,In("hideWithInteractivity")),O().addEventListener("mousemove",p),Jl(lo,p),p(k)}function u1(){process.env.NODE_ENV!=="production"&&Oe(m.state.isDestroyed,In("unmount")),m.state.isVisible&&m.hide(),m.state.isMounted&&(vt(),Jt().forEach(function(k){k._tippy.unmount()}),x.parentNode&&x.parentNode.removeChild(x),as=as.filter(function(k){return k!==m}),m.state.isMounted=!1,z("onHidden",[m]))}function h1(){process.env.NODE_ENV!=="production"&&Oe(m.state.isDestroyed,In("destroy")),!m.state.isDestroyed&&(m.clearDelayTimeouts(),m.unmount(),at(),delete e._tippy,m.state.isDestroyed=!0,z("onDestroy",[m]))}}function fi(e,t){t===void 0&&(t={});var n=Kt.plugins.concat(t.plugins||[]);process.env.NODE_ENV!=="production"&&(m0(e),cA(t,n)),u0();var i=Object.assign({},t,{plugins:n}),o=a0(e);if(process.env.NODE_ENV!=="production"){var r=ui(i.content),s=o.length>1;Oe(r&&s,["tippy() was passed an Element as the `content` prop, but more than","one tippy instance was created by this invocation. This means the","content element will only be appended to the last tippy instance.",`
|
|
17
70
|
|
|
18
71
|
`,"Instead, pass the .innerHTML of the element, or use a function that","returns a cloned version of the element instead.",`
|
|
19
72
|
|
|
20
73
|
`,`1) content: element.innerHTML
|
|
21
|
-
`,"2) content: () => element.cloneNode(true)"].join(" "))}var a=
|
|
74
|
+
`,"2) content: () => element.cloneNode(true)"].join(" "))}var a=o.reduce(function(c,l){var A=l&&P0(l,i);return A&&c.push(A),c},[]);return ui(e)?a[0]:a}fi.defaultProps=Kt,fi.setDefaultProps=w0,fi.currentInput=ye,Object.assign({},El,{effect:function(t){var n=t.state,i={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(n.elements.popper.style,i.popper),n.styles=i,n.elements.arrow&&Object.assign(n.elements.arrow.style,i.arrow)}}),fi.setDefaultProps({render:dA});function B0({color:e="var(--contrast-6)",icon:t="info-circle-fill",tooltip:n}){const i=q(null);return Wt(()=>{i.current&&fi(i.current,{content:n,theme:"access",appendTo:i.current.parentElement})},[i.current]),f("button",{class:"info-tip",style:{color:e},ref:i,children:f(nt,{name:t})})}function k0({infoGroupId:e}){const t=Lt(`https://support.access-ci.org/api/1.0/kb/${e}`);if(!(!t||t.error||!t.length))return f(be,{title:"Documentation",icon:"book",children:f("ul",{children:t.map(({title:n,description:i,link:o})=>f("li",{children:[f("a",{href:qa(o),children:n}),i?f(B0,{tooltip:yr(i)}):null]}))})})}function D0({children:e,icon:t="megaphone-fill"}){return f("div",{class:"alert",children:[t?f(nt,{name:t}):null,f("div",{class:"alert-body",children:e})]})}function C0({children:e}){const[t,n]=R(!1);return f("div",{class:`expand-text ${t?"expanded":"contracted"}`,children:[e,f("button",{class:"expand-button",onClick:()=>n(!t),children:[f(nt,{name:`caret-${t?"up":"left"}-fill`}),t?"Less":"More"]})]})}function E0({date__end:e,date__start:t,description:n,location:i,registration:o,speaker:r,title:s}){const a=o,c=a?f("a",{href:a,children:s}):s,l=[];let A=null;const d=t,u=e;if(d){const h=new Date(d),p=new Date(u||d),[g,b]=[h,p].map(x=>x.toLocaleString("en-US",{dateStyle:"long"})),[v,w]=[h,p].map(x=>x.toLocaleString("en-US",{timeStyle:"short"})),_=h.toLocaleTimeString("en-US",{timeZoneName:"short"}).split(" ")[2],m=[`${g},`,v];(w!=v||b!=g)&&(m.push("-"),b!=g&&m.push(`${b},`),m.push(w)),m.push(`(${_})`),l.push(f(nt,{name:"calendar"}),m.join(" ")),r&&l.push(f(nt,{name:"people-fill"}),r),i&&l.push(f(nt,{name:"geo-alt-fill"}),i);const y=h.toLocaleString("en-US",{dateStyle:"medium"}).split(",")[0].split(" ").map(x=>f("span",{children:x}));A=a?f("a",{href:a,class:"event-icon",children:y}):f("div",{class:"event-icon",children:y})}return f("div",{class:"event",children:[A,f("div",{class:"event-details",children:[f("h3",{children:c}),l.length?f("div",{class:"event-metadata",children:l}):null,n?f(C0,{children:f("p",{children:xr(n)})}):null]})]})}function S0({infoGroupId:e}){const t=$n(e),n=Lt("https://operations-api.access-ci.org/wh2/news/v1/affiliation/access-ci.org/current_outages/"),i=Lt("https://operations-api.access-ci.org/wh2/news/v1/affiliation/access-ci.org/future_outages/"),o=Lt(`https://support.access-ci.org/api/1.1/events/ag/${e}`),r=wr([t,n,i],(a,c,l)=>[...c.results,...l.results].filter(A=>A.AffectedResources.some(d=>a.infoResourceIds.includes(d.ResourceID))),[]),s=wr([o],a=>a.filter(c=>new Date(c.date__start)>=new Date),[]);if(!(!r.length&&!s.length))return f(be,{title:"Announcements and Events",icon:"calendar3",children:[r.map(({Subject:a,Content:c})=>f(D0,{children:[a," ",f("a",{href:"https://operations.access-ci.org/infrastructure_news_view",children:"Learn more."})]})),s.map(a=>E0(a))]})}function M0({children:e,headingLevel:t=2,title:n}){const[i,o]=R(!1),r=`h${t}`;return f("div",{class:"accordion",children:[f(r,{class:"accordion-heading",children:f("button",{"aria-expanded":i,onClick:()=>o(!i),children:[n,f(nt,{name:i?"caret-up-fill":"caret-down-fill"})]})}),f("div",{class:"accordion-content",style:{display:i?"block":"none"},children:e})]})}function T0({resource_descriptive_name:e,resource_description:t,compute:n,storage:i}){const o=(n||i||{}).recommended_use;return f(M0,{title:e,children:[t?xr(t):null,o?f(N,{children:[f("h3",{children:"Recommended Use"}),xr(o)]}):null]})}function I0({infoGroupId:e}){const t=$n(e),n=Lt(t?t.infoResourceIds.map(c=>`https://operations-api.access-ci.org/wh2/cider/v1/info_resourceid/${c}/?format=json`):null,{defaultValue:[]}),i=n.filter(c=>c.results&&c.results.cider_type=="Compute").map(c=>({...c.results.compute,key:c.results.info_resourceid,name:c.results.resource_descriptive_name,format:(l,A)=>{const d=c.results.compute[A.attr];return A.format&&d?A.format(d,A):d||f(N,{children:"—"})}})),o=n.length?[{name:"Nodes",attr:"node_count",format:c=>c.toLocaleString("en-us")},{name:"CPU Type",attr:"cpu_type"},{name:"CPU Speed",attr:"cpu_speed_ghz",format:c=>`${c} Ghz`},{name:"CPU Cores per Node",attr:"cpu_count_per_node"},{name:"RAM per CPU Core",attr:"memory_per_cpu_gb",format:c=>`${c.toLocaleString("en-us")} GB`},{name:"GPU",attr:"gpu_description"},{name:"Local Storage per Node",attr:"local_storage_per_node_gb",format:c=>`${c.toLocaleString("en-us")} GB`},{name:"Network Interconnect",attr:"interconnect"},{name:"Operating System",attr:"operating_system"},{name:"Batch System",attr:"batch_system"}].filter(c=>i.some(l=>l[c.attr])):[],r={key:"name",name:"Attribute",format:c=>f("strong",{children:c})},s=i.length>0&&o.length>0,a={compute:[],storage:[],other:[]};for(let{results:c}of n)(a[c.cider_type.toLowerCase()]||a.other).push(f(T0,{...c}));return f(N,{children:[s||a.compute.length>0?f(be,{title:"Compute Resources",icon:"cpu-fill",children:[a.compute,s&&f(N,{children:[f("h3",{children:"Specifications"}),f(io,{columns:[r,...i],rows:o,maxHeight:null})]})]}):null,a.storage.length>0?f(be,{title:"Storage Resources",icon:"hdd-fill",children:a.storage}):null,a.other.length>0?f(be,{title:"Other Resources",icon:"stars",children:a.other}):null]})}/*!
|
|
22
75
|
* Glide.js v3.6.2
|
|
23
76
|
* (c) 2013-2024 Jędrzej Chałubek (https://github.com/jedrzejchalubek/)
|
|
24
77
|
* Released under the MIT License.
|
|
25
|
-
*/function Ma(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),i.push.apply(i,n)}return i}function Ca(e){for(var t=1;t<arguments.length;t++){var i=arguments[t]!=null?arguments[t]:{};t%2?Ma(Object(i),!0).forEach(function(n){Wd(e,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):Ma(Object(i)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(i,n))})}return e}function fn(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?fn=function(t){return typeof t}:fn=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},fn(e)}function pn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nd(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function gn(e,t,i){return t&&Nd(e.prototype,t),e}function Wd(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function Ud(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qs(e,t)}function Ke(e){return Ke=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},Ke(e)}function qs(e,t){return qs=Object.setPrototypeOf||function(n,s){return n.__proto__=s,n},qs(e,t)}function jd(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Yd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kd(e,t){if(t&&(typeof t=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Yd(e)}function qd(e){var t=jd();return function(){var n=Ke(e),s;if(t){var r=Ke(this).constructor;s=Reflect.construct(n,arguments,r)}else s=n.apply(this,arguments);return Kd(this,s)}}function Qd(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ke(e),e!==null););return e}function mn(){return typeof Reflect<"u"&&Reflect.get?mn=Reflect.get:mn=function(t,i,n){var s=Qd(t,i);if(s){var r=Object.getOwnPropertyDescriptor(s,i);return r.get?r.get.call(arguments.length<3?t:n):r.value}},mn.apply(this,arguments)}var Xd={type:"slider",startAt:0,perView:1,focusAt:0,gap:10,autoplay:!1,hoverpause:!0,keyboard:!0,bound:!1,swipeThreshold:80,dragThreshold:120,perSwipe:"",touchRatio:.5,touchAngle:45,animationDuration:400,rewind:!0,rewindDuration:800,animationTimingFunc:"cubic-bezier(.165, .840, .440, 1)",waitForTransition:!0,throttle:10,direction:"ltr",peek:0,cloningRatio:1,breakpoints:{},classes:{swipeable:"glide--swipeable",dragging:"glide--dragging",direction:{ltr:"glide--ltr",rtl:"glide--rtl"},type:{slider:"glide--slider",carousel:"glide--carousel"},slide:{clone:"glide__slide--clone",active:"glide__slide--active"},arrow:{disabled:"glide__arrow--disabled"},nav:{active:"glide__bullet--active"}}};function ce(e){console.error("[Glide warn]: ".concat(e))}function Ft(e){return parseInt(e)}function Qs(e){return typeof e=="string"}function Si(e){var t=fn(e);return t==="function"||t==="object"&&!!e}function bn(e){return typeof e=="function"}function Jd(e){return typeof e>"u"}function Xs(e){return e.constructor===Array}function Gd(e,t,i){var n={};for(var s in t)bn(t[s])?n[s]=t[s](e,n,i):ce("Extension must be a function");for(var r in n)bn(n[r].mount)&&n[r].mount();return n}function $(e,t,i){Object.defineProperty(e,t,i)}function Oa(e,t){var i=Object.assign({},e,t);if(t.hasOwnProperty("classes")){i.classes=Object.assign({},e.classes,t.classes);var n=["direction","type","slide","arrow","nav"];n.forEach(function(s){t.classes.hasOwnProperty(s)&&(i.classes[s]=Ca(Ca({},e.classes[s]),t.classes[s]))})}return t.hasOwnProperty("breakpoints")&&(i.breakpoints=Object.assign({},e.breakpoints,t.breakpoints)),i}var Zd=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};pn(this,e),this.events=t,this.hop=t.hasOwnProperty}return gn(e,[{key:"on",value:function(i,n){if(Xs(i)){for(var s=0;s<i.length;s++)this.on(i[s],n);return}this.hop.call(this.events,i)||(this.events[i]=[]);var r=this.events[i].push(n)-1;return{remove:function(){delete this.events[i][r]}}}},{key:"emit",value:function(i,n){if(Xs(i)){for(var s=0;s<i.length;s++)this.emit(i[s],n);return}this.hop.call(this.events,i)&&this.events[i].forEach(function(r){r(n||{})})}}]),e}(),$d=function(){function e(t){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};pn(this,e),this._c={},this._t=[],this._e=new Zd,this.disabled=!1,this.selector=t,this.settings=Oa(Xd,i),this.index=this.settings.startAt}return gn(e,[{key:"mount",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this._e.emit("mount.before"),Si(i)?this._c=Gd(this,i,this._e):ce("You need to provide a object on `mount()`"),this._e.emit("mount.after"),this}},{key:"mutate",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return Xs(i)?this._t=i:ce("You need to provide a array on `mutate()`"),this}},{key:"update",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.settings=Oa(this.settings,i),i.hasOwnProperty("startAt")&&(this.index=i.startAt),this._e.emit("update"),this}},{key:"go",value:function(i){return this._c.Run.make(i),this}},{key:"move",value:function(i){return this._c.Transition.disable(),this._c.Move.make(i),this}},{key:"destroy",value:function(){return this._e.emit("destroy"),this}},{key:"play",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return i&&(this.settings.autoplay=i),this._e.emit("play"),this}},{key:"pause",value:function(){return this._e.emit("pause"),this}},{key:"disable",value:function(){return this.disabled=!0,this}},{key:"enable",value:function(){return this.disabled=!1,this}},{key:"on",value:function(i,n){return this._e.on(i,n),this}},{key:"isType",value:function(i){return this.settings.type===i}},{key:"settings",get:function(){return this._o},set:function(i){Si(i)?this._o=i:ce("Options must be an `object` instance.")}},{key:"index",get:function(){return this._i},set:function(i){this._i=Ft(i)}},{key:"type",get:function(){return this.settings.type}},{key:"disabled",get:function(){return this._d},set:function(i){this._d=!!i}}]),e}();function tf(e,t,i){var n={mount:function(){this._o=!1},make:function(l){var h=this;e.disabled||(!e.settings.waitForTransition||e.disable(),this.move=l,i.emit("run.before",this.move),this.calculate(),i.emit("run",this.move),t.Transition.after(function(){h.isStart()&&i.emit("run.start",h.move),h.isEnd()&&i.emit("run.end",h.move),h.isOffset()&&(h._o=!1,i.emit("run.offset",h.move)),i.emit("run.after",h.move),e.enable()}))},calculate:function(){var l=this.move,h=this.length,u=l.steps,d=l.direction,f=1;if(d==="="){if(e.settings.bound&&Ft(u)>h){e.index=h;return}e.index=u;return}if(d===">"&&u===">"){e.index=h;return}if(d==="<"&&u==="<"){e.index=0;return}if(d==="|"&&(f=e.settings.perView||1),d===">"||d==="|"&&u===">"){var p=s(f);p>h&&(this._o=!0),e.index=r(p,f);return}if(d==="<"||d==="|"&&u==="<"){var m=o(f);m<0&&(this._o=!0),e.index=a(m,f);return}ce("Invalid direction pattern [".concat(d).concat(u,"] has been used"))},isStart:function(){return e.index<=0},isEnd:function(){return e.index>=this.length},isOffset:function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:void 0;return l?this._o?l==="|>"?this.move.direction==="|"&&this.move.steps===">":l==="|<"?this.move.direction==="|"&&this.move.steps==="<":this.move.direction===l:!1:this._o},isBound:function(){return e.isType("slider")&&e.settings.focusAt!=="center"&&e.settings.bound}};function s(c){var l=e.index;return e.isType("carousel")?l+c:l+(c-l%c)}function r(c,l){var h=n.length;return c<=h?c:e.isType("carousel")?c-(h+1):e.settings.rewind?n.isBound()&&!n.isEnd()?h:0:n.isBound()?h:Math.floor(h/l)*l}function o(c){var l=e.index;if(e.isType("carousel"))return l-c;var h=Math.ceil(l/c);return(h-1)*c}function a(c,l){var h=n.length;return c>=0?c:e.isType("carousel")?c+(h+1):e.settings.rewind?n.isBound()&&n.isStart()?h:Math.floor(h/l)*l:0}return $(n,"move",{get:function(){return this._m},set:function(l){var h=l.substr(1);this._m={direction:l.substr(0,1),steps:h?Ft(h)?Ft(h):h:0}}}),$(n,"length",{get:function(){var l=e.settings,h=t.Html.slides.length;return this.isBound()?h-1-(Ft(l.perView)-1)+Ft(l.focusAt):h-1}}),$(n,"offset",{get:function(){return this._o}}),n}function Ea(){return new Date().getTime()}function Ta(e,t){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n,s,r,o,a=0,c=function(){a=i.leading===!1?0:Ea(),n=null,o=e.apply(s,r),n||(s=r=null)},l=function(){var u=Ea();!a&&i.leading===!1&&(a=u);var d=t-(u-a);return s=this,r=arguments,d<=0||d>t?(n&&(clearTimeout(n),n=null),a=u,o=e.apply(s,r),n||(s=r=null)):!n&&i.trailing!==!1&&(n=setTimeout(c,d)),o};return l.cancel=function(){clearTimeout(n),a=0,n=s=r=null},l}var vn={ltr:["marginLeft","marginRight"],rtl:["marginRight","marginLeft"]};function ef(e,t,i){var n={apply:function(r){for(var o=0,a=r.length;o<a;o++){var c=r[o].style,l=t.Direction.value;o!==0?c[vn[l][0]]="".concat(this.value/2,"px"):c[vn[l][0]]="",o!==r.length-1?c[vn[l][1]]="".concat(this.value/2,"px"):c[vn[l][1]]=""}},remove:function(r){for(var o=0,a=r.length;o<a;o++){var c=r[o].style;c.marginLeft="",c.marginRight=""}}};return $(n,"value",{get:function(){return Ft(e.settings.gap)}}),$(n,"grow",{get:function(){return n.value*t.Sizes.length}}),$(n,"reductor",{get:function(){var r=e.settings.perView;return n.value*(r-1)/r}}),i.on(["build.after","update"],Ta(function(){n.apply(t.Html.wrapper.children)},30)),i.on("destroy",function(){n.remove(t.Html.wrapper.children)}),n}function Da(e){if(e&&e.parentNode){for(var t=e.parentNode.firstChild,i=[];t;t=t.nextSibling)t.nodeType===1&&t!==e&&i.push(t);return i}return[]}function Js(e){return Array.prototype.slice.call(e)}var nf='[data-glide-el="track"]';function sf(e,t,i){var n={mount:function(){this.root=e.selector,this.track=this.root.querySelector(nf),this.collectSlides()},collectSlides:function(){this.slides=Js(this.wrapper.children).filter(function(r){return!r.classList.contains(e.settings.classes.slide.clone)})}};return $(n,"root",{get:function(){return n._r},set:function(r){Qs(r)&&(r=document.querySelector(r)),r!==null?n._r=r:ce("Root element must be a existing Html node")}}),$(n,"track",{get:function(){return n._t},set:function(r){n._t=r}}),$(n,"wrapper",{get:function(){return n.track.children[0]}}),i.on("update",function(){n.collectSlides()}),n}function rf(e,t,i){var n={mount:function(){this.value=e.settings.peek}};return $(n,"value",{get:function(){return n._v},set:function(r){Si(r)?(r.before=Ft(r.before),r.after=Ft(r.after)):r=Ft(r),n._v=r}}),$(n,"reductor",{get:function(){var r=n.value,o=e.settings.perView;return Si(r)?r.before/o+r.after/o:r*2/o}}),i.on(["resize","update"],function(){n.mount()}),n}function of(e,t,i){var n={mount:function(){this._o=0},make:function(){var r=this,o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.offset=o,i.emit("move",{movement:this.value}),t.Transition.after(function(){i.emit("move.after",{movement:r.value})})}};return $(n,"offset",{get:function(){return n._o},set:function(r){n._o=Jd(r)?0:Ft(r)}}),$(n,"translate",{get:function(){return t.Sizes.slideWidth*e.index}}),$(n,"value",{get:function(){var r=this.offset,o=this.translate;return t.Direction.is("rtl")?o+r:o-r}}),i.on(["build.before","run"],function(){n.make()}),n}function af(e,t,i){var n={setupSlides:function(){for(var r="".concat(this.slideWidth,"px"),o=t.Html.slides,a=0;a<o.length;a++)o[a].style.width=r},setupWrapper:function(){t.Html.wrapper.style.width="".concat(this.wrapperSize,"px")},remove:function(){for(var r=t.Html.slides,o=0;o<r.length;o++)r[o].style.width="";t.Html.wrapper.style.width=""}};return $(n,"length",{get:function(){return t.Html.slides.length}}),$(n,"width",{get:function(){return t.Html.track.offsetWidth}}),$(n,"wrapperSize",{get:function(){return n.slideWidth*n.length+t.Gaps.grow+t.Clones.grow}}),$(n,"slideWidth",{get:function(){return n.width/e.settings.perView-t.Peek.reductor-t.Gaps.reductor}}),i.on(["build.before","resize","update"],function(){n.setupSlides(),n.setupWrapper()}),i.on("destroy",function(){n.remove()}),n}function cf(e,t,i){var n={mount:function(){i.emit("build.before"),this.typeClass(),this.activeClass(),i.emit("build.after")},typeClass:function(){t.Html.root.classList.add(e.settings.classes.type[e.settings.type])},activeClass:function(){var r=e.settings.classes,o=t.Html.slides[e.index];o&&(o.classList.add(r.slide.active),Da(o).forEach(function(a){a.classList.remove(r.slide.active)}))},removeClasses:function(){var r=e.settings.classes,o=r.type,a=r.slide;t.Html.root.classList.remove(o[e.settings.type]),t.Html.slides.forEach(function(c){c.classList.remove(a.active)})}};return i.on(["destroy","update"],function(){n.removeClasses()}),i.on(["resize","update"],function(){n.mount()}),i.on("move.after",function(){n.activeClass()}),n}function lf(e,t,i){var n={mount:function(){this.items=[],e.isType("carousel")&&(this.items=this.collect())},collect:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],o=t.Html.slides,a=e.settings,c=a.perView,l=a.classes,h=a.cloningRatio;if(o.length>0)for(var u=+!!e.settings.peek,d=c+u+Math.round(c/2),f=o.slice(0,d).reverse(),p=o.slice(d*-1),m=0;m<Math.max(h,Math.floor(c/o.length));m++){for(var v=0;v<f.length;v++){var x=f[v].cloneNode(!0);x.classList.add(l.slide.clone),r.push(x)}for(var y=0;y<p.length;y++){var w=p[y].cloneNode(!0);w.classList.add(l.slide.clone),r.unshift(w)}}return r},append:function(){for(var r=this.items,o=t.Html,a=o.wrapper,c=o.slides,l=Math.floor(r.length/2),h=r.slice(0,l).reverse(),u=r.slice(l*-1).reverse(),d="".concat(t.Sizes.slideWidth,"px"),f=0;f<u.length;f++)a.appendChild(u[f]);for(var p=0;p<h.length;p++)a.insertBefore(h[p],c[0]);for(var m=0;m<r.length;m++)r[m].style.width=d},remove:function(){for(var r=this.items,o=0;o<r.length;o++)t.Html.wrapper.removeChild(r[o])}};return $(n,"grow",{get:function(){return(t.Sizes.slideWidth+t.Gaps.value)*n.items.length}}),i.on("update",function(){n.remove(),n.mount(),n.append()}),i.on("build.before",function(){e.isType("carousel")&&n.append()}),i.on("destroy",function(){n.remove()}),n}var Pa=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};pn(this,e),this.listeners=t}return gn(e,[{key:"on",value:function(i,n,s){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;Qs(i)&&(i=[i]);for(var o=0;o<i.length;o++)this.listeners[i[o]]=s,n.addEventListener(i[o],this.listeners[i[o]],r)}},{key:"off",value:function(i,n){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Qs(i)&&(i=[i]);for(var r=0;r<i.length;r++)n.removeEventListener(i[r],this.listeners[i[r]],s)}},{key:"destroy",value:function(){delete this.listeners}}]),e}();function hf(e,t,i){var n=new Pa,s={mount:function(){this.bind()},bind:function(){n.on("resize",window,Ta(function(){i.emit("resize")},e.settings.throttle))},unbind:function(){n.off("resize",window)}};return i.on("destroy",function(){s.unbind(),n.destroy()}),s}var uf=["ltr","rtl"],df={">":"<","<":">","=":"="};function ff(e,t,i){var n={mount:function(){this.value=e.settings.direction},resolve:function(r){var o=r.slice(0,1);return this.is("rtl")?r.split(o).join(df[o]):r},is:function(r){return this.value===r},addClass:function(){t.Html.root.classList.add(e.settings.classes.direction[this.value])},removeClass:function(){t.Html.root.classList.remove(e.settings.classes.direction[this.value])}};return $(n,"value",{get:function(){return n._v},set:function(r){uf.indexOf(r)>-1?n._v=r:ce("Direction value must be `ltr` or `rtl`")}}),i.on(["destroy","update"],function(){n.removeClass()}),i.on("update",function(){n.mount()}),i.on(["build.before","update"],function(){n.addClass()}),n}function pf(e,t){return{modify:function(n){return t.Direction.is("rtl")?-n:n}}}function gf(e,t){return{modify:function(n){var s=Math.floor(n/t.Sizes.slideWidth);return n+t.Gaps.value*s}}}function mf(e,t){return{modify:function(n){return n+t.Clones.grow/2}}}function bf(e,t){return{modify:function(n){if(e.settings.focusAt>=0){var s=t.Peek.value;return Si(s)?n-s.before:n-s}return n}}}function vf(e,t){return{modify:function(n){var s=t.Gaps.value,r=t.Sizes.width,o=e.settings.focusAt,a=t.Sizes.slideWidth;return o==="center"?n-(r/2-a/2):n-a*o-s*o}}}function xf(e,t,i){var n=[gf,mf,bf,vf].concat(e._t,[pf]);return{mutate:function(r){for(var o=0;o<n.length;o++){var a=n[o];bn(a)&&bn(a().modify)?r=a(e,t,i).modify(r):ce("Transformer should be a function that returns an object with `modify()` method")}return r}}}function yf(e,t,i){var n={set:function(r){var o=xf(e,t).mutate(r),a="translate3d(".concat(-1*o,"px, 0px, 0px)");t.Html.wrapper.style.mozTransform=a,t.Html.wrapper.style.webkitTransform=a,t.Html.wrapper.style.transform=a},remove:function(){t.Html.wrapper.style.transform=""},getStartIndex:function(){var r=t.Sizes.length,o=e.index,a=e.settings.perView;return t.Run.isOffset(">")||t.Run.isOffset("|>")?r+(o-a):(o+a)%r},getTravelDistance:function(){var r=t.Sizes.slideWidth*e.settings.perView;return t.Run.isOffset(">")||t.Run.isOffset("|>")?r*-1:r}};return i.on("move",function(s){if(!e.isType("carousel")||!t.Run.isOffset())return n.set(s.movement);t.Transition.after(function(){i.emit("translate.jump"),n.set(t.Sizes.slideWidth*e.index)});var r=t.Sizes.slideWidth*t.Translate.getStartIndex();return n.set(r-t.Translate.getTravelDistance())}),i.on("destroy",function(){n.remove()}),n}function _f(e,t,i){var n=!1,s={compose:function(o){var a=e.settings;return n?"".concat(o," 0ms ").concat(a.animationTimingFunc):"".concat(o," ").concat(this.duration,"ms ").concat(a.animationTimingFunc)},set:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"transform";t.Html.wrapper.style.transition=this.compose(o)},remove:function(){t.Html.wrapper.style.transition=""},after:function(o){setTimeout(function(){o()},this.duration)},enable:function(){n=!1,this.set()},disable:function(){n=!0,this.set()}};return $(s,"duration",{get:function(){var o=e.settings;return e.isType("slider")&&t.Run.offset?o.rewindDuration:o.animationDuration}}),i.on("move",function(){s.set()}),i.on(["build.before","resize","translate.jump"],function(){s.disable()}),i.on("run",function(){s.enable()}),i.on("destroy",function(){s.remove()}),s}var Ra=!1;try{var Ia=Object.defineProperty({},"passive",{get:function(){Ra=!0}});window.addEventListener("testPassive",null,Ia),window.removeEventListener("testPassive",null,Ia)}catch{}var La=Ra,wf='[data-glide-el="controls[nav]"]',Gs='[data-glide-el^="controls"]',kf="".concat(Gs,' [data-glide-dir*="<"]'),Sf="".concat(Gs,' [data-glide-dir*=">"]');function Af(e,t,i){var n=new Pa,s=La?{passive:!0}:!1,r={mount:function(){this._n=t.Html.root.querySelectorAll(wf),this._c=t.Html.root.querySelectorAll(Gs),this._arrowControls={previous:t.Html.root.querySelectorAll(kf),next:t.Html.root.querySelectorAll(Sf)},this.addBindings()},setActive:function(){for(var a=0;a<this._n.length;a++)this.addClass(this._n[a].children)},removeActive:function(){for(var a=0;a<this._n.length;a++)this.removeClass(this._n[a].children)},addClass:function(a){var c=e.settings,l=a[e.index];l&&(l.classList.add(c.classes.nav.active),Da(l).forEach(function(h){h.classList.remove(c.classes.nav.active)}))},removeClass:function(a){var c=a[e.index];c==null||c.classList.remove(e.settings.classes.nav.active)},setArrowState:function(){if(!e.settings.rewind){var a=r._arrowControls.next,c=r._arrowControls.previous;this.resetArrowState(a,c),e.index===0&&this.disableArrow(c),e.index===t.Run.length&&this.disableArrow(a)}},resetArrowState:function(){for(var a=e.settings,c=arguments.length,l=new Array(c),h=0;h<c;h++)l[h]=arguments[h];l.forEach(function(u){Js(u).forEach(function(d){d.classList.remove(a.classes.arrow.disabled)})})},disableArrow:function(){for(var a=e.settings,c=arguments.length,l=new Array(c),h=0;h<c;h++)l[h]=arguments[h];l.forEach(function(u){Js(u).forEach(function(d){d.classList.add(a.classes.arrow.disabled)})})},addBindings:function(){for(var a=0;a<this._c.length;a++)this.bind(this._c[a].children)},removeBindings:function(){for(var a=0;a<this._c.length;a++)this.unbind(this._c[a].children)},bind:function(a){for(var c=0;c<a.length;c++)n.on("click",a[c],this.click),n.on("touchstart",a[c],this.click,s)},unbind:function(a){for(var c=0;c<a.length;c++)n.off(["click","touchstart"],a[c])},click:function(a){!La&&a.type==="touchstart"&&a.preventDefault();var c=a.currentTarget.getAttribute("data-glide-dir");t.Run.make(t.Direction.resolve(c))}};return $(r,"items",{get:function(){return r._c}}),i.on(["mount.after","move.after"],function(){r.setActive()}),i.on(["mount.after","run"],function(){r.setArrowState()}),i.on("destroy",function(){r.removeBindings(),r.removeActive(),n.destroy()}),r}var Mf={Html:sf,Translate:yf,Transition:_f,Direction:ff,Peek:rf,Sizes:af,Gaps:ef,Move:of,Clones:lf,Resize:hf,Build:cf,Run:tf},Cf=function(e){Ud(i,e);var t=qd(i);function i(){return pn(this,i),t.apply(this,arguments)}return gn(i,[{key:"mount",value:function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return mn(Ke(i.prototype),"mount",this).call(this,Object.assign({},Mf,s))}}]),i}($d);function xn({children:e,cssClass:t=""}){const i=it(null);return _e(()=>{i.current&&new Cf(i.current).mount({Controls:Af})},[]),g("section",{class:`carousel ${t}`,children:g("div",{class:"glide",ref:i,children:[g("div",{class:"glide__track","data-glide-el":"track",children:g("ul",{class:"glide__slides",children:e})}),g("div",{class:"glide__arrows","data-glide-el":"controls",children:[g("button",{class:"glide__arrow glide__arrow--left","data-glide-dir":"<",children:g("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",children:g("path",{d:"M0 12l10.975 11 2.848-2.828-6.176-6.176H24v-3.992H7.646l6.176-6.176L10.975 1 0 12z"})})}),g("button",{class:"glide__arrow glide__arrow--right","data-glide-dir":">",children:g("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",children:g("path",{d:"M13.025 1l-2.847 2.828 6.176 6.176h-16.354v3.992h16.354l-6.176 6.176 2.847 2.828 10.975-11z"})})})]})]})})}function Fa({children:e}){return g("li",{class:"glide__slide",children:e})}function Of({title:e,description:t,linkText:i,linkURI:n,imageURI:s,imageAltText:r}){return g(Fa,{children:g("span",{class:"slide-inner",children:[s&&g("a",{href:n,class:"slide-image",children:g("img",{src:s,alt:r})}),g("span",{class:"slide-text",children:[e&&g("h2",{children:e}),t&&g("p",{children:t}),i&&g("a",{href:n,children:i})]})]})})}xn.Slide=Fa,xn.ImageSlide=Of;function Ef({children:e,maxHeight:t="400px"}){return g("div",{class:"scroll-text",children:g("div",{class:"scroll-text-inner",style:{maxHeight:t},children:e})})}const Tf="https://allocations.access-ci.org/current-projects.json";function yn({icon:e,text:t,title:i}){if(t)return g("abbr",{class:"project-meta",title:i,children:[g(H,{name:e}),t]})}function Df({infoGroupId:e}){const t=hi(e),i=ft(t?`${Tf}?${t.infoResourceIds.map(s=>`info_resourceids[]=${s}`).join("&")}`:null);if(!i||!i.projects||!i.projects.length)return null;const n=[{key:"resourceName",name:"Resource"},{key:"allocation",name:"Current Allocation",format:(s,r)=>r.units=="[Yes = 1, No = 0]"?s==1?"Yes":"No":`${s.toLocaleString("en-us")} ${r.units||""}`}];return g(zt,{title:"Recent Projects",icon:"pc-display",children:g(xn,{cssClass:"carousel-projects",children:i.projects.map(s=>g(xn.Slide,{children:[g("h3",{children:s.requestTitle}),g("div",{class:"project-metadata",children:[g(yn,{icon:"cash-coin",text:s.allocationType,title:"Allocation Type"}),g(yn,{icon:"person-fill",text:`${s.pi} (${s.piInstitution})`,title:"Primary Investigator"}),g(yn,{icon:"folder",text:s.fos,title:"Field of Science"}),g(yn,{icon:"calendar-range",text:[s.beginDate,s.endDate].map(r=>new Date(r).toLocaleString("en-US",{dateStyle:"medium"})).join(" to "),title:"Project Dates"})]}),g(Ef,{children:[g("p",{children:s.abstract}),g(on,{columns:n,rows:s.resources,maxHeight:null})]})]}))})})}/*!
|
|
78
|
+
*/function uA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,i)}return n}function hA(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?uA(Object(n),!0).forEach(function(i){Q0(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):uA(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function Ao(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ao=function(t){return typeof t}:Ao=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ao(e)}function uo(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function O0(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function ho(e,t,n){return t&&O0(e.prototype,t),e}function Q0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function L0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cs(e,t)}function On(e){return On=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},On(e)}function cs(e,t){return cs=Object.setPrototypeOf||function(i,o){return i.__proto__=o,i},cs(e,t)}function R0(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function H0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function F0(e,t){if(t&&(typeof t=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return H0(e)}function z0(e){var t=R0();return function(){var i=On(e),o;if(t){var r=On(this).constructor;o=Reflect.construct(i,arguments,r)}else o=i.apply(this,arguments);return F0(this,o)}}function N0(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=On(e),e!==null););return e}function fo(){return typeof Reflect<"u"&&Reflect.get?fo=Reflect.get:fo=function(t,n,i){var o=N0(t,n);if(o){var r=Object.getOwnPropertyDescriptor(o,n);return r.get?r.get.call(arguments.length<3?t:i):r.value}},fo.apply(this,arguments)}var j0={type:"slider",startAt:0,perView:1,focusAt:0,gap:10,autoplay:!1,hoverpause:!0,keyboard:!0,bound:!1,swipeThreshold:80,dragThreshold:120,perSwipe:"",touchRatio:.5,touchAngle:45,animationDuration:400,rewind:!0,rewindDuration:800,animationTimingFunc:"cubic-bezier(.165, .840, .440, 1)",waitForTransition:!0,throttle:10,direction:"ltr",peek:0,cloningRatio:1,breakpoints:{},classes:{swipeable:"glide--swipeable",dragging:"glide--dragging",direction:{ltr:"glide--ltr",rtl:"glide--rtl"},type:{slider:"glide--slider",carousel:"glide--carousel"},slide:{clone:"glide__slide--clone",active:"glide__slide--active"},arrow:{disabled:"glide__arrow--disabled"},nav:{active:"glide__bullet--active"}}};function qe(e){console.error("[Glide warn]: ".concat(e))}function Ae(e){return parseInt(e)}function ls(e){return typeof e=="string"}function pi(e){var t=Ao(e);return t==="function"||t==="object"&&!!e}function po(e){return typeof e=="function"}function U0(e){return typeof e>"u"}function As(e){return e.constructor===Array}function V0(e,t,n){var i={};for(var o in t)po(t[o])?i[o]=t[o](e,i,n):qe("Extension must be a function");for(var r in i)po(i[r].mount)&&i[r].mount();return i}function yt(e,t,n){Object.defineProperty(e,t,n)}function fA(e,t){var n=Object.assign({},e,t);if(t.hasOwnProperty("classes")){n.classes=Object.assign({},e.classes,t.classes);var i=["direction","type","slide","arrow","nav"];i.forEach(function(o){t.classes.hasOwnProperty(o)&&(n.classes[o]=hA(hA({},e.classes[o]),t.classes[o]))})}return t.hasOwnProperty("breakpoints")&&(n.breakpoints=Object.assign({},e.breakpoints,t.breakpoints)),n}var W0=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};uo(this,e),this.events=t,this.hop=t.hasOwnProperty}return ho(e,[{key:"on",value:function(n,i){if(As(n)){for(var o=0;o<n.length;o++)this.on(n[o],i);return}this.hop.call(this.events,n)||(this.events[n]=[]);var r=this.events[n].push(i)-1;return{remove:function(){delete this.events[n][r]}}}},{key:"emit",value:function(n,i){if(As(n)){for(var o=0;o<n.length;o++)this.emit(n[o],i);return}this.hop.call(this.events,n)&&this.events[n].forEach(function(r){r(i||{})})}}]),e}(),Y0=function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};uo(this,e),this._c={},this._t=[],this._e=new W0,this.disabled=!1,this.selector=t,this.settings=fA(j0,n),this.index=this.settings.startAt}return ho(e,[{key:"mount",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this._e.emit("mount.before"),pi(n)?this._c=V0(this,n,this._e):qe("You need to provide a object on `mount()`"),this._e.emit("mount.after"),this}},{key:"mutate",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return As(n)?this._t=n:qe("You need to provide a array on `mutate()`"),this}},{key:"update",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.settings=fA(this.settings,n),n.hasOwnProperty("startAt")&&(this.index=n.startAt),this._e.emit("update"),this}},{key:"go",value:function(n){return this._c.Run.make(n),this}},{key:"move",value:function(n){return this._c.Transition.disable(),this._c.Move.make(n),this}},{key:"destroy",value:function(){return this._e.emit("destroy"),this}},{key:"play",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return n&&(this.settings.autoplay=n),this._e.emit("play"),this}},{key:"pause",value:function(){return this._e.emit("pause"),this}},{key:"disable",value:function(){return this.disabled=!0,this}},{key:"enable",value:function(){return this.disabled=!1,this}},{key:"on",value:function(n,i){return this._e.on(n,i),this}},{key:"isType",value:function(n){return this.settings.type===n}},{key:"settings",get:function(){return this._o},set:function(n){pi(n)?this._o=n:qe("Options must be an `object` instance.")}},{key:"index",get:function(){return this._i},set:function(n){this._i=Ae(n)}},{key:"type",get:function(){return this.settings.type}},{key:"disabled",get:function(){return this._d},set:function(n){this._d=!!n}}]),e}();function K0(e,t,n){var i={mount:function(){this._o=!1},make:function(l){var A=this;e.disabled||(!e.settings.waitForTransition||e.disable(),this.move=l,n.emit("run.before",this.move),this.calculate(),n.emit("run",this.move),t.Transition.after(function(){A.isStart()&&n.emit("run.start",A.move),A.isEnd()&&n.emit("run.end",A.move),A.isOffset()&&(A._o=!1,n.emit("run.offset",A.move)),n.emit("run.after",A.move),e.enable()}))},calculate:function(){var l=this.move,A=this.length,d=l.steps,u=l.direction,h=1;if(u==="="){if(e.settings.bound&&Ae(d)>A){e.index=A;return}e.index=d;return}if(u===">"&&d===">"){e.index=A;return}if(u==="<"&&d==="<"){e.index=0;return}if(u==="|"&&(h=e.settings.perView||1),u===">"||u==="|"&&d===">"){var p=o(h);p>A&&(this._o=!0),e.index=r(p,h);return}if(u==="<"||u==="|"&&d==="<"){var g=s(h);g<0&&(this._o=!0),e.index=a(g,h);return}qe("Invalid direction pattern [".concat(u).concat(d,"] has been used"))},isStart:function(){return e.index<=0},isEnd:function(){return e.index>=this.length},isOffset:function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:void 0;return l?this._o?l==="|>"?this.move.direction==="|"&&this.move.steps===">":l==="|<"?this.move.direction==="|"&&this.move.steps==="<":this.move.direction===l:!1:this._o},isBound:function(){return e.isType("slider")&&e.settings.focusAt!=="center"&&e.settings.bound}};function o(c){var l=e.index;return e.isType("carousel")?l+c:l+(c-l%c)}function r(c,l){var A=i.length;return c<=A?c:e.isType("carousel")?c-(A+1):e.settings.rewind?i.isBound()&&!i.isEnd()?A:0:i.isBound()?A:Math.floor(A/l)*l}function s(c){var l=e.index;if(e.isType("carousel"))return l-c;var A=Math.ceil(l/c);return(A-1)*c}function a(c,l){var A=i.length;return c>=0?c:e.isType("carousel")?c+(A+1):e.settings.rewind?i.isBound()&&i.isStart()?A:Math.floor(A/l)*l:0}return yt(i,"move",{get:function(){return this._m},set:function(l){var A=l.substr(1);this._m={direction:l.substr(0,1),steps:A?Ae(A)?Ae(A):A:0}}}),yt(i,"length",{get:function(){var l=e.settings,A=t.Html.slides.length;return this.isBound()?A-1-(Ae(l.perView)-1)+Ae(l.focusAt):A-1}}),yt(i,"offset",{get:function(){return this._o}}),i}function pA(){return new Date().getTime()}function gA(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i,o,r,s,a=0,c=function(){a=n.leading===!1?0:pA(),i=null,s=e.apply(o,r),i||(o=r=null)},l=function(){var d=pA();!a&&n.leading===!1&&(a=d);var u=t-(d-a);return o=this,r=arguments,u<=0||u>t?(i&&(clearTimeout(i),i=null),a=d,s=e.apply(o,r),i||(o=r=null)):!i&&n.trailing!==!1&&(i=setTimeout(c,u)),s};return l.cancel=function(){clearTimeout(i),a=0,i=o=r=null},l}var go={ltr:["marginLeft","marginRight"],rtl:["marginRight","marginLeft"]};function q0(e,t,n){var i={apply:function(r){for(var s=0,a=r.length;s<a;s++){var c=r[s].style,l=t.Direction.value;s!==0?c[go[l][0]]="".concat(this.value/2,"px"):c[go[l][0]]="",s!==r.length-1?c[go[l][1]]="".concat(this.value/2,"px"):c[go[l][1]]=""}},remove:function(r){for(var s=0,a=r.length;s<a;s++){var c=r[s].style;c.marginLeft="",c.marginRight=""}}};return yt(i,"value",{get:function(){return Ae(e.settings.gap)}}),yt(i,"grow",{get:function(){return i.value*t.Sizes.length}}),yt(i,"reductor",{get:function(){var r=e.settings.perView;return i.value*(r-1)/r}}),n.on(["build.after","update"],gA(function(){i.apply(t.Html.wrapper.children)},30)),n.on("destroy",function(){i.remove(t.Html.wrapper.children)}),i}function mA(e){if(e&&e.parentNode){for(var t=e.parentNode.firstChild,n=[];t;t=t.nextSibling)t.nodeType===1&&t!==e&&n.push(t);return n}return[]}function ds(e){return Array.prototype.slice.call(e)}var X0='[data-glide-el="track"]';function G0(e,t,n){var i={mount:function(){this.root=e.selector,this.track=this.root.querySelector(X0),this.collectSlides()},collectSlides:function(){this.slides=ds(this.wrapper.children).filter(function(r){return!r.classList.contains(e.settings.classes.slide.clone)})}};return yt(i,"root",{get:function(){return i._r},set:function(r){ls(r)&&(r=document.querySelector(r)),r!==null?i._r=r:qe("Root element must be a existing Html node")}}),yt(i,"track",{get:function(){return i._t},set:function(r){i._t=r}}),yt(i,"wrapper",{get:function(){return i.track.children[0]}}),n.on("update",function(){i.collectSlides()}),i}function J0(e,t,n){var i={mount:function(){this.value=e.settings.peek}};return yt(i,"value",{get:function(){return i._v},set:function(r){pi(r)?(r.before=Ae(r.before),r.after=Ae(r.after)):r=Ae(r),i._v=r}}),yt(i,"reductor",{get:function(){var r=i.value,s=e.settings.perView;return pi(r)?r.before/s+r.after/s:r*2/s}}),n.on(["resize","update"],function(){i.mount()}),i}function Z0(e,t,n){var i={mount:function(){this._o=0},make:function(){var r=this,s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.offset=s,n.emit("move",{movement:this.value}),t.Transition.after(function(){n.emit("move.after",{movement:r.value})})}};return yt(i,"offset",{get:function(){return i._o},set:function(r){i._o=U0(r)?0:Ae(r)}}),yt(i,"translate",{get:function(){return t.Sizes.slideWidth*e.index}}),yt(i,"value",{get:function(){var r=this.offset,s=this.translate;return t.Direction.is("rtl")?s+r:s-r}}),n.on(["build.before","run"],function(){i.make()}),i}function $0(e,t,n){var i={setupSlides:function(){for(var r="".concat(this.slideWidth,"px"),s=t.Html.slides,a=0;a<s.length;a++)s[a].style.width=r},setupWrapper:function(){t.Html.wrapper.style.width="".concat(this.wrapperSize,"px")},remove:function(){for(var r=t.Html.slides,s=0;s<r.length;s++)r[s].style.width="";t.Html.wrapper.style.width=""}};return yt(i,"length",{get:function(){return t.Html.slides.length}}),yt(i,"width",{get:function(){return t.Html.track.offsetWidth}}),yt(i,"wrapperSize",{get:function(){return i.slideWidth*i.length+t.Gaps.grow+t.Clones.grow}}),yt(i,"slideWidth",{get:function(){return i.width/e.settings.perView-t.Peek.reductor-t.Gaps.reductor}}),n.on(["build.before","resize","update"],function(){i.setupSlides(),i.setupWrapper()}),n.on("destroy",function(){i.remove()}),i}function tm(e,t,n){var i={mount:function(){n.emit("build.before"),this.typeClass(),this.activeClass(),n.emit("build.after")},typeClass:function(){t.Html.root.classList.add(e.settings.classes.type[e.settings.type])},activeClass:function(){var r=e.settings.classes,s=t.Html.slides[e.index];s&&(s.classList.add(r.slide.active),mA(s).forEach(function(a){a.classList.remove(r.slide.active)}))},removeClasses:function(){var r=e.settings.classes,s=r.type,a=r.slide;t.Html.root.classList.remove(s[e.settings.type]),t.Html.slides.forEach(function(c){c.classList.remove(a.active)})}};return n.on(["destroy","update"],function(){i.removeClasses()}),n.on(["resize","update"],function(){i.mount()}),n.on("move.after",function(){i.activeClass()}),i}function em(e,t,n){var i={mount:function(){this.items=[],e.isType("carousel")&&(this.items=this.collect())},collect:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],s=t.Html.slides,a=e.settings,c=a.perView,l=a.classes,A=a.cloningRatio;if(s.length>0)for(var d=+!!e.settings.peek,u=c+d+Math.round(c/2),h=s.slice(0,u).reverse(),p=s.slice(u*-1),g=0;g<Math.max(A,Math.floor(c/s.length));g++){for(var b=0;b<h.length;b++){var v=h[b].cloneNode(!0);v.classList.add(l.slide.clone),r.push(v)}for(var w=0;w<p.length;w++){var _=p[w].cloneNode(!0);_.classList.add(l.slide.clone),r.unshift(_)}}return r},append:function(){for(var r=this.items,s=t.Html,a=s.wrapper,c=s.slides,l=Math.floor(r.length/2),A=r.slice(0,l).reverse(),d=r.slice(l*-1).reverse(),u="".concat(t.Sizes.slideWidth,"px"),h=0;h<d.length;h++)a.appendChild(d[h]);for(var p=0;p<A.length;p++)a.insertBefore(A[p],c[0]);for(var g=0;g<r.length;g++)r[g].style.width=u},remove:function(){for(var r=this.items,s=0;s<r.length;s++)t.Html.wrapper.removeChild(r[s])}};return yt(i,"grow",{get:function(){return(t.Sizes.slideWidth+t.Gaps.value)*i.items.length}}),n.on("update",function(){i.remove(),i.mount(),i.append()}),n.on("build.before",function(){e.isType("carousel")&&i.append()}),n.on("destroy",function(){i.remove()}),i}var bA=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};uo(this,e),this.listeners=t}return ho(e,[{key:"on",value:function(n,i,o){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;ls(n)&&(n=[n]);for(var s=0;s<n.length;s++)this.listeners[n[s]]=o,i.addEventListener(n[s],this.listeners[n[s]],r)}},{key:"off",value:function(n,i){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;ls(n)&&(n=[n]);for(var r=0;r<n.length;r++)i.removeEventListener(n[r],this.listeners[n[r]],o)}},{key:"destroy",value:function(){delete this.listeners}}]),e}();function nm(e,t,n){var i=new bA,o={mount:function(){this.bind()},bind:function(){i.on("resize",window,gA(function(){n.emit("resize")},e.settings.throttle))},unbind:function(){i.off("resize",window)}};return n.on("destroy",function(){o.unbind(),i.destroy()}),o}var im=["ltr","rtl"],om={">":"<","<":">","=":"="};function rm(e,t,n){var i={mount:function(){this.value=e.settings.direction},resolve:function(r){var s=r.slice(0,1);return this.is("rtl")?r.split(s).join(om[s]):r},is:function(r){return this.value===r},addClass:function(){t.Html.root.classList.add(e.settings.classes.direction[this.value])},removeClass:function(){t.Html.root.classList.remove(e.settings.classes.direction[this.value])}};return yt(i,"value",{get:function(){return i._v},set:function(r){im.indexOf(r)>-1?i._v=r:qe("Direction value must be `ltr` or `rtl`")}}),n.on(["destroy","update"],function(){i.removeClass()}),n.on("update",function(){i.mount()}),n.on(["build.before","update"],function(){i.addClass()}),i}function sm(e,t){return{modify:function(i){return t.Direction.is("rtl")?-i:i}}}function am(e,t){return{modify:function(i){var o=Math.floor(i/t.Sizes.slideWidth);return i+t.Gaps.value*o}}}function cm(e,t){return{modify:function(i){return i+t.Clones.grow/2}}}function lm(e,t){return{modify:function(i){if(e.settings.focusAt>=0){var o=t.Peek.value;return pi(o)?i-o.before:i-o}return i}}}function Am(e,t){return{modify:function(i){var o=t.Gaps.value,r=t.Sizes.width,s=e.settings.focusAt,a=t.Sizes.slideWidth;return s==="center"?i-(r/2-a/2):i-a*s-o*s}}}function dm(e,t,n){var i=[am,cm,lm,Am].concat(e._t,[sm]);return{mutate:function(r){for(var s=0;s<i.length;s++){var a=i[s];po(a)&&po(a().modify)?r=a(e,t,n).modify(r):qe("Transformer should be a function that returns an object with `modify()` method")}return r}}}function um(e,t,n){var i={set:function(r){var s=dm(e,t).mutate(r),a="translate3d(".concat(-1*s,"px, 0px, 0px)");t.Html.wrapper.style.mozTransform=a,t.Html.wrapper.style.webkitTransform=a,t.Html.wrapper.style.transform=a},remove:function(){t.Html.wrapper.style.transform=""},getStartIndex:function(){var r=t.Sizes.length,s=e.index,a=e.settings.perView;return t.Run.isOffset(">")||t.Run.isOffset("|>")?r+(s-a):(s+a)%r},getTravelDistance:function(){var r=t.Sizes.slideWidth*e.settings.perView;return t.Run.isOffset(">")||t.Run.isOffset("|>")?r*-1:r}};return n.on("move",function(o){if(!e.isType("carousel")||!t.Run.isOffset())return i.set(o.movement);t.Transition.after(function(){n.emit("translate.jump"),i.set(t.Sizes.slideWidth*e.index)});var r=t.Sizes.slideWidth*t.Translate.getStartIndex();return i.set(r-t.Translate.getTravelDistance())}),n.on("destroy",function(){i.remove()}),i}function hm(e,t,n){var i=!1,o={compose:function(s){var a=e.settings;return i?"".concat(s," 0ms ").concat(a.animationTimingFunc):"".concat(s," ").concat(this.duration,"ms ").concat(a.animationTimingFunc)},set:function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"transform";t.Html.wrapper.style.transition=this.compose(s)},remove:function(){t.Html.wrapper.style.transition=""},after:function(s){setTimeout(function(){s()},this.duration)},enable:function(){i=!1,this.set()},disable:function(){i=!0,this.set()}};return yt(o,"duration",{get:function(){var s=e.settings;return e.isType("slider")&&t.Run.offset?s.rewindDuration:s.animationDuration}}),n.on("move",function(){o.set()}),n.on(["build.before","resize","translate.jump"],function(){o.disable()}),n.on("run",function(){o.enable()}),n.on("destroy",function(){o.remove()}),o}var vA=!1;try{var wA=Object.defineProperty({},"passive",{get:function(){vA=!0}});window.addEventListener("testPassive",null,wA),window.removeEventListener("testPassive",null,wA)}catch{}var yA=vA,fm='[data-glide-el="controls[nav]"]',us='[data-glide-el^="controls"]',pm="".concat(us,' [data-glide-dir*="<"]'),gm="".concat(us,' [data-glide-dir*=">"]');function mm(e,t,n){var i=new bA,o=yA?{passive:!0}:!1,r={mount:function(){this._n=t.Html.root.querySelectorAll(fm),this._c=t.Html.root.querySelectorAll(us),this._arrowControls={previous:t.Html.root.querySelectorAll(pm),next:t.Html.root.querySelectorAll(gm)},this.addBindings()},setActive:function(){for(var a=0;a<this._n.length;a++)this.addClass(this._n[a].children)},removeActive:function(){for(var a=0;a<this._n.length;a++)this.removeClass(this._n[a].children)},addClass:function(a){var c=e.settings,l=a[e.index];l&&(l.classList.add(c.classes.nav.active),mA(l).forEach(function(A){A.classList.remove(c.classes.nav.active)}))},removeClass:function(a){var c=a[e.index];c==null||c.classList.remove(e.settings.classes.nav.active)},setArrowState:function(){if(!e.settings.rewind){var a=r._arrowControls.next,c=r._arrowControls.previous;this.resetArrowState(a,c),e.index===0&&this.disableArrow(c),e.index===t.Run.length&&this.disableArrow(a)}},resetArrowState:function(){for(var a=e.settings,c=arguments.length,l=new Array(c),A=0;A<c;A++)l[A]=arguments[A];l.forEach(function(d){ds(d).forEach(function(u){u.classList.remove(a.classes.arrow.disabled)})})},disableArrow:function(){for(var a=e.settings,c=arguments.length,l=new Array(c),A=0;A<c;A++)l[A]=arguments[A];l.forEach(function(d){ds(d).forEach(function(u){u.classList.add(a.classes.arrow.disabled)})})},addBindings:function(){for(var a=0;a<this._c.length;a++)this.bind(this._c[a].children)},removeBindings:function(){for(var a=0;a<this._c.length;a++)this.unbind(this._c[a].children)},bind:function(a){for(var c=0;c<a.length;c++)i.on("click",a[c],this.click),i.on("touchstart",a[c],this.click,o)},unbind:function(a){for(var c=0;c<a.length;c++)i.off(["click","touchstart"],a[c])},click:function(a){!yA&&a.type==="touchstart"&&a.preventDefault();var c=a.currentTarget.getAttribute("data-glide-dir");t.Run.make(t.Direction.resolve(c))}};return yt(r,"items",{get:function(){return r._c}}),n.on(["mount.after","move.after"],function(){r.setActive()}),n.on(["mount.after","run"],function(){r.setArrowState()}),n.on("destroy",function(){r.removeBindings(),r.removeActive(),i.destroy()}),r}var bm={Html:G0,Translate:um,Transition:hm,Direction:rm,Peek:J0,Sizes:$0,Gaps:q0,Move:Z0,Clones:em,Resize:nm,Build:tm,Run:K0},vm=function(e){L0(n,e);var t=z0(n);function n(){return uo(this,n),t.apply(this,arguments)}return ho(n,[{key:"mount",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return fo(On(n.prototype),"mount",this).call(this,Object.assign({},bm,o))}}]),n}(Y0);function mo({children:e,cssClass:t=""}){const n=q(null);return et(()=>{n.current&&new vm(n.current).mount({Controls:mm})},[]),f("section",{class:`carousel ${t}`,children:f("div",{class:"glide",ref:n,children:[f("div",{class:"glide__track","data-glide-el":"track",children:f("ul",{class:"glide__slides",children:e})}),f("div",{class:"glide__arrows","data-glide-el":"controls",children:[f("button",{class:"glide__arrow glide__arrow--left","data-glide-dir":"<",children:f("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",children:f("path",{d:"M0 12l10.975 11 2.848-2.828-6.176-6.176H24v-3.992H7.646l6.176-6.176L10.975 1 0 12z"})})}),f("button",{class:"glide__arrow glide__arrow--right","data-glide-dir":">",children:f("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",children:f("path",{d:"M13.025 1l-2.847 2.828 6.176 6.176h-16.354v3.992h16.354l-6.176 6.176 2.847 2.828 10.975-11z"})})})]})]})})}function xA({children:e}){return f("li",{class:"glide__slide",children:e})}function wm({title:e,description:t,linkText:n,linkURI:i,imageURI:o,imageAltText:r}){return f(xA,{children:f("span",{class:"slide-inner",children:[o&&f("a",{href:i,class:"slide-image",children:f("img",{src:o,alt:r})}),f("span",{class:"slide-text",children:[e&&f("h2",{children:e}),t&&f("p",{children:t}),n&&f("a",{href:i,children:n})]})]})})}mo.Slide=xA,mo.ImageSlide=wm;function ym({children:e,maxHeight:t="400px"}){return f("div",{class:"scroll-text",children:f("div",{class:"scroll-text-inner",style:{maxHeight:t},children:e})})}const xm="https://allocations.access-ci.org/current-projects.json";function bo({icon:e,text:t,title:n}){if(t)return f("abbr",{class:"project-meta",title:n,children:[f(nt,{name:e}),t]})}function _m({infoGroupId:e}){const t=$n(e),n=Lt(t?`${xm}?${t.infoResourceIds.map(o=>`info_resourceids[]=${o}`).join("&")}`:null);if(!n||!n.projects||!n.projects.length)return null;const i=[{key:"resourceName",name:"Resource"},{key:"allocation",name:"Current Allocation",format:(o,r)=>r.units=="[Yes = 1, No = 0]"?o==1?"Yes":"No":`${o.toLocaleString("en-us")} ${r.units||""}`}];return f(be,{title:"Recent Projects",icon:"pc-display",children:f(mo,{cssClass:"carousel-projects",children:n.projects.map(o=>f(mo.Slide,{children:[f("h3",{children:o.requestTitle}),f("div",{class:"project-metadata",children:[f(bo,{icon:"cash-coin",text:o.allocationType,title:"Allocation Type"}),f(bo,{icon:"person-fill",text:`${o.pi} (${o.piInstitution})`,title:"Primary Investigator"}),f(bo,{icon:"folder",text:o.fos,title:"Field of Science"}),f(bo,{icon:"calendar-range",text:[o.beginDate,o.endDate].map(r=>new Date(r).toLocaleString("en-US",{dateStyle:"medium"})).join(" to "),title:"Project Dates"})]}),f(ym,{children:[f("p",{children:o.abstract}),f(io,{columns:i,rows:o.resources,maxHeight:null})]})]}))})})}/*!
|
|
26
79
|
* @kurkle/color v0.3.2
|
|
27
80
|
* https://github.com/kurkle/color#readme
|
|
28
81
|
* (c) 2023 Jukka Kurkela
|
|
29
82
|
* Released under the MIT License
|
|
30
|
-
*/function
|
|
83
|
+
*/function gi(e){return e+.5|0}const Xe=(e,t,n)=>Math.max(Math.min(e,n),t);function mi(e){return Xe(gi(e*2.55),0,255)}function Ge(e){return Xe(gi(e*255),0,255)}function Qe(e){return Xe(gi(e/2.55)/100,0,1)}function _A(e){return Xe(gi(e*100),0,100)}const ie={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},hs=[..."0123456789ABCDEF"],Pm=e=>hs[e&15],Bm=e=>hs[(e&240)>>4]+hs[e&15],vo=e=>(e&240)>>4===(e&15),km=e=>vo(e.r)&&vo(e.g)&&vo(e.b)&&vo(e.a);function Dm(e){var t=e.length,n;return e[0]==="#"&&(t===4||t===5?n={r:255&ie[e[1]]*17,g:255&ie[e[2]]*17,b:255&ie[e[3]]*17,a:t===5?ie[e[4]]*17:255}:(t===7||t===9)&&(n={r:ie[e[1]]<<4|ie[e[2]],g:ie[e[3]]<<4|ie[e[4]],b:ie[e[5]]<<4|ie[e[6]],a:t===9?ie[e[7]]<<4|ie[e[8]]:255})),n}const Cm=(e,t)=>e<255?t(e):"";function Em(e){var t=km(e)?Pm:Bm;return e?"#"+t(e.r)+t(e.g)+t(e.b)+Cm(e.a,t):void 0}const Sm=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function PA(e,t,n){const i=t*Math.min(n,1-n),o=(r,s=(r+e/30)%12)=>n-i*Math.max(Math.min(s-3,9-s,1),-1);return[o(0),o(8),o(4)]}function Mm(e,t,n){const i=(o,r=(o+e/60)%6)=>n-n*t*Math.max(Math.min(r,4-r,1),0);return[i(5),i(3),i(1)]}function Tm(e,t,n){const i=PA(e,1,.5);let o;for(t+n>1&&(o=1/(t+n),t*=o,n*=o),o=0;o<3;o++)i[o]*=1-t-n,i[o]+=t;return i}function Im(e,t,n,i,o){return e===o?(t-n)/i+(t<n?6:0):t===o?(n-e)/i+2:(e-t)/i+4}function fs(e){const n=e.r/255,i=e.g/255,o=e.b/255,r=Math.max(n,i,o),s=Math.min(n,i,o),a=(r+s)/2;let c,l,A;return r!==s&&(A=r-s,l=a>.5?A/(2-r-s):A/(r+s),c=Im(n,i,o,A,r),c=c*60+.5),[c|0,l||0,a]}function ps(e,t,n,i){return(Array.isArray(t)?e(t[0],t[1],t[2]):e(t,n,i)).map(Ge)}function gs(e,t,n){return ps(PA,e,t,n)}function Om(e,t,n){return ps(Tm,e,t,n)}function Qm(e,t,n){return ps(Mm,e,t,n)}function BA(e){return(e%360+360)%360}function Lm(e){const t=Sm.exec(e);let n=255,i;if(!t)return;t[5]!==i&&(n=t[6]?mi(+t[5]):Ge(+t[5]));const o=BA(+t[2]),r=+t[3]/100,s=+t[4]/100;return t[1]==="hwb"?i=Om(o,r,s):t[1]==="hsv"?i=Qm(o,r,s):i=gs(o,r,s),{r:i[0],g:i[1],b:i[2],a:n}}function Rm(e,t){var n=fs(e);n[0]=BA(n[0]+t),n=gs(n),e.r=n[0],e.g=n[1],e.b=n[2]}function Hm(e){if(!e)return;const t=fs(e),n=t[0],i=_A(t[1]),o=_A(t[2]);return e.a<255?`hsla(${n}, ${i}%, ${o}%, ${Qe(e.a)})`:`hsl(${n}, ${i}%, ${o}%)`}const kA={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},DA={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};function Fm(){const e={},t=Object.keys(DA),n=Object.keys(kA);let i,o,r,s,a;for(i=0;i<t.length;i++){for(s=a=t[i],o=0;o<n.length;o++)r=n[o],a=a.replace(r,kA[r]);r=parseInt(DA[s],16),e[a]=[r>>16&255,r>>8&255,r&255]}return e}let wo;function zm(e){wo||(wo=Fm(),wo.transparent=[0,0,0,0]);const t=wo[e.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:t.length===4?t[3]:255}}const Nm=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function jm(e){const t=Nm.exec(e);let n=255,i,o,r;if(t){if(t[7]!==i){const s=+t[7];n=t[8]?mi(s):Xe(s*255,0,255)}return i=+t[1],o=+t[3],r=+t[5],i=255&(t[2]?mi(i):Xe(i,0,255)),o=255&(t[4]?mi(o):Xe(o,0,255)),r=255&(t[6]?mi(r):Xe(r,0,255)),{r:i,g:o,b:r,a:n}}}function Um(e){return e&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${Qe(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`)}const ms=e=>e<=.0031308?e*12.92:Math.pow(e,1/2.4)*1.055-.055,Qn=e=>e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4);function Vm(e,t,n){const i=Qn(Qe(e.r)),o=Qn(Qe(e.g)),r=Qn(Qe(e.b));return{r:Ge(ms(i+n*(Qn(Qe(t.r))-i))),g:Ge(ms(o+n*(Qn(Qe(t.g))-o))),b:Ge(ms(r+n*(Qn(Qe(t.b))-r))),a:e.a+n*(t.a-e.a)}}function yo(e,t,n){if(e){let i=fs(e);i[t]=Math.max(0,Math.min(i[t]+i[t]*n,t===0?360:1)),i=gs(i),e.r=i[0],e.g=i[1],e.b=i[2]}}function CA(e,t){return e&&Object.assign(t||{},e)}function EA(e){var t={r:0,g:0,b:0,a:255};return Array.isArray(e)?e.length>=3&&(t={r:e[0],g:e[1],b:e[2],a:255},e.length>3&&(t.a=Ge(e[3]))):(t=CA(e,{r:0,g:0,b:0,a:1}),t.a=Ge(t.a)),t}function Wm(e){return e.charAt(0)==="r"?jm(e):Lm(e)}class bi{constructor(t){if(t instanceof bi)return t;const n=typeof t;let i;n==="object"?i=EA(t):n==="string"&&(i=Dm(t)||zm(t)||Wm(t)),this._rgb=i,this._valid=!!i}get valid(){return this._valid}get rgb(){var t=CA(this._rgb);return t&&(t.a=Qe(t.a)),t}set rgb(t){this._rgb=EA(t)}rgbString(){return this._valid?Um(this._rgb):void 0}hexString(){return this._valid?Em(this._rgb):void 0}hslString(){return this._valid?Hm(this._rgb):void 0}mix(t,n){if(t){const i=this.rgb,o=t.rgb;let r;const s=n===r?.5:n,a=2*s-1,c=i.a-o.a,l=((a*c===-1?a:(a+c)/(1+a*c))+1)/2;r=1-l,i.r=255&l*i.r+r*o.r+.5,i.g=255&l*i.g+r*o.g+.5,i.b=255&l*i.b+r*o.b+.5,i.a=s*i.a+(1-s)*o.a,this.rgb=i}return this}interpolate(t,n){return t&&(this._rgb=Vm(this._rgb,t._rgb,n)),this}clone(){return new bi(this.rgb)}alpha(t){return this._rgb.a=Ge(t),this}clearer(t){const n=this._rgb;return n.a*=1-t,this}greyscale(){const t=this._rgb,n=gi(t.r*.3+t.g*.59+t.b*.11);return t.r=t.g=t.b=n,this}opaquer(t){const n=this._rgb;return n.a*=1+t,this}negate(){const t=this._rgb;return t.r=255-t.r,t.g=255-t.g,t.b=255-t.b,this}lighten(t){return yo(this._rgb,2,t),this}darken(t){return yo(this._rgb,2,-t),this}saturate(t){return yo(this._rgb,1,t),this}desaturate(t){return yo(this._rgb,1,-t),this}rotate(t){return Rm(this._rgb,t),this}}/*!
|
|
31
84
|
* Chart.js v4.4.6
|
|
32
85
|
* https://www.chartjs.org
|
|
33
86
|
* (c) 2024 Chart.js Contributors
|
|
34
87
|
* Released under the MIT License
|
|
35
|
-
*/function Gt(){}const tp=(()=>{let e=0;return()=>e++})();function Q(e){return e===null||typeof e>"u"}function nt(e){if(Array.isArray&&Array.isArray(e))return!0;const t=Object.prototype.toString.call(e);return t.slice(0,7)==="[object"&&t.slice(-6)==="Array]"}function N(e){return e!==null&&Object.prototype.toString.call(e)==="[object Object]"}function Dt(e){return(typeof e=="number"||e instanceof Number)&&isFinite(+e)}function Wt(e,t){return Dt(e)?e:t}function U(e,t){return typeof e>"u"?t:e}const ep=(e,t)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100:+e/t,ja=(e,t)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100*t:+e;function X(e,t,i){if(e&&typeof e.call=="function")return e.apply(i,t)}function j(e,t,i,n){let s,r,o;if(nt(e))for(r=e.length,s=0;s<r;s++)t.call(i,e[s],s);else if(N(e))for(o=Object.keys(e),r=o.length,s=0;s<r;s++)t.call(i,e[o[s]],o[s])}function Sn(e,t){let i,n,s,r;if(!e||!t||e.length!==t.length)return!1;for(i=0,n=e.length;i<n;++i)if(s=e[i],r=t[i],s.datasetIndex!==r.datasetIndex||s.index!==r.index)return!1;return!0}function An(e){if(nt(e))return e.map(An);if(N(e)){const t=Object.create(null),i=Object.keys(e),n=i.length;let s=0;for(;s<n;++s)t[i[s]]=An(e[i[s]]);return t}return e}function Ya(e){return["__proto__","prototype","constructor"].indexOf(e)===-1}function ip(e,t,i,n){if(!Ya(e))return;const s=t[e],r=i[e];N(s)&&N(r)?Oi(s,r,n):t[e]=An(r)}function Oi(e,t,i){const n=nt(t)?t:[t],s=n.length;if(!N(e))return e;i=i||{};const r=i.merger||ip;let o;for(let a=0;a<s;++a){if(o=n[a],!N(o))continue;const c=Object.keys(o);for(let l=0,h=c.length;l<h;++l)r(c[l],e,o,i)}return e}function Ei(e,t){return Oi(e,t,{merger:np})}function np(e,t,i){if(!Ya(e))return;const n=t[e],s=i[e];N(n)&&N(s)?Ei(n,s):Object.prototype.hasOwnProperty.call(t,e)||(t[e]=An(s))}const Ka={"":e=>e,x:e=>e.x,y:e=>e.y};function sp(e){const t=e.split("."),i=[];let n="";for(const s of t)n+=s,n.endsWith("\\")?n=n.slice(0,-1)+".":(i.push(n),n="");return i}function rp(e){const t=sp(e);return i=>{for(const n of t){if(n==="")break;i=i&&i[n]}return i}}function ue(e,t){return(Ka[t]||(Ka[t]=rp(t)))(e)}function nr(e){return e.charAt(0).toUpperCase()+e.slice(1)}const Ti=e=>typeof e<"u",de=e=>typeof e=="function",qa=(e,t)=>{if(e.size!==t.size)return!1;for(const i of e)if(!t.has(i))return!1;return!0};function op(e){return e.type==="mouseup"||e.type==="click"||e.type==="contextmenu"}const st=Math.PI,kt=2*st,Mn=Number.POSITIVE_INFINITY,ap=st/180,St=st/2,Me=st/4,Qa=st*2/3,sr=Math.log10,fe=Math.sign;function Cn(e,t,i){return Math.abs(e-t)<i}function Xa(e){const t=Math.round(e);e=Cn(e,t,e/1e3)?t:e;const i=Math.pow(10,Math.floor(sr(e))),n=e/i;return(n<=1?1:n<=2?2:n<=5?5:10)*i}function cp(e){const t=[],i=Math.sqrt(e);let n;for(n=1;n<i;n++)e%n===0&&(t.push(n),t.push(e/n));return i===(i|0)&&t.push(i),t.sort((s,r)=>s-r).pop(),t}function On(e){return!isNaN(parseFloat(e))&&isFinite(e)}function lp(e,t){const i=Math.round(e);return i-t<=e&&i+t>=e}function hp(e,t,i){let n,s,r;for(n=0,s=e.length;n<s;n++)r=e[n][i],isNaN(r)||(t.min=Math.min(t.min,r),t.max=Math.max(t.max,r))}function Ut(e){return e*(st/180)}function up(e){return e*(180/st)}function Ja(e){if(!Dt(e))return;let t=1,i=0;for(;Math.round(e*t)/t!==e;)t*=10,i++;return i}function dp(e,t){const i=t.x-e.x,n=t.y-e.y,s=Math.sqrt(i*i+n*n);let r=Math.atan2(n,i);return r<-.5*st&&(r+=kt),{angle:r,distance:s}}function fp(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function Ce(e){return(e%kt+kt)%kt}function rr(e,t,i,n){const s=Ce(e),r=Ce(t),o=Ce(i),a=Ce(r-s),c=Ce(o-s),l=Ce(s-r),h=Ce(s-o);return s===r||s===o||n&&r===o||a>c&&l<h}function Bt(e,t,i){return Math.max(t,Math.min(i,e))}function pp(e){return Bt(e,-32768,32767)}function Qe(e,t,i,n=1e-6){return e>=Math.min(t,i)-n&&e<=Math.max(t,i)+n}function or(e,t,i){i=i||(o=>e[o]<t);let n=e.length-1,s=0,r;for(;n-s>1;)r=s+n>>1,i(r)?s=r:n=r;return{lo:s,hi:n}}const ar=(e,t,i,n)=>or(e,i,n?s=>{const r=e[s][t];return r<i||r===i&&e[s+1][t]===i}:s=>e[s][t]<i),gp=(e,t,i)=>or(e,i,n=>e[n][t]>=i);function mp(e,t,i){let n=0,s=e.length;for(;n<s&&e[n]<t;)n++;for(;s>n&&e[s-1]>i;)s--;return n>0||s<e.length?e.slice(n,s):e}const Ga=["push","pop","shift","splice","unshift"];function bp(e,t){if(e._chartjs){e._chartjs.listeners.push(t);return}Object.defineProperty(e,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[t]}}),Ga.forEach(i=>{const n="_onData"+nr(i),s=e[i];Object.defineProperty(e,i,{configurable:!0,enumerable:!1,value(...r){const o=s.apply(this,r);return e._chartjs.listeners.forEach(a=>{typeof a[n]=="function"&&a[n](...r)}),o}})})}function Za(e,t){const i=e._chartjs;if(!i)return;const n=i.listeners,s=n.indexOf(t);s!==-1&&n.splice(s,1),!(n.length>0)&&(Ga.forEach(r=>{delete e[r]}),delete e._chartjs)}function $a(e){const t=new Set(e);return t.size===e.length?e:Array.from(t)}const tc=function(){return typeof window>"u"?function(e){return e()}:window.requestAnimationFrame}();function ec(e,t){let i=[],n=!1;return function(...s){i=s,n||(n=!0,tc.call(window,()=>{n=!1,e.apply(t,i)}))}}function vp(e,t){let i;return function(...n){return t?(clearTimeout(i),i=setTimeout(e,t,n)):e.apply(this,n),t}}const cr=e=>e==="start"?"left":e==="end"?"right":"center",ut=(e,t,i)=>e==="start"?t:e==="end"?i:(t+i)/2,xp=(e,t,i,n)=>e===(n?"left":"right")?i:e==="center"?(t+i)/2:t,En=e=>e===0||e===1,ic=(e,t,i)=>-(Math.pow(2,10*(e-=1))*Math.sin((e-t)*kt/i)),nc=(e,t,i)=>Math.pow(2,-10*e)*Math.sin((e-t)*kt/i)+1,Di={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>-e*(e-2),easeInOutQuad:e=>(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1),easeInCubic:e=>e*e*e,easeOutCubic:e=>(e-=1)*e*e+1,easeInOutCubic:e=>(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2),easeInQuart:e=>e*e*e*e,easeOutQuart:e=>-((e-=1)*e*e*e-1),easeInOutQuart:e=>(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2),easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>(e-=1)*e*e*e*e+1,easeInOutQuint:e=>(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2),easeInSine:e=>-Math.cos(e*St)+1,easeOutSine:e=>Math.sin(e*St),easeInOutSine:e=>-.5*(Math.cos(st*e)-1),easeInExpo:e=>e===0?0:Math.pow(2,10*(e-1)),easeOutExpo:e=>e===1?1:-Math.pow(2,-10*e)+1,easeInOutExpo:e=>En(e)?e:e<.5?.5*Math.pow(2,10*(e*2-1)):.5*(-Math.pow(2,-10*(e*2-1))+2),easeInCirc:e=>e>=1?e:-(Math.sqrt(1-e*e)-1),easeOutCirc:e=>Math.sqrt(1-(e-=1)*e),easeInOutCirc:e=>(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1),easeInElastic:e=>En(e)?e:ic(e,.075,.3),easeOutElastic:e=>En(e)?e:nc(e,.075,.3),easeInOutElastic(e){return En(e)?e:e<.5?.5*ic(e*2,.1125,.45):.5+.5*nc(e*2-1,.1125,.45)},easeInBack(e){return e*e*((1.70158+1)*e-1.70158)},easeOutBack(e){return(e-=1)*e*((1.70158+1)*e+1.70158)+1},easeInOutBack(e){let t=1.70158;return(e/=.5)<1?.5*(e*e*(((t*=1.525)+1)*e-t)):.5*((e-=2)*e*(((t*=1.525)+1)*e+t)+2)},easeInBounce:e=>1-Di.easeOutBounce(1-e),easeOutBounce(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},easeInOutBounce:e=>e<.5?Di.easeInBounce(e*2)*.5:Di.easeOutBounce(e*2-1)*.5+.5};function sc(e){if(e&&typeof e=="object"){const t=e.toString();return t==="[object CanvasPattern]"||t==="[object CanvasGradient]"}return!1}function rc(e){return sc(e)?e:new Ci(e)}function lr(e){return sc(e)?e:new Ci(e).saturate(.5).darken(.1).hexString()}const yp=["x","y","borderWidth","radius","tension"],_p=["color","borderColor","backgroundColor"];function wp(e){e.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),e.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:t=>t!=="onProgress"&&t!=="onComplete"&&t!=="fn"}),e.set("animations",{colors:{type:"color",properties:_p},numbers:{type:"number",properties:yp}}),e.describe("animations",{_fallback:"animation"}),e.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:t=>t|0}}}})}function kp(e){e.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}const oc=new Map;function Sp(e,t){t=t||{};const i=e+JSON.stringify(t);let n=oc.get(i);return n||(n=new Intl.NumberFormat(e,t),oc.set(i,n)),n}function Tn(e,t,i){return Sp(t,i).format(e)}const ac={values(e){return nt(e)?e:""+e},numeric(e,t,i){if(e===0)return"0";const n=this.chart.options.locale;let s,r=e;if(i.length>1){const l=Math.max(Math.abs(i[0].value),Math.abs(i[i.length-1].value));(l<1e-4||l>1e15)&&(s="scientific"),r=Ap(e,i)}const o=sr(Math.abs(r)),a=isNaN(o)?1:Math.max(Math.min(-1*Math.floor(o),20),0),c={notation:s,minimumFractionDigits:a,maximumFractionDigits:a};return Object.assign(c,this.options.ticks.format),Tn(e,n,c)},logarithmic(e,t,i){if(e===0)return"0";const n=i[t].significand||e/Math.pow(10,Math.floor(sr(e)));return[1,2,3,5,10,15].includes(n)||t>.8*i.length?ac.numeric.call(this,e,t,i):""}};function Ap(e,t){let i=t.length>3?t[2].value-t[1].value:t[1].value-t[0].value;return Math.abs(i)>=1&&e!==Math.floor(e)&&(i=e-Math.floor(e)),i}var cc={formatters:ac};function Mp(e){e.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(t,i)=>i.lineWidth,tickColor:(t,i)=>i.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:cc.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),e.route("scale.ticks","color","","color"),e.route("scale.grid","color","","borderColor"),e.route("scale.border","color","","borderColor"),e.route("scale.title","color","","color"),e.describe("scale",{_fallback:!1,_scriptable:t=>!t.startsWith("before")&&!t.startsWith("after")&&t!=="callback"&&t!=="parser",_indexable:t=>t!=="borderDash"&&t!=="tickBorderDash"&&t!=="dash"}),e.describe("scales",{_fallback:"scale"}),e.describe("scale.ticks",{_scriptable:t=>t!=="backdropPadding"&&t!=="callback",_indexable:t=>t!=="backdropPadding"})}const Oe=Object.create(null),hr=Object.create(null);function Pi(e,t){if(!t)return e;const i=t.split(".");for(let n=0,s=i.length;n<s;++n){const r=i[n];e=e[r]||(e[r]=Object.create(null))}return e}function ur(e,t,i){return typeof t=="string"?Oi(Pi(e,t),i):Oi(Pi(e,""),t)}class Cp{constructor(t,i){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=n=>n.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(n,s)=>lr(s.backgroundColor),this.hoverBorderColor=(n,s)=>lr(s.borderColor),this.hoverColor=(n,s)=>lr(s.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(t),this.apply(i)}set(t,i){return ur(this,t,i)}get(t){return Pi(this,t)}describe(t,i){return ur(hr,t,i)}override(t,i){return ur(Oe,t,i)}route(t,i,n,s){const r=Pi(this,t),o=Pi(this,n),a="_"+i;Object.defineProperties(r,{[a]:{value:r[i],writable:!0},[i]:{enumerable:!0,get(){const c=this[a],l=o[s];return N(c)?Object.assign({},l,c):U(c,l)},set(c){this[a]=c}}})}apply(t){t.forEach(i=>i(this))}}var J=new Cp({_scriptable:e=>!e.startsWith("on"),_indexable:e=>e!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[wp,kp,Mp]);function Op(e){return!e||Q(e.size)||Q(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family}function lc(e,t,i,n,s){let r=t[s];return r||(r=t[s]=e.measureText(s).width,i.push(s)),r>n&&(n=r),n}function Ee(e,t,i){const n=e.currentDevicePixelRatio,s=i!==0?Math.max(i/2,.5):0;return Math.round((t-s)*n)/n+s}function hc(e,t){!t&&!e||(t=t||e.getContext("2d"),t.save(),t.resetTransform(),t.clearRect(0,0,e.width,e.height),t.restore())}function uc(e,t,i,n){dc(e,t,i,n,null)}function dc(e,t,i,n,s){let r,o,a,c,l,h,u,d;const f=t.pointStyle,p=t.rotation,m=t.radius;let v=(p||0)*ap;if(f&&typeof f=="object"&&(r=f.toString(),r==="[object HTMLImageElement]"||r==="[object HTMLCanvasElement]")){e.save(),e.translate(i,n),e.rotate(v),e.drawImage(f,-f.width/2,-f.height/2,f.width,f.height),e.restore();return}if(!(isNaN(m)||m<=0)){switch(e.beginPath(),f){default:s?e.ellipse(i,n,s/2,m,0,0,kt):e.arc(i,n,m,0,kt),e.closePath();break;case"triangle":h=s?s/2:m,e.moveTo(i+Math.sin(v)*h,n-Math.cos(v)*m),v+=Qa,e.lineTo(i+Math.sin(v)*h,n-Math.cos(v)*m),v+=Qa,e.lineTo(i+Math.sin(v)*h,n-Math.cos(v)*m),e.closePath();break;case"rectRounded":l=m*.516,c=m-l,o=Math.cos(v+Me)*c,u=Math.cos(v+Me)*(s?s/2-l:c),a=Math.sin(v+Me)*c,d=Math.sin(v+Me)*(s?s/2-l:c),e.arc(i-u,n-a,l,v-st,v-St),e.arc(i+d,n-o,l,v-St,v),e.arc(i+u,n+a,l,v,v+St),e.arc(i-d,n+o,l,v+St,v+st),e.closePath();break;case"rect":if(!p){c=Math.SQRT1_2*m,h=s?s/2:c,e.rect(i-h,n-c,2*h,2*c);break}v+=Me;case"rectRot":u=Math.cos(v)*(s?s/2:m),o=Math.cos(v)*m,a=Math.sin(v)*m,d=Math.sin(v)*(s?s/2:m),e.moveTo(i-u,n-a),e.lineTo(i+d,n-o),e.lineTo(i+u,n+a),e.lineTo(i-d,n+o),e.closePath();break;case"crossRot":v+=Me;case"cross":u=Math.cos(v)*(s?s/2:m),o=Math.cos(v)*m,a=Math.sin(v)*m,d=Math.sin(v)*(s?s/2:m),e.moveTo(i-u,n-a),e.lineTo(i+u,n+a),e.moveTo(i+d,n-o),e.lineTo(i-d,n+o);break;case"star":u=Math.cos(v)*(s?s/2:m),o=Math.cos(v)*m,a=Math.sin(v)*m,d=Math.sin(v)*(s?s/2:m),e.moveTo(i-u,n-a),e.lineTo(i+u,n+a),e.moveTo(i+d,n-o),e.lineTo(i-d,n+o),v+=Me,u=Math.cos(v)*(s?s/2:m),o=Math.cos(v)*m,a=Math.sin(v)*m,d=Math.sin(v)*(s?s/2:m),e.moveTo(i-u,n-a),e.lineTo(i+u,n+a),e.moveTo(i+d,n-o),e.lineTo(i-d,n+o);break;case"line":o=s?s/2:Math.cos(v)*m,a=Math.sin(v)*m,e.moveTo(i-o,n-a),e.lineTo(i+o,n+a);break;case"dash":e.moveTo(i,n),e.lineTo(i+Math.cos(v)*(s?s/2:m),n+Math.sin(v)*m);break;case!1:e.closePath();break}e.fill(),t.borderWidth>0&&e.stroke()}}function fc(e,t,i){return i=i||.5,!t||e&&e.x>t.left-i&&e.x<t.right+i&&e.y>t.top-i&&e.y<t.bottom+i}function dr(e,t){e.save(),e.beginPath(),e.rect(t.left,t.top,t.right-t.left,t.bottom-t.top),e.clip()}function fr(e){e.restore()}function Ep(e,t){t.translation&&e.translate(t.translation[0],t.translation[1]),Q(t.rotation)||e.rotate(t.rotation),t.color&&(e.fillStyle=t.color),t.textAlign&&(e.textAlign=t.textAlign),t.textBaseline&&(e.textBaseline=t.textBaseline)}function Tp(e,t,i,n,s){if(s.strikethrough||s.underline){const r=e.measureText(n),o=t-r.actualBoundingBoxLeft,a=t+r.actualBoundingBoxRight,c=i-r.actualBoundingBoxAscent,l=i+r.actualBoundingBoxDescent,h=s.strikethrough?(c+l)/2:l;e.strokeStyle=e.fillStyle,e.beginPath(),e.lineWidth=s.decorationWidth||2,e.moveTo(o,h),e.lineTo(a,h),e.stroke()}}function Dp(e,t){const i=e.fillStyle;e.fillStyle=t.color,e.fillRect(t.left,t.top,t.width,t.height),e.fillStyle=i}function Ri(e,t,i,n,s,r={}){const o=nt(t)?t:[t],a=r.strokeWidth>0&&r.strokeColor!=="";let c,l;for(e.save(),e.font=s.string,Ep(e,r),c=0;c<o.length;++c)l=o[c],r.backdrop&&Dp(e,r.backdrop),a&&(r.strokeColor&&(e.strokeStyle=r.strokeColor),Q(r.strokeWidth)||(e.lineWidth=r.strokeWidth),e.strokeText(l,i,n,r.maxWidth)),e.fillText(l,i,n,r.maxWidth),Tp(e,i,n,l,r),n+=Number(s.lineHeight);e.restore()}function Dn(e,t){const{x:i,y:n,w:s,h:r,radius:o}=t;e.arc(i+o.topLeft,n+o.topLeft,o.topLeft,1.5*st,st,!0),e.lineTo(i,n+r-o.bottomLeft),e.arc(i+o.bottomLeft,n+r-o.bottomLeft,o.bottomLeft,st,St,!0),e.lineTo(i+s-o.bottomRight,n+r),e.arc(i+s-o.bottomRight,n+r-o.bottomRight,o.bottomRight,St,0,!0),e.lineTo(i+s,n+o.topRight),e.arc(i+s-o.topRight,n+o.topRight,o.topRight,0,-St,!0),e.lineTo(i+o.topLeft,n)}const Pp=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,Rp=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function Ip(e,t){const i=(""+e).match(Pp);if(!i||i[1]==="normal")return t*1.2;switch(e=+i[2],i[3]){case"px":return e;case"%":e/=100;break}return t*e}const Lp=e=>+e||0;function pc(e,t){const i={},n=N(t),s=n?Object.keys(t):t,r=N(e)?n?o=>U(e[o],e[t[o]]):o=>e[o]:()=>e;for(const o of s)i[o]=Lp(r(o));return i}function gc(e){return pc(e,{top:"y",right:"x",bottom:"y",left:"x"})}function Xe(e){return pc(e,["topLeft","topRight","bottomLeft","bottomRight"])}function Pt(e){const t=gc(e);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function dt(e,t){e=e||{},t=t||J.font;let i=U(e.size,t.size);typeof i=="string"&&(i=parseInt(i,10));let n=U(e.style,t.style);n&&!(""+n).match(Rp)&&(console.warn('Invalid font style specified: "'+n+'"'),n=void 0);const s={family:U(e.family,t.family),lineHeight:Ip(U(e.lineHeight,t.lineHeight),i),size:i,style:n,weight:U(e.weight,t.weight),string:""};return s.string=Op(s),s}function Pn(e,t,i,n){let s,r,o;for(s=0,r=e.length;s<r;++s)if(o=e[s],o!==void 0&&o!==void 0)return o}function Fp(e,t,i){const{min:n,max:s}=e,r=ja(t,(s-n)/2),o=(a,c)=>i&&a===0?0:a+c;return{min:o(n,-Math.abs(r)),max:o(s,r)}}function Je(e,t){return Object.assign(Object.create(e),t)}function pr(e,t=[""],i,n,s=()=>e[0]){const r=i||e;typeof n>"u"&&(n=yc("_fallback",e));const o={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:e,_rootScopes:r,_fallback:n,_getTarget:s,override:a=>pr([a,...e],t,r,n)};return new Proxy(o,{deleteProperty(a,c){return delete a[c],delete a._keys,delete e[0][c],!0},get(a,c){return bc(a,c,()=>jp(c,t,e,a))},getOwnPropertyDescriptor(a,c){return Reflect.getOwnPropertyDescriptor(a._scopes[0],c)},getPrototypeOf(){return Reflect.getPrototypeOf(e[0])},has(a,c){return _c(a).includes(c)},ownKeys(a){return _c(a)},set(a,c,l){const h=a._storage||(a._storage=s());return a[c]=h[c]=l,delete a._keys,!0}})}function Ge(e,t,i,n){const s={_cacheable:!1,_proxy:e,_context:t,_subProxy:i,_stack:new Set,_descriptors:mc(e,n),setContext:r=>Ge(e,r,i,n),override:r=>Ge(e.override(r),t,i,n)};return new Proxy(s,{deleteProperty(r,o){return delete r[o],delete e[o],!0},get(r,o,a){return bc(r,o,()=>zp(r,o,a))},getOwnPropertyDescriptor(r,o){return r._descriptors.allKeys?Reflect.has(e,o)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(e,o)},getPrototypeOf(){return Reflect.getPrototypeOf(e)},has(r,o){return Reflect.has(e,o)},ownKeys(){return Reflect.ownKeys(e)},set(r,o,a){return e[o]=a,delete r[o],!0}})}function mc(e,t={scriptable:!0,indexable:!0}){const{_scriptable:i=t.scriptable,_indexable:n=t.indexable,_allKeys:s=t.allKeys}=e;return{allKeys:s,scriptable:i,indexable:n,isScriptable:de(i)?i:()=>i,isIndexable:de(n)?n:()=>n}}const Bp=(e,t)=>e?e+nr(t):t,gr=(e,t)=>N(t)&&e!=="adapters"&&(Object.getPrototypeOf(t)===null||t.constructor===Object);function bc(e,t,i){if(Object.prototype.hasOwnProperty.call(e,t)||t==="constructor")return e[t];const n=i();return e[t]=n,n}function zp(e,t,i){const{_proxy:n,_context:s,_subProxy:r,_descriptors:o}=e;let a=n[t];return de(a)&&o.isScriptable(t)&&(a=Vp(t,a,e,i)),nt(a)&&a.length&&(a=Hp(t,a,e,o.isIndexable)),gr(t,a)&&(a=Ge(a,s,r&&r[t],o)),a}function Vp(e,t,i,n){const{_proxy:s,_context:r,_subProxy:o,_stack:a}=i;if(a.has(e))throw new Error("Recursion detected: "+Array.from(a).join("->")+"->"+e);a.add(e);let c=t(r,o||n);return a.delete(e),gr(e,c)&&(c=mr(s._scopes,s,e,c)),c}function Hp(e,t,i,n){const{_proxy:s,_context:r,_subProxy:o,_descriptors:a}=i;if(typeof r.index<"u"&&n(e))return t[r.index%t.length];if(N(t[0])){const c=t,l=s._scopes.filter(h=>h!==c);t=[];for(const h of c){const u=mr(l,s,e,h);t.push(Ge(u,r,o&&o[e],a))}}return t}function vc(e,t,i){return de(e)?e(t,i):e}const Np=(e,t)=>e===!0?t:typeof e=="string"?ue(t,e):void 0;function Wp(e,t,i,n,s){for(const r of t){const o=Np(i,r);if(o){e.add(o);const a=vc(o._fallback,i,s);if(typeof a<"u"&&a!==i&&a!==n)return a}else if(o===!1&&typeof n<"u"&&i!==n)return null}return!1}function mr(e,t,i,n){const s=t._rootScopes,r=vc(t._fallback,i,n),o=[...e,...s],a=new Set;a.add(n);let c=xc(a,o,i,r||i,n);return c===null||typeof r<"u"&&r!==i&&(c=xc(a,o,r,c,n),c===null)?!1:pr(Array.from(a),[""],s,r,()=>Up(t,i,n))}function xc(e,t,i,n,s){for(;i;)i=Wp(e,t,i,n,s);return i}function Up(e,t,i){const n=e._getTarget();t in n||(n[t]={});const s=n[t];return nt(s)&&N(i)?i:s||{}}function jp(e,t,i,n){let s;for(const r of t)if(s=yc(Bp(r,e),i),typeof s<"u")return gr(e,s)?mr(i,n,e,s):s}function yc(e,t){for(const i of t){if(!i)continue;const n=i[e];if(typeof n<"u")return n}}function _c(e){let t=e._keys;return t||(t=e._keys=Yp(e._scopes)),t}function Yp(e){const t=new Set;for(const i of e)for(const n of Object.keys(i).filter(s=>!s.startsWith("_")))t.add(n);return Array.from(t)}function Kp(e,t,i,n){const{iScale:s}=e,{key:r="r"}=this._parsing,o=new Array(n);let a,c,l,h;for(a=0,c=n;a<c;++a)l=a+i,h=t[l],o[a]={r:s.parse(ue(h,r),l)};return o}function br(){return typeof window<"u"&&typeof document<"u"}function vr(e){let t=e.parentNode;return t&&t.toString()==="[object ShadowRoot]"&&(t=t.host),t}function Rn(e,t,i){let n;return typeof e=="string"?(n=parseInt(e,10),e.indexOf("%")!==-1&&(n=n/100*t.parentNode[i])):n=e,n}const In=e=>e.ownerDocument.defaultView.getComputedStyle(e,null);function qp(e,t){return In(e).getPropertyValue(t)}const Qp=["top","right","bottom","left"];function Te(e,t,i){const n={};i=i?"-"+i:"";for(let s=0;s<4;s++){const r=Qp[s];n[r]=parseFloat(e[t+"-"+r+i])||0}return n.width=n.left+n.right,n.height=n.top+n.bottom,n}const Xp=(e,t,i)=>(e>0||t>0)&&(!i||!i.shadowRoot);function Jp(e,t){const i=e.touches,n=i&&i.length?i[0]:e,{offsetX:s,offsetY:r}=n;let o=!1,a,c;if(Xp(s,r,e.target))a=s,c=r;else{const l=t.getBoundingClientRect();a=n.clientX-l.left,c=n.clientY-l.top,o=!0}return{x:a,y:c,box:o}}function De(e,t){if("native"in e)return e;const{canvas:i,currentDevicePixelRatio:n}=t,s=In(i),r=s.boxSizing==="border-box",o=Te(s,"padding"),a=Te(s,"border","width"),{x:c,y:l,box:h}=Jp(e,i),u=o.left+(h&&a.left),d=o.top+(h&&a.top);let{width:f,height:p}=t;return r&&(f-=o.width+a.width,p-=o.height+a.height),{x:Math.round((c-u)/f*i.width/n),y:Math.round((l-d)/p*i.height/n)}}function Gp(e,t,i){let n,s;if(t===void 0||i===void 0){const r=e&&vr(e);if(!r)t=e.clientWidth,i=e.clientHeight;else{const o=r.getBoundingClientRect(),a=In(r),c=Te(a,"border","width"),l=Te(a,"padding");t=o.width-l.width-c.width,i=o.height-l.height-c.height,n=Rn(a.maxWidth,r,"clientWidth"),s=Rn(a.maxHeight,r,"clientHeight")}}return{width:t,height:i,maxWidth:n||Mn,maxHeight:s||Mn}}const Ln=e=>Math.round(e*10)/10;function Zp(e,t,i,n){const s=In(e),r=Te(s,"margin"),o=Rn(s.maxWidth,e,"clientWidth")||Mn,a=Rn(s.maxHeight,e,"clientHeight")||Mn,c=Gp(e,t,i);let{width:l,height:h}=c;if(s.boxSizing==="content-box"){const d=Te(s,"border","width"),f=Te(s,"padding");l-=f.width+d.width,h-=f.height+d.height}return l=Math.max(0,l-r.width),h=Math.max(0,n?l/n:h-r.height),l=Ln(Math.min(l,o,c.maxWidth)),h=Ln(Math.min(h,a,c.maxHeight)),l&&!h&&(h=Ln(l/2)),(t!==void 0||i!==void 0)&&n&&c.height&&h>c.height&&(h=c.height,l=Ln(Math.floor(h*n))),{width:l,height:h}}function wc(e,t,i){const n=t||1,s=Math.floor(e.height*n),r=Math.floor(e.width*n);e.height=Math.floor(e.height),e.width=Math.floor(e.width);const o=e.canvas;return o.style&&(i||!o.style.height&&!o.style.width)&&(o.style.height=`${e.height}px`,o.style.width=`${e.width}px`),e.currentDevicePixelRatio!==n||o.height!==s||o.width!==r?(e.currentDevicePixelRatio=n,o.height=s,o.width=r,e.ctx.setTransform(n,0,0,n,0,0),!0):!1}const $p=function(){let e=!1;try{const t={get passive(){return e=!0,!1}};br()&&(window.addEventListener("test",null,t),window.removeEventListener("test",null,t))}catch{}return e}();function kc(e,t){const i=qp(e,t),n=i&&i.match(/^(\d+)(\.\d+)?px$/);return n?+n[1]:void 0}const tg=function(e,t){return{x(i){return e+e+t-i},setWidth(i){t=i},textAlign(i){return i==="center"?i:i==="right"?"left":"right"},xPlus(i,n){return i-n},leftForLtr(i,n){return i-n}}},eg=function(){return{x(e){return e},setWidth(e){},textAlign(e){return e},xPlus(e,t){return e+t},leftForLtr(e,t){return e}}};function Ze(e,t,i){return e?tg(t,i):eg()}function Sc(e,t){let i,n;(t==="ltr"||t==="rtl")&&(i=e.canvas.style,n=[i.getPropertyValue("direction"),i.getPropertyPriority("direction")],i.setProperty("direction",t,"important"),e.prevTextDirection=n)}function Ac(e,t){t!==void 0&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",t[0],t[1]))}/*!
|
|
88
|
+
*/function Le(){}const Ym=(()=>{let e=0;return()=>e++})();function ut(e){return e===null||typeof e>"u"}function Pt(e){if(Array.isArray&&Array.isArray(e))return!0;const t=Object.prototype.toString.call(e);return t.slice(0,7)==="[object"&&t.slice(-6)==="Array]"}function it(e){return e!==null&&Object.prototype.toString.call(e)==="[object Object]"}function oe(e){return(typeof e=="number"||e instanceof Number)&&isFinite(+e)}function xe(e,t){return oe(e)?e:t}function st(e,t){return typeof e>"u"?t:e}const Km=(e,t)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100:+e/t,SA=(e,t)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100*t:+e;function ht(e,t,n){if(e&&typeof e.call=="function")return e.apply(n,t)}function ct(e,t,n,i){let o,r,s;if(Pt(e))for(r=e.length,o=0;o<r;o++)t.call(n,e[o],o);else if(it(e))for(s=Object.keys(e),r=s.length,o=0;o<r;o++)t.call(n,e[s[o]],s[o])}function xo(e,t){let n,i,o,r;if(!e||!t||e.length!==t.length)return!1;for(n=0,i=e.length;n<i;++n)if(o=e[n],r=t[n],o.datasetIndex!==r.datasetIndex||o.index!==r.index)return!1;return!0}function _o(e){if(Pt(e))return e.map(_o);if(it(e)){const t=Object.create(null),n=Object.keys(e),i=n.length;let o=0;for(;o<i;++o)t[n[o]]=_o(e[n[o]]);return t}return e}function MA(e){return["__proto__","prototype","constructor"].indexOf(e)===-1}function qm(e,t,n,i){if(!MA(e))return;const o=t[e],r=n[e];it(o)&&it(r)?vi(o,r,i):t[e]=_o(r)}function vi(e,t,n){const i=Pt(t)?t:[t],o=i.length;if(!it(e))return e;n=n||{};const r=n.merger||qm;let s;for(let a=0;a<o;++a){if(s=i[a],!it(s))continue;const c=Object.keys(s);for(let l=0,A=c.length;l<A;++l)r(c[l],e,s,n)}return e}function wi(e,t){return vi(e,t,{merger:Xm})}function Xm(e,t,n){if(!MA(e))return;const i=t[e],o=n[e];it(i)&&it(o)?wi(i,o):Object.prototype.hasOwnProperty.call(t,e)||(t[e]=_o(o))}const TA={"":e=>e,x:e=>e.x,y:e=>e.y};function Gm(e){const t=e.split("."),n=[];let i="";for(const o of t)i+=o,i.endsWith("\\")?i=i.slice(0,-1)+".":(n.push(i),i="");return n}function Jm(e){const t=Gm(e);return n=>{for(const i of t){if(i==="")break;n=n&&n[i]}return n}}function Je(e,t){return(TA[t]||(TA[t]=Jm(t)))(e)}function bs(e){return e.charAt(0).toUpperCase()+e.slice(1)}const yi=e=>typeof e<"u",Ze=e=>typeof e=="function",IA=(e,t)=>{if(e.size!==t.size)return!1;for(const n of e)if(!t.has(n))return!1;return!0};function Zm(e){return e.type==="mouseup"||e.type==="click"||e.type==="contextmenu"}const Bt=Math.PI,qt=2*Bt,Po=Number.POSITIVE_INFINITY,$m=Bt/180,Xt=Bt/2,An=Bt/4,OA=Bt*2/3,vs=Math.log10,$e=Math.sign;function Bo(e,t,n){return Math.abs(e-t)<n}function QA(e){const t=Math.round(e);e=Bo(e,t,e/1e3)?t:e;const n=Math.pow(10,Math.floor(vs(e))),i=e/n;return(i<=1?1:i<=2?2:i<=5?5:10)*n}function tb(e){const t=[],n=Math.sqrt(e);let i;for(i=1;i<n;i++)e%i===0&&(t.push(i),t.push(e/i));return n===(n|0)&&t.push(n),t.sort((o,r)=>o-r).pop(),t}function ko(e){return!isNaN(parseFloat(e))&&isFinite(e)}function eb(e,t){const n=Math.round(e);return n-t<=e&&n+t>=e}function nb(e,t,n){let i,o,r;for(i=0,o=e.length;i<o;i++)r=e[i][n],isNaN(r)||(t.min=Math.min(t.min,r),t.max=Math.max(t.max,r))}function _e(e){return e*(Bt/180)}function ib(e){return e*(180/Bt)}function LA(e){if(!oe(e))return;let t=1,n=0;for(;Math.round(e*t)/t!==e;)t*=10,n++;return n}function ob(e,t){const n=t.x-e.x,i=t.y-e.y,o=Math.sqrt(n*n+i*i);let r=Math.atan2(i,n);return r<-.5*Bt&&(r+=qt),{angle:r,distance:o}}function rb(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function dn(e){return(e%qt+qt)%qt}function ws(e,t,n,i){const o=dn(e),r=dn(t),s=dn(n),a=dn(r-o),c=dn(s-o),l=dn(o-r),A=dn(o-s);return o===r||o===s||i&&r===s||a>c&&l<A}function de(e,t,n){return Math.max(t,Math.min(n,e))}function sb(e){return de(e,-32768,32767)}function Ln(e,t,n,i=1e-6){return e>=Math.min(t,n)-i&&e<=Math.max(t,n)+i}function ys(e,t,n){n=n||(s=>e[s]<t);let i=e.length-1,o=0,r;for(;i-o>1;)r=o+i>>1,n(r)?o=r:i=r;return{lo:o,hi:i}}const xs=(e,t,n,i)=>ys(e,n,i?o=>{const r=e[o][t];return r<n||r===n&&e[o+1][t]===n}:o=>e[o][t]<n),ab=(e,t,n)=>ys(e,n,i=>e[i][t]>=n);function cb(e,t,n){let i=0,o=e.length;for(;i<o&&e[i]<t;)i++;for(;o>i&&e[o-1]>n;)o--;return i>0||o<e.length?e.slice(i,o):e}const RA=["push","pop","shift","splice","unshift"];function lb(e,t){if(e._chartjs){e._chartjs.listeners.push(t);return}Object.defineProperty(e,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[t]}}),RA.forEach(n=>{const i="_onData"+bs(n),o=e[n];Object.defineProperty(e,n,{configurable:!0,enumerable:!1,value(...r){const s=o.apply(this,r);return e._chartjs.listeners.forEach(a=>{typeof a[i]=="function"&&a[i](...r)}),s}})})}function HA(e,t){const n=e._chartjs;if(!n)return;const i=n.listeners,o=i.indexOf(t);o!==-1&&i.splice(o,1),!(i.length>0)&&(RA.forEach(r=>{delete e[r]}),delete e._chartjs)}function FA(e){const t=new Set(e);return t.size===e.length?e:Array.from(t)}const zA=function(){return typeof window>"u"?function(e){return e()}:window.requestAnimationFrame}();function NA(e,t){let n=[],i=!1;return function(...o){n=o,i||(i=!0,zA.call(window,()=>{i=!1,e.apply(t,n)}))}}function Ab(e,t){let n;return function(...i){return t?(clearTimeout(n),n=setTimeout(e,t,i)):e.apply(this,i),t}}const _s=e=>e==="start"?"left":e==="end"?"right":"center",Mt=(e,t,n)=>e==="start"?t:e==="end"?n:(t+n)/2,db=(e,t,n,i)=>e===(i?"left":"right")?n:e==="center"?(t+n)/2:t,Do=e=>e===0||e===1,jA=(e,t,n)=>-(Math.pow(2,10*(e-=1))*Math.sin((e-t)*qt/n)),UA=(e,t,n)=>Math.pow(2,-10*e)*Math.sin((e-t)*qt/n)+1,xi={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>-e*(e-2),easeInOutQuad:e=>(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1),easeInCubic:e=>e*e*e,easeOutCubic:e=>(e-=1)*e*e+1,easeInOutCubic:e=>(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2),easeInQuart:e=>e*e*e*e,easeOutQuart:e=>-((e-=1)*e*e*e-1),easeInOutQuart:e=>(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2),easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>(e-=1)*e*e*e*e+1,easeInOutQuint:e=>(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2),easeInSine:e=>-Math.cos(e*Xt)+1,easeOutSine:e=>Math.sin(e*Xt),easeInOutSine:e=>-.5*(Math.cos(Bt*e)-1),easeInExpo:e=>e===0?0:Math.pow(2,10*(e-1)),easeOutExpo:e=>e===1?1:-Math.pow(2,-10*e)+1,easeInOutExpo:e=>Do(e)?e:e<.5?.5*Math.pow(2,10*(e*2-1)):.5*(-Math.pow(2,-10*(e*2-1))+2),easeInCirc:e=>e>=1?e:-(Math.sqrt(1-e*e)-1),easeOutCirc:e=>Math.sqrt(1-(e-=1)*e),easeInOutCirc:e=>(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1),easeInElastic:e=>Do(e)?e:jA(e,.075,.3),easeOutElastic:e=>Do(e)?e:UA(e,.075,.3),easeInOutElastic(e){return Do(e)?e:e<.5?.5*jA(e*2,.1125,.45):.5+.5*UA(e*2-1,.1125,.45)},easeInBack(e){return e*e*((1.70158+1)*e-1.70158)},easeOutBack(e){return(e-=1)*e*((1.70158+1)*e+1.70158)+1},easeInOutBack(e){let t=1.70158;return(e/=.5)<1?.5*(e*e*(((t*=1.525)+1)*e-t)):.5*((e-=2)*e*(((t*=1.525)+1)*e+t)+2)},easeInBounce:e=>1-xi.easeOutBounce(1-e),easeOutBounce(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},easeInOutBounce:e=>e<.5?xi.easeInBounce(e*2)*.5:xi.easeOutBounce(e*2-1)*.5+.5};function VA(e){if(e&&typeof e=="object"){const t=e.toString();return t==="[object CanvasPattern]"||t==="[object CanvasGradient]"}return!1}function WA(e){return VA(e)?e:new bi(e)}function Ps(e){return VA(e)?e:new bi(e).saturate(.5).darken(.1).hexString()}const ub=["x","y","borderWidth","radius","tension"],hb=["color","borderColor","backgroundColor"];function fb(e){e.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),e.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:t=>t!=="onProgress"&&t!=="onComplete"&&t!=="fn"}),e.set("animations",{colors:{type:"color",properties:hb},numbers:{type:"number",properties:ub}}),e.describe("animations",{_fallback:"animation"}),e.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:t=>t|0}}}})}function pb(e){e.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}const YA=new Map;function gb(e,t){t=t||{};const n=e+JSON.stringify(t);let i=YA.get(n);return i||(i=new Intl.NumberFormat(e,t),YA.set(n,i)),i}function Co(e,t,n){return gb(t,n).format(e)}const KA={values(e){return Pt(e)?e:""+e},numeric(e,t,n){if(e===0)return"0";const i=this.chart.options.locale;let o,r=e;if(n.length>1){const l=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(l<1e-4||l>1e15)&&(o="scientific"),r=mb(e,n)}const s=vs(Math.abs(r)),a=isNaN(s)?1:Math.max(Math.min(-1*Math.floor(s),20),0),c={notation:o,minimumFractionDigits:a,maximumFractionDigits:a};return Object.assign(c,this.options.ticks.format),Co(e,i,c)},logarithmic(e,t,n){if(e===0)return"0";const i=n[t].significand||e/Math.pow(10,Math.floor(vs(e)));return[1,2,3,5,10,15].includes(i)||t>.8*n.length?KA.numeric.call(this,e,t,n):""}};function mb(e,t){let n=t.length>3?t[2].value-t[1].value:t[1].value-t[0].value;return Math.abs(n)>=1&&e!==Math.floor(e)&&(n=e-Math.floor(e)),n}var qA={formatters:KA};function bb(e){e.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(t,n)=>n.lineWidth,tickColor:(t,n)=>n.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:qA.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),e.route("scale.ticks","color","","color"),e.route("scale.grid","color","","borderColor"),e.route("scale.border","color","","borderColor"),e.route("scale.title","color","","color"),e.describe("scale",{_fallback:!1,_scriptable:t=>!t.startsWith("before")&&!t.startsWith("after")&&t!=="callback"&&t!=="parser",_indexable:t=>t!=="borderDash"&&t!=="tickBorderDash"&&t!=="dash"}),e.describe("scales",{_fallback:"scale"}),e.describe("scale.ticks",{_scriptable:t=>t!=="backdropPadding"&&t!=="callback",_indexable:t=>t!=="backdropPadding"})}const un=Object.create(null),Bs=Object.create(null);function _i(e,t){if(!t)return e;const n=t.split(".");for(let i=0,o=n.length;i<o;++i){const r=n[i];e=e[r]||(e[r]=Object.create(null))}return e}function ks(e,t,n){return typeof t=="string"?vi(_i(e,t),n):vi(_i(e,""),t)}class vb{constructor(t,n){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=i=>i.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(i,o)=>Ps(o.backgroundColor),this.hoverBorderColor=(i,o)=>Ps(o.borderColor),this.hoverColor=(i,o)=>Ps(o.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(t),this.apply(n)}set(t,n){return ks(this,t,n)}get(t){return _i(this,t)}describe(t,n){return ks(Bs,t,n)}override(t,n){return ks(un,t,n)}route(t,n,i,o){const r=_i(this,t),s=_i(this,i),a="_"+n;Object.defineProperties(r,{[a]:{value:r[n],writable:!0},[n]:{enumerable:!0,get(){const c=this[a],l=s[o];return it(c)?Object.assign({},l,c):st(c,l)},set(c){this[a]=c}}})}apply(t){t.forEach(n=>n(this))}}var mt=new vb({_scriptable:e=>!e.startsWith("on"),_indexable:e=>e!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[fb,pb,bb]);function wb(e){return!e||ut(e.size)||ut(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family}function XA(e,t,n,i,o){let r=t[o];return r||(r=t[o]=e.measureText(o).width,n.push(o)),r>i&&(i=r),i}function hn(e,t,n){const i=e.currentDevicePixelRatio,o=n!==0?Math.max(n/2,.5):0;return Math.round((t-o)*i)/i+o}function GA(e,t){!t&&!e||(t=t||e.getContext("2d"),t.save(),t.resetTransform(),t.clearRect(0,0,e.width,e.height),t.restore())}function JA(e,t,n,i){ZA(e,t,n,i,null)}function ZA(e,t,n,i,o){let r,s,a,c,l,A,d,u;const h=t.pointStyle,p=t.rotation,g=t.radius;let b=(p||0)*$m;if(h&&typeof h=="object"&&(r=h.toString(),r==="[object HTMLImageElement]"||r==="[object HTMLCanvasElement]")){e.save(),e.translate(n,i),e.rotate(b),e.drawImage(h,-h.width/2,-h.height/2,h.width,h.height),e.restore();return}if(!(isNaN(g)||g<=0)){switch(e.beginPath(),h){default:o?e.ellipse(n,i,o/2,g,0,0,qt):e.arc(n,i,g,0,qt),e.closePath();break;case"triangle":A=o?o/2:g,e.moveTo(n+Math.sin(b)*A,i-Math.cos(b)*g),b+=OA,e.lineTo(n+Math.sin(b)*A,i-Math.cos(b)*g),b+=OA,e.lineTo(n+Math.sin(b)*A,i-Math.cos(b)*g),e.closePath();break;case"rectRounded":l=g*.516,c=g-l,s=Math.cos(b+An)*c,d=Math.cos(b+An)*(o?o/2-l:c),a=Math.sin(b+An)*c,u=Math.sin(b+An)*(o?o/2-l:c),e.arc(n-d,i-a,l,b-Bt,b-Xt),e.arc(n+u,i-s,l,b-Xt,b),e.arc(n+d,i+a,l,b,b+Xt),e.arc(n-u,i+s,l,b+Xt,b+Bt),e.closePath();break;case"rect":if(!p){c=Math.SQRT1_2*g,A=o?o/2:c,e.rect(n-A,i-c,2*A,2*c);break}b+=An;case"rectRot":d=Math.cos(b)*(o?o/2:g),s=Math.cos(b)*g,a=Math.sin(b)*g,u=Math.sin(b)*(o?o/2:g),e.moveTo(n-d,i-a),e.lineTo(n+u,i-s),e.lineTo(n+d,i+a),e.lineTo(n-u,i+s),e.closePath();break;case"crossRot":b+=An;case"cross":d=Math.cos(b)*(o?o/2:g),s=Math.cos(b)*g,a=Math.sin(b)*g,u=Math.sin(b)*(o?o/2:g),e.moveTo(n-d,i-a),e.lineTo(n+d,i+a),e.moveTo(n+u,i-s),e.lineTo(n-u,i+s);break;case"star":d=Math.cos(b)*(o?o/2:g),s=Math.cos(b)*g,a=Math.sin(b)*g,u=Math.sin(b)*(o?o/2:g),e.moveTo(n-d,i-a),e.lineTo(n+d,i+a),e.moveTo(n+u,i-s),e.lineTo(n-u,i+s),b+=An,d=Math.cos(b)*(o?o/2:g),s=Math.cos(b)*g,a=Math.sin(b)*g,u=Math.sin(b)*(o?o/2:g),e.moveTo(n-d,i-a),e.lineTo(n+d,i+a),e.moveTo(n+u,i-s),e.lineTo(n-u,i+s);break;case"line":s=o?o/2:Math.cos(b)*g,a=Math.sin(b)*g,e.moveTo(n-s,i-a),e.lineTo(n+s,i+a);break;case"dash":e.moveTo(n,i),e.lineTo(n+Math.cos(b)*(o?o/2:g),i+Math.sin(b)*g);break;case!1:e.closePath();break}e.fill(),t.borderWidth>0&&e.stroke()}}function $A(e,t,n){return n=n||.5,!t||e&&e.x>t.left-n&&e.x<t.right+n&&e.y>t.top-n&&e.y<t.bottom+n}function Ds(e,t){e.save(),e.beginPath(),e.rect(t.left,t.top,t.right-t.left,t.bottom-t.top),e.clip()}function Cs(e){e.restore()}function yb(e,t){t.translation&&e.translate(t.translation[0],t.translation[1]),ut(t.rotation)||e.rotate(t.rotation),t.color&&(e.fillStyle=t.color),t.textAlign&&(e.textAlign=t.textAlign),t.textBaseline&&(e.textBaseline=t.textBaseline)}function xb(e,t,n,i,o){if(o.strikethrough||o.underline){const r=e.measureText(i),s=t-r.actualBoundingBoxLeft,a=t+r.actualBoundingBoxRight,c=n-r.actualBoundingBoxAscent,l=n+r.actualBoundingBoxDescent,A=o.strikethrough?(c+l)/2:l;e.strokeStyle=e.fillStyle,e.beginPath(),e.lineWidth=o.decorationWidth||2,e.moveTo(s,A),e.lineTo(a,A),e.stroke()}}function _b(e,t){const n=e.fillStyle;e.fillStyle=t.color,e.fillRect(t.left,t.top,t.width,t.height),e.fillStyle=n}function Pi(e,t,n,i,o,r={}){const s=Pt(t)?t:[t],a=r.strokeWidth>0&&r.strokeColor!=="";let c,l;for(e.save(),e.font=o.string,yb(e,r),c=0;c<s.length;++c)l=s[c],r.backdrop&&_b(e,r.backdrop),a&&(r.strokeColor&&(e.strokeStyle=r.strokeColor),ut(r.strokeWidth)||(e.lineWidth=r.strokeWidth),e.strokeText(l,n,i,r.maxWidth)),e.fillText(l,n,i,r.maxWidth),xb(e,n,i,l,r),i+=Number(o.lineHeight);e.restore()}function Eo(e,t){const{x:n,y:i,w:o,h:r,radius:s}=t;e.arc(n+s.topLeft,i+s.topLeft,s.topLeft,1.5*Bt,Bt,!0),e.lineTo(n,i+r-s.bottomLeft),e.arc(n+s.bottomLeft,i+r-s.bottomLeft,s.bottomLeft,Bt,Xt,!0),e.lineTo(n+o-s.bottomRight,i+r),e.arc(n+o-s.bottomRight,i+r-s.bottomRight,s.bottomRight,Xt,0,!0),e.lineTo(n+o,i+s.topRight),e.arc(n+o-s.topRight,i+s.topRight,s.topRight,0,-Xt,!0),e.lineTo(n+s.topLeft,i)}const Pb=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,Bb=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function kb(e,t){const n=(""+e).match(Pb);if(!n||n[1]==="normal")return t*1.2;switch(e=+n[2],n[3]){case"px":return e;case"%":e/=100;break}return t*e}const Db=e=>+e||0;function td(e,t){const n={},i=it(t),o=i?Object.keys(t):t,r=it(e)?i?s=>st(e[s],e[t[s]]):s=>e[s]:()=>e;for(const s of o)n[s]=Db(r(s));return n}function ed(e){return td(e,{top:"y",right:"x",bottom:"y",left:"x"})}function Rn(e){return td(e,["topLeft","topRight","bottomLeft","bottomRight"])}function re(e){const t=ed(e);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function Tt(e,t){e=e||{},t=t||mt.font;let n=st(e.size,t.size);typeof n=="string"&&(n=parseInt(n,10));let i=st(e.style,t.style);i&&!(""+i).match(Bb)&&(console.warn('Invalid font style specified: "'+i+'"'),i=void 0);const o={family:st(e.family,t.family),lineHeight:kb(st(e.lineHeight,t.lineHeight),n),size:n,style:i,weight:st(e.weight,t.weight),string:""};return o.string=wb(o),o}function So(e,t,n,i){let o,r,s;for(o=0,r=e.length;o<r;++o)if(s=e[o],s!==void 0&&s!==void 0)return s}function Cb(e,t,n){const{min:i,max:o}=e,r=SA(t,(o-i)/2),s=(a,c)=>n&&a===0?0:a+c;return{min:s(i,-Math.abs(r)),max:s(o,r)}}function Hn(e,t){return Object.assign(Object.create(e),t)}function Es(e,t=[""],n,i,o=()=>e[0]){const r=n||e;typeof i>"u"&&(i=sd("_fallback",e));const s={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:e,_rootScopes:r,_fallback:i,_getTarget:o,override:a=>Es([a,...e],t,r,i)};return new Proxy(s,{deleteProperty(a,c){return delete a[c],delete a._keys,delete e[0][c],!0},get(a,c){return id(a,c,()=>Lb(c,t,e,a))},getOwnPropertyDescriptor(a,c){return Reflect.getOwnPropertyDescriptor(a._scopes[0],c)},getPrototypeOf(){return Reflect.getPrototypeOf(e[0])},has(a,c){return ad(a).includes(c)},ownKeys(a){return ad(a)},set(a,c,l){const A=a._storage||(a._storage=o());return a[c]=A[c]=l,delete a._keys,!0}})}function Fn(e,t,n,i){const o={_cacheable:!1,_proxy:e,_context:t,_subProxy:n,_stack:new Set,_descriptors:nd(e,i),setContext:r=>Fn(e,r,n,i),override:r=>Fn(e.override(r),t,n,i)};return new Proxy(o,{deleteProperty(r,s){return delete r[s],delete e[s],!0},get(r,s,a){return id(r,s,()=>Sb(r,s,a))},getOwnPropertyDescriptor(r,s){return r._descriptors.allKeys?Reflect.has(e,s)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(e,s)},getPrototypeOf(){return Reflect.getPrototypeOf(e)},has(r,s){return Reflect.has(e,s)},ownKeys(){return Reflect.ownKeys(e)},set(r,s,a){return e[s]=a,delete r[s],!0}})}function nd(e,t={scriptable:!0,indexable:!0}){const{_scriptable:n=t.scriptable,_indexable:i=t.indexable,_allKeys:o=t.allKeys}=e;return{allKeys:o,scriptable:n,indexable:i,isScriptable:Ze(n)?n:()=>n,isIndexable:Ze(i)?i:()=>i}}const Eb=(e,t)=>e?e+bs(t):t,Ss=(e,t)=>it(t)&&e!=="adapters"&&(Object.getPrototypeOf(t)===null||t.constructor===Object);function id(e,t,n){if(Object.prototype.hasOwnProperty.call(e,t)||t==="constructor")return e[t];const i=n();return e[t]=i,i}function Sb(e,t,n){const{_proxy:i,_context:o,_subProxy:r,_descriptors:s}=e;let a=i[t];return Ze(a)&&s.isScriptable(t)&&(a=Mb(t,a,e,n)),Pt(a)&&a.length&&(a=Tb(t,a,e,s.isIndexable)),Ss(t,a)&&(a=Fn(a,o,r&&r[t],s)),a}function Mb(e,t,n,i){const{_proxy:o,_context:r,_subProxy:s,_stack:a}=n;if(a.has(e))throw new Error("Recursion detected: "+Array.from(a).join("->")+"->"+e);a.add(e);let c=t(r,s||i);return a.delete(e),Ss(e,c)&&(c=Ms(o._scopes,o,e,c)),c}function Tb(e,t,n,i){const{_proxy:o,_context:r,_subProxy:s,_descriptors:a}=n;if(typeof r.index<"u"&&i(e))return t[r.index%t.length];if(it(t[0])){const c=t,l=o._scopes.filter(A=>A!==c);t=[];for(const A of c){const d=Ms(l,o,e,A);t.push(Fn(d,r,s&&s[e],a))}}return t}function od(e,t,n){return Ze(e)?e(t,n):e}const Ib=(e,t)=>e===!0?t:typeof e=="string"?Je(t,e):void 0;function Ob(e,t,n,i,o){for(const r of t){const s=Ib(n,r);if(s){e.add(s);const a=od(s._fallback,n,o);if(typeof a<"u"&&a!==n&&a!==i)return a}else if(s===!1&&typeof i<"u"&&n!==i)return null}return!1}function Ms(e,t,n,i){const o=t._rootScopes,r=od(t._fallback,n,i),s=[...e,...o],a=new Set;a.add(i);let c=rd(a,s,n,r||n,i);return c===null||typeof r<"u"&&r!==n&&(c=rd(a,s,r,c,i),c===null)?!1:Es(Array.from(a),[""],o,r,()=>Qb(t,n,i))}function rd(e,t,n,i,o){for(;n;)n=Ob(e,t,n,i,o);return n}function Qb(e,t,n){const i=e._getTarget();t in i||(i[t]={});const o=i[t];return Pt(o)&&it(n)?n:o||{}}function Lb(e,t,n,i){let o;for(const r of t)if(o=sd(Eb(r,e),n),typeof o<"u")return Ss(e,o)?Ms(n,i,e,o):o}function sd(e,t){for(const n of t){if(!n)continue;const i=n[e];if(typeof i<"u")return i}}function ad(e){let t=e._keys;return t||(t=e._keys=Rb(e._scopes)),t}function Rb(e){const t=new Set;for(const n of e)for(const i of Object.keys(n).filter(o=>!o.startsWith("_")))t.add(i);return Array.from(t)}function Hb(e,t,n,i){const{iScale:o}=e,{key:r="r"}=this._parsing,s=new Array(i);let a,c,l,A;for(a=0,c=i;a<c;++a)l=a+n,A=t[l],s[a]={r:o.parse(Je(A,r),l)};return s}function Ts(){return typeof window<"u"&&typeof document<"u"}function Is(e){let t=e.parentNode;return t&&t.toString()==="[object ShadowRoot]"&&(t=t.host),t}function Mo(e,t,n){let i;return typeof e=="string"?(i=parseInt(e,10),e.indexOf("%")!==-1&&(i=i/100*t.parentNode[n])):i=e,i}const To=e=>e.ownerDocument.defaultView.getComputedStyle(e,null);function Fb(e,t){return To(e).getPropertyValue(t)}const zb=["top","right","bottom","left"];function fn(e,t,n){const i={};n=n?"-"+n:"";for(let o=0;o<4;o++){const r=zb[o];i[r]=parseFloat(e[t+"-"+r+n])||0}return i.width=i.left+i.right,i.height=i.top+i.bottom,i}const Nb=(e,t,n)=>(e>0||t>0)&&(!n||!n.shadowRoot);function jb(e,t){const n=e.touches,i=n&&n.length?n[0]:e,{offsetX:o,offsetY:r}=i;let s=!1,a,c;if(Nb(o,r,e.target))a=o,c=r;else{const l=t.getBoundingClientRect();a=i.clientX-l.left,c=i.clientY-l.top,s=!0}return{x:a,y:c,box:s}}function pn(e,t){if("native"in e)return e;const{canvas:n,currentDevicePixelRatio:i}=t,o=To(n),r=o.boxSizing==="border-box",s=fn(o,"padding"),a=fn(o,"border","width"),{x:c,y:l,box:A}=jb(e,n),d=s.left+(A&&a.left),u=s.top+(A&&a.top);let{width:h,height:p}=t;return r&&(h-=s.width+a.width,p-=s.height+a.height),{x:Math.round((c-d)/h*n.width/i),y:Math.round((l-u)/p*n.height/i)}}function Ub(e,t,n){let i,o;if(t===void 0||n===void 0){const r=e&&Is(e);if(!r)t=e.clientWidth,n=e.clientHeight;else{const s=r.getBoundingClientRect(),a=To(r),c=fn(a,"border","width"),l=fn(a,"padding");t=s.width-l.width-c.width,n=s.height-l.height-c.height,i=Mo(a.maxWidth,r,"clientWidth"),o=Mo(a.maxHeight,r,"clientHeight")}}return{width:t,height:n,maxWidth:i||Po,maxHeight:o||Po}}const Io=e=>Math.round(e*10)/10;function Vb(e,t,n,i){const o=To(e),r=fn(o,"margin"),s=Mo(o.maxWidth,e,"clientWidth")||Po,a=Mo(o.maxHeight,e,"clientHeight")||Po,c=Ub(e,t,n);let{width:l,height:A}=c;if(o.boxSizing==="content-box"){const u=fn(o,"border","width"),h=fn(o,"padding");l-=h.width+u.width,A-=h.height+u.height}return l=Math.max(0,l-r.width),A=Math.max(0,i?l/i:A-r.height),l=Io(Math.min(l,s,c.maxWidth)),A=Io(Math.min(A,a,c.maxHeight)),l&&!A&&(A=Io(l/2)),(t!==void 0||n!==void 0)&&i&&c.height&&A>c.height&&(A=c.height,l=Io(Math.floor(A*i))),{width:l,height:A}}function cd(e,t,n){const i=t||1,o=Math.floor(e.height*i),r=Math.floor(e.width*i);e.height=Math.floor(e.height),e.width=Math.floor(e.width);const s=e.canvas;return s.style&&(n||!s.style.height&&!s.style.width)&&(s.style.height=`${e.height}px`,s.style.width=`${e.width}px`),e.currentDevicePixelRatio!==i||s.height!==o||s.width!==r?(e.currentDevicePixelRatio=i,s.height=o,s.width=r,e.ctx.setTransform(i,0,0,i,0,0),!0):!1}const Wb=function(){let e=!1;try{const t={get passive(){return e=!0,!1}};Ts()&&(window.addEventListener("test",null,t),window.removeEventListener("test",null,t))}catch{}return e}();function ld(e,t){const n=Fb(e,t),i=n&&n.match(/^(\d+)(\.\d+)?px$/);return i?+i[1]:void 0}const Yb=function(e,t){return{x(n){return e+e+t-n},setWidth(n){t=n},textAlign(n){return n==="center"?n:n==="right"?"left":"right"},xPlus(n,i){return n-i},leftForLtr(n,i){return n-i}}},Kb=function(){return{x(e){return e},setWidth(e){},textAlign(e){return e},xPlus(e,t){return e+t},leftForLtr(e,t){return e}}};function zn(e,t,n){return e?Yb(t,n):Kb()}function Ad(e,t){let n,i;(t==="ltr"||t==="rtl")&&(n=e.canvas.style,i=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",t,"important"),e.prevTextDirection=i)}function dd(e,t){t!==void 0&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",t[0],t[1]))}/*!
|
|
36
89
|
* Chart.js v4.4.6
|
|
37
90
|
* https://www.chartjs.org
|
|
38
91
|
* (c) 2024 Chart.js Contributors
|
|
39
92
|
* Released under the MIT License
|
|
40
|
-
*/class ig{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(t,i,n,s){const r=i.listeners[s],o=i.duration;r.forEach(a=>a({chart:t,initial:i.initial,numSteps:o,currentStep:Math.min(n-i.start,o)}))}_refresh(){this._request||(this._running=!0,this._request=tc.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(t=Date.now()){let i=0;this._charts.forEach((n,s)=>{if(!n.running||!n.items.length)return;const r=n.items;let o=r.length-1,a=!1,c;for(;o>=0;--o)c=r[o],c._active?(c._total>n.duration&&(n.duration=c._total),c.tick(t),a=!0):(r[o]=r[r.length-1],r.pop());a&&(s.draw(),this._notify(s,n,t,"progress")),r.length||(n.running=!1,this._notify(s,n,t,"complete"),n.initial=!1),i+=r.length}),this._lastDate=t,i===0&&(this._running=!1)}_getAnims(t){const i=this._charts;let n=i.get(t);return n||(n={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},i.set(t,n)),n}listen(t,i,n){this._getAnims(t).listeners[i].push(n)}add(t,i){!i||!i.length||this._getAnims(t).items.push(...i)}has(t){return this._getAnims(t).items.length>0}start(t){const i=this._charts.get(t);i&&(i.running=!0,i.start=Date.now(),i.duration=i.items.reduce((n,s)=>Math.max(n,s._duration),0),this._refresh())}running(t){if(!this._running)return!1;const i=this._charts.get(t);return!(!i||!i.running||!i.items.length)}stop(t){const i=this._charts.get(t);if(!i||!i.items.length)return;const n=i.items;let s=n.length-1;for(;s>=0;--s)n[s].cancel();i.items=[],this._notify(t,i,Date.now(),"complete")}remove(t){return this._charts.delete(t)}}var Zt=new ig;const Mc="transparent",ng={boolean(e,t,i){return i>.5?t:e},color(e,t,i){const n=rc(e||Mc),s=n.valid&&rc(t||Mc);return s&&s.valid?s.mix(n,i).hexString():t},number(e,t,i){return e+(t-e)*i}};class sg{constructor(t,i,n,s){const r=i[n];s=Pn([t.to,s,r,t.from]);const o=Pn([t.from,r,s]);this._active=!0,this._fn=t.fn||ng[t.type||typeof o],this._easing=Di[t.easing]||Di.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=i,this._prop=n,this._from=o,this._to=s,this._promises=void 0}active(){return this._active}update(t,i,n){if(this._active){this._notify(!1);const s=this._target[this._prop],r=n-this._start,o=this._duration-r;this._start=n,this._duration=Math.floor(Math.max(o,t.duration)),this._total+=r,this._loop=!!t.loop,this._to=Pn([t.to,i,s,t.from]),this._from=Pn([t.from,s,i])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const i=t-this._start,n=this._duration,s=this._prop,r=this._from,o=this._loop,a=this._to;let c;if(this._active=r!==a&&(o||i<n),!this._active){this._target[s]=a,this._notify(!0);return}if(i<0){this._target[s]=r;return}c=i/n%2,c=o&&c>1?2-c:c,c=this._easing(Math.min(1,Math.max(0,c))),this._target[s]=this._fn(r,a,c)}wait(){const t=this._promises||(this._promises=[]);return new Promise((i,n)=>{t.push({res:i,rej:n})})}_notify(t){const i=t?"res":"rej",n=this._promises||[];for(let s=0;s<n.length;s++)n[s][i]()}}class Cc{constructor(t,i){this._chart=t,this._properties=new Map,this.configure(i)}configure(t){if(!N(t))return;const i=Object.keys(J.animation),n=this._properties;Object.getOwnPropertyNames(t).forEach(s=>{const r=t[s];if(!N(r))return;const o={};for(const a of i)o[a]=r[a];(nt(r.properties)&&r.properties||[s]).forEach(a=>{(a===s||!n.has(a))&&n.set(a,o)})})}_animateOptions(t,i){const n=i.options,s=og(t,n);if(!s)return[];const r=this._createAnimations(s,n);return n.$shared&&rg(t.options.$animations,n).then(()=>{t.options=n},()=>{}),r}_createAnimations(t,i){const n=this._properties,s=[],r=t.$animations||(t.$animations={}),o=Object.keys(i),a=Date.now();let c;for(c=o.length-1;c>=0;--c){const l=o[c];if(l.charAt(0)==="$")continue;if(l==="options"){s.push(...this._animateOptions(t,i));continue}const h=i[l];let u=r[l];const d=n.get(l);if(u)if(d&&u.active()){u.update(d,h,a);continue}else u.cancel();if(!d||!d.duration){t[l]=h;continue}r[l]=u=new sg(d,t,l,h),s.push(u)}return s}update(t,i){if(this._properties.size===0){Object.assign(t,i);return}const n=this._createAnimations(t,i);if(n.length)return Zt.add(this._chart,n),!0}}function rg(e,t){const i=[],n=Object.keys(t);for(let s=0;s<n.length;s++){const r=e[n[s]];r&&r.active()&&i.push(r.wait())}return Promise.all(i)}function og(e,t){if(!t)return;let i=e.options;if(!i){e.options=t;return}return i.$shared&&(e.options=i=Object.assign({},i,{$shared:!1,$animations:{}})),i}function Oc(e,t){const i=e&&e.options||{},n=i.reverse,s=i.min===void 0?t:0,r=i.max===void 0?t:0;return{start:n?r:s,end:n?s:r}}function ag(e,t,i){if(i===!1)return!1;const n=Oc(e,i),s=Oc(t,i);return{top:s.end,right:n.end,bottom:s.start,left:n.start}}function cg(e){let t,i,n,s;return N(e)?(t=e.top,i=e.right,n=e.bottom,s=e.left):t=i=n=s=e,{top:t,right:i,bottom:n,left:s,disabled:e===!1}}function Ec(e,t){const i=[],n=e._getSortedDatasetMetas(t);let s,r;for(s=0,r=n.length;s<r;++s)i.push(n[s].index);return i}function Tc(e,t,i,n={}){const s=e.keys,r=n.mode==="single";let o,a,c,l;if(t===null)return;let h=!1;for(o=0,a=s.length;o<a;++o){if(c=+s[o],c===i){if(h=!0,n.all)continue;break}l=e.values[c],Dt(l)&&(r||t===0||fe(t)===fe(l))&&(t+=l)}return!h&&!n.all?0:t}function lg(e,t){const{iScale:i,vScale:n}=t,s=i.axis==="x"?"x":"y",r=n.axis==="x"?"x":"y",o=Object.keys(e),a=new Array(o.length);let c,l,h;for(c=0,l=o.length;c<l;++c)h=o[c],a[c]={[s]:h,[r]:e[h]};return a}function xr(e,t){const i=e&&e.options.stacked;return i||i===void 0&&t.stack!==void 0}function hg(e,t,i){return`${e.id}.${t.id}.${i.stack||i.type}`}function ug(e){const{min:t,max:i,minDefined:n,maxDefined:s}=e.getUserBounds();return{min:n?t:Number.NEGATIVE_INFINITY,max:s?i:Number.POSITIVE_INFINITY}}function dg(e,t,i){const n=e[t]||(e[t]={});return n[i]||(n[i]={})}function Dc(e,t,i,n){for(const s of t.getMatchingVisibleMetas(n).reverse()){const r=e[s.index];if(i&&r>0||!i&&r<0)return s.index}return null}function Pc(e,t){const{chart:i,_cachedMeta:n}=e,s=i._stacks||(i._stacks={}),{iScale:r,vScale:o,index:a}=n,c=r.axis,l=o.axis,h=hg(r,o,n),u=t.length;let d;for(let f=0;f<u;++f){const p=t[f],{[c]:m,[l]:v}=p,x=p._stacks||(p._stacks={});d=x[l]=dg(s,h,m),d[a]=v,d._top=Dc(d,o,!0,n.type),d._bottom=Dc(d,o,!1,n.type);const y=d._visualValues||(d._visualValues={});y[a]=v}}function yr(e,t){const i=e.scales;return Object.keys(i).filter(n=>i[n].axis===t).shift()}function fg(e,t){return Je(e,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:"default",type:"dataset"})}function pg(e,t,i){return Je(e,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:i,index:t,mode:"default",type:"data"})}function Ii(e,t){const i=e.controller.index,n=e.vScale&&e.vScale.axis;if(n){t=t||e._parsed;for(const s of t){const r=s._stacks;if(!r||r[n]===void 0||r[n][i]===void 0)return;delete r[n][i],r[n]._visualValues!==void 0&&r[n]._visualValues[i]!==void 0&&delete r[n]._visualValues[i]}}}const _r=e=>e==="reset"||e==="none",Rc=(e,t)=>t?e:Object.assign({},e),gg=(e,t,i)=>e&&!t.hidden&&t._stacked&&{keys:Ec(i,!0),values:null};class Pe{constructor(t,i){this.chart=t,this._ctx=t.ctx,this.index=i,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=xr(t.vScale,t),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(t){this.index!==t&&Ii(this._cachedMeta),this.index=t}linkScales(){const t=this.chart,i=this._cachedMeta,n=this.getDataset(),s=(u,d,f,p)=>u==="x"?d:u==="r"?p:f,r=i.xAxisID=U(n.xAxisID,yr(t,"x")),o=i.yAxisID=U(n.yAxisID,yr(t,"y")),a=i.rAxisID=U(n.rAxisID,yr(t,"r")),c=i.indexAxis,l=i.iAxisID=s(c,r,o,a),h=i.vAxisID=s(c,o,r,a);i.xScale=this.getScaleForId(r),i.yScale=this.getScaleForId(o),i.rScale=this.getScaleForId(a),i.iScale=this.getScaleForId(l),i.vScale=this.getScaleForId(h)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){const i=this._cachedMeta;return t===i.iScale?i.vScale:i.iScale}reset(){this._update("reset")}_destroy(){const t=this._cachedMeta;this._data&&Za(this._data,this),t._stacked&&Ii(t)}_dataCheck(){const t=this.getDataset(),i=t.data||(t.data=[]),n=this._data;if(N(i)){const s=this._cachedMeta;this._data=lg(i,s)}else if(n!==i){if(n){Za(n,this);const s=this._cachedMeta;Ii(s),s._parsed=[]}i&&Object.isExtensible(i)&&bp(i,this),this._syncList=[],this._data=i}}addElements(){const t=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(t.dataset=new this.datasetElementType)}buildOrUpdateElements(t){const i=this._cachedMeta,n=this.getDataset();let s=!1;this._dataCheck();const r=i._stacked;i._stacked=xr(i.vScale,i),i.stack!==n.stack&&(s=!0,Ii(i),i.stack=n.stack),this._resyncElements(t),(s||r!==i._stacked)&&(Pc(this,i._parsed),i._stacked=xr(i.vScale,i))}configure(){const t=this.chart.config,i=t.datasetScopeKeys(this._type),n=t.getOptionScopes(this.getDataset(),i,!0);this.options=t.createResolver(n,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(t,i){const{_cachedMeta:n,_data:s}=this,{iScale:r,_stacked:o}=n,a=r.axis;let c=t===0&&i===s.length?!0:n._sorted,l=t>0&&n._parsed[t-1],h,u,d;if(this._parsing===!1)n._parsed=s,n._sorted=!0,d=s;else{nt(s[t])?d=this.parseArrayData(n,s,t,i):N(s[t])?d=this.parseObjectData(n,s,t,i):d=this.parsePrimitiveData(n,s,t,i);const f=()=>u[a]===null||l&&u[a]<l[a];for(h=0;h<i;++h)n._parsed[h+t]=u=d[h],c&&(f()&&(c=!1),l=u);n._sorted=c}o&&Pc(this,d)}parsePrimitiveData(t,i,n,s){const{iScale:r,vScale:o}=t,a=r.axis,c=o.axis,l=r.getLabels(),h=r===o,u=new Array(s);let d,f,p;for(d=0,f=s;d<f;++d)p=d+n,u[d]={[a]:h||r.parse(l[p],p),[c]:o.parse(i[p],p)};return u}parseArrayData(t,i,n,s){const{xScale:r,yScale:o}=t,a=new Array(s);let c,l,h,u;for(c=0,l=s;c<l;++c)h=c+n,u=i[h],a[c]={x:r.parse(u[0],h),y:o.parse(u[1],h)};return a}parseObjectData(t,i,n,s){const{xScale:r,yScale:o}=t,{xAxisKey:a="x",yAxisKey:c="y"}=this._parsing,l=new Array(s);let h,u,d,f;for(h=0,u=s;h<u;++h)d=h+n,f=i[d],l[h]={x:r.parse(ue(f,a),d),y:o.parse(ue(f,c),d)};return l}getParsed(t){return this._cachedMeta._parsed[t]}getDataElement(t){return this._cachedMeta.data[t]}applyStack(t,i,n){const s=this.chart,r=this._cachedMeta,o=i[t.axis],a={keys:Ec(s,!0),values:i._stacks[t.axis]._visualValues};return Tc(a,o,r.index,{mode:n})}updateRangeFromParsed(t,i,n,s){const r=n[i.axis];let o=r===null?NaN:r;const a=s&&n._stacks[i.axis];s&&a&&(s.values=a,o=Tc(s,r,this._cachedMeta.index)),t.min=Math.min(t.min,o),t.max=Math.max(t.max,o)}getMinMax(t,i){const n=this._cachedMeta,s=n._parsed,r=n._sorted&&t===n.iScale,o=s.length,a=this._getOtherScale(t),c=gg(i,n,this.chart),l={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:h,max:u}=ug(a);let d,f;function p(){f=s[d];const m=f[a.axis];return!Dt(f[t.axis])||h>m||u<m}for(d=0;d<o&&!(!p()&&(this.updateRangeFromParsed(l,t,f,c),r));++d);if(r){for(d=o-1;d>=0;--d)if(!p()){this.updateRangeFromParsed(l,t,f,c);break}}return l}getAllParsedValues(t){const i=this._cachedMeta._parsed,n=[];let s,r,o;for(s=0,r=i.length;s<r;++s)o=i[s][t.axis],Dt(o)&&n.push(o);return n}getMaxOverflow(){return!1}getLabelAndValue(t){const i=this._cachedMeta,n=i.iScale,s=i.vScale,r=this.getParsed(t);return{label:n?""+n.getLabelForValue(r[n.axis]):"",value:s?""+s.getLabelForValue(r[s.axis]):""}}_update(t){const i=this._cachedMeta;this.update(t||"default"),i._clip=cg(U(this.options.clip,ag(i.xScale,i.yScale,this.getMaxOverflow())))}update(t){}draw(){const t=this._ctx,i=this.chart,n=this._cachedMeta,s=n.data||[],r=i.chartArea,o=[],a=this._drawStart||0,c=this._drawCount||s.length-a,l=this.options.drawActiveElementsOnTop;let h;for(n.dataset&&n.dataset.draw(t,r,a,c),h=a;h<a+c;++h){const u=s[h];u.hidden||(u.active&&l?o.push(u):u.draw(t,r))}for(h=0;h<o.length;++h)o[h].draw(t,r)}getStyle(t,i){const n=i?"active":"default";return t===void 0&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(n):this.resolveDataElementOptions(t||0,n)}getContext(t,i,n){const s=this.getDataset();let r;if(t>=0&&t<this._cachedMeta.data.length){const o=this._cachedMeta.data[t];r=o.$context||(o.$context=pg(this.getContext(),t,o)),r.parsed=this.getParsed(t),r.raw=s.data[t],r.index=r.dataIndex=t}else r=this.$context||(this.$context=fg(this.chart.getContext(),this.index)),r.dataset=s,r.index=r.datasetIndex=this.index;return r.active=!!i,r.mode=n,r}resolveDatasetElementOptions(t){return this._resolveElementOptions(this.datasetElementType.id,t)}resolveDataElementOptions(t,i){return this._resolveElementOptions(this.dataElementType.id,i,t)}_resolveElementOptions(t,i="default",n){const s=i==="active",r=this._cachedDataOpts,o=t+"-"+i,a=r[o],c=this.enableOptionSharing&&Ti(n);if(a)return Rc(a,c);const l=this.chart.config,h=l.datasetElementScopeKeys(this._type,t),u=s?[`${t}Hover`,"hover",t,""]:[t,""],d=l.getOptionScopes(this.getDataset(),h),f=Object.keys(J.elements[t]),p=()=>this.getContext(n,s,i),m=l.resolveNamedOptions(d,f,p,u);return m.$shared&&(m.$shared=c,r[o]=Object.freeze(Rc(m,c))),m}_resolveAnimations(t,i,n){const s=this.chart,r=this._cachedDataOpts,o=`animation-${i}`,a=r[o];if(a)return a;let c;if(s.options.animation!==!1){const h=this.chart.config,u=h.datasetAnimationScopeKeys(this._type,i),d=h.getOptionScopes(this.getDataset(),u);c=h.createResolver(d,this.getContext(t,n,i))}const l=new Cc(s,c&&c.animations);return c&&c._cacheable&&(r[o]=Object.freeze(l)),l}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,i){return!i||_r(t)||this.chart._animationsDisabled}_getSharedOptions(t,i){const n=this.resolveDataElementOptions(t,i),s=this._sharedOptions,r=this.getSharedOptions(n),o=this.includeOptions(i,r)||r!==s;return this.updateSharedOptions(r,i,n),{sharedOptions:r,includeOptions:o}}updateElement(t,i,n,s){_r(s)?Object.assign(t,n):this._resolveAnimations(i,s).update(t,n)}updateSharedOptions(t,i,n){t&&!_r(i)&&this._resolveAnimations(void 0,i).update(t,n)}_setStyle(t,i,n,s){t.active=s;const r=this.getStyle(i,s);this._resolveAnimations(i,n,s).update(t,{options:!s&&this.getSharedOptions(r)||r})}removeHoverStyle(t,i,n){this._setStyle(t,n,"active",!1)}setHoverStyle(t,i,n){this._setStyle(t,n,"active",!0)}_removeDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}_setDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}_resyncElements(t){const i=this._data,n=this._cachedMeta.data;for(const[a,c,l]of this._syncList)this[a](c,l);this._syncList=[];const s=n.length,r=i.length,o=Math.min(r,s);o&&this.parse(0,o),r>s?this._insertElements(s,r-s,t):r<s&&this._removeElements(r,s-r)}_insertElements(t,i,n=!0){const s=this._cachedMeta,r=s.data,o=t+i;let a;const c=l=>{for(l.length+=i,a=l.length-1;a>=o;a--)l[a]=l[a-i]};for(c(r),a=t;a<o;++a)r[a]=new this.dataElementType;this._parsing&&c(s._parsed),this.parse(t,i),n&&this.updateElements(r,t,i,"reset")}updateElements(t,i,n,s){}_removeElements(t,i){const n=this._cachedMeta;if(this._parsing){const s=n._parsed.splice(t,i);n._stacked&&Ii(n,s)}n.data.splice(t,i)}_sync(t){if(this._parsing)this._syncList.push(t);else{const[i,n,s]=t;this[i](n,s)}this.chart._dataChanges.push([this.index,...t])}_onDataPush(){const t=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-t,t])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(t,i){i&&this._sync(["_removeElements",t,i]);const n=arguments.length-2;n&&this._sync(["_insertElements",t,n])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}L(Pe,"defaults",{}),L(Pe,"datasetElementType",null),L(Pe,"dataElementType",null);function mg(e,t){if(!e._cache.$bar){const i=e.getMatchingVisibleMetas(t);let n=[];for(let s=0,r=i.length;s<r;s++)n=n.concat(i[s].controller.getAllParsedValues(e));e._cache.$bar=$a(n.sort((s,r)=>s-r))}return e._cache.$bar}function bg(e){const t=e.iScale,i=mg(t,e.type);let n=t._length,s,r,o,a;const c=()=>{o===32767||o===-32768||(Ti(a)&&(n=Math.min(n,Math.abs(o-a)||n)),a=o)};for(s=0,r=i.length;s<r;++s)o=t.getPixelForValue(i[s]),c();for(a=void 0,s=0,r=t.ticks.length;s<r;++s)o=t.getPixelForTick(s),c();return n}function vg(e,t,i,n){const s=i.barThickness;let r,o;return Q(s)?(r=t.min*i.categoryPercentage,o=i.barPercentage):(r=s*n,o=1),{chunk:r/n,ratio:o,start:t.pixels[e]-r/2}}function xg(e,t,i,n){const s=t.pixels,r=s[e];let o=e>0?s[e-1]:null,a=e<s.length-1?s[e+1]:null;const c=i.categoryPercentage;o===null&&(o=r-(a===null?t.end-t.start:a-r)),a===null&&(a=r+r-o);const l=r-(r-Math.min(o,a))/2*c;return{chunk:Math.abs(a-o)/2*c/n,ratio:i.barPercentage,start:l}}function yg(e,t,i,n){const s=i.parse(e[0],n),r=i.parse(e[1],n),o=Math.min(s,r),a=Math.max(s,r);let c=o,l=a;Math.abs(o)>Math.abs(a)&&(c=a,l=o),t[i.axis]=l,t._custom={barStart:c,barEnd:l,start:s,end:r,min:o,max:a}}function Ic(e,t,i,n){return nt(e)?yg(e,t,i,n):t[i.axis]=i.parse(e,n),t}function Lc(e,t,i,n){const s=e.iScale,r=e.vScale,o=s.getLabels(),a=s===r,c=[];let l,h,u,d;for(l=i,h=i+n;l<h;++l)d=t[l],u={},u[s.axis]=a||s.parse(o[l],l),c.push(Ic(d,u,r,l));return c}function wr(e){return e&&e.barStart!==void 0&&e.barEnd!==void 0}function _g(e,t,i){return e!==0?fe(e):(t.isHorizontal()?1:-1)*(t.min>=i?1:-1)}function wg(e){let t,i,n,s,r;return e.horizontal?(t=e.base>e.x,i="left",n="right"):(t=e.base<e.y,i="bottom",n="top"),t?(s="end",r="start"):(s="start",r="end"),{start:i,end:n,reverse:t,top:s,bottom:r}}function kg(e,t,i,n){let s=t.borderSkipped;const r={};if(!s){e.borderSkipped=r;return}if(s===!0){e.borderSkipped={top:!0,right:!0,bottom:!0,left:!0};return}const{start:o,end:a,reverse:c,top:l,bottom:h}=wg(e);s==="middle"&&i&&(e.enableBorderRadius=!0,(i._top||0)===n?s=l:(i._bottom||0)===n?s=h:(r[Fc(h,o,a,c)]=!0,s=l)),r[Fc(s,o,a,c)]=!0,e.borderSkipped=r}function Fc(e,t,i,n){return n?(e=Sg(e,t,i),e=Bc(e,i,t)):e=Bc(e,t,i),e}function Sg(e,t,i){return e===t?i:e===i?t:e}function Bc(e,t,i){return e==="start"?t:e==="end"?i:e}function Ag(e,{inflateAmount:t},i){e.inflateAmount=t==="auto"?i===1?.33:0:t}class Fn extends Pe{parsePrimitiveData(t,i,n,s){return Lc(t,i,n,s)}parseArrayData(t,i,n,s){return Lc(t,i,n,s)}parseObjectData(t,i,n,s){const{iScale:r,vScale:o}=t,{xAxisKey:a="x",yAxisKey:c="y"}=this._parsing,l=r.axis==="x"?a:c,h=o.axis==="x"?a:c,u=[];let d,f,p,m;for(d=n,f=n+s;d<f;++d)m=i[d],p={},p[r.axis]=r.parse(ue(m,l),d),u.push(Ic(ue(m,h),p,o,d));return u}updateRangeFromParsed(t,i,n,s){super.updateRangeFromParsed(t,i,n,s);const r=n._custom;r&&i===this._cachedMeta.vScale&&(t.min=Math.min(t.min,r.min),t.max=Math.max(t.max,r.max))}getMaxOverflow(){return 0}getLabelAndValue(t){const i=this._cachedMeta,{iScale:n,vScale:s}=i,r=this.getParsed(t),o=r._custom,a=wr(o)?"["+o.start+", "+o.end+"]":""+s.getLabelForValue(r[s.axis]);return{label:""+n.getLabelForValue(r[n.axis]),value:a}}initialize(){this.enableOptionSharing=!0,super.initialize();const t=this._cachedMeta;t.stack=this.getDataset().stack}update(t){const i=this._cachedMeta;this.updateElements(i.data,0,i.data.length,t)}updateElements(t,i,n,s){const r=s==="reset",{index:o,_cachedMeta:{vScale:a}}=this,c=a.getBasePixel(),l=a.isHorizontal(),h=this._getRuler(),{sharedOptions:u,includeOptions:d}=this._getSharedOptions(i,s);for(let f=i;f<i+n;f++){const p=this.getParsed(f),m=r||Q(p[a.axis])?{base:c,head:c}:this._calculateBarValuePixels(f),v=this._calculateBarIndexPixels(f,h),x=(p._stacks||{})[a.axis],y={horizontal:l,base:m.base,enableBorderRadius:!x||wr(p._custom)||o===x._top||o===x._bottom,x:l?m.head:v.center,y:l?v.center:m.head,height:l?v.size:Math.abs(m.size),width:l?Math.abs(m.size):v.size};d&&(y.options=u||this.resolveDataElementOptions(f,t[f].active?"active":s));const w=y.options||t[f].options;kg(y,w,x,o),Ag(y,w,h.ratio),this.updateElement(t[f],f,y,s)}}_getStacks(t,i){const{iScale:n}=this._cachedMeta,s=n.getMatchingVisibleMetas(this._type).filter(h=>h.controller.options.grouped),r=n.options.stacked,o=[],a=this._cachedMeta.controller.getParsed(i),c=a&&a[n.axis],l=h=>{const u=h._parsed.find(f=>f[n.axis]===c),d=u&&u[h.vScale.axis];if(Q(d)||isNaN(d))return!0};for(const h of s)if(!(i!==void 0&&l(h))&&((r===!1||o.indexOf(h.stack)===-1||r===void 0&&h.stack===void 0)&&o.push(h.stack),h.index===t))break;return o.length||o.push(void 0),o}_getStackCount(t){return this._getStacks(void 0,t).length}_getStackIndex(t,i,n){const s=this._getStacks(t,n),r=i!==void 0?s.indexOf(i):-1;return r===-1?s.length-1:r}_getRuler(){const t=this.options,i=this._cachedMeta,n=i.iScale,s=[];let r,o;for(r=0,o=i.data.length;r<o;++r)s.push(n.getPixelForValue(this.getParsed(r)[n.axis],r));const a=t.barThickness;return{min:a||bg(i),pixels:s,start:n._startPixel,end:n._endPixel,stackCount:this._getStackCount(),scale:n,grouped:t.grouped,ratio:a?1:t.categoryPercentage*t.barPercentage}}_calculateBarValuePixels(t){const{_cachedMeta:{vScale:i,_stacked:n,index:s},options:{base:r,minBarLength:o}}=this,a=r||0,c=this.getParsed(t),l=c._custom,h=wr(l);let u=c[i.axis],d=0,f=n?this.applyStack(i,c,n):u,p,m;f!==u&&(d=f-u,f=u),h&&(u=l.barStart,f=l.barEnd-l.barStart,u!==0&&fe(u)!==fe(l.barEnd)&&(d=0),d+=u);const v=!Q(r)&&!h?r:d;let x=i.getPixelForValue(v);if(this.chart.getDataVisibility(t)?p=i.getPixelForValue(d+f):p=x,m=p-x,Math.abs(m)<o){m=_g(m,i,a)*o,u===a&&(x-=m/2);const y=i.getPixelForDecimal(0),w=i.getPixelForDecimal(1),b=Math.min(y,w),S=Math.max(y,w);x=Math.max(Math.min(x,S),b),p=x+m,n&&!h&&(c._stacks[i.axis]._visualValues[s]=i.getValueForPixel(p)-i.getValueForPixel(x))}if(x===i.getPixelForValue(a)){const y=fe(m)*i.getLineWidthForValue(a)/2;x+=y,m-=y}return{size:m,base:x,head:p,center:p+m/2}}_calculateBarIndexPixels(t,i){const n=i.scale,s=this.options,r=s.skipNull,o=U(s.maxBarThickness,1/0);let a,c;if(i.grouped){const l=r?this._getStackCount(t):i.stackCount,h=s.barThickness==="flex"?xg(t,i,s,l):vg(t,i,s,l),u=this._getStackIndex(this.index,this._cachedMeta.stack,r?t:void 0);a=h.start+h.chunk*u+h.chunk/2,c=Math.min(o,h.chunk*h.ratio)}else a=n.getPixelForValue(this.getParsed(t)[n.axis],t),c=Math.min(o,i.min*i.ratio);return{base:a-c/2,head:a+c/2,center:a,size:c}}draw(){const t=this._cachedMeta,i=t.vScale,n=t.data,s=n.length;let r=0;for(;r<s;++r)this.getParsed(r)[i.axis]!==null&&!n[r].hidden&&n[r].draw(this._ctx)}}L(Fn,"id","bar"),L(Fn,"defaults",{datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}}),L(Fn,"overrides",{scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}});function Mg(e,t,i){let n=1,s=1,r=0,o=0;if(t<kt){const a=e,c=a+t,l=Math.cos(a),h=Math.sin(a),u=Math.cos(c),d=Math.sin(c),f=(w,b,S)=>rr(w,a,c,!0)?1:Math.max(b,b*i,S,S*i),p=(w,b,S)=>rr(w,a,c,!0)?-1:Math.min(b,b*i,S,S*i),m=f(0,l,u),v=f(St,h,d),x=p(st,l,u),y=p(st+St,h,d);n=(m-x)/2,s=(v-y)/2,r=-(m+x)/2,o=-(v+y)/2}return{ratioX:n,ratioY:s,offsetX:r,offsetY:o}}class Li extends Pe{constructor(t,i){super(t,i),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(t,i){const n=this.getDataset().data,s=this._cachedMeta;if(this._parsing===!1)s._parsed=n;else{let r=c=>+n[c];if(N(n[t])){const{key:c="value"}=this._parsing;r=l=>+ue(n[l],c)}let o,a;for(o=t,a=t+i;o<a;++o)s._parsed[o]=r(o)}}_getRotation(){return Ut(this.options.rotation-90)}_getCircumference(){return Ut(this.options.circumference)}_getRotationExtents(){let t=kt,i=-kt;for(let n=0;n<this.chart.data.datasets.length;++n)if(this.chart.isDatasetVisible(n)&&this.chart.getDatasetMeta(n).type===this._type){const s=this.chart.getDatasetMeta(n).controller,r=s._getRotation(),o=s._getCircumference();t=Math.min(t,r),i=Math.max(i,r+o)}return{rotation:t,circumference:i-t}}update(t){const i=this.chart,{chartArea:n}=i,s=this._cachedMeta,r=s.data,o=this.getMaxBorderWidth()+this.getMaxOffset(r)+this.options.spacing,a=Math.max((Math.min(n.width,n.height)-o)/2,0),c=Math.min(ep(this.options.cutout,a),1),l=this._getRingWeight(this.index),{circumference:h,rotation:u}=this._getRotationExtents(),{ratioX:d,ratioY:f,offsetX:p,offsetY:m}=Mg(u,h,c),v=(n.width-o)/d,x=(n.height-o)/f,y=Math.max(Math.min(v,x)/2,0),w=ja(this.options.radius,y),b=Math.max(w*c,0),S=(w-b)/this._getVisibleDatasetWeightTotal();this.offsetX=p*w,this.offsetY=m*w,s.total=this.calculateTotal(),this.outerRadius=w-S*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-S*l,0),this.updateElements(r,0,r.length,t)}_circumference(t,i){const n=this.options,s=this._cachedMeta,r=this._getCircumference();return i&&n.animation.animateRotate||!this.chart.getDataVisibility(t)||s._parsed[t]===null||s.data[t].hidden?0:this.calculateCircumference(s._parsed[t]*r/kt)}updateElements(t,i,n,s){const r=s==="reset",o=this.chart,a=o.chartArea,l=o.options.animation,h=(a.left+a.right)/2,u=(a.top+a.bottom)/2,d=r&&l.animateScale,f=d?0:this.innerRadius,p=d?0:this.outerRadius,{sharedOptions:m,includeOptions:v}=this._getSharedOptions(i,s);let x=this._getRotation(),y;for(y=0;y<i;++y)x+=this._circumference(y,r);for(y=i;y<i+n;++y){const w=this._circumference(y,r),b=t[y],S={x:h+this.offsetX,y:u+this.offsetY,startAngle:x,endAngle:x+w,circumference:w,outerRadius:p,innerRadius:f};v&&(S.options=m||this.resolveDataElementOptions(y,b.active?"active":s)),x+=w,this.updateElement(b,y,S,s)}}calculateTotal(){const t=this._cachedMeta,i=t.data;let n=0,s;for(s=0;s<i.length;s++){const r=t._parsed[s];r!==null&&!isNaN(r)&&this.chart.getDataVisibility(s)&&!i[s].hidden&&(n+=Math.abs(r))}return n}calculateCircumference(t){const i=this._cachedMeta.total;return i>0&&!isNaN(t)?kt*(Math.abs(t)/i):0}getLabelAndValue(t){const i=this._cachedMeta,n=this.chart,s=n.data.labels||[],r=Tn(i._parsed[t],n.options.locale);return{label:s[t]||"",value:r}}getMaxBorderWidth(t){let i=0;const n=this.chart;let s,r,o,a,c;if(!t){for(s=0,r=n.data.datasets.length;s<r;++s)if(n.isDatasetVisible(s)){o=n.getDatasetMeta(s),t=o.data,a=o.controller;break}}if(!t)return 0;for(s=0,r=t.length;s<r;++s)c=a.resolveDataElementOptions(s),c.borderAlign!=="inner"&&(i=Math.max(i,c.borderWidth||0,c.hoverBorderWidth||0));return i}getMaxOffset(t){let i=0;for(let n=0,s=t.length;n<s;++n){const r=this.resolveDataElementOptions(n);i=Math.max(i,r.offset||0,r.hoverOffset||0)}return i}_getRingWeightOffset(t){let i=0;for(let n=0;n<t;++n)this.chart.isDatasetVisible(n)&&(i+=this._getRingWeight(n));return i}_getRingWeight(t){return Math.max(U(this.chart.data.datasets[t].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}L(Li,"id","doughnut"),L(Li,"defaults",{datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"}),L(Li,"descriptors",{_scriptable:t=>t!=="spacing",_indexable:t=>t!=="spacing"&&!t.startsWith("borderDash")&&!t.startsWith("hoverBorderDash")}),L(Li,"overrides",{aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const i=t.data;if(i.labels.length&&i.datasets.length){const{labels:{pointStyle:n,color:s}}=t.legend.options;return i.labels.map((r,o)=>{const c=t.getDatasetMeta(0).controller.getStyle(o);return{text:r,fillStyle:c.backgroundColor,strokeStyle:c.borderColor,fontColor:s,lineWidth:c.borderWidth,pointStyle:n,hidden:!t.getDataVisibility(o),index:o}})}return[]}},onClick(t,i,n){n.chart.toggleDataVisibility(i.index),n.chart.update()}}}});class Bn extends Pe{constructor(t,i){super(t,i),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(t){const i=this._cachedMeta,n=this.chart,s=n.data.labels||[],r=Tn(i._parsed[t].r,n.options.locale);return{label:s[t]||"",value:r}}parseObjectData(t,i,n,s){return Kp.bind(this)(t,i,n,s)}update(t){const i=this._cachedMeta.data;this._updateRadius(),this.updateElements(i,0,i.length,t)}getMinMax(){const t=this._cachedMeta,i={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return t.data.forEach((n,s)=>{const r=this.getParsed(s).r;!isNaN(r)&&this.chart.getDataVisibility(s)&&(r<i.min&&(i.min=r),r>i.max&&(i.max=r))}),i}_updateRadius(){const t=this.chart,i=t.chartArea,n=t.options,s=Math.min(i.right-i.left,i.bottom-i.top),r=Math.max(s/2,0),o=Math.max(n.cutoutPercentage?r/100*n.cutoutPercentage:1,0),a=(r-o)/t.getVisibleDatasetCount();this.outerRadius=r-a*this.index,this.innerRadius=this.outerRadius-a}updateElements(t,i,n,s){const r=s==="reset",o=this.chart,c=o.options.animation,l=this._cachedMeta.rScale,h=l.xCenter,u=l.yCenter,d=l.getIndexAngle(0)-.5*st;let f=d,p;const m=360/this.countVisibleElements();for(p=0;p<i;++p)f+=this._computeAngle(p,s,m);for(p=i;p<i+n;p++){const v=t[p];let x=f,y=f+this._computeAngle(p,s,m),w=o.getDataVisibility(p)?l.getDistanceFromCenterForValue(this.getParsed(p).r):0;f=y,r&&(c.animateScale&&(w=0),c.animateRotate&&(x=y=d));const b={x:h,y:u,innerRadius:0,outerRadius:w,startAngle:x,endAngle:y,options:this.resolveDataElementOptions(p,v.active?"active":s)};this.updateElement(v,p,b,s)}}countVisibleElements(){const t=this._cachedMeta;let i=0;return t.data.forEach((n,s)=>{!isNaN(this.getParsed(s).r)&&this.chart.getDataVisibility(s)&&i++}),i}_computeAngle(t,i,n){return this.chart.getDataVisibility(t)?Ut(this.resolveDataElementOptions(t,i).angle||n):0}}L(Bn,"id","polarArea"),L(Bn,"defaults",{dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0}),L(Bn,"overrides",{aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const i=t.data;if(i.labels.length&&i.datasets.length){const{labels:{pointStyle:n,color:s}}=t.legend.options;return i.labels.map((r,o)=>{const c=t.getDatasetMeta(0).controller.getStyle(o);return{text:r,fillStyle:c.backgroundColor,strokeStyle:c.borderColor,fontColor:s,lineWidth:c.borderWidth,pointStyle:n,hidden:!t.getDataVisibility(o),index:o}})}return[]}},onClick(t,i,n){n.chart.toggleDataVisibility(i.index),n.chart.update()}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}});function Re(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class kr{constructor(t){L(this,"options");this.options=t||{}}static override(t){Object.assign(kr.prototype,t)}init(){}formats(){return Re()}parse(){return Re()}format(){return Re()}add(){return Re()}diff(){return Re()}startOf(){return Re()}endOf(){return Re()}}var Cg={_date:kr};function Og(e,t,i,n){const{controller:s,data:r,_sorted:o}=e,a=s._cachedMeta.iScale;if(a&&t===a.axis&&t!=="r"&&o&&r.length){const c=a._reversePixels?gp:ar;if(n){if(s._sharedOptions){const l=r[0],h=typeof l.getRange=="function"&&l.getRange(t);if(h){const u=c(r,t,i-h),d=c(r,t,i+h);return{lo:u.lo,hi:d.hi}}}}else return c(r,t,i)}return{lo:0,hi:r.length-1}}function Fi(e,t,i,n,s){const r=e.getSortedVisibleDatasetMetas(),o=i[t];for(let a=0,c=r.length;a<c;++a){const{index:l,data:h}=r[a],{lo:u,hi:d}=Og(r[a],t,o,s);for(let f=u;f<=d;++f){const p=h[f];p.skip||n(p,l,f)}}}function Eg(e){const t=e.indexOf("x")!==-1,i=e.indexOf("y")!==-1;return function(n,s){const r=t?Math.abs(n.x-s.x):0,o=i?Math.abs(n.y-s.y):0;return Math.sqrt(Math.pow(r,2)+Math.pow(o,2))}}function Sr(e,t,i,n,s){const r=[];return!s&&!e.isPointInArea(t)||Fi(e,i,t,function(a,c,l){!s&&!fc(a,e.chartArea,0)||a.inRange(t.x,t.y,n)&&r.push({element:a,datasetIndex:c,index:l})},!0),r}function Tg(e,t,i,n){let s=[];function r(o,a,c){const{startAngle:l,endAngle:h}=o.getProps(["startAngle","endAngle"],n),{angle:u}=dp(o,{x:t.x,y:t.y});rr(u,l,h)&&s.push({element:o,datasetIndex:a,index:c})}return Fi(e,i,t,r),s}function Dg(e,t,i,n,s,r){let o=[];const a=Eg(i);let c=Number.POSITIVE_INFINITY;function l(h,u,d){const f=h.inRange(t.x,t.y,s);if(n&&!f)return;const p=h.getCenterPoint(s);if(!(!!r||e.isPointInArea(p))&&!f)return;const v=a(t,p);v<c?(o=[{element:h,datasetIndex:u,index:d}],c=v):v===c&&o.push({element:h,datasetIndex:u,index:d})}return Fi(e,i,t,l),o}function Ar(e,t,i,n,s,r){return!r&&!e.isPointInArea(t)?[]:i==="r"&&!n?Tg(e,t,i,s):Dg(e,t,i,n,s,r)}function zc(e,t,i,n,s){const r=[],o=i==="x"?"inXRange":"inYRange";let a=!1;return Fi(e,i,t,(c,l,h)=>{c[o]&&c[o](t[i],s)&&(r.push({element:c,datasetIndex:l,index:h}),a=a||c.inRange(t.x,t.y,s))}),n&&!a?[]:r}var Pg={evaluateInteractionItems:Fi,modes:{index(e,t,i,n){const s=De(t,e),r=i.axis||"x",o=i.includeInvisible||!1,a=i.intersect?Sr(e,s,r,n,o):Ar(e,s,r,!1,n,o),c=[];return a.length?(e.getSortedVisibleDatasetMetas().forEach(l=>{const h=a[0].index,u=l.data[h];u&&!u.skip&&c.push({element:u,datasetIndex:l.index,index:h})}),c):[]},dataset(e,t,i,n){const s=De(t,e),r=i.axis||"xy",o=i.includeInvisible||!1;let a=i.intersect?Sr(e,s,r,n,o):Ar(e,s,r,!1,n,o);if(a.length>0){const c=a[0].datasetIndex,l=e.getDatasetMeta(c).data;a=[];for(let h=0;h<l.length;++h)a.push({element:l[h],datasetIndex:c,index:h})}return a},point(e,t,i,n){const s=De(t,e),r=i.axis||"xy",o=i.includeInvisible||!1;return Sr(e,s,r,n,o)},nearest(e,t,i,n){const s=De(t,e),r=i.axis||"xy",o=i.includeInvisible||!1;return Ar(e,s,r,i.intersect,n,o)},x(e,t,i,n){const s=De(t,e);return zc(e,s,"x",i.intersect,n)},y(e,t,i,n){const s=De(t,e);return zc(e,s,"y",i.intersect,n)}}};const Vc=["left","top","right","bottom"];function Bi(e,t){return e.filter(i=>i.pos===t)}function Hc(e,t){return e.filter(i=>Vc.indexOf(i.pos)===-1&&i.box.axis===t)}function zi(e,t){return e.sort((i,n)=>{const s=t?n:i,r=t?i:n;return s.weight===r.weight?s.index-r.index:s.weight-r.weight})}function Rg(e){const t=[];let i,n,s,r,o,a;for(i=0,n=(e||[]).length;i<n;++i)s=e[i],{position:r,options:{stack:o,stackWeight:a=1}}=s,t.push({index:i,box:s,pos:r,horizontal:s.isHorizontal(),weight:s.weight,stack:o&&r+o,stackWeight:a});return t}function Ig(e){const t={};for(const i of e){const{stack:n,pos:s,stackWeight:r}=i;if(!n||!Vc.includes(s))continue;const o=t[n]||(t[n]={count:0,placed:0,weight:0,size:0});o.count++,o.weight+=r}return t}function Lg(e,t){const i=Ig(e),{vBoxMaxWidth:n,hBoxMaxHeight:s}=t;let r,o,a;for(r=0,o=e.length;r<o;++r){a=e[r];const{fullSize:c}=a.box,l=i[a.stack],h=l&&a.stackWeight/l.weight;a.horizontal?(a.width=h?h*n:c&&t.availableWidth,a.height=s):(a.width=n,a.height=h?h*s:c&&t.availableHeight)}return i}function Fg(e){const t=Rg(e),i=zi(t.filter(l=>l.box.fullSize),!0),n=zi(Bi(t,"left"),!0),s=zi(Bi(t,"right")),r=zi(Bi(t,"top"),!0),o=zi(Bi(t,"bottom")),a=Hc(t,"x"),c=Hc(t,"y");return{fullSize:i,leftAndTop:n.concat(r),rightAndBottom:s.concat(c).concat(o).concat(a),chartArea:Bi(t,"chartArea"),vertical:n.concat(s).concat(c),horizontal:r.concat(o).concat(a)}}function Nc(e,t,i,n){return Math.max(e[i],t[i])+Math.max(e[n],t[n])}function Wc(e,t){e.top=Math.max(e.top,t.top),e.left=Math.max(e.left,t.left),e.bottom=Math.max(e.bottom,t.bottom),e.right=Math.max(e.right,t.right)}function Bg(e,t,i,n){const{pos:s,box:r}=i,o=e.maxPadding;if(!N(s)){i.size&&(e[s]-=i.size);const u=n[i.stack]||{size:0,count:1};u.size=Math.max(u.size,i.horizontal?r.height:r.width),i.size=u.size/u.count,e[s]+=i.size}r.getPadding&&Wc(o,r.getPadding());const a=Math.max(0,t.outerWidth-Nc(o,e,"left","right")),c=Math.max(0,t.outerHeight-Nc(o,e,"top","bottom")),l=a!==e.w,h=c!==e.h;return e.w=a,e.h=c,i.horizontal?{same:l,other:h}:{same:h,other:l}}function zg(e){const t=e.maxPadding;function i(n){const s=Math.max(t[n]-e[n],0);return e[n]+=s,s}e.y+=i("top"),e.x+=i("left"),i("right"),i("bottom")}function Vg(e,t){const i=t.maxPadding;function n(s){const r={left:0,top:0,right:0,bottom:0};return s.forEach(o=>{r[o]=Math.max(t[o],i[o])}),r}return n(e?["left","right"]:["top","bottom"])}function Vi(e,t,i,n){const s=[];let r,o,a,c,l,h;for(r=0,o=e.length,l=0;r<o;++r){a=e[r],c=a.box,c.update(a.width||t.w,a.height||t.h,Vg(a.horizontal,t));const{same:u,other:d}=Bg(t,i,a,n);l|=u&&s.length,h=h||d,c.fullSize||s.push(a)}return l&&Vi(s,t,i,n)||h}function zn(e,t,i,n,s){e.top=i,e.left=t,e.right=t+n,e.bottom=i+s,e.width=n,e.height=s}function Uc(e,t,i,n){const s=i.padding;let{x:r,y:o}=t;for(const a of e){const c=a.box,l=n[a.stack]||{count:1,placed:0,weight:1},h=a.stackWeight/l.weight||1;if(a.horizontal){const u=t.w*h,d=l.size||c.height;Ti(l.start)&&(o=l.start),c.fullSize?zn(c,s.left,o,i.outerWidth-s.right-s.left,d):zn(c,t.left+l.placed,o,u,d),l.start=o,l.placed+=u,o=c.bottom}else{const u=t.h*h,d=l.size||c.width;Ti(l.start)&&(r=l.start),c.fullSize?zn(c,r,s.top,d,i.outerHeight-s.bottom-s.top):zn(c,r,t.top+l.placed,d,u),l.start=r,l.placed+=u,r=c.right}}t.x=r,t.y=o}var Rt={addBox(e,t){e.boxes||(e.boxes=[]),t.fullSize=t.fullSize||!1,t.position=t.position||"top",t.weight=t.weight||0,t._layers=t._layers||function(){return[{z:0,draw(i){t.draw(i)}}]},e.boxes.push(t)},removeBox(e,t){const i=e.boxes?e.boxes.indexOf(t):-1;i!==-1&&e.boxes.splice(i,1)},configure(e,t,i){t.fullSize=i.fullSize,t.position=i.position,t.weight=i.weight},update(e,t,i,n){if(!e)return;const s=Pt(e.options.layout.padding),r=Math.max(t-s.width,0),o=Math.max(i-s.height,0),a=Fg(e.boxes),c=a.vertical,l=a.horizontal;j(e.boxes,m=>{typeof m.beforeLayout=="function"&&m.beforeLayout()});const h=c.reduce((m,v)=>v.box.options&&v.box.options.display===!1?m:m+1,0)||1,u=Object.freeze({outerWidth:t,outerHeight:i,padding:s,availableWidth:r,availableHeight:o,vBoxMaxWidth:r/2/h,hBoxMaxHeight:o/2}),d=Object.assign({},s);Wc(d,Pt(n));const f=Object.assign({maxPadding:d,w:r,h:o,x:s.left,y:s.top},s),p=Lg(c.concat(l),u);Vi(a.fullSize,f,u,p),Vi(c,f,u,p),Vi(l,f,u,p)&&Vi(c,f,u,p),zg(f),Uc(a.leftAndTop,f,u,p),f.x+=f.w,f.y+=f.h,Uc(a.rightAndBottom,f,u,p),e.chartArea={left:f.left,top:f.top,right:f.left+f.w,bottom:f.top+f.h,height:f.h,width:f.w},j(a.chartArea,m=>{const v=m.box;Object.assign(v,e.chartArea),v.update(f.w,f.h,{left:0,top:0,right:0,bottom:0})})}};class jc{acquireContext(t,i){}releaseContext(t){return!1}addEventListener(t,i,n){}removeEventListener(t,i,n){}getDevicePixelRatio(){return 1}getMaximumSize(t,i,n,s){return i=Math.max(0,i||t.width),n=n||t.height,{width:i,height:Math.max(0,s?Math.floor(i/s):n)}}isAttached(t){return!0}updateConfig(t){}}class Hg extends jc{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const Vn="$chartjs",Ng={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},Yc=e=>e===null||e==="";function Wg(e,t){const i=e.style,n=e.getAttribute("height"),s=e.getAttribute("width");if(e[Vn]={initial:{height:n,width:s,style:{display:i.display,height:i.height,width:i.width}}},i.display=i.display||"block",i.boxSizing=i.boxSizing||"border-box",Yc(s)){const r=kc(e,"width");r!==void 0&&(e.width=r)}if(Yc(n))if(e.style.height==="")e.height=e.width/(t||2);else{const r=kc(e,"height");r!==void 0&&(e.height=r)}return e}const Kc=$p?{passive:!0}:!1;function Ug(e,t,i){e&&e.addEventListener(t,i,Kc)}function jg(e,t,i){e&&e.canvas&&e.canvas.removeEventListener(t,i,Kc)}function Yg(e,t){const i=Ng[e.type]||e.type,{x:n,y:s}=De(e,t);return{type:i,chart:t,native:e,x:n!==void 0?n:null,y:s!==void 0?s:null}}function Hn(e,t){for(const i of e)if(i===t||i.contains(t))return!0}function Kg(e,t,i){const n=e.canvas,s=new MutationObserver(r=>{let o=!1;for(const a of r)o=o||Hn(a.addedNodes,n),o=o&&!Hn(a.removedNodes,n);o&&i()});return s.observe(document,{childList:!0,subtree:!0}),s}function qg(e,t,i){const n=e.canvas,s=new MutationObserver(r=>{let o=!1;for(const a of r)o=o||Hn(a.removedNodes,n),o=o&&!Hn(a.addedNodes,n);o&&i()});return s.observe(document,{childList:!0,subtree:!0}),s}const Hi=new Map;let qc=0;function Qc(){const e=window.devicePixelRatio;e!==qc&&(qc=e,Hi.forEach((t,i)=>{i.currentDevicePixelRatio!==e&&t()}))}function Qg(e,t){Hi.size||window.addEventListener("resize",Qc),Hi.set(e,t)}function Xg(e){Hi.delete(e),Hi.size||window.removeEventListener("resize",Qc)}function Jg(e,t,i){const n=e.canvas,s=n&&vr(n);if(!s)return;const r=ec((a,c)=>{const l=s.clientWidth;i(a,c),l<s.clientWidth&&i()},window),o=new ResizeObserver(a=>{const c=a[0],l=c.contentRect.width,h=c.contentRect.height;l===0&&h===0||r(l,h)});return o.observe(s),Qg(e,r),o}function Mr(e,t,i){i&&i.disconnect(),t==="resize"&&Xg(e)}function Gg(e,t,i){const n=e.canvas,s=ec(r=>{e.ctx!==null&&i(Yg(r,e))},e);return Ug(n,t,s),s}class Zg extends jc{acquireContext(t,i){const n=t&&t.getContext&&t.getContext("2d");return n&&n.canvas===t?(Wg(t,i),n):null}releaseContext(t){const i=t.canvas;if(!i[Vn])return!1;const n=i[Vn].initial;["height","width"].forEach(r=>{const o=n[r];Q(o)?i.removeAttribute(r):i.setAttribute(r,o)});const s=n.style||{};return Object.keys(s).forEach(r=>{i.style[r]=s[r]}),i.width=i.width,delete i[Vn],!0}addEventListener(t,i,n){this.removeEventListener(t,i);const s=t.$proxies||(t.$proxies={}),o={attach:Kg,detach:qg,resize:Jg}[i]||Gg;s[i]=o(t,i,n)}removeEventListener(t,i){const n=t.$proxies||(t.$proxies={}),s=n[i];if(!s)return;({attach:Mr,detach:Mr,resize:Mr}[i]||jg)(t,i,s),n[i]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,i,n,s){return Zp(t,i,n,s)}isAttached(t){const i=t&&vr(t);return!!(i&&i.isConnected)}}function $g(e){return!br()||typeof OffscreenCanvas<"u"&&e instanceof OffscreenCanvas?Hg:Zg}let $e=(ts=class{constructor(){L(this,"x");L(this,"y");L(this,"active",!1);L(this,"options");L(this,"$animations")}tooltipPosition(t){const{x:i,y:n}=this.getProps(["x","y"],t);return{x:i,y:n}}hasValue(){return On(this.x)&&On(this.y)}getProps(t,i){const n=this.$animations;if(!i||!n)return this;const s={};return t.forEach(r=>{s[r]=n[r]&&n[r].active()?n[r]._to:this[r]}),s}},L(ts,"defaults",{}),L(ts,"defaultRoutes"),ts);function tm(e,t){const i=e.options.ticks,n=em(e),s=Math.min(i.maxTicksLimit||n,n),r=i.major.enabled?nm(t):[],o=r.length,a=r[0],c=r[o-1],l=[];if(o>s)return sm(t,l,r,o/s),l;const h=im(r,t,s);if(o>0){let u,d;const f=o>1?Math.round((c-a)/(o-1)):null;for(Nn(t,l,h,Q(f)?0:a-f,a),u=0,d=o-1;u<d;u++)Nn(t,l,h,r[u],r[u+1]);return Nn(t,l,h,c,Q(f)?t.length:c+f),l}return Nn(t,l,h),l}function em(e){const t=e.options.offset,i=e._tickSize(),n=e._length/i+(t?0:1),s=e._maxLength/i;return Math.floor(Math.min(n,s))}function im(e,t,i){const n=rm(e),s=t.length/i;if(!n)return Math.max(s,1);const r=cp(n);for(let o=0,a=r.length-1;o<a;o++){const c=r[o];if(c>s)return c}return Math.max(s,1)}function nm(e){const t=[];let i,n;for(i=0,n=e.length;i<n;i++)e[i].major&&t.push(i);return t}function sm(e,t,i,n){let s=0,r=i[0],o;for(n=Math.ceil(n),o=0;o<e.length;o++)o===r&&(t.push(e[o]),s++,r=i[s*n])}function Nn(e,t,i,n,s){const r=U(n,0),o=Math.min(U(s,e.length),e.length);let a=0,c,l,h;for(i=Math.ceil(i),s&&(c=s-n,i=c/Math.floor(c/i)),h=r;h<0;)a++,h=Math.round(r+a*i);for(l=Math.max(r,0);l<o;l++)l===h&&(t.push(e[l]),a++,h=Math.round(r+a*i))}function rm(e){const t=e.length;let i,n;if(t<2)return!1;for(n=e[0],i=1;i<t;++i)if(e[i]-e[i-1]!==n)return!1;return n}const om=e=>e==="left"?"right":e==="right"?"left":e,Xc=(e,t,i)=>t==="top"||t==="left"?e[t]+i:e[t]-i,Jc=(e,t)=>Math.min(t||e,e);function Gc(e,t){const i=[],n=e.length/t,s=e.length;let r=0;for(;r<s;r+=n)i.push(e[Math.floor(r)]);return i}function am(e,t,i){const n=e.ticks.length,s=Math.min(t,n-1),r=e._startPixel,o=e._endPixel,a=1e-6;let c=e.getPixelForTick(s),l;if(!(i&&(n===1?l=Math.max(c-r,o-c):t===0?l=(e.getPixelForTick(1)-c)/2:l=(c-e.getPixelForTick(s-1))/2,c+=s<t?l:-l,c<r-a||c>o+a)))return c}function cm(e,t){j(e,i=>{const n=i.gc,s=n.length/2;let r;if(s>t){for(r=0;r<s;++r)delete i.data[n[r]];n.splice(0,s)}})}function Ni(e){return e.drawTicks?e.tickLength:0}function Zc(e,t){if(!e.display)return 0;const i=dt(e.font,t),n=Pt(e.padding);return(nt(e.text)?e.text.length:1)*i.lineHeight+n.height}function lm(e,t){return Je(e,{scale:t,type:"scale"})}function hm(e,t,i){return Je(e,{tick:i,index:t,type:"tick"})}function um(e,t,i){let n=cr(e);return(i&&t!=="right"||!i&&t==="right")&&(n=om(n)),n}function dm(e,t,i,n){const{top:s,left:r,bottom:o,right:a,chart:c}=e,{chartArea:l,scales:h}=c;let u=0,d,f,p;const m=o-s,v=a-r;if(e.isHorizontal()){if(f=ut(n,r,a),N(i)){const x=Object.keys(i)[0],y=i[x];p=h[x].getPixelForValue(y)+m-t}else i==="center"?p=(l.bottom+l.top)/2+m-t:p=Xc(e,i,t);d=a-r}else{if(N(i)){const x=Object.keys(i)[0],y=i[x];f=h[x].getPixelForValue(y)-v+t}else i==="center"?f=(l.left+l.right)/2-v+t:f=Xc(e,i,t);p=ut(n,o,s),u=i==="left"?-St:St}return{titleX:f,titleY:p,maxWidth:d,rotation:u}}class ti extends $e{constructor(t){super(),this.id=t.id,this.type=t.type,this.options=void 0,this.ctx=t.ctx,this.chart=t.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(t){this.options=t.setContext(this.getContext()),this.axis=t.axis,this._userMin=this.parse(t.min),this._userMax=this.parse(t.max),this._suggestedMin=this.parse(t.suggestedMin),this._suggestedMax=this.parse(t.suggestedMax)}parse(t,i){return t}getUserBounds(){let{_userMin:t,_userMax:i,_suggestedMin:n,_suggestedMax:s}=this;return t=Wt(t,Number.POSITIVE_INFINITY),i=Wt(i,Number.NEGATIVE_INFINITY),n=Wt(n,Number.POSITIVE_INFINITY),s=Wt(s,Number.NEGATIVE_INFINITY),{min:Wt(t,n),max:Wt(i,s),minDefined:Dt(t),maxDefined:Dt(i)}}getMinMax(t){let{min:i,max:n,minDefined:s,maxDefined:r}=this.getUserBounds(),o;if(s&&r)return{min:i,max:n};const a=this.getMatchingVisibleMetas();for(let c=0,l=a.length;c<l;++c)o=a[c].controller.getMinMax(this,t),s||(i=Math.min(i,o.min)),r||(n=Math.max(n,o.max));return i=r&&i>n?n:i,n=s&&i>n?i:n,{min:Wt(i,Wt(n,i)),max:Wt(n,Wt(i,n))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]}getLabelItems(t=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(t))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){X(this.options.beforeUpdate,[this])}update(t,i,n){const{beginAtZero:s,grace:r,ticks:o}=this.options,a=o.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=i,this._margins=n=Object.assign({left:0,right:0,top:0,bottom:0},n),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+n.left+n.right:this.height+n.top+n.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=Fp(this,r,s),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const c=a<this.ticks.length;this._convertTicksToLabels(c?Gc(this.ticks,a):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),o.display&&(o.autoSkip||o.source==="auto")&&(this.ticks=tm(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),c&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let t=this.options.reverse,i,n;this.isHorizontal()?(i=this.left,n=this.right):(i=this.top,n=this.bottom,t=!t),this._startPixel=i,this._endPixel=n,this._reversePixels=t,this._length=n-i,this._alignToPixels=this.options.alignToPixels}afterUpdate(){X(this.options.afterUpdate,[this])}beforeSetDimensions(){X(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){X(this.options.afterSetDimensions,[this])}_callHooks(t){this.chart.notifyPlugins(t,this.getContext()),X(this.options[t],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){X(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(t){const i=this.options.ticks;let n,s,r;for(n=0,s=t.length;n<s;n++)r=t[n],r.label=X(i.callback,[r.value,n,t],this)}afterTickToLabelConversion(){X(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){X(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const t=this.options,i=t.ticks,n=Jc(this.ticks.length,t.ticks.maxTicksLimit),s=i.minRotation||0,r=i.maxRotation;let o=s,a,c,l;if(!this._isVisible()||!i.display||s>=r||n<=1||!this.isHorizontal()){this.labelRotation=s;return}const h=this._getLabelSizes(),u=h.widest.width,d=h.highest.height,f=Bt(this.chart.width-u,0,this.maxWidth);a=t.offset?this.maxWidth/n:f/(n-1),u+6>a&&(a=f/(n-(t.offset?.5:1)),c=this.maxHeight-Ni(t.grid)-i.padding-Zc(t.title,this.chart.options.font),l=Math.sqrt(u*u+d*d),o=up(Math.min(Math.asin(Bt((h.highest.height+6)/a,-1,1)),Math.asin(Bt(c/l,-1,1))-Math.asin(Bt(d/l,-1,1)))),o=Math.max(s,Math.min(r,o))),this.labelRotation=o}afterCalculateLabelRotation(){X(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){X(this.options.beforeFit,[this])}fit(){const t={width:0,height:0},{chart:i,options:{ticks:n,title:s,grid:r}}=this,o=this._isVisible(),a=this.isHorizontal();if(o){const c=Zc(s,i.options.font);if(a?(t.width=this.maxWidth,t.height=Ni(r)+c):(t.height=this.maxHeight,t.width=Ni(r)+c),n.display&&this.ticks.length){const{first:l,last:h,widest:u,highest:d}=this._getLabelSizes(),f=n.padding*2,p=Ut(this.labelRotation),m=Math.cos(p),v=Math.sin(p);if(a){const x=n.mirror?0:v*u.width+m*d.height;t.height=Math.min(this.maxHeight,t.height+x+f)}else{const x=n.mirror?0:m*u.width+v*d.height;t.width=Math.min(this.maxWidth,t.width+x+f)}this._calculatePadding(l,h,v,m)}}this._handleMargins(),a?(this.width=this._length=i.width-this._margins.left-this._margins.right,this.height=t.height):(this.width=t.width,this.height=this._length=i.height-this._margins.top-this._margins.bottom)}_calculatePadding(t,i,n,s){const{ticks:{align:r,padding:o},position:a}=this.options,c=this.labelRotation!==0,l=a!=="top"&&this.axis==="x";if(this.isHorizontal()){const h=this.getPixelForTick(0)-this.left,u=this.right-this.getPixelForTick(this.ticks.length-1);let d=0,f=0;c?l?(d=s*t.width,f=n*i.height):(d=n*t.height,f=s*i.width):r==="start"?f=i.width:r==="end"?d=t.width:r!=="inner"&&(d=t.width/2,f=i.width/2),this.paddingLeft=Math.max((d-h+o)*this.width/(this.width-h),0),this.paddingRight=Math.max((f-u+o)*this.width/(this.width-u),0)}else{let h=i.height/2,u=t.height/2;r==="start"?(h=0,u=t.height):r==="end"&&(h=i.height,u=0),this.paddingTop=h+o,this.paddingBottom=u+o}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){X(this.options.afterFit,[this])}isHorizontal(){const{axis:t,position:i}=this.options;return i==="top"||i==="bottom"||t==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(t){this.beforeTickToLabelConversion(),this.generateTickLabels(t);let i,n;for(i=0,n=t.length;i<n;i++)Q(t[i].label)&&(t.splice(i,1),n--,i--);this.afterTickToLabelConversion()}_getLabelSizes(){let t=this._labelSizes;if(!t){const i=this.options.ticks.sampleSize;let n=this.ticks;i<n.length&&(n=Gc(n,i)),this._labelSizes=t=this._computeLabelSizes(n,n.length,this.options.ticks.maxTicksLimit)}return t}_computeLabelSizes(t,i,n){const{ctx:s,_longestTextCache:r}=this,o=[],a=[],c=Math.floor(i/Jc(i,n));let l=0,h=0,u,d,f,p,m,v,x,y,w,b,S;for(u=0;u<i;u+=c){if(p=t[u].label,m=this._resolveTickFontOptions(u),s.font=v=m.string,x=r[v]=r[v]||{data:{},gc:[]},y=m.lineHeight,w=b=0,!Q(p)&&!nt(p))w=lc(s,x.data,x.gc,w,p),b=y;else if(nt(p))for(d=0,f=p.length;d<f;++d)S=p[d],!Q(S)&&!nt(S)&&(w=lc(s,x.data,x.gc,w,S),b+=y);o.push(w),a.push(b),l=Math.max(w,l),h=Math.max(b,h)}cm(r,i);const _=o.indexOf(l),A=a.indexOf(h),C=M=>({width:o[M]||0,height:a[M]||0});return{first:C(0),last:C(i-1),widest:C(_),highest:C(A),widths:o,heights:a}}getLabelForValue(t){return t}getPixelForValue(t,i){return NaN}getValueForPixel(t){}getPixelForTick(t){const i=this.ticks;return t<0||t>i.length-1?null:this.getPixelForValue(i[t].value)}getPixelForDecimal(t){this._reversePixels&&(t=1-t);const i=this._startPixel+t*this._length;return pp(this._alignToPixels?Ee(this.chart,i,0):i)}getDecimalForPixel(t){const i=(t-this._startPixel)/this._length;return this._reversePixels?1-i:i}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:t,max:i}=this;return t<0&&i<0?i:t>0&&i>0?t:0}getContext(t){const i=this.ticks||[];if(t>=0&&t<i.length){const n=i[t];return n.$context||(n.$context=hm(this.getContext(),t,n))}return this.$context||(this.$context=lm(this.chart.getContext(),this))}_tickSize(){const t=this.options.ticks,i=Ut(this.labelRotation),n=Math.abs(Math.cos(i)),s=Math.abs(Math.sin(i)),r=this._getLabelSizes(),o=t.autoSkipPadding||0,a=r?r.widest.width+o:0,c=r?r.highest.height+o:0;return this.isHorizontal()?c*n>a*s?a/n:c/s:c*s<a*n?c/n:a/s}_isVisible(){const t=this.options.display;return t!=="auto"?!!t:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(t){const i=this.axis,n=this.chart,s=this.options,{grid:r,position:o,border:a}=s,c=r.offset,l=this.isHorizontal(),u=this.ticks.length+(c?1:0),d=Ni(r),f=[],p=a.setContext(this.getContext()),m=p.display?p.width:0,v=m/2,x=function(B){return Ee(n,B,m)};let y,w,b,S,_,A,C,M,O,E,T,F;if(o==="top")y=x(this.bottom),A=this.bottom-d,M=y-v,E=x(t.top)+v,F=t.bottom;else if(o==="bottom")y=x(this.top),E=t.top,F=x(t.bottom)-v,A=y+v,M=this.top+d;else if(o==="left")y=x(this.right),_=this.right-d,C=y-v,O=x(t.left)+v,T=t.right;else if(o==="right")y=x(this.left),O=t.left,T=x(t.right)-v,_=y+v,C=this.left+d;else if(i==="x"){if(o==="center")y=x((t.top+t.bottom)/2+.5);else if(N(o)){const B=Object.keys(o)[0],Y=o[B];y=x(this.chart.scales[B].getPixelForValue(Y))}E=t.top,F=t.bottom,A=y+v,M=A+d}else if(i==="y"){if(o==="center")y=x((t.left+t.right)/2);else if(N(o)){const B=Object.keys(o)[0],Y=o[B];y=x(this.chart.scales[B].getPixelForValue(Y))}_=y-v,C=_-d,O=t.left,T=t.right}const z=U(s.ticks.maxTicksLimit,u),I=Math.max(1,Math.ceil(u/z));for(w=0;w<u;w+=I){const B=this.getContext(w),Y=r.setContext(B),tt=a.setContext(B),pt=Y.lineWidth,ot=Y.color,It=tt.dash||[],at=tt.dashOffset,Mt=Y.tickWidth,ct=Y.tickColor,lt=Y.tickBorderDash||[],ht=Y.tickBorderDashOffset;b=am(this,w,c),b!==void 0&&(S=Ee(n,b,pt),l?_=C=O=T=S:A=M=E=F=S,f.push({tx1:_,ty1:A,tx2:C,ty2:M,x1:O,y1:E,x2:T,y2:F,width:pt,color:ot,borderDash:It,borderDashOffset:at,tickWidth:Mt,tickColor:ct,tickBorderDash:lt,tickBorderDashOffset:ht}))}return this._ticksLength=u,this._borderValue=y,f}_computeLabelItems(t){const i=this.axis,n=this.options,{position:s,ticks:r}=n,o=this.isHorizontal(),a=this.ticks,{align:c,crossAlign:l,padding:h,mirror:u}=r,d=Ni(n.grid),f=d+h,p=u?-h:f,m=-Ut(this.labelRotation),v=[];let x,y,w,b,S,_,A,C,M,O,E,T,F="middle";if(s==="top")_=this.bottom-p,A=this._getXAxisLabelAlignment();else if(s==="bottom")_=this.top+p,A=this._getXAxisLabelAlignment();else if(s==="left"){const I=this._getYAxisLabelAlignment(d);A=I.textAlign,S=I.x}else if(s==="right"){const I=this._getYAxisLabelAlignment(d);A=I.textAlign,S=I.x}else if(i==="x"){if(s==="center")_=(t.top+t.bottom)/2+f;else if(N(s)){const I=Object.keys(s)[0],B=s[I];_=this.chart.scales[I].getPixelForValue(B)+f}A=this._getXAxisLabelAlignment()}else if(i==="y"){if(s==="center")S=(t.left+t.right)/2-f;else if(N(s)){const I=Object.keys(s)[0],B=s[I];S=this.chart.scales[I].getPixelForValue(B)}A=this._getYAxisLabelAlignment(d).textAlign}i==="y"&&(c==="start"?F="top":c==="end"&&(F="bottom"));const z=this._getLabelSizes();for(x=0,y=a.length;x<y;++x){w=a[x],b=w.label;const I=r.setContext(this.getContext(x));C=this.getPixelForTick(x)+r.labelOffset,M=this._resolveTickFontOptions(x),O=M.lineHeight,E=nt(b)?b.length:1;const B=E/2,Y=I.color,tt=I.textStrokeColor,pt=I.textStrokeWidth;let ot=A;o?(S=C,A==="inner"&&(x===y-1?ot=this.options.reverse?"left":"right":x===0?ot=this.options.reverse?"right":"left":ot="center"),s==="top"?l==="near"||m!==0?T=-E*O+O/2:l==="center"?T=-z.highest.height/2-B*O+O:T=-z.highest.height+O/2:l==="near"||m!==0?T=O/2:l==="center"?T=z.highest.height/2-B*O:T=z.highest.height-E*O,u&&(T*=-1),m!==0&&!I.showLabelBackdrop&&(S+=O/2*Math.sin(m))):(_=C,T=(1-E)*O/2);let It;if(I.showLabelBackdrop){const at=Pt(I.backdropPadding),Mt=z.heights[x],ct=z.widths[x];let lt=T-at.top,ht=0-at.left;switch(F){case"middle":lt-=Mt/2;break;case"bottom":lt-=Mt;break}switch(A){case"center":ht-=ct/2;break;case"right":ht-=ct;break;case"inner":x===y-1?ht-=ct:x>0&&(ht-=ct/2);break}It={left:ht,top:lt,width:ct+at.width,height:Mt+at.height,color:I.backdropColor}}v.push({label:b,font:M,textOffset:T,options:{rotation:m,color:Y,strokeColor:tt,strokeWidth:pt,textAlign:ot,textBaseline:F,translation:[S,_],backdrop:It}})}return v}_getXAxisLabelAlignment(){const{position:t,ticks:i}=this.options;if(-Ut(this.labelRotation))return t==="top"?"left":"right";let s="center";return i.align==="start"?s="left":i.align==="end"?s="right":i.align==="inner"&&(s="inner"),s}_getYAxisLabelAlignment(t){const{position:i,ticks:{crossAlign:n,mirror:s,padding:r}}=this.options,o=this._getLabelSizes(),a=t+r,c=o.widest.width;let l,h;return i==="left"?s?(h=this.right+r,n==="near"?l="left":n==="center"?(l="center",h+=c/2):(l="right",h+=c)):(h=this.right-a,n==="near"?l="right":n==="center"?(l="center",h-=c/2):(l="left",h=this.left)):i==="right"?s?(h=this.left+r,n==="near"?l="right":n==="center"?(l="center",h-=c/2):(l="left",h-=c)):(h=this.left+a,n==="near"?l="left":n==="center"?(l="center",h+=c/2):(l="right",h=this.right)):l="right",{textAlign:l,x:h}}_computeLabelArea(){if(this.options.ticks.mirror)return;const t=this.chart,i=this.options.position;if(i==="left"||i==="right")return{top:0,left:this.left,bottom:t.height,right:this.right};if(i==="top"||i==="bottom")return{top:this.top,left:0,bottom:this.bottom,right:t.width}}drawBackground(){const{ctx:t,options:{backgroundColor:i},left:n,top:s,width:r,height:o}=this;i&&(t.save(),t.fillStyle=i,t.fillRect(n,s,r,o),t.restore())}getLineWidthForValue(t){const i=this.options.grid;if(!this._isVisible()||!i.display)return 0;const s=this.ticks.findIndex(r=>r.value===t);return s>=0?i.setContext(this.getContext(s)).lineWidth:0}drawGrid(t){const i=this.options.grid,n=this.ctx,s=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t));let r,o;const a=(c,l,h)=>{!h.width||!h.color||(n.save(),n.lineWidth=h.width,n.strokeStyle=h.color,n.setLineDash(h.borderDash||[]),n.lineDashOffset=h.borderDashOffset,n.beginPath(),n.moveTo(c.x,c.y),n.lineTo(l.x,l.y),n.stroke(),n.restore())};if(i.display)for(r=0,o=s.length;r<o;++r){const c=s[r];i.drawOnChartArea&&a({x:c.x1,y:c.y1},{x:c.x2,y:c.y2},c),i.drawTicks&&a({x:c.tx1,y:c.ty1},{x:c.tx2,y:c.ty2},{color:c.tickColor,width:c.tickWidth,borderDash:c.tickBorderDash,borderDashOffset:c.tickBorderDashOffset})}}drawBorder(){const{chart:t,ctx:i,options:{border:n,grid:s}}=this,r=n.setContext(this.getContext()),o=n.display?r.width:0;if(!o)return;const a=s.setContext(this.getContext(0)).lineWidth,c=this._borderValue;let l,h,u,d;this.isHorizontal()?(l=Ee(t,this.left,o)-o/2,h=Ee(t,this.right,a)+a/2,u=d=c):(u=Ee(t,this.top,o)-o/2,d=Ee(t,this.bottom,a)+a/2,l=h=c),i.save(),i.lineWidth=r.width,i.strokeStyle=r.color,i.beginPath(),i.moveTo(l,u),i.lineTo(h,d),i.stroke(),i.restore()}drawLabels(t){if(!this.options.ticks.display)return;const n=this.ctx,s=this._computeLabelArea();s&&dr(n,s);const r=this.getLabelItems(t);for(const o of r){const a=o.options,c=o.font,l=o.label,h=o.textOffset;Ri(n,l,0,h,c,a)}s&&fr(n)}drawTitle(){const{ctx:t,options:{position:i,title:n,reverse:s}}=this;if(!n.display)return;const r=dt(n.font),o=Pt(n.padding),a=n.align;let c=r.lineHeight/2;i==="bottom"||i==="center"||N(i)?(c+=o.bottom,nt(n.text)&&(c+=r.lineHeight*(n.text.length-1))):c+=o.top;const{titleX:l,titleY:h,maxWidth:u,rotation:d}=dm(this,c,i,a);Ri(t,n.text,0,0,r,{color:n.color,maxWidth:u,rotation:d,textAlign:um(a,i,s),textBaseline:"middle",translation:[l,h]})}draw(t){this._isVisible()&&(this.drawBackground(),this.drawGrid(t),this.drawBorder(),this.drawTitle(),this.drawLabels(t))}_layers(){const t=this.options,i=t.ticks&&t.ticks.z||0,n=U(t.grid&&t.grid.z,-1),s=U(t.border&&t.border.z,0);return!this._isVisible()||this.draw!==ti.prototype.draw?[{z:i,draw:r=>{this.draw(r)}}]:[{z:n,draw:r=>{this.drawBackground(),this.drawGrid(r),this.drawTitle()}},{z:s,draw:()=>{this.drawBorder()}},{z:i,draw:r=>{this.drawLabels(r)}}]}getMatchingVisibleMetas(t){const i=this.chart.getSortedVisibleDatasetMetas(),n=this.axis+"AxisID",s=[];let r,o;for(r=0,o=i.length;r<o;++r){const a=i[r];a[n]===this.id&&(!t||a.type===t)&&s.push(a)}return s}_resolveTickFontOptions(t){const i=this.options.ticks.setContext(this.getContext(t));return dt(i.font)}_maxDigits(){const t=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/t}}class Wn{constructor(t,i,n){this.type=t,this.scope=i,this.override=n,this.items=Object.create(null)}isForType(t){return Object.prototype.isPrototypeOf.call(this.type.prototype,t.prototype)}register(t){const i=Object.getPrototypeOf(t);let n;gm(i)&&(n=this.register(i));const s=this.items,r=t.id,o=this.scope+"."+r;if(!r)throw new Error("class does not have id: "+t);return r in s||(s[r]=t,fm(t,o,n),this.override&&J.override(t.id,t.overrides)),o}get(t){return this.items[t]}unregister(t){const i=this.items,n=t.id,s=this.scope;n in i&&delete i[n],s&&n in J[s]&&(delete J[s][n],this.override&&delete Oe[n])}}function fm(e,t,i){const n=Oi(Object.create(null),[i?J.get(i):{},J.get(t),e.defaults]);J.set(t,n),e.defaultRoutes&&pm(t,e.defaultRoutes),e.descriptors&&J.describe(t,e.descriptors)}function pm(e,t){Object.keys(t).forEach(i=>{const n=i.split("."),s=n.pop(),r=[e].concat(n).join("."),o=t[i].split("."),a=o.pop(),c=o.join(".");J.route(r,s,c,a)})}function gm(e){return"id"in e&&"defaults"in e}class mm{constructor(){this.controllers=new Wn(Pe,"datasets",!0),this.elements=new Wn($e,"elements"),this.plugins=new Wn(Object,"plugins"),this.scales=new Wn(ti,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...t){this._each("register",t)}remove(...t){this._each("unregister",t)}addControllers(...t){this._each("register",t,this.controllers)}addElements(...t){this._each("register",t,this.elements)}addPlugins(...t){this._each("register",t,this.plugins)}addScales(...t){this._each("register",t,this.scales)}getController(t){return this._get(t,this.controllers,"controller")}getElement(t){return this._get(t,this.elements,"element")}getPlugin(t){return this._get(t,this.plugins,"plugin")}getScale(t){return this._get(t,this.scales,"scale")}removeControllers(...t){this._each("unregister",t,this.controllers)}removeElements(...t){this._each("unregister",t,this.elements)}removePlugins(...t){this._each("unregister",t,this.plugins)}removeScales(...t){this._each("unregister",t,this.scales)}_each(t,i,n){[...i].forEach(s=>{const r=n||this._getRegistryForType(s);n||r.isForType(s)||r===this.plugins&&s.id?this._exec(t,r,s):j(s,o=>{const a=n||this._getRegistryForType(o);this._exec(t,a,o)})})}_exec(t,i,n){const s=nr(t);X(n["before"+s],[],n),i[t](n),X(n["after"+s],[],n)}_getRegistryForType(t){for(let i=0;i<this._typedRegistries.length;i++){const n=this._typedRegistries[i];if(n.isForType(t))return n}return this.plugins}_get(t,i,n){const s=i.get(t);if(s===void 0)throw new Error('"'+t+'" is not a registered '+n+".");return s}}var jt=new mm;class bm{constructor(){this._init=[]}notify(t,i,n,s){i==="beforeInit"&&(this._init=this._createDescriptors(t,!0),this._notify(this._init,t,"install"));const r=s?this._descriptors(t).filter(s):this._descriptors(t),o=this._notify(r,t,i,n);return i==="afterDestroy"&&(this._notify(r,t,"stop"),this._notify(this._init,t,"uninstall")),o}_notify(t,i,n,s){s=s||{};for(const r of t){const o=r.plugin,a=o[n],c=[i,s,r.options];if(X(a,c,o)===!1&&s.cancelable)return!1}return!0}invalidate(){Q(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(t){if(this._cache)return this._cache;const i=this._cache=this._createDescriptors(t);return this._notifyStateChanges(t),i}_createDescriptors(t,i){const n=t&&t.config,s=U(n.options&&n.options.plugins,{}),r=vm(n);return s===!1&&!i?[]:ym(t,r,s,i)}_notifyStateChanges(t){const i=this._oldCache||[],n=this._cache,s=(r,o)=>r.filter(a=>!o.some(c=>a.plugin.id===c.plugin.id));this._notify(s(i,n),t,"stop"),this._notify(s(n,i),t,"start")}}function vm(e){const t={},i=[],n=Object.keys(jt.plugins.items);for(let r=0;r<n.length;r++)i.push(jt.getPlugin(n[r]));const s=e.plugins||[];for(let r=0;r<s.length;r++){const o=s[r];i.indexOf(o)===-1&&(i.push(o),t[o.id]=!0)}return{plugins:i,localIds:t}}function xm(e,t){return!t&&e===!1?null:e===!0?{}:e}function ym(e,{plugins:t,localIds:i},n,s){const r=[],o=e.getContext();for(const a of t){const c=a.id,l=xm(n[c],s);l!==null&&r.push({plugin:a,options:_m(e.config,{plugin:a,local:i[c]},l,o)})}return r}function _m(e,{plugin:t,local:i},n,s){const r=e.pluginScopeKeys(t),o=e.getOptionScopes(n,r);return i&&t.defaults&&o.push(t.defaults),e.createResolver(o,s,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function Cr(e,t){const i=J.datasets[e]||{};return((t.datasets||{})[e]||{}).indexAxis||t.indexAxis||i.indexAxis||"x"}function wm(e,t){let i=e;return e==="_index_"?i=t:e==="_value_"&&(i=t==="x"?"y":"x"),i}function km(e,t){return e===t?"_index_":"_value_"}function $c(e){if(e==="x"||e==="y"||e==="r")return e}function Sm(e){if(e==="top"||e==="bottom")return"x";if(e==="left"||e==="right")return"y"}function Or(e,...t){if($c(e))return e;for(const i of t){const n=i.axis||Sm(i.position)||e.length>1&&$c(e[0].toLowerCase());if(n)return n}throw new Error(`Cannot determine type of '${e}' axis. Please provide 'axis' or 'position' option.`)}function tl(e,t,i){if(i[t+"AxisID"]===e)return{axis:t}}function Am(e,t){if(t.data&&t.data.datasets){const i=t.data.datasets.filter(n=>n.xAxisID===e||n.yAxisID===e);if(i.length)return tl(e,"x",i[0])||tl(e,"y",i[0])}return{}}function Mm(e,t){const i=Oe[e.type]||{scales:{}},n=t.scales||{},s=Cr(e.type,t),r=Object.create(null);return Object.keys(n).forEach(o=>{const a=n[o];if(!N(a))return console.error(`Invalid scale configuration for scale: ${o}`);if(a._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${o}`);const c=Or(o,a,Am(o,e),J.scales[a.type]),l=km(c,s),h=i.scales||{};r[o]=Ei(Object.create(null),[{axis:c},a,h[c],h[l]])}),e.data.datasets.forEach(o=>{const a=o.type||e.type,c=o.indexAxis||Cr(a,t),h=(Oe[a]||{}).scales||{};Object.keys(h).forEach(u=>{const d=wm(u,c),f=o[d+"AxisID"]||d;r[f]=r[f]||Object.create(null),Ei(r[f],[{axis:d},n[f],h[u]])})}),Object.keys(r).forEach(o=>{const a=r[o];Ei(a,[J.scales[a.type],J.scale])}),r}function el(e){const t=e.options||(e.options={});t.plugins=U(t.plugins,{}),t.scales=Mm(e,t)}function il(e){return e=e||{},e.datasets=e.datasets||[],e.labels=e.labels||[],e}function Cm(e){return e=e||{},e.data=il(e.data),el(e),e}const nl=new Map,sl=new Set;function Un(e,t){let i=nl.get(e);return i||(i=t(),nl.set(e,i),sl.add(i)),i}const Wi=(e,t,i)=>{const n=ue(t,i);n!==void 0&&e.add(n)};let Om=class{constructor(t){this._config=Cm(t),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(t){this._config.type=t}get data(){return this._config.data}set data(t){this._config.data=il(t)}get options(){return this._config.options}set options(t){this._config.options=t}get plugins(){return this._config.plugins}update(){const t=this._config;this.clearCache(),el(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return Un(t,()=>[[`datasets.${t}`,""]])}datasetAnimationScopeKeys(t,i){return Un(`${t}.transition.${i}`,()=>[[`datasets.${t}.transitions.${i}`,`transitions.${i}`],[`datasets.${t}`,""]])}datasetElementScopeKeys(t,i){return Un(`${t}-${i}`,()=>[[`datasets.${t}.elements.${i}`,`datasets.${t}`,`elements.${i}`,""]])}pluginScopeKeys(t){const i=t.id,n=this.type;return Un(`${n}-plugin-${i}`,()=>[[`plugins.${i}`,...t.additionalOptionScopes||[]]])}_cachedScopes(t,i){const n=this._scopeCache;let s=n.get(t);return(!s||i)&&(s=new Map,n.set(t,s)),s}getOptionScopes(t,i,n){const{options:s,type:r}=this,o=this._cachedScopes(t,n),a=o.get(i);if(a)return a;const c=new Set;i.forEach(h=>{t&&(c.add(t),h.forEach(u=>Wi(c,t,u))),h.forEach(u=>Wi(c,s,u)),h.forEach(u=>Wi(c,Oe[r]||{},u)),h.forEach(u=>Wi(c,J,u)),h.forEach(u=>Wi(c,hr,u))});const l=Array.from(c);return l.length===0&&l.push(Object.create(null)),sl.has(i)&&o.set(i,l),l}chartOptionScopes(){const{options:t,type:i}=this;return[t,Oe[i]||{},J.datasets[i]||{},{type:i},J,hr]}resolveNamedOptions(t,i,n,s=[""]){const r={$shared:!0},{resolver:o,subPrefixes:a}=rl(this._resolverCache,t,s);let c=o;if(Tm(o,i)){r.$shared=!1,n=de(n)?n():n;const l=this.createResolver(t,n,a);c=Ge(o,n,l)}for(const l of i)r[l]=c[l];return r}createResolver(t,i,n=[""],s){const{resolver:r}=rl(this._resolverCache,t,n);return N(i)?Ge(r,i,void 0,s):r}};function rl(e,t,i){let n=e.get(t);n||(n=new Map,e.set(t,n));const s=i.join();let r=n.get(s);return r||(r={resolver:pr(t,i),subPrefixes:i.filter(a=>!a.toLowerCase().includes("hover"))},n.set(s,r)),r}const Em=e=>N(e)&&Object.getOwnPropertyNames(e).some(t=>de(e[t]));function Tm(e,t){const{isScriptable:i,isIndexable:n}=mc(e);for(const s of t){const r=i(s),o=n(s),a=(o||r)&&e[s];if(r&&(de(a)||Em(a))||o&&nt(a))return!0}return!1}var Dm="4.4.6";const Pm=["top","bottom","left","right","chartArea"];function ol(e,t){return e==="top"||e==="bottom"||Pm.indexOf(e)===-1&&t==="x"}function al(e,t){return function(i,n){return i[e]===n[e]?i[t]-n[t]:i[e]-n[e]}}function cl(e){const t=e.chart,i=t.options.animation;t.notifyPlugins("afterRender"),X(i&&i.onComplete,[e],t)}function Rm(e){const t=e.chart,i=t.options.animation;X(i&&i.onProgress,[e],t)}function ll(e){return br()&&typeof e=="string"?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}const jn={},hl=e=>{const t=ll(e);return Object.values(jn).filter(i=>i.canvas===t).pop()};function Im(e,t,i){const n=Object.keys(e);for(const s of n){const r=+s;if(r>=t){const o=e[s];delete e[s],(i>0||r>t)&&(e[r+i]=o)}}}function Lm(e,t,i,n){return!i||e.type==="mouseout"?null:n?t:e}function Yn(e,t,i){return e.options.clip?e[i]:t[i]}function Fm(e,t){const{xScale:i,yScale:n}=e;return i&&n?{left:Yn(i,t,"left"),right:Yn(i,t,"right"),top:Yn(n,t,"top"),bottom:Yn(n,t,"bottom")}:t}let Er=(me=class{static register(...t){jt.add(...t),ul()}static unregister(...t){jt.remove(...t),ul()}constructor(t,i){const n=this.config=new Om(i),s=ll(t),r=hl(s);if(r)throw new Error("Canvas is already in use. Chart with ID '"+r.id+"' must be destroyed before the canvas with ID '"+r.canvas.id+"' can be reused.");const o=n.createResolver(n.chartOptionScopes(),this.getContext());this.platform=new(n.platform||$g(s)),this.platform.updateConfig(n);const a=this.platform.acquireContext(s,o.aspectRatio),c=a&&a.canvas,l=c&&c.height,h=c&&c.width;if(this.id=tp(),this.ctx=a,this.canvas=c,this.width=h,this.height=l,this._options=o,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new bm,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=vp(u=>this.update(u),o.resizeDelay||0),this._dataChanges=[],jn[this.id]=this,!a||!c){console.error("Failed to create chart: can't acquire context from the given item");return}Zt.listen(this,"complete",cl),Zt.listen(this,"progress",Rm),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:t,maintainAspectRatio:i},width:n,height:s,_aspectRatio:r}=this;return Q(t)?i&&r?r:s?n/s:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}get registry(){return jt}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():wc(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return hc(this.canvas,this.ctx),this}stop(){return Zt.stop(this),this}resize(t,i){Zt.running(this)?this._resizeBeforeDraw={width:t,height:i}:this._resize(t,i)}_resize(t,i){const n=this.options,s=this.canvas,r=n.maintainAspectRatio&&this.aspectRatio,o=this.platform.getMaximumSize(s,t,i,r),a=n.devicePixelRatio||this.platform.getDevicePixelRatio(),c=this.width?"resize":"attach";this.width=o.width,this.height=o.height,this._aspectRatio=this.aspectRatio,wc(this,a,!0)&&(this.notifyPlugins("resize",{size:o}),X(n.onResize,[this,o],this),this.attached&&this._doResize(c)&&this.render())}ensureScalesHaveIDs(){const i=this.options.scales||{};j(i,(n,s)=>{n.id=s})}buildOrUpdateScales(){const t=this.options,i=t.scales,n=this.scales,s=Object.keys(n).reduce((o,a)=>(o[a]=!1,o),{});let r=[];i&&(r=r.concat(Object.keys(i).map(o=>{const a=i[o],c=Or(o,a),l=c==="r",h=c==="x";return{options:a,dposition:l?"chartArea":h?"bottom":"left",dtype:l?"radialLinear":h?"category":"linear"}}))),j(r,o=>{const a=o.options,c=a.id,l=Or(c,a),h=U(a.type,o.dtype);(a.position===void 0||ol(a.position,l)!==ol(o.dposition))&&(a.position=o.dposition),s[c]=!0;let u=null;if(c in n&&n[c].type===h)u=n[c];else{const d=jt.getScale(h);u=new d({id:c,type:h,ctx:this.ctx,chart:this}),n[u.id]=u}u.init(a,t)}),j(s,(o,a)=>{o||delete n[a]}),j(n,o=>{Rt.configure(this,o,o.options),Rt.addBox(this,o)})}_updateMetasets(){const t=this._metasets,i=this.data.datasets.length,n=t.length;if(t.sort((s,r)=>s.index-r.index),n>i){for(let s=i;s<n;++s)this._destroyDatasetMeta(s);t.splice(i,n-i)}this._sortedMetasets=t.slice(0).sort(al("order","index"))}_removeUnreferencedMetasets(){const{_metasets:t,data:{datasets:i}}=this;t.length>i.length&&delete this._stacks,t.forEach((n,s)=>{i.filter(r=>r===n._dataset).length===0&&this._destroyDatasetMeta(s)})}buildOrUpdateControllers(){const t=[],i=this.data.datasets;let n,s;for(this._removeUnreferencedMetasets(),n=0,s=i.length;n<s;n++){const r=i[n];let o=this.getDatasetMeta(n);const a=r.type||this.config.type;if(o.type&&o.type!==a&&(this._destroyDatasetMeta(n),o=this.getDatasetMeta(n)),o.type=a,o.indexAxis=r.indexAxis||Cr(a,this.options),o.order=r.order||0,o.index=n,o.label=""+r.label,o.visible=this.isDatasetVisible(n),o.controller)o.controller.updateIndex(n),o.controller.linkScales();else{const c=jt.getController(a),{datasetElementType:l,dataElementType:h}=J.datasets[a];Object.assign(c,{dataElementType:jt.getElement(h),datasetElementType:l&&jt.getElement(l)}),o.controller=new c(this,n),t.push(o.controller)}}return this._updateMetasets(),t}_resetElements(){j(this.data.datasets,(t,i)=>{this.getDatasetMeta(i).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){const i=this.config;i.update();const n=this._options=i.createResolver(i.chartOptionScopes(),this.getContext()),s=this._animationsDisabled=!n.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0})===!1)return;const r=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let o=0;for(let l=0,h=this.data.datasets.length;l<h;l++){const{controller:u}=this.getDatasetMeta(l),d=!s&&r.indexOf(u)===-1;u.buildOrUpdateElements(d),o=Math.max(+u.getMaxOverflow(),o)}o=this._minPadding=n.layout.autoPadding?o:0,this._updateLayout(o),s||j(r,l=>{l.reset()}),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(al("z","_idx"));const{_active:a,_lastEvent:c}=this;c?this._eventHandler(c,!0):a.length&&this._updateHoverStyles(a,a,!0),this.render()}_updateScales(){j(this.scales,t=>{Rt.removeBox(this,t)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const t=this.options,i=new Set(Object.keys(this._listeners)),n=new Set(t.events);(!qa(i,n)||!!this._responsiveListeners!==t.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:t}=this,i=this._getUniformDataChanges()||[];for(const{method:n,start:s,count:r}of i){const o=n==="_removeElements"?-r:r;Im(t,s,o)}}_getUniformDataChanges(){const t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];const i=this.data.datasets.length,n=r=>new Set(t.filter(o=>o[0]===r).map((o,a)=>a+","+o.splice(1).join(","))),s=n(0);for(let r=1;r<i;r++)if(!qa(s,n(r)))return;return Array.from(s).map(r=>r.split(",")).map(r=>({method:r[1],start:+r[2],count:+r[3]}))}_updateLayout(t){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;Rt.update(this,this.width,this.height,t);const i=this.chartArea,n=i.width<=0||i.height<=0;this._layers=[],j(this.boxes,s=>{n&&s.position==="chartArea"||(s.configure&&s.configure(),this._layers.push(...s._layers()))},this),this._layers.forEach((s,r)=>{s._idx=r}),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})!==!1){for(let i=0,n=this.data.datasets.length;i<n;++i)this.getDatasetMeta(i).controller.configure();for(let i=0,n=this.data.datasets.length;i<n;++i)this._updateDataset(i,de(t)?t({datasetIndex:i}):t);this.notifyPlugins("afterDatasetsUpdate",{mode:t})}}_updateDataset(t,i){const n=this.getDatasetMeta(t),s={meta:n,index:t,mode:i,cancelable:!0};this.notifyPlugins("beforeDatasetUpdate",s)!==!1&&(n.controller._update(i),s.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",s))}render(){this.notifyPlugins("beforeRender",{cancelable:!0})!==!1&&(Zt.has(this)?this.attached&&!Zt.running(this)&&Zt.start(this):(this.draw(),cl({chart:this})))}draw(){let t;if(this._resizeBeforeDraw){const{width:n,height:s}=this._resizeBeforeDraw;this._resizeBeforeDraw=null,this._resize(n,s)}if(this.clear(),this.width<=0||this.height<=0||this.notifyPlugins("beforeDraw",{cancelable:!0})===!1)return;const i=this._layers;for(t=0;t<i.length&&i[t].z<=0;++t)i[t].draw(this.chartArea);for(this._drawDatasets();t<i.length;++t)i[t].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(t){const i=this._sortedMetasets,n=[];let s,r;for(s=0,r=i.length;s<r;++s){const o=i[s];(!t||o.visible)&&n.push(o)}return n}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0})===!1)return;const t=this.getSortedVisibleDatasetMetas();for(let i=t.length-1;i>=0;--i)this._drawDataset(t[i]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){const i=this.ctx,n=t._clip,s=!n.disabled,r=Fm(t,this.chartArea),o={meta:t,index:t.index,cancelable:!0};this.notifyPlugins("beforeDatasetDraw",o)!==!1&&(s&&dr(i,{left:n.left===!1?0:r.left-n.left,right:n.right===!1?this.width:r.right+n.right,top:n.top===!1?0:r.top-n.top,bottom:n.bottom===!1?this.height:r.bottom+n.bottom}),t.controller.draw(),s&&fr(i),o.cancelable=!1,this.notifyPlugins("afterDatasetDraw",o))}isPointInArea(t){return fc(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,i,n,s){const r=Pg.modes[i];return typeof r=="function"?r(this,t,n,s):[]}getDatasetMeta(t){const i=this.data.datasets[t],n=this._metasets;let s=n.filter(r=>r&&r._dataset===i).pop();return s||(s={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:i&&i.order||0,index:t,_dataset:i,_parsed:[],_sorted:!1},n.push(s)),s}getContext(){return this.$context||(this.$context=Je(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){const i=this.data.datasets[t];if(!i)return!1;const n=this.getDatasetMeta(t);return typeof n.hidden=="boolean"?!n.hidden:!i.hidden}setDatasetVisibility(t,i){const n=this.getDatasetMeta(t);n.hidden=!i}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,i,n){const s=n?"show":"hide",r=this.getDatasetMeta(t),o=r.controller._resolveAnimations(void 0,s);Ti(i)?(r.data[i].hidden=!n,this.update()):(this.setDatasetVisibility(t,n),o.update(r,{visible:n}),this.update(a=>a.datasetIndex===t?s:void 0))}hide(t,i){this._updateVisibility(t,i,!1)}show(t,i){this._updateVisibility(t,i,!0)}_destroyDatasetMeta(t){const i=this._metasets[t];i&&i.controller&&i.controller._destroy(),delete this._metasets[t]}_stop(){let t,i;for(this.stop(),Zt.remove(this),t=0,i=this.data.datasets.length;t<i;++t)this._destroyDatasetMeta(t)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:t,ctx:i}=this;this._stop(),this.config.clearCache(),t&&(this.unbindEvents(),hc(t,i),this.platform.releaseContext(i),this.canvas=null,this.ctx=null),delete jn[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...t){return this.canvas.toDataURL(...t)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const t=this._listeners,i=this.platform,n=(r,o)=>{i.addEventListener(this,r,o),t[r]=o},s=(r,o,a)=>{r.offsetX=o,r.offsetY=a,this._eventHandler(r)};j(this.options.events,r=>n(r,s))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const t=this._responsiveListeners,i=this.platform,n=(c,l)=>{i.addEventListener(this,c,l),t[c]=l},s=(c,l)=>{t[c]&&(i.removeEventListener(this,c,l),delete t[c])},r=(c,l)=>{this.canvas&&this.resize(c,l)};let o;const a=()=>{s("attach",a),this.attached=!0,this.resize(),n("resize",r),n("detach",o)};o=()=>{this.attached=!1,s("resize",r),this._stop(),this._resize(0,0),n("attach",a)},i.isAttached(this.canvas)?a():o()}unbindEvents(){j(this._listeners,(t,i)=>{this.platform.removeEventListener(this,i,t)}),this._listeners={},j(this._responsiveListeners,(t,i)=>{this.platform.removeEventListener(this,i,t)}),this._responsiveListeners=void 0}updateHoverStyle(t,i,n){const s=n?"set":"remove";let r,o,a,c;for(i==="dataset"&&(r=this.getDatasetMeta(t[0].datasetIndex),r.controller["_"+s+"DatasetHoverStyle"]()),a=0,c=t.length;a<c;++a){o=t[a];const l=o&&this.getDatasetMeta(o.datasetIndex).controller;l&&l[s+"HoverStyle"](o.element,o.datasetIndex,o.index)}}getActiveElements(){return this._active||[]}setActiveElements(t){const i=this._active||[],n=t.map(({datasetIndex:r,index:o})=>{const a=this.getDatasetMeta(r);if(!a)throw new Error("No dataset found at index "+r);return{datasetIndex:r,element:a.data[o],index:o}});!Sn(n,i)&&(this._active=n,this._lastEvent=null,this._updateHoverStyles(n,i))}notifyPlugins(t,i,n){return this._plugins.notify(this,t,i,n)}isPluginEnabled(t){return this._plugins._cache.filter(i=>i.plugin.id===t).length===1}_updateHoverStyles(t,i,n){const s=this.options.hover,r=(c,l)=>c.filter(h=>!l.some(u=>h.datasetIndex===u.datasetIndex&&h.index===u.index)),o=r(i,t),a=n?t:r(t,i);o.length&&this.updateHoverStyle(o,s.mode,!1),a.length&&s.mode&&this.updateHoverStyle(a,s.mode,!0)}_eventHandler(t,i){const n={event:t,replay:i,cancelable:!0,inChartArea:this.isPointInArea(t)},s=o=>(o.options.events||this.options.events).includes(t.native.type);if(this.notifyPlugins("beforeEvent",n,s)===!1)return;const r=this._handleEvent(t,i,n.inChartArea);return n.cancelable=!1,this.notifyPlugins("afterEvent",n,s),(r||n.changed)&&this.render(),this}_handleEvent(t,i,n){const{_active:s=[],options:r}=this,o=i,a=this._getActiveElements(t,s,n,o),c=op(t),l=Lm(t,this._lastEvent,n,c);n&&(this._lastEvent=null,X(r.onHover,[t,a,this],this),c&&X(r.onClick,[t,a,this],this));const h=!Sn(a,s);return(h||i)&&(this._active=a,this._updateHoverStyles(a,s,i)),this._lastEvent=l,h}_getActiveElements(t,i,n,s){if(t.type==="mouseout")return[];if(!n)return i;const r=this.options.hover;return this.getElementsAtEventForMode(t,r.mode,r,s)}},L(me,"defaults",J),L(me,"instances",jn),L(me,"overrides",Oe),L(me,"registry",jt),L(me,"version",Dm),L(me,"getChart",hl),me);function ul(){return j(Er.instances,e=>e._plugins.invalidate())}function dl(e,t){const{x:i,y:n,base:s,width:r,height:o}=e.getProps(["x","y","base","width","height"],t);let a,c,l,h,u;return e.horizontal?(u=o/2,a=Math.min(i,s),c=Math.max(i,s),l=n-u,h=n+u):(u=r/2,a=i-u,c=i+u,l=Math.min(n,s),h=Math.max(n,s)),{left:a,top:l,right:c,bottom:h}}function pe(e,t,i,n){return e?0:Bt(t,i,n)}function Bm(e,t,i){const n=e.options.borderWidth,s=e.borderSkipped,r=gc(n);return{t:pe(s.top,r.top,0,i),r:pe(s.right,r.right,0,t),b:pe(s.bottom,r.bottom,0,i),l:pe(s.left,r.left,0,t)}}function zm(e,t,i){const{enableBorderRadius:n}=e.getProps(["enableBorderRadius"]),s=e.options.borderRadius,r=Xe(s),o=Math.min(t,i),a=e.borderSkipped,c=n||N(s);return{topLeft:pe(!c||a.top||a.left,r.topLeft,0,o),topRight:pe(!c||a.top||a.right,r.topRight,0,o),bottomLeft:pe(!c||a.bottom||a.left,r.bottomLeft,0,o),bottomRight:pe(!c||a.bottom||a.right,r.bottomRight,0,o)}}function Vm(e){const t=dl(e),i=t.right-t.left,n=t.bottom-t.top,s=Bm(e,i/2,n/2),r=zm(e,i/2,n/2);return{outer:{x:t.left,y:t.top,w:i,h:n,radius:r},inner:{x:t.left+s.l,y:t.top+s.t,w:i-s.l-s.r,h:n-s.t-s.b,radius:{topLeft:Math.max(0,r.topLeft-Math.max(s.t,s.l)),topRight:Math.max(0,r.topRight-Math.max(s.t,s.r)),bottomLeft:Math.max(0,r.bottomLeft-Math.max(s.b,s.l)),bottomRight:Math.max(0,r.bottomRight-Math.max(s.b,s.r))}}}}function Tr(e,t,i,n){const s=t===null,r=i===null,a=e&&!(s&&r)&&dl(e,n);return a&&(s||Qe(t,a.left,a.right))&&(r||Qe(i,a.top,a.bottom))}function Hm(e){return e.topLeft||e.topRight||e.bottomLeft||e.bottomRight}function Nm(e,t){e.rect(t.x,t.y,t.w,t.h)}function Dr(e,t,i={}){const n=e.x!==i.x?-t:0,s=e.y!==i.y?-t:0,r=(e.x+e.w!==i.x+i.w?t:0)-n,o=(e.y+e.h!==i.y+i.h?t:0)-s;return{x:e.x+n,y:e.y+s,w:e.w+r,h:e.h+o,radius:e.radius}}class Kn extends $e{constructor(t){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,t&&Object.assign(this,t)}draw(t){const{inflateAmount:i,options:{borderColor:n,backgroundColor:s}}=this,{inner:r,outer:o}=Vm(this),a=Hm(o.radius)?Dn:Nm;t.save(),(o.w!==r.w||o.h!==r.h)&&(t.beginPath(),a(t,Dr(o,i,r)),t.clip(),a(t,Dr(r,-i,o)),t.fillStyle=n,t.fill("evenodd")),t.beginPath(),a(t,Dr(r,i)),t.fillStyle=s,t.fill(),t.restore()}inRange(t,i,n){return Tr(this,t,i,n)}inXRange(t,i){return Tr(this,t,null,i)}inYRange(t,i){return Tr(this,null,t,i)}getCenterPoint(t){const{x:i,y:n,base:s,horizontal:r}=this.getProps(["x","y","base","horizontal"],t);return{x:r?(i+s)/2:i,y:r?n:(n+s)/2}}getRange(t){return t==="x"?this.width/2:this.height/2}}L(Kn,"id","bar"),L(Kn,"defaults",{borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0}),L(Kn,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"});const Pr=["rgb(54, 162, 235)","rgb(255, 99, 132)","rgb(255, 159, 64)","rgb(255, 205, 86)","rgb(75, 192, 192)","rgb(153, 102, 255)","rgb(201, 203, 207)"],fl=Pr.map(e=>e.replace("rgb(","rgba(").replace(")",", 0.5)"));function pl(e){return Pr[e%Pr.length]}function gl(e){return fl[e%fl.length]}function Wm(e,t){return e.borderColor=pl(t),e.backgroundColor=gl(t),++t}function Um(e,t){return e.backgroundColor=e.data.map(()=>pl(t++)),t}function jm(e,t){return e.backgroundColor=e.data.map(()=>gl(t++)),t}function Ym(e){let t=0;return(i,n)=>{const s=e.getDatasetMeta(n).controller;s instanceof Li?t=Um(i,t):s instanceof Bn?t=jm(i,t):s&&(t=Wm(i,t))}}function ml(e){let t;for(t in e)if(e[t].borderColor||e[t].backgroundColor)return!0;return!1}function Km(e){return e&&(e.borderColor||e.backgroundColor)}function qm(){return J.borderColor!=="rgba(0,0,0,0.1)"||J.backgroundColor!=="rgba(0,0,0,0.1)"}var Qm={id:"colors",defaults:{enabled:!0,forceOverride:!1},beforeLayout(e,t,i){if(!i.enabled)return;const{data:{datasets:n},options:s}=e.config,{elements:r}=s,o=ml(n)||Km(s)||r&&ml(r)||qm();if(!i.forceOverride&&o)return;const a=Ym(e);n.forEach(a)}};const bl=(e,t)=>{let{boxHeight:i=t,boxWidth:n=t}=e;return e.usePointStyle&&(i=Math.min(i,t),n=e.pointStyleWidth||Math.min(n,t)),{boxWidth:n,boxHeight:i,itemHeight:Math.max(t,i)}},Xm=(e,t)=>e!==null&&t!==null&&e.datasetIndex===t.datasetIndex&&e.index===t.index;class vl extends $e{constructor(t){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,i,n){this.maxWidth=t,this.maxHeight=i,this._margins=n,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const t=this.options.labels||{};let i=X(t.generateLabels,[this.chart],this)||[];t.filter&&(i=i.filter(n=>t.filter(n,this.chart.data))),t.sort&&(i=i.sort((n,s)=>t.sort(n,s,this.chart.data))),this.options.reverse&&i.reverse(),this.legendItems=i}fit(){const{options:t,ctx:i}=this;if(!t.display){this.width=this.height=0;return}const n=t.labels,s=dt(n.font),r=s.size,o=this._computeTitleHeight(),{boxWidth:a,itemHeight:c}=bl(n,r);let l,h;i.font=s.string,this.isHorizontal()?(l=this.maxWidth,h=this._fitRows(o,r,a,c)+10):(h=this.maxHeight,l=this._fitCols(o,s,a,c)+10),this.width=Math.min(l,t.maxWidth||this.maxWidth),this.height=Math.min(h,t.maxHeight||this.maxHeight)}_fitRows(t,i,n,s){const{ctx:r,maxWidth:o,options:{labels:{padding:a}}}=this,c=this.legendHitBoxes=[],l=this.lineWidths=[0],h=s+a;let u=t;r.textAlign="left",r.textBaseline="middle";let d=-1,f=-h;return this.legendItems.forEach((p,m)=>{const v=n+i/2+r.measureText(p.text).width;(m===0||l[l.length-1]+v+2*a>o)&&(u+=h,l[l.length-(m>0?0:1)]=0,f+=h,d++),c[m]={left:0,top:f,row:d,width:v,height:s},l[l.length-1]+=v+a}),u}_fitCols(t,i,n,s){const{ctx:r,maxHeight:o,options:{labels:{padding:a}}}=this,c=this.legendHitBoxes=[],l=this.columnSizes=[],h=o-t;let u=a,d=0,f=0,p=0,m=0;return this.legendItems.forEach((v,x)=>{const{itemWidth:y,itemHeight:w}=Jm(n,i,r,v,s);x>0&&f+w+2*a>h&&(u+=d+a,l.push({width:d,height:f}),p+=d+a,m++,d=f=0),c[x]={left:p,top:f,col:m,width:y,height:w},d=Math.max(d,y),f+=w+a}),u+=d,l.push({width:d,height:f}),u}adjustHitBoxes(){if(!this.options.display)return;const t=this._computeTitleHeight(),{legendHitBoxes:i,options:{align:n,labels:{padding:s},rtl:r}}=this,o=Ze(r,this.left,this.width);if(this.isHorizontal()){let a=0,c=ut(n,this.left+s,this.right-this.lineWidths[a]);for(const l of i)a!==l.row&&(a=l.row,c=ut(n,this.left+s,this.right-this.lineWidths[a])),l.top+=this.top+t+s,l.left=o.leftForLtr(o.x(c),l.width),c+=l.width+s}else{let a=0,c=ut(n,this.top+t+s,this.bottom-this.columnSizes[a].height);for(const l of i)l.col!==a&&(a=l.col,c=ut(n,this.top+t+s,this.bottom-this.columnSizes[a].height)),l.top=c,l.left+=this.left+s,l.left=o.leftForLtr(o.x(l.left),l.width),c+=l.height+s}}isHorizontal(){return this.options.position==="top"||this.options.position==="bottom"}draw(){if(this.options.display){const t=this.ctx;dr(t,this),this._draw(),fr(t)}}_draw(){const{options:t,columnSizes:i,lineWidths:n,ctx:s}=this,{align:r,labels:o}=t,a=J.color,c=Ze(t.rtl,this.left,this.width),l=dt(o.font),{padding:h}=o,u=l.size,d=u/2;let f;this.drawTitle(),s.textAlign=c.textAlign("left"),s.textBaseline="middle",s.lineWidth=.5,s.font=l.string;const{boxWidth:p,boxHeight:m,itemHeight:v}=bl(o,u),x=function(_,A,C){if(isNaN(p)||p<=0||isNaN(m)||m<0)return;s.save();const M=U(C.lineWidth,1);if(s.fillStyle=U(C.fillStyle,a),s.lineCap=U(C.lineCap,"butt"),s.lineDashOffset=U(C.lineDashOffset,0),s.lineJoin=U(C.lineJoin,"miter"),s.lineWidth=M,s.strokeStyle=U(C.strokeStyle,a),s.setLineDash(U(C.lineDash,[])),o.usePointStyle){const O={radius:m*Math.SQRT2/2,pointStyle:C.pointStyle,rotation:C.rotation,borderWidth:M},E=c.xPlus(_,p/2),T=A+d;dc(s,O,E,T,o.pointStyleWidth&&p)}else{const O=A+Math.max((u-m)/2,0),E=c.leftForLtr(_,p),T=Xe(C.borderRadius);s.beginPath(),Object.values(T).some(F=>F!==0)?Dn(s,{x:E,y:O,w:p,h:m,radius:T}):s.rect(E,O,p,m),s.fill(),M!==0&&s.stroke()}s.restore()},y=function(_,A,C){Ri(s,C.text,_,A+v/2,l,{strikethrough:C.hidden,textAlign:c.textAlign(C.textAlign)})},w=this.isHorizontal(),b=this._computeTitleHeight();w?f={x:ut(r,this.left+h,this.right-n[0]),y:this.top+h+b,line:0}:f={x:this.left+h,y:ut(r,this.top+b+h,this.bottom-i[0].height),line:0},Sc(this.ctx,t.textDirection);const S=v+h;this.legendItems.forEach((_,A)=>{s.strokeStyle=_.fontColor,s.fillStyle=_.fontColor;const C=s.measureText(_.text).width,M=c.textAlign(_.textAlign||(_.textAlign=o.textAlign)),O=p+d+C;let E=f.x,T=f.y;c.setWidth(this.width),w?A>0&&E+O+h>this.right&&(T=f.y+=S,f.line++,E=f.x=ut(r,this.left+h,this.right-n[f.line])):A>0&&T+S>this.bottom&&(E=f.x=E+i[f.line].width+h,f.line++,T=f.y=ut(r,this.top+b+h,this.bottom-i[f.line].height));const F=c.x(E);if(x(F,T,_),E=xp(M,E+p+d,w?E+O:this.right,t.rtl),y(c.x(E),T,_),w)f.x+=O+h;else if(typeof _.text!="string"){const z=l.lineHeight;f.y+=xl(_,z)+h}else f.y+=S}),Ac(this.ctx,t.textDirection)}drawTitle(){const t=this.options,i=t.title,n=dt(i.font),s=Pt(i.padding);if(!i.display)return;const r=Ze(t.rtl,this.left,this.width),o=this.ctx,a=i.position,c=n.size/2,l=s.top+c;let h,u=this.left,d=this.width;if(this.isHorizontal())d=Math.max(...this.lineWidths),h=this.top+l,u=ut(t.align,u,this.right-d);else{const p=this.columnSizes.reduce((m,v)=>Math.max(m,v.height),0);h=l+ut(t.align,this.top,this.bottom-p-t.labels.padding-this._computeTitleHeight())}const f=ut(a,u,u+d);o.textAlign=r.textAlign(cr(a)),o.textBaseline="middle",o.strokeStyle=i.color,o.fillStyle=i.color,o.font=n.string,Ri(o,i.text,f,h,n)}_computeTitleHeight(){const t=this.options.title,i=dt(t.font),n=Pt(t.padding);return t.display?i.lineHeight+n.height:0}_getLegendItemAt(t,i){let n,s,r;if(Qe(t,this.left,this.right)&&Qe(i,this.top,this.bottom)){for(r=this.legendHitBoxes,n=0;n<r.length;++n)if(s=r[n],Qe(t,s.left,s.left+s.width)&&Qe(i,s.top,s.top+s.height))return this.legendItems[n]}return null}handleEvent(t){const i=this.options;if(!$m(t.type,i))return;const n=this._getLegendItemAt(t.x,t.y);if(t.type==="mousemove"||t.type==="mouseout"){const s=this._hoveredItem,r=Xm(s,n);s&&!r&&X(i.onLeave,[t,s,this],this),this._hoveredItem=n,n&&!r&&X(i.onHover,[t,n,this],this)}else n&&X(i.onClick,[t,n,this],this)}}function Jm(e,t,i,n,s){const r=Gm(n,e,t,i),o=Zm(s,n,t.lineHeight);return{itemWidth:r,itemHeight:o}}function Gm(e,t,i,n){let s=e.text;return s&&typeof s!="string"&&(s=s.reduce((r,o)=>r.length>o.length?r:o)),t+i.size/2+n.measureText(s).width}function Zm(e,t,i){let n=e;return typeof t.text!="string"&&(n=xl(t,i)),n}function xl(e,t){const i=e.text?e.text.length:0;return t*i}function $m(e,t){return!!((e==="mousemove"||e==="mouseout")&&(t.onHover||t.onLeave)||t.onClick&&(e==="click"||e==="mouseup"))}var t0={id:"legend",_element:vl,start(e,t,i){const n=e.legend=new vl({ctx:e.ctx,options:i,chart:e});Rt.configure(e,n,i),Rt.addBox(e,n)},stop(e){Rt.removeBox(e,e.legend),delete e.legend},beforeUpdate(e,t,i){const n=e.legend;Rt.configure(e,n,i),n.options=i},afterUpdate(e){const t=e.legend;t.buildLabels(),t.adjustHitBoxes()},afterEvent(e,t){t.replay||e.legend.handleEvent(t.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(e,t,i){const n=t.datasetIndex,s=i.chart;s.isDatasetVisible(n)?(s.hide(n),t.hidden=!0):(s.show(n),t.hidden=!1)},onHover:null,onLeave:null,labels:{color:e=>e.chart.options.color,boxWidth:40,padding:10,generateLabels(e){const t=e.data.datasets,{labels:{usePointStyle:i,pointStyle:n,textAlign:s,color:r,useBorderRadius:o,borderRadius:a}}=e.legend.options;return e._getSortedDatasetMetas().map(c=>{const l=c.controller.getStyle(i?0:void 0),h=Pt(l.borderWidth);return{text:t[c.index].label,fillStyle:l.backgroundColor,fontColor:r,hidden:!c.visible,lineCap:l.borderCapStyle,lineDash:l.borderDash,lineDashOffset:l.borderDashOffset,lineJoin:l.borderJoinStyle,lineWidth:(h.width+h.height)/4,strokeStyle:l.borderColor,pointStyle:n||l.pointStyle,rotation:l.rotation,textAlign:s||l.textAlign,borderRadius:o&&(a||l.borderRadius),datasetIndex:c.index}},this)}},title:{color:e=>e.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:e=>!e.startsWith("on"),labels:{_scriptable:e=>!["generateLabels","filter","sort"].includes(e)}}};class yl extends $e{constructor(t){super(),this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,i){const n=this.options;if(this.left=0,this.top=0,!n.display){this.width=this.height=this.right=this.bottom=0;return}this.width=this.right=t,this.height=this.bottom=i;const s=nt(n.text)?n.text.length:1;this._padding=Pt(n.padding);const r=s*dt(n.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=r:this.width=r}isHorizontal(){const t=this.options.position;return t==="top"||t==="bottom"}_drawArgs(t){const{top:i,left:n,bottom:s,right:r,options:o}=this,a=o.align;let c=0,l,h,u;return this.isHorizontal()?(h=ut(a,n,r),u=i+t,l=r-n):(o.position==="left"?(h=n+t,u=ut(a,s,i),c=st*-.5):(h=r-t,u=ut(a,i,s),c=st*.5),l=s-i),{titleX:h,titleY:u,maxWidth:l,rotation:c}}draw(){const t=this.ctx,i=this.options;if(!i.display)return;const n=dt(i.font),r=n.lineHeight/2+this._padding.top,{titleX:o,titleY:a,maxWidth:c,rotation:l}=this._drawArgs(r);Ri(t,i.text,0,0,n,{color:i.color,maxWidth:c,rotation:l,textAlign:cr(i.align),textBaseline:"middle",translation:[o,a]})}}function e0(e,t){const i=new yl({ctx:e.ctx,options:t,chart:e});Rt.configure(e,i,t),Rt.addBox(e,i),e.titleBlock=i}var i0={id:"title",_element:yl,start(e,t,i){e0(e,i)},stop(e){const t=e.titleBlock;Rt.removeBox(e,t),delete e.titleBlock},beforeUpdate(e,t,i){const n=e.titleBlock;Rt.configure(e,n,i),n.options=i},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const Ui={average(e){if(!e.length)return!1;let t,i,n=new Set,s=0,r=0;for(t=0,i=e.length;t<i;++t){const a=e[t].element;if(a&&a.hasValue()){const c=a.tooltipPosition();n.add(c.x),s+=c.y,++r}}return r===0||n.size===0?!1:{x:[...n].reduce((a,c)=>a+c)/n.size,y:s/r}},nearest(e,t){if(!e.length)return!1;let i=t.x,n=t.y,s=Number.POSITIVE_INFINITY,r,o,a;for(r=0,o=e.length;r<o;++r){const c=e[r].element;if(c&&c.hasValue()){const l=c.getCenterPoint(),h=fp(t,l);h<s&&(s=h,a=c)}}if(a){const c=a.tooltipPosition();i=c.x,n=c.y}return{x:i,y:n}}};function Yt(e,t){return t&&(nt(t)?Array.prototype.push.apply(e,t):e.push(t)),e}function $t(e){return(typeof e=="string"||e instanceof String)&&e.indexOf(`
|
|
93
|
+
*/class qb{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(t,n,i,o){const r=n.listeners[o],s=n.duration;r.forEach(a=>a({chart:t,initial:n.initial,numSteps:s,currentStep:Math.min(i-n.start,s)}))}_refresh(){this._request||(this._running=!0,this._request=zA.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(t=Date.now()){let n=0;this._charts.forEach((i,o)=>{if(!i.running||!i.items.length)return;const r=i.items;let s=r.length-1,a=!1,c;for(;s>=0;--s)c=r[s],c._active?(c._total>i.duration&&(i.duration=c._total),c.tick(t),a=!0):(r[s]=r[r.length-1],r.pop());a&&(o.draw(),this._notify(o,i,t,"progress")),r.length||(i.running=!1,this._notify(o,i,t,"complete"),i.initial=!1),n+=r.length}),this._lastDate=t,n===0&&(this._running=!1)}_getAnims(t){const n=this._charts;let i=n.get(t);return i||(i={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},n.set(t,i)),i}listen(t,n,i){this._getAnims(t).listeners[n].push(i)}add(t,n){!n||!n.length||this._getAnims(t).items.push(...n)}has(t){return this._getAnims(t).items.length>0}start(t){const n=this._charts.get(t);n&&(n.running=!0,n.start=Date.now(),n.duration=n.items.reduce((i,o)=>Math.max(i,o._duration),0),this._refresh())}running(t){if(!this._running)return!1;const n=this._charts.get(t);return!(!n||!n.running||!n.items.length)}stop(t){const n=this._charts.get(t);if(!n||!n.items.length)return;const i=n.items;let o=i.length-1;for(;o>=0;--o)i[o].cancel();n.items=[],this._notify(t,n,Date.now(),"complete")}remove(t){return this._charts.delete(t)}}var Re=new qb;const ud="transparent",Xb={boolean(e,t,n){return n>.5?t:e},color(e,t,n){const i=WA(e||ud),o=i.valid&&WA(t||ud);return o&&o.valid?o.mix(i,n).hexString():t},number(e,t,n){return e+(t-e)*n}};class Gb{constructor(t,n,i,o){const r=n[i];o=So([t.to,o,r,t.from]);const s=So([t.from,r,o]);this._active=!0,this._fn=t.fn||Xb[t.type||typeof s],this._easing=xi[t.easing]||xi.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=n,this._prop=i,this._from=s,this._to=o,this._promises=void 0}active(){return this._active}update(t,n,i){if(this._active){this._notify(!1);const o=this._target[this._prop],r=i-this._start,s=this._duration-r;this._start=i,this._duration=Math.floor(Math.max(s,t.duration)),this._total+=r,this._loop=!!t.loop,this._to=So([t.to,n,o,t.from]),this._from=So([t.from,o,n])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const n=t-this._start,i=this._duration,o=this._prop,r=this._from,s=this._loop,a=this._to;let c;if(this._active=r!==a&&(s||n<i),!this._active){this._target[o]=a,this._notify(!0);return}if(n<0){this._target[o]=r;return}c=n/i%2,c=s&&c>1?2-c:c,c=this._easing(Math.min(1,Math.max(0,c))),this._target[o]=this._fn(r,a,c)}wait(){const t=this._promises||(this._promises=[]);return new Promise((n,i)=>{t.push({res:n,rej:i})})}_notify(t){const n=t?"res":"rej",i=this._promises||[];for(let o=0;o<i.length;o++)i[o][n]()}}class hd{constructor(t,n){this._chart=t,this._properties=new Map,this.configure(n)}configure(t){if(!it(t))return;const n=Object.keys(mt.animation),i=this._properties;Object.getOwnPropertyNames(t).forEach(o=>{const r=t[o];if(!it(r))return;const s={};for(const a of n)s[a]=r[a];(Pt(r.properties)&&r.properties||[o]).forEach(a=>{(a===o||!i.has(a))&&i.set(a,s)})})}_animateOptions(t,n){const i=n.options,o=Zb(t,i);if(!o)return[];const r=this._createAnimations(o,i);return i.$shared&&Jb(t.options.$animations,i).then(()=>{t.options=i},()=>{}),r}_createAnimations(t,n){const i=this._properties,o=[],r=t.$animations||(t.$animations={}),s=Object.keys(n),a=Date.now();let c;for(c=s.length-1;c>=0;--c){const l=s[c];if(l.charAt(0)==="$")continue;if(l==="options"){o.push(...this._animateOptions(t,n));continue}const A=n[l];let d=r[l];const u=i.get(l);if(d)if(u&&d.active()){d.update(u,A,a);continue}else d.cancel();if(!u||!u.duration){t[l]=A;continue}r[l]=d=new Gb(u,t,l,A),o.push(d)}return o}update(t,n){if(this._properties.size===0){Object.assign(t,n);return}const i=this._createAnimations(t,n);if(i.length)return Re.add(this._chart,i),!0}}function Jb(e,t){const n=[],i=Object.keys(t);for(let o=0;o<i.length;o++){const r=e[i[o]];r&&r.active()&&n.push(r.wait())}return Promise.all(n)}function Zb(e,t){if(!t)return;let n=e.options;if(!n){e.options=t;return}return n.$shared&&(e.options=n=Object.assign({},n,{$shared:!1,$animations:{}})),n}function fd(e,t){const n=e&&e.options||{},i=n.reverse,o=n.min===void 0?t:0,r=n.max===void 0?t:0;return{start:i?r:o,end:i?o:r}}function $b(e,t,n){if(n===!1)return!1;const i=fd(e,n),o=fd(t,n);return{top:o.end,right:i.end,bottom:o.start,left:i.start}}function tv(e){let t,n,i,o;return it(e)?(t=e.top,n=e.right,i=e.bottom,o=e.left):t=n=i=o=e,{top:t,right:n,bottom:i,left:o,disabled:e===!1}}function pd(e,t){const n=[],i=e._getSortedDatasetMetas(t);let o,r;for(o=0,r=i.length;o<r;++o)n.push(i[o].index);return n}function gd(e,t,n,i={}){const o=e.keys,r=i.mode==="single";let s,a,c,l;if(t===null)return;let A=!1;for(s=0,a=o.length;s<a;++s){if(c=+o[s],c===n){if(A=!0,i.all)continue;break}l=e.values[c],oe(l)&&(r||t===0||$e(t)===$e(l))&&(t+=l)}return!A&&!i.all?0:t}function ev(e,t){const{iScale:n,vScale:i}=t,o=n.axis==="x"?"x":"y",r=i.axis==="x"?"x":"y",s=Object.keys(e),a=new Array(s.length);let c,l,A;for(c=0,l=s.length;c<l;++c)A=s[c],a[c]={[o]:A,[r]:e[A]};return a}function Os(e,t){const n=e&&e.options.stacked;return n||n===void 0&&t.stack!==void 0}function nv(e,t,n){return`${e.id}.${t.id}.${n.stack||n.type}`}function iv(e){const{min:t,max:n,minDefined:i,maxDefined:o}=e.getUserBounds();return{min:i?t:Number.NEGATIVE_INFINITY,max:o?n:Number.POSITIVE_INFINITY}}function ov(e,t,n){const i=e[t]||(e[t]={});return i[n]||(i[n]={})}function md(e,t,n,i){for(const o of t.getMatchingVisibleMetas(i).reverse()){const r=e[o.index];if(n&&r>0||!n&&r<0)return o.index}return null}function bd(e,t){const{chart:n,_cachedMeta:i}=e,o=n._stacks||(n._stacks={}),{iScale:r,vScale:s,index:a}=i,c=r.axis,l=s.axis,A=nv(r,s,i),d=t.length;let u;for(let h=0;h<d;++h){const p=t[h],{[c]:g,[l]:b}=p,v=p._stacks||(p._stacks={});u=v[l]=ov(o,A,g),u[a]=b,u._top=md(u,s,!0,i.type),u._bottom=md(u,s,!1,i.type);const w=u._visualValues||(u._visualValues={});w[a]=b}}function Qs(e,t){const n=e.scales;return Object.keys(n).filter(i=>n[i].axis===t).shift()}function rv(e,t){return Hn(e,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:"default",type:"dataset"})}function sv(e,t,n){return Hn(e,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:n,index:t,mode:"default",type:"data"})}function Bi(e,t){const n=e.controller.index,i=e.vScale&&e.vScale.axis;if(i){t=t||e._parsed;for(const o of t){const r=o._stacks;if(!r||r[i]===void 0||r[i][n]===void 0)return;delete r[i][n],r[i]._visualValues!==void 0&&r[i]._visualValues[n]!==void 0&&delete r[i]._visualValues[n]}}}const Ls=e=>e==="reset"||e==="none",vd=(e,t)=>t?e:Object.assign({},e),av=(e,t,n)=>e&&!t.hidden&&t._stacked&&{keys:pd(n,!0),values:null};class gn{constructor(t,n){this.chart=t,this._ctx=t.ctx,this.index=n,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=Os(t.vScale,t),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(t){this.index!==t&&Bi(this._cachedMeta),this.index=t}linkScales(){const t=this.chart,n=this._cachedMeta,i=this.getDataset(),o=(d,u,h,p)=>d==="x"?u:d==="r"?p:h,r=n.xAxisID=st(i.xAxisID,Qs(t,"x")),s=n.yAxisID=st(i.yAxisID,Qs(t,"y")),a=n.rAxisID=st(i.rAxisID,Qs(t,"r")),c=n.indexAxis,l=n.iAxisID=o(c,r,s,a),A=n.vAxisID=o(c,s,r,a);n.xScale=this.getScaleForId(r),n.yScale=this.getScaleForId(s),n.rScale=this.getScaleForId(a),n.iScale=this.getScaleForId(l),n.vScale=this.getScaleForId(A)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){const n=this._cachedMeta;return t===n.iScale?n.vScale:n.iScale}reset(){this._update("reset")}_destroy(){const t=this._cachedMeta;this._data&&HA(this._data,this),t._stacked&&Bi(t)}_dataCheck(){const t=this.getDataset(),n=t.data||(t.data=[]),i=this._data;if(it(n)){const o=this._cachedMeta;this._data=ev(n,o)}else if(i!==n){if(i){HA(i,this);const o=this._cachedMeta;Bi(o),o._parsed=[]}n&&Object.isExtensible(n)&&lb(n,this),this._syncList=[],this._data=n}}addElements(){const t=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(t.dataset=new this.datasetElementType)}buildOrUpdateElements(t){const n=this._cachedMeta,i=this.getDataset();let o=!1;this._dataCheck();const r=n._stacked;n._stacked=Os(n.vScale,n),n.stack!==i.stack&&(o=!0,Bi(n),n.stack=i.stack),this._resyncElements(t),(o||r!==n._stacked)&&(bd(this,n._parsed),n._stacked=Os(n.vScale,n))}configure(){const t=this.chart.config,n=t.datasetScopeKeys(this._type),i=t.getOptionScopes(this.getDataset(),n,!0);this.options=t.createResolver(i,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(t,n){const{_cachedMeta:i,_data:o}=this,{iScale:r,_stacked:s}=i,a=r.axis;let c=t===0&&n===o.length?!0:i._sorted,l=t>0&&i._parsed[t-1],A,d,u;if(this._parsing===!1)i._parsed=o,i._sorted=!0,u=o;else{Pt(o[t])?u=this.parseArrayData(i,o,t,n):it(o[t])?u=this.parseObjectData(i,o,t,n):u=this.parsePrimitiveData(i,o,t,n);const h=()=>d[a]===null||l&&d[a]<l[a];for(A=0;A<n;++A)i._parsed[A+t]=d=u[A],c&&(h()&&(c=!1),l=d);i._sorted=c}s&&bd(this,u)}parsePrimitiveData(t,n,i,o){const{iScale:r,vScale:s}=t,a=r.axis,c=s.axis,l=r.getLabels(),A=r===s,d=new Array(o);let u,h,p;for(u=0,h=o;u<h;++u)p=u+i,d[u]={[a]:A||r.parse(l[p],p),[c]:s.parse(n[p],p)};return d}parseArrayData(t,n,i,o){const{xScale:r,yScale:s}=t,a=new Array(o);let c,l,A,d;for(c=0,l=o;c<l;++c)A=c+i,d=n[A],a[c]={x:r.parse(d[0],A),y:s.parse(d[1],A)};return a}parseObjectData(t,n,i,o){const{xScale:r,yScale:s}=t,{xAxisKey:a="x",yAxisKey:c="y"}=this._parsing,l=new Array(o);let A,d,u,h;for(A=0,d=o;A<d;++A)u=A+i,h=n[u],l[A]={x:r.parse(Je(h,a),u),y:s.parse(Je(h,c),u)};return l}getParsed(t){return this._cachedMeta._parsed[t]}getDataElement(t){return this._cachedMeta.data[t]}applyStack(t,n,i){const o=this.chart,r=this._cachedMeta,s=n[t.axis],a={keys:pd(o,!0),values:n._stacks[t.axis]._visualValues};return gd(a,s,r.index,{mode:i})}updateRangeFromParsed(t,n,i,o){const r=i[n.axis];let s=r===null?NaN:r;const a=o&&i._stacks[n.axis];o&&a&&(o.values=a,s=gd(o,r,this._cachedMeta.index)),t.min=Math.min(t.min,s),t.max=Math.max(t.max,s)}getMinMax(t,n){const i=this._cachedMeta,o=i._parsed,r=i._sorted&&t===i.iScale,s=o.length,a=this._getOtherScale(t),c=av(n,i,this.chart),l={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:A,max:d}=iv(a);let u,h;function p(){h=o[u];const g=h[a.axis];return!oe(h[t.axis])||A>g||d<g}for(u=0;u<s&&!(!p()&&(this.updateRangeFromParsed(l,t,h,c),r));++u);if(r){for(u=s-1;u>=0;--u)if(!p()){this.updateRangeFromParsed(l,t,h,c);break}}return l}getAllParsedValues(t){const n=this._cachedMeta._parsed,i=[];let o,r,s;for(o=0,r=n.length;o<r;++o)s=n[o][t.axis],oe(s)&&i.push(s);return i}getMaxOverflow(){return!1}getLabelAndValue(t){const n=this._cachedMeta,i=n.iScale,o=n.vScale,r=this.getParsed(t);return{label:i?""+i.getLabelForValue(r[i.axis]):"",value:o?""+o.getLabelForValue(r[o.axis]):""}}_update(t){const n=this._cachedMeta;this.update(t||"default"),n._clip=tv(st(this.options.clip,$b(n.xScale,n.yScale,this.getMaxOverflow())))}update(t){}draw(){const t=this._ctx,n=this.chart,i=this._cachedMeta,o=i.data||[],r=n.chartArea,s=[],a=this._drawStart||0,c=this._drawCount||o.length-a,l=this.options.drawActiveElementsOnTop;let A;for(i.dataset&&i.dataset.draw(t,r,a,c),A=a;A<a+c;++A){const d=o[A];d.hidden||(d.active&&l?s.push(d):d.draw(t,r))}for(A=0;A<s.length;++A)s[A].draw(t,r)}getStyle(t,n){const i=n?"active":"default";return t===void 0&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(i):this.resolveDataElementOptions(t||0,i)}getContext(t,n,i){const o=this.getDataset();let r;if(t>=0&&t<this._cachedMeta.data.length){const s=this._cachedMeta.data[t];r=s.$context||(s.$context=sv(this.getContext(),t,s)),r.parsed=this.getParsed(t),r.raw=o.data[t],r.index=r.dataIndex=t}else r=this.$context||(this.$context=rv(this.chart.getContext(),this.index)),r.dataset=o,r.index=r.datasetIndex=this.index;return r.active=!!n,r.mode=i,r}resolveDatasetElementOptions(t){return this._resolveElementOptions(this.datasetElementType.id,t)}resolveDataElementOptions(t,n){return this._resolveElementOptions(this.dataElementType.id,n,t)}_resolveElementOptions(t,n="default",i){const o=n==="active",r=this._cachedDataOpts,s=t+"-"+n,a=r[s],c=this.enableOptionSharing&&yi(i);if(a)return vd(a,c);const l=this.chart.config,A=l.datasetElementScopeKeys(this._type,t),d=o?[`${t}Hover`,"hover",t,""]:[t,""],u=l.getOptionScopes(this.getDataset(),A),h=Object.keys(mt.elements[t]),p=()=>this.getContext(i,o,n),g=l.resolveNamedOptions(u,h,p,d);return g.$shared&&(g.$shared=c,r[s]=Object.freeze(vd(g,c))),g}_resolveAnimations(t,n,i){const o=this.chart,r=this._cachedDataOpts,s=`animation-${n}`,a=r[s];if(a)return a;let c;if(o.options.animation!==!1){const A=this.chart.config,d=A.datasetAnimationScopeKeys(this._type,n),u=A.getOptionScopes(this.getDataset(),d);c=A.createResolver(u,this.getContext(t,i,n))}const l=new hd(o,c&&c.animations);return c&&c._cacheable&&(r[s]=Object.freeze(l)),l}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,n){return!n||Ls(t)||this.chart._animationsDisabled}_getSharedOptions(t,n){const i=this.resolveDataElementOptions(t,n),o=this._sharedOptions,r=this.getSharedOptions(i),s=this.includeOptions(n,r)||r!==o;return this.updateSharedOptions(r,n,i),{sharedOptions:r,includeOptions:s}}updateElement(t,n,i,o){Ls(o)?Object.assign(t,i):this._resolveAnimations(n,o).update(t,i)}updateSharedOptions(t,n,i){t&&!Ls(n)&&this._resolveAnimations(void 0,n).update(t,i)}_setStyle(t,n,i,o){t.active=o;const r=this.getStyle(n,o);this._resolveAnimations(n,i,o).update(t,{options:!o&&this.getSharedOptions(r)||r})}removeHoverStyle(t,n,i){this._setStyle(t,i,"active",!1)}setHoverStyle(t,n,i){this._setStyle(t,i,"active",!0)}_removeDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}_setDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}_resyncElements(t){const n=this._data,i=this._cachedMeta.data;for(const[a,c,l]of this._syncList)this[a](c,l);this._syncList=[];const o=i.length,r=n.length,s=Math.min(r,o);s&&this.parse(0,s),r>o?this._insertElements(o,r-o,t):r<o&&this._removeElements(r,o-r)}_insertElements(t,n,i=!0){const o=this._cachedMeta,r=o.data,s=t+n;let a;const c=l=>{for(l.length+=n,a=l.length-1;a>=s;a--)l[a]=l[a-n]};for(c(r),a=t;a<s;++a)r[a]=new this.dataElementType;this._parsing&&c(o._parsed),this.parse(t,n),i&&this.updateElements(r,t,n,"reset")}updateElements(t,n,i,o){}_removeElements(t,n){const i=this._cachedMeta;if(this._parsing){const o=i._parsed.splice(t,n);i._stacked&&Bi(i,o)}i.data.splice(t,n)}_sync(t){if(this._parsing)this._syncList.push(t);else{const[n,i,o]=t;this[n](i,o)}this.chart._dataChanges.push([this.index,...t])}_onDataPush(){const t=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-t,t])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(t,n){n&&this._sync(["_removeElements",t,n]);const i=arguments.length-2;i&&this._sync(["_insertElements",t,i])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}Z(gn,"defaults",{}),Z(gn,"datasetElementType",null),Z(gn,"dataElementType",null);function cv(e,t){if(!e._cache.$bar){const n=e.getMatchingVisibleMetas(t);let i=[];for(let o=0,r=n.length;o<r;o++)i=i.concat(n[o].controller.getAllParsedValues(e));e._cache.$bar=FA(i.sort((o,r)=>o-r))}return e._cache.$bar}function lv(e){const t=e.iScale,n=cv(t,e.type);let i=t._length,o,r,s,a;const c=()=>{s===32767||s===-32768||(yi(a)&&(i=Math.min(i,Math.abs(s-a)||i)),a=s)};for(o=0,r=n.length;o<r;++o)s=t.getPixelForValue(n[o]),c();for(a=void 0,o=0,r=t.ticks.length;o<r;++o)s=t.getPixelForTick(o),c();return i}function Av(e,t,n,i){const o=n.barThickness;let r,s;return ut(o)?(r=t.min*n.categoryPercentage,s=n.barPercentage):(r=o*i,s=1),{chunk:r/i,ratio:s,start:t.pixels[e]-r/2}}function dv(e,t,n,i){const o=t.pixels,r=o[e];let s=e>0?o[e-1]:null,a=e<o.length-1?o[e+1]:null;const c=n.categoryPercentage;s===null&&(s=r-(a===null?t.end-t.start:a-r)),a===null&&(a=r+r-s);const l=r-(r-Math.min(s,a))/2*c;return{chunk:Math.abs(a-s)/2*c/i,ratio:n.barPercentage,start:l}}function uv(e,t,n,i){const o=n.parse(e[0],i),r=n.parse(e[1],i),s=Math.min(o,r),a=Math.max(o,r);let c=s,l=a;Math.abs(s)>Math.abs(a)&&(c=a,l=s),t[n.axis]=l,t._custom={barStart:c,barEnd:l,start:o,end:r,min:s,max:a}}function wd(e,t,n,i){return Pt(e)?uv(e,t,n,i):t[n.axis]=n.parse(e,i),t}function yd(e,t,n,i){const o=e.iScale,r=e.vScale,s=o.getLabels(),a=o===r,c=[];let l,A,d,u;for(l=n,A=n+i;l<A;++l)u=t[l],d={},d[o.axis]=a||o.parse(s[l],l),c.push(wd(u,d,r,l));return c}function Rs(e){return e&&e.barStart!==void 0&&e.barEnd!==void 0}function hv(e,t,n){return e!==0?$e(e):(t.isHorizontal()?1:-1)*(t.min>=n?1:-1)}function fv(e){let t,n,i,o,r;return e.horizontal?(t=e.base>e.x,n="left",i="right"):(t=e.base<e.y,n="bottom",i="top"),t?(o="end",r="start"):(o="start",r="end"),{start:n,end:i,reverse:t,top:o,bottom:r}}function pv(e,t,n,i){let o=t.borderSkipped;const r={};if(!o){e.borderSkipped=r;return}if(o===!0){e.borderSkipped={top:!0,right:!0,bottom:!0,left:!0};return}const{start:s,end:a,reverse:c,top:l,bottom:A}=fv(e);o==="middle"&&n&&(e.enableBorderRadius=!0,(n._top||0)===i?o=l:(n._bottom||0)===i?o=A:(r[xd(A,s,a,c)]=!0,o=l)),r[xd(o,s,a,c)]=!0,e.borderSkipped=r}function xd(e,t,n,i){return i?(e=gv(e,t,n),e=_d(e,n,t)):e=_d(e,t,n),e}function gv(e,t,n){return e===t?n:e===n?t:e}function _d(e,t,n){return e==="start"?t:e==="end"?n:e}function mv(e,{inflateAmount:t},n){e.inflateAmount=t==="auto"?n===1?.33:0:t}class Oo extends gn{parsePrimitiveData(t,n,i,o){return yd(t,n,i,o)}parseArrayData(t,n,i,o){return yd(t,n,i,o)}parseObjectData(t,n,i,o){const{iScale:r,vScale:s}=t,{xAxisKey:a="x",yAxisKey:c="y"}=this._parsing,l=r.axis==="x"?a:c,A=s.axis==="x"?a:c,d=[];let u,h,p,g;for(u=i,h=i+o;u<h;++u)g=n[u],p={},p[r.axis]=r.parse(Je(g,l),u),d.push(wd(Je(g,A),p,s,u));return d}updateRangeFromParsed(t,n,i,o){super.updateRangeFromParsed(t,n,i,o);const r=i._custom;r&&n===this._cachedMeta.vScale&&(t.min=Math.min(t.min,r.min),t.max=Math.max(t.max,r.max))}getMaxOverflow(){return 0}getLabelAndValue(t){const n=this._cachedMeta,{iScale:i,vScale:o}=n,r=this.getParsed(t),s=r._custom,a=Rs(s)?"["+s.start+", "+s.end+"]":""+o.getLabelForValue(r[o.axis]);return{label:""+i.getLabelForValue(r[i.axis]),value:a}}initialize(){this.enableOptionSharing=!0,super.initialize();const t=this._cachedMeta;t.stack=this.getDataset().stack}update(t){const n=this._cachedMeta;this.updateElements(n.data,0,n.data.length,t)}updateElements(t,n,i,o){const r=o==="reset",{index:s,_cachedMeta:{vScale:a}}=this,c=a.getBasePixel(),l=a.isHorizontal(),A=this._getRuler(),{sharedOptions:d,includeOptions:u}=this._getSharedOptions(n,o);for(let h=n;h<n+i;h++){const p=this.getParsed(h),g=r||ut(p[a.axis])?{base:c,head:c}:this._calculateBarValuePixels(h),b=this._calculateBarIndexPixels(h,A),v=(p._stacks||{})[a.axis],w={horizontal:l,base:g.base,enableBorderRadius:!v||Rs(p._custom)||s===v._top||s===v._bottom,x:l?g.head:b.center,y:l?b.center:g.head,height:l?b.size:Math.abs(g.size),width:l?Math.abs(g.size):b.size};u&&(w.options=d||this.resolveDataElementOptions(h,t[h].active?"active":o));const _=w.options||t[h].options;pv(w,_,v,s),mv(w,_,A.ratio),this.updateElement(t[h],h,w,o)}}_getStacks(t,n){const{iScale:i}=this._cachedMeta,o=i.getMatchingVisibleMetas(this._type).filter(A=>A.controller.options.grouped),r=i.options.stacked,s=[],a=this._cachedMeta.controller.getParsed(n),c=a&&a[i.axis],l=A=>{const d=A._parsed.find(h=>h[i.axis]===c),u=d&&d[A.vScale.axis];if(ut(u)||isNaN(u))return!0};for(const A of o)if(!(n!==void 0&&l(A))&&((r===!1||s.indexOf(A.stack)===-1||r===void 0&&A.stack===void 0)&&s.push(A.stack),A.index===t))break;return s.length||s.push(void 0),s}_getStackCount(t){return this._getStacks(void 0,t).length}_getStackIndex(t,n,i){const o=this._getStacks(t,i),r=n!==void 0?o.indexOf(n):-1;return r===-1?o.length-1:r}_getRuler(){const t=this.options,n=this._cachedMeta,i=n.iScale,o=[];let r,s;for(r=0,s=n.data.length;r<s;++r)o.push(i.getPixelForValue(this.getParsed(r)[i.axis],r));const a=t.barThickness;return{min:a||lv(n),pixels:o,start:i._startPixel,end:i._endPixel,stackCount:this._getStackCount(),scale:i,grouped:t.grouped,ratio:a?1:t.categoryPercentage*t.barPercentage}}_calculateBarValuePixels(t){const{_cachedMeta:{vScale:n,_stacked:i,index:o},options:{base:r,minBarLength:s}}=this,a=r||0,c=this.getParsed(t),l=c._custom,A=Rs(l);let d=c[n.axis],u=0,h=i?this.applyStack(n,c,i):d,p,g;h!==d&&(u=h-d,h=d),A&&(d=l.barStart,h=l.barEnd-l.barStart,d!==0&&$e(d)!==$e(l.barEnd)&&(u=0),u+=d);const b=!ut(r)&&!A?r:u;let v=n.getPixelForValue(b);if(this.chart.getDataVisibility(t)?p=n.getPixelForValue(u+h):p=v,g=p-v,Math.abs(g)<s){g=hv(g,n,a)*s,d===a&&(v-=g/2);const w=n.getPixelForDecimal(0),_=n.getPixelForDecimal(1),m=Math.min(w,_),y=Math.max(w,_);v=Math.max(Math.min(v,y),m),p=v+g,i&&!A&&(c._stacks[n.axis]._visualValues[o]=n.getValueForPixel(p)-n.getValueForPixel(v))}if(v===n.getPixelForValue(a)){const w=$e(g)*n.getLineWidthForValue(a)/2;v+=w,g-=w}return{size:g,base:v,head:p,center:p+g/2}}_calculateBarIndexPixels(t,n){const i=n.scale,o=this.options,r=o.skipNull,s=st(o.maxBarThickness,1/0);let a,c;if(n.grouped){const l=r?this._getStackCount(t):n.stackCount,A=o.barThickness==="flex"?dv(t,n,o,l):Av(t,n,o,l),d=this._getStackIndex(this.index,this._cachedMeta.stack,r?t:void 0);a=A.start+A.chunk*d+A.chunk/2,c=Math.min(s,A.chunk*A.ratio)}else a=i.getPixelForValue(this.getParsed(t)[i.axis],t),c=Math.min(s,n.min*n.ratio);return{base:a-c/2,head:a+c/2,center:a,size:c}}draw(){const t=this._cachedMeta,n=t.vScale,i=t.data,o=i.length;let r=0;for(;r<o;++r)this.getParsed(r)[n.axis]!==null&&!i[r].hidden&&i[r].draw(this._ctx)}}Z(Oo,"id","bar"),Z(Oo,"defaults",{datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}}),Z(Oo,"overrides",{scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}});function bv(e,t,n){let i=1,o=1,r=0,s=0;if(t<qt){const a=e,c=a+t,l=Math.cos(a),A=Math.sin(a),d=Math.cos(c),u=Math.sin(c),h=(_,m,y)=>ws(_,a,c,!0)?1:Math.max(m,m*n,y,y*n),p=(_,m,y)=>ws(_,a,c,!0)?-1:Math.min(m,m*n,y,y*n),g=h(0,l,d),b=h(Xt,A,u),v=p(Bt,l,d),w=p(Bt+Xt,A,u);i=(g-v)/2,o=(b-w)/2,r=-(g+v)/2,s=-(b+w)/2}return{ratioX:i,ratioY:o,offsetX:r,offsetY:s}}class ki extends gn{constructor(t,n){super(t,n),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(t,n){const i=this.getDataset().data,o=this._cachedMeta;if(this._parsing===!1)o._parsed=i;else{let r=c=>+i[c];if(it(i[t])){const{key:c="value"}=this._parsing;r=l=>+Je(i[l],c)}let s,a;for(s=t,a=t+n;s<a;++s)o._parsed[s]=r(s)}}_getRotation(){return _e(this.options.rotation-90)}_getCircumference(){return _e(this.options.circumference)}_getRotationExtents(){let t=qt,n=-qt;for(let i=0;i<this.chart.data.datasets.length;++i)if(this.chart.isDatasetVisible(i)&&this.chart.getDatasetMeta(i).type===this._type){const o=this.chart.getDatasetMeta(i).controller,r=o._getRotation(),s=o._getCircumference();t=Math.min(t,r),n=Math.max(n,r+s)}return{rotation:t,circumference:n-t}}update(t){const n=this.chart,{chartArea:i}=n,o=this._cachedMeta,r=o.data,s=this.getMaxBorderWidth()+this.getMaxOffset(r)+this.options.spacing,a=Math.max((Math.min(i.width,i.height)-s)/2,0),c=Math.min(Km(this.options.cutout,a),1),l=this._getRingWeight(this.index),{circumference:A,rotation:d}=this._getRotationExtents(),{ratioX:u,ratioY:h,offsetX:p,offsetY:g}=bv(d,A,c),b=(i.width-s)/u,v=(i.height-s)/h,w=Math.max(Math.min(b,v)/2,0),_=SA(this.options.radius,w),m=Math.max(_*c,0),y=(_-m)/this._getVisibleDatasetWeightTotal();this.offsetX=p*_,this.offsetY=g*_,o.total=this.calculateTotal(),this.outerRadius=_-y*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-y*l,0),this.updateElements(r,0,r.length,t)}_circumference(t,n){const i=this.options,o=this._cachedMeta,r=this._getCircumference();return n&&i.animation.animateRotate||!this.chart.getDataVisibility(t)||o._parsed[t]===null||o.data[t].hidden?0:this.calculateCircumference(o._parsed[t]*r/qt)}updateElements(t,n,i,o){const r=o==="reset",s=this.chart,a=s.chartArea,l=s.options.animation,A=(a.left+a.right)/2,d=(a.top+a.bottom)/2,u=r&&l.animateScale,h=u?0:this.innerRadius,p=u?0:this.outerRadius,{sharedOptions:g,includeOptions:b}=this._getSharedOptions(n,o);let v=this._getRotation(),w;for(w=0;w<n;++w)v+=this._circumference(w,r);for(w=n;w<n+i;++w){const _=this._circumference(w,r),m=t[w],y={x:A+this.offsetX,y:d+this.offsetY,startAngle:v,endAngle:v+_,circumference:_,outerRadius:p,innerRadius:h};b&&(y.options=g||this.resolveDataElementOptions(w,m.active?"active":o)),v+=_,this.updateElement(m,w,y,o)}}calculateTotal(){const t=this._cachedMeta,n=t.data;let i=0,o;for(o=0;o<n.length;o++){const r=t._parsed[o];r!==null&&!isNaN(r)&&this.chart.getDataVisibility(o)&&!n[o].hidden&&(i+=Math.abs(r))}return i}calculateCircumference(t){const n=this._cachedMeta.total;return n>0&&!isNaN(t)?qt*(Math.abs(t)/n):0}getLabelAndValue(t){const n=this._cachedMeta,i=this.chart,o=i.data.labels||[],r=Co(n._parsed[t],i.options.locale);return{label:o[t]||"",value:r}}getMaxBorderWidth(t){let n=0;const i=this.chart;let o,r,s,a,c;if(!t){for(o=0,r=i.data.datasets.length;o<r;++o)if(i.isDatasetVisible(o)){s=i.getDatasetMeta(o),t=s.data,a=s.controller;break}}if(!t)return 0;for(o=0,r=t.length;o<r;++o)c=a.resolveDataElementOptions(o),c.borderAlign!=="inner"&&(n=Math.max(n,c.borderWidth||0,c.hoverBorderWidth||0));return n}getMaxOffset(t){let n=0;for(let i=0,o=t.length;i<o;++i){const r=this.resolveDataElementOptions(i);n=Math.max(n,r.offset||0,r.hoverOffset||0)}return n}_getRingWeightOffset(t){let n=0;for(let i=0;i<t;++i)this.chart.isDatasetVisible(i)&&(n+=this._getRingWeight(i));return n}_getRingWeight(t){return Math.max(st(this.chart.data.datasets[t].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}Z(ki,"id","doughnut"),Z(ki,"defaults",{datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"}),Z(ki,"descriptors",{_scriptable:t=>t!=="spacing",_indexable:t=>t!=="spacing"&&!t.startsWith("borderDash")&&!t.startsWith("hoverBorderDash")}),Z(ki,"overrides",{aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const n=t.data;if(n.labels.length&&n.datasets.length){const{labels:{pointStyle:i,color:o}}=t.legend.options;return n.labels.map((r,s)=>{const c=t.getDatasetMeta(0).controller.getStyle(s);return{text:r,fillStyle:c.backgroundColor,strokeStyle:c.borderColor,fontColor:o,lineWidth:c.borderWidth,pointStyle:i,hidden:!t.getDataVisibility(s),index:s}})}return[]}},onClick(t,n,i){i.chart.toggleDataVisibility(n.index),i.chart.update()}}}});class Qo extends gn{constructor(t,n){super(t,n),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(t){const n=this._cachedMeta,i=this.chart,o=i.data.labels||[],r=Co(n._parsed[t].r,i.options.locale);return{label:o[t]||"",value:r}}parseObjectData(t,n,i,o){return Hb.bind(this)(t,n,i,o)}update(t){const n=this._cachedMeta.data;this._updateRadius(),this.updateElements(n,0,n.length,t)}getMinMax(){const t=this._cachedMeta,n={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return t.data.forEach((i,o)=>{const r=this.getParsed(o).r;!isNaN(r)&&this.chart.getDataVisibility(o)&&(r<n.min&&(n.min=r),r>n.max&&(n.max=r))}),n}_updateRadius(){const t=this.chart,n=t.chartArea,i=t.options,o=Math.min(n.right-n.left,n.bottom-n.top),r=Math.max(o/2,0),s=Math.max(i.cutoutPercentage?r/100*i.cutoutPercentage:1,0),a=(r-s)/t.getVisibleDatasetCount();this.outerRadius=r-a*this.index,this.innerRadius=this.outerRadius-a}updateElements(t,n,i,o){const r=o==="reset",s=this.chart,c=s.options.animation,l=this._cachedMeta.rScale,A=l.xCenter,d=l.yCenter,u=l.getIndexAngle(0)-.5*Bt;let h=u,p;const g=360/this.countVisibleElements();for(p=0;p<n;++p)h+=this._computeAngle(p,o,g);for(p=n;p<n+i;p++){const b=t[p];let v=h,w=h+this._computeAngle(p,o,g),_=s.getDataVisibility(p)?l.getDistanceFromCenterForValue(this.getParsed(p).r):0;h=w,r&&(c.animateScale&&(_=0),c.animateRotate&&(v=w=u));const m={x:A,y:d,innerRadius:0,outerRadius:_,startAngle:v,endAngle:w,options:this.resolveDataElementOptions(p,b.active?"active":o)};this.updateElement(b,p,m,o)}}countVisibleElements(){const t=this._cachedMeta;let n=0;return t.data.forEach((i,o)=>{!isNaN(this.getParsed(o).r)&&this.chart.getDataVisibility(o)&&n++}),n}_computeAngle(t,n,i){return this.chart.getDataVisibility(t)?_e(this.resolveDataElementOptions(t,n).angle||i):0}}Z(Qo,"id","polarArea"),Z(Qo,"defaults",{dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0}),Z(Qo,"overrides",{aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const n=t.data;if(n.labels.length&&n.datasets.length){const{labels:{pointStyle:i,color:o}}=t.legend.options;return n.labels.map((r,s)=>{const c=t.getDatasetMeta(0).controller.getStyle(s);return{text:r,fillStyle:c.backgroundColor,strokeStyle:c.borderColor,fontColor:o,lineWidth:c.borderWidth,pointStyle:i,hidden:!t.getDataVisibility(s),index:s}})}return[]}},onClick(t,n,i){i.chart.toggleDataVisibility(n.index),i.chart.update()}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}});function mn(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class Hs{constructor(t){Z(this,"options");this.options=t||{}}static override(t){Object.assign(Hs.prototype,t)}init(){}formats(){return mn()}parse(){return mn()}format(){return mn()}add(){return mn()}diff(){return mn()}startOf(){return mn()}endOf(){return mn()}}var vv={_date:Hs};function wv(e,t,n,i){const{controller:o,data:r,_sorted:s}=e,a=o._cachedMeta.iScale;if(a&&t===a.axis&&t!=="r"&&s&&r.length){const c=a._reversePixels?ab:xs;if(i){if(o._sharedOptions){const l=r[0],A=typeof l.getRange=="function"&&l.getRange(t);if(A){const d=c(r,t,n-A),u=c(r,t,n+A);return{lo:d.lo,hi:u.hi}}}}else return c(r,t,n)}return{lo:0,hi:r.length-1}}function Di(e,t,n,i,o){const r=e.getSortedVisibleDatasetMetas(),s=n[t];for(let a=0,c=r.length;a<c;++a){const{index:l,data:A}=r[a],{lo:d,hi:u}=wv(r[a],t,s,o);for(let h=d;h<=u;++h){const p=A[h];p.skip||i(p,l,h)}}}function yv(e){const t=e.indexOf("x")!==-1,n=e.indexOf("y")!==-1;return function(i,o){const r=t?Math.abs(i.x-o.x):0,s=n?Math.abs(i.y-o.y):0;return Math.sqrt(Math.pow(r,2)+Math.pow(s,2))}}function Fs(e,t,n,i,o){const r=[];return!o&&!e.isPointInArea(t)||Di(e,n,t,function(a,c,l){!o&&!$A(a,e.chartArea,0)||a.inRange(t.x,t.y,i)&&r.push({element:a,datasetIndex:c,index:l})},!0),r}function xv(e,t,n,i){let o=[];function r(s,a,c){const{startAngle:l,endAngle:A}=s.getProps(["startAngle","endAngle"],i),{angle:d}=ob(s,{x:t.x,y:t.y});ws(d,l,A)&&o.push({element:s,datasetIndex:a,index:c})}return Di(e,n,t,r),o}function _v(e,t,n,i,o,r){let s=[];const a=yv(n);let c=Number.POSITIVE_INFINITY;function l(A,d,u){const h=A.inRange(t.x,t.y,o);if(i&&!h)return;const p=A.getCenterPoint(o);if(!(!!r||e.isPointInArea(p))&&!h)return;const b=a(t,p);b<c?(s=[{element:A,datasetIndex:d,index:u}],c=b):b===c&&s.push({element:A,datasetIndex:d,index:u})}return Di(e,n,t,l),s}function zs(e,t,n,i,o,r){return!r&&!e.isPointInArea(t)?[]:n==="r"&&!i?xv(e,t,n,o):_v(e,t,n,i,o,r)}function Pd(e,t,n,i,o){const r=[],s=n==="x"?"inXRange":"inYRange";let a=!1;return Di(e,n,t,(c,l,A)=>{c[s]&&c[s](t[n],o)&&(r.push({element:c,datasetIndex:l,index:A}),a=a||c.inRange(t.x,t.y,o))}),i&&!a?[]:r}var Pv={evaluateInteractionItems:Di,modes:{index(e,t,n,i){const o=pn(t,e),r=n.axis||"x",s=n.includeInvisible||!1,a=n.intersect?Fs(e,o,r,i,s):zs(e,o,r,!1,i,s),c=[];return a.length?(e.getSortedVisibleDatasetMetas().forEach(l=>{const A=a[0].index,d=l.data[A];d&&!d.skip&&c.push({element:d,datasetIndex:l.index,index:A})}),c):[]},dataset(e,t,n,i){const o=pn(t,e),r=n.axis||"xy",s=n.includeInvisible||!1;let a=n.intersect?Fs(e,o,r,i,s):zs(e,o,r,!1,i,s);if(a.length>0){const c=a[0].datasetIndex,l=e.getDatasetMeta(c).data;a=[];for(let A=0;A<l.length;++A)a.push({element:l[A],datasetIndex:c,index:A})}return a},point(e,t,n,i){const o=pn(t,e),r=n.axis||"xy",s=n.includeInvisible||!1;return Fs(e,o,r,i,s)},nearest(e,t,n,i){const o=pn(t,e),r=n.axis||"xy",s=n.includeInvisible||!1;return zs(e,o,r,n.intersect,i,s)},x(e,t,n,i){const o=pn(t,e);return Pd(e,o,"x",n.intersect,i)},y(e,t,n,i){const o=pn(t,e);return Pd(e,o,"y",n.intersect,i)}}};const Bd=["left","top","right","bottom"];function Ci(e,t){return e.filter(n=>n.pos===t)}function kd(e,t){return e.filter(n=>Bd.indexOf(n.pos)===-1&&n.box.axis===t)}function Ei(e,t){return e.sort((n,i)=>{const o=t?i:n,r=t?n:i;return o.weight===r.weight?o.index-r.index:o.weight-r.weight})}function Bv(e){const t=[];let n,i,o,r,s,a;for(n=0,i=(e||[]).length;n<i;++n)o=e[n],{position:r,options:{stack:s,stackWeight:a=1}}=o,t.push({index:n,box:o,pos:r,horizontal:o.isHorizontal(),weight:o.weight,stack:s&&r+s,stackWeight:a});return t}function kv(e){const t={};for(const n of e){const{stack:i,pos:o,stackWeight:r}=n;if(!i||!Bd.includes(o))continue;const s=t[i]||(t[i]={count:0,placed:0,weight:0,size:0});s.count++,s.weight+=r}return t}function Dv(e,t){const n=kv(e),{vBoxMaxWidth:i,hBoxMaxHeight:o}=t;let r,s,a;for(r=0,s=e.length;r<s;++r){a=e[r];const{fullSize:c}=a.box,l=n[a.stack],A=l&&a.stackWeight/l.weight;a.horizontal?(a.width=A?A*i:c&&t.availableWidth,a.height=o):(a.width=i,a.height=A?A*o:c&&t.availableHeight)}return n}function Cv(e){const t=Bv(e),n=Ei(t.filter(l=>l.box.fullSize),!0),i=Ei(Ci(t,"left"),!0),o=Ei(Ci(t,"right")),r=Ei(Ci(t,"top"),!0),s=Ei(Ci(t,"bottom")),a=kd(t,"x"),c=kd(t,"y");return{fullSize:n,leftAndTop:i.concat(r),rightAndBottom:o.concat(c).concat(s).concat(a),chartArea:Ci(t,"chartArea"),vertical:i.concat(o).concat(c),horizontal:r.concat(s).concat(a)}}function Dd(e,t,n,i){return Math.max(e[n],t[n])+Math.max(e[i],t[i])}function Cd(e,t){e.top=Math.max(e.top,t.top),e.left=Math.max(e.left,t.left),e.bottom=Math.max(e.bottom,t.bottom),e.right=Math.max(e.right,t.right)}function Ev(e,t,n,i){const{pos:o,box:r}=n,s=e.maxPadding;if(!it(o)){n.size&&(e[o]-=n.size);const d=i[n.stack]||{size:0,count:1};d.size=Math.max(d.size,n.horizontal?r.height:r.width),n.size=d.size/d.count,e[o]+=n.size}r.getPadding&&Cd(s,r.getPadding());const a=Math.max(0,t.outerWidth-Dd(s,e,"left","right")),c=Math.max(0,t.outerHeight-Dd(s,e,"top","bottom")),l=a!==e.w,A=c!==e.h;return e.w=a,e.h=c,n.horizontal?{same:l,other:A}:{same:A,other:l}}function Sv(e){const t=e.maxPadding;function n(i){const o=Math.max(t[i]-e[i],0);return e[i]+=o,o}e.y+=n("top"),e.x+=n("left"),n("right"),n("bottom")}function Mv(e,t){const n=t.maxPadding;function i(o){const r={left:0,top:0,right:0,bottom:0};return o.forEach(s=>{r[s]=Math.max(t[s],n[s])}),r}return i(e?["left","right"]:["top","bottom"])}function Si(e,t,n,i){const o=[];let r,s,a,c,l,A;for(r=0,s=e.length,l=0;r<s;++r){a=e[r],c=a.box,c.update(a.width||t.w,a.height||t.h,Mv(a.horizontal,t));const{same:d,other:u}=Ev(t,n,a,i);l|=d&&o.length,A=A||u,c.fullSize||o.push(a)}return l&&Si(o,t,n,i)||A}function Lo(e,t,n,i,o){e.top=n,e.left=t,e.right=t+i,e.bottom=n+o,e.width=i,e.height=o}function Ed(e,t,n,i){const o=n.padding;let{x:r,y:s}=t;for(const a of e){const c=a.box,l=i[a.stack]||{count:1,placed:0,weight:1},A=a.stackWeight/l.weight||1;if(a.horizontal){const d=t.w*A,u=l.size||c.height;yi(l.start)&&(s=l.start),c.fullSize?Lo(c,o.left,s,n.outerWidth-o.right-o.left,u):Lo(c,t.left+l.placed,s,d,u),l.start=s,l.placed+=d,s=c.bottom}else{const d=t.h*A,u=l.size||c.width;yi(l.start)&&(r=l.start),c.fullSize?Lo(c,r,o.top,u,n.outerHeight-o.bottom-o.top):Lo(c,r,t.top+l.placed,u,d),l.start=r,l.placed+=d,r=c.right}}t.x=r,t.y=s}var se={addBox(e,t){e.boxes||(e.boxes=[]),t.fullSize=t.fullSize||!1,t.position=t.position||"top",t.weight=t.weight||0,t._layers=t._layers||function(){return[{z:0,draw(n){t.draw(n)}}]},e.boxes.push(t)},removeBox(e,t){const n=e.boxes?e.boxes.indexOf(t):-1;n!==-1&&e.boxes.splice(n,1)},configure(e,t,n){t.fullSize=n.fullSize,t.position=n.position,t.weight=n.weight},update(e,t,n,i){if(!e)return;const o=re(e.options.layout.padding),r=Math.max(t-o.width,0),s=Math.max(n-o.height,0),a=Cv(e.boxes),c=a.vertical,l=a.horizontal;ct(e.boxes,g=>{typeof g.beforeLayout=="function"&&g.beforeLayout()});const A=c.reduce((g,b)=>b.box.options&&b.box.options.display===!1?g:g+1,0)||1,d=Object.freeze({outerWidth:t,outerHeight:n,padding:o,availableWidth:r,availableHeight:s,vBoxMaxWidth:r/2/A,hBoxMaxHeight:s/2}),u=Object.assign({},o);Cd(u,re(i));const h=Object.assign({maxPadding:u,w:r,h:s,x:o.left,y:o.top},o),p=Dv(c.concat(l),d);Si(a.fullSize,h,d,p),Si(c,h,d,p),Si(l,h,d,p)&&Si(c,h,d,p),Sv(h),Ed(a.leftAndTop,h,d,p),h.x+=h.w,h.y+=h.h,Ed(a.rightAndBottom,h,d,p),e.chartArea={left:h.left,top:h.top,right:h.left+h.w,bottom:h.top+h.h,height:h.h,width:h.w},ct(a.chartArea,g=>{const b=g.box;Object.assign(b,e.chartArea),b.update(h.w,h.h,{left:0,top:0,right:0,bottom:0})})}};class Sd{acquireContext(t,n){}releaseContext(t){return!1}addEventListener(t,n,i){}removeEventListener(t,n,i){}getDevicePixelRatio(){return 1}getMaximumSize(t,n,i,o){return n=Math.max(0,n||t.width),i=i||t.height,{width:n,height:Math.max(0,o?Math.floor(n/o):i)}}isAttached(t){return!0}updateConfig(t){}}class Tv extends Sd{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const Ro="$chartjs",Iv={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},Md=e=>e===null||e==="";function Ov(e,t){const n=e.style,i=e.getAttribute("height"),o=e.getAttribute("width");if(e[Ro]={initial:{height:i,width:o,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",Md(o)){const r=ld(e,"width");r!==void 0&&(e.width=r)}if(Md(i))if(e.style.height==="")e.height=e.width/(t||2);else{const r=ld(e,"height");r!==void 0&&(e.height=r)}return e}const Td=Wb?{passive:!0}:!1;function Qv(e,t,n){e&&e.addEventListener(t,n,Td)}function Lv(e,t,n){e&&e.canvas&&e.canvas.removeEventListener(t,n,Td)}function Rv(e,t){const n=Iv[e.type]||e.type,{x:i,y:o}=pn(e,t);return{type:n,chart:t,native:e,x:i!==void 0?i:null,y:o!==void 0?o:null}}function Ho(e,t){for(const n of e)if(n===t||n.contains(t))return!0}function Hv(e,t,n){const i=e.canvas,o=new MutationObserver(r=>{let s=!1;for(const a of r)s=s||Ho(a.addedNodes,i),s=s&&!Ho(a.removedNodes,i);s&&n()});return o.observe(document,{childList:!0,subtree:!0}),o}function Fv(e,t,n){const i=e.canvas,o=new MutationObserver(r=>{let s=!1;for(const a of r)s=s||Ho(a.removedNodes,i),s=s&&!Ho(a.addedNodes,i);s&&n()});return o.observe(document,{childList:!0,subtree:!0}),o}const Mi=new Map;let Id=0;function Od(){const e=window.devicePixelRatio;e!==Id&&(Id=e,Mi.forEach((t,n)=>{n.currentDevicePixelRatio!==e&&t()}))}function zv(e,t){Mi.size||window.addEventListener("resize",Od),Mi.set(e,t)}function Nv(e){Mi.delete(e),Mi.size||window.removeEventListener("resize",Od)}function jv(e,t,n){const i=e.canvas,o=i&&Is(i);if(!o)return;const r=NA((a,c)=>{const l=o.clientWidth;n(a,c),l<o.clientWidth&&n()},window),s=new ResizeObserver(a=>{const c=a[0],l=c.contentRect.width,A=c.contentRect.height;l===0&&A===0||r(l,A)});return s.observe(o),zv(e,r),s}function Ns(e,t,n){n&&n.disconnect(),t==="resize"&&Nv(e)}function Uv(e,t,n){const i=e.canvas,o=NA(r=>{e.ctx!==null&&n(Rv(r,e))},e);return Qv(i,t,o),o}class Vv extends Sd{acquireContext(t,n){const i=t&&t.getContext&&t.getContext("2d");return i&&i.canvas===t?(Ov(t,n),i):null}releaseContext(t){const n=t.canvas;if(!n[Ro])return!1;const i=n[Ro].initial;["height","width"].forEach(r=>{const s=i[r];ut(s)?n.removeAttribute(r):n.setAttribute(r,s)});const o=i.style||{};return Object.keys(o).forEach(r=>{n.style[r]=o[r]}),n.width=n.width,delete n[Ro],!0}addEventListener(t,n,i){this.removeEventListener(t,n);const o=t.$proxies||(t.$proxies={}),s={attach:Hv,detach:Fv,resize:jv}[n]||Uv;o[n]=s(t,n,i)}removeEventListener(t,n){const i=t.$proxies||(t.$proxies={}),o=i[n];if(!o)return;({attach:Ns,detach:Ns,resize:Ns}[n]||Lv)(t,n,o),i[n]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,n,i,o){return Vb(t,n,i,o)}isAttached(t){const n=t&&Is(t);return!!(n&&n.isConnected)}}function Wv(e){return!Ts()||typeof OffscreenCanvas<"u"&&e instanceof OffscreenCanvas?Tv:Vv}let Nn=(Zo=class{constructor(){Z(this,"x");Z(this,"y");Z(this,"active",!1);Z(this,"options");Z(this,"$animations")}tooltipPosition(t){const{x:n,y:i}=this.getProps(["x","y"],t);return{x:n,y:i}}hasValue(){return ko(this.x)&&ko(this.y)}getProps(t,n){const i=this.$animations;if(!n||!i)return this;const o={};return t.forEach(r=>{o[r]=i[r]&&i[r].active()?i[r]._to:this[r]}),o}},Z(Zo,"defaults",{}),Z(Zo,"defaultRoutes"),Zo);function Yv(e,t){const n=e.options.ticks,i=Kv(e),o=Math.min(n.maxTicksLimit||i,i),r=n.major.enabled?Xv(t):[],s=r.length,a=r[0],c=r[s-1],l=[];if(s>o)return Gv(t,l,r,s/o),l;const A=qv(r,t,o);if(s>0){let d,u;const h=s>1?Math.round((c-a)/(s-1)):null;for(Fo(t,l,A,ut(h)?0:a-h,a),d=0,u=s-1;d<u;d++)Fo(t,l,A,r[d],r[d+1]);return Fo(t,l,A,c,ut(h)?t.length:c+h),l}return Fo(t,l,A),l}function Kv(e){const t=e.options.offset,n=e._tickSize(),i=e._length/n+(t?0:1),o=e._maxLength/n;return Math.floor(Math.min(i,o))}function qv(e,t,n){const i=Jv(e),o=t.length/n;if(!i)return Math.max(o,1);const r=tb(i);for(let s=0,a=r.length-1;s<a;s++){const c=r[s];if(c>o)return c}return Math.max(o,1)}function Xv(e){const t=[];let n,i;for(n=0,i=e.length;n<i;n++)e[n].major&&t.push(n);return t}function Gv(e,t,n,i){let o=0,r=n[0],s;for(i=Math.ceil(i),s=0;s<e.length;s++)s===r&&(t.push(e[s]),o++,r=n[o*i])}function Fo(e,t,n,i,o){const r=st(i,0),s=Math.min(st(o,e.length),e.length);let a=0,c,l,A;for(n=Math.ceil(n),o&&(c=o-i,n=c/Math.floor(c/n)),A=r;A<0;)a++,A=Math.round(r+a*n);for(l=Math.max(r,0);l<s;l++)l===A&&(t.push(e[l]),a++,A=Math.round(r+a*n))}function Jv(e){const t=e.length;let n,i;if(t<2)return!1;for(i=e[0],n=1;n<t;++n)if(e[n]-e[n-1]!==i)return!1;return i}const Zv=e=>e==="left"?"right":e==="right"?"left":e,Qd=(e,t,n)=>t==="top"||t==="left"?e[t]+n:e[t]-n,Ld=(e,t)=>Math.min(t||e,e);function Rd(e,t){const n=[],i=e.length/t,o=e.length;let r=0;for(;r<o;r+=i)n.push(e[Math.floor(r)]);return n}function $v(e,t,n){const i=e.ticks.length,o=Math.min(t,i-1),r=e._startPixel,s=e._endPixel,a=1e-6;let c=e.getPixelForTick(o),l;if(!(n&&(i===1?l=Math.max(c-r,s-c):t===0?l=(e.getPixelForTick(1)-c)/2:l=(c-e.getPixelForTick(o-1))/2,c+=o<t?l:-l,c<r-a||c>s+a)))return c}function tw(e,t){ct(e,n=>{const i=n.gc,o=i.length/2;let r;if(o>t){for(r=0;r<o;++r)delete n.data[i[r]];i.splice(0,o)}})}function Ti(e){return e.drawTicks?e.tickLength:0}function Hd(e,t){if(!e.display)return 0;const n=Tt(e.font,t),i=re(e.padding);return(Pt(e.text)?e.text.length:1)*n.lineHeight+i.height}function ew(e,t){return Hn(e,{scale:t,type:"scale"})}function nw(e,t,n){return Hn(e,{tick:n,index:t,type:"tick"})}function iw(e,t,n){let i=_s(e);return(n&&t!=="right"||!n&&t==="right")&&(i=Zv(i)),i}function ow(e,t,n,i){const{top:o,left:r,bottom:s,right:a,chart:c}=e,{chartArea:l,scales:A}=c;let d=0,u,h,p;const g=s-o,b=a-r;if(e.isHorizontal()){if(h=Mt(i,r,a),it(n)){const v=Object.keys(n)[0],w=n[v];p=A[v].getPixelForValue(w)+g-t}else n==="center"?p=(l.bottom+l.top)/2+g-t:p=Qd(e,n,t);u=a-r}else{if(it(n)){const v=Object.keys(n)[0],w=n[v];h=A[v].getPixelForValue(w)-b+t}else n==="center"?h=(l.left+l.right)/2-b+t:h=Qd(e,n,t);p=Mt(i,s,o),d=n==="left"?-Xt:Xt}return{titleX:h,titleY:p,maxWidth:u,rotation:d}}class jn extends Nn{constructor(t){super(),this.id=t.id,this.type=t.type,this.options=void 0,this.ctx=t.ctx,this.chart=t.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(t){this.options=t.setContext(this.getContext()),this.axis=t.axis,this._userMin=this.parse(t.min),this._userMax=this.parse(t.max),this._suggestedMin=this.parse(t.suggestedMin),this._suggestedMax=this.parse(t.suggestedMax)}parse(t,n){return t}getUserBounds(){let{_userMin:t,_userMax:n,_suggestedMin:i,_suggestedMax:o}=this;return t=xe(t,Number.POSITIVE_INFINITY),n=xe(n,Number.NEGATIVE_INFINITY),i=xe(i,Number.POSITIVE_INFINITY),o=xe(o,Number.NEGATIVE_INFINITY),{min:xe(t,i),max:xe(n,o),minDefined:oe(t),maxDefined:oe(n)}}getMinMax(t){let{min:n,max:i,minDefined:o,maxDefined:r}=this.getUserBounds(),s;if(o&&r)return{min:n,max:i};const a=this.getMatchingVisibleMetas();for(let c=0,l=a.length;c<l;++c)s=a[c].controller.getMinMax(this,t),o||(n=Math.min(n,s.min)),r||(i=Math.max(i,s.max));return n=r&&n>i?i:n,i=o&&n>i?n:i,{min:xe(n,xe(i,n)),max:xe(i,xe(n,i))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]}getLabelItems(t=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(t))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){ht(this.options.beforeUpdate,[this])}update(t,n,i){const{beginAtZero:o,grace:r,ticks:s}=this.options,a=s.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=n,this._margins=i=Object.assign({left:0,right:0,top:0,bottom:0},i),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+i.left+i.right:this.height+i.top+i.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=Cb(this,r,o),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const c=a<this.ticks.length;this._convertTicksToLabels(c?Rd(this.ticks,a):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),s.display&&(s.autoSkip||s.source==="auto")&&(this.ticks=Yv(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),c&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let t=this.options.reverse,n,i;this.isHorizontal()?(n=this.left,i=this.right):(n=this.top,i=this.bottom,t=!t),this._startPixel=n,this._endPixel=i,this._reversePixels=t,this._length=i-n,this._alignToPixels=this.options.alignToPixels}afterUpdate(){ht(this.options.afterUpdate,[this])}beforeSetDimensions(){ht(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){ht(this.options.afterSetDimensions,[this])}_callHooks(t){this.chart.notifyPlugins(t,this.getContext()),ht(this.options[t],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){ht(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(t){const n=this.options.ticks;let i,o,r;for(i=0,o=t.length;i<o;i++)r=t[i],r.label=ht(n.callback,[r.value,i,t],this)}afterTickToLabelConversion(){ht(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){ht(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const t=this.options,n=t.ticks,i=Ld(this.ticks.length,t.ticks.maxTicksLimit),o=n.minRotation||0,r=n.maxRotation;let s=o,a,c,l;if(!this._isVisible()||!n.display||o>=r||i<=1||!this.isHorizontal()){this.labelRotation=o;return}const A=this._getLabelSizes(),d=A.widest.width,u=A.highest.height,h=de(this.chart.width-d,0,this.maxWidth);a=t.offset?this.maxWidth/i:h/(i-1),d+6>a&&(a=h/(i-(t.offset?.5:1)),c=this.maxHeight-Ti(t.grid)-n.padding-Hd(t.title,this.chart.options.font),l=Math.sqrt(d*d+u*u),s=ib(Math.min(Math.asin(de((A.highest.height+6)/a,-1,1)),Math.asin(de(c/l,-1,1))-Math.asin(de(u/l,-1,1)))),s=Math.max(o,Math.min(r,s))),this.labelRotation=s}afterCalculateLabelRotation(){ht(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){ht(this.options.beforeFit,[this])}fit(){const t={width:0,height:0},{chart:n,options:{ticks:i,title:o,grid:r}}=this,s=this._isVisible(),a=this.isHorizontal();if(s){const c=Hd(o,n.options.font);if(a?(t.width=this.maxWidth,t.height=Ti(r)+c):(t.height=this.maxHeight,t.width=Ti(r)+c),i.display&&this.ticks.length){const{first:l,last:A,widest:d,highest:u}=this._getLabelSizes(),h=i.padding*2,p=_e(this.labelRotation),g=Math.cos(p),b=Math.sin(p);if(a){const v=i.mirror?0:b*d.width+g*u.height;t.height=Math.min(this.maxHeight,t.height+v+h)}else{const v=i.mirror?0:g*d.width+b*u.height;t.width=Math.min(this.maxWidth,t.width+v+h)}this._calculatePadding(l,A,b,g)}}this._handleMargins(),a?(this.width=this._length=n.width-this._margins.left-this._margins.right,this.height=t.height):(this.width=t.width,this.height=this._length=n.height-this._margins.top-this._margins.bottom)}_calculatePadding(t,n,i,o){const{ticks:{align:r,padding:s},position:a}=this.options,c=this.labelRotation!==0,l=a!=="top"&&this.axis==="x";if(this.isHorizontal()){const A=this.getPixelForTick(0)-this.left,d=this.right-this.getPixelForTick(this.ticks.length-1);let u=0,h=0;c?l?(u=o*t.width,h=i*n.height):(u=i*t.height,h=o*n.width):r==="start"?h=n.width:r==="end"?u=t.width:r!=="inner"&&(u=t.width/2,h=n.width/2),this.paddingLeft=Math.max((u-A+s)*this.width/(this.width-A),0),this.paddingRight=Math.max((h-d+s)*this.width/(this.width-d),0)}else{let A=n.height/2,d=t.height/2;r==="start"?(A=0,d=t.height):r==="end"&&(A=n.height,d=0),this.paddingTop=A+s,this.paddingBottom=d+s}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){ht(this.options.afterFit,[this])}isHorizontal(){const{axis:t,position:n}=this.options;return n==="top"||n==="bottom"||t==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(t){this.beforeTickToLabelConversion(),this.generateTickLabels(t);let n,i;for(n=0,i=t.length;n<i;n++)ut(t[n].label)&&(t.splice(n,1),i--,n--);this.afterTickToLabelConversion()}_getLabelSizes(){let t=this._labelSizes;if(!t){const n=this.options.ticks.sampleSize;let i=this.ticks;n<i.length&&(i=Rd(i,n)),this._labelSizes=t=this._computeLabelSizes(i,i.length,this.options.ticks.maxTicksLimit)}return t}_computeLabelSizes(t,n,i){const{ctx:o,_longestTextCache:r}=this,s=[],a=[],c=Math.floor(n/Ld(n,i));let l=0,A=0,d,u,h,p,g,b,v,w,_,m,y;for(d=0;d<n;d+=c){if(p=t[d].label,g=this._resolveTickFontOptions(d),o.font=b=g.string,v=r[b]=r[b]||{data:{},gc:[]},w=g.lineHeight,_=m=0,!ut(p)&&!Pt(p))_=XA(o,v.data,v.gc,_,p),m=w;else if(Pt(p))for(u=0,h=p.length;u<h;++u)y=p[u],!ut(y)&&!Pt(y)&&(_=XA(o,v.data,v.gc,_,y),m+=w);s.push(_),a.push(m),l=Math.max(_,l),A=Math.max(m,A)}tw(r,n);const x=s.indexOf(l),P=a.indexOf(A),C=B=>({width:s[B]||0,height:a[B]||0});return{first:C(0),last:C(n-1),widest:C(x),highest:C(P),widths:s,heights:a}}getLabelForValue(t){return t}getPixelForValue(t,n){return NaN}getValueForPixel(t){}getPixelForTick(t){const n=this.ticks;return t<0||t>n.length-1?null:this.getPixelForValue(n[t].value)}getPixelForDecimal(t){this._reversePixels&&(t=1-t);const n=this._startPixel+t*this._length;return sb(this._alignToPixels?hn(this.chart,n,0):n)}getDecimalForPixel(t){const n=(t-this._startPixel)/this._length;return this._reversePixels?1-n:n}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:t,max:n}=this;return t<0&&n<0?n:t>0&&n>0?t:0}getContext(t){const n=this.ticks||[];if(t>=0&&t<n.length){const i=n[t];return i.$context||(i.$context=nw(this.getContext(),t,i))}return this.$context||(this.$context=ew(this.chart.getContext(),this))}_tickSize(){const t=this.options.ticks,n=_e(this.labelRotation),i=Math.abs(Math.cos(n)),o=Math.abs(Math.sin(n)),r=this._getLabelSizes(),s=t.autoSkipPadding||0,a=r?r.widest.width+s:0,c=r?r.highest.height+s:0;return this.isHorizontal()?c*i>a*o?a/i:c/o:c*o<a*i?c/i:a/o}_isVisible(){const t=this.options.display;return t!=="auto"?!!t:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(t){const n=this.axis,i=this.chart,o=this.options,{grid:r,position:s,border:a}=o,c=r.offset,l=this.isHorizontal(),d=this.ticks.length+(c?1:0),u=Ti(r),h=[],p=a.setContext(this.getContext()),g=p.display?p.width:0,b=g/2,v=function(T){return hn(i,T,g)};let w,_,m,y,x,P,C,B,D,E,S,I;if(s==="top")w=v(this.bottom),P=this.bottom-u,B=w-b,E=v(t.top)+b,I=t.bottom;else if(s==="bottom")w=v(this.top),E=t.top,I=v(t.bottom)-b,P=w+b,B=this.top+u;else if(s==="left")w=v(this.right),x=this.right-u,C=w-b,D=v(t.left)+b,S=t.right;else if(s==="right")w=v(this.left),D=t.left,S=v(t.right)-b,x=w+b,C=this.left+u;else if(n==="x"){if(s==="center")w=v((t.top+t.bottom)/2+.5);else if(it(s)){const T=Object.keys(s)[0],Q=s[T];w=v(this.chart.scales[T].getPixelForValue(Q))}E=t.top,I=t.bottom,P=w+b,B=P+u}else if(n==="y"){if(s==="center")w=v((t.left+t.right)/2);else if(it(s)){const T=Object.keys(s)[0],Q=s[T];w=v(this.chart.scales[T].getPixelForValue(Q))}x=w-b,C=x-u,D=t.left,S=t.right}const O=st(o.ticks.maxTicksLimit,d),M=Math.max(1,Math.ceil(d/O));for(_=0;_<d;_+=M){const T=this.getContext(_),Q=r.setContext(T),z=a.setContext(T),V=Q.lineWidth,j=Q.color,$=z.dash||[],K=z.dashOffset,tt=Q.tickWidth,F=Q.tickColor,J=Q.tickBorderDash||[],ot=Q.tickBorderDashOffset;m=$v(this,_,c),m!==void 0&&(y=hn(i,m,V),l?x=C=D=S=y:P=B=E=I=y,h.push({tx1:x,ty1:P,tx2:C,ty2:B,x1:D,y1:E,x2:S,y2:I,width:V,color:j,borderDash:$,borderDashOffset:K,tickWidth:tt,tickColor:F,tickBorderDash:J,tickBorderDashOffset:ot}))}return this._ticksLength=d,this._borderValue=w,h}_computeLabelItems(t){const n=this.axis,i=this.options,{position:o,ticks:r}=i,s=this.isHorizontal(),a=this.ticks,{align:c,crossAlign:l,padding:A,mirror:d}=r,u=Ti(i.grid),h=u+A,p=d?-A:h,g=-_e(this.labelRotation),b=[];let v,w,_,m,y,x,P,C,B,D,E,S,I="middle";if(o==="top")x=this.bottom-p,P=this._getXAxisLabelAlignment();else if(o==="bottom")x=this.top+p,P=this._getXAxisLabelAlignment();else if(o==="left"){const M=this._getYAxisLabelAlignment(u);P=M.textAlign,y=M.x}else if(o==="right"){const M=this._getYAxisLabelAlignment(u);P=M.textAlign,y=M.x}else if(n==="x"){if(o==="center")x=(t.top+t.bottom)/2+h;else if(it(o)){const M=Object.keys(o)[0],T=o[M];x=this.chart.scales[M].getPixelForValue(T)+h}P=this._getXAxisLabelAlignment()}else if(n==="y"){if(o==="center")y=(t.left+t.right)/2-h;else if(it(o)){const M=Object.keys(o)[0],T=o[M];y=this.chart.scales[M].getPixelForValue(T)}P=this._getYAxisLabelAlignment(u).textAlign}n==="y"&&(c==="start"?I="top":c==="end"&&(I="bottom"));const O=this._getLabelSizes();for(v=0,w=a.length;v<w;++v){_=a[v],m=_.label;const M=r.setContext(this.getContext(v));C=this.getPixelForTick(v)+r.labelOffset,B=this._resolveTickFontOptions(v),D=B.lineHeight,E=Pt(m)?m.length:1;const T=E/2,Q=M.color,z=M.textStrokeColor,V=M.textStrokeWidth;let j=P;s?(y=C,P==="inner"&&(v===w-1?j=this.options.reverse?"left":"right":v===0?j=this.options.reverse?"right":"left":j="center"),o==="top"?l==="near"||g!==0?S=-E*D+D/2:l==="center"?S=-O.highest.height/2-T*D+D:S=-O.highest.height+D/2:l==="near"||g!==0?S=D/2:l==="center"?S=O.highest.height/2-T*D:S=O.highest.height-E*D,d&&(S*=-1),g!==0&&!M.showLabelBackdrop&&(y+=D/2*Math.sin(g))):(x=C,S=(1-E)*D/2);let $;if(M.showLabelBackdrop){const K=re(M.backdropPadding),tt=O.heights[v],F=O.widths[v];let J=S-K.top,ot=0-K.left;switch(I){case"middle":J-=tt/2;break;case"bottom":J-=tt;break}switch(P){case"center":ot-=F/2;break;case"right":ot-=F;break;case"inner":v===w-1?ot-=F:v>0&&(ot-=F/2);break}$={left:ot,top:J,width:F+K.width,height:tt+K.height,color:M.backdropColor}}b.push({label:m,font:B,textOffset:S,options:{rotation:g,color:Q,strokeColor:z,strokeWidth:V,textAlign:j,textBaseline:I,translation:[y,x],backdrop:$}})}return b}_getXAxisLabelAlignment(){const{position:t,ticks:n}=this.options;if(-_e(this.labelRotation))return t==="top"?"left":"right";let o="center";return n.align==="start"?o="left":n.align==="end"?o="right":n.align==="inner"&&(o="inner"),o}_getYAxisLabelAlignment(t){const{position:n,ticks:{crossAlign:i,mirror:o,padding:r}}=this.options,s=this._getLabelSizes(),a=t+r,c=s.widest.width;let l,A;return n==="left"?o?(A=this.right+r,i==="near"?l="left":i==="center"?(l="center",A+=c/2):(l="right",A+=c)):(A=this.right-a,i==="near"?l="right":i==="center"?(l="center",A-=c/2):(l="left",A=this.left)):n==="right"?o?(A=this.left+r,i==="near"?l="right":i==="center"?(l="center",A-=c/2):(l="left",A-=c)):(A=this.left+a,i==="near"?l="left":i==="center"?(l="center",A+=c/2):(l="right",A=this.right)):l="right",{textAlign:l,x:A}}_computeLabelArea(){if(this.options.ticks.mirror)return;const t=this.chart,n=this.options.position;if(n==="left"||n==="right")return{top:0,left:this.left,bottom:t.height,right:this.right};if(n==="top"||n==="bottom")return{top:this.top,left:0,bottom:this.bottom,right:t.width}}drawBackground(){const{ctx:t,options:{backgroundColor:n},left:i,top:o,width:r,height:s}=this;n&&(t.save(),t.fillStyle=n,t.fillRect(i,o,r,s),t.restore())}getLineWidthForValue(t){const n=this.options.grid;if(!this._isVisible()||!n.display)return 0;const o=this.ticks.findIndex(r=>r.value===t);return o>=0?n.setContext(this.getContext(o)).lineWidth:0}drawGrid(t){const n=this.options.grid,i=this.ctx,o=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t));let r,s;const a=(c,l,A)=>{!A.width||!A.color||(i.save(),i.lineWidth=A.width,i.strokeStyle=A.color,i.setLineDash(A.borderDash||[]),i.lineDashOffset=A.borderDashOffset,i.beginPath(),i.moveTo(c.x,c.y),i.lineTo(l.x,l.y),i.stroke(),i.restore())};if(n.display)for(r=0,s=o.length;r<s;++r){const c=o[r];n.drawOnChartArea&&a({x:c.x1,y:c.y1},{x:c.x2,y:c.y2},c),n.drawTicks&&a({x:c.tx1,y:c.ty1},{x:c.tx2,y:c.ty2},{color:c.tickColor,width:c.tickWidth,borderDash:c.tickBorderDash,borderDashOffset:c.tickBorderDashOffset})}}drawBorder(){const{chart:t,ctx:n,options:{border:i,grid:o}}=this,r=i.setContext(this.getContext()),s=i.display?r.width:0;if(!s)return;const a=o.setContext(this.getContext(0)).lineWidth,c=this._borderValue;let l,A,d,u;this.isHorizontal()?(l=hn(t,this.left,s)-s/2,A=hn(t,this.right,a)+a/2,d=u=c):(d=hn(t,this.top,s)-s/2,u=hn(t,this.bottom,a)+a/2,l=A=c),n.save(),n.lineWidth=r.width,n.strokeStyle=r.color,n.beginPath(),n.moveTo(l,d),n.lineTo(A,u),n.stroke(),n.restore()}drawLabels(t){if(!this.options.ticks.display)return;const i=this.ctx,o=this._computeLabelArea();o&&Ds(i,o);const r=this.getLabelItems(t);for(const s of r){const a=s.options,c=s.font,l=s.label,A=s.textOffset;Pi(i,l,0,A,c,a)}o&&Cs(i)}drawTitle(){const{ctx:t,options:{position:n,title:i,reverse:o}}=this;if(!i.display)return;const r=Tt(i.font),s=re(i.padding),a=i.align;let c=r.lineHeight/2;n==="bottom"||n==="center"||it(n)?(c+=s.bottom,Pt(i.text)&&(c+=r.lineHeight*(i.text.length-1))):c+=s.top;const{titleX:l,titleY:A,maxWidth:d,rotation:u}=ow(this,c,n,a);Pi(t,i.text,0,0,r,{color:i.color,maxWidth:d,rotation:u,textAlign:iw(a,n,o),textBaseline:"middle",translation:[l,A]})}draw(t){this._isVisible()&&(this.drawBackground(),this.drawGrid(t),this.drawBorder(),this.drawTitle(),this.drawLabels(t))}_layers(){const t=this.options,n=t.ticks&&t.ticks.z||0,i=st(t.grid&&t.grid.z,-1),o=st(t.border&&t.border.z,0);return!this._isVisible()||this.draw!==jn.prototype.draw?[{z:n,draw:r=>{this.draw(r)}}]:[{z:i,draw:r=>{this.drawBackground(),this.drawGrid(r),this.drawTitle()}},{z:o,draw:()=>{this.drawBorder()}},{z:n,draw:r=>{this.drawLabels(r)}}]}getMatchingVisibleMetas(t){const n=this.chart.getSortedVisibleDatasetMetas(),i=this.axis+"AxisID",o=[];let r,s;for(r=0,s=n.length;r<s;++r){const a=n[r];a[i]===this.id&&(!t||a.type===t)&&o.push(a)}return o}_resolveTickFontOptions(t){const n=this.options.ticks.setContext(this.getContext(t));return Tt(n.font)}_maxDigits(){const t=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/t}}class zo{constructor(t,n,i){this.type=t,this.scope=n,this.override=i,this.items=Object.create(null)}isForType(t){return Object.prototype.isPrototypeOf.call(this.type.prototype,t.prototype)}register(t){const n=Object.getPrototypeOf(t);let i;aw(n)&&(i=this.register(n));const o=this.items,r=t.id,s=this.scope+"."+r;if(!r)throw new Error("class does not have id: "+t);return r in o||(o[r]=t,rw(t,s,i),this.override&&mt.override(t.id,t.overrides)),s}get(t){return this.items[t]}unregister(t){const n=this.items,i=t.id,o=this.scope;i in n&&delete n[i],o&&i in mt[o]&&(delete mt[o][i],this.override&&delete un[i])}}function rw(e,t,n){const i=vi(Object.create(null),[n?mt.get(n):{},mt.get(t),e.defaults]);mt.set(t,i),e.defaultRoutes&&sw(t,e.defaultRoutes),e.descriptors&&mt.describe(t,e.descriptors)}function sw(e,t){Object.keys(t).forEach(n=>{const i=n.split("."),o=i.pop(),r=[e].concat(i).join("."),s=t[n].split("."),a=s.pop(),c=s.join(".");mt.route(r,o,c,a)})}function aw(e){return"id"in e&&"defaults"in e}class cw{constructor(){this.controllers=new zo(gn,"datasets",!0),this.elements=new zo(Nn,"elements"),this.plugins=new zo(Object,"plugins"),this.scales=new zo(jn,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...t){this._each("register",t)}remove(...t){this._each("unregister",t)}addControllers(...t){this._each("register",t,this.controllers)}addElements(...t){this._each("register",t,this.elements)}addPlugins(...t){this._each("register",t,this.plugins)}addScales(...t){this._each("register",t,this.scales)}getController(t){return this._get(t,this.controllers,"controller")}getElement(t){return this._get(t,this.elements,"element")}getPlugin(t){return this._get(t,this.plugins,"plugin")}getScale(t){return this._get(t,this.scales,"scale")}removeControllers(...t){this._each("unregister",t,this.controllers)}removeElements(...t){this._each("unregister",t,this.elements)}removePlugins(...t){this._each("unregister",t,this.plugins)}removeScales(...t){this._each("unregister",t,this.scales)}_each(t,n,i){[...n].forEach(o=>{const r=i||this._getRegistryForType(o);i||r.isForType(o)||r===this.plugins&&o.id?this._exec(t,r,o):ct(o,s=>{const a=i||this._getRegistryForType(s);this._exec(t,a,s)})})}_exec(t,n,i){const o=bs(t);ht(i["before"+o],[],i),n[t](i),ht(i["after"+o],[],i)}_getRegistryForType(t){for(let n=0;n<this._typedRegistries.length;n++){const i=this._typedRegistries[n];if(i.isForType(t))return i}return this.plugins}_get(t,n,i){const o=n.get(t);if(o===void 0)throw new Error('"'+t+'" is not a registered '+i+".");return o}}var Pe=new cw;class lw{constructor(){this._init=[]}notify(t,n,i,o){n==="beforeInit"&&(this._init=this._createDescriptors(t,!0),this._notify(this._init,t,"install"));const r=o?this._descriptors(t).filter(o):this._descriptors(t),s=this._notify(r,t,n,i);return n==="afterDestroy"&&(this._notify(r,t,"stop"),this._notify(this._init,t,"uninstall")),s}_notify(t,n,i,o){o=o||{};for(const r of t){const s=r.plugin,a=s[i],c=[n,o,r.options];if(ht(a,c,s)===!1&&o.cancelable)return!1}return!0}invalidate(){ut(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(t){if(this._cache)return this._cache;const n=this._cache=this._createDescriptors(t);return this._notifyStateChanges(t),n}_createDescriptors(t,n){const i=t&&t.config,o=st(i.options&&i.options.plugins,{}),r=Aw(i);return o===!1&&!n?[]:uw(t,r,o,n)}_notifyStateChanges(t){const n=this._oldCache||[],i=this._cache,o=(r,s)=>r.filter(a=>!s.some(c=>a.plugin.id===c.plugin.id));this._notify(o(n,i),t,"stop"),this._notify(o(i,n),t,"start")}}function Aw(e){const t={},n=[],i=Object.keys(Pe.plugins.items);for(let r=0;r<i.length;r++)n.push(Pe.getPlugin(i[r]));const o=e.plugins||[];for(let r=0;r<o.length;r++){const s=o[r];n.indexOf(s)===-1&&(n.push(s),t[s.id]=!0)}return{plugins:n,localIds:t}}function dw(e,t){return!t&&e===!1?null:e===!0?{}:e}function uw(e,{plugins:t,localIds:n},i,o){const r=[],s=e.getContext();for(const a of t){const c=a.id,l=dw(i[c],o);l!==null&&r.push({plugin:a,options:hw(e.config,{plugin:a,local:n[c]},l,s)})}return r}function hw(e,{plugin:t,local:n},i,o){const r=e.pluginScopeKeys(t),s=e.getOptionScopes(i,r);return n&&t.defaults&&s.push(t.defaults),e.createResolver(s,o,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function js(e,t){const n=mt.datasets[e]||{};return((t.datasets||{})[e]||{}).indexAxis||t.indexAxis||n.indexAxis||"x"}function fw(e,t){let n=e;return e==="_index_"?n=t:e==="_value_"&&(n=t==="x"?"y":"x"),n}function pw(e,t){return e===t?"_index_":"_value_"}function Fd(e){if(e==="x"||e==="y"||e==="r")return e}function gw(e){if(e==="top"||e==="bottom")return"x";if(e==="left"||e==="right")return"y"}function Us(e,...t){if(Fd(e))return e;for(const n of t){const i=n.axis||gw(n.position)||e.length>1&&Fd(e[0].toLowerCase());if(i)return i}throw new Error(`Cannot determine type of '${e}' axis. Please provide 'axis' or 'position' option.`)}function zd(e,t,n){if(n[t+"AxisID"]===e)return{axis:t}}function mw(e,t){if(t.data&&t.data.datasets){const n=t.data.datasets.filter(i=>i.xAxisID===e||i.yAxisID===e);if(n.length)return zd(e,"x",n[0])||zd(e,"y",n[0])}return{}}function bw(e,t){const n=un[e.type]||{scales:{}},i=t.scales||{},o=js(e.type,t),r=Object.create(null);return Object.keys(i).forEach(s=>{const a=i[s];if(!it(a))return console.error(`Invalid scale configuration for scale: ${s}`);if(a._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${s}`);const c=Us(s,a,mw(s,e),mt.scales[a.type]),l=pw(c,o),A=n.scales||{};r[s]=wi(Object.create(null),[{axis:c},a,A[c],A[l]])}),e.data.datasets.forEach(s=>{const a=s.type||e.type,c=s.indexAxis||js(a,t),A=(un[a]||{}).scales||{};Object.keys(A).forEach(d=>{const u=fw(d,c),h=s[u+"AxisID"]||u;r[h]=r[h]||Object.create(null),wi(r[h],[{axis:u},i[h],A[d]])})}),Object.keys(r).forEach(s=>{const a=r[s];wi(a,[mt.scales[a.type],mt.scale])}),r}function Nd(e){const t=e.options||(e.options={});t.plugins=st(t.plugins,{}),t.scales=bw(e,t)}function jd(e){return e=e||{},e.datasets=e.datasets||[],e.labels=e.labels||[],e}function vw(e){return e=e||{},e.data=jd(e.data),Nd(e),e}const Ud=new Map,Vd=new Set;function No(e,t){let n=Ud.get(e);return n||(n=t(),Ud.set(e,n),Vd.add(n)),n}const Ii=(e,t,n)=>{const i=Je(t,n);i!==void 0&&e.add(i)};let ww=class{constructor(t){this._config=vw(t),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(t){this._config.type=t}get data(){return this._config.data}set data(t){this._config.data=jd(t)}get options(){return this._config.options}set options(t){this._config.options=t}get plugins(){return this._config.plugins}update(){const t=this._config;this.clearCache(),Nd(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return No(t,()=>[[`datasets.${t}`,""]])}datasetAnimationScopeKeys(t,n){return No(`${t}.transition.${n}`,()=>[[`datasets.${t}.transitions.${n}`,`transitions.${n}`],[`datasets.${t}`,""]])}datasetElementScopeKeys(t,n){return No(`${t}-${n}`,()=>[[`datasets.${t}.elements.${n}`,`datasets.${t}`,`elements.${n}`,""]])}pluginScopeKeys(t){const n=t.id,i=this.type;return No(`${i}-plugin-${n}`,()=>[[`plugins.${n}`,...t.additionalOptionScopes||[]]])}_cachedScopes(t,n){const i=this._scopeCache;let o=i.get(t);return(!o||n)&&(o=new Map,i.set(t,o)),o}getOptionScopes(t,n,i){const{options:o,type:r}=this,s=this._cachedScopes(t,i),a=s.get(n);if(a)return a;const c=new Set;n.forEach(A=>{t&&(c.add(t),A.forEach(d=>Ii(c,t,d))),A.forEach(d=>Ii(c,o,d)),A.forEach(d=>Ii(c,un[r]||{},d)),A.forEach(d=>Ii(c,mt,d)),A.forEach(d=>Ii(c,Bs,d))});const l=Array.from(c);return l.length===0&&l.push(Object.create(null)),Vd.has(n)&&s.set(n,l),l}chartOptionScopes(){const{options:t,type:n}=this;return[t,un[n]||{},mt.datasets[n]||{},{type:n},mt,Bs]}resolveNamedOptions(t,n,i,o=[""]){const r={$shared:!0},{resolver:s,subPrefixes:a}=Wd(this._resolverCache,t,o);let c=s;if(xw(s,n)){r.$shared=!1,i=Ze(i)?i():i;const l=this.createResolver(t,i,a);c=Fn(s,i,l)}for(const l of n)r[l]=c[l];return r}createResolver(t,n,i=[""],o){const{resolver:r}=Wd(this._resolverCache,t,i);return it(n)?Fn(r,n,void 0,o):r}};function Wd(e,t,n){let i=e.get(t);i||(i=new Map,e.set(t,i));const o=n.join();let r=i.get(o);return r||(r={resolver:Es(t,n),subPrefixes:n.filter(a=>!a.toLowerCase().includes("hover"))},i.set(o,r)),r}const yw=e=>it(e)&&Object.getOwnPropertyNames(e).some(t=>Ze(e[t]));function xw(e,t){const{isScriptable:n,isIndexable:i}=nd(e);for(const o of t){const r=n(o),s=i(o),a=(s||r)&&e[o];if(r&&(Ze(a)||yw(a))||s&&Pt(a))return!0}return!1}var _w="4.4.6";const Pw=["top","bottom","left","right","chartArea"];function Yd(e,t){return e==="top"||e==="bottom"||Pw.indexOf(e)===-1&&t==="x"}function Kd(e,t){return function(n,i){return n[e]===i[e]?n[t]-i[t]:n[e]-i[e]}}function qd(e){const t=e.chart,n=t.options.animation;t.notifyPlugins("afterRender"),ht(n&&n.onComplete,[e],t)}function Bw(e){const t=e.chart,n=t.options.animation;ht(n&&n.onProgress,[e],t)}function Xd(e){return Ts()&&typeof e=="string"?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}const jo={},Gd=e=>{const t=Xd(e);return Object.values(jo).filter(n=>n.canvas===t).pop()};function kw(e,t,n){const i=Object.keys(e);for(const o of i){const r=+o;if(r>=t){const s=e[o];delete e[o],(n>0||r>t)&&(e[r+n]=s)}}}function Dw(e,t,n,i){return!n||e.type==="mouseout"?null:i?t:e}function Uo(e,t,n){return e.options.clip?e[n]:t[n]}function Cw(e,t){const{xScale:n,yScale:i}=e;return n&&i?{left:Uo(n,t,"left"),right:Uo(n,t,"right"),top:Uo(i,t,"top"),bottom:Uo(i,t,"bottom")}:t}let Vs=(nn=class{static register(...t){Pe.add(...t),Jd()}static unregister(...t){Pe.remove(...t),Jd()}constructor(t,n){const i=this.config=new ww(n),o=Xd(t),r=Gd(o);if(r)throw new Error("Canvas is already in use. Chart with ID '"+r.id+"' must be destroyed before the canvas with ID '"+r.canvas.id+"' can be reused.");const s=i.createResolver(i.chartOptionScopes(),this.getContext());this.platform=new(i.platform||Wv(o)),this.platform.updateConfig(i);const a=this.platform.acquireContext(o,s.aspectRatio),c=a&&a.canvas,l=c&&c.height,A=c&&c.width;if(this.id=Ym(),this.ctx=a,this.canvas=c,this.width=A,this.height=l,this._options=s,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new lw,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=Ab(d=>this.update(d),s.resizeDelay||0),this._dataChanges=[],jo[this.id]=this,!a||!c){console.error("Failed to create chart: can't acquire context from the given item");return}Re.listen(this,"complete",qd),Re.listen(this,"progress",Bw),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:t,maintainAspectRatio:n},width:i,height:o,_aspectRatio:r}=this;return ut(t)?n&&r?r:o?i/o:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}get registry(){return Pe}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():cd(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return GA(this.canvas,this.ctx),this}stop(){return Re.stop(this),this}resize(t,n){Re.running(this)?this._resizeBeforeDraw={width:t,height:n}:this._resize(t,n)}_resize(t,n){const i=this.options,o=this.canvas,r=i.maintainAspectRatio&&this.aspectRatio,s=this.platform.getMaximumSize(o,t,n,r),a=i.devicePixelRatio||this.platform.getDevicePixelRatio(),c=this.width?"resize":"attach";this.width=s.width,this.height=s.height,this._aspectRatio=this.aspectRatio,cd(this,a,!0)&&(this.notifyPlugins("resize",{size:s}),ht(i.onResize,[this,s],this),this.attached&&this._doResize(c)&&this.render())}ensureScalesHaveIDs(){const n=this.options.scales||{};ct(n,(i,o)=>{i.id=o})}buildOrUpdateScales(){const t=this.options,n=t.scales,i=this.scales,o=Object.keys(i).reduce((s,a)=>(s[a]=!1,s),{});let r=[];n&&(r=r.concat(Object.keys(n).map(s=>{const a=n[s],c=Us(s,a),l=c==="r",A=c==="x";return{options:a,dposition:l?"chartArea":A?"bottom":"left",dtype:l?"radialLinear":A?"category":"linear"}}))),ct(r,s=>{const a=s.options,c=a.id,l=Us(c,a),A=st(a.type,s.dtype);(a.position===void 0||Yd(a.position,l)!==Yd(s.dposition))&&(a.position=s.dposition),o[c]=!0;let d=null;if(c in i&&i[c].type===A)d=i[c];else{const u=Pe.getScale(A);d=new u({id:c,type:A,ctx:this.ctx,chart:this}),i[d.id]=d}d.init(a,t)}),ct(o,(s,a)=>{s||delete i[a]}),ct(i,s=>{se.configure(this,s,s.options),se.addBox(this,s)})}_updateMetasets(){const t=this._metasets,n=this.data.datasets.length,i=t.length;if(t.sort((o,r)=>o.index-r.index),i>n){for(let o=n;o<i;++o)this._destroyDatasetMeta(o);t.splice(n,i-n)}this._sortedMetasets=t.slice(0).sort(Kd("order","index"))}_removeUnreferencedMetasets(){const{_metasets:t,data:{datasets:n}}=this;t.length>n.length&&delete this._stacks,t.forEach((i,o)=>{n.filter(r=>r===i._dataset).length===0&&this._destroyDatasetMeta(o)})}buildOrUpdateControllers(){const t=[],n=this.data.datasets;let i,o;for(this._removeUnreferencedMetasets(),i=0,o=n.length;i<o;i++){const r=n[i];let s=this.getDatasetMeta(i);const a=r.type||this.config.type;if(s.type&&s.type!==a&&(this._destroyDatasetMeta(i),s=this.getDatasetMeta(i)),s.type=a,s.indexAxis=r.indexAxis||js(a,this.options),s.order=r.order||0,s.index=i,s.label=""+r.label,s.visible=this.isDatasetVisible(i),s.controller)s.controller.updateIndex(i),s.controller.linkScales();else{const c=Pe.getController(a),{datasetElementType:l,dataElementType:A}=mt.datasets[a];Object.assign(c,{dataElementType:Pe.getElement(A),datasetElementType:l&&Pe.getElement(l)}),s.controller=new c(this,i),t.push(s.controller)}}return this._updateMetasets(),t}_resetElements(){ct(this.data.datasets,(t,n)=>{this.getDatasetMeta(n).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){const n=this.config;n.update();const i=this._options=n.createResolver(n.chartOptionScopes(),this.getContext()),o=this._animationsDisabled=!i.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0})===!1)return;const r=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let s=0;for(let l=0,A=this.data.datasets.length;l<A;l++){const{controller:d}=this.getDatasetMeta(l),u=!o&&r.indexOf(d)===-1;d.buildOrUpdateElements(u),s=Math.max(+d.getMaxOverflow(),s)}s=this._minPadding=i.layout.autoPadding?s:0,this._updateLayout(s),o||ct(r,l=>{l.reset()}),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(Kd("z","_idx"));const{_active:a,_lastEvent:c}=this;c?this._eventHandler(c,!0):a.length&&this._updateHoverStyles(a,a,!0),this.render()}_updateScales(){ct(this.scales,t=>{se.removeBox(this,t)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const t=this.options,n=new Set(Object.keys(this._listeners)),i=new Set(t.events);(!IA(n,i)||!!this._responsiveListeners!==t.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:t}=this,n=this._getUniformDataChanges()||[];for(const{method:i,start:o,count:r}of n){const s=i==="_removeElements"?-r:r;kw(t,o,s)}}_getUniformDataChanges(){const t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];const n=this.data.datasets.length,i=r=>new Set(t.filter(s=>s[0]===r).map((s,a)=>a+","+s.splice(1).join(","))),o=i(0);for(let r=1;r<n;r++)if(!IA(o,i(r)))return;return Array.from(o).map(r=>r.split(",")).map(r=>({method:r[1],start:+r[2],count:+r[3]}))}_updateLayout(t){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;se.update(this,this.width,this.height,t);const n=this.chartArea,i=n.width<=0||n.height<=0;this._layers=[],ct(this.boxes,o=>{i&&o.position==="chartArea"||(o.configure&&o.configure(),this._layers.push(...o._layers()))},this),this._layers.forEach((o,r)=>{o._idx=r}),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})!==!1){for(let n=0,i=this.data.datasets.length;n<i;++n)this.getDatasetMeta(n).controller.configure();for(let n=0,i=this.data.datasets.length;n<i;++n)this._updateDataset(n,Ze(t)?t({datasetIndex:n}):t);this.notifyPlugins("afterDatasetsUpdate",{mode:t})}}_updateDataset(t,n){const i=this.getDatasetMeta(t),o={meta:i,index:t,mode:n,cancelable:!0};this.notifyPlugins("beforeDatasetUpdate",o)!==!1&&(i.controller._update(n),o.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",o))}render(){this.notifyPlugins("beforeRender",{cancelable:!0})!==!1&&(Re.has(this)?this.attached&&!Re.running(this)&&Re.start(this):(this.draw(),qd({chart:this})))}draw(){let t;if(this._resizeBeforeDraw){const{width:i,height:o}=this._resizeBeforeDraw;this._resizeBeforeDraw=null,this._resize(i,o)}if(this.clear(),this.width<=0||this.height<=0||this.notifyPlugins("beforeDraw",{cancelable:!0})===!1)return;const n=this._layers;for(t=0;t<n.length&&n[t].z<=0;++t)n[t].draw(this.chartArea);for(this._drawDatasets();t<n.length;++t)n[t].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(t){const n=this._sortedMetasets,i=[];let o,r;for(o=0,r=n.length;o<r;++o){const s=n[o];(!t||s.visible)&&i.push(s)}return i}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0})===!1)return;const t=this.getSortedVisibleDatasetMetas();for(let n=t.length-1;n>=0;--n)this._drawDataset(t[n]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){const n=this.ctx,i=t._clip,o=!i.disabled,r=Cw(t,this.chartArea),s={meta:t,index:t.index,cancelable:!0};this.notifyPlugins("beforeDatasetDraw",s)!==!1&&(o&&Ds(n,{left:i.left===!1?0:r.left-i.left,right:i.right===!1?this.width:r.right+i.right,top:i.top===!1?0:r.top-i.top,bottom:i.bottom===!1?this.height:r.bottom+i.bottom}),t.controller.draw(),o&&Cs(n),s.cancelable=!1,this.notifyPlugins("afterDatasetDraw",s))}isPointInArea(t){return $A(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,n,i,o){const r=Pv.modes[n];return typeof r=="function"?r(this,t,i,o):[]}getDatasetMeta(t){const n=this.data.datasets[t],i=this._metasets;let o=i.filter(r=>r&&r._dataset===n).pop();return o||(o={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:n&&n.order||0,index:t,_dataset:n,_parsed:[],_sorted:!1},i.push(o)),o}getContext(){return this.$context||(this.$context=Hn(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){const n=this.data.datasets[t];if(!n)return!1;const i=this.getDatasetMeta(t);return typeof i.hidden=="boolean"?!i.hidden:!n.hidden}setDatasetVisibility(t,n){const i=this.getDatasetMeta(t);i.hidden=!n}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,n,i){const o=i?"show":"hide",r=this.getDatasetMeta(t),s=r.controller._resolveAnimations(void 0,o);yi(n)?(r.data[n].hidden=!i,this.update()):(this.setDatasetVisibility(t,i),s.update(r,{visible:i}),this.update(a=>a.datasetIndex===t?o:void 0))}hide(t,n){this._updateVisibility(t,n,!1)}show(t,n){this._updateVisibility(t,n,!0)}_destroyDatasetMeta(t){const n=this._metasets[t];n&&n.controller&&n.controller._destroy(),delete this._metasets[t]}_stop(){let t,n;for(this.stop(),Re.remove(this),t=0,n=this.data.datasets.length;t<n;++t)this._destroyDatasetMeta(t)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:t,ctx:n}=this;this._stop(),this.config.clearCache(),t&&(this.unbindEvents(),GA(t,n),this.platform.releaseContext(n),this.canvas=null,this.ctx=null),delete jo[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...t){return this.canvas.toDataURL(...t)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const t=this._listeners,n=this.platform,i=(r,s)=>{n.addEventListener(this,r,s),t[r]=s},o=(r,s,a)=>{r.offsetX=s,r.offsetY=a,this._eventHandler(r)};ct(this.options.events,r=>i(r,o))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const t=this._responsiveListeners,n=this.platform,i=(c,l)=>{n.addEventListener(this,c,l),t[c]=l},o=(c,l)=>{t[c]&&(n.removeEventListener(this,c,l),delete t[c])},r=(c,l)=>{this.canvas&&this.resize(c,l)};let s;const a=()=>{o("attach",a),this.attached=!0,this.resize(),i("resize",r),i("detach",s)};s=()=>{this.attached=!1,o("resize",r),this._stop(),this._resize(0,0),i("attach",a)},n.isAttached(this.canvas)?a():s()}unbindEvents(){ct(this._listeners,(t,n)=>{this.platform.removeEventListener(this,n,t)}),this._listeners={},ct(this._responsiveListeners,(t,n)=>{this.platform.removeEventListener(this,n,t)}),this._responsiveListeners=void 0}updateHoverStyle(t,n,i){const o=i?"set":"remove";let r,s,a,c;for(n==="dataset"&&(r=this.getDatasetMeta(t[0].datasetIndex),r.controller["_"+o+"DatasetHoverStyle"]()),a=0,c=t.length;a<c;++a){s=t[a];const l=s&&this.getDatasetMeta(s.datasetIndex).controller;l&&l[o+"HoverStyle"](s.element,s.datasetIndex,s.index)}}getActiveElements(){return this._active||[]}setActiveElements(t){const n=this._active||[],i=t.map(({datasetIndex:r,index:s})=>{const a=this.getDatasetMeta(r);if(!a)throw new Error("No dataset found at index "+r);return{datasetIndex:r,element:a.data[s],index:s}});!xo(i,n)&&(this._active=i,this._lastEvent=null,this._updateHoverStyles(i,n))}notifyPlugins(t,n,i){return this._plugins.notify(this,t,n,i)}isPluginEnabled(t){return this._plugins._cache.filter(n=>n.plugin.id===t).length===1}_updateHoverStyles(t,n,i){const o=this.options.hover,r=(c,l)=>c.filter(A=>!l.some(d=>A.datasetIndex===d.datasetIndex&&A.index===d.index)),s=r(n,t),a=i?t:r(t,n);s.length&&this.updateHoverStyle(s,o.mode,!1),a.length&&o.mode&&this.updateHoverStyle(a,o.mode,!0)}_eventHandler(t,n){const i={event:t,replay:n,cancelable:!0,inChartArea:this.isPointInArea(t)},o=s=>(s.options.events||this.options.events).includes(t.native.type);if(this.notifyPlugins("beforeEvent",i,o)===!1)return;const r=this._handleEvent(t,n,i.inChartArea);return i.cancelable=!1,this.notifyPlugins("afterEvent",i,o),(r||i.changed)&&this.render(),this}_handleEvent(t,n,i){const{_active:o=[],options:r}=this,s=n,a=this._getActiveElements(t,o,i,s),c=Zm(t),l=Dw(t,this._lastEvent,i,c);i&&(this._lastEvent=null,ht(r.onHover,[t,a,this],this),c&&ht(r.onClick,[t,a,this],this));const A=!xo(a,o);return(A||n)&&(this._active=a,this._updateHoverStyles(a,o,n)),this._lastEvent=l,A}_getActiveElements(t,n,i,o){if(t.type==="mouseout")return[];if(!i)return n;const r=this.options.hover;return this.getElementsAtEventForMode(t,r.mode,r,o)}},Z(nn,"defaults",mt),Z(nn,"instances",jo),Z(nn,"overrides",un),Z(nn,"registry",Pe),Z(nn,"version",_w),Z(nn,"getChart",Gd),nn);function Jd(){return ct(Vs.instances,e=>e._plugins.invalidate())}function Zd(e,t){const{x:n,y:i,base:o,width:r,height:s}=e.getProps(["x","y","base","width","height"],t);let a,c,l,A,d;return e.horizontal?(d=s/2,a=Math.min(n,o),c=Math.max(n,o),l=i-d,A=i+d):(d=r/2,a=n-d,c=n+d,l=Math.min(i,o),A=Math.max(i,o)),{left:a,top:l,right:c,bottom:A}}function tn(e,t,n,i){return e?0:de(t,n,i)}function Ew(e,t,n){const i=e.options.borderWidth,o=e.borderSkipped,r=ed(i);return{t:tn(o.top,r.top,0,n),r:tn(o.right,r.right,0,t),b:tn(o.bottom,r.bottom,0,n),l:tn(o.left,r.left,0,t)}}function Sw(e,t,n){const{enableBorderRadius:i}=e.getProps(["enableBorderRadius"]),o=e.options.borderRadius,r=Rn(o),s=Math.min(t,n),a=e.borderSkipped,c=i||it(o);return{topLeft:tn(!c||a.top||a.left,r.topLeft,0,s),topRight:tn(!c||a.top||a.right,r.topRight,0,s),bottomLeft:tn(!c||a.bottom||a.left,r.bottomLeft,0,s),bottomRight:tn(!c||a.bottom||a.right,r.bottomRight,0,s)}}function Mw(e){const t=Zd(e),n=t.right-t.left,i=t.bottom-t.top,o=Ew(e,n/2,i/2),r=Sw(e,n/2,i/2);return{outer:{x:t.left,y:t.top,w:n,h:i,radius:r},inner:{x:t.left+o.l,y:t.top+o.t,w:n-o.l-o.r,h:i-o.t-o.b,radius:{topLeft:Math.max(0,r.topLeft-Math.max(o.t,o.l)),topRight:Math.max(0,r.topRight-Math.max(o.t,o.r)),bottomLeft:Math.max(0,r.bottomLeft-Math.max(o.b,o.l)),bottomRight:Math.max(0,r.bottomRight-Math.max(o.b,o.r))}}}}function Ws(e,t,n,i){const o=t===null,r=n===null,a=e&&!(o&&r)&&Zd(e,i);return a&&(o||Ln(t,a.left,a.right))&&(r||Ln(n,a.top,a.bottom))}function Tw(e){return e.topLeft||e.topRight||e.bottomLeft||e.bottomRight}function Iw(e,t){e.rect(t.x,t.y,t.w,t.h)}function Ys(e,t,n={}){const i=e.x!==n.x?-t:0,o=e.y!==n.y?-t:0,r=(e.x+e.w!==n.x+n.w?t:0)-i,s=(e.y+e.h!==n.y+n.h?t:0)-o;return{x:e.x+i,y:e.y+o,w:e.w+r,h:e.h+s,radius:e.radius}}class Vo extends Nn{constructor(t){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,t&&Object.assign(this,t)}draw(t){const{inflateAmount:n,options:{borderColor:i,backgroundColor:o}}=this,{inner:r,outer:s}=Mw(this),a=Tw(s.radius)?Eo:Iw;t.save(),(s.w!==r.w||s.h!==r.h)&&(t.beginPath(),a(t,Ys(s,n,r)),t.clip(),a(t,Ys(r,-n,s)),t.fillStyle=i,t.fill("evenodd")),t.beginPath(),a(t,Ys(r,n)),t.fillStyle=o,t.fill(),t.restore()}inRange(t,n,i){return Ws(this,t,n,i)}inXRange(t,n){return Ws(this,t,null,n)}inYRange(t,n){return Ws(this,null,t,n)}getCenterPoint(t){const{x:n,y:i,base:o,horizontal:r}=this.getProps(["x","y","base","horizontal"],t);return{x:r?(n+o)/2:n,y:r?i:(i+o)/2}}getRange(t){return t==="x"?this.width/2:this.height/2}}Z(Vo,"id","bar"),Z(Vo,"defaults",{borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0}),Z(Vo,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"});const Ks=["rgb(54, 162, 235)","rgb(255, 99, 132)","rgb(255, 159, 64)","rgb(255, 205, 86)","rgb(75, 192, 192)","rgb(153, 102, 255)","rgb(201, 203, 207)"],$d=Ks.map(e=>e.replace("rgb(","rgba(").replace(")",", 0.5)"));function tu(e){return Ks[e%Ks.length]}function eu(e){return $d[e%$d.length]}function Ow(e,t){return e.borderColor=tu(t),e.backgroundColor=eu(t),++t}function Qw(e,t){return e.backgroundColor=e.data.map(()=>tu(t++)),t}function Lw(e,t){return e.backgroundColor=e.data.map(()=>eu(t++)),t}function Rw(e){let t=0;return(n,i)=>{const o=e.getDatasetMeta(i).controller;o instanceof ki?t=Qw(n,t):o instanceof Qo?t=Lw(n,t):o&&(t=Ow(n,t))}}function nu(e){let t;for(t in e)if(e[t].borderColor||e[t].backgroundColor)return!0;return!1}function Hw(e){return e&&(e.borderColor||e.backgroundColor)}function Fw(){return mt.borderColor!=="rgba(0,0,0,0.1)"||mt.backgroundColor!=="rgba(0,0,0,0.1)"}var zw={id:"colors",defaults:{enabled:!0,forceOverride:!1},beforeLayout(e,t,n){if(!n.enabled)return;const{data:{datasets:i},options:o}=e.config,{elements:r}=o,s=nu(i)||Hw(o)||r&&nu(r)||Fw();if(!n.forceOverride&&s)return;const a=Rw(e);i.forEach(a)}};const iu=(e,t)=>{let{boxHeight:n=t,boxWidth:i=t}=e;return e.usePointStyle&&(n=Math.min(n,t),i=e.pointStyleWidth||Math.min(i,t)),{boxWidth:i,boxHeight:n,itemHeight:Math.max(t,n)}},Nw=(e,t)=>e!==null&&t!==null&&e.datasetIndex===t.datasetIndex&&e.index===t.index;class ou extends Nn{constructor(t){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,n,i){this.maxWidth=t,this.maxHeight=n,this._margins=i,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const t=this.options.labels||{};let n=ht(t.generateLabels,[this.chart],this)||[];t.filter&&(n=n.filter(i=>t.filter(i,this.chart.data))),t.sort&&(n=n.sort((i,o)=>t.sort(i,o,this.chart.data))),this.options.reverse&&n.reverse(),this.legendItems=n}fit(){const{options:t,ctx:n}=this;if(!t.display){this.width=this.height=0;return}const i=t.labels,o=Tt(i.font),r=o.size,s=this._computeTitleHeight(),{boxWidth:a,itemHeight:c}=iu(i,r);let l,A;n.font=o.string,this.isHorizontal()?(l=this.maxWidth,A=this._fitRows(s,r,a,c)+10):(A=this.maxHeight,l=this._fitCols(s,o,a,c)+10),this.width=Math.min(l,t.maxWidth||this.maxWidth),this.height=Math.min(A,t.maxHeight||this.maxHeight)}_fitRows(t,n,i,o){const{ctx:r,maxWidth:s,options:{labels:{padding:a}}}=this,c=this.legendHitBoxes=[],l=this.lineWidths=[0],A=o+a;let d=t;r.textAlign="left",r.textBaseline="middle";let u=-1,h=-A;return this.legendItems.forEach((p,g)=>{const b=i+n/2+r.measureText(p.text).width;(g===0||l[l.length-1]+b+2*a>s)&&(d+=A,l[l.length-(g>0?0:1)]=0,h+=A,u++),c[g]={left:0,top:h,row:u,width:b,height:o},l[l.length-1]+=b+a}),d}_fitCols(t,n,i,o){const{ctx:r,maxHeight:s,options:{labels:{padding:a}}}=this,c=this.legendHitBoxes=[],l=this.columnSizes=[],A=s-t;let d=a,u=0,h=0,p=0,g=0;return this.legendItems.forEach((b,v)=>{const{itemWidth:w,itemHeight:_}=jw(i,n,r,b,o);v>0&&h+_+2*a>A&&(d+=u+a,l.push({width:u,height:h}),p+=u+a,g++,u=h=0),c[v]={left:p,top:h,col:g,width:w,height:_},u=Math.max(u,w),h+=_+a}),d+=u,l.push({width:u,height:h}),d}adjustHitBoxes(){if(!this.options.display)return;const t=this._computeTitleHeight(),{legendHitBoxes:n,options:{align:i,labels:{padding:o},rtl:r}}=this,s=zn(r,this.left,this.width);if(this.isHorizontal()){let a=0,c=Mt(i,this.left+o,this.right-this.lineWidths[a]);for(const l of n)a!==l.row&&(a=l.row,c=Mt(i,this.left+o,this.right-this.lineWidths[a])),l.top+=this.top+t+o,l.left=s.leftForLtr(s.x(c),l.width),c+=l.width+o}else{let a=0,c=Mt(i,this.top+t+o,this.bottom-this.columnSizes[a].height);for(const l of n)l.col!==a&&(a=l.col,c=Mt(i,this.top+t+o,this.bottom-this.columnSizes[a].height)),l.top=c,l.left+=this.left+o,l.left=s.leftForLtr(s.x(l.left),l.width),c+=l.height+o}}isHorizontal(){return this.options.position==="top"||this.options.position==="bottom"}draw(){if(this.options.display){const t=this.ctx;Ds(t,this),this._draw(),Cs(t)}}_draw(){const{options:t,columnSizes:n,lineWidths:i,ctx:o}=this,{align:r,labels:s}=t,a=mt.color,c=zn(t.rtl,this.left,this.width),l=Tt(s.font),{padding:A}=s,d=l.size,u=d/2;let h;this.drawTitle(),o.textAlign=c.textAlign("left"),o.textBaseline="middle",o.lineWidth=.5,o.font=l.string;const{boxWidth:p,boxHeight:g,itemHeight:b}=iu(s,d),v=function(x,P,C){if(isNaN(p)||p<=0||isNaN(g)||g<0)return;o.save();const B=st(C.lineWidth,1);if(o.fillStyle=st(C.fillStyle,a),o.lineCap=st(C.lineCap,"butt"),o.lineDashOffset=st(C.lineDashOffset,0),o.lineJoin=st(C.lineJoin,"miter"),o.lineWidth=B,o.strokeStyle=st(C.strokeStyle,a),o.setLineDash(st(C.lineDash,[])),s.usePointStyle){const D={radius:g*Math.SQRT2/2,pointStyle:C.pointStyle,rotation:C.rotation,borderWidth:B},E=c.xPlus(x,p/2),S=P+u;ZA(o,D,E,S,s.pointStyleWidth&&p)}else{const D=P+Math.max((d-g)/2,0),E=c.leftForLtr(x,p),S=Rn(C.borderRadius);o.beginPath(),Object.values(S).some(I=>I!==0)?Eo(o,{x:E,y:D,w:p,h:g,radius:S}):o.rect(E,D,p,g),o.fill(),B!==0&&o.stroke()}o.restore()},w=function(x,P,C){Pi(o,C.text,x,P+b/2,l,{strikethrough:C.hidden,textAlign:c.textAlign(C.textAlign)})},_=this.isHorizontal(),m=this._computeTitleHeight();_?h={x:Mt(r,this.left+A,this.right-i[0]),y:this.top+A+m,line:0}:h={x:this.left+A,y:Mt(r,this.top+m+A,this.bottom-n[0].height),line:0},Ad(this.ctx,t.textDirection);const y=b+A;this.legendItems.forEach((x,P)=>{o.strokeStyle=x.fontColor,o.fillStyle=x.fontColor;const C=o.measureText(x.text).width,B=c.textAlign(x.textAlign||(x.textAlign=s.textAlign)),D=p+u+C;let E=h.x,S=h.y;c.setWidth(this.width),_?P>0&&E+D+A>this.right&&(S=h.y+=y,h.line++,E=h.x=Mt(r,this.left+A,this.right-i[h.line])):P>0&&S+y>this.bottom&&(E=h.x=E+n[h.line].width+A,h.line++,S=h.y=Mt(r,this.top+m+A,this.bottom-n[h.line].height));const I=c.x(E);if(v(I,S,x),E=db(B,E+p+u,_?E+D:this.right,t.rtl),w(c.x(E),S,x),_)h.x+=D+A;else if(typeof x.text!="string"){const O=l.lineHeight;h.y+=ru(x,O)+A}else h.y+=y}),dd(this.ctx,t.textDirection)}drawTitle(){const t=this.options,n=t.title,i=Tt(n.font),o=re(n.padding);if(!n.display)return;const r=zn(t.rtl,this.left,this.width),s=this.ctx,a=n.position,c=i.size/2,l=o.top+c;let A,d=this.left,u=this.width;if(this.isHorizontal())u=Math.max(...this.lineWidths),A=this.top+l,d=Mt(t.align,d,this.right-u);else{const p=this.columnSizes.reduce((g,b)=>Math.max(g,b.height),0);A=l+Mt(t.align,this.top,this.bottom-p-t.labels.padding-this._computeTitleHeight())}const h=Mt(a,d,d+u);s.textAlign=r.textAlign(_s(a)),s.textBaseline="middle",s.strokeStyle=n.color,s.fillStyle=n.color,s.font=i.string,Pi(s,n.text,h,A,i)}_computeTitleHeight(){const t=this.options.title,n=Tt(t.font),i=re(t.padding);return t.display?n.lineHeight+i.height:0}_getLegendItemAt(t,n){let i,o,r;if(Ln(t,this.left,this.right)&&Ln(n,this.top,this.bottom)){for(r=this.legendHitBoxes,i=0;i<r.length;++i)if(o=r[i],Ln(t,o.left,o.left+o.width)&&Ln(n,o.top,o.top+o.height))return this.legendItems[i]}return null}handleEvent(t){const n=this.options;if(!Ww(t.type,n))return;const i=this._getLegendItemAt(t.x,t.y);if(t.type==="mousemove"||t.type==="mouseout"){const o=this._hoveredItem,r=Nw(o,i);o&&!r&&ht(n.onLeave,[t,o,this],this),this._hoveredItem=i,i&&!r&&ht(n.onHover,[t,i,this],this)}else i&&ht(n.onClick,[t,i,this],this)}}function jw(e,t,n,i,o){const r=Uw(i,e,t,n),s=Vw(o,i,t.lineHeight);return{itemWidth:r,itemHeight:s}}function Uw(e,t,n,i){let o=e.text;return o&&typeof o!="string"&&(o=o.reduce((r,s)=>r.length>s.length?r:s)),t+n.size/2+i.measureText(o).width}function Vw(e,t,n){let i=e;return typeof t.text!="string"&&(i=ru(t,n)),i}function ru(e,t){const n=e.text?e.text.length:0;return t*n}function Ww(e,t){return!!((e==="mousemove"||e==="mouseout")&&(t.onHover||t.onLeave)||t.onClick&&(e==="click"||e==="mouseup"))}var Yw={id:"legend",_element:ou,start(e,t,n){const i=e.legend=new ou({ctx:e.ctx,options:n,chart:e});se.configure(e,i,n),se.addBox(e,i)},stop(e){se.removeBox(e,e.legend),delete e.legend},beforeUpdate(e,t,n){const i=e.legend;se.configure(e,i,n),i.options=n},afterUpdate(e){const t=e.legend;t.buildLabels(),t.adjustHitBoxes()},afterEvent(e,t){t.replay||e.legend.handleEvent(t.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(e,t,n){const i=t.datasetIndex,o=n.chart;o.isDatasetVisible(i)?(o.hide(i),t.hidden=!0):(o.show(i),t.hidden=!1)},onHover:null,onLeave:null,labels:{color:e=>e.chart.options.color,boxWidth:40,padding:10,generateLabels(e){const t=e.data.datasets,{labels:{usePointStyle:n,pointStyle:i,textAlign:o,color:r,useBorderRadius:s,borderRadius:a}}=e.legend.options;return e._getSortedDatasetMetas().map(c=>{const l=c.controller.getStyle(n?0:void 0),A=re(l.borderWidth);return{text:t[c.index].label,fillStyle:l.backgroundColor,fontColor:r,hidden:!c.visible,lineCap:l.borderCapStyle,lineDash:l.borderDash,lineDashOffset:l.borderDashOffset,lineJoin:l.borderJoinStyle,lineWidth:(A.width+A.height)/4,strokeStyle:l.borderColor,pointStyle:i||l.pointStyle,rotation:l.rotation,textAlign:o||l.textAlign,borderRadius:s&&(a||l.borderRadius),datasetIndex:c.index}},this)}},title:{color:e=>e.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:e=>!e.startsWith("on"),labels:{_scriptable:e=>!["generateLabels","filter","sort"].includes(e)}}};class su extends Nn{constructor(t){super(),this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,n){const i=this.options;if(this.left=0,this.top=0,!i.display){this.width=this.height=this.right=this.bottom=0;return}this.width=this.right=t,this.height=this.bottom=n;const o=Pt(i.text)?i.text.length:1;this._padding=re(i.padding);const r=o*Tt(i.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=r:this.width=r}isHorizontal(){const t=this.options.position;return t==="top"||t==="bottom"}_drawArgs(t){const{top:n,left:i,bottom:o,right:r,options:s}=this,a=s.align;let c=0,l,A,d;return this.isHorizontal()?(A=Mt(a,i,r),d=n+t,l=r-i):(s.position==="left"?(A=i+t,d=Mt(a,o,n),c=Bt*-.5):(A=r-t,d=Mt(a,n,o),c=Bt*.5),l=o-n),{titleX:A,titleY:d,maxWidth:l,rotation:c}}draw(){const t=this.ctx,n=this.options;if(!n.display)return;const i=Tt(n.font),r=i.lineHeight/2+this._padding.top,{titleX:s,titleY:a,maxWidth:c,rotation:l}=this._drawArgs(r);Pi(t,n.text,0,0,i,{color:n.color,maxWidth:c,rotation:l,textAlign:_s(n.align),textBaseline:"middle",translation:[s,a]})}}function Kw(e,t){const n=new su({ctx:e.ctx,options:t,chart:e});se.configure(e,n,t),se.addBox(e,n),e.titleBlock=n}var qw={id:"title",_element:su,start(e,t,n){Kw(e,n)},stop(e){const t=e.titleBlock;se.removeBox(e,t),delete e.titleBlock},beforeUpdate(e,t,n){const i=e.titleBlock;se.configure(e,i,n),i.options=n},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const Oi={average(e){if(!e.length)return!1;let t,n,i=new Set,o=0,r=0;for(t=0,n=e.length;t<n;++t){const a=e[t].element;if(a&&a.hasValue()){const c=a.tooltipPosition();i.add(c.x),o+=c.y,++r}}return r===0||i.size===0?!1:{x:[...i].reduce((a,c)=>a+c)/i.size,y:o/r}},nearest(e,t){if(!e.length)return!1;let n=t.x,i=t.y,o=Number.POSITIVE_INFINITY,r,s,a;for(r=0,s=e.length;r<s;++r){const c=e[r].element;if(c&&c.hasValue()){const l=c.getCenterPoint(),A=rb(t,l);A<o&&(o=A,a=c)}}if(a){const c=a.tooltipPosition();n=c.x,i=c.y}return{x:n,y:i}}};function Be(e,t){return t&&(Pt(t)?Array.prototype.push.apply(e,t):e.push(t)),e}function He(e){return(typeof e=="string"||e instanceof String)&&e.indexOf(`
|
|
41
94
|
`)>-1?e.split(`
|
|
42
|
-
`):e}function n0(e,t){const{element:i,datasetIndex:n,index:s}=t,r=e.getDatasetMeta(n).controller,{label:o,value:a}=r.getLabelAndValue(s);return{chart:e,label:o,parsed:r.getParsed(s),raw:e.data.datasets[n].data[s],formattedValue:a,dataset:r.getDataset(),dataIndex:s,datasetIndex:n,element:i}}function _l(e,t){const i=e.chart.ctx,{body:n,footer:s,title:r}=e,{boxWidth:o,boxHeight:a}=t,c=dt(t.bodyFont),l=dt(t.titleFont),h=dt(t.footerFont),u=r.length,d=s.length,f=n.length,p=Pt(t.padding);let m=p.height,v=0,x=n.reduce((b,S)=>b+S.before.length+S.lines.length+S.after.length,0);if(x+=e.beforeBody.length+e.afterBody.length,u&&(m+=u*l.lineHeight+(u-1)*t.titleSpacing+t.titleMarginBottom),x){const b=t.displayColors?Math.max(a,c.lineHeight):c.lineHeight;m+=f*b+(x-f)*c.lineHeight+(x-1)*t.bodySpacing}d&&(m+=t.footerMarginTop+d*h.lineHeight+(d-1)*t.footerSpacing);let y=0;const w=function(b){v=Math.max(v,i.measureText(b).width+y)};return i.save(),i.font=l.string,j(e.title,w),i.font=c.string,j(e.beforeBody.concat(e.afterBody),w),y=t.displayColors?o+2+t.boxPadding:0,j(n,b=>{j(b.before,w),j(b.lines,w),j(b.after,w)}),y=0,i.font=h.string,j(e.footer,w),i.restore(),v+=p.width,{width:v,height:m}}function s0(e,t){const{y:i,height:n}=t;return i<n/2?"top":i>e.height-n/2?"bottom":"center"}function r0(e,t,i,n){const{x:s,width:r}=n,o=i.caretSize+i.caretPadding;if(e==="left"&&s+r+o>t.width||e==="right"&&s-r-o<0)return!0}function o0(e,t,i,n){const{x:s,width:r}=i,{width:o,chartArea:{left:a,right:c}}=e;let l="center";return n==="center"?l=s<=(a+c)/2?"left":"right":s<=r/2?l="left":s>=o-r/2&&(l="right"),r0(l,e,t,i)&&(l="center"),l}function wl(e,t,i){const n=i.yAlign||t.yAlign||s0(e,i);return{xAlign:i.xAlign||t.xAlign||o0(e,t,i,n),yAlign:n}}function a0(e,t){let{x:i,width:n}=e;return t==="right"?i-=n:t==="center"&&(i-=n/2),i}function c0(e,t,i){let{y:n,height:s}=e;return t==="top"?n+=i:t==="bottom"?n-=s+i:n-=s/2,n}function kl(e,t,i,n){const{caretSize:s,caretPadding:r,cornerRadius:o}=e,{xAlign:a,yAlign:c}=i,l=s+r,{topLeft:h,topRight:u,bottomLeft:d,bottomRight:f}=Xe(o);let p=a0(t,a);const m=c0(t,c,l);return c==="center"?a==="left"?p+=l:a==="right"&&(p-=l):a==="left"?p-=Math.max(h,d)+s:a==="right"&&(p+=Math.max(u,f)+s),{x:Bt(p,0,n.width-t.width),y:Bt(m,0,n.height-t.height)}}function qn(e,t,i){const n=Pt(i.padding);return t==="center"?e.x+e.width/2:t==="right"?e.x+e.width-n.right:e.x+n.left}function Sl(e){return Yt([],$t(e))}function l0(e,t,i){return Je(e,{tooltip:t,tooltipItems:i,type:"tooltip"})}function Al(e,t){const i=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return i?e.override(i):e}const Ml={beforeTitle:Gt,title(e){if(e.length>0){const t=e[0],i=t.chart.data.labels,n=i?i.length:0;if(this&&this.options&&this.options.mode==="dataset")return t.dataset.label||"";if(t.label)return t.label;if(n>0&&t.dataIndex<n)return i[t.dataIndex]}return""},afterTitle:Gt,beforeBody:Gt,beforeLabel:Gt,label(e){if(this&&this.options&&this.options.mode==="dataset")return e.label+": "+e.formattedValue||e.formattedValue;let t=e.dataset.label||"";t&&(t+=": ");const i=e.formattedValue;return Q(i)||(t+=i),t},labelColor(e){const i=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{borderColor:i.borderColor,backgroundColor:i.backgroundColor,borderWidth:i.borderWidth,borderDash:i.borderDash,borderDashOffset:i.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(e){const i=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{pointStyle:i.pointStyle,rotation:i.rotation}},afterLabel:Gt,afterBody:Gt,beforeFooter:Gt,footer:Gt,afterFooter:Gt};function xt(e,t,i,n){const s=e[t].call(i,n);return typeof s>"u"?Ml[t].call(i,n):s}class Rr extends $e{constructor(t){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=t.chart,this.options=t.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(t){this.options=t,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const t=this._cachedAnimations;if(t)return t;const i=this.chart,n=this.options.setContext(this.getContext()),s=n.enabled&&i.options.animation&&n.animations,r=new Cc(this.chart,s);return s._cacheable&&(this._cachedAnimations=Object.freeze(r)),r}getContext(){return this.$context||(this.$context=l0(this.chart.getContext(),this,this._tooltipItems))}getTitle(t,i){const{callbacks:n}=i,s=xt(n,"beforeTitle",this,t),r=xt(n,"title",this,t),o=xt(n,"afterTitle",this,t);let a=[];return a=Yt(a,$t(s)),a=Yt(a,$t(r)),a=Yt(a,$t(o)),a}getBeforeBody(t,i){return Sl(xt(i.callbacks,"beforeBody",this,t))}getBody(t,i){const{callbacks:n}=i,s=[];return j(t,r=>{const o={before:[],lines:[],after:[]},a=Al(n,r);Yt(o.before,$t(xt(a,"beforeLabel",this,r))),Yt(o.lines,xt(a,"label",this,r)),Yt(o.after,$t(xt(a,"afterLabel",this,r))),s.push(o)}),s}getAfterBody(t,i){return Sl(xt(i.callbacks,"afterBody",this,t))}getFooter(t,i){const{callbacks:n}=i,s=xt(n,"beforeFooter",this,t),r=xt(n,"footer",this,t),o=xt(n,"afterFooter",this,t);let a=[];return a=Yt(a,$t(s)),a=Yt(a,$t(r)),a=Yt(a,$t(o)),a}_createItems(t){const i=this._active,n=this.chart.data,s=[],r=[],o=[];let a=[],c,l;for(c=0,l=i.length;c<l;++c)a.push(n0(this.chart,i[c]));return t.filter&&(a=a.filter((h,u,d)=>t.filter(h,u,d,n))),t.itemSort&&(a=a.sort((h,u)=>t.itemSort(h,u,n))),j(a,h=>{const u=Al(t.callbacks,h);s.push(xt(u,"labelColor",this,h)),r.push(xt(u,"labelPointStyle",this,h)),o.push(xt(u,"labelTextColor",this,h))}),this.labelColors=s,this.labelPointStyles=r,this.labelTextColors=o,this.dataPoints=a,a}update(t,i){const n=this.options.setContext(this.getContext()),s=this._active;let r,o=[];if(!s.length)this.opacity!==0&&(r={opacity:0});else{const a=Ui[n.position].call(this,s,this._eventPosition);o=this._createItems(n),this.title=this.getTitle(o,n),this.beforeBody=this.getBeforeBody(o,n),this.body=this.getBody(o,n),this.afterBody=this.getAfterBody(o,n),this.footer=this.getFooter(o,n);const c=this._size=_l(this,n),l=Object.assign({},a,c),h=wl(this.chart,n,l),u=kl(n,l,h,this.chart);this.xAlign=h.xAlign,this.yAlign=h.yAlign,r={opacity:1,x:u.x,y:u.y,width:c.width,height:c.height,caretX:a.x,caretY:a.y}}this._tooltipItems=o,this.$context=void 0,r&&this._resolveAnimations().update(this,r),t&&n.external&&n.external.call(this,{chart:this.chart,tooltip:this,replay:i})}drawCaret(t,i,n,s){const r=this.getCaretPosition(t,n,s);i.lineTo(r.x1,r.y1),i.lineTo(r.x2,r.y2),i.lineTo(r.x3,r.y3)}getCaretPosition(t,i,n){const{xAlign:s,yAlign:r}=this,{caretSize:o,cornerRadius:a}=n,{topLeft:c,topRight:l,bottomLeft:h,bottomRight:u}=Xe(a),{x:d,y:f}=t,{width:p,height:m}=i;let v,x,y,w,b,S;return r==="center"?(b=f+m/2,s==="left"?(v=d,x=v-o,w=b+o,S=b-o):(v=d+p,x=v+o,w=b-o,S=b+o),y=v):(s==="left"?x=d+Math.max(c,h)+o:s==="right"?x=d+p-Math.max(l,u)-o:x=this.caretX,r==="top"?(w=f,b=w-o,v=x-o,y=x+o):(w=f+m,b=w+o,v=x+o,y=x-o),S=w),{x1:v,x2:x,x3:y,y1:w,y2:b,y3:S}}drawTitle(t,i,n){const s=this.title,r=s.length;let o,a,c;if(r){const l=Ze(n.rtl,this.x,this.width);for(t.x=qn(this,n.titleAlign,n),i.textAlign=l.textAlign(n.titleAlign),i.textBaseline="middle",o=dt(n.titleFont),a=n.titleSpacing,i.fillStyle=n.titleColor,i.font=o.string,c=0;c<r;++c)i.fillText(s[c],l.x(t.x),t.y+o.lineHeight/2),t.y+=o.lineHeight+a,c+1===r&&(t.y+=n.titleMarginBottom-a)}}_drawColorBox(t,i,n,s,r){const o=this.labelColors[n],a=this.labelPointStyles[n],{boxHeight:c,boxWidth:l}=r,h=dt(r.bodyFont),u=qn(this,"left",r),d=s.x(u),f=c<h.lineHeight?(h.lineHeight-c)/2:0,p=i.y+f;if(r.usePointStyle){const m={radius:Math.min(l,c)/2,pointStyle:a.pointStyle,rotation:a.rotation,borderWidth:1},v=s.leftForLtr(d,l)+l/2,x=p+c/2;t.strokeStyle=r.multiKeyBackground,t.fillStyle=r.multiKeyBackground,uc(t,m,v,x),t.strokeStyle=o.borderColor,t.fillStyle=o.backgroundColor,uc(t,m,v,x)}else{t.lineWidth=N(o.borderWidth)?Math.max(...Object.values(o.borderWidth)):o.borderWidth||1,t.strokeStyle=o.borderColor,t.setLineDash(o.borderDash||[]),t.lineDashOffset=o.borderDashOffset||0;const m=s.leftForLtr(d,l),v=s.leftForLtr(s.xPlus(d,1),l-2),x=Xe(o.borderRadius);Object.values(x).some(y=>y!==0)?(t.beginPath(),t.fillStyle=r.multiKeyBackground,Dn(t,{x:m,y:p,w:l,h:c,radius:x}),t.fill(),t.stroke(),t.fillStyle=o.backgroundColor,t.beginPath(),Dn(t,{x:v,y:p+1,w:l-2,h:c-2,radius:x}),t.fill()):(t.fillStyle=r.multiKeyBackground,t.fillRect(m,p,l,c),t.strokeRect(m,p,l,c),t.fillStyle=o.backgroundColor,t.fillRect(v,p+1,l-2,c-2))}t.fillStyle=this.labelTextColors[n]}drawBody(t,i,n){const{body:s}=this,{bodySpacing:r,bodyAlign:o,displayColors:a,boxHeight:c,boxWidth:l,boxPadding:h}=n,u=dt(n.bodyFont);let d=u.lineHeight,f=0;const p=Ze(n.rtl,this.x,this.width),m=function(C){i.fillText(C,p.x(t.x+f),t.y+d/2),t.y+=d+r},v=p.textAlign(o);let x,y,w,b,S,_,A;for(i.textAlign=o,i.textBaseline="middle",i.font=u.string,t.x=qn(this,v,n),i.fillStyle=n.bodyColor,j(this.beforeBody,m),f=a&&v!=="right"?o==="center"?l/2+h:l+2+h:0,b=0,_=s.length;b<_;++b){for(x=s[b],y=this.labelTextColors[b],i.fillStyle=y,j(x.before,m),w=x.lines,a&&w.length&&(this._drawColorBox(i,t,b,p,n),d=Math.max(u.lineHeight,c)),S=0,A=w.length;S<A;++S)m(w[S]),d=u.lineHeight;j(x.after,m)}f=0,d=u.lineHeight,j(this.afterBody,m),t.y-=r}drawFooter(t,i,n){const s=this.footer,r=s.length;let o,a;if(r){const c=Ze(n.rtl,this.x,this.width);for(t.x=qn(this,n.footerAlign,n),t.y+=n.footerMarginTop,i.textAlign=c.textAlign(n.footerAlign),i.textBaseline="middle",o=dt(n.footerFont),i.fillStyle=n.footerColor,i.font=o.string,a=0;a<r;++a)i.fillText(s[a],c.x(t.x),t.y+o.lineHeight/2),t.y+=o.lineHeight+n.footerSpacing}}drawBackground(t,i,n,s){const{xAlign:r,yAlign:o}=this,{x:a,y:c}=t,{width:l,height:h}=n,{topLeft:u,topRight:d,bottomLeft:f,bottomRight:p}=Xe(s.cornerRadius);i.fillStyle=s.backgroundColor,i.strokeStyle=s.borderColor,i.lineWidth=s.borderWidth,i.beginPath(),i.moveTo(a+u,c),o==="top"&&this.drawCaret(t,i,n,s),i.lineTo(a+l-d,c),i.quadraticCurveTo(a+l,c,a+l,c+d),o==="center"&&r==="right"&&this.drawCaret(t,i,n,s),i.lineTo(a+l,c+h-p),i.quadraticCurveTo(a+l,c+h,a+l-p,c+h),o==="bottom"&&this.drawCaret(t,i,n,s),i.lineTo(a+f,c+h),i.quadraticCurveTo(a,c+h,a,c+h-f),o==="center"&&r==="left"&&this.drawCaret(t,i,n,s),i.lineTo(a,c+u),i.quadraticCurveTo(a,c,a+u,c),i.closePath(),i.fill(),s.borderWidth>0&&i.stroke()}_updateAnimationTarget(t){const i=this.chart,n=this.$animations,s=n&&n.x,r=n&&n.y;if(s||r){const o=Ui[t.position].call(this,this._active,this._eventPosition);if(!o)return;const a=this._size=_l(this,t),c=Object.assign({},o,this._size),l=wl(i,t,c),h=kl(t,c,l,i);(s._to!==h.x||r._to!==h.y)&&(this.xAlign=l.xAlign,this.yAlign=l.yAlign,this.width=a.width,this.height=a.height,this.caretX=o.x,this.caretY=o.y,this._resolveAnimations().update(this,h))}}_willRender(){return!!this.opacity}draw(t){const i=this.options.setContext(this.getContext());let n=this.opacity;if(!n)return;this._updateAnimationTarget(i);const s={width:this.width,height:this.height},r={x:this.x,y:this.y};n=Math.abs(n)<.001?0:n;const o=Pt(i.padding),a=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;i.enabled&&a&&(t.save(),t.globalAlpha=n,this.drawBackground(r,t,s,i),Sc(t,i.textDirection),r.y+=o.top,this.drawTitle(r,t,i),this.drawBody(r,t,i),this.drawFooter(r,t,i),Ac(t,i.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,i){const n=this._active,s=t.map(({datasetIndex:a,index:c})=>{const l=this.chart.getDatasetMeta(a);if(!l)throw new Error("Cannot find a dataset at index "+a);return{datasetIndex:a,element:l.data[c],index:c}}),r=!Sn(n,s),o=this._positionChanged(s,i);(r||o)&&(this._active=s,this._eventPosition=i,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,i,n=!0){if(i&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const s=this.options,r=this._active||[],o=this._getActiveElements(t,r,i,n),a=this._positionChanged(o,t),c=i||!Sn(o,r)||a;return c&&(this._active=o,(s.enabled||s.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,i))),c}_getActiveElements(t,i,n,s){const r=this.options;if(t.type==="mouseout")return[];if(!s)return i.filter(a=>this.chart.data.datasets[a.datasetIndex]&&this.chart.getDatasetMeta(a.datasetIndex).controller.getParsed(a.index)!==void 0);const o=this.chart.getElementsAtEventForMode(t,r.mode,r,n);return r.reverse&&o.reverse(),o}_positionChanged(t,i){const{caretX:n,caretY:s,options:r}=this,o=Ui[r.position].call(this,t,i);return o!==!1&&(n!==o.x||s!==o.y)}}L(Rr,"positioners",Ui);var h0={id:"tooltip",_element:Rr,positioners:Ui,afterInit(e,t,i){i&&(e.tooltip=new Rr({chart:e,options:i}))},beforeUpdate(e,t,i){e.tooltip&&e.tooltip.initialize(i)},reset(e,t,i){e.tooltip&&e.tooltip.initialize(i)},afterDraw(e){const t=e.tooltip;if(t&&t._willRender()){const i={tooltip:t};if(e.notifyPlugins("beforeTooltipDraw",{...i,cancelable:!0})===!1)return;t.draw(e.ctx),e.notifyPlugins("afterTooltipDraw",i)}},afterEvent(e,t){if(e.tooltip){const i=t.replay;e.tooltip.handleEvent(t.event,i,t.inChartArea)&&(t.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(e,t)=>t.bodyFont.size,boxWidth:(e,t)=>t.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:Ml},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:e=>e!=="filter"&&e!=="itemSort"&&e!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};const u0=(e,t,i,n)=>(typeof t=="string"?(i=e.push(t)-1,n.unshift({index:i,label:t})):isNaN(t)&&(i=null),i);function d0(e,t,i,n){const s=e.indexOf(t);if(s===-1)return u0(e,t,i,n);const r=e.lastIndexOf(t);return s!==r?i:s}const f0=(e,t)=>e===null?null:Bt(Math.round(e),0,t);function Cl(e){const t=this.getLabels();return e>=0&&e<t.length?t[e]:e}class Ir extends ti{constructor(t){super(t),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(t){const i=this._addedLabels;if(i.length){const n=this.getLabels();for(const{index:s,label:r}of i)n[s]===r&&n.splice(s,1);this._addedLabels=[]}super.init(t)}parse(t,i){if(Q(t))return null;const n=this.getLabels();return i=isFinite(i)&&n[i]===t?i:d0(n,t,U(i,t),this._addedLabels),f0(i,n.length-1)}determineDataLimits(){const{minDefined:t,maxDefined:i}=this.getUserBounds();let{min:n,max:s}=this.getMinMax(!0);this.options.bounds==="ticks"&&(t||(n=0),i||(s=this.getLabels().length-1)),this.min=n,this.max=s}buildTicks(){const t=this.min,i=this.max,n=this.options.offset,s=[];let r=this.getLabels();r=t===0&&i===r.length-1?r:r.slice(t,i+1),this._valueRange=Math.max(r.length-(n?0:1),1),this._startValue=this.min-(n?.5:0);for(let o=t;o<=i;o++)s.push({value:o});return s}getLabelForValue(t){return Cl.call(this,t)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(t){return typeof t!="number"&&(t=this.parse(t)),t===null?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getPixelForTick(t){const i=this.ticks;return t<0||t>i.length-1?null:this.getPixelForValue(i[t].value)}getValueForPixel(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}getBasePixel(){return this.bottom}}L(Ir,"id","category"),L(Ir,"defaults",{ticks:{callback:Cl}});function p0(e,t){const i=[],{bounds:s,step:r,min:o,max:a,precision:c,count:l,maxTicks:h,maxDigits:u,includeBounds:d}=e,f=r||1,p=h-1,{min:m,max:v}=t,x=!Q(o),y=!Q(a),w=!Q(l),b=(v-m)/(u+1);let S=Xa((v-m)/p/f)*f,_,A,C,M;if(S<1e-14&&!x&&!y)return[{value:m},{value:v}];M=Math.ceil(v/S)-Math.floor(m/S),M>p&&(S=Xa(M*S/p/f)*f),Q(c)||(_=Math.pow(10,c),S=Math.ceil(S*_)/_),s==="ticks"?(A=Math.floor(m/S)*S,C=Math.ceil(v/S)*S):(A=m,C=v),x&&y&&r&&lp((a-o)/r,S/1e3)?(M=Math.round(Math.min((a-o)/S,h)),S=(a-o)/M,A=o,C=a):w?(A=x?o:A,C=y?a:C,M=l-1,S=(C-A)/M):(M=(C-A)/S,Cn(M,Math.round(M),S/1e3)?M=Math.round(M):M=Math.ceil(M));const O=Math.max(Ja(S),Ja(A));_=Math.pow(10,Q(c)?O:c),A=Math.round(A*_)/_,C=Math.round(C*_)/_;let E=0;for(x&&(d&&A!==o?(i.push({value:o}),A<o&&E++,Cn(Math.round((A+E*S)*_)/_,o,Ol(o,b,e))&&E++):A<o&&E++);E<M;++E){const T=Math.round((A+E*S)*_)/_;if(y&&T>a)break;i.push({value:T})}return y&&d&&C!==a?i.length&&Cn(i[i.length-1].value,a,Ol(a,b,e))?i[i.length-1].value=a:i.push({value:a}):(!y||C===a)&&i.push({value:C}),i}function Ol(e,t,{horizontal:i,minRotation:n}){const s=Ut(n),r=(i?Math.sin(s):Math.cos(s))||.001,o=.75*t*(""+e).length;return Math.min(t/r,o)}class g0 extends ti{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(t,i){return Q(t)||(typeof t=="number"||t instanceof Number)&&!isFinite(+t)?null:+t}handleTickRangeOptions(){const{beginAtZero:t}=this.options,{minDefined:i,maxDefined:n}=this.getUserBounds();let{min:s,max:r}=this;const o=c=>s=i?s:c,a=c=>r=n?r:c;if(t){const c=fe(s),l=fe(r);c<0&&l<0?a(0):c>0&&l>0&&o(0)}if(s===r){let c=r===0?1:Math.abs(r*.05);a(r+c),t||o(s-c)}this.min=s,this.max=r}getTickLimit(){const t=this.options.ticks;let{maxTicksLimit:i,stepSize:n}=t,s;return n?(s=Math.ceil(this.max/n)-Math.floor(this.min/n)+1,s>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${n} would result generating up to ${s} ticks. Limiting to 1000.`),s=1e3)):(s=this.computeTickLimit(),i=i||11),i&&(s=Math.min(i,s)),s}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const t=this.options,i=t.ticks;let n=this.getTickLimit();n=Math.max(2,n);const s={maxTicks:n,bounds:t.bounds,min:t.min,max:t.max,precision:i.precision,step:i.stepSize,count:i.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:i.minRotation||0,includeBounds:i.includeBounds!==!1},r=this._range||this,o=p0(s,r);return t.bounds==="ticks"&&hp(o,this,"value"),t.reverse?(o.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),o}configure(){const t=this.ticks;let i=this.min,n=this.max;if(super.configure(),this.options.offset&&t.length){const s=(n-i)/Math.max(t.length-1,1)/2;i-=s,n+=s}this._startValue=i,this._endValue=n,this._valueRange=n-i}getLabelForValue(t){return Tn(t,this.chart.options.locale,this.options.ticks.format)}}class Lr extends g0{determineDataLimits(){const{min:t,max:i}=this.getMinMax(!0);this.min=Dt(t)?t:0,this.max=Dt(i)?i:1,this.handleTickRangeOptions()}computeTickLimit(){const t=this.isHorizontal(),i=t?this.width:this.height,n=Ut(this.options.ticks.minRotation),s=(t?Math.sin(n):Math.cos(n))||.001,r=this._resolveTickFontOptions(0);return Math.ceil(i/Math.min(40,r.lineHeight/s))}getPixelForValue(t){return t===null?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getValueForPixel(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}}L(Lr,"id","linear"),L(Lr,"defaults",{ticks:{callback:cc.formatters.numeric}});const Qn={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},yt=Object.keys(Qn);function El(e,t){return e-t}function Tl(e,t){if(Q(t))return null;const i=e._adapter,{parser:n,round:s,isoWeekday:r}=e._parseOpts;let o=t;return typeof n=="function"&&(o=n(o)),Dt(o)||(o=typeof n=="string"?i.parse(o,n):i.parse(o)),o===null?null:(s&&(o=s==="week"&&(On(r)||r===!0)?i.startOf(o,"isoWeek",r):i.startOf(o,s)),+o)}function Dl(e,t,i,n){const s=yt.length;for(let r=yt.indexOf(e);r<s-1;++r){const o=Qn[yt[r]],a=o.steps?o.steps:Number.MAX_SAFE_INTEGER;if(o.common&&Math.ceil((i-t)/(a*o.size))<=n)return yt[r]}return yt[s-1]}function m0(e,t,i,n,s){for(let r=yt.length-1;r>=yt.indexOf(i);r--){const o=yt[r];if(Qn[o].common&&e._adapter.diff(s,n,o)>=t-1)return o}return yt[i?yt.indexOf(i):0]}function b0(e){for(let t=yt.indexOf(e)+1,i=yt.length;t<i;++t)if(Qn[yt[t]].common)return yt[t]}function Pl(e,t,i){if(!i)e[t]=!0;else if(i.length){const{lo:n,hi:s}=or(i,t),r=i[n]>=t?i[n]:i[s];e[r]=!0}}function v0(e,t,i,n){const s=e._adapter,r=+s.startOf(t[0].value,n),o=t[t.length-1].value;let a,c;for(a=r;a<=o;a=+s.add(a,1,n))c=i[a],c>=0&&(t[c].major=!0);return t}function Rl(e,t,i){const n=[],s={},r=t.length;let o,a;for(o=0;o<r;++o)a=t[o],s[a]=o,n.push({value:a,major:!1});return r===0||!i?n:v0(e,n,s,i)}class Xn extends ti{constructor(t){super(t),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(t,i={}){const n=t.time||(t.time={}),s=this._adapter=new Cg._date(t.adapters.date);s.init(i),Ei(n.displayFormats,s.formats()),this._parseOpts={parser:n.parser,round:n.round,isoWeekday:n.isoWeekday},super.init(t),this._normalized=i.normalized}parse(t,i){return t===void 0?null:Tl(this,t)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const t=this.options,i=this._adapter,n=t.time.unit||"day";let{min:s,max:r,minDefined:o,maxDefined:a}=this.getUserBounds();function c(l){!o&&!isNaN(l.min)&&(s=Math.min(s,l.min)),!a&&!isNaN(l.max)&&(r=Math.max(r,l.max))}(!o||!a)&&(c(this._getLabelBounds()),(t.bounds!=="ticks"||t.ticks.source!=="labels")&&c(this.getMinMax(!1))),s=Dt(s)&&!isNaN(s)?s:+i.startOf(Date.now(),n),r=Dt(r)&&!isNaN(r)?r:+i.endOf(Date.now(),n)+1,this.min=Math.min(s,r-1),this.max=Math.max(s+1,r)}_getLabelBounds(){const t=this.getLabelTimestamps();let i=Number.POSITIVE_INFINITY,n=Number.NEGATIVE_INFINITY;return t.length&&(i=t[0],n=t[t.length-1]),{min:i,max:n}}buildTicks(){const t=this.options,i=t.time,n=t.ticks,s=n.source==="labels"?this.getLabelTimestamps():this._generate();t.bounds==="ticks"&&s.length&&(this.min=this._userMin||s[0],this.max=this._userMax||s[s.length-1]);const r=this.min,o=this.max,a=mp(s,r,o);return this._unit=i.unit||(n.autoSkip?Dl(i.minUnit,this.min,this.max,this._getLabelCapacity(r)):m0(this,a.length,i.minUnit,this.min,this.max)),this._majorUnit=!n.major.enabled||this._unit==="year"?void 0:b0(this._unit),this.initOffsets(s),t.reverse&&a.reverse(),Rl(this,a,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map(t=>+t.value))}initOffsets(t=[]){let i=0,n=0,s,r;this.options.offset&&t.length&&(s=this.getDecimalForValue(t[0]),t.length===1?i=1-s:i=(this.getDecimalForValue(t[1])-s)/2,r=this.getDecimalForValue(t[t.length-1]),t.length===1?n=r:n=(r-this.getDecimalForValue(t[t.length-2]))/2);const o=t.length<3?.5:.25;i=Bt(i,0,o),n=Bt(n,0,o),this._offsets={start:i,end:n,factor:1/(i+1+n)}}_generate(){const t=this._adapter,i=this.min,n=this.max,s=this.options,r=s.time,o=r.unit||Dl(r.minUnit,i,n,this._getLabelCapacity(i)),a=U(s.ticks.stepSize,1),c=o==="week"?r.isoWeekday:!1,l=On(c)||c===!0,h={};let u=i,d,f;if(l&&(u=+t.startOf(u,"isoWeek",c)),u=+t.startOf(u,l?"day":o),t.diff(n,i,o)>1e5*a)throw new Error(i+" and "+n+" are too far apart with stepSize of "+a+" "+o);const p=s.ticks.source==="data"&&this.getDataTimestamps();for(d=u,f=0;d<n;d=+t.add(d,a,o),f++)Pl(h,d,p);return(d===n||s.bounds==="ticks"||f===1)&&Pl(h,d,p),Object.keys(h).sort(El).map(m=>+m)}getLabelForValue(t){const i=this._adapter,n=this.options.time;return n.tooltipFormat?i.format(t,n.tooltipFormat):i.format(t,n.displayFormats.datetime)}format(t,i){const s=this.options.time.displayFormats,r=this._unit,o=i||s[r];return this._adapter.format(t,o)}_tickFormatFunction(t,i,n,s){const r=this.options,o=r.ticks.callback;if(o)return X(o,[t,i,n],this);const a=r.time.displayFormats,c=this._unit,l=this._majorUnit,h=c&&a[c],u=l&&a[l],d=n[i],f=l&&u&&d&&d.major;return this._adapter.format(t,s||(f?u:h))}generateTickLabels(t){let i,n,s;for(i=0,n=t.length;i<n;++i)s=t[i],s.label=this._tickFormatFunction(s.value,i,t)}getDecimalForValue(t){return t===null?NaN:(t-this.min)/(this.max-this.min)}getPixelForValue(t){const i=this._offsets,n=this.getDecimalForValue(t);return this.getPixelForDecimal((i.start+n)*i.factor)}getValueForPixel(t){const i=this._offsets,n=this.getDecimalForPixel(t)/i.factor-i.end;return this.min+n*(this.max-this.min)}_getLabelSize(t){const i=this.options.ticks,n=this.ctx.measureText(t).width,s=Ut(this.isHorizontal()?i.maxRotation:i.minRotation),r=Math.cos(s),o=Math.sin(s),a=this._resolveTickFontOptions(0).size;return{w:n*r+a*o,h:n*o+a*r}}_getLabelCapacity(t){const i=this.options.time,n=i.displayFormats,s=n[i.unit]||n.millisecond,r=this._tickFormatFunction(t,0,Rl(this,[t],this._majorUnit),s),o=this._getLabelSize(r),a=Math.floor(this.isHorizontal()?this.width/o.w:this.height/o.h)-1;return a>0?a:1}getDataTimestamps(){let t=this._cache.data||[],i,n;if(t.length)return t;const s=this.getMatchingVisibleMetas();if(this._normalized&&s.length)return this._cache.data=s[0].controller.getAllParsedValues(this);for(i=0,n=s.length;i<n;++i)t=t.concat(s[i].controller.getAllParsedValues(this));return this._cache.data=this.normalize(t)}getLabelTimestamps(){const t=this._cache.labels||[];let i,n;if(t.length)return t;const s=this.getLabels();for(i=0,n=s.length;i<n;++i)t.push(Tl(this,s[i]));return this._cache.labels=this._normalized?t:this.normalize(t)}normalize(t){return $a(t.sort(El))}}L(Xn,"id","time"),L(Xn,"defaults",{bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}});function Jn(e,t,i){let n=0,s=e.length-1,r,o,a,c;i?(t>=e[n].pos&&t<=e[s].pos&&({lo:n,hi:s}=ar(e,"pos",t)),{pos:r,time:a}=e[n],{pos:o,time:c}=e[s]):(t>=e[n].time&&t<=e[s].time&&({lo:n,hi:s}=ar(e,"time",t)),{time:r,pos:a}=e[n],{time:o,pos:c}=e[s]);const l=o-r;return l?a+(c-a)*(t-r)/l:a}class Il extends Xn{constructor(t){super(t),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const t=this._getTimestampsForTable(),i=this._table=this.buildLookupTable(t);this._minPos=Jn(i,this.min),this._tableRange=Jn(i,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){const{min:i,max:n}=this,s=[],r=[];let o,a,c,l,h;for(o=0,a=t.length;o<a;++o)l=t[o],l>=i&&l<=n&&s.push(l);if(s.length<2)return[{time:i,pos:0},{time:n,pos:1}];for(o=0,a=s.length;o<a;++o)h=s[o+1],c=s[o-1],l=s[o],Math.round((h+c)/2)!==l&&r.push({time:l,pos:o/(a-1)});return r}_generate(){const t=this.min,i=this.max;let n=super.getDataTimestamps();return(!n.includes(t)||!n.length)&&n.splice(0,0,t),(!n.includes(i)||n.length===1)&&n.push(i),n.sort((s,r)=>s-r)}_getTimestampsForTable(){let t=this._cache.all||[];if(t.length)return t;const i=this.getDataTimestamps(),n=this.getLabelTimestamps();return i.length&&n.length?t=this.normalize(i.concat(n)):t=i.length?i:n,t=this._cache.all=t,t}getDecimalForValue(t){return(Jn(this._table,t)-this._minPos)/this._tableRange}getValueForPixel(t){const i=this._offsets,n=this.getDecimalForPixel(t)/i.factor-i.end;return Jn(this._table,n*this._tableRange+this._minPos,!0)}}L(Il,"id","timeseries"),L(Il,"defaults",Xn.defaults),Er.register(Qm,Fn,Kn,Ir,Lr,t0,i0,h0);function x0({type:e="bar",data:t,options:i}){const n=it(null),s=it(null);return se(()=>{s.current&&(n.current?(n.current.options=i,n.current.data=t,n.current.update()):n.current=new Er(s.current,{type:e,data:t,options:i}))},[e,t,i]),g("div",{class:"chart",children:g("canvas",{ref:s})})}const Ll=["--teal-700","--yellow-400","--teal-400","--orange-400","--green-400","--red-400"],Fr=["0 - 1s","1 - 30s","30s - 30min","30 - 60min","1 - 5hr","5 - 10hr","10 - 18hr","18+hr"],Br=(e,t,i=0)=>`${e.toFixed(i)} ${t}${e==1?"":"s"}`,Fl=e=>{const t=e/3600;if(t>=1)return Br(t,"hour",1);const i=e/60;return i>=1?Br(i,"minute",0):Br(e,"second",0)},Gn=e=>e.replace(/ \([^)]+\)/,"");function y0({infoGroupId:e}){const[t,i]=mt("overview"),n=bh(e).filter(l=>l.cider_type=="Compute"),s=ft(n.length?n.map(l=>`https://rest-test.ccr.xdmod.org/rest/v0.1/custom_queries/wait_times/${l.info_resourceid}/`):null,{defaultValue:[]}),r=ft(t!=="overview"?`https://rest-test.ccr.xdmod.org/rest/v0.1/custom_queries/wait_times/${t}/queue/job_walltime`:null);if(!s.length||!n.length)return;const o=s.map((l,h)=>l.error?l:{...l.data[0],...n[h]}).filter(l=>!l.error);if(!o.length)return;const a=[g("select",{value:t,onChange:l=>i(l.target.value),children:[g("option",{value:"overview",children:"Overview"}),o.map(l=>g("option",{value:l.info_resourceid,children:Gn(l.resource_descriptive_name)}))]})];let c=null;if(t==="overview")c=g("div",{class:"cards",children:o.map(({info_resourceid:l,job_count:h,median_expansion_factor:u,median_wait_time:d,median_wall_time:f,resource_descriptive_name:p})=>g("p",{class:"card metrics-overview",children:[g("b",{children:[Gn(p),":"]})," Users ran"," ",g("strong",{children:[g(H,{name:"file-earmark-code"}),parseInt(h).toLocaleString("en-us")," jobs"]})," ","during the last 30 days. Waiting in the queue caused an average"," ",g("strong",{children:[g(H,{name:"calculator"}),((u-1)*100).toLocaleString("en-us",{maximumFractionDigits:0}),"% increase"]})," ","in the total completion time. The average job waited for"," ",g("strong",{children:[g(H,{name:"hourglass-split"})," ",Fl(d)]})," ","and ran for"," ",g("strong",{children:[g(H,{name:"stopwatch"}),Fl(f)]}),"."," ",g("a",{title:`Wait time chart for ${Gn(p)}`,href:"#",onClick:m=>{m.preventDefault(),i(l)},children:"View chart »"})]}))});else if(r&&r.info_resource_id===t){const l={},h=Fr;for(let p of r.data)l[p.queue]=l[p.queue]||{label:p.queue,data:Array(Fr.length).fill(null)},l[p.queue].data[Fr.indexOf(p.job_walltime)]=p.median_wait_time/60;const u=Object.values(l);u.forEach((p,m)=>{let v=Ll[m%(Ll.length-1)];p.backgroundColor=getComputedStyle(document.body).getPropertyValue(v)});const d=o.find(p=>p.info_resourceid==r.info_resource_id),f={interaction:{intersect:!1,mode:"index"},plugins:{title:{display:!0,text:`Median Wait Time by Queue on ${Gn(d.resource_descriptive_name)}: Last 30 Days`}},scales:{x:{title:{display:!0,text:"Job Wall Time (Run Time)"}},y:{title:{display:!0,text:"Median Wait Time (Minutes)"}}}};c=g(Z,{children:[g(x0,{type:"bar",data:{labels:h,datasets:u},options:f}),g("p",{children:g("a",{href:"#",onClick:p=>{p.preventDefault(),i("overview")},children:"« Back to overview"})})]})}return g(zt,{title:"Wait Time",icon:"hourglass-split",headerComponents:a,children:[c,g("p",{class:"metrics-disclaimer",children:[g(H,{name:"info-circle"}),"These metrics describe activity from ACCESS projects. Many resources have additional projects that are not part of ACCESS."]})]})}function te(e){return Array.isArray?Array.isArray(e):Vl(e)==="[object Array]"}const _0=1/0;function w0(e){if(typeof e=="string")return e;let t=e+"";return t=="0"&&1/e==-_0?"-0":t}function k0(e){return e==null?"":w0(e)}function Kt(e){return typeof e=="string"}function Bl(e){return typeof e=="number"}function S0(e){return e===!0||e===!1||A0(e)&&Vl(e)=="[object Boolean]"}function zl(e){return typeof e=="object"}function A0(e){return zl(e)&&e!==null}function At(e){return e!=null}function zr(e){return!e.trim().length}function Vl(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const Ab="Extended search is not available",M0="Incorrect 'index' type",C0=e=>`Invalid value for key ${e}`,O0=e=>`Pattern length exceeds max of ${e}.`,E0=e=>`Missing ${e} property in key`,T0=e=>`Property 'weight' in key '${e}' must be a positive integer`,Hl=Object.prototype.hasOwnProperty;class D0{constructor(t){this._keys=[],this._keyMap={};let i=0;t.forEach(n=>{let s=Nl(n);this._keys.push(s),this._keyMap[s.id]=s,i+=s.weight}),this._keys.forEach(n=>{n.weight/=i})}get(t){return this._keyMap[t]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function Nl(e){let t=null,i=null,n=null,s=1,r=null;if(Kt(e)||te(e))n=e,t=Wl(e),i=Vr(e);else{if(!Hl.call(e,"name"))throw new Error(E0("name"));const o=e.name;if(n=o,Hl.call(e,"weight")&&(s=e.weight,s<=0))throw new Error(T0(o));t=Wl(o),i=Vr(o),r=e.getFn}return{path:t,id:i,weight:s,src:n,getFn:r}}function Wl(e){return te(e)?e:e.split(".")}function Vr(e){return te(e)?e.join("."):e}function P0(e,t){let i=[],n=!1;const s=(r,o,a)=>{if(At(r))if(!o[a])i.push(r);else{let c=o[a];const l=r[c];if(!At(l))return;if(a===o.length-1&&(Kt(l)||Bl(l)||S0(l)))i.push(k0(l));else if(te(l)){n=!0;for(let h=0,u=l.length;h<u;h+=1)s(l[h],o,a+1)}else o.length&&s(l,o,a+1)}};return s(e,Kt(t)?t.split("."):t,0),n?i:i[0]}var R={...{isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1},...{includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},...{location:0,threshold:.6,distance:100},...{useExtendedSearch:!1,getFn:P0,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1}};const R0=/[^ ]+/g;function I0(e=1,t=3){const i=new Map,n=Math.pow(10,t);return{get(s){const r=s.match(R0).length;if(i.has(r))return i.get(r);const o=1/Math.pow(r,.5*e),a=parseFloat(Math.round(o*n)/n);return i.set(r,a),a},clear(){i.clear()}}}class Hr{constructor({getFn:t=R.getFn,fieldNormWeight:i=R.fieldNormWeight}={}){this.norm=I0(i,3),this.getFn=t,this.isCreated=!1,this.setIndexRecords()}setSources(t=[]){this.docs=t}setIndexRecords(t=[]){this.records=t}setKeys(t=[]){this.keys=t,this._keysMap={},t.forEach((i,n)=>{this._keysMap[i.id]=n})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,Kt(this.docs[0])?this.docs.forEach((t,i)=>{this._addString(t,i)}):this.docs.forEach((t,i)=>{this._addObject(t,i)}),this.norm.clear())}add(t){const i=this.size();Kt(t)?this._addString(t,i):this._addObject(t,i)}removeAt(t){this.records.splice(t,1);for(let i=t,n=this.size();i<n;i+=1)this.records[i].i-=1}getValueForItemAtKeyId(t,i){return t[this._keysMap[i]]}size(){return this.records.length}_addString(t,i){if(!At(t)||zr(t))return;let n={v:t,i,n:this.norm.get(t)};this.records.push(n)}_addObject(t,i){let n={i,$:{}};this.keys.forEach((s,r)=>{let o=s.getFn?s.getFn(t):this.getFn(t,s.path);if(At(o)){if(te(o)){let a=[];const c=[{nestedArrIndex:-1,value:o}];for(;c.length;){const{nestedArrIndex:l,value:h}=c.pop();if(At(h))if(Kt(h)&&!zr(h)){let u={v:h,i:l,n:this.norm.get(h)};a.push(u)}else te(h)&&h.forEach((u,d)=>{c.push({nestedArrIndex:d,value:u})})}n.$[r]=a}else if(Kt(o)&&!zr(o)){let a={v:o,n:this.norm.get(o)};n.$[r]=a}}}),this.records.push(n)}toJSON(){return{keys:this.keys,records:this.records}}}function Ul(e,t,{getFn:i=R.getFn,fieldNormWeight:n=R.fieldNormWeight}={}){const s=new Hr({getFn:i,fieldNormWeight:n});return s.setKeys(e.map(Nl)),s.setSources(t),s.create(),s}function L0(e,{getFn:t=R.getFn,fieldNormWeight:i=R.fieldNormWeight}={}){const{keys:n,records:s}=e,r=new Hr({getFn:t,fieldNormWeight:i});return r.setKeys(n),r.setIndexRecords(s),r}function Zn(e,{errors:t=0,currentLocation:i=0,expectedLocation:n=0,distance:s=R.distance,ignoreLocation:r=R.ignoreLocation}={}){const o=t/e.length;if(r)return o;const a=Math.abs(n-i);return s?o+a/s:a?1:o}function F0(e=[],t=R.minMatchCharLength){let i=[],n=-1,s=-1,r=0;for(let o=e.length;r<o;r+=1){let a=e[r];a&&n===-1?n=r:!a&&n!==-1&&(s=r-1,s-n+1>=t&&i.push([n,s]),n=-1)}return e[r-1]&&r-n>=t&&i.push([n,r-1]),i}const Ie=32;function B0(e,t,i,{location:n=R.location,distance:s=R.distance,threshold:r=R.threshold,findAllMatches:o=R.findAllMatches,minMatchCharLength:a=R.minMatchCharLength,includeMatches:c=R.includeMatches,ignoreLocation:l=R.ignoreLocation}={}){if(t.length>Ie)throw new Error(O0(Ie));const h=t.length,u=e.length,d=Math.max(0,Math.min(n,u));let f=r,p=d;const m=a>1||c,v=m?Array(u):[];let x;for(;(x=e.indexOf(t,p))>-1;){let A=Zn(t,{currentLocation:x,expectedLocation:d,distance:s,ignoreLocation:l});if(f=Math.min(A,f),p=x+h,m){let C=0;for(;C<h;)v[x+C]=1,C+=1}}p=-1;let y=[],w=1,b=h+u;const S=1<<h-1;for(let A=0;A<h;A+=1){let C=0,M=b;for(;C<M;)Zn(t,{errors:A,currentLocation:d+M,expectedLocation:d,distance:s,ignoreLocation:l})<=f?C=M:b=M,M=Math.floor((b-C)/2+C);b=M;let O=Math.max(1,d-M+1),E=o?u:Math.min(d+M,u)+h,T=Array(E+2);T[E+1]=(1<<A)-1;for(let z=E;z>=O;z-=1){let I=z-1,B=i[e.charAt(I)];if(m&&(v[I]=+!!B),T[z]=(T[z+1]<<1|1)&B,A&&(T[z]|=(y[z+1]|y[z])<<1|1|y[z+1]),T[z]&S&&(w=Zn(t,{errors:A,currentLocation:I,expectedLocation:d,distance:s,ignoreLocation:l}),w<=f)){if(f=w,p=I,p<=d)break;O=Math.max(1,2*d-p)}}if(Zn(t,{errors:A+1,currentLocation:d,expectedLocation:d,distance:s,ignoreLocation:l})>f)break;y=T}const _={isMatch:p>=0,score:Math.max(.001,w)};if(m){const A=F0(v,a);A.length?c&&(_.indices=A):_.isMatch=!1}return _}function z0(e){let t={};for(let i=0,n=e.length;i<n;i+=1){const s=e.charAt(i);t[s]=(t[s]||0)|1<<n-i-1}return t}class jl{constructor(t,{location:i=R.location,threshold:n=R.threshold,distance:s=R.distance,includeMatches:r=R.includeMatches,findAllMatches:o=R.findAllMatches,minMatchCharLength:a=R.minMatchCharLength,isCaseSensitive:c=R.isCaseSensitive,ignoreLocation:l=R.ignoreLocation}={}){if(this.options={location:i,threshold:n,distance:s,includeMatches:r,findAllMatches:o,minMatchCharLength:a,isCaseSensitive:c,ignoreLocation:l},this.pattern=c?t:t.toLowerCase(),this.chunks=[],!this.pattern.length)return;const h=(d,f)=>{this.chunks.push({pattern:d,alphabet:z0(d),startIndex:f})},u=this.pattern.length;if(u>Ie){let d=0;const f=u%Ie,p=u-f;for(;d<p;)h(this.pattern.substr(d,Ie),d),d+=Ie;if(f){const m=u-Ie;h(this.pattern.substr(m),m)}}else h(this.pattern,0)}searchIn(t){const{isCaseSensitive:i,includeMatches:n}=this.options;if(i||(t=t.toLowerCase()),this.pattern===t){let p={isMatch:!0,score:0};return n&&(p.indices=[[0,t.length-1]]),p}const{location:s,distance:r,threshold:o,findAllMatches:a,minMatchCharLength:c,ignoreLocation:l}=this.options;let h=[],u=0,d=!1;this.chunks.forEach(({pattern:p,alphabet:m,startIndex:v})=>{const{isMatch:x,score:y,indices:w}=B0(t,p,m,{location:s+v,distance:r,threshold:o,findAllMatches:a,minMatchCharLength:c,includeMatches:n,ignoreLocation:l});x&&(d=!0),u+=y,x&&w&&(h=[...h,...w])});let f={isMatch:d,score:d?u/this.chunks.length:1};return d&&n&&(f.indices=h),f}}class ge{constructor(t){this.pattern=t}static isMultiMatch(t){return Yl(t,this.multiRegex)}static isSingleMatch(t){return Yl(t,this.singleRegex)}search(){}}function Yl(e,t){const i=e.match(t);return i?i[1]:null}class V0 extends ge{constructor(t){super(t)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(t){const i=t===this.pattern;return{isMatch:i,score:i?0:1,indices:[0,this.pattern.length-1]}}}class H0 extends ge{constructor(t){super(t)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(t){const n=t.indexOf(this.pattern)===-1;return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class N0 extends ge{constructor(t){super(t)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(t){const i=t.startsWith(this.pattern);return{isMatch:i,score:i?0:1,indices:[0,this.pattern.length-1]}}}class W0 extends ge{constructor(t){super(t)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(t){const i=!t.startsWith(this.pattern);return{isMatch:i,score:i?0:1,indices:[0,t.length-1]}}}class U0 extends ge{constructor(t){super(t)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(t){const i=t.endsWith(this.pattern);return{isMatch:i,score:i?0:1,indices:[t.length-this.pattern.length,t.length-1]}}}class j0 extends ge{constructor(t){super(t)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(t){const i=!t.endsWith(this.pattern);return{isMatch:i,score:i?0:1,indices:[0,t.length-1]}}}class Kl extends ge{constructor(t,{location:i=R.location,threshold:n=R.threshold,distance:s=R.distance,includeMatches:r=R.includeMatches,findAllMatches:o=R.findAllMatches,minMatchCharLength:a=R.minMatchCharLength,isCaseSensitive:c=R.isCaseSensitive,ignoreLocation:l=R.ignoreLocation}={}){super(t),this._bitapSearch=new jl(t,{location:i,threshold:n,distance:s,includeMatches:r,findAllMatches:o,minMatchCharLength:a,isCaseSensitive:c,ignoreLocation:l})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(t){return this._bitapSearch.searchIn(t)}}class ql extends ge{constructor(t){super(t)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(t){let i=0,n;const s=[],r=this.pattern.length;for(;(n=t.indexOf(this.pattern,i))>-1;)i=n+r,s.push([n,i-1]);const o=!!s.length;return{isMatch:o,score:o?0:1,indices:s}}}const Nr=[V0,ql,N0,W0,j0,U0,H0,Kl],Ql=Nr.length,Y0=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,K0="|";function q0(e,t={}){return e.split(K0).map(i=>{let n=i.trim().split(Y0).filter(r=>r&&!!r.trim()),s=[];for(let r=0,o=n.length;r<o;r+=1){const a=n[r];let c=!1,l=-1;for(;!c&&++l<Ql;){const h=Nr[l];let u=h.isMultiMatch(a);u&&(s.push(new h(u,t)),c=!0)}if(!c)for(l=-1;++l<Ql;){const h=Nr[l];let u=h.isSingleMatch(a);if(u){s.push(new h(u,t));break}}}return s})}const Q0=new Set([Kl.type,ql.type]);class X0{constructor(t,{isCaseSensitive:i=R.isCaseSensitive,includeMatches:n=R.includeMatches,minMatchCharLength:s=R.minMatchCharLength,ignoreLocation:r=R.ignoreLocation,findAllMatches:o=R.findAllMatches,location:a=R.location,threshold:c=R.threshold,distance:l=R.distance}={}){this.query=null,this.options={isCaseSensitive:i,includeMatches:n,minMatchCharLength:s,findAllMatches:o,ignoreLocation:r,location:a,threshold:c,distance:l},this.pattern=i?t:t.toLowerCase(),this.query=q0(this.pattern,this.options)}static condition(t,i){return i.useExtendedSearch}searchIn(t){const i=this.query;if(!i)return{isMatch:!1,score:1};const{includeMatches:n,isCaseSensitive:s}=this.options;t=s?t:t.toLowerCase();let r=0,o=[],a=0;for(let c=0,l=i.length;c<l;c+=1){const h=i[c];o.length=0,r=0;for(let u=0,d=h.length;u<d;u+=1){const f=h[u],{isMatch:p,indices:m,score:v}=f.search(t);if(p){if(r+=1,a+=v,n){const x=f.constructor.type;Q0.has(x)?o=[...o,...m]:o.push(m)}}else{a=0,r=0,o.length=0;break}}if(r){let u={isMatch:!0,score:a/r};return n&&(u.indices=o),u}}return{isMatch:!1,score:1}}}const Wr=[];function J0(...e){Wr.push(...e)}function Ur(e,t){for(let i=0,n=Wr.length;i<n;i+=1){let s=Wr[i];if(s.condition(e,t))return new s(e,t)}return new jl(e,t)}const $n={AND:"$and",OR:"$or"},jr={PATH:"$path",PATTERN:"$val"},Yr=e=>!!(e[$n.AND]||e[$n.OR]),G0=e=>!!e[jr.PATH],Z0=e=>!te(e)&&zl(e)&&!Yr(e),Xl=e=>({[$n.AND]:Object.keys(e).map(t=>({[t]:e[t]}))});function Jl(e,t,{auto:i=!0}={}){const n=s=>{let r=Object.keys(s);const o=G0(s);if(!o&&r.length>1&&!Yr(s))return n(Xl(s));if(Z0(s)){const c=o?s[jr.PATH]:r[0],l=o?s[jr.PATTERN]:s[c];if(!Kt(l))throw new Error(C0(c));const h={keyId:Vr(c),pattern:l};return i&&(h.searcher=Ur(l,t)),h}let a={children:[],operator:r[0]};return r.forEach(c=>{const l=s[c];te(l)&&l.forEach(h=>{a.children.push(n(h))})}),a};return Yr(e)||(e=Xl(e)),n(e)}function $0(e,{ignoreFieldNorm:t=R.ignoreFieldNorm}){e.forEach(i=>{let n=1;i.matches.forEach(({key:s,norm:r,score:o})=>{const a=s?s.weight:null;n*=Math.pow(o===0&&a?Number.EPSILON:o,(a||1)*(t?1:r))}),i.score=n})}function tb(e,t){const i=e.matches;t.matches=[],At(i)&&i.forEach(n=>{if(!At(n.indices)||!n.indices.length)return;const{indices:s,value:r}=n;let o={indices:s,value:r};n.key&&(o.key=n.key.src),n.idx>-1&&(o.refIndex=n.idx),t.matches.push(o)})}function eb(e,t){t.score=e.score}function ib(e,t,{includeMatches:i=R.includeMatches,includeScore:n=R.includeScore}={}){const s=[];return i&&s.push(tb),n&&s.push(eb),e.map(r=>{const{idx:o}=r,a={item:t[o],refIndex:o};return s.length&&s.forEach(c=>{c(r,a)}),a})}class ei{constructor(t,i={},n){this.options={...R,...i},this.options.useExtendedSearch,this._keyStore=new D0(this.options.keys),this.setCollection(t,n)}setCollection(t,i){if(this._docs=t,i&&!(i instanceof Hr))throw new Error(M0);this._myIndex=i||Ul(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(t){At(t)&&(this._docs.push(t),this._myIndex.add(t))}remove(t=()=>!1){const i=[];for(let n=0,s=this._docs.length;n<s;n+=1){const r=this._docs[n];t(r,n)&&(this.removeAt(n),n-=1,s-=1,i.push(r))}return i}removeAt(t){this._docs.splice(t,1),this._myIndex.removeAt(t)}getIndex(){return this._myIndex}search(t,{limit:i=-1}={}){const{includeMatches:n,includeScore:s,shouldSort:r,sortFn:o,ignoreFieldNorm:a}=this.options;let c=Kt(t)?Kt(this._docs[0])?this._searchStringList(t):this._searchObjectList(t):this._searchLogical(t);return $0(c,{ignoreFieldNorm:a}),r&&c.sort(o),Bl(i)&&i>-1&&(c=c.slice(0,i)),ib(c,this._docs,{includeMatches:n,includeScore:s})}_searchStringList(t){const i=Ur(t,this.options),{records:n}=this._myIndex,s=[];return n.forEach(({v:r,i:o,n:a})=>{if(!At(r))return;const{isMatch:c,score:l,indices:h}=i.searchIn(r);c&&s.push({item:r,idx:o,matches:[{score:l,value:r,norm:a,indices:h}]})}),s}_searchLogical(t){const i=Jl(t,this.options),n=(a,c,l)=>{if(!a.children){const{keyId:u,searcher:d}=a,f=this._findMatches({key:this._keyStore.get(u),value:this._myIndex.getValueForItemAtKeyId(c,u),searcher:d});return f&&f.length?[{idx:l,item:c,matches:f}]:[]}const h=[];for(let u=0,d=a.children.length;u<d;u+=1){const f=a.children[u],p=n(f,c,l);if(p.length)h.push(...p);else if(a.operator===$n.AND)return[]}return h},s=this._myIndex.records,r={},o=[];return s.forEach(({$:a,i:c})=>{if(At(a)){let l=n(i,a,c);l.length&&(r[c]||(r[c]={idx:c,item:a,matches:[]},o.push(r[c])),l.forEach(({matches:h})=>{r[c].matches.push(...h)}))}}),o}_searchObjectList(t){const i=Ur(t,this.options),{keys:n,records:s}=this._myIndex,r=[];return s.forEach(({$:o,i:a})=>{if(!At(o))return;let c=[];n.forEach((l,h)=>{c.push(...this._findMatches({key:l,value:o[h],searcher:i}))}),c.length&&r.push({idx:a,item:o,matches:c})}),r}_findMatches({key:t,value:i,searcher:n}){if(!At(i))return[];let s=[];if(te(i))i.forEach(({v:r,i:o,n:a})=>{if(!At(r))return;const{isMatch:c,score:l,indices:h}=n.searchIn(r);c&&s.push({score:l,key:t,value:r,idx:o,norm:a,indices:h})});else{const{v:r,n:o}=i,{isMatch:a,score:c,indices:l}=n.searchIn(r);a&&s.push({score:c,key:t,value:r,norm:o,indices:l})}return s}}ei.version="7.0.0",ei.createIndex=Ul,ei.parseIndex=L0,ei.config=R,ei.parseQuery=Jl,J0(X0);function nb({highlight:e,text:t}){if(!e||!e.length)return t;const i=new RegExp(e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"gi"),n=[...t.matchAll(i)];if(!n.length)return t;const s=[];let r=0;for(let o of n)o.index>r&&s.push(t.substr(r,o.index)),s.push(g("span",{class:"highlight",children:o[0]})),r=o.index+o[0].length;return s.push(t.substr(r)),s}function sb({delay:e=300,placeholder:t,setSearchText:i,width:n="calc(var(--width) / 4)"}){const s=it(null),r=it(null),[o,a]=mt(""),c=()=>{a(""),i(""),s.current.value="",s.current.focus()};return se(()=>{s.current&&s.current.addEventListener("keyup",()=>{r.current&&clearTimeout(r.current),r.current=setTimeout(()=>{r.current=null,i(s.current.value),a(s.current.value)},e)})},[s.current]),g(Z,{children:g("div",{class:"search",children:[g("input",{placeholder:t,style:{width:n},ref:s}),o.length?g("button",{class:"btn btn-clear",title:"Clear search",onClick:c,children:g(H,{name:"x-lg"})}):null]})})}const rb=["software_name","software_description","software_web_page","software_documentation","software_use_link"];function ob({infoGroupId:e}){const t=ft(`https://ara-db.ccs.uky.edu/api=API_0/z0CiQbts8t4pnv6fJQD4g9nskbCOl6UD-67akYK68wk/rp=${e}?include=${rb.join(",")}`),[i,n]=mt(""),s=Ve(()=>t&&t.length?new ei(t,{keys:[{name:"software_name",weight:.6},{name:"software_description",weight:.4}]}):null,[t]);if(!t||!t.length)return;const r=d=>g(nb,{text:d,highlight:i}),l=[{key:"software_name",name:"Package",format:(d,f)=>{const p=[],m=r(d),v=f.software_web_page||f.software_documentation;return p.push(v?g("a",{href:v,children:m}):m),f.software_documentation&&p.push(g(Z,{children:" "}),g("a",{href:f.software_documentation,title:`Documentation for ${d}`,children:g(H,{name:"book"})})),f.software_use_link&&f.software_use_link!=f.software_documentation&&p.push(g(Z,{children:" "}),g("a",{href:f.software_use_link.split(`
|
|
43
|
-
`)[0].trim(),title:`Usage example for ${
|
|
95
|
+
`):e}function Xw(e,t){const{element:n,datasetIndex:i,index:o}=t,r=e.getDatasetMeta(i).controller,{label:s,value:a}=r.getLabelAndValue(o);return{chart:e,label:s,parsed:r.getParsed(o),raw:e.data.datasets[i].data[o],formattedValue:a,dataset:r.getDataset(),dataIndex:o,datasetIndex:i,element:n}}function au(e,t){const n=e.chart.ctx,{body:i,footer:o,title:r}=e,{boxWidth:s,boxHeight:a}=t,c=Tt(t.bodyFont),l=Tt(t.titleFont),A=Tt(t.footerFont),d=r.length,u=o.length,h=i.length,p=re(t.padding);let g=p.height,b=0,v=i.reduce((m,y)=>m+y.before.length+y.lines.length+y.after.length,0);if(v+=e.beforeBody.length+e.afterBody.length,d&&(g+=d*l.lineHeight+(d-1)*t.titleSpacing+t.titleMarginBottom),v){const m=t.displayColors?Math.max(a,c.lineHeight):c.lineHeight;g+=h*m+(v-h)*c.lineHeight+(v-1)*t.bodySpacing}u&&(g+=t.footerMarginTop+u*A.lineHeight+(u-1)*t.footerSpacing);let w=0;const _=function(m){b=Math.max(b,n.measureText(m).width+w)};return n.save(),n.font=l.string,ct(e.title,_),n.font=c.string,ct(e.beforeBody.concat(e.afterBody),_),w=t.displayColors?s+2+t.boxPadding:0,ct(i,m=>{ct(m.before,_),ct(m.lines,_),ct(m.after,_)}),w=0,n.font=A.string,ct(e.footer,_),n.restore(),b+=p.width,{width:b,height:g}}function Gw(e,t){const{y:n,height:i}=t;return n<i/2?"top":n>e.height-i/2?"bottom":"center"}function Jw(e,t,n,i){const{x:o,width:r}=i,s=n.caretSize+n.caretPadding;if(e==="left"&&o+r+s>t.width||e==="right"&&o-r-s<0)return!0}function Zw(e,t,n,i){const{x:o,width:r}=n,{width:s,chartArea:{left:a,right:c}}=e;let l="center";return i==="center"?l=o<=(a+c)/2?"left":"right":o<=r/2?l="left":o>=s-r/2&&(l="right"),Jw(l,e,t,n)&&(l="center"),l}function cu(e,t,n){const i=n.yAlign||t.yAlign||Gw(e,n);return{xAlign:n.xAlign||t.xAlign||Zw(e,t,n,i),yAlign:i}}function $w(e,t){let{x:n,width:i}=e;return t==="right"?n-=i:t==="center"&&(n-=i/2),n}function ty(e,t,n){let{y:i,height:o}=e;return t==="top"?i+=n:t==="bottom"?i-=o+n:i-=o/2,i}function lu(e,t,n,i){const{caretSize:o,caretPadding:r,cornerRadius:s}=e,{xAlign:a,yAlign:c}=n,l=o+r,{topLeft:A,topRight:d,bottomLeft:u,bottomRight:h}=Rn(s);let p=$w(t,a);const g=ty(t,c,l);return c==="center"?a==="left"?p+=l:a==="right"&&(p-=l):a==="left"?p-=Math.max(A,u)+o:a==="right"&&(p+=Math.max(d,h)+o),{x:de(p,0,i.width-t.width),y:de(g,0,i.height-t.height)}}function Wo(e,t,n){const i=re(n.padding);return t==="center"?e.x+e.width/2:t==="right"?e.x+e.width-i.right:e.x+i.left}function Au(e){return Be([],He(e))}function ey(e,t,n){return Hn(e,{tooltip:t,tooltipItems:n,type:"tooltip"})}function du(e,t){const n=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return n?e.override(n):e}const uu={beforeTitle:Le,title(e){if(e.length>0){const t=e[0],n=t.chart.data.labels,i=n?n.length:0;if(this&&this.options&&this.options.mode==="dataset")return t.dataset.label||"";if(t.label)return t.label;if(i>0&&t.dataIndex<i)return n[t.dataIndex]}return""},afterTitle:Le,beforeBody:Le,beforeLabel:Le,label(e){if(this&&this.options&&this.options.mode==="dataset")return e.label+": "+e.formattedValue||e.formattedValue;let t=e.dataset.label||"";t&&(t+=": ");const n=e.formattedValue;return ut(n)||(t+=n),t},labelColor(e){const n=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{borderColor:n.borderColor,backgroundColor:n.backgroundColor,borderWidth:n.borderWidth,borderDash:n.borderDash,borderDashOffset:n.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(e){const n=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{pointStyle:n.pointStyle,rotation:n.rotation}},afterLabel:Le,afterBody:Le,beforeFooter:Le,footer:Le,afterFooter:Le};function jt(e,t,n,i){const o=e[t].call(n,i);return typeof o>"u"?uu[t].call(n,i):o}class qs extends Nn{constructor(t){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=t.chart,this.options=t.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(t){this.options=t,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const t=this._cachedAnimations;if(t)return t;const n=this.chart,i=this.options.setContext(this.getContext()),o=i.enabled&&n.options.animation&&i.animations,r=new hd(this.chart,o);return o._cacheable&&(this._cachedAnimations=Object.freeze(r)),r}getContext(){return this.$context||(this.$context=ey(this.chart.getContext(),this,this._tooltipItems))}getTitle(t,n){const{callbacks:i}=n,o=jt(i,"beforeTitle",this,t),r=jt(i,"title",this,t),s=jt(i,"afterTitle",this,t);let a=[];return a=Be(a,He(o)),a=Be(a,He(r)),a=Be(a,He(s)),a}getBeforeBody(t,n){return Au(jt(n.callbacks,"beforeBody",this,t))}getBody(t,n){const{callbacks:i}=n,o=[];return ct(t,r=>{const s={before:[],lines:[],after:[]},a=du(i,r);Be(s.before,He(jt(a,"beforeLabel",this,r))),Be(s.lines,jt(a,"label",this,r)),Be(s.after,He(jt(a,"afterLabel",this,r))),o.push(s)}),o}getAfterBody(t,n){return Au(jt(n.callbacks,"afterBody",this,t))}getFooter(t,n){const{callbacks:i}=n,o=jt(i,"beforeFooter",this,t),r=jt(i,"footer",this,t),s=jt(i,"afterFooter",this,t);let a=[];return a=Be(a,He(o)),a=Be(a,He(r)),a=Be(a,He(s)),a}_createItems(t){const n=this._active,i=this.chart.data,o=[],r=[],s=[];let a=[],c,l;for(c=0,l=n.length;c<l;++c)a.push(Xw(this.chart,n[c]));return t.filter&&(a=a.filter((A,d,u)=>t.filter(A,d,u,i))),t.itemSort&&(a=a.sort((A,d)=>t.itemSort(A,d,i))),ct(a,A=>{const d=du(t.callbacks,A);o.push(jt(d,"labelColor",this,A)),r.push(jt(d,"labelPointStyle",this,A)),s.push(jt(d,"labelTextColor",this,A))}),this.labelColors=o,this.labelPointStyles=r,this.labelTextColors=s,this.dataPoints=a,a}update(t,n){const i=this.options.setContext(this.getContext()),o=this._active;let r,s=[];if(!o.length)this.opacity!==0&&(r={opacity:0});else{const a=Oi[i.position].call(this,o,this._eventPosition);s=this._createItems(i),this.title=this.getTitle(s,i),this.beforeBody=this.getBeforeBody(s,i),this.body=this.getBody(s,i),this.afterBody=this.getAfterBody(s,i),this.footer=this.getFooter(s,i);const c=this._size=au(this,i),l=Object.assign({},a,c),A=cu(this.chart,i,l),d=lu(i,l,A,this.chart);this.xAlign=A.xAlign,this.yAlign=A.yAlign,r={opacity:1,x:d.x,y:d.y,width:c.width,height:c.height,caretX:a.x,caretY:a.y}}this._tooltipItems=s,this.$context=void 0,r&&this._resolveAnimations().update(this,r),t&&i.external&&i.external.call(this,{chart:this.chart,tooltip:this,replay:n})}drawCaret(t,n,i,o){const r=this.getCaretPosition(t,i,o);n.lineTo(r.x1,r.y1),n.lineTo(r.x2,r.y2),n.lineTo(r.x3,r.y3)}getCaretPosition(t,n,i){const{xAlign:o,yAlign:r}=this,{caretSize:s,cornerRadius:a}=i,{topLeft:c,topRight:l,bottomLeft:A,bottomRight:d}=Rn(a),{x:u,y:h}=t,{width:p,height:g}=n;let b,v,w,_,m,y;return r==="center"?(m=h+g/2,o==="left"?(b=u,v=b-s,_=m+s,y=m-s):(b=u+p,v=b+s,_=m-s,y=m+s),w=b):(o==="left"?v=u+Math.max(c,A)+s:o==="right"?v=u+p-Math.max(l,d)-s:v=this.caretX,r==="top"?(_=h,m=_-s,b=v-s,w=v+s):(_=h+g,m=_+s,b=v+s,w=v-s),y=_),{x1:b,x2:v,x3:w,y1:_,y2:m,y3:y}}drawTitle(t,n,i){const o=this.title,r=o.length;let s,a,c;if(r){const l=zn(i.rtl,this.x,this.width);for(t.x=Wo(this,i.titleAlign,i),n.textAlign=l.textAlign(i.titleAlign),n.textBaseline="middle",s=Tt(i.titleFont),a=i.titleSpacing,n.fillStyle=i.titleColor,n.font=s.string,c=0;c<r;++c)n.fillText(o[c],l.x(t.x),t.y+s.lineHeight/2),t.y+=s.lineHeight+a,c+1===r&&(t.y+=i.titleMarginBottom-a)}}_drawColorBox(t,n,i,o,r){const s=this.labelColors[i],a=this.labelPointStyles[i],{boxHeight:c,boxWidth:l}=r,A=Tt(r.bodyFont),d=Wo(this,"left",r),u=o.x(d),h=c<A.lineHeight?(A.lineHeight-c)/2:0,p=n.y+h;if(r.usePointStyle){const g={radius:Math.min(l,c)/2,pointStyle:a.pointStyle,rotation:a.rotation,borderWidth:1},b=o.leftForLtr(u,l)+l/2,v=p+c/2;t.strokeStyle=r.multiKeyBackground,t.fillStyle=r.multiKeyBackground,JA(t,g,b,v),t.strokeStyle=s.borderColor,t.fillStyle=s.backgroundColor,JA(t,g,b,v)}else{t.lineWidth=it(s.borderWidth)?Math.max(...Object.values(s.borderWidth)):s.borderWidth||1,t.strokeStyle=s.borderColor,t.setLineDash(s.borderDash||[]),t.lineDashOffset=s.borderDashOffset||0;const g=o.leftForLtr(u,l),b=o.leftForLtr(o.xPlus(u,1),l-2),v=Rn(s.borderRadius);Object.values(v).some(w=>w!==0)?(t.beginPath(),t.fillStyle=r.multiKeyBackground,Eo(t,{x:g,y:p,w:l,h:c,radius:v}),t.fill(),t.stroke(),t.fillStyle=s.backgroundColor,t.beginPath(),Eo(t,{x:b,y:p+1,w:l-2,h:c-2,radius:v}),t.fill()):(t.fillStyle=r.multiKeyBackground,t.fillRect(g,p,l,c),t.strokeRect(g,p,l,c),t.fillStyle=s.backgroundColor,t.fillRect(b,p+1,l-2,c-2))}t.fillStyle=this.labelTextColors[i]}drawBody(t,n,i){const{body:o}=this,{bodySpacing:r,bodyAlign:s,displayColors:a,boxHeight:c,boxWidth:l,boxPadding:A}=i,d=Tt(i.bodyFont);let u=d.lineHeight,h=0;const p=zn(i.rtl,this.x,this.width),g=function(C){n.fillText(C,p.x(t.x+h),t.y+u/2),t.y+=u+r},b=p.textAlign(s);let v,w,_,m,y,x,P;for(n.textAlign=s,n.textBaseline="middle",n.font=d.string,t.x=Wo(this,b,i),n.fillStyle=i.bodyColor,ct(this.beforeBody,g),h=a&&b!=="right"?s==="center"?l/2+A:l+2+A:0,m=0,x=o.length;m<x;++m){for(v=o[m],w=this.labelTextColors[m],n.fillStyle=w,ct(v.before,g),_=v.lines,a&&_.length&&(this._drawColorBox(n,t,m,p,i),u=Math.max(d.lineHeight,c)),y=0,P=_.length;y<P;++y)g(_[y]),u=d.lineHeight;ct(v.after,g)}h=0,u=d.lineHeight,ct(this.afterBody,g),t.y-=r}drawFooter(t,n,i){const o=this.footer,r=o.length;let s,a;if(r){const c=zn(i.rtl,this.x,this.width);for(t.x=Wo(this,i.footerAlign,i),t.y+=i.footerMarginTop,n.textAlign=c.textAlign(i.footerAlign),n.textBaseline="middle",s=Tt(i.footerFont),n.fillStyle=i.footerColor,n.font=s.string,a=0;a<r;++a)n.fillText(o[a],c.x(t.x),t.y+s.lineHeight/2),t.y+=s.lineHeight+i.footerSpacing}}drawBackground(t,n,i,o){const{xAlign:r,yAlign:s}=this,{x:a,y:c}=t,{width:l,height:A}=i,{topLeft:d,topRight:u,bottomLeft:h,bottomRight:p}=Rn(o.cornerRadius);n.fillStyle=o.backgroundColor,n.strokeStyle=o.borderColor,n.lineWidth=o.borderWidth,n.beginPath(),n.moveTo(a+d,c),s==="top"&&this.drawCaret(t,n,i,o),n.lineTo(a+l-u,c),n.quadraticCurveTo(a+l,c,a+l,c+u),s==="center"&&r==="right"&&this.drawCaret(t,n,i,o),n.lineTo(a+l,c+A-p),n.quadraticCurveTo(a+l,c+A,a+l-p,c+A),s==="bottom"&&this.drawCaret(t,n,i,o),n.lineTo(a+h,c+A),n.quadraticCurveTo(a,c+A,a,c+A-h),s==="center"&&r==="left"&&this.drawCaret(t,n,i,o),n.lineTo(a,c+d),n.quadraticCurveTo(a,c,a+d,c),n.closePath(),n.fill(),o.borderWidth>0&&n.stroke()}_updateAnimationTarget(t){const n=this.chart,i=this.$animations,o=i&&i.x,r=i&&i.y;if(o||r){const s=Oi[t.position].call(this,this._active,this._eventPosition);if(!s)return;const a=this._size=au(this,t),c=Object.assign({},s,this._size),l=cu(n,t,c),A=lu(t,c,l,n);(o._to!==A.x||r._to!==A.y)&&(this.xAlign=l.xAlign,this.yAlign=l.yAlign,this.width=a.width,this.height=a.height,this.caretX=s.x,this.caretY=s.y,this._resolveAnimations().update(this,A))}}_willRender(){return!!this.opacity}draw(t){const n=this.options.setContext(this.getContext());let i=this.opacity;if(!i)return;this._updateAnimationTarget(n);const o={width:this.width,height:this.height},r={x:this.x,y:this.y};i=Math.abs(i)<.001?0:i;const s=re(n.padding),a=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;n.enabled&&a&&(t.save(),t.globalAlpha=i,this.drawBackground(r,t,o,n),Ad(t,n.textDirection),r.y+=s.top,this.drawTitle(r,t,n),this.drawBody(r,t,n),this.drawFooter(r,t,n),dd(t,n.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,n){const i=this._active,o=t.map(({datasetIndex:a,index:c})=>{const l=this.chart.getDatasetMeta(a);if(!l)throw new Error("Cannot find a dataset at index "+a);return{datasetIndex:a,element:l.data[c],index:c}}),r=!xo(i,o),s=this._positionChanged(o,n);(r||s)&&(this._active=o,this._eventPosition=n,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,n,i=!0){if(n&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const o=this.options,r=this._active||[],s=this._getActiveElements(t,r,n,i),a=this._positionChanged(s,t),c=n||!xo(s,r)||a;return c&&(this._active=s,(o.enabled||o.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,n))),c}_getActiveElements(t,n,i,o){const r=this.options;if(t.type==="mouseout")return[];if(!o)return n.filter(a=>this.chart.data.datasets[a.datasetIndex]&&this.chart.getDatasetMeta(a.datasetIndex).controller.getParsed(a.index)!==void 0);const s=this.chart.getElementsAtEventForMode(t,r.mode,r,i);return r.reverse&&s.reverse(),s}_positionChanged(t,n){const{caretX:i,caretY:o,options:r}=this,s=Oi[r.position].call(this,t,n);return s!==!1&&(i!==s.x||o!==s.y)}}Z(qs,"positioners",Oi);var ny={id:"tooltip",_element:qs,positioners:Oi,afterInit(e,t,n){n&&(e.tooltip=new qs({chart:e,options:n}))},beforeUpdate(e,t,n){e.tooltip&&e.tooltip.initialize(n)},reset(e,t,n){e.tooltip&&e.tooltip.initialize(n)},afterDraw(e){const t=e.tooltip;if(t&&t._willRender()){const n={tooltip:t};if(e.notifyPlugins("beforeTooltipDraw",{...n,cancelable:!0})===!1)return;t.draw(e.ctx),e.notifyPlugins("afterTooltipDraw",n)}},afterEvent(e,t){if(e.tooltip){const n=t.replay;e.tooltip.handleEvent(t.event,n,t.inChartArea)&&(t.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(e,t)=>t.bodyFont.size,boxWidth:(e,t)=>t.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:uu},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:e=>e!=="filter"&&e!=="itemSort"&&e!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};const iy=(e,t,n,i)=>(typeof t=="string"?(n=e.push(t)-1,i.unshift({index:n,label:t})):isNaN(t)&&(n=null),n);function oy(e,t,n,i){const o=e.indexOf(t);if(o===-1)return iy(e,t,n,i);const r=e.lastIndexOf(t);return o!==r?n:o}const ry=(e,t)=>e===null?null:de(Math.round(e),0,t);function hu(e){const t=this.getLabels();return e>=0&&e<t.length?t[e]:e}class Xs extends jn{constructor(t){super(t),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(t){const n=this._addedLabels;if(n.length){const i=this.getLabels();for(const{index:o,label:r}of n)i[o]===r&&i.splice(o,1);this._addedLabels=[]}super.init(t)}parse(t,n){if(ut(t))return null;const i=this.getLabels();return n=isFinite(n)&&i[n]===t?n:oy(i,t,st(n,t),this._addedLabels),ry(n,i.length-1)}determineDataLimits(){const{minDefined:t,maxDefined:n}=this.getUserBounds();let{min:i,max:o}=this.getMinMax(!0);this.options.bounds==="ticks"&&(t||(i=0),n||(o=this.getLabels().length-1)),this.min=i,this.max=o}buildTicks(){const t=this.min,n=this.max,i=this.options.offset,o=[];let r=this.getLabels();r=t===0&&n===r.length-1?r:r.slice(t,n+1),this._valueRange=Math.max(r.length-(i?0:1),1),this._startValue=this.min-(i?.5:0);for(let s=t;s<=n;s++)o.push({value:s});return o}getLabelForValue(t){return hu.call(this,t)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(t){return typeof t!="number"&&(t=this.parse(t)),t===null?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getPixelForTick(t){const n=this.ticks;return t<0||t>n.length-1?null:this.getPixelForValue(n[t].value)}getValueForPixel(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}getBasePixel(){return this.bottom}}Z(Xs,"id","category"),Z(Xs,"defaults",{ticks:{callback:hu}});function sy(e,t){const n=[],{bounds:o,step:r,min:s,max:a,precision:c,count:l,maxTicks:A,maxDigits:d,includeBounds:u}=e,h=r||1,p=A-1,{min:g,max:b}=t,v=!ut(s),w=!ut(a),_=!ut(l),m=(b-g)/(d+1);let y=QA((b-g)/p/h)*h,x,P,C,B;if(y<1e-14&&!v&&!w)return[{value:g},{value:b}];B=Math.ceil(b/y)-Math.floor(g/y),B>p&&(y=QA(B*y/p/h)*h),ut(c)||(x=Math.pow(10,c),y=Math.ceil(y*x)/x),o==="ticks"?(P=Math.floor(g/y)*y,C=Math.ceil(b/y)*y):(P=g,C=b),v&&w&&r&&eb((a-s)/r,y/1e3)?(B=Math.round(Math.min((a-s)/y,A)),y=(a-s)/B,P=s,C=a):_?(P=v?s:P,C=w?a:C,B=l-1,y=(C-P)/B):(B=(C-P)/y,Bo(B,Math.round(B),y/1e3)?B=Math.round(B):B=Math.ceil(B));const D=Math.max(LA(y),LA(P));x=Math.pow(10,ut(c)?D:c),P=Math.round(P*x)/x,C=Math.round(C*x)/x;let E=0;for(v&&(u&&P!==s?(n.push({value:s}),P<s&&E++,Bo(Math.round((P+E*y)*x)/x,s,fu(s,m,e))&&E++):P<s&&E++);E<B;++E){const S=Math.round((P+E*y)*x)/x;if(w&&S>a)break;n.push({value:S})}return w&&u&&C!==a?n.length&&Bo(n[n.length-1].value,a,fu(a,m,e))?n[n.length-1].value=a:n.push({value:a}):(!w||C===a)&&n.push({value:C}),n}function fu(e,t,{horizontal:n,minRotation:i}){const o=_e(i),r=(n?Math.sin(o):Math.cos(o))||.001,s=.75*t*(""+e).length;return Math.min(t/r,s)}class ay extends jn{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(t,n){return ut(t)||(typeof t=="number"||t instanceof Number)&&!isFinite(+t)?null:+t}handleTickRangeOptions(){const{beginAtZero:t}=this.options,{minDefined:n,maxDefined:i}=this.getUserBounds();let{min:o,max:r}=this;const s=c=>o=n?o:c,a=c=>r=i?r:c;if(t){const c=$e(o),l=$e(r);c<0&&l<0?a(0):c>0&&l>0&&s(0)}if(o===r){let c=r===0?1:Math.abs(r*.05);a(r+c),t||s(o-c)}this.min=o,this.max=r}getTickLimit(){const t=this.options.ticks;let{maxTicksLimit:n,stepSize:i}=t,o;return i?(o=Math.ceil(this.max/i)-Math.floor(this.min/i)+1,o>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${i} would result generating up to ${o} ticks. Limiting to 1000.`),o=1e3)):(o=this.computeTickLimit(),n=n||11),n&&(o=Math.min(n,o)),o}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const t=this.options,n=t.ticks;let i=this.getTickLimit();i=Math.max(2,i);const o={maxTicks:i,bounds:t.bounds,min:t.min,max:t.max,precision:n.precision,step:n.stepSize,count:n.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:n.minRotation||0,includeBounds:n.includeBounds!==!1},r=this._range||this,s=sy(o,r);return t.bounds==="ticks"&&nb(s,this,"value"),t.reverse?(s.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),s}configure(){const t=this.ticks;let n=this.min,i=this.max;if(super.configure(),this.options.offset&&t.length){const o=(i-n)/Math.max(t.length-1,1)/2;n-=o,i+=o}this._startValue=n,this._endValue=i,this._valueRange=i-n}getLabelForValue(t){return Co(t,this.chart.options.locale,this.options.ticks.format)}}class Gs extends ay{determineDataLimits(){const{min:t,max:n}=this.getMinMax(!0);this.min=oe(t)?t:0,this.max=oe(n)?n:1,this.handleTickRangeOptions()}computeTickLimit(){const t=this.isHorizontal(),n=t?this.width:this.height,i=_e(this.options.ticks.minRotation),o=(t?Math.sin(i):Math.cos(i))||.001,r=this._resolveTickFontOptions(0);return Math.ceil(n/Math.min(40,r.lineHeight/o))}getPixelForValue(t){return t===null?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getValueForPixel(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}}Z(Gs,"id","linear"),Z(Gs,"defaults",{ticks:{callback:qA.formatters.numeric}});const Yo={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},Ut=Object.keys(Yo);function pu(e,t){return e-t}function gu(e,t){if(ut(t))return null;const n=e._adapter,{parser:i,round:o,isoWeekday:r}=e._parseOpts;let s=t;return typeof i=="function"&&(s=i(s)),oe(s)||(s=typeof i=="string"?n.parse(s,i):n.parse(s)),s===null?null:(o&&(s=o==="week"&&(ko(r)||r===!0)?n.startOf(s,"isoWeek",r):n.startOf(s,o)),+s)}function mu(e,t,n,i){const o=Ut.length;for(let r=Ut.indexOf(e);r<o-1;++r){const s=Yo[Ut[r]],a=s.steps?s.steps:Number.MAX_SAFE_INTEGER;if(s.common&&Math.ceil((n-t)/(a*s.size))<=i)return Ut[r]}return Ut[o-1]}function cy(e,t,n,i,o){for(let r=Ut.length-1;r>=Ut.indexOf(n);r--){const s=Ut[r];if(Yo[s].common&&e._adapter.diff(o,i,s)>=t-1)return s}return Ut[n?Ut.indexOf(n):0]}function ly(e){for(let t=Ut.indexOf(e)+1,n=Ut.length;t<n;++t)if(Yo[Ut[t]].common)return Ut[t]}function bu(e,t,n){if(!n)e[t]=!0;else if(n.length){const{lo:i,hi:o}=ys(n,t),r=n[i]>=t?n[i]:n[o];e[r]=!0}}function Ay(e,t,n,i){const o=e._adapter,r=+o.startOf(t[0].value,i),s=t[t.length-1].value;let a,c;for(a=r;a<=s;a=+o.add(a,1,i))c=n[a],c>=0&&(t[c].major=!0);return t}function vu(e,t,n){const i=[],o={},r=t.length;let s,a;for(s=0;s<r;++s)a=t[s],o[a]=s,i.push({value:a,major:!1});return r===0||!n?i:Ay(e,i,o,n)}class Ko extends jn{constructor(t){super(t),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(t,n={}){const i=t.time||(t.time={}),o=this._adapter=new vv._date(t.adapters.date);o.init(n),wi(i.displayFormats,o.formats()),this._parseOpts={parser:i.parser,round:i.round,isoWeekday:i.isoWeekday},super.init(t),this._normalized=n.normalized}parse(t,n){return t===void 0?null:gu(this,t)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const t=this.options,n=this._adapter,i=t.time.unit||"day";let{min:o,max:r,minDefined:s,maxDefined:a}=this.getUserBounds();function c(l){!s&&!isNaN(l.min)&&(o=Math.min(o,l.min)),!a&&!isNaN(l.max)&&(r=Math.max(r,l.max))}(!s||!a)&&(c(this._getLabelBounds()),(t.bounds!=="ticks"||t.ticks.source!=="labels")&&c(this.getMinMax(!1))),o=oe(o)&&!isNaN(o)?o:+n.startOf(Date.now(),i),r=oe(r)&&!isNaN(r)?r:+n.endOf(Date.now(),i)+1,this.min=Math.min(o,r-1),this.max=Math.max(o+1,r)}_getLabelBounds(){const t=this.getLabelTimestamps();let n=Number.POSITIVE_INFINITY,i=Number.NEGATIVE_INFINITY;return t.length&&(n=t[0],i=t[t.length-1]),{min:n,max:i}}buildTicks(){const t=this.options,n=t.time,i=t.ticks,o=i.source==="labels"?this.getLabelTimestamps():this._generate();t.bounds==="ticks"&&o.length&&(this.min=this._userMin||o[0],this.max=this._userMax||o[o.length-1]);const r=this.min,s=this.max,a=cb(o,r,s);return this._unit=n.unit||(i.autoSkip?mu(n.minUnit,this.min,this.max,this._getLabelCapacity(r)):cy(this,a.length,n.minUnit,this.min,this.max)),this._majorUnit=!i.major.enabled||this._unit==="year"?void 0:ly(this._unit),this.initOffsets(o),t.reverse&&a.reverse(),vu(this,a,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map(t=>+t.value))}initOffsets(t=[]){let n=0,i=0,o,r;this.options.offset&&t.length&&(o=this.getDecimalForValue(t[0]),t.length===1?n=1-o:n=(this.getDecimalForValue(t[1])-o)/2,r=this.getDecimalForValue(t[t.length-1]),t.length===1?i=r:i=(r-this.getDecimalForValue(t[t.length-2]))/2);const s=t.length<3?.5:.25;n=de(n,0,s),i=de(i,0,s),this._offsets={start:n,end:i,factor:1/(n+1+i)}}_generate(){const t=this._adapter,n=this.min,i=this.max,o=this.options,r=o.time,s=r.unit||mu(r.minUnit,n,i,this._getLabelCapacity(n)),a=st(o.ticks.stepSize,1),c=s==="week"?r.isoWeekday:!1,l=ko(c)||c===!0,A={};let d=n,u,h;if(l&&(d=+t.startOf(d,"isoWeek",c)),d=+t.startOf(d,l?"day":s),t.diff(i,n,s)>1e5*a)throw new Error(n+" and "+i+" are too far apart with stepSize of "+a+" "+s);const p=o.ticks.source==="data"&&this.getDataTimestamps();for(u=d,h=0;u<i;u=+t.add(u,a,s),h++)bu(A,u,p);return(u===i||o.bounds==="ticks"||h===1)&&bu(A,u,p),Object.keys(A).sort(pu).map(g=>+g)}getLabelForValue(t){const n=this._adapter,i=this.options.time;return i.tooltipFormat?n.format(t,i.tooltipFormat):n.format(t,i.displayFormats.datetime)}format(t,n){const o=this.options.time.displayFormats,r=this._unit,s=n||o[r];return this._adapter.format(t,s)}_tickFormatFunction(t,n,i,o){const r=this.options,s=r.ticks.callback;if(s)return ht(s,[t,n,i],this);const a=r.time.displayFormats,c=this._unit,l=this._majorUnit,A=c&&a[c],d=l&&a[l],u=i[n],h=l&&d&&u&&u.major;return this._adapter.format(t,o||(h?d:A))}generateTickLabels(t){let n,i,o;for(n=0,i=t.length;n<i;++n)o=t[n],o.label=this._tickFormatFunction(o.value,n,t)}getDecimalForValue(t){return t===null?NaN:(t-this.min)/(this.max-this.min)}getPixelForValue(t){const n=this._offsets,i=this.getDecimalForValue(t);return this.getPixelForDecimal((n.start+i)*n.factor)}getValueForPixel(t){const n=this._offsets,i=this.getDecimalForPixel(t)/n.factor-n.end;return this.min+i*(this.max-this.min)}_getLabelSize(t){const n=this.options.ticks,i=this.ctx.measureText(t).width,o=_e(this.isHorizontal()?n.maxRotation:n.minRotation),r=Math.cos(o),s=Math.sin(o),a=this._resolveTickFontOptions(0).size;return{w:i*r+a*s,h:i*s+a*r}}_getLabelCapacity(t){const n=this.options.time,i=n.displayFormats,o=i[n.unit]||i.millisecond,r=this._tickFormatFunction(t,0,vu(this,[t],this._majorUnit),o),s=this._getLabelSize(r),a=Math.floor(this.isHorizontal()?this.width/s.w:this.height/s.h)-1;return a>0?a:1}getDataTimestamps(){let t=this._cache.data||[],n,i;if(t.length)return t;const o=this.getMatchingVisibleMetas();if(this._normalized&&o.length)return this._cache.data=o[0].controller.getAllParsedValues(this);for(n=0,i=o.length;n<i;++n)t=t.concat(o[n].controller.getAllParsedValues(this));return this._cache.data=this.normalize(t)}getLabelTimestamps(){const t=this._cache.labels||[];let n,i;if(t.length)return t;const o=this.getLabels();for(n=0,i=o.length;n<i;++n)t.push(gu(this,o[n]));return this._cache.labels=this._normalized?t:this.normalize(t)}normalize(t){return FA(t.sort(pu))}}Z(Ko,"id","time"),Z(Ko,"defaults",{bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}});function qo(e,t,n){let i=0,o=e.length-1,r,s,a,c;n?(t>=e[i].pos&&t<=e[o].pos&&({lo:i,hi:o}=xs(e,"pos",t)),{pos:r,time:a}=e[i],{pos:s,time:c}=e[o]):(t>=e[i].time&&t<=e[o].time&&({lo:i,hi:o}=xs(e,"time",t)),{time:r,pos:a}=e[i],{time:s,pos:c}=e[o]);const l=s-r;return l?a+(c-a)*(t-r)/l:a}class wu extends Ko{constructor(t){super(t),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const t=this._getTimestampsForTable(),n=this._table=this.buildLookupTable(t);this._minPos=qo(n,this.min),this._tableRange=qo(n,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){const{min:n,max:i}=this,o=[],r=[];let s,a,c,l,A;for(s=0,a=t.length;s<a;++s)l=t[s],l>=n&&l<=i&&o.push(l);if(o.length<2)return[{time:n,pos:0},{time:i,pos:1}];for(s=0,a=o.length;s<a;++s)A=o[s+1],c=o[s-1],l=o[s],Math.round((A+c)/2)!==l&&r.push({time:l,pos:s/(a-1)});return r}_generate(){const t=this.min,n=this.max;let i=super.getDataTimestamps();return(!i.includes(t)||!i.length)&&i.splice(0,0,t),(!i.includes(n)||i.length===1)&&i.push(n),i.sort((o,r)=>o-r)}_getTimestampsForTable(){let t=this._cache.all||[];if(t.length)return t;const n=this.getDataTimestamps(),i=this.getLabelTimestamps();return n.length&&i.length?t=this.normalize(n.concat(i)):t=n.length?n:i,t=this._cache.all=t,t}getDecimalForValue(t){return(qo(this._table,t)-this._minPos)/this._tableRange}getValueForPixel(t){const n=this._offsets,i=this.getDecimalForPixel(t)/n.factor-n.end;return qo(this._table,i*this._tableRange+this._minPos,!0)}}Z(wu,"id","timeseries"),Z(wu,"defaults",Ko.defaults),Vs.register(zw,Oo,Vo,Xs,Gs,Yw,qw,ny);function dy({type:e="bar",data:t,options:n}){const i=q(null),o=q(null);return Wt(()=>{o.current&&(i.current?(i.current.options=n,i.current.data=t,i.current.update()):i.current=new Vs(o.current,{type:e,data:t,options:n}))},[e,t,n]),f("div",{class:"chart",children:f("canvas",{ref:o})})}const yu=["--teal-700","--yellow-400","--teal-400","--orange-400","--green-400","--red-400"],Js=["0 - 1s","1 - 30s","30s - 30min","30 - 60min","1 - 5hr","5 - 10hr","10 - 18hr","18+hr"],Zs=(e,t,n=0)=>`${e.toFixed(n)} ${t}${e==1?"":"s"}`,xu=e=>{const t=e/3600;if(t>=1)return Zs(t,"hour",1);const n=e/60;return n>=1?Zs(n,"minute",0):Zs(e,"second",0)},Xo=e=>e.replace(/ \([^)]+\)/,"");function uy({infoGroupId:e}){const[t,n]=R("overview"),i=lh(e).filter(l=>l.cider_type=="Compute"),o=Lt(i.length?i.map(l=>`https://rest-test.ccr.xdmod.org/rest/v0.1/custom_queries/wait_times/${l.info_resourceid}/`):null,{defaultValue:[]}),r=Lt(t!=="overview"?`https://rest-test.ccr.xdmod.org/rest/v0.1/custom_queries/wait_times/${t}/queue/job_walltime`:null);if(!o.length||!i.length)return;const s=o.map((l,A)=>l.error?l:{...l.data[0],...i[A]}).filter(l=>!l.error);if(!s.length)return;const a=[f("select",{value:t,onChange:l=>n(l.target.value),children:[f("option",{value:"overview",children:"Overview"}),s.map(l=>f("option",{value:l.info_resourceid,children:Xo(l.resource_descriptive_name)}))]})];let c=null;if(t==="overview")c=f("div",{class:"cards",children:s.map(({info_resourceid:l,job_count:A,median_expansion_factor:d,median_wait_time:u,median_wall_time:h,resource_descriptive_name:p})=>f("p",{class:"card metrics-overview",children:[f("b",{children:[Xo(p),":"]})," Users ran"," ",f("strong",{children:[f(nt,{name:"file-earmark-code"}),parseInt(A).toLocaleString("en-us")," jobs"]})," ","during the last 30 days. Waiting in the queue caused an average"," ",f("strong",{children:[f(nt,{name:"calculator"}),((d-1)*100).toLocaleString("en-us",{maximumFractionDigits:0}),"% increase"]})," ","in the total completion time. The average job waited for"," ",f("strong",{children:[f(nt,{name:"hourglass-split"})," ",xu(u)]})," ","and ran for"," ",f("strong",{children:[f(nt,{name:"stopwatch"}),xu(h)]}),"."," ",f("a",{title:`Wait time chart for ${Xo(p)}`,href:"#",onClick:g=>{g.preventDefault(),n(l)},children:"View chart »"})]}))});else if(r&&r.info_resource_id===t){const l={},A=Js;for(let p of r.data)l[p.queue]=l[p.queue]||{label:p.queue,data:Array(Js.length).fill(null)},l[p.queue].data[Js.indexOf(p.job_walltime)]=p.median_wait_time/60;const d=Object.values(l);d.forEach((p,g)=>{let b=yu[g%(yu.length-1)];p.backgroundColor=getComputedStyle(document.body).getPropertyValue(b)});const u=s.find(p=>p.info_resourceid==r.info_resource_id),h={interaction:{intersect:!1,mode:"index"},plugins:{title:{display:!0,text:`Median Wait Time by Queue on ${Xo(u.resource_descriptive_name)}: Last 30 Days`}},scales:{x:{title:{display:!0,text:"Job Wall Time (Run Time)"}},y:{title:{display:!0,text:"Median Wait Time (Minutes)"}}}};c=f(N,{children:[f(dy,{type:"bar",data:{labels:A,datasets:d},options:h}),f("p",{children:f("a",{href:"#",onClick:p=>{p.preventDefault(),n("overview")},children:"« Back to overview"})})]})}return f(be,{title:"Wait Time",icon:"hourglass-split",headerComponents:a,children:[c,f("p",{class:"metrics-disclaimer",children:[f(nt,{name:"info-circle"}),"These metrics describe activity from ACCESS projects. Many resources have additional projects that are not part of ACCESS."]})]})}function Fe(e){return Array.isArray?Array.isArray(e):Bu(e)==="[object Array]"}const hy=1/0;function fy(e){if(typeof e=="string")return e;let t=e+"";return t=="0"&&1/e==-hy?"-0":t}function py(e){return e==null?"":fy(e)}function ke(e){return typeof e=="string"}function _u(e){return typeof e=="number"}function gy(e){return e===!0||e===!1||my(e)&&Bu(e)=="[object Boolean]"}function Pu(e){return typeof e=="object"}function my(e){return Pu(e)&&e!==null}function Gt(e){return e!=null}function $s(e){return!e.trim().length}function Bu(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const m1="Extended search is not available",by="Incorrect 'index' type",vy=e=>`Invalid value for key ${e}`,wy=e=>`Pattern length exceeds max of ${e}.`,yy=e=>`Missing ${e} property in key`,xy=e=>`Property 'weight' in key '${e}' must be a positive integer`,ku=Object.prototype.hasOwnProperty;class _y{constructor(t){this._keys=[],this._keyMap={};let n=0;t.forEach(i=>{let o=Du(i);this._keys.push(o),this._keyMap[o.id]=o,n+=o.weight}),this._keys.forEach(i=>{i.weight/=n})}get(t){return this._keyMap[t]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function Du(e){let t=null,n=null,i=null,o=1,r=null;if(ke(e)||Fe(e))i=e,t=Cu(e),n=ta(e);else{if(!ku.call(e,"name"))throw new Error(yy("name"));const s=e.name;if(i=s,ku.call(e,"weight")&&(o=e.weight,o<=0))throw new Error(xy(s));t=Cu(s),n=ta(s),r=e.getFn}return{path:t,id:n,weight:o,src:i,getFn:r}}function Cu(e){return Fe(e)?e:e.split(".")}function ta(e){return Fe(e)?e.join("."):e}function Py(e,t){let n=[],i=!1;const o=(r,s,a)=>{if(Gt(r))if(!s[a])n.push(r);else{let c=s[a];const l=r[c];if(!Gt(l))return;if(a===s.length-1&&(ke(l)||_u(l)||gy(l)))n.push(py(l));else if(Fe(l)){i=!0;for(let A=0,d=l.length;A<d;A+=1)o(l[A],s,a+1)}else s.length&&o(l,s,a+1)}};return o(e,ke(t)?t.split("."):t,0),i?n:n[0]}var W={...{isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1},...{includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},...{location:0,threshold:.6,distance:100},...{useExtendedSearch:!1,getFn:Py,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1}};const By=/[^ ]+/g;function ky(e=1,t=3){const n=new Map,i=Math.pow(10,t);return{get(o){const r=o.match(By).length;if(n.has(r))return n.get(r);const s=1/Math.pow(r,.5*e),a=parseFloat(Math.round(s*i)/i);return n.set(r,a),a},clear(){n.clear()}}}class ea{constructor({getFn:t=W.getFn,fieldNormWeight:n=W.fieldNormWeight}={}){this.norm=ky(n,3),this.getFn=t,this.isCreated=!1,this.setIndexRecords()}setSources(t=[]){this.docs=t}setIndexRecords(t=[]){this.records=t}setKeys(t=[]){this.keys=t,this._keysMap={},t.forEach((n,i)=>{this._keysMap[n.id]=i})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,ke(this.docs[0])?this.docs.forEach((t,n)=>{this._addString(t,n)}):this.docs.forEach((t,n)=>{this._addObject(t,n)}),this.norm.clear())}add(t){const n=this.size();ke(t)?this._addString(t,n):this._addObject(t,n)}removeAt(t){this.records.splice(t,1);for(let n=t,i=this.size();n<i;n+=1)this.records[n].i-=1}getValueForItemAtKeyId(t,n){return t[this._keysMap[n]]}size(){return this.records.length}_addString(t,n){if(!Gt(t)||$s(t))return;let i={v:t,i:n,n:this.norm.get(t)};this.records.push(i)}_addObject(t,n){let i={i:n,$:{}};this.keys.forEach((o,r)=>{let s=o.getFn?o.getFn(t):this.getFn(t,o.path);if(Gt(s)){if(Fe(s)){let a=[];const c=[{nestedArrIndex:-1,value:s}];for(;c.length;){const{nestedArrIndex:l,value:A}=c.pop();if(Gt(A))if(ke(A)&&!$s(A)){let d={v:A,i:l,n:this.norm.get(A)};a.push(d)}else Fe(A)&&A.forEach((d,u)=>{c.push({nestedArrIndex:u,value:d})})}i.$[r]=a}else if(ke(s)&&!$s(s)){let a={v:s,n:this.norm.get(s)};i.$[r]=a}}}),this.records.push(i)}toJSON(){return{keys:this.keys,records:this.records}}}function Eu(e,t,{getFn:n=W.getFn,fieldNormWeight:i=W.fieldNormWeight}={}){const o=new ea({getFn:n,fieldNormWeight:i});return o.setKeys(e.map(Du)),o.setSources(t),o.create(),o}function Dy(e,{getFn:t=W.getFn,fieldNormWeight:n=W.fieldNormWeight}={}){const{keys:i,records:o}=e,r=new ea({getFn:t,fieldNormWeight:n});return r.setKeys(i),r.setIndexRecords(o),r}function Go(e,{errors:t=0,currentLocation:n=0,expectedLocation:i=0,distance:o=W.distance,ignoreLocation:r=W.ignoreLocation}={}){const s=t/e.length;if(r)return s;const a=Math.abs(i-n);return o?s+a/o:a?1:s}function Cy(e=[],t=W.minMatchCharLength){let n=[],i=-1,o=-1,r=0;for(let s=e.length;r<s;r+=1){let a=e[r];a&&i===-1?i=r:!a&&i!==-1&&(o=r-1,o-i+1>=t&&n.push([i,o]),i=-1)}return e[r-1]&&r-i>=t&&n.push([i,r-1]),n}const bn=32;function Ey(e,t,n,{location:i=W.location,distance:o=W.distance,threshold:r=W.threshold,findAllMatches:s=W.findAllMatches,minMatchCharLength:a=W.minMatchCharLength,includeMatches:c=W.includeMatches,ignoreLocation:l=W.ignoreLocation}={}){if(t.length>bn)throw new Error(wy(bn));const A=t.length,d=e.length,u=Math.max(0,Math.min(i,d));let h=r,p=u;const g=a>1||c,b=g?Array(d):[];let v;for(;(v=e.indexOf(t,p))>-1;){let P=Go(t,{currentLocation:v,expectedLocation:u,distance:o,ignoreLocation:l});if(h=Math.min(P,h),p=v+A,g){let C=0;for(;C<A;)b[v+C]=1,C+=1}}p=-1;let w=[],_=1,m=A+d;const y=1<<A-1;for(let P=0;P<A;P+=1){let C=0,B=m;for(;C<B;)Go(t,{errors:P,currentLocation:u+B,expectedLocation:u,distance:o,ignoreLocation:l})<=h?C=B:m=B,B=Math.floor((m-C)/2+C);m=B;let D=Math.max(1,u-B+1),E=s?d:Math.min(u+B,d)+A,S=Array(E+2);S[E+1]=(1<<P)-1;for(let O=E;O>=D;O-=1){let M=O-1,T=n[e.charAt(M)];if(g&&(b[M]=+!!T),S[O]=(S[O+1]<<1|1)&T,P&&(S[O]|=(w[O+1]|w[O])<<1|1|w[O+1]),S[O]&y&&(_=Go(t,{errors:P,currentLocation:M,expectedLocation:u,distance:o,ignoreLocation:l}),_<=h)){if(h=_,p=M,p<=u)break;D=Math.max(1,2*u-p)}}if(Go(t,{errors:P+1,currentLocation:u,expectedLocation:u,distance:o,ignoreLocation:l})>h)break;w=S}const x={isMatch:p>=0,score:Math.max(.001,_)};if(g){const P=Cy(b,a);P.length?c&&(x.indices=P):x.isMatch=!1}return x}function Sy(e){let t={};for(let n=0,i=e.length;n<i;n+=1){const o=e.charAt(n);t[o]=(t[o]||0)|1<<i-n-1}return t}class Su{constructor(t,{location:n=W.location,threshold:i=W.threshold,distance:o=W.distance,includeMatches:r=W.includeMatches,findAllMatches:s=W.findAllMatches,minMatchCharLength:a=W.minMatchCharLength,isCaseSensitive:c=W.isCaseSensitive,ignoreLocation:l=W.ignoreLocation}={}){if(this.options={location:n,threshold:i,distance:o,includeMatches:r,findAllMatches:s,minMatchCharLength:a,isCaseSensitive:c,ignoreLocation:l},this.pattern=c?t:t.toLowerCase(),this.chunks=[],!this.pattern.length)return;const A=(u,h)=>{this.chunks.push({pattern:u,alphabet:Sy(u),startIndex:h})},d=this.pattern.length;if(d>bn){let u=0;const h=d%bn,p=d-h;for(;u<p;)A(this.pattern.substr(u,bn),u),u+=bn;if(h){const g=d-bn;A(this.pattern.substr(g),g)}}else A(this.pattern,0)}searchIn(t){const{isCaseSensitive:n,includeMatches:i}=this.options;if(n||(t=t.toLowerCase()),this.pattern===t){let p={isMatch:!0,score:0};return i&&(p.indices=[[0,t.length-1]]),p}const{location:o,distance:r,threshold:s,findAllMatches:a,minMatchCharLength:c,ignoreLocation:l}=this.options;let A=[],d=0,u=!1;this.chunks.forEach(({pattern:p,alphabet:g,startIndex:b})=>{const{isMatch:v,score:w,indices:_}=Ey(t,p,g,{location:o+b,distance:r,threshold:s,findAllMatches:a,minMatchCharLength:c,includeMatches:i,ignoreLocation:l});v&&(u=!0),d+=w,v&&_&&(A=[...A,..._])});let h={isMatch:u,score:u?d/this.chunks.length:1};return u&&i&&(h.indices=A),h}}class en{constructor(t){this.pattern=t}static isMultiMatch(t){return Mu(t,this.multiRegex)}static isSingleMatch(t){return Mu(t,this.singleRegex)}search(){}}function Mu(e,t){const n=e.match(t);return n?n[1]:null}class My extends en{constructor(t){super(t)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(t){const n=t===this.pattern;return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class Ty extends en{constructor(t){super(t)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(t){const i=t.indexOf(this.pattern)===-1;return{isMatch:i,score:i?0:1,indices:[0,t.length-1]}}}class Iy extends en{constructor(t){super(t)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(t){const n=t.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class Oy extends en{constructor(t){super(t)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(t){const n=!t.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class Qy extends en{constructor(t){super(t)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(t){const n=t.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[t.length-this.pattern.length,t.length-1]}}}class Ly extends en{constructor(t){super(t)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(t){const n=!t.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class Tu extends en{constructor(t,{location:n=W.location,threshold:i=W.threshold,distance:o=W.distance,includeMatches:r=W.includeMatches,findAllMatches:s=W.findAllMatches,minMatchCharLength:a=W.minMatchCharLength,isCaseSensitive:c=W.isCaseSensitive,ignoreLocation:l=W.ignoreLocation}={}){super(t),this._bitapSearch=new Su(t,{location:n,threshold:i,distance:o,includeMatches:r,findAllMatches:s,minMatchCharLength:a,isCaseSensitive:c,ignoreLocation:l})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(t){return this._bitapSearch.searchIn(t)}}class Iu extends en{constructor(t){super(t)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(t){let n=0,i;const o=[],r=this.pattern.length;for(;(i=t.indexOf(this.pattern,n))>-1;)n=i+r,o.push([i,n-1]);const s=!!o.length;return{isMatch:s,score:s?0:1,indices:o}}}const na=[My,Iu,Iy,Oy,Ly,Qy,Ty,Tu],Ou=na.length,Ry=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,Hy="|";function Fy(e,t={}){return e.split(Hy).map(n=>{let i=n.trim().split(Ry).filter(r=>r&&!!r.trim()),o=[];for(let r=0,s=i.length;r<s;r+=1){const a=i[r];let c=!1,l=-1;for(;!c&&++l<Ou;){const A=na[l];let d=A.isMultiMatch(a);d&&(o.push(new A(d,t)),c=!0)}if(!c)for(l=-1;++l<Ou;){const A=na[l];let d=A.isSingleMatch(a);if(d){o.push(new A(d,t));break}}}return o})}const zy=new Set([Tu.type,Iu.type]);class Ny{constructor(t,{isCaseSensitive:n=W.isCaseSensitive,includeMatches:i=W.includeMatches,minMatchCharLength:o=W.minMatchCharLength,ignoreLocation:r=W.ignoreLocation,findAllMatches:s=W.findAllMatches,location:a=W.location,threshold:c=W.threshold,distance:l=W.distance}={}){this.query=null,this.options={isCaseSensitive:n,includeMatches:i,minMatchCharLength:o,findAllMatches:s,ignoreLocation:r,location:a,threshold:c,distance:l},this.pattern=n?t:t.toLowerCase(),this.query=Fy(this.pattern,this.options)}static condition(t,n){return n.useExtendedSearch}searchIn(t){const n=this.query;if(!n)return{isMatch:!1,score:1};const{includeMatches:i,isCaseSensitive:o}=this.options;t=o?t:t.toLowerCase();let r=0,s=[],a=0;for(let c=0,l=n.length;c<l;c+=1){const A=n[c];s.length=0,r=0;for(let d=0,u=A.length;d<u;d+=1){const h=A[d],{isMatch:p,indices:g,score:b}=h.search(t);if(p){if(r+=1,a+=b,i){const v=h.constructor.type;zy.has(v)?s=[...s,...g]:s.push(g)}}else{a=0,r=0,s.length=0;break}}if(r){let d={isMatch:!0,score:a/r};return i&&(d.indices=s),d}}return{isMatch:!1,score:1}}}const ia=[];function jy(...e){ia.push(...e)}function oa(e,t){for(let n=0,i=ia.length;n<i;n+=1){let o=ia[n];if(o.condition(e,t))return new o(e,t)}return new Su(e,t)}const Jo={AND:"$and",OR:"$or"},ra={PATH:"$path",PATTERN:"$val"},sa=e=>!!(e[Jo.AND]||e[Jo.OR]),Uy=e=>!!e[ra.PATH],Vy=e=>!Fe(e)&&Pu(e)&&!sa(e),Qu=e=>({[Jo.AND]:Object.keys(e).map(t=>({[t]:e[t]}))});function Lu(e,t,{auto:n=!0}={}){const i=o=>{let r=Object.keys(o);const s=Uy(o);if(!s&&r.length>1&&!sa(o))return i(Qu(o));if(Vy(o)){const c=s?o[ra.PATH]:r[0],l=s?o[ra.PATTERN]:o[c];if(!ke(l))throw new Error(vy(c));const A={keyId:ta(c),pattern:l};return n&&(A.searcher=oa(l,t)),A}let a={children:[],operator:r[0]};return r.forEach(c=>{const l=o[c];Fe(l)&&l.forEach(A=>{a.children.push(i(A))})}),a};return sa(e)||(e=Qu(e)),i(e)}function Wy(e,{ignoreFieldNorm:t=W.ignoreFieldNorm}){e.forEach(n=>{let i=1;n.matches.forEach(({key:o,norm:r,score:s})=>{const a=o?o.weight:null;i*=Math.pow(s===0&&a?Number.EPSILON:s,(a||1)*(t?1:r))}),n.score=i})}function Yy(e,t){const n=e.matches;t.matches=[],Gt(n)&&n.forEach(i=>{if(!Gt(i.indices)||!i.indices.length)return;const{indices:o,value:r}=i;let s={indices:o,value:r};i.key&&(s.key=i.key.src),i.idx>-1&&(s.refIndex=i.idx),t.matches.push(s)})}function Ky(e,t){t.score=e.score}function qy(e,t,{includeMatches:n=W.includeMatches,includeScore:i=W.includeScore}={}){const o=[];return n&&o.push(Yy),i&&o.push(Ky),e.map(r=>{const{idx:s}=r,a={item:t[s],refIndex:s};return o.length&&o.forEach(c=>{c(r,a)}),a})}class Un{constructor(t,n={},i){this.options={...W,...n},this.options.useExtendedSearch,this._keyStore=new _y(this.options.keys),this.setCollection(t,i)}setCollection(t,n){if(this._docs=t,n&&!(n instanceof ea))throw new Error(by);this._myIndex=n||Eu(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(t){Gt(t)&&(this._docs.push(t),this._myIndex.add(t))}remove(t=()=>!1){const n=[];for(let i=0,o=this._docs.length;i<o;i+=1){const r=this._docs[i];t(r,i)&&(this.removeAt(i),i-=1,o-=1,n.push(r))}return n}removeAt(t){this._docs.splice(t,1),this._myIndex.removeAt(t)}getIndex(){return this._myIndex}search(t,{limit:n=-1}={}){const{includeMatches:i,includeScore:o,shouldSort:r,sortFn:s,ignoreFieldNorm:a}=this.options;let c=ke(t)?ke(this._docs[0])?this._searchStringList(t):this._searchObjectList(t):this._searchLogical(t);return Wy(c,{ignoreFieldNorm:a}),r&&c.sort(s),_u(n)&&n>-1&&(c=c.slice(0,n)),qy(c,this._docs,{includeMatches:i,includeScore:o})}_searchStringList(t){const n=oa(t,this.options),{records:i}=this._myIndex,o=[];return i.forEach(({v:r,i:s,n:a})=>{if(!Gt(r))return;const{isMatch:c,score:l,indices:A}=n.searchIn(r);c&&o.push({item:r,idx:s,matches:[{score:l,value:r,norm:a,indices:A}]})}),o}_searchLogical(t){const n=Lu(t,this.options),i=(a,c,l)=>{if(!a.children){const{keyId:d,searcher:u}=a,h=this._findMatches({key:this._keyStore.get(d),value:this._myIndex.getValueForItemAtKeyId(c,d),searcher:u});return h&&h.length?[{idx:l,item:c,matches:h}]:[]}const A=[];for(let d=0,u=a.children.length;d<u;d+=1){const h=a.children[d],p=i(h,c,l);if(p.length)A.push(...p);else if(a.operator===Jo.AND)return[]}return A},o=this._myIndex.records,r={},s=[];return o.forEach(({$:a,i:c})=>{if(Gt(a)){let l=i(n,a,c);l.length&&(r[c]||(r[c]={idx:c,item:a,matches:[]},s.push(r[c])),l.forEach(({matches:A})=>{r[c].matches.push(...A)}))}}),s}_searchObjectList(t){const n=oa(t,this.options),{keys:i,records:o}=this._myIndex,r=[];return o.forEach(({$:s,i:a})=>{if(!Gt(s))return;let c=[];i.forEach((l,A)=>{c.push(...this._findMatches({key:l,value:s[A],searcher:n}))}),c.length&&r.push({idx:a,item:s,matches:c})}),r}_findMatches({key:t,value:n,searcher:i}){if(!Gt(n))return[];let o=[];if(Fe(n))n.forEach(({v:r,i:s,n:a})=>{if(!Gt(r))return;const{isMatch:c,score:l,indices:A}=i.searchIn(r);c&&o.push({score:l,key:t,value:r,idx:s,norm:a,indices:A})});else{const{v:r,n:s}=n,{isMatch:a,score:c,indices:l}=i.searchIn(r);a&&o.push({score:c,key:t,value:r,norm:s,indices:l})}return o}}Un.version="7.0.0",Un.createIndex=Eu,Un.parseIndex=Dy,Un.config=W,Un.parseQuery=Lu,jy(Ny);function Xy({highlight:e,text:t}){if(!e||!e.length)return t;const n=new RegExp(e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"gi"),i=[...t.matchAll(n)];if(!i.length)return t;const o=[];let r=0;for(let s of i)s.index>r&&o.push(t.substr(r,s.index)),o.push(f("span",{class:"highlight",children:s[0]})),r=s.index+s[0].length;return o.push(t.substr(r)),o}function Gy({delay:e=300,placeholder:t,setSearchText:n,width:i="calc(var(--width) / 4)"}){const o=q(null),r=q(null),[s,a]=R(""),c=()=>{a(""),n(""),o.current.value="",o.current.focus()};return Wt(()=>{o.current&&o.current.addEventListener("keyup",()=>{r.current&&clearTimeout(r.current),r.current=setTimeout(()=>{r.current=null,n(o.current.value),a(o.current.value)},e)})},[o.current]),f(N,{children:f("div",{class:"search",children:[f("input",{placeholder:t,style:{width:i},ref:o}),s.length?f("button",{class:"btn btn-clear",title:"Clear search",onClick:c,children:f(nt,{name:"x-lg"})}):null]})})}const Jy=["software_name","software_description","software_web_page","software_documentation","software_use_link"];function Zy({infoGroupId:e}){const t=Lt(`https://ara-db.ccs.uky.edu/api=API_0/z0CiQbts8t4pnv6fJQD4g9nskbCOl6UD-67akYK68wk/rp=${e}?include=${Jy.join(",")}`),[n,i]=R(""),o=kt(()=>t&&t.length?new Un(t,{keys:[{name:"software_name",weight:.6},{name:"software_description",weight:.4}]}):null,[t]);if(!t||!t.length)return;const r=u=>f(Xy,{text:u,highlight:n}),l=[{key:"software_name",name:"Package",format:(u,h)=>{const p=[],g=r(u),b=h.software_web_page||h.software_documentation;return p.push(b?f("a",{href:b,children:g}):g),h.software_documentation&&p.push(f(N,{children:" "}),f("a",{href:h.software_documentation,title:`Documentation for ${u}`,children:f(nt,{name:"book"})})),h.software_use_link&&h.software_use_link!=h.software_documentation&&p.push(f(N,{children:" "}),f("a",{href:h.software_use_link.split(`
|
|
96
|
+
`)[0].trim(),title:`Usage example for ${u}`,children:f(nt,{name:"terminal"})})),f("span",{style:{lineHeight:1.3},children:p})}},{key:"software_versions",name:"Versions",format:(u,h)=>u.map(p=>p.replace(`${h.rp_name}: `,"").split(",").join(", "))},{key:"software_description",name:"Description",format:(u,h)=>{const p=/Description Source:[ ]+(http[^ ]+)/,g=u.match(p);return f(N,{children:[r(u.replace(p,""))," ",g?f("a",{href:g[1],title:`Description source for ${h.software_name}`,children:f(nt,{name:"info-circle"})}):null]})}}],A=n.length?o.search(n).map(u=>u.item):t;return f(be,{title:"Software",icon:"terminal",headerComponents:[f(Gy,{placeholder:"Search software packages...",setSearchText:i})],children:f(io,{columns:l,rows:A,scrollResetOnUpdate:!0})})}function $y({prompt:e="Jump To:"}){const[t,n]=R([]),i=q(null),o=()=>{const s=[];for(let a of i.current.querySelectorAll("[data-section-title]"))s.push({icon:a.dataset.sectionIcon,id:a.id,title:a.dataset.sectionTitle});n(s)},r=s=>{const a=i.current.querySelector(`#${s}`);a&&a.scrollIntoView()};return et(()=>{i.current&&(o(),document.addEventListener("accessci-update-sections",o))},[i.current]),f("div",{ref:s=>i.current=s==null?void 0:s.parentElement,children:t.length>=2?f("nav",{class:"section-navigation",children:[e?f("h2",{children:e}):null,f("ul",{children:t.map(({icon:s,id:a,title:c})=>f("li",{children:f("a",{href:`#${a}`,onClick:l=>{l.preventDefault(),r(a)},children:[s?f(N,{children:[f(nt,{name:s})," "]}):null,c]})}))})]}):null})}function t1({baseUri:e,infoGroupId:t,showBreadcrumbs:n=!0}){const i=$n(t),o=[{name:"Resources",href:e}];return i&&o.push({name:i.name}),f(N,{children:[n&&f(ur,{expandWidth:!0,items:o,topBorder:!0}),f("div",{class:"resource-group-detail",children:[f(jp,{infoGroupId:t}),f($y,{}),f(I0,{infoGroupId:t}),f(k0,{infoGroupId:t}),f(S0,{infoGroupId:t}),f(Np,{infoGroupId:t}),f(Zy,{infoGroupId:t}),f(_m,{infoGroupId:t}),f(uy,{infoGroupId:t}),f(Wp,{infoGroupId:t})]})]})}const e1=Object.freeze(Object.defineProperty({__proto__:null,default:t1},Symbol.toStringTag,{value:"Module"})),n1={"ACCESS Pegasus":"https://pegasus.isi.edu/wordpress/wp-content/uploads/2016/01/favicon.ico","ACCESS OnDemand":"https://openondemand.org/themes/fire/theme/assets/media/favicons/favicon.ico","Advance reservations":"calendar-check","Composable hardware fabric":"boxes","Compute Resources":"cpu-fill","CPU Compute":"cpu-fill","GPU Compute":"cpu","Innovative / Novel Compute":"lightbulb","Large Memory Nodes":"arrows-fullscreen",Preemption:"clock-history","Science Gateway support":"globe","Service / Other":"stars","Storage Resources":"hdd-fill","Virtual Machines":"pc-display-horizontal",Cloud:"cloud",Storage:"hdd-fill"};function Ru({active:e,tagCategory:t,tagId:n,iconUri:i,name:o,toggleTag:r}){const s=i||n1[o]||"tag";return f("li",{class:`tag tag-category-${t.name.toLowerCase().replace(/[^a-z]+/g,"-")}${e.tagIds.has(n)?" active":""}`,children:f("button",{href:"#",disabled:e.disabledTagIds.has(n),onClick:a=>{a.preventDefault(),r(n)},children:[s.startsWith("http")?f(nt,{alt:o,src:s}):f(nt,{name:s}),o]})})}function Hu({children:e}){return f("ul",{class:"tags",children:e})}function i1({active:e,baseUri:t,description:n,imageType:i,imageUri:o,name:r,infoGroupId:s,tags:a,toggleTag:c}){const l=`${t}/${s}`;return f("div",{class:"resource-group",children:[f("a",{class:`resource-group-image image-type-${i}`,href:l,children:o?f("img",{src:o}):f(nt,{name:"motherboard"})}),f("div",{class:"resource-group-text",children:[f("h3",{children:f("a",{href:l,children:r})}),f(Hu,{children:a.map(A=>f(Ru,{...A,active:e,toggleTag:c}))}),f("p",{children:[n&&n,f("br",{}),f("a",{href:l,children:["Learn more about ",r," »"]})]})]})]})}function o1({active:e,baseUri:t,name:n,resourceGroups:i,toggleTag:o}){return f(N,{children:[f("h2",{children:n}),i.filter(({infoGroupId:r})=>e.infoGroupIds.has(r)).map(r=>f(i1,{...r,baseUri:t,active:e,toggleTag:o}))]})}function r1({active:e,clearTags:t,tagCategories:n,toggleTag:i}){const[o,r]=R(!1),s=q(null);return Wt(()=>{s.current&&(s.current.addEventListener("click",a=>a.stopPropagation()),document.body.addEventListener("click",()=>r(!1)))},[s.current]),f("section",{class:"filters-outer",ref:s,children:[f("button",{onClick:()=>r(!o),class:`btn-filters btn ${o?"active":""}`,children:[f(nt,{name:"filter"})," Filters",e.tagIds.size>0?f("span",{class:"active-tag-count",children:e.tagIds.size}):null]}),o?f("div",{class:"filters-inner",children:[n.map(a=>f(N,{children:[f("h2",{children:a.name}),f(Hu,{children:a.tags.map(c=>f(Ru,{...c,active:e,toggleTag:i}))})]})),f("button",{onClick:t,disabled:e.tagIds.size==0,class:"btn danger",children:[f(nt,{name:"trash"})," Clear Filters"]})]}):null]})}function s1(){const e=q(null);return f("section",{id:"resource-pathways",ref:e,children:[f("p",{class:"intro",children:["ACCESS provides advanced computing resources ",f("strong",{children:"at no cost"})," ","to researchers and educators."]}),f("ul",{class:"resource-pathways",children:[{title:"Browse resources",icon:"filter-square",description:"Filter resources to find the best match for your research.",onClick:n=>{n.preventDefault(),e.current&&e.current.nextSibling.scrollIntoView({bahavior:"smooth"})}},{title:"Ask a question",icon:"question-circle",href:"https://support.access-ci.org/",description:"You have resource questions. Our Q&A bot has answers!",login:!0},{title:"Get suggestions",icon:"card-checklist",href:"https://access-ara.ccs.uky.edu:8080/",description:"Fill out a form to get resource recommendations."},{title:"Read news",icon:"newspaper",href:"https://access-ci.org/tag/resource-providers/",description:"See the latest news from resource providers."}].map(({title:n,icon:i,href:o,description:r,login:s,onClick:a},c)=>f("li",{class:`resource-pathway-${c}`,children:f("a",{href:o||"#",onClick:a,children:[i?f(nt,{name:i}):null," ",f("span",{class:"detail",children:[f("span",{class:"title",children:n}),f("span",{class:"description",children:r}),s?f("span",{class:"login",children:[f(nt,{name:"key"})," Requires ACCESS Login"]}):null]})]})}))})]})}function a1({baseUri:e,title:t,showBreadcrumbs:n=!0,showTitle:i=!0}){const[o,r]=R([]),s=Ka(),a=kt(()=>s?dh(s,o):null,[s,o]),c=A=>r(o.includes(A)?o.filter(d=>d!=A):[...o,A]),l=()=>r([]);return f(N,{children:[n&&f(ur,{expandWidth:!0,items:[{name:"Resources"}],topBorder:!0}),t&&f("h1",{class:i?"":"visually-hidden",children:t}),f(s1,{}),f("div",{id:"browse-resources",children:[a?f(r1,{tagCategories:s.tagCategories,active:a,clearTags:l,toggleTag:c}):null,s?s.resourceCategories.filter(({resourceCategoryId:A})=>a.resourceCategoryIds.has(A)).map(A=>f(o1,{...A,active:a,baseUri:e,clearTags:l,toggleTag:c})):null]})]})}const c1=Object.freeze(Object.defineProperty({__proto__:null,default:a1},Symbol.toStringTag,{value:"Module"}));pt.breadcrumbs=Dh,pt.footer=Ch,pt.footerMenus=Ih,pt.header=Eh,pt.loginMenuItem=ja,pt.myAccessMenuItem=Na,pt.qaBot=Sh,pt.resourceCatalog=Qh,pt.siteMenus=Th,pt.tableOfContents=Oh,pt.universalMenuItems=za,pt.universalMenus=Mh,Object.defineProperty(pt,Symbol.toStringTag,{value:"Module"})});
|