@access-ci/ui 0.20.2 → 0.20.4
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 +1 -1
- package/dist/{access-ci-ui-react-kdgYQZqd.js → access-ci-ui-react-BtB9wMf5.js} +1 -1
- package/dist/access-ci-ui-react.js +1 -1
- package/dist/access-ci-ui-react.umd.cjs +3 -3
- package/dist/access-ci-ui.bundle.js +1 -1
- package/dist/access-ci-ui.js +1 -1
- package/dist/access-ci-ui.umd.cjs +4 -4
- package/dist/{access-qa-bot-BktG98sn.js → access-qa-bot-B5bdzcpP.js} +1 -1
- package/dist/{icon-B7cGzEKy.js → icon-BzhlFlqK.js} +1 -1
- package/dist/{index-hNgWwhEe.js → index-BJubWi7g.js} +2 -2
- package/dist/{resource-group-detail-CFxx3za2.js → resource-group-detail-DwFSj2fT.js} +1 -1
- package/dist/{resource-group-detail-C_g3q9lq.js → resource-group-detail-uIzXwshu.js} +2 -2
- package/dist/{resource-home-Bma2Z32m.js → resource-home-D2JoGg_B.js} +96 -103
- package/dist/{resource-home-BF1by6d7.js → resource-home-dFN7d7Zu.js} +34 -41
- package/package.json +1 -1
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
`),S=g.stack.split(`
|
|
4
4
|
`),O=v.length-1,U=S.length-1;1<=O&&0<=U&&v[O]!==S[U];)U--;for(;1<=O&&0<=U;O--,U--)if(v[O]!==S[U]){if(O!==1||U!==1)do if(O--,U--,0>U||v[O]!==S[U]){var Y=`
|
|
5
5
|
`+v[O].replace(" at new "," at ");return s.displayName&&Y.includes("<anonymous>")&&(Y=Y.replace("<anonymous>",s.displayName)),Y}while(1<=O&&0<=U);break}}}finally{ve=!1,Error.prepareStackTrace=f}return(s=s?s.displayName||s.name:"")?J(s):""}function we(s){switch(s.tag){case 5:return J(s.type);case 16:return J("Lazy");case 13:return J("Suspense");case 19:return J("SuspenseList");case 0:case 2:case 15:return s=me(s.type,!1),s;case 11:return s=me(s.type.render,!1),s;case 1:return s=me(s.type,!0),s;default:return""}}function _e(s){if(s==null)return null;if(typeof s=="function")return s.displayName||s.name||null;if(typeof s=="string")return s;switch(s){case z:return"Fragment";case R:return"Portal";case K:return"Profiler";case V:return"StrictMode";case ie:return"Suspense";case ue:return"SuspenseList"}if(typeof s=="object")switch(s.$$typeof){case Z:return(s.displayName||"Context")+".Consumer";case q:return(s._context.displayName||"Context")+".Provider";case W:var c=s.render;return s=s.displayName,s||(s=c.displayName||c.name||"",s=s!==""?"ForwardRef("+s+")":"ForwardRef"),s;case te:return c=s.displayName||null,c!==null?c:_e(s.type)||"Memo";case pe:c=s._payload,s=s._init;try{return _e(s(c))}catch{}}return null}function Oe(s){var c=s.type;switch(s.tag){case 24:return"Cache";case 9:return(c.displayName||"Context")+".Consumer";case 10:return(c._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return s=c.render,s=s.displayName||s.name||"",c.displayName||(s!==""?"ForwardRef("+s+")":"ForwardRef");case 7:return"Fragment";case 5:return c;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return _e(c);case 8:return c===V?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof c=="function")return c.displayName||c.name||null;if(typeof c=="string")return c}return null}function Ve(s){switch(typeof s){case"boolean":case"number":case"string":case"undefined":return s;case"object":return s;default:return""}}function ze(s){var c=s.type;return(s=s.nodeName)&&s.toLowerCase()==="input"&&(c==="checkbox"||c==="radio")}function $e(s){var c=ze(s)?"checked":"value",f=Object.getOwnPropertyDescriptor(s.constructor.prototype,c),g=""+s[c];if(!s.hasOwnProperty(c)&&typeof f<"u"&&typeof f.get=="function"&&typeof f.set=="function"){var v=f.get,S=f.set;return Object.defineProperty(s,c,{configurable:!0,get:function(){return v.call(this)},set:function(O){g=""+O,S.call(this,O)}}),Object.defineProperty(s,c,{enumerable:f.enumerable}),{getValue:function(){return g},setValue:function(O){g=""+O},stopTracking:function(){s._valueTracker=null,delete s[c]}}}}function wt(s){s._valueTracker||(s._valueTracker=$e(s))}function Me(s){if(!s)return!1;var c=s._valueTracker;if(!c)return!0;var f=c.getValue(),g="";return s&&(g=ze(s)?s.checked?"true":"false":s.value),s=g,s!==f?(c.setValue(s),!0):!1}function Ee(s){if(s=s||(typeof document<"u"?document:void 0),typeof s>"u")return null;try{return s.activeElement||s.body}catch{return s.body}}function Xe(s,c){var f=c.checked;return de({},c,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:f??s._wrapperState.initialChecked})}function Ge(s,c){var f=c.defaultValue==null?"":c.defaultValue,g=c.checked!=null?c.checked:c.defaultChecked;f=Ve(c.value!=null?c.value:f),s._wrapperState={initialChecked:g,initialValue:f,controlled:c.type==="checkbox"||c.type==="radio"?c.checked!=null:c.value!=null}}function At(s,c){c=c.checked,c!=null&&D(s,"checked",c,!1)}function lt(s,c){At(s,c);var f=Ve(c.value),g=c.type;if(f!=null)g==="number"?(f===0&&s.value===""||s.value!=f)&&(s.value=""+f):s.value!==""+f&&(s.value=""+f);else if(g==="submit"||g==="reset"){s.removeAttribute("value");return}c.hasOwnProperty("value")?yt(s,c.type,f):c.hasOwnProperty("defaultValue")&&yt(s,c.type,Ve(c.defaultValue)),c.checked==null&&c.defaultChecked!=null&&(s.defaultChecked=!!c.defaultChecked)}function gt(s,c,f){if(c.hasOwnProperty("value")||c.hasOwnProperty("defaultValue")){var g=c.type;if(!(g!=="submit"&&g!=="reset"||c.value!==void 0&&c.value!==null))return;c=""+s._wrapperState.initialValue,f||c===s.value||(s.value=c),s.defaultValue=c}f=s.name,f!==""&&(s.name=""),s.defaultChecked=!!s._wrapperState.initialChecked,f!==""&&(s.name=f)}function yt(s,c,f){(c!=="number"||Ee(s.ownerDocument)!==s)&&(f==null?s.defaultValue=""+s._wrapperState.initialValue:s.defaultValue!==""+f&&(s.defaultValue=""+f))}var mt=Array.isArray;function Rt(s,c,f,g){if(s=s.options,c){c={};for(var v=0;v<f.length;v++)c["$"+f[v]]=!0;for(f=0;f<s.length;f++)v=c.hasOwnProperty("$"+s[f].value),s[f].selected!==v&&(s[f].selected=v),v&&g&&(s[f].defaultSelected=!0)}else{for(f=""+Ve(f),c=null,v=0;v<s.length;v++){if(s[v].value===f){s[v].selected=!0,g&&(s[v].defaultSelected=!0);return}c!==null||s[v].disabled||(c=s[v])}c!==null&&(c.selected=!0)}}function dt(s,c){if(c.dangerouslySetInnerHTML!=null)throw Error(n(91));return de({},c,{value:void 0,defaultValue:void 0,children:""+s._wrapperState.initialValue})}function Ke(s,c){var f=c.value;if(f==null){if(f=c.children,c=c.defaultValue,f!=null){if(c!=null)throw Error(n(92));if(mt(f)){if(1<f.length)throw Error(n(93));f=f[0]}c=f}c==null&&(c=""),f=c}s._wrapperState={initialValue:Ve(f)}}function fn(s,c){var f=Ve(c.value),g=Ve(c.defaultValue);f!=null&&(f=""+f,f!==s.value&&(s.value=f),c.defaultValue==null&&s.defaultValue!==f&&(s.defaultValue=f)),g!=null&&(s.defaultValue=""+g)}function Yt(s){var c=s.textContent;c===s._wrapperState.initialValue&&c!==""&&c!==null&&(s.value=c)}function vn(s){switch(s){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function nn(s,c){return s==null||s==="http://www.w3.org/1999/xhtml"?vn(c):s==="http://www.w3.org/2000/svg"&&c==="foreignObject"?"http://www.w3.org/1999/xhtml":s}var _t,fe=(function(s){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(c,f,g,v){MSApp.execUnsafeLocalFunction(function(){return s(c,f,g,v)})}:s})(function(s,c){if(s.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in s)s.innerHTML=c;else{for(_t=_t||document.createElement("div"),_t.innerHTML="<svg>"+c.valueOf().toString()+"</svg>",c=_t.firstChild;s.firstChild;)s.removeChild(s.firstChild);for(;c.firstChild;)s.appendChild(c.firstChild)}});function Le(s,c){if(c){var f=s.firstChild;if(f&&f===s.lastChild&&f.nodeType===3){f.nodeValue=c;return}}s.textContent=c}var Be={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ct=["Webkit","ms","Moz","O"];Object.keys(Be).forEach(function(s){ct.forEach(function(c){c=c+s.charAt(0).toUpperCase()+s.substring(1),Be[c]=Be[s]})});function We(s,c,f){return c==null||typeof c=="boolean"||c===""?"":f||typeof c!="number"||c===0||Be.hasOwnProperty(s)&&Be[s]?(""+c).trim():c+"px"}function le(s,c){s=s.style;for(var f in c)if(c.hasOwnProperty(f)){var g=f.indexOf("--")===0,v=We(f,c[f],g);f==="float"&&(f="cssFloat"),g?s.setProperty(f,v):s[f]=v}}var Ce=de({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Te(s,c){if(c){if(Ce[s]&&(c.children!=null||c.dangerouslySetInnerHTML!=null))throw Error(n(137,s));if(c.dangerouslySetInnerHTML!=null){if(c.children!=null)throw Error(n(60));if(typeof c.dangerouslySetInnerHTML!="object"||!("__html"in c.dangerouslySetInnerHTML))throw Error(n(61))}if(c.style!=null&&typeof c.style!="object")throw Error(n(62))}}function qe(s,c){if(s.indexOf("-")===-1)return typeof c.is=="string";switch(s){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var He=null;function Ne(s){return s=s.target||s.srcElement||window,s.correspondingUseElement&&(s=s.correspondingUseElement),s.nodeType===3?s.parentNode:s}var bt=null,xt=null,ot=null;function Zt(s){if(s=mc(s)){if(typeof bt!="function")throw Error(n(280));var c=s.stateNode;c&&(c=wd(c),bt(s.stateNode,s.type,c))}}function qt(s){xt?ot?ot.push(s):ot=[s]:xt=s}function rn(){if(xt){var s=xt,c=ot;if(ot=xt=null,Zt(s),c)for(s=0;s<c.length;s++)Zt(c[s])}}function Ut(s,c){return s(c)}function an(){}var zt=!1;function Sn(s,c,f){if(zt)return s(c,f);zt=!0;try{return Ut(s,c,f)}finally{zt=!1,(xt!==null||ot!==null)&&(an(),rn())}}function Qn(s,c){var f=s.stateNode;if(f===null)return null;var g=wd(f);if(g===null)return null;f=g[c];e:switch(c){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(g=!g.disabled)||(s=s.type,g=!(s==="button"||s==="input"||s==="select"||s==="textarea")),s=!g;break e;default:s=!1}if(s)return null;if(f&&typeof f!="function")throw Error(n(231,c,typeof f));return f}var Ir=!1;if(l)try{var ln={};Object.defineProperty(ln,"passive",{get:function(){Ir=!0}}),window.addEventListener("test",ln,ln),window.removeEventListener("test",ln,ln)}catch{Ir=!1}function Hn(s,c,f,g,v,S,O,U,Y){var ce=Array.prototype.slice.call(arguments,3);try{c.apply(f,ce)}catch(be){this.onError(be)}}var yn=!1,Jn=null,Mn=!1,pn=null,Mr={onError:function(s){yn=!0,Jn=s}};function zi(s,c,f,g,v,S,O,U,Y){yn=!1,Jn=null,Hn.apply(Mr,arguments)}function ur(s,c,f,g,v,S,O,U,Y){if(zi.apply(this,arguments),yn){if(yn){var ce=Jn;yn=!1,Jn=null}else throw Error(n(198));Mn||(Mn=!0,pn=ce)}}function En(s){var c=s,f=s;if(s.alternate)for(;c.return;)c=c.return;else{s=c;do c=s,(c.flags&4098)!==0&&(f=c.return),s=c.return;while(s)}return c.tag===3?f:null}function Zn(s){if(s.tag===13){var c=s.memoizedState;if(c===null&&(s=s.alternate,s!==null&&(c=s.memoizedState)),c!==null)return c.dehydrated}return null}function on(s){if(En(s)!==s)throw Error(n(188))}function Qi(s){var c=s.alternate;if(!c){if(c=En(s),c===null)throw Error(n(188));return c!==s?null:s}for(var f=s,g=c;;){var v=f.return;if(v===null)break;var S=v.alternate;if(S===null){if(g=v.return,g!==null){f=g;continue}break}if(v.child===S.child){for(S=v.child;S;){if(S===f)return on(v),s;if(S===g)return on(v),c;S=S.sibling}throw Error(n(188))}if(f.return!==g.return)f=v,g=S;else{for(var O=!1,U=v.child;U;){if(U===f){O=!0,f=v,g=S;break}if(U===g){O=!0,g=v,f=S;break}U=U.sibling}if(!O){for(U=S.child;U;){if(U===f){O=!0,f=S,g=v;break}if(U===g){O=!0,g=S,f=v;break}U=U.sibling}if(!O)throw Error(n(189))}}if(f.alternate!==g)throw Error(n(190))}if(f.tag!==3)throw Error(n(188));return f.stateNode.current===f?s:c}function ci(s){return s=Qi(s),s!==null?Hi(s):null}function Hi(s){if(s.tag===5||s.tag===6)return s;for(s=s.child;s!==null;){var c=Hi(s);if(c!==null)return c;s=s.sibling}return null}var po=e.unstable_scheduleCallback,_s=e.unstable_cancelCallback,Pa=e.unstable_shouldYield,Da=e.unstable_requestPaint,Lt=e.unstable_now,On=e.unstable_getCurrentPriorityLevel,Yo=e.unstable_ImmediatePriority,qo=e.unstable_UserBlockingPriority,Ui=e.unstable_NormalPriority,Ta=e.unstable_LowPriority,ui=e.unstable_IdlePriority,Or=null,$n=null;function ho(s){if($n&&typeof $n.onCommitFiberRoot=="function")try{$n.onCommitFiberRoot(Or,s,void 0,(s.current.flags&128)===128)}catch{}}var bn=Math.clz32?Math.clz32:Os,Is=Math.log,Ms=Math.LN2;function Os(s){return s>>>=0,s===0?32:31-(Is(s)/Ms|0)|0}var di=64,Ao=4194304;function Vi(s){switch(s&-s){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return s&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return s&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return s}}function Wi(s,c){var f=s.pendingLanes;if(f===0)return 0;var g=0,v=s.suspendedLanes,S=s.pingedLanes,O=f&268435455;if(O!==0){var U=O&~v;U!==0?g=Vi(U):(S&=O,S!==0&&(g=Vi(S)))}else O=f&~v,O!==0?g=Vi(O):S!==0&&(g=Vi(S));if(g===0)return 0;if(c!==0&&c!==g&&(c&v)===0&&(v=g&-g,S=c&-c,v>=S||v===16&&(S&4194240)!==0))return c;if((g&4)!==0&&(g|=f&16),c=s.entangledLanes,c!==0)for(s=s.entanglements,c&=g;0<c;)f=31-bn(c),v=1<<f,g|=s[f],c&=~v;return g}function x(s,c){switch(s){case 1:case 2:case 4:return c+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return c+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function _(s,c){for(var f=s.suspendedLanes,g=s.pingedLanes,v=s.expirationTimes,S=s.pendingLanes;0<S;){var O=31-bn(S),U=1<<O,Y=v[O];Y===-1?((U&f)===0||(U&g)!==0)&&(v[O]=x(U,c)):Y<=c&&(s.expiredLanes|=U),S&=~U}}function F(s){return s=s.pendingLanes&-1073741825,s!==0?s:s&1073741824?1073741824:0}function H(){var s=di;return di<<=1,(di&4194240)===0&&(di=64),s}function oe(s){for(var c=[],f=0;31>f;f++)c.push(s);return c}function $(s,c,f){s.pendingLanes|=c,c!==536870912&&(s.suspendedLanes=0,s.pingedLanes=0),s=s.eventTimes,c=31-bn(c),s[c]=f}function he(s,c){var f=s.pendingLanes&~c;s.pendingLanes=c,s.suspendedLanes=0,s.pingedLanes=0,s.expiredLanes&=c,s.mutableReadLanes&=c,s.entangledLanes&=c,c=s.entanglements;var g=s.eventTimes;for(s=s.expirationTimes;0<f;){var v=31-bn(f),S=1<<v;c[v]=0,g[v]=-1,s[v]=-1,f&=~S}}function De(s,c){var f=s.entangledLanes|=c;for(s=s.entanglements;f;){var g=31-bn(f),v=1<<g;v&c|s[g]&c&&(s[g]|=c),f&=~v}}var Ie=0;function tt(s){return s&=-s,1<s?4<s?(s&268435455)!==0?16:536870912:4:1}var ut,It,dr,fr,Un,fi=!1,pr=[],hr=null,Vn=null,Rr=null,Ar=new Map,Yi=new Map,qi=[],Wh="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function ad(s,c){switch(s){case"focusin":case"focusout":hr=null;break;case"dragenter":case"dragleave":Vn=null;break;case"mouseover":case"mouseout":Rr=null;break;case"pointerover":case"pointerout":Ar.delete(c.pointerId);break;case"gotpointercapture":case"lostpointercapture":Yi.delete(c.pointerId)}}function Rs(s,c,f,g,v,S){return s===null||s.nativeEvent!==S?(s={blockedOn:c,domEventName:f,eventSystemFlags:g,nativeEvent:S,targetContainers:[v]},c!==null&&(c=mc(c),c!==null&&It(c)),s):(s.eventSystemFlags|=g,c=s.targetContainers,v!==null&&c.indexOf(v)===-1&&c.push(v),s)}function Yh(s,c,f,g,v){switch(c){case"focusin":return hr=Rs(hr,s,c,f,g,v),!0;case"dragenter":return Vn=Rs(Vn,s,c,f,g,v),!0;case"mouseover":return Rr=Rs(Rr,s,c,f,g,v),!0;case"pointerover":var S=v.pointerId;return Ar.set(S,Rs(Ar.get(S)||null,s,c,f,g,v)),!0;case"gotpointercapture":return S=v.pointerId,Yi.set(S,Rs(Yi.get(S)||null,s,c,f,g,v)),!0}return!1}function Jr(s){var c=Us(s.target);if(c!==null){var f=En(c);if(f!==null){if(c=f.tag,c===13){if(c=Zn(f),c!==null){s.blockedOn=c,Un(s.priority,function(){dr(f)});return}}else if(c===3&&f.stateNode.current.memoizedState.isDehydrated){s.blockedOn=f.tag===3?f.stateNode.containerInfo:null;return}}}s.blockedOn=null}function Ko(s){if(s.blockedOn!==null)return!1;for(var c=s.targetContainers;0<c.length;){var f=Ns(s.domEventName,s.eventSystemFlags,c[0],s.nativeEvent);if(f===null){f=s.nativeEvent;var g=new f.constructor(f.type,f);He=g,f.target.dispatchEvent(g),He=null}else return c=mc(f),c!==null&&It(c),s.blockedOn=f,!1;c.shift()}return!0}function Ls(s,c,f){Ko(s)&&f.delete(c)}function Mt(){fi=!1,hr!==null&&Ko(hr)&&(hr=null),Vn!==null&&Ko(Vn)&&(Vn=null),Rr!==null&&Ko(Rr)&&(Rr=null),Ar.forEach(Ls),Yi.forEach(Ls)}function pi(s,c){s.blockedOn===c&&(s.blockedOn=null,fi||(fi=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,Mt)))}function Ki(s){function c(v){return pi(v,s)}if(0<pr.length){pi(pr[0],s);for(var f=1;f<pr.length;f++){var g=pr[f];g.blockedOn===s&&(g.blockedOn=null)}}for(hr!==null&&pi(hr,s),Vn!==null&&pi(Vn,s),Rr!==null&&pi(Rr,s),Ar.forEach(c),Yi.forEach(c),f=0;f<qi.length;f++)g=qi[f],g.blockedOn===s&&(g.blockedOn=null);for(;0<qi.length&&(f=qi[0],f.blockedOn===null);)Jr(f),f.blockedOn===null&&qi.shift()}var Zr=C.ReactCurrentBatchConfig,Lr=!0;function Ba(s,c,f,g){var v=Ie,S=Zr.transition;Zr.transition=null;try{Ie=1,_a(s,c,f,g)}finally{Ie=v,Zr.transition=S}}function go(s,c,f,g){var v=Ie,S=Zr.transition;Zr.transition=null;try{Ie=4,_a(s,c,f,g)}finally{Ie=v,Zr.transition=S}}function _a(s,c,f,g){if(Lr){var v=Ns(s,c,f,g);if(v===null)rA(s,c,g,Go,f),ad(s,g);else if(Yh(v,s,c,f,g))g.stopPropagation();else if(ad(s,g),c&4&&-1<Wh.indexOf(s)){for(;v!==null;){var S=mc(v);if(S!==null&&ut(S),S=Ns(s,c,f,g),S===null&&rA(s,c,g,Go,f),S===v)break;v=S}v!==null&&g.stopPropagation()}else rA(s,c,g,null,f)}}var Go=null;function Ns(s,c,f,g){if(Go=null,s=Ne(g),s=Us(s),s!==null)if(c=En(s),c===null)s=null;else if(f=c.tag,f===13){if(s=Zn(c),s!==null)return s;s=null}else if(f===3){if(c.stateNode.current.memoizedState.isDehydrated)return c.tag===3?c.stateNode.containerInfo:null;s=null}else c!==s&&(s=null);return Go=s,null}function tc(s){switch(s){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(On()){case Yo:return 1;case qo:return 4;case Ui:case Ta:return 16;case ui:return 536870912;default:return 16}default:return 16}}var hi=null,Ia=null,Ma=null;function ld(){if(Ma)return Ma;var s,c=Ia,f=c.length,g,v="value"in hi?hi.value:hi.textContent,S=v.length;for(s=0;s<f&&c[s]===v[s];s++);var O=f-s;for(g=1;g<=O&&c[f-g]===v[S-g];g++);return Ma=v.slice(s,1<g?1-g:void 0)}function mo(s){var c=s.keyCode;return"charCode"in s?(s=s.charCode,s===0&&c===13&&(s=13)):s=c,s===10&&(s=13),32<=s||s===13?s:0}function Fs(){return!0}function js(){return!1}function Rn(s){function c(f,g,v,S,O){this._reactName=f,this._targetInst=v,this.type=g,this.nativeEvent=S,this.target=O,this.currentTarget=null;for(var U in s)s.hasOwnProperty(U)&&(f=s[U],this[U]=f?f(S):S[U]);return this.isDefaultPrevented=(S.defaultPrevented!=null?S.defaultPrevented:S.returnValue===!1)?Fs:js,this.isPropagationStopped=js,this}return de(c.prototype,{preventDefault:function(){this.defaultPrevented=!0;var f=this.nativeEvent;f&&(f.preventDefault?f.preventDefault():typeof f.returnValue!="unknown"&&(f.returnValue=!1),this.isDefaultPrevented=Fs)},stopPropagation:function(){var f=this.nativeEvent;f&&(f.stopPropagation?f.stopPropagation():typeof f.cancelBubble!="unknown"&&(f.cancelBubble=!0),this.isPropagationStopped=Fs)},persist:function(){},isPersistent:Fs}),c}var Xo={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(s){return s.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},vo=Rn(Xo),zs=de({},Xo,{view:0,detail:0}),nc=Rn(zs),Jo,yo,Gi,Qs=de({},zs,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Fa,button:0,buttons:0,relatedTarget:function(s){return s.relatedTarget===void 0?s.fromElement===s.srcElement?s.toElement:s.fromElement:s.relatedTarget},movementX:function(s){return"movementX"in s?s.movementX:(s!==Gi&&(Gi&&s.type==="mousemove"?(Jo=s.screenX-Gi.screenX,yo=s.screenY-Gi.screenY):yo=Jo=0,Gi=s),Jo)},movementY:function(s){return"movementY"in s?s.movementY:yo}}),rc=Rn(Qs),cd=de({},Qs,{dataTransfer:0}),ic=Rn(cd),er=de({},zs,{relatedTarget:0}),Oa=Rn(er),oc=de({},Xo,{animationName:0,elapsedTime:0,pseudoElement:0}),qh=Rn(oc),ud=de({},Xo,{clipboardData:function(s){return"clipboardData"in s?s.clipboardData:window.clipboardData}}),Ra=Rn(ud),dd=de({},Xo,{data:0}),sc=Rn(dd),La={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Na={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},fd={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function pd(s){var c=this.nativeEvent;return c.getModifierState?c.getModifierState(s):(s=fd[s])?!!c[s]:!1}function Fa(){return pd}var ac=de({},zs,{key:function(s){if(s.key){var c=La[s.key]||s.key;if(c!=="Unidentified")return c}return s.type==="keypress"?(s=mo(s),s===13?"Enter":String.fromCharCode(s)):s.type==="keydown"||s.type==="keyup"?Na[s.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Fa,charCode:function(s){return s.type==="keypress"?mo(s):0},keyCode:function(s){return s.type==="keydown"||s.type==="keyup"?s.keyCode:0},which:function(s){return s.type==="keypress"?mo(s):s.type==="keydown"||s.type==="keyup"?s.keyCode:0}}),hd=Rn(ac),k=de({},Qs,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),B=Rn(k),L=de({},zs,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Fa}),Q=Rn(L),ae=de({},Xo,{propertyName:0,elapsedTime:0,pseudoElement:0}),re=Rn(ae),Ae=de({},Qs,{deltaX:function(s){return"deltaX"in s?s.deltaX:"wheelDeltaX"in s?-s.wheelDeltaX:0},deltaY:function(s){return"deltaY"in s?s.deltaY:"wheelDeltaY"in s?-s.wheelDeltaY:"wheelDelta"in s?-s.wheelDelta:0},deltaZ:0,deltaMode:0}),ke=Rn(Ae),et=[9,13,27,32],ft=l&&"CompositionEvent"in window,st=null;l&&"documentMode"in document&&(st=document.documentMode);var Nt=l&&"TextEvent"in window&&!st,Wn=l&&(!ft||st&&8<st&&11>=st),gr=" ",mr=!1;function Hs(s,c){switch(s){case"keyup":return et.indexOf(c.keyCode)!==-1;case"keydown":return c.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function lc(s){return s=s.detail,typeof s=="object"&&"data"in s?s.data:null}var Xi=!1;function JM(s,c){switch(s){case"compositionend":return lc(c);case"keypress":return c.which!==32?null:(mr=!0,gr);case"textInput":return s=c.data,s===gr&&mr?null:s;default:return null}}function ZM(s,c){if(Xi)return s==="compositionend"||!ft&&Hs(s,c)?(s=ld(),Ma=Ia=hi=null,Xi=!1,s):null;switch(s){case"paste":return null;case"keypress":if(!(c.ctrlKey||c.altKey||c.metaKey)||c.ctrlKey&&c.altKey){if(c.char&&1<c.char.length)return c.char;if(c.which)return String.fromCharCode(c.which)}return null;case"compositionend":return Wn&&c.locale!=="ko"?null:c.data;default:return null}}var $M={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Gx(s){var c=s&&s.nodeName&&s.nodeName.toLowerCase();return c==="input"?!!$M[s.type]:c==="textarea"}function Xx(s,c,f,g){qt(g),c=yd(c,"onChange"),0<c.length&&(f=new vo("onChange","change",null,f,g),s.push({event:f,listeners:c}))}var cc=null,uc=null;function e4(s){hw(s,0)}function Ad(s){var c=Ua(s);if(Me(c))return s}function t4(s,c){if(s==="change")return c}var Jx=!1;if(l){var Kh;if(l){var Gh="oninput"in document;if(!Gh){var Zx=document.createElement("div");Zx.setAttribute("oninput","return;"),Gh=typeof Zx.oninput=="function"}Kh=Gh}else Kh=!1;Jx=Kh&&(!document.documentMode||9<document.documentMode)}function $x(){cc&&(cc.detachEvent("onpropertychange",ew),uc=cc=null)}function ew(s){if(s.propertyName==="value"&&Ad(uc)){var c=[];Xx(c,uc,s,Ne(s)),Sn(e4,c)}}function n4(s,c,f){s==="focusin"?($x(),cc=c,uc=f,cc.attachEvent("onpropertychange",ew)):s==="focusout"&&$x()}function r4(s){if(s==="selectionchange"||s==="keyup"||s==="keydown")return Ad(uc)}function i4(s,c){if(s==="click")return Ad(c)}function o4(s,c){if(s==="input"||s==="change")return Ad(c)}function s4(s,c){return s===c&&(s!==0||1/s===1/c)||s!==s&&c!==c}var Ai=typeof Object.is=="function"?Object.is:s4;function dc(s,c){if(Ai(s,c))return!0;if(typeof s!="object"||s===null||typeof c!="object"||c===null)return!1;var f=Object.keys(s),g=Object.keys(c);if(f.length!==g.length)return!1;for(g=0;g<f.length;g++){var v=f[g];if(!u.call(c,v)||!Ai(s[v],c[v]))return!1}return!0}function tw(s){for(;s&&s.firstChild;)s=s.firstChild;return s}function nw(s,c){var f=tw(s);s=0;for(var g;f;){if(f.nodeType===3){if(g=s+f.textContent.length,s<=c&&g>=c)return{node:f,offset:c-s};s=g}e:{for(;f;){if(f.nextSibling){f=f.nextSibling;break e}f=f.parentNode}f=void 0}f=tw(f)}}function rw(s,c){return s&&c?s===c?!0:s&&s.nodeType===3?!1:c&&c.nodeType===3?rw(s,c.parentNode):"contains"in s?s.contains(c):s.compareDocumentPosition?!!(s.compareDocumentPosition(c)&16):!1:!1}function iw(){for(var s=window,c=Ee();c instanceof s.HTMLIFrameElement;){try{var f=typeof c.contentWindow.location.href=="string"}catch{f=!1}if(f)s=c.contentWindow;else break;c=Ee(s.document)}return c}function Xh(s){var c=s&&s.nodeName&&s.nodeName.toLowerCase();return c&&(c==="input"&&(s.type==="text"||s.type==="search"||s.type==="tel"||s.type==="url"||s.type==="password")||c==="textarea"||s.contentEditable==="true")}function a4(s){var c=iw(),f=s.focusedElem,g=s.selectionRange;if(c!==f&&f&&f.ownerDocument&&rw(f.ownerDocument.documentElement,f)){if(g!==null&&Xh(f)){if(c=g.start,s=g.end,s===void 0&&(s=c),"selectionStart"in f)f.selectionStart=c,f.selectionEnd=Math.min(s,f.value.length);else if(s=(c=f.ownerDocument||document)&&c.defaultView||window,s.getSelection){s=s.getSelection();var v=f.textContent.length,S=Math.min(g.start,v);g=g.end===void 0?S:Math.min(g.end,v),!s.extend&&S>g&&(v=g,g=S,S=v),v=nw(f,S);var O=nw(f,g);v&&O&&(s.rangeCount!==1||s.anchorNode!==v.node||s.anchorOffset!==v.offset||s.focusNode!==O.node||s.focusOffset!==O.offset)&&(c=c.createRange(),c.setStart(v.node,v.offset),s.removeAllRanges(),S>g?(s.addRange(c),s.extend(O.node,O.offset)):(c.setEnd(O.node,O.offset),s.addRange(c)))}}for(c=[],s=f;s=s.parentNode;)s.nodeType===1&&c.push({element:s,left:s.scrollLeft,top:s.scrollTop});for(typeof f.focus=="function"&&f.focus(),f=0;f<c.length;f++)s=c[f],s.element.scrollLeft=s.left,s.element.scrollTop=s.top}}var l4=l&&"documentMode"in document&&11>=document.documentMode,ja=null,Jh=null,fc=null,Zh=!1;function ow(s,c,f){var g=f.window===f?f.document:f.nodeType===9?f:f.ownerDocument;Zh||ja==null||ja!==Ee(g)||(g=ja,"selectionStart"in g&&Xh(g)?g={start:g.selectionStart,end:g.selectionEnd}:(g=(g.ownerDocument&&g.ownerDocument.defaultView||window).getSelection(),g={anchorNode:g.anchorNode,anchorOffset:g.anchorOffset,focusNode:g.focusNode,focusOffset:g.focusOffset}),fc&&dc(fc,g)||(fc=g,g=yd(Jh,"onSelect"),0<g.length&&(c=new vo("onSelect","select",null,c,f),s.push({event:c,listeners:g}),c.target=ja)))}function gd(s,c){var f={};return f[s.toLowerCase()]=c.toLowerCase(),f["Webkit"+s]="webkit"+c,f["Moz"+s]="moz"+c,f}var za={animationend:gd("Animation","AnimationEnd"),animationiteration:gd("Animation","AnimationIteration"),animationstart:gd("Animation","AnimationStart"),transitionend:gd("Transition","TransitionEnd")},$h={},sw={};l&&(sw=document.createElement("div").style,"AnimationEvent"in window||(delete za.animationend.animation,delete za.animationiteration.animation,delete za.animationstart.animation),"TransitionEvent"in window||delete za.transitionend.transition);function md(s){if($h[s])return $h[s];if(!za[s])return s;var c=za[s],f;for(f in c)if(c.hasOwnProperty(f)&&f in sw)return $h[s]=c[f];return s}var aw=md("animationend"),lw=md("animationiteration"),cw=md("animationstart"),uw=md("transitionend"),dw=new Map,fw="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Zo(s,c){dw.set(s,c),o(c,[s])}for(var eA=0;eA<fw.length;eA++){var tA=fw[eA],c4=tA.toLowerCase(),u4=tA[0].toUpperCase()+tA.slice(1);Zo(c4,"on"+u4)}Zo(aw,"onAnimationEnd"),Zo(lw,"onAnimationIteration"),Zo(cw,"onAnimationStart"),Zo("dblclick","onDoubleClick"),Zo("focusin","onFocus"),Zo("focusout","onBlur"),Zo(uw,"onTransitionEnd"),a("onMouseEnter",["mouseout","mouseover"]),a("onMouseLeave",["mouseout","mouseover"]),a("onPointerEnter",["pointerout","pointerover"]),a("onPointerLeave",["pointerout","pointerover"]),o("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),o("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),o("onBeforeInput",["compositionend","keypress","textInput","paste"]),o("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),o("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),o("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var pc="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),d4=new Set("cancel close invalid load scroll toggle".split(" ").concat(pc));function pw(s,c,f){var g=s.type||"unknown-event";s.currentTarget=f,ur(g,c,void 0,s),s.currentTarget=null}function hw(s,c){c=(c&4)!==0;for(var f=0;f<s.length;f++){var g=s[f],v=g.event;g=g.listeners;e:{var S=void 0;if(c)for(var O=g.length-1;0<=O;O--){var U=g[O],Y=U.instance,ce=U.currentTarget;if(U=U.listener,Y!==S&&v.isPropagationStopped())break e;pw(v,U,ce),S=Y}else for(O=0;O<g.length;O++){if(U=g[O],Y=U.instance,ce=U.currentTarget,U=U.listener,Y!==S&&v.isPropagationStopped())break e;pw(v,U,ce),S=Y}}}if(Mn)throw s=pn,Mn=!1,pn=null,s}function Vt(s,c){var f=c[cA];f===void 0&&(f=c[cA]=new Set);var g=s+"__bubble";f.has(g)||(Aw(c,s,2,!1),f.add(g))}function nA(s,c,f){var g=0;c&&(g|=4),Aw(f,s,g,c)}var vd="_reactListening"+Math.random().toString(36).slice(2);function hc(s){if(!s[vd]){s[vd]=!0,r.forEach(function(f){f!=="selectionchange"&&(d4.has(f)||nA(f,!1,s),nA(f,!0,s))});var c=s.nodeType===9?s:s.ownerDocument;c===null||c[vd]||(c[vd]=!0,nA("selectionchange",!1,c))}}function Aw(s,c,f,g){switch(tc(c)){case 1:var v=Ba;break;case 4:v=go;break;default:v=_a}f=v.bind(null,c,f,s),v=void 0,!Ir||c!=="touchstart"&&c!=="touchmove"&&c!=="wheel"||(v=!0),g?v!==void 0?s.addEventListener(c,f,{capture:!0,passive:v}):s.addEventListener(c,f,!0):v!==void 0?s.addEventListener(c,f,{passive:v}):s.addEventListener(c,f,!1)}function rA(s,c,f,g,v){var S=g;if((c&1)===0&&(c&2)===0&&g!==null)e:for(;;){if(g===null)return;var O=g.tag;if(O===3||O===4){var U=g.stateNode.containerInfo;if(U===v||U.nodeType===8&&U.parentNode===v)break;if(O===4)for(O=g.return;O!==null;){var Y=O.tag;if((Y===3||Y===4)&&(Y=O.stateNode.containerInfo,Y===v||Y.nodeType===8&&Y.parentNode===v))return;O=O.return}for(;U!==null;){if(O=Us(U),O===null)return;if(Y=O.tag,Y===5||Y===6){g=S=O;continue e}U=U.parentNode}}g=g.return}Sn(function(){var ce=S,be=Ne(f),xe=[];e:{var ye=dw.get(s);if(ye!==void 0){var Re=vo,Qe=s;switch(s){case"keypress":if(mo(f)===0)break e;case"keydown":case"keyup":Re=hd;break;case"focusin":Qe="focus",Re=Oa;break;case"focusout":Qe="blur",Re=Oa;break;case"beforeblur":case"afterblur":Re=Oa;break;case"click":if(f.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Re=rc;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Re=ic;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Re=Q;break;case aw:case lw:case cw:Re=qh;break;case uw:Re=re;break;case"scroll":Re=nc;break;case"wheel":Re=ke;break;case"copy":case"cut":case"paste":Re=Ra;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Re=B}var Ue=(c&4)!==0,cn=!Ue&&s==="scroll",ne=Ue?ye!==null?ye+"Capture":null:ye;Ue=[];for(var X=ce,se;X!==null;){se=X;var Pe=se.stateNode;if(se.tag===5&&Pe!==null&&(se=Pe,ne!==null&&(Pe=Qn(X,ne),Pe!=null&&Ue.push(Ac(X,Pe,se)))),cn)break;X=X.return}0<Ue.length&&(ye=new Re(ye,Qe,null,f,be),xe.push({event:ye,listeners:Ue}))}}if((c&7)===0){e:{if(ye=s==="mouseover"||s==="pointerover",Re=s==="mouseout"||s==="pointerout",ye&&f!==He&&(Qe=f.relatedTarget||f.fromElement)&&(Us(Qe)||Qe[bo]))break e;if((Re||ye)&&(ye=be.window===be?be:(ye=be.ownerDocument)?ye.defaultView||ye.parentWindow:window,Re?(Qe=f.relatedTarget||f.toElement,Re=ce,Qe=Qe?Us(Qe):null,Qe!==null&&(cn=En(Qe),Qe!==cn||Qe.tag!==5&&Qe.tag!==6)&&(Qe=null)):(Re=null,Qe=ce),Re!==Qe)){if(Ue=rc,Pe="onMouseLeave",ne="onMouseEnter",X="mouse",(s==="pointerout"||s==="pointerover")&&(Ue=B,Pe="onPointerLeave",ne="onPointerEnter",X="pointer"),cn=Re==null?ye:Ua(Re),se=Qe==null?ye:Ua(Qe),ye=new Ue(Pe,X+"leave",Re,f,be),ye.target=cn,ye.relatedTarget=se,Pe=null,Us(be)===ce&&(Ue=new Ue(ne,X+"enter",Qe,f,be),Ue.target=se,Ue.relatedTarget=cn,Pe=Ue),cn=Pe,Re&&Qe)t:{for(Ue=Re,ne=Qe,X=0,se=Ue;se;se=Qa(se))X++;for(se=0,Pe=ne;Pe;Pe=Qa(Pe))se++;for(;0<X-se;)Ue=Qa(Ue),X--;for(;0<se-X;)ne=Qa(ne),se--;for(;X--;){if(Ue===ne||ne!==null&&Ue===ne.alternate)break t;Ue=Qa(Ue),ne=Qa(ne)}Ue=null}else Ue=null;Re!==null&&gw(xe,ye,Re,Ue,!1),Qe!==null&&cn!==null&&gw(xe,cn,Qe,Ue,!0)}}e:{if(ye=ce?Ua(ce):window,Re=ye.nodeName&&ye.nodeName.toLowerCase(),Re==="select"||Re==="input"&&ye.type==="file")var Ye=t4;else if(Gx(ye))if(Jx)Ye=o4;else{Ye=r4;var Je=n4}else(Re=ye.nodeName)&&Re.toLowerCase()==="input"&&(ye.type==="checkbox"||ye.type==="radio")&&(Ye=i4);if(Ye&&(Ye=Ye(s,ce))){Xx(xe,Ye,f,be);break e}Je&&Je(s,ye,ce),s==="focusout"&&(Je=ye._wrapperState)&&Je.controlled&&ye.type==="number"&&yt(ye,"number",ye.value)}switch(Je=ce?Ua(ce):window,s){case"focusin":(Gx(Je)||Je.contentEditable==="true")&&(ja=Je,Jh=ce,fc=null);break;case"focusout":fc=Jh=ja=null;break;case"mousedown":Zh=!0;break;case"contextmenu":case"mouseup":case"dragend":Zh=!1,ow(xe,f,be);break;case"selectionchange":if(l4)break;case"keydown":case"keyup":ow(xe,f,be)}var Ze;if(ft)e:{switch(s){case"compositionstart":var at="onCompositionStart";break e;case"compositionend":at="onCompositionEnd";break e;case"compositionupdate":at="onCompositionUpdate";break e}at=void 0}else Xi?Hs(s,f)&&(at="onCompositionEnd"):s==="keydown"&&f.keyCode===229&&(at="onCompositionStart");at&&(Wn&&f.locale!=="ko"&&(Xi||at!=="onCompositionStart"?at==="onCompositionEnd"&&Xi&&(Ze=ld()):(hi=be,Ia="value"in hi?hi.value:hi.textContent,Xi=!0)),Je=yd(ce,at),0<Je.length&&(at=new sc(at,s,null,f,be),xe.push({event:at,listeners:Je}),Ze?at.data=Ze:(Ze=lc(f),Ze!==null&&(at.data=Ze)))),(Ze=Nt?JM(s,f):ZM(s,f))&&(ce=yd(ce,"onBeforeInput"),0<ce.length&&(be=new sc("onBeforeInput","beforeinput",null,f,be),xe.push({event:be,listeners:ce}),be.data=Ze))}hw(xe,c)})}function Ac(s,c,f){return{instance:s,listener:c,currentTarget:f}}function yd(s,c){for(var f=c+"Capture",g=[];s!==null;){var v=s,S=v.stateNode;v.tag===5&&S!==null&&(v=S,S=Qn(s,f),S!=null&&g.unshift(Ac(s,S,v)),S=Qn(s,c),S!=null&&g.push(Ac(s,S,v))),s=s.return}return g}function Qa(s){if(s===null)return null;do s=s.return;while(s&&s.tag!==5);return s||null}function gw(s,c,f,g,v){for(var S=c._reactName,O=[];f!==null&&f!==g;){var U=f,Y=U.alternate,ce=U.stateNode;if(Y!==null&&Y===g)break;U.tag===5&&ce!==null&&(U=ce,v?(Y=Qn(f,S),Y!=null&&O.unshift(Ac(f,Y,U))):v||(Y=Qn(f,S),Y!=null&&O.push(Ac(f,Y,U)))),f=f.return}O.length!==0&&s.push({event:c,listeners:O})}var f4=/\r\n?/g,p4=/\u0000|\uFFFD/g;function mw(s){return(typeof s=="string"?s:""+s).replace(f4,`
|
|
6
|
-
`).replace(p4,"")}function bd(s,c,f){if(c=mw(c),mw(s)!==c&&f)throw Error(n(425))}function xd(){}var iA=null,oA=null;function sA(s,c){return s==="textarea"||s==="noscript"||typeof c.children=="string"||typeof c.children=="number"||typeof c.dangerouslySetInnerHTML=="object"&&c.dangerouslySetInnerHTML!==null&&c.dangerouslySetInnerHTML.__html!=null}var aA=typeof setTimeout=="function"?setTimeout:void 0,h4=typeof clearTimeout=="function"?clearTimeout:void 0,vw=typeof Promise=="function"?Promise:void 0,A4=typeof queueMicrotask=="function"?queueMicrotask:typeof vw<"u"?function(s){return vw.resolve(null).then(s).catch(g4)}:aA;function g4(s){setTimeout(function(){throw s})}function lA(s,c){var f=c,g=0;do{var v=f.nextSibling;if(s.removeChild(f),v&&v.nodeType===8)if(f=v.data,f==="/$"){if(g===0){s.removeChild(v),Ki(c);return}g--}else f!=="$"&&f!=="$?"&&f!=="$!"||g++;f=v}while(f);Ki(c)}function $o(s){for(;s!=null;s=s.nextSibling){var c=s.nodeType;if(c===1||c===3)break;if(c===8){if(c=s.data,c==="$"||c==="$!"||c==="$?")break;if(c==="/$")return null}}return s}function yw(s){s=s.previousSibling;for(var c=0;s;){if(s.nodeType===8){var f=s.data;if(f==="$"||f==="$!"||f==="$?"){if(c===0)return s;c--}else f==="/$"&&c++}s=s.previousSibling}return null}var Ha=Math.random().toString(36).slice(2),Ji="__reactFiber$"+Ha,gc="__reactProps$"+Ha,bo="__reactContainer$"+Ha,cA="__reactEvents$"+Ha,m4="__reactListeners$"+Ha,v4="__reactHandles$"+Ha;function Us(s){var c=s[Ji];if(c)return c;for(var f=s.parentNode;f;){if(c=f[bo]||f[Ji]){if(f=c.alternate,c.child!==null||f!==null&&f.child!==null)for(s=yw(s);s!==null;){if(f=s[Ji])return f;s=yw(s)}return c}s=f,f=s.parentNode}return null}function mc(s){return s=s[Ji]||s[bo],!s||s.tag!==5&&s.tag!==6&&s.tag!==13&&s.tag!==3?null:s}function Ua(s){if(s.tag===5||s.tag===6)return s.stateNode;throw Error(n(33))}function wd(s){return s[gc]||null}var uA=[],Va=-1;function es(s){return{current:s}}function Wt(s){0>Va||(s.current=uA[Va],uA[Va]=null,Va--)}function Qt(s,c){Va++,uA[Va]=s.current,s.current=c}var ts={},Yn=es(ts),vr=es(!1),Vs=ts;function Wa(s,c){var f=s.type.contextTypes;if(!f)return ts;var g=s.stateNode;if(g&&g.__reactInternalMemoizedUnmaskedChildContext===c)return g.__reactInternalMemoizedMaskedChildContext;var v={},S;for(S in f)v[S]=c[S];return g&&(s=s.stateNode,s.__reactInternalMemoizedUnmaskedChildContext=c,s.__reactInternalMemoizedMaskedChildContext=v),v}function yr(s){return s=s.childContextTypes,s!=null}function kd(){Wt(vr),Wt(Yn)}function bw(s,c,f){if(Yn.current!==ts)throw Error(n(168));Qt(Yn,c),Qt(vr,f)}function xw(s,c,f){var g=s.stateNode;if(c=c.childContextTypes,typeof g.getChildContext!="function")return f;g=g.getChildContext();for(var v in g)if(!(v in c))throw Error(n(108,Oe(s)||"Unknown",v));return de({},f,g)}function Sd(s){return s=(s=s.stateNode)&&s.__reactInternalMemoizedMergedChildContext||ts,Vs=Yn.current,Qt(Yn,s),Qt(vr,vr.current),!0}function ww(s,c,f){var g=s.stateNode;if(!g)throw Error(n(169));f?(s=xw(s,c,Vs),g.__reactInternalMemoizedMergedChildContext=s,Wt(vr),Wt(Yn),Qt(Yn,s)):Wt(vr),Qt(vr,f)}var xo=null,Ed=!1,dA=!1;function kw(s){xo===null?xo=[s]:xo.push(s)}function y4(s){Ed=!0,kw(s)}function ns(){if(!dA&&xo!==null){dA=!0;var s=0,c=Ie;try{var f=xo;for(Ie=1;s<f.length;s++){var g=f[s];do g=g(!0);while(g!==null)}xo=null,Ed=!1}catch(v){throw xo!==null&&(xo=xo.slice(s+1)),po(Yo,ns),v}finally{Ie=c,dA=!1}}return null}var Ya=[],qa=0,Cd=null,Pd=0,$r=[],ei=0,Ws=null,wo=1,ko="";function Ys(s,c){Ya[qa++]=Pd,Ya[qa++]=Cd,Cd=s,Pd=c}function Sw(s,c,f){$r[ei++]=wo,$r[ei++]=ko,$r[ei++]=Ws,Ws=s;var g=wo;s=ko;var v=32-bn(g)-1;g&=~(1<<v),f+=1;var S=32-bn(c)+v;if(30<S){var O=v-v%5;S=(g&(1<<O)-1).toString(32),g>>=O,v-=O,wo=1<<32-bn(c)+v|f<<v|g,ko=S+s}else wo=1<<S|f<<v|g,ko=s}function fA(s){s.return!==null&&(Ys(s,1),Sw(s,1,0))}function pA(s){for(;s===Cd;)Cd=Ya[--qa],Ya[qa]=null,Pd=Ya[--qa],Ya[qa]=null;for(;s===Ws;)Ws=$r[--ei],$r[ei]=null,ko=$r[--ei],$r[ei]=null,wo=$r[--ei],$r[ei]=null}var Nr=null,Fr=null,Kt=!1,gi=null;function Ew(s,c){var f=ii(5,null,null,0);f.elementType="DELETED",f.stateNode=c,f.return=s,c=s.deletions,c===null?(s.deletions=[f],s.flags|=16):c.push(f)}function Cw(s,c){switch(s.tag){case 5:var f=s.type;return c=c.nodeType!==1||f.toLowerCase()!==c.nodeName.toLowerCase()?null:c,c!==null?(s.stateNode=c,Nr=s,Fr=$o(c.firstChild),!0):!1;case 6:return c=s.pendingProps===""||c.nodeType!==3?null:c,c!==null?(s.stateNode=c,Nr=s,Fr=null,!0):!1;case 13:return c=c.nodeType!==8?null:c,c!==null?(f=Ws!==null?{id:wo,overflow:ko}:null,s.memoizedState={dehydrated:c,treeContext:f,retryLane:1073741824},f=ii(18,null,null,0),f.stateNode=c,f.return=s,s.child=f,Nr=s,Fr=null,!0):!1;default:return!1}}function hA(s){return(s.mode&1)!==0&&(s.flags&128)===0}function AA(s){if(Kt){var c=Fr;if(c){var f=c;if(!Cw(s,c)){if(hA(s))throw Error(n(418));c=$o(f.nextSibling);var g=Nr;c&&Cw(s,c)?Ew(g,f):(s.flags=s.flags&-4097|2,Kt=!1,Nr=s)}}else{if(hA(s))throw Error(n(418));s.flags=s.flags&-4097|2,Kt=!1,Nr=s}}}function Pw(s){for(s=s.return;s!==null&&s.tag!==5&&s.tag!==3&&s.tag!==13;)s=s.return;Nr=s}function Dd(s){if(s!==Nr)return!1;if(!Kt)return Pw(s),Kt=!0,!1;var c;if((c=s.tag!==3)&&!(c=s.tag!==5)&&(c=s.type,c=c!=="head"&&c!=="body"&&!sA(s.type,s.memoizedProps)),c&&(c=Fr)){if(hA(s))throw Dw(),Error(n(418));for(;c;)Ew(s,c),c=$o(c.nextSibling)}if(Pw(s),s.tag===13){if(s=s.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(n(317));e:{for(s=s.nextSibling,c=0;s;){if(s.nodeType===8){var f=s.data;if(f==="/$"){if(c===0){Fr=$o(s.nextSibling);break e}c--}else f!=="$"&&f!=="$!"&&f!=="$?"||c++}s=s.nextSibling}Fr=null}}else Fr=Nr?$o(s.stateNode.nextSibling):null;return!0}function Dw(){for(var s=Fr;s;)s=$o(s.nextSibling)}function Ka(){Fr=Nr=null,Kt=!1}function gA(s){gi===null?gi=[s]:gi.push(s)}var b4=C.ReactCurrentBatchConfig;function vc(s,c,f){if(s=f.ref,s!==null&&typeof s!="function"&&typeof s!="object"){if(f._owner){if(f=f._owner,f){if(f.tag!==1)throw Error(n(309));var g=f.stateNode}if(!g)throw Error(n(147,s));var v=g,S=""+s;return c!==null&&c.ref!==null&&typeof c.ref=="function"&&c.ref._stringRef===S?c.ref:(c=function(O){var U=v.refs;O===null?delete U[S]:U[S]=O},c._stringRef=S,c)}if(typeof s!="string")throw Error(n(284));if(!f._owner)throw Error(n(290,s))}return s}function Td(s,c){throw s=Object.prototype.toString.call(c),Error(n(31,s==="[object Object]"?"object with keys {"+Object.keys(c).join(", ")+"}":s))}function Tw(s){var c=s._init;return c(s._payload)}function Bw(s){function c(ne,X){if(s){var se=ne.deletions;se===null?(ne.deletions=[X],ne.flags|=16):se.push(X)}}function f(ne,X){if(!s)return null;for(;X!==null;)c(ne,X),X=X.sibling;return null}function g(ne,X){for(ne=new Map;X!==null;)X.key!==null?ne.set(X.key,X):ne.set(X.index,X),X=X.sibling;return ne}function v(ne,X){return ne=us(ne,X),ne.index=0,ne.sibling=null,ne}function S(ne,X,se){return ne.index=se,s?(se=ne.alternate,se!==null?(se=se.index,se<X?(ne.flags|=2,X):se):(ne.flags|=2,X)):(ne.flags|=1048576,X)}function O(ne){return s&&ne.alternate===null&&(ne.flags|=2),ne}function U(ne,X,se,Pe){return X===null||X.tag!==6?(X=ag(se,ne.mode,Pe),X.return=ne,X):(X=v(X,se),X.return=ne,X)}function Y(ne,X,se,Pe){var Ye=se.type;return Ye===z?be(ne,X,se.props.children,Pe,se.key):X!==null&&(X.elementType===Ye||typeof Ye=="object"&&Ye!==null&&Ye.$$typeof===pe&&Tw(Ye)===X.type)?(Pe=v(X,se.props),Pe.ref=vc(ne,X,se),Pe.return=ne,Pe):(Pe=$d(se.type,se.key,se.props,null,ne.mode,Pe),Pe.ref=vc(ne,X,se),Pe.return=ne,Pe)}function ce(ne,X,se,Pe){return X===null||X.tag!==4||X.stateNode.containerInfo!==se.containerInfo||X.stateNode.implementation!==se.implementation?(X=lg(se,ne.mode,Pe),X.return=ne,X):(X=v(X,se.children||[]),X.return=ne,X)}function be(ne,X,se,Pe,Ye){return X===null||X.tag!==7?(X=ea(se,ne.mode,Pe,Ye),X.return=ne,X):(X=v(X,se),X.return=ne,X)}function xe(ne,X,se){if(typeof X=="string"&&X!==""||typeof X=="number")return X=ag(""+X,ne.mode,se),X.return=ne,X;if(typeof X=="object"&&X!==null){switch(X.$$typeof){case j:return se=$d(X.type,X.key,X.props,null,ne.mode,se),se.ref=vc(ne,null,X),se.return=ne,se;case R:return X=lg(X,ne.mode,se),X.return=ne,X;case pe:var Pe=X._init;return xe(ne,Pe(X._payload),se)}if(mt(X)||N(X))return X=ea(X,ne.mode,se,null),X.return=ne,X;Td(ne,X)}return null}function ye(ne,X,se,Pe){var Ye=X!==null?X.key:null;if(typeof se=="string"&&se!==""||typeof se=="number")return Ye!==null?null:U(ne,X,""+se,Pe);if(typeof se=="object"&&se!==null){switch(se.$$typeof){case j:return se.key===Ye?Y(ne,X,se,Pe):null;case R:return se.key===Ye?ce(ne,X,se,Pe):null;case pe:return Ye=se._init,ye(ne,X,Ye(se._payload),Pe)}if(mt(se)||N(se))return Ye!==null?null:be(ne,X,se,Pe,null);Td(ne,se)}return null}function Re(ne,X,se,Pe,Ye){if(typeof Pe=="string"&&Pe!==""||typeof Pe=="number")return ne=ne.get(se)||null,U(X,ne,""+Pe,Ye);if(typeof Pe=="object"&&Pe!==null){switch(Pe.$$typeof){case j:return ne=ne.get(Pe.key===null?se:Pe.key)||null,Y(X,ne,Pe,Ye);case R:return ne=ne.get(Pe.key===null?se:Pe.key)||null,ce(X,ne,Pe,Ye);case pe:var Je=Pe._init;return Re(ne,X,se,Je(Pe._payload),Ye)}if(mt(Pe)||N(Pe))return ne=ne.get(se)||null,be(X,ne,Pe,Ye,null);Td(X,Pe)}return null}function Qe(ne,X,se,Pe){for(var Ye=null,Je=null,Ze=X,at=X=0,Dn=null;Ze!==null&&at<se.length;at++){Ze.index>at?(Dn=Ze,Ze=null):Dn=Ze.sibling;var Pt=ye(ne,Ze,se[at],Pe);if(Pt===null){Ze===null&&(Ze=Dn);break}s&&Ze&&Pt.alternate===null&&c(ne,Ze),X=S(Pt,X,at),Je===null?Ye=Pt:Je.sibling=Pt,Je=Pt,Ze=Dn}if(at===se.length)return f(ne,Ze),Kt&&Ys(ne,at),Ye;if(Ze===null){for(;at<se.length;at++)Ze=xe(ne,se[at],Pe),Ze!==null&&(X=S(Ze,X,at),Je===null?Ye=Ze:Je.sibling=Ze,Je=Ze);return Kt&&Ys(ne,at),Ye}for(Ze=g(ne,Ze);at<se.length;at++)Dn=Re(Ze,ne,at,se[at],Pe),Dn!==null&&(s&&Dn.alternate!==null&&Ze.delete(Dn.key===null?at:Dn.key),X=S(Dn,X,at),Je===null?Ye=Dn:Je.sibling=Dn,Je=Dn);return s&&Ze.forEach(function(ds){return c(ne,ds)}),Kt&&Ys(ne,at),Ye}function Ue(ne,X,se,Pe){var Ye=N(se);if(typeof Ye!="function")throw Error(n(150));if(se=Ye.call(se),se==null)throw Error(n(151));for(var Je=Ye=null,Ze=X,at=X=0,Dn=null,Pt=se.next();Ze!==null&&!Pt.done;at++,Pt=se.next()){Ze.index>at?(Dn=Ze,Ze=null):Dn=Ze.sibling;var ds=ye(ne,Ze,Pt.value,Pe);if(ds===null){Ze===null&&(Ze=Dn);break}s&&Ze&&ds.alternate===null&&c(ne,Ze),X=S(ds,X,at),Je===null?Ye=ds:Je.sibling=ds,Je=ds,Ze=Dn}if(Pt.done)return f(ne,Ze),Kt&&Ys(ne,at),Ye;if(Ze===null){for(;!Pt.done;at++,Pt=se.next())Pt=xe(ne,Pt.value,Pe),Pt!==null&&(X=S(Pt,X,at),Je===null?Ye=Pt:Je.sibling=Pt,Je=Pt);return Kt&&Ys(ne,at),Ye}for(Ze=g(ne,Ze);!Pt.done;at++,Pt=se.next())Pt=Re(Ze,ne,at,Pt.value,Pe),Pt!==null&&(s&&Pt.alternate!==null&&Ze.delete(Pt.key===null?at:Pt.key),X=S(Pt,X,at),Je===null?Ye=Pt:Je.sibling=Pt,Je=Pt);return s&&Ze.forEach(function($4){return c(ne,$4)}),Kt&&Ys(ne,at),Ye}function cn(ne,X,se,Pe){if(typeof se=="object"&&se!==null&&se.type===z&&se.key===null&&(se=se.props.children),typeof se=="object"&&se!==null){switch(se.$$typeof){case j:e:{for(var Ye=se.key,Je=X;Je!==null;){if(Je.key===Ye){if(Ye=se.type,Ye===z){if(Je.tag===7){f(ne,Je.sibling),X=v(Je,se.props.children),X.return=ne,ne=X;break e}}else if(Je.elementType===Ye||typeof Ye=="object"&&Ye!==null&&Ye.$$typeof===pe&&Tw(Ye)===Je.type){f(ne,Je.sibling),X=v(Je,se.props),X.ref=vc(ne,Je,se),X.return=ne,ne=X;break e}f(ne,Je);break}else c(ne,Je);Je=Je.sibling}se.type===z?(X=ea(se.props.children,ne.mode,Pe,se.key),X.return=ne,ne=X):(Pe=$d(se.type,se.key,se.props,null,ne.mode,Pe),Pe.ref=vc(ne,X,se),Pe.return=ne,ne=Pe)}return O(ne);case R:e:{for(Je=se.key;X!==null;){if(X.key===Je)if(X.tag===4&&X.stateNode.containerInfo===se.containerInfo&&X.stateNode.implementation===se.implementation){f(ne,X.sibling),X=v(X,se.children||[]),X.return=ne,ne=X;break e}else{f(ne,X);break}else c(ne,X);X=X.sibling}X=lg(se,ne.mode,Pe),X.return=ne,ne=X}return O(ne);case pe:return Je=se._init,cn(ne,X,Je(se._payload),Pe)}if(mt(se))return Qe(ne,X,se,Pe);if(N(se))return Ue(ne,X,se,Pe);Td(ne,se)}return typeof se=="string"&&se!==""||typeof se=="number"?(se=""+se,X!==null&&X.tag===6?(f(ne,X.sibling),X=v(X,se),X.return=ne,ne=X):(f(ne,X),X=ag(se,ne.mode,Pe),X.return=ne,ne=X),O(ne)):f(ne,X)}return cn}var Ga=Bw(!0),_w=Bw(!1),Bd=es(null),_d=null,Xa=null,mA=null;function vA(){mA=Xa=_d=null}function yA(s){var c=Bd.current;Wt(Bd),s._currentValue=c}function bA(s,c,f){for(;s!==null;){var g=s.alternate;if((s.childLanes&c)!==c?(s.childLanes|=c,g!==null&&(g.childLanes|=c)):g!==null&&(g.childLanes&c)!==c&&(g.childLanes|=c),s===f)break;s=s.return}}function Ja(s,c){_d=s,mA=Xa=null,s=s.dependencies,s!==null&&s.firstContext!==null&&((s.lanes&c)!==0&&(br=!0),s.firstContext=null)}function ti(s){var c=s._currentValue;if(mA!==s)if(s={context:s,memoizedValue:c,next:null},Xa===null){if(_d===null)throw Error(n(308));Xa=s,_d.dependencies={lanes:0,firstContext:s}}else Xa=Xa.next=s;return c}var qs=null;function xA(s){qs===null?qs=[s]:qs.push(s)}function Iw(s,c,f,g){var v=c.interleaved;return v===null?(f.next=f,xA(c)):(f.next=v.next,v.next=f),c.interleaved=f,So(s,g)}function So(s,c){s.lanes|=c;var f=s.alternate;for(f!==null&&(f.lanes|=c),f=s,s=s.return;s!==null;)s.childLanes|=c,f=s.alternate,f!==null&&(f.childLanes|=c),f=s,s=s.return;return f.tag===3?f.stateNode:null}var rs=!1;function wA(s){s.updateQueue={baseState:s.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Mw(s,c){s=s.updateQueue,c.updateQueue===s&&(c.updateQueue={baseState:s.baseState,firstBaseUpdate:s.firstBaseUpdate,lastBaseUpdate:s.lastBaseUpdate,shared:s.shared,effects:s.effects})}function Eo(s,c){return{eventTime:s,lane:c,tag:0,payload:null,callback:null,next:null}}function is(s,c,f){var g=s.updateQueue;if(g===null)return null;if(g=g.shared,(Et&2)!==0){var v=g.pending;return v===null?c.next=c:(c.next=v.next,v.next=c),g.pending=c,So(s,f)}return v=g.interleaved,v===null?(c.next=c,xA(g)):(c.next=v.next,v.next=c),g.interleaved=c,So(s,f)}function Id(s,c,f){if(c=c.updateQueue,c!==null&&(c=c.shared,(f&4194240)!==0)){var g=c.lanes;g&=s.pendingLanes,f|=g,c.lanes=f,De(s,f)}}function Ow(s,c){var f=s.updateQueue,g=s.alternate;if(g!==null&&(g=g.updateQueue,f===g)){var v=null,S=null;if(f=f.firstBaseUpdate,f!==null){do{var O={eventTime:f.eventTime,lane:f.lane,tag:f.tag,payload:f.payload,callback:f.callback,next:null};S===null?v=S=O:S=S.next=O,f=f.next}while(f!==null);S===null?v=S=c:S=S.next=c}else v=S=c;f={baseState:g.baseState,firstBaseUpdate:v,lastBaseUpdate:S,shared:g.shared,effects:g.effects},s.updateQueue=f;return}s=f.lastBaseUpdate,s===null?f.firstBaseUpdate=c:s.next=c,f.lastBaseUpdate=c}function Md(s,c,f,g){var v=s.updateQueue;rs=!1;var S=v.firstBaseUpdate,O=v.lastBaseUpdate,U=v.shared.pending;if(U!==null){v.shared.pending=null;var Y=U,ce=Y.next;Y.next=null,O===null?S=ce:O.next=ce,O=Y;var be=s.alternate;be!==null&&(be=be.updateQueue,U=be.lastBaseUpdate,U!==O&&(U===null?be.firstBaseUpdate=ce:U.next=ce,be.lastBaseUpdate=Y))}if(S!==null){var xe=v.baseState;O=0,be=ce=Y=null,U=S;do{var ye=U.lane,Re=U.eventTime;if((g&ye)===ye){be!==null&&(be=be.next={eventTime:Re,lane:0,tag:U.tag,payload:U.payload,callback:U.callback,next:null});e:{var Qe=s,Ue=U;switch(ye=c,Re=f,Ue.tag){case 1:if(Qe=Ue.payload,typeof Qe=="function"){xe=Qe.call(Re,xe,ye);break e}xe=Qe;break e;case 3:Qe.flags=Qe.flags&-65537|128;case 0:if(Qe=Ue.payload,ye=typeof Qe=="function"?Qe.call(Re,xe,ye):Qe,ye==null)break e;xe=de({},xe,ye);break e;case 2:rs=!0}}U.callback!==null&&U.lane!==0&&(s.flags|=64,ye=v.effects,ye===null?v.effects=[U]:ye.push(U))}else Re={eventTime:Re,lane:ye,tag:U.tag,payload:U.payload,callback:U.callback,next:null},be===null?(ce=be=Re,Y=xe):be=be.next=Re,O|=ye;if(U=U.next,U===null){if(U=v.shared.pending,U===null)break;ye=U,U=ye.next,ye.next=null,v.lastBaseUpdate=ye,v.shared.pending=null}}while(!0);if(be===null&&(Y=xe),v.baseState=Y,v.firstBaseUpdate=ce,v.lastBaseUpdate=be,c=v.shared.interleaved,c!==null){v=c;do O|=v.lane,v=v.next;while(v!==c)}else S===null&&(v.shared.lanes=0);Xs|=O,s.lanes=O,s.memoizedState=xe}}function Rw(s,c,f){if(s=c.effects,c.effects=null,s!==null)for(c=0;c<s.length;c++){var g=s[c],v=g.callback;if(v!==null){if(g.callback=null,g=f,typeof v!="function")throw Error(n(191,v));v.call(g)}}}var yc={},Zi=es(yc),bc=es(yc),xc=es(yc);function Ks(s){if(s===yc)throw Error(n(174));return s}function kA(s,c){switch(Qt(xc,c),Qt(bc,s),Qt(Zi,yc),s=c.nodeType,s){case 9:case 11:c=(c=c.documentElement)?c.namespaceURI:nn(null,"");break;default:s=s===8?c.parentNode:c,c=s.namespaceURI||null,s=s.tagName,c=nn(c,s)}Wt(Zi),Qt(Zi,c)}function Za(){Wt(Zi),Wt(bc),Wt(xc)}function Lw(s){Ks(xc.current);var c=Ks(Zi.current),f=nn(c,s.type);c!==f&&(Qt(bc,s),Qt(Zi,f))}function SA(s){bc.current===s&&(Wt(Zi),Wt(bc))}var $t=es(0);function Od(s){for(var c=s;c!==null;){if(c.tag===13){var f=c.memoizedState;if(f!==null&&(f=f.dehydrated,f===null||f.data==="$?"||f.data==="$!"))return c}else if(c.tag===19&&c.memoizedProps.revealOrder!==void 0){if((c.flags&128)!==0)return c}else if(c.child!==null){c.child.return=c,c=c.child;continue}if(c===s)break;for(;c.sibling===null;){if(c.return===null||c.return===s)return null;c=c.return}c.sibling.return=c.return,c=c.sibling}return null}var EA=[];function CA(){for(var s=0;s<EA.length;s++)EA[s]._workInProgressVersionPrimary=null;EA.length=0}var Rd=C.ReactCurrentDispatcher,PA=C.ReactCurrentBatchConfig,Gs=0,en=null,xn=null,Cn=null,Ld=!1,wc=!1,kc=0,x4=0;function qn(){throw Error(n(321))}function DA(s,c){if(c===null)return!1;for(var f=0;f<c.length&&f<s.length;f++)if(!Ai(s[f],c[f]))return!1;return!0}function TA(s,c,f,g,v,S){if(Gs=S,en=c,c.memoizedState=null,c.updateQueue=null,c.lanes=0,Rd.current=s===null||s.memoizedState===null?E4:C4,s=f(g,v),wc){S=0;do{if(wc=!1,kc=0,25<=S)throw Error(n(301));S+=1,Cn=xn=null,c.updateQueue=null,Rd.current=P4,s=f(g,v)}while(wc)}if(Rd.current=jd,c=xn!==null&&xn.next!==null,Gs=0,Cn=xn=en=null,Ld=!1,c)throw Error(n(300));return s}function BA(){var s=kc!==0;return kc=0,s}function $i(){var s={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Cn===null?en.memoizedState=Cn=s:Cn=Cn.next=s,Cn}function ni(){if(xn===null){var s=en.alternate;s=s!==null?s.memoizedState:null}else s=xn.next;var c=Cn===null?en.memoizedState:Cn.next;if(c!==null)Cn=c,xn=s;else{if(s===null)throw Error(n(310));xn=s,s={memoizedState:xn.memoizedState,baseState:xn.baseState,baseQueue:xn.baseQueue,queue:xn.queue,next:null},Cn===null?en.memoizedState=Cn=s:Cn=Cn.next=s}return Cn}function Sc(s,c){return typeof c=="function"?c(s):c}function _A(s){var c=ni(),f=c.queue;if(f===null)throw Error(n(311));f.lastRenderedReducer=s;var g=xn,v=g.baseQueue,S=f.pending;if(S!==null){if(v!==null){var O=v.next;v.next=S.next,S.next=O}g.baseQueue=v=S,f.pending=null}if(v!==null){S=v.next,g=g.baseState;var U=O=null,Y=null,ce=S;do{var be=ce.lane;if((Gs&be)===be)Y!==null&&(Y=Y.next={lane:0,action:ce.action,hasEagerState:ce.hasEagerState,eagerState:ce.eagerState,next:null}),g=ce.hasEagerState?ce.eagerState:s(g,ce.action);else{var xe={lane:be,action:ce.action,hasEagerState:ce.hasEagerState,eagerState:ce.eagerState,next:null};Y===null?(U=Y=xe,O=g):Y=Y.next=xe,en.lanes|=be,Xs|=be}ce=ce.next}while(ce!==null&&ce!==S);Y===null?O=g:Y.next=U,Ai(g,c.memoizedState)||(br=!0),c.memoizedState=g,c.baseState=O,c.baseQueue=Y,f.lastRenderedState=g}if(s=f.interleaved,s!==null){v=s;do S=v.lane,en.lanes|=S,Xs|=S,v=v.next;while(v!==s)}else v===null&&(f.lanes=0);return[c.memoizedState,f.dispatch]}function IA(s){var c=ni(),f=c.queue;if(f===null)throw Error(n(311));f.lastRenderedReducer=s;var g=f.dispatch,v=f.pending,S=c.memoizedState;if(v!==null){f.pending=null;var O=v=v.next;do S=s(S,O.action),O=O.next;while(O!==v);Ai(S,c.memoizedState)||(br=!0),c.memoizedState=S,c.baseQueue===null&&(c.baseState=S),f.lastRenderedState=S}return[S,g]}function Nw(){}function Fw(s,c){var f=en,g=ni(),v=c(),S=!Ai(g.memoizedState,v);if(S&&(g.memoizedState=v,br=!0),g=g.queue,MA(Qw.bind(null,f,g,s),[s]),g.getSnapshot!==c||S||Cn!==null&&Cn.memoizedState.tag&1){if(f.flags|=2048,Ec(9,zw.bind(null,f,g,v,c),void 0,null),Pn===null)throw Error(n(349));(Gs&30)!==0||jw(f,c,v)}return v}function jw(s,c,f){s.flags|=16384,s={getSnapshot:c,value:f},c=en.updateQueue,c===null?(c={lastEffect:null,stores:null},en.updateQueue=c,c.stores=[s]):(f=c.stores,f===null?c.stores=[s]:f.push(s))}function zw(s,c,f,g){c.value=f,c.getSnapshot=g,Hw(c)&&Uw(s)}function Qw(s,c,f){return f(function(){Hw(c)&&Uw(s)})}function Hw(s){var c=s.getSnapshot;s=s.value;try{var f=c();return!Ai(s,f)}catch{return!0}}function Uw(s){var c=So(s,1);c!==null&&bi(c,s,1,-1)}function Vw(s){var c=$i();return typeof s=="function"&&(s=s()),c.memoizedState=c.baseState=s,s={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Sc,lastRenderedState:s},c.queue=s,s=s.dispatch=S4.bind(null,en,s),[c.memoizedState,s]}function Ec(s,c,f,g){return s={tag:s,create:c,destroy:f,deps:g,next:null},c=en.updateQueue,c===null?(c={lastEffect:null,stores:null},en.updateQueue=c,c.lastEffect=s.next=s):(f=c.lastEffect,f===null?c.lastEffect=s.next=s:(g=f.next,f.next=s,s.next=g,c.lastEffect=s)),s}function Ww(){return ni().memoizedState}function Nd(s,c,f,g){var v=$i();en.flags|=s,v.memoizedState=Ec(1|c,f,void 0,g===void 0?null:g)}function Fd(s,c,f,g){var v=ni();g=g===void 0?null:g;var S=void 0;if(xn!==null){var O=xn.memoizedState;if(S=O.destroy,g!==null&&DA(g,O.deps)){v.memoizedState=Ec(c,f,S,g);return}}en.flags|=s,v.memoizedState=Ec(1|c,f,S,g)}function Yw(s,c){return Nd(8390656,8,s,c)}function MA(s,c){return Fd(2048,8,s,c)}function qw(s,c){return Fd(4,2,s,c)}function Kw(s,c){return Fd(4,4,s,c)}function Gw(s,c){if(typeof c=="function")return s=s(),c(s),function(){c(null)};if(c!=null)return s=s(),c.current=s,function(){c.current=null}}function Xw(s,c,f){return f=f!=null?f.concat([s]):null,Fd(4,4,Gw.bind(null,c,s),f)}function OA(){}function Jw(s,c){var f=ni();c=c===void 0?null:c;var g=f.memoizedState;return g!==null&&c!==null&&DA(c,g[1])?g[0]:(f.memoizedState=[s,c],s)}function Zw(s,c){var f=ni();c=c===void 0?null:c;var g=f.memoizedState;return g!==null&&c!==null&&DA(c,g[1])?g[0]:(s=s(),f.memoizedState=[s,c],s)}function $w(s,c,f){return(Gs&21)===0?(s.baseState&&(s.baseState=!1,br=!0),s.memoizedState=f):(Ai(f,c)||(f=H(),en.lanes|=f,Xs|=f,s.baseState=!0),c)}function w4(s,c){var f=Ie;Ie=f!==0&&4>f?f:4,s(!0);var g=PA.transition;PA.transition={};try{s(!1),c()}finally{Ie=f,PA.transition=g}}function e1(){return ni().memoizedState}function k4(s,c,f){var g=ls(s);if(f={lane:g,action:f,hasEagerState:!1,eagerState:null,next:null},t1(s))n1(c,f);else if(f=Iw(s,c,f,g),f!==null){var v=nr();bi(f,s,g,v),r1(f,c,g)}}function S4(s,c,f){var g=ls(s),v={lane:g,action:f,hasEagerState:!1,eagerState:null,next:null};if(t1(s))n1(c,v);else{var S=s.alternate;if(s.lanes===0&&(S===null||S.lanes===0)&&(S=c.lastRenderedReducer,S!==null))try{var O=c.lastRenderedState,U=S(O,f);if(v.hasEagerState=!0,v.eagerState=U,Ai(U,O)){var Y=c.interleaved;Y===null?(v.next=v,xA(c)):(v.next=Y.next,Y.next=v),c.interleaved=v;return}}catch{}f=Iw(s,c,v,g),f!==null&&(v=nr(),bi(f,s,g,v),r1(f,c,g))}}function t1(s){var c=s.alternate;return s===en||c!==null&&c===en}function n1(s,c){wc=Ld=!0;var f=s.pending;f===null?c.next=c:(c.next=f.next,f.next=c),s.pending=c}function r1(s,c,f){if((f&4194240)!==0){var g=c.lanes;g&=s.pendingLanes,f|=g,c.lanes=f,De(s,f)}}var jd={readContext:ti,useCallback:qn,useContext:qn,useEffect:qn,useImperativeHandle:qn,useInsertionEffect:qn,useLayoutEffect:qn,useMemo:qn,useReducer:qn,useRef:qn,useState:qn,useDebugValue:qn,useDeferredValue:qn,useTransition:qn,useMutableSource:qn,useSyncExternalStore:qn,useId:qn,unstable_isNewReconciler:!1},E4={readContext:ti,useCallback:function(s,c){return $i().memoizedState=[s,c===void 0?null:c],s},useContext:ti,useEffect:Yw,useImperativeHandle:function(s,c,f){return f=f!=null?f.concat([s]):null,Nd(4194308,4,Gw.bind(null,c,s),f)},useLayoutEffect:function(s,c){return Nd(4194308,4,s,c)},useInsertionEffect:function(s,c){return Nd(4,2,s,c)},useMemo:function(s,c){var f=$i();return c=c===void 0?null:c,s=s(),f.memoizedState=[s,c],s},useReducer:function(s,c,f){var g=$i();return c=f!==void 0?f(c):c,g.memoizedState=g.baseState=c,s={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:s,lastRenderedState:c},g.queue=s,s=s.dispatch=k4.bind(null,en,s),[g.memoizedState,s]},useRef:function(s){var c=$i();return s={current:s},c.memoizedState=s},useState:Vw,useDebugValue:OA,useDeferredValue:function(s){return $i().memoizedState=s},useTransition:function(){var s=Vw(!1),c=s[0];return s=w4.bind(null,s[1]),$i().memoizedState=s,[c,s]},useMutableSource:function(){},useSyncExternalStore:function(s,c,f){var g=en,v=$i();if(Kt){if(f===void 0)throw Error(n(407));f=f()}else{if(f=c(),Pn===null)throw Error(n(349));(Gs&30)!==0||jw(g,c,f)}v.memoizedState=f;var S={value:f,getSnapshot:c};return v.queue=S,Yw(Qw.bind(null,g,S,s),[s]),g.flags|=2048,Ec(9,zw.bind(null,g,S,f,c),void 0,null),f},useId:function(){var s=$i(),c=Pn.identifierPrefix;if(Kt){var f=ko,g=wo;f=(g&~(1<<32-bn(g)-1)).toString(32)+f,c=":"+c+"R"+f,f=kc++,0<f&&(c+="H"+f.toString(32)),c+=":"}else f=x4++,c=":"+c+"r"+f.toString(32)+":";return s.memoizedState=c},unstable_isNewReconciler:!1},C4={readContext:ti,useCallback:Jw,useContext:ti,useEffect:MA,useImperativeHandle:Xw,useInsertionEffect:qw,useLayoutEffect:Kw,useMemo:Zw,useReducer:_A,useRef:Ww,useState:function(){return _A(Sc)},useDebugValue:OA,useDeferredValue:function(s){var c=ni();return $w(c,xn.memoizedState,s)},useTransition:function(){var s=_A(Sc)[0],c=ni().memoizedState;return[s,c]},useMutableSource:Nw,useSyncExternalStore:Fw,useId:e1,unstable_isNewReconciler:!1},P4={readContext:ti,useCallback:Jw,useContext:ti,useEffect:MA,useImperativeHandle:Xw,useInsertionEffect:qw,useLayoutEffect:Kw,useMemo:Zw,useReducer:IA,useRef:Ww,useState:function(){return IA(Sc)},useDebugValue:OA,useDeferredValue:function(s){var c=ni();return xn===null?c.memoizedState=s:$w(c,xn.memoizedState,s)},useTransition:function(){var s=IA(Sc)[0],c=ni().memoizedState;return[s,c]},useMutableSource:Nw,useSyncExternalStore:Fw,useId:e1,unstable_isNewReconciler:!1};function mi(s,c){if(s&&s.defaultProps){c=de({},c),s=s.defaultProps;for(var f in s)c[f]===void 0&&(c[f]=s[f]);return c}return c}function RA(s,c,f,g){c=s.memoizedState,f=f(g,c),f=f==null?c:de({},c,f),s.memoizedState=f,s.lanes===0&&(s.updateQueue.baseState=f)}var zd={isMounted:function(s){return(s=s._reactInternals)?En(s)===s:!1},enqueueSetState:function(s,c,f){s=s._reactInternals;var g=nr(),v=ls(s),S=Eo(g,v);S.payload=c,f!=null&&(S.callback=f),c=is(s,S,v),c!==null&&(bi(c,s,v,g),Id(c,s,v))},enqueueReplaceState:function(s,c,f){s=s._reactInternals;var g=nr(),v=ls(s),S=Eo(g,v);S.tag=1,S.payload=c,f!=null&&(S.callback=f),c=is(s,S,v),c!==null&&(bi(c,s,v,g),Id(c,s,v))},enqueueForceUpdate:function(s,c){s=s._reactInternals;var f=nr(),g=ls(s),v=Eo(f,g);v.tag=2,c!=null&&(v.callback=c),c=is(s,v,g),c!==null&&(bi(c,s,g,f),Id(c,s,g))}};function i1(s,c,f,g,v,S,O){return s=s.stateNode,typeof s.shouldComponentUpdate=="function"?s.shouldComponentUpdate(g,S,O):c.prototype&&c.prototype.isPureReactComponent?!dc(f,g)||!dc(v,S):!0}function o1(s,c,f){var g=!1,v=ts,S=c.contextType;return typeof S=="object"&&S!==null?S=ti(S):(v=yr(c)?Vs:Yn.current,g=c.contextTypes,S=(g=g!=null)?Wa(s,v):ts),c=new c(f,S),s.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,c.updater=zd,s.stateNode=c,c._reactInternals=s,g&&(s=s.stateNode,s.__reactInternalMemoizedUnmaskedChildContext=v,s.__reactInternalMemoizedMaskedChildContext=S),c}function s1(s,c,f,g){s=c.state,typeof c.componentWillReceiveProps=="function"&&c.componentWillReceiveProps(f,g),typeof c.UNSAFE_componentWillReceiveProps=="function"&&c.UNSAFE_componentWillReceiveProps(f,g),c.state!==s&&zd.enqueueReplaceState(c,c.state,null)}function LA(s,c,f,g){var v=s.stateNode;v.props=f,v.state=s.memoizedState,v.refs={},wA(s);var S=c.contextType;typeof S=="object"&&S!==null?v.context=ti(S):(S=yr(c)?Vs:Yn.current,v.context=Wa(s,S)),v.state=s.memoizedState,S=c.getDerivedStateFromProps,typeof S=="function"&&(RA(s,c,S,f),v.state=s.memoizedState),typeof c.getDerivedStateFromProps=="function"||typeof v.getSnapshotBeforeUpdate=="function"||typeof v.UNSAFE_componentWillMount!="function"&&typeof v.componentWillMount!="function"||(c=v.state,typeof v.componentWillMount=="function"&&v.componentWillMount(),typeof v.UNSAFE_componentWillMount=="function"&&v.UNSAFE_componentWillMount(),c!==v.state&&zd.enqueueReplaceState(v,v.state,null),Md(s,f,v,g),v.state=s.memoizedState),typeof v.componentDidMount=="function"&&(s.flags|=4194308)}function $a(s,c){try{var f="",g=c;do f+=we(g),g=g.return;while(g);var v=f}catch(S){v=`
|
|
6
|
+
`).replace(p4,"")}function bd(s,c,f){if(c=mw(c),mw(s)!==c&&f)throw Error(n(425))}function xd(){}var iA=null,oA=null;function sA(s,c){return s==="textarea"||s==="noscript"||typeof c.children=="string"||typeof c.children=="number"||typeof c.dangerouslySetInnerHTML=="object"&&c.dangerouslySetInnerHTML!==null&&c.dangerouslySetInnerHTML.__html!=null}var aA=typeof setTimeout=="function"?setTimeout:void 0,h4=typeof clearTimeout=="function"?clearTimeout:void 0,vw=typeof Promise=="function"?Promise:void 0,A4=typeof queueMicrotask=="function"?queueMicrotask:typeof vw<"u"?function(s){return vw.resolve(null).then(s).catch(g4)}:aA;function g4(s){setTimeout(function(){throw s})}function lA(s,c){var f=c,g=0;do{var v=f.nextSibling;if(s.removeChild(f),v&&v.nodeType===8)if(f=v.data,f==="/$"){if(g===0){s.removeChild(v),Ki(c);return}g--}else f!=="$"&&f!=="$?"&&f!=="$!"||g++;f=v}while(f);Ki(c)}function $o(s){for(;s!=null;s=s.nextSibling){var c=s.nodeType;if(c===1||c===3)break;if(c===8){if(c=s.data,c==="$"||c==="$!"||c==="$?")break;if(c==="/$")return null}}return s}function yw(s){s=s.previousSibling;for(var c=0;s;){if(s.nodeType===8){var f=s.data;if(f==="$"||f==="$!"||f==="$?"){if(c===0)return s;c--}else f==="/$"&&c++}s=s.previousSibling}return null}var Ha=Math.random().toString(36).slice(2),Ji="__reactFiber$"+Ha,gc="__reactProps$"+Ha,bo="__reactContainer$"+Ha,cA="__reactEvents$"+Ha,m4="__reactListeners$"+Ha,v4="__reactHandles$"+Ha;function Us(s){var c=s[Ji];if(c)return c;for(var f=s.parentNode;f;){if(c=f[bo]||f[Ji]){if(f=c.alternate,c.child!==null||f!==null&&f.child!==null)for(s=yw(s);s!==null;){if(f=s[Ji])return f;s=yw(s)}return c}s=f,f=s.parentNode}return null}function mc(s){return s=s[Ji]||s[bo],!s||s.tag!==5&&s.tag!==6&&s.tag!==13&&s.tag!==3?null:s}function Ua(s){if(s.tag===5||s.tag===6)return s.stateNode;throw Error(n(33))}function wd(s){return s[gc]||null}var uA=[],Va=-1;function es(s){return{current:s}}function Wt(s){0>Va||(s.current=uA[Va],uA[Va]=null,Va--)}function Qt(s,c){Va++,uA[Va]=s.current,s.current=c}var ts={},Yn=es(ts),vr=es(!1),Vs=ts;function Wa(s,c){var f=s.type.contextTypes;if(!f)return ts;var g=s.stateNode;if(g&&g.__reactInternalMemoizedUnmaskedChildContext===c)return g.__reactInternalMemoizedMaskedChildContext;var v={},S;for(S in f)v[S]=c[S];return g&&(s=s.stateNode,s.__reactInternalMemoizedUnmaskedChildContext=c,s.__reactInternalMemoizedMaskedChildContext=v),v}function yr(s){return s=s.childContextTypes,s!=null}function kd(){Wt(vr),Wt(Yn)}function bw(s,c,f){if(Yn.current!==ts)throw Error(n(168));Qt(Yn,c),Qt(vr,f)}function xw(s,c,f){var g=s.stateNode;if(c=c.childContextTypes,typeof g.getChildContext!="function")return f;g=g.getChildContext();for(var v in g)if(!(v in c))throw Error(n(108,Oe(s)||"Unknown",v));return de({},f,g)}function Sd(s){return s=(s=s.stateNode)&&s.__reactInternalMemoizedMergedChildContext||ts,Vs=Yn.current,Qt(Yn,s),Qt(vr,vr.current),!0}function ww(s,c,f){var g=s.stateNode;if(!g)throw Error(n(169));f?(s=xw(s,c,Vs),g.__reactInternalMemoizedMergedChildContext=s,Wt(vr),Wt(Yn),Qt(Yn,s)):Wt(vr),Qt(vr,f)}var xo=null,Ed=!1,dA=!1;function kw(s){xo===null?xo=[s]:xo.push(s)}function y4(s){Ed=!0,kw(s)}function ns(){if(!dA&&xo!==null){dA=!0;var s=0,c=Ie;try{var f=xo;for(Ie=1;s<f.length;s++){var g=f[s];do g=g(!0);while(g!==null)}xo=null,Ed=!1}catch(v){throw xo!==null&&(xo=xo.slice(s+1)),po(Yo,ns),v}finally{Ie=c,dA=!1}}return null}var Ya=[],qa=0,Cd=null,Pd=0,$r=[],ei=0,Ws=null,wo=1,ko="";function Ys(s,c){Ya[qa++]=Pd,Ya[qa++]=Cd,Cd=s,Pd=c}function Sw(s,c,f){$r[ei++]=wo,$r[ei++]=ko,$r[ei++]=Ws,Ws=s;var g=wo;s=ko;var v=32-bn(g)-1;g&=~(1<<v),f+=1;var S=32-bn(c)+v;if(30<S){var O=v-v%5;S=(g&(1<<O)-1).toString(32),g>>=O,v-=O,wo=1<<32-bn(c)+v|f<<v|g,ko=S+s}else wo=1<<S|f<<v|g,ko=s}function fA(s){s.return!==null&&(Ys(s,1),Sw(s,1,0))}function pA(s){for(;s===Cd;)Cd=Ya[--qa],Ya[qa]=null,Pd=Ya[--qa],Ya[qa]=null;for(;s===Ws;)Ws=$r[--ei],$r[ei]=null,ko=$r[--ei],$r[ei]=null,wo=$r[--ei],$r[ei]=null}var Nr=null,Fr=null,Kt=!1,gi=null;function Ew(s,c){var f=ii(5,null,null,0);f.elementType="DELETED",f.stateNode=c,f.return=s,c=s.deletions,c===null?(s.deletions=[f],s.flags|=16):c.push(f)}function Cw(s,c){switch(s.tag){case 5:var f=s.type;return c=c.nodeType!==1||f.toLowerCase()!==c.nodeName.toLowerCase()?null:c,c!==null?(s.stateNode=c,Nr=s,Fr=$o(c.firstChild),!0):!1;case 6:return c=s.pendingProps===""||c.nodeType!==3?null:c,c!==null?(s.stateNode=c,Nr=s,Fr=null,!0):!1;case 13:return c=c.nodeType!==8?null:c,c!==null?(f=Ws!==null?{id:wo,overflow:ko}:null,s.memoizedState={dehydrated:c,treeContext:f,retryLane:1073741824},f=ii(18,null,null,0),f.stateNode=c,f.return=s,s.child=f,Nr=s,Fr=null,!0):!1;default:return!1}}function hA(s){return(s.mode&1)!==0&&(s.flags&128)===0}function AA(s){if(Kt){var c=Fr;if(c){var f=c;if(!Cw(s,c)){if(hA(s))throw Error(n(418));c=$o(f.nextSibling);var g=Nr;c&&Cw(s,c)?Ew(g,f):(s.flags=s.flags&-4097|2,Kt=!1,Nr=s)}}else{if(hA(s))throw Error(n(418));s.flags=s.flags&-4097|2,Kt=!1,Nr=s}}}function Pw(s){for(s=s.return;s!==null&&s.tag!==5&&s.tag!==3&&s.tag!==13;)s=s.return;Nr=s}function Dd(s){if(s!==Nr)return!1;if(!Kt)return Pw(s),Kt=!0,!1;var c;if((c=s.tag!==3)&&!(c=s.tag!==5)&&(c=s.type,c=c!=="head"&&c!=="body"&&!sA(s.type,s.memoizedProps)),c&&(c=Fr)){if(hA(s))throw Dw(),Error(n(418));for(;c;)Ew(s,c),c=$o(c.nextSibling)}if(Pw(s),s.tag===13){if(s=s.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(n(317));e:{for(s=s.nextSibling,c=0;s;){if(s.nodeType===8){var f=s.data;if(f==="/$"){if(c===0){Fr=$o(s.nextSibling);break e}c--}else f!=="$"&&f!=="$!"&&f!=="$?"||c++}s=s.nextSibling}Fr=null}}else Fr=Nr?$o(s.stateNode.nextSibling):null;return!0}function Dw(){for(var s=Fr;s;)s=$o(s.nextSibling)}function Ka(){Fr=Nr=null,Kt=!1}function gA(s){gi===null?gi=[s]:gi.push(s)}var b4=C.ReactCurrentBatchConfig;function vc(s,c,f){if(s=f.ref,s!==null&&typeof s!="function"&&typeof s!="object"){if(f._owner){if(f=f._owner,f){if(f.tag!==1)throw Error(n(309));var g=f.stateNode}if(!g)throw Error(n(147,s));var v=g,S=""+s;return c!==null&&c.ref!==null&&typeof c.ref=="function"&&c.ref._stringRef===S?c.ref:(c=function(O){var U=v.refs;O===null?delete U[S]:U[S]=O},c._stringRef=S,c)}if(typeof s!="string")throw Error(n(284));if(!f._owner)throw Error(n(290,s))}return s}function Td(s,c){throw s=Object.prototype.toString.call(c),Error(n(31,s==="[object Object]"?"object with keys {"+Object.keys(c).join(", ")+"}":s))}function Tw(s){var c=s._init;return c(s._payload)}function Bw(s){function c(ne,X){if(s){var se=ne.deletions;se===null?(ne.deletions=[X],ne.flags|=16):se.push(X)}}function f(ne,X){if(!s)return null;for(;X!==null;)c(ne,X),X=X.sibling;return null}function g(ne,X){for(ne=new Map;X!==null;)X.key!==null?ne.set(X.key,X):ne.set(X.index,X),X=X.sibling;return ne}function v(ne,X){return ne=us(ne,X),ne.index=0,ne.sibling=null,ne}function S(ne,X,se){return ne.index=se,s?(se=ne.alternate,se!==null?(se=se.index,se<X?(ne.flags|=2,X):se):(ne.flags|=2,X)):(ne.flags|=1048576,X)}function O(ne){return s&&ne.alternate===null&&(ne.flags|=2),ne}function U(ne,X,se,Pe){return X===null||X.tag!==6?(X=ag(se,ne.mode,Pe),X.return=ne,X):(X=v(X,se),X.return=ne,X)}function Y(ne,X,se,Pe){var Ye=se.type;return Ye===z?be(ne,X,se.props.children,Pe,se.key):X!==null&&(X.elementType===Ye||typeof Ye=="object"&&Ye!==null&&Ye.$$typeof===pe&&Tw(Ye)===X.type)?(Pe=v(X,se.props),Pe.ref=vc(ne,X,se),Pe.return=ne,Pe):(Pe=$d(se.type,se.key,se.props,null,ne.mode,Pe),Pe.ref=vc(ne,X,se),Pe.return=ne,Pe)}function ce(ne,X,se,Pe){return X===null||X.tag!==4||X.stateNode.containerInfo!==se.containerInfo||X.stateNode.implementation!==se.implementation?(X=lg(se,ne.mode,Pe),X.return=ne,X):(X=v(X,se.children||[]),X.return=ne,X)}function be(ne,X,se,Pe,Ye){return X===null||X.tag!==7?(X=ea(se,ne.mode,Pe,Ye),X.return=ne,X):(X=v(X,se),X.return=ne,X)}function xe(ne,X,se){if(typeof X=="string"&&X!==""||typeof X=="number")return X=ag(""+X,ne.mode,se),X.return=ne,X;if(typeof X=="object"&&X!==null){switch(X.$$typeof){case j:return se=$d(X.type,X.key,X.props,null,ne.mode,se),se.ref=vc(ne,null,X),se.return=ne,se;case R:return X=lg(X,ne.mode,se),X.return=ne,X;case pe:var Pe=X._init;return xe(ne,Pe(X._payload),se)}if(mt(X)||N(X))return X=ea(X,ne.mode,se,null),X.return=ne,X;Td(ne,X)}return null}function ye(ne,X,se,Pe){var Ye=X!==null?X.key:null;if(typeof se=="string"&&se!==""||typeof se=="number")return Ye!==null?null:U(ne,X,""+se,Pe);if(typeof se=="object"&&se!==null){switch(se.$$typeof){case j:return se.key===Ye?Y(ne,X,se,Pe):null;case R:return se.key===Ye?ce(ne,X,se,Pe):null;case pe:return Ye=se._init,ye(ne,X,Ye(se._payload),Pe)}if(mt(se)||N(se))return Ye!==null?null:be(ne,X,se,Pe,null);Td(ne,se)}return null}function Re(ne,X,se,Pe,Ye){if(typeof Pe=="string"&&Pe!==""||typeof Pe=="number")return ne=ne.get(se)||null,U(X,ne,""+Pe,Ye);if(typeof Pe=="object"&&Pe!==null){switch(Pe.$$typeof){case j:return ne=ne.get(Pe.key===null?se:Pe.key)||null,Y(X,ne,Pe,Ye);case R:return ne=ne.get(Pe.key===null?se:Pe.key)||null,ce(X,ne,Pe,Ye);case pe:var Je=Pe._init;return Re(ne,X,se,Je(Pe._payload),Ye)}if(mt(Pe)||N(Pe))return ne=ne.get(se)||null,be(X,ne,Pe,Ye,null);Td(X,Pe)}return null}function Qe(ne,X,se,Pe){for(var Ye=null,Je=null,Ze=X,at=X=0,Dn=null;Ze!==null&&at<se.length;at++){Ze.index>at?(Dn=Ze,Ze=null):Dn=Ze.sibling;var Pt=ye(ne,Ze,se[at],Pe);if(Pt===null){Ze===null&&(Ze=Dn);break}s&&Ze&&Pt.alternate===null&&c(ne,Ze),X=S(Pt,X,at),Je===null?Ye=Pt:Je.sibling=Pt,Je=Pt,Ze=Dn}if(at===se.length)return f(ne,Ze),Kt&&Ys(ne,at),Ye;if(Ze===null){for(;at<se.length;at++)Ze=xe(ne,se[at],Pe),Ze!==null&&(X=S(Ze,X,at),Je===null?Ye=Ze:Je.sibling=Ze,Je=Ze);return Kt&&Ys(ne,at),Ye}for(Ze=g(ne,Ze);at<se.length;at++)Dn=Re(Ze,ne,at,se[at],Pe),Dn!==null&&(s&&Dn.alternate!==null&&Ze.delete(Dn.key===null?at:Dn.key),X=S(Dn,X,at),Je===null?Ye=Dn:Je.sibling=Dn,Je=Dn);return s&&Ze.forEach(function(ds){return c(ne,ds)}),Kt&&Ys(ne,at),Ye}function Ue(ne,X,se,Pe){var Ye=N(se);if(typeof Ye!="function")throw Error(n(150));if(se=Ye.call(se),se==null)throw Error(n(151));for(var Je=Ye=null,Ze=X,at=X=0,Dn=null,Pt=se.next();Ze!==null&&!Pt.done;at++,Pt=se.next()){Ze.index>at?(Dn=Ze,Ze=null):Dn=Ze.sibling;var ds=ye(ne,Ze,Pt.value,Pe);if(ds===null){Ze===null&&(Ze=Dn);break}s&&Ze&&ds.alternate===null&&c(ne,Ze),X=S(ds,X,at),Je===null?Ye=ds:Je.sibling=ds,Je=ds,Ze=Dn}if(Pt.done)return f(ne,Ze),Kt&&Ys(ne,at),Ye;if(Ze===null){for(;!Pt.done;at++,Pt=se.next())Pt=xe(ne,Pt.value,Pe),Pt!==null&&(X=S(Pt,X,at),Je===null?Ye=Pt:Je.sibling=Pt,Je=Pt);return Kt&&Ys(ne,at),Ye}for(Ze=g(ne,Ze);!Pt.done;at++,Pt=se.next())Pt=Re(Ze,ne,at,Pt.value,Pe),Pt!==null&&(s&&Pt.alternate!==null&&Ze.delete(Pt.key===null?at:Pt.key),X=S(Pt,X,at),Je===null?Ye=Pt:Je.sibling=Pt,Je=Pt);return s&&Ze.forEach(function($4){return c(ne,$4)}),Kt&&Ys(ne,at),Ye}function cn(ne,X,se,Pe){if(typeof se=="object"&&se!==null&&se.type===z&&se.key===null&&(se=se.props.children),typeof se=="object"&&se!==null){switch(se.$$typeof){case j:e:{for(var Ye=se.key,Je=X;Je!==null;){if(Je.key===Ye){if(Ye=se.type,Ye===z){if(Je.tag===7){f(ne,Je.sibling),X=v(Je,se.props.children),X.return=ne,ne=X;break e}}else if(Je.elementType===Ye||typeof Ye=="object"&&Ye!==null&&Ye.$$typeof===pe&&Tw(Ye)===Je.type){f(ne,Je.sibling),X=v(Je,se.props),X.ref=vc(ne,Je,se),X.return=ne,ne=X;break e}f(ne,Je);break}else c(ne,Je);Je=Je.sibling}se.type===z?(X=ea(se.props.children,ne.mode,Pe,se.key),X.return=ne,ne=X):(Pe=$d(se.type,se.key,se.props,null,ne.mode,Pe),Pe.ref=vc(ne,X,se),Pe.return=ne,ne=Pe)}return O(ne);case R:e:{for(Je=se.key;X!==null;){if(X.key===Je)if(X.tag===4&&X.stateNode.containerInfo===se.containerInfo&&X.stateNode.implementation===se.implementation){f(ne,X.sibling),X=v(X,se.children||[]),X.return=ne,ne=X;break e}else{f(ne,X);break}else c(ne,X);X=X.sibling}X=lg(se,ne.mode,Pe),X.return=ne,ne=X}return O(ne);case pe:return Je=se._init,cn(ne,X,Je(se._payload),Pe)}if(mt(se))return Qe(ne,X,se,Pe);if(N(se))return Ue(ne,X,se,Pe);Td(ne,se)}return typeof se=="string"&&se!==""||typeof se=="number"?(se=""+se,X!==null&&X.tag===6?(f(ne,X.sibling),X=v(X,se),X.return=ne,ne=X):(f(ne,X),X=ag(se,ne.mode,Pe),X.return=ne,ne=X),O(ne)):f(ne,X)}return cn}var Ga=Bw(!0),_w=Bw(!1),Bd=es(null),_d=null,Xa=null,mA=null;function vA(){mA=Xa=_d=null}function yA(s){var c=Bd.current;Wt(Bd),s._currentValue=c}function bA(s,c,f){for(;s!==null;){var g=s.alternate;if((s.childLanes&c)!==c?(s.childLanes|=c,g!==null&&(g.childLanes|=c)):g!==null&&(g.childLanes&c)!==c&&(g.childLanes|=c),s===f)break;s=s.return}}function Ja(s,c){_d=s,mA=Xa=null,s=s.dependencies,s!==null&&s.firstContext!==null&&((s.lanes&c)!==0&&(br=!0),s.firstContext=null)}function ti(s){var c=s._currentValue;if(mA!==s)if(s={context:s,memoizedValue:c,next:null},Xa===null){if(_d===null)throw Error(n(308));Xa=s,_d.dependencies={lanes:0,firstContext:s}}else Xa=Xa.next=s;return c}var qs=null;function xA(s){qs===null?qs=[s]:qs.push(s)}function Iw(s,c,f,g){var v=c.interleaved;return v===null?(f.next=f,xA(c)):(f.next=v.next,v.next=f),c.interleaved=f,So(s,g)}function So(s,c){s.lanes|=c;var f=s.alternate;for(f!==null&&(f.lanes|=c),f=s,s=s.return;s!==null;)s.childLanes|=c,f=s.alternate,f!==null&&(f.childLanes|=c),f=s,s=s.return;return f.tag===3?f.stateNode:null}var rs=!1;function wA(s){s.updateQueue={baseState:s.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Mw(s,c){s=s.updateQueue,c.updateQueue===s&&(c.updateQueue={baseState:s.baseState,firstBaseUpdate:s.firstBaseUpdate,lastBaseUpdate:s.lastBaseUpdate,shared:s.shared,effects:s.effects})}function Eo(s,c){return{eventTime:s,lane:c,tag:0,payload:null,callback:null,next:null}}function is(s,c,f){var g=s.updateQueue;if(g===null)return null;if(g=g.shared,(St&2)!==0){var v=g.pending;return v===null?c.next=c:(c.next=v.next,v.next=c),g.pending=c,So(s,f)}return v=g.interleaved,v===null?(c.next=c,xA(g)):(c.next=v.next,v.next=c),g.interleaved=c,So(s,f)}function Id(s,c,f){if(c=c.updateQueue,c!==null&&(c=c.shared,(f&4194240)!==0)){var g=c.lanes;g&=s.pendingLanes,f|=g,c.lanes=f,De(s,f)}}function Ow(s,c){var f=s.updateQueue,g=s.alternate;if(g!==null&&(g=g.updateQueue,f===g)){var v=null,S=null;if(f=f.firstBaseUpdate,f!==null){do{var O={eventTime:f.eventTime,lane:f.lane,tag:f.tag,payload:f.payload,callback:f.callback,next:null};S===null?v=S=O:S=S.next=O,f=f.next}while(f!==null);S===null?v=S=c:S=S.next=c}else v=S=c;f={baseState:g.baseState,firstBaseUpdate:v,lastBaseUpdate:S,shared:g.shared,effects:g.effects},s.updateQueue=f;return}s=f.lastBaseUpdate,s===null?f.firstBaseUpdate=c:s.next=c,f.lastBaseUpdate=c}function Md(s,c,f,g){var v=s.updateQueue;rs=!1;var S=v.firstBaseUpdate,O=v.lastBaseUpdate,U=v.shared.pending;if(U!==null){v.shared.pending=null;var Y=U,ce=Y.next;Y.next=null,O===null?S=ce:O.next=ce,O=Y;var be=s.alternate;be!==null&&(be=be.updateQueue,U=be.lastBaseUpdate,U!==O&&(U===null?be.firstBaseUpdate=ce:U.next=ce,be.lastBaseUpdate=Y))}if(S!==null){var xe=v.baseState;O=0,be=ce=Y=null,U=S;do{var ye=U.lane,Re=U.eventTime;if((g&ye)===ye){be!==null&&(be=be.next={eventTime:Re,lane:0,tag:U.tag,payload:U.payload,callback:U.callback,next:null});e:{var Qe=s,Ue=U;switch(ye=c,Re=f,Ue.tag){case 1:if(Qe=Ue.payload,typeof Qe=="function"){xe=Qe.call(Re,xe,ye);break e}xe=Qe;break e;case 3:Qe.flags=Qe.flags&-65537|128;case 0:if(Qe=Ue.payload,ye=typeof Qe=="function"?Qe.call(Re,xe,ye):Qe,ye==null)break e;xe=de({},xe,ye);break e;case 2:rs=!0}}U.callback!==null&&U.lane!==0&&(s.flags|=64,ye=v.effects,ye===null?v.effects=[U]:ye.push(U))}else Re={eventTime:Re,lane:ye,tag:U.tag,payload:U.payload,callback:U.callback,next:null},be===null?(ce=be=Re,Y=xe):be=be.next=Re,O|=ye;if(U=U.next,U===null){if(U=v.shared.pending,U===null)break;ye=U,U=ye.next,ye.next=null,v.lastBaseUpdate=ye,v.shared.pending=null}}while(!0);if(be===null&&(Y=xe),v.baseState=Y,v.firstBaseUpdate=ce,v.lastBaseUpdate=be,c=v.shared.interleaved,c!==null){v=c;do O|=v.lane,v=v.next;while(v!==c)}else S===null&&(v.shared.lanes=0);Xs|=O,s.lanes=O,s.memoizedState=xe}}function Rw(s,c,f){if(s=c.effects,c.effects=null,s!==null)for(c=0;c<s.length;c++){var g=s[c],v=g.callback;if(v!==null){if(g.callback=null,g=f,typeof v!="function")throw Error(n(191,v));v.call(g)}}}var yc={},Zi=es(yc),bc=es(yc),xc=es(yc);function Ks(s){if(s===yc)throw Error(n(174));return s}function kA(s,c){switch(Qt(xc,c),Qt(bc,s),Qt(Zi,yc),s=c.nodeType,s){case 9:case 11:c=(c=c.documentElement)?c.namespaceURI:nn(null,"");break;default:s=s===8?c.parentNode:c,c=s.namespaceURI||null,s=s.tagName,c=nn(c,s)}Wt(Zi),Qt(Zi,c)}function Za(){Wt(Zi),Wt(bc),Wt(xc)}function Lw(s){Ks(xc.current);var c=Ks(Zi.current),f=nn(c,s.type);c!==f&&(Qt(bc,s),Qt(Zi,f))}function SA(s){bc.current===s&&(Wt(Zi),Wt(bc))}var $t=es(0);function Od(s){for(var c=s;c!==null;){if(c.tag===13){var f=c.memoizedState;if(f!==null&&(f=f.dehydrated,f===null||f.data==="$?"||f.data==="$!"))return c}else if(c.tag===19&&c.memoizedProps.revealOrder!==void 0){if((c.flags&128)!==0)return c}else if(c.child!==null){c.child.return=c,c=c.child;continue}if(c===s)break;for(;c.sibling===null;){if(c.return===null||c.return===s)return null;c=c.return}c.sibling.return=c.return,c=c.sibling}return null}var EA=[];function CA(){for(var s=0;s<EA.length;s++)EA[s]._workInProgressVersionPrimary=null;EA.length=0}var Rd=C.ReactCurrentDispatcher,PA=C.ReactCurrentBatchConfig,Gs=0,en=null,xn=null,Cn=null,Ld=!1,wc=!1,kc=0,x4=0;function qn(){throw Error(n(321))}function DA(s,c){if(c===null)return!1;for(var f=0;f<c.length&&f<s.length;f++)if(!Ai(s[f],c[f]))return!1;return!0}function TA(s,c,f,g,v,S){if(Gs=S,en=c,c.memoizedState=null,c.updateQueue=null,c.lanes=0,Rd.current=s===null||s.memoizedState===null?E4:C4,s=f(g,v),wc){S=0;do{if(wc=!1,kc=0,25<=S)throw Error(n(301));S+=1,Cn=xn=null,c.updateQueue=null,Rd.current=P4,s=f(g,v)}while(wc)}if(Rd.current=jd,c=xn!==null&&xn.next!==null,Gs=0,Cn=xn=en=null,Ld=!1,c)throw Error(n(300));return s}function BA(){var s=kc!==0;return kc=0,s}function $i(){var s={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Cn===null?en.memoizedState=Cn=s:Cn=Cn.next=s,Cn}function ni(){if(xn===null){var s=en.alternate;s=s!==null?s.memoizedState:null}else s=xn.next;var c=Cn===null?en.memoizedState:Cn.next;if(c!==null)Cn=c,xn=s;else{if(s===null)throw Error(n(310));xn=s,s={memoizedState:xn.memoizedState,baseState:xn.baseState,baseQueue:xn.baseQueue,queue:xn.queue,next:null},Cn===null?en.memoizedState=Cn=s:Cn=Cn.next=s}return Cn}function Sc(s,c){return typeof c=="function"?c(s):c}function _A(s){var c=ni(),f=c.queue;if(f===null)throw Error(n(311));f.lastRenderedReducer=s;var g=xn,v=g.baseQueue,S=f.pending;if(S!==null){if(v!==null){var O=v.next;v.next=S.next,S.next=O}g.baseQueue=v=S,f.pending=null}if(v!==null){S=v.next,g=g.baseState;var U=O=null,Y=null,ce=S;do{var be=ce.lane;if((Gs&be)===be)Y!==null&&(Y=Y.next={lane:0,action:ce.action,hasEagerState:ce.hasEagerState,eagerState:ce.eagerState,next:null}),g=ce.hasEagerState?ce.eagerState:s(g,ce.action);else{var xe={lane:be,action:ce.action,hasEagerState:ce.hasEagerState,eagerState:ce.eagerState,next:null};Y===null?(U=Y=xe,O=g):Y=Y.next=xe,en.lanes|=be,Xs|=be}ce=ce.next}while(ce!==null&&ce!==S);Y===null?O=g:Y.next=U,Ai(g,c.memoizedState)||(br=!0),c.memoizedState=g,c.baseState=O,c.baseQueue=Y,f.lastRenderedState=g}if(s=f.interleaved,s!==null){v=s;do S=v.lane,en.lanes|=S,Xs|=S,v=v.next;while(v!==s)}else v===null&&(f.lanes=0);return[c.memoizedState,f.dispatch]}function IA(s){var c=ni(),f=c.queue;if(f===null)throw Error(n(311));f.lastRenderedReducer=s;var g=f.dispatch,v=f.pending,S=c.memoizedState;if(v!==null){f.pending=null;var O=v=v.next;do S=s(S,O.action),O=O.next;while(O!==v);Ai(S,c.memoizedState)||(br=!0),c.memoizedState=S,c.baseQueue===null&&(c.baseState=S),f.lastRenderedState=S}return[S,g]}function Nw(){}function Fw(s,c){var f=en,g=ni(),v=c(),S=!Ai(g.memoizedState,v);if(S&&(g.memoizedState=v,br=!0),g=g.queue,MA(Qw.bind(null,f,g,s),[s]),g.getSnapshot!==c||S||Cn!==null&&Cn.memoizedState.tag&1){if(f.flags|=2048,Ec(9,zw.bind(null,f,g,v,c),void 0,null),Pn===null)throw Error(n(349));(Gs&30)!==0||jw(f,c,v)}return v}function jw(s,c,f){s.flags|=16384,s={getSnapshot:c,value:f},c=en.updateQueue,c===null?(c={lastEffect:null,stores:null},en.updateQueue=c,c.stores=[s]):(f=c.stores,f===null?c.stores=[s]:f.push(s))}function zw(s,c,f,g){c.value=f,c.getSnapshot=g,Hw(c)&&Uw(s)}function Qw(s,c,f){return f(function(){Hw(c)&&Uw(s)})}function Hw(s){var c=s.getSnapshot;s=s.value;try{var f=c();return!Ai(s,f)}catch{return!0}}function Uw(s){var c=So(s,1);c!==null&&bi(c,s,1,-1)}function Vw(s){var c=$i();return typeof s=="function"&&(s=s()),c.memoizedState=c.baseState=s,s={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Sc,lastRenderedState:s},c.queue=s,s=s.dispatch=S4.bind(null,en,s),[c.memoizedState,s]}function Ec(s,c,f,g){return s={tag:s,create:c,destroy:f,deps:g,next:null},c=en.updateQueue,c===null?(c={lastEffect:null,stores:null},en.updateQueue=c,c.lastEffect=s.next=s):(f=c.lastEffect,f===null?c.lastEffect=s.next=s:(g=f.next,f.next=s,s.next=g,c.lastEffect=s)),s}function Ww(){return ni().memoizedState}function Nd(s,c,f,g){var v=$i();en.flags|=s,v.memoizedState=Ec(1|c,f,void 0,g===void 0?null:g)}function Fd(s,c,f,g){var v=ni();g=g===void 0?null:g;var S=void 0;if(xn!==null){var O=xn.memoizedState;if(S=O.destroy,g!==null&&DA(g,O.deps)){v.memoizedState=Ec(c,f,S,g);return}}en.flags|=s,v.memoizedState=Ec(1|c,f,S,g)}function Yw(s,c){return Nd(8390656,8,s,c)}function MA(s,c){return Fd(2048,8,s,c)}function qw(s,c){return Fd(4,2,s,c)}function Kw(s,c){return Fd(4,4,s,c)}function Gw(s,c){if(typeof c=="function")return s=s(),c(s),function(){c(null)};if(c!=null)return s=s(),c.current=s,function(){c.current=null}}function Xw(s,c,f){return f=f!=null?f.concat([s]):null,Fd(4,4,Gw.bind(null,c,s),f)}function OA(){}function Jw(s,c){var f=ni();c=c===void 0?null:c;var g=f.memoizedState;return g!==null&&c!==null&&DA(c,g[1])?g[0]:(f.memoizedState=[s,c],s)}function Zw(s,c){var f=ni();c=c===void 0?null:c;var g=f.memoizedState;return g!==null&&c!==null&&DA(c,g[1])?g[0]:(s=s(),f.memoizedState=[s,c],s)}function $w(s,c,f){return(Gs&21)===0?(s.baseState&&(s.baseState=!1,br=!0),s.memoizedState=f):(Ai(f,c)||(f=H(),en.lanes|=f,Xs|=f,s.baseState=!0),c)}function w4(s,c){var f=Ie;Ie=f!==0&&4>f?f:4,s(!0);var g=PA.transition;PA.transition={};try{s(!1),c()}finally{Ie=f,PA.transition=g}}function e1(){return ni().memoizedState}function k4(s,c,f){var g=ls(s);if(f={lane:g,action:f,hasEagerState:!1,eagerState:null,next:null},t1(s))n1(c,f);else if(f=Iw(s,c,f,g),f!==null){var v=nr();bi(f,s,g,v),r1(f,c,g)}}function S4(s,c,f){var g=ls(s),v={lane:g,action:f,hasEagerState:!1,eagerState:null,next:null};if(t1(s))n1(c,v);else{var S=s.alternate;if(s.lanes===0&&(S===null||S.lanes===0)&&(S=c.lastRenderedReducer,S!==null))try{var O=c.lastRenderedState,U=S(O,f);if(v.hasEagerState=!0,v.eagerState=U,Ai(U,O)){var Y=c.interleaved;Y===null?(v.next=v,xA(c)):(v.next=Y.next,Y.next=v),c.interleaved=v;return}}catch{}f=Iw(s,c,v,g),f!==null&&(v=nr(),bi(f,s,g,v),r1(f,c,g))}}function t1(s){var c=s.alternate;return s===en||c!==null&&c===en}function n1(s,c){wc=Ld=!0;var f=s.pending;f===null?c.next=c:(c.next=f.next,f.next=c),s.pending=c}function r1(s,c,f){if((f&4194240)!==0){var g=c.lanes;g&=s.pendingLanes,f|=g,c.lanes=f,De(s,f)}}var jd={readContext:ti,useCallback:qn,useContext:qn,useEffect:qn,useImperativeHandle:qn,useInsertionEffect:qn,useLayoutEffect:qn,useMemo:qn,useReducer:qn,useRef:qn,useState:qn,useDebugValue:qn,useDeferredValue:qn,useTransition:qn,useMutableSource:qn,useSyncExternalStore:qn,useId:qn,unstable_isNewReconciler:!1},E4={readContext:ti,useCallback:function(s,c){return $i().memoizedState=[s,c===void 0?null:c],s},useContext:ti,useEffect:Yw,useImperativeHandle:function(s,c,f){return f=f!=null?f.concat([s]):null,Nd(4194308,4,Gw.bind(null,c,s),f)},useLayoutEffect:function(s,c){return Nd(4194308,4,s,c)},useInsertionEffect:function(s,c){return Nd(4,2,s,c)},useMemo:function(s,c){var f=$i();return c=c===void 0?null:c,s=s(),f.memoizedState=[s,c],s},useReducer:function(s,c,f){var g=$i();return c=f!==void 0?f(c):c,g.memoizedState=g.baseState=c,s={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:s,lastRenderedState:c},g.queue=s,s=s.dispatch=k4.bind(null,en,s),[g.memoizedState,s]},useRef:function(s){var c=$i();return s={current:s},c.memoizedState=s},useState:Vw,useDebugValue:OA,useDeferredValue:function(s){return $i().memoizedState=s},useTransition:function(){var s=Vw(!1),c=s[0];return s=w4.bind(null,s[1]),$i().memoizedState=s,[c,s]},useMutableSource:function(){},useSyncExternalStore:function(s,c,f){var g=en,v=$i();if(Kt){if(f===void 0)throw Error(n(407));f=f()}else{if(f=c(),Pn===null)throw Error(n(349));(Gs&30)!==0||jw(g,c,f)}v.memoizedState=f;var S={value:f,getSnapshot:c};return v.queue=S,Yw(Qw.bind(null,g,S,s),[s]),g.flags|=2048,Ec(9,zw.bind(null,g,S,f,c),void 0,null),f},useId:function(){var s=$i(),c=Pn.identifierPrefix;if(Kt){var f=ko,g=wo;f=(g&~(1<<32-bn(g)-1)).toString(32)+f,c=":"+c+"R"+f,f=kc++,0<f&&(c+="H"+f.toString(32)),c+=":"}else f=x4++,c=":"+c+"r"+f.toString(32)+":";return s.memoizedState=c},unstable_isNewReconciler:!1},C4={readContext:ti,useCallback:Jw,useContext:ti,useEffect:MA,useImperativeHandle:Xw,useInsertionEffect:qw,useLayoutEffect:Kw,useMemo:Zw,useReducer:_A,useRef:Ww,useState:function(){return _A(Sc)},useDebugValue:OA,useDeferredValue:function(s){var c=ni();return $w(c,xn.memoizedState,s)},useTransition:function(){var s=_A(Sc)[0],c=ni().memoizedState;return[s,c]},useMutableSource:Nw,useSyncExternalStore:Fw,useId:e1,unstable_isNewReconciler:!1},P4={readContext:ti,useCallback:Jw,useContext:ti,useEffect:MA,useImperativeHandle:Xw,useInsertionEffect:qw,useLayoutEffect:Kw,useMemo:Zw,useReducer:IA,useRef:Ww,useState:function(){return IA(Sc)},useDebugValue:OA,useDeferredValue:function(s){var c=ni();return xn===null?c.memoizedState=s:$w(c,xn.memoizedState,s)},useTransition:function(){var s=IA(Sc)[0],c=ni().memoizedState;return[s,c]},useMutableSource:Nw,useSyncExternalStore:Fw,useId:e1,unstable_isNewReconciler:!1};function mi(s,c){if(s&&s.defaultProps){c=de({},c),s=s.defaultProps;for(var f in s)c[f]===void 0&&(c[f]=s[f]);return c}return c}function RA(s,c,f,g){c=s.memoizedState,f=f(g,c),f=f==null?c:de({},c,f),s.memoizedState=f,s.lanes===0&&(s.updateQueue.baseState=f)}var zd={isMounted:function(s){return(s=s._reactInternals)?En(s)===s:!1},enqueueSetState:function(s,c,f){s=s._reactInternals;var g=nr(),v=ls(s),S=Eo(g,v);S.payload=c,f!=null&&(S.callback=f),c=is(s,S,v),c!==null&&(bi(c,s,v,g),Id(c,s,v))},enqueueReplaceState:function(s,c,f){s=s._reactInternals;var g=nr(),v=ls(s),S=Eo(g,v);S.tag=1,S.payload=c,f!=null&&(S.callback=f),c=is(s,S,v),c!==null&&(bi(c,s,v,g),Id(c,s,v))},enqueueForceUpdate:function(s,c){s=s._reactInternals;var f=nr(),g=ls(s),v=Eo(f,g);v.tag=2,c!=null&&(v.callback=c),c=is(s,v,g),c!==null&&(bi(c,s,g,f),Id(c,s,g))}};function i1(s,c,f,g,v,S,O){return s=s.stateNode,typeof s.shouldComponentUpdate=="function"?s.shouldComponentUpdate(g,S,O):c.prototype&&c.prototype.isPureReactComponent?!dc(f,g)||!dc(v,S):!0}function o1(s,c,f){var g=!1,v=ts,S=c.contextType;return typeof S=="object"&&S!==null?S=ti(S):(v=yr(c)?Vs:Yn.current,g=c.contextTypes,S=(g=g!=null)?Wa(s,v):ts),c=new c(f,S),s.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,c.updater=zd,s.stateNode=c,c._reactInternals=s,g&&(s=s.stateNode,s.__reactInternalMemoizedUnmaskedChildContext=v,s.__reactInternalMemoizedMaskedChildContext=S),c}function s1(s,c,f,g){s=c.state,typeof c.componentWillReceiveProps=="function"&&c.componentWillReceiveProps(f,g),typeof c.UNSAFE_componentWillReceiveProps=="function"&&c.UNSAFE_componentWillReceiveProps(f,g),c.state!==s&&zd.enqueueReplaceState(c,c.state,null)}function LA(s,c,f,g){var v=s.stateNode;v.props=f,v.state=s.memoizedState,v.refs={},wA(s);var S=c.contextType;typeof S=="object"&&S!==null?v.context=ti(S):(S=yr(c)?Vs:Yn.current,v.context=Wa(s,S)),v.state=s.memoizedState,S=c.getDerivedStateFromProps,typeof S=="function"&&(RA(s,c,S,f),v.state=s.memoizedState),typeof c.getDerivedStateFromProps=="function"||typeof v.getSnapshotBeforeUpdate=="function"||typeof v.UNSAFE_componentWillMount!="function"&&typeof v.componentWillMount!="function"||(c=v.state,typeof v.componentWillMount=="function"&&v.componentWillMount(),typeof v.UNSAFE_componentWillMount=="function"&&v.UNSAFE_componentWillMount(),c!==v.state&&zd.enqueueReplaceState(v,v.state,null),Md(s,f,v,g),v.state=s.memoizedState),typeof v.componentDidMount=="function"&&(s.flags|=4194308)}function $a(s,c){try{var f="",g=c;do f+=we(g),g=g.return;while(g);var v=f}catch(S){v=`
|
|
7
7
|
Error generating stack: `+S.message+`
|
|
8
|
-
`+S.stack}return{value:s,source:c,stack:v,digest:null}}function NA(s,c,f){return{value:s,source:null,stack:f??null,digest:c??null}}function FA(s,c){try{console.error(c.value)}catch(f){setTimeout(function(){throw f})}}var D4=typeof WeakMap=="function"?WeakMap:Map;function a1(s,c,f){f=Eo(-1,f),f.tag=3,f.payload={element:null};var g=c.value;return f.callback=function(){qd||(qd=!0,$A=g),FA(s,c)},f}function l1(s,c,f){f=Eo(-1,f),f.tag=3;var g=s.type.getDerivedStateFromError;if(typeof g=="function"){var v=c.value;f.payload=function(){return g(v)},f.callback=function(){FA(s,c)}}var S=s.stateNode;return S!==null&&typeof S.componentDidCatch=="function"&&(f.callback=function(){FA(s,c),typeof g!="function"&&(ss===null?ss=new Set([this]):ss.add(this));var O=c.stack;this.componentDidCatch(c.value,{componentStack:O!==null?O:""})}),f}function c1(s,c,f){var g=s.pingCache;if(g===null){g=s.pingCache=new D4;var v=new Set;g.set(c,v)}else v=g.get(c),v===void 0&&(v=new Set,g.set(c,v));v.has(f)||(v.add(f),s=H4.bind(null,s,c,f),c.then(s,s))}function u1(s){do{var c;if((c=s.tag===13)&&(c=s.memoizedState,c=c!==null?c.dehydrated!==null:!0),c)return s;s=s.return}while(s!==null);return null}function d1(s,c,f,g,v){return(s.mode&1)===0?(s===c?s.flags|=65536:(s.flags|=128,f.flags|=131072,f.flags&=-52805,f.tag===1&&(f.alternate===null?f.tag=17:(c=Eo(-1,1),c.tag=2,is(f,c,1))),f.lanes|=1),s):(s.flags|=65536,s.lanes=v,s)}var T4=C.ReactCurrentOwner,br=!1;function tr(s,c,f,g){c.child=s===null?_w(c,null,f,g):Ga(c,s.child,f,g)}function f1(s,c,f,g,v){f=f.render;var S=c.ref;return Ja(c,v),g=TA(s,c,f,g,S,v),f=BA(),s!==null&&!br?(c.updateQueue=s.updateQueue,c.flags&=-2053,s.lanes&=~v,Co(s,c,v)):(Kt&&f&&fA(c),c.flags|=1,tr(s,c,g,v),c.child)}function p1(s,c,f,g,v){if(s===null){var S=f.type;return typeof S=="function"&&!sg(S)&&S.defaultProps===void 0&&f.compare===null&&f.defaultProps===void 0?(c.tag=15,c.type=S,h1(s,c,S,g,v)):(s=$d(f.type,null,g,c,c.mode,v),s.ref=c.ref,s.return=c,c.child=s)}if(S=s.child,(s.lanes&v)===0){var O=S.memoizedProps;if(f=f.compare,f=f!==null?f:dc,f(O,g)&&s.ref===c.ref)return Co(s,c,v)}return c.flags|=1,s=us(S,g),s.ref=c.ref,s.return=c,c.child=s}function h1(s,c,f,g,v){if(s!==null){var S=s.memoizedProps;if(dc(S,g)&&s.ref===c.ref)if(br=!1,c.pendingProps=g=S,(s.lanes&v)!==0)(s.flags&131072)!==0&&(br=!0);else return c.lanes=s.lanes,Co(s,c,v)}return jA(s,c,f,g,v)}function A1(s,c,f){var g=c.pendingProps,v=g.children,S=s!==null?s.memoizedState:null;if(g.mode==="hidden")if((c.mode&1)===0)c.memoizedState={baseLanes:0,cachePool:null,transitions:null},Qt(tl,jr),jr|=f;else{if((f&1073741824)===0)return s=S!==null?S.baseLanes|f:f,c.lanes=c.childLanes=1073741824,c.memoizedState={baseLanes:s,cachePool:null,transitions:null},c.updateQueue=null,Qt(tl,jr),jr|=s,null;c.memoizedState={baseLanes:0,cachePool:null,transitions:null},g=S!==null?S.baseLanes:f,Qt(tl,jr),jr|=g}else S!==null?(g=S.baseLanes|f,c.memoizedState=null):g=f,Qt(tl,jr),jr|=g;return tr(s,c,v,f),c.child}function g1(s,c){var f=c.ref;(s===null&&f!==null||s!==null&&s.ref!==f)&&(c.flags|=512,c.flags|=2097152)}function jA(s,c,f,g,v){var S=yr(f)?Vs:Yn.current;return S=Wa(c,S),Ja(c,v),f=TA(s,c,f,g,S,v),g=BA(),s!==null&&!br?(c.updateQueue=s.updateQueue,c.flags&=-2053,s.lanes&=~v,Co(s,c,v)):(Kt&&g&&fA(c),c.flags|=1,tr(s,c,f,v),c.child)}function m1(s,c,f,g,v){if(yr(f)){var S=!0;Sd(c)}else S=!1;if(Ja(c,v),c.stateNode===null)Hd(s,c),o1(c,f,g),LA(c,f,g,v),g=!0;else if(s===null){var O=c.stateNode,U=c.memoizedProps;O.props=U;var Y=O.context,ce=f.contextType;typeof ce=="object"&&ce!==null?ce=ti(ce):(ce=yr(f)?Vs:Yn.current,ce=Wa(c,ce));var be=f.getDerivedStateFromProps,xe=typeof be=="function"||typeof O.getSnapshotBeforeUpdate=="function";xe||typeof O.UNSAFE_componentWillReceiveProps!="function"&&typeof O.componentWillReceiveProps!="function"||(U!==g||Y!==ce)&&s1(c,O,g,ce),rs=!1;var ye=c.memoizedState;O.state=ye,Md(c,g,O,v),Y=c.memoizedState,U!==g||ye!==Y||vr.current||rs?(typeof be=="function"&&(RA(c,f,be,g),Y=c.memoizedState),(U=rs||i1(c,f,U,g,ye,Y,ce))?(xe||typeof O.UNSAFE_componentWillMount!="function"&&typeof O.componentWillMount!="function"||(typeof O.componentWillMount=="function"&&O.componentWillMount(),typeof O.UNSAFE_componentWillMount=="function"&&O.UNSAFE_componentWillMount()),typeof O.componentDidMount=="function"&&(c.flags|=4194308)):(typeof O.componentDidMount=="function"&&(c.flags|=4194308),c.memoizedProps=g,c.memoizedState=Y),O.props=g,O.state=Y,O.context=ce,g=U):(typeof O.componentDidMount=="function"&&(c.flags|=4194308),g=!1)}else{O=c.stateNode,Mw(s,c),U=c.memoizedProps,ce=c.type===c.elementType?U:mi(c.type,U),O.props=ce,xe=c.pendingProps,ye=O.context,Y=f.contextType,typeof Y=="object"&&Y!==null?Y=ti(Y):(Y=yr(f)?Vs:Yn.current,Y=Wa(c,Y));var Re=f.getDerivedStateFromProps;(be=typeof Re=="function"||typeof O.getSnapshotBeforeUpdate=="function")||typeof O.UNSAFE_componentWillReceiveProps!="function"&&typeof O.componentWillReceiveProps!="function"||(U!==xe||ye!==Y)&&s1(c,O,g,Y),rs=!1,ye=c.memoizedState,O.state=ye,Md(c,g,O,v);var Qe=c.memoizedState;U!==xe||ye!==Qe||vr.current||rs?(typeof Re=="function"&&(RA(c,f,Re,g),Qe=c.memoizedState),(ce=rs||i1(c,f,ce,g,ye,Qe,Y)||!1)?(be||typeof O.UNSAFE_componentWillUpdate!="function"&&typeof O.componentWillUpdate!="function"||(typeof O.componentWillUpdate=="function"&&O.componentWillUpdate(g,Qe,Y),typeof O.UNSAFE_componentWillUpdate=="function"&&O.UNSAFE_componentWillUpdate(g,Qe,Y)),typeof O.componentDidUpdate=="function"&&(c.flags|=4),typeof O.getSnapshotBeforeUpdate=="function"&&(c.flags|=1024)):(typeof O.componentDidUpdate!="function"||U===s.memoizedProps&&ye===s.memoizedState||(c.flags|=4),typeof O.getSnapshotBeforeUpdate!="function"||U===s.memoizedProps&&ye===s.memoizedState||(c.flags|=1024),c.memoizedProps=g,c.memoizedState=Qe),O.props=g,O.state=Qe,O.context=Y,g=ce):(typeof O.componentDidUpdate!="function"||U===s.memoizedProps&&ye===s.memoizedState||(c.flags|=4),typeof O.getSnapshotBeforeUpdate!="function"||U===s.memoizedProps&&ye===s.memoizedState||(c.flags|=1024),g=!1)}return zA(s,c,f,g,S,v)}function zA(s,c,f,g,v,S){g1(s,c);var O=(c.flags&128)!==0;if(!g&&!O)return v&&ww(c,f,!1),Co(s,c,S);g=c.stateNode,T4.current=c;var U=O&&typeof f.getDerivedStateFromError!="function"?null:g.render();return c.flags|=1,s!==null&&O?(c.child=Ga(c,s.child,null,S),c.child=Ga(c,null,U,S)):tr(s,c,U,S),c.memoizedState=g.state,v&&ww(c,f,!0),c.child}function v1(s){var c=s.stateNode;c.pendingContext?bw(s,c.pendingContext,c.pendingContext!==c.context):c.context&&bw(s,c.context,!1),kA(s,c.containerInfo)}function y1(s,c,f,g,v){return Ka(),gA(v),c.flags|=256,tr(s,c,f,g),c.child}var QA={dehydrated:null,treeContext:null,retryLane:0};function HA(s){return{baseLanes:s,cachePool:null,transitions:null}}function b1(s,c,f){var g=c.pendingProps,v=$t.current,S=!1,O=(c.flags&128)!==0,U;if((U=O)||(U=s!==null&&s.memoizedState===null?!1:(v&2)!==0),U?(S=!0,c.flags&=-129):(s===null||s.memoizedState!==null)&&(v|=1),Qt($t,v&1),s===null)return AA(c),s=c.memoizedState,s!==null&&(s=s.dehydrated,s!==null)?((c.mode&1)===0?c.lanes=1:s.data==="$!"?c.lanes=8:c.lanes=1073741824,null):(O=g.children,s=g.fallback,S?(g=c.mode,S=c.child,O={mode:"hidden",children:O},(g&1)===0&&S!==null?(S.childLanes=0,S.pendingProps=O):S=ef(O,g,0,null),s=ea(s,g,f,null),S.return=c,s.return=c,S.sibling=s,c.child=S,c.child.memoizedState=HA(f),c.memoizedState=QA,s):UA(c,O));if(v=s.memoizedState,v!==null&&(U=v.dehydrated,U!==null))return B4(s,c,O,g,U,v,f);if(S){S=g.fallback,O=c.mode,v=s.child,U=v.sibling;var Y={mode:"hidden",children:g.children};return(O&1)===0&&c.child!==v?(g=c.child,g.childLanes=0,g.pendingProps=Y,c.deletions=null):(g=us(v,Y),g.subtreeFlags=v.subtreeFlags&14680064),U!==null?S=us(U,S):(S=ea(S,O,f,null),S.flags|=2),S.return=c,g.return=c,g.sibling=S,c.child=g,g=S,S=c.child,O=s.child.memoizedState,O=O===null?HA(f):{baseLanes:O.baseLanes|f,cachePool:null,transitions:O.transitions},S.memoizedState=O,S.childLanes=s.childLanes&~f,c.memoizedState=QA,g}return S=s.child,s=S.sibling,g=us(S,{mode:"visible",children:g.children}),(c.mode&1)===0&&(g.lanes=f),g.return=c,g.sibling=null,s!==null&&(f=c.deletions,f===null?(c.deletions=[s],c.flags|=16):f.push(s)),c.child=g,c.memoizedState=null,g}function UA(s,c){return c=ef({mode:"visible",children:c},s.mode,0,null),c.return=s,s.child=c}function Qd(s,c,f,g){return g!==null&&gA(g),Ga(c,s.child,null,f),s=UA(c,c.pendingProps.children),s.flags|=2,c.memoizedState=null,s}function B4(s,c,f,g,v,S,O){if(f)return c.flags&256?(c.flags&=-257,g=NA(Error(n(422))),Qd(s,c,O,g)):c.memoizedState!==null?(c.child=s.child,c.flags|=128,null):(S=g.fallback,v=c.mode,g=ef({mode:"visible",children:g.children},v,0,null),S=ea(S,v,O,null),S.flags|=2,g.return=c,S.return=c,g.sibling=S,c.child=g,(c.mode&1)!==0&&Ga(c,s.child,null,O),c.child.memoizedState=HA(O),c.memoizedState=QA,S);if((c.mode&1)===0)return Qd(s,c,O,null);if(v.data==="$!"){if(g=v.nextSibling&&v.nextSibling.dataset,g)var U=g.dgst;return g=U,S=Error(n(419)),g=NA(S,g,void 0),Qd(s,c,O,g)}if(U=(O&s.childLanes)!==0,br||U){if(g=Pn,g!==null){switch(O&-O){case 4:v=2;break;case 16:v=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:v=32;break;case 536870912:v=268435456;break;default:v=0}v=(v&(g.suspendedLanes|O))!==0?0:v,v!==0&&v!==S.retryLane&&(S.retryLane=v,So(s,v),bi(g,s,v,-1))}return og(),g=NA(Error(n(421))),Qd(s,c,O,g)}return v.data==="$?"?(c.flags|=128,c.child=s.child,c=U4.bind(null,s),v._reactRetry=c,null):(s=S.treeContext,Fr=$o(v.nextSibling),Nr=c,Kt=!0,gi=null,s!==null&&($r[ei++]=wo,$r[ei++]=ko,$r[ei++]=Ws,wo=s.id,ko=s.overflow,Ws=c),c=UA(c,g.children),c.flags|=4096,c)}function x1(s,c,f){s.lanes|=c;var g=s.alternate;g!==null&&(g.lanes|=c),bA(s.return,c,f)}function VA(s,c,f,g,v){var S=s.memoizedState;S===null?s.memoizedState={isBackwards:c,rendering:null,renderingStartTime:0,last:g,tail:f,tailMode:v}:(S.isBackwards=c,S.rendering=null,S.renderingStartTime=0,S.last=g,S.tail=f,S.tailMode=v)}function w1(s,c,f){var g=c.pendingProps,v=g.revealOrder,S=g.tail;if(tr(s,c,g.children,f),g=$t.current,(g&2)!==0)g=g&1|2,c.flags|=128;else{if(s!==null&&(s.flags&128)!==0)e:for(s=c.child;s!==null;){if(s.tag===13)s.memoizedState!==null&&x1(s,f,c);else if(s.tag===19)x1(s,f,c);else if(s.child!==null){s.child.return=s,s=s.child;continue}if(s===c)break e;for(;s.sibling===null;){if(s.return===null||s.return===c)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}g&=1}if(Qt($t,g),(c.mode&1)===0)c.memoizedState=null;else switch(v){case"forwards":for(f=c.child,v=null;f!==null;)s=f.alternate,s!==null&&Od(s)===null&&(v=f),f=f.sibling;f=v,f===null?(v=c.child,c.child=null):(v=f.sibling,f.sibling=null),VA(c,!1,v,f,S);break;case"backwards":for(f=null,v=c.child,c.child=null;v!==null;){if(s=v.alternate,s!==null&&Od(s)===null){c.child=v;break}s=v.sibling,v.sibling=f,f=v,v=s}VA(c,!0,f,null,S);break;case"together":VA(c,!1,null,null,void 0);break;default:c.memoizedState=null}return c.child}function Hd(s,c){(c.mode&1)===0&&s!==null&&(s.alternate=null,c.alternate=null,c.flags|=2)}function Co(s,c,f){if(s!==null&&(c.dependencies=s.dependencies),Xs|=c.lanes,(f&c.childLanes)===0)return null;if(s!==null&&c.child!==s.child)throw Error(n(153));if(c.child!==null){for(s=c.child,f=us(s,s.pendingProps),c.child=f,f.return=c;s.sibling!==null;)s=s.sibling,f=f.sibling=us(s,s.pendingProps),f.return=c;f.sibling=null}return c.child}function _4(s,c,f){switch(c.tag){case 3:v1(c),Ka();break;case 5:Lw(c);break;case 1:yr(c.type)&&Sd(c);break;case 4:kA(c,c.stateNode.containerInfo);break;case 10:var g=c.type._context,v=c.memoizedProps.value;Qt(Bd,g._currentValue),g._currentValue=v;break;case 13:if(g=c.memoizedState,g!==null)return g.dehydrated!==null?(Qt($t,$t.current&1),c.flags|=128,null):(f&c.child.childLanes)!==0?b1(s,c,f):(Qt($t,$t.current&1),s=Co(s,c,f),s!==null?s.sibling:null);Qt($t,$t.current&1);break;case 19:if(g=(f&c.childLanes)!==0,(s.flags&128)!==0){if(g)return w1(s,c,f);c.flags|=128}if(v=c.memoizedState,v!==null&&(v.rendering=null,v.tail=null,v.lastEffect=null),Qt($t,$t.current),g)break;return null;case 22:case 23:return c.lanes=0,A1(s,c,f)}return Co(s,c,f)}var k1,WA,S1,E1;k1=function(s,c){for(var f=c.child;f!==null;){if(f.tag===5||f.tag===6)s.appendChild(f.stateNode);else if(f.tag!==4&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===c)break;for(;f.sibling===null;){if(f.return===null||f.return===c)return;f=f.return}f.sibling.return=f.return,f=f.sibling}},WA=function(){},S1=function(s,c,f,g){var v=s.memoizedProps;if(v!==g){s=c.stateNode,Ks(Zi.current);var S=null;switch(f){case"input":v=Xe(s,v),g=Xe(s,g),S=[];break;case"select":v=de({},v,{value:void 0}),g=de({},g,{value:void 0}),S=[];break;case"textarea":v=dt(s,v),g=dt(s,g),S=[];break;default:typeof v.onClick!="function"&&typeof g.onClick=="function"&&(s.onclick=xd)}Te(f,g);var O;f=null;for(ce in v)if(!g.hasOwnProperty(ce)&&v.hasOwnProperty(ce)&&v[ce]!=null)if(ce==="style"){var U=v[ce];for(O in U)U.hasOwnProperty(O)&&(f||(f={}),f[O]="")}else ce!=="dangerouslySetInnerHTML"&&ce!=="children"&&ce!=="suppressContentEditableWarning"&&ce!=="suppressHydrationWarning"&&ce!=="autoFocus"&&(i.hasOwnProperty(ce)?S||(S=[]):(S=S||[]).push(ce,null));for(ce in g){var Y=g[ce];if(U=v?.[ce],g.hasOwnProperty(ce)&&Y!==U&&(Y!=null||U!=null))if(ce==="style")if(U){for(O in U)!U.hasOwnProperty(O)||Y&&Y.hasOwnProperty(O)||(f||(f={}),f[O]="");for(O in Y)Y.hasOwnProperty(O)&&U[O]!==Y[O]&&(f||(f={}),f[O]=Y[O])}else f||(S||(S=[]),S.push(ce,f)),f=Y;else ce==="dangerouslySetInnerHTML"?(Y=Y?Y.__html:void 0,U=U?U.__html:void 0,Y!=null&&U!==Y&&(S=S||[]).push(ce,Y)):ce==="children"?typeof Y!="string"&&typeof Y!="number"||(S=S||[]).push(ce,""+Y):ce!=="suppressContentEditableWarning"&&ce!=="suppressHydrationWarning"&&(i.hasOwnProperty(ce)?(Y!=null&&ce==="onScroll"&&Vt("scroll",s),S||U===Y||(S=[])):(S=S||[]).push(ce,Y))}f&&(S=S||[]).push("style",f);var ce=S;(c.updateQueue=ce)&&(c.flags|=4)}},E1=function(s,c,f,g){f!==g&&(c.flags|=4)};function Cc(s,c){if(!Kt)switch(s.tailMode){case"hidden":c=s.tail;for(var f=null;c!==null;)c.alternate!==null&&(f=c),c=c.sibling;f===null?s.tail=null:f.sibling=null;break;case"collapsed":f=s.tail;for(var g=null;f!==null;)f.alternate!==null&&(g=f),f=f.sibling;g===null?c||s.tail===null?s.tail=null:s.tail.sibling=null:g.sibling=null}}function Kn(s){var c=s.alternate!==null&&s.alternate.child===s.child,f=0,g=0;if(c)for(var v=s.child;v!==null;)f|=v.lanes|v.childLanes,g|=v.subtreeFlags&14680064,g|=v.flags&14680064,v.return=s,v=v.sibling;else for(v=s.child;v!==null;)f|=v.lanes|v.childLanes,g|=v.subtreeFlags,g|=v.flags,v.return=s,v=v.sibling;return s.subtreeFlags|=g,s.childLanes=f,c}function I4(s,c,f){var g=c.pendingProps;switch(pA(c),c.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Kn(c),null;case 1:return yr(c.type)&&kd(),Kn(c),null;case 3:return g=c.stateNode,Za(),Wt(vr),Wt(Yn),CA(),g.pendingContext&&(g.context=g.pendingContext,g.pendingContext=null),(s===null||s.child===null)&&(Dd(c)?c.flags|=4:s===null||s.memoizedState.isDehydrated&&(c.flags&256)===0||(c.flags|=1024,gi!==null&&(ng(gi),gi=null))),WA(s,c),Kn(c),null;case 5:SA(c);var v=Ks(xc.current);if(f=c.type,s!==null&&c.stateNode!=null)S1(s,c,f,g,v),s.ref!==c.ref&&(c.flags|=512,c.flags|=2097152);else{if(!g){if(c.stateNode===null)throw Error(n(166));return Kn(c),null}if(s=Ks(Zi.current),Dd(c)){g=c.stateNode,f=c.type;var S=c.memoizedProps;switch(g[Ji]=c,g[gc]=S,s=(c.mode&1)!==0,f){case"dialog":Vt("cancel",g),Vt("close",g);break;case"iframe":case"object":case"embed":Vt("load",g);break;case"video":case"audio":for(v=0;v<pc.length;v++)Vt(pc[v],g);break;case"source":Vt("error",g);break;case"img":case"image":case"link":Vt("error",g),Vt("load",g);break;case"details":Vt("toggle",g);break;case"input":Ge(g,S),Vt("invalid",g);break;case"select":g._wrapperState={wasMultiple:!!S.multiple},Vt("invalid",g);break;case"textarea":Ke(g,S),Vt("invalid",g)}Te(f,S),v=null;for(var O in S)if(S.hasOwnProperty(O)){var U=S[O];O==="children"?typeof U=="string"?g.textContent!==U&&(S.suppressHydrationWarning!==!0&&bd(g.textContent,U,s),v=["children",U]):typeof U=="number"&&g.textContent!==""+U&&(S.suppressHydrationWarning!==!0&&bd(g.textContent,U,s),v=["children",""+U]):i.hasOwnProperty(O)&&U!=null&&O==="onScroll"&&Vt("scroll",g)}switch(f){case"input":wt(g),gt(g,S,!0);break;case"textarea":wt(g),Yt(g);break;case"select":case"option":break;default:typeof S.onClick=="function"&&(g.onclick=xd)}g=v,c.updateQueue=g,g!==null&&(c.flags|=4)}else{O=v.nodeType===9?v:v.ownerDocument,s==="http://www.w3.org/1999/xhtml"&&(s=vn(f)),s==="http://www.w3.org/1999/xhtml"?f==="script"?(s=O.createElement("div"),s.innerHTML="<script><\/script>",s=s.removeChild(s.firstChild)):typeof g.is=="string"?s=O.createElement(f,{is:g.is}):(s=O.createElement(f),f==="select"&&(O=s,g.multiple?O.multiple=!0:g.size&&(O.size=g.size))):s=O.createElementNS(s,f),s[Ji]=c,s[gc]=g,k1(s,c,!1,!1),c.stateNode=s;e:{switch(O=qe(f,g),f){case"dialog":Vt("cancel",s),Vt("close",s),v=g;break;case"iframe":case"object":case"embed":Vt("load",s),v=g;break;case"video":case"audio":for(v=0;v<pc.length;v++)Vt(pc[v],s);v=g;break;case"source":Vt("error",s),v=g;break;case"img":case"image":case"link":Vt("error",s),Vt("load",s),v=g;break;case"details":Vt("toggle",s),v=g;break;case"input":Ge(s,g),v=Xe(s,g),Vt("invalid",s);break;case"option":v=g;break;case"select":s._wrapperState={wasMultiple:!!g.multiple},v=de({},g,{value:void 0}),Vt("invalid",s);break;case"textarea":Ke(s,g),v=dt(s,g),Vt("invalid",s);break;default:v=g}Te(f,v),U=v;for(S in U)if(U.hasOwnProperty(S)){var Y=U[S];S==="style"?le(s,Y):S==="dangerouslySetInnerHTML"?(Y=Y?Y.__html:void 0,Y!=null&&fe(s,Y)):S==="children"?typeof Y=="string"?(f!=="textarea"||Y!=="")&&Le(s,Y):typeof Y=="number"&&Le(s,""+Y):S!=="suppressContentEditableWarning"&&S!=="suppressHydrationWarning"&&S!=="autoFocus"&&(i.hasOwnProperty(S)?Y!=null&&S==="onScroll"&&Vt("scroll",s):Y!=null&&D(s,S,Y,O))}switch(f){case"input":wt(s),gt(s,g,!1);break;case"textarea":wt(s),Yt(s);break;case"option":g.value!=null&&s.setAttribute("value",""+Ve(g.value));break;case"select":s.multiple=!!g.multiple,S=g.value,S!=null?Rt(s,!!g.multiple,S,!1):g.defaultValue!=null&&Rt(s,!!g.multiple,g.defaultValue,!0);break;default:typeof v.onClick=="function"&&(s.onclick=xd)}switch(f){case"button":case"input":case"select":case"textarea":g=!!g.autoFocus;break e;case"img":g=!0;break e;default:g=!1}}g&&(c.flags|=4)}c.ref!==null&&(c.flags|=512,c.flags|=2097152)}return Kn(c),null;case 6:if(s&&c.stateNode!=null)E1(s,c,s.memoizedProps,g);else{if(typeof g!="string"&&c.stateNode===null)throw Error(n(166));if(f=Ks(xc.current),Ks(Zi.current),Dd(c)){if(g=c.stateNode,f=c.memoizedProps,g[Ji]=c,(S=g.nodeValue!==f)&&(s=Nr,s!==null))switch(s.tag){case 3:bd(g.nodeValue,f,(s.mode&1)!==0);break;case 5:s.memoizedProps.suppressHydrationWarning!==!0&&bd(g.nodeValue,f,(s.mode&1)!==0)}S&&(c.flags|=4)}else g=(f.nodeType===9?f:f.ownerDocument).createTextNode(g),g[Ji]=c,c.stateNode=g}return Kn(c),null;case 13:if(Wt($t),g=c.memoizedState,s===null||s.memoizedState!==null&&s.memoizedState.dehydrated!==null){if(Kt&&Fr!==null&&(c.mode&1)!==0&&(c.flags&128)===0)Dw(),Ka(),c.flags|=98560,S=!1;else if(S=Dd(c),g!==null&&g.dehydrated!==null){if(s===null){if(!S)throw Error(n(318));if(S=c.memoizedState,S=S!==null?S.dehydrated:null,!S)throw Error(n(317));S[Ji]=c}else Ka(),(c.flags&128)===0&&(c.memoizedState=null),c.flags|=4;Kn(c),S=!1}else gi!==null&&(ng(gi),gi=null),S=!0;if(!S)return c.flags&65536?c:null}return(c.flags&128)!==0?(c.lanes=f,c):(g=g!==null,g!==(s!==null&&s.memoizedState!==null)&&g&&(c.child.flags|=8192,(c.mode&1)!==0&&(s===null||($t.current&1)!==0?wn===0&&(wn=3):og())),c.updateQueue!==null&&(c.flags|=4),Kn(c),null);case 4:return Za(),WA(s,c),s===null&&hc(c.stateNode.containerInfo),Kn(c),null;case 10:return yA(c.type._context),Kn(c),null;case 17:return yr(c.type)&&kd(),Kn(c),null;case 19:if(Wt($t),S=c.memoizedState,S===null)return Kn(c),null;if(g=(c.flags&128)!==0,O=S.rendering,O===null)if(g)Cc(S,!1);else{if(wn!==0||s!==null&&(s.flags&128)!==0)for(s=c.child;s!==null;){if(O=Od(s),O!==null){for(c.flags|=128,Cc(S,!1),g=O.updateQueue,g!==null&&(c.updateQueue=g,c.flags|=4),c.subtreeFlags=0,g=f,f=c.child;f!==null;)S=f,s=g,S.flags&=14680066,O=S.alternate,O===null?(S.childLanes=0,S.lanes=s,S.child=null,S.subtreeFlags=0,S.memoizedProps=null,S.memoizedState=null,S.updateQueue=null,S.dependencies=null,S.stateNode=null):(S.childLanes=O.childLanes,S.lanes=O.lanes,S.child=O.child,S.subtreeFlags=0,S.deletions=null,S.memoizedProps=O.memoizedProps,S.memoizedState=O.memoizedState,S.updateQueue=O.updateQueue,S.type=O.type,s=O.dependencies,S.dependencies=s===null?null:{lanes:s.lanes,firstContext:s.firstContext}),f=f.sibling;return Qt($t,$t.current&1|2),c.child}s=s.sibling}S.tail!==null&&Lt()>nl&&(c.flags|=128,g=!0,Cc(S,!1),c.lanes=4194304)}else{if(!g)if(s=Od(O),s!==null){if(c.flags|=128,g=!0,f=s.updateQueue,f!==null&&(c.updateQueue=f,c.flags|=4),Cc(S,!0),S.tail===null&&S.tailMode==="hidden"&&!O.alternate&&!Kt)return Kn(c),null}else 2*Lt()-S.renderingStartTime>nl&&f!==1073741824&&(c.flags|=128,g=!0,Cc(S,!1),c.lanes=4194304);S.isBackwards?(O.sibling=c.child,c.child=O):(f=S.last,f!==null?f.sibling=O:c.child=O,S.last=O)}return S.tail!==null?(c=S.tail,S.rendering=c,S.tail=c.sibling,S.renderingStartTime=Lt(),c.sibling=null,f=$t.current,Qt($t,g?f&1|2:f&1),c):(Kn(c),null);case 22:case 23:return ig(),g=c.memoizedState!==null,s!==null&&s.memoizedState!==null!==g&&(c.flags|=8192),g&&(c.mode&1)!==0?(jr&1073741824)!==0&&(Kn(c),c.subtreeFlags&6&&(c.flags|=8192)):Kn(c),null;case 24:return null;case 25:return null}throw Error(n(156,c.tag))}function M4(s,c){switch(pA(c),c.tag){case 1:return yr(c.type)&&kd(),s=c.flags,s&65536?(c.flags=s&-65537|128,c):null;case 3:return Za(),Wt(vr),Wt(Yn),CA(),s=c.flags,(s&65536)!==0&&(s&128)===0?(c.flags=s&-65537|128,c):null;case 5:return SA(c),null;case 13:if(Wt($t),s=c.memoizedState,s!==null&&s.dehydrated!==null){if(c.alternate===null)throw Error(n(340));Ka()}return s=c.flags,s&65536?(c.flags=s&-65537|128,c):null;case 19:return Wt($t),null;case 4:return Za(),null;case 10:return yA(c.type._context),null;case 22:case 23:return ig(),null;case 24:return null;default:return null}}var Ud=!1,Gn=!1,O4=typeof WeakSet=="function"?WeakSet:Set,Fe=null;function el(s,c){var f=s.ref;if(f!==null)if(typeof f=="function")try{f(null)}catch(g){sn(s,c,g)}else f.current=null}function YA(s,c,f){try{f()}catch(g){sn(s,c,g)}}var C1=!1;function R4(s,c){if(iA=Lr,s=iw(),Xh(s)){if("selectionStart"in s)var f={start:s.selectionStart,end:s.selectionEnd};else e:{f=(f=s.ownerDocument)&&f.defaultView||window;var g=f.getSelection&&f.getSelection();if(g&&g.rangeCount!==0){f=g.anchorNode;var v=g.anchorOffset,S=g.focusNode;g=g.focusOffset;try{f.nodeType,S.nodeType}catch{f=null;break e}var O=0,U=-1,Y=-1,ce=0,be=0,xe=s,ye=null;t:for(;;){for(var Re;xe!==f||v!==0&&xe.nodeType!==3||(U=O+v),xe!==S||g!==0&&xe.nodeType!==3||(Y=O+g),xe.nodeType===3&&(O+=xe.nodeValue.length),(Re=xe.firstChild)!==null;)ye=xe,xe=Re;for(;;){if(xe===s)break t;if(ye===f&&++ce===v&&(U=O),ye===S&&++be===g&&(Y=O),(Re=xe.nextSibling)!==null)break;xe=ye,ye=xe.parentNode}xe=Re}f=U===-1||Y===-1?null:{start:U,end:Y}}else f=null}f=f||{start:0,end:0}}else f=null;for(oA={focusedElem:s,selectionRange:f},Lr=!1,Fe=c;Fe!==null;)if(c=Fe,s=c.child,(c.subtreeFlags&1028)!==0&&s!==null)s.return=c,Fe=s;else for(;Fe!==null;){c=Fe;try{var Qe=c.alternate;if((c.flags&1024)!==0)switch(c.tag){case 0:case 11:case 15:break;case 1:if(Qe!==null){var Ue=Qe.memoizedProps,cn=Qe.memoizedState,ne=c.stateNode,X=ne.getSnapshotBeforeUpdate(c.elementType===c.type?Ue:mi(c.type,Ue),cn);ne.__reactInternalSnapshotBeforeUpdate=X}break;case 3:var se=c.stateNode.containerInfo;se.nodeType===1?se.textContent="":se.nodeType===9&&se.documentElement&&se.removeChild(se.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(n(163))}}catch(Pe){sn(c,c.return,Pe)}if(s=c.sibling,s!==null){s.return=c.return,Fe=s;break}Fe=c.return}return Qe=C1,C1=!1,Qe}function Pc(s,c,f){var g=c.updateQueue;if(g=g!==null?g.lastEffect:null,g!==null){var v=g=g.next;do{if((v.tag&s)===s){var S=v.destroy;v.destroy=void 0,S!==void 0&&YA(c,f,S)}v=v.next}while(v!==g)}}function Vd(s,c){if(c=c.updateQueue,c=c!==null?c.lastEffect:null,c!==null){var f=c=c.next;do{if((f.tag&s)===s){var g=f.create;f.destroy=g()}f=f.next}while(f!==c)}}function qA(s){var c=s.ref;if(c!==null){var f=s.stateNode;s.tag,s=f,typeof c=="function"?c(s):c.current=s}}function P1(s){var c=s.alternate;c!==null&&(s.alternate=null,P1(c)),s.child=null,s.deletions=null,s.sibling=null,s.tag===5&&(c=s.stateNode,c!==null&&(delete c[Ji],delete c[gc],delete c[cA],delete c[m4],delete c[v4])),s.stateNode=null,s.return=null,s.dependencies=null,s.memoizedProps=null,s.memoizedState=null,s.pendingProps=null,s.stateNode=null,s.updateQueue=null}function D1(s){return s.tag===5||s.tag===3||s.tag===4}function T1(s){e:for(;;){for(;s.sibling===null;){if(s.return===null||D1(s.return))return null;s=s.return}for(s.sibling.return=s.return,s=s.sibling;s.tag!==5&&s.tag!==6&&s.tag!==18;){if(s.flags&2||s.child===null||s.tag===4)continue e;s.child.return=s,s=s.child}if(!(s.flags&2))return s.stateNode}}function KA(s,c,f){var g=s.tag;if(g===5||g===6)s=s.stateNode,c?f.nodeType===8?f.parentNode.insertBefore(s,c):f.insertBefore(s,c):(f.nodeType===8?(c=f.parentNode,c.insertBefore(s,f)):(c=f,c.appendChild(s)),f=f._reactRootContainer,f!=null||c.onclick!==null||(c.onclick=xd));else if(g!==4&&(s=s.child,s!==null))for(KA(s,c,f),s=s.sibling;s!==null;)KA(s,c,f),s=s.sibling}function GA(s,c,f){var g=s.tag;if(g===5||g===6)s=s.stateNode,c?f.insertBefore(s,c):f.appendChild(s);else if(g!==4&&(s=s.child,s!==null))for(GA(s,c,f),s=s.sibling;s!==null;)GA(s,c,f),s=s.sibling}var Ln=null,vi=!1;function os(s,c,f){for(f=f.child;f!==null;)B1(s,c,f),f=f.sibling}function B1(s,c,f){if($n&&typeof $n.onCommitFiberUnmount=="function")try{$n.onCommitFiberUnmount(Or,f)}catch{}switch(f.tag){case 5:Gn||el(f,c);case 6:var g=Ln,v=vi;Ln=null,os(s,c,f),Ln=g,vi=v,Ln!==null&&(vi?(s=Ln,f=f.stateNode,s.nodeType===8?s.parentNode.removeChild(f):s.removeChild(f)):Ln.removeChild(f.stateNode));break;case 18:Ln!==null&&(vi?(s=Ln,f=f.stateNode,s.nodeType===8?lA(s.parentNode,f):s.nodeType===1&&lA(s,f),Ki(s)):lA(Ln,f.stateNode));break;case 4:g=Ln,v=vi,Ln=f.stateNode.containerInfo,vi=!0,os(s,c,f),Ln=g,vi=v;break;case 0:case 11:case 14:case 15:if(!Gn&&(g=f.updateQueue,g!==null&&(g=g.lastEffect,g!==null))){v=g=g.next;do{var S=v,O=S.destroy;S=S.tag,O!==void 0&&((S&2)!==0||(S&4)!==0)&&YA(f,c,O),v=v.next}while(v!==g)}os(s,c,f);break;case 1:if(!Gn&&(el(f,c),g=f.stateNode,typeof g.componentWillUnmount=="function"))try{g.props=f.memoizedProps,g.state=f.memoizedState,g.componentWillUnmount()}catch(U){sn(f,c,U)}os(s,c,f);break;case 21:os(s,c,f);break;case 22:f.mode&1?(Gn=(g=Gn)||f.memoizedState!==null,os(s,c,f),Gn=g):os(s,c,f);break;default:os(s,c,f)}}function _1(s){var c=s.updateQueue;if(c!==null){s.updateQueue=null;var f=s.stateNode;f===null&&(f=s.stateNode=new O4),c.forEach(function(g){var v=V4.bind(null,s,g);f.has(g)||(f.add(g),g.then(v,v))})}}function yi(s,c){var f=c.deletions;if(f!==null)for(var g=0;g<f.length;g++){var v=f[g];try{var S=s,O=c,U=O;e:for(;U!==null;){switch(U.tag){case 5:Ln=U.stateNode,vi=!1;break e;case 3:Ln=U.stateNode.containerInfo,vi=!0;break e;case 4:Ln=U.stateNode.containerInfo,vi=!0;break e}U=U.return}if(Ln===null)throw Error(n(160));B1(S,O,v),Ln=null,vi=!1;var Y=v.alternate;Y!==null&&(Y.return=null),v.return=null}catch(ce){sn(v,c,ce)}}if(c.subtreeFlags&12854)for(c=c.child;c!==null;)I1(c,s),c=c.sibling}function I1(s,c){var f=s.alternate,g=s.flags;switch(s.tag){case 0:case 11:case 14:case 15:if(yi(c,s),eo(s),g&4){try{Pc(3,s,s.return),Vd(3,s)}catch(Ue){sn(s,s.return,Ue)}try{Pc(5,s,s.return)}catch(Ue){sn(s,s.return,Ue)}}break;case 1:yi(c,s),eo(s),g&512&&f!==null&&el(f,f.return);break;case 5:if(yi(c,s),eo(s),g&512&&f!==null&&el(f,f.return),s.flags&32){var v=s.stateNode;try{Le(v,"")}catch(Ue){sn(s,s.return,Ue)}}if(g&4&&(v=s.stateNode,v!=null)){var S=s.memoizedProps,O=f!==null?f.memoizedProps:S,U=s.type,Y=s.updateQueue;if(s.updateQueue=null,Y!==null)try{U==="input"&&S.type==="radio"&&S.name!=null&&At(v,S),qe(U,O);var ce=qe(U,S);for(O=0;O<Y.length;O+=2){var be=Y[O],xe=Y[O+1];be==="style"?le(v,xe):be==="dangerouslySetInnerHTML"?fe(v,xe):be==="children"?Le(v,xe):D(v,be,xe,ce)}switch(U){case"input":lt(v,S);break;case"textarea":fn(v,S);break;case"select":var ye=v._wrapperState.wasMultiple;v._wrapperState.wasMultiple=!!S.multiple;var Re=S.value;Re!=null?Rt(v,!!S.multiple,Re,!1):ye!==!!S.multiple&&(S.defaultValue!=null?Rt(v,!!S.multiple,S.defaultValue,!0):Rt(v,!!S.multiple,S.multiple?[]:"",!1))}v[gc]=S}catch(Ue){sn(s,s.return,Ue)}}break;case 6:if(yi(c,s),eo(s),g&4){if(s.stateNode===null)throw Error(n(162));v=s.stateNode,S=s.memoizedProps;try{v.nodeValue=S}catch(Ue){sn(s,s.return,Ue)}}break;case 3:if(yi(c,s),eo(s),g&4&&f!==null&&f.memoizedState.isDehydrated)try{Ki(c.containerInfo)}catch(Ue){sn(s,s.return,Ue)}break;case 4:yi(c,s),eo(s);break;case 13:yi(c,s),eo(s),v=s.child,v.flags&8192&&(S=v.memoizedState!==null,v.stateNode.isHidden=S,!S||v.alternate!==null&&v.alternate.memoizedState!==null||(ZA=Lt())),g&4&&_1(s);break;case 22:if(be=f!==null&&f.memoizedState!==null,s.mode&1?(Gn=(ce=Gn)||be,yi(c,s),Gn=ce):yi(c,s),eo(s),g&8192){if(ce=s.memoizedState!==null,(s.stateNode.isHidden=ce)&&!be&&(s.mode&1)!==0)for(Fe=s,be=s.child;be!==null;){for(xe=Fe=be;Fe!==null;){switch(ye=Fe,Re=ye.child,ye.tag){case 0:case 11:case 14:case 15:Pc(4,ye,ye.return);break;case 1:el(ye,ye.return);var Qe=ye.stateNode;if(typeof Qe.componentWillUnmount=="function"){g=ye,f=ye.return;try{c=g,Qe.props=c.memoizedProps,Qe.state=c.memoizedState,Qe.componentWillUnmount()}catch(Ue){sn(g,f,Ue)}}break;case 5:el(ye,ye.return);break;case 22:if(ye.memoizedState!==null){R1(xe);continue}}Re!==null?(Re.return=ye,Fe=Re):R1(xe)}be=be.sibling}e:for(be=null,xe=s;;){if(xe.tag===5){if(be===null){be=xe;try{v=xe.stateNode,ce?(S=v.style,typeof S.setProperty=="function"?S.setProperty("display","none","important"):S.display="none"):(U=xe.stateNode,Y=xe.memoizedProps.style,O=Y!=null&&Y.hasOwnProperty("display")?Y.display:null,U.style.display=We("display",O))}catch(Ue){sn(s,s.return,Ue)}}}else if(xe.tag===6){if(be===null)try{xe.stateNode.nodeValue=ce?"":xe.memoizedProps}catch(Ue){sn(s,s.return,Ue)}}else if((xe.tag!==22&&xe.tag!==23||xe.memoizedState===null||xe===s)&&xe.child!==null){xe.child.return=xe,xe=xe.child;continue}if(xe===s)break e;for(;xe.sibling===null;){if(xe.return===null||xe.return===s)break e;be===xe&&(be=null),xe=xe.return}be===xe&&(be=null),xe.sibling.return=xe.return,xe=xe.sibling}}break;case 19:yi(c,s),eo(s),g&4&&_1(s);break;case 21:break;default:yi(c,s),eo(s)}}function eo(s){var c=s.flags;if(c&2){try{e:{for(var f=s.return;f!==null;){if(D1(f)){var g=f;break e}f=f.return}throw Error(n(160))}switch(g.tag){case 5:var v=g.stateNode;g.flags&32&&(Le(v,""),g.flags&=-33);var S=T1(s);GA(s,S,v);break;case 3:case 4:var O=g.stateNode.containerInfo,U=T1(s);KA(s,U,O);break;default:throw Error(n(161))}}catch(Y){sn(s,s.return,Y)}s.flags&=-3}c&4096&&(s.flags&=-4097)}function L4(s,c,f){Fe=s,M1(s)}function M1(s,c,f){for(var g=(s.mode&1)!==0;Fe!==null;){var v=Fe,S=v.child;if(v.tag===22&&g){var O=v.memoizedState!==null||Ud;if(!O){var U=v.alternate,Y=U!==null&&U.memoizedState!==null||Gn;U=Ud;var ce=Gn;if(Ud=O,(Gn=Y)&&!ce)for(Fe=v;Fe!==null;)O=Fe,Y=O.child,O.tag===22&&O.memoizedState!==null?L1(v):Y!==null?(Y.return=O,Fe=Y):L1(v);for(;S!==null;)Fe=S,M1(S),S=S.sibling;Fe=v,Ud=U,Gn=ce}O1(s)}else(v.subtreeFlags&8772)!==0&&S!==null?(S.return=v,Fe=S):O1(s)}}function O1(s){for(;Fe!==null;){var c=Fe;if((c.flags&8772)!==0){var f=c.alternate;try{if((c.flags&8772)!==0)switch(c.tag){case 0:case 11:case 15:Gn||Vd(5,c);break;case 1:var g=c.stateNode;if(c.flags&4&&!Gn)if(f===null)g.componentDidMount();else{var v=c.elementType===c.type?f.memoizedProps:mi(c.type,f.memoizedProps);g.componentDidUpdate(v,f.memoizedState,g.__reactInternalSnapshotBeforeUpdate)}var S=c.updateQueue;S!==null&&Rw(c,S,g);break;case 3:var O=c.updateQueue;if(O!==null){if(f=null,c.child!==null)switch(c.child.tag){case 5:f=c.child.stateNode;break;case 1:f=c.child.stateNode}Rw(c,O,f)}break;case 5:var U=c.stateNode;if(f===null&&c.flags&4){f=U;var Y=c.memoizedProps;switch(c.type){case"button":case"input":case"select":case"textarea":Y.autoFocus&&f.focus();break;case"img":Y.src&&(f.src=Y.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(c.memoizedState===null){var ce=c.alternate;if(ce!==null){var be=ce.memoizedState;if(be!==null){var xe=be.dehydrated;xe!==null&&Ki(xe)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(n(163))}Gn||c.flags&512&&qA(c)}catch(ye){sn(c,c.return,ye)}}if(c===s){Fe=null;break}if(f=c.sibling,f!==null){f.return=c.return,Fe=f;break}Fe=c.return}}function R1(s){for(;Fe!==null;){var c=Fe;if(c===s){Fe=null;break}var f=c.sibling;if(f!==null){f.return=c.return,Fe=f;break}Fe=c.return}}function L1(s){for(;Fe!==null;){var c=Fe;try{switch(c.tag){case 0:case 11:case 15:var f=c.return;try{Vd(4,c)}catch(Y){sn(c,f,Y)}break;case 1:var g=c.stateNode;if(typeof g.componentDidMount=="function"){var v=c.return;try{g.componentDidMount()}catch(Y){sn(c,v,Y)}}var S=c.return;try{qA(c)}catch(Y){sn(c,S,Y)}break;case 5:var O=c.return;try{qA(c)}catch(Y){sn(c,O,Y)}}}catch(Y){sn(c,c.return,Y)}if(c===s){Fe=null;break}var U=c.sibling;if(U!==null){U.return=c.return,Fe=U;break}Fe=c.return}}var N4=Math.ceil,Wd=C.ReactCurrentDispatcher,XA=C.ReactCurrentOwner,ri=C.ReactCurrentBatchConfig,Et=0,Pn=null,hn=null,Nn=0,jr=0,tl=es(0),wn=0,Dc=null,Xs=0,Yd=0,JA=0,Tc=null,xr=null,ZA=0,nl=1/0,Po=null,qd=!1,$A=null,ss=null,Kd=!1,as=null,Gd=0,Bc=0,eg=null,Xd=-1,Jd=0;function nr(){return(Et&6)!==0?Lt():Xd!==-1?Xd:Xd=Lt()}function ls(s){return(s.mode&1)===0?1:(Et&2)!==0&&Nn!==0?Nn&-Nn:b4.transition!==null?(Jd===0&&(Jd=H()),Jd):(s=Ie,s!==0||(s=window.event,s=s===void 0?16:tc(s.type)),s)}function bi(s,c,f,g){if(50<Bc)throw Bc=0,eg=null,Error(n(185));$(s,f,g),((Et&2)===0||s!==Pn)&&(s===Pn&&((Et&2)===0&&(Yd|=f),wn===4&&cs(s,Nn)),wr(s,g),f===1&&Et===0&&(c.mode&1)===0&&(nl=Lt()+500,Ed&&ns()))}function wr(s,c){var f=s.callbackNode;_(s,c);var g=Wi(s,s===Pn?Nn:0);if(g===0)f!==null&&_s(f),s.callbackNode=null,s.callbackPriority=0;else if(c=g&-g,s.callbackPriority!==c){if(f!=null&&_s(f),c===1)s.tag===0?y4(F1.bind(null,s)):kw(F1.bind(null,s)),A4(function(){(Et&6)===0&&ns()}),f=null;else{switch(tt(g)){case 1:f=Yo;break;case 4:f=qo;break;case 16:f=Ui;break;case 536870912:f=ui;break;default:f=Ui}f=Y1(f,N1.bind(null,s))}s.callbackPriority=c,s.callbackNode=f}}function N1(s,c){if(Xd=-1,Jd=0,(Et&6)!==0)throw Error(n(327));var f=s.callbackNode;if(rl()&&s.callbackNode!==f)return null;var g=Wi(s,s===Pn?Nn:0);if(g===0)return null;if((g&30)!==0||(g&s.expiredLanes)!==0||c)c=Zd(s,g);else{c=g;var v=Et;Et|=2;var S=z1();(Pn!==s||Nn!==c)&&(Po=null,nl=Lt()+500,Zs(s,c));do try{z4();break}catch(U){j1(s,U)}while(!0);vA(),Wd.current=S,Et=v,hn!==null?c=0:(Pn=null,Nn=0,c=wn)}if(c!==0){if(c===2&&(v=F(s),v!==0&&(g=v,c=tg(s,v))),c===1)throw f=Dc,Zs(s,0),cs(s,g),wr(s,Lt()),f;if(c===6)cs(s,g);else{if(v=s.current.alternate,(g&30)===0&&!F4(v)&&(c=Zd(s,g),c===2&&(S=F(s),S!==0&&(g=S,c=tg(s,S))),c===1))throw f=Dc,Zs(s,0),cs(s,g),wr(s,Lt()),f;switch(s.finishedWork=v,s.finishedLanes=g,c){case 0:case 1:throw Error(n(345));case 2:$s(s,xr,Po);break;case 3:if(cs(s,g),(g&130023424)===g&&(c=ZA+500-Lt(),10<c)){if(Wi(s,0)!==0)break;if(v=s.suspendedLanes,(v&g)!==g){nr(),s.pingedLanes|=s.suspendedLanes&v;break}s.timeoutHandle=aA($s.bind(null,s,xr,Po),c);break}$s(s,xr,Po);break;case 4:if(cs(s,g),(g&4194240)===g)break;for(c=s.eventTimes,v=-1;0<g;){var O=31-bn(g);S=1<<O,O=c[O],O>v&&(v=O),g&=~S}if(g=v,g=Lt()-g,g=(120>g?120:480>g?480:1080>g?1080:1920>g?1920:3e3>g?3e3:4320>g?4320:1960*N4(g/1960))-g,10<g){s.timeoutHandle=aA($s.bind(null,s,xr,Po),g);break}$s(s,xr,Po);break;case 5:$s(s,xr,Po);break;default:throw Error(n(329))}}}return wr(s,Lt()),s.callbackNode===f?N1.bind(null,s):null}function tg(s,c){var f=Tc;return s.current.memoizedState.isDehydrated&&(Zs(s,c).flags|=256),s=Zd(s,c),s!==2&&(c=xr,xr=f,c!==null&&ng(c)),s}function ng(s){xr===null?xr=s:xr.push.apply(xr,s)}function F4(s){for(var c=s;;){if(c.flags&16384){var f=c.updateQueue;if(f!==null&&(f=f.stores,f!==null))for(var g=0;g<f.length;g++){var v=f[g],S=v.getSnapshot;v=v.value;try{if(!Ai(S(),v))return!1}catch{return!1}}}if(f=c.child,c.subtreeFlags&16384&&f!==null)f.return=c,c=f;else{if(c===s)break;for(;c.sibling===null;){if(c.return===null||c.return===s)return!0;c=c.return}c.sibling.return=c.return,c=c.sibling}}return!0}function cs(s,c){for(c&=~JA,c&=~Yd,s.suspendedLanes|=c,s.pingedLanes&=~c,s=s.expirationTimes;0<c;){var f=31-bn(c),g=1<<f;s[f]=-1,c&=~g}}function F1(s){if((Et&6)!==0)throw Error(n(327));rl();var c=Wi(s,0);if((c&1)===0)return wr(s,Lt()),null;var f=Zd(s,c);if(s.tag!==0&&f===2){var g=F(s);g!==0&&(c=g,f=tg(s,g))}if(f===1)throw f=Dc,Zs(s,0),cs(s,c),wr(s,Lt()),f;if(f===6)throw Error(n(345));return s.finishedWork=s.current.alternate,s.finishedLanes=c,$s(s,xr,Po),wr(s,Lt()),null}function rg(s,c){var f=Et;Et|=1;try{return s(c)}finally{Et=f,Et===0&&(nl=Lt()+500,Ed&&ns())}}function Js(s){as!==null&&as.tag===0&&(Et&6)===0&&rl();var c=Et;Et|=1;var f=ri.transition,g=Ie;try{if(ri.transition=null,Ie=1,s)return s()}finally{Ie=g,ri.transition=f,Et=c,(Et&6)===0&&ns()}}function ig(){jr=tl.current,Wt(tl)}function Zs(s,c){s.finishedWork=null,s.finishedLanes=0;var f=s.timeoutHandle;if(f!==-1&&(s.timeoutHandle=-1,h4(f)),hn!==null)for(f=hn.return;f!==null;){var g=f;switch(pA(g),g.tag){case 1:g=g.type.childContextTypes,g!=null&&kd();break;case 3:Za(),Wt(vr),Wt(Yn),CA();break;case 5:SA(g);break;case 4:Za();break;case 13:Wt($t);break;case 19:Wt($t);break;case 10:yA(g.type._context);break;case 22:case 23:ig()}f=f.return}if(Pn=s,hn=s=us(s.current,null),Nn=jr=c,wn=0,Dc=null,JA=Yd=Xs=0,xr=Tc=null,qs!==null){for(c=0;c<qs.length;c++)if(f=qs[c],g=f.interleaved,g!==null){f.interleaved=null;var v=g.next,S=f.pending;if(S!==null){var O=S.next;S.next=v,g.next=O}f.pending=g}qs=null}return s}function j1(s,c){do{var f=hn;try{if(vA(),Rd.current=jd,Ld){for(var g=en.memoizedState;g!==null;){var v=g.queue;v!==null&&(v.pending=null),g=g.next}Ld=!1}if(Gs=0,Cn=xn=en=null,wc=!1,kc=0,XA.current=null,f===null||f.return===null){wn=1,Dc=c,hn=null;break}e:{var S=s,O=f.return,U=f,Y=c;if(c=Nn,U.flags|=32768,Y!==null&&typeof Y=="object"&&typeof Y.then=="function"){var ce=Y,be=U,xe=be.tag;if((be.mode&1)===0&&(xe===0||xe===11||xe===15)){var ye=be.alternate;ye?(be.updateQueue=ye.updateQueue,be.memoizedState=ye.memoizedState,be.lanes=ye.lanes):(be.updateQueue=null,be.memoizedState=null)}var Re=u1(O);if(Re!==null){Re.flags&=-257,d1(Re,O,U,S,c),Re.mode&1&&c1(S,ce,c),c=Re,Y=ce;var Qe=c.updateQueue;if(Qe===null){var Ue=new Set;Ue.add(Y),c.updateQueue=Ue}else Qe.add(Y);break e}else{if((c&1)===0){c1(S,ce,c),og();break e}Y=Error(n(426))}}else if(Kt&&U.mode&1){var cn=u1(O);if(cn!==null){(cn.flags&65536)===0&&(cn.flags|=256),d1(cn,O,U,S,c),gA($a(Y,U));break e}}S=Y=$a(Y,U),wn!==4&&(wn=2),Tc===null?Tc=[S]:Tc.push(S),S=O;do{switch(S.tag){case 3:S.flags|=65536,c&=-c,S.lanes|=c;var ne=a1(S,Y,c);Ow(S,ne);break e;case 1:U=Y;var X=S.type,se=S.stateNode;if((S.flags&128)===0&&(typeof X.getDerivedStateFromError=="function"||se!==null&&typeof se.componentDidCatch=="function"&&(ss===null||!ss.has(se)))){S.flags|=65536,c&=-c,S.lanes|=c;var Pe=l1(S,U,c);Ow(S,Pe);break e}}S=S.return}while(S!==null)}H1(f)}catch(Ye){c=Ye,hn===f&&f!==null&&(hn=f=f.return);continue}break}while(!0)}function z1(){var s=Wd.current;return Wd.current=jd,s===null?jd:s}function og(){(wn===0||wn===3||wn===2)&&(wn=4),Pn===null||(Xs&268435455)===0&&(Yd&268435455)===0||cs(Pn,Nn)}function Zd(s,c){var f=Et;Et|=2;var g=z1();(Pn!==s||Nn!==c)&&(Po=null,Zs(s,c));do try{j4();break}catch(v){j1(s,v)}while(!0);if(vA(),Et=f,Wd.current=g,hn!==null)throw Error(n(261));return Pn=null,Nn=0,wn}function j4(){for(;hn!==null;)Q1(hn)}function z4(){for(;hn!==null&&!Pa();)Q1(hn)}function Q1(s){var c=W1(s.alternate,s,jr);s.memoizedProps=s.pendingProps,c===null?H1(s):hn=c,XA.current=null}function H1(s){var c=s;do{var f=c.alternate;if(s=c.return,(c.flags&32768)===0){if(f=I4(f,c,jr),f!==null){hn=f;return}}else{if(f=M4(f,c),f!==null){f.flags&=32767,hn=f;return}if(s!==null)s.flags|=32768,s.subtreeFlags=0,s.deletions=null;else{wn=6,hn=null;return}}if(c=c.sibling,c!==null){hn=c;return}hn=c=s}while(c!==null);wn===0&&(wn=5)}function $s(s,c,f){var g=Ie,v=ri.transition;try{ri.transition=null,Ie=1,Q4(s,c,f,g)}finally{ri.transition=v,Ie=g}return null}function Q4(s,c,f,g){do rl();while(as!==null);if((Et&6)!==0)throw Error(n(327));f=s.finishedWork;var v=s.finishedLanes;if(f===null)return null;if(s.finishedWork=null,s.finishedLanes=0,f===s.current)throw Error(n(177));s.callbackNode=null,s.callbackPriority=0;var S=f.lanes|f.childLanes;if(he(s,S),s===Pn&&(hn=Pn=null,Nn=0),(f.subtreeFlags&2064)===0&&(f.flags&2064)===0||Kd||(Kd=!0,Y1(Ui,function(){return rl(),null})),S=(f.flags&15990)!==0,(f.subtreeFlags&15990)!==0||S){S=ri.transition,ri.transition=null;var O=Ie;Ie=1;var U=Et;Et|=4,XA.current=null,R4(s,f),I1(f,s),a4(oA),Lr=!!iA,oA=iA=null,s.current=f,L4(f),Da(),Et=U,Ie=O,ri.transition=S}else s.current=f;if(Kd&&(Kd=!1,as=s,Gd=v),S=s.pendingLanes,S===0&&(ss=null),ho(f.stateNode),wr(s,Lt()),c!==null)for(g=s.onRecoverableError,f=0;f<c.length;f++)v=c[f],g(v.value,{componentStack:v.stack,digest:v.digest});if(qd)throw qd=!1,s=$A,$A=null,s;return(Gd&1)!==0&&s.tag!==0&&rl(),S=s.pendingLanes,(S&1)!==0?s===eg?Bc++:(Bc=0,eg=s):Bc=0,ns(),null}function rl(){if(as!==null){var s=tt(Gd),c=ri.transition,f=Ie;try{if(ri.transition=null,Ie=16>s?16:s,as===null)var g=!1;else{if(s=as,as=null,Gd=0,(Et&6)!==0)throw Error(n(331));var v=Et;for(Et|=4,Fe=s.current;Fe!==null;){var S=Fe,O=S.child;if((Fe.flags&16)!==0){var U=S.deletions;if(U!==null){for(var Y=0;Y<U.length;Y++){var ce=U[Y];for(Fe=ce;Fe!==null;){var be=Fe;switch(be.tag){case 0:case 11:case 15:Pc(8,be,S)}var xe=be.child;if(xe!==null)xe.return=be,Fe=xe;else for(;Fe!==null;){be=Fe;var ye=be.sibling,Re=be.return;if(P1(be),be===ce){Fe=null;break}if(ye!==null){ye.return=Re,Fe=ye;break}Fe=Re}}}var Qe=S.alternate;if(Qe!==null){var Ue=Qe.child;if(Ue!==null){Qe.child=null;do{var cn=Ue.sibling;Ue.sibling=null,Ue=cn}while(Ue!==null)}}Fe=S}}if((S.subtreeFlags&2064)!==0&&O!==null)O.return=S,Fe=O;else e:for(;Fe!==null;){if(S=Fe,(S.flags&2048)!==0)switch(S.tag){case 0:case 11:case 15:Pc(9,S,S.return)}var ne=S.sibling;if(ne!==null){ne.return=S.return,Fe=ne;break e}Fe=S.return}}var X=s.current;for(Fe=X;Fe!==null;){O=Fe;var se=O.child;if((O.subtreeFlags&2064)!==0&&se!==null)se.return=O,Fe=se;else e:for(O=X;Fe!==null;){if(U=Fe,(U.flags&2048)!==0)try{switch(U.tag){case 0:case 11:case 15:Vd(9,U)}}catch(Ye){sn(U,U.return,Ye)}if(U===O){Fe=null;break e}var Pe=U.sibling;if(Pe!==null){Pe.return=U.return,Fe=Pe;break e}Fe=U.return}}if(Et=v,ns(),$n&&typeof $n.onPostCommitFiberRoot=="function")try{$n.onPostCommitFiberRoot(Or,s)}catch{}g=!0}return g}finally{Ie=f,ri.transition=c}}return!1}function U1(s,c,f){c=$a(f,c),c=a1(s,c,1),s=is(s,c,1),c=nr(),s!==null&&($(s,1,c),wr(s,c))}function sn(s,c,f){if(s.tag===3)U1(s,s,f);else for(;c!==null;){if(c.tag===3){U1(c,s,f);break}else if(c.tag===1){var g=c.stateNode;if(typeof c.type.getDerivedStateFromError=="function"||typeof g.componentDidCatch=="function"&&(ss===null||!ss.has(g))){s=$a(f,s),s=l1(c,s,1),c=is(c,s,1),s=nr(),c!==null&&($(c,1,s),wr(c,s));break}}c=c.return}}function H4(s,c,f){var g=s.pingCache;g!==null&&g.delete(c),c=nr(),s.pingedLanes|=s.suspendedLanes&f,Pn===s&&(Nn&f)===f&&(wn===4||wn===3&&(Nn&130023424)===Nn&&500>Lt()-ZA?Zs(s,0):JA|=f),wr(s,c)}function V1(s,c){c===0&&((s.mode&1)===0?c=1:(c=Ao,Ao<<=1,(Ao&130023424)===0&&(Ao=4194304)));var f=nr();s=So(s,c),s!==null&&($(s,c,f),wr(s,f))}function U4(s){var c=s.memoizedState,f=0;c!==null&&(f=c.retryLane),V1(s,f)}function V4(s,c){var f=0;switch(s.tag){case 13:var g=s.stateNode,v=s.memoizedState;v!==null&&(f=v.retryLane);break;case 19:g=s.stateNode;break;default:throw Error(n(314))}g!==null&&g.delete(c),V1(s,f)}var W1;W1=function(s,c,f){if(s!==null)if(s.memoizedProps!==c.pendingProps||vr.current)br=!0;else{if((s.lanes&f)===0&&(c.flags&128)===0)return br=!1,_4(s,c,f);br=(s.flags&131072)!==0}else br=!1,Kt&&(c.flags&1048576)!==0&&Sw(c,Pd,c.index);switch(c.lanes=0,c.tag){case 2:var g=c.type;Hd(s,c),s=c.pendingProps;var v=Wa(c,Yn.current);Ja(c,f),v=TA(null,c,g,s,v,f);var S=BA();return c.flags|=1,typeof v=="object"&&v!==null&&typeof v.render=="function"&&v.$$typeof===void 0?(c.tag=1,c.memoizedState=null,c.updateQueue=null,yr(g)?(S=!0,Sd(c)):S=!1,c.memoizedState=v.state!==null&&v.state!==void 0?v.state:null,wA(c),v.updater=zd,c.stateNode=v,v._reactInternals=c,LA(c,g,s,f),c=zA(null,c,g,!0,S,f)):(c.tag=0,Kt&&S&&fA(c),tr(null,c,v,f),c=c.child),c;case 16:g=c.elementType;e:{switch(Hd(s,c),s=c.pendingProps,v=g._init,g=v(g._payload),c.type=g,v=c.tag=Y4(g),s=mi(g,s),v){case 0:c=jA(null,c,g,s,f);break e;case 1:c=m1(null,c,g,s,f);break e;case 11:c=f1(null,c,g,s,f);break e;case 14:c=p1(null,c,g,mi(g.type,s),f);break e}throw Error(n(306,g,""))}return c;case 0:return g=c.type,v=c.pendingProps,v=c.elementType===g?v:mi(g,v),jA(s,c,g,v,f);case 1:return g=c.type,v=c.pendingProps,v=c.elementType===g?v:mi(g,v),m1(s,c,g,v,f);case 3:e:{if(v1(c),s===null)throw Error(n(387));g=c.pendingProps,S=c.memoizedState,v=S.element,Mw(s,c),Md(c,g,null,f);var O=c.memoizedState;if(g=O.element,S.isDehydrated)if(S={element:g,isDehydrated:!1,cache:O.cache,pendingSuspenseBoundaries:O.pendingSuspenseBoundaries,transitions:O.transitions},c.updateQueue.baseState=S,c.memoizedState=S,c.flags&256){v=$a(Error(n(423)),c),c=y1(s,c,g,f,v);break e}else if(g!==v){v=$a(Error(n(424)),c),c=y1(s,c,g,f,v);break e}else for(Fr=$o(c.stateNode.containerInfo.firstChild),Nr=c,Kt=!0,gi=null,f=_w(c,null,g,f),c.child=f;f;)f.flags=f.flags&-3|4096,f=f.sibling;else{if(Ka(),g===v){c=Co(s,c,f);break e}tr(s,c,g,f)}c=c.child}return c;case 5:return Lw(c),s===null&&AA(c),g=c.type,v=c.pendingProps,S=s!==null?s.memoizedProps:null,O=v.children,sA(g,v)?O=null:S!==null&&sA(g,S)&&(c.flags|=32),g1(s,c),tr(s,c,O,f),c.child;case 6:return s===null&&AA(c),null;case 13:return b1(s,c,f);case 4:return kA(c,c.stateNode.containerInfo),g=c.pendingProps,s===null?c.child=Ga(c,null,g,f):tr(s,c,g,f),c.child;case 11:return g=c.type,v=c.pendingProps,v=c.elementType===g?v:mi(g,v),f1(s,c,g,v,f);case 7:return tr(s,c,c.pendingProps,f),c.child;case 8:return tr(s,c,c.pendingProps.children,f),c.child;case 12:return tr(s,c,c.pendingProps.children,f),c.child;case 10:e:{if(g=c.type._context,v=c.pendingProps,S=c.memoizedProps,O=v.value,Qt(Bd,g._currentValue),g._currentValue=O,S!==null)if(Ai(S.value,O)){if(S.children===v.children&&!vr.current){c=Co(s,c,f);break e}}else for(S=c.child,S!==null&&(S.return=c);S!==null;){var U=S.dependencies;if(U!==null){O=S.child;for(var Y=U.firstContext;Y!==null;){if(Y.context===g){if(S.tag===1){Y=Eo(-1,f&-f),Y.tag=2;var ce=S.updateQueue;if(ce!==null){ce=ce.shared;var be=ce.pending;be===null?Y.next=Y:(Y.next=be.next,be.next=Y),ce.pending=Y}}S.lanes|=f,Y=S.alternate,Y!==null&&(Y.lanes|=f),bA(S.return,f,c),U.lanes|=f;break}Y=Y.next}}else if(S.tag===10)O=S.type===c.type?null:S.child;else if(S.tag===18){if(O=S.return,O===null)throw Error(n(341));O.lanes|=f,U=O.alternate,U!==null&&(U.lanes|=f),bA(O,f,c),O=S.sibling}else O=S.child;if(O!==null)O.return=S;else for(O=S;O!==null;){if(O===c){O=null;break}if(S=O.sibling,S!==null){S.return=O.return,O=S;break}O=O.return}S=O}tr(s,c,v.children,f),c=c.child}return c;case 9:return v=c.type,g=c.pendingProps.children,Ja(c,f),v=ti(v),g=g(v),c.flags|=1,tr(s,c,g,f),c.child;case 14:return g=c.type,v=mi(g,c.pendingProps),v=mi(g.type,v),p1(s,c,g,v,f);case 15:return h1(s,c,c.type,c.pendingProps,f);case 17:return g=c.type,v=c.pendingProps,v=c.elementType===g?v:mi(g,v),Hd(s,c),c.tag=1,yr(g)?(s=!0,Sd(c)):s=!1,Ja(c,f),o1(c,g,v),LA(c,g,v,f),zA(null,c,g,!0,s,f);case 19:return w1(s,c,f);case 22:return A1(s,c,f)}throw Error(n(156,c.tag))};function Y1(s,c){return po(s,c)}function W4(s,c,f,g){this.tag=s,this.key=f,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=c,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=g,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ii(s,c,f,g){return new W4(s,c,f,g)}function sg(s){return s=s.prototype,!(!s||!s.isReactComponent)}function Y4(s){if(typeof s=="function")return sg(s)?1:0;if(s!=null){if(s=s.$$typeof,s===W)return 11;if(s===te)return 14}return 2}function us(s,c){var f=s.alternate;return f===null?(f=ii(s.tag,c,s.key,s.mode),f.elementType=s.elementType,f.type=s.type,f.stateNode=s.stateNode,f.alternate=s,s.alternate=f):(f.pendingProps=c,f.type=s.type,f.flags=0,f.subtreeFlags=0,f.deletions=null),f.flags=s.flags&14680064,f.childLanes=s.childLanes,f.lanes=s.lanes,f.child=s.child,f.memoizedProps=s.memoizedProps,f.memoizedState=s.memoizedState,f.updateQueue=s.updateQueue,c=s.dependencies,f.dependencies=c===null?null:{lanes:c.lanes,firstContext:c.firstContext},f.sibling=s.sibling,f.index=s.index,f.ref=s.ref,f}function $d(s,c,f,g,v,S){var O=2;if(g=s,typeof s=="function")sg(s)&&(O=1);else if(typeof s=="string")O=5;else e:switch(s){case z:return ea(f.children,v,S,c);case V:O=8,v|=8;break;case K:return s=ii(12,f,c,v|2),s.elementType=K,s.lanes=S,s;case ie:return s=ii(13,f,c,v),s.elementType=ie,s.lanes=S,s;case ue:return s=ii(19,f,c,v),s.elementType=ue,s.lanes=S,s;case ee:return ef(f,v,S,c);default:if(typeof s=="object"&&s!==null)switch(s.$$typeof){case q:O=10;break e;case Z:O=9;break e;case W:O=11;break e;case te:O=14;break e;case pe:O=16,g=null;break e}throw Error(n(130,s==null?s:typeof s,""))}return c=ii(O,f,c,v),c.elementType=s,c.type=g,c.lanes=S,c}function ea(s,c,f,g){return s=ii(7,s,g,c),s.lanes=f,s}function ef(s,c,f,g){return s=ii(22,s,g,c),s.elementType=ee,s.lanes=f,s.stateNode={isHidden:!1},s}function ag(s,c,f){return s=ii(6,s,null,c),s.lanes=f,s}function lg(s,c,f){return c=ii(4,s.children!==null?s.children:[],s.key,c),c.lanes=f,c.stateNode={containerInfo:s.containerInfo,pendingChildren:null,implementation:s.implementation},c}function q4(s,c,f,g,v){this.tag=c,this.containerInfo=s,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=oe(0),this.expirationTimes=oe(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=oe(0),this.identifierPrefix=g,this.onRecoverableError=v,this.mutableSourceEagerHydrationData=null}function cg(s,c,f,g,v,S,O,U,Y){return s=new q4(s,c,f,U,Y),c===1?(c=1,S===!0&&(c|=8)):c=0,S=ii(3,null,null,c),s.current=S,S.stateNode=s,S.memoizedState={element:g,isDehydrated:f,cache:null,transitions:null,pendingSuspenseBoundaries:null},wA(S),s}function K4(s,c,f){var g=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:R,key:g==null?null:""+g,children:s,containerInfo:c,implementation:f}}function q1(s){if(!s)return ts;s=s._reactInternals;e:{if(En(s)!==s||s.tag!==1)throw Error(n(170));var c=s;do{switch(c.tag){case 3:c=c.stateNode.context;break e;case 1:if(yr(c.type)){c=c.stateNode.__reactInternalMemoizedMergedChildContext;break e}}c=c.return}while(c!==null);throw Error(n(171))}if(s.tag===1){var f=s.type;if(yr(f))return xw(s,f,c)}return c}function K1(s,c,f,g,v,S,O,U,Y){return s=cg(f,g,!0,s,v,S,O,U,Y),s.context=q1(null),f=s.current,g=nr(),v=ls(f),S=Eo(g,v),S.callback=c??null,is(f,S,v),s.current.lanes=v,$(s,v,g),wr(s,g),s}function tf(s,c,f,g){var v=c.current,S=nr(),O=ls(v);return f=q1(f),c.context===null?c.context=f:c.pendingContext=f,c=Eo(S,O),c.payload={element:s},g=g===void 0?null:g,g!==null&&(c.callback=g),s=is(v,c,O),s!==null&&(bi(s,v,O,S),Id(s,v,O)),O}function nf(s){return s=s.current,s.child?(s.child.tag===5,s.child.stateNode):null}function G1(s,c){if(s=s.memoizedState,s!==null&&s.dehydrated!==null){var f=s.retryLane;s.retryLane=f!==0&&f<c?f:c}}function ug(s,c){G1(s,c),(s=s.alternate)&&G1(s,c)}function G4(){return null}var X1=typeof reportError=="function"?reportError:function(s){console.error(s)};function dg(s){this._internalRoot=s}rf.prototype.render=dg.prototype.render=function(s){var c=this._internalRoot;if(c===null)throw Error(n(409));tf(s,c,null,null)},rf.prototype.unmount=dg.prototype.unmount=function(){var s=this._internalRoot;if(s!==null){this._internalRoot=null;var c=s.containerInfo;Js(function(){tf(null,s,null,null)}),c[bo]=null}};function rf(s){this._internalRoot=s}rf.prototype.unstable_scheduleHydration=function(s){if(s){var c=fr();s={blockedOn:null,target:s,priority:c};for(var f=0;f<qi.length&&c!==0&&c<qi[f].priority;f++);qi.splice(f,0,s),f===0&&Jr(s)}};function fg(s){return!(!s||s.nodeType!==1&&s.nodeType!==9&&s.nodeType!==11)}function of(s){return!(!s||s.nodeType!==1&&s.nodeType!==9&&s.nodeType!==11&&(s.nodeType!==8||s.nodeValue!==" react-mount-point-unstable "))}function J1(){}function X4(s,c,f,g,v){if(v){if(typeof g=="function"){var S=g;g=function(){var ce=nf(O);S.call(ce)}}var O=K1(c,g,s,0,null,!1,!1,"",J1);return s._reactRootContainer=O,s[bo]=O.current,hc(s.nodeType===8?s.parentNode:s),Js(),O}for(;v=s.lastChild;)s.removeChild(v);if(typeof g=="function"){var U=g;g=function(){var ce=nf(Y);U.call(ce)}}var Y=cg(s,0,!1,null,null,!1,!1,"",J1);return s._reactRootContainer=Y,s[bo]=Y.current,hc(s.nodeType===8?s.parentNode:s),Js(function(){tf(c,Y,f,g)}),Y}function sf(s,c,f,g,v){var S=f._reactRootContainer;if(S){var O=S;if(typeof v=="function"){var U=v;v=function(){var Y=nf(O);U.call(Y)}}tf(c,O,s,v)}else O=X4(f,c,s,v,g);return nf(O)}ut=function(s){switch(s.tag){case 3:var c=s.stateNode;if(c.current.memoizedState.isDehydrated){var f=Vi(c.pendingLanes);f!==0&&(De(c,f|1),wr(c,Lt()),(Et&6)===0&&(nl=Lt()+500,ns()))}break;case 13:Js(function(){var g=So(s,1);if(g!==null){var v=nr();bi(g,s,1,v)}}),ug(s,1)}},It=function(s){if(s.tag===13){var c=So(s,134217728);if(c!==null){var f=nr();bi(c,s,134217728,f)}ug(s,134217728)}},dr=function(s){if(s.tag===13){var c=ls(s),f=So(s,c);if(f!==null){var g=nr();bi(f,s,c,g)}ug(s,c)}},fr=function(){return Ie},Un=function(s,c){var f=Ie;try{return Ie=s,c()}finally{Ie=f}},bt=function(s,c,f){switch(c){case"input":if(lt(s,f),c=f.name,f.type==="radio"&&c!=null){for(f=s;f.parentNode;)f=f.parentNode;for(f=f.querySelectorAll("input[name="+JSON.stringify(""+c)+'][type="radio"]'),c=0;c<f.length;c++){var g=f[c];if(g!==s&&g.form===s.form){var v=wd(g);if(!v)throw Error(n(90));Me(g),lt(g,v)}}}break;case"textarea":fn(s,f);break;case"select":c=f.value,c!=null&&Rt(s,!!f.multiple,c,!1)}},Ut=rg,an=Js;var J4={usingClientEntryPoint:!1,Events:[mc,Ua,wd,qt,rn,rg]},_c={findFiberByHostInstance:Us,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Z4={bundleType:_c.bundleType,version:_c.version,rendererPackageName:_c.rendererPackageName,rendererConfig:_c.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:C.ReactCurrentDispatcher,findHostInstanceByFiber:function(s){return s=ci(s),s===null?null:s.stateNode},findFiberByHostInstance:_c.findFiberByHostInstance||G4,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var af=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!af.isDisabled&&af.supportsFiber)try{Or=af.inject(Z4),$n=af}catch{}}return rr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=J4,rr.createPortal=function(s,c){var f=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!fg(c))throw Error(n(200));return K4(s,c,null,f)},rr.createRoot=function(s,c){if(!fg(s))throw Error(n(299));var f=!1,g="",v=X1;return c!=null&&(c.unstable_strictMode===!0&&(f=!0),c.identifierPrefix!==void 0&&(g=c.identifierPrefix),c.onRecoverableError!==void 0&&(v=c.onRecoverableError)),c=cg(s,1,!1,null,null,f,!1,g,v),s[bo]=c.current,hc(s.nodeType===8?s.parentNode:s),new dg(c)},rr.findDOMNode=function(s){if(s==null)return null;if(s.nodeType===1)return s;var c=s._reactInternals;if(c===void 0)throw typeof s.render=="function"?Error(n(188)):(s=Object.keys(s).join(","),Error(n(268,s)));return s=ci(c),s=s===null?null:s.stateNode,s},rr.flushSync=function(s){return Js(s)},rr.hydrate=function(s,c,f){if(!of(c))throw Error(n(200));return sf(null,s,c,!0,f)},rr.hydrateRoot=function(s,c,f){if(!fg(s))throw Error(n(405));var g=f!=null&&f.hydratedSources||null,v=!1,S="",O=X1;if(f!=null&&(f.unstable_strictMode===!0&&(v=!0),f.identifierPrefix!==void 0&&(S=f.identifierPrefix),f.onRecoverableError!==void 0&&(O=f.onRecoverableError)),c=K1(c,null,s,1,f??null,v,!1,S,O),s[bo]=c.current,hc(s),g)for(s=0;s<g.length;s++)f=g[s],v=f._getVersion,v=v(f._source),c.mutableSourceEagerHydrationData==null?c.mutableSourceEagerHydrationData=[f,v]:c.mutableSourceEagerHydrationData.push(f,v);return new rf(c)},rr.render=function(s,c,f){if(!of(c))throw Error(n(200));return sf(null,s,c,!1,f)},rr.unmountComponentAtNode=function(s){if(!of(s))throw Error(n(40));return s._reactRootContainer?(Js(function(){sf(null,null,s,!1,function(){s._reactRootContainer=null,s[bo]=null})}),!0):!1},rr.unstable_batchedUpdates=rg,rr.unstable_renderSubtreeIntoContainer=function(s,c,f,g){if(!of(f))throw Error(n(200));if(s==null||s._reactInternals===void 0)throw Error(n(38));return sf(s,c,f,!1,g)},rr.version="18.3.1-next-f1338f8080-20240426",rr}var bg;function xg(){if(bg)return uf.exports;bg=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){console.error(e)}}return t(),uf.exports=rk(),uf.exports}var wg;function ik(){if(wg)return Ic;wg=1;var t=xg();return Ic.createRoot=t.createRoot,Ic.hydrateRoot=t.hydrateRoot,Ic}var ok=ik();const sk="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20fill='%231a5b6e'%20className='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 pf({expandWidth:t=!1,homeTitle:e="ACCESS Home",homeUrl:n="https://access-ci.org/",items:r=[],topBorder:i=!1}){if(!(!r||!r.length))return E.jsxs("ul",{className:`breadcrumbs ${t?"expand":""} ${i?"top-border":""}`,children:[E.jsx("li",{className:"home",children:E.jsx("a",{href:n,title:e,children:E.jsx("img",{src:sk,alt:e,height:"14"})})},"home"),r.map(o=>E.jsx("li",{className:o.classes||"",children:o.href||o.onClick?E.jsx("a",{href:o.href,onClick:o.onClick,children:o.name}):o.name},o.name))]})}const ak=T.createContext(null),hf={didCatch:!1,error:null};class kg extends T.Component{constructor(e){super(e),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=hf}static getDerivedStateFromError(e){return{didCatch:!0,error:e}}resetErrorBoundary(...e){const{error:n}=this.state;n!==null&&(this.props.onReset?.({args:e,reason:"imperative-api"}),this.setState(hf))}componentDidCatch(e,n){this.props.onError?.(e,n)}componentDidUpdate(e,n){const{didCatch:r}=this.state,{resetKeys:i}=this.props;r&&n.error!==null&&lk(e.resetKeys,i)&&(this.props.onReset?.({next:i,prev:e.resetKeys,reason:"keys"}),this.setState(hf))}render(){const{children:e,fallbackRender:n,FallbackComponent:r,fallback:i}=this.props,{didCatch:o,error:a}=this.state;let l=e;if(o){const u={error:a,resetErrorBoundary:this.resetErrorBoundary};if(typeof n=="function")l=n(u);else if(r)l=T.createElement(r,u);else if(i!==void 0)l=i;else throw a}return T.createElement(ak.Provider,{value:{didCatch:o,error:a,resetErrorBoundary:this.resetErrorBoundary}},l)}}function lk(t=[],e=[]){return t.length!==e.length||t.some((n,r)=>!Object.is(n,e[r]))}const ck=T.lazy(()=>Promise.resolve().then(()=>SD).then(t=>({default:t.QABot})));let Sg=class extends T.Component{render(){const{welcome:e,isLoggedIn:n,open:r,onOpenChange:i,apiKey:o,embedded:a,loginUrl:l,userEmail:u,userName:d,accessId:p,resourceContext:h,onAnalyticsEvent:A,qaEndpoint:m,ratingEndpoint:b}=this.props,w=o||void 0||null;if(!w)return console.error("QA Bot: No valid API key provided"),null;const y=n!==void 0?n:document.cookie.split("; ").includes("SESSaccesscisso=1");return E.jsx(kg,{children:E.jsx(T.Suspense,{fallback:null,children:E.jsx(ck,{welcome:e,isLoggedIn:y,open:r,onOpenChange:i,embedded:a===!0,apiKey:w,loginUrl:l,userEmail:u,userName:d,accessId:p,resourceContext:h,onAnalyticsEvent:A,qaEndpoint:m,ratingEndpoint:b})})})}};const Eg=[{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/"}],Cg=[{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:Eg},{name:"Search",href:"https://support.access-ci.org/find",classes:"icon icon-search"}],Pg={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"}]},Dg={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"}]},uk=[{className:"bluesky",href:"https://bsky.app/profile/accessforci.bsky.social",name:"Bluesky"},{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"}],dk=[{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"}],fk="https://www.nsf.gov/awardsearch/show-award/",sl=({number:t})=>E.jsxs("a",{href:`${fk}?AWD_ID=${t}`,children:["#",t]}),Mc=({className:t=null,items:e})=>E.jsx("ul",{className:t,children:e.map(({className:n,name:r,href:i})=>E.jsx("li",{children:E.jsx("a",{className:n,href:i,children:r})},i))}),pk="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAABIAAAASABGyWs+AABv5klEQVR42u29d5gkVb0+/p5zKnTunp48m3NiWWDJCCJJAREJ14DoNV/1ioqo1wRmr2K46upVMcuiC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vGpssdDiuuB3AA4ySowTpkRgXfmiXDeAf11wdfhzAfADjhysFRNfVvZRpewE0C+4ik3dhO2ILgJHDcb6rPr3P/vwHmz/PhcwDMI5USfxRYFWNNWuzLoDuw+sk6BnG/Fuk5KdyYcCwuATwHA4jI/7NmyYSeJUPiqPjkOPktz4nqBLcTZkPQhBwLm1Gyd5XqyQ5KrH+HxrcNQ3TMpBIW8gVHC6EzBy9K0eB9U+P/qGB3NB44eDAaB4F0zWEkMbRu3IUWP/0GJ807x5JGE/nCg7gLdU5dvSuHB1Hx/8P4/8D9B8zcoSATacAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjItMDgtMTdUMTY6MTI6MTUtMDQ6MDBuCuvkAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTA4LTE3VDE2OjEyOjE1LTA0OjAwH1dTWAAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAAASUVORK5CYII=",hk="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",Tg=({nsfUrl:t="https://www.nsf.gov",placement:e="header",siteName:n="",siteUrl:r="/"})=>E.jsxs("div",{className:`logo logo-${e}`,children:[E.jsx("a",{className:"nsf",href:t,children:E.jsx("img",{className:"nsf-logo",src:pk,alt:"National Science Foundation"})}),E.jsx("div",{className:"divider"}),E.jsxs("a",{className:"access",href:r,children:[E.jsx("img",{className:"access-logo",src:hk,alt:"ACCESS",role:"img"}),n&&e=="header"?E.jsx("span",{className:`name name-${n.toLocaleLowerCase().replace(" ","-")}`,children:n}):null]})]}),Af=(t=900)=>document.body.clientWidth>=t?"desktop":"mobile",Bg=(t=900)=>{const[e,n]=T.useState(Af(t));return T.useEffect(()=>{window.addEventListener("resize",()=>n(Af(t)))},[]),e},_g=()=>window.pageYOffset!==void 0?window.pageYOffset:(document.documentElement||document.body.parentNode||document.body).scrollTop,Ig={},Oc={},Ak=(t,{body:e=null,cache:n=!0,corsProxy:r=!1,headers:i=void 0,method:o="GET"}={body:null,cache:!0,corsProxy:!1,headers:void 0,method:"GET"})=>{const a=`${t}|${e}`;if(n&&a in Ig)return Ig[a];if(a in Oc)return Oc[a];const l=fetch(r?`https://corsproxy.io/?${encodeURIComponent(t)}`:t,{body:e,headers:i,method:o}).then(u=>{if(delete Oc[t],u.status<200||u.status>299)return{error:{status:u.status}};try{return u.json()}catch(d){return{error:{message:d}}}});return Oc[a]=l,l},Xn=(t,{body:e=null,cache:n=!0,corsProxy:r=!1,defaultValue:i=null,headers:o=void 0,method:a="GET"}={body:null,cache:!0,corsProxy:!1,defaultValue:null,headers:void 0,method:"GET"})=>{const[l,u]=T.useState(i);let d=!1;return Array.isArray(t)||(t=t?[t]:[],d=!0),T.useEffect(()=>{t.length&&(async()=>{const p=await Promise.all(t.map(A=>Ak(A,{body:e,cache:n,corsProxy:r,headers:o,method:a}))),h=d?p[0]:p;u(h)})()},[t.join(" ")]),l},Mg=()=>{const t=Xn("https://operations-api.access-ci.org/wh2/cider/v1/access-active-groups/type/resource-catalog.access-ci.org/");return gf([t],({results:e})=>{const{active_groups:n,feature_categories:r,features:i,organizations:o,resources:a}=e,l=[{tagCategoryId:-1,name:"Resource Provider",tags:[]}],u=[-1];for(let w of r)[100,102,103].includes(w.feature_category_id)&&(l.push({tagCategoryId:w.feature_category_id,name:w.feature_category_name,tags:[]}),u.push(w.feature_category_id));l.sort((w,y)=>w.name.localeCompare(y.name));const d=i.filter(w=>u.includes(w.feature_category_id)).map(w=>({tagId:w.feature_id,name:w.feature_name,tagCategoryId:w.feature_category_id})),p={};for(let w of o)d.push({tagId:w.organization_id*-1,name:w.organization_name,tagCategoryId:-1,iconUri:w.organization_favicon_url||null}),p[w.organization_id]=w;d.sort((w,y)=>w.name.localeCompare(y.name));const h=d.map(w=>w.tagId),A=[{resourceCategoryId:1,name:"Compute & Storage Resources",resourceGroups:[],resourceGroupIds:[]},{resourceCategoryId:2,name:"Program & Other Resources",resourceGroups:[],resourceGroupIds:[]}],m=n.filter(w=>w.rollup_info_resourceids).map(w=>({infoGroupId:w.info_groupid,name:w.group_descriptive_name,description:w.group_description,infoResourceIds:w.rollup_info_resourceids,imageUri:w.group_logo_url?`https://cider.access-ci.org/public/groups/${w.group_logo_url.match(/[0-9]+/)[0]}/logo`:null,tagIds:[...w.rollup_organization_ids.map(y=>y*-1).filter(y=>h.includes(y)),...w.rollup_feature_ids.filter(y=>h.includes(y))],resourceCategoryId:w.rollup_feature_ids.includes(137)?2:1,accessAllocated:w.rollup_feature_ids.includes(139),organizations:w.rollup_organization_ids.map(y=>p[y]).filter(y=>y),resources:a.filter(y=>w.rollup_info_resourceids.includes(y.info_resourceid))})),b=m.find(w=>w.infoGroupId==="cloudbank.access-ci.org");if(b)for(const w of["Amazon Web Services","Google Cloud","IBM Cloud","Microsoft Azure"])m.push({...b,infoGroupId:`${w.toLowerCase().replaceAll(" ","-")}${b.infoGroupId}`,parentInfoGroupId:b.infoGroupId,name:w});return m.sort((w,y)=>w.name.localeCompare(y.name)),mk({resourceCategories:A,resourceGroups:m,tags:d,tagCategories:l})})},al=(t,e=null)=>{const n=Mg();return n&&n.resourceGroups.find(r=>r.infoGroupId==t)||e},gk=(t,e=[])=>{const n=Xn(`https://operations-api.access-ci.org/wh2/cider/v1/access-active/info_groupid/${t}/?format=json`);return n&&!n.error?n.results:e},gf=(t,e,n=null)=>T.useMemo(()=>{if(!t.length)return n;for(let r of t)if(!r||r.error)return n;return e.apply(null,t)},t),mk=({resourceCategories:t,resourceGroups:e,tags:n,tagCategories:r})=>{const i={};for(let l of r)l.tags=[],i[l.tagCategoryId]=l;const o={};for(let l of n)l.tagCategory=i[l.tagCategoryId],l.tagCategory.tags.push(l),l.resources=[],o[l.tagId]=l;const a={};for(let l of t)l.resourceGroups=[],a[l.resourceCategoryId]=l;for(let l of e)l.resourceCategory=a[l.resourceCategoryId],l.resourceCategory.resourceGroups.push(l),l.tags=l.tagIds.map(u=>o[u]);return{resourceCategories:t,resourceGroups:e,tags:n,tagCategories:r}},vk=({resourceGroups:t,tags:e,tagCategories:n},r)=>{const i=new Set,o=new Set,a=new Set,l=new Set(r);for(let p of e)l.has(p.tagId)&&a.add(p.tagCategoryId);const u=n.filter(({tagCategoryId:p})=>a.has(p)),d=new Set(e.filter(p=>!a.has(p.tagCategoryId)).map(p=>p.tagId));for(let p of t){let h=!0;for(let A of u){let m=!1;for(let b of A.tags)if(l.has(b.tagId)&&p.tags.includes(b)){m=!0;break}if(!m){h=!1;break}}if(h){o.add(p.infoGroupId),i.add(p.resourceCategoryId);for(let A of p.tagIds)d.delete(A)}}return{disabledTagIds:d,resourceCategoryIds:i,infoGroupIds:o,tagCategoryIds:a,tagIds:l}},Og=t=>{let e=t.match(/href="([^"]+)"/);return e?e[1]:null},mf=t=>t.replace(/(<[^>]+>)/g,"").replace(/ /g," "),vf=t=>{const e=[];for(let n of t.split(/(\<\/p\>)|[\n\r]+/g)){if(!n)continue;const r=Array.from(n.matchAll(/<a([^>]+)>([^<]+)<\/a>/g)),i=n.split(/<a[^<]+<\/a>/g),o=[];for(;i.length>0;){o.push(mf(i.shift()));let a=r.shift();if(a){let l=Og(a[1]);l&&o.push(E.jsx("a",{href:l,children:a[2]}))}}e.push(E.jsx("p",{children:o},n))}return e},yk=({showAfterScroll:t=300})=>{const[e,n]=T.useState(!1);return T.useEffect(()=>{window.addEventListener("scroll",()=>n(_g()>=t))},[]),E.jsx("button",{className:`scroll-to-top ${e?"visible":""}`,title:"Return to Top",onClick:()=>window.scrollTo({top:0,behavior:"smooth"}),children:"Return to Top"})},bk=(t={})=>E.jsxs(E.Fragment,{children:[E.jsxs("div",{className:"container",children:[E.jsxs("div",{className:"upper",children:[E.jsxs("div",{className:"about",children:[E.jsxs("p",{className:"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"," ",E.jsx(sl,{number:2138259}),", ",E.jsx(sl,{number:2138286}),","," ",E.jsx(sl,{number:2138307}),", ",E.jsx(sl,{number:2137603})," and"," ",E.jsx(sl,{number:2138296}),"."]}),E.jsx("p",{className:"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."}),E.jsx("a",{className:"contact",href:"https://access-ci.org/contact/",children:"Contact ACCESS"}),E.jsx(Mc,{className:"social",items:uk})]}),E.jsxs("div",{className:"personas",children:[E.jsx("p",{children:"For:"}),E.jsx(Mc,{items:Eg})]})]}),E.jsxs("div",{className:"lower",children:[E.jsx(Tg,{siteName:"ACCESS",siteUrl:"https://access-ci.org",placement:"footer"}),E.jsx(Mc,{className:"links",items:dk})]})]}),E.jsx(yk,{...t})]}),xk=(t={})=>E.jsx("div",{className:"container",children:E.jsx(Tg,{...t})}),Rg=({autoOpenMode:t,classes:e="",href:n="",html:r="",items:i,mode:o,name:a,onClick:l,open:u,parentId:d="root",setOpen:p})=>{const h=T.useId(),A=u[d]==h,m=A||t==o,b=()=>p({...u,[d]:A?null:h});if(r)return E.jsx("div",{dangerouslySetInnerHTML:{__html:r}});if(n||l)return E.jsx("a",{href:n||"#",onClick:l,className:`item ${e||""}`,children:a});if(i)return E.jsxs(E.Fragment,{children:[a&&E.jsx("button",{"aria-expanded":m,"aria-controls":h,className:`item ${m?"expanded":"collapsed"}`,onClick:b,children:a}),E.jsx("ul",{className:e,id:h,hidden:!m,"aria-hidden":!m,children:i.map(({autoOpenMode:w,classes:y,href:P,html:M,items:D,name:C,onClick:j})=>E.jsx("li",{className:y||"",children:E.jsx(Rg,{autoOpenMode:w,href:P,html:M,items:D,mode:o,name:C,onClick:j,open:u,parentId:h,setOpen:p})},C||M))})]})},Lg=({classes:t,items:e,name:n})=>{const r=T.useRef(null),i=Bg(1280),[o,a]=T.useState({});T.useEffect(()=>{r.current&&(document.body.addEventListener("click",u=>{const d=r.current.getRootNode()?.host;u.target!==d&&Af()=="desktop"&&a({})}),r.current.addEventListener("keydown",({key:u})=>{u=="Escape"&&a({})}))},[]);const l=t?.includes("universal")?"ACCESS universal navigation":t?.includes("site")?`${n}`:n;return E.jsx("nav",{className:`menu ${t||""}`,"aria-label":l,ref:r,children:E.jsx(Rg,{autoOpenMode:"desktop",items:e,mode:i,name:n,open:o,setOpen:a})})},wk=({items:t,siteName:e=""})=>{const n=Bg(768),r=t.map(({name:i,href:o,items:a,onClick:l})=>{if(n=="mobile")for(;!o;)o=a[0].href,a=a[0];return o||l?E.jsx("div",{className:"column",children:E.jsx("h3",{children:E.jsx("a",{href:o,onClick:l,children:i})})},i):E.jsxs("div",{className:"column",children:[E.jsx("h3",{children:i}),E.jsx(Mc,{items:a})]},i)});return E.jsxs("nav",{className:"footer",children:[E.jsxs("h2",{children:["ACCESS ",e]}),E.jsx("div",{className:"columns",children:r})]})},kk=({items:t,isLoggedIn:e,loginUrl:n,logoutUrl:r,siteName:i})=>{if(e===void 0&&(e=document.cookie.split("; ").includes("SESSaccesscisso=1")),t===void 0){const o={...e?Pg:Dg};o.items=o.items.map(l=>({...l,href:l.name=="Login"&&n||l.name=="Log out"&&r||l.href})),t=[...Cg,o];let a=t.find(l=>(l.href||"").replace(/\/$/,"")==document.location.href.replace(/\/$/,""));i&&!a&&(a=t.find(l=>l.name==i)),a&&(a.classes+=" active")}return E.jsx(Lg,{classes:"universal",items:t,name:"ACCESS Menu"})},Sk=({items:t,siteName:e})=>E.jsx(Lg,{classes:"site",items:t,name:`${e} Menu`});var Ng="popstate";function Fg(t){return typeof t=="object"&&t!=null&&"pathname"in t&&"search"in t&&"hash"in t&&"state"in t&&"key"in t}function Ek(t={}){function e(r,i){let o=i.state?.masked,{pathname:a,search:l,hash:u}=o||r.location;return yf("",{pathname:a,search:l,hash:u},i.state&&i.state.usr||null,i.state&&i.state.key||"default",o?{pathname:r.location.pathname,search:r.location.search,hash:r.location.hash}:void 0)}function n(r,i){return typeof i=="string"?i:ll(i)}return Pk(e,n,null,t)}function Gt(t,e){if(t===!1||t===null||typeof t>"u")throw new Error(e)}function xi(t,e){if(!t){typeof console<"u"&&console.warn(e);try{throw new Error(e)}catch{}}}function Ck(){return Math.random().toString(36).substring(2,10)}function jg(t,e){return{usr:t.state,key:t.key,idx:e,masked:t.unstable_mask?{pathname:t.pathname,search:t.search,hash:t.hash}:void 0}}function yf(t,e,n=null,r,i){return{pathname:typeof t=="string"?t:t.pathname,search:"",hash:"",...typeof e=="string"?ta(e):e,state:n,key:e&&e.key||r||Ck(),unstable_mask:i}}function ll({pathname:t="/",search:e="",hash:n=""}){return e&&e!=="?"&&(t+=e.charAt(0)==="?"?e:"?"+e),n&&n!=="#"&&(t+=n.charAt(0)==="#"?n:"#"+n),t}function ta(t){let e={};if(t){let n=t.indexOf("#");n>=0&&(e.hash=t.substring(n),t=t.substring(0,n));let r=t.indexOf("?");r>=0&&(e.search=t.substring(r),t=t.substring(0,r)),t&&(e.pathname=t)}return e}function Pk(t,e,n,r={}){let{window:i=document.defaultView,v5Compat:o=!1}=r,a=i.history,l="POP",u=null,d=p();d==null&&(d=0,a.replaceState({...a.state,idx:d},""));function p(){return(a.state||{idx:null}).idx}function h(){l="POP";let y=p(),P=y==null?null:y-d;d=y,u&&u({action:l,location:w.location,delta:P})}function A(y,P){l="PUSH";let M=Fg(y)?y:yf(w.location,y,P);d=p()+1;let D=jg(M,d),C=w.createHref(M.unstable_mask||M);try{a.pushState(D,"",C)}catch(j){if(j instanceof DOMException&&j.name==="DataCloneError")throw j;i.location.assign(C)}o&&u&&u({action:l,location:w.location,delta:1})}function m(y,P){l="REPLACE";let M=Fg(y)?y:yf(w.location,y,P);d=p();let D=jg(M,d),C=w.createHref(M.unstable_mask||M);a.replaceState(D,"",C),o&&u&&u({action:l,location:w.location,delta:0})}function b(y){return Dk(y)}let w={get action(){return l},get location(){return t(i,a)},listen(y){if(u)throw new Error("A history only accepts one active listener");return i.addEventListener(Ng,h),u=y,()=>{i.removeEventListener(Ng,h),u=null}},createHref(y){return e(i,y)},createURL:b,encodeLocation(y){let P=b(y);return{pathname:P.pathname,search:P.search,hash:P.hash}},push:A,replace:m,go(y){return a.go(y)}};return w}function Dk(t,e=!1){let n="http://localhost";typeof window<"u"&&(n=window.location.origin!=="null"?window.location.origin:window.location.href),Gt(n,"No window.location.(origin|href) available to create URL");let r=typeof t=="string"?t:ll(t);return r=r.replace(/ $/,"%20"),!e&&r.startsWith("//")&&(r=n+r),new URL(r,n)}function zg(t,e,n="/"){return Tk(t,e,n,!1)}function Tk(t,e,n,r){let i=typeof e=="string"?ta(e):e,o=to(i.pathname||"/",n);if(o==null)return null;let a=Qg(t);Bk(a);let l=null;for(let u=0;l==null&&u<a.length;++u){let d=Qk(o);l=jk(a[u],d,r)}return l}function Qg(t,e=[],n=[],r="",i=!1){let o=(a,l,u=i,d)=>{let p={relativePath:d===void 0?a.path||"":d,caseSensitive:a.caseSensitive===!0,childrenIndex:l,route:a};if(p.relativePath.startsWith("/")){if(!p.relativePath.startsWith(r)&&u)return;Gt(p.relativePath.startsWith(r),`Absolute route path "${p.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),p.relativePath=p.relativePath.slice(r.length)}let h=wi([r,p.relativePath]),A=n.concat(p);a.children&&a.children.length>0&&(Gt(a.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${h}".`),Qg(a.children,e,A,h,u)),!(a.path==null&&!a.index)&&e.push({path:h,score:Nk(h,a.index),routesMeta:A})};return t.forEach((a,l)=>{if(a.path===""||!a.path?.includes("?"))o(a,l);else for(let u of Hg(a.path))o(a,l,!0,u)}),e}function Hg(t){let e=t.split("/");if(e.length===0)return[];let[n,...r]=e,i=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return i?[o,""]:[o];let a=Hg(r.join("/")),l=[];return l.push(...a.map(u=>u===""?o:[o,u].join("/"))),i&&l.push(...a),l.map(u=>t.startsWith("/")&&u===""?"/":u)}function Bk(t){t.sort((e,n)=>e.score!==n.score?n.score-e.score:Fk(e.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}var _k=/^:[\w-]+$/,Ik=3,Mk=2,Ok=1,Rk=10,Lk=-2,Ug=t=>t==="*";function Nk(t,e){let n=t.split("/"),r=n.length;return n.some(Ug)&&(r+=Lk),e&&(r+=Mk),n.filter(i=>!Ug(i)).reduce((i,o)=>i+(_k.test(o)?Ik:o===""?Ok:Rk),r)}function Fk(t,e){return t.length===e.length&&t.slice(0,-1).every((r,i)=>r===e[i])?t[t.length-1]-e[e.length-1]:0}function jk(t,e,n=!1){let{routesMeta:r}=t,i={},o="/",a=[];for(let l=0;l<r.length;++l){let u=r[l],d=l===r.length-1,p=o==="/"?e:e.slice(o.length)||"/",h=Rc({path:u.relativePath,caseSensitive:u.caseSensitive,end:d},p),A=u.route;if(!h&&d&&n&&!r[r.length-1].route.index&&(h=Rc({path:u.relativePath,caseSensitive:u.caseSensitive,end:!1},p)),!h)return null;Object.assign(i,h.params),a.push({params:i,pathname:wi([o,h.pathname]),pathnameBase:Wk(wi([o,h.pathnameBase])),route:A}),h.pathnameBase!=="/"&&(o=wi([o,h.pathnameBase]))}return a}function Rc(t,e){typeof t=="string"&&(t={path:t,caseSensitive:!1,end:!0});let[n,r]=zk(t.path,t.caseSensitive,t.end),i=e.match(n);if(!i)return null;let o=i[0],a=o.replace(/(.)\/+$/,"$1"),l=i.slice(1);return{params:r.reduce((d,{paramName:p,isOptional:h},A)=>{if(p==="*"){let b=l[A]||"";a=o.slice(0,o.length-b.length).replace(/(.)\/+$/,"$1")}const m=l[A];return h&&!m?d[p]=void 0:d[p]=(m||"").replace(/%2F/g,"/"),d},{}),pathname:o,pathnameBase:a,pattern:t}}function zk(t,e=!1,n=!0){xi(t==="*"||!t.endsWith("*")||t.endsWith("/*"),`Route path "${t}" will be treated as if it were "${t.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${t.replace(/\*$/,"/*")}".`);let r=[],i="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(a,l,u,d,p)=>{if(r.push({paramName:l,isOptional:u!=null}),u){let h=p.charAt(d+a.length);return h&&h!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return t.endsWith("*")?(r.push({paramName:"*"}),i+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":t!==""&&t!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,e?void 0:"i"),r]}function Qk(t){try{return t.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(e){return xi(!1,`The URL path "${t}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${e}).`),t}}function to(t,e){if(e==="/")return t;if(!t.toLowerCase().startsWith(e.toLowerCase()))return null;let n=e.endsWith("/")?e.length-1:e.length,r=t.charAt(n);return r&&r!=="/"?null:t.slice(n)||"/"}var Hk=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function Uk(t,e="/"){let{pathname:n,search:r="",hash:i=""}=typeof t=="string"?ta(t):t,o;return n?(n=n.replace(/\/\/+/g,"/"),n.startsWith("/")?o=Vg(n.substring(1),"/"):o=Vg(n,e)):o=e,{pathname:o,search:Yk(r),hash:qk(i)}}function Vg(t,e){let n=e.replace(/\/+$/,"").split("/");return t.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function bf(t,e,n,r){return`Cannot include a '${t}' character in a manually specified \`to.${e}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function Vk(t){return t.filter((e,n)=>n===0||e.route.path&&e.route.path.length>0)}function Wg(t){let e=Vk(t);return e.map((n,r)=>r===e.length-1?n.pathname:n.pathnameBase)}function xf(t,e,n,r=!1){let i;typeof t=="string"?i=ta(t):(i={...t},Gt(!i.pathname||!i.pathname.includes("?"),bf("?","pathname","search",i)),Gt(!i.pathname||!i.pathname.includes("#"),bf("#","pathname","hash",i)),Gt(!i.search||!i.search.includes("#"),bf("#","search","hash",i)));let o=t===""||i.pathname==="",a=o?"/":i.pathname,l;if(a==null)l=n;else{let h=e.length-1;if(!r&&a.startsWith("..")){let A=a.split("/");for(;A[0]==="..";)A.shift(),h-=1;i.pathname=A.join("/")}l=h>=0?e[h]:"/"}let u=Uk(i,l),d=a&&a!=="/"&&a.endsWith("/"),p=(o||a===".")&&n.endsWith("/");return!u.pathname.endsWith("/")&&(d||p)&&(u.pathname+="/"),u}var wi=t=>t.join("/").replace(/\/\/+/g,"/"),Wk=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),Yk=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,qk=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t,Kk=class{constructor(t,e,n,r=!1){this.status=t,this.statusText=e||"",this.internal=r,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function Gk(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}function Xk(t){return t.map(e=>e.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var Yg=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function qg(t,e){let n=t;if(typeof n!="string"||!Hk.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let r=n,i=!1;if(Yg)try{let o=new URL(window.location.href),a=n.startsWith("//")?new URL(o.protocol+n):new URL(n),l=to(a.pathname,e);a.origin===o.origin&&l!=null?n=l+a.search+a.hash:i=!0}catch{xi(!1,`<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:r,isExternal:i,to:n}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var Kg=["POST","PUT","PATCH","DELETE"];new Set(Kg);var Jk=["GET",...Kg];new Set(Jk);var na=T.createContext(null);na.displayName="DataRouter";var Lc=T.createContext(null);Lc.displayName="DataRouterState";var Zk=T.createContext(!1),Gg=T.createContext({isTransitioning:!1});Gg.displayName="ViewTransition";var $k=T.createContext(new Map);$k.displayName="Fetchers";var e2=T.createContext(null);e2.displayName="Await";var zr=T.createContext(null);zr.displayName="Navigation";var cl=T.createContext(null);cl.displayName="Location";var ki=T.createContext({outlet:null,matches:[],isDataRoute:!1});ki.displayName="Route";var wf=T.createContext(null);wf.displayName="RouteError";var Xg="REACT_ROUTER_ERROR",t2="REDIRECT",n2="ROUTE_ERROR_RESPONSE";function r2(t){if(t.startsWith(`${Xg}:${t2}:{`))try{let e=JSON.parse(t.slice(28));if(typeof e=="object"&&e&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.location=="string"&&typeof e.reloadDocument=="boolean"&&typeof e.replace=="boolean")return e}catch{}}function i2(t){if(t.startsWith(`${Xg}:${n2}:{`))try{let e=JSON.parse(t.slice(40));if(typeof e=="object"&&e&&typeof e.status=="number"&&typeof e.statusText=="string")return new Kk(e.status,e.statusText,e.data)}catch{}}function o2(t,{relative:e}={}){Gt(ul(),"useHref() may be used only in the context of a <Router> component.");let{basename:n,navigator:r}=T.useContext(zr),{hash:i,pathname:o,search:a}=dl(t,{relative:e}),l=o;return n!=="/"&&(l=o==="/"?n:wi([n,o])),r.createHref({pathname:l,search:a,hash:i})}function ul(){return T.useContext(cl)!=null}function Do(){return Gt(ul(),"useLocation() may be used only in the context of a <Router> component."),T.useContext(cl).location}var Jg="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Zg(t){T.useContext(zr).static||T.useLayoutEffect(t)}function s2(){let{isDataRoute:t}=T.useContext(ki);return t?b2():a2()}function a2(){Gt(ul(),"useNavigate() may be used only in the context of a <Router> component.");let t=T.useContext(na),{basename:e,navigator:n}=T.useContext(zr),{matches:r}=T.useContext(ki),{pathname:i}=Do(),o=JSON.stringify(Wg(r)),a=T.useRef(!1);return Zg(()=>{a.current=!0}),T.useCallback((u,d={})=>{if(xi(a.current,Jg),!a.current)return;if(typeof u=="number"){n.go(u);return}let p=xf(u,JSON.parse(o),i,d.relative==="path");t==null&&e!=="/"&&(p.pathname=p.pathname==="/"?e:wi([e,p.pathname])),(d.replace?n.replace:n.push)(p,d.state,d)},[e,n,o,i,t])}T.createContext(null);function l2(){let{matches:t}=T.useContext(ki),e=t[t.length-1];return e?e.params:{}}function dl(t,{relative:e}={}){let{matches:n}=T.useContext(ki),{pathname:r}=Do(),i=JSON.stringify(Wg(n));return T.useMemo(()=>xf(t,JSON.parse(i),r,e==="path"),[t,i,r,e])}function c2(t,e){return $g(t,e)}function $g(t,e,n){Gt(ul(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:r}=T.useContext(zr),{matches:i}=T.useContext(ki),o=i[i.length-1],a=o?o.params:{},l=o?o.pathname:"/",u=o?o.pathnameBase:"/",d=o&&o.route;{let y=d&&d.path||"";nm(l,!d||y.endsWith("*")||y.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${l}" (under <Route path="${y}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
|
|
8
|
+
`+S.stack}return{value:s,source:c,stack:v,digest:null}}function NA(s,c,f){return{value:s,source:null,stack:f??null,digest:c??null}}function FA(s,c){try{console.error(c.value)}catch(f){setTimeout(function(){throw f})}}var D4=typeof WeakMap=="function"?WeakMap:Map;function a1(s,c,f){f=Eo(-1,f),f.tag=3,f.payload={element:null};var g=c.value;return f.callback=function(){qd||(qd=!0,$A=g),FA(s,c)},f}function l1(s,c,f){f=Eo(-1,f),f.tag=3;var g=s.type.getDerivedStateFromError;if(typeof g=="function"){var v=c.value;f.payload=function(){return g(v)},f.callback=function(){FA(s,c)}}var S=s.stateNode;return S!==null&&typeof S.componentDidCatch=="function"&&(f.callback=function(){FA(s,c),typeof g!="function"&&(ss===null?ss=new Set([this]):ss.add(this));var O=c.stack;this.componentDidCatch(c.value,{componentStack:O!==null?O:""})}),f}function c1(s,c,f){var g=s.pingCache;if(g===null){g=s.pingCache=new D4;var v=new Set;g.set(c,v)}else v=g.get(c),v===void 0&&(v=new Set,g.set(c,v));v.has(f)||(v.add(f),s=H4.bind(null,s,c,f),c.then(s,s))}function u1(s){do{var c;if((c=s.tag===13)&&(c=s.memoizedState,c=c!==null?c.dehydrated!==null:!0),c)return s;s=s.return}while(s!==null);return null}function d1(s,c,f,g,v){return(s.mode&1)===0?(s===c?s.flags|=65536:(s.flags|=128,f.flags|=131072,f.flags&=-52805,f.tag===1&&(f.alternate===null?f.tag=17:(c=Eo(-1,1),c.tag=2,is(f,c,1))),f.lanes|=1),s):(s.flags|=65536,s.lanes=v,s)}var T4=C.ReactCurrentOwner,br=!1;function tr(s,c,f,g){c.child=s===null?_w(c,null,f,g):Ga(c,s.child,f,g)}function f1(s,c,f,g,v){f=f.render;var S=c.ref;return Ja(c,v),g=TA(s,c,f,g,S,v),f=BA(),s!==null&&!br?(c.updateQueue=s.updateQueue,c.flags&=-2053,s.lanes&=~v,Co(s,c,v)):(Kt&&f&&fA(c),c.flags|=1,tr(s,c,g,v),c.child)}function p1(s,c,f,g,v){if(s===null){var S=f.type;return typeof S=="function"&&!sg(S)&&S.defaultProps===void 0&&f.compare===null&&f.defaultProps===void 0?(c.tag=15,c.type=S,h1(s,c,S,g,v)):(s=$d(f.type,null,g,c,c.mode,v),s.ref=c.ref,s.return=c,c.child=s)}if(S=s.child,(s.lanes&v)===0){var O=S.memoizedProps;if(f=f.compare,f=f!==null?f:dc,f(O,g)&&s.ref===c.ref)return Co(s,c,v)}return c.flags|=1,s=us(S,g),s.ref=c.ref,s.return=c,c.child=s}function h1(s,c,f,g,v){if(s!==null){var S=s.memoizedProps;if(dc(S,g)&&s.ref===c.ref)if(br=!1,c.pendingProps=g=S,(s.lanes&v)!==0)(s.flags&131072)!==0&&(br=!0);else return c.lanes=s.lanes,Co(s,c,v)}return jA(s,c,f,g,v)}function A1(s,c,f){var g=c.pendingProps,v=g.children,S=s!==null?s.memoizedState:null;if(g.mode==="hidden")if((c.mode&1)===0)c.memoizedState={baseLanes:0,cachePool:null,transitions:null},Qt(tl,jr),jr|=f;else{if((f&1073741824)===0)return s=S!==null?S.baseLanes|f:f,c.lanes=c.childLanes=1073741824,c.memoizedState={baseLanes:s,cachePool:null,transitions:null},c.updateQueue=null,Qt(tl,jr),jr|=s,null;c.memoizedState={baseLanes:0,cachePool:null,transitions:null},g=S!==null?S.baseLanes:f,Qt(tl,jr),jr|=g}else S!==null?(g=S.baseLanes|f,c.memoizedState=null):g=f,Qt(tl,jr),jr|=g;return tr(s,c,v,f),c.child}function g1(s,c){var f=c.ref;(s===null&&f!==null||s!==null&&s.ref!==f)&&(c.flags|=512,c.flags|=2097152)}function jA(s,c,f,g,v){var S=yr(f)?Vs:Yn.current;return S=Wa(c,S),Ja(c,v),f=TA(s,c,f,g,S,v),g=BA(),s!==null&&!br?(c.updateQueue=s.updateQueue,c.flags&=-2053,s.lanes&=~v,Co(s,c,v)):(Kt&&g&&fA(c),c.flags|=1,tr(s,c,f,v),c.child)}function m1(s,c,f,g,v){if(yr(f)){var S=!0;Sd(c)}else S=!1;if(Ja(c,v),c.stateNode===null)Hd(s,c),o1(c,f,g),LA(c,f,g,v),g=!0;else if(s===null){var O=c.stateNode,U=c.memoizedProps;O.props=U;var Y=O.context,ce=f.contextType;typeof ce=="object"&&ce!==null?ce=ti(ce):(ce=yr(f)?Vs:Yn.current,ce=Wa(c,ce));var be=f.getDerivedStateFromProps,xe=typeof be=="function"||typeof O.getSnapshotBeforeUpdate=="function";xe||typeof O.UNSAFE_componentWillReceiveProps!="function"&&typeof O.componentWillReceiveProps!="function"||(U!==g||Y!==ce)&&s1(c,O,g,ce),rs=!1;var ye=c.memoizedState;O.state=ye,Md(c,g,O,v),Y=c.memoizedState,U!==g||ye!==Y||vr.current||rs?(typeof be=="function"&&(RA(c,f,be,g),Y=c.memoizedState),(U=rs||i1(c,f,U,g,ye,Y,ce))?(xe||typeof O.UNSAFE_componentWillMount!="function"&&typeof O.componentWillMount!="function"||(typeof O.componentWillMount=="function"&&O.componentWillMount(),typeof O.UNSAFE_componentWillMount=="function"&&O.UNSAFE_componentWillMount()),typeof O.componentDidMount=="function"&&(c.flags|=4194308)):(typeof O.componentDidMount=="function"&&(c.flags|=4194308),c.memoizedProps=g,c.memoizedState=Y),O.props=g,O.state=Y,O.context=ce,g=U):(typeof O.componentDidMount=="function"&&(c.flags|=4194308),g=!1)}else{O=c.stateNode,Mw(s,c),U=c.memoizedProps,ce=c.type===c.elementType?U:mi(c.type,U),O.props=ce,xe=c.pendingProps,ye=O.context,Y=f.contextType,typeof Y=="object"&&Y!==null?Y=ti(Y):(Y=yr(f)?Vs:Yn.current,Y=Wa(c,Y));var Re=f.getDerivedStateFromProps;(be=typeof Re=="function"||typeof O.getSnapshotBeforeUpdate=="function")||typeof O.UNSAFE_componentWillReceiveProps!="function"&&typeof O.componentWillReceiveProps!="function"||(U!==xe||ye!==Y)&&s1(c,O,g,Y),rs=!1,ye=c.memoizedState,O.state=ye,Md(c,g,O,v);var Qe=c.memoizedState;U!==xe||ye!==Qe||vr.current||rs?(typeof Re=="function"&&(RA(c,f,Re,g),Qe=c.memoizedState),(ce=rs||i1(c,f,ce,g,ye,Qe,Y)||!1)?(be||typeof O.UNSAFE_componentWillUpdate!="function"&&typeof O.componentWillUpdate!="function"||(typeof O.componentWillUpdate=="function"&&O.componentWillUpdate(g,Qe,Y),typeof O.UNSAFE_componentWillUpdate=="function"&&O.UNSAFE_componentWillUpdate(g,Qe,Y)),typeof O.componentDidUpdate=="function"&&(c.flags|=4),typeof O.getSnapshotBeforeUpdate=="function"&&(c.flags|=1024)):(typeof O.componentDidUpdate!="function"||U===s.memoizedProps&&ye===s.memoizedState||(c.flags|=4),typeof O.getSnapshotBeforeUpdate!="function"||U===s.memoizedProps&&ye===s.memoizedState||(c.flags|=1024),c.memoizedProps=g,c.memoizedState=Qe),O.props=g,O.state=Qe,O.context=Y,g=ce):(typeof O.componentDidUpdate!="function"||U===s.memoizedProps&&ye===s.memoizedState||(c.flags|=4),typeof O.getSnapshotBeforeUpdate!="function"||U===s.memoizedProps&&ye===s.memoizedState||(c.flags|=1024),g=!1)}return zA(s,c,f,g,S,v)}function zA(s,c,f,g,v,S){g1(s,c);var O=(c.flags&128)!==0;if(!g&&!O)return v&&ww(c,f,!1),Co(s,c,S);g=c.stateNode,T4.current=c;var U=O&&typeof f.getDerivedStateFromError!="function"?null:g.render();return c.flags|=1,s!==null&&O?(c.child=Ga(c,s.child,null,S),c.child=Ga(c,null,U,S)):tr(s,c,U,S),c.memoizedState=g.state,v&&ww(c,f,!0),c.child}function v1(s){var c=s.stateNode;c.pendingContext?bw(s,c.pendingContext,c.pendingContext!==c.context):c.context&&bw(s,c.context,!1),kA(s,c.containerInfo)}function y1(s,c,f,g,v){return Ka(),gA(v),c.flags|=256,tr(s,c,f,g),c.child}var QA={dehydrated:null,treeContext:null,retryLane:0};function HA(s){return{baseLanes:s,cachePool:null,transitions:null}}function b1(s,c,f){var g=c.pendingProps,v=$t.current,S=!1,O=(c.flags&128)!==0,U;if((U=O)||(U=s!==null&&s.memoizedState===null?!1:(v&2)!==0),U?(S=!0,c.flags&=-129):(s===null||s.memoizedState!==null)&&(v|=1),Qt($t,v&1),s===null)return AA(c),s=c.memoizedState,s!==null&&(s=s.dehydrated,s!==null)?((c.mode&1)===0?c.lanes=1:s.data==="$!"?c.lanes=8:c.lanes=1073741824,null):(O=g.children,s=g.fallback,S?(g=c.mode,S=c.child,O={mode:"hidden",children:O},(g&1)===0&&S!==null?(S.childLanes=0,S.pendingProps=O):S=ef(O,g,0,null),s=ea(s,g,f,null),S.return=c,s.return=c,S.sibling=s,c.child=S,c.child.memoizedState=HA(f),c.memoizedState=QA,s):UA(c,O));if(v=s.memoizedState,v!==null&&(U=v.dehydrated,U!==null))return B4(s,c,O,g,U,v,f);if(S){S=g.fallback,O=c.mode,v=s.child,U=v.sibling;var Y={mode:"hidden",children:g.children};return(O&1)===0&&c.child!==v?(g=c.child,g.childLanes=0,g.pendingProps=Y,c.deletions=null):(g=us(v,Y),g.subtreeFlags=v.subtreeFlags&14680064),U!==null?S=us(U,S):(S=ea(S,O,f,null),S.flags|=2),S.return=c,g.return=c,g.sibling=S,c.child=g,g=S,S=c.child,O=s.child.memoizedState,O=O===null?HA(f):{baseLanes:O.baseLanes|f,cachePool:null,transitions:O.transitions},S.memoizedState=O,S.childLanes=s.childLanes&~f,c.memoizedState=QA,g}return S=s.child,s=S.sibling,g=us(S,{mode:"visible",children:g.children}),(c.mode&1)===0&&(g.lanes=f),g.return=c,g.sibling=null,s!==null&&(f=c.deletions,f===null?(c.deletions=[s],c.flags|=16):f.push(s)),c.child=g,c.memoizedState=null,g}function UA(s,c){return c=ef({mode:"visible",children:c},s.mode,0,null),c.return=s,s.child=c}function Qd(s,c,f,g){return g!==null&&gA(g),Ga(c,s.child,null,f),s=UA(c,c.pendingProps.children),s.flags|=2,c.memoizedState=null,s}function B4(s,c,f,g,v,S,O){if(f)return c.flags&256?(c.flags&=-257,g=NA(Error(n(422))),Qd(s,c,O,g)):c.memoizedState!==null?(c.child=s.child,c.flags|=128,null):(S=g.fallback,v=c.mode,g=ef({mode:"visible",children:g.children},v,0,null),S=ea(S,v,O,null),S.flags|=2,g.return=c,S.return=c,g.sibling=S,c.child=g,(c.mode&1)!==0&&Ga(c,s.child,null,O),c.child.memoizedState=HA(O),c.memoizedState=QA,S);if((c.mode&1)===0)return Qd(s,c,O,null);if(v.data==="$!"){if(g=v.nextSibling&&v.nextSibling.dataset,g)var U=g.dgst;return g=U,S=Error(n(419)),g=NA(S,g,void 0),Qd(s,c,O,g)}if(U=(O&s.childLanes)!==0,br||U){if(g=Pn,g!==null){switch(O&-O){case 4:v=2;break;case 16:v=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:v=32;break;case 536870912:v=268435456;break;default:v=0}v=(v&(g.suspendedLanes|O))!==0?0:v,v!==0&&v!==S.retryLane&&(S.retryLane=v,So(s,v),bi(g,s,v,-1))}return og(),g=NA(Error(n(421))),Qd(s,c,O,g)}return v.data==="$?"?(c.flags|=128,c.child=s.child,c=U4.bind(null,s),v._reactRetry=c,null):(s=S.treeContext,Fr=$o(v.nextSibling),Nr=c,Kt=!0,gi=null,s!==null&&($r[ei++]=wo,$r[ei++]=ko,$r[ei++]=Ws,wo=s.id,ko=s.overflow,Ws=c),c=UA(c,g.children),c.flags|=4096,c)}function x1(s,c,f){s.lanes|=c;var g=s.alternate;g!==null&&(g.lanes|=c),bA(s.return,c,f)}function VA(s,c,f,g,v){var S=s.memoizedState;S===null?s.memoizedState={isBackwards:c,rendering:null,renderingStartTime:0,last:g,tail:f,tailMode:v}:(S.isBackwards=c,S.rendering=null,S.renderingStartTime=0,S.last=g,S.tail=f,S.tailMode=v)}function w1(s,c,f){var g=c.pendingProps,v=g.revealOrder,S=g.tail;if(tr(s,c,g.children,f),g=$t.current,(g&2)!==0)g=g&1|2,c.flags|=128;else{if(s!==null&&(s.flags&128)!==0)e:for(s=c.child;s!==null;){if(s.tag===13)s.memoizedState!==null&&x1(s,f,c);else if(s.tag===19)x1(s,f,c);else if(s.child!==null){s.child.return=s,s=s.child;continue}if(s===c)break e;for(;s.sibling===null;){if(s.return===null||s.return===c)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}g&=1}if(Qt($t,g),(c.mode&1)===0)c.memoizedState=null;else switch(v){case"forwards":for(f=c.child,v=null;f!==null;)s=f.alternate,s!==null&&Od(s)===null&&(v=f),f=f.sibling;f=v,f===null?(v=c.child,c.child=null):(v=f.sibling,f.sibling=null),VA(c,!1,v,f,S);break;case"backwards":for(f=null,v=c.child,c.child=null;v!==null;){if(s=v.alternate,s!==null&&Od(s)===null){c.child=v;break}s=v.sibling,v.sibling=f,f=v,v=s}VA(c,!0,f,null,S);break;case"together":VA(c,!1,null,null,void 0);break;default:c.memoizedState=null}return c.child}function Hd(s,c){(c.mode&1)===0&&s!==null&&(s.alternate=null,c.alternate=null,c.flags|=2)}function Co(s,c,f){if(s!==null&&(c.dependencies=s.dependencies),Xs|=c.lanes,(f&c.childLanes)===0)return null;if(s!==null&&c.child!==s.child)throw Error(n(153));if(c.child!==null){for(s=c.child,f=us(s,s.pendingProps),c.child=f,f.return=c;s.sibling!==null;)s=s.sibling,f=f.sibling=us(s,s.pendingProps),f.return=c;f.sibling=null}return c.child}function _4(s,c,f){switch(c.tag){case 3:v1(c),Ka();break;case 5:Lw(c);break;case 1:yr(c.type)&&Sd(c);break;case 4:kA(c,c.stateNode.containerInfo);break;case 10:var g=c.type._context,v=c.memoizedProps.value;Qt(Bd,g._currentValue),g._currentValue=v;break;case 13:if(g=c.memoizedState,g!==null)return g.dehydrated!==null?(Qt($t,$t.current&1),c.flags|=128,null):(f&c.child.childLanes)!==0?b1(s,c,f):(Qt($t,$t.current&1),s=Co(s,c,f),s!==null?s.sibling:null);Qt($t,$t.current&1);break;case 19:if(g=(f&c.childLanes)!==0,(s.flags&128)!==0){if(g)return w1(s,c,f);c.flags|=128}if(v=c.memoizedState,v!==null&&(v.rendering=null,v.tail=null,v.lastEffect=null),Qt($t,$t.current),g)break;return null;case 22:case 23:return c.lanes=0,A1(s,c,f)}return Co(s,c,f)}var k1,WA,S1,E1;k1=function(s,c){for(var f=c.child;f!==null;){if(f.tag===5||f.tag===6)s.appendChild(f.stateNode);else if(f.tag!==4&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===c)break;for(;f.sibling===null;){if(f.return===null||f.return===c)return;f=f.return}f.sibling.return=f.return,f=f.sibling}},WA=function(){},S1=function(s,c,f,g){var v=s.memoizedProps;if(v!==g){s=c.stateNode,Ks(Zi.current);var S=null;switch(f){case"input":v=Xe(s,v),g=Xe(s,g),S=[];break;case"select":v=de({},v,{value:void 0}),g=de({},g,{value:void 0}),S=[];break;case"textarea":v=dt(s,v),g=dt(s,g),S=[];break;default:typeof v.onClick!="function"&&typeof g.onClick=="function"&&(s.onclick=xd)}Te(f,g);var O;f=null;for(ce in v)if(!g.hasOwnProperty(ce)&&v.hasOwnProperty(ce)&&v[ce]!=null)if(ce==="style"){var U=v[ce];for(O in U)U.hasOwnProperty(O)&&(f||(f={}),f[O]="")}else ce!=="dangerouslySetInnerHTML"&&ce!=="children"&&ce!=="suppressContentEditableWarning"&&ce!=="suppressHydrationWarning"&&ce!=="autoFocus"&&(i.hasOwnProperty(ce)?S||(S=[]):(S=S||[]).push(ce,null));for(ce in g){var Y=g[ce];if(U=v?.[ce],g.hasOwnProperty(ce)&&Y!==U&&(Y!=null||U!=null))if(ce==="style")if(U){for(O in U)!U.hasOwnProperty(O)||Y&&Y.hasOwnProperty(O)||(f||(f={}),f[O]="");for(O in Y)Y.hasOwnProperty(O)&&U[O]!==Y[O]&&(f||(f={}),f[O]=Y[O])}else f||(S||(S=[]),S.push(ce,f)),f=Y;else ce==="dangerouslySetInnerHTML"?(Y=Y?Y.__html:void 0,U=U?U.__html:void 0,Y!=null&&U!==Y&&(S=S||[]).push(ce,Y)):ce==="children"?typeof Y!="string"&&typeof Y!="number"||(S=S||[]).push(ce,""+Y):ce!=="suppressContentEditableWarning"&&ce!=="suppressHydrationWarning"&&(i.hasOwnProperty(ce)?(Y!=null&&ce==="onScroll"&&Vt("scroll",s),S||U===Y||(S=[])):(S=S||[]).push(ce,Y))}f&&(S=S||[]).push("style",f);var ce=S;(c.updateQueue=ce)&&(c.flags|=4)}},E1=function(s,c,f,g){f!==g&&(c.flags|=4)};function Cc(s,c){if(!Kt)switch(s.tailMode){case"hidden":c=s.tail;for(var f=null;c!==null;)c.alternate!==null&&(f=c),c=c.sibling;f===null?s.tail=null:f.sibling=null;break;case"collapsed":f=s.tail;for(var g=null;f!==null;)f.alternate!==null&&(g=f),f=f.sibling;g===null?c||s.tail===null?s.tail=null:s.tail.sibling=null:g.sibling=null}}function Kn(s){var c=s.alternate!==null&&s.alternate.child===s.child,f=0,g=0;if(c)for(var v=s.child;v!==null;)f|=v.lanes|v.childLanes,g|=v.subtreeFlags&14680064,g|=v.flags&14680064,v.return=s,v=v.sibling;else for(v=s.child;v!==null;)f|=v.lanes|v.childLanes,g|=v.subtreeFlags,g|=v.flags,v.return=s,v=v.sibling;return s.subtreeFlags|=g,s.childLanes=f,c}function I4(s,c,f){var g=c.pendingProps;switch(pA(c),c.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Kn(c),null;case 1:return yr(c.type)&&kd(),Kn(c),null;case 3:return g=c.stateNode,Za(),Wt(vr),Wt(Yn),CA(),g.pendingContext&&(g.context=g.pendingContext,g.pendingContext=null),(s===null||s.child===null)&&(Dd(c)?c.flags|=4:s===null||s.memoizedState.isDehydrated&&(c.flags&256)===0||(c.flags|=1024,gi!==null&&(ng(gi),gi=null))),WA(s,c),Kn(c),null;case 5:SA(c);var v=Ks(xc.current);if(f=c.type,s!==null&&c.stateNode!=null)S1(s,c,f,g,v),s.ref!==c.ref&&(c.flags|=512,c.flags|=2097152);else{if(!g){if(c.stateNode===null)throw Error(n(166));return Kn(c),null}if(s=Ks(Zi.current),Dd(c)){g=c.stateNode,f=c.type;var S=c.memoizedProps;switch(g[Ji]=c,g[gc]=S,s=(c.mode&1)!==0,f){case"dialog":Vt("cancel",g),Vt("close",g);break;case"iframe":case"object":case"embed":Vt("load",g);break;case"video":case"audio":for(v=0;v<pc.length;v++)Vt(pc[v],g);break;case"source":Vt("error",g);break;case"img":case"image":case"link":Vt("error",g),Vt("load",g);break;case"details":Vt("toggle",g);break;case"input":Ge(g,S),Vt("invalid",g);break;case"select":g._wrapperState={wasMultiple:!!S.multiple},Vt("invalid",g);break;case"textarea":Ke(g,S),Vt("invalid",g)}Te(f,S),v=null;for(var O in S)if(S.hasOwnProperty(O)){var U=S[O];O==="children"?typeof U=="string"?g.textContent!==U&&(S.suppressHydrationWarning!==!0&&bd(g.textContent,U,s),v=["children",U]):typeof U=="number"&&g.textContent!==""+U&&(S.suppressHydrationWarning!==!0&&bd(g.textContent,U,s),v=["children",""+U]):i.hasOwnProperty(O)&&U!=null&&O==="onScroll"&&Vt("scroll",g)}switch(f){case"input":wt(g),gt(g,S,!0);break;case"textarea":wt(g),Yt(g);break;case"select":case"option":break;default:typeof S.onClick=="function"&&(g.onclick=xd)}g=v,c.updateQueue=g,g!==null&&(c.flags|=4)}else{O=v.nodeType===9?v:v.ownerDocument,s==="http://www.w3.org/1999/xhtml"&&(s=vn(f)),s==="http://www.w3.org/1999/xhtml"?f==="script"?(s=O.createElement("div"),s.innerHTML="<script><\/script>",s=s.removeChild(s.firstChild)):typeof g.is=="string"?s=O.createElement(f,{is:g.is}):(s=O.createElement(f),f==="select"&&(O=s,g.multiple?O.multiple=!0:g.size&&(O.size=g.size))):s=O.createElementNS(s,f),s[Ji]=c,s[gc]=g,k1(s,c,!1,!1),c.stateNode=s;e:{switch(O=qe(f,g),f){case"dialog":Vt("cancel",s),Vt("close",s),v=g;break;case"iframe":case"object":case"embed":Vt("load",s),v=g;break;case"video":case"audio":for(v=0;v<pc.length;v++)Vt(pc[v],s);v=g;break;case"source":Vt("error",s),v=g;break;case"img":case"image":case"link":Vt("error",s),Vt("load",s),v=g;break;case"details":Vt("toggle",s),v=g;break;case"input":Ge(s,g),v=Xe(s,g),Vt("invalid",s);break;case"option":v=g;break;case"select":s._wrapperState={wasMultiple:!!g.multiple},v=de({},g,{value:void 0}),Vt("invalid",s);break;case"textarea":Ke(s,g),v=dt(s,g),Vt("invalid",s);break;default:v=g}Te(f,v),U=v;for(S in U)if(U.hasOwnProperty(S)){var Y=U[S];S==="style"?le(s,Y):S==="dangerouslySetInnerHTML"?(Y=Y?Y.__html:void 0,Y!=null&&fe(s,Y)):S==="children"?typeof Y=="string"?(f!=="textarea"||Y!=="")&&Le(s,Y):typeof Y=="number"&&Le(s,""+Y):S!=="suppressContentEditableWarning"&&S!=="suppressHydrationWarning"&&S!=="autoFocus"&&(i.hasOwnProperty(S)?Y!=null&&S==="onScroll"&&Vt("scroll",s):Y!=null&&D(s,S,Y,O))}switch(f){case"input":wt(s),gt(s,g,!1);break;case"textarea":wt(s),Yt(s);break;case"option":g.value!=null&&s.setAttribute("value",""+Ve(g.value));break;case"select":s.multiple=!!g.multiple,S=g.value,S!=null?Rt(s,!!g.multiple,S,!1):g.defaultValue!=null&&Rt(s,!!g.multiple,g.defaultValue,!0);break;default:typeof v.onClick=="function"&&(s.onclick=xd)}switch(f){case"button":case"input":case"select":case"textarea":g=!!g.autoFocus;break e;case"img":g=!0;break e;default:g=!1}}g&&(c.flags|=4)}c.ref!==null&&(c.flags|=512,c.flags|=2097152)}return Kn(c),null;case 6:if(s&&c.stateNode!=null)E1(s,c,s.memoizedProps,g);else{if(typeof g!="string"&&c.stateNode===null)throw Error(n(166));if(f=Ks(xc.current),Ks(Zi.current),Dd(c)){if(g=c.stateNode,f=c.memoizedProps,g[Ji]=c,(S=g.nodeValue!==f)&&(s=Nr,s!==null))switch(s.tag){case 3:bd(g.nodeValue,f,(s.mode&1)!==0);break;case 5:s.memoizedProps.suppressHydrationWarning!==!0&&bd(g.nodeValue,f,(s.mode&1)!==0)}S&&(c.flags|=4)}else g=(f.nodeType===9?f:f.ownerDocument).createTextNode(g),g[Ji]=c,c.stateNode=g}return Kn(c),null;case 13:if(Wt($t),g=c.memoizedState,s===null||s.memoizedState!==null&&s.memoizedState.dehydrated!==null){if(Kt&&Fr!==null&&(c.mode&1)!==0&&(c.flags&128)===0)Dw(),Ka(),c.flags|=98560,S=!1;else if(S=Dd(c),g!==null&&g.dehydrated!==null){if(s===null){if(!S)throw Error(n(318));if(S=c.memoizedState,S=S!==null?S.dehydrated:null,!S)throw Error(n(317));S[Ji]=c}else Ka(),(c.flags&128)===0&&(c.memoizedState=null),c.flags|=4;Kn(c),S=!1}else gi!==null&&(ng(gi),gi=null),S=!0;if(!S)return c.flags&65536?c:null}return(c.flags&128)!==0?(c.lanes=f,c):(g=g!==null,g!==(s!==null&&s.memoizedState!==null)&&g&&(c.child.flags|=8192,(c.mode&1)!==0&&(s===null||($t.current&1)!==0?wn===0&&(wn=3):og())),c.updateQueue!==null&&(c.flags|=4),Kn(c),null);case 4:return Za(),WA(s,c),s===null&&hc(c.stateNode.containerInfo),Kn(c),null;case 10:return yA(c.type._context),Kn(c),null;case 17:return yr(c.type)&&kd(),Kn(c),null;case 19:if(Wt($t),S=c.memoizedState,S===null)return Kn(c),null;if(g=(c.flags&128)!==0,O=S.rendering,O===null)if(g)Cc(S,!1);else{if(wn!==0||s!==null&&(s.flags&128)!==0)for(s=c.child;s!==null;){if(O=Od(s),O!==null){for(c.flags|=128,Cc(S,!1),g=O.updateQueue,g!==null&&(c.updateQueue=g,c.flags|=4),c.subtreeFlags=0,g=f,f=c.child;f!==null;)S=f,s=g,S.flags&=14680066,O=S.alternate,O===null?(S.childLanes=0,S.lanes=s,S.child=null,S.subtreeFlags=0,S.memoizedProps=null,S.memoizedState=null,S.updateQueue=null,S.dependencies=null,S.stateNode=null):(S.childLanes=O.childLanes,S.lanes=O.lanes,S.child=O.child,S.subtreeFlags=0,S.deletions=null,S.memoizedProps=O.memoizedProps,S.memoizedState=O.memoizedState,S.updateQueue=O.updateQueue,S.type=O.type,s=O.dependencies,S.dependencies=s===null?null:{lanes:s.lanes,firstContext:s.firstContext}),f=f.sibling;return Qt($t,$t.current&1|2),c.child}s=s.sibling}S.tail!==null&&Lt()>nl&&(c.flags|=128,g=!0,Cc(S,!1),c.lanes=4194304)}else{if(!g)if(s=Od(O),s!==null){if(c.flags|=128,g=!0,f=s.updateQueue,f!==null&&(c.updateQueue=f,c.flags|=4),Cc(S,!0),S.tail===null&&S.tailMode==="hidden"&&!O.alternate&&!Kt)return Kn(c),null}else 2*Lt()-S.renderingStartTime>nl&&f!==1073741824&&(c.flags|=128,g=!0,Cc(S,!1),c.lanes=4194304);S.isBackwards?(O.sibling=c.child,c.child=O):(f=S.last,f!==null?f.sibling=O:c.child=O,S.last=O)}return S.tail!==null?(c=S.tail,S.rendering=c,S.tail=c.sibling,S.renderingStartTime=Lt(),c.sibling=null,f=$t.current,Qt($t,g?f&1|2:f&1),c):(Kn(c),null);case 22:case 23:return ig(),g=c.memoizedState!==null,s!==null&&s.memoizedState!==null!==g&&(c.flags|=8192),g&&(c.mode&1)!==0?(jr&1073741824)!==0&&(Kn(c),c.subtreeFlags&6&&(c.flags|=8192)):Kn(c),null;case 24:return null;case 25:return null}throw Error(n(156,c.tag))}function M4(s,c){switch(pA(c),c.tag){case 1:return yr(c.type)&&kd(),s=c.flags,s&65536?(c.flags=s&-65537|128,c):null;case 3:return Za(),Wt(vr),Wt(Yn),CA(),s=c.flags,(s&65536)!==0&&(s&128)===0?(c.flags=s&-65537|128,c):null;case 5:return SA(c),null;case 13:if(Wt($t),s=c.memoizedState,s!==null&&s.dehydrated!==null){if(c.alternate===null)throw Error(n(340));Ka()}return s=c.flags,s&65536?(c.flags=s&-65537|128,c):null;case 19:return Wt($t),null;case 4:return Za(),null;case 10:return yA(c.type._context),null;case 22:case 23:return ig(),null;case 24:return null;default:return null}}var Ud=!1,Gn=!1,O4=typeof WeakSet=="function"?WeakSet:Set,Fe=null;function el(s,c){var f=s.ref;if(f!==null)if(typeof f=="function")try{f(null)}catch(g){sn(s,c,g)}else f.current=null}function YA(s,c,f){try{f()}catch(g){sn(s,c,g)}}var C1=!1;function R4(s,c){if(iA=Lr,s=iw(),Xh(s)){if("selectionStart"in s)var f={start:s.selectionStart,end:s.selectionEnd};else e:{f=(f=s.ownerDocument)&&f.defaultView||window;var g=f.getSelection&&f.getSelection();if(g&&g.rangeCount!==0){f=g.anchorNode;var v=g.anchorOffset,S=g.focusNode;g=g.focusOffset;try{f.nodeType,S.nodeType}catch{f=null;break e}var O=0,U=-1,Y=-1,ce=0,be=0,xe=s,ye=null;t:for(;;){for(var Re;xe!==f||v!==0&&xe.nodeType!==3||(U=O+v),xe!==S||g!==0&&xe.nodeType!==3||(Y=O+g),xe.nodeType===3&&(O+=xe.nodeValue.length),(Re=xe.firstChild)!==null;)ye=xe,xe=Re;for(;;){if(xe===s)break t;if(ye===f&&++ce===v&&(U=O),ye===S&&++be===g&&(Y=O),(Re=xe.nextSibling)!==null)break;xe=ye,ye=xe.parentNode}xe=Re}f=U===-1||Y===-1?null:{start:U,end:Y}}else f=null}f=f||{start:0,end:0}}else f=null;for(oA={focusedElem:s,selectionRange:f},Lr=!1,Fe=c;Fe!==null;)if(c=Fe,s=c.child,(c.subtreeFlags&1028)!==0&&s!==null)s.return=c,Fe=s;else for(;Fe!==null;){c=Fe;try{var Qe=c.alternate;if((c.flags&1024)!==0)switch(c.tag){case 0:case 11:case 15:break;case 1:if(Qe!==null){var Ue=Qe.memoizedProps,cn=Qe.memoizedState,ne=c.stateNode,X=ne.getSnapshotBeforeUpdate(c.elementType===c.type?Ue:mi(c.type,Ue),cn);ne.__reactInternalSnapshotBeforeUpdate=X}break;case 3:var se=c.stateNode.containerInfo;se.nodeType===1?se.textContent="":se.nodeType===9&&se.documentElement&&se.removeChild(se.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(n(163))}}catch(Pe){sn(c,c.return,Pe)}if(s=c.sibling,s!==null){s.return=c.return,Fe=s;break}Fe=c.return}return Qe=C1,C1=!1,Qe}function Pc(s,c,f){var g=c.updateQueue;if(g=g!==null?g.lastEffect:null,g!==null){var v=g=g.next;do{if((v.tag&s)===s){var S=v.destroy;v.destroy=void 0,S!==void 0&&YA(c,f,S)}v=v.next}while(v!==g)}}function Vd(s,c){if(c=c.updateQueue,c=c!==null?c.lastEffect:null,c!==null){var f=c=c.next;do{if((f.tag&s)===s){var g=f.create;f.destroy=g()}f=f.next}while(f!==c)}}function qA(s){var c=s.ref;if(c!==null){var f=s.stateNode;s.tag,s=f,typeof c=="function"?c(s):c.current=s}}function P1(s){var c=s.alternate;c!==null&&(s.alternate=null,P1(c)),s.child=null,s.deletions=null,s.sibling=null,s.tag===5&&(c=s.stateNode,c!==null&&(delete c[Ji],delete c[gc],delete c[cA],delete c[m4],delete c[v4])),s.stateNode=null,s.return=null,s.dependencies=null,s.memoizedProps=null,s.memoizedState=null,s.pendingProps=null,s.stateNode=null,s.updateQueue=null}function D1(s){return s.tag===5||s.tag===3||s.tag===4}function T1(s){e:for(;;){for(;s.sibling===null;){if(s.return===null||D1(s.return))return null;s=s.return}for(s.sibling.return=s.return,s=s.sibling;s.tag!==5&&s.tag!==6&&s.tag!==18;){if(s.flags&2||s.child===null||s.tag===4)continue e;s.child.return=s,s=s.child}if(!(s.flags&2))return s.stateNode}}function KA(s,c,f){var g=s.tag;if(g===5||g===6)s=s.stateNode,c?f.nodeType===8?f.parentNode.insertBefore(s,c):f.insertBefore(s,c):(f.nodeType===8?(c=f.parentNode,c.insertBefore(s,f)):(c=f,c.appendChild(s)),f=f._reactRootContainer,f!=null||c.onclick!==null||(c.onclick=xd));else if(g!==4&&(s=s.child,s!==null))for(KA(s,c,f),s=s.sibling;s!==null;)KA(s,c,f),s=s.sibling}function GA(s,c,f){var g=s.tag;if(g===5||g===6)s=s.stateNode,c?f.insertBefore(s,c):f.appendChild(s);else if(g!==4&&(s=s.child,s!==null))for(GA(s,c,f),s=s.sibling;s!==null;)GA(s,c,f),s=s.sibling}var Ln=null,vi=!1;function os(s,c,f){for(f=f.child;f!==null;)B1(s,c,f),f=f.sibling}function B1(s,c,f){if($n&&typeof $n.onCommitFiberUnmount=="function")try{$n.onCommitFiberUnmount(Or,f)}catch{}switch(f.tag){case 5:Gn||el(f,c);case 6:var g=Ln,v=vi;Ln=null,os(s,c,f),Ln=g,vi=v,Ln!==null&&(vi?(s=Ln,f=f.stateNode,s.nodeType===8?s.parentNode.removeChild(f):s.removeChild(f)):Ln.removeChild(f.stateNode));break;case 18:Ln!==null&&(vi?(s=Ln,f=f.stateNode,s.nodeType===8?lA(s.parentNode,f):s.nodeType===1&&lA(s,f),Ki(s)):lA(Ln,f.stateNode));break;case 4:g=Ln,v=vi,Ln=f.stateNode.containerInfo,vi=!0,os(s,c,f),Ln=g,vi=v;break;case 0:case 11:case 14:case 15:if(!Gn&&(g=f.updateQueue,g!==null&&(g=g.lastEffect,g!==null))){v=g=g.next;do{var S=v,O=S.destroy;S=S.tag,O!==void 0&&((S&2)!==0||(S&4)!==0)&&YA(f,c,O),v=v.next}while(v!==g)}os(s,c,f);break;case 1:if(!Gn&&(el(f,c),g=f.stateNode,typeof g.componentWillUnmount=="function"))try{g.props=f.memoizedProps,g.state=f.memoizedState,g.componentWillUnmount()}catch(U){sn(f,c,U)}os(s,c,f);break;case 21:os(s,c,f);break;case 22:f.mode&1?(Gn=(g=Gn)||f.memoizedState!==null,os(s,c,f),Gn=g):os(s,c,f);break;default:os(s,c,f)}}function _1(s){var c=s.updateQueue;if(c!==null){s.updateQueue=null;var f=s.stateNode;f===null&&(f=s.stateNode=new O4),c.forEach(function(g){var v=V4.bind(null,s,g);f.has(g)||(f.add(g),g.then(v,v))})}}function yi(s,c){var f=c.deletions;if(f!==null)for(var g=0;g<f.length;g++){var v=f[g];try{var S=s,O=c,U=O;e:for(;U!==null;){switch(U.tag){case 5:Ln=U.stateNode,vi=!1;break e;case 3:Ln=U.stateNode.containerInfo,vi=!0;break e;case 4:Ln=U.stateNode.containerInfo,vi=!0;break e}U=U.return}if(Ln===null)throw Error(n(160));B1(S,O,v),Ln=null,vi=!1;var Y=v.alternate;Y!==null&&(Y.return=null),v.return=null}catch(ce){sn(v,c,ce)}}if(c.subtreeFlags&12854)for(c=c.child;c!==null;)I1(c,s),c=c.sibling}function I1(s,c){var f=s.alternate,g=s.flags;switch(s.tag){case 0:case 11:case 14:case 15:if(yi(c,s),eo(s),g&4){try{Pc(3,s,s.return),Vd(3,s)}catch(Ue){sn(s,s.return,Ue)}try{Pc(5,s,s.return)}catch(Ue){sn(s,s.return,Ue)}}break;case 1:yi(c,s),eo(s),g&512&&f!==null&&el(f,f.return);break;case 5:if(yi(c,s),eo(s),g&512&&f!==null&&el(f,f.return),s.flags&32){var v=s.stateNode;try{Le(v,"")}catch(Ue){sn(s,s.return,Ue)}}if(g&4&&(v=s.stateNode,v!=null)){var S=s.memoizedProps,O=f!==null?f.memoizedProps:S,U=s.type,Y=s.updateQueue;if(s.updateQueue=null,Y!==null)try{U==="input"&&S.type==="radio"&&S.name!=null&&At(v,S),qe(U,O);var ce=qe(U,S);for(O=0;O<Y.length;O+=2){var be=Y[O],xe=Y[O+1];be==="style"?le(v,xe):be==="dangerouslySetInnerHTML"?fe(v,xe):be==="children"?Le(v,xe):D(v,be,xe,ce)}switch(U){case"input":lt(v,S);break;case"textarea":fn(v,S);break;case"select":var ye=v._wrapperState.wasMultiple;v._wrapperState.wasMultiple=!!S.multiple;var Re=S.value;Re!=null?Rt(v,!!S.multiple,Re,!1):ye!==!!S.multiple&&(S.defaultValue!=null?Rt(v,!!S.multiple,S.defaultValue,!0):Rt(v,!!S.multiple,S.multiple?[]:"",!1))}v[gc]=S}catch(Ue){sn(s,s.return,Ue)}}break;case 6:if(yi(c,s),eo(s),g&4){if(s.stateNode===null)throw Error(n(162));v=s.stateNode,S=s.memoizedProps;try{v.nodeValue=S}catch(Ue){sn(s,s.return,Ue)}}break;case 3:if(yi(c,s),eo(s),g&4&&f!==null&&f.memoizedState.isDehydrated)try{Ki(c.containerInfo)}catch(Ue){sn(s,s.return,Ue)}break;case 4:yi(c,s),eo(s);break;case 13:yi(c,s),eo(s),v=s.child,v.flags&8192&&(S=v.memoizedState!==null,v.stateNode.isHidden=S,!S||v.alternate!==null&&v.alternate.memoizedState!==null||(ZA=Lt())),g&4&&_1(s);break;case 22:if(be=f!==null&&f.memoizedState!==null,s.mode&1?(Gn=(ce=Gn)||be,yi(c,s),Gn=ce):yi(c,s),eo(s),g&8192){if(ce=s.memoizedState!==null,(s.stateNode.isHidden=ce)&&!be&&(s.mode&1)!==0)for(Fe=s,be=s.child;be!==null;){for(xe=Fe=be;Fe!==null;){switch(ye=Fe,Re=ye.child,ye.tag){case 0:case 11:case 14:case 15:Pc(4,ye,ye.return);break;case 1:el(ye,ye.return);var Qe=ye.stateNode;if(typeof Qe.componentWillUnmount=="function"){g=ye,f=ye.return;try{c=g,Qe.props=c.memoizedProps,Qe.state=c.memoizedState,Qe.componentWillUnmount()}catch(Ue){sn(g,f,Ue)}}break;case 5:el(ye,ye.return);break;case 22:if(ye.memoizedState!==null){R1(xe);continue}}Re!==null?(Re.return=ye,Fe=Re):R1(xe)}be=be.sibling}e:for(be=null,xe=s;;){if(xe.tag===5){if(be===null){be=xe;try{v=xe.stateNode,ce?(S=v.style,typeof S.setProperty=="function"?S.setProperty("display","none","important"):S.display="none"):(U=xe.stateNode,Y=xe.memoizedProps.style,O=Y!=null&&Y.hasOwnProperty("display")?Y.display:null,U.style.display=We("display",O))}catch(Ue){sn(s,s.return,Ue)}}}else if(xe.tag===6){if(be===null)try{xe.stateNode.nodeValue=ce?"":xe.memoizedProps}catch(Ue){sn(s,s.return,Ue)}}else if((xe.tag!==22&&xe.tag!==23||xe.memoizedState===null||xe===s)&&xe.child!==null){xe.child.return=xe,xe=xe.child;continue}if(xe===s)break e;for(;xe.sibling===null;){if(xe.return===null||xe.return===s)break e;be===xe&&(be=null),xe=xe.return}be===xe&&(be=null),xe.sibling.return=xe.return,xe=xe.sibling}}break;case 19:yi(c,s),eo(s),g&4&&_1(s);break;case 21:break;default:yi(c,s),eo(s)}}function eo(s){var c=s.flags;if(c&2){try{e:{for(var f=s.return;f!==null;){if(D1(f)){var g=f;break e}f=f.return}throw Error(n(160))}switch(g.tag){case 5:var v=g.stateNode;g.flags&32&&(Le(v,""),g.flags&=-33);var S=T1(s);GA(s,S,v);break;case 3:case 4:var O=g.stateNode.containerInfo,U=T1(s);KA(s,U,O);break;default:throw Error(n(161))}}catch(Y){sn(s,s.return,Y)}s.flags&=-3}c&4096&&(s.flags&=-4097)}function L4(s,c,f){Fe=s,M1(s)}function M1(s,c,f){for(var g=(s.mode&1)!==0;Fe!==null;){var v=Fe,S=v.child;if(v.tag===22&&g){var O=v.memoizedState!==null||Ud;if(!O){var U=v.alternate,Y=U!==null&&U.memoizedState!==null||Gn;U=Ud;var ce=Gn;if(Ud=O,(Gn=Y)&&!ce)for(Fe=v;Fe!==null;)O=Fe,Y=O.child,O.tag===22&&O.memoizedState!==null?L1(v):Y!==null?(Y.return=O,Fe=Y):L1(v);for(;S!==null;)Fe=S,M1(S),S=S.sibling;Fe=v,Ud=U,Gn=ce}O1(s)}else(v.subtreeFlags&8772)!==0&&S!==null?(S.return=v,Fe=S):O1(s)}}function O1(s){for(;Fe!==null;){var c=Fe;if((c.flags&8772)!==0){var f=c.alternate;try{if((c.flags&8772)!==0)switch(c.tag){case 0:case 11:case 15:Gn||Vd(5,c);break;case 1:var g=c.stateNode;if(c.flags&4&&!Gn)if(f===null)g.componentDidMount();else{var v=c.elementType===c.type?f.memoizedProps:mi(c.type,f.memoizedProps);g.componentDidUpdate(v,f.memoizedState,g.__reactInternalSnapshotBeforeUpdate)}var S=c.updateQueue;S!==null&&Rw(c,S,g);break;case 3:var O=c.updateQueue;if(O!==null){if(f=null,c.child!==null)switch(c.child.tag){case 5:f=c.child.stateNode;break;case 1:f=c.child.stateNode}Rw(c,O,f)}break;case 5:var U=c.stateNode;if(f===null&&c.flags&4){f=U;var Y=c.memoizedProps;switch(c.type){case"button":case"input":case"select":case"textarea":Y.autoFocus&&f.focus();break;case"img":Y.src&&(f.src=Y.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(c.memoizedState===null){var ce=c.alternate;if(ce!==null){var be=ce.memoizedState;if(be!==null){var xe=be.dehydrated;xe!==null&&Ki(xe)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(n(163))}Gn||c.flags&512&&qA(c)}catch(ye){sn(c,c.return,ye)}}if(c===s){Fe=null;break}if(f=c.sibling,f!==null){f.return=c.return,Fe=f;break}Fe=c.return}}function R1(s){for(;Fe!==null;){var c=Fe;if(c===s){Fe=null;break}var f=c.sibling;if(f!==null){f.return=c.return,Fe=f;break}Fe=c.return}}function L1(s){for(;Fe!==null;){var c=Fe;try{switch(c.tag){case 0:case 11:case 15:var f=c.return;try{Vd(4,c)}catch(Y){sn(c,f,Y)}break;case 1:var g=c.stateNode;if(typeof g.componentDidMount=="function"){var v=c.return;try{g.componentDidMount()}catch(Y){sn(c,v,Y)}}var S=c.return;try{qA(c)}catch(Y){sn(c,S,Y)}break;case 5:var O=c.return;try{qA(c)}catch(Y){sn(c,O,Y)}}}catch(Y){sn(c,c.return,Y)}if(c===s){Fe=null;break}var U=c.sibling;if(U!==null){U.return=c.return,Fe=U;break}Fe=c.return}}var N4=Math.ceil,Wd=C.ReactCurrentDispatcher,XA=C.ReactCurrentOwner,ri=C.ReactCurrentBatchConfig,St=0,Pn=null,hn=null,Nn=0,jr=0,tl=es(0),wn=0,Dc=null,Xs=0,Yd=0,JA=0,Tc=null,xr=null,ZA=0,nl=1/0,Po=null,qd=!1,$A=null,ss=null,Kd=!1,as=null,Gd=0,Bc=0,eg=null,Xd=-1,Jd=0;function nr(){return(St&6)!==0?Lt():Xd!==-1?Xd:Xd=Lt()}function ls(s){return(s.mode&1)===0?1:(St&2)!==0&&Nn!==0?Nn&-Nn:b4.transition!==null?(Jd===0&&(Jd=H()),Jd):(s=Ie,s!==0||(s=window.event,s=s===void 0?16:tc(s.type)),s)}function bi(s,c,f,g){if(50<Bc)throw Bc=0,eg=null,Error(n(185));$(s,f,g),((St&2)===0||s!==Pn)&&(s===Pn&&((St&2)===0&&(Yd|=f),wn===4&&cs(s,Nn)),wr(s,g),f===1&&St===0&&(c.mode&1)===0&&(nl=Lt()+500,Ed&&ns()))}function wr(s,c){var f=s.callbackNode;_(s,c);var g=Wi(s,s===Pn?Nn:0);if(g===0)f!==null&&_s(f),s.callbackNode=null,s.callbackPriority=0;else if(c=g&-g,s.callbackPriority!==c){if(f!=null&&_s(f),c===1)s.tag===0?y4(F1.bind(null,s)):kw(F1.bind(null,s)),A4(function(){(St&6)===0&&ns()}),f=null;else{switch(tt(g)){case 1:f=Yo;break;case 4:f=qo;break;case 16:f=Ui;break;case 536870912:f=ui;break;default:f=Ui}f=Y1(f,N1.bind(null,s))}s.callbackPriority=c,s.callbackNode=f}}function N1(s,c){if(Xd=-1,Jd=0,(St&6)!==0)throw Error(n(327));var f=s.callbackNode;if(rl()&&s.callbackNode!==f)return null;var g=Wi(s,s===Pn?Nn:0);if(g===0)return null;if((g&30)!==0||(g&s.expiredLanes)!==0||c)c=Zd(s,g);else{c=g;var v=St;St|=2;var S=z1();(Pn!==s||Nn!==c)&&(Po=null,nl=Lt()+500,Zs(s,c));do try{z4();break}catch(U){j1(s,U)}while(!0);vA(),Wd.current=S,St=v,hn!==null?c=0:(Pn=null,Nn=0,c=wn)}if(c!==0){if(c===2&&(v=F(s),v!==0&&(g=v,c=tg(s,v))),c===1)throw f=Dc,Zs(s,0),cs(s,g),wr(s,Lt()),f;if(c===6)cs(s,g);else{if(v=s.current.alternate,(g&30)===0&&!F4(v)&&(c=Zd(s,g),c===2&&(S=F(s),S!==0&&(g=S,c=tg(s,S))),c===1))throw f=Dc,Zs(s,0),cs(s,g),wr(s,Lt()),f;switch(s.finishedWork=v,s.finishedLanes=g,c){case 0:case 1:throw Error(n(345));case 2:$s(s,xr,Po);break;case 3:if(cs(s,g),(g&130023424)===g&&(c=ZA+500-Lt(),10<c)){if(Wi(s,0)!==0)break;if(v=s.suspendedLanes,(v&g)!==g){nr(),s.pingedLanes|=s.suspendedLanes&v;break}s.timeoutHandle=aA($s.bind(null,s,xr,Po),c);break}$s(s,xr,Po);break;case 4:if(cs(s,g),(g&4194240)===g)break;for(c=s.eventTimes,v=-1;0<g;){var O=31-bn(g);S=1<<O,O=c[O],O>v&&(v=O),g&=~S}if(g=v,g=Lt()-g,g=(120>g?120:480>g?480:1080>g?1080:1920>g?1920:3e3>g?3e3:4320>g?4320:1960*N4(g/1960))-g,10<g){s.timeoutHandle=aA($s.bind(null,s,xr,Po),g);break}$s(s,xr,Po);break;case 5:$s(s,xr,Po);break;default:throw Error(n(329))}}}return wr(s,Lt()),s.callbackNode===f?N1.bind(null,s):null}function tg(s,c){var f=Tc;return s.current.memoizedState.isDehydrated&&(Zs(s,c).flags|=256),s=Zd(s,c),s!==2&&(c=xr,xr=f,c!==null&&ng(c)),s}function ng(s){xr===null?xr=s:xr.push.apply(xr,s)}function F4(s){for(var c=s;;){if(c.flags&16384){var f=c.updateQueue;if(f!==null&&(f=f.stores,f!==null))for(var g=0;g<f.length;g++){var v=f[g],S=v.getSnapshot;v=v.value;try{if(!Ai(S(),v))return!1}catch{return!1}}}if(f=c.child,c.subtreeFlags&16384&&f!==null)f.return=c,c=f;else{if(c===s)break;for(;c.sibling===null;){if(c.return===null||c.return===s)return!0;c=c.return}c.sibling.return=c.return,c=c.sibling}}return!0}function cs(s,c){for(c&=~JA,c&=~Yd,s.suspendedLanes|=c,s.pingedLanes&=~c,s=s.expirationTimes;0<c;){var f=31-bn(c),g=1<<f;s[f]=-1,c&=~g}}function F1(s){if((St&6)!==0)throw Error(n(327));rl();var c=Wi(s,0);if((c&1)===0)return wr(s,Lt()),null;var f=Zd(s,c);if(s.tag!==0&&f===2){var g=F(s);g!==0&&(c=g,f=tg(s,g))}if(f===1)throw f=Dc,Zs(s,0),cs(s,c),wr(s,Lt()),f;if(f===6)throw Error(n(345));return s.finishedWork=s.current.alternate,s.finishedLanes=c,$s(s,xr,Po),wr(s,Lt()),null}function rg(s,c){var f=St;St|=1;try{return s(c)}finally{St=f,St===0&&(nl=Lt()+500,Ed&&ns())}}function Js(s){as!==null&&as.tag===0&&(St&6)===0&&rl();var c=St;St|=1;var f=ri.transition,g=Ie;try{if(ri.transition=null,Ie=1,s)return s()}finally{Ie=g,ri.transition=f,St=c,(St&6)===0&&ns()}}function ig(){jr=tl.current,Wt(tl)}function Zs(s,c){s.finishedWork=null,s.finishedLanes=0;var f=s.timeoutHandle;if(f!==-1&&(s.timeoutHandle=-1,h4(f)),hn!==null)for(f=hn.return;f!==null;){var g=f;switch(pA(g),g.tag){case 1:g=g.type.childContextTypes,g!=null&&kd();break;case 3:Za(),Wt(vr),Wt(Yn),CA();break;case 5:SA(g);break;case 4:Za();break;case 13:Wt($t);break;case 19:Wt($t);break;case 10:yA(g.type._context);break;case 22:case 23:ig()}f=f.return}if(Pn=s,hn=s=us(s.current,null),Nn=jr=c,wn=0,Dc=null,JA=Yd=Xs=0,xr=Tc=null,qs!==null){for(c=0;c<qs.length;c++)if(f=qs[c],g=f.interleaved,g!==null){f.interleaved=null;var v=g.next,S=f.pending;if(S!==null){var O=S.next;S.next=v,g.next=O}f.pending=g}qs=null}return s}function j1(s,c){do{var f=hn;try{if(vA(),Rd.current=jd,Ld){for(var g=en.memoizedState;g!==null;){var v=g.queue;v!==null&&(v.pending=null),g=g.next}Ld=!1}if(Gs=0,Cn=xn=en=null,wc=!1,kc=0,XA.current=null,f===null||f.return===null){wn=1,Dc=c,hn=null;break}e:{var S=s,O=f.return,U=f,Y=c;if(c=Nn,U.flags|=32768,Y!==null&&typeof Y=="object"&&typeof Y.then=="function"){var ce=Y,be=U,xe=be.tag;if((be.mode&1)===0&&(xe===0||xe===11||xe===15)){var ye=be.alternate;ye?(be.updateQueue=ye.updateQueue,be.memoizedState=ye.memoizedState,be.lanes=ye.lanes):(be.updateQueue=null,be.memoizedState=null)}var Re=u1(O);if(Re!==null){Re.flags&=-257,d1(Re,O,U,S,c),Re.mode&1&&c1(S,ce,c),c=Re,Y=ce;var Qe=c.updateQueue;if(Qe===null){var Ue=new Set;Ue.add(Y),c.updateQueue=Ue}else Qe.add(Y);break e}else{if((c&1)===0){c1(S,ce,c),og();break e}Y=Error(n(426))}}else if(Kt&&U.mode&1){var cn=u1(O);if(cn!==null){(cn.flags&65536)===0&&(cn.flags|=256),d1(cn,O,U,S,c),gA($a(Y,U));break e}}S=Y=$a(Y,U),wn!==4&&(wn=2),Tc===null?Tc=[S]:Tc.push(S),S=O;do{switch(S.tag){case 3:S.flags|=65536,c&=-c,S.lanes|=c;var ne=a1(S,Y,c);Ow(S,ne);break e;case 1:U=Y;var X=S.type,se=S.stateNode;if((S.flags&128)===0&&(typeof X.getDerivedStateFromError=="function"||se!==null&&typeof se.componentDidCatch=="function"&&(ss===null||!ss.has(se)))){S.flags|=65536,c&=-c,S.lanes|=c;var Pe=l1(S,U,c);Ow(S,Pe);break e}}S=S.return}while(S!==null)}H1(f)}catch(Ye){c=Ye,hn===f&&f!==null&&(hn=f=f.return);continue}break}while(!0)}function z1(){var s=Wd.current;return Wd.current=jd,s===null?jd:s}function og(){(wn===0||wn===3||wn===2)&&(wn=4),Pn===null||(Xs&268435455)===0&&(Yd&268435455)===0||cs(Pn,Nn)}function Zd(s,c){var f=St;St|=2;var g=z1();(Pn!==s||Nn!==c)&&(Po=null,Zs(s,c));do try{j4();break}catch(v){j1(s,v)}while(!0);if(vA(),St=f,Wd.current=g,hn!==null)throw Error(n(261));return Pn=null,Nn=0,wn}function j4(){for(;hn!==null;)Q1(hn)}function z4(){for(;hn!==null&&!Pa();)Q1(hn)}function Q1(s){var c=W1(s.alternate,s,jr);s.memoizedProps=s.pendingProps,c===null?H1(s):hn=c,XA.current=null}function H1(s){var c=s;do{var f=c.alternate;if(s=c.return,(c.flags&32768)===0){if(f=I4(f,c,jr),f!==null){hn=f;return}}else{if(f=M4(f,c),f!==null){f.flags&=32767,hn=f;return}if(s!==null)s.flags|=32768,s.subtreeFlags=0,s.deletions=null;else{wn=6,hn=null;return}}if(c=c.sibling,c!==null){hn=c;return}hn=c=s}while(c!==null);wn===0&&(wn=5)}function $s(s,c,f){var g=Ie,v=ri.transition;try{ri.transition=null,Ie=1,Q4(s,c,f,g)}finally{ri.transition=v,Ie=g}return null}function Q4(s,c,f,g){do rl();while(as!==null);if((St&6)!==0)throw Error(n(327));f=s.finishedWork;var v=s.finishedLanes;if(f===null)return null;if(s.finishedWork=null,s.finishedLanes=0,f===s.current)throw Error(n(177));s.callbackNode=null,s.callbackPriority=0;var S=f.lanes|f.childLanes;if(he(s,S),s===Pn&&(hn=Pn=null,Nn=0),(f.subtreeFlags&2064)===0&&(f.flags&2064)===0||Kd||(Kd=!0,Y1(Ui,function(){return rl(),null})),S=(f.flags&15990)!==0,(f.subtreeFlags&15990)!==0||S){S=ri.transition,ri.transition=null;var O=Ie;Ie=1;var U=St;St|=4,XA.current=null,R4(s,f),I1(f,s),a4(oA),Lr=!!iA,oA=iA=null,s.current=f,L4(f),Da(),St=U,Ie=O,ri.transition=S}else s.current=f;if(Kd&&(Kd=!1,as=s,Gd=v),S=s.pendingLanes,S===0&&(ss=null),ho(f.stateNode),wr(s,Lt()),c!==null)for(g=s.onRecoverableError,f=0;f<c.length;f++)v=c[f],g(v.value,{componentStack:v.stack,digest:v.digest});if(qd)throw qd=!1,s=$A,$A=null,s;return(Gd&1)!==0&&s.tag!==0&&rl(),S=s.pendingLanes,(S&1)!==0?s===eg?Bc++:(Bc=0,eg=s):Bc=0,ns(),null}function rl(){if(as!==null){var s=tt(Gd),c=ri.transition,f=Ie;try{if(ri.transition=null,Ie=16>s?16:s,as===null)var g=!1;else{if(s=as,as=null,Gd=0,(St&6)!==0)throw Error(n(331));var v=St;for(St|=4,Fe=s.current;Fe!==null;){var S=Fe,O=S.child;if((Fe.flags&16)!==0){var U=S.deletions;if(U!==null){for(var Y=0;Y<U.length;Y++){var ce=U[Y];for(Fe=ce;Fe!==null;){var be=Fe;switch(be.tag){case 0:case 11:case 15:Pc(8,be,S)}var xe=be.child;if(xe!==null)xe.return=be,Fe=xe;else for(;Fe!==null;){be=Fe;var ye=be.sibling,Re=be.return;if(P1(be),be===ce){Fe=null;break}if(ye!==null){ye.return=Re,Fe=ye;break}Fe=Re}}}var Qe=S.alternate;if(Qe!==null){var Ue=Qe.child;if(Ue!==null){Qe.child=null;do{var cn=Ue.sibling;Ue.sibling=null,Ue=cn}while(Ue!==null)}}Fe=S}}if((S.subtreeFlags&2064)!==0&&O!==null)O.return=S,Fe=O;else e:for(;Fe!==null;){if(S=Fe,(S.flags&2048)!==0)switch(S.tag){case 0:case 11:case 15:Pc(9,S,S.return)}var ne=S.sibling;if(ne!==null){ne.return=S.return,Fe=ne;break e}Fe=S.return}}var X=s.current;for(Fe=X;Fe!==null;){O=Fe;var se=O.child;if((O.subtreeFlags&2064)!==0&&se!==null)se.return=O,Fe=se;else e:for(O=X;Fe!==null;){if(U=Fe,(U.flags&2048)!==0)try{switch(U.tag){case 0:case 11:case 15:Vd(9,U)}}catch(Ye){sn(U,U.return,Ye)}if(U===O){Fe=null;break e}var Pe=U.sibling;if(Pe!==null){Pe.return=U.return,Fe=Pe;break e}Fe=U.return}}if(St=v,ns(),$n&&typeof $n.onPostCommitFiberRoot=="function")try{$n.onPostCommitFiberRoot(Or,s)}catch{}g=!0}return g}finally{Ie=f,ri.transition=c}}return!1}function U1(s,c,f){c=$a(f,c),c=a1(s,c,1),s=is(s,c,1),c=nr(),s!==null&&($(s,1,c),wr(s,c))}function sn(s,c,f){if(s.tag===3)U1(s,s,f);else for(;c!==null;){if(c.tag===3){U1(c,s,f);break}else if(c.tag===1){var g=c.stateNode;if(typeof c.type.getDerivedStateFromError=="function"||typeof g.componentDidCatch=="function"&&(ss===null||!ss.has(g))){s=$a(f,s),s=l1(c,s,1),c=is(c,s,1),s=nr(),c!==null&&($(c,1,s),wr(c,s));break}}c=c.return}}function H4(s,c,f){var g=s.pingCache;g!==null&&g.delete(c),c=nr(),s.pingedLanes|=s.suspendedLanes&f,Pn===s&&(Nn&f)===f&&(wn===4||wn===3&&(Nn&130023424)===Nn&&500>Lt()-ZA?Zs(s,0):JA|=f),wr(s,c)}function V1(s,c){c===0&&((s.mode&1)===0?c=1:(c=Ao,Ao<<=1,(Ao&130023424)===0&&(Ao=4194304)));var f=nr();s=So(s,c),s!==null&&($(s,c,f),wr(s,f))}function U4(s){var c=s.memoizedState,f=0;c!==null&&(f=c.retryLane),V1(s,f)}function V4(s,c){var f=0;switch(s.tag){case 13:var g=s.stateNode,v=s.memoizedState;v!==null&&(f=v.retryLane);break;case 19:g=s.stateNode;break;default:throw Error(n(314))}g!==null&&g.delete(c),V1(s,f)}var W1;W1=function(s,c,f){if(s!==null)if(s.memoizedProps!==c.pendingProps||vr.current)br=!0;else{if((s.lanes&f)===0&&(c.flags&128)===0)return br=!1,_4(s,c,f);br=(s.flags&131072)!==0}else br=!1,Kt&&(c.flags&1048576)!==0&&Sw(c,Pd,c.index);switch(c.lanes=0,c.tag){case 2:var g=c.type;Hd(s,c),s=c.pendingProps;var v=Wa(c,Yn.current);Ja(c,f),v=TA(null,c,g,s,v,f);var S=BA();return c.flags|=1,typeof v=="object"&&v!==null&&typeof v.render=="function"&&v.$$typeof===void 0?(c.tag=1,c.memoizedState=null,c.updateQueue=null,yr(g)?(S=!0,Sd(c)):S=!1,c.memoizedState=v.state!==null&&v.state!==void 0?v.state:null,wA(c),v.updater=zd,c.stateNode=v,v._reactInternals=c,LA(c,g,s,f),c=zA(null,c,g,!0,S,f)):(c.tag=0,Kt&&S&&fA(c),tr(null,c,v,f),c=c.child),c;case 16:g=c.elementType;e:{switch(Hd(s,c),s=c.pendingProps,v=g._init,g=v(g._payload),c.type=g,v=c.tag=Y4(g),s=mi(g,s),v){case 0:c=jA(null,c,g,s,f);break e;case 1:c=m1(null,c,g,s,f);break e;case 11:c=f1(null,c,g,s,f);break e;case 14:c=p1(null,c,g,mi(g.type,s),f);break e}throw Error(n(306,g,""))}return c;case 0:return g=c.type,v=c.pendingProps,v=c.elementType===g?v:mi(g,v),jA(s,c,g,v,f);case 1:return g=c.type,v=c.pendingProps,v=c.elementType===g?v:mi(g,v),m1(s,c,g,v,f);case 3:e:{if(v1(c),s===null)throw Error(n(387));g=c.pendingProps,S=c.memoizedState,v=S.element,Mw(s,c),Md(c,g,null,f);var O=c.memoizedState;if(g=O.element,S.isDehydrated)if(S={element:g,isDehydrated:!1,cache:O.cache,pendingSuspenseBoundaries:O.pendingSuspenseBoundaries,transitions:O.transitions},c.updateQueue.baseState=S,c.memoizedState=S,c.flags&256){v=$a(Error(n(423)),c),c=y1(s,c,g,f,v);break e}else if(g!==v){v=$a(Error(n(424)),c),c=y1(s,c,g,f,v);break e}else for(Fr=$o(c.stateNode.containerInfo.firstChild),Nr=c,Kt=!0,gi=null,f=_w(c,null,g,f),c.child=f;f;)f.flags=f.flags&-3|4096,f=f.sibling;else{if(Ka(),g===v){c=Co(s,c,f);break e}tr(s,c,g,f)}c=c.child}return c;case 5:return Lw(c),s===null&&AA(c),g=c.type,v=c.pendingProps,S=s!==null?s.memoizedProps:null,O=v.children,sA(g,v)?O=null:S!==null&&sA(g,S)&&(c.flags|=32),g1(s,c),tr(s,c,O,f),c.child;case 6:return s===null&&AA(c),null;case 13:return b1(s,c,f);case 4:return kA(c,c.stateNode.containerInfo),g=c.pendingProps,s===null?c.child=Ga(c,null,g,f):tr(s,c,g,f),c.child;case 11:return g=c.type,v=c.pendingProps,v=c.elementType===g?v:mi(g,v),f1(s,c,g,v,f);case 7:return tr(s,c,c.pendingProps,f),c.child;case 8:return tr(s,c,c.pendingProps.children,f),c.child;case 12:return tr(s,c,c.pendingProps.children,f),c.child;case 10:e:{if(g=c.type._context,v=c.pendingProps,S=c.memoizedProps,O=v.value,Qt(Bd,g._currentValue),g._currentValue=O,S!==null)if(Ai(S.value,O)){if(S.children===v.children&&!vr.current){c=Co(s,c,f);break e}}else for(S=c.child,S!==null&&(S.return=c);S!==null;){var U=S.dependencies;if(U!==null){O=S.child;for(var Y=U.firstContext;Y!==null;){if(Y.context===g){if(S.tag===1){Y=Eo(-1,f&-f),Y.tag=2;var ce=S.updateQueue;if(ce!==null){ce=ce.shared;var be=ce.pending;be===null?Y.next=Y:(Y.next=be.next,be.next=Y),ce.pending=Y}}S.lanes|=f,Y=S.alternate,Y!==null&&(Y.lanes|=f),bA(S.return,f,c),U.lanes|=f;break}Y=Y.next}}else if(S.tag===10)O=S.type===c.type?null:S.child;else if(S.tag===18){if(O=S.return,O===null)throw Error(n(341));O.lanes|=f,U=O.alternate,U!==null&&(U.lanes|=f),bA(O,f,c),O=S.sibling}else O=S.child;if(O!==null)O.return=S;else for(O=S;O!==null;){if(O===c){O=null;break}if(S=O.sibling,S!==null){S.return=O.return,O=S;break}O=O.return}S=O}tr(s,c,v.children,f),c=c.child}return c;case 9:return v=c.type,g=c.pendingProps.children,Ja(c,f),v=ti(v),g=g(v),c.flags|=1,tr(s,c,g,f),c.child;case 14:return g=c.type,v=mi(g,c.pendingProps),v=mi(g.type,v),p1(s,c,g,v,f);case 15:return h1(s,c,c.type,c.pendingProps,f);case 17:return g=c.type,v=c.pendingProps,v=c.elementType===g?v:mi(g,v),Hd(s,c),c.tag=1,yr(g)?(s=!0,Sd(c)):s=!1,Ja(c,f),o1(c,g,v),LA(c,g,v,f),zA(null,c,g,!0,s,f);case 19:return w1(s,c,f);case 22:return A1(s,c,f)}throw Error(n(156,c.tag))};function Y1(s,c){return po(s,c)}function W4(s,c,f,g){this.tag=s,this.key=f,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=c,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=g,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ii(s,c,f,g){return new W4(s,c,f,g)}function sg(s){return s=s.prototype,!(!s||!s.isReactComponent)}function Y4(s){if(typeof s=="function")return sg(s)?1:0;if(s!=null){if(s=s.$$typeof,s===W)return 11;if(s===te)return 14}return 2}function us(s,c){var f=s.alternate;return f===null?(f=ii(s.tag,c,s.key,s.mode),f.elementType=s.elementType,f.type=s.type,f.stateNode=s.stateNode,f.alternate=s,s.alternate=f):(f.pendingProps=c,f.type=s.type,f.flags=0,f.subtreeFlags=0,f.deletions=null),f.flags=s.flags&14680064,f.childLanes=s.childLanes,f.lanes=s.lanes,f.child=s.child,f.memoizedProps=s.memoizedProps,f.memoizedState=s.memoizedState,f.updateQueue=s.updateQueue,c=s.dependencies,f.dependencies=c===null?null:{lanes:c.lanes,firstContext:c.firstContext},f.sibling=s.sibling,f.index=s.index,f.ref=s.ref,f}function $d(s,c,f,g,v,S){var O=2;if(g=s,typeof s=="function")sg(s)&&(O=1);else if(typeof s=="string")O=5;else e:switch(s){case z:return ea(f.children,v,S,c);case V:O=8,v|=8;break;case K:return s=ii(12,f,c,v|2),s.elementType=K,s.lanes=S,s;case ie:return s=ii(13,f,c,v),s.elementType=ie,s.lanes=S,s;case ue:return s=ii(19,f,c,v),s.elementType=ue,s.lanes=S,s;case ee:return ef(f,v,S,c);default:if(typeof s=="object"&&s!==null)switch(s.$$typeof){case q:O=10;break e;case Z:O=9;break e;case W:O=11;break e;case te:O=14;break e;case pe:O=16,g=null;break e}throw Error(n(130,s==null?s:typeof s,""))}return c=ii(O,f,c,v),c.elementType=s,c.type=g,c.lanes=S,c}function ea(s,c,f,g){return s=ii(7,s,g,c),s.lanes=f,s}function ef(s,c,f,g){return s=ii(22,s,g,c),s.elementType=ee,s.lanes=f,s.stateNode={isHidden:!1},s}function ag(s,c,f){return s=ii(6,s,null,c),s.lanes=f,s}function lg(s,c,f){return c=ii(4,s.children!==null?s.children:[],s.key,c),c.lanes=f,c.stateNode={containerInfo:s.containerInfo,pendingChildren:null,implementation:s.implementation},c}function q4(s,c,f,g,v){this.tag=c,this.containerInfo=s,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=oe(0),this.expirationTimes=oe(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=oe(0),this.identifierPrefix=g,this.onRecoverableError=v,this.mutableSourceEagerHydrationData=null}function cg(s,c,f,g,v,S,O,U,Y){return s=new q4(s,c,f,U,Y),c===1?(c=1,S===!0&&(c|=8)):c=0,S=ii(3,null,null,c),s.current=S,S.stateNode=s,S.memoizedState={element:g,isDehydrated:f,cache:null,transitions:null,pendingSuspenseBoundaries:null},wA(S),s}function K4(s,c,f){var g=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:R,key:g==null?null:""+g,children:s,containerInfo:c,implementation:f}}function q1(s){if(!s)return ts;s=s._reactInternals;e:{if(En(s)!==s||s.tag!==1)throw Error(n(170));var c=s;do{switch(c.tag){case 3:c=c.stateNode.context;break e;case 1:if(yr(c.type)){c=c.stateNode.__reactInternalMemoizedMergedChildContext;break e}}c=c.return}while(c!==null);throw Error(n(171))}if(s.tag===1){var f=s.type;if(yr(f))return xw(s,f,c)}return c}function K1(s,c,f,g,v,S,O,U,Y){return s=cg(f,g,!0,s,v,S,O,U,Y),s.context=q1(null),f=s.current,g=nr(),v=ls(f),S=Eo(g,v),S.callback=c??null,is(f,S,v),s.current.lanes=v,$(s,v,g),wr(s,g),s}function tf(s,c,f,g){var v=c.current,S=nr(),O=ls(v);return f=q1(f),c.context===null?c.context=f:c.pendingContext=f,c=Eo(S,O),c.payload={element:s},g=g===void 0?null:g,g!==null&&(c.callback=g),s=is(v,c,O),s!==null&&(bi(s,v,O,S),Id(s,v,O)),O}function nf(s){return s=s.current,s.child?(s.child.tag===5,s.child.stateNode):null}function G1(s,c){if(s=s.memoizedState,s!==null&&s.dehydrated!==null){var f=s.retryLane;s.retryLane=f!==0&&f<c?f:c}}function ug(s,c){G1(s,c),(s=s.alternate)&&G1(s,c)}function G4(){return null}var X1=typeof reportError=="function"?reportError:function(s){console.error(s)};function dg(s){this._internalRoot=s}rf.prototype.render=dg.prototype.render=function(s){var c=this._internalRoot;if(c===null)throw Error(n(409));tf(s,c,null,null)},rf.prototype.unmount=dg.prototype.unmount=function(){var s=this._internalRoot;if(s!==null){this._internalRoot=null;var c=s.containerInfo;Js(function(){tf(null,s,null,null)}),c[bo]=null}};function rf(s){this._internalRoot=s}rf.prototype.unstable_scheduleHydration=function(s){if(s){var c=fr();s={blockedOn:null,target:s,priority:c};for(var f=0;f<qi.length&&c!==0&&c<qi[f].priority;f++);qi.splice(f,0,s),f===0&&Jr(s)}};function fg(s){return!(!s||s.nodeType!==1&&s.nodeType!==9&&s.nodeType!==11)}function of(s){return!(!s||s.nodeType!==1&&s.nodeType!==9&&s.nodeType!==11&&(s.nodeType!==8||s.nodeValue!==" react-mount-point-unstable "))}function J1(){}function X4(s,c,f,g,v){if(v){if(typeof g=="function"){var S=g;g=function(){var ce=nf(O);S.call(ce)}}var O=K1(c,g,s,0,null,!1,!1,"",J1);return s._reactRootContainer=O,s[bo]=O.current,hc(s.nodeType===8?s.parentNode:s),Js(),O}for(;v=s.lastChild;)s.removeChild(v);if(typeof g=="function"){var U=g;g=function(){var ce=nf(Y);U.call(ce)}}var Y=cg(s,0,!1,null,null,!1,!1,"",J1);return s._reactRootContainer=Y,s[bo]=Y.current,hc(s.nodeType===8?s.parentNode:s),Js(function(){tf(c,Y,f,g)}),Y}function sf(s,c,f,g,v){var S=f._reactRootContainer;if(S){var O=S;if(typeof v=="function"){var U=v;v=function(){var Y=nf(O);U.call(Y)}}tf(c,O,s,v)}else O=X4(f,c,s,v,g);return nf(O)}ut=function(s){switch(s.tag){case 3:var c=s.stateNode;if(c.current.memoizedState.isDehydrated){var f=Vi(c.pendingLanes);f!==0&&(De(c,f|1),wr(c,Lt()),(St&6)===0&&(nl=Lt()+500,ns()))}break;case 13:Js(function(){var g=So(s,1);if(g!==null){var v=nr();bi(g,s,1,v)}}),ug(s,1)}},It=function(s){if(s.tag===13){var c=So(s,134217728);if(c!==null){var f=nr();bi(c,s,134217728,f)}ug(s,134217728)}},dr=function(s){if(s.tag===13){var c=ls(s),f=So(s,c);if(f!==null){var g=nr();bi(f,s,c,g)}ug(s,c)}},fr=function(){return Ie},Un=function(s,c){var f=Ie;try{return Ie=s,c()}finally{Ie=f}},bt=function(s,c,f){switch(c){case"input":if(lt(s,f),c=f.name,f.type==="radio"&&c!=null){for(f=s;f.parentNode;)f=f.parentNode;for(f=f.querySelectorAll("input[name="+JSON.stringify(""+c)+'][type="radio"]'),c=0;c<f.length;c++){var g=f[c];if(g!==s&&g.form===s.form){var v=wd(g);if(!v)throw Error(n(90));Me(g),lt(g,v)}}}break;case"textarea":fn(s,f);break;case"select":c=f.value,c!=null&&Rt(s,!!f.multiple,c,!1)}},Ut=rg,an=Js;var J4={usingClientEntryPoint:!1,Events:[mc,Ua,wd,qt,rn,rg]},_c={findFiberByHostInstance:Us,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Z4={bundleType:_c.bundleType,version:_c.version,rendererPackageName:_c.rendererPackageName,rendererConfig:_c.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:C.ReactCurrentDispatcher,findHostInstanceByFiber:function(s){return s=ci(s),s===null?null:s.stateNode},findFiberByHostInstance:_c.findFiberByHostInstance||G4,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var af=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!af.isDisabled&&af.supportsFiber)try{Or=af.inject(Z4),$n=af}catch{}}return rr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=J4,rr.createPortal=function(s,c){var f=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!fg(c))throw Error(n(200));return K4(s,c,null,f)},rr.createRoot=function(s,c){if(!fg(s))throw Error(n(299));var f=!1,g="",v=X1;return c!=null&&(c.unstable_strictMode===!0&&(f=!0),c.identifierPrefix!==void 0&&(g=c.identifierPrefix),c.onRecoverableError!==void 0&&(v=c.onRecoverableError)),c=cg(s,1,!1,null,null,f,!1,g,v),s[bo]=c.current,hc(s.nodeType===8?s.parentNode:s),new dg(c)},rr.findDOMNode=function(s){if(s==null)return null;if(s.nodeType===1)return s;var c=s._reactInternals;if(c===void 0)throw typeof s.render=="function"?Error(n(188)):(s=Object.keys(s).join(","),Error(n(268,s)));return s=ci(c),s=s===null?null:s.stateNode,s},rr.flushSync=function(s){return Js(s)},rr.hydrate=function(s,c,f){if(!of(c))throw Error(n(200));return sf(null,s,c,!0,f)},rr.hydrateRoot=function(s,c,f){if(!fg(s))throw Error(n(405));var g=f!=null&&f.hydratedSources||null,v=!1,S="",O=X1;if(f!=null&&(f.unstable_strictMode===!0&&(v=!0),f.identifierPrefix!==void 0&&(S=f.identifierPrefix),f.onRecoverableError!==void 0&&(O=f.onRecoverableError)),c=K1(c,null,s,1,f??null,v,!1,S,O),s[bo]=c.current,hc(s),g)for(s=0;s<g.length;s++)f=g[s],v=f._getVersion,v=v(f._source),c.mutableSourceEagerHydrationData==null?c.mutableSourceEagerHydrationData=[f,v]:c.mutableSourceEagerHydrationData.push(f,v);return new rf(c)},rr.render=function(s,c,f){if(!of(c))throw Error(n(200));return sf(null,s,c,!1,f)},rr.unmountComponentAtNode=function(s){if(!of(s))throw Error(n(40));return s._reactRootContainer?(Js(function(){sf(null,null,s,!1,function(){s._reactRootContainer=null,s[bo]=null})}),!0):!1},rr.unstable_batchedUpdates=rg,rr.unstable_renderSubtreeIntoContainer=function(s,c,f,g){if(!of(f))throw Error(n(200));if(s==null||s._reactInternals===void 0)throw Error(n(38));return sf(s,c,f,!1,g)},rr.version="18.3.1-next-f1338f8080-20240426",rr}var bg;function xg(){if(bg)return uf.exports;bg=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){console.error(e)}}return t(),uf.exports=rk(),uf.exports}var wg;function ik(){if(wg)return Ic;wg=1;var t=xg();return Ic.createRoot=t.createRoot,Ic.hydrateRoot=t.hydrateRoot,Ic}var ok=ik();const sk="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20fill='%231a5b6e'%20className='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 pf({expandWidth:t=!1,homeTitle:e="ACCESS Home",homeUrl:n="https://access-ci.org/",items:r=[],topBorder:i=!1}){if(!(!r||!r.length))return E.jsxs("ul",{className:`breadcrumbs ${t?"expand":""} ${i?"top-border":""}`,children:[E.jsx("li",{className:"home",children:E.jsx("a",{href:n,title:e,children:E.jsx("img",{src:sk,alt:e,height:"14"})})},"home"),r.map(o=>E.jsx("li",{className:o.classes||"",children:o.href||o.onClick?E.jsx("a",{href:o.href,onClick:o.onClick,children:o.name}):o.name},o.name))]})}const ak=T.createContext(null),hf={didCatch:!1,error:null};class kg extends T.Component{constructor(e){super(e),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=hf}static getDerivedStateFromError(e){return{didCatch:!0,error:e}}resetErrorBoundary(...e){const{error:n}=this.state;n!==null&&(this.props.onReset?.({args:e,reason:"imperative-api"}),this.setState(hf))}componentDidCatch(e,n){this.props.onError?.(e,n)}componentDidUpdate(e,n){const{didCatch:r}=this.state,{resetKeys:i}=this.props;r&&n.error!==null&&lk(e.resetKeys,i)&&(this.props.onReset?.({next:i,prev:e.resetKeys,reason:"keys"}),this.setState(hf))}render(){const{children:e,fallbackRender:n,FallbackComponent:r,fallback:i}=this.props,{didCatch:o,error:a}=this.state;let l=e;if(o){const u={error:a,resetErrorBoundary:this.resetErrorBoundary};if(typeof n=="function")l=n(u);else if(r)l=T.createElement(r,u);else if(i!==void 0)l=i;else throw a}return T.createElement(ak.Provider,{value:{didCatch:o,error:a,resetErrorBoundary:this.resetErrorBoundary}},l)}}function lk(t=[],e=[]){return t.length!==e.length||t.some((n,r)=>!Object.is(n,e[r]))}const ck=T.lazy(()=>Promise.resolve().then(()=>SD).then(t=>({default:t.QABot})));let Sg=class extends T.Component{render(){const{welcome:e,isLoggedIn:n,open:r,onOpenChange:i,apiKey:o,embedded:a,loginUrl:l,userEmail:u,userName:d,accessId:p,resourceContext:h,onAnalyticsEvent:A,qaEndpoint:m,ratingEndpoint:b}=this.props,w=o||void 0||null;if(!w)return console.error("QA Bot: No valid API key provided"),null;const y=n!==void 0?n:document.cookie.split("; ").includes("SESSaccesscisso=1");return E.jsx(kg,{children:E.jsx(T.Suspense,{fallback:null,children:E.jsx(ck,{welcome:e,isLoggedIn:y,open:r,onOpenChange:i,embedded:a===!0,apiKey:w,loginUrl:l,userEmail:u,userName:d,accessId:p,resourceContext:h,onAnalyticsEvent:A,qaEndpoint:m,ratingEndpoint:b})})})}};const Eg=[{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/"}],Cg=[{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:Eg},{name:"Search",href:"https://support.access-ci.org/find",classes:"icon icon-search"}],Pg={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"}]},Dg={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"}]},uk=[{className:"bluesky",href:"https://bsky.app/profile/accessforci.bsky.social",name:"Bluesky"},{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"}],dk=[{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"}],fk="https://www.nsf.gov/awardsearch/show-award/",sl=({number:t})=>E.jsxs("a",{href:`${fk}?AWD_ID=${t}`,children:["#",t]}),Mc=({className:t=null,items:e})=>E.jsx("ul",{className:t,children:e.map(({className:n,name:r,href:i})=>E.jsx("li",{children:E.jsx("a",{className:n,href:i,children:r})},i))}),pk="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/wzczrxBOLlPcCf7h1Ry8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mUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAAASUVORK5CYII=",hk="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",Tg=({nsfUrl:t="https://www.nsf.gov",placement:e="header",siteName:n="",siteUrl:r="/"})=>E.jsxs("div",{className:`logo logo-${e}`,children:[E.jsx("a",{className:"nsf",href:t,children:E.jsx("img",{className:"nsf-logo",src:pk,alt:"National Science Foundation"})}),E.jsx("div",{className:"divider"}),E.jsxs("a",{className:"access",href:r,children:[E.jsx("img",{className:"access-logo",src:hk,alt:"ACCESS",role:"img"}),n&&e=="header"?E.jsx("span",{className:`name name-${n.toLocaleLowerCase().replace(" ","-")}`,children:n}):null]})]}),Af=(t=900)=>document.body.clientWidth>=t?"desktop":"mobile",Bg=(t=900)=>{const[e,n]=T.useState(Af(t));return T.useEffect(()=>{window.addEventListener("resize",()=>n(Af(t)))},[]),e},_g=()=>window.pageYOffset!==void 0?window.pageYOffset:(document.documentElement||document.body.parentNode||document.body).scrollTop,Ig={},Oc={},Ak=(t,{body:e=null,cache:n=!0,corsProxy:r=!1,headers:i=void 0,method:o="GET"}={body:null,cache:!0,corsProxy:!1,headers:void 0,method:"GET"})=>{const a=`${t}|${e}`;if(n&&a in Ig)return Ig[a];if(a in Oc)return Oc[a];const l=fetch(r?`https://corsproxy.io/?${encodeURIComponent(t)}`:t,{body:e,headers:i,method:o}).then(u=>{if(delete Oc[t],u.status<200||u.status>299)return{error:{status:u.status}};try{return u.json()}catch(d){return{error:{message:d}}}});return Oc[a]=l,l},Xn=(t,{body:e=null,cache:n=!0,corsProxy:r=!1,defaultValue:i=null,headers:o=void 0,method:a="GET"}={body:null,cache:!0,corsProxy:!1,defaultValue:null,headers:void 0,method:"GET"})=>{const[l,u]=T.useState(i);let d=!1;return Array.isArray(t)||(t=t?[t]:[],d=!0),T.useEffect(()=>{t.length&&(async()=>{const p=await Promise.all(t.map(A=>Ak(A,{body:e,cache:n,corsProxy:r,headers:o,method:a}))),h=d?p[0]:p;u(h)})()},[t.join(" ")]),l},Mg=()=>{const t=Xn("https://operations-api.access-ci.org/wh2/cider/v1/access-active-groups/type/resource-catalog.access-ci.org/");return gf([t],({results:e})=>{const{active_groups:n,feature_categories:r,features:i,organizations:o,resources:a}=e,l=[{tagCategoryId:-1,name:"Resource Provider",tags:[]}],u=[-1];for(let w of r)[100,102,103].includes(w.feature_category_id)&&(l.push({tagCategoryId:w.feature_category_id,name:w.feature_category_name,tags:[]}),u.push(w.feature_category_id));l.sort((w,y)=>w.name.localeCompare(y.name));const d=i.filter(w=>u.includes(w.feature_category_id)).map(w=>({tagId:w.feature_id,name:w.feature_name,tagCategoryId:w.feature_category_id})),p={};for(let w of o)d.push({tagId:w.organization_id*-1,name:w.organization_name,tagCategoryId:-1,iconUri:w.organization_favicon_url||null}),p[w.organization_id]=w;d.sort((w,y)=>w.name.localeCompare(y.name));const h=d.map(w=>w.tagId),A=[{resourceCategoryId:1,name:"Compute & Storage Resources",resourceGroups:[],resourceGroupIds:[]},{resourceCategoryId:2,name:"Program & Other Resources",resourceGroups:[],resourceGroupIds:[]}],m=n.filter(w=>w.rollup_info_resourceids).map(w=>({infoGroupId:w.info_groupid,name:w.group_descriptive_name,description:w.group_description,infoResourceIds:w.rollup_info_resourceids,imageUri:w.group_logo_url?`https://cider.access-ci.org/public/groups/${w.group_logo_url.match(/[0-9]+/)[0]}/logo`:null,tagIds:[...w.rollup_organization_ids.map(y=>y*-1).filter(y=>h.includes(y)),...w.rollup_feature_ids.filter(y=>h.includes(y))],resourceCategoryId:w.rollup_feature_ids.includes(137)?2:1,accessAllocated:w.rollup_feature_ids.includes(139),organizations:w.rollup_organization_ids.map(y=>p[y]).filter(y=>y),resources:a.filter(y=>w.rollup_info_resourceids.includes(y.info_resourceid))})),b=m.find(w=>w.infoGroupId==="cloudbank.access-ci.org");if(b)for(const w of["Amazon Web Services","Google Cloud","IBM Cloud","Microsoft Azure"])m.push({...b,infoGroupId:`${w.toLowerCase().replaceAll(" ","-")}${b.infoGroupId}`,parentInfoGroupId:b.infoGroupId,name:w});return m.sort((w,y)=>w.name.localeCompare(y.name)),mk({resourceCategories:A,resourceGroups:m,tags:d,tagCategories:l})})},al=(t,e=null)=>{const n=Mg();return n&&n.resourceGroups.find(r=>r.infoGroupId==t)||e},gk=(t,e=[])=>{const n=Xn(`https://operations-api.access-ci.org/wh2/cider/v1/access-active/info_groupid/${t}/?format=json`);return n&&!n.error?n.results:e},gf=(t,e,n=null)=>T.useMemo(()=>{if(!t.length)return n;for(let r of t)if(!r||r.error)return n;return e.apply(null,t)},t),mk=({resourceCategories:t,resourceGroups:e,tags:n,tagCategories:r})=>{const i={};for(let l of r)l.tags=[],i[l.tagCategoryId]=l;const o={};for(let l of n)l.tagCategory=i[l.tagCategoryId],l.tagCategory.tags.push(l),l.resources=[],o[l.tagId]=l;const a={};for(let l of t)l.resourceGroups=[],a[l.resourceCategoryId]=l;for(let l of e)l.resourceCategory=a[l.resourceCategoryId],l.resourceCategory.resourceGroups.push(l),l.tags=l.tagIds.map(u=>o[u]);return{resourceCategories:t,resourceGroups:e,tags:n,tagCategories:r}},vk=({resourceGroups:t,tags:e,tagCategories:n},r)=>{const i=new Set,o=new Set,a=new Set,l=new Set(r);for(let p of e)l.has(p.tagId)&&a.add(p.tagCategoryId);const u=n.filter(({tagCategoryId:p})=>a.has(p)),d=new Set(e.filter(p=>!a.has(p.tagCategoryId)).map(p=>p.tagId));for(let p of t){let h=!0;for(let A of u){let m=!1;for(let b of A.tags)if(l.has(b.tagId)&&p.tags.includes(b)){m=!0;break}if(!m){h=!1;break}}if(h){o.add(p.infoGroupId),i.add(p.resourceCategoryId);for(let A of p.tagIds)d.delete(A)}}return{disabledTagIds:d,resourceCategoryIds:i,infoGroupIds:o,tagCategoryIds:a,tagIds:l}},Og=t=>{let e=t.match(/href="([^"]+)"/);return e?e[1]:null},mf=t=>t.replace(/(<[^>]+>)/g,"").replace(/ /g," "),vf=t=>{const e=[];for(let n of t.split(/(\<\/p\>)|[\n\r]+/g)){if(!n)continue;const r=Array.from(n.matchAll(/<a([^>]+)>([^<]+)<\/a>/g)),i=n.split(/<a[^<]+<\/a>/g),o=[];for(;i.length>0;){o.push(mf(i.shift()));let a=r.shift();if(a){let l=Og(a[1]);l&&o.push(E.jsx("a",{href:l,children:a[2]}))}}e.push(E.jsx("p",{children:o},n))}return e},yk=({showAfterScroll:t=300})=>{const[e,n]=T.useState(!1);return T.useEffect(()=>{window.addEventListener("scroll",()=>n(_g()>=t))},[]),E.jsx("button",{className:`scroll-to-top ${e?"visible":""}`,title:"Return to Top",onClick:()=>window.scrollTo({top:0,behavior:"smooth"}),children:"Return to Top"})},bk=(t={})=>E.jsxs(E.Fragment,{children:[E.jsxs("div",{className:"container",children:[E.jsxs("div",{className:"upper",children:[E.jsxs("div",{className:"about",children:[E.jsxs("p",{className:"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"," ",E.jsx(sl,{number:2138259}),", ",E.jsx(sl,{number:2138286}),","," ",E.jsx(sl,{number:2138307}),", ",E.jsx(sl,{number:2137603})," and"," ",E.jsx(sl,{number:2138296}),"."]}),E.jsx("p",{className:"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."}),E.jsx("a",{className:"contact",href:"https://access-ci.org/contact/",children:"Contact ACCESS"}),E.jsx(Mc,{className:"social",items:uk})]}),E.jsxs("div",{className:"personas",children:[E.jsx("p",{children:"For:"}),E.jsx(Mc,{items:Eg})]})]}),E.jsxs("div",{className:"lower",children:[E.jsx(Tg,{siteName:"ACCESS",siteUrl:"https://access-ci.org",placement:"footer"}),E.jsx(Mc,{className:"links",items:dk})]})]}),E.jsx(yk,{...t})]}),xk=(t={})=>E.jsx("div",{className:"container",children:E.jsx(Tg,{...t})}),Rg=({autoOpenMode:t,classes:e="",href:n="",html:r="",items:i,mode:o,name:a,onClick:l,open:u,parentId:d="root",setOpen:p})=>{const h=T.useId(),A=u[d]==h,m=A||t==o,b=()=>p({...u,[d]:A?null:h});if(r)return E.jsx("div",{dangerouslySetInnerHTML:{__html:r}});if(n||l)return E.jsx("a",{href:n||"#",onClick:l,className:`item ${e||""}`,children:a});if(i)return E.jsxs(E.Fragment,{children:[a&&E.jsx("button",{"aria-expanded":m,"aria-controls":h,className:`item ${m?"expanded":"collapsed"}`,onClick:b,children:a}),E.jsx("ul",{className:e,id:h,hidden:!m,"aria-hidden":!m,children:i.map(({autoOpenMode:w,classes:y,href:P,html:M,items:D,name:C,onClick:j})=>E.jsx("li",{className:y||"",children:E.jsx(Rg,{autoOpenMode:w,href:P,html:M,items:D,mode:o,name:C,onClick:j,open:u,parentId:h,setOpen:p})},C||M))})]})},Lg=({classes:t,items:e,name:n})=>{const r=T.useRef(null),i=Bg(1280),[o,a]=T.useState({});T.useEffect(()=>{r.current&&(document.body.addEventListener("click",u=>{const d=r.current.getRootNode()?.host;u.target!==d&&Af()=="desktop"&&a({})}),r.current.addEventListener("keydown",({key:u})=>{u=="Escape"&&a({})}))},[]);const l=t?.includes("universal")?"ACCESS universal navigation":t?.includes("site")?`${n}`:n;return E.jsx("nav",{className:`menu ${t||""}`,"aria-label":l,ref:r,children:E.jsx(Rg,{autoOpenMode:"desktop",items:e,mode:i,name:n,open:o,setOpen:a})})},wk=({items:t,siteName:e=""})=>{const n=Bg(768),r=t.map(({name:i,href:o,items:a,onClick:l})=>{if(n=="mobile")for(;!o;)o=a[0].href,a=a[0];return o||l?E.jsx("div",{className:"column",children:E.jsx("h3",{children:E.jsx("a",{href:o,onClick:l,children:i})})},i):E.jsxs("div",{className:"column",children:[E.jsx("h3",{children:i}),E.jsx(Mc,{items:a})]},i)});return E.jsxs("nav",{className:"footer",children:[E.jsxs("h2",{children:["ACCESS ",e]}),E.jsx("div",{className:"columns",children:r})]})},kk=({items:t,isLoggedIn:e,loginUrl:n,logoutUrl:r,siteName:i})=>{if(e===void 0&&(e=document.cookie.split("; ").includes("SESSaccesscisso=1")),t===void 0){const o={...e?Pg:Dg};o.items=o.items.map(l=>({...l,href:l.name=="Login"&&n||l.name=="Log out"&&r||l.href})),t=[...Cg,o];let a=t.find(l=>(l.href||"").replace(/\/$/,"")==document.location.href.replace(/\/$/,""));i&&!a&&(a=t.find(l=>l.name==i)),a&&(a.classes+=" active")}return E.jsx(Lg,{classes:"universal",items:t,name:"ACCESS Menu"})},Sk=({items:t,siteName:e})=>E.jsx(Lg,{classes:"site",items:t,name:`${e} Menu`});var Ng="popstate";function Fg(t){return typeof t=="object"&&t!=null&&"pathname"in t&&"search"in t&&"hash"in t&&"state"in t&&"key"in t}function Ek(t={}){function e(r,i){let o=i.state?.masked,{pathname:a,search:l,hash:u}=o||r.location;return yf("",{pathname:a,search:l,hash:u},i.state&&i.state.usr||null,i.state&&i.state.key||"default",o?{pathname:r.location.pathname,search:r.location.search,hash:r.location.hash}:void 0)}function n(r,i){return typeof i=="string"?i:ll(i)}return Pk(e,n,null,t)}function Gt(t,e){if(t===!1||t===null||typeof t>"u")throw new Error(e)}function xi(t,e){if(!t){typeof console<"u"&&console.warn(e);try{throw new Error(e)}catch{}}}function Ck(){return Math.random().toString(36).substring(2,10)}function jg(t,e){return{usr:t.state,key:t.key,idx:e,masked:t.unstable_mask?{pathname:t.pathname,search:t.search,hash:t.hash}:void 0}}function yf(t,e,n=null,r,i){return{pathname:typeof t=="string"?t:t.pathname,search:"",hash:"",...typeof e=="string"?ta(e):e,state:n,key:e&&e.key||r||Ck(),unstable_mask:i}}function ll({pathname:t="/",search:e="",hash:n=""}){return e&&e!=="?"&&(t+=e.charAt(0)==="?"?e:"?"+e),n&&n!=="#"&&(t+=n.charAt(0)==="#"?n:"#"+n),t}function ta(t){let e={};if(t){let n=t.indexOf("#");n>=0&&(e.hash=t.substring(n),t=t.substring(0,n));let r=t.indexOf("?");r>=0&&(e.search=t.substring(r),t=t.substring(0,r)),t&&(e.pathname=t)}return e}function Pk(t,e,n,r={}){let{window:i=document.defaultView,v5Compat:o=!1}=r,a=i.history,l="POP",u=null,d=p();d==null&&(d=0,a.replaceState({...a.state,idx:d},""));function p(){return(a.state||{idx:null}).idx}function h(){l="POP";let y=p(),P=y==null?null:y-d;d=y,u&&u({action:l,location:w.location,delta:P})}function A(y,P){l="PUSH";let M=Fg(y)?y:yf(w.location,y,P);d=p()+1;let D=jg(M,d),C=w.createHref(M.unstable_mask||M);try{a.pushState(D,"",C)}catch(j){if(j instanceof DOMException&&j.name==="DataCloneError")throw j;i.location.assign(C)}o&&u&&u({action:l,location:w.location,delta:1})}function m(y,P){l="REPLACE";let M=Fg(y)?y:yf(w.location,y,P);d=p();let D=jg(M,d),C=w.createHref(M.unstable_mask||M);a.replaceState(D,"",C),o&&u&&u({action:l,location:w.location,delta:0})}function b(y){return Dk(y)}let w={get action(){return l},get location(){return t(i,a)},listen(y){if(u)throw new Error("A history only accepts one active listener");return i.addEventListener(Ng,h),u=y,()=>{i.removeEventListener(Ng,h),u=null}},createHref(y){return e(i,y)},createURL:b,encodeLocation(y){let P=b(y);return{pathname:P.pathname,search:P.search,hash:P.hash}},push:A,replace:m,go(y){return a.go(y)}};return w}function Dk(t,e=!1){let n="http://localhost";typeof window<"u"&&(n=window.location.origin!=="null"?window.location.origin:window.location.href),Gt(n,"No window.location.(origin|href) available to create URL");let r=typeof t=="string"?t:ll(t);return r=r.replace(/ $/,"%20"),!e&&r.startsWith("//")&&(r=n+r),new URL(r,n)}function zg(t,e,n="/"){return Tk(t,e,n,!1)}function Tk(t,e,n,r){let i=typeof e=="string"?ta(e):e,o=to(i.pathname||"/",n);if(o==null)return null;let a=Qg(t);Bk(a);let l=null;for(let u=0;l==null&&u<a.length;++u){let d=Qk(o);l=jk(a[u],d,r)}return l}function Qg(t,e=[],n=[],r="",i=!1){let o=(a,l,u=i,d)=>{let p={relativePath:d===void 0?a.path||"":d,caseSensitive:a.caseSensitive===!0,childrenIndex:l,route:a};if(p.relativePath.startsWith("/")){if(!p.relativePath.startsWith(r)&&u)return;Gt(p.relativePath.startsWith(r),`Absolute route path "${p.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),p.relativePath=p.relativePath.slice(r.length)}let h=wi([r,p.relativePath]),A=n.concat(p);a.children&&a.children.length>0&&(Gt(a.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${h}".`),Qg(a.children,e,A,h,u)),!(a.path==null&&!a.index)&&e.push({path:h,score:Nk(h,a.index),routesMeta:A})};return t.forEach((a,l)=>{if(a.path===""||!a.path?.includes("?"))o(a,l);else for(let u of Hg(a.path))o(a,l,!0,u)}),e}function Hg(t){let e=t.split("/");if(e.length===0)return[];let[n,...r]=e,i=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return i?[o,""]:[o];let a=Hg(r.join("/")),l=[];return l.push(...a.map(u=>u===""?o:[o,u].join("/"))),i&&l.push(...a),l.map(u=>t.startsWith("/")&&u===""?"/":u)}function Bk(t){t.sort((e,n)=>e.score!==n.score?n.score-e.score:Fk(e.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}var _k=/^:[\w-]+$/,Ik=3,Mk=2,Ok=1,Rk=10,Lk=-2,Ug=t=>t==="*";function Nk(t,e){let n=t.split("/"),r=n.length;return n.some(Ug)&&(r+=Lk),e&&(r+=Mk),n.filter(i=>!Ug(i)).reduce((i,o)=>i+(_k.test(o)?Ik:o===""?Ok:Rk),r)}function Fk(t,e){return t.length===e.length&&t.slice(0,-1).every((r,i)=>r===e[i])?t[t.length-1]-e[e.length-1]:0}function jk(t,e,n=!1){let{routesMeta:r}=t,i={},o="/",a=[];for(let l=0;l<r.length;++l){let u=r[l],d=l===r.length-1,p=o==="/"?e:e.slice(o.length)||"/",h=Rc({path:u.relativePath,caseSensitive:u.caseSensitive,end:d},p),A=u.route;if(!h&&d&&n&&!r[r.length-1].route.index&&(h=Rc({path:u.relativePath,caseSensitive:u.caseSensitive,end:!1},p)),!h)return null;Object.assign(i,h.params),a.push({params:i,pathname:wi([o,h.pathname]),pathnameBase:Wk(wi([o,h.pathnameBase])),route:A}),h.pathnameBase!=="/"&&(o=wi([o,h.pathnameBase]))}return a}function Rc(t,e){typeof t=="string"&&(t={path:t,caseSensitive:!1,end:!0});let[n,r]=zk(t.path,t.caseSensitive,t.end),i=e.match(n);if(!i)return null;let o=i[0],a=o.replace(/(.)\/+$/,"$1"),l=i.slice(1);return{params:r.reduce((d,{paramName:p,isOptional:h},A)=>{if(p==="*"){let b=l[A]||"";a=o.slice(0,o.length-b.length).replace(/(.)\/+$/,"$1")}const m=l[A];return h&&!m?d[p]=void 0:d[p]=(m||"").replace(/%2F/g,"/"),d},{}),pathname:o,pathnameBase:a,pattern:t}}function zk(t,e=!1,n=!0){xi(t==="*"||!t.endsWith("*")||t.endsWith("/*"),`Route path "${t}" will be treated as if it were "${t.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${t.replace(/\*$/,"/*")}".`);let r=[],i="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(a,l,u,d,p)=>{if(r.push({paramName:l,isOptional:u!=null}),u){let h=p.charAt(d+a.length);return h&&h!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return t.endsWith("*")?(r.push({paramName:"*"}),i+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":t!==""&&t!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,e?void 0:"i"),r]}function Qk(t){try{return t.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(e){return xi(!1,`The URL path "${t}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${e}).`),t}}function to(t,e){if(e==="/")return t;if(!t.toLowerCase().startsWith(e.toLowerCase()))return null;let n=e.endsWith("/")?e.length-1:e.length,r=t.charAt(n);return r&&r!=="/"?null:t.slice(n)||"/"}var Hk=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function Uk(t,e="/"){let{pathname:n,search:r="",hash:i=""}=typeof t=="string"?ta(t):t,o;return n?(n=n.replace(/\/\/+/g,"/"),n.startsWith("/")?o=Vg(n.substring(1),"/"):o=Vg(n,e)):o=e,{pathname:o,search:Yk(r),hash:qk(i)}}function Vg(t,e){let n=e.replace(/\/+$/,"").split("/");return t.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function bf(t,e,n,r){return`Cannot include a '${t}' character in a manually specified \`to.${e}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function Vk(t){return t.filter((e,n)=>n===0||e.route.path&&e.route.path.length>0)}function Wg(t){let e=Vk(t);return e.map((n,r)=>r===e.length-1?n.pathname:n.pathnameBase)}function xf(t,e,n,r=!1){let i;typeof t=="string"?i=ta(t):(i={...t},Gt(!i.pathname||!i.pathname.includes("?"),bf("?","pathname","search",i)),Gt(!i.pathname||!i.pathname.includes("#"),bf("#","pathname","hash",i)),Gt(!i.search||!i.search.includes("#"),bf("#","search","hash",i)));let o=t===""||i.pathname==="",a=o?"/":i.pathname,l;if(a==null)l=n;else{let h=e.length-1;if(!r&&a.startsWith("..")){let A=a.split("/");for(;A[0]==="..";)A.shift(),h-=1;i.pathname=A.join("/")}l=h>=0?e[h]:"/"}let u=Uk(i,l),d=a&&a!=="/"&&a.endsWith("/"),p=(o||a===".")&&n.endsWith("/");return!u.pathname.endsWith("/")&&(d||p)&&(u.pathname+="/"),u}var wi=t=>t.join("/").replace(/\/\/+/g,"/"),Wk=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),Yk=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,qk=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t,Kk=class{constructor(t,e,n,r=!1){this.status=t,this.statusText=e||"",this.internal=r,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function Gk(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}function Xk(t){return t.map(e=>e.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var Yg=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function qg(t,e){let n=t;if(typeof n!="string"||!Hk.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let r=n,i=!1;if(Yg)try{let o=new URL(window.location.href),a=n.startsWith("//")?new URL(o.protocol+n):new URL(n),l=to(a.pathname,e);a.origin===o.origin&&l!=null?n=l+a.search+a.hash:i=!0}catch{xi(!1,`<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:r,isExternal:i,to:n}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var Kg=["POST","PUT","PATCH","DELETE"];new Set(Kg);var Jk=["GET",...Kg];new Set(Jk);var na=T.createContext(null);na.displayName="DataRouter";var Lc=T.createContext(null);Lc.displayName="DataRouterState";var Zk=T.createContext(!1),Gg=T.createContext({isTransitioning:!1});Gg.displayName="ViewTransition";var $k=T.createContext(new Map);$k.displayName="Fetchers";var e2=T.createContext(null);e2.displayName="Await";var zr=T.createContext(null);zr.displayName="Navigation";var cl=T.createContext(null);cl.displayName="Location";var ki=T.createContext({outlet:null,matches:[],isDataRoute:!1});ki.displayName="Route";var wf=T.createContext(null);wf.displayName="RouteError";var Xg="REACT_ROUTER_ERROR",t2="REDIRECT",n2="ROUTE_ERROR_RESPONSE";function r2(t){if(t.startsWith(`${Xg}:${t2}:{`))try{let e=JSON.parse(t.slice(28));if(typeof e=="object"&&e&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.location=="string"&&typeof e.reloadDocument=="boolean"&&typeof e.replace=="boolean")return e}catch{}}function i2(t){if(t.startsWith(`${Xg}:${n2}:{`))try{let e=JSON.parse(t.slice(40));if(typeof e=="object"&&e&&typeof e.status=="number"&&typeof e.statusText=="string")return new Kk(e.status,e.statusText,e.data)}catch{}}function o2(t,{relative:e}={}){Gt(ul(),"useHref() may be used only in the context of a <Router> component.");let{basename:n,navigator:r}=T.useContext(zr),{hash:i,pathname:o,search:a}=dl(t,{relative:e}),l=o;return n!=="/"&&(l=o==="/"?n:wi([n,o])),r.createHref({pathname:l,search:a,hash:i})}function ul(){return T.useContext(cl)!=null}function Do(){return Gt(ul(),"useLocation() may be used only in the context of a <Router> component."),T.useContext(cl).location}var Jg="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Zg(t){T.useContext(zr).static||T.useLayoutEffect(t)}function s2(){let{isDataRoute:t}=T.useContext(ki);return t?b2():a2()}function a2(){Gt(ul(),"useNavigate() may be used only in the context of a <Router> component.");let t=T.useContext(na),{basename:e,navigator:n}=T.useContext(zr),{matches:r}=T.useContext(ki),{pathname:i}=Do(),o=JSON.stringify(Wg(r)),a=T.useRef(!1);return Zg(()=>{a.current=!0}),T.useCallback((u,d={})=>{if(xi(a.current,Jg),!a.current)return;if(typeof u=="number"){n.go(u);return}let p=xf(u,JSON.parse(o),i,d.relative==="path");t==null&&e!=="/"&&(p.pathname=p.pathname==="/"?e:wi([e,p.pathname])),(d.replace?n.replace:n.push)(p,d.state,d)},[e,n,o,i,t])}T.createContext(null);function l2(){let{matches:t}=T.useContext(ki),e=t[t.length-1];return e?e.params:{}}function dl(t,{relative:e}={}){let{matches:n}=T.useContext(ki),{pathname:r}=Do(),i=JSON.stringify(Wg(n));return T.useMemo(()=>xf(t,JSON.parse(i),r,e==="path"),[t,i,r,e])}function c2(t,e){return $g(t,e)}function $g(t,e,n){Gt(ul(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:r}=T.useContext(zr),{matches:i}=T.useContext(ki),o=i[i.length-1],a=o?o.params:{},l=o?o.pathname:"/",u=o?o.pathnameBase:"/",d=o&&o.route;{let y=d&&d.path||"";nm(l,!d||y.endsWith("*")||y.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${l}" (under <Route path="${y}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
|
|
9
9
|
|
|
10
10
|
Please change the parent <Route path="${y}"> to <Route path="${y==="/"?"*":`${y}/*`}">.`)}let p=Do(),h;if(e){let y=typeof e=="string"?ta(e):e;Gt(u==="/"||y.pathname?.startsWith(u),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${u}" but pathname "${y.pathname}" was given in the \`location\` prop.`),h=y}else h=p;let A=h.pathname||"/",m=A;if(u!=="/"){let y=u.replace(/^\//,"").split("/");m="/"+A.replace(/^\//,"").split("/").slice(y.length).join("/")}let b=zg(t,{pathname:m});xi(d||b!=null,`No routes matched location "${h.pathname}${h.search}${h.hash}" `),xi(b==null||b[b.length-1].route.element!==void 0||b[b.length-1].route.Component!==void 0||b[b.length-1].route.lazy!==void 0,`Matched leaf route at location "${h.pathname}${h.search}${h.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let w=h2(b&&b.map(y=>Object.assign({},y,{params:Object.assign({},a,y.params),pathname:wi([u,r.encodeLocation?r.encodeLocation(y.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:y.pathname]),pathnameBase:y.pathnameBase==="/"?u:wi([u,r.encodeLocation?r.encodeLocation(y.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:y.pathnameBase])})),i,n);return e&&w?T.createElement(cl.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",unstable_mask:void 0,...h},navigationType:"POP"}},w):w}function u2(){let t=y2(),e=Gk(t)?`${t.status} ${t.statusText}`:t instanceof Error?t.message:JSON.stringify(t),n=t instanceof Error?t.stack:null,r="rgba(200,200,200, 0.5)",i={padding:"0.5rem",backgroundColor:r},o={padding:"2px 4px",backgroundColor:r},a=null;return console.error("Error handled by React Router default ErrorBoundary:",t),a=T.createElement(T.Fragment,null,T.createElement("p",null,"💿 Hey developer 👋"),T.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",T.createElement("code",{style:o},"ErrorBoundary")," or"," ",T.createElement("code",{style:o},"errorElement")," prop on your route.")),T.createElement(T.Fragment,null,T.createElement("h2",null,"Unexpected Application Error!"),T.createElement("h3",{style:{fontStyle:"italic"}},e),n?T.createElement("pre",{style:i},n):null,a)}var d2=T.createElement(u2,null),em=class extends T.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,e){return e.location!==t.location||e.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:e.error,location:e.location,revalidation:t.revalidation||e.revalidation}}componentDidCatch(t,e){this.props.onError?this.props.onError(t,e):console.error("React Router caught the following error during render",t)}render(){let t=this.state.error;if(this.context&&typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){const n=i2(t.digest);n&&(t=n)}let e=t!==void 0?T.createElement(ki.Provider,{value:this.props.routeContext},T.createElement(wf.Provider,{value:t,children:this.props.component})):this.props.children;return this.context?T.createElement(f2,{error:t},e):e}};em.contextType=Zk;var kf=new WeakMap;function f2({children:t,error:e}){let{basename:n}=T.useContext(zr);if(typeof e=="object"&&e&&"digest"in e&&typeof e.digest=="string"){let r=r2(e.digest);if(r){let i=kf.get(e);if(i)throw i;let o=qg(r.location,n);if(Yg&&!kf.get(e))if(o.isExternal||r.reloadDocument)window.location.href=o.absoluteURL||o.to;else{const a=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(o.to,{replace:r.replace}));throw kf.set(e,a),a}return T.createElement("meta",{httpEquiv:"refresh",content:`0;url=${o.absoluteURL||o.to}`})}}return t}function p2({routeContext:t,match:e,children:n}){let r=T.useContext(na);return r&&r.static&&r.staticContext&&(e.route.errorElement||e.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=e.route.id),T.createElement(ki.Provider,{value:t},n)}function h2(t,e=[],n){let r=n?.state;if(t==null){if(!r)return null;if(r.errors)t=r.matches;else if(e.length===0&&!r.initialized&&r.matches.length>0)t=r.matches;else return null}let i=t,o=r?.errors;if(o!=null){let p=i.findIndex(h=>h.route.id&&o?.[h.route.id]!==void 0);Gt(p>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(o).join(",")}`),i=i.slice(0,Math.min(i.length,p+1))}let a=!1,l=-1;if(n&&r){a=r.renderFallback;for(let p=0;p<i.length;p++){let h=i[p];if((h.route.HydrateFallback||h.route.hydrateFallbackElement)&&(l=p),h.route.id){let{loaderData:A,errors:m}=r,b=h.route.loader&&!A.hasOwnProperty(h.route.id)&&(!m||m[h.route.id]===void 0);if(h.route.lazy||b){n.isStatic&&(a=!0),l>=0?i=i.slice(0,l+1):i=[i[0]];break}}}}let u=n?.onError,d=r&&u?(p,h)=>{u(p,{location:r.location,params:r.matches?.[0]?.params??{},unstable_pattern:Xk(r.matches),errorInfo:h})}:void 0;return i.reduceRight((p,h,A)=>{let m,b=!1,w=null,y=null;r&&(m=o&&h.route.id?o[h.route.id]:void 0,w=h.route.errorElement||d2,a&&(l<0&&A===0?(nm("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),b=!0,y=null):l===A&&(b=!0,y=h.route.hydrateFallbackElement||null)));let P=e.concat(i.slice(0,A+1)),M=()=>{let D;return m?D=w:b?D=y:h.route.Component?D=T.createElement(h.route.Component,null):h.route.element?D=h.route.element:D=p,T.createElement(p2,{match:h,routeContext:{outlet:p,matches:P,isDataRoute:r!=null},children:D})};return r&&(h.route.ErrorBoundary||h.route.errorElement||A===0)?T.createElement(em,{location:r.location,revalidation:r.revalidation,component:w,error:m,children:M(),routeContext:{outlet:null,matches:P,isDataRoute:!0},onError:d}):M()},null)}function Sf(t){return`${t} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function A2(t){let e=T.useContext(na);return Gt(e,Sf(t)),e}function g2(t){let e=T.useContext(Lc);return Gt(e,Sf(t)),e}function m2(t){let e=T.useContext(ki);return Gt(e,Sf(t)),e}function Ef(t){let e=m2(t),n=e.matches[e.matches.length-1];return Gt(n.route.id,`${t} can only be used on routes that contain a unique "id"`),n.route.id}function v2(){return Ef("useRouteId")}function y2(){let t=T.useContext(wf),e=g2("useRouteError"),n=Ef("useRouteError");return t!==void 0?t:e.errors?.[n]}function b2(){let{router:t}=A2("useNavigate"),e=Ef("useNavigate"),n=T.useRef(!1);return Zg(()=>{n.current=!0}),T.useCallback(async(i,o={})=>{xi(n.current,Jg),n.current&&(typeof i=="number"?await t.navigate(i):await t.navigate(i,{fromRouteId:e,...o}))},[t,e])}var tm={};function nm(t,e,n){!e&&!tm[t]&&(tm[t]=!0,xi(!1,n))}T.memo(x2);function x2({routes:t,future:e,state:n,isStatic:r,onError:i}){return $g(t,void 0,{state:n,isStatic:r,onError:i})}function Cf(t){Gt(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function w2({basename:t="/",children:e=null,location:n,navigationType:r="POP",navigator:i,static:o=!1,unstable_useTransitions:a}){Gt(!ul(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let l=t.replace(/^\/*/,"/"),u=T.useMemo(()=>({basename:l,navigator:i,static:o,unstable_useTransitions:a,future:{}}),[l,i,o,a]);typeof n=="string"&&(n=ta(n));let{pathname:d="/",search:p="",hash:h="",state:A=null,key:m="default",unstable_mask:b}=n,w=T.useMemo(()=>{let y=to(d,l);return y==null?null:{location:{pathname:y,search:p,hash:h,state:A,key:m,unstable_mask:b},navigationType:r}},[l,d,p,h,A,m,r,b]);return xi(w!=null,`<Router basename="${l}"> is not able to match the URL "${d}${p}${h}" because it does not start with the basename, so the <Router> won't render anything.`),w==null?null:T.createElement(zr.Provider,{value:u},T.createElement(cl.Provider,{children:e,value:w}))}function k2({children:t,location:e}){return c2(Pf(t),e)}function Pf(t,e=[]){let n=[];return T.Children.forEach(t,(r,i)=>{if(!T.isValidElement(r))return;let o=[...e,i];if(r.type===T.Fragment){n.push.apply(n,Pf(r.props.children,o));return}Gt(r.type===Cf,`[${typeof r.type=="string"?r.type:r.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),Gt(!r.props.index||!r.props.children,"An index route cannot have child routes.");let a={id:r.props.id||o.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,middleware:r.props.middleware,loader:r.props.loader,action:r.props.action,hydrateFallbackElement:r.props.hydrateFallbackElement,HydrateFallback:r.props.HydrateFallback,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.hasErrorBoundary===!0||r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(a.children=Pf(r.props.children,o)),n.push(a)}),n}var Nc="get",Fc="application/x-www-form-urlencoded";function jc(t){return typeof HTMLElement<"u"&&t instanceof HTMLElement}function S2(t){return jc(t)&&t.tagName.toLowerCase()==="button"}function E2(t){return jc(t)&&t.tagName.toLowerCase()==="form"}function C2(t){return jc(t)&&t.tagName.toLowerCase()==="input"}function P2(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}function D2(t,e){return t.button===0&&(!e||e==="_self")&&!P2(t)}var zc=null;function T2(){if(zc===null)try{new FormData(document.createElement("form"),0),zc=!1}catch{zc=!0}return zc}var B2=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Df(t){return t!=null&&!B2.has(t)?(xi(!1,`"${t}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Fc}"`),null):t}function _2(t,e){let n,r,i,o,a;if(E2(t)){let l=t.getAttribute("action");r=l?to(l,e):null,n=t.getAttribute("method")||Nc,i=Df(t.getAttribute("enctype"))||Fc,o=new FormData(t)}else if(S2(t)||C2(t)&&(t.type==="submit"||t.type==="image")){let l=t.form;if(l==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let u=t.getAttribute("formaction")||l.getAttribute("action");if(r=u?to(u,e):null,n=t.getAttribute("formmethod")||l.getAttribute("method")||Nc,i=Df(t.getAttribute("formenctype"))||Df(l.getAttribute("enctype"))||Fc,o=new FormData(l,t),!T2()){let{name:d,type:p,value:h}=t;if(p==="image"){let A=d?`${d}.`:"";o.append(`${A}x`,"0"),o.append(`${A}y`,"0")}else d&&o.append(d,h)}}else{if(jc(t))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=Nc,r=null,i=Fc,a=t}return o&&i==="text/plain"&&(a=o,o=void 0),{action:r,method:n.toLowerCase(),encType:i,formData:o,body:a}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function Tf(t,e){if(t===!1||t===null||typeof t>"u")throw new Error(e)}function I2(t,e,n,r){let i=typeof t=="string"?new URL(t,typeof window>"u"?"server://singlefetch/":window.location.origin):t;return n?i.pathname.endsWith("/")?i.pathname=`${i.pathname}_.${r}`:i.pathname=`${i.pathname}.${r}`:i.pathname==="/"?i.pathname=`_root.${r}`:e&&to(i.pathname,e)==="/"?i.pathname=`${e.replace(/\/$/,"")}/_root.${r}`:i.pathname=`${i.pathname.replace(/\/$/,"")}.${r}`,i}async function M2(t,e){if(t.id in e)return e[t.id];try{let n=await import(t.module);return e[t.id]=n,n}catch(n){return console.error(`Error loading route module \`${t.module}\`, reloading page...`),console.error(n),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function O2(t){return t==null?!1:t.href==null?t.rel==="preload"&&typeof t.imageSrcSet=="string"&&typeof t.imageSizes=="string":typeof t.rel=="string"&&typeof t.href=="string"}async function R2(t,e,n){let r=await Promise.all(t.map(async i=>{let o=e.routes[i.route.id];if(o){let a=await M2(o,n);return a.links?a.links():[]}return[]}));return j2(r.flat(1).filter(O2).filter(i=>i.rel==="stylesheet"||i.rel==="preload").map(i=>i.rel==="stylesheet"?{...i,rel:"prefetch",as:"style"}:{...i,rel:"prefetch"}))}function rm(t,e,n,r,i,o){let a=(u,d)=>n[d]?u.route.id!==n[d].route.id:!0,l=(u,d)=>n[d].pathname!==u.pathname||n[d].route.path?.endsWith("*")&&n[d].params["*"]!==u.params["*"];return o==="assets"?e.filter((u,d)=>a(u,d)||l(u,d)):o==="data"?e.filter((u,d)=>{let p=r.routes[u.route.id];if(!p||!p.hasLoader)return!1;if(a(u,d)||l(u,d))return!0;if(u.route.shouldRevalidate){let h=u.route.shouldRevalidate({currentUrl:new URL(i.pathname+i.search+i.hash,window.origin),currentParams:n[0]?.params||{},nextUrl:new URL(t,window.origin),nextParams:u.params,defaultShouldRevalidate:!0});if(typeof h=="boolean")return h}return!0}):[]}function L2(t,e,{includeHydrateFallback:n}={}){return N2(t.map(r=>{let i=e.routes[r.route.id];if(!i)return[];let o=[i.module];return i.clientActionModule&&(o=o.concat(i.clientActionModule)),i.clientLoaderModule&&(o=o.concat(i.clientLoaderModule)),n&&i.hydrateFallbackModule&&(o=o.concat(i.hydrateFallbackModule)),i.imports&&(o=o.concat(i.imports)),o}).flat(1))}function N2(t){return[...new Set(t)]}function F2(t){let e={},n=Object.keys(t).sort();for(let r of n)e[r]=t[r];return e}function j2(t,e){let n=new Set;return new Set(e),t.reduce((r,i)=>{let o=JSON.stringify(F2(i));return n.has(o)||(n.add(o),r.push({key:o,link:i})),r},[])}function im(){let t=T.useContext(na);return Tf(t,"You must render this element inside a <DataRouterContext.Provider> element"),t}function z2(){let t=T.useContext(Lc);return Tf(t,"You must render this element inside a <DataRouterStateContext.Provider> element"),t}var Bf=T.createContext(void 0);Bf.displayName="FrameworkContext";function om(){let t=T.useContext(Bf);return Tf(t,"You must render this element inside a <HydratedRouter> element"),t}function Q2(t,e){let n=T.useContext(Bf),[r,i]=T.useState(!1),[o,a]=T.useState(!1),{onFocus:l,onBlur:u,onMouseEnter:d,onMouseLeave:p,onTouchStart:h}=e,A=T.useRef(null);T.useEffect(()=>{if(t==="render"&&a(!0),t==="viewport"){let w=P=>{P.forEach(M=>{a(M.isIntersecting)})},y=new IntersectionObserver(w,{threshold:.5});return A.current&&y.observe(A.current),()=>{y.disconnect()}}},[t]),T.useEffect(()=>{if(r){let w=setTimeout(()=>{a(!0)},100);return()=>{clearTimeout(w)}}},[r]);let m=()=>{i(!0)},b=()=>{i(!1),a(!1)};return n?t!=="intent"?[o,A,{}]:[o,A,{onFocus:fl(l,m),onBlur:fl(u,b),onMouseEnter:fl(d,m),onMouseLeave:fl(p,b),onTouchStart:fl(h,m)}]:[!1,A,{}]}function fl(t,e){return n=>{t&&t(n),n.defaultPrevented||e(n)}}function H2({page:t,...e}){let{router:n}=im(),r=T.useMemo(()=>zg(n.routes,t,n.basename),[n.routes,t,n.basename]);return r?T.createElement(V2,{page:t,matches:r,...e}):null}function U2(t){let{manifest:e,routeModules:n}=om(),[r,i]=T.useState([]);return T.useEffect(()=>{let o=!1;return R2(t,e,n).then(a=>{o||i(a)}),()=>{o=!0}},[t,e,n]),r}function V2({page:t,matches:e,...n}){let r=Do(),{future:i,manifest:o,routeModules:a}=om(),{basename:l}=im(),{loaderData:u,matches:d}=z2(),p=T.useMemo(()=>rm(t,e,d,o,r,"data"),[t,e,d,o,r]),h=T.useMemo(()=>rm(t,e,d,o,r,"assets"),[t,e,d,o,r]),A=T.useMemo(()=>{if(t===r.pathname+r.search+r.hash)return[];let w=new Set,y=!1;if(e.forEach(M=>{let D=o.routes[M.route.id];!D||!D.hasLoader||(!p.some(C=>C.route.id===M.route.id)&&M.route.id in u&&a[M.route.id]?.shouldRevalidate||D.hasClientLoader?y=!0:w.add(M.route.id))}),w.size===0)return[];let P=I2(t,l,i.unstable_trailingSlashAwareDataRequests,"data");return y&&w.size>0&&P.searchParams.set("_routes",e.filter(M=>w.has(M.route.id)).map(M=>M.route.id).join(",")),[P.pathname+P.search]},[l,i.unstable_trailingSlashAwareDataRequests,u,r,o,p,e,t,a]),m=T.useMemo(()=>L2(h,o),[h,o]),b=U2(h);return T.createElement(T.Fragment,null,A.map(w=>T.createElement("link",{key:w,rel:"prefetch",as:"fetch",href:w,...n})),m.map(w=>T.createElement("link",{key:w,rel:"modulepreload",href:w,...n})),b.map(({key:w,link:y})=>T.createElement("link",{key:w,nonce:n.nonce,...y,crossOrigin:y.crossOrigin??n.crossOrigin})))}function W2(...t){return e=>{t.forEach(n=>{typeof n=="function"?n(e):n!=null&&(n.current=e)})}}var Y2=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{Y2&&(window.__reactRouterVersion="7.13.1")}catch{}function q2({basename:t,children:e,unstable_useTransitions:n,window:r}){let i=T.useRef();i.current==null&&(i.current=Ek({window:r,v5Compat:!0}));let o=i.current,[a,l]=T.useState({action:o.action,location:o.location}),u=T.useCallback(d=>{n===!1?l(d):T.startTransition(()=>l(d))},[n]);return T.useLayoutEffect(()=>o.listen(u),[o,u]),T.createElement(w2,{basename:t,children:e,location:a.location,navigationType:a.action,navigator:o,unstable_useTransitions:n})}var sm=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,am=T.forwardRef(function({onClick:e,discover:n="render",prefetch:r="none",relative:i,reloadDocument:o,replace:a,unstable_mask:l,state:u,target:d,to:p,preventScrollReset:h,viewTransition:A,unstable_defaultShouldRevalidate:m,...b},w){let{basename:y,navigator:P,unstable_useTransitions:M}=T.useContext(zr),D=typeof p=="string"&&sm.test(p),C=qg(p,y);p=C.to;let j=o2(p,{relative:i}),R=Do(),z=null;if(l){let te=xf(l,[],R.unstable_mask?R.unstable_mask.pathname:"/",!0);y!=="/"&&(te.pathname=te.pathname==="/"?y:wi([y,te.pathname])),z=P.createHref(te)}let[V,K,q]=Q2(r,b),Z=J2(p,{replace:a,unstable_mask:l,state:u,target:d,preventScrollReset:h,relative:i,viewTransition:A,unstable_defaultShouldRevalidate:m,unstable_useTransitions:M});function W(te){e&&e(te),te.defaultPrevented||Z(te)}let ie=!(C.isExternal||o),ue=T.createElement("a",{...b,...q,href:(ie?z:void 0)||C.absoluteURL||j,onClick:ie?W:e,ref:W2(w,K),target:d,"data-discover":!D&&n==="render"?"true":void 0});return V&&!D?T.createElement(T.Fragment,null,ue,T.createElement(H2,{page:j})):ue});am.displayName="Link";var K2=T.forwardRef(function({"aria-current":e="page",caseSensitive:n=!1,className:r="",end:i=!1,style:o,to:a,viewTransition:l,children:u,...d},p){let h=dl(a,{relative:d.relative}),A=Do(),m=T.useContext(Lc),{navigator:b,basename:w}=T.useContext(zr),y=m!=null&&nS(h)&&l===!0,P=b.encodeLocation?b.encodeLocation(h).pathname:h.pathname,M=A.pathname,D=m&&m.navigation&&m.navigation.location?m.navigation.location.pathname:null;n||(M=M.toLowerCase(),D=D?D.toLowerCase():null,P=P.toLowerCase()),D&&w&&(D=to(D,w)||D);const C=P!=="/"&&P.endsWith("/")?P.length-1:P.length;let j=M===P||!i&&M.startsWith(P)&&M.charAt(C)==="/",R=D!=null&&(D===P||!i&&D.startsWith(P)&&D.charAt(P.length)==="/"),z={isActive:j,isPending:R,isTransitioning:y},V=j?e:void 0,K;typeof r=="function"?K=r(z):K=[r,j?"active":null,R?"pending":null,y?"transitioning":null].filter(Boolean).join(" ");let q=typeof o=="function"?o(z):o;return T.createElement(am,{...d,"aria-current":V,className:K,ref:p,style:q,to:a,viewTransition:l},typeof u=="function"?u(z):u)});K2.displayName="NavLink";var G2=T.forwardRef(({discover:t="render",fetcherKey:e,navigate:n,reloadDocument:r,replace:i,state:o,method:a=Nc,action:l,onSubmit:u,relative:d,preventScrollReset:p,viewTransition:h,unstable_defaultShouldRevalidate:A,...m},b)=>{let{unstable_useTransitions:w}=T.useContext(zr),y=eS(),P=tS(l,{relative:d}),M=a.toLowerCase()==="get"?"get":"post",D=typeof l=="string"&&sm.test(l),C=j=>{if(u&&u(j),j.defaultPrevented)return;j.preventDefault();let R=j.nativeEvent.submitter,z=R?.getAttribute("formmethod")||a,V=()=>y(R||j.currentTarget,{fetcherKey:e,method:z,navigate:n,replace:i,state:o,relative:d,preventScrollReset:p,viewTransition:h,unstable_defaultShouldRevalidate:A});w&&n!==!1?T.startTransition(()=>V()):V()};return T.createElement("form",{ref:b,method:M,action:P,onSubmit:r?u:C,...m,"data-discover":!D&&t==="render"?"true":void 0})});G2.displayName="Form";function X2(t){return`${t} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function lm(t){let e=T.useContext(na);return Gt(e,X2(t)),e}function J2(t,{target:e,replace:n,unstable_mask:r,state:i,preventScrollReset:o,relative:a,viewTransition:l,unstable_defaultShouldRevalidate:u,unstable_useTransitions:d}={}){let p=s2(),h=Do(),A=dl(t,{relative:a});return T.useCallback(m=>{if(D2(m,e)){m.preventDefault();let b=n!==void 0?n:ll(h)===ll(A),w=()=>p(t,{replace:b,unstable_mask:r,state:i,preventScrollReset:o,relative:a,viewTransition:l,unstable_defaultShouldRevalidate:u});d?T.startTransition(()=>w()):w()}},[h,p,A,n,r,i,e,t,o,a,l,u,d])}var Z2=0,$2=()=>`__${String(++Z2)}__`;function eS(){let{router:t}=lm("useSubmit"),{basename:e}=T.useContext(zr),n=v2(),r=t.fetch,i=t.navigate;return T.useCallback(async(o,a={})=>{let{action:l,method:u,encType:d,formData:p,body:h}=_2(o,e);if(a.navigate===!1){let A=a.fetcherKey||$2();await r(A,n,a.action||l,{unstable_defaultShouldRevalidate:a.unstable_defaultShouldRevalidate,preventScrollReset:a.preventScrollReset,formData:p,body:h,formMethod:a.method||u,formEncType:a.encType||d,flushSync:a.flushSync})}else await i(a.action||l,{unstable_defaultShouldRevalidate:a.unstable_defaultShouldRevalidate,preventScrollReset:a.preventScrollReset,formData:p,body:h,formMethod:a.method||u,formEncType:a.encType||d,replace:a.replace,state:a.state,fromRouteId:n,flushSync:a.flushSync,viewTransition:a.viewTransition})},[r,i,e,n])}function tS(t,{relative:e}={}){let{basename:n}=T.useContext(zr),r=T.useContext(ki);Gt(r,"useFormAction must be used inside a RouteContext");let[i]=r.matches.slice(-1),o={...dl(t||".",{relative:e})},a=Do();if(t==null){o.search=a.search;let l=new URLSearchParams(o.search),u=l.getAll("index");if(u.some(p=>p==="")){l.delete("index"),u.filter(h=>h).forEach(h=>l.append("index",h));let p=l.toString();o.search=p?`?${p}`:""}}return(!t||t===".")&&i.route.index&&(o.search=o.search?o.search.replace(/^\?/,"?index&"):"?index"),n!=="/"&&(o.pathname=o.pathname==="/"?n:wi([n,o.pathname])),ll(o)}function nS(t,{relative:e}={}){let n=T.useContext(Gg);Gt(n!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=lm("useViewTransitionState"),i=dl(t,{relative:e});if(!n.isTransitioning)return!1;let o=to(n.currentLocation.pathname,r)||n.currentLocation.pathname,a=to(n.nextLocation.pathname,r)||n.nextLocation.pathname;return Rc(i.pathname,a)!=null||Rc(i.pathname,o)!=null}const rS=T.lazy(()=>Promise.resolve().then(()=>UM)),iS=T.lazy(()=>Promise.resolve().then(()=>XM));function oS({accessId:t,baseUri:e="/resources",isLoggedIn:n,qaBotApiKey:r,showTitle:i=!0,title:o="Resources"}){const[a,l]=T.useState(!1);return E.jsxs(T.Suspense,{fallback:null,children:[E.jsx(q2,{children:E.jsx(kg,{children:E.jsxs(k2,{children:[E.jsx(Cf,{path:e,element:E.jsx(iS,{baseUri:e,title:o,setBotOpen:l,showTitle:i})}),E.jsx(Cf,{path:`${e}/:infoGroupId`,element:E.jsx(rS,{baseUri:e})})]})})}),E.jsx(Sg,{accessId:t,apiKey:r,embedded:!1,isLoggedIn:n,onOpenChange:l,open:a,welcome:"Welcome to the ACCESS Q&A Bot!"})]})}const sS=({headings:t=[],idPrefix:e="",smoothScroll:n=!0})=>{const[r,i]=T.useState(-1);let o;const a=[];if(t.forEach(l=>{l.tagName=="H1"?o=l:l.tagName=="H2"&&(a.push(l),l.id||(l.id=e+l.textContent.replace(/[^A-Za-z0-9]+/g,"-").toLowerCase()))}),T.useEffect(()=>{a.length&&window.addEventListener("scroll",function(){const l=_g()+window.innerHeight*.1;let u=-1;a.forEach((d,p)=>{if(d.offsetTop<l)return u=p,!1}),i(u)})},[]),!!a.length)return E.jsxs("div",{className:"toc",children:[o&&E.jsx("h2",{children:o.textContent}),a.length>0&&E.jsx("ul",{children:a.map((l,u)=>E.jsx("li",{children:E.jsx("a",{href:`#${l.id}`,className:u==r?"active":"",onClick:d=>{n&&(d.preventDefault(),window.scrollTo({top:l.offsetTop,behavior:"smooth"}),history.pushState(null,null,`#${l.id}`))},children:l.textContent})}))})]})},no=":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}}",aS='ul.breadcrumbs{--offset: calc((100vw - var(--width)) / 2);border-bottom:1px solid var(--contrast-7);box-sizing:border-box;font-size:.875rem;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)}}',lS=`:root{color:#232323;font-family:Archivo,sans-serif;font-size:16px}h1{font-size:2.25rem;font-stretch:70%;font-weight:500;margin-top:60px}h2{font-size:1.375rem;font-weight:800;margin-top:36px}h3{color:var(--teal-700);font-size:1.125rem;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:1rem;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:1.25rem;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{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:1.5rem}`,cS=`: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:.9375rem;line-height:21px;margin:0 0 20px}.disclaimer{font-size:.75rem;line-height:18px;margin:0 0 15px}.contact{font-size:1rem;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}.bluesky{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-bluesky' viewBox='0 0 16 16'><path d='M3.468 1.948C5.303 3.325 7.276 6.118 8 7.616c.725-1.498 2.698-4.29 4.532-5.668C13.855.955 16 .186 16 2.632c0 .489-.28 4.105-.444 4.692-.572 2.04-2.653 2.561-4.504 2.246 3.236.551 4.06 2.375 2.281 4.2-3.376 3.464-4.852-.87-5.23-1.98-.07-.204-.103-.3-.103-.218 0-.081-.033.014-.102.218-.379 1.11-1.855 5.444-5.231 1.98-1.778-1.825-.955-3.65 2.28-4.2-1.85.315-3.932-.205-4.503-2.246C.28 6.737 0 3.12 0 2.632 0 .186 2.145.955 3.468 1.948'/></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:.75rem;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:.9375rem;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:1.125rem;line-height:24px}.personas{font-size:1.125rem;padding:40px calc(((var(--width) - 140px) / 8) + 20px) 30px}}`,uS=".container{box-sizing:content-box;height:84px;padding-top:20px}@media(min-width:900px){.container{height:144px;padding-top:52px}}",cm=`.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:1.09375rem;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:1.875rem}.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}}`,_f=`.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:.875rem;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.item,.menu li:last-child>.item,.menu>.collapsed{border-bottom:0 none transparent}.expanded{border-bottom-width:2px}.menu button.item{position:relative}.menu>button.item{font-weight:500;padding:13.5px var(--padding) 13.5px;text-transform:uppercase}.menu button.item: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.item.expanded:after{transform:rotate(180deg)}.menu .highlight button.item:after{background-image:var(--icon-caret-down-dark)}.menu button.item,.menu ul li{background-color:var(--background)}.menu button.item,.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.item{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:.875rem;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:.875rem;font-weight:800;margin:0}.footer ul{margin:0;padding:0}.footer li{font-size:.875rem;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.item{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:1rem}.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.item{--padding: 20px}.icon>.item{background-position:center center;width:56px}.menu button.item:after,.menu button.item.expanded:after,.menu .highlight button.item:after,.menu .highlight button.item.expanded:after{display:inline-block;margin-left:5px;position:static;vertical-align:middle}.menu button.item:after{background-image:var(--icon-caret-down-teal)}.universal button.item:after{background-image:var(--icon-caret-down-light)}.menu button.item.expanded:after,.menu button.item.item:active:after,.menu button.item.item:focus:after,.menu button.item.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}}`,dS='@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:1rem;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:.875rem;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:1rem;line-height:1.1;margin:0 0 .25rem}.slide-text a{font-size:.875rem;line-height:1.1}.slide-text p{font-size:.875rem;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:1.125rem}.slide-text a{font-size:1rem}.slide-text p{font-size:1rem;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% 100%);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:1rem;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:.75rem;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:1rem}.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% 100%);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:1rem;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)}',fS=".toc{background-color:var(--teal-600);color:#fff;padding:20px;position:sticky;top:50px}h2{font-size:1rem;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:1rem;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}}",pS='.rcb-chat-header-container{padding:12px;color:#fff;border-bottom:1px solid #ccc;display:flex;justify-content:space-between;max-height:55px}.rcb-chat-header{display:flex;flex-direction:row}.rcb-bot-avatar{background-size:cover;width:30px;height:30px;border-radius:50%;margin-right:12px}.rcb-message-prompt-container.visible{position:sticky;bottom:0;margin:auto;display:flex;align-items:center;justify-content:center;opacity:1;animation:rcb-animation-pop-in .3s ease-in-out;pointer-events:auto}.rcb-message-prompt-container.hidden{opacity:0;height:0px;visibility:hidden;pointer-events:none}.rcb-message-prompt-text{padding:6px 12px;border-radius:20px;color:#adadad;font-size:12px;background-color:#fff;border:.5px solid #adadad;cursor:pointer;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{margin-top:8px;padding:12px 16px;border-radius:22px;min-height:20px;height:fit-content;width:fit-content;font-size:15px;overflow-wrap:anywhere;overflow:auto;white-space:pre-wrap;text-align:right;margin-right:16px}.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;width:40px;height:40px;border-radius:50%;margin-top:9px}.rcb-message-user-avatar{margin-left:-10px;margin-right:6px}.rcb-bot-message-container{display:flex;flex-direction:row}.rcb-bot-message{margin-top:8px;padding:12px 16px;border-radius:22px;min-height:20px;height:fit-content;width:fit-content;font-size:15px;overflow-wrap:anywhere;overflow:auto;white-space:pre-wrap;text-align:left;margin-left:16px}.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;width:40px;height:40px;border-radius:50%;margin-top:9px}.rcb-message-bot-avatar{margin-left:6px;margin-right:-10px}.rcb-typing-indicator{display:flex;align-items:center}.rcb-dot{width:8px;height:8px;border-radius:50%;background-color:#ccc;margin-right:4px;animation:rcb-animation-bot-typing 1s infinite}.rcb-dot:nth-child(2){animation-delay:.2s}.rcb-dot:nth-child(3){animation-delay:.4s}.rcb-chat-body-container{position:relative;height:100%;width:100%;padding-bottom:16px;overflow-x:hidden;overflow-y:scroll;touch-action:pan-y}.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;padding-top:12px;margin-left:16px;flex-wrap:wrap;gap:10px}.rcb-checkbox-offset{margin-left:50px!important}.rcb-checkbox-row-container{display:flex;align-items:center;gap:5px;border-width:.5px;border-style:solid;border-radius:10px;min-height:30px;max-height:32px;width:80%;cursor:pointer;background-color:#fff;animation:rcb-animations-checkboxes-entry .5s ease-out;overflow:hidden}.rcb-checkbox-row-container:hover{box-shadow:0 0 5px #0003}.rcb-checkbox-row{display:inline-flex;margin-left:10px;align-items:center;cursor:pointer}.rcb-checkbox-mark{width:20px;height:20px;background-color:#f2f2f2;border-radius:50%;border:none;display:flex;align-items:center;justify-content:center;transition:all .3s ease;margin-right:10px;cursor:pointer}.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{text-align:center;display:inline-block;align-items:center;border-width:.5px;border-style:solid;border-radius:10px;font-size:24px;min-height:30px;max-height:32px;width:80%;cursor:pointer;background-color:#fff;animation:rcb-animations-checkboxes-entry .5s ease-out}.rcb-checkbox-next-button:before{content:"→"}.rcb-checkbox-next-button:hover{box-shadow:0 0 5px #0003}.rcb-options-container{padding-top:12px;margin-left:16px;max-width:70%;display:flex;flex-wrap:wrap;gap:10px}.rcb-options-offset{margin-left:50px!important}.rcb-options{display:inline-flex;align-items:center;justify-content:center;padding:10px 20px;border-radius:20px;font-size:14px;border-width:.5px;border-style:solid;cursor:pointer;transition:background-color .3s ease;animation:rcb-animation-options-entry .5s ease-out;overflow:hidden}.rcb-options:hover{box-shadow:0 0 5px #0003}.rcb-line-break-container{display:flex;justify-content:center;align-items:center;padding-top:10px;padding-bottom:5px;max-height:45px}.rcb-line-break-text{padding:6px 12px;color:#adadad;font-size:12px}.rcb-spinner-container{display:flex;justify-content:center;align-items:center;padding-top:10px;padding-bottom:5px;min-height:35px;max-height:45px}.rcb-spinner{width:22px;height:22px;border-radius:50%;border:4px solid #f3f3f3;animation:rcb-animation-spin 1s linear infinite}.rcb-chat-input{padding:8px 16px;border-top:1px solid #ccc;display:flex;align-items:center;background-color:#fff}.rcb-chat-input::placeholder{color:#999}.rcb-chat-input-textarea{flex:1;padding:8px;border:none;border-radius:4px;outline:none;font-size:16px;resize:none;height:auto;min-height:38px;overflow-y:scroll;font-family:inherit;background-color:#fff;color:#000;touch-action:none}.rcb-chat-input-textarea::-webkit-scrollbar{background-color:transparent}.rcb-chat-input-textarea::-webkit-scrollbar-thumb{background-color:transparent}.rcb-chat-input-textarea::-webkit-scrollbar-thumb:hover{background-color:transparent}.rcb-chat-input-char-counter{font-size:14px;margin-left:8px;margin-top:3px}.rcb-chat-footer-container{padding:12px 16px 8px 10px;border-top:1px solid #ccc;max-height:55px;display:flex;justify-content:space-between;align-items:flex-end;font-size:12px;background-color:#f2f2f2;color:#000}.rcb-chat-footer{display:flex;flex-direction:row}.rcb-toggle-button{display:flex;flex-direction:row;position:fixed;bottom:20px;right:20px;z-index:9999;width:75px;height:75px;border-radius:50%;border:none;cursor:pointer;box-shadow:0 2px 4px #0003}.rcb-toggle-button.rcb-button-hide{opacity:0;visibility:hidden;animation:rcb-animation-collapse .3s ease-in-out forwards}.rcb-toggle-button.rcb-button-show{opacity:1;visibility:visible;animation:rcb-animation-expand .3s ease-in-out forwards}.rcb-toggle-icon{display:flex;justify-content:center;align-items:center;width:100%;height:100%;background-position:center;background-size:cover;background-repeat:no-repeat;margin:auto;border-radius:inherit}.rcb-badge{position:absolute;top:-6px;right:-6px;border-radius:50%;background-color:red;color:#fff;height:25px;width:25px;display:flex;justify-content:center;align-items:center}.rcb-chat-tooltip{position:fixed;padding:16px;border-radius:20px;box-shadow:0 2px 6px #0003;white-space:nowrap;cursor:pointer;font-size:20px;transition:transform .3s ease;z-index:9999}.rcb-chat-tooltip-tail{content:"";position:absolute;top:50%;right:-10px;margin-top:-10px;border-width:10px 0 10px 10px;border-style:solid}.rcb-chat-tooltip.rcb-tooltip-hide{opacity:0;visibility:hidden;animation:rcb-animation-tooltip-out .5s ease-in-out}.rcb-chat-tooltip.rcb-tooltip-show{opacity:1;visibility:visible;animation:rcb-animation-tooltip-in .5s ease-in-out}.rcb-toast-prompt{padding:6px 12px;border-radius:5px;color:#7a7a7a;font-size:12px;text-align:center;background-color:#fff;border:.5px solid #7a7a7a;cursor:pointer;transition:color .3s ease,border-color .3s ease;z-index:9999;width:100%;margin-top:6px;animation:rcb-animation-pop-in .3s ease-in-out}.rcb-toast-prompt-container{position:absolute;left:50%;transform:translate(-50%);bottom:0;margin:auto;display:flex;align-items:center;justify-content:flex-end;flex-direction:column;opacity:1;animation:popIn .3s ease-in-out;pointer-events:auto;margin-top:200}.rcb-media-display-image-container,.rcb-media-display-video-container{margin-top:8px;margin-right:16px;border-radius:22px;padding:16px;width:fit-content}.rcb-media-display-offset{margin-right:50px!important}.rcb-media-display-image{width:100%;height:auto;border-radius:22px;object-fit:cover}.rcb-media-display-video{width:100%;height:auto;border-radius:22px;background-color:#000}.rcb-media-display-audio{margin-top:8px;margin-right:16px;width:100%;height:auto;border-radius:22px}.rcb-media-entry{animation:rcb-animation-user-message-entry .3s ease-in backwards}.rcb-attach-button-enabled,.rcb-attach-button-disabled{position:relative;display:inline-block;background-size:cover;width:30px;height:30px;border-radius:6px;text-align:center}.rcb-attach-button-enabled input[type=file],.rcb-attach-button-disabled input[type=file]{position:absolute;width:100%;height:100%;display:none}.rcb-attach-button-enabled{cursor:pointer}.rcb-attach-button-disabled{opacity:.5}.rcb-attach-button-enabled:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:0;height:0;background-color:#0000001a;border-radius:50%;opacity:0;transition:width .2s ease-out,height .2s ease-out,opacity .2s ease-out}.rcb-attach-button-enabled:hover:after{width:130%;height:130%;opacity:1}.rcb-attach-icon-enabled,.rcb-attach-icon-disabled{display:inline-block;width:24px;height:24px;margin-top:2px;background-repeat:no-repeat;background-size:cover;transition:background-image .3s ease}.rcb-attach-icon-enabled{cursor:pointer}.rcb-emoji-button-enabled,.rcb-emoji-button-disabled{position:relative;display:inline-block;background-size:cover;width:30px;height:30px;border-radius:6px;text-align:center;cursor:pointer}.rcb-emoji-icon-enabled,.rcb-emoji-icon-disabled{position:relative;display:inline-block;background-size:cover;font-size:20px;width:24px;height:24px;margin-top:2px;background-repeat:no-repeat}.rcb-emoji-icon-enabled{cursor:pointer}.rcb-emoji-icon-disabled{opacity:.5}.rcb-emoji-button-enabled:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:0;height:0;background-color:#0000001a;border-radius:50%;opacity:0;transition:width .2s ease-out,height .2s ease-out,opacity .2s ease-out}.rcb-emoji-button-enabled:hover:after{width:130%;height:130%;opacity:1}.rcb-emoji-button-popup{position:absolute;width:158px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:8px;box-shadow:0 2px 4px #0003;max-height:200px;overflow-y:auto;transform:translateY(calc(-100% - 30px))}.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{position:relative;display:inline-block;background-size:cover;width:30px;height:30px;border:none;cursor:pointer;margin-left:5px}.rcb-audio-icon:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:0;height:0;background-color:#0000001a;border-radius:50%;opacity:0;transition:width .2s ease-out,height .2s ease-out,opacity .2s ease-out}.rcb-audio-icon:hover:after{width:130%;height:130%;opacity:1}.rcb-close-chat-icon{position:relative;display:inline-block;background-size:cover;width:30px;height:30px;border:none;margin-left:5px;cursor:pointer}.rcb-close-chat-icon:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:0;height:0;background-color:#0000001a;border-radius:50%;opacity:0;transition:width .2s ease-out,height .2s ease-out,opacity .2s ease-out}.rcb-close-chat-icon:hover:after{width:130%;height:130%;opacity:1}.rcb-notification-icon{position:relative;display:inline-block;background-size:cover;width:30px;height:30px;border:none;cursor:pointer;margin-left:5px}.rcb-notification-icon:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:0;height:0;background-color:#0000001a;border-radius:50%;opacity:0;transition:width .2s ease-out,height .2s ease-out,opacity .2s ease-out}.rcb-notification-icon:hover:after{width:130%;height:130%;opacity:1}.rcb-voice-button-enabled,.rcb-voice-button-disabled{display:inline-flex;align-items:center;justify-content:center;text-transform:uppercase;border-radius:4px;box-shadow:0 0 3px #0000004d;cursor:pointer;height:32px;width:32px;margin-left:8px;transition:all .3s ease;background-color:#fff}.rcb-voice-button-enabled{border:1px solid red;box-shadow:0 0 3px #ff000080}.rcb-voice-button-enabled:hover{border:1px solid rgb(61,0,0)}.rcb-voice-button-disabled{border:1px;border-style:solid;border-color:#0003}.rcb-voice-button-disabled:hover{box-shadow:0 0 3px #8a0000}.rcb-voice-icon{width:60%;height:60%;background-size:cover;object-fit:cover;background-size:contain;background-repeat:no-repeat;background-position:center}.rcb-voice-icon.on{animation:rcb-animation-ping 1s infinite}.rcb-send-button{display:inline-flex;justify-content:center;text-transform:uppercase;border:none;border-radius:4px;box-shadow:0 0 3px #0000004d;cursor:pointer;transition:background-color .3s ease;height:32px;width:51px;margin-left:8px}.rcb-send-icon{width:50%;height:50%;transform:translateY(20%);background-size:cover;object-fit:cover;background-size:contain;background-repeat:no-repeat;background-position:center}.rcb-view-history-container{display:flex;justify-content:center;align-items:center;padding-top:10px;padding-bottom:5px;min-height:35px;max-height:45px}.rcb-view-history-button{display:inline-flex;align-items:center;justify-content:center;padding:6px 12px;border-radius:20px;color:#adadad;font-size:12px;background-color:#fff;border-color:#adadad;border-width:.5px;border-style:solid;max-width:60%;cursor:pointer;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{position:fixed;right:20px;bottom:20px;border-radius:10px;box-shadow:0 2px 4px #0003;background-color:#fff;transition:all .3s ease;overflow:hidden;display:flex;flex-direction:column;width:375px;height:550px}.rcb-window-embedded .rcb-chat-window{position:relative;opacity:1;visibility:visible;right:auto;bottom:auto}.rcb-window-open .rcb-chat-window{opacity:1;visibility:visible;animation:rcb-animation-expand .3s ease-in-out forwards}.rcb-window-close .rcb-chat-window{opacity:0;visibility:hidden;animation:rcb-animation-collapse .3s ease-in-out forwards}@keyframes rcb-animation-expand{0%{transform:translate(100%,100%) scale(0);opacity:0}to{transform:translate(0) scale(1);opacity:1}}@keyframes rcb-animation-collapse{0%{transform:translate(0) scale(1);opacity:1}to{transform:translate(100%,100%) scale(0);opacity:0}}@keyframes rcb-animation-ping{0%{filter:brightness(100%);opacity:1}50%{filter:brightness(50%);opacity:.8}}@keyframes rcb-animation-bot-message-entry{0%{transform:translate(-100%,50%) scale(0);opacity:0}to{transform:translate(0) scale(1);opacity:1}}@keyframes rcb-animation-user-message-entry{0%{transform:translate(100%,50%) scale(0);opacity:0}to{transform:translate(0) scale(1);opacity:1}}@keyframes rcb-animation-bot-typing{0%{opacity:.4}50%{opacity:1}to{opacity:.4}}@keyframes rcb-animation-pop-in{0%{transform:scale(.8);opacity:0}70%{transform:scale(1.1);opacity:1}to{transform:scale(1)}}@keyframes rcb-animations-checkboxes-entry{0%{transform:translate(-100%);opacity:0}to{transform:translate(0);opacity:1}}@keyframes rcb-animation-options-entry{0%{transform:scale(0);opacity:0}to{transform:scale(1);opacity: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(360deg)}}',hS='.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)}}.rcb-chat-window{height:800px!important;max-height:80vh!important;max-width:100%;width:550px!important}.rcb-chat-window .rcb-chat-header{align-items:center;display:flex;flex-direction:row;font-weight:700}.rcb-chat-window .rcb-chat-input-textarea{overflow-y:auto}.rcb-chat-window .rcb-chat-footer-container{font-size:10px}.qa-bot .history-button,.qa-bot .user-login-icon{display:none!important}.qa-bot.bot-logged-in .history-button,.qa-bot.bot-logged-in .user-login-icon{display:flex!important;transform:scale(1.3) translateY(-2px)}.qa-bot.bot-logged-in .history-button:hover{opacity:.8}.qa-bot.bot-logged-in .history-button:focus{outline:2px solid #fff;outline-offset: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-chat-tooltip{background-color:#1a5b6e;color:#fff}.rcb-chat-tooltip-tail{border-color:#0000 #0000 #0000 #1a5b6e}@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){.rcb-chat-window{max-height:calc(100vh - 100px)!important;max-width:calc(100vw - 40px)!important;width:550px!important}.embedded-chat-container.open{height:400px}.embedded-chat-closed{font-size:14px;height:40px}.embedded-chat-open-btn{font-size:12px;padding:3px 10px}.rcb-bot-message,.rcb-user-message{max-width:85%!important}.rcb-chat-input-textarea{font-size:16px!important;min-height:44px!important}.rcb-chat-header{padding:12px 16px!important}.rcb-chat-tooltip,.rcb-chat-tooltip-tail{display:none!important}}@media(max-width:480px){.rcb-chat-window{bottom:10px!important;left:10px!important;max-height:calc(100vh - 80px)!important;max-width:calc(100vw - 20px)!important;right:10px!important;width:calc(100vw - 20px)!important}.embedded-chat-container.open{height:350px}.rcb-bot-message,.rcb-user-message{margin-bottom:8px!important;max-width:90%!important}.rcb-chat-header{font-size:14px!important;padding:8px 12px!important}.rcb-chat-button{bottom:20px!important;height:50px!important;right:20px!important;width:50px!important}.rcb-chat-footer-container{font-size:9px!important;padding:8px 12px!important}}@media(max-width:360px){.rcb-chat-window{left:5px!important;max-width:calc(100vw - 10px)!important;right:5px!important;width:calc(100vw - 10px)!important}.rcb-chat-header{font-size:13px!important;padding:6px 8px!important}}.rcb-checkbox-container{display:flex!important;flex-wrap:wrap!important;gap:8px!important;margin-left:16px!important;max-width:100%!important;padding-top:12px!important}.rcb-checkbox-row-container{align-items:center!important;background-color:#fff!important;border:1px solid #d0d0d0!important;border-radius:6px!important;box-sizing:border-box!important;color:var(--primaryColor,#107180)!important;cursor:pointer!important;display:flex!important;flex:0 0 auto!important;font-size:14px!important;font-weight:400!important;margin:0!important;max-height:auto!important;min-height:auto!important;padding:8px 12px!important;text-align:center!important;transition:all .2s ease!important;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:auto!important}.rcb-checkbox-row-container:hover{background-color:#e8f4f8!important;border-color:var(--primaryColor,#107180)!important;box-shadow:0 2px 4px #10718033!important;transform:translateY(-1px)!important}.rcb-checkbox-row-container[data-checked=true]{background-color:var(--primaryColor,#107180)!important;border-color:var(--primaryColor,#107180)!important;color:#fff!important}.rcb-checkbox-row{margin-left:0!important}.rcb-checkbox-mark{height:14px!important;margin-right:6px!important;width:14px!important}.rcb-checkbox-label{font-size:13px!important;margin:0!important;white-space:nowrap!important}.rcb-checkbox-next-button{align-items:center!important;background-color:#fff!important;border:1px solid #d0d0d0!important;border-radius:6px!important;box-sizing:border-box!important;color:var(--secondaryColor,#107180)!important;cursor:pointer!important;display:flex!important;flex:0 0 auto!important;font-size:14px!important;font-weight:400!important;justify-content:center!important;line-height:24px!important;margin:0!important;max-height:auto!important;min-height:auto!important;padding:8px 12px!important;text-align:center!important;transition:all .2s ease!important;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:auto!important}.rcb-checkbox-next-button:hover{background-color:#e8f4f8!important;border-color:var(--secondaryColor,#107180)!important;box-shadow:0 2px 4px #10718033!important;transform:translateY(-1px)!important}.sr-only{clip:rect(0,0,0,0)!important;border:0!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important;width:1px!important}.rcb-chat-input-send-button:focus,.rcb-chat-input-textarea:focus{outline:2px solid var(--primaryColor,#107180)!important;outline-offset:2px!important}.rcb-bot-message ol,.rcb-bot-message ul{list-style-position:outside!important;margin:.5em 0!important;padding-left:1.5em!important}.rcb-bot-message li{margin-bottom:.25em!important}.rcb-bot-message li>p{display:inline!important;margin:0!important}.rcb-user-message{word-wrap:break-word!important;overflow:hidden!important;word-break:break-word!important}:focus-visible{outline:2px solid var(--primaryColor,#107180)!important;outline-offset:2px!important}.rcb-options-container{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;gap:8px!important;margin:16px!important;padding:0!important}.rcb-options{background-color:#fff!important;border:1px solid #d0d0d0!important;border-radius:6px!important;box-sizing:border-box!important;color:var(--secondaryColor,#107180)!important;cursor:pointer!important;flex:0 0 auto!important;font-size:14px!important;font-weight:400!important;outline:none!important;padding:8px 12px!important;text-align:center!important;transition:all .2s ease!important;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:auto!important}.rcb-options:hover{background-color:#e8f4f8!important;border-color:var(--secondaryColor,#107180)!important;box-shadow:0 2px 4px #10718033!important;transform:translateY(-1px)!important}.rcb-checkbox-next-button.keyboard-focused,.rcb-checkbox-next-button:focus,.rcb-checkbox-next-button:focus-visible,.rcb-checkbox-row-container.keyboard-focused,.rcb-checkbox-row-container:focus,.rcb-checkbox-row-container:focus-visible,.rcb-options.keyboard-focused,.rcb-options:focus,.rcb-options:focus-visible{background-color:#e8f4f8!important;border-color:var(--secondaryColor,#107180)!important;outline:none!important}.rcb-options:active{background-color:var(--secondaryColor,#107180)!important;border-color:var(--secondaryColor,#107180)!important;color:#fff!important;transform:translateY(0)!important}.keyboard-nav-hint{color:#666!important;font-size:12px!important;font-style:italic!important;margin-bottom:8px!important}@media(prefers-reduced-motion:reduce){.keyboard-nav-hint{display:none!important}}.rcb-options-container [role=button][tabindex="0"],.rcb-options-container button[tabindex="0"]{position:relative!important}.rcb-options-container [role=button][tabindex="0"]:after,.rcb-options-container button[tabindex="0"]:after{color:var(--secondaryColor,#107180)!important;content:"←"!important;font-size:16px!important;opacity:0!important;position:absolute!important;right:12px!important;top:50%!important;transform:translateY(-50%)!important;transition:opacity .2s ease!important}.rcb-options-container [role=button][tabindex="0"]:focus:after,.rcb-options-container button[tabindex="0"]:focus:after{opacity:1!important}.rcb-chat-input-send-button{cursor:pointer!important;opacity:1!important;pointer-events:auto!important;visibility:visible!important}.rcb-chat-input-send-button:not([tabindex]){-webkit-user-select:none;-moz-user-select:none;user-select:none}.rcb-chat-input-container [onclick],.rcb-chat-input-container [role=button],.rcb-chat-input-container div[style*=cursor],.rcb-chat-input-container svg:last-child,.rcb-chat-input-container>div:last-child{tabindex:0!important;cursor:pointer!important}.rcb-chat-footer{margin-top:4px!important;padding-top:0!important}.rcb-chat-footer-container{align-items:center!important;display:flex!important;margin-top:4px!important;padding-top:4px!important}.rcb-chat-footer-container button{order:1!important}.rcb-chat-footer-container a[href*=qa-bot-core]{tab-index:0!important;order:2!important}.rcb-chat-footer-container a[href*=feedback]{tab-index:0!important;order:3!important}@media(prefers-contrast:high){.rcb-chat-window a{background-color:#fff!important;border:1px solid #000!important;color:#000!important}}@media(prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}.rcb-chat-input-textarea{-webkit-user-select:text!important;user-select:text!important}.rcb-chat-body-container,.rcb-chat-input-textarea,.rcb-chat-window{touch-action:pan-y!important}.embedded-qa-bot,.rcb-chat-window{-webkit-overflow-scrolling:touch!important}.embedded-qa-bot .rcb-chat-input-textarea{touch-action:pan-y!important;-webkit-user-select:text!important;user-select:text!important}.embedded-qa-bot .rcb-chat-body-container,.embedded-qa-bot .rcb-chat-window{touch-action:pan-y!important}.rcb-chat-header-container{background:var(--primaryColor,#1a5b6e)!important;background:linear-gradient(135deg,var(--primaryColor,#1a5b6e) 0,var(--secondaryColor,#107180) 100%)!important}.rcb-toggle-button{align-items:center!important;background:var(--primaryColor,#1a5b6e)!important;display:flex!important;justify-content:center!important}.rcb-toggle-button svg{stroke:#fff!important;color:#fff!important}.rcb-toggle-button *,.rcb-toggle-button img,.rcb-toggle-button svg,.rcb-toggle-button>*{box-sizing:border-box!important;height:50px!important;left:0!important;margin:0 auto!important;max-height:50px!important;max-width:50px!important;min-height:50px!important;min-width:50px!important;padding:2px!important;position:relative!important;top:0!important;width:50px!important}.rcb-send-button{background-color:var(--primaryColor,#1a5b6e)!important}.rcb-chat-notification-badge,.rcb-notification-badge{display:none!important}.rcb-chat-window .rcb-bot-avatar{background-size:contain;border-radius:0;background-position:center;background-repeat:no-repeat}.rcb-toggle-icon{background-size:62%!important;background-position:calc(50% - 1px) calc(50% + 2px);background-repeat:no-repeat;background-color:transparent!important}.rcb-chat-button-icon{background-size:contain;background-position:center;background-repeat:no-repeat}.rcb-chat-window{width:550px!important;height:800px!important;max-height:80vh!important;max-width:100%}.rcb-chat-window .rcb-chat-header{display:flex;flex-direction:row;align-items:center;font-weight:700}.rcb-chat-footer-container{align-items:center!important;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)}@media(max-width:768px){.rcb-chat-window{width:550px!important;max-width:calc(100vw - 40px)!important;max-height:calc(100vh - 100px)!important}}@media(max-width:480px){.rcb-chat-window{width:calc(100vw - 20px)!important;max-width:calc(100vw - 20px)!important;max-height:calc(100vh - 80px)!important;left:10px!important;right:10px!important;bottom:10px!important}.rcb-chat-footer-container{font-size:9px!important}}.rcb-options-container{display:flex;flex-direction:row;flex-wrap:wrap;gap:8px;margin:16px;padding:0}.rcb-options{border:1px solid #d0d0d0;background-color:#fff;border-radius:6px;padding:8px 12px;cursor:pointer;transition:all .2s ease;text-align:center;font-size:14px;font-weight:400;color:#107180;width:auto;flex:0 0 auto;box-sizing:border-box}.rcb-options:hover{background-color:#e8f4f8;border-color:#107180;transform:translateY(-1px);box-shadow:0 2px 4px #10718033}.rcb-options:active{background-color:#107180;border-color:#107180;color:#fff;transform:translateY(0)}.rcb-chat-header-container{font-size:14px}.rcb-options{border:1px solid #d0d0d0!important}.rcb-chat-window a:not(.qa-bot-login-button),.rcb-chat-window a:not(.qa-bot-login-button):link,.rcb-chat-window a:not(.qa-bot-login-button):visited{color:#000!important;font-weight:700!important;text-decoration:underline!important}.rcb-chat-window a:not(.qa-bot-login-button):hover{color:#1a5b6e!important;text-decoration:none!important}.rcb-chat-window .rcb-bot-message a,.rcb-chat-window .rcb-bot-message a:link,.rcb-chat-window .rcb-bot-message a:visited{color:#fff!important;text-decoration:underline!important}.rcb-chat-window .rcb-bot-message a:hover{opacity:.85;text-decoration:underline!important;color:#fff!important}',AS=".rcb-chat-header-container span{font-size:1rem!important;font-weight:600!important}";var um=xg();const gS=fs(um),dm=pS+hS+AS,mS=({children:t})=>{const e=T.useRef(null),[n,r]=T.useState(null);return T.useEffect(()=>{if(e.current&&!n&&!e.current.shadowRoot){const i=e.current.attachShadow({mode:"open"}),o=document.createElement("div");i.appendChild(o),r(o)}},[n]),E.jsx("div",{ref:e,children:n?gS.createPortal(t,n):null})},ro=(t,e)=>n=>E.jsxs(mS,{children:[E.jsx(t,{...n}),e.map(r=>E.jsx("style",{children:r},r))]}),vS=ro(pf,[no,aS]),yS=ro(bk,[no,cS,cm]),bS=ro(wk,[no,_f]),xS=ro(xk,[no,cm,uS]),wS=ro(Sg,[no,dm]),kS=ro(oS,[no,lS,dS,dm]),SS=ro(Sk,[no,_f]),ES=ro(sS,[no,fS]),CS=ro(kk,[no,_f]),io=t=>(e={})=>ok.createRoot(e.target).render(E.jsx(T.StrictMode,{children:E.jsx(t,{...e})})),PS=io(vS),DS=io(yS),TS=io(bS),BS=io(xS),_S=io(wS),IS=io(kS),MS=io(SS),OS=io(ES),RS=io(CS);var To={},ps={};var fm;function LS(){if(fm)return ps;fm=1;var t=ol();function e(x){for(var _="https://reactjs.org/docs/error-decoder.html?invariant="+x,F=1;F<arguments.length;F++)_+="&args[]="+encodeURIComponent(arguments[F]);return"Minified React error #"+x+"; visit "+_+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var n=Object.prototype.hasOwnProperty,r=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,i={},o={};function a(x){return n.call(o,x)?!0:n.call(i,x)?!1:r.test(x)?o[x]=!0:(i[x]=!0,!1)}function l(x,_,F,H,oe,$,he){this.acceptsBooleans=_===2||_===3||_===4,this.attributeName=H,this.attributeNamespace=oe,this.mustUseProperty=F,this.propertyName=x,this.type=_,this.sanitizeURL=$,this.removeEmptyString=he}var u={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(x){u[x]=new l(x,0,!1,x,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(x){var _=x[0];u[_]=new l(_,1,!1,x[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(x){u[x]=new l(x,2,!1,x.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(x){u[x]=new l(x,2,!1,x,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(x){u[x]=new l(x,3,!1,x.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(x){u[x]=new l(x,3,!0,x,null,!1,!1)}),["capture","download"].forEach(function(x){u[x]=new l(x,4,!1,x,null,!1,!1)}),["cols","rows","size","span"].forEach(function(x){u[x]=new l(x,6,!1,x,null,!1,!1)}),["rowSpan","start"].forEach(function(x){u[x]=new l(x,5,!1,x.toLowerCase(),null,!1,!1)});var d=/[\-:]([a-z])/g;function p(x){return x[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(x){var _=x.replace(d,p);u[_]=new l(_,1,!1,x,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(x){var _=x.replace(d,p);u[_]=new l(_,1,!1,x,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(x){var _=x.replace(d,p);u[_]=new l(_,1,!1,x,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(x){u[x]=new l(x,1,!1,x.toLowerCase(),null,!1,!1)}),u.xlinkHref=new l("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(x){u[x]=new l(x,1,!1,x.toLowerCase(),null,!0,!0)});var h={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},A=["Webkit","ms","Moz","O"];Object.keys(h).forEach(function(x){A.forEach(function(_){_=_+x.charAt(0).toUpperCase()+x.substring(1),h[_]=h[x]})});var m=/["'&<>]/;function b(x){if(typeof x=="boolean"||typeof x=="number")return""+x;x=""+x;var _=m.exec(x);if(_){var F="",H,oe=0;for(H=_.index;H<x.length;H++){switch(x.charCodeAt(H)){case 34:_=""";break;case 38:_="&";break;case 39:_="'";break;case 60:_="<";break;case 62:_=">";break;default:continue}oe!==H&&(F+=x.substring(oe,H)),oe=H+1,F+=_}x=oe!==H?F+x.substring(oe,H):F}return x}var w=/([A-Z])/g,y=/^ms-/,P=Array.isArray;function M(x,_){return{insertionMode:x,selectedValue:_}}function D(x,_,F){switch(_){case"select":return M(1,F.value!=null?F.value:F.defaultValue);case"svg":return M(2,null);case"math":return M(3,null);case"foreignObject":return M(1,null);case"table":return M(4,null);case"thead":case"tbody":case"tfoot":return M(5,null);case"colgroup":return M(7,null);case"tr":return M(6,null)}return 4<=x.insertionMode||x.insertionMode===0?M(1,null):x}var C=new Map;function j(x,_,F){if(typeof F!="object")throw Error(e(62));_=!0;for(var H in F)if(n.call(F,H)){var oe=F[H];if(oe!=null&&typeof oe!="boolean"&&oe!==""){if(H.indexOf("--")===0){var $=b(H);oe=b((""+oe).trim())}else{$=H;var he=C.get($);he!==void 0||(he=b($.replace(w,"-$1").toLowerCase().replace(y,"-ms-")),C.set($,he)),$=he,oe=typeof oe=="number"?oe===0||n.call(h,H)?""+oe:oe+"px":b((""+oe).trim())}_?(_=!1,x.push(' style="',$,":",oe)):x.push(";",$,":",oe)}}_||x.push('"')}function R(x,_,F,H){switch(F){case"style":j(x,_,H);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<F.length)||F[0]!=="o"&&F[0]!=="O"||F[1]!=="n"&&F[1]!=="N"){if(_=u.hasOwnProperty(F)?u[F]:null,_!==null){switch(typeof H){case"function":case"symbol":return;case"boolean":if(!_.acceptsBooleans)return}switch(F=_.attributeName,_.type){case 3:H&&x.push(" ",F,'=""');break;case 4:H===!0?x.push(" ",F,'=""'):H!==!1&&x.push(" ",F,'="',b(H),'"');break;case 5:isNaN(H)||x.push(" ",F,'="',b(H),'"');break;case 6:!isNaN(H)&&1<=H&&x.push(" ",F,'="',b(H),'"');break;default:_.sanitizeURL&&(H=""+H),x.push(" ",F,'="',b(H),'"')}}else if(a(F)){switch(typeof H){case"function":case"symbol":return;case"boolean":if(_=F.toLowerCase().slice(0,5),_!=="data-"&&_!=="aria-")return}x.push(" ",F,'="',b(H),'"')}}}function z(x,_,F){if(_!=null){if(F!=null)throw Error(e(60));if(typeof _!="object"||!("__html"in _))throw Error(e(61));_=_.__html,_!=null&&x.push(""+_)}}function V(x){var _="";return t.Children.forEach(x,function(F){F!=null&&(_+=F)}),_}function K(x,_,F,H){x.push(W(F));var oe=F=null,$;for($ in _)if(n.call(_,$)){var he=_[$];if(he!=null)switch($){case"children":F=he;break;case"dangerouslySetInnerHTML":oe=he;break;default:R(x,H,$,he)}}return x.push(">"),z(x,oe,F),typeof F=="string"?(x.push(b(F)),null):F}var q=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Z=new Map;function W(x){var _=Z.get(x);if(_===void 0){if(!q.test(x))throw Error(e(65,x));_="<"+x,Z.set(x,_)}return _}function ie(x,_,F,H,oe){switch(_){case"select":x.push(W("select"));var $=null,he=null;for(ut in F)if(n.call(F,ut)){var De=F[ut];if(De!=null)switch(ut){case"children":$=De;break;case"dangerouslySetInnerHTML":he=De;break;case"defaultValue":case"value":break;default:R(x,H,ut,De)}}return x.push(">"),z(x,he,$),$;case"option":he=oe.selectedValue,x.push(W("option"));var Ie=De=null,tt=null,ut=null;for($ in F)if(n.call(F,$)){var It=F[$];if(It!=null)switch($){case"children":De=It;break;case"selected":tt=It;break;case"dangerouslySetInnerHTML":ut=It;break;case"value":Ie=It;default:R(x,H,$,It)}}if(he!=null)if(F=Ie!==null?""+Ie:V(De),P(he)){for(H=0;H<he.length;H++)if(""+he[H]===F){x.push(' selected=""');break}}else""+he===F&&x.push(' selected=""');else tt&&x.push(' selected=""');return x.push(">"),z(x,ut,De),De;case"textarea":x.push(W("textarea")),ut=he=$=null;for(De in F)if(n.call(F,De)&&(Ie=F[De],Ie!=null))switch(De){case"children":ut=Ie;break;case"value":$=Ie;break;case"defaultValue":he=Ie;break;case"dangerouslySetInnerHTML":throw Error(e(91));default:R(x,H,De,Ie)}if($===null&&he!==null&&($=he),x.push(">"),ut!=null){if($!=null)throw Error(e(92));if(P(ut)&&1<ut.length)throw Error(e(93));$=""+ut}return typeof $=="string"&&$[0]===`
|
|
11
11
|
`&&x.push(`
|
|
@@ -305,6 +305,6 @@ Would you like to submit this security incident report?`},options:["Submit Secur
|
|
|
305
305
|
display: inline !important;
|
|
306
306
|
margin: 0 !important;
|
|
307
307
|
}
|
|
308
|
-
`;function kD(t){if(!t)return;const e=t.getRootNode();if(!(e instanceof ShadowRoot)||e.getElementById(Nv))return;const n=document.createElement("style");n.id=Nv,n.textContent=wD,e.appendChild(n)}const Mp=T.forwardRef((t,e)=>{const{apiKey:n=Pr.DEFAULT_API_KEY,isLoggedIn:r=!1,loginUrl:i=Ro.LOGIN_URL,userEmail:o,userName:a,accessId:l,actingUser:u,ringEffect:d,defaultOpen:p,onClose:h,open:A,onOpenChange:m,embedded:b=!1,welcome:w,qaEndpoint:y,ratingEndpoint:P,agentEndpoint:M,backendId:D,resourceContext:C,onAnalyticsEvent:j}=t,R=Pr.AGENT_ENABLED,z=D||Pr.BACKEND_ID,V=T.useRef(null),K=T.useRef(null),[q,Z]=T.useState({}),[W,ie]=T.useState(()=>({categories:[],is_authenticated:!1})),ue=T.useMemo(()=>({email:o,name:a,accessId:l}),[o,a,l]);T.useEffect(()=>{kD(K.current)},[]),T.useEffect(()=>{iD({ticketForm:q,setTicketForm:Z})},[q]);const te=M||Pr.AGENT_ENDPOINT,pe=C?`${te}/capabilities?resource_context=${encodeURIComponent(C)}`:`${te}/capabilities`;T.useEffect(()=>{},[te,R]),T.useEffect(()=>{},[R,pe,r]),T.useEffect(()=>{},[R,te,r]),T.useImperativeHandle(e,()=>({addMessage:J=>{var ve,me;(me=(ve=V.current)==null?void 0:ve.addMessage)==null||me.call(ve,J)}}));const ee=w||W?.welcome_message||Ro.WELCOME_MESSAGE,G=T.useMemo(()=>xD(),[]),N=T.useCallback(J=>{j&&j({...J,type:J.type,timestamp:J.timestamp??Date.now(),sessionId:J.sessionId??G})},[j,G]),de=T.useCallback(J=>{j&&j({...J,type:J.type,timestamp:typeof J.timestamp=="number"?J.timestamp:Date.now(),sessionId:typeof J.sessionId=="string"?J.sessionId:G})},[j,G]),I=T.useMemo(()=>{const J=rD({welcome:ee,setTicketForm:Z,trackEvent:N}),ve=pD({ticketForm:{},setTicketForm:Z,userInfo:ue,trackEvent:N}),me=AD({ticketForm:{},setTicketForm:Z,userInfo:ue,trackEvent:N}),we=bD({sessionId:G,apiKey:n,trackEvent:N}),_e={...J,...ve,...me,...we};return tD(_e,{disableOnOptions:!0})},[ee,ue,G,n,r,N,W]);return W?E.jsx("div",{ref:K,children:E.jsx(Pp,{ref:V,isLoggedIn:r,allowAnonAccess:Pr.ALLOW_ANON_ACCESS,actingUser:u,onAnalyticsEvent:de,apiKey:n,qaEndpoint:y||Pr.QA_ENDPOINT,ratingEndpoint:P||Pr.RATING_ENDPOINT,backendId:z,botName:Ro.BOT_NAME,logo:Ro.LOGO,primaryColor:Ro.PRIMARY_COLOR,secondaryColor:Ro.SECONDARY_COLOR,welcomeMessage:ee,tooltipText:Ro.TOOLTIP,turnstileSiteKey:Pr.TURNSTILE_SITE_KEY,loginUrl:i,open:A,onOpenChange:m,embedded:b,footerText:"AI-powered · Privacy Notice",footerLink:"https://support.access-ci.org/tools/access-qa-tool/privacy",resourceContext:C,customFlow:I})}):E.jsx("div",{ref:K})});Mp.displayName="AccessQABot";const SD=Object.freeze(Object.defineProperty({__proto__:null,API_CONFIG:Pr,AccessQABot:Mp,BOT_CONFIG:Ro,QABot:Mp},Symbol.toStringTag,{value:"Module"}));function kt({alt:t=null,name:e=null,src:n=null}){return e?E.jsx("i",{className:`icon bi bi-${e}`}):E.jsx("img",{className:"icon",alt:t,src:n})}const Fv=()=>{const t=new Event("accessci-update-sections");document.dispatchEvent(t)};function _i({children:t,headerComponents:e=null,icon:n=null,sectionId:r=null,title:i}){const o=r||i.toLowerCase().replace(/[^0-9a-z]+/g,"-");return T.useLayoutEffect(()=>(Fv(),Fv),[]),E.jsxs("section",{id:o,"data-section-title":i,"data-section-icon":n,children:[E.jsxs("div",{className:"flex-header",children:[E.jsxs("h2",{children:[n?E.jsx(kt,{name:n}):null,i]}),e?E.jsx("div",{className:"header-components",children:e}):null]}),t]})}function ED({infoGroupId:t}){const e=Xn(`https://support.access-ci.org/api/1.0/affinity_groups/${t}`);if(!e||e.error||!e.length)return;const n=mf(e[0].slack_link);return E.jsxs(_i,{title:"User Community",icon:"people-fill",children:[E.jsx("p",{children:"Join the community by participating in an affinity group! Members get update about announcements, events, and outages."}),E.jsxs("div",{className:"button-group",children:[E.jsxs("a",{href:e[0].url,className:"btn secondary",children:[E.jsx(kt,{name:"person-plus-fill"})," Join Affinity Group"]}),n?E.jsxs("a",{href:n,className:"btn",children:[E.jsx(kt,{name:"slack"})," Connect on Slack"]}):null,E.jsxs("a",{href:"#questions-and-answers",className:"btn",children:[E.jsx(kt,{name:"chat-fill"})," Ask and Answer Questions"]})]})]})}function CD({infoGroupId:t}){const e=al(t),n=Xn(e&&e.infoResourceIds.length?`https://operations-api.access-ci.org/wh2/cider/v1/info_resourceid/${e.infoResourceIds[0]}/?format=json`:null);if(!e)return;const{accessAllocated:r,name:i,description:o,imageUri:a,organizations:l}=e,u=r?"https://allocations.access-ci.org/get-your-first-project":null,d=n&&n.results?(n.results.compute||n.results.storage||{}).user_guide_url:null;return E.jsxs("div",{className:"resource-group-description",children:[a?E.jsx("img",{className:"resource-group-feature-image",src:a}):null,E.jsx("h1",{children:e.name}),l.map(p=>E.jsx("p",{children:E.jsxs("a",{href:p.organization_url||"#",children:[p.organization_favicon_url?E.jsx(kt,{alt:p.organization_name,src:p.organization_favicon_url}):null,p.organization_name]})},p.organization_name)),o?E.jsx("p",{children:o}):null,E.jsxs("div",{style:{marginTop:"1rem"},children:[u?E.jsxs("a",{href:u,className:"btn secondary lg",children:[E.jsx(kt,{name:"check2-circle"})," Get Started with ",i]}):null,d?E.jsxs("a",{href:d,className:"btn lg",children:[E.jsx(kt,{name:"book"})," User Guide"]}):null]})]})}function PD({column:t,row:e,style:n={}}){const r=t.format?t.format(e[t.key],e):e[t.key],i=["cell"];return t.class&&i.push(t.class),t.rowClass&&i.push(t.rowClass(e)),E.jsx("td",{className:i.join(" "),style:n,children:r})}const DD={text:PD};function hu({columns:t,rows:e,classes:n,frozenColumns:r=0,maxHeight:i=400,minWidth:o,rowClasses:a=[],scrollResetOnUpdate:l=!1}){const u=T.useRef();T.useLayoutEffect(()=>{u.current&&l&&(u.current.scrollTop=0)},[e]);const d=[0];for(let b=0;b<r;b++)d[b+1]=d[b]+(t[b].width||100);const p=(b,w)=>b<r?{position:"sticky",left:`${d[b]}px`,minWidth:`${t[b].width||100}px`,width:`${t[b].width||100}px`,zIndex:w||1}:{},h=t.map((b,w)=>E.jsx("th",{className:b.headerClass||b.class||"",style:p(w,100),children:b.formatHeader?b.formatHeader(b.name,b):b.name},b.key)),A=e.map((b,w)=>{const y=t.map((P,M)=>{const D=DD[P.type||"text"];return E.jsx(D,{column:P,row:b,style:p(M)},P.key)});return E.jsx("tr",{className:a[w]||"",children:y},w)}),m={};return o&&(m.minWidth=o),E.jsx("div",{className:`grid ${n||""}`,style:{maxHeight:Number.isInteger(i)?`${i}px`:i||null},ref:u,children:E.jsxs("table",{className:"table",style:m,children:[E.jsx("thead",{children:E.jsx("tr",{children:h})}),E.jsx("tbody",{children:A})]})})}function TD({infoGroupId:t}){const e=Xn(`https://support.access-ci.org/api/1.0/affinity_groups/${t}`),n=e&&!e.error&&e.length?e[0].field_ask_ci_locale:null,r=n?`${n}.json`:null,i=Xn(r);if(!i||i.error||!i.topic_list||!i.topic_list.topics||!i.topic_list.topics.length)return;const o=[{key:"title",name:"Topic",format:(l,u)=>E.jsxs(E.Fragment,{children:[u.pinned?E.jsx(kt,{name:"pin-fill"}):null,E.jsx("a",{href:`https://ask.cyberinfrastructure.org/t/${u.slug}/${u.id}`,children:l})]})},{key:"posts_count",name:"Posts",format:l=>l.toLocaleString("en-us")},{key:"bumped_at",name:"Last Update",format:l=>new Date(l).toLocaleString("en-US",{dateStyle:"medium"})}],a=[E.jsx("a",{href:n,className:"btn secondary",children:"Ask a Question"},"ask"),E.jsx("a",{href:n,className:"btn",children:"View All Topics"},"all")];return E.jsx(_i,{title:"Questions and Answers",icon:"chat-fill",headerComponents:a,children:E.jsx(hu,{columns:o,rows:i.topic_list.topics.slice(0,5)})})}var sr="top",Vr="bottom",Wr="right",ar="left",Op="auto",Dl=[sr,Vr,Wr,ar],fa="start",Tl="end",BD="clippingParents",jv="viewport",Bl="popper",_D="reference",zv=Dl.reduce(function(t,e){return t.concat([e+"-"+fa,e+"-"+Tl])},[]),Qv=[].concat(Dl,[Op]).reduce(function(t,e){return t.concat([e,e+"-"+fa,e+"-"+Tl])},[]),ID="beforeRead",MD="read",OD="afterRead",RD="beforeMain",LD="main",ND="afterMain",FD="beforeWrite",jD="write",zD="afterWrite",QD=[ID,MD,OD,RD,LD,ND,FD,jD,zD];function Ii(t){return t?(t.nodeName||"").toLowerCase():null}function Dr(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function bs(t){var e=Dr(t).Element;return t instanceof e||t instanceof Element}function Yr(t){var e=Dr(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function Rp(t){if(typeof ShadowRoot>"u")return!1;var e=Dr(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function HD(t){var e=t.state;Object.keys(e.elements).forEach(function(n){var r=e.styles[n]||{},i=e.attributes[n]||{},o=e.elements[n];!Yr(o)||!Ii(o)||(Object.assign(o.style,r),Object.keys(i).forEach(function(a){var l=i[a];l===!1?o.removeAttribute(a):o.setAttribute(a,l===!0?"":l)}))})}function UD(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach(function(r){var i=e.elements[r],o=e.attributes[r]||{},a=Object.keys(e.styles.hasOwnProperty(r)?e.styles[r]:n[r]),l=a.reduce(function(u,d){return u[d]="",u},{});!Yr(i)||!Ii(i)||(Object.assign(i.style,l),Object.keys(o).forEach(function(u){i.removeAttribute(u)}))})}}const Hv={name:"applyStyles",enabled:!0,phase:"write",fn:HD,effect:UD,requires:["computeStyles"]};function Mi(t){return t.split("-")[0]}var xs=Math.max,Au=Math.min,pa=Math.round;function Lp(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function Uv(){return!/^((?!chrome|android).)*safari/i.test(Lp())}function ha(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!1);var r=t.getBoundingClientRect(),i=1,o=1;e&&Yr(t)&&(i=t.offsetWidth>0&&pa(r.width)/t.offsetWidth||1,o=t.offsetHeight>0&&pa(r.height)/t.offsetHeight||1);var a=bs(t)?Dr(t):window,l=a.visualViewport,u=!Uv()&&n,d=(r.left+(u&&l?l.offsetLeft:0))/i,p=(r.top+(u&&l?l.offsetTop:0))/o,h=r.width/i,A=r.height/o;return{width:h,height:A,top:p,right:d+h,bottom:p+A,left:d,x:d,y:p}}function Np(t){var e=ha(t),n=t.offsetWidth,r=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-r)<=1&&(r=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:r}}function Vv(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&Rp(n)){var r=e;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function so(t){return Dr(t).getComputedStyle(t)}function VD(t){return["table","td","th"].indexOf(Ii(t))>=0}function Lo(t){return((bs(t)?t.ownerDocument:t.document)||window.document).documentElement}function gu(t){return Ii(t)==="html"?t:t.assignedSlot||t.parentNode||(Rp(t)?t.host:null)||Lo(t)}function Wv(t){return!Yr(t)||so(t).position==="fixed"?null:t.offsetParent}function WD(t){var e=/firefox/i.test(Lp()),n=/Trident/i.test(Lp());if(n&&Yr(t)){var r=so(t);if(r.position==="fixed")return null}var i=gu(t);for(Rp(i)&&(i=i.host);Yr(i)&&["html","body"].indexOf(Ii(i))<0;){var o=so(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||e&&o.willChange==="filter"||e&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function _l(t){for(var e=Dr(t),n=Wv(t);n&&VD(n)&&so(n).position==="static";)n=Wv(n);return n&&(Ii(n)==="html"||Ii(n)==="body"&&so(n).position==="static")?e:n||WD(t)||e}function Fp(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Il(t,e,n){return xs(t,Au(e,n))}function YD(t,e,n){var r=Il(t,e,n);return r>n?n:r}function Yv(){return{top:0,right:0,bottom:0,left:0}}function qv(t){return Object.assign({},Yv(),t)}function Kv(t,e){return e.reduce(function(n,r){return n[r]=t,n},{})}var qD=function(e,n){return e=typeof e=="function"?e(Object.assign({},n.rects,{placement:n.placement})):e,qv(typeof e!="number"?e:Kv(e,Dl))};function KD(t){var e,n=t.state,r=t.name,i=t.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,l=Mi(n.placement),u=Fp(l),d=[ar,Wr].indexOf(l)>=0,p=d?"height":"width";if(!(!o||!a)){var h=qD(i.padding,n),A=Np(o),m=u==="y"?sr:ar,b=u==="y"?Vr:Wr,w=n.rects.reference[p]+n.rects.reference[u]-a[u]-n.rects.popper[p],y=a[u]-n.rects.reference[u],P=_l(o),M=P?u==="y"?P.clientHeight||0:P.clientWidth||0:0,D=w/2-y/2,C=h[m],j=M-A[p]-h[b],R=M/2-A[p]/2+D,z=Il(C,R,j),V=u;n.modifiersData[r]=(e={},e[V]=z,e.centerOffset=z-R,e)}}function GD(t){var e=t.state,n=t.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=e.elements.popper.querySelector(i),!i)||Vv(e.elements.popper,i)&&(e.elements.arrow=i))}const XD={name:"arrow",enabled:!0,phase:"main",fn:KD,effect:GD,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Aa(t){return t.split("-")[1]}var JD={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ZD(t,e){var n=t.x,r=t.y,i=e.devicePixelRatio||1;return{x:pa(n*i)/i||0,y:pa(r*i)/i||0}}function Gv(t){var e,n=t.popper,r=t.popperRect,i=t.placement,o=t.variation,a=t.offsets,l=t.position,u=t.gpuAcceleration,d=t.adaptive,p=t.roundOffsets,h=t.isFixed,A=a.x,m=A===void 0?0:A,b=a.y,w=b===void 0?0:b,y=typeof p=="function"?p({x:m,y:w}):{x:m,y:w};m=y.x,w=y.y;var P=a.hasOwnProperty("x"),M=a.hasOwnProperty("y"),D=ar,C=sr,j=window;if(d){var R=_l(n),z="clientHeight",V="clientWidth";if(R===Dr(n)&&(R=Lo(n),so(R).position!=="static"&&l==="absolute"&&(z="scrollHeight",V="scrollWidth")),R=R,i===sr||(i===ar||i===Wr)&&o===Tl){C=Vr;var K=h&&R===j&&j.visualViewport?j.visualViewport.height:R[z];w-=K-r.height,w*=u?1:-1}if(i===ar||(i===sr||i===Vr)&&o===Tl){D=Wr;var q=h&&R===j&&j.visualViewport?j.visualViewport.width:R[V];m-=q-r.width,m*=u?1:-1}}var Z=Object.assign({position:l},d&&JD),W=p===!0?ZD({x:m,y:w},Dr(n)):{x:m,y:w};if(m=W.x,w=W.y,u){var ie;return Object.assign({},Z,(ie={},ie[C]=M?"0":"",ie[D]=P?"0":"",ie.transform=(j.devicePixelRatio||1)<=1?"translate("+m+"px, "+w+"px)":"translate3d("+m+"px, "+w+"px, 0)",ie))}return Object.assign({},Z,(e={},e[C]=M?w+"px":"",e[D]=P?m+"px":"",e.transform="",e))}function $D(t){var e=t.state,n=t.options,r=n.gpuAcceleration,i=r===void 0?!0:r,o=n.adaptive,a=o===void 0?!0:o,l=n.roundOffsets,u=l===void 0?!0:l,d={placement:Mi(e.placement),variation:Aa(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:i,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,Gv(Object.assign({},d,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a,roundOffsets:u})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,Gv(Object.assign({},d,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const eT={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:$D,data:{}};var mu={passive:!0};function tT(t){var e=t.state,n=t.instance,r=t.options,i=r.scroll,o=i===void 0?!0:i,a=r.resize,l=a===void 0?!0:a,u=Dr(e.elements.popper),d=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&d.forEach(function(p){p.addEventListener("scroll",n.update,mu)}),l&&u.addEventListener("resize",n.update,mu),function(){o&&d.forEach(function(p){p.removeEventListener("scroll",n.update,mu)}),l&&u.removeEventListener("resize",n.update,mu)}}const nT={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:tT,data:{}};var rT={left:"right",right:"left",bottom:"top",top:"bottom"};function vu(t){return t.replace(/left|right|bottom|top/g,function(e){return rT[e]})}var iT={start:"end",end:"start"};function Xv(t){return t.replace(/start|end/g,function(e){return iT[e]})}function jp(t){var e=Dr(t),n=e.pageXOffset,r=e.pageYOffset;return{scrollLeft:n,scrollTop:r}}function zp(t){return ha(Lo(t)).left+jp(t).scrollLeft}function oT(t,e){var n=Dr(t),r=Lo(t),i=n.visualViewport,o=r.clientWidth,a=r.clientHeight,l=0,u=0;if(i){o=i.width,a=i.height;var d=Uv();(d||!d&&e==="fixed")&&(l=i.offsetLeft,u=i.offsetTop)}return{width:o,height:a,x:l+zp(t),y:u}}function sT(t){var e,n=Lo(t),r=jp(t),i=(e=t.ownerDocument)==null?void 0:e.body,o=xs(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=xs(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),l=-r.scrollLeft+zp(t),u=-r.scrollTop;return so(i||n).direction==="rtl"&&(l+=xs(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:l,y:u}}function Qp(t){var e=so(t),n=e.overflow,r=e.overflowX,i=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function Jv(t){return["html","body","#document"].indexOf(Ii(t))>=0?t.ownerDocument.body:Yr(t)&&Qp(t)?t:Jv(gu(t))}function Ml(t,e){var n;e===void 0&&(e=[]);var r=Jv(t),i=r===((n=t.ownerDocument)==null?void 0:n.body),o=Dr(r),a=i?[o].concat(o.visualViewport||[],Qp(r)?r:[]):r,l=e.concat(a);return i?l:l.concat(Ml(gu(a)))}function Hp(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function aT(t,e){var n=ha(t,!1,e==="fixed");return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}function Zv(t,e,n){return e===jv?Hp(oT(t,n)):bs(e)?aT(e,n):Hp(sT(Lo(t)))}function lT(t){var e=Ml(gu(t)),n=["absolute","fixed"].indexOf(so(t).position)>=0,r=n&&Yr(t)?_l(t):t;return bs(r)?e.filter(function(i){return bs(i)&&Vv(i,r)&&Ii(i)!=="body"}):[]}function cT(t,e,n,r){var i=e==="clippingParents"?lT(t):[].concat(e),o=[].concat(i,[n]),a=o[0],l=o.reduce(function(u,d){var p=Zv(t,d,r);return u.top=xs(p.top,u.top),u.right=Au(p.right,u.right),u.bottom=Au(p.bottom,u.bottom),u.left=xs(p.left,u.left),u},Zv(t,a,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function $v(t){var e=t.reference,n=t.element,r=t.placement,i=r?Mi(r):null,o=r?Aa(r):null,a=e.x+e.width/2-n.width/2,l=e.y+e.height/2-n.height/2,u;switch(i){case sr:u={x:a,y:e.y-n.height};break;case Vr:u={x:a,y:e.y+e.height};break;case Wr:u={x:e.x+e.width,y:l};break;case ar:u={x:e.x-n.width,y:l};break;default:u={x:e.x,y:e.y}}var d=i?Fp(i):null;if(d!=null){var p=d==="y"?"height":"width";switch(o){case fa:u[d]=u[d]-(e[p]/2-n[p]/2);break;case Tl:u[d]=u[d]+(e[p]/2-n[p]/2);break}}return u}function Ol(t,e){e===void 0&&(e={});var n=e,r=n.placement,i=r===void 0?t.placement:r,o=n.strategy,a=o===void 0?t.strategy:o,l=n.boundary,u=l===void 0?BD:l,d=n.rootBoundary,p=d===void 0?jv:d,h=n.elementContext,A=h===void 0?Bl:h,m=n.altBoundary,b=m===void 0?!1:m,w=n.padding,y=w===void 0?0:w,P=qv(typeof y!="number"?y:Kv(y,Dl)),M=A===Bl?_D:Bl,D=t.rects.popper,C=t.elements[b?M:A],j=cT(bs(C)?C:C.contextElement||Lo(t.elements.popper),u,p,a),R=ha(t.elements.reference),z=$v({reference:R,element:D,placement:i}),V=Hp(Object.assign({},D,z)),K=A===Bl?V:R,q={top:j.top-K.top+P.top,bottom:K.bottom-j.bottom+P.bottom,left:j.left-K.left+P.left,right:K.right-j.right+P.right},Z=t.modifiersData.offset;if(A===Bl&&Z){var W=Z[i];Object.keys(q).forEach(function(ie){var ue=[Wr,Vr].indexOf(ie)>=0?1:-1,te=[sr,Vr].indexOf(ie)>=0?"y":"x";q[ie]+=W[te]*ue})}return q}function uT(t,e){e===void 0&&(e={});var n=e,r=n.placement,i=n.boundary,o=n.rootBoundary,a=n.padding,l=n.flipVariations,u=n.allowedAutoPlacements,d=u===void 0?Qv:u,p=Aa(r),h=p?l?zv:zv.filter(function(b){return Aa(b)===p}):Dl,A=h.filter(function(b){return d.indexOf(b)>=0});A.length===0&&(A=h);var m=A.reduce(function(b,w){return b[w]=Ol(t,{placement:w,boundary:i,rootBoundary:o,padding:a})[Mi(w)],b},{});return Object.keys(m).sort(function(b,w){return m[b]-m[w]})}function dT(t){if(Mi(t)===Op)return[];var e=vu(t);return[Xv(t),e,Xv(e)]}function fT(t){var e=t.state,n=t.options,r=t.name;if(!e.modifiersData[r]._skip){for(var i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,l=a===void 0?!0:a,u=n.fallbackPlacements,d=n.padding,p=n.boundary,h=n.rootBoundary,A=n.altBoundary,m=n.flipVariations,b=m===void 0?!0:m,w=n.allowedAutoPlacements,y=e.options.placement,P=Mi(y),M=P===y,D=u||(M||!b?[vu(y)]:dT(y)),C=[y].concat(D).reduce(function(me,we){return me.concat(Mi(we)===Op?uT(e,{placement:we,boundary:p,rootBoundary:h,padding:d,flipVariations:b,allowedAutoPlacements:w}):we)},[]),j=e.rects.reference,R=e.rects.popper,z=new Map,V=!0,K=C[0],q=0;q<C.length;q++){var Z=C[q],W=Mi(Z),ie=Aa(Z)===fa,ue=[sr,Vr].indexOf(W)>=0,te=ue?"width":"height",pe=Ol(e,{placement:Z,boundary:p,rootBoundary:h,altBoundary:A,padding:d}),ee=ue?ie?Wr:ar:ie?Vr:sr;j[te]>R[te]&&(ee=vu(ee));var G=vu(ee),N=[];if(o&&N.push(pe[W]<=0),l&&N.push(pe[ee]<=0,pe[G]<=0),N.every(function(me){return me})){K=Z,V=!1;break}z.set(Z,N)}if(V)for(var de=b?3:1,I=function(we){var _e=C.find(function(Oe){var Ve=z.get(Oe);if(Ve)return Ve.slice(0,we).every(function(ze){return ze})});if(_e)return K=_e,"break"},J=de;J>0;J--){var ve=I(J);if(ve==="break")break}e.placement!==K&&(e.modifiersData[r]._skip=!0,e.placement=K,e.reset=!0)}}const pT={name:"flip",enabled:!0,phase:"main",fn:fT,requiresIfExists:["offset"],data:{_skip:!1}};function ey(t,e,n){return n===void 0&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function ty(t){return[sr,Wr,Vr,ar].some(function(e){return t[e]>=0})}function hT(t){var e=t.state,n=t.name,r=e.rects.reference,i=e.rects.popper,o=e.modifiersData.preventOverflow,a=Ol(e,{elementContext:"reference"}),l=Ol(e,{altBoundary:!0}),u=ey(a,r),d=ey(l,i,o),p=ty(u),h=ty(d);e.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:d,isReferenceHidden:p,hasPopperEscaped:h},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":h})}const AT={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:hT};function gT(t,e,n){var r=Mi(t),i=[ar,sr].indexOf(r)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},e,{placement:t})):n,a=o[0],l=o[1];return a=a||0,l=(l||0)*i,[ar,Wr].indexOf(r)>=0?{x:l,y:a}:{x:a,y:l}}function mT(t){var e=t.state,n=t.options,r=t.name,i=n.offset,o=i===void 0?[0,0]:i,a=Qv.reduce(function(p,h){return p[h]=gT(h,e.rects,o),p},{}),l=a[e.placement],u=l.x,d=l.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=u,e.modifiersData.popperOffsets.y+=d),e.modifiersData[r]=a}const vT={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:mT};function yT(t){var e=t.state,n=t.name;e.modifiersData[n]=$v({reference:e.rects.reference,element:e.rects.popper,placement:e.placement})}const bT={name:"popperOffsets",enabled:!0,phase:"read",fn:yT,data:{}};function xT(t){return t==="x"?"y":"x"}function wT(t){var e=t.state,n=t.options,r=t.name,i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,l=a===void 0?!1:a,u=n.boundary,d=n.rootBoundary,p=n.altBoundary,h=n.padding,A=n.tether,m=A===void 0?!0:A,b=n.tetherOffset,w=b===void 0?0:b,y=Ol(e,{boundary:u,rootBoundary:d,padding:h,altBoundary:p}),P=Mi(e.placement),M=Aa(e.placement),D=!M,C=Fp(P),j=xT(C),R=e.modifiersData.popperOffsets,z=e.rects.reference,V=e.rects.popper,K=typeof w=="function"?w(Object.assign({},e.rects,{placement:e.placement})):w,q=typeof K=="number"?{mainAxis:K,altAxis:K}:Object.assign({mainAxis:0,altAxis:0},K),Z=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,W={x:0,y:0};if(R){if(o){var ie,ue=C==="y"?sr:ar,te=C==="y"?Vr:Wr,pe=C==="y"?"height":"width",ee=R[C],G=ee+y[ue],N=ee-y[te],de=m?-V[pe]/2:0,I=M===fa?z[pe]:V[pe],J=M===fa?-V[pe]:-z[pe],ve=e.elements.arrow,me=m&&ve?Np(ve):{width:0,height:0},we=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:Yv(),_e=we[ue],Oe=we[te],Ve=Il(0,z[pe],me[pe]),ze=D?z[pe]/2-de-Ve-_e-q.mainAxis:I-Ve-_e-q.mainAxis,$e=D?-z[pe]/2+de+Ve+Oe+q.mainAxis:J+Ve+Oe+q.mainAxis,wt=e.elements.arrow&&_l(e.elements.arrow),Me=wt?C==="y"?wt.clientTop||0:wt.clientLeft||0:0,Ee=(ie=Z?.[C])!=null?ie:0,Xe=ee+ze-Ee-Me,Ge=ee+$e-Ee,At=Il(m?Au(G,Xe):G,ee,m?xs(N,Ge):N);R[C]=At,W[C]=At-ee}if(l){var lt,gt=C==="x"?sr:ar,yt=C==="x"?Vr:Wr,mt=R[j],Rt=j==="y"?"height":"width",dt=mt+y[gt],Ke=mt-y[yt],fn=[sr,ar].indexOf(P)!==-1,Yt=(lt=Z?.[j])!=null?lt:0,vn=fn?dt:mt-z[Rt]-V[Rt]-Yt+q.altAxis,nn=fn?mt+z[Rt]+V[Rt]-Yt-q.altAxis:Ke,_t=m&&fn?YD(vn,mt,nn):Il(m?vn:dt,mt,m?nn:Ke);R[j]=_t,W[j]=_t-mt}e.modifiersData[r]=W}}const kT={name:"preventOverflow",enabled:!0,phase:"main",fn:wT,requiresIfExists:["offset"]};function ST(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function ET(t){return t===Dr(t)||!Yr(t)?jp(t):ST(t)}function CT(t){var e=t.getBoundingClientRect(),n=pa(e.width)/t.offsetWidth||1,r=pa(e.height)/t.offsetHeight||1;return n!==1||r!==1}function PT(t,e,n){n===void 0&&(n=!1);var r=Yr(e),i=Yr(e)&&CT(e),o=Lo(e),a=ha(t,i,n),l={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(r||!r&&!n)&&((Ii(e)!=="body"||Qp(o))&&(l=ET(e)),Yr(e)?(u=ha(e,!0),u.x+=e.clientLeft,u.y+=e.clientTop):o&&(u.x=zp(o))),{x:a.left+l.scrollLeft-u.x,y:a.top+l.scrollTop-u.y,width:a.width,height:a.height}}function DT(t){var e=new Map,n=new Set,r=[];t.forEach(function(o){e.set(o.name,o)});function i(o){n.add(o.name);var a=[].concat(o.requires||[],o.requiresIfExists||[]);a.forEach(function(l){if(!n.has(l)){var u=e.get(l);u&&i(u)}}),r.push(o)}return t.forEach(function(o){n.has(o.name)||i(o)}),r}function TT(t){var e=DT(t);return QD.reduce(function(n,r){return n.concat(e.filter(function(i){return i.phase===r}))},[])}function BT(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}function _T(t){var e=t.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(e).map(function(n){return e[n]})}var ny={placement:"bottom",modifiers:[],strategy:"absolute"};function ry(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function IT(t){t===void 0&&(t={});var e=t,n=e.defaultModifiers,r=n===void 0?[]:n,i=e.defaultOptions,o=i===void 0?ny:i;return function(l,u,d){d===void 0&&(d=o);var p={placement:"bottom",orderedModifiers:[],options:Object.assign({},ny,o),modifiersData:{},elements:{reference:l,popper:u},attributes:{},styles:{}},h=[],A=!1,m={state:p,setOptions:function(P){var M=typeof P=="function"?P(p.options):P;w(),p.options=Object.assign({},o,p.options,M),p.scrollParents={reference:bs(l)?Ml(l):l.contextElement?Ml(l.contextElement):[],popper:Ml(u)};var D=TT(_T([].concat(r,p.options.modifiers)));return p.orderedModifiers=D.filter(function(C){return C.enabled}),b(),m.update()},forceUpdate:function(){if(!A){var P=p.elements,M=P.reference,D=P.popper;if(ry(M,D)){p.rects={reference:PT(M,_l(D),p.options.strategy==="fixed"),popper:Np(D)},p.reset=!1,p.placement=p.options.placement,p.orderedModifiers.forEach(function(q){return p.modifiersData[q.name]=Object.assign({},q.data)});for(var C=0;C<p.orderedModifiers.length;C++){if(p.reset===!0){p.reset=!1,C=-1;continue}var j=p.orderedModifiers[C],R=j.fn,z=j.options,V=z===void 0?{}:z,K=j.name;typeof R=="function"&&(p=R({state:p,options:V,name:K,instance:m})||p)}}}},update:BT(function(){return new Promise(function(y){m.forceUpdate(),y(p)})}),destroy:function(){w(),A=!0}};if(!ry(l,u))return m;m.setOptions(d).then(function(y){!A&&d.onFirstUpdate&&d.onFirstUpdate(y)});function b(){p.orderedModifiers.forEach(function(y){var P=y.name,M=y.options,D=M===void 0?{}:M,C=y.effect;if(typeof C=="function"){var j=C({state:p,name:P,instance:m,options:D}),R=function(){};h.push(j||R)}})}function w(){h.forEach(function(y){return y()}),h=[]}return m}}var MT=[nT,bT,eT,Hv,vT,pT,kT,XD,AT],OT=IT({defaultModifiers:MT}),RT="tippy-box",iy="tippy-content",LT="tippy-backdrop",oy="tippy-arrow",sy="tippy-svg-arrow",ws={passive:!0,capture:!0},ay=function(){return document.body};function Up(t,e,n){if(Array.isArray(t)){var r=t[e];return r??(Array.isArray(n)?n[e]:n)}return t}function Vp(t,e){var n={}.toString.call(t);return n.indexOf("[object")===0&&n.indexOf(e+"]")>-1}function ly(t,e){return typeof t=="function"?t.apply(void 0,e):t}function cy(t,e){if(e===0)return t;var n;return function(r){clearTimeout(n),n=setTimeout(function(){t(r)},e)}}function NT(t){return t.split(/\s+/).filter(Boolean)}function ga(t){return[].concat(t)}function uy(t,e){t.indexOf(e)===-1&&t.push(e)}function FT(t){return t.filter(function(e,n){return t.indexOf(e)===n})}function jT(t){return t.split("-")[0]}function yu(t){return[].slice.call(t)}function dy(t){return Object.keys(t).reduce(function(e,n){return t[n]!==void 0&&(e[n]=t[n]),e},{})}function Rl(){return document.createElement("div")}function bu(t){return["Element","Fragment"].some(function(e){return Vp(t,e)})}function zT(t){return Vp(t,"NodeList")}function QT(t){return Vp(t,"MouseEvent")}function HT(t){return!!(t&&t._tippy&&t._tippy.reference===t)}function UT(t){return bu(t)?[t]:zT(t)?yu(t):Array.isArray(t)?t:yu(document.querySelectorAll(t))}function Wp(t,e){t.forEach(function(n){n&&(n.style.transitionDuration=e+"ms")})}function fy(t,e){t.forEach(function(n){n&&n.setAttribute("data-state",e)})}function VT(t){var e,n=ga(t),r=n[0];return r!=null&&(e=r.ownerDocument)!=null&&e.body?r.ownerDocument:document}function WT(t,e){var n=e.clientX,r=e.clientY;return t.every(function(i){var o=i.popperRect,a=i.popperState,l=i.props,u=l.interactiveBorder,d=jT(a.placement),p=a.modifiersData.offset;if(!p)return!0;var h=d==="bottom"?p.top.y:0,A=d==="top"?p.bottom.y:0,m=d==="right"?p.left.x:0,b=d==="left"?p.right.x:0,w=o.top-r+h>u,y=r-o.bottom-A>u,P=o.left-n+m>u,M=n-o.right-b>u;return w||y||P||M})}function Yp(t,e,n){var r=e+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(i){t[r](i,n)})}function py(t,e){for(var n=e;n;){var r;if(t.contains(n))return!0;n=n.getRootNode==null||(r=n.getRootNode())==null?void 0:r.host}return!1}var Oi={isTouch:!1},hy=0;function YT(){Oi.isTouch||(Oi.isTouch=!0,window.performance&&document.addEventListener("mousemove",Ay))}function Ay(){var t=performance.now();t-hy<20&&(Oi.isTouch=!1,document.removeEventListener("mousemove",Ay)),hy=t}function qT(){var t=document.activeElement;if(HT(t)){var e=t._tippy;t.blur&&!e.state.isVisible&&t.blur()}}function KT(){document.addEventListener("touchstart",YT,ws),window.addEventListener("blur",qT)}var GT=typeof window<"u"&&typeof document<"u",XT=GT?!!window.msCrypto:!1,JT={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},ZT={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},si=Object.assign({appendTo:ay,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},JT,ZT),$T=Object.keys(si),eB=function(e){var n=Object.keys(e);n.forEach(function(r){si[r]=e[r]})};function gy(t){var e=t.plugins||[],n=e.reduce(function(r,i){var o=i.name,a=i.defaultValue;if(o){var l;r[o]=t[o]!==void 0?t[o]:(l=si[o])!=null?l:a}return r},{});return Object.assign({},t,n)}function tB(t,e){var n=e?Object.keys(gy(Object.assign({},si,{plugins:e}))):$T,r=n.reduce(function(i,o){var a=(t.getAttribute("data-tippy-"+o)||"").trim();if(!a)return i;if(o==="content")i[o]=a;else try{i[o]=JSON.parse(a)}catch{i[o]=a}return i},{});return r}function my(t,e){var n=Object.assign({},e,{content:ly(e.content,[t])},e.ignoreAttributes?{}:tB(t,e.plugins));return n.aria=Object.assign({},si.aria,n.aria),n.aria={expanded:n.aria.expanded==="auto"?e.interactive:n.aria.expanded,content:n.aria.content==="auto"?e.interactive?null:"describedby":n.aria.content},n}var nB=function(){return"innerHTML"};function qp(t,e){t[nB()]=e}function vy(t){var e=Rl();return t===!0?e.className=oy:(e.className=sy,bu(t)?e.appendChild(t):qp(e,t)),e}function yy(t,e){bu(e.content)?(qp(t,""),t.appendChild(e.content)):typeof e.content!="function"&&(e.allowHTML?qp(t,e.content):t.textContent=e.content)}function Kp(t){var e=t.firstElementChild,n=yu(e.children);return{box:e,content:n.find(function(r){return r.classList.contains(iy)}),arrow:n.find(function(r){return r.classList.contains(oy)||r.classList.contains(sy)}),backdrop:n.find(function(r){return r.classList.contains(LT)})}}function by(t){var e=Rl(),n=Rl();n.className=RT,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=Rl();r.className=iy,r.setAttribute("data-state","hidden"),yy(r,t.props),e.appendChild(n),n.appendChild(r),i(t.props,t.props);function i(o,a){var l=Kp(e),u=l.box,d=l.content,p=l.arrow;a.theme?u.setAttribute("data-theme",a.theme):u.removeAttribute("data-theme"),typeof a.animation=="string"?u.setAttribute("data-animation",a.animation):u.removeAttribute("data-animation"),a.inertia?u.setAttribute("data-inertia",""):u.removeAttribute("data-inertia"),u.style.maxWidth=typeof a.maxWidth=="number"?a.maxWidth+"px":a.maxWidth,a.role?u.setAttribute("role",a.role):u.removeAttribute("role"),(o.content!==a.content||o.allowHTML!==a.allowHTML)&&yy(d,t.props),a.arrow?p?o.arrow!==a.arrow&&(u.removeChild(p),u.appendChild(vy(a.arrow))):u.appendChild(vy(a.arrow)):p&&u.removeChild(p)}return{popper:e,onUpdate:i}}by.$$tippy=!0;var rB=1,xu=[],Gp=[];function iB(t,e){var n=my(t,Object.assign({},si,gy(dy(e)))),r,i,o,a=!1,l=!1,u=!1,d=!1,p,h,A,m=[],b=cy(Xe,n.interactiveDebounce),w,y=rB++,P=null,M=FT(n.plugins),D={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},C={id:y,reference:t,popper:Rl(),popperInstance:P,props:n,state:D,plugins:M,clearDelayTimeouts:vn,setProps:nn,setContent:_t,show:fe,hide:Le,hideWithInteractivity:Be,enable:fn,disable:Yt,unmount:ct,destroy:We};if(!n.render)return C;var j=n.render(C),R=j.popper,z=j.onUpdate;R.setAttribute("data-tippy-root",""),R.id="tippy-"+C.id,C.popper=R,t._tippy=C,R._tippy=C;var V=M.map(function(le){return le.fn(C)}),K=t.hasAttribute("aria-expanded");return wt(),de(),ee(),G("onCreate",[C]),n.showOnCreate&&dt(),R.addEventListener("mouseenter",function(){C.props.interactive&&C.state.isVisible&&C.clearDelayTimeouts()}),R.addEventListener("mouseleave",function(){C.props.interactive&&C.props.trigger.indexOf("mouseenter")>=0&&ue().addEventListener("mousemove",b)}),C;function q(){var le=C.props.touch;return Array.isArray(le)?le:[le,0]}function Z(){return q()[0]==="hold"}function W(){var le;return!!((le=C.props.render)!=null&&le.$$tippy)}function ie(){return w||t}function ue(){var le=ie().parentNode;return le?VT(le):document}function te(){return Kp(R)}function pe(le){return C.state.isMounted&&!C.state.isVisible||Oi.isTouch||p&&p.type==="focus"?0:Up(C.props.delay,le?0:1,si.delay)}function ee(le){le===void 0&&(le=!1),R.style.pointerEvents=C.props.interactive&&!le?"":"none",R.style.zIndex=""+C.props.zIndex}function G(le,Ce,Te){if(Te===void 0&&(Te=!0),V.forEach(function(He){He[le]&&He[le].apply(He,Ce)}),Te){var qe;(qe=C.props)[le].apply(qe,Ce)}}function N(){var le=C.props.aria;if(le.content){var Ce="aria-"+le.content,Te=R.id,qe=ga(C.props.triggerTarget||t);qe.forEach(function(He){var Ne=He.getAttribute(Ce);if(C.state.isVisible)He.setAttribute(Ce,Ne?Ne+" "+Te:Te);else{var bt=Ne&&Ne.replace(Te,"").trim();bt?He.setAttribute(Ce,bt):He.removeAttribute(Ce)}})}}function de(){if(!(K||!C.props.aria.expanded)){var le=ga(C.props.triggerTarget||t);le.forEach(function(Ce){C.props.interactive?Ce.setAttribute("aria-expanded",C.state.isVisible&&Ce===ie()?"true":"false"):Ce.removeAttribute("aria-expanded")})}}function I(){ue().removeEventListener("mousemove",b),xu=xu.filter(function(le){return le!==b})}function J(le){if(!(Oi.isTouch&&(u||le.type==="mousedown"))){var Ce=le.composedPath&&le.composedPath()[0]||le.target;if(!(C.props.interactive&&py(R,Ce))){if(ga(C.props.triggerTarget||t).some(function(Te){return py(Te,Ce)})){if(Oi.isTouch||C.state.isVisible&&C.props.trigger.indexOf("click")>=0)return}else G("onClickOutside",[C,le]);C.props.hideOnClick===!0&&(C.clearDelayTimeouts(),C.hide(),l=!0,setTimeout(function(){l=!1}),C.state.isMounted||_e())}}}function ve(){u=!0}function me(){u=!1}function we(){var le=ue();le.addEventListener("mousedown",J,!0),le.addEventListener("touchend",J,ws),le.addEventListener("touchstart",me,ws),le.addEventListener("touchmove",ve,ws)}function _e(){var le=ue();le.removeEventListener("mousedown",J,!0),le.removeEventListener("touchend",J,ws),le.removeEventListener("touchstart",me,ws),le.removeEventListener("touchmove",ve,ws)}function Oe(le,Ce){ze(le,function(){!C.state.isVisible&&R.parentNode&&R.parentNode.contains(R)&&Ce()})}function Ve(le,Ce){ze(le,Ce)}function ze(le,Ce){var Te=te().box;function qe(He){He.target===Te&&(Yp(Te,"remove",qe),Ce())}if(le===0)return Ce();Yp(Te,"remove",h),Yp(Te,"add",qe),h=qe}function $e(le,Ce,Te){Te===void 0&&(Te=!1);var qe=ga(C.props.triggerTarget||t);qe.forEach(function(He){He.addEventListener(le,Ce,Te),m.push({node:He,eventType:le,handler:Ce,options:Te})})}function wt(){Z()&&($e("touchstart",Ee,{passive:!0}),$e("touchend",Ge,{passive:!0})),NT(C.props.trigger).forEach(function(le){if(le!=="manual")switch($e(le,Ee),le){case"mouseenter":$e("mouseleave",Ge);break;case"focus":$e(XT?"focusout":"blur",At);break;case"focusin":$e("focusout",At);break}})}function Me(){m.forEach(function(le){var Ce=le.node,Te=le.eventType,qe=le.handler,He=le.options;Ce.removeEventListener(Te,qe,He)}),m=[]}function Ee(le){var Ce,Te=!1;if(!(!C.state.isEnabled||lt(le)||l)){var qe=((Ce=p)==null?void 0:Ce.type)==="focus";p=le,w=le.currentTarget,de(),!C.state.isVisible&&QT(le)&&xu.forEach(function(He){return He(le)}),le.type==="click"&&(C.props.trigger.indexOf("mouseenter")<0||a)&&C.props.hideOnClick!==!1&&C.state.isVisible?Te=!0:dt(le),le.type==="click"&&(a=!Te),Te&&!qe&&Ke(le)}}function Xe(le){var Ce=le.target,Te=ie().contains(Ce)||R.contains(Ce);if(!(le.type==="mousemove"&&Te)){var qe=Rt().concat(R).map(function(He){var Ne,bt=He._tippy,xt=(Ne=bt.popperInstance)==null?void 0:Ne.state;return xt?{popperRect:He.getBoundingClientRect(),popperState:xt,props:n}:null}).filter(Boolean);WT(qe,le)&&(I(),Ke(le))}}function Ge(le){var Ce=lt(le)||C.props.trigger.indexOf("click")>=0&&a;if(!Ce){if(C.props.interactive){C.hideWithInteractivity(le);return}Ke(le)}}function At(le){C.props.trigger.indexOf("focusin")<0&&le.target!==ie()||C.props.interactive&&le.relatedTarget&&R.contains(le.relatedTarget)||Ke(le)}function lt(le){return Oi.isTouch?Z()!==le.type.indexOf("touch")>=0:!1}function gt(){yt();var le=C.props,Ce=le.popperOptions,Te=le.placement,qe=le.offset,He=le.getReferenceClientRect,Ne=le.moveTransition,bt=W()?Kp(R).arrow:null,xt=He?{getBoundingClientRect:He,contextElement:He.contextElement||ie()}:t,ot={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(rn){var Ut=rn.state;if(W()){var an=te(),zt=an.box;["placement","reference-hidden","escaped"].forEach(function(Sn){Sn==="placement"?zt.setAttribute("data-placement",Ut.placement):Ut.attributes.popper["data-popper-"+Sn]?zt.setAttribute("data-"+Sn,""):zt.removeAttribute("data-"+Sn)}),Ut.attributes.popper={}}}},Zt=[{name:"offset",options:{offset:qe}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!Ne}},ot];W()&&bt&&Zt.push({name:"arrow",options:{element:bt,padding:3}}),Zt.push.apply(Zt,Ce?.modifiers||[]),C.popperInstance=OT(xt,R,Object.assign({},Ce,{placement:Te,onFirstUpdate:A,modifiers:Zt}))}function yt(){C.popperInstance&&(C.popperInstance.destroy(),C.popperInstance=null)}function mt(){var le=C.props.appendTo,Ce,Te=ie();C.props.interactive&&le===ay||le==="parent"?Ce=Te.parentNode:Ce=ly(le,[Te]),Ce.contains(R)||Ce.appendChild(R),C.state.isMounted=!0,gt()}function Rt(){return yu(R.querySelectorAll("[data-tippy-root]"))}function dt(le){C.clearDelayTimeouts(),le&&G("onTrigger",[C,le]),we();var Ce=pe(!0),Te=q(),qe=Te[0],He=Te[1];Oi.isTouch&&qe==="hold"&&He&&(Ce=He),Ce?r=setTimeout(function(){C.show()},Ce):C.show()}function Ke(le){if(C.clearDelayTimeouts(),G("onUntrigger",[C,le]),!C.state.isVisible){_e();return}if(!(C.props.trigger.indexOf("mouseenter")>=0&&C.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(le.type)>=0&&a)){var Ce=pe(!1);Ce?i=setTimeout(function(){C.state.isVisible&&C.hide()},Ce):o=requestAnimationFrame(function(){C.hide()})}}function fn(){C.state.isEnabled=!0}function Yt(){C.hide(),C.state.isEnabled=!1}function vn(){clearTimeout(r),clearTimeout(i),cancelAnimationFrame(o)}function nn(le){if(!C.state.isDestroyed){G("onBeforeUpdate",[C,le]),Me();var Ce=C.props,Te=my(t,Object.assign({},Ce,dy(le),{ignoreAttributes:!0}));C.props=Te,wt(),Ce.interactiveDebounce!==Te.interactiveDebounce&&(I(),b=cy(Xe,Te.interactiveDebounce)),Ce.triggerTarget&&!Te.triggerTarget?ga(Ce.triggerTarget).forEach(function(qe){qe.removeAttribute("aria-expanded")}):Te.triggerTarget&&t.removeAttribute("aria-expanded"),de(),ee(),z&&z(Ce,Te),C.popperInstance&&(gt(),Rt().forEach(function(qe){requestAnimationFrame(qe._tippy.popperInstance.forceUpdate)})),G("onAfterUpdate",[C,le])}}function _t(le){C.setProps({content:le})}function fe(){var le=C.state.isVisible,Ce=C.state.isDestroyed,Te=!C.state.isEnabled,qe=Oi.isTouch&&!C.props.touch,He=Up(C.props.duration,0,si.duration);if(!(le||Ce||Te||qe)&&!ie().hasAttribute("disabled")&&(G("onShow",[C],!1),C.props.onShow(C)!==!1)){if(C.state.isVisible=!0,W()&&(R.style.visibility="visible"),ee(),we(),C.state.isMounted||(R.style.transition="none"),W()){var Ne=te(),bt=Ne.box,xt=Ne.content;Wp([bt,xt],0)}A=function(){var Zt;if(!(!C.state.isVisible||d)){if(d=!0,R.offsetHeight,R.style.transition=C.props.moveTransition,W()&&C.props.animation){var qt=te(),rn=qt.box,Ut=qt.content;Wp([rn,Ut],He),fy([rn,Ut],"visible")}N(),de(),uy(Gp,C),(Zt=C.popperInstance)==null||Zt.forceUpdate(),G("onMount",[C]),C.props.animation&&W()&&Ve(He,function(){C.state.isShown=!0,G("onShown",[C])})}},mt()}}function Le(){var le=!C.state.isVisible,Ce=C.state.isDestroyed,Te=!C.state.isEnabled,qe=Up(C.props.duration,1,si.duration);if(!(le||Ce||Te)&&(G("onHide",[C],!1),C.props.onHide(C)!==!1)){if(C.state.isVisible=!1,C.state.isShown=!1,d=!1,a=!1,W()&&(R.style.visibility="hidden"),I(),_e(),ee(!0),W()){var He=te(),Ne=He.box,bt=He.content;C.props.animation&&(Wp([Ne,bt],qe),fy([Ne,bt],"hidden"))}N(),de(),C.props.animation?W()&&Oe(qe,C.unmount):C.unmount()}}function Be(le){ue().addEventListener("mousemove",b),uy(xu,b),b(le)}function ct(){C.state.isVisible&&C.hide(),C.state.isMounted&&(yt(),Rt().forEach(function(le){le._tippy.unmount()}),R.parentNode&&R.parentNode.removeChild(R),Gp=Gp.filter(function(le){return le!==C}),C.state.isMounted=!1,G("onHidden",[C]))}function We(){C.state.isDestroyed||(C.clearDelayTimeouts(),C.unmount(),Me(),delete t._tippy,C.state.isDestroyed=!0,G("onDestroy",[C]))}}function Ll(t,e){e===void 0&&(e={});var n=si.plugins.concat(e.plugins||[]);KT();var r=Object.assign({},e,{plugins:n}),i=UT(t),o=i.reduce(function(a,l){var u=l&&iB(l,r);return u&&a.push(u),a},[]);return bu(t)?o[0]:o}Ll.defaultProps=si,Ll.setDefaultProps=eB,Ll.currentInput=Oi,Object.assign({},Hv,{effect:function(e){var n=e.state,r={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(n.elements.popper.style,r.popper),n.styles=r,n.elements.arrow&&Object.assign(n.elements.arrow.style,r.arrow)}}),Ll.setDefaultProps({render:by});function oB({color:t="var(--contrast-6)",icon:e="info-circle-fill",tooltip:n}){const r=T.useRef(null);return T.useLayoutEffect(()=>{r.current&&Ll(r.current,{content:n,theme:"access",appendTo:r.current.parentElement})},[r.current]),E.jsx("button",{className:"info-tip",style:{color:t},ref:r,children:E.jsx(kt,{name:e})})}function sB({infoGroupId:t}){const e=Xn(`https://support.access-ci.org/api/1.0/kb/${t}`);if(!(!e||e.error||!e.length))return E.jsx(_i,{title:"Documentation",icon:"book",children:E.jsx("ul",{children:e.map(({title:n,description:r,link:i})=>E.jsxs("li",{children:[E.jsx("a",{href:Og(i),children:n}),r?E.jsx(oB,{tooltip:mf(r)}):null]},n))})})}function aB({children:t,icon:e="megaphone-fill"}){return E.jsxs("div",{className:"alert",children:[e?E.jsx(kt,{name:e}):null,E.jsx("div",{className:"alert-body",children:t})]})}function lB({children:t}){const[e,n]=T.useState(!1);return E.jsxs("div",{className:`expand-text ${e?"expanded":"contracted"}`,children:[t,E.jsxs("button",{className:"expand-button",onClick:()=>n(!e),children:[E.jsx(kt,{name:`caret-${e?"up":"left"}-fill`}),e?"Less":"More"]})]})}function cB({date__end:t,date__start:e,description:n,location:r,registration:i,speaker:o,title:a}){const l=i,u=l?E.jsx("a",{href:l,children:a}):a,d=[];let p=null;const h=e,A=t;if(h){const m=new Date(h),b=new Date(A||h),[w,y]=[m,b].map(R=>R.toLocaleString("en-US",{dateStyle:"long"})),[P,M]=[m,b].map(R=>R.toLocaleString("en-US",{timeStyle:"short"})),D=m.toLocaleTimeString("en-US",{timeZoneName:"short"}).split(" ")[2],C=[`${w},`,P];(M!=P||y!=w)&&(C.push("-"),y!=w&&C.push(`${y},`),C.push(M)),C.push(`(${D})`),d.push(E.jsx(kt,{name:"calendar"}),C.join(" ")),o&&d.push(E.jsx(kt,{name:"people-fill"}),o),r&&d.push(E.jsx(kt,{name:"geo-alt-fill"}),r);const j=m.toLocaleString("en-US",{dateStyle:"medium"}).split(",")[0].split(" ").map(R=>E.jsx("span",{children:R},R));p=l?E.jsx("a",{href:l,className:"event-icon",children:j}):E.jsx("div",{className:"event-icon",children:j})}return E.jsxs("div",{className:"event",children:[p,E.jsxs("div",{className:"event-details",children:[E.jsx("h3",{children:u}),d.length?E.jsx("div",{className:"event-metadata",children:d}):null,n?E.jsx(lB,{children:E.jsx("div",{children:vf(n)})}):null]})]})}function uB({infoGroupId:t}){const e=al(t),n=Xn("https://operations-api.access-ci.org/wh2/news/v1/affiliation/access-ci.org/current_outages/"),r=Xn("https://operations-api.access-ci.org/wh2/news/v1/affiliation/access-ci.org/future_outages/"),i=Xn(`https://support.access-ci.org/api/1.1/events/ag/${t}`),o=gf([e,n,r],(l,u,d)=>[...u.results,...d.results].filter(p=>p.AffectedResources.some(h=>l.infoResourceIds.includes(h.ResourceID))),[]),a=gf([i],l=>l.filter(u=>new Date(u.date__start)>=new Date),[]);if(!(!o.length&&!a.length))return E.jsxs(_i,{title:"Announcements and Events",icon:"calendar3",children:[o.map(({Subject:l,Content:u})=>E.jsxs(aB,{children:[l," ",E.jsx("a",{href:"https://operations.access-ci.org/infrastructure_news_view",children:"Learn more."})]},l)),a.map(l=>E.jsx(cB,{...l},l.title))]})}function dB({children:t,headingLevel:e=2,title:n}){const[r,i]=T.useState(!1),o=`h${e}`;return E.jsxs("div",{className:"accordion",children:[E.jsx(o,{className:"accordion-heading",children:E.jsxs("button",{"aria-expanded":r,onClick:()=>i(!r),children:[n,E.jsx(kt,{name:r?"caret-up-fill":"caret-down-fill"})]})}),E.jsx("div",{className:"accordion-content",style:{display:r?"block":"none"},children:t})]})}function fB({resource_descriptive_name:t,resource_description:e,compute:n,storage:r}){const i=(n||r||{}).recommended_use;return E.jsxs(dB,{title:t,children:[e?vf(e):null,i?E.jsxs(E.Fragment,{children:[E.jsx("h3",{children:"Recommended Use"}),vf(i)]}):null]})}function pB({infoGroupId:t}){const e=al(t),n=Xn(e?e.infoResourceIds.map(u=>`https://operations-api.access-ci.org/wh2/cider/v1/info_resourceid/${u}/?format=json`):null,{defaultValue:[]}),r=n.filter(u=>u.results&&u.results.cider_type=="Compute").map(u=>({...u.results.compute,key:u.results.info_resourceid,name:u.results.resource_descriptive_name,format:(d,p)=>{const h=u.results.compute[p.attr];return p.format&&h?p.format(h,p):h||E.jsx(E.Fragment,{children:"—"})}})),i=n.length?[{name:"Nodes",attr:"node_count",format:u=>u.toLocaleString("en-us")},{name:"CPU Type",attr:"cpu_type"},{name:"CPU Speed",attr:"cpu_speed_ghz",format:u=>`${u} Ghz`},{name:"CPU Cores per Node",attr:"cpu_count_per_node"},{name:"RAM per CPU Core",attr:"memory_per_cpu_gb",format:u=>`${u.toLocaleString("en-us")} GB`},{name:"GPU",attr:"gpu_description"},{name:"Local Storage per Node",attr:"local_storage_per_node_gb",format:u=>`${u.toLocaleString("en-us")} GB`},{name:"Network Interconnect",attr:"interconnect"},{name:"Operating System",attr:"operating_system"},{name:"Batch System",attr:"batch_system"}].filter(u=>r.some(d=>d[u.attr])):[],o={key:"name",name:"Attribute",format:u=>E.jsx("strong",{children:u})},a=r.length>0&&i.length>0,l={compute:[],storage:[],other:[]};for(let{results:u}of n)(l[u.cider_type.toLowerCase()]||l.other).push(E.jsx(fB,{...u},u.resource_descriptive_name));return E.jsxs(E.Fragment,{children:[a||l.compute.length>0?E.jsxs(_i,{title:"Compute Resources",icon:"cpu-fill",children:[l.compute,a&&E.jsxs(E.Fragment,{children:[E.jsx("h3",{children:"Specifications"}),E.jsx(hu,{columns:[o,...r],rows:i,maxHeight:null})]})]}):null,l.storage.length>0?E.jsx(_i,{title:"Storage Resources",icon:"hdd-fill",children:l.storage}):null,l.other.length>0?E.jsx(_i,{title:"Other Resources",icon:"stars",children:l.other}):null]})}function xy(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function wy(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?xy(Object(n),!0).forEach(function(r){AB(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):xy(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function wu(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?wu=function(e){return typeof e}:wu=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},wu(t)}function ku(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function hB(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Su(t,e,n){return e&&hB(t.prototype,e),t}function AB(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function gB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Xp(t,e)}function ma(t){return ma=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ma(t)}function Xp(t,e){return Xp=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},Xp(t,e)}function mB(){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 vB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function yB(t,e){if(e&&(typeof e=="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return vB(t)}function bB(t){var e=mB();return function(){var r=ma(t),i;if(e){var o=ma(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return yB(this,i)}}function xB(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=ma(t),t!==null););return t}function Eu(){return typeof Reflect<"u"&&Reflect.get?Eu=Reflect.get:Eu=function(e,n,r){var i=xB(e,n);if(i){var o=Object.getOwnPropertyDescriptor(i,n);return o.get?o.get.call(arguments.length<3?e:r):o.value}},Eu.apply(this,arguments)}var wB={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 No(t){console.error("[Glide warn]: ".concat(t))}function ai(t){return parseInt(t)}function Jp(t){return typeof t=="string"}function Nl(t){var e=wu(t);return e==="function"||e==="object"&&!!t}function Cu(t){return typeof t=="function"}function kB(t){return typeof t>"u"}function Zp(t){return t.constructor===Array}function SB(t,e,n){var r={};for(var i in e)Cu(e[i])?r[i]=e[i](t,r,n):No("Extension must be a function");for(var o in r)Cu(r[o].mount)&&r[o].mount();return r}function tn(t,e,n){Object.defineProperty(t,e,n)}function ky(t,e){var n=Object.assign({},t,e);if(e.hasOwnProperty("classes")){n.classes=Object.assign({},t.classes,e.classes);var r=["direction","type","slide","arrow","nav"];r.forEach(function(i){e.classes.hasOwnProperty(i)&&(n.classes[i]=wy(wy({},t.classes[i]),e.classes[i]))})}return e.hasOwnProperty("breakpoints")&&(n.breakpoints=Object.assign({},t.breakpoints,e.breakpoints)),n}var EB=(function(){function t(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ku(this,t),this.events=e,this.hop=e.hasOwnProperty}return Su(t,[{key:"on",value:function(n,r){if(Zp(n)){for(var i=0;i<n.length;i++)this.on(n[i],r);return}this.hop.call(this.events,n)||(this.events[n]=[]);var o=this.events[n].push(r)-1;return{remove:function(){delete this.events[n][o]}}}},{key:"emit",value:function(n,r){if(Zp(n)){for(var i=0;i<n.length;i++)this.emit(n[i],r);return}this.hop.call(this.events,n)&&this.events[n].forEach(function(o){o(r||{})})}}]),t})(),CB=(function(){function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};ku(this,t),this._c={},this._t=[],this._e=new EB,this.disabled=!1,this.selector=e,this.settings=ky(wB,n),this.index=this.settings.startAt}return Su(t,[{key:"mount",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this._e.emit("mount.before"),Nl(n)?this._c=SB(this,n,this._e):No("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 Zp(n)?this._t=n:No("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=ky(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,r){return this._e.on(n,r),this}},{key:"isType",value:function(n){return this.settings.type===n}},{key:"settings",get:function(){return this._o},set:function(n){Nl(n)?this._o=n:No("Options must be an `object` instance.")}},{key:"index",get:function(){return this._i},set:function(n){this._i=ai(n)}},{key:"type",get:function(){return this.settings.type}},{key:"disabled",get:function(){return this._d},set:function(n){this._d=!!n}}]),t})();function PB(t,e,n){var r={mount:function(){this._o=!1},make:function(d){var p=this;t.disabled||(!t.settings.waitForTransition||t.disable(),this.move=d,n.emit("run.before",this.move),this.calculate(),n.emit("run",this.move),e.Transition.after(function(){p.isStart()&&n.emit("run.start",p.move),p.isEnd()&&n.emit("run.end",p.move),p.isOffset()&&(p._o=!1,n.emit("run.offset",p.move)),n.emit("run.after",p.move),t.enable()}))},calculate:function(){var d=this.move,p=this.length,h=d.steps,A=d.direction,m=1;if(A==="="){if(t.settings.bound&&ai(h)>p){t.index=p;return}t.index=h;return}if(A===">"&&h===">"){t.index=p;return}if(A==="<"&&h==="<"){t.index=0;return}if(A==="|"&&(m=t.settings.perView||1),A===">"||A==="|"&&h===">"){var b=i(m);b>p&&(this._o=!0),t.index=o(b,m);return}if(A==="<"||A==="|"&&h==="<"){var w=a(m);w<0&&(this._o=!0),t.index=l(w,m);return}No("Invalid direction pattern [".concat(A).concat(h,"] has been used"))},isStart:function(){return t.index<=0},isEnd:function(){return t.index>=this.length},isOffset:function(){var d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:void 0;return d?this._o?d==="|>"?this.move.direction==="|"&&this.move.steps===">":d==="|<"?this.move.direction==="|"&&this.move.steps==="<":this.move.direction===d:!1:this._o},isBound:function(){return t.isType("slider")&&t.settings.focusAt!=="center"&&t.settings.bound}};function i(u){var d=t.index;return t.isType("carousel")?d+u:d+(u-d%u)}function o(u,d){var p=r.length;return u<=p?u:t.isType("carousel")?u-(p+1):t.settings.rewind?r.isBound()&&!r.isEnd()?p:0:r.isBound()?p:Math.floor(p/d)*d}function a(u){var d=t.index;if(t.isType("carousel"))return d-u;var p=Math.ceil(d/u);return(p-1)*u}function l(u,d){var p=r.length;return u>=0?u:t.isType("carousel")?u+(p+1):t.settings.rewind?r.isBound()&&r.isStart()?p:Math.floor(p/d)*d:0}return tn(r,"move",{get:function(){return this._m},set:function(d){var p=d.substr(1);this._m={direction:d.substr(0,1),steps:p?ai(p)?ai(p):p:0}}}),tn(r,"length",{get:function(){var d=t.settings,p=e.Html.slides.length;return this.isBound()?p-1-(ai(d.perView)-1)+ai(d.focusAt):p-1}}),tn(r,"offset",{get:function(){return this._o}}),r}function Sy(){return new Date().getTime()}function Ey(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r,i,o,a,l=0,u=function(){l=n.leading===!1?0:Sy(),r=null,a=t.apply(i,o),r||(i=o=null)},d=function(){var h=Sy();!l&&n.leading===!1&&(l=h);var A=e-(h-l);return i=this,o=arguments,A<=0||A>e?(r&&(clearTimeout(r),r=null),l=h,a=t.apply(i,o),r||(i=o=null)):!r&&n.trailing!==!1&&(r=setTimeout(u,A)),a};return d.cancel=function(){clearTimeout(r),l=0,r=i=o=null},d}var Pu={ltr:["marginLeft","marginRight"],rtl:["marginRight","marginLeft"]};function DB(t,e,n){var r={apply:function(o){for(var a=0,l=o.length;a<l;a++){var u=o[a].style,d=e.Direction.value;a!==0?u[Pu[d][0]]="".concat(this.value/2,"px"):u[Pu[d][0]]="",a!==o.length-1?u[Pu[d][1]]="".concat(this.value/2,"px"):u[Pu[d][1]]=""}},remove:function(o){for(var a=0,l=o.length;a<l;a++){var u=o[a].style;u.marginLeft="",u.marginRight=""}}};return tn(r,"value",{get:function(){return ai(t.settings.gap)}}),tn(r,"grow",{get:function(){return r.value*e.Sizes.length}}),tn(r,"reductor",{get:function(){var o=t.settings.perView;return r.value*(o-1)/o}}),n.on(["build.after","update"],Ey(function(){r.apply(e.Html.wrapper.children)},30)),n.on("destroy",function(){r.remove(e.Html.wrapper.children)}),r}function Cy(t){if(t&&t.parentNode){for(var e=t.parentNode.firstChild,n=[];e;e=e.nextSibling)e.nodeType===1&&e!==t&&n.push(e);return n}return[]}function $p(t){return Array.prototype.slice.call(t)}var TB='[data-glide-el="track"]';function BB(t,e,n){var r={mount:function(){this.root=t.selector,this.track=this.root.querySelector(TB),this.collectSlides()},collectSlides:function(){this.slides=$p(this.wrapper.children).filter(function(o){return!o.classList.contains(t.settings.classes.slide.clone)})}};return tn(r,"root",{get:function(){return r._r},set:function(o){Jp(o)&&(o=document.querySelector(o)),o!==null?r._r=o:No("Root element must be a existing Html node")}}),tn(r,"track",{get:function(){return r._t},set:function(o){r._t=o}}),tn(r,"wrapper",{get:function(){return r.track.children[0]}}),n.on("update",function(){r.collectSlides()}),r}function _B(t,e,n){var r={mount:function(){this.value=t.settings.peek}};return tn(r,"value",{get:function(){return r._v},set:function(o){Nl(o)?(o.before=ai(o.before),o.after=ai(o.after)):o=ai(o),r._v=o}}),tn(r,"reductor",{get:function(){var o=r.value,a=t.settings.perView;return Nl(o)?o.before/a+o.after/a:o*2/a}}),n.on(["resize","update"],function(){r.mount()}),r}function IB(t,e,n){var r={mount:function(){this._o=0},make:function(){var o=this,a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.offset=a,n.emit("move",{movement:this.value}),e.Transition.after(function(){n.emit("move.after",{movement:o.value})})}};return tn(r,"offset",{get:function(){return r._o},set:function(o){r._o=kB(o)?0:ai(o)}}),tn(r,"translate",{get:function(){return e.Sizes.slideWidth*t.index}}),tn(r,"value",{get:function(){var o=this.offset,a=this.translate;return e.Direction.is("rtl")?a+o:a-o}}),n.on(["build.before","run"],function(){r.make()}),r}function MB(t,e,n){var r={setupSlides:function(){for(var o="".concat(this.slideWidth,"px"),a=e.Html.slides,l=0;l<a.length;l++)a[l].style.width=o},setupWrapper:function(){e.Html.wrapper.style.width="".concat(this.wrapperSize,"px")},remove:function(){for(var o=e.Html.slides,a=0;a<o.length;a++)o[a].style.width="";e.Html.wrapper.style.width=""}};return tn(r,"length",{get:function(){return e.Html.slides.length}}),tn(r,"width",{get:function(){return e.Html.track.offsetWidth}}),tn(r,"wrapperSize",{get:function(){return r.slideWidth*r.length+e.Gaps.grow+e.Clones.grow}}),tn(r,"slideWidth",{get:function(){return r.width/t.settings.perView-e.Peek.reductor-e.Gaps.reductor}}),n.on(["build.before","resize","update"],function(){r.setupSlides(),r.setupWrapper()}),n.on("destroy",function(){r.remove()}),r}function OB(t,e,n){var r={mount:function(){n.emit("build.before"),this.typeClass(),this.activeClass(),n.emit("build.after")},typeClass:function(){e.Html.root.classList.add(t.settings.classes.type[t.settings.type])},activeClass:function(){var o=t.settings.classes,a=e.Html.slides[t.index];a&&(a.classList.add(o.slide.active),Cy(a).forEach(function(l){l.classList.remove(o.slide.active)}))},removeClasses:function(){var o=t.settings.classes,a=o.type,l=o.slide;e.Html.root.classList.remove(a[t.settings.type]),e.Html.slides.forEach(function(u){u.classList.remove(l.active)})}};return n.on(["destroy","update"],function(){r.removeClasses()}),n.on(["resize","update"],function(){r.mount()}),n.on("move.after",function(){r.activeClass()}),r}function RB(t,e,n){var r={mount:function(){this.items=[],t.isType("carousel")&&(this.items=this.collect())},collect:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],a=e.Html.slides,l=t.settings,u=l.perView,d=l.classes,p=l.cloningRatio;if(a.length>0)for(var h=+!!t.settings.peek,A=u+h+Math.round(u/2),m=a.slice(0,A).reverse(),b=a.slice(A*-1),w=0;w<Math.max(p,Math.floor(u/a.length));w++){for(var y=0;y<m.length;y++){var P=m[y].cloneNode(!0);P.classList.add(d.slide.clone),o.push(P)}for(var M=0;M<b.length;M++){var D=b[M].cloneNode(!0);D.classList.add(d.slide.clone),o.unshift(D)}}return o},append:function(){for(var o=this.items,a=e.Html,l=a.wrapper,u=a.slides,d=Math.floor(o.length/2),p=o.slice(0,d).reverse(),h=o.slice(d*-1).reverse(),A="".concat(e.Sizes.slideWidth,"px"),m=0;m<h.length;m++)l.appendChild(h[m]);for(var b=0;b<p.length;b++)l.insertBefore(p[b],u[0]);for(var w=0;w<o.length;w++)o[w].style.width=A},remove:function(){for(var o=this.items,a=0;a<o.length;a++)e.Html.wrapper.removeChild(o[a])}};return tn(r,"grow",{get:function(){return(e.Sizes.slideWidth+e.Gaps.value)*r.items.length}}),n.on("update",function(){r.remove(),r.mount(),r.append()}),n.on("build.before",function(){t.isType("carousel")&&r.append()}),n.on("destroy",function(){r.remove()}),r}var Py=(function(){function t(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ku(this,t),this.listeners=e}return Su(t,[{key:"on",value:function(n,r,i){var o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;Jp(n)&&(n=[n]);for(var a=0;a<n.length;a++)this.listeners[n[a]]=i,r.addEventListener(n[a],this.listeners[n[a]],o)}},{key:"off",value:function(n,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Jp(n)&&(n=[n]);for(var o=0;o<n.length;o++)r.removeEventListener(n[o],this.listeners[n[o]],i)}},{key:"destroy",value:function(){delete this.listeners}}]),t})();function LB(t,e,n){var r=new Py,i={mount:function(){this.bind()},bind:function(){r.on("resize",window,Ey(function(){n.emit("resize")},t.settings.throttle))},unbind:function(){r.off("resize",window)}};return n.on("destroy",function(){i.unbind(),r.destroy()}),i}var NB=["ltr","rtl"],FB={">":"<","<":">","=":"="};function jB(t,e,n){var r={mount:function(){this.value=t.settings.direction},resolve:function(o){var a=o.slice(0,1);return this.is("rtl")?o.split(a).join(FB[a]):o},is:function(o){return this.value===o},addClass:function(){e.Html.root.classList.add(t.settings.classes.direction[this.value])},removeClass:function(){e.Html.root.classList.remove(t.settings.classes.direction[this.value])}};return tn(r,"value",{get:function(){return r._v},set:function(o){NB.indexOf(o)>-1?r._v=o:No("Direction value must be `ltr` or `rtl`")}}),n.on(["destroy","update"],function(){r.removeClass()}),n.on("update",function(){r.mount()}),n.on(["build.before","update"],function(){r.addClass()}),r}function zB(t,e){return{modify:function(r){return e.Direction.is("rtl")?-r:r}}}function QB(t,e){return{modify:function(r){var i=Math.floor(r/e.Sizes.slideWidth);return r+e.Gaps.value*i}}}function HB(t,e){return{modify:function(r){return r+e.Clones.grow/2}}}function UB(t,e){return{modify:function(r){if(t.settings.focusAt>=0){var i=e.Peek.value;return Nl(i)?r-i.before:r-i}return r}}}function VB(t,e){return{modify:function(r){var i=e.Gaps.value,o=e.Sizes.width,a=t.settings.focusAt,l=e.Sizes.slideWidth;return a==="center"?r-(o/2-l/2):r-l*a-i*a}}}function WB(t,e,n){var r=[QB,HB,UB,VB].concat(t._t,[zB]);return{mutate:function(o){for(var a=0;a<r.length;a++){var l=r[a];Cu(l)&&Cu(l().modify)?o=l(t,e,n).modify(o):No("Transformer should be a function that returns an object with `modify()` method")}return o}}}function YB(t,e,n){var r={set:function(o){var a=WB(t,e).mutate(o),l="translate3d(".concat(-1*a,"px, 0px, 0px)");e.Html.wrapper.style.mozTransform=l,e.Html.wrapper.style.webkitTransform=l,e.Html.wrapper.style.transform=l},remove:function(){e.Html.wrapper.style.transform=""},getStartIndex:function(){var o=e.Sizes.length,a=t.index,l=t.settings.perView;return e.Run.isOffset(">")||e.Run.isOffset("|>")?o+(a-l):(a+l)%o},getTravelDistance:function(){var o=e.Sizes.slideWidth*t.settings.perView;return e.Run.isOffset(">")||e.Run.isOffset("|>")?o*-1:o}};return n.on("move",function(i){if(!t.isType("carousel")||!e.Run.isOffset())return r.set(i.movement);e.Transition.after(function(){n.emit("translate.jump"),r.set(e.Sizes.slideWidth*t.index)});var o=e.Sizes.slideWidth*e.Translate.getStartIndex();return r.set(o-e.Translate.getTravelDistance())}),n.on("destroy",function(){r.remove()}),r}function qB(t,e,n){var r=!1,i={compose:function(a){var l=t.settings;return r?"".concat(a," 0ms ").concat(l.animationTimingFunc):"".concat(a," ").concat(this.duration,"ms ").concat(l.animationTimingFunc)},set:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"transform";e.Html.wrapper.style.transition=this.compose(a)},remove:function(){e.Html.wrapper.style.transition=""},after:function(a){setTimeout(function(){a()},this.duration)},enable:function(){r=!1,this.set()},disable:function(){r=!0,this.set()}};return tn(i,"duration",{get:function(){var a=t.settings;return t.isType("slider")&&e.Run.offset?a.rewindDuration:a.animationDuration}}),n.on("move",function(){i.set()}),n.on(["build.before","resize","translate.jump"],function(){i.disable()}),n.on("run",function(){i.enable()}),n.on("destroy",function(){i.remove()}),i}var Dy=!1;try{var Ty=Object.defineProperty({},"passive",{get:function(){Dy=!0}});window.addEventListener("testPassive",null,Ty),window.removeEventListener("testPassive",null,Ty)}catch{}var By=Dy,KB='[data-glide-el="controls[nav]"]',eh='[data-glide-el^="controls"]',GB="".concat(eh,' [data-glide-dir*="<"]'),XB="".concat(eh,' [data-glide-dir*=">"]');function JB(t,e,n){var r=new Py,i=By?{passive:!0}:!1,o={mount:function(){this._n=e.Html.root.querySelectorAll(KB),this._c=e.Html.root.querySelectorAll(eh),this._arrowControls={previous:e.Html.root.querySelectorAll(GB),next:e.Html.root.querySelectorAll(XB)},this.addBindings()},setActive:function(){for(var l=0;l<this._n.length;l++)this.addClass(this._n[l].children)},removeActive:function(){for(var l=0;l<this._n.length;l++)this.removeClass(this._n[l].children)},addClass:function(l){var u=t.settings,d=l[t.index];d&&(d.classList.add(u.classes.nav.active),Cy(d).forEach(function(p){p.classList.remove(u.classes.nav.active)}))},removeClass:function(l){var u=l[t.index];u?.classList.remove(t.settings.classes.nav.active)},setArrowState:function(){if(!t.settings.rewind){var l=o._arrowControls.next,u=o._arrowControls.previous;this.resetArrowState(l,u),t.index===0&&this.disableArrow(u),t.index===e.Run.length&&this.disableArrow(l)}},resetArrowState:function(){for(var l=t.settings,u=arguments.length,d=new Array(u),p=0;p<u;p++)d[p]=arguments[p];d.forEach(function(h){$p(h).forEach(function(A){A.classList.remove(l.classes.arrow.disabled)})})},disableArrow:function(){for(var l=t.settings,u=arguments.length,d=new Array(u),p=0;p<u;p++)d[p]=arguments[p];d.forEach(function(h){$p(h).forEach(function(A){A.classList.add(l.classes.arrow.disabled)})})},addBindings:function(){for(var l=0;l<this._c.length;l++)this.bind(this._c[l].children)},removeBindings:function(){for(var l=0;l<this._c.length;l++)this.unbind(this._c[l].children)},bind:function(l){for(var u=0;u<l.length;u++)r.on("click",l[u],this.click),r.on("touchstart",l[u],this.click,i)},unbind:function(l){for(var u=0;u<l.length;u++)r.off(["click","touchstart"],l[u])},click:function(l){!By&&l.type==="touchstart"&&l.preventDefault();var u=l.currentTarget.getAttribute("data-glide-dir");e.Run.make(e.Direction.resolve(u))}};return tn(o,"items",{get:function(){return o._c}}),n.on(["mount.after","move.after"],function(){o.setActive()}),n.on(["mount.after","run"],function(){o.setArrowState()}),n.on("destroy",function(){o.removeBindings(),o.removeActive(),r.destroy()}),o}var ZB={Html:BB,Translate:YB,Transition:qB,Direction:jB,Peek:_B,Sizes:MB,Gaps:DB,Move:IB,Clones:RB,Resize:LB,Build:OB,Run:PB},$B=(function(t){gB(n,t);var e=bB(n);function n(){return ku(this,n),e.apply(this,arguments)}return Su(n,[{key:"mount",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Eu(ma(n.prototype),"mount",this).call(this,Object.assign({},ZB,i))}}]),n})(CB);function Du({children:t,cssClass:e=""}){const n=T.useRef(null);return T.useEffect(()=>{n.current&&new $B(n.current).mount({Controls:JB})},[]),E.jsx("section",{className:`carousel ${e}`,children:E.jsxs("div",{className:"glide",ref:n,children:[E.jsx("div",{className:"glide__track","data-glide-el":"track",children:E.jsx("ul",{className:"glide__slides",children:t})}),E.jsxs("div",{className:"glide__arrows","data-glide-el":"controls",children:[E.jsx("button",{className:"glide__arrow glide__arrow--left","data-glide-dir":"<",children:E.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",children:E.jsx("path",{d:"M0 12l10.975 11 2.848-2.828-6.176-6.176H24v-3.992H7.646l6.176-6.176L10.975 1 0 12z"})})}),E.jsx("button",{className:"glide__arrow glide__arrow--right","data-glide-dir":">",children:E.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",children:E.jsx("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 _y({children:t}){return E.jsx("li",{className:"glide__slide",children:t})}function e8({title:t,description:e,linkText:n,linkURI:r,imageURI:i,imageAltText:o}){return E.jsx(_y,{children:E.jsxs("span",{className:"slide-inner",children:[i&&E.jsx("a",{href:r,className:"slide-image",children:E.jsx("img",{src:i,alt:o})}),E.jsxs("span",{className:"slide-text",children:[t&&E.jsx("h2",{children:t}),e&&E.jsx("p",{children:e}),n&&E.jsx("a",{href:r,children:n})]})]})})}Du.Slide=_y,Du.ImageSlide=e8;function t8({children:t,maxHeight:e="400px"}){return E.jsx("div",{className:"scroll-text",children:E.jsx("div",{className:"scroll-text-inner",style:{maxHeight:e},children:t})})}const n8="https://allocations.access-ci.org/current-projects.json";function Tu({icon:t,text:e,title:n}){if(e)return E.jsxs("abbr",{className:"project-meta",title:n,children:[E.jsx(kt,{name:t}),e]})}function r8({infoGroupId:t}){const e=al(t),n=Xn(e?`${n8}?${e.infoResourceIds.map(i=>`info_resourceids[]=${i}`).join("&")}`:null);if(!n||!n.projects||!n.projects.length)return null;const r=[{key:"resourceName",name:"Resource"},{key:"allocation",name:"Current Allocation",format:(i,o)=>o.units=="[Yes = 1, No = 0]"?i==1?"Yes":"No":`${i.toLocaleString("en-us")} ${o.units||""}`}];return E.jsx(_i,{title:"Recent Projects",icon:"pc-display",children:E.jsx(Du,{cssclassName:"carousel-projects",children:n.projects.map(i=>E.jsxs(Du.Slide,{children:[E.jsx("h3",{children:i.requestTitle}),E.jsxs("div",{className:"project-metadata",children:[E.jsx(Tu,{icon:"cash-coin",text:i.allocationType,title:"Allocation Type"}),E.jsx(Tu,{icon:"person-fill",text:`${i.pi} (${i.piInstitution})`,title:"Primary Investigator"}),E.jsx(Tu,{icon:"folder",text:i.fos,title:"Field of Science"}),E.jsx(Tu,{icon:"calendar-range",text:[i.beginDate,i.endDate].map(o=>new Date(o).toLocaleString("en-US",{dateStyle:"medium"})).join(" to "),title:"Project Dates"})]}),E.jsxs(t8,{children:[E.jsx("p",{children:i.abstract}),E.jsx(hu,{columns:r,rows:i.resources,maxHeight:null})]})]},i.requestTitle))})})}function Fl(t){return t+.5|0}const Fo=(t,e,n)=>Math.max(Math.min(t,n),e);function jl(t){return Fo(Fl(t*2.55),0,255)}function jo(t){return Fo(Fl(t*255),0,255)}function ao(t){return Fo(Fl(t/2.55)/100,0,1)}function Iy(t){return Fo(Fl(t*100),0,100)}const qr={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},th=[..."0123456789ABCDEF"],i8=t=>th[t&15],o8=t=>th[(t&240)>>4]+th[t&15],Bu=t=>(t&240)>>4===(t&15),s8=t=>Bu(t.r)&&Bu(t.g)&&Bu(t.b)&&Bu(t.a);function a8(t){var e=t.length,n;return t[0]==="#"&&(e===4||e===5?n={r:255&qr[t[1]]*17,g:255&qr[t[2]]*17,b:255&qr[t[3]]*17,a:e===5?qr[t[4]]*17:255}:(e===7||e===9)&&(n={r:qr[t[1]]<<4|qr[t[2]],g:qr[t[3]]<<4|qr[t[4]],b:qr[t[5]]<<4|qr[t[6]],a:e===9?qr[t[7]]<<4|qr[t[8]]:255})),n}const l8=(t,e)=>t<255?e(t):"";function c8(t){var e=s8(t)?i8:o8;return t?"#"+e(t.r)+e(t.g)+e(t.b)+l8(t.a,e):void 0}const u8=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function My(t,e,n){const r=e*Math.min(n,1-n),i=(o,a=(o+t/30)%12)=>n-r*Math.max(Math.min(a-3,9-a,1),-1);return[i(0),i(8),i(4)]}function d8(t,e,n){const r=(i,o=(i+t/60)%6)=>n-n*e*Math.max(Math.min(o,4-o,1),0);return[r(5),r(3),r(1)]}function f8(t,e,n){const r=My(t,1,.5);let i;for(e+n>1&&(i=1/(e+n),e*=i,n*=i),i=0;i<3;i++)r[i]*=1-e-n,r[i]+=e;return r}function p8(t,e,n,r,i){return t===i?(e-n)/r+(e<n?6:0):e===i?(n-t)/r+2:(t-e)/r+4}function nh(t){const n=t.r/255,r=t.g/255,i=t.b/255,o=Math.max(n,r,i),a=Math.min(n,r,i),l=(o+a)/2;let u,d,p;return o!==a&&(p=o-a,d=l>.5?p/(2-o-a):p/(o+a),u=p8(n,r,i,p,o),u=u*60+.5),[u|0,d||0,l]}function rh(t,e,n,r){return(Array.isArray(e)?t(e[0],e[1],e[2]):t(e,n,r)).map(jo)}function ih(t,e,n){return rh(My,t,e,n)}function h8(t,e,n){return rh(f8,t,e,n)}function A8(t,e,n){return rh(d8,t,e,n)}function Oy(t){return(t%360+360)%360}function g8(t){const e=u8.exec(t);let n=255,r;if(!e)return;e[5]!==r&&(n=e[6]?jl(+e[5]):jo(+e[5]));const i=Oy(+e[2]),o=+e[3]/100,a=+e[4]/100;return e[1]==="hwb"?r=h8(i,o,a):e[1]==="hsv"?r=A8(i,o,a):r=ih(i,o,a),{r:r[0],g:r[1],b:r[2],a:n}}function m8(t,e){var n=nh(t);n[0]=Oy(n[0]+e),n=ih(n),t.r=n[0],t.g=n[1],t.b=n[2]}function v8(t){if(!t)return;const e=nh(t),n=e[0],r=Iy(e[1]),i=Iy(e[2]);return t.a<255?`hsla(${n}, ${r}%, ${i}%, ${ao(t.a)})`:`hsl(${n}, ${r}%, ${i}%)`}const Ry={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"},Ly={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 y8(){const t={},e=Object.keys(Ly),n=Object.keys(Ry);let r,i,o,a,l;for(r=0;r<e.length;r++){for(a=l=e[r],i=0;i<n.length;i++)o=n[i],l=l.replace(o,Ry[o]);o=parseInt(Ly[a],16),t[l]=[o>>16&255,o>>8&255,o&255]}return t}let _u;function b8(t){_u||(_u=y8(),_u.transparent=[0,0,0,0]);const e=_u[t.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:e.length===4?e[3]:255}}const x8=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function w8(t){const e=x8.exec(t);let n=255,r,i,o;if(e){if(e[7]!==r){const a=+e[7];n=e[8]?jl(a):Fo(a*255,0,255)}return r=+e[1],i=+e[3],o=+e[5],r=255&(e[2]?jl(r):Fo(r,0,255)),i=255&(e[4]?jl(i):Fo(i,0,255)),o=255&(e[6]?jl(o):Fo(o,0,255)),{r,g:i,b:o,a:n}}}function k8(t){return t&&(t.a<255?`rgba(${t.r}, ${t.g}, ${t.b}, ${ao(t.a)})`:`rgb(${t.r}, ${t.g}, ${t.b})`)}const oh=t=>t<=.0031308?t*12.92:Math.pow(t,1/2.4)*1.055-.055,va=t=>t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4);function S8(t,e,n){const r=va(ao(t.r)),i=va(ao(t.g)),o=va(ao(t.b));return{r:jo(oh(r+n*(va(ao(e.r))-r))),g:jo(oh(i+n*(va(ao(e.g))-i))),b:jo(oh(o+n*(va(ao(e.b))-o))),a:t.a+n*(e.a-t.a)}}function Iu(t,e,n){if(t){let r=nh(t);r[e]=Math.max(0,Math.min(r[e]+r[e]*n,e===0?360:1)),r=ih(r),t.r=r[0],t.g=r[1],t.b=r[2]}}function Ny(t,e){return t&&Object.assign(e||{},t)}function Fy(t){var e={r:0,g:0,b:0,a:255};return Array.isArray(t)?t.length>=3&&(e={r:t[0],g:t[1],b:t[2],a:255},t.length>3&&(e.a=jo(t[3]))):(e=Ny(t,{r:0,g:0,b:0,a:1}),e.a=jo(e.a)),e}function E8(t){return t.charAt(0)==="r"?w8(t):g8(t)}class zl{constructor(e){if(e instanceof zl)return e;const n=typeof e;let r;n==="object"?r=Fy(e):n==="string"&&(r=a8(e)||b8(e)||E8(e)),this._rgb=r,this._valid=!!r}get valid(){return this._valid}get rgb(){var e=Ny(this._rgb);return e&&(e.a=ao(e.a)),e}set rgb(e){this._rgb=Fy(e)}rgbString(){return this._valid?k8(this._rgb):void 0}hexString(){return this._valid?c8(this._rgb):void 0}hslString(){return this._valid?v8(this._rgb):void 0}mix(e,n){if(e){const r=this.rgb,i=e.rgb;let o;const a=n===o?.5:n,l=2*a-1,u=r.a-i.a,d=((l*u===-1?l:(l+u)/(1+l*u))+1)/2;o=1-d,r.r=255&d*r.r+o*i.r+.5,r.g=255&d*r.g+o*i.g+.5,r.b=255&d*r.b+o*i.b+.5,r.a=a*r.a+(1-a)*i.a,this.rgb=r}return this}interpolate(e,n){return e&&(this._rgb=S8(this._rgb,e._rgb,n)),this}clone(){return new zl(this.rgb)}alpha(e){return this._rgb.a=jo(e),this}clearer(e){const n=this._rgb;return n.a*=1-e,this}greyscale(){const e=this._rgb,n=Fl(e.r*.3+e.g*.59+e.b*.11);return e.r=e.g=e.b=n,this}opaquer(e){const n=this._rgb;return n.a*=1+e,this}negate(){const e=this._rgb;return e.r=255-e.r,e.g=255-e.g,e.b=255-e.b,this}lighten(e){return Iu(this._rgb,2,e),this}darken(e){return Iu(this._rgb,2,-e),this}saturate(e){return Iu(this._rgb,1,e),this}desaturate(e){return Iu(this._rgb,1,-e),this}rotate(e){return m8(this._rgb,e),this}}function lo(){}const C8=(()=>{let t=0;return()=>t++})();function Ot(t){return t==null}function gn(t){if(Array.isArray&&Array.isArray(t))return!0;const e=Object.prototype.toString.call(t);return e.slice(0,7)==="[object"&&e.slice(-6)==="Array]"}function St(t){return t!==null&&Object.prototype.toString.call(t)==="[object Object]"}function Kr(t){return(typeof t=="number"||t instanceof Number)&&isFinite(+t)}function Ri(t,e){return Kr(t)?t:e}function Ct(t,e){return typeof t>"u"?e:t}const P8=(t,e)=>typeof t=="string"&&t.endsWith("%")?parseFloat(t)/100:+t/e,jy=(t,e)=>typeof t=="string"&&t.endsWith("%")?parseFloat(t)/100*e:+t;function Ht(t,e,n){if(t&&typeof t.call=="function")return t.apply(n,e)}function Tt(t,e,n,r){let i,o,a;if(gn(t))for(o=t.length,i=0;i<o;i++)e.call(n,t[i],i);else if(St(t))for(a=Object.keys(t),o=a.length,i=0;i<o;i++)e.call(n,t[a[i]],a[i])}function Mu(t,e){let n,r,i,o;if(!t||!e||t.length!==e.length)return!1;for(n=0,r=t.length;n<r;++n)if(i=t[n],o=e[n],i.datasetIndex!==o.datasetIndex||i.index!==o.index)return!1;return!0}function Ou(t){if(gn(t))return t.map(Ou);if(St(t)){const e=Object.create(null),n=Object.keys(t),r=n.length;let i=0;for(;i<r;++i)e[n[i]]=Ou(t[n[i]]);return e}return t}function zy(t){return["__proto__","prototype","constructor"].indexOf(t)===-1}function D8(t,e,n,r){if(!zy(t))return;const i=e[t],o=n[t];St(i)&&St(o)?Ql(i,o,r):e[t]=Ou(o)}function Ql(t,e,n){const r=gn(e)?e:[e],i=r.length;if(!St(t))return t;n=n||{};const o=n.merger||D8;let a;for(let l=0;l<i;++l){if(a=r[l],!St(a))continue;const u=Object.keys(a);for(let d=0,p=u.length;d<p;++d)o(u[d],t,a,n)}return t}function Hl(t,e){return Ql(t,e,{merger:T8})}function T8(t,e,n){if(!zy(t))return;const r=e[t],i=n[t];St(r)&&St(i)?Hl(r,i):Object.prototype.hasOwnProperty.call(e,t)||(e[t]=Ou(i))}const Qy={"":t=>t,x:t=>t.x,y:t=>t.y};function B8(t){const e=t.split("."),n=[];let r="";for(const i of e)r+=i,r.endsWith("\\")?r=r.slice(0,-1)+".":(n.push(r),r="");return n}function _8(t){const e=B8(t);return n=>{for(const r of e){if(r==="")break;n=n&&n[r]}return n}}function zo(t,e){return(Qy[e]||(Qy[e]=_8(e)))(t)}function sh(t){return t.charAt(0).toUpperCase()+t.slice(1)}const Ul=t=>typeof t<"u",Qo=t=>typeof t=="function",Hy=(t,e)=>{if(t.size!==e.size)return!1;for(const n of t)if(!e.has(n))return!1;return!0};function I8(t){return t.type==="mouseup"||t.type==="click"||t.type==="contextmenu"}const mn=Math.PI,Tr=2*mn,Ru=Number.POSITIVE_INFINITY,M8=mn/180,Br=mn/2,ks=mn/4,Uy=mn*2/3,Vy=Math.log10,Ho=Math.sign;function Lu(t,e,n){return Math.abs(t-e)<n}function Wy(t){const e=Math.round(t);t=Lu(t,e,t/1e3)?e:t;const n=Math.pow(10,Math.floor(Vy(t))),r=t/n;return(r<=1?1:r<=2?2:r<=5?5:10)*n}function O8(t){const e=[],n=Math.sqrt(t);let r;for(r=1;r<n;r++)t%r===0&&(e.push(r),e.push(t/r));return n===(n|0)&&e.push(n),e.sort((i,o)=>i-o).pop(),e}function R8(t){return typeof t=="symbol"||typeof t=="object"&&t!==null&&!(Symbol.toPrimitive in t||"toString"in t||"valueOf"in t)}function Nu(t){return!R8(t)&&!isNaN(parseFloat(t))&&isFinite(t)}function L8(t,e){const n=Math.round(t);return n-e<=t&&n+e>=t}function N8(t,e,n){let r,i,o;for(r=0,i=t.length;r<i;r++)o=t[r][n],isNaN(o)||(e.min=Math.min(e.min,o),e.max=Math.max(e.max,o))}function Li(t){return t*(mn/180)}function F8(t){return t*(180/mn)}function Yy(t){if(!Kr(t))return;let e=1,n=0;for(;Math.round(t*e)/e!==t;)e*=10,n++;return n}function j8(t,e){const n=e.x-t.x,r=e.y-t.y,i=Math.sqrt(n*n+r*r);let o=Math.atan2(r,n);return o<-.5*mn&&(o+=Tr),{angle:o,distance:i}}function z8(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function Ss(t){return(t%Tr+Tr)%Tr}function ah(t,e,n,r){const i=Ss(t),o=Ss(e),a=Ss(n),l=Ss(o-i),u=Ss(a-i),d=Ss(i-o),p=Ss(i-a);return i===o||i===a||r&&o===a||l>u&&d<p}function li(t,e,n){return Math.max(e,Math.min(n,t))}function Q8(t){return li(t,-32768,32767)}function ya(t,e,n,r=1e-6){return t>=Math.min(e,n)-r&&t<=Math.max(e,n)+r}function lh(t,e,n){n=n||(a=>t[a]<e);let r=t.length-1,i=0,o;for(;r-i>1;)o=i+r>>1,n(o)?i=o:r=o;return{lo:i,hi:r}}const ch=(t,e,n,r)=>lh(t,n,r?i=>{const o=t[i][e];return o<n||o===n&&t[i+1][e]===n}:i=>t[i][e]<n),H8=(t,e,n)=>lh(t,n,r=>t[r][e]>=n);function U8(t,e,n){let r=0,i=t.length;for(;r<i&&t[r]<e;)r++;for(;i>r&&t[i-1]>n;)i--;return r>0||i<t.length?t.slice(r,i):t}const qy=["push","pop","shift","splice","unshift"];function V8(t,e){if(t._chartjs){t._chartjs.listeners.push(e);return}Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),qy.forEach(n=>{const r="_onData"+sh(n),i=t[n];Object.defineProperty(t,n,{configurable:!0,enumerable:!1,value(...o){const a=i.apply(this,o);return t._chartjs.listeners.forEach(l=>{typeof l[r]=="function"&&l[r](...o)}),a}})})}function Ky(t,e){const n=t._chartjs;if(!n)return;const r=n.listeners,i=r.indexOf(e);i!==-1&&r.splice(i,1),!(r.length>0)&&(qy.forEach(o=>{delete t[o]}),delete t._chartjs)}function Gy(t){const e=new Set(t);return e.size===t.length?t:Array.from(e)}const Xy=(function(){return typeof window>"u"?function(t){return t()}:window.requestAnimationFrame})();function Jy(t,e){let n=[],r=!1;return function(...i){n=i,r||(r=!0,Xy.call(window,()=>{r=!1,t.apply(e,n)}))}}function W8(t,e){let n;return function(...r){return e?(clearTimeout(n),n=setTimeout(t,e,r)):t.apply(this,r),e}}const uh=t=>t==="start"?"left":t==="end"?"right":"center",jn=(t,e,n)=>t==="start"?e:t==="end"?n:(e+n)/2,Y8=(t,e,n,r)=>t===(r?"left":"right")?n:t==="center"?(e+n)/2:e,Fu=t=>t===0||t===1,Zy=(t,e,n)=>-(Math.pow(2,10*(t-=1))*Math.sin((t-e)*Tr/n)),$y=(t,e,n)=>Math.pow(2,-10*t)*Math.sin((t-e)*Tr/n)+1,Vl={linear:t=>t,easeInQuad:t=>t*t,easeOutQuad:t=>-t*(t-2),easeInOutQuad:t=>(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1),easeInCubic:t=>t*t*t,easeOutCubic:t=>(t-=1)*t*t+1,easeInOutCubic:t=>(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2),easeInQuart:t=>t*t*t*t,easeOutQuart:t=>-((t-=1)*t*t*t-1),easeInOutQuart:t=>(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2),easeInQuint:t=>t*t*t*t*t,easeOutQuint:t=>(t-=1)*t*t*t*t+1,easeInOutQuint:t=>(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2),easeInSine:t=>-Math.cos(t*Br)+1,easeOutSine:t=>Math.sin(t*Br),easeInOutSine:t=>-.5*(Math.cos(mn*t)-1),easeInExpo:t=>t===0?0:Math.pow(2,10*(t-1)),easeOutExpo:t=>t===1?1:-Math.pow(2,-10*t)+1,easeInOutExpo:t=>Fu(t)?t:t<.5?.5*Math.pow(2,10*(t*2-1)):.5*(-Math.pow(2,-10*(t*2-1))+2),easeInCirc:t=>t>=1?t:-(Math.sqrt(1-t*t)-1),easeOutCirc:t=>Math.sqrt(1-(t-=1)*t),easeInOutCirc:t=>(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1),easeInElastic:t=>Fu(t)?t:Zy(t,.075,.3),easeOutElastic:t=>Fu(t)?t:$y(t,.075,.3),easeInOutElastic(t){return Fu(t)?t:t<.5?.5*Zy(t*2,.1125,.45):.5+.5*$y(t*2-1,.1125,.45)},easeInBack(t){return t*t*((1.70158+1)*t-1.70158)},easeOutBack(t){return(t-=1)*t*((1.70158+1)*t+1.70158)+1},easeInOutBack(t){let e=1.70158;return(t/=.5)<1?.5*(t*t*(((e*=1.525)+1)*t-e)):.5*((t-=2)*t*(((e*=1.525)+1)*t+e)+2)},easeInBounce:t=>1-Vl.easeOutBounce(1-t),easeOutBounce(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},easeInOutBounce:t=>t<.5?Vl.easeInBounce(t*2)*.5:Vl.easeOutBounce(t*2-1)*.5+.5};function eb(t){if(t&&typeof t=="object"){const e=t.toString();return e==="[object CanvasPattern]"||e==="[object CanvasGradient]"}return!1}function tb(t){return eb(t)?t:new zl(t)}function dh(t){return eb(t)?t:new zl(t).saturate(.5).darken(.1).hexString()}const q8=["x","y","borderWidth","radius","tension"],K8=["color","borderColor","backgroundColor"];function G8(t){t.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),t.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:e=>e!=="onProgress"&&e!=="onComplete"&&e!=="fn"}),t.set("animations",{colors:{type:"color",properties:K8},numbers:{type:"number",properties:q8}}),t.describe("animations",{_fallback:"animation"}),t.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:e=>e|0}}}})}function X8(t){t.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}const nb=new Map;function J8(t,e){e=e||{};const n=t+JSON.stringify(e);let r=nb.get(n);return r||(r=new Intl.NumberFormat(t,e),nb.set(n,r)),r}function ju(t,e,n){return J8(e,n).format(t)}const Z8={values(t){return gn(t)?t:""+t},numeric(t,e,n){if(t===0)return"0";const r=this.chart.options.locale;let i,o=t;if(n.length>1){const d=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(d<1e-4||d>1e15)&&(i="scientific"),o=$8(t,n)}const a=Vy(Math.abs(o)),l=isNaN(a)?1:Math.max(Math.min(-1*Math.floor(a),20),0),u={notation:i,minimumFractionDigits:l,maximumFractionDigits:l};return Object.assign(u,this.options.ticks.format),ju(t,r,u)}};function $8(t,e){let n=e.length>3?e[2].value-e[1].value:e[1].value-e[0].value;return Math.abs(n)>=1&&t!==Math.floor(t)&&(n=t-Math.floor(t)),n}var rb={formatters:Z8};function e_(t){t.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:(e,n)=>n.lineWidth,tickColor:(e,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:rb.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),t.route("scale.ticks","color","","color"),t.route("scale.grid","color","","borderColor"),t.route("scale.border","color","","borderColor"),t.route("scale.title","color","","color"),t.describe("scale",{_fallback:!1,_scriptable:e=>!e.startsWith("before")&&!e.startsWith("after")&&e!=="callback"&&e!=="parser",_indexable:e=>e!=="borderDash"&&e!=="tickBorderDash"&&e!=="dash"}),t.describe("scales",{_fallback:"scale"}),t.describe("scale.ticks",{_scriptable:e=>e!=="backdropPadding"&&e!=="callback",_indexable:e=>e!=="backdropPadding"})}const Es=Object.create(null),fh=Object.create(null);function Wl(t,e){if(!e)return t;const n=e.split(".");for(let r=0,i=n.length;r<i;++r){const o=n[r];t=t[o]||(t[o]=Object.create(null))}return t}function ph(t,e,n){return typeof e=="string"?Ql(Wl(t,e),n):Ql(Wl(t,""),e)}class t_{constructor(e,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=r=>r.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=(r,i)=>dh(i.backgroundColor),this.hoverBorderColor=(r,i)=>dh(i.borderColor),this.hoverColor=(r,i)=>dh(i.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(e),this.apply(n)}set(e,n){return ph(this,e,n)}get(e){return Wl(this,e)}describe(e,n){return ph(fh,e,n)}override(e,n){return ph(Es,e,n)}route(e,n,r,i){const o=Wl(this,e),a=Wl(this,r),l="_"+n;Object.defineProperties(o,{[l]:{value:o[n],writable:!0},[n]:{enumerable:!0,get(){const u=this[l],d=a[i];return St(u)?Object.assign({},d,u):Ct(u,d)},set(u){this[l]=u}}})}apply(e){e.forEach(n=>n(this))}}var Jt=new t_({_scriptable:t=>!t.startsWith("on"),_indexable:t=>t!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[G8,X8,e_]);function n_(t){return!t||Ot(t.size)||Ot(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}function ib(t,e,n,r,i){let o=e[i];return o||(o=e[i]=t.measureText(i).width,n.push(i)),o>r&&(r=o),r}function Cs(t,e,n){const r=t.currentDevicePixelRatio,i=n!==0?Math.max(n/2,.5):0;return Math.round((e-i)*r)/r+i}function ob(t,e){!e&&!t||(e=e||t.getContext("2d"),e.save(),e.resetTransform(),e.clearRect(0,0,t.width,t.height),e.restore())}function sb(t,e,n,r){ab(t,e,n,r,null)}function ab(t,e,n,r,i){let o,a,l,u,d,p,h,A;const m=e.pointStyle,b=e.rotation,w=e.radius;let y=(b||0)*M8;if(m&&typeof m=="object"&&(o=m.toString(),o==="[object HTMLImageElement]"||o==="[object HTMLCanvasElement]")){t.save(),t.translate(n,r),t.rotate(y),t.drawImage(m,-m.width/2,-m.height/2,m.width,m.height),t.restore();return}if(!(isNaN(w)||w<=0)){switch(t.beginPath(),m){default:i?t.ellipse(n,r,i/2,w,0,0,Tr):t.arc(n,r,w,0,Tr),t.closePath();break;case"triangle":p=i?i/2:w,t.moveTo(n+Math.sin(y)*p,r-Math.cos(y)*w),y+=Uy,t.lineTo(n+Math.sin(y)*p,r-Math.cos(y)*w),y+=Uy,t.lineTo(n+Math.sin(y)*p,r-Math.cos(y)*w),t.closePath();break;case"rectRounded":d=w*.516,u=w-d,a=Math.cos(y+ks)*u,h=Math.cos(y+ks)*(i?i/2-d:u),l=Math.sin(y+ks)*u,A=Math.sin(y+ks)*(i?i/2-d:u),t.arc(n-h,r-l,d,y-mn,y-Br),t.arc(n+A,r-a,d,y-Br,y),t.arc(n+h,r+l,d,y,y+Br),t.arc(n-A,r+a,d,y+Br,y+mn),t.closePath();break;case"rect":if(!b){u=Math.SQRT1_2*w,p=i?i/2:u,t.rect(n-p,r-u,2*p,2*u);break}y+=ks;case"rectRot":h=Math.cos(y)*(i?i/2:w),a=Math.cos(y)*w,l=Math.sin(y)*w,A=Math.sin(y)*(i?i/2:w),t.moveTo(n-h,r-l),t.lineTo(n+A,r-a),t.lineTo(n+h,r+l),t.lineTo(n-A,r+a),t.closePath();break;case"crossRot":y+=ks;case"cross":h=Math.cos(y)*(i?i/2:w),a=Math.cos(y)*w,l=Math.sin(y)*w,A=Math.sin(y)*(i?i/2:w),t.moveTo(n-h,r-l),t.lineTo(n+h,r+l),t.moveTo(n+A,r-a),t.lineTo(n-A,r+a);break;case"star":h=Math.cos(y)*(i?i/2:w),a=Math.cos(y)*w,l=Math.sin(y)*w,A=Math.sin(y)*(i?i/2:w),t.moveTo(n-h,r-l),t.lineTo(n+h,r+l),t.moveTo(n+A,r-a),t.lineTo(n-A,r+a),y+=ks,h=Math.cos(y)*(i?i/2:w),a=Math.cos(y)*w,l=Math.sin(y)*w,A=Math.sin(y)*(i?i/2:w),t.moveTo(n-h,r-l),t.lineTo(n+h,r+l),t.moveTo(n+A,r-a),t.lineTo(n-A,r+a);break;case"line":a=i?i/2:Math.cos(y)*w,l=Math.sin(y)*w,t.moveTo(n-a,r-l),t.lineTo(n+a,r+l);break;case"dash":t.moveTo(n,r),t.lineTo(n+Math.cos(y)*(i?i/2:w),r+Math.sin(y)*w);break;case!1:t.closePath();break}t.fill(),e.borderWidth>0&&t.stroke()}}function lb(t,e,n){return n=n||.5,!e||t&&t.x>e.left-n&&t.x<e.right+n&&t.y>e.top-n&&t.y<e.bottom+n}function hh(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()}function Ah(t){t.restore()}function r_(t,e){e.translation&&t.translate(e.translation[0],e.translation[1]),Ot(e.rotation)||t.rotate(e.rotation),e.color&&(t.fillStyle=e.color),e.textAlign&&(t.textAlign=e.textAlign),e.textBaseline&&(t.textBaseline=e.textBaseline)}function i_(t,e,n,r,i){if(i.strikethrough||i.underline){const o=t.measureText(r),a=e-o.actualBoundingBoxLeft,l=e+o.actualBoundingBoxRight,u=n-o.actualBoundingBoxAscent,d=n+o.actualBoundingBoxDescent,p=i.strikethrough?(u+d)/2:d;t.strokeStyle=t.fillStyle,t.beginPath(),t.lineWidth=i.decorationWidth||2,t.moveTo(a,p),t.lineTo(l,p),t.stroke()}}function o_(t,e){const n=t.fillStyle;t.fillStyle=e.color,t.fillRect(e.left,e.top,e.width,e.height),t.fillStyle=n}function Yl(t,e,n,r,i,o={}){const a=gn(e)?e:[e],l=o.strokeWidth>0&&o.strokeColor!=="";let u,d;for(t.save(),t.font=i.string,r_(t,o),u=0;u<a.length;++u)d=a[u],o.backdrop&&o_(t,o.backdrop),l&&(o.strokeColor&&(t.strokeStyle=o.strokeColor),Ot(o.strokeWidth)||(t.lineWidth=o.strokeWidth),t.strokeText(d,n,r,o.maxWidth)),t.fillText(d,n,r,o.maxWidth),i_(t,n,r,d,o),r+=Number(i.lineHeight);t.restore()}function zu(t,e){const{x:n,y:r,w:i,h:o,radius:a}=e;t.arc(n+a.topLeft,r+a.topLeft,a.topLeft,1.5*mn,mn,!0),t.lineTo(n,r+o-a.bottomLeft),t.arc(n+a.bottomLeft,r+o-a.bottomLeft,a.bottomLeft,mn,Br,!0),t.lineTo(n+i-a.bottomRight,r+o),t.arc(n+i-a.bottomRight,r+o-a.bottomRight,a.bottomRight,Br,0,!0),t.lineTo(n+i,r+a.topRight),t.arc(n+i-a.topRight,r+a.topRight,a.topRight,0,-Br,!0),t.lineTo(n+a.topLeft,r)}const s_=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,a_=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function l_(t,e){const n=(""+t).match(s_);if(!n||n[1]==="normal")return e*1.2;switch(t=+n[2],n[3]){case"px":return t;case"%":t/=100;break}return e*t}const c_=t=>+t||0;function cb(t,e){const n={},r=St(e),i=r?Object.keys(e):e,o=St(t)?r?a=>Ct(t[a],t[e[a]]):a=>t[a]:()=>t;for(const a of i)n[a]=c_(o(a));return n}function ub(t){return cb(t,{top:"y",right:"x",bottom:"y",left:"x"})}function ba(t){return cb(t,["topLeft","topRight","bottomLeft","bottomRight"])}function Gr(t){const e=ub(t);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function zn(t,e){t=t||{},e=e||Jt.font;let n=Ct(t.size,e.size);typeof n=="string"&&(n=parseInt(n,10));let r=Ct(t.style,e.style);r&&!(""+r).match(a_)&&(console.warn('Invalid font style specified: "'+r+'"'),r=void 0);const i={family:Ct(t.family,e.family),lineHeight:l_(Ct(t.lineHeight,e.lineHeight),n),size:n,style:r,weight:Ct(t.weight,e.weight),string:""};return i.string=n_(i),i}function Qu(t,e,n,r){let i,o,a;for(i=0,o=t.length;i<o;++i)if(a=t[i],a!==void 0&&a!==void 0)return a}function u_(t,e,n){const{min:r,max:i}=t,o=jy(e,(i-r)/2),a=(l,u)=>n&&l===0?0:l+u;return{min:a(r,-Math.abs(o)),max:a(i,o)}}function xa(t,e){return Object.assign(Object.create(t),e)}function gh(t,e=[""],n,r,i=()=>t[0]){const o=n||t;typeof r>"u"&&(r=Ab("_fallback",t));const a={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:o,_fallback:r,_getTarget:i,override:l=>gh([l,...t],e,o,r)};return new Proxy(a,{deleteProperty(l,u){return delete l[u],delete l._keys,delete t[0][u],!0},get(l,u){return fb(l,u,()=>v_(u,e,t,l))},getOwnPropertyDescriptor(l,u){return Reflect.getOwnPropertyDescriptor(l._scopes[0],u)},getPrototypeOf(){return Reflect.getPrototypeOf(t[0])},has(l,u){return gb(l).includes(u)},ownKeys(l){return gb(l)},set(l,u,d){const p=l._storage||(l._storage=i());return l[u]=p[u]=d,delete l._keys,!0}})}function wa(t,e,n,r){const i={_cacheable:!1,_proxy:t,_context:e,_subProxy:n,_stack:new Set,_descriptors:db(t,r),setContext:o=>wa(t,o,n,r),override:o=>wa(t.override(o),e,n,r)};return new Proxy(i,{deleteProperty(o,a){return delete o[a],delete t[a],!0},get(o,a,l){return fb(o,a,()=>f_(o,a,l))},getOwnPropertyDescriptor(o,a){return o._descriptors.allKeys?Reflect.has(t,a)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(t,a)},getPrototypeOf(){return Reflect.getPrototypeOf(t)},has(o,a){return Reflect.has(t,a)},ownKeys(){return Reflect.ownKeys(t)},set(o,a,l){return t[a]=l,delete o[a],!0}})}function db(t,e={scriptable:!0,indexable:!0}){const{_scriptable:n=e.scriptable,_indexable:r=e.indexable,_allKeys:i=e.allKeys}=t;return{allKeys:i,scriptable:n,indexable:r,isScriptable:Qo(n)?n:()=>n,isIndexable:Qo(r)?r:()=>r}}const d_=(t,e)=>t?t+sh(e):e,mh=(t,e)=>St(e)&&t!=="adapters"&&(Object.getPrototypeOf(e)===null||e.constructor===Object);function fb(t,e,n){if(Object.prototype.hasOwnProperty.call(t,e)||e==="constructor")return t[e];const r=n();return t[e]=r,r}function f_(t,e,n){const{_proxy:r,_context:i,_subProxy:o,_descriptors:a}=t;let l=r[e];return Qo(l)&&a.isScriptable(e)&&(l=p_(e,l,t,n)),gn(l)&&l.length&&(l=h_(e,l,t,a.isIndexable)),mh(e,l)&&(l=wa(l,i,o&&o[e],a)),l}function p_(t,e,n,r){const{_proxy:i,_context:o,_subProxy:a,_stack:l}=n;if(l.has(t))throw new Error("Recursion detected: "+Array.from(l).join("->")+"->"+t);l.add(t);let u=e(o,a||r);return l.delete(t),mh(t,u)&&(u=vh(i._scopes,i,t,u)),u}function h_(t,e,n,r){const{_proxy:i,_context:o,_subProxy:a,_descriptors:l}=n;if(typeof o.index<"u"&&r(t))return e[o.index%e.length];if(St(e[0])){const u=e,d=i._scopes.filter(p=>p!==u);e=[];for(const p of u){const h=vh(d,i,t,p);e.push(wa(h,o,a&&a[t],l))}}return e}function pb(t,e,n){return Qo(t)?t(e,n):t}const A_=(t,e)=>t===!0?e:typeof t=="string"?zo(e,t):void 0;function g_(t,e,n,r,i){for(const o of e){const a=A_(n,o);if(a){t.add(a);const l=pb(a._fallback,n,i);if(typeof l<"u"&&l!==n&&l!==r)return l}else if(a===!1&&typeof r<"u"&&n!==r)return null}return!1}function vh(t,e,n,r){const i=e._rootScopes,o=pb(e._fallback,n,r),a=[...t,...i],l=new Set;l.add(r);let u=hb(l,a,n,o||n,r);return u===null||typeof o<"u"&&o!==n&&(u=hb(l,a,o,u,r),u===null)?!1:gh(Array.from(l),[""],i,o,()=>m_(e,n,r))}function hb(t,e,n,r,i){for(;n;)n=g_(t,e,n,r,i);return n}function m_(t,e,n){const r=t._getTarget();e in r||(r[e]={});const i=r[e];return gn(i)&&St(n)?n:i||{}}function v_(t,e,n,r){let i;for(const o of e)if(i=Ab(d_(o,t),n),typeof i<"u")return mh(t,i)?vh(n,r,t,i):i}function Ab(t,e){for(const n of e){if(!n)continue;const r=n[t];if(typeof r<"u")return r}}function gb(t){let e=t._keys;return e||(e=t._keys=y_(t._scopes)),e}function y_(t){const e=new Set;for(const n of t)for(const r of Object.keys(n).filter(i=>!i.startsWith("_")))e.add(r);return Array.from(e)}function b_(t,e,n,r){const{iScale:i}=t,{key:o="r"}=this._parsing,a=new Array(r);let l,u,d,p;for(l=0,u=r;l<u;++l)d=l+n,p=e[d],a[l]={r:i.parse(zo(p,o),d)};return a}function yh(){return typeof window<"u"&&typeof document<"u"}function bh(t){let e=t.parentNode;return e&&e.toString()==="[object ShadowRoot]"&&(e=e.host),e}function Hu(t,e,n){let r;return typeof t=="string"?(r=parseInt(t,10),t.indexOf("%")!==-1&&(r=r/100*e.parentNode[n])):r=t,r}const Uu=t=>t.ownerDocument.defaultView.getComputedStyle(t,null);function x_(t,e){return Uu(t).getPropertyValue(e)}const w_=["top","right","bottom","left"];function Ps(t,e,n){const r={};n=n?"-"+n:"";for(let i=0;i<4;i++){const o=w_[i];r[o]=parseFloat(t[e+"-"+o+n])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}const k_=(t,e,n)=>(t>0||e>0)&&(!n||!n.shadowRoot);function S_(t,e){const n=t.touches,r=n&&n.length?n[0]:t,{offsetX:i,offsetY:o}=r;let a=!1,l,u;if(k_(i,o,t.target))l=i,u=o;else{const d=e.getBoundingClientRect();l=r.clientX-d.left,u=r.clientY-d.top,a=!0}return{x:l,y:u,box:a}}function Ds(t,e){if("native"in t)return t;const{canvas:n,currentDevicePixelRatio:r}=e,i=Uu(n),o=i.boxSizing==="border-box",a=Ps(i,"padding"),l=Ps(i,"border","width"),{x:u,y:d,box:p}=S_(t,n),h=a.left+(p&&l.left),A=a.top+(p&&l.top);let{width:m,height:b}=e;return o&&(m-=a.width+l.width,b-=a.height+l.height),{x:Math.round((u-h)/m*n.width/r),y:Math.round((d-A)/b*n.height/r)}}function E_(t,e,n){let r,i;if(e===void 0||n===void 0){const o=t&&bh(t);if(!o)e=t.clientWidth,n=t.clientHeight;else{const a=o.getBoundingClientRect(),l=Uu(o),u=Ps(l,"border","width"),d=Ps(l,"padding");e=a.width-d.width-u.width,n=a.height-d.height-u.height,r=Hu(l.maxWidth,o,"clientWidth"),i=Hu(l.maxHeight,o,"clientHeight")}}return{width:e,height:n,maxWidth:r||Ru,maxHeight:i||Ru}}const Uo=t=>Math.round(t*10)/10;function C_(t,e,n,r){const i=Uu(t),o=Ps(i,"margin"),a=Hu(i.maxWidth,t,"clientWidth")||Ru,l=Hu(i.maxHeight,t,"clientHeight")||Ru,u=E_(t,e,n);let{width:d,height:p}=u;if(i.boxSizing==="content-box"){const A=Ps(i,"border","width"),m=Ps(i,"padding");d-=m.width+A.width,p-=m.height+A.height}return d=Math.max(0,d-o.width),p=Math.max(0,r?d/r:p-o.height),d=Uo(Math.min(d,a,u.maxWidth)),p=Uo(Math.min(p,l,u.maxHeight)),d&&!p&&(p=Uo(d/2)),(e!==void 0||n!==void 0)&&r&&u.height&&p>u.height&&(p=u.height,d=Uo(Math.floor(p*r))),{width:d,height:p}}function mb(t,e,n){const r=e||1,i=Uo(t.height*r),o=Uo(t.width*r);t.height=Uo(t.height),t.width=Uo(t.width);const a=t.canvas;return a.style&&(n||!a.style.height&&!a.style.width)&&(a.style.height=`${t.height}px`,a.style.width=`${t.width}px`),t.currentDevicePixelRatio!==r||a.height!==i||a.width!==o?(t.currentDevicePixelRatio=r,a.height=i,a.width=o,t.ctx.setTransform(r,0,0,r,0,0),!0):!1}const P_=(function(){let t=!1;try{const e={get passive(){return t=!0,!1}};yh()&&(window.addEventListener("test",null,e),window.removeEventListener("test",null,e))}catch{}return t})();function vb(t,e){const n=x_(t,e),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}const D_=function(t,e){return{x(n){return t+t+e-n},setWidth(n){e=n},textAlign(n){return n==="center"?n:n==="right"?"left":"right"},xPlus(n,r){return n-r},leftForLtr(n,r){return n-r}}},T_=function(){return{x(t){return t},setWidth(t){},textAlign(t){return t},xPlus(t,e){return t+e},leftForLtr(t,e){return t}}};function ka(t,e,n){return t?D_(e,n):T_()}function yb(t,e){let n,r;(e==="ltr"||e==="rtl")&&(n=t.canvas.style,r=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",e,"important"),t.prevTextDirection=r)}function bb(t,e){e!==void 0&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function Vu(t,e,n){return t.options.clip?t[n]:e[n]}function B_(t,e){const{xScale:n,yScale:r}=t;return n&&r?{left:Vu(n,e,"left"),right:Vu(n,e,"right"),top:Vu(r,e,"top"),bottom:Vu(r,e,"bottom")}:e}function __(t,e){const n=e._clip;if(n.disabled)return!1;const r=B_(e,t.chartArea);return{left:n.left===!1?0:r.left-(n.left===!0?0:n.left),right:n.right===!1?t.width:r.right+(n.right===!0?0:n.right),top:n.top===!1?0:r.top-(n.top===!0?0:n.top),bottom:n.bottom===!1?t.height:r.bottom+(n.bottom===!0?0:n.bottom)}}class I_{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(e,n,r,i){const o=n.listeners[i],a=n.duration;o.forEach(l=>l({chart:e,initial:n.initial,numSteps:a,currentStep:Math.min(r-n.start,a)}))}_refresh(){this._request||(this._running=!0,this._request=Xy.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(e=Date.now()){let n=0;this._charts.forEach((r,i)=>{if(!r.running||!r.items.length)return;const o=r.items;let a=o.length-1,l=!1,u;for(;a>=0;--a)u=o[a],u._active?(u._total>r.duration&&(r.duration=u._total),u.tick(e),l=!0):(o[a]=o[o.length-1],o.pop());l&&(i.draw(),this._notify(i,r,e,"progress")),o.length||(r.running=!1,this._notify(i,r,e,"complete"),r.initial=!1),n+=o.length}),this._lastDate=e,n===0&&(this._running=!1)}_getAnims(e){const n=this._charts;let r=n.get(e);return r||(r={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},n.set(e,r)),r}listen(e,n,r){this._getAnims(e).listeners[n].push(r)}add(e,n){!n||!n.length||this._getAnims(e).items.push(...n)}has(e){return this._getAnims(e).items.length>0}start(e){const n=this._charts.get(e);n&&(n.running=!0,n.start=Date.now(),n.duration=n.items.reduce((r,i)=>Math.max(r,i._duration),0),this._refresh())}running(e){if(!this._running)return!1;const n=this._charts.get(e);return!(!n||!n.running||!n.items.length)}stop(e){const n=this._charts.get(e);if(!n||!n.items.length)return;const r=n.items;let i=r.length-1;for(;i>=0;--i)r[i].cancel();n.items=[],this._notify(e,n,Date.now(),"complete")}remove(e){return this._charts.delete(e)}}var co=new I_;const xb="transparent",M_={boolean(t,e,n){return n>.5?e:t},color(t,e,n){const r=tb(t||xb),i=r.valid&&tb(e||xb);return i&&i.valid?i.mix(r,n).hexString():e},number(t,e,n){return t+(e-t)*n}};class O_{constructor(e,n,r,i){const o=n[r];i=Qu([e.to,i,o,e.from]);const a=Qu([e.from,o,i]);this._active=!0,this._fn=e.fn||M_[e.type||typeof a],this._easing=Vl[e.easing]||Vl.linear,this._start=Math.floor(Date.now()+(e.delay||0)),this._duration=this._total=Math.floor(e.duration),this._loop=!!e.loop,this._target=n,this._prop=r,this._from=a,this._to=i,this._promises=void 0}active(){return this._active}update(e,n,r){if(this._active){this._notify(!1);const i=this._target[this._prop],o=r-this._start,a=this._duration-o;this._start=r,this._duration=Math.floor(Math.max(a,e.duration)),this._total+=o,this._loop=!!e.loop,this._to=Qu([e.to,n,i,e.from]),this._from=Qu([e.from,i,n])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(e){const n=e-this._start,r=this._duration,i=this._prop,o=this._from,a=this._loop,l=this._to;let u;if(this._active=o!==l&&(a||n<r),!this._active){this._target[i]=l,this._notify(!0);return}if(n<0){this._target[i]=o;return}u=n/r%2,u=a&&u>1?2-u:u,u=this._easing(Math.min(1,Math.max(0,u))),this._target[i]=this._fn(o,l,u)}wait(){const e=this._promises||(this._promises=[]);return new Promise((n,r)=>{e.push({res:n,rej:r})})}_notify(e){const n=e?"res":"rej",r=this._promises||[];for(let i=0;i<r.length;i++)r[i][n]()}}class wb{constructor(e,n){this._chart=e,this._properties=new Map,this.configure(n)}configure(e){if(!St(e))return;const n=Object.keys(Jt.animation),r=this._properties;Object.getOwnPropertyNames(e).forEach(i=>{const o=e[i];if(!St(o))return;const a={};for(const l of n)a[l]=o[l];(gn(o.properties)&&o.properties||[i]).forEach(l=>{(l===i||!r.has(l))&&r.set(l,a)})})}_animateOptions(e,n){const r=n.options,i=L_(e,r);if(!i)return[];const o=this._createAnimations(i,r);return r.$shared&&R_(e.options.$animations,r).then(()=>{e.options=r},()=>{}),o}_createAnimations(e,n){const r=this._properties,i=[],o=e.$animations||(e.$animations={}),a=Object.keys(n),l=Date.now();let u;for(u=a.length-1;u>=0;--u){const d=a[u];if(d.charAt(0)==="$")continue;if(d==="options"){i.push(...this._animateOptions(e,n));continue}const p=n[d];let h=o[d];const A=r.get(d);if(h)if(A&&h.active()){h.update(A,p,l);continue}else h.cancel();if(!A||!A.duration){e[d]=p;continue}o[d]=h=new O_(A,e,d,p),i.push(h)}return i}update(e,n){if(this._properties.size===0){Object.assign(e,n);return}const r=this._createAnimations(e,n);if(r.length)return co.add(this._chart,r),!0}}function R_(t,e){const n=[],r=Object.keys(e);for(let i=0;i<r.length;i++){const o=t[r[i]];o&&o.active()&&n.push(o.wait())}return Promise.all(n)}function L_(t,e){if(!e)return;let n=t.options;if(!n){t.options=e;return}return n.$shared&&(t.options=n=Object.assign({},n,{$shared:!1,$animations:{}})),n}function kb(t,e){const n=t&&t.options||{},r=n.reverse,i=n.min===void 0?e:0,o=n.max===void 0?e:0;return{start:r?o:i,end:r?i:o}}function N_(t,e,n){if(n===!1)return!1;const r=kb(t,n),i=kb(e,n);return{top:i.end,right:r.end,bottom:i.start,left:r.start}}function F_(t){let e,n,r,i;return St(t)?(e=t.top,n=t.right,r=t.bottom,i=t.left):e=n=r=i=t,{top:e,right:n,bottom:r,left:i,disabled:t===!1}}function Sb(t,e){const n=[],r=t._getSortedDatasetMetas(e);let i,o;for(i=0,o=r.length;i<o;++i)n.push(r[i].index);return n}function Eb(t,e,n,r={}){const i=t.keys,o=r.mode==="single";let a,l,u,d;if(e===null)return;let p=!1;for(a=0,l=i.length;a<l;++a){if(u=+i[a],u===n){if(p=!0,r.all)continue;break}d=t.values[u],Kr(d)&&(o||e===0||Ho(e)===Ho(d))&&(e+=d)}return!p&&!r.all?0:e}function j_(t,e){const{iScale:n,vScale:r}=e,i=n.axis==="x"?"x":"y",o=r.axis==="x"?"x":"y",a=Object.keys(t),l=new Array(a.length);let u,d,p;for(u=0,d=a.length;u<d;++u)p=a[u],l[u]={[i]:p,[o]:t[p]};return l}function xh(t,e){const n=t&&t.options.stacked;return n||n===void 0&&e.stack!==void 0}function z_(t,e,n){return`${t.id}.${e.id}.${n.stack||n.type}`}function Q_(t){const{min:e,max:n,minDefined:r,maxDefined:i}=t.getUserBounds();return{min:r?e:Number.NEGATIVE_INFINITY,max:i?n:Number.POSITIVE_INFINITY}}function H_(t,e,n){const r=t[e]||(t[e]={});return r[n]||(r[n]={})}function Cb(t,e,n,r){for(const i of e.getMatchingVisibleMetas(r).reverse()){const o=t[i.index];if(n&&o>0||!n&&o<0)return i.index}return null}function Pb(t,e){const{chart:n,_cachedMeta:r}=t,i=n._stacks||(n._stacks={}),{iScale:o,vScale:a,index:l}=r,u=o.axis,d=a.axis,p=z_(o,a,r),h=e.length;let A;for(let m=0;m<h;++m){const b=e[m],{[u]:w,[d]:y}=b,P=b._stacks||(b._stacks={});A=P[d]=H_(i,p,w),A[l]=y,A._top=Cb(A,a,!0,r.type),A._bottom=Cb(A,a,!1,r.type);const M=A._visualValues||(A._visualValues={});M[l]=y}}function wh(t,e){const n=t.scales;return Object.keys(n).filter(r=>n[r].axis===e).shift()}function U_(t,e){return xa(t,{active:!1,dataset:void 0,datasetIndex:e,index:e,mode:"default",type:"dataset"})}function V_(t,e,n){return xa(t,{active:!1,dataIndex:e,parsed:void 0,raw:void 0,element:n,index:e,mode:"default",type:"data"})}function ql(t,e){const n=t.controller.index,r=t.vScale&&t.vScale.axis;if(r){e=e||t._parsed;for(const i of e){const o=i._stacks;if(!o||o[r]===void 0||o[r][n]===void 0)return;delete o[r][n],o[r]._visualValues!==void 0&&o[r]._visualValues[n]!==void 0&&delete o[r]._visualValues[n]}}}const kh=t=>t==="reset"||t==="none",Db=(t,e)=>e?t:Object.assign({},t),W_=(t,e,n)=>t&&!e.hidden&&e._stacked&&{keys:Sb(n,!0),values:null};class Wu{static defaults={};static datasetElementType=null;static dataElementType=null;constructor(e,n){this.chart=e,this._ctx=e.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 e=this._cachedMeta;this.configure(),this.linkScales(),e._stacked=xh(e.vScale,e),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(e){this.index!==e&&ql(this._cachedMeta),this.index=e}linkScales(){const e=this.chart,n=this._cachedMeta,r=this.getDataset(),i=(h,A,m,b)=>h==="x"?A:h==="r"?b:m,o=n.xAxisID=Ct(r.xAxisID,wh(e,"x")),a=n.yAxisID=Ct(r.yAxisID,wh(e,"y")),l=n.rAxisID=Ct(r.rAxisID,wh(e,"r")),u=n.indexAxis,d=n.iAxisID=i(u,o,a,l),p=n.vAxisID=i(u,a,o,l);n.xScale=this.getScaleForId(o),n.yScale=this.getScaleForId(a),n.rScale=this.getScaleForId(l),n.iScale=this.getScaleForId(d),n.vScale=this.getScaleForId(p)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(e){return this.chart.scales[e]}_getOtherScale(e){const n=this._cachedMeta;return e===n.iScale?n.vScale:n.iScale}reset(){this._update("reset")}_destroy(){const e=this._cachedMeta;this._data&&Ky(this._data,this),e._stacked&&ql(e)}_dataCheck(){const e=this.getDataset(),n=e.data||(e.data=[]),r=this._data;if(St(n)){const i=this._cachedMeta;this._data=j_(n,i)}else if(r!==n){if(r){Ky(r,this);const i=this._cachedMeta;ql(i),i._parsed=[]}n&&Object.isExtensible(n)&&V8(n,this),this._syncList=[],this._data=n}}addElements(){const e=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(e.dataset=new this.datasetElementType)}buildOrUpdateElements(e){const n=this._cachedMeta,r=this.getDataset();let i=!1;this._dataCheck();const o=n._stacked;n._stacked=xh(n.vScale,n),n.stack!==r.stack&&(i=!0,ql(n),n.stack=r.stack),this._resyncElements(e),(i||o!==n._stacked)&&(Pb(this,n._parsed),n._stacked=xh(n.vScale,n))}configure(){const e=this.chart.config,n=e.datasetScopeKeys(this._type),r=e.getOptionScopes(this.getDataset(),n,!0);this.options=e.createResolver(r,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(e,n){const{_cachedMeta:r,_data:i}=this,{iScale:o,_stacked:a}=r,l=o.axis;let u=e===0&&n===i.length?!0:r._sorted,d=e>0&&r._parsed[e-1],p,h,A;if(this._parsing===!1)r._parsed=i,r._sorted=!0,A=i;else{gn(i[e])?A=this.parseArrayData(r,i,e,n):St(i[e])?A=this.parseObjectData(r,i,e,n):A=this.parsePrimitiveData(r,i,e,n);const m=()=>h[l]===null||d&&h[l]<d[l];for(p=0;p<n;++p)r._parsed[p+e]=h=A[p],u&&(m()&&(u=!1),d=h);r._sorted=u}a&&Pb(this,A)}parsePrimitiveData(e,n,r,i){const{iScale:o,vScale:a}=e,l=o.axis,u=a.axis,d=o.getLabels(),p=o===a,h=new Array(i);let A,m,b;for(A=0,m=i;A<m;++A)b=A+r,h[A]={[l]:p||o.parse(d[b],b),[u]:a.parse(n[b],b)};return h}parseArrayData(e,n,r,i){const{xScale:o,yScale:a}=e,l=new Array(i);let u,d,p,h;for(u=0,d=i;u<d;++u)p=u+r,h=n[p],l[u]={x:o.parse(h[0],p),y:a.parse(h[1],p)};return l}parseObjectData(e,n,r,i){const{xScale:o,yScale:a}=e,{xAxisKey:l="x",yAxisKey:u="y"}=this._parsing,d=new Array(i);let p,h,A,m;for(p=0,h=i;p<h;++p)A=p+r,m=n[A],d[p]={x:o.parse(zo(m,l),A),y:a.parse(zo(m,u),A)};return d}getParsed(e){return this._cachedMeta._parsed[e]}getDataElement(e){return this._cachedMeta.data[e]}applyStack(e,n,r){const i=this.chart,o=this._cachedMeta,a=n[e.axis],l={keys:Sb(i,!0),values:n._stacks[e.axis]._visualValues};return Eb(l,a,o.index,{mode:r})}updateRangeFromParsed(e,n,r,i){const o=r[n.axis];let a=o===null?NaN:o;const l=i&&r._stacks[n.axis];i&&l&&(i.values=l,a=Eb(i,o,this._cachedMeta.index)),e.min=Math.min(e.min,a),e.max=Math.max(e.max,a)}getMinMax(e,n){const r=this._cachedMeta,i=r._parsed,o=r._sorted&&e===r.iScale,a=i.length,l=this._getOtherScale(e),u=W_(n,r,this.chart),d={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:p,max:h}=Q_(l);let A,m;function b(){m=i[A];const w=m[l.axis];return!Kr(m[e.axis])||p>w||h<w}for(A=0;A<a&&!(!b()&&(this.updateRangeFromParsed(d,e,m,u),o));++A);if(o){for(A=a-1;A>=0;--A)if(!b()){this.updateRangeFromParsed(d,e,m,u);break}}return d}getAllParsedValues(e){const n=this._cachedMeta._parsed,r=[];let i,o,a;for(i=0,o=n.length;i<o;++i)a=n[i][e.axis],Kr(a)&&r.push(a);return r}getMaxOverflow(){return!1}getLabelAndValue(e){const n=this._cachedMeta,r=n.iScale,i=n.vScale,o=this.getParsed(e);return{label:r?""+r.getLabelForValue(o[r.axis]):"",value:i?""+i.getLabelForValue(o[i.axis]):""}}_update(e){const n=this._cachedMeta;this.update(e||"default"),n._clip=F_(Ct(this.options.clip,N_(n.xScale,n.yScale,this.getMaxOverflow())))}update(e){}draw(){const e=this._ctx,n=this.chart,r=this._cachedMeta,i=r.data||[],o=n.chartArea,a=[],l=this._drawStart||0,u=this._drawCount||i.length-l,d=this.options.drawActiveElementsOnTop;let p;for(r.dataset&&r.dataset.draw(e,o,l,u),p=l;p<l+u;++p){const h=i[p];h.hidden||(h.active&&d?a.push(h):h.draw(e,o))}for(p=0;p<a.length;++p)a[p].draw(e,o)}getStyle(e,n){const r=n?"active":"default";return e===void 0&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(r):this.resolveDataElementOptions(e||0,r)}getContext(e,n,r){const i=this.getDataset();let o;if(e>=0&&e<this._cachedMeta.data.length){const a=this._cachedMeta.data[e];o=a.$context||(a.$context=V_(this.getContext(),e,a)),o.parsed=this.getParsed(e),o.raw=i.data[e],o.index=o.dataIndex=e}else o=this.$context||(this.$context=U_(this.chart.getContext(),this.index)),o.dataset=i,o.index=o.datasetIndex=this.index;return o.active=!!n,o.mode=r,o}resolveDatasetElementOptions(e){return this._resolveElementOptions(this.datasetElementType.id,e)}resolveDataElementOptions(e,n){return this._resolveElementOptions(this.dataElementType.id,n,e)}_resolveElementOptions(e,n="default",r){const i=n==="active",o=this._cachedDataOpts,a=e+"-"+n,l=o[a],u=this.enableOptionSharing&&Ul(r);if(l)return Db(l,u);const d=this.chart.config,p=d.datasetElementScopeKeys(this._type,e),h=i?[`${e}Hover`,"hover",e,""]:[e,""],A=d.getOptionScopes(this.getDataset(),p),m=Object.keys(Jt.elements[e]),b=()=>this.getContext(r,i,n),w=d.resolveNamedOptions(A,m,b,h);return w.$shared&&(w.$shared=u,o[a]=Object.freeze(Db(w,u))),w}_resolveAnimations(e,n,r){const i=this.chart,o=this._cachedDataOpts,a=`animation-${n}`,l=o[a];if(l)return l;let u;if(i.options.animation!==!1){const p=this.chart.config,h=p.datasetAnimationScopeKeys(this._type,n),A=p.getOptionScopes(this.getDataset(),h);u=p.createResolver(A,this.getContext(e,r,n))}const d=new wb(i,u&&u.animations);return u&&u._cacheable&&(o[a]=Object.freeze(d)),d}getSharedOptions(e){if(e.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},e))}includeOptions(e,n){return!n||kh(e)||this.chart._animationsDisabled}_getSharedOptions(e,n){const r=this.resolveDataElementOptions(e,n),i=this._sharedOptions,o=this.getSharedOptions(r),a=this.includeOptions(n,o)||o!==i;return this.updateSharedOptions(o,n,r),{sharedOptions:o,includeOptions:a}}updateElement(e,n,r,i){kh(i)?Object.assign(e,r):this._resolveAnimations(n,i).update(e,r)}updateSharedOptions(e,n,r){e&&!kh(n)&&this._resolveAnimations(void 0,n).update(e,r)}_setStyle(e,n,r,i){e.active=i;const o=this.getStyle(n,i);this._resolveAnimations(n,r,i).update(e,{options:!i&&this.getSharedOptions(o)||o})}removeHoverStyle(e,n,r){this._setStyle(e,r,"active",!1)}setHoverStyle(e,n,r){this._setStyle(e,r,"active",!0)}_removeDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!1)}_setDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!0)}_resyncElements(e){const n=this._data,r=this._cachedMeta.data;for(const[l,u,d]of this._syncList)this[l](u,d);this._syncList=[];const i=r.length,o=n.length,a=Math.min(o,i);a&&this.parse(0,a),o>i?this._insertElements(i,o-i,e):o<i&&this._removeElements(o,i-o)}_insertElements(e,n,r=!0){const i=this._cachedMeta,o=i.data,a=e+n;let l;const u=d=>{for(d.length+=n,l=d.length-1;l>=a;l--)d[l]=d[l-n]};for(u(o),l=e;l<a;++l)o[l]=new this.dataElementType;this._parsing&&u(i._parsed),this.parse(e,n),r&&this.updateElements(o,e,n,"reset")}updateElements(e,n,r,i){}_removeElements(e,n){const r=this._cachedMeta;if(this._parsing){const i=r._parsed.splice(e,n);r._stacked&&ql(r,i)}r.data.splice(e,n)}_sync(e){if(this._parsing)this._syncList.push(e);else{const[n,r,i]=e;this[n](r,i)}this.chart._dataChanges.push([this.index,...e])}_onDataPush(){const e=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-e,e])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(e,n){n&&this._sync(["_removeElements",e,n]);const r=arguments.length-2;r&&this._sync(["_insertElements",e,r])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}function Y_(t,e){if(!t._cache.$bar){const n=t.getMatchingVisibleMetas(e);let r=[];for(let i=0,o=n.length;i<o;i++)r=r.concat(n[i].controller.getAllParsedValues(t));t._cache.$bar=Gy(r.sort((i,o)=>i-o))}return t._cache.$bar}function q_(t){const e=t.iScale,n=Y_(e,t.type);let r=e._length,i,o,a,l;const u=()=>{a===32767||a===-32768||(Ul(l)&&(r=Math.min(r,Math.abs(a-l)||r)),l=a)};for(i=0,o=n.length;i<o;++i)a=e.getPixelForValue(n[i]),u();for(l=void 0,i=0,o=e.ticks.length;i<o;++i)a=e.getPixelForTick(i),u();return r}function K_(t,e,n,r){const i=n.barThickness;let o,a;return Ot(i)?(o=e.min*n.categoryPercentage,a=n.barPercentage):(o=i*r,a=1),{chunk:o/r,ratio:a,start:e.pixels[t]-o/2}}function G_(t,e,n,r){const i=e.pixels,o=i[t];let a=t>0?i[t-1]:null,l=t<i.length-1?i[t+1]:null;const u=n.categoryPercentage;a===null&&(a=o-(l===null?e.end-e.start:l-o)),l===null&&(l=o+o-a);const d=o-(o-Math.min(a,l))/2*u;return{chunk:Math.abs(l-a)/2*u/r,ratio:n.barPercentage,start:d}}function X_(t,e,n,r){const i=n.parse(t[0],r),o=n.parse(t[1],r),a=Math.min(i,o),l=Math.max(i,o);let u=a,d=l;Math.abs(a)>Math.abs(l)&&(u=l,d=a),e[n.axis]=d,e._custom={barStart:u,barEnd:d,start:i,end:o,min:a,max:l}}function Tb(t,e,n,r){return gn(t)?X_(t,e,n,r):e[n.axis]=n.parse(t,r),e}function Bb(t,e,n,r){const i=t.iScale,o=t.vScale,a=i.getLabels(),l=i===o,u=[];let d,p,h,A;for(d=n,p=n+r;d<p;++d)A=e[d],h={},h[i.axis]=l||i.parse(a[d],d),u.push(Tb(A,h,o,d));return u}function Sh(t){return t&&t.barStart!==void 0&&t.barEnd!==void 0}function J_(t,e,n){return t!==0?Ho(t):(e.isHorizontal()?1:-1)*(e.min>=n?1:-1)}function Z_(t){let e,n,r,i,o;return t.horizontal?(e=t.base>t.x,n="left",r="right"):(e=t.base<t.y,n="bottom",r="top"),e?(i="end",o="start"):(i="start",o="end"),{start:n,end:r,reverse:e,top:i,bottom:o}}function $_(t,e,n,r){let i=e.borderSkipped;const o={};if(!i){t.borderSkipped=o;return}if(i===!0){t.borderSkipped={top:!0,right:!0,bottom:!0,left:!0};return}const{start:a,end:l,reverse:u,top:d,bottom:p}=Z_(t);i==="middle"&&n&&(t.enableBorderRadius=!0,(n._top||0)===r?i=d:(n._bottom||0)===r?i=p:(o[_b(p,a,l,u)]=!0,i=d)),o[_b(i,a,l,u)]=!0,t.borderSkipped=o}function _b(t,e,n,r){return r?(t=eI(t,e,n),t=Ib(t,n,e)):t=Ib(t,e,n),t}function eI(t,e,n){return t===e?n:t===n?e:t}function Ib(t,e,n){return t==="start"?e:t==="end"?n:t}function tI(t,{inflateAmount:e},n){t.inflateAmount=e==="auto"?n===1?.33:0:e}class nI extends Wu{static id="bar";static defaults={datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}};static overrides={scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}};parsePrimitiveData(e,n,r,i){return Bb(e,n,r,i)}parseArrayData(e,n,r,i){return Bb(e,n,r,i)}parseObjectData(e,n,r,i){const{iScale:o,vScale:a}=e,{xAxisKey:l="x",yAxisKey:u="y"}=this._parsing,d=o.axis==="x"?l:u,p=a.axis==="x"?l:u,h=[];let A,m,b,w;for(A=r,m=r+i;A<m;++A)w=n[A],b={},b[o.axis]=o.parse(zo(w,d),A),h.push(Tb(zo(w,p),b,a,A));return h}updateRangeFromParsed(e,n,r,i){super.updateRangeFromParsed(e,n,r,i);const o=r._custom;o&&n===this._cachedMeta.vScale&&(e.min=Math.min(e.min,o.min),e.max=Math.max(e.max,o.max))}getMaxOverflow(){return 0}getLabelAndValue(e){const n=this._cachedMeta,{iScale:r,vScale:i}=n,o=this.getParsed(e),a=o._custom,l=Sh(a)?"["+a.start+", "+a.end+"]":""+i.getLabelForValue(o[i.axis]);return{label:""+r.getLabelForValue(o[r.axis]),value:l}}initialize(){this.enableOptionSharing=!0,super.initialize();const e=this._cachedMeta;e.stack=this.getDataset().stack}update(e){const n=this._cachedMeta;this.updateElements(n.data,0,n.data.length,e)}updateElements(e,n,r,i){const o=i==="reset",{index:a,_cachedMeta:{vScale:l}}=this,u=l.getBasePixel(),d=l.isHorizontal(),p=this._getRuler(),{sharedOptions:h,includeOptions:A}=this._getSharedOptions(n,i);for(let m=n;m<n+r;m++){const b=this.getParsed(m),w=o||Ot(b[l.axis])?{base:u,head:u}:this._calculateBarValuePixels(m),y=this._calculateBarIndexPixels(m,p),P=(b._stacks||{})[l.axis],M={horizontal:d,base:w.base,enableBorderRadius:!P||Sh(b._custom)||a===P._top||a===P._bottom,x:d?w.head:y.center,y:d?y.center:w.head,height:d?y.size:Math.abs(w.size),width:d?Math.abs(w.size):y.size};A&&(M.options=h||this.resolveDataElementOptions(m,e[m].active?"active":i));const D=M.options||e[m].options;$_(M,D,P,a),tI(M,D,p.ratio),this.updateElement(e[m],m,M,i)}}_getStacks(e,n){const{iScale:r}=this._cachedMeta,i=r.getMatchingVisibleMetas(this._type).filter(p=>p.controller.options.grouped),o=r.options.stacked,a=[],l=this._cachedMeta.controller.getParsed(n),u=l&&l[r.axis],d=p=>{const h=p._parsed.find(m=>m[r.axis]===u),A=h&&h[p.vScale.axis];if(Ot(A)||isNaN(A))return!0};for(const p of i)if(!(n!==void 0&&d(p))&&((o===!1||a.indexOf(p.stack)===-1||o===void 0&&p.stack===void 0)&&a.push(p.stack),p.index===e))break;return a.length||a.push(void 0),a}_getStackCount(e){return this._getStacks(void 0,e).length}_getAxisCount(){return this._getAxis().length}getFirstScaleIdForIndexAxis(){const e=this.chart.scales,n=this.chart.options.indexAxis;return Object.keys(e).filter(r=>e[r].axis===n).shift()}_getAxis(){const e={},n=this.getFirstScaleIdForIndexAxis();for(const r of this.chart.data.datasets)e[Ct(this.chart.options.indexAxis==="x"?r.xAxisID:r.yAxisID,n)]=!0;return Object.keys(e)}_getStackIndex(e,n,r){const i=this._getStacks(e,r),o=n!==void 0?i.indexOf(n):-1;return o===-1?i.length-1:o}_getRuler(){const e=this.options,n=this._cachedMeta,r=n.iScale,i=[];let o,a;for(o=0,a=n.data.length;o<a;++o)i.push(r.getPixelForValue(this.getParsed(o)[r.axis],o));const l=e.barThickness;return{min:l||q_(n),pixels:i,start:r._startPixel,end:r._endPixel,stackCount:this._getStackCount(),scale:r,grouped:e.grouped,ratio:l?1:e.categoryPercentage*e.barPercentage}}_calculateBarValuePixels(e){const{_cachedMeta:{vScale:n,_stacked:r,index:i},options:{base:o,minBarLength:a}}=this,l=o||0,u=this.getParsed(e),d=u._custom,p=Sh(d);let h=u[n.axis],A=0,m=r?this.applyStack(n,u,r):h,b,w;m!==h&&(A=m-h,m=h),p&&(h=d.barStart,m=d.barEnd-d.barStart,h!==0&&Ho(h)!==Ho(d.barEnd)&&(A=0),A+=h);const y=!Ot(o)&&!p?o:A;let P=n.getPixelForValue(y);if(this.chart.getDataVisibility(e)?b=n.getPixelForValue(A+m):b=P,w=b-P,Math.abs(w)<a){w=J_(w,n,l)*a,h===l&&(P-=w/2);const M=n.getPixelForDecimal(0),D=n.getPixelForDecimal(1),C=Math.min(M,D),j=Math.max(M,D);P=Math.max(Math.min(P,j),C),b=P+w,r&&!p&&(u._stacks[n.axis]._visualValues[i]=n.getValueForPixel(b)-n.getValueForPixel(P))}if(P===n.getPixelForValue(l)){const M=Ho(w)*n.getLineWidthForValue(l)/2;P+=M,w-=M}return{size:w,base:P,head:b,center:b+w/2}}_calculateBarIndexPixels(e,n){const r=n.scale,i=this.options,o=i.skipNull,a=Ct(i.maxBarThickness,1/0);let l,u;const d=this._getAxisCount();if(n.grouped){const p=o?this._getStackCount(e):n.stackCount,h=i.barThickness==="flex"?G_(e,n,i,p*d):K_(e,n,i,p*d),A=this.chart.options.indexAxis==="x"?this.getDataset().xAxisID:this.getDataset().yAxisID,m=this._getAxis().indexOf(Ct(A,this.getFirstScaleIdForIndexAxis())),b=this._getStackIndex(this.index,this._cachedMeta.stack,o?e:void 0)+m;l=h.start+h.chunk*b+h.chunk/2,u=Math.min(a,h.chunk*h.ratio)}else l=r.getPixelForValue(this.getParsed(e)[r.axis],e),u=Math.min(a,n.min*n.ratio);return{base:l-u/2,head:l+u/2,center:l,size:u}}draw(){const e=this._cachedMeta,n=e.vScale,r=e.data,i=r.length;let o=0;for(;o<i;++o)this.getParsed(o)[n.axis]!==null&&!r[o].hidden&&r[o].draw(this._ctx)}}function rI(t,e,n){let r=1,i=1,o=0,a=0;if(e<Tr){const l=t,u=l+e,d=Math.cos(l),p=Math.sin(l),h=Math.cos(u),A=Math.sin(u),m=(D,C,j)=>ah(D,l,u,!0)?1:Math.max(C,C*n,j,j*n),b=(D,C,j)=>ah(D,l,u,!0)?-1:Math.min(C,C*n,j,j*n),w=m(0,d,h),y=m(Br,p,A),P=b(mn,d,h),M=b(mn+Br,p,A);r=(w-P)/2,i=(y-M)/2,o=-(w+P)/2,a=-(y+M)/2}return{ratioX:r,ratioY:i,offsetX:o,offsetY:a}}class iI extends Wu{static id="doughnut";static 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"};static descriptors={_scriptable:e=>e!=="spacing",_indexable:e=>e!=="spacing"&&!e.startsWith("borderDash")&&!e.startsWith("hoverBorderDash")};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){const n=e.data,{labels:{pointStyle:r,textAlign:i,color:o,useBorderRadius:a,borderRadius:l}}=e.legend.options;return n.labels.length&&n.datasets.length?n.labels.map((u,d)=>{const h=e.getDatasetMeta(0).controller.getStyle(d);return{text:u,fillStyle:h.backgroundColor,fontColor:o,hidden:!e.getDataVisibility(d),lineDash:h.borderDash,lineDashOffset:h.borderDashOffset,lineJoin:h.borderJoinStyle,lineWidth:h.borderWidth,strokeStyle:h.borderColor,textAlign:i,pointStyle:r,borderRadius:a&&(l||h.borderRadius),index:d}}):[]}},onClick(e,n,r){r.chart.toggleDataVisibility(n.index),r.chart.update()}}}};constructor(e,n){super(e,n),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(e,n){const r=this.getDataset().data,i=this._cachedMeta;if(this._parsing===!1)i._parsed=r;else{let o=u=>+r[u];if(St(r[e])){const{key:u="value"}=this._parsing;o=d=>+zo(r[d],u)}let a,l;for(a=e,l=e+n;a<l;++a)i._parsed[a]=o(a)}}_getRotation(){return Li(this.options.rotation-90)}_getCircumference(){return Li(this.options.circumference)}_getRotationExtents(){let e=Tr,n=-Tr;for(let r=0;r<this.chart.data.datasets.length;++r)if(this.chart.isDatasetVisible(r)&&this.chart.getDatasetMeta(r).type===this._type){const i=this.chart.getDatasetMeta(r).controller,o=i._getRotation(),a=i._getCircumference();e=Math.min(e,o),n=Math.max(n,o+a)}return{rotation:e,circumference:n-e}}update(e){const n=this.chart,{chartArea:r}=n,i=this._cachedMeta,o=i.data,a=this.getMaxBorderWidth()+this.getMaxOffset(o)+this.options.spacing,l=Math.max((Math.min(r.width,r.height)-a)/2,0),u=Math.min(P8(this.options.cutout,l),1),d=this._getRingWeight(this.index),{circumference:p,rotation:h}=this._getRotationExtents(),{ratioX:A,ratioY:m,offsetX:b,offsetY:w}=rI(h,p,u),y=(r.width-a)/A,P=(r.height-a)/m,M=Math.max(Math.min(y,P)/2,0),D=jy(this.options.radius,M),C=Math.max(D*u,0),j=(D-C)/this._getVisibleDatasetWeightTotal();this.offsetX=b*D,this.offsetY=w*D,i.total=this.calculateTotal(),this.outerRadius=D-j*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-j*d,0),this.updateElements(o,0,o.length,e)}_circumference(e,n){const r=this.options,i=this._cachedMeta,o=this._getCircumference();return n&&r.animation.animateRotate||!this.chart.getDataVisibility(e)||i._parsed[e]===null||i.data[e].hidden?0:this.calculateCircumference(i._parsed[e]*o/Tr)}updateElements(e,n,r,i){const o=i==="reset",a=this.chart,l=a.chartArea,d=a.options.animation,p=(l.left+l.right)/2,h=(l.top+l.bottom)/2,A=o&&d.animateScale,m=A?0:this.innerRadius,b=A?0:this.outerRadius,{sharedOptions:w,includeOptions:y}=this._getSharedOptions(n,i);let P=this._getRotation(),M;for(M=0;M<n;++M)P+=this._circumference(M,o);for(M=n;M<n+r;++M){const D=this._circumference(M,o),C=e[M],j={x:p+this.offsetX,y:h+this.offsetY,startAngle:P,endAngle:P+D,circumference:D,outerRadius:b,innerRadius:m};y&&(j.options=w||this.resolveDataElementOptions(M,C.active?"active":i)),P+=D,this.updateElement(C,M,j,i)}}calculateTotal(){const e=this._cachedMeta,n=e.data;let r=0,i;for(i=0;i<n.length;i++){const o=e._parsed[i];o!==null&&!isNaN(o)&&this.chart.getDataVisibility(i)&&!n[i].hidden&&(r+=Math.abs(o))}return r}calculateCircumference(e){const n=this._cachedMeta.total;return n>0&&!isNaN(e)?Tr*(Math.abs(e)/n):0}getLabelAndValue(e){const n=this._cachedMeta,r=this.chart,i=r.data.labels||[],o=ju(n._parsed[e],r.options.locale);return{label:i[e]||"",value:o}}getMaxBorderWidth(e){let n=0;const r=this.chart;let i,o,a,l,u;if(!e){for(i=0,o=r.data.datasets.length;i<o;++i)if(r.isDatasetVisible(i)){a=r.getDatasetMeta(i),e=a.data,l=a.controller;break}}if(!e)return 0;for(i=0,o=e.length;i<o;++i)u=l.resolveDataElementOptions(i),u.borderAlign!=="inner"&&(n=Math.max(n,u.borderWidth||0,u.hoverBorderWidth||0));return n}getMaxOffset(e){let n=0;for(let r=0,i=e.length;r<i;++r){const o=this.resolveDataElementOptions(r);n=Math.max(n,o.offset||0,o.hoverOffset||0)}return n}_getRingWeightOffset(e){let n=0;for(let r=0;r<e;++r)this.chart.isDatasetVisible(r)&&(n+=this._getRingWeight(r));return n}_getRingWeight(e){return Math.max(Ct(this.chart.data.datasets[e].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}class oI extends Wu{static id="polarArea";static defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){const n=e.data;if(n.labels.length&&n.datasets.length){const{labels:{pointStyle:r,color:i}}=e.legend.options;return n.labels.map((o,a)=>{const u=e.getDatasetMeta(0).controller.getStyle(a);return{text:o,fillStyle:u.backgroundColor,strokeStyle:u.borderColor,fontColor:i,lineWidth:u.borderWidth,pointStyle:r,hidden:!e.getDataVisibility(a),index:a}})}return[]}},onClick(e,n,r){r.chart.toggleDataVisibility(n.index),r.chart.update()}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};constructor(e,n){super(e,n),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(e){const n=this._cachedMeta,r=this.chart,i=r.data.labels||[],o=ju(n._parsed[e].r,r.options.locale);return{label:i[e]||"",value:o}}parseObjectData(e,n,r,i){return b_.bind(this)(e,n,r,i)}update(e){const n=this._cachedMeta.data;this._updateRadius(),this.updateElements(n,0,n.length,e)}getMinMax(){const e=this._cachedMeta,n={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return e.data.forEach((r,i)=>{const o=this.getParsed(i).r;!isNaN(o)&&this.chart.getDataVisibility(i)&&(o<n.min&&(n.min=o),o>n.max&&(n.max=o))}),n}_updateRadius(){const e=this.chart,n=e.chartArea,r=e.options,i=Math.min(n.right-n.left,n.bottom-n.top),o=Math.max(i/2,0),a=Math.max(r.cutoutPercentage?o/100*r.cutoutPercentage:1,0),l=(o-a)/e.getVisibleDatasetCount();this.outerRadius=o-l*this.index,this.innerRadius=this.outerRadius-l}updateElements(e,n,r,i){const o=i==="reset",a=this.chart,u=a.options.animation,d=this._cachedMeta.rScale,p=d.xCenter,h=d.yCenter,A=d.getIndexAngle(0)-.5*mn;let m=A,b;const w=360/this.countVisibleElements();for(b=0;b<n;++b)m+=this._computeAngle(b,i,w);for(b=n;b<n+r;b++){const y=e[b];let P=m,M=m+this._computeAngle(b,i,w),D=a.getDataVisibility(b)?d.getDistanceFromCenterForValue(this.getParsed(b).r):0;m=M,o&&(u.animateScale&&(D=0),u.animateRotate&&(P=M=A));const C={x:p,y:h,innerRadius:0,outerRadius:D,startAngle:P,endAngle:M,options:this.resolveDataElementOptions(b,y.active?"active":i)};this.updateElement(y,b,C,i)}}countVisibleElements(){const e=this._cachedMeta;let n=0;return e.data.forEach((r,i)=>{!isNaN(this.getParsed(i).r)&&this.chart.getDataVisibility(i)&&n++}),n}_computeAngle(e,n,r){return this.chart.getDataVisibility(e)?Li(this.resolveDataElementOptions(e,n).angle||r):0}}function Ts(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class Eh{static override(e){Object.assign(Eh.prototype,e)}options;constructor(e){this.options=e||{}}init(){}formats(){return Ts()}parse(){return Ts()}format(){return Ts()}add(){return Ts()}diff(){return Ts()}startOf(){return Ts()}endOf(){return Ts()}}var sI={_date:Eh};function aI(t,e,n,r){const{controller:i,data:o,_sorted:a}=t,l=i._cachedMeta.iScale,u=t.dataset&&t.dataset.options?t.dataset.options.spanGaps:null;if(l&&e===l.axis&&e!=="r"&&a&&o.length){const d=l._reversePixels?H8:ch;if(r){if(i._sharedOptions){const p=o[0],h=typeof p.getRange=="function"&&p.getRange(e);if(h){const A=d(o,e,n-h),m=d(o,e,n+h);return{lo:A.lo,hi:m.hi}}}}else{const p=d(o,e,n);if(u){const{vScale:h}=i._cachedMeta,{_parsed:A}=t,m=A.slice(0,p.lo+1).reverse().findIndex(w=>!Ot(w[h.axis]));p.lo-=Math.max(0,m);const b=A.slice(p.hi).findIndex(w=>!Ot(w[h.axis]));p.hi+=Math.max(0,b)}return p}}return{lo:0,hi:o.length-1}}function Yu(t,e,n,r,i){const o=t.getSortedVisibleDatasetMetas(),a=n[e];for(let l=0,u=o.length;l<u;++l){const{index:d,data:p}=o[l],{lo:h,hi:A}=aI(o[l],e,a,i);for(let m=h;m<=A;++m){const b=p[m];b.skip||r(b,d,m)}}}function lI(t){const e=t.indexOf("x")!==-1,n=t.indexOf("y")!==-1;return function(r,i){const o=e?Math.abs(r.x-i.x):0,a=n?Math.abs(r.y-i.y):0;return Math.sqrt(Math.pow(o,2)+Math.pow(a,2))}}function Ch(t,e,n,r,i){const o=[];return!i&&!t.isPointInArea(e)||Yu(t,n,e,function(l,u,d){!i&&!lb(l,t.chartArea,0)||l.inRange(e.x,e.y,r)&&o.push({element:l,datasetIndex:u,index:d})},!0),o}function cI(t,e,n,r){let i=[];function o(a,l,u){const{startAngle:d,endAngle:p}=a.getProps(["startAngle","endAngle"],r),{angle:h}=j8(a,{x:e.x,y:e.y});ah(h,d,p)&&i.push({element:a,datasetIndex:l,index:u})}return Yu(t,n,e,o),i}function uI(t,e,n,r,i,o){let a=[];const l=lI(n);let u=Number.POSITIVE_INFINITY;function d(p,h,A){const m=p.inRange(e.x,e.y,i);if(r&&!m)return;const b=p.getCenterPoint(i);if(!(!!o||t.isPointInArea(b))&&!m)return;const y=l(e,b);y<u?(a=[{element:p,datasetIndex:h,index:A}],u=y):y===u&&a.push({element:p,datasetIndex:h,index:A})}return Yu(t,n,e,d),a}function Ph(t,e,n,r,i,o){return!o&&!t.isPointInArea(e)?[]:n==="r"&&!r?cI(t,e,n,i):uI(t,e,n,r,i,o)}function Mb(t,e,n,r,i){const o=[],a=n==="x"?"inXRange":"inYRange";let l=!1;return Yu(t,n,e,(u,d,p)=>{u[a]&&u[a](e[n],i)&&(o.push({element:u,datasetIndex:d,index:p}),l=l||u.inRange(e.x,e.y,i))}),r&&!l?[]:o}var dI={modes:{index(t,e,n,r){const i=Ds(e,t),o=n.axis||"x",a=n.includeInvisible||!1,l=n.intersect?Ch(t,i,o,r,a):Ph(t,i,o,!1,r,a),u=[];return l.length?(t.getSortedVisibleDatasetMetas().forEach(d=>{const p=l[0].index,h=d.data[p];h&&!h.skip&&u.push({element:h,datasetIndex:d.index,index:p})}),u):[]},dataset(t,e,n,r){const i=Ds(e,t),o=n.axis||"xy",a=n.includeInvisible||!1;let l=n.intersect?Ch(t,i,o,r,a):Ph(t,i,o,!1,r,a);if(l.length>0){const u=l[0].datasetIndex,d=t.getDatasetMeta(u).data;l=[];for(let p=0;p<d.length;++p)l.push({element:d[p],datasetIndex:u,index:p})}return l},point(t,e,n,r){const i=Ds(e,t),o=n.axis||"xy",a=n.includeInvisible||!1;return Ch(t,i,o,r,a)},nearest(t,e,n,r){const i=Ds(e,t),o=n.axis||"xy",a=n.includeInvisible||!1;return Ph(t,i,o,n.intersect,r,a)},x(t,e,n,r){const i=Ds(e,t);return Mb(t,i,"x",n.intersect,r)},y(t,e,n,r){const i=Ds(e,t);return Mb(t,i,"y",n.intersect,r)}}};const Ob=["left","top","right","bottom"];function Kl(t,e){return t.filter(n=>n.pos===e)}function Rb(t,e){return t.filter(n=>Ob.indexOf(n.pos)===-1&&n.box.axis===e)}function Gl(t,e){return t.sort((n,r)=>{const i=e?r:n,o=e?n:r;return i.weight===o.weight?i.index-o.index:i.weight-o.weight})}function fI(t){const e=[];let n,r,i,o,a,l;for(n=0,r=(t||[]).length;n<r;++n)i=t[n],{position:o,options:{stack:a,stackWeight:l=1}}=i,e.push({index:n,box:i,pos:o,horizontal:i.isHorizontal(),weight:i.weight,stack:a&&o+a,stackWeight:l});return e}function pI(t){const e={};for(const n of t){const{stack:r,pos:i,stackWeight:o}=n;if(!r||!Ob.includes(i))continue;const a=e[r]||(e[r]={count:0,placed:0,weight:0,size:0});a.count++,a.weight+=o}return e}function hI(t,e){const n=pI(t),{vBoxMaxWidth:r,hBoxMaxHeight:i}=e;let o,a,l;for(o=0,a=t.length;o<a;++o){l=t[o];const{fullSize:u}=l.box,d=n[l.stack],p=d&&l.stackWeight/d.weight;l.horizontal?(l.width=p?p*r:u&&e.availableWidth,l.height=i):(l.width=r,l.height=p?p*i:u&&e.availableHeight)}return n}function AI(t){const e=fI(t),n=Gl(e.filter(d=>d.box.fullSize),!0),r=Gl(Kl(e,"left"),!0),i=Gl(Kl(e,"right")),o=Gl(Kl(e,"top"),!0),a=Gl(Kl(e,"bottom")),l=Rb(e,"x"),u=Rb(e,"y");return{fullSize:n,leftAndTop:r.concat(o),rightAndBottom:i.concat(u).concat(a).concat(l),chartArea:Kl(e,"chartArea"),vertical:r.concat(i).concat(u),horizontal:o.concat(a).concat(l)}}function Lb(t,e,n,r){return Math.max(t[n],e[n])+Math.max(t[r],e[r])}function Nb(t,e){t.top=Math.max(t.top,e.top),t.left=Math.max(t.left,e.left),t.bottom=Math.max(t.bottom,e.bottom),t.right=Math.max(t.right,e.right)}function gI(t,e,n,r){const{pos:i,box:o}=n,a=t.maxPadding;if(!St(i)){n.size&&(t[i]-=n.size);const h=r[n.stack]||{size:0,count:1};h.size=Math.max(h.size,n.horizontal?o.height:o.width),n.size=h.size/h.count,t[i]+=n.size}o.getPadding&&Nb(a,o.getPadding());const l=Math.max(0,e.outerWidth-Lb(a,t,"left","right")),u=Math.max(0,e.outerHeight-Lb(a,t,"top","bottom")),d=l!==t.w,p=u!==t.h;return t.w=l,t.h=u,n.horizontal?{same:d,other:p}:{same:p,other:d}}function mI(t){const e=t.maxPadding;function n(r){const i=Math.max(e[r]-t[r],0);return t[r]+=i,i}t.y+=n("top"),t.x+=n("left"),n("right"),n("bottom")}function vI(t,e){const n=e.maxPadding;function r(i){const o={left:0,top:0,right:0,bottom:0};return i.forEach(a=>{o[a]=Math.max(e[a],n[a])}),o}return r(t?["left","right"]:["top","bottom"])}function Xl(t,e,n,r){const i=[];let o,a,l,u,d,p;for(o=0,a=t.length,d=0;o<a;++o){l=t[o],u=l.box,u.update(l.width||e.w,l.height||e.h,vI(l.horizontal,e));const{same:h,other:A}=gI(e,n,l,r);d|=h&&i.length,p=p||A,u.fullSize||i.push(l)}return d&&Xl(i,e,n,r)||p}function qu(t,e,n,r,i){t.top=n,t.left=e,t.right=e+r,t.bottom=n+i,t.width=r,t.height=i}function Fb(t,e,n,r){const i=n.padding;let{x:o,y:a}=e;for(const l of t){const u=l.box,d=r[l.stack]||{placed:0,weight:1},p=l.stackWeight/d.weight||1;if(l.horizontal){const h=e.w*p,A=d.size||u.height;Ul(d.start)&&(a=d.start),u.fullSize?qu(u,i.left,a,n.outerWidth-i.right-i.left,A):qu(u,e.left+d.placed,a,h,A),d.start=a,d.placed+=h,a=u.bottom}else{const h=e.h*p,A=d.size||u.width;Ul(d.start)&&(o=d.start),u.fullSize?qu(u,o,i.top,A,n.outerHeight-i.bottom-i.top):qu(u,o,e.top+d.placed,A,h),d.start=o,d.placed+=h,o=u.right}}e.x=o,e.y=a}var Xr={addBox(t,e){t.boxes||(t.boxes=[]),e.fullSize=e.fullSize||!1,e.position=e.position||"top",e.weight=e.weight||0,e._layers=e._layers||function(){return[{z:0,draw(n){e.draw(n)}}]},t.boxes.push(e)},removeBox(t,e){const n=t.boxes?t.boxes.indexOf(e):-1;n!==-1&&t.boxes.splice(n,1)},configure(t,e,n){e.fullSize=n.fullSize,e.position=n.position,e.weight=n.weight},update(t,e,n,r){if(!t)return;const i=Gr(t.options.layout.padding),o=Math.max(e-i.width,0),a=Math.max(n-i.height,0),l=AI(t.boxes),u=l.vertical,d=l.horizontal;Tt(t.boxes,w=>{typeof w.beforeLayout=="function"&&w.beforeLayout()});const p=u.reduce((w,y)=>y.box.options&&y.box.options.display===!1?w:w+1,0)||1,h=Object.freeze({outerWidth:e,outerHeight:n,padding:i,availableWidth:o,availableHeight:a,vBoxMaxWidth:o/2/p,hBoxMaxHeight:a/2}),A=Object.assign({},i);Nb(A,Gr(r));const m=Object.assign({maxPadding:A,w:o,h:a,x:i.left,y:i.top},i),b=hI(u.concat(d),h);Xl(l.fullSize,m,h,b),Xl(u,m,h,b),Xl(d,m,h,b)&&Xl(u,m,h,b),mI(m),Fb(l.leftAndTop,m,h,b),m.x+=m.w,m.y+=m.h,Fb(l.rightAndBottom,m,h,b),t.chartArea={left:m.left,top:m.top,right:m.left+m.w,bottom:m.top+m.h,height:m.h,width:m.w},Tt(l.chartArea,w=>{const y=w.box;Object.assign(y,t.chartArea),y.update(m.w,m.h,{left:0,top:0,right:0,bottom:0})})}};class jb{acquireContext(e,n){}releaseContext(e){return!1}addEventListener(e,n,r){}removeEventListener(e,n,r){}getDevicePixelRatio(){return 1}getMaximumSize(e,n,r,i){return n=Math.max(0,n||e.width),r=r||e.height,{width:n,height:Math.max(0,i?Math.floor(n/i):r)}}isAttached(e){return!0}updateConfig(e){}}class yI extends jb{acquireContext(e){return e&&e.getContext&&e.getContext("2d")||null}updateConfig(e){e.options.animation=!1}}const Ku="$chartjs",bI={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},zb=t=>t===null||t==="";function xI(t,e){const n=t.style,r=t.getAttribute("height"),i=t.getAttribute("width");if(t[Ku]={initial:{height:r,width:i,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",zb(i)){const o=vb(t,"width");o!==void 0&&(t.width=o)}if(zb(r))if(t.style.height==="")t.height=t.width/(e||2);else{const o=vb(t,"height");o!==void 0&&(t.height=o)}return t}const Qb=P_?{passive:!0}:!1;function wI(t,e,n){t&&t.addEventListener(e,n,Qb)}function kI(t,e,n){t&&t.canvas&&t.canvas.removeEventListener(e,n,Qb)}function SI(t,e){const n=bI[t.type]||t.type,{x:r,y:i}=Ds(t,e);return{type:n,chart:e,native:t,x:r!==void 0?r:null,y:i!==void 0?i:null}}function Gu(t,e){for(const n of t)if(n===e||n.contains(e))return!0}function EI(t,e,n){const r=t.canvas,i=new MutationObserver(o=>{let a=!1;for(const l of o)a=a||Gu(l.addedNodes,r),a=a&&!Gu(l.removedNodes,r);a&&n()});return i.observe(document,{childList:!0,subtree:!0}),i}function CI(t,e,n){const r=t.canvas,i=new MutationObserver(o=>{let a=!1;for(const l of o)a=a||Gu(l.removedNodes,r),a=a&&!Gu(l.addedNodes,r);a&&n()});return i.observe(document,{childList:!0,subtree:!0}),i}const Jl=new Map;let Hb=0;function Ub(){const t=window.devicePixelRatio;t!==Hb&&(Hb=t,Jl.forEach((e,n)=>{n.currentDevicePixelRatio!==t&&e()}))}function PI(t,e){Jl.size||window.addEventListener("resize",Ub),Jl.set(t,e)}function DI(t){Jl.delete(t),Jl.size||window.removeEventListener("resize",Ub)}function TI(t,e,n){const r=t.canvas,i=r&&bh(r);if(!i)return;const o=Jy((l,u)=>{const d=i.clientWidth;n(l,u),d<i.clientWidth&&n()},window),a=new ResizeObserver(l=>{const u=l[0],d=u.contentRect.width,p=u.contentRect.height;d===0&&p===0||o(d,p)});return a.observe(i),PI(t,o),a}function Dh(t,e,n){n&&n.disconnect(),e==="resize"&&DI(t)}function BI(t,e,n){const r=t.canvas,i=Jy(o=>{t.ctx!==null&&n(SI(o,t))},t);return wI(r,e,i),i}class _I extends jb{acquireContext(e,n){const r=e&&e.getContext&&e.getContext("2d");return r&&r.canvas===e?(xI(e,n),r):null}releaseContext(e){const n=e.canvas;if(!n[Ku])return!1;const r=n[Ku].initial;["height","width"].forEach(o=>{const a=r[o];Ot(a)?n.removeAttribute(o):n.setAttribute(o,a)});const i=r.style||{};return Object.keys(i).forEach(o=>{n.style[o]=i[o]}),n.width=n.width,delete n[Ku],!0}addEventListener(e,n,r){this.removeEventListener(e,n);const i=e.$proxies||(e.$proxies={}),a={attach:EI,detach:CI,resize:TI}[n]||BI;i[n]=a(e,n,r)}removeEventListener(e,n){const r=e.$proxies||(e.$proxies={}),i=r[n];if(!i)return;({attach:Dh,detach:Dh,resize:Dh}[n]||kI)(e,n,i),r[n]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,n,r,i){return C_(e,n,r,i)}isAttached(e){const n=e&&bh(e);return!!(n&&n.isConnected)}}function II(t){return!yh()||typeof OffscreenCanvas<"u"&&t instanceof OffscreenCanvas?yI:_I}let Sa=class{static defaults={};static defaultRoutes=void 0;x;y;active=!1;options;$animations;tooltipPosition(e){const{x:n,y:r}=this.getProps(["x","y"],e);return{x:n,y:r}}hasValue(){return Nu(this.x)&&Nu(this.y)}getProps(e,n){const r=this.$animations;if(!n||!r)return this;const i={};return e.forEach(o=>{i[o]=r[o]&&r[o].active()?r[o]._to:this[o]}),i}};function MI(t,e){const n=t.options.ticks,r=OI(t),i=Math.min(n.maxTicksLimit||r,r),o=n.major.enabled?LI(e):[],a=o.length,l=o[0],u=o[a-1],d=[];if(a>i)return NI(e,d,o,a/i),d;const p=RI(o,e,i);if(a>0){let h,A;const m=a>1?Math.round((u-l)/(a-1)):null;for(Xu(e,d,p,Ot(m)?0:l-m,l),h=0,A=a-1;h<A;h++)Xu(e,d,p,o[h],o[h+1]);return Xu(e,d,p,u,Ot(m)?e.length:u+m),d}return Xu(e,d,p),d}function OI(t){const e=t.options.offset,n=t._tickSize(),r=t._length/n+(e?0:1),i=t._maxLength/n;return Math.floor(Math.min(r,i))}function RI(t,e,n){const r=FI(t),i=e.length/n;if(!r)return Math.max(i,1);const o=O8(r);for(let a=0,l=o.length-1;a<l;a++){const u=o[a];if(u>i)return u}return Math.max(i,1)}function LI(t){const e=[];let n,r;for(n=0,r=t.length;n<r;n++)t[n].major&&e.push(n);return e}function NI(t,e,n,r){let i=0,o=n[0],a;for(r=Math.ceil(r),a=0;a<t.length;a++)a===o&&(e.push(t[a]),i++,o=n[i*r])}function Xu(t,e,n,r,i){const o=Ct(r,0),a=Math.min(Ct(i,t.length),t.length);let l=0,u,d,p;for(n=Math.ceil(n),i&&(u=i-r,n=u/Math.floor(u/n)),p=o;p<0;)l++,p=Math.round(o+l*n);for(d=Math.max(o,0);d<a;d++)d===p&&(e.push(t[d]),l++,p=Math.round(o+l*n))}function FI(t){const e=t.length;let n,r;if(e<2)return!1;for(r=t[0],n=1;n<e;++n)if(t[n]-t[n-1]!==r)return!1;return r}const jI=t=>t==="left"?"right":t==="right"?"left":t,Vb=(t,e,n)=>e==="top"||e==="left"?t[e]+n:t[e]-n,Wb=(t,e)=>Math.min(e||t,t);function Yb(t,e){const n=[],r=t.length/e,i=t.length;let o=0;for(;o<i;o+=r)n.push(t[Math.floor(o)]);return n}function zI(t,e,n){const r=t.ticks.length,i=Math.min(e,r-1),o=t._startPixel,a=t._endPixel,l=1e-6;let u=t.getPixelForTick(i),d;if(!(n&&(r===1?d=Math.max(u-o,a-u):e===0?d=(t.getPixelForTick(1)-u)/2:d=(u-t.getPixelForTick(i-1))/2,u+=i<e?d:-d,u<o-l||u>a+l)))return u}function QI(t,e){Tt(t,n=>{const r=n.gc,i=r.length/2;let o;if(i>e){for(o=0;o<i;++o)delete n.data[r[o]];r.splice(0,i)}})}function Zl(t){return t.drawTicks?t.tickLength:0}function qb(t,e){if(!t.display)return 0;const n=zn(t.font,e),r=Gr(t.padding);return(gn(t.text)?t.text.length:1)*n.lineHeight+r.height}function HI(t,e){return xa(t,{scale:e,type:"scale"})}function UI(t,e,n){return xa(t,{tick:n,index:e,type:"tick"})}function VI(t,e,n){let r=uh(t);return(n&&e!=="right"||!n&&e==="right")&&(r=jI(r)),r}function WI(t,e,n,r){const{top:i,left:o,bottom:a,right:l,chart:u}=t,{chartArea:d,scales:p}=u;let h=0,A,m,b;const w=a-i,y=l-o;if(t.isHorizontal()){if(m=jn(r,o,l),St(n)){const P=Object.keys(n)[0],M=n[P];b=p[P].getPixelForValue(M)+w-e}else n==="center"?b=(d.bottom+d.top)/2+w-e:b=Vb(t,n,e);A=l-o}else{if(St(n)){const P=Object.keys(n)[0],M=n[P];m=p[P].getPixelForValue(M)-y+e}else n==="center"?m=(d.left+d.right)/2-y+e:m=Vb(t,n,e);b=jn(r,a,i),h=n==="left"?-Br:Br}return{titleX:m,titleY:b,maxWidth:A,rotation:h}}class Ea extends Sa{constructor(e){super(),this.id=e.id,this.type=e.type,this.options=void 0,this.ctx=e.ctx,this.chart=e.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(e){this.options=e.setContext(this.getContext()),this.axis=e.axis,this._userMin=this.parse(e.min),this._userMax=this.parse(e.max),this._suggestedMin=this.parse(e.suggestedMin),this._suggestedMax=this.parse(e.suggestedMax)}parse(e,n){return e}getUserBounds(){let{_userMin:e,_userMax:n,_suggestedMin:r,_suggestedMax:i}=this;return e=Ri(e,Number.POSITIVE_INFINITY),n=Ri(n,Number.NEGATIVE_INFINITY),r=Ri(r,Number.POSITIVE_INFINITY),i=Ri(i,Number.NEGATIVE_INFINITY),{min:Ri(e,r),max:Ri(n,i),minDefined:Kr(e),maxDefined:Kr(n)}}getMinMax(e){let{min:n,max:r,minDefined:i,maxDefined:o}=this.getUserBounds(),a;if(i&&o)return{min:n,max:r};const l=this.getMatchingVisibleMetas();for(let u=0,d=l.length;u<d;++u)a=l[u].controller.getMinMax(this,e),i||(n=Math.min(n,a.min)),o||(r=Math.max(r,a.max));return n=o&&n>r?r:n,r=i&&n>r?n:r,{min:Ri(n,Ri(r,n)),max:Ri(r,Ri(n,r))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels||[]}getLabelItems(e=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(e))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){Ht(this.options.beforeUpdate,[this])}update(e,n,r){const{beginAtZero:i,grace:o,ticks:a}=this.options,l=a.sampleSize;this.beforeUpdate(),this.maxWidth=e,this.maxHeight=n,this._margins=r=Object.assign({left:0,right:0,top:0,bottom:0},r),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+r.left+r.right:this.height+r.top+r.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=u_(this,o,i),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const u=l<this.ticks.length;this._convertTicksToLabels(u?Yb(this.ticks,l):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),a.display&&(a.autoSkip||a.source==="auto")&&(this.ticks=MI(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),u&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let e=this.options.reverse,n,r;this.isHorizontal()?(n=this.left,r=this.right):(n=this.top,r=this.bottom,e=!e),this._startPixel=n,this._endPixel=r,this._reversePixels=e,this._length=r-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(e){this.chart.notifyPlugins(e,this.getContext()),Ht(this.options[e],[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(e){const n=this.options.ticks;let r,i,o;for(r=0,i=e.length;r<i;r++)o=e[r],o.label=Ht(n.callback,[o.value,r,e],this)}afterTickToLabelConversion(){Ht(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){Ht(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const e=this.options,n=e.ticks,r=Wb(this.ticks.length,e.ticks.maxTicksLimit),i=n.minRotation||0,o=n.maxRotation;let a=i,l,u,d;if(!this._isVisible()||!n.display||i>=o||r<=1||!this.isHorizontal()){this.labelRotation=i;return}const p=this._getLabelSizes(),h=p.widest.width,A=p.highest.height,m=li(this.chart.width-h,0,this.maxWidth);l=e.offset?this.maxWidth/r:m/(r-1),h+6>l&&(l=m/(r-(e.offset?.5:1)),u=this.maxHeight-Zl(e.grid)-n.padding-qb(e.title,this.chart.options.font),d=Math.sqrt(h*h+A*A),a=F8(Math.min(Math.asin(li((p.highest.height+6)/l,-1,1)),Math.asin(li(u/d,-1,1))-Math.asin(li(A/d,-1,1)))),a=Math.max(i,Math.min(o,a))),this.labelRotation=a}afterCalculateLabelRotation(){Ht(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){Ht(this.options.beforeFit,[this])}fit(){const e={width:0,height:0},{chart:n,options:{ticks:r,title:i,grid:o}}=this,a=this._isVisible(),l=this.isHorizontal();if(a){const u=qb(i,n.options.font);if(l?(e.width=this.maxWidth,e.height=Zl(o)+u):(e.height=this.maxHeight,e.width=Zl(o)+u),r.display&&this.ticks.length){const{first:d,last:p,widest:h,highest:A}=this._getLabelSizes(),m=r.padding*2,b=Li(this.labelRotation),w=Math.cos(b),y=Math.sin(b);if(l){const P=r.mirror?0:y*h.width+w*A.height;e.height=Math.min(this.maxHeight,e.height+P+m)}else{const P=r.mirror?0:w*h.width+y*A.height;e.width=Math.min(this.maxWidth,e.width+P+m)}this._calculatePadding(d,p,y,w)}}this._handleMargins(),l?(this.width=this._length=n.width-this._margins.left-this._margins.right,this.height=e.height):(this.width=e.width,this.height=this._length=n.height-this._margins.top-this._margins.bottom)}_calculatePadding(e,n,r,i){const{ticks:{align:o,padding:a},position:l}=this.options,u=this.labelRotation!==0,d=l!=="top"&&this.axis==="x";if(this.isHorizontal()){const p=this.getPixelForTick(0)-this.left,h=this.right-this.getPixelForTick(this.ticks.length-1);let A=0,m=0;u?d?(A=i*e.width,m=r*n.height):(A=r*e.height,m=i*n.width):o==="start"?m=n.width:o==="end"?A=e.width:o!=="inner"&&(A=e.width/2,m=n.width/2),this.paddingLeft=Math.max((A-p+a)*this.width/(this.width-p),0),this.paddingRight=Math.max((m-h+a)*this.width/(this.width-h),0)}else{let p=n.height/2,h=e.height/2;o==="start"?(p=0,h=e.height):o==="end"&&(p=n.height,h=0),this.paddingTop=p+a,this.paddingBottom=h+a}}_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:e,position:n}=this.options;return n==="top"||n==="bottom"||e==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(e){this.beforeTickToLabelConversion(),this.generateTickLabels(e);let n,r;for(n=0,r=e.length;n<r;n++)Ot(e[n].label)&&(e.splice(n,1),r--,n--);this.afterTickToLabelConversion()}_getLabelSizes(){let e=this._labelSizes;if(!e){const n=this.options.ticks.sampleSize;let r=this.ticks;n<r.length&&(r=Yb(r,n)),this._labelSizes=e=this._computeLabelSizes(r,r.length,this.options.ticks.maxTicksLimit)}return e}_computeLabelSizes(e,n,r){const{ctx:i,_longestTextCache:o}=this,a=[],l=[],u=Math.floor(n/Wb(n,r));let d=0,p=0,h,A,m,b,w,y,P,M,D,C,j;for(h=0;h<n;h+=u){if(b=e[h].label,w=this._resolveTickFontOptions(h),i.font=y=w.string,P=o[y]=o[y]||{data:{},gc:[]},M=w.lineHeight,D=C=0,!Ot(b)&&!gn(b))D=ib(i,P.data,P.gc,D,b),C=M;else if(gn(b))for(A=0,m=b.length;A<m;++A)j=b[A],!Ot(j)&&!gn(j)&&(D=ib(i,P.data,P.gc,D,j),C+=M);a.push(D),l.push(C),d=Math.max(D,d),p=Math.max(C,p)}QI(o,n);const R=a.indexOf(d),z=l.indexOf(p),V=K=>({width:a[K]||0,height:l[K]||0});return{first:V(0),last:V(n-1),widest:V(R),highest:V(z),widths:a,heights:l}}getLabelForValue(e){return e}getPixelForValue(e,n){return NaN}getValueForPixel(e){}getPixelForTick(e){const n=this.ticks;return e<0||e>n.length-1?null:this.getPixelForValue(n[e].value)}getPixelForDecimal(e){this._reversePixels&&(e=1-e);const n=this._startPixel+e*this._length;return Q8(this._alignToPixels?Cs(this.chart,n,0):n)}getDecimalForPixel(e){const n=(e-this._startPixel)/this._length;return this._reversePixels?1-n:n}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:e,max:n}=this;return e<0&&n<0?n:e>0&&n>0?e:0}getContext(e){const n=this.ticks||[];if(e>=0&&e<n.length){const r=n[e];return r.$context||(r.$context=UI(this.getContext(),e,r))}return this.$context||(this.$context=HI(this.chart.getContext(),this))}_tickSize(){const e=this.options.ticks,n=Li(this.labelRotation),r=Math.abs(Math.cos(n)),i=Math.abs(Math.sin(n)),o=this._getLabelSizes(),a=e.autoSkipPadding||0,l=o?o.widest.width+a:0,u=o?o.highest.height+a:0;return this.isHorizontal()?u*r>l*i?l/r:u/i:u*i<l*r?u/r:l/i}_isVisible(){const e=this.options.display;return e!=="auto"?!!e:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(e){const n=this.axis,r=this.chart,i=this.options,{grid:o,position:a,border:l}=i,u=o.offset,d=this.isHorizontal(),h=this.ticks.length+(u?1:0),A=Zl(o),m=[],b=l.setContext(this.getContext()),w=b.display?b.width:0,y=w/2,P=function(pe){return Cs(r,pe,w)};let M,D,C,j,R,z,V,K,q,Z,W,ie;if(a==="top")M=P(this.bottom),z=this.bottom-A,K=M-y,Z=P(e.top)+y,ie=e.bottom;else if(a==="bottom")M=P(this.top),Z=e.top,ie=P(e.bottom)-y,z=M+y,K=this.top+A;else if(a==="left")M=P(this.right),R=this.right-A,V=M-y,q=P(e.left)+y,W=e.right;else if(a==="right")M=P(this.left),q=e.left,W=P(e.right)-y,R=M+y,V=this.left+A;else if(n==="x"){if(a==="center")M=P((e.top+e.bottom)/2+.5);else if(St(a)){const pe=Object.keys(a)[0],ee=a[pe];M=P(this.chart.scales[pe].getPixelForValue(ee))}Z=e.top,ie=e.bottom,z=M+y,K=z+A}else if(n==="y"){if(a==="center")M=P((e.left+e.right)/2);else if(St(a)){const pe=Object.keys(a)[0],ee=a[pe];M=P(this.chart.scales[pe].getPixelForValue(ee))}R=M-y,V=R-A,q=e.left,W=e.right}const ue=Ct(i.ticks.maxTicksLimit,h),te=Math.max(1,Math.ceil(h/ue));for(D=0;D<h;D+=te){const pe=this.getContext(D),ee=o.setContext(pe),G=l.setContext(pe),N=ee.lineWidth,de=ee.color,I=G.dash||[],J=G.dashOffset,ve=ee.tickWidth,me=ee.tickColor,we=ee.tickBorderDash||[],_e=ee.tickBorderDashOffset;C=zI(this,D,u),C!==void 0&&(j=Cs(r,C,N),d?R=V=q=W=j:z=K=Z=ie=j,m.push({tx1:R,ty1:z,tx2:V,ty2:K,x1:q,y1:Z,x2:W,y2:ie,width:N,color:de,borderDash:I,borderDashOffset:J,tickWidth:ve,tickColor:me,tickBorderDash:we,tickBorderDashOffset:_e}))}return this._ticksLength=h,this._borderValue=M,m}_computeLabelItems(e){const n=this.axis,r=this.options,{position:i,ticks:o}=r,a=this.isHorizontal(),l=this.ticks,{align:u,crossAlign:d,padding:p,mirror:h}=o,A=Zl(r.grid),m=A+p,b=h?-p:m,w=-Li(this.labelRotation),y=[];let P,M,D,C,j,R,z,V,K,q,Z,W,ie="middle";if(i==="top")R=this.bottom-b,z=this._getXAxisLabelAlignment();else if(i==="bottom")R=this.top+b,z=this._getXAxisLabelAlignment();else if(i==="left"){const te=this._getYAxisLabelAlignment(A);z=te.textAlign,j=te.x}else if(i==="right"){const te=this._getYAxisLabelAlignment(A);z=te.textAlign,j=te.x}else if(n==="x"){if(i==="center")R=(e.top+e.bottom)/2+m;else if(St(i)){const te=Object.keys(i)[0],pe=i[te];R=this.chart.scales[te].getPixelForValue(pe)+m}z=this._getXAxisLabelAlignment()}else if(n==="y"){if(i==="center")j=(e.left+e.right)/2-m;else if(St(i)){const te=Object.keys(i)[0],pe=i[te];j=this.chart.scales[te].getPixelForValue(pe)}z=this._getYAxisLabelAlignment(A).textAlign}n==="y"&&(u==="start"?ie="top":u==="end"&&(ie="bottom"));const ue=this._getLabelSizes();for(P=0,M=l.length;P<M;++P){D=l[P],C=D.label;const te=o.setContext(this.getContext(P));V=this.getPixelForTick(P)+o.labelOffset,K=this._resolveTickFontOptions(P),q=K.lineHeight,Z=gn(C)?C.length:1;const pe=Z/2,ee=te.color,G=te.textStrokeColor,N=te.textStrokeWidth;let de=z;a?(j=V,z==="inner"&&(P===M-1?de=this.options.reverse?"left":"right":P===0?de=this.options.reverse?"right":"left":de="center"),i==="top"?d==="near"||w!==0?W=-Z*q+q/2:d==="center"?W=-ue.highest.height/2-pe*q+q:W=-ue.highest.height+q/2:d==="near"||w!==0?W=q/2:d==="center"?W=ue.highest.height/2-pe*q:W=ue.highest.height-Z*q,h&&(W*=-1),w!==0&&!te.showLabelBackdrop&&(j+=q/2*Math.sin(w))):(R=V,W=(1-Z)*q/2);let I;if(te.showLabelBackdrop){const J=Gr(te.backdropPadding),ve=ue.heights[P],me=ue.widths[P];let we=W-J.top,_e=0-J.left;switch(ie){case"middle":we-=ve/2;break;case"bottom":we-=ve;break}switch(z){case"center":_e-=me/2;break;case"right":_e-=me;break;case"inner":P===M-1?_e-=me:P>0&&(_e-=me/2);break}I={left:_e,top:we,width:me+J.width,height:ve+J.height,color:te.backdropColor}}y.push({label:C,font:K,textOffset:W,options:{rotation:w,color:ee,strokeColor:G,strokeWidth:N,textAlign:de,textBaseline:ie,translation:[j,R],backdrop:I}})}return y}_getXAxisLabelAlignment(){const{position:e,ticks:n}=this.options;if(-Li(this.labelRotation))return e==="top"?"left":"right";let i="center";return n.align==="start"?i="left":n.align==="end"?i="right":n.align==="inner"&&(i="inner"),i}_getYAxisLabelAlignment(e){const{position:n,ticks:{crossAlign:r,mirror:i,padding:o}}=this.options,a=this._getLabelSizes(),l=e+o,u=a.widest.width;let d,p;return n==="left"?i?(p=this.right+o,r==="near"?d="left":r==="center"?(d="center",p+=u/2):(d="right",p+=u)):(p=this.right-l,r==="near"?d="right":r==="center"?(d="center",p-=u/2):(d="left",p=this.left)):n==="right"?i?(p=this.left+o,r==="near"?d="right":r==="center"?(d="center",p-=u/2):(d="left",p-=u)):(p=this.left+l,r==="near"?d="left":r==="center"?(d="center",p+=u/2):(d="right",p=this.right)):d="right",{textAlign:d,x:p}}_computeLabelArea(){if(this.options.ticks.mirror)return;const e=this.chart,n=this.options.position;if(n==="left"||n==="right")return{top:0,left:this.left,bottom:e.height,right:this.right};if(n==="top"||n==="bottom")return{top:this.top,left:0,bottom:this.bottom,right:e.width}}drawBackground(){const{ctx:e,options:{backgroundColor:n},left:r,top:i,width:o,height:a}=this;n&&(e.save(),e.fillStyle=n,e.fillRect(r,i,o,a),e.restore())}getLineWidthForValue(e){const n=this.options.grid;if(!this._isVisible()||!n.display)return 0;const i=this.ticks.findIndex(o=>o.value===e);return i>=0?n.setContext(this.getContext(i)).lineWidth:0}drawGrid(e){const n=this.options.grid,r=this.ctx,i=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(e));let o,a;const l=(u,d,p)=>{!p.width||!p.color||(r.save(),r.lineWidth=p.width,r.strokeStyle=p.color,r.setLineDash(p.borderDash||[]),r.lineDashOffset=p.borderDashOffset,r.beginPath(),r.moveTo(u.x,u.y),r.lineTo(d.x,d.y),r.stroke(),r.restore())};if(n.display)for(o=0,a=i.length;o<a;++o){const u=i[o];n.drawOnChartArea&&l({x:u.x1,y:u.y1},{x:u.x2,y:u.y2},u),n.drawTicks&&l({x:u.tx1,y:u.ty1},{x:u.tx2,y:u.ty2},{color:u.tickColor,width:u.tickWidth,borderDash:u.tickBorderDash,borderDashOffset:u.tickBorderDashOffset})}}drawBorder(){const{chart:e,ctx:n,options:{border:r,grid:i}}=this,o=r.setContext(this.getContext()),a=r.display?o.width:0;if(!a)return;const l=i.setContext(this.getContext(0)).lineWidth,u=this._borderValue;let d,p,h,A;this.isHorizontal()?(d=Cs(e,this.left,a)-a/2,p=Cs(e,this.right,l)+l/2,h=A=u):(h=Cs(e,this.top,a)-a/2,A=Cs(e,this.bottom,l)+l/2,d=p=u),n.save(),n.lineWidth=o.width,n.strokeStyle=o.color,n.beginPath(),n.moveTo(d,h),n.lineTo(p,A),n.stroke(),n.restore()}drawLabels(e){if(!this.options.ticks.display)return;const r=this.ctx,i=this._computeLabelArea();i&&hh(r,i);const o=this.getLabelItems(e);for(const a of o){const l=a.options,u=a.font,d=a.label,p=a.textOffset;Yl(r,d,0,p,u,l)}i&&Ah(r)}drawTitle(){const{ctx:e,options:{position:n,title:r,reverse:i}}=this;if(!r.display)return;const o=zn(r.font),a=Gr(r.padding),l=r.align;let u=o.lineHeight/2;n==="bottom"||n==="center"||St(n)?(u+=a.bottom,gn(r.text)&&(u+=o.lineHeight*(r.text.length-1))):u+=a.top;const{titleX:d,titleY:p,maxWidth:h,rotation:A}=WI(this,u,n,l);Yl(e,r.text,0,0,o,{color:r.color,maxWidth:h,rotation:A,textAlign:VI(l,n,i),textBaseline:"middle",translation:[d,p]})}draw(e){this._isVisible()&&(this.drawBackground(),this.drawGrid(e),this.drawBorder(),this.drawTitle(),this.drawLabels(e))}_layers(){const e=this.options,n=e.ticks&&e.ticks.z||0,r=Ct(e.grid&&e.grid.z,-1),i=Ct(e.border&&e.border.z,0);return!this._isVisible()||this.draw!==Ea.prototype.draw?[{z:n,draw:o=>{this.draw(o)}}]:[{z:r,draw:o=>{this.drawBackground(),this.drawGrid(o),this.drawTitle()}},{z:i,draw:()=>{this.drawBorder()}},{z:n,draw:o=>{this.drawLabels(o)}}]}getMatchingVisibleMetas(e){const n=this.chart.getSortedVisibleDatasetMetas(),r=this.axis+"AxisID",i=[];let o,a;for(o=0,a=n.length;o<a;++o){const l=n[o];l[r]===this.id&&(!e||l.type===e)&&i.push(l)}return i}_resolveTickFontOptions(e){const n=this.options.ticks.setContext(this.getContext(e));return zn(n.font)}_maxDigits(){const e=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/e}}class Ju{constructor(e,n,r){this.type=e,this.scope=n,this.override=r,this.items=Object.create(null)}isForType(e){return Object.prototype.isPrototypeOf.call(this.type.prototype,e.prototype)}register(e){const n=Object.getPrototypeOf(e);let r;KI(n)&&(r=this.register(n));const i=this.items,o=e.id,a=this.scope+"."+o;if(!o)throw new Error("class does not have id: "+e);return o in i||(i[o]=e,YI(e,a,r),this.override&&Jt.override(e.id,e.overrides)),a}get(e){return this.items[e]}unregister(e){const n=this.items,r=e.id,i=this.scope;r in n&&delete n[r],i&&r in Jt[i]&&(delete Jt[i][r],this.override&&delete Es[r])}}function YI(t,e,n){const r=Ql(Object.create(null),[n?Jt.get(n):{},Jt.get(e),t.defaults]);Jt.set(e,r),t.defaultRoutes&&qI(e,t.defaultRoutes),t.descriptors&&Jt.describe(e,t.descriptors)}function qI(t,e){Object.keys(e).forEach(n=>{const r=n.split("."),i=r.pop(),o=[t].concat(r).join("."),a=e[n].split("."),l=a.pop(),u=a.join(".");Jt.route(o,i,u,l)})}function KI(t){return"id"in t&&"defaults"in t}class GI{constructor(){this.controllers=new Ju(Wu,"datasets",!0),this.elements=new Ju(Sa,"elements"),this.plugins=new Ju(Object,"plugins"),this.scales=new Ju(Ea,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...e){this._each("register",e)}remove(...e){this._each("unregister",e)}addControllers(...e){this._each("register",e,this.controllers)}addElements(...e){this._each("register",e,this.elements)}addPlugins(...e){this._each("register",e,this.plugins)}addScales(...e){this._each("register",e,this.scales)}getController(e){return this._get(e,this.controllers,"controller")}getElement(e){return this._get(e,this.elements,"element")}getPlugin(e){return this._get(e,this.plugins,"plugin")}getScale(e){return this._get(e,this.scales,"scale")}removeControllers(...e){this._each("unregister",e,this.controllers)}removeElements(...e){this._each("unregister",e,this.elements)}removePlugins(...e){this._each("unregister",e,this.plugins)}removeScales(...e){this._each("unregister",e,this.scales)}_each(e,n,r){[...n].forEach(i=>{const o=r||this._getRegistryForType(i);r||o.isForType(i)||o===this.plugins&&i.id?this._exec(e,o,i):Tt(i,a=>{const l=r||this._getRegistryForType(a);this._exec(e,l,a)})})}_exec(e,n,r){const i=sh(e);Ht(r["before"+i],[],r),n[e](r),Ht(r["after"+i],[],r)}_getRegistryForType(e){for(let n=0;n<this._typedRegistries.length;n++){const r=this._typedRegistries[n];if(r.isForType(e))return r}return this.plugins}_get(e,n,r){const i=n.get(e);if(i===void 0)throw new Error('"'+e+'" is not a registered '+r+".");return i}}var Ni=new GI;class XI{constructor(){this._init=void 0}notify(e,n,r,i){if(n==="beforeInit"&&(this._init=this._createDescriptors(e,!0),this._notify(this._init,e,"install")),this._init===void 0)return;const o=i?this._descriptors(e).filter(i):this._descriptors(e),a=this._notify(o,e,n,r);return n==="afterDestroy"&&(this._notify(o,e,"stop"),this._notify(this._init,e,"uninstall"),this._init=void 0),a}_notify(e,n,r,i){i=i||{};for(const o of e){const a=o.plugin,l=a[r],u=[n,i,o.options];if(Ht(l,u,a)===!1&&i.cancelable)return!1}return!0}invalidate(){Ot(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(e){if(this._cache)return this._cache;const n=this._cache=this._createDescriptors(e);return this._notifyStateChanges(e),n}_createDescriptors(e,n){const r=e&&e.config,i=Ct(r.options&&r.options.plugins,{}),o=JI(r);return i===!1&&!n?[]:$I(e,o,i,n)}_notifyStateChanges(e){const n=this._oldCache||[],r=this._cache,i=(o,a)=>o.filter(l=>!a.some(u=>l.plugin.id===u.plugin.id));this._notify(i(n,r),e,"stop"),this._notify(i(r,n),e,"start")}}function JI(t){const e={},n=[],r=Object.keys(Ni.plugins.items);for(let o=0;o<r.length;o++)n.push(Ni.getPlugin(r[o]));const i=t.plugins||[];for(let o=0;o<i.length;o++){const a=i[o];n.indexOf(a)===-1&&(n.push(a),e[a.id]=!0)}return{plugins:n,localIds:e}}function ZI(t,e){return!e&&t===!1?null:t===!0?{}:t}function $I(t,{plugins:e,localIds:n},r,i){const o=[],a=t.getContext();for(const l of e){const u=l.id,d=ZI(r[u],i);d!==null&&o.push({plugin:l,options:e5(t.config,{plugin:l,local:n[u]},d,a)})}return o}function e5(t,{plugin:e,local:n},r,i){const o=t.pluginScopeKeys(e),a=t.getOptionScopes(r,o);return n&&e.defaults&&a.push(e.defaults),t.createResolver(a,i,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function Th(t,e){const n=Jt.datasets[t]||{};return((e.datasets||{})[t]||{}).indexAxis||e.indexAxis||n.indexAxis||"x"}function t5(t,e){let n=t;return t==="_index_"?n=e:t==="_value_"&&(n=e==="x"?"y":"x"),n}function n5(t,e){return t===e?"_index_":"_value_"}function Kb(t){if(t==="x"||t==="y"||t==="r")return t}function r5(t){if(t==="top"||t==="bottom")return"x";if(t==="left"||t==="right")return"y"}function Bh(t,...e){if(Kb(t))return t;for(const n of e){const r=n.axis||r5(n.position)||t.length>1&&Kb(t[0].toLowerCase());if(r)return r}throw new Error(`Cannot determine type of '${t}' axis. Please provide 'axis' or 'position' option.`)}function Gb(t,e,n){if(n[e+"AxisID"]===t)return{axis:e}}function i5(t,e){if(e.data&&e.data.datasets){const n=e.data.datasets.filter(r=>r.xAxisID===t||r.yAxisID===t);if(n.length)return Gb(t,"x",n[0])||Gb(t,"y",n[0])}return{}}function o5(t,e){const n=Es[t.type]||{scales:{}},r=e.scales||{},i=Th(t.type,e),o=Object.create(null);return Object.keys(r).forEach(a=>{const l=r[a];if(!St(l))return console.error(`Invalid scale configuration for scale: ${a}`);if(l._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${a}`);const u=Bh(a,l,i5(a,t),Jt.scales[l.type]),d=n5(u,i),p=n.scales||{};o[a]=Hl(Object.create(null),[{axis:u},l,p[u],p[d]])}),t.data.datasets.forEach(a=>{const l=a.type||t.type,u=a.indexAxis||Th(l,e),p=(Es[l]||{}).scales||{};Object.keys(p).forEach(h=>{const A=t5(h,u),m=a[A+"AxisID"]||A;o[m]=o[m]||Object.create(null),Hl(o[m],[{axis:A},r[m],p[h]])})}),Object.keys(o).forEach(a=>{const l=o[a];Hl(l,[Jt.scales[l.type],Jt.scale])}),o}function Xb(t){const e=t.options||(t.options={});e.plugins=Ct(e.plugins,{}),e.scales=o5(t,e)}function Jb(t){return t=t||{},t.datasets=t.datasets||[],t.labels=t.labels||[],t}function s5(t){return t=t||{},t.data=Jb(t.data),Xb(t),t}const Zb=new Map,$b=new Set;function Zu(t,e){let n=Zb.get(t);return n||(n=e(),Zb.set(t,n),$b.add(n)),n}const $l=(t,e,n)=>{const r=zo(e,n);r!==void 0&&t.add(r)};let a5=class{constructor(e){this._config=s5(e),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(e){this._config.type=e}get data(){return this._config.data}set data(e){this._config.data=Jb(e)}get options(){return this._config.options}set options(e){this._config.options=e}get plugins(){return this._config.plugins}update(){const e=this._config;this.clearCache(),Xb(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return Zu(e,()=>[[`datasets.${e}`,""]])}datasetAnimationScopeKeys(e,n){return Zu(`${e}.transition.${n}`,()=>[[`datasets.${e}.transitions.${n}`,`transitions.${n}`],[`datasets.${e}`,""]])}datasetElementScopeKeys(e,n){return Zu(`${e}-${n}`,()=>[[`datasets.${e}.elements.${n}`,`datasets.${e}`,`elements.${n}`,""]])}pluginScopeKeys(e){const n=e.id,r=this.type;return Zu(`${r}-plugin-${n}`,()=>[[`plugins.${n}`,...e.additionalOptionScopes||[]]])}_cachedScopes(e,n){const r=this._scopeCache;let i=r.get(e);return(!i||n)&&(i=new Map,r.set(e,i)),i}getOptionScopes(e,n,r){const{options:i,type:o}=this,a=this._cachedScopes(e,r),l=a.get(n);if(l)return l;const u=new Set;n.forEach(p=>{e&&(u.add(e),p.forEach(h=>$l(u,e,h))),p.forEach(h=>$l(u,i,h)),p.forEach(h=>$l(u,Es[o]||{},h)),p.forEach(h=>$l(u,Jt,h)),p.forEach(h=>$l(u,fh,h))});const d=Array.from(u);return d.length===0&&d.push(Object.create(null)),$b.has(n)&&a.set(n,d),d}chartOptionScopes(){const{options:e,type:n}=this;return[e,Es[n]||{},Jt.datasets[n]||{},{type:n},Jt,fh]}resolveNamedOptions(e,n,r,i=[""]){const o={$shared:!0},{resolver:a,subPrefixes:l}=ex(this._resolverCache,e,i);let u=a;if(c5(a,n)){o.$shared=!1,r=Qo(r)?r():r;const d=this.createResolver(e,r,l);u=wa(a,r,d)}for(const d of n)o[d]=u[d];return o}createResolver(e,n,r=[""],i){const{resolver:o}=ex(this._resolverCache,e,r);return St(n)?wa(o,n,void 0,i):o}};function ex(t,e,n){let r=t.get(e);r||(r=new Map,t.set(e,r));const i=n.join();let o=r.get(i);return o||(o={resolver:gh(e,n),subPrefixes:n.filter(l=>!l.toLowerCase().includes("hover"))},r.set(i,o)),o}const l5=t=>St(t)&&Object.getOwnPropertyNames(t).some(e=>Qo(t[e]));function c5(t,e){const{isScriptable:n,isIndexable:r}=db(t);for(const i of e){const o=n(i),a=r(i),l=(a||o)&&t[i];if(o&&(Qo(l)||l5(l))||a&&gn(l))return!0}return!1}var u5="4.5.1";const d5=["top","bottom","left","right","chartArea"];function tx(t,e){return t==="top"||t==="bottom"||d5.indexOf(t)===-1&&e==="x"}function nx(t,e){return function(n,r){return n[t]===r[t]?n[e]-r[e]:n[t]-r[t]}}function rx(t){const e=t.chart,n=e.options.animation;e.notifyPlugins("afterRender"),Ht(n&&n.onComplete,[t],e)}function f5(t){const e=t.chart,n=e.options.animation;Ht(n&&n.onProgress,[t],e)}function ix(t){return yh()&&typeof t=="string"?t=document.getElementById(t):t&&t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t}const $u={},ox=t=>{const e=ix(t);return Object.values($u).filter(n=>n.canvas===e).pop()};function p5(t,e,n){const r=Object.keys(t);for(const i of r){const o=+i;if(o>=e){const a=t[i];delete t[i],(n>0||o>e)&&(t[o+n]=a)}}}function h5(t,e,n,r){return!n||t.type==="mouseout"?null:r?e:t}let _h=class{static defaults=Jt;static instances=$u;static overrides=Es;static registry=Ni;static version=u5;static getChart=ox;static register(...e){Ni.add(...e),sx()}static unregister(...e){Ni.remove(...e),sx()}constructor(e,n){const r=this.config=new a5(n),i=ix(e),o=ox(i);if(o)throw new Error("Canvas is already in use. Chart with ID '"+o.id+"' must be destroyed before the canvas with ID '"+o.canvas.id+"' can be reused.");const a=r.createResolver(r.chartOptionScopes(),this.getContext());this.platform=new(r.platform||II(i)),this.platform.updateConfig(r);const l=this.platform.acquireContext(i,a.aspectRatio),u=l&&l.canvas,d=u&&u.height,p=u&&u.width;if(this.id=C8(),this.ctx=l,this.canvas=u,this.width=p,this.height=d,this._options=a,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 XI,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=W8(h=>this.update(h),a.resizeDelay||0),this._dataChanges=[],$u[this.id]=this,!l||!u){console.error("Failed to create chart: can't acquire context from the given item");return}co.listen(this,"complete",rx),co.listen(this,"progress",f5),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:e,maintainAspectRatio:n},width:r,height:i,_aspectRatio:o}=this;return Ot(e)?n&&o?o:i?r/i:null:e}get data(){return this.config.data}set data(e){this.config.data=e}get options(){return this._options}set options(e){this.config.options=e}get registry(){return Ni}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():mb(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return ob(this.canvas,this.ctx),this}stop(){return co.stop(this),this}resize(e,n){co.running(this)?this._resizeBeforeDraw={width:e,height:n}:this._resize(e,n)}_resize(e,n){const r=this.options,i=this.canvas,o=r.maintainAspectRatio&&this.aspectRatio,a=this.platform.getMaximumSize(i,e,n,o),l=r.devicePixelRatio||this.platform.getDevicePixelRatio(),u=this.width?"resize":"attach";this.width=a.width,this.height=a.height,this._aspectRatio=this.aspectRatio,mb(this,l,!0)&&(this.notifyPlugins("resize",{size:a}),Ht(r.onResize,[this,a],this),this.attached&&this._doResize(u)&&this.render())}ensureScalesHaveIDs(){const n=this.options.scales||{};Tt(n,(r,i)=>{r.id=i})}buildOrUpdateScales(){const e=this.options,n=e.scales,r=this.scales,i=Object.keys(r).reduce((a,l)=>(a[l]=!1,a),{});let o=[];n&&(o=o.concat(Object.keys(n).map(a=>{const l=n[a],u=Bh(a,l),d=u==="r",p=u==="x";return{options:l,dposition:d?"chartArea":p?"bottom":"left",dtype:d?"radialLinear":p?"category":"linear"}}))),Tt(o,a=>{const l=a.options,u=l.id,d=Bh(u,l),p=Ct(l.type,a.dtype);(l.position===void 0||tx(l.position,d)!==tx(a.dposition))&&(l.position=a.dposition),i[u]=!0;let h=null;if(u in r&&r[u].type===p)h=r[u];else{const A=Ni.getScale(p);h=new A({id:u,type:p,ctx:this.ctx,chart:this}),r[h.id]=h}h.init(l,e)}),Tt(i,(a,l)=>{a||delete r[l]}),Tt(r,a=>{Xr.configure(this,a,a.options),Xr.addBox(this,a)})}_updateMetasets(){const e=this._metasets,n=this.data.datasets.length,r=e.length;if(e.sort((i,o)=>i.index-o.index),r>n){for(let i=n;i<r;++i)this._destroyDatasetMeta(i);e.splice(n,r-n)}this._sortedMetasets=e.slice(0).sort(nx("order","index"))}_removeUnreferencedMetasets(){const{_metasets:e,data:{datasets:n}}=this;e.length>n.length&&delete this._stacks,e.forEach((r,i)=>{n.filter(o=>o===r._dataset).length===0&&this._destroyDatasetMeta(i)})}buildOrUpdateControllers(){const e=[],n=this.data.datasets;let r,i;for(this._removeUnreferencedMetasets(),r=0,i=n.length;r<i;r++){const o=n[r];let a=this.getDatasetMeta(r);const l=o.type||this.config.type;if(a.type&&a.type!==l&&(this._destroyDatasetMeta(r),a=this.getDatasetMeta(r)),a.type=l,a.indexAxis=o.indexAxis||Th(l,this.options),a.order=o.order||0,a.index=r,a.label=""+o.label,a.visible=this.isDatasetVisible(r),a.controller)a.controller.updateIndex(r),a.controller.linkScales();else{const u=Ni.getController(l),{datasetElementType:d,dataElementType:p}=Jt.datasets[l];Object.assign(u,{dataElementType:Ni.getElement(p),datasetElementType:d&&Ni.getElement(d)}),a.controller=new u(this,r),e.push(a.controller)}}return this._updateMetasets(),e}_resetElements(){Tt(this.data.datasets,(e,n)=>{this.getDatasetMeta(n).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(e){const n=this.config;n.update();const r=this._options=n.createResolver(n.chartOptionScopes(),this.getContext()),i=this._animationsDisabled=!r.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:e,cancelable:!0})===!1)return;const o=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let a=0;for(let d=0,p=this.data.datasets.length;d<p;d++){const{controller:h}=this.getDatasetMeta(d),A=!i&&o.indexOf(h)===-1;h.buildOrUpdateElements(A),a=Math.max(+h.getMaxOverflow(),a)}a=this._minPadding=r.layout.autoPadding?a:0,this._updateLayout(a),i||Tt(o,d=>{d.reset()}),this._updateDatasets(e),this.notifyPlugins("afterUpdate",{mode:e}),this._layers.sort(nx("z","_idx"));const{_active:l,_lastEvent:u}=this;u?this._eventHandler(u,!0):l.length&&this._updateHoverStyles(l,l,!0),this.render()}_updateScales(){Tt(this.scales,e=>{Xr.removeBox(this,e)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const e=this.options,n=new Set(Object.keys(this._listeners)),r=new Set(e.events);(!Hy(n,r)||!!this._responsiveListeners!==e.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:e}=this,n=this._getUniformDataChanges()||[];for(const{method:r,start:i,count:o}of n){const a=r==="_removeElements"?-o:o;p5(e,i,a)}}_getUniformDataChanges(){const e=this._dataChanges;if(!e||!e.length)return;this._dataChanges=[];const n=this.data.datasets.length,r=o=>new Set(e.filter(a=>a[0]===o).map((a,l)=>l+","+a.splice(1).join(","))),i=r(0);for(let o=1;o<n;o++)if(!Hy(i,r(o)))return;return Array.from(i).map(o=>o.split(",")).map(o=>({method:o[1],start:+o[2],count:+o[3]}))}_updateLayout(e){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;Xr.update(this,this.width,this.height,e);const n=this.chartArea,r=n.width<=0||n.height<=0;this._layers=[],Tt(this.boxes,i=>{r&&i.position==="chartArea"||(i.configure&&i.configure(),this._layers.push(...i._layers()))},this),this._layers.forEach((i,o)=>{i._idx=o}),this.notifyPlugins("afterLayout")}_updateDatasets(e){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:e,cancelable:!0})!==!1){for(let n=0,r=this.data.datasets.length;n<r;++n)this.getDatasetMeta(n).controller.configure();for(let n=0,r=this.data.datasets.length;n<r;++n)this._updateDataset(n,Qo(e)?e({datasetIndex:n}):e);this.notifyPlugins("afterDatasetsUpdate",{mode:e})}}_updateDataset(e,n){const r=this.getDatasetMeta(e),i={meta:r,index:e,mode:n,cancelable:!0};this.notifyPlugins("beforeDatasetUpdate",i)!==!1&&(r.controller._update(n),i.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",i))}render(){this.notifyPlugins("beforeRender",{cancelable:!0})!==!1&&(co.has(this)?this.attached&&!co.running(this)&&co.start(this):(this.draw(),rx({chart:this})))}draw(){let e;if(this._resizeBeforeDraw){const{width:r,height:i}=this._resizeBeforeDraw;this._resizeBeforeDraw=null,this._resize(r,i)}if(this.clear(),this.width<=0||this.height<=0||this.notifyPlugins("beforeDraw",{cancelable:!0})===!1)return;const n=this._layers;for(e=0;e<n.length&&n[e].z<=0;++e)n[e].draw(this.chartArea);for(this._drawDatasets();e<n.length;++e)n[e].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(e){const n=this._sortedMetasets,r=[];let i,o;for(i=0,o=n.length;i<o;++i){const a=n[i];(!e||a.visible)&&r.push(a)}return r}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0})===!1)return;const e=this.getSortedVisibleDatasetMetas();for(let n=e.length-1;n>=0;--n)this._drawDataset(e[n]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(e){const n=this.ctx,r={meta:e,index:e.index,cancelable:!0},i=__(this,e);this.notifyPlugins("beforeDatasetDraw",r)!==!1&&(i&&hh(n,i),e.controller.draw(),i&&Ah(n),r.cancelable=!1,this.notifyPlugins("afterDatasetDraw",r))}isPointInArea(e){return lb(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,n,r,i){const o=dI.modes[n];return typeof o=="function"?o(this,e,r,i):[]}getDatasetMeta(e){const n=this.data.datasets[e],r=this._metasets;let i=r.filter(o=>o&&o._dataset===n).pop();return i||(i={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:n&&n.order||0,index:e,_dataset:n,_parsed:[],_sorted:!1},r.push(i)),i}getContext(){return this.$context||(this.$context=xa(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(e){const n=this.data.datasets[e];if(!n)return!1;const r=this.getDatasetMeta(e);return typeof r.hidden=="boolean"?!r.hidden:!n.hidden}setDatasetVisibility(e,n){const r=this.getDatasetMeta(e);r.hidden=!n}toggleDataVisibility(e){this._hiddenIndices[e]=!this._hiddenIndices[e]}getDataVisibility(e){return!this._hiddenIndices[e]}_updateVisibility(e,n,r){const i=r?"show":"hide",o=this.getDatasetMeta(e),a=o.controller._resolveAnimations(void 0,i);Ul(n)?(o.data[n].hidden=!r,this.update()):(this.setDatasetVisibility(e,r),a.update(o,{visible:r}),this.update(l=>l.datasetIndex===e?i:void 0))}hide(e,n){this._updateVisibility(e,n,!1)}show(e,n){this._updateVisibility(e,n,!0)}_destroyDatasetMeta(e){const n=this._metasets[e];n&&n.controller&&n.controller._destroy(),delete this._metasets[e]}_stop(){let e,n;for(this.stop(),co.remove(this),e=0,n=this.data.datasets.length;e<n;++e)this._destroyDatasetMeta(e)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:e,ctx:n}=this;this._stop(),this.config.clearCache(),e&&(this.unbindEvents(),ob(e,n),this.platform.releaseContext(n),this.canvas=null,this.ctx=null),delete $u[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...e){return this.canvas.toDataURL(...e)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const e=this._listeners,n=this.platform,r=(o,a)=>{n.addEventListener(this,o,a),e[o]=a},i=(o,a,l)=>{o.offsetX=a,o.offsetY=l,this._eventHandler(o)};Tt(this.options.events,o=>r(o,i))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const e=this._responsiveListeners,n=this.platform,r=(u,d)=>{n.addEventListener(this,u,d),e[u]=d},i=(u,d)=>{e[u]&&(n.removeEventListener(this,u,d),delete e[u])},o=(u,d)=>{this.canvas&&this.resize(u,d)};let a;const l=()=>{i("attach",l),this.attached=!0,this.resize(),r("resize",o),r("detach",a)};a=()=>{this.attached=!1,i("resize",o),this._stop(),this._resize(0,0),r("attach",l)},n.isAttached(this.canvas)?l():a()}unbindEvents(){Tt(this._listeners,(e,n)=>{this.platform.removeEventListener(this,n,e)}),this._listeners={},Tt(this._responsiveListeners,(e,n)=>{this.platform.removeEventListener(this,n,e)}),this._responsiveListeners=void 0}updateHoverStyle(e,n,r){const i=r?"set":"remove";let o,a,l,u;for(n==="dataset"&&(o=this.getDatasetMeta(e[0].datasetIndex),o.controller["_"+i+"DatasetHoverStyle"]()),l=0,u=e.length;l<u;++l){a=e[l];const d=a&&this.getDatasetMeta(a.datasetIndex).controller;d&&d[i+"HoverStyle"](a.element,a.datasetIndex,a.index)}}getActiveElements(){return this._active||[]}setActiveElements(e){const n=this._active||[],r=e.map(({datasetIndex:o,index:a})=>{const l=this.getDatasetMeta(o);if(!l)throw new Error("No dataset found at index "+o);return{datasetIndex:o,element:l.data[a],index:a}});!Mu(r,n)&&(this._active=r,this._lastEvent=null,this._updateHoverStyles(r,n))}notifyPlugins(e,n,r){return this._plugins.notify(this,e,n,r)}isPluginEnabled(e){return this._plugins._cache.filter(n=>n.plugin.id===e).length===1}_updateHoverStyles(e,n,r){const i=this.options.hover,o=(u,d)=>u.filter(p=>!d.some(h=>p.datasetIndex===h.datasetIndex&&p.index===h.index)),a=o(n,e),l=r?e:o(e,n);a.length&&this.updateHoverStyle(a,i.mode,!1),l.length&&i.mode&&this.updateHoverStyle(l,i.mode,!0)}_eventHandler(e,n){const r={event:e,replay:n,cancelable:!0,inChartArea:this.isPointInArea(e)},i=a=>(a.options.events||this.options.events).includes(e.native.type);if(this.notifyPlugins("beforeEvent",r,i)===!1)return;const o=this._handleEvent(e,n,r.inChartArea);return r.cancelable=!1,this.notifyPlugins("afterEvent",r,i),(o||r.changed)&&this.render(),this}_handleEvent(e,n,r){const{_active:i=[],options:o}=this,a=n,l=this._getActiveElements(e,i,r,a),u=I8(e),d=h5(e,this._lastEvent,r,u);r&&(this._lastEvent=null,Ht(o.onHover,[e,l,this],this),u&&Ht(o.onClick,[e,l,this],this));const p=!Mu(l,i);return(p||n)&&(this._active=l,this._updateHoverStyles(l,i,n)),this._lastEvent=d,p}_getActiveElements(e,n,r,i){if(e.type==="mouseout")return[];if(!r)return n;const o=this.options.hover;return this.getElementsAtEventForMode(e,o.mode,o,i)}};function sx(){return Tt(_h.instances,t=>t._plugins.invalidate())}function ax(t,e){const{x:n,y:r,base:i,width:o,height:a}=t.getProps(["x","y","base","width","height"],e);let l,u,d,p,h;return t.horizontal?(h=a/2,l=Math.min(n,i),u=Math.max(n,i),d=r-h,p=r+h):(h=o/2,l=n-h,u=n+h,d=Math.min(r,i),p=Math.max(r,i)),{left:l,top:d,right:u,bottom:p}}function Vo(t,e,n,r){return t?0:li(e,n,r)}function A5(t,e,n){const r=t.options.borderWidth,i=t.borderSkipped,o=ub(r);return{t:Vo(i.top,o.top,0,n),r:Vo(i.right,o.right,0,e),b:Vo(i.bottom,o.bottom,0,n),l:Vo(i.left,o.left,0,e)}}function g5(t,e,n){const{enableBorderRadius:r}=t.getProps(["enableBorderRadius"]),i=t.options.borderRadius,o=ba(i),a=Math.min(e,n),l=t.borderSkipped,u=r||St(i);return{topLeft:Vo(!u||l.top||l.left,o.topLeft,0,a),topRight:Vo(!u||l.top||l.right,o.topRight,0,a),bottomLeft:Vo(!u||l.bottom||l.left,o.bottomLeft,0,a),bottomRight:Vo(!u||l.bottom||l.right,o.bottomRight,0,a)}}function m5(t){const e=ax(t),n=e.right-e.left,r=e.bottom-e.top,i=A5(t,n/2,r/2),o=g5(t,n/2,r/2);return{outer:{x:e.left,y:e.top,w:n,h:r,radius:o},inner:{x:e.left+i.l,y:e.top+i.t,w:n-i.l-i.r,h:r-i.t-i.b,radius:{topLeft:Math.max(0,o.topLeft-Math.max(i.t,i.l)),topRight:Math.max(0,o.topRight-Math.max(i.t,i.r)),bottomLeft:Math.max(0,o.bottomLeft-Math.max(i.b,i.l)),bottomRight:Math.max(0,o.bottomRight-Math.max(i.b,i.r))}}}}function Ih(t,e,n,r){const i=e===null,o=n===null,l=t&&!(i&&o)&&ax(t,r);return l&&(i||ya(e,l.left,l.right))&&(o||ya(n,l.top,l.bottom))}function v5(t){return t.topLeft||t.topRight||t.bottomLeft||t.bottomRight}function y5(t,e){t.rect(e.x,e.y,e.w,e.h)}function Mh(t,e,n={}){const r=t.x!==n.x?-e:0,i=t.y!==n.y?-e:0,o=(t.x+t.w!==n.x+n.w?e:0)-r,a=(t.y+t.h!==n.y+n.h?e:0)-i;return{x:t.x+r,y:t.y+i,w:t.w+o,h:t.h+a,radius:t.radius}}class b5 extends Sa{static id="bar";static defaults={borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};constructor(e){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,e&&Object.assign(this,e)}draw(e){const{inflateAmount:n,options:{borderColor:r,backgroundColor:i}}=this,{inner:o,outer:a}=m5(this),l=v5(a.radius)?zu:y5;e.save(),(a.w!==o.w||a.h!==o.h)&&(e.beginPath(),l(e,Mh(a,n,o)),e.clip(),l(e,Mh(o,-n,a)),e.fillStyle=r,e.fill("evenodd")),e.beginPath(),l(e,Mh(o,n)),e.fillStyle=i,e.fill(),e.restore()}inRange(e,n,r){return Ih(this,e,n,r)}inXRange(e,n){return Ih(this,e,null,n)}inYRange(e,n){return Ih(this,null,e,n)}getCenterPoint(e){const{x:n,y:r,base:i,horizontal:o}=this.getProps(["x","y","base","horizontal"],e);return{x:o?(n+i)/2:n,y:o?r:(r+i)/2}}getRange(e){return e==="x"?this.width/2:this.height/2}}const Oh=["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)"],lx=Oh.map(t=>t.replace("rgb(","rgba(").replace(")",", 0.5)"));function cx(t){return Oh[t%Oh.length]}function ux(t){return lx[t%lx.length]}function x5(t,e){return t.borderColor=cx(e),t.backgroundColor=ux(e),++e}function w5(t,e){return t.backgroundColor=t.data.map(()=>cx(e++)),e}function k5(t,e){return t.backgroundColor=t.data.map(()=>ux(e++)),e}function S5(t){let e=0;return(n,r)=>{const i=t.getDatasetMeta(r).controller;i instanceof iI?e=w5(n,e):i instanceof oI?e=k5(n,e):i&&(e=x5(n,e))}}function dx(t){let e;for(e in t)if(t[e].borderColor||t[e].backgroundColor)return!0;return!1}function E5(t){return t&&(t.borderColor||t.backgroundColor)}function C5(){return Jt.borderColor!=="rgba(0,0,0,0.1)"||Jt.backgroundColor!=="rgba(0,0,0,0.1)"}var P5={id:"colors",defaults:{enabled:!0,forceOverride:!1},beforeLayout(t,e,n){if(!n.enabled)return;const{data:{datasets:r},options:i}=t.config,{elements:o}=i,a=dx(r)||E5(i)||o&&dx(o)||C5();if(!n.forceOverride&&a)return;const l=S5(t);r.forEach(l)}};const fx=(t,e)=>{let{boxHeight:n=e,boxWidth:r=e}=t;return t.usePointStyle&&(n=Math.min(n,e),r=t.pointStyleWidth||Math.min(r,e)),{boxWidth:r,boxHeight:n,itemHeight:Math.max(e,n)}},D5=(t,e)=>t!==null&&e!==null&&t.datasetIndex===e.datasetIndex&&t.index===e.index;class px extends Sa{constructor(e){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=e.chart,this.options=e.options,this.ctx=e.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(e,n,r){this.maxWidth=e,this.maxHeight=n,this._margins=r,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 e=this.options.labels||{};let n=Ht(e.generateLabels,[this.chart],this)||[];e.filter&&(n=n.filter(r=>e.filter(r,this.chart.data))),e.sort&&(n=n.sort((r,i)=>e.sort(r,i,this.chart.data))),this.options.reverse&&n.reverse(),this.legendItems=n}fit(){const{options:e,ctx:n}=this;if(!e.display){this.width=this.height=0;return}const r=e.labels,i=zn(r.font),o=i.size,a=this._computeTitleHeight(),{boxWidth:l,itemHeight:u}=fx(r,o);let d,p;n.font=i.string,this.isHorizontal()?(d=this.maxWidth,p=this._fitRows(a,o,l,u)+10):(p=this.maxHeight,d=this._fitCols(a,i,l,u)+10),this.width=Math.min(d,e.maxWidth||this.maxWidth),this.height=Math.min(p,e.maxHeight||this.maxHeight)}_fitRows(e,n,r,i){const{ctx:o,maxWidth:a,options:{labels:{padding:l}}}=this,u=this.legendHitBoxes=[],d=this.lineWidths=[0],p=i+l;let h=e;o.textAlign="left",o.textBaseline="middle";let A=-1,m=-p;return this.legendItems.forEach((b,w)=>{const y=r+n/2+o.measureText(b.text).width;(w===0||d[d.length-1]+y+2*l>a)&&(h+=p,d[d.length-(w>0?0:1)]=0,m+=p,A++),u[w]={left:0,top:m,row:A,width:y,height:i},d[d.length-1]+=y+l}),h}_fitCols(e,n,r,i){const{ctx:o,maxHeight:a,options:{labels:{padding:l}}}=this,u=this.legendHitBoxes=[],d=this.columnSizes=[],p=a-e;let h=l,A=0,m=0,b=0,w=0;return this.legendItems.forEach((y,P)=>{const{itemWidth:M,itemHeight:D}=T5(r,n,o,y,i);P>0&&m+D+2*l>p&&(h+=A+l,d.push({width:A,height:m}),b+=A+l,w++,A=m=0),u[P]={left:b,top:m,col:w,width:M,height:D},A=Math.max(A,M),m+=D+l}),h+=A,d.push({width:A,height:m}),h}adjustHitBoxes(){if(!this.options.display)return;const e=this._computeTitleHeight(),{legendHitBoxes:n,options:{align:r,labels:{padding:i},rtl:o}}=this,a=ka(o,this.left,this.width);if(this.isHorizontal()){let l=0,u=jn(r,this.left+i,this.right-this.lineWidths[l]);for(const d of n)l!==d.row&&(l=d.row,u=jn(r,this.left+i,this.right-this.lineWidths[l])),d.top+=this.top+e+i,d.left=a.leftForLtr(a.x(u),d.width),u+=d.width+i}else{let l=0,u=jn(r,this.top+e+i,this.bottom-this.columnSizes[l].height);for(const d of n)d.col!==l&&(l=d.col,u=jn(r,this.top+e+i,this.bottom-this.columnSizes[l].height)),d.top=u,d.left+=this.left+i,d.left=a.leftForLtr(a.x(d.left),d.width),u+=d.height+i}}isHorizontal(){return this.options.position==="top"||this.options.position==="bottom"}draw(){if(this.options.display){const e=this.ctx;hh(e,this),this._draw(),Ah(e)}}_draw(){const{options:e,columnSizes:n,lineWidths:r,ctx:i}=this,{align:o,labels:a}=e,l=Jt.color,u=ka(e.rtl,this.left,this.width),d=zn(a.font),{padding:p}=a,h=d.size,A=h/2;let m;this.drawTitle(),i.textAlign=u.textAlign("left"),i.textBaseline="middle",i.lineWidth=.5,i.font=d.string;const{boxWidth:b,boxHeight:w,itemHeight:y}=fx(a,h),P=function(R,z,V){if(isNaN(b)||b<=0||isNaN(w)||w<0)return;i.save();const K=Ct(V.lineWidth,1);if(i.fillStyle=Ct(V.fillStyle,l),i.lineCap=Ct(V.lineCap,"butt"),i.lineDashOffset=Ct(V.lineDashOffset,0),i.lineJoin=Ct(V.lineJoin,"miter"),i.lineWidth=K,i.strokeStyle=Ct(V.strokeStyle,l),i.setLineDash(Ct(V.lineDash,[])),a.usePointStyle){const q={radius:w*Math.SQRT2/2,pointStyle:V.pointStyle,rotation:V.rotation,borderWidth:K},Z=u.xPlus(R,b/2),W=z+A;ab(i,q,Z,W,a.pointStyleWidth&&b)}else{const q=z+Math.max((h-w)/2,0),Z=u.leftForLtr(R,b),W=ba(V.borderRadius);i.beginPath(),Object.values(W).some(ie=>ie!==0)?zu(i,{x:Z,y:q,w:b,h:w,radius:W}):i.rect(Z,q,b,w),i.fill(),K!==0&&i.stroke()}i.restore()},M=function(R,z,V){Yl(i,V.text,R,z+y/2,d,{strikethrough:V.hidden,textAlign:u.textAlign(V.textAlign)})},D=this.isHorizontal(),C=this._computeTitleHeight();D?m={x:jn(o,this.left+p,this.right-r[0]),y:this.top+p+C,line:0}:m={x:this.left+p,y:jn(o,this.top+C+p,this.bottom-n[0].height),line:0},yb(this.ctx,e.textDirection);const j=y+p;this.legendItems.forEach((R,z)=>{i.strokeStyle=R.fontColor,i.fillStyle=R.fontColor;const V=i.measureText(R.text).width,K=u.textAlign(R.textAlign||(R.textAlign=a.textAlign)),q=b+A+V;let Z=m.x,W=m.y;u.setWidth(this.width),D?z>0&&Z+q+p>this.right&&(W=m.y+=j,m.line++,Z=m.x=jn(o,this.left+p,this.right-r[m.line])):z>0&&W+j>this.bottom&&(Z=m.x=Z+n[m.line].width+p,m.line++,W=m.y=jn(o,this.top+C+p,this.bottom-n[m.line].height));const ie=u.x(Z);if(P(ie,W,R),Z=Y8(K,Z+b+A,D?Z+q:this.right,e.rtl),M(u.x(Z),W,R),D)m.x+=q+p;else if(typeof R.text!="string"){const ue=d.lineHeight;m.y+=hx(R,ue)+p}else m.y+=j}),bb(this.ctx,e.textDirection)}drawTitle(){const e=this.options,n=e.title,r=zn(n.font),i=Gr(n.padding);if(!n.display)return;const o=ka(e.rtl,this.left,this.width),a=this.ctx,l=n.position,u=r.size/2,d=i.top+u;let p,h=this.left,A=this.width;if(this.isHorizontal())A=Math.max(...this.lineWidths),p=this.top+d,h=jn(e.align,h,this.right-A);else{const b=this.columnSizes.reduce((w,y)=>Math.max(w,y.height),0);p=d+jn(e.align,this.top,this.bottom-b-e.labels.padding-this._computeTitleHeight())}const m=jn(l,h,h+A);a.textAlign=o.textAlign(uh(l)),a.textBaseline="middle",a.strokeStyle=n.color,a.fillStyle=n.color,a.font=r.string,Yl(a,n.text,m,p,r)}_computeTitleHeight(){const e=this.options.title,n=zn(e.font),r=Gr(e.padding);return e.display?n.lineHeight+r.height:0}_getLegendItemAt(e,n){let r,i,o;if(ya(e,this.left,this.right)&&ya(n,this.top,this.bottom)){for(o=this.legendHitBoxes,r=0;r<o.length;++r)if(i=o[r],ya(e,i.left,i.left+i.width)&&ya(n,i.top,i.top+i.height))return this.legendItems[r]}return null}handleEvent(e){const n=this.options;if(!I5(e.type,n))return;const r=this._getLegendItemAt(e.x,e.y);if(e.type==="mousemove"||e.type==="mouseout"){const i=this._hoveredItem,o=D5(i,r);i&&!o&&Ht(n.onLeave,[e,i,this],this),this._hoveredItem=r,r&&!o&&Ht(n.onHover,[e,r,this],this)}else r&&Ht(n.onClick,[e,r,this],this)}}function T5(t,e,n,r,i){const o=B5(r,t,e,n),a=_5(i,r,e.lineHeight);return{itemWidth:o,itemHeight:a}}function B5(t,e,n,r){let i=t.text;return i&&typeof i!="string"&&(i=i.reduce((o,a)=>o.length>a.length?o:a)),e+n.size/2+r.measureText(i).width}function _5(t,e,n){let r=t;return typeof e.text!="string"&&(r=hx(e,n)),r}function hx(t,e){const n=t.text?t.text.length:0;return e*n}function I5(t,e){return!!((t==="mousemove"||t==="mouseout")&&(e.onHover||e.onLeave)||e.onClick&&(t==="click"||t==="mouseup"))}var M5={id:"legend",_element:px,start(t,e,n){const r=t.legend=new px({ctx:t.ctx,options:n,chart:t});Xr.configure(t,r,n),Xr.addBox(t,r)},stop(t){Xr.removeBox(t,t.legend),delete t.legend},beforeUpdate(t,e,n){const r=t.legend;Xr.configure(t,r,n),r.options=n},afterUpdate(t){const e=t.legend;e.buildLabels(),e.adjustHitBoxes()},afterEvent(t,e){e.replay||t.legend.handleEvent(e.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(t,e,n){const r=e.datasetIndex,i=n.chart;i.isDatasetVisible(r)?(i.hide(r),e.hidden=!0):(i.show(r),e.hidden=!1)},onHover:null,onLeave:null,labels:{color:t=>t.chart.options.color,boxWidth:40,padding:10,generateLabels(t){const e=t.data.datasets,{labels:{usePointStyle:n,pointStyle:r,textAlign:i,color:o,useBorderRadius:a,borderRadius:l}}=t.legend.options;return t._getSortedDatasetMetas().map(u=>{const d=u.controller.getStyle(n?0:void 0),p=Gr(d.borderWidth);return{text:e[u.index].label,fillStyle:d.backgroundColor,fontColor:o,hidden:!u.visible,lineCap:d.borderCapStyle,lineDash:d.borderDash,lineDashOffset:d.borderDashOffset,lineJoin:d.borderJoinStyle,lineWidth:(p.width+p.height)/4,strokeStyle:d.borderColor,pointStyle:r||d.pointStyle,rotation:d.rotation,textAlign:i||d.textAlign,borderRadius:a&&(l||d.borderRadius),datasetIndex:u.index}},this)}},title:{color:t=>t.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:t=>!t.startsWith("on"),labels:{_scriptable:t=>!["generateLabels","filter","sort"].includes(t)}}};class Ax extends Sa{constructor(e){super(),this.chart=e.chart,this.options=e.options,this.ctx=e.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(e,n){const r=this.options;if(this.left=0,this.top=0,!r.display){this.width=this.height=this.right=this.bottom=0;return}this.width=this.right=e,this.height=this.bottom=n;const i=gn(r.text)?r.text.length:1;this._padding=Gr(r.padding);const o=i*zn(r.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=o:this.width=o}isHorizontal(){const e=this.options.position;return e==="top"||e==="bottom"}_drawArgs(e){const{top:n,left:r,bottom:i,right:o,options:a}=this,l=a.align;let u=0,d,p,h;return this.isHorizontal()?(p=jn(l,r,o),h=n+e,d=o-r):(a.position==="left"?(p=r+e,h=jn(l,i,n),u=mn*-.5):(p=o-e,h=jn(l,n,i),u=mn*.5),d=i-n),{titleX:p,titleY:h,maxWidth:d,rotation:u}}draw(){const e=this.ctx,n=this.options;if(!n.display)return;const r=zn(n.font),o=r.lineHeight/2+this._padding.top,{titleX:a,titleY:l,maxWidth:u,rotation:d}=this._drawArgs(o);Yl(e,n.text,0,0,r,{color:n.color,maxWidth:u,rotation:d,textAlign:uh(n.align),textBaseline:"middle",translation:[a,l]})}}function O5(t,e){const n=new Ax({ctx:t.ctx,options:e,chart:t});Xr.configure(t,n,e),Xr.addBox(t,n),t.titleBlock=n}var R5={id:"title",_element:Ax,start(t,e,n){O5(t,n)},stop(t){const e=t.titleBlock;Xr.removeBox(t,e),delete t.titleBlock},beforeUpdate(t,e,n){const r=t.titleBlock;Xr.configure(t,r,n),r.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 ec={average(t){if(!t.length)return!1;let e,n,r=new Set,i=0,o=0;for(e=0,n=t.length;e<n;++e){const l=t[e].element;if(l&&l.hasValue()){const u=l.tooltipPosition();r.add(u.x),i+=u.y,++o}}return o===0||r.size===0?!1:{x:[...r].reduce((l,u)=>l+u)/r.size,y:i/o}},nearest(t,e){if(!t.length)return!1;let n=e.x,r=e.y,i=Number.POSITIVE_INFINITY,o,a,l;for(o=0,a=t.length;o<a;++o){const u=t[o].element;if(u&&u.hasValue()){const d=u.getCenterPoint(),p=z8(e,d);p<i&&(i=p,l=u)}}if(l){const u=l.tooltipPosition();n=u.x,r=u.y}return{x:n,y:r}}};function Fi(t,e){return e&&(gn(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function uo(t){return(typeof t=="string"||t instanceof String)&&t.indexOf(`
|
|
308
|
+
`;function kD(t){if(!t)return;const e=t.getRootNode();if(!(e instanceof ShadowRoot)||e.getElementById(Nv))return;const n=document.createElement("style");n.id=Nv,n.textContent=wD,e.appendChild(n)}const Mp=T.forwardRef((t,e)=>{const{apiKey:n=Pr.DEFAULT_API_KEY,isLoggedIn:r=!1,loginUrl:i=Ro.LOGIN_URL,userEmail:o,userName:a,accessId:l,actingUser:u,ringEffect:d,defaultOpen:p,onClose:h,open:A,onOpenChange:m,embedded:b=!1,welcome:w,qaEndpoint:y,ratingEndpoint:P,agentEndpoint:M,backendId:D,resourceContext:C,onAnalyticsEvent:j}=t,R=Pr.AGENT_ENABLED,z=D||Pr.BACKEND_ID,V=T.useRef(null),K=T.useRef(null),[q,Z]=T.useState({}),[W,ie]=T.useState(()=>({categories:[],is_authenticated:!1})),ue=T.useMemo(()=>({email:o,name:a,accessId:l}),[o,a,l]);T.useEffect(()=>{kD(K.current)},[]),T.useEffect(()=>{iD({ticketForm:q,setTicketForm:Z})},[q]);const te=M||Pr.AGENT_ENDPOINT,pe=C?`${te}/capabilities?resource_context=${encodeURIComponent(C)}`:`${te}/capabilities`;T.useEffect(()=>{},[te,R]),T.useEffect(()=>{},[R,pe,r]),T.useEffect(()=>{},[R,te,r]),T.useImperativeHandle(e,()=>({addMessage:J=>{var ve,me;(me=(ve=V.current)==null?void 0:ve.addMessage)==null||me.call(ve,J)}}));const ee=w||W?.welcome_message||Ro.WELCOME_MESSAGE,G=T.useMemo(()=>xD(),[]),N=T.useCallback(J=>{j&&j({...J,type:J.type,timestamp:J.timestamp??Date.now(),sessionId:J.sessionId??G})},[j,G]),de=T.useCallback(J=>{j&&j({...J,type:J.type,timestamp:typeof J.timestamp=="number"?J.timestamp:Date.now(),sessionId:typeof J.sessionId=="string"?J.sessionId:G})},[j,G]),I=T.useMemo(()=>{const J=rD({welcome:ee,setTicketForm:Z,trackEvent:N}),ve=pD({ticketForm:{},setTicketForm:Z,userInfo:ue,trackEvent:N}),me=AD({ticketForm:{},setTicketForm:Z,userInfo:ue,trackEvent:N}),we=bD({sessionId:G,apiKey:n,trackEvent:N}),_e={...J,...ve,...me,...we};return tD(_e,{disableOnOptions:!0})},[ee,ue,G,n,r,N,W]);return W?E.jsx("div",{ref:K,children:E.jsx(Pp,{ref:V,isLoggedIn:r,allowAnonAccess:Pr.ALLOW_ANON_ACCESS,actingUser:u,onAnalyticsEvent:de,apiKey:n,qaEndpoint:y||Pr.QA_ENDPOINT,ratingEndpoint:P||Pr.RATING_ENDPOINT,backendId:z,botName:Ro.BOT_NAME,logo:Ro.LOGO,primaryColor:Ro.PRIMARY_COLOR,secondaryColor:Ro.SECONDARY_COLOR,welcomeMessage:ee,tooltipText:Ro.TOOLTIP,turnstileSiteKey:Pr.TURNSTILE_SITE_KEY,loginUrl:i,open:A,onOpenChange:m,embedded:b,footerText:"AI-powered · Privacy Notice",footerLink:"https://support.access-ci.org/tools/access-qa-tool/privacy",resourceContext:C,customFlow:I})}):E.jsx("div",{ref:K})});Mp.displayName="AccessQABot";const SD=Object.freeze(Object.defineProperty({__proto__:null,API_CONFIG:Pr,AccessQABot:Mp,BOT_CONFIG:Ro,QABot:Mp},Symbol.toStringTag,{value:"Module"}));function Et({alt:t=null,name:e=null,src:n=null}){return e?E.jsx("i",{className:`icon bi bi-${e}`}):E.jsx("img",{className:"icon",alt:t,src:n})}const Fv=()=>{const t=new Event("accessci-update-sections");document.dispatchEvent(t)};function _i({children:t,headerComponents:e=null,icon:n=null,sectionId:r=null,title:i}){const o=r||i.toLowerCase().replace(/[^0-9a-z]+/g,"-");return T.useLayoutEffect(()=>(Fv(),Fv),[]),E.jsxs("section",{id:o,"data-section-title":i,"data-section-icon":n,children:[E.jsxs("div",{className:"flex-header",children:[E.jsxs("h2",{children:[n?E.jsx(Et,{name:n}):null,i]}),e?E.jsx("div",{className:"header-components",children:e}):null]}),t]})}function ED({infoGroupId:t}){const e=Xn(`https://support.access-ci.org/api/1.0/affinity_groups/${t}`);if(!e||e.error||!e.length)return;const n=mf(e[0].slack_link);return E.jsxs(_i,{title:"User Community",icon:"people-fill",children:[E.jsx("p",{children:"Join the community by participating in an affinity group! Members get update about announcements, events, and outages."}),E.jsxs("div",{className:"button-group",children:[E.jsxs("a",{href:e[0].url,className:"btn secondary",children:[E.jsx(Et,{name:"person-plus-fill"})," Join Affinity Group"]}),n?E.jsxs("a",{href:n,className:"btn",children:[E.jsx(Et,{name:"slack"})," Connect on Slack"]}):null,E.jsxs("a",{href:"#questions-and-answers",className:"btn",children:[E.jsx(Et,{name:"chat-fill"})," Ask and Answer Questions"]})]})]})}function CD({infoGroupId:t}){const e=al(t),n=Xn(e&&e.infoResourceIds.length?`https://operations-api.access-ci.org/wh2/cider/v1/info_resourceid/${e.infoResourceIds[0]}/?format=json`:null);if(!e)return;const{accessAllocated:r,name:i,description:o,imageUri:a,organizations:l}=e,u=r?"https://allocations.access-ci.org/get-your-first-project":null,d=n&&n.results?(n.results.compute||n.results.storage||{}).user_guide_url:null;return E.jsxs("div",{className:"resource-group-description",children:[a?E.jsx("img",{className:"resource-group-feature-image",src:a}):null,E.jsx("h1",{children:e.name}),l.map(p=>E.jsx("p",{children:E.jsxs("a",{href:p.organization_url||"#",children:[p.organization_favicon_url?E.jsx(Et,{alt:p.organization_name,src:p.organization_favicon_url}):null,p.organization_name]})},p.organization_name)),o?E.jsx("p",{children:o}):null,E.jsxs("div",{style:{marginTop:"1rem"},children:[u?E.jsxs("a",{href:u,className:"btn secondary lg",children:[E.jsx(Et,{name:"check2-circle"})," Get Started with ",i]}):null,d?E.jsxs("a",{href:d,className:"btn lg",children:[E.jsx(Et,{name:"book"})," User Guide"]}):null]})]})}function PD({column:t,row:e,style:n={}}){const r=t.format?t.format(e[t.key],e):e[t.key],i=["cell"];return t.class&&i.push(t.class),t.rowClass&&i.push(t.rowClass(e)),E.jsx("td",{className:i.join(" "),style:n,children:r})}const DD={text:PD};function hu({columns:t,rows:e,classes:n,frozenColumns:r=0,maxHeight:i=400,minWidth:o,rowClasses:a=[],scrollResetOnUpdate:l=!1}){const u=T.useRef();T.useLayoutEffect(()=>{u.current&&l&&(u.current.scrollTop=0)},[e]);const d=[0];for(let b=0;b<r;b++)d[b+1]=d[b]+(t[b].width||100);const p=(b,w)=>b<r?{position:"sticky",left:`${d[b]}px`,minWidth:`${t[b].width||100}px`,width:`${t[b].width||100}px`,zIndex:w||1}:{},h=t.map((b,w)=>E.jsx("th",{className:b.headerClass||b.class||"",style:p(w,100),children:b.formatHeader?b.formatHeader(b.name,b):b.name},b.key)),A=e.map((b,w)=>{const y=t.map((P,M)=>{const D=DD[P.type||"text"];return E.jsx(D,{column:P,row:b,style:p(M)},P.key)});return E.jsx("tr",{className:a[w]||"",children:y},w)}),m={};return o&&(m.minWidth=o),E.jsx("div",{className:`grid ${n||""}`,style:{maxHeight:Number.isInteger(i)?`${i}px`:i||null},ref:u,children:E.jsxs("table",{className:"table",style:m,children:[E.jsx("thead",{children:E.jsx("tr",{children:h})}),E.jsx("tbody",{children:A})]})})}function TD({infoGroupId:t}){const e=Xn(`https://support.access-ci.org/api/1.0/affinity_groups/${t}`),n=e&&!e.error&&e.length?e[0].field_ask_ci_locale:null,r=n?`${n}.json`:null,i=Xn(r);if(!i||i.error||!i.topic_list||!i.topic_list.topics||!i.topic_list.topics.length)return;const o=[{key:"title",name:"Topic",format:(l,u)=>E.jsxs(E.Fragment,{children:[u.pinned?E.jsx(Et,{name:"pin-fill"}):null,E.jsx("a",{href:`https://ask.cyberinfrastructure.org/t/${u.slug}/${u.id}`,children:l})]})},{key:"posts_count",name:"Posts",format:l=>l.toLocaleString("en-us")},{key:"bumped_at",name:"Last Update",format:l=>new Date(l).toLocaleString("en-US",{dateStyle:"medium"})}],a=[E.jsx("a",{href:n,className:"btn secondary",children:"Ask a Question"},"ask"),E.jsx("a",{href:n,className:"btn",children:"View All Topics"},"all")];return E.jsx(_i,{title:"Questions and Answers",icon:"chat-fill",headerComponents:a,children:E.jsx(hu,{columns:o,rows:i.topic_list.topics.slice(0,5)})})}var sr="top",Vr="bottom",Wr="right",ar="left",Op="auto",Dl=[sr,Vr,Wr,ar],fa="start",Tl="end",BD="clippingParents",jv="viewport",Bl="popper",_D="reference",zv=Dl.reduce(function(t,e){return t.concat([e+"-"+fa,e+"-"+Tl])},[]),Qv=[].concat(Dl,[Op]).reduce(function(t,e){return t.concat([e,e+"-"+fa,e+"-"+Tl])},[]),ID="beforeRead",MD="read",OD="afterRead",RD="beforeMain",LD="main",ND="afterMain",FD="beforeWrite",jD="write",zD="afterWrite",QD=[ID,MD,OD,RD,LD,ND,FD,jD,zD];function Ii(t){return t?(t.nodeName||"").toLowerCase():null}function Dr(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function bs(t){var e=Dr(t).Element;return t instanceof e||t instanceof Element}function Yr(t){var e=Dr(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function Rp(t){if(typeof ShadowRoot>"u")return!1;var e=Dr(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function HD(t){var e=t.state;Object.keys(e.elements).forEach(function(n){var r=e.styles[n]||{},i=e.attributes[n]||{},o=e.elements[n];!Yr(o)||!Ii(o)||(Object.assign(o.style,r),Object.keys(i).forEach(function(a){var l=i[a];l===!1?o.removeAttribute(a):o.setAttribute(a,l===!0?"":l)}))})}function UD(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach(function(r){var i=e.elements[r],o=e.attributes[r]||{},a=Object.keys(e.styles.hasOwnProperty(r)?e.styles[r]:n[r]),l=a.reduce(function(u,d){return u[d]="",u},{});!Yr(i)||!Ii(i)||(Object.assign(i.style,l),Object.keys(o).forEach(function(u){i.removeAttribute(u)}))})}}const Hv={name:"applyStyles",enabled:!0,phase:"write",fn:HD,effect:UD,requires:["computeStyles"]};function Mi(t){return t.split("-")[0]}var xs=Math.max,Au=Math.min,pa=Math.round;function Lp(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function Uv(){return!/^((?!chrome|android).)*safari/i.test(Lp())}function ha(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!1);var r=t.getBoundingClientRect(),i=1,o=1;e&&Yr(t)&&(i=t.offsetWidth>0&&pa(r.width)/t.offsetWidth||1,o=t.offsetHeight>0&&pa(r.height)/t.offsetHeight||1);var a=bs(t)?Dr(t):window,l=a.visualViewport,u=!Uv()&&n,d=(r.left+(u&&l?l.offsetLeft:0))/i,p=(r.top+(u&&l?l.offsetTop:0))/o,h=r.width/i,A=r.height/o;return{width:h,height:A,top:p,right:d+h,bottom:p+A,left:d,x:d,y:p}}function Np(t){var e=ha(t),n=t.offsetWidth,r=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-r)<=1&&(r=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:r}}function Vv(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&Rp(n)){var r=e;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function so(t){return Dr(t).getComputedStyle(t)}function VD(t){return["table","td","th"].indexOf(Ii(t))>=0}function Lo(t){return((bs(t)?t.ownerDocument:t.document)||window.document).documentElement}function gu(t){return Ii(t)==="html"?t:t.assignedSlot||t.parentNode||(Rp(t)?t.host:null)||Lo(t)}function Wv(t){return!Yr(t)||so(t).position==="fixed"?null:t.offsetParent}function WD(t){var e=/firefox/i.test(Lp()),n=/Trident/i.test(Lp());if(n&&Yr(t)){var r=so(t);if(r.position==="fixed")return null}var i=gu(t);for(Rp(i)&&(i=i.host);Yr(i)&&["html","body"].indexOf(Ii(i))<0;){var o=so(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||e&&o.willChange==="filter"||e&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function _l(t){for(var e=Dr(t),n=Wv(t);n&&VD(n)&&so(n).position==="static";)n=Wv(n);return n&&(Ii(n)==="html"||Ii(n)==="body"&&so(n).position==="static")?e:n||WD(t)||e}function Fp(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Il(t,e,n){return xs(t,Au(e,n))}function YD(t,e,n){var r=Il(t,e,n);return r>n?n:r}function Yv(){return{top:0,right:0,bottom:0,left:0}}function qv(t){return Object.assign({},Yv(),t)}function Kv(t,e){return e.reduce(function(n,r){return n[r]=t,n},{})}var qD=function(e,n){return e=typeof e=="function"?e(Object.assign({},n.rects,{placement:n.placement})):e,qv(typeof e!="number"?e:Kv(e,Dl))};function KD(t){var e,n=t.state,r=t.name,i=t.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,l=Mi(n.placement),u=Fp(l),d=[ar,Wr].indexOf(l)>=0,p=d?"height":"width";if(!(!o||!a)){var h=qD(i.padding,n),A=Np(o),m=u==="y"?sr:ar,b=u==="y"?Vr:Wr,w=n.rects.reference[p]+n.rects.reference[u]-a[u]-n.rects.popper[p],y=a[u]-n.rects.reference[u],P=_l(o),M=P?u==="y"?P.clientHeight||0:P.clientWidth||0:0,D=w/2-y/2,C=h[m],j=M-A[p]-h[b],R=M/2-A[p]/2+D,z=Il(C,R,j),V=u;n.modifiersData[r]=(e={},e[V]=z,e.centerOffset=z-R,e)}}function GD(t){var e=t.state,n=t.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=e.elements.popper.querySelector(i),!i)||Vv(e.elements.popper,i)&&(e.elements.arrow=i))}const XD={name:"arrow",enabled:!0,phase:"main",fn:KD,effect:GD,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Aa(t){return t.split("-")[1]}var JD={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ZD(t,e){var n=t.x,r=t.y,i=e.devicePixelRatio||1;return{x:pa(n*i)/i||0,y:pa(r*i)/i||0}}function Gv(t){var e,n=t.popper,r=t.popperRect,i=t.placement,o=t.variation,a=t.offsets,l=t.position,u=t.gpuAcceleration,d=t.adaptive,p=t.roundOffsets,h=t.isFixed,A=a.x,m=A===void 0?0:A,b=a.y,w=b===void 0?0:b,y=typeof p=="function"?p({x:m,y:w}):{x:m,y:w};m=y.x,w=y.y;var P=a.hasOwnProperty("x"),M=a.hasOwnProperty("y"),D=ar,C=sr,j=window;if(d){var R=_l(n),z="clientHeight",V="clientWidth";if(R===Dr(n)&&(R=Lo(n),so(R).position!=="static"&&l==="absolute"&&(z="scrollHeight",V="scrollWidth")),R=R,i===sr||(i===ar||i===Wr)&&o===Tl){C=Vr;var K=h&&R===j&&j.visualViewport?j.visualViewport.height:R[z];w-=K-r.height,w*=u?1:-1}if(i===ar||(i===sr||i===Vr)&&o===Tl){D=Wr;var q=h&&R===j&&j.visualViewport?j.visualViewport.width:R[V];m-=q-r.width,m*=u?1:-1}}var Z=Object.assign({position:l},d&&JD),W=p===!0?ZD({x:m,y:w},Dr(n)):{x:m,y:w};if(m=W.x,w=W.y,u){var ie;return Object.assign({},Z,(ie={},ie[C]=M?"0":"",ie[D]=P?"0":"",ie.transform=(j.devicePixelRatio||1)<=1?"translate("+m+"px, "+w+"px)":"translate3d("+m+"px, "+w+"px, 0)",ie))}return Object.assign({},Z,(e={},e[C]=M?w+"px":"",e[D]=P?m+"px":"",e.transform="",e))}function $D(t){var e=t.state,n=t.options,r=n.gpuAcceleration,i=r===void 0?!0:r,o=n.adaptive,a=o===void 0?!0:o,l=n.roundOffsets,u=l===void 0?!0:l,d={placement:Mi(e.placement),variation:Aa(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:i,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,Gv(Object.assign({},d,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a,roundOffsets:u})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,Gv(Object.assign({},d,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const eT={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:$D,data:{}};var mu={passive:!0};function tT(t){var e=t.state,n=t.instance,r=t.options,i=r.scroll,o=i===void 0?!0:i,a=r.resize,l=a===void 0?!0:a,u=Dr(e.elements.popper),d=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&d.forEach(function(p){p.addEventListener("scroll",n.update,mu)}),l&&u.addEventListener("resize",n.update,mu),function(){o&&d.forEach(function(p){p.removeEventListener("scroll",n.update,mu)}),l&&u.removeEventListener("resize",n.update,mu)}}const nT={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:tT,data:{}};var rT={left:"right",right:"left",bottom:"top",top:"bottom"};function vu(t){return t.replace(/left|right|bottom|top/g,function(e){return rT[e]})}var iT={start:"end",end:"start"};function Xv(t){return t.replace(/start|end/g,function(e){return iT[e]})}function jp(t){var e=Dr(t),n=e.pageXOffset,r=e.pageYOffset;return{scrollLeft:n,scrollTop:r}}function zp(t){return ha(Lo(t)).left+jp(t).scrollLeft}function oT(t,e){var n=Dr(t),r=Lo(t),i=n.visualViewport,o=r.clientWidth,a=r.clientHeight,l=0,u=0;if(i){o=i.width,a=i.height;var d=Uv();(d||!d&&e==="fixed")&&(l=i.offsetLeft,u=i.offsetTop)}return{width:o,height:a,x:l+zp(t),y:u}}function sT(t){var e,n=Lo(t),r=jp(t),i=(e=t.ownerDocument)==null?void 0:e.body,o=xs(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=xs(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),l=-r.scrollLeft+zp(t),u=-r.scrollTop;return so(i||n).direction==="rtl"&&(l+=xs(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:l,y:u}}function Qp(t){var e=so(t),n=e.overflow,r=e.overflowX,i=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function Jv(t){return["html","body","#document"].indexOf(Ii(t))>=0?t.ownerDocument.body:Yr(t)&&Qp(t)?t:Jv(gu(t))}function Ml(t,e){var n;e===void 0&&(e=[]);var r=Jv(t),i=r===((n=t.ownerDocument)==null?void 0:n.body),o=Dr(r),a=i?[o].concat(o.visualViewport||[],Qp(r)?r:[]):r,l=e.concat(a);return i?l:l.concat(Ml(gu(a)))}function Hp(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function aT(t,e){var n=ha(t,!1,e==="fixed");return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}function Zv(t,e,n){return e===jv?Hp(oT(t,n)):bs(e)?aT(e,n):Hp(sT(Lo(t)))}function lT(t){var e=Ml(gu(t)),n=["absolute","fixed"].indexOf(so(t).position)>=0,r=n&&Yr(t)?_l(t):t;return bs(r)?e.filter(function(i){return bs(i)&&Vv(i,r)&&Ii(i)!=="body"}):[]}function cT(t,e,n,r){var i=e==="clippingParents"?lT(t):[].concat(e),o=[].concat(i,[n]),a=o[0],l=o.reduce(function(u,d){var p=Zv(t,d,r);return u.top=xs(p.top,u.top),u.right=Au(p.right,u.right),u.bottom=Au(p.bottom,u.bottom),u.left=xs(p.left,u.left),u},Zv(t,a,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function $v(t){var e=t.reference,n=t.element,r=t.placement,i=r?Mi(r):null,o=r?Aa(r):null,a=e.x+e.width/2-n.width/2,l=e.y+e.height/2-n.height/2,u;switch(i){case sr:u={x:a,y:e.y-n.height};break;case Vr:u={x:a,y:e.y+e.height};break;case Wr:u={x:e.x+e.width,y:l};break;case ar:u={x:e.x-n.width,y:l};break;default:u={x:e.x,y:e.y}}var d=i?Fp(i):null;if(d!=null){var p=d==="y"?"height":"width";switch(o){case fa:u[d]=u[d]-(e[p]/2-n[p]/2);break;case Tl:u[d]=u[d]+(e[p]/2-n[p]/2);break}}return u}function Ol(t,e){e===void 0&&(e={});var n=e,r=n.placement,i=r===void 0?t.placement:r,o=n.strategy,a=o===void 0?t.strategy:o,l=n.boundary,u=l===void 0?BD:l,d=n.rootBoundary,p=d===void 0?jv:d,h=n.elementContext,A=h===void 0?Bl:h,m=n.altBoundary,b=m===void 0?!1:m,w=n.padding,y=w===void 0?0:w,P=qv(typeof y!="number"?y:Kv(y,Dl)),M=A===Bl?_D:Bl,D=t.rects.popper,C=t.elements[b?M:A],j=cT(bs(C)?C:C.contextElement||Lo(t.elements.popper),u,p,a),R=ha(t.elements.reference),z=$v({reference:R,element:D,placement:i}),V=Hp(Object.assign({},D,z)),K=A===Bl?V:R,q={top:j.top-K.top+P.top,bottom:K.bottom-j.bottom+P.bottom,left:j.left-K.left+P.left,right:K.right-j.right+P.right},Z=t.modifiersData.offset;if(A===Bl&&Z){var W=Z[i];Object.keys(q).forEach(function(ie){var ue=[Wr,Vr].indexOf(ie)>=0?1:-1,te=[sr,Vr].indexOf(ie)>=0?"y":"x";q[ie]+=W[te]*ue})}return q}function uT(t,e){e===void 0&&(e={});var n=e,r=n.placement,i=n.boundary,o=n.rootBoundary,a=n.padding,l=n.flipVariations,u=n.allowedAutoPlacements,d=u===void 0?Qv:u,p=Aa(r),h=p?l?zv:zv.filter(function(b){return Aa(b)===p}):Dl,A=h.filter(function(b){return d.indexOf(b)>=0});A.length===0&&(A=h);var m=A.reduce(function(b,w){return b[w]=Ol(t,{placement:w,boundary:i,rootBoundary:o,padding:a})[Mi(w)],b},{});return Object.keys(m).sort(function(b,w){return m[b]-m[w]})}function dT(t){if(Mi(t)===Op)return[];var e=vu(t);return[Xv(t),e,Xv(e)]}function fT(t){var e=t.state,n=t.options,r=t.name;if(!e.modifiersData[r]._skip){for(var i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,l=a===void 0?!0:a,u=n.fallbackPlacements,d=n.padding,p=n.boundary,h=n.rootBoundary,A=n.altBoundary,m=n.flipVariations,b=m===void 0?!0:m,w=n.allowedAutoPlacements,y=e.options.placement,P=Mi(y),M=P===y,D=u||(M||!b?[vu(y)]:dT(y)),C=[y].concat(D).reduce(function(me,we){return me.concat(Mi(we)===Op?uT(e,{placement:we,boundary:p,rootBoundary:h,padding:d,flipVariations:b,allowedAutoPlacements:w}):we)},[]),j=e.rects.reference,R=e.rects.popper,z=new Map,V=!0,K=C[0],q=0;q<C.length;q++){var Z=C[q],W=Mi(Z),ie=Aa(Z)===fa,ue=[sr,Vr].indexOf(W)>=0,te=ue?"width":"height",pe=Ol(e,{placement:Z,boundary:p,rootBoundary:h,altBoundary:A,padding:d}),ee=ue?ie?Wr:ar:ie?Vr:sr;j[te]>R[te]&&(ee=vu(ee));var G=vu(ee),N=[];if(o&&N.push(pe[W]<=0),l&&N.push(pe[ee]<=0,pe[G]<=0),N.every(function(me){return me})){K=Z,V=!1;break}z.set(Z,N)}if(V)for(var de=b?3:1,I=function(we){var _e=C.find(function(Oe){var Ve=z.get(Oe);if(Ve)return Ve.slice(0,we).every(function(ze){return ze})});if(_e)return K=_e,"break"},J=de;J>0;J--){var ve=I(J);if(ve==="break")break}e.placement!==K&&(e.modifiersData[r]._skip=!0,e.placement=K,e.reset=!0)}}const pT={name:"flip",enabled:!0,phase:"main",fn:fT,requiresIfExists:["offset"],data:{_skip:!1}};function ey(t,e,n){return n===void 0&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function ty(t){return[sr,Wr,Vr,ar].some(function(e){return t[e]>=0})}function hT(t){var e=t.state,n=t.name,r=e.rects.reference,i=e.rects.popper,o=e.modifiersData.preventOverflow,a=Ol(e,{elementContext:"reference"}),l=Ol(e,{altBoundary:!0}),u=ey(a,r),d=ey(l,i,o),p=ty(u),h=ty(d);e.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:d,isReferenceHidden:p,hasPopperEscaped:h},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":h})}const AT={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:hT};function gT(t,e,n){var r=Mi(t),i=[ar,sr].indexOf(r)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},e,{placement:t})):n,a=o[0],l=o[1];return a=a||0,l=(l||0)*i,[ar,Wr].indexOf(r)>=0?{x:l,y:a}:{x:a,y:l}}function mT(t){var e=t.state,n=t.options,r=t.name,i=n.offset,o=i===void 0?[0,0]:i,a=Qv.reduce(function(p,h){return p[h]=gT(h,e.rects,o),p},{}),l=a[e.placement],u=l.x,d=l.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=u,e.modifiersData.popperOffsets.y+=d),e.modifiersData[r]=a}const vT={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:mT};function yT(t){var e=t.state,n=t.name;e.modifiersData[n]=$v({reference:e.rects.reference,element:e.rects.popper,placement:e.placement})}const bT={name:"popperOffsets",enabled:!0,phase:"read",fn:yT,data:{}};function xT(t){return t==="x"?"y":"x"}function wT(t){var e=t.state,n=t.options,r=t.name,i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,l=a===void 0?!1:a,u=n.boundary,d=n.rootBoundary,p=n.altBoundary,h=n.padding,A=n.tether,m=A===void 0?!0:A,b=n.tetherOffset,w=b===void 0?0:b,y=Ol(e,{boundary:u,rootBoundary:d,padding:h,altBoundary:p}),P=Mi(e.placement),M=Aa(e.placement),D=!M,C=Fp(P),j=xT(C),R=e.modifiersData.popperOffsets,z=e.rects.reference,V=e.rects.popper,K=typeof w=="function"?w(Object.assign({},e.rects,{placement:e.placement})):w,q=typeof K=="number"?{mainAxis:K,altAxis:K}:Object.assign({mainAxis:0,altAxis:0},K),Z=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,W={x:0,y:0};if(R){if(o){var ie,ue=C==="y"?sr:ar,te=C==="y"?Vr:Wr,pe=C==="y"?"height":"width",ee=R[C],G=ee+y[ue],N=ee-y[te],de=m?-V[pe]/2:0,I=M===fa?z[pe]:V[pe],J=M===fa?-V[pe]:-z[pe],ve=e.elements.arrow,me=m&&ve?Np(ve):{width:0,height:0},we=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:Yv(),_e=we[ue],Oe=we[te],Ve=Il(0,z[pe],me[pe]),ze=D?z[pe]/2-de-Ve-_e-q.mainAxis:I-Ve-_e-q.mainAxis,$e=D?-z[pe]/2+de+Ve+Oe+q.mainAxis:J+Ve+Oe+q.mainAxis,wt=e.elements.arrow&&_l(e.elements.arrow),Me=wt?C==="y"?wt.clientTop||0:wt.clientLeft||0:0,Ee=(ie=Z?.[C])!=null?ie:0,Xe=ee+ze-Ee-Me,Ge=ee+$e-Ee,At=Il(m?Au(G,Xe):G,ee,m?xs(N,Ge):N);R[C]=At,W[C]=At-ee}if(l){var lt,gt=C==="x"?sr:ar,yt=C==="x"?Vr:Wr,mt=R[j],Rt=j==="y"?"height":"width",dt=mt+y[gt],Ke=mt-y[yt],fn=[sr,ar].indexOf(P)!==-1,Yt=(lt=Z?.[j])!=null?lt:0,vn=fn?dt:mt-z[Rt]-V[Rt]-Yt+q.altAxis,nn=fn?mt+z[Rt]+V[Rt]-Yt-q.altAxis:Ke,_t=m&&fn?YD(vn,mt,nn):Il(m?vn:dt,mt,m?nn:Ke);R[j]=_t,W[j]=_t-mt}e.modifiersData[r]=W}}const kT={name:"preventOverflow",enabled:!0,phase:"main",fn:wT,requiresIfExists:["offset"]};function ST(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function ET(t){return t===Dr(t)||!Yr(t)?jp(t):ST(t)}function CT(t){var e=t.getBoundingClientRect(),n=pa(e.width)/t.offsetWidth||1,r=pa(e.height)/t.offsetHeight||1;return n!==1||r!==1}function PT(t,e,n){n===void 0&&(n=!1);var r=Yr(e),i=Yr(e)&&CT(e),o=Lo(e),a=ha(t,i,n),l={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(r||!r&&!n)&&((Ii(e)!=="body"||Qp(o))&&(l=ET(e)),Yr(e)?(u=ha(e,!0),u.x+=e.clientLeft,u.y+=e.clientTop):o&&(u.x=zp(o))),{x:a.left+l.scrollLeft-u.x,y:a.top+l.scrollTop-u.y,width:a.width,height:a.height}}function DT(t){var e=new Map,n=new Set,r=[];t.forEach(function(o){e.set(o.name,o)});function i(o){n.add(o.name);var a=[].concat(o.requires||[],o.requiresIfExists||[]);a.forEach(function(l){if(!n.has(l)){var u=e.get(l);u&&i(u)}}),r.push(o)}return t.forEach(function(o){n.has(o.name)||i(o)}),r}function TT(t){var e=DT(t);return QD.reduce(function(n,r){return n.concat(e.filter(function(i){return i.phase===r}))},[])}function BT(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}function _T(t){var e=t.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(e).map(function(n){return e[n]})}var ny={placement:"bottom",modifiers:[],strategy:"absolute"};function ry(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function IT(t){t===void 0&&(t={});var e=t,n=e.defaultModifiers,r=n===void 0?[]:n,i=e.defaultOptions,o=i===void 0?ny:i;return function(l,u,d){d===void 0&&(d=o);var p={placement:"bottom",orderedModifiers:[],options:Object.assign({},ny,o),modifiersData:{},elements:{reference:l,popper:u},attributes:{},styles:{}},h=[],A=!1,m={state:p,setOptions:function(P){var M=typeof P=="function"?P(p.options):P;w(),p.options=Object.assign({},o,p.options,M),p.scrollParents={reference:bs(l)?Ml(l):l.contextElement?Ml(l.contextElement):[],popper:Ml(u)};var D=TT(_T([].concat(r,p.options.modifiers)));return p.orderedModifiers=D.filter(function(C){return C.enabled}),b(),m.update()},forceUpdate:function(){if(!A){var P=p.elements,M=P.reference,D=P.popper;if(ry(M,D)){p.rects={reference:PT(M,_l(D),p.options.strategy==="fixed"),popper:Np(D)},p.reset=!1,p.placement=p.options.placement,p.orderedModifiers.forEach(function(q){return p.modifiersData[q.name]=Object.assign({},q.data)});for(var C=0;C<p.orderedModifiers.length;C++){if(p.reset===!0){p.reset=!1,C=-1;continue}var j=p.orderedModifiers[C],R=j.fn,z=j.options,V=z===void 0?{}:z,K=j.name;typeof R=="function"&&(p=R({state:p,options:V,name:K,instance:m})||p)}}}},update:BT(function(){return new Promise(function(y){m.forceUpdate(),y(p)})}),destroy:function(){w(),A=!0}};if(!ry(l,u))return m;m.setOptions(d).then(function(y){!A&&d.onFirstUpdate&&d.onFirstUpdate(y)});function b(){p.orderedModifiers.forEach(function(y){var P=y.name,M=y.options,D=M===void 0?{}:M,C=y.effect;if(typeof C=="function"){var j=C({state:p,name:P,instance:m,options:D}),R=function(){};h.push(j||R)}})}function w(){h.forEach(function(y){return y()}),h=[]}return m}}var MT=[nT,bT,eT,Hv,vT,pT,kT,XD,AT],OT=IT({defaultModifiers:MT}),RT="tippy-box",iy="tippy-content",LT="tippy-backdrop",oy="tippy-arrow",sy="tippy-svg-arrow",ws={passive:!0,capture:!0},ay=function(){return document.body};function Up(t,e,n){if(Array.isArray(t)){var r=t[e];return r??(Array.isArray(n)?n[e]:n)}return t}function Vp(t,e){var n={}.toString.call(t);return n.indexOf("[object")===0&&n.indexOf(e+"]")>-1}function ly(t,e){return typeof t=="function"?t.apply(void 0,e):t}function cy(t,e){if(e===0)return t;var n;return function(r){clearTimeout(n),n=setTimeout(function(){t(r)},e)}}function NT(t){return t.split(/\s+/).filter(Boolean)}function ga(t){return[].concat(t)}function uy(t,e){t.indexOf(e)===-1&&t.push(e)}function FT(t){return t.filter(function(e,n){return t.indexOf(e)===n})}function jT(t){return t.split("-")[0]}function yu(t){return[].slice.call(t)}function dy(t){return Object.keys(t).reduce(function(e,n){return t[n]!==void 0&&(e[n]=t[n]),e},{})}function Rl(){return document.createElement("div")}function bu(t){return["Element","Fragment"].some(function(e){return Vp(t,e)})}function zT(t){return Vp(t,"NodeList")}function QT(t){return Vp(t,"MouseEvent")}function HT(t){return!!(t&&t._tippy&&t._tippy.reference===t)}function UT(t){return bu(t)?[t]:zT(t)?yu(t):Array.isArray(t)?t:yu(document.querySelectorAll(t))}function Wp(t,e){t.forEach(function(n){n&&(n.style.transitionDuration=e+"ms")})}function fy(t,e){t.forEach(function(n){n&&n.setAttribute("data-state",e)})}function VT(t){var e,n=ga(t),r=n[0];return r!=null&&(e=r.ownerDocument)!=null&&e.body?r.ownerDocument:document}function WT(t,e){var n=e.clientX,r=e.clientY;return t.every(function(i){var o=i.popperRect,a=i.popperState,l=i.props,u=l.interactiveBorder,d=jT(a.placement),p=a.modifiersData.offset;if(!p)return!0;var h=d==="bottom"?p.top.y:0,A=d==="top"?p.bottom.y:0,m=d==="right"?p.left.x:0,b=d==="left"?p.right.x:0,w=o.top-r+h>u,y=r-o.bottom-A>u,P=o.left-n+m>u,M=n-o.right-b>u;return w||y||P||M})}function Yp(t,e,n){var r=e+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(i){t[r](i,n)})}function py(t,e){for(var n=e;n;){var r;if(t.contains(n))return!0;n=n.getRootNode==null||(r=n.getRootNode())==null?void 0:r.host}return!1}var Oi={isTouch:!1},hy=0;function YT(){Oi.isTouch||(Oi.isTouch=!0,window.performance&&document.addEventListener("mousemove",Ay))}function Ay(){var t=performance.now();t-hy<20&&(Oi.isTouch=!1,document.removeEventListener("mousemove",Ay)),hy=t}function qT(){var t=document.activeElement;if(HT(t)){var e=t._tippy;t.blur&&!e.state.isVisible&&t.blur()}}function KT(){document.addEventListener("touchstart",YT,ws),window.addEventListener("blur",qT)}var GT=typeof window<"u"&&typeof document<"u",XT=GT?!!window.msCrypto:!1,JT={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},ZT={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},si=Object.assign({appendTo:ay,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},JT,ZT),$T=Object.keys(si),eB=function(e){var n=Object.keys(e);n.forEach(function(r){si[r]=e[r]})};function gy(t){var e=t.plugins||[],n=e.reduce(function(r,i){var o=i.name,a=i.defaultValue;if(o){var l;r[o]=t[o]!==void 0?t[o]:(l=si[o])!=null?l:a}return r},{});return Object.assign({},t,n)}function tB(t,e){var n=e?Object.keys(gy(Object.assign({},si,{plugins:e}))):$T,r=n.reduce(function(i,o){var a=(t.getAttribute("data-tippy-"+o)||"").trim();if(!a)return i;if(o==="content")i[o]=a;else try{i[o]=JSON.parse(a)}catch{i[o]=a}return i},{});return r}function my(t,e){var n=Object.assign({},e,{content:ly(e.content,[t])},e.ignoreAttributes?{}:tB(t,e.plugins));return n.aria=Object.assign({},si.aria,n.aria),n.aria={expanded:n.aria.expanded==="auto"?e.interactive:n.aria.expanded,content:n.aria.content==="auto"?e.interactive?null:"describedby":n.aria.content},n}var nB=function(){return"innerHTML"};function qp(t,e){t[nB()]=e}function vy(t){var e=Rl();return t===!0?e.className=oy:(e.className=sy,bu(t)?e.appendChild(t):qp(e,t)),e}function yy(t,e){bu(e.content)?(qp(t,""),t.appendChild(e.content)):typeof e.content!="function"&&(e.allowHTML?qp(t,e.content):t.textContent=e.content)}function Kp(t){var e=t.firstElementChild,n=yu(e.children);return{box:e,content:n.find(function(r){return r.classList.contains(iy)}),arrow:n.find(function(r){return r.classList.contains(oy)||r.classList.contains(sy)}),backdrop:n.find(function(r){return r.classList.contains(LT)})}}function by(t){var e=Rl(),n=Rl();n.className=RT,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=Rl();r.className=iy,r.setAttribute("data-state","hidden"),yy(r,t.props),e.appendChild(n),n.appendChild(r),i(t.props,t.props);function i(o,a){var l=Kp(e),u=l.box,d=l.content,p=l.arrow;a.theme?u.setAttribute("data-theme",a.theme):u.removeAttribute("data-theme"),typeof a.animation=="string"?u.setAttribute("data-animation",a.animation):u.removeAttribute("data-animation"),a.inertia?u.setAttribute("data-inertia",""):u.removeAttribute("data-inertia"),u.style.maxWidth=typeof a.maxWidth=="number"?a.maxWidth+"px":a.maxWidth,a.role?u.setAttribute("role",a.role):u.removeAttribute("role"),(o.content!==a.content||o.allowHTML!==a.allowHTML)&&yy(d,t.props),a.arrow?p?o.arrow!==a.arrow&&(u.removeChild(p),u.appendChild(vy(a.arrow))):u.appendChild(vy(a.arrow)):p&&u.removeChild(p)}return{popper:e,onUpdate:i}}by.$$tippy=!0;var rB=1,xu=[],Gp=[];function iB(t,e){var n=my(t,Object.assign({},si,gy(dy(e)))),r,i,o,a=!1,l=!1,u=!1,d=!1,p,h,A,m=[],b=cy(Xe,n.interactiveDebounce),w,y=rB++,P=null,M=FT(n.plugins),D={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},C={id:y,reference:t,popper:Rl(),popperInstance:P,props:n,state:D,plugins:M,clearDelayTimeouts:vn,setProps:nn,setContent:_t,show:fe,hide:Le,hideWithInteractivity:Be,enable:fn,disable:Yt,unmount:ct,destroy:We};if(!n.render)return C;var j=n.render(C),R=j.popper,z=j.onUpdate;R.setAttribute("data-tippy-root",""),R.id="tippy-"+C.id,C.popper=R,t._tippy=C,R._tippy=C;var V=M.map(function(le){return le.fn(C)}),K=t.hasAttribute("aria-expanded");return wt(),de(),ee(),G("onCreate",[C]),n.showOnCreate&&dt(),R.addEventListener("mouseenter",function(){C.props.interactive&&C.state.isVisible&&C.clearDelayTimeouts()}),R.addEventListener("mouseleave",function(){C.props.interactive&&C.props.trigger.indexOf("mouseenter")>=0&&ue().addEventListener("mousemove",b)}),C;function q(){var le=C.props.touch;return Array.isArray(le)?le:[le,0]}function Z(){return q()[0]==="hold"}function W(){var le;return!!((le=C.props.render)!=null&&le.$$tippy)}function ie(){return w||t}function ue(){var le=ie().parentNode;return le?VT(le):document}function te(){return Kp(R)}function pe(le){return C.state.isMounted&&!C.state.isVisible||Oi.isTouch||p&&p.type==="focus"?0:Up(C.props.delay,le?0:1,si.delay)}function ee(le){le===void 0&&(le=!1),R.style.pointerEvents=C.props.interactive&&!le?"":"none",R.style.zIndex=""+C.props.zIndex}function G(le,Ce,Te){if(Te===void 0&&(Te=!0),V.forEach(function(He){He[le]&&He[le].apply(He,Ce)}),Te){var qe;(qe=C.props)[le].apply(qe,Ce)}}function N(){var le=C.props.aria;if(le.content){var Ce="aria-"+le.content,Te=R.id,qe=ga(C.props.triggerTarget||t);qe.forEach(function(He){var Ne=He.getAttribute(Ce);if(C.state.isVisible)He.setAttribute(Ce,Ne?Ne+" "+Te:Te);else{var bt=Ne&&Ne.replace(Te,"").trim();bt?He.setAttribute(Ce,bt):He.removeAttribute(Ce)}})}}function de(){if(!(K||!C.props.aria.expanded)){var le=ga(C.props.triggerTarget||t);le.forEach(function(Ce){C.props.interactive?Ce.setAttribute("aria-expanded",C.state.isVisible&&Ce===ie()?"true":"false"):Ce.removeAttribute("aria-expanded")})}}function I(){ue().removeEventListener("mousemove",b),xu=xu.filter(function(le){return le!==b})}function J(le){if(!(Oi.isTouch&&(u||le.type==="mousedown"))){var Ce=le.composedPath&&le.composedPath()[0]||le.target;if(!(C.props.interactive&&py(R,Ce))){if(ga(C.props.triggerTarget||t).some(function(Te){return py(Te,Ce)})){if(Oi.isTouch||C.state.isVisible&&C.props.trigger.indexOf("click")>=0)return}else G("onClickOutside",[C,le]);C.props.hideOnClick===!0&&(C.clearDelayTimeouts(),C.hide(),l=!0,setTimeout(function(){l=!1}),C.state.isMounted||_e())}}}function ve(){u=!0}function me(){u=!1}function we(){var le=ue();le.addEventListener("mousedown",J,!0),le.addEventListener("touchend",J,ws),le.addEventListener("touchstart",me,ws),le.addEventListener("touchmove",ve,ws)}function _e(){var le=ue();le.removeEventListener("mousedown",J,!0),le.removeEventListener("touchend",J,ws),le.removeEventListener("touchstart",me,ws),le.removeEventListener("touchmove",ve,ws)}function Oe(le,Ce){ze(le,function(){!C.state.isVisible&&R.parentNode&&R.parentNode.contains(R)&&Ce()})}function Ve(le,Ce){ze(le,Ce)}function ze(le,Ce){var Te=te().box;function qe(He){He.target===Te&&(Yp(Te,"remove",qe),Ce())}if(le===0)return Ce();Yp(Te,"remove",h),Yp(Te,"add",qe),h=qe}function $e(le,Ce,Te){Te===void 0&&(Te=!1);var qe=ga(C.props.triggerTarget||t);qe.forEach(function(He){He.addEventListener(le,Ce,Te),m.push({node:He,eventType:le,handler:Ce,options:Te})})}function wt(){Z()&&($e("touchstart",Ee,{passive:!0}),$e("touchend",Ge,{passive:!0})),NT(C.props.trigger).forEach(function(le){if(le!=="manual")switch($e(le,Ee),le){case"mouseenter":$e("mouseleave",Ge);break;case"focus":$e(XT?"focusout":"blur",At);break;case"focusin":$e("focusout",At);break}})}function Me(){m.forEach(function(le){var Ce=le.node,Te=le.eventType,qe=le.handler,He=le.options;Ce.removeEventListener(Te,qe,He)}),m=[]}function Ee(le){var Ce,Te=!1;if(!(!C.state.isEnabled||lt(le)||l)){var qe=((Ce=p)==null?void 0:Ce.type)==="focus";p=le,w=le.currentTarget,de(),!C.state.isVisible&&QT(le)&&xu.forEach(function(He){return He(le)}),le.type==="click"&&(C.props.trigger.indexOf("mouseenter")<0||a)&&C.props.hideOnClick!==!1&&C.state.isVisible?Te=!0:dt(le),le.type==="click"&&(a=!Te),Te&&!qe&&Ke(le)}}function Xe(le){var Ce=le.target,Te=ie().contains(Ce)||R.contains(Ce);if(!(le.type==="mousemove"&&Te)){var qe=Rt().concat(R).map(function(He){var Ne,bt=He._tippy,xt=(Ne=bt.popperInstance)==null?void 0:Ne.state;return xt?{popperRect:He.getBoundingClientRect(),popperState:xt,props:n}:null}).filter(Boolean);WT(qe,le)&&(I(),Ke(le))}}function Ge(le){var Ce=lt(le)||C.props.trigger.indexOf("click")>=0&&a;if(!Ce){if(C.props.interactive){C.hideWithInteractivity(le);return}Ke(le)}}function At(le){C.props.trigger.indexOf("focusin")<0&&le.target!==ie()||C.props.interactive&&le.relatedTarget&&R.contains(le.relatedTarget)||Ke(le)}function lt(le){return Oi.isTouch?Z()!==le.type.indexOf("touch")>=0:!1}function gt(){yt();var le=C.props,Ce=le.popperOptions,Te=le.placement,qe=le.offset,He=le.getReferenceClientRect,Ne=le.moveTransition,bt=W()?Kp(R).arrow:null,xt=He?{getBoundingClientRect:He,contextElement:He.contextElement||ie()}:t,ot={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(rn){var Ut=rn.state;if(W()){var an=te(),zt=an.box;["placement","reference-hidden","escaped"].forEach(function(Sn){Sn==="placement"?zt.setAttribute("data-placement",Ut.placement):Ut.attributes.popper["data-popper-"+Sn]?zt.setAttribute("data-"+Sn,""):zt.removeAttribute("data-"+Sn)}),Ut.attributes.popper={}}}},Zt=[{name:"offset",options:{offset:qe}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!Ne}},ot];W()&&bt&&Zt.push({name:"arrow",options:{element:bt,padding:3}}),Zt.push.apply(Zt,Ce?.modifiers||[]),C.popperInstance=OT(xt,R,Object.assign({},Ce,{placement:Te,onFirstUpdate:A,modifiers:Zt}))}function yt(){C.popperInstance&&(C.popperInstance.destroy(),C.popperInstance=null)}function mt(){var le=C.props.appendTo,Ce,Te=ie();C.props.interactive&&le===ay||le==="parent"?Ce=Te.parentNode:Ce=ly(le,[Te]),Ce.contains(R)||Ce.appendChild(R),C.state.isMounted=!0,gt()}function Rt(){return yu(R.querySelectorAll("[data-tippy-root]"))}function dt(le){C.clearDelayTimeouts(),le&&G("onTrigger",[C,le]),we();var Ce=pe(!0),Te=q(),qe=Te[0],He=Te[1];Oi.isTouch&&qe==="hold"&&He&&(Ce=He),Ce?r=setTimeout(function(){C.show()},Ce):C.show()}function Ke(le){if(C.clearDelayTimeouts(),G("onUntrigger",[C,le]),!C.state.isVisible){_e();return}if(!(C.props.trigger.indexOf("mouseenter")>=0&&C.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(le.type)>=0&&a)){var Ce=pe(!1);Ce?i=setTimeout(function(){C.state.isVisible&&C.hide()},Ce):o=requestAnimationFrame(function(){C.hide()})}}function fn(){C.state.isEnabled=!0}function Yt(){C.hide(),C.state.isEnabled=!1}function vn(){clearTimeout(r),clearTimeout(i),cancelAnimationFrame(o)}function nn(le){if(!C.state.isDestroyed){G("onBeforeUpdate",[C,le]),Me();var Ce=C.props,Te=my(t,Object.assign({},Ce,dy(le),{ignoreAttributes:!0}));C.props=Te,wt(),Ce.interactiveDebounce!==Te.interactiveDebounce&&(I(),b=cy(Xe,Te.interactiveDebounce)),Ce.triggerTarget&&!Te.triggerTarget?ga(Ce.triggerTarget).forEach(function(qe){qe.removeAttribute("aria-expanded")}):Te.triggerTarget&&t.removeAttribute("aria-expanded"),de(),ee(),z&&z(Ce,Te),C.popperInstance&&(gt(),Rt().forEach(function(qe){requestAnimationFrame(qe._tippy.popperInstance.forceUpdate)})),G("onAfterUpdate",[C,le])}}function _t(le){C.setProps({content:le})}function fe(){var le=C.state.isVisible,Ce=C.state.isDestroyed,Te=!C.state.isEnabled,qe=Oi.isTouch&&!C.props.touch,He=Up(C.props.duration,0,si.duration);if(!(le||Ce||Te||qe)&&!ie().hasAttribute("disabled")&&(G("onShow",[C],!1),C.props.onShow(C)!==!1)){if(C.state.isVisible=!0,W()&&(R.style.visibility="visible"),ee(),we(),C.state.isMounted||(R.style.transition="none"),W()){var Ne=te(),bt=Ne.box,xt=Ne.content;Wp([bt,xt],0)}A=function(){var Zt;if(!(!C.state.isVisible||d)){if(d=!0,R.offsetHeight,R.style.transition=C.props.moveTransition,W()&&C.props.animation){var qt=te(),rn=qt.box,Ut=qt.content;Wp([rn,Ut],He),fy([rn,Ut],"visible")}N(),de(),uy(Gp,C),(Zt=C.popperInstance)==null||Zt.forceUpdate(),G("onMount",[C]),C.props.animation&&W()&&Ve(He,function(){C.state.isShown=!0,G("onShown",[C])})}},mt()}}function Le(){var le=!C.state.isVisible,Ce=C.state.isDestroyed,Te=!C.state.isEnabled,qe=Up(C.props.duration,1,si.duration);if(!(le||Ce||Te)&&(G("onHide",[C],!1),C.props.onHide(C)!==!1)){if(C.state.isVisible=!1,C.state.isShown=!1,d=!1,a=!1,W()&&(R.style.visibility="hidden"),I(),_e(),ee(!0),W()){var He=te(),Ne=He.box,bt=He.content;C.props.animation&&(Wp([Ne,bt],qe),fy([Ne,bt],"hidden"))}N(),de(),C.props.animation?W()&&Oe(qe,C.unmount):C.unmount()}}function Be(le){ue().addEventListener("mousemove",b),uy(xu,b),b(le)}function ct(){C.state.isVisible&&C.hide(),C.state.isMounted&&(yt(),Rt().forEach(function(le){le._tippy.unmount()}),R.parentNode&&R.parentNode.removeChild(R),Gp=Gp.filter(function(le){return le!==C}),C.state.isMounted=!1,G("onHidden",[C]))}function We(){C.state.isDestroyed||(C.clearDelayTimeouts(),C.unmount(),Me(),delete t._tippy,C.state.isDestroyed=!0,G("onDestroy",[C]))}}function Ll(t,e){e===void 0&&(e={});var n=si.plugins.concat(e.plugins||[]);KT();var r=Object.assign({},e,{plugins:n}),i=UT(t),o=i.reduce(function(a,l){var u=l&&iB(l,r);return u&&a.push(u),a},[]);return bu(t)?o[0]:o}Ll.defaultProps=si,Ll.setDefaultProps=eB,Ll.currentInput=Oi,Object.assign({},Hv,{effect:function(e){var n=e.state,r={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(n.elements.popper.style,r.popper),n.styles=r,n.elements.arrow&&Object.assign(n.elements.arrow.style,r.arrow)}}),Ll.setDefaultProps({render:by});function oB({color:t="var(--contrast-6)",icon:e="info-circle-fill",tooltip:n}){const r=T.useRef(null);return T.useLayoutEffect(()=>{r.current&&Ll(r.current,{content:n,theme:"access",appendTo:r.current.parentElement})},[r.current]),E.jsx("button",{className:"info-tip",style:{color:t},ref:r,children:E.jsx(Et,{name:e})})}function sB({infoGroupId:t}){const e=Xn(`https://support.access-ci.org/api/1.0/kb/${t}`);if(!(!e||e.error||!e.length))return E.jsx(_i,{title:"Documentation",icon:"book",children:E.jsx("ul",{children:e.map(({title:n,description:r,link:i})=>E.jsxs("li",{children:[E.jsx("a",{href:Og(i),children:n}),r?E.jsx(oB,{tooltip:mf(r)}):null]},n))})})}function aB({children:t,icon:e="megaphone-fill"}){return E.jsxs("div",{className:"alert",children:[e?E.jsx(Et,{name:e}):null,E.jsx("div",{className:"alert-body",children:t})]})}function lB({children:t}){const[e,n]=T.useState(!1);return E.jsxs("div",{className:`expand-text ${e?"expanded":"contracted"}`,children:[t,E.jsxs("button",{className:"expand-button",onClick:()=>n(!e),children:[E.jsx(Et,{name:`caret-${e?"up":"left"}-fill`}),e?"Less":"More"]})]})}function cB({date__end:t,date__start:e,description:n,location:r,registration:i,speaker:o,title:a}){const l=i,u=l?E.jsx("a",{href:l,children:a}):a,d=[];let p=null;const h=e,A=t;if(h){const m=new Date(h),b=new Date(A||h),[w,y]=[m,b].map(R=>R.toLocaleString("en-US",{dateStyle:"long"})),[P,M]=[m,b].map(R=>R.toLocaleString("en-US",{timeStyle:"short"})),D=m.toLocaleTimeString("en-US",{timeZoneName:"short"}).split(" ")[2],C=[`${w},`,P];(M!=P||y!=w)&&(C.push("-"),y!=w&&C.push(`${y},`),C.push(M)),C.push(`(${D})`),d.push(E.jsx(Et,{name:"calendar"}),C.join(" ")),o&&d.push(E.jsx(Et,{name:"people-fill"}),o),r&&d.push(E.jsx(Et,{name:"geo-alt-fill"}),r);const j=m.toLocaleString("en-US",{dateStyle:"medium"}).split(",")[0].split(" ").map(R=>E.jsx("span",{children:R},R));p=l?E.jsx("a",{href:l,className:"event-icon",children:j}):E.jsx("div",{className:"event-icon",children:j})}return E.jsxs("div",{className:"event",children:[p,E.jsxs("div",{className:"event-details",children:[E.jsx("h3",{children:u}),d.length?E.jsx("div",{className:"event-metadata",children:d}):null,n?E.jsx(lB,{children:E.jsx("div",{children:vf(n)})}):null]})]})}function uB({infoGroupId:t}){const e=al(t),n=Xn("https://operations-api.access-ci.org/wh2/news/v1/affiliation/access-ci.org/current_outages/"),r=Xn("https://operations-api.access-ci.org/wh2/news/v1/affiliation/access-ci.org/future_outages/"),i=Xn(`https://support.access-ci.org/api/1.1/events/ag/${t}`),o=gf([e,n,r],(l,u,d)=>[...u.results,...d.results].filter(p=>p.AffectedResources.some(h=>l.infoResourceIds.includes(h.ResourceID))),[]),a=gf([i],l=>l.filter(u=>new Date(u.date__start)>=new Date),[]);if(!(!o.length&&!a.length))return E.jsxs(_i,{title:"Announcements and Events",icon:"calendar3",children:[o.map(({Subject:l,Content:u})=>E.jsxs(aB,{children:[l," ",E.jsx("a",{href:"https://operations.access-ci.org/infrastructure_news_view",children:"Learn more."})]},l)),a.map(l=>E.jsx(cB,{...l},l.title))]})}function dB({children:t,headingLevel:e=2,title:n}){const[r,i]=T.useState(!1),o=`h${e}`;return E.jsxs("div",{className:"accordion",children:[E.jsx(o,{className:"accordion-heading",children:E.jsxs("button",{"aria-expanded":r,onClick:()=>i(!r),children:[n,E.jsx(Et,{name:r?"caret-up-fill":"caret-down-fill"})]})}),E.jsx("div",{className:"accordion-content",style:{display:r?"block":"none"},children:t})]})}function fB({resource_descriptive_name:t,resource_description:e,compute:n,storage:r}){const i=(n||r||{}).recommended_use;return E.jsxs(dB,{title:t,children:[e?vf(e):null,i?E.jsxs(E.Fragment,{children:[E.jsx("h3",{children:"Recommended Use"}),vf(i)]}):null]})}function pB({infoGroupId:t}){const e=al(t),n=Xn(e?e.infoResourceIds.map(u=>`https://operations-api.access-ci.org/wh2/cider/v1/info_resourceid/${u}/?format=json`):null,{defaultValue:[]}),r=n.filter(u=>u.results&&u.results.cider_type=="Compute").map(u=>({...u.results.compute,key:u.results.info_resourceid,name:u.results.resource_descriptive_name,format:(d,p)=>{const h=u.results.compute[p.attr];return p.format&&h?p.format(h,p):h||E.jsx(E.Fragment,{children:"—"})}})),i=n.length?[{name:"Nodes",attr:"node_count",format:u=>u.toLocaleString("en-us")},{name:"CPU Type",attr:"cpu_type"},{name:"CPU Speed",attr:"cpu_speed_ghz",format:u=>`${u} Ghz`},{name:"CPU Cores per Node",attr:"cpu_count_per_node"},{name:"RAM per CPU Core",attr:"memory_per_cpu_gb",format:u=>`${u.toLocaleString("en-us")} GB`},{name:"GPU",attr:"gpu_description"},{name:"Local Storage per Node",attr:"local_storage_per_node_gb",format:u=>`${u.toLocaleString("en-us")} GB`},{name:"Network Interconnect",attr:"interconnect"},{name:"Operating System",attr:"operating_system"},{name:"Batch System",attr:"batch_system"}].filter(u=>r.some(d=>d[u.attr])):[],o={key:"name",name:"Attribute",format:u=>E.jsx("strong",{children:u})},a=r.length>0&&i.length>0,l={compute:[],storage:[],other:[]};for(let{results:u}of n)(l[u.cider_type.toLowerCase()]||l.other).push(E.jsx(fB,{...u},u.resource_descriptive_name));return E.jsxs(E.Fragment,{children:[a||l.compute.length>0?E.jsxs(_i,{title:"Compute Resources",icon:"cpu-fill",children:[l.compute,a&&E.jsxs(E.Fragment,{children:[E.jsx("h3",{children:"Specifications"}),E.jsx(hu,{columns:[o,...r],rows:i,maxHeight:null})]})]}):null,l.storage.length>0?E.jsx(_i,{title:"Storage Resources",icon:"hdd-fill",children:l.storage}):null,l.other.length>0?E.jsx(_i,{title:"Other Resources",icon:"stars",children:l.other}):null]})}function xy(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function wy(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?xy(Object(n),!0).forEach(function(r){AB(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):xy(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function wu(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?wu=function(e){return typeof e}:wu=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},wu(t)}function ku(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function hB(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Su(t,e,n){return e&&hB(t.prototype,e),t}function AB(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function gB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Xp(t,e)}function ma(t){return ma=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ma(t)}function Xp(t,e){return Xp=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},Xp(t,e)}function mB(){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 vB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function yB(t,e){if(e&&(typeof e=="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return vB(t)}function bB(t){var e=mB();return function(){var r=ma(t),i;if(e){var o=ma(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return yB(this,i)}}function xB(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=ma(t),t!==null););return t}function Eu(){return typeof Reflect<"u"&&Reflect.get?Eu=Reflect.get:Eu=function(e,n,r){var i=xB(e,n);if(i){var o=Object.getOwnPropertyDescriptor(i,n);return o.get?o.get.call(arguments.length<3?e:r):o.value}},Eu.apply(this,arguments)}var wB={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 No(t){console.error("[Glide warn]: ".concat(t))}function ai(t){return parseInt(t)}function Jp(t){return typeof t=="string"}function Nl(t){var e=wu(t);return e==="function"||e==="object"&&!!t}function Cu(t){return typeof t=="function"}function kB(t){return typeof t>"u"}function Zp(t){return t.constructor===Array}function SB(t,e,n){var r={};for(var i in e)Cu(e[i])?r[i]=e[i](t,r,n):No("Extension must be a function");for(var o in r)Cu(r[o].mount)&&r[o].mount();return r}function tn(t,e,n){Object.defineProperty(t,e,n)}function ky(t,e){var n=Object.assign({},t,e);if(e.hasOwnProperty("classes")){n.classes=Object.assign({},t.classes,e.classes);var r=["direction","type","slide","arrow","nav"];r.forEach(function(i){e.classes.hasOwnProperty(i)&&(n.classes[i]=wy(wy({},t.classes[i]),e.classes[i]))})}return e.hasOwnProperty("breakpoints")&&(n.breakpoints=Object.assign({},t.breakpoints,e.breakpoints)),n}var EB=(function(){function t(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ku(this,t),this.events=e,this.hop=e.hasOwnProperty}return Su(t,[{key:"on",value:function(n,r){if(Zp(n)){for(var i=0;i<n.length;i++)this.on(n[i],r);return}this.hop.call(this.events,n)||(this.events[n]=[]);var o=this.events[n].push(r)-1;return{remove:function(){delete this.events[n][o]}}}},{key:"emit",value:function(n,r){if(Zp(n)){for(var i=0;i<n.length;i++)this.emit(n[i],r);return}this.hop.call(this.events,n)&&this.events[n].forEach(function(o){o(r||{})})}}]),t})(),CB=(function(){function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};ku(this,t),this._c={},this._t=[],this._e=new EB,this.disabled=!1,this.selector=e,this.settings=ky(wB,n),this.index=this.settings.startAt}return Su(t,[{key:"mount",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this._e.emit("mount.before"),Nl(n)?this._c=SB(this,n,this._e):No("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 Zp(n)?this._t=n:No("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=ky(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,r){return this._e.on(n,r),this}},{key:"isType",value:function(n){return this.settings.type===n}},{key:"settings",get:function(){return this._o},set:function(n){Nl(n)?this._o=n:No("Options must be an `object` instance.")}},{key:"index",get:function(){return this._i},set:function(n){this._i=ai(n)}},{key:"type",get:function(){return this.settings.type}},{key:"disabled",get:function(){return this._d},set:function(n){this._d=!!n}}]),t})();function PB(t,e,n){var r={mount:function(){this._o=!1},make:function(d){var p=this;t.disabled||(!t.settings.waitForTransition||t.disable(),this.move=d,n.emit("run.before",this.move),this.calculate(),n.emit("run",this.move),e.Transition.after(function(){p.isStart()&&n.emit("run.start",p.move),p.isEnd()&&n.emit("run.end",p.move),p.isOffset()&&(p._o=!1,n.emit("run.offset",p.move)),n.emit("run.after",p.move),t.enable()}))},calculate:function(){var d=this.move,p=this.length,h=d.steps,A=d.direction,m=1;if(A==="="){if(t.settings.bound&&ai(h)>p){t.index=p;return}t.index=h;return}if(A===">"&&h===">"){t.index=p;return}if(A==="<"&&h==="<"){t.index=0;return}if(A==="|"&&(m=t.settings.perView||1),A===">"||A==="|"&&h===">"){var b=i(m);b>p&&(this._o=!0),t.index=o(b,m);return}if(A==="<"||A==="|"&&h==="<"){var w=a(m);w<0&&(this._o=!0),t.index=l(w,m);return}No("Invalid direction pattern [".concat(A).concat(h,"] has been used"))},isStart:function(){return t.index<=0},isEnd:function(){return t.index>=this.length},isOffset:function(){var d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:void 0;return d?this._o?d==="|>"?this.move.direction==="|"&&this.move.steps===">":d==="|<"?this.move.direction==="|"&&this.move.steps==="<":this.move.direction===d:!1:this._o},isBound:function(){return t.isType("slider")&&t.settings.focusAt!=="center"&&t.settings.bound}};function i(u){var d=t.index;return t.isType("carousel")?d+u:d+(u-d%u)}function o(u,d){var p=r.length;return u<=p?u:t.isType("carousel")?u-(p+1):t.settings.rewind?r.isBound()&&!r.isEnd()?p:0:r.isBound()?p:Math.floor(p/d)*d}function a(u){var d=t.index;if(t.isType("carousel"))return d-u;var p=Math.ceil(d/u);return(p-1)*u}function l(u,d){var p=r.length;return u>=0?u:t.isType("carousel")?u+(p+1):t.settings.rewind?r.isBound()&&r.isStart()?p:Math.floor(p/d)*d:0}return tn(r,"move",{get:function(){return this._m},set:function(d){var p=d.substr(1);this._m={direction:d.substr(0,1),steps:p?ai(p)?ai(p):p:0}}}),tn(r,"length",{get:function(){var d=t.settings,p=e.Html.slides.length;return this.isBound()?p-1-(ai(d.perView)-1)+ai(d.focusAt):p-1}}),tn(r,"offset",{get:function(){return this._o}}),r}function Sy(){return new Date().getTime()}function Ey(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r,i,o,a,l=0,u=function(){l=n.leading===!1?0:Sy(),r=null,a=t.apply(i,o),r||(i=o=null)},d=function(){var h=Sy();!l&&n.leading===!1&&(l=h);var A=e-(h-l);return i=this,o=arguments,A<=0||A>e?(r&&(clearTimeout(r),r=null),l=h,a=t.apply(i,o),r||(i=o=null)):!r&&n.trailing!==!1&&(r=setTimeout(u,A)),a};return d.cancel=function(){clearTimeout(r),l=0,r=i=o=null},d}var Pu={ltr:["marginLeft","marginRight"],rtl:["marginRight","marginLeft"]};function DB(t,e,n){var r={apply:function(o){for(var a=0,l=o.length;a<l;a++){var u=o[a].style,d=e.Direction.value;a!==0?u[Pu[d][0]]="".concat(this.value/2,"px"):u[Pu[d][0]]="",a!==o.length-1?u[Pu[d][1]]="".concat(this.value/2,"px"):u[Pu[d][1]]=""}},remove:function(o){for(var a=0,l=o.length;a<l;a++){var u=o[a].style;u.marginLeft="",u.marginRight=""}}};return tn(r,"value",{get:function(){return ai(t.settings.gap)}}),tn(r,"grow",{get:function(){return r.value*e.Sizes.length}}),tn(r,"reductor",{get:function(){var o=t.settings.perView;return r.value*(o-1)/o}}),n.on(["build.after","update"],Ey(function(){r.apply(e.Html.wrapper.children)},30)),n.on("destroy",function(){r.remove(e.Html.wrapper.children)}),r}function Cy(t){if(t&&t.parentNode){for(var e=t.parentNode.firstChild,n=[];e;e=e.nextSibling)e.nodeType===1&&e!==t&&n.push(e);return n}return[]}function $p(t){return Array.prototype.slice.call(t)}var TB='[data-glide-el="track"]';function BB(t,e,n){var r={mount:function(){this.root=t.selector,this.track=this.root.querySelector(TB),this.collectSlides()},collectSlides:function(){this.slides=$p(this.wrapper.children).filter(function(o){return!o.classList.contains(t.settings.classes.slide.clone)})}};return tn(r,"root",{get:function(){return r._r},set:function(o){Jp(o)&&(o=document.querySelector(o)),o!==null?r._r=o:No("Root element must be a existing Html node")}}),tn(r,"track",{get:function(){return r._t},set:function(o){r._t=o}}),tn(r,"wrapper",{get:function(){return r.track.children[0]}}),n.on("update",function(){r.collectSlides()}),r}function _B(t,e,n){var r={mount:function(){this.value=t.settings.peek}};return tn(r,"value",{get:function(){return r._v},set:function(o){Nl(o)?(o.before=ai(o.before),o.after=ai(o.after)):o=ai(o),r._v=o}}),tn(r,"reductor",{get:function(){var o=r.value,a=t.settings.perView;return Nl(o)?o.before/a+o.after/a:o*2/a}}),n.on(["resize","update"],function(){r.mount()}),r}function IB(t,e,n){var r={mount:function(){this._o=0},make:function(){var o=this,a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.offset=a,n.emit("move",{movement:this.value}),e.Transition.after(function(){n.emit("move.after",{movement:o.value})})}};return tn(r,"offset",{get:function(){return r._o},set:function(o){r._o=kB(o)?0:ai(o)}}),tn(r,"translate",{get:function(){return e.Sizes.slideWidth*t.index}}),tn(r,"value",{get:function(){var o=this.offset,a=this.translate;return e.Direction.is("rtl")?a+o:a-o}}),n.on(["build.before","run"],function(){r.make()}),r}function MB(t,e,n){var r={setupSlides:function(){for(var o="".concat(this.slideWidth,"px"),a=e.Html.slides,l=0;l<a.length;l++)a[l].style.width=o},setupWrapper:function(){e.Html.wrapper.style.width="".concat(this.wrapperSize,"px")},remove:function(){for(var o=e.Html.slides,a=0;a<o.length;a++)o[a].style.width="";e.Html.wrapper.style.width=""}};return tn(r,"length",{get:function(){return e.Html.slides.length}}),tn(r,"width",{get:function(){return e.Html.track.offsetWidth}}),tn(r,"wrapperSize",{get:function(){return r.slideWidth*r.length+e.Gaps.grow+e.Clones.grow}}),tn(r,"slideWidth",{get:function(){return r.width/t.settings.perView-e.Peek.reductor-e.Gaps.reductor}}),n.on(["build.before","resize","update"],function(){r.setupSlides(),r.setupWrapper()}),n.on("destroy",function(){r.remove()}),r}function OB(t,e,n){var r={mount:function(){n.emit("build.before"),this.typeClass(),this.activeClass(),n.emit("build.after")},typeClass:function(){e.Html.root.classList.add(t.settings.classes.type[t.settings.type])},activeClass:function(){var o=t.settings.classes,a=e.Html.slides[t.index];a&&(a.classList.add(o.slide.active),Cy(a).forEach(function(l){l.classList.remove(o.slide.active)}))},removeClasses:function(){var o=t.settings.classes,a=o.type,l=o.slide;e.Html.root.classList.remove(a[t.settings.type]),e.Html.slides.forEach(function(u){u.classList.remove(l.active)})}};return n.on(["destroy","update"],function(){r.removeClasses()}),n.on(["resize","update"],function(){r.mount()}),n.on("move.after",function(){r.activeClass()}),r}function RB(t,e,n){var r={mount:function(){this.items=[],t.isType("carousel")&&(this.items=this.collect())},collect:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],a=e.Html.slides,l=t.settings,u=l.perView,d=l.classes,p=l.cloningRatio;if(a.length>0)for(var h=+!!t.settings.peek,A=u+h+Math.round(u/2),m=a.slice(0,A).reverse(),b=a.slice(A*-1),w=0;w<Math.max(p,Math.floor(u/a.length));w++){for(var y=0;y<m.length;y++){var P=m[y].cloneNode(!0);P.classList.add(d.slide.clone),o.push(P)}for(var M=0;M<b.length;M++){var D=b[M].cloneNode(!0);D.classList.add(d.slide.clone),o.unshift(D)}}return o},append:function(){for(var o=this.items,a=e.Html,l=a.wrapper,u=a.slides,d=Math.floor(o.length/2),p=o.slice(0,d).reverse(),h=o.slice(d*-1).reverse(),A="".concat(e.Sizes.slideWidth,"px"),m=0;m<h.length;m++)l.appendChild(h[m]);for(var b=0;b<p.length;b++)l.insertBefore(p[b],u[0]);for(var w=0;w<o.length;w++)o[w].style.width=A},remove:function(){for(var o=this.items,a=0;a<o.length;a++)e.Html.wrapper.removeChild(o[a])}};return tn(r,"grow",{get:function(){return(e.Sizes.slideWidth+e.Gaps.value)*r.items.length}}),n.on("update",function(){r.remove(),r.mount(),r.append()}),n.on("build.before",function(){t.isType("carousel")&&r.append()}),n.on("destroy",function(){r.remove()}),r}var Py=(function(){function t(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ku(this,t),this.listeners=e}return Su(t,[{key:"on",value:function(n,r,i){var o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;Jp(n)&&(n=[n]);for(var a=0;a<n.length;a++)this.listeners[n[a]]=i,r.addEventListener(n[a],this.listeners[n[a]],o)}},{key:"off",value:function(n,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Jp(n)&&(n=[n]);for(var o=0;o<n.length;o++)r.removeEventListener(n[o],this.listeners[n[o]],i)}},{key:"destroy",value:function(){delete this.listeners}}]),t})();function LB(t,e,n){var r=new Py,i={mount:function(){this.bind()},bind:function(){r.on("resize",window,Ey(function(){n.emit("resize")},t.settings.throttle))},unbind:function(){r.off("resize",window)}};return n.on("destroy",function(){i.unbind(),r.destroy()}),i}var NB=["ltr","rtl"],FB={">":"<","<":">","=":"="};function jB(t,e,n){var r={mount:function(){this.value=t.settings.direction},resolve:function(o){var a=o.slice(0,1);return this.is("rtl")?o.split(a).join(FB[a]):o},is:function(o){return this.value===o},addClass:function(){e.Html.root.classList.add(t.settings.classes.direction[this.value])},removeClass:function(){e.Html.root.classList.remove(t.settings.classes.direction[this.value])}};return tn(r,"value",{get:function(){return r._v},set:function(o){NB.indexOf(o)>-1?r._v=o:No("Direction value must be `ltr` or `rtl`")}}),n.on(["destroy","update"],function(){r.removeClass()}),n.on("update",function(){r.mount()}),n.on(["build.before","update"],function(){r.addClass()}),r}function zB(t,e){return{modify:function(r){return e.Direction.is("rtl")?-r:r}}}function QB(t,e){return{modify:function(r){var i=Math.floor(r/e.Sizes.slideWidth);return r+e.Gaps.value*i}}}function HB(t,e){return{modify:function(r){return r+e.Clones.grow/2}}}function UB(t,e){return{modify:function(r){if(t.settings.focusAt>=0){var i=e.Peek.value;return Nl(i)?r-i.before:r-i}return r}}}function VB(t,e){return{modify:function(r){var i=e.Gaps.value,o=e.Sizes.width,a=t.settings.focusAt,l=e.Sizes.slideWidth;return a==="center"?r-(o/2-l/2):r-l*a-i*a}}}function WB(t,e,n){var r=[QB,HB,UB,VB].concat(t._t,[zB]);return{mutate:function(o){for(var a=0;a<r.length;a++){var l=r[a];Cu(l)&&Cu(l().modify)?o=l(t,e,n).modify(o):No("Transformer should be a function that returns an object with `modify()` method")}return o}}}function YB(t,e,n){var r={set:function(o){var a=WB(t,e).mutate(o),l="translate3d(".concat(-1*a,"px, 0px, 0px)");e.Html.wrapper.style.mozTransform=l,e.Html.wrapper.style.webkitTransform=l,e.Html.wrapper.style.transform=l},remove:function(){e.Html.wrapper.style.transform=""},getStartIndex:function(){var o=e.Sizes.length,a=t.index,l=t.settings.perView;return e.Run.isOffset(">")||e.Run.isOffset("|>")?o+(a-l):(a+l)%o},getTravelDistance:function(){var o=e.Sizes.slideWidth*t.settings.perView;return e.Run.isOffset(">")||e.Run.isOffset("|>")?o*-1:o}};return n.on("move",function(i){if(!t.isType("carousel")||!e.Run.isOffset())return r.set(i.movement);e.Transition.after(function(){n.emit("translate.jump"),r.set(e.Sizes.slideWidth*t.index)});var o=e.Sizes.slideWidth*e.Translate.getStartIndex();return r.set(o-e.Translate.getTravelDistance())}),n.on("destroy",function(){r.remove()}),r}function qB(t,e,n){var r=!1,i={compose:function(a){var l=t.settings;return r?"".concat(a," 0ms ").concat(l.animationTimingFunc):"".concat(a," ").concat(this.duration,"ms ").concat(l.animationTimingFunc)},set:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"transform";e.Html.wrapper.style.transition=this.compose(a)},remove:function(){e.Html.wrapper.style.transition=""},after:function(a){setTimeout(function(){a()},this.duration)},enable:function(){r=!1,this.set()},disable:function(){r=!0,this.set()}};return tn(i,"duration",{get:function(){var a=t.settings;return t.isType("slider")&&e.Run.offset?a.rewindDuration:a.animationDuration}}),n.on("move",function(){i.set()}),n.on(["build.before","resize","translate.jump"],function(){i.disable()}),n.on("run",function(){i.enable()}),n.on("destroy",function(){i.remove()}),i}var Dy=!1;try{var Ty=Object.defineProperty({},"passive",{get:function(){Dy=!0}});window.addEventListener("testPassive",null,Ty),window.removeEventListener("testPassive",null,Ty)}catch{}var By=Dy,KB='[data-glide-el="controls[nav]"]',eh='[data-glide-el^="controls"]',GB="".concat(eh,' [data-glide-dir*="<"]'),XB="".concat(eh,' [data-glide-dir*=">"]');function JB(t,e,n){var r=new Py,i=By?{passive:!0}:!1,o={mount:function(){this._n=e.Html.root.querySelectorAll(KB),this._c=e.Html.root.querySelectorAll(eh),this._arrowControls={previous:e.Html.root.querySelectorAll(GB),next:e.Html.root.querySelectorAll(XB)},this.addBindings()},setActive:function(){for(var l=0;l<this._n.length;l++)this.addClass(this._n[l].children)},removeActive:function(){for(var l=0;l<this._n.length;l++)this.removeClass(this._n[l].children)},addClass:function(l){var u=t.settings,d=l[t.index];d&&(d.classList.add(u.classes.nav.active),Cy(d).forEach(function(p){p.classList.remove(u.classes.nav.active)}))},removeClass:function(l){var u=l[t.index];u?.classList.remove(t.settings.classes.nav.active)},setArrowState:function(){if(!t.settings.rewind){var l=o._arrowControls.next,u=o._arrowControls.previous;this.resetArrowState(l,u),t.index===0&&this.disableArrow(u),t.index===e.Run.length&&this.disableArrow(l)}},resetArrowState:function(){for(var l=t.settings,u=arguments.length,d=new Array(u),p=0;p<u;p++)d[p]=arguments[p];d.forEach(function(h){$p(h).forEach(function(A){A.classList.remove(l.classes.arrow.disabled)})})},disableArrow:function(){for(var l=t.settings,u=arguments.length,d=new Array(u),p=0;p<u;p++)d[p]=arguments[p];d.forEach(function(h){$p(h).forEach(function(A){A.classList.add(l.classes.arrow.disabled)})})},addBindings:function(){for(var l=0;l<this._c.length;l++)this.bind(this._c[l].children)},removeBindings:function(){for(var l=0;l<this._c.length;l++)this.unbind(this._c[l].children)},bind:function(l){for(var u=0;u<l.length;u++)r.on("click",l[u],this.click),r.on("touchstart",l[u],this.click,i)},unbind:function(l){for(var u=0;u<l.length;u++)r.off(["click","touchstart"],l[u])},click:function(l){!By&&l.type==="touchstart"&&l.preventDefault();var u=l.currentTarget.getAttribute("data-glide-dir");e.Run.make(e.Direction.resolve(u))}};return tn(o,"items",{get:function(){return o._c}}),n.on(["mount.after","move.after"],function(){o.setActive()}),n.on(["mount.after","run"],function(){o.setArrowState()}),n.on("destroy",function(){o.removeBindings(),o.removeActive(),r.destroy()}),o}var ZB={Html:BB,Translate:YB,Transition:qB,Direction:jB,Peek:_B,Sizes:MB,Gaps:DB,Move:IB,Clones:RB,Resize:LB,Build:OB,Run:PB},$B=(function(t){gB(n,t);var e=bB(n);function n(){return ku(this,n),e.apply(this,arguments)}return Su(n,[{key:"mount",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Eu(ma(n.prototype),"mount",this).call(this,Object.assign({},ZB,i))}}]),n})(CB);function Du({children:t,cssClass:e=""}){const n=T.useRef(null);return T.useEffect(()=>{n.current&&new $B(n.current).mount({Controls:JB})},[]),E.jsx("section",{className:`carousel ${e}`,children:E.jsxs("div",{className:"glide",ref:n,children:[E.jsx("div",{className:"glide__track","data-glide-el":"track",children:E.jsx("ul",{className:"glide__slides",children:t})}),E.jsxs("div",{className:"glide__arrows","data-glide-el":"controls",children:[E.jsx("button",{className:"glide__arrow glide__arrow--left","data-glide-dir":"<",children:E.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",children:E.jsx("path",{d:"M0 12l10.975 11 2.848-2.828-6.176-6.176H24v-3.992H7.646l6.176-6.176L10.975 1 0 12z"})})}),E.jsx("button",{className:"glide__arrow glide__arrow--right","data-glide-dir":">",children:E.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",children:E.jsx("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 _y({children:t}){return E.jsx("li",{className:"glide__slide",children:t})}function e8({title:t,description:e,linkText:n,linkURI:r,imageURI:i,imageAltText:o}){return E.jsx(_y,{children:E.jsxs("span",{className:"slide-inner",children:[i&&E.jsx("a",{href:r,className:"slide-image",children:E.jsx("img",{src:i,alt:o})}),E.jsxs("span",{className:"slide-text",children:[t&&E.jsx("h2",{children:t}),e&&E.jsx("p",{children:e}),n&&E.jsx("a",{href:r,children:n})]})]})})}Du.Slide=_y,Du.ImageSlide=e8;function t8({children:t,maxHeight:e="400px"}){return E.jsx("div",{className:"scroll-text",children:E.jsx("div",{className:"scroll-text-inner",style:{maxHeight:e},children:t})})}const n8="https://allocations.access-ci.org/current-projects.json";function Tu({icon:t,text:e,title:n}){if(e)return E.jsxs("abbr",{className:"project-meta",title:n,children:[E.jsx(Et,{name:t}),e]})}function r8({infoGroupId:t}){const e=al(t),n=Xn(e?`${n8}?${e.infoResourceIds.map(i=>`info_resourceids[]=${i}`).join("&")}`:null);if(!n||!n.projects||!n.projects.length)return null;const r=[{key:"resourceName",name:"Resource"},{key:"allocation",name:"Current Allocation",format:(i,o)=>o.units=="[Yes = 1, No = 0]"?i==1?"Yes":"No":`${i.toLocaleString("en-us")} ${o.units||""}`}];return E.jsx(_i,{title:"Recent Projects",icon:"pc-display",children:E.jsx(Du,{cssclassName:"carousel-projects",children:n.projects.map(i=>E.jsxs(Du.Slide,{children:[E.jsx("h3",{children:i.requestTitle}),E.jsxs("div",{className:"project-metadata",children:[E.jsx(Tu,{icon:"cash-coin",text:i.allocationType,title:"Allocation Type"}),E.jsx(Tu,{icon:"person-fill",text:`${i.pi} (${i.piInstitution})`,title:"Primary Investigator"}),E.jsx(Tu,{icon:"folder",text:i.fos,title:"Field of Science"}),E.jsx(Tu,{icon:"calendar-range",text:[i.beginDate,i.endDate].map(o=>new Date(o).toLocaleString("en-US",{dateStyle:"medium"})).join(" to "),title:"Project Dates"})]}),E.jsxs(t8,{children:[E.jsx("p",{children:i.abstract}),E.jsx(hu,{columns:r,rows:i.resources,maxHeight:null})]})]},i.requestTitle))})})}function Fl(t){return t+.5|0}const Fo=(t,e,n)=>Math.max(Math.min(t,n),e);function jl(t){return Fo(Fl(t*2.55),0,255)}function jo(t){return Fo(Fl(t*255),0,255)}function ao(t){return Fo(Fl(t/2.55)/100,0,1)}function Iy(t){return Fo(Fl(t*100),0,100)}const qr={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},th=[..."0123456789ABCDEF"],i8=t=>th[t&15],o8=t=>th[(t&240)>>4]+th[t&15],Bu=t=>(t&240)>>4===(t&15),s8=t=>Bu(t.r)&&Bu(t.g)&&Bu(t.b)&&Bu(t.a);function a8(t){var e=t.length,n;return t[0]==="#"&&(e===4||e===5?n={r:255&qr[t[1]]*17,g:255&qr[t[2]]*17,b:255&qr[t[3]]*17,a:e===5?qr[t[4]]*17:255}:(e===7||e===9)&&(n={r:qr[t[1]]<<4|qr[t[2]],g:qr[t[3]]<<4|qr[t[4]],b:qr[t[5]]<<4|qr[t[6]],a:e===9?qr[t[7]]<<4|qr[t[8]]:255})),n}const l8=(t,e)=>t<255?e(t):"";function c8(t){var e=s8(t)?i8:o8;return t?"#"+e(t.r)+e(t.g)+e(t.b)+l8(t.a,e):void 0}const u8=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function My(t,e,n){const r=e*Math.min(n,1-n),i=(o,a=(o+t/30)%12)=>n-r*Math.max(Math.min(a-3,9-a,1),-1);return[i(0),i(8),i(4)]}function d8(t,e,n){const r=(i,o=(i+t/60)%6)=>n-n*e*Math.max(Math.min(o,4-o,1),0);return[r(5),r(3),r(1)]}function f8(t,e,n){const r=My(t,1,.5);let i;for(e+n>1&&(i=1/(e+n),e*=i,n*=i),i=0;i<3;i++)r[i]*=1-e-n,r[i]+=e;return r}function p8(t,e,n,r,i){return t===i?(e-n)/r+(e<n?6:0):e===i?(n-t)/r+2:(t-e)/r+4}function nh(t){const n=t.r/255,r=t.g/255,i=t.b/255,o=Math.max(n,r,i),a=Math.min(n,r,i),l=(o+a)/2;let u,d,p;return o!==a&&(p=o-a,d=l>.5?p/(2-o-a):p/(o+a),u=p8(n,r,i,p,o),u=u*60+.5),[u|0,d||0,l]}function rh(t,e,n,r){return(Array.isArray(e)?t(e[0],e[1],e[2]):t(e,n,r)).map(jo)}function ih(t,e,n){return rh(My,t,e,n)}function h8(t,e,n){return rh(f8,t,e,n)}function A8(t,e,n){return rh(d8,t,e,n)}function Oy(t){return(t%360+360)%360}function g8(t){const e=u8.exec(t);let n=255,r;if(!e)return;e[5]!==r&&(n=e[6]?jl(+e[5]):jo(+e[5]));const i=Oy(+e[2]),o=+e[3]/100,a=+e[4]/100;return e[1]==="hwb"?r=h8(i,o,a):e[1]==="hsv"?r=A8(i,o,a):r=ih(i,o,a),{r:r[0],g:r[1],b:r[2],a:n}}function m8(t,e){var n=nh(t);n[0]=Oy(n[0]+e),n=ih(n),t.r=n[0],t.g=n[1],t.b=n[2]}function v8(t){if(!t)return;const e=nh(t),n=e[0],r=Iy(e[1]),i=Iy(e[2]);return t.a<255?`hsla(${n}, ${r}%, ${i}%, ${ao(t.a)})`:`hsl(${n}, ${r}%, ${i}%)`}const Ry={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"},Ly={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 y8(){const t={},e=Object.keys(Ly),n=Object.keys(Ry);let r,i,o,a,l;for(r=0;r<e.length;r++){for(a=l=e[r],i=0;i<n.length;i++)o=n[i],l=l.replace(o,Ry[o]);o=parseInt(Ly[a],16),t[l]=[o>>16&255,o>>8&255,o&255]}return t}let _u;function b8(t){_u||(_u=y8(),_u.transparent=[0,0,0,0]);const e=_u[t.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:e.length===4?e[3]:255}}const x8=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function w8(t){const e=x8.exec(t);let n=255,r,i,o;if(e){if(e[7]!==r){const a=+e[7];n=e[8]?jl(a):Fo(a*255,0,255)}return r=+e[1],i=+e[3],o=+e[5],r=255&(e[2]?jl(r):Fo(r,0,255)),i=255&(e[4]?jl(i):Fo(i,0,255)),o=255&(e[6]?jl(o):Fo(o,0,255)),{r,g:i,b:o,a:n}}}function k8(t){return t&&(t.a<255?`rgba(${t.r}, ${t.g}, ${t.b}, ${ao(t.a)})`:`rgb(${t.r}, ${t.g}, ${t.b})`)}const oh=t=>t<=.0031308?t*12.92:Math.pow(t,1/2.4)*1.055-.055,va=t=>t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4);function S8(t,e,n){const r=va(ao(t.r)),i=va(ao(t.g)),o=va(ao(t.b));return{r:jo(oh(r+n*(va(ao(e.r))-r))),g:jo(oh(i+n*(va(ao(e.g))-i))),b:jo(oh(o+n*(va(ao(e.b))-o))),a:t.a+n*(e.a-t.a)}}function Iu(t,e,n){if(t){let r=nh(t);r[e]=Math.max(0,Math.min(r[e]+r[e]*n,e===0?360:1)),r=ih(r),t.r=r[0],t.g=r[1],t.b=r[2]}}function Ny(t,e){return t&&Object.assign(e||{},t)}function Fy(t){var e={r:0,g:0,b:0,a:255};return Array.isArray(t)?t.length>=3&&(e={r:t[0],g:t[1],b:t[2],a:255},t.length>3&&(e.a=jo(t[3]))):(e=Ny(t,{r:0,g:0,b:0,a:1}),e.a=jo(e.a)),e}function E8(t){return t.charAt(0)==="r"?w8(t):g8(t)}class zl{constructor(e){if(e instanceof zl)return e;const n=typeof e;let r;n==="object"?r=Fy(e):n==="string"&&(r=a8(e)||b8(e)||E8(e)),this._rgb=r,this._valid=!!r}get valid(){return this._valid}get rgb(){var e=Ny(this._rgb);return e&&(e.a=ao(e.a)),e}set rgb(e){this._rgb=Fy(e)}rgbString(){return this._valid?k8(this._rgb):void 0}hexString(){return this._valid?c8(this._rgb):void 0}hslString(){return this._valid?v8(this._rgb):void 0}mix(e,n){if(e){const r=this.rgb,i=e.rgb;let o;const a=n===o?.5:n,l=2*a-1,u=r.a-i.a,d=((l*u===-1?l:(l+u)/(1+l*u))+1)/2;o=1-d,r.r=255&d*r.r+o*i.r+.5,r.g=255&d*r.g+o*i.g+.5,r.b=255&d*r.b+o*i.b+.5,r.a=a*r.a+(1-a)*i.a,this.rgb=r}return this}interpolate(e,n){return e&&(this._rgb=S8(this._rgb,e._rgb,n)),this}clone(){return new zl(this.rgb)}alpha(e){return this._rgb.a=jo(e),this}clearer(e){const n=this._rgb;return n.a*=1-e,this}greyscale(){const e=this._rgb,n=Fl(e.r*.3+e.g*.59+e.b*.11);return e.r=e.g=e.b=n,this}opaquer(e){const n=this._rgb;return n.a*=1+e,this}negate(){const e=this._rgb;return e.r=255-e.r,e.g=255-e.g,e.b=255-e.b,this}lighten(e){return Iu(this._rgb,2,e),this}darken(e){return Iu(this._rgb,2,-e),this}saturate(e){return Iu(this._rgb,1,e),this}desaturate(e){return Iu(this._rgb,1,-e),this}rotate(e){return m8(this._rgb,e),this}}function lo(){}const C8=(()=>{let t=0;return()=>t++})();function Ot(t){return t==null}function gn(t){if(Array.isArray&&Array.isArray(t))return!0;const e=Object.prototype.toString.call(t);return e.slice(0,7)==="[object"&&e.slice(-6)==="Array]"}function kt(t){return t!==null&&Object.prototype.toString.call(t)==="[object Object]"}function Kr(t){return(typeof t=="number"||t instanceof Number)&&isFinite(+t)}function Ri(t,e){return Kr(t)?t:e}function Ct(t,e){return typeof t>"u"?e:t}const P8=(t,e)=>typeof t=="string"&&t.endsWith("%")?parseFloat(t)/100:+t/e,jy=(t,e)=>typeof t=="string"&&t.endsWith("%")?parseFloat(t)/100*e:+t;function Ht(t,e,n){if(t&&typeof t.call=="function")return t.apply(n,e)}function Tt(t,e,n,r){let i,o,a;if(gn(t))for(o=t.length,i=0;i<o;i++)e.call(n,t[i],i);else if(kt(t))for(a=Object.keys(t),o=a.length,i=0;i<o;i++)e.call(n,t[a[i]],a[i])}function Mu(t,e){let n,r,i,o;if(!t||!e||t.length!==e.length)return!1;for(n=0,r=t.length;n<r;++n)if(i=t[n],o=e[n],i.datasetIndex!==o.datasetIndex||i.index!==o.index)return!1;return!0}function Ou(t){if(gn(t))return t.map(Ou);if(kt(t)){const e=Object.create(null),n=Object.keys(t),r=n.length;let i=0;for(;i<r;++i)e[n[i]]=Ou(t[n[i]]);return e}return t}function zy(t){return["__proto__","prototype","constructor"].indexOf(t)===-1}function D8(t,e,n,r){if(!zy(t))return;const i=e[t],o=n[t];kt(i)&&kt(o)?Ql(i,o,r):e[t]=Ou(o)}function Ql(t,e,n){const r=gn(e)?e:[e],i=r.length;if(!kt(t))return t;n=n||{};const o=n.merger||D8;let a;for(let l=0;l<i;++l){if(a=r[l],!kt(a))continue;const u=Object.keys(a);for(let d=0,p=u.length;d<p;++d)o(u[d],t,a,n)}return t}function Hl(t,e){return Ql(t,e,{merger:T8})}function T8(t,e,n){if(!zy(t))return;const r=e[t],i=n[t];kt(r)&&kt(i)?Hl(r,i):Object.prototype.hasOwnProperty.call(e,t)||(e[t]=Ou(i))}const Qy={"":t=>t,x:t=>t.x,y:t=>t.y};function B8(t){const e=t.split("."),n=[];let r="";for(const i of e)r+=i,r.endsWith("\\")?r=r.slice(0,-1)+".":(n.push(r),r="");return n}function _8(t){const e=B8(t);return n=>{for(const r of e){if(r==="")break;n=n&&n[r]}return n}}function zo(t,e){return(Qy[e]||(Qy[e]=_8(e)))(t)}function sh(t){return t.charAt(0).toUpperCase()+t.slice(1)}const Ul=t=>typeof t<"u",Qo=t=>typeof t=="function",Hy=(t,e)=>{if(t.size!==e.size)return!1;for(const n of t)if(!e.has(n))return!1;return!0};function I8(t){return t.type==="mouseup"||t.type==="click"||t.type==="contextmenu"}const mn=Math.PI,Tr=2*mn,Ru=Number.POSITIVE_INFINITY,M8=mn/180,Br=mn/2,ks=mn/4,Uy=mn*2/3,Vy=Math.log10,Ho=Math.sign;function Lu(t,e,n){return Math.abs(t-e)<n}function Wy(t){const e=Math.round(t);t=Lu(t,e,t/1e3)?e:t;const n=Math.pow(10,Math.floor(Vy(t))),r=t/n;return(r<=1?1:r<=2?2:r<=5?5:10)*n}function O8(t){const e=[],n=Math.sqrt(t);let r;for(r=1;r<n;r++)t%r===0&&(e.push(r),e.push(t/r));return n===(n|0)&&e.push(n),e.sort((i,o)=>i-o).pop(),e}function R8(t){return typeof t=="symbol"||typeof t=="object"&&t!==null&&!(Symbol.toPrimitive in t||"toString"in t||"valueOf"in t)}function Nu(t){return!R8(t)&&!isNaN(parseFloat(t))&&isFinite(t)}function L8(t,e){const n=Math.round(t);return n-e<=t&&n+e>=t}function N8(t,e,n){let r,i,o;for(r=0,i=t.length;r<i;r++)o=t[r][n],isNaN(o)||(e.min=Math.min(e.min,o),e.max=Math.max(e.max,o))}function Li(t){return t*(mn/180)}function F8(t){return t*(180/mn)}function Yy(t){if(!Kr(t))return;let e=1,n=0;for(;Math.round(t*e)/e!==t;)e*=10,n++;return n}function j8(t,e){const n=e.x-t.x,r=e.y-t.y,i=Math.sqrt(n*n+r*r);let o=Math.atan2(r,n);return o<-.5*mn&&(o+=Tr),{angle:o,distance:i}}function z8(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function Ss(t){return(t%Tr+Tr)%Tr}function ah(t,e,n,r){const i=Ss(t),o=Ss(e),a=Ss(n),l=Ss(o-i),u=Ss(a-i),d=Ss(i-o),p=Ss(i-a);return i===o||i===a||r&&o===a||l>u&&d<p}function li(t,e,n){return Math.max(e,Math.min(n,t))}function Q8(t){return li(t,-32768,32767)}function ya(t,e,n,r=1e-6){return t>=Math.min(e,n)-r&&t<=Math.max(e,n)+r}function lh(t,e,n){n=n||(a=>t[a]<e);let r=t.length-1,i=0,o;for(;r-i>1;)o=i+r>>1,n(o)?i=o:r=o;return{lo:i,hi:r}}const ch=(t,e,n,r)=>lh(t,n,r?i=>{const o=t[i][e];return o<n||o===n&&t[i+1][e]===n}:i=>t[i][e]<n),H8=(t,e,n)=>lh(t,n,r=>t[r][e]>=n);function U8(t,e,n){let r=0,i=t.length;for(;r<i&&t[r]<e;)r++;for(;i>r&&t[i-1]>n;)i--;return r>0||i<t.length?t.slice(r,i):t}const qy=["push","pop","shift","splice","unshift"];function V8(t,e){if(t._chartjs){t._chartjs.listeners.push(e);return}Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),qy.forEach(n=>{const r="_onData"+sh(n),i=t[n];Object.defineProperty(t,n,{configurable:!0,enumerable:!1,value(...o){const a=i.apply(this,o);return t._chartjs.listeners.forEach(l=>{typeof l[r]=="function"&&l[r](...o)}),a}})})}function Ky(t,e){const n=t._chartjs;if(!n)return;const r=n.listeners,i=r.indexOf(e);i!==-1&&r.splice(i,1),!(r.length>0)&&(qy.forEach(o=>{delete t[o]}),delete t._chartjs)}function Gy(t){const e=new Set(t);return e.size===t.length?t:Array.from(e)}const Xy=(function(){return typeof window>"u"?function(t){return t()}:window.requestAnimationFrame})();function Jy(t,e){let n=[],r=!1;return function(...i){n=i,r||(r=!0,Xy.call(window,()=>{r=!1,t.apply(e,n)}))}}function W8(t,e){let n;return function(...r){return e?(clearTimeout(n),n=setTimeout(t,e,r)):t.apply(this,r),e}}const uh=t=>t==="start"?"left":t==="end"?"right":"center",jn=(t,e,n)=>t==="start"?e:t==="end"?n:(e+n)/2,Y8=(t,e,n,r)=>t===(r?"left":"right")?n:t==="center"?(e+n)/2:e,Fu=t=>t===0||t===1,Zy=(t,e,n)=>-(Math.pow(2,10*(t-=1))*Math.sin((t-e)*Tr/n)),$y=(t,e,n)=>Math.pow(2,-10*t)*Math.sin((t-e)*Tr/n)+1,Vl={linear:t=>t,easeInQuad:t=>t*t,easeOutQuad:t=>-t*(t-2),easeInOutQuad:t=>(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1),easeInCubic:t=>t*t*t,easeOutCubic:t=>(t-=1)*t*t+1,easeInOutCubic:t=>(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2),easeInQuart:t=>t*t*t*t,easeOutQuart:t=>-((t-=1)*t*t*t-1),easeInOutQuart:t=>(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2),easeInQuint:t=>t*t*t*t*t,easeOutQuint:t=>(t-=1)*t*t*t*t+1,easeInOutQuint:t=>(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2),easeInSine:t=>-Math.cos(t*Br)+1,easeOutSine:t=>Math.sin(t*Br),easeInOutSine:t=>-.5*(Math.cos(mn*t)-1),easeInExpo:t=>t===0?0:Math.pow(2,10*(t-1)),easeOutExpo:t=>t===1?1:-Math.pow(2,-10*t)+1,easeInOutExpo:t=>Fu(t)?t:t<.5?.5*Math.pow(2,10*(t*2-1)):.5*(-Math.pow(2,-10*(t*2-1))+2),easeInCirc:t=>t>=1?t:-(Math.sqrt(1-t*t)-1),easeOutCirc:t=>Math.sqrt(1-(t-=1)*t),easeInOutCirc:t=>(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1),easeInElastic:t=>Fu(t)?t:Zy(t,.075,.3),easeOutElastic:t=>Fu(t)?t:$y(t,.075,.3),easeInOutElastic(t){return Fu(t)?t:t<.5?.5*Zy(t*2,.1125,.45):.5+.5*$y(t*2-1,.1125,.45)},easeInBack(t){return t*t*((1.70158+1)*t-1.70158)},easeOutBack(t){return(t-=1)*t*((1.70158+1)*t+1.70158)+1},easeInOutBack(t){let e=1.70158;return(t/=.5)<1?.5*(t*t*(((e*=1.525)+1)*t-e)):.5*((t-=2)*t*(((e*=1.525)+1)*t+e)+2)},easeInBounce:t=>1-Vl.easeOutBounce(1-t),easeOutBounce(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},easeInOutBounce:t=>t<.5?Vl.easeInBounce(t*2)*.5:Vl.easeOutBounce(t*2-1)*.5+.5};function eb(t){if(t&&typeof t=="object"){const e=t.toString();return e==="[object CanvasPattern]"||e==="[object CanvasGradient]"}return!1}function tb(t){return eb(t)?t:new zl(t)}function dh(t){return eb(t)?t:new zl(t).saturate(.5).darken(.1).hexString()}const q8=["x","y","borderWidth","radius","tension"],K8=["color","borderColor","backgroundColor"];function G8(t){t.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),t.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:e=>e!=="onProgress"&&e!=="onComplete"&&e!=="fn"}),t.set("animations",{colors:{type:"color",properties:K8},numbers:{type:"number",properties:q8}}),t.describe("animations",{_fallback:"animation"}),t.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:e=>e|0}}}})}function X8(t){t.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}const nb=new Map;function J8(t,e){e=e||{};const n=t+JSON.stringify(e);let r=nb.get(n);return r||(r=new Intl.NumberFormat(t,e),nb.set(n,r)),r}function ju(t,e,n){return J8(e,n).format(t)}const Z8={values(t){return gn(t)?t:""+t},numeric(t,e,n){if(t===0)return"0";const r=this.chart.options.locale;let i,o=t;if(n.length>1){const d=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(d<1e-4||d>1e15)&&(i="scientific"),o=$8(t,n)}const a=Vy(Math.abs(o)),l=isNaN(a)?1:Math.max(Math.min(-1*Math.floor(a),20),0),u={notation:i,minimumFractionDigits:l,maximumFractionDigits:l};return Object.assign(u,this.options.ticks.format),ju(t,r,u)}};function $8(t,e){let n=e.length>3?e[2].value-e[1].value:e[1].value-e[0].value;return Math.abs(n)>=1&&t!==Math.floor(t)&&(n=t-Math.floor(t)),n}var rb={formatters:Z8};function e_(t){t.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:(e,n)=>n.lineWidth,tickColor:(e,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:rb.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),t.route("scale.ticks","color","","color"),t.route("scale.grid","color","","borderColor"),t.route("scale.border","color","","borderColor"),t.route("scale.title","color","","color"),t.describe("scale",{_fallback:!1,_scriptable:e=>!e.startsWith("before")&&!e.startsWith("after")&&e!=="callback"&&e!=="parser",_indexable:e=>e!=="borderDash"&&e!=="tickBorderDash"&&e!=="dash"}),t.describe("scales",{_fallback:"scale"}),t.describe("scale.ticks",{_scriptable:e=>e!=="backdropPadding"&&e!=="callback",_indexable:e=>e!=="backdropPadding"})}const Es=Object.create(null),fh=Object.create(null);function Wl(t,e){if(!e)return t;const n=e.split(".");for(let r=0,i=n.length;r<i;++r){const o=n[r];t=t[o]||(t[o]=Object.create(null))}return t}function ph(t,e,n){return typeof e=="string"?Ql(Wl(t,e),n):Ql(Wl(t,""),e)}class t_{constructor(e,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=r=>r.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=(r,i)=>dh(i.backgroundColor),this.hoverBorderColor=(r,i)=>dh(i.borderColor),this.hoverColor=(r,i)=>dh(i.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(e),this.apply(n)}set(e,n){return ph(this,e,n)}get(e){return Wl(this,e)}describe(e,n){return ph(fh,e,n)}override(e,n){return ph(Es,e,n)}route(e,n,r,i){const o=Wl(this,e),a=Wl(this,r),l="_"+n;Object.defineProperties(o,{[l]:{value:o[n],writable:!0},[n]:{enumerable:!0,get(){const u=this[l],d=a[i];return kt(u)?Object.assign({},d,u):Ct(u,d)},set(u){this[l]=u}}})}apply(e){e.forEach(n=>n(this))}}var Jt=new t_({_scriptable:t=>!t.startsWith("on"),_indexable:t=>t!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[G8,X8,e_]);function n_(t){return!t||Ot(t.size)||Ot(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}function ib(t,e,n,r,i){let o=e[i];return o||(o=e[i]=t.measureText(i).width,n.push(i)),o>r&&(r=o),r}function Cs(t,e,n){const r=t.currentDevicePixelRatio,i=n!==0?Math.max(n/2,.5):0;return Math.round((e-i)*r)/r+i}function ob(t,e){!e&&!t||(e=e||t.getContext("2d"),e.save(),e.resetTransform(),e.clearRect(0,0,t.width,t.height),e.restore())}function sb(t,e,n,r){ab(t,e,n,r,null)}function ab(t,e,n,r,i){let o,a,l,u,d,p,h,A;const m=e.pointStyle,b=e.rotation,w=e.radius;let y=(b||0)*M8;if(m&&typeof m=="object"&&(o=m.toString(),o==="[object HTMLImageElement]"||o==="[object HTMLCanvasElement]")){t.save(),t.translate(n,r),t.rotate(y),t.drawImage(m,-m.width/2,-m.height/2,m.width,m.height),t.restore();return}if(!(isNaN(w)||w<=0)){switch(t.beginPath(),m){default:i?t.ellipse(n,r,i/2,w,0,0,Tr):t.arc(n,r,w,0,Tr),t.closePath();break;case"triangle":p=i?i/2:w,t.moveTo(n+Math.sin(y)*p,r-Math.cos(y)*w),y+=Uy,t.lineTo(n+Math.sin(y)*p,r-Math.cos(y)*w),y+=Uy,t.lineTo(n+Math.sin(y)*p,r-Math.cos(y)*w),t.closePath();break;case"rectRounded":d=w*.516,u=w-d,a=Math.cos(y+ks)*u,h=Math.cos(y+ks)*(i?i/2-d:u),l=Math.sin(y+ks)*u,A=Math.sin(y+ks)*(i?i/2-d:u),t.arc(n-h,r-l,d,y-mn,y-Br),t.arc(n+A,r-a,d,y-Br,y),t.arc(n+h,r+l,d,y,y+Br),t.arc(n-A,r+a,d,y+Br,y+mn),t.closePath();break;case"rect":if(!b){u=Math.SQRT1_2*w,p=i?i/2:u,t.rect(n-p,r-u,2*p,2*u);break}y+=ks;case"rectRot":h=Math.cos(y)*(i?i/2:w),a=Math.cos(y)*w,l=Math.sin(y)*w,A=Math.sin(y)*(i?i/2:w),t.moveTo(n-h,r-l),t.lineTo(n+A,r-a),t.lineTo(n+h,r+l),t.lineTo(n-A,r+a),t.closePath();break;case"crossRot":y+=ks;case"cross":h=Math.cos(y)*(i?i/2:w),a=Math.cos(y)*w,l=Math.sin(y)*w,A=Math.sin(y)*(i?i/2:w),t.moveTo(n-h,r-l),t.lineTo(n+h,r+l),t.moveTo(n+A,r-a),t.lineTo(n-A,r+a);break;case"star":h=Math.cos(y)*(i?i/2:w),a=Math.cos(y)*w,l=Math.sin(y)*w,A=Math.sin(y)*(i?i/2:w),t.moveTo(n-h,r-l),t.lineTo(n+h,r+l),t.moveTo(n+A,r-a),t.lineTo(n-A,r+a),y+=ks,h=Math.cos(y)*(i?i/2:w),a=Math.cos(y)*w,l=Math.sin(y)*w,A=Math.sin(y)*(i?i/2:w),t.moveTo(n-h,r-l),t.lineTo(n+h,r+l),t.moveTo(n+A,r-a),t.lineTo(n-A,r+a);break;case"line":a=i?i/2:Math.cos(y)*w,l=Math.sin(y)*w,t.moveTo(n-a,r-l),t.lineTo(n+a,r+l);break;case"dash":t.moveTo(n,r),t.lineTo(n+Math.cos(y)*(i?i/2:w),r+Math.sin(y)*w);break;case!1:t.closePath();break}t.fill(),e.borderWidth>0&&t.stroke()}}function lb(t,e,n){return n=n||.5,!e||t&&t.x>e.left-n&&t.x<e.right+n&&t.y>e.top-n&&t.y<e.bottom+n}function hh(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()}function Ah(t){t.restore()}function r_(t,e){e.translation&&t.translate(e.translation[0],e.translation[1]),Ot(e.rotation)||t.rotate(e.rotation),e.color&&(t.fillStyle=e.color),e.textAlign&&(t.textAlign=e.textAlign),e.textBaseline&&(t.textBaseline=e.textBaseline)}function i_(t,e,n,r,i){if(i.strikethrough||i.underline){const o=t.measureText(r),a=e-o.actualBoundingBoxLeft,l=e+o.actualBoundingBoxRight,u=n-o.actualBoundingBoxAscent,d=n+o.actualBoundingBoxDescent,p=i.strikethrough?(u+d)/2:d;t.strokeStyle=t.fillStyle,t.beginPath(),t.lineWidth=i.decorationWidth||2,t.moveTo(a,p),t.lineTo(l,p),t.stroke()}}function o_(t,e){const n=t.fillStyle;t.fillStyle=e.color,t.fillRect(e.left,e.top,e.width,e.height),t.fillStyle=n}function Yl(t,e,n,r,i,o={}){const a=gn(e)?e:[e],l=o.strokeWidth>0&&o.strokeColor!=="";let u,d;for(t.save(),t.font=i.string,r_(t,o),u=0;u<a.length;++u)d=a[u],o.backdrop&&o_(t,o.backdrop),l&&(o.strokeColor&&(t.strokeStyle=o.strokeColor),Ot(o.strokeWidth)||(t.lineWidth=o.strokeWidth),t.strokeText(d,n,r,o.maxWidth)),t.fillText(d,n,r,o.maxWidth),i_(t,n,r,d,o),r+=Number(i.lineHeight);t.restore()}function zu(t,e){const{x:n,y:r,w:i,h:o,radius:a}=e;t.arc(n+a.topLeft,r+a.topLeft,a.topLeft,1.5*mn,mn,!0),t.lineTo(n,r+o-a.bottomLeft),t.arc(n+a.bottomLeft,r+o-a.bottomLeft,a.bottomLeft,mn,Br,!0),t.lineTo(n+i-a.bottomRight,r+o),t.arc(n+i-a.bottomRight,r+o-a.bottomRight,a.bottomRight,Br,0,!0),t.lineTo(n+i,r+a.topRight),t.arc(n+i-a.topRight,r+a.topRight,a.topRight,0,-Br,!0),t.lineTo(n+a.topLeft,r)}const s_=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,a_=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function l_(t,e){const n=(""+t).match(s_);if(!n||n[1]==="normal")return e*1.2;switch(t=+n[2],n[3]){case"px":return t;case"%":t/=100;break}return e*t}const c_=t=>+t||0;function cb(t,e){const n={},r=kt(e),i=r?Object.keys(e):e,o=kt(t)?r?a=>Ct(t[a],t[e[a]]):a=>t[a]:()=>t;for(const a of i)n[a]=c_(o(a));return n}function ub(t){return cb(t,{top:"y",right:"x",bottom:"y",left:"x"})}function ba(t){return cb(t,["topLeft","topRight","bottomLeft","bottomRight"])}function Gr(t){const e=ub(t);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function zn(t,e){t=t||{},e=e||Jt.font;let n=Ct(t.size,e.size);typeof n=="string"&&(n=parseInt(n,10));let r=Ct(t.style,e.style);r&&!(""+r).match(a_)&&(console.warn('Invalid font style specified: "'+r+'"'),r=void 0);const i={family:Ct(t.family,e.family),lineHeight:l_(Ct(t.lineHeight,e.lineHeight),n),size:n,style:r,weight:Ct(t.weight,e.weight),string:""};return i.string=n_(i),i}function Qu(t,e,n,r){let i,o,a;for(i=0,o=t.length;i<o;++i)if(a=t[i],a!==void 0&&a!==void 0)return a}function u_(t,e,n){const{min:r,max:i}=t,o=jy(e,(i-r)/2),a=(l,u)=>n&&l===0?0:l+u;return{min:a(r,-Math.abs(o)),max:a(i,o)}}function xa(t,e){return Object.assign(Object.create(t),e)}function gh(t,e=[""],n,r,i=()=>t[0]){const o=n||t;typeof r>"u"&&(r=Ab("_fallback",t));const a={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:o,_fallback:r,_getTarget:i,override:l=>gh([l,...t],e,o,r)};return new Proxy(a,{deleteProperty(l,u){return delete l[u],delete l._keys,delete t[0][u],!0},get(l,u){return fb(l,u,()=>v_(u,e,t,l))},getOwnPropertyDescriptor(l,u){return Reflect.getOwnPropertyDescriptor(l._scopes[0],u)},getPrototypeOf(){return Reflect.getPrototypeOf(t[0])},has(l,u){return gb(l).includes(u)},ownKeys(l){return gb(l)},set(l,u,d){const p=l._storage||(l._storage=i());return l[u]=p[u]=d,delete l._keys,!0}})}function wa(t,e,n,r){const i={_cacheable:!1,_proxy:t,_context:e,_subProxy:n,_stack:new Set,_descriptors:db(t,r),setContext:o=>wa(t,o,n,r),override:o=>wa(t.override(o),e,n,r)};return new Proxy(i,{deleteProperty(o,a){return delete o[a],delete t[a],!0},get(o,a,l){return fb(o,a,()=>f_(o,a,l))},getOwnPropertyDescriptor(o,a){return o._descriptors.allKeys?Reflect.has(t,a)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(t,a)},getPrototypeOf(){return Reflect.getPrototypeOf(t)},has(o,a){return Reflect.has(t,a)},ownKeys(){return Reflect.ownKeys(t)},set(o,a,l){return t[a]=l,delete o[a],!0}})}function db(t,e={scriptable:!0,indexable:!0}){const{_scriptable:n=e.scriptable,_indexable:r=e.indexable,_allKeys:i=e.allKeys}=t;return{allKeys:i,scriptable:n,indexable:r,isScriptable:Qo(n)?n:()=>n,isIndexable:Qo(r)?r:()=>r}}const d_=(t,e)=>t?t+sh(e):e,mh=(t,e)=>kt(e)&&t!=="adapters"&&(Object.getPrototypeOf(e)===null||e.constructor===Object);function fb(t,e,n){if(Object.prototype.hasOwnProperty.call(t,e)||e==="constructor")return t[e];const r=n();return t[e]=r,r}function f_(t,e,n){const{_proxy:r,_context:i,_subProxy:o,_descriptors:a}=t;let l=r[e];return Qo(l)&&a.isScriptable(e)&&(l=p_(e,l,t,n)),gn(l)&&l.length&&(l=h_(e,l,t,a.isIndexable)),mh(e,l)&&(l=wa(l,i,o&&o[e],a)),l}function p_(t,e,n,r){const{_proxy:i,_context:o,_subProxy:a,_stack:l}=n;if(l.has(t))throw new Error("Recursion detected: "+Array.from(l).join("->")+"->"+t);l.add(t);let u=e(o,a||r);return l.delete(t),mh(t,u)&&(u=vh(i._scopes,i,t,u)),u}function h_(t,e,n,r){const{_proxy:i,_context:o,_subProxy:a,_descriptors:l}=n;if(typeof o.index<"u"&&r(t))return e[o.index%e.length];if(kt(e[0])){const u=e,d=i._scopes.filter(p=>p!==u);e=[];for(const p of u){const h=vh(d,i,t,p);e.push(wa(h,o,a&&a[t],l))}}return e}function pb(t,e,n){return Qo(t)?t(e,n):t}const A_=(t,e)=>t===!0?e:typeof t=="string"?zo(e,t):void 0;function g_(t,e,n,r,i){for(const o of e){const a=A_(n,o);if(a){t.add(a);const l=pb(a._fallback,n,i);if(typeof l<"u"&&l!==n&&l!==r)return l}else if(a===!1&&typeof r<"u"&&n!==r)return null}return!1}function vh(t,e,n,r){const i=e._rootScopes,o=pb(e._fallback,n,r),a=[...t,...i],l=new Set;l.add(r);let u=hb(l,a,n,o||n,r);return u===null||typeof o<"u"&&o!==n&&(u=hb(l,a,o,u,r),u===null)?!1:gh(Array.from(l),[""],i,o,()=>m_(e,n,r))}function hb(t,e,n,r,i){for(;n;)n=g_(t,e,n,r,i);return n}function m_(t,e,n){const r=t._getTarget();e in r||(r[e]={});const i=r[e];return gn(i)&&kt(n)?n:i||{}}function v_(t,e,n,r){let i;for(const o of e)if(i=Ab(d_(o,t),n),typeof i<"u")return mh(t,i)?vh(n,r,t,i):i}function Ab(t,e){for(const n of e){if(!n)continue;const r=n[t];if(typeof r<"u")return r}}function gb(t){let e=t._keys;return e||(e=t._keys=y_(t._scopes)),e}function y_(t){const e=new Set;for(const n of t)for(const r of Object.keys(n).filter(i=>!i.startsWith("_")))e.add(r);return Array.from(e)}function b_(t,e,n,r){const{iScale:i}=t,{key:o="r"}=this._parsing,a=new Array(r);let l,u,d,p;for(l=0,u=r;l<u;++l)d=l+n,p=e[d],a[l]={r:i.parse(zo(p,o),d)};return a}function yh(){return typeof window<"u"&&typeof document<"u"}function bh(t){let e=t.parentNode;return e&&e.toString()==="[object ShadowRoot]"&&(e=e.host),e}function Hu(t,e,n){let r;return typeof t=="string"?(r=parseInt(t,10),t.indexOf("%")!==-1&&(r=r/100*e.parentNode[n])):r=t,r}const Uu=t=>t.ownerDocument.defaultView.getComputedStyle(t,null);function x_(t,e){return Uu(t).getPropertyValue(e)}const w_=["top","right","bottom","left"];function Ps(t,e,n){const r={};n=n?"-"+n:"";for(let i=0;i<4;i++){const o=w_[i];r[o]=parseFloat(t[e+"-"+o+n])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}const k_=(t,e,n)=>(t>0||e>0)&&(!n||!n.shadowRoot);function S_(t,e){const n=t.touches,r=n&&n.length?n[0]:t,{offsetX:i,offsetY:o}=r;let a=!1,l,u;if(k_(i,o,t.target))l=i,u=o;else{const d=e.getBoundingClientRect();l=r.clientX-d.left,u=r.clientY-d.top,a=!0}return{x:l,y:u,box:a}}function Ds(t,e){if("native"in t)return t;const{canvas:n,currentDevicePixelRatio:r}=e,i=Uu(n),o=i.boxSizing==="border-box",a=Ps(i,"padding"),l=Ps(i,"border","width"),{x:u,y:d,box:p}=S_(t,n),h=a.left+(p&&l.left),A=a.top+(p&&l.top);let{width:m,height:b}=e;return o&&(m-=a.width+l.width,b-=a.height+l.height),{x:Math.round((u-h)/m*n.width/r),y:Math.round((d-A)/b*n.height/r)}}function E_(t,e,n){let r,i;if(e===void 0||n===void 0){const o=t&&bh(t);if(!o)e=t.clientWidth,n=t.clientHeight;else{const a=o.getBoundingClientRect(),l=Uu(o),u=Ps(l,"border","width"),d=Ps(l,"padding");e=a.width-d.width-u.width,n=a.height-d.height-u.height,r=Hu(l.maxWidth,o,"clientWidth"),i=Hu(l.maxHeight,o,"clientHeight")}}return{width:e,height:n,maxWidth:r||Ru,maxHeight:i||Ru}}const Uo=t=>Math.round(t*10)/10;function C_(t,e,n,r){const i=Uu(t),o=Ps(i,"margin"),a=Hu(i.maxWidth,t,"clientWidth")||Ru,l=Hu(i.maxHeight,t,"clientHeight")||Ru,u=E_(t,e,n);let{width:d,height:p}=u;if(i.boxSizing==="content-box"){const A=Ps(i,"border","width"),m=Ps(i,"padding");d-=m.width+A.width,p-=m.height+A.height}return d=Math.max(0,d-o.width),p=Math.max(0,r?d/r:p-o.height),d=Uo(Math.min(d,a,u.maxWidth)),p=Uo(Math.min(p,l,u.maxHeight)),d&&!p&&(p=Uo(d/2)),(e!==void 0||n!==void 0)&&r&&u.height&&p>u.height&&(p=u.height,d=Uo(Math.floor(p*r))),{width:d,height:p}}function mb(t,e,n){const r=e||1,i=Uo(t.height*r),o=Uo(t.width*r);t.height=Uo(t.height),t.width=Uo(t.width);const a=t.canvas;return a.style&&(n||!a.style.height&&!a.style.width)&&(a.style.height=`${t.height}px`,a.style.width=`${t.width}px`),t.currentDevicePixelRatio!==r||a.height!==i||a.width!==o?(t.currentDevicePixelRatio=r,a.height=i,a.width=o,t.ctx.setTransform(r,0,0,r,0,0),!0):!1}const P_=(function(){let t=!1;try{const e={get passive(){return t=!0,!1}};yh()&&(window.addEventListener("test",null,e),window.removeEventListener("test",null,e))}catch{}return t})();function vb(t,e){const n=x_(t,e),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}const D_=function(t,e){return{x(n){return t+t+e-n},setWidth(n){e=n},textAlign(n){return n==="center"?n:n==="right"?"left":"right"},xPlus(n,r){return n-r},leftForLtr(n,r){return n-r}}},T_=function(){return{x(t){return t},setWidth(t){},textAlign(t){return t},xPlus(t,e){return t+e},leftForLtr(t,e){return t}}};function ka(t,e,n){return t?D_(e,n):T_()}function yb(t,e){let n,r;(e==="ltr"||e==="rtl")&&(n=t.canvas.style,r=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",e,"important"),t.prevTextDirection=r)}function bb(t,e){e!==void 0&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function Vu(t,e,n){return t.options.clip?t[n]:e[n]}function B_(t,e){const{xScale:n,yScale:r}=t;return n&&r?{left:Vu(n,e,"left"),right:Vu(n,e,"right"),top:Vu(r,e,"top"),bottom:Vu(r,e,"bottom")}:e}function __(t,e){const n=e._clip;if(n.disabled)return!1;const r=B_(e,t.chartArea);return{left:n.left===!1?0:r.left-(n.left===!0?0:n.left),right:n.right===!1?t.width:r.right+(n.right===!0?0:n.right),top:n.top===!1?0:r.top-(n.top===!0?0:n.top),bottom:n.bottom===!1?t.height:r.bottom+(n.bottom===!0?0:n.bottom)}}class I_{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(e,n,r,i){const o=n.listeners[i],a=n.duration;o.forEach(l=>l({chart:e,initial:n.initial,numSteps:a,currentStep:Math.min(r-n.start,a)}))}_refresh(){this._request||(this._running=!0,this._request=Xy.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(e=Date.now()){let n=0;this._charts.forEach((r,i)=>{if(!r.running||!r.items.length)return;const o=r.items;let a=o.length-1,l=!1,u;for(;a>=0;--a)u=o[a],u._active?(u._total>r.duration&&(r.duration=u._total),u.tick(e),l=!0):(o[a]=o[o.length-1],o.pop());l&&(i.draw(),this._notify(i,r,e,"progress")),o.length||(r.running=!1,this._notify(i,r,e,"complete"),r.initial=!1),n+=o.length}),this._lastDate=e,n===0&&(this._running=!1)}_getAnims(e){const n=this._charts;let r=n.get(e);return r||(r={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},n.set(e,r)),r}listen(e,n,r){this._getAnims(e).listeners[n].push(r)}add(e,n){!n||!n.length||this._getAnims(e).items.push(...n)}has(e){return this._getAnims(e).items.length>0}start(e){const n=this._charts.get(e);n&&(n.running=!0,n.start=Date.now(),n.duration=n.items.reduce((r,i)=>Math.max(r,i._duration),0),this._refresh())}running(e){if(!this._running)return!1;const n=this._charts.get(e);return!(!n||!n.running||!n.items.length)}stop(e){const n=this._charts.get(e);if(!n||!n.items.length)return;const r=n.items;let i=r.length-1;for(;i>=0;--i)r[i].cancel();n.items=[],this._notify(e,n,Date.now(),"complete")}remove(e){return this._charts.delete(e)}}var co=new I_;const xb="transparent",M_={boolean(t,e,n){return n>.5?e:t},color(t,e,n){const r=tb(t||xb),i=r.valid&&tb(e||xb);return i&&i.valid?i.mix(r,n).hexString():e},number(t,e,n){return t+(e-t)*n}};class O_{constructor(e,n,r,i){const o=n[r];i=Qu([e.to,i,o,e.from]);const a=Qu([e.from,o,i]);this._active=!0,this._fn=e.fn||M_[e.type||typeof a],this._easing=Vl[e.easing]||Vl.linear,this._start=Math.floor(Date.now()+(e.delay||0)),this._duration=this._total=Math.floor(e.duration),this._loop=!!e.loop,this._target=n,this._prop=r,this._from=a,this._to=i,this._promises=void 0}active(){return this._active}update(e,n,r){if(this._active){this._notify(!1);const i=this._target[this._prop],o=r-this._start,a=this._duration-o;this._start=r,this._duration=Math.floor(Math.max(a,e.duration)),this._total+=o,this._loop=!!e.loop,this._to=Qu([e.to,n,i,e.from]),this._from=Qu([e.from,i,n])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(e){const n=e-this._start,r=this._duration,i=this._prop,o=this._from,a=this._loop,l=this._to;let u;if(this._active=o!==l&&(a||n<r),!this._active){this._target[i]=l,this._notify(!0);return}if(n<0){this._target[i]=o;return}u=n/r%2,u=a&&u>1?2-u:u,u=this._easing(Math.min(1,Math.max(0,u))),this._target[i]=this._fn(o,l,u)}wait(){const e=this._promises||(this._promises=[]);return new Promise((n,r)=>{e.push({res:n,rej:r})})}_notify(e){const n=e?"res":"rej",r=this._promises||[];for(let i=0;i<r.length;i++)r[i][n]()}}class wb{constructor(e,n){this._chart=e,this._properties=new Map,this.configure(n)}configure(e){if(!kt(e))return;const n=Object.keys(Jt.animation),r=this._properties;Object.getOwnPropertyNames(e).forEach(i=>{const o=e[i];if(!kt(o))return;const a={};for(const l of n)a[l]=o[l];(gn(o.properties)&&o.properties||[i]).forEach(l=>{(l===i||!r.has(l))&&r.set(l,a)})})}_animateOptions(e,n){const r=n.options,i=L_(e,r);if(!i)return[];const o=this._createAnimations(i,r);return r.$shared&&R_(e.options.$animations,r).then(()=>{e.options=r},()=>{}),o}_createAnimations(e,n){const r=this._properties,i=[],o=e.$animations||(e.$animations={}),a=Object.keys(n),l=Date.now();let u;for(u=a.length-1;u>=0;--u){const d=a[u];if(d.charAt(0)==="$")continue;if(d==="options"){i.push(...this._animateOptions(e,n));continue}const p=n[d];let h=o[d];const A=r.get(d);if(h)if(A&&h.active()){h.update(A,p,l);continue}else h.cancel();if(!A||!A.duration){e[d]=p;continue}o[d]=h=new O_(A,e,d,p),i.push(h)}return i}update(e,n){if(this._properties.size===0){Object.assign(e,n);return}const r=this._createAnimations(e,n);if(r.length)return co.add(this._chart,r),!0}}function R_(t,e){const n=[],r=Object.keys(e);for(let i=0;i<r.length;i++){const o=t[r[i]];o&&o.active()&&n.push(o.wait())}return Promise.all(n)}function L_(t,e){if(!e)return;let n=t.options;if(!n){t.options=e;return}return n.$shared&&(t.options=n=Object.assign({},n,{$shared:!1,$animations:{}})),n}function kb(t,e){const n=t&&t.options||{},r=n.reverse,i=n.min===void 0?e:0,o=n.max===void 0?e:0;return{start:r?o:i,end:r?i:o}}function N_(t,e,n){if(n===!1)return!1;const r=kb(t,n),i=kb(e,n);return{top:i.end,right:r.end,bottom:i.start,left:r.start}}function F_(t){let e,n,r,i;return kt(t)?(e=t.top,n=t.right,r=t.bottom,i=t.left):e=n=r=i=t,{top:e,right:n,bottom:r,left:i,disabled:t===!1}}function Sb(t,e){const n=[],r=t._getSortedDatasetMetas(e);let i,o;for(i=0,o=r.length;i<o;++i)n.push(r[i].index);return n}function Eb(t,e,n,r={}){const i=t.keys,o=r.mode==="single";let a,l,u,d;if(e===null)return;let p=!1;for(a=0,l=i.length;a<l;++a){if(u=+i[a],u===n){if(p=!0,r.all)continue;break}d=t.values[u],Kr(d)&&(o||e===0||Ho(e)===Ho(d))&&(e+=d)}return!p&&!r.all?0:e}function j_(t,e){const{iScale:n,vScale:r}=e,i=n.axis==="x"?"x":"y",o=r.axis==="x"?"x":"y",a=Object.keys(t),l=new Array(a.length);let u,d,p;for(u=0,d=a.length;u<d;++u)p=a[u],l[u]={[i]:p,[o]:t[p]};return l}function xh(t,e){const n=t&&t.options.stacked;return n||n===void 0&&e.stack!==void 0}function z_(t,e,n){return`${t.id}.${e.id}.${n.stack||n.type}`}function Q_(t){const{min:e,max:n,minDefined:r,maxDefined:i}=t.getUserBounds();return{min:r?e:Number.NEGATIVE_INFINITY,max:i?n:Number.POSITIVE_INFINITY}}function H_(t,e,n){const r=t[e]||(t[e]={});return r[n]||(r[n]={})}function Cb(t,e,n,r){for(const i of e.getMatchingVisibleMetas(r).reverse()){const o=t[i.index];if(n&&o>0||!n&&o<0)return i.index}return null}function Pb(t,e){const{chart:n,_cachedMeta:r}=t,i=n._stacks||(n._stacks={}),{iScale:o,vScale:a,index:l}=r,u=o.axis,d=a.axis,p=z_(o,a,r),h=e.length;let A;for(let m=0;m<h;++m){const b=e[m],{[u]:w,[d]:y}=b,P=b._stacks||(b._stacks={});A=P[d]=H_(i,p,w),A[l]=y,A._top=Cb(A,a,!0,r.type),A._bottom=Cb(A,a,!1,r.type);const M=A._visualValues||(A._visualValues={});M[l]=y}}function wh(t,e){const n=t.scales;return Object.keys(n).filter(r=>n[r].axis===e).shift()}function U_(t,e){return xa(t,{active:!1,dataset:void 0,datasetIndex:e,index:e,mode:"default",type:"dataset"})}function V_(t,e,n){return xa(t,{active:!1,dataIndex:e,parsed:void 0,raw:void 0,element:n,index:e,mode:"default",type:"data"})}function ql(t,e){const n=t.controller.index,r=t.vScale&&t.vScale.axis;if(r){e=e||t._parsed;for(const i of e){const o=i._stacks;if(!o||o[r]===void 0||o[r][n]===void 0)return;delete o[r][n],o[r]._visualValues!==void 0&&o[r]._visualValues[n]!==void 0&&delete o[r]._visualValues[n]}}}const kh=t=>t==="reset"||t==="none",Db=(t,e)=>e?t:Object.assign({},t),W_=(t,e,n)=>t&&!e.hidden&&e._stacked&&{keys:Sb(n,!0),values:null};class Wu{static defaults={};static datasetElementType=null;static dataElementType=null;constructor(e,n){this.chart=e,this._ctx=e.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 e=this._cachedMeta;this.configure(),this.linkScales(),e._stacked=xh(e.vScale,e),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(e){this.index!==e&&ql(this._cachedMeta),this.index=e}linkScales(){const e=this.chart,n=this._cachedMeta,r=this.getDataset(),i=(h,A,m,b)=>h==="x"?A:h==="r"?b:m,o=n.xAxisID=Ct(r.xAxisID,wh(e,"x")),a=n.yAxisID=Ct(r.yAxisID,wh(e,"y")),l=n.rAxisID=Ct(r.rAxisID,wh(e,"r")),u=n.indexAxis,d=n.iAxisID=i(u,o,a,l),p=n.vAxisID=i(u,a,o,l);n.xScale=this.getScaleForId(o),n.yScale=this.getScaleForId(a),n.rScale=this.getScaleForId(l),n.iScale=this.getScaleForId(d),n.vScale=this.getScaleForId(p)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(e){return this.chart.scales[e]}_getOtherScale(e){const n=this._cachedMeta;return e===n.iScale?n.vScale:n.iScale}reset(){this._update("reset")}_destroy(){const e=this._cachedMeta;this._data&&Ky(this._data,this),e._stacked&&ql(e)}_dataCheck(){const e=this.getDataset(),n=e.data||(e.data=[]),r=this._data;if(kt(n)){const i=this._cachedMeta;this._data=j_(n,i)}else if(r!==n){if(r){Ky(r,this);const i=this._cachedMeta;ql(i),i._parsed=[]}n&&Object.isExtensible(n)&&V8(n,this),this._syncList=[],this._data=n}}addElements(){const e=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(e.dataset=new this.datasetElementType)}buildOrUpdateElements(e){const n=this._cachedMeta,r=this.getDataset();let i=!1;this._dataCheck();const o=n._stacked;n._stacked=xh(n.vScale,n),n.stack!==r.stack&&(i=!0,ql(n),n.stack=r.stack),this._resyncElements(e),(i||o!==n._stacked)&&(Pb(this,n._parsed),n._stacked=xh(n.vScale,n))}configure(){const e=this.chart.config,n=e.datasetScopeKeys(this._type),r=e.getOptionScopes(this.getDataset(),n,!0);this.options=e.createResolver(r,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(e,n){const{_cachedMeta:r,_data:i}=this,{iScale:o,_stacked:a}=r,l=o.axis;let u=e===0&&n===i.length?!0:r._sorted,d=e>0&&r._parsed[e-1],p,h,A;if(this._parsing===!1)r._parsed=i,r._sorted=!0,A=i;else{gn(i[e])?A=this.parseArrayData(r,i,e,n):kt(i[e])?A=this.parseObjectData(r,i,e,n):A=this.parsePrimitiveData(r,i,e,n);const m=()=>h[l]===null||d&&h[l]<d[l];for(p=0;p<n;++p)r._parsed[p+e]=h=A[p],u&&(m()&&(u=!1),d=h);r._sorted=u}a&&Pb(this,A)}parsePrimitiveData(e,n,r,i){const{iScale:o,vScale:a}=e,l=o.axis,u=a.axis,d=o.getLabels(),p=o===a,h=new Array(i);let A,m,b;for(A=0,m=i;A<m;++A)b=A+r,h[A]={[l]:p||o.parse(d[b],b),[u]:a.parse(n[b],b)};return h}parseArrayData(e,n,r,i){const{xScale:o,yScale:a}=e,l=new Array(i);let u,d,p,h;for(u=0,d=i;u<d;++u)p=u+r,h=n[p],l[u]={x:o.parse(h[0],p),y:a.parse(h[1],p)};return l}parseObjectData(e,n,r,i){const{xScale:o,yScale:a}=e,{xAxisKey:l="x",yAxisKey:u="y"}=this._parsing,d=new Array(i);let p,h,A,m;for(p=0,h=i;p<h;++p)A=p+r,m=n[A],d[p]={x:o.parse(zo(m,l),A),y:a.parse(zo(m,u),A)};return d}getParsed(e){return this._cachedMeta._parsed[e]}getDataElement(e){return this._cachedMeta.data[e]}applyStack(e,n,r){const i=this.chart,o=this._cachedMeta,a=n[e.axis],l={keys:Sb(i,!0),values:n._stacks[e.axis]._visualValues};return Eb(l,a,o.index,{mode:r})}updateRangeFromParsed(e,n,r,i){const o=r[n.axis];let a=o===null?NaN:o;const l=i&&r._stacks[n.axis];i&&l&&(i.values=l,a=Eb(i,o,this._cachedMeta.index)),e.min=Math.min(e.min,a),e.max=Math.max(e.max,a)}getMinMax(e,n){const r=this._cachedMeta,i=r._parsed,o=r._sorted&&e===r.iScale,a=i.length,l=this._getOtherScale(e),u=W_(n,r,this.chart),d={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:p,max:h}=Q_(l);let A,m;function b(){m=i[A];const w=m[l.axis];return!Kr(m[e.axis])||p>w||h<w}for(A=0;A<a&&!(!b()&&(this.updateRangeFromParsed(d,e,m,u),o));++A);if(o){for(A=a-1;A>=0;--A)if(!b()){this.updateRangeFromParsed(d,e,m,u);break}}return d}getAllParsedValues(e){const n=this._cachedMeta._parsed,r=[];let i,o,a;for(i=0,o=n.length;i<o;++i)a=n[i][e.axis],Kr(a)&&r.push(a);return r}getMaxOverflow(){return!1}getLabelAndValue(e){const n=this._cachedMeta,r=n.iScale,i=n.vScale,o=this.getParsed(e);return{label:r?""+r.getLabelForValue(o[r.axis]):"",value:i?""+i.getLabelForValue(o[i.axis]):""}}_update(e){const n=this._cachedMeta;this.update(e||"default"),n._clip=F_(Ct(this.options.clip,N_(n.xScale,n.yScale,this.getMaxOverflow())))}update(e){}draw(){const e=this._ctx,n=this.chart,r=this._cachedMeta,i=r.data||[],o=n.chartArea,a=[],l=this._drawStart||0,u=this._drawCount||i.length-l,d=this.options.drawActiveElementsOnTop;let p;for(r.dataset&&r.dataset.draw(e,o,l,u),p=l;p<l+u;++p){const h=i[p];h.hidden||(h.active&&d?a.push(h):h.draw(e,o))}for(p=0;p<a.length;++p)a[p].draw(e,o)}getStyle(e,n){const r=n?"active":"default";return e===void 0&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(r):this.resolveDataElementOptions(e||0,r)}getContext(e,n,r){const i=this.getDataset();let o;if(e>=0&&e<this._cachedMeta.data.length){const a=this._cachedMeta.data[e];o=a.$context||(a.$context=V_(this.getContext(),e,a)),o.parsed=this.getParsed(e),o.raw=i.data[e],o.index=o.dataIndex=e}else o=this.$context||(this.$context=U_(this.chart.getContext(),this.index)),o.dataset=i,o.index=o.datasetIndex=this.index;return o.active=!!n,o.mode=r,o}resolveDatasetElementOptions(e){return this._resolveElementOptions(this.datasetElementType.id,e)}resolveDataElementOptions(e,n){return this._resolveElementOptions(this.dataElementType.id,n,e)}_resolveElementOptions(e,n="default",r){const i=n==="active",o=this._cachedDataOpts,a=e+"-"+n,l=o[a],u=this.enableOptionSharing&&Ul(r);if(l)return Db(l,u);const d=this.chart.config,p=d.datasetElementScopeKeys(this._type,e),h=i?[`${e}Hover`,"hover",e,""]:[e,""],A=d.getOptionScopes(this.getDataset(),p),m=Object.keys(Jt.elements[e]),b=()=>this.getContext(r,i,n),w=d.resolveNamedOptions(A,m,b,h);return w.$shared&&(w.$shared=u,o[a]=Object.freeze(Db(w,u))),w}_resolveAnimations(e,n,r){const i=this.chart,o=this._cachedDataOpts,a=`animation-${n}`,l=o[a];if(l)return l;let u;if(i.options.animation!==!1){const p=this.chart.config,h=p.datasetAnimationScopeKeys(this._type,n),A=p.getOptionScopes(this.getDataset(),h);u=p.createResolver(A,this.getContext(e,r,n))}const d=new wb(i,u&&u.animations);return u&&u._cacheable&&(o[a]=Object.freeze(d)),d}getSharedOptions(e){if(e.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},e))}includeOptions(e,n){return!n||kh(e)||this.chart._animationsDisabled}_getSharedOptions(e,n){const r=this.resolveDataElementOptions(e,n),i=this._sharedOptions,o=this.getSharedOptions(r),a=this.includeOptions(n,o)||o!==i;return this.updateSharedOptions(o,n,r),{sharedOptions:o,includeOptions:a}}updateElement(e,n,r,i){kh(i)?Object.assign(e,r):this._resolveAnimations(n,i).update(e,r)}updateSharedOptions(e,n,r){e&&!kh(n)&&this._resolveAnimations(void 0,n).update(e,r)}_setStyle(e,n,r,i){e.active=i;const o=this.getStyle(n,i);this._resolveAnimations(n,r,i).update(e,{options:!i&&this.getSharedOptions(o)||o})}removeHoverStyle(e,n,r){this._setStyle(e,r,"active",!1)}setHoverStyle(e,n,r){this._setStyle(e,r,"active",!0)}_removeDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!1)}_setDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!0)}_resyncElements(e){const n=this._data,r=this._cachedMeta.data;for(const[l,u,d]of this._syncList)this[l](u,d);this._syncList=[];const i=r.length,o=n.length,a=Math.min(o,i);a&&this.parse(0,a),o>i?this._insertElements(i,o-i,e):o<i&&this._removeElements(o,i-o)}_insertElements(e,n,r=!0){const i=this._cachedMeta,o=i.data,a=e+n;let l;const u=d=>{for(d.length+=n,l=d.length-1;l>=a;l--)d[l]=d[l-n]};for(u(o),l=e;l<a;++l)o[l]=new this.dataElementType;this._parsing&&u(i._parsed),this.parse(e,n),r&&this.updateElements(o,e,n,"reset")}updateElements(e,n,r,i){}_removeElements(e,n){const r=this._cachedMeta;if(this._parsing){const i=r._parsed.splice(e,n);r._stacked&&ql(r,i)}r.data.splice(e,n)}_sync(e){if(this._parsing)this._syncList.push(e);else{const[n,r,i]=e;this[n](r,i)}this.chart._dataChanges.push([this.index,...e])}_onDataPush(){const e=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-e,e])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(e,n){n&&this._sync(["_removeElements",e,n]);const r=arguments.length-2;r&&this._sync(["_insertElements",e,r])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}function Y_(t,e){if(!t._cache.$bar){const n=t.getMatchingVisibleMetas(e);let r=[];for(let i=0,o=n.length;i<o;i++)r=r.concat(n[i].controller.getAllParsedValues(t));t._cache.$bar=Gy(r.sort((i,o)=>i-o))}return t._cache.$bar}function q_(t){const e=t.iScale,n=Y_(e,t.type);let r=e._length,i,o,a,l;const u=()=>{a===32767||a===-32768||(Ul(l)&&(r=Math.min(r,Math.abs(a-l)||r)),l=a)};for(i=0,o=n.length;i<o;++i)a=e.getPixelForValue(n[i]),u();for(l=void 0,i=0,o=e.ticks.length;i<o;++i)a=e.getPixelForTick(i),u();return r}function K_(t,e,n,r){const i=n.barThickness;let o,a;return Ot(i)?(o=e.min*n.categoryPercentage,a=n.barPercentage):(o=i*r,a=1),{chunk:o/r,ratio:a,start:e.pixels[t]-o/2}}function G_(t,e,n,r){const i=e.pixels,o=i[t];let a=t>0?i[t-1]:null,l=t<i.length-1?i[t+1]:null;const u=n.categoryPercentage;a===null&&(a=o-(l===null?e.end-e.start:l-o)),l===null&&(l=o+o-a);const d=o-(o-Math.min(a,l))/2*u;return{chunk:Math.abs(l-a)/2*u/r,ratio:n.barPercentage,start:d}}function X_(t,e,n,r){const i=n.parse(t[0],r),o=n.parse(t[1],r),a=Math.min(i,o),l=Math.max(i,o);let u=a,d=l;Math.abs(a)>Math.abs(l)&&(u=l,d=a),e[n.axis]=d,e._custom={barStart:u,barEnd:d,start:i,end:o,min:a,max:l}}function Tb(t,e,n,r){return gn(t)?X_(t,e,n,r):e[n.axis]=n.parse(t,r),e}function Bb(t,e,n,r){const i=t.iScale,o=t.vScale,a=i.getLabels(),l=i===o,u=[];let d,p,h,A;for(d=n,p=n+r;d<p;++d)A=e[d],h={},h[i.axis]=l||i.parse(a[d],d),u.push(Tb(A,h,o,d));return u}function Sh(t){return t&&t.barStart!==void 0&&t.barEnd!==void 0}function J_(t,e,n){return t!==0?Ho(t):(e.isHorizontal()?1:-1)*(e.min>=n?1:-1)}function Z_(t){let e,n,r,i,o;return t.horizontal?(e=t.base>t.x,n="left",r="right"):(e=t.base<t.y,n="bottom",r="top"),e?(i="end",o="start"):(i="start",o="end"),{start:n,end:r,reverse:e,top:i,bottom:o}}function $_(t,e,n,r){let i=e.borderSkipped;const o={};if(!i){t.borderSkipped=o;return}if(i===!0){t.borderSkipped={top:!0,right:!0,bottom:!0,left:!0};return}const{start:a,end:l,reverse:u,top:d,bottom:p}=Z_(t);i==="middle"&&n&&(t.enableBorderRadius=!0,(n._top||0)===r?i=d:(n._bottom||0)===r?i=p:(o[_b(p,a,l,u)]=!0,i=d)),o[_b(i,a,l,u)]=!0,t.borderSkipped=o}function _b(t,e,n,r){return r?(t=eI(t,e,n),t=Ib(t,n,e)):t=Ib(t,e,n),t}function eI(t,e,n){return t===e?n:t===n?e:t}function Ib(t,e,n){return t==="start"?e:t==="end"?n:t}function tI(t,{inflateAmount:e},n){t.inflateAmount=e==="auto"?n===1?.33:0:e}class nI extends Wu{static id="bar";static defaults={datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}};static overrides={scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}};parsePrimitiveData(e,n,r,i){return Bb(e,n,r,i)}parseArrayData(e,n,r,i){return Bb(e,n,r,i)}parseObjectData(e,n,r,i){const{iScale:o,vScale:a}=e,{xAxisKey:l="x",yAxisKey:u="y"}=this._parsing,d=o.axis==="x"?l:u,p=a.axis==="x"?l:u,h=[];let A,m,b,w;for(A=r,m=r+i;A<m;++A)w=n[A],b={},b[o.axis]=o.parse(zo(w,d),A),h.push(Tb(zo(w,p),b,a,A));return h}updateRangeFromParsed(e,n,r,i){super.updateRangeFromParsed(e,n,r,i);const o=r._custom;o&&n===this._cachedMeta.vScale&&(e.min=Math.min(e.min,o.min),e.max=Math.max(e.max,o.max))}getMaxOverflow(){return 0}getLabelAndValue(e){const n=this._cachedMeta,{iScale:r,vScale:i}=n,o=this.getParsed(e),a=o._custom,l=Sh(a)?"["+a.start+", "+a.end+"]":""+i.getLabelForValue(o[i.axis]);return{label:""+r.getLabelForValue(o[r.axis]),value:l}}initialize(){this.enableOptionSharing=!0,super.initialize();const e=this._cachedMeta;e.stack=this.getDataset().stack}update(e){const n=this._cachedMeta;this.updateElements(n.data,0,n.data.length,e)}updateElements(e,n,r,i){const o=i==="reset",{index:a,_cachedMeta:{vScale:l}}=this,u=l.getBasePixel(),d=l.isHorizontal(),p=this._getRuler(),{sharedOptions:h,includeOptions:A}=this._getSharedOptions(n,i);for(let m=n;m<n+r;m++){const b=this.getParsed(m),w=o||Ot(b[l.axis])?{base:u,head:u}:this._calculateBarValuePixels(m),y=this._calculateBarIndexPixels(m,p),P=(b._stacks||{})[l.axis],M={horizontal:d,base:w.base,enableBorderRadius:!P||Sh(b._custom)||a===P._top||a===P._bottom,x:d?w.head:y.center,y:d?y.center:w.head,height:d?y.size:Math.abs(w.size),width:d?Math.abs(w.size):y.size};A&&(M.options=h||this.resolveDataElementOptions(m,e[m].active?"active":i));const D=M.options||e[m].options;$_(M,D,P,a),tI(M,D,p.ratio),this.updateElement(e[m],m,M,i)}}_getStacks(e,n){const{iScale:r}=this._cachedMeta,i=r.getMatchingVisibleMetas(this._type).filter(p=>p.controller.options.grouped),o=r.options.stacked,a=[],l=this._cachedMeta.controller.getParsed(n),u=l&&l[r.axis],d=p=>{const h=p._parsed.find(m=>m[r.axis]===u),A=h&&h[p.vScale.axis];if(Ot(A)||isNaN(A))return!0};for(const p of i)if(!(n!==void 0&&d(p))&&((o===!1||a.indexOf(p.stack)===-1||o===void 0&&p.stack===void 0)&&a.push(p.stack),p.index===e))break;return a.length||a.push(void 0),a}_getStackCount(e){return this._getStacks(void 0,e).length}_getAxisCount(){return this._getAxis().length}getFirstScaleIdForIndexAxis(){const e=this.chart.scales,n=this.chart.options.indexAxis;return Object.keys(e).filter(r=>e[r].axis===n).shift()}_getAxis(){const e={},n=this.getFirstScaleIdForIndexAxis();for(const r of this.chart.data.datasets)e[Ct(this.chart.options.indexAxis==="x"?r.xAxisID:r.yAxisID,n)]=!0;return Object.keys(e)}_getStackIndex(e,n,r){const i=this._getStacks(e,r),o=n!==void 0?i.indexOf(n):-1;return o===-1?i.length-1:o}_getRuler(){const e=this.options,n=this._cachedMeta,r=n.iScale,i=[];let o,a;for(o=0,a=n.data.length;o<a;++o)i.push(r.getPixelForValue(this.getParsed(o)[r.axis],o));const l=e.barThickness;return{min:l||q_(n),pixels:i,start:r._startPixel,end:r._endPixel,stackCount:this._getStackCount(),scale:r,grouped:e.grouped,ratio:l?1:e.categoryPercentage*e.barPercentage}}_calculateBarValuePixels(e){const{_cachedMeta:{vScale:n,_stacked:r,index:i},options:{base:o,minBarLength:a}}=this,l=o||0,u=this.getParsed(e),d=u._custom,p=Sh(d);let h=u[n.axis],A=0,m=r?this.applyStack(n,u,r):h,b,w;m!==h&&(A=m-h,m=h),p&&(h=d.barStart,m=d.barEnd-d.barStart,h!==0&&Ho(h)!==Ho(d.barEnd)&&(A=0),A+=h);const y=!Ot(o)&&!p?o:A;let P=n.getPixelForValue(y);if(this.chart.getDataVisibility(e)?b=n.getPixelForValue(A+m):b=P,w=b-P,Math.abs(w)<a){w=J_(w,n,l)*a,h===l&&(P-=w/2);const M=n.getPixelForDecimal(0),D=n.getPixelForDecimal(1),C=Math.min(M,D),j=Math.max(M,D);P=Math.max(Math.min(P,j),C),b=P+w,r&&!p&&(u._stacks[n.axis]._visualValues[i]=n.getValueForPixel(b)-n.getValueForPixel(P))}if(P===n.getPixelForValue(l)){const M=Ho(w)*n.getLineWidthForValue(l)/2;P+=M,w-=M}return{size:w,base:P,head:b,center:b+w/2}}_calculateBarIndexPixels(e,n){const r=n.scale,i=this.options,o=i.skipNull,a=Ct(i.maxBarThickness,1/0);let l,u;const d=this._getAxisCount();if(n.grouped){const p=o?this._getStackCount(e):n.stackCount,h=i.barThickness==="flex"?G_(e,n,i,p*d):K_(e,n,i,p*d),A=this.chart.options.indexAxis==="x"?this.getDataset().xAxisID:this.getDataset().yAxisID,m=this._getAxis().indexOf(Ct(A,this.getFirstScaleIdForIndexAxis())),b=this._getStackIndex(this.index,this._cachedMeta.stack,o?e:void 0)+m;l=h.start+h.chunk*b+h.chunk/2,u=Math.min(a,h.chunk*h.ratio)}else l=r.getPixelForValue(this.getParsed(e)[r.axis],e),u=Math.min(a,n.min*n.ratio);return{base:l-u/2,head:l+u/2,center:l,size:u}}draw(){const e=this._cachedMeta,n=e.vScale,r=e.data,i=r.length;let o=0;for(;o<i;++o)this.getParsed(o)[n.axis]!==null&&!r[o].hidden&&r[o].draw(this._ctx)}}function rI(t,e,n){let r=1,i=1,o=0,a=0;if(e<Tr){const l=t,u=l+e,d=Math.cos(l),p=Math.sin(l),h=Math.cos(u),A=Math.sin(u),m=(D,C,j)=>ah(D,l,u,!0)?1:Math.max(C,C*n,j,j*n),b=(D,C,j)=>ah(D,l,u,!0)?-1:Math.min(C,C*n,j,j*n),w=m(0,d,h),y=m(Br,p,A),P=b(mn,d,h),M=b(mn+Br,p,A);r=(w-P)/2,i=(y-M)/2,o=-(w+P)/2,a=-(y+M)/2}return{ratioX:r,ratioY:i,offsetX:o,offsetY:a}}class iI extends Wu{static id="doughnut";static 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"};static descriptors={_scriptable:e=>e!=="spacing",_indexable:e=>e!=="spacing"&&!e.startsWith("borderDash")&&!e.startsWith("hoverBorderDash")};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){const n=e.data,{labels:{pointStyle:r,textAlign:i,color:o,useBorderRadius:a,borderRadius:l}}=e.legend.options;return n.labels.length&&n.datasets.length?n.labels.map((u,d)=>{const h=e.getDatasetMeta(0).controller.getStyle(d);return{text:u,fillStyle:h.backgroundColor,fontColor:o,hidden:!e.getDataVisibility(d),lineDash:h.borderDash,lineDashOffset:h.borderDashOffset,lineJoin:h.borderJoinStyle,lineWidth:h.borderWidth,strokeStyle:h.borderColor,textAlign:i,pointStyle:r,borderRadius:a&&(l||h.borderRadius),index:d}}):[]}},onClick(e,n,r){r.chart.toggleDataVisibility(n.index),r.chart.update()}}}};constructor(e,n){super(e,n),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(e,n){const r=this.getDataset().data,i=this._cachedMeta;if(this._parsing===!1)i._parsed=r;else{let o=u=>+r[u];if(kt(r[e])){const{key:u="value"}=this._parsing;o=d=>+zo(r[d],u)}let a,l;for(a=e,l=e+n;a<l;++a)i._parsed[a]=o(a)}}_getRotation(){return Li(this.options.rotation-90)}_getCircumference(){return Li(this.options.circumference)}_getRotationExtents(){let e=Tr,n=-Tr;for(let r=0;r<this.chart.data.datasets.length;++r)if(this.chart.isDatasetVisible(r)&&this.chart.getDatasetMeta(r).type===this._type){const i=this.chart.getDatasetMeta(r).controller,o=i._getRotation(),a=i._getCircumference();e=Math.min(e,o),n=Math.max(n,o+a)}return{rotation:e,circumference:n-e}}update(e){const n=this.chart,{chartArea:r}=n,i=this._cachedMeta,o=i.data,a=this.getMaxBorderWidth()+this.getMaxOffset(o)+this.options.spacing,l=Math.max((Math.min(r.width,r.height)-a)/2,0),u=Math.min(P8(this.options.cutout,l),1),d=this._getRingWeight(this.index),{circumference:p,rotation:h}=this._getRotationExtents(),{ratioX:A,ratioY:m,offsetX:b,offsetY:w}=rI(h,p,u),y=(r.width-a)/A,P=(r.height-a)/m,M=Math.max(Math.min(y,P)/2,0),D=jy(this.options.radius,M),C=Math.max(D*u,0),j=(D-C)/this._getVisibleDatasetWeightTotal();this.offsetX=b*D,this.offsetY=w*D,i.total=this.calculateTotal(),this.outerRadius=D-j*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-j*d,0),this.updateElements(o,0,o.length,e)}_circumference(e,n){const r=this.options,i=this._cachedMeta,o=this._getCircumference();return n&&r.animation.animateRotate||!this.chart.getDataVisibility(e)||i._parsed[e]===null||i.data[e].hidden?0:this.calculateCircumference(i._parsed[e]*o/Tr)}updateElements(e,n,r,i){const o=i==="reset",a=this.chart,l=a.chartArea,d=a.options.animation,p=(l.left+l.right)/2,h=(l.top+l.bottom)/2,A=o&&d.animateScale,m=A?0:this.innerRadius,b=A?0:this.outerRadius,{sharedOptions:w,includeOptions:y}=this._getSharedOptions(n,i);let P=this._getRotation(),M;for(M=0;M<n;++M)P+=this._circumference(M,o);for(M=n;M<n+r;++M){const D=this._circumference(M,o),C=e[M],j={x:p+this.offsetX,y:h+this.offsetY,startAngle:P,endAngle:P+D,circumference:D,outerRadius:b,innerRadius:m};y&&(j.options=w||this.resolveDataElementOptions(M,C.active?"active":i)),P+=D,this.updateElement(C,M,j,i)}}calculateTotal(){const e=this._cachedMeta,n=e.data;let r=0,i;for(i=0;i<n.length;i++){const o=e._parsed[i];o!==null&&!isNaN(o)&&this.chart.getDataVisibility(i)&&!n[i].hidden&&(r+=Math.abs(o))}return r}calculateCircumference(e){const n=this._cachedMeta.total;return n>0&&!isNaN(e)?Tr*(Math.abs(e)/n):0}getLabelAndValue(e){const n=this._cachedMeta,r=this.chart,i=r.data.labels||[],o=ju(n._parsed[e],r.options.locale);return{label:i[e]||"",value:o}}getMaxBorderWidth(e){let n=0;const r=this.chart;let i,o,a,l,u;if(!e){for(i=0,o=r.data.datasets.length;i<o;++i)if(r.isDatasetVisible(i)){a=r.getDatasetMeta(i),e=a.data,l=a.controller;break}}if(!e)return 0;for(i=0,o=e.length;i<o;++i)u=l.resolveDataElementOptions(i),u.borderAlign!=="inner"&&(n=Math.max(n,u.borderWidth||0,u.hoverBorderWidth||0));return n}getMaxOffset(e){let n=0;for(let r=0,i=e.length;r<i;++r){const o=this.resolveDataElementOptions(r);n=Math.max(n,o.offset||0,o.hoverOffset||0)}return n}_getRingWeightOffset(e){let n=0;for(let r=0;r<e;++r)this.chart.isDatasetVisible(r)&&(n+=this._getRingWeight(r));return n}_getRingWeight(e){return Math.max(Ct(this.chart.data.datasets[e].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}class oI extends Wu{static id="polarArea";static defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){const n=e.data;if(n.labels.length&&n.datasets.length){const{labels:{pointStyle:r,color:i}}=e.legend.options;return n.labels.map((o,a)=>{const u=e.getDatasetMeta(0).controller.getStyle(a);return{text:o,fillStyle:u.backgroundColor,strokeStyle:u.borderColor,fontColor:i,lineWidth:u.borderWidth,pointStyle:r,hidden:!e.getDataVisibility(a),index:a}})}return[]}},onClick(e,n,r){r.chart.toggleDataVisibility(n.index),r.chart.update()}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};constructor(e,n){super(e,n),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(e){const n=this._cachedMeta,r=this.chart,i=r.data.labels||[],o=ju(n._parsed[e].r,r.options.locale);return{label:i[e]||"",value:o}}parseObjectData(e,n,r,i){return b_.bind(this)(e,n,r,i)}update(e){const n=this._cachedMeta.data;this._updateRadius(),this.updateElements(n,0,n.length,e)}getMinMax(){const e=this._cachedMeta,n={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return e.data.forEach((r,i)=>{const o=this.getParsed(i).r;!isNaN(o)&&this.chart.getDataVisibility(i)&&(o<n.min&&(n.min=o),o>n.max&&(n.max=o))}),n}_updateRadius(){const e=this.chart,n=e.chartArea,r=e.options,i=Math.min(n.right-n.left,n.bottom-n.top),o=Math.max(i/2,0),a=Math.max(r.cutoutPercentage?o/100*r.cutoutPercentage:1,0),l=(o-a)/e.getVisibleDatasetCount();this.outerRadius=o-l*this.index,this.innerRadius=this.outerRadius-l}updateElements(e,n,r,i){const o=i==="reset",a=this.chart,u=a.options.animation,d=this._cachedMeta.rScale,p=d.xCenter,h=d.yCenter,A=d.getIndexAngle(0)-.5*mn;let m=A,b;const w=360/this.countVisibleElements();for(b=0;b<n;++b)m+=this._computeAngle(b,i,w);for(b=n;b<n+r;b++){const y=e[b];let P=m,M=m+this._computeAngle(b,i,w),D=a.getDataVisibility(b)?d.getDistanceFromCenterForValue(this.getParsed(b).r):0;m=M,o&&(u.animateScale&&(D=0),u.animateRotate&&(P=M=A));const C={x:p,y:h,innerRadius:0,outerRadius:D,startAngle:P,endAngle:M,options:this.resolveDataElementOptions(b,y.active?"active":i)};this.updateElement(y,b,C,i)}}countVisibleElements(){const e=this._cachedMeta;let n=0;return e.data.forEach((r,i)=>{!isNaN(this.getParsed(i).r)&&this.chart.getDataVisibility(i)&&n++}),n}_computeAngle(e,n,r){return this.chart.getDataVisibility(e)?Li(this.resolveDataElementOptions(e,n).angle||r):0}}function Ts(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class Eh{static override(e){Object.assign(Eh.prototype,e)}options;constructor(e){this.options=e||{}}init(){}formats(){return Ts()}parse(){return Ts()}format(){return Ts()}add(){return Ts()}diff(){return Ts()}startOf(){return Ts()}endOf(){return Ts()}}var sI={_date:Eh};function aI(t,e,n,r){const{controller:i,data:o,_sorted:a}=t,l=i._cachedMeta.iScale,u=t.dataset&&t.dataset.options?t.dataset.options.spanGaps:null;if(l&&e===l.axis&&e!=="r"&&a&&o.length){const d=l._reversePixels?H8:ch;if(r){if(i._sharedOptions){const p=o[0],h=typeof p.getRange=="function"&&p.getRange(e);if(h){const A=d(o,e,n-h),m=d(o,e,n+h);return{lo:A.lo,hi:m.hi}}}}else{const p=d(o,e,n);if(u){const{vScale:h}=i._cachedMeta,{_parsed:A}=t,m=A.slice(0,p.lo+1).reverse().findIndex(w=>!Ot(w[h.axis]));p.lo-=Math.max(0,m);const b=A.slice(p.hi).findIndex(w=>!Ot(w[h.axis]));p.hi+=Math.max(0,b)}return p}}return{lo:0,hi:o.length-1}}function Yu(t,e,n,r,i){const o=t.getSortedVisibleDatasetMetas(),a=n[e];for(let l=0,u=o.length;l<u;++l){const{index:d,data:p}=o[l],{lo:h,hi:A}=aI(o[l],e,a,i);for(let m=h;m<=A;++m){const b=p[m];b.skip||r(b,d,m)}}}function lI(t){const e=t.indexOf("x")!==-1,n=t.indexOf("y")!==-1;return function(r,i){const o=e?Math.abs(r.x-i.x):0,a=n?Math.abs(r.y-i.y):0;return Math.sqrt(Math.pow(o,2)+Math.pow(a,2))}}function Ch(t,e,n,r,i){const o=[];return!i&&!t.isPointInArea(e)||Yu(t,n,e,function(l,u,d){!i&&!lb(l,t.chartArea,0)||l.inRange(e.x,e.y,r)&&o.push({element:l,datasetIndex:u,index:d})},!0),o}function cI(t,e,n,r){let i=[];function o(a,l,u){const{startAngle:d,endAngle:p}=a.getProps(["startAngle","endAngle"],r),{angle:h}=j8(a,{x:e.x,y:e.y});ah(h,d,p)&&i.push({element:a,datasetIndex:l,index:u})}return Yu(t,n,e,o),i}function uI(t,e,n,r,i,o){let a=[];const l=lI(n);let u=Number.POSITIVE_INFINITY;function d(p,h,A){const m=p.inRange(e.x,e.y,i);if(r&&!m)return;const b=p.getCenterPoint(i);if(!(!!o||t.isPointInArea(b))&&!m)return;const y=l(e,b);y<u?(a=[{element:p,datasetIndex:h,index:A}],u=y):y===u&&a.push({element:p,datasetIndex:h,index:A})}return Yu(t,n,e,d),a}function Ph(t,e,n,r,i,o){return!o&&!t.isPointInArea(e)?[]:n==="r"&&!r?cI(t,e,n,i):uI(t,e,n,r,i,o)}function Mb(t,e,n,r,i){const o=[],a=n==="x"?"inXRange":"inYRange";let l=!1;return Yu(t,n,e,(u,d,p)=>{u[a]&&u[a](e[n],i)&&(o.push({element:u,datasetIndex:d,index:p}),l=l||u.inRange(e.x,e.y,i))}),r&&!l?[]:o}var dI={modes:{index(t,e,n,r){const i=Ds(e,t),o=n.axis||"x",a=n.includeInvisible||!1,l=n.intersect?Ch(t,i,o,r,a):Ph(t,i,o,!1,r,a),u=[];return l.length?(t.getSortedVisibleDatasetMetas().forEach(d=>{const p=l[0].index,h=d.data[p];h&&!h.skip&&u.push({element:h,datasetIndex:d.index,index:p})}),u):[]},dataset(t,e,n,r){const i=Ds(e,t),o=n.axis||"xy",a=n.includeInvisible||!1;let l=n.intersect?Ch(t,i,o,r,a):Ph(t,i,o,!1,r,a);if(l.length>0){const u=l[0].datasetIndex,d=t.getDatasetMeta(u).data;l=[];for(let p=0;p<d.length;++p)l.push({element:d[p],datasetIndex:u,index:p})}return l},point(t,e,n,r){const i=Ds(e,t),o=n.axis||"xy",a=n.includeInvisible||!1;return Ch(t,i,o,r,a)},nearest(t,e,n,r){const i=Ds(e,t),o=n.axis||"xy",a=n.includeInvisible||!1;return Ph(t,i,o,n.intersect,r,a)},x(t,e,n,r){const i=Ds(e,t);return Mb(t,i,"x",n.intersect,r)},y(t,e,n,r){const i=Ds(e,t);return Mb(t,i,"y",n.intersect,r)}}};const Ob=["left","top","right","bottom"];function Kl(t,e){return t.filter(n=>n.pos===e)}function Rb(t,e){return t.filter(n=>Ob.indexOf(n.pos)===-1&&n.box.axis===e)}function Gl(t,e){return t.sort((n,r)=>{const i=e?r:n,o=e?n:r;return i.weight===o.weight?i.index-o.index:i.weight-o.weight})}function fI(t){const e=[];let n,r,i,o,a,l;for(n=0,r=(t||[]).length;n<r;++n)i=t[n],{position:o,options:{stack:a,stackWeight:l=1}}=i,e.push({index:n,box:i,pos:o,horizontal:i.isHorizontal(),weight:i.weight,stack:a&&o+a,stackWeight:l});return e}function pI(t){const e={};for(const n of t){const{stack:r,pos:i,stackWeight:o}=n;if(!r||!Ob.includes(i))continue;const a=e[r]||(e[r]={count:0,placed:0,weight:0,size:0});a.count++,a.weight+=o}return e}function hI(t,e){const n=pI(t),{vBoxMaxWidth:r,hBoxMaxHeight:i}=e;let o,a,l;for(o=0,a=t.length;o<a;++o){l=t[o];const{fullSize:u}=l.box,d=n[l.stack],p=d&&l.stackWeight/d.weight;l.horizontal?(l.width=p?p*r:u&&e.availableWidth,l.height=i):(l.width=r,l.height=p?p*i:u&&e.availableHeight)}return n}function AI(t){const e=fI(t),n=Gl(e.filter(d=>d.box.fullSize),!0),r=Gl(Kl(e,"left"),!0),i=Gl(Kl(e,"right")),o=Gl(Kl(e,"top"),!0),a=Gl(Kl(e,"bottom")),l=Rb(e,"x"),u=Rb(e,"y");return{fullSize:n,leftAndTop:r.concat(o),rightAndBottom:i.concat(u).concat(a).concat(l),chartArea:Kl(e,"chartArea"),vertical:r.concat(i).concat(u),horizontal:o.concat(a).concat(l)}}function Lb(t,e,n,r){return Math.max(t[n],e[n])+Math.max(t[r],e[r])}function Nb(t,e){t.top=Math.max(t.top,e.top),t.left=Math.max(t.left,e.left),t.bottom=Math.max(t.bottom,e.bottom),t.right=Math.max(t.right,e.right)}function gI(t,e,n,r){const{pos:i,box:o}=n,a=t.maxPadding;if(!kt(i)){n.size&&(t[i]-=n.size);const h=r[n.stack]||{size:0,count:1};h.size=Math.max(h.size,n.horizontal?o.height:o.width),n.size=h.size/h.count,t[i]+=n.size}o.getPadding&&Nb(a,o.getPadding());const l=Math.max(0,e.outerWidth-Lb(a,t,"left","right")),u=Math.max(0,e.outerHeight-Lb(a,t,"top","bottom")),d=l!==t.w,p=u!==t.h;return t.w=l,t.h=u,n.horizontal?{same:d,other:p}:{same:p,other:d}}function mI(t){const e=t.maxPadding;function n(r){const i=Math.max(e[r]-t[r],0);return t[r]+=i,i}t.y+=n("top"),t.x+=n("left"),n("right"),n("bottom")}function vI(t,e){const n=e.maxPadding;function r(i){const o={left:0,top:0,right:0,bottom:0};return i.forEach(a=>{o[a]=Math.max(e[a],n[a])}),o}return r(t?["left","right"]:["top","bottom"])}function Xl(t,e,n,r){const i=[];let o,a,l,u,d,p;for(o=0,a=t.length,d=0;o<a;++o){l=t[o],u=l.box,u.update(l.width||e.w,l.height||e.h,vI(l.horizontal,e));const{same:h,other:A}=gI(e,n,l,r);d|=h&&i.length,p=p||A,u.fullSize||i.push(l)}return d&&Xl(i,e,n,r)||p}function qu(t,e,n,r,i){t.top=n,t.left=e,t.right=e+r,t.bottom=n+i,t.width=r,t.height=i}function Fb(t,e,n,r){const i=n.padding;let{x:o,y:a}=e;for(const l of t){const u=l.box,d=r[l.stack]||{placed:0,weight:1},p=l.stackWeight/d.weight||1;if(l.horizontal){const h=e.w*p,A=d.size||u.height;Ul(d.start)&&(a=d.start),u.fullSize?qu(u,i.left,a,n.outerWidth-i.right-i.left,A):qu(u,e.left+d.placed,a,h,A),d.start=a,d.placed+=h,a=u.bottom}else{const h=e.h*p,A=d.size||u.width;Ul(d.start)&&(o=d.start),u.fullSize?qu(u,o,i.top,A,n.outerHeight-i.bottom-i.top):qu(u,o,e.top+d.placed,A,h),d.start=o,d.placed+=h,o=u.right}}e.x=o,e.y=a}var Xr={addBox(t,e){t.boxes||(t.boxes=[]),e.fullSize=e.fullSize||!1,e.position=e.position||"top",e.weight=e.weight||0,e._layers=e._layers||function(){return[{z:0,draw(n){e.draw(n)}}]},t.boxes.push(e)},removeBox(t,e){const n=t.boxes?t.boxes.indexOf(e):-1;n!==-1&&t.boxes.splice(n,1)},configure(t,e,n){e.fullSize=n.fullSize,e.position=n.position,e.weight=n.weight},update(t,e,n,r){if(!t)return;const i=Gr(t.options.layout.padding),o=Math.max(e-i.width,0),a=Math.max(n-i.height,0),l=AI(t.boxes),u=l.vertical,d=l.horizontal;Tt(t.boxes,w=>{typeof w.beforeLayout=="function"&&w.beforeLayout()});const p=u.reduce((w,y)=>y.box.options&&y.box.options.display===!1?w:w+1,0)||1,h=Object.freeze({outerWidth:e,outerHeight:n,padding:i,availableWidth:o,availableHeight:a,vBoxMaxWidth:o/2/p,hBoxMaxHeight:a/2}),A=Object.assign({},i);Nb(A,Gr(r));const m=Object.assign({maxPadding:A,w:o,h:a,x:i.left,y:i.top},i),b=hI(u.concat(d),h);Xl(l.fullSize,m,h,b),Xl(u,m,h,b),Xl(d,m,h,b)&&Xl(u,m,h,b),mI(m),Fb(l.leftAndTop,m,h,b),m.x+=m.w,m.y+=m.h,Fb(l.rightAndBottom,m,h,b),t.chartArea={left:m.left,top:m.top,right:m.left+m.w,bottom:m.top+m.h,height:m.h,width:m.w},Tt(l.chartArea,w=>{const y=w.box;Object.assign(y,t.chartArea),y.update(m.w,m.h,{left:0,top:0,right:0,bottom:0})})}};class jb{acquireContext(e,n){}releaseContext(e){return!1}addEventListener(e,n,r){}removeEventListener(e,n,r){}getDevicePixelRatio(){return 1}getMaximumSize(e,n,r,i){return n=Math.max(0,n||e.width),r=r||e.height,{width:n,height:Math.max(0,i?Math.floor(n/i):r)}}isAttached(e){return!0}updateConfig(e){}}class yI extends jb{acquireContext(e){return e&&e.getContext&&e.getContext("2d")||null}updateConfig(e){e.options.animation=!1}}const Ku="$chartjs",bI={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},zb=t=>t===null||t==="";function xI(t,e){const n=t.style,r=t.getAttribute("height"),i=t.getAttribute("width");if(t[Ku]={initial:{height:r,width:i,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",zb(i)){const o=vb(t,"width");o!==void 0&&(t.width=o)}if(zb(r))if(t.style.height==="")t.height=t.width/(e||2);else{const o=vb(t,"height");o!==void 0&&(t.height=o)}return t}const Qb=P_?{passive:!0}:!1;function wI(t,e,n){t&&t.addEventListener(e,n,Qb)}function kI(t,e,n){t&&t.canvas&&t.canvas.removeEventListener(e,n,Qb)}function SI(t,e){const n=bI[t.type]||t.type,{x:r,y:i}=Ds(t,e);return{type:n,chart:e,native:t,x:r!==void 0?r:null,y:i!==void 0?i:null}}function Gu(t,e){for(const n of t)if(n===e||n.contains(e))return!0}function EI(t,e,n){const r=t.canvas,i=new MutationObserver(o=>{let a=!1;for(const l of o)a=a||Gu(l.addedNodes,r),a=a&&!Gu(l.removedNodes,r);a&&n()});return i.observe(document,{childList:!0,subtree:!0}),i}function CI(t,e,n){const r=t.canvas,i=new MutationObserver(o=>{let a=!1;for(const l of o)a=a||Gu(l.removedNodes,r),a=a&&!Gu(l.addedNodes,r);a&&n()});return i.observe(document,{childList:!0,subtree:!0}),i}const Jl=new Map;let Hb=0;function Ub(){const t=window.devicePixelRatio;t!==Hb&&(Hb=t,Jl.forEach((e,n)=>{n.currentDevicePixelRatio!==t&&e()}))}function PI(t,e){Jl.size||window.addEventListener("resize",Ub),Jl.set(t,e)}function DI(t){Jl.delete(t),Jl.size||window.removeEventListener("resize",Ub)}function TI(t,e,n){const r=t.canvas,i=r&&bh(r);if(!i)return;const o=Jy((l,u)=>{const d=i.clientWidth;n(l,u),d<i.clientWidth&&n()},window),a=new ResizeObserver(l=>{const u=l[0],d=u.contentRect.width,p=u.contentRect.height;d===0&&p===0||o(d,p)});return a.observe(i),PI(t,o),a}function Dh(t,e,n){n&&n.disconnect(),e==="resize"&&DI(t)}function BI(t,e,n){const r=t.canvas,i=Jy(o=>{t.ctx!==null&&n(SI(o,t))},t);return wI(r,e,i),i}class _I extends jb{acquireContext(e,n){const r=e&&e.getContext&&e.getContext("2d");return r&&r.canvas===e?(xI(e,n),r):null}releaseContext(e){const n=e.canvas;if(!n[Ku])return!1;const r=n[Ku].initial;["height","width"].forEach(o=>{const a=r[o];Ot(a)?n.removeAttribute(o):n.setAttribute(o,a)});const i=r.style||{};return Object.keys(i).forEach(o=>{n.style[o]=i[o]}),n.width=n.width,delete n[Ku],!0}addEventListener(e,n,r){this.removeEventListener(e,n);const i=e.$proxies||(e.$proxies={}),a={attach:EI,detach:CI,resize:TI}[n]||BI;i[n]=a(e,n,r)}removeEventListener(e,n){const r=e.$proxies||(e.$proxies={}),i=r[n];if(!i)return;({attach:Dh,detach:Dh,resize:Dh}[n]||kI)(e,n,i),r[n]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,n,r,i){return C_(e,n,r,i)}isAttached(e){const n=e&&bh(e);return!!(n&&n.isConnected)}}function II(t){return!yh()||typeof OffscreenCanvas<"u"&&t instanceof OffscreenCanvas?yI:_I}let Sa=class{static defaults={};static defaultRoutes=void 0;x;y;active=!1;options;$animations;tooltipPosition(e){const{x:n,y:r}=this.getProps(["x","y"],e);return{x:n,y:r}}hasValue(){return Nu(this.x)&&Nu(this.y)}getProps(e,n){const r=this.$animations;if(!n||!r)return this;const i={};return e.forEach(o=>{i[o]=r[o]&&r[o].active()?r[o]._to:this[o]}),i}};function MI(t,e){const n=t.options.ticks,r=OI(t),i=Math.min(n.maxTicksLimit||r,r),o=n.major.enabled?LI(e):[],a=o.length,l=o[0],u=o[a-1],d=[];if(a>i)return NI(e,d,o,a/i),d;const p=RI(o,e,i);if(a>0){let h,A;const m=a>1?Math.round((u-l)/(a-1)):null;for(Xu(e,d,p,Ot(m)?0:l-m,l),h=0,A=a-1;h<A;h++)Xu(e,d,p,o[h],o[h+1]);return Xu(e,d,p,u,Ot(m)?e.length:u+m),d}return Xu(e,d,p),d}function OI(t){const e=t.options.offset,n=t._tickSize(),r=t._length/n+(e?0:1),i=t._maxLength/n;return Math.floor(Math.min(r,i))}function RI(t,e,n){const r=FI(t),i=e.length/n;if(!r)return Math.max(i,1);const o=O8(r);for(let a=0,l=o.length-1;a<l;a++){const u=o[a];if(u>i)return u}return Math.max(i,1)}function LI(t){const e=[];let n,r;for(n=0,r=t.length;n<r;n++)t[n].major&&e.push(n);return e}function NI(t,e,n,r){let i=0,o=n[0],a;for(r=Math.ceil(r),a=0;a<t.length;a++)a===o&&(e.push(t[a]),i++,o=n[i*r])}function Xu(t,e,n,r,i){const o=Ct(r,0),a=Math.min(Ct(i,t.length),t.length);let l=0,u,d,p;for(n=Math.ceil(n),i&&(u=i-r,n=u/Math.floor(u/n)),p=o;p<0;)l++,p=Math.round(o+l*n);for(d=Math.max(o,0);d<a;d++)d===p&&(e.push(t[d]),l++,p=Math.round(o+l*n))}function FI(t){const e=t.length;let n,r;if(e<2)return!1;for(r=t[0],n=1;n<e;++n)if(t[n]-t[n-1]!==r)return!1;return r}const jI=t=>t==="left"?"right":t==="right"?"left":t,Vb=(t,e,n)=>e==="top"||e==="left"?t[e]+n:t[e]-n,Wb=(t,e)=>Math.min(e||t,t);function Yb(t,e){const n=[],r=t.length/e,i=t.length;let o=0;for(;o<i;o+=r)n.push(t[Math.floor(o)]);return n}function zI(t,e,n){const r=t.ticks.length,i=Math.min(e,r-1),o=t._startPixel,a=t._endPixel,l=1e-6;let u=t.getPixelForTick(i),d;if(!(n&&(r===1?d=Math.max(u-o,a-u):e===0?d=(t.getPixelForTick(1)-u)/2:d=(u-t.getPixelForTick(i-1))/2,u+=i<e?d:-d,u<o-l||u>a+l)))return u}function QI(t,e){Tt(t,n=>{const r=n.gc,i=r.length/2;let o;if(i>e){for(o=0;o<i;++o)delete n.data[r[o]];r.splice(0,i)}})}function Zl(t){return t.drawTicks?t.tickLength:0}function qb(t,e){if(!t.display)return 0;const n=zn(t.font,e),r=Gr(t.padding);return(gn(t.text)?t.text.length:1)*n.lineHeight+r.height}function HI(t,e){return xa(t,{scale:e,type:"scale"})}function UI(t,e,n){return xa(t,{tick:n,index:e,type:"tick"})}function VI(t,e,n){let r=uh(t);return(n&&e!=="right"||!n&&e==="right")&&(r=jI(r)),r}function WI(t,e,n,r){const{top:i,left:o,bottom:a,right:l,chart:u}=t,{chartArea:d,scales:p}=u;let h=0,A,m,b;const w=a-i,y=l-o;if(t.isHorizontal()){if(m=jn(r,o,l),kt(n)){const P=Object.keys(n)[0],M=n[P];b=p[P].getPixelForValue(M)+w-e}else n==="center"?b=(d.bottom+d.top)/2+w-e:b=Vb(t,n,e);A=l-o}else{if(kt(n)){const P=Object.keys(n)[0],M=n[P];m=p[P].getPixelForValue(M)-y+e}else n==="center"?m=(d.left+d.right)/2-y+e:m=Vb(t,n,e);b=jn(r,a,i),h=n==="left"?-Br:Br}return{titleX:m,titleY:b,maxWidth:A,rotation:h}}class Ea extends Sa{constructor(e){super(),this.id=e.id,this.type=e.type,this.options=void 0,this.ctx=e.ctx,this.chart=e.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(e){this.options=e.setContext(this.getContext()),this.axis=e.axis,this._userMin=this.parse(e.min),this._userMax=this.parse(e.max),this._suggestedMin=this.parse(e.suggestedMin),this._suggestedMax=this.parse(e.suggestedMax)}parse(e,n){return e}getUserBounds(){let{_userMin:e,_userMax:n,_suggestedMin:r,_suggestedMax:i}=this;return e=Ri(e,Number.POSITIVE_INFINITY),n=Ri(n,Number.NEGATIVE_INFINITY),r=Ri(r,Number.POSITIVE_INFINITY),i=Ri(i,Number.NEGATIVE_INFINITY),{min:Ri(e,r),max:Ri(n,i),minDefined:Kr(e),maxDefined:Kr(n)}}getMinMax(e){let{min:n,max:r,minDefined:i,maxDefined:o}=this.getUserBounds(),a;if(i&&o)return{min:n,max:r};const l=this.getMatchingVisibleMetas();for(let u=0,d=l.length;u<d;++u)a=l[u].controller.getMinMax(this,e),i||(n=Math.min(n,a.min)),o||(r=Math.max(r,a.max));return n=o&&n>r?r:n,r=i&&n>r?n:r,{min:Ri(n,Ri(r,n)),max:Ri(r,Ri(n,r))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels||[]}getLabelItems(e=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(e))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){Ht(this.options.beforeUpdate,[this])}update(e,n,r){const{beginAtZero:i,grace:o,ticks:a}=this.options,l=a.sampleSize;this.beforeUpdate(),this.maxWidth=e,this.maxHeight=n,this._margins=r=Object.assign({left:0,right:0,top:0,bottom:0},r),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+r.left+r.right:this.height+r.top+r.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=u_(this,o,i),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const u=l<this.ticks.length;this._convertTicksToLabels(u?Yb(this.ticks,l):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),a.display&&(a.autoSkip||a.source==="auto")&&(this.ticks=MI(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),u&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let e=this.options.reverse,n,r;this.isHorizontal()?(n=this.left,r=this.right):(n=this.top,r=this.bottom,e=!e),this._startPixel=n,this._endPixel=r,this._reversePixels=e,this._length=r-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(e){this.chart.notifyPlugins(e,this.getContext()),Ht(this.options[e],[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(e){const n=this.options.ticks;let r,i,o;for(r=0,i=e.length;r<i;r++)o=e[r],o.label=Ht(n.callback,[o.value,r,e],this)}afterTickToLabelConversion(){Ht(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){Ht(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const e=this.options,n=e.ticks,r=Wb(this.ticks.length,e.ticks.maxTicksLimit),i=n.minRotation||0,o=n.maxRotation;let a=i,l,u,d;if(!this._isVisible()||!n.display||i>=o||r<=1||!this.isHorizontal()){this.labelRotation=i;return}const p=this._getLabelSizes(),h=p.widest.width,A=p.highest.height,m=li(this.chart.width-h,0,this.maxWidth);l=e.offset?this.maxWidth/r:m/(r-1),h+6>l&&(l=m/(r-(e.offset?.5:1)),u=this.maxHeight-Zl(e.grid)-n.padding-qb(e.title,this.chart.options.font),d=Math.sqrt(h*h+A*A),a=F8(Math.min(Math.asin(li((p.highest.height+6)/l,-1,1)),Math.asin(li(u/d,-1,1))-Math.asin(li(A/d,-1,1)))),a=Math.max(i,Math.min(o,a))),this.labelRotation=a}afterCalculateLabelRotation(){Ht(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){Ht(this.options.beforeFit,[this])}fit(){const e={width:0,height:0},{chart:n,options:{ticks:r,title:i,grid:o}}=this,a=this._isVisible(),l=this.isHorizontal();if(a){const u=qb(i,n.options.font);if(l?(e.width=this.maxWidth,e.height=Zl(o)+u):(e.height=this.maxHeight,e.width=Zl(o)+u),r.display&&this.ticks.length){const{first:d,last:p,widest:h,highest:A}=this._getLabelSizes(),m=r.padding*2,b=Li(this.labelRotation),w=Math.cos(b),y=Math.sin(b);if(l){const P=r.mirror?0:y*h.width+w*A.height;e.height=Math.min(this.maxHeight,e.height+P+m)}else{const P=r.mirror?0:w*h.width+y*A.height;e.width=Math.min(this.maxWidth,e.width+P+m)}this._calculatePadding(d,p,y,w)}}this._handleMargins(),l?(this.width=this._length=n.width-this._margins.left-this._margins.right,this.height=e.height):(this.width=e.width,this.height=this._length=n.height-this._margins.top-this._margins.bottom)}_calculatePadding(e,n,r,i){const{ticks:{align:o,padding:a},position:l}=this.options,u=this.labelRotation!==0,d=l!=="top"&&this.axis==="x";if(this.isHorizontal()){const p=this.getPixelForTick(0)-this.left,h=this.right-this.getPixelForTick(this.ticks.length-1);let A=0,m=0;u?d?(A=i*e.width,m=r*n.height):(A=r*e.height,m=i*n.width):o==="start"?m=n.width:o==="end"?A=e.width:o!=="inner"&&(A=e.width/2,m=n.width/2),this.paddingLeft=Math.max((A-p+a)*this.width/(this.width-p),0),this.paddingRight=Math.max((m-h+a)*this.width/(this.width-h),0)}else{let p=n.height/2,h=e.height/2;o==="start"?(p=0,h=e.height):o==="end"&&(p=n.height,h=0),this.paddingTop=p+a,this.paddingBottom=h+a}}_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:e,position:n}=this.options;return n==="top"||n==="bottom"||e==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(e){this.beforeTickToLabelConversion(),this.generateTickLabels(e);let n,r;for(n=0,r=e.length;n<r;n++)Ot(e[n].label)&&(e.splice(n,1),r--,n--);this.afterTickToLabelConversion()}_getLabelSizes(){let e=this._labelSizes;if(!e){const n=this.options.ticks.sampleSize;let r=this.ticks;n<r.length&&(r=Yb(r,n)),this._labelSizes=e=this._computeLabelSizes(r,r.length,this.options.ticks.maxTicksLimit)}return e}_computeLabelSizes(e,n,r){const{ctx:i,_longestTextCache:o}=this,a=[],l=[],u=Math.floor(n/Wb(n,r));let d=0,p=0,h,A,m,b,w,y,P,M,D,C,j;for(h=0;h<n;h+=u){if(b=e[h].label,w=this._resolveTickFontOptions(h),i.font=y=w.string,P=o[y]=o[y]||{data:{},gc:[]},M=w.lineHeight,D=C=0,!Ot(b)&&!gn(b))D=ib(i,P.data,P.gc,D,b),C=M;else if(gn(b))for(A=0,m=b.length;A<m;++A)j=b[A],!Ot(j)&&!gn(j)&&(D=ib(i,P.data,P.gc,D,j),C+=M);a.push(D),l.push(C),d=Math.max(D,d),p=Math.max(C,p)}QI(o,n);const R=a.indexOf(d),z=l.indexOf(p),V=K=>({width:a[K]||0,height:l[K]||0});return{first:V(0),last:V(n-1),widest:V(R),highest:V(z),widths:a,heights:l}}getLabelForValue(e){return e}getPixelForValue(e,n){return NaN}getValueForPixel(e){}getPixelForTick(e){const n=this.ticks;return e<0||e>n.length-1?null:this.getPixelForValue(n[e].value)}getPixelForDecimal(e){this._reversePixels&&(e=1-e);const n=this._startPixel+e*this._length;return Q8(this._alignToPixels?Cs(this.chart,n,0):n)}getDecimalForPixel(e){const n=(e-this._startPixel)/this._length;return this._reversePixels?1-n:n}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:e,max:n}=this;return e<0&&n<0?n:e>0&&n>0?e:0}getContext(e){const n=this.ticks||[];if(e>=0&&e<n.length){const r=n[e];return r.$context||(r.$context=UI(this.getContext(),e,r))}return this.$context||(this.$context=HI(this.chart.getContext(),this))}_tickSize(){const e=this.options.ticks,n=Li(this.labelRotation),r=Math.abs(Math.cos(n)),i=Math.abs(Math.sin(n)),o=this._getLabelSizes(),a=e.autoSkipPadding||0,l=o?o.widest.width+a:0,u=o?o.highest.height+a:0;return this.isHorizontal()?u*r>l*i?l/r:u/i:u*i<l*r?u/r:l/i}_isVisible(){const e=this.options.display;return e!=="auto"?!!e:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(e){const n=this.axis,r=this.chart,i=this.options,{grid:o,position:a,border:l}=i,u=o.offset,d=this.isHorizontal(),h=this.ticks.length+(u?1:0),A=Zl(o),m=[],b=l.setContext(this.getContext()),w=b.display?b.width:0,y=w/2,P=function(pe){return Cs(r,pe,w)};let M,D,C,j,R,z,V,K,q,Z,W,ie;if(a==="top")M=P(this.bottom),z=this.bottom-A,K=M-y,Z=P(e.top)+y,ie=e.bottom;else if(a==="bottom")M=P(this.top),Z=e.top,ie=P(e.bottom)-y,z=M+y,K=this.top+A;else if(a==="left")M=P(this.right),R=this.right-A,V=M-y,q=P(e.left)+y,W=e.right;else if(a==="right")M=P(this.left),q=e.left,W=P(e.right)-y,R=M+y,V=this.left+A;else if(n==="x"){if(a==="center")M=P((e.top+e.bottom)/2+.5);else if(kt(a)){const pe=Object.keys(a)[0],ee=a[pe];M=P(this.chart.scales[pe].getPixelForValue(ee))}Z=e.top,ie=e.bottom,z=M+y,K=z+A}else if(n==="y"){if(a==="center")M=P((e.left+e.right)/2);else if(kt(a)){const pe=Object.keys(a)[0],ee=a[pe];M=P(this.chart.scales[pe].getPixelForValue(ee))}R=M-y,V=R-A,q=e.left,W=e.right}const ue=Ct(i.ticks.maxTicksLimit,h),te=Math.max(1,Math.ceil(h/ue));for(D=0;D<h;D+=te){const pe=this.getContext(D),ee=o.setContext(pe),G=l.setContext(pe),N=ee.lineWidth,de=ee.color,I=G.dash||[],J=G.dashOffset,ve=ee.tickWidth,me=ee.tickColor,we=ee.tickBorderDash||[],_e=ee.tickBorderDashOffset;C=zI(this,D,u),C!==void 0&&(j=Cs(r,C,N),d?R=V=q=W=j:z=K=Z=ie=j,m.push({tx1:R,ty1:z,tx2:V,ty2:K,x1:q,y1:Z,x2:W,y2:ie,width:N,color:de,borderDash:I,borderDashOffset:J,tickWidth:ve,tickColor:me,tickBorderDash:we,tickBorderDashOffset:_e}))}return this._ticksLength=h,this._borderValue=M,m}_computeLabelItems(e){const n=this.axis,r=this.options,{position:i,ticks:o}=r,a=this.isHorizontal(),l=this.ticks,{align:u,crossAlign:d,padding:p,mirror:h}=o,A=Zl(r.grid),m=A+p,b=h?-p:m,w=-Li(this.labelRotation),y=[];let P,M,D,C,j,R,z,V,K,q,Z,W,ie="middle";if(i==="top")R=this.bottom-b,z=this._getXAxisLabelAlignment();else if(i==="bottom")R=this.top+b,z=this._getXAxisLabelAlignment();else if(i==="left"){const te=this._getYAxisLabelAlignment(A);z=te.textAlign,j=te.x}else if(i==="right"){const te=this._getYAxisLabelAlignment(A);z=te.textAlign,j=te.x}else if(n==="x"){if(i==="center")R=(e.top+e.bottom)/2+m;else if(kt(i)){const te=Object.keys(i)[0],pe=i[te];R=this.chart.scales[te].getPixelForValue(pe)+m}z=this._getXAxisLabelAlignment()}else if(n==="y"){if(i==="center")j=(e.left+e.right)/2-m;else if(kt(i)){const te=Object.keys(i)[0],pe=i[te];j=this.chart.scales[te].getPixelForValue(pe)}z=this._getYAxisLabelAlignment(A).textAlign}n==="y"&&(u==="start"?ie="top":u==="end"&&(ie="bottom"));const ue=this._getLabelSizes();for(P=0,M=l.length;P<M;++P){D=l[P],C=D.label;const te=o.setContext(this.getContext(P));V=this.getPixelForTick(P)+o.labelOffset,K=this._resolveTickFontOptions(P),q=K.lineHeight,Z=gn(C)?C.length:1;const pe=Z/2,ee=te.color,G=te.textStrokeColor,N=te.textStrokeWidth;let de=z;a?(j=V,z==="inner"&&(P===M-1?de=this.options.reverse?"left":"right":P===0?de=this.options.reverse?"right":"left":de="center"),i==="top"?d==="near"||w!==0?W=-Z*q+q/2:d==="center"?W=-ue.highest.height/2-pe*q+q:W=-ue.highest.height+q/2:d==="near"||w!==0?W=q/2:d==="center"?W=ue.highest.height/2-pe*q:W=ue.highest.height-Z*q,h&&(W*=-1),w!==0&&!te.showLabelBackdrop&&(j+=q/2*Math.sin(w))):(R=V,W=(1-Z)*q/2);let I;if(te.showLabelBackdrop){const J=Gr(te.backdropPadding),ve=ue.heights[P],me=ue.widths[P];let we=W-J.top,_e=0-J.left;switch(ie){case"middle":we-=ve/2;break;case"bottom":we-=ve;break}switch(z){case"center":_e-=me/2;break;case"right":_e-=me;break;case"inner":P===M-1?_e-=me:P>0&&(_e-=me/2);break}I={left:_e,top:we,width:me+J.width,height:ve+J.height,color:te.backdropColor}}y.push({label:C,font:K,textOffset:W,options:{rotation:w,color:ee,strokeColor:G,strokeWidth:N,textAlign:de,textBaseline:ie,translation:[j,R],backdrop:I}})}return y}_getXAxisLabelAlignment(){const{position:e,ticks:n}=this.options;if(-Li(this.labelRotation))return e==="top"?"left":"right";let i="center";return n.align==="start"?i="left":n.align==="end"?i="right":n.align==="inner"&&(i="inner"),i}_getYAxisLabelAlignment(e){const{position:n,ticks:{crossAlign:r,mirror:i,padding:o}}=this.options,a=this._getLabelSizes(),l=e+o,u=a.widest.width;let d,p;return n==="left"?i?(p=this.right+o,r==="near"?d="left":r==="center"?(d="center",p+=u/2):(d="right",p+=u)):(p=this.right-l,r==="near"?d="right":r==="center"?(d="center",p-=u/2):(d="left",p=this.left)):n==="right"?i?(p=this.left+o,r==="near"?d="right":r==="center"?(d="center",p-=u/2):(d="left",p-=u)):(p=this.left+l,r==="near"?d="left":r==="center"?(d="center",p+=u/2):(d="right",p=this.right)):d="right",{textAlign:d,x:p}}_computeLabelArea(){if(this.options.ticks.mirror)return;const e=this.chart,n=this.options.position;if(n==="left"||n==="right")return{top:0,left:this.left,bottom:e.height,right:this.right};if(n==="top"||n==="bottom")return{top:this.top,left:0,bottom:this.bottom,right:e.width}}drawBackground(){const{ctx:e,options:{backgroundColor:n},left:r,top:i,width:o,height:a}=this;n&&(e.save(),e.fillStyle=n,e.fillRect(r,i,o,a),e.restore())}getLineWidthForValue(e){const n=this.options.grid;if(!this._isVisible()||!n.display)return 0;const i=this.ticks.findIndex(o=>o.value===e);return i>=0?n.setContext(this.getContext(i)).lineWidth:0}drawGrid(e){const n=this.options.grid,r=this.ctx,i=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(e));let o,a;const l=(u,d,p)=>{!p.width||!p.color||(r.save(),r.lineWidth=p.width,r.strokeStyle=p.color,r.setLineDash(p.borderDash||[]),r.lineDashOffset=p.borderDashOffset,r.beginPath(),r.moveTo(u.x,u.y),r.lineTo(d.x,d.y),r.stroke(),r.restore())};if(n.display)for(o=0,a=i.length;o<a;++o){const u=i[o];n.drawOnChartArea&&l({x:u.x1,y:u.y1},{x:u.x2,y:u.y2},u),n.drawTicks&&l({x:u.tx1,y:u.ty1},{x:u.tx2,y:u.ty2},{color:u.tickColor,width:u.tickWidth,borderDash:u.tickBorderDash,borderDashOffset:u.tickBorderDashOffset})}}drawBorder(){const{chart:e,ctx:n,options:{border:r,grid:i}}=this,o=r.setContext(this.getContext()),a=r.display?o.width:0;if(!a)return;const l=i.setContext(this.getContext(0)).lineWidth,u=this._borderValue;let d,p,h,A;this.isHorizontal()?(d=Cs(e,this.left,a)-a/2,p=Cs(e,this.right,l)+l/2,h=A=u):(h=Cs(e,this.top,a)-a/2,A=Cs(e,this.bottom,l)+l/2,d=p=u),n.save(),n.lineWidth=o.width,n.strokeStyle=o.color,n.beginPath(),n.moveTo(d,h),n.lineTo(p,A),n.stroke(),n.restore()}drawLabels(e){if(!this.options.ticks.display)return;const r=this.ctx,i=this._computeLabelArea();i&&hh(r,i);const o=this.getLabelItems(e);for(const a of o){const l=a.options,u=a.font,d=a.label,p=a.textOffset;Yl(r,d,0,p,u,l)}i&&Ah(r)}drawTitle(){const{ctx:e,options:{position:n,title:r,reverse:i}}=this;if(!r.display)return;const o=zn(r.font),a=Gr(r.padding),l=r.align;let u=o.lineHeight/2;n==="bottom"||n==="center"||kt(n)?(u+=a.bottom,gn(r.text)&&(u+=o.lineHeight*(r.text.length-1))):u+=a.top;const{titleX:d,titleY:p,maxWidth:h,rotation:A}=WI(this,u,n,l);Yl(e,r.text,0,0,o,{color:r.color,maxWidth:h,rotation:A,textAlign:VI(l,n,i),textBaseline:"middle",translation:[d,p]})}draw(e){this._isVisible()&&(this.drawBackground(),this.drawGrid(e),this.drawBorder(),this.drawTitle(),this.drawLabels(e))}_layers(){const e=this.options,n=e.ticks&&e.ticks.z||0,r=Ct(e.grid&&e.grid.z,-1),i=Ct(e.border&&e.border.z,0);return!this._isVisible()||this.draw!==Ea.prototype.draw?[{z:n,draw:o=>{this.draw(o)}}]:[{z:r,draw:o=>{this.drawBackground(),this.drawGrid(o),this.drawTitle()}},{z:i,draw:()=>{this.drawBorder()}},{z:n,draw:o=>{this.drawLabels(o)}}]}getMatchingVisibleMetas(e){const n=this.chart.getSortedVisibleDatasetMetas(),r=this.axis+"AxisID",i=[];let o,a;for(o=0,a=n.length;o<a;++o){const l=n[o];l[r]===this.id&&(!e||l.type===e)&&i.push(l)}return i}_resolveTickFontOptions(e){const n=this.options.ticks.setContext(this.getContext(e));return zn(n.font)}_maxDigits(){const e=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/e}}class Ju{constructor(e,n,r){this.type=e,this.scope=n,this.override=r,this.items=Object.create(null)}isForType(e){return Object.prototype.isPrototypeOf.call(this.type.prototype,e.prototype)}register(e){const n=Object.getPrototypeOf(e);let r;KI(n)&&(r=this.register(n));const i=this.items,o=e.id,a=this.scope+"."+o;if(!o)throw new Error("class does not have id: "+e);return o in i||(i[o]=e,YI(e,a,r),this.override&&Jt.override(e.id,e.overrides)),a}get(e){return this.items[e]}unregister(e){const n=this.items,r=e.id,i=this.scope;r in n&&delete n[r],i&&r in Jt[i]&&(delete Jt[i][r],this.override&&delete Es[r])}}function YI(t,e,n){const r=Ql(Object.create(null),[n?Jt.get(n):{},Jt.get(e),t.defaults]);Jt.set(e,r),t.defaultRoutes&&qI(e,t.defaultRoutes),t.descriptors&&Jt.describe(e,t.descriptors)}function qI(t,e){Object.keys(e).forEach(n=>{const r=n.split("."),i=r.pop(),o=[t].concat(r).join("."),a=e[n].split("."),l=a.pop(),u=a.join(".");Jt.route(o,i,u,l)})}function KI(t){return"id"in t&&"defaults"in t}class GI{constructor(){this.controllers=new Ju(Wu,"datasets",!0),this.elements=new Ju(Sa,"elements"),this.plugins=new Ju(Object,"plugins"),this.scales=new Ju(Ea,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...e){this._each("register",e)}remove(...e){this._each("unregister",e)}addControllers(...e){this._each("register",e,this.controllers)}addElements(...e){this._each("register",e,this.elements)}addPlugins(...e){this._each("register",e,this.plugins)}addScales(...e){this._each("register",e,this.scales)}getController(e){return this._get(e,this.controllers,"controller")}getElement(e){return this._get(e,this.elements,"element")}getPlugin(e){return this._get(e,this.plugins,"plugin")}getScale(e){return this._get(e,this.scales,"scale")}removeControllers(...e){this._each("unregister",e,this.controllers)}removeElements(...e){this._each("unregister",e,this.elements)}removePlugins(...e){this._each("unregister",e,this.plugins)}removeScales(...e){this._each("unregister",e,this.scales)}_each(e,n,r){[...n].forEach(i=>{const o=r||this._getRegistryForType(i);r||o.isForType(i)||o===this.plugins&&i.id?this._exec(e,o,i):Tt(i,a=>{const l=r||this._getRegistryForType(a);this._exec(e,l,a)})})}_exec(e,n,r){const i=sh(e);Ht(r["before"+i],[],r),n[e](r),Ht(r["after"+i],[],r)}_getRegistryForType(e){for(let n=0;n<this._typedRegistries.length;n++){const r=this._typedRegistries[n];if(r.isForType(e))return r}return this.plugins}_get(e,n,r){const i=n.get(e);if(i===void 0)throw new Error('"'+e+'" is not a registered '+r+".");return i}}var Ni=new GI;class XI{constructor(){this._init=void 0}notify(e,n,r,i){if(n==="beforeInit"&&(this._init=this._createDescriptors(e,!0),this._notify(this._init,e,"install")),this._init===void 0)return;const o=i?this._descriptors(e).filter(i):this._descriptors(e),a=this._notify(o,e,n,r);return n==="afterDestroy"&&(this._notify(o,e,"stop"),this._notify(this._init,e,"uninstall"),this._init=void 0),a}_notify(e,n,r,i){i=i||{};for(const o of e){const a=o.plugin,l=a[r],u=[n,i,o.options];if(Ht(l,u,a)===!1&&i.cancelable)return!1}return!0}invalidate(){Ot(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(e){if(this._cache)return this._cache;const n=this._cache=this._createDescriptors(e);return this._notifyStateChanges(e),n}_createDescriptors(e,n){const r=e&&e.config,i=Ct(r.options&&r.options.plugins,{}),o=JI(r);return i===!1&&!n?[]:$I(e,o,i,n)}_notifyStateChanges(e){const n=this._oldCache||[],r=this._cache,i=(o,a)=>o.filter(l=>!a.some(u=>l.plugin.id===u.plugin.id));this._notify(i(n,r),e,"stop"),this._notify(i(r,n),e,"start")}}function JI(t){const e={},n=[],r=Object.keys(Ni.plugins.items);for(let o=0;o<r.length;o++)n.push(Ni.getPlugin(r[o]));const i=t.plugins||[];for(let o=0;o<i.length;o++){const a=i[o];n.indexOf(a)===-1&&(n.push(a),e[a.id]=!0)}return{plugins:n,localIds:e}}function ZI(t,e){return!e&&t===!1?null:t===!0?{}:t}function $I(t,{plugins:e,localIds:n},r,i){const o=[],a=t.getContext();for(const l of e){const u=l.id,d=ZI(r[u],i);d!==null&&o.push({plugin:l,options:e5(t.config,{plugin:l,local:n[u]},d,a)})}return o}function e5(t,{plugin:e,local:n},r,i){const o=t.pluginScopeKeys(e),a=t.getOptionScopes(r,o);return n&&e.defaults&&a.push(e.defaults),t.createResolver(a,i,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function Th(t,e){const n=Jt.datasets[t]||{};return((e.datasets||{})[t]||{}).indexAxis||e.indexAxis||n.indexAxis||"x"}function t5(t,e){let n=t;return t==="_index_"?n=e:t==="_value_"&&(n=e==="x"?"y":"x"),n}function n5(t,e){return t===e?"_index_":"_value_"}function Kb(t){if(t==="x"||t==="y"||t==="r")return t}function r5(t){if(t==="top"||t==="bottom")return"x";if(t==="left"||t==="right")return"y"}function Bh(t,...e){if(Kb(t))return t;for(const n of e){const r=n.axis||r5(n.position)||t.length>1&&Kb(t[0].toLowerCase());if(r)return r}throw new Error(`Cannot determine type of '${t}' axis. Please provide 'axis' or 'position' option.`)}function Gb(t,e,n){if(n[e+"AxisID"]===t)return{axis:e}}function i5(t,e){if(e.data&&e.data.datasets){const n=e.data.datasets.filter(r=>r.xAxisID===t||r.yAxisID===t);if(n.length)return Gb(t,"x",n[0])||Gb(t,"y",n[0])}return{}}function o5(t,e){const n=Es[t.type]||{scales:{}},r=e.scales||{},i=Th(t.type,e),o=Object.create(null);return Object.keys(r).forEach(a=>{const l=r[a];if(!kt(l))return console.error(`Invalid scale configuration for scale: ${a}`);if(l._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${a}`);const u=Bh(a,l,i5(a,t),Jt.scales[l.type]),d=n5(u,i),p=n.scales||{};o[a]=Hl(Object.create(null),[{axis:u},l,p[u],p[d]])}),t.data.datasets.forEach(a=>{const l=a.type||t.type,u=a.indexAxis||Th(l,e),p=(Es[l]||{}).scales||{};Object.keys(p).forEach(h=>{const A=t5(h,u),m=a[A+"AxisID"]||A;o[m]=o[m]||Object.create(null),Hl(o[m],[{axis:A},r[m],p[h]])})}),Object.keys(o).forEach(a=>{const l=o[a];Hl(l,[Jt.scales[l.type],Jt.scale])}),o}function Xb(t){const e=t.options||(t.options={});e.plugins=Ct(e.plugins,{}),e.scales=o5(t,e)}function Jb(t){return t=t||{},t.datasets=t.datasets||[],t.labels=t.labels||[],t}function s5(t){return t=t||{},t.data=Jb(t.data),Xb(t),t}const Zb=new Map,$b=new Set;function Zu(t,e){let n=Zb.get(t);return n||(n=e(),Zb.set(t,n),$b.add(n)),n}const $l=(t,e,n)=>{const r=zo(e,n);r!==void 0&&t.add(r)};let a5=class{constructor(e){this._config=s5(e),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(e){this._config.type=e}get data(){return this._config.data}set data(e){this._config.data=Jb(e)}get options(){return this._config.options}set options(e){this._config.options=e}get plugins(){return this._config.plugins}update(){const e=this._config;this.clearCache(),Xb(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return Zu(e,()=>[[`datasets.${e}`,""]])}datasetAnimationScopeKeys(e,n){return Zu(`${e}.transition.${n}`,()=>[[`datasets.${e}.transitions.${n}`,`transitions.${n}`],[`datasets.${e}`,""]])}datasetElementScopeKeys(e,n){return Zu(`${e}-${n}`,()=>[[`datasets.${e}.elements.${n}`,`datasets.${e}`,`elements.${n}`,""]])}pluginScopeKeys(e){const n=e.id,r=this.type;return Zu(`${r}-plugin-${n}`,()=>[[`plugins.${n}`,...e.additionalOptionScopes||[]]])}_cachedScopes(e,n){const r=this._scopeCache;let i=r.get(e);return(!i||n)&&(i=new Map,r.set(e,i)),i}getOptionScopes(e,n,r){const{options:i,type:o}=this,a=this._cachedScopes(e,r),l=a.get(n);if(l)return l;const u=new Set;n.forEach(p=>{e&&(u.add(e),p.forEach(h=>$l(u,e,h))),p.forEach(h=>$l(u,i,h)),p.forEach(h=>$l(u,Es[o]||{},h)),p.forEach(h=>$l(u,Jt,h)),p.forEach(h=>$l(u,fh,h))});const d=Array.from(u);return d.length===0&&d.push(Object.create(null)),$b.has(n)&&a.set(n,d),d}chartOptionScopes(){const{options:e,type:n}=this;return[e,Es[n]||{},Jt.datasets[n]||{},{type:n},Jt,fh]}resolveNamedOptions(e,n,r,i=[""]){const o={$shared:!0},{resolver:a,subPrefixes:l}=ex(this._resolverCache,e,i);let u=a;if(c5(a,n)){o.$shared=!1,r=Qo(r)?r():r;const d=this.createResolver(e,r,l);u=wa(a,r,d)}for(const d of n)o[d]=u[d];return o}createResolver(e,n,r=[""],i){const{resolver:o}=ex(this._resolverCache,e,r);return kt(n)?wa(o,n,void 0,i):o}};function ex(t,e,n){let r=t.get(e);r||(r=new Map,t.set(e,r));const i=n.join();let o=r.get(i);return o||(o={resolver:gh(e,n),subPrefixes:n.filter(l=>!l.toLowerCase().includes("hover"))},r.set(i,o)),o}const l5=t=>kt(t)&&Object.getOwnPropertyNames(t).some(e=>Qo(t[e]));function c5(t,e){const{isScriptable:n,isIndexable:r}=db(t);for(const i of e){const o=n(i),a=r(i),l=(a||o)&&t[i];if(o&&(Qo(l)||l5(l))||a&&gn(l))return!0}return!1}var u5="4.5.1";const d5=["top","bottom","left","right","chartArea"];function tx(t,e){return t==="top"||t==="bottom"||d5.indexOf(t)===-1&&e==="x"}function nx(t,e){return function(n,r){return n[t]===r[t]?n[e]-r[e]:n[t]-r[t]}}function rx(t){const e=t.chart,n=e.options.animation;e.notifyPlugins("afterRender"),Ht(n&&n.onComplete,[t],e)}function f5(t){const e=t.chart,n=e.options.animation;Ht(n&&n.onProgress,[t],e)}function ix(t){return yh()&&typeof t=="string"?t=document.getElementById(t):t&&t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t}const $u={},ox=t=>{const e=ix(t);return Object.values($u).filter(n=>n.canvas===e).pop()};function p5(t,e,n){const r=Object.keys(t);for(const i of r){const o=+i;if(o>=e){const a=t[i];delete t[i],(n>0||o>e)&&(t[o+n]=a)}}}function h5(t,e,n,r){return!n||t.type==="mouseout"?null:r?e:t}let _h=class{static defaults=Jt;static instances=$u;static overrides=Es;static registry=Ni;static version=u5;static getChart=ox;static register(...e){Ni.add(...e),sx()}static unregister(...e){Ni.remove(...e),sx()}constructor(e,n){const r=this.config=new a5(n),i=ix(e),o=ox(i);if(o)throw new Error("Canvas is already in use. Chart with ID '"+o.id+"' must be destroyed before the canvas with ID '"+o.canvas.id+"' can be reused.");const a=r.createResolver(r.chartOptionScopes(),this.getContext());this.platform=new(r.platform||II(i)),this.platform.updateConfig(r);const l=this.platform.acquireContext(i,a.aspectRatio),u=l&&l.canvas,d=u&&u.height,p=u&&u.width;if(this.id=C8(),this.ctx=l,this.canvas=u,this.width=p,this.height=d,this._options=a,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 XI,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=W8(h=>this.update(h),a.resizeDelay||0),this._dataChanges=[],$u[this.id]=this,!l||!u){console.error("Failed to create chart: can't acquire context from the given item");return}co.listen(this,"complete",rx),co.listen(this,"progress",f5),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:e,maintainAspectRatio:n},width:r,height:i,_aspectRatio:o}=this;return Ot(e)?n&&o?o:i?r/i:null:e}get data(){return this.config.data}set data(e){this.config.data=e}get options(){return this._options}set options(e){this.config.options=e}get registry(){return Ni}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():mb(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return ob(this.canvas,this.ctx),this}stop(){return co.stop(this),this}resize(e,n){co.running(this)?this._resizeBeforeDraw={width:e,height:n}:this._resize(e,n)}_resize(e,n){const r=this.options,i=this.canvas,o=r.maintainAspectRatio&&this.aspectRatio,a=this.platform.getMaximumSize(i,e,n,o),l=r.devicePixelRatio||this.platform.getDevicePixelRatio(),u=this.width?"resize":"attach";this.width=a.width,this.height=a.height,this._aspectRatio=this.aspectRatio,mb(this,l,!0)&&(this.notifyPlugins("resize",{size:a}),Ht(r.onResize,[this,a],this),this.attached&&this._doResize(u)&&this.render())}ensureScalesHaveIDs(){const n=this.options.scales||{};Tt(n,(r,i)=>{r.id=i})}buildOrUpdateScales(){const e=this.options,n=e.scales,r=this.scales,i=Object.keys(r).reduce((a,l)=>(a[l]=!1,a),{});let o=[];n&&(o=o.concat(Object.keys(n).map(a=>{const l=n[a],u=Bh(a,l),d=u==="r",p=u==="x";return{options:l,dposition:d?"chartArea":p?"bottom":"left",dtype:d?"radialLinear":p?"category":"linear"}}))),Tt(o,a=>{const l=a.options,u=l.id,d=Bh(u,l),p=Ct(l.type,a.dtype);(l.position===void 0||tx(l.position,d)!==tx(a.dposition))&&(l.position=a.dposition),i[u]=!0;let h=null;if(u in r&&r[u].type===p)h=r[u];else{const A=Ni.getScale(p);h=new A({id:u,type:p,ctx:this.ctx,chart:this}),r[h.id]=h}h.init(l,e)}),Tt(i,(a,l)=>{a||delete r[l]}),Tt(r,a=>{Xr.configure(this,a,a.options),Xr.addBox(this,a)})}_updateMetasets(){const e=this._metasets,n=this.data.datasets.length,r=e.length;if(e.sort((i,o)=>i.index-o.index),r>n){for(let i=n;i<r;++i)this._destroyDatasetMeta(i);e.splice(n,r-n)}this._sortedMetasets=e.slice(0).sort(nx("order","index"))}_removeUnreferencedMetasets(){const{_metasets:e,data:{datasets:n}}=this;e.length>n.length&&delete this._stacks,e.forEach((r,i)=>{n.filter(o=>o===r._dataset).length===0&&this._destroyDatasetMeta(i)})}buildOrUpdateControllers(){const e=[],n=this.data.datasets;let r,i;for(this._removeUnreferencedMetasets(),r=0,i=n.length;r<i;r++){const o=n[r];let a=this.getDatasetMeta(r);const l=o.type||this.config.type;if(a.type&&a.type!==l&&(this._destroyDatasetMeta(r),a=this.getDatasetMeta(r)),a.type=l,a.indexAxis=o.indexAxis||Th(l,this.options),a.order=o.order||0,a.index=r,a.label=""+o.label,a.visible=this.isDatasetVisible(r),a.controller)a.controller.updateIndex(r),a.controller.linkScales();else{const u=Ni.getController(l),{datasetElementType:d,dataElementType:p}=Jt.datasets[l];Object.assign(u,{dataElementType:Ni.getElement(p),datasetElementType:d&&Ni.getElement(d)}),a.controller=new u(this,r),e.push(a.controller)}}return this._updateMetasets(),e}_resetElements(){Tt(this.data.datasets,(e,n)=>{this.getDatasetMeta(n).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(e){const n=this.config;n.update();const r=this._options=n.createResolver(n.chartOptionScopes(),this.getContext()),i=this._animationsDisabled=!r.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:e,cancelable:!0})===!1)return;const o=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let a=0;for(let d=0,p=this.data.datasets.length;d<p;d++){const{controller:h}=this.getDatasetMeta(d),A=!i&&o.indexOf(h)===-1;h.buildOrUpdateElements(A),a=Math.max(+h.getMaxOverflow(),a)}a=this._minPadding=r.layout.autoPadding?a:0,this._updateLayout(a),i||Tt(o,d=>{d.reset()}),this._updateDatasets(e),this.notifyPlugins("afterUpdate",{mode:e}),this._layers.sort(nx("z","_idx"));const{_active:l,_lastEvent:u}=this;u?this._eventHandler(u,!0):l.length&&this._updateHoverStyles(l,l,!0),this.render()}_updateScales(){Tt(this.scales,e=>{Xr.removeBox(this,e)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const e=this.options,n=new Set(Object.keys(this._listeners)),r=new Set(e.events);(!Hy(n,r)||!!this._responsiveListeners!==e.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:e}=this,n=this._getUniformDataChanges()||[];for(const{method:r,start:i,count:o}of n){const a=r==="_removeElements"?-o:o;p5(e,i,a)}}_getUniformDataChanges(){const e=this._dataChanges;if(!e||!e.length)return;this._dataChanges=[];const n=this.data.datasets.length,r=o=>new Set(e.filter(a=>a[0]===o).map((a,l)=>l+","+a.splice(1).join(","))),i=r(0);for(let o=1;o<n;o++)if(!Hy(i,r(o)))return;return Array.from(i).map(o=>o.split(",")).map(o=>({method:o[1],start:+o[2],count:+o[3]}))}_updateLayout(e){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;Xr.update(this,this.width,this.height,e);const n=this.chartArea,r=n.width<=0||n.height<=0;this._layers=[],Tt(this.boxes,i=>{r&&i.position==="chartArea"||(i.configure&&i.configure(),this._layers.push(...i._layers()))},this),this._layers.forEach((i,o)=>{i._idx=o}),this.notifyPlugins("afterLayout")}_updateDatasets(e){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:e,cancelable:!0})!==!1){for(let n=0,r=this.data.datasets.length;n<r;++n)this.getDatasetMeta(n).controller.configure();for(let n=0,r=this.data.datasets.length;n<r;++n)this._updateDataset(n,Qo(e)?e({datasetIndex:n}):e);this.notifyPlugins("afterDatasetsUpdate",{mode:e})}}_updateDataset(e,n){const r=this.getDatasetMeta(e),i={meta:r,index:e,mode:n,cancelable:!0};this.notifyPlugins("beforeDatasetUpdate",i)!==!1&&(r.controller._update(n),i.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",i))}render(){this.notifyPlugins("beforeRender",{cancelable:!0})!==!1&&(co.has(this)?this.attached&&!co.running(this)&&co.start(this):(this.draw(),rx({chart:this})))}draw(){let e;if(this._resizeBeforeDraw){const{width:r,height:i}=this._resizeBeforeDraw;this._resizeBeforeDraw=null,this._resize(r,i)}if(this.clear(),this.width<=0||this.height<=0||this.notifyPlugins("beforeDraw",{cancelable:!0})===!1)return;const n=this._layers;for(e=0;e<n.length&&n[e].z<=0;++e)n[e].draw(this.chartArea);for(this._drawDatasets();e<n.length;++e)n[e].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(e){const n=this._sortedMetasets,r=[];let i,o;for(i=0,o=n.length;i<o;++i){const a=n[i];(!e||a.visible)&&r.push(a)}return r}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0})===!1)return;const e=this.getSortedVisibleDatasetMetas();for(let n=e.length-1;n>=0;--n)this._drawDataset(e[n]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(e){const n=this.ctx,r={meta:e,index:e.index,cancelable:!0},i=__(this,e);this.notifyPlugins("beforeDatasetDraw",r)!==!1&&(i&&hh(n,i),e.controller.draw(),i&&Ah(n),r.cancelable=!1,this.notifyPlugins("afterDatasetDraw",r))}isPointInArea(e){return lb(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,n,r,i){const o=dI.modes[n];return typeof o=="function"?o(this,e,r,i):[]}getDatasetMeta(e){const n=this.data.datasets[e],r=this._metasets;let i=r.filter(o=>o&&o._dataset===n).pop();return i||(i={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:n&&n.order||0,index:e,_dataset:n,_parsed:[],_sorted:!1},r.push(i)),i}getContext(){return this.$context||(this.$context=xa(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(e){const n=this.data.datasets[e];if(!n)return!1;const r=this.getDatasetMeta(e);return typeof r.hidden=="boolean"?!r.hidden:!n.hidden}setDatasetVisibility(e,n){const r=this.getDatasetMeta(e);r.hidden=!n}toggleDataVisibility(e){this._hiddenIndices[e]=!this._hiddenIndices[e]}getDataVisibility(e){return!this._hiddenIndices[e]}_updateVisibility(e,n,r){const i=r?"show":"hide",o=this.getDatasetMeta(e),a=o.controller._resolveAnimations(void 0,i);Ul(n)?(o.data[n].hidden=!r,this.update()):(this.setDatasetVisibility(e,r),a.update(o,{visible:r}),this.update(l=>l.datasetIndex===e?i:void 0))}hide(e,n){this._updateVisibility(e,n,!1)}show(e,n){this._updateVisibility(e,n,!0)}_destroyDatasetMeta(e){const n=this._metasets[e];n&&n.controller&&n.controller._destroy(),delete this._metasets[e]}_stop(){let e,n;for(this.stop(),co.remove(this),e=0,n=this.data.datasets.length;e<n;++e)this._destroyDatasetMeta(e)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:e,ctx:n}=this;this._stop(),this.config.clearCache(),e&&(this.unbindEvents(),ob(e,n),this.platform.releaseContext(n),this.canvas=null,this.ctx=null),delete $u[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...e){return this.canvas.toDataURL(...e)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const e=this._listeners,n=this.platform,r=(o,a)=>{n.addEventListener(this,o,a),e[o]=a},i=(o,a,l)=>{o.offsetX=a,o.offsetY=l,this._eventHandler(o)};Tt(this.options.events,o=>r(o,i))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const e=this._responsiveListeners,n=this.platform,r=(u,d)=>{n.addEventListener(this,u,d),e[u]=d},i=(u,d)=>{e[u]&&(n.removeEventListener(this,u,d),delete e[u])},o=(u,d)=>{this.canvas&&this.resize(u,d)};let a;const l=()=>{i("attach",l),this.attached=!0,this.resize(),r("resize",o),r("detach",a)};a=()=>{this.attached=!1,i("resize",o),this._stop(),this._resize(0,0),r("attach",l)},n.isAttached(this.canvas)?l():a()}unbindEvents(){Tt(this._listeners,(e,n)=>{this.platform.removeEventListener(this,n,e)}),this._listeners={},Tt(this._responsiveListeners,(e,n)=>{this.platform.removeEventListener(this,n,e)}),this._responsiveListeners=void 0}updateHoverStyle(e,n,r){const i=r?"set":"remove";let o,a,l,u;for(n==="dataset"&&(o=this.getDatasetMeta(e[0].datasetIndex),o.controller["_"+i+"DatasetHoverStyle"]()),l=0,u=e.length;l<u;++l){a=e[l];const d=a&&this.getDatasetMeta(a.datasetIndex).controller;d&&d[i+"HoverStyle"](a.element,a.datasetIndex,a.index)}}getActiveElements(){return this._active||[]}setActiveElements(e){const n=this._active||[],r=e.map(({datasetIndex:o,index:a})=>{const l=this.getDatasetMeta(o);if(!l)throw new Error("No dataset found at index "+o);return{datasetIndex:o,element:l.data[a],index:a}});!Mu(r,n)&&(this._active=r,this._lastEvent=null,this._updateHoverStyles(r,n))}notifyPlugins(e,n,r){return this._plugins.notify(this,e,n,r)}isPluginEnabled(e){return this._plugins._cache.filter(n=>n.plugin.id===e).length===1}_updateHoverStyles(e,n,r){const i=this.options.hover,o=(u,d)=>u.filter(p=>!d.some(h=>p.datasetIndex===h.datasetIndex&&p.index===h.index)),a=o(n,e),l=r?e:o(e,n);a.length&&this.updateHoverStyle(a,i.mode,!1),l.length&&i.mode&&this.updateHoverStyle(l,i.mode,!0)}_eventHandler(e,n){const r={event:e,replay:n,cancelable:!0,inChartArea:this.isPointInArea(e)},i=a=>(a.options.events||this.options.events).includes(e.native.type);if(this.notifyPlugins("beforeEvent",r,i)===!1)return;const o=this._handleEvent(e,n,r.inChartArea);return r.cancelable=!1,this.notifyPlugins("afterEvent",r,i),(o||r.changed)&&this.render(),this}_handleEvent(e,n,r){const{_active:i=[],options:o}=this,a=n,l=this._getActiveElements(e,i,r,a),u=I8(e),d=h5(e,this._lastEvent,r,u);r&&(this._lastEvent=null,Ht(o.onHover,[e,l,this],this),u&&Ht(o.onClick,[e,l,this],this));const p=!Mu(l,i);return(p||n)&&(this._active=l,this._updateHoverStyles(l,i,n)),this._lastEvent=d,p}_getActiveElements(e,n,r,i){if(e.type==="mouseout")return[];if(!r)return n;const o=this.options.hover;return this.getElementsAtEventForMode(e,o.mode,o,i)}};function sx(){return Tt(_h.instances,t=>t._plugins.invalidate())}function ax(t,e){const{x:n,y:r,base:i,width:o,height:a}=t.getProps(["x","y","base","width","height"],e);let l,u,d,p,h;return t.horizontal?(h=a/2,l=Math.min(n,i),u=Math.max(n,i),d=r-h,p=r+h):(h=o/2,l=n-h,u=n+h,d=Math.min(r,i),p=Math.max(r,i)),{left:l,top:d,right:u,bottom:p}}function Vo(t,e,n,r){return t?0:li(e,n,r)}function A5(t,e,n){const r=t.options.borderWidth,i=t.borderSkipped,o=ub(r);return{t:Vo(i.top,o.top,0,n),r:Vo(i.right,o.right,0,e),b:Vo(i.bottom,o.bottom,0,n),l:Vo(i.left,o.left,0,e)}}function g5(t,e,n){const{enableBorderRadius:r}=t.getProps(["enableBorderRadius"]),i=t.options.borderRadius,o=ba(i),a=Math.min(e,n),l=t.borderSkipped,u=r||kt(i);return{topLeft:Vo(!u||l.top||l.left,o.topLeft,0,a),topRight:Vo(!u||l.top||l.right,o.topRight,0,a),bottomLeft:Vo(!u||l.bottom||l.left,o.bottomLeft,0,a),bottomRight:Vo(!u||l.bottom||l.right,o.bottomRight,0,a)}}function m5(t){const e=ax(t),n=e.right-e.left,r=e.bottom-e.top,i=A5(t,n/2,r/2),o=g5(t,n/2,r/2);return{outer:{x:e.left,y:e.top,w:n,h:r,radius:o},inner:{x:e.left+i.l,y:e.top+i.t,w:n-i.l-i.r,h:r-i.t-i.b,radius:{topLeft:Math.max(0,o.topLeft-Math.max(i.t,i.l)),topRight:Math.max(0,o.topRight-Math.max(i.t,i.r)),bottomLeft:Math.max(0,o.bottomLeft-Math.max(i.b,i.l)),bottomRight:Math.max(0,o.bottomRight-Math.max(i.b,i.r))}}}}function Ih(t,e,n,r){const i=e===null,o=n===null,l=t&&!(i&&o)&&ax(t,r);return l&&(i||ya(e,l.left,l.right))&&(o||ya(n,l.top,l.bottom))}function v5(t){return t.topLeft||t.topRight||t.bottomLeft||t.bottomRight}function y5(t,e){t.rect(e.x,e.y,e.w,e.h)}function Mh(t,e,n={}){const r=t.x!==n.x?-e:0,i=t.y!==n.y?-e:0,o=(t.x+t.w!==n.x+n.w?e:0)-r,a=(t.y+t.h!==n.y+n.h?e:0)-i;return{x:t.x+r,y:t.y+i,w:t.w+o,h:t.h+a,radius:t.radius}}class b5 extends Sa{static id="bar";static defaults={borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};constructor(e){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,e&&Object.assign(this,e)}draw(e){const{inflateAmount:n,options:{borderColor:r,backgroundColor:i}}=this,{inner:o,outer:a}=m5(this),l=v5(a.radius)?zu:y5;e.save(),(a.w!==o.w||a.h!==o.h)&&(e.beginPath(),l(e,Mh(a,n,o)),e.clip(),l(e,Mh(o,-n,a)),e.fillStyle=r,e.fill("evenodd")),e.beginPath(),l(e,Mh(o,n)),e.fillStyle=i,e.fill(),e.restore()}inRange(e,n,r){return Ih(this,e,n,r)}inXRange(e,n){return Ih(this,e,null,n)}inYRange(e,n){return Ih(this,null,e,n)}getCenterPoint(e){const{x:n,y:r,base:i,horizontal:o}=this.getProps(["x","y","base","horizontal"],e);return{x:o?(n+i)/2:n,y:o?r:(r+i)/2}}getRange(e){return e==="x"?this.width/2:this.height/2}}const Oh=["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)"],lx=Oh.map(t=>t.replace("rgb(","rgba(").replace(")",", 0.5)"));function cx(t){return Oh[t%Oh.length]}function ux(t){return lx[t%lx.length]}function x5(t,e){return t.borderColor=cx(e),t.backgroundColor=ux(e),++e}function w5(t,e){return t.backgroundColor=t.data.map(()=>cx(e++)),e}function k5(t,e){return t.backgroundColor=t.data.map(()=>ux(e++)),e}function S5(t){let e=0;return(n,r)=>{const i=t.getDatasetMeta(r).controller;i instanceof iI?e=w5(n,e):i instanceof oI?e=k5(n,e):i&&(e=x5(n,e))}}function dx(t){let e;for(e in t)if(t[e].borderColor||t[e].backgroundColor)return!0;return!1}function E5(t){return t&&(t.borderColor||t.backgroundColor)}function C5(){return Jt.borderColor!=="rgba(0,0,0,0.1)"||Jt.backgroundColor!=="rgba(0,0,0,0.1)"}var P5={id:"colors",defaults:{enabled:!0,forceOverride:!1},beforeLayout(t,e,n){if(!n.enabled)return;const{data:{datasets:r},options:i}=t.config,{elements:o}=i,a=dx(r)||E5(i)||o&&dx(o)||C5();if(!n.forceOverride&&a)return;const l=S5(t);r.forEach(l)}};const fx=(t,e)=>{let{boxHeight:n=e,boxWidth:r=e}=t;return t.usePointStyle&&(n=Math.min(n,e),r=t.pointStyleWidth||Math.min(r,e)),{boxWidth:r,boxHeight:n,itemHeight:Math.max(e,n)}},D5=(t,e)=>t!==null&&e!==null&&t.datasetIndex===e.datasetIndex&&t.index===e.index;class px extends Sa{constructor(e){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=e.chart,this.options=e.options,this.ctx=e.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(e,n,r){this.maxWidth=e,this.maxHeight=n,this._margins=r,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 e=this.options.labels||{};let n=Ht(e.generateLabels,[this.chart],this)||[];e.filter&&(n=n.filter(r=>e.filter(r,this.chart.data))),e.sort&&(n=n.sort((r,i)=>e.sort(r,i,this.chart.data))),this.options.reverse&&n.reverse(),this.legendItems=n}fit(){const{options:e,ctx:n}=this;if(!e.display){this.width=this.height=0;return}const r=e.labels,i=zn(r.font),o=i.size,a=this._computeTitleHeight(),{boxWidth:l,itemHeight:u}=fx(r,o);let d,p;n.font=i.string,this.isHorizontal()?(d=this.maxWidth,p=this._fitRows(a,o,l,u)+10):(p=this.maxHeight,d=this._fitCols(a,i,l,u)+10),this.width=Math.min(d,e.maxWidth||this.maxWidth),this.height=Math.min(p,e.maxHeight||this.maxHeight)}_fitRows(e,n,r,i){const{ctx:o,maxWidth:a,options:{labels:{padding:l}}}=this,u=this.legendHitBoxes=[],d=this.lineWidths=[0],p=i+l;let h=e;o.textAlign="left",o.textBaseline="middle";let A=-1,m=-p;return this.legendItems.forEach((b,w)=>{const y=r+n/2+o.measureText(b.text).width;(w===0||d[d.length-1]+y+2*l>a)&&(h+=p,d[d.length-(w>0?0:1)]=0,m+=p,A++),u[w]={left:0,top:m,row:A,width:y,height:i},d[d.length-1]+=y+l}),h}_fitCols(e,n,r,i){const{ctx:o,maxHeight:a,options:{labels:{padding:l}}}=this,u=this.legendHitBoxes=[],d=this.columnSizes=[],p=a-e;let h=l,A=0,m=0,b=0,w=0;return this.legendItems.forEach((y,P)=>{const{itemWidth:M,itemHeight:D}=T5(r,n,o,y,i);P>0&&m+D+2*l>p&&(h+=A+l,d.push({width:A,height:m}),b+=A+l,w++,A=m=0),u[P]={left:b,top:m,col:w,width:M,height:D},A=Math.max(A,M),m+=D+l}),h+=A,d.push({width:A,height:m}),h}adjustHitBoxes(){if(!this.options.display)return;const e=this._computeTitleHeight(),{legendHitBoxes:n,options:{align:r,labels:{padding:i},rtl:o}}=this,a=ka(o,this.left,this.width);if(this.isHorizontal()){let l=0,u=jn(r,this.left+i,this.right-this.lineWidths[l]);for(const d of n)l!==d.row&&(l=d.row,u=jn(r,this.left+i,this.right-this.lineWidths[l])),d.top+=this.top+e+i,d.left=a.leftForLtr(a.x(u),d.width),u+=d.width+i}else{let l=0,u=jn(r,this.top+e+i,this.bottom-this.columnSizes[l].height);for(const d of n)d.col!==l&&(l=d.col,u=jn(r,this.top+e+i,this.bottom-this.columnSizes[l].height)),d.top=u,d.left+=this.left+i,d.left=a.leftForLtr(a.x(d.left),d.width),u+=d.height+i}}isHorizontal(){return this.options.position==="top"||this.options.position==="bottom"}draw(){if(this.options.display){const e=this.ctx;hh(e,this),this._draw(),Ah(e)}}_draw(){const{options:e,columnSizes:n,lineWidths:r,ctx:i}=this,{align:o,labels:a}=e,l=Jt.color,u=ka(e.rtl,this.left,this.width),d=zn(a.font),{padding:p}=a,h=d.size,A=h/2;let m;this.drawTitle(),i.textAlign=u.textAlign("left"),i.textBaseline="middle",i.lineWidth=.5,i.font=d.string;const{boxWidth:b,boxHeight:w,itemHeight:y}=fx(a,h),P=function(R,z,V){if(isNaN(b)||b<=0||isNaN(w)||w<0)return;i.save();const K=Ct(V.lineWidth,1);if(i.fillStyle=Ct(V.fillStyle,l),i.lineCap=Ct(V.lineCap,"butt"),i.lineDashOffset=Ct(V.lineDashOffset,0),i.lineJoin=Ct(V.lineJoin,"miter"),i.lineWidth=K,i.strokeStyle=Ct(V.strokeStyle,l),i.setLineDash(Ct(V.lineDash,[])),a.usePointStyle){const q={radius:w*Math.SQRT2/2,pointStyle:V.pointStyle,rotation:V.rotation,borderWidth:K},Z=u.xPlus(R,b/2),W=z+A;ab(i,q,Z,W,a.pointStyleWidth&&b)}else{const q=z+Math.max((h-w)/2,0),Z=u.leftForLtr(R,b),W=ba(V.borderRadius);i.beginPath(),Object.values(W).some(ie=>ie!==0)?zu(i,{x:Z,y:q,w:b,h:w,radius:W}):i.rect(Z,q,b,w),i.fill(),K!==0&&i.stroke()}i.restore()},M=function(R,z,V){Yl(i,V.text,R,z+y/2,d,{strikethrough:V.hidden,textAlign:u.textAlign(V.textAlign)})},D=this.isHorizontal(),C=this._computeTitleHeight();D?m={x:jn(o,this.left+p,this.right-r[0]),y:this.top+p+C,line:0}:m={x:this.left+p,y:jn(o,this.top+C+p,this.bottom-n[0].height),line:0},yb(this.ctx,e.textDirection);const j=y+p;this.legendItems.forEach((R,z)=>{i.strokeStyle=R.fontColor,i.fillStyle=R.fontColor;const V=i.measureText(R.text).width,K=u.textAlign(R.textAlign||(R.textAlign=a.textAlign)),q=b+A+V;let Z=m.x,W=m.y;u.setWidth(this.width),D?z>0&&Z+q+p>this.right&&(W=m.y+=j,m.line++,Z=m.x=jn(o,this.left+p,this.right-r[m.line])):z>0&&W+j>this.bottom&&(Z=m.x=Z+n[m.line].width+p,m.line++,W=m.y=jn(o,this.top+C+p,this.bottom-n[m.line].height));const ie=u.x(Z);if(P(ie,W,R),Z=Y8(K,Z+b+A,D?Z+q:this.right,e.rtl),M(u.x(Z),W,R),D)m.x+=q+p;else if(typeof R.text!="string"){const ue=d.lineHeight;m.y+=hx(R,ue)+p}else m.y+=j}),bb(this.ctx,e.textDirection)}drawTitle(){const e=this.options,n=e.title,r=zn(n.font),i=Gr(n.padding);if(!n.display)return;const o=ka(e.rtl,this.left,this.width),a=this.ctx,l=n.position,u=r.size/2,d=i.top+u;let p,h=this.left,A=this.width;if(this.isHorizontal())A=Math.max(...this.lineWidths),p=this.top+d,h=jn(e.align,h,this.right-A);else{const b=this.columnSizes.reduce((w,y)=>Math.max(w,y.height),0);p=d+jn(e.align,this.top,this.bottom-b-e.labels.padding-this._computeTitleHeight())}const m=jn(l,h,h+A);a.textAlign=o.textAlign(uh(l)),a.textBaseline="middle",a.strokeStyle=n.color,a.fillStyle=n.color,a.font=r.string,Yl(a,n.text,m,p,r)}_computeTitleHeight(){const e=this.options.title,n=zn(e.font),r=Gr(e.padding);return e.display?n.lineHeight+r.height:0}_getLegendItemAt(e,n){let r,i,o;if(ya(e,this.left,this.right)&&ya(n,this.top,this.bottom)){for(o=this.legendHitBoxes,r=0;r<o.length;++r)if(i=o[r],ya(e,i.left,i.left+i.width)&&ya(n,i.top,i.top+i.height))return this.legendItems[r]}return null}handleEvent(e){const n=this.options;if(!I5(e.type,n))return;const r=this._getLegendItemAt(e.x,e.y);if(e.type==="mousemove"||e.type==="mouseout"){const i=this._hoveredItem,o=D5(i,r);i&&!o&&Ht(n.onLeave,[e,i,this],this),this._hoveredItem=r,r&&!o&&Ht(n.onHover,[e,r,this],this)}else r&&Ht(n.onClick,[e,r,this],this)}}function T5(t,e,n,r,i){const o=B5(r,t,e,n),a=_5(i,r,e.lineHeight);return{itemWidth:o,itemHeight:a}}function B5(t,e,n,r){let i=t.text;return i&&typeof i!="string"&&(i=i.reduce((o,a)=>o.length>a.length?o:a)),e+n.size/2+r.measureText(i).width}function _5(t,e,n){let r=t;return typeof e.text!="string"&&(r=hx(e,n)),r}function hx(t,e){const n=t.text?t.text.length:0;return e*n}function I5(t,e){return!!((t==="mousemove"||t==="mouseout")&&(e.onHover||e.onLeave)||e.onClick&&(t==="click"||t==="mouseup"))}var M5={id:"legend",_element:px,start(t,e,n){const r=t.legend=new px({ctx:t.ctx,options:n,chart:t});Xr.configure(t,r,n),Xr.addBox(t,r)},stop(t){Xr.removeBox(t,t.legend),delete t.legend},beforeUpdate(t,e,n){const r=t.legend;Xr.configure(t,r,n),r.options=n},afterUpdate(t){const e=t.legend;e.buildLabels(),e.adjustHitBoxes()},afterEvent(t,e){e.replay||t.legend.handleEvent(e.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(t,e,n){const r=e.datasetIndex,i=n.chart;i.isDatasetVisible(r)?(i.hide(r),e.hidden=!0):(i.show(r),e.hidden=!1)},onHover:null,onLeave:null,labels:{color:t=>t.chart.options.color,boxWidth:40,padding:10,generateLabels(t){const e=t.data.datasets,{labels:{usePointStyle:n,pointStyle:r,textAlign:i,color:o,useBorderRadius:a,borderRadius:l}}=t.legend.options;return t._getSortedDatasetMetas().map(u=>{const d=u.controller.getStyle(n?0:void 0),p=Gr(d.borderWidth);return{text:e[u.index].label,fillStyle:d.backgroundColor,fontColor:o,hidden:!u.visible,lineCap:d.borderCapStyle,lineDash:d.borderDash,lineDashOffset:d.borderDashOffset,lineJoin:d.borderJoinStyle,lineWidth:(p.width+p.height)/4,strokeStyle:d.borderColor,pointStyle:r||d.pointStyle,rotation:d.rotation,textAlign:i||d.textAlign,borderRadius:a&&(l||d.borderRadius),datasetIndex:u.index}},this)}},title:{color:t=>t.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:t=>!t.startsWith("on"),labels:{_scriptable:t=>!["generateLabels","filter","sort"].includes(t)}}};class Ax extends Sa{constructor(e){super(),this.chart=e.chart,this.options=e.options,this.ctx=e.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(e,n){const r=this.options;if(this.left=0,this.top=0,!r.display){this.width=this.height=this.right=this.bottom=0;return}this.width=this.right=e,this.height=this.bottom=n;const i=gn(r.text)?r.text.length:1;this._padding=Gr(r.padding);const o=i*zn(r.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=o:this.width=o}isHorizontal(){const e=this.options.position;return e==="top"||e==="bottom"}_drawArgs(e){const{top:n,left:r,bottom:i,right:o,options:a}=this,l=a.align;let u=0,d,p,h;return this.isHorizontal()?(p=jn(l,r,o),h=n+e,d=o-r):(a.position==="left"?(p=r+e,h=jn(l,i,n),u=mn*-.5):(p=o-e,h=jn(l,n,i),u=mn*.5),d=i-n),{titleX:p,titleY:h,maxWidth:d,rotation:u}}draw(){const e=this.ctx,n=this.options;if(!n.display)return;const r=zn(n.font),o=r.lineHeight/2+this._padding.top,{titleX:a,titleY:l,maxWidth:u,rotation:d}=this._drawArgs(o);Yl(e,n.text,0,0,r,{color:n.color,maxWidth:u,rotation:d,textAlign:uh(n.align),textBaseline:"middle",translation:[a,l]})}}function O5(t,e){const n=new Ax({ctx:t.ctx,options:e,chart:t});Xr.configure(t,n,e),Xr.addBox(t,n),t.titleBlock=n}var R5={id:"title",_element:Ax,start(t,e,n){O5(t,n)},stop(t){const e=t.titleBlock;Xr.removeBox(t,e),delete t.titleBlock},beforeUpdate(t,e,n){const r=t.titleBlock;Xr.configure(t,r,n),r.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 ec={average(t){if(!t.length)return!1;let e,n,r=new Set,i=0,o=0;for(e=0,n=t.length;e<n;++e){const l=t[e].element;if(l&&l.hasValue()){const u=l.tooltipPosition();r.add(u.x),i+=u.y,++o}}return o===0||r.size===0?!1:{x:[...r].reduce((l,u)=>l+u)/r.size,y:i/o}},nearest(t,e){if(!t.length)return!1;let n=e.x,r=e.y,i=Number.POSITIVE_INFINITY,o,a,l;for(o=0,a=t.length;o<a;++o){const u=t[o].element;if(u&&u.hasValue()){const d=u.getCenterPoint(),p=z8(e,d);p<i&&(i=p,l=u)}}if(l){const u=l.tooltipPosition();n=u.x,r=u.y}return{x:n,y:r}}};function Fi(t,e){return e&&(gn(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function uo(t){return(typeof t=="string"||t instanceof String)&&t.indexOf(`
|
|
309
309
|
`)>-1?t.split(`
|
|
310
|
-
`):t}function L5(t,e){const{element:n,datasetIndex:r,index:i}=e,o=t.getDatasetMeta(r).controller,{label:a,value:l}=o.getLabelAndValue(i);return{chart:t,label:a,parsed:o.getParsed(i),raw:t.data.datasets[r].data[i],formattedValue:l,dataset:o.getDataset(),dataIndex:i,datasetIndex:r,element:n}}function gx(t,e){const n=t.chart.ctx,{body:r,footer:i,title:o}=t,{boxWidth:a,boxHeight:l}=e,u=zn(e.bodyFont),d=zn(e.titleFont),p=zn(e.footerFont),h=o.length,A=i.length,m=r.length,b=Gr(e.padding);let w=b.height,y=0,P=r.reduce((C,j)=>C+j.before.length+j.lines.length+j.after.length,0);if(P+=t.beforeBody.length+t.afterBody.length,h&&(w+=h*d.lineHeight+(h-1)*e.titleSpacing+e.titleMarginBottom),P){const C=e.displayColors?Math.max(l,u.lineHeight):u.lineHeight;w+=m*C+(P-m)*u.lineHeight+(P-1)*e.bodySpacing}A&&(w+=e.footerMarginTop+A*p.lineHeight+(A-1)*e.footerSpacing);let M=0;const D=function(C){y=Math.max(y,n.measureText(C).width+M)};return n.save(),n.font=d.string,Tt(t.title,D),n.font=u.string,Tt(t.beforeBody.concat(t.afterBody),D),M=e.displayColors?a+2+e.boxPadding:0,Tt(r,C=>{Tt(C.before,D),Tt(C.lines,D),Tt(C.after,D)}),M=0,n.font=p.string,Tt(t.footer,D),n.restore(),y+=b.width,{width:y,height:w}}function N5(t,e){const{y:n,height:r}=e;return n<r/2?"top":n>t.height-r/2?"bottom":"center"}function F5(t,e,n,r){const{x:i,width:o}=r,a=n.caretSize+n.caretPadding;if(t==="left"&&i+o+a>e.width||t==="right"&&i-o-a<0)return!0}function j5(t,e,n,r){const{x:i,width:o}=n,{width:a,chartArea:{left:l,right:u}}=t;let d="center";return r==="center"?d=i<=(l+u)/2?"left":"right":i<=o/2?d="left":i>=a-o/2&&(d="right"),F5(d,t,e,n)&&(d="center"),d}function mx(t,e,n){const r=n.yAlign||e.yAlign||N5(t,n);return{xAlign:n.xAlign||e.xAlign||j5(t,e,n,r),yAlign:r}}function z5(t,e){let{x:n,width:r}=t;return e==="right"?n-=r:e==="center"&&(n-=r/2),n}function Q5(t,e,n){let{y:r,height:i}=t;return e==="top"?r+=n:e==="bottom"?r-=i+n:r-=i/2,r}function vx(t,e,n,r){const{caretSize:i,caretPadding:o,cornerRadius:a}=t,{xAlign:l,yAlign:u}=n,d=i+o,{topLeft:p,topRight:h,bottomLeft:A,bottomRight:m}=ba(a);let b=z5(e,l);const w=Q5(e,u,d);return u==="center"?l==="left"?b+=d:l==="right"&&(b-=d):l==="left"?b-=Math.max(p,A)+i:l==="right"&&(b+=Math.max(h,m)+i),{x:li(b,0,r.width-e.width),y:li(w,0,r.height-e.height)}}function ed(t,e,n){const r=Gr(n.padding);return e==="center"?t.x+t.width/2:e==="right"?t.x+t.width-r.right:t.x+r.left}function yx(t){return Fi([],uo(t))}function H5(t,e,n){return xa(t,{tooltip:e,tooltipItems:n,type:"tooltip"})}function bx(t,e){const n=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return n?t.override(n):t}const xx={beforeTitle:lo,title(t){if(t.length>0){const e=t[0],n=e.chart.data.labels,r=n?n.length:0;if(this&&this.options&&this.options.mode==="dataset")return e.dataset.label||"";if(e.label)return e.label;if(r>0&&e.dataIndex<r)return n[e.dataIndex]}return""},afterTitle:lo,beforeBody:lo,beforeLabel:lo,label(t){if(this&&this.options&&this.options.mode==="dataset")return t.label+": "+t.formattedValue||t.formattedValue;let e=t.dataset.label||"";e&&(e+=": ");const n=t.formattedValue;return Ot(n)||(e+=n),e},labelColor(t){const n=t.chart.getDatasetMeta(t.datasetIndex).controller.getStyle(t.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(t){const n=t.chart.getDatasetMeta(t.datasetIndex).controller.getStyle(t.dataIndex);return{pointStyle:n.pointStyle,rotation:n.rotation}},afterLabel:lo,afterBody:lo,beforeFooter:lo,footer:lo,afterFooter:lo};function lr(t,e,n,r){const i=t[e].call(n,r);return typeof i>"u"?xx[e].call(n,r):i}class wx extends Sa{static positioners=ec;constructor(e){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=e.chart,this.options=e.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(e){this.options=e,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const e=this._cachedAnimations;if(e)return e;const n=this.chart,r=this.options.setContext(this.getContext()),i=r.enabled&&n.options.animation&&r.animations,o=new wb(this.chart,i);return i._cacheable&&(this._cachedAnimations=Object.freeze(o)),o}getContext(){return this.$context||(this.$context=H5(this.chart.getContext(),this,this._tooltipItems))}getTitle(e,n){const{callbacks:r}=n,i=lr(r,"beforeTitle",this,e),o=lr(r,"title",this,e),a=lr(r,"afterTitle",this,e);let l=[];return l=Fi(l,uo(i)),l=Fi(l,uo(o)),l=Fi(l,uo(a)),l}getBeforeBody(e,n){return yx(lr(n.callbacks,"beforeBody",this,e))}getBody(e,n){const{callbacks:r}=n,i=[];return Tt(e,o=>{const a={before:[],lines:[],after:[]},l=bx(r,o);Fi(a.before,uo(lr(l,"beforeLabel",this,o))),Fi(a.lines,lr(l,"label",this,o)),Fi(a.after,uo(lr(l,"afterLabel",this,o))),i.push(a)}),i}getAfterBody(e,n){return yx(lr(n.callbacks,"afterBody",this,e))}getFooter(e,n){const{callbacks:r}=n,i=lr(r,"beforeFooter",this,e),o=lr(r,"footer",this,e),a=lr(r,"afterFooter",this,e);let l=[];return l=Fi(l,uo(i)),l=Fi(l,uo(o)),l=Fi(l,uo(a)),l}_createItems(e){const n=this._active,r=this.chart.data,i=[],o=[],a=[];let l=[],u,d;for(u=0,d=n.length;u<d;++u)l.push(L5(this.chart,n[u]));return e.filter&&(l=l.filter((p,h,A)=>e.filter(p,h,A,r))),e.itemSort&&(l=l.sort((p,h)=>e.itemSort(p,h,r))),Tt(l,p=>{const h=bx(e.callbacks,p);i.push(lr(h,"labelColor",this,p)),o.push(lr(h,"labelPointStyle",this,p)),a.push(lr(h,"labelTextColor",this,p))}),this.labelColors=i,this.labelPointStyles=o,this.labelTextColors=a,this.dataPoints=l,l}update(e,n){const r=this.options.setContext(this.getContext()),i=this._active;let o,a=[];if(!i.length)this.opacity!==0&&(o={opacity:0});else{const l=ec[r.position].call(this,i,this._eventPosition);a=this._createItems(r),this.title=this.getTitle(a,r),this.beforeBody=this.getBeforeBody(a,r),this.body=this.getBody(a,r),this.afterBody=this.getAfterBody(a,r),this.footer=this.getFooter(a,r);const u=this._size=gx(this,r),d=Object.assign({},l,u),p=mx(this.chart,r,d),h=vx(r,d,p,this.chart);this.xAlign=p.xAlign,this.yAlign=p.yAlign,o={opacity:1,x:h.x,y:h.y,width:u.width,height:u.height,caretX:l.x,caretY:l.y}}this._tooltipItems=a,this.$context=void 0,o&&this._resolveAnimations().update(this,o),e&&r.external&&r.external.call(this,{chart:this.chart,tooltip:this,replay:n})}drawCaret(e,n,r,i){const o=this.getCaretPosition(e,r,i);n.lineTo(o.x1,o.y1),n.lineTo(o.x2,o.y2),n.lineTo(o.x3,o.y3)}getCaretPosition(e,n,r){const{xAlign:i,yAlign:o}=this,{caretSize:a,cornerRadius:l}=r,{topLeft:u,topRight:d,bottomLeft:p,bottomRight:h}=ba(l),{x:A,y:m}=e,{width:b,height:w}=n;let y,P,M,D,C,j;return o==="center"?(C=m+w/2,i==="left"?(y=A,P=y-a,D=C+a,j=C-a):(y=A+b,P=y+a,D=C-a,j=C+a),M=y):(i==="left"?P=A+Math.max(u,p)+a:i==="right"?P=A+b-Math.max(d,h)-a:P=this.caretX,o==="top"?(D=m,C=D-a,y=P-a,M=P+a):(D=m+w,C=D+a,y=P+a,M=P-a),j=D),{x1:y,x2:P,x3:M,y1:D,y2:C,y3:j}}drawTitle(e,n,r){const i=this.title,o=i.length;let a,l,u;if(o){const d=ka(r.rtl,this.x,this.width);for(e.x=ed(this,r.titleAlign,r),n.textAlign=d.textAlign(r.titleAlign),n.textBaseline="middle",a=zn(r.titleFont),l=r.titleSpacing,n.fillStyle=r.titleColor,n.font=a.string,u=0;u<o;++u)n.fillText(i[u],d.x(e.x),e.y+a.lineHeight/2),e.y+=a.lineHeight+l,u+1===o&&(e.y+=r.titleMarginBottom-l)}}_drawColorBox(e,n,r,i,o){const a=this.labelColors[r],l=this.labelPointStyles[r],{boxHeight:u,boxWidth:d}=o,p=zn(o.bodyFont),h=ed(this,"left",o),A=i.x(h),m=u<p.lineHeight?(p.lineHeight-u)/2:0,b=n.y+m;if(o.usePointStyle){const w={radius:Math.min(d,u)/2,pointStyle:l.pointStyle,rotation:l.rotation,borderWidth:1},y=i.leftForLtr(A,d)+d/2,P=b+u/2;e.strokeStyle=o.multiKeyBackground,e.fillStyle=o.multiKeyBackground,sb(e,w,y,P),e.strokeStyle=a.borderColor,e.fillStyle=a.backgroundColor,sb(e,w,y,P)}else{e.lineWidth=St(a.borderWidth)?Math.max(...Object.values(a.borderWidth)):a.borderWidth||1,e.strokeStyle=a.borderColor,e.setLineDash(a.borderDash||[]),e.lineDashOffset=a.borderDashOffset||0;const w=i.leftForLtr(A,d),y=i.leftForLtr(i.xPlus(A,1),d-2),P=ba(a.borderRadius);Object.values(P).some(M=>M!==0)?(e.beginPath(),e.fillStyle=o.multiKeyBackground,zu(e,{x:w,y:b,w:d,h:u,radius:P}),e.fill(),e.stroke(),e.fillStyle=a.backgroundColor,e.beginPath(),zu(e,{x:y,y:b+1,w:d-2,h:u-2,radius:P}),e.fill()):(e.fillStyle=o.multiKeyBackground,e.fillRect(w,b,d,u),e.strokeRect(w,b,d,u),e.fillStyle=a.backgroundColor,e.fillRect(y,b+1,d-2,u-2))}e.fillStyle=this.labelTextColors[r]}drawBody(e,n,r){const{body:i}=this,{bodySpacing:o,bodyAlign:a,displayColors:l,boxHeight:u,boxWidth:d,boxPadding:p}=r,h=zn(r.bodyFont);let A=h.lineHeight,m=0;const b=ka(r.rtl,this.x,this.width),w=function(V){n.fillText(V,b.x(e.x+m),e.y+A/2),e.y+=A+o},y=b.textAlign(a);let P,M,D,C,j,R,z;for(n.textAlign=a,n.textBaseline="middle",n.font=h.string,e.x=ed(this,y,r),n.fillStyle=r.bodyColor,Tt(this.beforeBody,w),m=l&&y!=="right"?a==="center"?d/2+p:d+2+p:0,C=0,R=i.length;C<R;++C){for(P=i[C],M=this.labelTextColors[C],n.fillStyle=M,Tt(P.before,w),D=P.lines,l&&D.length&&(this._drawColorBox(n,e,C,b,r),A=Math.max(h.lineHeight,u)),j=0,z=D.length;j<z;++j)w(D[j]),A=h.lineHeight;Tt(P.after,w)}m=0,A=h.lineHeight,Tt(this.afterBody,w),e.y-=o}drawFooter(e,n,r){const i=this.footer,o=i.length;let a,l;if(o){const u=ka(r.rtl,this.x,this.width);for(e.x=ed(this,r.footerAlign,r),e.y+=r.footerMarginTop,n.textAlign=u.textAlign(r.footerAlign),n.textBaseline="middle",a=zn(r.footerFont),n.fillStyle=r.footerColor,n.font=a.string,l=0;l<o;++l)n.fillText(i[l],u.x(e.x),e.y+a.lineHeight/2),e.y+=a.lineHeight+r.footerSpacing}}drawBackground(e,n,r,i){const{xAlign:o,yAlign:a}=this,{x:l,y:u}=e,{width:d,height:p}=r,{topLeft:h,topRight:A,bottomLeft:m,bottomRight:b}=ba(i.cornerRadius);n.fillStyle=i.backgroundColor,n.strokeStyle=i.borderColor,n.lineWidth=i.borderWidth,n.beginPath(),n.moveTo(l+h,u),a==="top"&&this.drawCaret(e,n,r,i),n.lineTo(l+d-A,u),n.quadraticCurveTo(l+d,u,l+d,u+A),a==="center"&&o==="right"&&this.drawCaret(e,n,r,i),n.lineTo(l+d,u+p-b),n.quadraticCurveTo(l+d,u+p,l+d-b,u+p),a==="bottom"&&this.drawCaret(e,n,r,i),n.lineTo(l+m,u+p),n.quadraticCurveTo(l,u+p,l,u+p-m),a==="center"&&o==="left"&&this.drawCaret(e,n,r,i),n.lineTo(l,u+h),n.quadraticCurveTo(l,u,l+h,u),n.closePath(),n.fill(),i.borderWidth>0&&n.stroke()}_updateAnimationTarget(e){const n=this.chart,r=this.$animations,i=r&&r.x,o=r&&r.y;if(i||o){const a=ec[e.position].call(this,this._active,this._eventPosition);if(!a)return;const l=this._size=gx(this,e),u=Object.assign({},a,this._size),d=mx(n,e,u),p=vx(e,u,d,n);(i._to!==p.x||o._to!==p.y)&&(this.xAlign=d.xAlign,this.yAlign=d.yAlign,this.width=l.width,this.height=l.height,this.caretX=a.x,this.caretY=a.y,this._resolveAnimations().update(this,p))}}_willRender(){return!!this.opacity}draw(e){const n=this.options.setContext(this.getContext());let r=this.opacity;if(!r)return;this._updateAnimationTarget(n);const i={width:this.width,height:this.height},o={x:this.x,y:this.y};r=Math.abs(r)<.001?0:r;const a=Gr(n.padding),l=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;n.enabled&&l&&(e.save(),e.globalAlpha=r,this.drawBackground(o,e,i,n),yb(e,n.textDirection),o.y+=a.top,this.drawTitle(o,e,n),this.drawBody(o,e,n),this.drawFooter(o,e,n),bb(e,n.textDirection),e.restore())}getActiveElements(){return this._active||[]}setActiveElements(e,n){const r=this._active,i=e.map(({datasetIndex:l,index:u})=>{const d=this.chart.getDatasetMeta(l);if(!d)throw new Error("Cannot find a dataset at index "+l);return{datasetIndex:l,element:d.data[u],index:u}}),o=!Mu(r,i),a=this._positionChanged(i,n);(o||a)&&(this._active=i,this._eventPosition=n,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(e,n,r=!0){if(n&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const i=this.options,o=this._active||[],a=this._getActiveElements(e,o,n,r),l=this._positionChanged(a,e),u=n||!Mu(a,o)||l;return u&&(this._active=a,(i.enabled||i.external)&&(this._eventPosition={x:e.x,y:e.y},this.update(!0,n))),u}_getActiveElements(e,n,r,i){const o=this.options;if(e.type==="mouseout")return[];if(!i)return n.filter(l=>this.chart.data.datasets[l.datasetIndex]&&this.chart.getDatasetMeta(l.datasetIndex).controller.getParsed(l.index)!==void 0);const a=this.chart.getElementsAtEventForMode(e,o.mode,o,r);return o.reverse&&a.reverse(),a}_positionChanged(e,n){const{caretX:r,caretY:i,options:o}=this,a=ec[o.position].call(this,e,n);return a!==!1&&(r!==a.x||i!==a.y)}}var U5={id:"tooltip",_element:wx,positioners:ec,afterInit(t,e,n){n&&(t.tooltip=new wx({chart:t,options:n}))},beforeUpdate(t,e,n){t.tooltip&&t.tooltip.initialize(n)},reset(t,e,n){t.tooltip&&t.tooltip.initialize(n)},afterDraw(t){const e=t.tooltip;if(e&&e._willRender()){const n={tooltip:e};if(t.notifyPlugins("beforeTooltipDraw",{...n,cancelable:!0})===!1)return;e.draw(t.ctx),t.notifyPlugins("afterTooltipDraw",n)}},afterEvent(t,e){if(t.tooltip){const n=e.replay;t.tooltip.handleEvent(e.event,n,e.inChartArea)&&(e.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:(t,e)=>e.bodyFont.size,boxWidth:(t,e)=>e.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:xx},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:t=>t!=="filter"&&t!=="itemSort"&&t!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};const V5=(t,e,n,r)=>(typeof e=="string"?(n=t.push(e)-1,r.unshift({index:n,label:e})):isNaN(e)&&(n=null),n);function W5(t,e,n,r){const i=t.indexOf(e);if(i===-1)return V5(t,e,n,r);const o=t.lastIndexOf(e);return i!==o?n:i}const Y5=(t,e)=>t===null?null:li(Math.round(t),0,e);function kx(t){const e=this.getLabels();return t>=0&&t<e.length?e[t]:t}class q5 extends Ea{static id="category";static defaults={ticks:{callback:kx}};constructor(e){super(e),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(e){const n=this._addedLabels;if(n.length){const r=this.getLabels();for(const{index:i,label:o}of n)r[i]===o&&r.splice(i,1);this._addedLabels=[]}super.init(e)}parse(e,n){if(Ot(e))return null;const r=this.getLabels();return n=isFinite(n)&&r[n]===e?n:W5(r,e,Ct(n,e),this._addedLabels),Y5(n,r.length-1)}determineDataLimits(){const{minDefined:e,maxDefined:n}=this.getUserBounds();let{min:r,max:i}=this.getMinMax(!0);this.options.bounds==="ticks"&&(e||(r=0),n||(i=this.getLabels().length-1)),this.min=r,this.max=i}buildTicks(){const e=this.min,n=this.max,r=this.options.offset,i=[];let o=this.getLabels();o=e===0&&n===o.length-1?o:o.slice(e,n+1),this._valueRange=Math.max(o.length-(r?0:1),1),this._startValue=this.min-(r?.5:0);for(let a=e;a<=n;a++)i.push({value:a});return i}getLabelForValue(e){return kx.call(this,e)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(e){return typeof e!="number"&&(e=this.parse(e)),e===null?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getPixelForTick(e){const n=this.ticks;return e<0||e>n.length-1?null:this.getPixelForValue(n[e].value)}getValueForPixel(e){return Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange)}getBasePixel(){return this.bottom}}function K5(t,e){const n=[],{bounds:i,step:o,min:a,max:l,precision:u,count:d,maxTicks:p,maxDigits:h,includeBounds:A}=t,m=o||1,b=p-1,{min:w,max:y}=e,P=!Ot(a),M=!Ot(l),D=!Ot(d),C=(y-w)/(h+1);let j=Wy((y-w)/b/m)*m,R,z,V,K;if(j<1e-14&&!P&&!M)return[{value:w},{value:y}];K=Math.ceil(y/j)-Math.floor(w/j),K>b&&(j=Wy(K*j/b/m)*m),Ot(u)||(R=Math.pow(10,u),j=Math.ceil(j*R)/R),i==="ticks"?(z=Math.floor(w/j)*j,V=Math.ceil(y/j)*j):(z=w,V=y),P&&M&&o&&L8((l-a)/o,j/1e3)?(K=Math.round(Math.min((l-a)/j,p)),j=(l-a)/K,z=a,V=l):D?(z=P?a:z,V=M?l:V,K=d-1,j=(V-z)/K):(K=(V-z)/j,Lu(K,Math.round(K),j/1e3)?K=Math.round(K):K=Math.ceil(K));const q=Math.max(Yy(j),Yy(z));R=Math.pow(10,Ot(u)?q:u),z=Math.round(z*R)/R,V=Math.round(V*R)/R;let Z=0;for(P&&(A&&z!==a?(n.push({value:a}),z<a&&Z++,Lu(Math.round((z+Z*j)*R)/R,a,Sx(a,C,t))&&Z++):z<a&&Z++);Z<K;++Z){const W=Math.round((z+Z*j)*R)/R;if(M&&W>l)break;n.push({value:W})}return M&&A&&V!==l?n.length&&Lu(n[n.length-1].value,l,Sx(l,C,t))?n[n.length-1].value=l:n.push({value:l}):(!M||V===l)&&n.push({value:V}),n}function Sx(t,e,{horizontal:n,minRotation:r}){const i=Li(r),o=(n?Math.sin(i):Math.cos(i))||.001,a=.75*e*(""+t).length;return Math.min(e/o,a)}class G5 extends Ea{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(e,n){return Ot(e)||(typeof e=="number"||e instanceof Number)&&!isFinite(+e)?null:+e}handleTickRangeOptions(){const{beginAtZero:e}=this.options,{minDefined:n,maxDefined:r}=this.getUserBounds();let{min:i,max:o}=this;const a=u=>i=n?i:u,l=u=>o=r?o:u;if(e){const u=Ho(i),d=Ho(o);u<0&&d<0?l(0):u>0&&d>0&&a(0)}if(i===o){let u=o===0?1:Math.abs(o*.05);l(o+u),e||a(i-u)}this.min=i,this.max=o}getTickLimit(){const e=this.options.ticks;let{maxTicksLimit:n,stepSize:r}=e,i;return r?(i=Math.ceil(this.max/r)-Math.floor(this.min/r)+1,i>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${r} would result generating up to ${i} ticks. Limiting to 1000.`),i=1e3)):(i=this.computeTickLimit(),n=n||11),n&&(i=Math.min(n,i)),i}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const e=this.options,n=e.ticks;let r=this.getTickLimit();r=Math.max(2,r);const i={maxTicks:r,bounds:e.bounds,min:e.min,max:e.max,precision:n.precision,step:n.stepSize,count:n.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:n.minRotation||0,includeBounds:n.includeBounds!==!1},o=this._range||this,a=K5(i,o);return e.bounds==="ticks"&&N8(a,this,"value"),e.reverse?(a.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),a}configure(){const e=this.ticks;let n=this.min,r=this.max;if(super.configure(),this.options.offset&&e.length){const i=(r-n)/Math.max(e.length-1,1)/2;n-=i,r+=i}this._startValue=n,this._endValue=r,this._valueRange=r-n}getLabelForValue(e){return ju(e,this.chart.options.locale,this.options.ticks.format)}}class X5 extends G5{static id="linear";static defaults={ticks:{callback:rb.formatters.numeric}};determineDataLimits(){const{min:e,max:n}=this.getMinMax(!0);this.min=Kr(e)?e:0,this.max=Kr(n)?n:1,this.handleTickRangeOptions()}computeTickLimit(){const e=this.isHorizontal(),n=e?this.width:this.height,r=Li(this.options.ticks.minRotation),i=(e?Math.sin(r):Math.cos(r))||.001,o=this._resolveTickFontOptions(0);return Math.ceil(n/Math.min(40,o.lineHeight/i))}getPixelForValue(e){return e===null?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getValueForPixel(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange}}const td={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}},cr=Object.keys(td);function Ex(t,e){return t-e}function Cx(t,e){if(Ot(e))return null;const n=t._adapter,{parser:r,round:i,isoWeekday:o}=t._parseOpts;let a=e;return typeof r=="function"&&(a=r(a)),Kr(a)||(a=typeof r=="string"?n.parse(a,r):n.parse(a)),a===null?null:(i&&(a=i==="week"&&(Nu(o)||o===!0)?n.startOf(a,"isoWeek",o):n.startOf(a,i)),+a)}function Px(t,e,n,r){const i=cr.length;for(let o=cr.indexOf(t);o<i-1;++o){const a=td[cr[o]],l=a.steps?a.steps:Number.MAX_SAFE_INTEGER;if(a.common&&Math.ceil((n-e)/(l*a.size))<=r)return cr[o]}return cr[i-1]}function J5(t,e,n,r,i){for(let o=cr.length-1;o>=cr.indexOf(n);o--){const a=cr[o];if(td[a].common&&t._adapter.diff(i,r,a)>=e-1)return a}return cr[n?cr.indexOf(n):0]}function Z5(t){for(let e=cr.indexOf(t)+1,n=cr.length;e<n;++e)if(td[cr[e]].common)return cr[e]}function Dx(t,e,n){if(!n)t[e]=!0;else if(n.length){const{lo:r,hi:i}=lh(n,e),o=n[r]>=e?n[r]:n[i];t[o]=!0}}function $5(t,e,n,r){const i=t._adapter,o=+i.startOf(e[0].value,r),a=e[e.length-1].value;let l,u;for(l=o;l<=a;l=+i.add(l,1,r))u=n[l],u>=0&&(e[u].major=!0);return e}function Tx(t,e,n){const r=[],i={},o=e.length;let a,l;for(a=0;a<o;++a)l=e[a],i[l]=a,r.push({value:l,major:!1});return o===0||!n?r:$5(t,r,i,n)}class Bx extends Ea{static id="time";static defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}};constructor(e){super(e),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(e,n={}){const r=e.time||(e.time={}),i=this._adapter=new sI._date(e.adapters.date);i.init(n),Hl(r.displayFormats,i.formats()),this._parseOpts={parser:r.parser,round:r.round,isoWeekday:r.isoWeekday},super.init(e),this._normalized=n.normalized}parse(e,n){return e===void 0?null:Cx(this,e)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const e=this.options,n=this._adapter,r=e.time.unit||"day";let{min:i,max:o,minDefined:a,maxDefined:l}=this.getUserBounds();function u(d){!a&&!isNaN(d.min)&&(i=Math.min(i,d.min)),!l&&!isNaN(d.max)&&(o=Math.max(o,d.max))}(!a||!l)&&(u(this._getLabelBounds()),(e.bounds!=="ticks"||e.ticks.source!=="labels")&&u(this.getMinMax(!1))),i=Kr(i)&&!isNaN(i)?i:+n.startOf(Date.now(),r),o=Kr(o)&&!isNaN(o)?o:+n.endOf(Date.now(),r)+1,this.min=Math.min(i,o-1),this.max=Math.max(i+1,o)}_getLabelBounds(){const e=this.getLabelTimestamps();let n=Number.POSITIVE_INFINITY,r=Number.NEGATIVE_INFINITY;return e.length&&(n=e[0],r=e[e.length-1]),{min:n,max:r}}buildTicks(){const e=this.options,n=e.time,r=e.ticks,i=r.source==="labels"?this.getLabelTimestamps():this._generate();e.bounds==="ticks"&&i.length&&(this.min=this._userMin||i[0],this.max=this._userMax||i[i.length-1]);const o=this.min,a=this.max,l=U8(i,o,a);return this._unit=n.unit||(r.autoSkip?Px(n.minUnit,this.min,this.max,this._getLabelCapacity(o)):J5(this,l.length,n.minUnit,this.min,this.max)),this._majorUnit=!r.major.enabled||this._unit==="year"?void 0:Z5(this._unit),this.initOffsets(i),e.reverse&&l.reverse(),Tx(this,l,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map(e=>+e.value))}initOffsets(e=[]){let n=0,r=0,i,o;this.options.offset&&e.length&&(i=this.getDecimalForValue(e[0]),e.length===1?n=1-i:n=(this.getDecimalForValue(e[1])-i)/2,o=this.getDecimalForValue(e[e.length-1]),e.length===1?r=o:r=(o-this.getDecimalForValue(e[e.length-2]))/2);const a=e.length<3?.5:.25;n=li(n,0,a),r=li(r,0,a),this._offsets={start:n,end:r,factor:1/(n+1+r)}}_generate(){const e=this._adapter,n=this.min,r=this.max,i=this.options,o=i.time,a=o.unit||Px(o.minUnit,n,r,this._getLabelCapacity(n)),l=Ct(i.ticks.stepSize,1),u=a==="week"?o.isoWeekday:!1,d=Nu(u)||u===!0,p={};let h=n,A,m;if(d&&(h=+e.startOf(h,"isoWeek",u)),h=+e.startOf(h,d?"day":a),e.diff(r,n,a)>1e5*l)throw new Error(n+" and "+r+" are too far apart with stepSize of "+l+" "+a);const b=i.ticks.source==="data"&&this.getDataTimestamps();for(A=h,m=0;A<r;A=+e.add(A,l,a),m++)Dx(p,A,b);return(A===r||i.bounds==="ticks"||m===1)&&Dx(p,A,b),Object.keys(p).sort(Ex).map(w=>+w)}getLabelForValue(e){const n=this._adapter,r=this.options.time;return r.tooltipFormat?n.format(e,r.tooltipFormat):n.format(e,r.displayFormats.datetime)}format(e,n){const i=this.options.time.displayFormats,o=this._unit,a=n||i[o];return this._adapter.format(e,a)}_tickFormatFunction(e,n,r,i){const o=this.options,a=o.ticks.callback;if(a)return Ht(a,[e,n,r],this);const l=o.time.displayFormats,u=this._unit,d=this._majorUnit,p=u&&l[u],h=d&&l[d],A=r[n],m=d&&h&&A&&A.major;return this._adapter.format(e,i||(m?h:p))}generateTickLabels(e){let n,r,i;for(n=0,r=e.length;n<r;++n)i=e[n],i.label=this._tickFormatFunction(i.value,n,e)}getDecimalForValue(e){return e===null?NaN:(e-this.min)/(this.max-this.min)}getPixelForValue(e){const n=this._offsets,r=this.getDecimalForValue(e);return this.getPixelForDecimal((n.start+r)*n.factor)}getValueForPixel(e){const n=this._offsets,r=this.getDecimalForPixel(e)/n.factor-n.end;return this.min+r*(this.max-this.min)}_getLabelSize(e){const n=this.options.ticks,r=this.ctx.measureText(e).width,i=Li(this.isHorizontal()?n.maxRotation:n.minRotation),o=Math.cos(i),a=Math.sin(i),l=this._resolveTickFontOptions(0).size;return{w:r*o+l*a,h:r*a+l*o}}_getLabelCapacity(e){const n=this.options.time,r=n.displayFormats,i=r[n.unit]||r.millisecond,o=this._tickFormatFunction(e,0,Tx(this,[e],this._majorUnit),i),a=this._getLabelSize(o),l=Math.floor(this.isHorizontal()?this.width/a.w:this.height/a.h)-1;return l>0?l:1}getDataTimestamps(){let e=this._cache.data||[],n,r;if(e.length)return e;const i=this.getMatchingVisibleMetas();if(this._normalized&&i.length)return this._cache.data=i[0].controller.getAllParsedValues(this);for(n=0,r=i.length;n<r;++n)e=e.concat(i[n].controller.getAllParsedValues(this));return this._cache.data=this.normalize(e)}getLabelTimestamps(){const e=this._cache.labels||[];let n,r;if(e.length)return e;const i=this.getLabels();for(n=0,r=i.length;n<r;++n)e.push(Cx(this,i[n]));return this._cache.labels=this._normalized?e:this.normalize(e)}normalize(e){return Gy(e.sort(Ex))}}function nd(t,e,n){let r=0,i=t.length-1,o,a,l,u;n?(e>=t[r].pos&&e<=t[i].pos&&({lo:r,hi:i}=ch(t,"pos",e)),{pos:o,time:l}=t[r],{pos:a,time:u}=t[i]):(e>=t[r].time&&e<=t[i].time&&({lo:r,hi:i}=ch(t,"time",e)),{time:o,pos:l}=t[r],{time:a,pos:u}=t[i]);const d=a-o;return d?l+(u-l)*(e-o)/d:l}class eO extends Bx{static id="timeseries";static defaults=Bx.defaults;constructor(e){super(e),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const e=this._getTimestampsForTable(),n=this._table=this.buildLookupTable(e);this._minPos=nd(n,this.min),this._tableRange=nd(n,this.max)-this._minPos,super.initOffsets(e)}buildLookupTable(e){const{min:n,max:r}=this,i=[],o=[];let a,l,u,d,p;for(a=0,l=e.length;a<l;++a)d=e[a],d>=n&&d<=r&&i.push(d);if(i.length<2)return[{time:n,pos:0},{time:r,pos:1}];for(a=0,l=i.length;a<l;++a)p=i[a+1],u=i[a-1],d=i[a],Math.round((p+u)/2)!==d&&o.push({time:d,pos:a/(l-1)});return o}_generate(){const e=this.min,n=this.max;let r=super.getDataTimestamps();return(!r.includes(e)||!r.length)&&r.splice(0,0,e),(!r.includes(n)||r.length===1)&&r.push(n),r.sort((i,o)=>i-o)}_getTimestampsForTable(){let e=this._cache.all||[];if(e.length)return e;const n=this.getDataTimestamps(),r=this.getLabelTimestamps();return n.length&&r.length?e=this.normalize(n.concat(r)):e=n.length?n:r,e=this._cache.all=e,e}getDecimalForValue(e){return(nd(this._table,e)-this._minPos)/this._tableRange}getValueForPixel(e){const n=this._offsets,r=this.getDecimalForPixel(e)/n.factor-n.end;return nd(this._table,r*this._tableRange+this._minPos,!0)}}_h.register(P5,nI,b5,q5,X5,M5,R5,U5);function eM({type:t="bar",data:e,options:n}){const r=T.useRef(null),i=T.useRef(null);return T.useLayoutEffect(()=>{i.current&&(r.current?(r.current.options=n,r.current.data=e,r.current.update()):r.current=new _h(i.current,{type:t,data:e,options:n}))},[t,e,n]),E.jsx("div",{className:"chart",children:E.jsx("canvas",{ref:i})})}const _x=["--teal-700","--yellow-400","--teal-400","--orange-400","--green-400","--red-400"],Rh=["0 - 1s","1 - 30s","30s - 30min","30 - 60min","1 - 5hr","5 - 10hr","10 - 18hr","18+hr"],Lh=(t,e,n=0)=>`${t.toFixed(n)} ${e}${t==1?"":"s"}`,Ix=t=>{const e=t/3600;if(e>=1)return Lh(e,"hour",1);const n=t/60;return n>=1?Lh(n,"minute",0):Lh(t,"second",0)},rd=t=>t.replace(/ \([^)]+\)/,"");function tM({infoGroupId:t}){const[e,n]=T.useState("overview"),r=gk(t).filter(d=>d.cider_type=="Compute"),i=Xn(r.length?r.map(d=>`https://rest-test.ccr.xdmod.org/rest/v0.1/custom_queries/wait_times/${d.info_resourceid}/`):null,{defaultValue:[]}),o=Xn(e!=="overview"?`https://rest-test.ccr.xdmod.org/rest/v0.1/custom_queries/wait_times/${e}/queue/job_walltime`:null);if(!i.length||!r.length)return;const a=i.map((d,p)=>d.error?d:{...d.data[0],...r[p]}).filter(d=>!d.error);if(!a.length)return;const l=[E.jsxs("select",{value:e,onChange:d=>n(d.target.value),children:[E.jsx("option",{value:"overview",children:"Overview"},"overview"),a.map(d=>E.jsx("option",{value:d.info_resourceid,children:rd(d.resource_descriptive_name)},d.info_resourceid))]},"select")];let u=null;if(e==="overview")u=E.jsx("div",{className:"cards",children:a.map(({info_resourceid:d,job_count:p,median_expansion_factor:h,median_wait_time:A,median_wall_time:m,resource_descriptive_name:b})=>E.jsxs("p",{className:"card metrics-overview",children:[E.jsxs("b",{children:[rd(b),":"]})," Users ran"," ",E.jsxs("strong",{children:[E.jsx(kt,{name:"file-earmark-code"}),parseInt(p).toLocaleString("en-us")," jobs"]})," ","during the last 30 days. Waiting in the queue caused an average"," ",E.jsxs("strong",{children:[E.jsx(kt,{name:"calculator"}),((h-1)*100).toLocaleString("en-us",{maximumFractionDigits:0}),"% increase"]})," ","in the total completion time. The average job waited for"," ",E.jsxs("strong",{children:[E.jsx(kt,{name:"hourglass-split"})," ",Ix(A)]})," ","and ran for"," ",E.jsxs("strong",{children:[E.jsx(kt,{name:"stopwatch"}),Ix(m)]}),"."," ",E.jsx("a",{title:`Wait time chart for ${rd(b)}`,href:"#",onClick:w=>{w.preventDefault(),n(d)},children:"View chart »"})]},d))});else if(o&&o.info_resource_id===e){const d={},p=Rh;for(let b of o.data)d[b.queue]=d[b.queue]||{label:b.queue,data:Array(Rh.length).fill(null)},d[b.queue].data[Rh.indexOf(b.job_walltime)]=b.median_wait_time/60;const h=Object.values(d);h.forEach((b,w)=>{let y=_x[w%(_x.length-1)];b.backgroundColor=getComputedStyle(document.body).getPropertyValue(y)});const A=a.find(b=>b.info_resourceid==o.info_resource_id),m={interaction:{intersect:!1,mode:"index"},plugins:{title:{display:!0,text:`Median Wait Time by Queue on ${rd(A.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)"}}}};u=E.jsxs(E.Fragment,{children:[E.jsx(eM,{type:"bar",data:{labels:p,datasets:h},options:m}),E.jsx("p",{children:E.jsx("a",{href:"#",onClick:b=>{b.preventDefault(),n("overview")},children:"« Back to overview"})})]})}return E.jsxs(_i,{title:"Wait Time",icon:"hourglass-split",headerComponents:l,children:[u,E.jsxs("p",{className:"metrics-disclaimer",children:[E.jsx(kt,{name:"info-circle"}),"These metrics describe activity from ACCESS projects. Many resources have additional projects that are not part of ACCESS."]})]})}function fo(t){return Array.isArray?Array.isArray(t):Rx(t)==="[object Array]"}function nM(t){if(typeof t=="string")return t;let e=t+"";return e=="0"&&1/t==-1/0?"-0":e}function rM(t){return t==null?"":nM(t)}function ji(t){return typeof t=="string"}function Mx(t){return typeof t=="number"}function iM(t){return t===!0||t===!1||oM(t)&&Rx(t)=="[object Boolean]"}function Ox(t){return typeof t=="object"}function oM(t){return Ox(t)&&t!==null}function _r(t){return t!=null}function Nh(t){return!t.trim().length}function Rx(t){return t==null?t===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const sM="Incorrect 'index' type",aM=t=>`Invalid value for key ${t}`,lM=t=>`Pattern length exceeds max of ${t}.`,cM=t=>`Missing ${t} property in key`,uM=t=>`Property 'weight' in key '${t}' must be a positive integer`,Lx=Object.prototype.hasOwnProperty;class dM{constructor(e){this._keys=[],this._keyMap={};let n=0;e.forEach(r=>{let i=Nx(r);this._keys.push(i),this._keyMap[i.id]=i,n+=i.weight}),this._keys.forEach(r=>{r.weight/=n})}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function Nx(t){let e=null,n=null,r=null,i=1,o=null;if(ji(t)||fo(t))r=t,e=Fx(t),n=Fh(t);else{if(!Lx.call(t,"name"))throw new Error(cM("name"));const a=t.name;if(r=a,Lx.call(t,"weight")&&(i=t.weight,i<=0))throw new Error(uM(a));e=Fx(a),n=Fh(a),o=t.getFn}return{path:e,id:n,weight:i,src:r,getFn:o}}function Fx(t){return fo(t)?t:t.split(".")}function Fh(t){return fo(t)?t.join("."):t}function fM(t,e){let n=[],r=!1;const i=(o,a,l)=>{if(_r(o))if(!a[l])n.push(o);else{let u=a[l];const d=o[u];if(!_r(d))return;if(l===a.length-1&&(ji(d)||Mx(d)||iM(d)))n.push(rM(d));else if(fo(d)){r=!0;for(let p=0,h=d.length;p<h;p+=1)i(d[p],a,l+1)}else a.length&&i(d,a,l+1)}};return i(t,ji(e)?e.split("."):e,0),r?n:n[0]}var rt={...{isCaseSensitive:!1,ignoreDiacritics:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(t,e)=>t.score===e.score?t.idx<e.idx?-1:1:t.score<e.score?-1:1},...{includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},...{location:0,threshold:.6,distance:100},...{useExtendedSearch:!1,getFn:fM,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1}};const pM=/[^ ]+/g;function hM(t=1,e=3){const n=new Map,r=Math.pow(10,e);return{get(i){const o=i.match(pM).length;if(n.has(o))return n.get(o);const a=1/Math.pow(o,.5*t),l=parseFloat(Math.round(a*r)/r);return n.set(o,l),l},clear(){n.clear()}}}class jh{constructor({getFn:e=rt.getFn,fieldNormWeight:n=rt.fieldNormWeight}={}){this.norm=hM(n,3),this.getFn=e,this.isCreated=!1,this.setIndexRecords()}setSources(e=[]){this.docs=e}setIndexRecords(e=[]){this.records=e}setKeys(e=[]){this.keys=e,this._keysMap={},e.forEach((n,r)=>{this._keysMap[n.id]=r})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,ji(this.docs[0])?this.docs.forEach((e,n)=>{this._addString(e,n)}):this.docs.forEach((e,n)=>{this._addObject(e,n)}),this.norm.clear())}add(e){const n=this.size();ji(e)?this._addString(e,n):this._addObject(e,n)}removeAt(e){this.records.splice(e,1);for(let n=e,r=this.size();n<r;n+=1)this.records[n].i-=1}getValueForItemAtKeyId(e,n){return e[this._keysMap[n]]}size(){return this.records.length}_addString(e,n){if(!_r(e)||Nh(e))return;let r={v:e,i:n,n:this.norm.get(e)};this.records.push(r)}_addObject(e,n){let r={i:n,$:{}};this.keys.forEach((i,o)=>{let a=i.getFn?i.getFn(e):this.getFn(e,i.path);if(_r(a)){if(fo(a)){let l=[];const u=[{nestedArrIndex:-1,value:a}];for(;u.length;){const{nestedArrIndex:d,value:p}=u.pop();if(_r(p))if(ji(p)&&!Nh(p)){let h={v:p,i:d,n:this.norm.get(p)};l.push(h)}else fo(p)&&p.forEach((h,A)=>{u.push({nestedArrIndex:A,value:h})})}r.$[o]=l}else if(ji(a)&&!Nh(a)){let l={v:a,n:this.norm.get(a)};r.$[o]=l}}}),this.records.push(r)}toJSON(){return{keys:this.keys,records:this.records}}}function jx(t,e,{getFn:n=rt.getFn,fieldNormWeight:r=rt.fieldNormWeight}={}){const i=new jh({getFn:n,fieldNormWeight:r});return i.setKeys(t.map(Nx)),i.setSources(e),i.create(),i}function AM(t,{getFn:e=rt.getFn,fieldNormWeight:n=rt.fieldNormWeight}={}){const{keys:r,records:i}=t,o=new jh({getFn:e,fieldNormWeight:n});return o.setKeys(r),o.setIndexRecords(i),o}function id(t,{errors:e=0,currentLocation:n=0,expectedLocation:r=0,distance:i=rt.distance,ignoreLocation:o=rt.ignoreLocation}={}){const a=e/t.length;if(o)return a;const l=Math.abs(r-n);return i?a+l/i:l?1:a}function gM(t=[],e=rt.minMatchCharLength){let n=[],r=-1,i=-1,o=0;for(let a=t.length;o<a;o+=1){let l=t[o];l&&r===-1?r=o:!l&&r!==-1&&(i=o-1,i-r+1>=e&&n.push([r,i]),r=-1)}return t[o-1]&&o-r>=e&&n.push([r,o-1]),n}const Bs=32;function mM(t,e,n,{location:r=rt.location,distance:i=rt.distance,threshold:o=rt.threshold,findAllMatches:a=rt.findAllMatches,minMatchCharLength:l=rt.minMatchCharLength,includeMatches:u=rt.includeMatches,ignoreLocation:d=rt.ignoreLocation}={}){if(e.length>Bs)throw new Error(lM(Bs));const p=e.length,h=t.length,A=Math.max(0,Math.min(r,h));let m=o,b=A;const w=l>1||u,y=w?Array(h):[];let P;for(;(P=t.indexOf(e,b))>-1;){let z=id(e,{currentLocation:P,expectedLocation:A,distance:i,ignoreLocation:d});if(m=Math.min(z,m),b=P+p,w){let V=0;for(;V<p;)y[P+V]=1,V+=1}}b=-1;let M=[],D=1,C=p+h;const j=1<<p-1;for(let z=0;z<p;z+=1){let V=0,K=C;for(;V<K;)id(e,{errors:z,currentLocation:A+K,expectedLocation:A,distance:i,ignoreLocation:d})<=m?V=K:C=K,K=Math.floor((C-V)/2+V);C=K;let q=Math.max(1,A-K+1),Z=a?h:Math.min(A+K,h)+p,W=Array(Z+2);W[Z+1]=(1<<z)-1;for(let ue=Z;ue>=q;ue-=1){let te=ue-1,pe=n[t.charAt(te)];if(w&&(y[te]=+!!pe),W[ue]=(W[ue+1]<<1|1)&pe,z&&(W[ue]|=(M[ue+1]|M[ue])<<1|1|M[ue+1]),W[ue]&j&&(D=id(e,{errors:z,currentLocation:te,expectedLocation:A,distance:i,ignoreLocation:d}),D<=m)){if(m=D,b=te,b<=A)break;q=Math.max(1,2*A-b)}}if(id(e,{errors:z+1,currentLocation:A,expectedLocation:A,distance:i,ignoreLocation:d})>m)break;M=W}const R={isMatch:b>=0,score:Math.max(.001,D)};if(w){const z=gM(y,l);z.length?u&&(R.indices=z):R.isMatch=!1}return R}function vM(t){let e={};for(let n=0,r=t.length;n<r;n+=1){const i=t.charAt(n);e[i]=(e[i]||0)|1<<r-n-1}return e}const od=String.prototype.normalize?(t=>t.normalize("NFD").replace(/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F]/g,"")):(t=>t);class zx{constructor(e,{location:n=rt.location,threshold:r=rt.threshold,distance:i=rt.distance,includeMatches:o=rt.includeMatches,findAllMatches:a=rt.findAllMatches,minMatchCharLength:l=rt.minMatchCharLength,isCaseSensitive:u=rt.isCaseSensitive,ignoreDiacritics:d=rt.ignoreDiacritics,ignoreLocation:p=rt.ignoreLocation}={}){if(this.options={location:n,threshold:r,distance:i,includeMatches:o,findAllMatches:a,minMatchCharLength:l,isCaseSensitive:u,ignoreDiacritics:d,ignoreLocation:p},e=u?e:e.toLowerCase(),e=d?od(e):e,this.pattern=e,this.chunks=[],!this.pattern.length)return;const h=(m,b)=>{this.chunks.push({pattern:m,alphabet:vM(m),startIndex:b})},A=this.pattern.length;if(A>Bs){let m=0;const b=A%Bs,w=A-b;for(;m<w;)h(this.pattern.substr(m,Bs),m),m+=Bs;if(b){const y=A-Bs;h(this.pattern.substr(y),y)}}else h(this.pattern,0)}searchIn(e){const{isCaseSensitive:n,ignoreDiacritics:r,includeMatches:i}=this.options;if(e=n?e:e.toLowerCase(),e=r?od(e):e,this.pattern===e){let w={isMatch:!0,score:0};return i&&(w.indices=[[0,e.length-1]]),w}const{location:o,distance:a,threshold:l,findAllMatches:u,minMatchCharLength:d,ignoreLocation:p}=this.options;let h=[],A=0,m=!1;this.chunks.forEach(({pattern:w,alphabet:y,startIndex:P})=>{const{isMatch:M,score:D,indices:C}=mM(e,w,y,{location:o+P,distance:a,threshold:l,findAllMatches:u,minMatchCharLength:d,includeMatches:i,ignoreLocation:p});M&&(m=!0),A+=D,M&&C&&(h=[...h,...C])});let b={isMatch:m,score:m?A/this.chunks.length:1};return m&&i&&(b.indices=h),b}}class Wo{constructor(e){this.pattern=e}static isMultiMatch(e){return Qx(e,this.multiRegex)}static isSingleMatch(e){return Qx(e,this.singleRegex)}search(){}}function Qx(t,e){const n=t.match(e);return n?n[1]:null}class yM extends Wo{constructor(e){super(e)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){const n=e===this.pattern;return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class bM extends Wo{constructor(e){super(e)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){const r=e.indexOf(this.pattern)===-1;return{isMatch:r,score:r?0:1,indices:[0,e.length-1]}}}class xM extends Wo{constructor(e){super(e)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){const n=e.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class wM extends Wo{constructor(e){super(e)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){const n=!e.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,e.length-1]}}}class kM extends Wo{constructor(e){super(e)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){const n=e.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[e.length-this.pattern.length,e.length-1]}}}class SM extends Wo{constructor(e){super(e)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){const n=!e.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,e.length-1]}}}class Hx extends Wo{constructor(e,{location:n=rt.location,threshold:r=rt.threshold,distance:i=rt.distance,includeMatches:o=rt.includeMatches,findAllMatches:a=rt.findAllMatches,minMatchCharLength:l=rt.minMatchCharLength,isCaseSensitive:u=rt.isCaseSensitive,ignoreDiacritics:d=rt.ignoreDiacritics,ignoreLocation:p=rt.ignoreLocation}={}){super(e),this._bitapSearch=new zx(e,{location:n,threshold:r,distance:i,includeMatches:o,findAllMatches:a,minMatchCharLength:l,isCaseSensitive:u,ignoreDiacritics:d,ignoreLocation:p})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class Ux extends Wo{constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let n=0,r;const i=[],o=this.pattern.length;for(;(r=e.indexOf(this.pattern,n))>-1;)n=r+o,i.push([r,n-1]);const a=!!i.length;return{isMatch:a,score:a?0:1,indices:i}}}const zh=[yM,Ux,xM,wM,SM,kM,bM,Hx],Vx=zh.length,EM=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,CM="|";function PM(t,e={}){return t.split(CM).map(n=>{let r=n.trim().split(EM).filter(o=>o&&!!o.trim()),i=[];for(let o=0,a=r.length;o<a;o+=1){const l=r[o];let u=!1,d=-1;for(;!u&&++d<Vx;){const p=zh[d];let h=p.isMultiMatch(l);h&&(i.push(new p(h,e)),u=!0)}if(!u)for(d=-1;++d<Vx;){const p=zh[d];let h=p.isSingleMatch(l);if(h){i.push(new p(h,e));break}}}return i})}const DM=new Set([Hx.type,Ux.type]);class TM{constructor(e,{isCaseSensitive:n=rt.isCaseSensitive,ignoreDiacritics:r=rt.ignoreDiacritics,includeMatches:i=rt.includeMatches,minMatchCharLength:o=rt.minMatchCharLength,ignoreLocation:a=rt.ignoreLocation,findAllMatches:l=rt.findAllMatches,location:u=rt.location,threshold:d=rt.threshold,distance:p=rt.distance}={}){this.query=null,this.options={isCaseSensitive:n,ignoreDiacritics:r,includeMatches:i,minMatchCharLength:o,findAllMatches:l,ignoreLocation:a,location:u,threshold:d,distance:p},e=n?e:e.toLowerCase(),e=r?od(e):e,this.pattern=e,this.query=PM(this.pattern,this.options)}static condition(e,n){return n.useExtendedSearch}searchIn(e){const n=this.query;if(!n)return{isMatch:!1,score:1};const{includeMatches:r,isCaseSensitive:i,ignoreDiacritics:o}=this.options;e=i?e:e.toLowerCase(),e=o?od(e):e;let a=0,l=[],u=0;for(let d=0,p=n.length;d<p;d+=1){const h=n[d];l.length=0,a=0;for(let A=0,m=h.length;A<m;A+=1){const b=h[A],{isMatch:w,indices:y,score:P}=b.search(e);if(w){if(a+=1,u+=P,r){const M=b.constructor.type;DM.has(M)?l=[...l,...y]:l.push(y)}}else{u=0,a=0,l.length=0;break}}if(a){let A={isMatch:!0,score:u/a};return r&&(A.indices=l),A}}return{isMatch:!1,score:1}}}const Qh=[];function BM(...t){Qh.push(...t)}function Hh(t,e){for(let n=0,r=Qh.length;n<r;n+=1){let i=Qh[n];if(i.condition(t,e))return new i(t,e)}return new zx(t,e)}const sd={AND:"$and",OR:"$or"},Uh={PATH:"$path",PATTERN:"$val"},Vh=t=>!!(t[sd.AND]||t[sd.OR]),_M=t=>!!t[Uh.PATH],IM=t=>!fo(t)&&Ox(t)&&!Vh(t),Wx=t=>({[sd.AND]:Object.keys(t).map(e=>({[e]:t[e]}))});function Yx(t,e,{auto:n=!0}={}){const r=i=>{let o=Object.keys(i);const a=_M(i);if(!a&&o.length>1&&!Vh(i))return r(Wx(i));if(IM(i)){const u=a?i[Uh.PATH]:o[0],d=a?i[Uh.PATTERN]:i[u];if(!ji(d))throw new Error(aM(u));const p={keyId:Fh(u),pattern:d};return n&&(p.searcher=Hh(d,e)),p}let l={children:[],operator:o[0]};return o.forEach(u=>{const d=i[u];fo(d)&&d.forEach(p=>{l.children.push(r(p))})}),l};return Vh(t)||(t=Wx(t)),r(t)}function MM(t,{ignoreFieldNorm:e=rt.ignoreFieldNorm}){t.forEach(n=>{let r=1;n.matches.forEach(({key:i,norm:o,score:a})=>{const l=i?i.weight:null;r*=Math.pow(a===0&&l?Number.EPSILON:a,(l||1)*(e?1:o))}),n.score=r})}function OM(t,e){const n=t.matches;e.matches=[],_r(n)&&n.forEach(r=>{if(!_r(r.indices)||!r.indices.length)return;const{indices:i,value:o}=r;let a={indices:i,value:o};r.key&&(a.key=r.key.src),r.idx>-1&&(a.refIndex=r.idx),e.matches.push(a)})}function RM(t,e){e.score=t.score}function LM(t,e,{includeMatches:n=rt.includeMatches,includeScore:r=rt.includeScore}={}){const i=[];return n&&i.push(OM),r&&i.push(RM),t.map(o=>{const{idx:a}=o,l={item:e[a],refIndex:a};return i.length&&i.forEach(u=>{u(o,l)}),l})}class Ca{constructor(e,n={},r){this.options={...rt,...n},this.options.useExtendedSearch,this._keyStore=new dM(this.options.keys),this.setCollection(e,r)}setCollection(e,n){if(this._docs=e,n&&!(n instanceof jh))throw new Error(sM);this._myIndex=n||jx(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){_r(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=()=>!1){const n=[];for(let r=0,i=this._docs.length;r<i;r+=1){const o=this._docs[r];e(o,r)&&(this.removeAt(r),r-=1,i-=1,n.push(o))}return n}removeAt(e){this._docs.splice(e,1),this._myIndex.removeAt(e)}getIndex(){return this._myIndex}search(e,{limit:n=-1}={}){const{includeMatches:r,includeScore:i,shouldSort:o,sortFn:a,ignoreFieldNorm:l}=this.options;let u=ji(e)?ji(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return MM(u,{ignoreFieldNorm:l}),o&&u.sort(a),Mx(n)&&n>-1&&(u=u.slice(0,n)),LM(u,this._docs,{includeMatches:r,includeScore:i})}_searchStringList(e){const n=Hh(e,this.options),{records:r}=this._myIndex,i=[];return r.forEach(({v:o,i:a,n:l})=>{if(!_r(o))return;const{isMatch:u,score:d,indices:p}=n.searchIn(o);u&&i.push({item:o,idx:a,matches:[{score:d,value:o,norm:l,indices:p}]})}),i}_searchLogical(e){const n=Yx(e,this.options),r=(l,u,d)=>{if(!l.children){const{keyId:h,searcher:A}=l,m=this._findMatches({key:this._keyStore.get(h),value:this._myIndex.getValueForItemAtKeyId(u,h),searcher:A});return m&&m.length?[{idx:d,item:u,matches:m}]:[]}const p=[];for(let h=0,A=l.children.length;h<A;h+=1){const m=l.children[h],b=r(m,u,d);if(b.length)p.push(...b);else if(l.operator===sd.AND)return[]}return p},i=this._myIndex.records,o={},a=[];return i.forEach(({$:l,i:u})=>{if(_r(l)){let d=r(n,l,u);d.length&&(o[u]||(o[u]={idx:u,item:l,matches:[]},a.push(o[u])),d.forEach(({matches:p})=>{o[u].matches.push(...p)}))}}),a}_searchObjectList(e){const n=Hh(e,this.options),{keys:r,records:i}=this._myIndex,o=[];return i.forEach(({$:a,i:l})=>{if(!_r(a))return;let u=[];r.forEach((d,p)=>{u.push(...this._findMatches({key:d,value:a[p],searcher:n}))}),u.length&&o.push({idx:l,item:a,matches:u})}),o}_findMatches({key:e,value:n,searcher:r}){if(!_r(n))return[];let i=[];if(fo(n))n.forEach(({v:o,i:a,n:l})=>{if(!_r(o))return;const{isMatch:u,score:d,indices:p}=r.searchIn(o);u&&i.push({score:d,key:e,value:o,idx:a,norm:l,indices:p})});else{const{v:o,n:a}=n,{isMatch:l,score:u,indices:d}=r.searchIn(o);l&&i.push({score:u,key:e,value:o,norm:a,indices:d})}return i}}Ca.version="7.1.0",Ca.createIndex=jx,Ca.parseIndex=AM,Ca.config=rt,Ca.parseQuery=Yx,BM(TM);function NM({highlight:t,text:e}){if(!t||!t.length)return e;const n=new RegExp(t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"gi"),r=[...e.matchAll(n)];if(!r.length)return e;const i=[];let o=0;for(let a of r)a.index>o&&i.push(e.substr(o,a.index)),i.push(E.jsx("span",{className:"highlight",children:a[0]})),o=a.index+a[0].length;return i.push(e.substr(o)),i}function FM({delay:t=300,placeholder:e,setSearchText:n,width:r="calc(var(--width) / 4)"}){const i=T.useRef(null),o=T.useRef(null),[a,l]=T.useState(""),u=()=>{l(""),n(""),i.current.value="",i.current.focus()};return T.useLayoutEffect(()=>{i.current&&i.current.addEventListener("keyup",()=>{o.current&&clearTimeout(o.current),o.current=setTimeout(()=>{o.current=null,n(i.current.value),l(i.current.value)},t)})},[i.current]),E.jsx(E.Fragment,{children:E.jsxs("div",{className:"search",children:[E.jsx("input",{placeholder:e,style:{width:r},ref:i}),a.length?E.jsx("button",{className:"btn btn-clear",title:"Clear search",onClick:u,children:E.jsx(kt,{name:"x-lg"})}):null]})})}const jM=["software_name","software_description","software_web_page","software_documentation","software_use_link","software_versions"];function zM({infoGroupId:t}){const e=Xn("https://sds-ara-api.access-ci.org/api/v1",{body:JSON.stringify({rps:[t],columns:jM}),headers:{"Content-Type":"application/json","X-API-Key":"asSuQQ0IfIEUrSRTl44aqn2ZpMPpJ_G02BgemAY4WN0"},method:"POST"}),[n,r]=T.useState(""),i=T.useMemo(()=>e?.data&&e.data.length?new Ca(e.data,{keys:[{name:"software_name",weight:.6},{name:"software_description",weight:.4}]}):null,[e?.data]);if(!e?.data||!e.data.length)return;const o=A=>E.jsx(NM,{text:A,highlight:n}),d=[{key:"software_name",name:"Package",format:(A,m)=>{const b=o(A),w=m.software_web_page||m.software_documentation,y=m.software_use_link&&m.software_use_link.length?m.software_use_link[0]:"";return E.jsxs("span",{style:{lineHeight:1.3},children:[w?E.jsx("a",{href:w,children:b},"name"):b," ",m.software_documentation&&E.jsx("a",{href:m.software_documentation,title:`Documentation for ${A}`,children:E.jsx(kt,{name:"book"})},"documentation")," ",y&&y!=m.software_documentation&&E.jsx("a",{href:y,title:`Usage example for ${A}`,children:E.jsx(kt,{name:"terminal"})},"use")]})}},{key:"software_versions",name:"Versions",format:(A,m)=>m.rps[t].software_versions.join(", ")},{key:"software_description",name:"Description",format:(A,m)=>{const b=/Description Source:[ ]+(http[^ ]+)/,w=A.match(b);return E.jsxs(E.Fragment,{children:[o(A.replace(b,""))," ",w?E.jsx("a",{href:w[1],title:`Description source for ${m.software_name}`,children:E.jsx(kt,{name:"info-circle"})}):null]})}}],p=n.length?i.search(n).map(A=>A.item):e.data,h=[E.jsx(FM,{placeholder:"Search software packages...",setSearchText:r},"search")];return E.jsx(_i,{title:"Software",icon:"terminal",headerComponents:h,children:E.jsx(hu,{columns:d,rows:p,scrollResetOnUpdate:!0})})}function QM({prompt:t="Jump To:"}){const[e,n]=T.useState([]),r=T.useRef(null),i=()=>{const a=[];for(let l of r.current.querySelectorAll("[data-section-title]"))a.push({icon:l.dataset.sectionIcon,id:l.id,title:l.dataset.sectionTitle});n(a)},o=a=>{const l=r.current.querySelector(`#${a}`);l&&l.scrollIntoView()};return T.useEffect(()=>{r.current&&(i(),document.addEventListener("accessci-update-sections",i))},[r.current]),E.jsx("div",{ref:a=>r.current=a?.parentElement,children:e.length>=2?E.jsxs("nav",{className:"section-navigation",children:[t?E.jsx("h2",{children:t}):null,E.jsx("ul",{children:e.map(({icon:a,id:l,title:u})=>E.jsx("li",{children:E.jsxs("a",{href:`#${l}`,onClick:d=>{d.preventDefault(),o(l)},children:[a?E.jsxs(E.Fragment,{children:[E.jsx(kt,{name:a})," "]}):null,u]})},l))})]}):null})}function HM({baseUri:t,showBreadcrumbs:e=!0}){const{infoGroupId:n}=l2(),r=al(n),i=[{name:"Resources",href:t}];return r&&i.push({name:r.name}),E.jsxs(E.Fragment,{children:[e&&E.jsx(pf,{expandWidth:!0,items:i,topBorder:!0}),E.jsxs("div",{className:"resource-group-detail",children:[E.jsx(CD,{infoGroupId:n}),E.jsx(QM,{}),E.jsx(pB,{infoGroupId:n}),E.jsx(sB,{infoGroupId:n}),E.jsx(uB,{infoGroupId:n}),E.jsx(ED,{infoGroupId:n}),E.jsx(zM,{infoGroupId:n}),E.jsx(r8,{infoGroupId:n}),E.jsx(tM,{infoGroupId:n}),E.jsx(TD,{infoGroupId:n})]})]})}const UM=Object.freeze(Object.defineProperty({__proto__:null,default:HM},Symbol.toStringTag,{value:"Module"})),VM={"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 qx({active:t,tagCategory:e,tagId:n,iconUri:r,name:i,toggleTag:o}){const a=r||VM[i]||"tag";return E.jsx("li",{className:`tag tag-category-${e.name.toLowerCase().replace(/[^a-z]+/g,"-")}${t.tagIds.has(n)?" active":""}`,children:E.jsxs("button",{href:"#",disabled:t.disabledTagIds.has(n),onClick:l=>{l.preventDefault(),o(n)},children:[a.startsWith("http")?E.jsx(kt,{alt:i,src:a}):E.jsx(kt,{name:a}),i]})})}function Kx({children:t}){return E.jsx("ul",{className:"tags",children:t})}function WM({active:t,baseUri:e,description:n,imageType:r,imageUri:i,name:o,infoGroupId:a,parentInfoGroupId:l,tags:u,toggleTag:d}){const p=`${e}/${l||a}`;return E.jsxs("div",{className:"resource-group",children:[E.jsx("a",{className:`resource-group-image image-type-${r}`,href:p,children:i?E.jsx("img",{src:i}):E.jsx(kt,{name:"motherboard"})}),E.jsxs("div",{className:"resource-group-text",children:[E.jsx("h3",{children:E.jsx("a",{href:p,children:o})}),E.jsx(Kx,{children:u.map(h=>E.jsx(qx,{...h,active:t,toggleTag:d},h.tagId))}),E.jsxs("p",{children:[n&&n,E.jsx("br",{}),E.jsxs("a",{href:p,children:["Learn more about ",o," »"]})]})]})]})}function YM({active:t,baseUri:e,name:n,resourceGroups:r,toggleTag:i}){return E.jsxs(E.Fragment,{children:[E.jsx("h2",{children:n}),r.filter(({infoGroupId:o})=>t.infoGroupIds.has(o)).map(o=>E.jsx(WM,{...o,baseUri:e,active:t,toggleTag:i},o.infoGroupId))]})}function qM({active:t,clearTags:e,tagCategories:n,toggleTag:r}){const[i,o]=T.useState(!1),a=T.useRef(null);return T.useEffect(()=>{const l=()=>o(!1);return document.body.addEventListener("click",l),()=>document.body.removeEventListener("click",l)},[]),E.jsxs("section",{className:"filters-outer",onClick:l=>{l.stopPropagation()},children:[E.jsxs("button",{ref:a,onClick:()=>o(!i),className:`btn-filters btn ${i?"active":""}`,children:[E.jsx(kt,{name:"filter"})," Filters",t.tagIds.size>0?E.jsx("span",{className:"active-tag-count",children:t.tagIds.size}):null]}),i?E.jsxs("div",{className:"filters-inner",children:[n.map(l=>E.jsxs(E.Fragment,{children:[E.jsx("h2",{children:l.name}),E.jsx(Kx,{children:l.tags.map(u=>E.jsx(qx,{...u,active:t,toggleTag:r}))})]})),E.jsxs("button",{onClick:e,disabled:t.tagIds.size==0,className:"btn danger",children:[E.jsx(kt,{name:"trash"})," Clear Filters"]})]}):null]})}function KM({setBotOpen:t}){const e=T.useRef(null),n=[{title:"Browse resources",icon:"filter-square",description:"Filter resources to find the best match for your research.",onClick:r=>{r.preventDefault(),e.current&&e.current.nextSibling.scrollIntoView({bahavior:"smooth"})}},{title:"Ask a question",icon:"question-circle",onClick:r=>{r.preventDefault(),t(!0)},description:"You have resource questions. Our Q&A bot has answers!",login:!0},{title:"Get suggestions",icon:"card-checklist",href:"https://ara.access-ci.org/",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."}];return E.jsxs("section",{id:"resource-pathways",ref:e,children:[E.jsxs("p",{className:"intro",children:["ACCESS provides advanced computing resources ",E.jsx("strong",{children:"at no cost"})," ","to researchers and educators."]}),E.jsx("ul",{className:"resource-pathways",children:n.map(({title:r,icon:i,href:o,description:a,login:l,onClick:u},d)=>E.jsx("li",{className:`resource-pathway-${d}`,children:E.jsxs("a",{href:o||"#",onClick:u,children:[i?E.jsx(kt,{name:i}):null," ",E.jsxs("span",{className:"detail",children:[E.jsx("span",{className:"title",children:r}),E.jsx("span",{className:"description",children:a}),l?E.jsxs("span",{className:"login",children:[E.jsx(kt,{name:"key"})," Requires ACCESS Login"]}):null]})]})},r))})]})}function GM({baseUri:t,title:e,setBotOpen:n,showBreadcrumbs:r=!0,showTitle:i=!0}){const[o,a]=T.useState([]),l=Mg(),u=T.useMemo(()=>l?vk(l,o):null,[l,o]),d=h=>a(o.includes(h)?o.filter(A=>A!=h):[...o,h]),p=()=>a([]);return E.jsxs(E.Fragment,{children:[r&&E.jsx(pf,{expandWidth:!0,items:[{name:"Resources"}],topBorder:!0}),e&&E.jsx("h1",{className:i?"":"visually-hidden",children:e}),E.jsx(KM,{setBotOpen:n}),E.jsxs("div",{id:"browse-resources",children:[u?E.jsx(qM,{tagCategories:l.tagCategories,active:u,clearTags:p,toggleTag:d}):null,l?l.resourceCategories.filter(({resourceCategoryId:h})=>u.resourceCategoryIds.has(h)).map(h=>E.jsx(YM,{...h,active:u,baseUri:t,clearTags:p,toggleTag:d},h.name)):null]})]})}const XM=Object.freeze(Object.defineProperty({__proto__:null,default:GM},Symbol.toStringTag,{value:"Module"}));Tn.breadcrumbs=PS,Tn.footer=DS,Tn.footerMenus=TS,Tn.header=BS,Tn.loginMenuItem=Dg,Tn.myAccessMenuItem=Pg,Tn.qaBot=_S,Tn.resourceCatalog=IS,Tn.siteMenus=MS,Tn.tableOfContents=OS,Tn.universalMenuItems=Cg,Tn.universalMenus=RS,Object.defineProperty(Tn,Symbol.toStringTag,{value:"Module"})}));
|
|
310
|
+
`):t}function L5(t,e){const{element:n,datasetIndex:r,index:i}=e,o=t.getDatasetMeta(r).controller,{label:a,value:l}=o.getLabelAndValue(i);return{chart:t,label:a,parsed:o.getParsed(i),raw:t.data.datasets[r].data[i],formattedValue:l,dataset:o.getDataset(),dataIndex:i,datasetIndex:r,element:n}}function gx(t,e){const n=t.chart.ctx,{body:r,footer:i,title:o}=t,{boxWidth:a,boxHeight:l}=e,u=zn(e.bodyFont),d=zn(e.titleFont),p=zn(e.footerFont),h=o.length,A=i.length,m=r.length,b=Gr(e.padding);let w=b.height,y=0,P=r.reduce((C,j)=>C+j.before.length+j.lines.length+j.after.length,0);if(P+=t.beforeBody.length+t.afterBody.length,h&&(w+=h*d.lineHeight+(h-1)*e.titleSpacing+e.titleMarginBottom),P){const C=e.displayColors?Math.max(l,u.lineHeight):u.lineHeight;w+=m*C+(P-m)*u.lineHeight+(P-1)*e.bodySpacing}A&&(w+=e.footerMarginTop+A*p.lineHeight+(A-1)*e.footerSpacing);let M=0;const D=function(C){y=Math.max(y,n.measureText(C).width+M)};return n.save(),n.font=d.string,Tt(t.title,D),n.font=u.string,Tt(t.beforeBody.concat(t.afterBody),D),M=e.displayColors?a+2+e.boxPadding:0,Tt(r,C=>{Tt(C.before,D),Tt(C.lines,D),Tt(C.after,D)}),M=0,n.font=p.string,Tt(t.footer,D),n.restore(),y+=b.width,{width:y,height:w}}function N5(t,e){const{y:n,height:r}=e;return n<r/2?"top":n>t.height-r/2?"bottom":"center"}function F5(t,e,n,r){const{x:i,width:o}=r,a=n.caretSize+n.caretPadding;if(t==="left"&&i+o+a>e.width||t==="right"&&i-o-a<0)return!0}function j5(t,e,n,r){const{x:i,width:o}=n,{width:a,chartArea:{left:l,right:u}}=t;let d="center";return r==="center"?d=i<=(l+u)/2?"left":"right":i<=o/2?d="left":i>=a-o/2&&(d="right"),F5(d,t,e,n)&&(d="center"),d}function mx(t,e,n){const r=n.yAlign||e.yAlign||N5(t,n);return{xAlign:n.xAlign||e.xAlign||j5(t,e,n,r),yAlign:r}}function z5(t,e){let{x:n,width:r}=t;return e==="right"?n-=r:e==="center"&&(n-=r/2),n}function Q5(t,e,n){let{y:r,height:i}=t;return e==="top"?r+=n:e==="bottom"?r-=i+n:r-=i/2,r}function vx(t,e,n,r){const{caretSize:i,caretPadding:o,cornerRadius:a}=t,{xAlign:l,yAlign:u}=n,d=i+o,{topLeft:p,topRight:h,bottomLeft:A,bottomRight:m}=ba(a);let b=z5(e,l);const w=Q5(e,u,d);return u==="center"?l==="left"?b+=d:l==="right"&&(b-=d):l==="left"?b-=Math.max(p,A)+i:l==="right"&&(b+=Math.max(h,m)+i),{x:li(b,0,r.width-e.width),y:li(w,0,r.height-e.height)}}function ed(t,e,n){const r=Gr(n.padding);return e==="center"?t.x+t.width/2:e==="right"?t.x+t.width-r.right:t.x+r.left}function yx(t){return Fi([],uo(t))}function H5(t,e,n){return xa(t,{tooltip:e,tooltipItems:n,type:"tooltip"})}function bx(t,e){const n=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return n?t.override(n):t}const xx={beforeTitle:lo,title(t){if(t.length>0){const e=t[0],n=e.chart.data.labels,r=n?n.length:0;if(this&&this.options&&this.options.mode==="dataset")return e.dataset.label||"";if(e.label)return e.label;if(r>0&&e.dataIndex<r)return n[e.dataIndex]}return""},afterTitle:lo,beforeBody:lo,beforeLabel:lo,label(t){if(this&&this.options&&this.options.mode==="dataset")return t.label+": "+t.formattedValue||t.formattedValue;let e=t.dataset.label||"";e&&(e+=": ");const n=t.formattedValue;return Ot(n)||(e+=n),e},labelColor(t){const n=t.chart.getDatasetMeta(t.datasetIndex).controller.getStyle(t.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(t){const n=t.chart.getDatasetMeta(t.datasetIndex).controller.getStyle(t.dataIndex);return{pointStyle:n.pointStyle,rotation:n.rotation}},afterLabel:lo,afterBody:lo,beforeFooter:lo,footer:lo,afterFooter:lo};function lr(t,e,n,r){const i=t[e].call(n,r);return typeof i>"u"?xx[e].call(n,r):i}class wx extends Sa{static positioners=ec;constructor(e){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=e.chart,this.options=e.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(e){this.options=e,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const e=this._cachedAnimations;if(e)return e;const n=this.chart,r=this.options.setContext(this.getContext()),i=r.enabled&&n.options.animation&&r.animations,o=new wb(this.chart,i);return i._cacheable&&(this._cachedAnimations=Object.freeze(o)),o}getContext(){return this.$context||(this.$context=H5(this.chart.getContext(),this,this._tooltipItems))}getTitle(e,n){const{callbacks:r}=n,i=lr(r,"beforeTitle",this,e),o=lr(r,"title",this,e),a=lr(r,"afterTitle",this,e);let l=[];return l=Fi(l,uo(i)),l=Fi(l,uo(o)),l=Fi(l,uo(a)),l}getBeforeBody(e,n){return yx(lr(n.callbacks,"beforeBody",this,e))}getBody(e,n){const{callbacks:r}=n,i=[];return Tt(e,o=>{const a={before:[],lines:[],after:[]},l=bx(r,o);Fi(a.before,uo(lr(l,"beforeLabel",this,o))),Fi(a.lines,lr(l,"label",this,o)),Fi(a.after,uo(lr(l,"afterLabel",this,o))),i.push(a)}),i}getAfterBody(e,n){return yx(lr(n.callbacks,"afterBody",this,e))}getFooter(e,n){const{callbacks:r}=n,i=lr(r,"beforeFooter",this,e),o=lr(r,"footer",this,e),a=lr(r,"afterFooter",this,e);let l=[];return l=Fi(l,uo(i)),l=Fi(l,uo(o)),l=Fi(l,uo(a)),l}_createItems(e){const n=this._active,r=this.chart.data,i=[],o=[],a=[];let l=[],u,d;for(u=0,d=n.length;u<d;++u)l.push(L5(this.chart,n[u]));return e.filter&&(l=l.filter((p,h,A)=>e.filter(p,h,A,r))),e.itemSort&&(l=l.sort((p,h)=>e.itemSort(p,h,r))),Tt(l,p=>{const h=bx(e.callbacks,p);i.push(lr(h,"labelColor",this,p)),o.push(lr(h,"labelPointStyle",this,p)),a.push(lr(h,"labelTextColor",this,p))}),this.labelColors=i,this.labelPointStyles=o,this.labelTextColors=a,this.dataPoints=l,l}update(e,n){const r=this.options.setContext(this.getContext()),i=this._active;let o,a=[];if(!i.length)this.opacity!==0&&(o={opacity:0});else{const l=ec[r.position].call(this,i,this._eventPosition);a=this._createItems(r),this.title=this.getTitle(a,r),this.beforeBody=this.getBeforeBody(a,r),this.body=this.getBody(a,r),this.afterBody=this.getAfterBody(a,r),this.footer=this.getFooter(a,r);const u=this._size=gx(this,r),d=Object.assign({},l,u),p=mx(this.chart,r,d),h=vx(r,d,p,this.chart);this.xAlign=p.xAlign,this.yAlign=p.yAlign,o={opacity:1,x:h.x,y:h.y,width:u.width,height:u.height,caretX:l.x,caretY:l.y}}this._tooltipItems=a,this.$context=void 0,o&&this._resolveAnimations().update(this,o),e&&r.external&&r.external.call(this,{chart:this.chart,tooltip:this,replay:n})}drawCaret(e,n,r,i){const o=this.getCaretPosition(e,r,i);n.lineTo(o.x1,o.y1),n.lineTo(o.x2,o.y2),n.lineTo(o.x3,o.y3)}getCaretPosition(e,n,r){const{xAlign:i,yAlign:o}=this,{caretSize:a,cornerRadius:l}=r,{topLeft:u,topRight:d,bottomLeft:p,bottomRight:h}=ba(l),{x:A,y:m}=e,{width:b,height:w}=n;let y,P,M,D,C,j;return o==="center"?(C=m+w/2,i==="left"?(y=A,P=y-a,D=C+a,j=C-a):(y=A+b,P=y+a,D=C-a,j=C+a),M=y):(i==="left"?P=A+Math.max(u,p)+a:i==="right"?P=A+b-Math.max(d,h)-a:P=this.caretX,o==="top"?(D=m,C=D-a,y=P-a,M=P+a):(D=m+w,C=D+a,y=P+a,M=P-a),j=D),{x1:y,x2:P,x3:M,y1:D,y2:C,y3:j}}drawTitle(e,n,r){const i=this.title,o=i.length;let a,l,u;if(o){const d=ka(r.rtl,this.x,this.width);for(e.x=ed(this,r.titleAlign,r),n.textAlign=d.textAlign(r.titleAlign),n.textBaseline="middle",a=zn(r.titleFont),l=r.titleSpacing,n.fillStyle=r.titleColor,n.font=a.string,u=0;u<o;++u)n.fillText(i[u],d.x(e.x),e.y+a.lineHeight/2),e.y+=a.lineHeight+l,u+1===o&&(e.y+=r.titleMarginBottom-l)}}_drawColorBox(e,n,r,i,o){const a=this.labelColors[r],l=this.labelPointStyles[r],{boxHeight:u,boxWidth:d}=o,p=zn(o.bodyFont),h=ed(this,"left",o),A=i.x(h),m=u<p.lineHeight?(p.lineHeight-u)/2:0,b=n.y+m;if(o.usePointStyle){const w={radius:Math.min(d,u)/2,pointStyle:l.pointStyle,rotation:l.rotation,borderWidth:1},y=i.leftForLtr(A,d)+d/2,P=b+u/2;e.strokeStyle=o.multiKeyBackground,e.fillStyle=o.multiKeyBackground,sb(e,w,y,P),e.strokeStyle=a.borderColor,e.fillStyle=a.backgroundColor,sb(e,w,y,P)}else{e.lineWidth=kt(a.borderWidth)?Math.max(...Object.values(a.borderWidth)):a.borderWidth||1,e.strokeStyle=a.borderColor,e.setLineDash(a.borderDash||[]),e.lineDashOffset=a.borderDashOffset||0;const w=i.leftForLtr(A,d),y=i.leftForLtr(i.xPlus(A,1),d-2),P=ba(a.borderRadius);Object.values(P).some(M=>M!==0)?(e.beginPath(),e.fillStyle=o.multiKeyBackground,zu(e,{x:w,y:b,w:d,h:u,radius:P}),e.fill(),e.stroke(),e.fillStyle=a.backgroundColor,e.beginPath(),zu(e,{x:y,y:b+1,w:d-2,h:u-2,radius:P}),e.fill()):(e.fillStyle=o.multiKeyBackground,e.fillRect(w,b,d,u),e.strokeRect(w,b,d,u),e.fillStyle=a.backgroundColor,e.fillRect(y,b+1,d-2,u-2))}e.fillStyle=this.labelTextColors[r]}drawBody(e,n,r){const{body:i}=this,{bodySpacing:o,bodyAlign:a,displayColors:l,boxHeight:u,boxWidth:d,boxPadding:p}=r,h=zn(r.bodyFont);let A=h.lineHeight,m=0;const b=ka(r.rtl,this.x,this.width),w=function(V){n.fillText(V,b.x(e.x+m),e.y+A/2),e.y+=A+o},y=b.textAlign(a);let P,M,D,C,j,R,z;for(n.textAlign=a,n.textBaseline="middle",n.font=h.string,e.x=ed(this,y,r),n.fillStyle=r.bodyColor,Tt(this.beforeBody,w),m=l&&y!=="right"?a==="center"?d/2+p:d+2+p:0,C=0,R=i.length;C<R;++C){for(P=i[C],M=this.labelTextColors[C],n.fillStyle=M,Tt(P.before,w),D=P.lines,l&&D.length&&(this._drawColorBox(n,e,C,b,r),A=Math.max(h.lineHeight,u)),j=0,z=D.length;j<z;++j)w(D[j]),A=h.lineHeight;Tt(P.after,w)}m=0,A=h.lineHeight,Tt(this.afterBody,w),e.y-=o}drawFooter(e,n,r){const i=this.footer,o=i.length;let a,l;if(o){const u=ka(r.rtl,this.x,this.width);for(e.x=ed(this,r.footerAlign,r),e.y+=r.footerMarginTop,n.textAlign=u.textAlign(r.footerAlign),n.textBaseline="middle",a=zn(r.footerFont),n.fillStyle=r.footerColor,n.font=a.string,l=0;l<o;++l)n.fillText(i[l],u.x(e.x),e.y+a.lineHeight/2),e.y+=a.lineHeight+r.footerSpacing}}drawBackground(e,n,r,i){const{xAlign:o,yAlign:a}=this,{x:l,y:u}=e,{width:d,height:p}=r,{topLeft:h,topRight:A,bottomLeft:m,bottomRight:b}=ba(i.cornerRadius);n.fillStyle=i.backgroundColor,n.strokeStyle=i.borderColor,n.lineWidth=i.borderWidth,n.beginPath(),n.moveTo(l+h,u),a==="top"&&this.drawCaret(e,n,r,i),n.lineTo(l+d-A,u),n.quadraticCurveTo(l+d,u,l+d,u+A),a==="center"&&o==="right"&&this.drawCaret(e,n,r,i),n.lineTo(l+d,u+p-b),n.quadraticCurveTo(l+d,u+p,l+d-b,u+p),a==="bottom"&&this.drawCaret(e,n,r,i),n.lineTo(l+m,u+p),n.quadraticCurveTo(l,u+p,l,u+p-m),a==="center"&&o==="left"&&this.drawCaret(e,n,r,i),n.lineTo(l,u+h),n.quadraticCurveTo(l,u,l+h,u),n.closePath(),n.fill(),i.borderWidth>0&&n.stroke()}_updateAnimationTarget(e){const n=this.chart,r=this.$animations,i=r&&r.x,o=r&&r.y;if(i||o){const a=ec[e.position].call(this,this._active,this._eventPosition);if(!a)return;const l=this._size=gx(this,e),u=Object.assign({},a,this._size),d=mx(n,e,u),p=vx(e,u,d,n);(i._to!==p.x||o._to!==p.y)&&(this.xAlign=d.xAlign,this.yAlign=d.yAlign,this.width=l.width,this.height=l.height,this.caretX=a.x,this.caretY=a.y,this._resolveAnimations().update(this,p))}}_willRender(){return!!this.opacity}draw(e){const n=this.options.setContext(this.getContext());let r=this.opacity;if(!r)return;this._updateAnimationTarget(n);const i={width:this.width,height:this.height},o={x:this.x,y:this.y};r=Math.abs(r)<.001?0:r;const a=Gr(n.padding),l=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;n.enabled&&l&&(e.save(),e.globalAlpha=r,this.drawBackground(o,e,i,n),yb(e,n.textDirection),o.y+=a.top,this.drawTitle(o,e,n),this.drawBody(o,e,n),this.drawFooter(o,e,n),bb(e,n.textDirection),e.restore())}getActiveElements(){return this._active||[]}setActiveElements(e,n){const r=this._active,i=e.map(({datasetIndex:l,index:u})=>{const d=this.chart.getDatasetMeta(l);if(!d)throw new Error("Cannot find a dataset at index "+l);return{datasetIndex:l,element:d.data[u],index:u}}),o=!Mu(r,i),a=this._positionChanged(i,n);(o||a)&&(this._active=i,this._eventPosition=n,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(e,n,r=!0){if(n&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const i=this.options,o=this._active||[],a=this._getActiveElements(e,o,n,r),l=this._positionChanged(a,e),u=n||!Mu(a,o)||l;return u&&(this._active=a,(i.enabled||i.external)&&(this._eventPosition={x:e.x,y:e.y},this.update(!0,n))),u}_getActiveElements(e,n,r,i){const o=this.options;if(e.type==="mouseout")return[];if(!i)return n.filter(l=>this.chart.data.datasets[l.datasetIndex]&&this.chart.getDatasetMeta(l.datasetIndex).controller.getParsed(l.index)!==void 0);const a=this.chart.getElementsAtEventForMode(e,o.mode,o,r);return o.reverse&&a.reverse(),a}_positionChanged(e,n){const{caretX:r,caretY:i,options:o}=this,a=ec[o.position].call(this,e,n);return a!==!1&&(r!==a.x||i!==a.y)}}var U5={id:"tooltip",_element:wx,positioners:ec,afterInit(t,e,n){n&&(t.tooltip=new wx({chart:t,options:n}))},beforeUpdate(t,e,n){t.tooltip&&t.tooltip.initialize(n)},reset(t,e,n){t.tooltip&&t.tooltip.initialize(n)},afterDraw(t){const e=t.tooltip;if(e&&e._willRender()){const n={tooltip:e};if(t.notifyPlugins("beforeTooltipDraw",{...n,cancelable:!0})===!1)return;e.draw(t.ctx),t.notifyPlugins("afterTooltipDraw",n)}},afterEvent(t,e){if(t.tooltip){const n=e.replay;t.tooltip.handleEvent(e.event,n,e.inChartArea)&&(e.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:(t,e)=>e.bodyFont.size,boxWidth:(t,e)=>e.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:xx},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:t=>t!=="filter"&&t!=="itemSort"&&t!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};const V5=(t,e,n,r)=>(typeof e=="string"?(n=t.push(e)-1,r.unshift({index:n,label:e})):isNaN(e)&&(n=null),n);function W5(t,e,n,r){const i=t.indexOf(e);if(i===-1)return V5(t,e,n,r);const o=t.lastIndexOf(e);return i!==o?n:i}const Y5=(t,e)=>t===null?null:li(Math.round(t),0,e);function kx(t){const e=this.getLabels();return t>=0&&t<e.length?e[t]:t}class q5 extends Ea{static id="category";static defaults={ticks:{callback:kx}};constructor(e){super(e),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(e){const n=this._addedLabels;if(n.length){const r=this.getLabels();for(const{index:i,label:o}of n)r[i]===o&&r.splice(i,1);this._addedLabels=[]}super.init(e)}parse(e,n){if(Ot(e))return null;const r=this.getLabels();return n=isFinite(n)&&r[n]===e?n:W5(r,e,Ct(n,e),this._addedLabels),Y5(n,r.length-1)}determineDataLimits(){const{minDefined:e,maxDefined:n}=this.getUserBounds();let{min:r,max:i}=this.getMinMax(!0);this.options.bounds==="ticks"&&(e||(r=0),n||(i=this.getLabels().length-1)),this.min=r,this.max=i}buildTicks(){const e=this.min,n=this.max,r=this.options.offset,i=[];let o=this.getLabels();o=e===0&&n===o.length-1?o:o.slice(e,n+1),this._valueRange=Math.max(o.length-(r?0:1),1),this._startValue=this.min-(r?.5:0);for(let a=e;a<=n;a++)i.push({value:a});return i}getLabelForValue(e){return kx.call(this,e)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(e){return typeof e!="number"&&(e=this.parse(e)),e===null?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getPixelForTick(e){const n=this.ticks;return e<0||e>n.length-1?null:this.getPixelForValue(n[e].value)}getValueForPixel(e){return Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange)}getBasePixel(){return this.bottom}}function K5(t,e){const n=[],{bounds:i,step:o,min:a,max:l,precision:u,count:d,maxTicks:p,maxDigits:h,includeBounds:A}=t,m=o||1,b=p-1,{min:w,max:y}=e,P=!Ot(a),M=!Ot(l),D=!Ot(d),C=(y-w)/(h+1);let j=Wy((y-w)/b/m)*m,R,z,V,K;if(j<1e-14&&!P&&!M)return[{value:w},{value:y}];K=Math.ceil(y/j)-Math.floor(w/j),K>b&&(j=Wy(K*j/b/m)*m),Ot(u)||(R=Math.pow(10,u),j=Math.ceil(j*R)/R),i==="ticks"?(z=Math.floor(w/j)*j,V=Math.ceil(y/j)*j):(z=w,V=y),P&&M&&o&&L8((l-a)/o,j/1e3)?(K=Math.round(Math.min((l-a)/j,p)),j=(l-a)/K,z=a,V=l):D?(z=P?a:z,V=M?l:V,K=d-1,j=(V-z)/K):(K=(V-z)/j,Lu(K,Math.round(K),j/1e3)?K=Math.round(K):K=Math.ceil(K));const q=Math.max(Yy(j),Yy(z));R=Math.pow(10,Ot(u)?q:u),z=Math.round(z*R)/R,V=Math.round(V*R)/R;let Z=0;for(P&&(A&&z!==a?(n.push({value:a}),z<a&&Z++,Lu(Math.round((z+Z*j)*R)/R,a,Sx(a,C,t))&&Z++):z<a&&Z++);Z<K;++Z){const W=Math.round((z+Z*j)*R)/R;if(M&&W>l)break;n.push({value:W})}return M&&A&&V!==l?n.length&&Lu(n[n.length-1].value,l,Sx(l,C,t))?n[n.length-1].value=l:n.push({value:l}):(!M||V===l)&&n.push({value:V}),n}function Sx(t,e,{horizontal:n,minRotation:r}){const i=Li(r),o=(n?Math.sin(i):Math.cos(i))||.001,a=.75*e*(""+t).length;return Math.min(e/o,a)}class G5 extends Ea{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(e,n){return Ot(e)||(typeof e=="number"||e instanceof Number)&&!isFinite(+e)?null:+e}handleTickRangeOptions(){const{beginAtZero:e}=this.options,{minDefined:n,maxDefined:r}=this.getUserBounds();let{min:i,max:o}=this;const a=u=>i=n?i:u,l=u=>o=r?o:u;if(e){const u=Ho(i),d=Ho(o);u<0&&d<0?l(0):u>0&&d>0&&a(0)}if(i===o){let u=o===0?1:Math.abs(o*.05);l(o+u),e||a(i-u)}this.min=i,this.max=o}getTickLimit(){const e=this.options.ticks;let{maxTicksLimit:n,stepSize:r}=e,i;return r?(i=Math.ceil(this.max/r)-Math.floor(this.min/r)+1,i>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${r} would result generating up to ${i} ticks. Limiting to 1000.`),i=1e3)):(i=this.computeTickLimit(),n=n||11),n&&(i=Math.min(n,i)),i}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const e=this.options,n=e.ticks;let r=this.getTickLimit();r=Math.max(2,r);const i={maxTicks:r,bounds:e.bounds,min:e.min,max:e.max,precision:n.precision,step:n.stepSize,count:n.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:n.minRotation||0,includeBounds:n.includeBounds!==!1},o=this._range||this,a=K5(i,o);return e.bounds==="ticks"&&N8(a,this,"value"),e.reverse?(a.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),a}configure(){const e=this.ticks;let n=this.min,r=this.max;if(super.configure(),this.options.offset&&e.length){const i=(r-n)/Math.max(e.length-1,1)/2;n-=i,r+=i}this._startValue=n,this._endValue=r,this._valueRange=r-n}getLabelForValue(e){return ju(e,this.chart.options.locale,this.options.ticks.format)}}class X5 extends G5{static id="linear";static defaults={ticks:{callback:rb.formatters.numeric}};determineDataLimits(){const{min:e,max:n}=this.getMinMax(!0);this.min=Kr(e)?e:0,this.max=Kr(n)?n:1,this.handleTickRangeOptions()}computeTickLimit(){const e=this.isHorizontal(),n=e?this.width:this.height,r=Li(this.options.ticks.minRotation),i=(e?Math.sin(r):Math.cos(r))||.001,o=this._resolveTickFontOptions(0);return Math.ceil(n/Math.min(40,o.lineHeight/i))}getPixelForValue(e){return e===null?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getValueForPixel(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange}}const td={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}},cr=Object.keys(td);function Ex(t,e){return t-e}function Cx(t,e){if(Ot(e))return null;const n=t._adapter,{parser:r,round:i,isoWeekday:o}=t._parseOpts;let a=e;return typeof r=="function"&&(a=r(a)),Kr(a)||(a=typeof r=="string"?n.parse(a,r):n.parse(a)),a===null?null:(i&&(a=i==="week"&&(Nu(o)||o===!0)?n.startOf(a,"isoWeek",o):n.startOf(a,i)),+a)}function Px(t,e,n,r){const i=cr.length;for(let o=cr.indexOf(t);o<i-1;++o){const a=td[cr[o]],l=a.steps?a.steps:Number.MAX_SAFE_INTEGER;if(a.common&&Math.ceil((n-e)/(l*a.size))<=r)return cr[o]}return cr[i-1]}function J5(t,e,n,r,i){for(let o=cr.length-1;o>=cr.indexOf(n);o--){const a=cr[o];if(td[a].common&&t._adapter.diff(i,r,a)>=e-1)return a}return cr[n?cr.indexOf(n):0]}function Z5(t){for(let e=cr.indexOf(t)+1,n=cr.length;e<n;++e)if(td[cr[e]].common)return cr[e]}function Dx(t,e,n){if(!n)t[e]=!0;else if(n.length){const{lo:r,hi:i}=lh(n,e),o=n[r]>=e?n[r]:n[i];t[o]=!0}}function $5(t,e,n,r){const i=t._adapter,o=+i.startOf(e[0].value,r),a=e[e.length-1].value;let l,u;for(l=o;l<=a;l=+i.add(l,1,r))u=n[l],u>=0&&(e[u].major=!0);return e}function Tx(t,e,n){const r=[],i={},o=e.length;let a,l;for(a=0;a<o;++a)l=e[a],i[l]=a,r.push({value:l,major:!1});return o===0||!n?r:$5(t,r,i,n)}class Bx extends Ea{static id="time";static defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}};constructor(e){super(e),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(e,n={}){const r=e.time||(e.time={}),i=this._adapter=new sI._date(e.adapters.date);i.init(n),Hl(r.displayFormats,i.formats()),this._parseOpts={parser:r.parser,round:r.round,isoWeekday:r.isoWeekday},super.init(e),this._normalized=n.normalized}parse(e,n){return e===void 0?null:Cx(this,e)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const e=this.options,n=this._adapter,r=e.time.unit||"day";let{min:i,max:o,minDefined:a,maxDefined:l}=this.getUserBounds();function u(d){!a&&!isNaN(d.min)&&(i=Math.min(i,d.min)),!l&&!isNaN(d.max)&&(o=Math.max(o,d.max))}(!a||!l)&&(u(this._getLabelBounds()),(e.bounds!=="ticks"||e.ticks.source!=="labels")&&u(this.getMinMax(!1))),i=Kr(i)&&!isNaN(i)?i:+n.startOf(Date.now(),r),o=Kr(o)&&!isNaN(o)?o:+n.endOf(Date.now(),r)+1,this.min=Math.min(i,o-1),this.max=Math.max(i+1,o)}_getLabelBounds(){const e=this.getLabelTimestamps();let n=Number.POSITIVE_INFINITY,r=Number.NEGATIVE_INFINITY;return e.length&&(n=e[0],r=e[e.length-1]),{min:n,max:r}}buildTicks(){const e=this.options,n=e.time,r=e.ticks,i=r.source==="labels"?this.getLabelTimestamps():this._generate();e.bounds==="ticks"&&i.length&&(this.min=this._userMin||i[0],this.max=this._userMax||i[i.length-1]);const o=this.min,a=this.max,l=U8(i,o,a);return this._unit=n.unit||(r.autoSkip?Px(n.minUnit,this.min,this.max,this._getLabelCapacity(o)):J5(this,l.length,n.minUnit,this.min,this.max)),this._majorUnit=!r.major.enabled||this._unit==="year"?void 0:Z5(this._unit),this.initOffsets(i),e.reverse&&l.reverse(),Tx(this,l,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map(e=>+e.value))}initOffsets(e=[]){let n=0,r=0,i,o;this.options.offset&&e.length&&(i=this.getDecimalForValue(e[0]),e.length===1?n=1-i:n=(this.getDecimalForValue(e[1])-i)/2,o=this.getDecimalForValue(e[e.length-1]),e.length===1?r=o:r=(o-this.getDecimalForValue(e[e.length-2]))/2);const a=e.length<3?.5:.25;n=li(n,0,a),r=li(r,0,a),this._offsets={start:n,end:r,factor:1/(n+1+r)}}_generate(){const e=this._adapter,n=this.min,r=this.max,i=this.options,o=i.time,a=o.unit||Px(o.minUnit,n,r,this._getLabelCapacity(n)),l=Ct(i.ticks.stepSize,1),u=a==="week"?o.isoWeekday:!1,d=Nu(u)||u===!0,p={};let h=n,A,m;if(d&&(h=+e.startOf(h,"isoWeek",u)),h=+e.startOf(h,d?"day":a),e.diff(r,n,a)>1e5*l)throw new Error(n+" and "+r+" are too far apart with stepSize of "+l+" "+a);const b=i.ticks.source==="data"&&this.getDataTimestamps();for(A=h,m=0;A<r;A=+e.add(A,l,a),m++)Dx(p,A,b);return(A===r||i.bounds==="ticks"||m===1)&&Dx(p,A,b),Object.keys(p).sort(Ex).map(w=>+w)}getLabelForValue(e){const n=this._adapter,r=this.options.time;return r.tooltipFormat?n.format(e,r.tooltipFormat):n.format(e,r.displayFormats.datetime)}format(e,n){const i=this.options.time.displayFormats,o=this._unit,a=n||i[o];return this._adapter.format(e,a)}_tickFormatFunction(e,n,r,i){const o=this.options,a=o.ticks.callback;if(a)return Ht(a,[e,n,r],this);const l=o.time.displayFormats,u=this._unit,d=this._majorUnit,p=u&&l[u],h=d&&l[d],A=r[n],m=d&&h&&A&&A.major;return this._adapter.format(e,i||(m?h:p))}generateTickLabels(e){let n,r,i;for(n=0,r=e.length;n<r;++n)i=e[n],i.label=this._tickFormatFunction(i.value,n,e)}getDecimalForValue(e){return e===null?NaN:(e-this.min)/(this.max-this.min)}getPixelForValue(e){const n=this._offsets,r=this.getDecimalForValue(e);return this.getPixelForDecimal((n.start+r)*n.factor)}getValueForPixel(e){const n=this._offsets,r=this.getDecimalForPixel(e)/n.factor-n.end;return this.min+r*(this.max-this.min)}_getLabelSize(e){const n=this.options.ticks,r=this.ctx.measureText(e).width,i=Li(this.isHorizontal()?n.maxRotation:n.minRotation),o=Math.cos(i),a=Math.sin(i),l=this._resolveTickFontOptions(0).size;return{w:r*o+l*a,h:r*a+l*o}}_getLabelCapacity(e){const n=this.options.time,r=n.displayFormats,i=r[n.unit]||r.millisecond,o=this._tickFormatFunction(e,0,Tx(this,[e],this._majorUnit),i),a=this._getLabelSize(o),l=Math.floor(this.isHorizontal()?this.width/a.w:this.height/a.h)-1;return l>0?l:1}getDataTimestamps(){let e=this._cache.data||[],n,r;if(e.length)return e;const i=this.getMatchingVisibleMetas();if(this._normalized&&i.length)return this._cache.data=i[0].controller.getAllParsedValues(this);for(n=0,r=i.length;n<r;++n)e=e.concat(i[n].controller.getAllParsedValues(this));return this._cache.data=this.normalize(e)}getLabelTimestamps(){const e=this._cache.labels||[];let n,r;if(e.length)return e;const i=this.getLabels();for(n=0,r=i.length;n<r;++n)e.push(Cx(this,i[n]));return this._cache.labels=this._normalized?e:this.normalize(e)}normalize(e){return Gy(e.sort(Ex))}}function nd(t,e,n){let r=0,i=t.length-1,o,a,l,u;n?(e>=t[r].pos&&e<=t[i].pos&&({lo:r,hi:i}=ch(t,"pos",e)),{pos:o,time:l}=t[r],{pos:a,time:u}=t[i]):(e>=t[r].time&&e<=t[i].time&&({lo:r,hi:i}=ch(t,"time",e)),{time:o,pos:l}=t[r],{time:a,pos:u}=t[i]);const d=a-o;return d?l+(u-l)*(e-o)/d:l}class eO extends Bx{static id="timeseries";static defaults=Bx.defaults;constructor(e){super(e),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const e=this._getTimestampsForTable(),n=this._table=this.buildLookupTable(e);this._minPos=nd(n,this.min),this._tableRange=nd(n,this.max)-this._minPos,super.initOffsets(e)}buildLookupTable(e){const{min:n,max:r}=this,i=[],o=[];let a,l,u,d,p;for(a=0,l=e.length;a<l;++a)d=e[a],d>=n&&d<=r&&i.push(d);if(i.length<2)return[{time:n,pos:0},{time:r,pos:1}];for(a=0,l=i.length;a<l;++a)p=i[a+1],u=i[a-1],d=i[a],Math.round((p+u)/2)!==d&&o.push({time:d,pos:a/(l-1)});return o}_generate(){const e=this.min,n=this.max;let r=super.getDataTimestamps();return(!r.includes(e)||!r.length)&&r.splice(0,0,e),(!r.includes(n)||r.length===1)&&r.push(n),r.sort((i,o)=>i-o)}_getTimestampsForTable(){let e=this._cache.all||[];if(e.length)return e;const n=this.getDataTimestamps(),r=this.getLabelTimestamps();return n.length&&r.length?e=this.normalize(n.concat(r)):e=n.length?n:r,e=this._cache.all=e,e}getDecimalForValue(e){return(nd(this._table,e)-this._minPos)/this._tableRange}getValueForPixel(e){const n=this._offsets,r=this.getDecimalForPixel(e)/n.factor-n.end;return nd(this._table,r*this._tableRange+this._minPos,!0)}}_h.register(P5,nI,b5,q5,X5,M5,R5,U5);function eM({type:t="bar",data:e,options:n}){const r=T.useRef(null),i=T.useRef(null);return T.useLayoutEffect(()=>{i.current&&(r.current?(r.current.options=n,r.current.data=e,r.current.update()):r.current=new _h(i.current,{type:t,data:e,options:n}))},[t,e,n]),E.jsx("div",{className:"chart",children:E.jsx("canvas",{ref:i})})}const _x=["--teal-700","--yellow-400","--teal-400","--orange-400","--green-400","--red-400"],Rh=["0 - 1s","1 - 30s","30s - 30min","30 - 60min","1 - 5hr","5 - 10hr","10 - 18hr","18+hr"],Lh=(t,e,n=0)=>`${t.toFixed(n)} ${e}${t==1?"":"s"}`,Ix=t=>{const e=t/3600;if(e>=1)return Lh(e,"hour",1);const n=t/60;return n>=1?Lh(n,"minute",0):Lh(t,"second",0)},rd=t=>t.replace(/ \([^)]+\)/,"");function tM({infoGroupId:t}){const[e,n]=T.useState("overview"),r=gk(t).filter(d=>d.cider_type=="Compute"),i=Xn(r.length?r.map(d=>`https://rest-test.ccr.xdmod.org/rest/v0.1/custom_queries/wait_times/${d.info_resourceid}/`):null,{defaultValue:[]}),o=Xn(e!=="overview"?`https://rest-test.ccr.xdmod.org/rest/v0.1/custom_queries/wait_times/${e}/queue/job_walltime`:null);if(!i.length||!r.length)return;const a=i.map((d,p)=>d.error?d:{...d.data[0],...r[p]}).filter(d=>!d.error);if(!a.length)return;const l=[E.jsxs("select",{value:e,onChange:d=>n(d.target.value),children:[E.jsx("option",{value:"overview",children:"Overview"},"overview"),a.map(d=>E.jsx("option",{value:d.info_resourceid,children:rd(d.resource_descriptive_name)},d.info_resourceid))]},"select")];let u=null;if(e==="overview")u=E.jsx("div",{className:"cards",children:a.map(({info_resourceid:d,job_count:p,median_expansion_factor:h,median_wait_time:A,median_wall_time:m,resource_descriptive_name:b})=>E.jsxs("p",{className:"card metrics-overview",children:[E.jsxs("b",{children:[rd(b),":"]})," Users ran"," ",E.jsxs("strong",{children:[E.jsx(Et,{name:"file-earmark-code"}),parseInt(p).toLocaleString("en-us")," jobs"]})," ","during the last 30 days. Waiting in the queue caused an average"," ",E.jsxs("strong",{children:[E.jsx(Et,{name:"calculator"}),((h-1)*100).toLocaleString("en-us",{maximumFractionDigits:0}),"% increase"]})," ","in the total completion time. The average job waited for"," ",E.jsxs("strong",{children:[E.jsx(Et,{name:"hourglass-split"})," ",Ix(A)]})," ","and ran for"," ",E.jsxs("strong",{children:[E.jsx(Et,{name:"stopwatch"}),Ix(m)]}),"."," ",E.jsx("a",{title:`Wait time chart for ${rd(b)}`,href:"#",onClick:w=>{w.preventDefault(),n(d)},children:"View chart »"})]},d))});else if(o&&o.info_resource_id===e){const d={},p=Rh;for(let b of o.data)d[b.queue]=d[b.queue]||{label:b.queue,data:Array(Rh.length).fill(null)},d[b.queue].data[Rh.indexOf(b.job_walltime)]=b.median_wait_time/60;const h=Object.values(d);h.forEach((b,w)=>{let y=_x[w%(_x.length-1)];b.backgroundColor=getComputedStyle(document.body).getPropertyValue(y)});const A=a.find(b=>b.info_resourceid==o.info_resource_id),m={interaction:{intersect:!1,mode:"index"},plugins:{title:{display:!0,text:`Median Wait Time by Queue on ${rd(A.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)"}}}};u=E.jsxs(E.Fragment,{children:[E.jsx(eM,{type:"bar",data:{labels:p,datasets:h},options:m}),E.jsx("p",{children:E.jsx("a",{href:"#",onClick:b=>{b.preventDefault(),n("overview")},children:"« Back to overview"})})]})}return E.jsxs(_i,{title:"Wait Time",icon:"hourglass-split",headerComponents:l,children:[u,E.jsxs("p",{className:"metrics-disclaimer",children:[E.jsx(Et,{name:"info-circle"}),"These metrics describe activity from ACCESS projects. Many resources have additional projects that are not part of ACCESS."]})]})}function fo(t){return Array.isArray?Array.isArray(t):Rx(t)==="[object Array]"}function nM(t){if(typeof t=="string")return t;let e=t+"";return e=="0"&&1/t==-1/0?"-0":e}function rM(t){return t==null?"":nM(t)}function ji(t){return typeof t=="string"}function Mx(t){return typeof t=="number"}function iM(t){return t===!0||t===!1||oM(t)&&Rx(t)=="[object Boolean]"}function Ox(t){return typeof t=="object"}function oM(t){return Ox(t)&&t!==null}function _r(t){return t!=null}function Nh(t){return!t.trim().length}function Rx(t){return t==null?t===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const sM="Incorrect 'index' type",aM=t=>`Invalid value for key ${t}`,lM=t=>`Pattern length exceeds max of ${t}.`,cM=t=>`Missing ${t} property in key`,uM=t=>`Property 'weight' in key '${t}' must be a positive integer`,Lx=Object.prototype.hasOwnProperty;class dM{constructor(e){this._keys=[],this._keyMap={};let n=0;e.forEach(r=>{let i=Nx(r);this._keys.push(i),this._keyMap[i.id]=i,n+=i.weight}),this._keys.forEach(r=>{r.weight/=n})}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function Nx(t){let e=null,n=null,r=null,i=1,o=null;if(ji(t)||fo(t))r=t,e=Fx(t),n=Fh(t);else{if(!Lx.call(t,"name"))throw new Error(cM("name"));const a=t.name;if(r=a,Lx.call(t,"weight")&&(i=t.weight,i<=0))throw new Error(uM(a));e=Fx(a),n=Fh(a),o=t.getFn}return{path:e,id:n,weight:i,src:r,getFn:o}}function Fx(t){return fo(t)?t:t.split(".")}function Fh(t){return fo(t)?t.join("."):t}function fM(t,e){let n=[],r=!1;const i=(o,a,l)=>{if(_r(o))if(!a[l])n.push(o);else{let u=a[l];const d=o[u];if(!_r(d))return;if(l===a.length-1&&(ji(d)||Mx(d)||iM(d)))n.push(rM(d));else if(fo(d)){r=!0;for(let p=0,h=d.length;p<h;p+=1)i(d[p],a,l+1)}else a.length&&i(d,a,l+1)}};return i(t,ji(e)?e.split("."):e,0),r?n:n[0]}var rt={...{isCaseSensitive:!1,ignoreDiacritics:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(t,e)=>t.score===e.score?t.idx<e.idx?-1:1:t.score<e.score?-1:1},...{includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},...{location:0,threshold:.6,distance:100},...{useExtendedSearch:!1,getFn:fM,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1}};const pM=/[^ ]+/g;function hM(t=1,e=3){const n=new Map,r=Math.pow(10,e);return{get(i){const o=i.match(pM).length;if(n.has(o))return n.get(o);const a=1/Math.pow(o,.5*t),l=parseFloat(Math.round(a*r)/r);return n.set(o,l),l},clear(){n.clear()}}}class jh{constructor({getFn:e=rt.getFn,fieldNormWeight:n=rt.fieldNormWeight}={}){this.norm=hM(n,3),this.getFn=e,this.isCreated=!1,this.setIndexRecords()}setSources(e=[]){this.docs=e}setIndexRecords(e=[]){this.records=e}setKeys(e=[]){this.keys=e,this._keysMap={},e.forEach((n,r)=>{this._keysMap[n.id]=r})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,ji(this.docs[0])?this.docs.forEach((e,n)=>{this._addString(e,n)}):this.docs.forEach((e,n)=>{this._addObject(e,n)}),this.norm.clear())}add(e){const n=this.size();ji(e)?this._addString(e,n):this._addObject(e,n)}removeAt(e){this.records.splice(e,1);for(let n=e,r=this.size();n<r;n+=1)this.records[n].i-=1}getValueForItemAtKeyId(e,n){return e[this._keysMap[n]]}size(){return this.records.length}_addString(e,n){if(!_r(e)||Nh(e))return;let r={v:e,i:n,n:this.norm.get(e)};this.records.push(r)}_addObject(e,n){let r={i:n,$:{}};this.keys.forEach((i,o)=>{let a=i.getFn?i.getFn(e):this.getFn(e,i.path);if(_r(a)){if(fo(a)){let l=[];const u=[{nestedArrIndex:-1,value:a}];for(;u.length;){const{nestedArrIndex:d,value:p}=u.pop();if(_r(p))if(ji(p)&&!Nh(p)){let h={v:p,i:d,n:this.norm.get(p)};l.push(h)}else fo(p)&&p.forEach((h,A)=>{u.push({nestedArrIndex:A,value:h})})}r.$[o]=l}else if(ji(a)&&!Nh(a)){let l={v:a,n:this.norm.get(a)};r.$[o]=l}}}),this.records.push(r)}toJSON(){return{keys:this.keys,records:this.records}}}function jx(t,e,{getFn:n=rt.getFn,fieldNormWeight:r=rt.fieldNormWeight}={}){const i=new jh({getFn:n,fieldNormWeight:r});return i.setKeys(t.map(Nx)),i.setSources(e),i.create(),i}function AM(t,{getFn:e=rt.getFn,fieldNormWeight:n=rt.fieldNormWeight}={}){const{keys:r,records:i}=t,o=new jh({getFn:e,fieldNormWeight:n});return o.setKeys(r),o.setIndexRecords(i),o}function id(t,{errors:e=0,currentLocation:n=0,expectedLocation:r=0,distance:i=rt.distance,ignoreLocation:o=rt.ignoreLocation}={}){const a=e/t.length;if(o)return a;const l=Math.abs(r-n);return i?a+l/i:l?1:a}function gM(t=[],e=rt.minMatchCharLength){let n=[],r=-1,i=-1,o=0;for(let a=t.length;o<a;o+=1){let l=t[o];l&&r===-1?r=o:!l&&r!==-1&&(i=o-1,i-r+1>=e&&n.push([r,i]),r=-1)}return t[o-1]&&o-r>=e&&n.push([r,o-1]),n}const Bs=32;function mM(t,e,n,{location:r=rt.location,distance:i=rt.distance,threshold:o=rt.threshold,findAllMatches:a=rt.findAllMatches,minMatchCharLength:l=rt.minMatchCharLength,includeMatches:u=rt.includeMatches,ignoreLocation:d=rt.ignoreLocation}={}){if(e.length>Bs)throw new Error(lM(Bs));const p=e.length,h=t.length,A=Math.max(0,Math.min(r,h));let m=o,b=A;const w=l>1||u,y=w?Array(h):[];let P;for(;(P=t.indexOf(e,b))>-1;){let z=id(e,{currentLocation:P,expectedLocation:A,distance:i,ignoreLocation:d});if(m=Math.min(z,m),b=P+p,w){let V=0;for(;V<p;)y[P+V]=1,V+=1}}b=-1;let M=[],D=1,C=p+h;const j=1<<p-1;for(let z=0;z<p;z+=1){let V=0,K=C;for(;V<K;)id(e,{errors:z,currentLocation:A+K,expectedLocation:A,distance:i,ignoreLocation:d})<=m?V=K:C=K,K=Math.floor((C-V)/2+V);C=K;let q=Math.max(1,A-K+1),Z=a?h:Math.min(A+K,h)+p,W=Array(Z+2);W[Z+1]=(1<<z)-1;for(let ue=Z;ue>=q;ue-=1){let te=ue-1,pe=n[t.charAt(te)];if(w&&(y[te]=+!!pe),W[ue]=(W[ue+1]<<1|1)&pe,z&&(W[ue]|=(M[ue+1]|M[ue])<<1|1|M[ue+1]),W[ue]&j&&(D=id(e,{errors:z,currentLocation:te,expectedLocation:A,distance:i,ignoreLocation:d}),D<=m)){if(m=D,b=te,b<=A)break;q=Math.max(1,2*A-b)}}if(id(e,{errors:z+1,currentLocation:A,expectedLocation:A,distance:i,ignoreLocation:d})>m)break;M=W}const R={isMatch:b>=0,score:Math.max(.001,D)};if(w){const z=gM(y,l);z.length?u&&(R.indices=z):R.isMatch=!1}return R}function vM(t){let e={};for(let n=0,r=t.length;n<r;n+=1){const i=t.charAt(n);e[i]=(e[i]||0)|1<<r-n-1}return e}const od=String.prototype.normalize?(t=>t.normalize("NFD").replace(/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F]/g,"")):(t=>t);class zx{constructor(e,{location:n=rt.location,threshold:r=rt.threshold,distance:i=rt.distance,includeMatches:o=rt.includeMatches,findAllMatches:a=rt.findAllMatches,minMatchCharLength:l=rt.minMatchCharLength,isCaseSensitive:u=rt.isCaseSensitive,ignoreDiacritics:d=rt.ignoreDiacritics,ignoreLocation:p=rt.ignoreLocation}={}){if(this.options={location:n,threshold:r,distance:i,includeMatches:o,findAllMatches:a,minMatchCharLength:l,isCaseSensitive:u,ignoreDiacritics:d,ignoreLocation:p},e=u?e:e.toLowerCase(),e=d?od(e):e,this.pattern=e,this.chunks=[],!this.pattern.length)return;const h=(m,b)=>{this.chunks.push({pattern:m,alphabet:vM(m),startIndex:b})},A=this.pattern.length;if(A>Bs){let m=0;const b=A%Bs,w=A-b;for(;m<w;)h(this.pattern.substr(m,Bs),m),m+=Bs;if(b){const y=A-Bs;h(this.pattern.substr(y),y)}}else h(this.pattern,0)}searchIn(e){const{isCaseSensitive:n,ignoreDiacritics:r,includeMatches:i}=this.options;if(e=n?e:e.toLowerCase(),e=r?od(e):e,this.pattern===e){let w={isMatch:!0,score:0};return i&&(w.indices=[[0,e.length-1]]),w}const{location:o,distance:a,threshold:l,findAllMatches:u,minMatchCharLength:d,ignoreLocation:p}=this.options;let h=[],A=0,m=!1;this.chunks.forEach(({pattern:w,alphabet:y,startIndex:P})=>{const{isMatch:M,score:D,indices:C}=mM(e,w,y,{location:o+P,distance:a,threshold:l,findAllMatches:u,minMatchCharLength:d,includeMatches:i,ignoreLocation:p});M&&(m=!0),A+=D,M&&C&&(h=[...h,...C])});let b={isMatch:m,score:m?A/this.chunks.length:1};return m&&i&&(b.indices=h),b}}class Wo{constructor(e){this.pattern=e}static isMultiMatch(e){return Qx(e,this.multiRegex)}static isSingleMatch(e){return Qx(e,this.singleRegex)}search(){}}function Qx(t,e){const n=t.match(e);return n?n[1]:null}class yM extends Wo{constructor(e){super(e)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){const n=e===this.pattern;return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class bM extends Wo{constructor(e){super(e)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){const r=e.indexOf(this.pattern)===-1;return{isMatch:r,score:r?0:1,indices:[0,e.length-1]}}}class xM extends Wo{constructor(e){super(e)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){const n=e.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class wM extends Wo{constructor(e){super(e)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){const n=!e.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,e.length-1]}}}class kM extends Wo{constructor(e){super(e)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){const n=e.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[e.length-this.pattern.length,e.length-1]}}}class SM extends Wo{constructor(e){super(e)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){const n=!e.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,e.length-1]}}}class Hx extends Wo{constructor(e,{location:n=rt.location,threshold:r=rt.threshold,distance:i=rt.distance,includeMatches:o=rt.includeMatches,findAllMatches:a=rt.findAllMatches,minMatchCharLength:l=rt.minMatchCharLength,isCaseSensitive:u=rt.isCaseSensitive,ignoreDiacritics:d=rt.ignoreDiacritics,ignoreLocation:p=rt.ignoreLocation}={}){super(e),this._bitapSearch=new zx(e,{location:n,threshold:r,distance:i,includeMatches:o,findAllMatches:a,minMatchCharLength:l,isCaseSensitive:u,ignoreDiacritics:d,ignoreLocation:p})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class Ux extends Wo{constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let n=0,r;const i=[],o=this.pattern.length;for(;(r=e.indexOf(this.pattern,n))>-1;)n=r+o,i.push([r,n-1]);const a=!!i.length;return{isMatch:a,score:a?0:1,indices:i}}}const zh=[yM,Ux,xM,wM,SM,kM,bM,Hx],Vx=zh.length,EM=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,CM="|";function PM(t,e={}){return t.split(CM).map(n=>{let r=n.trim().split(EM).filter(o=>o&&!!o.trim()),i=[];for(let o=0,a=r.length;o<a;o+=1){const l=r[o];let u=!1,d=-1;for(;!u&&++d<Vx;){const p=zh[d];let h=p.isMultiMatch(l);h&&(i.push(new p(h,e)),u=!0)}if(!u)for(d=-1;++d<Vx;){const p=zh[d];let h=p.isSingleMatch(l);if(h){i.push(new p(h,e));break}}}return i})}const DM=new Set([Hx.type,Ux.type]);class TM{constructor(e,{isCaseSensitive:n=rt.isCaseSensitive,ignoreDiacritics:r=rt.ignoreDiacritics,includeMatches:i=rt.includeMatches,minMatchCharLength:o=rt.minMatchCharLength,ignoreLocation:a=rt.ignoreLocation,findAllMatches:l=rt.findAllMatches,location:u=rt.location,threshold:d=rt.threshold,distance:p=rt.distance}={}){this.query=null,this.options={isCaseSensitive:n,ignoreDiacritics:r,includeMatches:i,minMatchCharLength:o,findAllMatches:l,ignoreLocation:a,location:u,threshold:d,distance:p},e=n?e:e.toLowerCase(),e=r?od(e):e,this.pattern=e,this.query=PM(this.pattern,this.options)}static condition(e,n){return n.useExtendedSearch}searchIn(e){const n=this.query;if(!n)return{isMatch:!1,score:1};const{includeMatches:r,isCaseSensitive:i,ignoreDiacritics:o}=this.options;e=i?e:e.toLowerCase(),e=o?od(e):e;let a=0,l=[],u=0;for(let d=0,p=n.length;d<p;d+=1){const h=n[d];l.length=0,a=0;for(let A=0,m=h.length;A<m;A+=1){const b=h[A],{isMatch:w,indices:y,score:P}=b.search(e);if(w){if(a+=1,u+=P,r){const M=b.constructor.type;DM.has(M)?l=[...l,...y]:l.push(y)}}else{u=0,a=0,l.length=0;break}}if(a){let A={isMatch:!0,score:u/a};return r&&(A.indices=l),A}}return{isMatch:!1,score:1}}}const Qh=[];function BM(...t){Qh.push(...t)}function Hh(t,e){for(let n=0,r=Qh.length;n<r;n+=1){let i=Qh[n];if(i.condition(t,e))return new i(t,e)}return new zx(t,e)}const sd={AND:"$and",OR:"$or"},Uh={PATH:"$path",PATTERN:"$val"},Vh=t=>!!(t[sd.AND]||t[sd.OR]),_M=t=>!!t[Uh.PATH],IM=t=>!fo(t)&&Ox(t)&&!Vh(t),Wx=t=>({[sd.AND]:Object.keys(t).map(e=>({[e]:t[e]}))});function Yx(t,e,{auto:n=!0}={}){const r=i=>{let o=Object.keys(i);const a=_M(i);if(!a&&o.length>1&&!Vh(i))return r(Wx(i));if(IM(i)){const u=a?i[Uh.PATH]:o[0],d=a?i[Uh.PATTERN]:i[u];if(!ji(d))throw new Error(aM(u));const p={keyId:Fh(u),pattern:d};return n&&(p.searcher=Hh(d,e)),p}let l={children:[],operator:o[0]};return o.forEach(u=>{const d=i[u];fo(d)&&d.forEach(p=>{l.children.push(r(p))})}),l};return Vh(t)||(t=Wx(t)),r(t)}function MM(t,{ignoreFieldNorm:e=rt.ignoreFieldNorm}){t.forEach(n=>{let r=1;n.matches.forEach(({key:i,norm:o,score:a})=>{const l=i?i.weight:null;r*=Math.pow(a===0&&l?Number.EPSILON:a,(l||1)*(e?1:o))}),n.score=r})}function OM(t,e){const n=t.matches;e.matches=[],_r(n)&&n.forEach(r=>{if(!_r(r.indices)||!r.indices.length)return;const{indices:i,value:o}=r;let a={indices:i,value:o};r.key&&(a.key=r.key.src),r.idx>-1&&(a.refIndex=r.idx),e.matches.push(a)})}function RM(t,e){e.score=t.score}function LM(t,e,{includeMatches:n=rt.includeMatches,includeScore:r=rt.includeScore}={}){const i=[];return n&&i.push(OM),r&&i.push(RM),t.map(o=>{const{idx:a}=o,l={item:e[a],refIndex:a};return i.length&&i.forEach(u=>{u(o,l)}),l})}class Ca{constructor(e,n={},r){this.options={...rt,...n},this.options.useExtendedSearch,this._keyStore=new dM(this.options.keys),this.setCollection(e,r)}setCollection(e,n){if(this._docs=e,n&&!(n instanceof jh))throw new Error(sM);this._myIndex=n||jx(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){_r(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=()=>!1){const n=[];for(let r=0,i=this._docs.length;r<i;r+=1){const o=this._docs[r];e(o,r)&&(this.removeAt(r),r-=1,i-=1,n.push(o))}return n}removeAt(e){this._docs.splice(e,1),this._myIndex.removeAt(e)}getIndex(){return this._myIndex}search(e,{limit:n=-1}={}){const{includeMatches:r,includeScore:i,shouldSort:o,sortFn:a,ignoreFieldNorm:l}=this.options;let u=ji(e)?ji(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return MM(u,{ignoreFieldNorm:l}),o&&u.sort(a),Mx(n)&&n>-1&&(u=u.slice(0,n)),LM(u,this._docs,{includeMatches:r,includeScore:i})}_searchStringList(e){const n=Hh(e,this.options),{records:r}=this._myIndex,i=[];return r.forEach(({v:o,i:a,n:l})=>{if(!_r(o))return;const{isMatch:u,score:d,indices:p}=n.searchIn(o);u&&i.push({item:o,idx:a,matches:[{score:d,value:o,norm:l,indices:p}]})}),i}_searchLogical(e){const n=Yx(e,this.options),r=(l,u,d)=>{if(!l.children){const{keyId:h,searcher:A}=l,m=this._findMatches({key:this._keyStore.get(h),value:this._myIndex.getValueForItemAtKeyId(u,h),searcher:A});return m&&m.length?[{idx:d,item:u,matches:m}]:[]}const p=[];for(let h=0,A=l.children.length;h<A;h+=1){const m=l.children[h],b=r(m,u,d);if(b.length)p.push(...b);else if(l.operator===sd.AND)return[]}return p},i=this._myIndex.records,o={},a=[];return i.forEach(({$:l,i:u})=>{if(_r(l)){let d=r(n,l,u);d.length&&(o[u]||(o[u]={idx:u,item:l,matches:[]},a.push(o[u])),d.forEach(({matches:p})=>{o[u].matches.push(...p)}))}}),a}_searchObjectList(e){const n=Hh(e,this.options),{keys:r,records:i}=this._myIndex,o=[];return i.forEach(({$:a,i:l})=>{if(!_r(a))return;let u=[];r.forEach((d,p)=>{u.push(...this._findMatches({key:d,value:a[p],searcher:n}))}),u.length&&o.push({idx:l,item:a,matches:u})}),o}_findMatches({key:e,value:n,searcher:r}){if(!_r(n))return[];let i=[];if(fo(n))n.forEach(({v:o,i:a,n:l})=>{if(!_r(o))return;const{isMatch:u,score:d,indices:p}=r.searchIn(o);u&&i.push({score:d,key:e,value:o,idx:a,norm:l,indices:p})});else{const{v:o,n:a}=n,{isMatch:l,score:u,indices:d}=r.searchIn(o);l&&i.push({score:u,key:e,value:o,norm:a,indices:d})}return i}}Ca.version="7.1.0",Ca.createIndex=jx,Ca.parseIndex=AM,Ca.config=rt,Ca.parseQuery=Yx,BM(TM);function NM({highlight:t,text:e}){if(!t||!t.length)return e;const n=new RegExp(t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"gi"),r=[...e.matchAll(n)];if(!r.length)return e;const i=[];let o=0;for(let a of r)a.index>o&&i.push(e.substr(o,a.index)),i.push(E.jsx("span",{className:"highlight",children:a[0]})),o=a.index+a[0].length;return i.push(e.substr(o)),i}function FM({delay:t=300,placeholder:e,setSearchText:n,width:r="calc(var(--width) / 4)"}){const i=T.useRef(null),o=T.useRef(null),[a,l]=T.useState(""),u=()=>{l(""),n(""),i.current.value="",i.current.focus()};return T.useLayoutEffect(()=>{i.current&&i.current.addEventListener("keyup",()=>{o.current&&clearTimeout(o.current),o.current=setTimeout(()=>{o.current=null,n(i.current.value),l(i.current.value)},t)})},[i.current]),E.jsx(E.Fragment,{children:E.jsxs("div",{className:"search",children:[E.jsx("input",{placeholder:e,style:{width:r},ref:i}),a.length?E.jsx("button",{className:"btn btn-clear",title:"Clear search",onClick:u,children:E.jsx(Et,{name:"x-lg"})}):null]})})}const jM=["software_name","software_description","software_web_page","software_documentation","software_use_link","software_versions"];function zM({infoGroupId:t}){const e=Xn("https://sds-ara-api.access-ci.org/api/v1",{body:JSON.stringify({rps:[t],columns:jM}),headers:{"Content-Type":"application/json","X-API-Key":"asSuQQ0IfIEUrSRTl44aqn2ZpMPpJ_G02BgemAY4WN0"},method:"POST"}),[n,r]=T.useState(""),i=T.useMemo(()=>e?.data&&e.data.length?new Ca(e.data,{keys:[{name:"software_name",weight:.6},{name:"software_description",weight:.4}]}):null,[e?.data]);if(!e?.data||!e.data.length)return;const o=A=>E.jsx(NM,{text:A,highlight:n}),d=[{key:"software_name",name:"Package",format:(A,m)=>{const b=o(A),w=m.software_web_page||m.software_documentation,y=m.software_use_link&&m.software_use_link.length?m.software_use_link[0]:"";return E.jsxs("span",{style:{lineHeight:1.3},children:[w?E.jsx("a",{href:w,children:b},"name"):b," ",m.software_documentation&&E.jsx("a",{href:m.software_documentation,title:`Documentation for ${A}`,children:E.jsx(Et,{name:"book"})},"documentation")," ",y&&y!=m.software_documentation&&E.jsx("a",{href:y,title:`Usage example for ${A}`,children:E.jsx(Et,{name:"terminal"})},"use")]})}},{key:"software_versions",name:"Versions",format:(A,m)=>m.rps[t].software_versions.join(", ")},{key:"software_description",name:"Description",format:(A,m)=>{const b=/Description Source:[ ]+(http[^ ]+)/,w=A.match(b);return E.jsxs(E.Fragment,{children:[o(A.replace(b,""))," ",w?E.jsx("a",{href:w[1],title:`Description source for ${m.software_name}`,children:E.jsx(Et,{name:"info-circle"})}):null]})}}],p=n.length?i.search(n).map(A=>A.item):e.data,h=[E.jsx(FM,{placeholder:"Search software packages...",setSearchText:r},"search")];return E.jsx(_i,{title:"Software",icon:"terminal",headerComponents:h,children:E.jsx(hu,{columns:d,rows:p,scrollResetOnUpdate:!0})})}function QM({prompt:t="Jump To:"}){const[e,n]=T.useState([]),r=T.useRef(null),i=()=>{const a=[];for(let l of r.current.querySelectorAll("[data-section-title]"))a.push({icon:l.dataset.sectionIcon,id:l.id,title:l.dataset.sectionTitle});n(a)},o=a=>{const l=r.current.querySelector(`#${a}`);l&&l.scrollIntoView()};return T.useEffect(()=>{r.current&&(i(),document.addEventListener("accessci-update-sections",i))},[r.current]),E.jsx("div",{ref:a=>r.current=a?.parentElement,children:e.length>=2?E.jsxs("nav",{className:"section-navigation",children:[t?E.jsx("h2",{children:t}):null,E.jsx("ul",{children:e.map(({icon:a,id:l,title:u})=>E.jsx("li",{children:E.jsxs("a",{href:`#${l}`,onClick:d=>{d.preventDefault(),o(l)},children:[a?E.jsxs(E.Fragment,{children:[E.jsx(Et,{name:a})," "]}):null,u]})},l))})]}):null})}function HM({baseUri:t,showBreadcrumbs:e=!0}){const{infoGroupId:n}=l2(),r=al(n),i=[{name:"Resources",href:t}];return r&&i.push({name:r.name}),E.jsxs(E.Fragment,{children:[e&&E.jsx(pf,{expandWidth:!0,items:i,topBorder:!0}),E.jsxs("div",{className:"resource-group-detail",children:[E.jsx(CD,{infoGroupId:n}),E.jsx(QM,{}),E.jsx(pB,{infoGroupId:n}),E.jsx(sB,{infoGroupId:n}),E.jsx(uB,{infoGroupId:n}),E.jsx(ED,{infoGroupId:n}),E.jsx(zM,{infoGroupId:n}),E.jsx(r8,{infoGroupId:n}),E.jsx(tM,{infoGroupId:n}),E.jsx(TD,{infoGroupId:n})]})]})}const UM=Object.freeze(Object.defineProperty({__proto__:null,default:HM},Symbol.toStringTag,{value:"Module"})),VM={"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 qx({active:t,tagCategory:e,tagId:n,iconUri:r,name:i,toggleTag:o}){const a=r||VM[i]||"tag";return E.jsx("li",{className:`tag tag-category-${e.name.toLowerCase().replace(/[^a-z]+/g,"-")}${t.tagIds.has(n)?" active":""}`,children:E.jsxs("button",{href:"#",disabled:t.disabledTagIds.has(n),onClick:l=>{l.preventDefault(),o(n)},children:[a.startsWith("http")?E.jsx(Et,{alt:i,src:a}):E.jsx(Et,{name:a}),i]})})}function Kx({children:t}){return E.jsx("ul",{className:"tags",children:t})}function WM({active:t,baseUri:e,description:n,imageType:r,imageUri:i,name:o,infoGroupId:a,parentInfoGroupId:l,tags:u,toggleTag:d}){const p=`${e}/${l||a}`;return E.jsxs("div",{className:"resource-group",children:[E.jsx("a",{className:`resource-group-image image-type-${r}`,href:p,children:i?E.jsx("img",{src:i}):E.jsx(Et,{name:"motherboard"})}),E.jsxs("div",{className:"resource-group-text",children:[E.jsx("h3",{children:E.jsx("a",{href:p,children:o})}),E.jsx(Kx,{children:u.map(h=>E.jsx(qx,{...h,active:t,toggleTag:d},h.tagId))}),E.jsxs("p",{children:[n&&n,E.jsx("br",{}),E.jsxs("a",{href:p,children:["Learn more about ",o," »"]})]})]})]})}function YM({active:t,baseUri:e,name:n,resourceGroups:r,toggleTag:i}){return E.jsxs(E.Fragment,{children:[E.jsx("h2",{children:n}),r.filter(({infoGroupId:o})=>t.infoGroupIds.has(o)).map(o=>E.jsx(WM,{...o,baseUri:e,active:t,toggleTag:i},o.infoGroupId))]})}function qM({active:t,clearTags:e,tagCategories:n,toggleTag:r}){const[i,o]=T.useState(!1),a=T.useRef(null);return T.useEffect(()=>{const l=()=>o(!1);return document.body.addEventListener("click",l),()=>document.body.removeEventListener("click",l)},[]),E.jsxs("section",{className:"filters-outer",onClick:l=>{l.stopPropagation()},children:[E.jsxs("button",{ref:a,onClick:()=>o(!i),className:`btn-filters btn ${i?"active":""}`,children:[E.jsx(Et,{name:"filter"})," Filters",t.tagIds.size>0?E.jsx("span",{className:"active-tag-count",children:t.tagIds.size}):null]}),i?E.jsxs("div",{className:"filters-inner",children:[n.map(l=>E.jsxs(E.Fragment,{children:[E.jsx("h2",{children:l.name}),E.jsx(Kx,{children:l.tags.map(u=>E.jsx(qx,{...u,active:t,toggleTag:r}))})]})),E.jsxs("button",{onClick:e,disabled:t.tagIds.size==0,className:"btn danger",children:[E.jsx(Et,{name:"trash"})," Clear Filters"]})]}):null]})}function KM({setBotOpen:t}){const e=T.useRef(null),n=[{title:"Browse resources",icon:"filter-square",description:"Filter resources to find the best match for your research.",onClick:r=>{r.preventDefault(),e.current&&e.current.nextSibling.scrollIntoView({bahavior:"smooth"})}},{title:"Ask a question",icon:"question-circle",onClick:r=>{r.preventDefault(),t(!0)},description:"You have resource questions. Our Q&A bot has answers!"},{title:"Get suggestions",icon:"card-checklist",href:"https://ara.access-ci.org/",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."}];return E.jsxs("section",{id:"resource-pathways",ref:e,children:[E.jsxs("p",{className:"intro",children:["ACCESS provides advanced computing resources ",E.jsx("strong",{children:"at no cost"})," ","to researchers and educators."]}),E.jsx("ul",{className:"resource-pathways",children:n.map(({title:r,icon:i,href:o,description:a,onClick:l},u)=>E.jsx("li",{className:`resource-pathway-${u}`,children:E.jsxs("a",{href:o||"#",onClick:l,children:[i?E.jsx(Et,{name:i}):null," ",E.jsxs("span",{className:"detail",children:[E.jsx("span",{className:"title",children:r}),E.jsx("span",{className:"description",children:a})]})]})},r))})]})}function GM({baseUri:t,title:e,setBotOpen:n,showBreadcrumbs:r=!0,showTitle:i=!0}){const[o,a]=T.useState([]),l=Mg(),u=T.useMemo(()=>l?vk(l,o):null,[l,o]),d=h=>a(o.includes(h)?o.filter(A=>A!=h):[...o,h]),p=()=>a([]);return E.jsxs(E.Fragment,{children:[r&&E.jsx(pf,{expandWidth:!0,items:[{name:"Resources"}],topBorder:!0}),e&&E.jsx("h1",{className:i?"":"visually-hidden",children:e}),E.jsx(KM,{setBotOpen:n}),E.jsxs("div",{id:"browse-resources",children:[u?E.jsx(qM,{tagCategories:l.tagCategories,active:u,clearTags:p,toggleTag:d}):null,l?l.resourceCategories.filter(({resourceCategoryId:h})=>u.resourceCategoryIds.has(h)).map(h=>E.jsx(YM,{...h,active:u,baseUri:t,clearTags:p,toggleTag:d},h.name)):null]})]})}const XM=Object.freeze(Object.defineProperty({__proto__:null,default:GM},Symbol.toStringTag,{value:"Module"}));Tn.breadcrumbs=PS,Tn.footer=DS,Tn.footerMenus=TS,Tn.header=BS,Tn.loginMenuItem=Dg,Tn.myAccessMenuItem=Pg,Tn.qaBot=_S,Tn.resourceCatalog=IS,Tn.siteMenus=MS,Tn.tableOfContents=OS,Tn.universalMenuItems=Cg,Tn.universalMenus=RS,Object.defineProperty(Tn,Symbol.toStringTag,{value:"Module"})}));
|