@access-ci/ui 0.8.0 → 0.9.0-beta1
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 +2 -1
- package/dist/access-ci-ui.bundle.js +7 -51
- package/dist/access-ci-ui.js +1 -1
- package/dist/access-ci-ui.umd.cjs +11 -75
- package/dist/access-qa-bot-Cq3q7AAP.js +1921 -0
- package/dist/{icon-DO5WLkIr.js → icon-Cp10d2Q2.js} +1 -1
- package/dist/{index-CGLHL48j.js → index-BdTHsAiI.js} +217 -204
- package/dist/{resource-group-detail-px8JUvEX.js → resource-group-detail-CE_LUC5c.js} +2068 -2159
- package/dist/resource-home-Xq3HiR8e.js +260 -0
- package/package.json +3 -2
- package/dist/access-qa-bot-DT5Eikre.js +0 -1898
- package/dist/resource-home-CI6IFYKT.js +0 -248
|
@@ -1,96 +1,32 @@
|
|
|
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+bDyg5Qy3acHO5ltOxgcNwNDI3nt6J059KBHb8GL3CCm6wQkKiUHpQyapgcUhepH78xRYP2TwPLFqBJoJaBgjCEUDIYCPiV+uM43tP1mDG3/PT0KrP+fxtjeu+nQjlu69j75+Uu33fu2wzbRVPEvpoqvRQKglCISjsaCPnbyr78+7/B4U1TtlMC39j/ztUu33feOpudvO4McBdYRGr3rvzvTtdJfg+QPunb25onx7gv+9L2F//Lz9D3/Q4Uy/TLKtCCkACEE8eYuFg4F3qypNPgv90A3/wzczrxBOLlPcCf7h1Ry8J4DA2OvOQqsIzTMXF9HbnLbB7lrHgMWDOcN990KI9F/ufRg2hJC1QtBKCQEACAUiqMl3nJayM9ec//Plv6rxVULdwvvca2kajs8sOdgavG+vmzhKLCO0EiNrtudHnl6i5UfhC/YhqaW+Wf6dXbJgz9f9i9TG8M7bgkQwj5GCJ0tJS+/zxQdbZ3LotFw6DN+jXX+y2yrHbdQQsg7pHRP5tzExGQCPX0jW4cT+T1HgXWEhmMXclJ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rQGpMPKclLjetEVWSgm/ThH0sWU+nXUeBdYRGrse/k+NO7nzbTPBMpkcDg7nLdN2/wfAtn9F/Ou6GwehKWQPJeTztivGqlf35VxieMLE2KTxghDy62vWZv8lqQHv/WKPVBi5V0h5l8tlsTJIduYN97Wf/WDzUWAdiZFKbGsf6HnqhO69L2D3wRSSGet5KXHHv5JIfN/1vdA1+hSj5NZiI3kAgGEJDI0bjuWInwHo/1f+riuv3VuQEj9LpJ3xXT0Z7O5Jy8HR3Mm2zbWjXuGRAFZqfPTAYO5jw+PGVbmCfS4Xci2Af3m7w8s+1u0+/psVaylj7yCENAvhIpN3kMk7B6SU9x8ORjxb4M/3DefvGpssdDiuuB3AA4ySowTpkRgXfmiXDeAf11wdfhzAfADjhysFRNfVvZRpewE0C+4ik3dhO2ILgJHDcb6rPr3P/vwHmz/PhcwDMI5USfxRYFWNNWuzLoDuw+sk6BnG/Fuk5KdyYcCwuATwHA4jI/7NmyYSeJUPiqPjkOPktz4nqBLcTZkPQhBwLm1Gyd5XqyQ5KrH+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/v8AAAAAAAAAAAEA//8AAAEAAAD+/wEAAAAAAAEAAgAAAAEAAAABAP//AQD+/wIA/////wAAAQD//wAAAQD+/wAAAQABAAAA////////AAACAAAAAQAAAAIA//8BAP///v///wEA//8BAAEAAQD+/wAAAQD9/wAAAQAAAAEAAAABAAAAAgAAAP//AAD+/wAA/f8AAAAA////////AgAAAAcAAQD7/wEA/f8AAAIA//8GAP7//v/+//b/AQD//wQADgD///3/9/8FAPr/6/8EABAACQD9/wIA/P/5/w4A///t/wQA/P8LAB0ACQD5////AQD2/+7/AgD6//r//v/z/xIA9f8oAAMA4f8OANz/EQAdAAAA5P/w/2MAAQDq/w0A1/8bALz/BgDb/+j/lQD9/yMABAACAA0Alf8NAKr/CwCMAPD/QwDq/wkA9v+g/wgAk/8QAD0ABgAWAAQAMwD7/9T/8//f//z/JwAEAOL/DwBxAAwAzf/+/xUA8v+O//H/fAD5/xUA+/9m//P/yf/r/y8ACAAbAEQA3f9AAAcB9f/p/sD/+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AAQArAAIAHQAEAAcAAADr/wEAzv8CANj//f/k/wEA+f/+/xQABwAqAB4ALAD+/x4A8P8SAOb/8//f/9j//f/N/wEA3v8LAO7/AgAMAAQALAAEAC0AAQAdAAQADwABAPP/BADV/wMA0/8AAOH/AQD1/wAAEAADACQAGwAwAAQAHwD0/xUA8f/4/+L/2//7/8z/AwDc/woA6f8AAAQAAwAoAAcANAAAACcAAgAUAAEA+P8CANv/AgDR/wEA4v8BAOz/AgAIAPv/JAAVADMAFAAhAPP/GQDz//7/3P/l/+3/z/8BANf/CgDn/wkA/P///xoABwAwAAIAJwACABcAAwABAAIA4f8BAND/AgDd//3/6P8CAAYA/f8YAAwALwAZACUA9v8bAPj/AwDq/+r/7P/S//7/1/8EAOX/CQD6//7/GQAFAC8AAQApAAEAGQACAAMAAgDm/wEAzv8BANv//v/p/wIA//8BABMABQArACAALAABAB4A8f8NAOv/7v/m/9n/+P/R/wMA4f8OAPT/AQATAAMAKwAHACoAAwAbAAMABQADAO7/AQDU/wEA2f8AAOL////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
|
-
`),
|
|
1
|
+
(function(pt,Dt){typeof exports=="object"&&typeof module<"u"?Dt(exports):typeof define=="function"&&define.amd?define(["exports"],Dt):(pt=typeof globalThis<"u"?globalThis:pt||self,Dt(pt.AccessCiUi={}))})(this,function(pt){"use strict";var Ky=Object.defineProperty;var Xy=(pt,Dt,L)=>Dt in pt?Ky(pt,Dt,{enumerable:!0,configurable:!0,writable:!0,value:L}):pt[Dt]=L;var tt=(pt,Dt,L)=>Xy(pt,typeof Dt!="symbol"?Dt+"":Dt,L);var Ko,Xe;var Dt,L,sa,Ze,aa,ca,ir,or,rr,sr,la,Vn={},Aa=[],bu=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Oi=Array.isArray;function Ee(e,t){for(var n in t)e[n]=t[n];return e}function da(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function Z(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?Dt.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 Wn(e,s,i,o,null)}function Wn(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??++sa,__i:-1,__u:0};return o==null&&L.vnode!=null&&L.vnode(r),r}function vu(){return{current:null}}function U(e){return e.children}function ie(e,t){this.props=e,this.context=t}function mn(e,t){if(t==null)return e.__?mn(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"?mn(e):null}function ua(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 ua(e)}}function ar(e){(!e.__d&&(e.__d=!0)&&Ze.push(e)&&!Qi.__r++||aa!==L.debounceRendering)&&((aa=L.debounceRendering)||ca)(Qi)}function Qi(){var e,t,n,i,o,r,s,a;for(Ze.sort(ir);e=Ze.shift();)e.__d&&(t=Ze.length,i=void 0,r=(o=(n=e).__v).__e,s=[],a=[],n.__P&&((i=Ee({},o)).__v=o.__v+1,L.vnode&&L.vnode(i),cr(n.__P,i,o,n.__n,n.__P.namespaceURI,32&o.__u?[r]:null,s,r??mn(o),!!(32&o.__u),a),i.__v=o.__v,i.__.__k[i.__i]=i,ma(s,i,a),i.__e!=r&&ua(i)),Ze.length>t&&Ze.sort(ir));Qi.__r=0}function ha(e,t,n,i,o,r,s,a,c,l,A){var d,u,h,p,g,b=i&&i.__k||Aa,v=t.length;for(n.__d=c,wu(n,t,b),c=n.__d,d=0;d<v;d++)(h=n.__k[d])!=null&&(u=h.__i===-1?Vn:b[h.__i]||Vn,h.__i=d,cr(e,h,u,o,r,s,a,c,l,A),p=h.__e,h.ref&&u.ref!=h.ref&&(u.ref&&lr(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=fa(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 wu(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?Wn(null,o,null,null,null):Oi(o)?Wn(U,{children:o},null,null,null):o.constructor===void 0&&o.__b>0?Wn(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=yu(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=mn(r)),ba(r,r))}function fa(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=fa(i[o],t,n));return t}e.__e!=t&&(t&&e.type&&!n.contains(t)&&(t=mn(e)),n.insertBefore(e.__e,t||null),t=e.__e);do t=t&&t.nextSibling;while(t!=null&&t.nodeType===8);return t}function Ae(e,t){return t=t||[],e==null||typeof e=="boolean"||(Oi(e)?e.some(function(n){Ae(n,t)}):t.push(e)),t}function yu(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 pa(e,t,n){t[0]==="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||bu.test(t)?n:n+"px"}function Li(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||pa(e.style,t,"");if(n)for(t in n)i&&n[t]===i[t]||pa(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=or,e.addEventListener(t,r?sr:rr,r)):e.removeEventListener(t,r?sr:rr,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 ga(e){return function(t){if(this.l){var n=this.l[t.type+e];if(t.t==null)t.t=or++;else if(t.t<n.u)return;return n(L.event?L.event(t):t)}}}function cr(e,t,n,i,o,r,s,a,c,l){var A,d,u,h,p,g,b,v,w,_,m,x,y,E,P,C,S=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 S=="function")try{if(v=t.props,w="prototype"in S&&S.prototype.render,_=(A=S.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 S(v,m):(t.__c=d=new ie(v,m),d.constructor=S,d.render=_u),_&&_.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&&S.getDerivedStateFromProps!=null&&(d.__s==d.state&&(d.__s=Ee({},d.__s)),Ee(d.__s,S.getDerivedStateFromProps(v,d.__s))),h=d.props,p=d.state,d.__v=t,u)w&&S.getDerivedStateFromProps==null&&d.componentWillMount!=null&&d.componentWillMount(),w&&d.componentDidMount!=null&&d.__h.push(d.componentDidMount);else{if(w&&S.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(B){B&&(B.__=t)}),x=0;x<d._sb.length;x++)d.__h.push(d._sb[x]);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,y=L.__r,E=0,w){for(d.state=d.__s,d.__d=!1,y&&y(t),A=d.render(d.props,d.state,d.context),P=0;P<d._sb.length;P++)d.__h.push(d._sb[P]);d._sb=[]}else do d.__d=!1,y&&y(t),A=d.render(d.props,d.state,d.context),d.state=d.__s;while(d.__d&&++E<25);d.state=d.__s,d.getChildContext!=null&&(i=Ee(Ee({},i),d.getChildContext())),w&&!u&&d.getSnapshotBeforeUpdate!=null&&(g=d.getSnapshotBeforeUpdate(h,p)),ha(e,Oi(C=A!=null&&A.type===U&&A.key==null?A.props.children:A)?C:[C],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(B){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(B,t,n)}else r==null&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=xu(n.__e,t,n,i,o,r,s,c,l);(A=L.diffed)&&A(t)}function ma(e,t,n){t.__d=void 0;for(var i=0;i<n.length;i++)lr(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 xu(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&&Dt.call(e.childNodes),b=n.props||Vn,!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;Li(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||Li(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=""),ha(e,Oi(u)?u:[u],t,n,i,w==="foreignObject"?"http://www.w3.org/1999/xhtml":o,r,s,r?r[0]:n.__k&&mn(n,0),a,c),r!=null)for(l=r.length;l--;)da(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])&&Li(e,l,p,b[l],o),l="checked",g!==void 0&&g!==e[l]&&Li(e,l,g,b[l],o))}return e}function lr(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 ba(e,t,n){var i,o;if(L.unmount&&L.unmount(e),(i=e.ref)&&(i.current&&i.current!==e.__e||lr(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]&&ba(i[o],t,n||typeof e.type!="function");n||da(e.__e),e.__c=e.__=e.__e=e.__d=void 0}function _u(e,t,n){return this.constructor(e,n)}function bn(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=[],cr(t,e=(!i&&n||t).__k=Z(U,null,[e]),o||Vn,Vn,t.namespaceURI,!i&&n?[n]:o?null:t.firstChild?Dt.call(t.childNodes):null,r,!i&&n?n:o?o.__e:t.firstChild,i,s),ma(r,e,s)}function va(e,t){bn(e,t,va)}function Ar(e,t,n){var i,o,r,s,a=Ee({},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?Dt.call(arguments,2):n),Wn(e.type,a,i||e.key,o||e.ref,null)}function oe(e,t){var n={__c:t="__cC"+la++,__: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,ar(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}Dt=Aa.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}},sa=0,ie.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Ee({},this.state),typeof e=="function"&&(e=e(Ee({},n),this.props)),e&&Ee(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),ar(this))},ie.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),ar(this))},ie.prototype.render=U,Ze=[],ca=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,ir=function(e,t){return e.__v.__b-t.__v.__b},Qi.__r=0,or=0,rr=ga(!1),sr=ga(!0),la=0;var Eu=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:--Eu,__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 Pu="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 dr({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:Pu,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 Qe,ut,ur,wa,vn=0,ya=[],gt=L,xa=gt.__b,_a=gt.__r,Ea=gt.diffed,Pa=gt.__c,Ba=gt.unmount,Ca=gt.__;function wn(e,t){gt.__h&>.__h(ut,e,vn||t),vn=0;var n=ut.__H||(ut.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function N(e){return vn=1,Yn(Sa,e)}function Yn(e,t,n){var i=wn(Qe++,2);if(i.t=e,!i.__c&&(i.__=[n?n(t):Sa(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=ut,!ut.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))};ut.u=!0;var r=ut.shouldComponentUpdate,s=ut.componentWillUpdate;ut.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)},ut.shouldComponentUpdate=o}return i.__N||i.__}function et(e,t){var n=wn(Qe++,3);!gt.__s&&gr(n.__H,t)&&(n.__=e,n.i=t,ut.__H.__h.push(n))}function Nt(e,t){var n=wn(Qe++,4);!gt.__s&&gr(n.__H,t)&&(n.__=e,n.i=t,ut.__h.push(n))}function G(e){return vn=5,wt(function(){return{current:e}},[])}function hr(e,t,n){vn=6,Nt(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 wt(e,t){var n=wn(Qe++,7);return gr(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function Y(e,t){return vn=8,wt(function(){return e},t)}function Yt(e){var t=ut.context[e.__c],n=wn(Qe++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(ut)),t.props.value):e.__}function ka(e,t){gt.useDebugValue&>.useDebugValue(t?t(e):e)}function fr(){var e=wn(Qe++,11);if(!e.__){for(var t=ut.__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 Bu(){for(var e;e=ya.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Ri),e.__H.__h.forEach(pr),e.__H.__h=[]}catch(t){e.__H.__h=[],gt.__e(t,e.__v)}}gt.__b=function(e){ut=null,xa&&xa(e)},gt.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),Ca&&Ca(e,t)},gt.__r=function(e){_a&&_a(e),Qe=0;var t=(ut=e.__c).__H;t&&(ur===ut?(t.__h=[],ut.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.i=n.__N=void 0})):(t.__h.forEach(Ri),t.__h.forEach(pr),t.__h=[],Qe=0)),ur=ut},gt.diffed=function(e){Ea&&Ea(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(ya.push(t)!==1&&wa===gt.requestAnimationFrame||((wa=gt.requestAnimationFrame)||Cu)(Bu)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.i=void 0})),ur=ut=null},gt.__c=function(e,t){t.some(function(n){try{n.__h.forEach(Ri),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)}}),Pa&&Pa(e,t)},gt.unmount=function(e){Ba&&Ba(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(i){try{Ri(i)}catch(o){t=o}}),n.__H=void 0,t&>.__e(t,n.__v))};var Da=typeof requestAnimationFrame=="function";function Cu(e){var t,n=function(){clearTimeout(i),Da&&cancelAnimationFrame(t),setTimeout(e)},i=setTimeout(n,100);Da&&(t=requestAnimationFrame(n))}function Ri(e){var t=ut,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),ut=t}function pr(e){var t=ut;e.__c=e.__(),ut=t}function gr(e,t){return!e||e.length!==t.length||t.some(function(n,i){return n!==e[i]})}function Sa(e,t){return typeof t=="function"?t(e):t}let $e,Gn;const ku=(e,t)=>{if($e=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;$e=!0,t.preventDefault(),t=n.href.replace(location.origin,"")}else typeof t=="string"?$e=!0:t&&t.url?($e=!t.replace,t=t.url):t=location.pathname+location.search;return $e===!0?history.pushState(null,"",t):$e===!1&&history.replaceState(null,"",t),t},Du=(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 Kn(e){const[t,n]=Yn(ku,e.url||location.pathname+location.search);e.scope&&(Gn=e.scope);const i=$e===!0,o=wt(()=>{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 Nt(()=>(addEventListener("click",n),addEventListener("popstate",n),()=>{removeEventListener("click",n),removeEventListener("popstate",n)}),[]),Z(Kn.ctx.Provider,{value:o},e.children)}const Su=Promise.resolve();function Ma(e){const[t,n]=Yn(C=>C+1,0),{url:i,query:o,wasPush:r,path:s}=Mu(),{rest:a=s,params:c={}}=Yt(Ta),l=G(!1),A=G(s),d=G(0),u=G(),h=G(),p=G(),g=G(!1),b=G();b.current=!1;const v=G(!1);let w,_,m;Ae(e.children).some(C=>{if(Du(a,C.props.path,m={...C.props,path:a,query:o,params:c,rest:""}))return w=Ar(C,m);C.props.default&&(_=Ar(C,m))});let x=w||_;wt(()=>{h.current=u.current;const C=h.current&&h.current.props.children;!C||!x||x.type!==C.type||x.props.component!==C.props.component?(this.__v&&this.__v.__k&&this.__v.__k.reverse(),d.current++,v.current=!0):v.current=!1},[i]);const y=u.current&&u.current.__u&Hi&&u.current.__u&Fi,E=u.current&&u.current.__h;u.current=Z(Ta.Provider,{value:m},x),y?(u.current.__u|=Hi,u.current.__u|=Fi):E&&(u.current.__h=!0);const P=h.current;return h.current=null,this.__c=(C,S)=>{b.current=!0,h.current=P,e.onLoadStart&&e.onLoadStart(i),l.current=!0;let B=d.current;C.then(()=>{B===d.current&&(h.current=null,u.current&&(S.__h&&(u.current.__h=S.__h),S.__u&Fi&&(u.current.__u|=Fi),S.__u&Hi&&(u.current.__u|=Hi)),Su.then(n))})},Nt(()=>{const C=this.__v&&this.__v.__e;if(b.current){!g.current&&!p.current&&(p.current=C);return}!g.current&&p.current&&(p.current!==C&&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?[Z(mr,{r:u}),Z(mr,{r:h})]:Z(mr,{r:u})}const Hi=32,Fi=128,mr=({r:e})=>e.current;Ma.Provider=Kn,Kn.ctx=oe({});const Ta=oe({}),Mu=()=>Yt(Kn.ctx);function br(e){let t,n;const i=()=>e().then(r=>n=r&&r.default||r),o=r=>{const[,s]=N(0),a=G(n);if(t||(t=i()),n!==void 0)return Z(n,r);throw a.current||(a.current=t.then(()=>s(1))),t};return o.preload=()=>(t||(t=i()),t),o}const Ia=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)}Ia&&Ia(e,t,n)};function Oa(e){return this.__c=Tu,this.componentDidCatch=e.onError,e.children}function Tu(e){e.then(()=>this.forceUpdate())}const Iu=br(()=>Promise.resolve().then(()=>_p).then(e=>({default:e.QABot})));class Qa extends ie{render(){const{welcome:t,isLoggedIn:n,open:i,onOpenChange:o,apiKey:r,embedded:s,loginUrl:a}=this.props,c=r||void 0||null;if(!c)return console.error("QA Bot: No valid API key provided"),null;const l=n!==void 0?n:document.cookie.split("; ").includes("SESSaccesscisso=1");return f(Oa,{children:f(Iu,{welcome:t||"Welcome to ACCESS Q&A Bot!",isLoggedIn:l,open:i,onOpenChange:o,embedded:s===!0,apiKey:c,loginUrl:a})})}}const La=[{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/"}],Ra=[{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:La},{name:"Search",href:"https://support.access-ci.org/find",classes:"icon icon-search"}],Ha={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"}]},Fa={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"}]},Ou=[{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"}],Qu=[{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"}],Lu="https://www.nsf.gov/awardsearch/showAward",Xn=({number:e})=>f("a",{href:`${Lu}?AWD_ID=${e}&HistoricalAwards=false`,children:["#",e]}),zi=({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})}))}),Ru="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAABIAAAASABGyWs+AABv5klEQVR42u29d5gkVb0+/p5zKnTunp48m3NiWWDJCCJJAREJ14DoNV/1ioqo1wRmr2K46upVMcuiCCIIkgTJYdllE5tnw8xODj3TuSuec35/VOfpWYLu/r7cZ8/z1HZtd09VdZ23PuH9hAMcHUfH0XF0vFoGOXoLDj36t9zEmBo4G1J2mNmDSI08l0yn+v/xuvdssY7enemHcvQWH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5KdyYcCwuATwHA4jI/7NmyYSeJUPiqPjkOPktz4nqBLcTZkPQhBwLm1Gyd5XqyQ5KrH+HxrcNQ3TMpBIW8gVHC6EzBy9K0eB9U+P/qGB3NB44eDAaB4F0zWEkMbRu3IUWP/0GJ807x5JGE/nCg7gLdU5dvSuHB1Hx/8P4/8D9B8zcoSATacAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjItMDgtMTdUMTY6MTI6MTUtMDQ6MDBuCuvkAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTA4LTE3VDE2OjEyOjE1LTA0OjAwH1dTWAAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAAASUVORK5CYII=",Hu="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",za=({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:Ru,alt:"National Science Foundation"})}),f("div",{class:"divider"}),f("a",{class:"access",href:i,children:[f("img",{class:"access-logo",src:Hu,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",Na=(e=900)=>{const[t,n]=N(vr(e));return et(()=>{window.addEventListener("resize",()=>n(vr(e)))},[]),t},Pe=(e,t,n=[])=>{const i=t.attachShadow({mode:"open"});bn(f(U,{children:[e,n.map(o=>f("style",{children:o}))]}),i)},Ua=()=>window.pageYOffset!==void 0?window.pageYOffset:(document.documentElement||document.body.parentNode||document.body).scrollTop,ja={},Ni={},Fu=(e,{cache:t=!0,corsProxy:n=!1}={cache:!0,corsProxy:!1})=>{if(t&&e in ja)return ja[e];if(e in Ni)return Ni[e];const i=fetch(n?`https://corsproxy.io/?${encodeURIComponent(e)}`:e).then(o=>{if(delete Ni[e],o.status<200||o.status>299)return{error:{status:o.status}};try{return o.json()}catch(r){return{error:{message:r}}}});return Ni[e]=i,i},It=(e,{cache:t=!0,corsProxy:n=!1,defaultValue:i=null}={cache:!0,corsProxy:!1,defaultValue:null})=>{const[o,r]=N(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=>Fu(l,{cache:t,corsProxy:n}))),c=s?a[0]:a;r(c)})()},[...e]),o},Va=()=>{const e=It("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 Nu({resourceCategories:u,resourceGroups:h,tags:l,tagCategories:a})})},qn=(e,t=null)=>{const n=Va();return n&&n.resourceGroups.find(i=>i.infoGroupId==e)||t},zu=(e,t=[])=>{const n=It(`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)=>wt(()=>{if(!e.length)return n;for(let i of e)if(!i||i.error)return n;return t.apply(null,e)},e),Nu=({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}},Uu=({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}},Wa=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=Wa(s[1]);a&&r.push(f("a",{href:a,children:s[2]}))}}t.push(f("p",{children:r}))}return t},ju=({showAfterScroll:e=300})=>{const[t,n]=N(!1);return et(()=>{window.addEventListener("scroll",()=>n(Ua()>=e))},[]),f("button",{class:`scroll-to-top ${t?"visible":""}`,title:"Return to Top",onClick:()=>window.scrollTo({top:0,behavior:"smooth"}),children:"Return to Top"})},Vu=(e={})=>f(U,{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(Xn,{number:2138259}),", ",f(Xn,{number:2138286}),","," ",f(Xn,{number:2138307}),", ",f(Xn,{number:2137603})," and"," ",f(Xn,{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(zi,{className:"social",items:Ou})]}),f("div",{class:"personas",children:[f("p",{children:"For:"}),f(zi,{items:La})]})]}),f("div",{class:"lower",children:[f(za,{siteName:"ACCESS",siteUrl:"https://access-ci.org",placement:"footer"}),f(zi,{className:"links",items:Qu})]})]}),f(ju,{...e})]}),Wu=(e={})=>f("div",{class:"container",children:f(za,{...e})}),Ya=({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(U,{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(Ya,{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=Na(1280),[r,s]=N({});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(Ya,{autoOpenMode:"desktop",items:t,mode:o,name:n,open:r,setOpen:s})})},Yu=({items:e,siteName:t=""})=>{const n=Na(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(zi,{items:s})]})});return f("nav",{class:"footer",children:[f("h2",{children:["ACCESS ",t]}),f("div",{class:"columns",children:i})]})},Gu=br(()=>Promise.resolve().then(()=>Oy)),Ku=br(()=>Promise.resolve().then(()=>Ny));function Xu({title:e="Resources",showTitle:t=!0,baseUri:n="/resources"}){return f(Kn,{children:f(Oa,{children:f(Ma,{children:[f(Ku,{path:n,baseUri:n,title:e,showTitle:t}),f(Gu,{path:`${n}/:infoGroupId`,baseUri:n})]})})})}const qu=({headings:e=[],idPrefix:t="",smoothScroll:n=!0})=>{const[i,o]=N(-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=Ua()+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})}))})]})},Be=":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}}",Ju='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)}}',Zu=`: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}`,$u=`: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}}`,th=".container{box-sizing:content-box;height:84px;padding-top:20px}@media (min-width: 900px){.container{height:144px;padding-top:52px}}",Ka=`.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}}`,eh='@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)}',nh=".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}}",Xa='.rcb-toggle-icon{background-color:initial!important;background-position:calc(50% - 1px) calc(50% + 2px);background-size:62%}.rcb-chat-window{max-height:600px;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}.qa-bot .user-login-icon{display:none!important}.qa-bot.bot-logged-in .user-login-icon{display:flex!important;transform:scale(1.3) translateY(-2px)}.embedded-qa-bot .rcb-chat-window{max-width:100%;width:100%!important}.qa-bot.hidden{display:none}.embedded-qa-bot .rcb-bot-message,.embedded-qa-bot .rcb-user-message{max-width:90%!important;word-break:break-word}.embedded-qa-bot .rcb-chat-input-textarea{width:100%!important}.qa-bot-container{max-width:100%;width:100%}.rcb-tooltip-show.phone-ring{animation:phone-ring 3s ease-out!important;z-index:10000!important}@keyframes phone-ring{0%{transform:translate(0) translateY(0) rotate(0)}2%{transform:translate(0) translateY(-8px) rotate(-2deg)}4%{transform:translate(0) translateY(-6px) rotate(2deg)}6%{transform:translate(0) translateY(-8px) rotate(-1deg)}8%{transform:translate(0) translateY(-6px) rotate(1deg)}10%{transform:translate(0) translateY(-8px) rotate(-2deg)}12%{transform:translate(0) translateY(-6px) rotate(2deg)}20%{transform:translate(0) translateY(0) rotate(0)}30%{transform:translate(0) translateY(0) rotate(0)}40%{transform:translate(0) translateY(0) rotate(0)}49%{transform:translate(0) translateY(0) rotate(0)}50%{transform:translate(0) translateY(-8px) rotate(-2deg)}52%{transform:translate(0) translateY(-6px) rotate(2deg)}54%{transform:translate(0) translateY(-8px) rotate(-1deg)}56%{transform:translate(0) translateY(-6px) rotate(1deg)}58%{transform:translate(0) translateY(-8px) rotate(-2deg)}60%{transform:translate(0) translateY(-6px) rotate(2deg)}70%{transform:translate(0) translateY(0) rotate(0)}to{transform:translate(0) translateY(0) rotate(0)}}@media (max-width:768px){.embedded-chat-container.open{height:400px}.embedded-chat-closed{font-size:14px;height:40px}.embedded-chat-open-btn{font-size:12px;padding:3px 10px}}@media (max-width:480px){.embedded-chat-container.open{height:350px}}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}.demo-container{background-color:#f5f5f5;border-bottom:1px solid #ddd;margin-bottom:20px;padding:20px}.demo-title{font-size:1.2em;font-weight:700;margin-bottom:20px}.demo-controls{align-items:flex-start;display:flex;flex-wrap:wrap;gap:20px}.demo-section{flex:1 1;min-width:200px}.demo-section h3{font-size:1em;margin:0 0 10px}.demo-checkbox{display:block;font-size:.95em;margin-bottom:15px}.demo-checkbox:last-child{margin-bottom:10px}.demo-checkbox input{margin-right:8px}.demo-message-section{flex:1 1;min-width:250px}.demo-send-button{background-color:#1a5b6e;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:.9em;padding:8px 16px}.demo-info{background-color:#e8f4f8;border-radius:4px;color:#555;font-size:.85em;margin-top:15px;padding:12px}.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:auto;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:auto;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)}}',ih=(e={})=>{Pe(f(dr,{...e}),e.target,[Be,Ju])},oh=(e={})=>{Pe(f(Vu,{...e}),e.target,[Be,$u,Ka])},rh=(e={})=>{Pe(f(Wu,{...e}),e.target,[Be,Ka,th])},sh=({isLoggedIn:e,target:t,...n}={})=>{e===void 0&&(e=document.cookie.split("; ").includes("SESSaccesscisso=1")),Pe(f(Qa,{isLoggedIn:e,target:t,...n}),t,[Be,Xa])},ah=({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?Ha:Fa};s.items=s.items.map(c=>({...c,href:c.name=="Login"&&n||c.name=="Log out"&&i||c.href})),e=[...Ra,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")}Pe(f(Ga,{classes:"universal",items:e,name:"ACCESS Menu",target:r}),r,[Be,_r])},ch=({items:e,siteName:t,target:n})=>Pe(f(Ga,{classes:"site",items:e,name:`${t} Menu`,target:n}),n,[Be,_r]),lh=({items:e,siteName:t,target:n})=>Pe(f(Yu,{items:e,siteName:t}),n,[Be,_r]),Ah=({headings:e=[],target:t})=>Pe(f(qu,{headings:e}),t,[Be,nh]),dh=({baseUri:e,showTitle:t,target:n,title:i})=>Pe(f(Xu,{baseUri:e,showTitle:t,title:i}),n,[Be,Zu,eh,Xa]);var qa=/[\s\n\\/='"\0<>]/,Ja=/^(xlink|xmlns|xml)([A-Z])/,uh=/^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]/,hh=/^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/,fh=new Set(["draggable","spellcheck"]),ph=/["&<]/;function Ui(e){if(e.length===0||ph.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 Za={},gh=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"]),mh=/[A-Z]/g;function bh(e){var t="";for(var n in e){var i=e[n];if(i!=null&&i!==""){var o=n[0]=="-"?n:Za[n]||(Za[n]=n.replace(mh,"-$&").toLowerCase()),r=";";typeof i!="number"||o.startsWith("--")||gh.has(o)||(r="px;"),t=t+o+":"+i+r}}return t||void 0}function $a(){this.__d=!0}function vh(e,t){return{__v:e,context:t,props:e.props,setState:$a,forceUpdate:$a,__d:!0,__h:new Array(0)}}var Er,tn,Jn,Zn,Pr={},tc=[],$n=Array.isArray,Br=Object.assign,Ot="";function ec(e,t,n){var i=L.__s;L.__s=!0,Er=L.__b,tn=L.diffed,Jn=L.__r,Zn=L.unmount;var o=Z(U,null);o.__k=[e];try{var r=Le(e,t||Pr,!1,void 0,o,!1,n);return $n(r)?r.join(Ot):r}catch(s){throw s.then?new Error('Use "renderToStringAsync" for suspenseful rendering.'):s}finally{L.__c&&L.__c(e,tc),L.__s=i,tc.length=0}}function nc(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=Pr),n.__s==null&&(n.__s=n.state),i.getDerivedStateFromProps?n.state=Br({},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(),Jn&&Jn(e),n.render(n.props,n.state,t)}function Le(e,t,n,i,o,r,s){if(e==null||e===!0||e===!1||e===Ot)return Ot;var a=typeof e;if(a!="object")return a=="function"?Ot:a=="string"?Ui(e):e+Ot;if($n(e)){var c,l=Ot;o.__k=e;for(var A=0;A<e.length;A++){var d=e[A];if(d!=null&&typeof d!="boolean"){var u,h=Le(d,t,n,i,o,r,s);typeof h=="string"?l+=h:(c||(c=[]),l&&c.push(l),l=Ot,$n(h)?(u=c).push.apply(u,h):c.push(h))}}return c?(l&&c.push(l),c):l}if(e.constructor!==void 0)return Ot;e.__=o,Er&&Er(e);var p=e.type,g=e.props;if(typeof p=="function"){var b,v,w,_=t;if(p===U){if("tpl"in g){for(var m=Ot,x=0;x<g.tpl.length;x++)if(m+=g.tpl[x],g.exprs&&x<g.exprs.length){var y=g.exprs[x];if(y==null)continue;typeof y!="object"||y.constructor!==void 0&&!$n(y)?m+=y:m+=Le(y,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 E=t[b.__c];_=E?E.props.value:b.__}var P=p.prototype&&typeof p.prototype.render=="function";if(P)v=nc(e,_),w=e.__c;else{e.__c=w=vh(e,_);for(var C=0;w.__d&&C++<25;)w.__d=!1,Jn&&Jn(e),v=p.call(w,g,_);w.__d=!0}if(w.getChildContext!=null&&(t=Br({},t,w.getChildContext())),P&&L.errorBoundaries&&(p.getDerivedStateFromError||w.componentDidCatch)){v=v!=null&&v.type===U&&v.key==null&&v.props.tpl==null?v.props.children:v;try{return Le(v,t,n,i,e,r,s)}catch(V){return p.getDerivedStateFromError&&(w.__s=p.getDerivedStateFromError(V)),w.componentDidCatch&&w.componentDidCatch(V,Pr),w.__d?(v=nc(e,t),(w=e.__c).getChildContext!=null&&(t=Br({},t,w.getChildContext())),Le(v=v!=null&&v.type===U&&v.key==null&&v.props.tpl==null?v.props.children:v,t,n,i,e,r,s)):Ot}finally{tn&&tn(e),e.__=null,Zn&&Zn(e)}}}v=v!=null&&v.type===U&&v.key==null&&v.props.tpl==null?v.props.children:v;try{var S=Le(v,t,n,i,e,r,s);return tn&&tn(e),e.__=null,L.unmount&&L.unmount(e),S}catch(V){if(s&&s.onError){var B=s.onError(V,e,function(z){return Le(z,t,n,i,e,r,s)});if(B!==void 0)return B;var k=L.__e;return k&&k(V,e),Ot}throw V}}var M,O="<"+p,Q=Ot;for(var I in g){var T=g[I];if(typeof T!="function"||I==="class"||I==="className"){switch(I){case"children":M=T;continue;case"key":case"ref":case"__self":case"__source":continue;case"htmlFor":if("for"in g)continue;I="for";break;case"className":if("class"in g)continue;I="class";break;case"defaultChecked":I="checked";break;case"defaultSelected":I="selected";break;case"defaultValue":case"value":switch(I="value",p){case"textarea":M=T;continue;case"select":i=T;continue;case"option":i!=T||"selected"in g||(O+=" selected")}break;case"dangerouslySetInnerHTML":Q=T&&T.__html;continue;case"style":typeof T=="object"&&(T=bh(T));break;case"acceptCharset":I="accept-charset";break;case"httpEquiv":I="http-equiv";break;default:if(Ja.test(I))I=I.replace(Ja,"$1:$2").toLowerCase();else{if(qa.test(I))continue;I[4]!=="-"&&!fh.has(I)||T==null?n?hh.test(I)&&(I=I==="panose1"?"panose-1":I.replace(/([A-Z])/g,"-$1").toLowerCase()):uh.test(I)&&(I=I.toLowerCase()):T+=Ot}}T!=null&&T!==!1&&(O=T===!0||T===Ot?O+" "+I:O+" "+I+'="'+(typeof T=="string"?Ui(T):T+Ot)+'"')}}if(qa.test(p))throw new Error(p+" is not a valid HTML tag name in "+O+">");if(Q||(typeof M=="string"?Q=Ui(M):M!=null&&M!==!1&&M!==!0&&(Q=Le(M,t,p==="svg"||p!=="foreignObject"&&n,i,e,r,s))),tn&&tn(e),e.__=null,Zn&&Zn(e),!Q&&wh.has(p))return O+"/>";var F="</"+p+">",H=O+">";return $n(Q)?[H].concat(Q,[F]):typeof Q!="string"?[H,Q,F]:H+Q+F}var wh=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]);function Cr(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 kr(e,t){this.props=e,this.context=t}function yh(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:Cr(this.props,o)}function i(o){return this.shouldComponentUpdate=n,Z(e,o)}return i.displayName="Memo("+(e.displayName||e.name)+")",i.prototype.isReactComponent=!0,i.__f=!0,i}(kr.prototype=new ie).isPureReactComponent=!0,kr.prototype.shouldComponentUpdate=function(e,t){return Cr(this.props,e)||Cr(this.state,t)};var ic=L.__b;L.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),ic&&ic(e)};var xh=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Gt(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=xh,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var oc=function(e,t){return e==null?null:Ae(Ae(e).map(t))},_h={map:oc,forEach:oc,count:function(e){return e?Ae(e).length:0},only:function(e){var t=Ae(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:Ae},Eh=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)}Eh(e,t,n,i)};var rc=L.unmount;function sc(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 sc(i,t,n)})),e}function ac(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(i){return ac(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 ji(){this.__u=0,this.t=null,this.__b=null}function cc(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Ph(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 Z(n,r)}return o.displayName="Lazy",o.__f=!0,o}function ti(){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),rc&&rc(e)},(ji.prototype=new ie).__c=function(e,t){var n=t.__c,i=this;i.t==null&&(i.t=[]),i.t.push(n);var o=cc(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]=ac(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)},ji.prototype.componentWillUnmount=function(){this.t=[]},ji.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]=sc(this.__b,n,i.__O=i.__P)}this.__b=null}var o=t.__a&&Z(U,null,e.fallback);return o&&(o.__u&=-33),[Z(U,null,t.__a?null:e.children),o]};var lc=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 Bh(e){return this.getChildContext=function(){return e.context},e.children}function Ch(e){var t=this,n=e.i;t.componentWillUnmount=function(){bn(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)}}),bn(Z(Bh,{context:t.context},e.__v),t.l)}function kh(e,t){var n=Z(Ch,{__v:e,i:t});return n.containerInfo=t,n}(ti.prototype=new ie).__a=function(e){var t=this,n=cc(t.__v),i=t.o.get(e);return i[0]++,function(o){var r=function(){t.props.revealOrder?(i.push(o),lc(t,e,i)):o()};n?n(r):r()}},ti.prototype.render=function(e){this.u=null,this.o=new Map;var t=Ae(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},ti.prototype.componentDidUpdate=ti.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){lc(e,n,t)})};var Ac=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,Dh=/^(?: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]/,Sh=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Mh=/[A-Z0-9]/g,Th=typeof document<"u",Ih=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function dc(e,t,n){return t.__k==null&&(t.textContent=""),bn(e,t),typeof n=="function"&&n(),e?e.__c:null}function uc(e,t,n){return va(e,t),typeof n=="function"&&n(),e?e.__c:null}ie.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(ie.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var hc=L.event;function Oh(){}function Qh(){return this.cancelBubble}function Lh(){return this.defaultPrevented}L.event=function(e){return hc&&(e=hc(e)),e.persist=Oh,e.isPropagationStopped=Qh,e.isDefaultPrevented=Lh,e.nativeEvent=e};var Dr,Rh={enumerable:!1,configurable:!0,get:function(){return this.class}},fc=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||Th&&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"||Ih(n.type)?c==="onfocus"?s="onfocusin":c==="onblur"?s="onfocusout":Sh.test(s)&&(s=c):c=s="oninput":r&&Dh.test(s)?s=s.replace(Mh,"-$&").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=Ae(n.children).forEach(function(l){l.props.selected=o.value.indexOf(l.props.value)!=-1})),i=="select"&&o.defaultValue!=null&&(o.value=Ae(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",Rh)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),t.props=o}(e),e.$$typeof=Ac,fc&&fc(e)};var pc=L.__r;L.__r=function(e){pc&&pc(e),Dr=e.__c};var gc=L.diffed;L.diffed=function(e){gc&&gc(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),Dr=null};var Hh={ReactCurrentDispatcher:{current:{readContext:function(e){return Dr.__n[e.__c].props.value},useCallback:Y,useContext:Yt,useDebugValue:ka,useDeferredValue:vc,useEffect:et,useId:fr,useImperativeHandle:hr,useInsertionEffect:yc,useLayoutEffect:Nt,useMemo:wt,useReducer:Yn,useRef:G,useState:N,useSyncExternalStore:xc,useTransition:wc}}};function Fh(e){return Z.bind(null,e)}function yn(e){return!!e&&e.$$typeof===Ac}function zh(e){return yn(e)&&e.type===U}function Nh(e){return!!e&&!!e.displayName&&(typeof e.displayName=="string"||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")}function Uh(e){return yn(e)?Ar.apply(null,arguments):e}function mc(e){return!!e.__k&&(bn(null,e),!0)}function jh(e){return e&&(e.base||e.nodeType===1&&e)||null}var Vh=function(e,t){return e(t)},Wh=function(e,t){return e(t)},Yh=U;function bc(e){e()}function vc(e){return e}function wc(){return[!1,bc]}var yc=Nt,Gh=yn;function xc(e,t){var n=t(),i=N({h:{__:n,v:t}}),o=i[0].h,r=i[1];return Nt(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 st={useState:N,useId:fr,useReducer:Yn,useEffect:et,useLayoutEffect:Nt,useInsertionEffect:yc,useTransition:wc,useDeferredValue:vc,useSyncExternalStore:xc,startTransition:bc,useRef:G,useImperativeHandle:hr,useMemo:wt,useCallback:Y,useContext:Yt,useDebugValue:ka,version:"18.3.1",Children:_h,render:dc,hydrate:uc,unmountComponentAtNode:mc,createPortal:kh,createElement:Z,createContext:oe,createFactory:Fh,cloneElement:Uh,createRef:vu,Fragment:U,isValidElement:yn,isElement:Gh,isFragment:zh,isMemo:Nh,findDOMNode:jh,Component:ie,PureComponent:kr,memo:yh,forwardRef:Gt,flushSync:Wh,unstable_batchedUpdates:Vh,StrictMode:Yh,Suspense:ji,SuspenseList:ti,lazy:Ph,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Hh};function _c(e){return{render:function(t){dc(t,e)},unmount:function(){mc(e)}}}function Kh(e,t){return uc(t,e),_c(e)}const Xh={createRoot:_c,hydrateRoot:Kh},qh={renderToString:ec,renderToStaticMarkup:ec};function Ec(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))}}Ec('.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:auto;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:auto;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 mt={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"},Pc="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",Bc=Gt((e,t)=>Z("svg",{viewBox:"0 0 637 637",ref:t,...e},Z("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"}),Z("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=Gt((e,t)=>Z("svg",{viewBox:"0 -960 960 960",ref:t,...e},Z("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"}))),Jh=Gt((e,t)=>Z("svg",{viewBox:"0 -960 960 960",ref:t,...e},Z("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"}))),Zh=Gt((e,t)=>Z("svg",{viewBox:"0 -960 960 960",ref:t,...e},Z("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"}))),$h=Gt((e,t)=>Z("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",ref:t,...e},Z("g",{strokeLinecap:"round",strokeWidth:10},Z("path",{d:"m19 19 61 61M80 19 19 80"})))),tf=Gt((e,t)=>Z("svg",{viewBox:"0 -960 960 960",ref:t,...e},Z("path",{d:"M94-136v-255l351-93-351-92v-253l816 346L94-136Z"}))),ef=Gt((e,t)=>Z("svg",{viewBox:"0 -960 960 960",ref:t,...e},Z("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"}))),nf=Gt((e,t)=>Z("svg",{viewBox:"0 -960 960 960",ref:t,...e},Z("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"}))),kc=Gt((e,t)=>Z("svg",{viewBox:"0 -960 960 960",ref:t,...e},Z("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"}))),of=Gt((e,t)=>Z("svg",{viewBox:"0 -960 960 960",ref:t,...e},Z("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"}))),rf=Gt((e,t)=>Z("svg",{viewBox:"0 -960 960 960",ref:t,...e},Z("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"}))),Dc={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:Bc},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:Pc,buttons:[mt.NOTIFICATION_BUTTON,mt.AUDIO_BUTTON,mt.CLOSE_CHAT_BUTTON],closeChatIcon:$h},notification:{disabled:!1,defaultToggledOn:!0,volume:.2,icon:Jh,iconDisabled:Zh,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/v8AAAAAAAAAAAEA//8AAAEAAAD+/wEAAAAAAAEAAgAAAAEAAAABAP//AQD+/wIA/////wAAAQD//wAAAQD+/wAAAQABAAAA////////AAACAAAAAQAAAAIA//8BAP///v///wEA//8BAAEAAQD+/wAAAQD9/wAAAQAAAAEAAAABAAAAAgAAAP//AAD+/wAA/f8AAAAA////////AgAAAAcAAQD7/wEA/f8AAAIA//8GAP7//v/+//b/AQD//wQADgD///3/9/8FAPr/6/8EABAACQD9/wIA/P/5/w4A///t/wQA/P8LAB0ACQD5////AQD2/+7/AgD6//r//v/z/xIA9f8oAAMA4f8OANz/EQAdAAAA5P/w/2MAAQDq/w0A1/8bALz/BgDb/+j/lQD9/yMABAACAA0Alf8NAKr/CwCMAPD/QwDq/wkA9v+g/wgAk/8QAD0ABgAWAAQAMwD7/9T/8//f//z/JwAEAOL/DwBxAAwAzf/+/xUA8v+O//H/fAD5/xUA+/9m//P/yf/r/y8ACAAbAEQA3f9AAAcB9f/p/sD/+QHv/8/9EQCv+ez/j+v8/3pS7/83By4AF6Go/7PNjgDMEn7/Sk0NAeEfIv+9DCwAKfuY/9fRAv2A3mjzfQg/Ft3fzTQE703jljkirPskFOdBEUYzORerLDvvDg7C6dcbwNJj/b/CisId8XfblBZS/oYksP1YRdoQJjjDJbwGNSTX66wU48FG8Iu1eM+/5ITdKwGN8jUTGfehN3oUszrBH7kmdhFKB+YNheG6B9fOivltwZ38JMcC66z7o9pJNBnxgTdvCjIvJg+GG7MMlQUJFJL5hCZ61IQap7895EXN8Msh6NjdpxE07wU5Nf+kRH8Q2TrWHZkYhSYj5ygQgMu19dK86/YRw8jmH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DY/yIA1v/m/+T/t/8NAJr/KQCp/ykA6f8NACsA7v9bANv/XgDz/0UABwAQABUA1f8BALH/7/+u/+T/xf/0/+7/GwAfAC4APgAiAFUACABDANr/KgDW//D/4f+6/woAo/8kAKX/KwDh/xQAGQDz/1sA3P9aAOz/QgACACIAAgDn/wIAv//1/6n/6f+///L/3f8VAA4ALgA0ACYAVQAOAEgA6/8wANL/AQDc/8b/+f+k/x0Anf8oAND/HwAMAPf/SADw/2AA8v9KAPX/KgD3//H/+P/F//z/rv/i/7r/6v/Z/wYABwAoADAAKQBOABkATAD0/zQA1P8PANv/0//v/6//FwCi/ywAxP8oAPn//v82APT/WwD4/00A+/8yAPv//f/8/83/+v+w/+T/sf/j/9b/AQACACoAIgAtAEIAHwBPAAEAQADe/xcA0v/k/+X/t/8IAKv/IgC//yEA6/8EACMA9/9PAPf/VAD+/zcA+/8JAPn/1P8AALf/6f+w/+P/zf////j/HAAdAC0APgAfAEsABwBCAOP/IADV/+//2v/B//3/rP8PALv/GADd/xEAFgABAEMABABaAP//QgACABcA+//n/wAAwP/w/67/4v+///3/6f8WABcAKQA0ACIARgAQAEcA8f8pANn/9f/U/87/7f+v/wgAtP8RANP/FgANAAIAOQACAFQA/f9HAAAAIAABAO3//P/E/wEAs//q/7n/9P/i/wYAEQAZADEAJABBABMASAAAADEA3/8CANL/1v/g/7H/AACy/w8Axf8ZAPv/CQAzAAIAVQD//1AAAAAsAAIA9v/7/8r/AwC2//P/tf/m/+H/AwADABEAKQApADoAHgBHAAgAPADr/wkA1//f/93/vP/6/7L/CgDA/x4A7/8hACkAAgBPAPz/UgD1/zIABAAEAPz/0v/5/7f/AACy//H/2f/+/wEAAAAkABUAMwAdADoAEQA9APD/EADU//L/1P/H/+z/tf8LALv/HADk/ygAGgADAEMA//9TAPn/QAAAABAAAQDc//z/wf8DALD/7P/Q//z/9/8HABoAFgA3ACMAMAAOADwA+P8ZANv/+P/Y/9H/5v+8/wUAu/8WANf/HgAMAAoAPQABAFMA/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3/6P8CAAYA/f8YAAwALwAZACUA9v8bAPj/AwDq/+r/7P/S//7/1/8EAOX/CQD6//7/GQAFAC8AAQApAAEAGQACAAMAAgDm/wEAzv8BANv//v/p/wIA//8BABMABQArACAALAABAB4A8f8NAOv/7v/m/9n/+P/R/wMA4f8OAPT/AQATAAMAKwAHACoAAwAbAAMABQADAO7/AQDU/wEA2f8AAOL////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:of,iconDisabled:rf},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:tf,blockSpam:!0,sendOptionOutput:!0,sendCheckboxOutput:!0,buttons:[mt.VOICE_MESSAGE_BUTTON,mt.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:Pc,simulateStream:!1,streamSpeed:30},voice:{disabled:!0,defaultToggledOn:!1,language:"en-US",timeoutPeriod:1e4,autoSendDisabled:!1,autoSendPeriod:1e3,sendAsAudio:!1,icon:ef,iconDisabled:nf},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(Bc,{style:{width:"80%",height:"80%",fill:"#fff"}})},1),f("span",{style:{fontWeight:"bold"},children:" React ChatBotify"},2)]}),buttons:[mt.FILE_ATTACHMENT_BUTTON,mt.EMOJI_PICKER_BUTTON]},fileAttachment:{disabled:!1,multiple:!0,accept:".png",icon:Cc,iconDisabled:Cc,sendFileName:!0,showMediaDisplay:!1},emoji:{disabled:!1,icon:kc,iconDisabled:kc,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,rcbPreProcessBlock:!1,rcbPostProcessBlock:!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}},Sc=oe({settings:{},setSettings:()=>null}),$=()=>Yt(Sc),sf=({children:e,settings:t=Dc,setSettings:n})=>f(Sc.Provider,{value:{settings:t,setSettings:n},children:e}),Mc={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:{}},Tc=oe({styles:{},setStyles:()=>null}),At=()=>Yt(Tc),af=({children:e,styles:t=Mc,setStyles:n})=>f(Tc.Provider,{value:{styles:t,setStyles:n},children:e}),cf=({buttons:e})=>{var t,n,i,o,r;const{settings:s}=$(),{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(U,{children:l},A))})]})},Ic=oe({}),Pt=()=>Yt(Ic),lf=({children:e,botIdRef:t,flowRef:n})=>{const i=G(null),o=G(""),r=G(null),s=G(new Map),a=G(null),c=G(""),l=G(!1),A=G(null),d=G(null),u=G(null);return f(Ic.Provider,{value:{botIdRef:t,flowRef:n,inputRef:i,timeoutIdRef:r,streamMessageMap:s,chatBodyRef:a,paramsInputRef:c,keepVoiceOnRef:l,audioContextRef:A,audioBufferRef:d,gainNodeRef:u,prevInputRef:o},children:e})},re=e=>{const[t,n]=N(e),i=G(e);return[t,o=>{const r=typeof o=="function"?o(i.current):o;i.current=r,n(r)},i]},Oc=oe({}),Bt=()=>Yt(Oc),Af=({children:e,settings:t})=>{var n,i,o,r,s,a;const[c,l,A]=re(!1),[d,u,h]=re(((n=t==null?void 0:t.chatWindow)==null?void 0:n.defaultOpen)??!1),[p,g,b]=re(((i=t==null?void 0:t.audio)==null?void 0:i.defaultToggledOn)??!1),[v,w,_]=re(((o=t==null?void 0:t.voice)==null?void 0:o.defaultToggledOn)??!1),[m,x,y]=re(((r=t==null?void 0:t.notification)==null?void 0:r.defaultToggledOn)??!0),[E,P]=N(!1),[C,S]=N(!1),[B,k,M]=re(!1),[O,Q,I]=re(!0),[T,F,H]=re(!1),[V,z]=N(!1),[K,nt]=N(!1),[W,J]=N(0),[dt,xt]=N(0),[Qt,yt]=N(!1),[kt,_e]=N(((s=window.visualViewport)==null?void 0:s.height)??window.innerHeight),[qe,Ie]=N(((a=window.visualViewport)==null?void 0:a.width)??window.innerWidth);return f(Oc.Provider,{value:{isBotTyping:c,setSyncedIsBotTyping:l,syncedIsBotTypingRef:A,isChatWindowOpen:d,setSyncedIsChatWindowOpen:u,syncedIsChatWindowOpenRef:h,audioToggledOn:p,setSyncedAudioToggledOn:g,syncedAudioToggledOnRef:b,voiceToggledOn:v,setSyncedVoiceToggledOn:w,syncedVoiceToggledOnRef:_,notificationsToggledOn:m,setSyncedNotificationsToggledOn:x,syncedNotificationsToggledOnRef:y,isLoadingChatHistory:E,setIsLoadingChatHistory:P,hasChatHistoryLoaded:C,setHasChatHistoryLoaded:S,isScrolling:B,setSyncedIsScrolling:k,syncedIsScrollingRef:M,textAreaDisabled:O,setSyncedTextAreaDisabled:Q,syncedTextAreaDisabledRef:I,textAreaSensitiveMode:T,setSyncedTextAreaSensitiveMode:F,syncedTextAreaSensitiveModeRef:H,hasInteractedPage:V,setHasInteractedPage:z,hasFlowStarted:K,setHasFlowStarted:nt,unreadCount:W,setUnreadCount:J,inputLength:dt,setInputLength:xt,blockAllowsAttachment:Qt,setBlockAllowsAttachment:yt,viewportHeight:kt,setViewportHeight:_e,viewportWidth:qe,setViewportWidth:Ie},children:e})};var j=(e=>(e.START_SPEAK_AUDIO="rcb-start-speak-audio",e.TOGGLE_AUDIO="rcb-toggle-audio",e.TOGGLE_NOTIFICATIONS="rcb-toggle-notifications",e.TOGGLE_VOICE="rcb-toggle-voice",e.TOGGLE_CHAT_WINDOW="rcb-toggle-chat-window",e.PRE_INJECT_MESSAGE="rcb-pre-inject-message",e.POST_INJECT_MESSAGE="rcb-post-inject-message",e.START_SIMULATE_STREAM_MESSAGE="rcb-start-simulate-stream-message",e.STOP_SIMULATE_STREAM_MESSAGE="rcb-stop-simulate-stream-message",e.START_STREAM_MESSAGE="rcb-start-stream-message",e.CHUNK_STREAM_MESSAGE="rcb-chunk-stream-message",e.STOP_STREAM_MESSAGE="rcb-stop-stream-message",e.REMOVE_MESSAGE="rcb-remove-message",e.LOAD_CHAT_HISTORY="rcb-load-chat-history",e.CHANGE_PATH="rcb-change-path",e.SHOW_TOAST="rcb-show-toast",e.DISMISS_TOAST="rcb-dismiss-toast",e.USER_SUBMIT_TEXT="rcb-user-submit-text",e.USER_UPLOAD_FILE="rcb-user-upload-file",e.TEXT_AREA_CHANGE_VALUE="rcb-text-area-change-value",e.PRE_LOAD_CHATBOT="rcb-pre-load-chatbot",e.POST_LOAD_CHATBOT="rcb-post-load-chatbot",e.PRE_PROCESS_BLOCK="rcb-pre-process-block",e.POST_PROCESS_BLOCK="rcb-post-process-block",e))(j||{});const df={[j.START_SPEAK_AUDIO]:!0,[j.TOGGLE_AUDIO]:!0,[j.TOGGLE_VOICE]:!0,[j.TOGGLE_NOTIFICATIONS]:!0,[j.TOGGLE_CHAT_WINDOW]:!0,[j.PRE_INJECT_MESSAGE]:!0,[j.POST_INJECT_MESSAGE]:!1,[j.PRE_LOAD_CHATBOT]:!0,[j.POST_LOAD_CHATBOT]:!1,[j.START_SIMULATE_STREAM_MESSAGE]:!0,[j.STOP_SIMULATE_STREAM_MESSAGE]:!1,[j.START_STREAM_MESSAGE]:!0,[j.CHUNK_STREAM_MESSAGE]:!0,[j.STOP_STREAM_MESSAGE]:!0,[j.REMOVE_MESSAGE]:!0,[j.LOAD_CHAT_HISTORY]:!0,[j.CHANGE_PATH]:!0,[j.SHOW_TOAST]:!0,[j.DISMISS_TOAST]:!0,[j.USER_SUBMIT_TEXT]:!0,[j.USER_UPLOAD_FILE]:!0,[j.TEXT_AREA_CHANGE_VALUE]:!0,[j.PRE_PROCESS_BLOCK]:!0,[j.POST_PROCESS_BLOCK]:!0},Mr=async(e,t,n)=>{const i=new CustomEvent(e,{detail:t,cancelable:df[e]});return i.data=n,i.promises=[],window.dispatchEvent(i),await Promise.all(i.promises),i},Qc=oe({paths:[],setSyncedPaths:()=>{},syncedPathsRef:{current:[]}}),ei=()=>Yt(Qc),uf=({children:e})=>{const[t,n,i]=re([]);return f(Qc.Provider,{value:{paths:t,setSyncedPaths:n,syncedPathsRef:i},children:e})},se=()=>{const{botIdRef:e}=Pt(),{syncedPathsRef:t}=ei(),n=Y(()=>t.current.length>0?t.current.at(-1)??null:null,[]),i=Y(()=>t.current.length>1?t.current.at(-2)??null:null,[]);return{dispatchRcbEvent:Y(async(o,r)=>{const s={botId:e.current,currPath:n(),prevPath:i()};return await Mr(o,s,r)},[e])}},Kt=()=>{const{settings:e}=$(),{isChatWindowOpen:t,setSyncedIsChatWindowOpen:n,viewportHeight:i,setViewportHeight:o,viewportWidth:r,setViewportWidth:s,setUnreadCount:a,setSyncedIsBotTyping:c,setSyncedIsScrolling:l,syncedIsBotTypingRef:A,syncedIsChatWindowOpenRef:d}=Bt(),{chatBodyRef:u}=Pt(),{dispatchRcbEvent:h}=se(),p=Y(async w=>{var _;w!==d.current&&((_=e.event)!=null&&_.rcbToggleChatWindow&&(await h(j.TOGGLE_CHAT_WINDOW,{currState:d.current,newState:!d.current})).defaultPrevented||n(m=>(m||a(0),!m)))},[d]),g=Y(async w=>{w!==A.current&&c(_=>!_)},[A]),b=Y((w,_,m,x)=>(w/=x/2)<1?m/2*w*w+_:-m/2*(--w*(w-2)-1)+_,[]),v=Y((w=0)=>{if(!u.current)return;const _=u.current.scrollHeight-u.current.clientHeight;if(w<=0)return u.current.scrollTop=_,void l(!1);const m=u.current.scrollTop,x=_-m;let y=0;const E=()=>{if(!u.current)return;y+=20;const P=b(y,m,x,w);u.current.scrollTop=P,y<w?requestAnimationFrame(E):l(!1)};E()},[u]);return{isChatWindowOpen:t,setSyncedIsChatWindowOpen:n,toggleChatWindow:p,viewportHeight:i,setViewportHeight:o,viewportWidth:r,setViewportWidth:s,toggleIsBotTyping:g,scrollToBottom:v}},hf=()=>{var e,t,n;const{settings:i}=$(),{styles:o}=At(),{unreadCount:r,isScrolling:s}=Bt(),{chatBodyRef:a}=Pt(),{scrollToBottom:c}=Kt(),[l,A]=N(!1),d={color:(e=i.general)==null?void 0:e.primaryColor,borderColor:(t=i.general)==null?void 0:t.primaryColor,...o.chatMessagePromptHoveredStyle};return f("div",{className:"rcb-message-prompt-container "+(a.current&&((u=i.chatWindow)!=null&&u.showMessagePrompt)&&s&&r>0?"visible":"hidden"),children:f("div",{onMouseEnter:()=>{A(!0)},onMouseLeave:()=>{A(!1)},style:l?d:{...o.chatMessagePromptStyle},onMouseDown:h=>{h.preventDefault(),c(600)},className:"rcb-message-prompt-text",children:(n=i.chatWindow)==null?void 0:n.messagePromptText})});var u},Lc=oe({messages:[],setSyncedMessages:()=>{},syncedMessagesRef:{current:[]}}),Tr=()=>Yt(Lc),ff=({children:e})=>{const[t,n,i]=re([]);return f(Lc.Provider,{value:{messages:t,setSyncedMessages:n,syncedMessagesRef:i},children:e})},pf=({message:e,isNewSender:t})=>{var n,i,o,r,s,a;const{settings:c}=$(),{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(U,{children:u}),g&&f("div",{style:{backgroundImage:`url("${(a=c.userBubble)==null?void 0:a.avatar}")`},className:"rcb-message-user-avatar"})]})},gf=({message:e,isNewSender:t})=>{var n,i,o,r,s,a;const{settings:c}=$(),{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(U,{children:u})]})},mf=()=>{var e,t,n;const{settings:i}=$(),{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}})]})})]})},bf=()=>{var e,t,n;const{settings:i}=$(),{styles:o}=At(),{messages:r}=Tr(),{scrollToBottom:s}=Kt(),{isBotTyping:a,syncedIsScrollingRef:c}=Bt(),{chatBodyRef:l}=Pt(),A={...o==null?void 0:o.bodyStyle,scrollbarWidth:(e=i.chatWindow)!=null&&e.showScrollbar?"auto":"none"};return et(()=>{c.current||s()},[(t=l.current)==null?void 0:t.scrollHeight]),f("div",{style:A,className:"rcb-chat-body-container",ref:l,children:[r.map((d,u)=>{const h=(p=>p===0||r[p].sender!==r[p-1].sender)(u);return d.sender.toUpperCase()==="USER"?f(pf,{message:d,isNewSender:h},u):d.sender.toUpperCase()==="BOT"?f(gf,{message:d,isNewSender:h},u):f("div",{children:d.content},u)}),a&&((n=i.chatWindow)==null?void 0:n.showTypingIndicator)&&f(mf,{}),f(hf,{})]})},vf=({checkboxes:e,checkedItems:t,path:n})=>{var i,o,r,s,a,c,l,A,d,u,h;const{settings:p}=$(),{styles:g}=At(),{paths:b}=ei(),{handleSubmitText:v}=En(),[w,_]=N(new Set),[m,x]=N(!1),y={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},E={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},P={cursor:m?`url("${(l=p.general)==null?void 0:l.actionDisabledIcon}"), auto`:"pointer",color:"transparent",...g.botCheckMarkStyle},C={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&&x(!e.reusable)},[b]),f("div",{className:"rcb-checkbox-container "+((h=p.botBubble)!=null&&h.showAvatar?"rcb-checkbox-offset":""),children:[e.items.map(S=>f("div",{onMouseDown:B=>{B.preventDefault(),(k=>{m||_(M=>{const O=new Set(M);if(O.has(k))t.delete(k),O.delete(k);else{if(w.size==e.max)return M;t.add(k),O.add(k)}return O})})(S)},style:y,className:"rcb-checkbox-row-container",children:f("div",{className:"rcb-checkbox-row",children:[f("div",{style:w.has(S)?C:P,className:"rcb-checkbox-mark"}),f("div",{className:"rcb-checkbox-label",children:S})]})},S)),f("div",{style:E,className:"rcb-checkbox-next-button",onMouseDown:S=>{var B;if(S.preventDefault(),m||w.size<e.min)return;const k=Array.from(t).join(", ");let M;x(!e.reusable),M=e.sendOutput!=null?e.sendOutput:((B=p.chatInput)==null?void 0:B.sendCheckboxOutput)??!0,v(k,M)}})]})},wf=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(vf,{checkboxes:i,checkedItems:o,path:r});await t.injectMessage(s)},yf=async(e,t)=>{const n=e.function;if(!n)return;const i=n(t);return i instanceof Promise?await i:i},xf=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),typeof o=="string"&&o.trim()!==""&&(n?await t.simulateStreamMessage(o):await t.injectMessage(o))},_f=({options:e,path:t})=>{var n,i,o,r,s,a;const{settings:c}=$(),{styles:l}=At(),{paths:A}=ei(),{handleSubmitText:d}=En(),[u,h]=N([]),[p,g]=N(!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:()=>(x=>{h(y=>{const E=[...y];return E[x]=!0,E})})(_),onMouseLeave:()=>(x=>{h(y=>{const E=[...y];return E[x]=!1,E})})(_),onMouseDown:x=>{var y;if(x.preventDefault(),p)return;let E;g(!e.reusable),E=e.sendOutput!=null?e.sendOutput:((y=c.chatInput)==null?void 0:y.sendOptionOutput)??!0,d(w,E)},children:w},w)})})},Ef=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(_f,{options:i,path:o});await t.injectMessage(r)},Pf=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)}},Bf=async(e,t,n,i)=>{const o=e.transition;let r;if(typeof o=="function"?(r=o(t),r instanceof Promise&&(r=await r)):r=o,typeof r=="number"&&(r={duration:r}),!r||r instanceof Promise||r.duration==null||typeof r.duration!="number")return;r.interruptable==null&&(r.interruptable=!1);const s=setTimeout(async()=>{const a=await i(e);a&&await Hc(a,t)},r.duration);r.interruptable&&(n.current=s)},Cf=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)},Rc=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)},Hc=async(e,t)=>{if(!e)throw new Error("Block is not valid.");const n=Object.keys(e);for(const i of n)i==="function"&&await yf(e,t);n.includes("path")&&await(async(i,o)=>{const r=i.path;if(!r)return!1;if(typeof r=="string")return await o.goToPath(r),!0;let s=r(o);if(s instanceof Promise&&(s=await s),!s)return!1;const a=s;return await o.goToPath(a),!0})(e,t)},kf=()=>{var e;const{settings:t}=$(),{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})})},Df=()=>{var e;const{settings:t}=$(),{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"})})},Vi=()=>{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")}},Re=(e,t)=>({id:Vi(),content:e,sender:t,type:typeof e=="string"?"string":"object",timestamp:new Date().toUTCString(),tags:[]});let He,Fc=!1,Wi="rcb-history",Yi=30,zc=!1,Gi=[];const Ir=async e=>{if(zc||!He)return;const t=[],n=Fc?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===Yi))break}let i=t.map(Tf);if(i.length<Yi){const o=Yi-i.length;i=[...Gi.slice(-o),...i]}Sf(i)},Nc=()=>Gi,Sf=e=>{He&&He.setItem(Wi,JSON.stringify(e))},Mf=e=>{var t,n,i,o,r;He=((n=(t=e.chatHistory)==null?void 0:t.storageType)==null?void 0:n.toUpperCase())==="SESSION_STORAGE"?sessionStorage:localStorage,Wi=(i=e.chatHistory)==null?void 0:i.storageKey,Yi=(o=e.chatHistory)==null?void 0:o.maxEntries,zc=(r=e.chatHistory)==null?void 0:r.disabled,Gi=(s=>{if(s!=null)try{return JSON.parse(s)}catch{return[]}return[]})(He.getItem(Wi))},Tf=e=>yn(e.content)?structuredClone({id:e.id,content:qh.renderToString(e.content),type:e.type,sender:e.sender.toUpperCase(),timestamp:e.timestamp,tags:e.tags}):e,Uc=(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=If(l,c)),c=Of(l,c,t,n),c=Qf(l,c,t,n),c=Lf(l,c,t,n),c=Rf(l,c,t,n)}if(["area","base","br","col","embed","hr","img","input","link","meta","source","track","wbr"].includes(a))return Z(a,{key:r,...c});{const l=Uc(o.innerHTML,t,n);return Z(a,{key:r,...c},...l)}}})},If=(e,t)=>((e.contains("rcb-options-container")||e.contains("rcb-checkbox-container"))&&(t.className=`${e.toString()} rcb-options-offset`),t),Of=(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},Qf=(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},Lf=(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},Rf=(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},jc=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},Or=()=>{const{settings:e}=$(),{notificationsToggledOn:t,setSyncedNotificationsToggledOn:n,hasInteractedPage:i,unreadCount:o,setUnreadCount:r,syncedNotificationsToggledOnRef:s}=Bt(),{audioBufferRef:a,audioContextRef:c,gainNodeRef:l}=Pt(),{dispatchRcbEvent:A}=se(),d=Y(async()=>{var h,p;const g=(h=e.notification)==null?void 0:h.sound;c.current=new AudioContext;const b=c.current.createGain();let v;if(b.gain.value=((p=e.notification)==null?void 0:p.volume)??.2,l.current=b,g!=null&&g.startsWith("data:audio")){const w=atob(g.split(",")[1]),_=new ArrayBuffer(w.length),m=new Uint8Array(_);for(let x=0;x<w.length;x++)m[x]=w.charCodeAt(x);v=_}else v=await(await fetch(g)).arrayBuffer();a.current=await c.current.decodeAudioData(v)},[e.notification]),u=Y(()=>{var h;if((h=e.notification)!=null&&h.disabled||!s.current||!i||!c.current||!a.current)return;const p=c.current.createBufferSource();p.buffer=a.current,p.connect(l.current).connect(c.current.destination),p.start()},[e.notification,s,i,c,a,l]);return{unreadCount:o,setUnreadCount:r,notificationsToggledOn:t,toggleNotifications:Y(async h=>{var p;h!==s.current&&((p=e.event)!=null&&p.rcbToggleNotifications&&(await A(j.TOGGLE_NOTIFICATIONS,{currState:s.current,newState:!s.current})).defaultPrevented||n(g=>!g))},[s]),playNotificationSound:u,setUpNotifications:d}},Hf=(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)},Vc=()=>{const{settings:e}=$(),{audioToggledOn:t,setSyncedAudioToggledOn:n,syncedAudioToggledOnRef:i}=Bt(),{dispatchRcbEvent:o}=se(),r=Y(async s=>{var a;s!==i.current&&((a=e.event)!=null&&a.rcbToggleAudio&&(await o(j.TOGGLE_AUDIO,{currState:i.current,newState:!i.current})).defaultPrevented||n(c=>!c))},[i]);return{audioToggledOn:t,speakAudio:Y(async s=>{var a,c;if((a=e.audio)!=null&&a.disabled||!i.current)return;let l=s;if((c=e.event)!=null&&c.rcbStartSpeakAudio){const A=await o(j.START_SPEAK_AUDIO,{textToRead:l});if(A.defaultPrevented)return;l=A.data.textToRead}Hf(e,l)},[e,i]),toggleAudio:r}},xn=()=>{var e,t;const{settings:n}=$(),{messages:i,setSyncedMessages:o,syncedMessagesRef:r}=Tr(),{setSyncedIsBotTyping:s,setUnreadCount:a,syncedIsScrollingRef:c,syncedIsChatWindowOpenRef:l}=Bt(),{streamMessageMap:A,chatBodyRef:d,paramsInputRef:u}=Pt(),{scrollToBottom:h}=Kt(),{dispatchRcbEvent:p}=se(),{speakAudio:g}=Vc(),{playNotificationSound:b}=Or(),v=Y((w,_=!1)=>{var m,x;Ir(w);let y=!0;const E=w[w.length-1];if(!E)return;const P=E.sender.toUpperCase();P==="USER"&&(y=!1),(m=n.general)!=null&&m.embedded&&jc(d.current)&&(y=!1),(l.current&&!c.current||_)&&(y=!1),y&&b(),!_&&(P!=="USER"&&(x=n.chatWindow)!=null&&x.autoJumpToBottom||P==="USER"||!c.current)&&setTimeout(()=>h(),1)},[n,d,l,c,b,h]);return{simulateStreamMessage:Y(async(w,_="BOT",m=null)=>{var x,y,E,P,C;if(typeof w!="string")throw new Error("Content must be of type string to simulate stream.");_=_.toUpperCase();let S=Re(w,_);if((x=n.event)!=null&&x.rcbStartSimulateStreamMessage){const T=await p(j.START_SIMULATE_STREAM_MESSAGE,{message:S});if(T.defaultPrevented)return null;m=T.data.simulateStreamChunker||m,S=T.data.message}s(!1);let B=30;B=_==="BOT"?(y=n.botBubble)==null?void 0:y.streamSpeed:(E=n.userBubble)==null?void 0:E.streamSpeed;const k={...S,content:""};o(T=>[...T,k]),v(r.current);let M=S.content;m&&(M=m(M));let O=0;const Q=M.length;S.sender.toUpperCase()==="BOT"&&(l.current||(P=n.general)!=null&&P.embedded)&&typeof S.content=="string"&&S.content.trim()!==""&&g(S.content);const I=new Promise(T=>{const F=setInterval(()=>{if(O>=Q)return clearInterval(F),void T();o(H=>{const V=[...H];for(let z=V.length-1;z>=0;z--)if(V[z].id===k.id){const K=M[O];K&&(k.content+=K,V[z]=k),O++;break}return V})},B)});return(c.current||!l.current)&&a(T=>T+1),await I,Ir(r.current),(C=n.event)!=null&&C.rcbStopSimulateStreamMessage&&await p(j.STOP_SIMULATE_STREAM_MESSAGE,{message:S}),_==="USER"&&(u.current=w),S},[n,p,v,r,u,s,a,l,g]),injectMessage:Y(async(w,_="BOT")=>{var m,x,y;_=_.toUpperCase();let E=Re(w,_);if((m=n.event)!=null&&m.rcbPreInjectMessage){const P=await p(j.PRE_INJECT_MESSAGE,{message:E});if(P.defaultPrevented)return null;E=P.data.message}return E.sender.toUpperCase()==="BOT"&&(l.current||(x=n.general)!=null&&x.embedded)&&typeof E.content=="string"&&E.content.trim()!==""&&g(E.content),(c.current||!l.current)&&a(P=>P+1),(y=n.event)!=null&&y.rcbPostInjectMessage&&await p(j.POST_INJECT_MESSAGE,{message:E}),o(P=>[...P,E]),v(r.current),_==="USER"&&typeof w=="string"&&(u.current=w),E},[n,p,v,u,r,l,g,a]),removeMessage:Y(async w=>{var _;const m=r.current.find(x=>x.id===w);return!m||(_=n.event)!=null&&_.rcbRemoveMessage&&(await p(j.REMOVE_MESSAGE,{message:m})).defaultPrevented?null:(o(x=>x.filter(y=>y.id!==w)),v(r.current),a(x=>Math.max(x-1,0)),m)},[p,(e=n.event)==null?void 0:e.rcbRemoveMessage,v,r,a]),streamMessage:Y(async(w,_="BOT")=>{var m,x;if(_=_.toUpperCase(),!A.current.has(_)){const E=Re(w,_);return(m=n.event)!=null&&m.rcbStartStreamMessage&&(await p(j.START_STREAM_MESSAGE,{message:E})).defaultPrevented?null:(s(!1),o(P=>[...P,E]),v(r.current),A.current.set(_,E.id),(c.current||!l.current)&&a(P=>P+1),E)}const y={...Re(w,_),id:A.current.get(_)};return(x=n.event)!=null&&x.rcbChunkStreamMessage&&(await p(j.CHUNK_STREAM_MESSAGE,{message:y})).defaultPrevented?null:(o(E=>E.map(P=>P.id===y.id?y:P)),v(r.current,!0),y)},[p,n.event,v,r,s,a,A]),endStreamMessage:Y(async(w="BOT")=>{var _;if(w=w.toUpperCase(),!A.current.has(w))return!0;const m=A.current.get(w);let x;for(let y=0;y<3;y++){const E=r.current.find(P=>P.id===m);E&&(x=E),await new Promise(P=>setTimeout(P,20))}return((_=n.event)==null||!_.rcbStopStreamMessage||!(await p(j.STOP_STREAM_MESSAGE,{message:x})).defaultPrevented)&&(A.current.delete(w),Ir(r.current),w==="USER"&&typeof(x==null?void 0:x.content)=="string"&&(u.current=x.content),!0)},[p,(t=n.event)==null?void 0:t.rcbStopStreamMessage,A,u]),replaceMessages:Y(w=>{o(w),v(w)},[v]),messages:i}};let Qr,de,Ki,Fe=!1,ue=null;const Lr=()=>{if(!Qr){const e=window.SpeechRecognition||window.webkitSpeechRecognition;Qr=e!=null?new e:null}return Qr},Ff=(e,t,n,i,o,r)=>{var s,a,c;const l=Lr();if(!l)return;if(!Fe)try{Fe=!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(de),de=null,clearTimeout(Ki);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&&(de=setTimeout(async()=>await Hr(t,r),A)),(p=e.voice)!=null&&p.autoSendDisabled||(Ki=setTimeout(n,d))},l.onend=()=>{Fe?(l.start(),!de&&A&&(de=setTimeout(async()=>await Hr(t,r),A))):(clearTimeout(de),de=null,clearTimeout(Ki))},A&&(de=setTimeout(async()=>await Hr(t,r),A))},zf=(e,t)=>{navigator.mediaDevices.getUserMedia({audio:!0}).then(n=>{if(ue=new MediaRecorder(n),!Fe)try{Fe=!0,ue.start()}catch{}ue.ondataavailable=i=>{t.current&&t.current.push(i.data)},ue.onstop=()=>{e(),n.getTracks().forEach(i=>i.stop())}}).catch(n=>{console.error("Unable to use microphone:",n)})},Rr=()=>{const e=Lr();e&&(Fe=!1,e&&e.stop(),ue&&ue.state!=="inactive"&&(ue.stop(),ue=null),clearTimeout(de),de=null,clearTimeout(Ki))},Hr=async(e,t)=>{var n;(n=t.current)!=null&&n.disabled||await e(),Rr()},Fr=()=>{const{settings:e}=$(),{voiceToggledOn:t,setSyncedVoiceToggledOn:n,syncedVoiceToggledOnRef:i}=Bt(),{dispatchRcbEvent:o}=se(),r=Y(async a=>{var c;a!==i.current&&((c=e.event)!=null&&c.rcbToggleVoice&&(await o(j.TOGGLE_VOICE,{currState:i.current,newState:!i.current})).defaultPrevented||n(l=>!l))},[i]),s=Y(a=>{((c,l)=>{var A,d,u;const h=Lr();(A=l.voice)!=null&&A.disabled||(d=l.chatInput)==null||!d.blockSpam||!h||(c&&!Fe?(Fe=!0,(u=l.voice)!=null&&u.sendAsAudio?ue==null||ue.start():h.start()):c||Rr())})(a,e)},[e]);return{voiceToggledOn:t,toggleVoice:r,syncVoice:s}},_n=()=>{const{settings:e}=$(),{inputLength:t,setInputLength:n,textAreaDisabled:i,setSyncedTextAreaDisabled:o,textAreaSensitiveMode:r,setSyncedTextAreaSensitiveMode:s,syncedTextAreaDisabledRef:a,syncedTextAreaSensitiveModeRef:c}=Bt(),{inputRef:l,chatBodyRef:A,prevInputRef:d}=Pt(),{dispatchRcbEvent:u}=se(),h=Y(async m=>{var x,y,E;if(a.current&&l.current)l.current.value="";else if(l.current&&d.current!==null){const P=(x=e.chatInput)==null?void 0:x.characterLimit,C=(y=e.chatInput)!=null&&y.allowNewline?m:m.replace(/\n/g," ");if(P!=null&&P>=0&&C.length>P?l.current.value=C.slice(0,P):l.current.value=C,(E=e.event)!=null&&E.rcbTextAreaChangeValue&&(await u(j.TEXT_AREA_CHANGE_VALUE,{currValue:l.current.value,prevValue:d.current})).defaultPrevented)return void(l.current.value=d.current);d.current=l.current.value}},[a,l,d,e,u]),p=Y(m=>{var x;(x=l.current)!=null&&x.disabled||setTimeout(()=>{var y,E,P;(y=e.general)!=null&&y.embedded?jc(A==null?void 0:A.current)&&((E=l.current)==null||E.focus()):m!=="start"&&((P=l.current)==null||P.focus())},100)},[]),g=Y(()=>{l.current&&l.current.focus()},[]),b=Y(()=>{l.current&&l.current.blur()},[]),v=Y(()=>l&&l.current?l.current.value:"",[]),w=Y(m=>{m!==a.current&&o(x=>!x)},[a]),_=Y(m=>{m!==c.current&&s(x=>!x)},[c]);return{textAreaDisabled:i,setSyncedTextAreaDisabled:o,textAreaSensitiveMode:r,setSyncedTextAreaSensitiveMode:s,inputLength:t,setInputLength:n,getTextAreaValue:v,setTextAreaValue:h,updateTextAreaFocus:p,focusTextArea:g,blurTextArea:b,toggleTextAreaDisabled:w,toggleTextAreaSensitiveMode:_}},Wc=oe({toasts:[],setSyncedToasts:()=>{},syncedToastsRef:{current:[]}}),Yc=()=>Yt(Wc),Nf=({children:e})=>{const[t,n,i]=re([]);return f(Wc.Provider,{value:{toasts:t,setSyncedToasts:n,syncedToastsRef:i},children:e})},Xi=()=>{const{settings:e}=$(),{toasts:t,setSyncedToasts:n,syncedToastsRef:i}=Yc(),{dispatchRcbEvent:o}=se();return{showToast:Y(async(r,s)=>{var a,c,l,A;let d=null;if(i.current.length>=(((a=e.toast)==null?void 0:a.maxCount)??3)){if((c=e.toast)!=null&&c.forbidOnMax)return null;d=Vi();let h={id:d,content:r,timeout:s};if((l=e.event)!=null&&l.rcbShowToast){const p=await o(j.SHOW_TOAST,{toast:h});if(p.defaultPrevented)return null;h=p.data.toast}return n(p=>[...p.slice(1),h]),d}d=Vi();let u={id:d,content:r,timeout:s};if((A=e.event)!=null&&A.rcbShowToast){const h=await o(j.SHOW_TOAST,{toast:u});if(h.defaultPrevented)return null;u=h.data.toast}return n(h=>[...h,u]),d},[e,o]),dismissToast:Y(async r=>{var s;const a=i.current.find(c=>c.id===r);return!a||(s=e.event)!=null&&s.rcbDismissToast&&(await o(j.DISMISS_TOAST,{toast:a})).defaultPrevented?null:(n(c=>c.filter(l=>l.id!==r)),r)},[o]),toasts:t,replaceToasts:Y(r=>{n(r)},[])}},zr=()=>{var e,t,n,i,o;const{settings:r}=$(),{paths:s,setSyncedPaths:a,syncedPathsRef:c}=ei(),{flowRef:l,streamMessageMap:A,paramsInputRef:d,keepVoiceOnRef:u,timeoutIdRef:h}=Pt(),{setSyncedIsBotTyping:p,setSyncedTextAreaDisabled:g,setSyncedTextAreaSensitiveMode:b,blockAllowsAttachment:v,setBlockAllowsAttachment:w}=Bt(),{dispatchRcbEvent:_}=se(),{endStreamMessage:m,injectMessage:x,removeMessage:y,simulateStreamMessage:E,streamMessage:P}=xn(),{showToast:C,dismissToast:S}=Xi(),{toggleChatWindow:B}=Kt(),{updateTextAreaFocus:k,setTextAreaValue:M}=_n(),{syncVoice:O}=Fr(),Q=Y(async z=>{var K;if((K=r.event)!=null&&K.rcbPostProcessBlock){const nt=await _(j.POST_PROCESS_BLOCK,{block:z});if(nt.defaultPrevented)return null;z=nt.data.block}return z},[(e=r.event)==null?void 0:e.rcbPostProcessBlock,_]),I=Y(async(z,K)=>{var nt,W,J,dt;if(!z)return;let xt=l.current[z];if(!xt)return void p(!1);if((nt=r.event)!=null&&nt.rcbPreProcessBlock){const yt=await _(j.PRE_PROCESS_BLOCK,{block:xt});if(yt.defaultPrevented)return;xt=yt.data.block}p(!0),(W=r.chatInput)!=null&&W.blockSpam&&g(!0),b(!1);const Qt={prevPath:K,currPath:z,goToPath:H,setTextAreaValue:M,userInput:d.current,endStreamMessage:m,injectMessage:x,removeMessage:y,simulateStreamMessage:E,streamMessage:P,toggleChatWindow:B,showToast:C,dismissToast:S};await(async(yt,kt,_e,qe,Ie,zn,Nn)=>{if(!yt)throw new Error("Block is not valid.");for(const fn of Object.keys(yt))switch(fn){case"message":await xf(yt,kt,_e);break;case"options":await Ef(yt,kt);break;case"checkboxes":await wf(yt,kt);break;case"component":await Pf(yt,kt);break;case"chatDisabled":await Cf(yt,kt,Ie);break;case"isSensitive":await Rc(yt,kt,zn);break;case"transition":await Bf(yt,kt,qe,Nn)}})(xt,Qt,((J=r.botBubble)==null?void 0:J.simulateStream)??!1,h,g,b,Q),p(!1),"chatDisabled"in xt||g((dt=r.chatInput)==null?void 0:dt.disabled),"isSensitive"in xt||b(!1),w(typeof xt.file=="function"),k(z),O(u.current&&!xt.chatDisabled),z!==K&&A.current.clear()},[l,k,O,(t=r.botBubble)==null?void 0:t.simulateStream,(n=r.chatInput)==null?void 0:n.disabled,d,m,x,y,E,P,B,C,S,u,A]),T=Y(()=>c.current.length>0?c.current.at(-1)??null:null,[]),F=Y(()=>c.current.length>1?c.current.at(-2)??null:null,[]),H=Y(async z=>{var K;const nt=T(),W=F();return((K=r.event)==null||!K.rcbChangePath||!(await _(j.CHANGE_PATH,{currPath:nt,prevPath:W,nextPath:z})).defaultPrevented)&&(a(J=>[...J,z]),await I(z,nt),!0)},[(i=r.chatInput)==null?void 0:i.blockSpam,(o=r.event)==null?void 0:o.rcbChangePath,I,_]),V=Y(z=>{a(z)},[]);return{getCurrPath:T,getPrevPath:F,goToPath:H,blockAllowsAttachment:v,setBlockAllowsAttachment:w,paths:s,replacePaths:V,firePostProcessBlockEvent:Q}},En=()=>{var e,t,n,i;const{settings:o}=$(),{endStreamMessage:r,injectMessage:s,removeMessage:a,simulateStreamMessage:c,streamMessage:l}=xn(),{syncedPathsRef:A}=ei(),{getCurrPath:d,getPrevPath:u,goToPath:h,firePostProcessBlockEvent:p}=zr(),{setSyncedTextAreaSensitiveMode:g,setSyncedTextAreaDisabled:b,setSyncedIsBotTyping:v,setBlockAllowsAttachment:w,setInputLength:_,syncedVoiceToggledOnRef:m,syncedTextAreaSensitiveModeRef:x}=Bt(),{flowRef:y,inputRef:E,keepVoiceOnRef:P,paramsInputRef:C,timeoutIdRef:S}=Pt(),{showToast:B,dismissToast:k}=Xi(),{dispatchRcbEvent:M}=se(),{syncVoice:O}=Fr(),{setTextAreaValue:Q}=_n(),{toggleChatWindow:I}=Kt(),T=Y(async H=>{var V,z,K,nt,W,J;const dt=d();if(dt&&y.current[dt]){if(x.current){if((V=o==null?void 0:o.sensitiveInput)!=null&&V.hideInUserBubble)return;if((z=o==null?void 0:o.sensitiveInput)!=null&&z.maskInUserBubble)return void((K=o.userBubble)!=null&&K.simulateStream?await c("*".repeat(((nt=o.sensitiveInput)==null?void 0:nt.asterisksCount)??10),"USER"):await s("*".repeat(((W=o.sensitiveInput)==null?void 0:W.asterisksCount)??10),"USER"))}(J=o.userBubble)!=null&&J.simulateStream?await c(H,"USER"):await s(H,"USER")}},[y,d,o,s,c,x]),F=Y(async(H,V=!0)=>{var z,K;if((H=H.trim())==="")return;V&&await T(H),S.current&&clearTimeout(S.current),E.current&&(Q(""),_(0));const nt=d();if(!nt)return;let W=y.current[nt];const J=await p(W);J&&((z=o.chatInput)!=null&&z.blockSpam&&b(!0),P.current=m.current,O(!1),setTimeout(()=>{v(!0)},400),g(!1),setTimeout(async()=>{var dt;const xt={prevPath:u(),currPath:d(),goToPath:h,setTextAreaValue:Q,userInput:C.current,injectMessage:s,simulateStreamMessage:c,streamMessage:l,removeMessage:a,endStreamMessage:r,toggleChatWindow:I,showToast:B,dismissToast:k},Qt=A.current.length;await Hc(J,xt),A.current.length===Qt&&(b("chatDisabled"in W?!!W.chatDisabled:!((dt=o.chatInput)==null||!dt.disabled)),Rc(W,xt,g),w(typeof W.file=="function"),O(P.current),v(!1))},(K=o.chatInput)==null?void 0:K.botDelay))},[S,(e=o.chatInput)==null?void 0:e.blockSpam,(t=o.chatInput)==null?void 0:t.botDelay,(n=o.chatInput)==null?void 0:n.disabled,P,m,O,T,u,d,h,s,c,l,a,r,I,B,k,y]);return{handleSubmitText:Y(async(H,V=!0)=>{var z,K;H=H??((z=E.current)==null?void 0:z.value),!((K=o.event)!=null&&K.rcbUserSubmitText&&(await M(j.USER_SUBMIT_TEXT,{inputText:H,sendInChat:V})).defaultPrevented||!d())&&F(H,V)},[M,d,F,E,(i=o.event)==null?void 0:i.rcbUserSubmitText])}},qi=()=>{var e;const{settings:t}=$();return wt(()=>{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])},Uf=({buttons:e})=>{var t,n,i,o,r,s,a,c,l,A,d;const u=qi(),{settings:h}=$(),{styles:p}=At(),{textAreaDisabled:g,textAreaSensitiveMode:b,inputLength:v,hasFlowStarted:w,setHasFlowStarted:_,setInputLength:m}=Bt(),{inputRef:x}=Pt(),[y,E]=N(!1),[P,C]=N(!1),{handleSubmitText:S}=En(),{setTextAreaValue:B}=_n(),k={boxSizing:u?"content-box":"border-box",...p.chatInputAreaStyle},M={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},Q={color:"#989898",...p.characterLimitStyle},I={color:"#ff0000",...p.characterLimitReachedStyle},T=g?(i=h.chatInput)==null?void 0:i.disabledPlaceholderText:(o=h.chatInput)==null?void 0:o.enabledPlaceholderText,F=()=>{g||E(!0)},H=()=>{E(!1)},V=()=>{C(!0)},z=()=>{C(!1)},K=async W=>{var J;if(!P&&W.key==="Enter"){if(W.shiftKey)return void((J=h.chatInput)!=null&&J.allowNewline||W.preventDefault());W.preventDefault(),await S()}},nt=W=>{x.current&&(B(W.target.value),m(x.current.value.length))};return f("div",{"aria-label":((r=h.ariaLabel)==null?void 0:r.inputTextArea)??"input text area",role:"textbox",onMouseDown:W=>{var J;W.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:x,type:"password",className:"rcb-chat-input-textarea",style:g?O:y?M:k,placeholder:T,onChange:nt,onKeyDown:K,onFocus:F,onBlur:H,onCompositionStart:V,onCompositionEnd:z}):f("textarea",{ref:x,style:g?O:y?M:k,rows:1,className:"rcb-chat-input-textarea",placeholder:T,onChange:nt,onKeyDown:K,onFocus:F,onBlur:H,onCompositionStart:V,onCompositionEnd:z}),f(U,{children:[e==null?void 0:e.map((W,J)=>f(U,{children:W},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)?I:Q,children:[v,"/",(d=h.chatInput)==null?void 0:d.characterLimit]})]})]})},jf=({buttons:e})=>{var t;const{settings:n}=$(),{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(U,{children:o},r))}),f("span",{children:(t=n.footer)==null?void 0:t.text})]})},Vf=()=>{var e,t,n,i,o,r,s;const{settings:a}=$(),{styles:c}=At(),{unreadCount:l}=Bt(),{isChatWindowOpen:A,toggleChatWindow:d}=Kt(),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(U,{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(!0),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})]})})},Wf=()=>{var e,t,n,i;const o=qi(),{settings:r}=$(),{styles:s}=At(),{chatBodyRef:a}=Pt(),{isChatWindowOpen:c,toggleChatWindow:l}=Kt(),[A,d]=N(!1),[u,h]=N(!1),[p,g]=N(0);et(()=>{var w,_,m;const x=(w=r.tooltip)==null?void 0:w.mode;if(x==="ALWAYS")if(o){let y;y=c?(((_=a.current)==null?void 0:_.offsetWidth)??375)-(typeof((m=s.chatButtonStyle)==null?void 0:m.width)=="number"?s.chatButtonStyle.width:75):0,g(y),d(!0)}else d(!c);else x==="NEVER"?d(!1):x==="START"?u?d(!1):(h(!0),d(!0)):x==="CLOSE"&&d(!c)},[c]);const b={transform:`translateX(-${p}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},v={borderColor:`transparent transparent transparent ${b.backgroundColor}`};return f(U,{children:!((n=r.general)!=null&&n.embedded)&&f("div",{"data-testid":"chat-tooltip",style:b,className:"rcb-chat-tooltip "+(A?"rcb-tooltip-show":"rcb-tooltip-hide"),onClick:()=>l(!0),children:[f("span",{children:(i=r.tooltip)==null?void 0:i.text}),f("span",{className:"rcb-chat-tooltip-tail",style:v})]})})},Yf=({id:e,content:t,timeout:n})=>{var i,o;const{settings:r}=$(),{styles:s}=At(),[a]=N({toastPromptStyle:{...s.toastPromptStyle},toastPromptHoveredStyle:{...s.toastPromptHoveredStyle}}),{dismissToast:c}=Xi(),[l,A]=N(!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(U,{children:t})},Gf=()=>{var e,t,n,i,o,r,s,a,c,l,A,d;const{styles:u}=At(),{toasts:h}=Yc(),p={bottom:`calc(${typeof((e=u.footerStyle)==null?void 0:e.height)=="number"?`${(t=u.footerStyle)==null?void 0:t.height}px`:((n=u.footerStyle)==null?void 0:n.height)??"50px"} + ${typeof((i=u.chatInputContainerStyle)==null?void 0:i.height)=="number"?`${(o=u.chatInputContainerStyle)==null?void 0:o.height}px`:((r=u.chatInputContainerStyle)==null?void 0:r.height)??"70px"} + 20px)`,width:300,minWidth:`calc(${typeof((s=u.chatWindowStyle)==null?void 0:s.width)=="number"?`${(a=u.chatWindowStyle)==null?void 0:a.width}px`:((c=u.chatWindowStyle)==null?void 0:c.width)??"375px"} / 2)`,maxWidth:`calc(${typeof((l=u.chatWindowStyle)==null?void 0:l.width)=="number"?`${(A=u.chatWindowStyle)==null?void 0:A.width}px`:((d=u.chatWindowStyle)==null?void 0:d.width)??"375px"} - 50px)`,...u.toastPromptContainerStyle};return f("div",{className:"rcb-toast-prompt-container",style:p,children:h.map(g=>f(Yf,{id:g.id,content:g.content,timeout:g.timeout},g.id))})},Gc=({file:e,fileType:t,fileUrl:n})=>{var i,o,r;const{settings:s}=$(),{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(U,{children:n?f(U,{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(U,{})})},Kc=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}}},Kf=()=>{var e,t,n,i,o,r;const{settings:s}=$(),{styles:a}=At(),{injectMessage:c,simulateStreamMessage:l,streamMessage:A,removeMessage:d,endStreamMessage:u}=xn(),{getCurrPath:h,getPrevPath:p,goToPath:g,blockAllowsAttachment:b}=zr(),{flowRef:v,inputRef:w}=Pt(),_=v.current,{showToast:m,dismissToast:x}=Xi(),{dispatchRcbEvent:y}=se(),{toggleChatWindow:E}=Kt(),{setTextAreaValue:P}=_n(),{handleSubmitText:C}=En(),S={cursor:`url("${(e=s.general)==null?void 0:e.actionDisabledIcon}"), auto`,...a.fileAttachmentButtonStyle,...a.fileAttachmentButtonDisabledStyle},B={backgroundImage:`url(${(t=s.fileAttachment)==null?void 0:t.icon})`,fill:"#a6a6a6",...a.fileAttachmentIconStyle},k={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}:S,children:[f("input",{className:"rcb-attach-input",role:"file",type:"file",onChange:async M=>{var O,Q,I,T;const F=M.target.files;if(!F)return;const H=Array.from(F);if(M.target.value="",(O=s.event)!=null&&O.rcbUserUploadFile&&(await y(j.USER_UPLOAD_FILE,{files:H})).defaultPrevented)return;const V=h();if(!V)return;const z=_[V];if(!z)return;const K=z.file;if(K!=null){const nt=[];for(let W=0;W<H.length;W++){if(nt.push(H[W].name),(Q=s.fileAttachment)==null||!Q.showMediaDisplay)continue;const J=await Kc(H[W]);!J.fileType||!J.fileUrl||await c(f(Gc,{file:H[W],fileType:J.fileType,fileUrl:J.fileUrl}),"USER")}await C("📄 "+nt.join(", "),(I=s.fileAttachment)==null?void 0:I.sendFileName),await K({userInput:(T=w.current)==null?void 0:T.value,prevPath:p(),currPath:h(),goToPath:g,setTextAreaValue:P,injectMessage:c,simulateStreamMessage:l,streamMessage:A,removeMessage:d,endStreamMessage:u,toggleChatWindow:E,showToast:m,dismissToast:x,files:H})}},multiple:(o=s.fileAttachment)==null?void 0:o.multiple,accept:(r=s.fileAttachment)==null?void 0:r.accept,disabled:!b}),(()=>{var M,O;const Q=b?(M=s.fileAttachment)==null?void 0:M.icon:(O=s.fileAttachment)==null?void 0:O.iconDisabled;return Q&&typeof Q!="string"?Q&&f("span",{className:b?"rcb-attach-icon-enabled":"rcb-attach-icon-disabled",children:f(Q,{style:b?B:k})}):f("span",{className:b?"rcb-attach-icon-enabled":"rcb-attach-icon-disabled",style:b?B:k})})()]})},Xf=()=>{var e,t,n,i,o,r;const{settings:s}=$(),{styles:a}=At(),{syncedTextAreaDisabledRef:c}=Bt(),{inputRef:l}=Pt(),{textAreaDisabled:A,setTextAreaValue:d}=_n(),u=G(null),h=G(null),[p,g]=N(!1),b={cursor:`url("${(e=s.general)==null?void 0:e.actionDisabledIcon}"), auto`,...a.emojiButtonStyle,...a.emojiButtonDisabledStyle},v={backgroundImage:`url(${(t=s.emoji)==null?void 0:t.icon})`,fill:"#a6a6a6",...a.emojiIconStyle},w={backgroundImage:`url(${(n=s.emoji)==null?void 0:n.icon})`,fill:"#a6a6a6",...a.emojiIconStyle,...a.emojiIconDisabledStyle};return et(()=>{const _=x=>{const y=x.composedPath();u.current&&!y.includes(u.current)&&h.current&&!y.includes(h.current)&&g(!1)},m=()=>{(()=>{if(u.current&&h.current){const x=h.current.getBoundingClientRect(),y=u.current.offsetHeight,E=x.top-y-8;u.current.style.left=`${x.left}px`,u.current.style.top=`${E}px`}})()};return document.addEventListener("mousedown",_),window.addEventListener("resize",m),()=>{document.removeEventListener("mousedown",_),window.removeEventListener("resize",m)}},[]),f(U,{children:[f("div",{"aria-label":((i=s.ariaLabel)==null?void 0:i.emojiButton)??"emoji picker",role:"button",ref:h,className:A?"rcb-emoji-button-disabled":"rcb-emoji-button-enabled",style:A?b:{...a.emojiButtonStyle},onMouseDown:_=>{_.preventDefault(),c.current?g(!1):g(m=>!m)},children:(()=>{var _,m;const x=A?(_=s.emoji)==null?void 0:_.iconDisabled:(m=s.emoji)==null?void 0:m.icon;return x&&typeof x!="string"?x&&f("span",{className:A?"rcb-emoji-icon-disabled":"rcb-emoji-icon-enabled",children:f(x,{style:A?w:v})}):f("span",{className:A?"rcb-emoji-icon-disabled":"rcb-emoji-icon-enabled",style:A?w:v})})()}),p&&f("div",{className:"rcb-emoji-button-popup",ref:u,children:(r=(o=s.emoji)==null?void 0:o.list)==null?void 0:r.map((_,m)=>f("span",{className:"rcb-emoji",onMouseDown:x=>((y,E)=>{y.preventDefault(),l.current&&(d(l.current.value+E),setTimeout(()=>{const P=l.current;if(P){P.focus();const C=P.value.length;P.setSelectionRange(C,C)}},50)),g(!1)})(x,_),children:_},m))})]})},qf=()=>{var e,t,n;const{settings:i}=$(),{styles:o}=At(),{audioToggledOn:r,toggleAudio:s}=Vc(),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})})()})},Jf=()=>{var e,t;const{settings:n}=$(),{styles:i}=At(),{toggleChatWindow:o}=Kt(),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})})()})},Zf=()=>{var e,t,n;const{settings:i}=$(),{styles:o}=At(),{notificationsToggledOn:r,toggleNotifications:s}=(()=>{const{notificationsToggledOn:l,toggleNotifications:A,playNotificationSound:d}=Or();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})})()})},$f=()=>{var e,t,n;const{settings:i}=$(),{styles:o}=At(),{injectMessage:r}=xn(),{inputRef:s}=Pt(),{voiceToggledOn:a,toggleVoice:c}=Fr(),{setInputLength:l,setTextAreaValue:A,textAreaDisabled:d}=_n(),{handleSubmitText:u}=En(),h=G([]),[p,g]=N(!1);et(()=>{var m;(m=i.voice)!=null&&m.sendAsAudio?(_(),h.current=[]):u()},[p]),et(()=>{a?((m,x,y,E,P,C,S)=>{var B;(B=m.voice)!=null&&B.sendAsAudio?zf(y,C):Ff(m,x,y,E,P,S)})(i,c,w,A,l,h,s):Rr()},[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"}),x=new File([m],"voice-input.wav",{type:"audio/wav"}),y=await Kc(x);!y.fileType||!y.fileUrl||await r(f(Gc,{file:x,fileType:y.fileType,fileUrl:y.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,x;const y=a?(m=i.voice)==null?void 0:m.icon:(x=i.voice)==null?void 0:x.iconDisabled;return y&&typeof y!="string"?y&&f("span",{className:"rcb-voice-icon "+(a&&!d?"on":""),children:f(y,{style:a&&!d?b:v})}):f("span",{className:"rcb-voice-icon"+(a&&!d?"-on":""),"data-testid":"rcb-voice-icon",style:a&&!d?b:v})})()})},tp=()=>{var e,t,n,i,o,r,s,a;const{settings:c}=$(),{styles:l}=At(),{textAreaDisabled:A}=Bt(),[d,u]=N(!1),{handleSubmitText:h}=En(),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 x=(m=c.chatInput)==null?void 0:m.sendButtonIcon;return x&&typeof x!="string"?x&&f("span",{className:"rcb-send-icon","data-testid":"rcb-send-icon",children:f(x,{style:A?w:d?_:v})}):f("span",{className:"rcb-send-icon","data-testid":"rcb-send-icon",style:A?w:d?_:v})})()})},ep=(e,t)=>{var n,i,o,r,s,a,c,l,A;const d={[mt.AUDIO_BUTTON]:(n=e.audio)==null?void 0:n.disabled,[mt.CLOSE_CHAT_BUTTON]:(i=e.general)==null?void 0:i.embedded,[mt.EMOJI_PICKER_BUTTON]:(o=e.emoji)==null?void 0:o.disabled,[mt.FILE_ATTACHMENT_BUTTON]:(r=e.fileAttachment)==null?void 0:r.disabled,[mt.NOTIFICATION_BUTTON]:(s=e.notification)==null?void 0:s.disabled,[mt.SEND_MESSAGE_BUTTON]:!1,[mt.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(mt).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)}},np=()=>{const{settings:e}=$(),t=wt(()=>({[mt.CLOSE_CHAT_BUTTON]:()=>f(Jf,{}),[mt.AUDIO_BUTTON]:()=>f(qf,{}),[mt.NOTIFICATION_BUTTON]:()=>f(Zf,{}),[mt.EMOJI_PICKER_BUTTON]:()=>f(Xf,{}),[mt.FILE_ATTACHMENT_BUTTON]:()=>f(Kf,{}),[mt.SEND_MESSAGE_BUTTON]:()=>f(tp,{}),[mt.VOICE_MESSAGE_BUTTON]:()=>f($f,{})}),[]),{header:n,chatInput:i,footer:o}=wt(()=>ep(e,t),[e,t]);return{headerButtons:wt(()=>n,[n]),chatInputButtons:wt(()=>i,[i]),footerButtons:wt(()=>o,[o])}},Xc=()=>{const{settings:e}=$(),{styles:t}=At(),{setSyncedMessages:n,syncedMessagesRef:i}=Tr(),{isLoadingChatHistory:o,setIsLoadingChatHistory:r,hasChatHistoryLoaded:s,setHasChatHistoryLoaded:a}=Bt(),{chatBodyRef:c}=Pt(),{dispatchRcbEvent:l}=se(),A=Y(async()=>{var d,u;const h=Nc();if(!h||(d=e.event)!=null&&d.rcbLoadChatHistory&&(await l(j.LOAD_CHAT_HISTORY,{})).defaultPrevented)return;r(!0);const p=((u=c.current)==null?void 0:u.scrollHeight)??0;((g,b,v,w,_,m,x,y,E)=>{var P;if(Fc=!0,v!=null)try{const C=Re(f(Df,{}),"SYSTEM"),S=_.current.slice(1);w([C,...S]);const B=v.map(k=>{if(k.type==="object"){const M=Uc(k.content,g,b);return{...k,content:M}}return k});setTimeout(()=>{var k;const M=_.current.slice(1);let O=(k=g.chatHistory)!=null&&k.autoLoad?Re(f(U,{}),"SYSTEM"):Re(f(kf,{}),"SYSTEM");w([...B,O,...M]),E(!0)},500),setTimeout(()=>{if(!m.current)return;const{scrollHeight:k}=m.current,M=k-x;m.current.scrollTop+=M,y(!1)},510)}catch{He.removeItem((P=g.chatHistory)==null?void 0:P.storageKey)}})(e,t,h,n,i,c,p,r,a)},[e,t,l,i,c,r,a]);return{isLoadingChatHistory:o,setIsLoadingChatHistory:r,hasChatHistoryLoaded:s,showChatHistory:A}},ip=()=>{var e,t,n;const{settings:i}=$(),{styles:o}=At(),{showChatHistory:r}=Xc(),[s,a]=N(!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})})})},op=()=>{var e,t,n,i;const o=qi(),{settings:r}=$(),{replaceMessages:s}=xn(),{isBotTyping:a,isChatWindowOpen:c,setUnreadCount:l,setSyncedIsChatWindowOpen:A,setSyncedTextAreaDisabled:d,setSyncedAudioToggledOn:u,setSyncedVoiceToggledOn:h,setSyncedIsScrolling:p,syncedIsScrollingRef:g,syncedIsChatWindowOpenRef:b}=Bt(),{chatBodyRef:v}=Pt(),{viewportHeight:w,setViewportHeight:_,setViewportWidth:m,scrollToBottom:x}=Kt(),{setUpNotifications:y}=Or(),{handleFirstInteraction:E}=(()=>{var B;const{settings:k}=$(),{hasInteractedPage:M,setHasInteractedPage:O,hasFlowStarted:Q,setHasFlowStarted:I}=Bt(),T=Y(()=>{var F;if(O(!0),!Q&&((F=k.general)==null?void 0:F.flowStartTrigger)==="ON_PAGE_INTERACT"&&I(!0),!window.SpeechSynthesisUtterance)return void console.info("Speech Synthesis API is not supported in this environment.");const H=new window.SpeechSynthesisUtterance;H.text="",H.onend=()=>{window.removeEventListener("click",T),window.removeEventListener("keydown",T),window.removeEventListener("touchstart",T)},window.speechSynthesis.speak(H)},[Q,(B=k.general)==null?void 0:B.flowStartTrigger]);return{hasInteractedPage:M,handleFirstInteraction:T}})(),{showChatHistory:P}=Xc(),C=G(0),S=G(!1);et(()=>(window.addEventListener("click",E),window.addEventListener("keydown",E),window.addEventListener("touchstart",E),()=>{window.removeEventListener("click",E),window.removeEventListener("keydown",E),window.removeEventListener("touchstart",E)}),[]),et(()=>{const B=v.current;if(!B)return;const k=()=>{S.current||(S.current=!0,requestAnimationFrame(()=>{var M,O;if(!B)return;const{scrollTop:Q,clientHeight:I,scrollHeight:T}=B,F=Q+I<T-(((M=r.chatWindow)==null?void 0:M.messagePromptOffset)??30);p(F),g.current=F,F||(Q+I>=T-1&&(B.scrollTop=T-I-1),(b.current||(O=r.general)!=null&&O.embedded)&&l(0)),S.current=!1}))};return B.addEventListener("wheel",k,{passive:!0}),B.addEventListener("touchmove",k,{passive:!0}),()=>{B.removeEventListener("wheel",k),B.removeEventListener("touchmove",k)}},[]),et(()=>{var B,k,M;d((B=r.chatInput)==null?void 0:B.disabled),A((k=r.chatWindow)==null?void 0:k.defaultOpen),u((M=r.audio)==null?void 0:M.defaultToggledOn),setTimeout(()=>{var O;h((O=r.voice)==null?void 0:O.defaultToggledOn)},1)},[]),et(()=>{var B;(B=r.notification)!=null&&B.disabled||y()},[(e=r.notification)==null?void 0:e.disabled]),et(()=>{!g.current&&v!=null&&v.current&&x()},[a]),et(()=>{var B,k;if((B=r.chatHistory)!=null&&B.disabled)He&&He.removeItem(Wi);else if(Mf(r),Nc().length>0){const M=Re(f(ip,{}),"SYSTEM");s([M]),(k=r.chatHistory)!=null&&k.autoLoad&&P()}},[(t=r.chatHistory)==null?void 0:t.storageKey,(n=r.chatHistory)==null?void 0:n.maxEntries,(i=r.chatHistory)==null?void 0:i.disabled]),et(()=>{var B;o||(B=r.general)!=null&&B.embedded||!navigator.virtualKeyboard||(navigator.virtualKeyboard.overlaysContent=!0,navigator.virtualKeyboard.addEventListener("geometrychange",k=>{if(!k.target)return;const{x:M,y:O,width:Q,height:I}=k.target.boundingRect;M==0&&O==0&&Q==0&&I==0?(setTimeout(()=>{var T;_((T=window.visualViewport)==null?void 0:T.height)},101),setTimeout(()=>{var T,F;w!=((T=window.visualViewport)==null?void 0:T.height)&&_((F=window.visualViewport)==null?void 0:F.height)},1001)):setTimeout(()=>{var T;_(((T=window.visualViewport)==null?void 0:T.height)-I)},101)}))},[o]),et(()=>{var B,k,M,O;if(o)return;c&&(_((B=window.visualViewport)==null?void 0:B.height),m((k=window.visualViewport)==null?void 0:k.width));const Q=()=>window.scrollTo({top:0,left:0,behavior:"auto"}),I=()=>C.current=window.scrollY,T=()=>{var H,V;_((H=window.visualViewport)==null?void 0:H.height),m((V=window.visualViewport)==null?void 0:V.width)},F=()=>{var H;window.removeEventListener("scroll",Q),window.removeEventListener("scroll",I),(H=window.visualViewport)==null||H.removeEventListener("resize",T)};return c?(F(),document.body.style.position="fixed",window.addEventListener("scroll",Q),(M=window.visualViewport)==null||M.addEventListener("resize",T)):(document.body.style.position="static",F(),window.scrollTo({top:C.current,left:0,behavior:"auto"}),window.addEventListener("scroll",I),(O=window.visualViewport)==null||O.removeEventListener("resize",T)),F},[c,o])},rp="https://cdn.jsdelivr.net/gh/tjtanjin/react-chatbotify-themes/themes",sp="2592000",qc="RCB_THEME_CACHE_DATA",Jc=async(e,t)=>{const{id:n,version:i,baseUrl:o=rp,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(`${qc}_${v}_${w}`);if(!m)return null;try{const x=JSON.parse(m),y=new Date().getTime(),E=Math.floor(y/1e3);return x.cacheDate+_>=E?x:null}catch(x){return console.error(`Unable to fetch cache for ${v}`,x),null}})(n,s,r);if(a){const v=Zc(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,x)=>{const y=new Date().getTime(),E={settings:_,inlineStyles:m,cssStylesText:x,cacheDate:Math.floor(y/1e3)};localStorage.setItem(`${qc}_${v}_${w}`,JSON.stringify(E))})(n,s,p,b,d),{settings:p,inlineStyles:b,cssStylesText:Zc(e,d)}},Zc=(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
|
+
`),ap=async(e,t,n,i)=>{var o,r;let s=Ji(Dc),a=Ji(Mc),c="";if(i!=null)if(Array.isArray(i))for(const l of i){const A=await Jc(e,l);s=he(A.settings,s),a=he(A.inlineStyles,a),c+=A.cssStylesText}else{const l=await Jc(e,i);s=he(l.settings,s),a=he(l.inlineStyles,a),c+=l.cssStylesText}return t!=null&&(s=he(t,s)),n!=null&&(a=he(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}},he=(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(yn(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},Ji=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},cp=e=>{const{updateSettings:t}=(()=>{const{settings:o,setSettings:r}=$(),s=Y(c=>{!c||Object.keys(c).length===0||r(Ji(he(c,o)))},[o]),a=Y(c=>{r(c)},[]);return{settings:o,replaceSettings:a,updateSettings:s}})(),{updateStyles:n}=(()=>{const{styles:o,setStyles:r}=At(),s=Y(c=>{!c||Object.keys(c).length===0||r(Ji(he(c,o)))},[o]),a=Y(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=he(s.settings,o)),s!=null&&s.styles&&Object.keys(s==null?void 0:s.styles).length!==0&&(r=he(s.styles,r))}),t(o),n(r)},[])},lp=({plugins:e})=>{var t,n,i,o,r;const s=qi(),{settings:a}=$(),{styles:c}=At(),{hasFlowStarted:l,setHasFlowStarted:A}=Bt(),{inputRef:d}=Pt(),{viewportHeight:u,viewportWidth:h,isChatWindowOpen:p}=Kt(),{goToPath:g}=zr(),{headerButtons:b,chatInputButtons:v,footerButtons:w}=np();op(),cp(e),et(()=>{var y;(l||((y=a.general)==null?void 0:y.flowStartTrigger)==="ON_LOAD")&&g("start")},[l,(t=a.general)==null?void 0:t.flowStartTrigger]);const _=wt(()=>{var y;const E="rcb-chatbot-global ";return(y=a.general)!=null&&y.embedded?E+"rcb-window-embedded":p?E+"rcb-window-open":E+"rcb-window-close"},[a,p]);return f(U,{children:(s&&((m=a.device)==null?void 0:m.desktopEnabled)||!s&&((x=a.device)==null?void 0:x.mobileEnabled))&&f("div",{onMouseDown:y=>{var E,P;!l&&((E=a.general)==null?void 0:E.flowStartTrigger)==="ON_CHATBOT_INTERACT"&&A(!0),s?(P=d.current)==null||P.blur():y==null||y.preventDefault()},className:_,children:[f(Wf,{}),f(Vf,{}),p&&!s&&!((n=a.general)!=null&&n.embedded)&&f(U,{children:[f("style",{children:`
|
|
5
5
|
html {
|
|
6
6
|
overflow: hidden !important;
|
|
7
7
|
touch-action: none !important;
|
|
8
8
|
scroll-behavior: auto !important;
|
|
9
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(`
|
|
55
|
-
%ctippy.js
|
|
56
|
-
|
|
57
|
-
%c`+iA(e)+`
|
|
58
|
-
|
|
59
|
-
%c👷 This is a development-only message. It will be removed in production.
|
|
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.",`
|
|
61
|
-
|
|
62
|
-
`,`All props: https://atomiks.github.io/tippyjs/v6/all-props/
|
|
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.",`
|
|
64
|
-
|
|
65
|
-
`,"Using a wrapper <div> or <span> tag around the reference element","solves this by creating a new parentNode context.",`
|
|
66
|
-
|
|
67
|
-
`,"Specifying `appendTo: document.body` silences this warning, but it","assumes you are using a focus management solution to handle","keyboard navigation.",`
|
|
68
|
-
|
|
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.",`
|
|
70
|
-
|
|
71
|
-
`,"Instead, pass the .innerHTML of the element, or use a function that","returns a cloned version of the element instead.",`
|
|
72
|
-
|
|
73
|
-
`,`1) content: element.innerHTML
|
|
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]})}/*!
|
|
10
|
+
`}),f("div",{style:{position:"fixed",top:0,left:0,width:"100%",height:"100%",backgroundColor:"#fff",zIndex:9999}})]}),f("div",{style:(()=>{var y,E;return s||(y=a.general)!=null&&y.embedded?(E=a.general)!=null&&E.embedded?{...c.chatWindowStyle}:{...c.chatWindowStyle,zIndex:1e4}:{...c.chatWindowStyle,borderRadius:"0px",left:"0px",right:"auto",top:"0px",bottom:"auto",width:`${h}px`,height:`${u}px`,zIndex:1e4}})(),className:"rcb-chat-window",children:[((i=a.general)==null?void 0:i.showHeader)&&f(cf,{buttons:b}),f(bf,{}),f(Gf,{}),((o=a.general)==null?void 0:o.showInputRow)&&f(Uf,{buttons:v}),((r=a.general)==null?void 0:r.showFooter)&&f(jf,{buttons:w})]})]})});var m,x},$c=oe(void 0),tl=()=>Yt($c),el=({children:e})=>{var t;const n=G(""),i=G({}),[o,r]=N({}),[s,a]=N({}),[c,l]=N(!1);return et(()=>{l(!0)},[]),c?f("div",{style:{fontFamily:(t=o.general)==null?void 0:t.fontFamily},children:f($c.Provider,{value:{loadConfig:async(A,d,u,h,p,g)=>{n.current=A,i.current=d;const b=await ap(A,u,h,p);g.current&&(g.current.textContent=b.cssStylesText),r(b.settings),a(b.inlineStyles)}},children:f(sf,{settings:o,setSettings:r,children:f(af,{styles:s,setStyles:a,children:f(Nf,{children:f(lf,{botIdRef:n,flowRef:i,children:f(uf,{children:f(Af,{settings:o,children:f(ff,{children:e})})})})})})})})}):null},Ap=({id:e,flow:t,settings:n,styles:i,themes:o,plugins:r,setConfigLoaded:s,styleRootRef:a})=>{const c=wt(()=>e,[]),l=tl(),{flowRef:A}=Pt();return A&&A.current!==t&&(A.current=t),et(()=>{(async()=>{var d,u;(d=n.event)!=null&&d.rcbPreLoadChatBot&&(await Mr(j.PRE_LOAD_CHATBOT,{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&&Mr(j.POST_LOAD_CHATBOT,{botId:c,currPath:null,prevPath:null},{flow:t,settings:n,styles:i,themes:o,plugins:r}))})()},[o]),null},Nr=["Quickstart","API Docs","Examples","Github","Discord"],dp={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:Nr,path:"process_options"},prompt_again:{message:"Do you need any other help?",options:Nr,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:Nr,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"}},up=({id:e,flow:t,settings:n,styles:i,themes:o,plugins:r})=>{const s=wt(()=>e||"rcb-"+Vi(),[]),a=t&&Object.keys(t).length!==0?t:dp,c=n||{},l=i||{},A=r||[],[d,u]=N(!1),h=tl(),p=G(null),[g,b]=N(o||[]);et(()=>{o&&b(o)},[o]);const v=()=>f(U,{children:[f(Ap,{styleRootRef:p,id:s,flow:a,settings:c,styles:l,themes:g,plugins:A,setConfigLoaded:u}),d&&f(lp,{plugins:r})]});return f(h==null?el:U,{children:[f("style",{ref:p}),f("div",{id:s,children:v()})]})},nl=()=>{const{endStreamMessage:e,injectMessage:t,removeMessage:n,simulateStreamMessage:i,streamMessage:o,messages:r,replaceMessages:s}=xn();return{endStreamMessage:e,injectMessage:t,removeMessage:n,simulateStreamMessage:i,streamMessage:o,messages:r,replaceMessages:s}},St=[];for(let e=0;e<256;++e)St.push((e+256).toString(16).slice(1));let Ur;const hp=new Uint8Array(16);var il={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function fp(e,t,n){var o;if(il.randomUUID&&!e)return il.randomUUID();const i=(e=e||{}).random??((o=e.rng)==null?void 0:o.call(e))??function(){if(!Ur){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");Ur=crypto.getRandomValues.bind(crypto)}return Ur(hp)}();if(i.length<16)throw new Error("Random bytes length must be >= 16");return i[6]=15&i[6]|64,i[8]=63&i[8]|128,function(r,s=0){return(St[r[s+0]]+St[r[s+1]]+St[r[s+2]]+St[r[s+3]]+"-"+St[r[s+4]]+St[r[s+5]]+"-"+St[r[s+6]]+St[r[s+7]]+"-"+St[r[s+8]]+St[r[s+9]]+"-"+St[r[s+10]]+St[r[s+11]]+St[r[s+12]]+St[r[s+13]]+St[r[s+14]]+St[r[s+15]]).toLowerCase()}(i)}const Ct={LOGIN_URL:"/login",PROMPT_TEXT:"Questions should stand alone and not refer to previous ones.",WELCOME_MESSAGE:"Hello! What can I help you with?",WELCOME_MESSAGE_LOGGED_OUT:"To ask questions, please log in.",WELCOME_MESSAGE_LOGIN_TRANSITION:"Welcome! You are now logged in. How can I help you today?",WELCOME_MESSAGE_LOGOUT_TRANSITION:"You have been logged out.",API_ENDPOINT:"https://access-ai.ccs.uky.edu/api/query",ERRORS:{API_UNAVAILABLE:"Unable to contact the Q&A Bot. Please try again later."},BEHAVIOR:{SHOW_RATING_AFTER_FAILED_QUERY:!0},THEME:{PRIMARY_COLOR:"#1a5b6e",SECONDARY_COLOR:"#107180",FONT_FAMILY:"Arial, sans-serif"},CHATBOT:{TITLE:"ACCESS Q&A Bot",AVATAR_URL:"https://support.access-ci.org/themes/contrib/asp-theme/images/icons/ACCESS-arrrow.svg",TOOLTIP_TEXT:"Ask me about ACCESS! 😊"}},pp=st.forwardRef(({embedded:e,isBotLoggedIn:t,currentOpen:n},i)=>{const o=nl(),r=(()=>{const{isChatWindowOpen:c,toggleChatWindow:l,toggleIsBotTyping:A,scrollToBottom:d}=Kt();return{isChatWindowOpen:c,toggleChatWindow:l,toggleIsBotTyping:A,scrollToBottom:d}})(),s=G(n),a=G(!1);return(c=>{const l=G(c),{injectMessage:A}=nl();et(()=>{const d=l.current!==c,u=!l.current&&c;d&&A(u?Ct.WELCOME_MESSAGE_LOGIN_TRANSITION:Ct.WELCOME_MESSAGE_LOGOUT_TRANSITION,"bot"),l.current=c},[c,A])})(t),et(()=>{!e&&r&&r.toggleChatWindow&&(s.current===n||a.current||r&&r.toggleChatWindow&&(r.toggleChatWindow(n),s.current=n),a.current=!1)},[n,e,r]),et(()=>{const c=()=>{a.current=!0};i&&(i.current||(i.current={}),i.current._markAsUserInteraction=c)}),hr(i,()=>({addMessage:c=>{o&&o.injectMessage&&o.injectMessage(c)}}),[o]),null}),gp=()=>st.createElement("div",{className:"user-login-icon",style:{alignItems:"center",justifyContent:"center",width:"30px",height:"30px",borderRadius:"50%",backgroundColor:"#1a5b6e",marginRight:"5px"},title:"User logged in"},st.createElement("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},st.createElement("path",{d:"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"}),st.createElement("circle",{cx:"12",cy:"7",r:"4"}))),mp=(e,t,n)=>{const i=()=>{try{const o=localStorage.getItem("rcb-history");if(!o)return null;const r=JSON.parse(o);if(!Array.isArray(r))return null;let s=null,a=null;for(const c of r)if(c.sender==="USER"){const l=new Date(c.timestamp).getTime();(!a||l>a)&&(a=l,s=c)}return s?s.id:null}catch(o){return console.warn("Error parsing chat history:",o),null}};return Y(async o=>{const{userInput:r}=o,s=i();s&&n(s);const a={"Content-Type":"application/json","X-Origin":"access","X-API-KEY":e,"X-Session-ID":t,"X-Query-ID":s};try{const c={method:"POST",headers:a,body:JSON.stringify({query:r})},l=await fetch(Ct.API_ENDPOINT,c),A=(await l.json()).response;return await o.streamMessage(A),!0}catch{return await o.injectMessage(Ct.ERRORS.API_UNAVAILABLE),!1}},[e,n,i,t])},bp=({loginUrl:e,className:t="",style:n})=>st.createElement("a",{href:e,target:"_blank",rel:"noopener noreferrer",className:`qa-bot-login-button ${t}`,style:{display:"inline-block",padding:"10px 20px",backgroundColor:"white",border:"1px solid #107180",color:"#107180",textDecoration:"none",borderRadius:"4px",fontWeight:"bold",textAlign:"center",margin:"18px",boxShadow:"0 2px 4px rgba(0, 0, 0, 0.2)",...n}},"Log In"),vp=({sessionId:e,currentQueryId:t,className:n="",style:i})=>{const o={display:"inline-flex",alignItems:"center",justifyContent:"center",padding:"8px 12px",backgroundColor:"white",border:"1px solid #107180",color:"#107180",textDecoration:"none",borderRadius:"4px",fontWeight:"bold",cursor:"pointer",boxShadow:"0 2px 4px rgba(0, 0, 0, 0.2)",fontSize:"14px",minWidth:"60px"},r=async s=>{const a=process.env.REACT_APP_API_KEY;if(!a||!e)return void console.warn("Missing apiKey or sessionId for feedback");const c={"Content-Type":"application/json","X-Origin":"access","X-API-KEY":a,"X-Session-ID":e,"X-Query-ID":t,"X-Feedback":s?1:0};try{const l={method:"POST",headers:c},A=await fetch(`${Ct.API_ENDPOINT}/rating`,l);A.ok?console.log("Feedback sent successfully: "+(s?"1":"0")):console.error("Failed to send feedback:",A.status)}catch(l){console.error("Error sending feedback:",l)}};return st.createElement("div",{className:`qa-bot-thumbs-feedback ${n}`,style:{display:"flex",flexDirection:"column",alignItems:"center",gap:"10px",margin:"18px",fontFamily:"Arial, sans-serif",...i}},st.createElement("div",{style:{display:"flex",gap:"15px"}},st.createElement("button",{onClick:async()=>{console.log("Thumbs up clicked for session:",e),await r(!0)},style:o,className:"qa-bot-thumbs-up"},"👍"),st.createElement("button",{onClick:async()=>{console.log("Thumbs down clicked for session:",e),await r(!1)},style:o,className:"qa-bot-thumbs-down"},"👎")))};function wp(e,t){const n=t!==void 0?t:Ct.WELCOME_MESSAGE;return e?n:Ct.WELCOME_MESSAGE_LOGGED_OUT}function ol(e,t){return e?null:st.createElement(bp,{loginUrl:t})}const yp=()=>{for(let t=0;t<localStorage.length;t++){const n=localStorage.key(t);if(n&&n.startsWith("qa_bot_session_")){const i=localStorage.getItem(n);if(i)return i}}const e="qa_bot_session_".concat(fp());return localStorage.setItem(e,e),e},rl=st.forwardRef((e,t)=>{const{apiKey:n,open:i=!1,onOpenChange:o,embedded:r=!1,isLoggedIn:s,loginUrl:a=Ct.LOGIN_URL,ringEffect:c=!0,welcome:l}=e,A=n||process.env.REACT_APP_API_KEY,[d,u]=N(s!==void 0&&s),h=G(yp()).current,[p,g]=N(null);et(()=>{s!==void 0&&u(s)},[s]),et(()=>{if(!r&&o){const x=y=>{t&&t.current&&t.current._markAsUserInteraction&&t.current._markAsUserInteraction();const E=y.data.newState;o(E)};return window.addEventListener("rcb-toggle-chat-window",x),()=>{window.removeEventListener("rcb-toggle-chat-window",x)}}},[r,o,t]);const b=((x,y)=>x?y||Ct.WELCOME_MESSAGE:Ct.WELCOME_MESSAGE_LOGGED_OUT)(d,l),v=G(null),w=((x,y={})=>wt(()=>{const E=(P,C)=>{if(x.current){const S=getComputedStyle(x.current).getPropertyValue(P);if(S&&S.trim()!=="")return S.trim();if(x.current.parentElement){const B=getComputedStyle(x.current.parentElement).getPropertyValue(P);if(B&&B.trim()!=="")return B.trim()}}return C};return{primaryColor:E("--primary-color",y.primaryColor||Ct.THEME.PRIMARY_COLOR),secondaryColor:E("--secondary-color",y.secondaryColor||Ct.THEME.SECONDARY_COLOR),fontFamily:E("--font-family",y.fontFamily||Ct.THEME.FONT_FAMILY)}},[x,y]))(v),_=(({themeColors:x,embedded:y,defaultOpen:E,isLoggedIn:P})=>wt(()=>({general:{...x,embedded:y},header:{title:Ct.CHATBOT.TITLE,avatar:Ct.CHATBOT.AVATAR_URL,buttons:[st.createElement(gp,{key:"user-icon"}),mt.CLOSE_CHAT_BUTTON]},chatWindow:{defaultOpen:!!y||E},chatInput:{enabledPlaceholderText:Ct.PROMPT_TEXT,disabledPlaceholderText:"Please log in to ask questions.",disabled:!1},chatHistory:{disabled:!1},botBubble:{simulateStream:!0,dangerouslySetInnerHtml:!0},chatButton:{icon:Ct.CHATBOT.AVATAR_URL},tooltip:{text:Ct.CHATBOT.TOOLTIP_TEXT,mode:"START"},audio:{disabled:!0},emoji:{disabled:!0},fileAttachment:{disabled:!0},notification:{disabled:!0},footer:{text:st.createElement("div",null,"Find out more ",st.createElement("a",{href:"https://support.access-ci.org/tools/access-qa-tool"},"about this tool")," or ",st.createElement("a",{href:"https://docs.google.com/forms/d/e/1FAIpQLSeWnE1r738GU1u_ri3TRpw9dItn6JNPi7-FH7QFB9bAHSVN0w/viewform"},"give us feedback"),".")},event:{rcbToggleChatWindow:!0}}),[x,y,E]))({themeColors:w,embedded:r,defaultOpen:i,isLoggedIn:d}),m=(({welcomeMessage:x,isBotLoggedIn:y,loginUrl:E,handleQuery:P,sessionId:C,currentQueryId:S})=>wt(()=>({start:{message:wp(y,x),component:ol(y,E),path:y?"loop":"start"},silentStart:{component:ol(y,E),path:y?"loop":"start"},ratingForm:{message:"Was this response helpful?",component:st.createElement(vp,{sessionId:C,currentQueryId:S}),path:"loop"},loop:{message:async B=>(await P(B),await B.goToPath("ratingForm"),""),transition:{duration:0,interruptable:!1}}}),[y,E,P,x,C,S]))({welcomeMessage:b,isBotLoggedIn:d,loginUrl:a,handleQuery:mp(A,h,g),sessionId:h,currentQueryId:p});return((x,y)=>{et(()=>{y.current&&(x?y.current.classList.add("bot-logged-in"):y.current.classList.remove("bot-logged-in"))},[x,y])})(d,v),((x,y)=>{et(()=>{if(!x||!y.current)return;const E=setTimeout(()=>{var C;const P=(C=y.current)==null?void 0:C.querySelector(".rcb-tooltip-show");P&&P.classList.add("phone-ring")},500);return()=>{clearTimeout(E)}},[x,y])})(c,v),st.createElement("div",{className:"qa-bot ".concat(r?"embedded-qa-bot":""),ref:v},st.createElement(el,null,st.createElement(pp,{ref:t,embedded:r,isBotLoggedIn:d,currentOpen:i}),st.createElement(up,{settings:_,flow:m})))});Ec(".rcb-toggle-icon{background-color:initial!important;background-position:calc(50% - 1px) calc(50% + 2px);background-repeat:no-repeat;background-size:62%}.rcb-chat-window{max-height:600px;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}.qa-bot .user-login-icon{display:none!important}.qa-bot.bot-logged-in .user-login-icon{display:flex!important;transform:scale(1.3) translateY(-2px)}.embedded-qa-bot .rcb-chat-window{max-width:100%;width:100%!important}.qa-bot.hidden{display:none}.embedded-qa-bot .rcb-bot-message,.embedded-qa-bot .rcb-user-message{max-width:90%!important;word-break:break-word}.embedded-qa-bot .rcb-chat-input-textarea{width:100%!important}.qa-bot-container{max-width:100%;width:100%}.rcb-tooltip-show.phone-ring{animation:phone-ring 3s ease-out!important;z-index:10000!important}@keyframes phone-ring{0%{transform:translateX(0) translateY(0) rotate(0deg)}2%{transform:translateX(0) translateY(-8px) rotate(-2deg)}4%{transform:translateX(0) translateY(-6px) rotate(2deg)}6%{transform:translateX(0) translateY(-8px) rotate(-1deg)}8%{transform:translateX(0) translateY(-6px) rotate(1deg)}10%{transform:translateX(0) translateY(-8px) rotate(-2deg)}12%{transform:translateX(0) translateY(-6px) rotate(2deg)}20%{transform:translateX(0) translateY(0) rotate(0deg)}30%{transform:translateX(0) translateY(0) rotate(0deg)}40%{transform:translateX(0) translateY(0) rotate(0deg)}49%{transform:translateX(0) translateY(0) rotate(0deg)}50%{transform:translateX(0) translateY(-8px) rotate(-2deg)}52%{transform:translateX(0) translateY(-6px) rotate(2deg)}54%{transform:translateX(0) translateY(-8px) rotate(-1deg)}56%{transform:translateX(0) translateY(-6px) rotate(1deg)}58%{transform:translateX(0) translateY(-8px) rotate(-2deg)}60%{transform:translateX(0) translateY(-6px) rotate(2deg)}70%{transform:translateX(0) translateY(0) rotate(0deg)}to{transform:translateX(0) translateY(0) rotate(0deg)}}@media (max-width:768px){.embedded-chat-container.open{height:400px}.embedded-chat-closed{font-size:14px;height:40px}.embedded-chat-open-btn{font-size:12px;padding:3px 10px}}@media (max-width:480px){.embedded-chat-container.open{height:350px}}",{insertAt:"top"});const xp=st.forwardRef((e,t)=>{const[n,i]=st.useState(e.isLoggedIn||!1),[o,r]=st.useState(e.defaultOpen||!1),s=st.useRef();return st.useImperativeHandle(t,()=>({addMessage:a=>{s.current&&s.current.addMessage(a)},setBotIsLoggedIn:a=>{i(a)},openChat:()=>{!e.embedded&&s.current&&r(!0)},closeChat:()=>{!e.embedded&&s.current&&r(!1)},toggleChat:()=>{!e.embedded&&s.current&&r(a=>!a)}}),[e.embedded]),st.createElement(rl,{ref:s,apiKey:e.apiKey,embedded:e.embedded,isLoggedIn:n,open:!!e.embedded||o,onOpenChange:e.embedded?void 0:r,loginUrl:e.loginUrl,ringEffect:e.ringEffect,welcome:e.welcome})});function sl(e){if(!(e.target&&e.target instanceof HTMLElement))return void console.error("QA Bot: A valid target DOM element is required");const t=Xh.createRoot(e.target);let n={current:null};return t.render(st.createElement(st.StrictMode,null,st.createElement(xp,{ref:i=>{n.current=i},apiKey:e.apiKey,defaultOpen:e.defaultOpen,embedded:e.embedded,isLoggedIn:e.isLoggedIn,loginUrl:e.loginUrl,ringEffect:e.ringEffect,welcome:e.welcome}))),{addMessage:i=>{var o;return(o=n.current)===null||o===void 0?void 0:o.addMessage(i)},setBotIsLoggedIn:i=>{var o;return(o=n.current)===null||o===void 0?void 0:o.setBotIsLoggedIn(i)},openChat:()=>{var i;return(i=n.current)===null||i===void 0?void 0:i.openChat()},closeChat:()=>{var i;return(i=n.current)===null||i===void 0?void 0:i.closeChat()},toggleChat:()=>{var i;return(i=n.current)===null||i===void 0?void 0:i.toggleChat()},destroy:()=>{n.current=null,t.unmount()}}}const _p=Object.freeze(Object.defineProperty({__proto__:null,QABot:rl,default:sl,qaBot:sl},Symbol.toStringTag,{value:"Module"}));function it({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 al=()=>{const e=new Event("accessci-update-sections");document.dispatchEvent(e)};function fe({children:e,headerComponents:t=null,icon:n=null,sectionId:i=null,title:o}){const r=i||o.toLowerCase().replace(/[^0-9a-z]+/g,"-");return Nt(()=>(al(),al),[]),f("section",{id:r,"data-section-title":o,"data-section-icon":n,children:[f("div",{class:"flex-header",children:[f("h2",{children:[n?f(it,{name:n}):null,o]}),t?f("div",{class:"header-components",children:t}):null]}),e]})}function Ep({infoGroupId:e}){const t=It(`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(fe,{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(it,{name:"person-plus-fill"})," Join Affinity Group"]}),n?f("a",{href:n,class:"btn",children:[f(it,{name:"slack"})," Connect on Slack"]}):null,f("a",{href:"#questions-and-answers",class:"btn",children:[f(it,{name:"chat-fill"})," Ask and Answer Questions"]})]})]})}function Pp({infoGroupId:e}){const t=qn(e),n=It(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(it,{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(it,{name:"check2-circle"})," Get Started with ",o]}):null,l?f("a",{href:l,class:"btn lg",children:[f(it,{name:"book"})," User Guide"]}):null]})]})}function Bp({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 Cp={text:Bp};function Zi({columns:e,rows:t,classes:n,frozenColumns:i=0,maxHeight:o=400,minWidth:r,rowClasses:s=[],scrollResetOnUpdate:a=!1}){const c=G();Nt(()=>{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 _=Cp[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 kp({infoGroupId:e}){const t=It(`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=It(i);return!o||o.error||!o.topic_list||!o.topic_list.topics||!o.topic_list.topics.length?void 0:f(fe,{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(Zi,{columns:[{key:"title",name:"Topic",format:(a,c)=>f(U,{children:[c.pinned?f(it,{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 Rt="top",Xt="bottom",qt="right",Ht="left",jr="auto",ni=[Rt,Xt,qt,Ht],Pn="start",ii="end",Dp="clippingParents",cl="viewport",oi="popper",Sp="reference",ll=ni.reduce(function(e,t){return e.concat([t+"-"+Pn,t+"-"+ii])},[]),Al=[].concat(ni,[jr]).reduce(function(e,t){return e.concat([t,t+"-"+Pn,t+"-"+ii])},[]),Mp="beforeRead",Tp="read",Ip="afterRead",Op="beforeMain",Qp="main",Lp="afterMain",Rp="beforeWrite",Hp="write",Fp="afterWrite",zp=[Mp,Tp,Ip,Op,Qp,Lp,Rp,Hp,Fp];function pe(e){return e?(e.nodeName||"").toLowerCase():null}function Ut(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function en(e){var t=Ut(e).Element;return e instanceof t||e instanceof Element}function Jt(e){var t=Ut(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Vr(e){if(typeof ShadowRoot>"u")return!1;var t=Ut(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Np(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];!Jt(r)||!pe(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 Up(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},{});!Jt(o)||!pe(o)||(Object.assign(o.style,a),Object.keys(r).forEach(function(c){o.removeAttribute(c)}))})}}const dl={name:"applyStyles",enabled:!0,phase:"write",fn:Np,effect:Up,requires:["computeStyles"]};function ge(e){return e.split("-")[0]}var nn=Math.max,$i=Math.min,Bn=Math.round;function Wr(){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 ul(){return!/^((?!chrome|android).)*safari/i.test(Wr())}function Cn(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var i=e.getBoundingClientRect(),o=1,r=1;t&&Jt(e)&&(o=e.offsetWidth>0&&Bn(i.width)/e.offsetWidth||1,r=e.offsetHeight>0&&Bn(i.height)/e.offsetHeight||1);var s=en(e)?Ut(e):window,a=s.visualViewport,c=!ul()&&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 Yr(e){var t=Cn(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 hl(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Vr(n)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function Ce(e){return Ut(e).getComputedStyle(e)}function jp(e){return["table","td","th"].indexOf(pe(e))>=0}function ze(e){return((en(e)?e.ownerDocument:e.document)||window.document).documentElement}function to(e){return pe(e)==="html"?e:e.assignedSlot||e.parentNode||(Vr(e)?e.host:null)||ze(e)}function fl(e){return!Jt(e)||Ce(e).position==="fixed"?null:e.offsetParent}function Vp(e){var t=/firefox/i.test(Wr()),n=/Trident/i.test(Wr());if(n&&Jt(e)){var i=Ce(e);if(i.position==="fixed")return null}var o=to(e);for(Vr(o)&&(o=o.host);Jt(o)&&["html","body"].indexOf(pe(o))<0;){var r=Ce(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 ri(e){for(var t=Ut(e),n=fl(e);n&&jp(n)&&Ce(n).position==="static";)n=fl(n);return n&&(pe(n)==="html"||pe(n)==="body"&&Ce(n).position==="static")?t:n||Vp(e)||t}function Gr(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function si(e,t,n){return nn(e,$i(t,n))}function Wp(e,t,n){var i=si(e,t,n);return i>n?n:i}function pl(){return{top:0,right:0,bottom:0,left:0}}function gl(e){return Object.assign({},pl(),e)}function ml(e,t){return t.reduce(function(n,i){return n[i]=e,n},{})}var Yp=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,gl(typeof t!="number"?t:ml(t,ni))};function Gp(e){var t,n=e.state,i=e.name,o=e.options,r=n.elements.arrow,s=n.modifiersData.popperOffsets,a=ge(n.placement),c=Gr(a),l=[Ht,qt].indexOf(a)>=0,A=l?"height":"width";if(!(!r||!s)){var d=Yp(o.padding,n),u=Yr(r),h=c==="y"?Rt:Ht,p=c==="y"?Xt:qt,g=n.rects.reference[A]+n.rects.reference[c]-s[c]-n.rects.popper[A],b=s[c]-n.rects.reference[c],v=ri(r),w=v?c==="y"?v.clientHeight||0:v.clientWidth||0:0,_=g/2-b/2,m=d[h],x=w-u[A]-d[p],y=w/2-u[A]/2+_,E=si(m,y,x),P=c;n.modifiersData[i]=(t={},t[P]=E,t.centerOffset=E-y,t)}}function Kp(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)||hl(t.elements.popper,o)&&(t.elements.arrow=o))}const Xp={name:"arrow",enabled:!0,phase:"main",fn:Gp,effect:Kp,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function kn(e){return e.split("-")[1]}var qp={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Jp(e,t){var n=e.x,i=e.y,o=t.devicePixelRatio||1;return{x:Bn(n*o)/o||0,y:Bn(i*o)/o||0}}function bl(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"),_=Ht,m=Rt,x=window;if(l){var y=ri(n),E="clientHeight",P="clientWidth";if(y===Ut(n)&&(y=ze(n),Ce(y).position!=="static"&&a==="absolute"&&(E="scrollHeight",P="scrollWidth")),y=y,o===Rt||(o===Ht||o===qt)&&r===ii){m=Xt;var C=d&&y===x&&x.visualViewport?x.visualViewport.height:y[E];g-=C-i.height,g*=c?1:-1}if(o===Ht||(o===Rt||o===Xt)&&r===ii){_=qt;var S=d&&y===x&&x.visualViewport?x.visualViewport.width:y[P];h-=S-i.width,h*=c?1:-1}}var B=Object.assign({position:a},l&&qp),k=A===!0?Jp({x:h,y:g},Ut(n)):{x:h,y:g};if(h=k.x,g=k.y,c){var M;return Object.assign({},B,(M={},M[m]=w?"0":"",M[_]=v?"0":"",M.transform=(x.devicePixelRatio||1)<=1?"translate("+h+"px, "+g+"px)":"translate3d("+h+"px, "+g+"px, 0)",M))}return Object.assign({},B,(t={},t[m]=w?g+"px":"",t[_]=v?h+"px":"",t.transform="",t))}function Zp(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:ge(t.placement),variation:kn(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,bl(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,bl(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 $p={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Zp,data:{}};var eo={passive:!0};function tg(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=Ut(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return r&&l.forEach(function(A){A.addEventListener("scroll",n.update,eo)}),a&&c.addEventListener("resize",n.update,eo),function(){r&&l.forEach(function(A){A.removeEventListener("scroll",n.update,eo)}),a&&c.removeEventListener("resize",n.update,eo)}}const eg={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:tg,data:{}};var ng={left:"right",right:"left",bottom:"top",top:"bottom"};function no(e){return e.replace(/left|right|bottom|top/g,function(t){return ng[t]})}var ig={start:"end",end:"start"};function vl(e){return e.replace(/start|end/g,function(t){return ig[t]})}function Kr(e){var t=Ut(e),n=t.pageXOffset,i=t.pageYOffset;return{scrollLeft:n,scrollTop:i}}function Xr(e){return Cn(ze(e)).left+Kr(e).scrollLeft}function og(e,t){var n=Ut(e),i=ze(e),o=n.visualViewport,r=i.clientWidth,s=i.clientHeight,a=0,c=0;if(o){r=o.width,s=o.height;var l=ul();(l||!l&&t==="fixed")&&(a=o.offsetLeft,c=o.offsetTop)}return{width:r,height:s,x:a+Xr(e),y:c}}function rg(e){var t,n=ze(e),i=Kr(e),o=(t=e.ownerDocument)==null?void 0:t.body,r=nn(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),s=nn(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),a=-i.scrollLeft+Xr(e),c=-i.scrollTop;return Ce(o||n).direction==="rtl"&&(a+=nn(n.clientWidth,o?o.clientWidth:0)-r),{width:r,height:s,x:a,y:c}}function qr(e){var t=Ce(e),n=t.overflow,i=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+i)}function wl(e){return["html","body","#document"].indexOf(pe(e))>=0?e.ownerDocument.body:Jt(e)&&qr(e)?e:wl(to(e))}function ai(e,t){var n;t===void 0&&(t=[]);var i=wl(e),o=i===((n=e.ownerDocument)==null?void 0:n.body),r=Ut(i),s=o?[r].concat(r.visualViewport||[],qr(i)?i:[]):i,a=t.concat(s);return o?a:a.concat(ai(to(s)))}function Jr(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function sg(e,t){var n=Cn(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 yl(e,t,n){return t===cl?Jr(og(e,n)):en(t)?sg(t,n):Jr(rg(ze(e)))}function ag(e){var t=ai(to(e)),n=["absolute","fixed"].indexOf(Ce(e).position)>=0,i=n&&Jt(e)?ri(e):e;return en(i)?t.filter(function(o){return en(o)&&hl(o,i)&&pe(o)!=="body"}):[]}function cg(e,t,n,i){var o=t==="clippingParents"?ag(e):[].concat(t),r=[].concat(o,[n]),s=r[0],a=r.reduce(function(c,l){var A=yl(e,l,i);return c.top=nn(A.top,c.top),c.right=$i(A.right,c.right),c.bottom=$i(A.bottom,c.bottom),c.left=nn(A.left,c.left),c},yl(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 xl(e){var t=e.reference,n=e.element,i=e.placement,o=i?ge(i):null,r=i?kn(i):null,s=t.x+t.width/2-n.width/2,a=t.y+t.height/2-n.height/2,c;switch(o){case Rt:c={x:s,y:t.y-n.height};break;case Xt:c={x:s,y:t.y+t.height};break;case qt:c={x:t.x+t.width,y:a};break;case Ht:c={x:t.x-n.width,y:a};break;default:c={x:t.x,y:t.y}}var l=o?Gr(o):null;if(l!=null){var A=l==="y"?"height":"width";switch(r){case Pn:c[l]=c[l]-(t[A]/2-n[A]/2);break;case ii:c[l]=c[l]+(t[A]/2-n[A]/2);break}}return c}function ci(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?Dp:a,l=n.rootBoundary,A=l===void 0?cl:l,d=n.elementContext,u=d===void 0?oi:d,h=n.altBoundary,p=h===void 0?!1:h,g=n.padding,b=g===void 0?0:g,v=gl(typeof b!="number"?b:ml(b,ni)),w=u===oi?Sp:oi,_=e.rects.popper,m=e.elements[p?w:u],x=cg(en(m)?m:m.contextElement||ze(e.elements.popper),c,A,s),y=Cn(e.elements.reference),E=xl({reference:y,element:_,strategy:"absolute",placement:o}),P=Jr(Object.assign({},_,E)),C=u===oi?P:y,S={top:x.top-C.top+v.top,bottom:C.bottom-x.bottom+v.bottom,left:x.left-C.left+v.left,right:C.right-x.right+v.right},B=e.modifiersData.offset;if(u===oi&&B){var k=B[o];Object.keys(S).forEach(function(M){var O=[qt,Xt].indexOf(M)>=0?1:-1,Q=[Rt,Xt].indexOf(M)>=0?"y":"x";S[M]+=k[Q]*O})}return S}function lg(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?Al:c,A=kn(i),d=A?a?ll:ll.filter(function(p){return kn(p)===A}):ni,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]=ci(e,{placement:g,boundary:o,rootBoundary:r,padding:s})[ge(g)],p},{});return Object.keys(h).sort(function(p,g){return h[p]-h[g]})}function Ag(e){if(ge(e)===jr)return[];var t=no(e);return[vl(e),t,vl(t)]}function dg(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=ge(b),w=v===b,_=c||(w||!p?[no(b)]:Ag(b)),m=[b].concat(_).reduce(function(W,J){return W.concat(ge(J)===jr?lg(t,{placement:J,boundary:A,rootBoundary:d,padding:l,flipVariations:p,allowedAutoPlacements:g}):J)},[]),x=t.rects.reference,y=t.rects.popper,E=new Map,P=!0,C=m[0],S=0;S<m.length;S++){var B=m[S],k=ge(B),M=kn(B)===Pn,O=[Rt,Xt].indexOf(k)>=0,Q=O?"width":"height",I=ci(t,{placement:B,boundary:A,rootBoundary:d,altBoundary:u,padding:l}),T=O?M?qt:Ht:M?Xt:Rt;x[Q]>y[Q]&&(T=no(T));var F=no(T),H=[];if(r&&H.push(I[k]<=0),a&&H.push(I[T]<=0,I[F]<=0),H.every(function(W){return W})){C=B,P=!1;break}E.set(B,H)}if(P)for(var V=p?3:1,z=function(J){var dt=m.find(function(xt){var Qt=E.get(xt);if(Qt)return Qt.slice(0,J).every(function(yt){return yt})});if(dt)return C=dt,"break"},K=V;K>0;K--){var nt=z(K);if(nt==="break")break}t.placement!==C&&(t.modifiersData[i]._skip=!0,t.placement=C,t.reset=!0)}}const ug={name:"flip",enabled:!0,phase:"main",fn:dg,requiresIfExists:["offset"],data:{_skip:!1}};function _l(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 El(e){return[Rt,qt,Xt,Ht].some(function(t){return e[t]>=0})}function hg(e){var t=e.state,n=e.name,i=t.rects.reference,o=t.rects.popper,r=t.modifiersData.preventOverflow,s=ci(t,{elementContext:"reference"}),a=ci(t,{altBoundary:!0}),c=_l(s,i),l=_l(a,o,r),A=El(c),d=El(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 fg={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:hg};function pg(e,t,n){var i=ge(e),o=[Ht,Rt].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,[Ht,qt].indexOf(i)>=0?{x:a,y:s}:{x:s,y:a}}function gg(e){var t=e.state,n=e.options,i=e.name,o=n.offset,r=o===void 0?[0,0]:o,s=Al.reduce(function(A,d){return A[d]=pg(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 mg={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:gg};function bg(e){var t=e.state,n=e.name;t.modifiersData[n]=xl({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const vg={name:"popperOffsets",enabled:!0,phase:"read",fn:bg,data:{}};function wg(e){return e==="x"?"y":"x"}function yg(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=ci(t,{boundary:c,rootBoundary:l,padding:d,altBoundary:A}),v=ge(t.placement),w=kn(t.placement),_=!w,m=Gr(v),x=wg(m),y=t.modifiersData.popperOffsets,E=t.rects.reference,P=t.rects.popper,C=typeof g=="function"?g(Object.assign({},t.rects,{placement:t.placement})):g,S=typeof C=="number"?{mainAxis:C,altAxis:C}:Object.assign({mainAxis:0,altAxis:0},C),B=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,k={x:0,y:0};if(y){if(r){var M,O=m==="y"?Rt:Ht,Q=m==="y"?Xt:qt,I=m==="y"?"height":"width",T=y[m],F=T+b[O],H=T-b[Q],V=h?-P[I]/2:0,z=w===Pn?E[I]:P[I],K=w===Pn?-P[I]:-E[I],nt=t.elements.arrow,W=h&&nt?Yr(nt):{width:0,height:0},J=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:pl(),dt=J[O],xt=J[Q],Qt=si(0,E[I],W[I]),yt=_?E[I]/2-V-Qt-dt-S.mainAxis:z-Qt-dt-S.mainAxis,kt=_?-E[I]/2+V+Qt+xt+S.mainAxis:K+Qt+xt+S.mainAxis,_e=t.elements.arrow&&ri(t.elements.arrow),qe=_e?m==="y"?_e.clientTop||0:_e.clientLeft||0:0,Ie=(M=B==null?void 0:B[m])!=null?M:0,zn=T+yt-Ie-qe,Nn=T+kt-Ie,fn=si(h?$i(F,zn):F,T,h?nn(H,Nn):H);y[m]=fn,k[m]=fn-T}if(a){var Mi,Xo=m==="x"?Rt:Ht,qo=m==="x"?Xt:qt,Oe=y[x],Je=x==="y"?"height":"width",Ti=Oe+b[Xo],pn=Oe-b[qo],Ii=[Rt,Ht].indexOf(v)!==-1,Jo=(Mi=B==null?void 0:B[x])!=null?Mi:0,Zo=Ii?Ti:Oe-E[Je]-P[Je]-Jo+S.altAxis,$o=Ii?Oe+E[Je]+P[Je]-Jo-S.altAxis:pn,tr=h&&Ii?Wp(Zo,Oe,$o):si(h?Zo:Ti,Oe,h?$o:pn);y[x]=tr,k[x]=tr-Oe}t.modifiersData[i]=k}}const xg={name:"preventOverflow",enabled:!0,phase:"main",fn:yg,requiresIfExists:["offset"]};function _g(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Eg(e){return e===Ut(e)||!Jt(e)?Kr(e):_g(e)}function Pg(e){var t=e.getBoundingClientRect(),n=Bn(t.width)/e.offsetWidth||1,i=Bn(t.height)/e.offsetHeight||1;return n!==1||i!==1}function Bg(e,t,n){n===void 0&&(n=!1);var i=Jt(t),o=Jt(t)&&Pg(t),r=ze(t),s=Cn(e,o,n),a={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(i||!i&&!n)&&((pe(t)!=="body"||qr(r))&&(a=Eg(t)),Jt(t)?(c=Cn(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):r&&(c.x=Xr(r))),{x:s.left+a.scrollLeft-c.x,y:s.top+a.scrollTop-c.y,width:s.width,height:s.height}}function Cg(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 kg(e){var t=Cg(e);return zp.reduce(function(n,i){return n.concat(t.filter(function(o){return o.phase===i}))},[])}function Dg(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function Sg(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 Pl={placement:"bottom",modifiers:[],strategy:"absolute"};function Bl(){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 Mg(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,i=n===void 0?[]:n,o=t.defaultOptions,r=o===void 0?Pl:o;return function(a,c,l){l===void 0&&(l=r);var A={placement:"bottom",orderedModifiers:[],options:Object.assign({},Pl,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:en(a)?ai(a):a.contextElement?ai(a.contextElement):[],popper:ai(c)};var _=kg(Sg([].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(Bl(w,_)){A.rects={reference:Bg(w,ri(_),A.options.strategy==="fixed"),popper:Yr(_)},A.reset=!1,A.placement=A.options.placement,A.orderedModifiers.forEach(function(S){return A.modifiersData[S.name]=Object.assign({},S.data)});for(var m=0;m<A.orderedModifiers.length;m++){if(A.reset===!0){A.reset=!1,m=-1;continue}var x=A.orderedModifiers[m],y=x.fn,E=x.options,P=E===void 0?{}:E,C=x.name;typeof y=="function"&&(A=y({state:A,options:P,name:C,instance:h})||A)}}}},update:Dg(function(){return new Promise(function(b){h.forceUpdate(),b(A)})}),destroy:function(){g(),u=!0}};if(!Bl(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 x=m({state:A,name:v,instance:h,options:_}),y=function(){};d.push(x||y)}})}function g(){d.forEach(function(b){return b()}),d=[]}return h}}var Tg=[eg,vg,$p,dl,mg,ug,xg,Xp,fg],Ig=Mg({defaultModifiers:Tg}),Og="tippy-box",Cl="tippy-content",Qg="tippy-backdrop",kl="tippy-arrow",Dl="tippy-svg-arrow",on={passive:!0,capture:!0},Sl=function(){return document.body};function Zr(e,t,n){if(Array.isArray(e)){var i=e[t];return i??(Array.isArray(n)?n[t]:n)}return e}function $r(e,t){var n={}.toString.call(e);return n.indexOf("[object")===0&&n.indexOf(t+"]")>-1}function Ml(e,t){return typeof e=="function"?e.apply(void 0,t):e}function Tl(e,t){if(t===0)return e;var n;return function(i){clearTimeout(n),n=setTimeout(function(){e(i)},t)}}function Lg(e){return e.split(/\s+/).filter(Boolean)}function Dn(e){return[].concat(e)}function Il(e,t){e.indexOf(t)===-1&&e.push(t)}function Rg(e){return e.filter(function(t,n){return e.indexOf(t)===n})}function Hg(e){return e.split("-")[0]}function io(e){return[].slice.call(e)}function Ol(e){return Object.keys(e).reduce(function(t,n){return e[n]!==void 0&&(t[n]=e[n]),t},{})}function li(){return document.createElement("div")}function oo(e){return["Element","Fragment"].some(function(t){return $r(e,t)})}function Fg(e){return $r(e,"NodeList")}function zg(e){return $r(e,"MouseEvent")}function Ng(e){return!!(e&&e._tippy&&e._tippy.reference===e)}function Ug(e){return oo(e)?[e]:Fg(e)?io(e):Array.isArray(e)?e:io(document.querySelectorAll(e))}function ts(e,t){e.forEach(function(n){n&&(n.style.transitionDuration=t+"ms")})}function Ql(e,t){e.forEach(function(n){n&&n.setAttribute("data-state",t)})}function jg(e){var t,n=Dn(e),i=n[0];return i!=null&&(t=i.ownerDocument)!=null&&t.body?i.ownerDocument:document}function Vg(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=Hg(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 es(e,t,n){var i=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(o){e[i](o,n)})}function Ll(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 me={isTouch:!1},Rl=0;function Wg(){me.isTouch||(me.isTouch=!0,window.performance&&document.addEventListener("mousemove",Hl))}function Hl(){var e=performance.now();e-Rl<20&&(me.isTouch=!1,document.removeEventListener("mousemove",Hl)),Rl=e}function Yg(){var e=document.activeElement;if(Ng(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}function Gg(){document.addEventListener("touchstart",Wg,on),window.addEventListener("blur",Yg)}var Kg=typeof window<"u"&&typeof document<"u",Xg=Kg?!!window.msCrypto:!1,qg={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},Jg={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},ae=Object.assign({appendTo:Sl,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},qg,Jg),Zg=Object.keys(ae),$g=function(t){var n=Object.keys(t);n.forEach(function(i){ae[i]=t[i]})};function Fl(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=ae[r])!=null?a:s}return i},{});return Object.assign({},e,n)}function t0(e,t){var n=t?Object.keys(Fl(Object.assign({},ae,{plugins:t}))):Zg,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 zl(e,t){var n=Object.assign({},t,{content:Ml(t.content,[e])},t.ignoreAttributes?{}:t0(e,t.plugins));return n.aria=Object.assign({},ae.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}var e0=function(){return"innerHTML"};function ns(e,t){e[e0()]=t}function Nl(e){var t=li();return e===!0?t.className=kl:(t.className=Dl,oo(e)?t.appendChild(e):ns(t,e)),t}function Ul(e,t){oo(t.content)?(ns(e,""),e.appendChild(t.content)):typeof t.content!="function"&&(t.allowHTML?ns(e,t.content):e.textContent=t.content)}function is(e){var t=e.firstElementChild,n=io(t.children);return{box:t,content:n.find(function(i){return i.classList.contains(Cl)}),arrow:n.find(function(i){return i.classList.contains(kl)||i.classList.contains(Dl)}),backdrop:n.find(function(i){return i.classList.contains(Qg)})}}function jl(e){var t=li(),n=li();n.className=Og,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var i=li();i.className=Cl,i.setAttribute("data-state","hidden"),Ul(i,e.props),t.appendChild(n),n.appendChild(i),o(e.props,e.props);function o(r,s){var a=is(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)&&Ul(l,e.props),s.arrow?A?r.arrow!==s.arrow&&(c.removeChild(A),c.appendChild(Nl(s.arrow))):c.appendChild(Nl(s.arrow)):A&&c.removeChild(A)}return{popper:t,onUpdate:o}}jl.$$tippy=!0;var n0=1,ro=[],os=[];function i0(e,t){var n=zl(e,Object.assign({},ae,Fl(Ol(t)))),i,o,r,s=!1,a=!1,c=!1,l=!1,A,d,u,h=[],p=Tl(zn,n.interactiveDebounce),g,b=n0++,v=null,w=Rg(n.plugins),_={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},m={id:b,reference:e,popper:li(),popperInstance:v,props:n,state:_,plugins:w,clearDelayTimeouts:Zo,setProps:$o,setContent:tr,show:Uy,hide:jy,hideWithInteractivity:Vy,enable:Ii,disable:Jo,unmount:Wy,destroy:Yy};if(!n.render)return m;var x=n.render(m),y=x.popper,E=x.onUpdate;y.setAttribute("data-tippy-root",""),y.id="tippy-"+m.id,m.popper=y,e._tippy=m,y._tippy=m;var P=w.map(function(D){return D.fn(m)}),C=e.hasAttribute("aria-expanded");return _e(),V(),T(),F("onCreate",[m]),n.showOnCreate&&Ti(),y.addEventListener("mouseenter",function(){m.props.interactive&&m.state.isVisible&&m.clearDelayTimeouts()}),y.addEventListener("mouseleave",function(){m.props.interactive&&m.props.trigger.indexOf("mouseenter")>=0&&O().addEventListener("mousemove",p)}),m;function S(){var D=m.props.touch;return Array.isArray(D)?D:[D,0]}function B(){return S()[0]==="hold"}function k(){var D;return!!((D=m.props.render)!=null&&D.$$tippy)}function M(){return g||e}function O(){var D=M().parentNode;return D?jg(D):document}function Q(){return is(y)}function I(D){return m.state.isMounted&&!m.state.isVisible||me.isTouch||A&&A.type==="focus"?0:Zr(m.props.delay,D?0:1,ae.delay)}function T(D){D===void 0&&(D=!1),y.style.pointerEvents=m.props.interactive&&!D?"":"none",y.style.zIndex=""+m.props.zIndex}function F(D,R,X){if(X===void 0&&(X=!0),P.forEach(function(rt){rt[D]&&rt[D].apply(rt,R)}),X){var lt;(lt=m.props)[D].apply(lt,R)}}function H(){var D=m.props.aria;if(D.content){var R="aria-"+D.content,X=y.id,lt=Dn(m.props.triggerTarget||e);lt.forEach(function(rt){var Lt=rt.getAttribute(R);if(m.state.isVisible)rt.setAttribute(R,Lt?Lt+" "+X:X);else{var ne=Lt&&Lt.replace(X,"").trim();ne?rt.setAttribute(R,ne):rt.removeAttribute(R)}})}}function V(){if(!(C||!m.props.aria.expanded)){var D=Dn(m.props.triggerTarget||e);D.forEach(function(R){m.props.interactive?R.setAttribute("aria-expanded",m.state.isVisible&&R===M()?"true":"false"):R.removeAttribute("aria-expanded")})}}function z(){O().removeEventListener("mousemove",p),ro=ro.filter(function(D){return D!==p})}function K(D){if(!(me.isTouch&&(c||D.type==="mousedown"))){var R=D.composedPath&&D.composedPath()[0]||D.target;if(!(m.props.interactive&&Ll(y,R))){if(Dn(m.props.triggerTarget||e).some(function(X){return Ll(X,R)})){if(me.isTouch||m.state.isVisible&&m.props.trigger.indexOf("click")>=0)return}else F("onClickOutside",[m,D]);m.props.hideOnClick===!0&&(m.clearDelayTimeouts(),m.hide(),a=!0,setTimeout(function(){a=!1}),m.state.isMounted||dt())}}}function nt(){c=!0}function W(){c=!1}function J(){var D=O();D.addEventListener("mousedown",K,!0),D.addEventListener("touchend",K,on),D.addEventListener("touchstart",W,on),D.addEventListener("touchmove",nt,on)}function dt(){var D=O();D.removeEventListener("mousedown",K,!0),D.removeEventListener("touchend",K,on),D.removeEventListener("touchstart",W,on),D.removeEventListener("touchmove",nt,on)}function xt(D,R){yt(D,function(){!m.state.isVisible&&y.parentNode&&y.parentNode.contains(y)&&R()})}function Qt(D,R){yt(D,R)}function yt(D,R){var X=Q().box;function lt(rt){rt.target===X&&(es(X,"remove",lt),R())}if(D===0)return R();es(X,"remove",d),es(X,"add",lt),d=lt}function kt(D,R,X){X===void 0&&(X=!1);var lt=Dn(m.props.triggerTarget||e);lt.forEach(function(rt){rt.addEventListener(D,R,X),h.push({node:rt,eventType:D,handler:R,options:X})})}function _e(){B()&&(kt("touchstart",Ie,{passive:!0}),kt("touchend",Nn,{passive:!0})),Lg(m.props.trigger).forEach(function(D){if(D!=="manual")switch(kt(D,Ie),D){case"mouseenter":kt("mouseleave",Nn);break;case"focus":kt(Xg?"focusout":"blur",fn);break;case"focusin":kt("focusout",fn);break}})}function qe(){h.forEach(function(D){var R=D.node,X=D.eventType,lt=D.handler,rt=D.options;R.removeEventListener(X,lt,rt)}),h=[]}function Ie(D){var R,X=!1;if(!(!m.state.isEnabled||Mi(D)||a)){var lt=((R=A)==null?void 0:R.type)==="focus";A=D,g=D.currentTarget,V(),!m.state.isVisible&&zg(D)&&ro.forEach(function(rt){return rt(D)}),D.type==="click"&&(m.props.trigger.indexOf("mouseenter")<0||s)&&m.props.hideOnClick!==!1&&m.state.isVisible?X=!0:Ti(D),D.type==="click"&&(s=!X),X&&!lt&&pn(D)}}function zn(D){var R=D.target,X=M().contains(R)||y.contains(R);if(!(D.type==="mousemove"&&X)){var lt=Je().concat(y).map(function(rt){var Lt,ne=rt._tippy,Un=(Lt=ne.popperInstance)==null?void 0:Lt.state;return Un?{popperRect:rt.getBoundingClientRect(),popperState:Un,props:n}:null}).filter(Boolean);Vg(lt,D)&&(z(),pn(D))}}function Nn(D){var R=Mi(D)||m.props.trigger.indexOf("click")>=0&&s;if(!R){if(m.props.interactive){m.hideWithInteractivity(D);return}pn(D)}}function fn(D){m.props.trigger.indexOf("focusin")<0&&D.target!==M()||m.props.interactive&&D.relatedTarget&&y.contains(D.relatedTarget)||pn(D)}function Mi(D){return me.isTouch?B()!==D.type.indexOf("touch")>=0:!1}function Xo(){qo();var D=m.props,R=D.popperOptions,X=D.placement,lt=D.offset,rt=D.getReferenceClientRect,Lt=D.moveTransition,ne=k()?is(y).arrow:null,Un=rt?{getBoundingClientRect:rt,contextElement:rt.contextElement||M()}:e,mu={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(er){var jn=er.state;if(k()){var Gy=Q(),ra=Gy.box;["placement","reference-hidden","escaped"].forEach(function(nr){nr==="placement"?ra.setAttribute("data-placement",jn.placement):jn.attributes.popper["data-popper-"+nr]?ra.setAttribute("data-"+nr,""):ra.removeAttribute("data-"+nr)}),jn.attributes.popper={}}}},gn=[{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:!Lt}},mu];k()&&ne&&gn.push({name:"arrow",options:{element:ne,padding:3}}),gn.push.apply(gn,(R==null?void 0:R.modifiers)||[]),m.popperInstance=Ig(Un,y,Object.assign({},R,{placement:X,onFirstUpdate:u,modifiers:gn}))}function qo(){m.popperInstance&&(m.popperInstance.destroy(),m.popperInstance=null)}function Oe(){var D=m.props.appendTo,R,X=M();m.props.interactive&&D===Sl||D==="parent"?R=X.parentNode:R=Ml(D,[X]),R.contains(y)||R.appendChild(y),m.state.isMounted=!0,Xo()}function Je(){return io(y.querySelectorAll("[data-tippy-root]"))}function Ti(D){m.clearDelayTimeouts(),D&&F("onTrigger",[m,D]),J();var R=I(!0),X=S(),lt=X[0],rt=X[1];me.isTouch&<==="hold"&&rt&&(R=rt),R?i=setTimeout(function(){m.show()},R):m.show()}function pn(D){if(m.clearDelayTimeouts(),F("onUntrigger",[m,D]),!m.state.isVisible){dt();return}if(!(m.props.trigger.indexOf("mouseenter")>=0&&m.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(D.type)>=0&&s)){var R=I(!1);R?o=setTimeout(function(){m.state.isVisible&&m.hide()},R):r=requestAnimationFrame(function(){m.hide()})}}function Ii(){m.state.isEnabled=!0}function Jo(){m.hide(),m.state.isEnabled=!1}function Zo(){clearTimeout(i),clearTimeout(o),cancelAnimationFrame(r)}function $o(D){if(!m.state.isDestroyed){F("onBeforeUpdate",[m,D]),qe();var R=m.props,X=zl(e,Object.assign({},R,Ol(D),{ignoreAttributes:!0}));m.props=X,_e(),R.interactiveDebounce!==X.interactiveDebounce&&(z(),p=Tl(zn,X.interactiveDebounce)),R.triggerTarget&&!X.triggerTarget?Dn(R.triggerTarget).forEach(function(lt){lt.removeAttribute("aria-expanded")}):X.triggerTarget&&e.removeAttribute("aria-expanded"),V(),T(),E&&E(R,X),m.popperInstance&&(Xo(),Je().forEach(function(lt){requestAnimationFrame(lt._tippy.popperInstance.forceUpdate)})),F("onAfterUpdate",[m,D])}}function tr(D){m.setProps({content:D})}function Uy(){var D=m.state.isVisible,R=m.state.isDestroyed,X=!m.state.isEnabled,lt=me.isTouch&&!m.props.touch,rt=Zr(m.props.duration,0,ae.duration);if(!(D||R||X||lt)&&!M().hasAttribute("disabled")&&(F("onShow",[m],!1),m.props.onShow(m)!==!1)){if(m.state.isVisible=!0,k()&&(y.style.visibility="visible"),T(),J(),m.state.isMounted||(y.style.transition="none"),k()){var Lt=Q(),ne=Lt.box,Un=Lt.content;ts([ne,Un],0)}u=function(){var gn;if(!(!m.state.isVisible||l)){if(l=!0,y.offsetHeight,y.style.transition=m.props.moveTransition,k()&&m.props.animation){var oa=Q(),er=oa.box,jn=oa.content;ts([er,jn],rt),Ql([er,jn],"visible")}H(),V(),Il(os,m),(gn=m.popperInstance)==null||gn.forceUpdate(),F("onMount",[m]),m.props.animation&&k()&&Qt(rt,function(){m.state.isShown=!0,F("onShown",[m])})}},Oe()}}function jy(){var D=!m.state.isVisible,R=m.state.isDestroyed,X=!m.state.isEnabled,lt=Zr(m.props.duration,1,ae.duration);if(!(D||R||X)&&(F("onHide",[m],!1),m.props.onHide(m)!==!1)){if(m.state.isVisible=!1,m.state.isShown=!1,l=!1,s=!1,k()&&(y.style.visibility="hidden"),z(),dt(),T(!0),k()){var rt=Q(),Lt=rt.box,ne=rt.content;m.props.animation&&(ts([Lt,ne],lt),Ql([Lt,ne],"hidden"))}H(),V(),m.props.animation?k()&&xt(lt,m.unmount):m.unmount()}}function Vy(D){O().addEventListener("mousemove",p),Il(ro,p),p(D)}function Wy(){m.state.isVisible&&m.hide(),m.state.isMounted&&(qo(),Je().forEach(function(D){D._tippy.unmount()}),y.parentNode&&y.parentNode.removeChild(y),os=os.filter(function(D){return D!==m}),m.state.isMounted=!1,F("onHidden",[m]))}function Yy(){m.state.isDestroyed||(m.clearDelayTimeouts(),m.unmount(),qe(),delete e._tippy,m.state.isDestroyed=!0,F("onDestroy",[m]))}}function Ai(e,t){t===void 0&&(t={});var n=ae.plugins.concat(t.plugins||[]);Gg();var i=Object.assign({},t,{plugins:n}),o=Ug(e),r=o.reduce(function(s,a){var c=a&&i0(a,i);return c&&s.push(c),s},[]);return oo(e)?r[0]:r}Ai.defaultProps=ae,Ai.setDefaultProps=$g,Ai.currentInput=me,Object.assign({},dl,{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)}}),Ai.setDefaultProps({render:jl});function o0({color:e="var(--contrast-6)",icon:t="info-circle-fill",tooltip:n}){const i=G(null);return Nt(()=>{i.current&&Ai(i.current,{content:n,theme:"access",appendTo:i.current.parentElement})},[i.current]),f("button",{class:"info-tip",style:{color:e},ref:i,children:f(it,{name:t})})}function r0({infoGroupId:e}){const t=It(`https://support.access-ci.org/api/1.0/kb/${e}`);if(!(!t||t.error||!t.length))return f(fe,{title:"Documentation",icon:"book",children:f("ul",{children:t.map(({title:n,description:i,link:o})=>f("li",{children:[f("a",{href:Wa(o),children:n}),i?f(o0,{tooltip:yr(i)}):null]}))})})}function s0({children:e,icon:t="megaphone-fill"}){return f("div",{class:"alert",children:[t?f(it,{name:t}):null,f("div",{class:"alert-body",children:e})]})}function a0({children:e}){const[t,n]=N(!1);return f("div",{class:`expand-text ${t?"expanded":"contracted"}`,children:[e,f("button",{class:"expand-button",onClick:()=>n(!t),children:[f(it,{name:`caret-${t?"up":"left"}-fill`}),t?"Less":"More"]})]})}function c0({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(y=>y.toLocaleString("en-US",{dateStyle:"long"})),[v,w]=[h,p].map(y=>y.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(it,{name:"calendar"}),m.join(" ")),r&&l.push(f(it,{name:"people-fill"}),r),i&&l.push(f(it,{name:"geo-alt-fill"}),i);const x=h.toLocaleString("en-US",{dateStyle:"medium"}).split(",")[0].split(" ").map(y=>f("span",{children:y}));A=a?f("a",{href:a,class:"event-icon",children:x}):f("div",{class:"event-icon",children:x})}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(a0,{children:f("p",{children:xr(n)})}):null]})]})}function l0({infoGroupId:e}){const t=qn(e),n=It("https://operations-api.access-ci.org/wh2/news/v1/affiliation/access-ci.org/current_outages/"),i=It("https://operations-api.access-ci.org/wh2/news/v1/affiliation/access-ci.org/future_outages/"),o=It(`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(fe,{title:"Announcements and Events",icon:"calendar3",children:[r.map(({Subject:a,Content:c})=>f(s0,{children:[a," ",f("a",{href:"https://operations.access-ci.org/infrastructure_news_view",children:"Learn more."})]})),s.map(a=>c0(a))]})}function A0({children:e,headingLevel:t=2,title:n}){const[i,o]=N(!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(it,{name:i?"caret-up-fill":"caret-down-fill"})]})}),f("div",{class:"accordion-content",style:{display:i?"block":"none"},children:e})]})}function d0({resource_descriptive_name:e,resource_description:t,compute:n,storage:i}){const o=(n||i||{}).recommended_use;return f(A0,{title:e,children:[t?xr(t):null,o?f(U,{children:[f("h3",{children:"Recommended Use"}),xr(o)]}):null]})}function u0({infoGroupId:e}){const t=qn(e),n=It(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(U,{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(d0,{...c}));return f(U,{children:[s||a.compute.length>0?f(fe,{title:"Compute Resources",icon:"cpu-fill",children:[a.compute,s&&f(U,{children:[f("h3",{children:"Specifications"}),f(Zi,{columns:[r,...i],rows:o,maxHeight:null})]})]}):null,a.storage.length>0?f(fe,{title:"Storage Resources",icon:"hdd-fill",children:a.storage}):null,a.other.length>0?f(fe,{title:"Other Resources",icon:"stars",children:a.other}):null]})}/*!
|
|
75
11
|
* Glide.js v3.6.2
|
|
76
12
|
* (c) 2013-2024 Jędrzej Chałubek (https://github.com/jedrzejchalubek/)
|
|
77
13
|
* Released under the MIT License.
|
|
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})]})]}))})})}/*!
|
|
14
|
+
*/function Vl(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 Wl(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Vl(Object(n),!0).forEach(function(i){f0(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vl(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function so(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?so=function(t){return typeof t}:so=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},so(e)}function ao(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h0(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 co(e,t,n){return t&&h0(e.prototype,t),e}function f0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p0(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&&rs(e,t)}function Sn(e){return Sn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Sn(e)}function rs(e,t){return rs=Object.setPrototypeOf||function(i,o){return i.__proto__=o,i},rs(e,t)}function g0(){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 m0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b0(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 m0(e)}function v0(e){var t=g0();return function(){var i=Sn(e),o;if(t){var r=Sn(this).constructor;o=Reflect.construct(i,arguments,r)}else o=i.apply(this,arguments);return b0(this,o)}}function w0(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Sn(e),e!==null););return e}function lo(){return typeof Reflect<"u"&&Reflect.get?lo=Reflect.get:lo=function(t,n,i){var o=w0(t,n);if(o){var r=Object.getOwnPropertyDescriptor(o,n);return r.get?r.get.call(arguments.length<3?t:i):r.value}},lo.apply(this,arguments)}var y0={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 Ne(e){console.error("[Glide warn]: ".concat(e))}function ce(e){return parseInt(e)}function ss(e){return typeof e=="string"}function di(e){var t=so(e);return t==="function"||t==="object"&&!!e}function Ao(e){return typeof e=="function"}function x0(e){return typeof e>"u"}function as(e){return e.constructor===Array}function _0(e,t,n){var i={};for(var o in t)Ao(t[o])?i[o]=t[o](e,i,n):Ne("Extension must be a function");for(var r in i)Ao(i[r].mount)&&i[r].mount();return i}function vt(e,t,n){Object.defineProperty(e,t,n)}function Yl(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]=Wl(Wl({},e.classes[o]),t.classes[o]))})}return t.hasOwnProperty("breakpoints")&&(n.breakpoints=Object.assign({},e.breakpoints,t.breakpoints)),n}var E0=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ao(this,e),this.events=t,this.hop=t.hasOwnProperty}return co(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}(),P0=function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};ao(this,e),this._c={},this._t=[],this._e=new E0,this.disabled=!1,this.selector=t,this.settings=Yl(y0,n),this.index=this.settings.startAt}return co(e,[{key:"mount",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this._e.emit("mount.before"),di(n)?this._c=_0(this,n,this._e):Ne("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:Ne("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=Yl(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){di(n)?this._o=n:Ne("Options must be an `object` instance.")}},{key:"index",get:function(){return this._i},set:function(n){this._i=ce(n)}},{key:"type",get:function(){return this.settings.type}},{key:"disabled",get:function(){return this._d},set:function(n){this._d=!!n}}]),e}();function B0(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&&ce(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}Ne("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 vt(i,"move",{get:function(){return this._m},set:function(l){var A=l.substr(1);this._m={direction:l.substr(0,1),steps:A?ce(A)?ce(A):A:0}}}),vt(i,"length",{get:function(){var l=e.settings,A=t.Html.slides.length;return this.isBound()?A-1-(ce(l.perView)-1)+ce(l.focusAt):A-1}}),vt(i,"offset",{get:function(){return this._o}}),i}function Gl(){return new Date().getTime()}function Kl(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:Gl(),i=null,s=e.apply(o,r),i||(o=r=null)},l=function(){var d=Gl();!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 uo={ltr:["marginLeft","marginRight"],rtl:["marginRight","marginLeft"]};function C0(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[uo[l][0]]="".concat(this.value/2,"px"):c[uo[l][0]]="",s!==r.length-1?c[uo[l][1]]="".concat(this.value/2,"px"):c[uo[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 vt(i,"value",{get:function(){return ce(e.settings.gap)}}),vt(i,"grow",{get:function(){return i.value*t.Sizes.length}}),vt(i,"reductor",{get:function(){var r=e.settings.perView;return i.value*(r-1)/r}}),n.on(["build.after","update"],Kl(function(){i.apply(t.Html.wrapper.children)},30)),n.on("destroy",function(){i.remove(t.Html.wrapper.children)}),i}function Xl(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 cs(e){return Array.prototype.slice.call(e)}var k0='[data-glide-el="track"]';function D0(e,t,n){var i={mount:function(){this.root=e.selector,this.track=this.root.querySelector(k0),this.collectSlides()},collectSlides:function(){this.slides=cs(this.wrapper.children).filter(function(r){return!r.classList.contains(e.settings.classes.slide.clone)})}};return vt(i,"root",{get:function(){return i._r},set:function(r){ss(r)&&(r=document.querySelector(r)),r!==null?i._r=r:Ne("Root element must be a existing Html node")}}),vt(i,"track",{get:function(){return i._t},set:function(r){i._t=r}}),vt(i,"wrapper",{get:function(){return i.track.children[0]}}),n.on("update",function(){i.collectSlides()}),i}function S0(e,t,n){var i={mount:function(){this.value=e.settings.peek}};return vt(i,"value",{get:function(){return i._v},set:function(r){di(r)?(r.before=ce(r.before),r.after=ce(r.after)):r=ce(r),i._v=r}}),vt(i,"reductor",{get:function(){var r=i.value,s=e.settings.perView;return di(r)?r.before/s+r.after/s:r*2/s}}),n.on(["resize","update"],function(){i.mount()}),i}function M0(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 vt(i,"offset",{get:function(){return i._o},set:function(r){i._o=x0(r)?0:ce(r)}}),vt(i,"translate",{get:function(){return t.Sizes.slideWidth*e.index}}),vt(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 T0(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 vt(i,"length",{get:function(){return t.Html.slides.length}}),vt(i,"width",{get:function(){return t.Html.track.offsetWidth}}),vt(i,"wrapperSize",{get:function(){return i.slideWidth*i.length+t.Gaps.grow+t.Clones.grow}}),vt(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 I0(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),Xl(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 O0(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 vt(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 ql=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ao(this,e),this.listeners=t}return co(e,[{key:"on",value:function(n,i,o){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;ss(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;ss(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 Q0(e,t,n){var i=new ql,o={mount:function(){this.bind()},bind:function(){i.on("resize",window,Kl(function(){n.emit("resize")},e.settings.throttle))},unbind:function(){i.off("resize",window)}};return n.on("destroy",function(){o.unbind(),i.destroy()}),o}var L0=["ltr","rtl"],R0={">":"<","<":">","=":"="};function H0(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(R0[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 vt(i,"value",{get:function(){return i._v},set:function(r){L0.indexOf(r)>-1?i._v=r:Ne("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 F0(e,t){return{modify:function(i){return t.Direction.is("rtl")?-i:i}}}function z0(e,t){return{modify:function(i){var o=Math.floor(i/t.Sizes.slideWidth);return i+t.Gaps.value*o}}}function N0(e,t){return{modify:function(i){return i+t.Clones.grow/2}}}function U0(e,t){return{modify:function(i){if(e.settings.focusAt>=0){var o=t.Peek.value;return di(o)?i-o.before:i-o}return i}}}function j0(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 V0(e,t,n){var i=[z0,N0,U0,j0].concat(e._t,[F0]);return{mutate:function(r){for(var s=0;s<i.length;s++){var a=i[s];Ao(a)&&Ao(a().modify)?r=a(e,t,n).modify(r):Ne("Transformer should be a function that returns an object with `modify()` method")}return r}}}function W0(e,t,n){var i={set:function(r){var s=V0(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 Y0(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 vt(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 Jl=!1;try{var Zl=Object.defineProperty({},"passive",{get:function(){Jl=!0}});window.addEventListener("testPassive",null,Zl),window.removeEventListener("testPassive",null,Zl)}catch{}var $l=Jl,G0='[data-glide-el="controls[nav]"]',ls='[data-glide-el^="controls"]',K0="".concat(ls,' [data-glide-dir*="<"]'),X0="".concat(ls,' [data-glide-dir*=">"]');function q0(e,t,n){var i=new ql,o=$l?{passive:!0}:!1,r={mount:function(){this._n=t.Html.root.querySelectorAll(G0),this._c=t.Html.root.querySelectorAll(ls),this._arrowControls={previous:t.Html.root.querySelectorAll(K0),next:t.Html.root.querySelectorAll(X0)},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),Xl(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){cs(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){cs(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){!$l&&a.type==="touchstart"&&a.preventDefault();var c=a.currentTarget.getAttribute("data-glide-dir");t.Run.make(t.Direction.resolve(c))}};return vt(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 J0={Html:D0,Translate:W0,Transition:Y0,Direction:H0,Peek:S0,Sizes:T0,Gaps:C0,Move:M0,Clones:O0,Resize:Q0,Build:I0,Run:B0},Z0=function(e){p0(n,e);var t=v0(n);function n(){return ao(this,n),t.apply(this,arguments)}return co(n,[{key:"mount",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return lo(Sn(n.prototype),"mount",this).call(this,Object.assign({},J0,o))}}]),n}(P0);function ho({children:e,cssClass:t=""}){const n=G(null);return et(()=>{n.current&&new Z0(n.current).mount({Controls:q0})},[]),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 tA({children:e}){return f("li",{class:"glide__slide",children:e})}function $0({title:e,description:t,linkText:n,linkURI:i,imageURI:o,imageAltText:r}){return f(tA,{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})]})]})})}ho.Slide=tA,ho.ImageSlide=$0;function tm({children:e,maxHeight:t="400px"}){return f("div",{class:"scroll-text",children:f("div",{class:"scroll-text-inner",style:{maxHeight:t},children:e})})}const em="https://allocations.access-ci.org/current-projects.json";function fo({icon:e,text:t,title:n}){if(t)return f("abbr",{class:"project-meta",title:n,children:[f(it,{name:e}),t]})}function nm({infoGroupId:e}){const t=qn(e),n=It(t?`${em}?${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(fe,{title:"Recent Projects",icon:"pc-display",children:f(ho,{cssClass:"carousel-projects",children:n.projects.map(o=>f(ho.Slide,{children:[f("h3",{children:o.requestTitle}),f("div",{class:"project-metadata",children:[f(fo,{icon:"cash-coin",text:o.allocationType,title:"Allocation Type"}),f(fo,{icon:"person-fill",text:`${o.pi} (${o.piInstitution})`,title:"Primary Investigator"}),f(fo,{icon:"folder",text:o.fos,title:"Field of Science"}),f(fo,{icon:"calendar-range",text:[o.beginDate,o.endDate].map(r=>new Date(r).toLocaleString("en-US",{dateStyle:"medium"})).join(" to "),title:"Project Dates"})]}),f(tm,{children:[f("p",{children:o.abstract}),f(Zi,{columns:i,rows:o.resources,maxHeight:null})]})]}))})})}/*!
|
|
79
15
|
* @kurkle/color v0.3.2
|
|
80
16
|
* https://github.com/kurkle/color#readme
|
|
81
17
|
* (c) 2023 Jukka Kurkela
|
|
82
18
|
* Released under the MIT License
|
|
83
|
-
*/function
|
|
19
|
+
*/function ui(e){return e+.5|0}const Ue=(e,t,n)=>Math.max(Math.min(e,n),t);function hi(e){return Ue(ui(e*2.55),0,255)}function je(e){return Ue(ui(e*255),0,255)}function ke(e){return Ue(ui(e/2.55)/100,0,1)}function eA(e){return Ue(ui(e*100),0,100)}const Zt={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},As=[..."0123456789ABCDEF"],im=e=>As[e&15],om=e=>As[(e&240)>>4]+As[e&15],po=e=>(e&240)>>4===(e&15),rm=e=>po(e.r)&&po(e.g)&&po(e.b)&&po(e.a);function sm(e){var t=e.length,n;return e[0]==="#"&&(t===4||t===5?n={r:255&Zt[e[1]]*17,g:255&Zt[e[2]]*17,b:255&Zt[e[3]]*17,a:t===5?Zt[e[4]]*17:255}:(t===7||t===9)&&(n={r:Zt[e[1]]<<4|Zt[e[2]],g:Zt[e[3]]<<4|Zt[e[4]],b:Zt[e[5]]<<4|Zt[e[6]],a:t===9?Zt[e[7]]<<4|Zt[e[8]]:255})),n}const am=(e,t)=>e<255?t(e):"";function cm(e){var t=rm(e)?im:om;return e?"#"+t(e.r)+t(e.g)+t(e.b)+am(e.a,t):void 0}const lm=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function nA(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 Am(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 dm(e,t,n){const i=nA(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 um(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 ds(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=um(n,i,o,A,r),c=c*60+.5),[c|0,l||0,a]}function us(e,t,n,i){return(Array.isArray(t)?e(t[0],t[1],t[2]):e(t,n,i)).map(je)}function hs(e,t,n){return us(nA,e,t,n)}function hm(e,t,n){return us(dm,e,t,n)}function fm(e,t,n){return us(Am,e,t,n)}function iA(e){return(e%360+360)%360}function pm(e){const t=lm.exec(e);let n=255,i;if(!t)return;t[5]!==i&&(n=t[6]?hi(+t[5]):je(+t[5]));const o=iA(+t[2]),r=+t[3]/100,s=+t[4]/100;return t[1]==="hwb"?i=hm(o,r,s):t[1]==="hsv"?i=fm(o,r,s):i=hs(o,r,s),{r:i[0],g:i[1],b:i[2],a:n}}function gm(e,t){var n=ds(e);n[0]=iA(n[0]+t),n=hs(n),e.r=n[0],e.g=n[1],e.b=n[2]}function mm(e){if(!e)return;const t=ds(e),n=t[0],i=eA(t[1]),o=eA(t[2]);return e.a<255?`hsla(${n}, ${i}%, ${o}%, ${ke(e.a)})`:`hsl(${n}, ${i}%, ${o}%)`}const oA={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"},rA={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 bm(){const e={},t=Object.keys(rA),n=Object.keys(oA);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,oA[r]);r=parseInt(rA[s],16),e[a]=[r>>16&255,r>>8&255,r&255]}return e}let go;function vm(e){go||(go=bm(),go.transparent=[0,0,0,0]);const t=go[e.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:t.length===4?t[3]:255}}const wm=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function ym(e){const t=wm.exec(e);let n=255,i,o,r;if(t){if(t[7]!==i){const s=+t[7];n=t[8]?hi(s):Ue(s*255,0,255)}return i=+t[1],o=+t[3],r=+t[5],i=255&(t[2]?hi(i):Ue(i,0,255)),o=255&(t[4]?hi(o):Ue(o,0,255)),r=255&(t[6]?hi(r):Ue(r,0,255)),{r:i,g:o,b:r,a:n}}}function xm(e){return e&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${ke(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`)}const fs=e=>e<=.0031308?e*12.92:Math.pow(e,1/2.4)*1.055-.055,Mn=e=>e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4);function _m(e,t,n){const i=Mn(ke(e.r)),o=Mn(ke(e.g)),r=Mn(ke(e.b));return{r:je(fs(i+n*(Mn(ke(t.r))-i))),g:je(fs(o+n*(Mn(ke(t.g))-o))),b:je(fs(r+n*(Mn(ke(t.b))-r))),a:e.a+n*(t.a-e.a)}}function mo(e,t,n){if(e){let i=ds(e);i[t]=Math.max(0,Math.min(i[t]+i[t]*n,t===0?360:1)),i=hs(i),e.r=i[0],e.g=i[1],e.b=i[2]}}function sA(e,t){return e&&Object.assign(t||{},e)}function aA(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=je(e[3]))):(t=sA(e,{r:0,g:0,b:0,a:1}),t.a=je(t.a)),t}function Em(e){return e.charAt(0)==="r"?ym(e):pm(e)}class fi{constructor(t){if(t instanceof fi)return t;const n=typeof t;let i;n==="object"?i=aA(t):n==="string"&&(i=sm(t)||vm(t)||Em(t)),this._rgb=i,this._valid=!!i}get valid(){return this._valid}get rgb(){var t=sA(this._rgb);return t&&(t.a=ke(t.a)),t}set rgb(t){this._rgb=aA(t)}rgbString(){return this._valid?xm(this._rgb):void 0}hexString(){return this._valid?cm(this._rgb):void 0}hslString(){return this._valid?mm(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=_m(this._rgb,t._rgb,n)),this}clone(){return new fi(this.rgb)}alpha(t){return this._rgb.a=je(t),this}clearer(t){const n=this._rgb;return n.a*=1-t,this}greyscale(){const t=this._rgb,n=ui(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 mo(this._rgb,2,t),this}darken(t){return mo(this._rgb,2,-t),this}saturate(t){return mo(this._rgb,1,t),this}desaturate(t){return mo(this._rgb,1,-t),this}rotate(t){return gm(this._rgb,t),this}}/*!
|
|
84
20
|
* Chart.js v4.4.6
|
|
85
21
|
* https://www.chartjs.org
|
|
86
22
|
* (c) 2024 Chart.js Contributors
|
|
87
23
|
* Released under the MIT License
|
|
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]))}/*!
|
|
24
|
+
*/function De(){}const Pm=(()=>{let e=0;return()=>e++})();function ht(e){return e===null||typeof e>"u"}function _t(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 ot(e){return e!==null&&Object.prototype.toString.call(e)==="[object Object]"}function $t(e){return(typeof e=="number"||e instanceof Number)&&isFinite(+e)}function be(e,t){return $t(e)?e:t}function at(e,t){return typeof e>"u"?t:e}const Bm=(e,t)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100:+e/t,cA=(e,t)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100*t:+e;function ft(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(_t(e))for(r=e.length,o=0;o<r;o++)t.call(n,e[o],o);else if(ot(e))for(s=Object.keys(e),r=s.length,o=0;o<r;o++)t.call(n,e[s[o]],s[o])}function bo(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 vo(e){if(_t(e))return e.map(vo);if(ot(e)){const t=Object.create(null),n=Object.keys(e),i=n.length;let o=0;for(;o<i;++o)t[n[o]]=vo(e[n[o]]);return t}return e}function lA(e){return["__proto__","prototype","constructor"].indexOf(e)===-1}function Cm(e,t,n,i){if(!lA(e))return;const o=t[e],r=n[e];ot(o)&&ot(r)?pi(o,r,i):t[e]=vo(r)}function pi(e,t,n){const i=_t(t)?t:[t],o=i.length;if(!ot(e))return e;n=n||{};const r=n.merger||Cm;let s;for(let a=0;a<o;++a){if(s=i[a],!ot(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 gi(e,t){return pi(e,t,{merger:km})}function km(e,t,n){if(!lA(e))return;const i=t[e],o=n[e];ot(i)&&ot(o)?gi(i,o):Object.prototype.hasOwnProperty.call(t,e)||(t[e]=vo(o))}const AA={"":e=>e,x:e=>e.x,y:e=>e.y};function Dm(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 Sm(e){const t=Dm(e);return n=>{for(const i of t){if(i==="")break;n=n&&n[i]}return n}}function Ve(e,t){return(AA[t]||(AA[t]=Sm(t)))(e)}function ps(e){return e.charAt(0).toUpperCase()+e.slice(1)}const mi=e=>typeof e<"u",We=e=>typeof e=="function",dA=(e,t)=>{if(e.size!==t.size)return!1;for(const n of e)if(!t.has(n))return!1;return!0};function Mm(e){return e.type==="mouseup"||e.type==="click"||e.type==="contextmenu"}const Et=Math.PI,jt=2*Et,wo=Number.POSITIVE_INFINITY,Tm=Et/180,Vt=Et/2,rn=Et/4,uA=Et*2/3,gs=Math.log10,Ye=Math.sign;function yo(e,t,n){return Math.abs(e-t)<n}function hA(e){const t=Math.round(e);e=yo(e,t,e/1e3)?t:e;const n=Math.pow(10,Math.floor(gs(e))),i=e/n;return(i<=1?1:i<=2?2:i<=5?5:10)*n}function Im(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 xo(e){return!isNaN(parseFloat(e))&&isFinite(e)}function Om(e,t){const n=Math.round(e);return n-t<=e&&n+t>=e}function Qm(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 ve(e){return e*(Et/180)}function Lm(e){return e*(180/Et)}function fA(e){if(!$t(e))return;let t=1,n=0;for(;Math.round(e*t)/t!==e;)t*=10,n++;return n}function Rm(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*Et&&(r+=jt),{angle:r,distance:o}}function Hm(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function sn(e){return(e%jt+jt)%jt}function ms(e,t,n,i){const o=sn(e),r=sn(t),s=sn(n),a=sn(r-o),c=sn(s-o),l=sn(o-r),A=sn(o-s);return o===r||o===s||i&&r===s||a>c&&l<A}function le(e,t,n){return Math.max(t,Math.min(n,e))}function Fm(e){return le(e,-32768,32767)}function Tn(e,t,n,i=1e-6){return e>=Math.min(t,n)-i&&e<=Math.max(t,n)+i}function bs(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 vs=(e,t,n,i)=>bs(e,n,i?o=>{const r=e[o][t];return r<n||r===n&&e[o+1][t]===n}:o=>e[o][t]<n),zm=(e,t,n)=>bs(e,n,i=>e[i][t]>=n);function Nm(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 pA=["push","pop","shift","splice","unshift"];function Um(e,t){if(e._chartjs){e._chartjs.listeners.push(t);return}Object.defineProperty(e,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[t]}}),pA.forEach(n=>{const i="_onData"+ps(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 gA(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)&&(pA.forEach(r=>{delete e[r]}),delete e._chartjs)}function mA(e){const t=new Set(e);return t.size===e.length?e:Array.from(t)}const bA=function(){return typeof window>"u"?function(e){return e()}:window.requestAnimationFrame}();function vA(e,t){let n=[],i=!1;return function(...o){n=o,i||(i=!0,bA.call(window,()=>{i=!1,e.apply(t,n)}))}}function jm(e,t){let n;return function(...i){return t?(clearTimeout(n),n=setTimeout(e,t,i)):e.apply(this,i),t}}const ws=e=>e==="start"?"left":e==="end"?"right":"center",Mt=(e,t,n)=>e==="start"?t:e==="end"?n:(t+n)/2,Vm=(e,t,n,i)=>e===(i?"left":"right")?n:e==="center"?(t+n)/2:t,_o=e=>e===0||e===1,wA=(e,t,n)=>-(Math.pow(2,10*(e-=1))*Math.sin((e-t)*jt/n)),yA=(e,t,n)=>Math.pow(2,-10*e)*Math.sin((e-t)*jt/n)+1,bi={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*Vt)+1,easeOutSine:e=>Math.sin(e*Vt),easeInOutSine:e=>-.5*(Math.cos(Et*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=>_o(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=>_o(e)?e:wA(e,.075,.3),easeOutElastic:e=>_o(e)?e:yA(e,.075,.3),easeInOutElastic(e){return _o(e)?e:e<.5?.5*wA(e*2,.1125,.45):.5+.5*yA(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-bi.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?bi.easeInBounce(e*2)*.5:bi.easeOutBounce(e*2-1)*.5+.5};function xA(e){if(e&&typeof e=="object"){const t=e.toString();return t==="[object CanvasPattern]"||t==="[object CanvasGradient]"}return!1}function _A(e){return xA(e)?e:new fi(e)}function ys(e){return xA(e)?e:new fi(e).saturate(.5).darken(.1).hexString()}const Wm=["x","y","borderWidth","radius","tension"],Ym=["color","borderColor","backgroundColor"];function Gm(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:Ym},numbers:{type:"number",properties:Wm}}),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 Km(e){e.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}const EA=new Map;function Xm(e,t){t=t||{};const n=e+JSON.stringify(t);let i=EA.get(n);return i||(i=new Intl.NumberFormat(e,t),EA.set(n,i)),i}function Eo(e,t,n){return Xm(t,n).format(e)}const PA={values(e){return _t(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=qm(e,n)}const s=gs(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),Eo(e,i,c)},logarithmic(e,t,n){if(e===0)return"0";const i=n[t].significand||e/Math.pow(10,Math.floor(gs(e)));return[1,2,3,5,10,15].includes(i)||t>.8*n.length?PA.numeric.call(this,e,t,n):""}};function qm(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 BA={formatters:PA};function Jm(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:BA.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 an=Object.create(null),xs=Object.create(null);function vi(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 _s(e,t,n){return typeof t=="string"?pi(vi(e,t),n):pi(vi(e,""),t)}class Zm{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)=>ys(o.backgroundColor),this.hoverBorderColor=(i,o)=>ys(o.borderColor),this.hoverColor=(i,o)=>ys(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 _s(this,t,n)}get(t){return vi(this,t)}describe(t,n){return _s(xs,t,n)}override(t,n){return _s(an,t,n)}route(t,n,i,o){const r=vi(this,t),s=vi(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 ot(c)?Object.assign({},l,c):at(c,l)},set(c){this[a]=c}}})}apply(t){t.forEach(n=>n(this))}}var bt=new Zm({_scriptable:e=>!e.startsWith("on"),_indexable:e=>e!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[Gm,Km,Jm]);function $m(e){return!e||ht(e.size)||ht(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family}function CA(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 cn(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 kA(e,t){!t&&!e||(t=t||e.getContext("2d"),t.save(),t.resetTransform(),t.clearRect(0,0,e.width,e.height),t.restore())}function DA(e,t,n,i){SA(e,t,n,i,null)}function SA(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)*Tm;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,jt):e.arc(n,i,g,0,jt),e.closePath();break;case"triangle":A=o?o/2:g,e.moveTo(n+Math.sin(b)*A,i-Math.cos(b)*g),b+=uA,e.lineTo(n+Math.sin(b)*A,i-Math.cos(b)*g),b+=uA,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+rn)*c,d=Math.cos(b+rn)*(o?o/2-l:c),a=Math.sin(b+rn)*c,u=Math.sin(b+rn)*(o?o/2-l:c),e.arc(n-d,i-a,l,b-Et,b-Vt),e.arc(n+u,i-s,l,b-Vt,b),e.arc(n+d,i+a,l,b,b+Vt),e.arc(n-u,i+s,l,b+Vt,b+Et),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+=rn;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+=rn;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+=rn,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 MA(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 Es(e,t){e.save(),e.beginPath(),e.rect(t.left,t.top,t.right-t.left,t.bottom-t.top),e.clip()}function Ps(e){e.restore()}function tb(e,t){t.translation&&e.translate(t.translation[0],t.translation[1]),ht(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 eb(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 nb(e,t){const n=e.fillStyle;e.fillStyle=t.color,e.fillRect(t.left,t.top,t.width,t.height),e.fillStyle=n}function wi(e,t,n,i,o,r={}){const s=_t(t)?t:[t],a=r.strokeWidth>0&&r.strokeColor!=="";let c,l;for(e.save(),e.font=o.string,tb(e,r),c=0;c<s.length;++c)l=s[c],r.backdrop&&nb(e,r.backdrop),a&&(r.strokeColor&&(e.strokeStyle=r.strokeColor),ht(r.strokeWidth)||(e.lineWidth=r.strokeWidth),e.strokeText(l,n,i,r.maxWidth)),e.fillText(l,n,i,r.maxWidth),eb(e,n,i,l,r),i+=Number(o.lineHeight);e.restore()}function Po(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*Et,Et,!0),e.lineTo(n,i+r-s.bottomLeft),e.arc(n+s.bottomLeft,i+r-s.bottomLeft,s.bottomLeft,Et,Vt,!0),e.lineTo(n+o-s.bottomRight,i+r),e.arc(n+o-s.bottomRight,i+r-s.bottomRight,s.bottomRight,Vt,0,!0),e.lineTo(n+o,i+s.topRight),e.arc(n+o-s.topRight,i+s.topRight,s.topRight,0,-Vt,!0),e.lineTo(n+s.topLeft,i)}const ib=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,ob=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function rb(e,t){const n=(""+e).match(ib);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 sb=e=>+e||0;function TA(e,t){const n={},i=ot(t),o=i?Object.keys(t):t,r=ot(e)?i?s=>at(e[s],e[t[s]]):s=>e[s]:()=>e;for(const s of o)n[s]=sb(r(s));return n}function IA(e){return TA(e,{top:"y",right:"x",bottom:"y",left:"x"})}function In(e){return TA(e,["topLeft","topRight","bottomLeft","bottomRight"])}function te(e){const t=IA(e);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function Tt(e,t){e=e||{},t=t||bt.font;let n=at(e.size,t.size);typeof n=="string"&&(n=parseInt(n,10));let i=at(e.style,t.style);i&&!(""+i).match(ob)&&(console.warn('Invalid font style specified: "'+i+'"'),i=void 0);const o={family:at(e.family,t.family),lineHeight:rb(at(e.lineHeight,t.lineHeight),n),size:n,style:i,weight:at(e.weight,t.weight),string:""};return o.string=$m(o),o}function Bo(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 ab(e,t,n){const{min:i,max:o}=e,r=cA(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 On(e,t){return Object.assign(Object.create(e),t)}function Bs(e,t=[""],n,i,o=()=>e[0]){const r=n||e;typeof i>"u"&&(i=HA("_fallback",e));const s={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:e,_rootScopes:r,_fallback:i,_getTarget:o,override:a=>Bs([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 QA(a,c,()=>pb(c,t,e,a))},getOwnPropertyDescriptor(a,c){return Reflect.getOwnPropertyDescriptor(a._scopes[0],c)},getPrototypeOf(){return Reflect.getPrototypeOf(e[0])},has(a,c){return FA(a).includes(c)},ownKeys(a){return FA(a)},set(a,c,l){const A=a._storage||(a._storage=o());return a[c]=A[c]=l,delete a._keys,!0}})}function Qn(e,t,n,i){const o={_cacheable:!1,_proxy:e,_context:t,_subProxy:n,_stack:new Set,_descriptors:OA(e,i),setContext:r=>Qn(e,r,n,i),override:r=>Qn(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 QA(r,s,()=>lb(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 OA(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:We(n)?n:()=>n,isIndexable:We(i)?i:()=>i}}const cb=(e,t)=>e?e+ps(t):t,Cs=(e,t)=>ot(t)&&e!=="adapters"&&(Object.getPrototypeOf(t)===null||t.constructor===Object);function QA(e,t,n){if(Object.prototype.hasOwnProperty.call(e,t)||t==="constructor")return e[t];const i=n();return e[t]=i,i}function lb(e,t,n){const{_proxy:i,_context:o,_subProxy:r,_descriptors:s}=e;let a=i[t];return We(a)&&s.isScriptable(t)&&(a=Ab(t,a,e,n)),_t(a)&&a.length&&(a=db(t,a,e,s.isIndexable)),Cs(t,a)&&(a=Qn(a,o,r&&r[t],s)),a}function Ab(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),Cs(e,c)&&(c=ks(o._scopes,o,e,c)),c}function db(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(ot(t[0])){const c=t,l=o._scopes.filter(A=>A!==c);t=[];for(const A of c){const d=ks(l,o,e,A);t.push(Qn(d,r,s&&s[e],a))}}return t}function LA(e,t,n){return We(e)?e(t,n):e}const ub=(e,t)=>e===!0?t:typeof e=="string"?Ve(t,e):void 0;function hb(e,t,n,i,o){for(const r of t){const s=ub(n,r);if(s){e.add(s);const a=LA(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 ks(e,t,n,i){const o=t._rootScopes,r=LA(t._fallback,n,i),s=[...e,...o],a=new Set;a.add(i);let c=RA(a,s,n,r||n,i);return c===null||typeof r<"u"&&r!==n&&(c=RA(a,s,r,c,i),c===null)?!1:Bs(Array.from(a),[""],o,r,()=>fb(t,n,i))}function RA(e,t,n,i,o){for(;n;)n=hb(e,t,n,i,o);return n}function fb(e,t,n){const i=e._getTarget();t in i||(i[t]={});const o=i[t];return _t(o)&&ot(n)?n:o||{}}function pb(e,t,n,i){let o;for(const r of t)if(o=HA(cb(r,e),n),typeof o<"u")return Cs(e,o)?ks(n,i,e,o):o}function HA(e,t){for(const n of t){if(!n)continue;const i=n[e];if(typeof i<"u")return i}}function FA(e){let t=e._keys;return t||(t=e._keys=gb(e._scopes)),t}function gb(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 mb(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(Ve(A,r),l)};return s}function Ds(){return typeof window<"u"&&typeof document<"u"}function Ss(e){let t=e.parentNode;return t&&t.toString()==="[object ShadowRoot]"&&(t=t.host),t}function Co(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 ko=e=>e.ownerDocument.defaultView.getComputedStyle(e,null);function bb(e,t){return ko(e).getPropertyValue(t)}const vb=["top","right","bottom","left"];function ln(e,t,n){const i={};n=n?"-"+n:"";for(let o=0;o<4;o++){const r=vb[o];i[r]=parseFloat(e[t+"-"+r+n])||0}return i.width=i.left+i.right,i.height=i.top+i.bottom,i}const wb=(e,t,n)=>(e>0||t>0)&&(!n||!n.shadowRoot);function yb(e,t){const n=e.touches,i=n&&n.length?n[0]:e,{offsetX:o,offsetY:r}=i;let s=!1,a,c;if(wb(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 An(e,t){if("native"in e)return e;const{canvas:n,currentDevicePixelRatio:i}=t,o=ko(n),r=o.boxSizing==="border-box",s=ln(o,"padding"),a=ln(o,"border","width"),{x:c,y:l,box:A}=yb(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 xb(e,t,n){let i,o;if(t===void 0||n===void 0){const r=e&&Ss(e);if(!r)t=e.clientWidth,n=e.clientHeight;else{const s=r.getBoundingClientRect(),a=ko(r),c=ln(a,"border","width"),l=ln(a,"padding");t=s.width-l.width-c.width,n=s.height-l.height-c.height,i=Co(a.maxWidth,r,"clientWidth"),o=Co(a.maxHeight,r,"clientHeight")}}return{width:t,height:n,maxWidth:i||wo,maxHeight:o||wo}}const Do=e=>Math.round(e*10)/10;function _b(e,t,n,i){const o=ko(e),r=ln(o,"margin"),s=Co(o.maxWidth,e,"clientWidth")||wo,a=Co(o.maxHeight,e,"clientHeight")||wo,c=xb(e,t,n);let{width:l,height:A}=c;if(o.boxSizing==="content-box"){const u=ln(o,"border","width"),h=ln(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=Do(Math.min(l,s,c.maxWidth)),A=Do(Math.min(A,a,c.maxHeight)),l&&!A&&(A=Do(l/2)),(t!==void 0||n!==void 0)&&i&&c.height&&A>c.height&&(A=c.height,l=Do(Math.floor(A*i))),{width:l,height:A}}function zA(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 Eb=function(){let e=!1;try{const t={get passive(){return e=!0,!1}};Ds()&&(window.addEventListener("test",null,t),window.removeEventListener("test",null,t))}catch{}return e}();function NA(e,t){const n=bb(e,t),i=n&&n.match(/^(\d+)(\.\d+)?px$/);return i?+i[1]:void 0}const Pb=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}}},Bb=function(){return{x(e){return e},setWidth(e){},textAlign(e){return e},xPlus(e,t){return e+t},leftForLtr(e,t){return e}}};function Ln(e,t,n){return e?Pb(t,n):Bb()}function UA(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 jA(e,t){t!==void 0&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",t[0],t[1]))}/*!
|
|
89
25
|
* Chart.js v4.4.6
|
|
90
26
|
* https://www.chartjs.org
|
|
91
27
|
* (c) 2024 Chart.js Contributors
|
|
92
28
|
* Released under the MIT License
|
|
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(`
|
|
29
|
+
*/class Cb{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=bA.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 Se=new Cb;const VA="transparent",kb={boolean(e,t,n){return n>.5?t:e},color(e,t,n){const i=_A(e||VA),o=i.valid&&_A(t||VA);return o&&o.valid?o.mix(i,n).hexString():t},number(e,t,n){return e+(t-e)*n}};class Db{constructor(t,n,i,o){const r=n[i];o=Bo([t.to,o,r,t.from]);const s=Bo([t.from,r,o]);this._active=!0,this._fn=t.fn||kb[t.type||typeof s],this._easing=bi[t.easing]||bi.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=Bo([t.to,n,o,t.from]),this._from=Bo([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 WA{constructor(t,n){this._chart=t,this._properties=new Map,this.configure(n)}configure(t){if(!ot(t))return;const n=Object.keys(bt.animation),i=this._properties;Object.getOwnPropertyNames(t).forEach(o=>{const r=t[o];if(!ot(r))return;const s={};for(const a of n)s[a]=r[a];(_t(r.properties)&&r.properties||[o]).forEach(a=>{(a===o||!i.has(a))&&i.set(a,s)})})}_animateOptions(t,n){const i=n.options,o=Mb(t,i);if(!o)return[];const r=this._createAnimations(o,i);return i.$shared&&Sb(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 Db(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 Se.add(this._chart,i),!0}}function Sb(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 Mb(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 YA(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 Tb(e,t,n){if(n===!1)return!1;const i=YA(e,n),o=YA(t,n);return{top:o.end,right:i.end,bottom:o.start,left:i.start}}function Ib(e){let t,n,i,o;return ot(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 GA(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 KA(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],$t(l)&&(r||t===0||Ye(t)===Ye(l))&&(t+=l)}return!A&&!i.all?0:t}function Ob(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 Ms(e,t){const n=e&&e.options.stacked;return n||n===void 0&&t.stack!==void 0}function Qb(e,t,n){return`${e.id}.${t.id}.${n.stack||n.type}`}function Lb(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 Rb(e,t,n){const i=e[t]||(e[t]={});return i[n]||(i[n]={})}function XA(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 qA(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=Qb(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]=Rb(o,A,g),u[a]=b,u._top=XA(u,s,!0,i.type),u._bottom=XA(u,s,!1,i.type);const w=u._visualValues||(u._visualValues={});w[a]=b}}function Ts(e,t){const n=e.scales;return Object.keys(n).filter(i=>n[i].axis===t).shift()}function Hb(e,t){return On(e,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:"default",type:"dataset"})}function Fb(e,t,n){return On(e,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:n,index:t,mode:"default",type:"data"})}function yi(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 Is=e=>e==="reset"||e==="none",JA=(e,t)=>t?e:Object.assign({},e),zb=(e,t,n)=>e&&!t.hidden&&t._stacked&&{keys:GA(n,!0),values:null};class dn{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=Ms(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&&yi(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=at(i.xAxisID,Ts(t,"x")),s=n.yAxisID=at(i.yAxisID,Ts(t,"y")),a=n.rAxisID=at(i.rAxisID,Ts(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&&gA(this._data,this),t._stacked&&yi(t)}_dataCheck(){const t=this.getDataset(),n=t.data||(t.data=[]),i=this._data;if(ot(n)){const o=this._cachedMeta;this._data=Ob(n,o)}else if(i!==n){if(i){gA(i,this);const o=this._cachedMeta;yi(o),o._parsed=[]}n&&Object.isExtensible(n)&&Um(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=Ms(n.vScale,n),n.stack!==i.stack&&(o=!0,yi(n),n.stack=i.stack),this._resyncElements(t),(o||r!==n._stacked)&&(qA(this,n._parsed),n._stacked=Ms(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{_t(o[t])?u=this.parseArrayData(i,o,t,n):ot(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&&qA(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(Ve(h,a),u),y:s.parse(Ve(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:GA(o,!0),values:n._stacks[t.axis]._visualValues};return KA(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=KA(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=zb(n,i,this.chart),l={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:A,max:d}=Lb(a);let u,h;function p(){h=o[u];const g=h[a.axis];return!$t(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],$t(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=Ib(at(this.options.clip,Tb(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=Fb(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=Hb(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&&mi(i);if(a)return JA(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(bt.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(JA(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 WA(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||Is(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){Is(o)?Object.assign(t,i):this._resolveAnimations(n,o).update(t,i)}updateSharedOptions(t,n,i){t&&!Is(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&&yi(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])}}tt(dn,"defaults",{}),tt(dn,"datasetElementType",null),tt(dn,"dataElementType",null);function Nb(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=mA(i.sort((o,r)=>o-r))}return e._cache.$bar}function Ub(e){const t=e.iScale,n=Nb(t,e.type);let i=t._length,o,r,s,a;const c=()=>{s===32767||s===-32768||(mi(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 jb(e,t,n,i){const o=n.barThickness;let r,s;return ht(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 Vb(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 Wb(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 ZA(e,t,n,i){return _t(e)?Wb(e,t,n,i):t[n.axis]=n.parse(e,i),t}function $A(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(ZA(u,d,r,l));return c}function Os(e){return e&&e.barStart!==void 0&&e.barEnd!==void 0}function Yb(e,t,n){return e!==0?Ye(e):(t.isHorizontal()?1:-1)*(t.min>=n?1:-1)}function Gb(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 Kb(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}=Gb(e);o==="middle"&&n&&(e.enableBorderRadius=!0,(n._top||0)===i?o=l:(n._bottom||0)===i?o=A:(r[td(A,s,a,c)]=!0,o=l)),r[td(o,s,a,c)]=!0,e.borderSkipped=r}function td(e,t,n,i){return i?(e=Xb(e,t,n),e=ed(e,n,t)):e=ed(e,t,n),e}function Xb(e,t,n){return e===t?n:e===n?t:e}function ed(e,t,n){return e==="start"?t:e==="end"?n:e}function qb(e,{inflateAmount:t},n){e.inflateAmount=t==="auto"?n===1?.33:0:t}class So extends dn{parsePrimitiveData(t,n,i,o){return $A(t,n,i,o)}parseArrayData(t,n,i,o){return $A(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(Ve(g,l),u),d.push(ZA(Ve(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=Os(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||ht(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||Os(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;Kb(w,_,v,s),qb(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(ht(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||Ub(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=Os(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&&Ye(d)!==Ye(l.barEnd)&&(u=0),u+=d);const b=!ht(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=Yb(g,n,a)*s,d===a&&(v-=g/2);const w=n.getPixelForDecimal(0),_=n.getPixelForDecimal(1),m=Math.min(w,_),x=Math.max(w,_);v=Math.max(Math.min(v,x),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=Ye(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=at(o.maxBarThickness,1/0);let a,c;if(n.grouped){const l=r?this._getStackCount(t):n.stackCount,A=o.barThickness==="flex"?Vb(t,n,o,l):jb(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)}}tt(So,"id","bar"),tt(So,"defaults",{datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}}),tt(So,"overrides",{scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}});function Jb(e,t,n){let i=1,o=1,r=0,s=0;if(t<jt){const a=e,c=a+t,l=Math.cos(a),A=Math.sin(a),d=Math.cos(c),u=Math.sin(c),h=(_,m,x)=>ms(_,a,c,!0)?1:Math.max(m,m*n,x,x*n),p=(_,m,x)=>ms(_,a,c,!0)?-1:Math.min(m,m*n,x,x*n),g=h(0,l,d),b=h(Vt,A,u),v=p(Et,l,d),w=p(Et+Vt,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 xi extends dn{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(ot(i[t])){const{key:c="value"}=this._parsing;r=l=>+Ve(i[l],c)}let s,a;for(s=t,a=t+n;s<a;++s)o._parsed[s]=r(s)}}_getRotation(){return ve(this.options.rotation-90)}_getCircumference(){return ve(this.options.circumference)}_getRotationExtents(){let t=jt,n=-jt;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(Bm(this.options.cutout,a),1),l=this._getRingWeight(this.index),{circumference:A,rotation:d}=this._getRotationExtents(),{ratioX:u,ratioY:h,offsetX:p,offsetY:g}=Jb(d,A,c),b=(i.width-s)/u,v=(i.height-s)/h,w=Math.max(Math.min(b,v)/2,0),_=cA(this.options.radius,w),m=Math.max(_*c,0),x=(_-m)/this._getVisibleDatasetWeightTotal();this.offsetX=p*_,this.offsetY=g*_,o.total=this.calculateTotal(),this.outerRadius=_-x*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-x*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/jt)}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],x={x:A+this.offsetX,y:d+this.offsetY,startAngle:v,endAngle:v+_,circumference:_,outerRadius:p,innerRadius:h};b&&(x.options=g||this.resolveDataElementOptions(w,m.active?"active":o)),v+=_,this.updateElement(m,w,x,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)?jt*(Math.abs(t)/n):0}getLabelAndValue(t){const n=this._cachedMeta,i=this.chart,o=i.data.labels||[],r=Eo(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(at(this.chart.data.datasets[t].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}tt(xi,"id","doughnut"),tt(xi,"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"}),tt(xi,"descriptors",{_scriptable:t=>t!=="spacing",_indexable:t=>t!=="spacing"&&!t.startsWith("borderDash")&&!t.startsWith("hoverBorderDash")}),tt(xi,"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 Mo extends dn{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=Eo(n._parsed[t].r,i.options.locale);return{label:o[t]||"",value:r}}parseObjectData(t,n,i,o){return mb.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*Et;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)?ve(this.resolveDataElementOptions(t,n).angle||i):0}}tt(Mo,"id","polarArea"),tt(Mo,"defaults",{dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0}),tt(Mo,"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 un(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class Qs{constructor(t){tt(this,"options");this.options=t||{}}static override(t){Object.assign(Qs.prototype,t)}init(){}formats(){return un()}parse(){return un()}format(){return un()}add(){return un()}diff(){return un()}startOf(){return un()}endOf(){return un()}}var Zb={_date:Qs};function $b(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?zm:vs;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 _i(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}=$b(r[a],t,s,o);for(let h=d;h<=u;++h){const p=A[h];p.skip||i(p,l,h)}}}function tv(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 Ls(e,t,n,i,o){const r=[];return!o&&!e.isPointInArea(t)||_i(e,n,t,function(a,c,l){!o&&!MA(a,e.chartArea,0)||a.inRange(t.x,t.y,i)&&r.push({element:a,datasetIndex:c,index:l})},!0),r}function ev(e,t,n,i){let o=[];function r(s,a,c){const{startAngle:l,endAngle:A}=s.getProps(["startAngle","endAngle"],i),{angle:d}=Rm(s,{x:t.x,y:t.y});ms(d,l,A)&&o.push({element:s,datasetIndex:a,index:c})}return _i(e,n,t,r),o}function nv(e,t,n,i,o,r){let s=[];const a=tv(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 _i(e,n,t,l),s}function Rs(e,t,n,i,o,r){return!r&&!e.isPointInArea(t)?[]:n==="r"&&!i?ev(e,t,n,o):nv(e,t,n,i,o,r)}function nd(e,t,n,i,o){const r=[],s=n==="x"?"inXRange":"inYRange";let a=!1;return _i(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 iv={evaluateInteractionItems:_i,modes:{index(e,t,n,i){const o=An(t,e),r=n.axis||"x",s=n.includeInvisible||!1,a=n.intersect?Ls(e,o,r,i,s):Rs(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=An(t,e),r=n.axis||"xy",s=n.includeInvisible||!1;let a=n.intersect?Ls(e,o,r,i,s):Rs(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=An(t,e),r=n.axis||"xy",s=n.includeInvisible||!1;return Ls(e,o,r,i,s)},nearest(e,t,n,i){const o=An(t,e),r=n.axis||"xy",s=n.includeInvisible||!1;return Rs(e,o,r,n.intersect,i,s)},x(e,t,n,i){const o=An(t,e);return nd(e,o,"x",n.intersect,i)},y(e,t,n,i){const o=An(t,e);return nd(e,o,"y",n.intersect,i)}}};const id=["left","top","right","bottom"];function Ei(e,t){return e.filter(n=>n.pos===t)}function od(e,t){return e.filter(n=>id.indexOf(n.pos)===-1&&n.box.axis===t)}function Pi(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 ov(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 rv(e){const t={};for(const n of e){const{stack:i,pos:o,stackWeight:r}=n;if(!i||!id.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 sv(e,t){const n=rv(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 av(e){const t=ov(e),n=Pi(t.filter(l=>l.box.fullSize),!0),i=Pi(Ei(t,"left"),!0),o=Pi(Ei(t,"right")),r=Pi(Ei(t,"top"),!0),s=Pi(Ei(t,"bottom")),a=od(t,"x"),c=od(t,"y");return{fullSize:n,leftAndTop:i.concat(r),rightAndBottom:o.concat(c).concat(s).concat(a),chartArea:Ei(t,"chartArea"),vertical:i.concat(o).concat(c),horizontal:r.concat(s).concat(a)}}function rd(e,t,n,i){return Math.max(e[n],t[n])+Math.max(e[i],t[i])}function sd(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 cv(e,t,n,i){const{pos:o,box:r}=n,s=e.maxPadding;if(!ot(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&&sd(s,r.getPadding());const a=Math.max(0,t.outerWidth-rd(s,e,"left","right")),c=Math.max(0,t.outerHeight-rd(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 lv(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 Av(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 Bi(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,Av(a.horizontal,t));const{same:d,other:u}=cv(t,n,a,i);l|=d&&o.length,A=A||u,c.fullSize||o.push(a)}return l&&Bi(o,t,n,i)||A}function To(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 ad(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;mi(l.start)&&(s=l.start),c.fullSize?To(c,o.left,s,n.outerWidth-o.right-o.left,u):To(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;mi(l.start)&&(r=l.start),c.fullSize?To(c,r,o.top,u,n.outerHeight-o.bottom-o.top):To(c,r,t.top+l.placed,u,d),l.start=r,l.placed+=d,r=c.right}}t.x=r,t.y=s}var ee={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=te(e.options.layout.padding),r=Math.max(t-o.width,0),s=Math.max(n-o.height,0),a=av(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);sd(u,te(i));const h=Object.assign({maxPadding:u,w:r,h:s,x:o.left,y:o.top},o),p=sv(c.concat(l),d);Bi(a.fullSize,h,d,p),Bi(c,h,d,p),Bi(l,h,d,p)&&Bi(c,h,d,p),lv(h),ad(a.leftAndTop,h,d,p),h.x+=h.w,h.y+=h.h,ad(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 cd{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 dv extends cd{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const Io="$chartjs",uv={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},ld=e=>e===null||e==="";function hv(e,t){const n=e.style,i=e.getAttribute("height"),o=e.getAttribute("width");if(e[Io]={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",ld(o)){const r=NA(e,"width");r!==void 0&&(e.width=r)}if(ld(i))if(e.style.height==="")e.height=e.width/(t||2);else{const r=NA(e,"height");r!==void 0&&(e.height=r)}return e}const Ad=Eb?{passive:!0}:!1;function fv(e,t,n){e&&e.addEventListener(t,n,Ad)}function pv(e,t,n){e&&e.canvas&&e.canvas.removeEventListener(t,n,Ad)}function gv(e,t){const n=uv[e.type]||e.type,{x:i,y:o}=An(e,t);return{type:n,chart:t,native:e,x:i!==void 0?i:null,y:o!==void 0?o:null}}function Oo(e,t){for(const n of e)if(n===t||n.contains(t))return!0}function mv(e,t,n){const i=e.canvas,o=new MutationObserver(r=>{let s=!1;for(const a of r)s=s||Oo(a.addedNodes,i),s=s&&!Oo(a.removedNodes,i);s&&n()});return o.observe(document,{childList:!0,subtree:!0}),o}function bv(e,t,n){const i=e.canvas,o=new MutationObserver(r=>{let s=!1;for(const a of r)s=s||Oo(a.removedNodes,i),s=s&&!Oo(a.addedNodes,i);s&&n()});return o.observe(document,{childList:!0,subtree:!0}),o}const Ci=new Map;let dd=0;function ud(){const e=window.devicePixelRatio;e!==dd&&(dd=e,Ci.forEach((t,n)=>{n.currentDevicePixelRatio!==e&&t()}))}function vv(e,t){Ci.size||window.addEventListener("resize",ud),Ci.set(e,t)}function wv(e){Ci.delete(e),Ci.size||window.removeEventListener("resize",ud)}function yv(e,t,n){const i=e.canvas,o=i&&Ss(i);if(!o)return;const r=vA((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),vv(e,r),s}function Hs(e,t,n){n&&n.disconnect(),t==="resize"&&wv(e)}function xv(e,t,n){const i=e.canvas,o=vA(r=>{e.ctx!==null&&n(gv(r,e))},e);return fv(i,t,o),o}class _v extends cd{acquireContext(t,n){const i=t&&t.getContext&&t.getContext("2d");return i&&i.canvas===t?(hv(t,n),i):null}releaseContext(t){const n=t.canvas;if(!n[Io])return!1;const i=n[Io].initial;["height","width"].forEach(r=>{const s=i[r];ht(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[Io],!0}addEventListener(t,n,i){this.removeEventListener(t,n);const o=t.$proxies||(t.$proxies={}),s={attach:mv,detach:bv,resize:yv}[n]||xv;o[n]=s(t,n,i)}removeEventListener(t,n){const i=t.$proxies||(t.$proxies={}),o=i[n];if(!o)return;({attach:Hs,detach:Hs,resize:Hs}[n]||pv)(t,n,o),i[n]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,n,i,o){return _b(t,n,i,o)}isAttached(t){const n=t&&Ss(t);return!!(n&&n.isConnected)}}function Ev(e){return!Ds()||typeof OffscreenCanvas<"u"&&e instanceof OffscreenCanvas?dv:_v}let Rn=(Ko=class{constructor(){tt(this,"x");tt(this,"y");tt(this,"active",!1);tt(this,"options");tt(this,"$animations")}tooltipPosition(t){const{x:n,y:i}=this.getProps(["x","y"],t);return{x:n,y:i}}hasValue(){return xo(this.x)&&xo(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}},tt(Ko,"defaults",{}),tt(Ko,"defaultRoutes"),Ko);function Pv(e,t){const n=e.options.ticks,i=Bv(e),o=Math.min(n.maxTicksLimit||i,i),r=n.major.enabled?kv(t):[],s=r.length,a=r[0],c=r[s-1],l=[];if(s>o)return Dv(t,l,r,s/o),l;const A=Cv(r,t,o);if(s>0){let d,u;const h=s>1?Math.round((c-a)/(s-1)):null;for(Qo(t,l,A,ht(h)?0:a-h,a),d=0,u=s-1;d<u;d++)Qo(t,l,A,r[d],r[d+1]);return Qo(t,l,A,c,ht(h)?t.length:c+h),l}return Qo(t,l,A),l}function Bv(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 Cv(e,t,n){const i=Sv(e),o=t.length/n;if(!i)return Math.max(o,1);const r=Im(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 kv(e){const t=[];let n,i;for(n=0,i=e.length;n<i;n++)e[n].major&&t.push(n);return t}function Dv(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 Qo(e,t,n,i,o){const r=at(i,0),s=Math.min(at(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 Sv(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 Mv=e=>e==="left"?"right":e==="right"?"left":e,hd=(e,t,n)=>t==="top"||t==="left"?e[t]+n:e[t]-n,fd=(e,t)=>Math.min(t||e,e);function pd(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 Tv(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 Iv(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 ki(e){return e.drawTicks?e.tickLength:0}function gd(e,t){if(!e.display)return 0;const n=Tt(e.font,t),i=te(e.padding);return(_t(e.text)?e.text.length:1)*n.lineHeight+i.height}function Ov(e,t){return On(e,{scale:t,type:"scale"})}function Qv(e,t,n){return On(e,{tick:n,index:t,type:"tick"})}function Lv(e,t,n){let i=ws(e);return(n&&t!=="right"||!n&&t==="right")&&(i=Mv(i)),i}function Rv(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),ot(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=hd(e,n,t);u=a-r}else{if(ot(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=hd(e,n,t);p=Mt(i,s,o),d=n==="left"?-Vt:Vt}return{titleX:h,titleY:p,maxWidth:u,rotation:d}}class Hn extends Rn{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=be(t,Number.POSITIVE_INFINITY),n=be(n,Number.NEGATIVE_INFINITY),i=be(i,Number.POSITIVE_INFINITY),o=be(o,Number.NEGATIVE_INFINITY),{min:be(t,i),max:be(n,o),minDefined:$t(t),maxDefined:$t(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:be(n,be(i,n)),max:be(i,be(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(){ft(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=ab(this,r,o),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const c=a<this.ticks.length;this._convertTicksToLabels(c?pd(this.ticks,a):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),s.display&&(s.autoSkip||s.source==="auto")&&(this.ticks=Pv(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(){ft(this.options.afterUpdate,[this])}beforeSetDimensions(){ft(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(){ft(this.options.afterSetDimensions,[this])}_callHooks(t){this.chart.notifyPlugins(t,this.getContext()),ft(this.options[t],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){ft(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=ft(n.callback,[r.value,i,t],this)}afterTickToLabelConversion(){ft(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){ft(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const t=this.options,n=t.ticks,i=fd(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=le(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-ki(t.grid)-n.padding-gd(t.title,this.chart.options.font),l=Math.sqrt(d*d+u*u),s=Lm(Math.min(Math.asin(le((A.highest.height+6)/a,-1,1)),Math.asin(le(c/l,-1,1))-Math.asin(le(u/l,-1,1)))),s=Math.max(o,Math.min(r,s))),this.labelRotation=s}afterCalculateLabelRotation(){ft(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){ft(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=gd(o,n.options.font);if(a?(t.width=this.maxWidth,t.height=ki(r)+c):(t.height=this.maxHeight,t.width=ki(r)+c),i.display&&this.ticks.length){const{first:l,last:A,widest:d,highest:u}=this._getLabelSizes(),h=i.padding*2,p=ve(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(){ft(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++)ht(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=pd(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/fd(n,i));let l=0,A=0,d,u,h,p,g,b,v,w,_,m,x;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,!ht(p)&&!_t(p))_=CA(o,v.data,v.gc,_,p),m=w;else if(_t(p))for(u=0,h=p.length;u<h;++u)x=p[u],!ht(x)&&!_t(x)&&(_=CA(o,v.data,v.gc,_,x),m+=w);s.push(_),a.push(m),l=Math.max(_,l),A=Math.max(m,A)}Iv(r,n);const y=s.indexOf(l),E=a.indexOf(A),P=C=>({width:s[C]||0,height:a[C]||0});return{first:P(0),last:P(n-1),widest:P(y),highest:P(E),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 Fm(this._alignToPixels?cn(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=Qv(this.getContext(),t,i))}return this.$context||(this.$context=Ov(this.chart.getContext(),this))}_tickSize(){const t=this.options.ticks,n=ve(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=ki(r),h=[],p=a.setContext(this.getContext()),g=p.display?p.width:0,b=g/2,v=function(I){return cn(i,I,g)};let w,_,m,x,y,E,P,C,S,B,k,M;if(s==="top")w=v(this.bottom),E=this.bottom-u,C=w-b,B=v(t.top)+b,M=t.bottom;else if(s==="bottom")w=v(this.top),B=t.top,M=v(t.bottom)-b,E=w+b,C=this.top+u;else if(s==="left")w=v(this.right),y=this.right-u,P=w-b,S=v(t.left)+b,k=t.right;else if(s==="right")w=v(this.left),S=t.left,k=v(t.right)-b,y=w+b,P=this.left+u;else if(n==="x"){if(s==="center")w=v((t.top+t.bottom)/2+.5);else if(ot(s)){const I=Object.keys(s)[0],T=s[I];w=v(this.chart.scales[I].getPixelForValue(T))}B=t.top,M=t.bottom,E=w+b,C=E+u}else if(n==="y"){if(s==="center")w=v((t.left+t.right)/2);else if(ot(s)){const I=Object.keys(s)[0],T=s[I];w=v(this.chart.scales[I].getPixelForValue(T))}y=w-b,P=y-u,S=t.left,k=t.right}const O=at(o.ticks.maxTicksLimit,d),Q=Math.max(1,Math.ceil(d/O));for(_=0;_<d;_+=Q){const I=this.getContext(_),T=r.setContext(I),F=a.setContext(I),H=T.lineWidth,V=T.color,z=F.dash||[],K=F.dashOffset,nt=T.tickWidth,W=T.tickColor,J=T.tickBorderDash||[],dt=T.tickBorderDashOffset;m=Tv(this,_,c),m!==void 0&&(x=cn(i,m,H),l?y=P=S=k=x:E=C=B=M=x,h.push({tx1:y,ty1:E,tx2:P,ty2:C,x1:S,y1:B,x2:k,y2:M,width:H,color:V,borderDash:z,borderDashOffset:K,tickWidth:nt,tickColor:W,tickBorderDash:J,tickBorderDashOffset:dt}))}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=ki(i.grid),h=u+A,p=d?-A:h,g=-ve(this.labelRotation),b=[];let v,w,_,m,x,y,E,P,C,S,B,k,M="middle";if(o==="top")y=this.bottom-p,E=this._getXAxisLabelAlignment();else if(o==="bottom")y=this.top+p,E=this._getXAxisLabelAlignment();else if(o==="left"){const Q=this._getYAxisLabelAlignment(u);E=Q.textAlign,x=Q.x}else if(o==="right"){const Q=this._getYAxisLabelAlignment(u);E=Q.textAlign,x=Q.x}else if(n==="x"){if(o==="center")y=(t.top+t.bottom)/2+h;else if(ot(o)){const Q=Object.keys(o)[0],I=o[Q];y=this.chart.scales[Q].getPixelForValue(I)+h}E=this._getXAxisLabelAlignment()}else if(n==="y"){if(o==="center")x=(t.left+t.right)/2-h;else if(ot(o)){const Q=Object.keys(o)[0],I=o[Q];x=this.chart.scales[Q].getPixelForValue(I)}E=this._getYAxisLabelAlignment(u).textAlign}n==="y"&&(c==="start"?M="top":c==="end"&&(M="bottom"));const O=this._getLabelSizes();for(v=0,w=a.length;v<w;++v){_=a[v],m=_.label;const Q=r.setContext(this.getContext(v));P=this.getPixelForTick(v)+r.labelOffset,C=this._resolveTickFontOptions(v),S=C.lineHeight,B=_t(m)?m.length:1;const I=B/2,T=Q.color,F=Q.textStrokeColor,H=Q.textStrokeWidth;let V=E;s?(x=P,E==="inner"&&(v===w-1?V=this.options.reverse?"left":"right":v===0?V=this.options.reverse?"right":"left":V="center"),o==="top"?l==="near"||g!==0?k=-B*S+S/2:l==="center"?k=-O.highest.height/2-I*S+S:k=-O.highest.height+S/2:l==="near"||g!==0?k=S/2:l==="center"?k=O.highest.height/2-I*S:k=O.highest.height-B*S,d&&(k*=-1),g!==0&&!Q.showLabelBackdrop&&(x+=S/2*Math.sin(g))):(y=P,k=(1-B)*S/2);let z;if(Q.showLabelBackdrop){const K=te(Q.backdropPadding),nt=O.heights[v],W=O.widths[v];let J=k-K.top,dt=0-K.left;switch(M){case"middle":J-=nt/2;break;case"bottom":J-=nt;break}switch(E){case"center":dt-=W/2;break;case"right":dt-=W;break;case"inner":v===w-1?dt-=W:v>0&&(dt-=W/2);break}z={left:dt,top:J,width:W+K.width,height:nt+K.height,color:Q.backdropColor}}b.push({label:m,font:C,textOffset:k,options:{rotation:g,color:T,strokeColor:F,strokeWidth:H,textAlign:V,textBaseline:M,translation:[x,y],backdrop:z}})}return b}_getXAxisLabelAlignment(){const{position:t,ticks:n}=this.options;if(-ve(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=cn(t,this.left,s)-s/2,A=cn(t,this.right,a)+a/2,d=u=c):(d=cn(t,this.top,s)-s/2,u=cn(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&&Es(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;wi(i,l,0,A,c,a)}o&&Ps(i)}drawTitle(){const{ctx:t,options:{position:n,title:i,reverse:o}}=this;if(!i.display)return;const r=Tt(i.font),s=te(i.padding),a=i.align;let c=r.lineHeight/2;n==="bottom"||n==="center"||ot(n)?(c+=s.bottom,_t(i.text)&&(c+=r.lineHeight*(i.text.length-1))):c+=s.top;const{titleX:l,titleY:A,maxWidth:d,rotation:u}=Rv(this,c,n,a);wi(t,i.text,0,0,r,{color:i.color,maxWidth:d,rotation:u,textAlign:Lv(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=at(t.grid&&t.grid.z,-1),o=at(t.border&&t.border.z,0);return!this._isVisible()||this.draw!==Hn.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 Lo{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;zv(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,Hv(t,s,i),this.override&&bt.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 bt[o]&&(delete bt[o][i],this.override&&delete an[i])}}function Hv(e,t,n){const i=pi(Object.create(null),[n?bt.get(n):{},bt.get(t),e.defaults]);bt.set(t,i),e.defaultRoutes&&Fv(t,e.defaultRoutes),e.descriptors&&bt.describe(t,e.descriptors)}function Fv(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(".");bt.route(r,o,c,a)})}function zv(e){return"id"in e&&"defaults"in e}class Nv{constructor(){this.controllers=new Lo(dn,"datasets",!0),this.elements=new Lo(Rn,"elements"),this.plugins=new Lo(Object,"plugins"),this.scales=new Lo(Hn,"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=ps(t);ft(i["before"+o],[],i),n[t](i),ft(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 we=new Nv;class Uv{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(ft(a,c,s)===!1&&o.cancelable)return!1}return!0}invalidate(){ht(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=at(i.options&&i.options.plugins,{}),r=jv(i);return o===!1&&!n?[]:Wv(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 jv(e){const t={},n=[],i=Object.keys(we.plugins.items);for(let r=0;r<i.length;r++)n.push(we.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 Vv(e,t){return!t&&e===!1?null:e===!0?{}:e}function Wv(e,{plugins:t,localIds:n},i,o){const r=[],s=e.getContext();for(const a of t){const c=a.id,l=Vv(i[c],o);l!==null&&r.push({plugin:a,options:Yv(e.config,{plugin:a,local:n[c]},l,s)})}return r}function Yv(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 Fs(e,t){const n=bt.datasets[e]||{};return((t.datasets||{})[e]||{}).indexAxis||t.indexAxis||n.indexAxis||"x"}function Gv(e,t){let n=e;return e==="_index_"?n=t:e==="_value_"&&(n=t==="x"?"y":"x"),n}function Kv(e,t){return e===t?"_index_":"_value_"}function md(e){if(e==="x"||e==="y"||e==="r")return e}function Xv(e){if(e==="top"||e==="bottom")return"x";if(e==="left"||e==="right")return"y"}function zs(e,...t){if(md(e))return e;for(const n of t){const i=n.axis||Xv(n.position)||e.length>1&&md(e[0].toLowerCase());if(i)return i}throw new Error(`Cannot determine type of '${e}' axis. Please provide 'axis' or 'position' option.`)}function bd(e,t,n){if(n[t+"AxisID"]===e)return{axis:t}}function qv(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 bd(e,"x",n[0])||bd(e,"y",n[0])}return{}}function Jv(e,t){const n=an[e.type]||{scales:{}},i=t.scales||{},o=Fs(e.type,t),r=Object.create(null);return Object.keys(i).forEach(s=>{const a=i[s];if(!ot(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=zs(s,a,qv(s,e),bt.scales[a.type]),l=Kv(c,o),A=n.scales||{};r[s]=gi(Object.create(null),[{axis:c},a,A[c],A[l]])}),e.data.datasets.forEach(s=>{const a=s.type||e.type,c=s.indexAxis||Fs(a,t),A=(an[a]||{}).scales||{};Object.keys(A).forEach(d=>{const u=Gv(d,c),h=s[u+"AxisID"]||u;r[h]=r[h]||Object.create(null),gi(r[h],[{axis:u},i[h],A[d]])})}),Object.keys(r).forEach(s=>{const a=r[s];gi(a,[bt.scales[a.type],bt.scale])}),r}function vd(e){const t=e.options||(e.options={});t.plugins=at(t.plugins,{}),t.scales=Jv(e,t)}function wd(e){return e=e||{},e.datasets=e.datasets||[],e.labels=e.labels||[],e}function Zv(e){return e=e||{},e.data=wd(e.data),vd(e),e}const yd=new Map,xd=new Set;function Ro(e,t){let n=yd.get(e);return n||(n=t(),yd.set(e,n),xd.add(n)),n}const Di=(e,t,n)=>{const i=Ve(t,n);i!==void 0&&e.add(i)};let $v=class{constructor(t){this._config=Zv(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=wd(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(),vd(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return Ro(t,()=>[[`datasets.${t}`,""]])}datasetAnimationScopeKeys(t,n){return Ro(`${t}.transition.${n}`,()=>[[`datasets.${t}.transitions.${n}`,`transitions.${n}`],[`datasets.${t}`,""]])}datasetElementScopeKeys(t,n){return Ro(`${t}-${n}`,()=>[[`datasets.${t}.elements.${n}`,`datasets.${t}`,`elements.${n}`,""]])}pluginScopeKeys(t){const n=t.id,i=this.type;return Ro(`${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=>Di(c,t,d))),A.forEach(d=>Di(c,o,d)),A.forEach(d=>Di(c,an[r]||{},d)),A.forEach(d=>Di(c,bt,d)),A.forEach(d=>Di(c,xs,d))});const l=Array.from(c);return l.length===0&&l.push(Object.create(null)),xd.has(n)&&s.set(n,l),l}chartOptionScopes(){const{options:t,type:n}=this;return[t,an[n]||{},bt.datasets[n]||{},{type:n},bt,xs]}resolveNamedOptions(t,n,i,o=[""]){const r={$shared:!0},{resolver:s,subPrefixes:a}=_d(this._resolverCache,t,o);let c=s;if(ew(s,n)){r.$shared=!1,i=We(i)?i():i;const l=this.createResolver(t,i,a);c=Qn(s,i,l)}for(const l of n)r[l]=c[l];return r}createResolver(t,n,i=[""],o){const{resolver:r}=_d(this._resolverCache,t,i);return ot(n)?Qn(r,n,void 0,o):r}};function _d(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:Bs(t,n),subPrefixes:n.filter(a=>!a.toLowerCase().includes("hover"))},i.set(o,r)),r}const tw=e=>ot(e)&&Object.getOwnPropertyNames(e).some(t=>We(e[t]));function ew(e,t){const{isScriptable:n,isIndexable:i}=OA(e);for(const o of t){const r=n(o),s=i(o),a=(s||r)&&e[o];if(r&&(We(a)||tw(a))||s&&_t(a))return!0}return!1}var nw="4.4.6";const iw=["top","bottom","left","right","chartArea"];function Ed(e,t){return e==="top"||e==="bottom"||iw.indexOf(e)===-1&&t==="x"}function Pd(e,t){return function(n,i){return n[e]===i[e]?n[t]-i[t]:n[e]-i[e]}}function Bd(e){const t=e.chart,n=t.options.animation;t.notifyPlugins("afterRender"),ft(n&&n.onComplete,[e],t)}function ow(e){const t=e.chart,n=t.options.animation;ft(n&&n.onProgress,[e],t)}function Cd(e){return Ds()&&typeof e=="string"?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}const Ho={},kd=e=>{const t=Cd(e);return Object.values(Ho).filter(n=>n.canvas===t).pop()};function rw(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 sw(e,t,n,i){return!n||e.type==="mouseout"?null:i?t:e}function Fo(e,t,n){return e.options.clip?e[n]:t[n]}function aw(e,t){const{xScale:n,yScale:i}=e;return n&&i?{left:Fo(n,t,"left"),right:Fo(n,t,"right"),top:Fo(i,t,"top"),bottom:Fo(i,t,"bottom")}:t}let Ns=(Xe=class{static register(...t){we.add(...t),Dd()}static unregister(...t){we.remove(...t),Dd()}constructor(t,n){const i=this.config=new $v(n),o=Cd(t),r=kd(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||Ev(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=Pm(),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 Uv,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=jm(d=>this.update(d),s.resizeDelay||0),this._dataChanges=[],Ho[this.id]=this,!a||!c){console.error("Failed to create chart: can't acquire context from the given item");return}Se.listen(this,"complete",Bd),Se.listen(this,"progress",ow),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:t,maintainAspectRatio:n},width:i,height:o,_aspectRatio:r}=this;return ht(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 we}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():zA(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return kA(this.canvas,this.ctx),this}stop(){return Se.stop(this),this}resize(t,n){Se.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,zA(this,a,!0)&&(this.notifyPlugins("resize",{size:s}),ft(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=zs(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=zs(c,a),A=at(a.type,s.dtype);(a.position===void 0||Ed(a.position,l)!==Ed(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=we.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=>{ee.configure(this,s,s.options),ee.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(Pd("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||Fs(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=we.getController(a),{datasetElementType:l,dataElementType:A}=bt.datasets[a];Object.assign(c,{dataElementType:we.getElement(A),datasetElementType:l&&we.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(Pd("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=>{ee.removeBox(this,t)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const t=this.options,n=new Set(Object.keys(this._listeners)),i=new Set(t.events);(!dA(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;rw(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(!dA(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;ee.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,We(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&&(Se.has(this)?this.attached&&!Se.running(this)&&Se.start(this):(this.draw(),Bd({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=aw(t,this.chartArea),s={meta:t,index:t.index,cancelable:!0};this.notifyPlugins("beforeDatasetDraw",s)!==!1&&(o&&Es(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&&Ps(n),s.cancelable=!1,this.notifyPlugins("afterDatasetDraw",s))}isPointInArea(t){return MA(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,n,i,o){const r=iv.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=On(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);mi(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(),Se.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(),kA(t,n),this.platform.releaseContext(n),this.canvas=null,this.ctx=null),delete Ho[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}});!bo(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=Mm(t),l=sw(t,this._lastEvent,i,c);i&&(this._lastEvent=null,ft(r.onHover,[t,a,this],this),c&&ft(r.onClick,[t,a,this],this));const A=!bo(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)}},tt(Xe,"defaults",bt),tt(Xe,"instances",Ho),tt(Xe,"overrides",an),tt(Xe,"registry",we),tt(Xe,"version",nw),tt(Xe,"getChart",kd),Xe);function Dd(){return ct(Ns.instances,e=>e._plugins.invalidate())}function Sd(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 Ge(e,t,n,i){return e?0:le(t,n,i)}function cw(e,t,n){const i=e.options.borderWidth,o=e.borderSkipped,r=IA(i);return{t:Ge(o.top,r.top,0,n),r:Ge(o.right,r.right,0,t),b:Ge(o.bottom,r.bottom,0,n),l:Ge(o.left,r.left,0,t)}}function lw(e,t,n){const{enableBorderRadius:i}=e.getProps(["enableBorderRadius"]),o=e.options.borderRadius,r=In(o),s=Math.min(t,n),a=e.borderSkipped,c=i||ot(o);return{topLeft:Ge(!c||a.top||a.left,r.topLeft,0,s),topRight:Ge(!c||a.top||a.right,r.topRight,0,s),bottomLeft:Ge(!c||a.bottom||a.left,r.bottomLeft,0,s),bottomRight:Ge(!c||a.bottom||a.right,r.bottomRight,0,s)}}function Aw(e){const t=Sd(e),n=t.right-t.left,i=t.bottom-t.top,o=cw(e,n/2,i/2),r=lw(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 Us(e,t,n,i){const o=t===null,r=n===null,a=e&&!(o&&r)&&Sd(e,i);return a&&(o||Tn(t,a.left,a.right))&&(r||Tn(n,a.top,a.bottom))}function dw(e){return e.topLeft||e.topRight||e.bottomLeft||e.bottomRight}function uw(e,t){e.rect(t.x,t.y,t.w,t.h)}function js(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 zo extends Rn{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}=Aw(this),a=dw(s.radius)?Po:uw;t.save(),(s.w!==r.w||s.h!==r.h)&&(t.beginPath(),a(t,js(s,n,r)),t.clip(),a(t,js(r,-n,s)),t.fillStyle=i,t.fill("evenodd")),t.beginPath(),a(t,js(r,n)),t.fillStyle=o,t.fill(),t.restore()}inRange(t,n,i){return Us(this,t,n,i)}inXRange(t,n){return Us(this,t,null,n)}inYRange(t,n){return Us(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}}tt(zo,"id","bar"),tt(zo,"defaults",{borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0}),tt(zo,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"});const Vs=["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)"],Md=Vs.map(e=>e.replace("rgb(","rgba(").replace(")",", 0.5)"));function Td(e){return Vs[e%Vs.length]}function Id(e){return Md[e%Md.length]}function hw(e,t){return e.borderColor=Td(t),e.backgroundColor=Id(t),++t}function fw(e,t){return e.backgroundColor=e.data.map(()=>Td(t++)),t}function pw(e,t){return e.backgroundColor=e.data.map(()=>Id(t++)),t}function gw(e){let t=0;return(n,i)=>{const o=e.getDatasetMeta(i).controller;o instanceof xi?t=fw(n,t):o instanceof Mo?t=pw(n,t):o&&(t=hw(n,t))}}function Od(e){let t;for(t in e)if(e[t].borderColor||e[t].backgroundColor)return!0;return!1}function mw(e){return e&&(e.borderColor||e.backgroundColor)}function bw(){return bt.borderColor!=="rgba(0,0,0,0.1)"||bt.backgroundColor!=="rgba(0,0,0,0.1)"}var vw={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=Od(i)||mw(o)||r&&Od(r)||bw();if(!n.forceOverride&&s)return;const a=gw(e);i.forEach(a)}};const Qd=(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)}},ww=(e,t)=>e!==null&&t!==null&&e.datasetIndex===t.datasetIndex&&e.index===t.index;class Ld extends Rn{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=ft(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}=Qd(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:_}=yw(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=Ln(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;Es(t,this),this._draw(),Ps(t)}}_draw(){const{options:t,columnSizes:n,lineWidths:i,ctx:o}=this,{align:r,labels:s}=t,a=bt.color,c=Ln(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}=Qd(s,d),v=function(y,E,P){if(isNaN(p)||p<=0||isNaN(g)||g<0)return;o.save();const C=at(P.lineWidth,1);if(o.fillStyle=at(P.fillStyle,a),o.lineCap=at(P.lineCap,"butt"),o.lineDashOffset=at(P.lineDashOffset,0),o.lineJoin=at(P.lineJoin,"miter"),o.lineWidth=C,o.strokeStyle=at(P.strokeStyle,a),o.setLineDash(at(P.lineDash,[])),s.usePointStyle){const S={radius:g*Math.SQRT2/2,pointStyle:P.pointStyle,rotation:P.rotation,borderWidth:C},B=c.xPlus(y,p/2),k=E+u;SA(o,S,B,k,s.pointStyleWidth&&p)}else{const S=E+Math.max((d-g)/2,0),B=c.leftForLtr(y,p),k=In(P.borderRadius);o.beginPath(),Object.values(k).some(M=>M!==0)?Po(o,{x:B,y:S,w:p,h:g,radius:k}):o.rect(B,S,p,g),o.fill(),C!==0&&o.stroke()}o.restore()},w=function(y,E,P){wi(o,P.text,y,E+b/2,l,{strikethrough:P.hidden,textAlign:c.textAlign(P.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},UA(this.ctx,t.textDirection);const x=b+A;this.legendItems.forEach((y,E)=>{o.strokeStyle=y.fontColor,o.fillStyle=y.fontColor;const P=o.measureText(y.text).width,C=c.textAlign(y.textAlign||(y.textAlign=s.textAlign)),S=p+u+P;let B=h.x,k=h.y;c.setWidth(this.width),_?E>0&&B+S+A>this.right&&(k=h.y+=x,h.line++,B=h.x=Mt(r,this.left+A,this.right-i[h.line])):E>0&&k+x>this.bottom&&(B=h.x=B+n[h.line].width+A,h.line++,k=h.y=Mt(r,this.top+m+A,this.bottom-n[h.line].height));const M=c.x(B);if(v(M,k,y),B=Vm(C,B+p+u,_?B+S:this.right,t.rtl),w(c.x(B),k,y),_)h.x+=S+A;else if(typeof y.text!="string"){const O=l.lineHeight;h.y+=Rd(y,O)+A}else h.y+=x}),jA(this.ctx,t.textDirection)}drawTitle(){const t=this.options,n=t.title,i=Tt(n.font),o=te(n.padding);if(!n.display)return;const r=Ln(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(ws(a)),s.textBaseline="middle",s.strokeStyle=n.color,s.fillStyle=n.color,s.font=i.string,wi(s,n.text,h,A,i)}_computeTitleHeight(){const t=this.options.title,n=Tt(t.font),i=te(t.padding);return t.display?n.lineHeight+i.height:0}_getLegendItemAt(t,n){let i,o,r;if(Tn(t,this.left,this.right)&&Tn(n,this.top,this.bottom)){for(r=this.legendHitBoxes,i=0;i<r.length;++i)if(o=r[i],Tn(t,o.left,o.left+o.width)&&Tn(n,o.top,o.top+o.height))return this.legendItems[i]}return null}handleEvent(t){const n=this.options;if(!Ew(t.type,n))return;const i=this._getLegendItemAt(t.x,t.y);if(t.type==="mousemove"||t.type==="mouseout"){const o=this._hoveredItem,r=ww(o,i);o&&!r&&ft(n.onLeave,[t,o,this],this),this._hoveredItem=i,i&&!r&&ft(n.onHover,[t,i,this],this)}else i&&ft(n.onClick,[t,i,this],this)}}function yw(e,t,n,i,o){const r=xw(i,e,t,n),s=_w(o,i,t.lineHeight);return{itemWidth:r,itemHeight:s}}function xw(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 _w(e,t,n){let i=e;return typeof t.text!="string"&&(i=Rd(t,n)),i}function Rd(e,t){const n=e.text?e.text.length:0;return t*n}function Ew(e,t){return!!((e==="mousemove"||e==="mouseout")&&(t.onHover||t.onLeave)||t.onClick&&(e==="click"||e==="mouseup"))}var Pw={id:"legend",_element:Ld,start(e,t,n){const i=e.legend=new Ld({ctx:e.ctx,options:n,chart:e});ee.configure(e,i,n),ee.addBox(e,i)},stop(e){ee.removeBox(e,e.legend),delete e.legend},beforeUpdate(e,t,n){const i=e.legend;ee.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=te(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 Hd extends Rn{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=_t(i.text)?i.text.length:1;this._padding=te(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=Et*-.5):(A=r-t,d=Mt(a,n,o),c=Et*.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);wi(t,n.text,0,0,i,{color:n.color,maxWidth:c,rotation:l,textAlign:ws(n.align),textBaseline:"middle",translation:[s,a]})}}function Bw(e,t){const n=new Hd({ctx:e.ctx,options:t,chart:e});ee.configure(e,n,t),ee.addBox(e,n),e.titleBlock=n}var Cw={id:"title",_element:Hd,start(e,t,n){Bw(e,n)},stop(e){const t=e.titleBlock;ee.removeBox(e,t),delete e.titleBlock},beforeUpdate(e,t,n){const i=e.titleBlock;ee.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 Si={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=Hm(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 ye(e,t){return t&&(_t(t)?Array.prototype.push.apply(e,t):e.push(t)),e}function Me(e){return(typeof e=="string"||e instanceof String)&&e.indexOf(`
|
|
94
30
|
`)>-1?e.split(`
|
|
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(
|
|
31
|
+
`):e}function kw(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 Fd(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=te(t.padding);let g=p.height,b=0,v=i.reduce((m,x)=>m+x.before.length+x.lines.length+x.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 Dw(e,t){const{y:n,height:i}=t;return n<i/2?"top":n>e.height-i/2?"bottom":"center"}function Sw(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 Mw(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"),Sw(l,e,t,n)&&(l="center"),l}function zd(e,t,n){const i=n.yAlign||t.yAlign||Dw(e,n);return{xAlign:n.xAlign||t.xAlign||Mw(e,t,n,i),yAlign:i}}function Tw(e,t){let{x:n,width:i}=e;return t==="right"?n-=i:t==="center"&&(n-=i/2),n}function Iw(e,t,n){let{y:i,height:o}=e;return t==="top"?i+=n:t==="bottom"?i-=o+n:i-=o/2,i}function Nd(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}=In(s);let p=Tw(t,a);const g=Iw(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:le(p,0,i.width-t.width),y:le(g,0,i.height-t.height)}}function No(e,t,n){const i=te(n.padding);return t==="center"?e.x+e.width/2:t==="right"?e.x+e.width-i.right:e.x+i.left}function Ud(e){return ye([],Me(e))}function Ow(e,t,n){return On(e,{tooltip:t,tooltipItems:n,type:"tooltip"})}function jd(e,t){const n=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return n?e.override(n):e}const Vd={beforeTitle:De,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:De,beforeBody:De,beforeLabel:De,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 ht(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:De,afterBody:De,beforeFooter:De,footer:De,afterFooter:De};function Ft(e,t,n,i){const o=e[t].call(n,i);return typeof o>"u"?Vd[t].call(n,i):o}class Ws extends Rn{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 WA(this.chart,o);return o._cacheable&&(this._cachedAnimations=Object.freeze(r)),r}getContext(){return this.$context||(this.$context=Ow(this.chart.getContext(),this,this._tooltipItems))}getTitle(t,n){const{callbacks:i}=n,o=Ft(i,"beforeTitle",this,t),r=Ft(i,"title",this,t),s=Ft(i,"afterTitle",this,t);let a=[];return a=ye(a,Me(o)),a=ye(a,Me(r)),a=ye(a,Me(s)),a}getBeforeBody(t,n){return Ud(Ft(n.callbacks,"beforeBody",this,t))}getBody(t,n){const{callbacks:i}=n,o=[];return ct(t,r=>{const s={before:[],lines:[],after:[]},a=jd(i,r);ye(s.before,Me(Ft(a,"beforeLabel",this,r))),ye(s.lines,Ft(a,"label",this,r)),ye(s.after,Me(Ft(a,"afterLabel",this,r))),o.push(s)}),o}getAfterBody(t,n){return Ud(Ft(n.callbacks,"afterBody",this,t))}getFooter(t,n){const{callbacks:i}=n,o=Ft(i,"beforeFooter",this,t),r=Ft(i,"footer",this,t),s=Ft(i,"afterFooter",this,t);let a=[];return a=ye(a,Me(o)),a=ye(a,Me(r)),a=ye(a,Me(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(kw(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=jd(t.callbacks,A);o.push(Ft(d,"labelColor",this,A)),r.push(Ft(d,"labelPointStyle",this,A)),s.push(Ft(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=Si[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=Fd(this,i),l=Object.assign({},a,c),A=zd(this.chart,i,l),d=Nd(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}=In(a),{x:u,y:h}=t,{width:p,height:g}=n;let b,v,w,_,m,x;return r==="center"?(m=h+g/2,o==="left"?(b=u,v=b-s,_=m+s,x=m-s):(b=u+p,v=b+s,_=m-s,x=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),x=_),{x1:b,x2:v,x3:w,y1:_,y2:m,y3:x}}drawTitle(t,n,i){const o=this.title,r=o.length;let s,a,c;if(r){const l=Ln(i.rtl,this.x,this.width);for(t.x=No(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=No(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,DA(t,g,b,v),t.strokeStyle=s.borderColor,t.fillStyle=s.backgroundColor,DA(t,g,b,v)}else{t.lineWidth=ot(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=In(s.borderRadius);Object.values(v).some(w=>w!==0)?(t.beginPath(),t.fillStyle=r.multiKeyBackground,Po(t,{x:g,y:p,w:l,h:c,radius:v}),t.fill(),t.stroke(),t.fillStyle=s.backgroundColor,t.beginPath(),Po(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=Ln(i.rtl,this.x,this.width),g=function(P){n.fillText(P,p.x(t.x+h),t.y+u/2),t.y+=u+r},b=p.textAlign(s);let v,w,_,m,x,y,E;for(n.textAlign=s,n.textBaseline="middle",n.font=d.string,t.x=No(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,y=o.length;m<y;++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)),x=0,E=_.length;x<E;++x)g(_[x]),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=Ln(i.rtl,this.x,this.width);for(t.x=No(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}=In(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=Si[t.position].call(this,this._active,this._eventPosition);if(!s)return;const a=this._size=Fd(this,t),c=Object.assign({},s,this._size),l=zd(n,t,c),A=Nd(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=te(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),UA(t,n.textDirection),r.y+=s.top,this.drawTitle(r,t,n),this.drawBody(r,t,n),this.drawFooter(r,t,n),jA(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=!bo(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||!bo(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=Si[r.position].call(this,t,n);return s!==!1&&(i!==s.x||o!==s.y)}}tt(Ws,"positioners",Si);var Qw={id:"tooltip",_element:Ws,positioners:Si,afterInit(e,t,n){n&&(e.tooltip=new Ws({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:Vd},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 Lw=(e,t,n,i)=>(typeof t=="string"?(n=e.push(t)-1,i.unshift({index:n,label:t})):isNaN(t)&&(n=null),n);function Rw(e,t,n,i){const o=e.indexOf(t);if(o===-1)return Lw(e,t,n,i);const r=e.lastIndexOf(t);return o!==r?n:o}const Hw=(e,t)=>e===null?null:le(Math.round(e),0,t);function Wd(e){const t=this.getLabels();return e>=0&&e<t.length?t[e]:e}class Ys extends Hn{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(ht(t))return null;const i=this.getLabels();return n=isFinite(n)&&i[n]===t?n:Rw(i,t,at(n,t),this._addedLabels),Hw(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 Wd.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}}tt(Ys,"id","category"),tt(Ys,"defaults",{ticks:{callback:Wd}});function Fw(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=!ht(s),w=!ht(a),_=!ht(l),m=(b-g)/(d+1);let x=hA((b-g)/p/h)*h,y,E,P,C;if(x<1e-14&&!v&&!w)return[{value:g},{value:b}];C=Math.ceil(b/x)-Math.floor(g/x),C>p&&(x=hA(C*x/p/h)*h),ht(c)||(y=Math.pow(10,c),x=Math.ceil(x*y)/y),o==="ticks"?(E=Math.floor(g/x)*x,P=Math.ceil(b/x)*x):(E=g,P=b),v&&w&&r&&Om((a-s)/r,x/1e3)?(C=Math.round(Math.min((a-s)/x,A)),x=(a-s)/C,E=s,P=a):_?(E=v?s:E,P=w?a:P,C=l-1,x=(P-E)/C):(C=(P-E)/x,yo(C,Math.round(C),x/1e3)?C=Math.round(C):C=Math.ceil(C));const S=Math.max(fA(x),fA(E));y=Math.pow(10,ht(c)?S:c),E=Math.round(E*y)/y,P=Math.round(P*y)/y;let B=0;for(v&&(u&&E!==s?(n.push({value:s}),E<s&&B++,yo(Math.round((E+B*x)*y)/y,s,Yd(s,m,e))&&B++):E<s&&B++);B<C;++B){const k=Math.round((E+B*x)*y)/y;if(w&&k>a)break;n.push({value:k})}return w&&u&&P!==a?n.length&&yo(n[n.length-1].value,a,Yd(a,m,e))?n[n.length-1].value=a:n.push({value:a}):(!w||P===a)&&n.push({value:P}),n}function Yd(e,t,{horizontal:n,minRotation:i}){const o=ve(i),r=(n?Math.sin(o):Math.cos(o))||.001,s=.75*t*(""+e).length;return Math.min(t/r,s)}class zw extends Hn{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 ht(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=Ye(o),l=Ye(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=Fw(o,r);return t.bounds==="ticks"&&Qm(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 Eo(t,this.chart.options.locale,this.options.ticks.format)}}class Gs extends zw{determineDataLimits(){const{min:t,max:n}=this.getMinMax(!0);this.min=$t(t)?t:0,this.max=$t(n)?n:1,this.handleTickRangeOptions()}computeTickLimit(){const t=this.isHorizontal(),n=t?this.width:this.height,i=ve(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}}tt(Gs,"id","linear"),tt(Gs,"defaults",{ticks:{callback:BA.formatters.numeric}});const Uo={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}},zt=Object.keys(Uo);function Gd(e,t){return e-t}function Kd(e,t){if(ht(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)),$t(s)||(s=typeof i=="string"?n.parse(s,i):n.parse(s)),s===null?null:(o&&(s=o==="week"&&(xo(r)||r===!0)?n.startOf(s,"isoWeek",r):n.startOf(s,o)),+s)}function Xd(e,t,n,i){const o=zt.length;for(let r=zt.indexOf(e);r<o-1;++r){const s=Uo[zt[r]],a=s.steps?s.steps:Number.MAX_SAFE_INTEGER;if(s.common&&Math.ceil((n-t)/(a*s.size))<=i)return zt[r]}return zt[o-1]}function Nw(e,t,n,i,o){for(let r=zt.length-1;r>=zt.indexOf(n);r--){const s=zt[r];if(Uo[s].common&&e._adapter.diff(o,i,s)>=t-1)return s}return zt[n?zt.indexOf(n):0]}function Uw(e){for(let t=zt.indexOf(e)+1,n=zt.length;t<n;++t)if(Uo[zt[t]].common)return zt[t]}function qd(e,t,n){if(!n)e[t]=!0;else if(n.length){const{lo:i,hi:o}=bs(n,t),r=n[i]>=t?n[i]:n[o];e[r]=!0}}function jw(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 Jd(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:jw(e,i,o,n)}class jo extends Hn{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 Zb._date(t.adapters.date);o.init(n),gi(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:Kd(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=$t(o)&&!isNaN(o)?o:+n.startOf(Date.now(),i),r=$t(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=Nm(o,r,s);return this._unit=n.unit||(i.autoSkip?Xd(n.minUnit,this.min,this.max,this._getLabelCapacity(r)):Nw(this,a.length,n.minUnit,this.min,this.max)),this._majorUnit=!i.major.enabled||this._unit==="year"?void 0:Uw(this._unit),this.initOffsets(o),t.reverse&&a.reverse(),Jd(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=le(n,0,s),i=le(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||Xd(r.minUnit,n,i,this._getLabelCapacity(n)),a=at(o.ticks.stepSize,1),c=s==="week"?r.isoWeekday:!1,l=xo(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++)qd(A,u,p);return(u===i||o.bounds==="ticks"||h===1)&&qd(A,u,p),Object.keys(A).sort(Gd).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 ft(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=ve(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,Jd(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(Kd(this,o[n]));return this._cache.labels=this._normalized?t:this.normalize(t)}normalize(t){return mA(t.sort(Gd))}}tt(jo,"id","time"),tt(jo,"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 Vo(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}=vs(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}=vs(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 Zd extends jo{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=Vo(n,this.min),this._tableRange=Vo(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(Vo(this._table,t)-this._minPos)/this._tableRange}getValueForPixel(t){const n=this._offsets,i=this.getDecimalForPixel(t)/n.factor-n.end;return Vo(this._table,i*this._tableRange+this._minPos,!0)}}tt(Zd,"id","timeseries"),tt(Zd,"defaults",jo.defaults),Ns.register(vw,So,zo,Ys,Gs,Pw,Cw,Qw);function Vw({type:e="bar",data:t,options:n}){const i=G(null),o=G(null);return Nt(()=>{o.current&&(i.current?(i.current.options=n,i.current.data=t,i.current.update()):i.current=new Ns(o.current,{type:e,data:t,options:n}))},[e,t,n]),f("div",{class:"chart",children:f("canvas",{ref:o})})}const $d=["--teal-700","--yellow-400","--teal-400","--orange-400","--green-400","--red-400"],Ks=["0 - 1s","1 - 30s","30s - 30min","30 - 60min","1 - 5hr","5 - 10hr","10 - 18hr","18+hr"],Xs=(e,t,n=0)=>`${e.toFixed(n)} ${t}${e==1?"":"s"}`,tu=e=>{const t=e/3600;if(t>=1)return Xs(t,"hour",1);const n=e/60;return n>=1?Xs(n,"minute",0):Xs(e,"second",0)},Wo=e=>e.replace(/ \([^)]+\)/,"");function Ww({infoGroupId:e}){const[t,n]=N("overview"),i=zu(e).filter(l=>l.cider_type=="Compute"),o=It(i.length?i.map(l=>`https://rest-test.ccr.xdmod.org/rest/v0.1/custom_queries/wait_times/${l.info_resourceid}/`):null,{defaultValue:[]}),r=It(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:Wo(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:[Wo(p),":"]})," Users ran"," ",f("strong",{children:[f(it,{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(it,{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(it,{name:"hourglass-split"})," ",tu(u)]})," ","and ran for"," ",f("strong",{children:[f(it,{name:"stopwatch"}),tu(h)]}),"."," ",f("a",{title:`Wait time chart for ${Wo(p)}`,href:"#",onClick:g=>{g.preventDefault(),n(l)},children:"View chart »"})]}))});else if(r&&r.info_resource_id===t){const l={},A=Ks;for(let p of r.data)l[p.queue]=l[p.queue]||{label:p.queue,data:Array(Ks.length).fill(null)},l[p.queue].data[Ks.indexOf(p.job_walltime)]=p.median_wait_time/60;const d=Object.values(l);d.forEach((p,g)=>{let b=$d[g%($d.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 ${Wo(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(U,{children:[f(Vw,{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(fe,{title:"Wait Time",icon:"hourglass-split",headerComponents:a,children:[c,f("p",{class:"metrics-disclaimer",children:[f(it,{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):iu(e)==="[object Array]"}const Yw=1/0;function Gw(e){if(typeof e=="string")return e;let t=e+"";return t=="0"&&1/e==-Yw?"-0":t}function Kw(e){return e==null?"":Gw(e)}function xe(e){return typeof e=="string"}function eu(e){return typeof e=="number"}function Xw(e){return e===!0||e===!1||qw(e)&&iu(e)=="[object Boolean]"}function nu(e){return typeof e=="object"}function qw(e){return nu(e)&&e!==null}function Wt(e){return e!=null}function qs(e){return!e.trim().length}function iu(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const qy="Extended search is not available",Jw="Incorrect 'index' type",Zw=e=>`Invalid value for key ${e}`,$w=e=>`Pattern length exceeds max of ${e}.`,ty=e=>`Missing ${e} property in key`,ey=e=>`Property 'weight' in key '${e}' must be a positive integer`,ou=Object.prototype.hasOwnProperty;class ny{constructor(t){this._keys=[],this._keyMap={};let n=0;t.forEach(i=>{let o=ru(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 ru(e){let t=null,n=null,i=null,o=1,r=null;if(xe(e)||Te(e))i=e,t=su(e),n=Js(e);else{if(!ou.call(e,"name"))throw new Error(ty("name"));const s=e.name;if(i=s,ou.call(e,"weight")&&(o=e.weight,o<=0))throw new Error(ey(s));t=su(s),n=Js(s),r=e.getFn}return{path:t,id:n,weight:o,src:i,getFn:r}}function su(e){return Te(e)?e:e.split(".")}function Js(e){return Te(e)?e.join("."):e}function iy(e,t){let n=[],i=!1;const o=(r,s,a)=>{if(Wt(r))if(!s[a])n.push(r);else{let c=s[a];const l=r[c];if(!Wt(l))return;if(a===s.length-1&&(xe(l)||eu(l)||Xw(l)))n.push(Kw(l));else if(Te(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,xe(t)?t.split("."):t,0),i?n:n[0]}var q={...{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:iy,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1}};const oy=/[^ ]+/g;function ry(e=1,t=3){const n=new Map,i=Math.pow(10,t);return{get(o){const r=o.match(oy).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 Zs{constructor({getFn:t=q.getFn,fieldNormWeight:n=q.fieldNormWeight}={}){this.norm=ry(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,xe(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();xe(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(!Wt(t)||qs(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(Wt(s)){if(Te(s)){let a=[];const c=[{nestedArrIndex:-1,value:s}];for(;c.length;){const{nestedArrIndex:l,value:A}=c.pop();if(Wt(A))if(xe(A)&&!qs(A)){let d={v:A,i:l,n:this.norm.get(A)};a.push(d)}else Te(A)&&A.forEach((d,u)=>{c.push({nestedArrIndex:u,value:d})})}i.$[r]=a}else if(xe(s)&&!qs(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 au(e,t,{getFn:n=q.getFn,fieldNormWeight:i=q.fieldNormWeight}={}){const o=new Zs({getFn:n,fieldNormWeight:i});return o.setKeys(e.map(ru)),o.setSources(t),o.create(),o}function sy(e,{getFn:t=q.getFn,fieldNormWeight:n=q.fieldNormWeight}={}){const{keys:i,records:o}=e,r=new Zs({getFn:t,fieldNormWeight:n});return r.setKeys(i),r.setIndexRecords(o),r}function Yo(e,{errors:t=0,currentLocation:n=0,expectedLocation:i=0,distance:o=q.distance,ignoreLocation:r=q.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 ay(e=[],t=q.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 hn=32;function cy(e,t,n,{location:i=q.location,distance:o=q.distance,threshold:r=q.threshold,findAllMatches:s=q.findAllMatches,minMatchCharLength:a=q.minMatchCharLength,includeMatches:c=q.includeMatches,ignoreLocation:l=q.ignoreLocation}={}){if(t.length>hn)throw new Error($w(hn));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 E=Yo(t,{currentLocation:v,expectedLocation:u,distance:o,ignoreLocation:l});if(h=Math.min(E,h),p=v+A,g){let P=0;for(;P<A;)b[v+P]=1,P+=1}}p=-1;let w=[],_=1,m=A+d;const x=1<<A-1;for(let E=0;E<A;E+=1){let P=0,C=m;for(;P<C;)Yo(t,{errors:E,currentLocation:u+C,expectedLocation:u,distance:o,ignoreLocation:l})<=h?P=C:m=C,C=Math.floor((m-P)/2+P);m=C;let S=Math.max(1,u-C+1),B=s?d:Math.min(u+C,d)+A,k=Array(B+2);k[B+1]=(1<<E)-1;for(let O=B;O>=S;O-=1){let Q=O-1,I=n[e.charAt(Q)];if(g&&(b[Q]=+!!I),k[O]=(k[O+1]<<1|1)&I,E&&(k[O]|=(w[O+1]|w[O])<<1|1|w[O+1]),k[O]&x&&(_=Yo(t,{errors:E,currentLocation:Q,expectedLocation:u,distance:o,ignoreLocation:l}),_<=h)){if(h=_,p=Q,p<=u)break;S=Math.max(1,2*u-p)}}if(Yo(t,{errors:E+1,currentLocation:u,expectedLocation:u,distance:o,ignoreLocation:l})>h)break;w=k}const y={isMatch:p>=0,score:Math.max(.001,_)};if(g){const E=ay(b,a);E.length?c&&(y.indices=E):y.isMatch=!1}return y}function ly(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 cu{constructor(t,{location:n=q.location,threshold:i=q.threshold,distance:o=q.distance,includeMatches:r=q.includeMatches,findAllMatches:s=q.findAllMatches,minMatchCharLength:a=q.minMatchCharLength,isCaseSensitive:c=q.isCaseSensitive,ignoreLocation:l=q.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:ly(u),startIndex:h})},d=this.pattern.length;if(d>hn){let u=0;const h=d%hn,p=d-h;for(;u<p;)A(this.pattern.substr(u,hn),u),u+=hn;if(h){const g=d-hn;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:_}=cy(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 Ke{constructor(t){this.pattern=t}static isMultiMatch(t){return lu(t,this.multiRegex)}static isSingleMatch(t){return lu(t,this.singleRegex)}search(){}}function lu(e,t){const n=e.match(t);return n?n[1]:null}class Ay extends Ke{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 dy extends Ke{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 uy extends Ke{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 hy extends Ke{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 fy extends Ke{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 py extends Ke{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 Au extends Ke{constructor(t,{location:n=q.location,threshold:i=q.threshold,distance:o=q.distance,includeMatches:r=q.includeMatches,findAllMatches:s=q.findAllMatches,minMatchCharLength:a=q.minMatchCharLength,isCaseSensitive:c=q.isCaseSensitive,ignoreLocation:l=q.ignoreLocation}={}){super(t),this._bitapSearch=new cu(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 du extends Ke{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 $s=[Ay,du,uy,hy,py,fy,dy,Au],uu=$s.length,gy=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,my="|";function by(e,t={}){return e.split(my).map(n=>{let i=n.trim().split(gy).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<uu;){const A=$s[l];let d=A.isMultiMatch(a);d&&(o.push(new A(d,t)),c=!0)}if(!c)for(l=-1;++l<uu;){const A=$s[l];let d=A.isSingleMatch(a);if(d){o.push(new A(d,t));break}}}return o})}const vy=new Set([Au.type,du.type]);class wy{constructor(t,{isCaseSensitive:n=q.isCaseSensitive,includeMatches:i=q.includeMatches,minMatchCharLength:o=q.minMatchCharLength,ignoreLocation:r=q.ignoreLocation,findAllMatches:s=q.findAllMatches,location:a=q.location,threshold:c=q.threshold,distance:l=q.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=by(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;vy.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 ta=[];function yy(...e){ta.push(...e)}function ea(e,t){for(let n=0,i=ta.length;n<i;n+=1){let o=ta[n];if(o.condition(e,t))return new o(e,t)}return new cu(e,t)}const Go={AND:"$and",OR:"$or"},na={PATH:"$path",PATTERN:"$val"},ia=e=>!!(e[Go.AND]||e[Go.OR]),xy=e=>!!e[na.PATH],_y=e=>!Te(e)&&nu(e)&&!ia(e),hu=e=>({[Go.AND]:Object.keys(e).map(t=>({[t]:e[t]}))});function fu(e,t,{auto:n=!0}={}){const i=o=>{let r=Object.keys(o);const s=xy(o);if(!s&&r.length>1&&!ia(o))return i(hu(o));if(_y(o)){const c=s?o[na.PATH]:r[0],l=s?o[na.PATTERN]:o[c];if(!xe(l))throw new Error(Zw(c));const A={keyId:Js(c),pattern:l};return n&&(A.searcher=ea(l,t)),A}let a={children:[],operator:r[0]};return r.forEach(c=>{const l=o[c];Te(l)&&l.forEach(A=>{a.children.push(i(A))})}),a};return ia(e)||(e=hu(e)),i(e)}function Ey(e,{ignoreFieldNorm:t=q.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 Py(e,t){const n=e.matches;t.matches=[],Wt(n)&&n.forEach(i=>{if(!Wt(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 By(e,t){t.score=e.score}function Cy(e,t,{includeMatches:n=q.includeMatches,includeScore:i=q.includeScore}={}){const o=[];return n&&o.push(Py),i&&o.push(By),e.map(r=>{const{idx:s}=r,a={item:t[s],refIndex:s};return o.length&&o.forEach(c=>{c(r,a)}),a})}class Fn{constructor(t,n={},i){this.options={...q,...n},this.options.useExtendedSearch,this._keyStore=new ny(this.options.keys),this.setCollection(t,i)}setCollection(t,n){if(this._docs=t,n&&!(n instanceof Zs))throw new Error(Jw);this._myIndex=n||au(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(t){Wt(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=xe(t)?xe(this._docs[0])?this._searchStringList(t):this._searchObjectList(t):this._searchLogical(t);return Ey(c,{ignoreFieldNorm:a}),r&&c.sort(s),eu(n)&&n>-1&&(c=c.slice(0,n)),Cy(c,this._docs,{includeMatches:i,includeScore:o})}_searchStringList(t){const n=ea(t,this.options),{records:i}=this._myIndex,o=[];return i.forEach(({v:r,i:s,n:a})=>{if(!Wt(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=fu(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===Go.AND)return[]}return A},o=this._myIndex.records,r={},s=[];return o.forEach(({$:a,i:c})=>{if(Wt(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=ea(t,this.options),{keys:i,records:o}=this._myIndex,r=[];return o.forEach(({$:s,i:a})=>{if(!Wt(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(!Wt(n))return[];let o=[];if(Te(n))n.forEach(({v:r,i:s,n:a})=>{if(!Wt(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}}Fn.version="7.0.0",Fn.createIndex=au,Fn.parseIndex=sy,Fn.config=q,Fn.parseQuery=fu,yy(wy);function ky({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 Dy({delay:e=300,placeholder:t,setSearchText:n,width:i="calc(var(--width) / 4)"}){const o=G(null),r=G(null),[s,a]=N(""),c=()=>{a(""),n(""),o.current.value="",o.current.focus()};return Nt(()=>{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(U,{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(it,{name:"x-lg"})}):null]})})}const Sy=["software_name","software_description","software_web_page","software_documentation","software_use_link"];function My({infoGroupId:e}){const t=It(`https://ara-db.ccs.uky.edu/api=API_0/z0CiQbts8t4pnv6fJQD4g9nskbCOl6UD-67akYK68wk/rp=${e}?include=${Sy.join(",")}`),[n,i]=N(""),o=wt(()=>t&&t.length?new Fn(t,{keys:[{name:"software_name",weight:.6},{name:"software_description",weight:.4}]}):null,[t]);if(!t||!t.length)return;const r=u=>f(ky,{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(U,{children:" "}),f("a",{href:h.software_documentation,title:`Documentation for ${u}`,children:f(it,{name:"book"})})),h.software_use_link&&h.software_use_link!=h.software_documentation&&p.push(f(U,{children:" "}),f("a",{href:h.software_use_link.split(`
|
|
32
|
+
`)[0].trim(),title:`Usage example for ${u}`,children:f(it,{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(U,{children:[r(u.replace(p,""))," ",g?f("a",{href:g[1],title:`Description source for ${h.software_name}`,children:f(it,{name:"info-circle"})}):null]})}}],A=n.length?o.search(n).map(u=>u.item):t;return f(fe,{title:"Software",icon:"terminal",headerComponents:[f(Dy,{placeholder:"Search software packages...",setSearchText:i})],children:f(Zi,{columns:l,rows:A,scrollResetOnUpdate:!0})})}function Ty({prompt:e="Jump To:"}){const[t,n]=N([]),i=G(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(U,{children:[f(it,{name:s})," "]}):null,c]})}))})]}):null})}function Iy({baseUri:e,infoGroupId:t,showBreadcrumbs:n=!0}){const i=qn(t),o=[{name:"Resources",href:e}];return i&&o.push({name:i.name}),f(U,{children:[n&&f(dr,{expandWidth:!0,items:o,topBorder:!0}),f("div",{class:"resource-group-detail",children:[f(Pp,{infoGroupId:t}),f(Ty,{}),f(u0,{infoGroupId:t}),f(r0,{infoGroupId:t}),f(l0,{infoGroupId:t}),f(Ep,{infoGroupId:t}),f(My,{infoGroupId:t}),f(nm,{infoGroupId:t}),f(Ww,{infoGroupId:t}),f(kp,{infoGroupId:t})]})]})}const Oy=Object.freeze(Object.defineProperty({__proto__:null,default:Iy},Symbol.toStringTag,{value:"Module"})),Qy={"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 pu({active:e,tagCategory:t,tagId:n,iconUri:i,name:o,toggleTag:r}){const s=i||Qy[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(it,{alt:o,src:s}):f(it,{name:s}),o]})})}function gu({children:e}){return f("ul",{class:"tags",children:e})}function Ly({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(it,{name:"motherboard"})}),f("div",{class:"resource-group-text",children:[f("h3",{children:f("a",{href:l,children:r})}),f(gu,{children:a.map(A=>f(pu,{...A,active:e,toggleTag:c}))}),f("p",{children:[n&&n,f("br",{}),f("a",{href:l,children:["Learn more about ",r," »"]})]})]})]})}function Ry({active:e,baseUri:t,name:n,resourceGroups:i,toggleTag:o}){return f(U,{children:[f("h2",{children:n}),i.filter(({infoGroupId:r})=>e.infoGroupIds.has(r)).map(r=>f(Ly,{...r,baseUri:t,active:e,toggleTag:o}))]})}function Hy({active:e,clearTags:t,tagCategories:n,toggleTag:i}){const[o,r]=N(!1),s=G(null);return Nt(()=>{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(it,{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(U,{children:[f("h2",{children:a.name}),f(gu,{children:a.tags.map(c=>f(pu,{...c,active:e,toggleTag:i}))})]})),f("button",{onClick:t,disabled:e.tagIds.size==0,class:"btn danger",children:[f(it,{name:"trash"})," Clear Filters"]})]}):null]})}function Fy({setBotOpen:e}){const t=G(null);return f("section",{id:"resource-pathways",ref:t,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:i=>{i.preventDefault(),t.current&&t.current.nextSibling.scrollIntoView({bahavior:"smooth"})}},{title:"Ask a question",icon:"question-circle",onClick:i=>{i.preventDefault(),e(!0)},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:i,icon:o,href:r,description:s,login:a,onClick:c},l)=>f("li",{class:`resource-pathway-${l}`,children:f("a",{href:r||"#",onClick:c,children:[o?f(it,{name:o}):null," ",f("span",{class:"detail",children:[f("span",{class:"title",children:i}),f("span",{class:"description",children:s}),a?f("span",{class:"login",children:[f(it,{name:"key"})," Requires ACCESS Login"]}):null]})]})}))})]})}function zy({baseUri:e,title:t,showBreadcrumbs:n=!0,showTitle:i=!0}){const[o,r]=N([]),[s,a]=N(!1),c=Va(),l=wt(()=>c?Uu(c,o):null,[c,o]),A=u=>r(o.includes(u)?o.filter(h=>h!=u):[...o,u]),d=()=>r([]);return f(U,{children:[n&&f(dr,{expandWidth:!0,items:[{name:"Resources"}],topBorder:!0}),t&&f("h1",{class:i?"":"visually-hidden",children:t}),f(Fy,{setBotOpen:a}),f("div",{id:"browse-resources",children:[l?f(Hy,{tagCategories:c.tagCategories,active:l,clearTags:d,toggleTag:A}):null,c?c.resourceCategories.filter(({resourceCategoryId:u})=>l.resourceCategoryIds.has(u)).map(u=>f(Ry,{...u,active:l,baseUri:e,clearTags:d,toggleTag:A})):null]}),f(Qa,{embedded:!1,open:s,onOpenChange:a,welcome:"Welcome to the ACCESS Q&A Bot!",apiKey:"my-api-key"})]})}const Ny=Object.freeze(Object.defineProperty({__proto__:null,default:zy},Symbol.toStringTag,{value:"Module"}));pt.breadcrumbs=ih,pt.footer=oh,pt.footerMenus=lh,pt.header=rh,pt.loginMenuItem=Fa,pt.myAccessMenuItem=Ha,pt.qaBot=sh,pt.resourceCatalog=dh,pt.siteMenus=ch,pt.tableOfContents=Ah,pt.universalMenuItems=Ra,pt.universalMenus=ah,Object.defineProperty(pt,Symbol.toStringTag,{value:"Module"})});
|