@access-ci/ui 0.19.0 → 0.19.1
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 +14 -0
- package/dist/{access-ci-ui-react-EGB2WEJU.js → access-ci-ui-react-DBM8Z2Gd.js} +3 -3
- package/dist/access-ci-ui-react.js +1 -1
- package/dist/access-ci-ui-react.umd.cjs +2 -2
- package/dist/access-ci-ui.bundle.js +3 -3
- package/dist/access-ci-ui.js +1 -1
- package/dist/access-ci-ui.umd.cjs +5 -5
- package/dist/{access-qa-bot-CRyGZwjG.js → access-qa-bot-ChysYfDA.js} +1 -1
- package/dist/{icon-k_1reS8F.js → icon-BoS957qu.js} +1 -1
- package/dist/{index-BQ1IN_nR.js → index-DENOJGFb.js} +4 -4
- package/dist/{resource-group-detail-XMq2yvZU.js → resource-group-detail-BIjgipYz.js} +2 -2
- package/dist/{resource-group-detail-iTxVHZQ7.js → resource-group-detail-BJk__qB6.js} +1 -1
- package/dist/{resource-home-CGY7Iqb1.js → resource-home-CU9-W9SO.js} +1 -1
- package/dist/{resource-home-BpItZH1h.js → resource-home-fzRBmcd1.js} +2 -2
- package/package.json +2 -2
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
`+I+s}var he=!1;function de(s,c){if(!s||he)return"";he=!0;var f=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(c)if(c=function(){throw Error()},Object.defineProperty(c.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(c,[])}catch(ue){var A=ue}Reflect.construct(s,[],c)}else{try{c.call()}catch(ue){A=ue}s.call(c.prototype)}else{try{throw Error()}catch(ue){A=ue}s()}}catch(ue){if(ue&&A&&typeof ue.stack=="string"){for(var v=ue.stack.split(`
|
|
3
3
|
`),S=A.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
|
-
`+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{he=!1,Error.prepareStackTrace=f}return(s=s?s.displayName||s.name:"")?$(s):""}function ve(s){switch(s.tag){case 5:return $(s.type);case 16:return $("Lazy");case 13:return $("Suspense");case 19:return $("SuspenseList");case 0:case 2:case 15:return s=de(s.type,!1),s;case 11:return s=de(s.type.render,!1),s;case 1:return s=de(s.type,!0),s;default:return""}}function ye(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 W:return"StrictMode";case Z:return"Suspense";case ce:return"SuspenseList"}if(typeof s=="object")switch(s.$$typeof){case J:return(s.displayName||"Context")+".Consumer";case q:return(s._context.displayName||"Context")+".Provider";case V:var c=s.render;return s=s.displayName,s||(s=c.displayName||c.name||"",s=s!==""?"ForwardRef("+s+")":"ForwardRef"),s;case ne:return c=s.displayName||null,c!==null?c:ye(s.type)||"Memo";case fe:c=s._payload,s=s._init;try{return ye(s(c))}catch{}}return null}function De(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 ye(c);case 8:return c===W?"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 _e(s){switch(typeof s){case"boolean":case"number":case"string":case"undefined":return s;case"object":return s;default:return""}}function Be(s){var c=s.type;return(s=s.nodeName)&&s.toLowerCase()==="input"&&(c==="checkbox"||c==="radio")}function He(s){var c=Be(s)?"checked":"value",f=Object.getOwnPropertyDescriptor(s.constructor.prototype,c),A=""+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){A=""+O,S.call(this,O)}}),Object.defineProperty(s,c,{enumerable:f.enumerable}),{getValue:function(){return A},setValue:function(O){A=""+O},stopTracking:function(){s._valueTracker=null,delete s[c]}}}}function lt(s){s._valueTracker||(s._valueTracker=He(s))}function Nt(s){if(!s)return!1;var c=s._valueTracker;if(!c)return!0;var f=c.getValue(),A="";return s&&(A=Be(s)?s.checked?"true":"false":s.value),s=A,s!==f?(c.setValue(s),!0):!1}function et(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 xt(s,c){var f=c.checked;return pe({},c,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:f??s._wrapperState.initialChecked})}function an(s,c){var f=c.defaultValue==null?"":c.defaultValue,A=c.checked!=null?c.checked:c.defaultChecked;f=_e(c.value!=null?c.value:f),s._wrapperState={initialChecked:A,initialValue:f,controlled:c.type==="checkbox"||c.type==="radio"?c.checked!=null:c.value!=null}}function Mt(s,c){c=c.checked,c!=null&&D(s,"checked",c,!1)}function Wt(s,c){Mt(s,c);var f=_e(c.value),A=c.type;if(f!=null)A==="number"?(f===0&&s.value===""||s.value!=f)&&(s.value=""+f):s.value!==""+f&&(s.value=""+f);else if(A==="submit"||A==="reset"){s.removeAttribute("value");return}c.hasOwnProperty("value")?kt(s,c.type,f):c.hasOwnProperty("defaultValue")&&kt(s,c.type,_e(c.defaultValue)),c.checked==null&&c.defaultChecked!=null&&(s.defaultChecked=!!c.defaultChecked)}function pt(s,c,f){if(c.hasOwnProperty("value")||c.hasOwnProperty("defaultValue")){var A=c.type;if(!(A!=="submit"&&A!=="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 kt(s,c,f){(c!=="number"||et(s.ownerDocument)!==s)&&(f==null?s.defaultValue=""+s._wrapperState.initialValue:s.defaultValue!==""+f&&(s.defaultValue=""+f))}var dt=Array.isArray;function zt(s,c,f,A){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&&A&&(s[f].defaultSelected=!0)}else{for(f=""+_e(f),c=null,v=0;v<s.length;v++){if(s[v].value===f){s[v].selected=!0,A&&(s[v].defaultSelected=!0);return}c!==null||s[v].disabled||(c=s[v])}c!==null&&(c.selected=!0)}}function Lt(s,c){if(c.dangerouslySetInnerHTML!=null)throw Error(n(91));return pe({},c,{value:void 0,defaultValue:void 0,children:""+s._wrapperState.initialValue})}function At(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(dt(f)){if(1<f.length)throw Error(n(93));f=f[0]}c=f}c==null&&(c=""),f=c}s._wrapperState={initialValue:_e(f)}}function bn(s,c){var f=_e(c.value),A=_e(c.defaultValue);f!=null&&(f=""+f,f!==s.value&&(s.value=f),c.defaultValue==null&&s.defaultValue!==f&&(s.defaultValue=f)),A!=null&&(s.defaultValue=""+A)}function en(s){var c=s.textContent;c===s._wrapperState.initialValue&&c!==""&&c!==null&&(s.value=c)}function dn(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 fn(s,c){return s==null||s==="http://www.w3.org/1999/xhtml"?dn(c):s==="http://www.w3.org/2000/svg"&&c==="foreignObject"?"http://www.w3.org/1999/xhtml":s}var Gt,Ae=(function(s){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(c,f,A,v){MSApp.execUnsafeLocalFunction(function(){return s(c,f,A,v)})}:s})(function(s,c){if(s.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in s)s.innerHTML=c;else{for(Gt=Gt||document.createElement("div"),Gt.innerHTML="<svg>"+c.valueOf().toString()+"</svg>",c=Gt.firstChild;s.firstChild;)s.removeChild(s.firstChild);for(;c.firstChild;)s.appendChild(c.firstChild)}});function Me(s,c){if(c){var f=s.firstChild;if(f&&f===s.lastChild&&f.nodeType===3){f.nodeValue=c;return}}s.textContent=c}var Fe={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},tt=["Webkit","ms","Moz","O"];Object.keys(Fe).forEach(function(s){tt.forEach(function(c){c=c+s.charAt(0).toUpperCase()+s.substring(1),Fe[c]=Fe[s]})});function qe(s,c,f){return c==null||typeof c=="boolean"||c===""?"":f||typeof c!="number"||c===0||Fe.hasOwnProperty(s)&&Fe[s]?(""+c).trim():c+"px"}function le(s,c){s=s.style;for(var f in c)if(c.hasOwnProperty(f)){var A=f.indexOf("--")===0,v=qe(f,c[f],A);f==="float"&&(f="cssFloat"),A?s.setProperty(f,v):s[f]=v}}var Ie=pe({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 Ne(s,c){if(c){if(Ie[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 ot(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 rt=null;function $e(s){return s=s.target||s.srcElement||window,s.correspondingUseElement&&(s=s.correspondingUseElement),s.nodeType===3?s.parentNode:s}var St=null,bt=null,ut=null;function hn(s){if(s=pc(s)){if(typeof St!="function")throw Error(n(280));var c=s.stateNode;c&&(c=vd(c),St(s.stateNode,s.type,c))}}function gr(s){bt?ut?ut.push(s):ut=[s]:bt=s}function jn(){if(bt){var s=bt,c=ut;if(ut=bt=null,hn(s),c)for(s=0;s<c.length;s++)hn(c[s])}}function tn(s,c){return s(c)}function qr(){}var wn=!1;function Or(s,c,f){if(wn)return s(c,f);wn=!0;try{return tn(s,c,f)}finally{wn=!1,(bt!==null||ut!==null)&&(qr(),jn())}}function Kr(s,c){var f=s.stateNode;if(f===null)return null;var A=vd(f);if(A===null)return null;f=A[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":(A=!A.disabled)||(s=s.type,A=!(s==="button"||s==="input"||s==="select"||s==="textarea")),s=!A;break e;default:s=!1}if(s)return null;if(f&&typeof f!="function")throw Error(n(231,c,typeof f));return f}var ni=!1;if(l)try{var Po={};Object.defineProperty(Po,"passive",{get:function(){ni=!0}}),window.addEventListener("test",Po,Po),window.removeEventListener("test",Po,Po)}catch{ni=!1}function ka(s,c,f,A,v,S,O,U,Y){var ue=Array.prototype.slice.call(arguments,3);try{c.apply(f,ue)}catch(be){this.onError(be)}}var Do=!1,Fi=null,ji=!1,Bo=null,Sa={onError:function(s){Do=!0,Fi=s}};function Ni(s,c,f,A,v,S,O,U,Y){Do=!1,Fi=null,ka.apply(Sa,arguments)}function Es(s,c,f,A,v,S,O,U,Y){if(Ni.apply(this,arguments),Do){if(Do){var ue=Fi;Do=!1,Fi=null}else throw Error(n(198));ji||(ji=!0,Bo=ue)}}function Gr(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 To(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 Ea(s){if(Gr(s)!==s)throw Error(n(188))}function Cs(s){var c=s.alternate;if(!c){if(c=Gr(s),c===null)throw Error(n(188));return c!==s?null:s}for(var f=s,A=c;;){var v=f.return;if(v===null)break;var S=v.alternate;if(S===null){if(A=v.return,A!==null){f=A;continue}break}if(v.child===S.child){for(S=v.child;S;){if(S===f)return Ea(v),s;if(S===A)return Ea(v),c;S=S.sibling}throw Error(n(188))}if(f.return!==A.return)f=v,A=S;else{for(var O=!1,U=v.child;U;){if(U===f){O=!0,f=v,A=S;break}if(U===A){O=!0,A=v,f=S;break}U=U.sibling}if(!O){for(U=S.child;U;){if(U===f){O=!0,f=S,A=v;break}if(U===A){O=!0,A=S,f=v;break}U=U.sibling}if(!O)throw Error(n(189))}}if(f.alternate!==A)throw Error(n(190))}if(f.tag!==3)throw Error(n(188));return f.stateNode.current===f?s:c}function ri(s){return s=Cs(s),s!==null?Io(s):null}function Io(s){if(s.tag===5||s.tag===6)return s;for(s=s.child;s!==null;){var c=Io(s);if(c!==null)return c;s=s.sibling}return null}var oi=e.unstable_scheduleCallback,Ps=e.unstable_cancelCallback,Ca=e.unstable_shouldYield,Pa=e.unstable_requestPaint,Bt=e.unstable_now,kn=e.unstable_getCurrentPriorityLevel,zi=e.unstable_ImmediatePriority,Qi=e.unstable_UserBlockingPriority,_o=e.unstable_NormalPriority,Da=e.unstable_LowPriority,Xr=e.unstable_IdlePriority,mr=null,Nn=null;function ii(s){if(Nn&&typeof Nn.onCommitFiberRoot=="function")try{Nn.onCommitFiberRoot(mr,s,void 0,(s.current.flags&128)===128)}catch{}}var ln=Math.clz32?Math.clz32:Ts,Ds=Math.log,Bs=Math.LN2;function Ts(s){return s>>>=0,s===0?32:31-(Ds(s)/Bs|0)|0}var Jr=64,si=4194304;function Mo(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 Oo(s,c){var f=s.pendingLanes;if(f===0)return 0;var A=0,v=s.suspendedLanes,S=s.pingedLanes,O=f&268435455;if(O!==0){var U=O&~v;U!==0?A=Mo(U):(S&=O,S!==0&&(A=Mo(S)))}else O=f&~v,O!==0?A=Mo(O):S!==0&&(A=Mo(S));if(A===0)return 0;if(c!==0&&c!==A&&(c&v)===0&&(v=A&-A,S=c&-c,v>=S||v===16&&(S&4194240)!==0))return c;if((A&4)!==0&&(A|=f&16),c=s.entangledLanes,c!==0)for(s=s.entanglements,c&=A;0<c;)f=31-ln(c),v=1<<f,A|=s[f],c&=~v;return A}function b(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 T(s,c){for(var f=s.suspendedLanes,A=s.pingedLanes,v=s.expirationTimes,S=s.pendingLanes;0<S;){var O=31-ln(S),U=1<<O,Y=v[O];Y===-1?((U&f)===0||(U&A)!==0)&&(v[O]=b(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=Jr;return Jr<<=1,(Jr&4194240)===0&&(Jr=64),s}function ie(s){for(var c=[],f=0;31>f;f++)c.push(s);return c}function ee(s,c,f){s.pendingLanes|=c,c!==536870912&&(s.suspendedLanes=0,s.pingedLanes=0),s=s.eventTimes,c=31-ln(c),s[c]=f}function ge(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 A=s.eventTimes;for(s=s.expirationTimes;0<f;){var v=31-ln(f),S=1<<v;c[v]=0,A[v]=-1,s[v]=-1,f&=~S}}function Pe(s,c){var f=s.entangledLanes|=c;for(s=s.entanglements;f;){var A=31-ln(f),v=1<<A;v&c|s[A]&c&&(s[A]|=c),f&=~v}}var Te=0;function Ye(s){return s&=-s,1<s?4<s?(s&268435455)!==0?16:536870912:4:1}var nt,Ct,Xn,Jn,Tn,Zr=!1,Zn=[],$n=null,In=null,vr=null,er=new Map,Ro=new Map,Lo=[],Hp="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 rd(s,c){switch(s){case"focusin":case"focusout":$n=null;break;case"dragenter":case"dragleave":In=null;break;case"mouseover":case"mouseout":vr=null;break;case"pointerover":case"pointerout":er.delete(c.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ro.delete(c.pointerId)}}function Is(s,c,f,A,v,S){return s===null||s.nativeEvent!==S?(s={blockedOn:c,domEventName:f,eventSystemFlags:A,nativeEvent:S,targetContainers:[v]},c!==null&&(c=pc(c),c!==null&&Ct(c)),s):(s.eventSystemFlags|=A,c=s.targetContainers,v!==null&&c.indexOf(v)===-1&&c.push(v),s)}function Up(s,c,f,A,v){switch(c){case"focusin":return $n=Is($n,s,c,f,A,v),!0;case"dragenter":return In=Is(In,s,c,f,A,v),!0;case"mouseover":return vr=Is(vr,s,c,f,A,v),!0;case"pointerover":var S=v.pointerId;return er.set(S,Is(er.get(S)||null,s,c,f,A,v)),!0;case"gotpointercapture":return S=v.pointerId,Ro.set(S,Is(Ro.get(S)||null,s,c,f,A,v)),!0}return!1}function Rr(s){var c=Ns(s.target);if(c!==null){var f=Gr(c);if(f!==null){if(c=f.tag,c===13){if(c=To(f),c!==null){s.blockedOn=c,Tn(s.priority,function(){Xn(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 Hi(s){if(s.blockedOn!==null)return!1;for(var c=s.targetContainers;0<c.length;){var f=Ms(s.domEventName,s.eventSystemFlags,c[0],s.nativeEvent);if(f===null){f=s.nativeEvent;var A=new f.constructor(f.type,f);rt=A,f.target.dispatchEvent(A),rt=null}else return c=pc(f),c!==null&&Ct(c),s.blockedOn=f,!1;c.shift()}return!0}function _s(s,c,f){Hi(s)&&f.delete(c)}function Pt(){Zr=!1,$n!==null&&Hi($n)&&($n=null),In!==null&&Hi(In)&&(In=null),vr!==null&&Hi(vr)&&(vr=null),er.forEach(_s),Ro.forEach(_s)}function $r(s,c){s.blockedOn===c&&(s.blockedOn=null,Zr||(Zr=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,Pt)))}function Fo(s){function c(v){return $r(v,s)}if(0<Zn.length){$r(Zn[0],s);for(var f=1;f<Zn.length;f++){var A=Zn[f];A.blockedOn===s&&(A.blockedOn=null)}}for($n!==null&&$r($n,s),In!==null&&$r(In,s),vr!==null&&$r(vr,s),er.forEach(c),Ro.forEach(c),f=0;f<Lo.length;f++)A=Lo[f],A.blockedOn===s&&(A.blockedOn=null);for(;0<Lo.length&&(f=Lo[0],f.blockedOn===null);)Rr(f),f.blockedOn===null&&Lo.shift()}var Lr=C.ReactCurrentBatchConfig,yr=!0;function Ba(s,c,f,A){var v=Te,S=Lr.transition;Lr.transition=null;try{Te=1,Ta(s,c,f,A)}finally{Te=v,Lr.transition=S}}function ai(s,c,f,A){var v=Te,S=Lr.transition;Lr.transition=null;try{Te=4,Ta(s,c,f,A)}finally{Te=v,Lr.transition=S}}function Ta(s,c,f,A){if(yr){var v=Ms(s,c,f,A);if(v===null)eA(s,c,A,Ui,f),rd(s,A);else if(Up(v,s,c,f,A))A.stopPropagation();else if(rd(s,A),c&4&&-1<Hp.indexOf(s)){for(;v!==null;){var S=pc(v);if(S!==null&&nt(S),S=Ms(s,c,f,A),S===null&&eA(s,c,A,Ui,f),S===v)break;v=S}v!==null&&A.stopPropagation()}else eA(s,c,A,null,f)}}var Ui=null;function Ms(s,c,f,A){if(Ui=null,s=$e(A),s=Ns(s),s!==null)if(c=Gr(s),c===null)s=null;else if(f=c.tag,f===13){if(s=To(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 Ui=s,null}function Zl(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(kn()){case zi:return 1;case Qi:return 4;case _o:case Da:return 16;case Xr:return 536870912;default:return 16}default:return 16}}var eo=null,Ia=null,_a=null;function od(){if(_a)return _a;var s,c=Ia,f=c.length,A,v="value"in eo?eo.value:eo.textContent,S=v.length;for(s=0;s<f&&c[s]===v[s];s++);var O=f-s;for(A=1;A<=O&&c[f-A]===v[S-A];A++);return _a=v.slice(s,1<A?1-A:void 0)}function li(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 Os(){return!0}function Rs(){return!1}function Sn(s){function c(f,A,v,S,O){this._reactName=f,this._targetInst=v,this.type=A,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)?Os:Rs,this.isPropagationStopped=Rs,this}return pe(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=Os)},stopPropagation:function(){var f=this.nativeEvent;f&&(f.stopPropagation?f.stopPropagation():typeof f.cancelBubble!="unknown"&&(f.cancelBubble=!0),this.isPropagationStopped=Os)},persist:function(){},isPersistent:Os}),c}var Vi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(s){return s.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ci=Sn(Vi),Ls=pe({},Vi,{view:0,detail:0}),$l=Sn(Ls),Wi,ui,jo,Fs=pe({},Ls,{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!==jo&&(jo&&s.type==="mousemove"?(Wi=s.screenX-jo.screenX,ui=s.screenY-jo.screenY):ui=Wi=0,jo=s),Wi)},movementY:function(s){return"movementY"in s?s.movementY:ui}}),ec=Sn(Fs),id=pe({},Fs,{dataTransfer:0}),tc=Sn(id),zn=pe({},Ls,{relatedTarget:0}),Ma=Sn(zn),nc=pe({},Vi,{animationName:0,elapsedTime:0,pseudoElement:0}),Vp=Sn(nc),sd=pe({},Vi,{clipboardData:function(s){return"clipboardData"in s?s.clipboardData:window.clipboardData}}),Oa=Sn(sd),ad=pe({},Vi,{data:0}),rc=Sn(ad),Ra={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},La={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"},ld={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function cd(s){var c=this.nativeEvent;return c.getModifierState?c.getModifierState(s):(s=ld[s])?!!c[s]:!1}function Fa(){return cd}var oc=pe({},Ls,{key:function(s){if(s.key){var c=Ra[s.key]||s.key;if(c!=="Unidentified")return c}return s.type==="keypress"?(s=li(s),s===13?"Enter":String.fromCharCode(s)):s.type==="keydown"||s.type==="keyup"?La[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"?li(s):0},keyCode:function(s){return s.type==="keydown"||s.type==="keyup"?s.keyCode:0},which:function(s){return s.type==="keypress"?li(s):s.type==="keydown"||s.type==="keyup"?s.keyCode:0}}),ud=Sn(oc),k=pe({},Fs,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),B=Sn(k),L=pe({},Ls,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Fa}),Q=Sn(L),ae=pe({},Vi,{propertyName:0,elapsedTime:0,pseudoElement:0}),re=Sn(ae),me=pe({},Fs,{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=Sn(me),We=[9,13,27,32],it=l&&"CompositionEvent"in window,Je=null;l&&"documentMode"in document&&(Je=document.documentMode);var Tt=l&&"TextEvent"in window&&!Je,_n=l&&(!it||Je&&8<Je&&11>=Je),tr=" ",nr=!1;function js(s,c){switch(s){case"keyup":return We.indexOf(c.keyCode)!==-1;case"keydown":return c.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ic(s){return s=s.detail,typeof s=="object"&&"data"in s?s.data:null}var No=!1;function Q5(s,c){switch(s){case"compositionend":return ic(c);case"keypress":return c.which!==32?null:(nr=!0,tr);case"textInput":return s=c.data,s===tr&&nr?null:s;default:return null}}function H5(s,c){if(No)return s==="compositionend"||!it&&js(s,c)?(s=od(),_a=Ia=eo=null,No=!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 _n&&c.locale!=="ko"?null:c.data;default:return null}}var U5={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 Qb(s){var c=s&&s.nodeName&&s.nodeName.toLowerCase();return c==="input"?!!U5[s.type]:c==="textarea"}function Hb(s,c,f,A){gr(A),c=Ad(c,"onChange"),0<c.length&&(f=new ci("onChange","change",null,f,A),s.push({event:f,listeners:c}))}var sc=null,ac=null;function V5(s){sw(s,0)}function dd(s){var c=Ha(s);if(Nt(c))return s}function W5(s,c){if(s==="change")return c}var Ub=!1;if(l){var Wp;if(l){var Yp="oninput"in document;if(!Yp){var Vb=document.createElement("div");Vb.setAttribute("oninput","return;"),Yp=typeof Vb.oninput=="function"}Wp=Yp}else Wp=!1;Ub=Wp&&(!document.documentMode||9<document.documentMode)}function Wb(){sc&&(sc.detachEvent("onpropertychange",Yb),ac=sc=null)}function Yb(s){if(s.propertyName==="value"&&dd(ac)){var c=[];Hb(c,ac,s,$e(s)),Or(V5,c)}}function Y5(s,c,f){s==="focusin"?(Wb(),sc=c,ac=f,sc.attachEvent("onpropertychange",Yb)):s==="focusout"&&Wb()}function q5(s){if(s==="selectionchange"||s==="keyup"||s==="keydown")return dd(ac)}function K5(s,c){if(s==="click")return dd(c)}function G5(s,c){if(s==="input"||s==="change")return dd(c)}function X5(s,c){return s===c&&(s!==0||1/s===1/c)||s!==s&&c!==c}var to=typeof Object.is=="function"?Object.is:X5;function lc(s,c){if(to(s,c))return!0;if(typeof s!="object"||s===null||typeof c!="object"||c===null)return!1;var f=Object.keys(s),A=Object.keys(c);if(f.length!==A.length)return!1;for(A=0;A<f.length;A++){var v=f[A];if(!u.call(c,v)||!to(s[v],c[v]))return!1}return!0}function qb(s){for(;s&&s.firstChild;)s=s.firstChild;return s}function Kb(s,c){var f=qb(s);s=0;for(var A;f;){if(f.nodeType===3){if(A=s+f.textContent.length,s<=c&&A>=c)return{node:f,offset:c-s};s=A}e:{for(;f;){if(f.nextSibling){f=f.nextSibling;break e}f=f.parentNode}f=void 0}f=qb(f)}}function Gb(s,c){return s&&c?s===c?!0:s&&s.nodeType===3?!1:c&&c.nodeType===3?Gb(s,c.parentNode):"contains"in s?s.contains(c):s.compareDocumentPosition?!!(s.compareDocumentPosition(c)&16):!1:!1}function Xb(){for(var s=window,c=et();c instanceof s.HTMLIFrameElement;){try{var f=typeof c.contentWindow.location.href=="string"}catch{f=!1}if(f)s=c.contentWindow;else break;c=et(s.document)}return c}function qp(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 J5(s){var c=Xb(),f=s.focusedElem,A=s.selectionRange;if(c!==f&&f&&f.ownerDocument&&Gb(f.ownerDocument.documentElement,f)){if(A!==null&&qp(f)){if(c=A.start,s=A.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(A.start,v);A=A.end===void 0?S:Math.min(A.end,v),!s.extend&&S>A&&(v=A,A=S,S=v),v=Kb(f,S);var O=Kb(f,A);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>A?(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 Z5=l&&"documentMode"in document&&11>=document.documentMode,ja=null,Kp=null,cc=null,Gp=!1;function Jb(s,c,f){var A=f.window===f?f.document:f.nodeType===9?f:f.ownerDocument;Gp||ja==null||ja!==et(A)||(A=ja,"selectionStart"in A&&qp(A)?A={start:A.selectionStart,end:A.selectionEnd}:(A=(A.ownerDocument&&A.ownerDocument.defaultView||window).getSelection(),A={anchorNode:A.anchorNode,anchorOffset:A.anchorOffset,focusNode:A.focusNode,focusOffset:A.focusOffset}),cc&&lc(cc,A)||(cc=A,A=Ad(Kp,"onSelect"),0<A.length&&(c=new ci("onSelect","select",null,c,f),s.push({event:c,listeners:A}),c.target=ja)))}function fd(s,c){var f={};return f[s.toLowerCase()]=c.toLowerCase(),f["Webkit"+s]="webkit"+c,f["Moz"+s]="moz"+c,f}var Na={animationend:fd("Animation","AnimationEnd"),animationiteration:fd("Animation","AnimationIteration"),animationstart:fd("Animation","AnimationStart"),transitionend:fd("Transition","TransitionEnd")},Xp={},Zb={};l&&(Zb=document.createElement("div").style,"AnimationEvent"in window||(delete Na.animationend.animation,delete Na.animationiteration.animation,delete Na.animationstart.animation),"TransitionEvent"in window||delete Na.transitionend.transition);function hd(s){if(Xp[s])return Xp[s];if(!Na[s])return s;var c=Na[s],f;for(f in c)if(c.hasOwnProperty(f)&&f in Zb)return Xp[s]=c[f];return s}var $b=hd("animationend"),ew=hd("animationiteration"),tw=hd("animationstart"),nw=hd("transitionend"),rw=new Map,ow="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 Yi(s,c){rw.set(s,c),i(c,[s])}for(var Jp=0;Jp<ow.length;Jp++){var Zp=ow[Jp],$5=Zp.toLowerCase(),e4=Zp[0].toUpperCase()+Zp.slice(1);Yi($5,"on"+e4)}Yi($b,"onAnimationEnd"),Yi(ew,"onAnimationIteration"),Yi(tw,"onAnimationStart"),Yi("dblclick","onDoubleClick"),Yi("focusin","onFocus"),Yi("focusout","onBlur"),Yi(nw,"onTransitionEnd"),a("onMouseEnter",["mouseout","mouseover"]),a("onMouseLeave",["mouseout","mouseover"]),a("onPointerEnter",["pointerout","pointerover"]),a("onPointerLeave",["pointerout","pointerover"]),i("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),i("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),i("onBeforeInput",["compositionend","keypress","textInput","paste"]),i("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),i("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),i("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var uc="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(" "),t4=new Set("cancel close invalid load scroll toggle".split(" ").concat(uc));function iw(s,c,f){var A=s.type||"unknown-event";s.currentTarget=f,Es(A,c,void 0,s),s.currentTarget=null}function sw(s,c){c=(c&4)!==0;for(var f=0;f<s.length;f++){var A=s[f],v=A.event;A=A.listeners;e:{var S=void 0;if(c)for(var O=A.length-1;0<=O;O--){var U=A[O],Y=U.instance,ue=U.currentTarget;if(U=U.listener,Y!==S&&v.isPropagationStopped())break e;iw(v,U,ue),S=Y}else for(O=0;O<A.length;O++){if(U=A[O],Y=U.instance,ue=U.currentTarget,U=U.listener,Y!==S&&v.isPropagationStopped())break e;iw(v,U,ue),S=Y}}}if(ji)throw s=Bo,ji=!1,Bo=null,s}function Ft(s,c){var f=c[sA];f===void 0&&(f=c[sA]=new Set);var A=s+"__bubble";f.has(A)||(aw(c,s,2,!1),f.add(A))}function $p(s,c,f){var A=0;c&&(A|=4),aw(f,s,A,c)}var pd="_reactListening"+Math.random().toString(36).slice(2);function dc(s){if(!s[pd]){s[pd]=!0,r.forEach(function(f){f!=="selectionchange"&&(t4.has(f)||$p(f,!1,s),$p(f,!0,s))});var c=s.nodeType===9?s:s.ownerDocument;c===null||c[pd]||(c[pd]=!0,$p("selectionchange",!1,c))}}function aw(s,c,f,A){switch(Zl(c)){case 1:var v=Ba;break;case 4:v=ai;break;default:v=Ta}f=v.bind(null,c,f,s),v=void 0,!ni||c!=="touchstart"&&c!=="touchmove"&&c!=="wheel"||(v=!0),A?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 eA(s,c,f,A,v){var S=A;if((c&1)===0&&(c&2)===0&&A!==null)e:for(;;){if(A===null)return;var O=A.tag;if(O===3||O===4){var U=A.stateNode.containerInfo;if(U===v||U.nodeType===8&&U.parentNode===v)break;if(O===4)for(O=A.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=Ns(U),O===null)return;if(Y=O.tag,Y===5||Y===6){A=S=O;continue e}U=U.parentNode}}A=A.return}Or(function(){var ue=S,be=$e(f),we=[];e:{var xe=rw.get(s);if(xe!==void 0){var Oe=ci,je=s;switch(s){case"keypress":if(li(f)===0)break e;case"keydown":case"keyup":Oe=ud;break;case"focusin":je="focus",Oe=Ma;break;case"focusout":je="blur",Oe=Ma;break;case"beforeblur":case"afterblur":Oe=Ma;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":Oe=ec;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Oe=tc;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Oe=Q;break;case $b:case ew:case tw:Oe=Vp;break;case nw:Oe=re;break;case"scroll":Oe=$l;break;case"wheel":Oe=ke;break;case"copy":case"cut":case"paste":Oe=Oa;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Oe=B}var ze=(c&4)!==0,Jt=!ze&&s==="scroll",te=ze?xe!==null?xe+"Capture":null:xe;ze=[];for(var X=ue,se;X!==null;){se=X;var Ce=se.stateNode;if(se.tag===5&&Ce!==null&&(se=Ce,te!==null&&(Ce=Kr(X,te),Ce!=null&&ze.push(fc(X,Ce,se)))),Jt)break;X=X.return}0<ze.length&&(xe=new Oe(xe,je,null,f,be),we.push({event:xe,listeners:ze}))}}if((c&7)===0){e:{if(xe=s==="mouseover"||s==="pointerover",Oe=s==="mouseout"||s==="pointerout",xe&&f!==rt&&(je=f.relatedTarget||f.fromElement)&&(Ns(je)||je[di]))break e;if((Oe||xe)&&(xe=be.window===be?be:(xe=be.ownerDocument)?xe.defaultView||xe.parentWindow:window,Oe?(je=f.relatedTarget||f.toElement,Oe=ue,je=je?Ns(je):null,je!==null&&(Jt=Gr(je),je!==Jt||je.tag!==5&&je.tag!==6)&&(je=null)):(Oe=null,je=ue),Oe!==je)){if(ze=ec,Ce="onMouseLeave",te="onMouseEnter",X="mouse",(s==="pointerout"||s==="pointerover")&&(ze=B,Ce="onPointerLeave",te="onPointerEnter",X="pointer"),Jt=Oe==null?xe:Ha(Oe),se=je==null?xe:Ha(je),xe=new ze(Ce,X+"leave",Oe,f,be),xe.target=Jt,xe.relatedTarget=se,Ce=null,Ns(be)===ue&&(ze=new ze(te,X+"enter",je,f,be),ze.target=se,ze.relatedTarget=Jt,Ce=ze),Jt=Ce,Oe&&je)t:{for(ze=Oe,te=je,X=0,se=ze;se;se=za(se))X++;for(se=0,Ce=te;Ce;Ce=za(Ce))se++;for(;0<X-se;)ze=za(ze),X--;for(;0<se-X;)te=za(te),se--;for(;X--;){if(ze===te||te!==null&&ze===te.alternate)break t;ze=za(ze),te=za(te)}ze=null}else ze=null;Oe!==null&&lw(we,xe,Oe,ze,!1),je!==null&&Jt!==null&&lw(we,Jt,je,ze,!0)}}e:{if(xe=ue?Ha(ue):window,Oe=xe.nodeName&&xe.nodeName.toLowerCase(),Oe==="select"||Oe==="input"&&xe.type==="file")var Qe=W5;else if(Qb(xe))if(Ub)Qe=G5;else{Qe=q5;var Ue=Y5}else(Oe=xe.nodeName)&&Oe.toLowerCase()==="input"&&(xe.type==="checkbox"||xe.type==="radio")&&(Qe=K5);if(Qe&&(Qe=Qe(s,ue))){Hb(we,Qe,f,be);break e}Ue&&Ue(s,xe,ue),s==="focusout"&&(Ue=xe._wrapperState)&&Ue.controlled&&xe.type==="number"&&kt(xe,"number",xe.value)}switch(Ue=ue?Ha(ue):window,s){case"focusin":(Qb(Ue)||Ue.contentEditable==="true")&&(ja=Ue,Kp=ue,cc=null);break;case"focusout":cc=Kp=ja=null;break;case"mousedown":Gp=!0;break;case"contextmenu":case"mouseup":case"dragend":Gp=!1,Jb(we,f,be);break;case"selectionchange":if(Z5)break;case"keydown":case"keyup":Jb(we,f,be)}var Ve;if(it)e:{switch(s){case"compositionstart":var Ze="onCompositionStart";break e;case"compositionend":Ze="onCompositionEnd";break e;case"compositionupdate":Ze="onCompositionUpdate";break e}Ze=void 0}else No?js(s,f)&&(Ze="onCompositionEnd"):s==="keydown"&&f.keyCode===229&&(Ze="onCompositionStart");Ze&&(_n&&f.locale!=="ko"&&(No||Ze!=="onCompositionStart"?Ze==="onCompositionEnd"&&No&&(Ve=od()):(eo=be,Ia="value"in eo?eo.value:eo.textContent,No=!0)),Ue=Ad(ue,Ze),0<Ue.length&&(Ze=new rc(Ze,s,null,f,be),we.push({event:Ze,listeners:Ue}),Ve?Ze.data=Ve:(Ve=ic(f),Ve!==null&&(Ze.data=Ve)))),(Ve=Tt?Q5(s,f):H5(s,f))&&(ue=Ad(ue,"onBeforeInput"),0<ue.length&&(be=new rc("onBeforeInput","beforeinput",null,f,be),we.push({event:be,listeners:ue}),be.data=Ve))}sw(we,c)})}function fc(s,c,f){return{instance:s,listener:c,currentTarget:f}}function Ad(s,c){for(var f=c+"Capture",A=[];s!==null;){var v=s,S=v.stateNode;v.tag===5&&S!==null&&(v=S,S=Kr(s,f),S!=null&&A.unshift(fc(s,S,v)),S=Kr(s,c),S!=null&&A.push(fc(s,S,v))),s=s.return}return A}function za(s){if(s===null)return null;do s=s.return;while(s&&s.tag!==5);return s||null}function lw(s,c,f,A,v){for(var S=c._reactName,O=[];f!==null&&f!==A;){var U=f,Y=U.alternate,ue=U.stateNode;if(Y!==null&&Y===A)break;U.tag===5&&ue!==null&&(U=ue,v?(Y=Kr(f,S),Y!=null&&O.unshift(fc(f,Y,U))):v||(Y=Kr(f,S),Y!=null&&O.push(fc(f,Y,U)))),f=f.return}O.length!==0&&s.push({event:c,listeners:O})}var n4=/\r\n?/g,r4=/\u0000|\uFFFD/g;function cw(s){return(typeof s=="string"?s:""+s).replace(n4,`
|
|
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{he=!1,Error.prepareStackTrace=f}return(s=s?s.displayName||s.name:"")?$(s):""}function ve(s){switch(s.tag){case 5:return $(s.type);case 16:return $("Lazy");case 13:return $("Suspense");case 19:return $("SuspenseList");case 0:case 2:case 15:return s=de(s.type,!1),s;case 11:return s=de(s.type.render,!1),s;case 1:return s=de(s.type,!0),s;default:return""}}function ye(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 W:return"StrictMode";case Z:return"Suspense";case ce:return"SuspenseList"}if(typeof s=="object")switch(s.$$typeof){case J:return(s.displayName||"Context")+".Consumer";case q:return(s._context.displayName||"Context")+".Provider";case V:var c=s.render;return s=s.displayName,s||(s=c.displayName||c.name||"",s=s!==""?"ForwardRef("+s+")":"ForwardRef"),s;case ne:return c=s.displayName||null,c!==null?c:ye(s.type)||"Memo";case fe:c=s._payload,s=s._init;try{return ye(s(c))}catch{}}return null}function De(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 ye(c);case 8:return c===W?"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 _e(s){switch(typeof s){case"boolean":case"number":case"string":case"undefined":return s;case"object":return s;default:return""}}function Be(s){var c=s.type;return(s=s.nodeName)&&s.toLowerCase()==="input"&&(c==="checkbox"||c==="radio")}function He(s){var c=Be(s)?"checked":"value",f=Object.getOwnPropertyDescriptor(s.constructor.prototype,c),A=""+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){A=""+O,S.call(this,O)}}),Object.defineProperty(s,c,{enumerable:f.enumerable}),{getValue:function(){return A},setValue:function(O){A=""+O},stopTracking:function(){s._valueTracker=null,delete s[c]}}}}function lt(s){s._valueTracker||(s._valueTracker=He(s))}function Nt(s){if(!s)return!1;var c=s._valueTracker;if(!c)return!0;var f=c.getValue(),A="";return s&&(A=Be(s)?s.checked?"true":"false":s.value),s=A,s!==f?(c.setValue(s),!0):!1}function et(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 xt(s,c){var f=c.checked;return pe({},c,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:f??s._wrapperState.initialChecked})}function an(s,c){var f=c.defaultValue==null?"":c.defaultValue,A=c.checked!=null?c.checked:c.defaultChecked;f=_e(c.value!=null?c.value:f),s._wrapperState={initialChecked:A,initialValue:f,controlled:c.type==="checkbox"||c.type==="radio"?c.checked!=null:c.value!=null}}function Mt(s,c){c=c.checked,c!=null&&D(s,"checked",c,!1)}function Wt(s,c){Mt(s,c);var f=_e(c.value),A=c.type;if(f!=null)A==="number"?(f===0&&s.value===""||s.value!=f)&&(s.value=""+f):s.value!==""+f&&(s.value=""+f);else if(A==="submit"||A==="reset"){s.removeAttribute("value");return}c.hasOwnProperty("value")?kt(s,c.type,f):c.hasOwnProperty("defaultValue")&&kt(s,c.type,_e(c.defaultValue)),c.checked==null&&c.defaultChecked!=null&&(s.defaultChecked=!!c.defaultChecked)}function pt(s,c,f){if(c.hasOwnProperty("value")||c.hasOwnProperty("defaultValue")){var A=c.type;if(!(A!=="submit"&&A!=="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 kt(s,c,f){(c!=="number"||et(s.ownerDocument)!==s)&&(f==null?s.defaultValue=""+s._wrapperState.initialValue:s.defaultValue!==""+f&&(s.defaultValue=""+f))}var dt=Array.isArray;function zt(s,c,f,A){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&&A&&(s[f].defaultSelected=!0)}else{for(f=""+_e(f),c=null,v=0;v<s.length;v++){if(s[v].value===f){s[v].selected=!0,A&&(s[v].defaultSelected=!0);return}c!==null||s[v].disabled||(c=s[v])}c!==null&&(c.selected=!0)}}function Lt(s,c){if(c.dangerouslySetInnerHTML!=null)throw Error(n(91));return pe({},c,{value:void 0,defaultValue:void 0,children:""+s._wrapperState.initialValue})}function At(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(dt(f)){if(1<f.length)throw Error(n(93));f=f[0]}c=f}c==null&&(c=""),f=c}s._wrapperState={initialValue:_e(f)}}function bn(s,c){var f=_e(c.value),A=_e(c.defaultValue);f!=null&&(f=""+f,f!==s.value&&(s.value=f),c.defaultValue==null&&s.defaultValue!==f&&(s.defaultValue=f)),A!=null&&(s.defaultValue=""+A)}function en(s){var c=s.textContent;c===s._wrapperState.initialValue&&c!==""&&c!==null&&(s.value=c)}function dn(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 fn(s,c){return s==null||s==="http://www.w3.org/1999/xhtml"?dn(c):s==="http://www.w3.org/2000/svg"&&c==="foreignObject"?"http://www.w3.org/1999/xhtml":s}var Gt,Ae=(function(s){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(c,f,A,v){MSApp.execUnsafeLocalFunction(function(){return s(c,f,A,v)})}:s})(function(s,c){if(s.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in s)s.innerHTML=c;else{for(Gt=Gt||document.createElement("div"),Gt.innerHTML="<svg>"+c.valueOf().toString()+"</svg>",c=Gt.firstChild;s.firstChild;)s.removeChild(s.firstChild);for(;c.firstChild;)s.appendChild(c.firstChild)}});function Me(s,c){if(c){var f=s.firstChild;if(f&&f===s.lastChild&&f.nodeType===3){f.nodeValue=c;return}}s.textContent=c}var Fe={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},tt=["Webkit","ms","Moz","O"];Object.keys(Fe).forEach(function(s){tt.forEach(function(c){c=c+s.charAt(0).toUpperCase()+s.substring(1),Fe[c]=Fe[s]})});function qe(s,c,f){return c==null||typeof c=="boolean"||c===""?"":f||typeof c!="number"||c===0||Fe.hasOwnProperty(s)&&Fe[s]?(""+c).trim():c+"px"}function le(s,c){s=s.style;for(var f in c)if(c.hasOwnProperty(f)){var A=f.indexOf("--")===0,v=qe(f,c[f],A);f==="float"&&(f="cssFloat"),A?s.setProperty(f,v):s[f]=v}}var Ie=pe({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 Ne(s,c){if(c){if(Ie[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 ot(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 rt=null;function $e(s){return s=s.target||s.srcElement||window,s.correspondingUseElement&&(s=s.correspondingUseElement),s.nodeType===3?s.parentNode:s}var St=null,bt=null,ut=null;function hn(s){if(s=pc(s)){if(typeof St!="function")throw Error(n(280));var c=s.stateNode;c&&(c=vd(c),St(s.stateNode,s.type,c))}}function gr(s){bt?ut?ut.push(s):ut=[s]:bt=s}function jn(){if(bt){var s=bt,c=ut;if(ut=bt=null,hn(s),c)for(s=0;s<c.length;s++)hn(c[s])}}function tn(s,c){return s(c)}function qr(){}var wn=!1;function Or(s,c,f){if(wn)return s(c,f);wn=!0;try{return tn(s,c,f)}finally{wn=!1,(bt!==null||ut!==null)&&(qr(),jn())}}function Kr(s,c){var f=s.stateNode;if(f===null)return null;var A=vd(f);if(A===null)return null;f=A[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":(A=!A.disabled)||(s=s.type,A=!(s==="button"||s==="input"||s==="select"||s==="textarea")),s=!A;break e;default:s=!1}if(s)return null;if(f&&typeof f!="function")throw Error(n(231,c,typeof f));return f}var ni=!1;if(l)try{var Po={};Object.defineProperty(Po,"passive",{get:function(){ni=!0}}),window.addEventListener("test",Po,Po),window.removeEventListener("test",Po,Po)}catch{ni=!1}function ka(s,c,f,A,v,S,O,U,Y){var ue=Array.prototype.slice.call(arguments,3);try{c.apply(f,ue)}catch(be){this.onError(be)}}var Do=!1,Fi=null,ji=!1,Bo=null,Sa={onError:function(s){Do=!0,Fi=s}};function Ni(s,c,f,A,v,S,O,U,Y){Do=!1,Fi=null,ka.apply(Sa,arguments)}function Es(s,c,f,A,v,S,O,U,Y){if(Ni.apply(this,arguments),Do){if(Do){var ue=Fi;Do=!1,Fi=null}else throw Error(n(198));ji||(ji=!0,Bo=ue)}}function Gr(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 To(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 Ea(s){if(Gr(s)!==s)throw Error(n(188))}function Cs(s){var c=s.alternate;if(!c){if(c=Gr(s),c===null)throw Error(n(188));return c!==s?null:s}for(var f=s,A=c;;){var v=f.return;if(v===null)break;var S=v.alternate;if(S===null){if(A=v.return,A!==null){f=A;continue}break}if(v.child===S.child){for(S=v.child;S;){if(S===f)return Ea(v),s;if(S===A)return Ea(v),c;S=S.sibling}throw Error(n(188))}if(f.return!==A.return)f=v,A=S;else{for(var O=!1,U=v.child;U;){if(U===f){O=!0,f=v,A=S;break}if(U===A){O=!0,A=v,f=S;break}U=U.sibling}if(!O){for(U=S.child;U;){if(U===f){O=!0,f=S,A=v;break}if(U===A){O=!0,A=S,f=v;break}U=U.sibling}if(!O)throw Error(n(189))}}if(f.alternate!==A)throw Error(n(190))}if(f.tag!==3)throw Error(n(188));return f.stateNode.current===f?s:c}function ri(s){return s=Cs(s),s!==null?Io(s):null}function Io(s){if(s.tag===5||s.tag===6)return s;for(s=s.child;s!==null;){var c=Io(s);if(c!==null)return c;s=s.sibling}return null}var oi=e.unstable_scheduleCallback,Ps=e.unstable_cancelCallback,Ca=e.unstable_shouldYield,Pa=e.unstable_requestPaint,Bt=e.unstable_now,kn=e.unstable_getCurrentPriorityLevel,zi=e.unstable_ImmediatePriority,Qi=e.unstable_UserBlockingPriority,_o=e.unstable_NormalPriority,Da=e.unstable_LowPriority,Xr=e.unstable_IdlePriority,mr=null,Nn=null;function ii(s){if(Nn&&typeof Nn.onCommitFiberRoot=="function")try{Nn.onCommitFiberRoot(mr,s,void 0,(s.current.flags&128)===128)}catch{}}var ln=Math.clz32?Math.clz32:Ts,Ds=Math.log,Bs=Math.LN2;function Ts(s){return s>>>=0,s===0?32:31-(Ds(s)/Bs|0)|0}var Jr=64,si=4194304;function Mo(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 Oo(s,c){var f=s.pendingLanes;if(f===0)return 0;var A=0,v=s.suspendedLanes,S=s.pingedLanes,O=f&268435455;if(O!==0){var U=O&~v;U!==0?A=Mo(U):(S&=O,S!==0&&(A=Mo(S)))}else O=f&~v,O!==0?A=Mo(O):S!==0&&(A=Mo(S));if(A===0)return 0;if(c!==0&&c!==A&&(c&v)===0&&(v=A&-A,S=c&-c,v>=S||v===16&&(S&4194240)!==0))return c;if((A&4)!==0&&(A|=f&16),c=s.entangledLanes,c!==0)for(s=s.entanglements,c&=A;0<c;)f=31-ln(c),v=1<<f,A|=s[f],c&=~v;return A}function b(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 T(s,c){for(var f=s.suspendedLanes,A=s.pingedLanes,v=s.expirationTimes,S=s.pendingLanes;0<S;){var O=31-ln(S),U=1<<O,Y=v[O];Y===-1?((U&f)===0||(U&A)!==0)&&(v[O]=b(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=Jr;return Jr<<=1,(Jr&4194240)===0&&(Jr=64),s}function ie(s){for(var c=[],f=0;31>f;f++)c.push(s);return c}function ee(s,c,f){s.pendingLanes|=c,c!==536870912&&(s.suspendedLanes=0,s.pingedLanes=0),s=s.eventTimes,c=31-ln(c),s[c]=f}function ge(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 A=s.eventTimes;for(s=s.expirationTimes;0<f;){var v=31-ln(f),S=1<<v;c[v]=0,A[v]=-1,s[v]=-1,f&=~S}}function Pe(s,c){var f=s.entangledLanes|=c;for(s=s.entanglements;f;){var A=31-ln(f),v=1<<A;v&c|s[A]&c&&(s[A]|=c),f&=~v}}var Te=0;function Ye(s){return s&=-s,1<s?4<s?(s&268435455)!==0?16:536870912:4:1}var nt,Ct,Xn,Jn,Tn,Zr=!1,Zn=[],$n=null,In=null,vr=null,er=new Map,Ro=new Map,Lo=[],Hp="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 rd(s,c){switch(s){case"focusin":case"focusout":$n=null;break;case"dragenter":case"dragleave":In=null;break;case"mouseover":case"mouseout":vr=null;break;case"pointerover":case"pointerout":er.delete(c.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ro.delete(c.pointerId)}}function Is(s,c,f,A,v,S){return s===null||s.nativeEvent!==S?(s={blockedOn:c,domEventName:f,eventSystemFlags:A,nativeEvent:S,targetContainers:[v]},c!==null&&(c=pc(c),c!==null&&Ct(c)),s):(s.eventSystemFlags|=A,c=s.targetContainers,v!==null&&c.indexOf(v)===-1&&c.push(v),s)}function Up(s,c,f,A,v){switch(c){case"focusin":return $n=Is($n,s,c,f,A,v),!0;case"dragenter":return In=Is(In,s,c,f,A,v),!0;case"mouseover":return vr=Is(vr,s,c,f,A,v),!0;case"pointerover":var S=v.pointerId;return er.set(S,Is(er.get(S)||null,s,c,f,A,v)),!0;case"gotpointercapture":return S=v.pointerId,Ro.set(S,Is(Ro.get(S)||null,s,c,f,A,v)),!0}return!1}function Rr(s){var c=Ns(s.target);if(c!==null){var f=Gr(c);if(f!==null){if(c=f.tag,c===13){if(c=To(f),c!==null){s.blockedOn=c,Tn(s.priority,function(){Xn(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 Hi(s){if(s.blockedOn!==null)return!1;for(var c=s.targetContainers;0<c.length;){var f=Ms(s.domEventName,s.eventSystemFlags,c[0],s.nativeEvent);if(f===null){f=s.nativeEvent;var A=new f.constructor(f.type,f);rt=A,f.target.dispatchEvent(A),rt=null}else return c=pc(f),c!==null&&Ct(c),s.blockedOn=f,!1;c.shift()}return!0}function _s(s,c,f){Hi(s)&&f.delete(c)}function Pt(){Zr=!1,$n!==null&&Hi($n)&&($n=null),In!==null&&Hi(In)&&(In=null),vr!==null&&Hi(vr)&&(vr=null),er.forEach(_s),Ro.forEach(_s)}function $r(s,c){s.blockedOn===c&&(s.blockedOn=null,Zr||(Zr=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,Pt)))}function Fo(s){function c(v){return $r(v,s)}if(0<Zn.length){$r(Zn[0],s);for(var f=1;f<Zn.length;f++){var A=Zn[f];A.blockedOn===s&&(A.blockedOn=null)}}for($n!==null&&$r($n,s),In!==null&&$r(In,s),vr!==null&&$r(vr,s),er.forEach(c),Ro.forEach(c),f=0;f<Lo.length;f++)A=Lo[f],A.blockedOn===s&&(A.blockedOn=null);for(;0<Lo.length&&(f=Lo[0],f.blockedOn===null);)Rr(f),f.blockedOn===null&&Lo.shift()}var Lr=C.ReactCurrentBatchConfig,yr=!0;function Ba(s,c,f,A){var v=Te,S=Lr.transition;Lr.transition=null;try{Te=1,Ta(s,c,f,A)}finally{Te=v,Lr.transition=S}}function ai(s,c,f,A){var v=Te,S=Lr.transition;Lr.transition=null;try{Te=4,Ta(s,c,f,A)}finally{Te=v,Lr.transition=S}}function Ta(s,c,f,A){if(yr){var v=Ms(s,c,f,A);if(v===null)eA(s,c,A,Ui,f),rd(s,A);else if(Up(v,s,c,f,A))A.stopPropagation();else if(rd(s,A),c&4&&-1<Hp.indexOf(s)){for(;v!==null;){var S=pc(v);if(S!==null&&nt(S),S=Ms(s,c,f,A),S===null&&eA(s,c,A,Ui,f),S===v)break;v=S}v!==null&&A.stopPropagation()}else eA(s,c,A,null,f)}}var Ui=null;function Ms(s,c,f,A){if(Ui=null,s=$e(A),s=Ns(s),s!==null)if(c=Gr(s),c===null)s=null;else if(f=c.tag,f===13){if(s=To(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 Ui=s,null}function Zl(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(kn()){case zi:return 1;case Qi:return 4;case _o:case Da:return 16;case Xr:return 536870912;default:return 16}default:return 16}}var eo=null,Ia=null,_a=null;function od(){if(_a)return _a;var s,c=Ia,f=c.length,A,v="value"in eo?eo.value:eo.textContent,S=v.length;for(s=0;s<f&&c[s]===v[s];s++);var O=f-s;for(A=1;A<=O&&c[f-A]===v[S-A];A++);return _a=v.slice(s,1<A?1-A:void 0)}function li(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 Os(){return!0}function Rs(){return!1}function Sn(s){function c(f,A,v,S,O){this._reactName=f,this._targetInst=v,this.type=A,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)?Os:Rs,this.isPropagationStopped=Rs,this}return pe(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=Os)},stopPropagation:function(){var f=this.nativeEvent;f&&(f.stopPropagation?f.stopPropagation():typeof f.cancelBubble!="unknown"&&(f.cancelBubble=!0),this.isPropagationStopped=Os)},persist:function(){},isPersistent:Os}),c}var Vi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(s){return s.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ci=Sn(Vi),Ls=pe({},Vi,{view:0,detail:0}),$l=Sn(Ls),Wi,ui,jo,Fs=pe({},Ls,{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!==jo&&(jo&&s.type==="mousemove"?(Wi=s.screenX-jo.screenX,ui=s.screenY-jo.screenY):ui=Wi=0,jo=s),Wi)},movementY:function(s){return"movementY"in s?s.movementY:ui}}),ec=Sn(Fs),id=pe({},Fs,{dataTransfer:0}),tc=Sn(id),zn=pe({},Ls,{relatedTarget:0}),Ma=Sn(zn),nc=pe({},Vi,{animationName:0,elapsedTime:0,pseudoElement:0}),Vp=Sn(nc),sd=pe({},Vi,{clipboardData:function(s){return"clipboardData"in s?s.clipboardData:window.clipboardData}}),Oa=Sn(sd),ad=pe({},Vi,{data:0}),rc=Sn(ad),Ra={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},La={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"},ld={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function cd(s){var c=this.nativeEvent;return c.getModifierState?c.getModifierState(s):(s=ld[s])?!!c[s]:!1}function Fa(){return cd}var oc=pe({},Ls,{key:function(s){if(s.key){var c=Ra[s.key]||s.key;if(c!=="Unidentified")return c}return s.type==="keypress"?(s=li(s),s===13?"Enter":String.fromCharCode(s)):s.type==="keydown"||s.type==="keyup"?La[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"?li(s):0},keyCode:function(s){return s.type==="keydown"||s.type==="keyup"?s.keyCode:0},which:function(s){return s.type==="keypress"?li(s):s.type==="keydown"||s.type==="keyup"?s.keyCode:0}}),ud=Sn(oc),k=pe({},Fs,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),B=Sn(k),L=pe({},Ls,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Fa}),Q=Sn(L),ae=pe({},Vi,{propertyName:0,elapsedTime:0,pseudoElement:0}),re=Sn(ae),me=pe({},Fs,{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=Sn(me),We=[9,13,27,32],it=l&&"CompositionEvent"in window,Je=null;l&&"documentMode"in document&&(Je=document.documentMode);var Tt=l&&"TextEvent"in window&&!Je,_n=l&&(!it||Je&&8<Je&&11>=Je),tr=" ",nr=!1;function js(s,c){switch(s){case"keyup":return We.indexOf(c.keyCode)!==-1;case"keydown":return c.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ic(s){return s=s.detail,typeof s=="object"&&"data"in s?s.data:null}var No=!1;function QM(s,c){switch(s){case"compositionend":return ic(c);case"keypress":return c.which!==32?null:(nr=!0,tr);case"textInput":return s=c.data,s===tr&&nr?null:s;default:return null}}function HM(s,c){if(No)return s==="compositionend"||!it&&js(s,c)?(s=od(),_a=Ia=eo=null,No=!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 _n&&c.locale!=="ko"?null:c.data;default:return null}}var UM={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 Qb(s){var c=s&&s.nodeName&&s.nodeName.toLowerCase();return c==="input"?!!UM[s.type]:c==="textarea"}function Hb(s,c,f,A){gr(A),c=Ad(c,"onChange"),0<c.length&&(f=new ci("onChange","change",null,f,A),s.push({event:f,listeners:c}))}var sc=null,ac=null;function VM(s){sw(s,0)}function dd(s){var c=Ha(s);if(Nt(c))return s}function WM(s,c){if(s==="change")return c}var Ub=!1;if(l){var Wp;if(l){var Yp="oninput"in document;if(!Yp){var Vb=document.createElement("div");Vb.setAttribute("oninput","return;"),Yp=typeof Vb.oninput=="function"}Wp=Yp}else Wp=!1;Ub=Wp&&(!document.documentMode||9<document.documentMode)}function Wb(){sc&&(sc.detachEvent("onpropertychange",Yb),ac=sc=null)}function Yb(s){if(s.propertyName==="value"&&dd(ac)){var c=[];Hb(c,ac,s,$e(s)),Or(VM,c)}}function YM(s,c,f){s==="focusin"?(Wb(),sc=c,ac=f,sc.attachEvent("onpropertychange",Yb)):s==="focusout"&&Wb()}function qM(s){if(s==="selectionchange"||s==="keyup"||s==="keydown")return dd(ac)}function KM(s,c){if(s==="click")return dd(c)}function GM(s,c){if(s==="input"||s==="change")return dd(c)}function XM(s,c){return s===c&&(s!==0||1/s===1/c)||s!==s&&c!==c}var to=typeof Object.is=="function"?Object.is:XM;function lc(s,c){if(to(s,c))return!0;if(typeof s!="object"||s===null||typeof c!="object"||c===null)return!1;var f=Object.keys(s),A=Object.keys(c);if(f.length!==A.length)return!1;for(A=0;A<f.length;A++){var v=f[A];if(!u.call(c,v)||!to(s[v],c[v]))return!1}return!0}function qb(s){for(;s&&s.firstChild;)s=s.firstChild;return s}function Kb(s,c){var f=qb(s);s=0;for(var A;f;){if(f.nodeType===3){if(A=s+f.textContent.length,s<=c&&A>=c)return{node:f,offset:c-s};s=A}e:{for(;f;){if(f.nextSibling){f=f.nextSibling;break e}f=f.parentNode}f=void 0}f=qb(f)}}function Gb(s,c){return s&&c?s===c?!0:s&&s.nodeType===3?!1:c&&c.nodeType===3?Gb(s,c.parentNode):"contains"in s?s.contains(c):s.compareDocumentPosition?!!(s.compareDocumentPosition(c)&16):!1:!1}function Xb(){for(var s=window,c=et();c instanceof s.HTMLIFrameElement;){try{var f=typeof c.contentWindow.location.href=="string"}catch{f=!1}if(f)s=c.contentWindow;else break;c=et(s.document)}return c}function qp(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 JM(s){var c=Xb(),f=s.focusedElem,A=s.selectionRange;if(c!==f&&f&&f.ownerDocument&&Gb(f.ownerDocument.documentElement,f)){if(A!==null&&qp(f)){if(c=A.start,s=A.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(A.start,v);A=A.end===void 0?S:Math.min(A.end,v),!s.extend&&S>A&&(v=A,A=S,S=v),v=Kb(f,S);var O=Kb(f,A);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>A?(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 ZM=l&&"documentMode"in document&&11>=document.documentMode,ja=null,Kp=null,cc=null,Gp=!1;function Jb(s,c,f){var A=f.window===f?f.document:f.nodeType===9?f:f.ownerDocument;Gp||ja==null||ja!==et(A)||(A=ja,"selectionStart"in A&&qp(A)?A={start:A.selectionStart,end:A.selectionEnd}:(A=(A.ownerDocument&&A.ownerDocument.defaultView||window).getSelection(),A={anchorNode:A.anchorNode,anchorOffset:A.anchorOffset,focusNode:A.focusNode,focusOffset:A.focusOffset}),cc&&lc(cc,A)||(cc=A,A=Ad(Kp,"onSelect"),0<A.length&&(c=new ci("onSelect","select",null,c,f),s.push({event:c,listeners:A}),c.target=ja)))}function fd(s,c){var f={};return f[s.toLowerCase()]=c.toLowerCase(),f["Webkit"+s]="webkit"+c,f["Moz"+s]="moz"+c,f}var Na={animationend:fd("Animation","AnimationEnd"),animationiteration:fd("Animation","AnimationIteration"),animationstart:fd("Animation","AnimationStart"),transitionend:fd("Transition","TransitionEnd")},Xp={},Zb={};l&&(Zb=document.createElement("div").style,"AnimationEvent"in window||(delete Na.animationend.animation,delete Na.animationiteration.animation,delete Na.animationstart.animation),"TransitionEvent"in window||delete Na.transitionend.transition);function hd(s){if(Xp[s])return Xp[s];if(!Na[s])return s;var c=Na[s],f;for(f in c)if(c.hasOwnProperty(f)&&f in Zb)return Xp[s]=c[f];return s}var $b=hd("animationend"),ew=hd("animationiteration"),tw=hd("animationstart"),nw=hd("transitionend"),rw=new Map,ow="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 Yi(s,c){rw.set(s,c),i(c,[s])}for(var Jp=0;Jp<ow.length;Jp++){var Zp=ow[Jp],$M=Zp.toLowerCase(),e4=Zp[0].toUpperCase()+Zp.slice(1);Yi($M,"on"+e4)}Yi($b,"onAnimationEnd"),Yi(ew,"onAnimationIteration"),Yi(tw,"onAnimationStart"),Yi("dblclick","onDoubleClick"),Yi("focusin","onFocus"),Yi("focusout","onBlur"),Yi(nw,"onTransitionEnd"),a("onMouseEnter",["mouseout","mouseover"]),a("onMouseLeave",["mouseout","mouseover"]),a("onPointerEnter",["pointerout","pointerover"]),a("onPointerLeave",["pointerout","pointerover"]),i("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),i("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),i("onBeforeInput",["compositionend","keypress","textInput","paste"]),i("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),i("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),i("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var uc="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(" "),t4=new Set("cancel close invalid load scroll toggle".split(" ").concat(uc));function iw(s,c,f){var A=s.type||"unknown-event";s.currentTarget=f,Es(A,c,void 0,s),s.currentTarget=null}function sw(s,c){c=(c&4)!==0;for(var f=0;f<s.length;f++){var A=s[f],v=A.event;A=A.listeners;e:{var S=void 0;if(c)for(var O=A.length-1;0<=O;O--){var U=A[O],Y=U.instance,ue=U.currentTarget;if(U=U.listener,Y!==S&&v.isPropagationStopped())break e;iw(v,U,ue),S=Y}else for(O=0;O<A.length;O++){if(U=A[O],Y=U.instance,ue=U.currentTarget,U=U.listener,Y!==S&&v.isPropagationStopped())break e;iw(v,U,ue),S=Y}}}if(ji)throw s=Bo,ji=!1,Bo=null,s}function Ft(s,c){var f=c[sA];f===void 0&&(f=c[sA]=new Set);var A=s+"__bubble";f.has(A)||(aw(c,s,2,!1),f.add(A))}function $p(s,c,f){var A=0;c&&(A|=4),aw(f,s,A,c)}var pd="_reactListening"+Math.random().toString(36).slice(2);function dc(s){if(!s[pd]){s[pd]=!0,r.forEach(function(f){f!=="selectionchange"&&(t4.has(f)||$p(f,!1,s),$p(f,!0,s))});var c=s.nodeType===9?s:s.ownerDocument;c===null||c[pd]||(c[pd]=!0,$p("selectionchange",!1,c))}}function aw(s,c,f,A){switch(Zl(c)){case 1:var v=Ba;break;case 4:v=ai;break;default:v=Ta}f=v.bind(null,c,f,s),v=void 0,!ni||c!=="touchstart"&&c!=="touchmove"&&c!=="wheel"||(v=!0),A?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 eA(s,c,f,A,v){var S=A;if((c&1)===0&&(c&2)===0&&A!==null)e:for(;;){if(A===null)return;var O=A.tag;if(O===3||O===4){var U=A.stateNode.containerInfo;if(U===v||U.nodeType===8&&U.parentNode===v)break;if(O===4)for(O=A.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=Ns(U),O===null)return;if(Y=O.tag,Y===5||Y===6){A=S=O;continue e}U=U.parentNode}}A=A.return}Or(function(){var ue=S,be=$e(f),we=[];e:{var xe=rw.get(s);if(xe!==void 0){var Oe=ci,je=s;switch(s){case"keypress":if(li(f)===0)break e;case"keydown":case"keyup":Oe=ud;break;case"focusin":je="focus",Oe=Ma;break;case"focusout":je="blur",Oe=Ma;break;case"beforeblur":case"afterblur":Oe=Ma;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":Oe=ec;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Oe=tc;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Oe=Q;break;case $b:case ew:case tw:Oe=Vp;break;case nw:Oe=re;break;case"scroll":Oe=$l;break;case"wheel":Oe=ke;break;case"copy":case"cut":case"paste":Oe=Oa;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Oe=B}var ze=(c&4)!==0,Jt=!ze&&s==="scroll",te=ze?xe!==null?xe+"Capture":null:xe;ze=[];for(var X=ue,se;X!==null;){se=X;var Ce=se.stateNode;if(se.tag===5&&Ce!==null&&(se=Ce,te!==null&&(Ce=Kr(X,te),Ce!=null&&ze.push(fc(X,Ce,se)))),Jt)break;X=X.return}0<ze.length&&(xe=new Oe(xe,je,null,f,be),we.push({event:xe,listeners:ze}))}}if((c&7)===0){e:{if(xe=s==="mouseover"||s==="pointerover",Oe=s==="mouseout"||s==="pointerout",xe&&f!==rt&&(je=f.relatedTarget||f.fromElement)&&(Ns(je)||je[di]))break e;if((Oe||xe)&&(xe=be.window===be?be:(xe=be.ownerDocument)?xe.defaultView||xe.parentWindow:window,Oe?(je=f.relatedTarget||f.toElement,Oe=ue,je=je?Ns(je):null,je!==null&&(Jt=Gr(je),je!==Jt||je.tag!==5&&je.tag!==6)&&(je=null)):(Oe=null,je=ue),Oe!==je)){if(ze=ec,Ce="onMouseLeave",te="onMouseEnter",X="mouse",(s==="pointerout"||s==="pointerover")&&(ze=B,Ce="onPointerLeave",te="onPointerEnter",X="pointer"),Jt=Oe==null?xe:Ha(Oe),se=je==null?xe:Ha(je),xe=new ze(Ce,X+"leave",Oe,f,be),xe.target=Jt,xe.relatedTarget=se,Ce=null,Ns(be)===ue&&(ze=new ze(te,X+"enter",je,f,be),ze.target=se,ze.relatedTarget=Jt,Ce=ze),Jt=Ce,Oe&&je)t:{for(ze=Oe,te=je,X=0,se=ze;se;se=za(se))X++;for(se=0,Ce=te;Ce;Ce=za(Ce))se++;for(;0<X-se;)ze=za(ze),X--;for(;0<se-X;)te=za(te),se--;for(;X--;){if(ze===te||te!==null&&ze===te.alternate)break t;ze=za(ze),te=za(te)}ze=null}else ze=null;Oe!==null&&lw(we,xe,Oe,ze,!1),je!==null&&Jt!==null&&lw(we,Jt,je,ze,!0)}}e:{if(xe=ue?Ha(ue):window,Oe=xe.nodeName&&xe.nodeName.toLowerCase(),Oe==="select"||Oe==="input"&&xe.type==="file")var Qe=WM;else if(Qb(xe))if(Ub)Qe=GM;else{Qe=qM;var Ue=YM}else(Oe=xe.nodeName)&&Oe.toLowerCase()==="input"&&(xe.type==="checkbox"||xe.type==="radio")&&(Qe=KM);if(Qe&&(Qe=Qe(s,ue))){Hb(we,Qe,f,be);break e}Ue&&Ue(s,xe,ue),s==="focusout"&&(Ue=xe._wrapperState)&&Ue.controlled&&xe.type==="number"&&kt(xe,"number",xe.value)}switch(Ue=ue?Ha(ue):window,s){case"focusin":(Qb(Ue)||Ue.contentEditable==="true")&&(ja=Ue,Kp=ue,cc=null);break;case"focusout":cc=Kp=ja=null;break;case"mousedown":Gp=!0;break;case"contextmenu":case"mouseup":case"dragend":Gp=!1,Jb(we,f,be);break;case"selectionchange":if(ZM)break;case"keydown":case"keyup":Jb(we,f,be)}var Ve;if(it)e:{switch(s){case"compositionstart":var Ze="onCompositionStart";break e;case"compositionend":Ze="onCompositionEnd";break e;case"compositionupdate":Ze="onCompositionUpdate";break e}Ze=void 0}else No?js(s,f)&&(Ze="onCompositionEnd"):s==="keydown"&&f.keyCode===229&&(Ze="onCompositionStart");Ze&&(_n&&f.locale!=="ko"&&(No||Ze!=="onCompositionStart"?Ze==="onCompositionEnd"&&No&&(Ve=od()):(eo=be,Ia="value"in eo?eo.value:eo.textContent,No=!0)),Ue=Ad(ue,Ze),0<Ue.length&&(Ze=new rc(Ze,s,null,f,be),we.push({event:Ze,listeners:Ue}),Ve?Ze.data=Ve:(Ve=ic(f),Ve!==null&&(Ze.data=Ve)))),(Ve=Tt?QM(s,f):HM(s,f))&&(ue=Ad(ue,"onBeforeInput"),0<ue.length&&(be=new rc("onBeforeInput","beforeinput",null,f,be),we.push({event:be,listeners:ue}),be.data=Ve))}sw(we,c)})}function fc(s,c,f){return{instance:s,listener:c,currentTarget:f}}function Ad(s,c){for(var f=c+"Capture",A=[];s!==null;){var v=s,S=v.stateNode;v.tag===5&&S!==null&&(v=S,S=Kr(s,f),S!=null&&A.unshift(fc(s,S,v)),S=Kr(s,c),S!=null&&A.push(fc(s,S,v))),s=s.return}return A}function za(s){if(s===null)return null;do s=s.return;while(s&&s.tag!==5);return s||null}function lw(s,c,f,A,v){for(var S=c._reactName,O=[];f!==null&&f!==A;){var U=f,Y=U.alternate,ue=U.stateNode;if(Y!==null&&Y===A)break;U.tag===5&&ue!==null&&(U=ue,v?(Y=Kr(f,S),Y!=null&&O.unshift(fc(f,Y,U))):v||(Y=Kr(f,S),Y!=null&&O.push(fc(f,Y,U)))),f=f.return}O.length!==0&&s.push({event:c,listeners:O})}var n4=/\r\n?/g,r4=/\u0000|\uFFFD/g;function cw(s){return(typeof s=="string"?s:""+s).replace(n4,`
|
|
6
6
|
`).replace(r4,"")}function gd(s,c,f){if(c=cw(c),cw(s)!==c&&f)throw Error(n(425))}function md(){}var tA=null,nA=null;function rA(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 oA=typeof setTimeout=="function"?setTimeout:void 0,o4=typeof clearTimeout=="function"?clearTimeout:void 0,uw=typeof Promise=="function"?Promise:void 0,i4=typeof queueMicrotask=="function"?queueMicrotask:typeof uw<"u"?function(s){return uw.resolve(null).then(s).catch(s4)}:oA;function s4(s){setTimeout(function(){throw s})}function iA(s,c){var f=c,A=0;do{var v=f.nextSibling;if(s.removeChild(f),v&&v.nodeType===8)if(f=v.data,f==="/$"){if(A===0){s.removeChild(v),Fo(c);return}A--}else f!=="$"&&f!=="$?"&&f!=="$!"||A++;f=v}while(f);Fo(c)}function qi(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 dw(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 Qa=Math.random().toString(36).slice(2),zo="__reactFiber$"+Qa,hc="__reactProps$"+Qa,di="__reactContainer$"+Qa,sA="__reactEvents$"+Qa,a4="__reactListeners$"+Qa,l4="__reactHandles$"+Qa;function Ns(s){var c=s[zo];if(c)return c;for(var f=s.parentNode;f;){if(c=f[di]||f[zo]){if(f=c.alternate,c.child!==null||f!==null&&f.child!==null)for(s=dw(s);s!==null;){if(f=s[zo])return f;s=dw(s)}return c}s=f,f=s.parentNode}return null}function pc(s){return s=s[zo]||s[di],!s||s.tag!==5&&s.tag!==6&&s.tag!==13&&s.tag!==3?null:s}function Ha(s){if(s.tag===5||s.tag===6)return s.stateNode;throw Error(n(33))}function vd(s){return s[hc]||null}var aA=[],Ua=-1;function Ki(s){return{current:s}}function jt(s){0>Ua||(s.current=aA[Ua],aA[Ua]=null,Ua--)}function Ot(s,c){Ua++,aA[Ua]=s.current,s.current=c}var Gi={},Mn=Ki(Gi),rr=Ki(!1),zs=Gi;function Va(s,c){var f=s.type.contextTypes;if(!f)return Gi;var A=s.stateNode;if(A&&A.__reactInternalMemoizedUnmaskedChildContext===c)return A.__reactInternalMemoizedMaskedChildContext;var v={},S;for(S in f)v[S]=c[S];return A&&(s=s.stateNode,s.__reactInternalMemoizedUnmaskedChildContext=c,s.__reactInternalMemoizedMaskedChildContext=v),v}function or(s){return s=s.childContextTypes,s!=null}function yd(){jt(rr),jt(Mn)}function fw(s,c,f){if(Mn.current!==Gi)throw Error(n(168));Ot(Mn,c),Ot(rr,f)}function hw(s,c,f){var A=s.stateNode;if(c=c.childContextTypes,typeof A.getChildContext!="function")return f;A=A.getChildContext();for(var v in A)if(!(v in c))throw Error(n(108,De(s)||"Unknown",v));return pe({},f,A)}function xd(s){return s=(s=s.stateNode)&&s.__reactInternalMemoizedMergedChildContext||Gi,zs=Mn.current,Ot(Mn,s),Ot(rr,rr.current),!0}function pw(s,c,f){var A=s.stateNode;if(!A)throw Error(n(169));f?(s=hw(s,c,zs),A.__reactInternalMemoizedMergedChildContext=s,jt(rr),jt(Mn),Ot(Mn,s)):jt(rr),Ot(rr,f)}var fi=null,bd=!1,lA=!1;function Aw(s){fi===null?fi=[s]:fi.push(s)}function c4(s){bd=!0,Aw(s)}function Xi(){if(!lA&&fi!==null){lA=!0;var s=0,c=Te;try{var f=fi;for(Te=1;s<f.length;s++){var A=f[s];do A=A(!0);while(A!==null)}fi=null,bd=!1}catch(v){throw fi!==null&&(fi=fi.slice(s+1)),oi(zi,Xi),v}finally{Te=c,lA=!1}}return null}var Wa=[],Ya=0,wd=null,kd=0,Fr=[],jr=0,Qs=null,hi=1,pi="";function Hs(s,c){Wa[Ya++]=kd,Wa[Ya++]=wd,wd=s,kd=c}function gw(s,c,f){Fr[jr++]=hi,Fr[jr++]=pi,Fr[jr++]=Qs,Qs=s;var A=hi;s=pi;var v=32-ln(A)-1;A&=~(1<<v),f+=1;var S=32-ln(c)+v;if(30<S){var O=v-v%5;S=(A&(1<<O)-1).toString(32),A>>=O,v-=O,hi=1<<32-ln(c)+v|f<<v|A,pi=S+s}else hi=1<<S|f<<v|A,pi=s}function cA(s){s.return!==null&&(Hs(s,1),gw(s,1,0))}function uA(s){for(;s===wd;)wd=Wa[--Ya],Wa[Ya]=null,kd=Wa[--Ya],Wa[Ya]=null;for(;s===Qs;)Qs=Fr[--jr],Fr[jr]=null,pi=Fr[--jr],Fr[jr]=null,hi=Fr[--jr],Fr[jr]=null}var xr=null,br=null,Qt=!1,no=null;function mw(s,c){var f=Hr(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 vw(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,xr=s,br=qi(c.firstChild),!0):!1;case 6:return c=s.pendingProps===""||c.nodeType!==3?null:c,c!==null?(s.stateNode=c,xr=s,br=null,!0):!1;case 13:return c=c.nodeType!==8?null:c,c!==null?(f=Qs!==null?{id:hi,overflow:pi}:null,s.memoizedState={dehydrated:c,treeContext:f,retryLane:1073741824},f=Hr(18,null,null,0),f.stateNode=c,f.return=s,s.child=f,xr=s,br=null,!0):!1;default:return!1}}function dA(s){return(s.mode&1)!==0&&(s.flags&128)===0}function fA(s){if(Qt){var c=br;if(c){var f=c;if(!vw(s,c)){if(dA(s))throw Error(n(418));c=qi(f.nextSibling);var A=xr;c&&vw(s,c)?mw(A,f):(s.flags=s.flags&-4097|2,Qt=!1,xr=s)}}else{if(dA(s))throw Error(n(418));s.flags=s.flags&-4097|2,Qt=!1,xr=s}}}function yw(s){for(s=s.return;s!==null&&s.tag!==5&&s.tag!==3&&s.tag!==13;)s=s.return;xr=s}function Sd(s){if(s!==xr)return!1;if(!Qt)return yw(s),Qt=!0,!1;var c;if((c=s.tag!==3)&&!(c=s.tag!==5)&&(c=s.type,c=c!=="head"&&c!=="body"&&!rA(s.type,s.memoizedProps)),c&&(c=br)){if(dA(s))throw xw(),Error(n(418));for(;c;)mw(s,c),c=qi(c.nextSibling)}if(yw(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){br=qi(s.nextSibling);break e}c--}else f!=="$"&&f!=="$!"&&f!=="$?"||c++}s=s.nextSibling}br=null}}else br=xr?qi(s.stateNode.nextSibling):null;return!0}function xw(){for(var s=br;s;)s=qi(s.nextSibling)}function qa(){br=xr=null,Qt=!1}function hA(s){no===null?no=[s]:no.push(s)}var u4=C.ReactCurrentBatchConfig;function Ac(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 A=f.stateNode}if(!A)throw Error(n(147,s));var v=A,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 Ed(s,c){throw s=Object.prototype.toString.call(c),Error(n(31,s==="[object Object]"?"object with keys {"+Object.keys(c).join(", ")+"}":s))}function bw(s){var c=s._init;return c(s._payload)}function ww(s){function c(te,X){if(s){var se=te.deletions;se===null?(te.deletions=[X],te.flags|=16):se.push(X)}}function f(te,X){if(!s)return null;for(;X!==null;)c(te,X),X=X.sibling;return null}function A(te,X){for(te=new Map;X!==null;)X.key!==null?te.set(X.key,X):te.set(X.index,X),X=X.sibling;return te}function v(te,X){return te=os(te,X),te.index=0,te.sibling=null,te}function S(te,X,se){return te.index=se,s?(se=te.alternate,se!==null?(se=se.index,se<X?(te.flags|=2,X):se):(te.flags|=2,X)):(te.flags|=1048576,X)}function O(te){return s&&te.alternate===null&&(te.flags|=2),te}function U(te,X,se,Ce){return X===null||X.tag!==6?(X=og(se,te.mode,Ce),X.return=te,X):(X=v(X,se),X.return=te,X)}function Y(te,X,se,Ce){var Qe=se.type;return Qe===z?be(te,X,se.props.children,Ce,se.key):X!==null&&(X.elementType===Qe||typeof Qe=="object"&&Qe!==null&&Qe.$$typeof===fe&&bw(Qe)===X.type)?(Ce=v(X,se.props),Ce.ref=Ac(te,X,se),Ce.return=te,Ce):(Ce=Gd(se.type,se.key,se.props,null,te.mode,Ce),Ce.ref=Ac(te,X,se),Ce.return=te,Ce)}function ue(te,X,se,Ce){return X===null||X.tag!==4||X.stateNode.containerInfo!==se.containerInfo||X.stateNode.implementation!==se.implementation?(X=ig(se,te.mode,Ce),X.return=te,X):(X=v(X,se.children||[]),X.return=te,X)}function be(te,X,se,Ce,Qe){return X===null||X.tag!==7?(X=Xs(se,te.mode,Ce,Qe),X.return=te,X):(X=v(X,se),X.return=te,X)}function we(te,X,se){if(typeof X=="string"&&X!==""||typeof X=="number")return X=og(""+X,te.mode,se),X.return=te,X;if(typeof X=="object"&&X!==null){switch(X.$$typeof){case N:return se=Gd(X.type,X.key,X.props,null,te.mode,se),se.ref=Ac(te,null,X),se.return=te,se;case R:return X=ig(X,te.mode,se),X.return=te,X;case fe:var Ce=X._init;return we(te,Ce(X._payload),se)}if(dt(X)||j(X))return X=Xs(X,te.mode,se,null),X.return=te,X;Ed(te,X)}return null}function xe(te,X,se,Ce){var Qe=X!==null?X.key:null;if(typeof se=="string"&&se!==""||typeof se=="number")return Qe!==null?null:U(te,X,""+se,Ce);if(typeof se=="object"&&se!==null){switch(se.$$typeof){case N:return se.key===Qe?Y(te,X,se,Ce):null;case R:return se.key===Qe?ue(te,X,se,Ce):null;case fe:return Qe=se._init,xe(te,X,Qe(se._payload),Ce)}if(dt(se)||j(se))return Qe!==null?null:be(te,X,se,Ce,null);Ed(te,se)}return null}function Oe(te,X,se,Ce,Qe){if(typeof Ce=="string"&&Ce!==""||typeof Ce=="number")return te=te.get(se)||null,U(X,te,""+Ce,Qe);if(typeof Ce=="object"&&Ce!==null){switch(Ce.$$typeof){case N:return te=te.get(Ce.key===null?se:Ce.key)||null,Y(X,te,Ce,Qe);case R:return te=te.get(Ce.key===null?se:Ce.key)||null,ue(X,te,Ce,Qe);case fe:var Ue=Ce._init;return Oe(te,X,se,Ue(Ce._payload),Qe)}if(dt(Ce)||j(Ce))return te=te.get(se)||null,be(X,te,Ce,Qe,null);Ed(X,Ce)}return null}function je(te,X,se,Ce){for(var Qe=null,Ue=null,Ve=X,Ze=X=0,gn=null;Ve!==null&&Ze<se.length;Ze++){Ve.index>Ze?(gn=Ve,Ve=null):gn=Ve.sibling;var vt=xe(te,Ve,se[Ze],Ce);if(vt===null){Ve===null&&(Ve=gn);break}s&&Ve&&vt.alternate===null&&c(te,Ve),X=S(vt,X,Ze),Ue===null?Qe=vt:Ue.sibling=vt,Ue=vt,Ve=gn}if(Ze===se.length)return f(te,Ve),Qt&&Hs(te,Ze),Qe;if(Ve===null){for(;Ze<se.length;Ze++)Ve=we(te,se[Ze],Ce),Ve!==null&&(X=S(Ve,X,Ze),Ue===null?Qe=Ve:Ue.sibling=Ve,Ue=Ve);return Qt&&Hs(te,Ze),Qe}for(Ve=A(te,Ve);Ze<se.length;Ze++)gn=Oe(Ve,te,Ze,se[Ze],Ce),gn!==null&&(s&&gn.alternate!==null&&Ve.delete(gn.key===null?Ze:gn.key),X=S(gn,X,Ze),Ue===null?Qe=gn:Ue.sibling=gn,Ue=gn);return s&&Ve.forEach(function(is){return c(te,is)}),Qt&&Hs(te,Ze),Qe}function ze(te,X,se,Ce){var Qe=j(se);if(typeof Qe!="function")throw Error(n(150));if(se=Qe.call(se),se==null)throw Error(n(151));for(var Ue=Qe=null,Ve=X,Ze=X=0,gn=null,vt=se.next();Ve!==null&&!vt.done;Ze++,vt=se.next()){Ve.index>Ze?(gn=Ve,Ve=null):gn=Ve.sibling;var is=xe(te,Ve,vt.value,Ce);if(is===null){Ve===null&&(Ve=gn);break}s&&Ve&&is.alternate===null&&c(te,Ve),X=S(is,X,Ze),Ue===null?Qe=is:Ue.sibling=is,Ue=is,Ve=gn}if(vt.done)return f(te,Ve),Qt&&Hs(te,Ze),Qe;if(Ve===null){for(;!vt.done;Ze++,vt=se.next())vt=we(te,vt.value,Ce),vt!==null&&(X=S(vt,X,Ze),Ue===null?Qe=vt:Ue.sibling=vt,Ue=vt);return Qt&&Hs(te,Ze),Qe}for(Ve=A(te,Ve);!vt.done;Ze++,vt=se.next())vt=Oe(Ve,te,Ze,vt.value,Ce),vt!==null&&(s&&vt.alternate!==null&&Ve.delete(vt.key===null?Ze:vt.key),X=S(vt,X,Ze),Ue===null?Qe=vt:Ue.sibling=vt,Ue=vt);return s&&Ve.forEach(function(U4){return c(te,U4)}),Qt&&Hs(te,Ze),Qe}function Jt(te,X,se,Ce){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 N:e:{for(var Qe=se.key,Ue=X;Ue!==null;){if(Ue.key===Qe){if(Qe=se.type,Qe===z){if(Ue.tag===7){f(te,Ue.sibling),X=v(Ue,se.props.children),X.return=te,te=X;break e}}else if(Ue.elementType===Qe||typeof Qe=="object"&&Qe!==null&&Qe.$$typeof===fe&&bw(Qe)===Ue.type){f(te,Ue.sibling),X=v(Ue,se.props),X.ref=Ac(te,Ue,se),X.return=te,te=X;break e}f(te,Ue);break}else c(te,Ue);Ue=Ue.sibling}se.type===z?(X=Xs(se.props.children,te.mode,Ce,se.key),X.return=te,te=X):(Ce=Gd(se.type,se.key,se.props,null,te.mode,Ce),Ce.ref=Ac(te,X,se),Ce.return=te,te=Ce)}return O(te);case R:e:{for(Ue=se.key;X!==null;){if(X.key===Ue)if(X.tag===4&&X.stateNode.containerInfo===se.containerInfo&&X.stateNode.implementation===se.implementation){f(te,X.sibling),X=v(X,se.children||[]),X.return=te,te=X;break e}else{f(te,X);break}else c(te,X);X=X.sibling}X=ig(se,te.mode,Ce),X.return=te,te=X}return O(te);case fe:return Ue=se._init,Jt(te,X,Ue(se._payload),Ce)}if(dt(se))return je(te,X,se,Ce);if(j(se))return ze(te,X,se,Ce);Ed(te,se)}return typeof se=="string"&&se!==""||typeof se=="number"?(se=""+se,X!==null&&X.tag===6?(f(te,X.sibling),X=v(X,se),X.return=te,te=X):(f(te,X),X=og(se,te.mode,Ce),X.return=te,te=X),O(te)):f(te,X)}return Jt}var Ka=ww(!0),kw=ww(!1),Cd=Ki(null),Pd=null,Ga=null,pA=null;function AA(){pA=Ga=Pd=null}function gA(s){var c=Cd.current;jt(Cd),s._currentValue=c}function mA(s,c,f){for(;s!==null;){var A=s.alternate;if((s.childLanes&c)!==c?(s.childLanes|=c,A!==null&&(A.childLanes|=c)):A!==null&&(A.childLanes&c)!==c&&(A.childLanes|=c),s===f)break;s=s.return}}function Xa(s,c){Pd=s,pA=Ga=null,s=s.dependencies,s!==null&&s.firstContext!==null&&((s.lanes&c)!==0&&(ir=!0),s.firstContext=null)}function Nr(s){var c=s._currentValue;if(pA!==s)if(s={context:s,memoizedValue:c,next:null},Ga===null){if(Pd===null)throw Error(n(308));Ga=s,Pd.dependencies={lanes:0,firstContext:s}}else Ga=Ga.next=s;return c}var Us=null;function vA(s){Us===null?Us=[s]:Us.push(s)}function Sw(s,c,f,A){var v=c.interleaved;return v===null?(f.next=f,vA(c)):(f.next=v.next,v.next=f),c.interleaved=f,Ai(s,A)}function Ai(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 Ji=!1;function yA(s){s.updateQueue={baseState:s.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ew(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 gi(s,c){return{eventTime:s,lane:c,tag:0,payload:null,callback:null,next:null}}function Zi(s,c,f){var A=s.updateQueue;if(A===null)return null;if(A=A.shared,(gt&2)!==0){var v=A.pending;return v===null?c.next=c:(c.next=v.next,v.next=c),A.pending=c,Ai(s,f)}return v=A.interleaved,v===null?(c.next=c,vA(A)):(c.next=v.next,v.next=c),A.interleaved=c,Ai(s,f)}function Dd(s,c,f){if(c=c.updateQueue,c!==null&&(c=c.shared,(f&4194240)!==0)){var A=c.lanes;A&=s.pendingLanes,f|=A,c.lanes=f,Pe(s,f)}}function Cw(s,c){var f=s.updateQueue,A=s.alternate;if(A!==null&&(A=A.updateQueue,f===A)){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:A.baseState,firstBaseUpdate:v,lastBaseUpdate:S,shared:A.shared,effects:A.effects},s.updateQueue=f;return}s=f.lastBaseUpdate,s===null?f.firstBaseUpdate=c:s.next=c,f.lastBaseUpdate=c}function Bd(s,c,f,A){var v=s.updateQueue;Ji=!1;var S=v.firstBaseUpdate,O=v.lastBaseUpdate,U=v.shared.pending;if(U!==null){v.shared.pending=null;var Y=U,ue=Y.next;Y.next=null,O===null?S=ue:O.next=ue,O=Y;var be=s.alternate;be!==null&&(be=be.updateQueue,U=be.lastBaseUpdate,U!==O&&(U===null?be.firstBaseUpdate=ue:U.next=ue,be.lastBaseUpdate=Y))}if(S!==null){var we=v.baseState;O=0,be=ue=Y=null,U=S;do{var xe=U.lane,Oe=U.eventTime;if((A&xe)===xe){be!==null&&(be=be.next={eventTime:Oe,lane:0,tag:U.tag,payload:U.payload,callback:U.callback,next:null});e:{var je=s,ze=U;switch(xe=c,Oe=f,ze.tag){case 1:if(je=ze.payload,typeof je=="function"){we=je.call(Oe,we,xe);break e}we=je;break e;case 3:je.flags=je.flags&-65537|128;case 0:if(je=ze.payload,xe=typeof je=="function"?je.call(Oe,we,xe):je,xe==null)break e;we=pe({},we,xe);break e;case 2:Ji=!0}}U.callback!==null&&U.lane!==0&&(s.flags|=64,xe=v.effects,xe===null?v.effects=[U]:xe.push(U))}else Oe={eventTime:Oe,lane:xe,tag:U.tag,payload:U.payload,callback:U.callback,next:null},be===null?(ue=be=Oe,Y=we):be=be.next=Oe,O|=xe;if(U=U.next,U===null){if(U=v.shared.pending,U===null)break;xe=U,U=xe.next,xe.next=null,v.lastBaseUpdate=xe,v.shared.pending=null}}while(!0);if(be===null&&(Y=we),v.baseState=Y,v.firstBaseUpdate=ue,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);Ys|=O,s.lanes=O,s.memoizedState=we}}function Pw(s,c,f){if(s=c.effects,c.effects=null,s!==null)for(c=0;c<s.length;c++){var A=s[c],v=A.callback;if(v!==null){if(A.callback=null,A=f,typeof v!="function")throw Error(n(191,v));v.call(A)}}}var gc={},Qo=Ki(gc),mc=Ki(gc),vc=Ki(gc);function Vs(s){if(s===gc)throw Error(n(174));return s}function xA(s,c){switch(Ot(vc,c),Ot(mc,s),Ot(Qo,gc),s=c.nodeType,s){case 9:case 11:c=(c=c.documentElement)?c.namespaceURI:fn(null,"");break;default:s=s===8?c.parentNode:c,c=s.namespaceURI||null,s=s.tagName,c=fn(c,s)}jt(Qo),Ot(Qo,c)}function Ja(){jt(Qo),jt(mc),jt(vc)}function Dw(s){Vs(vc.current);var c=Vs(Qo.current),f=fn(c,s.type);c!==f&&(Ot(mc,s),Ot(Qo,f))}function bA(s){mc.current===s&&(jt(Qo),jt(mc))}var Yt=Ki(0);function Td(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 wA=[];function kA(){for(var s=0;s<wA.length;s++)wA[s]._workInProgressVersionPrimary=null;wA.length=0}var Id=C.ReactCurrentDispatcher,SA=C.ReactCurrentBatchConfig,Ws=0,qt=null,cn=null,pn=null,_d=!1,yc=!1,xc=0,d4=0;function On(){throw Error(n(321))}function EA(s,c){if(c===null)return!1;for(var f=0;f<c.length&&f<s.length;f++)if(!to(s[f],c[f]))return!1;return!0}function CA(s,c,f,A,v,S){if(Ws=S,qt=c,c.memoizedState=null,c.updateQueue=null,c.lanes=0,Id.current=s===null||s.memoizedState===null?A4:g4,s=f(A,v),yc){S=0;do{if(yc=!1,xc=0,25<=S)throw Error(n(301));S+=1,pn=cn=null,c.updateQueue=null,Id.current=m4,s=f(A,v)}while(yc)}if(Id.current=Rd,c=cn!==null&&cn.next!==null,Ws=0,pn=cn=qt=null,_d=!1,c)throw Error(n(300));return s}function PA(){var s=xc!==0;return xc=0,s}function Ho(){var s={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return pn===null?qt.memoizedState=pn=s:pn=pn.next=s,pn}function zr(){if(cn===null){var s=qt.alternate;s=s!==null?s.memoizedState:null}else s=cn.next;var c=pn===null?qt.memoizedState:pn.next;if(c!==null)pn=c,cn=s;else{if(s===null)throw Error(n(310));cn=s,s={memoizedState:cn.memoizedState,baseState:cn.baseState,baseQueue:cn.baseQueue,queue:cn.queue,next:null},pn===null?qt.memoizedState=pn=s:pn=pn.next=s}return pn}function bc(s,c){return typeof c=="function"?c(s):c}function DA(s){var c=zr(),f=c.queue;if(f===null)throw Error(n(311));f.lastRenderedReducer=s;var A=cn,v=A.baseQueue,S=f.pending;if(S!==null){if(v!==null){var O=v.next;v.next=S.next,S.next=O}A.baseQueue=v=S,f.pending=null}if(v!==null){S=v.next,A=A.baseState;var U=O=null,Y=null,ue=S;do{var be=ue.lane;if((Ws&be)===be)Y!==null&&(Y=Y.next={lane:0,action:ue.action,hasEagerState:ue.hasEagerState,eagerState:ue.eagerState,next:null}),A=ue.hasEagerState?ue.eagerState:s(A,ue.action);else{var we={lane:be,action:ue.action,hasEagerState:ue.hasEagerState,eagerState:ue.eagerState,next:null};Y===null?(U=Y=we,O=A):Y=Y.next=we,qt.lanes|=be,Ys|=be}ue=ue.next}while(ue!==null&&ue!==S);Y===null?O=A:Y.next=U,to(A,c.memoizedState)||(ir=!0),c.memoizedState=A,c.baseState=O,c.baseQueue=Y,f.lastRenderedState=A}if(s=f.interleaved,s!==null){v=s;do S=v.lane,qt.lanes|=S,Ys|=S,v=v.next;while(v!==s)}else v===null&&(f.lanes=0);return[c.memoizedState,f.dispatch]}function BA(s){var c=zr(),f=c.queue;if(f===null)throw Error(n(311));f.lastRenderedReducer=s;var A=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);to(S,c.memoizedState)||(ir=!0),c.memoizedState=S,c.baseQueue===null&&(c.baseState=S),f.lastRenderedState=S}return[S,A]}function Bw(){}function Tw(s,c){var f=qt,A=zr(),v=c(),S=!to(A.memoizedState,v);if(S&&(A.memoizedState=v,ir=!0),A=A.queue,TA(Mw.bind(null,f,A,s),[s]),A.getSnapshot!==c||S||pn!==null&&pn.memoizedState.tag&1){if(f.flags|=2048,wc(9,_w.bind(null,f,A,v,c),void 0,null),An===null)throw Error(n(349));(Ws&30)!==0||Iw(f,c,v)}return v}function Iw(s,c,f){s.flags|=16384,s={getSnapshot:c,value:f},c=qt.updateQueue,c===null?(c={lastEffect:null,stores:null},qt.updateQueue=c,c.stores=[s]):(f=c.stores,f===null?c.stores=[s]:f.push(s))}function _w(s,c,f,A){c.value=f,c.getSnapshot=A,Ow(c)&&Rw(s)}function Mw(s,c,f){return f(function(){Ow(c)&&Rw(s)})}function Ow(s){var c=s.getSnapshot;s=s.value;try{var f=c();return!to(s,f)}catch{return!0}}function Rw(s){var c=Ai(s,1);c!==null&&so(c,s,1,-1)}function Lw(s){var c=Ho();return typeof s=="function"&&(s=s()),c.memoizedState=c.baseState=s,s={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:bc,lastRenderedState:s},c.queue=s,s=s.dispatch=p4.bind(null,qt,s),[c.memoizedState,s]}function wc(s,c,f,A){return s={tag:s,create:c,destroy:f,deps:A,next:null},c=qt.updateQueue,c===null?(c={lastEffect:null,stores:null},qt.updateQueue=c,c.lastEffect=s.next=s):(f=c.lastEffect,f===null?c.lastEffect=s.next=s:(A=f.next,f.next=s,s.next=A,c.lastEffect=s)),s}function Fw(){return zr().memoizedState}function Md(s,c,f,A){var v=Ho();qt.flags|=s,v.memoizedState=wc(1|c,f,void 0,A===void 0?null:A)}function Od(s,c,f,A){var v=zr();A=A===void 0?null:A;var S=void 0;if(cn!==null){var O=cn.memoizedState;if(S=O.destroy,A!==null&&EA(A,O.deps)){v.memoizedState=wc(c,f,S,A);return}}qt.flags|=s,v.memoizedState=wc(1|c,f,S,A)}function jw(s,c){return Md(8390656,8,s,c)}function TA(s,c){return Od(2048,8,s,c)}function Nw(s,c){return Od(4,2,s,c)}function zw(s,c){return Od(4,4,s,c)}function Qw(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 Hw(s,c,f){return f=f!=null?f.concat([s]):null,Od(4,4,Qw.bind(null,c,s),f)}function IA(){}function Uw(s,c){var f=zr();c=c===void 0?null:c;var A=f.memoizedState;return A!==null&&c!==null&&EA(c,A[1])?A[0]:(f.memoizedState=[s,c],s)}function Vw(s,c){var f=zr();c=c===void 0?null:c;var A=f.memoizedState;return A!==null&&c!==null&&EA(c,A[1])?A[0]:(s=s(),f.memoizedState=[s,c],s)}function Ww(s,c,f){return(Ws&21)===0?(s.baseState&&(s.baseState=!1,ir=!0),s.memoizedState=f):(to(f,c)||(f=H(),qt.lanes|=f,Ys|=f,s.baseState=!0),c)}function f4(s,c){var f=Te;Te=f!==0&&4>f?f:4,s(!0);var A=SA.transition;SA.transition={};try{s(!1),c()}finally{Te=f,SA.transition=A}}function Yw(){return zr().memoizedState}function h4(s,c,f){var A=ns(s);if(f={lane:A,action:f,hasEagerState:!1,eagerState:null,next:null},qw(s))Kw(c,f);else if(f=Sw(s,c,f,A),f!==null){var v=Hn();so(f,s,A,v),Gw(f,c,A)}}function p4(s,c,f){var A=ns(s),v={lane:A,action:f,hasEagerState:!1,eagerState:null,next:null};if(qw(s))Kw(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,to(U,O)){var Y=c.interleaved;Y===null?(v.next=v,vA(c)):(v.next=Y.next,Y.next=v),c.interleaved=v;return}}catch{}f=Sw(s,c,v,A),f!==null&&(v=Hn(),so(f,s,A,v),Gw(f,c,A))}}function qw(s){var c=s.alternate;return s===qt||c!==null&&c===qt}function Kw(s,c){yc=_d=!0;var f=s.pending;f===null?c.next=c:(c.next=f.next,f.next=c),s.pending=c}function Gw(s,c,f){if((f&4194240)!==0){var A=c.lanes;A&=s.pendingLanes,f|=A,c.lanes=f,Pe(s,f)}}var Rd={readContext:Nr,useCallback:On,useContext:On,useEffect:On,useImperativeHandle:On,useInsertionEffect:On,useLayoutEffect:On,useMemo:On,useReducer:On,useRef:On,useState:On,useDebugValue:On,useDeferredValue:On,useTransition:On,useMutableSource:On,useSyncExternalStore:On,useId:On,unstable_isNewReconciler:!1},A4={readContext:Nr,useCallback:function(s,c){return Ho().memoizedState=[s,c===void 0?null:c],s},useContext:Nr,useEffect:jw,useImperativeHandle:function(s,c,f){return f=f!=null?f.concat([s]):null,Md(4194308,4,Qw.bind(null,c,s),f)},useLayoutEffect:function(s,c){return Md(4194308,4,s,c)},useInsertionEffect:function(s,c){return Md(4,2,s,c)},useMemo:function(s,c){var f=Ho();return c=c===void 0?null:c,s=s(),f.memoizedState=[s,c],s},useReducer:function(s,c,f){var A=Ho();return c=f!==void 0?f(c):c,A.memoizedState=A.baseState=c,s={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:s,lastRenderedState:c},A.queue=s,s=s.dispatch=h4.bind(null,qt,s),[A.memoizedState,s]},useRef:function(s){var c=Ho();return s={current:s},c.memoizedState=s},useState:Lw,useDebugValue:IA,useDeferredValue:function(s){return Ho().memoizedState=s},useTransition:function(){var s=Lw(!1),c=s[0];return s=f4.bind(null,s[1]),Ho().memoizedState=s,[c,s]},useMutableSource:function(){},useSyncExternalStore:function(s,c,f){var A=qt,v=Ho();if(Qt){if(f===void 0)throw Error(n(407));f=f()}else{if(f=c(),An===null)throw Error(n(349));(Ws&30)!==0||Iw(A,c,f)}v.memoizedState=f;var S={value:f,getSnapshot:c};return v.queue=S,jw(Mw.bind(null,A,S,s),[s]),A.flags|=2048,wc(9,_w.bind(null,A,S,f,c),void 0,null),f},useId:function(){var s=Ho(),c=An.identifierPrefix;if(Qt){var f=pi,A=hi;f=(A&~(1<<32-ln(A)-1)).toString(32)+f,c=":"+c+"R"+f,f=xc++,0<f&&(c+="H"+f.toString(32)),c+=":"}else f=d4++,c=":"+c+"r"+f.toString(32)+":";return s.memoizedState=c},unstable_isNewReconciler:!1},g4={readContext:Nr,useCallback:Uw,useContext:Nr,useEffect:TA,useImperativeHandle:Hw,useInsertionEffect:Nw,useLayoutEffect:zw,useMemo:Vw,useReducer:DA,useRef:Fw,useState:function(){return DA(bc)},useDebugValue:IA,useDeferredValue:function(s){var c=zr();return Ww(c,cn.memoizedState,s)},useTransition:function(){var s=DA(bc)[0],c=zr().memoizedState;return[s,c]},useMutableSource:Bw,useSyncExternalStore:Tw,useId:Yw,unstable_isNewReconciler:!1},m4={readContext:Nr,useCallback:Uw,useContext:Nr,useEffect:TA,useImperativeHandle:Hw,useInsertionEffect:Nw,useLayoutEffect:zw,useMemo:Vw,useReducer:BA,useRef:Fw,useState:function(){return BA(bc)},useDebugValue:IA,useDeferredValue:function(s){var c=zr();return cn===null?c.memoizedState=s:Ww(c,cn.memoizedState,s)},useTransition:function(){var s=BA(bc)[0],c=zr().memoizedState;return[s,c]},useMutableSource:Bw,useSyncExternalStore:Tw,useId:Yw,unstable_isNewReconciler:!1};function ro(s,c){if(s&&s.defaultProps){c=pe({},c),s=s.defaultProps;for(var f in s)c[f]===void 0&&(c[f]=s[f]);return c}return c}function _A(s,c,f,A){c=s.memoizedState,f=f(A,c),f=f==null?c:pe({},c,f),s.memoizedState=f,s.lanes===0&&(s.updateQueue.baseState=f)}var Ld={isMounted:function(s){return(s=s._reactInternals)?Gr(s)===s:!1},enqueueSetState:function(s,c,f){s=s._reactInternals;var A=Hn(),v=ns(s),S=gi(A,v);S.payload=c,f!=null&&(S.callback=f),c=Zi(s,S,v),c!==null&&(so(c,s,v,A),Dd(c,s,v))},enqueueReplaceState:function(s,c,f){s=s._reactInternals;var A=Hn(),v=ns(s),S=gi(A,v);S.tag=1,S.payload=c,f!=null&&(S.callback=f),c=Zi(s,S,v),c!==null&&(so(c,s,v,A),Dd(c,s,v))},enqueueForceUpdate:function(s,c){s=s._reactInternals;var f=Hn(),A=ns(s),v=gi(f,A);v.tag=2,c!=null&&(v.callback=c),c=Zi(s,v,A),c!==null&&(so(c,s,A,f),Dd(c,s,A))}};function Xw(s,c,f,A,v,S,O){return s=s.stateNode,typeof s.shouldComponentUpdate=="function"?s.shouldComponentUpdate(A,S,O):c.prototype&&c.prototype.isPureReactComponent?!lc(f,A)||!lc(v,S):!0}function Jw(s,c,f){var A=!1,v=Gi,S=c.contextType;return typeof S=="object"&&S!==null?S=Nr(S):(v=or(c)?zs:Mn.current,A=c.contextTypes,S=(A=A!=null)?Va(s,v):Gi),c=new c(f,S),s.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,c.updater=Ld,s.stateNode=c,c._reactInternals=s,A&&(s=s.stateNode,s.__reactInternalMemoizedUnmaskedChildContext=v,s.__reactInternalMemoizedMaskedChildContext=S),c}function Zw(s,c,f,A){s=c.state,typeof c.componentWillReceiveProps=="function"&&c.componentWillReceiveProps(f,A),typeof c.UNSAFE_componentWillReceiveProps=="function"&&c.UNSAFE_componentWillReceiveProps(f,A),c.state!==s&&Ld.enqueueReplaceState(c,c.state,null)}function MA(s,c,f,A){var v=s.stateNode;v.props=f,v.state=s.memoizedState,v.refs={},yA(s);var S=c.contextType;typeof S=="object"&&S!==null?v.context=Nr(S):(S=or(c)?zs:Mn.current,v.context=Va(s,S)),v.state=s.memoizedState,S=c.getDerivedStateFromProps,typeof S=="function"&&(_A(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&&Ld.enqueueReplaceState(v,v.state,null),Bd(s,f,v,A),v.state=s.memoizedState),typeof v.componentDidMount=="function"&&(s.flags|=4194308)}function Za(s,c){try{var f="",A=c;do f+=ve(A),A=A.return;while(A);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 OA(s,c,f){return{value:s,source:null,stack:f??null,digest:c??null}}function RA(s,c){try{console.error(c.value)}catch(f){setTimeout(function(){throw f})}}var v4=typeof WeakMap=="function"?WeakMap:Map;function $w(s,c,f){f=gi(-1,f),f.tag=3,f.payload={element:null};var A=c.value;return f.callback=function(){Ud||(Ud=!0,XA=A),RA(s,c)},f}function e1(s,c,f){f=gi(-1,f),f.tag=3;var A=s.type.getDerivedStateFromError;if(typeof A=="function"){var v=c.value;f.payload=function(){return A(v)},f.callback=function(){RA(s,c)}}var S=s.stateNode;return S!==null&&typeof S.componentDidCatch=="function"&&(f.callback=function(){RA(s,c),typeof A!="function"&&(es===null?es=new Set([this]):es.add(this));var O=c.stack;this.componentDidCatch(c.value,{componentStack:O!==null?O:""})}),f}function t1(s,c,f){var A=s.pingCache;if(A===null){A=s.pingCache=new v4;var v=new Set;A.set(c,v)}else v=A.get(c),v===void 0&&(v=new Set,A.set(c,v));v.has(f)||(v.add(f),s=_4.bind(null,s,c,f),c.then(s,s))}function n1(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 r1(s,c,f,A,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=gi(-1,1),c.tag=2,Zi(f,c,1))),f.lanes|=1),s):(s.flags|=65536,s.lanes=v,s)}var y4=C.ReactCurrentOwner,ir=!1;function Qn(s,c,f,A){c.child=s===null?kw(c,null,f,A):Ka(c,s.child,f,A)}function o1(s,c,f,A,v){f=f.render;var S=c.ref;return Xa(c,v),A=CA(s,c,f,A,S,v),f=PA(),s!==null&&!ir?(c.updateQueue=s.updateQueue,c.flags&=-2053,s.lanes&=~v,mi(s,c,v)):(Qt&&f&&cA(c),c.flags|=1,Qn(s,c,A,v),c.child)}function i1(s,c,f,A,v){if(s===null){var S=f.type;return typeof S=="function"&&!rg(S)&&S.defaultProps===void 0&&f.compare===null&&f.defaultProps===void 0?(c.tag=15,c.type=S,s1(s,c,S,A,v)):(s=Gd(f.type,null,A,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:lc,f(O,A)&&s.ref===c.ref)return mi(s,c,v)}return c.flags|=1,s=os(S,A),s.ref=c.ref,s.return=c,c.child=s}function s1(s,c,f,A,v){if(s!==null){var S=s.memoizedProps;if(lc(S,A)&&s.ref===c.ref)if(ir=!1,c.pendingProps=A=S,(s.lanes&v)!==0)(s.flags&131072)!==0&&(ir=!0);else return c.lanes=s.lanes,mi(s,c,v)}return LA(s,c,f,A,v)}function a1(s,c,f){var A=c.pendingProps,v=A.children,S=s!==null?s.memoizedState:null;if(A.mode==="hidden")if((c.mode&1)===0)c.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ot(el,wr),wr|=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,Ot(el,wr),wr|=s,null;c.memoizedState={baseLanes:0,cachePool:null,transitions:null},A=S!==null?S.baseLanes:f,Ot(el,wr),wr|=A}else S!==null?(A=S.baseLanes|f,c.memoizedState=null):A=f,Ot(el,wr),wr|=A;return Qn(s,c,v,f),c.child}function l1(s,c){var f=c.ref;(s===null&&f!==null||s!==null&&s.ref!==f)&&(c.flags|=512,c.flags|=2097152)}function LA(s,c,f,A,v){var S=or(f)?zs:Mn.current;return S=Va(c,S),Xa(c,v),f=CA(s,c,f,A,S,v),A=PA(),s!==null&&!ir?(c.updateQueue=s.updateQueue,c.flags&=-2053,s.lanes&=~v,mi(s,c,v)):(Qt&&A&&cA(c),c.flags|=1,Qn(s,c,f,v),c.child)}function c1(s,c,f,A,v){if(or(f)){var S=!0;xd(c)}else S=!1;if(Xa(c,v),c.stateNode===null)jd(s,c),Jw(c,f,A),MA(c,f,A,v),A=!0;else if(s===null){var O=c.stateNode,U=c.memoizedProps;O.props=U;var Y=O.context,ue=f.contextType;typeof ue=="object"&&ue!==null?ue=Nr(ue):(ue=or(f)?zs:Mn.current,ue=Va(c,ue));var be=f.getDerivedStateFromProps,we=typeof be=="function"||typeof O.getSnapshotBeforeUpdate=="function";we||typeof O.UNSAFE_componentWillReceiveProps!="function"&&typeof O.componentWillReceiveProps!="function"||(U!==A||Y!==ue)&&Zw(c,O,A,ue),Ji=!1;var xe=c.memoizedState;O.state=xe,Bd(c,A,O,v),Y=c.memoizedState,U!==A||xe!==Y||rr.current||Ji?(typeof be=="function"&&(_A(c,f,be,A),Y=c.memoizedState),(U=Ji||Xw(c,f,U,A,xe,Y,ue))?(we||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=A,c.memoizedState=Y),O.props=A,O.state=Y,O.context=ue,A=U):(typeof O.componentDidMount=="function"&&(c.flags|=4194308),A=!1)}else{O=c.stateNode,Ew(s,c),U=c.memoizedProps,ue=c.type===c.elementType?U:ro(c.type,U),O.props=ue,we=c.pendingProps,xe=O.context,Y=f.contextType,typeof Y=="object"&&Y!==null?Y=Nr(Y):(Y=or(f)?zs:Mn.current,Y=Va(c,Y));var Oe=f.getDerivedStateFromProps;(be=typeof Oe=="function"||typeof O.getSnapshotBeforeUpdate=="function")||typeof O.UNSAFE_componentWillReceiveProps!="function"&&typeof O.componentWillReceiveProps!="function"||(U!==we||xe!==Y)&&Zw(c,O,A,Y),Ji=!1,xe=c.memoizedState,O.state=xe,Bd(c,A,O,v);var je=c.memoizedState;U!==we||xe!==je||rr.current||Ji?(typeof Oe=="function"&&(_A(c,f,Oe,A),je=c.memoizedState),(ue=Ji||Xw(c,f,ue,A,xe,je,Y)||!1)?(be||typeof O.UNSAFE_componentWillUpdate!="function"&&typeof O.componentWillUpdate!="function"||(typeof O.componentWillUpdate=="function"&&O.componentWillUpdate(A,je,Y),typeof O.UNSAFE_componentWillUpdate=="function"&&O.UNSAFE_componentWillUpdate(A,je,Y)),typeof O.componentDidUpdate=="function"&&(c.flags|=4),typeof O.getSnapshotBeforeUpdate=="function"&&(c.flags|=1024)):(typeof O.componentDidUpdate!="function"||U===s.memoizedProps&&xe===s.memoizedState||(c.flags|=4),typeof O.getSnapshotBeforeUpdate!="function"||U===s.memoizedProps&&xe===s.memoizedState||(c.flags|=1024),c.memoizedProps=A,c.memoizedState=je),O.props=A,O.state=je,O.context=Y,A=ue):(typeof O.componentDidUpdate!="function"||U===s.memoizedProps&&xe===s.memoizedState||(c.flags|=4),typeof O.getSnapshotBeforeUpdate!="function"||U===s.memoizedProps&&xe===s.memoizedState||(c.flags|=1024),A=!1)}return FA(s,c,f,A,S,v)}function FA(s,c,f,A,v,S){l1(s,c);var O=(c.flags&128)!==0;if(!A&&!O)return v&&pw(c,f,!1),mi(s,c,S);A=c.stateNode,y4.current=c;var U=O&&typeof f.getDerivedStateFromError!="function"?null:A.render();return c.flags|=1,s!==null&&O?(c.child=Ka(c,s.child,null,S),c.child=Ka(c,null,U,S)):Qn(s,c,U,S),c.memoizedState=A.state,v&&pw(c,f,!0),c.child}function u1(s){var c=s.stateNode;c.pendingContext?fw(s,c.pendingContext,c.pendingContext!==c.context):c.context&&fw(s,c.context,!1),xA(s,c.containerInfo)}function d1(s,c,f,A,v){return qa(),hA(v),c.flags|=256,Qn(s,c,f,A),c.child}var jA={dehydrated:null,treeContext:null,retryLane:0};function NA(s){return{baseLanes:s,cachePool:null,transitions:null}}function f1(s,c,f){var A=c.pendingProps,v=Yt.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),Ot(Yt,v&1),s===null)return fA(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=A.children,s=A.fallback,S?(A=c.mode,S=c.child,O={mode:"hidden",children:O},(A&1)===0&&S!==null?(S.childLanes=0,S.pendingProps=O):S=Xd(O,A,0,null),s=Xs(s,A,f,null),S.return=c,s.return=c,S.sibling=s,c.child=S,c.child.memoizedState=NA(f),c.memoizedState=jA,s):zA(c,O));if(v=s.memoizedState,v!==null&&(U=v.dehydrated,U!==null))return x4(s,c,O,A,U,v,f);if(S){S=A.fallback,O=c.mode,v=s.child,U=v.sibling;var Y={mode:"hidden",children:A.children};return(O&1)===0&&c.child!==v?(A=c.child,A.childLanes=0,A.pendingProps=Y,c.deletions=null):(A=os(v,Y),A.subtreeFlags=v.subtreeFlags&14680064),U!==null?S=os(U,S):(S=Xs(S,O,f,null),S.flags|=2),S.return=c,A.return=c,A.sibling=S,c.child=A,A=S,S=c.child,O=s.child.memoizedState,O=O===null?NA(f):{baseLanes:O.baseLanes|f,cachePool:null,transitions:O.transitions},S.memoizedState=O,S.childLanes=s.childLanes&~f,c.memoizedState=jA,A}return S=s.child,s=S.sibling,A=os(S,{mode:"visible",children:A.children}),(c.mode&1)===0&&(A.lanes=f),A.return=c,A.sibling=null,s!==null&&(f=c.deletions,f===null?(c.deletions=[s],c.flags|=16):f.push(s)),c.child=A,c.memoizedState=null,A}function zA(s,c){return c=Xd({mode:"visible",children:c},s.mode,0,null),c.return=s,s.child=c}function Fd(s,c,f,A){return A!==null&&hA(A),Ka(c,s.child,null,f),s=zA(c,c.pendingProps.children),s.flags|=2,c.memoizedState=null,s}function x4(s,c,f,A,v,S,O){if(f)return c.flags&256?(c.flags&=-257,A=OA(Error(n(422))),Fd(s,c,O,A)):c.memoizedState!==null?(c.child=s.child,c.flags|=128,null):(S=A.fallback,v=c.mode,A=Xd({mode:"visible",children:A.children},v,0,null),S=Xs(S,v,O,null),S.flags|=2,A.return=c,S.return=c,A.sibling=S,c.child=A,(c.mode&1)!==0&&Ka(c,s.child,null,O),c.child.memoizedState=NA(O),c.memoizedState=jA,S);if((c.mode&1)===0)return Fd(s,c,O,null);if(v.data==="$!"){if(A=v.nextSibling&&v.nextSibling.dataset,A)var U=A.dgst;return A=U,S=Error(n(419)),A=OA(S,A,void 0),Fd(s,c,O,A)}if(U=(O&s.childLanes)!==0,ir||U){if(A=An,A!==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&(A.suspendedLanes|O))!==0?0:v,v!==0&&v!==S.retryLane&&(S.retryLane=v,Ai(s,v),so(A,s,v,-1))}return ng(),A=OA(Error(n(421))),Fd(s,c,O,A)}return v.data==="$?"?(c.flags|=128,c.child=s.child,c=M4.bind(null,s),v._reactRetry=c,null):(s=S.treeContext,br=qi(v.nextSibling),xr=c,Qt=!0,no=null,s!==null&&(Fr[jr++]=hi,Fr[jr++]=pi,Fr[jr++]=Qs,hi=s.id,pi=s.overflow,Qs=c),c=zA(c,A.children),c.flags|=4096,c)}function h1(s,c,f){s.lanes|=c;var A=s.alternate;A!==null&&(A.lanes|=c),mA(s.return,c,f)}function QA(s,c,f,A,v){var S=s.memoizedState;S===null?s.memoizedState={isBackwards:c,rendering:null,renderingStartTime:0,last:A,tail:f,tailMode:v}:(S.isBackwards=c,S.rendering=null,S.renderingStartTime=0,S.last=A,S.tail=f,S.tailMode=v)}function p1(s,c,f){var A=c.pendingProps,v=A.revealOrder,S=A.tail;if(Qn(s,c,A.children,f),A=Yt.current,(A&2)!==0)A=A&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&&h1(s,f,c);else if(s.tag===19)h1(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}A&=1}if(Ot(Yt,A),(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&&Td(s)===null&&(v=f),f=f.sibling;f=v,f===null?(v=c.child,c.child=null):(v=f.sibling,f.sibling=null),QA(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&&Td(s)===null){c.child=v;break}s=v.sibling,v.sibling=f,f=v,v=s}QA(c,!0,f,null,S);break;case"together":QA(c,!1,null,null,void 0);break;default:c.memoizedState=null}return c.child}function jd(s,c){(c.mode&1)===0&&s!==null&&(s.alternate=null,c.alternate=null,c.flags|=2)}function mi(s,c,f){if(s!==null&&(c.dependencies=s.dependencies),Ys|=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=os(s,s.pendingProps),c.child=f,f.return=c;s.sibling!==null;)s=s.sibling,f=f.sibling=os(s,s.pendingProps),f.return=c;f.sibling=null}return c.child}function b4(s,c,f){switch(c.tag){case 3:u1(c),qa();break;case 5:Dw(c);break;case 1:or(c.type)&&xd(c);break;case 4:xA(c,c.stateNode.containerInfo);break;case 10:var A=c.type._context,v=c.memoizedProps.value;Ot(Cd,A._currentValue),A._currentValue=v;break;case 13:if(A=c.memoizedState,A!==null)return A.dehydrated!==null?(Ot(Yt,Yt.current&1),c.flags|=128,null):(f&c.child.childLanes)!==0?f1(s,c,f):(Ot(Yt,Yt.current&1),s=mi(s,c,f),s!==null?s.sibling:null);Ot(Yt,Yt.current&1);break;case 19:if(A=(f&c.childLanes)!==0,(s.flags&128)!==0){if(A)return p1(s,c,f);c.flags|=128}if(v=c.memoizedState,v!==null&&(v.rendering=null,v.tail=null,v.lastEffect=null),Ot(Yt,Yt.current),A)break;return null;case 22:case 23:return c.lanes=0,a1(s,c,f)}return mi(s,c,f)}var A1,HA,g1,m1;A1=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}},HA=function(){},g1=function(s,c,f,A){var v=s.memoizedProps;if(v!==A){s=c.stateNode,Vs(Qo.current);var S=null;switch(f){case"input":v=xt(s,v),A=xt(s,A),S=[];break;case"select":v=pe({},v,{value:void 0}),A=pe({},A,{value:void 0}),S=[];break;case"textarea":v=Lt(s,v),A=Lt(s,A),S=[];break;default:typeof v.onClick!="function"&&typeof A.onClick=="function"&&(s.onclick=md)}Ne(f,A);var O;f=null;for(ue in v)if(!A.hasOwnProperty(ue)&&v.hasOwnProperty(ue)&&v[ue]!=null)if(ue==="style"){var U=v[ue];for(O in U)U.hasOwnProperty(O)&&(f||(f={}),f[O]="")}else ue!=="dangerouslySetInnerHTML"&&ue!=="children"&&ue!=="suppressContentEditableWarning"&&ue!=="suppressHydrationWarning"&&ue!=="autoFocus"&&(o.hasOwnProperty(ue)?S||(S=[]):(S=S||[]).push(ue,null));for(ue in A){var Y=A[ue];if(U=v?.[ue],A.hasOwnProperty(ue)&&Y!==U&&(Y!=null||U!=null))if(ue==="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(ue,f)),f=Y;else ue==="dangerouslySetInnerHTML"?(Y=Y?Y.__html:void 0,U=U?U.__html:void 0,Y!=null&&U!==Y&&(S=S||[]).push(ue,Y)):ue==="children"?typeof Y!="string"&&typeof Y!="number"||(S=S||[]).push(ue,""+Y):ue!=="suppressContentEditableWarning"&&ue!=="suppressHydrationWarning"&&(o.hasOwnProperty(ue)?(Y!=null&&ue==="onScroll"&&Ft("scroll",s),S||U===Y||(S=[])):(S=S||[]).push(ue,Y))}f&&(S=S||[]).push("style",f);var ue=S;(c.updateQueue=ue)&&(c.flags|=4)}},m1=function(s,c,f,A){f!==A&&(c.flags|=4)};function kc(s,c){if(!Qt)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 A=null;f!==null;)f.alternate!==null&&(A=f),f=f.sibling;A===null?c||s.tail===null?s.tail=null:s.tail.sibling=null:A.sibling=null}}function Rn(s){var c=s.alternate!==null&&s.alternate.child===s.child,f=0,A=0;if(c)for(var v=s.child;v!==null;)f|=v.lanes|v.childLanes,A|=v.subtreeFlags&14680064,A|=v.flags&14680064,v.return=s,v=v.sibling;else for(v=s.child;v!==null;)f|=v.lanes|v.childLanes,A|=v.subtreeFlags,A|=v.flags,v.return=s,v=v.sibling;return s.subtreeFlags|=A,s.childLanes=f,c}function w4(s,c,f){var A=c.pendingProps;switch(uA(c),c.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Rn(c),null;case 1:return or(c.type)&&yd(),Rn(c),null;case 3:return A=c.stateNode,Ja(),jt(rr),jt(Mn),kA(),A.pendingContext&&(A.context=A.pendingContext,A.pendingContext=null),(s===null||s.child===null)&&(Sd(c)?c.flags|=4:s===null||s.memoizedState.isDehydrated&&(c.flags&256)===0||(c.flags|=1024,no!==null&&($A(no),no=null))),HA(s,c),Rn(c),null;case 5:bA(c);var v=Vs(vc.current);if(f=c.type,s!==null&&c.stateNode!=null)g1(s,c,f,A,v),s.ref!==c.ref&&(c.flags|=512,c.flags|=2097152);else{if(!A){if(c.stateNode===null)throw Error(n(166));return Rn(c),null}if(s=Vs(Qo.current),Sd(c)){A=c.stateNode,f=c.type;var S=c.memoizedProps;switch(A[zo]=c,A[hc]=S,s=(c.mode&1)!==0,f){case"dialog":Ft("cancel",A),Ft("close",A);break;case"iframe":case"object":case"embed":Ft("load",A);break;case"video":case"audio":for(v=0;v<uc.length;v++)Ft(uc[v],A);break;case"source":Ft("error",A);break;case"img":case"image":case"link":Ft("error",A),Ft("load",A);break;case"details":Ft("toggle",A);break;case"input":an(A,S),Ft("invalid",A);break;case"select":A._wrapperState={wasMultiple:!!S.multiple},Ft("invalid",A);break;case"textarea":At(A,S),Ft("invalid",A)}Ne(f,S),v=null;for(var O in S)if(S.hasOwnProperty(O)){var U=S[O];O==="children"?typeof U=="string"?A.textContent!==U&&(S.suppressHydrationWarning!==!0&&gd(A.textContent,U,s),v=["children",U]):typeof U=="number"&&A.textContent!==""+U&&(S.suppressHydrationWarning!==!0&&gd(A.textContent,U,s),v=["children",""+U]):o.hasOwnProperty(O)&&U!=null&&O==="onScroll"&&Ft("scroll",A)}switch(f){case"input":lt(A),pt(A,S,!0);break;case"textarea":lt(A),en(A);break;case"select":case"option":break;default:typeof S.onClick=="function"&&(A.onclick=md)}A=v,c.updateQueue=A,A!==null&&(c.flags|=4)}else{O=v.nodeType===9?v:v.ownerDocument,s==="http://www.w3.org/1999/xhtml"&&(s=dn(f)),s==="http://www.w3.org/1999/xhtml"?f==="script"?(s=O.createElement("div"),s.innerHTML="<script><\/script>",s=s.removeChild(s.firstChild)):typeof A.is=="string"?s=O.createElement(f,{is:A.is}):(s=O.createElement(f),f==="select"&&(O=s,A.multiple?O.multiple=!0:A.size&&(O.size=A.size))):s=O.createElementNS(s,f),s[zo]=c,s[hc]=A,A1(s,c,!1,!1),c.stateNode=s;e:{switch(O=ot(f,A),f){case"dialog":Ft("cancel",s),Ft("close",s),v=A;break;case"iframe":case"object":case"embed":Ft("load",s),v=A;break;case"video":case"audio":for(v=0;v<uc.length;v++)Ft(uc[v],s);v=A;break;case"source":Ft("error",s),v=A;break;case"img":case"image":case"link":Ft("error",s),Ft("load",s),v=A;break;case"details":Ft("toggle",s),v=A;break;case"input":an(s,A),v=xt(s,A),Ft("invalid",s);break;case"option":v=A;break;case"select":s._wrapperState={wasMultiple:!!A.multiple},v=pe({},A,{value:void 0}),Ft("invalid",s);break;case"textarea":At(s,A),v=Lt(s,A),Ft("invalid",s);break;default:v=A}Ne(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&&Ae(s,Y)):S==="children"?typeof Y=="string"?(f!=="textarea"||Y!=="")&&Me(s,Y):typeof Y=="number"&&Me(s,""+Y):S!=="suppressContentEditableWarning"&&S!=="suppressHydrationWarning"&&S!=="autoFocus"&&(o.hasOwnProperty(S)?Y!=null&&S==="onScroll"&&Ft("scroll",s):Y!=null&&D(s,S,Y,O))}switch(f){case"input":lt(s),pt(s,A,!1);break;case"textarea":lt(s),en(s);break;case"option":A.value!=null&&s.setAttribute("value",""+_e(A.value));break;case"select":s.multiple=!!A.multiple,S=A.value,S!=null?zt(s,!!A.multiple,S,!1):A.defaultValue!=null&&zt(s,!!A.multiple,A.defaultValue,!0);break;default:typeof v.onClick=="function"&&(s.onclick=md)}switch(f){case"button":case"input":case"select":case"textarea":A=!!A.autoFocus;break e;case"img":A=!0;break e;default:A=!1}}A&&(c.flags|=4)}c.ref!==null&&(c.flags|=512,c.flags|=2097152)}return Rn(c),null;case 6:if(s&&c.stateNode!=null)m1(s,c,s.memoizedProps,A);else{if(typeof A!="string"&&c.stateNode===null)throw Error(n(166));if(f=Vs(vc.current),Vs(Qo.current),Sd(c)){if(A=c.stateNode,f=c.memoizedProps,A[zo]=c,(S=A.nodeValue!==f)&&(s=xr,s!==null))switch(s.tag){case 3:gd(A.nodeValue,f,(s.mode&1)!==0);break;case 5:s.memoizedProps.suppressHydrationWarning!==!0&&gd(A.nodeValue,f,(s.mode&1)!==0)}S&&(c.flags|=4)}else A=(f.nodeType===9?f:f.ownerDocument).createTextNode(A),A[zo]=c,c.stateNode=A}return Rn(c),null;case 13:if(jt(Yt),A=c.memoizedState,s===null||s.memoizedState!==null&&s.memoizedState.dehydrated!==null){if(Qt&&br!==null&&(c.mode&1)!==0&&(c.flags&128)===0)xw(),qa(),c.flags|=98560,S=!1;else if(S=Sd(c),A!==null&&A.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[zo]=c}else qa(),(c.flags&128)===0&&(c.memoizedState=null),c.flags|=4;Rn(c),S=!1}else no!==null&&($A(no),no=null),S=!0;if(!S)return c.flags&65536?c:null}return(c.flags&128)!==0?(c.lanes=f,c):(A=A!==null,A!==(s!==null&&s.memoizedState!==null)&&A&&(c.child.flags|=8192,(c.mode&1)!==0&&(s===null||(Yt.current&1)!==0?un===0&&(un=3):ng())),c.updateQueue!==null&&(c.flags|=4),Rn(c),null);case 4:return Ja(),HA(s,c),s===null&&dc(c.stateNode.containerInfo),Rn(c),null;case 10:return gA(c.type._context),Rn(c),null;case 17:return or(c.type)&&yd(),Rn(c),null;case 19:if(jt(Yt),S=c.memoizedState,S===null)return Rn(c),null;if(A=(c.flags&128)!==0,O=S.rendering,O===null)if(A)kc(S,!1);else{if(un!==0||s!==null&&(s.flags&128)!==0)for(s=c.child;s!==null;){if(O=Td(s),O!==null){for(c.flags|=128,kc(S,!1),A=O.updateQueue,A!==null&&(c.updateQueue=A,c.flags|=4),c.subtreeFlags=0,A=f,f=c.child;f!==null;)S=f,s=A,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 Ot(Yt,Yt.current&1|2),c.child}s=s.sibling}S.tail!==null&&Bt()>tl&&(c.flags|=128,A=!0,kc(S,!1),c.lanes=4194304)}else{if(!A)if(s=Td(O),s!==null){if(c.flags|=128,A=!0,f=s.updateQueue,f!==null&&(c.updateQueue=f,c.flags|=4),kc(S,!0),S.tail===null&&S.tailMode==="hidden"&&!O.alternate&&!Qt)return Rn(c),null}else 2*Bt()-S.renderingStartTime>tl&&f!==1073741824&&(c.flags|=128,A=!0,kc(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=Bt(),c.sibling=null,f=Yt.current,Ot(Yt,A?f&1|2:f&1),c):(Rn(c),null);case 22:case 23:return tg(),A=c.memoizedState!==null,s!==null&&s.memoizedState!==null!==A&&(c.flags|=8192),A&&(c.mode&1)!==0?(wr&1073741824)!==0&&(Rn(c),c.subtreeFlags&6&&(c.flags|=8192)):Rn(c),null;case 24:return null;case 25:return null}throw Error(n(156,c.tag))}function k4(s,c){switch(uA(c),c.tag){case 1:return or(c.type)&&yd(),s=c.flags,s&65536?(c.flags=s&-65537|128,c):null;case 3:return Ja(),jt(rr),jt(Mn),kA(),s=c.flags,(s&65536)!==0&&(s&128)===0?(c.flags=s&-65537|128,c):null;case 5:return bA(c),null;case 13:if(jt(Yt),s=c.memoizedState,s!==null&&s.dehydrated!==null){if(c.alternate===null)throw Error(n(340));qa()}return s=c.flags,s&65536?(c.flags=s&-65537|128,c):null;case 19:return jt(Yt),null;case 4:return Ja(),null;case 10:return gA(c.type._context),null;case 22:case 23:return tg(),null;case 24:return null;default:return null}}var Nd=!1,Ln=!1,S4=typeof WeakSet=="function"?WeakSet:Set,Re=null;function $a(s,c){var f=s.ref;if(f!==null)if(typeof f=="function")try{f(null)}catch(A){Xt(s,c,A)}else f.current=null}function UA(s,c,f){try{f()}catch(A){Xt(s,c,A)}}var v1=!1;function E4(s,c){if(tA=yr,s=Xb(),qp(s)){if("selectionStart"in s)var f={start:s.selectionStart,end:s.selectionEnd};else e:{f=(f=s.ownerDocument)&&f.defaultView||window;var A=f.getSelection&&f.getSelection();if(A&&A.rangeCount!==0){f=A.anchorNode;var v=A.anchorOffset,S=A.focusNode;A=A.focusOffset;try{f.nodeType,S.nodeType}catch{f=null;break e}var O=0,U=-1,Y=-1,ue=0,be=0,we=s,xe=null;t:for(;;){for(var Oe;we!==f||v!==0&&we.nodeType!==3||(U=O+v),we!==S||A!==0&&we.nodeType!==3||(Y=O+A),we.nodeType===3&&(O+=we.nodeValue.length),(Oe=we.firstChild)!==null;)xe=we,we=Oe;for(;;){if(we===s)break t;if(xe===f&&++ue===v&&(U=O),xe===S&&++be===A&&(Y=O),(Oe=we.nextSibling)!==null)break;we=xe,xe=we.parentNode}we=Oe}f=U===-1||Y===-1?null:{start:U,end:Y}}else f=null}f=f||{start:0,end:0}}else f=null;for(nA={focusedElem:s,selectionRange:f},yr=!1,Re=c;Re!==null;)if(c=Re,s=c.child,(c.subtreeFlags&1028)!==0&&s!==null)s.return=c,Re=s;else for(;Re!==null;){c=Re;try{var je=c.alternate;if((c.flags&1024)!==0)switch(c.tag){case 0:case 11:case 15:break;case 1:if(je!==null){var ze=je.memoizedProps,Jt=je.memoizedState,te=c.stateNode,X=te.getSnapshotBeforeUpdate(c.elementType===c.type?ze:ro(c.type,ze),Jt);te.__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(Ce){Xt(c,c.return,Ce)}if(s=c.sibling,s!==null){s.return=c.return,Re=s;break}Re=c.return}return je=v1,v1=!1,je}function Sc(s,c,f){var A=c.updateQueue;if(A=A!==null?A.lastEffect:null,A!==null){var v=A=A.next;do{if((v.tag&s)===s){var S=v.destroy;v.destroy=void 0,S!==void 0&&UA(c,f,S)}v=v.next}while(v!==A)}}function zd(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 A=f.create;f.destroy=A()}f=f.next}while(f!==c)}}function VA(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 y1(s){var c=s.alternate;c!==null&&(s.alternate=null,y1(c)),s.child=null,s.deletions=null,s.sibling=null,s.tag===5&&(c=s.stateNode,c!==null&&(delete c[zo],delete c[hc],delete c[sA],delete c[a4],delete c[l4])),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 x1(s){return s.tag===5||s.tag===3||s.tag===4}function b1(s){e:for(;;){for(;s.sibling===null;){if(s.return===null||x1(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 WA(s,c,f){var A=s.tag;if(A===5||A===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=md));else if(A!==4&&(s=s.child,s!==null))for(WA(s,c,f),s=s.sibling;s!==null;)WA(s,c,f),s=s.sibling}function YA(s,c,f){var A=s.tag;if(A===5||A===6)s=s.stateNode,c?f.insertBefore(s,c):f.appendChild(s);else if(A!==4&&(s=s.child,s!==null))for(YA(s,c,f),s=s.sibling;s!==null;)YA(s,c,f),s=s.sibling}var En=null,oo=!1;function $i(s,c,f){for(f=f.child;f!==null;)w1(s,c,f),f=f.sibling}function w1(s,c,f){if(Nn&&typeof Nn.onCommitFiberUnmount=="function")try{Nn.onCommitFiberUnmount(mr,f)}catch{}switch(f.tag){case 5:Ln||$a(f,c);case 6:var A=En,v=oo;En=null,$i(s,c,f),En=A,oo=v,En!==null&&(oo?(s=En,f=f.stateNode,s.nodeType===8?s.parentNode.removeChild(f):s.removeChild(f)):En.removeChild(f.stateNode));break;case 18:En!==null&&(oo?(s=En,f=f.stateNode,s.nodeType===8?iA(s.parentNode,f):s.nodeType===1&&iA(s,f),Fo(s)):iA(En,f.stateNode));break;case 4:A=En,v=oo,En=f.stateNode.containerInfo,oo=!0,$i(s,c,f),En=A,oo=v;break;case 0:case 11:case 14:case 15:if(!Ln&&(A=f.updateQueue,A!==null&&(A=A.lastEffect,A!==null))){v=A=A.next;do{var S=v,O=S.destroy;S=S.tag,O!==void 0&&((S&2)!==0||(S&4)!==0)&&UA(f,c,O),v=v.next}while(v!==A)}$i(s,c,f);break;case 1:if(!Ln&&($a(f,c),A=f.stateNode,typeof A.componentWillUnmount=="function"))try{A.props=f.memoizedProps,A.state=f.memoizedState,A.componentWillUnmount()}catch(U){Xt(f,c,U)}$i(s,c,f);break;case 21:$i(s,c,f);break;case 22:f.mode&1?(Ln=(A=Ln)||f.memoizedState!==null,$i(s,c,f),Ln=A):$i(s,c,f);break;default:$i(s,c,f)}}function k1(s){var c=s.updateQueue;if(c!==null){s.updateQueue=null;var f=s.stateNode;f===null&&(f=s.stateNode=new S4),c.forEach(function(A){var v=O4.bind(null,s,A);f.has(A)||(f.add(A),A.then(v,v))})}}function io(s,c){var f=c.deletions;if(f!==null)for(var A=0;A<f.length;A++){var v=f[A];try{var S=s,O=c,U=O;e:for(;U!==null;){switch(U.tag){case 5:En=U.stateNode,oo=!1;break e;case 3:En=U.stateNode.containerInfo,oo=!0;break e;case 4:En=U.stateNode.containerInfo,oo=!0;break e}U=U.return}if(En===null)throw Error(n(160));w1(S,O,v),En=null,oo=!1;var Y=v.alternate;Y!==null&&(Y.return=null),v.return=null}catch(ue){Xt(v,c,ue)}}if(c.subtreeFlags&12854)for(c=c.child;c!==null;)S1(c,s),c=c.sibling}function S1(s,c){var f=s.alternate,A=s.flags;switch(s.tag){case 0:case 11:case 14:case 15:if(io(c,s),Uo(s),A&4){try{Sc(3,s,s.return),zd(3,s)}catch(ze){Xt(s,s.return,ze)}try{Sc(5,s,s.return)}catch(ze){Xt(s,s.return,ze)}}break;case 1:io(c,s),Uo(s),A&512&&f!==null&&$a(f,f.return);break;case 5:if(io(c,s),Uo(s),A&512&&f!==null&&$a(f,f.return),s.flags&32){var v=s.stateNode;try{Me(v,"")}catch(ze){Xt(s,s.return,ze)}}if(A&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&&Mt(v,S),ot(U,O);var ue=ot(U,S);for(O=0;O<Y.length;O+=2){var be=Y[O],we=Y[O+1];be==="style"?le(v,we):be==="dangerouslySetInnerHTML"?Ae(v,we):be==="children"?Me(v,we):D(v,be,we,ue)}switch(U){case"input":Wt(v,S);break;case"textarea":bn(v,S);break;case"select":var xe=v._wrapperState.wasMultiple;v._wrapperState.wasMultiple=!!S.multiple;var Oe=S.value;Oe!=null?zt(v,!!S.multiple,Oe,!1):xe!==!!S.multiple&&(S.defaultValue!=null?zt(v,!!S.multiple,S.defaultValue,!0):zt(v,!!S.multiple,S.multiple?[]:"",!1))}v[hc]=S}catch(ze){Xt(s,s.return,ze)}}break;case 6:if(io(c,s),Uo(s),A&4){if(s.stateNode===null)throw Error(n(162));v=s.stateNode,S=s.memoizedProps;try{v.nodeValue=S}catch(ze){Xt(s,s.return,ze)}}break;case 3:if(io(c,s),Uo(s),A&4&&f!==null&&f.memoizedState.isDehydrated)try{Fo(c.containerInfo)}catch(ze){Xt(s,s.return,ze)}break;case 4:io(c,s),Uo(s);break;case 13:io(c,s),Uo(s),v=s.child,v.flags&8192&&(S=v.memoizedState!==null,v.stateNode.isHidden=S,!S||v.alternate!==null&&v.alternate.memoizedState!==null||(GA=Bt())),A&4&&k1(s);break;case 22:if(be=f!==null&&f.memoizedState!==null,s.mode&1?(Ln=(ue=Ln)||be,io(c,s),Ln=ue):io(c,s),Uo(s),A&8192){if(ue=s.memoizedState!==null,(s.stateNode.isHidden=ue)&&!be&&(s.mode&1)!==0)for(Re=s,be=s.child;be!==null;){for(we=Re=be;Re!==null;){switch(xe=Re,Oe=xe.child,xe.tag){case 0:case 11:case 14:case 15:Sc(4,xe,xe.return);break;case 1:$a(xe,xe.return);var je=xe.stateNode;if(typeof je.componentWillUnmount=="function"){A=xe,f=xe.return;try{c=A,je.props=c.memoizedProps,je.state=c.memoizedState,je.componentWillUnmount()}catch(ze){Xt(A,f,ze)}}break;case 5:$a(xe,xe.return);break;case 22:if(xe.memoizedState!==null){P1(we);continue}}Oe!==null?(Oe.return=xe,Re=Oe):P1(we)}be=be.sibling}e:for(be=null,we=s;;){if(we.tag===5){if(be===null){be=we;try{v=we.stateNode,ue?(S=v.style,typeof S.setProperty=="function"?S.setProperty("display","none","important"):S.display="none"):(U=we.stateNode,Y=we.memoizedProps.style,O=Y!=null&&Y.hasOwnProperty("display")?Y.display:null,U.style.display=qe("display",O))}catch(ze){Xt(s,s.return,ze)}}}else if(we.tag===6){if(be===null)try{we.stateNode.nodeValue=ue?"":we.memoizedProps}catch(ze){Xt(s,s.return,ze)}}else if((we.tag!==22&&we.tag!==23||we.memoizedState===null||we===s)&&we.child!==null){we.child.return=we,we=we.child;continue}if(we===s)break e;for(;we.sibling===null;){if(we.return===null||we.return===s)break e;be===we&&(be=null),we=we.return}be===we&&(be=null),we.sibling.return=we.return,we=we.sibling}}break;case 19:io(c,s),Uo(s),A&4&&k1(s);break;case 21:break;default:io(c,s),Uo(s)}}function Uo(s){var c=s.flags;if(c&2){try{e:{for(var f=s.return;f!==null;){if(x1(f)){var A=f;break e}f=f.return}throw Error(n(160))}switch(A.tag){case 5:var v=A.stateNode;A.flags&32&&(Me(v,""),A.flags&=-33);var S=b1(s);YA(s,S,v);break;case 3:case 4:var O=A.stateNode.containerInfo,U=b1(s);WA(s,U,O);break;default:throw Error(n(161))}}catch(Y){Xt(s,s.return,Y)}s.flags&=-3}c&4096&&(s.flags&=-4097)}function C4(s,c,f){Re=s,E1(s)}function E1(s,c,f){for(var A=(s.mode&1)!==0;Re!==null;){var v=Re,S=v.child;if(v.tag===22&&A){var O=v.memoizedState!==null||Nd;if(!O){var U=v.alternate,Y=U!==null&&U.memoizedState!==null||Ln;U=Nd;var ue=Ln;if(Nd=O,(Ln=Y)&&!ue)for(Re=v;Re!==null;)O=Re,Y=O.child,O.tag===22&&O.memoizedState!==null?D1(v):Y!==null?(Y.return=O,Re=Y):D1(v);for(;S!==null;)Re=S,E1(S),S=S.sibling;Re=v,Nd=U,Ln=ue}C1(s)}else(v.subtreeFlags&8772)!==0&&S!==null?(S.return=v,Re=S):C1(s)}}function C1(s){for(;Re!==null;){var c=Re;if((c.flags&8772)!==0){var f=c.alternate;try{if((c.flags&8772)!==0)switch(c.tag){case 0:case 11:case 15:Ln||zd(5,c);break;case 1:var A=c.stateNode;if(c.flags&4&&!Ln)if(f===null)A.componentDidMount();else{var v=c.elementType===c.type?f.memoizedProps:ro(c.type,f.memoizedProps);A.componentDidUpdate(v,f.memoizedState,A.__reactInternalSnapshotBeforeUpdate)}var S=c.updateQueue;S!==null&&Pw(c,S,A);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}Pw(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 ue=c.alternate;if(ue!==null){var be=ue.memoizedState;if(be!==null){var we=be.dehydrated;we!==null&&Fo(we)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(n(163))}Ln||c.flags&512&&VA(c)}catch(xe){Xt(c,c.return,xe)}}if(c===s){Re=null;break}if(f=c.sibling,f!==null){f.return=c.return,Re=f;break}Re=c.return}}function P1(s){for(;Re!==null;){var c=Re;if(c===s){Re=null;break}var f=c.sibling;if(f!==null){f.return=c.return,Re=f;break}Re=c.return}}function D1(s){for(;Re!==null;){var c=Re;try{switch(c.tag){case 0:case 11:case 15:var f=c.return;try{zd(4,c)}catch(Y){Xt(c,f,Y)}break;case 1:var A=c.stateNode;if(typeof A.componentDidMount=="function"){var v=c.return;try{A.componentDidMount()}catch(Y){Xt(c,v,Y)}}var S=c.return;try{VA(c)}catch(Y){Xt(c,S,Y)}break;case 5:var O=c.return;try{VA(c)}catch(Y){Xt(c,O,Y)}}}catch(Y){Xt(c,c.return,Y)}if(c===s){Re=null;break}var U=c.sibling;if(U!==null){U.return=c.return,Re=U;break}Re=c.return}}var P4=Math.ceil,Qd=C.ReactCurrentDispatcher,qA=C.ReactCurrentOwner,Qr=C.ReactCurrentBatchConfig,gt=0,An=null,nn=null,Cn=0,wr=0,el=Ki(0),un=0,Ec=null,Ys=0,Hd=0,KA=0,Cc=null,sr=null,GA=0,tl=1/0,vi=null,Ud=!1,XA=null,es=null,Vd=!1,ts=null,Wd=0,Pc=0,JA=null,Yd=-1,qd=0;function Hn(){return(gt&6)!==0?Bt():Yd!==-1?Yd:Yd=Bt()}function ns(s){return(s.mode&1)===0?1:(gt&2)!==0&&Cn!==0?Cn&-Cn:u4.transition!==null?(qd===0&&(qd=H()),qd):(s=Te,s!==0||(s=window.event,s=s===void 0?16:Zl(s.type)),s)}function so(s,c,f,A){if(50<Pc)throw Pc=0,JA=null,Error(n(185));ee(s,f,A),((gt&2)===0||s!==An)&&(s===An&&((gt&2)===0&&(Hd|=f),un===4&&rs(s,Cn)),ar(s,A),f===1&>===0&&(c.mode&1)===0&&(tl=Bt()+500,bd&&Xi()))}function ar(s,c){var f=s.callbackNode;T(s,c);var A=Oo(s,s===An?Cn:0);if(A===0)f!==null&&Ps(f),s.callbackNode=null,s.callbackPriority=0;else if(c=A&-A,s.callbackPriority!==c){if(f!=null&&Ps(f),c===1)s.tag===0?c4(T1.bind(null,s)):Aw(T1.bind(null,s)),i4(function(){(gt&6)===0&&Xi()}),f=null;else{switch(Ye(A)){case 1:f=zi;break;case 4:f=Qi;break;case 16:f=_o;break;case 536870912:f=Xr;break;default:f=_o}f=j1(f,B1.bind(null,s))}s.callbackPriority=c,s.callbackNode=f}}function B1(s,c){if(Yd=-1,qd=0,(gt&6)!==0)throw Error(n(327));var f=s.callbackNode;if(nl()&&s.callbackNode!==f)return null;var A=Oo(s,s===An?Cn:0);if(A===0)return null;if((A&30)!==0||(A&s.expiredLanes)!==0||c)c=Kd(s,A);else{c=A;var v=gt;gt|=2;var S=_1();(An!==s||Cn!==c)&&(vi=null,tl=Bt()+500,Ks(s,c));do try{T4();break}catch(U){I1(s,U)}while(!0);AA(),Qd.current=S,gt=v,nn!==null?c=0:(An=null,Cn=0,c=un)}if(c!==0){if(c===2&&(v=F(s),v!==0&&(A=v,c=ZA(s,v))),c===1)throw f=Ec,Ks(s,0),rs(s,A),ar(s,Bt()),f;if(c===6)rs(s,A);else{if(v=s.current.alternate,(A&30)===0&&!D4(v)&&(c=Kd(s,A),c===2&&(S=F(s),S!==0&&(A=S,c=ZA(s,S))),c===1))throw f=Ec,Ks(s,0),rs(s,A),ar(s,Bt()),f;switch(s.finishedWork=v,s.finishedLanes=A,c){case 0:case 1:throw Error(n(345));case 2:Gs(s,sr,vi);break;case 3:if(rs(s,A),(A&130023424)===A&&(c=GA+500-Bt(),10<c)){if(Oo(s,0)!==0)break;if(v=s.suspendedLanes,(v&A)!==A){Hn(),s.pingedLanes|=s.suspendedLanes&v;break}s.timeoutHandle=oA(Gs.bind(null,s,sr,vi),c);break}Gs(s,sr,vi);break;case 4:if(rs(s,A),(A&4194240)===A)break;for(c=s.eventTimes,v=-1;0<A;){var O=31-ln(A);S=1<<O,O=c[O],O>v&&(v=O),A&=~S}if(A=v,A=Bt()-A,A=(120>A?120:480>A?480:1080>A?1080:1920>A?1920:3e3>A?3e3:4320>A?4320:1960*P4(A/1960))-A,10<A){s.timeoutHandle=oA(Gs.bind(null,s,sr,vi),A);break}Gs(s,sr,vi);break;case 5:Gs(s,sr,vi);break;default:throw Error(n(329))}}}return ar(s,Bt()),s.callbackNode===f?B1.bind(null,s):null}function ZA(s,c){var f=Cc;return s.current.memoizedState.isDehydrated&&(Ks(s,c).flags|=256),s=Kd(s,c),s!==2&&(c=sr,sr=f,c!==null&&$A(c)),s}function $A(s){sr===null?sr=s:sr.push.apply(sr,s)}function D4(s){for(var c=s;;){if(c.flags&16384){var f=c.updateQueue;if(f!==null&&(f=f.stores,f!==null))for(var A=0;A<f.length;A++){var v=f[A],S=v.getSnapshot;v=v.value;try{if(!to(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 rs(s,c){for(c&=~KA,c&=~Hd,s.suspendedLanes|=c,s.pingedLanes&=~c,s=s.expirationTimes;0<c;){var f=31-ln(c),A=1<<f;s[f]=-1,c&=~A}}function T1(s){if((gt&6)!==0)throw Error(n(327));nl();var c=Oo(s,0);if((c&1)===0)return ar(s,Bt()),null;var f=Kd(s,c);if(s.tag!==0&&f===2){var A=F(s);A!==0&&(c=A,f=ZA(s,A))}if(f===1)throw f=Ec,Ks(s,0),rs(s,c),ar(s,Bt()),f;if(f===6)throw Error(n(345));return s.finishedWork=s.current.alternate,s.finishedLanes=c,Gs(s,sr,vi),ar(s,Bt()),null}function eg(s,c){var f=gt;gt|=1;try{return s(c)}finally{gt=f,gt===0&&(tl=Bt()+500,bd&&Xi())}}function qs(s){ts!==null&&ts.tag===0&&(gt&6)===0&&nl();var c=gt;gt|=1;var f=Qr.transition,A=Te;try{if(Qr.transition=null,Te=1,s)return s()}finally{Te=A,Qr.transition=f,gt=c,(gt&6)===0&&Xi()}}function tg(){wr=el.current,jt(el)}function Ks(s,c){s.finishedWork=null,s.finishedLanes=0;var f=s.timeoutHandle;if(f!==-1&&(s.timeoutHandle=-1,o4(f)),nn!==null)for(f=nn.return;f!==null;){var A=f;switch(uA(A),A.tag){case 1:A=A.type.childContextTypes,A!=null&&yd();break;case 3:Ja(),jt(rr),jt(Mn),kA();break;case 5:bA(A);break;case 4:Ja();break;case 13:jt(Yt);break;case 19:jt(Yt);break;case 10:gA(A.type._context);break;case 22:case 23:tg()}f=f.return}if(An=s,nn=s=os(s.current,null),Cn=wr=c,un=0,Ec=null,KA=Hd=Ys=0,sr=Cc=null,Us!==null){for(c=0;c<Us.length;c++)if(f=Us[c],A=f.interleaved,A!==null){f.interleaved=null;var v=A.next,S=f.pending;if(S!==null){var O=S.next;S.next=v,A.next=O}f.pending=A}Us=null}return s}function I1(s,c){do{var f=nn;try{if(AA(),Id.current=Rd,_d){for(var A=qt.memoizedState;A!==null;){var v=A.queue;v!==null&&(v.pending=null),A=A.next}_d=!1}if(Ws=0,pn=cn=qt=null,yc=!1,xc=0,qA.current=null,f===null||f.return===null){un=1,Ec=c,nn=null;break}e:{var S=s,O=f.return,U=f,Y=c;if(c=Cn,U.flags|=32768,Y!==null&&typeof Y=="object"&&typeof Y.then=="function"){var ue=Y,be=U,we=be.tag;if((be.mode&1)===0&&(we===0||we===11||we===15)){var xe=be.alternate;xe?(be.updateQueue=xe.updateQueue,be.memoizedState=xe.memoizedState,be.lanes=xe.lanes):(be.updateQueue=null,be.memoizedState=null)}var Oe=n1(O);if(Oe!==null){Oe.flags&=-257,r1(Oe,O,U,S,c),Oe.mode&1&&t1(S,ue,c),c=Oe,Y=ue;var je=c.updateQueue;if(je===null){var ze=new Set;ze.add(Y),c.updateQueue=ze}else je.add(Y);break e}else{if((c&1)===0){t1(S,ue,c),ng();break e}Y=Error(n(426))}}else if(Qt&&U.mode&1){var Jt=n1(O);if(Jt!==null){(Jt.flags&65536)===0&&(Jt.flags|=256),r1(Jt,O,U,S,c),hA(Za(Y,U));break e}}S=Y=Za(Y,U),un!==4&&(un=2),Cc===null?Cc=[S]:Cc.push(S),S=O;do{switch(S.tag){case 3:S.flags|=65536,c&=-c,S.lanes|=c;var te=$w(S,Y,c);Cw(S,te);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"&&(es===null||!es.has(se)))){S.flags|=65536,c&=-c,S.lanes|=c;var Ce=e1(S,U,c);Cw(S,Ce);break e}}S=S.return}while(S!==null)}O1(f)}catch(Qe){c=Qe,nn===f&&f!==null&&(nn=f=f.return);continue}break}while(!0)}function _1(){var s=Qd.current;return Qd.current=Rd,s===null?Rd:s}function ng(){(un===0||un===3||un===2)&&(un=4),An===null||(Ys&268435455)===0&&(Hd&268435455)===0||rs(An,Cn)}function Kd(s,c){var f=gt;gt|=2;var A=_1();(An!==s||Cn!==c)&&(vi=null,Ks(s,c));do try{B4();break}catch(v){I1(s,v)}while(!0);if(AA(),gt=f,Qd.current=A,nn!==null)throw Error(n(261));return An=null,Cn=0,un}function B4(){for(;nn!==null;)M1(nn)}function T4(){for(;nn!==null&&!Ca();)M1(nn)}function M1(s){var c=F1(s.alternate,s,wr);s.memoizedProps=s.pendingProps,c===null?O1(s):nn=c,qA.current=null}function O1(s){var c=s;do{var f=c.alternate;if(s=c.return,(c.flags&32768)===0){if(f=w4(f,c,wr),f!==null){nn=f;return}}else{if(f=k4(f,c),f!==null){f.flags&=32767,nn=f;return}if(s!==null)s.flags|=32768,s.subtreeFlags=0,s.deletions=null;else{un=6,nn=null;return}}if(c=c.sibling,c!==null){nn=c;return}nn=c=s}while(c!==null);un===0&&(un=5)}function Gs(s,c,f){var A=Te,v=Qr.transition;try{Qr.transition=null,Te=1,I4(s,c,f,A)}finally{Qr.transition=v,Te=A}return null}function I4(s,c,f,A){do nl();while(ts!==null);if((gt&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(ge(s,S),s===An&&(nn=An=null,Cn=0),(f.subtreeFlags&2064)===0&&(f.flags&2064)===0||Vd||(Vd=!0,j1(_o,function(){return nl(),null})),S=(f.flags&15990)!==0,(f.subtreeFlags&15990)!==0||S){S=Qr.transition,Qr.transition=null;var O=Te;Te=1;var U=gt;gt|=4,qA.current=null,E4(s,f),S1(f,s),J5(nA),yr=!!tA,nA=tA=null,s.current=f,C4(f),Pa(),gt=U,Te=O,Qr.transition=S}else s.current=f;if(Vd&&(Vd=!1,ts=s,Wd=v),S=s.pendingLanes,S===0&&(es=null),ii(f.stateNode),ar(s,Bt()),c!==null)for(A=s.onRecoverableError,f=0;f<c.length;f++)v=c[f],A(v.value,{componentStack:v.stack,digest:v.digest});if(Ud)throw Ud=!1,s=XA,XA=null,s;return(Wd&1)!==0&&s.tag!==0&&nl(),S=s.pendingLanes,(S&1)!==0?s===JA?Pc++:(Pc=0,JA=s):Pc=0,Xi(),null}function nl(){if(ts!==null){var s=Ye(Wd),c=Qr.transition,f=Te;try{if(Qr.transition=null,Te=16>s?16:s,ts===null)var A=!1;else{if(s=ts,ts=null,Wd=0,(gt&6)!==0)throw Error(n(331));var v=gt;for(gt|=4,Re=s.current;Re!==null;){var S=Re,O=S.child;if((Re.flags&16)!==0){var U=S.deletions;if(U!==null){for(var Y=0;Y<U.length;Y++){var ue=U[Y];for(Re=ue;Re!==null;){var be=Re;switch(be.tag){case 0:case 11:case 15:Sc(8,be,S)}var we=be.child;if(we!==null)we.return=be,Re=we;else for(;Re!==null;){be=Re;var xe=be.sibling,Oe=be.return;if(y1(be),be===ue){Re=null;break}if(xe!==null){xe.return=Oe,Re=xe;break}Re=Oe}}}var je=S.alternate;if(je!==null){var ze=je.child;if(ze!==null){je.child=null;do{var Jt=ze.sibling;ze.sibling=null,ze=Jt}while(ze!==null)}}Re=S}}if((S.subtreeFlags&2064)!==0&&O!==null)O.return=S,Re=O;else e:for(;Re!==null;){if(S=Re,(S.flags&2048)!==0)switch(S.tag){case 0:case 11:case 15:Sc(9,S,S.return)}var te=S.sibling;if(te!==null){te.return=S.return,Re=te;break e}Re=S.return}}var X=s.current;for(Re=X;Re!==null;){O=Re;var se=O.child;if((O.subtreeFlags&2064)!==0&&se!==null)se.return=O,Re=se;else e:for(O=X;Re!==null;){if(U=Re,(U.flags&2048)!==0)try{switch(U.tag){case 0:case 11:case 15:zd(9,U)}}catch(Qe){Xt(U,U.return,Qe)}if(U===O){Re=null;break e}var Ce=U.sibling;if(Ce!==null){Ce.return=U.return,Re=Ce;break e}Re=U.return}}if(gt=v,Xi(),Nn&&typeof Nn.onPostCommitFiberRoot=="function")try{Nn.onPostCommitFiberRoot(mr,s)}catch{}A=!0}return A}finally{Te=f,Qr.transition=c}}return!1}function R1(s,c,f){c=Za(f,c),c=$w(s,c,1),s=Zi(s,c,1),c=Hn(),s!==null&&(ee(s,1,c),ar(s,c))}function Xt(s,c,f){if(s.tag===3)R1(s,s,f);else for(;c!==null;){if(c.tag===3){R1(c,s,f);break}else if(c.tag===1){var A=c.stateNode;if(typeof c.type.getDerivedStateFromError=="function"||typeof A.componentDidCatch=="function"&&(es===null||!es.has(A))){s=Za(f,s),s=e1(c,s,1),c=Zi(c,s,1),s=Hn(),c!==null&&(ee(c,1,s),ar(c,s));break}}c=c.return}}function _4(s,c,f){var A=s.pingCache;A!==null&&A.delete(c),c=Hn(),s.pingedLanes|=s.suspendedLanes&f,An===s&&(Cn&f)===f&&(un===4||un===3&&(Cn&130023424)===Cn&&500>Bt()-GA?Ks(s,0):KA|=f),ar(s,c)}function L1(s,c){c===0&&((s.mode&1)===0?c=1:(c=si,si<<=1,(si&130023424)===0&&(si=4194304)));var f=Hn();s=Ai(s,c),s!==null&&(ee(s,c,f),ar(s,f))}function M4(s){var c=s.memoizedState,f=0;c!==null&&(f=c.retryLane),L1(s,f)}function O4(s,c){var f=0;switch(s.tag){case 13:var A=s.stateNode,v=s.memoizedState;v!==null&&(f=v.retryLane);break;case 19:A=s.stateNode;break;default:throw Error(n(314))}A!==null&&A.delete(c),L1(s,f)}var F1;F1=function(s,c,f){if(s!==null)if(s.memoizedProps!==c.pendingProps||rr.current)ir=!0;else{if((s.lanes&f)===0&&(c.flags&128)===0)return ir=!1,b4(s,c,f);ir=(s.flags&131072)!==0}else ir=!1,Qt&&(c.flags&1048576)!==0&&gw(c,kd,c.index);switch(c.lanes=0,c.tag){case 2:var A=c.type;jd(s,c),s=c.pendingProps;var v=Va(c,Mn.current);Xa(c,f),v=CA(null,c,A,s,v,f);var S=PA();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,or(A)?(S=!0,xd(c)):S=!1,c.memoizedState=v.state!==null&&v.state!==void 0?v.state:null,yA(c),v.updater=Ld,c.stateNode=v,v._reactInternals=c,MA(c,A,s,f),c=FA(null,c,A,!0,S,f)):(c.tag=0,Qt&&S&&cA(c),Qn(null,c,v,f),c=c.child),c;case 16:A=c.elementType;e:{switch(jd(s,c),s=c.pendingProps,v=A._init,A=v(A._payload),c.type=A,v=c.tag=L4(A),s=ro(A,s),v){case 0:c=LA(null,c,A,s,f);break e;case 1:c=c1(null,c,A,s,f);break e;case 11:c=o1(null,c,A,s,f);break e;case 14:c=i1(null,c,A,ro(A.type,s),f);break e}throw Error(n(306,A,""))}return c;case 0:return A=c.type,v=c.pendingProps,v=c.elementType===A?v:ro(A,v),LA(s,c,A,v,f);case 1:return A=c.type,v=c.pendingProps,v=c.elementType===A?v:ro(A,v),c1(s,c,A,v,f);case 3:e:{if(u1(c),s===null)throw Error(n(387));A=c.pendingProps,S=c.memoizedState,v=S.element,Ew(s,c),Bd(c,A,null,f);var O=c.memoizedState;if(A=O.element,S.isDehydrated)if(S={element:A,isDehydrated:!1,cache:O.cache,pendingSuspenseBoundaries:O.pendingSuspenseBoundaries,transitions:O.transitions},c.updateQueue.baseState=S,c.memoizedState=S,c.flags&256){v=Za(Error(n(423)),c),c=d1(s,c,A,f,v);break e}else if(A!==v){v=Za(Error(n(424)),c),c=d1(s,c,A,f,v);break e}else for(br=qi(c.stateNode.containerInfo.firstChild),xr=c,Qt=!0,no=null,f=kw(c,null,A,f),c.child=f;f;)f.flags=f.flags&-3|4096,f=f.sibling;else{if(qa(),A===v){c=mi(s,c,f);break e}Qn(s,c,A,f)}c=c.child}return c;case 5:return Dw(c),s===null&&fA(c),A=c.type,v=c.pendingProps,S=s!==null?s.memoizedProps:null,O=v.children,rA(A,v)?O=null:S!==null&&rA(A,S)&&(c.flags|=32),l1(s,c),Qn(s,c,O,f),c.child;case 6:return s===null&&fA(c),null;case 13:return f1(s,c,f);case 4:return xA(c,c.stateNode.containerInfo),A=c.pendingProps,s===null?c.child=Ka(c,null,A,f):Qn(s,c,A,f),c.child;case 11:return A=c.type,v=c.pendingProps,v=c.elementType===A?v:ro(A,v),o1(s,c,A,v,f);case 7:return Qn(s,c,c.pendingProps,f),c.child;case 8:return Qn(s,c,c.pendingProps.children,f),c.child;case 12:return Qn(s,c,c.pendingProps.children,f),c.child;case 10:e:{if(A=c.type._context,v=c.pendingProps,S=c.memoizedProps,O=v.value,Ot(Cd,A._currentValue),A._currentValue=O,S!==null)if(to(S.value,O)){if(S.children===v.children&&!rr.current){c=mi(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===A){if(S.tag===1){Y=gi(-1,f&-f),Y.tag=2;var ue=S.updateQueue;if(ue!==null){ue=ue.shared;var be=ue.pending;be===null?Y.next=Y:(Y.next=be.next,be.next=Y),ue.pending=Y}}S.lanes|=f,Y=S.alternate,Y!==null&&(Y.lanes|=f),mA(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),mA(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}Qn(s,c,v.children,f),c=c.child}return c;case 9:return v=c.type,A=c.pendingProps.children,Xa(c,f),v=Nr(v),A=A(v),c.flags|=1,Qn(s,c,A,f),c.child;case 14:return A=c.type,v=ro(A,c.pendingProps),v=ro(A.type,v),i1(s,c,A,v,f);case 15:return s1(s,c,c.type,c.pendingProps,f);case 17:return A=c.type,v=c.pendingProps,v=c.elementType===A?v:ro(A,v),jd(s,c),c.tag=1,or(A)?(s=!0,xd(c)):s=!1,Xa(c,f),Jw(c,A,v),MA(c,A,v,f),FA(null,c,A,!0,s,f);case 19:return p1(s,c,f);case 22:return a1(s,c,f)}throw Error(n(156,c.tag))};function j1(s,c){return oi(s,c)}function R4(s,c,f,A){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=A,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Hr(s,c,f,A){return new R4(s,c,f,A)}function rg(s){return s=s.prototype,!(!s||!s.isReactComponent)}function L4(s){if(typeof s=="function")return rg(s)?1:0;if(s!=null){if(s=s.$$typeof,s===V)return 11;if(s===ne)return 14}return 2}function os(s,c){var f=s.alternate;return f===null?(f=Hr(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 Gd(s,c,f,A,v,S){var O=2;if(A=s,typeof s=="function")rg(s)&&(O=1);else if(typeof s=="string")O=5;else e:switch(s){case z:return Xs(f.children,v,S,c);case W:O=8,v|=8;break;case K:return s=Hr(12,f,c,v|2),s.elementType=K,s.lanes=S,s;case Z:return s=Hr(13,f,c,v),s.elementType=Z,s.lanes=S,s;case ce:return s=Hr(19,f,c,v),s.elementType=ce,s.lanes=S,s;case oe:return Xd(f,v,S,c);default:if(typeof s=="object"&&s!==null)switch(s.$$typeof){case q:O=10;break e;case J:O=9;break e;case V:O=11;break e;case ne:O=14;break e;case fe:O=16,A=null;break e}throw Error(n(130,s==null?s:typeof s,""))}return c=Hr(O,f,c,v),c.elementType=s,c.type=A,c.lanes=S,c}function Xs(s,c,f,A){return s=Hr(7,s,A,c),s.lanes=f,s}function Xd(s,c,f,A){return s=Hr(22,s,A,c),s.elementType=oe,s.lanes=f,s.stateNode={isHidden:!1},s}function og(s,c,f){return s=Hr(6,s,null,c),s.lanes=f,s}function ig(s,c,f){return c=Hr(4,s.children!==null?s.children:[],s.key,c),c.lanes=f,c.stateNode={containerInfo:s.containerInfo,pendingChildren:null,implementation:s.implementation},c}function F4(s,c,f,A,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=ie(0),this.expirationTimes=ie(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ie(0),this.identifierPrefix=A,this.onRecoverableError=v,this.mutableSourceEagerHydrationData=null}function sg(s,c,f,A,v,S,O,U,Y){return s=new F4(s,c,f,U,Y),c===1?(c=1,S===!0&&(c|=8)):c=0,S=Hr(3,null,null,c),s.current=S,S.stateNode=s,S.memoizedState={element:A,isDehydrated:f,cache:null,transitions:null,pendingSuspenseBoundaries:null},yA(S),s}function j4(s,c,f){var A=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:R,key:A==null?null:""+A,children:s,containerInfo:c,implementation:f}}function N1(s){if(!s)return Gi;s=s._reactInternals;e:{if(Gr(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(or(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(or(f))return hw(s,f,c)}return c}function z1(s,c,f,A,v,S,O,U,Y){return s=sg(f,A,!0,s,v,S,O,U,Y),s.context=N1(null),f=s.current,A=Hn(),v=ns(f),S=gi(A,v),S.callback=c??null,Zi(f,S,v),s.current.lanes=v,ee(s,v,A),ar(s,A),s}function Jd(s,c,f,A){var v=c.current,S=Hn(),O=ns(v);return f=N1(f),c.context===null?c.context=f:c.pendingContext=f,c=gi(S,O),c.payload={element:s},A=A===void 0?null:A,A!==null&&(c.callback=A),s=Zi(v,c,O),s!==null&&(so(s,v,O,S),Dd(s,v,O)),O}function Zd(s){return s=s.current,s.child?(s.child.tag===5,s.child.stateNode):null}function Q1(s,c){if(s=s.memoizedState,s!==null&&s.dehydrated!==null){var f=s.retryLane;s.retryLane=f!==0&&f<c?f:c}}function ag(s,c){Q1(s,c),(s=s.alternate)&&Q1(s,c)}function N4(){return null}var H1=typeof reportError=="function"?reportError:function(s){console.error(s)};function lg(s){this._internalRoot=s}$d.prototype.render=lg.prototype.render=function(s){var c=this._internalRoot;if(c===null)throw Error(n(409));Jd(s,c,null,null)},$d.prototype.unmount=lg.prototype.unmount=function(){var s=this._internalRoot;if(s!==null){this._internalRoot=null;var c=s.containerInfo;qs(function(){Jd(null,s,null,null)}),c[di]=null}};function $d(s){this._internalRoot=s}$d.prototype.unstable_scheduleHydration=function(s){if(s){var c=Jn();s={blockedOn:null,target:s,priority:c};for(var f=0;f<Lo.length&&c!==0&&c<Lo[f].priority;f++);Lo.splice(f,0,s),f===0&&Rr(s)}};function cg(s){return!(!s||s.nodeType!==1&&s.nodeType!==9&&s.nodeType!==11)}function ef(s){return!(!s||s.nodeType!==1&&s.nodeType!==9&&s.nodeType!==11&&(s.nodeType!==8||s.nodeValue!==" react-mount-point-unstable "))}function U1(){}function z4(s,c,f,A,v){if(v){if(typeof A=="function"){var S=A;A=function(){var ue=Zd(O);S.call(ue)}}var O=z1(c,A,s,0,null,!1,!1,"",U1);return s._reactRootContainer=O,s[di]=O.current,dc(s.nodeType===8?s.parentNode:s),qs(),O}for(;v=s.lastChild;)s.removeChild(v);if(typeof A=="function"){var U=A;A=function(){var ue=Zd(Y);U.call(ue)}}var Y=sg(s,0,!1,null,null,!1,!1,"",U1);return s._reactRootContainer=Y,s[di]=Y.current,dc(s.nodeType===8?s.parentNode:s),qs(function(){Jd(c,Y,f,A)}),Y}function tf(s,c,f,A,v){var S=f._reactRootContainer;if(S){var O=S;if(typeof v=="function"){var U=v;v=function(){var Y=Zd(O);U.call(Y)}}Jd(c,O,s,v)}else O=z4(f,c,s,v,A);return Zd(O)}nt=function(s){switch(s.tag){case 3:var c=s.stateNode;if(c.current.memoizedState.isDehydrated){var f=Mo(c.pendingLanes);f!==0&&(Pe(c,f|1),ar(c,Bt()),(gt&6)===0&&(tl=Bt()+500,Xi()))}break;case 13:qs(function(){var A=Ai(s,1);if(A!==null){var v=Hn();so(A,s,1,v)}}),ag(s,1)}},Ct=function(s){if(s.tag===13){var c=Ai(s,134217728);if(c!==null){var f=Hn();so(c,s,134217728,f)}ag(s,134217728)}},Xn=function(s){if(s.tag===13){var c=ns(s),f=Ai(s,c);if(f!==null){var A=Hn();so(f,s,c,A)}ag(s,c)}},Jn=function(){return Te},Tn=function(s,c){var f=Te;try{return Te=s,c()}finally{Te=f}},St=function(s,c,f){switch(c){case"input":if(Wt(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 A=f[c];if(A!==s&&A.form===s.form){var v=vd(A);if(!v)throw Error(n(90));Nt(A),Wt(A,v)}}}break;case"textarea":bn(s,f);break;case"select":c=f.value,c!=null&&zt(s,!!f.multiple,c,!1)}},tn=eg,qr=qs;var Q4={usingClientEntryPoint:!1,Events:[pc,Ha,vd,gr,jn,eg]},Dc={findFiberByHostInstance:Ns,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},H4={bundleType:Dc.bundleType,version:Dc.version,rendererPackageName:Dc.rendererPackageName,rendererConfig:Dc.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=ri(s),s===null?null:s.stateNode},findFiberByHostInstance:Dc.findFiberByHostInstance||N4,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 nf=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!nf.isDisabled&&nf.supportsFiber)try{mr=nf.inject(H4),Nn=nf}catch{}}return Un.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Q4,Un.createPortal=function(s,c){var f=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!cg(c))throw Error(n(200));return j4(s,c,null,f)},Un.createRoot=function(s,c){if(!cg(s))throw Error(n(299));var f=!1,A="",v=H1;return c!=null&&(c.unstable_strictMode===!0&&(f=!0),c.identifierPrefix!==void 0&&(A=c.identifierPrefix),c.onRecoverableError!==void 0&&(v=c.onRecoverableError)),c=sg(s,1,!1,null,null,f,!1,A,v),s[di]=c.current,dc(s.nodeType===8?s.parentNode:s),new lg(c)},Un.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=ri(c),s=s===null?null:s.stateNode,s},Un.flushSync=function(s){return qs(s)},Un.hydrate=function(s,c,f){if(!ef(c))throw Error(n(200));return tf(null,s,c,!0,f)},Un.hydrateRoot=function(s,c,f){if(!cg(s))throw Error(n(405));var A=f!=null&&f.hydratedSources||null,v=!1,S="",O=H1;if(f!=null&&(f.unstable_strictMode===!0&&(v=!0),f.identifierPrefix!==void 0&&(S=f.identifierPrefix),f.onRecoverableError!==void 0&&(O=f.onRecoverableError)),c=z1(c,null,s,1,f??null,v,!1,S,O),s[di]=c.current,dc(s),A)for(s=0;s<A.length;s++)f=A[s],v=f._getVersion,v=v(f._source),c.mutableSourceEagerHydrationData==null?c.mutableSourceEagerHydrationData=[f,v]:c.mutableSourceEagerHydrationData.push(f,v);return new $d(c)},Un.render=function(s,c,f){if(!ef(c))throw Error(n(200));return tf(null,s,c,!1,f)},Un.unmountComponentAtNode=function(s){if(!ef(s))throw Error(n(40));return s._reactRootContainer?(qs(function(){tf(null,null,s,!1,function(){s._reactRootContainer=null,s[di]=null})}),!0):!1},Un.unstable_batchedUpdates=eg,Un.unstable_renderSubtreeIntoContainer=function(s,c,f,A){if(!ef(f))throw Error(n(200));if(s==null||s._reactInternals===void 0)throw Error(n(38));return tf(s,c,f,!1,A)},Un.version="18.3.1-next-f1338f8080-20240426",Un}var mg;function vg(){if(mg)return sf.exports;mg=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(),sf.exports=G1(),sf.exports}var yg;function X1(){if(yg)return Bc;yg=1;var t=vg();return Bc.createRoot=t.createRoot,Bc.hydrateRoot=t.hydrateRoot,Bc}var J1=X1();const Z1="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 cf({expandWidth:t=!1,homeTitle:e="ACCESS Home",homeUrl:n="https://access-ci.org/",items:r=[],topBorder:o=!1}){if(!(!r||!r.length))return E.jsxs("ul",{className:`breadcrumbs ${t?"expand":""} ${o?"top-border":""}`,children:[E.jsx("li",{className:"home",children:E.jsx("a",{href:n,title:e,children:E.jsx("img",{src:Z1,alt:e,height:"14"})})},"home"),r.map(i=>E.jsx("li",{className:i.classes||"",children:i.href||i.onClick?E.jsx("a",{href:i.href,onClick:i.onClick,children:i.name}):i.name},i.name))]})}const $1=M.createContext(null),uf={didCatch:!1,error:null};class xg extends M.Component{constructor(e){super(e),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=uf}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(uf))}componentDidCatch(e,n){this.props.onError?.(e,n)}componentDidUpdate(e,n){const{didCatch:r}=this.state,{resetKeys:o}=this.props;r&&n.error!==null&&ek(e.resetKeys,o)&&(this.props.onReset?.({next:o,prev:e.resetKeys,reason:"keys"}),this.setState(uf))}render(){const{children:e,fallbackRender:n,FallbackComponent:r,fallback:o}=this.props,{didCatch:i,error:a}=this.state;let l=e;if(i){const u={error:a,resetErrorBoundary:this.resetErrorBoundary};if(typeof n=="function")l=n(u);else if(r)l=M.createElement(r,u);else if(o!==void 0)l=o;else throw a}return M.createElement($1.Provider,{value:{didCatch:i,error:a,resetErrorBoundary:this.resetErrorBoundary}},l)}}function ek(t=[],e=[]){return t.length!==e.length||t.some((n,r)=>!Object.is(n,e[r]))}const tk=M.lazy(()=>Promise.resolve().then(()=>pD).then(t=>({default:t.QABot})));let bg=class extends M.Component{render(){const{welcome:e,isLoggedIn:n,open:r,onOpenChange:o,apiKey:i,embedded:a,loginUrl:l,userEmail:u,userName:d,accessId:h,onAnalyticsEvent:p,qaEndpoint:g,ratingEndpoint:m}=this.props,y=i||void 0||null;if(!y)return console.error("QA Bot: No valid API key provided"),null;const w=n!==void 0?n:document.cookie.split("; ").includes("SESSaccesscisso=1");return E.jsx(xg,{children:E.jsx(M.Suspense,{fallback:null,children:E.jsx(tk,{welcome:e,isLoggedIn:w,open:r,onOpenChange:o,embedded:a===!0,apiKey:y,loginUrl:l,userEmail:u,userName:d,accessId:h,onAnalyticsEvent:p,qaEndpoint:g,ratingEndpoint:m})})})}};const wg=[{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/"}],kg=[{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:wg},{name:"Search",href:"https://support.access-ci.org/find",classes:"icon icon-search"}],Sg={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"}]},Eg={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"}]},nk=[{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"}],rk=[{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"}],ok="https://www.nsf.gov/awardsearch/show-award/",il=({number:t})=>E.jsxs("a",{href:`${ok}?AWD_ID=${t}`,children:["#",t]}),Tc=({className:t=null,items:e})=>E.jsx("ul",{className:t,children:e.map(({className:n,name:r,href:o})=>E.jsx("li",{children:E.jsx("a",{className:n,href:o,children:r})},o))}),ik="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAABIAAAASABGyWs+AABv5klEQVR42u29d5gkVb0+/p5zKnTunp48m3NiWWDJCCJJAREJ14DoNV/1ioqo1wRmr2K46upVMcuiCCIIkgTJYdllE5tnw8xODj3TuSuec35/VOfpWYLu/r7cZ8/z1HZtd09VdZ23PuH9hAMcHUfH0XF0vFoGOXoLDj36t9zEmBo4G1J2mNmDSI08l0yn+v/xuvdssY7enemHcvQWHHo4xrgi3NC1TA2+QQgXY4nxLSPjmXUAjgLrKLBe+bDyg5Qy3acHO5ltOxgcNwNDI3nt6J059KBHb8GL3CCm6wQkKiUHpQyapgcUhepH78xRYP2TwPLFqBJoJaBgjCEUDIYCPiV+uM43tP1mDG3/PT0KrP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LdU5dvSuHB1Hx/8P4/8D9B8zcoSATacAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjItMDgtMTdUMTY6MTI6MTUtMDQ6MDBuCuvkAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTA4LTE3VDE2OjEyOjE1LTA0OjAwH1dTWAAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAAASUVORK5CYII=",sk="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",Cg=({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:ik,alt:"National Science Foundation"})}),E.jsx("div",{className:"divider"}),E.jsxs("a",{className:"access",href:r,children:[E.jsx("img",{className:"access-logo",src:sk,alt:"ACCESS"}),n&&e=="header"?E.jsx("span",{className:`name name-${n.toLocaleLowerCase().replace(" ","-")}`,children:n}):null]})]}),df=(t=900)=>document.body.clientWidth>=t?"desktop":"mobile",Pg=(t=900)=>{const[e,n]=M.useState(df(t));return M.useEffect(()=>{window.addEventListener("resize",()=>n(df(t)))},[]),e},Dg=()=>window.pageYOffset!==void 0?window.pageYOffset:(document.documentElement||document.body.parentNode||document.body).scrollTop,Bg={},Ic={},ak=(t,{body:e=null,cache:n=!0,corsProxy:r=!1,headers:o=void 0,method:i="GET"}={body:null,cache:!0,corsProxy:!1,headers:void 0,method:"GET"})=>{const a=`${t}|${e}`;if(n&&a in Bg)return Bg[a];if(a in Ic)return Ic[a];const l=fetch(r?`https://corsproxy.io/?${encodeURIComponent(t)}`:t,{body:e,headers:o,method:i}).then(u=>{if(delete Ic[t],u.status<200||u.status>299)return{error:{status:u.status}};try{return u.json()}catch(d){return{error:{message:d}}}});return Ic[a]=l,l},Fn=(t,{body:e=null,cache:n=!0,corsProxy:r=!1,defaultValue:o=null,headers:i=void 0,method:a="GET"}={body:null,cache:!0,corsProxy:!1,defaultValue:null,headers:void 0,method:"GET"})=>{const[l,u]=M.useState(o);let d=!1;return Array.isArray(t)||(t=t?[t]:[],d=!0),M.useEffect(()=>{t.length&&(async()=>{const h=await Promise.all(t.map(g=>ak(g,{body:e,cache:n,corsProxy:r,headers:i,method:a}))),p=d?h[0]:h;u(p)})()},[t.join(" ")]),l},Tg=()=>{const t=Fn("https://operations-api.access-ci.org/wh2/cider/v1/access-active-groups/type/resource-catalog.access-ci.org/");return ff([t],({results:e})=>{const{active_groups:n,feature_categories:r,features:o,organizations:i,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,x)=>w.name.localeCompare(x.name));const d=o.filter(w=>u.includes(w.feature_category_id)).map(w=>({tagId:w.feature_id,name:w.feature_name,tagCategoryId:w.feature_category_id})),h={};for(let w of i)d.push({tagId:w.organization_id*-1,name:w.organization_name,tagCategoryId:-1,iconUri:w.organization_favicon_url||null}),h[w.organization_id]=w;d.sort((w,x)=>w.name.localeCompare(x.name));const p=d.map(w=>w.tagId),g=[{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(x=>x*-1).filter(x=>p.includes(x)),...w.rollup_feature_ids.filter(x=>p.includes(x))],resourceCategoryId:w.rollup_feature_ids.includes(137)?2:1,accessAllocated:w.rollup_feature_ids.includes(139),organizations:w.rollup_organization_ids.map(x=>h[x]).filter(x=>x),resources:a.filter(x=>w.rollup_info_resourceids.includes(x.info_resourceid))})),y=m.find(w=>w.infoGroupId==="cloudbank.access-ci.org");if(y)for(const w of["Amazon Web Services","Google Cloud","IBM Cloud","Microsoft Azure"])m.push({...y,infoGroupId:`${w.toLowerCase().replaceAll(" ","-")}${y.infoGroupId}`,parentInfoGroupId:y.infoGroupId,name:w});return m.sort((w,x)=>w.name.localeCompare(x.name)),ck({resourceCategories:g,resourceGroups:m,tags:d,tagCategories:l})})},sl=(t,e=null)=>{const n=Tg();return n&&n.resourceGroups.find(r=>r.infoGroupId==t)||e},lk=(t,e=[])=>{const n=Fn(`https://operations-api.access-ci.org/wh2/cider/v1/access-active/info_groupid/${t}/?format=json`);return n&&!n.error?n.results:e},ff=(t,e,n=null)=>M.useMemo(()=>{if(!t.length)return n;for(let r of t)if(!r||r.error)return n;return e.apply(null,t)},t),ck=({resourceCategories:t,resourceGroups:e,tags:n,tagCategories:r})=>{const o={};for(let l of r)l.tags=[],o[l.tagCategoryId]=l;const i={};for(let l of n)l.tagCategory=o[l.tagCategoryId],l.tagCategory.tags.push(l),l.resources=[],i[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=>i[u]);return{resourceCategories:t,resourceGroups:e,tags:n,tagCategories:r}},uk=({resourceGroups:t,tags:e,tagCategories:n},r)=>{const o=new Set,i=new Set,a=new Set,l=new Set(r);for(let h of e)l.has(h.tagId)&&a.add(h.tagCategoryId);const u=n.filter(({tagCategoryId:h})=>a.has(h)),d=new Set(e.filter(h=>!a.has(h.tagCategoryId)).map(h=>h.tagId));for(let h of t){let p=!0;for(let g of u){let m=!1;for(let y of g.tags)if(l.has(y.tagId)&&h.tags.includes(y)){m=!0;break}if(!m){p=!1;break}}if(p){i.add(h.infoGroupId),o.add(h.resourceCategoryId);for(let g of h.tagIds)d.delete(g)}}return{disabledTagIds:d,resourceCategoryIds:o,infoGroupIds:i,tagCategoryIds:a,tagIds:l}},Ig=t=>{let e=t.match(/href="([^"]+)"/);return e?e[1]:null},hf=t=>t.replace(/(<[^>]+>)/g,"").replace(/ /g," "),pf=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)),o=n.split(/<a[^<]+<\/a>/g),i=[];for(;o.length>0;){i.push(hf(o.shift()));let a=r.shift();if(a){let l=Ig(a[1]);l&&i.push(E.jsx("a",{href:l,children:a[2]}))}}e.push(E.jsx("p",{children:i},n))}return e},dk=({showAfterScroll:t=300})=>{const[e,n]=M.useState(!1);return M.useEffect(()=>{window.addEventListener("scroll",()=>n(Dg()>=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"})},fk=(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(il,{number:2138259}),", ",E.jsx(il,{number:2138286}),","," ",E.jsx(il,{number:2138307}),", ",E.jsx(il,{number:2137603})," and"," ",E.jsx(il,{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(Tc,{className:"social",items:nk})]}),E.jsxs("div",{className:"personas",children:[E.jsx("p",{children:"For:"}),E.jsx(Tc,{items:wg})]})]}),E.jsxs("div",{className:"lower",children:[E.jsx(Cg,{siteName:"ACCESS",siteUrl:"https://access-ci.org",placement:"footer"}),E.jsx(Tc,{className:"links",items:rk})]})]}),E.jsx(dk,{...t})]}),hk=(t={})=>E.jsx("div",{className:"container",children:E.jsx(Cg,{...t})}),_g=({autoOpenMode:t,classes:e="",href:n="",html:r="",items:o,mode:i,name:a,onClick:l,open:u,parentId:d="root",setOpen:h})=>{const p=M.useId(),g=u[d]==p,m=g||t==i,y=()=>h({...u,[d]:g?null:p});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(o)return E.jsxs(E.Fragment,{children:[a&&E.jsx("button",{"aria-expanded":m,"aria-controls":p,className:`item ${m?"expanded":"collapsed"}`,onClick:y,children:a}),E.jsx("ul",{className:e,id:p,hidden:!m,"aria-hidden":!m,children:o.map(({autoOpenMode:w,classes:x,href:P,html:_,items:D,name:C,onClick:N})=>E.jsx("li",{className:x||"",children:E.jsx(_g,{autoOpenMode:w,href:P,html:_,items:D,mode:i,name:C,onClick:N,open:u,parentId:p,setOpen:h})},C||_))})]})},Mg=({classes:t,items:e,name:n})=>{const r=M.useRef(null),o=Pg(1280),[i,a]=M.useState({});M.useEffect(()=>{r.current&&(document.body.addEventListener("click",u=>{const d=r.current.getRootNode()?.host;u.target!==d&&df()=="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(_g,{autoOpenMode:"desktop",items:e,mode:o,name:n,open:i,setOpen:a})})},pk=({items:t,siteName:e=""})=>{const n=Pg(768),r=t.map(({name:o,href:i,items:a,onClick:l})=>{if(n=="mobile")for(;!i;)i=a[0].href,a=a[0];return i||l?E.jsx("div",{className:"column",children:E.jsx("h3",{children:E.jsx("a",{href:i,onClick:l,children:o})})},o):E.jsxs("div",{className:"column",children:[E.jsx("h3",{children:o}),E.jsx(Tc,{items:a})]},o)});return E.jsxs("nav",{className:"footer",children:[E.jsxs("h2",{children:["ACCESS ",e]}),E.jsx("div",{className:"columns",children:r})]})},Ak=({items:t,isLoggedIn:e,loginUrl:n,logoutUrl:r,siteName:o})=>{if(e===void 0&&(e=document.cookie.split("; ").includes("SESSaccesscisso=1")),t===void 0){const i={...e?Sg:Eg};i.items=i.items.map(l=>({...l,href:l.name=="Login"&&n||l.name=="Log out"&&r||l.href})),t=[...kg,i];let a=t.find(l=>(l.href||"").replace(/\/$/,"")==document.location.href.replace(/\/$/,""));o&&!a&&(a=t.find(l=>l.name==o)),a&&(a.classes+=" active")}return E.jsx(Mg,{classes:"universal",items:t,name:"ACCESS Menu"})},gk=({items:t,siteName:e})=>E.jsx(Mg,{classes:"site",items:t,name:`${e} Menu`});var Og="popstate";function Rg(t){return typeof t=="object"&&t!=null&&"pathname"in t&&"search"in t&&"hash"in t&&"state"in t&&"key"in t}function mk(t={}){function e(r,o){let i=o.state?.masked,{pathname:a,search:l,hash:u}=i||r.location;return Af("",{pathname:a,search:l,hash:u},o.state&&o.state.usr||null,o.state&&o.state.key||"default",i?{pathname:r.location.pathname,search:r.location.search,hash:r.location.hash}:void 0)}function n(r,o){return typeof o=="string"?o:al(o)}return yk(e,n,null,t)}function Ht(t,e){if(t===!1||t===null||typeof t>"u")throw new Error(e)}function ao(t,e){if(!t){typeof console<"u"&&console.warn(e);try{throw new Error(e)}catch{}}}function vk(){return Math.random().toString(36).substring(2,10)}function Lg(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 Af(t,e,n=null,r,o){return{pathname:typeof t=="string"?t:t.pathname,search:"",hash:"",...typeof e=="string"?Js(e):e,state:n,key:e&&e.key||r||vk(),unstable_mask:o}}function al({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 Js(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 yk(t,e,n,r={}){let{window:o=document.defaultView,v5Compat:i=!1}=r,a=o.history,l="POP",u=null,d=h();d==null&&(d=0,a.replaceState({...a.state,idx:d},""));function h(){return(a.state||{idx:null}).idx}function p(){l="POP";let x=h(),P=x==null?null:x-d;d=x,u&&u({action:l,location:w.location,delta:P})}function g(x,P){l="PUSH";let _=Rg(x)?x:Af(w.location,x,P);d=h()+1;let D=Lg(_,d),C=w.createHref(_.unstable_mask||_);try{a.pushState(D,"",C)}catch(N){if(N instanceof DOMException&&N.name==="DataCloneError")throw N;o.location.assign(C)}i&&u&&u({action:l,location:w.location,delta:1})}function m(x,P){l="REPLACE";let _=Rg(x)?x:Af(w.location,x,P);d=h();let D=Lg(_,d),C=w.createHref(_.unstable_mask||_);a.replaceState(D,"",C),i&&u&&u({action:l,location:w.location,delta:0})}function y(x){return xk(x)}let w={get action(){return l},get location(){return t(o,a)},listen(x){if(u)throw new Error("A history only accepts one active listener");return o.addEventListener(Og,p),u=x,()=>{o.removeEventListener(Og,p),u=null}},createHref(x){return e(o,x)},createURL:y,encodeLocation(x){let P=y(x);return{pathname:P.pathname,search:P.search,hash:P.hash}},push:g,replace:m,go(x){return a.go(x)}};return w}function xk(t,e=!1){let n="http://localhost";typeof window<"u"&&(n=window.location.origin!=="null"?window.location.origin:window.location.href),Ht(n,"No window.location.(origin|href) available to create URL");let r=typeof t=="string"?t:al(t);return r=r.replace(/ $/,"%20"),!e&&r.startsWith("//")&&(r=n+r),new URL(r,n)}function Fg(t,e,n="/"){return bk(t,e,n,!1)}function bk(t,e,n,r){let o=typeof e=="string"?Js(e):e,i=Vo(o.pathname||"/",n);if(i==null)return null;let a=jg(t);wk(a);let l=null;for(let u=0;l==null&&u<a.length;++u){let d=Mk(i);l=Ik(a[u],d,r)}return l}function jg(t,e=[],n=[],r="",o=!1){let i=(a,l,u=o,d)=>{let h={relativePath:d===void 0?a.path||"":d,caseSensitive:a.caseSensitive===!0,childrenIndex:l,route:a};if(h.relativePath.startsWith("/")){if(!h.relativePath.startsWith(r)&&u)return;Ht(h.relativePath.startsWith(r),`Absolute route path "${h.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),h.relativePath=h.relativePath.slice(r.length)}let p=lo([r,h.relativePath]),g=n.concat(h);a.children&&a.children.length>0&&(Ht(a.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${p}".`),jg(a.children,e,g,p,u)),!(a.path==null&&!a.index)&&e.push({path:p,score:Bk(p,a.index),routesMeta:g})};return t.forEach((a,l)=>{if(a.path===""||!a.path?.includes("?"))i(a,l);else for(let u of Ng(a.path))i(a,l,!0,u)}),e}function Ng(t){let e=t.split("/");if(e.length===0)return[];let[n,...r]=e,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return o?[i,""]:[i];let a=Ng(r.join("/")),l=[];return l.push(...a.map(u=>u===""?i:[i,u].join("/"))),o&&l.push(...a),l.map(u=>t.startsWith("/")&&u===""?"/":u)}function wk(t){t.sort((e,n)=>e.score!==n.score?n.score-e.score:Tk(e.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}var kk=/^:[\w-]+$/,Sk=3,Ek=2,Ck=1,Pk=10,Dk=-2,zg=t=>t==="*";function Bk(t,e){let n=t.split("/"),r=n.length;return n.some(zg)&&(r+=Dk),e&&(r+=Ek),n.filter(o=>!zg(o)).reduce((o,i)=>o+(kk.test(i)?Sk:i===""?Ck:Pk),r)}function Tk(t,e){return t.length===e.length&&t.slice(0,-1).every((r,o)=>r===e[o])?t[t.length-1]-e[e.length-1]:0}function Ik(t,e,n=!1){let{routesMeta:r}=t,o={},i="/",a=[];for(let l=0;l<r.length;++l){let u=r[l],d=l===r.length-1,h=i==="/"?e:e.slice(i.length)||"/",p=_c({path:u.relativePath,caseSensitive:u.caseSensitive,end:d},h),g=u.route;if(!p&&d&&n&&!r[r.length-1].route.index&&(p=_c({path:u.relativePath,caseSensitive:u.caseSensitive,end:!1},h)),!p)return null;Object.assign(o,p.params),a.push({params:o,pathname:lo([i,p.pathname]),pathnameBase:Fk(lo([i,p.pathnameBase])),route:g}),p.pathnameBase!=="/"&&(i=lo([i,p.pathnameBase]))}return a}function _c(t,e){typeof t=="string"&&(t={path:t,caseSensitive:!1,end:!0});let[n,r]=_k(t.path,t.caseSensitive,t.end),o=e.match(n);if(!o)return null;let i=o[0],a=i.replace(/(.)\/+$/,"$1"),l=o.slice(1);return{params:r.reduce((d,{paramName:h,isOptional:p},g)=>{if(h==="*"){let y=l[g]||"";a=i.slice(0,i.length-y.length).replace(/(.)\/+$/,"$1")}const m=l[g];return p&&!m?d[h]=void 0:d[h]=(m||"").replace(/%2F/g,"/"),d},{}),pathname:i,pathnameBase:a,pattern:t}}function _k(t,e=!1,n=!0){ao(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=[],o="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(a,l,u,d,h)=>{if(r.push({paramName:l,isOptional:u!=null}),u){let p=h.charAt(d+a.length);return p&&p!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return t.endsWith("*")?(r.push({paramName:"*"}),o+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":t!==""&&t!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,e?void 0:"i"),r]}function Mk(t){try{return t.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(e){return ao(!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 Vo(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 Ok=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function Rk(t,e="/"){let{pathname:n,search:r="",hash:o=""}=typeof t=="string"?Js(t):t,i;return n?(n=n.replace(/\/\/+/g,"/"),n.startsWith("/")?i=Qg(n.substring(1),"/"):i=Qg(n,e)):i=e,{pathname:i,search:jk(r),hash:Nk(o)}}function Qg(t,e){let n=e.replace(/\/+$/,"").split("/");return t.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function gf(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 Lk(t){return t.filter((e,n)=>n===0||e.route.path&&e.route.path.length>0)}function Hg(t){let e=Lk(t);return e.map((n,r)=>r===e.length-1?n.pathname:n.pathnameBase)}function mf(t,e,n,r=!1){let o;typeof t=="string"?o=Js(t):(o={...t},Ht(!o.pathname||!o.pathname.includes("?"),gf("?","pathname","search",o)),Ht(!o.pathname||!o.pathname.includes("#"),gf("#","pathname","hash",o)),Ht(!o.search||!o.search.includes("#"),gf("#","search","hash",o)));let i=t===""||o.pathname==="",a=i?"/":o.pathname,l;if(a==null)l=n;else{let p=e.length-1;if(!r&&a.startsWith("..")){let g=a.split("/");for(;g[0]==="..";)g.shift(),p-=1;o.pathname=g.join("/")}l=p>=0?e[p]:"/"}let u=Rk(o,l),d=a&&a!=="/"&&a.endsWith("/"),h=(i||a===".")&&n.endsWith("/");return!u.pathname.endsWith("/")&&(d||h)&&(u.pathname+="/"),u}var lo=t=>t.join("/").replace(/\/\/+/g,"/"),Fk=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),jk=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,Nk=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t,zk=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 Qk(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}function Hk(t){return t.map(e=>e.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var Ug=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function Vg(t,e){let n=t;if(typeof n!="string"||!Ok.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let r=n,o=!1;if(Ug)try{let i=new URL(window.location.href),a=n.startsWith("//")?new URL(i.protocol+n):new URL(n),l=Vo(a.pathname,e);a.origin===i.origin&&l!=null?n=l+a.search+a.hash:o=!0}catch{ao(!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:o,to:n}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var Wg=["POST","PUT","PATCH","DELETE"];new Set(Wg);var Uk=["GET",...Wg];new Set(Uk);var Zs=M.createContext(null);Zs.displayName="DataRouter";var Mc=M.createContext(null);Mc.displayName="DataRouterState";var Vk=M.createContext(!1),Yg=M.createContext({isTransitioning:!1});Yg.displayName="ViewTransition";var Wk=M.createContext(new Map);Wk.displayName="Fetchers";var Yk=M.createContext(null);Yk.displayName="Await";var kr=M.createContext(null);kr.displayName="Navigation";var ll=M.createContext(null);ll.displayName="Location";var co=M.createContext({outlet:null,matches:[],isDataRoute:!1});co.displayName="Route";var vf=M.createContext(null);vf.displayName="RouteError";var qg="REACT_ROUTER_ERROR",qk="REDIRECT",Kk="ROUTE_ERROR_RESPONSE";function Gk(t){if(t.startsWith(`${qg}:${qk}:{`))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 Xk(t){if(t.startsWith(`${qg}:${Kk}:{`))try{let e=JSON.parse(t.slice(40));if(typeof e=="object"&&e&&typeof e.status=="number"&&typeof e.statusText=="string")return new zk(e.status,e.statusText,e.data)}catch{}}function Jk(t,{relative:e}={}){Ht(cl(),"useHref() may be used only in the context of a <Router> component.");let{basename:n,navigator:r}=M.useContext(kr),{hash:o,pathname:i,search:a}=ul(t,{relative:e}),l=i;return n!=="/"&&(l=i==="/"?n:lo([n,i])),r.createHref({pathname:l,search:a,hash:o})}function cl(){return M.useContext(ll)!=null}function yi(){return Ht(cl(),"useLocation() may be used only in the context of a <Router> component."),M.useContext(ll).location}var Kg="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Gg(t){M.useContext(kr).static||M.useLayoutEffect(t)}function Zk(){let{isDataRoute:t}=M.useContext(co);return t?f2():$k()}function $k(){Ht(cl(),"useNavigate() may be used only in the context of a <Router> component.");let t=M.useContext(Zs),{basename:e,navigator:n}=M.useContext(kr),{matches:r}=M.useContext(co),{pathname:o}=yi(),i=JSON.stringify(Hg(r)),a=M.useRef(!1);return Gg(()=>{a.current=!0}),M.useCallback((u,d={})=>{if(ao(a.current,Kg),!a.current)return;if(typeof u=="number"){n.go(u);return}let h=mf(u,JSON.parse(i),o,d.relative==="path");t==null&&e!=="/"&&(h.pathname=h.pathname==="/"?e:lo([e,h.pathname])),(d.replace?n.replace:n.push)(h,d.state,d)},[e,n,i,o,t])}M.createContext(null);function e2(){let{matches:t}=M.useContext(co),e=t[t.length-1];return e?e.params:{}}function ul(t,{relative:e}={}){let{matches:n}=M.useContext(co),{pathname:r}=yi(),o=JSON.stringify(Hg(n));return M.useMemo(()=>mf(t,JSON.parse(o),r,e==="path"),[t,o,r,e])}function t2(t,e){return Xg(t,e)}function Xg(t,e,n){Ht(cl(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:r}=M.useContext(kr),{matches:o}=M.useContext(co),i=o[o.length-1],a=i?i.params:{},l=i?i.pathname:"/",u=i?i.pathnameBase:"/",d=i&&i.route;{let x=d&&d.path||"";$g(l,!d||x.endsWith("*")||x.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${l}" (under <Route path="${x}">) 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 OA(s,c,f){return{value:s,source:null,stack:f??null,digest:c??null}}function RA(s,c){try{console.error(c.value)}catch(f){setTimeout(function(){throw f})}}var v4=typeof WeakMap=="function"?WeakMap:Map;function $w(s,c,f){f=gi(-1,f),f.tag=3,f.payload={element:null};var A=c.value;return f.callback=function(){Ud||(Ud=!0,XA=A),RA(s,c)},f}function e1(s,c,f){f=gi(-1,f),f.tag=3;var A=s.type.getDerivedStateFromError;if(typeof A=="function"){var v=c.value;f.payload=function(){return A(v)},f.callback=function(){RA(s,c)}}var S=s.stateNode;return S!==null&&typeof S.componentDidCatch=="function"&&(f.callback=function(){RA(s,c),typeof A!="function"&&(es===null?es=new Set([this]):es.add(this));var O=c.stack;this.componentDidCatch(c.value,{componentStack:O!==null?O:""})}),f}function t1(s,c,f){var A=s.pingCache;if(A===null){A=s.pingCache=new v4;var v=new Set;A.set(c,v)}else v=A.get(c),v===void 0&&(v=new Set,A.set(c,v));v.has(f)||(v.add(f),s=_4.bind(null,s,c,f),c.then(s,s))}function n1(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 r1(s,c,f,A,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=gi(-1,1),c.tag=2,Zi(f,c,1))),f.lanes|=1),s):(s.flags|=65536,s.lanes=v,s)}var y4=C.ReactCurrentOwner,ir=!1;function Qn(s,c,f,A){c.child=s===null?kw(c,null,f,A):Ka(c,s.child,f,A)}function o1(s,c,f,A,v){f=f.render;var S=c.ref;return Xa(c,v),A=CA(s,c,f,A,S,v),f=PA(),s!==null&&!ir?(c.updateQueue=s.updateQueue,c.flags&=-2053,s.lanes&=~v,mi(s,c,v)):(Qt&&f&&cA(c),c.flags|=1,Qn(s,c,A,v),c.child)}function i1(s,c,f,A,v){if(s===null){var S=f.type;return typeof S=="function"&&!rg(S)&&S.defaultProps===void 0&&f.compare===null&&f.defaultProps===void 0?(c.tag=15,c.type=S,s1(s,c,S,A,v)):(s=Gd(f.type,null,A,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:lc,f(O,A)&&s.ref===c.ref)return mi(s,c,v)}return c.flags|=1,s=os(S,A),s.ref=c.ref,s.return=c,c.child=s}function s1(s,c,f,A,v){if(s!==null){var S=s.memoizedProps;if(lc(S,A)&&s.ref===c.ref)if(ir=!1,c.pendingProps=A=S,(s.lanes&v)!==0)(s.flags&131072)!==0&&(ir=!0);else return c.lanes=s.lanes,mi(s,c,v)}return LA(s,c,f,A,v)}function a1(s,c,f){var A=c.pendingProps,v=A.children,S=s!==null?s.memoizedState:null;if(A.mode==="hidden")if((c.mode&1)===0)c.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ot(el,wr),wr|=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,Ot(el,wr),wr|=s,null;c.memoizedState={baseLanes:0,cachePool:null,transitions:null},A=S!==null?S.baseLanes:f,Ot(el,wr),wr|=A}else S!==null?(A=S.baseLanes|f,c.memoizedState=null):A=f,Ot(el,wr),wr|=A;return Qn(s,c,v,f),c.child}function l1(s,c){var f=c.ref;(s===null&&f!==null||s!==null&&s.ref!==f)&&(c.flags|=512,c.flags|=2097152)}function LA(s,c,f,A,v){var S=or(f)?zs:Mn.current;return S=Va(c,S),Xa(c,v),f=CA(s,c,f,A,S,v),A=PA(),s!==null&&!ir?(c.updateQueue=s.updateQueue,c.flags&=-2053,s.lanes&=~v,mi(s,c,v)):(Qt&&A&&cA(c),c.flags|=1,Qn(s,c,f,v),c.child)}function c1(s,c,f,A,v){if(or(f)){var S=!0;xd(c)}else S=!1;if(Xa(c,v),c.stateNode===null)jd(s,c),Jw(c,f,A),MA(c,f,A,v),A=!0;else if(s===null){var O=c.stateNode,U=c.memoizedProps;O.props=U;var Y=O.context,ue=f.contextType;typeof ue=="object"&&ue!==null?ue=Nr(ue):(ue=or(f)?zs:Mn.current,ue=Va(c,ue));var be=f.getDerivedStateFromProps,we=typeof be=="function"||typeof O.getSnapshotBeforeUpdate=="function";we||typeof O.UNSAFE_componentWillReceiveProps!="function"&&typeof O.componentWillReceiveProps!="function"||(U!==A||Y!==ue)&&Zw(c,O,A,ue),Ji=!1;var xe=c.memoizedState;O.state=xe,Bd(c,A,O,v),Y=c.memoizedState,U!==A||xe!==Y||rr.current||Ji?(typeof be=="function"&&(_A(c,f,be,A),Y=c.memoizedState),(U=Ji||Xw(c,f,U,A,xe,Y,ue))?(we||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=A,c.memoizedState=Y),O.props=A,O.state=Y,O.context=ue,A=U):(typeof O.componentDidMount=="function"&&(c.flags|=4194308),A=!1)}else{O=c.stateNode,Ew(s,c),U=c.memoizedProps,ue=c.type===c.elementType?U:ro(c.type,U),O.props=ue,we=c.pendingProps,xe=O.context,Y=f.contextType,typeof Y=="object"&&Y!==null?Y=Nr(Y):(Y=or(f)?zs:Mn.current,Y=Va(c,Y));var Oe=f.getDerivedStateFromProps;(be=typeof Oe=="function"||typeof O.getSnapshotBeforeUpdate=="function")||typeof O.UNSAFE_componentWillReceiveProps!="function"&&typeof O.componentWillReceiveProps!="function"||(U!==we||xe!==Y)&&Zw(c,O,A,Y),Ji=!1,xe=c.memoizedState,O.state=xe,Bd(c,A,O,v);var je=c.memoizedState;U!==we||xe!==je||rr.current||Ji?(typeof Oe=="function"&&(_A(c,f,Oe,A),je=c.memoizedState),(ue=Ji||Xw(c,f,ue,A,xe,je,Y)||!1)?(be||typeof O.UNSAFE_componentWillUpdate!="function"&&typeof O.componentWillUpdate!="function"||(typeof O.componentWillUpdate=="function"&&O.componentWillUpdate(A,je,Y),typeof O.UNSAFE_componentWillUpdate=="function"&&O.UNSAFE_componentWillUpdate(A,je,Y)),typeof O.componentDidUpdate=="function"&&(c.flags|=4),typeof O.getSnapshotBeforeUpdate=="function"&&(c.flags|=1024)):(typeof O.componentDidUpdate!="function"||U===s.memoizedProps&&xe===s.memoizedState||(c.flags|=4),typeof O.getSnapshotBeforeUpdate!="function"||U===s.memoizedProps&&xe===s.memoizedState||(c.flags|=1024),c.memoizedProps=A,c.memoizedState=je),O.props=A,O.state=je,O.context=Y,A=ue):(typeof O.componentDidUpdate!="function"||U===s.memoizedProps&&xe===s.memoizedState||(c.flags|=4),typeof O.getSnapshotBeforeUpdate!="function"||U===s.memoizedProps&&xe===s.memoizedState||(c.flags|=1024),A=!1)}return FA(s,c,f,A,S,v)}function FA(s,c,f,A,v,S){l1(s,c);var O=(c.flags&128)!==0;if(!A&&!O)return v&&pw(c,f,!1),mi(s,c,S);A=c.stateNode,y4.current=c;var U=O&&typeof f.getDerivedStateFromError!="function"?null:A.render();return c.flags|=1,s!==null&&O?(c.child=Ka(c,s.child,null,S),c.child=Ka(c,null,U,S)):Qn(s,c,U,S),c.memoizedState=A.state,v&&pw(c,f,!0),c.child}function u1(s){var c=s.stateNode;c.pendingContext?fw(s,c.pendingContext,c.pendingContext!==c.context):c.context&&fw(s,c.context,!1),xA(s,c.containerInfo)}function d1(s,c,f,A,v){return qa(),hA(v),c.flags|=256,Qn(s,c,f,A),c.child}var jA={dehydrated:null,treeContext:null,retryLane:0};function NA(s){return{baseLanes:s,cachePool:null,transitions:null}}function f1(s,c,f){var A=c.pendingProps,v=Yt.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),Ot(Yt,v&1),s===null)return fA(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=A.children,s=A.fallback,S?(A=c.mode,S=c.child,O={mode:"hidden",children:O},(A&1)===0&&S!==null?(S.childLanes=0,S.pendingProps=O):S=Xd(O,A,0,null),s=Xs(s,A,f,null),S.return=c,s.return=c,S.sibling=s,c.child=S,c.child.memoizedState=NA(f),c.memoizedState=jA,s):zA(c,O));if(v=s.memoizedState,v!==null&&(U=v.dehydrated,U!==null))return x4(s,c,O,A,U,v,f);if(S){S=A.fallback,O=c.mode,v=s.child,U=v.sibling;var Y={mode:"hidden",children:A.children};return(O&1)===0&&c.child!==v?(A=c.child,A.childLanes=0,A.pendingProps=Y,c.deletions=null):(A=os(v,Y),A.subtreeFlags=v.subtreeFlags&14680064),U!==null?S=os(U,S):(S=Xs(S,O,f,null),S.flags|=2),S.return=c,A.return=c,A.sibling=S,c.child=A,A=S,S=c.child,O=s.child.memoizedState,O=O===null?NA(f):{baseLanes:O.baseLanes|f,cachePool:null,transitions:O.transitions},S.memoizedState=O,S.childLanes=s.childLanes&~f,c.memoizedState=jA,A}return S=s.child,s=S.sibling,A=os(S,{mode:"visible",children:A.children}),(c.mode&1)===0&&(A.lanes=f),A.return=c,A.sibling=null,s!==null&&(f=c.deletions,f===null?(c.deletions=[s],c.flags|=16):f.push(s)),c.child=A,c.memoizedState=null,A}function zA(s,c){return c=Xd({mode:"visible",children:c},s.mode,0,null),c.return=s,s.child=c}function Fd(s,c,f,A){return A!==null&&hA(A),Ka(c,s.child,null,f),s=zA(c,c.pendingProps.children),s.flags|=2,c.memoizedState=null,s}function x4(s,c,f,A,v,S,O){if(f)return c.flags&256?(c.flags&=-257,A=OA(Error(n(422))),Fd(s,c,O,A)):c.memoizedState!==null?(c.child=s.child,c.flags|=128,null):(S=A.fallback,v=c.mode,A=Xd({mode:"visible",children:A.children},v,0,null),S=Xs(S,v,O,null),S.flags|=2,A.return=c,S.return=c,A.sibling=S,c.child=A,(c.mode&1)!==0&&Ka(c,s.child,null,O),c.child.memoizedState=NA(O),c.memoizedState=jA,S);if((c.mode&1)===0)return Fd(s,c,O,null);if(v.data==="$!"){if(A=v.nextSibling&&v.nextSibling.dataset,A)var U=A.dgst;return A=U,S=Error(n(419)),A=OA(S,A,void 0),Fd(s,c,O,A)}if(U=(O&s.childLanes)!==0,ir||U){if(A=An,A!==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&(A.suspendedLanes|O))!==0?0:v,v!==0&&v!==S.retryLane&&(S.retryLane=v,Ai(s,v),so(A,s,v,-1))}return ng(),A=OA(Error(n(421))),Fd(s,c,O,A)}return v.data==="$?"?(c.flags|=128,c.child=s.child,c=M4.bind(null,s),v._reactRetry=c,null):(s=S.treeContext,br=qi(v.nextSibling),xr=c,Qt=!0,no=null,s!==null&&(Fr[jr++]=hi,Fr[jr++]=pi,Fr[jr++]=Qs,hi=s.id,pi=s.overflow,Qs=c),c=zA(c,A.children),c.flags|=4096,c)}function h1(s,c,f){s.lanes|=c;var A=s.alternate;A!==null&&(A.lanes|=c),mA(s.return,c,f)}function QA(s,c,f,A,v){var S=s.memoizedState;S===null?s.memoizedState={isBackwards:c,rendering:null,renderingStartTime:0,last:A,tail:f,tailMode:v}:(S.isBackwards=c,S.rendering=null,S.renderingStartTime=0,S.last=A,S.tail=f,S.tailMode=v)}function p1(s,c,f){var A=c.pendingProps,v=A.revealOrder,S=A.tail;if(Qn(s,c,A.children,f),A=Yt.current,(A&2)!==0)A=A&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&&h1(s,f,c);else if(s.tag===19)h1(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}A&=1}if(Ot(Yt,A),(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&&Td(s)===null&&(v=f),f=f.sibling;f=v,f===null?(v=c.child,c.child=null):(v=f.sibling,f.sibling=null),QA(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&&Td(s)===null){c.child=v;break}s=v.sibling,v.sibling=f,f=v,v=s}QA(c,!0,f,null,S);break;case"together":QA(c,!1,null,null,void 0);break;default:c.memoizedState=null}return c.child}function jd(s,c){(c.mode&1)===0&&s!==null&&(s.alternate=null,c.alternate=null,c.flags|=2)}function mi(s,c,f){if(s!==null&&(c.dependencies=s.dependencies),Ys|=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=os(s,s.pendingProps),c.child=f,f.return=c;s.sibling!==null;)s=s.sibling,f=f.sibling=os(s,s.pendingProps),f.return=c;f.sibling=null}return c.child}function b4(s,c,f){switch(c.tag){case 3:u1(c),qa();break;case 5:Dw(c);break;case 1:or(c.type)&&xd(c);break;case 4:xA(c,c.stateNode.containerInfo);break;case 10:var A=c.type._context,v=c.memoizedProps.value;Ot(Cd,A._currentValue),A._currentValue=v;break;case 13:if(A=c.memoizedState,A!==null)return A.dehydrated!==null?(Ot(Yt,Yt.current&1),c.flags|=128,null):(f&c.child.childLanes)!==0?f1(s,c,f):(Ot(Yt,Yt.current&1),s=mi(s,c,f),s!==null?s.sibling:null);Ot(Yt,Yt.current&1);break;case 19:if(A=(f&c.childLanes)!==0,(s.flags&128)!==0){if(A)return p1(s,c,f);c.flags|=128}if(v=c.memoizedState,v!==null&&(v.rendering=null,v.tail=null,v.lastEffect=null),Ot(Yt,Yt.current),A)break;return null;case 22:case 23:return c.lanes=0,a1(s,c,f)}return mi(s,c,f)}var A1,HA,g1,m1;A1=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}},HA=function(){},g1=function(s,c,f,A){var v=s.memoizedProps;if(v!==A){s=c.stateNode,Vs(Qo.current);var S=null;switch(f){case"input":v=xt(s,v),A=xt(s,A),S=[];break;case"select":v=pe({},v,{value:void 0}),A=pe({},A,{value:void 0}),S=[];break;case"textarea":v=Lt(s,v),A=Lt(s,A),S=[];break;default:typeof v.onClick!="function"&&typeof A.onClick=="function"&&(s.onclick=md)}Ne(f,A);var O;f=null;for(ue in v)if(!A.hasOwnProperty(ue)&&v.hasOwnProperty(ue)&&v[ue]!=null)if(ue==="style"){var U=v[ue];for(O in U)U.hasOwnProperty(O)&&(f||(f={}),f[O]="")}else ue!=="dangerouslySetInnerHTML"&&ue!=="children"&&ue!=="suppressContentEditableWarning"&&ue!=="suppressHydrationWarning"&&ue!=="autoFocus"&&(o.hasOwnProperty(ue)?S||(S=[]):(S=S||[]).push(ue,null));for(ue in A){var Y=A[ue];if(U=v?.[ue],A.hasOwnProperty(ue)&&Y!==U&&(Y!=null||U!=null))if(ue==="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(ue,f)),f=Y;else ue==="dangerouslySetInnerHTML"?(Y=Y?Y.__html:void 0,U=U?U.__html:void 0,Y!=null&&U!==Y&&(S=S||[]).push(ue,Y)):ue==="children"?typeof Y!="string"&&typeof Y!="number"||(S=S||[]).push(ue,""+Y):ue!=="suppressContentEditableWarning"&&ue!=="suppressHydrationWarning"&&(o.hasOwnProperty(ue)?(Y!=null&&ue==="onScroll"&&Ft("scroll",s),S||U===Y||(S=[])):(S=S||[]).push(ue,Y))}f&&(S=S||[]).push("style",f);var ue=S;(c.updateQueue=ue)&&(c.flags|=4)}},m1=function(s,c,f,A){f!==A&&(c.flags|=4)};function kc(s,c){if(!Qt)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 A=null;f!==null;)f.alternate!==null&&(A=f),f=f.sibling;A===null?c||s.tail===null?s.tail=null:s.tail.sibling=null:A.sibling=null}}function Rn(s){var c=s.alternate!==null&&s.alternate.child===s.child,f=0,A=0;if(c)for(var v=s.child;v!==null;)f|=v.lanes|v.childLanes,A|=v.subtreeFlags&14680064,A|=v.flags&14680064,v.return=s,v=v.sibling;else for(v=s.child;v!==null;)f|=v.lanes|v.childLanes,A|=v.subtreeFlags,A|=v.flags,v.return=s,v=v.sibling;return s.subtreeFlags|=A,s.childLanes=f,c}function w4(s,c,f){var A=c.pendingProps;switch(uA(c),c.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Rn(c),null;case 1:return or(c.type)&&yd(),Rn(c),null;case 3:return A=c.stateNode,Ja(),jt(rr),jt(Mn),kA(),A.pendingContext&&(A.context=A.pendingContext,A.pendingContext=null),(s===null||s.child===null)&&(Sd(c)?c.flags|=4:s===null||s.memoizedState.isDehydrated&&(c.flags&256)===0||(c.flags|=1024,no!==null&&($A(no),no=null))),HA(s,c),Rn(c),null;case 5:bA(c);var v=Vs(vc.current);if(f=c.type,s!==null&&c.stateNode!=null)g1(s,c,f,A,v),s.ref!==c.ref&&(c.flags|=512,c.flags|=2097152);else{if(!A){if(c.stateNode===null)throw Error(n(166));return Rn(c),null}if(s=Vs(Qo.current),Sd(c)){A=c.stateNode,f=c.type;var S=c.memoizedProps;switch(A[zo]=c,A[hc]=S,s=(c.mode&1)!==0,f){case"dialog":Ft("cancel",A),Ft("close",A);break;case"iframe":case"object":case"embed":Ft("load",A);break;case"video":case"audio":for(v=0;v<uc.length;v++)Ft(uc[v],A);break;case"source":Ft("error",A);break;case"img":case"image":case"link":Ft("error",A),Ft("load",A);break;case"details":Ft("toggle",A);break;case"input":an(A,S),Ft("invalid",A);break;case"select":A._wrapperState={wasMultiple:!!S.multiple},Ft("invalid",A);break;case"textarea":At(A,S),Ft("invalid",A)}Ne(f,S),v=null;for(var O in S)if(S.hasOwnProperty(O)){var U=S[O];O==="children"?typeof U=="string"?A.textContent!==U&&(S.suppressHydrationWarning!==!0&&gd(A.textContent,U,s),v=["children",U]):typeof U=="number"&&A.textContent!==""+U&&(S.suppressHydrationWarning!==!0&&gd(A.textContent,U,s),v=["children",""+U]):o.hasOwnProperty(O)&&U!=null&&O==="onScroll"&&Ft("scroll",A)}switch(f){case"input":lt(A),pt(A,S,!0);break;case"textarea":lt(A),en(A);break;case"select":case"option":break;default:typeof S.onClick=="function"&&(A.onclick=md)}A=v,c.updateQueue=A,A!==null&&(c.flags|=4)}else{O=v.nodeType===9?v:v.ownerDocument,s==="http://www.w3.org/1999/xhtml"&&(s=dn(f)),s==="http://www.w3.org/1999/xhtml"?f==="script"?(s=O.createElement("div"),s.innerHTML="<script><\/script>",s=s.removeChild(s.firstChild)):typeof A.is=="string"?s=O.createElement(f,{is:A.is}):(s=O.createElement(f),f==="select"&&(O=s,A.multiple?O.multiple=!0:A.size&&(O.size=A.size))):s=O.createElementNS(s,f),s[zo]=c,s[hc]=A,A1(s,c,!1,!1),c.stateNode=s;e:{switch(O=ot(f,A),f){case"dialog":Ft("cancel",s),Ft("close",s),v=A;break;case"iframe":case"object":case"embed":Ft("load",s),v=A;break;case"video":case"audio":for(v=0;v<uc.length;v++)Ft(uc[v],s);v=A;break;case"source":Ft("error",s),v=A;break;case"img":case"image":case"link":Ft("error",s),Ft("load",s),v=A;break;case"details":Ft("toggle",s),v=A;break;case"input":an(s,A),v=xt(s,A),Ft("invalid",s);break;case"option":v=A;break;case"select":s._wrapperState={wasMultiple:!!A.multiple},v=pe({},A,{value:void 0}),Ft("invalid",s);break;case"textarea":At(s,A),v=Lt(s,A),Ft("invalid",s);break;default:v=A}Ne(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&&Ae(s,Y)):S==="children"?typeof Y=="string"?(f!=="textarea"||Y!=="")&&Me(s,Y):typeof Y=="number"&&Me(s,""+Y):S!=="suppressContentEditableWarning"&&S!=="suppressHydrationWarning"&&S!=="autoFocus"&&(o.hasOwnProperty(S)?Y!=null&&S==="onScroll"&&Ft("scroll",s):Y!=null&&D(s,S,Y,O))}switch(f){case"input":lt(s),pt(s,A,!1);break;case"textarea":lt(s),en(s);break;case"option":A.value!=null&&s.setAttribute("value",""+_e(A.value));break;case"select":s.multiple=!!A.multiple,S=A.value,S!=null?zt(s,!!A.multiple,S,!1):A.defaultValue!=null&&zt(s,!!A.multiple,A.defaultValue,!0);break;default:typeof v.onClick=="function"&&(s.onclick=md)}switch(f){case"button":case"input":case"select":case"textarea":A=!!A.autoFocus;break e;case"img":A=!0;break e;default:A=!1}}A&&(c.flags|=4)}c.ref!==null&&(c.flags|=512,c.flags|=2097152)}return Rn(c),null;case 6:if(s&&c.stateNode!=null)m1(s,c,s.memoizedProps,A);else{if(typeof A!="string"&&c.stateNode===null)throw Error(n(166));if(f=Vs(vc.current),Vs(Qo.current),Sd(c)){if(A=c.stateNode,f=c.memoizedProps,A[zo]=c,(S=A.nodeValue!==f)&&(s=xr,s!==null))switch(s.tag){case 3:gd(A.nodeValue,f,(s.mode&1)!==0);break;case 5:s.memoizedProps.suppressHydrationWarning!==!0&&gd(A.nodeValue,f,(s.mode&1)!==0)}S&&(c.flags|=4)}else A=(f.nodeType===9?f:f.ownerDocument).createTextNode(A),A[zo]=c,c.stateNode=A}return Rn(c),null;case 13:if(jt(Yt),A=c.memoizedState,s===null||s.memoizedState!==null&&s.memoizedState.dehydrated!==null){if(Qt&&br!==null&&(c.mode&1)!==0&&(c.flags&128)===0)xw(),qa(),c.flags|=98560,S=!1;else if(S=Sd(c),A!==null&&A.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[zo]=c}else qa(),(c.flags&128)===0&&(c.memoizedState=null),c.flags|=4;Rn(c),S=!1}else no!==null&&($A(no),no=null),S=!0;if(!S)return c.flags&65536?c:null}return(c.flags&128)!==0?(c.lanes=f,c):(A=A!==null,A!==(s!==null&&s.memoizedState!==null)&&A&&(c.child.flags|=8192,(c.mode&1)!==0&&(s===null||(Yt.current&1)!==0?un===0&&(un=3):ng())),c.updateQueue!==null&&(c.flags|=4),Rn(c),null);case 4:return Ja(),HA(s,c),s===null&&dc(c.stateNode.containerInfo),Rn(c),null;case 10:return gA(c.type._context),Rn(c),null;case 17:return or(c.type)&&yd(),Rn(c),null;case 19:if(jt(Yt),S=c.memoizedState,S===null)return Rn(c),null;if(A=(c.flags&128)!==0,O=S.rendering,O===null)if(A)kc(S,!1);else{if(un!==0||s!==null&&(s.flags&128)!==0)for(s=c.child;s!==null;){if(O=Td(s),O!==null){for(c.flags|=128,kc(S,!1),A=O.updateQueue,A!==null&&(c.updateQueue=A,c.flags|=4),c.subtreeFlags=0,A=f,f=c.child;f!==null;)S=f,s=A,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 Ot(Yt,Yt.current&1|2),c.child}s=s.sibling}S.tail!==null&&Bt()>tl&&(c.flags|=128,A=!0,kc(S,!1),c.lanes=4194304)}else{if(!A)if(s=Td(O),s!==null){if(c.flags|=128,A=!0,f=s.updateQueue,f!==null&&(c.updateQueue=f,c.flags|=4),kc(S,!0),S.tail===null&&S.tailMode==="hidden"&&!O.alternate&&!Qt)return Rn(c),null}else 2*Bt()-S.renderingStartTime>tl&&f!==1073741824&&(c.flags|=128,A=!0,kc(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=Bt(),c.sibling=null,f=Yt.current,Ot(Yt,A?f&1|2:f&1),c):(Rn(c),null);case 22:case 23:return tg(),A=c.memoizedState!==null,s!==null&&s.memoizedState!==null!==A&&(c.flags|=8192),A&&(c.mode&1)!==0?(wr&1073741824)!==0&&(Rn(c),c.subtreeFlags&6&&(c.flags|=8192)):Rn(c),null;case 24:return null;case 25:return null}throw Error(n(156,c.tag))}function k4(s,c){switch(uA(c),c.tag){case 1:return or(c.type)&&yd(),s=c.flags,s&65536?(c.flags=s&-65537|128,c):null;case 3:return Ja(),jt(rr),jt(Mn),kA(),s=c.flags,(s&65536)!==0&&(s&128)===0?(c.flags=s&-65537|128,c):null;case 5:return bA(c),null;case 13:if(jt(Yt),s=c.memoizedState,s!==null&&s.dehydrated!==null){if(c.alternate===null)throw Error(n(340));qa()}return s=c.flags,s&65536?(c.flags=s&-65537|128,c):null;case 19:return jt(Yt),null;case 4:return Ja(),null;case 10:return gA(c.type._context),null;case 22:case 23:return tg(),null;case 24:return null;default:return null}}var Nd=!1,Ln=!1,S4=typeof WeakSet=="function"?WeakSet:Set,Re=null;function $a(s,c){var f=s.ref;if(f!==null)if(typeof f=="function")try{f(null)}catch(A){Xt(s,c,A)}else f.current=null}function UA(s,c,f){try{f()}catch(A){Xt(s,c,A)}}var v1=!1;function E4(s,c){if(tA=yr,s=Xb(),qp(s)){if("selectionStart"in s)var f={start:s.selectionStart,end:s.selectionEnd};else e:{f=(f=s.ownerDocument)&&f.defaultView||window;var A=f.getSelection&&f.getSelection();if(A&&A.rangeCount!==0){f=A.anchorNode;var v=A.anchorOffset,S=A.focusNode;A=A.focusOffset;try{f.nodeType,S.nodeType}catch{f=null;break e}var O=0,U=-1,Y=-1,ue=0,be=0,we=s,xe=null;t:for(;;){for(var Oe;we!==f||v!==0&&we.nodeType!==3||(U=O+v),we!==S||A!==0&&we.nodeType!==3||(Y=O+A),we.nodeType===3&&(O+=we.nodeValue.length),(Oe=we.firstChild)!==null;)xe=we,we=Oe;for(;;){if(we===s)break t;if(xe===f&&++ue===v&&(U=O),xe===S&&++be===A&&(Y=O),(Oe=we.nextSibling)!==null)break;we=xe,xe=we.parentNode}we=Oe}f=U===-1||Y===-1?null:{start:U,end:Y}}else f=null}f=f||{start:0,end:0}}else f=null;for(nA={focusedElem:s,selectionRange:f},yr=!1,Re=c;Re!==null;)if(c=Re,s=c.child,(c.subtreeFlags&1028)!==0&&s!==null)s.return=c,Re=s;else for(;Re!==null;){c=Re;try{var je=c.alternate;if((c.flags&1024)!==0)switch(c.tag){case 0:case 11:case 15:break;case 1:if(je!==null){var ze=je.memoizedProps,Jt=je.memoizedState,te=c.stateNode,X=te.getSnapshotBeforeUpdate(c.elementType===c.type?ze:ro(c.type,ze),Jt);te.__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(Ce){Xt(c,c.return,Ce)}if(s=c.sibling,s!==null){s.return=c.return,Re=s;break}Re=c.return}return je=v1,v1=!1,je}function Sc(s,c,f){var A=c.updateQueue;if(A=A!==null?A.lastEffect:null,A!==null){var v=A=A.next;do{if((v.tag&s)===s){var S=v.destroy;v.destroy=void 0,S!==void 0&&UA(c,f,S)}v=v.next}while(v!==A)}}function zd(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 A=f.create;f.destroy=A()}f=f.next}while(f!==c)}}function VA(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 y1(s){var c=s.alternate;c!==null&&(s.alternate=null,y1(c)),s.child=null,s.deletions=null,s.sibling=null,s.tag===5&&(c=s.stateNode,c!==null&&(delete c[zo],delete c[hc],delete c[sA],delete c[a4],delete c[l4])),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 x1(s){return s.tag===5||s.tag===3||s.tag===4}function b1(s){e:for(;;){for(;s.sibling===null;){if(s.return===null||x1(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 WA(s,c,f){var A=s.tag;if(A===5||A===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=md));else if(A!==4&&(s=s.child,s!==null))for(WA(s,c,f),s=s.sibling;s!==null;)WA(s,c,f),s=s.sibling}function YA(s,c,f){var A=s.tag;if(A===5||A===6)s=s.stateNode,c?f.insertBefore(s,c):f.appendChild(s);else if(A!==4&&(s=s.child,s!==null))for(YA(s,c,f),s=s.sibling;s!==null;)YA(s,c,f),s=s.sibling}var En=null,oo=!1;function $i(s,c,f){for(f=f.child;f!==null;)w1(s,c,f),f=f.sibling}function w1(s,c,f){if(Nn&&typeof Nn.onCommitFiberUnmount=="function")try{Nn.onCommitFiberUnmount(mr,f)}catch{}switch(f.tag){case 5:Ln||$a(f,c);case 6:var A=En,v=oo;En=null,$i(s,c,f),En=A,oo=v,En!==null&&(oo?(s=En,f=f.stateNode,s.nodeType===8?s.parentNode.removeChild(f):s.removeChild(f)):En.removeChild(f.stateNode));break;case 18:En!==null&&(oo?(s=En,f=f.stateNode,s.nodeType===8?iA(s.parentNode,f):s.nodeType===1&&iA(s,f),Fo(s)):iA(En,f.stateNode));break;case 4:A=En,v=oo,En=f.stateNode.containerInfo,oo=!0,$i(s,c,f),En=A,oo=v;break;case 0:case 11:case 14:case 15:if(!Ln&&(A=f.updateQueue,A!==null&&(A=A.lastEffect,A!==null))){v=A=A.next;do{var S=v,O=S.destroy;S=S.tag,O!==void 0&&((S&2)!==0||(S&4)!==0)&&UA(f,c,O),v=v.next}while(v!==A)}$i(s,c,f);break;case 1:if(!Ln&&($a(f,c),A=f.stateNode,typeof A.componentWillUnmount=="function"))try{A.props=f.memoizedProps,A.state=f.memoizedState,A.componentWillUnmount()}catch(U){Xt(f,c,U)}$i(s,c,f);break;case 21:$i(s,c,f);break;case 22:f.mode&1?(Ln=(A=Ln)||f.memoizedState!==null,$i(s,c,f),Ln=A):$i(s,c,f);break;default:$i(s,c,f)}}function k1(s){var c=s.updateQueue;if(c!==null){s.updateQueue=null;var f=s.stateNode;f===null&&(f=s.stateNode=new S4),c.forEach(function(A){var v=O4.bind(null,s,A);f.has(A)||(f.add(A),A.then(v,v))})}}function io(s,c){var f=c.deletions;if(f!==null)for(var A=0;A<f.length;A++){var v=f[A];try{var S=s,O=c,U=O;e:for(;U!==null;){switch(U.tag){case 5:En=U.stateNode,oo=!1;break e;case 3:En=U.stateNode.containerInfo,oo=!0;break e;case 4:En=U.stateNode.containerInfo,oo=!0;break e}U=U.return}if(En===null)throw Error(n(160));w1(S,O,v),En=null,oo=!1;var Y=v.alternate;Y!==null&&(Y.return=null),v.return=null}catch(ue){Xt(v,c,ue)}}if(c.subtreeFlags&12854)for(c=c.child;c!==null;)S1(c,s),c=c.sibling}function S1(s,c){var f=s.alternate,A=s.flags;switch(s.tag){case 0:case 11:case 14:case 15:if(io(c,s),Uo(s),A&4){try{Sc(3,s,s.return),zd(3,s)}catch(ze){Xt(s,s.return,ze)}try{Sc(5,s,s.return)}catch(ze){Xt(s,s.return,ze)}}break;case 1:io(c,s),Uo(s),A&512&&f!==null&&$a(f,f.return);break;case 5:if(io(c,s),Uo(s),A&512&&f!==null&&$a(f,f.return),s.flags&32){var v=s.stateNode;try{Me(v,"")}catch(ze){Xt(s,s.return,ze)}}if(A&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&&Mt(v,S),ot(U,O);var ue=ot(U,S);for(O=0;O<Y.length;O+=2){var be=Y[O],we=Y[O+1];be==="style"?le(v,we):be==="dangerouslySetInnerHTML"?Ae(v,we):be==="children"?Me(v,we):D(v,be,we,ue)}switch(U){case"input":Wt(v,S);break;case"textarea":bn(v,S);break;case"select":var xe=v._wrapperState.wasMultiple;v._wrapperState.wasMultiple=!!S.multiple;var Oe=S.value;Oe!=null?zt(v,!!S.multiple,Oe,!1):xe!==!!S.multiple&&(S.defaultValue!=null?zt(v,!!S.multiple,S.defaultValue,!0):zt(v,!!S.multiple,S.multiple?[]:"",!1))}v[hc]=S}catch(ze){Xt(s,s.return,ze)}}break;case 6:if(io(c,s),Uo(s),A&4){if(s.stateNode===null)throw Error(n(162));v=s.stateNode,S=s.memoizedProps;try{v.nodeValue=S}catch(ze){Xt(s,s.return,ze)}}break;case 3:if(io(c,s),Uo(s),A&4&&f!==null&&f.memoizedState.isDehydrated)try{Fo(c.containerInfo)}catch(ze){Xt(s,s.return,ze)}break;case 4:io(c,s),Uo(s);break;case 13:io(c,s),Uo(s),v=s.child,v.flags&8192&&(S=v.memoizedState!==null,v.stateNode.isHidden=S,!S||v.alternate!==null&&v.alternate.memoizedState!==null||(GA=Bt())),A&4&&k1(s);break;case 22:if(be=f!==null&&f.memoizedState!==null,s.mode&1?(Ln=(ue=Ln)||be,io(c,s),Ln=ue):io(c,s),Uo(s),A&8192){if(ue=s.memoizedState!==null,(s.stateNode.isHidden=ue)&&!be&&(s.mode&1)!==0)for(Re=s,be=s.child;be!==null;){for(we=Re=be;Re!==null;){switch(xe=Re,Oe=xe.child,xe.tag){case 0:case 11:case 14:case 15:Sc(4,xe,xe.return);break;case 1:$a(xe,xe.return);var je=xe.stateNode;if(typeof je.componentWillUnmount=="function"){A=xe,f=xe.return;try{c=A,je.props=c.memoizedProps,je.state=c.memoizedState,je.componentWillUnmount()}catch(ze){Xt(A,f,ze)}}break;case 5:$a(xe,xe.return);break;case 22:if(xe.memoizedState!==null){P1(we);continue}}Oe!==null?(Oe.return=xe,Re=Oe):P1(we)}be=be.sibling}e:for(be=null,we=s;;){if(we.tag===5){if(be===null){be=we;try{v=we.stateNode,ue?(S=v.style,typeof S.setProperty=="function"?S.setProperty("display","none","important"):S.display="none"):(U=we.stateNode,Y=we.memoizedProps.style,O=Y!=null&&Y.hasOwnProperty("display")?Y.display:null,U.style.display=qe("display",O))}catch(ze){Xt(s,s.return,ze)}}}else if(we.tag===6){if(be===null)try{we.stateNode.nodeValue=ue?"":we.memoizedProps}catch(ze){Xt(s,s.return,ze)}}else if((we.tag!==22&&we.tag!==23||we.memoizedState===null||we===s)&&we.child!==null){we.child.return=we,we=we.child;continue}if(we===s)break e;for(;we.sibling===null;){if(we.return===null||we.return===s)break e;be===we&&(be=null),we=we.return}be===we&&(be=null),we.sibling.return=we.return,we=we.sibling}}break;case 19:io(c,s),Uo(s),A&4&&k1(s);break;case 21:break;default:io(c,s),Uo(s)}}function Uo(s){var c=s.flags;if(c&2){try{e:{for(var f=s.return;f!==null;){if(x1(f)){var A=f;break e}f=f.return}throw Error(n(160))}switch(A.tag){case 5:var v=A.stateNode;A.flags&32&&(Me(v,""),A.flags&=-33);var S=b1(s);YA(s,S,v);break;case 3:case 4:var O=A.stateNode.containerInfo,U=b1(s);WA(s,U,O);break;default:throw Error(n(161))}}catch(Y){Xt(s,s.return,Y)}s.flags&=-3}c&4096&&(s.flags&=-4097)}function C4(s,c,f){Re=s,E1(s)}function E1(s,c,f){for(var A=(s.mode&1)!==0;Re!==null;){var v=Re,S=v.child;if(v.tag===22&&A){var O=v.memoizedState!==null||Nd;if(!O){var U=v.alternate,Y=U!==null&&U.memoizedState!==null||Ln;U=Nd;var ue=Ln;if(Nd=O,(Ln=Y)&&!ue)for(Re=v;Re!==null;)O=Re,Y=O.child,O.tag===22&&O.memoizedState!==null?D1(v):Y!==null?(Y.return=O,Re=Y):D1(v);for(;S!==null;)Re=S,E1(S),S=S.sibling;Re=v,Nd=U,Ln=ue}C1(s)}else(v.subtreeFlags&8772)!==0&&S!==null?(S.return=v,Re=S):C1(s)}}function C1(s){for(;Re!==null;){var c=Re;if((c.flags&8772)!==0){var f=c.alternate;try{if((c.flags&8772)!==0)switch(c.tag){case 0:case 11:case 15:Ln||zd(5,c);break;case 1:var A=c.stateNode;if(c.flags&4&&!Ln)if(f===null)A.componentDidMount();else{var v=c.elementType===c.type?f.memoizedProps:ro(c.type,f.memoizedProps);A.componentDidUpdate(v,f.memoizedState,A.__reactInternalSnapshotBeforeUpdate)}var S=c.updateQueue;S!==null&&Pw(c,S,A);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}Pw(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 ue=c.alternate;if(ue!==null){var be=ue.memoizedState;if(be!==null){var we=be.dehydrated;we!==null&&Fo(we)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(n(163))}Ln||c.flags&512&&VA(c)}catch(xe){Xt(c,c.return,xe)}}if(c===s){Re=null;break}if(f=c.sibling,f!==null){f.return=c.return,Re=f;break}Re=c.return}}function P1(s){for(;Re!==null;){var c=Re;if(c===s){Re=null;break}var f=c.sibling;if(f!==null){f.return=c.return,Re=f;break}Re=c.return}}function D1(s){for(;Re!==null;){var c=Re;try{switch(c.tag){case 0:case 11:case 15:var f=c.return;try{zd(4,c)}catch(Y){Xt(c,f,Y)}break;case 1:var A=c.stateNode;if(typeof A.componentDidMount=="function"){var v=c.return;try{A.componentDidMount()}catch(Y){Xt(c,v,Y)}}var S=c.return;try{VA(c)}catch(Y){Xt(c,S,Y)}break;case 5:var O=c.return;try{VA(c)}catch(Y){Xt(c,O,Y)}}}catch(Y){Xt(c,c.return,Y)}if(c===s){Re=null;break}var U=c.sibling;if(U!==null){U.return=c.return,Re=U;break}Re=c.return}}var P4=Math.ceil,Qd=C.ReactCurrentDispatcher,qA=C.ReactCurrentOwner,Qr=C.ReactCurrentBatchConfig,gt=0,An=null,nn=null,Cn=0,wr=0,el=Ki(0),un=0,Ec=null,Ys=0,Hd=0,KA=0,Cc=null,sr=null,GA=0,tl=1/0,vi=null,Ud=!1,XA=null,es=null,Vd=!1,ts=null,Wd=0,Pc=0,JA=null,Yd=-1,qd=0;function Hn(){return(gt&6)!==0?Bt():Yd!==-1?Yd:Yd=Bt()}function ns(s){return(s.mode&1)===0?1:(gt&2)!==0&&Cn!==0?Cn&-Cn:u4.transition!==null?(qd===0&&(qd=H()),qd):(s=Te,s!==0||(s=window.event,s=s===void 0?16:Zl(s.type)),s)}function so(s,c,f,A){if(50<Pc)throw Pc=0,JA=null,Error(n(185));ee(s,f,A),((gt&2)===0||s!==An)&&(s===An&&((gt&2)===0&&(Hd|=f),un===4&&rs(s,Cn)),ar(s,A),f===1&>===0&&(c.mode&1)===0&&(tl=Bt()+500,bd&&Xi()))}function ar(s,c){var f=s.callbackNode;T(s,c);var A=Oo(s,s===An?Cn:0);if(A===0)f!==null&&Ps(f),s.callbackNode=null,s.callbackPriority=0;else if(c=A&-A,s.callbackPriority!==c){if(f!=null&&Ps(f),c===1)s.tag===0?c4(T1.bind(null,s)):Aw(T1.bind(null,s)),i4(function(){(gt&6)===0&&Xi()}),f=null;else{switch(Ye(A)){case 1:f=zi;break;case 4:f=Qi;break;case 16:f=_o;break;case 536870912:f=Xr;break;default:f=_o}f=j1(f,B1.bind(null,s))}s.callbackPriority=c,s.callbackNode=f}}function B1(s,c){if(Yd=-1,qd=0,(gt&6)!==0)throw Error(n(327));var f=s.callbackNode;if(nl()&&s.callbackNode!==f)return null;var A=Oo(s,s===An?Cn:0);if(A===0)return null;if((A&30)!==0||(A&s.expiredLanes)!==0||c)c=Kd(s,A);else{c=A;var v=gt;gt|=2;var S=_1();(An!==s||Cn!==c)&&(vi=null,tl=Bt()+500,Ks(s,c));do try{T4();break}catch(U){I1(s,U)}while(!0);AA(),Qd.current=S,gt=v,nn!==null?c=0:(An=null,Cn=0,c=un)}if(c!==0){if(c===2&&(v=F(s),v!==0&&(A=v,c=ZA(s,v))),c===1)throw f=Ec,Ks(s,0),rs(s,A),ar(s,Bt()),f;if(c===6)rs(s,A);else{if(v=s.current.alternate,(A&30)===0&&!D4(v)&&(c=Kd(s,A),c===2&&(S=F(s),S!==0&&(A=S,c=ZA(s,S))),c===1))throw f=Ec,Ks(s,0),rs(s,A),ar(s,Bt()),f;switch(s.finishedWork=v,s.finishedLanes=A,c){case 0:case 1:throw Error(n(345));case 2:Gs(s,sr,vi);break;case 3:if(rs(s,A),(A&130023424)===A&&(c=GA+500-Bt(),10<c)){if(Oo(s,0)!==0)break;if(v=s.suspendedLanes,(v&A)!==A){Hn(),s.pingedLanes|=s.suspendedLanes&v;break}s.timeoutHandle=oA(Gs.bind(null,s,sr,vi),c);break}Gs(s,sr,vi);break;case 4:if(rs(s,A),(A&4194240)===A)break;for(c=s.eventTimes,v=-1;0<A;){var O=31-ln(A);S=1<<O,O=c[O],O>v&&(v=O),A&=~S}if(A=v,A=Bt()-A,A=(120>A?120:480>A?480:1080>A?1080:1920>A?1920:3e3>A?3e3:4320>A?4320:1960*P4(A/1960))-A,10<A){s.timeoutHandle=oA(Gs.bind(null,s,sr,vi),A);break}Gs(s,sr,vi);break;case 5:Gs(s,sr,vi);break;default:throw Error(n(329))}}}return ar(s,Bt()),s.callbackNode===f?B1.bind(null,s):null}function ZA(s,c){var f=Cc;return s.current.memoizedState.isDehydrated&&(Ks(s,c).flags|=256),s=Kd(s,c),s!==2&&(c=sr,sr=f,c!==null&&$A(c)),s}function $A(s){sr===null?sr=s:sr.push.apply(sr,s)}function D4(s){for(var c=s;;){if(c.flags&16384){var f=c.updateQueue;if(f!==null&&(f=f.stores,f!==null))for(var A=0;A<f.length;A++){var v=f[A],S=v.getSnapshot;v=v.value;try{if(!to(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 rs(s,c){for(c&=~KA,c&=~Hd,s.suspendedLanes|=c,s.pingedLanes&=~c,s=s.expirationTimes;0<c;){var f=31-ln(c),A=1<<f;s[f]=-1,c&=~A}}function T1(s){if((gt&6)!==0)throw Error(n(327));nl();var c=Oo(s,0);if((c&1)===0)return ar(s,Bt()),null;var f=Kd(s,c);if(s.tag!==0&&f===2){var A=F(s);A!==0&&(c=A,f=ZA(s,A))}if(f===1)throw f=Ec,Ks(s,0),rs(s,c),ar(s,Bt()),f;if(f===6)throw Error(n(345));return s.finishedWork=s.current.alternate,s.finishedLanes=c,Gs(s,sr,vi),ar(s,Bt()),null}function eg(s,c){var f=gt;gt|=1;try{return s(c)}finally{gt=f,gt===0&&(tl=Bt()+500,bd&&Xi())}}function qs(s){ts!==null&&ts.tag===0&&(gt&6)===0&&nl();var c=gt;gt|=1;var f=Qr.transition,A=Te;try{if(Qr.transition=null,Te=1,s)return s()}finally{Te=A,Qr.transition=f,gt=c,(gt&6)===0&&Xi()}}function tg(){wr=el.current,jt(el)}function Ks(s,c){s.finishedWork=null,s.finishedLanes=0;var f=s.timeoutHandle;if(f!==-1&&(s.timeoutHandle=-1,o4(f)),nn!==null)for(f=nn.return;f!==null;){var A=f;switch(uA(A),A.tag){case 1:A=A.type.childContextTypes,A!=null&&yd();break;case 3:Ja(),jt(rr),jt(Mn),kA();break;case 5:bA(A);break;case 4:Ja();break;case 13:jt(Yt);break;case 19:jt(Yt);break;case 10:gA(A.type._context);break;case 22:case 23:tg()}f=f.return}if(An=s,nn=s=os(s.current,null),Cn=wr=c,un=0,Ec=null,KA=Hd=Ys=0,sr=Cc=null,Us!==null){for(c=0;c<Us.length;c++)if(f=Us[c],A=f.interleaved,A!==null){f.interleaved=null;var v=A.next,S=f.pending;if(S!==null){var O=S.next;S.next=v,A.next=O}f.pending=A}Us=null}return s}function I1(s,c){do{var f=nn;try{if(AA(),Id.current=Rd,_d){for(var A=qt.memoizedState;A!==null;){var v=A.queue;v!==null&&(v.pending=null),A=A.next}_d=!1}if(Ws=0,pn=cn=qt=null,yc=!1,xc=0,qA.current=null,f===null||f.return===null){un=1,Ec=c,nn=null;break}e:{var S=s,O=f.return,U=f,Y=c;if(c=Cn,U.flags|=32768,Y!==null&&typeof Y=="object"&&typeof Y.then=="function"){var ue=Y,be=U,we=be.tag;if((be.mode&1)===0&&(we===0||we===11||we===15)){var xe=be.alternate;xe?(be.updateQueue=xe.updateQueue,be.memoizedState=xe.memoizedState,be.lanes=xe.lanes):(be.updateQueue=null,be.memoizedState=null)}var Oe=n1(O);if(Oe!==null){Oe.flags&=-257,r1(Oe,O,U,S,c),Oe.mode&1&&t1(S,ue,c),c=Oe,Y=ue;var je=c.updateQueue;if(je===null){var ze=new Set;ze.add(Y),c.updateQueue=ze}else je.add(Y);break e}else{if((c&1)===0){t1(S,ue,c),ng();break e}Y=Error(n(426))}}else if(Qt&&U.mode&1){var Jt=n1(O);if(Jt!==null){(Jt.flags&65536)===0&&(Jt.flags|=256),r1(Jt,O,U,S,c),hA(Za(Y,U));break e}}S=Y=Za(Y,U),un!==4&&(un=2),Cc===null?Cc=[S]:Cc.push(S),S=O;do{switch(S.tag){case 3:S.flags|=65536,c&=-c,S.lanes|=c;var te=$w(S,Y,c);Cw(S,te);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"&&(es===null||!es.has(se)))){S.flags|=65536,c&=-c,S.lanes|=c;var Ce=e1(S,U,c);Cw(S,Ce);break e}}S=S.return}while(S!==null)}O1(f)}catch(Qe){c=Qe,nn===f&&f!==null&&(nn=f=f.return);continue}break}while(!0)}function _1(){var s=Qd.current;return Qd.current=Rd,s===null?Rd:s}function ng(){(un===0||un===3||un===2)&&(un=4),An===null||(Ys&268435455)===0&&(Hd&268435455)===0||rs(An,Cn)}function Kd(s,c){var f=gt;gt|=2;var A=_1();(An!==s||Cn!==c)&&(vi=null,Ks(s,c));do try{B4();break}catch(v){I1(s,v)}while(!0);if(AA(),gt=f,Qd.current=A,nn!==null)throw Error(n(261));return An=null,Cn=0,un}function B4(){for(;nn!==null;)M1(nn)}function T4(){for(;nn!==null&&!Ca();)M1(nn)}function M1(s){var c=F1(s.alternate,s,wr);s.memoizedProps=s.pendingProps,c===null?O1(s):nn=c,qA.current=null}function O1(s){var c=s;do{var f=c.alternate;if(s=c.return,(c.flags&32768)===0){if(f=w4(f,c,wr),f!==null){nn=f;return}}else{if(f=k4(f,c),f!==null){f.flags&=32767,nn=f;return}if(s!==null)s.flags|=32768,s.subtreeFlags=0,s.deletions=null;else{un=6,nn=null;return}}if(c=c.sibling,c!==null){nn=c;return}nn=c=s}while(c!==null);un===0&&(un=5)}function Gs(s,c,f){var A=Te,v=Qr.transition;try{Qr.transition=null,Te=1,I4(s,c,f,A)}finally{Qr.transition=v,Te=A}return null}function I4(s,c,f,A){do nl();while(ts!==null);if((gt&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(ge(s,S),s===An&&(nn=An=null,Cn=0),(f.subtreeFlags&2064)===0&&(f.flags&2064)===0||Vd||(Vd=!0,j1(_o,function(){return nl(),null})),S=(f.flags&15990)!==0,(f.subtreeFlags&15990)!==0||S){S=Qr.transition,Qr.transition=null;var O=Te;Te=1;var U=gt;gt|=4,qA.current=null,E4(s,f),S1(f,s),JM(nA),yr=!!tA,nA=tA=null,s.current=f,C4(f),Pa(),gt=U,Te=O,Qr.transition=S}else s.current=f;if(Vd&&(Vd=!1,ts=s,Wd=v),S=s.pendingLanes,S===0&&(es=null),ii(f.stateNode),ar(s,Bt()),c!==null)for(A=s.onRecoverableError,f=0;f<c.length;f++)v=c[f],A(v.value,{componentStack:v.stack,digest:v.digest});if(Ud)throw Ud=!1,s=XA,XA=null,s;return(Wd&1)!==0&&s.tag!==0&&nl(),S=s.pendingLanes,(S&1)!==0?s===JA?Pc++:(Pc=0,JA=s):Pc=0,Xi(),null}function nl(){if(ts!==null){var s=Ye(Wd),c=Qr.transition,f=Te;try{if(Qr.transition=null,Te=16>s?16:s,ts===null)var A=!1;else{if(s=ts,ts=null,Wd=0,(gt&6)!==0)throw Error(n(331));var v=gt;for(gt|=4,Re=s.current;Re!==null;){var S=Re,O=S.child;if((Re.flags&16)!==0){var U=S.deletions;if(U!==null){for(var Y=0;Y<U.length;Y++){var ue=U[Y];for(Re=ue;Re!==null;){var be=Re;switch(be.tag){case 0:case 11:case 15:Sc(8,be,S)}var we=be.child;if(we!==null)we.return=be,Re=we;else for(;Re!==null;){be=Re;var xe=be.sibling,Oe=be.return;if(y1(be),be===ue){Re=null;break}if(xe!==null){xe.return=Oe,Re=xe;break}Re=Oe}}}var je=S.alternate;if(je!==null){var ze=je.child;if(ze!==null){je.child=null;do{var Jt=ze.sibling;ze.sibling=null,ze=Jt}while(ze!==null)}}Re=S}}if((S.subtreeFlags&2064)!==0&&O!==null)O.return=S,Re=O;else e:for(;Re!==null;){if(S=Re,(S.flags&2048)!==0)switch(S.tag){case 0:case 11:case 15:Sc(9,S,S.return)}var te=S.sibling;if(te!==null){te.return=S.return,Re=te;break e}Re=S.return}}var X=s.current;for(Re=X;Re!==null;){O=Re;var se=O.child;if((O.subtreeFlags&2064)!==0&&se!==null)se.return=O,Re=se;else e:for(O=X;Re!==null;){if(U=Re,(U.flags&2048)!==0)try{switch(U.tag){case 0:case 11:case 15:zd(9,U)}}catch(Qe){Xt(U,U.return,Qe)}if(U===O){Re=null;break e}var Ce=U.sibling;if(Ce!==null){Ce.return=U.return,Re=Ce;break e}Re=U.return}}if(gt=v,Xi(),Nn&&typeof Nn.onPostCommitFiberRoot=="function")try{Nn.onPostCommitFiberRoot(mr,s)}catch{}A=!0}return A}finally{Te=f,Qr.transition=c}}return!1}function R1(s,c,f){c=Za(f,c),c=$w(s,c,1),s=Zi(s,c,1),c=Hn(),s!==null&&(ee(s,1,c),ar(s,c))}function Xt(s,c,f){if(s.tag===3)R1(s,s,f);else for(;c!==null;){if(c.tag===3){R1(c,s,f);break}else if(c.tag===1){var A=c.stateNode;if(typeof c.type.getDerivedStateFromError=="function"||typeof A.componentDidCatch=="function"&&(es===null||!es.has(A))){s=Za(f,s),s=e1(c,s,1),c=Zi(c,s,1),s=Hn(),c!==null&&(ee(c,1,s),ar(c,s));break}}c=c.return}}function _4(s,c,f){var A=s.pingCache;A!==null&&A.delete(c),c=Hn(),s.pingedLanes|=s.suspendedLanes&f,An===s&&(Cn&f)===f&&(un===4||un===3&&(Cn&130023424)===Cn&&500>Bt()-GA?Ks(s,0):KA|=f),ar(s,c)}function L1(s,c){c===0&&((s.mode&1)===0?c=1:(c=si,si<<=1,(si&130023424)===0&&(si=4194304)));var f=Hn();s=Ai(s,c),s!==null&&(ee(s,c,f),ar(s,f))}function M4(s){var c=s.memoizedState,f=0;c!==null&&(f=c.retryLane),L1(s,f)}function O4(s,c){var f=0;switch(s.tag){case 13:var A=s.stateNode,v=s.memoizedState;v!==null&&(f=v.retryLane);break;case 19:A=s.stateNode;break;default:throw Error(n(314))}A!==null&&A.delete(c),L1(s,f)}var F1;F1=function(s,c,f){if(s!==null)if(s.memoizedProps!==c.pendingProps||rr.current)ir=!0;else{if((s.lanes&f)===0&&(c.flags&128)===0)return ir=!1,b4(s,c,f);ir=(s.flags&131072)!==0}else ir=!1,Qt&&(c.flags&1048576)!==0&&gw(c,kd,c.index);switch(c.lanes=0,c.tag){case 2:var A=c.type;jd(s,c),s=c.pendingProps;var v=Va(c,Mn.current);Xa(c,f),v=CA(null,c,A,s,v,f);var S=PA();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,or(A)?(S=!0,xd(c)):S=!1,c.memoizedState=v.state!==null&&v.state!==void 0?v.state:null,yA(c),v.updater=Ld,c.stateNode=v,v._reactInternals=c,MA(c,A,s,f),c=FA(null,c,A,!0,S,f)):(c.tag=0,Qt&&S&&cA(c),Qn(null,c,v,f),c=c.child),c;case 16:A=c.elementType;e:{switch(jd(s,c),s=c.pendingProps,v=A._init,A=v(A._payload),c.type=A,v=c.tag=L4(A),s=ro(A,s),v){case 0:c=LA(null,c,A,s,f);break e;case 1:c=c1(null,c,A,s,f);break e;case 11:c=o1(null,c,A,s,f);break e;case 14:c=i1(null,c,A,ro(A.type,s),f);break e}throw Error(n(306,A,""))}return c;case 0:return A=c.type,v=c.pendingProps,v=c.elementType===A?v:ro(A,v),LA(s,c,A,v,f);case 1:return A=c.type,v=c.pendingProps,v=c.elementType===A?v:ro(A,v),c1(s,c,A,v,f);case 3:e:{if(u1(c),s===null)throw Error(n(387));A=c.pendingProps,S=c.memoizedState,v=S.element,Ew(s,c),Bd(c,A,null,f);var O=c.memoizedState;if(A=O.element,S.isDehydrated)if(S={element:A,isDehydrated:!1,cache:O.cache,pendingSuspenseBoundaries:O.pendingSuspenseBoundaries,transitions:O.transitions},c.updateQueue.baseState=S,c.memoizedState=S,c.flags&256){v=Za(Error(n(423)),c),c=d1(s,c,A,f,v);break e}else if(A!==v){v=Za(Error(n(424)),c),c=d1(s,c,A,f,v);break e}else for(br=qi(c.stateNode.containerInfo.firstChild),xr=c,Qt=!0,no=null,f=kw(c,null,A,f),c.child=f;f;)f.flags=f.flags&-3|4096,f=f.sibling;else{if(qa(),A===v){c=mi(s,c,f);break e}Qn(s,c,A,f)}c=c.child}return c;case 5:return Dw(c),s===null&&fA(c),A=c.type,v=c.pendingProps,S=s!==null?s.memoizedProps:null,O=v.children,rA(A,v)?O=null:S!==null&&rA(A,S)&&(c.flags|=32),l1(s,c),Qn(s,c,O,f),c.child;case 6:return s===null&&fA(c),null;case 13:return f1(s,c,f);case 4:return xA(c,c.stateNode.containerInfo),A=c.pendingProps,s===null?c.child=Ka(c,null,A,f):Qn(s,c,A,f),c.child;case 11:return A=c.type,v=c.pendingProps,v=c.elementType===A?v:ro(A,v),o1(s,c,A,v,f);case 7:return Qn(s,c,c.pendingProps,f),c.child;case 8:return Qn(s,c,c.pendingProps.children,f),c.child;case 12:return Qn(s,c,c.pendingProps.children,f),c.child;case 10:e:{if(A=c.type._context,v=c.pendingProps,S=c.memoizedProps,O=v.value,Ot(Cd,A._currentValue),A._currentValue=O,S!==null)if(to(S.value,O)){if(S.children===v.children&&!rr.current){c=mi(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===A){if(S.tag===1){Y=gi(-1,f&-f),Y.tag=2;var ue=S.updateQueue;if(ue!==null){ue=ue.shared;var be=ue.pending;be===null?Y.next=Y:(Y.next=be.next,be.next=Y),ue.pending=Y}}S.lanes|=f,Y=S.alternate,Y!==null&&(Y.lanes|=f),mA(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),mA(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}Qn(s,c,v.children,f),c=c.child}return c;case 9:return v=c.type,A=c.pendingProps.children,Xa(c,f),v=Nr(v),A=A(v),c.flags|=1,Qn(s,c,A,f),c.child;case 14:return A=c.type,v=ro(A,c.pendingProps),v=ro(A.type,v),i1(s,c,A,v,f);case 15:return s1(s,c,c.type,c.pendingProps,f);case 17:return A=c.type,v=c.pendingProps,v=c.elementType===A?v:ro(A,v),jd(s,c),c.tag=1,or(A)?(s=!0,xd(c)):s=!1,Xa(c,f),Jw(c,A,v),MA(c,A,v,f),FA(null,c,A,!0,s,f);case 19:return p1(s,c,f);case 22:return a1(s,c,f)}throw Error(n(156,c.tag))};function j1(s,c){return oi(s,c)}function R4(s,c,f,A){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=A,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Hr(s,c,f,A){return new R4(s,c,f,A)}function rg(s){return s=s.prototype,!(!s||!s.isReactComponent)}function L4(s){if(typeof s=="function")return rg(s)?1:0;if(s!=null){if(s=s.$$typeof,s===V)return 11;if(s===ne)return 14}return 2}function os(s,c){var f=s.alternate;return f===null?(f=Hr(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 Gd(s,c,f,A,v,S){var O=2;if(A=s,typeof s=="function")rg(s)&&(O=1);else if(typeof s=="string")O=5;else e:switch(s){case z:return Xs(f.children,v,S,c);case W:O=8,v|=8;break;case K:return s=Hr(12,f,c,v|2),s.elementType=K,s.lanes=S,s;case Z:return s=Hr(13,f,c,v),s.elementType=Z,s.lanes=S,s;case ce:return s=Hr(19,f,c,v),s.elementType=ce,s.lanes=S,s;case oe:return Xd(f,v,S,c);default:if(typeof s=="object"&&s!==null)switch(s.$$typeof){case q:O=10;break e;case J:O=9;break e;case V:O=11;break e;case ne:O=14;break e;case fe:O=16,A=null;break e}throw Error(n(130,s==null?s:typeof s,""))}return c=Hr(O,f,c,v),c.elementType=s,c.type=A,c.lanes=S,c}function Xs(s,c,f,A){return s=Hr(7,s,A,c),s.lanes=f,s}function Xd(s,c,f,A){return s=Hr(22,s,A,c),s.elementType=oe,s.lanes=f,s.stateNode={isHidden:!1},s}function og(s,c,f){return s=Hr(6,s,null,c),s.lanes=f,s}function ig(s,c,f){return c=Hr(4,s.children!==null?s.children:[],s.key,c),c.lanes=f,c.stateNode={containerInfo:s.containerInfo,pendingChildren:null,implementation:s.implementation},c}function F4(s,c,f,A,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=ie(0),this.expirationTimes=ie(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ie(0),this.identifierPrefix=A,this.onRecoverableError=v,this.mutableSourceEagerHydrationData=null}function sg(s,c,f,A,v,S,O,U,Y){return s=new F4(s,c,f,U,Y),c===1?(c=1,S===!0&&(c|=8)):c=0,S=Hr(3,null,null,c),s.current=S,S.stateNode=s,S.memoizedState={element:A,isDehydrated:f,cache:null,transitions:null,pendingSuspenseBoundaries:null},yA(S),s}function j4(s,c,f){var A=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:R,key:A==null?null:""+A,children:s,containerInfo:c,implementation:f}}function N1(s){if(!s)return Gi;s=s._reactInternals;e:{if(Gr(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(or(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(or(f))return hw(s,f,c)}return c}function z1(s,c,f,A,v,S,O,U,Y){return s=sg(f,A,!0,s,v,S,O,U,Y),s.context=N1(null),f=s.current,A=Hn(),v=ns(f),S=gi(A,v),S.callback=c??null,Zi(f,S,v),s.current.lanes=v,ee(s,v,A),ar(s,A),s}function Jd(s,c,f,A){var v=c.current,S=Hn(),O=ns(v);return f=N1(f),c.context===null?c.context=f:c.pendingContext=f,c=gi(S,O),c.payload={element:s},A=A===void 0?null:A,A!==null&&(c.callback=A),s=Zi(v,c,O),s!==null&&(so(s,v,O,S),Dd(s,v,O)),O}function Zd(s){return s=s.current,s.child?(s.child.tag===5,s.child.stateNode):null}function Q1(s,c){if(s=s.memoizedState,s!==null&&s.dehydrated!==null){var f=s.retryLane;s.retryLane=f!==0&&f<c?f:c}}function ag(s,c){Q1(s,c),(s=s.alternate)&&Q1(s,c)}function N4(){return null}var H1=typeof reportError=="function"?reportError:function(s){console.error(s)};function lg(s){this._internalRoot=s}$d.prototype.render=lg.prototype.render=function(s){var c=this._internalRoot;if(c===null)throw Error(n(409));Jd(s,c,null,null)},$d.prototype.unmount=lg.prototype.unmount=function(){var s=this._internalRoot;if(s!==null){this._internalRoot=null;var c=s.containerInfo;qs(function(){Jd(null,s,null,null)}),c[di]=null}};function $d(s){this._internalRoot=s}$d.prototype.unstable_scheduleHydration=function(s){if(s){var c=Jn();s={blockedOn:null,target:s,priority:c};for(var f=0;f<Lo.length&&c!==0&&c<Lo[f].priority;f++);Lo.splice(f,0,s),f===0&&Rr(s)}};function cg(s){return!(!s||s.nodeType!==1&&s.nodeType!==9&&s.nodeType!==11)}function ef(s){return!(!s||s.nodeType!==1&&s.nodeType!==9&&s.nodeType!==11&&(s.nodeType!==8||s.nodeValue!==" react-mount-point-unstable "))}function U1(){}function z4(s,c,f,A,v){if(v){if(typeof A=="function"){var S=A;A=function(){var ue=Zd(O);S.call(ue)}}var O=z1(c,A,s,0,null,!1,!1,"",U1);return s._reactRootContainer=O,s[di]=O.current,dc(s.nodeType===8?s.parentNode:s),qs(),O}for(;v=s.lastChild;)s.removeChild(v);if(typeof A=="function"){var U=A;A=function(){var ue=Zd(Y);U.call(ue)}}var Y=sg(s,0,!1,null,null,!1,!1,"",U1);return s._reactRootContainer=Y,s[di]=Y.current,dc(s.nodeType===8?s.parentNode:s),qs(function(){Jd(c,Y,f,A)}),Y}function tf(s,c,f,A,v){var S=f._reactRootContainer;if(S){var O=S;if(typeof v=="function"){var U=v;v=function(){var Y=Zd(O);U.call(Y)}}Jd(c,O,s,v)}else O=z4(f,c,s,v,A);return Zd(O)}nt=function(s){switch(s.tag){case 3:var c=s.stateNode;if(c.current.memoizedState.isDehydrated){var f=Mo(c.pendingLanes);f!==0&&(Pe(c,f|1),ar(c,Bt()),(gt&6)===0&&(tl=Bt()+500,Xi()))}break;case 13:qs(function(){var A=Ai(s,1);if(A!==null){var v=Hn();so(A,s,1,v)}}),ag(s,1)}},Ct=function(s){if(s.tag===13){var c=Ai(s,134217728);if(c!==null){var f=Hn();so(c,s,134217728,f)}ag(s,134217728)}},Xn=function(s){if(s.tag===13){var c=ns(s),f=Ai(s,c);if(f!==null){var A=Hn();so(f,s,c,A)}ag(s,c)}},Jn=function(){return Te},Tn=function(s,c){var f=Te;try{return Te=s,c()}finally{Te=f}},St=function(s,c,f){switch(c){case"input":if(Wt(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 A=f[c];if(A!==s&&A.form===s.form){var v=vd(A);if(!v)throw Error(n(90));Nt(A),Wt(A,v)}}}break;case"textarea":bn(s,f);break;case"select":c=f.value,c!=null&&zt(s,!!f.multiple,c,!1)}},tn=eg,qr=qs;var Q4={usingClientEntryPoint:!1,Events:[pc,Ha,vd,gr,jn,eg]},Dc={findFiberByHostInstance:Ns,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},H4={bundleType:Dc.bundleType,version:Dc.version,rendererPackageName:Dc.rendererPackageName,rendererConfig:Dc.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=ri(s),s===null?null:s.stateNode},findFiberByHostInstance:Dc.findFiberByHostInstance||N4,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 nf=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!nf.isDisabled&&nf.supportsFiber)try{mr=nf.inject(H4),Nn=nf}catch{}}return Un.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Q4,Un.createPortal=function(s,c){var f=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!cg(c))throw Error(n(200));return j4(s,c,null,f)},Un.createRoot=function(s,c){if(!cg(s))throw Error(n(299));var f=!1,A="",v=H1;return c!=null&&(c.unstable_strictMode===!0&&(f=!0),c.identifierPrefix!==void 0&&(A=c.identifierPrefix),c.onRecoverableError!==void 0&&(v=c.onRecoverableError)),c=sg(s,1,!1,null,null,f,!1,A,v),s[di]=c.current,dc(s.nodeType===8?s.parentNode:s),new lg(c)},Un.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=ri(c),s=s===null?null:s.stateNode,s},Un.flushSync=function(s){return qs(s)},Un.hydrate=function(s,c,f){if(!ef(c))throw Error(n(200));return tf(null,s,c,!0,f)},Un.hydrateRoot=function(s,c,f){if(!cg(s))throw Error(n(405));var A=f!=null&&f.hydratedSources||null,v=!1,S="",O=H1;if(f!=null&&(f.unstable_strictMode===!0&&(v=!0),f.identifierPrefix!==void 0&&(S=f.identifierPrefix),f.onRecoverableError!==void 0&&(O=f.onRecoverableError)),c=z1(c,null,s,1,f??null,v,!1,S,O),s[di]=c.current,dc(s),A)for(s=0;s<A.length;s++)f=A[s],v=f._getVersion,v=v(f._source),c.mutableSourceEagerHydrationData==null?c.mutableSourceEagerHydrationData=[f,v]:c.mutableSourceEagerHydrationData.push(f,v);return new $d(c)},Un.render=function(s,c,f){if(!ef(c))throw Error(n(200));return tf(null,s,c,!1,f)},Un.unmountComponentAtNode=function(s){if(!ef(s))throw Error(n(40));return s._reactRootContainer?(qs(function(){tf(null,null,s,!1,function(){s._reactRootContainer=null,s[di]=null})}),!0):!1},Un.unstable_batchedUpdates=eg,Un.unstable_renderSubtreeIntoContainer=function(s,c,f,A){if(!ef(f))throw Error(n(200));if(s==null||s._reactInternals===void 0)throw Error(n(38));return tf(s,c,f,!1,A)},Un.version="18.3.1-next-f1338f8080-20240426",Un}var mg;function vg(){if(mg)return sf.exports;mg=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(),sf.exports=G1(),sf.exports}var yg;function X1(){if(yg)return Bc;yg=1;var t=vg();return Bc.createRoot=t.createRoot,Bc.hydrateRoot=t.hydrateRoot,Bc}var J1=X1();const Z1="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 cf({expandWidth:t=!1,homeTitle:e="ACCESS Home",homeUrl:n="https://access-ci.org/",items:r=[],topBorder:o=!1}){if(!(!r||!r.length))return E.jsxs("ul",{className:`breadcrumbs ${t?"expand":""} ${o?"top-border":""}`,children:[E.jsx("li",{className:"home",children:E.jsx("a",{href:n,title:e,children:E.jsx("img",{src:Z1,alt:e,height:"14"})})},"home"),r.map(i=>E.jsx("li",{className:i.classes||"",children:i.href||i.onClick?E.jsx("a",{href:i.href,onClick:i.onClick,children:i.name}):i.name},i.name))]})}const $1=M.createContext(null),uf={didCatch:!1,error:null};class xg extends M.Component{constructor(e){super(e),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=uf}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(uf))}componentDidCatch(e,n){this.props.onError?.(e,n)}componentDidUpdate(e,n){const{didCatch:r}=this.state,{resetKeys:o}=this.props;r&&n.error!==null&&ek(e.resetKeys,o)&&(this.props.onReset?.({next:o,prev:e.resetKeys,reason:"keys"}),this.setState(uf))}render(){const{children:e,fallbackRender:n,FallbackComponent:r,fallback:o}=this.props,{didCatch:i,error:a}=this.state;let l=e;if(i){const u={error:a,resetErrorBoundary:this.resetErrorBoundary};if(typeof n=="function")l=n(u);else if(r)l=M.createElement(r,u);else if(o!==void 0)l=o;else throw a}return M.createElement($1.Provider,{value:{didCatch:i,error:a,resetErrorBoundary:this.resetErrorBoundary}},l)}}function ek(t=[],e=[]){return t.length!==e.length||t.some((n,r)=>!Object.is(n,e[r]))}const tk=M.lazy(()=>Promise.resolve().then(()=>pD).then(t=>({default:t.QABot})));let bg=class extends M.Component{render(){const{welcome:e,isLoggedIn:n,open:r,onOpenChange:o,apiKey:i,embedded:a,loginUrl:l,userEmail:u,userName:d,accessId:h,onAnalyticsEvent:p,qaEndpoint:g,ratingEndpoint:m}=this.props,y=i||void 0||null;if(!y)return console.error("QA Bot: No valid API key provided"),null;const w=n!==void 0?n:document.cookie.split("; ").includes("SESSaccesscisso=1");return E.jsx(xg,{children:E.jsx(M.Suspense,{fallback:null,children:E.jsx(tk,{welcome:e,isLoggedIn:w,open:r,onOpenChange:o,embedded:a===!0,apiKey:y,loginUrl:l,userEmail:u,userName:d,accessId:h,onAnalyticsEvent:p,qaEndpoint:g,ratingEndpoint:m})})})}};const wg=[{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/"}],kg=[{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:wg},{name:"Search",href:"https://support.access-ci.org/find",classes:"icon icon-search"}],Sg={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"}]},Eg={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"}]},nk=[{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"}],rk=[{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"}],ok="https://www.nsf.gov/awardsearch/show-award/",il=({number:t})=>E.jsxs("a",{href:`${ok}?AWD_ID=${t}`,children:["#",t]}),Tc=({className:t=null,items:e})=>E.jsx("ul",{className:t,children:e.map(({className:n,name:r,href:o})=>E.jsx("li",{children:E.jsx("a",{className:n,href:o,children:r})},o))}),ik="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgA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EJDI0bjuWInwHo/1f+riuv3VuQEj9LpJ3xXT0Z7O5Jy8HR3Mm2zbWjXuGRAFZqfPTAYO5jw+PGVbmCfS4Xci2Af3m7w8s+1u0+/psVaylj7yCENAvhIpN3kMk7B6SU9x8ORjxb4M/3DefvGpssdDiuuB3AA4ySowTpkRgXfmiXDeAf11wdfhzAfADjhysFRNfVvZRpewE0C+4ik3dhO2ILgJHDcb6rPr3P/vwHmz/PhcwDMI5USfxRYFWNNWuzLoDuw+sk6BnG/Fuk5KdyYcCwuATwHA4jI/7NmyYSeJUPiqPjkOPktz4nqBLcTZkPQhBwLm1Gyd5XqyQ5KrH+HxrcNQ3TMpBIW8gVHC6EzBy9K0eB9U+P/qGB3NB44eDAaB4F0zWEkMbRu3IUWP/0GJ807x5JGE/nCg7gLdU5dvSuHB1Hx/8P4/8D9B8zcoSATacAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjItMDgtMTdUMTY6MTI6MTUtMDQ6MDBuCuvkAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTA4LTE3VDE2OjEyOjE1LTA0OjAwH1dTWAAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAAASUVORK5CYII=",sk="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",Cg=({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:ik,alt:"National Science Foundation"})}),E.jsx("div",{className:"divider"}),E.jsxs("a",{className:"access",href:r,children:[E.jsx("img",{className:"access-logo",src:sk,alt:"ACCESS",role:"img"}),n&&e=="header"?E.jsx("span",{className:`name name-${n.toLocaleLowerCase().replace(" ","-")}`,children:n}):null]})]}),df=(t=900)=>document.body.clientWidth>=t?"desktop":"mobile",Pg=(t=900)=>{const[e,n]=M.useState(df(t));return M.useEffect(()=>{window.addEventListener("resize",()=>n(df(t)))},[]),e},Dg=()=>window.pageYOffset!==void 0?window.pageYOffset:(document.documentElement||document.body.parentNode||document.body).scrollTop,Bg={},Ic={},ak=(t,{body:e=null,cache:n=!0,corsProxy:r=!1,headers:o=void 0,method:i="GET"}={body:null,cache:!0,corsProxy:!1,headers:void 0,method:"GET"})=>{const a=`${t}|${e}`;if(n&&a in Bg)return Bg[a];if(a in Ic)return Ic[a];const l=fetch(r?`https://corsproxy.io/?${encodeURIComponent(t)}`:t,{body:e,headers:o,method:i}).then(u=>{if(delete Ic[t],u.status<200||u.status>299)return{error:{status:u.status}};try{return u.json()}catch(d){return{error:{message:d}}}});return Ic[a]=l,l},Fn=(t,{body:e=null,cache:n=!0,corsProxy:r=!1,defaultValue:o=null,headers:i=void 0,method:a="GET"}={body:null,cache:!0,corsProxy:!1,defaultValue:null,headers:void 0,method:"GET"})=>{const[l,u]=M.useState(o);let d=!1;return Array.isArray(t)||(t=t?[t]:[],d=!0),M.useEffect(()=>{t.length&&(async()=>{const h=await Promise.all(t.map(g=>ak(g,{body:e,cache:n,corsProxy:r,headers:i,method:a}))),p=d?h[0]:h;u(p)})()},[t.join(" ")]),l},Tg=()=>{const t=Fn("https://operations-api.access-ci.org/wh2/cider/v1/access-active-groups/type/resource-catalog.access-ci.org/");return ff([t],({results:e})=>{const{active_groups:n,feature_categories:r,features:o,organizations:i,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,x)=>w.name.localeCompare(x.name));const d=o.filter(w=>u.includes(w.feature_category_id)).map(w=>({tagId:w.feature_id,name:w.feature_name,tagCategoryId:w.feature_category_id})),h={};for(let w of i)d.push({tagId:w.organization_id*-1,name:w.organization_name,tagCategoryId:-1,iconUri:w.organization_favicon_url||null}),h[w.organization_id]=w;d.sort((w,x)=>w.name.localeCompare(x.name));const p=d.map(w=>w.tagId),g=[{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(x=>x*-1).filter(x=>p.includes(x)),...w.rollup_feature_ids.filter(x=>p.includes(x))],resourceCategoryId:w.rollup_feature_ids.includes(137)?2:1,accessAllocated:w.rollup_feature_ids.includes(139),organizations:w.rollup_organization_ids.map(x=>h[x]).filter(x=>x),resources:a.filter(x=>w.rollup_info_resourceids.includes(x.info_resourceid))})),y=m.find(w=>w.infoGroupId==="cloudbank.access-ci.org");if(y)for(const w of["Amazon Web Services","Google Cloud","IBM Cloud","Microsoft Azure"])m.push({...y,infoGroupId:`${w.toLowerCase().replaceAll(" ","-")}${y.infoGroupId}`,parentInfoGroupId:y.infoGroupId,name:w});return m.sort((w,x)=>w.name.localeCompare(x.name)),ck({resourceCategories:g,resourceGroups:m,tags:d,tagCategories:l})})},sl=(t,e=null)=>{const n=Tg();return n&&n.resourceGroups.find(r=>r.infoGroupId==t)||e},lk=(t,e=[])=>{const n=Fn(`https://operations-api.access-ci.org/wh2/cider/v1/access-active/info_groupid/${t}/?format=json`);return n&&!n.error?n.results:e},ff=(t,e,n=null)=>M.useMemo(()=>{if(!t.length)return n;for(let r of t)if(!r||r.error)return n;return e.apply(null,t)},t),ck=({resourceCategories:t,resourceGroups:e,tags:n,tagCategories:r})=>{const o={};for(let l of r)l.tags=[],o[l.tagCategoryId]=l;const i={};for(let l of n)l.tagCategory=o[l.tagCategoryId],l.tagCategory.tags.push(l),l.resources=[],i[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=>i[u]);return{resourceCategories:t,resourceGroups:e,tags:n,tagCategories:r}},uk=({resourceGroups:t,tags:e,tagCategories:n},r)=>{const o=new Set,i=new Set,a=new Set,l=new Set(r);for(let h of e)l.has(h.tagId)&&a.add(h.tagCategoryId);const u=n.filter(({tagCategoryId:h})=>a.has(h)),d=new Set(e.filter(h=>!a.has(h.tagCategoryId)).map(h=>h.tagId));for(let h of t){let p=!0;for(let g of u){let m=!1;for(let y of g.tags)if(l.has(y.tagId)&&h.tags.includes(y)){m=!0;break}if(!m){p=!1;break}}if(p){i.add(h.infoGroupId),o.add(h.resourceCategoryId);for(let g of h.tagIds)d.delete(g)}}return{disabledTagIds:d,resourceCategoryIds:o,infoGroupIds:i,tagCategoryIds:a,tagIds:l}},Ig=t=>{let e=t.match(/href="([^"]+)"/);return e?e[1]:null},hf=t=>t.replace(/(<[^>]+>)/g,"").replace(/ /g," "),pf=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)),o=n.split(/<a[^<]+<\/a>/g),i=[];for(;o.length>0;){i.push(hf(o.shift()));let a=r.shift();if(a){let l=Ig(a[1]);l&&i.push(E.jsx("a",{href:l,children:a[2]}))}}e.push(E.jsx("p",{children:i},n))}return e},dk=({showAfterScroll:t=300})=>{const[e,n]=M.useState(!1);return M.useEffect(()=>{window.addEventListener("scroll",()=>n(Dg()>=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"})},fk=(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(il,{number:2138259}),", ",E.jsx(il,{number:2138286}),","," ",E.jsx(il,{number:2138307}),", ",E.jsx(il,{number:2137603})," and"," ",E.jsx(il,{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(Tc,{className:"social",items:nk})]}),E.jsxs("div",{className:"personas",children:[E.jsx("p",{children:"For:"}),E.jsx(Tc,{items:wg})]})]}),E.jsxs("div",{className:"lower",children:[E.jsx(Cg,{siteName:"ACCESS",siteUrl:"https://access-ci.org",placement:"footer"}),E.jsx(Tc,{className:"links",items:rk})]})]}),E.jsx(dk,{...t})]}),hk=(t={})=>E.jsx("div",{className:"container",children:E.jsx(Cg,{...t})}),_g=({autoOpenMode:t,classes:e="",href:n="",html:r="",items:o,mode:i,name:a,onClick:l,open:u,parentId:d="root",setOpen:h})=>{const p=M.useId(),g=u[d]==p,m=g||t==i,y=()=>h({...u,[d]:g?null:p});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(o)return E.jsxs(E.Fragment,{children:[a&&E.jsx("button",{"aria-expanded":m,"aria-controls":p,className:`item ${m?"expanded":"collapsed"}`,onClick:y,children:a}),E.jsx("ul",{className:e,id:p,hidden:!m,"aria-hidden":!m,children:o.map(({autoOpenMode:w,classes:x,href:P,html:_,items:D,name:C,onClick:N})=>E.jsx("li",{className:x||"",children:E.jsx(_g,{autoOpenMode:w,href:P,html:_,items:D,mode:i,name:C,onClick:N,open:u,parentId:p,setOpen:h})},C||_))})]})},Mg=({classes:t,items:e,name:n})=>{const r=M.useRef(null),o=Pg(1280),[i,a]=M.useState({});M.useEffect(()=>{r.current&&(document.body.addEventListener("click",u=>{const d=r.current.getRootNode()?.host;u.target!==d&&df()=="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(_g,{autoOpenMode:"desktop",items:e,mode:o,name:n,open:i,setOpen:a})})},pk=({items:t,siteName:e=""})=>{const n=Pg(768),r=t.map(({name:o,href:i,items:a,onClick:l})=>{if(n=="mobile")for(;!i;)i=a[0].href,a=a[0];return i||l?E.jsx("div",{className:"column",children:E.jsx("h3",{children:E.jsx("a",{href:i,onClick:l,children:o})})},o):E.jsxs("div",{className:"column",children:[E.jsx("h3",{children:o}),E.jsx(Tc,{items:a})]},o)});return E.jsxs("nav",{className:"footer",children:[E.jsxs("h2",{children:["ACCESS ",e]}),E.jsx("div",{className:"columns",children:r})]})},Ak=({items:t,isLoggedIn:e,loginUrl:n,logoutUrl:r,siteName:o})=>{if(e===void 0&&(e=document.cookie.split("; ").includes("SESSaccesscisso=1")),t===void 0){const i={...e?Sg:Eg};i.items=i.items.map(l=>({...l,href:l.name=="Login"&&n||l.name=="Log out"&&r||l.href})),t=[...kg,i];let a=t.find(l=>(l.href||"").replace(/\/$/,"")==document.location.href.replace(/\/$/,""));o&&!a&&(a=t.find(l=>l.name==o)),a&&(a.classes+=" active")}return E.jsx(Mg,{classes:"universal",items:t,name:"ACCESS Menu"})},gk=({items:t,siteName:e})=>E.jsx(Mg,{classes:"site",items:t,name:`${e} Menu`});var Og="popstate";function Rg(t){return typeof t=="object"&&t!=null&&"pathname"in t&&"search"in t&&"hash"in t&&"state"in t&&"key"in t}function mk(t={}){function e(r,o){let i=o.state?.masked,{pathname:a,search:l,hash:u}=i||r.location;return Af("",{pathname:a,search:l,hash:u},o.state&&o.state.usr||null,o.state&&o.state.key||"default",i?{pathname:r.location.pathname,search:r.location.search,hash:r.location.hash}:void 0)}function n(r,o){return typeof o=="string"?o:al(o)}return yk(e,n,null,t)}function Ht(t,e){if(t===!1||t===null||typeof t>"u")throw new Error(e)}function ao(t,e){if(!t){typeof console<"u"&&console.warn(e);try{throw new Error(e)}catch{}}}function vk(){return Math.random().toString(36).substring(2,10)}function Lg(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 Af(t,e,n=null,r,o){return{pathname:typeof t=="string"?t:t.pathname,search:"",hash:"",...typeof e=="string"?Js(e):e,state:n,key:e&&e.key||r||vk(),unstable_mask:o}}function al({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 Js(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 yk(t,e,n,r={}){let{window:o=document.defaultView,v5Compat:i=!1}=r,a=o.history,l="POP",u=null,d=h();d==null&&(d=0,a.replaceState({...a.state,idx:d},""));function h(){return(a.state||{idx:null}).idx}function p(){l="POP";let x=h(),P=x==null?null:x-d;d=x,u&&u({action:l,location:w.location,delta:P})}function g(x,P){l="PUSH";let _=Rg(x)?x:Af(w.location,x,P);d=h()+1;let D=Lg(_,d),C=w.createHref(_.unstable_mask||_);try{a.pushState(D,"",C)}catch(N){if(N instanceof DOMException&&N.name==="DataCloneError")throw N;o.location.assign(C)}i&&u&&u({action:l,location:w.location,delta:1})}function m(x,P){l="REPLACE";let _=Rg(x)?x:Af(w.location,x,P);d=h();let D=Lg(_,d),C=w.createHref(_.unstable_mask||_);a.replaceState(D,"",C),i&&u&&u({action:l,location:w.location,delta:0})}function y(x){return xk(x)}let w={get action(){return l},get location(){return t(o,a)},listen(x){if(u)throw new Error("A history only accepts one active listener");return o.addEventListener(Og,p),u=x,()=>{o.removeEventListener(Og,p),u=null}},createHref(x){return e(o,x)},createURL:y,encodeLocation(x){let P=y(x);return{pathname:P.pathname,search:P.search,hash:P.hash}},push:g,replace:m,go(x){return a.go(x)}};return w}function xk(t,e=!1){let n="http://localhost";typeof window<"u"&&(n=window.location.origin!=="null"?window.location.origin:window.location.href),Ht(n,"No window.location.(origin|href) available to create URL");let r=typeof t=="string"?t:al(t);return r=r.replace(/ $/,"%20"),!e&&r.startsWith("//")&&(r=n+r),new URL(r,n)}function Fg(t,e,n="/"){return bk(t,e,n,!1)}function bk(t,e,n,r){let o=typeof e=="string"?Js(e):e,i=Vo(o.pathname||"/",n);if(i==null)return null;let a=jg(t);wk(a);let l=null;for(let u=0;l==null&&u<a.length;++u){let d=Mk(i);l=Ik(a[u],d,r)}return l}function jg(t,e=[],n=[],r="",o=!1){let i=(a,l,u=o,d)=>{let h={relativePath:d===void 0?a.path||"":d,caseSensitive:a.caseSensitive===!0,childrenIndex:l,route:a};if(h.relativePath.startsWith("/")){if(!h.relativePath.startsWith(r)&&u)return;Ht(h.relativePath.startsWith(r),`Absolute route path "${h.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),h.relativePath=h.relativePath.slice(r.length)}let p=lo([r,h.relativePath]),g=n.concat(h);a.children&&a.children.length>0&&(Ht(a.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${p}".`),jg(a.children,e,g,p,u)),!(a.path==null&&!a.index)&&e.push({path:p,score:Bk(p,a.index),routesMeta:g})};return t.forEach((a,l)=>{if(a.path===""||!a.path?.includes("?"))i(a,l);else for(let u of Ng(a.path))i(a,l,!0,u)}),e}function Ng(t){let e=t.split("/");if(e.length===0)return[];let[n,...r]=e,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return o?[i,""]:[i];let a=Ng(r.join("/")),l=[];return l.push(...a.map(u=>u===""?i:[i,u].join("/"))),o&&l.push(...a),l.map(u=>t.startsWith("/")&&u===""?"/":u)}function wk(t){t.sort((e,n)=>e.score!==n.score?n.score-e.score:Tk(e.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}var kk=/^:[\w-]+$/,Sk=3,Ek=2,Ck=1,Pk=10,Dk=-2,zg=t=>t==="*";function Bk(t,e){let n=t.split("/"),r=n.length;return n.some(zg)&&(r+=Dk),e&&(r+=Ek),n.filter(o=>!zg(o)).reduce((o,i)=>o+(kk.test(i)?Sk:i===""?Ck:Pk),r)}function Tk(t,e){return t.length===e.length&&t.slice(0,-1).every((r,o)=>r===e[o])?t[t.length-1]-e[e.length-1]:0}function Ik(t,e,n=!1){let{routesMeta:r}=t,o={},i="/",a=[];for(let l=0;l<r.length;++l){let u=r[l],d=l===r.length-1,h=i==="/"?e:e.slice(i.length)||"/",p=_c({path:u.relativePath,caseSensitive:u.caseSensitive,end:d},h),g=u.route;if(!p&&d&&n&&!r[r.length-1].route.index&&(p=_c({path:u.relativePath,caseSensitive:u.caseSensitive,end:!1},h)),!p)return null;Object.assign(o,p.params),a.push({params:o,pathname:lo([i,p.pathname]),pathnameBase:Fk(lo([i,p.pathnameBase])),route:g}),p.pathnameBase!=="/"&&(i=lo([i,p.pathnameBase]))}return a}function _c(t,e){typeof t=="string"&&(t={path:t,caseSensitive:!1,end:!0});let[n,r]=_k(t.path,t.caseSensitive,t.end),o=e.match(n);if(!o)return null;let i=o[0],a=i.replace(/(.)\/+$/,"$1"),l=o.slice(1);return{params:r.reduce((d,{paramName:h,isOptional:p},g)=>{if(h==="*"){let y=l[g]||"";a=i.slice(0,i.length-y.length).replace(/(.)\/+$/,"$1")}const m=l[g];return p&&!m?d[h]=void 0:d[h]=(m||"").replace(/%2F/g,"/"),d},{}),pathname:i,pathnameBase:a,pattern:t}}function _k(t,e=!1,n=!0){ao(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=[],o="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(a,l,u,d,h)=>{if(r.push({paramName:l,isOptional:u!=null}),u){let p=h.charAt(d+a.length);return p&&p!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return t.endsWith("*")?(r.push({paramName:"*"}),o+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":t!==""&&t!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,e?void 0:"i"),r]}function Mk(t){try{return t.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(e){return ao(!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 Vo(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 Ok=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function Rk(t,e="/"){let{pathname:n,search:r="",hash:o=""}=typeof t=="string"?Js(t):t,i;return n?(n=n.replace(/\/\/+/g,"/"),n.startsWith("/")?i=Qg(n.substring(1),"/"):i=Qg(n,e)):i=e,{pathname:i,search:jk(r),hash:Nk(o)}}function Qg(t,e){let n=e.replace(/\/+$/,"").split("/");return t.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function gf(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 Lk(t){return t.filter((e,n)=>n===0||e.route.path&&e.route.path.length>0)}function Hg(t){let e=Lk(t);return e.map((n,r)=>r===e.length-1?n.pathname:n.pathnameBase)}function mf(t,e,n,r=!1){let o;typeof t=="string"?o=Js(t):(o={...t},Ht(!o.pathname||!o.pathname.includes("?"),gf("?","pathname","search",o)),Ht(!o.pathname||!o.pathname.includes("#"),gf("#","pathname","hash",o)),Ht(!o.search||!o.search.includes("#"),gf("#","search","hash",o)));let i=t===""||o.pathname==="",a=i?"/":o.pathname,l;if(a==null)l=n;else{let p=e.length-1;if(!r&&a.startsWith("..")){let g=a.split("/");for(;g[0]==="..";)g.shift(),p-=1;o.pathname=g.join("/")}l=p>=0?e[p]:"/"}let u=Rk(o,l),d=a&&a!=="/"&&a.endsWith("/"),h=(i||a===".")&&n.endsWith("/");return!u.pathname.endsWith("/")&&(d||h)&&(u.pathname+="/"),u}var lo=t=>t.join("/").replace(/\/\/+/g,"/"),Fk=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),jk=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,Nk=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t,zk=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 Qk(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}function Hk(t){return t.map(e=>e.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var Ug=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function Vg(t,e){let n=t;if(typeof n!="string"||!Ok.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let r=n,o=!1;if(Ug)try{let i=new URL(window.location.href),a=n.startsWith("//")?new URL(i.protocol+n):new URL(n),l=Vo(a.pathname,e);a.origin===i.origin&&l!=null?n=l+a.search+a.hash:o=!0}catch{ao(!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:o,to:n}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var Wg=["POST","PUT","PATCH","DELETE"];new Set(Wg);var Uk=["GET",...Wg];new Set(Uk);var Zs=M.createContext(null);Zs.displayName="DataRouter";var Mc=M.createContext(null);Mc.displayName="DataRouterState";var Vk=M.createContext(!1),Yg=M.createContext({isTransitioning:!1});Yg.displayName="ViewTransition";var Wk=M.createContext(new Map);Wk.displayName="Fetchers";var Yk=M.createContext(null);Yk.displayName="Await";var kr=M.createContext(null);kr.displayName="Navigation";var ll=M.createContext(null);ll.displayName="Location";var co=M.createContext({outlet:null,matches:[],isDataRoute:!1});co.displayName="Route";var vf=M.createContext(null);vf.displayName="RouteError";var qg="REACT_ROUTER_ERROR",qk="REDIRECT",Kk="ROUTE_ERROR_RESPONSE";function Gk(t){if(t.startsWith(`${qg}:${qk}:{`))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 Xk(t){if(t.startsWith(`${qg}:${Kk}:{`))try{let e=JSON.parse(t.slice(40));if(typeof e=="object"&&e&&typeof e.status=="number"&&typeof e.statusText=="string")return new zk(e.status,e.statusText,e.data)}catch{}}function Jk(t,{relative:e}={}){Ht(cl(),"useHref() may be used only in the context of a <Router> component.");let{basename:n,navigator:r}=M.useContext(kr),{hash:o,pathname:i,search:a}=ul(t,{relative:e}),l=i;return n!=="/"&&(l=i==="/"?n:lo([n,i])),r.createHref({pathname:l,search:a,hash:o})}function cl(){return M.useContext(ll)!=null}function yi(){return Ht(cl(),"useLocation() may be used only in the context of a <Router> component."),M.useContext(ll).location}var Kg="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Gg(t){M.useContext(kr).static||M.useLayoutEffect(t)}function Zk(){let{isDataRoute:t}=M.useContext(co);return t?f2():$k()}function $k(){Ht(cl(),"useNavigate() may be used only in the context of a <Router> component.");let t=M.useContext(Zs),{basename:e,navigator:n}=M.useContext(kr),{matches:r}=M.useContext(co),{pathname:o}=yi(),i=JSON.stringify(Hg(r)),a=M.useRef(!1);return Gg(()=>{a.current=!0}),M.useCallback((u,d={})=>{if(ao(a.current,Kg),!a.current)return;if(typeof u=="number"){n.go(u);return}let h=mf(u,JSON.parse(i),o,d.relative==="path");t==null&&e!=="/"&&(h.pathname=h.pathname==="/"?e:lo([e,h.pathname])),(d.replace?n.replace:n.push)(h,d.state,d)},[e,n,i,o,t])}M.createContext(null);function e2(){let{matches:t}=M.useContext(co),e=t[t.length-1];return e?e.params:{}}function ul(t,{relative:e}={}){let{matches:n}=M.useContext(co),{pathname:r}=yi(),o=JSON.stringify(Hg(n));return M.useMemo(()=>mf(t,JSON.parse(o),r,e==="path"),[t,o,r,e])}function t2(t,e){return Xg(t,e)}function Xg(t,e,n){Ht(cl(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:r}=M.useContext(kr),{matches:o}=M.useContext(co),i=o[o.length-1],a=i?i.params:{},l=i?i.pathname:"/",u=i?i.pathnameBase:"/",d=i&&i.route;{let x=d&&d.path||"";$g(l,!d||x.endsWith("*")||x.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${l}" (under <Route path="${x}">) 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
|
-
Please change the parent <Route path="${x}"> to <Route path="${x==="/"?"*":`${x}/*`}">.`)}let h=yi(),p;if(e){let x=typeof e=="string"?Js(e):e;Ht(u==="/"||x.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 "${x.pathname}" was given in the \`location\` prop.`),p=x}else p=h;let g=p.pathname||"/",m=g;if(u!=="/"){let x=u.replace(/^\//,"").split("/");m="/"+g.replace(/^\//,"").split("/").slice(x.length).join("/")}let y=Fg(t,{pathname:m});ao(d||y!=null,`No routes matched location "${p.pathname}${p.search}${p.hash}" `),ao(y==null||y[y.length-1].route.element!==void 0||y[y.length-1].route.Component!==void 0||y[y.length-1].route.lazy!==void 0,`Matched leaf route at location "${p.pathname}${p.search}${p.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=s2(y&&y.map(x=>Object.assign({},x,{params:Object.assign({},a,x.params),pathname:lo([u,r.encodeLocation?r.encodeLocation(x.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:x.pathname]),pathnameBase:x.pathnameBase==="/"?u:lo([u,r.encodeLocation?r.encodeLocation(x.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:x.pathnameBase])})),o,n);return e&&w?M.createElement(ll.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",unstable_mask:void 0,...p},navigationType:"POP"}},w):w}function n2(){let t=d2(),e=Qk(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)",o={padding:"0.5rem",backgroundColor:r},i={padding:"2px 4px",backgroundColor:r},a=null;return console.error("Error handled by React Router default ErrorBoundary:",t),a=M.createElement(M.Fragment,null,M.createElement("p",null,"💿 Hey developer 👋"),M.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",M.createElement("code",{style:i},"ErrorBoundary")," or"," ",M.createElement("code",{style:i},"errorElement")," prop on your route.")),M.createElement(M.Fragment,null,M.createElement("h2",null,"Unexpected Application Error!"),M.createElement("h3",{style:{fontStyle:"italic"}},e),n?M.createElement("pre",{style:o},n):null,a)}var r2=M.createElement(n2,null),Jg=class extends M.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=Xk(t.digest);n&&(t=n)}let e=t!==void 0?M.createElement(co.Provider,{value:this.props.routeContext},M.createElement(vf.Provider,{value:t,children:this.props.component})):this.props.children;return this.context?M.createElement(o2,{error:t},e):e}};Jg.contextType=Vk;var yf=new WeakMap;function o2({children:t,error:e}){let{basename:n}=M.useContext(kr);if(typeof e=="object"&&e&&"digest"in e&&typeof e.digest=="string"){let r=Gk(e.digest);if(r){let o=yf.get(e);if(o)throw o;let i=Vg(r.location,n);if(Ug&&!yf.get(e))if(i.isExternal||r.reloadDocument)window.location.href=i.absoluteURL||i.to;else{const a=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(i.to,{replace:r.replace}));throw yf.set(e,a),a}return M.createElement("meta",{httpEquiv:"refresh",content:`0;url=${i.absoluteURL||i.to}`})}}return t}function i2({routeContext:t,match:e,children:n}){let r=M.useContext(Zs);return r&&r.static&&r.staticContext&&(e.route.errorElement||e.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=e.route.id),M.createElement(co.Provider,{value:t},n)}function s2(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 o=t,i=r?.errors;if(i!=null){let h=o.findIndex(p=>p.route.id&&i?.[p.route.id]!==void 0);Ht(h>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(i).join(",")}`),o=o.slice(0,Math.min(o.length,h+1))}let a=!1,l=-1;if(n&&r){a=r.renderFallback;for(let h=0;h<o.length;h++){let p=o[h];if((p.route.HydrateFallback||p.route.hydrateFallbackElement)&&(l=h),p.route.id){let{loaderData:g,errors:m}=r,y=p.route.loader&&!g.hasOwnProperty(p.route.id)&&(!m||m[p.route.id]===void 0);if(p.route.lazy||y){n.isStatic&&(a=!0),l>=0?o=o.slice(0,l+1):o=[o[0]];break}}}}let u=n?.onError,d=r&&u?(h,p)=>{u(h,{location:r.location,params:r.matches?.[0]?.params??{},unstable_pattern:Hk(r.matches),errorInfo:p})}:void 0;return o.reduceRight((h,p,g)=>{let m,y=!1,w=null,x=null;r&&(m=i&&p.route.id?i[p.route.id]:void 0,w=p.route.errorElement||r2,a&&(l<0&&g===0?($g("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),y=!0,x=null):l===g&&(y=!0,x=p.route.hydrateFallbackElement||null)));let P=e.concat(o.slice(0,g+1)),_=()=>{let D;return m?D=w:y?D=x:p.route.Component?D=M.createElement(p.route.Component,null):p.route.element?D=p.route.element:D=h,M.createElement(i2,{match:p,routeContext:{outlet:h,matches:P,isDataRoute:r!=null},children:D})};return r&&(p.route.ErrorBoundary||p.route.errorElement||g===0)?M.createElement(Jg,{location:r.location,revalidation:r.revalidation,component:w,error:m,children:_(),routeContext:{outlet:null,matches:P,isDataRoute:!0},onError:d}):_()},null)}function xf(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=M.useContext(Zs);return Ht(e,xf(t)),e}function l2(t){let e=M.useContext(Mc);return Ht(e,xf(t)),e}function c2(t){let e=M.useContext(co);return Ht(e,xf(t)),e}function bf(t){let e=c2(t),n=e.matches[e.matches.length-1];return Ht(n.route.id,`${t} can only be used on routes that contain a unique "id"`),n.route.id}function u2(){return bf("useRouteId")}function d2(){let t=M.useContext(vf),e=l2("useRouteError"),n=bf("useRouteError");return t!==void 0?t:e.errors?.[n]}function f2(){let{router:t}=a2("useNavigate"),e=bf("useNavigate"),n=M.useRef(!1);return Gg(()=>{n.current=!0}),M.useCallback(async(o,i={})=>{ao(n.current,Kg),n.current&&(typeof o=="number"?await t.navigate(o):await t.navigate(o,{fromRouteId:e,...i}))},[t,e])}var Zg={};function $g(t,e,n){!e&&!Zg[t]&&(Zg[t]=!0,ao(!1,n))}M.memo(h2);function h2({routes:t,future:e,state:n,isStatic:r,onError:o}){return Xg(t,void 0,{state:n,isStatic:r,onError:o})}function wf(t){Ht(!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 p2({basename:t="/",children:e=null,location:n,navigationType:r="POP",navigator:o,static:i=!1,unstable_useTransitions:a}){Ht(!cl(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let l=t.replace(/^\/*/,"/"),u=M.useMemo(()=>({basename:l,navigator:o,static:i,unstable_useTransitions:a,future:{}}),[l,o,i,a]);typeof n=="string"&&(n=Js(n));let{pathname:d="/",search:h="",hash:p="",state:g=null,key:m="default",unstable_mask:y}=n,w=M.useMemo(()=>{let x=Vo(d,l);return x==null?null:{location:{pathname:x,search:h,hash:p,state:g,key:m,unstable_mask:y},navigationType:r}},[l,d,h,p,g,m,r,y]);return ao(w!=null,`<Router basename="${l}"> is not able to match the URL "${d}${h}${p}" because it does not start with the basename, so the <Router> won't render anything.`),w==null?null:M.createElement(kr.Provider,{value:u},M.createElement(ll.Provider,{children:e,value:w}))}function A2({children:t,location:e}){return t2(kf(t),e)}function kf(t,e=[]){let n=[];return M.Children.forEach(t,(r,o)=>{if(!M.isValidElement(r))return;let i=[...e,o];if(r.type===M.Fragment){n.push.apply(n,kf(r.props.children,i));return}Ht(r.type===wf,`[${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>`),Ht(!r.props.index||!r.props.children,"An index route cannot have child routes.");let a={id:r.props.id||i.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=kf(r.props.children,i)),n.push(a)}),n}var Oc="get",Rc="application/x-www-form-urlencoded";function Lc(t){return typeof HTMLElement<"u"&&t instanceof HTMLElement}function g2(t){return Lc(t)&&t.tagName.toLowerCase()==="button"}function m2(t){return Lc(t)&&t.tagName.toLowerCase()==="form"}function v2(t){return Lc(t)&&t.tagName.toLowerCase()==="input"}function y2(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}function x2(t,e){return t.button===0&&(!e||e==="_self")&&!y2(t)}var Fc=null;function b2(){if(Fc===null)try{new FormData(document.createElement("form"),0),Fc=!1}catch{Fc=!0}return Fc}var w2=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Sf(t){return t!=null&&!w2.has(t)?(ao(!1,`"${t}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Rc}"`),null):t}function k2(t,e){let n,r,o,i,a;if(m2(t)){let l=t.getAttribute("action");r=l?Vo(l,e):null,n=t.getAttribute("method")||Oc,o=Sf(t.getAttribute("enctype"))||Rc,i=new FormData(t)}else if(g2(t)||v2(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?Vo(u,e):null,n=t.getAttribute("formmethod")||l.getAttribute("method")||Oc,o=Sf(t.getAttribute("formenctype"))||Sf(l.getAttribute("enctype"))||Rc,i=new FormData(l,t),!b2()){let{name:d,type:h,value:p}=t;if(h==="image"){let g=d?`${d}.`:"";i.append(`${g}x`,"0"),i.append(`${g}y`,"0")}else d&&i.append(d,p)}}else{if(Lc(t))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=Oc,r=null,o=Rc,a=t}return i&&o==="text/plain"&&(a=i,i=void 0),{action:r,method:n.toLowerCase(),encType:o,formData:i,body:a}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function Ef(t,e){if(t===!1||t===null||typeof t>"u")throw new Error(e)}function S2(t,e,n,r){let o=typeof t=="string"?new URL(t,typeof window>"u"?"server://singlefetch/":window.location.origin):t;return n?o.pathname.endsWith("/")?o.pathname=`${o.pathname}_.${r}`:o.pathname=`${o.pathname}.${r}`:o.pathname==="/"?o.pathname=`_root.${r}`:e&&Vo(o.pathname,e)==="/"?o.pathname=`${e.replace(/\/$/,"")}/_root.${r}`:o.pathname=`${o.pathname.replace(/\/$/,"")}.${r}`,o}async function E2(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 C2(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 P2(t,e,n){let r=await Promise.all(t.map(async o=>{let i=e.routes[o.route.id];if(i){let a=await E2(i,n);return a.links?a.links():[]}return[]}));return I2(r.flat(1).filter(C2).filter(o=>o.rel==="stylesheet"||o.rel==="preload").map(o=>o.rel==="stylesheet"?{...o,rel:"prefetch",as:"style"}:{...o,rel:"prefetch"}))}function em(t,e,n,r,o,i){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 i==="assets"?e.filter((u,d)=>a(u,d)||l(u,d)):i==="data"?e.filter((u,d)=>{let h=r.routes[u.route.id];if(!h||!h.hasLoader)return!1;if(a(u,d)||l(u,d))return!0;if(u.route.shouldRevalidate){let p=u.route.shouldRevalidate({currentUrl:new URL(o.pathname+o.search+o.hash,window.origin),currentParams:n[0]?.params||{},nextUrl:new URL(t,window.origin),nextParams:u.params,defaultShouldRevalidate:!0});if(typeof p=="boolean")return p}return!0}):[]}function D2(t,e,{includeHydrateFallback:n}={}){return B2(t.map(r=>{let o=e.routes[r.route.id];if(!o)return[];let i=[o.module];return o.clientActionModule&&(i=i.concat(o.clientActionModule)),o.clientLoaderModule&&(i=i.concat(o.clientLoaderModule)),n&&o.hydrateFallbackModule&&(i=i.concat(o.hydrateFallbackModule)),o.imports&&(i=i.concat(o.imports)),i}).flat(1))}function B2(t){return[...new Set(t)]}function T2(t){let e={},n=Object.keys(t).sort();for(let r of n)e[r]=t[r];return e}function I2(t,e){let n=new Set;return new Set(e),t.reduce((r,o)=>{let i=JSON.stringify(T2(o));return n.has(i)||(n.add(i),r.push({key:i,link:o})),r},[])}function tm(){let t=M.useContext(Zs);return Ef(t,"You must render this element inside a <DataRouterContext.Provider> element"),t}function _2(){let t=M.useContext(Mc);return Ef(t,"You must render this element inside a <DataRouterStateContext.Provider> element"),t}var Cf=M.createContext(void 0);Cf.displayName="FrameworkContext";function nm(){let t=M.useContext(Cf);return Ef(t,"You must render this element inside a <HydratedRouter> element"),t}function M2(t,e){let n=M.useContext(Cf),[r,o]=M.useState(!1),[i,a]=M.useState(!1),{onFocus:l,onBlur:u,onMouseEnter:d,onMouseLeave:h,onTouchStart:p}=e,g=M.useRef(null);M.useEffect(()=>{if(t==="render"&&a(!0),t==="viewport"){let w=P=>{P.forEach(_=>{a(_.isIntersecting)})},x=new IntersectionObserver(w,{threshold:.5});return g.current&&x.observe(g.current),()=>{x.disconnect()}}},[t]),M.useEffect(()=>{if(r){let w=setTimeout(()=>{a(!0)},100);return()=>{clearTimeout(w)}}},[r]);let m=()=>{o(!0)},y=()=>{o(!1),a(!1)};return n?t!=="intent"?[i,g,{}]:[i,g,{onFocus:dl(l,m),onBlur:dl(u,y),onMouseEnter:dl(d,m),onMouseLeave:dl(h,y),onTouchStart:dl(p,m)}]:[!1,g,{}]}function dl(t,e){return n=>{t&&t(n),n.defaultPrevented||e(n)}}function O2({page:t,...e}){let{router:n}=tm(),r=M.useMemo(()=>Fg(n.routes,t,n.basename),[n.routes,t,n.basename]);return r?M.createElement(L2,{page:t,matches:r,...e}):null}function R2(t){let{manifest:e,routeModules:n}=nm(),[r,o]=M.useState([]);return M.useEffect(()=>{let i=!1;return P2(t,e,n).then(a=>{i||o(a)}),()=>{i=!0}},[t,e,n]),r}function L2({page:t,matches:e,...n}){let r=yi(),{future:o,manifest:i,routeModules:a}=nm(),{basename:l}=tm(),{loaderData:u,matches:d}=_2(),h=M.useMemo(()=>em(t,e,d,i,r,"data"),[t,e,d,i,r]),p=M.useMemo(()=>em(t,e,d,i,r,"assets"),[t,e,d,i,r]),g=M.useMemo(()=>{if(t===r.pathname+r.search+r.hash)return[];let w=new Set,x=!1;if(e.forEach(_=>{let D=i.routes[_.route.id];!D||!D.hasLoader||(!h.some(C=>C.route.id===_.route.id)&&_.route.id in u&&a[_.route.id]?.shouldRevalidate||D.hasClientLoader?x=!0:w.add(_.route.id))}),w.size===0)return[];let P=S2(t,l,o.unstable_trailingSlashAwareDataRequests,"data");return x&&w.size>0&&P.searchParams.set("_routes",e.filter(_=>w.has(_.route.id)).map(_=>_.route.id).join(",")),[P.pathname+P.search]},[l,o.unstable_trailingSlashAwareDataRequests,u,r,i,h,e,t,a]),m=M.useMemo(()=>D2(p,i),[p,i]),y=R2(p);return M.createElement(M.Fragment,null,g.map(w=>M.createElement("link",{key:w,rel:"prefetch",as:"fetch",href:w,...n})),m.map(w=>M.createElement("link",{key:w,rel:"modulepreload",href:w,...n})),y.map(({key:w,link:x})=>M.createElement("link",{key:w,nonce:n.nonce,...x,crossOrigin:x.crossOrigin??n.crossOrigin})))}function F2(...t){return e=>{t.forEach(n=>{typeof n=="function"?n(e):n!=null&&(n.current=e)})}}var j2=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{j2&&(window.__reactRouterVersion="7.13.1")}catch{}function N2({basename:t,children:e,unstable_useTransitions:n,window:r}){let o=M.useRef();o.current==null&&(o.current=mk({window:r,v5Compat:!0}));let i=o.current,[a,l]=M.useState({action:i.action,location:i.location}),u=M.useCallback(d=>{n===!1?l(d):M.startTransition(()=>l(d))},[n]);return M.useLayoutEffect(()=>i.listen(u),[i,u]),M.createElement(p2,{basename:t,children:e,location:a.location,navigationType:a.action,navigator:i,unstable_useTransitions:n})}var rm=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,om=M.forwardRef(function({onClick:e,discover:n="render",prefetch:r="none",relative:o,reloadDocument:i,replace:a,unstable_mask:l,state:u,target:d,to:h,preventScrollReset:p,viewTransition:g,unstable_defaultShouldRevalidate:m,...y},w){let{basename:x,navigator:P,unstable_useTransitions:_}=M.useContext(kr),D=typeof h=="string"&&rm.test(h),C=Vg(h,x);h=C.to;let N=Jk(h,{relative:o}),R=yi(),z=null;if(l){let ne=mf(l,[],R.unstable_mask?R.unstable_mask.pathname:"/",!0);x!=="/"&&(ne.pathname=ne.pathname==="/"?x:lo([x,ne.pathname])),z=P.createHref(ne)}let[W,K,q]=M2(r,y),J=U2(h,{replace:a,unstable_mask:l,state:u,target:d,preventScrollReset:p,relative:o,viewTransition:g,unstable_defaultShouldRevalidate:m,unstable_useTransitions:_});function V(ne){e&&e(ne),ne.defaultPrevented||J(ne)}let Z=!(C.isExternal||i),ce=M.createElement("a",{...y,...q,href:(Z?z:void 0)||C.absoluteURL||N,onClick:Z?V:e,ref:F2(w,K),target:d,"data-discover":!D&&n==="render"?"true":void 0});return W&&!D?M.createElement(M.Fragment,null,ce,M.createElement(O2,{page:N})):ce});om.displayName="Link";var z2=M.forwardRef(function({"aria-current":e="page",caseSensitive:n=!1,className:r="",end:o=!1,style:i,to:a,viewTransition:l,children:u,...d},h){let p=ul(a,{relative:d.relative}),g=yi(),m=M.useContext(Mc),{navigator:y,basename:w}=M.useContext(kr),x=m!=null&&K2(p)&&l===!0,P=y.encodeLocation?y.encodeLocation(p).pathname:p.pathname,_=g.pathname,D=m&&m.navigation&&m.navigation.location?m.navigation.location.pathname:null;n||(_=_.toLowerCase(),D=D?D.toLowerCase():null,P=P.toLowerCase()),D&&w&&(D=Vo(D,w)||D);const C=P!=="/"&&P.endsWith("/")?P.length-1:P.length;let N=_===P||!o&&_.startsWith(P)&&_.charAt(C)==="/",R=D!=null&&(D===P||!o&&D.startsWith(P)&&D.charAt(P.length)==="/"),z={isActive:N,isPending:R,isTransitioning:x},W=N?e:void 0,K;typeof r=="function"?K=r(z):K=[r,N?"active":null,R?"pending":null,x?"transitioning":null].filter(Boolean).join(" ");let q=typeof i=="function"?i(z):i;return M.createElement(om,{...d,"aria-current":W,className:K,ref:h,style:q,to:a,viewTransition:l},typeof u=="function"?u(z):u)});z2.displayName="NavLink";var Q2=M.forwardRef(({discover:t="render",fetcherKey:e,navigate:n,reloadDocument:r,replace:o,state:i,method:a=Oc,action:l,onSubmit:u,relative:d,preventScrollReset:h,viewTransition:p,unstable_defaultShouldRevalidate:g,...m},y)=>{let{unstable_useTransitions:w}=M.useContext(kr),x=Y2(),P=q2(l,{relative:d}),_=a.toLowerCase()==="get"?"get":"post",D=typeof l=="string"&&rm.test(l),C=N=>{if(u&&u(N),N.defaultPrevented)return;N.preventDefault();let R=N.nativeEvent.submitter,z=R?.getAttribute("formmethod")||a,W=()=>x(R||N.currentTarget,{fetcherKey:e,method:z,navigate:n,replace:o,state:i,relative:d,preventScrollReset:h,viewTransition:p,unstable_defaultShouldRevalidate:g});w&&n!==!1?M.startTransition(()=>W()):W()};return M.createElement("form",{ref:y,method:_,action:P,onSubmit:r?u:C,...m,"data-discover":!D&&t==="render"?"true":void 0})});Q2.displayName="Form";function H2(t){return`${t} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function im(t){let e=M.useContext(Zs);return Ht(e,H2(t)),e}function U2(t,{target:e,replace:n,unstable_mask:r,state:o,preventScrollReset:i,relative:a,viewTransition:l,unstable_defaultShouldRevalidate:u,unstable_useTransitions:d}={}){let h=Zk(),p=yi(),g=ul(t,{relative:a});return M.useCallback(m=>{if(x2(m,e)){m.preventDefault();let y=n!==void 0?n:al(p)===al(g),w=()=>h(t,{replace:y,unstable_mask:r,state:o,preventScrollReset:i,relative:a,viewTransition:l,unstable_defaultShouldRevalidate:u});d?M.startTransition(()=>w()):w()}},[p,h,g,n,r,o,e,t,i,a,l,u,d])}var V2=0,W2=()=>`__${String(++V2)}__`;function Y2(){let{router:t}=im("useSubmit"),{basename:e}=M.useContext(kr),n=u2(),r=t.fetch,o=t.navigate;return M.useCallback(async(i,a={})=>{let{action:l,method:u,encType:d,formData:h,body:p}=k2(i,e);if(a.navigate===!1){let g=a.fetcherKey||W2();await r(g,n,a.action||l,{unstable_defaultShouldRevalidate:a.unstable_defaultShouldRevalidate,preventScrollReset:a.preventScrollReset,formData:h,body:p,formMethod:a.method||u,formEncType:a.encType||d,flushSync:a.flushSync})}else await o(a.action||l,{unstable_defaultShouldRevalidate:a.unstable_defaultShouldRevalidate,preventScrollReset:a.preventScrollReset,formData:h,body:p,formMethod:a.method||u,formEncType:a.encType||d,replace:a.replace,state:a.state,fromRouteId:n,flushSync:a.flushSync,viewTransition:a.viewTransition})},[r,o,e,n])}function q2(t,{relative:e}={}){let{basename:n}=M.useContext(kr),r=M.useContext(co);Ht(r,"useFormAction must be used inside a RouteContext");let[o]=r.matches.slice(-1),i={...ul(t||".",{relative:e})},a=yi();if(t==null){i.search=a.search;let l=new URLSearchParams(i.search),u=l.getAll("index");if(u.some(h=>h==="")){l.delete("index"),u.filter(p=>p).forEach(p=>l.append("index",p));let h=l.toString();i.search=h?`?${h}`:""}}return(!t||t===".")&&o.route.index&&(i.search=i.search?i.search.replace(/^\?/,"?index&"):"?index"),n!=="/"&&(i.pathname=i.pathname==="/"?n:lo([n,i.pathname])),al(i)}function K2(t,{relative:e}={}){let n=M.useContext(Yg);Ht(n!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=im("useViewTransitionState"),o=ul(t,{relative:e});if(!n.isTransitioning)return!1;let i=Vo(n.currentLocation.pathname,r)||n.currentLocation.pathname,a=Vo(n.nextLocation.pathname,r)||n.nextLocation.pathname;return _c(o.pathname,a)!=null||_c(o.pathname,i)!=null}const G2=M.lazy(()=>Promise.resolve().then(()=>M5)),X2=M.lazy(()=>Promise.resolve().then(()=>z5));function J2({accessId:t,baseUri:e="/resources",isLoggedIn:n,qaBotApiKey:r,showTitle:o=!0,title:i="Resources"}){const[a,l]=M.useState(!1);return E.jsxs(M.Suspense,{fallback:null,children:[E.jsx(N2,{children:E.jsx(xg,{children:E.jsxs(A2,{children:[E.jsx(wf,{path:e,element:E.jsx(X2,{baseUri:e,title:i,setBotOpen:l,showTitle:o})}),E.jsx(wf,{path:`${e}/:infoGroupId`,element:E.jsx(G2,{baseUri:e})})]})})}),E.jsx(bg,{accessId:t,apiKey:r,embedded:!1,isLoggedIn:n,onOpenChange:l,open:a,welcome:"Welcome to the ACCESS Q&A Bot!"})]})}const Z2=({headings:t=[],idPrefix:e="",smoothScroll:n=!0})=>{const[r,o]=M.useState(-1);let i;const a=[];if(t.forEach(l=>{l.tagName=="H1"?i=l:l.tagName=="H2"&&(a.push(l),l.id||(l.id=e+l.textContent.replace(/[^A-Za-z0-9]+/g,"-").toLowerCase()))}),M.useEffect(()=>{a.length&&window.addEventListener("scroll",function(){const l=Dg()+window.innerHeight*.1;let u=-1;a.forEach((d,h)=>{if(d.offsetTop<l)return u=h,!1}),o(u)})},[]),!!a.length)return E.jsxs("div",{className:"toc",children:[i&&E.jsx("h2",{children:i.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})}))})]})},Wo=":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}}",$2='ul.breadcrumbs{--offset: calc((100vw - var(--width)) / 2);border-bottom:1px solid var(--contrast-7);box-sizing:border-box;font-size:14px;font-stretch:70%;font-weight:600;line-height:20px;list-style-type:none;margin:0;padding:0 30px;width:100vw}ul.breadcrumbs.top-border{border-top:1px solid var(--contrast-7)}ul.breadcrumbs.expand{margin-left:-30px;margin-right:-30px}ul.breadcrumbs li{display:inline-block;margin:0;padding:11px 0 6px;text-transform:uppercase;vertical-align:middle}ul.breadcrumbs li:not(.home):before{content:"/";margin:0 12px}ul.breadcrumbs li a{color:var(--teal-700);text-decoration:none}ul.breadcrumbs li:not(.home) a:active,ul.breadcrumbs li:not(.home) a:focus,ul.breadcrumbs li:not(.home) a:hover{text-decoration:underline}@media(min-width:600px){ul.breadcrumbs{padding-left:var(--offset);padding-right:var(--offset)}ul.breadcrumbs.expand{margin-left:calc(var(--offset) * -1);margin-right:calc(var(--offset) * -1)}}',eS=`:root{color:#232323;font-family:Archivo,sans-serif;font-size:16px}h1{font-size:36px;font-stretch:70%;font-weight:500;margin-top:60px}h2{font-size:22px;font-weight:800;margin-top:36px}h3{color:var(--teal-700);font-size:18px;font-weight:800}a{color:var(--contrast);font-weight:800;text-decoration:underline}a:active,a:focus,a:hover{color:var(--teal-600);text-decoration:none}ol,p,ul{font-size:1.125rem;line-height:1.875rem;margin:0 0 1.25rem}li{margin-bottom:.5rem}.btn{background-color:var(--teal-700);border:4px solid var(--teal-700);color:#fff;display:inline-block;font-family:Archivo,sans-serif;font-size:16px;font-weight:600;line-height:24px;padding:6px 12px;text-decoration:none;text-transform:uppercase}.secondary{background-color:var(--yellow-400);border-color:var(--yellow-400);color:var(--contrast)}.danger{background-color:var(--red-400);border-color:var(--red-400)}.lg{font-size:20px;line-height:30px;padding:8px 16px}.btn.active,.btn:active,.btn:focus,.btn:hover{background-color:#fff;border-color:var(--contrast);color:var(--contrast);cursor:pointer}.btn-clear,.btn-clear.active,.btn-clear:active,.btn-clear:focus,.btn-clear:hover{background-color:transparent;border-color:transparent;color:var(--contrast)}.btn:disabled{background-color:var(--contrast-8);border-color:var(--contrast-8);color:var(--contrast-3)}.btn .bi{vertical-align:middle}.btn+.btn{margin-left:10px}.table{border-top:1px solid var(--contrast);border-collapse:collapse;width:100%}.table td,.table th{border-bottom:1px solid var(--contrast);padding:16px}.table thead th{text-align:left}.table tbody th{text-align:right}input,select{border:1px solid var(--contrast-8);border-radius:0;color:var(--contrast);font-size:1rem;padding:6px 12px}select{appearance:none;background-color:#fff;background-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' viewBox='0 0 16 16'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708'/></svg>");background-position:right 12px center;background-repeat:no-repeat;padding:6px 36px 6px 12px}.intro{font-size:24px}`,tS=`:host{background-color:#fbfbfb}.container{color:var(--contrast)}a{color:var(--teal-600);font-weight:800;text-decoration:none}a:active,a:focus,a:hover{text-decoration:underline}.about{padding-top:25px}.awards{font-size:15px;line-height:21px;margin:0 0 20px}.disclaimer{font-size:12px;line-height:18px;margin:0 0 15px}.contact{font-size:16px;font-stretch:70%;text-transform:uppercase}.social{align-items:center;display:flex;flex-direction:row;justify-content:flex-start;list-style-type:none;margin:0;padding:20px 0 10px}.social li{margin:0 35px 0 0;padding:0}.social li:last-child{margin:-10px}.social a{background-size:contain;background-repeat:no-repeat;display:block;height:25px;text-indent:-999999px;width:25px}.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:12px;font-weight:600}.scroll-to-top{background-color:#00000080;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' stroke='white' stroke-width='1' viewBox='0 0 16 16'><path fill-rule='evenodd' d='M7.646 4.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1-.708.708L8 5.707l-5.646 5.647a.5.5 0 0 1-.708-.708z'/></svg>");background-position:center;background-repeat:no-repeat;background-size:13px;border:0 none transparent;bottom:30px;cursor:pointer;display:block;height:40px;opacity:0;position:fixed;right:30px;text-indent:-999999px;transition:opacity .25s ease-out;width:40px;z-index:100}.scroll-to-top.visible{opacity:1}.personas{box-sizing:border-box;font-size:15px;padding:20px 0}.personas p{margin:0}.personas ul{list-style-type:none;margin:5px 0;padding:0}.personas li{padding:3px 0}@media(min-width:1024px){.lower{align-items:start;display:flex;flex-direction:row;justify-content:space-between}.links{margin-top:0}}@media(min-width:900px){.upper{display:flex;flex-direction:row;justify-content:space-between}.upper>*{width:calc((var(--width) - 20px) / 2)}.about{padding:40px 0 30px}.awards{font-size:18px;line-height:24px}.personas{font-size:18px;padding:40px calc(((var(--width) - 140px) / 8) + 20px) 30px}}`,nS=".container{box-sizing:content-box;height:84px;padding-top:20px}@media(min-width:900px){.container{height:144px;padding-top:52px}}",sm=`.logo{align-items:start;display:flex;flex-direction:row}.nsf-logo{height:49px}.access-logo{height:23px;margin-top:12px}.access,.nsf{display:block;text-decoration:none}.divider{border-right:2px solid #bbbbbb;height:40px;margin:4px 15px 0 12px;width:0}.name{color:var(--teal-700);display:block;font-size:17.5px;font-stretch:80%;font-weight:200;line-height:1;margin:3px 0 0;text-align:right}.name:before{content:"";display:inline-block;height:0;margin:0 5px 0 0;width:0}.name-allocations:before{border-bottom:12px solid var(--orange-400);border-left:12px solid transparent}.name-coordination-office:before{background-color:var(--teal-400);border-radius:6px;height:12px;margin:0 6px 0 0;width:12px}.name-metrics:before{background-image:url("data:image/svg+xml;utf8,<svg viewBox='0 0 12 12' xmlns='http://www.w3.org/2000/svg' width='12'><circle cx='12' cy='0' r='12' fill='%23008496' /></svg>");background-size:cover;height:12px;margin:0 2px 0 0;width:12px}.name-operations:before{border-top:12px solid var(--yellow-400);border-right:12px solid transparent}.name-support:before{background-color:var(--teal-700);height:12px;margin:0 6px 0 0;width:12px}.logo-footer .nsf-logo{height:40px}.logo-footer .divider{height:34px;margin:3px 11px 0 9px}.logo-footer .access-logo{margin-top:10px;height:21px;width:auto}@media(min-width:900px){.nsf-logo{height:82px}.divider{height:70px;margin:6px 23px 0 20px}.access-logo{height:auto;margin-top:22px;width:253px}.name{font-size:30px}.name-allocations:before{border-bottom:20px solid var(--orange-400);border-left:20px solid transparent}.name-metrics:before{height:20px;margin:0 4px 0 0;width:20px}.name-operations:before{border-top:20px solid var(--yellow-400);border-right:20px solid transparent}.name-coordination-office:before{border-radius:9.5px;height:19px;width:19px}.name-support:before{height:19px;margin:0 7px 0 0;width:19px}}`,Pf=`.menu{--icon-caret-down-dark: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23232323' viewBox='0 0 16 16'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>");--icon-caret-down-light: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>");--icon-caret-down-teal: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23107180' viewBox='0 0 16 16'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>")}.universal{--background: var(--teal-700);--border: rgba(19, 133, 151, .35)}.site{--background: var(--teal-600);--border: #157688}.site ul ul{--border: rgba(19, 133, 151, .35)}.menu ul,.menu li{list-style-type:none;margin:0;padding:0}.menu a{text-decoration:none}.item{background:transparent;border:0 none transparent;border-radius:0;box-sizing:border-box;cursor:pointer;display:block;text-align:left;width:100%}.item{font-size:14px;font-weight:600;line-height:21px;padding:13.5px var(--padding) 13.5px}.menu>ul>li>.item{font-weight:800}.item,.menu li:last-child li:last-child>.item{border-bottom:1px solid var(--border)}.menu li.highlight button.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:14px;font-weight:600;margin:0 auto 20px;text-transform:uppercase;width:var(--width)}.columns{margin:0 auto;width:var(--width)}.column{padding-bottom:14px}.footer a,.footer a:visited{color:#fff;text-decoration:none}.footer a:active,.footer a:focus,.footer a:hover{color:var(--teal-100);text-decoration:underline}.footer h3{font-size:14px;font-weight:800;margin:0}.footer ul{margin:0;padding:0}.footer li{font-size:14px;font-weight:600;list-style-type:none;padding:14px 0 0}@media(min-width:768px){.columns{display:flex;flex-direction:row;flex-wrap:wrap;padding:10px 0}.column{padding-bottom:40px;padding-right:20px;width:calc((var(--width) - 60px) / 4)}.column:nth-child(4),.column:last-child{padding-right:0}}@media(min-width:1280px){.site{--background: white;--color: var(--teal-600);--outline: var(--teal-700);--padding: 20px;border-bottom:1px solid #d9d9d9;border-top:3px solid var(--teal-700)}.site>ul{justify-content:end}.menu>button.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:16px}.grow{flex:1 0 auto}.universal{background-color:var(--teal-700)}.universal>ul>li:first-child{margin-left:-10px}.universal>ul>li:last-child{margin-right:-10px}.universal li button.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}}`,rS='@import"https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css";.glide{position:relative;width:100%;box-sizing:border-box}.glide *{box-sizing:inherit}.glide__track{overflow:hidden}.glide__slides{position:relative;width:100%;list-style:none;backface-visibility:hidden;transform-style:preserve-3d;touch-action:pan-Y;overflow:hidden;margin:0;padding:0;white-space:nowrap;display:flex;flex-wrap:nowrap;will-change:transform}.glide__slides--dragging{-webkit-user-select:none;user-select:none}.glide__slide{width:100%;height:100%;flex-shrink:0;white-space:normal;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}.glide__slide a{-webkit-user-select:none;user-select:none;-webkit-user-drag:none;-moz-user-select:none;-ms-user-select:none}.glide__arrows,.glide__bullets{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.glide--rtl{direction:rtl}.glide__arrow{position:absolute;display:block;top:50%;z-index:2;color:#fff;text-transform:uppercase;padding:9px 12px;background-color:transparent;border:2px solid rgba(255,255,255,.5);border-radius:4px;box-shadow:0 .25em .5em #0000001a;text-shadow:0 .25em .5em rgba(0,0,0,.1);opacity:1;cursor:pointer;transition:opacity .15s ease,border .3s ease-in-out;transform:translateY(-50%);line-height:1}.glide__arrow:focus{outline:none}.glide__arrow:hover{border-color:#fff}.glide__arrow--left{left:2em}.glide__arrow--right{right:2em}.glide__arrow--disabled{opacity:.33}.glide__bullets{position:absolute;z-index:2;bottom:2em;left:50%;display:inline-flex;list-style:none;transform:translate(-50%)}.glide__bullet{background-color:#ffffff80;width:9px;height:9px;padding:0;border-radius:50%;border:2px solid transparent;transition:all .3s ease-in-out;cursor:pointer;line-height:0;box-shadow:0 .25em .5em #0000001a;margin:0 .25em}.glide__bullet:focus{outline:none}.glide__bullet:hover,.glide__bullet:focus{border:2px solid #fff;background-color:#ffffff80}.glide__bullet--active{background-color:#fff}.glide--swipeable{cursor:grab;cursor:-moz-grab;cursor:-webkit-grab}.glide--dragging{cursor:grabbing;cursor:-moz-grabbing;cursor:-webkit-grabbing}.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}.accordion{margin:0 0 16px}.accordion-heading{margin:0}.accordion-heading button{background-color:var(--teal-050);border:0 none transparent;color:var(--teal-700);cursor:pointer;display:block;font-size:16px;font-weight:800;padding:16px 40px 16px 20px;position:relative;text-align:left;width:100%}.accordion-heading button .icon{position:absolute;right:20px;top:16px}.accordion-content{padding:16px 20px 0}.alert{align-items:center;background-color:var(--yellow-200);border-radius:10px;display:flex;flex-direction:row;margin-bottom:20px;padding:20px}.alert i{margin-right:20px}ul.breadcrumbs{--offset: calc((100vw - var(--width)) / 2);border-bottom:1px solid var(--contrast-7);box-sizing:border-box;font-size:14px;font-stretch:70%;font-weight:600;line-height:20px;list-style-type:none;margin:0;padding:0 30px;width:100vw}ul.breadcrumbs.top-border{border-top:1px solid var(--contrast-7)}ul.breadcrumbs.expand{margin-left:-30px;margin-right:-30px}ul.breadcrumbs li{display:inline-block;margin:0;padding:11px 0 6px;text-transform:uppercase;vertical-align:middle}ul.breadcrumbs li:not(.home):before{content:"/";margin:0 12px}ul.breadcrumbs li a{color:var(--teal-700);text-decoration:none}ul.breadcrumbs li:not(.home) a:active,ul.breadcrumbs li:not(.home) a:focus,ul.breadcrumbs li:not(.home) a:hover{text-decoration:underline}@media(min-width:600px){ul.breadcrumbs{padding-left:var(--offset);padding-right:var(--offset)}ul.breadcrumbs.expand{margin-left:calc(var(--offset) * -1);margin-right:calc(var(--offset) * -1)}}.carousel{margin-bottom:1rem;width:var(--width)}.slide-inner{background-color:var(--contrast-9);display:flex;flex-direction:column}.slide-image img{display:block;width:100%}.slide-text{box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;padding:20px}.slide-text h2{font-size:16px;line-height:1.1;margin:0 0 .25rem}.slide-text a{font-size:14px;line-height:1.1}.slide-text p{font-size:14px;line-height:1.2;margin-bottom:.5rem}.glide__arrow{align-items:center;background-color:var(--contrast-3);border:0 none transparent;border-radius:15px;display:flex;justify-content:center;height:30px;padding:8px;width:30px}.glide__arrow:active,.glide__arrow:hover{background-color:var(--teal-700)}.glide__arrow svg{fill:#fff}.glide__arrow--left{margin-left:-66px}.glide__arrow--right{margin-right:-66px}@media(min-width:768px){.slide-inner{flex-direction:row}.slide-image img{width:calc((var(--width) - 20px) / 2)}}@media(min-width:1024px){.slide-image img{width:calc((var(--width) - 40px) / 3)}}@media(min-width:1280px){.slide-text h2{font-size:18px}.slide-text a{font-size:16px}.slide-text p{font-size:16px;line-height:1.2;margin-bottom:.5rem}}.highlight{background-color:var(--yellow-200);padding:2px 0}.header-components{margin-bottom:2rem}.button-group .btn{display:block;margin:0 0 10px}.card{border:5px solid var(--contrast);padding:20px}@media(min-width:768px){.flex-header{align-items:center;display:flex;justify-content:space-between}.header-components{margin-bottom:0}.button-group{display:flex}.button-group .btn{display:flex;margin:0 10px 0 0}}@media(min-width:1024px){.cards{display:flex;flex-direction:row;flex-wrap:wrap;gap:20px}.card{flex:1 0 20%;margin:0}}.donut-chart svg path{cursor:pointer}.donut-chart .center-text{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;line-height:1.2}.donut-chart .center-text *{cursor:default;display:block;margin-bottom:.25rem;text-align:center}.donut-chart .center-text .percent{color:var(--contrast-2);font-size:.7rem}.donut-chart .top-items{list-style-type:none;margin:0;padding:0}.donut-chart .top-items li{align-items:center;display:flex;flex-direction:row;font-size:1rem;line-height:1.2;margin-bottom:5px}.donut-chart .symbol{border-radius:8px;display:inline-block;height:16px;margin-right:5px;vertical-align:text-top;width:16px}.expand-text{margin-bottom:1rem;position:relative}.expand-text.contracted{max-height:5.3rem;overflow:hidden}.expand-text button{background-color:#fff;border:0 none transparent;color:var(--teal-700);cursor:pointer;font-size:1rem;font-weight:700}.expand-text.contracted button{background:linear-gradient(to right,#fff0,#fff 50% 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:16px;margin:0 0 1rem}.filters-inner ul.tags{margin-bottom:1rem}.btn-filters{position:relative}.btn-filters .active-tag-count{background-color:var(--orange-400);border-radius:10px;color:#fff;display:block;font-size:12px;height:20px;line-height:20px;top:-10px;position:absolute;text-align:center;right:-10px;width:20px}.btn-filters.active{z-index:100}.btn-filters.active:after{background-color:#fff;bottom:-4px;content:"";display:block;height:4px;left:0;position:absolute;width:100%}.event:not(:last-child){margin-bottom:1.5rem}.event-icon,.event-icon:active,.event-icon:focus,.event-icon:hover{align-items:center;background-color:var(--teal-700);color:#fff;display:none;flex:0 0 auto;flex-direction:column;font-weight:800;justify-content:center;height:calc((var(--width) - 140px) / 8);text-decoration:none;width:calc((var(--width) - 140px) / 8)}.event-icon span{display:block}.event-icon span:nth-child(2){font-size:2rem}.event-metadata{margin-bottom:1rem}.event-metadata i:not(:first-child){margin-left:1rem}@media(min-width:768px){.event{display:flex;flex-direction:row}.event-icon,.event-icon:active,.event-icon:focus,.event-icon:hover{display:flex;margin-right:20px}.event h3{margin-top:0}}@media(min-width:900px){.event-icon span:nth-child(2){font-size:3rem}}.carousel-projects .glide__slide{font-size:16px}.carousel-projects h3{margin:0 0 .25rem}.carousel-projects .project-metadata{margin-bottom:.5rem}.carousel-projects .project-meta{display:inline-block;font-weight:700;line-height:1.1;margin-right:1rem;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.carousel-projects .project-meta .bi{vertical-align:middle}.metrics-overview strong{background-color:var(--yellow-200);font-size:1.2rem;padding:2px;white-space:nowrap}.metrics-overview .bi{vertical-align:middle}.metrics-overview .btn{font-size:1rem}.metrics-disclaimer{font-size:.9rem;line-height:1.2;margin:.5rem 0}.metrics-disclaimer .bi{vertical-align:middle}.resource-group{align-items:flex-start;clear:both;display:flex;flex-direction:column;margin-bottom:20px}.resource-group-image{--image-width: 100%;align-items:center;background-color:var(--contrast-9);border:1px solid var(--contrast);color:var(--contrast-8);display:flex;flex:0 0 auto;flex-direction:column;font-size:5rem;justify-content:center;margin:20px 0;min-height:calc(var(--image-width) / 3 * 2);position:relative;width:var(--image-width)}.resource-group-image:active,.resource-group-image:focus,.resource-group-image:hover{color:var(--contrast-8)}.resource-group-image>img{display:block;width:100%}.image-type-logo{display:flex;flex-direction:column;justify-content:center;min-height:120px}.image-type-logo>*{margin:10px;width:calc(100% - 20px)}.resource-group-text *:first-child{margin-top:0}.resource-group-detail{margin-bottom:70px;width:var(--width)}.resource-group-feature-image{margin-top:60px;width:100%}.resource-group-description:after{clear:both;content:"";display:block}@media(min-width:768px){.resource-group{flex-direction:row;margin-bottom:40px}.resource-group-image{--image-width: calc((var(--width) - 140px) / 4 + 20px);margin:0 20px 0 0}}@media(min-width:900px){.resource-group-feature-image{float:right;margin:0 0 0 20px;width:calc(((var(--width) - 140px) / 8) * 3 + 40px)}}#resource-navigation{display:flex;flex-direction:column;gap:10px}@media(min-width:1024px){#resource-navigation{flex-direction:row;gap:20px}}#resource-news{background-color:var(--teal-100);padding:20px}#resource-news h2{font-size:1.2rem;font-weight:200;margin:0 0 .5rem}#resource-news ul{list-style-type:none;margin:0;padding:0}#resource-news li{font-size:1rem;line-height:1.3;margin:0 0 .5rem;padding:0}@media(min-width:1024px){#resource-news{box-sizing:border-box;width:calc((var(--width) - 60px) / 4)}}ul.resource-pathways{display:flex;flex-direction:column;gap:10px;list-style-type:none;margin:0;padding:0;width:100%}ul.resource-pathways li{margin:0;width:100%}ul.resource-pathways li a{align-items:flex-start;border:5px solid transparent;box-sizing:border-box;display:flex;height:100%;flex-direction:row;justify-content:flex-start;line-height:1.3;padding:20px;text-decoration:none}ul.resource-pathways a>.bi{font-size:2rem;margin-bottom:1rem}ul.resource-pathways li a>.detail{display:flex;flex-direction:column;margin-left:20px}ul.resource-pathways .title{font-size:1.2rem}ul.resource-pathways .description{font-size:1rem;font-weight:400}ul.resource-pathways .login{font-size:.9rem;font-style:italic;font-weight:400;margin-top:.25rem}ul.resource-pathways .login .bi{vertical-align:middle}.resource-pathway-0{background-color:var(--yellow-400)}.resource-pathway-1{background-color:var(--teal-600)}.resource-pathway-1 a{color:#fff}.resource-pathway-2{background-color:var(--orange-400)}.resource-pathway-3{background-color:var(--teal-200)}ul.resource-pathways li a:active,ul.resource-pathways li a:focus,ul.resource-pathways li a:hover{background-color:#fff;border:5px solid var(--contrast);color:var(--contrast)}@media(min-width:1024px){ul.resource-pathways{flex-direction:row;gap:20px}ul.resource-pathways li{box-sizing:border-box;width:calc((var(--width) - 60px) / 4)}ul.resource-pathways li a{flex-direction:column}ul.resource-pathways li a>.detail{margin-left:0}}.scroll-text{position:relative}.scroll-text:after{background-color:red;background:linear-gradient(to bottom,#fff0,#fff 50% 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:16px;font-weight:500;line-height:18px;max-width:100%;overflow:hidden;padding:3px 7px;text-align:left;text-decoration:none;text-overflow:ellipsis;text-wrap:nowrap}.tag button:hover{background-color:var(--teal-200);color:var(--contrast)}.tag button:disabled{background-color:var(--contrast-9);border-color:var(--contrast-6);color:var(--contrast-3)}.tag.active button{border-color:var(--orange-400);background-color:var(--orange-200)}',oS=".toc{background-color:var(--teal-600);color:#fff;padding:20px;position:sticky;top:50px}h2{font-size:16px;font-weight:800;margin:0 0 16px}ul{margin:0;padding:0 0 0 20px}li{line-height:1.125;list-style-type:none;margin:0;padding:9px 0}a{color:#fff;font-size:16px;font-weight:600;text-decoration:underline;text-decoration-color:transparent}a :active,a:focus,a:hover{color:var(--teal-100);text-decoration-color:var(--teal-100)}@media(min-width:768px){a.active{color:var(--teal-100)}}@media(min-width:900px){.toc{padding:32px}}",iS='.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)}}',sS=".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-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-bot-message a:hover{opacity:.85;text-decoration:underline!important}",aS=".rcb-chat-header-container span{font-size:16px!important;font-weight:600!important}";var lS=vg();const cS=ss(lS),am=iS+sS+aS,uS=({children:t})=>{const e=M.useRef(null),[n,r]=M.useState(null);return M.useEffect(()=>{if(e.current&&!n&&!e.current.shadowRoot){const o=e.current.attachShadow({mode:"open"}),i=document.createElement("div");o.appendChild(i),r(i)}},[n]),E.jsx("div",{ref:e,children:n?cS.createPortal(t,n):null})},Yo=(t,e)=>n=>E.jsxs(uS,{children:[E.jsx(t,{...n}),e.map(r=>E.jsx("style",{children:r},r))]}),dS=Yo(cf,[Wo,$2]),fS=Yo(fk,[Wo,tS,sm]),hS=Yo(pk,[Wo,Pf]),pS=Yo(hk,[Wo,sm,nS]),AS=Yo(bg,[Wo,am]),gS=Yo(J2,[Wo,eS,rS,am]),mS=Yo(gk,[Wo,Pf]),vS=Yo(Z2,[Wo,oS]),yS=Yo(Ak,[Wo,Pf]),qo=t=>(e={})=>J1.createRoot(e.target).render(E.jsx(M.StrictMode,{children:E.jsx(t,{...e})})),xS=qo(dS),bS=qo(fS),wS=qo(hS),kS=qo(pS),SS=qo(AS),ES=qo(gS),CS=qo(mS),PS=qo(vS),DS=qo(yS);var xi={},as={};var lm;function BS(){if(lm)return as;lm=1;var t=ol();function e(b){for(var T="https://reactjs.org/docs/error-decoder.html?invariant="+b,F=1;F<arguments.length;F++)T+="&args[]="+encodeURIComponent(arguments[F]);return"Minified React error #"+b+"; visit "+T+" 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]*$/,o={},i={};function a(b){return n.call(i,b)?!0:n.call(o,b)?!1:r.test(b)?i[b]=!0:(o[b]=!0,!1)}function l(b,T,F,H,ie,ee,ge){this.acceptsBooleans=T===2||T===3||T===4,this.attributeName=H,this.attributeNamespace=ie,this.mustUseProperty=F,this.propertyName=b,this.type=T,this.sanitizeURL=ee,this.removeEmptyString=ge}var u={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(b){u[b]=new l(b,0,!1,b,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(b){var T=b[0];u[T]=new l(T,1,!1,b[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(b){u[b]=new l(b,2,!1,b.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(b){u[b]=new l(b,2,!1,b,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(b){u[b]=new l(b,3,!1,b.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(b){u[b]=new l(b,3,!0,b,null,!1,!1)}),["capture","download"].forEach(function(b){u[b]=new l(b,4,!1,b,null,!1,!1)}),["cols","rows","size","span"].forEach(function(b){u[b]=new l(b,6,!1,b,null,!1,!1)}),["rowSpan","start"].forEach(function(b){u[b]=new l(b,5,!1,b.toLowerCase(),null,!1,!1)});var d=/[\-:]([a-z])/g;function h(b){return b[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(b){var T=b.replace(d,h);u[T]=new l(T,1,!1,b,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(b){var T=b.replace(d,h);u[T]=new l(T,1,!1,b,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(b){var T=b.replace(d,h);u[T]=new l(T,1,!1,b,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(b){u[b]=new l(b,1,!1,b.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(b){u[b]=new l(b,1,!1,b.toLowerCase(),null,!0,!0)});var p={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},g=["Webkit","ms","Moz","O"];Object.keys(p).forEach(function(b){g.forEach(function(T){T=T+b.charAt(0).toUpperCase()+b.substring(1),p[T]=p[b]})});var m=/["'&<>]/;function y(b){if(typeof b=="boolean"||typeof b=="number")return""+b;b=""+b;var T=m.exec(b);if(T){var F="",H,ie=0;for(H=T.index;H<b.length;H++){switch(b.charCodeAt(H)){case 34:T=""";break;case 38:T="&";break;case 39:T="'";break;case 60:T="<";break;case 62:T=">";break;default:continue}ie!==H&&(F+=b.substring(ie,H)),ie=H+1,F+=T}b=ie!==H?F+b.substring(ie,H):F}return b}var w=/([A-Z])/g,x=/^ms-/,P=Array.isArray;function _(b,T){return{insertionMode:b,selectedValue:T}}function D(b,T,F){switch(T){case"select":return _(1,F.value!=null?F.value:F.defaultValue);case"svg":return _(2,null);case"math":return _(3,null);case"foreignObject":return _(1,null);case"table":return _(4,null);case"thead":case"tbody":case"tfoot":return _(5,null);case"colgroup":return _(7,null);case"tr":return _(6,null)}return 4<=b.insertionMode||b.insertionMode===0?_(1,null):b}var C=new Map;function N(b,T,F){if(typeof F!="object")throw Error(e(62));T=!0;for(var H in F)if(n.call(F,H)){var ie=F[H];if(ie!=null&&typeof ie!="boolean"&&ie!==""){if(H.indexOf("--")===0){var ee=y(H);ie=y((""+ie).trim())}else{ee=H;var ge=C.get(ee);ge!==void 0||(ge=y(ee.replace(w,"-$1").toLowerCase().replace(x,"-ms-")),C.set(ee,ge)),ee=ge,ie=typeof ie=="number"?ie===0||n.call(p,H)?""+ie:ie+"px":y((""+ie).trim())}T?(T=!1,b.push(' style="',ee,":",ie)):b.push(";",ee,":",ie)}}T||b.push('"')}function R(b,T,F,H){switch(F){case"style":N(b,T,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(T=u.hasOwnProperty(F)?u[F]:null,T!==null){switch(typeof H){case"function":case"symbol":return;case"boolean":if(!T.acceptsBooleans)return}switch(F=T.attributeName,T.type){case 3:H&&b.push(" ",F,'=""');break;case 4:H===!0?b.push(" ",F,'=""'):H!==!1&&b.push(" ",F,'="',y(H),'"');break;case 5:isNaN(H)||b.push(" ",F,'="',y(H),'"');break;case 6:!isNaN(H)&&1<=H&&b.push(" ",F,'="',y(H),'"');break;default:T.sanitizeURL&&(H=""+H),b.push(" ",F,'="',y(H),'"')}}else if(a(F)){switch(typeof H){case"function":case"symbol":return;case"boolean":if(T=F.toLowerCase().slice(0,5),T!=="data-"&&T!=="aria-")return}b.push(" ",F,'="',y(H),'"')}}}function z(b,T,F){if(T!=null){if(F!=null)throw Error(e(60));if(typeof T!="object"||!("__html"in T))throw Error(e(61));T=T.__html,T!=null&&b.push(""+T)}}function W(b){var T="";return t.Children.forEach(b,function(F){F!=null&&(T+=F)}),T}function K(b,T,F,H){b.push(V(F));var ie=F=null,ee;for(ee in T)if(n.call(T,ee)){var ge=T[ee];if(ge!=null)switch(ee){case"children":F=ge;break;case"dangerouslySetInnerHTML":ie=ge;break;default:R(b,H,ee,ge)}}return b.push(">"),z(b,ie,F),typeof F=="string"?(b.push(y(F)),null):F}var q=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,J=new Map;function V(b){var T=J.get(b);if(T===void 0){if(!q.test(b))throw Error(e(65,b));T="<"+b,J.set(b,T)}return T}function Z(b,T,F,H,ie){switch(T){case"select":b.push(V("select"));var ee=null,ge=null;for(nt in F)if(n.call(F,nt)){var Pe=F[nt];if(Pe!=null)switch(nt){case"children":ee=Pe;break;case"dangerouslySetInnerHTML":ge=Pe;break;case"defaultValue":case"value":break;default:R(b,H,nt,Pe)}}return b.push(">"),z(b,ge,ee),ee;case"option":ge=ie.selectedValue,b.push(V("option"));var Te=Pe=null,Ye=null,nt=null;for(ee in F)if(n.call(F,ee)){var Ct=F[ee];if(Ct!=null)switch(ee){case"children":Pe=Ct;break;case"selected":Ye=Ct;break;case"dangerouslySetInnerHTML":nt=Ct;break;case"value":Te=Ct;default:R(b,H,ee,Ct)}}if(ge!=null)if(F=Te!==null?""+Te:W(Pe),P(ge)){for(H=0;H<ge.length;H++)if(""+ge[H]===F){b.push(' selected=""');break}}else""+ge===F&&b.push(' selected=""');else Ye&&b.push(' selected=""');return b.push(">"),z(b,nt,Pe),Pe;case"textarea":b.push(V("textarea")),nt=ge=ee=null;for(Pe in F)if(n.call(F,Pe)&&(Te=F[Pe],Te!=null))switch(Pe){case"children":nt=Te;break;case"value":ee=Te;break;case"defaultValue":ge=Te;break;case"dangerouslySetInnerHTML":throw Error(e(91));default:R(b,H,Pe,Te)}if(ee===null&&ge!==null&&(ee=ge),b.push(">"),nt!=null){if(ee!=null)throw Error(e(92));if(P(nt)&&1<nt.length)throw Error(e(93));ee=""+nt}return typeof ee=="string"&&ee[0]===`
|
|
10
|
+
Please change the parent <Route path="${x}"> to <Route path="${x==="/"?"*":`${x}/*`}">.`)}let h=yi(),p;if(e){let x=typeof e=="string"?Js(e):e;Ht(u==="/"||x.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 "${x.pathname}" was given in the \`location\` prop.`),p=x}else p=h;let g=p.pathname||"/",m=g;if(u!=="/"){let x=u.replace(/^\//,"").split("/");m="/"+g.replace(/^\//,"").split("/").slice(x.length).join("/")}let y=Fg(t,{pathname:m});ao(d||y!=null,`No routes matched location "${p.pathname}${p.search}${p.hash}" `),ao(y==null||y[y.length-1].route.element!==void 0||y[y.length-1].route.Component!==void 0||y[y.length-1].route.lazy!==void 0,`Matched leaf route at location "${p.pathname}${p.search}${p.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=s2(y&&y.map(x=>Object.assign({},x,{params:Object.assign({},a,x.params),pathname:lo([u,r.encodeLocation?r.encodeLocation(x.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:x.pathname]),pathnameBase:x.pathnameBase==="/"?u:lo([u,r.encodeLocation?r.encodeLocation(x.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:x.pathnameBase])})),o,n);return e&&w?M.createElement(ll.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",unstable_mask:void 0,...p},navigationType:"POP"}},w):w}function n2(){let t=d2(),e=Qk(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)",o={padding:"0.5rem",backgroundColor:r},i={padding:"2px 4px",backgroundColor:r},a=null;return console.error("Error handled by React Router default ErrorBoundary:",t),a=M.createElement(M.Fragment,null,M.createElement("p",null,"💿 Hey developer 👋"),M.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",M.createElement("code",{style:i},"ErrorBoundary")," or"," ",M.createElement("code",{style:i},"errorElement")," prop on your route.")),M.createElement(M.Fragment,null,M.createElement("h2",null,"Unexpected Application Error!"),M.createElement("h3",{style:{fontStyle:"italic"}},e),n?M.createElement("pre",{style:o},n):null,a)}var r2=M.createElement(n2,null),Jg=class extends M.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=Xk(t.digest);n&&(t=n)}let e=t!==void 0?M.createElement(co.Provider,{value:this.props.routeContext},M.createElement(vf.Provider,{value:t,children:this.props.component})):this.props.children;return this.context?M.createElement(o2,{error:t},e):e}};Jg.contextType=Vk;var yf=new WeakMap;function o2({children:t,error:e}){let{basename:n}=M.useContext(kr);if(typeof e=="object"&&e&&"digest"in e&&typeof e.digest=="string"){let r=Gk(e.digest);if(r){let o=yf.get(e);if(o)throw o;let i=Vg(r.location,n);if(Ug&&!yf.get(e))if(i.isExternal||r.reloadDocument)window.location.href=i.absoluteURL||i.to;else{const a=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(i.to,{replace:r.replace}));throw yf.set(e,a),a}return M.createElement("meta",{httpEquiv:"refresh",content:`0;url=${i.absoluteURL||i.to}`})}}return t}function i2({routeContext:t,match:e,children:n}){let r=M.useContext(Zs);return r&&r.static&&r.staticContext&&(e.route.errorElement||e.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=e.route.id),M.createElement(co.Provider,{value:t},n)}function s2(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 o=t,i=r?.errors;if(i!=null){let h=o.findIndex(p=>p.route.id&&i?.[p.route.id]!==void 0);Ht(h>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(i).join(",")}`),o=o.slice(0,Math.min(o.length,h+1))}let a=!1,l=-1;if(n&&r){a=r.renderFallback;for(let h=0;h<o.length;h++){let p=o[h];if((p.route.HydrateFallback||p.route.hydrateFallbackElement)&&(l=h),p.route.id){let{loaderData:g,errors:m}=r,y=p.route.loader&&!g.hasOwnProperty(p.route.id)&&(!m||m[p.route.id]===void 0);if(p.route.lazy||y){n.isStatic&&(a=!0),l>=0?o=o.slice(0,l+1):o=[o[0]];break}}}}let u=n?.onError,d=r&&u?(h,p)=>{u(h,{location:r.location,params:r.matches?.[0]?.params??{},unstable_pattern:Hk(r.matches),errorInfo:p})}:void 0;return o.reduceRight((h,p,g)=>{let m,y=!1,w=null,x=null;r&&(m=i&&p.route.id?i[p.route.id]:void 0,w=p.route.errorElement||r2,a&&(l<0&&g===0?($g("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),y=!0,x=null):l===g&&(y=!0,x=p.route.hydrateFallbackElement||null)));let P=e.concat(o.slice(0,g+1)),_=()=>{let D;return m?D=w:y?D=x:p.route.Component?D=M.createElement(p.route.Component,null):p.route.element?D=p.route.element:D=h,M.createElement(i2,{match:p,routeContext:{outlet:h,matches:P,isDataRoute:r!=null},children:D})};return r&&(p.route.ErrorBoundary||p.route.errorElement||g===0)?M.createElement(Jg,{location:r.location,revalidation:r.revalidation,component:w,error:m,children:_(),routeContext:{outlet:null,matches:P,isDataRoute:!0},onError:d}):_()},null)}function xf(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=M.useContext(Zs);return Ht(e,xf(t)),e}function l2(t){let e=M.useContext(Mc);return Ht(e,xf(t)),e}function c2(t){let e=M.useContext(co);return Ht(e,xf(t)),e}function bf(t){let e=c2(t),n=e.matches[e.matches.length-1];return Ht(n.route.id,`${t} can only be used on routes that contain a unique "id"`),n.route.id}function u2(){return bf("useRouteId")}function d2(){let t=M.useContext(vf),e=l2("useRouteError"),n=bf("useRouteError");return t!==void 0?t:e.errors?.[n]}function f2(){let{router:t}=a2("useNavigate"),e=bf("useNavigate"),n=M.useRef(!1);return Gg(()=>{n.current=!0}),M.useCallback(async(o,i={})=>{ao(n.current,Kg),n.current&&(typeof o=="number"?await t.navigate(o):await t.navigate(o,{fromRouteId:e,...i}))},[t,e])}var Zg={};function $g(t,e,n){!e&&!Zg[t]&&(Zg[t]=!0,ao(!1,n))}M.memo(h2);function h2({routes:t,future:e,state:n,isStatic:r,onError:o}){return Xg(t,void 0,{state:n,isStatic:r,onError:o})}function wf(t){Ht(!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 p2({basename:t="/",children:e=null,location:n,navigationType:r="POP",navigator:o,static:i=!1,unstable_useTransitions:a}){Ht(!cl(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let l=t.replace(/^\/*/,"/"),u=M.useMemo(()=>({basename:l,navigator:o,static:i,unstable_useTransitions:a,future:{}}),[l,o,i,a]);typeof n=="string"&&(n=Js(n));let{pathname:d="/",search:h="",hash:p="",state:g=null,key:m="default",unstable_mask:y}=n,w=M.useMemo(()=>{let x=Vo(d,l);return x==null?null:{location:{pathname:x,search:h,hash:p,state:g,key:m,unstable_mask:y},navigationType:r}},[l,d,h,p,g,m,r,y]);return ao(w!=null,`<Router basename="${l}"> is not able to match the URL "${d}${h}${p}" because it does not start with the basename, so the <Router> won't render anything.`),w==null?null:M.createElement(kr.Provider,{value:u},M.createElement(ll.Provider,{children:e,value:w}))}function A2({children:t,location:e}){return t2(kf(t),e)}function kf(t,e=[]){let n=[];return M.Children.forEach(t,(r,o)=>{if(!M.isValidElement(r))return;let i=[...e,o];if(r.type===M.Fragment){n.push.apply(n,kf(r.props.children,i));return}Ht(r.type===wf,`[${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>`),Ht(!r.props.index||!r.props.children,"An index route cannot have child routes.");let a={id:r.props.id||i.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=kf(r.props.children,i)),n.push(a)}),n}var Oc="get",Rc="application/x-www-form-urlencoded";function Lc(t){return typeof HTMLElement<"u"&&t instanceof HTMLElement}function g2(t){return Lc(t)&&t.tagName.toLowerCase()==="button"}function m2(t){return Lc(t)&&t.tagName.toLowerCase()==="form"}function v2(t){return Lc(t)&&t.tagName.toLowerCase()==="input"}function y2(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}function x2(t,e){return t.button===0&&(!e||e==="_self")&&!y2(t)}var Fc=null;function b2(){if(Fc===null)try{new FormData(document.createElement("form"),0),Fc=!1}catch{Fc=!0}return Fc}var w2=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Sf(t){return t!=null&&!w2.has(t)?(ao(!1,`"${t}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Rc}"`),null):t}function k2(t,e){let n,r,o,i,a;if(m2(t)){let l=t.getAttribute("action");r=l?Vo(l,e):null,n=t.getAttribute("method")||Oc,o=Sf(t.getAttribute("enctype"))||Rc,i=new FormData(t)}else if(g2(t)||v2(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?Vo(u,e):null,n=t.getAttribute("formmethod")||l.getAttribute("method")||Oc,o=Sf(t.getAttribute("formenctype"))||Sf(l.getAttribute("enctype"))||Rc,i=new FormData(l,t),!b2()){let{name:d,type:h,value:p}=t;if(h==="image"){let g=d?`${d}.`:"";i.append(`${g}x`,"0"),i.append(`${g}y`,"0")}else d&&i.append(d,p)}}else{if(Lc(t))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=Oc,r=null,o=Rc,a=t}return i&&o==="text/plain"&&(a=i,i=void 0),{action:r,method:n.toLowerCase(),encType:o,formData:i,body:a}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function Ef(t,e){if(t===!1||t===null||typeof t>"u")throw new Error(e)}function S2(t,e,n,r){let o=typeof t=="string"?new URL(t,typeof window>"u"?"server://singlefetch/":window.location.origin):t;return n?o.pathname.endsWith("/")?o.pathname=`${o.pathname}_.${r}`:o.pathname=`${o.pathname}.${r}`:o.pathname==="/"?o.pathname=`_root.${r}`:e&&Vo(o.pathname,e)==="/"?o.pathname=`${e.replace(/\/$/,"")}/_root.${r}`:o.pathname=`${o.pathname.replace(/\/$/,"")}.${r}`,o}async function E2(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 C2(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 P2(t,e,n){let r=await Promise.all(t.map(async o=>{let i=e.routes[o.route.id];if(i){let a=await E2(i,n);return a.links?a.links():[]}return[]}));return I2(r.flat(1).filter(C2).filter(o=>o.rel==="stylesheet"||o.rel==="preload").map(o=>o.rel==="stylesheet"?{...o,rel:"prefetch",as:"style"}:{...o,rel:"prefetch"}))}function em(t,e,n,r,o,i){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 i==="assets"?e.filter((u,d)=>a(u,d)||l(u,d)):i==="data"?e.filter((u,d)=>{let h=r.routes[u.route.id];if(!h||!h.hasLoader)return!1;if(a(u,d)||l(u,d))return!0;if(u.route.shouldRevalidate){let p=u.route.shouldRevalidate({currentUrl:new URL(o.pathname+o.search+o.hash,window.origin),currentParams:n[0]?.params||{},nextUrl:new URL(t,window.origin),nextParams:u.params,defaultShouldRevalidate:!0});if(typeof p=="boolean")return p}return!0}):[]}function D2(t,e,{includeHydrateFallback:n}={}){return B2(t.map(r=>{let o=e.routes[r.route.id];if(!o)return[];let i=[o.module];return o.clientActionModule&&(i=i.concat(o.clientActionModule)),o.clientLoaderModule&&(i=i.concat(o.clientLoaderModule)),n&&o.hydrateFallbackModule&&(i=i.concat(o.hydrateFallbackModule)),o.imports&&(i=i.concat(o.imports)),i}).flat(1))}function B2(t){return[...new Set(t)]}function T2(t){let e={},n=Object.keys(t).sort();for(let r of n)e[r]=t[r];return e}function I2(t,e){let n=new Set;return new Set(e),t.reduce((r,o)=>{let i=JSON.stringify(T2(o));return n.has(i)||(n.add(i),r.push({key:i,link:o})),r},[])}function tm(){let t=M.useContext(Zs);return Ef(t,"You must render this element inside a <DataRouterContext.Provider> element"),t}function _2(){let t=M.useContext(Mc);return Ef(t,"You must render this element inside a <DataRouterStateContext.Provider> element"),t}var Cf=M.createContext(void 0);Cf.displayName="FrameworkContext";function nm(){let t=M.useContext(Cf);return Ef(t,"You must render this element inside a <HydratedRouter> element"),t}function M2(t,e){let n=M.useContext(Cf),[r,o]=M.useState(!1),[i,a]=M.useState(!1),{onFocus:l,onBlur:u,onMouseEnter:d,onMouseLeave:h,onTouchStart:p}=e,g=M.useRef(null);M.useEffect(()=>{if(t==="render"&&a(!0),t==="viewport"){let w=P=>{P.forEach(_=>{a(_.isIntersecting)})},x=new IntersectionObserver(w,{threshold:.5});return g.current&&x.observe(g.current),()=>{x.disconnect()}}},[t]),M.useEffect(()=>{if(r){let w=setTimeout(()=>{a(!0)},100);return()=>{clearTimeout(w)}}},[r]);let m=()=>{o(!0)},y=()=>{o(!1),a(!1)};return n?t!=="intent"?[i,g,{}]:[i,g,{onFocus:dl(l,m),onBlur:dl(u,y),onMouseEnter:dl(d,m),onMouseLeave:dl(h,y),onTouchStart:dl(p,m)}]:[!1,g,{}]}function dl(t,e){return n=>{t&&t(n),n.defaultPrevented||e(n)}}function O2({page:t,...e}){let{router:n}=tm(),r=M.useMemo(()=>Fg(n.routes,t,n.basename),[n.routes,t,n.basename]);return r?M.createElement(L2,{page:t,matches:r,...e}):null}function R2(t){let{manifest:e,routeModules:n}=nm(),[r,o]=M.useState([]);return M.useEffect(()=>{let i=!1;return P2(t,e,n).then(a=>{i||o(a)}),()=>{i=!0}},[t,e,n]),r}function L2({page:t,matches:e,...n}){let r=yi(),{future:o,manifest:i,routeModules:a}=nm(),{basename:l}=tm(),{loaderData:u,matches:d}=_2(),h=M.useMemo(()=>em(t,e,d,i,r,"data"),[t,e,d,i,r]),p=M.useMemo(()=>em(t,e,d,i,r,"assets"),[t,e,d,i,r]),g=M.useMemo(()=>{if(t===r.pathname+r.search+r.hash)return[];let w=new Set,x=!1;if(e.forEach(_=>{let D=i.routes[_.route.id];!D||!D.hasLoader||(!h.some(C=>C.route.id===_.route.id)&&_.route.id in u&&a[_.route.id]?.shouldRevalidate||D.hasClientLoader?x=!0:w.add(_.route.id))}),w.size===0)return[];let P=S2(t,l,o.unstable_trailingSlashAwareDataRequests,"data");return x&&w.size>0&&P.searchParams.set("_routes",e.filter(_=>w.has(_.route.id)).map(_=>_.route.id).join(",")),[P.pathname+P.search]},[l,o.unstable_trailingSlashAwareDataRequests,u,r,i,h,e,t,a]),m=M.useMemo(()=>D2(p,i),[p,i]),y=R2(p);return M.createElement(M.Fragment,null,g.map(w=>M.createElement("link",{key:w,rel:"prefetch",as:"fetch",href:w,...n})),m.map(w=>M.createElement("link",{key:w,rel:"modulepreload",href:w,...n})),y.map(({key:w,link:x})=>M.createElement("link",{key:w,nonce:n.nonce,...x,crossOrigin:x.crossOrigin??n.crossOrigin})))}function F2(...t){return e=>{t.forEach(n=>{typeof n=="function"?n(e):n!=null&&(n.current=e)})}}var j2=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{j2&&(window.__reactRouterVersion="7.13.1")}catch{}function N2({basename:t,children:e,unstable_useTransitions:n,window:r}){let o=M.useRef();o.current==null&&(o.current=mk({window:r,v5Compat:!0}));let i=o.current,[a,l]=M.useState({action:i.action,location:i.location}),u=M.useCallback(d=>{n===!1?l(d):M.startTransition(()=>l(d))},[n]);return M.useLayoutEffect(()=>i.listen(u),[i,u]),M.createElement(p2,{basename:t,children:e,location:a.location,navigationType:a.action,navigator:i,unstable_useTransitions:n})}var rm=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,om=M.forwardRef(function({onClick:e,discover:n="render",prefetch:r="none",relative:o,reloadDocument:i,replace:a,unstable_mask:l,state:u,target:d,to:h,preventScrollReset:p,viewTransition:g,unstable_defaultShouldRevalidate:m,...y},w){let{basename:x,navigator:P,unstable_useTransitions:_}=M.useContext(kr),D=typeof h=="string"&&rm.test(h),C=Vg(h,x);h=C.to;let N=Jk(h,{relative:o}),R=yi(),z=null;if(l){let ne=mf(l,[],R.unstable_mask?R.unstable_mask.pathname:"/",!0);x!=="/"&&(ne.pathname=ne.pathname==="/"?x:lo([x,ne.pathname])),z=P.createHref(ne)}let[W,K,q]=M2(r,y),J=U2(h,{replace:a,unstable_mask:l,state:u,target:d,preventScrollReset:p,relative:o,viewTransition:g,unstable_defaultShouldRevalidate:m,unstable_useTransitions:_});function V(ne){e&&e(ne),ne.defaultPrevented||J(ne)}let Z=!(C.isExternal||i),ce=M.createElement("a",{...y,...q,href:(Z?z:void 0)||C.absoluteURL||N,onClick:Z?V:e,ref:F2(w,K),target:d,"data-discover":!D&&n==="render"?"true":void 0});return W&&!D?M.createElement(M.Fragment,null,ce,M.createElement(O2,{page:N})):ce});om.displayName="Link";var z2=M.forwardRef(function({"aria-current":e="page",caseSensitive:n=!1,className:r="",end:o=!1,style:i,to:a,viewTransition:l,children:u,...d},h){let p=ul(a,{relative:d.relative}),g=yi(),m=M.useContext(Mc),{navigator:y,basename:w}=M.useContext(kr),x=m!=null&&K2(p)&&l===!0,P=y.encodeLocation?y.encodeLocation(p).pathname:p.pathname,_=g.pathname,D=m&&m.navigation&&m.navigation.location?m.navigation.location.pathname:null;n||(_=_.toLowerCase(),D=D?D.toLowerCase():null,P=P.toLowerCase()),D&&w&&(D=Vo(D,w)||D);const C=P!=="/"&&P.endsWith("/")?P.length-1:P.length;let N=_===P||!o&&_.startsWith(P)&&_.charAt(C)==="/",R=D!=null&&(D===P||!o&&D.startsWith(P)&&D.charAt(P.length)==="/"),z={isActive:N,isPending:R,isTransitioning:x},W=N?e:void 0,K;typeof r=="function"?K=r(z):K=[r,N?"active":null,R?"pending":null,x?"transitioning":null].filter(Boolean).join(" ");let q=typeof i=="function"?i(z):i;return M.createElement(om,{...d,"aria-current":W,className:K,ref:h,style:q,to:a,viewTransition:l},typeof u=="function"?u(z):u)});z2.displayName="NavLink";var Q2=M.forwardRef(({discover:t="render",fetcherKey:e,navigate:n,reloadDocument:r,replace:o,state:i,method:a=Oc,action:l,onSubmit:u,relative:d,preventScrollReset:h,viewTransition:p,unstable_defaultShouldRevalidate:g,...m},y)=>{let{unstable_useTransitions:w}=M.useContext(kr),x=Y2(),P=q2(l,{relative:d}),_=a.toLowerCase()==="get"?"get":"post",D=typeof l=="string"&&rm.test(l),C=N=>{if(u&&u(N),N.defaultPrevented)return;N.preventDefault();let R=N.nativeEvent.submitter,z=R?.getAttribute("formmethod")||a,W=()=>x(R||N.currentTarget,{fetcherKey:e,method:z,navigate:n,replace:o,state:i,relative:d,preventScrollReset:h,viewTransition:p,unstable_defaultShouldRevalidate:g});w&&n!==!1?M.startTransition(()=>W()):W()};return M.createElement("form",{ref:y,method:_,action:P,onSubmit:r?u:C,...m,"data-discover":!D&&t==="render"?"true":void 0})});Q2.displayName="Form";function H2(t){return`${t} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function im(t){let e=M.useContext(Zs);return Ht(e,H2(t)),e}function U2(t,{target:e,replace:n,unstable_mask:r,state:o,preventScrollReset:i,relative:a,viewTransition:l,unstable_defaultShouldRevalidate:u,unstable_useTransitions:d}={}){let h=Zk(),p=yi(),g=ul(t,{relative:a});return M.useCallback(m=>{if(x2(m,e)){m.preventDefault();let y=n!==void 0?n:al(p)===al(g),w=()=>h(t,{replace:y,unstable_mask:r,state:o,preventScrollReset:i,relative:a,viewTransition:l,unstable_defaultShouldRevalidate:u});d?M.startTransition(()=>w()):w()}},[p,h,g,n,r,o,e,t,i,a,l,u,d])}var V2=0,W2=()=>`__${String(++V2)}__`;function Y2(){let{router:t}=im("useSubmit"),{basename:e}=M.useContext(kr),n=u2(),r=t.fetch,o=t.navigate;return M.useCallback(async(i,a={})=>{let{action:l,method:u,encType:d,formData:h,body:p}=k2(i,e);if(a.navigate===!1){let g=a.fetcherKey||W2();await r(g,n,a.action||l,{unstable_defaultShouldRevalidate:a.unstable_defaultShouldRevalidate,preventScrollReset:a.preventScrollReset,formData:h,body:p,formMethod:a.method||u,formEncType:a.encType||d,flushSync:a.flushSync})}else await o(a.action||l,{unstable_defaultShouldRevalidate:a.unstable_defaultShouldRevalidate,preventScrollReset:a.preventScrollReset,formData:h,body:p,formMethod:a.method||u,formEncType:a.encType||d,replace:a.replace,state:a.state,fromRouteId:n,flushSync:a.flushSync,viewTransition:a.viewTransition})},[r,o,e,n])}function q2(t,{relative:e}={}){let{basename:n}=M.useContext(kr),r=M.useContext(co);Ht(r,"useFormAction must be used inside a RouteContext");let[o]=r.matches.slice(-1),i={...ul(t||".",{relative:e})},a=yi();if(t==null){i.search=a.search;let l=new URLSearchParams(i.search),u=l.getAll("index");if(u.some(h=>h==="")){l.delete("index"),u.filter(p=>p).forEach(p=>l.append("index",p));let h=l.toString();i.search=h?`?${h}`:""}}return(!t||t===".")&&o.route.index&&(i.search=i.search?i.search.replace(/^\?/,"?index&"):"?index"),n!=="/"&&(i.pathname=i.pathname==="/"?n:lo([n,i.pathname])),al(i)}function K2(t,{relative:e}={}){let n=M.useContext(Yg);Ht(n!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=im("useViewTransitionState"),o=ul(t,{relative:e});if(!n.isTransitioning)return!1;let i=Vo(n.currentLocation.pathname,r)||n.currentLocation.pathname,a=Vo(n.nextLocation.pathname,r)||n.nextLocation.pathname;return _c(o.pathname,a)!=null||_c(o.pathname,i)!=null}const G2=M.lazy(()=>Promise.resolve().then(()=>MM)),X2=M.lazy(()=>Promise.resolve().then(()=>zM));function J2({accessId:t,baseUri:e="/resources",isLoggedIn:n,qaBotApiKey:r,showTitle:o=!0,title:i="Resources"}){const[a,l]=M.useState(!1);return E.jsxs(M.Suspense,{fallback:null,children:[E.jsx(N2,{children:E.jsx(xg,{children:E.jsxs(A2,{children:[E.jsx(wf,{path:e,element:E.jsx(X2,{baseUri:e,title:i,setBotOpen:l,showTitle:o})}),E.jsx(wf,{path:`${e}/:infoGroupId`,element:E.jsx(G2,{baseUri:e})})]})})}),E.jsx(bg,{accessId:t,apiKey:r,embedded:!1,isLoggedIn:n,onOpenChange:l,open:a,welcome:"Welcome to the ACCESS Q&A Bot!"})]})}const Z2=({headings:t=[],idPrefix:e="",smoothScroll:n=!0})=>{const[r,o]=M.useState(-1);let i;const a=[];if(t.forEach(l=>{l.tagName=="H1"?i=l:l.tagName=="H2"&&(a.push(l),l.id||(l.id=e+l.textContent.replace(/[^A-Za-z0-9]+/g,"-").toLowerCase()))}),M.useEffect(()=>{a.length&&window.addEventListener("scroll",function(){const l=Dg()+window.innerHeight*.1;let u=-1;a.forEach((d,h)=>{if(d.offsetTop<l)return u=h,!1}),o(u)})},[]),!!a.length)return E.jsxs("div",{className:"toc",children:[i&&E.jsx("h2",{children:i.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})}))})]})},Wo=":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}}",$2='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)}}',eS=`: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}`,tS=`: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}}`,nS=".container{box-sizing:content-box;height:84px;padding-top:20px}@media(min-width:900px){.container{height:144px;padding-top:52px}}",sm=`.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}}`,Pf=`.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}}`,rS='@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)}',oS=".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}}",iS='.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)}}',sS=".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-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-bot-message a:hover{opacity:.85;text-decoration:underline!important}",aS=".rcb-chat-header-container span{font-size:1rem!important;font-weight:600!important}";var lS=vg();const cS=ss(lS),am=iS+sS+aS,uS=({children:t})=>{const e=M.useRef(null),[n,r]=M.useState(null);return M.useEffect(()=>{if(e.current&&!n&&!e.current.shadowRoot){const o=e.current.attachShadow({mode:"open"}),i=document.createElement("div");o.appendChild(i),r(i)}},[n]),E.jsx("div",{ref:e,children:n?cS.createPortal(t,n):null})},Yo=(t,e)=>n=>E.jsxs(uS,{children:[E.jsx(t,{...n}),e.map(r=>E.jsx("style",{children:r},r))]}),dS=Yo(cf,[Wo,$2]),fS=Yo(fk,[Wo,tS,sm]),hS=Yo(pk,[Wo,Pf]),pS=Yo(hk,[Wo,sm,nS]),AS=Yo(bg,[Wo,am]),gS=Yo(J2,[Wo,eS,rS,am]),mS=Yo(gk,[Wo,Pf]),vS=Yo(Z2,[Wo,oS]),yS=Yo(Ak,[Wo,Pf]),qo=t=>(e={})=>J1.createRoot(e.target).render(E.jsx(M.StrictMode,{children:E.jsx(t,{...e})})),xS=qo(dS),bS=qo(fS),wS=qo(hS),kS=qo(pS),SS=qo(AS),ES=qo(gS),CS=qo(mS),PS=qo(vS),DS=qo(yS);var xi={},as={};var lm;function BS(){if(lm)return as;lm=1;var t=ol();function e(b){for(var T="https://reactjs.org/docs/error-decoder.html?invariant="+b,F=1;F<arguments.length;F++)T+="&args[]="+encodeURIComponent(arguments[F]);return"Minified React error #"+b+"; visit "+T+" 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]*$/,o={},i={};function a(b){return n.call(i,b)?!0:n.call(o,b)?!1:r.test(b)?i[b]=!0:(o[b]=!0,!1)}function l(b,T,F,H,ie,ee,ge){this.acceptsBooleans=T===2||T===3||T===4,this.attributeName=H,this.attributeNamespace=ie,this.mustUseProperty=F,this.propertyName=b,this.type=T,this.sanitizeURL=ee,this.removeEmptyString=ge}var u={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(b){u[b]=new l(b,0,!1,b,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(b){var T=b[0];u[T]=new l(T,1,!1,b[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(b){u[b]=new l(b,2,!1,b.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(b){u[b]=new l(b,2,!1,b,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(b){u[b]=new l(b,3,!1,b.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(b){u[b]=new l(b,3,!0,b,null,!1,!1)}),["capture","download"].forEach(function(b){u[b]=new l(b,4,!1,b,null,!1,!1)}),["cols","rows","size","span"].forEach(function(b){u[b]=new l(b,6,!1,b,null,!1,!1)}),["rowSpan","start"].forEach(function(b){u[b]=new l(b,5,!1,b.toLowerCase(),null,!1,!1)});var d=/[\-:]([a-z])/g;function h(b){return b[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(b){var T=b.replace(d,h);u[T]=new l(T,1,!1,b,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(b){var T=b.replace(d,h);u[T]=new l(T,1,!1,b,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(b){var T=b.replace(d,h);u[T]=new l(T,1,!1,b,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(b){u[b]=new l(b,1,!1,b.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(b){u[b]=new l(b,1,!1,b.toLowerCase(),null,!0,!0)});var p={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},g=["Webkit","ms","Moz","O"];Object.keys(p).forEach(function(b){g.forEach(function(T){T=T+b.charAt(0).toUpperCase()+b.substring(1),p[T]=p[b]})});var m=/["'&<>]/;function y(b){if(typeof b=="boolean"||typeof b=="number")return""+b;b=""+b;var T=m.exec(b);if(T){var F="",H,ie=0;for(H=T.index;H<b.length;H++){switch(b.charCodeAt(H)){case 34:T=""";break;case 38:T="&";break;case 39:T="'";break;case 60:T="<";break;case 62:T=">";break;default:continue}ie!==H&&(F+=b.substring(ie,H)),ie=H+1,F+=T}b=ie!==H?F+b.substring(ie,H):F}return b}var w=/([A-Z])/g,x=/^ms-/,P=Array.isArray;function _(b,T){return{insertionMode:b,selectedValue:T}}function D(b,T,F){switch(T){case"select":return _(1,F.value!=null?F.value:F.defaultValue);case"svg":return _(2,null);case"math":return _(3,null);case"foreignObject":return _(1,null);case"table":return _(4,null);case"thead":case"tbody":case"tfoot":return _(5,null);case"colgroup":return _(7,null);case"tr":return _(6,null)}return 4<=b.insertionMode||b.insertionMode===0?_(1,null):b}var C=new Map;function N(b,T,F){if(typeof F!="object")throw Error(e(62));T=!0;for(var H in F)if(n.call(F,H)){var ie=F[H];if(ie!=null&&typeof ie!="boolean"&&ie!==""){if(H.indexOf("--")===0){var ee=y(H);ie=y((""+ie).trim())}else{ee=H;var ge=C.get(ee);ge!==void 0||(ge=y(ee.replace(w,"-$1").toLowerCase().replace(x,"-ms-")),C.set(ee,ge)),ee=ge,ie=typeof ie=="number"?ie===0||n.call(p,H)?""+ie:ie+"px":y((""+ie).trim())}T?(T=!1,b.push(' style="',ee,":",ie)):b.push(";",ee,":",ie)}}T||b.push('"')}function R(b,T,F,H){switch(F){case"style":N(b,T,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(T=u.hasOwnProperty(F)?u[F]:null,T!==null){switch(typeof H){case"function":case"symbol":return;case"boolean":if(!T.acceptsBooleans)return}switch(F=T.attributeName,T.type){case 3:H&&b.push(" ",F,'=""');break;case 4:H===!0?b.push(" ",F,'=""'):H!==!1&&b.push(" ",F,'="',y(H),'"');break;case 5:isNaN(H)||b.push(" ",F,'="',y(H),'"');break;case 6:!isNaN(H)&&1<=H&&b.push(" ",F,'="',y(H),'"');break;default:T.sanitizeURL&&(H=""+H),b.push(" ",F,'="',y(H),'"')}}else if(a(F)){switch(typeof H){case"function":case"symbol":return;case"boolean":if(T=F.toLowerCase().slice(0,5),T!=="data-"&&T!=="aria-")return}b.push(" ",F,'="',y(H),'"')}}}function z(b,T,F){if(T!=null){if(F!=null)throw Error(e(60));if(typeof T!="object"||!("__html"in T))throw Error(e(61));T=T.__html,T!=null&&b.push(""+T)}}function W(b){var T="";return t.Children.forEach(b,function(F){F!=null&&(T+=F)}),T}function K(b,T,F,H){b.push(V(F));var ie=F=null,ee;for(ee in T)if(n.call(T,ee)){var ge=T[ee];if(ge!=null)switch(ee){case"children":F=ge;break;case"dangerouslySetInnerHTML":ie=ge;break;default:R(b,H,ee,ge)}}return b.push(">"),z(b,ie,F),typeof F=="string"?(b.push(y(F)),null):F}var q=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,J=new Map;function V(b){var T=J.get(b);if(T===void 0){if(!q.test(b))throw Error(e(65,b));T="<"+b,J.set(b,T)}return T}function Z(b,T,F,H,ie){switch(T){case"select":b.push(V("select"));var ee=null,ge=null;for(nt in F)if(n.call(F,nt)){var Pe=F[nt];if(Pe!=null)switch(nt){case"children":ee=Pe;break;case"dangerouslySetInnerHTML":ge=Pe;break;case"defaultValue":case"value":break;default:R(b,H,nt,Pe)}}return b.push(">"),z(b,ge,ee),ee;case"option":ge=ie.selectedValue,b.push(V("option"));var Te=Pe=null,Ye=null,nt=null;for(ee in F)if(n.call(F,ee)){var Ct=F[ee];if(Ct!=null)switch(ee){case"children":Pe=Ct;break;case"selected":Ye=Ct;break;case"dangerouslySetInnerHTML":nt=Ct;break;case"value":Te=Ct;default:R(b,H,ee,Ct)}}if(ge!=null)if(F=Te!==null?""+Te:W(Pe),P(ge)){for(H=0;H<ge.length;H++)if(""+ge[H]===F){b.push(' selected=""');break}}else""+ge===F&&b.push(' selected=""');else Ye&&b.push(' selected=""');return b.push(">"),z(b,nt,Pe),Pe;case"textarea":b.push(V("textarea")),nt=ge=ee=null;for(Pe in F)if(n.call(F,Pe)&&(Te=F[Pe],Te!=null))switch(Pe){case"children":nt=Te;break;case"value":ee=Te;break;case"defaultValue":ge=Te;break;case"dangerouslySetInnerHTML":throw Error(e(91));default:R(b,H,Pe,Te)}if(ee===null&&ge!==null&&(ee=ge),b.push(">"),nt!=null){if(ee!=null)throw Error(e(92));if(P(nt)&&1<nt.length)throw Error(e(93));ee=""+nt}return typeof ee=="string"&&ee[0]===`
|
|
11
11
|
`&&b.push(`
|
|
12
12
|
`),ee!==null&&b.push(y(""+ee)),null;case"input":b.push(V("input")),Te=nt=Pe=ee=null;for(ge in F)if(n.call(F,ge)&&(Ye=F[ge],Ye!=null))switch(ge){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,"input"));case"defaultChecked":Te=Ye;break;case"defaultValue":Pe=Ye;break;case"checked":nt=Ye;break;case"value":ee=Ye;break;default:R(b,H,ge,Ye)}return nt!==null?R(b,H,"checked",nt):Te!==null&&R(b,H,"checked",Te),ee!==null?R(b,H,"value",ee):Pe!==null&&R(b,H,"value",Pe),b.push("/>"),null;case"menuitem":b.push(V("menuitem"));for(var Xn in F)if(n.call(F,Xn)&&(ee=F[Xn],ee!=null))switch(Xn){case"children":case"dangerouslySetInnerHTML":throw Error(e(400));default:R(b,H,Xn,ee)}return b.push(">"),null;case"title":b.push(V("title")),ee=null;for(Ct in F)if(n.call(F,Ct)&&(ge=F[Ct],ge!=null))switch(Ct){case"children":ee=ge;break;case"dangerouslySetInnerHTML":throw Error(e(434));default:R(b,H,Ct,ge)}return b.push(">"),ee;case"listing":case"pre":b.push(V(T)),ge=ee=null;for(Te in F)if(n.call(F,Te)&&(Pe=F[Te],Pe!=null))switch(Te){case"children":ee=Pe;break;case"dangerouslySetInnerHTML":ge=Pe;break;default:R(b,H,Te,Pe)}if(b.push(">"),ge!=null){if(ee!=null)throw Error(e(60));if(typeof ge!="object"||!("__html"in ge))throw Error(e(61));F=ge.__html,F!=null&&(typeof F=="string"&&0<F.length&&F[0]===`
|
|
13
13
|
`?b.push(`
|
|
@@ -273,6 +273,6 @@ Would you like to submit this security incident report?`},options:["Submit Secur
|
|
|
273
273
|
opacity: 0.85;
|
|
274
274
|
text-decoration: underline !important;
|
|
275
275
|
}
|
|
276
|
-
`;function hD(t){if(!t)return;const e=t.getRootNode();if(!(e instanceof ShadowRoot)||e.getElementById(Bv))return;const n=document.createElement("style");n.id=Bv,n.textContent=fD,e.appendChild(n)}const Th=M.forwardRef((t,e)=>{const{apiKey:n=Ci.DEFAULT_API_KEY,isLoggedIn:r=!1,loginUrl:o=Go.LOGIN_URL,userEmail:i,userName:a,accessId:l,actingUser:u,ringEffect:d,defaultOpen:h,onClose:p,open:g,onOpenChange:m,embedded:y=!1,welcome:w,qaEndpoint:x,ratingEndpoint:P,onAnalyticsEvent:_}=t,D=M.useRef(null),C=M.useRef(null),[N,R]=M.useState({}),z=M.useMemo(()=>({email:i,name:a,accessId:l}),[i,a,l]);M.useEffect(()=>{hD(C.current)},[]),M.useEffect(()=>{KP({ticketForm:N,setTicketForm:R})},[N]),M.useImperativeHandle(e,()=>({addMessage:Z=>{var ce,ne;(ne=(ce=D.current)==null?void 0:ce.addMessage)==null||ne.call(ce,Z)}}));const W=w||(r?Go.WELCOME_MESSAGE:Go.WELCOME_MESSAGE_LOGGED_OUT),K=M.useMemo(()=>dD(),[]),q=M.useCallback(Z=>{_&&_({...Z,type:Z.type,timestamp:Z.timestamp??Date.now(),sessionId:Z.sessionId??K})},[_,K]),J=M.useCallback(Z=>{_&&_({...Z,type:Z.type,timestamp:typeof Z.timestamp=="number"?Z.timestamp:Date.now(),sessionId:typeof Z.sessionId=="string"?Z.sessionId:K})},[_,K]),V=M.useMemo(()=>{const Z=qP({welcome:W,setTicketForm:R,isLoggedIn:r,trackEvent:q}),ce=rD({ticketForm:{},setTicketForm:R,userInfo:z,trackEvent:q}),ne=iD({ticketForm:{},setTicketForm:R,userInfo:z,trackEvent:q}),fe=uD({sessionId:K,apiKey:n,trackEvent:q}),oe={...Z,...ce,...ne,...fe};return WP(oe,{disableOnOptions:!0})},[W,z,K,n,r,q]);return E.jsx("div",{ref:C,children:E.jsx(Sh,{ref:D,isLoggedIn:r,actingUser:u,onAnalyticsEvent:J,apiKey:n,qaEndpoint:x||Ci.QA_ENDPOINT,ratingEndpoint:P||Ci.RATING_ENDPOINT,botName:Go.BOT_NAME,logo:Go.LOGO,primaryColor:Go.PRIMARY_COLOR,secondaryColor:Go.SECONDARY_COLOR,welcomeMessage:W,tooltipText:Go.TOOLTIP,loginUrl:o,open:g,onOpenChange:m,embedded:y,footerText:"AI-powered · Privacy Notice",footerLink:"https://support.access-ci.org/tools/access-qa-tool/privacy",customFlow:V})})});Th.displayName="AccessQABot";const pD=Object.freeze(Object.defineProperty({__proto__:null,API_CONFIG:Ci,AccessQABot:Th,BOT_CONFIG:Go,QABot:Th},Symbol.toStringTag,{value:"Module"}));function ft({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 Tv=()=>{const t=new Event("accessci-update-sections");document.dispatchEvent(t)};function vo({children:t,headerComponents:e=null,icon:n=null,sectionId:r=null,title:o}){const i=r||o.toLowerCase().replace(/[^0-9a-z]+/g,"-");return M.useLayoutEffect(()=>(Tv(),Tv),[]),E.jsxs("section",{id:i,"data-section-title":o,"data-section-icon":n,children:[E.jsxs("div",{className:"flex-header",children:[E.jsxs("h2",{children:[n?E.jsx(ft,{name:n}):null,o]}),e?E.jsx("div",{className:"header-components",children:e}):null]}),t]})}function AD({infoGroupId:t}){const e=Fn(`https://support.access-ci.org/api/1.0/affinity_groups/${t}`);if(!e||e.error||!e.length)return;const n=hf(e[0].slack_link);return E.jsxs(vo,{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(ft,{name:"person-plus-fill"})," Join Affinity Group"]}),n?E.jsxs("a",{href:n,className:"btn",children:[E.jsx(ft,{name:"slack"})," Connect on Slack"]}):null,E.jsxs("a",{href:"#questions-and-answers",className:"btn",children:[E.jsx(ft,{name:"chat-fill"})," Ask and Answer Questions"]})]})]})}function gD({infoGroupId:t}){const e=sl(t),n=Fn(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:o,description:i,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(h=>E.jsx("p",{children:E.jsxs("a",{href:h.organization_url||"#",children:[h.organization_favicon_url?E.jsx(ft,{alt:h.organization_name,src:h.organization_favicon_url}):null,h.organization_name]})},h.organization_name)),i?E.jsx("p",{children:i}):null,E.jsxs("div",{style:{marginTop:"1rem"},children:[u?E.jsxs("a",{href:u,className:"btn secondary lg",children:[E.jsx(ft,{name:"check2-circle"})," Get Started with ",o]}):null,d?E.jsxs("a",{href:d,className:"btn lg",children:[E.jsx(ft,{name:"book"})," User Guide"]}):null]})]})}function mD({column:t,row:e,style:n={}}){const r=t.format?t.format(e[t.key],e):e[t.key],o=["cell"];return t.class&&o.push(t.class),t.rowClass&&o.push(t.rowClass(e)),E.jsx("td",{className:o.join(" "),style:n,children:r})}const vD={text:mD};function uu({columns:t,rows:e,classes:n,frozenColumns:r=0,maxHeight:o=400,minWidth:i,rowClasses:a=[],scrollResetOnUpdate:l=!1}){const u=M.useRef();M.useLayoutEffect(()=>{u.current&&l&&(u.current.scrollTop=0)},[e]);const d=[0];for(let y=0;y<r;y++)d[y+1]=d[y]+(t[y].width||100);const h=(y,w)=>y<r?{position:"sticky",left:`${d[y]}px`,minWidth:`${t[y].width||100}px`,width:`${t[y].width||100}px`,zIndex:w||1}:{},p=t.map((y,w)=>E.jsx("th",{className:y.headerClass||y.class||"",style:h(w,100),children:y.formatHeader?y.formatHeader(y.name,y):y.name},y.key)),g=e.map((y,w)=>{const x=t.map((P,_)=>{const D=vD[P.type||"text"];return E.jsx(D,{column:P,row:y,style:h(_)},P.key)});return E.jsx("tr",{className:a[w]||"",children:x},w)}),m={};return i&&(m.minWidth=i),E.jsx("div",{className:`grid ${n||""}`,style:{maxHeight:Number.isInteger(o)?`${o}px`:o||null},ref:u,children:E.jsxs("table",{className:"table",style:m,children:[E.jsx("thead",{children:E.jsx("tr",{children:p})}),E.jsx("tbody",{children:g})]})})}function yD({infoGroupId:t}){const e=Fn(`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,o=Fn(r);if(!o||o.error||!o.topic_list||!o.topic_list.topics||!o.topic_list.topics.length)return;const i=[{key:"title",name:"Topic",format:(l,u)=>E.jsxs(E.Fragment,{children:[u.pinned?E.jsx(ft,{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(vo,{title:"Questions and Answers",icon:"chat-fill",headerComponents:a,children:E.jsx(uu,{columns:i,rows:o.topic_list.topics.slice(0,5)})})}var Yn="top",Pr="bottom",Dr="right",qn="left",Ih="auto",El=[Yn,Pr,Dr,qn],la="start",Cl="end",xD="clippingParents",Iv="viewport",Pl="popper",bD="reference",_v=El.reduce(function(t,e){return t.concat([e+"-"+la,e+"-"+Cl])},[]),Mv=[].concat(El,[Ih]).reduce(function(t,e){return t.concat([e,e+"-"+la,e+"-"+Cl])},[]),wD="beforeRead",kD="read",SD="afterRead",ED="beforeMain",CD="main",PD="afterMain",DD="beforeWrite",BD="write",TD="afterWrite",ID=[wD,kD,SD,ED,CD,PD,DD,BD,TD];function yo(t){return t?(t.nodeName||"").toLowerCase():null}function fr(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function ps(t){var e=fr(t).Element;return t instanceof e||t instanceof Element}function Br(t){var e=fr(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function _h(t){if(typeof ShadowRoot>"u")return!1;var e=fr(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function _D(t){var e=t.state;Object.keys(e.elements).forEach(function(n){var r=e.styles[n]||{},o=e.attributes[n]||{},i=e.elements[n];!Br(i)||!yo(i)||(Object.assign(i.style,r),Object.keys(o).forEach(function(a){var l=o[a];l===!1?i.removeAttribute(a):i.setAttribute(a,l===!0?"":l)}))})}function MD(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 o=e.elements[r],i=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},{});!Br(o)||!yo(o)||(Object.assign(o.style,l),Object.keys(i).forEach(function(u){o.removeAttribute(u)}))})}}const Ov={name:"applyStyles",enabled:!0,phase:"write",fn:_D,effect:MD,requires:["computeStyles"]};function xo(t){return t.split("-")[0]}var As=Math.max,du=Math.min,ca=Math.round;function Mh(){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 Rv(){return!/^((?!chrome|android).)*safari/i.test(Mh())}function ua(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!1);var r=t.getBoundingClientRect(),o=1,i=1;e&&Br(t)&&(o=t.offsetWidth>0&&ca(r.width)/t.offsetWidth||1,i=t.offsetHeight>0&&ca(r.height)/t.offsetHeight||1);var a=ps(t)?fr(t):window,l=a.visualViewport,u=!Rv()&&n,d=(r.left+(u&&l?l.offsetLeft:0))/o,h=(r.top+(u&&l?l.offsetTop:0))/i,p=r.width/o,g=r.height/i;return{width:p,height:g,top:h,right:d+p,bottom:h+g,left:d,x:d,y:h}}function Oh(t){var e=ua(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 Lv(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&_h(n)){var r=e;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Xo(t){return fr(t).getComputedStyle(t)}function OD(t){return["table","td","th"].indexOf(yo(t))>=0}function Pi(t){return((ps(t)?t.ownerDocument:t.document)||window.document).documentElement}function fu(t){return yo(t)==="html"?t:t.assignedSlot||t.parentNode||(_h(t)?t.host:null)||Pi(t)}function Fv(t){return!Br(t)||Xo(t).position==="fixed"?null:t.offsetParent}function RD(t){var e=/firefox/i.test(Mh()),n=/Trident/i.test(Mh());if(n&&Br(t)){var r=Xo(t);if(r.position==="fixed")return null}var o=fu(t);for(_h(o)&&(o=o.host);Br(o)&&["html","body"].indexOf(yo(o))<0;){var i=Xo(o);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||e&&i.willChange==="filter"||e&&i.filter&&i.filter!=="none")return o;o=o.parentNode}return null}function Dl(t){for(var e=fr(t),n=Fv(t);n&&OD(n)&&Xo(n).position==="static";)n=Fv(n);return n&&(yo(n)==="html"||yo(n)==="body"&&Xo(n).position==="static")?e:n||RD(t)||e}function Rh(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Bl(t,e,n){return As(t,du(e,n))}function LD(t,e,n){var r=Bl(t,e,n);return r>n?n:r}function jv(){return{top:0,right:0,bottom:0,left:0}}function Nv(t){return Object.assign({},jv(),t)}function zv(t,e){return e.reduce(function(n,r){return n[r]=t,n},{})}var FD=function(e,n){return e=typeof e=="function"?e(Object.assign({},n.rects,{placement:n.placement})):e,Nv(typeof e!="number"?e:zv(e,El))};function jD(t){var e,n=t.state,r=t.name,o=t.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,l=xo(n.placement),u=Rh(l),d=[qn,Dr].indexOf(l)>=0,h=d?"height":"width";if(!(!i||!a)){var p=FD(o.padding,n),g=Oh(i),m=u==="y"?Yn:qn,y=u==="y"?Pr:Dr,w=n.rects.reference[h]+n.rects.reference[u]-a[u]-n.rects.popper[h],x=a[u]-n.rects.reference[u],P=Dl(i),_=P?u==="y"?P.clientHeight||0:P.clientWidth||0:0,D=w/2-x/2,C=p[m],N=_-g[h]-p[y],R=_/2-g[h]/2+D,z=Bl(C,R,N),W=u;n.modifiersData[r]=(e={},e[W]=z,e.centerOffset=z-R,e)}}function ND(t){var e=t.state,n=t.options,r=n.element,o=r===void 0?"[data-popper-arrow]":r;o!=null&&(typeof o=="string"&&(o=e.elements.popper.querySelector(o),!o)||Lv(e.elements.popper,o)&&(e.elements.arrow=o))}const zD={name:"arrow",enabled:!0,phase:"main",fn:jD,effect:ND,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function da(t){return t.split("-")[1]}var QD={top:"auto",right:"auto",bottom:"auto",left:"auto"};function HD(t,e){var n=t.x,r=t.y,o=e.devicePixelRatio||1;return{x:ca(n*o)/o||0,y:ca(r*o)/o||0}}function Qv(t){var e,n=t.popper,r=t.popperRect,o=t.placement,i=t.variation,a=t.offsets,l=t.position,u=t.gpuAcceleration,d=t.adaptive,h=t.roundOffsets,p=t.isFixed,g=a.x,m=g===void 0?0:g,y=a.y,w=y===void 0?0:y,x=typeof h=="function"?h({x:m,y:w}):{x:m,y:w};m=x.x,w=x.y;var P=a.hasOwnProperty("x"),_=a.hasOwnProperty("y"),D=qn,C=Yn,N=window;if(d){var R=Dl(n),z="clientHeight",W="clientWidth";if(R===fr(n)&&(R=Pi(n),Xo(R).position!=="static"&&l==="absolute"&&(z="scrollHeight",W="scrollWidth")),R=R,o===Yn||(o===qn||o===Dr)&&i===Cl){C=Pr;var K=p&&R===N&&N.visualViewport?N.visualViewport.height:R[z];w-=K-r.height,w*=u?1:-1}if(o===qn||(o===Yn||o===Pr)&&i===Cl){D=Dr;var q=p&&R===N&&N.visualViewport?N.visualViewport.width:R[W];m-=q-r.width,m*=u?1:-1}}var J=Object.assign({position:l},d&&QD),V=h===!0?HD({x:m,y:w},fr(n)):{x:m,y:w};if(m=V.x,w=V.y,u){var Z;return Object.assign({},J,(Z={},Z[C]=_?"0":"",Z[D]=P?"0":"",Z.transform=(N.devicePixelRatio||1)<=1?"translate("+m+"px, "+w+"px)":"translate3d("+m+"px, "+w+"px, 0)",Z))}return Object.assign({},J,(e={},e[C]=_?w+"px":"",e[D]=P?m+"px":"",e.transform="",e))}function UD(t){var e=t.state,n=t.options,r=n.gpuAcceleration,o=r===void 0?!0:r,i=n.adaptive,a=i===void 0?!0:i,l=n.roundOffsets,u=l===void 0?!0:l,d={placement:xo(e.placement),variation:da(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:o,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,Qv(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,Qv(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 VD={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:UD,data:{}};var hu={passive:!0};function WD(t){var e=t.state,n=t.instance,r=t.options,o=r.scroll,i=o===void 0?!0:o,a=r.resize,l=a===void 0?!0:a,u=fr(e.elements.popper),d=[].concat(e.scrollParents.reference,e.scrollParents.popper);return i&&d.forEach(function(h){h.addEventListener("scroll",n.update,hu)}),l&&u.addEventListener("resize",n.update,hu),function(){i&&d.forEach(function(h){h.removeEventListener("scroll",n.update,hu)}),l&&u.removeEventListener("resize",n.update,hu)}}const YD={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:WD,data:{}};var qD={left:"right",right:"left",bottom:"top",top:"bottom"};function pu(t){return t.replace(/left|right|bottom|top/g,function(e){return qD[e]})}var KD={start:"end",end:"start"};function Hv(t){return t.replace(/start|end/g,function(e){return KD[e]})}function Lh(t){var e=fr(t),n=e.pageXOffset,r=e.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Fh(t){return ua(Pi(t)).left+Lh(t).scrollLeft}function GD(t,e){var n=fr(t),r=Pi(t),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,l=0,u=0;if(o){i=o.width,a=o.height;var d=Rv();(d||!d&&e==="fixed")&&(l=o.offsetLeft,u=o.offsetTop)}return{width:i,height:a,x:l+Fh(t),y:u}}function XD(t){var e,n=Pi(t),r=Lh(t),o=(e=t.ownerDocument)==null?void 0:e.body,i=As(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=As(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-r.scrollLeft+Fh(t),u=-r.scrollTop;return Xo(o||n).direction==="rtl"&&(l+=As(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:l,y:u}}function jh(t){var e=Xo(t),n=e.overflow,r=e.overflowX,o=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Uv(t){return["html","body","#document"].indexOf(yo(t))>=0?t.ownerDocument.body:Br(t)&&jh(t)?t:Uv(fu(t))}function Tl(t,e){var n;e===void 0&&(e=[]);var r=Uv(t),o=r===((n=t.ownerDocument)==null?void 0:n.body),i=fr(r),a=o?[i].concat(i.visualViewport||[],jh(r)?r:[]):r,l=e.concat(a);return o?l:l.concat(Tl(fu(a)))}function Nh(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function JD(t,e){var n=ua(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 Vv(t,e,n){return e===Iv?Nh(GD(t,n)):ps(e)?JD(e,n):Nh(XD(Pi(t)))}function ZD(t){var e=Tl(fu(t)),n=["absolute","fixed"].indexOf(Xo(t).position)>=0,r=n&&Br(t)?Dl(t):t;return ps(r)?e.filter(function(o){return ps(o)&&Lv(o,r)&&yo(o)!=="body"}):[]}function $D(t,e,n,r){var o=e==="clippingParents"?ZD(t):[].concat(e),i=[].concat(o,[n]),a=i[0],l=i.reduce(function(u,d){var h=Vv(t,d,r);return u.top=As(h.top,u.top),u.right=du(h.right,u.right),u.bottom=du(h.bottom,u.bottom),u.left=As(h.left,u.left),u},Vv(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 Wv(t){var e=t.reference,n=t.element,r=t.placement,o=r?xo(r):null,i=r?da(r):null,a=e.x+e.width/2-n.width/2,l=e.y+e.height/2-n.height/2,u;switch(o){case Yn:u={x:a,y:e.y-n.height};break;case Pr:u={x:a,y:e.y+e.height};break;case Dr:u={x:e.x+e.width,y:l};break;case qn:u={x:e.x-n.width,y:l};break;default:u={x:e.x,y:e.y}}var d=o?Rh(o):null;if(d!=null){var h=d==="y"?"height":"width";switch(i){case la:u[d]=u[d]-(e[h]/2-n[h]/2);break;case Cl:u[d]=u[d]+(e[h]/2-n[h]/2);break}}return u}function Il(t,e){e===void 0&&(e={});var n=e,r=n.placement,o=r===void 0?t.placement:r,i=n.strategy,a=i===void 0?t.strategy:i,l=n.boundary,u=l===void 0?xD:l,d=n.rootBoundary,h=d===void 0?Iv:d,p=n.elementContext,g=p===void 0?Pl:p,m=n.altBoundary,y=m===void 0?!1:m,w=n.padding,x=w===void 0?0:w,P=Nv(typeof x!="number"?x:zv(x,El)),_=g===Pl?bD:Pl,D=t.rects.popper,C=t.elements[y?_:g],N=$D(ps(C)?C:C.contextElement||Pi(t.elements.popper),u,h,a),R=ua(t.elements.reference),z=Wv({reference:R,element:D,placement:o}),W=Nh(Object.assign({},D,z)),K=g===Pl?W:R,q={top:N.top-K.top+P.top,bottom:K.bottom-N.bottom+P.bottom,left:N.left-K.left+P.left,right:K.right-N.right+P.right},J=t.modifiersData.offset;if(g===Pl&&J){var V=J[o];Object.keys(q).forEach(function(Z){var ce=[Dr,Pr].indexOf(Z)>=0?1:-1,ne=[Yn,Pr].indexOf(Z)>=0?"y":"x";q[Z]+=V[ne]*ce})}return q}function eB(t,e){e===void 0&&(e={});var n=e,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,l=n.flipVariations,u=n.allowedAutoPlacements,d=u===void 0?Mv:u,h=da(r),p=h?l?_v:_v.filter(function(y){return da(y)===h}):El,g=p.filter(function(y){return d.indexOf(y)>=0});g.length===0&&(g=p);var m=g.reduce(function(y,w){return y[w]=Il(t,{placement:w,boundary:o,rootBoundary:i,padding:a})[xo(w)],y},{});return Object.keys(m).sort(function(y,w){return m[y]-m[w]})}function tB(t){if(xo(t)===Ih)return[];var e=pu(t);return[Hv(t),e,Hv(e)]}function nB(t){var e=t.state,n=t.options,r=t.name;if(!e.modifiersData[r]._skip){for(var o=n.mainAxis,i=o===void 0?!0:o,a=n.altAxis,l=a===void 0?!0:a,u=n.fallbackPlacements,d=n.padding,h=n.boundary,p=n.rootBoundary,g=n.altBoundary,m=n.flipVariations,y=m===void 0?!0:m,w=n.allowedAutoPlacements,x=e.options.placement,P=xo(x),_=P===x,D=u||(_||!y?[pu(x)]:tB(x)),C=[x].concat(D).reduce(function(de,ve){return de.concat(xo(ve)===Ih?eB(e,{placement:ve,boundary:h,rootBoundary:p,padding:d,flipVariations:y,allowedAutoPlacements:w}):ve)},[]),N=e.rects.reference,R=e.rects.popper,z=new Map,W=!0,K=C[0],q=0;q<C.length;q++){var J=C[q],V=xo(J),Z=da(J)===la,ce=[Yn,Pr].indexOf(V)>=0,ne=ce?"width":"height",fe=Il(e,{placement:J,boundary:h,rootBoundary:p,altBoundary:g,padding:d}),oe=ce?Z?Dr:qn:Z?Pr:Yn;N[ne]>R[ne]&&(oe=pu(oe));var G=pu(oe),j=[];if(i&&j.push(fe[V]<=0),l&&j.push(fe[oe]<=0,fe[G]<=0),j.every(function(de){return de})){K=J,W=!1;break}z.set(J,j)}if(W)for(var pe=y?3:1,I=function(ve){var ye=C.find(function(De){var _e=z.get(De);if(_e)return _e.slice(0,ve).every(function(Be){return Be})});if(ye)return K=ye,"break"},$=pe;$>0;$--){var he=I($);if(he==="break")break}e.placement!==K&&(e.modifiersData[r]._skip=!0,e.placement=K,e.reset=!0)}}const rB={name:"flip",enabled:!0,phase:"main",fn:nB,requiresIfExists:["offset"],data:{_skip:!1}};function Yv(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 qv(t){return[Yn,Dr,Pr,qn].some(function(e){return t[e]>=0})}function oB(t){var e=t.state,n=t.name,r=e.rects.reference,o=e.rects.popper,i=e.modifiersData.preventOverflow,a=Il(e,{elementContext:"reference"}),l=Il(e,{altBoundary:!0}),u=Yv(a,r),d=Yv(l,o,i),h=qv(u),p=qv(d);e.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:d,isReferenceHidden:h,hasPopperEscaped:p},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":h,"data-popper-escaped":p})}const iB={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:oB};function sB(t,e,n){var r=xo(t),o=[qn,Yn].indexOf(r)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},e,{placement:t})):n,a=i[0],l=i[1];return a=a||0,l=(l||0)*o,[qn,Dr].indexOf(r)>=0?{x:l,y:a}:{x:a,y:l}}function aB(t){var e=t.state,n=t.options,r=t.name,o=n.offset,i=o===void 0?[0,0]:o,a=Mv.reduce(function(h,p){return h[p]=sB(p,e.rects,i),h},{}),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 lB={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:aB};function cB(t){var e=t.state,n=t.name;e.modifiersData[n]=Wv({reference:e.rects.reference,element:e.rects.popper,placement:e.placement})}const uB={name:"popperOffsets",enabled:!0,phase:"read",fn:cB,data:{}};function dB(t){return t==="x"?"y":"x"}function fB(t){var e=t.state,n=t.options,r=t.name,o=n.mainAxis,i=o===void 0?!0:o,a=n.altAxis,l=a===void 0?!1:a,u=n.boundary,d=n.rootBoundary,h=n.altBoundary,p=n.padding,g=n.tether,m=g===void 0?!0:g,y=n.tetherOffset,w=y===void 0?0:y,x=Il(e,{boundary:u,rootBoundary:d,padding:p,altBoundary:h}),P=xo(e.placement),_=da(e.placement),D=!_,C=Rh(P),N=dB(C),R=e.modifiersData.popperOffsets,z=e.rects.reference,W=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),J=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,V={x:0,y:0};if(R){if(i){var Z,ce=C==="y"?Yn:qn,ne=C==="y"?Pr:Dr,fe=C==="y"?"height":"width",oe=R[C],G=oe+x[ce],j=oe-x[ne],pe=m?-W[fe]/2:0,I=_===la?z[fe]:W[fe],$=_===la?-W[fe]:-z[fe],he=e.elements.arrow,de=m&&he?Oh(he):{width:0,height:0},ve=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:jv(),ye=ve[ce],De=ve[ne],_e=Bl(0,z[fe],de[fe]),Be=D?z[fe]/2-pe-_e-ye-q.mainAxis:I-_e-ye-q.mainAxis,He=D?-z[fe]/2+pe+_e+De+q.mainAxis:$+_e+De+q.mainAxis,lt=e.elements.arrow&&Dl(e.elements.arrow),Nt=lt?C==="y"?lt.clientTop||0:lt.clientLeft||0:0,et=(Z=J?.[C])!=null?Z:0,xt=oe+Be-et-Nt,an=oe+He-et,Mt=Bl(m?du(G,xt):G,oe,m?As(j,an):j);R[C]=Mt,V[C]=Mt-oe}if(l){var Wt,pt=C==="x"?Yn:qn,kt=C==="x"?Pr:Dr,dt=R[N],zt=N==="y"?"height":"width",Lt=dt+x[pt],At=dt-x[kt],bn=[Yn,qn].indexOf(P)!==-1,en=(Wt=J?.[N])!=null?Wt:0,dn=bn?Lt:dt-z[zt]-W[zt]-en+q.altAxis,fn=bn?dt+z[zt]+W[zt]-en-q.altAxis:At,Gt=m&&bn?LD(dn,dt,fn):Bl(m?dn:Lt,dt,m?fn:At);R[N]=Gt,V[N]=Gt-dt}e.modifiersData[r]=V}}const hB={name:"preventOverflow",enabled:!0,phase:"main",fn:fB,requiresIfExists:["offset"]};function pB(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function AB(t){return t===fr(t)||!Br(t)?Lh(t):pB(t)}function gB(t){var e=t.getBoundingClientRect(),n=ca(e.width)/t.offsetWidth||1,r=ca(e.height)/t.offsetHeight||1;return n!==1||r!==1}function mB(t,e,n){n===void 0&&(n=!1);var r=Br(e),o=Br(e)&&gB(e),i=Pi(e),a=ua(t,o,n),l={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(r||!r&&!n)&&((yo(e)!=="body"||jh(i))&&(l=AB(e)),Br(e)?(u=ua(e,!0),u.x+=e.clientLeft,u.y+=e.clientTop):i&&(u.x=Fh(i))),{x:a.left+l.scrollLeft-u.x,y:a.top+l.scrollTop-u.y,width:a.width,height:a.height}}function vB(t){var e=new Map,n=new Set,r=[];t.forEach(function(i){e.set(i.name,i)});function o(i){n.add(i.name);var a=[].concat(i.requires||[],i.requiresIfExists||[]);a.forEach(function(l){if(!n.has(l)){var u=e.get(l);u&&o(u)}}),r.push(i)}return t.forEach(function(i){n.has(i.name)||o(i)}),r}function yB(t){var e=vB(t);return ID.reduce(function(n,r){return n.concat(e.filter(function(o){return o.phase===r}))},[])}function xB(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}function bB(t){var e=t.reduce(function(n,r){var o=n[r.name];return n[r.name]=o?Object.assign({},o,r,{options:Object.assign({},o.options,r.options),data:Object.assign({},o.data,r.data)}):r,n},{});return Object.keys(e).map(function(n){return e[n]})}var Kv={placement:"bottom",modifiers:[],strategy:"absolute"};function Gv(){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 wB(t){t===void 0&&(t={});var e=t,n=e.defaultModifiers,r=n===void 0?[]:n,o=e.defaultOptions,i=o===void 0?Kv:o;return function(l,u,d){d===void 0&&(d=i);var h={placement:"bottom",orderedModifiers:[],options:Object.assign({},Kv,i),modifiersData:{},elements:{reference:l,popper:u},attributes:{},styles:{}},p=[],g=!1,m={state:h,setOptions:function(P){var _=typeof P=="function"?P(h.options):P;w(),h.options=Object.assign({},i,h.options,_),h.scrollParents={reference:ps(l)?Tl(l):l.contextElement?Tl(l.contextElement):[],popper:Tl(u)};var D=yB(bB([].concat(r,h.options.modifiers)));return h.orderedModifiers=D.filter(function(C){return C.enabled}),y(),m.update()},forceUpdate:function(){if(!g){var P=h.elements,_=P.reference,D=P.popper;if(Gv(_,D)){h.rects={reference:mB(_,Dl(D),h.options.strategy==="fixed"),popper:Oh(D)},h.reset=!1,h.placement=h.options.placement,h.orderedModifiers.forEach(function(q){return h.modifiersData[q.name]=Object.assign({},q.data)});for(var C=0;C<h.orderedModifiers.length;C++){if(h.reset===!0){h.reset=!1,C=-1;continue}var N=h.orderedModifiers[C],R=N.fn,z=N.options,W=z===void 0?{}:z,K=N.name;typeof R=="function"&&(h=R({state:h,options:W,name:K,instance:m})||h)}}}},update:xB(function(){return new Promise(function(x){m.forceUpdate(),x(h)})}),destroy:function(){w(),g=!0}};if(!Gv(l,u))return m;m.setOptions(d).then(function(x){!g&&d.onFirstUpdate&&d.onFirstUpdate(x)});function y(){h.orderedModifiers.forEach(function(x){var P=x.name,_=x.options,D=_===void 0?{}:_,C=x.effect;if(typeof C=="function"){var N=C({state:h,name:P,instance:m,options:D}),R=function(){};p.push(N||R)}})}function w(){p.forEach(function(x){return x()}),p=[]}return m}}var kB=[YD,uB,VD,Ov,lB,rB,hB,zD,iB],SB=wB({defaultModifiers:kB}),EB="tippy-box",Xv="tippy-content",CB="tippy-backdrop",Jv="tippy-arrow",Zv="tippy-svg-arrow",gs={passive:!0,capture:!0},$v=function(){return document.body};function zh(t,e,n){if(Array.isArray(t)){var r=t[e];return r??(Array.isArray(n)?n[e]:n)}return t}function Qh(t,e){var n={}.toString.call(t);return n.indexOf("[object")===0&&n.indexOf(e+"]")>-1}function ey(t,e){return typeof t=="function"?t.apply(void 0,e):t}function ty(t,e){if(e===0)return t;var n;return function(r){clearTimeout(n),n=setTimeout(function(){t(r)},e)}}function PB(t){return t.split(/\s+/).filter(Boolean)}function fa(t){return[].concat(t)}function ny(t,e){t.indexOf(e)===-1&&t.push(e)}function DB(t){return t.filter(function(e,n){return t.indexOf(e)===n})}function BB(t){return t.split("-")[0]}function Au(t){return[].slice.call(t)}function ry(t){return Object.keys(t).reduce(function(e,n){return t[n]!==void 0&&(e[n]=t[n]),e},{})}function _l(){return document.createElement("div")}function gu(t){return["Element","Fragment"].some(function(e){return Qh(t,e)})}function TB(t){return Qh(t,"NodeList")}function IB(t){return Qh(t,"MouseEvent")}function _B(t){return!!(t&&t._tippy&&t._tippy.reference===t)}function MB(t){return gu(t)?[t]:TB(t)?Au(t):Array.isArray(t)?t:Au(document.querySelectorAll(t))}function Hh(t,e){t.forEach(function(n){n&&(n.style.transitionDuration=e+"ms")})}function oy(t,e){t.forEach(function(n){n&&n.setAttribute("data-state",e)})}function OB(t){var e,n=fa(t),r=n[0];return r!=null&&(e=r.ownerDocument)!=null&&e.body?r.ownerDocument:document}function RB(t,e){var n=e.clientX,r=e.clientY;return t.every(function(o){var i=o.popperRect,a=o.popperState,l=o.props,u=l.interactiveBorder,d=BB(a.placement),h=a.modifiersData.offset;if(!h)return!0;var p=d==="bottom"?h.top.y:0,g=d==="top"?h.bottom.y:0,m=d==="right"?h.left.x:0,y=d==="left"?h.right.x:0,w=i.top-r+p>u,x=r-i.bottom-g>u,P=i.left-n+m>u,_=n-i.right-y>u;return w||x||P||_})}function Uh(t,e,n){var r=e+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(o){t[r](o,n)})}function iy(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 bo={isTouch:!1},sy=0;function LB(){bo.isTouch||(bo.isTouch=!0,window.performance&&document.addEventListener("mousemove",ay))}function ay(){var t=performance.now();t-sy<20&&(bo.isTouch=!1,document.removeEventListener("mousemove",ay)),sy=t}function FB(){var t=document.activeElement;if(_B(t)){var e=t._tippy;t.blur&&!e.state.isVisible&&t.blur()}}function jB(){document.addEventListener("touchstart",LB,gs),window.addEventListener("blur",FB)}var NB=typeof window<"u"&&typeof document<"u",zB=NB?!!window.msCrypto:!1,QB={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},HB={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},Vr=Object.assign({appendTo:$v,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},QB,HB),UB=Object.keys(Vr),VB=function(e){var n=Object.keys(e);n.forEach(function(r){Vr[r]=e[r]})};function ly(t){var e=t.plugins||[],n=e.reduce(function(r,o){var i=o.name,a=o.defaultValue;if(i){var l;r[i]=t[i]!==void 0?t[i]:(l=Vr[i])!=null?l:a}return r},{});return Object.assign({},t,n)}function WB(t,e){var n=e?Object.keys(ly(Object.assign({},Vr,{plugins:e}))):UB,r=n.reduce(function(o,i){var a=(t.getAttribute("data-tippy-"+i)||"").trim();if(!a)return o;if(i==="content")o[i]=a;else try{o[i]=JSON.parse(a)}catch{o[i]=a}return o},{});return r}function cy(t,e){var n=Object.assign({},e,{content:ey(e.content,[t])},e.ignoreAttributes?{}:WB(t,e.plugins));return n.aria=Object.assign({},Vr.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 YB=function(){return"innerHTML"};function Vh(t,e){t[YB()]=e}function uy(t){var e=_l();return t===!0?e.className=Jv:(e.className=Zv,gu(t)?e.appendChild(t):Vh(e,t)),e}function dy(t,e){gu(e.content)?(Vh(t,""),t.appendChild(e.content)):typeof e.content!="function"&&(e.allowHTML?Vh(t,e.content):t.textContent=e.content)}function Wh(t){var e=t.firstElementChild,n=Au(e.children);return{box:e,content:n.find(function(r){return r.classList.contains(Xv)}),arrow:n.find(function(r){return r.classList.contains(Jv)||r.classList.contains(Zv)}),backdrop:n.find(function(r){return r.classList.contains(CB)})}}function fy(t){var e=_l(),n=_l();n.className=EB,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=_l();r.className=Xv,r.setAttribute("data-state","hidden"),dy(r,t.props),e.appendChild(n),n.appendChild(r),o(t.props,t.props);function o(i,a){var l=Wh(e),u=l.box,d=l.content,h=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"),(i.content!==a.content||i.allowHTML!==a.allowHTML)&&dy(d,t.props),a.arrow?h?i.arrow!==a.arrow&&(u.removeChild(h),u.appendChild(uy(a.arrow))):u.appendChild(uy(a.arrow)):h&&u.removeChild(h)}return{popper:e,onUpdate:o}}fy.$$tippy=!0;var qB=1,mu=[],Yh=[];function KB(t,e){var n=cy(t,Object.assign({},Vr,ly(ry(e)))),r,o,i,a=!1,l=!1,u=!1,d=!1,h,p,g,m=[],y=ty(xt,n.interactiveDebounce),w,x=qB++,P=null,_=DB(n.plugins),D={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},C={id:x,reference:t,popper:_l(),popperInstance:P,props:n,state:D,plugins:_,clearDelayTimeouts:dn,setProps:fn,setContent:Gt,show:Ae,hide:Me,hideWithInteractivity:Fe,enable:bn,disable:en,unmount:tt,destroy:qe};if(!n.render)return C;var N=n.render(C),R=N.popper,z=N.onUpdate;R.setAttribute("data-tippy-root",""),R.id="tippy-"+C.id,C.popper=R,t._tippy=C,R._tippy=C;var W=_.map(function(le){return le.fn(C)}),K=t.hasAttribute("aria-expanded");return lt(),pe(),oe(),G("onCreate",[C]),n.showOnCreate&&Lt(),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&&ce().addEventListener("mousemove",y)}),C;function q(){var le=C.props.touch;return Array.isArray(le)?le:[le,0]}function J(){return q()[0]==="hold"}function V(){var le;return!!((le=C.props.render)!=null&&le.$$tippy)}function Z(){return w||t}function ce(){var le=Z().parentNode;return le?OB(le):document}function ne(){return Wh(R)}function fe(le){return C.state.isMounted&&!C.state.isVisible||bo.isTouch||h&&h.type==="focus"?0:zh(C.props.delay,le?0:1,Vr.delay)}function oe(le){le===void 0&&(le=!1),R.style.pointerEvents=C.props.interactive&&!le?"":"none",R.style.zIndex=""+C.props.zIndex}function G(le,Ie,Ne){if(Ne===void 0&&(Ne=!0),W.forEach(function(rt){rt[le]&&rt[le].apply(rt,Ie)}),Ne){var ot;(ot=C.props)[le].apply(ot,Ie)}}function j(){var le=C.props.aria;if(le.content){var Ie="aria-"+le.content,Ne=R.id,ot=fa(C.props.triggerTarget||t);ot.forEach(function(rt){var $e=rt.getAttribute(Ie);if(C.state.isVisible)rt.setAttribute(Ie,$e?$e+" "+Ne:Ne);else{var St=$e&&$e.replace(Ne,"").trim();St?rt.setAttribute(Ie,St):rt.removeAttribute(Ie)}})}}function pe(){if(!(K||!C.props.aria.expanded)){var le=fa(C.props.triggerTarget||t);le.forEach(function(Ie){C.props.interactive?Ie.setAttribute("aria-expanded",C.state.isVisible&&Ie===Z()?"true":"false"):Ie.removeAttribute("aria-expanded")})}}function I(){ce().removeEventListener("mousemove",y),mu=mu.filter(function(le){return le!==y})}function $(le){if(!(bo.isTouch&&(u||le.type==="mousedown"))){var Ie=le.composedPath&&le.composedPath()[0]||le.target;if(!(C.props.interactive&&iy(R,Ie))){if(fa(C.props.triggerTarget||t).some(function(Ne){return iy(Ne,Ie)})){if(bo.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||ye())}}}function he(){u=!0}function de(){u=!1}function ve(){var le=ce();le.addEventListener("mousedown",$,!0),le.addEventListener("touchend",$,gs),le.addEventListener("touchstart",de,gs),le.addEventListener("touchmove",he,gs)}function ye(){var le=ce();le.removeEventListener("mousedown",$,!0),le.removeEventListener("touchend",$,gs),le.removeEventListener("touchstart",de,gs),le.removeEventListener("touchmove",he,gs)}function De(le,Ie){Be(le,function(){!C.state.isVisible&&R.parentNode&&R.parentNode.contains(R)&&Ie()})}function _e(le,Ie){Be(le,Ie)}function Be(le,Ie){var Ne=ne().box;function ot(rt){rt.target===Ne&&(Uh(Ne,"remove",ot),Ie())}if(le===0)return Ie();Uh(Ne,"remove",p),Uh(Ne,"add",ot),p=ot}function He(le,Ie,Ne){Ne===void 0&&(Ne=!1);var ot=fa(C.props.triggerTarget||t);ot.forEach(function(rt){rt.addEventListener(le,Ie,Ne),m.push({node:rt,eventType:le,handler:Ie,options:Ne})})}function lt(){J()&&(He("touchstart",et,{passive:!0}),He("touchend",an,{passive:!0})),PB(C.props.trigger).forEach(function(le){if(le!=="manual")switch(He(le,et),le){case"mouseenter":He("mouseleave",an);break;case"focus":He(zB?"focusout":"blur",Mt);break;case"focusin":He("focusout",Mt);break}})}function Nt(){m.forEach(function(le){var Ie=le.node,Ne=le.eventType,ot=le.handler,rt=le.options;Ie.removeEventListener(Ne,ot,rt)}),m=[]}function et(le){var Ie,Ne=!1;if(!(!C.state.isEnabled||Wt(le)||l)){var ot=((Ie=h)==null?void 0:Ie.type)==="focus";h=le,w=le.currentTarget,pe(),!C.state.isVisible&&IB(le)&&mu.forEach(function(rt){return rt(le)}),le.type==="click"&&(C.props.trigger.indexOf("mouseenter")<0||a)&&C.props.hideOnClick!==!1&&C.state.isVisible?Ne=!0:Lt(le),le.type==="click"&&(a=!Ne),Ne&&!ot&&At(le)}}function xt(le){var Ie=le.target,Ne=Z().contains(Ie)||R.contains(Ie);if(!(le.type==="mousemove"&&Ne)){var ot=zt().concat(R).map(function(rt){var $e,St=rt._tippy,bt=($e=St.popperInstance)==null?void 0:$e.state;return bt?{popperRect:rt.getBoundingClientRect(),popperState:bt,props:n}:null}).filter(Boolean);RB(ot,le)&&(I(),At(le))}}function an(le){var Ie=Wt(le)||C.props.trigger.indexOf("click")>=0&&a;if(!Ie){if(C.props.interactive){C.hideWithInteractivity(le);return}At(le)}}function Mt(le){C.props.trigger.indexOf("focusin")<0&&le.target!==Z()||C.props.interactive&&le.relatedTarget&&R.contains(le.relatedTarget)||At(le)}function Wt(le){return bo.isTouch?J()!==le.type.indexOf("touch")>=0:!1}function pt(){kt();var le=C.props,Ie=le.popperOptions,Ne=le.placement,ot=le.offset,rt=le.getReferenceClientRect,$e=le.moveTransition,St=V()?Wh(R).arrow:null,bt=rt?{getBoundingClientRect:rt,contextElement:rt.contextElement||Z()}:t,ut={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(jn){var tn=jn.state;if(V()){var qr=ne(),wn=qr.box;["placement","reference-hidden","escaped"].forEach(function(Or){Or==="placement"?wn.setAttribute("data-placement",tn.placement):tn.attributes.popper["data-popper-"+Or]?wn.setAttribute("data-"+Or,""):wn.removeAttribute("data-"+Or)}),tn.attributes.popper={}}}},hn=[{name:"offset",options:{offset:ot}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!$e}},ut];V()&&St&&hn.push({name:"arrow",options:{element:St,padding:3}}),hn.push.apply(hn,Ie?.modifiers||[]),C.popperInstance=SB(bt,R,Object.assign({},Ie,{placement:Ne,onFirstUpdate:g,modifiers:hn}))}function kt(){C.popperInstance&&(C.popperInstance.destroy(),C.popperInstance=null)}function dt(){var le=C.props.appendTo,Ie,Ne=Z();C.props.interactive&&le===$v||le==="parent"?Ie=Ne.parentNode:Ie=ey(le,[Ne]),Ie.contains(R)||Ie.appendChild(R),C.state.isMounted=!0,pt()}function zt(){return Au(R.querySelectorAll("[data-tippy-root]"))}function Lt(le){C.clearDelayTimeouts(),le&&G("onTrigger",[C,le]),ve();var Ie=fe(!0),Ne=q(),ot=Ne[0],rt=Ne[1];bo.isTouch&&ot==="hold"&&rt&&(Ie=rt),Ie?r=setTimeout(function(){C.show()},Ie):C.show()}function At(le){if(C.clearDelayTimeouts(),G("onUntrigger",[C,le]),!C.state.isVisible){ye();return}if(!(C.props.trigger.indexOf("mouseenter")>=0&&C.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(le.type)>=0&&a)){var Ie=fe(!1);Ie?o=setTimeout(function(){C.state.isVisible&&C.hide()},Ie):i=requestAnimationFrame(function(){C.hide()})}}function bn(){C.state.isEnabled=!0}function en(){C.hide(),C.state.isEnabled=!1}function dn(){clearTimeout(r),clearTimeout(o),cancelAnimationFrame(i)}function fn(le){if(!C.state.isDestroyed){G("onBeforeUpdate",[C,le]),Nt();var Ie=C.props,Ne=cy(t,Object.assign({},Ie,ry(le),{ignoreAttributes:!0}));C.props=Ne,lt(),Ie.interactiveDebounce!==Ne.interactiveDebounce&&(I(),y=ty(xt,Ne.interactiveDebounce)),Ie.triggerTarget&&!Ne.triggerTarget?fa(Ie.triggerTarget).forEach(function(ot){ot.removeAttribute("aria-expanded")}):Ne.triggerTarget&&t.removeAttribute("aria-expanded"),pe(),oe(),z&&z(Ie,Ne),C.popperInstance&&(pt(),zt().forEach(function(ot){requestAnimationFrame(ot._tippy.popperInstance.forceUpdate)})),G("onAfterUpdate",[C,le])}}function Gt(le){C.setProps({content:le})}function Ae(){var le=C.state.isVisible,Ie=C.state.isDestroyed,Ne=!C.state.isEnabled,ot=bo.isTouch&&!C.props.touch,rt=zh(C.props.duration,0,Vr.duration);if(!(le||Ie||Ne||ot)&&!Z().hasAttribute("disabled")&&(G("onShow",[C],!1),C.props.onShow(C)!==!1)){if(C.state.isVisible=!0,V()&&(R.style.visibility="visible"),oe(),ve(),C.state.isMounted||(R.style.transition="none"),V()){var $e=ne(),St=$e.box,bt=$e.content;Hh([St,bt],0)}g=function(){var hn;if(!(!C.state.isVisible||d)){if(d=!0,R.offsetHeight,R.style.transition=C.props.moveTransition,V()&&C.props.animation){var gr=ne(),jn=gr.box,tn=gr.content;Hh([jn,tn],rt),oy([jn,tn],"visible")}j(),pe(),ny(Yh,C),(hn=C.popperInstance)==null||hn.forceUpdate(),G("onMount",[C]),C.props.animation&&V()&&_e(rt,function(){C.state.isShown=!0,G("onShown",[C])})}},dt()}}function Me(){var le=!C.state.isVisible,Ie=C.state.isDestroyed,Ne=!C.state.isEnabled,ot=zh(C.props.duration,1,Vr.duration);if(!(le||Ie||Ne)&&(G("onHide",[C],!1),C.props.onHide(C)!==!1)){if(C.state.isVisible=!1,C.state.isShown=!1,d=!1,a=!1,V()&&(R.style.visibility="hidden"),I(),ye(),oe(!0),V()){var rt=ne(),$e=rt.box,St=rt.content;C.props.animation&&(Hh([$e,St],ot),oy([$e,St],"hidden"))}j(),pe(),C.props.animation?V()&&De(ot,C.unmount):C.unmount()}}function Fe(le){ce().addEventListener("mousemove",y),ny(mu,y),y(le)}function tt(){C.state.isVisible&&C.hide(),C.state.isMounted&&(kt(),zt().forEach(function(le){le._tippy.unmount()}),R.parentNode&&R.parentNode.removeChild(R),Yh=Yh.filter(function(le){return le!==C}),C.state.isMounted=!1,G("onHidden",[C]))}function qe(){C.state.isDestroyed||(C.clearDelayTimeouts(),C.unmount(),Nt(),delete t._tippy,C.state.isDestroyed=!0,G("onDestroy",[C]))}}function Ml(t,e){e===void 0&&(e={});var n=Vr.plugins.concat(e.plugins||[]);jB();var r=Object.assign({},e,{plugins:n}),o=MB(t),i=o.reduce(function(a,l){var u=l&&KB(l,r);return u&&a.push(u),a},[]);return gu(t)?i[0]:i}Ml.defaultProps=Vr,Ml.setDefaultProps=VB,Ml.currentInput=bo,Object.assign({},Ov,{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)}}),Ml.setDefaultProps({render:fy});function GB({color:t="var(--contrast-6)",icon:e="info-circle-fill",tooltip:n}){const r=M.useRef(null);return M.useLayoutEffect(()=>{r.current&&Ml(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(ft,{name:e})})}function XB({infoGroupId:t}){const e=Fn(`https://support.access-ci.org/api/1.0/kb/${t}`);if(!(!e||e.error||!e.length))return E.jsx(vo,{title:"Documentation",icon:"book",children:E.jsx("ul",{children:e.map(({title:n,description:r,link:o})=>E.jsxs("li",{children:[E.jsx("a",{href:Ig(o),children:n}),r?E.jsx(GB,{tooltip:hf(r)}):null]},n))})})}function JB({children:t,icon:e="megaphone-fill"}){return E.jsxs("div",{className:"alert",children:[e?E.jsx(ft,{name:e}):null,E.jsx("div",{className:"alert-body",children:t})]})}function ZB({children:t}){const[e,n]=M.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(ft,{name:`caret-${e?"up":"left"}-fill`}),e?"Less":"More"]})]})}function $B({date__end:t,date__start:e,description:n,location:r,registration:o,speaker:i,title:a}){const l=o,u=l?E.jsx("a",{href:l,children:a}):a,d=[];let h=null;const p=e,g=t;if(p){const m=new Date(p),y=new Date(g||p),[w,x]=[m,y].map(R=>R.toLocaleString("en-US",{dateStyle:"long"})),[P,_]=[m,y].map(R=>R.toLocaleString("en-US",{timeStyle:"short"})),D=m.toLocaleTimeString("en-US",{timeZoneName:"short"}).split(" ")[2],C=[`${w},`,P];(_!=P||x!=w)&&(C.push("-"),x!=w&&C.push(`${x},`),C.push(_)),C.push(`(${D})`),d.push(E.jsx(ft,{name:"calendar"}),C.join(" ")),i&&d.push(E.jsx(ft,{name:"people-fill"}),i),r&&d.push(E.jsx(ft,{name:"geo-alt-fill"}),r);const N=m.toLocaleString("en-US",{dateStyle:"medium"}).split(",")[0].split(" ").map(R=>E.jsx("span",{children:R},R));h=l?E.jsx("a",{href:l,className:"event-icon",children:N}):E.jsx("div",{className:"event-icon",children:N})}return E.jsxs("div",{className:"event",children:[h,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(ZB,{children:E.jsx("div",{children:pf(n)})}):null]})]})}function eT({infoGroupId:t}){const e=sl(t),n=Fn("https://operations-api.access-ci.org/wh2/news/v1/affiliation/access-ci.org/current_outages/"),r=Fn("https://operations-api.access-ci.org/wh2/news/v1/affiliation/access-ci.org/future_outages/"),o=Fn(`https://support.access-ci.org/api/1.1/events/ag/${t}`),i=ff([e,n,r],(l,u,d)=>[...u.results,...d.results].filter(h=>h.AffectedResources.some(p=>l.infoResourceIds.includes(p.ResourceID))),[]),a=ff([o],l=>l.filter(u=>new Date(u.date__start)>=new Date),[]);if(!(!i.length&&!a.length))return E.jsxs(vo,{title:"Announcements and Events",icon:"calendar3",children:[i.map(({Subject:l,Content:u})=>E.jsxs(JB,{children:[l," ",E.jsx("a",{href:"https://operations.access-ci.org/infrastructure_news_view",children:"Learn more."})]},l)),a.map(l=>E.jsx($B,{...l},l.title))]})}function tT({children:t,headingLevel:e=2,title:n}){const[r,o]=M.useState(!1),i=`h${e}`;return E.jsxs("div",{className:"accordion",children:[E.jsx(i,{className:"accordion-heading",children:E.jsxs("button",{"aria-expanded":r,onClick:()=>o(!r),children:[n,E.jsx(ft,{name:r?"caret-up-fill":"caret-down-fill"})]})}),E.jsx("div",{className:"accordion-content",style:{display:r?"block":"none"},children:t})]})}function nT({resource_descriptive_name:t,resource_description:e,compute:n,storage:r}){const o=(n||r||{}).recommended_use;return E.jsxs(tT,{title:t,children:[e?pf(e):null,o?E.jsxs(E.Fragment,{children:[E.jsx("h3",{children:"Recommended Use"}),pf(o)]}):null]})}function rT({infoGroupId:t}){const e=sl(t),n=Fn(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,h)=>{const p=u.results.compute[h.attr];return h.format&&p?h.format(p,h):p||E.jsx(E.Fragment,{children:"—"})}})),o=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])):[],i={key:"name",name:"Attribute",format:u=>E.jsx("strong",{children:u})},a=r.length>0&&o.length>0,l={compute:[],storage:[],other:[]};for(let{results:u}of n)(l[u.cider_type.toLowerCase()]||l.other).push(E.jsx(nT,{...u},u.resource_descriptive_name));return E.jsxs(E.Fragment,{children:[a||l.compute.length>0?E.jsxs(vo,{title:"Compute Resources",icon:"cpu-fill",children:[l.compute,a&&E.jsxs(E.Fragment,{children:[E.jsx("h3",{children:"Specifications"}),E.jsx(uu,{columns:[i,...r],rows:o,maxHeight:null})]})]}):null,l.storage.length>0?E.jsx(vo,{title:"Storage Resources",icon:"hdd-fill",children:l.storage}):null,l.other.length>0?E.jsx(vo,{title:"Other Resources",icon:"stars",children:l.other}):null]})}function hy(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,r)}return n}function py(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?hy(Object(n),!0).forEach(function(r){iT(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):hy(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function vu(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?vu=function(e){return typeof e}:vu=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},vu(t)}function yu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function oT(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 xu(t,e,n){return e&&oT(t.prototype,e),t}function iT(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function sT(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&&qh(t,e)}function ha(t){return ha=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ha(t)}function qh(t,e){return qh=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},qh(t,e)}function aT(){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 lT(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function cT(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 lT(t)}function uT(t){var e=aT();return function(){var r=ha(t),o;if(e){var i=ha(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return cT(this,o)}}function dT(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=ha(t),t!==null););return t}function bu(){return typeof Reflect<"u"&&Reflect.get?bu=Reflect.get:bu=function(e,n,r){var o=dT(e,n);if(o){var i=Object.getOwnPropertyDescriptor(o,n);return i.get?i.get.call(arguments.length<3?e:r):i.value}},bu.apply(this,arguments)}var fT={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 Di(t){console.error("[Glide warn]: ".concat(t))}function Wr(t){return parseInt(t)}function Kh(t){return typeof t=="string"}function Ol(t){var e=vu(t);return e==="function"||e==="object"&&!!t}function wu(t){return typeof t=="function"}function hT(t){return typeof t>"u"}function Gh(t){return t.constructor===Array}function pT(t,e,n){var r={};for(var o in e)wu(e[o])?r[o]=e[o](t,r,n):Di("Extension must be a function");for(var i in r)wu(r[i].mount)&&r[i].mount();return r}function Kt(t,e,n){Object.defineProperty(t,e,n)}function Ay(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(o){e.classes.hasOwnProperty(o)&&(n.classes[o]=py(py({},t.classes[o]),e.classes[o]))})}return e.hasOwnProperty("breakpoints")&&(n.breakpoints=Object.assign({},t.breakpoints,e.breakpoints)),n}var AT=(function(){function t(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};yu(this,t),this.events=e,this.hop=e.hasOwnProperty}return xu(t,[{key:"on",value:function(n,r){if(Gh(n)){for(var o=0;o<n.length;o++)this.on(n[o],r);return}this.hop.call(this.events,n)||(this.events[n]=[]);var i=this.events[n].push(r)-1;return{remove:function(){delete this.events[n][i]}}}},{key:"emit",value:function(n,r){if(Gh(n)){for(var o=0;o<n.length;o++)this.emit(n[o],r);return}this.hop.call(this.events,n)&&this.events[n].forEach(function(i){i(r||{})})}}]),t})(),gT=(function(){function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};yu(this,t),this._c={},this._t=[],this._e=new AT,this.disabled=!1,this.selector=e,this.settings=Ay(fT,n),this.index=this.settings.startAt}return xu(t,[{key:"mount",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this._e.emit("mount.before"),Ol(n)?this._c=pT(this,n,this._e):Di("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 Gh(n)?this._t=n:Di("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=Ay(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){Ol(n)?this._o=n:Di("Options must be an `object` instance.")}},{key:"index",get:function(){return this._i},set:function(n){this._i=Wr(n)}},{key:"type",get:function(){return this.settings.type}},{key:"disabled",get:function(){return this._d},set:function(n){this._d=!!n}}]),t})();function mT(t,e,n){var r={mount:function(){this._o=!1},make:function(d){var h=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(){h.isStart()&&n.emit("run.start",h.move),h.isEnd()&&n.emit("run.end",h.move),h.isOffset()&&(h._o=!1,n.emit("run.offset",h.move)),n.emit("run.after",h.move),t.enable()}))},calculate:function(){var d=this.move,h=this.length,p=d.steps,g=d.direction,m=1;if(g==="="){if(t.settings.bound&&Wr(p)>h){t.index=h;return}t.index=p;return}if(g===">"&&p===">"){t.index=h;return}if(g==="<"&&p==="<"){t.index=0;return}if(g==="|"&&(m=t.settings.perView||1),g===">"||g==="|"&&p===">"){var y=o(m);y>h&&(this._o=!0),t.index=i(y,m);return}if(g==="<"||g==="|"&&p==="<"){var w=a(m);w<0&&(this._o=!0),t.index=l(w,m);return}Di("Invalid direction pattern [".concat(g).concat(p,"] 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 o(u){var d=t.index;return t.isType("carousel")?d+u:d+(u-d%u)}function i(u,d){var h=r.length;return u<=h?u:t.isType("carousel")?u-(h+1):t.settings.rewind?r.isBound()&&!r.isEnd()?h:0:r.isBound()?h:Math.floor(h/d)*d}function a(u){var d=t.index;if(t.isType("carousel"))return d-u;var h=Math.ceil(d/u);return(h-1)*u}function l(u,d){var h=r.length;return u>=0?u:t.isType("carousel")?u+(h+1):t.settings.rewind?r.isBound()&&r.isStart()?h:Math.floor(h/d)*d:0}return Kt(r,"move",{get:function(){return this._m},set:function(d){var h=d.substr(1);this._m={direction:d.substr(0,1),steps:h?Wr(h)?Wr(h):h:0}}}),Kt(r,"length",{get:function(){var d=t.settings,h=e.Html.slides.length;return this.isBound()?h-1-(Wr(d.perView)-1)+Wr(d.focusAt):h-1}}),Kt(r,"offset",{get:function(){return this._o}}),r}function gy(){return new Date().getTime()}function my(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r,o,i,a,l=0,u=function(){l=n.leading===!1?0:gy(),r=null,a=t.apply(o,i),r||(o=i=null)},d=function(){var p=gy();!l&&n.leading===!1&&(l=p);var g=e-(p-l);return o=this,i=arguments,g<=0||g>e?(r&&(clearTimeout(r),r=null),l=p,a=t.apply(o,i),r||(o=i=null)):!r&&n.trailing!==!1&&(r=setTimeout(u,g)),a};return d.cancel=function(){clearTimeout(r),l=0,r=o=i=null},d}var ku={ltr:["marginLeft","marginRight"],rtl:["marginRight","marginLeft"]};function vT(t,e,n){var r={apply:function(i){for(var a=0,l=i.length;a<l;a++){var u=i[a].style,d=e.Direction.value;a!==0?u[ku[d][0]]="".concat(this.value/2,"px"):u[ku[d][0]]="",a!==i.length-1?u[ku[d][1]]="".concat(this.value/2,"px"):u[ku[d][1]]=""}},remove:function(i){for(var a=0,l=i.length;a<l;a++){var u=i[a].style;u.marginLeft="",u.marginRight=""}}};return Kt(r,"value",{get:function(){return Wr(t.settings.gap)}}),Kt(r,"grow",{get:function(){return r.value*e.Sizes.length}}),Kt(r,"reductor",{get:function(){var i=t.settings.perView;return r.value*(i-1)/i}}),n.on(["build.after","update"],my(function(){r.apply(e.Html.wrapper.children)},30)),n.on("destroy",function(){r.remove(e.Html.wrapper.children)}),r}function vy(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 Xh(t){return Array.prototype.slice.call(t)}var yT='[data-glide-el="track"]';function xT(t,e,n){var r={mount:function(){this.root=t.selector,this.track=this.root.querySelector(yT),this.collectSlides()},collectSlides:function(){this.slides=Xh(this.wrapper.children).filter(function(i){return!i.classList.contains(t.settings.classes.slide.clone)})}};return Kt(r,"root",{get:function(){return r._r},set:function(i){Kh(i)&&(i=document.querySelector(i)),i!==null?r._r=i:Di("Root element must be a existing Html node")}}),Kt(r,"track",{get:function(){return r._t},set:function(i){r._t=i}}),Kt(r,"wrapper",{get:function(){return r.track.children[0]}}),n.on("update",function(){r.collectSlides()}),r}function bT(t,e,n){var r={mount:function(){this.value=t.settings.peek}};return Kt(r,"value",{get:function(){return r._v},set:function(i){Ol(i)?(i.before=Wr(i.before),i.after=Wr(i.after)):i=Wr(i),r._v=i}}),Kt(r,"reductor",{get:function(){var i=r.value,a=t.settings.perView;return Ol(i)?i.before/a+i.after/a:i*2/a}}),n.on(["resize","update"],function(){r.mount()}),r}function wT(t,e,n){var r={mount:function(){this._o=0},make:function(){var i=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:i.value})})}};return Kt(r,"offset",{get:function(){return r._o},set:function(i){r._o=hT(i)?0:Wr(i)}}),Kt(r,"translate",{get:function(){return e.Sizes.slideWidth*t.index}}),Kt(r,"value",{get:function(){var i=this.offset,a=this.translate;return e.Direction.is("rtl")?a+i:a-i}}),n.on(["build.before","run"],function(){r.make()}),r}function kT(t,e,n){var r={setupSlides:function(){for(var i="".concat(this.slideWidth,"px"),a=e.Html.slides,l=0;l<a.length;l++)a[l].style.width=i},setupWrapper:function(){e.Html.wrapper.style.width="".concat(this.wrapperSize,"px")},remove:function(){for(var i=e.Html.slides,a=0;a<i.length;a++)i[a].style.width="";e.Html.wrapper.style.width=""}};return Kt(r,"length",{get:function(){return e.Html.slides.length}}),Kt(r,"width",{get:function(){return e.Html.track.offsetWidth}}),Kt(r,"wrapperSize",{get:function(){return r.slideWidth*r.length+e.Gaps.grow+e.Clones.grow}}),Kt(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 ST(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 i=t.settings.classes,a=e.Html.slides[t.index];a&&(a.classList.add(i.slide.active),vy(a).forEach(function(l){l.classList.remove(i.slide.active)}))},removeClasses:function(){var i=t.settings.classes,a=i.type,l=i.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 ET(t,e,n){var r={mount:function(){this.items=[],t.isType("carousel")&&(this.items=this.collect())},collect:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],a=e.Html.slides,l=t.settings,u=l.perView,d=l.classes,h=l.cloningRatio;if(a.length>0)for(var p=+!!t.settings.peek,g=u+p+Math.round(u/2),m=a.slice(0,g).reverse(),y=a.slice(g*-1),w=0;w<Math.max(h,Math.floor(u/a.length));w++){for(var x=0;x<m.length;x++){var P=m[x].cloneNode(!0);P.classList.add(d.slide.clone),i.push(P)}for(var _=0;_<y.length;_++){var D=y[_].cloneNode(!0);D.classList.add(d.slide.clone),i.unshift(D)}}return i},append:function(){for(var i=this.items,a=e.Html,l=a.wrapper,u=a.slides,d=Math.floor(i.length/2),h=i.slice(0,d).reverse(),p=i.slice(d*-1).reverse(),g="".concat(e.Sizes.slideWidth,"px"),m=0;m<p.length;m++)l.appendChild(p[m]);for(var y=0;y<h.length;y++)l.insertBefore(h[y],u[0]);for(var w=0;w<i.length;w++)i[w].style.width=g},remove:function(){for(var i=this.items,a=0;a<i.length;a++)e.Html.wrapper.removeChild(i[a])}};return Kt(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 yy=(function(){function t(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};yu(this,t),this.listeners=e}return xu(t,[{key:"on",value:function(n,r,o){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;Kh(n)&&(n=[n]);for(var a=0;a<n.length;a++)this.listeners[n[a]]=o,r.addEventListener(n[a],this.listeners[n[a]],i)}},{key:"off",value:function(n,r){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Kh(n)&&(n=[n]);for(var i=0;i<n.length;i++)r.removeEventListener(n[i],this.listeners[n[i]],o)}},{key:"destroy",value:function(){delete this.listeners}}]),t})();function CT(t,e,n){var r=new yy,o={mount:function(){this.bind()},bind:function(){r.on("resize",window,my(function(){n.emit("resize")},t.settings.throttle))},unbind:function(){r.off("resize",window)}};return n.on("destroy",function(){o.unbind(),r.destroy()}),o}var PT=["ltr","rtl"],DT={">":"<","<":">","=":"="};function BT(t,e,n){var r={mount:function(){this.value=t.settings.direction},resolve:function(i){var a=i.slice(0,1);return this.is("rtl")?i.split(a).join(DT[a]):i},is:function(i){return this.value===i},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 Kt(r,"value",{get:function(){return r._v},set:function(i){PT.indexOf(i)>-1?r._v=i:Di("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 TT(t,e){return{modify:function(r){return e.Direction.is("rtl")?-r:r}}}function IT(t,e){return{modify:function(r){var o=Math.floor(r/e.Sizes.slideWidth);return r+e.Gaps.value*o}}}function _T(t,e){return{modify:function(r){return r+e.Clones.grow/2}}}function MT(t,e){return{modify:function(r){if(t.settings.focusAt>=0){var o=e.Peek.value;return Ol(o)?r-o.before:r-o}return r}}}function OT(t,e){return{modify:function(r){var o=e.Gaps.value,i=e.Sizes.width,a=t.settings.focusAt,l=e.Sizes.slideWidth;return a==="center"?r-(i/2-l/2):r-l*a-o*a}}}function RT(t,e,n){var r=[IT,_T,MT,OT].concat(t._t,[TT]);return{mutate:function(i){for(var a=0;a<r.length;a++){var l=r[a];wu(l)&&wu(l().modify)?i=l(t,e,n).modify(i):Di("Transformer should be a function that returns an object with `modify()` method")}return i}}}function LT(t,e,n){var r={set:function(i){var a=RT(t,e).mutate(i),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 i=e.Sizes.length,a=t.index,l=t.settings.perView;return e.Run.isOffset(">")||e.Run.isOffset("|>")?i+(a-l):(a+l)%i},getTravelDistance:function(){var i=e.Sizes.slideWidth*t.settings.perView;return e.Run.isOffset(">")||e.Run.isOffset("|>")?i*-1:i}};return n.on("move",function(o){if(!t.isType("carousel")||!e.Run.isOffset())return r.set(o.movement);e.Transition.after(function(){n.emit("translate.jump"),r.set(e.Sizes.slideWidth*t.index)});var i=e.Sizes.slideWidth*e.Translate.getStartIndex();return r.set(i-e.Translate.getTravelDistance())}),n.on("destroy",function(){r.remove()}),r}function FT(t,e,n){var r=!1,o={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 Kt(o,"duration",{get:function(){var a=t.settings;return t.isType("slider")&&e.Run.offset?a.rewindDuration:a.animationDuration}}),n.on("move",function(){o.set()}),n.on(["build.before","resize","translate.jump"],function(){o.disable()}),n.on("run",function(){o.enable()}),n.on("destroy",function(){o.remove()}),o}var xy=!1;try{var by=Object.defineProperty({},"passive",{get:function(){xy=!0}});window.addEventListener("testPassive",null,by),window.removeEventListener("testPassive",null,by)}catch{}var wy=xy,jT='[data-glide-el="controls[nav]"]',Jh='[data-glide-el^="controls"]',NT="".concat(Jh,' [data-glide-dir*="<"]'),zT="".concat(Jh,' [data-glide-dir*=">"]');function QT(t,e,n){var r=new yy,o=wy?{passive:!0}:!1,i={mount:function(){this._n=e.Html.root.querySelectorAll(jT),this._c=e.Html.root.querySelectorAll(Jh),this._arrowControls={previous:e.Html.root.querySelectorAll(NT),next:e.Html.root.querySelectorAll(zT)},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),vy(d).forEach(function(h){h.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=i._arrowControls.next,u=i._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),h=0;h<u;h++)d[h]=arguments[h];d.forEach(function(p){Xh(p).forEach(function(g){g.classList.remove(l.classes.arrow.disabled)})})},disableArrow:function(){for(var l=t.settings,u=arguments.length,d=new Array(u),h=0;h<u;h++)d[h]=arguments[h];d.forEach(function(p){Xh(p).forEach(function(g){g.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,o)},unbind:function(l){for(var u=0;u<l.length;u++)r.off(["click","touchstart"],l[u])},click:function(l){!wy&&l.type==="touchstart"&&l.preventDefault();var u=l.currentTarget.getAttribute("data-glide-dir");e.Run.make(e.Direction.resolve(u))}};return Kt(i,"items",{get:function(){return i._c}}),n.on(["mount.after","move.after"],function(){i.setActive()}),n.on(["mount.after","run"],function(){i.setArrowState()}),n.on("destroy",function(){i.removeBindings(),i.removeActive(),r.destroy()}),i}var HT={Html:xT,Translate:LT,Transition:FT,Direction:BT,Peek:bT,Sizes:kT,Gaps:vT,Move:wT,Clones:ET,Resize:CT,Build:ST,Run:mT},UT=(function(t){sT(n,t);var e=uT(n);function n(){return yu(this,n),e.apply(this,arguments)}return xu(n,[{key:"mount",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return bu(ha(n.prototype),"mount",this).call(this,Object.assign({},HT,o))}}]),n})(gT);function Su({children:t,cssClass:e=""}){const n=M.useRef(null);return M.useEffect(()=>{n.current&&new UT(n.current).mount({Controls:QT})},[]),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 ky({children:t}){return E.jsx("li",{className:"glide__slide",children:t})}function VT({title:t,description:e,linkText:n,linkURI:r,imageURI:o,imageAltText:i}){return E.jsx(ky,{children:E.jsxs("span",{className:"slide-inner",children:[o&&E.jsx("a",{href:r,className:"slide-image",children:E.jsx("img",{src:o,alt:i})}),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})]})]})})}Su.Slide=ky,Su.ImageSlide=VT;function WT({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 YT="https://allocations.access-ci.org/current-projects.json";function Eu({icon:t,text:e,title:n}){if(e)return E.jsxs("abbr",{className:"project-meta",title:n,children:[E.jsx(ft,{name:t}),e]})}function qT({infoGroupId:t}){const e=sl(t),n=Fn(e?`${YT}?${e.infoResourceIds.map(o=>`info_resourceids[]=${o}`).join("&")}`:null);if(!n||!n.projects||!n.projects.length)return null;const r=[{key:"resourceName",name:"Resource"},{key:"allocation",name:"Current Allocation",format:(o,i)=>i.units=="[Yes = 1, No = 0]"?o==1?"Yes":"No":`${o.toLocaleString("en-us")} ${i.units||""}`}];return E.jsx(vo,{title:"Recent Projects",icon:"pc-display",children:E.jsx(Su,{cssclassName:"carousel-projects",children:n.projects.map(o=>E.jsxs(Su.Slide,{children:[E.jsx("h3",{children:o.requestTitle}),E.jsxs("div",{className:"project-metadata",children:[E.jsx(Eu,{icon:"cash-coin",text:o.allocationType,title:"Allocation Type"}),E.jsx(Eu,{icon:"person-fill",text:`${o.pi} (${o.piInstitution})`,title:"Primary Investigator"}),E.jsx(Eu,{icon:"folder",text:o.fos,title:"Field of Science"}),E.jsx(Eu,{icon:"calendar-range",text:[o.beginDate,o.endDate].map(i=>new Date(i).toLocaleString("en-US",{dateStyle:"medium"})).join(" to "),title:"Project Dates"})]}),E.jsxs(WT,{children:[E.jsx("p",{children:o.abstract}),E.jsx(uu,{columns:r,rows:o.resources,maxHeight:null})]})]},o.requestTitle))})})}function Rl(t){return t+.5|0}const Bi=(t,e,n)=>Math.max(Math.min(t,n),e);function Ll(t){return Bi(Rl(t*2.55),0,255)}function Ti(t){return Bi(Rl(t*255),0,255)}function Jo(t){return Bi(Rl(t/2.55)/100,0,1)}function Sy(t){return Bi(Rl(t*100),0,100)}const Tr={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},Zh=[..."0123456789ABCDEF"],KT=t=>Zh[t&15],GT=t=>Zh[(t&240)>>4]+Zh[t&15],Cu=t=>(t&240)>>4===(t&15),XT=t=>Cu(t.r)&&Cu(t.g)&&Cu(t.b)&&Cu(t.a);function JT(t){var e=t.length,n;return t[0]==="#"&&(e===4||e===5?n={r:255&Tr[t[1]]*17,g:255&Tr[t[2]]*17,b:255&Tr[t[3]]*17,a:e===5?Tr[t[4]]*17:255}:(e===7||e===9)&&(n={r:Tr[t[1]]<<4|Tr[t[2]],g:Tr[t[3]]<<4|Tr[t[4]],b:Tr[t[5]]<<4|Tr[t[6]],a:e===9?Tr[t[7]]<<4|Tr[t[8]]:255})),n}const ZT=(t,e)=>t<255?e(t):"";function $T(t){var e=XT(t)?KT:GT;return t?"#"+e(t.r)+e(t.g)+e(t.b)+ZT(t.a,e):void 0}const e8=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function Ey(t,e,n){const r=e*Math.min(n,1-n),o=(i,a=(i+t/30)%12)=>n-r*Math.max(Math.min(a-3,9-a,1),-1);return[o(0),o(8),o(4)]}function t8(t,e,n){const r=(o,i=(o+t/60)%6)=>n-n*e*Math.max(Math.min(i,4-i,1),0);return[r(5),r(3),r(1)]}function n8(t,e,n){const r=Ey(t,1,.5);let o;for(e+n>1&&(o=1/(e+n),e*=o,n*=o),o=0;o<3;o++)r[o]*=1-e-n,r[o]+=e;return r}function r8(t,e,n,r,o){return t===o?(e-n)/r+(e<n?6:0):e===o?(n-t)/r+2:(t-e)/r+4}function $h(t){const n=t.r/255,r=t.g/255,o=t.b/255,i=Math.max(n,r,o),a=Math.min(n,r,o),l=(i+a)/2;let u,d,h;return i!==a&&(h=i-a,d=l>.5?h/(2-i-a):h/(i+a),u=r8(n,r,o,h,i),u=u*60+.5),[u|0,d||0,l]}function ep(t,e,n,r){return(Array.isArray(e)?t(e[0],e[1],e[2]):t(e,n,r)).map(Ti)}function tp(t,e,n){return ep(Ey,t,e,n)}function o8(t,e,n){return ep(n8,t,e,n)}function i8(t,e,n){return ep(t8,t,e,n)}function Cy(t){return(t%360+360)%360}function s8(t){const e=e8.exec(t);let n=255,r;if(!e)return;e[5]!==r&&(n=e[6]?Ll(+e[5]):Ti(+e[5]));const o=Cy(+e[2]),i=+e[3]/100,a=+e[4]/100;return e[1]==="hwb"?r=o8(o,i,a):e[1]==="hsv"?r=i8(o,i,a):r=tp(o,i,a),{r:r[0],g:r[1],b:r[2],a:n}}function a8(t,e){var n=$h(t);n[0]=Cy(n[0]+e),n=tp(n),t.r=n[0],t.g=n[1],t.b=n[2]}function l8(t){if(!t)return;const e=$h(t),n=e[0],r=Sy(e[1]),o=Sy(e[2]);return t.a<255?`hsla(${n}, ${r}%, ${o}%, ${Jo(t.a)})`:`hsl(${n}, ${r}%, ${o}%)`}const Py={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"},Dy={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 c8(){const t={},e=Object.keys(Dy),n=Object.keys(Py);let r,o,i,a,l;for(r=0;r<e.length;r++){for(a=l=e[r],o=0;o<n.length;o++)i=n[o],l=l.replace(i,Py[i]);i=parseInt(Dy[a],16),t[l]=[i>>16&255,i>>8&255,i&255]}return t}let Pu;function u8(t){Pu||(Pu=c8(),Pu.transparent=[0,0,0,0]);const e=Pu[t.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:e.length===4?e[3]:255}}const d8=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function f8(t){const e=d8.exec(t);let n=255,r,o,i;if(e){if(e[7]!==r){const a=+e[7];n=e[8]?Ll(a):Bi(a*255,0,255)}return r=+e[1],o=+e[3],i=+e[5],r=255&(e[2]?Ll(r):Bi(r,0,255)),o=255&(e[4]?Ll(o):Bi(o,0,255)),i=255&(e[6]?Ll(i):Bi(i,0,255)),{r,g:o,b:i,a:n}}}function h8(t){return t&&(t.a<255?`rgba(${t.r}, ${t.g}, ${t.b}, ${Jo(t.a)})`:`rgb(${t.r}, ${t.g}, ${t.b})`)}const np=t=>t<=.0031308?t*12.92:Math.pow(t,1/2.4)*1.055-.055,pa=t=>t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4);function p8(t,e,n){const r=pa(Jo(t.r)),o=pa(Jo(t.g)),i=pa(Jo(t.b));return{r:Ti(np(r+n*(pa(Jo(e.r))-r))),g:Ti(np(o+n*(pa(Jo(e.g))-o))),b:Ti(np(i+n*(pa(Jo(e.b))-i))),a:t.a+n*(e.a-t.a)}}function Du(t,e,n){if(t){let r=$h(t);r[e]=Math.max(0,Math.min(r[e]+r[e]*n,e===0?360:1)),r=tp(r),t.r=r[0],t.g=r[1],t.b=r[2]}}function By(t,e){return t&&Object.assign(e||{},t)}function Ty(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=Ti(t[3]))):(e=By(t,{r:0,g:0,b:0,a:1}),e.a=Ti(e.a)),e}function A8(t){return t.charAt(0)==="r"?f8(t):s8(t)}class Fl{constructor(e){if(e instanceof Fl)return e;const n=typeof e;let r;n==="object"?r=Ty(e):n==="string"&&(r=JT(e)||u8(e)||A8(e)),this._rgb=r,this._valid=!!r}get valid(){return this._valid}get rgb(){var e=By(this._rgb);return e&&(e.a=Jo(e.a)),e}set rgb(e){this._rgb=Ty(e)}rgbString(){return this._valid?h8(this._rgb):void 0}hexString(){return this._valid?$T(this._rgb):void 0}hslString(){return this._valid?l8(this._rgb):void 0}mix(e,n){if(e){const r=this.rgb,o=e.rgb;let i;const a=n===i?.5:n,l=2*a-1,u=r.a-o.a,d=((l*u===-1?l:(l+u)/(1+l*u))+1)/2;i=1-d,r.r=255&d*r.r+i*o.r+.5,r.g=255&d*r.g+i*o.g+.5,r.b=255&d*r.b+i*o.b+.5,r.a=a*r.a+(1-a)*o.a,this.rgb=r}return this}interpolate(e,n){return e&&(this._rgb=p8(this._rgb,e._rgb,n)),this}clone(){return new Fl(this.rgb)}alpha(e){return this._rgb.a=Ti(e),this}clearer(e){const n=this._rgb;return n.a*=1-e,this}greyscale(){const e=this._rgb,n=Rl(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 Du(this._rgb,2,e),this}darken(e){return Du(this._rgb,2,-e),this}saturate(e){return Du(this._rgb,1,e),this}desaturate(e){return Du(this._rgb,1,-e),this}rotate(e){return a8(this._rgb,e),this}}function Zo(){}const g8=(()=>{let t=0;return()=>t++})();function Dt(t){return t==null}function on(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 ht(t){return t!==null&&Object.prototype.toString.call(t)==="[object Object]"}function Ir(t){return(typeof t=="number"||t instanceof Number)&&isFinite(+t)}function wo(t,e){return Ir(t)?t:e}function mt(t,e){return typeof t>"u"?e:t}const m8=(t,e)=>typeof t=="string"&&t.endsWith("%")?parseFloat(t)/100:+t/e,Iy=(t,e)=>typeof t=="string"&&t.endsWith("%")?parseFloat(t)/100*e:+t;function Rt(t,e,n){if(t&&typeof t.call=="function")return t.apply(n,e)}function wt(t,e,n,r){let o,i,a;if(on(t))for(i=t.length,o=0;o<i;o++)e.call(n,t[o],o);else if(ht(t))for(a=Object.keys(t),i=a.length,o=0;o<i;o++)e.call(n,t[a[o]],a[o])}function Bu(t,e){let n,r,o,i;if(!t||!e||t.length!==e.length)return!1;for(n=0,r=t.length;n<r;++n)if(o=t[n],i=e[n],o.datasetIndex!==i.datasetIndex||o.index!==i.index)return!1;return!0}function Tu(t){if(on(t))return t.map(Tu);if(ht(t)){const e=Object.create(null),n=Object.keys(t),r=n.length;let o=0;for(;o<r;++o)e[n[o]]=Tu(t[n[o]]);return e}return t}function _y(t){return["__proto__","prototype","constructor"].indexOf(t)===-1}function v8(t,e,n,r){if(!_y(t))return;const o=e[t],i=n[t];ht(o)&&ht(i)?jl(o,i,r):e[t]=Tu(i)}function jl(t,e,n){const r=on(e)?e:[e],o=r.length;if(!ht(t))return t;n=n||{};const i=n.merger||v8;let a;for(let l=0;l<o;++l){if(a=r[l],!ht(a))continue;const u=Object.keys(a);for(let d=0,h=u.length;d<h;++d)i(u[d],t,a,n)}return t}function Nl(t,e){return jl(t,e,{merger:y8})}function y8(t,e,n){if(!_y(t))return;const r=e[t],o=n[t];ht(r)&&ht(o)?Nl(r,o):Object.prototype.hasOwnProperty.call(e,t)||(e[t]=Tu(o))}const My={"":t=>t,x:t=>t.x,y:t=>t.y};function x8(t){const e=t.split("."),n=[];let r="";for(const o of e)r+=o,r.endsWith("\\")?r=r.slice(0,-1)+".":(n.push(r),r="");return n}function b8(t){const e=x8(t);return n=>{for(const r of e){if(r==="")break;n=n&&n[r]}return n}}function Ii(t,e){return(My[e]||(My[e]=b8(e)))(t)}function rp(t){return t.charAt(0).toUpperCase()+t.slice(1)}const zl=t=>typeof t<"u",_i=t=>typeof t=="function",Oy=(t,e)=>{if(t.size!==e.size)return!1;for(const n of t)if(!e.has(n))return!1;return!0};function w8(t){return t.type==="mouseup"||t.type==="click"||t.type==="contextmenu"}const sn=Math.PI,hr=2*sn,Iu=Number.POSITIVE_INFINITY,k8=sn/180,pr=sn/2,ms=sn/4,Ry=sn*2/3,Ly=Math.log10,Mi=Math.sign;function _u(t,e,n){return Math.abs(t-e)<n}function Fy(t){const e=Math.round(t);t=_u(t,e,t/1e3)?e:t;const n=Math.pow(10,Math.floor(Ly(t))),r=t/n;return(r<=1?1:r<=2?2:r<=5?5:10)*n}function S8(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((o,i)=>o-i).pop(),e}function E8(t){return typeof t=="symbol"||typeof t=="object"&&t!==null&&!(Symbol.toPrimitive in t||"toString"in t||"valueOf"in t)}function Mu(t){return!E8(t)&&!isNaN(parseFloat(t))&&isFinite(t)}function C8(t,e){const n=Math.round(t);return n-e<=t&&n+e>=t}function P8(t,e,n){let r,o,i;for(r=0,o=t.length;r<o;r++)i=t[r][n],isNaN(i)||(e.min=Math.min(e.min,i),e.max=Math.max(e.max,i))}function ko(t){return t*(sn/180)}function D8(t){return t*(180/sn)}function jy(t){if(!Ir(t))return;let e=1,n=0;for(;Math.round(t*e)/e!==t;)e*=10,n++;return n}function B8(t,e){const n=e.x-t.x,r=e.y-t.y,o=Math.sqrt(n*n+r*r);let i=Math.atan2(r,n);return i<-.5*sn&&(i+=hr),{angle:i,distance:o}}function T8(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function vs(t){return(t%hr+hr)%hr}function op(t,e,n,r){const o=vs(t),i=vs(e),a=vs(n),l=vs(i-o),u=vs(a-o),d=vs(o-i),h=vs(o-a);return o===i||o===a||r&&i===a||l>u&&d<h}function Yr(t,e,n){return Math.max(e,Math.min(n,t))}function I8(t){return Yr(t,-32768,32767)}function Aa(t,e,n,r=1e-6){return t>=Math.min(e,n)-r&&t<=Math.max(e,n)+r}function ip(t,e,n){n=n||(a=>t[a]<e);let r=t.length-1,o=0,i;for(;r-o>1;)i=o+r>>1,n(i)?o=i:r=i;return{lo:o,hi:r}}const sp=(t,e,n,r)=>ip(t,n,r?o=>{const i=t[o][e];return i<n||i===n&&t[o+1][e]===n}:o=>t[o][e]<n),_8=(t,e,n)=>ip(t,n,r=>t[r][e]>=n);function M8(t,e,n){let r=0,o=t.length;for(;r<o&&t[r]<e;)r++;for(;o>r&&t[o-1]>n;)o--;return r>0||o<t.length?t.slice(r,o):t}const Ny=["push","pop","shift","splice","unshift"];function O8(t,e){if(t._chartjs){t._chartjs.listeners.push(e);return}Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),Ny.forEach(n=>{const r="_onData"+rp(n),o=t[n];Object.defineProperty(t,n,{configurable:!0,enumerable:!1,value(...i){const a=o.apply(this,i);return t._chartjs.listeners.forEach(l=>{typeof l[r]=="function"&&l[r](...i)}),a}})})}function zy(t,e){const n=t._chartjs;if(!n)return;const r=n.listeners,o=r.indexOf(e);o!==-1&&r.splice(o,1),!(r.length>0)&&(Ny.forEach(i=>{delete t[i]}),delete t._chartjs)}function Qy(t){const e=new Set(t);return e.size===t.length?t:Array.from(e)}const Hy=(function(){return typeof window>"u"?function(t){return t()}:window.requestAnimationFrame})();function Uy(t,e){let n=[],r=!1;return function(...o){n=o,r||(r=!0,Hy.call(window,()=>{r=!1,t.apply(e,n)}))}}function R8(t,e){let n;return function(...r){return e?(clearTimeout(n),n=setTimeout(t,e,r)):t.apply(this,r),e}}const ap=t=>t==="start"?"left":t==="end"?"right":"center",Dn=(t,e,n)=>t==="start"?e:t==="end"?n:(e+n)/2,L8=(t,e,n,r)=>t===(r?"left":"right")?n:t==="center"?(e+n)/2:e,Ou=t=>t===0||t===1,Vy=(t,e,n)=>-(Math.pow(2,10*(t-=1))*Math.sin((t-e)*hr/n)),Wy=(t,e,n)=>Math.pow(2,-10*t)*Math.sin((t-e)*hr/n)+1,Ql={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*pr)+1,easeOutSine:t=>Math.sin(t*pr),easeInOutSine:t=>-.5*(Math.cos(sn*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=>Ou(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=>Ou(t)?t:Vy(t,.075,.3),easeOutElastic:t=>Ou(t)?t:Wy(t,.075,.3),easeInOutElastic(t){return Ou(t)?t:t<.5?.5*Vy(t*2,.1125,.45):.5+.5*Wy(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-Ql.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?Ql.easeInBounce(t*2)*.5:Ql.easeOutBounce(t*2-1)*.5+.5};function Yy(t){if(t&&typeof t=="object"){const e=t.toString();return e==="[object CanvasPattern]"||e==="[object CanvasGradient]"}return!1}function qy(t){return Yy(t)?t:new Fl(t)}function lp(t){return Yy(t)?t:new Fl(t).saturate(.5).darken(.1).hexString()}const F8=["x","y","borderWidth","radius","tension"],j8=["color","borderColor","backgroundColor"];function N8(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:j8},numbers:{type:"number",properties:F8}}),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 z8(t){t.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}const Ky=new Map;function Q8(t,e){e=e||{};const n=t+JSON.stringify(e);let r=Ky.get(n);return r||(r=new Intl.NumberFormat(t,e),Ky.set(n,r)),r}function Ru(t,e,n){return Q8(e,n).format(t)}const H8={values(t){return on(t)?t:""+t},numeric(t,e,n){if(t===0)return"0";const r=this.chart.options.locale;let o,i=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)&&(o="scientific"),i=U8(t,n)}const a=Ly(Math.abs(i)),l=isNaN(a)?1:Math.max(Math.min(-1*Math.floor(a),20),0),u={notation:o,minimumFractionDigits:l,maximumFractionDigits:l};return Object.assign(u,this.options.ticks.format),Ru(t,r,u)}};function U8(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 Gy={formatters:H8};function V8(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:Gy.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 ys=Object.create(null),cp=Object.create(null);function Hl(t,e){if(!e)return t;const n=e.split(".");for(let r=0,o=n.length;r<o;++r){const i=n[r];t=t[i]||(t[i]=Object.create(null))}return t}function up(t,e,n){return typeof e=="string"?jl(Hl(t,e),n):jl(Hl(t,""),e)}class W8{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,o)=>lp(o.backgroundColor),this.hoverBorderColor=(r,o)=>lp(o.borderColor),this.hoverColor=(r,o)=>lp(o.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(e),this.apply(n)}set(e,n){return up(this,e,n)}get(e){return Hl(this,e)}describe(e,n){return up(cp,e,n)}override(e,n){return up(ys,e,n)}route(e,n,r,o){const i=Hl(this,e),a=Hl(this,r),l="_"+n;Object.defineProperties(i,{[l]:{value:i[n],writable:!0},[n]:{enumerable:!0,get(){const u=this[l],d=a[o];return ht(u)?Object.assign({},d,u):mt(u,d)},set(u){this[l]=u}}})}apply(e){e.forEach(n=>n(this))}}var Vt=new W8({_scriptable:t=>!t.startsWith("on"),_indexable:t=>t!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[N8,z8,V8]);function Y8(t){return!t||Dt(t.size)||Dt(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}function Xy(t,e,n,r,o){let i=e[o];return i||(i=e[o]=t.measureText(o).width,n.push(o)),i>r&&(r=i),r}function xs(t,e,n){const r=t.currentDevicePixelRatio,o=n!==0?Math.max(n/2,.5):0;return Math.round((e-o)*r)/r+o}function Jy(t,e){!e&&!t||(e=e||t.getContext("2d"),e.save(),e.resetTransform(),e.clearRect(0,0,t.width,t.height),e.restore())}function Zy(t,e,n,r){$y(t,e,n,r,null)}function $y(t,e,n,r,o){let i,a,l,u,d,h,p,g;const m=e.pointStyle,y=e.rotation,w=e.radius;let x=(y||0)*k8;if(m&&typeof m=="object"&&(i=m.toString(),i==="[object HTMLImageElement]"||i==="[object HTMLCanvasElement]")){t.save(),t.translate(n,r),t.rotate(x),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:o?t.ellipse(n,r,o/2,w,0,0,hr):t.arc(n,r,w,0,hr),t.closePath();break;case"triangle":h=o?o/2:w,t.moveTo(n+Math.sin(x)*h,r-Math.cos(x)*w),x+=Ry,t.lineTo(n+Math.sin(x)*h,r-Math.cos(x)*w),x+=Ry,t.lineTo(n+Math.sin(x)*h,r-Math.cos(x)*w),t.closePath();break;case"rectRounded":d=w*.516,u=w-d,a=Math.cos(x+ms)*u,p=Math.cos(x+ms)*(o?o/2-d:u),l=Math.sin(x+ms)*u,g=Math.sin(x+ms)*(o?o/2-d:u),t.arc(n-p,r-l,d,x-sn,x-pr),t.arc(n+g,r-a,d,x-pr,x),t.arc(n+p,r+l,d,x,x+pr),t.arc(n-g,r+a,d,x+pr,x+sn),t.closePath();break;case"rect":if(!y){u=Math.SQRT1_2*w,h=o?o/2:u,t.rect(n-h,r-u,2*h,2*u);break}x+=ms;case"rectRot":p=Math.cos(x)*(o?o/2:w),a=Math.cos(x)*w,l=Math.sin(x)*w,g=Math.sin(x)*(o?o/2:w),t.moveTo(n-p,r-l),t.lineTo(n+g,r-a),t.lineTo(n+p,r+l),t.lineTo(n-g,r+a),t.closePath();break;case"crossRot":x+=ms;case"cross":p=Math.cos(x)*(o?o/2:w),a=Math.cos(x)*w,l=Math.sin(x)*w,g=Math.sin(x)*(o?o/2:w),t.moveTo(n-p,r-l),t.lineTo(n+p,r+l),t.moveTo(n+g,r-a),t.lineTo(n-g,r+a);break;case"star":p=Math.cos(x)*(o?o/2:w),a=Math.cos(x)*w,l=Math.sin(x)*w,g=Math.sin(x)*(o?o/2:w),t.moveTo(n-p,r-l),t.lineTo(n+p,r+l),t.moveTo(n+g,r-a),t.lineTo(n-g,r+a),x+=ms,p=Math.cos(x)*(o?o/2:w),a=Math.cos(x)*w,l=Math.sin(x)*w,g=Math.sin(x)*(o?o/2:w),t.moveTo(n-p,r-l),t.lineTo(n+p,r+l),t.moveTo(n+g,r-a),t.lineTo(n-g,r+a);break;case"line":a=o?o/2:Math.cos(x)*w,l=Math.sin(x)*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(x)*(o?o/2:w),r+Math.sin(x)*w);break;case!1:t.closePath();break}t.fill(),e.borderWidth>0&&t.stroke()}}function ex(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 dp(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()}function fp(t){t.restore()}function q8(t,e){e.translation&&t.translate(e.translation[0],e.translation[1]),Dt(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 K8(t,e,n,r,o){if(o.strikethrough||o.underline){const i=t.measureText(r),a=e-i.actualBoundingBoxLeft,l=e+i.actualBoundingBoxRight,u=n-i.actualBoundingBoxAscent,d=n+i.actualBoundingBoxDescent,h=o.strikethrough?(u+d)/2:d;t.strokeStyle=t.fillStyle,t.beginPath(),t.lineWidth=o.decorationWidth||2,t.moveTo(a,h),t.lineTo(l,h),t.stroke()}}function G8(t,e){const n=t.fillStyle;t.fillStyle=e.color,t.fillRect(e.left,e.top,e.width,e.height),t.fillStyle=n}function Ul(t,e,n,r,o,i={}){const a=on(e)?e:[e],l=i.strokeWidth>0&&i.strokeColor!=="";let u,d;for(t.save(),t.font=o.string,q8(t,i),u=0;u<a.length;++u)d=a[u],i.backdrop&&G8(t,i.backdrop),l&&(i.strokeColor&&(t.strokeStyle=i.strokeColor),Dt(i.strokeWidth)||(t.lineWidth=i.strokeWidth),t.strokeText(d,n,r,i.maxWidth)),t.fillText(d,n,r,i.maxWidth),K8(t,n,r,d,i),r+=Number(o.lineHeight);t.restore()}function Lu(t,e){const{x:n,y:r,w:o,h:i,radius:a}=e;t.arc(n+a.topLeft,r+a.topLeft,a.topLeft,1.5*sn,sn,!0),t.lineTo(n,r+i-a.bottomLeft),t.arc(n+a.bottomLeft,r+i-a.bottomLeft,a.bottomLeft,sn,pr,!0),t.lineTo(n+o-a.bottomRight,r+i),t.arc(n+o-a.bottomRight,r+i-a.bottomRight,a.bottomRight,pr,0,!0),t.lineTo(n+o,r+a.topRight),t.arc(n+o-a.topRight,r+a.topRight,a.topRight,0,-pr,!0),t.lineTo(n+a.topLeft,r)}const X8=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,J8=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function Z8(t,e){const n=(""+t).match(X8);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 $8=t=>+t||0;function tx(t,e){const n={},r=ht(e),o=r?Object.keys(e):e,i=ht(t)?r?a=>mt(t[a],t[e[a]]):a=>t[a]:()=>t;for(const a of o)n[a]=$8(i(a));return n}function nx(t){return tx(t,{top:"y",right:"x",bottom:"y",left:"x"})}function ga(t){return tx(t,["topLeft","topRight","bottomLeft","bottomRight"])}function _r(t){const e=nx(t);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function Bn(t,e){t=t||{},e=e||Vt.font;let n=mt(t.size,e.size);typeof n=="string"&&(n=parseInt(n,10));let r=mt(t.style,e.style);r&&!(""+r).match(J8)&&(console.warn('Invalid font style specified: "'+r+'"'),r=void 0);const o={family:mt(t.family,e.family),lineHeight:Z8(mt(t.lineHeight,e.lineHeight),n),size:n,style:r,weight:mt(t.weight,e.weight),string:""};return o.string=Y8(o),o}function Fu(t,e,n,r){let o,i,a;for(o=0,i=t.length;o<i;++o)if(a=t[o],a!==void 0&&a!==void 0)return a}function eI(t,e,n){const{min:r,max:o}=t,i=Iy(e,(o-r)/2),a=(l,u)=>n&&l===0?0:l+u;return{min:a(r,-Math.abs(i)),max:a(o,i)}}function ma(t,e){return Object.assign(Object.create(t),e)}function hp(t,e=[""],n,r,o=()=>t[0]){const i=n||t;typeof r>"u"&&(r=ax("_fallback",t));const a={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:i,_fallback:r,_getTarget:o,override:l=>hp([l,...t],e,i,r)};return new Proxy(a,{deleteProperty(l,u){return delete l[u],delete l._keys,delete t[0][u],!0},get(l,u){return ox(l,u,()=>lI(u,e,t,l))},getOwnPropertyDescriptor(l,u){return Reflect.getOwnPropertyDescriptor(l._scopes[0],u)},getPrototypeOf(){return Reflect.getPrototypeOf(t[0])},has(l,u){return lx(l).includes(u)},ownKeys(l){return lx(l)},set(l,u,d){const h=l._storage||(l._storage=o());return l[u]=h[u]=d,delete l._keys,!0}})}function va(t,e,n,r){const o={_cacheable:!1,_proxy:t,_context:e,_subProxy:n,_stack:new Set,_descriptors:rx(t,r),setContext:i=>va(t,i,n,r),override:i=>va(t.override(i),e,n,r)};return new Proxy(o,{deleteProperty(i,a){return delete i[a],delete t[a],!0},get(i,a,l){return ox(i,a,()=>nI(i,a,l))},getOwnPropertyDescriptor(i,a){return i._descriptors.allKeys?Reflect.has(t,a)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(t,a)},getPrototypeOf(){return Reflect.getPrototypeOf(t)},has(i,a){return Reflect.has(t,a)},ownKeys(){return Reflect.ownKeys(t)},set(i,a,l){return t[a]=l,delete i[a],!0}})}function rx(t,e={scriptable:!0,indexable:!0}){const{_scriptable:n=e.scriptable,_indexable:r=e.indexable,_allKeys:o=e.allKeys}=t;return{allKeys:o,scriptable:n,indexable:r,isScriptable:_i(n)?n:()=>n,isIndexable:_i(r)?r:()=>r}}const tI=(t,e)=>t?t+rp(e):e,pp=(t,e)=>ht(e)&&t!=="adapters"&&(Object.getPrototypeOf(e)===null||e.constructor===Object);function ox(t,e,n){if(Object.prototype.hasOwnProperty.call(t,e)||e==="constructor")return t[e];const r=n();return t[e]=r,r}function nI(t,e,n){const{_proxy:r,_context:o,_subProxy:i,_descriptors:a}=t;let l=r[e];return _i(l)&&a.isScriptable(e)&&(l=rI(e,l,t,n)),on(l)&&l.length&&(l=oI(e,l,t,a.isIndexable)),pp(e,l)&&(l=va(l,o,i&&i[e],a)),l}function rI(t,e,n,r){const{_proxy:o,_context:i,_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(i,a||r);return l.delete(t),pp(t,u)&&(u=Ap(o._scopes,o,t,u)),u}function oI(t,e,n,r){const{_proxy:o,_context:i,_subProxy:a,_descriptors:l}=n;if(typeof i.index<"u"&&r(t))return e[i.index%e.length];if(ht(e[0])){const u=e,d=o._scopes.filter(h=>h!==u);e=[];for(const h of u){const p=Ap(d,o,t,h);e.push(va(p,i,a&&a[t],l))}}return e}function ix(t,e,n){return _i(t)?t(e,n):t}const iI=(t,e)=>t===!0?e:typeof t=="string"?Ii(e,t):void 0;function sI(t,e,n,r,o){for(const i of e){const a=iI(n,i);if(a){t.add(a);const l=ix(a._fallback,n,o);if(typeof l<"u"&&l!==n&&l!==r)return l}else if(a===!1&&typeof r<"u"&&n!==r)return null}return!1}function Ap(t,e,n,r){const o=e._rootScopes,i=ix(e._fallback,n,r),a=[...t,...o],l=new Set;l.add(r);let u=sx(l,a,n,i||n,r);return u===null||typeof i<"u"&&i!==n&&(u=sx(l,a,i,u,r),u===null)?!1:hp(Array.from(l),[""],o,i,()=>aI(e,n,r))}function sx(t,e,n,r,o){for(;n;)n=sI(t,e,n,r,o);return n}function aI(t,e,n){const r=t._getTarget();e in r||(r[e]={});const o=r[e];return on(o)&&ht(n)?n:o||{}}function lI(t,e,n,r){let o;for(const i of e)if(o=ax(tI(i,t),n),typeof o<"u")return pp(t,o)?Ap(n,r,t,o):o}function ax(t,e){for(const n of e){if(!n)continue;const r=n[t];if(typeof r<"u")return r}}function lx(t){let e=t._keys;return e||(e=t._keys=cI(t._scopes)),e}function cI(t){const e=new Set;for(const n of t)for(const r of Object.keys(n).filter(o=>!o.startsWith("_")))e.add(r);return Array.from(e)}function uI(t,e,n,r){const{iScale:o}=t,{key:i="r"}=this._parsing,a=new Array(r);let l,u,d,h;for(l=0,u=r;l<u;++l)d=l+n,h=e[d],a[l]={r:o.parse(Ii(h,i),d)};return a}function gp(){return typeof window<"u"&&typeof document<"u"}function mp(t){let e=t.parentNode;return e&&e.toString()==="[object ShadowRoot]"&&(e=e.host),e}function ju(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 Nu=t=>t.ownerDocument.defaultView.getComputedStyle(t,null);function dI(t,e){return Nu(t).getPropertyValue(e)}const fI=["top","right","bottom","left"];function bs(t,e,n){const r={};n=n?"-"+n:"";for(let o=0;o<4;o++){const i=fI[o];r[i]=parseFloat(t[e+"-"+i+n])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}const hI=(t,e,n)=>(t>0||e>0)&&(!n||!n.shadowRoot);function pI(t,e){const n=t.touches,r=n&&n.length?n[0]:t,{offsetX:o,offsetY:i}=r;let a=!1,l,u;if(hI(o,i,t.target))l=o,u=i;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 ws(t,e){if("native"in t)return t;const{canvas:n,currentDevicePixelRatio:r}=e,o=Nu(n),i=o.boxSizing==="border-box",a=bs(o,"padding"),l=bs(o,"border","width"),{x:u,y:d,box:h}=pI(t,n),p=a.left+(h&&l.left),g=a.top+(h&&l.top);let{width:m,height:y}=e;return i&&(m-=a.width+l.width,y-=a.height+l.height),{x:Math.round((u-p)/m*n.width/r),y:Math.round((d-g)/y*n.height/r)}}function AI(t,e,n){let r,o;if(e===void 0||n===void 0){const i=t&&mp(t);if(!i)e=t.clientWidth,n=t.clientHeight;else{const a=i.getBoundingClientRect(),l=Nu(i),u=bs(l,"border","width"),d=bs(l,"padding");e=a.width-d.width-u.width,n=a.height-d.height-u.height,r=ju(l.maxWidth,i,"clientWidth"),o=ju(l.maxHeight,i,"clientHeight")}}return{width:e,height:n,maxWidth:r||Iu,maxHeight:o||Iu}}const Oi=t=>Math.round(t*10)/10;function gI(t,e,n,r){const o=Nu(t),i=bs(o,"margin"),a=ju(o.maxWidth,t,"clientWidth")||Iu,l=ju(o.maxHeight,t,"clientHeight")||Iu,u=AI(t,e,n);let{width:d,height:h}=u;if(o.boxSizing==="content-box"){const g=bs(o,"border","width"),m=bs(o,"padding");d-=m.width+g.width,h-=m.height+g.height}return d=Math.max(0,d-i.width),h=Math.max(0,r?d/r:h-i.height),d=Oi(Math.min(d,a,u.maxWidth)),h=Oi(Math.min(h,l,u.maxHeight)),d&&!h&&(h=Oi(d/2)),(e!==void 0||n!==void 0)&&r&&u.height&&h>u.height&&(h=u.height,d=Oi(Math.floor(h*r))),{width:d,height:h}}function cx(t,e,n){const r=e||1,o=Oi(t.height*r),i=Oi(t.width*r);t.height=Oi(t.height),t.width=Oi(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!==o||a.width!==i?(t.currentDevicePixelRatio=r,a.height=o,a.width=i,t.ctx.setTransform(r,0,0,r,0,0),!0):!1}const mI=(function(){let t=!1;try{const e={get passive(){return t=!0,!1}};gp()&&(window.addEventListener("test",null,e),window.removeEventListener("test",null,e))}catch{}return t})();function ux(t,e){const n=dI(t,e),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}const vI=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}}},yI=function(){return{x(t){return t},setWidth(t){},textAlign(t){return t},xPlus(t,e){return t+e},leftForLtr(t,e){return t}}};function ya(t,e,n){return t?vI(e,n):yI()}function dx(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 fx(t,e){e!==void 0&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function zu(t,e,n){return t.options.clip?t[n]:e[n]}function xI(t,e){const{xScale:n,yScale:r}=t;return n&&r?{left:zu(n,e,"left"),right:zu(n,e,"right"),top:zu(r,e,"top"),bottom:zu(r,e,"bottom")}:e}function bI(t,e){const n=e._clip;if(n.disabled)return!1;const r=xI(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 wI{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(e,n,r,o){const i=n.listeners[o],a=n.duration;i.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=Hy.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(e=Date.now()){let n=0;this._charts.forEach((r,o)=>{if(!r.running||!r.items.length)return;const i=r.items;let a=i.length-1,l=!1,u;for(;a>=0;--a)u=i[a],u._active?(u._total>r.duration&&(r.duration=u._total),u.tick(e),l=!0):(i[a]=i[i.length-1],i.pop());l&&(o.draw(),this._notify(o,r,e,"progress")),i.length||(r.running=!1,this._notify(o,r,e,"complete"),r.initial=!1),n+=i.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,o)=>Math.max(r,o._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 o=r.length-1;for(;o>=0;--o)r[o].cancel();n.items=[],this._notify(e,n,Date.now(),"complete")}remove(e){return this._charts.delete(e)}}var $o=new wI;const hx="transparent",kI={boolean(t,e,n){return n>.5?e:t},color(t,e,n){const r=qy(t||hx),o=r.valid&&qy(e||hx);return o&&o.valid?o.mix(r,n).hexString():e},number(t,e,n){return t+(e-t)*n}};class SI{constructor(e,n,r,o){const i=n[r];o=Fu([e.to,o,i,e.from]);const a=Fu([e.from,i,o]);this._active=!0,this._fn=e.fn||kI[e.type||typeof a],this._easing=Ql[e.easing]||Ql.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=o,this._promises=void 0}active(){return this._active}update(e,n,r){if(this._active){this._notify(!1);const o=this._target[this._prop],i=r-this._start,a=this._duration-i;this._start=r,this._duration=Math.floor(Math.max(a,e.duration)),this._total+=i,this._loop=!!e.loop,this._to=Fu([e.to,n,o,e.from]),this._from=Fu([e.from,o,n])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(e){const n=e-this._start,r=this._duration,o=this._prop,i=this._from,a=this._loop,l=this._to;let u;if(this._active=i!==l&&(a||n<r),!this._active){this._target[o]=l,this._notify(!0);return}if(n<0){this._target[o]=i;return}u=n/r%2,u=a&&u>1?2-u:u,u=this._easing(Math.min(1,Math.max(0,u))),this._target[o]=this._fn(i,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 o=0;o<r.length;o++)r[o][n]()}}class px{constructor(e,n){this._chart=e,this._properties=new Map,this.configure(n)}configure(e){if(!ht(e))return;const n=Object.keys(Vt.animation),r=this._properties;Object.getOwnPropertyNames(e).forEach(o=>{const i=e[o];if(!ht(i))return;const a={};for(const l of n)a[l]=i[l];(on(i.properties)&&i.properties||[o]).forEach(l=>{(l===o||!r.has(l))&&r.set(l,a)})})}_animateOptions(e,n){const r=n.options,o=CI(e,r);if(!o)return[];const i=this._createAnimations(o,r);return r.$shared&&EI(e.options.$animations,r).then(()=>{e.options=r},()=>{}),i}_createAnimations(e,n){const r=this._properties,o=[],i=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"){o.push(...this._animateOptions(e,n));continue}const h=n[d];let p=i[d];const g=r.get(d);if(p)if(g&&p.active()){p.update(g,h,l);continue}else p.cancel();if(!g||!g.duration){e[d]=h;continue}i[d]=p=new SI(g,e,d,h),o.push(p)}return o}update(e,n){if(this._properties.size===0){Object.assign(e,n);return}const r=this._createAnimations(e,n);if(r.length)return $o.add(this._chart,r),!0}}function EI(t,e){const n=[],r=Object.keys(e);for(let o=0;o<r.length;o++){const i=t[r[o]];i&&i.active()&&n.push(i.wait())}return Promise.all(n)}function CI(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 Ax(t,e){const n=t&&t.options||{},r=n.reverse,o=n.min===void 0?e:0,i=n.max===void 0?e:0;return{start:r?i:o,end:r?o:i}}function PI(t,e,n){if(n===!1)return!1;const r=Ax(t,n),o=Ax(e,n);return{top:o.end,right:r.end,bottom:o.start,left:r.start}}function DI(t){let e,n,r,o;return ht(t)?(e=t.top,n=t.right,r=t.bottom,o=t.left):e=n=r=o=t,{top:e,right:n,bottom:r,left:o,disabled:t===!1}}function gx(t,e){const n=[],r=t._getSortedDatasetMetas(e);let o,i;for(o=0,i=r.length;o<i;++o)n.push(r[o].index);return n}function mx(t,e,n,r={}){const o=t.keys,i=r.mode==="single";let a,l,u,d;if(e===null)return;let h=!1;for(a=0,l=o.length;a<l;++a){if(u=+o[a],u===n){if(h=!0,r.all)continue;break}d=t.values[u],Ir(d)&&(i||e===0||Mi(e)===Mi(d))&&(e+=d)}return!h&&!r.all?0:e}function BI(t,e){const{iScale:n,vScale:r}=e,o=n.axis==="x"?"x":"y",i=r.axis==="x"?"x":"y",a=Object.keys(t),l=new Array(a.length);let u,d,h;for(u=0,d=a.length;u<d;++u)h=a[u],l[u]={[o]:h,[i]:t[h]};return l}function vp(t,e){const n=t&&t.options.stacked;return n||n===void 0&&e.stack!==void 0}function TI(t,e,n){return`${t.id}.${e.id}.${n.stack||n.type}`}function II(t){const{min:e,max:n,minDefined:r,maxDefined:o}=t.getUserBounds();return{min:r?e:Number.NEGATIVE_INFINITY,max:o?n:Number.POSITIVE_INFINITY}}function _I(t,e,n){const r=t[e]||(t[e]={});return r[n]||(r[n]={})}function vx(t,e,n,r){for(const o of e.getMatchingVisibleMetas(r).reverse()){const i=t[o.index];if(n&&i>0||!n&&i<0)return o.index}return null}function yx(t,e){const{chart:n,_cachedMeta:r}=t,o=n._stacks||(n._stacks={}),{iScale:i,vScale:a,index:l}=r,u=i.axis,d=a.axis,h=TI(i,a,r),p=e.length;let g;for(let m=0;m<p;++m){const y=e[m],{[u]:w,[d]:x}=y,P=y._stacks||(y._stacks={});g=P[d]=_I(o,h,w),g[l]=x,g._top=vx(g,a,!0,r.type),g._bottom=vx(g,a,!1,r.type);const _=g._visualValues||(g._visualValues={});_[l]=x}}function yp(t,e){const n=t.scales;return Object.keys(n).filter(r=>n[r].axis===e).shift()}function MI(t,e){return ma(t,{active:!1,dataset:void 0,datasetIndex:e,index:e,mode:"default",type:"dataset"})}function OI(t,e,n){return ma(t,{active:!1,dataIndex:e,parsed:void 0,raw:void 0,element:n,index:e,mode:"default",type:"data"})}function Vl(t,e){const n=t.controller.index,r=t.vScale&&t.vScale.axis;if(r){e=e||t._parsed;for(const o of e){const i=o._stacks;if(!i||i[r]===void 0||i[r][n]===void 0)return;delete i[r][n],i[r]._visualValues!==void 0&&i[r]._visualValues[n]!==void 0&&delete i[r]._visualValues[n]}}}const xp=t=>t==="reset"||t==="none",xx=(t,e)=>e?t:Object.assign({},t),RI=(t,e,n)=>t&&!e.hidden&&e._stacked&&{keys:gx(n,!0),values:null};class Qu{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=vp(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&&Vl(this._cachedMeta),this.index=e}linkScales(){const e=this.chart,n=this._cachedMeta,r=this.getDataset(),o=(p,g,m,y)=>p==="x"?g:p==="r"?y:m,i=n.xAxisID=mt(r.xAxisID,yp(e,"x")),a=n.yAxisID=mt(r.yAxisID,yp(e,"y")),l=n.rAxisID=mt(r.rAxisID,yp(e,"r")),u=n.indexAxis,d=n.iAxisID=o(u,i,a,l),h=n.vAxisID=o(u,a,i,l);n.xScale=this.getScaleForId(i),n.yScale=this.getScaleForId(a),n.rScale=this.getScaleForId(l),n.iScale=this.getScaleForId(d),n.vScale=this.getScaleForId(h)}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&&zy(this._data,this),e._stacked&&Vl(e)}_dataCheck(){const e=this.getDataset(),n=e.data||(e.data=[]),r=this._data;if(ht(n)){const o=this._cachedMeta;this._data=BI(n,o)}else if(r!==n){if(r){zy(r,this);const o=this._cachedMeta;Vl(o),o._parsed=[]}n&&Object.isExtensible(n)&&O8(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 o=!1;this._dataCheck();const i=n._stacked;n._stacked=vp(n.vScale,n),n.stack!==r.stack&&(o=!0,Vl(n),n.stack=r.stack),this._resyncElements(e),(o||i!==n._stacked)&&(yx(this,n._parsed),n._stacked=vp(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:o}=this,{iScale:i,_stacked:a}=r,l=i.axis;let u=e===0&&n===o.length?!0:r._sorted,d=e>0&&r._parsed[e-1],h,p,g;if(this._parsing===!1)r._parsed=o,r._sorted=!0,g=o;else{on(o[e])?g=this.parseArrayData(r,o,e,n):ht(o[e])?g=this.parseObjectData(r,o,e,n):g=this.parsePrimitiveData(r,o,e,n);const m=()=>p[l]===null||d&&p[l]<d[l];for(h=0;h<n;++h)r._parsed[h+e]=p=g[h],u&&(m()&&(u=!1),d=p);r._sorted=u}a&&yx(this,g)}parsePrimitiveData(e,n,r,o){const{iScale:i,vScale:a}=e,l=i.axis,u=a.axis,d=i.getLabels(),h=i===a,p=new Array(o);let g,m,y;for(g=0,m=o;g<m;++g)y=g+r,p[g]={[l]:h||i.parse(d[y],y),[u]:a.parse(n[y],y)};return p}parseArrayData(e,n,r,o){const{xScale:i,yScale:a}=e,l=new Array(o);let u,d,h,p;for(u=0,d=o;u<d;++u)h=u+r,p=n[h],l[u]={x:i.parse(p[0],h),y:a.parse(p[1],h)};return l}parseObjectData(e,n,r,o){const{xScale:i,yScale:a}=e,{xAxisKey:l="x",yAxisKey:u="y"}=this._parsing,d=new Array(o);let h,p,g,m;for(h=0,p=o;h<p;++h)g=h+r,m=n[g],d[h]={x:i.parse(Ii(m,l),g),y:a.parse(Ii(m,u),g)};return d}getParsed(e){return this._cachedMeta._parsed[e]}getDataElement(e){return this._cachedMeta.data[e]}applyStack(e,n,r){const o=this.chart,i=this._cachedMeta,a=n[e.axis],l={keys:gx(o,!0),values:n._stacks[e.axis]._visualValues};return mx(l,a,i.index,{mode:r})}updateRangeFromParsed(e,n,r,o){const i=r[n.axis];let a=i===null?NaN:i;const l=o&&r._stacks[n.axis];o&&l&&(o.values=l,a=mx(o,i,this._cachedMeta.index)),e.min=Math.min(e.min,a),e.max=Math.max(e.max,a)}getMinMax(e,n){const r=this._cachedMeta,o=r._parsed,i=r._sorted&&e===r.iScale,a=o.length,l=this._getOtherScale(e),u=RI(n,r,this.chart),d={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:h,max:p}=II(l);let g,m;function y(){m=o[g];const w=m[l.axis];return!Ir(m[e.axis])||h>w||p<w}for(g=0;g<a&&!(!y()&&(this.updateRangeFromParsed(d,e,m,u),i));++g);if(i){for(g=a-1;g>=0;--g)if(!y()){this.updateRangeFromParsed(d,e,m,u);break}}return d}getAllParsedValues(e){const n=this._cachedMeta._parsed,r=[];let o,i,a;for(o=0,i=n.length;o<i;++o)a=n[o][e.axis],Ir(a)&&r.push(a);return r}getMaxOverflow(){return!1}getLabelAndValue(e){const n=this._cachedMeta,r=n.iScale,o=n.vScale,i=this.getParsed(e);return{label:r?""+r.getLabelForValue(i[r.axis]):"",value:o?""+o.getLabelForValue(i[o.axis]):""}}_update(e){const n=this._cachedMeta;this.update(e||"default"),n._clip=DI(mt(this.options.clip,PI(n.xScale,n.yScale,this.getMaxOverflow())))}update(e){}draw(){const e=this._ctx,n=this.chart,r=this._cachedMeta,o=r.data||[],i=n.chartArea,a=[],l=this._drawStart||0,u=this._drawCount||o.length-l,d=this.options.drawActiveElementsOnTop;let h;for(r.dataset&&r.dataset.draw(e,i,l,u),h=l;h<l+u;++h){const p=o[h];p.hidden||(p.active&&d?a.push(p):p.draw(e,i))}for(h=0;h<a.length;++h)a[h].draw(e,i)}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 o=this.getDataset();let i;if(e>=0&&e<this._cachedMeta.data.length){const a=this._cachedMeta.data[e];i=a.$context||(a.$context=OI(this.getContext(),e,a)),i.parsed=this.getParsed(e),i.raw=o.data[e],i.index=i.dataIndex=e}else i=this.$context||(this.$context=MI(this.chart.getContext(),this.index)),i.dataset=o,i.index=i.datasetIndex=this.index;return i.active=!!n,i.mode=r,i}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 o=n==="active",i=this._cachedDataOpts,a=e+"-"+n,l=i[a],u=this.enableOptionSharing&&zl(r);if(l)return xx(l,u);const d=this.chart.config,h=d.datasetElementScopeKeys(this._type,e),p=o?[`${e}Hover`,"hover",e,""]:[e,""],g=d.getOptionScopes(this.getDataset(),h),m=Object.keys(Vt.elements[e]),y=()=>this.getContext(r,o,n),w=d.resolveNamedOptions(g,m,y,p);return w.$shared&&(w.$shared=u,i[a]=Object.freeze(xx(w,u))),w}_resolveAnimations(e,n,r){const o=this.chart,i=this._cachedDataOpts,a=`animation-${n}`,l=i[a];if(l)return l;let u;if(o.options.animation!==!1){const h=this.chart.config,p=h.datasetAnimationScopeKeys(this._type,n),g=h.getOptionScopes(this.getDataset(),p);u=h.createResolver(g,this.getContext(e,r,n))}const d=new px(o,u&&u.animations);return u&&u._cacheable&&(i[a]=Object.freeze(d)),d}getSharedOptions(e){if(e.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},e))}includeOptions(e,n){return!n||xp(e)||this.chart._animationsDisabled}_getSharedOptions(e,n){const r=this.resolveDataElementOptions(e,n),o=this._sharedOptions,i=this.getSharedOptions(r),a=this.includeOptions(n,i)||i!==o;return this.updateSharedOptions(i,n,r),{sharedOptions:i,includeOptions:a}}updateElement(e,n,r,o){xp(o)?Object.assign(e,r):this._resolveAnimations(n,o).update(e,r)}updateSharedOptions(e,n,r){e&&!xp(n)&&this._resolveAnimations(void 0,n).update(e,r)}_setStyle(e,n,r,o){e.active=o;const i=this.getStyle(n,o);this._resolveAnimations(n,r,o).update(e,{options:!o&&this.getSharedOptions(i)||i})}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 o=r.length,i=n.length,a=Math.min(i,o);a&&this.parse(0,a),i>o?this._insertElements(o,i-o,e):i<o&&this._removeElements(i,o-i)}_insertElements(e,n,r=!0){const o=this._cachedMeta,i=o.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(i),l=e;l<a;++l)i[l]=new this.dataElementType;this._parsing&&u(o._parsed),this.parse(e,n),r&&this.updateElements(i,e,n,"reset")}updateElements(e,n,r,o){}_removeElements(e,n){const r=this._cachedMeta;if(this._parsing){const o=r._parsed.splice(e,n);r._stacked&&Vl(r,o)}r.data.splice(e,n)}_sync(e){if(this._parsing)this._syncList.push(e);else{const[n,r,o]=e;this[n](r,o)}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 LI(t,e){if(!t._cache.$bar){const n=t.getMatchingVisibleMetas(e);let r=[];for(let o=0,i=n.length;o<i;o++)r=r.concat(n[o].controller.getAllParsedValues(t));t._cache.$bar=Qy(r.sort((o,i)=>o-i))}return t._cache.$bar}function FI(t){const e=t.iScale,n=LI(e,t.type);let r=e._length,o,i,a,l;const u=()=>{a===32767||a===-32768||(zl(l)&&(r=Math.min(r,Math.abs(a-l)||r)),l=a)};for(o=0,i=n.length;o<i;++o)a=e.getPixelForValue(n[o]),u();for(l=void 0,o=0,i=e.ticks.length;o<i;++o)a=e.getPixelForTick(o),u();return r}function jI(t,e,n,r){const o=n.barThickness;let i,a;return Dt(o)?(i=e.min*n.categoryPercentage,a=n.barPercentage):(i=o*r,a=1),{chunk:i/r,ratio:a,start:e.pixels[t]-i/2}}function NI(t,e,n,r){const o=e.pixels,i=o[t];let a=t>0?o[t-1]:null,l=t<o.length-1?o[t+1]:null;const u=n.categoryPercentage;a===null&&(a=i-(l===null?e.end-e.start:l-i)),l===null&&(l=i+i-a);const d=i-(i-Math.min(a,l))/2*u;return{chunk:Math.abs(l-a)/2*u/r,ratio:n.barPercentage,start:d}}function zI(t,e,n,r){const o=n.parse(t[0],r),i=n.parse(t[1],r),a=Math.min(o,i),l=Math.max(o,i);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:o,end:i,min:a,max:l}}function bx(t,e,n,r){return on(t)?zI(t,e,n,r):e[n.axis]=n.parse(t,r),e}function wx(t,e,n,r){const o=t.iScale,i=t.vScale,a=o.getLabels(),l=o===i,u=[];let d,h,p,g;for(d=n,h=n+r;d<h;++d)g=e[d],p={},p[o.axis]=l||o.parse(a[d],d),u.push(bx(g,p,i,d));return u}function bp(t){return t&&t.barStart!==void 0&&t.barEnd!==void 0}function QI(t,e,n){return t!==0?Mi(t):(e.isHorizontal()?1:-1)*(e.min>=n?1:-1)}function HI(t){let e,n,r,o,i;return t.horizontal?(e=t.base>t.x,n="left",r="right"):(e=t.base<t.y,n="bottom",r="top"),e?(o="end",i="start"):(o="start",i="end"),{start:n,end:r,reverse:e,top:o,bottom:i}}function UI(t,e,n,r){let o=e.borderSkipped;const i={};if(!o){t.borderSkipped=i;return}if(o===!0){t.borderSkipped={top:!0,right:!0,bottom:!0,left:!0};return}const{start:a,end:l,reverse:u,top:d,bottom:h}=HI(t);o==="middle"&&n&&(t.enableBorderRadius=!0,(n._top||0)===r?o=d:(n._bottom||0)===r?o=h:(i[kx(h,a,l,u)]=!0,o=d)),i[kx(o,a,l,u)]=!0,t.borderSkipped=i}function kx(t,e,n,r){return r?(t=VI(t,e,n),t=Sx(t,n,e)):t=Sx(t,e,n),t}function VI(t,e,n){return t===e?n:t===n?e:t}function Sx(t,e,n){return t==="start"?e:t==="end"?n:t}function WI(t,{inflateAmount:e},n){t.inflateAmount=e==="auto"?n===1?.33:0:e}class YI extends Qu{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,o){return wx(e,n,r,o)}parseArrayData(e,n,r,o){return wx(e,n,r,o)}parseObjectData(e,n,r,o){const{iScale:i,vScale:a}=e,{xAxisKey:l="x",yAxisKey:u="y"}=this._parsing,d=i.axis==="x"?l:u,h=a.axis==="x"?l:u,p=[];let g,m,y,w;for(g=r,m=r+o;g<m;++g)w=n[g],y={},y[i.axis]=i.parse(Ii(w,d),g),p.push(bx(Ii(w,h),y,a,g));return p}updateRangeFromParsed(e,n,r,o){super.updateRangeFromParsed(e,n,r,o);const i=r._custom;i&&n===this._cachedMeta.vScale&&(e.min=Math.min(e.min,i.min),e.max=Math.max(e.max,i.max))}getMaxOverflow(){return 0}getLabelAndValue(e){const n=this._cachedMeta,{iScale:r,vScale:o}=n,i=this.getParsed(e),a=i._custom,l=bp(a)?"["+a.start+", "+a.end+"]":""+o.getLabelForValue(i[o.axis]);return{label:""+r.getLabelForValue(i[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,o){const i=o==="reset",{index:a,_cachedMeta:{vScale:l}}=this,u=l.getBasePixel(),d=l.isHorizontal(),h=this._getRuler(),{sharedOptions:p,includeOptions:g}=this._getSharedOptions(n,o);for(let m=n;m<n+r;m++){const y=this.getParsed(m),w=i||Dt(y[l.axis])?{base:u,head:u}:this._calculateBarValuePixels(m),x=this._calculateBarIndexPixels(m,h),P=(y._stacks||{})[l.axis],_={horizontal:d,base:w.base,enableBorderRadius:!P||bp(y._custom)||a===P._top||a===P._bottom,x:d?w.head:x.center,y:d?x.center:w.head,height:d?x.size:Math.abs(w.size),width:d?Math.abs(w.size):x.size};g&&(_.options=p||this.resolveDataElementOptions(m,e[m].active?"active":o));const D=_.options||e[m].options;UI(_,D,P,a),WI(_,D,h.ratio),this.updateElement(e[m],m,_,o)}}_getStacks(e,n){const{iScale:r}=this._cachedMeta,o=r.getMatchingVisibleMetas(this._type).filter(h=>h.controller.options.grouped),i=r.options.stacked,a=[],l=this._cachedMeta.controller.getParsed(n),u=l&&l[r.axis],d=h=>{const p=h._parsed.find(m=>m[r.axis]===u),g=p&&p[h.vScale.axis];if(Dt(g)||isNaN(g))return!0};for(const h of o)if(!(n!==void 0&&d(h))&&((i===!1||a.indexOf(h.stack)===-1||i===void 0&&h.stack===void 0)&&a.push(h.stack),h.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[mt(this.chart.options.indexAxis==="x"?r.xAxisID:r.yAxisID,n)]=!0;return Object.keys(e)}_getStackIndex(e,n,r){const o=this._getStacks(e,r),i=n!==void 0?o.indexOf(n):-1;return i===-1?o.length-1:i}_getRuler(){const e=this.options,n=this._cachedMeta,r=n.iScale,o=[];let i,a;for(i=0,a=n.data.length;i<a;++i)o.push(r.getPixelForValue(this.getParsed(i)[r.axis],i));const l=e.barThickness;return{min:l||FI(n),pixels:o,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:o},options:{base:i,minBarLength:a}}=this,l=i||0,u=this.getParsed(e),d=u._custom,h=bp(d);let p=u[n.axis],g=0,m=r?this.applyStack(n,u,r):p,y,w;m!==p&&(g=m-p,m=p),h&&(p=d.barStart,m=d.barEnd-d.barStart,p!==0&&Mi(p)!==Mi(d.barEnd)&&(g=0),g+=p);const x=!Dt(i)&&!h?i:g;let P=n.getPixelForValue(x);if(this.chart.getDataVisibility(e)?y=n.getPixelForValue(g+m):y=P,w=y-P,Math.abs(w)<a){w=QI(w,n,l)*a,p===l&&(P-=w/2);const _=n.getPixelForDecimal(0),D=n.getPixelForDecimal(1),C=Math.min(_,D),N=Math.max(_,D);P=Math.max(Math.min(P,N),C),y=P+w,r&&!h&&(u._stacks[n.axis]._visualValues[o]=n.getValueForPixel(y)-n.getValueForPixel(P))}if(P===n.getPixelForValue(l)){const _=Mi(w)*n.getLineWidthForValue(l)/2;P+=_,w-=_}return{size:w,base:P,head:y,center:y+w/2}}_calculateBarIndexPixels(e,n){const r=n.scale,o=this.options,i=o.skipNull,a=mt(o.maxBarThickness,1/0);let l,u;const d=this._getAxisCount();if(n.grouped){const h=i?this._getStackCount(e):n.stackCount,p=o.barThickness==="flex"?NI(e,n,o,h*d):jI(e,n,o,h*d),g=this.chart.options.indexAxis==="x"?this.getDataset().xAxisID:this.getDataset().yAxisID,m=this._getAxis().indexOf(mt(g,this.getFirstScaleIdForIndexAxis())),y=this._getStackIndex(this.index,this._cachedMeta.stack,i?e:void 0)+m;l=p.start+p.chunk*y+p.chunk/2,u=Math.min(a,p.chunk*p.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,o=r.length;let i=0;for(;i<o;++i)this.getParsed(i)[n.axis]!==null&&!r[i].hidden&&r[i].draw(this._ctx)}}function qI(t,e,n){let r=1,o=1,i=0,a=0;if(e<hr){const l=t,u=l+e,d=Math.cos(l),h=Math.sin(l),p=Math.cos(u),g=Math.sin(u),m=(D,C,N)=>op(D,l,u,!0)?1:Math.max(C,C*n,N,N*n),y=(D,C,N)=>op(D,l,u,!0)?-1:Math.min(C,C*n,N,N*n),w=m(0,d,p),x=m(pr,h,g),P=y(sn,d,p),_=y(sn+pr,h,g);r=(w-P)/2,o=(x-_)/2,i=-(w+P)/2,a=-(x+_)/2}return{ratioX:r,ratioY:o,offsetX:i,offsetY:a}}class KI extends Qu{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:o,color:i,useBorderRadius:a,borderRadius:l}}=e.legend.options;return n.labels.length&&n.datasets.length?n.labels.map((u,d)=>{const p=e.getDatasetMeta(0).controller.getStyle(d);return{text:u,fillStyle:p.backgroundColor,fontColor:i,hidden:!e.getDataVisibility(d),lineDash:p.borderDash,lineDashOffset:p.borderDashOffset,lineJoin:p.borderJoinStyle,lineWidth:p.borderWidth,strokeStyle:p.borderColor,textAlign:o,pointStyle:r,borderRadius:a&&(l||p.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,o=this._cachedMeta;if(this._parsing===!1)o._parsed=r;else{let i=u=>+r[u];if(ht(r[e])){const{key:u="value"}=this._parsing;i=d=>+Ii(r[d],u)}let a,l;for(a=e,l=e+n;a<l;++a)o._parsed[a]=i(a)}}_getRotation(){return ko(this.options.rotation-90)}_getCircumference(){return ko(this.options.circumference)}_getRotationExtents(){let e=hr,n=-hr;for(let r=0;r<this.chart.data.datasets.length;++r)if(this.chart.isDatasetVisible(r)&&this.chart.getDatasetMeta(r).type===this._type){const o=this.chart.getDatasetMeta(r).controller,i=o._getRotation(),a=o._getCircumference();e=Math.min(e,i),n=Math.max(n,i+a)}return{rotation:e,circumference:n-e}}update(e){const n=this.chart,{chartArea:r}=n,o=this._cachedMeta,i=o.data,a=this.getMaxBorderWidth()+this.getMaxOffset(i)+this.options.spacing,l=Math.max((Math.min(r.width,r.height)-a)/2,0),u=Math.min(m8(this.options.cutout,l),1),d=this._getRingWeight(this.index),{circumference:h,rotation:p}=this._getRotationExtents(),{ratioX:g,ratioY:m,offsetX:y,offsetY:w}=qI(p,h,u),x=(r.width-a)/g,P=(r.height-a)/m,_=Math.max(Math.min(x,P)/2,0),D=Iy(this.options.radius,_),C=Math.max(D*u,0),N=(D-C)/this._getVisibleDatasetWeightTotal();this.offsetX=y*D,this.offsetY=w*D,o.total=this.calculateTotal(),this.outerRadius=D-N*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-N*d,0),this.updateElements(i,0,i.length,e)}_circumference(e,n){const r=this.options,o=this._cachedMeta,i=this._getCircumference();return n&&r.animation.animateRotate||!this.chart.getDataVisibility(e)||o._parsed[e]===null||o.data[e].hidden?0:this.calculateCircumference(o._parsed[e]*i/hr)}updateElements(e,n,r,o){const i=o==="reset",a=this.chart,l=a.chartArea,d=a.options.animation,h=(l.left+l.right)/2,p=(l.top+l.bottom)/2,g=i&&d.animateScale,m=g?0:this.innerRadius,y=g?0:this.outerRadius,{sharedOptions:w,includeOptions:x}=this._getSharedOptions(n,o);let P=this._getRotation(),_;for(_=0;_<n;++_)P+=this._circumference(_,i);for(_=n;_<n+r;++_){const D=this._circumference(_,i),C=e[_],N={x:h+this.offsetX,y:p+this.offsetY,startAngle:P,endAngle:P+D,circumference:D,outerRadius:y,innerRadius:m};x&&(N.options=w||this.resolveDataElementOptions(_,C.active?"active":o)),P+=D,this.updateElement(C,_,N,o)}}calculateTotal(){const e=this._cachedMeta,n=e.data;let r=0,o;for(o=0;o<n.length;o++){const i=e._parsed[o];i!==null&&!isNaN(i)&&this.chart.getDataVisibility(o)&&!n[o].hidden&&(r+=Math.abs(i))}return r}calculateCircumference(e){const n=this._cachedMeta.total;return n>0&&!isNaN(e)?hr*(Math.abs(e)/n):0}getLabelAndValue(e){const n=this._cachedMeta,r=this.chart,o=r.data.labels||[],i=Ru(n._parsed[e],r.options.locale);return{label:o[e]||"",value:i}}getMaxBorderWidth(e){let n=0;const r=this.chart;let o,i,a,l,u;if(!e){for(o=0,i=r.data.datasets.length;o<i;++o)if(r.isDatasetVisible(o)){a=r.getDatasetMeta(o),e=a.data,l=a.controller;break}}if(!e)return 0;for(o=0,i=e.length;o<i;++o)u=l.resolveDataElementOptions(o),u.borderAlign!=="inner"&&(n=Math.max(n,u.borderWidth||0,u.hoverBorderWidth||0));return n}getMaxOffset(e){let n=0;for(let r=0,o=e.length;r<o;++r){const i=this.resolveDataElementOptions(r);n=Math.max(n,i.offset||0,i.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(mt(this.chart.data.datasets[e].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}class GI extends Qu{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:o}}=e.legend.options;return n.labels.map((i,a)=>{const u=e.getDatasetMeta(0).controller.getStyle(a);return{text:i,fillStyle:u.backgroundColor,strokeStyle:u.borderColor,fontColor:o,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,o=r.data.labels||[],i=Ru(n._parsed[e].r,r.options.locale);return{label:o[e]||"",value:i}}parseObjectData(e,n,r,o){return uI.bind(this)(e,n,r,o)}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,o)=>{const i=this.getParsed(o).r;!isNaN(i)&&this.chart.getDataVisibility(o)&&(i<n.min&&(n.min=i),i>n.max&&(n.max=i))}),n}_updateRadius(){const e=this.chart,n=e.chartArea,r=e.options,o=Math.min(n.right-n.left,n.bottom-n.top),i=Math.max(o/2,0),a=Math.max(r.cutoutPercentage?i/100*r.cutoutPercentage:1,0),l=(i-a)/e.getVisibleDatasetCount();this.outerRadius=i-l*this.index,this.innerRadius=this.outerRadius-l}updateElements(e,n,r,o){const i=o==="reset",a=this.chart,u=a.options.animation,d=this._cachedMeta.rScale,h=d.xCenter,p=d.yCenter,g=d.getIndexAngle(0)-.5*sn;let m=g,y;const w=360/this.countVisibleElements();for(y=0;y<n;++y)m+=this._computeAngle(y,o,w);for(y=n;y<n+r;y++){const x=e[y];let P=m,_=m+this._computeAngle(y,o,w),D=a.getDataVisibility(y)?d.getDistanceFromCenterForValue(this.getParsed(y).r):0;m=_,i&&(u.animateScale&&(D=0),u.animateRotate&&(P=_=g));const C={x:h,y:p,innerRadius:0,outerRadius:D,startAngle:P,endAngle:_,options:this.resolveDataElementOptions(y,x.active?"active":o)};this.updateElement(x,y,C,o)}}countVisibleElements(){const e=this._cachedMeta;let n=0;return e.data.forEach((r,o)=>{!isNaN(this.getParsed(o).r)&&this.chart.getDataVisibility(o)&&n++}),n}_computeAngle(e,n,r){return this.chart.getDataVisibility(e)?ko(this.resolveDataElementOptions(e,n).angle||r):0}}function ks(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class wp{static override(e){Object.assign(wp.prototype,e)}options;constructor(e){this.options=e||{}}init(){}formats(){return ks()}parse(){return ks()}format(){return ks()}add(){return ks()}diff(){return ks()}startOf(){return ks()}endOf(){return ks()}}var XI={_date:wp};function JI(t,e,n,r){const{controller:o,data:i,_sorted:a}=t,l=o._cachedMeta.iScale,u=t.dataset&&t.dataset.options?t.dataset.options.spanGaps:null;if(l&&e===l.axis&&e!=="r"&&a&&i.length){const d=l._reversePixels?_8:sp;if(r){if(o._sharedOptions){const h=i[0],p=typeof h.getRange=="function"&&h.getRange(e);if(p){const g=d(i,e,n-p),m=d(i,e,n+p);return{lo:g.lo,hi:m.hi}}}}else{const h=d(i,e,n);if(u){const{vScale:p}=o._cachedMeta,{_parsed:g}=t,m=g.slice(0,h.lo+1).reverse().findIndex(w=>!Dt(w[p.axis]));h.lo-=Math.max(0,m);const y=g.slice(h.hi).findIndex(w=>!Dt(w[p.axis]));h.hi+=Math.max(0,y)}return h}}return{lo:0,hi:i.length-1}}function Hu(t,e,n,r,o){const i=t.getSortedVisibleDatasetMetas(),a=n[e];for(let l=0,u=i.length;l<u;++l){const{index:d,data:h}=i[l],{lo:p,hi:g}=JI(i[l],e,a,o);for(let m=p;m<=g;++m){const y=h[m];y.skip||r(y,d,m)}}}function ZI(t){const e=t.indexOf("x")!==-1,n=t.indexOf("y")!==-1;return function(r,o){const i=e?Math.abs(r.x-o.x):0,a=n?Math.abs(r.y-o.y):0;return Math.sqrt(Math.pow(i,2)+Math.pow(a,2))}}function kp(t,e,n,r,o){const i=[];return!o&&!t.isPointInArea(e)||Hu(t,n,e,function(l,u,d){!o&&!ex(l,t.chartArea,0)||l.inRange(e.x,e.y,r)&&i.push({element:l,datasetIndex:u,index:d})},!0),i}function $I(t,e,n,r){let o=[];function i(a,l,u){const{startAngle:d,endAngle:h}=a.getProps(["startAngle","endAngle"],r),{angle:p}=B8(a,{x:e.x,y:e.y});op(p,d,h)&&o.push({element:a,datasetIndex:l,index:u})}return Hu(t,n,e,i),o}function e_(t,e,n,r,o,i){let a=[];const l=ZI(n);let u=Number.POSITIVE_INFINITY;function d(h,p,g){const m=h.inRange(e.x,e.y,o);if(r&&!m)return;const y=h.getCenterPoint(o);if(!(!!i||t.isPointInArea(y))&&!m)return;const x=l(e,y);x<u?(a=[{element:h,datasetIndex:p,index:g}],u=x):x===u&&a.push({element:h,datasetIndex:p,index:g})}return Hu(t,n,e,d),a}function Sp(t,e,n,r,o,i){return!i&&!t.isPointInArea(e)?[]:n==="r"&&!r?$I(t,e,n,o):e_(t,e,n,r,o,i)}function Ex(t,e,n,r,o){const i=[],a=n==="x"?"inXRange":"inYRange";let l=!1;return Hu(t,n,e,(u,d,h)=>{u[a]&&u[a](e[n],o)&&(i.push({element:u,datasetIndex:d,index:h}),l=l||u.inRange(e.x,e.y,o))}),r&&!l?[]:i}var t_={modes:{index(t,e,n,r){const o=ws(e,t),i=n.axis||"x",a=n.includeInvisible||!1,l=n.intersect?kp(t,o,i,r,a):Sp(t,o,i,!1,r,a),u=[];return l.length?(t.getSortedVisibleDatasetMetas().forEach(d=>{const h=l[0].index,p=d.data[h];p&&!p.skip&&u.push({element:p,datasetIndex:d.index,index:h})}),u):[]},dataset(t,e,n,r){const o=ws(e,t),i=n.axis||"xy",a=n.includeInvisible||!1;let l=n.intersect?kp(t,o,i,r,a):Sp(t,o,i,!1,r,a);if(l.length>0){const u=l[0].datasetIndex,d=t.getDatasetMeta(u).data;l=[];for(let h=0;h<d.length;++h)l.push({element:d[h],datasetIndex:u,index:h})}return l},point(t,e,n,r){const o=ws(e,t),i=n.axis||"xy",a=n.includeInvisible||!1;return kp(t,o,i,r,a)},nearest(t,e,n,r){const o=ws(e,t),i=n.axis||"xy",a=n.includeInvisible||!1;return Sp(t,o,i,n.intersect,r,a)},x(t,e,n,r){const o=ws(e,t);return Ex(t,o,"x",n.intersect,r)},y(t,e,n,r){const o=ws(e,t);return Ex(t,o,"y",n.intersect,r)}}};const Cx=["left","top","right","bottom"];function Wl(t,e){return t.filter(n=>n.pos===e)}function Px(t,e){return t.filter(n=>Cx.indexOf(n.pos)===-1&&n.box.axis===e)}function Yl(t,e){return t.sort((n,r)=>{const o=e?r:n,i=e?n:r;return o.weight===i.weight?o.index-i.index:o.weight-i.weight})}function n_(t){const e=[];let n,r,o,i,a,l;for(n=0,r=(t||[]).length;n<r;++n)o=t[n],{position:i,options:{stack:a,stackWeight:l=1}}=o,e.push({index:n,box:o,pos:i,horizontal:o.isHorizontal(),weight:o.weight,stack:a&&i+a,stackWeight:l});return e}function r_(t){const e={};for(const n of t){const{stack:r,pos:o,stackWeight:i}=n;if(!r||!Cx.includes(o))continue;const a=e[r]||(e[r]={count:0,placed:0,weight:0,size:0});a.count++,a.weight+=i}return e}function o_(t,e){const n=r_(t),{vBoxMaxWidth:r,hBoxMaxHeight:o}=e;let i,a,l;for(i=0,a=t.length;i<a;++i){l=t[i];const{fullSize:u}=l.box,d=n[l.stack],h=d&&l.stackWeight/d.weight;l.horizontal?(l.width=h?h*r:u&&e.availableWidth,l.height=o):(l.width=r,l.height=h?h*o:u&&e.availableHeight)}return n}function i_(t){const e=n_(t),n=Yl(e.filter(d=>d.box.fullSize),!0),r=Yl(Wl(e,"left"),!0),o=Yl(Wl(e,"right")),i=Yl(Wl(e,"top"),!0),a=Yl(Wl(e,"bottom")),l=Px(e,"x"),u=Px(e,"y");return{fullSize:n,leftAndTop:r.concat(i),rightAndBottom:o.concat(u).concat(a).concat(l),chartArea:Wl(e,"chartArea"),vertical:r.concat(o).concat(u),horizontal:i.concat(a).concat(l)}}function Dx(t,e,n,r){return Math.max(t[n],e[n])+Math.max(t[r],e[r])}function Bx(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 s_(t,e,n,r){const{pos:o,box:i}=n,a=t.maxPadding;if(!ht(o)){n.size&&(t[o]-=n.size);const p=r[n.stack]||{size:0,count:1};p.size=Math.max(p.size,n.horizontal?i.height:i.width),n.size=p.size/p.count,t[o]+=n.size}i.getPadding&&Bx(a,i.getPadding());const l=Math.max(0,e.outerWidth-Dx(a,t,"left","right")),u=Math.max(0,e.outerHeight-Dx(a,t,"top","bottom")),d=l!==t.w,h=u!==t.h;return t.w=l,t.h=u,n.horizontal?{same:d,other:h}:{same:h,other:d}}function a_(t){const e=t.maxPadding;function n(r){const o=Math.max(e[r]-t[r],0);return t[r]+=o,o}t.y+=n("top"),t.x+=n("left"),n("right"),n("bottom")}function l_(t,e){const n=e.maxPadding;function r(o){const i={left:0,top:0,right:0,bottom:0};return o.forEach(a=>{i[a]=Math.max(e[a],n[a])}),i}return r(t?["left","right"]:["top","bottom"])}function ql(t,e,n,r){const o=[];let i,a,l,u,d,h;for(i=0,a=t.length,d=0;i<a;++i){l=t[i],u=l.box,u.update(l.width||e.w,l.height||e.h,l_(l.horizontal,e));const{same:p,other:g}=s_(e,n,l,r);d|=p&&o.length,h=h||g,u.fullSize||o.push(l)}return d&&ql(o,e,n,r)||h}function Uu(t,e,n,r,o){t.top=n,t.left=e,t.right=e+r,t.bottom=n+o,t.width=r,t.height=o}function Tx(t,e,n,r){const o=n.padding;let{x:i,y:a}=e;for(const l of t){const u=l.box,d=r[l.stack]||{placed:0,weight:1},h=l.stackWeight/d.weight||1;if(l.horizontal){const p=e.w*h,g=d.size||u.height;zl(d.start)&&(a=d.start),u.fullSize?Uu(u,o.left,a,n.outerWidth-o.right-o.left,g):Uu(u,e.left+d.placed,a,p,g),d.start=a,d.placed+=p,a=u.bottom}else{const p=e.h*h,g=d.size||u.width;zl(d.start)&&(i=d.start),u.fullSize?Uu(u,i,o.top,g,n.outerHeight-o.bottom-o.top):Uu(u,i,e.top+d.placed,g,p),d.start=i,d.placed+=p,i=u.right}}e.x=i,e.y=a}var Mr={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 o=_r(t.options.layout.padding),i=Math.max(e-o.width,0),a=Math.max(n-o.height,0),l=i_(t.boxes),u=l.vertical,d=l.horizontal;wt(t.boxes,w=>{typeof w.beforeLayout=="function"&&w.beforeLayout()});const h=u.reduce((w,x)=>x.box.options&&x.box.options.display===!1?w:w+1,0)||1,p=Object.freeze({outerWidth:e,outerHeight:n,padding:o,availableWidth:i,availableHeight:a,vBoxMaxWidth:i/2/h,hBoxMaxHeight:a/2}),g=Object.assign({},o);Bx(g,_r(r));const m=Object.assign({maxPadding:g,w:i,h:a,x:o.left,y:o.top},o),y=o_(u.concat(d),p);ql(l.fullSize,m,p,y),ql(u,m,p,y),ql(d,m,p,y)&&ql(u,m,p,y),a_(m),Tx(l.leftAndTop,m,p,y),m.x+=m.w,m.y+=m.h,Tx(l.rightAndBottom,m,p,y),t.chartArea={left:m.left,top:m.top,right:m.left+m.w,bottom:m.top+m.h,height:m.h,width:m.w},wt(l.chartArea,w=>{const x=w.box;Object.assign(x,t.chartArea),x.update(m.w,m.h,{left:0,top:0,right:0,bottom:0})})}};class Ix{acquireContext(e,n){}releaseContext(e){return!1}addEventListener(e,n,r){}removeEventListener(e,n,r){}getDevicePixelRatio(){return 1}getMaximumSize(e,n,r,o){return n=Math.max(0,n||e.width),r=r||e.height,{width:n,height:Math.max(0,o?Math.floor(n/o):r)}}isAttached(e){return!0}updateConfig(e){}}class c_ extends Ix{acquireContext(e){return e&&e.getContext&&e.getContext("2d")||null}updateConfig(e){e.options.animation=!1}}const Vu="$chartjs",u_={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},_x=t=>t===null||t==="";function d_(t,e){const n=t.style,r=t.getAttribute("height"),o=t.getAttribute("width");if(t[Vu]={initial:{height:r,width:o,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",_x(o)){const i=ux(t,"width");i!==void 0&&(t.width=i)}if(_x(r))if(t.style.height==="")t.height=t.width/(e||2);else{const i=ux(t,"height");i!==void 0&&(t.height=i)}return t}const Mx=mI?{passive:!0}:!1;function f_(t,e,n){t&&t.addEventListener(e,n,Mx)}function h_(t,e,n){t&&t.canvas&&t.canvas.removeEventListener(e,n,Mx)}function p_(t,e){const n=u_[t.type]||t.type,{x:r,y:o}=ws(t,e);return{type:n,chart:e,native:t,x:r!==void 0?r:null,y:o!==void 0?o:null}}function Wu(t,e){for(const n of t)if(n===e||n.contains(e))return!0}function A_(t,e,n){const r=t.canvas,o=new MutationObserver(i=>{let a=!1;for(const l of i)a=a||Wu(l.addedNodes,r),a=a&&!Wu(l.removedNodes,r);a&&n()});return o.observe(document,{childList:!0,subtree:!0}),o}function g_(t,e,n){const r=t.canvas,o=new MutationObserver(i=>{let a=!1;for(const l of i)a=a||Wu(l.removedNodes,r),a=a&&!Wu(l.addedNodes,r);a&&n()});return o.observe(document,{childList:!0,subtree:!0}),o}const Kl=new Map;let Ox=0;function Rx(){const t=window.devicePixelRatio;t!==Ox&&(Ox=t,Kl.forEach((e,n)=>{n.currentDevicePixelRatio!==t&&e()}))}function m_(t,e){Kl.size||window.addEventListener("resize",Rx),Kl.set(t,e)}function v_(t){Kl.delete(t),Kl.size||window.removeEventListener("resize",Rx)}function y_(t,e,n){const r=t.canvas,o=r&&mp(r);if(!o)return;const i=Uy((l,u)=>{const d=o.clientWidth;n(l,u),d<o.clientWidth&&n()},window),a=new ResizeObserver(l=>{const u=l[0],d=u.contentRect.width,h=u.contentRect.height;d===0&&h===0||i(d,h)});return a.observe(o),m_(t,i),a}function Ep(t,e,n){n&&n.disconnect(),e==="resize"&&v_(t)}function x_(t,e,n){const r=t.canvas,o=Uy(i=>{t.ctx!==null&&n(p_(i,t))},t);return f_(r,e,o),o}class b_ extends Ix{acquireContext(e,n){const r=e&&e.getContext&&e.getContext("2d");return r&&r.canvas===e?(d_(e,n),r):null}releaseContext(e){const n=e.canvas;if(!n[Vu])return!1;const r=n[Vu].initial;["height","width"].forEach(i=>{const a=r[i];Dt(a)?n.removeAttribute(i):n.setAttribute(i,a)});const o=r.style||{};return Object.keys(o).forEach(i=>{n.style[i]=o[i]}),n.width=n.width,delete n[Vu],!0}addEventListener(e,n,r){this.removeEventListener(e,n);const o=e.$proxies||(e.$proxies={}),a={attach:A_,detach:g_,resize:y_}[n]||x_;o[n]=a(e,n,r)}removeEventListener(e,n){const r=e.$proxies||(e.$proxies={}),o=r[n];if(!o)return;({attach:Ep,detach:Ep,resize:Ep}[n]||h_)(e,n,o),r[n]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,n,r,o){return gI(e,n,r,o)}isAttached(e){const n=e&&mp(e);return!!(n&&n.isConnected)}}function w_(t){return!gp()||typeof OffscreenCanvas<"u"&&t instanceof OffscreenCanvas?c_:b_}let xa=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 Mu(this.x)&&Mu(this.y)}getProps(e,n){const r=this.$animations;if(!n||!r)return this;const o={};return e.forEach(i=>{o[i]=r[i]&&r[i].active()?r[i]._to:this[i]}),o}};function k_(t,e){const n=t.options.ticks,r=S_(t),o=Math.min(n.maxTicksLimit||r,r),i=n.major.enabled?C_(e):[],a=i.length,l=i[0],u=i[a-1],d=[];if(a>o)return P_(e,d,i,a/o),d;const h=E_(i,e,o);if(a>0){let p,g;const m=a>1?Math.round((u-l)/(a-1)):null;for(Yu(e,d,h,Dt(m)?0:l-m,l),p=0,g=a-1;p<g;p++)Yu(e,d,h,i[p],i[p+1]);return Yu(e,d,h,u,Dt(m)?e.length:u+m),d}return Yu(e,d,h),d}function S_(t){const e=t.options.offset,n=t._tickSize(),r=t._length/n+(e?0:1),o=t._maxLength/n;return Math.floor(Math.min(r,o))}function E_(t,e,n){const r=D_(t),o=e.length/n;if(!r)return Math.max(o,1);const i=S8(r);for(let a=0,l=i.length-1;a<l;a++){const u=i[a];if(u>o)return u}return Math.max(o,1)}function C_(t){const e=[];let n,r;for(n=0,r=t.length;n<r;n++)t[n].major&&e.push(n);return e}function P_(t,e,n,r){let o=0,i=n[0],a;for(r=Math.ceil(r),a=0;a<t.length;a++)a===i&&(e.push(t[a]),o++,i=n[o*r])}function Yu(t,e,n,r,o){const i=mt(r,0),a=Math.min(mt(o,t.length),t.length);let l=0,u,d,h;for(n=Math.ceil(n),o&&(u=o-r,n=u/Math.floor(u/n)),h=i;h<0;)l++,h=Math.round(i+l*n);for(d=Math.max(i,0);d<a;d++)d===h&&(e.push(t[d]),l++,h=Math.round(i+l*n))}function D_(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 B_=t=>t==="left"?"right":t==="right"?"left":t,Lx=(t,e,n)=>e==="top"||e==="left"?t[e]+n:t[e]-n,Fx=(t,e)=>Math.min(e||t,t);function jx(t,e){const n=[],r=t.length/e,o=t.length;let i=0;for(;i<o;i+=r)n.push(t[Math.floor(i)]);return n}function T_(t,e,n){const r=t.ticks.length,o=Math.min(e,r-1),i=t._startPixel,a=t._endPixel,l=1e-6;let u=t.getPixelForTick(o),d;if(!(n&&(r===1?d=Math.max(u-i,a-u):e===0?d=(t.getPixelForTick(1)-u)/2:d=(u-t.getPixelForTick(o-1))/2,u+=o<e?d:-d,u<i-l||u>a+l)))return u}function I_(t,e){wt(t,n=>{const r=n.gc,o=r.length/2;let i;if(o>e){for(i=0;i<o;++i)delete n.data[r[i]];r.splice(0,o)}})}function Gl(t){return t.drawTicks?t.tickLength:0}function Nx(t,e){if(!t.display)return 0;const n=Bn(t.font,e),r=_r(t.padding);return(on(t.text)?t.text.length:1)*n.lineHeight+r.height}function __(t,e){return ma(t,{scale:e,type:"scale"})}function M_(t,e,n){return ma(t,{tick:n,index:e,type:"tick"})}function O_(t,e,n){let r=ap(t);return(n&&e!=="right"||!n&&e==="right")&&(r=B_(r)),r}function R_(t,e,n,r){const{top:o,left:i,bottom:a,right:l,chart:u}=t,{chartArea:d,scales:h}=u;let p=0,g,m,y;const w=a-o,x=l-i;if(t.isHorizontal()){if(m=Dn(r,i,l),ht(n)){const P=Object.keys(n)[0],_=n[P];y=h[P].getPixelForValue(_)+w-e}else n==="center"?y=(d.bottom+d.top)/2+w-e:y=Lx(t,n,e);g=l-i}else{if(ht(n)){const P=Object.keys(n)[0],_=n[P];m=h[P].getPixelForValue(_)-x+e}else n==="center"?m=(d.left+d.right)/2-x+e:m=Lx(t,n,e);y=Dn(r,a,o),p=n==="left"?-pr:pr}return{titleX:m,titleY:y,maxWidth:g,rotation:p}}class ba extends xa{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:o}=this;return e=wo(e,Number.POSITIVE_INFINITY),n=wo(n,Number.NEGATIVE_INFINITY),r=wo(r,Number.POSITIVE_INFINITY),o=wo(o,Number.NEGATIVE_INFINITY),{min:wo(e,r),max:wo(n,o),minDefined:Ir(e),maxDefined:Ir(n)}}getMinMax(e){let{min:n,max:r,minDefined:o,maxDefined:i}=this.getUserBounds(),a;if(o&&i)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),o||(n=Math.min(n,a.min)),i||(r=Math.max(r,a.max));return n=i&&n>r?r:n,r=o&&n>r?n:r,{min:wo(n,wo(r,n)),max:wo(r,wo(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(){Rt(this.options.beforeUpdate,[this])}update(e,n,r){const{beginAtZero:o,grace:i,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=eI(this,i,o),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const u=l<this.ticks.length;this._convertTicksToLabels(u?jx(this.ticks,l):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),a.display&&(a.autoSkip||a.source==="auto")&&(this.ticks=k_(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(){Rt(this.options.afterUpdate,[this])}beforeSetDimensions(){Rt(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(){Rt(this.options.afterSetDimensions,[this])}_callHooks(e){this.chart.notifyPlugins(e,this.getContext()),Rt(this.options[e],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){Rt(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(e){const n=this.options.ticks;let r,o,i;for(r=0,o=e.length;r<o;r++)i=e[r],i.label=Rt(n.callback,[i.value,r,e],this)}afterTickToLabelConversion(){Rt(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){Rt(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const e=this.options,n=e.ticks,r=Fx(this.ticks.length,e.ticks.maxTicksLimit),o=n.minRotation||0,i=n.maxRotation;let a=o,l,u,d;if(!this._isVisible()||!n.display||o>=i||r<=1||!this.isHorizontal()){this.labelRotation=o;return}const h=this._getLabelSizes(),p=h.widest.width,g=h.highest.height,m=Yr(this.chart.width-p,0,this.maxWidth);l=e.offset?this.maxWidth/r:m/(r-1),p+6>l&&(l=m/(r-(e.offset?.5:1)),u=this.maxHeight-Gl(e.grid)-n.padding-Nx(e.title,this.chart.options.font),d=Math.sqrt(p*p+g*g),a=D8(Math.min(Math.asin(Yr((h.highest.height+6)/l,-1,1)),Math.asin(Yr(u/d,-1,1))-Math.asin(Yr(g/d,-1,1)))),a=Math.max(o,Math.min(i,a))),this.labelRotation=a}afterCalculateLabelRotation(){Rt(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){Rt(this.options.beforeFit,[this])}fit(){const e={width:0,height:0},{chart:n,options:{ticks:r,title:o,grid:i}}=this,a=this._isVisible(),l=this.isHorizontal();if(a){const u=Nx(o,n.options.font);if(l?(e.width=this.maxWidth,e.height=Gl(i)+u):(e.height=this.maxHeight,e.width=Gl(i)+u),r.display&&this.ticks.length){const{first:d,last:h,widest:p,highest:g}=this._getLabelSizes(),m=r.padding*2,y=ko(this.labelRotation),w=Math.cos(y),x=Math.sin(y);if(l){const P=r.mirror?0:x*p.width+w*g.height;e.height=Math.min(this.maxHeight,e.height+P+m)}else{const P=r.mirror?0:w*p.width+x*g.height;e.width=Math.min(this.maxWidth,e.width+P+m)}this._calculatePadding(d,h,x,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,o){const{ticks:{align:i,padding:a},position:l}=this.options,u=this.labelRotation!==0,d=l!=="top"&&this.axis==="x";if(this.isHorizontal()){const h=this.getPixelForTick(0)-this.left,p=this.right-this.getPixelForTick(this.ticks.length-1);let g=0,m=0;u?d?(g=o*e.width,m=r*n.height):(g=r*e.height,m=o*n.width):i==="start"?m=n.width:i==="end"?g=e.width:i!=="inner"&&(g=e.width/2,m=n.width/2),this.paddingLeft=Math.max((g-h+a)*this.width/(this.width-h),0),this.paddingRight=Math.max((m-p+a)*this.width/(this.width-p),0)}else{let h=n.height/2,p=e.height/2;i==="start"?(h=0,p=e.height):i==="end"&&(h=n.height,p=0),this.paddingTop=h+a,this.paddingBottom=p+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(){Rt(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++)Dt(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=jx(r,n)),this._labelSizes=e=this._computeLabelSizes(r,r.length,this.options.ticks.maxTicksLimit)}return e}_computeLabelSizes(e,n,r){const{ctx:o,_longestTextCache:i}=this,a=[],l=[],u=Math.floor(n/Fx(n,r));let d=0,h=0,p,g,m,y,w,x,P,_,D,C,N;for(p=0;p<n;p+=u){if(y=e[p].label,w=this._resolveTickFontOptions(p),o.font=x=w.string,P=i[x]=i[x]||{data:{},gc:[]},_=w.lineHeight,D=C=0,!Dt(y)&&!on(y))D=Xy(o,P.data,P.gc,D,y),C=_;else if(on(y))for(g=0,m=y.length;g<m;++g)N=y[g],!Dt(N)&&!on(N)&&(D=Xy(o,P.data,P.gc,D,N),C+=_);a.push(D),l.push(C),d=Math.max(D,d),h=Math.max(C,h)}I_(i,n);const R=a.indexOf(d),z=l.indexOf(h),W=K=>({width:a[K]||0,height:l[K]||0});return{first:W(0),last:W(n-1),widest:W(R),highest:W(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 I8(this._alignToPixels?xs(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=M_(this.getContext(),e,r))}return this.$context||(this.$context=__(this.chart.getContext(),this))}_tickSize(){const e=this.options.ticks,n=ko(this.labelRotation),r=Math.abs(Math.cos(n)),o=Math.abs(Math.sin(n)),i=this._getLabelSizes(),a=e.autoSkipPadding||0,l=i?i.widest.width+a:0,u=i?i.highest.height+a:0;return this.isHorizontal()?u*r>l*o?l/r:u/o:u*o<l*r?u/r:l/o}_isVisible(){const e=this.options.display;return e!=="auto"?!!e:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(e){const n=this.axis,r=this.chart,o=this.options,{grid:i,position:a,border:l}=o,u=i.offset,d=this.isHorizontal(),p=this.ticks.length+(u?1:0),g=Gl(i),m=[],y=l.setContext(this.getContext()),w=y.display?y.width:0,x=w/2,P=function(fe){return xs(r,fe,w)};let _,D,C,N,R,z,W,K,q,J,V,Z;if(a==="top")_=P(this.bottom),z=this.bottom-g,K=_-x,J=P(e.top)+x,Z=e.bottom;else if(a==="bottom")_=P(this.top),J=e.top,Z=P(e.bottom)-x,z=_+x,K=this.top+g;else if(a==="left")_=P(this.right),R=this.right-g,W=_-x,q=P(e.left)+x,V=e.right;else if(a==="right")_=P(this.left),q=e.left,V=P(e.right)-x,R=_+x,W=this.left+g;else if(n==="x"){if(a==="center")_=P((e.top+e.bottom)/2+.5);else if(ht(a)){const fe=Object.keys(a)[0],oe=a[fe];_=P(this.chart.scales[fe].getPixelForValue(oe))}J=e.top,Z=e.bottom,z=_+x,K=z+g}else if(n==="y"){if(a==="center")_=P((e.left+e.right)/2);else if(ht(a)){const fe=Object.keys(a)[0],oe=a[fe];_=P(this.chart.scales[fe].getPixelForValue(oe))}R=_-x,W=R-g,q=e.left,V=e.right}const ce=mt(o.ticks.maxTicksLimit,p),ne=Math.max(1,Math.ceil(p/ce));for(D=0;D<p;D+=ne){const fe=this.getContext(D),oe=i.setContext(fe),G=l.setContext(fe),j=oe.lineWidth,pe=oe.color,I=G.dash||[],$=G.dashOffset,he=oe.tickWidth,de=oe.tickColor,ve=oe.tickBorderDash||[],ye=oe.tickBorderDashOffset;C=T_(this,D,u),C!==void 0&&(N=xs(r,C,j),d?R=W=q=V=N:z=K=J=Z=N,m.push({tx1:R,ty1:z,tx2:W,ty2:K,x1:q,y1:J,x2:V,y2:Z,width:j,color:pe,borderDash:I,borderDashOffset:$,tickWidth:he,tickColor:de,tickBorderDash:ve,tickBorderDashOffset:ye}))}return this._ticksLength=p,this._borderValue=_,m}_computeLabelItems(e){const n=this.axis,r=this.options,{position:o,ticks:i}=r,a=this.isHorizontal(),l=this.ticks,{align:u,crossAlign:d,padding:h,mirror:p}=i,g=Gl(r.grid),m=g+h,y=p?-h:m,w=-ko(this.labelRotation),x=[];let P,_,D,C,N,R,z,W,K,q,J,V,Z="middle";if(o==="top")R=this.bottom-y,z=this._getXAxisLabelAlignment();else if(o==="bottom")R=this.top+y,z=this._getXAxisLabelAlignment();else if(o==="left"){const ne=this._getYAxisLabelAlignment(g);z=ne.textAlign,N=ne.x}else if(o==="right"){const ne=this._getYAxisLabelAlignment(g);z=ne.textAlign,N=ne.x}else if(n==="x"){if(o==="center")R=(e.top+e.bottom)/2+m;else if(ht(o)){const ne=Object.keys(o)[0],fe=o[ne];R=this.chart.scales[ne].getPixelForValue(fe)+m}z=this._getXAxisLabelAlignment()}else if(n==="y"){if(o==="center")N=(e.left+e.right)/2-m;else if(ht(o)){const ne=Object.keys(o)[0],fe=o[ne];N=this.chart.scales[ne].getPixelForValue(fe)}z=this._getYAxisLabelAlignment(g).textAlign}n==="y"&&(u==="start"?Z="top":u==="end"&&(Z="bottom"));const ce=this._getLabelSizes();for(P=0,_=l.length;P<_;++P){D=l[P],C=D.label;const ne=i.setContext(this.getContext(P));W=this.getPixelForTick(P)+i.labelOffset,K=this._resolveTickFontOptions(P),q=K.lineHeight,J=on(C)?C.length:1;const fe=J/2,oe=ne.color,G=ne.textStrokeColor,j=ne.textStrokeWidth;let pe=z;a?(N=W,z==="inner"&&(P===_-1?pe=this.options.reverse?"left":"right":P===0?pe=this.options.reverse?"right":"left":pe="center"),o==="top"?d==="near"||w!==0?V=-J*q+q/2:d==="center"?V=-ce.highest.height/2-fe*q+q:V=-ce.highest.height+q/2:d==="near"||w!==0?V=q/2:d==="center"?V=ce.highest.height/2-fe*q:V=ce.highest.height-J*q,p&&(V*=-1),w!==0&&!ne.showLabelBackdrop&&(N+=q/2*Math.sin(w))):(R=W,V=(1-J)*q/2);let I;if(ne.showLabelBackdrop){const $=_r(ne.backdropPadding),he=ce.heights[P],de=ce.widths[P];let ve=V-$.top,ye=0-$.left;switch(Z){case"middle":ve-=he/2;break;case"bottom":ve-=he;break}switch(z){case"center":ye-=de/2;break;case"right":ye-=de;break;case"inner":P===_-1?ye-=de:P>0&&(ye-=de/2);break}I={left:ye,top:ve,width:de+$.width,height:he+$.height,color:ne.backdropColor}}x.push({label:C,font:K,textOffset:V,options:{rotation:w,color:oe,strokeColor:G,strokeWidth:j,textAlign:pe,textBaseline:Z,translation:[N,R],backdrop:I}})}return x}_getXAxisLabelAlignment(){const{position:e,ticks:n}=this.options;if(-ko(this.labelRotation))return e==="top"?"left":"right";let o="center";return n.align==="start"?o="left":n.align==="end"?o="right":n.align==="inner"&&(o="inner"),o}_getYAxisLabelAlignment(e){const{position:n,ticks:{crossAlign:r,mirror:o,padding:i}}=this.options,a=this._getLabelSizes(),l=e+i,u=a.widest.width;let d,h;return n==="left"?o?(h=this.right+i,r==="near"?d="left":r==="center"?(d="center",h+=u/2):(d="right",h+=u)):(h=this.right-l,r==="near"?d="right":r==="center"?(d="center",h-=u/2):(d="left",h=this.left)):n==="right"?o?(h=this.left+i,r==="near"?d="right":r==="center"?(d="center",h-=u/2):(d="left",h-=u)):(h=this.left+l,r==="near"?d="left":r==="center"?(d="center",h+=u/2):(d="right",h=this.right)):d="right",{textAlign:d,x:h}}_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:o,width:i,height:a}=this;n&&(e.save(),e.fillStyle=n,e.fillRect(r,o,i,a),e.restore())}getLineWidthForValue(e){const n=this.options.grid;if(!this._isVisible()||!n.display)return 0;const o=this.ticks.findIndex(i=>i.value===e);return o>=0?n.setContext(this.getContext(o)).lineWidth:0}drawGrid(e){const n=this.options.grid,r=this.ctx,o=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(e));let i,a;const l=(u,d,h)=>{!h.width||!h.color||(r.save(),r.lineWidth=h.width,r.strokeStyle=h.color,r.setLineDash(h.borderDash||[]),r.lineDashOffset=h.borderDashOffset,r.beginPath(),r.moveTo(u.x,u.y),r.lineTo(d.x,d.y),r.stroke(),r.restore())};if(n.display)for(i=0,a=o.length;i<a;++i){const u=o[i];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:o}}=this,i=r.setContext(this.getContext()),a=r.display?i.width:0;if(!a)return;const l=o.setContext(this.getContext(0)).lineWidth,u=this._borderValue;let d,h,p,g;this.isHorizontal()?(d=xs(e,this.left,a)-a/2,h=xs(e,this.right,l)+l/2,p=g=u):(p=xs(e,this.top,a)-a/2,g=xs(e,this.bottom,l)+l/2,d=h=u),n.save(),n.lineWidth=i.width,n.strokeStyle=i.color,n.beginPath(),n.moveTo(d,p),n.lineTo(h,g),n.stroke(),n.restore()}drawLabels(e){if(!this.options.ticks.display)return;const r=this.ctx,o=this._computeLabelArea();o&&dp(r,o);const i=this.getLabelItems(e);for(const a of i){const l=a.options,u=a.font,d=a.label,h=a.textOffset;Ul(r,d,0,h,u,l)}o&&fp(r)}drawTitle(){const{ctx:e,options:{position:n,title:r,reverse:o}}=this;if(!r.display)return;const i=Bn(r.font),a=_r(r.padding),l=r.align;let u=i.lineHeight/2;n==="bottom"||n==="center"||ht(n)?(u+=a.bottom,on(r.text)&&(u+=i.lineHeight*(r.text.length-1))):u+=a.top;const{titleX:d,titleY:h,maxWidth:p,rotation:g}=R_(this,u,n,l);Ul(e,r.text,0,0,i,{color:r.color,maxWidth:p,rotation:g,textAlign:O_(l,n,o),textBaseline:"middle",translation:[d,h]})}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=mt(e.grid&&e.grid.z,-1),o=mt(e.border&&e.border.z,0);return!this._isVisible()||this.draw!==ba.prototype.draw?[{z:n,draw:i=>{this.draw(i)}}]:[{z:r,draw:i=>{this.drawBackground(),this.drawGrid(i),this.drawTitle()}},{z:o,draw:()=>{this.drawBorder()}},{z:n,draw:i=>{this.drawLabels(i)}}]}getMatchingVisibleMetas(e){const n=this.chart.getSortedVisibleDatasetMetas(),r=this.axis+"AxisID",o=[];let i,a;for(i=0,a=n.length;i<a;++i){const l=n[i];l[r]===this.id&&(!e||l.type===e)&&o.push(l)}return o}_resolveTickFontOptions(e){const n=this.options.ticks.setContext(this.getContext(e));return Bn(n.font)}_maxDigits(){const e=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/e}}class qu{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;j_(n)&&(r=this.register(n));const o=this.items,i=e.id,a=this.scope+"."+i;if(!i)throw new Error("class does not have id: "+e);return i in o||(o[i]=e,L_(e,a,r),this.override&&Vt.override(e.id,e.overrides)),a}get(e){return this.items[e]}unregister(e){const n=this.items,r=e.id,o=this.scope;r in n&&delete n[r],o&&r in Vt[o]&&(delete Vt[o][r],this.override&&delete ys[r])}}function L_(t,e,n){const r=jl(Object.create(null),[n?Vt.get(n):{},Vt.get(e),t.defaults]);Vt.set(e,r),t.defaultRoutes&&F_(e,t.defaultRoutes),t.descriptors&&Vt.describe(e,t.descriptors)}function F_(t,e){Object.keys(e).forEach(n=>{const r=n.split("."),o=r.pop(),i=[t].concat(r).join("."),a=e[n].split("."),l=a.pop(),u=a.join(".");Vt.route(i,o,u,l)})}function j_(t){return"id"in t&&"defaults"in t}class N_{constructor(){this.controllers=new qu(Qu,"datasets",!0),this.elements=new qu(xa,"elements"),this.plugins=new qu(Object,"plugins"),this.scales=new qu(ba,"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(o=>{const i=r||this._getRegistryForType(o);r||i.isForType(o)||i===this.plugins&&o.id?this._exec(e,i,o):wt(o,a=>{const l=r||this._getRegistryForType(a);this._exec(e,l,a)})})}_exec(e,n,r){const o=rp(e);Rt(r["before"+o],[],r),n[e](r),Rt(r["after"+o],[],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 o=n.get(e);if(o===void 0)throw new Error('"'+e+'" is not a registered '+r+".");return o}}var So=new N_;class z_{constructor(){this._init=void 0}notify(e,n,r,o){if(n==="beforeInit"&&(this._init=this._createDescriptors(e,!0),this._notify(this._init,e,"install")),this._init===void 0)return;const i=o?this._descriptors(e).filter(o):this._descriptors(e),a=this._notify(i,e,n,r);return n==="afterDestroy"&&(this._notify(i,e,"stop"),this._notify(this._init,e,"uninstall"),this._init=void 0),a}_notify(e,n,r,o){o=o||{};for(const i of e){const a=i.plugin,l=a[r],u=[n,o,i.options];if(Rt(l,u,a)===!1&&o.cancelable)return!1}return!0}invalidate(){Dt(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,o=mt(r.options&&r.options.plugins,{}),i=Q_(r);return o===!1&&!n?[]:U_(e,i,o,n)}_notifyStateChanges(e){const n=this._oldCache||[],r=this._cache,o=(i,a)=>i.filter(l=>!a.some(u=>l.plugin.id===u.plugin.id));this._notify(o(n,r),e,"stop"),this._notify(o(r,n),e,"start")}}function Q_(t){const e={},n=[],r=Object.keys(So.plugins.items);for(let i=0;i<r.length;i++)n.push(So.getPlugin(r[i]));const o=t.plugins||[];for(let i=0;i<o.length;i++){const a=o[i];n.indexOf(a)===-1&&(n.push(a),e[a.id]=!0)}return{plugins:n,localIds:e}}function H_(t,e){return!e&&t===!1?null:t===!0?{}:t}function U_(t,{plugins:e,localIds:n},r,o){const i=[],a=t.getContext();for(const l of e){const u=l.id,d=H_(r[u],o);d!==null&&i.push({plugin:l,options:V_(t.config,{plugin:l,local:n[u]},d,a)})}return i}function V_(t,{plugin:e,local:n},r,o){const i=t.pluginScopeKeys(e),a=t.getOptionScopes(r,i);return n&&e.defaults&&a.push(e.defaults),t.createResolver(a,o,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function Cp(t,e){const n=Vt.datasets[t]||{};return((e.datasets||{})[t]||{}).indexAxis||e.indexAxis||n.indexAxis||"x"}function W_(t,e){let n=t;return t==="_index_"?n=e:t==="_value_"&&(n=e==="x"?"y":"x"),n}function Y_(t,e){return t===e?"_index_":"_value_"}function zx(t){if(t==="x"||t==="y"||t==="r")return t}function q_(t){if(t==="top"||t==="bottom")return"x";if(t==="left"||t==="right")return"y"}function Pp(t,...e){if(zx(t))return t;for(const n of e){const r=n.axis||q_(n.position)||t.length>1&&zx(t[0].toLowerCase());if(r)return r}throw new Error(`Cannot determine type of '${t}' axis. Please provide 'axis' or 'position' option.`)}function Qx(t,e,n){if(n[e+"AxisID"]===t)return{axis:e}}function K_(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 Qx(t,"x",n[0])||Qx(t,"y",n[0])}return{}}function G_(t,e){const n=ys[t.type]||{scales:{}},r=e.scales||{},o=Cp(t.type,e),i=Object.create(null);return Object.keys(r).forEach(a=>{const l=r[a];if(!ht(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=Pp(a,l,K_(a,t),Vt.scales[l.type]),d=Y_(u,o),h=n.scales||{};i[a]=Nl(Object.create(null),[{axis:u},l,h[u],h[d]])}),t.data.datasets.forEach(a=>{const l=a.type||t.type,u=a.indexAxis||Cp(l,e),h=(ys[l]||{}).scales||{};Object.keys(h).forEach(p=>{const g=W_(p,u),m=a[g+"AxisID"]||g;i[m]=i[m]||Object.create(null),Nl(i[m],[{axis:g},r[m],h[p]])})}),Object.keys(i).forEach(a=>{const l=i[a];Nl(l,[Vt.scales[l.type],Vt.scale])}),i}function Hx(t){const e=t.options||(t.options={});e.plugins=mt(e.plugins,{}),e.scales=G_(t,e)}function Ux(t){return t=t||{},t.datasets=t.datasets||[],t.labels=t.labels||[],t}function X_(t){return t=t||{},t.data=Ux(t.data),Hx(t),t}const Vx=new Map,Wx=new Set;function Ku(t,e){let n=Vx.get(t);return n||(n=e(),Vx.set(t,n),Wx.add(n)),n}const Xl=(t,e,n)=>{const r=Ii(e,n);r!==void 0&&t.add(r)};let J_=class{constructor(e){this._config=X_(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=Ux(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(),Hx(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return Ku(e,()=>[[`datasets.${e}`,""]])}datasetAnimationScopeKeys(e,n){return Ku(`${e}.transition.${n}`,()=>[[`datasets.${e}.transitions.${n}`,`transitions.${n}`],[`datasets.${e}`,""]])}datasetElementScopeKeys(e,n){return Ku(`${e}-${n}`,()=>[[`datasets.${e}.elements.${n}`,`datasets.${e}`,`elements.${n}`,""]])}pluginScopeKeys(e){const n=e.id,r=this.type;return Ku(`${r}-plugin-${n}`,()=>[[`plugins.${n}`,...e.additionalOptionScopes||[]]])}_cachedScopes(e,n){const r=this._scopeCache;let o=r.get(e);return(!o||n)&&(o=new Map,r.set(e,o)),o}getOptionScopes(e,n,r){const{options:o,type:i}=this,a=this._cachedScopes(e,r),l=a.get(n);if(l)return l;const u=new Set;n.forEach(h=>{e&&(u.add(e),h.forEach(p=>Xl(u,e,p))),h.forEach(p=>Xl(u,o,p)),h.forEach(p=>Xl(u,ys[i]||{},p)),h.forEach(p=>Xl(u,Vt,p)),h.forEach(p=>Xl(u,cp,p))});const d=Array.from(u);return d.length===0&&d.push(Object.create(null)),Wx.has(n)&&a.set(n,d),d}chartOptionScopes(){const{options:e,type:n}=this;return[e,ys[n]||{},Vt.datasets[n]||{},{type:n},Vt,cp]}resolveNamedOptions(e,n,r,o=[""]){const i={$shared:!0},{resolver:a,subPrefixes:l}=Yx(this._resolverCache,e,o);let u=a;if($_(a,n)){i.$shared=!1,r=_i(r)?r():r;const d=this.createResolver(e,r,l);u=va(a,r,d)}for(const d of n)i[d]=u[d];return i}createResolver(e,n,r=[""],o){const{resolver:i}=Yx(this._resolverCache,e,r);return ht(n)?va(i,n,void 0,o):i}};function Yx(t,e,n){let r=t.get(e);r||(r=new Map,t.set(e,r));const o=n.join();let i=r.get(o);return i||(i={resolver:hp(e,n),subPrefixes:n.filter(l=>!l.toLowerCase().includes("hover"))},r.set(o,i)),i}const Z_=t=>ht(t)&&Object.getOwnPropertyNames(t).some(e=>_i(t[e]));function $_(t,e){const{isScriptable:n,isIndexable:r}=rx(t);for(const o of e){const i=n(o),a=r(o),l=(a||i)&&t[o];if(i&&(_i(l)||Z_(l))||a&&on(l))return!0}return!1}var eM="4.5.1";const tM=["top","bottom","left","right","chartArea"];function qx(t,e){return t==="top"||t==="bottom"||tM.indexOf(t)===-1&&e==="x"}function Kx(t,e){return function(n,r){return n[t]===r[t]?n[e]-r[e]:n[t]-r[t]}}function Gx(t){const e=t.chart,n=e.options.animation;e.notifyPlugins("afterRender"),Rt(n&&n.onComplete,[t],e)}function nM(t){const e=t.chart,n=e.options.animation;Rt(n&&n.onProgress,[t],e)}function Xx(t){return gp()&&typeof t=="string"?t=document.getElementById(t):t&&t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t}const Gu={},Jx=t=>{const e=Xx(t);return Object.values(Gu).filter(n=>n.canvas===e).pop()};function rM(t,e,n){const r=Object.keys(t);for(const o of r){const i=+o;if(i>=e){const a=t[o];delete t[o],(n>0||i>e)&&(t[i+n]=a)}}}function oM(t,e,n,r){return!n||t.type==="mouseout"?null:r?e:t}let Dp=class{static defaults=Vt;static instances=Gu;static overrides=ys;static registry=So;static version=eM;static getChart=Jx;static register(...e){So.add(...e),Zx()}static unregister(...e){So.remove(...e),Zx()}constructor(e,n){const r=this.config=new J_(n),o=Xx(e),i=Jx(o);if(i)throw new Error("Canvas is already in use. Chart with ID '"+i.id+"' must be destroyed before the canvas with ID '"+i.canvas.id+"' can be reused.");const a=r.createResolver(r.chartOptionScopes(),this.getContext());this.platform=new(r.platform||w_(o)),this.platform.updateConfig(r);const l=this.platform.acquireContext(o,a.aspectRatio),u=l&&l.canvas,d=u&&u.height,h=u&&u.width;if(this.id=g8(),this.ctx=l,this.canvas=u,this.width=h,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 z_,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=R8(p=>this.update(p),a.resizeDelay||0),this._dataChanges=[],Gu[this.id]=this,!l||!u){console.error("Failed to create chart: can't acquire context from the given item");return}$o.listen(this,"complete",Gx),$o.listen(this,"progress",nM),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:e,maintainAspectRatio:n},width:r,height:o,_aspectRatio:i}=this;return Dt(e)?n&&i?i:o?r/o: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 So}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():cx(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return Jy(this.canvas,this.ctx),this}stop(){return $o.stop(this),this}resize(e,n){$o.running(this)?this._resizeBeforeDraw={width:e,height:n}:this._resize(e,n)}_resize(e,n){const r=this.options,o=this.canvas,i=r.maintainAspectRatio&&this.aspectRatio,a=this.platform.getMaximumSize(o,e,n,i),l=r.devicePixelRatio||this.platform.getDevicePixelRatio(),u=this.width?"resize":"attach";this.width=a.width,this.height=a.height,this._aspectRatio=this.aspectRatio,cx(this,l,!0)&&(this.notifyPlugins("resize",{size:a}),Rt(r.onResize,[this,a],this),this.attached&&this._doResize(u)&&this.render())}ensureScalesHaveIDs(){const n=this.options.scales||{};wt(n,(r,o)=>{r.id=o})}buildOrUpdateScales(){const e=this.options,n=e.scales,r=this.scales,o=Object.keys(r).reduce((a,l)=>(a[l]=!1,a),{});let i=[];n&&(i=i.concat(Object.keys(n).map(a=>{const l=n[a],u=Pp(a,l),d=u==="r",h=u==="x";return{options:l,dposition:d?"chartArea":h?"bottom":"left",dtype:d?"radialLinear":h?"category":"linear"}}))),wt(i,a=>{const l=a.options,u=l.id,d=Pp(u,l),h=mt(l.type,a.dtype);(l.position===void 0||qx(l.position,d)!==qx(a.dposition))&&(l.position=a.dposition),o[u]=!0;let p=null;if(u in r&&r[u].type===h)p=r[u];else{const g=So.getScale(h);p=new g({id:u,type:h,ctx:this.ctx,chart:this}),r[p.id]=p}p.init(l,e)}),wt(o,(a,l)=>{a||delete r[l]}),wt(r,a=>{Mr.configure(this,a,a.options),Mr.addBox(this,a)})}_updateMetasets(){const e=this._metasets,n=this.data.datasets.length,r=e.length;if(e.sort((o,i)=>o.index-i.index),r>n){for(let o=n;o<r;++o)this._destroyDatasetMeta(o);e.splice(n,r-n)}this._sortedMetasets=e.slice(0).sort(Kx("order","index"))}_removeUnreferencedMetasets(){const{_metasets:e,data:{datasets:n}}=this;e.length>n.length&&delete this._stacks,e.forEach((r,o)=>{n.filter(i=>i===r._dataset).length===0&&this._destroyDatasetMeta(o)})}buildOrUpdateControllers(){const e=[],n=this.data.datasets;let r,o;for(this._removeUnreferencedMetasets(),r=0,o=n.length;r<o;r++){const i=n[r];let a=this.getDatasetMeta(r);const l=i.type||this.config.type;if(a.type&&a.type!==l&&(this._destroyDatasetMeta(r),a=this.getDatasetMeta(r)),a.type=l,a.indexAxis=i.indexAxis||Cp(l,this.options),a.order=i.order||0,a.index=r,a.label=""+i.label,a.visible=this.isDatasetVisible(r),a.controller)a.controller.updateIndex(r),a.controller.linkScales();else{const u=So.getController(l),{datasetElementType:d,dataElementType:h}=Vt.datasets[l];Object.assign(u,{dataElementType:So.getElement(h),datasetElementType:d&&So.getElement(d)}),a.controller=new u(this,r),e.push(a.controller)}}return this._updateMetasets(),e}_resetElements(){wt(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()),o=this._animationsDisabled=!r.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:e,cancelable:!0})===!1)return;const i=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let a=0;for(let d=0,h=this.data.datasets.length;d<h;d++){const{controller:p}=this.getDatasetMeta(d),g=!o&&i.indexOf(p)===-1;p.buildOrUpdateElements(g),a=Math.max(+p.getMaxOverflow(),a)}a=this._minPadding=r.layout.autoPadding?a:0,this._updateLayout(a),o||wt(i,d=>{d.reset()}),this._updateDatasets(e),this.notifyPlugins("afterUpdate",{mode:e}),this._layers.sort(Kx("z","_idx"));const{_active:l,_lastEvent:u}=this;u?this._eventHandler(u,!0):l.length&&this._updateHoverStyles(l,l,!0),this.render()}_updateScales(){wt(this.scales,e=>{Mr.removeBox(this,e)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const e=this.options,n=new Set(Object.keys(this._listeners)),r=new Set(e.events);(!Oy(n,r)||!!this._responsiveListeners!==e.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:e}=this,n=this._getUniformDataChanges()||[];for(const{method:r,start:o,count:i}of n){const a=r==="_removeElements"?-i:i;rM(e,o,a)}}_getUniformDataChanges(){const e=this._dataChanges;if(!e||!e.length)return;this._dataChanges=[];const n=this.data.datasets.length,r=i=>new Set(e.filter(a=>a[0]===i).map((a,l)=>l+","+a.splice(1).join(","))),o=r(0);for(let i=1;i<n;i++)if(!Oy(o,r(i)))return;return Array.from(o).map(i=>i.split(",")).map(i=>({method:i[1],start:+i[2],count:+i[3]}))}_updateLayout(e){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;Mr.update(this,this.width,this.height,e);const n=this.chartArea,r=n.width<=0||n.height<=0;this._layers=[],wt(this.boxes,o=>{r&&o.position==="chartArea"||(o.configure&&o.configure(),this._layers.push(...o._layers()))},this),this._layers.forEach((o,i)=>{o._idx=i}),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,_i(e)?e({datasetIndex:n}):e);this.notifyPlugins("afterDatasetsUpdate",{mode:e})}}_updateDataset(e,n){const r=this.getDatasetMeta(e),o={meta:r,index:e,mode:n,cancelable:!0};this.notifyPlugins("beforeDatasetUpdate",o)!==!1&&(r.controller._update(n),o.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",o))}render(){this.notifyPlugins("beforeRender",{cancelable:!0})!==!1&&($o.has(this)?this.attached&&!$o.running(this)&&$o.start(this):(this.draw(),Gx({chart:this})))}draw(){let e;if(this._resizeBeforeDraw){const{width:r,height:o}=this._resizeBeforeDraw;this._resizeBeforeDraw=null,this._resize(r,o)}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 o,i;for(o=0,i=n.length;o<i;++o){const a=n[o];(!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},o=bI(this,e);this.notifyPlugins("beforeDatasetDraw",r)!==!1&&(o&&dp(n,o),e.controller.draw(),o&&fp(n),r.cancelable=!1,this.notifyPlugins("afterDatasetDraw",r))}isPointInArea(e){return ex(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,n,r,o){const i=t_.modes[n];return typeof i=="function"?i(this,e,r,o):[]}getDatasetMeta(e){const n=this.data.datasets[e],r=this._metasets;let o=r.filter(i=>i&&i._dataset===n).pop();return o||(o={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:n&&n.order||0,index:e,_dataset:n,_parsed:[],_sorted:!1},r.push(o)),o}getContext(){return this.$context||(this.$context=ma(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 o=r?"show":"hide",i=this.getDatasetMeta(e),a=i.controller._resolveAnimations(void 0,o);zl(n)?(i.data[n].hidden=!r,this.update()):(this.setDatasetVisibility(e,r),a.update(i,{visible:r}),this.update(l=>l.datasetIndex===e?o: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(),$o.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(),Jy(e,n),this.platform.releaseContext(n),this.canvas=null,this.ctx=null),delete Gu[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=(i,a)=>{n.addEventListener(this,i,a),e[i]=a},o=(i,a,l)=>{i.offsetX=a,i.offsetY=l,this._eventHandler(i)};wt(this.options.events,i=>r(i,o))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const e=this._responsiveListeners,n=this.platform,r=(u,d)=>{n.addEventListener(this,u,d),e[u]=d},o=(u,d)=>{e[u]&&(n.removeEventListener(this,u,d),delete e[u])},i=(u,d)=>{this.canvas&&this.resize(u,d)};let a;const l=()=>{o("attach",l),this.attached=!0,this.resize(),r("resize",i),r("detach",a)};a=()=>{this.attached=!1,o("resize",i),this._stop(),this._resize(0,0),r("attach",l)},n.isAttached(this.canvas)?l():a()}unbindEvents(){wt(this._listeners,(e,n)=>{this.platform.removeEventListener(this,n,e)}),this._listeners={},wt(this._responsiveListeners,(e,n)=>{this.platform.removeEventListener(this,n,e)}),this._responsiveListeners=void 0}updateHoverStyle(e,n,r){const o=r?"set":"remove";let i,a,l,u;for(n==="dataset"&&(i=this.getDatasetMeta(e[0].datasetIndex),i.controller["_"+o+"DatasetHoverStyle"]()),l=0,u=e.length;l<u;++l){a=e[l];const d=a&&this.getDatasetMeta(a.datasetIndex).controller;d&&d[o+"HoverStyle"](a.element,a.datasetIndex,a.index)}}getActiveElements(){return this._active||[]}setActiveElements(e){const n=this._active||[],r=e.map(({datasetIndex:i,index:a})=>{const l=this.getDatasetMeta(i);if(!l)throw new Error("No dataset found at index "+i);return{datasetIndex:i,element:l.data[a],index:a}});!Bu(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 o=this.options.hover,i=(u,d)=>u.filter(h=>!d.some(p=>h.datasetIndex===p.datasetIndex&&h.index===p.index)),a=i(n,e),l=r?e:i(e,n);a.length&&this.updateHoverStyle(a,o.mode,!1),l.length&&o.mode&&this.updateHoverStyle(l,o.mode,!0)}_eventHandler(e,n){const r={event:e,replay:n,cancelable:!0,inChartArea:this.isPointInArea(e)},o=a=>(a.options.events||this.options.events).includes(e.native.type);if(this.notifyPlugins("beforeEvent",r,o)===!1)return;const i=this._handleEvent(e,n,r.inChartArea);return r.cancelable=!1,this.notifyPlugins("afterEvent",r,o),(i||r.changed)&&this.render(),this}_handleEvent(e,n,r){const{_active:o=[],options:i}=this,a=n,l=this._getActiveElements(e,o,r,a),u=w8(e),d=oM(e,this._lastEvent,r,u);r&&(this._lastEvent=null,Rt(i.onHover,[e,l,this],this),u&&Rt(i.onClick,[e,l,this],this));const h=!Bu(l,o);return(h||n)&&(this._active=l,this._updateHoverStyles(l,o,n)),this._lastEvent=d,h}_getActiveElements(e,n,r,o){if(e.type==="mouseout")return[];if(!r)return n;const i=this.options.hover;return this.getElementsAtEventForMode(e,i.mode,i,o)}};function Zx(){return wt(Dp.instances,t=>t._plugins.invalidate())}function $x(t,e){const{x:n,y:r,base:o,width:i,height:a}=t.getProps(["x","y","base","width","height"],e);let l,u,d,h,p;return t.horizontal?(p=a/2,l=Math.min(n,o),u=Math.max(n,o),d=r-p,h=r+p):(p=i/2,l=n-p,u=n+p,d=Math.min(r,o),h=Math.max(r,o)),{left:l,top:d,right:u,bottom:h}}function Ri(t,e,n,r){return t?0:Yr(e,n,r)}function iM(t,e,n){const r=t.options.borderWidth,o=t.borderSkipped,i=nx(r);return{t:Ri(o.top,i.top,0,n),r:Ri(o.right,i.right,0,e),b:Ri(o.bottom,i.bottom,0,n),l:Ri(o.left,i.left,0,e)}}function sM(t,e,n){const{enableBorderRadius:r}=t.getProps(["enableBorderRadius"]),o=t.options.borderRadius,i=ga(o),a=Math.min(e,n),l=t.borderSkipped,u=r||ht(o);return{topLeft:Ri(!u||l.top||l.left,i.topLeft,0,a),topRight:Ri(!u||l.top||l.right,i.topRight,0,a),bottomLeft:Ri(!u||l.bottom||l.left,i.bottomLeft,0,a),bottomRight:Ri(!u||l.bottom||l.right,i.bottomRight,0,a)}}function aM(t){const e=$x(t),n=e.right-e.left,r=e.bottom-e.top,o=iM(t,n/2,r/2),i=sM(t,n/2,r/2);return{outer:{x:e.left,y:e.top,w:n,h:r,radius:i},inner:{x:e.left+o.l,y:e.top+o.t,w:n-o.l-o.r,h:r-o.t-o.b,radius:{topLeft:Math.max(0,i.topLeft-Math.max(o.t,o.l)),topRight:Math.max(0,i.topRight-Math.max(o.t,o.r)),bottomLeft:Math.max(0,i.bottomLeft-Math.max(o.b,o.l)),bottomRight:Math.max(0,i.bottomRight-Math.max(o.b,o.r))}}}}function Bp(t,e,n,r){const o=e===null,i=n===null,l=t&&!(o&&i)&&$x(t,r);return l&&(o||Aa(e,l.left,l.right))&&(i||Aa(n,l.top,l.bottom))}function lM(t){return t.topLeft||t.topRight||t.bottomLeft||t.bottomRight}function cM(t,e){t.rect(e.x,e.y,e.w,e.h)}function Tp(t,e,n={}){const r=t.x!==n.x?-e:0,o=t.y!==n.y?-e:0,i=(t.x+t.w!==n.x+n.w?e:0)-r,a=(t.y+t.h!==n.y+n.h?e:0)-o;return{x:t.x+r,y:t.y+o,w:t.w+i,h:t.h+a,radius:t.radius}}class uM extends xa{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:o}}=this,{inner:i,outer:a}=aM(this),l=lM(a.radius)?Lu:cM;e.save(),(a.w!==i.w||a.h!==i.h)&&(e.beginPath(),l(e,Tp(a,n,i)),e.clip(),l(e,Tp(i,-n,a)),e.fillStyle=r,e.fill("evenodd")),e.beginPath(),l(e,Tp(i,n)),e.fillStyle=o,e.fill(),e.restore()}inRange(e,n,r){return Bp(this,e,n,r)}inXRange(e,n){return Bp(this,e,null,n)}inYRange(e,n){return Bp(this,null,e,n)}getCenterPoint(e){const{x:n,y:r,base:o,horizontal:i}=this.getProps(["x","y","base","horizontal"],e);return{x:i?(n+o)/2:n,y:i?r:(r+o)/2}}getRange(e){return e==="x"?this.width/2:this.height/2}}const Ip=["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)"],eb=Ip.map(t=>t.replace("rgb(","rgba(").replace(")",", 0.5)"));function tb(t){return Ip[t%Ip.length]}function nb(t){return eb[t%eb.length]}function dM(t,e){return t.borderColor=tb(e),t.backgroundColor=nb(e),++e}function fM(t,e){return t.backgroundColor=t.data.map(()=>tb(e++)),e}function hM(t,e){return t.backgroundColor=t.data.map(()=>nb(e++)),e}function pM(t){let e=0;return(n,r)=>{const o=t.getDatasetMeta(r).controller;o instanceof KI?e=fM(n,e):o instanceof GI?e=hM(n,e):o&&(e=dM(n,e))}}function rb(t){let e;for(e in t)if(t[e].borderColor||t[e].backgroundColor)return!0;return!1}function AM(t){return t&&(t.borderColor||t.backgroundColor)}function gM(){return Vt.borderColor!=="rgba(0,0,0,0.1)"||Vt.backgroundColor!=="rgba(0,0,0,0.1)"}var mM={id:"colors",defaults:{enabled:!0,forceOverride:!1},beforeLayout(t,e,n){if(!n.enabled)return;const{data:{datasets:r},options:o}=t.config,{elements:i}=o,a=rb(r)||AM(o)||i&&rb(i)||gM();if(!n.forceOverride&&a)return;const l=pM(t);r.forEach(l)}};const ob=(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)}},vM=(t,e)=>t!==null&&e!==null&&t.datasetIndex===e.datasetIndex&&t.index===e.index;class ib extends xa{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=Rt(e.generateLabels,[this.chart],this)||[];e.filter&&(n=n.filter(r=>e.filter(r,this.chart.data))),e.sort&&(n=n.sort((r,o)=>e.sort(r,o,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,o=Bn(r.font),i=o.size,a=this._computeTitleHeight(),{boxWidth:l,itemHeight:u}=ob(r,i);let d,h;n.font=o.string,this.isHorizontal()?(d=this.maxWidth,h=this._fitRows(a,i,l,u)+10):(h=this.maxHeight,d=this._fitCols(a,o,l,u)+10),this.width=Math.min(d,e.maxWidth||this.maxWidth),this.height=Math.min(h,e.maxHeight||this.maxHeight)}_fitRows(e,n,r,o){const{ctx:i,maxWidth:a,options:{labels:{padding:l}}}=this,u=this.legendHitBoxes=[],d=this.lineWidths=[0],h=o+l;let p=e;i.textAlign="left",i.textBaseline="middle";let g=-1,m=-h;return this.legendItems.forEach((y,w)=>{const x=r+n/2+i.measureText(y.text).width;(w===0||d[d.length-1]+x+2*l>a)&&(p+=h,d[d.length-(w>0?0:1)]=0,m+=h,g++),u[w]={left:0,top:m,row:g,width:x,height:o},d[d.length-1]+=x+l}),p}_fitCols(e,n,r,o){const{ctx:i,maxHeight:a,options:{labels:{padding:l}}}=this,u=this.legendHitBoxes=[],d=this.columnSizes=[],h=a-e;let p=l,g=0,m=0,y=0,w=0;return this.legendItems.forEach((x,P)=>{const{itemWidth:_,itemHeight:D}=yM(r,n,i,x,o);P>0&&m+D+2*l>h&&(p+=g+l,d.push({width:g,height:m}),y+=g+l,w++,g=m=0),u[P]={left:y,top:m,col:w,width:_,height:D},g=Math.max(g,_),m+=D+l}),p+=g,d.push({width:g,height:m}),p}adjustHitBoxes(){if(!this.options.display)return;const e=this._computeTitleHeight(),{legendHitBoxes:n,options:{align:r,labels:{padding:o},rtl:i}}=this,a=ya(i,this.left,this.width);if(this.isHorizontal()){let l=0,u=Dn(r,this.left+o,this.right-this.lineWidths[l]);for(const d of n)l!==d.row&&(l=d.row,u=Dn(r,this.left+o,this.right-this.lineWidths[l])),d.top+=this.top+e+o,d.left=a.leftForLtr(a.x(u),d.width),u+=d.width+o}else{let l=0,u=Dn(r,this.top+e+o,this.bottom-this.columnSizes[l].height);for(const d of n)d.col!==l&&(l=d.col,u=Dn(r,this.top+e+o,this.bottom-this.columnSizes[l].height)),d.top=u,d.left+=this.left+o,d.left=a.leftForLtr(a.x(d.left),d.width),u+=d.height+o}}isHorizontal(){return this.options.position==="top"||this.options.position==="bottom"}draw(){if(this.options.display){const e=this.ctx;dp(e,this),this._draw(),fp(e)}}_draw(){const{options:e,columnSizes:n,lineWidths:r,ctx:o}=this,{align:i,labels:a}=e,l=Vt.color,u=ya(e.rtl,this.left,this.width),d=Bn(a.font),{padding:h}=a,p=d.size,g=p/2;let m;this.drawTitle(),o.textAlign=u.textAlign("left"),o.textBaseline="middle",o.lineWidth=.5,o.font=d.string;const{boxWidth:y,boxHeight:w,itemHeight:x}=ob(a,p),P=function(R,z,W){if(isNaN(y)||y<=0||isNaN(w)||w<0)return;o.save();const K=mt(W.lineWidth,1);if(o.fillStyle=mt(W.fillStyle,l),o.lineCap=mt(W.lineCap,"butt"),o.lineDashOffset=mt(W.lineDashOffset,0),o.lineJoin=mt(W.lineJoin,"miter"),o.lineWidth=K,o.strokeStyle=mt(W.strokeStyle,l),o.setLineDash(mt(W.lineDash,[])),a.usePointStyle){const q={radius:w*Math.SQRT2/2,pointStyle:W.pointStyle,rotation:W.rotation,borderWidth:K},J=u.xPlus(R,y/2),V=z+g;$y(o,q,J,V,a.pointStyleWidth&&y)}else{const q=z+Math.max((p-w)/2,0),J=u.leftForLtr(R,y),V=ga(W.borderRadius);o.beginPath(),Object.values(V).some(Z=>Z!==0)?Lu(o,{x:J,y:q,w:y,h:w,radius:V}):o.rect(J,q,y,w),o.fill(),K!==0&&o.stroke()}o.restore()},_=function(R,z,W){Ul(o,W.text,R,z+x/2,d,{strikethrough:W.hidden,textAlign:u.textAlign(W.textAlign)})},D=this.isHorizontal(),C=this._computeTitleHeight();D?m={x:Dn(i,this.left+h,this.right-r[0]),y:this.top+h+C,line:0}:m={x:this.left+h,y:Dn(i,this.top+C+h,this.bottom-n[0].height),line:0},dx(this.ctx,e.textDirection);const N=x+h;this.legendItems.forEach((R,z)=>{o.strokeStyle=R.fontColor,o.fillStyle=R.fontColor;const W=o.measureText(R.text).width,K=u.textAlign(R.textAlign||(R.textAlign=a.textAlign)),q=y+g+W;let J=m.x,V=m.y;u.setWidth(this.width),D?z>0&&J+q+h>this.right&&(V=m.y+=N,m.line++,J=m.x=Dn(i,this.left+h,this.right-r[m.line])):z>0&&V+N>this.bottom&&(J=m.x=J+n[m.line].width+h,m.line++,V=m.y=Dn(i,this.top+C+h,this.bottom-n[m.line].height));const Z=u.x(J);if(P(Z,V,R),J=L8(K,J+y+g,D?J+q:this.right,e.rtl),_(u.x(J),V,R),D)m.x+=q+h;else if(typeof R.text!="string"){const ce=d.lineHeight;m.y+=sb(R,ce)+h}else m.y+=N}),fx(this.ctx,e.textDirection)}drawTitle(){const e=this.options,n=e.title,r=Bn(n.font),o=_r(n.padding);if(!n.display)return;const i=ya(e.rtl,this.left,this.width),a=this.ctx,l=n.position,u=r.size/2,d=o.top+u;let h,p=this.left,g=this.width;if(this.isHorizontal())g=Math.max(...this.lineWidths),h=this.top+d,p=Dn(e.align,p,this.right-g);else{const y=this.columnSizes.reduce((w,x)=>Math.max(w,x.height),0);h=d+Dn(e.align,this.top,this.bottom-y-e.labels.padding-this._computeTitleHeight())}const m=Dn(l,p,p+g);a.textAlign=i.textAlign(ap(l)),a.textBaseline="middle",a.strokeStyle=n.color,a.fillStyle=n.color,a.font=r.string,Ul(a,n.text,m,h,r)}_computeTitleHeight(){const e=this.options.title,n=Bn(e.font),r=_r(e.padding);return e.display?n.lineHeight+r.height:0}_getLegendItemAt(e,n){let r,o,i;if(Aa(e,this.left,this.right)&&Aa(n,this.top,this.bottom)){for(i=this.legendHitBoxes,r=0;r<i.length;++r)if(o=i[r],Aa(e,o.left,o.left+o.width)&&Aa(n,o.top,o.top+o.height))return this.legendItems[r]}return null}handleEvent(e){const n=this.options;if(!wM(e.type,n))return;const r=this._getLegendItemAt(e.x,e.y);if(e.type==="mousemove"||e.type==="mouseout"){const o=this._hoveredItem,i=vM(o,r);o&&!i&&Rt(n.onLeave,[e,o,this],this),this._hoveredItem=r,r&&!i&&Rt(n.onHover,[e,r,this],this)}else r&&Rt(n.onClick,[e,r,this],this)}}function yM(t,e,n,r,o){const i=xM(r,t,e,n),a=bM(o,r,e.lineHeight);return{itemWidth:i,itemHeight:a}}function xM(t,e,n,r){let o=t.text;return o&&typeof o!="string"&&(o=o.reduce((i,a)=>i.length>a.length?i:a)),e+n.size/2+r.measureText(o).width}function bM(t,e,n){let r=t;return typeof e.text!="string"&&(r=sb(e,n)),r}function sb(t,e){const n=t.text?t.text.length:0;return e*n}function wM(t,e){return!!((t==="mousemove"||t==="mouseout")&&(e.onHover||e.onLeave)||e.onClick&&(t==="click"||t==="mouseup"))}var kM={id:"legend",_element:ib,start(t,e,n){const r=t.legend=new ib({ctx:t.ctx,options:n,chart:t});Mr.configure(t,r,n),Mr.addBox(t,r)},stop(t){Mr.removeBox(t,t.legend),delete t.legend},beforeUpdate(t,e,n){const r=t.legend;Mr.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,o=n.chart;o.isDatasetVisible(r)?(o.hide(r),e.hidden=!0):(o.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:o,color:i,useBorderRadius:a,borderRadius:l}}=t.legend.options;return t._getSortedDatasetMetas().map(u=>{const d=u.controller.getStyle(n?0:void 0),h=_r(d.borderWidth);return{text:e[u.index].label,fillStyle:d.backgroundColor,fontColor:i,hidden:!u.visible,lineCap:d.borderCapStyle,lineDash:d.borderDash,lineDashOffset:d.borderDashOffset,lineJoin:d.borderJoinStyle,lineWidth:(h.width+h.height)/4,strokeStyle:d.borderColor,pointStyle:r||d.pointStyle,rotation:d.rotation,textAlign:o||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 ab extends xa{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 o=on(r.text)?r.text.length:1;this._padding=_r(r.padding);const i=o*Bn(r.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=i:this.width=i}isHorizontal(){const e=this.options.position;return e==="top"||e==="bottom"}_drawArgs(e){const{top:n,left:r,bottom:o,right:i,options:a}=this,l=a.align;let u=0,d,h,p;return this.isHorizontal()?(h=Dn(l,r,i),p=n+e,d=i-r):(a.position==="left"?(h=r+e,p=Dn(l,o,n),u=sn*-.5):(h=i-e,p=Dn(l,n,o),u=sn*.5),d=o-n),{titleX:h,titleY:p,maxWidth:d,rotation:u}}draw(){const e=this.ctx,n=this.options;if(!n.display)return;const r=Bn(n.font),i=r.lineHeight/2+this._padding.top,{titleX:a,titleY:l,maxWidth:u,rotation:d}=this._drawArgs(i);Ul(e,n.text,0,0,r,{color:n.color,maxWidth:u,rotation:d,textAlign:ap(n.align),textBaseline:"middle",translation:[a,l]})}}function SM(t,e){const n=new ab({ctx:t.ctx,options:e,chart:t});Mr.configure(t,n,e),Mr.addBox(t,n),t.titleBlock=n}var EM={id:"title",_element:ab,start(t,e,n){SM(t,n)},stop(t){const e=t.titleBlock;Mr.removeBox(t,e),delete t.titleBlock},beforeUpdate(t,e,n){const r=t.titleBlock;Mr.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 Jl={average(t){if(!t.length)return!1;let e,n,r=new Set,o=0,i=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),o+=u.y,++i}}return i===0||r.size===0?!1:{x:[...r].reduce((l,u)=>l+u)/r.size,y:o/i}},nearest(t,e){if(!t.length)return!1;let n=e.x,r=e.y,o=Number.POSITIVE_INFINITY,i,a,l;for(i=0,a=t.length;i<a;++i){const u=t[i].element;if(u&&u.hasValue()){const d=u.getCenterPoint(),h=T8(e,d);h<o&&(o=h,l=u)}}if(l){const u=l.tooltipPosition();n=u.x,r=u.y}return{x:n,y:r}}};function Eo(t,e){return e&&(on(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function ei(t){return(typeof t=="string"||t instanceof String)&&t.indexOf(`
|
|
276
|
+
`;function hD(t){if(!t)return;const e=t.getRootNode();if(!(e instanceof ShadowRoot)||e.getElementById(Bv))return;const n=document.createElement("style");n.id=Bv,n.textContent=fD,e.appendChild(n)}const Th=M.forwardRef((t,e)=>{const{apiKey:n=Ci.DEFAULT_API_KEY,isLoggedIn:r=!1,loginUrl:o=Go.LOGIN_URL,userEmail:i,userName:a,accessId:l,actingUser:u,ringEffect:d,defaultOpen:h,onClose:p,open:g,onOpenChange:m,embedded:y=!1,welcome:w,qaEndpoint:x,ratingEndpoint:P,onAnalyticsEvent:_}=t,D=M.useRef(null),C=M.useRef(null),[N,R]=M.useState({}),z=M.useMemo(()=>({email:i,name:a,accessId:l}),[i,a,l]);M.useEffect(()=>{hD(C.current)},[]),M.useEffect(()=>{KP({ticketForm:N,setTicketForm:R})},[N]),M.useImperativeHandle(e,()=>({addMessage:Z=>{var ce,ne;(ne=(ce=D.current)==null?void 0:ce.addMessage)==null||ne.call(ce,Z)}}));const W=w||(r?Go.WELCOME_MESSAGE:Go.WELCOME_MESSAGE_LOGGED_OUT),K=M.useMemo(()=>dD(),[]),q=M.useCallback(Z=>{_&&_({...Z,type:Z.type,timestamp:Z.timestamp??Date.now(),sessionId:Z.sessionId??K})},[_,K]),J=M.useCallback(Z=>{_&&_({...Z,type:Z.type,timestamp:typeof Z.timestamp=="number"?Z.timestamp:Date.now(),sessionId:typeof Z.sessionId=="string"?Z.sessionId:K})},[_,K]),V=M.useMemo(()=>{const Z=qP({welcome:W,setTicketForm:R,isLoggedIn:r,trackEvent:q}),ce=rD({ticketForm:{},setTicketForm:R,userInfo:z,trackEvent:q}),ne=iD({ticketForm:{},setTicketForm:R,userInfo:z,trackEvent:q}),fe=uD({sessionId:K,apiKey:n,trackEvent:q}),oe={...Z,...ce,...ne,...fe};return WP(oe,{disableOnOptions:!0})},[W,z,K,n,r,q]);return E.jsx("div",{ref:C,children:E.jsx(Sh,{ref:D,isLoggedIn:r,actingUser:u,onAnalyticsEvent:J,apiKey:n,qaEndpoint:x||Ci.QA_ENDPOINT,ratingEndpoint:P||Ci.RATING_ENDPOINT,botName:Go.BOT_NAME,logo:Go.LOGO,primaryColor:Go.PRIMARY_COLOR,secondaryColor:Go.SECONDARY_COLOR,welcomeMessage:W,tooltipText:Go.TOOLTIP,loginUrl:o,open:g,onOpenChange:m,embedded:y,footerText:"AI-powered · Privacy Notice",footerLink:"https://support.access-ci.org/tools/access-qa-tool/privacy",customFlow:V})})});Th.displayName="AccessQABot";const pD=Object.freeze(Object.defineProperty({__proto__:null,API_CONFIG:Ci,AccessQABot:Th,BOT_CONFIG:Go,QABot:Th},Symbol.toStringTag,{value:"Module"}));function ft({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 Tv=()=>{const t=new Event("accessci-update-sections");document.dispatchEvent(t)};function vo({children:t,headerComponents:e=null,icon:n=null,sectionId:r=null,title:o}){const i=r||o.toLowerCase().replace(/[^0-9a-z]+/g,"-");return M.useLayoutEffect(()=>(Tv(),Tv),[]),E.jsxs("section",{id:i,"data-section-title":o,"data-section-icon":n,children:[E.jsxs("div",{className:"flex-header",children:[E.jsxs("h2",{children:[n?E.jsx(ft,{name:n}):null,o]}),e?E.jsx("div",{className:"header-components",children:e}):null]}),t]})}function AD({infoGroupId:t}){const e=Fn(`https://support.access-ci.org/api/1.0/affinity_groups/${t}`);if(!e||e.error||!e.length)return;const n=hf(e[0].slack_link);return E.jsxs(vo,{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(ft,{name:"person-plus-fill"})," Join Affinity Group"]}),n?E.jsxs("a",{href:n,className:"btn",children:[E.jsx(ft,{name:"slack"})," Connect on Slack"]}):null,E.jsxs("a",{href:"#questions-and-answers",className:"btn",children:[E.jsx(ft,{name:"chat-fill"})," Ask and Answer Questions"]})]})]})}function gD({infoGroupId:t}){const e=sl(t),n=Fn(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:o,description:i,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(h=>E.jsx("p",{children:E.jsxs("a",{href:h.organization_url||"#",children:[h.organization_favicon_url?E.jsx(ft,{alt:h.organization_name,src:h.organization_favicon_url}):null,h.organization_name]})},h.organization_name)),i?E.jsx("p",{children:i}):null,E.jsxs("div",{style:{marginTop:"1rem"},children:[u?E.jsxs("a",{href:u,className:"btn secondary lg",children:[E.jsx(ft,{name:"check2-circle"})," Get Started with ",o]}):null,d?E.jsxs("a",{href:d,className:"btn lg",children:[E.jsx(ft,{name:"book"})," User Guide"]}):null]})]})}function mD({column:t,row:e,style:n={}}){const r=t.format?t.format(e[t.key],e):e[t.key],o=["cell"];return t.class&&o.push(t.class),t.rowClass&&o.push(t.rowClass(e)),E.jsx("td",{className:o.join(" "),style:n,children:r})}const vD={text:mD};function uu({columns:t,rows:e,classes:n,frozenColumns:r=0,maxHeight:o=400,minWidth:i,rowClasses:a=[],scrollResetOnUpdate:l=!1}){const u=M.useRef();M.useLayoutEffect(()=>{u.current&&l&&(u.current.scrollTop=0)},[e]);const d=[0];for(let y=0;y<r;y++)d[y+1]=d[y]+(t[y].width||100);const h=(y,w)=>y<r?{position:"sticky",left:`${d[y]}px`,minWidth:`${t[y].width||100}px`,width:`${t[y].width||100}px`,zIndex:w||1}:{},p=t.map((y,w)=>E.jsx("th",{className:y.headerClass||y.class||"",style:h(w,100),children:y.formatHeader?y.formatHeader(y.name,y):y.name},y.key)),g=e.map((y,w)=>{const x=t.map((P,_)=>{const D=vD[P.type||"text"];return E.jsx(D,{column:P,row:y,style:h(_)},P.key)});return E.jsx("tr",{className:a[w]||"",children:x},w)}),m={};return i&&(m.minWidth=i),E.jsx("div",{className:`grid ${n||""}`,style:{maxHeight:Number.isInteger(o)?`${o}px`:o||null},ref:u,children:E.jsxs("table",{className:"table",style:m,children:[E.jsx("thead",{children:E.jsx("tr",{children:p})}),E.jsx("tbody",{children:g})]})})}function yD({infoGroupId:t}){const e=Fn(`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,o=Fn(r);if(!o||o.error||!o.topic_list||!o.topic_list.topics||!o.topic_list.topics.length)return;const i=[{key:"title",name:"Topic",format:(l,u)=>E.jsxs(E.Fragment,{children:[u.pinned?E.jsx(ft,{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(vo,{title:"Questions and Answers",icon:"chat-fill",headerComponents:a,children:E.jsx(uu,{columns:i,rows:o.topic_list.topics.slice(0,5)})})}var Yn="top",Pr="bottom",Dr="right",qn="left",Ih="auto",El=[Yn,Pr,Dr,qn],la="start",Cl="end",xD="clippingParents",Iv="viewport",Pl="popper",bD="reference",_v=El.reduce(function(t,e){return t.concat([e+"-"+la,e+"-"+Cl])},[]),Mv=[].concat(El,[Ih]).reduce(function(t,e){return t.concat([e,e+"-"+la,e+"-"+Cl])},[]),wD="beforeRead",kD="read",SD="afterRead",ED="beforeMain",CD="main",PD="afterMain",DD="beforeWrite",BD="write",TD="afterWrite",ID=[wD,kD,SD,ED,CD,PD,DD,BD,TD];function yo(t){return t?(t.nodeName||"").toLowerCase():null}function fr(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function ps(t){var e=fr(t).Element;return t instanceof e||t instanceof Element}function Br(t){var e=fr(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function _h(t){if(typeof ShadowRoot>"u")return!1;var e=fr(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function _D(t){var e=t.state;Object.keys(e.elements).forEach(function(n){var r=e.styles[n]||{},o=e.attributes[n]||{},i=e.elements[n];!Br(i)||!yo(i)||(Object.assign(i.style,r),Object.keys(o).forEach(function(a){var l=o[a];l===!1?i.removeAttribute(a):i.setAttribute(a,l===!0?"":l)}))})}function MD(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 o=e.elements[r],i=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},{});!Br(o)||!yo(o)||(Object.assign(o.style,l),Object.keys(i).forEach(function(u){o.removeAttribute(u)}))})}}const Ov={name:"applyStyles",enabled:!0,phase:"write",fn:_D,effect:MD,requires:["computeStyles"]};function xo(t){return t.split("-")[0]}var As=Math.max,du=Math.min,ca=Math.round;function Mh(){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 Rv(){return!/^((?!chrome|android).)*safari/i.test(Mh())}function ua(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!1);var r=t.getBoundingClientRect(),o=1,i=1;e&&Br(t)&&(o=t.offsetWidth>0&&ca(r.width)/t.offsetWidth||1,i=t.offsetHeight>0&&ca(r.height)/t.offsetHeight||1);var a=ps(t)?fr(t):window,l=a.visualViewport,u=!Rv()&&n,d=(r.left+(u&&l?l.offsetLeft:0))/o,h=(r.top+(u&&l?l.offsetTop:0))/i,p=r.width/o,g=r.height/i;return{width:p,height:g,top:h,right:d+p,bottom:h+g,left:d,x:d,y:h}}function Oh(t){var e=ua(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 Lv(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&_h(n)){var r=e;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Xo(t){return fr(t).getComputedStyle(t)}function OD(t){return["table","td","th"].indexOf(yo(t))>=0}function Pi(t){return((ps(t)?t.ownerDocument:t.document)||window.document).documentElement}function fu(t){return yo(t)==="html"?t:t.assignedSlot||t.parentNode||(_h(t)?t.host:null)||Pi(t)}function Fv(t){return!Br(t)||Xo(t).position==="fixed"?null:t.offsetParent}function RD(t){var e=/firefox/i.test(Mh()),n=/Trident/i.test(Mh());if(n&&Br(t)){var r=Xo(t);if(r.position==="fixed")return null}var o=fu(t);for(_h(o)&&(o=o.host);Br(o)&&["html","body"].indexOf(yo(o))<0;){var i=Xo(o);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||e&&i.willChange==="filter"||e&&i.filter&&i.filter!=="none")return o;o=o.parentNode}return null}function Dl(t){for(var e=fr(t),n=Fv(t);n&&OD(n)&&Xo(n).position==="static";)n=Fv(n);return n&&(yo(n)==="html"||yo(n)==="body"&&Xo(n).position==="static")?e:n||RD(t)||e}function Rh(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Bl(t,e,n){return As(t,du(e,n))}function LD(t,e,n){var r=Bl(t,e,n);return r>n?n:r}function jv(){return{top:0,right:0,bottom:0,left:0}}function Nv(t){return Object.assign({},jv(),t)}function zv(t,e){return e.reduce(function(n,r){return n[r]=t,n},{})}var FD=function(e,n){return e=typeof e=="function"?e(Object.assign({},n.rects,{placement:n.placement})):e,Nv(typeof e!="number"?e:zv(e,El))};function jD(t){var e,n=t.state,r=t.name,o=t.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,l=xo(n.placement),u=Rh(l),d=[qn,Dr].indexOf(l)>=0,h=d?"height":"width";if(!(!i||!a)){var p=FD(o.padding,n),g=Oh(i),m=u==="y"?Yn:qn,y=u==="y"?Pr:Dr,w=n.rects.reference[h]+n.rects.reference[u]-a[u]-n.rects.popper[h],x=a[u]-n.rects.reference[u],P=Dl(i),_=P?u==="y"?P.clientHeight||0:P.clientWidth||0:0,D=w/2-x/2,C=p[m],N=_-g[h]-p[y],R=_/2-g[h]/2+D,z=Bl(C,R,N),W=u;n.modifiersData[r]=(e={},e[W]=z,e.centerOffset=z-R,e)}}function ND(t){var e=t.state,n=t.options,r=n.element,o=r===void 0?"[data-popper-arrow]":r;o!=null&&(typeof o=="string"&&(o=e.elements.popper.querySelector(o),!o)||Lv(e.elements.popper,o)&&(e.elements.arrow=o))}const zD={name:"arrow",enabled:!0,phase:"main",fn:jD,effect:ND,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function da(t){return t.split("-")[1]}var QD={top:"auto",right:"auto",bottom:"auto",left:"auto"};function HD(t,e){var n=t.x,r=t.y,o=e.devicePixelRatio||1;return{x:ca(n*o)/o||0,y:ca(r*o)/o||0}}function Qv(t){var e,n=t.popper,r=t.popperRect,o=t.placement,i=t.variation,a=t.offsets,l=t.position,u=t.gpuAcceleration,d=t.adaptive,h=t.roundOffsets,p=t.isFixed,g=a.x,m=g===void 0?0:g,y=a.y,w=y===void 0?0:y,x=typeof h=="function"?h({x:m,y:w}):{x:m,y:w};m=x.x,w=x.y;var P=a.hasOwnProperty("x"),_=a.hasOwnProperty("y"),D=qn,C=Yn,N=window;if(d){var R=Dl(n),z="clientHeight",W="clientWidth";if(R===fr(n)&&(R=Pi(n),Xo(R).position!=="static"&&l==="absolute"&&(z="scrollHeight",W="scrollWidth")),R=R,o===Yn||(o===qn||o===Dr)&&i===Cl){C=Pr;var K=p&&R===N&&N.visualViewport?N.visualViewport.height:R[z];w-=K-r.height,w*=u?1:-1}if(o===qn||(o===Yn||o===Pr)&&i===Cl){D=Dr;var q=p&&R===N&&N.visualViewport?N.visualViewport.width:R[W];m-=q-r.width,m*=u?1:-1}}var J=Object.assign({position:l},d&&QD),V=h===!0?HD({x:m,y:w},fr(n)):{x:m,y:w};if(m=V.x,w=V.y,u){var Z;return Object.assign({},J,(Z={},Z[C]=_?"0":"",Z[D]=P?"0":"",Z.transform=(N.devicePixelRatio||1)<=1?"translate("+m+"px, "+w+"px)":"translate3d("+m+"px, "+w+"px, 0)",Z))}return Object.assign({},J,(e={},e[C]=_?w+"px":"",e[D]=P?m+"px":"",e.transform="",e))}function UD(t){var e=t.state,n=t.options,r=n.gpuAcceleration,o=r===void 0?!0:r,i=n.adaptive,a=i===void 0?!0:i,l=n.roundOffsets,u=l===void 0?!0:l,d={placement:xo(e.placement),variation:da(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:o,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,Qv(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,Qv(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 VD={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:UD,data:{}};var hu={passive:!0};function WD(t){var e=t.state,n=t.instance,r=t.options,o=r.scroll,i=o===void 0?!0:o,a=r.resize,l=a===void 0?!0:a,u=fr(e.elements.popper),d=[].concat(e.scrollParents.reference,e.scrollParents.popper);return i&&d.forEach(function(h){h.addEventListener("scroll",n.update,hu)}),l&&u.addEventListener("resize",n.update,hu),function(){i&&d.forEach(function(h){h.removeEventListener("scroll",n.update,hu)}),l&&u.removeEventListener("resize",n.update,hu)}}const YD={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:WD,data:{}};var qD={left:"right",right:"left",bottom:"top",top:"bottom"};function pu(t){return t.replace(/left|right|bottom|top/g,function(e){return qD[e]})}var KD={start:"end",end:"start"};function Hv(t){return t.replace(/start|end/g,function(e){return KD[e]})}function Lh(t){var e=fr(t),n=e.pageXOffset,r=e.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Fh(t){return ua(Pi(t)).left+Lh(t).scrollLeft}function GD(t,e){var n=fr(t),r=Pi(t),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,l=0,u=0;if(o){i=o.width,a=o.height;var d=Rv();(d||!d&&e==="fixed")&&(l=o.offsetLeft,u=o.offsetTop)}return{width:i,height:a,x:l+Fh(t),y:u}}function XD(t){var e,n=Pi(t),r=Lh(t),o=(e=t.ownerDocument)==null?void 0:e.body,i=As(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=As(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-r.scrollLeft+Fh(t),u=-r.scrollTop;return Xo(o||n).direction==="rtl"&&(l+=As(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:l,y:u}}function jh(t){var e=Xo(t),n=e.overflow,r=e.overflowX,o=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Uv(t){return["html","body","#document"].indexOf(yo(t))>=0?t.ownerDocument.body:Br(t)&&jh(t)?t:Uv(fu(t))}function Tl(t,e){var n;e===void 0&&(e=[]);var r=Uv(t),o=r===((n=t.ownerDocument)==null?void 0:n.body),i=fr(r),a=o?[i].concat(i.visualViewport||[],jh(r)?r:[]):r,l=e.concat(a);return o?l:l.concat(Tl(fu(a)))}function Nh(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function JD(t,e){var n=ua(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 Vv(t,e,n){return e===Iv?Nh(GD(t,n)):ps(e)?JD(e,n):Nh(XD(Pi(t)))}function ZD(t){var e=Tl(fu(t)),n=["absolute","fixed"].indexOf(Xo(t).position)>=0,r=n&&Br(t)?Dl(t):t;return ps(r)?e.filter(function(o){return ps(o)&&Lv(o,r)&&yo(o)!=="body"}):[]}function $D(t,e,n,r){var o=e==="clippingParents"?ZD(t):[].concat(e),i=[].concat(o,[n]),a=i[0],l=i.reduce(function(u,d){var h=Vv(t,d,r);return u.top=As(h.top,u.top),u.right=du(h.right,u.right),u.bottom=du(h.bottom,u.bottom),u.left=As(h.left,u.left),u},Vv(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 Wv(t){var e=t.reference,n=t.element,r=t.placement,o=r?xo(r):null,i=r?da(r):null,a=e.x+e.width/2-n.width/2,l=e.y+e.height/2-n.height/2,u;switch(o){case Yn:u={x:a,y:e.y-n.height};break;case Pr:u={x:a,y:e.y+e.height};break;case Dr:u={x:e.x+e.width,y:l};break;case qn:u={x:e.x-n.width,y:l};break;default:u={x:e.x,y:e.y}}var d=o?Rh(o):null;if(d!=null){var h=d==="y"?"height":"width";switch(i){case la:u[d]=u[d]-(e[h]/2-n[h]/2);break;case Cl:u[d]=u[d]+(e[h]/2-n[h]/2);break}}return u}function Il(t,e){e===void 0&&(e={});var n=e,r=n.placement,o=r===void 0?t.placement:r,i=n.strategy,a=i===void 0?t.strategy:i,l=n.boundary,u=l===void 0?xD:l,d=n.rootBoundary,h=d===void 0?Iv:d,p=n.elementContext,g=p===void 0?Pl:p,m=n.altBoundary,y=m===void 0?!1:m,w=n.padding,x=w===void 0?0:w,P=Nv(typeof x!="number"?x:zv(x,El)),_=g===Pl?bD:Pl,D=t.rects.popper,C=t.elements[y?_:g],N=$D(ps(C)?C:C.contextElement||Pi(t.elements.popper),u,h,a),R=ua(t.elements.reference),z=Wv({reference:R,element:D,placement:o}),W=Nh(Object.assign({},D,z)),K=g===Pl?W:R,q={top:N.top-K.top+P.top,bottom:K.bottom-N.bottom+P.bottom,left:N.left-K.left+P.left,right:K.right-N.right+P.right},J=t.modifiersData.offset;if(g===Pl&&J){var V=J[o];Object.keys(q).forEach(function(Z){var ce=[Dr,Pr].indexOf(Z)>=0?1:-1,ne=[Yn,Pr].indexOf(Z)>=0?"y":"x";q[Z]+=V[ne]*ce})}return q}function eB(t,e){e===void 0&&(e={});var n=e,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,l=n.flipVariations,u=n.allowedAutoPlacements,d=u===void 0?Mv:u,h=da(r),p=h?l?_v:_v.filter(function(y){return da(y)===h}):El,g=p.filter(function(y){return d.indexOf(y)>=0});g.length===0&&(g=p);var m=g.reduce(function(y,w){return y[w]=Il(t,{placement:w,boundary:o,rootBoundary:i,padding:a})[xo(w)],y},{});return Object.keys(m).sort(function(y,w){return m[y]-m[w]})}function tB(t){if(xo(t)===Ih)return[];var e=pu(t);return[Hv(t),e,Hv(e)]}function nB(t){var e=t.state,n=t.options,r=t.name;if(!e.modifiersData[r]._skip){for(var o=n.mainAxis,i=o===void 0?!0:o,a=n.altAxis,l=a===void 0?!0:a,u=n.fallbackPlacements,d=n.padding,h=n.boundary,p=n.rootBoundary,g=n.altBoundary,m=n.flipVariations,y=m===void 0?!0:m,w=n.allowedAutoPlacements,x=e.options.placement,P=xo(x),_=P===x,D=u||(_||!y?[pu(x)]:tB(x)),C=[x].concat(D).reduce(function(de,ve){return de.concat(xo(ve)===Ih?eB(e,{placement:ve,boundary:h,rootBoundary:p,padding:d,flipVariations:y,allowedAutoPlacements:w}):ve)},[]),N=e.rects.reference,R=e.rects.popper,z=new Map,W=!0,K=C[0],q=0;q<C.length;q++){var J=C[q],V=xo(J),Z=da(J)===la,ce=[Yn,Pr].indexOf(V)>=0,ne=ce?"width":"height",fe=Il(e,{placement:J,boundary:h,rootBoundary:p,altBoundary:g,padding:d}),oe=ce?Z?Dr:qn:Z?Pr:Yn;N[ne]>R[ne]&&(oe=pu(oe));var G=pu(oe),j=[];if(i&&j.push(fe[V]<=0),l&&j.push(fe[oe]<=0,fe[G]<=0),j.every(function(de){return de})){K=J,W=!1;break}z.set(J,j)}if(W)for(var pe=y?3:1,I=function(ve){var ye=C.find(function(De){var _e=z.get(De);if(_e)return _e.slice(0,ve).every(function(Be){return Be})});if(ye)return K=ye,"break"},$=pe;$>0;$--){var he=I($);if(he==="break")break}e.placement!==K&&(e.modifiersData[r]._skip=!0,e.placement=K,e.reset=!0)}}const rB={name:"flip",enabled:!0,phase:"main",fn:nB,requiresIfExists:["offset"],data:{_skip:!1}};function Yv(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 qv(t){return[Yn,Dr,Pr,qn].some(function(e){return t[e]>=0})}function oB(t){var e=t.state,n=t.name,r=e.rects.reference,o=e.rects.popper,i=e.modifiersData.preventOverflow,a=Il(e,{elementContext:"reference"}),l=Il(e,{altBoundary:!0}),u=Yv(a,r),d=Yv(l,o,i),h=qv(u),p=qv(d);e.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:d,isReferenceHidden:h,hasPopperEscaped:p},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":h,"data-popper-escaped":p})}const iB={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:oB};function sB(t,e,n){var r=xo(t),o=[qn,Yn].indexOf(r)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},e,{placement:t})):n,a=i[0],l=i[1];return a=a||0,l=(l||0)*o,[qn,Dr].indexOf(r)>=0?{x:l,y:a}:{x:a,y:l}}function aB(t){var e=t.state,n=t.options,r=t.name,o=n.offset,i=o===void 0?[0,0]:o,a=Mv.reduce(function(h,p){return h[p]=sB(p,e.rects,i),h},{}),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 lB={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:aB};function cB(t){var e=t.state,n=t.name;e.modifiersData[n]=Wv({reference:e.rects.reference,element:e.rects.popper,placement:e.placement})}const uB={name:"popperOffsets",enabled:!0,phase:"read",fn:cB,data:{}};function dB(t){return t==="x"?"y":"x"}function fB(t){var e=t.state,n=t.options,r=t.name,o=n.mainAxis,i=o===void 0?!0:o,a=n.altAxis,l=a===void 0?!1:a,u=n.boundary,d=n.rootBoundary,h=n.altBoundary,p=n.padding,g=n.tether,m=g===void 0?!0:g,y=n.tetherOffset,w=y===void 0?0:y,x=Il(e,{boundary:u,rootBoundary:d,padding:p,altBoundary:h}),P=xo(e.placement),_=da(e.placement),D=!_,C=Rh(P),N=dB(C),R=e.modifiersData.popperOffsets,z=e.rects.reference,W=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),J=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,V={x:0,y:0};if(R){if(i){var Z,ce=C==="y"?Yn:qn,ne=C==="y"?Pr:Dr,fe=C==="y"?"height":"width",oe=R[C],G=oe+x[ce],j=oe-x[ne],pe=m?-W[fe]/2:0,I=_===la?z[fe]:W[fe],$=_===la?-W[fe]:-z[fe],he=e.elements.arrow,de=m&&he?Oh(he):{width:0,height:0},ve=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:jv(),ye=ve[ce],De=ve[ne],_e=Bl(0,z[fe],de[fe]),Be=D?z[fe]/2-pe-_e-ye-q.mainAxis:I-_e-ye-q.mainAxis,He=D?-z[fe]/2+pe+_e+De+q.mainAxis:$+_e+De+q.mainAxis,lt=e.elements.arrow&&Dl(e.elements.arrow),Nt=lt?C==="y"?lt.clientTop||0:lt.clientLeft||0:0,et=(Z=J?.[C])!=null?Z:0,xt=oe+Be-et-Nt,an=oe+He-et,Mt=Bl(m?du(G,xt):G,oe,m?As(j,an):j);R[C]=Mt,V[C]=Mt-oe}if(l){var Wt,pt=C==="x"?Yn:qn,kt=C==="x"?Pr:Dr,dt=R[N],zt=N==="y"?"height":"width",Lt=dt+x[pt],At=dt-x[kt],bn=[Yn,qn].indexOf(P)!==-1,en=(Wt=J?.[N])!=null?Wt:0,dn=bn?Lt:dt-z[zt]-W[zt]-en+q.altAxis,fn=bn?dt+z[zt]+W[zt]-en-q.altAxis:At,Gt=m&&bn?LD(dn,dt,fn):Bl(m?dn:Lt,dt,m?fn:At);R[N]=Gt,V[N]=Gt-dt}e.modifiersData[r]=V}}const hB={name:"preventOverflow",enabled:!0,phase:"main",fn:fB,requiresIfExists:["offset"]};function pB(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function AB(t){return t===fr(t)||!Br(t)?Lh(t):pB(t)}function gB(t){var e=t.getBoundingClientRect(),n=ca(e.width)/t.offsetWidth||1,r=ca(e.height)/t.offsetHeight||1;return n!==1||r!==1}function mB(t,e,n){n===void 0&&(n=!1);var r=Br(e),o=Br(e)&&gB(e),i=Pi(e),a=ua(t,o,n),l={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(r||!r&&!n)&&((yo(e)!=="body"||jh(i))&&(l=AB(e)),Br(e)?(u=ua(e,!0),u.x+=e.clientLeft,u.y+=e.clientTop):i&&(u.x=Fh(i))),{x:a.left+l.scrollLeft-u.x,y:a.top+l.scrollTop-u.y,width:a.width,height:a.height}}function vB(t){var e=new Map,n=new Set,r=[];t.forEach(function(i){e.set(i.name,i)});function o(i){n.add(i.name);var a=[].concat(i.requires||[],i.requiresIfExists||[]);a.forEach(function(l){if(!n.has(l)){var u=e.get(l);u&&o(u)}}),r.push(i)}return t.forEach(function(i){n.has(i.name)||o(i)}),r}function yB(t){var e=vB(t);return ID.reduce(function(n,r){return n.concat(e.filter(function(o){return o.phase===r}))},[])}function xB(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}function bB(t){var e=t.reduce(function(n,r){var o=n[r.name];return n[r.name]=o?Object.assign({},o,r,{options:Object.assign({},o.options,r.options),data:Object.assign({},o.data,r.data)}):r,n},{});return Object.keys(e).map(function(n){return e[n]})}var Kv={placement:"bottom",modifiers:[],strategy:"absolute"};function Gv(){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 wB(t){t===void 0&&(t={});var e=t,n=e.defaultModifiers,r=n===void 0?[]:n,o=e.defaultOptions,i=o===void 0?Kv:o;return function(l,u,d){d===void 0&&(d=i);var h={placement:"bottom",orderedModifiers:[],options:Object.assign({},Kv,i),modifiersData:{},elements:{reference:l,popper:u},attributes:{},styles:{}},p=[],g=!1,m={state:h,setOptions:function(P){var _=typeof P=="function"?P(h.options):P;w(),h.options=Object.assign({},i,h.options,_),h.scrollParents={reference:ps(l)?Tl(l):l.contextElement?Tl(l.contextElement):[],popper:Tl(u)};var D=yB(bB([].concat(r,h.options.modifiers)));return h.orderedModifiers=D.filter(function(C){return C.enabled}),y(),m.update()},forceUpdate:function(){if(!g){var P=h.elements,_=P.reference,D=P.popper;if(Gv(_,D)){h.rects={reference:mB(_,Dl(D),h.options.strategy==="fixed"),popper:Oh(D)},h.reset=!1,h.placement=h.options.placement,h.orderedModifiers.forEach(function(q){return h.modifiersData[q.name]=Object.assign({},q.data)});for(var C=0;C<h.orderedModifiers.length;C++){if(h.reset===!0){h.reset=!1,C=-1;continue}var N=h.orderedModifiers[C],R=N.fn,z=N.options,W=z===void 0?{}:z,K=N.name;typeof R=="function"&&(h=R({state:h,options:W,name:K,instance:m})||h)}}}},update:xB(function(){return new Promise(function(x){m.forceUpdate(),x(h)})}),destroy:function(){w(),g=!0}};if(!Gv(l,u))return m;m.setOptions(d).then(function(x){!g&&d.onFirstUpdate&&d.onFirstUpdate(x)});function y(){h.orderedModifiers.forEach(function(x){var P=x.name,_=x.options,D=_===void 0?{}:_,C=x.effect;if(typeof C=="function"){var N=C({state:h,name:P,instance:m,options:D}),R=function(){};p.push(N||R)}})}function w(){p.forEach(function(x){return x()}),p=[]}return m}}var kB=[YD,uB,VD,Ov,lB,rB,hB,zD,iB],SB=wB({defaultModifiers:kB}),EB="tippy-box",Xv="tippy-content",CB="tippy-backdrop",Jv="tippy-arrow",Zv="tippy-svg-arrow",gs={passive:!0,capture:!0},$v=function(){return document.body};function zh(t,e,n){if(Array.isArray(t)){var r=t[e];return r??(Array.isArray(n)?n[e]:n)}return t}function Qh(t,e){var n={}.toString.call(t);return n.indexOf("[object")===0&&n.indexOf(e+"]")>-1}function ey(t,e){return typeof t=="function"?t.apply(void 0,e):t}function ty(t,e){if(e===0)return t;var n;return function(r){clearTimeout(n),n=setTimeout(function(){t(r)},e)}}function PB(t){return t.split(/\s+/).filter(Boolean)}function fa(t){return[].concat(t)}function ny(t,e){t.indexOf(e)===-1&&t.push(e)}function DB(t){return t.filter(function(e,n){return t.indexOf(e)===n})}function BB(t){return t.split("-")[0]}function Au(t){return[].slice.call(t)}function ry(t){return Object.keys(t).reduce(function(e,n){return t[n]!==void 0&&(e[n]=t[n]),e},{})}function _l(){return document.createElement("div")}function gu(t){return["Element","Fragment"].some(function(e){return Qh(t,e)})}function TB(t){return Qh(t,"NodeList")}function IB(t){return Qh(t,"MouseEvent")}function _B(t){return!!(t&&t._tippy&&t._tippy.reference===t)}function MB(t){return gu(t)?[t]:TB(t)?Au(t):Array.isArray(t)?t:Au(document.querySelectorAll(t))}function Hh(t,e){t.forEach(function(n){n&&(n.style.transitionDuration=e+"ms")})}function oy(t,e){t.forEach(function(n){n&&n.setAttribute("data-state",e)})}function OB(t){var e,n=fa(t),r=n[0];return r!=null&&(e=r.ownerDocument)!=null&&e.body?r.ownerDocument:document}function RB(t,e){var n=e.clientX,r=e.clientY;return t.every(function(o){var i=o.popperRect,a=o.popperState,l=o.props,u=l.interactiveBorder,d=BB(a.placement),h=a.modifiersData.offset;if(!h)return!0;var p=d==="bottom"?h.top.y:0,g=d==="top"?h.bottom.y:0,m=d==="right"?h.left.x:0,y=d==="left"?h.right.x:0,w=i.top-r+p>u,x=r-i.bottom-g>u,P=i.left-n+m>u,_=n-i.right-y>u;return w||x||P||_})}function Uh(t,e,n){var r=e+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(o){t[r](o,n)})}function iy(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 bo={isTouch:!1},sy=0;function LB(){bo.isTouch||(bo.isTouch=!0,window.performance&&document.addEventListener("mousemove",ay))}function ay(){var t=performance.now();t-sy<20&&(bo.isTouch=!1,document.removeEventListener("mousemove",ay)),sy=t}function FB(){var t=document.activeElement;if(_B(t)){var e=t._tippy;t.blur&&!e.state.isVisible&&t.blur()}}function jB(){document.addEventListener("touchstart",LB,gs),window.addEventListener("blur",FB)}var NB=typeof window<"u"&&typeof document<"u",zB=NB?!!window.msCrypto:!1,QB={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},HB={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},Vr=Object.assign({appendTo:$v,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},QB,HB),UB=Object.keys(Vr),VB=function(e){var n=Object.keys(e);n.forEach(function(r){Vr[r]=e[r]})};function ly(t){var e=t.plugins||[],n=e.reduce(function(r,o){var i=o.name,a=o.defaultValue;if(i){var l;r[i]=t[i]!==void 0?t[i]:(l=Vr[i])!=null?l:a}return r},{});return Object.assign({},t,n)}function WB(t,e){var n=e?Object.keys(ly(Object.assign({},Vr,{plugins:e}))):UB,r=n.reduce(function(o,i){var a=(t.getAttribute("data-tippy-"+i)||"").trim();if(!a)return o;if(i==="content")o[i]=a;else try{o[i]=JSON.parse(a)}catch{o[i]=a}return o},{});return r}function cy(t,e){var n=Object.assign({},e,{content:ey(e.content,[t])},e.ignoreAttributes?{}:WB(t,e.plugins));return n.aria=Object.assign({},Vr.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 YB=function(){return"innerHTML"};function Vh(t,e){t[YB()]=e}function uy(t){var e=_l();return t===!0?e.className=Jv:(e.className=Zv,gu(t)?e.appendChild(t):Vh(e,t)),e}function dy(t,e){gu(e.content)?(Vh(t,""),t.appendChild(e.content)):typeof e.content!="function"&&(e.allowHTML?Vh(t,e.content):t.textContent=e.content)}function Wh(t){var e=t.firstElementChild,n=Au(e.children);return{box:e,content:n.find(function(r){return r.classList.contains(Xv)}),arrow:n.find(function(r){return r.classList.contains(Jv)||r.classList.contains(Zv)}),backdrop:n.find(function(r){return r.classList.contains(CB)})}}function fy(t){var e=_l(),n=_l();n.className=EB,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=_l();r.className=Xv,r.setAttribute("data-state","hidden"),dy(r,t.props),e.appendChild(n),n.appendChild(r),o(t.props,t.props);function o(i,a){var l=Wh(e),u=l.box,d=l.content,h=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"),(i.content!==a.content||i.allowHTML!==a.allowHTML)&&dy(d,t.props),a.arrow?h?i.arrow!==a.arrow&&(u.removeChild(h),u.appendChild(uy(a.arrow))):u.appendChild(uy(a.arrow)):h&&u.removeChild(h)}return{popper:e,onUpdate:o}}fy.$$tippy=!0;var qB=1,mu=[],Yh=[];function KB(t,e){var n=cy(t,Object.assign({},Vr,ly(ry(e)))),r,o,i,a=!1,l=!1,u=!1,d=!1,h,p,g,m=[],y=ty(xt,n.interactiveDebounce),w,x=qB++,P=null,_=DB(n.plugins),D={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},C={id:x,reference:t,popper:_l(),popperInstance:P,props:n,state:D,plugins:_,clearDelayTimeouts:dn,setProps:fn,setContent:Gt,show:Ae,hide:Me,hideWithInteractivity:Fe,enable:bn,disable:en,unmount:tt,destroy:qe};if(!n.render)return C;var N=n.render(C),R=N.popper,z=N.onUpdate;R.setAttribute("data-tippy-root",""),R.id="tippy-"+C.id,C.popper=R,t._tippy=C,R._tippy=C;var W=_.map(function(le){return le.fn(C)}),K=t.hasAttribute("aria-expanded");return lt(),pe(),oe(),G("onCreate",[C]),n.showOnCreate&&Lt(),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&&ce().addEventListener("mousemove",y)}),C;function q(){var le=C.props.touch;return Array.isArray(le)?le:[le,0]}function J(){return q()[0]==="hold"}function V(){var le;return!!((le=C.props.render)!=null&&le.$$tippy)}function Z(){return w||t}function ce(){var le=Z().parentNode;return le?OB(le):document}function ne(){return Wh(R)}function fe(le){return C.state.isMounted&&!C.state.isVisible||bo.isTouch||h&&h.type==="focus"?0:zh(C.props.delay,le?0:1,Vr.delay)}function oe(le){le===void 0&&(le=!1),R.style.pointerEvents=C.props.interactive&&!le?"":"none",R.style.zIndex=""+C.props.zIndex}function G(le,Ie,Ne){if(Ne===void 0&&(Ne=!0),W.forEach(function(rt){rt[le]&&rt[le].apply(rt,Ie)}),Ne){var ot;(ot=C.props)[le].apply(ot,Ie)}}function j(){var le=C.props.aria;if(le.content){var Ie="aria-"+le.content,Ne=R.id,ot=fa(C.props.triggerTarget||t);ot.forEach(function(rt){var $e=rt.getAttribute(Ie);if(C.state.isVisible)rt.setAttribute(Ie,$e?$e+" "+Ne:Ne);else{var St=$e&&$e.replace(Ne,"").trim();St?rt.setAttribute(Ie,St):rt.removeAttribute(Ie)}})}}function pe(){if(!(K||!C.props.aria.expanded)){var le=fa(C.props.triggerTarget||t);le.forEach(function(Ie){C.props.interactive?Ie.setAttribute("aria-expanded",C.state.isVisible&&Ie===Z()?"true":"false"):Ie.removeAttribute("aria-expanded")})}}function I(){ce().removeEventListener("mousemove",y),mu=mu.filter(function(le){return le!==y})}function $(le){if(!(bo.isTouch&&(u||le.type==="mousedown"))){var Ie=le.composedPath&&le.composedPath()[0]||le.target;if(!(C.props.interactive&&iy(R,Ie))){if(fa(C.props.triggerTarget||t).some(function(Ne){return iy(Ne,Ie)})){if(bo.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||ye())}}}function he(){u=!0}function de(){u=!1}function ve(){var le=ce();le.addEventListener("mousedown",$,!0),le.addEventListener("touchend",$,gs),le.addEventListener("touchstart",de,gs),le.addEventListener("touchmove",he,gs)}function ye(){var le=ce();le.removeEventListener("mousedown",$,!0),le.removeEventListener("touchend",$,gs),le.removeEventListener("touchstart",de,gs),le.removeEventListener("touchmove",he,gs)}function De(le,Ie){Be(le,function(){!C.state.isVisible&&R.parentNode&&R.parentNode.contains(R)&&Ie()})}function _e(le,Ie){Be(le,Ie)}function Be(le,Ie){var Ne=ne().box;function ot(rt){rt.target===Ne&&(Uh(Ne,"remove",ot),Ie())}if(le===0)return Ie();Uh(Ne,"remove",p),Uh(Ne,"add",ot),p=ot}function He(le,Ie,Ne){Ne===void 0&&(Ne=!1);var ot=fa(C.props.triggerTarget||t);ot.forEach(function(rt){rt.addEventListener(le,Ie,Ne),m.push({node:rt,eventType:le,handler:Ie,options:Ne})})}function lt(){J()&&(He("touchstart",et,{passive:!0}),He("touchend",an,{passive:!0})),PB(C.props.trigger).forEach(function(le){if(le!=="manual")switch(He(le,et),le){case"mouseenter":He("mouseleave",an);break;case"focus":He(zB?"focusout":"blur",Mt);break;case"focusin":He("focusout",Mt);break}})}function Nt(){m.forEach(function(le){var Ie=le.node,Ne=le.eventType,ot=le.handler,rt=le.options;Ie.removeEventListener(Ne,ot,rt)}),m=[]}function et(le){var Ie,Ne=!1;if(!(!C.state.isEnabled||Wt(le)||l)){var ot=((Ie=h)==null?void 0:Ie.type)==="focus";h=le,w=le.currentTarget,pe(),!C.state.isVisible&&IB(le)&&mu.forEach(function(rt){return rt(le)}),le.type==="click"&&(C.props.trigger.indexOf("mouseenter")<0||a)&&C.props.hideOnClick!==!1&&C.state.isVisible?Ne=!0:Lt(le),le.type==="click"&&(a=!Ne),Ne&&!ot&&At(le)}}function xt(le){var Ie=le.target,Ne=Z().contains(Ie)||R.contains(Ie);if(!(le.type==="mousemove"&&Ne)){var ot=zt().concat(R).map(function(rt){var $e,St=rt._tippy,bt=($e=St.popperInstance)==null?void 0:$e.state;return bt?{popperRect:rt.getBoundingClientRect(),popperState:bt,props:n}:null}).filter(Boolean);RB(ot,le)&&(I(),At(le))}}function an(le){var Ie=Wt(le)||C.props.trigger.indexOf("click")>=0&&a;if(!Ie){if(C.props.interactive){C.hideWithInteractivity(le);return}At(le)}}function Mt(le){C.props.trigger.indexOf("focusin")<0&&le.target!==Z()||C.props.interactive&&le.relatedTarget&&R.contains(le.relatedTarget)||At(le)}function Wt(le){return bo.isTouch?J()!==le.type.indexOf("touch")>=0:!1}function pt(){kt();var le=C.props,Ie=le.popperOptions,Ne=le.placement,ot=le.offset,rt=le.getReferenceClientRect,$e=le.moveTransition,St=V()?Wh(R).arrow:null,bt=rt?{getBoundingClientRect:rt,contextElement:rt.contextElement||Z()}:t,ut={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(jn){var tn=jn.state;if(V()){var qr=ne(),wn=qr.box;["placement","reference-hidden","escaped"].forEach(function(Or){Or==="placement"?wn.setAttribute("data-placement",tn.placement):tn.attributes.popper["data-popper-"+Or]?wn.setAttribute("data-"+Or,""):wn.removeAttribute("data-"+Or)}),tn.attributes.popper={}}}},hn=[{name:"offset",options:{offset:ot}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!$e}},ut];V()&&St&&hn.push({name:"arrow",options:{element:St,padding:3}}),hn.push.apply(hn,Ie?.modifiers||[]),C.popperInstance=SB(bt,R,Object.assign({},Ie,{placement:Ne,onFirstUpdate:g,modifiers:hn}))}function kt(){C.popperInstance&&(C.popperInstance.destroy(),C.popperInstance=null)}function dt(){var le=C.props.appendTo,Ie,Ne=Z();C.props.interactive&&le===$v||le==="parent"?Ie=Ne.parentNode:Ie=ey(le,[Ne]),Ie.contains(R)||Ie.appendChild(R),C.state.isMounted=!0,pt()}function zt(){return Au(R.querySelectorAll("[data-tippy-root]"))}function Lt(le){C.clearDelayTimeouts(),le&&G("onTrigger",[C,le]),ve();var Ie=fe(!0),Ne=q(),ot=Ne[0],rt=Ne[1];bo.isTouch&&ot==="hold"&&rt&&(Ie=rt),Ie?r=setTimeout(function(){C.show()},Ie):C.show()}function At(le){if(C.clearDelayTimeouts(),G("onUntrigger",[C,le]),!C.state.isVisible){ye();return}if(!(C.props.trigger.indexOf("mouseenter")>=0&&C.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(le.type)>=0&&a)){var Ie=fe(!1);Ie?o=setTimeout(function(){C.state.isVisible&&C.hide()},Ie):i=requestAnimationFrame(function(){C.hide()})}}function bn(){C.state.isEnabled=!0}function en(){C.hide(),C.state.isEnabled=!1}function dn(){clearTimeout(r),clearTimeout(o),cancelAnimationFrame(i)}function fn(le){if(!C.state.isDestroyed){G("onBeforeUpdate",[C,le]),Nt();var Ie=C.props,Ne=cy(t,Object.assign({},Ie,ry(le),{ignoreAttributes:!0}));C.props=Ne,lt(),Ie.interactiveDebounce!==Ne.interactiveDebounce&&(I(),y=ty(xt,Ne.interactiveDebounce)),Ie.triggerTarget&&!Ne.triggerTarget?fa(Ie.triggerTarget).forEach(function(ot){ot.removeAttribute("aria-expanded")}):Ne.triggerTarget&&t.removeAttribute("aria-expanded"),pe(),oe(),z&&z(Ie,Ne),C.popperInstance&&(pt(),zt().forEach(function(ot){requestAnimationFrame(ot._tippy.popperInstance.forceUpdate)})),G("onAfterUpdate",[C,le])}}function Gt(le){C.setProps({content:le})}function Ae(){var le=C.state.isVisible,Ie=C.state.isDestroyed,Ne=!C.state.isEnabled,ot=bo.isTouch&&!C.props.touch,rt=zh(C.props.duration,0,Vr.duration);if(!(le||Ie||Ne||ot)&&!Z().hasAttribute("disabled")&&(G("onShow",[C],!1),C.props.onShow(C)!==!1)){if(C.state.isVisible=!0,V()&&(R.style.visibility="visible"),oe(),ve(),C.state.isMounted||(R.style.transition="none"),V()){var $e=ne(),St=$e.box,bt=$e.content;Hh([St,bt],0)}g=function(){var hn;if(!(!C.state.isVisible||d)){if(d=!0,R.offsetHeight,R.style.transition=C.props.moveTransition,V()&&C.props.animation){var gr=ne(),jn=gr.box,tn=gr.content;Hh([jn,tn],rt),oy([jn,tn],"visible")}j(),pe(),ny(Yh,C),(hn=C.popperInstance)==null||hn.forceUpdate(),G("onMount",[C]),C.props.animation&&V()&&_e(rt,function(){C.state.isShown=!0,G("onShown",[C])})}},dt()}}function Me(){var le=!C.state.isVisible,Ie=C.state.isDestroyed,Ne=!C.state.isEnabled,ot=zh(C.props.duration,1,Vr.duration);if(!(le||Ie||Ne)&&(G("onHide",[C],!1),C.props.onHide(C)!==!1)){if(C.state.isVisible=!1,C.state.isShown=!1,d=!1,a=!1,V()&&(R.style.visibility="hidden"),I(),ye(),oe(!0),V()){var rt=ne(),$e=rt.box,St=rt.content;C.props.animation&&(Hh([$e,St],ot),oy([$e,St],"hidden"))}j(),pe(),C.props.animation?V()&&De(ot,C.unmount):C.unmount()}}function Fe(le){ce().addEventListener("mousemove",y),ny(mu,y),y(le)}function tt(){C.state.isVisible&&C.hide(),C.state.isMounted&&(kt(),zt().forEach(function(le){le._tippy.unmount()}),R.parentNode&&R.parentNode.removeChild(R),Yh=Yh.filter(function(le){return le!==C}),C.state.isMounted=!1,G("onHidden",[C]))}function qe(){C.state.isDestroyed||(C.clearDelayTimeouts(),C.unmount(),Nt(),delete t._tippy,C.state.isDestroyed=!0,G("onDestroy",[C]))}}function Ml(t,e){e===void 0&&(e={});var n=Vr.plugins.concat(e.plugins||[]);jB();var r=Object.assign({},e,{plugins:n}),o=MB(t),i=o.reduce(function(a,l){var u=l&&KB(l,r);return u&&a.push(u),a},[]);return gu(t)?i[0]:i}Ml.defaultProps=Vr,Ml.setDefaultProps=VB,Ml.currentInput=bo,Object.assign({},Ov,{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)}}),Ml.setDefaultProps({render:fy});function GB({color:t="var(--contrast-6)",icon:e="info-circle-fill",tooltip:n}){const r=M.useRef(null);return M.useLayoutEffect(()=>{r.current&&Ml(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(ft,{name:e})})}function XB({infoGroupId:t}){const e=Fn(`https://support.access-ci.org/api/1.0/kb/${t}`);if(!(!e||e.error||!e.length))return E.jsx(vo,{title:"Documentation",icon:"book",children:E.jsx("ul",{children:e.map(({title:n,description:r,link:o})=>E.jsxs("li",{children:[E.jsx("a",{href:Ig(o),children:n}),r?E.jsx(GB,{tooltip:hf(r)}):null]},n))})})}function JB({children:t,icon:e="megaphone-fill"}){return E.jsxs("div",{className:"alert",children:[e?E.jsx(ft,{name:e}):null,E.jsx("div",{className:"alert-body",children:t})]})}function ZB({children:t}){const[e,n]=M.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(ft,{name:`caret-${e?"up":"left"}-fill`}),e?"Less":"More"]})]})}function $B({date__end:t,date__start:e,description:n,location:r,registration:o,speaker:i,title:a}){const l=o,u=l?E.jsx("a",{href:l,children:a}):a,d=[];let h=null;const p=e,g=t;if(p){const m=new Date(p),y=new Date(g||p),[w,x]=[m,y].map(R=>R.toLocaleString("en-US",{dateStyle:"long"})),[P,_]=[m,y].map(R=>R.toLocaleString("en-US",{timeStyle:"short"})),D=m.toLocaleTimeString("en-US",{timeZoneName:"short"}).split(" ")[2],C=[`${w},`,P];(_!=P||x!=w)&&(C.push("-"),x!=w&&C.push(`${x},`),C.push(_)),C.push(`(${D})`),d.push(E.jsx(ft,{name:"calendar"}),C.join(" ")),i&&d.push(E.jsx(ft,{name:"people-fill"}),i),r&&d.push(E.jsx(ft,{name:"geo-alt-fill"}),r);const N=m.toLocaleString("en-US",{dateStyle:"medium"}).split(",")[0].split(" ").map(R=>E.jsx("span",{children:R},R));h=l?E.jsx("a",{href:l,className:"event-icon",children:N}):E.jsx("div",{className:"event-icon",children:N})}return E.jsxs("div",{className:"event",children:[h,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(ZB,{children:E.jsx("div",{children:pf(n)})}):null]})]})}function eT({infoGroupId:t}){const e=sl(t),n=Fn("https://operations-api.access-ci.org/wh2/news/v1/affiliation/access-ci.org/current_outages/"),r=Fn("https://operations-api.access-ci.org/wh2/news/v1/affiliation/access-ci.org/future_outages/"),o=Fn(`https://support.access-ci.org/api/1.1/events/ag/${t}`),i=ff([e,n,r],(l,u,d)=>[...u.results,...d.results].filter(h=>h.AffectedResources.some(p=>l.infoResourceIds.includes(p.ResourceID))),[]),a=ff([o],l=>l.filter(u=>new Date(u.date__start)>=new Date),[]);if(!(!i.length&&!a.length))return E.jsxs(vo,{title:"Announcements and Events",icon:"calendar3",children:[i.map(({Subject:l,Content:u})=>E.jsxs(JB,{children:[l," ",E.jsx("a",{href:"https://operations.access-ci.org/infrastructure_news_view",children:"Learn more."})]},l)),a.map(l=>E.jsx($B,{...l},l.title))]})}function tT({children:t,headingLevel:e=2,title:n}){const[r,o]=M.useState(!1),i=`h${e}`;return E.jsxs("div",{className:"accordion",children:[E.jsx(i,{className:"accordion-heading",children:E.jsxs("button",{"aria-expanded":r,onClick:()=>o(!r),children:[n,E.jsx(ft,{name:r?"caret-up-fill":"caret-down-fill"})]})}),E.jsx("div",{className:"accordion-content",style:{display:r?"block":"none"},children:t})]})}function nT({resource_descriptive_name:t,resource_description:e,compute:n,storage:r}){const o=(n||r||{}).recommended_use;return E.jsxs(tT,{title:t,children:[e?pf(e):null,o?E.jsxs(E.Fragment,{children:[E.jsx("h3",{children:"Recommended Use"}),pf(o)]}):null]})}function rT({infoGroupId:t}){const e=sl(t),n=Fn(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,h)=>{const p=u.results.compute[h.attr];return h.format&&p?h.format(p,h):p||E.jsx(E.Fragment,{children:"—"})}})),o=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])):[],i={key:"name",name:"Attribute",format:u=>E.jsx("strong",{children:u})},a=r.length>0&&o.length>0,l={compute:[],storage:[],other:[]};for(let{results:u}of n)(l[u.cider_type.toLowerCase()]||l.other).push(E.jsx(nT,{...u},u.resource_descriptive_name));return E.jsxs(E.Fragment,{children:[a||l.compute.length>0?E.jsxs(vo,{title:"Compute Resources",icon:"cpu-fill",children:[l.compute,a&&E.jsxs(E.Fragment,{children:[E.jsx("h3",{children:"Specifications"}),E.jsx(uu,{columns:[i,...r],rows:o,maxHeight:null})]})]}):null,l.storage.length>0?E.jsx(vo,{title:"Storage Resources",icon:"hdd-fill",children:l.storage}):null,l.other.length>0?E.jsx(vo,{title:"Other Resources",icon:"stars",children:l.other}):null]})}function hy(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,r)}return n}function py(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?hy(Object(n),!0).forEach(function(r){iT(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):hy(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function vu(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?vu=function(e){return typeof e}:vu=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},vu(t)}function yu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function oT(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 xu(t,e,n){return e&&oT(t.prototype,e),t}function iT(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function sT(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&&qh(t,e)}function ha(t){return ha=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ha(t)}function qh(t,e){return qh=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},qh(t,e)}function aT(){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 lT(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function cT(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 lT(t)}function uT(t){var e=aT();return function(){var r=ha(t),o;if(e){var i=ha(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return cT(this,o)}}function dT(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=ha(t),t!==null););return t}function bu(){return typeof Reflect<"u"&&Reflect.get?bu=Reflect.get:bu=function(e,n,r){var o=dT(e,n);if(o){var i=Object.getOwnPropertyDescriptor(o,n);return i.get?i.get.call(arguments.length<3?e:r):i.value}},bu.apply(this,arguments)}var fT={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 Di(t){console.error("[Glide warn]: ".concat(t))}function Wr(t){return parseInt(t)}function Kh(t){return typeof t=="string"}function Ol(t){var e=vu(t);return e==="function"||e==="object"&&!!t}function wu(t){return typeof t=="function"}function hT(t){return typeof t>"u"}function Gh(t){return t.constructor===Array}function pT(t,e,n){var r={};for(var o in e)wu(e[o])?r[o]=e[o](t,r,n):Di("Extension must be a function");for(var i in r)wu(r[i].mount)&&r[i].mount();return r}function Kt(t,e,n){Object.defineProperty(t,e,n)}function Ay(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(o){e.classes.hasOwnProperty(o)&&(n.classes[o]=py(py({},t.classes[o]),e.classes[o]))})}return e.hasOwnProperty("breakpoints")&&(n.breakpoints=Object.assign({},t.breakpoints,e.breakpoints)),n}var AT=(function(){function t(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};yu(this,t),this.events=e,this.hop=e.hasOwnProperty}return xu(t,[{key:"on",value:function(n,r){if(Gh(n)){for(var o=0;o<n.length;o++)this.on(n[o],r);return}this.hop.call(this.events,n)||(this.events[n]=[]);var i=this.events[n].push(r)-1;return{remove:function(){delete this.events[n][i]}}}},{key:"emit",value:function(n,r){if(Gh(n)){for(var o=0;o<n.length;o++)this.emit(n[o],r);return}this.hop.call(this.events,n)&&this.events[n].forEach(function(i){i(r||{})})}}]),t})(),gT=(function(){function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};yu(this,t),this._c={},this._t=[],this._e=new AT,this.disabled=!1,this.selector=e,this.settings=Ay(fT,n),this.index=this.settings.startAt}return xu(t,[{key:"mount",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this._e.emit("mount.before"),Ol(n)?this._c=pT(this,n,this._e):Di("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 Gh(n)?this._t=n:Di("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=Ay(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){Ol(n)?this._o=n:Di("Options must be an `object` instance.")}},{key:"index",get:function(){return this._i},set:function(n){this._i=Wr(n)}},{key:"type",get:function(){return this.settings.type}},{key:"disabled",get:function(){return this._d},set:function(n){this._d=!!n}}]),t})();function mT(t,e,n){var r={mount:function(){this._o=!1},make:function(d){var h=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(){h.isStart()&&n.emit("run.start",h.move),h.isEnd()&&n.emit("run.end",h.move),h.isOffset()&&(h._o=!1,n.emit("run.offset",h.move)),n.emit("run.after",h.move),t.enable()}))},calculate:function(){var d=this.move,h=this.length,p=d.steps,g=d.direction,m=1;if(g==="="){if(t.settings.bound&&Wr(p)>h){t.index=h;return}t.index=p;return}if(g===">"&&p===">"){t.index=h;return}if(g==="<"&&p==="<"){t.index=0;return}if(g==="|"&&(m=t.settings.perView||1),g===">"||g==="|"&&p===">"){var y=o(m);y>h&&(this._o=!0),t.index=i(y,m);return}if(g==="<"||g==="|"&&p==="<"){var w=a(m);w<0&&(this._o=!0),t.index=l(w,m);return}Di("Invalid direction pattern [".concat(g).concat(p,"] 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 o(u){var d=t.index;return t.isType("carousel")?d+u:d+(u-d%u)}function i(u,d){var h=r.length;return u<=h?u:t.isType("carousel")?u-(h+1):t.settings.rewind?r.isBound()&&!r.isEnd()?h:0:r.isBound()?h:Math.floor(h/d)*d}function a(u){var d=t.index;if(t.isType("carousel"))return d-u;var h=Math.ceil(d/u);return(h-1)*u}function l(u,d){var h=r.length;return u>=0?u:t.isType("carousel")?u+(h+1):t.settings.rewind?r.isBound()&&r.isStart()?h:Math.floor(h/d)*d:0}return Kt(r,"move",{get:function(){return this._m},set:function(d){var h=d.substr(1);this._m={direction:d.substr(0,1),steps:h?Wr(h)?Wr(h):h:0}}}),Kt(r,"length",{get:function(){var d=t.settings,h=e.Html.slides.length;return this.isBound()?h-1-(Wr(d.perView)-1)+Wr(d.focusAt):h-1}}),Kt(r,"offset",{get:function(){return this._o}}),r}function gy(){return new Date().getTime()}function my(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r,o,i,a,l=0,u=function(){l=n.leading===!1?0:gy(),r=null,a=t.apply(o,i),r||(o=i=null)},d=function(){var p=gy();!l&&n.leading===!1&&(l=p);var g=e-(p-l);return o=this,i=arguments,g<=0||g>e?(r&&(clearTimeout(r),r=null),l=p,a=t.apply(o,i),r||(o=i=null)):!r&&n.trailing!==!1&&(r=setTimeout(u,g)),a};return d.cancel=function(){clearTimeout(r),l=0,r=o=i=null},d}var ku={ltr:["marginLeft","marginRight"],rtl:["marginRight","marginLeft"]};function vT(t,e,n){var r={apply:function(i){for(var a=0,l=i.length;a<l;a++){var u=i[a].style,d=e.Direction.value;a!==0?u[ku[d][0]]="".concat(this.value/2,"px"):u[ku[d][0]]="",a!==i.length-1?u[ku[d][1]]="".concat(this.value/2,"px"):u[ku[d][1]]=""}},remove:function(i){for(var a=0,l=i.length;a<l;a++){var u=i[a].style;u.marginLeft="",u.marginRight=""}}};return Kt(r,"value",{get:function(){return Wr(t.settings.gap)}}),Kt(r,"grow",{get:function(){return r.value*e.Sizes.length}}),Kt(r,"reductor",{get:function(){var i=t.settings.perView;return r.value*(i-1)/i}}),n.on(["build.after","update"],my(function(){r.apply(e.Html.wrapper.children)},30)),n.on("destroy",function(){r.remove(e.Html.wrapper.children)}),r}function vy(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 Xh(t){return Array.prototype.slice.call(t)}var yT='[data-glide-el="track"]';function xT(t,e,n){var r={mount:function(){this.root=t.selector,this.track=this.root.querySelector(yT),this.collectSlides()},collectSlides:function(){this.slides=Xh(this.wrapper.children).filter(function(i){return!i.classList.contains(t.settings.classes.slide.clone)})}};return Kt(r,"root",{get:function(){return r._r},set:function(i){Kh(i)&&(i=document.querySelector(i)),i!==null?r._r=i:Di("Root element must be a existing Html node")}}),Kt(r,"track",{get:function(){return r._t},set:function(i){r._t=i}}),Kt(r,"wrapper",{get:function(){return r.track.children[0]}}),n.on("update",function(){r.collectSlides()}),r}function bT(t,e,n){var r={mount:function(){this.value=t.settings.peek}};return Kt(r,"value",{get:function(){return r._v},set:function(i){Ol(i)?(i.before=Wr(i.before),i.after=Wr(i.after)):i=Wr(i),r._v=i}}),Kt(r,"reductor",{get:function(){var i=r.value,a=t.settings.perView;return Ol(i)?i.before/a+i.after/a:i*2/a}}),n.on(["resize","update"],function(){r.mount()}),r}function wT(t,e,n){var r={mount:function(){this._o=0},make:function(){var i=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:i.value})})}};return Kt(r,"offset",{get:function(){return r._o},set:function(i){r._o=hT(i)?0:Wr(i)}}),Kt(r,"translate",{get:function(){return e.Sizes.slideWidth*t.index}}),Kt(r,"value",{get:function(){var i=this.offset,a=this.translate;return e.Direction.is("rtl")?a+i:a-i}}),n.on(["build.before","run"],function(){r.make()}),r}function kT(t,e,n){var r={setupSlides:function(){for(var i="".concat(this.slideWidth,"px"),a=e.Html.slides,l=0;l<a.length;l++)a[l].style.width=i},setupWrapper:function(){e.Html.wrapper.style.width="".concat(this.wrapperSize,"px")},remove:function(){for(var i=e.Html.slides,a=0;a<i.length;a++)i[a].style.width="";e.Html.wrapper.style.width=""}};return Kt(r,"length",{get:function(){return e.Html.slides.length}}),Kt(r,"width",{get:function(){return e.Html.track.offsetWidth}}),Kt(r,"wrapperSize",{get:function(){return r.slideWidth*r.length+e.Gaps.grow+e.Clones.grow}}),Kt(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 ST(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 i=t.settings.classes,a=e.Html.slides[t.index];a&&(a.classList.add(i.slide.active),vy(a).forEach(function(l){l.classList.remove(i.slide.active)}))},removeClasses:function(){var i=t.settings.classes,a=i.type,l=i.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 ET(t,e,n){var r={mount:function(){this.items=[],t.isType("carousel")&&(this.items=this.collect())},collect:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],a=e.Html.slides,l=t.settings,u=l.perView,d=l.classes,h=l.cloningRatio;if(a.length>0)for(var p=+!!t.settings.peek,g=u+p+Math.round(u/2),m=a.slice(0,g).reverse(),y=a.slice(g*-1),w=0;w<Math.max(h,Math.floor(u/a.length));w++){for(var x=0;x<m.length;x++){var P=m[x].cloneNode(!0);P.classList.add(d.slide.clone),i.push(P)}for(var _=0;_<y.length;_++){var D=y[_].cloneNode(!0);D.classList.add(d.slide.clone),i.unshift(D)}}return i},append:function(){for(var i=this.items,a=e.Html,l=a.wrapper,u=a.slides,d=Math.floor(i.length/2),h=i.slice(0,d).reverse(),p=i.slice(d*-1).reverse(),g="".concat(e.Sizes.slideWidth,"px"),m=0;m<p.length;m++)l.appendChild(p[m]);for(var y=0;y<h.length;y++)l.insertBefore(h[y],u[0]);for(var w=0;w<i.length;w++)i[w].style.width=g},remove:function(){for(var i=this.items,a=0;a<i.length;a++)e.Html.wrapper.removeChild(i[a])}};return Kt(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 yy=(function(){function t(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};yu(this,t),this.listeners=e}return xu(t,[{key:"on",value:function(n,r,o){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;Kh(n)&&(n=[n]);for(var a=0;a<n.length;a++)this.listeners[n[a]]=o,r.addEventListener(n[a],this.listeners[n[a]],i)}},{key:"off",value:function(n,r){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Kh(n)&&(n=[n]);for(var i=0;i<n.length;i++)r.removeEventListener(n[i],this.listeners[n[i]],o)}},{key:"destroy",value:function(){delete this.listeners}}]),t})();function CT(t,e,n){var r=new yy,o={mount:function(){this.bind()},bind:function(){r.on("resize",window,my(function(){n.emit("resize")},t.settings.throttle))},unbind:function(){r.off("resize",window)}};return n.on("destroy",function(){o.unbind(),r.destroy()}),o}var PT=["ltr","rtl"],DT={">":"<","<":">","=":"="};function BT(t,e,n){var r={mount:function(){this.value=t.settings.direction},resolve:function(i){var a=i.slice(0,1);return this.is("rtl")?i.split(a).join(DT[a]):i},is:function(i){return this.value===i},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 Kt(r,"value",{get:function(){return r._v},set:function(i){PT.indexOf(i)>-1?r._v=i:Di("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 TT(t,e){return{modify:function(r){return e.Direction.is("rtl")?-r:r}}}function IT(t,e){return{modify:function(r){var o=Math.floor(r/e.Sizes.slideWidth);return r+e.Gaps.value*o}}}function _T(t,e){return{modify:function(r){return r+e.Clones.grow/2}}}function MT(t,e){return{modify:function(r){if(t.settings.focusAt>=0){var o=e.Peek.value;return Ol(o)?r-o.before:r-o}return r}}}function OT(t,e){return{modify:function(r){var o=e.Gaps.value,i=e.Sizes.width,a=t.settings.focusAt,l=e.Sizes.slideWidth;return a==="center"?r-(i/2-l/2):r-l*a-o*a}}}function RT(t,e,n){var r=[IT,_T,MT,OT].concat(t._t,[TT]);return{mutate:function(i){for(var a=0;a<r.length;a++){var l=r[a];wu(l)&&wu(l().modify)?i=l(t,e,n).modify(i):Di("Transformer should be a function that returns an object with `modify()` method")}return i}}}function LT(t,e,n){var r={set:function(i){var a=RT(t,e).mutate(i),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 i=e.Sizes.length,a=t.index,l=t.settings.perView;return e.Run.isOffset(">")||e.Run.isOffset("|>")?i+(a-l):(a+l)%i},getTravelDistance:function(){var i=e.Sizes.slideWidth*t.settings.perView;return e.Run.isOffset(">")||e.Run.isOffset("|>")?i*-1:i}};return n.on("move",function(o){if(!t.isType("carousel")||!e.Run.isOffset())return r.set(o.movement);e.Transition.after(function(){n.emit("translate.jump"),r.set(e.Sizes.slideWidth*t.index)});var i=e.Sizes.slideWidth*e.Translate.getStartIndex();return r.set(i-e.Translate.getTravelDistance())}),n.on("destroy",function(){r.remove()}),r}function FT(t,e,n){var r=!1,o={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 Kt(o,"duration",{get:function(){var a=t.settings;return t.isType("slider")&&e.Run.offset?a.rewindDuration:a.animationDuration}}),n.on("move",function(){o.set()}),n.on(["build.before","resize","translate.jump"],function(){o.disable()}),n.on("run",function(){o.enable()}),n.on("destroy",function(){o.remove()}),o}var xy=!1;try{var by=Object.defineProperty({},"passive",{get:function(){xy=!0}});window.addEventListener("testPassive",null,by),window.removeEventListener("testPassive",null,by)}catch{}var wy=xy,jT='[data-glide-el="controls[nav]"]',Jh='[data-glide-el^="controls"]',NT="".concat(Jh,' [data-glide-dir*="<"]'),zT="".concat(Jh,' [data-glide-dir*=">"]');function QT(t,e,n){var r=new yy,o=wy?{passive:!0}:!1,i={mount:function(){this._n=e.Html.root.querySelectorAll(jT),this._c=e.Html.root.querySelectorAll(Jh),this._arrowControls={previous:e.Html.root.querySelectorAll(NT),next:e.Html.root.querySelectorAll(zT)},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),vy(d).forEach(function(h){h.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=i._arrowControls.next,u=i._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),h=0;h<u;h++)d[h]=arguments[h];d.forEach(function(p){Xh(p).forEach(function(g){g.classList.remove(l.classes.arrow.disabled)})})},disableArrow:function(){for(var l=t.settings,u=arguments.length,d=new Array(u),h=0;h<u;h++)d[h]=arguments[h];d.forEach(function(p){Xh(p).forEach(function(g){g.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,o)},unbind:function(l){for(var u=0;u<l.length;u++)r.off(["click","touchstart"],l[u])},click:function(l){!wy&&l.type==="touchstart"&&l.preventDefault();var u=l.currentTarget.getAttribute("data-glide-dir");e.Run.make(e.Direction.resolve(u))}};return Kt(i,"items",{get:function(){return i._c}}),n.on(["mount.after","move.after"],function(){i.setActive()}),n.on(["mount.after","run"],function(){i.setArrowState()}),n.on("destroy",function(){i.removeBindings(),i.removeActive(),r.destroy()}),i}var HT={Html:xT,Translate:LT,Transition:FT,Direction:BT,Peek:bT,Sizes:kT,Gaps:vT,Move:wT,Clones:ET,Resize:CT,Build:ST,Run:mT},UT=(function(t){sT(n,t);var e=uT(n);function n(){return yu(this,n),e.apply(this,arguments)}return xu(n,[{key:"mount",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return bu(ha(n.prototype),"mount",this).call(this,Object.assign({},HT,o))}}]),n})(gT);function Su({children:t,cssClass:e=""}){const n=M.useRef(null);return M.useEffect(()=>{n.current&&new UT(n.current).mount({Controls:QT})},[]),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 ky({children:t}){return E.jsx("li",{className:"glide__slide",children:t})}function VT({title:t,description:e,linkText:n,linkURI:r,imageURI:o,imageAltText:i}){return E.jsx(ky,{children:E.jsxs("span",{className:"slide-inner",children:[o&&E.jsx("a",{href:r,className:"slide-image",children:E.jsx("img",{src:o,alt:i})}),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})]})]})})}Su.Slide=ky,Su.ImageSlide=VT;function WT({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 YT="https://allocations.access-ci.org/current-projects.json";function Eu({icon:t,text:e,title:n}){if(e)return E.jsxs("abbr",{className:"project-meta",title:n,children:[E.jsx(ft,{name:t}),e]})}function qT({infoGroupId:t}){const e=sl(t),n=Fn(e?`${YT}?${e.infoResourceIds.map(o=>`info_resourceids[]=${o}`).join("&")}`:null);if(!n||!n.projects||!n.projects.length)return null;const r=[{key:"resourceName",name:"Resource"},{key:"allocation",name:"Current Allocation",format:(o,i)=>i.units=="[Yes = 1, No = 0]"?o==1?"Yes":"No":`${o.toLocaleString("en-us")} ${i.units||""}`}];return E.jsx(vo,{title:"Recent Projects",icon:"pc-display",children:E.jsx(Su,{cssclassName:"carousel-projects",children:n.projects.map(o=>E.jsxs(Su.Slide,{children:[E.jsx("h3",{children:o.requestTitle}),E.jsxs("div",{className:"project-metadata",children:[E.jsx(Eu,{icon:"cash-coin",text:o.allocationType,title:"Allocation Type"}),E.jsx(Eu,{icon:"person-fill",text:`${o.pi} (${o.piInstitution})`,title:"Primary Investigator"}),E.jsx(Eu,{icon:"folder",text:o.fos,title:"Field of Science"}),E.jsx(Eu,{icon:"calendar-range",text:[o.beginDate,o.endDate].map(i=>new Date(i).toLocaleString("en-US",{dateStyle:"medium"})).join(" to "),title:"Project Dates"})]}),E.jsxs(WT,{children:[E.jsx("p",{children:o.abstract}),E.jsx(uu,{columns:r,rows:o.resources,maxHeight:null})]})]},o.requestTitle))})})}function Rl(t){return t+.5|0}const Bi=(t,e,n)=>Math.max(Math.min(t,n),e);function Ll(t){return Bi(Rl(t*2.55),0,255)}function Ti(t){return Bi(Rl(t*255),0,255)}function Jo(t){return Bi(Rl(t/2.55)/100,0,1)}function Sy(t){return Bi(Rl(t*100),0,100)}const Tr={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},Zh=[..."0123456789ABCDEF"],KT=t=>Zh[t&15],GT=t=>Zh[(t&240)>>4]+Zh[t&15],Cu=t=>(t&240)>>4===(t&15),XT=t=>Cu(t.r)&&Cu(t.g)&&Cu(t.b)&&Cu(t.a);function JT(t){var e=t.length,n;return t[0]==="#"&&(e===4||e===5?n={r:255&Tr[t[1]]*17,g:255&Tr[t[2]]*17,b:255&Tr[t[3]]*17,a:e===5?Tr[t[4]]*17:255}:(e===7||e===9)&&(n={r:Tr[t[1]]<<4|Tr[t[2]],g:Tr[t[3]]<<4|Tr[t[4]],b:Tr[t[5]]<<4|Tr[t[6]],a:e===9?Tr[t[7]]<<4|Tr[t[8]]:255})),n}const ZT=(t,e)=>t<255?e(t):"";function $T(t){var e=XT(t)?KT:GT;return t?"#"+e(t.r)+e(t.g)+e(t.b)+ZT(t.a,e):void 0}const e8=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function Ey(t,e,n){const r=e*Math.min(n,1-n),o=(i,a=(i+t/30)%12)=>n-r*Math.max(Math.min(a-3,9-a,1),-1);return[o(0),o(8),o(4)]}function t8(t,e,n){const r=(o,i=(o+t/60)%6)=>n-n*e*Math.max(Math.min(i,4-i,1),0);return[r(5),r(3),r(1)]}function n8(t,e,n){const r=Ey(t,1,.5);let o;for(e+n>1&&(o=1/(e+n),e*=o,n*=o),o=0;o<3;o++)r[o]*=1-e-n,r[o]+=e;return r}function r8(t,e,n,r,o){return t===o?(e-n)/r+(e<n?6:0):e===o?(n-t)/r+2:(t-e)/r+4}function $h(t){const n=t.r/255,r=t.g/255,o=t.b/255,i=Math.max(n,r,o),a=Math.min(n,r,o),l=(i+a)/2;let u,d,h;return i!==a&&(h=i-a,d=l>.5?h/(2-i-a):h/(i+a),u=r8(n,r,o,h,i),u=u*60+.5),[u|0,d||0,l]}function ep(t,e,n,r){return(Array.isArray(e)?t(e[0],e[1],e[2]):t(e,n,r)).map(Ti)}function tp(t,e,n){return ep(Ey,t,e,n)}function o8(t,e,n){return ep(n8,t,e,n)}function i8(t,e,n){return ep(t8,t,e,n)}function Cy(t){return(t%360+360)%360}function s8(t){const e=e8.exec(t);let n=255,r;if(!e)return;e[5]!==r&&(n=e[6]?Ll(+e[5]):Ti(+e[5]));const o=Cy(+e[2]),i=+e[3]/100,a=+e[4]/100;return e[1]==="hwb"?r=o8(o,i,a):e[1]==="hsv"?r=i8(o,i,a):r=tp(o,i,a),{r:r[0],g:r[1],b:r[2],a:n}}function a8(t,e){var n=$h(t);n[0]=Cy(n[0]+e),n=tp(n),t.r=n[0],t.g=n[1],t.b=n[2]}function l8(t){if(!t)return;const e=$h(t),n=e[0],r=Sy(e[1]),o=Sy(e[2]);return t.a<255?`hsla(${n}, ${r}%, ${o}%, ${Jo(t.a)})`:`hsl(${n}, ${r}%, ${o}%)`}const Py={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"},Dy={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 c8(){const t={},e=Object.keys(Dy),n=Object.keys(Py);let r,o,i,a,l;for(r=0;r<e.length;r++){for(a=l=e[r],o=0;o<n.length;o++)i=n[o],l=l.replace(i,Py[i]);i=parseInt(Dy[a],16),t[l]=[i>>16&255,i>>8&255,i&255]}return t}let Pu;function u8(t){Pu||(Pu=c8(),Pu.transparent=[0,0,0,0]);const e=Pu[t.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:e.length===4?e[3]:255}}const d8=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function f8(t){const e=d8.exec(t);let n=255,r,o,i;if(e){if(e[7]!==r){const a=+e[7];n=e[8]?Ll(a):Bi(a*255,0,255)}return r=+e[1],o=+e[3],i=+e[5],r=255&(e[2]?Ll(r):Bi(r,0,255)),o=255&(e[4]?Ll(o):Bi(o,0,255)),i=255&(e[6]?Ll(i):Bi(i,0,255)),{r,g:o,b:i,a:n}}}function h8(t){return t&&(t.a<255?`rgba(${t.r}, ${t.g}, ${t.b}, ${Jo(t.a)})`:`rgb(${t.r}, ${t.g}, ${t.b})`)}const np=t=>t<=.0031308?t*12.92:Math.pow(t,1/2.4)*1.055-.055,pa=t=>t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4);function p8(t,e,n){const r=pa(Jo(t.r)),o=pa(Jo(t.g)),i=pa(Jo(t.b));return{r:Ti(np(r+n*(pa(Jo(e.r))-r))),g:Ti(np(o+n*(pa(Jo(e.g))-o))),b:Ti(np(i+n*(pa(Jo(e.b))-i))),a:t.a+n*(e.a-t.a)}}function Du(t,e,n){if(t){let r=$h(t);r[e]=Math.max(0,Math.min(r[e]+r[e]*n,e===0?360:1)),r=tp(r),t.r=r[0],t.g=r[1],t.b=r[2]}}function By(t,e){return t&&Object.assign(e||{},t)}function Ty(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=Ti(t[3]))):(e=By(t,{r:0,g:0,b:0,a:1}),e.a=Ti(e.a)),e}function A8(t){return t.charAt(0)==="r"?f8(t):s8(t)}class Fl{constructor(e){if(e instanceof Fl)return e;const n=typeof e;let r;n==="object"?r=Ty(e):n==="string"&&(r=JT(e)||u8(e)||A8(e)),this._rgb=r,this._valid=!!r}get valid(){return this._valid}get rgb(){var e=By(this._rgb);return e&&(e.a=Jo(e.a)),e}set rgb(e){this._rgb=Ty(e)}rgbString(){return this._valid?h8(this._rgb):void 0}hexString(){return this._valid?$T(this._rgb):void 0}hslString(){return this._valid?l8(this._rgb):void 0}mix(e,n){if(e){const r=this.rgb,o=e.rgb;let i;const a=n===i?.5:n,l=2*a-1,u=r.a-o.a,d=((l*u===-1?l:(l+u)/(1+l*u))+1)/2;i=1-d,r.r=255&d*r.r+i*o.r+.5,r.g=255&d*r.g+i*o.g+.5,r.b=255&d*r.b+i*o.b+.5,r.a=a*r.a+(1-a)*o.a,this.rgb=r}return this}interpolate(e,n){return e&&(this._rgb=p8(this._rgb,e._rgb,n)),this}clone(){return new Fl(this.rgb)}alpha(e){return this._rgb.a=Ti(e),this}clearer(e){const n=this._rgb;return n.a*=1-e,this}greyscale(){const e=this._rgb,n=Rl(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 Du(this._rgb,2,e),this}darken(e){return Du(this._rgb,2,-e),this}saturate(e){return Du(this._rgb,1,e),this}desaturate(e){return Du(this._rgb,1,-e),this}rotate(e){return a8(this._rgb,e),this}}function Zo(){}const g8=(()=>{let t=0;return()=>t++})();function Dt(t){return t==null}function on(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 ht(t){return t!==null&&Object.prototype.toString.call(t)==="[object Object]"}function Ir(t){return(typeof t=="number"||t instanceof Number)&&isFinite(+t)}function wo(t,e){return Ir(t)?t:e}function mt(t,e){return typeof t>"u"?e:t}const m8=(t,e)=>typeof t=="string"&&t.endsWith("%")?parseFloat(t)/100:+t/e,Iy=(t,e)=>typeof t=="string"&&t.endsWith("%")?parseFloat(t)/100*e:+t;function Rt(t,e,n){if(t&&typeof t.call=="function")return t.apply(n,e)}function wt(t,e,n,r){let o,i,a;if(on(t))for(i=t.length,o=0;o<i;o++)e.call(n,t[o],o);else if(ht(t))for(a=Object.keys(t),i=a.length,o=0;o<i;o++)e.call(n,t[a[o]],a[o])}function Bu(t,e){let n,r,o,i;if(!t||!e||t.length!==e.length)return!1;for(n=0,r=t.length;n<r;++n)if(o=t[n],i=e[n],o.datasetIndex!==i.datasetIndex||o.index!==i.index)return!1;return!0}function Tu(t){if(on(t))return t.map(Tu);if(ht(t)){const e=Object.create(null),n=Object.keys(t),r=n.length;let o=0;for(;o<r;++o)e[n[o]]=Tu(t[n[o]]);return e}return t}function _y(t){return["__proto__","prototype","constructor"].indexOf(t)===-1}function v8(t,e,n,r){if(!_y(t))return;const o=e[t],i=n[t];ht(o)&&ht(i)?jl(o,i,r):e[t]=Tu(i)}function jl(t,e,n){const r=on(e)?e:[e],o=r.length;if(!ht(t))return t;n=n||{};const i=n.merger||v8;let a;for(let l=0;l<o;++l){if(a=r[l],!ht(a))continue;const u=Object.keys(a);for(let d=0,h=u.length;d<h;++d)i(u[d],t,a,n)}return t}function Nl(t,e){return jl(t,e,{merger:y8})}function y8(t,e,n){if(!_y(t))return;const r=e[t],o=n[t];ht(r)&&ht(o)?Nl(r,o):Object.prototype.hasOwnProperty.call(e,t)||(e[t]=Tu(o))}const My={"":t=>t,x:t=>t.x,y:t=>t.y};function x8(t){const e=t.split("."),n=[];let r="";for(const o of e)r+=o,r.endsWith("\\")?r=r.slice(0,-1)+".":(n.push(r),r="");return n}function b8(t){const e=x8(t);return n=>{for(const r of e){if(r==="")break;n=n&&n[r]}return n}}function Ii(t,e){return(My[e]||(My[e]=b8(e)))(t)}function rp(t){return t.charAt(0).toUpperCase()+t.slice(1)}const zl=t=>typeof t<"u",_i=t=>typeof t=="function",Oy=(t,e)=>{if(t.size!==e.size)return!1;for(const n of t)if(!e.has(n))return!1;return!0};function w8(t){return t.type==="mouseup"||t.type==="click"||t.type==="contextmenu"}const sn=Math.PI,hr=2*sn,Iu=Number.POSITIVE_INFINITY,k8=sn/180,pr=sn/2,ms=sn/4,Ry=sn*2/3,Ly=Math.log10,Mi=Math.sign;function _u(t,e,n){return Math.abs(t-e)<n}function Fy(t){const e=Math.round(t);t=_u(t,e,t/1e3)?e:t;const n=Math.pow(10,Math.floor(Ly(t))),r=t/n;return(r<=1?1:r<=2?2:r<=5?5:10)*n}function S8(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((o,i)=>o-i).pop(),e}function E8(t){return typeof t=="symbol"||typeof t=="object"&&t!==null&&!(Symbol.toPrimitive in t||"toString"in t||"valueOf"in t)}function Mu(t){return!E8(t)&&!isNaN(parseFloat(t))&&isFinite(t)}function C8(t,e){const n=Math.round(t);return n-e<=t&&n+e>=t}function P8(t,e,n){let r,o,i;for(r=0,o=t.length;r<o;r++)i=t[r][n],isNaN(i)||(e.min=Math.min(e.min,i),e.max=Math.max(e.max,i))}function ko(t){return t*(sn/180)}function D8(t){return t*(180/sn)}function jy(t){if(!Ir(t))return;let e=1,n=0;for(;Math.round(t*e)/e!==t;)e*=10,n++;return n}function B8(t,e){const n=e.x-t.x,r=e.y-t.y,o=Math.sqrt(n*n+r*r);let i=Math.atan2(r,n);return i<-.5*sn&&(i+=hr),{angle:i,distance:o}}function T8(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function vs(t){return(t%hr+hr)%hr}function op(t,e,n,r){const o=vs(t),i=vs(e),a=vs(n),l=vs(i-o),u=vs(a-o),d=vs(o-i),h=vs(o-a);return o===i||o===a||r&&i===a||l>u&&d<h}function Yr(t,e,n){return Math.max(e,Math.min(n,t))}function I8(t){return Yr(t,-32768,32767)}function Aa(t,e,n,r=1e-6){return t>=Math.min(e,n)-r&&t<=Math.max(e,n)+r}function ip(t,e,n){n=n||(a=>t[a]<e);let r=t.length-1,o=0,i;for(;r-o>1;)i=o+r>>1,n(i)?o=i:r=i;return{lo:o,hi:r}}const sp=(t,e,n,r)=>ip(t,n,r?o=>{const i=t[o][e];return i<n||i===n&&t[o+1][e]===n}:o=>t[o][e]<n),_8=(t,e,n)=>ip(t,n,r=>t[r][e]>=n);function M8(t,e,n){let r=0,o=t.length;for(;r<o&&t[r]<e;)r++;for(;o>r&&t[o-1]>n;)o--;return r>0||o<t.length?t.slice(r,o):t}const Ny=["push","pop","shift","splice","unshift"];function O8(t,e){if(t._chartjs){t._chartjs.listeners.push(e);return}Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),Ny.forEach(n=>{const r="_onData"+rp(n),o=t[n];Object.defineProperty(t,n,{configurable:!0,enumerable:!1,value(...i){const a=o.apply(this,i);return t._chartjs.listeners.forEach(l=>{typeof l[r]=="function"&&l[r](...i)}),a}})})}function zy(t,e){const n=t._chartjs;if(!n)return;const r=n.listeners,o=r.indexOf(e);o!==-1&&r.splice(o,1),!(r.length>0)&&(Ny.forEach(i=>{delete t[i]}),delete t._chartjs)}function Qy(t){const e=new Set(t);return e.size===t.length?t:Array.from(e)}const Hy=(function(){return typeof window>"u"?function(t){return t()}:window.requestAnimationFrame})();function Uy(t,e){let n=[],r=!1;return function(...o){n=o,r||(r=!0,Hy.call(window,()=>{r=!1,t.apply(e,n)}))}}function R8(t,e){let n;return function(...r){return e?(clearTimeout(n),n=setTimeout(t,e,r)):t.apply(this,r),e}}const ap=t=>t==="start"?"left":t==="end"?"right":"center",Dn=(t,e,n)=>t==="start"?e:t==="end"?n:(e+n)/2,L8=(t,e,n,r)=>t===(r?"left":"right")?n:t==="center"?(e+n)/2:e,Ou=t=>t===0||t===1,Vy=(t,e,n)=>-(Math.pow(2,10*(t-=1))*Math.sin((t-e)*hr/n)),Wy=(t,e,n)=>Math.pow(2,-10*t)*Math.sin((t-e)*hr/n)+1,Ql={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*pr)+1,easeOutSine:t=>Math.sin(t*pr),easeInOutSine:t=>-.5*(Math.cos(sn*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=>Ou(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=>Ou(t)?t:Vy(t,.075,.3),easeOutElastic:t=>Ou(t)?t:Wy(t,.075,.3),easeInOutElastic(t){return Ou(t)?t:t<.5?.5*Vy(t*2,.1125,.45):.5+.5*Wy(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-Ql.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?Ql.easeInBounce(t*2)*.5:Ql.easeOutBounce(t*2-1)*.5+.5};function Yy(t){if(t&&typeof t=="object"){const e=t.toString();return e==="[object CanvasPattern]"||e==="[object CanvasGradient]"}return!1}function qy(t){return Yy(t)?t:new Fl(t)}function lp(t){return Yy(t)?t:new Fl(t).saturate(.5).darken(.1).hexString()}const F8=["x","y","borderWidth","radius","tension"],j8=["color","borderColor","backgroundColor"];function N8(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:j8},numbers:{type:"number",properties:F8}}),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 z8(t){t.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}const Ky=new Map;function Q8(t,e){e=e||{};const n=t+JSON.stringify(e);let r=Ky.get(n);return r||(r=new Intl.NumberFormat(t,e),Ky.set(n,r)),r}function Ru(t,e,n){return Q8(e,n).format(t)}const H8={values(t){return on(t)?t:""+t},numeric(t,e,n){if(t===0)return"0";const r=this.chart.options.locale;let o,i=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)&&(o="scientific"),i=U8(t,n)}const a=Ly(Math.abs(i)),l=isNaN(a)?1:Math.max(Math.min(-1*Math.floor(a),20),0),u={notation:o,minimumFractionDigits:l,maximumFractionDigits:l};return Object.assign(u,this.options.ticks.format),Ru(t,r,u)}};function U8(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 Gy={formatters:H8};function V8(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:Gy.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 ys=Object.create(null),cp=Object.create(null);function Hl(t,e){if(!e)return t;const n=e.split(".");for(let r=0,o=n.length;r<o;++r){const i=n[r];t=t[i]||(t[i]=Object.create(null))}return t}function up(t,e,n){return typeof e=="string"?jl(Hl(t,e),n):jl(Hl(t,""),e)}class W8{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,o)=>lp(o.backgroundColor),this.hoverBorderColor=(r,o)=>lp(o.borderColor),this.hoverColor=(r,o)=>lp(o.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(e),this.apply(n)}set(e,n){return up(this,e,n)}get(e){return Hl(this,e)}describe(e,n){return up(cp,e,n)}override(e,n){return up(ys,e,n)}route(e,n,r,o){const i=Hl(this,e),a=Hl(this,r),l="_"+n;Object.defineProperties(i,{[l]:{value:i[n],writable:!0},[n]:{enumerable:!0,get(){const u=this[l],d=a[o];return ht(u)?Object.assign({},d,u):mt(u,d)},set(u){this[l]=u}}})}apply(e){e.forEach(n=>n(this))}}var Vt=new W8({_scriptable:t=>!t.startsWith("on"),_indexable:t=>t!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[N8,z8,V8]);function Y8(t){return!t||Dt(t.size)||Dt(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}function Xy(t,e,n,r,o){let i=e[o];return i||(i=e[o]=t.measureText(o).width,n.push(o)),i>r&&(r=i),r}function xs(t,e,n){const r=t.currentDevicePixelRatio,o=n!==0?Math.max(n/2,.5):0;return Math.round((e-o)*r)/r+o}function Jy(t,e){!e&&!t||(e=e||t.getContext("2d"),e.save(),e.resetTransform(),e.clearRect(0,0,t.width,t.height),e.restore())}function Zy(t,e,n,r){$y(t,e,n,r,null)}function $y(t,e,n,r,o){let i,a,l,u,d,h,p,g;const m=e.pointStyle,y=e.rotation,w=e.radius;let x=(y||0)*k8;if(m&&typeof m=="object"&&(i=m.toString(),i==="[object HTMLImageElement]"||i==="[object HTMLCanvasElement]")){t.save(),t.translate(n,r),t.rotate(x),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:o?t.ellipse(n,r,o/2,w,0,0,hr):t.arc(n,r,w,0,hr),t.closePath();break;case"triangle":h=o?o/2:w,t.moveTo(n+Math.sin(x)*h,r-Math.cos(x)*w),x+=Ry,t.lineTo(n+Math.sin(x)*h,r-Math.cos(x)*w),x+=Ry,t.lineTo(n+Math.sin(x)*h,r-Math.cos(x)*w),t.closePath();break;case"rectRounded":d=w*.516,u=w-d,a=Math.cos(x+ms)*u,p=Math.cos(x+ms)*(o?o/2-d:u),l=Math.sin(x+ms)*u,g=Math.sin(x+ms)*(o?o/2-d:u),t.arc(n-p,r-l,d,x-sn,x-pr),t.arc(n+g,r-a,d,x-pr,x),t.arc(n+p,r+l,d,x,x+pr),t.arc(n-g,r+a,d,x+pr,x+sn),t.closePath();break;case"rect":if(!y){u=Math.SQRT1_2*w,h=o?o/2:u,t.rect(n-h,r-u,2*h,2*u);break}x+=ms;case"rectRot":p=Math.cos(x)*(o?o/2:w),a=Math.cos(x)*w,l=Math.sin(x)*w,g=Math.sin(x)*(o?o/2:w),t.moveTo(n-p,r-l),t.lineTo(n+g,r-a),t.lineTo(n+p,r+l),t.lineTo(n-g,r+a),t.closePath();break;case"crossRot":x+=ms;case"cross":p=Math.cos(x)*(o?o/2:w),a=Math.cos(x)*w,l=Math.sin(x)*w,g=Math.sin(x)*(o?o/2:w),t.moveTo(n-p,r-l),t.lineTo(n+p,r+l),t.moveTo(n+g,r-a),t.lineTo(n-g,r+a);break;case"star":p=Math.cos(x)*(o?o/2:w),a=Math.cos(x)*w,l=Math.sin(x)*w,g=Math.sin(x)*(o?o/2:w),t.moveTo(n-p,r-l),t.lineTo(n+p,r+l),t.moveTo(n+g,r-a),t.lineTo(n-g,r+a),x+=ms,p=Math.cos(x)*(o?o/2:w),a=Math.cos(x)*w,l=Math.sin(x)*w,g=Math.sin(x)*(o?o/2:w),t.moveTo(n-p,r-l),t.lineTo(n+p,r+l),t.moveTo(n+g,r-a),t.lineTo(n-g,r+a);break;case"line":a=o?o/2:Math.cos(x)*w,l=Math.sin(x)*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(x)*(o?o/2:w),r+Math.sin(x)*w);break;case!1:t.closePath();break}t.fill(),e.borderWidth>0&&t.stroke()}}function ex(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 dp(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()}function fp(t){t.restore()}function q8(t,e){e.translation&&t.translate(e.translation[0],e.translation[1]),Dt(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 K8(t,e,n,r,o){if(o.strikethrough||o.underline){const i=t.measureText(r),a=e-i.actualBoundingBoxLeft,l=e+i.actualBoundingBoxRight,u=n-i.actualBoundingBoxAscent,d=n+i.actualBoundingBoxDescent,h=o.strikethrough?(u+d)/2:d;t.strokeStyle=t.fillStyle,t.beginPath(),t.lineWidth=o.decorationWidth||2,t.moveTo(a,h),t.lineTo(l,h),t.stroke()}}function G8(t,e){const n=t.fillStyle;t.fillStyle=e.color,t.fillRect(e.left,e.top,e.width,e.height),t.fillStyle=n}function Ul(t,e,n,r,o,i={}){const a=on(e)?e:[e],l=i.strokeWidth>0&&i.strokeColor!=="";let u,d;for(t.save(),t.font=o.string,q8(t,i),u=0;u<a.length;++u)d=a[u],i.backdrop&&G8(t,i.backdrop),l&&(i.strokeColor&&(t.strokeStyle=i.strokeColor),Dt(i.strokeWidth)||(t.lineWidth=i.strokeWidth),t.strokeText(d,n,r,i.maxWidth)),t.fillText(d,n,r,i.maxWidth),K8(t,n,r,d,i),r+=Number(o.lineHeight);t.restore()}function Lu(t,e){const{x:n,y:r,w:o,h:i,radius:a}=e;t.arc(n+a.topLeft,r+a.topLeft,a.topLeft,1.5*sn,sn,!0),t.lineTo(n,r+i-a.bottomLeft),t.arc(n+a.bottomLeft,r+i-a.bottomLeft,a.bottomLeft,sn,pr,!0),t.lineTo(n+o-a.bottomRight,r+i),t.arc(n+o-a.bottomRight,r+i-a.bottomRight,a.bottomRight,pr,0,!0),t.lineTo(n+o,r+a.topRight),t.arc(n+o-a.topRight,r+a.topRight,a.topRight,0,-pr,!0),t.lineTo(n+a.topLeft,r)}const X8=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,J8=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function Z8(t,e){const n=(""+t).match(X8);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 $8=t=>+t||0;function tx(t,e){const n={},r=ht(e),o=r?Object.keys(e):e,i=ht(t)?r?a=>mt(t[a],t[e[a]]):a=>t[a]:()=>t;for(const a of o)n[a]=$8(i(a));return n}function nx(t){return tx(t,{top:"y",right:"x",bottom:"y",left:"x"})}function ga(t){return tx(t,["topLeft","topRight","bottomLeft","bottomRight"])}function _r(t){const e=nx(t);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function Bn(t,e){t=t||{},e=e||Vt.font;let n=mt(t.size,e.size);typeof n=="string"&&(n=parseInt(n,10));let r=mt(t.style,e.style);r&&!(""+r).match(J8)&&(console.warn('Invalid font style specified: "'+r+'"'),r=void 0);const o={family:mt(t.family,e.family),lineHeight:Z8(mt(t.lineHeight,e.lineHeight),n),size:n,style:r,weight:mt(t.weight,e.weight),string:""};return o.string=Y8(o),o}function Fu(t,e,n,r){let o,i,a;for(o=0,i=t.length;o<i;++o)if(a=t[o],a!==void 0&&a!==void 0)return a}function eI(t,e,n){const{min:r,max:o}=t,i=Iy(e,(o-r)/2),a=(l,u)=>n&&l===0?0:l+u;return{min:a(r,-Math.abs(i)),max:a(o,i)}}function ma(t,e){return Object.assign(Object.create(t),e)}function hp(t,e=[""],n,r,o=()=>t[0]){const i=n||t;typeof r>"u"&&(r=ax("_fallback",t));const a={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:i,_fallback:r,_getTarget:o,override:l=>hp([l,...t],e,i,r)};return new Proxy(a,{deleteProperty(l,u){return delete l[u],delete l._keys,delete t[0][u],!0},get(l,u){return ox(l,u,()=>lI(u,e,t,l))},getOwnPropertyDescriptor(l,u){return Reflect.getOwnPropertyDescriptor(l._scopes[0],u)},getPrototypeOf(){return Reflect.getPrototypeOf(t[0])},has(l,u){return lx(l).includes(u)},ownKeys(l){return lx(l)},set(l,u,d){const h=l._storage||(l._storage=o());return l[u]=h[u]=d,delete l._keys,!0}})}function va(t,e,n,r){const o={_cacheable:!1,_proxy:t,_context:e,_subProxy:n,_stack:new Set,_descriptors:rx(t,r),setContext:i=>va(t,i,n,r),override:i=>va(t.override(i),e,n,r)};return new Proxy(o,{deleteProperty(i,a){return delete i[a],delete t[a],!0},get(i,a,l){return ox(i,a,()=>nI(i,a,l))},getOwnPropertyDescriptor(i,a){return i._descriptors.allKeys?Reflect.has(t,a)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(t,a)},getPrototypeOf(){return Reflect.getPrototypeOf(t)},has(i,a){return Reflect.has(t,a)},ownKeys(){return Reflect.ownKeys(t)},set(i,a,l){return t[a]=l,delete i[a],!0}})}function rx(t,e={scriptable:!0,indexable:!0}){const{_scriptable:n=e.scriptable,_indexable:r=e.indexable,_allKeys:o=e.allKeys}=t;return{allKeys:o,scriptable:n,indexable:r,isScriptable:_i(n)?n:()=>n,isIndexable:_i(r)?r:()=>r}}const tI=(t,e)=>t?t+rp(e):e,pp=(t,e)=>ht(e)&&t!=="adapters"&&(Object.getPrototypeOf(e)===null||e.constructor===Object);function ox(t,e,n){if(Object.prototype.hasOwnProperty.call(t,e)||e==="constructor")return t[e];const r=n();return t[e]=r,r}function nI(t,e,n){const{_proxy:r,_context:o,_subProxy:i,_descriptors:a}=t;let l=r[e];return _i(l)&&a.isScriptable(e)&&(l=rI(e,l,t,n)),on(l)&&l.length&&(l=oI(e,l,t,a.isIndexable)),pp(e,l)&&(l=va(l,o,i&&i[e],a)),l}function rI(t,e,n,r){const{_proxy:o,_context:i,_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(i,a||r);return l.delete(t),pp(t,u)&&(u=Ap(o._scopes,o,t,u)),u}function oI(t,e,n,r){const{_proxy:o,_context:i,_subProxy:a,_descriptors:l}=n;if(typeof i.index<"u"&&r(t))return e[i.index%e.length];if(ht(e[0])){const u=e,d=o._scopes.filter(h=>h!==u);e=[];for(const h of u){const p=Ap(d,o,t,h);e.push(va(p,i,a&&a[t],l))}}return e}function ix(t,e,n){return _i(t)?t(e,n):t}const iI=(t,e)=>t===!0?e:typeof t=="string"?Ii(e,t):void 0;function sI(t,e,n,r,o){for(const i of e){const a=iI(n,i);if(a){t.add(a);const l=ix(a._fallback,n,o);if(typeof l<"u"&&l!==n&&l!==r)return l}else if(a===!1&&typeof r<"u"&&n!==r)return null}return!1}function Ap(t,e,n,r){const o=e._rootScopes,i=ix(e._fallback,n,r),a=[...t,...o],l=new Set;l.add(r);let u=sx(l,a,n,i||n,r);return u===null||typeof i<"u"&&i!==n&&(u=sx(l,a,i,u,r),u===null)?!1:hp(Array.from(l),[""],o,i,()=>aI(e,n,r))}function sx(t,e,n,r,o){for(;n;)n=sI(t,e,n,r,o);return n}function aI(t,e,n){const r=t._getTarget();e in r||(r[e]={});const o=r[e];return on(o)&&ht(n)?n:o||{}}function lI(t,e,n,r){let o;for(const i of e)if(o=ax(tI(i,t),n),typeof o<"u")return pp(t,o)?Ap(n,r,t,o):o}function ax(t,e){for(const n of e){if(!n)continue;const r=n[t];if(typeof r<"u")return r}}function lx(t){let e=t._keys;return e||(e=t._keys=cI(t._scopes)),e}function cI(t){const e=new Set;for(const n of t)for(const r of Object.keys(n).filter(o=>!o.startsWith("_")))e.add(r);return Array.from(e)}function uI(t,e,n,r){const{iScale:o}=t,{key:i="r"}=this._parsing,a=new Array(r);let l,u,d,h;for(l=0,u=r;l<u;++l)d=l+n,h=e[d],a[l]={r:o.parse(Ii(h,i),d)};return a}function gp(){return typeof window<"u"&&typeof document<"u"}function mp(t){let e=t.parentNode;return e&&e.toString()==="[object ShadowRoot]"&&(e=e.host),e}function ju(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 Nu=t=>t.ownerDocument.defaultView.getComputedStyle(t,null);function dI(t,e){return Nu(t).getPropertyValue(e)}const fI=["top","right","bottom","left"];function bs(t,e,n){const r={};n=n?"-"+n:"";for(let o=0;o<4;o++){const i=fI[o];r[i]=parseFloat(t[e+"-"+i+n])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}const hI=(t,e,n)=>(t>0||e>0)&&(!n||!n.shadowRoot);function pI(t,e){const n=t.touches,r=n&&n.length?n[0]:t,{offsetX:o,offsetY:i}=r;let a=!1,l,u;if(hI(o,i,t.target))l=o,u=i;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 ws(t,e){if("native"in t)return t;const{canvas:n,currentDevicePixelRatio:r}=e,o=Nu(n),i=o.boxSizing==="border-box",a=bs(o,"padding"),l=bs(o,"border","width"),{x:u,y:d,box:h}=pI(t,n),p=a.left+(h&&l.left),g=a.top+(h&&l.top);let{width:m,height:y}=e;return i&&(m-=a.width+l.width,y-=a.height+l.height),{x:Math.round((u-p)/m*n.width/r),y:Math.round((d-g)/y*n.height/r)}}function AI(t,e,n){let r,o;if(e===void 0||n===void 0){const i=t&&mp(t);if(!i)e=t.clientWidth,n=t.clientHeight;else{const a=i.getBoundingClientRect(),l=Nu(i),u=bs(l,"border","width"),d=bs(l,"padding");e=a.width-d.width-u.width,n=a.height-d.height-u.height,r=ju(l.maxWidth,i,"clientWidth"),o=ju(l.maxHeight,i,"clientHeight")}}return{width:e,height:n,maxWidth:r||Iu,maxHeight:o||Iu}}const Oi=t=>Math.round(t*10)/10;function gI(t,e,n,r){const o=Nu(t),i=bs(o,"margin"),a=ju(o.maxWidth,t,"clientWidth")||Iu,l=ju(o.maxHeight,t,"clientHeight")||Iu,u=AI(t,e,n);let{width:d,height:h}=u;if(o.boxSizing==="content-box"){const g=bs(o,"border","width"),m=bs(o,"padding");d-=m.width+g.width,h-=m.height+g.height}return d=Math.max(0,d-i.width),h=Math.max(0,r?d/r:h-i.height),d=Oi(Math.min(d,a,u.maxWidth)),h=Oi(Math.min(h,l,u.maxHeight)),d&&!h&&(h=Oi(d/2)),(e!==void 0||n!==void 0)&&r&&u.height&&h>u.height&&(h=u.height,d=Oi(Math.floor(h*r))),{width:d,height:h}}function cx(t,e,n){const r=e||1,o=Oi(t.height*r),i=Oi(t.width*r);t.height=Oi(t.height),t.width=Oi(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!==o||a.width!==i?(t.currentDevicePixelRatio=r,a.height=o,a.width=i,t.ctx.setTransform(r,0,0,r,0,0),!0):!1}const mI=(function(){let t=!1;try{const e={get passive(){return t=!0,!1}};gp()&&(window.addEventListener("test",null,e),window.removeEventListener("test",null,e))}catch{}return t})();function ux(t,e){const n=dI(t,e),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}const vI=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}}},yI=function(){return{x(t){return t},setWidth(t){},textAlign(t){return t},xPlus(t,e){return t+e},leftForLtr(t,e){return t}}};function ya(t,e,n){return t?vI(e,n):yI()}function dx(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 fx(t,e){e!==void 0&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function zu(t,e,n){return t.options.clip?t[n]:e[n]}function xI(t,e){const{xScale:n,yScale:r}=t;return n&&r?{left:zu(n,e,"left"),right:zu(n,e,"right"),top:zu(r,e,"top"),bottom:zu(r,e,"bottom")}:e}function bI(t,e){const n=e._clip;if(n.disabled)return!1;const r=xI(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 wI{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(e,n,r,o){const i=n.listeners[o],a=n.duration;i.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=Hy.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(e=Date.now()){let n=0;this._charts.forEach((r,o)=>{if(!r.running||!r.items.length)return;const i=r.items;let a=i.length-1,l=!1,u;for(;a>=0;--a)u=i[a],u._active?(u._total>r.duration&&(r.duration=u._total),u.tick(e),l=!0):(i[a]=i[i.length-1],i.pop());l&&(o.draw(),this._notify(o,r,e,"progress")),i.length||(r.running=!1,this._notify(o,r,e,"complete"),r.initial=!1),n+=i.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,o)=>Math.max(r,o._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 o=r.length-1;for(;o>=0;--o)r[o].cancel();n.items=[],this._notify(e,n,Date.now(),"complete")}remove(e){return this._charts.delete(e)}}var $o=new wI;const hx="transparent",kI={boolean(t,e,n){return n>.5?e:t},color(t,e,n){const r=qy(t||hx),o=r.valid&&qy(e||hx);return o&&o.valid?o.mix(r,n).hexString():e},number(t,e,n){return t+(e-t)*n}};class SI{constructor(e,n,r,o){const i=n[r];o=Fu([e.to,o,i,e.from]);const a=Fu([e.from,i,o]);this._active=!0,this._fn=e.fn||kI[e.type||typeof a],this._easing=Ql[e.easing]||Ql.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=o,this._promises=void 0}active(){return this._active}update(e,n,r){if(this._active){this._notify(!1);const o=this._target[this._prop],i=r-this._start,a=this._duration-i;this._start=r,this._duration=Math.floor(Math.max(a,e.duration)),this._total+=i,this._loop=!!e.loop,this._to=Fu([e.to,n,o,e.from]),this._from=Fu([e.from,o,n])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(e){const n=e-this._start,r=this._duration,o=this._prop,i=this._from,a=this._loop,l=this._to;let u;if(this._active=i!==l&&(a||n<r),!this._active){this._target[o]=l,this._notify(!0);return}if(n<0){this._target[o]=i;return}u=n/r%2,u=a&&u>1?2-u:u,u=this._easing(Math.min(1,Math.max(0,u))),this._target[o]=this._fn(i,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 o=0;o<r.length;o++)r[o][n]()}}class px{constructor(e,n){this._chart=e,this._properties=new Map,this.configure(n)}configure(e){if(!ht(e))return;const n=Object.keys(Vt.animation),r=this._properties;Object.getOwnPropertyNames(e).forEach(o=>{const i=e[o];if(!ht(i))return;const a={};for(const l of n)a[l]=i[l];(on(i.properties)&&i.properties||[o]).forEach(l=>{(l===o||!r.has(l))&&r.set(l,a)})})}_animateOptions(e,n){const r=n.options,o=CI(e,r);if(!o)return[];const i=this._createAnimations(o,r);return r.$shared&&EI(e.options.$animations,r).then(()=>{e.options=r},()=>{}),i}_createAnimations(e,n){const r=this._properties,o=[],i=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"){o.push(...this._animateOptions(e,n));continue}const h=n[d];let p=i[d];const g=r.get(d);if(p)if(g&&p.active()){p.update(g,h,l);continue}else p.cancel();if(!g||!g.duration){e[d]=h;continue}i[d]=p=new SI(g,e,d,h),o.push(p)}return o}update(e,n){if(this._properties.size===0){Object.assign(e,n);return}const r=this._createAnimations(e,n);if(r.length)return $o.add(this._chart,r),!0}}function EI(t,e){const n=[],r=Object.keys(e);for(let o=0;o<r.length;o++){const i=t[r[o]];i&&i.active()&&n.push(i.wait())}return Promise.all(n)}function CI(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 Ax(t,e){const n=t&&t.options||{},r=n.reverse,o=n.min===void 0?e:0,i=n.max===void 0?e:0;return{start:r?i:o,end:r?o:i}}function PI(t,e,n){if(n===!1)return!1;const r=Ax(t,n),o=Ax(e,n);return{top:o.end,right:r.end,bottom:o.start,left:r.start}}function DI(t){let e,n,r,o;return ht(t)?(e=t.top,n=t.right,r=t.bottom,o=t.left):e=n=r=o=t,{top:e,right:n,bottom:r,left:o,disabled:t===!1}}function gx(t,e){const n=[],r=t._getSortedDatasetMetas(e);let o,i;for(o=0,i=r.length;o<i;++o)n.push(r[o].index);return n}function mx(t,e,n,r={}){const o=t.keys,i=r.mode==="single";let a,l,u,d;if(e===null)return;let h=!1;for(a=0,l=o.length;a<l;++a){if(u=+o[a],u===n){if(h=!0,r.all)continue;break}d=t.values[u],Ir(d)&&(i||e===0||Mi(e)===Mi(d))&&(e+=d)}return!h&&!r.all?0:e}function BI(t,e){const{iScale:n,vScale:r}=e,o=n.axis==="x"?"x":"y",i=r.axis==="x"?"x":"y",a=Object.keys(t),l=new Array(a.length);let u,d,h;for(u=0,d=a.length;u<d;++u)h=a[u],l[u]={[o]:h,[i]:t[h]};return l}function vp(t,e){const n=t&&t.options.stacked;return n||n===void 0&&e.stack!==void 0}function TI(t,e,n){return`${t.id}.${e.id}.${n.stack||n.type}`}function II(t){const{min:e,max:n,minDefined:r,maxDefined:o}=t.getUserBounds();return{min:r?e:Number.NEGATIVE_INFINITY,max:o?n:Number.POSITIVE_INFINITY}}function _I(t,e,n){const r=t[e]||(t[e]={});return r[n]||(r[n]={})}function vx(t,e,n,r){for(const o of e.getMatchingVisibleMetas(r).reverse()){const i=t[o.index];if(n&&i>0||!n&&i<0)return o.index}return null}function yx(t,e){const{chart:n,_cachedMeta:r}=t,o=n._stacks||(n._stacks={}),{iScale:i,vScale:a,index:l}=r,u=i.axis,d=a.axis,h=TI(i,a,r),p=e.length;let g;for(let m=0;m<p;++m){const y=e[m],{[u]:w,[d]:x}=y,P=y._stacks||(y._stacks={});g=P[d]=_I(o,h,w),g[l]=x,g._top=vx(g,a,!0,r.type),g._bottom=vx(g,a,!1,r.type);const _=g._visualValues||(g._visualValues={});_[l]=x}}function yp(t,e){const n=t.scales;return Object.keys(n).filter(r=>n[r].axis===e).shift()}function MI(t,e){return ma(t,{active:!1,dataset:void 0,datasetIndex:e,index:e,mode:"default",type:"dataset"})}function OI(t,e,n){return ma(t,{active:!1,dataIndex:e,parsed:void 0,raw:void 0,element:n,index:e,mode:"default",type:"data"})}function Vl(t,e){const n=t.controller.index,r=t.vScale&&t.vScale.axis;if(r){e=e||t._parsed;for(const o of e){const i=o._stacks;if(!i||i[r]===void 0||i[r][n]===void 0)return;delete i[r][n],i[r]._visualValues!==void 0&&i[r]._visualValues[n]!==void 0&&delete i[r]._visualValues[n]}}}const xp=t=>t==="reset"||t==="none",xx=(t,e)=>e?t:Object.assign({},t),RI=(t,e,n)=>t&&!e.hidden&&e._stacked&&{keys:gx(n,!0),values:null};class Qu{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=vp(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&&Vl(this._cachedMeta),this.index=e}linkScales(){const e=this.chart,n=this._cachedMeta,r=this.getDataset(),o=(p,g,m,y)=>p==="x"?g:p==="r"?y:m,i=n.xAxisID=mt(r.xAxisID,yp(e,"x")),a=n.yAxisID=mt(r.yAxisID,yp(e,"y")),l=n.rAxisID=mt(r.rAxisID,yp(e,"r")),u=n.indexAxis,d=n.iAxisID=o(u,i,a,l),h=n.vAxisID=o(u,a,i,l);n.xScale=this.getScaleForId(i),n.yScale=this.getScaleForId(a),n.rScale=this.getScaleForId(l),n.iScale=this.getScaleForId(d),n.vScale=this.getScaleForId(h)}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&&zy(this._data,this),e._stacked&&Vl(e)}_dataCheck(){const e=this.getDataset(),n=e.data||(e.data=[]),r=this._data;if(ht(n)){const o=this._cachedMeta;this._data=BI(n,o)}else if(r!==n){if(r){zy(r,this);const o=this._cachedMeta;Vl(o),o._parsed=[]}n&&Object.isExtensible(n)&&O8(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 o=!1;this._dataCheck();const i=n._stacked;n._stacked=vp(n.vScale,n),n.stack!==r.stack&&(o=!0,Vl(n),n.stack=r.stack),this._resyncElements(e),(o||i!==n._stacked)&&(yx(this,n._parsed),n._stacked=vp(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:o}=this,{iScale:i,_stacked:a}=r,l=i.axis;let u=e===0&&n===o.length?!0:r._sorted,d=e>0&&r._parsed[e-1],h,p,g;if(this._parsing===!1)r._parsed=o,r._sorted=!0,g=o;else{on(o[e])?g=this.parseArrayData(r,o,e,n):ht(o[e])?g=this.parseObjectData(r,o,e,n):g=this.parsePrimitiveData(r,o,e,n);const m=()=>p[l]===null||d&&p[l]<d[l];for(h=0;h<n;++h)r._parsed[h+e]=p=g[h],u&&(m()&&(u=!1),d=p);r._sorted=u}a&&yx(this,g)}parsePrimitiveData(e,n,r,o){const{iScale:i,vScale:a}=e,l=i.axis,u=a.axis,d=i.getLabels(),h=i===a,p=new Array(o);let g,m,y;for(g=0,m=o;g<m;++g)y=g+r,p[g]={[l]:h||i.parse(d[y],y),[u]:a.parse(n[y],y)};return p}parseArrayData(e,n,r,o){const{xScale:i,yScale:a}=e,l=new Array(o);let u,d,h,p;for(u=0,d=o;u<d;++u)h=u+r,p=n[h],l[u]={x:i.parse(p[0],h),y:a.parse(p[1],h)};return l}parseObjectData(e,n,r,o){const{xScale:i,yScale:a}=e,{xAxisKey:l="x",yAxisKey:u="y"}=this._parsing,d=new Array(o);let h,p,g,m;for(h=0,p=o;h<p;++h)g=h+r,m=n[g],d[h]={x:i.parse(Ii(m,l),g),y:a.parse(Ii(m,u),g)};return d}getParsed(e){return this._cachedMeta._parsed[e]}getDataElement(e){return this._cachedMeta.data[e]}applyStack(e,n,r){const o=this.chart,i=this._cachedMeta,a=n[e.axis],l={keys:gx(o,!0),values:n._stacks[e.axis]._visualValues};return mx(l,a,i.index,{mode:r})}updateRangeFromParsed(e,n,r,o){const i=r[n.axis];let a=i===null?NaN:i;const l=o&&r._stacks[n.axis];o&&l&&(o.values=l,a=mx(o,i,this._cachedMeta.index)),e.min=Math.min(e.min,a),e.max=Math.max(e.max,a)}getMinMax(e,n){const r=this._cachedMeta,o=r._parsed,i=r._sorted&&e===r.iScale,a=o.length,l=this._getOtherScale(e),u=RI(n,r,this.chart),d={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:h,max:p}=II(l);let g,m;function y(){m=o[g];const w=m[l.axis];return!Ir(m[e.axis])||h>w||p<w}for(g=0;g<a&&!(!y()&&(this.updateRangeFromParsed(d,e,m,u),i));++g);if(i){for(g=a-1;g>=0;--g)if(!y()){this.updateRangeFromParsed(d,e,m,u);break}}return d}getAllParsedValues(e){const n=this._cachedMeta._parsed,r=[];let o,i,a;for(o=0,i=n.length;o<i;++o)a=n[o][e.axis],Ir(a)&&r.push(a);return r}getMaxOverflow(){return!1}getLabelAndValue(e){const n=this._cachedMeta,r=n.iScale,o=n.vScale,i=this.getParsed(e);return{label:r?""+r.getLabelForValue(i[r.axis]):"",value:o?""+o.getLabelForValue(i[o.axis]):""}}_update(e){const n=this._cachedMeta;this.update(e||"default"),n._clip=DI(mt(this.options.clip,PI(n.xScale,n.yScale,this.getMaxOverflow())))}update(e){}draw(){const e=this._ctx,n=this.chart,r=this._cachedMeta,o=r.data||[],i=n.chartArea,a=[],l=this._drawStart||0,u=this._drawCount||o.length-l,d=this.options.drawActiveElementsOnTop;let h;for(r.dataset&&r.dataset.draw(e,i,l,u),h=l;h<l+u;++h){const p=o[h];p.hidden||(p.active&&d?a.push(p):p.draw(e,i))}for(h=0;h<a.length;++h)a[h].draw(e,i)}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 o=this.getDataset();let i;if(e>=0&&e<this._cachedMeta.data.length){const a=this._cachedMeta.data[e];i=a.$context||(a.$context=OI(this.getContext(),e,a)),i.parsed=this.getParsed(e),i.raw=o.data[e],i.index=i.dataIndex=e}else i=this.$context||(this.$context=MI(this.chart.getContext(),this.index)),i.dataset=o,i.index=i.datasetIndex=this.index;return i.active=!!n,i.mode=r,i}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 o=n==="active",i=this._cachedDataOpts,a=e+"-"+n,l=i[a],u=this.enableOptionSharing&&zl(r);if(l)return xx(l,u);const d=this.chart.config,h=d.datasetElementScopeKeys(this._type,e),p=o?[`${e}Hover`,"hover",e,""]:[e,""],g=d.getOptionScopes(this.getDataset(),h),m=Object.keys(Vt.elements[e]),y=()=>this.getContext(r,o,n),w=d.resolveNamedOptions(g,m,y,p);return w.$shared&&(w.$shared=u,i[a]=Object.freeze(xx(w,u))),w}_resolveAnimations(e,n,r){const o=this.chart,i=this._cachedDataOpts,a=`animation-${n}`,l=i[a];if(l)return l;let u;if(o.options.animation!==!1){const h=this.chart.config,p=h.datasetAnimationScopeKeys(this._type,n),g=h.getOptionScopes(this.getDataset(),p);u=h.createResolver(g,this.getContext(e,r,n))}const d=new px(o,u&&u.animations);return u&&u._cacheable&&(i[a]=Object.freeze(d)),d}getSharedOptions(e){if(e.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},e))}includeOptions(e,n){return!n||xp(e)||this.chart._animationsDisabled}_getSharedOptions(e,n){const r=this.resolveDataElementOptions(e,n),o=this._sharedOptions,i=this.getSharedOptions(r),a=this.includeOptions(n,i)||i!==o;return this.updateSharedOptions(i,n,r),{sharedOptions:i,includeOptions:a}}updateElement(e,n,r,o){xp(o)?Object.assign(e,r):this._resolveAnimations(n,o).update(e,r)}updateSharedOptions(e,n,r){e&&!xp(n)&&this._resolveAnimations(void 0,n).update(e,r)}_setStyle(e,n,r,o){e.active=o;const i=this.getStyle(n,o);this._resolveAnimations(n,r,o).update(e,{options:!o&&this.getSharedOptions(i)||i})}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 o=r.length,i=n.length,a=Math.min(i,o);a&&this.parse(0,a),i>o?this._insertElements(o,i-o,e):i<o&&this._removeElements(i,o-i)}_insertElements(e,n,r=!0){const o=this._cachedMeta,i=o.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(i),l=e;l<a;++l)i[l]=new this.dataElementType;this._parsing&&u(o._parsed),this.parse(e,n),r&&this.updateElements(i,e,n,"reset")}updateElements(e,n,r,o){}_removeElements(e,n){const r=this._cachedMeta;if(this._parsing){const o=r._parsed.splice(e,n);r._stacked&&Vl(r,o)}r.data.splice(e,n)}_sync(e){if(this._parsing)this._syncList.push(e);else{const[n,r,o]=e;this[n](r,o)}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 LI(t,e){if(!t._cache.$bar){const n=t.getMatchingVisibleMetas(e);let r=[];for(let o=0,i=n.length;o<i;o++)r=r.concat(n[o].controller.getAllParsedValues(t));t._cache.$bar=Qy(r.sort((o,i)=>o-i))}return t._cache.$bar}function FI(t){const e=t.iScale,n=LI(e,t.type);let r=e._length,o,i,a,l;const u=()=>{a===32767||a===-32768||(zl(l)&&(r=Math.min(r,Math.abs(a-l)||r)),l=a)};for(o=0,i=n.length;o<i;++o)a=e.getPixelForValue(n[o]),u();for(l=void 0,o=0,i=e.ticks.length;o<i;++o)a=e.getPixelForTick(o),u();return r}function jI(t,e,n,r){const o=n.barThickness;let i,a;return Dt(o)?(i=e.min*n.categoryPercentage,a=n.barPercentage):(i=o*r,a=1),{chunk:i/r,ratio:a,start:e.pixels[t]-i/2}}function NI(t,e,n,r){const o=e.pixels,i=o[t];let a=t>0?o[t-1]:null,l=t<o.length-1?o[t+1]:null;const u=n.categoryPercentage;a===null&&(a=i-(l===null?e.end-e.start:l-i)),l===null&&(l=i+i-a);const d=i-(i-Math.min(a,l))/2*u;return{chunk:Math.abs(l-a)/2*u/r,ratio:n.barPercentage,start:d}}function zI(t,e,n,r){const o=n.parse(t[0],r),i=n.parse(t[1],r),a=Math.min(o,i),l=Math.max(o,i);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:o,end:i,min:a,max:l}}function bx(t,e,n,r){return on(t)?zI(t,e,n,r):e[n.axis]=n.parse(t,r),e}function wx(t,e,n,r){const o=t.iScale,i=t.vScale,a=o.getLabels(),l=o===i,u=[];let d,h,p,g;for(d=n,h=n+r;d<h;++d)g=e[d],p={},p[o.axis]=l||o.parse(a[d],d),u.push(bx(g,p,i,d));return u}function bp(t){return t&&t.barStart!==void 0&&t.barEnd!==void 0}function QI(t,e,n){return t!==0?Mi(t):(e.isHorizontal()?1:-1)*(e.min>=n?1:-1)}function HI(t){let e,n,r,o,i;return t.horizontal?(e=t.base>t.x,n="left",r="right"):(e=t.base<t.y,n="bottom",r="top"),e?(o="end",i="start"):(o="start",i="end"),{start:n,end:r,reverse:e,top:o,bottom:i}}function UI(t,e,n,r){let o=e.borderSkipped;const i={};if(!o){t.borderSkipped=i;return}if(o===!0){t.borderSkipped={top:!0,right:!0,bottom:!0,left:!0};return}const{start:a,end:l,reverse:u,top:d,bottom:h}=HI(t);o==="middle"&&n&&(t.enableBorderRadius=!0,(n._top||0)===r?o=d:(n._bottom||0)===r?o=h:(i[kx(h,a,l,u)]=!0,o=d)),i[kx(o,a,l,u)]=!0,t.borderSkipped=i}function kx(t,e,n,r){return r?(t=VI(t,e,n),t=Sx(t,n,e)):t=Sx(t,e,n),t}function VI(t,e,n){return t===e?n:t===n?e:t}function Sx(t,e,n){return t==="start"?e:t==="end"?n:t}function WI(t,{inflateAmount:e},n){t.inflateAmount=e==="auto"?n===1?.33:0:e}class YI extends Qu{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,o){return wx(e,n,r,o)}parseArrayData(e,n,r,o){return wx(e,n,r,o)}parseObjectData(e,n,r,o){const{iScale:i,vScale:a}=e,{xAxisKey:l="x",yAxisKey:u="y"}=this._parsing,d=i.axis==="x"?l:u,h=a.axis==="x"?l:u,p=[];let g,m,y,w;for(g=r,m=r+o;g<m;++g)w=n[g],y={},y[i.axis]=i.parse(Ii(w,d),g),p.push(bx(Ii(w,h),y,a,g));return p}updateRangeFromParsed(e,n,r,o){super.updateRangeFromParsed(e,n,r,o);const i=r._custom;i&&n===this._cachedMeta.vScale&&(e.min=Math.min(e.min,i.min),e.max=Math.max(e.max,i.max))}getMaxOverflow(){return 0}getLabelAndValue(e){const n=this._cachedMeta,{iScale:r,vScale:o}=n,i=this.getParsed(e),a=i._custom,l=bp(a)?"["+a.start+", "+a.end+"]":""+o.getLabelForValue(i[o.axis]);return{label:""+r.getLabelForValue(i[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,o){const i=o==="reset",{index:a,_cachedMeta:{vScale:l}}=this,u=l.getBasePixel(),d=l.isHorizontal(),h=this._getRuler(),{sharedOptions:p,includeOptions:g}=this._getSharedOptions(n,o);for(let m=n;m<n+r;m++){const y=this.getParsed(m),w=i||Dt(y[l.axis])?{base:u,head:u}:this._calculateBarValuePixels(m),x=this._calculateBarIndexPixels(m,h),P=(y._stacks||{})[l.axis],_={horizontal:d,base:w.base,enableBorderRadius:!P||bp(y._custom)||a===P._top||a===P._bottom,x:d?w.head:x.center,y:d?x.center:w.head,height:d?x.size:Math.abs(w.size),width:d?Math.abs(w.size):x.size};g&&(_.options=p||this.resolveDataElementOptions(m,e[m].active?"active":o));const D=_.options||e[m].options;UI(_,D,P,a),WI(_,D,h.ratio),this.updateElement(e[m],m,_,o)}}_getStacks(e,n){const{iScale:r}=this._cachedMeta,o=r.getMatchingVisibleMetas(this._type).filter(h=>h.controller.options.grouped),i=r.options.stacked,a=[],l=this._cachedMeta.controller.getParsed(n),u=l&&l[r.axis],d=h=>{const p=h._parsed.find(m=>m[r.axis]===u),g=p&&p[h.vScale.axis];if(Dt(g)||isNaN(g))return!0};for(const h of o)if(!(n!==void 0&&d(h))&&((i===!1||a.indexOf(h.stack)===-1||i===void 0&&h.stack===void 0)&&a.push(h.stack),h.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[mt(this.chart.options.indexAxis==="x"?r.xAxisID:r.yAxisID,n)]=!0;return Object.keys(e)}_getStackIndex(e,n,r){const o=this._getStacks(e,r),i=n!==void 0?o.indexOf(n):-1;return i===-1?o.length-1:i}_getRuler(){const e=this.options,n=this._cachedMeta,r=n.iScale,o=[];let i,a;for(i=0,a=n.data.length;i<a;++i)o.push(r.getPixelForValue(this.getParsed(i)[r.axis],i));const l=e.barThickness;return{min:l||FI(n),pixels:o,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:o},options:{base:i,minBarLength:a}}=this,l=i||0,u=this.getParsed(e),d=u._custom,h=bp(d);let p=u[n.axis],g=0,m=r?this.applyStack(n,u,r):p,y,w;m!==p&&(g=m-p,m=p),h&&(p=d.barStart,m=d.barEnd-d.barStart,p!==0&&Mi(p)!==Mi(d.barEnd)&&(g=0),g+=p);const x=!Dt(i)&&!h?i:g;let P=n.getPixelForValue(x);if(this.chart.getDataVisibility(e)?y=n.getPixelForValue(g+m):y=P,w=y-P,Math.abs(w)<a){w=QI(w,n,l)*a,p===l&&(P-=w/2);const _=n.getPixelForDecimal(0),D=n.getPixelForDecimal(1),C=Math.min(_,D),N=Math.max(_,D);P=Math.max(Math.min(P,N),C),y=P+w,r&&!h&&(u._stacks[n.axis]._visualValues[o]=n.getValueForPixel(y)-n.getValueForPixel(P))}if(P===n.getPixelForValue(l)){const _=Mi(w)*n.getLineWidthForValue(l)/2;P+=_,w-=_}return{size:w,base:P,head:y,center:y+w/2}}_calculateBarIndexPixels(e,n){const r=n.scale,o=this.options,i=o.skipNull,a=mt(o.maxBarThickness,1/0);let l,u;const d=this._getAxisCount();if(n.grouped){const h=i?this._getStackCount(e):n.stackCount,p=o.barThickness==="flex"?NI(e,n,o,h*d):jI(e,n,o,h*d),g=this.chart.options.indexAxis==="x"?this.getDataset().xAxisID:this.getDataset().yAxisID,m=this._getAxis().indexOf(mt(g,this.getFirstScaleIdForIndexAxis())),y=this._getStackIndex(this.index,this._cachedMeta.stack,i?e:void 0)+m;l=p.start+p.chunk*y+p.chunk/2,u=Math.min(a,p.chunk*p.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,o=r.length;let i=0;for(;i<o;++i)this.getParsed(i)[n.axis]!==null&&!r[i].hidden&&r[i].draw(this._ctx)}}function qI(t,e,n){let r=1,o=1,i=0,a=0;if(e<hr){const l=t,u=l+e,d=Math.cos(l),h=Math.sin(l),p=Math.cos(u),g=Math.sin(u),m=(D,C,N)=>op(D,l,u,!0)?1:Math.max(C,C*n,N,N*n),y=(D,C,N)=>op(D,l,u,!0)?-1:Math.min(C,C*n,N,N*n),w=m(0,d,p),x=m(pr,h,g),P=y(sn,d,p),_=y(sn+pr,h,g);r=(w-P)/2,o=(x-_)/2,i=-(w+P)/2,a=-(x+_)/2}return{ratioX:r,ratioY:o,offsetX:i,offsetY:a}}class KI extends Qu{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:o,color:i,useBorderRadius:a,borderRadius:l}}=e.legend.options;return n.labels.length&&n.datasets.length?n.labels.map((u,d)=>{const p=e.getDatasetMeta(0).controller.getStyle(d);return{text:u,fillStyle:p.backgroundColor,fontColor:i,hidden:!e.getDataVisibility(d),lineDash:p.borderDash,lineDashOffset:p.borderDashOffset,lineJoin:p.borderJoinStyle,lineWidth:p.borderWidth,strokeStyle:p.borderColor,textAlign:o,pointStyle:r,borderRadius:a&&(l||p.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,o=this._cachedMeta;if(this._parsing===!1)o._parsed=r;else{let i=u=>+r[u];if(ht(r[e])){const{key:u="value"}=this._parsing;i=d=>+Ii(r[d],u)}let a,l;for(a=e,l=e+n;a<l;++a)o._parsed[a]=i(a)}}_getRotation(){return ko(this.options.rotation-90)}_getCircumference(){return ko(this.options.circumference)}_getRotationExtents(){let e=hr,n=-hr;for(let r=0;r<this.chart.data.datasets.length;++r)if(this.chart.isDatasetVisible(r)&&this.chart.getDatasetMeta(r).type===this._type){const o=this.chart.getDatasetMeta(r).controller,i=o._getRotation(),a=o._getCircumference();e=Math.min(e,i),n=Math.max(n,i+a)}return{rotation:e,circumference:n-e}}update(e){const n=this.chart,{chartArea:r}=n,o=this._cachedMeta,i=o.data,a=this.getMaxBorderWidth()+this.getMaxOffset(i)+this.options.spacing,l=Math.max((Math.min(r.width,r.height)-a)/2,0),u=Math.min(m8(this.options.cutout,l),1),d=this._getRingWeight(this.index),{circumference:h,rotation:p}=this._getRotationExtents(),{ratioX:g,ratioY:m,offsetX:y,offsetY:w}=qI(p,h,u),x=(r.width-a)/g,P=(r.height-a)/m,_=Math.max(Math.min(x,P)/2,0),D=Iy(this.options.radius,_),C=Math.max(D*u,0),N=(D-C)/this._getVisibleDatasetWeightTotal();this.offsetX=y*D,this.offsetY=w*D,o.total=this.calculateTotal(),this.outerRadius=D-N*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-N*d,0),this.updateElements(i,0,i.length,e)}_circumference(e,n){const r=this.options,o=this._cachedMeta,i=this._getCircumference();return n&&r.animation.animateRotate||!this.chart.getDataVisibility(e)||o._parsed[e]===null||o.data[e].hidden?0:this.calculateCircumference(o._parsed[e]*i/hr)}updateElements(e,n,r,o){const i=o==="reset",a=this.chart,l=a.chartArea,d=a.options.animation,h=(l.left+l.right)/2,p=(l.top+l.bottom)/2,g=i&&d.animateScale,m=g?0:this.innerRadius,y=g?0:this.outerRadius,{sharedOptions:w,includeOptions:x}=this._getSharedOptions(n,o);let P=this._getRotation(),_;for(_=0;_<n;++_)P+=this._circumference(_,i);for(_=n;_<n+r;++_){const D=this._circumference(_,i),C=e[_],N={x:h+this.offsetX,y:p+this.offsetY,startAngle:P,endAngle:P+D,circumference:D,outerRadius:y,innerRadius:m};x&&(N.options=w||this.resolveDataElementOptions(_,C.active?"active":o)),P+=D,this.updateElement(C,_,N,o)}}calculateTotal(){const e=this._cachedMeta,n=e.data;let r=0,o;for(o=0;o<n.length;o++){const i=e._parsed[o];i!==null&&!isNaN(i)&&this.chart.getDataVisibility(o)&&!n[o].hidden&&(r+=Math.abs(i))}return r}calculateCircumference(e){const n=this._cachedMeta.total;return n>0&&!isNaN(e)?hr*(Math.abs(e)/n):0}getLabelAndValue(e){const n=this._cachedMeta,r=this.chart,o=r.data.labels||[],i=Ru(n._parsed[e],r.options.locale);return{label:o[e]||"",value:i}}getMaxBorderWidth(e){let n=0;const r=this.chart;let o,i,a,l,u;if(!e){for(o=0,i=r.data.datasets.length;o<i;++o)if(r.isDatasetVisible(o)){a=r.getDatasetMeta(o),e=a.data,l=a.controller;break}}if(!e)return 0;for(o=0,i=e.length;o<i;++o)u=l.resolveDataElementOptions(o),u.borderAlign!=="inner"&&(n=Math.max(n,u.borderWidth||0,u.hoverBorderWidth||0));return n}getMaxOffset(e){let n=0;for(let r=0,o=e.length;r<o;++r){const i=this.resolveDataElementOptions(r);n=Math.max(n,i.offset||0,i.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(mt(this.chart.data.datasets[e].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}class GI extends Qu{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:o}}=e.legend.options;return n.labels.map((i,a)=>{const u=e.getDatasetMeta(0).controller.getStyle(a);return{text:i,fillStyle:u.backgroundColor,strokeStyle:u.borderColor,fontColor:o,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,o=r.data.labels||[],i=Ru(n._parsed[e].r,r.options.locale);return{label:o[e]||"",value:i}}parseObjectData(e,n,r,o){return uI.bind(this)(e,n,r,o)}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,o)=>{const i=this.getParsed(o).r;!isNaN(i)&&this.chart.getDataVisibility(o)&&(i<n.min&&(n.min=i),i>n.max&&(n.max=i))}),n}_updateRadius(){const e=this.chart,n=e.chartArea,r=e.options,o=Math.min(n.right-n.left,n.bottom-n.top),i=Math.max(o/2,0),a=Math.max(r.cutoutPercentage?i/100*r.cutoutPercentage:1,0),l=(i-a)/e.getVisibleDatasetCount();this.outerRadius=i-l*this.index,this.innerRadius=this.outerRadius-l}updateElements(e,n,r,o){const i=o==="reset",a=this.chart,u=a.options.animation,d=this._cachedMeta.rScale,h=d.xCenter,p=d.yCenter,g=d.getIndexAngle(0)-.5*sn;let m=g,y;const w=360/this.countVisibleElements();for(y=0;y<n;++y)m+=this._computeAngle(y,o,w);for(y=n;y<n+r;y++){const x=e[y];let P=m,_=m+this._computeAngle(y,o,w),D=a.getDataVisibility(y)?d.getDistanceFromCenterForValue(this.getParsed(y).r):0;m=_,i&&(u.animateScale&&(D=0),u.animateRotate&&(P=_=g));const C={x:h,y:p,innerRadius:0,outerRadius:D,startAngle:P,endAngle:_,options:this.resolveDataElementOptions(y,x.active?"active":o)};this.updateElement(x,y,C,o)}}countVisibleElements(){const e=this._cachedMeta;let n=0;return e.data.forEach((r,o)=>{!isNaN(this.getParsed(o).r)&&this.chart.getDataVisibility(o)&&n++}),n}_computeAngle(e,n,r){return this.chart.getDataVisibility(e)?ko(this.resolveDataElementOptions(e,n).angle||r):0}}function ks(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class wp{static override(e){Object.assign(wp.prototype,e)}options;constructor(e){this.options=e||{}}init(){}formats(){return ks()}parse(){return ks()}format(){return ks()}add(){return ks()}diff(){return ks()}startOf(){return ks()}endOf(){return ks()}}var XI={_date:wp};function JI(t,e,n,r){const{controller:o,data:i,_sorted:a}=t,l=o._cachedMeta.iScale,u=t.dataset&&t.dataset.options?t.dataset.options.spanGaps:null;if(l&&e===l.axis&&e!=="r"&&a&&i.length){const d=l._reversePixels?_8:sp;if(r){if(o._sharedOptions){const h=i[0],p=typeof h.getRange=="function"&&h.getRange(e);if(p){const g=d(i,e,n-p),m=d(i,e,n+p);return{lo:g.lo,hi:m.hi}}}}else{const h=d(i,e,n);if(u){const{vScale:p}=o._cachedMeta,{_parsed:g}=t,m=g.slice(0,h.lo+1).reverse().findIndex(w=>!Dt(w[p.axis]));h.lo-=Math.max(0,m);const y=g.slice(h.hi).findIndex(w=>!Dt(w[p.axis]));h.hi+=Math.max(0,y)}return h}}return{lo:0,hi:i.length-1}}function Hu(t,e,n,r,o){const i=t.getSortedVisibleDatasetMetas(),a=n[e];for(let l=0,u=i.length;l<u;++l){const{index:d,data:h}=i[l],{lo:p,hi:g}=JI(i[l],e,a,o);for(let m=p;m<=g;++m){const y=h[m];y.skip||r(y,d,m)}}}function ZI(t){const e=t.indexOf("x")!==-1,n=t.indexOf("y")!==-1;return function(r,o){const i=e?Math.abs(r.x-o.x):0,a=n?Math.abs(r.y-o.y):0;return Math.sqrt(Math.pow(i,2)+Math.pow(a,2))}}function kp(t,e,n,r,o){const i=[];return!o&&!t.isPointInArea(e)||Hu(t,n,e,function(l,u,d){!o&&!ex(l,t.chartArea,0)||l.inRange(e.x,e.y,r)&&i.push({element:l,datasetIndex:u,index:d})},!0),i}function $I(t,e,n,r){let o=[];function i(a,l,u){const{startAngle:d,endAngle:h}=a.getProps(["startAngle","endAngle"],r),{angle:p}=B8(a,{x:e.x,y:e.y});op(p,d,h)&&o.push({element:a,datasetIndex:l,index:u})}return Hu(t,n,e,i),o}function e_(t,e,n,r,o,i){let a=[];const l=ZI(n);let u=Number.POSITIVE_INFINITY;function d(h,p,g){const m=h.inRange(e.x,e.y,o);if(r&&!m)return;const y=h.getCenterPoint(o);if(!(!!i||t.isPointInArea(y))&&!m)return;const x=l(e,y);x<u?(a=[{element:h,datasetIndex:p,index:g}],u=x):x===u&&a.push({element:h,datasetIndex:p,index:g})}return Hu(t,n,e,d),a}function Sp(t,e,n,r,o,i){return!i&&!t.isPointInArea(e)?[]:n==="r"&&!r?$I(t,e,n,o):e_(t,e,n,r,o,i)}function Ex(t,e,n,r,o){const i=[],a=n==="x"?"inXRange":"inYRange";let l=!1;return Hu(t,n,e,(u,d,h)=>{u[a]&&u[a](e[n],o)&&(i.push({element:u,datasetIndex:d,index:h}),l=l||u.inRange(e.x,e.y,o))}),r&&!l?[]:i}var t_={modes:{index(t,e,n,r){const o=ws(e,t),i=n.axis||"x",a=n.includeInvisible||!1,l=n.intersect?kp(t,o,i,r,a):Sp(t,o,i,!1,r,a),u=[];return l.length?(t.getSortedVisibleDatasetMetas().forEach(d=>{const h=l[0].index,p=d.data[h];p&&!p.skip&&u.push({element:p,datasetIndex:d.index,index:h})}),u):[]},dataset(t,e,n,r){const o=ws(e,t),i=n.axis||"xy",a=n.includeInvisible||!1;let l=n.intersect?kp(t,o,i,r,a):Sp(t,o,i,!1,r,a);if(l.length>0){const u=l[0].datasetIndex,d=t.getDatasetMeta(u).data;l=[];for(let h=0;h<d.length;++h)l.push({element:d[h],datasetIndex:u,index:h})}return l},point(t,e,n,r){const o=ws(e,t),i=n.axis||"xy",a=n.includeInvisible||!1;return kp(t,o,i,r,a)},nearest(t,e,n,r){const o=ws(e,t),i=n.axis||"xy",a=n.includeInvisible||!1;return Sp(t,o,i,n.intersect,r,a)},x(t,e,n,r){const o=ws(e,t);return Ex(t,o,"x",n.intersect,r)},y(t,e,n,r){const o=ws(e,t);return Ex(t,o,"y",n.intersect,r)}}};const Cx=["left","top","right","bottom"];function Wl(t,e){return t.filter(n=>n.pos===e)}function Px(t,e){return t.filter(n=>Cx.indexOf(n.pos)===-1&&n.box.axis===e)}function Yl(t,e){return t.sort((n,r)=>{const o=e?r:n,i=e?n:r;return o.weight===i.weight?o.index-i.index:o.weight-i.weight})}function n_(t){const e=[];let n,r,o,i,a,l;for(n=0,r=(t||[]).length;n<r;++n)o=t[n],{position:i,options:{stack:a,stackWeight:l=1}}=o,e.push({index:n,box:o,pos:i,horizontal:o.isHorizontal(),weight:o.weight,stack:a&&i+a,stackWeight:l});return e}function r_(t){const e={};for(const n of t){const{stack:r,pos:o,stackWeight:i}=n;if(!r||!Cx.includes(o))continue;const a=e[r]||(e[r]={count:0,placed:0,weight:0,size:0});a.count++,a.weight+=i}return e}function o_(t,e){const n=r_(t),{vBoxMaxWidth:r,hBoxMaxHeight:o}=e;let i,a,l;for(i=0,a=t.length;i<a;++i){l=t[i];const{fullSize:u}=l.box,d=n[l.stack],h=d&&l.stackWeight/d.weight;l.horizontal?(l.width=h?h*r:u&&e.availableWidth,l.height=o):(l.width=r,l.height=h?h*o:u&&e.availableHeight)}return n}function i_(t){const e=n_(t),n=Yl(e.filter(d=>d.box.fullSize),!0),r=Yl(Wl(e,"left"),!0),o=Yl(Wl(e,"right")),i=Yl(Wl(e,"top"),!0),a=Yl(Wl(e,"bottom")),l=Px(e,"x"),u=Px(e,"y");return{fullSize:n,leftAndTop:r.concat(i),rightAndBottom:o.concat(u).concat(a).concat(l),chartArea:Wl(e,"chartArea"),vertical:r.concat(o).concat(u),horizontal:i.concat(a).concat(l)}}function Dx(t,e,n,r){return Math.max(t[n],e[n])+Math.max(t[r],e[r])}function Bx(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 s_(t,e,n,r){const{pos:o,box:i}=n,a=t.maxPadding;if(!ht(o)){n.size&&(t[o]-=n.size);const p=r[n.stack]||{size:0,count:1};p.size=Math.max(p.size,n.horizontal?i.height:i.width),n.size=p.size/p.count,t[o]+=n.size}i.getPadding&&Bx(a,i.getPadding());const l=Math.max(0,e.outerWidth-Dx(a,t,"left","right")),u=Math.max(0,e.outerHeight-Dx(a,t,"top","bottom")),d=l!==t.w,h=u!==t.h;return t.w=l,t.h=u,n.horizontal?{same:d,other:h}:{same:h,other:d}}function a_(t){const e=t.maxPadding;function n(r){const o=Math.max(e[r]-t[r],0);return t[r]+=o,o}t.y+=n("top"),t.x+=n("left"),n("right"),n("bottom")}function l_(t,e){const n=e.maxPadding;function r(o){const i={left:0,top:0,right:0,bottom:0};return o.forEach(a=>{i[a]=Math.max(e[a],n[a])}),i}return r(t?["left","right"]:["top","bottom"])}function ql(t,e,n,r){const o=[];let i,a,l,u,d,h;for(i=0,a=t.length,d=0;i<a;++i){l=t[i],u=l.box,u.update(l.width||e.w,l.height||e.h,l_(l.horizontal,e));const{same:p,other:g}=s_(e,n,l,r);d|=p&&o.length,h=h||g,u.fullSize||o.push(l)}return d&&ql(o,e,n,r)||h}function Uu(t,e,n,r,o){t.top=n,t.left=e,t.right=e+r,t.bottom=n+o,t.width=r,t.height=o}function Tx(t,e,n,r){const o=n.padding;let{x:i,y:a}=e;for(const l of t){const u=l.box,d=r[l.stack]||{placed:0,weight:1},h=l.stackWeight/d.weight||1;if(l.horizontal){const p=e.w*h,g=d.size||u.height;zl(d.start)&&(a=d.start),u.fullSize?Uu(u,o.left,a,n.outerWidth-o.right-o.left,g):Uu(u,e.left+d.placed,a,p,g),d.start=a,d.placed+=p,a=u.bottom}else{const p=e.h*h,g=d.size||u.width;zl(d.start)&&(i=d.start),u.fullSize?Uu(u,i,o.top,g,n.outerHeight-o.bottom-o.top):Uu(u,i,e.top+d.placed,g,p),d.start=i,d.placed+=p,i=u.right}}e.x=i,e.y=a}var Mr={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 o=_r(t.options.layout.padding),i=Math.max(e-o.width,0),a=Math.max(n-o.height,0),l=i_(t.boxes),u=l.vertical,d=l.horizontal;wt(t.boxes,w=>{typeof w.beforeLayout=="function"&&w.beforeLayout()});const h=u.reduce((w,x)=>x.box.options&&x.box.options.display===!1?w:w+1,0)||1,p=Object.freeze({outerWidth:e,outerHeight:n,padding:o,availableWidth:i,availableHeight:a,vBoxMaxWidth:i/2/h,hBoxMaxHeight:a/2}),g=Object.assign({},o);Bx(g,_r(r));const m=Object.assign({maxPadding:g,w:i,h:a,x:o.left,y:o.top},o),y=o_(u.concat(d),p);ql(l.fullSize,m,p,y),ql(u,m,p,y),ql(d,m,p,y)&&ql(u,m,p,y),a_(m),Tx(l.leftAndTop,m,p,y),m.x+=m.w,m.y+=m.h,Tx(l.rightAndBottom,m,p,y),t.chartArea={left:m.left,top:m.top,right:m.left+m.w,bottom:m.top+m.h,height:m.h,width:m.w},wt(l.chartArea,w=>{const x=w.box;Object.assign(x,t.chartArea),x.update(m.w,m.h,{left:0,top:0,right:0,bottom:0})})}};class Ix{acquireContext(e,n){}releaseContext(e){return!1}addEventListener(e,n,r){}removeEventListener(e,n,r){}getDevicePixelRatio(){return 1}getMaximumSize(e,n,r,o){return n=Math.max(0,n||e.width),r=r||e.height,{width:n,height:Math.max(0,o?Math.floor(n/o):r)}}isAttached(e){return!0}updateConfig(e){}}class c_ extends Ix{acquireContext(e){return e&&e.getContext&&e.getContext("2d")||null}updateConfig(e){e.options.animation=!1}}const Vu="$chartjs",u_={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},_x=t=>t===null||t==="";function d_(t,e){const n=t.style,r=t.getAttribute("height"),o=t.getAttribute("width");if(t[Vu]={initial:{height:r,width:o,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",_x(o)){const i=ux(t,"width");i!==void 0&&(t.width=i)}if(_x(r))if(t.style.height==="")t.height=t.width/(e||2);else{const i=ux(t,"height");i!==void 0&&(t.height=i)}return t}const Mx=mI?{passive:!0}:!1;function f_(t,e,n){t&&t.addEventListener(e,n,Mx)}function h_(t,e,n){t&&t.canvas&&t.canvas.removeEventListener(e,n,Mx)}function p_(t,e){const n=u_[t.type]||t.type,{x:r,y:o}=ws(t,e);return{type:n,chart:e,native:t,x:r!==void 0?r:null,y:o!==void 0?o:null}}function Wu(t,e){for(const n of t)if(n===e||n.contains(e))return!0}function A_(t,e,n){const r=t.canvas,o=new MutationObserver(i=>{let a=!1;for(const l of i)a=a||Wu(l.addedNodes,r),a=a&&!Wu(l.removedNodes,r);a&&n()});return o.observe(document,{childList:!0,subtree:!0}),o}function g_(t,e,n){const r=t.canvas,o=new MutationObserver(i=>{let a=!1;for(const l of i)a=a||Wu(l.removedNodes,r),a=a&&!Wu(l.addedNodes,r);a&&n()});return o.observe(document,{childList:!0,subtree:!0}),o}const Kl=new Map;let Ox=0;function Rx(){const t=window.devicePixelRatio;t!==Ox&&(Ox=t,Kl.forEach((e,n)=>{n.currentDevicePixelRatio!==t&&e()}))}function m_(t,e){Kl.size||window.addEventListener("resize",Rx),Kl.set(t,e)}function v_(t){Kl.delete(t),Kl.size||window.removeEventListener("resize",Rx)}function y_(t,e,n){const r=t.canvas,o=r&&mp(r);if(!o)return;const i=Uy((l,u)=>{const d=o.clientWidth;n(l,u),d<o.clientWidth&&n()},window),a=new ResizeObserver(l=>{const u=l[0],d=u.contentRect.width,h=u.contentRect.height;d===0&&h===0||i(d,h)});return a.observe(o),m_(t,i),a}function Ep(t,e,n){n&&n.disconnect(),e==="resize"&&v_(t)}function x_(t,e,n){const r=t.canvas,o=Uy(i=>{t.ctx!==null&&n(p_(i,t))},t);return f_(r,e,o),o}class b_ extends Ix{acquireContext(e,n){const r=e&&e.getContext&&e.getContext("2d");return r&&r.canvas===e?(d_(e,n),r):null}releaseContext(e){const n=e.canvas;if(!n[Vu])return!1;const r=n[Vu].initial;["height","width"].forEach(i=>{const a=r[i];Dt(a)?n.removeAttribute(i):n.setAttribute(i,a)});const o=r.style||{};return Object.keys(o).forEach(i=>{n.style[i]=o[i]}),n.width=n.width,delete n[Vu],!0}addEventListener(e,n,r){this.removeEventListener(e,n);const o=e.$proxies||(e.$proxies={}),a={attach:A_,detach:g_,resize:y_}[n]||x_;o[n]=a(e,n,r)}removeEventListener(e,n){const r=e.$proxies||(e.$proxies={}),o=r[n];if(!o)return;({attach:Ep,detach:Ep,resize:Ep}[n]||h_)(e,n,o),r[n]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,n,r,o){return gI(e,n,r,o)}isAttached(e){const n=e&&mp(e);return!!(n&&n.isConnected)}}function w_(t){return!gp()||typeof OffscreenCanvas<"u"&&t instanceof OffscreenCanvas?c_:b_}let xa=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 Mu(this.x)&&Mu(this.y)}getProps(e,n){const r=this.$animations;if(!n||!r)return this;const o={};return e.forEach(i=>{o[i]=r[i]&&r[i].active()?r[i]._to:this[i]}),o}};function k_(t,e){const n=t.options.ticks,r=S_(t),o=Math.min(n.maxTicksLimit||r,r),i=n.major.enabled?C_(e):[],a=i.length,l=i[0],u=i[a-1],d=[];if(a>o)return P_(e,d,i,a/o),d;const h=E_(i,e,o);if(a>0){let p,g;const m=a>1?Math.round((u-l)/(a-1)):null;for(Yu(e,d,h,Dt(m)?0:l-m,l),p=0,g=a-1;p<g;p++)Yu(e,d,h,i[p],i[p+1]);return Yu(e,d,h,u,Dt(m)?e.length:u+m),d}return Yu(e,d,h),d}function S_(t){const e=t.options.offset,n=t._tickSize(),r=t._length/n+(e?0:1),o=t._maxLength/n;return Math.floor(Math.min(r,o))}function E_(t,e,n){const r=D_(t),o=e.length/n;if(!r)return Math.max(o,1);const i=S8(r);for(let a=0,l=i.length-1;a<l;a++){const u=i[a];if(u>o)return u}return Math.max(o,1)}function C_(t){const e=[];let n,r;for(n=0,r=t.length;n<r;n++)t[n].major&&e.push(n);return e}function P_(t,e,n,r){let o=0,i=n[0],a;for(r=Math.ceil(r),a=0;a<t.length;a++)a===i&&(e.push(t[a]),o++,i=n[o*r])}function Yu(t,e,n,r,o){const i=mt(r,0),a=Math.min(mt(o,t.length),t.length);let l=0,u,d,h;for(n=Math.ceil(n),o&&(u=o-r,n=u/Math.floor(u/n)),h=i;h<0;)l++,h=Math.round(i+l*n);for(d=Math.max(i,0);d<a;d++)d===h&&(e.push(t[d]),l++,h=Math.round(i+l*n))}function D_(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 B_=t=>t==="left"?"right":t==="right"?"left":t,Lx=(t,e,n)=>e==="top"||e==="left"?t[e]+n:t[e]-n,Fx=(t,e)=>Math.min(e||t,t);function jx(t,e){const n=[],r=t.length/e,o=t.length;let i=0;for(;i<o;i+=r)n.push(t[Math.floor(i)]);return n}function T_(t,e,n){const r=t.ticks.length,o=Math.min(e,r-1),i=t._startPixel,a=t._endPixel,l=1e-6;let u=t.getPixelForTick(o),d;if(!(n&&(r===1?d=Math.max(u-i,a-u):e===0?d=(t.getPixelForTick(1)-u)/2:d=(u-t.getPixelForTick(o-1))/2,u+=o<e?d:-d,u<i-l||u>a+l)))return u}function I_(t,e){wt(t,n=>{const r=n.gc,o=r.length/2;let i;if(o>e){for(i=0;i<o;++i)delete n.data[r[i]];r.splice(0,o)}})}function Gl(t){return t.drawTicks?t.tickLength:0}function Nx(t,e){if(!t.display)return 0;const n=Bn(t.font,e),r=_r(t.padding);return(on(t.text)?t.text.length:1)*n.lineHeight+r.height}function __(t,e){return ma(t,{scale:e,type:"scale"})}function M_(t,e,n){return ma(t,{tick:n,index:e,type:"tick"})}function O_(t,e,n){let r=ap(t);return(n&&e!=="right"||!n&&e==="right")&&(r=B_(r)),r}function R_(t,e,n,r){const{top:o,left:i,bottom:a,right:l,chart:u}=t,{chartArea:d,scales:h}=u;let p=0,g,m,y;const w=a-o,x=l-i;if(t.isHorizontal()){if(m=Dn(r,i,l),ht(n)){const P=Object.keys(n)[0],_=n[P];y=h[P].getPixelForValue(_)+w-e}else n==="center"?y=(d.bottom+d.top)/2+w-e:y=Lx(t,n,e);g=l-i}else{if(ht(n)){const P=Object.keys(n)[0],_=n[P];m=h[P].getPixelForValue(_)-x+e}else n==="center"?m=(d.left+d.right)/2-x+e:m=Lx(t,n,e);y=Dn(r,a,o),p=n==="left"?-pr:pr}return{titleX:m,titleY:y,maxWidth:g,rotation:p}}class ba extends xa{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:o}=this;return e=wo(e,Number.POSITIVE_INFINITY),n=wo(n,Number.NEGATIVE_INFINITY),r=wo(r,Number.POSITIVE_INFINITY),o=wo(o,Number.NEGATIVE_INFINITY),{min:wo(e,r),max:wo(n,o),minDefined:Ir(e),maxDefined:Ir(n)}}getMinMax(e){let{min:n,max:r,minDefined:o,maxDefined:i}=this.getUserBounds(),a;if(o&&i)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),o||(n=Math.min(n,a.min)),i||(r=Math.max(r,a.max));return n=i&&n>r?r:n,r=o&&n>r?n:r,{min:wo(n,wo(r,n)),max:wo(r,wo(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(){Rt(this.options.beforeUpdate,[this])}update(e,n,r){const{beginAtZero:o,grace:i,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=eI(this,i,o),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const u=l<this.ticks.length;this._convertTicksToLabels(u?jx(this.ticks,l):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),a.display&&(a.autoSkip||a.source==="auto")&&(this.ticks=k_(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(){Rt(this.options.afterUpdate,[this])}beforeSetDimensions(){Rt(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(){Rt(this.options.afterSetDimensions,[this])}_callHooks(e){this.chart.notifyPlugins(e,this.getContext()),Rt(this.options[e],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){Rt(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(e){const n=this.options.ticks;let r,o,i;for(r=0,o=e.length;r<o;r++)i=e[r],i.label=Rt(n.callback,[i.value,r,e],this)}afterTickToLabelConversion(){Rt(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){Rt(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const e=this.options,n=e.ticks,r=Fx(this.ticks.length,e.ticks.maxTicksLimit),o=n.minRotation||0,i=n.maxRotation;let a=o,l,u,d;if(!this._isVisible()||!n.display||o>=i||r<=1||!this.isHorizontal()){this.labelRotation=o;return}const h=this._getLabelSizes(),p=h.widest.width,g=h.highest.height,m=Yr(this.chart.width-p,0,this.maxWidth);l=e.offset?this.maxWidth/r:m/(r-1),p+6>l&&(l=m/(r-(e.offset?.5:1)),u=this.maxHeight-Gl(e.grid)-n.padding-Nx(e.title,this.chart.options.font),d=Math.sqrt(p*p+g*g),a=D8(Math.min(Math.asin(Yr((h.highest.height+6)/l,-1,1)),Math.asin(Yr(u/d,-1,1))-Math.asin(Yr(g/d,-1,1)))),a=Math.max(o,Math.min(i,a))),this.labelRotation=a}afterCalculateLabelRotation(){Rt(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){Rt(this.options.beforeFit,[this])}fit(){const e={width:0,height:0},{chart:n,options:{ticks:r,title:o,grid:i}}=this,a=this._isVisible(),l=this.isHorizontal();if(a){const u=Nx(o,n.options.font);if(l?(e.width=this.maxWidth,e.height=Gl(i)+u):(e.height=this.maxHeight,e.width=Gl(i)+u),r.display&&this.ticks.length){const{first:d,last:h,widest:p,highest:g}=this._getLabelSizes(),m=r.padding*2,y=ko(this.labelRotation),w=Math.cos(y),x=Math.sin(y);if(l){const P=r.mirror?0:x*p.width+w*g.height;e.height=Math.min(this.maxHeight,e.height+P+m)}else{const P=r.mirror?0:w*p.width+x*g.height;e.width=Math.min(this.maxWidth,e.width+P+m)}this._calculatePadding(d,h,x,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,o){const{ticks:{align:i,padding:a},position:l}=this.options,u=this.labelRotation!==0,d=l!=="top"&&this.axis==="x";if(this.isHorizontal()){const h=this.getPixelForTick(0)-this.left,p=this.right-this.getPixelForTick(this.ticks.length-1);let g=0,m=0;u?d?(g=o*e.width,m=r*n.height):(g=r*e.height,m=o*n.width):i==="start"?m=n.width:i==="end"?g=e.width:i!=="inner"&&(g=e.width/2,m=n.width/2),this.paddingLeft=Math.max((g-h+a)*this.width/(this.width-h),0),this.paddingRight=Math.max((m-p+a)*this.width/(this.width-p),0)}else{let h=n.height/2,p=e.height/2;i==="start"?(h=0,p=e.height):i==="end"&&(h=n.height,p=0),this.paddingTop=h+a,this.paddingBottom=p+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(){Rt(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++)Dt(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=jx(r,n)),this._labelSizes=e=this._computeLabelSizes(r,r.length,this.options.ticks.maxTicksLimit)}return e}_computeLabelSizes(e,n,r){const{ctx:o,_longestTextCache:i}=this,a=[],l=[],u=Math.floor(n/Fx(n,r));let d=0,h=0,p,g,m,y,w,x,P,_,D,C,N;for(p=0;p<n;p+=u){if(y=e[p].label,w=this._resolveTickFontOptions(p),o.font=x=w.string,P=i[x]=i[x]||{data:{},gc:[]},_=w.lineHeight,D=C=0,!Dt(y)&&!on(y))D=Xy(o,P.data,P.gc,D,y),C=_;else if(on(y))for(g=0,m=y.length;g<m;++g)N=y[g],!Dt(N)&&!on(N)&&(D=Xy(o,P.data,P.gc,D,N),C+=_);a.push(D),l.push(C),d=Math.max(D,d),h=Math.max(C,h)}I_(i,n);const R=a.indexOf(d),z=l.indexOf(h),W=K=>({width:a[K]||0,height:l[K]||0});return{first:W(0),last:W(n-1),widest:W(R),highest:W(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 I8(this._alignToPixels?xs(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=M_(this.getContext(),e,r))}return this.$context||(this.$context=__(this.chart.getContext(),this))}_tickSize(){const e=this.options.ticks,n=ko(this.labelRotation),r=Math.abs(Math.cos(n)),o=Math.abs(Math.sin(n)),i=this._getLabelSizes(),a=e.autoSkipPadding||0,l=i?i.widest.width+a:0,u=i?i.highest.height+a:0;return this.isHorizontal()?u*r>l*o?l/r:u/o:u*o<l*r?u/r:l/o}_isVisible(){const e=this.options.display;return e!=="auto"?!!e:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(e){const n=this.axis,r=this.chart,o=this.options,{grid:i,position:a,border:l}=o,u=i.offset,d=this.isHorizontal(),p=this.ticks.length+(u?1:0),g=Gl(i),m=[],y=l.setContext(this.getContext()),w=y.display?y.width:0,x=w/2,P=function(fe){return xs(r,fe,w)};let _,D,C,N,R,z,W,K,q,J,V,Z;if(a==="top")_=P(this.bottom),z=this.bottom-g,K=_-x,J=P(e.top)+x,Z=e.bottom;else if(a==="bottom")_=P(this.top),J=e.top,Z=P(e.bottom)-x,z=_+x,K=this.top+g;else if(a==="left")_=P(this.right),R=this.right-g,W=_-x,q=P(e.left)+x,V=e.right;else if(a==="right")_=P(this.left),q=e.left,V=P(e.right)-x,R=_+x,W=this.left+g;else if(n==="x"){if(a==="center")_=P((e.top+e.bottom)/2+.5);else if(ht(a)){const fe=Object.keys(a)[0],oe=a[fe];_=P(this.chart.scales[fe].getPixelForValue(oe))}J=e.top,Z=e.bottom,z=_+x,K=z+g}else if(n==="y"){if(a==="center")_=P((e.left+e.right)/2);else if(ht(a)){const fe=Object.keys(a)[0],oe=a[fe];_=P(this.chart.scales[fe].getPixelForValue(oe))}R=_-x,W=R-g,q=e.left,V=e.right}const ce=mt(o.ticks.maxTicksLimit,p),ne=Math.max(1,Math.ceil(p/ce));for(D=0;D<p;D+=ne){const fe=this.getContext(D),oe=i.setContext(fe),G=l.setContext(fe),j=oe.lineWidth,pe=oe.color,I=G.dash||[],$=G.dashOffset,he=oe.tickWidth,de=oe.tickColor,ve=oe.tickBorderDash||[],ye=oe.tickBorderDashOffset;C=T_(this,D,u),C!==void 0&&(N=xs(r,C,j),d?R=W=q=V=N:z=K=J=Z=N,m.push({tx1:R,ty1:z,tx2:W,ty2:K,x1:q,y1:J,x2:V,y2:Z,width:j,color:pe,borderDash:I,borderDashOffset:$,tickWidth:he,tickColor:de,tickBorderDash:ve,tickBorderDashOffset:ye}))}return this._ticksLength=p,this._borderValue=_,m}_computeLabelItems(e){const n=this.axis,r=this.options,{position:o,ticks:i}=r,a=this.isHorizontal(),l=this.ticks,{align:u,crossAlign:d,padding:h,mirror:p}=i,g=Gl(r.grid),m=g+h,y=p?-h:m,w=-ko(this.labelRotation),x=[];let P,_,D,C,N,R,z,W,K,q,J,V,Z="middle";if(o==="top")R=this.bottom-y,z=this._getXAxisLabelAlignment();else if(o==="bottom")R=this.top+y,z=this._getXAxisLabelAlignment();else if(o==="left"){const ne=this._getYAxisLabelAlignment(g);z=ne.textAlign,N=ne.x}else if(o==="right"){const ne=this._getYAxisLabelAlignment(g);z=ne.textAlign,N=ne.x}else if(n==="x"){if(o==="center")R=(e.top+e.bottom)/2+m;else if(ht(o)){const ne=Object.keys(o)[0],fe=o[ne];R=this.chart.scales[ne].getPixelForValue(fe)+m}z=this._getXAxisLabelAlignment()}else if(n==="y"){if(o==="center")N=(e.left+e.right)/2-m;else if(ht(o)){const ne=Object.keys(o)[0],fe=o[ne];N=this.chart.scales[ne].getPixelForValue(fe)}z=this._getYAxisLabelAlignment(g).textAlign}n==="y"&&(u==="start"?Z="top":u==="end"&&(Z="bottom"));const ce=this._getLabelSizes();for(P=0,_=l.length;P<_;++P){D=l[P],C=D.label;const ne=i.setContext(this.getContext(P));W=this.getPixelForTick(P)+i.labelOffset,K=this._resolveTickFontOptions(P),q=K.lineHeight,J=on(C)?C.length:1;const fe=J/2,oe=ne.color,G=ne.textStrokeColor,j=ne.textStrokeWidth;let pe=z;a?(N=W,z==="inner"&&(P===_-1?pe=this.options.reverse?"left":"right":P===0?pe=this.options.reverse?"right":"left":pe="center"),o==="top"?d==="near"||w!==0?V=-J*q+q/2:d==="center"?V=-ce.highest.height/2-fe*q+q:V=-ce.highest.height+q/2:d==="near"||w!==0?V=q/2:d==="center"?V=ce.highest.height/2-fe*q:V=ce.highest.height-J*q,p&&(V*=-1),w!==0&&!ne.showLabelBackdrop&&(N+=q/2*Math.sin(w))):(R=W,V=(1-J)*q/2);let I;if(ne.showLabelBackdrop){const $=_r(ne.backdropPadding),he=ce.heights[P],de=ce.widths[P];let ve=V-$.top,ye=0-$.left;switch(Z){case"middle":ve-=he/2;break;case"bottom":ve-=he;break}switch(z){case"center":ye-=de/2;break;case"right":ye-=de;break;case"inner":P===_-1?ye-=de:P>0&&(ye-=de/2);break}I={left:ye,top:ve,width:de+$.width,height:he+$.height,color:ne.backdropColor}}x.push({label:C,font:K,textOffset:V,options:{rotation:w,color:oe,strokeColor:G,strokeWidth:j,textAlign:pe,textBaseline:Z,translation:[N,R],backdrop:I}})}return x}_getXAxisLabelAlignment(){const{position:e,ticks:n}=this.options;if(-ko(this.labelRotation))return e==="top"?"left":"right";let o="center";return n.align==="start"?o="left":n.align==="end"?o="right":n.align==="inner"&&(o="inner"),o}_getYAxisLabelAlignment(e){const{position:n,ticks:{crossAlign:r,mirror:o,padding:i}}=this.options,a=this._getLabelSizes(),l=e+i,u=a.widest.width;let d,h;return n==="left"?o?(h=this.right+i,r==="near"?d="left":r==="center"?(d="center",h+=u/2):(d="right",h+=u)):(h=this.right-l,r==="near"?d="right":r==="center"?(d="center",h-=u/2):(d="left",h=this.left)):n==="right"?o?(h=this.left+i,r==="near"?d="right":r==="center"?(d="center",h-=u/2):(d="left",h-=u)):(h=this.left+l,r==="near"?d="left":r==="center"?(d="center",h+=u/2):(d="right",h=this.right)):d="right",{textAlign:d,x:h}}_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:o,width:i,height:a}=this;n&&(e.save(),e.fillStyle=n,e.fillRect(r,o,i,a),e.restore())}getLineWidthForValue(e){const n=this.options.grid;if(!this._isVisible()||!n.display)return 0;const o=this.ticks.findIndex(i=>i.value===e);return o>=0?n.setContext(this.getContext(o)).lineWidth:0}drawGrid(e){const n=this.options.grid,r=this.ctx,o=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(e));let i,a;const l=(u,d,h)=>{!h.width||!h.color||(r.save(),r.lineWidth=h.width,r.strokeStyle=h.color,r.setLineDash(h.borderDash||[]),r.lineDashOffset=h.borderDashOffset,r.beginPath(),r.moveTo(u.x,u.y),r.lineTo(d.x,d.y),r.stroke(),r.restore())};if(n.display)for(i=0,a=o.length;i<a;++i){const u=o[i];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:o}}=this,i=r.setContext(this.getContext()),a=r.display?i.width:0;if(!a)return;const l=o.setContext(this.getContext(0)).lineWidth,u=this._borderValue;let d,h,p,g;this.isHorizontal()?(d=xs(e,this.left,a)-a/2,h=xs(e,this.right,l)+l/2,p=g=u):(p=xs(e,this.top,a)-a/2,g=xs(e,this.bottom,l)+l/2,d=h=u),n.save(),n.lineWidth=i.width,n.strokeStyle=i.color,n.beginPath(),n.moveTo(d,p),n.lineTo(h,g),n.stroke(),n.restore()}drawLabels(e){if(!this.options.ticks.display)return;const r=this.ctx,o=this._computeLabelArea();o&&dp(r,o);const i=this.getLabelItems(e);for(const a of i){const l=a.options,u=a.font,d=a.label,h=a.textOffset;Ul(r,d,0,h,u,l)}o&&fp(r)}drawTitle(){const{ctx:e,options:{position:n,title:r,reverse:o}}=this;if(!r.display)return;const i=Bn(r.font),a=_r(r.padding),l=r.align;let u=i.lineHeight/2;n==="bottom"||n==="center"||ht(n)?(u+=a.bottom,on(r.text)&&(u+=i.lineHeight*(r.text.length-1))):u+=a.top;const{titleX:d,titleY:h,maxWidth:p,rotation:g}=R_(this,u,n,l);Ul(e,r.text,0,0,i,{color:r.color,maxWidth:p,rotation:g,textAlign:O_(l,n,o),textBaseline:"middle",translation:[d,h]})}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=mt(e.grid&&e.grid.z,-1),o=mt(e.border&&e.border.z,0);return!this._isVisible()||this.draw!==ba.prototype.draw?[{z:n,draw:i=>{this.draw(i)}}]:[{z:r,draw:i=>{this.drawBackground(),this.drawGrid(i),this.drawTitle()}},{z:o,draw:()=>{this.drawBorder()}},{z:n,draw:i=>{this.drawLabels(i)}}]}getMatchingVisibleMetas(e){const n=this.chart.getSortedVisibleDatasetMetas(),r=this.axis+"AxisID",o=[];let i,a;for(i=0,a=n.length;i<a;++i){const l=n[i];l[r]===this.id&&(!e||l.type===e)&&o.push(l)}return o}_resolveTickFontOptions(e){const n=this.options.ticks.setContext(this.getContext(e));return Bn(n.font)}_maxDigits(){const e=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/e}}class qu{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;j_(n)&&(r=this.register(n));const o=this.items,i=e.id,a=this.scope+"."+i;if(!i)throw new Error("class does not have id: "+e);return i in o||(o[i]=e,L_(e,a,r),this.override&&Vt.override(e.id,e.overrides)),a}get(e){return this.items[e]}unregister(e){const n=this.items,r=e.id,o=this.scope;r in n&&delete n[r],o&&r in Vt[o]&&(delete Vt[o][r],this.override&&delete ys[r])}}function L_(t,e,n){const r=jl(Object.create(null),[n?Vt.get(n):{},Vt.get(e),t.defaults]);Vt.set(e,r),t.defaultRoutes&&F_(e,t.defaultRoutes),t.descriptors&&Vt.describe(e,t.descriptors)}function F_(t,e){Object.keys(e).forEach(n=>{const r=n.split("."),o=r.pop(),i=[t].concat(r).join("."),a=e[n].split("."),l=a.pop(),u=a.join(".");Vt.route(i,o,u,l)})}function j_(t){return"id"in t&&"defaults"in t}class N_{constructor(){this.controllers=new qu(Qu,"datasets",!0),this.elements=new qu(xa,"elements"),this.plugins=new qu(Object,"plugins"),this.scales=new qu(ba,"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(o=>{const i=r||this._getRegistryForType(o);r||i.isForType(o)||i===this.plugins&&o.id?this._exec(e,i,o):wt(o,a=>{const l=r||this._getRegistryForType(a);this._exec(e,l,a)})})}_exec(e,n,r){const o=rp(e);Rt(r["before"+o],[],r),n[e](r),Rt(r["after"+o],[],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 o=n.get(e);if(o===void 0)throw new Error('"'+e+'" is not a registered '+r+".");return o}}var So=new N_;class z_{constructor(){this._init=void 0}notify(e,n,r,o){if(n==="beforeInit"&&(this._init=this._createDescriptors(e,!0),this._notify(this._init,e,"install")),this._init===void 0)return;const i=o?this._descriptors(e).filter(o):this._descriptors(e),a=this._notify(i,e,n,r);return n==="afterDestroy"&&(this._notify(i,e,"stop"),this._notify(this._init,e,"uninstall"),this._init=void 0),a}_notify(e,n,r,o){o=o||{};for(const i of e){const a=i.plugin,l=a[r],u=[n,o,i.options];if(Rt(l,u,a)===!1&&o.cancelable)return!1}return!0}invalidate(){Dt(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,o=mt(r.options&&r.options.plugins,{}),i=Q_(r);return o===!1&&!n?[]:U_(e,i,o,n)}_notifyStateChanges(e){const n=this._oldCache||[],r=this._cache,o=(i,a)=>i.filter(l=>!a.some(u=>l.plugin.id===u.plugin.id));this._notify(o(n,r),e,"stop"),this._notify(o(r,n),e,"start")}}function Q_(t){const e={},n=[],r=Object.keys(So.plugins.items);for(let i=0;i<r.length;i++)n.push(So.getPlugin(r[i]));const o=t.plugins||[];for(let i=0;i<o.length;i++){const a=o[i];n.indexOf(a)===-1&&(n.push(a),e[a.id]=!0)}return{plugins:n,localIds:e}}function H_(t,e){return!e&&t===!1?null:t===!0?{}:t}function U_(t,{plugins:e,localIds:n},r,o){const i=[],a=t.getContext();for(const l of e){const u=l.id,d=H_(r[u],o);d!==null&&i.push({plugin:l,options:V_(t.config,{plugin:l,local:n[u]},d,a)})}return i}function V_(t,{plugin:e,local:n},r,o){const i=t.pluginScopeKeys(e),a=t.getOptionScopes(r,i);return n&&e.defaults&&a.push(e.defaults),t.createResolver(a,o,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function Cp(t,e){const n=Vt.datasets[t]||{};return((e.datasets||{})[t]||{}).indexAxis||e.indexAxis||n.indexAxis||"x"}function W_(t,e){let n=t;return t==="_index_"?n=e:t==="_value_"&&(n=e==="x"?"y":"x"),n}function Y_(t,e){return t===e?"_index_":"_value_"}function zx(t){if(t==="x"||t==="y"||t==="r")return t}function q_(t){if(t==="top"||t==="bottom")return"x";if(t==="left"||t==="right")return"y"}function Pp(t,...e){if(zx(t))return t;for(const n of e){const r=n.axis||q_(n.position)||t.length>1&&zx(t[0].toLowerCase());if(r)return r}throw new Error(`Cannot determine type of '${t}' axis. Please provide 'axis' or 'position' option.`)}function Qx(t,e,n){if(n[e+"AxisID"]===t)return{axis:e}}function K_(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 Qx(t,"x",n[0])||Qx(t,"y",n[0])}return{}}function G_(t,e){const n=ys[t.type]||{scales:{}},r=e.scales||{},o=Cp(t.type,e),i=Object.create(null);return Object.keys(r).forEach(a=>{const l=r[a];if(!ht(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=Pp(a,l,K_(a,t),Vt.scales[l.type]),d=Y_(u,o),h=n.scales||{};i[a]=Nl(Object.create(null),[{axis:u},l,h[u],h[d]])}),t.data.datasets.forEach(a=>{const l=a.type||t.type,u=a.indexAxis||Cp(l,e),h=(ys[l]||{}).scales||{};Object.keys(h).forEach(p=>{const g=W_(p,u),m=a[g+"AxisID"]||g;i[m]=i[m]||Object.create(null),Nl(i[m],[{axis:g},r[m],h[p]])})}),Object.keys(i).forEach(a=>{const l=i[a];Nl(l,[Vt.scales[l.type],Vt.scale])}),i}function Hx(t){const e=t.options||(t.options={});e.plugins=mt(e.plugins,{}),e.scales=G_(t,e)}function Ux(t){return t=t||{},t.datasets=t.datasets||[],t.labels=t.labels||[],t}function X_(t){return t=t||{},t.data=Ux(t.data),Hx(t),t}const Vx=new Map,Wx=new Set;function Ku(t,e){let n=Vx.get(t);return n||(n=e(),Vx.set(t,n),Wx.add(n)),n}const Xl=(t,e,n)=>{const r=Ii(e,n);r!==void 0&&t.add(r)};let J_=class{constructor(e){this._config=X_(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=Ux(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(),Hx(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return Ku(e,()=>[[`datasets.${e}`,""]])}datasetAnimationScopeKeys(e,n){return Ku(`${e}.transition.${n}`,()=>[[`datasets.${e}.transitions.${n}`,`transitions.${n}`],[`datasets.${e}`,""]])}datasetElementScopeKeys(e,n){return Ku(`${e}-${n}`,()=>[[`datasets.${e}.elements.${n}`,`datasets.${e}`,`elements.${n}`,""]])}pluginScopeKeys(e){const n=e.id,r=this.type;return Ku(`${r}-plugin-${n}`,()=>[[`plugins.${n}`,...e.additionalOptionScopes||[]]])}_cachedScopes(e,n){const r=this._scopeCache;let o=r.get(e);return(!o||n)&&(o=new Map,r.set(e,o)),o}getOptionScopes(e,n,r){const{options:o,type:i}=this,a=this._cachedScopes(e,r),l=a.get(n);if(l)return l;const u=new Set;n.forEach(h=>{e&&(u.add(e),h.forEach(p=>Xl(u,e,p))),h.forEach(p=>Xl(u,o,p)),h.forEach(p=>Xl(u,ys[i]||{},p)),h.forEach(p=>Xl(u,Vt,p)),h.forEach(p=>Xl(u,cp,p))});const d=Array.from(u);return d.length===0&&d.push(Object.create(null)),Wx.has(n)&&a.set(n,d),d}chartOptionScopes(){const{options:e,type:n}=this;return[e,ys[n]||{},Vt.datasets[n]||{},{type:n},Vt,cp]}resolveNamedOptions(e,n,r,o=[""]){const i={$shared:!0},{resolver:a,subPrefixes:l}=Yx(this._resolverCache,e,o);let u=a;if($_(a,n)){i.$shared=!1,r=_i(r)?r():r;const d=this.createResolver(e,r,l);u=va(a,r,d)}for(const d of n)i[d]=u[d];return i}createResolver(e,n,r=[""],o){const{resolver:i}=Yx(this._resolverCache,e,r);return ht(n)?va(i,n,void 0,o):i}};function Yx(t,e,n){let r=t.get(e);r||(r=new Map,t.set(e,r));const o=n.join();let i=r.get(o);return i||(i={resolver:hp(e,n),subPrefixes:n.filter(l=>!l.toLowerCase().includes("hover"))},r.set(o,i)),i}const Z_=t=>ht(t)&&Object.getOwnPropertyNames(t).some(e=>_i(t[e]));function $_(t,e){const{isScriptable:n,isIndexable:r}=rx(t);for(const o of e){const i=n(o),a=r(o),l=(a||i)&&t[o];if(i&&(_i(l)||Z_(l))||a&&on(l))return!0}return!1}var e5="4.5.1";const t5=["top","bottom","left","right","chartArea"];function qx(t,e){return t==="top"||t==="bottom"||t5.indexOf(t)===-1&&e==="x"}function Kx(t,e){return function(n,r){return n[t]===r[t]?n[e]-r[e]:n[t]-r[t]}}function Gx(t){const e=t.chart,n=e.options.animation;e.notifyPlugins("afterRender"),Rt(n&&n.onComplete,[t],e)}function n5(t){const e=t.chart,n=e.options.animation;Rt(n&&n.onProgress,[t],e)}function Xx(t){return gp()&&typeof t=="string"?t=document.getElementById(t):t&&t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t}const Gu={},Jx=t=>{const e=Xx(t);return Object.values(Gu).filter(n=>n.canvas===e).pop()};function r5(t,e,n){const r=Object.keys(t);for(const o of r){const i=+o;if(i>=e){const a=t[o];delete t[o],(n>0||i>e)&&(t[i+n]=a)}}}function o5(t,e,n,r){return!n||t.type==="mouseout"?null:r?e:t}let Dp=class{static defaults=Vt;static instances=Gu;static overrides=ys;static registry=So;static version=e5;static getChart=Jx;static register(...e){So.add(...e),Zx()}static unregister(...e){So.remove(...e),Zx()}constructor(e,n){const r=this.config=new J_(n),o=Xx(e),i=Jx(o);if(i)throw new Error("Canvas is already in use. Chart with ID '"+i.id+"' must be destroyed before the canvas with ID '"+i.canvas.id+"' can be reused.");const a=r.createResolver(r.chartOptionScopes(),this.getContext());this.platform=new(r.platform||w_(o)),this.platform.updateConfig(r);const l=this.platform.acquireContext(o,a.aspectRatio),u=l&&l.canvas,d=u&&u.height,h=u&&u.width;if(this.id=g8(),this.ctx=l,this.canvas=u,this.width=h,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 z_,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=R8(p=>this.update(p),a.resizeDelay||0),this._dataChanges=[],Gu[this.id]=this,!l||!u){console.error("Failed to create chart: can't acquire context from the given item");return}$o.listen(this,"complete",Gx),$o.listen(this,"progress",n5),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:e,maintainAspectRatio:n},width:r,height:o,_aspectRatio:i}=this;return Dt(e)?n&&i?i:o?r/o: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 So}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():cx(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return Jy(this.canvas,this.ctx),this}stop(){return $o.stop(this),this}resize(e,n){$o.running(this)?this._resizeBeforeDraw={width:e,height:n}:this._resize(e,n)}_resize(e,n){const r=this.options,o=this.canvas,i=r.maintainAspectRatio&&this.aspectRatio,a=this.platform.getMaximumSize(o,e,n,i),l=r.devicePixelRatio||this.platform.getDevicePixelRatio(),u=this.width?"resize":"attach";this.width=a.width,this.height=a.height,this._aspectRatio=this.aspectRatio,cx(this,l,!0)&&(this.notifyPlugins("resize",{size:a}),Rt(r.onResize,[this,a],this),this.attached&&this._doResize(u)&&this.render())}ensureScalesHaveIDs(){const n=this.options.scales||{};wt(n,(r,o)=>{r.id=o})}buildOrUpdateScales(){const e=this.options,n=e.scales,r=this.scales,o=Object.keys(r).reduce((a,l)=>(a[l]=!1,a),{});let i=[];n&&(i=i.concat(Object.keys(n).map(a=>{const l=n[a],u=Pp(a,l),d=u==="r",h=u==="x";return{options:l,dposition:d?"chartArea":h?"bottom":"left",dtype:d?"radialLinear":h?"category":"linear"}}))),wt(i,a=>{const l=a.options,u=l.id,d=Pp(u,l),h=mt(l.type,a.dtype);(l.position===void 0||qx(l.position,d)!==qx(a.dposition))&&(l.position=a.dposition),o[u]=!0;let p=null;if(u in r&&r[u].type===h)p=r[u];else{const g=So.getScale(h);p=new g({id:u,type:h,ctx:this.ctx,chart:this}),r[p.id]=p}p.init(l,e)}),wt(o,(a,l)=>{a||delete r[l]}),wt(r,a=>{Mr.configure(this,a,a.options),Mr.addBox(this,a)})}_updateMetasets(){const e=this._metasets,n=this.data.datasets.length,r=e.length;if(e.sort((o,i)=>o.index-i.index),r>n){for(let o=n;o<r;++o)this._destroyDatasetMeta(o);e.splice(n,r-n)}this._sortedMetasets=e.slice(0).sort(Kx("order","index"))}_removeUnreferencedMetasets(){const{_metasets:e,data:{datasets:n}}=this;e.length>n.length&&delete this._stacks,e.forEach((r,o)=>{n.filter(i=>i===r._dataset).length===0&&this._destroyDatasetMeta(o)})}buildOrUpdateControllers(){const e=[],n=this.data.datasets;let r,o;for(this._removeUnreferencedMetasets(),r=0,o=n.length;r<o;r++){const i=n[r];let a=this.getDatasetMeta(r);const l=i.type||this.config.type;if(a.type&&a.type!==l&&(this._destroyDatasetMeta(r),a=this.getDatasetMeta(r)),a.type=l,a.indexAxis=i.indexAxis||Cp(l,this.options),a.order=i.order||0,a.index=r,a.label=""+i.label,a.visible=this.isDatasetVisible(r),a.controller)a.controller.updateIndex(r),a.controller.linkScales();else{const u=So.getController(l),{datasetElementType:d,dataElementType:h}=Vt.datasets[l];Object.assign(u,{dataElementType:So.getElement(h),datasetElementType:d&&So.getElement(d)}),a.controller=new u(this,r),e.push(a.controller)}}return this._updateMetasets(),e}_resetElements(){wt(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()),o=this._animationsDisabled=!r.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:e,cancelable:!0})===!1)return;const i=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let a=0;for(let d=0,h=this.data.datasets.length;d<h;d++){const{controller:p}=this.getDatasetMeta(d),g=!o&&i.indexOf(p)===-1;p.buildOrUpdateElements(g),a=Math.max(+p.getMaxOverflow(),a)}a=this._minPadding=r.layout.autoPadding?a:0,this._updateLayout(a),o||wt(i,d=>{d.reset()}),this._updateDatasets(e),this.notifyPlugins("afterUpdate",{mode:e}),this._layers.sort(Kx("z","_idx"));const{_active:l,_lastEvent:u}=this;u?this._eventHandler(u,!0):l.length&&this._updateHoverStyles(l,l,!0),this.render()}_updateScales(){wt(this.scales,e=>{Mr.removeBox(this,e)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const e=this.options,n=new Set(Object.keys(this._listeners)),r=new Set(e.events);(!Oy(n,r)||!!this._responsiveListeners!==e.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:e}=this,n=this._getUniformDataChanges()||[];for(const{method:r,start:o,count:i}of n){const a=r==="_removeElements"?-i:i;r5(e,o,a)}}_getUniformDataChanges(){const e=this._dataChanges;if(!e||!e.length)return;this._dataChanges=[];const n=this.data.datasets.length,r=i=>new Set(e.filter(a=>a[0]===i).map((a,l)=>l+","+a.splice(1).join(","))),o=r(0);for(let i=1;i<n;i++)if(!Oy(o,r(i)))return;return Array.from(o).map(i=>i.split(",")).map(i=>({method:i[1],start:+i[2],count:+i[3]}))}_updateLayout(e){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;Mr.update(this,this.width,this.height,e);const n=this.chartArea,r=n.width<=0||n.height<=0;this._layers=[],wt(this.boxes,o=>{r&&o.position==="chartArea"||(o.configure&&o.configure(),this._layers.push(...o._layers()))},this),this._layers.forEach((o,i)=>{o._idx=i}),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,_i(e)?e({datasetIndex:n}):e);this.notifyPlugins("afterDatasetsUpdate",{mode:e})}}_updateDataset(e,n){const r=this.getDatasetMeta(e),o={meta:r,index:e,mode:n,cancelable:!0};this.notifyPlugins("beforeDatasetUpdate",o)!==!1&&(r.controller._update(n),o.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",o))}render(){this.notifyPlugins("beforeRender",{cancelable:!0})!==!1&&($o.has(this)?this.attached&&!$o.running(this)&&$o.start(this):(this.draw(),Gx({chart:this})))}draw(){let e;if(this._resizeBeforeDraw){const{width:r,height:o}=this._resizeBeforeDraw;this._resizeBeforeDraw=null,this._resize(r,o)}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 o,i;for(o=0,i=n.length;o<i;++o){const a=n[o];(!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},o=bI(this,e);this.notifyPlugins("beforeDatasetDraw",r)!==!1&&(o&&dp(n,o),e.controller.draw(),o&&fp(n),r.cancelable=!1,this.notifyPlugins("afterDatasetDraw",r))}isPointInArea(e){return ex(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,n,r,o){const i=t_.modes[n];return typeof i=="function"?i(this,e,r,o):[]}getDatasetMeta(e){const n=this.data.datasets[e],r=this._metasets;let o=r.filter(i=>i&&i._dataset===n).pop();return o||(o={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:n&&n.order||0,index:e,_dataset:n,_parsed:[],_sorted:!1},r.push(o)),o}getContext(){return this.$context||(this.$context=ma(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 o=r?"show":"hide",i=this.getDatasetMeta(e),a=i.controller._resolveAnimations(void 0,o);zl(n)?(i.data[n].hidden=!r,this.update()):(this.setDatasetVisibility(e,r),a.update(i,{visible:r}),this.update(l=>l.datasetIndex===e?o: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(),$o.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(),Jy(e,n),this.platform.releaseContext(n),this.canvas=null,this.ctx=null),delete Gu[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=(i,a)=>{n.addEventListener(this,i,a),e[i]=a},o=(i,a,l)=>{i.offsetX=a,i.offsetY=l,this._eventHandler(i)};wt(this.options.events,i=>r(i,o))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const e=this._responsiveListeners,n=this.platform,r=(u,d)=>{n.addEventListener(this,u,d),e[u]=d},o=(u,d)=>{e[u]&&(n.removeEventListener(this,u,d),delete e[u])},i=(u,d)=>{this.canvas&&this.resize(u,d)};let a;const l=()=>{o("attach",l),this.attached=!0,this.resize(),r("resize",i),r("detach",a)};a=()=>{this.attached=!1,o("resize",i),this._stop(),this._resize(0,0),r("attach",l)},n.isAttached(this.canvas)?l():a()}unbindEvents(){wt(this._listeners,(e,n)=>{this.platform.removeEventListener(this,n,e)}),this._listeners={},wt(this._responsiveListeners,(e,n)=>{this.platform.removeEventListener(this,n,e)}),this._responsiveListeners=void 0}updateHoverStyle(e,n,r){const o=r?"set":"remove";let i,a,l,u;for(n==="dataset"&&(i=this.getDatasetMeta(e[0].datasetIndex),i.controller["_"+o+"DatasetHoverStyle"]()),l=0,u=e.length;l<u;++l){a=e[l];const d=a&&this.getDatasetMeta(a.datasetIndex).controller;d&&d[o+"HoverStyle"](a.element,a.datasetIndex,a.index)}}getActiveElements(){return this._active||[]}setActiveElements(e){const n=this._active||[],r=e.map(({datasetIndex:i,index:a})=>{const l=this.getDatasetMeta(i);if(!l)throw new Error("No dataset found at index "+i);return{datasetIndex:i,element:l.data[a],index:a}});!Bu(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 o=this.options.hover,i=(u,d)=>u.filter(h=>!d.some(p=>h.datasetIndex===p.datasetIndex&&h.index===p.index)),a=i(n,e),l=r?e:i(e,n);a.length&&this.updateHoverStyle(a,o.mode,!1),l.length&&o.mode&&this.updateHoverStyle(l,o.mode,!0)}_eventHandler(e,n){const r={event:e,replay:n,cancelable:!0,inChartArea:this.isPointInArea(e)},o=a=>(a.options.events||this.options.events).includes(e.native.type);if(this.notifyPlugins("beforeEvent",r,o)===!1)return;const i=this._handleEvent(e,n,r.inChartArea);return r.cancelable=!1,this.notifyPlugins("afterEvent",r,o),(i||r.changed)&&this.render(),this}_handleEvent(e,n,r){const{_active:o=[],options:i}=this,a=n,l=this._getActiveElements(e,o,r,a),u=w8(e),d=o5(e,this._lastEvent,r,u);r&&(this._lastEvent=null,Rt(i.onHover,[e,l,this],this),u&&Rt(i.onClick,[e,l,this],this));const h=!Bu(l,o);return(h||n)&&(this._active=l,this._updateHoverStyles(l,o,n)),this._lastEvent=d,h}_getActiveElements(e,n,r,o){if(e.type==="mouseout")return[];if(!r)return n;const i=this.options.hover;return this.getElementsAtEventForMode(e,i.mode,i,o)}};function Zx(){return wt(Dp.instances,t=>t._plugins.invalidate())}function $x(t,e){const{x:n,y:r,base:o,width:i,height:a}=t.getProps(["x","y","base","width","height"],e);let l,u,d,h,p;return t.horizontal?(p=a/2,l=Math.min(n,o),u=Math.max(n,o),d=r-p,h=r+p):(p=i/2,l=n-p,u=n+p,d=Math.min(r,o),h=Math.max(r,o)),{left:l,top:d,right:u,bottom:h}}function Ri(t,e,n,r){return t?0:Yr(e,n,r)}function i5(t,e,n){const r=t.options.borderWidth,o=t.borderSkipped,i=nx(r);return{t:Ri(o.top,i.top,0,n),r:Ri(o.right,i.right,0,e),b:Ri(o.bottom,i.bottom,0,n),l:Ri(o.left,i.left,0,e)}}function s5(t,e,n){const{enableBorderRadius:r}=t.getProps(["enableBorderRadius"]),o=t.options.borderRadius,i=ga(o),a=Math.min(e,n),l=t.borderSkipped,u=r||ht(o);return{topLeft:Ri(!u||l.top||l.left,i.topLeft,0,a),topRight:Ri(!u||l.top||l.right,i.topRight,0,a),bottomLeft:Ri(!u||l.bottom||l.left,i.bottomLeft,0,a),bottomRight:Ri(!u||l.bottom||l.right,i.bottomRight,0,a)}}function a5(t){const e=$x(t),n=e.right-e.left,r=e.bottom-e.top,o=i5(t,n/2,r/2),i=s5(t,n/2,r/2);return{outer:{x:e.left,y:e.top,w:n,h:r,radius:i},inner:{x:e.left+o.l,y:e.top+o.t,w:n-o.l-o.r,h:r-o.t-o.b,radius:{topLeft:Math.max(0,i.topLeft-Math.max(o.t,o.l)),topRight:Math.max(0,i.topRight-Math.max(o.t,o.r)),bottomLeft:Math.max(0,i.bottomLeft-Math.max(o.b,o.l)),bottomRight:Math.max(0,i.bottomRight-Math.max(o.b,o.r))}}}}function Bp(t,e,n,r){const o=e===null,i=n===null,l=t&&!(o&&i)&&$x(t,r);return l&&(o||Aa(e,l.left,l.right))&&(i||Aa(n,l.top,l.bottom))}function l5(t){return t.topLeft||t.topRight||t.bottomLeft||t.bottomRight}function c5(t,e){t.rect(e.x,e.y,e.w,e.h)}function Tp(t,e,n={}){const r=t.x!==n.x?-e:0,o=t.y!==n.y?-e:0,i=(t.x+t.w!==n.x+n.w?e:0)-r,a=(t.y+t.h!==n.y+n.h?e:0)-o;return{x:t.x+r,y:t.y+o,w:t.w+i,h:t.h+a,radius:t.radius}}class u5 extends xa{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:o}}=this,{inner:i,outer:a}=a5(this),l=l5(a.radius)?Lu:c5;e.save(),(a.w!==i.w||a.h!==i.h)&&(e.beginPath(),l(e,Tp(a,n,i)),e.clip(),l(e,Tp(i,-n,a)),e.fillStyle=r,e.fill("evenodd")),e.beginPath(),l(e,Tp(i,n)),e.fillStyle=o,e.fill(),e.restore()}inRange(e,n,r){return Bp(this,e,n,r)}inXRange(e,n){return Bp(this,e,null,n)}inYRange(e,n){return Bp(this,null,e,n)}getCenterPoint(e){const{x:n,y:r,base:o,horizontal:i}=this.getProps(["x","y","base","horizontal"],e);return{x:i?(n+o)/2:n,y:i?r:(r+o)/2}}getRange(e){return e==="x"?this.width/2:this.height/2}}const Ip=["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)"],eb=Ip.map(t=>t.replace("rgb(","rgba(").replace(")",", 0.5)"));function tb(t){return Ip[t%Ip.length]}function nb(t){return eb[t%eb.length]}function d5(t,e){return t.borderColor=tb(e),t.backgroundColor=nb(e),++e}function f5(t,e){return t.backgroundColor=t.data.map(()=>tb(e++)),e}function h5(t,e){return t.backgroundColor=t.data.map(()=>nb(e++)),e}function p5(t){let e=0;return(n,r)=>{const o=t.getDatasetMeta(r).controller;o instanceof KI?e=f5(n,e):o instanceof GI?e=h5(n,e):o&&(e=d5(n,e))}}function rb(t){let e;for(e in t)if(t[e].borderColor||t[e].backgroundColor)return!0;return!1}function A5(t){return t&&(t.borderColor||t.backgroundColor)}function g5(){return Vt.borderColor!=="rgba(0,0,0,0.1)"||Vt.backgroundColor!=="rgba(0,0,0,0.1)"}var m5={id:"colors",defaults:{enabled:!0,forceOverride:!1},beforeLayout(t,e,n){if(!n.enabled)return;const{data:{datasets:r},options:o}=t.config,{elements:i}=o,a=rb(r)||A5(o)||i&&rb(i)||g5();if(!n.forceOverride&&a)return;const l=p5(t);r.forEach(l)}};const ob=(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)}},v5=(t,e)=>t!==null&&e!==null&&t.datasetIndex===e.datasetIndex&&t.index===e.index;class ib extends xa{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=Rt(e.generateLabels,[this.chart],this)||[];e.filter&&(n=n.filter(r=>e.filter(r,this.chart.data))),e.sort&&(n=n.sort((r,o)=>e.sort(r,o,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,o=Bn(r.font),i=o.size,a=this._computeTitleHeight(),{boxWidth:l,itemHeight:u}=ob(r,i);let d,h;n.font=o.string,this.isHorizontal()?(d=this.maxWidth,h=this._fitRows(a,i,l,u)+10):(h=this.maxHeight,d=this._fitCols(a,o,l,u)+10),this.width=Math.min(d,e.maxWidth||this.maxWidth),this.height=Math.min(h,e.maxHeight||this.maxHeight)}_fitRows(e,n,r,o){const{ctx:i,maxWidth:a,options:{labels:{padding:l}}}=this,u=this.legendHitBoxes=[],d=this.lineWidths=[0],h=o+l;let p=e;i.textAlign="left",i.textBaseline="middle";let g=-1,m=-h;return this.legendItems.forEach((y,w)=>{const x=r+n/2+i.measureText(y.text).width;(w===0||d[d.length-1]+x+2*l>a)&&(p+=h,d[d.length-(w>0?0:1)]=0,m+=h,g++),u[w]={left:0,top:m,row:g,width:x,height:o},d[d.length-1]+=x+l}),p}_fitCols(e,n,r,o){const{ctx:i,maxHeight:a,options:{labels:{padding:l}}}=this,u=this.legendHitBoxes=[],d=this.columnSizes=[],h=a-e;let p=l,g=0,m=0,y=0,w=0;return this.legendItems.forEach((x,P)=>{const{itemWidth:_,itemHeight:D}=y5(r,n,i,x,o);P>0&&m+D+2*l>h&&(p+=g+l,d.push({width:g,height:m}),y+=g+l,w++,g=m=0),u[P]={left:y,top:m,col:w,width:_,height:D},g=Math.max(g,_),m+=D+l}),p+=g,d.push({width:g,height:m}),p}adjustHitBoxes(){if(!this.options.display)return;const e=this._computeTitleHeight(),{legendHitBoxes:n,options:{align:r,labels:{padding:o},rtl:i}}=this,a=ya(i,this.left,this.width);if(this.isHorizontal()){let l=0,u=Dn(r,this.left+o,this.right-this.lineWidths[l]);for(const d of n)l!==d.row&&(l=d.row,u=Dn(r,this.left+o,this.right-this.lineWidths[l])),d.top+=this.top+e+o,d.left=a.leftForLtr(a.x(u),d.width),u+=d.width+o}else{let l=0,u=Dn(r,this.top+e+o,this.bottom-this.columnSizes[l].height);for(const d of n)d.col!==l&&(l=d.col,u=Dn(r,this.top+e+o,this.bottom-this.columnSizes[l].height)),d.top=u,d.left+=this.left+o,d.left=a.leftForLtr(a.x(d.left),d.width),u+=d.height+o}}isHorizontal(){return this.options.position==="top"||this.options.position==="bottom"}draw(){if(this.options.display){const e=this.ctx;dp(e,this),this._draw(),fp(e)}}_draw(){const{options:e,columnSizes:n,lineWidths:r,ctx:o}=this,{align:i,labels:a}=e,l=Vt.color,u=ya(e.rtl,this.left,this.width),d=Bn(a.font),{padding:h}=a,p=d.size,g=p/2;let m;this.drawTitle(),o.textAlign=u.textAlign("left"),o.textBaseline="middle",o.lineWidth=.5,o.font=d.string;const{boxWidth:y,boxHeight:w,itemHeight:x}=ob(a,p),P=function(R,z,W){if(isNaN(y)||y<=0||isNaN(w)||w<0)return;o.save();const K=mt(W.lineWidth,1);if(o.fillStyle=mt(W.fillStyle,l),o.lineCap=mt(W.lineCap,"butt"),o.lineDashOffset=mt(W.lineDashOffset,0),o.lineJoin=mt(W.lineJoin,"miter"),o.lineWidth=K,o.strokeStyle=mt(W.strokeStyle,l),o.setLineDash(mt(W.lineDash,[])),a.usePointStyle){const q={radius:w*Math.SQRT2/2,pointStyle:W.pointStyle,rotation:W.rotation,borderWidth:K},J=u.xPlus(R,y/2),V=z+g;$y(o,q,J,V,a.pointStyleWidth&&y)}else{const q=z+Math.max((p-w)/2,0),J=u.leftForLtr(R,y),V=ga(W.borderRadius);o.beginPath(),Object.values(V).some(Z=>Z!==0)?Lu(o,{x:J,y:q,w:y,h:w,radius:V}):o.rect(J,q,y,w),o.fill(),K!==0&&o.stroke()}o.restore()},_=function(R,z,W){Ul(o,W.text,R,z+x/2,d,{strikethrough:W.hidden,textAlign:u.textAlign(W.textAlign)})},D=this.isHorizontal(),C=this._computeTitleHeight();D?m={x:Dn(i,this.left+h,this.right-r[0]),y:this.top+h+C,line:0}:m={x:this.left+h,y:Dn(i,this.top+C+h,this.bottom-n[0].height),line:0},dx(this.ctx,e.textDirection);const N=x+h;this.legendItems.forEach((R,z)=>{o.strokeStyle=R.fontColor,o.fillStyle=R.fontColor;const W=o.measureText(R.text).width,K=u.textAlign(R.textAlign||(R.textAlign=a.textAlign)),q=y+g+W;let J=m.x,V=m.y;u.setWidth(this.width),D?z>0&&J+q+h>this.right&&(V=m.y+=N,m.line++,J=m.x=Dn(i,this.left+h,this.right-r[m.line])):z>0&&V+N>this.bottom&&(J=m.x=J+n[m.line].width+h,m.line++,V=m.y=Dn(i,this.top+C+h,this.bottom-n[m.line].height));const Z=u.x(J);if(P(Z,V,R),J=L8(K,J+y+g,D?J+q:this.right,e.rtl),_(u.x(J),V,R),D)m.x+=q+h;else if(typeof R.text!="string"){const ce=d.lineHeight;m.y+=sb(R,ce)+h}else m.y+=N}),fx(this.ctx,e.textDirection)}drawTitle(){const e=this.options,n=e.title,r=Bn(n.font),o=_r(n.padding);if(!n.display)return;const i=ya(e.rtl,this.left,this.width),a=this.ctx,l=n.position,u=r.size/2,d=o.top+u;let h,p=this.left,g=this.width;if(this.isHorizontal())g=Math.max(...this.lineWidths),h=this.top+d,p=Dn(e.align,p,this.right-g);else{const y=this.columnSizes.reduce((w,x)=>Math.max(w,x.height),0);h=d+Dn(e.align,this.top,this.bottom-y-e.labels.padding-this._computeTitleHeight())}const m=Dn(l,p,p+g);a.textAlign=i.textAlign(ap(l)),a.textBaseline="middle",a.strokeStyle=n.color,a.fillStyle=n.color,a.font=r.string,Ul(a,n.text,m,h,r)}_computeTitleHeight(){const e=this.options.title,n=Bn(e.font),r=_r(e.padding);return e.display?n.lineHeight+r.height:0}_getLegendItemAt(e,n){let r,o,i;if(Aa(e,this.left,this.right)&&Aa(n,this.top,this.bottom)){for(i=this.legendHitBoxes,r=0;r<i.length;++r)if(o=i[r],Aa(e,o.left,o.left+o.width)&&Aa(n,o.top,o.top+o.height))return this.legendItems[r]}return null}handleEvent(e){const n=this.options;if(!w5(e.type,n))return;const r=this._getLegendItemAt(e.x,e.y);if(e.type==="mousemove"||e.type==="mouseout"){const o=this._hoveredItem,i=v5(o,r);o&&!i&&Rt(n.onLeave,[e,o,this],this),this._hoveredItem=r,r&&!i&&Rt(n.onHover,[e,r,this],this)}else r&&Rt(n.onClick,[e,r,this],this)}}function y5(t,e,n,r,o){const i=x5(r,t,e,n),a=b5(o,r,e.lineHeight);return{itemWidth:i,itemHeight:a}}function x5(t,e,n,r){let o=t.text;return o&&typeof o!="string"&&(o=o.reduce((i,a)=>i.length>a.length?i:a)),e+n.size/2+r.measureText(o).width}function b5(t,e,n){let r=t;return typeof e.text!="string"&&(r=sb(e,n)),r}function sb(t,e){const n=t.text?t.text.length:0;return e*n}function w5(t,e){return!!((t==="mousemove"||t==="mouseout")&&(e.onHover||e.onLeave)||e.onClick&&(t==="click"||t==="mouseup"))}var k5={id:"legend",_element:ib,start(t,e,n){const r=t.legend=new ib({ctx:t.ctx,options:n,chart:t});Mr.configure(t,r,n),Mr.addBox(t,r)},stop(t){Mr.removeBox(t,t.legend),delete t.legend},beforeUpdate(t,e,n){const r=t.legend;Mr.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,o=n.chart;o.isDatasetVisible(r)?(o.hide(r),e.hidden=!0):(o.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:o,color:i,useBorderRadius:a,borderRadius:l}}=t.legend.options;return t._getSortedDatasetMetas().map(u=>{const d=u.controller.getStyle(n?0:void 0),h=_r(d.borderWidth);return{text:e[u.index].label,fillStyle:d.backgroundColor,fontColor:i,hidden:!u.visible,lineCap:d.borderCapStyle,lineDash:d.borderDash,lineDashOffset:d.borderDashOffset,lineJoin:d.borderJoinStyle,lineWidth:(h.width+h.height)/4,strokeStyle:d.borderColor,pointStyle:r||d.pointStyle,rotation:d.rotation,textAlign:o||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 ab extends xa{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 o=on(r.text)?r.text.length:1;this._padding=_r(r.padding);const i=o*Bn(r.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=i:this.width=i}isHorizontal(){const e=this.options.position;return e==="top"||e==="bottom"}_drawArgs(e){const{top:n,left:r,bottom:o,right:i,options:a}=this,l=a.align;let u=0,d,h,p;return this.isHorizontal()?(h=Dn(l,r,i),p=n+e,d=i-r):(a.position==="left"?(h=r+e,p=Dn(l,o,n),u=sn*-.5):(h=i-e,p=Dn(l,n,o),u=sn*.5),d=o-n),{titleX:h,titleY:p,maxWidth:d,rotation:u}}draw(){const e=this.ctx,n=this.options;if(!n.display)return;const r=Bn(n.font),i=r.lineHeight/2+this._padding.top,{titleX:a,titleY:l,maxWidth:u,rotation:d}=this._drawArgs(i);Ul(e,n.text,0,0,r,{color:n.color,maxWidth:u,rotation:d,textAlign:ap(n.align),textBaseline:"middle",translation:[a,l]})}}function S5(t,e){const n=new ab({ctx:t.ctx,options:e,chart:t});Mr.configure(t,n,e),Mr.addBox(t,n),t.titleBlock=n}var E5={id:"title",_element:ab,start(t,e,n){S5(t,n)},stop(t){const e=t.titleBlock;Mr.removeBox(t,e),delete t.titleBlock},beforeUpdate(t,e,n){const r=t.titleBlock;Mr.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 Jl={average(t){if(!t.length)return!1;let e,n,r=new Set,o=0,i=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),o+=u.y,++i}}return i===0||r.size===0?!1:{x:[...r].reduce((l,u)=>l+u)/r.size,y:o/i}},nearest(t,e){if(!t.length)return!1;let n=e.x,r=e.y,o=Number.POSITIVE_INFINITY,i,a,l;for(i=0,a=t.length;i<a;++i){const u=t[i].element;if(u&&u.hasValue()){const d=u.getCenterPoint(),h=T8(e,d);h<o&&(o=h,l=u)}}if(l){const u=l.tooltipPosition();n=u.x,r=u.y}return{x:n,y:r}}};function Eo(t,e){return e&&(on(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function ei(t){return(typeof t=="string"||t instanceof String)&&t.indexOf(`
|
|
277
277
|
`)>-1?t.split(`
|
|
278
|
-
`):t}function CM(t,e){const{element:n,datasetIndex:r,index:o}=e,i=t.getDatasetMeta(r).controller,{label:a,value:l}=i.getLabelAndValue(o);return{chart:t,label:a,parsed:i.getParsed(o),raw:t.data.datasets[r].data[o],formattedValue:l,dataset:i.getDataset(),dataIndex:o,datasetIndex:r,element:n}}function lb(t,e){const n=t.chart.ctx,{body:r,footer:o,title:i}=t,{boxWidth:a,boxHeight:l}=e,u=Bn(e.bodyFont),d=Bn(e.titleFont),h=Bn(e.footerFont),p=i.length,g=o.length,m=r.length,y=_r(e.padding);let w=y.height,x=0,P=r.reduce((C,N)=>C+N.before.length+N.lines.length+N.after.length,0);if(P+=t.beforeBody.length+t.afterBody.length,p&&(w+=p*d.lineHeight+(p-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}g&&(w+=e.footerMarginTop+g*h.lineHeight+(g-1)*e.footerSpacing);let _=0;const D=function(C){x=Math.max(x,n.measureText(C).width+_)};return n.save(),n.font=d.string,wt(t.title,D),n.font=u.string,wt(t.beforeBody.concat(t.afterBody),D),_=e.displayColors?a+2+e.boxPadding:0,wt(r,C=>{wt(C.before,D),wt(C.lines,D),wt(C.after,D)}),_=0,n.font=h.string,wt(t.footer,D),n.restore(),x+=y.width,{width:x,height:w}}function PM(t,e){const{y:n,height:r}=e;return n<r/2?"top":n>t.height-r/2?"bottom":"center"}function DM(t,e,n,r){const{x:o,width:i}=r,a=n.caretSize+n.caretPadding;if(t==="left"&&o+i+a>e.width||t==="right"&&o-i-a<0)return!0}function BM(t,e,n,r){const{x:o,width:i}=n,{width:a,chartArea:{left:l,right:u}}=t;let d="center";return r==="center"?d=o<=(l+u)/2?"left":"right":o<=i/2?d="left":o>=a-i/2&&(d="right"),DM(d,t,e,n)&&(d="center"),d}function cb(t,e,n){const r=n.yAlign||e.yAlign||PM(t,n);return{xAlign:n.xAlign||e.xAlign||BM(t,e,n,r),yAlign:r}}function TM(t,e){let{x:n,width:r}=t;return e==="right"?n-=r:e==="center"&&(n-=r/2),n}function IM(t,e,n){let{y:r,height:o}=t;return e==="top"?r+=n:e==="bottom"?r-=o+n:r-=o/2,r}function ub(t,e,n,r){const{caretSize:o,caretPadding:i,cornerRadius:a}=t,{xAlign:l,yAlign:u}=n,d=o+i,{topLeft:h,topRight:p,bottomLeft:g,bottomRight:m}=ga(a);let y=TM(e,l);const w=IM(e,u,d);return u==="center"?l==="left"?y+=d:l==="right"&&(y-=d):l==="left"?y-=Math.max(h,g)+o:l==="right"&&(y+=Math.max(p,m)+o),{x:Yr(y,0,r.width-e.width),y:Yr(w,0,r.height-e.height)}}function Xu(t,e,n){const r=_r(n.padding);return e==="center"?t.x+t.width/2:e==="right"?t.x+t.width-r.right:t.x+r.left}function db(t){return Eo([],ei(t))}function _M(t,e,n){return ma(t,{tooltip:e,tooltipItems:n,type:"tooltip"})}function fb(t,e){const n=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return n?t.override(n):t}const hb={beforeTitle:Zo,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:Zo,beforeBody:Zo,beforeLabel:Zo,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 Dt(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:Zo,afterBody:Zo,beforeFooter:Zo,footer:Zo,afterFooter:Zo};function Kn(t,e,n,r){const o=t[e].call(n,r);return typeof o>"u"?hb[e].call(n,r):o}class pb extends xa{static positioners=Jl;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()),o=r.enabled&&n.options.animation&&r.animations,i=new px(this.chart,o);return o._cacheable&&(this._cachedAnimations=Object.freeze(i)),i}getContext(){return this.$context||(this.$context=_M(this.chart.getContext(),this,this._tooltipItems))}getTitle(e,n){const{callbacks:r}=n,o=Kn(r,"beforeTitle",this,e),i=Kn(r,"title",this,e),a=Kn(r,"afterTitle",this,e);let l=[];return l=Eo(l,ei(o)),l=Eo(l,ei(i)),l=Eo(l,ei(a)),l}getBeforeBody(e,n){return db(Kn(n.callbacks,"beforeBody",this,e))}getBody(e,n){const{callbacks:r}=n,o=[];return wt(e,i=>{const a={before:[],lines:[],after:[]},l=fb(r,i);Eo(a.before,ei(Kn(l,"beforeLabel",this,i))),Eo(a.lines,Kn(l,"label",this,i)),Eo(a.after,ei(Kn(l,"afterLabel",this,i))),o.push(a)}),o}getAfterBody(e,n){return db(Kn(n.callbacks,"afterBody",this,e))}getFooter(e,n){const{callbacks:r}=n,o=Kn(r,"beforeFooter",this,e),i=Kn(r,"footer",this,e),a=Kn(r,"afterFooter",this,e);let l=[];return l=Eo(l,ei(o)),l=Eo(l,ei(i)),l=Eo(l,ei(a)),l}_createItems(e){const n=this._active,r=this.chart.data,o=[],i=[],a=[];let l=[],u,d;for(u=0,d=n.length;u<d;++u)l.push(CM(this.chart,n[u]));return e.filter&&(l=l.filter((h,p,g)=>e.filter(h,p,g,r))),e.itemSort&&(l=l.sort((h,p)=>e.itemSort(h,p,r))),wt(l,h=>{const p=fb(e.callbacks,h);o.push(Kn(p,"labelColor",this,h)),i.push(Kn(p,"labelPointStyle",this,h)),a.push(Kn(p,"labelTextColor",this,h))}),this.labelColors=o,this.labelPointStyles=i,this.labelTextColors=a,this.dataPoints=l,l}update(e,n){const r=this.options.setContext(this.getContext()),o=this._active;let i,a=[];if(!o.length)this.opacity!==0&&(i={opacity:0});else{const l=Jl[r.position].call(this,o,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=lb(this,r),d=Object.assign({},l,u),h=cb(this.chart,r,d),p=ub(r,d,h,this.chart);this.xAlign=h.xAlign,this.yAlign=h.yAlign,i={opacity:1,x:p.x,y:p.y,width:u.width,height:u.height,caretX:l.x,caretY:l.y}}this._tooltipItems=a,this.$context=void 0,i&&this._resolveAnimations().update(this,i),e&&r.external&&r.external.call(this,{chart:this.chart,tooltip:this,replay:n})}drawCaret(e,n,r,o){const i=this.getCaretPosition(e,r,o);n.lineTo(i.x1,i.y1),n.lineTo(i.x2,i.y2),n.lineTo(i.x3,i.y3)}getCaretPosition(e,n,r){const{xAlign:o,yAlign:i}=this,{caretSize:a,cornerRadius:l}=r,{topLeft:u,topRight:d,bottomLeft:h,bottomRight:p}=ga(l),{x:g,y:m}=e,{width:y,height:w}=n;let x,P,_,D,C,N;return i==="center"?(C=m+w/2,o==="left"?(x=g,P=x-a,D=C+a,N=C-a):(x=g+y,P=x+a,D=C-a,N=C+a),_=x):(o==="left"?P=g+Math.max(u,h)+a:o==="right"?P=g+y-Math.max(d,p)-a:P=this.caretX,i==="top"?(D=m,C=D-a,x=P-a,_=P+a):(D=m+w,C=D+a,x=P+a,_=P-a),N=D),{x1:x,x2:P,x3:_,y1:D,y2:C,y3:N}}drawTitle(e,n,r){const o=this.title,i=o.length;let a,l,u;if(i){const d=ya(r.rtl,this.x,this.width);for(e.x=Xu(this,r.titleAlign,r),n.textAlign=d.textAlign(r.titleAlign),n.textBaseline="middle",a=Bn(r.titleFont),l=r.titleSpacing,n.fillStyle=r.titleColor,n.font=a.string,u=0;u<i;++u)n.fillText(o[u],d.x(e.x),e.y+a.lineHeight/2),e.y+=a.lineHeight+l,u+1===i&&(e.y+=r.titleMarginBottom-l)}}_drawColorBox(e,n,r,o,i){const a=this.labelColors[r],l=this.labelPointStyles[r],{boxHeight:u,boxWidth:d}=i,h=Bn(i.bodyFont),p=Xu(this,"left",i),g=o.x(p),m=u<h.lineHeight?(h.lineHeight-u)/2:0,y=n.y+m;if(i.usePointStyle){const w={radius:Math.min(d,u)/2,pointStyle:l.pointStyle,rotation:l.rotation,borderWidth:1},x=o.leftForLtr(g,d)+d/2,P=y+u/2;e.strokeStyle=i.multiKeyBackground,e.fillStyle=i.multiKeyBackground,Zy(e,w,x,P),e.strokeStyle=a.borderColor,e.fillStyle=a.backgroundColor,Zy(e,w,x,P)}else{e.lineWidth=ht(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=o.leftForLtr(g,d),x=o.leftForLtr(o.xPlus(g,1),d-2),P=ga(a.borderRadius);Object.values(P).some(_=>_!==0)?(e.beginPath(),e.fillStyle=i.multiKeyBackground,Lu(e,{x:w,y,w:d,h:u,radius:P}),e.fill(),e.stroke(),e.fillStyle=a.backgroundColor,e.beginPath(),Lu(e,{x,y:y+1,w:d-2,h:u-2,radius:P}),e.fill()):(e.fillStyle=i.multiKeyBackground,e.fillRect(w,y,d,u),e.strokeRect(w,y,d,u),e.fillStyle=a.backgroundColor,e.fillRect(x,y+1,d-2,u-2))}e.fillStyle=this.labelTextColors[r]}drawBody(e,n,r){const{body:o}=this,{bodySpacing:i,bodyAlign:a,displayColors:l,boxHeight:u,boxWidth:d,boxPadding:h}=r,p=Bn(r.bodyFont);let g=p.lineHeight,m=0;const y=ya(r.rtl,this.x,this.width),w=function(W){n.fillText(W,y.x(e.x+m),e.y+g/2),e.y+=g+i},x=y.textAlign(a);let P,_,D,C,N,R,z;for(n.textAlign=a,n.textBaseline="middle",n.font=p.string,e.x=Xu(this,x,r),n.fillStyle=r.bodyColor,wt(this.beforeBody,w),m=l&&x!=="right"?a==="center"?d/2+h:d+2+h:0,C=0,R=o.length;C<R;++C){for(P=o[C],_=this.labelTextColors[C],n.fillStyle=_,wt(P.before,w),D=P.lines,l&&D.length&&(this._drawColorBox(n,e,C,y,r),g=Math.max(p.lineHeight,u)),N=0,z=D.length;N<z;++N)w(D[N]),g=p.lineHeight;wt(P.after,w)}m=0,g=p.lineHeight,wt(this.afterBody,w),e.y-=i}drawFooter(e,n,r){const o=this.footer,i=o.length;let a,l;if(i){const u=ya(r.rtl,this.x,this.width);for(e.x=Xu(this,r.footerAlign,r),e.y+=r.footerMarginTop,n.textAlign=u.textAlign(r.footerAlign),n.textBaseline="middle",a=Bn(r.footerFont),n.fillStyle=r.footerColor,n.font=a.string,l=0;l<i;++l)n.fillText(o[l],u.x(e.x),e.y+a.lineHeight/2),e.y+=a.lineHeight+r.footerSpacing}}drawBackground(e,n,r,o){const{xAlign:i,yAlign:a}=this,{x:l,y:u}=e,{width:d,height:h}=r,{topLeft:p,topRight:g,bottomLeft:m,bottomRight:y}=ga(o.cornerRadius);n.fillStyle=o.backgroundColor,n.strokeStyle=o.borderColor,n.lineWidth=o.borderWidth,n.beginPath(),n.moveTo(l+p,u),a==="top"&&this.drawCaret(e,n,r,o),n.lineTo(l+d-g,u),n.quadraticCurveTo(l+d,u,l+d,u+g),a==="center"&&i==="right"&&this.drawCaret(e,n,r,o),n.lineTo(l+d,u+h-y),n.quadraticCurveTo(l+d,u+h,l+d-y,u+h),a==="bottom"&&this.drawCaret(e,n,r,o),n.lineTo(l+m,u+h),n.quadraticCurveTo(l,u+h,l,u+h-m),a==="center"&&i==="left"&&this.drawCaret(e,n,r,o),n.lineTo(l,u+p),n.quadraticCurveTo(l,u,l+p,u),n.closePath(),n.fill(),o.borderWidth>0&&n.stroke()}_updateAnimationTarget(e){const n=this.chart,r=this.$animations,o=r&&r.x,i=r&&r.y;if(o||i){const a=Jl[e.position].call(this,this._active,this._eventPosition);if(!a)return;const l=this._size=lb(this,e),u=Object.assign({},a,this._size),d=cb(n,e,u),h=ub(e,u,d,n);(o._to!==h.x||i._to!==h.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,h))}}_willRender(){return!!this.opacity}draw(e){const n=this.options.setContext(this.getContext());let r=this.opacity;if(!r)return;this._updateAnimationTarget(n);const o={width:this.width,height:this.height},i={x:this.x,y:this.y};r=Math.abs(r)<.001?0:r;const a=_r(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(i,e,o,n),dx(e,n.textDirection),i.y+=a.top,this.drawTitle(i,e,n),this.drawBody(i,e,n),this.drawFooter(i,e,n),fx(e,n.textDirection),e.restore())}getActiveElements(){return this._active||[]}setActiveElements(e,n){const r=this._active,o=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}}),i=!Bu(r,o),a=this._positionChanged(o,n);(i||a)&&(this._active=o,this._eventPosition=n,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(e,n,r=!0){if(n&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const o=this.options,i=this._active||[],a=this._getActiveElements(e,i,n,r),l=this._positionChanged(a,e),u=n||!Bu(a,i)||l;return u&&(this._active=a,(o.enabled||o.external)&&(this._eventPosition={x:e.x,y:e.y},this.update(!0,n))),u}_getActiveElements(e,n,r,o){const i=this.options;if(e.type==="mouseout")return[];if(!o)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,i.mode,i,r);return i.reverse&&a.reverse(),a}_positionChanged(e,n){const{caretX:r,caretY:o,options:i}=this,a=Jl[i.position].call(this,e,n);return a!==!1&&(r!==a.x||o!==a.y)}}var MM={id:"tooltip",_element:pb,positioners:Jl,afterInit(t,e,n){n&&(t.tooltip=new pb({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:hb},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 OM=(t,e,n,r)=>(typeof e=="string"?(n=t.push(e)-1,r.unshift({index:n,label:e})):isNaN(e)&&(n=null),n);function RM(t,e,n,r){const o=t.indexOf(e);if(o===-1)return OM(t,e,n,r);const i=t.lastIndexOf(e);return o!==i?n:o}const LM=(t,e)=>t===null?null:Yr(Math.round(t),0,e);function Ab(t){const e=this.getLabels();return t>=0&&t<e.length?e[t]:t}class FM extends ba{static id="category";static defaults={ticks:{callback:Ab}};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:o,label:i}of n)r[o]===i&&r.splice(o,1);this._addedLabels=[]}super.init(e)}parse(e,n){if(Dt(e))return null;const r=this.getLabels();return n=isFinite(n)&&r[n]===e?n:RM(r,e,mt(n,e),this._addedLabels),LM(n,r.length-1)}determineDataLimits(){const{minDefined:e,maxDefined:n}=this.getUserBounds();let{min:r,max:o}=this.getMinMax(!0);this.options.bounds==="ticks"&&(e||(r=0),n||(o=this.getLabels().length-1)),this.min=r,this.max=o}buildTicks(){const e=this.min,n=this.max,r=this.options.offset,o=[];let i=this.getLabels();i=e===0&&n===i.length-1?i:i.slice(e,n+1),this._valueRange=Math.max(i.length-(r?0:1),1),this._startValue=this.min-(r?.5:0);for(let a=e;a<=n;a++)o.push({value:a});return o}getLabelForValue(e){return Ab.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 jM(t,e){const n=[],{bounds:o,step:i,min:a,max:l,precision:u,count:d,maxTicks:h,maxDigits:p,includeBounds:g}=t,m=i||1,y=h-1,{min:w,max:x}=e,P=!Dt(a),_=!Dt(l),D=!Dt(d),C=(x-w)/(p+1);let N=Fy((x-w)/y/m)*m,R,z,W,K;if(N<1e-14&&!P&&!_)return[{value:w},{value:x}];K=Math.ceil(x/N)-Math.floor(w/N),K>y&&(N=Fy(K*N/y/m)*m),Dt(u)||(R=Math.pow(10,u),N=Math.ceil(N*R)/R),o==="ticks"?(z=Math.floor(w/N)*N,W=Math.ceil(x/N)*N):(z=w,W=x),P&&_&&i&&C8((l-a)/i,N/1e3)?(K=Math.round(Math.min((l-a)/N,h)),N=(l-a)/K,z=a,W=l):D?(z=P?a:z,W=_?l:W,K=d-1,N=(W-z)/K):(K=(W-z)/N,_u(K,Math.round(K),N/1e3)?K=Math.round(K):K=Math.ceil(K));const q=Math.max(jy(N),jy(z));R=Math.pow(10,Dt(u)?q:u),z=Math.round(z*R)/R,W=Math.round(W*R)/R;let J=0;for(P&&(g&&z!==a?(n.push({value:a}),z<a&&J++,_u(Math.round((z+J*N)*R)/R,a,gb(a,C,t))&&J++):z<a&&J++);J<K;++J){const V=Math.round((z+J*N)*R)/R;if(_&&V>l)break;n.push({value:V})}return _&&g&&W!==l?n.length&&_u(n[n.length-1].value,l,gb(l,C,t))?n[n.length-1].value=l:n.push({value:l}):(!_||W===l)&&n.push({value:W}),n}function gb(t,e,{horizontal:n,minRotation:r}){const o=ko(r),i=(n?Math.sin(o):Math.cos(o))||.001,a=.75*e*(""+t).length;return Math.min(e/i,a)}class NM extends ba{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 Dt(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:o,max:i}=this;const a=u=>o=n?o:u,l=u=>i=r?i:u;if(e){const u=Mi(o),d=Mi(i);u<0&&d<0?l(0):u>0&&d>0&&a(0)}if(o===i){let u=i===0?1:Math.abs(i*.05);l(i+u),e||a(o-u)}this.min=o,this.max=i}getTickLimit(){const e=this.options.ticks;let{maxTicksLimit:n,stepSize:r}=e,o;return r?(o=Math.ceil(this.max/r)-Math.floor(this.min/r)+1,o>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${r} would result generating up to ${o} ticks. Limiting to 1000.`),o=1e3)):(o=this.computeTickLimit(),n=n||11),n&&(o=Math.min(n,o)),o}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const e=this.options,n=e.ticks;let r=this.getTickLimit();r=Math.max(2,r);const o={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},i=this._range||this,a=jM(o,i);return e.bounds==="ticks"&&P8(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 o=(r-n)/Math.max(e.length-1,1)/2;n-=o,r+=o}this._startValue=n,this._endValue=r,this._valueRange=r-n}getLabelForValue(e){return Ru(e,this.chart.options.locale,this.options.ticks.format)}}class zM extends NM{static id="linear";static defaults={ticks:{callback:Gy.formatters.numeric}};determineDataLimits(){const{min:e,max:n}=this.getMinMax(!0);this.min=Ir(e)?e:0,this.max=Ir(n)?n:1,this.handleTickRangeOptions()}computeTickLimit(){const e=this.isHorizontal(),n=e?this.width:this.height,r=ko(this.options.ticks.minRotation),o=(e?Math.sin(r):Math.cos(r))||.001,i=this._resolveTickFontOptions(0);return Math.ceil(n/Math.min(40,i.lineHeight/o))}getPixelForValue(e){return e===null?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getValueForPixel(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange}}const Ju={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}},Gn=Object.keys(Ju);function mb(t,e){return t-e}function vb(t,e){if(Dt(e))return null;const n=t._adapter,{parser:r,round:o,isoWeekday:i}=t._parseOpts;let a=e;return typeof r=="function"&&(a=r(a)),Ir(a)||(a=typeof r=="string"?n.parse(a,r):n.parse(a)),a===null?null:(o&&(a=o==="week"&&(Mu(i)||i===!0)?n.startOf(a,"isoWeek",i):n.startOf(a,o)),+a)}function yb(t,e,n,r){const o=Gn.length;for(let i=Gn.indexOf(t);i<o-1;++i){const a=Ju[Gn[i]],l=a.steps?a.steps:Number.MAX_SAFE_INTEGER;if(a.common&&Math.ceil((n-e)/(l*a.size))<=r)return Gn[i]}return Gn[o-1]}function QM(t,e,n,r,o){for(let i=Gn.length-1;i>=Gn.indexOf(n);i--){const a=Gn[i];if(Ju[a].common&&t._adapter.diff(o,r,a)>=e-1)return a}return Gn[n?Gn.indexOf(n):0]}function HM(t){for(let e=Gn.indexOf(t)+1,n=Gn.length;e<n;++e)if(Ju[Gn[e]].common)return Gn[e]}function xb(t,e,n){if(!n)t[e]=!0;else if(n.length){const{lo:r,hi:o}=ip(n,e),i=n[r]>=e?n[r]:n[o];t[i]=!0}}function UM(t,e,n,r){const o=t._adapter,i=+o.startOf(e[0].value,r),a=e[e.length-1].value;let l,u;for(l=i;l<=a;l=+o.add(l,1,r))u=n[l],u>=0&&(e[u].major=!0);return e}function bb(t,e,n){const r=[],o={},i=e.length;let a,l;for(a=0;a<i;++a)l=e[a],o[l]=a,r.push({value:l,major:!1});return i===0||!n?r:UM(t,r,o,n)}class wb extends ba{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={}),o=this._adapter=new XI._date(e.adapters.date);o.init(n),Nl(r.displayFormats,o.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:vb(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:o,max:i,minDefined:a,maxDefined:l}=this.getUserBounds();function u(d){!a&&!isNaN(d.min)&&(o=Math.min(o,d.min)),!l&&!isNaN(d.max)&&(i=Math.max(i,d.max))}(!a||!l)&&(u(this._getLabelBounds()),(e.bounds!=="ticks"||e.ticks.source!=="labels")&&u(this.getMinMax(!1))),o=Ir(o)&&!isNaN(o)?o:+n.startOf(Date.now(),r),i=Ir(i)&&!isNaN(i)?i:+n.endOf(Date.now(),r)+1,this.min=Math.min(o,i-1),this.max=Math.max(o+1,i)}_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,o=r.source==="labels"?this.getLabelTimestamps():this._generate();e.bounds==="ticks"&&o.length&&(this.min=this._userMin||o[0],this.max=this._userMax||o[o.length-1]);const i=this.min,a=this.max,l=M8(o,i,a);return this._unit=n.unit||(r.autoSkip?yb(n.minUnit,this.min,this.max,this._getLabelCapacity(i)):QM(this,l.length,n.minUnit,this.min,this.max)),this._majorUnit=!r.major.enabled||this._unit==="year"?void 0:HM(this._unit),this.initOffsets(o),e.reverse&&l.reverse(),bb(this,l,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map(e=>+e.value))}initOffsets(e=[]){let n=0,r=0,o,i;this.options.offset&&e.length&&(o=this.getDecimalForValue(e[0]),e.length===1?n=1-o:n=(this.getDecimalForValue(e[1])-o)/2,i=this.getDecimalForValue(e[e.length-1]),e.length===1?r=i:r=(i-this.getDecimalForValue(e[e.length-2]))/2);const a=e.length<3?.5:.25;n=Yr(n,0,a),r=Yr(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,o=this.options,i=o.time,a=i.unit||yb(i.minUnit,n,r,this._getLabelCapacity(n)),l=mt(o.ticks.stepSize,1),u=a==="week"?i.isoWeekday:!1,d=Mu(u)||u===!0,h={};let p=n,g,m;if(d&&(p=+e.startOf(p,"isoWeek",u)),p=+e.startOf(p,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 y=o.ticks.source==="data"&&this.getDataTimestamps();for(g=p,m=0;g<r;g=+e.add(g,l,a),m++)xb(h,g,y);return(g===r||o.bounds==="ticks"||m===1)&&xb(h,g,y),Object.keys(h).sort(mb).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 o=this.options.time.displayFormats,i=this._unit,a=n||o[i];return this._adapter.format(e,a)}_tickFormatFunction(e,n,r,o){const i=this.options,a=i.ticks.callback;if(a)return Rt(a,[e,n,r],this);const l=i.time.displayFormats,u=this._unit,d=this._majorUnit,h=u&&l[u],p=d&&l[d],g=r[n],m=d&&p&&g&&g.major;return this._adapter.format(e,o||(m?p:h))}generateTickLabels(e){let n,r,o;for(n=0,r=e.length;n<r;++n)o=e[n],o.label=this._tickFormatFunction(o.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,o=ko(this.isHorizontal()?n.maxRotation:n.minRotation),i=Math.cos(o),a=Math.sin(o),l=this._resolveTickFontOptions(0).size;return{w:r*i+l*a,h:r*a+l*i}}_getLabelCapacity(e){const n=this.options.time,r=n.displayFormats,o=r[n.unit]||r.millisecond,i=this._tickFormatFunction(e,0,bb(this,[e],this._majorUnit),o),a=this._getLabelSize(i),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 o=this.getMatchingVisibleMetas();if(this._normalized&&o.length)return this._cache.data=o[0].controller.getAllParsedValues(this);for(n=0,r=o.length;n<r;++n)e=e.concat(o[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 o=this.getLabels();for(n=0,r=o.length;n<r;++n)e.push(vb(this,o[n]));return this._cache.labels=this._normalized?e:this.normalize(e)}normalize(e){return Qy(e.sort(mb))}}function Zu(t,e,n){let r=0,o=t.length-1,i,a,l,u;n?(e>=t[r].pos&&e<=t[o].pos&&({lo:r,hi:o}=sp(t,"pos",e)),{pos:i,time:l}=t[r],{pos:a,time:u}=t[o]):(e>=t[r].time&&e<=t[o].time&&({lo:r,hi:o}=sp(t,"time",e)),{time:i,pos:l}=t[r],{time:a,pos:u}=t[o]);const d=a-i;return d?l+(u-l)*(e-i)/d:l}class V4 extends wb{static id="timeseries";static defaults=wb.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=Zu(n,this.min),this._tableRange=Zu(n,this.max)-this._minPos,super.initOffsets(e)}buildLookupTable(e){const{min:n,max:r}=this,o=[],i=[];let a,l,u,d,h;for(a=0,l=e.length;a<l;++a)d=e[a],d>=n&&d<=r&&o.push(d);if(o.length<2)return[{time:n,pos:0},{time:r,pos:1}];for(a=0,l=o.length;a<l;++a)h=o[a+1],u=o[a-1],d=o[a],Math.round((h+u)/2)!==d&&i.push({time:d,pos:a/(l-1)});return i}_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((o,i)=>o-i)}_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(Zu(this._table,e)-this._minPos)/this._tableRange}getValueForPixel(e){const n=this._offsets,r=this.getDecimalForPixel(e)/n.factor-n.end;return Zu(this._table,r*this._tableRange+this._minPos,!0)}}Dp.register(mM,YI,uM,FM,zM,kM,EM,MM);function VM({type:t="bar",data:e,options:n}){const r=M.useRef(null),o=M.useRef(null);return M.useLayoutEffect(()=>{o.current&&(r.current?(r.current.options=n,r.current.data=e,r.current.update()):r.current=new Dp(o.current,{type:t,data:e,options:n}))},[t,e,n]),E.jsx("div",{className:"chart",children:E.jsx("canvas",{ref:o})})}const kb=["--teal-700","--yellow-400","--teal-400","--orange-400","--green-400","--red-400"],_p=["0 - 1s","1 - 30s","30s - 30min","30 - 60min","1 - 5hr","5 - 10hr","10 - 18hr","18+hr"],Mp=(t,e,n=0)=>`${t.toFixed(n)} ${e}${t==1?"":"s"}`,Sb=t=>{const e=t/3600;if(e>=1)return Mp(e,"hour",1);const n=t/60;return n>=1?Mp(n,"minute",0):Mp(t,"second",0)},$u=t=>t.replace(/ \([^)]+\)/,"");function WM({infoGroupId:t}){const[e,n]=M.useState("overview"),r=lk(t).filter(d=>d.cider_type=="Compute"),o=Fn(r.length?r.map(d=>`https://rest-test.ccr.xdmod.org/rest/v0.1/custom_queries/wait_times/${d.info_resourceid}/`):null,{defaultValue:[]}),i=Fn(e!=="overview"?`https://rest-test.ccr.xdmod.org/rest/v0.1/custom_queries/wait_times/${e}/queue/job_walltime`:null);if(!o.length||!r.length)return;const a=o.map((d,h)=>d.error?d:{...d.data[0],...r[h]}).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:$u(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:h,median_expansion_factor:p,median_wait_time:g,median_wall_time:m,resource_descriptive_name:y})=>E.jsxs("p",{className:"card metrics-overview",children:[E.jsxs("b",{children:[$u(y),":"]})," Users ran"," ",E.jsxs("strong",{children:[E.jsx(ft,{name:"file-earmark-code"}),parseInt(h).toLocaleString("en-us")," jobs"]})," ","during the last 30 days. Waiting in the queue caused an average"," ",E.jsxs("strong",{children:[E.jsx(ft,{name:"calculator"}),((p-1)*100).toLocaleString("en-us",{maximumFractionDigits:0}),"% increase"]})," ","in the total completion time. The average job waited for"," ",E.jsxs("strong",{children:[E.jsx(ft,{name:"hourglass-split"})," ",Sb(g)]})," ","and ran for"," ",E.jsxs("strong",{children:[E.jsx(ft,{name:"stopwatch"}),Sb(m)]}),"."," ",E.jsx("a",{title:`Wait time chart for ${$u(y)}`,href:"#",onClick:w=>{w.preventDefault(),n(d)},children:"View chart »"})]},d))});else if(i&&i.info_resource_id===e){const d={},h=_p;for(let y of i.data)d[y.queue]=d[y.queue]||{label:y.queue,data:Array(_p.length).fill(null)},d[y.queue].data[_p.indexOf(y.job_walltime)]=y.median_wait_time/60;const p=Object.values(d);p.forEach((y,w)=>{let x=kb[w%(kb.length-1)];y.backgroundColor=getComputedStyle(document.body).getPropertyValue(x)});const g=a.find(y=>y.info_resourceid==i.info_resource_id),m={interaction:{intersect:!1,mode:"index"},plugins:{title:{display:!0,text:`Median Wait Time by Queue on ${$u(g.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(VM,{type:"bar",data:{labels:h,datasets:p},options:m}),E.jsx("p",{children:E.jsx("a",{href:"#",onClick:y=>{y.preventDefault(),n("overview")},children:"« Back to overview"})})]})}return E.jsxs(vo,{title:"Wait Time",icon:"hourglass-split",headerComponents:l,children:[u,E.jsxs("p",{className:"metrics-disclaimer",children:[E.jsx(ft,{name:"info-circle"}),"These metrics describe activity from ACCESS projects. Many resources have additional projects that are not part of ACCESS."]})]})}function ti(t){return Array.isArray?Array.isArray(t):Pb(t)==="[object Array]"}function YM(t){if(typeof t=="string")return t;let e=t+"";return e=="0"&&1/t==-1/0?"-0":e}function qM(t){return t==null?"":YM(t)}function Co(t){return typeof t=="string"}function Eb(t){return typeof t=="number"}function KM(t){return t===!0||t===!1||GM(t)&&Pb(t)=="[object Boolean]"}function Cb(t){return typeof t=="object"}function GM(t){return Cb(t)&&t!==null}function Ar(t){return t!=null}function Op(t){return!t.trim().length}function Pb(t){return t==null?t===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const XM="Incorrect 'index' type",JM=t=>`Invalid value for key ${t}`,ZM=t=>`Pattern length exceeds max of ${t}.`,$M=t=>`Missing ${t} property in key`,e5=t=>`Property 'weight' in key '${t}' must be a positive integer`,Db=Object.prototype.hasOwnProperty;class t5{constructor(e){this._keys=[],this._keyMap={};let n=0;e.forEach(r=>{let o=Bb(r);this._keys.push(o),this._keyMap[o.id]=o,n+=o.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 Bb(t){let e=null,n=null,r=null,o=1,i=null;if(Co(t)||ti(t))r=t,e=Tb(t),n=Rp(t);else{if(!Db.call(t,"name"))throw new Error($M("name"));const a=t.name;if(r=a,Db.call(t,"weight")&&(o=t.weight,o<=0))throw new Error(e5(a));e=Tb(a),n=Rp(a),i=t.getFn}return{path:e,id:n,weight:o,src:r,getFn:i}}function Tb(t){return ti(t)?t:t.split(".")}function Rp(t){return ti(t)?t.join("."):t}function n5(t,e){let n=[],r=!1;const o=(i,a,l)=>{if(Ar(i))if(!a[l])n.push(i);else{let u=a[l];const d=i[u];if(!Ar(d))return;if(l===a.length-1&&(Co(d)||Eb(d)||KM(d)))n.push(qM(d));else if(ti(d)){r=!0;for(let h=0,p=d.length;h<p;h+=1)o(d[h],a,l+1)}else a.length&&o(d,a,l+1)}};return o(t,Co(e)?e.split("."):e,0),r?n:n[0]}var Ge={...{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:n5,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1}};const r5=/[^ ]+/g;function o5(t=1,e=3){const n=new Map,r=Math.pow(10,e);return{get(o){const i=o.match(r5).length;if(n.has(i))return n.get(i);const a=1/Math.pow(i,.5*t),l=parseFloat(Math.round(a*r)/r);return n.set(i,l),l},clear(){n.clear()}}}class Lp{constructor({getFn:e=Ge.getFn,fieldNormWeight:n=Ge.fieldNormWeight}={}){this.norm=o5(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,Co(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();Co(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(!Ar(e)||Op(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((o,i)=>{let a=o.getFn?o.getFn(e):this.getFn(e,o.path);if(Ar(a)){if(ti(a)){let l=[];const u=[{nestedArrIndex:-1,value:a}];for(;u.length;){const{nestedArrIndex:d,value:h}=u.pop();if(Ar(h))if(Co(h)&&!Op(h)){let p={v:h,i:d,n:this.norm.get(h)};l.push(p)}else ti(h)&&h.forEach((p,g)=>{u.push({nestedArrIndex:g,value:p})})}r.$[i]=l}else if(Co(a)&&!Op(a)){let l={v:a,n:this.norm.get(a)};r.$[i]=l}}}),this.records.push(r)}toJSON(){return{keys:this.keys,records:this.records}}}function Ib(t,e,{getFn:n=Ge.getFn,fieldNormWeight:r=Ge.fieldNormWeight}={}){const o=new Lp({getFn:n,fieldNormWeight:r});return o.setKeys(t.map(Bb)),o.setSources(e),o.create(),o}function i5(t,{getFn:e=Ge.getFn,fieldNormWeight:n=Ge.fieldNormWeight}={}){const{keys:r,records:o}=t,i=new Lp({getFn:e,fieldNormWeight:n});return i.setKeys(r),i.setIndexRecords(o),i}function ed(t,{errors:e=0,currentLocation:n=0,expectedLocation:r=0,distance:o=Ge.distance,ignoreLocation:i=Ge.ignoreLocation}={}){const a=e/t.length;if(i)return a;const l=Math.abs(r-n);return o?a+l/o:l?1:a}function s5(t=[],e=Ge.minMatchCharLength){let n=[],r=-1,o=-1,i=0;for(let a=t.length;i<a;i+=1){let l=t[i];l&&r===-1?r=i:!l&&r!==-1&&(o=i-1,o-r+1>=e&&n.push([r,o]),r=-1)}return t[i-1]&&i-r>=e&&n.push([r,i-1]),n}const Ss=32;function a5(t,e,n,{location:r=Ge.location,distance:o=Ge.distance,threshold:i=Ge.threshold,findAllMatches:a=Ge.findAllMatches,minMatchCharLength:l=Ge.minMatchCharLength,includeMatches:u=Ge.includeMatches,ignoreLocation:d=Ge.ignoreLocation}={}){if(e.length>Ss)throw new Error(ZM(Ss));const h=e.length,p=t.length,g=Math.max(0,Math.min(r,p));let m=i,y=g;const w=l>1||u,x=w?Array(p):[];let P;for(;(P=t.indexOf(e,y))>-1;){let z=ed(e,{currentLocation:P,expectedLocation:g,distance:o,ignoreLocation:d});if(m=Math.min(z,m),y=P+h,w){let W=0;for(;W<h;)x[P+W]=1,W+=1}}y=-1;let _=[],D=1,C=h+p;const N=1<<h-1;for(let z=0;z<h;z+=1){let W=0,K=C;for(;W<K;)ed(e,{errors:z,currentLocation:g+K,expectedLocation:g,distance:o,ignoreLocation:d})<=m?W=K:C=K,K=Math.floor((C-W)/2+W);C=K;let q=Math.max(1,g-K+1),J=a?p:Math.min(g+K,p)+h,V=Array(J+2);V[J+1]=(1<<z)-1;for(let ce=J;ce>=q;ce-=1){let ne=ce-1,fe=n[t.charAt(ne)];if(w&&(x[ne]=+!!fe),V[ce]=(V[ce+1]<<1|1)&fe,z&&(V[ce]|=(_[ce+1]|_[ce])<<1|1|_[ce+1]),V[ce]&N&&(D=ed(e,{errors:z,currentLocation:ne,expectedLocation:g,distance:o,ignoreLocation:d}),D<=m)){if(m=D,y=ne,y<=g)break;q=Math.max(1,2*g-y)}}if(ed(e,{errors:z+1,currentLocation:g,expectedLocation:g,distance:o,ignoreLocation:d})>m)break;_=V}const R={isMatch:y>=0,score:Math.max(.001,D)};if(w){const z=s5(x,l);z.length?u&&(R.indices=z):R.isMatch=!1}return R}function l5(t){let e={};for(let n=0,r=t.length;n<r;n+=1){const o=t.charAt(n);e[o]=(e[o]||0)|1<<r-n-1}return e}const td=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 _b{constructor(e,{location:n=Ge.location,threshold:r=Ge.threshold,distance:o=Ge.distance,includeMatches:i=Ge.includeMatches,findAllMatches:a=Ge.findAllMatches,minMatchCharLength:l=Ge.minMatchCharLength,isCaseSensitive:u=Ge.isCaseSensitive,ignoreDiacritics:d=Ge.ignoreDiacritics,ignoreLocation:h=Ge.ignoreLocation}={}){if(this.options={location:n,threshold:r,distance:o,includeMatches:i,findAllMatches:a,minMatchCharLength:l,isCaseSensitive:u,ignoreDiacritics:d,ignoreLocation:h},e=u?e:e.toLowerCase(),e=d?td(e):e,this.pattern=e,this.chunks=[],!this.pattern.length)return;const p=(m,y)=>{this.chunks.push({pattern:m,alphabet:l5(m),startIndex:y})},g=this.pattern.length;if(g>Ss){let m=0;const y=g%Ss,w=g-y;for(;m<w;)p(this.pattern.substr(m,Ss),m),m+=Ss;if(y){const x=g-Ss;p(this.pattern.substr(x),x)}}else p(this.pattern,0)}searchIn(e){const{isCaseSensitive:n,ignoreDiacritics:r,includeMatches:o}=this.options;if(e=n?e:e.toLowerCase(),e=r?td(e):e,this.pattern===e){let w={isMatch:!0,score:0};return o&&(w.indices=[[0,e.length-1]]),w}const{location:i,distance:a,threshold:l,findAllMatches:u,minMatchCharLength:d,ignoreLocation:h}=this.options;let p=[],g=0,m=!1;this.chunks.forEach(({pattern:w,alphabet:x,startIndex:P})=>{const{isMatch:_,score:D,indices:C}=a5(e,w,x,{location:i+P,distance:a,threshold:l,findAllMatches:u,minMatchCharLength:d,includeMatches:o,ignoreLocation:h});_&&(m=!0),g+=D,_&&C&&(p=[...p,...C])});let y={isMatch:m,score:m?g/this.chunks.length:1};return m&&o&&(y.indices=p),y}}class Li{constructor(e){this.pattern=e}static isMultiMatch(e){return Mb(e,this.multiRegex)}static isSingleMatch(e){return Mb(e,this.singleRegex)}search(){}}function Mb(t,e){const n=t.match(e);return n?n[1]:null}class c5 extends Li{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 u5 extends Li{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 d5 extends Li{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 f5 extends Li{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 h5 extends Li{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 p5 extends Li{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 Ob extends Li{constructor(e,{location:n=Ge.location,threshold:r=Ge.threshold,distance:o=Ge.distance,includeMatches:i=Ge.includeMatches,findAllMatches:a=Ge.findAllMatches,minMatchCharLength:l=Ge.minMatchCharLength,isCaseSensitive:u=Ge.isCaseSensitive,ignoreDiacritics:d=Ge.ignoreDiacritics,ignoreLocation:h=Ge.ignoreLocation}={}){super(e),this._bitapSearch=new _b(e,{location:n,threshold:r,distance:o,includeMatches:i,findAllMatches:a,minMatchCharLength:l,isCaseSensitive:u,ignoreDiacritics:d,ignoreLocation:h})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class Rb extends Li{constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let n=0,r;const o=[],i=this.pattern.length;for(;(r=e.indexOf(this.pattern,n))>-1;)n=r+i,o.push([r,n-1]);const a=!!o.length;return{isMatch:a,score:a?0:1,indices:o}}}const Fp=[c5,Rb,d5,f5,p5,h5,u5,Ob],Lb=Fp.length,A5=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,g5="|";function m5(t,e={}){return t.split(g5).map(n=>{let r=n.trim().split(A5).filter(i=>i&&!!i.trim()),o=[];for(let i=0,a=r.length;i<a;i+=1){const l=r[i];let u=!1,d=-1;for(;!u&&++d<Lb;){const h=Fp[d];let p=h.isMultiMatch(l);p&&(o.push(new h(p,e)),u=!0)}if(!u)for(d=-1;++d<Lb;){const h=Fp[d];let p=h.isSingleMatch(l);if(p){o.push(new h(p,e));break}}}return o})}const v5=new Set([Ob.type,Rb.type]);class y5{constructor(e,{isCaseSensitive:n=Ge.isCaseSensitive,ignoreDiacritics:r=Ge.ignoreDiacritics,includeMatches:o=Ge.includeMatches,minMatchCharLength:i=Ge.minMatchCharLength,ignoreLocation:a=Ge.ignoreLocation,findAllMatches:l=Ge.findAllMatches,location:u=Ge.location,threshold:d=Ge.threshold,distance:h=Ge.distance}={}){this.query=null,this.options={isCaseSensitive:n,ignoreDiacritics:r,includeMatches:o,minMatchCharLength:i,findAllMatches:l,ignoreLocation:a,location:u,threshold:d,distance:h},e=n?e:e.toLowerCase(),e=r?td(e):e,this.pattern=e,this.query=m5(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:o,ignoreDiacritics:i}=this.options;e=o?e:e.toLowerCase(),e=i?td(e):e;let a=0,l=[],u=0;for(let d=0,h=n.length;d<h;d+=1){const p=n[d];l.length=0,a=0;for(let g=0,m=p.length;g<m;g+=1){const y=p[g],{isMatch:w,indices:x,score:P}=y.search(e);if(w){if(a+=1,u+=P,r){const _=y.constructor.type;v5.has(_)?l=[...l,...x]:l.push(x)}}else{u=0,a=0,l.length=0;break}}if(a){let g={isMatch:!0,score:u/a};return r&&(g.indices=l),g}}return{isMatch:!1,score:1}}}const jp=[];function x5(...t){jp.push(...t)}function Np(t,e){for(let n=0,r=jp.length;n<r;n+=1){let o=jp[n];if(o.condition(t,e))return new o(t,e)}return new _b(t,e)}const nd={AND:"$and",OR:"$or"},zp={PATH:"$path",PATTERN:"$val"},Qp=t=>!!(t[nd.AND]||t[nd.OR]),b5=t=>!!t[zp.PATH],w5=t=>!ti(t)&&Cb(t)&&!Qp(t),Fb=t=>({[nd.AND]:Object.keys(t).map(e=>({[e]:t[e]}))});function jb(t,e,{auto:n=!0}={}){const r=o=>{let i=Object.keys(o);const a=b5(o);if(!a&&i.length>1&&!Qp(o))return r(Fb(o));if(w5(o)){const u=a?o[zp.PATH]:i[0],d=a?o[zp.PATTERN]:o[u];if(!Co(d))throw new Error(JM(u));const h={keyId:Rp(u),pattern:d};return n&&(h.searcher=Np(d,e)),h}let l={children:[],operator:i[0]};return i.forEach(u=>{const d=o[u];ti(d)&&d.forEach(h=>{l.children.push(r(h))})}),l};return Qp(t)||(t=Fb(t)),r(t)}function k5(t,{ignoreFieldNorm:e=Ge.ignoreFieldNorm}){t.forEach(n=>{let r=1;n.matches.forEach(({key:o,norm:i,score:a})=>{const l=o?o.weight:null;r*=Math.pow(a===0&&l?Number.EPSILON:a,(l||1)*(e?1:i))}),n.score=r})}function S5(t,e){const n=t.matches;e.matches=[],Ar(n)&&n.forEach(r=>{if(!Ar(r.indices)||!r.indices.length)return;const{indices:o,value:i}=r;let a={indices:o,value:i};r.key&&(a.key=r.key.src),r.idx>-1&&(a.refIndex=r.idx),e.matches.push(a)})}function E5(t,e){e.score=t.score}function C5(t,e,{includeMatches:n=Ge.includeMatches,includeScore:r=Ge.includeScore}={}){const o=[];return n&&o.push(S5),r&&o.push(E5),t.map(i=>{const{idx:a}=i,l={item:e[a],refIndex:a};return o.length&&o.forEach(u=>{u(i,l)}),l})}class wa{constructor(e,n={},r){this.options={...Ge,...n},this.options.useExtendedSearch,this._keyStore=new t5(this.options.keys),this.setCollection(e,r)}setCollection(e,n){if(this._docs=e,n&&!(n instanceof Lp))throw new Error(XM);this._myIndex=n||Ib(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){Ar(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=()=>!1){const n=[];for(let r=0,o=this._docs.length;r<o;r+=1){const i=this._docs[r];e(i,r)&&(this.removeAt(r),r-=1,o-=1,n.push(i))}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:o,shouldSort:i,sortFn:a,ignoreFieldNorm:l}=this.options;let u=Co(e)?Co(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return k5(u,{ignoreFieldNorm:l}),i&&u.sort(a),Eb(n)&&n>-1&&(u=u.slice(0,n)),C5(u,this._docs,{includeMatches:r,includeScore:o})}_searchStringList(e){const n=Np(e,this.options),{records:r}=this._myIndex,o=[];return r.forEach(({v:i,i:a,n:l})=>{if(!Ar(i))return;const{isMatch:u,score:d,indices:h}=n.searchIn(i);u&&o.push({item:i,idx:a,matches:[{score:d,value:i,norm:l,indices:h}]})}),o}_searchLogical(e){const n=jb(e,this.options),r=(l,u,d)=>{if(!l.children){const{keyId:p,searcher:g}=l,m=this._findMatches({key:this._keyStore.get(p),value:this._myIndex.getValueForItemAtKeyId(u,p),searcher:g});return m&&m.length?[{idx:d,item:u,matches:m}]:[]}const h=[];for(let p=0,g=l.children.length;p<g;p+=1){const m=l.children[p],y=r(m,u,d);if(y.length)h.push(...y);else if(l.operator===nd.AND)return[]}return h},o=this._myIndex.records,i={},a=[];return o.forEach(({$:l,i:u})=>{if(Ar(l)){let d=r(n,l,u);d.length&&(i[u]||(i[u]={idx:u,item:l,matches:[]},a.push(i[u])),d.forEach(({matches:h})=>{i[u].matches.push(...h)}))}}),a}_searchObjectList(e){const n=Np(e,this.options),{keys:r,records:o}=this._myIndex,i=[];return o.forEach(({$:a,i:l})=>{if(!Ar(a))return;let u=[];r.forEach((d,h)=>{u.push(...this._findMatches({key:d,value:a[h],searcher:n}))}),u.length&&i.push({idx:l,item:a,matches:u})}),i}_findMatches({key:e,value:n,searcher:r}){if(!Ar(n))return[];let o=[];if(ti(n))n.forEach(({v:i,i:a,n:l})=>{if(!Ar(i))return;const{isMatch:u,score:d,indices:h}=r.searchIn(i);u&&o.push({score:d,key:e,value:i,idx:a,norm:l,indices:h})});else{const{v:i,n:a}=n,{isMatch:l,score:u,indices:d}=r.searchIn(i);l&&o.push({score:u,key:e,value:i,norm:a,indices:d})}return o}}wa.version="7.1.0",wa.createIndex=Ib,wa.parseIndex=i5,wa.config=Ge,wa.parseQuery=jb,x5(y5);function P5({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 o=[];let i=0;for(let a of r)a.index>i&&o.push(e.substr(i,a.index)),o.push(E.jsx("span",{className:"highlight",children:a[0]})),i=a.index+a[0].length;return o.push(e.substr(i)),o}function D5({delay:t=300,placeholder:e,setSearchText:n,width:r="calc(var(--width) / 4)"}){const o=M.useRef(null),i=M.useRef(null),[a,l]=M.useState(""),u=()=>{l(""),n(""),o.current.value="",o.current.focus()};return M.useLayoutEffect(()=>{o.current&&o.current.addEventListener("keyup",()=>{i.current&&clearTimeout(i.current),i.current=setTimeout(()=>{i.current=null,n(o.current.value),l(o.current.value)},t)})},[o.current]),E.jsx(E.Fragment,{children:E.jsxs("div",{className:"search",children:[E.jsx("input",{placeholder:e,style:{width:r},ref:o}),a.length?E.jsx("button",{className:"btn btn-clear",title:"Clear search",onClick:u,children:E.jsx(ft,{name:"x-lg"})}):null]})})}const B5=["software_name","software_description","software_web_page","software_documentation","software_use_link","software_versions"];function T5({infoGroupId:t}){const e=Fn("https://sds-ara-api.access-ci.org/api/v1",{body:JSON.stringify({rps:[t],columns:B5}),headers:{"Content-Type":"application/json","X-API-Key":"asSuQQ0IfIEUrSRTl44aqn2ZpMPpJ_G02BgemAY4WN0"},method:"POST"}),[n,r]=M.useState(""),o=M.useMemo(()=>e?.data&&e.data.length?new wa(e.data,{keys:[{name:"software_name",weight:.6},{name:"software_description",weight:.4}]}):null,[e?.data]);if(!e?.data||!e.data.length)return;const i=g=>E.jsx(P5,{text:g,highlight:n}),d=[{key:"software_name",name:"Package",format:(g,m)=>{const y=i(g),w=m.software_web_page||m.software_documentation,x=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:y},"name"):y," ",m.software_documentation&&E.jsx("a",{href:m.software_documentation,title:`Documentation for ${g}`,children:E.jsx(ft,{name:"book"})},"documentation")," ",x&&x!=m.software_documentation&&E.jsx("a",{href:x,title:`Usage example for ${g}`,children:E.jsx(ft,{name:"terminal"})},"use")]})}},{key:"software_versions",name:"Versions",format:(g,m)=>m.rps[t].software_versions.join(", ")},{key:"software_description",name:"Description",format:(g,m)=>{const y=/Description Source:[ ]+(http[^ ]+)/,w=g.match(y);return E.jsxs(E.Fragment,{children:[i(g.replace(y,""))," ",w?E.jsx("a",{href:w[1],title:`Description source for ${m.software_name}`,children:E.jsx(ft,{name:"info-circle"})}):null]})}}],h=n.length?o.search(n).map(g=>g.item):e.data,p=[E.jsx(D5,{placeholder:"Search software packages...",setSearchText:r},"search")];return E.jsx(vo,{title:"Software",icon:"terminal",headerComponents:p,children:E.jsx(uu,{columns:d,rows:h,scrollResetOnUpdate:!0})})}function I5({prompt:t="Jump To:"}){const[e,n]=M.useState([]),r=M.useRef(null),o=()=>{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)},i=a=>{const l=r.current.querySelector(`#${a}`);l&&l.scrollIntoView()};return M.useEffect(()=>{r.current&&(o(),document.addEventListener("accessci-update-sections",o))},[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(),i(l)},children:[a?E.jsxs(E.Fragment,{children:[E.jsx(ft,{name:a})," "]}):null,u]})},l))})]}):null})}function _5({baseUri:t,showBreadcrumbs:e=!0}){const{infoGroupId:n}=e2(),r=sl(n),o=[{name:"Resources",href:t}];return r&&o.push({name:r.name}),E.jsxs(E.Fragment,{children:[e&&E.jsx(cf,{expandWidth:!0,items:o,topBorder:!0}),E.jsxs("div",{className:"resource-group-detail",children:[E.jsx(gD,{infoGroupId:n}),E.jsx(I5,{}),E.jsx(rT,{infoGroupId:n}),E.jsx(XB,{infoGroupId:n}),E.jsx(eT,{infoGroupId:n}),E.jsx(AD,{infoGroupId:n}),E.jsx(T5,{infoGroupId:n}),E.jsx(qT,{infoGroupId:n}),E.jsx(WM,{infoGroupId:n}),E.jsx(yD,{infoGroupId:n})]})]})}const M5=Object.freeze(Object.defineProperty({__proto__:null,default:_5},Symbol.toStringTag,{value:"Module"})),O5={"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 Nb({active:t,tagCategory:e,tagId:n,iconUri:r,name:o,toggleTag:i}){const a=r||O5[o]||"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(),i(n)},children:[a.startsWith("http")?E.jsx(ft,{alt:o,src:a}):E.jsx(ft,{name:a}),o]})})}function zb({children:t}){return E.jsx("ul",{className:"tags",children:t})}function R5({active:t,baseUri:e,description:n,imageType:r,imageUri:o,name:i,infoGroupId:a,parentInfoGroupId:l,tags:u,toggleTag:d}){const h=`${e}/${l||a}`;return E.jsxs("div",{className:"resource-group",children:[E.jsx("a",{className:`resource-group-image image-type-${r}`,href:h,children:o?E.jsx("img",{src:o}):E.jsx(ft,{name:"motherboard"})}),E.jsxs("div",{className:"resource-group-text",children:[E.jsx("h3",{children:E.jsx("a",{href:h,children:i})}),E.jsx(zb,{children:u.map(p=>E.jsx(Nb,{...p,active:t,toggleTag:d},p.tagId))}),E.jsxs("p",{children:[n&&n,E.jsx("br",{}),E.jsxs("a",{href:h,children:["Learn more about ",i," »"]})]})]})]})}function L5({active:t,baseUri:e,name:n,resourceGroups:r,toggleTag:o}){return E.jsxs(E.Fragment,{children:[E.jsx("h2",{children:n}),r.filter(({infoGroupId:i})=>t.infoGroupIds.has(i)).map(i=>E.jsx(R5,{...i,baseUri:e,active:t,toggleTag:o},i.infoGroupId))]})}function F5({active:t,clearTags:e,tagCategories:n,toggleTag:r}){const[o,i]=M.useState(!1),a=M.useRef(null);return M.useEffect(()=>{const l=()=>i(!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:()=>i(!o),className:`btn-filters btn ${o?"active":""}`,children:[E.jsx(ft,{name:"filter"})," Filters",t.tagIds.size>0?E.jsx("span",{className:"active-tag-count",children:t.tagIds.size}):null]}),o?E.jsxs("div",{className:"filters-inner",children:[n.map(l=>E.jsxs(E.Fragment,{children:[E.jsx("h2",{children:l.name}),E.jsx(zb,{children:l.tags.map(u=>E.jsx(Nb,{...u,active:t,toggleTag:r}))})]})),E.jsxs("button",{onClick:e,disabled:t.tagIds.size==0,className:"btn danger",children:[E.jsx(ft,{name:"trash"})," Clear Filters"]})]}):null]})}function j5({setBotOpen:t}){const e=M.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:o,href:i,description:a,login:l,onClick:u},d)=>E.jsx("li",{className:`resource-pathway-${d}`,children:E.jsxs("a",{href:i||"#",onClick:u,children:[o?E.jsx(ft,{name:o}):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(ft,{name:"key"})," Requires ACCESS Login"]}):null]})]})},r))})]})}function N5({baseUri:t,title:e,setBotOpen:n,showBreadcrumbs:r=!0,showTitle:o=!0}){const[i,a]=M.useState([]),l=Tg(),u=M.useMemo(()=>l?uk(l,i):null,[l,i]),d=p=>a(i.includes(p)?i.filter(g=>g!=p):[...i,p]),h=()=>a([]);return E.jsxs(E.Fragment,{children:[r&&E.jsx(cf,{expandWidth:!0,items:[{name:"Resources"}],topBorder:!0}),e&&E.jsx("h1",{className:o?"":"visually-hidden",children:e}),E.jsx(j5,{setBotOpen:n}),E.jsxs("div",{id:"browse-resources",children:[u?E.jsx(F5,{tagCategories:l.tagCategories,active:u,clearTags:h,toggleTag:d}):null,l?l.resourceCategories.filter(({resourceCategoryId:p})=>u.resourceCategoryIds.has(p)).map(p=>E.jsx(L5,{...p,active:u,baseUri:t,clearTags:h,toggleTag:d},p.name)):null]})]})}const z5=Object.freeze(Object.defineProperty({__proto__:null,default:N5},Symbol.toStringTag,{value:"Module"}));mn.breadcrumbs=xS,mn.footer=bS,mn.footerMenus=wS,mn.header=kS,mn.loginMenuItem=Eg,mn.myAccessMenuItem=Sg,mn.qaBot=SS,mn.resourceCatalog=ES,mn.siteMenus=CS,mn.tableOfContents=PS,mn.universalMenuItems=kg,mn.universalMenus=DS,Object.defineProperty(mn,Symbol.toStringTag,{value:"Module"})}));
|
|
278
|
+
`):t}function C5(t,e){const{element:n,datasetIndex:r,index:o}=e,i=t.getDatasetMeta(r).controller,{label:a,value:l}=i.getLabelAndValue(o);return{chart:t,label:a,parsed:i.getParsed(o),raw:t.data.datasets[r].data[o],formattedValue:l,dataset:i.getDataset(),dataIndex:o,datasetIndex:r,element:n}}function lb(t,e){const n=t.chart.ctx,{body:r,footer:o,title:i}=t,{boxWidth:a,boxHeight:l}=e,u=Bn(e.bodyFont),d=Bn(e.titleFont),h=Bn(e.footerFont),p=i.length,g=o.length,m=r.length,y=_r(e.padding);let w=y.height,x=0,P=r.reduce((C,N)=>C+N.before.length+N.lines.length+N.after.length,0);if(P+=t.beforeBody.length+t.afterBody.length,p&&(w+=p*d.lineHeight+(p-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}g&&(w+=e.footerMarginTop+g*h.lineHeight+(g-1)*e.footerSpacing);let _=0;const D=function(C){x=Math.max(x,n.measureText(C).width+_)};return n.save(),n.font=d.string,wt(t.title,D),n.font=u.string,wt(t.beforeBody.concat(t.afterBody),D),_=e.displayColors?a+2+e.boxPadding:0,wt(r,C=>{wt(C.before,D),wt(C.lines,D),wt(C.after,D)}),_=0,n.font=h.string,wt(t.footer,D),n.restore(),x+=y.width,{width:x,height:w}}function P5(t,e){const{y:n,height:r}=e;return n<r/2?"top":n>t.height-r/2?"bottom":"center"}function D5(t,e,n,r){const{x:o,width:i}=r,a=n.caretSize+n.caretPadding;if(t==="left"&&o+i+a>e.width||t==="right"&&o-i-a<0)return!0}function B5(t,e,n,r){const{x:o,width:i}=n,{width:a,chartArea:{left:l,right:u}}=t;let d="center";return r==="center"?d=o<=(l+u)/2?"left":"right":o<=i/2?d="left":o>=a-i/2&&(d="right"),D5(d,t,e,n)&&(d="center"),d}function cb(t,e,n){const r=n.yAlign||e.yAlign||P5(t,n);return{xAlign:n.xAlign||e.xAlign||B5(t,e,n,r),yAlign:r}}function T5(t,e){let{x:n,width:r}=t;return e==="right"?n-=r:e==="center"&&(n-=r/2),n}function I5(t,e,n){let{y:r,height:o}=t;return e==="top"?r+=n:e==="bottom"?r-=o+n:r-=o/2,r}function ub(t,e,n,r){const{caretSize:o,caretPadding:i,cornerRadius:a}=t,{xAlign:l,yAlign:u}=n,d=o+i,{topLeft:h,topRight:p,bottomLeft:g,bottomRight:m}=ga(a);let y=T5(e,l);const w=I5(e,u,d);return u==="center"?l==="left"?y+=d:l==="right"&&(y-=d):l==="left"?y-=Math.max(h,g)+o:l==="right"&&(y+=Math.max(p,m)+o),{x:Yr(y,0,r.width-e.width),y:Yr(w,0,r.height-e.height)}}function Xu(t,e,n){const r=_r(n.padding);return e==="center"?t.x+t.width/2:e==="right"?t.x+t.width-r.right:t.x+r.left}function db(t){return Eo([],ei(t))}function _5(t,e,n){return ma(t,{tooltip:e,tooltipItems:n,type:"tooltip"})}function fb(t,e){const n=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return n?t.override(n):t}const hb={beforeTitle:Zo,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:Zo,beforeBody:Zo,beforeLabel:Zo,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 Dt(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:Zo,afterBody:Zo,beforeFooter:Zo,footer:Zo,afterFooter:Zo};function Kn(t,e,n,r){const o=t[e].call(n,r);return typeof o>"u"?hb[e].call(n,r):o}class pb extends xa{static positioners=Jl;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()),o=r.enabled&&n.options.animation&&r.animations,i=new px(this.chart,o);return o._cacheable&&(this._cachedAnimations=Object.freeze(i)),i}getContext(){return this.$context||(this.$context=_5(this.chart.getContext(),this,this._tooltipItems))}getTitle(e,n){const{callbacks:r}=n,o=Kn(r,"beforeTitle",this,e),i=Kn(r,"title",this,e),a=Kn(r,"afterTitle",this,e);let l=[];return l=Eo(l,ei(o)),l=Eo(l,ei(i)),l=Eo(l,ei(a)),l}getBeforeBody(e,n){return db(Kn(n.callbacks,"beforeBody",this,e))}getBody(e,n){const{callbacks:r}=n,o=[];return wt(e,i=>{const a={before:[],lines:[],after:[]},l=fb(r,i);Eo(a.before,ei(Kn(l,"beforeLabel",this,i))),Eo(a.lines,Kn(l,"label",this,i)),Eo(a.after,ei(Kn(l,"afterLabel",this,i))),o.push(a)}),o}getAfterBody(e,n){return db(Kn(n.callbacks,"afterBody",this,e))}getFooter(e,n){const{callbacks:r}=n,o=Kn(r,"beforeFooter",this,e),i=Kn(r,"footer",this,e),a=Kn(r,"afterFooter",this,e);let l=[];return l=Eo(l,ei(o)),l=Eo(l,ei(i)),l=Eo(l,ei(a)),l}_createItems(e){const n=this._active,r=this.chart.data,o=[],i=[],a=[];let l=[],u,d;for(u=0,d=n.length;u<d;++u)l.push(C5(this.chart,n[u]));return e.filter&&(l=l.filter((h,p,g)=>e.filter(h,p,g,r))),e.itemSort&&(l=l.sort((h,p)=>e.itemSort(h,p,r))),wt(l,h=>{const p=fb(e.callbacks,h);o.push(Kn(p,"labelColor",this,h)),i.push(Kn(p,"labelPointStyle",this,h)),a.push(Kn(p,"labelTextColor",this,h))}),this.labelColors=o,this.labelPointStyles=i,this.labelTextColors=a,this.dataPoints=l,l}update(e,n){const r=this.options.setContext(this.getContext()),o=this._active;let i,a=[];if(!o.length)this.opacity!==0&&(i={opacity:0});else{const l=Jl[r.position].call(this,o,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=lb(this,r),d=Object.assign({},l,u),h=cb(this.chart,r,d),p=ub(r,d,h,this.chart);this.xAlign=h.xAlign,this.yAlign=h.yAlign,i={opacity:1,x:p.x,y:p.y,width:u.width,height:u.height,caretX:l.x,caretY:l.y}}this._tooltipItems=a,this.$context=void 0,i&&this._resolveAnimations().update(this,i),e&&r.external&&r.external.call(this,{chart:this.chart,tooltip:this,replay:n})}drawCaret(e,n,r,o){const i=this.getCaretPosition(e,r,o);n.lineTo(i.x1,i.y1),n.lineTo(i.x2,i.y2),n.lineTo(i.x3,i.y3)}getCaretPosition(e,n,r){const{xAlign:o,yAlign:i}=this,{caretSize:a,cornerRadius:l}=r,{topLeft:u,topRight:d,bottomLeft:h,bottomRight:p}=ga(l),{x:g,y:m}=e,{width:y,height:w}=n;let x,P,_,D,C,N;return i==="center"?(C=m+w/2,o==="left"?(x=g,P=x-a,D=C+a,N=C-a):(x=g+y,P=x+a,D=C-a,N=C+a),_=x):(o==="left"?P=g+Math.max(u,h)+a:o==="right"?P=g+y-Math.max(d,p)-a:P=this.caretX,i==="top"?(D=m,C=D-a,x=P-a,_=P+a):(D=m+w,C=D+a,x=P+a,_=P-a),N=D),{x1:x,x2:P,x3:_,y1:D,y2:C,y3:N}}drawTitle(e,n,r){const o=this.title,i=o.length;let a,l,u;if(i){const d=ya(r.rtl,this.x,this.width);for(e.x=Xu(this,r.titleAlign,r),n.textAlign=d.textAlign(r.titleAlign),n.textBaseline="middle",a=Bn(r.titleFont),l=r.titleSpacing,n.fillStyle=r.titleColor,n.font=a.string,u=0;u<i;++u)n.fillText(o[u],d.x(e.x),e.y+a.lineHeight/2),e.y+=a.lineHeight+l,u+1===i&&(e.y+=r.titleMarginBottom-l)}}_drawColorBox(e,n,r,o,i){const a=this.labelColors[r],l=this.labelPointStyles[r],{boxHeight:u,boxWidth:d}=i,h=Bn(i.bodyFont),p=Xu(this,"left",i),g=o.x(p),m=u<h.lineHeight?(h.lineHeight-u)/2:0,y=n.y+m;if(i.usePointStyle){const w={radius:Math.min(d,u)/2,pointStyle:l.pointStyle,rotation:l.rotation,borderWidth:1},x=o.leftForLtr(g,d)+d/2,P=y+u/2;e.strokeStyle=i.multiKeyBackground,e.fillStyle=i.multiKeyBackground,Zy(e,w,x,P),e.strokeStyle=a.borderColor,e.fillStyle=a.backgroundColor,Zy(e,w,x,P)}else{e.lineWidth=ht(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=o.leftForLtr(g,d),x=o.leftForLtr(o.xPlus(g,1),d-2),P=ga(a.borderRadius);Object.values(P).some(_=>_!==0)?(e.beginPath(),e.fillStyle=i.multiKeyBackground,Lu(e,{x:w,y,w:d,h:u,radius:P}),e.fill(),e.stroke(),e.fillStyle=a.backgroundColor,e.beginPath(),Lu(e,{x,y:y+1,w:d-2,h:u-2,radius:P}),e.fill()):(e.fillStyle=i.multiKeyBackground,e.fillRect(w,y,d,u),e.strokeRect(w,y,d,u),e.fillStyle=a.backgroundColor,e.fillRect(x,y+1,d-2,u-2))}e.fillStyle=this.labelTextColors[r]}drawBody(e,n,r){const{body:o}=this,{bodySpacing:i,bodyAlign:a,displayColors:l,boxHeight:u,boxWidth:d,boxPadding:h}=r,p=Bn(r.bodyFont);let g=p.lineHeight,m=0;const y=ya(r.rtl,this.x,this.width),w=function(W){n.fillText(W,y.x(e.x+m),e.y+g/2),e.y+=g+i},x=y.textAlign(a);let P,_,D,C,N,R,z;for(n.textAlign=a,n.textBaseline="middle",n.font=p.string,e.x=Xu(this,x,r),n.fillStyle=r.bodyColor,wt(this.beforeBody,w),m=l&&x!=="right"?a==="center"?d/2+h:d+2+h:0,C=0,R=o.length;C<R;++C){for(P=o[C],_=this.labelTextColors[C],n.fillStyle=_,wt(P.before,w),D=P.lines,l&&D.length&&(this._drawColorBox(n,e,C,y,r),g=Math.max(p.lineHeight,u)),N=0,z=D.length;N<z;++N)w(D[N]),g=p.lineHeight;wt(P.after,w)}m=0,g=p.lineHeight,wt(this.afterBody,w),e.y-=i}drawFooter(e,n,r){const o=this.footer,i=o.length;let a,l;if(i){const u=ya(r.rtl,this.x,this.width);for(e.x=Xu(this,r.footerAlign,r),e.y+=r.footerMarginTop,n.textAlign=u.textAlign(r.footerAlign),n.textBaseline="middle",a=Bn(r.footerFont),n.fillStyle=r.footerColor,n.font=a.string,l=0;l<i;++l)n.fillText(o[l],u.x(e.x),e.y+a.lineHeight/2),e.y+=a.lineHeight+r.footerSpacing}}drawBackground(e,n,r,o){const{xAlign:i,yAlign:a}=this,{x:l,y:u}=e,{width:d,height:h}=r,{topLeft:p,topRight:g,bottomLeft:m,bottomRight:y}=ga(o.cornerRadius);n.fillStyle=o.backgroundColor,n.strokeStyle=o.borderColor,n.lineWidth=o.borderWidth,n.beginPath(),n.moveTo(l+p,u),a==="top"&&this.drawCaret(e,n,r,o),n.lineTo(l+d-g,u),n.quadraticCurveTo(l+d,u,l+d,u+g),a==="center"&&i==="right"&&this.drawCaret(e,n,r,o),n.lineTo(l+d,u+h-y),n.quadraticCurveTo(l+d,u+h,l+d-y,u+h),a==="bottom"&&this.drawCaret(e,n,r,o),n.lineTo(l+m,u+h),n.quadraticCurveTo(l,u+h,l,u+h-m),a==="center"&&i==="left"&&this.drawCaret(e,n,r,o),n.lineTo(l,u+p),n.quadraticCurveTo(l,u,l+p,u),n.closePath(),n.fill(),o.borderWidth>0&&n.stroke()}_updateAnimationTarget(e){const n=this.chart,r=this.$animations,o=r&&r.x,i=r&&r.y;if(o||i){const a=Jl[e.position].call(this,this._active,this._eventPosition);if(!a)return;const l=this._size=lb(this,e),u=Object.assign({},a,this._size),d=cb(n,e,u),h=ub(e,u,d,n);(o._to!==h.x||i._to!==h.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,h))}}_willRender(){return!!this.opacity}draw(e){const n=this.options.setContext(this.getContext());let r=this.opacity;if(!r)return;this._updateAnimationTarget(n);const o={width:this.width,height:this.height},i={x:this.x,y:this.y};r=Math.abs(r)<.001?0:r;const a=_r(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(i,e,o,n),dx(e,n.textDirection),i.y+=a.top,this.drawTitle(i,e,n),this.drawBody(i,e,n),this.drawFooter(i,e,n),fx(e,n.textDirection),e.restore())}getActiveElements(){return this._active||[]}setActiveElements(e,n){const r=this._active,o=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}}),i=!Bu(r,o),a=this._positionChanged(o,n);(i||a)&&(this._active=o,this._eventPosition=n,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(e,n,r=!0){if(n&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const o=this.options,i=this._active||[],a=this._getActiveElements(e,i,n,r),l=this._positionChanged(a,e),u=n||!Bu(a,i)||l;return u&&(this._active=a,(o.enabled||o.external)&&(this._eventPosition={x:e.x,y:e.y},this.update(!0,n))),u}_getActiveElements(e,n,r,o){const i=this.options;if(e.type==="mouseout")return[];if(!o)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,i.mode,i,r);return i.reverse&&a.reverse(),a}_positionChanged(e,n){const{caretX:r,caretY:o,options:i}=this,a=Jl[i.position].call(this,e,n);return a!==!1&&(r!==a.x||o!==a.y)}}var M5={id:"tooltip",_element:pb,positioners:Jl,afterInit(t,e,n){n&&(t.tooltip=new pb({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:hb},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 O5=(t,e,n,r)=>(typeof e=="string"?(n=t.push(e)-1,r.unshift({index:n,label:e})):isNaN(e)&&(n=null),n);function R5(t,e,n,r){const o=t.indexOf(e);if(o===-1)return O5(t,e,n,r);const i=t.lastIndexOf(e);return o!==i?n:o}const L5=(t,e)=>t===null?null:Yr(Math.round(t),0,e);function Ab(t){const e=this.getLabels();return t>=0&&t<e.length?e[t]:t}class F5 extends ba{static id="category";static defaults={ticks:{callback:Ab}};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:o,label:i}of n)r[o]===i&&r.splice(o,1);this._addedLabels=[]}super.init(e)}parse(e,n){if(Dt(e))return null;const r=this.getLabels();return n=isFinite(n)&&r[n]===e?n:R5(r,e,mt(n,e),this._addedLabels),L5(n,r.length-1)}determineDataLimits(){const{minDefined:e,maxDefined:n}=this.getUserBounds();let{min:r,max:o}=this.getMinMax(!0);this.options.bounds==="ticks"&&(e||(r=0),n||(o=this.getLabels().length-1)),this.min=r,this.max=o}buildTicks(){const e=this.min,n=this.max,r=this.options.offset,o=[];let i=this.getLabels();i=e===0&&n===i.length-1?i:i.slice(e,n+1),this._valueRange=Math.max(i.length-(r?0:1),1),this._startValue=this.min-(r?.5:0);for(let a=e;a<=n;a++)o.push({value:a});return o}getLabelForValue(e){return Ab.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 j5(t,e){const n=[],{bounds:o,step:i,min:a,max:l,precision:u,count:d,maxTicks:h,maxDigits:p,includeBounds:g}=t,m=i||1,y=h-1,{min:w,max:x}=e,P=!Dt(a),_=!Dt(l),D=!Dt(d),C=(x-w)/(p+1);let N=Fy((x-w)/y/m)*m,R,z,W,K;if(N<1e-14&&!P&&!_)return[{value:w},{value:x}];K=Math.ceil(x/N)-Math.floor(w/N),K>y&&(N=Fy(K*N/y/m)*m),Dt(u)||(R=Math.pow(10,u),N=Math.ceil(N*R)/R),o==="ticks"?(z=Math.floor(w/N)*N,W=Math.ceil(x/N)*N):(z=w,W=x),P&&_&&i&&C8((l-a)/i,N/1e3)?(K=Math.round(Math.min((l-a)/N,h)),N=(l-a)/K,z=a,W=l):D?(z=P?a:z,W=_?l:W,K=d-1,N=(W-z)/K):(K=(W-z)/N,_u(K,Math.round(K),N/1e3)?K=Math.round(K):K=Math.ceil(K));const q=Math.max(jy(N),jy(z));R=Math.pow(10,Dt(u)?q:u),z=Math.round(z*R)/R,W=Math.round(W*R)/R;let J=0;for(P&&(g&&z!==a?(n.push({value:a}),z<a&&J++,_u(Math.round((z+J*N)*R)/R,a,gb(a,C,t))&&J++):z<a&&J++);J<K;++J){const V=Math.round((z+J*N)*R)/R;if(_&&V>l)break;n.push({value:V})}return _&&g&&W!==l?n.length&&_u(n[n.length-1].value,l,gb(l,C,t))?n[n.length-1].value=l:n.push({value:l}):(!_||W===l)&&n.push({value:W}),n}function gb(t,e,{horizontal:n,minRotation:r}){const o=ko(r),i=(n?Math.sin(o):Math.cos(o))||.001,a=.75*e*(""+t).length;return Math.min(e/i,a)}class N5 extends ba{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 Dt(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:o,max:i}=this;const a=u=>o=n?o:u,l=u=>i=r?i:u;if(e){const u=Mi(o),d=Mi(i);u<0&&d<0?l(0):u>0&&d>0&&a(0)}if(o===i){let u=i===0?1:Math.abs(i*.05);l(i+u),e||a(o-u)}this.min=o,this.max=i}getTickLimit(){const e=this.options.ticks;let{maxTicksLimit:n,stepSize:r}=e,o;return r?(o=Math.ceil(this.max/r)-Math.floor(this.min/r)+1,o>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${r} would result generating up to ${o} ticks. Limiting to 1000.`),o=1e3)):(o=this.computeTickLimit(),n=n||11),n&&(o=Math.min(n,o)),o}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const e=this.options,n=e.ticks;let r=this.getTickLimit();r=Math.max(2,r);const o={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},i=this._range||this,a=j5(o,i);return e.bounds==="ticks"&&P8(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 o=(r-n)/Math.max(e.length-1,1)/2;n-=o,r+=o}this._startValue=n,this._endValue=r,this._valueRange=r-n}getLabelForValue(e){return Ru(e,this.chart.options.locale,this.options.ticks.format)}}class z5 extends N5{static id="linear";static defaults={ticks:{callback:Gy.formatters.numeric}};determineDataLimits(){const{min:e,max:n}=this.getMinMax(!0);this.min=Ir(e)?e:0,this.max=Ir(n)?n:1,this.handleTickRangeOptions()}computeTickLimit(){const e=this.isHorizontal(),n=e?this.width:this.height,r=ko(this.options.ticks.minRotation),o=(e?Math.sin(r):Math.cos(r))||.001,i=this._resolveTickFontOptions(0);return Math.ceil(n/Math.min(40,i.lineHeight/o))}getPixelForValue(e){return e===null?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getValueForPixel(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange}}const Ju={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}},Gn=Object.keys(Ju);function mb(t,e){return t-e}function vb(t,e){if(Dt(e))return null;const n=t._adapter,{parser:r,round:o,isoWeekday:i}=t._parseOpts;let a=e;return typeof r=="function"&&(a=r(a)),Ir(a)||(a=typeof r=="string"?n.parse(a,r):n.parse(a)),a===null?null:(o&&(a=o==="week"&&(Mu(i)||i===!0)?n.startOf(a,"isoWeek",i):n.startOf(a,o)),+a)}function yb(t,e,n,r){const o=Gn.length;for(let i=Gn.indexOf(t);i<o-1;++i){const a=Ju[Gn[i]],l=a.steps?a.steps:Number.MAX_SAFE_INTEGER;if(a.common&&Math.ceil((n-e)/(l*a.size))<=r)return Gn[i]}return Gn[o-1]}function Q5(t,e,n,r,o){for(let i=Gn.length-1;i>=Gn.indexOf(n);i--){const a=Gn[i];if(Ju[a].common&&t._adapter.diff(o,r,a)>=e-1)return a}return Gn[n?Gn.indexOf(n):0]}function H5(t){for(let e=Gn.indexOf(t)+1,n=Gn.length;e<n;++e)if(Ju[Gn[e]].common)return Gn[e]}function xb(t,e,n){if(!n)t[e]=!0;else if(n.length){const{lo:r,hi:o}=ip(n,e),i=n[r]>=e?n[r]:n[o];t[i]=!0}}function U5(t,e,n,r){const o=t._adapter,i=+o.startOf(e[0].value,r),a=e[e.length-1].value;let l,u;for(l=i;l<=a;l=+o.add(l,1,r))u=n[l],u>=0&&(e[u].major=!0);return e}function bb(t,e,n){const r=[],o={},i=e.length;let a,l;for(a=0;a<i;++a)l=e[a],o[l]=a,r.push({value:l,major:!1});return i===0||!n?r:U5(t,r,o,n)}class wb extends ba{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={}),o=this._adapter=new XI._date(e.adapters.date);o.init(n),Nl(r.displayFormats,o.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:vb(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:o,max:i,minDefined:a,maxDefined:l}=this.getUserBounds();function u(d){!a&&!isNaN(d.min)&&(o=Math.min(o,d.min)),!l&&!isNaN(d.max)&&(i=Math.max(i,d.max))}(!a||!l)&&(u(this._getLabelBounds()),(e.bounds!=="ticks"||e.ticks.source!=="labels")&&u(this.getMinMax(!1))),o=Ir(o)&&!isNaN(o)?o:+n.startOf(Date.now(),r),i=Ir(i)&&!isNaN(i)?i:+n.endOf(Date.now(),r)+1,this.min=Math.min(o,i-1),this.max=Math.max(o+1,i)}_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,o=r.source==="labels"?this.getLabelTimestamps():this._generate();e.bounds==="ticks"&&o.length&&(this.min=this._userMin||o[0],this.max=this._userMax||o[o.length-1]);const i=this.min,a=this.max,l=M8(o,i,a);return this._unit=n.unit||(r.autoSkip?yb(n.minUnit,this.min,this.max,this._getLabelCapacity(i)):Q5(this,l.length,n.minUnit,this.min,this.max)),this._majorUnit=!r.major.enabled||this._unit==="year"?void 0:H5(this._unit),this.initOffsets(o),e.reverse&&l.reverse(),bb(this,l,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map(e=>+e.value))}initOffsets(e=[]){let n=0,r=0,o,i;this.options.offset&&e.length&&(o=this.getDecimalForValue(e[0]),e.length===1?n=1-o:n=(this.getDecimalForValue(e[1])-o)/2,i=this.getDecimalForValue(e[e.length-1]),e.length===1?r=i:r=(i-this.getDecimalForValue(e[e.length-2]))/2);const a=e.length<3?.5:.25;n=Yr(n,0,a),r=Yr(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,o=this.options,i=o.time,a=i.unit||yb(i.minUnit,n,r,this._getLabelCapacity(n)),l=mt(o.ticks.stepSize,1),u=a==="week"?i.isoWeekday:!1,d=Mu(u)||u===!0,h={};let p=n,g,m;if(d&&(p=+e.startOf(p,"isoWeek",u)),p=+e.startOf(p,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 y=o.ticks.source==="data"&&this.getDataTimestamps();for(g=p,m=0;g<r;g=+e.add(g,l,a),m++)xb(h,g,y);return(g===r||o.bounds==="ticks"||m===1)&&xb(h,g,y),Object.keys(h).sort(mb).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 o=this.options.time.displayFormats,i=this._unit,a=n||o[i];return this._adapter.format(e,a)}_tickFormatFunction(e,n,r,o){const i=this.options,a=i.ticks.callback;if(a)return Rt(a,[e,n,r],this);const l=i.time.displayFormats,u=this._unit,d=this._majorUnit,h=u&&l[u],p=d&&l[d],g=r[n],m=d&&p&&g&&g.major;return this._adapter.format(e,o||(m?p:h))}generateTickLabels(e){let n,r,o;for(n=0,r=e.length;n<r;++n)o=e[n],o.label=this._tickFormatFunction(o.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,o=ko(this.isHorizontal()?n.maxRotation:n.minRotation),i=Math.cos(o),a=Math.sin(o),l=this._resolveTickFontOptions(0).size;return{w:r*i+l*a,h:r*a+l*i}}_getLabelCapacity(e){const n=this.options.time,r=n.displayFormats,o=r[n.unit]||r.millisecond,i=this._tickFormatFunction(e,0,bb(this,[e],this._majorUnit),o),a=this._getLabelSize(i),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 o=this.getMatchingVisibleMetas();if(this._normalized&&o.length)return this._cache.data=o[0].controller.getAllParsedValues(this);for(n=0,r=o.length;n<r;++n)e=e.concat(o[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 o=this.getLabels();for(n=0,r=o.length;n<r;++n)e.push(vb(this,o[n]));return this._cache.labels=this._normalized?e:this.normalize(e)}normalize(e){return Qy(e.sort(mb))}}function Zu(t,e,n){let r=0,o=t.length-1,i,a,l,u;n?(e>=t[r].pos&&e<=t[o].pos&&({lo:r,hi:o}=sp(t,"pos",e)),{pos:i,time:l}=t[r],{pos:a,time:u}=t[o]):(e>=t[r].time&&e<=t[o].time&&({lo:r,hi:o}=sp(t,"time",e)),{time:i,pos:l}=t[r],{time:a,pos:u}=t[o]);const d=a-i;return d?l+(u-l)*(e-i)/d:l}class V4 extends wb{static id="timeseries";static defaults=wb.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=Zu(n,this.min),this._tableRange=Zu(n,this.max)-this._minPos,super.initOffsets(e)}buildLookupTable(e){const{min:n,max:r}=this,o=[],i=[];let a,l,u,d,h;for(a=0,l=e.length;a<l;++a)d=e[a],d>=n&&d<=r&&o.push(d);if(o.length<2)return[{time:n,pos:0},{time:r,pos:1}];for(a=0,l=o.length;a<l;++a)h=o[a+1],u=o[a-1],d=o[a],Math.round((h+u)/2)!==d&&i.push({time:d,pos:a/(l-1)});return i}_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((o,i)=>o-i)}_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(Zu(this._table,e)-this._minPos)/this._tableRange}getValueForPixel(e){const n=this._offsets,r=this.getDecimalForPixel(e)/n.factor-n.end;return Zu(this._table,r*this._tableRange+this._minPos,!0)}}Dp.register(m5,YI,u5,F5,z5,k5,E5,M5);function V5({type:t="bar",data:e,options:n}){const r=M.useRef(null),o=M.useRef(null);return M.useLayoutEffect(()=>{o.current&&(r.current?(r.current.options=n,r.current.data=e,r.current.update()):r.current=new Dp(o.current,{type:t,data:e,options:n}))},[t,e,n]),E.jsx("div",{className:"chart",children:E.jsx("canvas",{ref:o})})}const kb=["--teal-700","--yellow-400","--teal-400","--orange-400","--green-400","--red-400"],_p=["0 - 1s","1 - 30s","30s - 30min","30 - 60min","1 - 5hr","5 - 10hr","10 - 18hr","18+hr"],Mp=(t,e,n=0)=>`${t.toFixed(n)} ${e}${t==1?"":"s"}`,Sb=t=>{const e=t/3600;if(e>=1)return Mp(e,"hour",1);const n=t/60;return n>=1?Mp(n,"minute",0):Mp(t,"second",0)},$u=t=>t.replace(/ \([^)]+\)/,"");function W5({infoGroupId:t}){const[e,n]=M.useState("overview"),r=lk(t).filter(d=>d.cider_type=="Compute"),o=Fn(r.length?r.map(d=>`https://rest-test.ccr.xdmod.org/rest/v0.1/custom_queries/wait_times/${d.info_resourceid}/`):null,{defaultValue:[]}),i=Fn(e!=="overview"?`https://rest-test.ccr.xdmod.org/rest/v0.1/custom_queries/wait_times/${e}/queue/job_walltime`:null);if(!o.length||!r.length)return;const a=o.map((d,h)=>d.error?d:{...d.data[0],...r[h]}).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:$u(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:h,median_expansion_factor:p,median_wait_time:g,median_wall_time:m,resource_descriptive_name:y})=>E.jsxs("p",{className:"card metrics-overview",children:[E.jsxs("b",{children:[$u(y),":"]})," Users ran"," ",E.jsxs("strong",{children:[E.jsx(ft,{name:"file-earmark-code"}),parseInt(h).toLocaleString("en-us")," jobs"]})," ","during the last 30 days. Waiting in the queue caused an average"," ",E.jsxs("strong",{children:[E.jsx(ft,{name:"calculator"}),((p-1)*100).toLocaleString("en-us",{maximumFractionDigits:0}),"% increase"]})," ","in the total completion time. The average job waited for"," ",E.jsxs("strong",{children:[E.jsx(ft,{name:"hourglass-split"})," ",Sb(g)]})," ","and ran for"," ",E.jsxs("strong",{children:[E.jsx(ft,{name:"stopwatch"}),Sb(m)]}),"."," ",E.jsx("a",{title:`Wait time chart for ${$u(y)}`,href:"#",onClick:w=>{w.preventDefault(),n(d)},children:"View chart »"})]},d))});else if(i&&i.info_resource_id===e){const d={},h=_p;for(let y of i.data)d[y.queue]=d[y.queue]||{label:y.queue,data:Array(_p.length).fill(null)},d[y.queue].data[_p.indexOf(y.job_walltime)]=y.median_wait_time/60;const p=Object.values(d);p.forEach((y,w)=>{let x=kb[w%(kb.length-1)];y.backgroundColor=getComputedStyle(document.body).getPropertyValue(x)});const g=a.find(y=>y.info_resourceid==i.info_resource_id),m={interaction:{intersect:!1,mode:"index"},plugins:{title:{display:!0,text:`Median Wait Time by Queue on ${$u(g.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(V5,{type:"bar",data:{labels:h,datasets:p},options:m}),E.jsx("p",{children:E.jsx("a",{href:"#",onClick:y=>{y.preventDefault(),n("overview")},children:"« Back to overview"})})]})}return E.jsxs(vo,{title:"Wait Time",icon:"hourglass-split",headerComponents:l,children:[u,E.jsxs("p",{className:"metrics-disclaimer",children:[E.jsx(ft,{name:"info-circle"}),"These metrics describe activity from ACCESS projects. Many resources have additional projects that are not part of ACCESS."]})]})}function ti(t){return Array.isArray?Array.isArray(t):Pb(t)==="[object Array]"}function Y5(t){if(typeof t=="string")return t;let e=t+"";return e=="0"&&1/t==-1/0?"-0":e}function q5(t){return t==null?"":Y5(t)}function Co(t){return typeof t=="string"}function Eb(t){return typeof t=="number"}function K5(t){return t===!0||t===!1||G5(t)&&Pb(t)=="[object Boolean]"}function Cb(t){return typeof t=="object"}function G5(t){return Cb(t)&&t!==null}function Ar(t){return t!=null}function Op(t){return!t.trim().length}function Pb(t){return t==null?t===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const X5="Incorrect 'index' type",J5=t=>`Invalid value for key ${t}`,Z5=t=>`Pattern length exceeds max of ${t}.`,$5=t=>`Missing ${t} property in key`,eM=t=>`Property 'weight' in key '${t}' must be a positive integer`,Db=Object.prototype.hasOwnProperty;class tM{constructor(e){this._keys=[],this._keyMap={};let n=0;e.forEach(r=>{let o=Bb(r);this._keys.push(o),this._keyMap[o.id]=o,n+=o.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 Bb(t){let e=null,n=null,r=null,o=1,i=null;if(Co(t)||ti(t))r=t,e=Tb(t),n=Rp(t);else{if(!Db.call(t,"name"))throw new Error($5("name"));const a=t.name;if(r=a,Db.call(t,"weight")&&(o=t.weight,o<=0))throw new Error(eM(a));e=Tb(a),n=Rp(a),i=t.getFn}return{path:e,id:n,weight:o,src:r,getFn:i}}function Tb(t){return ti(t)?t:t.split(".")}function Rp(t){return ti(t)?t.join("."):t}function nM(t,e){let n=[],r=!1;const o=(i,a,l)=>{if(Ar(i))if(!a[l])n.push(i);else{let u=a[l];const d=i[u];if(!Ar(d))return;if(l===a.length-1&&(Co(d)||Eb(d)||K5(d)))n.push(q5(d));else if(ti(d)){r=!0;for(let h=0,p=d.length;h<p;h+=1)o(d[h],a,l+1)}else a.length&&o(d,a,l+1)}};return o(t,Co(e)?e.split("."):e,0),r?n:n[0]}var Ge={...{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:nM,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1}};const rM=/[^ ]+/g;function oM(t=1,e=3){const n=new Map,r=Math.pow(10,e);return{get(o){const i=o.match(rM).length;if(n.has(i))return n.get(i);const a=1/Math.pow(i,.5*t),l=parseFloat(Math.round(a*r)/r);return n.set(i,l),l},clear(){n.clear()}}}class Lp{constructor({getFn:e=Ge.getFn,fieldNormWeight:n=Ge.fieldNormWeight}={}){this.norm=oM(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,Co(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();Co(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(!Ar(e)||Op(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((o,i)=>{let a=o.getFn?o.getFn(e):this.getFn(e,o.path);if(Ar(a)){if(ti(a)){let l=[];const u=[{nestedArrIndex:-1,value:a}];for(;u.length;){const{nestedArrIndex:d,value:h}=u.pop();if(Ar(h))if(Co(h)&&!Op(h)){let p={v:h,i:d,n:this.norm.get(h)};l.push(p)}else ti(h)&&h.forEach((p,g)=>{u.push({nestedArrIndex:g,value:p})})}r.$[i]=l}else if(Co(a)&&!Op(a)){let l={v:a,n:this.norm.get(a)};r.$[i]=l}}}),this.records.push(r)}toJSON(){return{keys:this.keys,records:this.records}}}function Ib(t,e,{getFn:n=Ge.getFn,fieldNormWeight:r=Ge.fieldNormWeight}={}){const o=new Lp({getFn:n,fieldNormWeight:r});return o.setKeys(t.map(Bb)),o.setSources(e),o.create(),o}function iM(t,{getFn:e=Ge.getFn,fieldNormWeight:n=Ge.fieldNormWeight}={}){const{keys:r,records:o}=t,i=new Lp({getFn:e,fieldNormWeight:n});return i.setKeys(r),i.setIndexRecords(o),i}function ed(t,{errors:e=0,currentLocation:n=0,expectedLocation:r=0,distance:o=Ge.distance,ignoreLocation:i=Ge.ignoreLocation}={}){const a=e/t.length;if(i)return a;const l=Math.abs(r-n);return o?a+l/o:l?1:a}function sM(t=[],e=Ge.minMatchCharLength){let n=[],r=-1,o=-1,i=0;for(let a=t.length;i<a;i+=1){let l=t[i];l&&r===-1?r=i:!l&&r!==-1&&(o=i-1,o-r+1>=e&&n.push([r,o]),r=-1)}return t[i-1]&&i-r>=e&&n.push([r,i-1]),n}const Ss=32;function aM(t,e,n,{location:r=Ge.location,distance:o=Ge.distance,threshold:i=Ge.threshold,findAllMatches:a=Ge.findAllMatches,minMatchCharLength:l=Ge.minMatchCharLength,includeMatches:u=Ge.includeMatches,ignoreLocation:d=Ge.ignoreLocation}={}){if(e.length>Ss)throw new Error(Z5(Ss));const h=e.length,p=t.length,g=Math.max(0,Math.min(r,p));let m=i,y=g;const w=l>1||u,x=w?Array(p):[];let P;for(;(P=t.indexOf(e,y))>-1;){let z=ed(e,{currentLocation:P,expectedLocation:g,distance:o,ignoreLocation:d});if(m=Math.min(z,m),y=P+h,w){let W=0;for(;W<h;)x[P+W]=1,W+=1}}y=-1;let _=[],D=1,C=h+p;const N=1<<h-1;for(let z=0;z<h;z+=1){let W=0,K=C;for(;W<K;)ed(e,{errors:z,currentLocation:g+K,expectedLocation:g,distance:o,ignoreLocation:d})<=m?W=K:C=K,K=Math.floor((C-W)/2+W);C=K;let q=Math.max(1,g-K+1),J=a?p:Math.min(g+K,p)+h,V=Array(J+2);V[J+1]=(1<<z)-1;for(let ce=J;ce>=q;ce-=1){let ne=ce-1,fe=n[t.charAt(ne)];if(w&&(x[ne]=+!!fe),V[ce]=(V[ce+1]<<1|1)&fe,z&&(V[ce]|=(_[ce+1]|_[ce])<<1|1|_[ce+1]),V[ce]&N&&(D=ed(e,{errors:z,currentLocation:ne,expectedLocation:g,distance:o,ignoreLocation:d}),D<=m)){if(m=D,y=ne,y<=g)break;q=Math.max(1,2*g-y)}}if(ed(e,{errors:z+1,currentLocation:g,expectedLocation:g,distance:o,ignoreLocation:d})>m)break;_=V}const R={isMatch:y>=0,score:Math.max(.001,D)};if(w){const z=sM(x,l);z.length?u&&(R.indices=z):R.isMatch=!1}return R}function lM(t){let e={};for(let n=0,r=t.length;n<r;n+=1){const o=t.charAt(n);e[o]=(e[o]||0)|1<<r-n-1}return e}const td=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 _b{constructor(e,{location:n=Ge.location,threshold:r=Ge.threshold,distance:o=Ge.distance,includeMatches:i=Ge.includeMatches,findAllMatches:a=Ge.findAllMatches,minMatchCharLength:l=Ge.minMatchCharLength,isCaseSensitive:u=Ge.isCaseSensitive,ignoreDiacritics:d=Ge.ignoreDiacritics,ignoreLocation:h=Ge.ignoreLocation}={}){if(this.options={location:n,threshold:r,distance:o,includeMatches:i,findAllMatches:a,minMatchCharLength:l,isCaseSensitive:u,ignoreDiacritics:d,ignoreLocation:h},e=u?e:e.toLowerCase(),e=d?td(e):e,this.pattern=e,this.chunks=[],!this.pattern.length)return;const p=(m,y)=>{this.chunks.push({pattern:m,alphabet:lM(m),startIndex:y})},g=this.pattern.length;if(g>Ss){let m=0;const y=g%Ss,w=g-y;for(;m<w;)p(this.pattern.substr(m,Ss),m),m+=Ss;if(y){const x=g-Ss;p(this.pattern.substr(x),x)}}else p(this.pattern,0)}searchIn(e){const{isCaseSensitive:n,ignoreDiacritics:r,includeMatches:o}=this.options;if(e=n?e:e.toLowerCase(),e=r?td(e):e,this.pattern===e){let w={isMatch:!0,score:0};return o&&(w.indices=[[0,e.length-1]]),w}const{location:i,distance:a,threshold:l,findAllMatches:u,minMatchCharLength:d,ignoreLocation:h}=this.options;let p=[],g=0,m=!1;this.chunks.forEach(({pattern:w,alphabet:x,startIndex:P})=>{const{isMatch:_,score:D,indices:C}=aM(e,w,x,{location:i+P,distance:a,threshold:l,findAllMatches:u,minMatchCharLength:d,includeMatches:o,ignoreLocation:h});_&&(m=!0),g+=D,_&&C&&(p=[...p,...C])});let y={isMatch:m,score:m?g/this.chunks.length:1};return m&&o&&(y.indices=p),y}}class Li{constructor(e){this.pattern=e}static isMultiMatch(e){return Mb(e,this.multiRegex)}static isSingleMatch(e){return Mb(e,this.singleRegex)}search(){}}function Mb(t,e){const n=t.match(e);return n?n[1]:null}class cM extends Li{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 uM extends Li{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 dM extends Li{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 fM extends Li{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 hM extends Li{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 pM extends Li{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 Ob extends Li{constructor(e,{location:n=Ge.location,threshold:r=Ge.threshold,distance:o=Ge.distance,includeMatches:i=Ge.includeMatches,findAllMatches:a=Ge.findAllMatches,minMatchCharLength:l=Ge.minMatchCharLength,isCaseSensitive:u=Ge.isCaseSensitive,ignoreDiacritics:d=Ge.ignoreDiacritics,ignoreLocation:h=Ge.ignoreLocation}={}){super(e),this._bitapSearch=new _b(e,{location:n,threshold:r,distance:o,includeMatches:i,findAllMatches:a,minMatchCharLength:l,isCaseSensitive:u,ignoreDiacritics:d,ignoreLocation:h})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class Rb extends Li{constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let n=0,r;const o=[],i=this.pattern.length;for(;(r=e.indexOf(this.pattern,n))>-1;)n=r+i,o.push([r,n-1]);const a=!!o.length;return{isMatch:a,score:a?0:1,indices:o}}}const Fp=[cM,Rb,dM,fM,pM,hM,uM,Ob],Lb=Fp.length,AM=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,gM="|";function mM(t,e={}){return t.split(gM).map(n=>{let r=n.trim().split(AM).filter(i=>i&&!!i.trim()),o=[];for(let i=0,a=r.length;i<a;i+=1){const l=r[i];let u=!1,d=-1;for(;!u&&++d<Lb;){const h=Fp[d];let p=h.isMultiMatch(l);p&&(o.push(new h(p,e)),u=!0)}if(!u)for(d=-1;++d<Lb;){const h=Fp[d];let p=h.isSingleMatch(l);if(p){o.push(new h(p,e));break}}}return o})}const vM=new Set([Ob.type,Rb.type]);class yM{constructor(e,{isCaseSensitive:n=Ge.isCaseSensitive,ignoreDiacritics:r=Ge.ignoreDiacritics,includeMatches:o=Ge.includeMatches,minMatchCharLength:i=Ge.minMatchCharLength,ignoreLocation:a=Ge.ignoreLocation,findAllMatches:l=Ge.findAllMatches,location:u=Ge.location,threshold:d=Ge.threshold,distance:h=Ge.distance}={}){this.query=null,this.options={isCaseSensitive:n,ignoreDiacritics:r,includeMatches:o,minMatchCharLength:i,findAllMatches:l,ignoreLocation:a,location:u,threshold:d,distance:h},e=n?e:e.toLowerCase(),e=r?td(e):e,this.pattern=e,this.query=mM(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:o,ignoreDiacritics:i}=this.options;e=o?e:e.toLowerCase(),e=i?td(e):e;let a=0,l=[],u=0;for(let d=0,h=n.length;d<h;d+=1){const p=n[d];l.length=0,a=0;for(let g=0,m=p.length;g<m;g+=1){const y=p[g],{isMatch:w,indices:x,score:P}=y.search(e);if(w){if(a+=1,u+=P,r){const _=y.constructor.type;vM.has(_)?l=[...l,...x]:l.push(x)}}else{u=0,a=0,l.length=0;break}}if(a){let g={isMatch:!0,score:u/a};return r&&(g.indices=l),g}}return{isMatch:!1,score:1}}}const jp=[];function xM(...t){jp.push(...t)}function Np(t,e){for(let n=0,r=jp.length;n<r;n+=1){let o=jp[n];if(o.condition(t,e))return new o(t,e)}return new _b(t,e)}const nd={AND:"$and",OR:"$or"},zp={PATH:"$path",PATTERN:"$val"},Qp=t=>!!(t[nd.AND]||t[nd.OR]),bM=t=>!!t[zp.PATH],wM=t=>!ti(t)&&Cb(t)&&!Qp(t),Fb=t=>({[nd.AND]:Object.keys(t).map(e=>({[e]:t[e]}))});function jb(t,e,{auto:n=!0}={}){const r=o=>{let i=Object.keys(o);const a=bM(o);if(!a&&i.length>1&&!Qp(o))return r(Fb(o));if(wM(o)){const u=a?o[zp.PATH]:i[0],d=a?o[zp.PATTERN]:o[u];if(!Co(d))throw new Error(J5(u));const h={keyId:Rp(u),pattern:d};return n&&(h.searcher=Np(d,e)),h}let l={children:[],operator:i[0]};return i.forEach(u=>{const d=o[u];ti(d)&&d.forEach(h=>{l.children.push(r(h))})}),l};return Qp(t)||(t=Fb(t)),r(t)}function kM(t,{ignoreFieldNorm:e=Ge.ignoreFieldNorm}){t.forEach(n=>{let r=1;n.matches.forEach(({key:o,norm:i,score:a})=>{const l=o?o.weight:null;r*=Math.pow(a===0&&l?Number.EPSILON:a,(l||1)*(e?1:i))}),n.score=r})}function SM(t,e){const n=t.matches;e.matches=[],Ar(n)&&n.forEach(r=>{if(!Ar(r.indices)||!r.indices.length)return;const{indices:o,value:i}=r;let a={indices:o,value:i};r.key&&(a.key=r.key.src),r.idx>-1&&(a.refIndex=r.idx),e.matches.push(a)})}function EM(t,e){e.score=t.score}function CM(t,e,{includeMatches:n=Ge.includeMatches,includeScore:r=Ge.includeScore}={}){const o=[];return n&&o.push(SM),r&&o.push(EM),t.map(i=>{const{idx:a}=i,l={item:e[a],refIndex:a};return o.length&&o.forEach(u=>{u(i,l)}),l})}class wa{constructor(e,n={},r){this.options={...Ge,...n},this.options.useExtendedSearch,this._keyStore=new tM(this.options.keys),this.setCollection(e,r)}setCollection(e,n){if(this._docs=e,n&&!(n instanceof Lp))throw new Error(X5);this._myIndex=n||Ib(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){Ar(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=()=>!1){const n=[];for(let r=0,o=this._docs.length;r<o;r+=1){const i=this._docs[r];e(i,r)&&(this.removeAt(r),r-=1,o-=1,n.push(i))}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:o,shouldSort:i,sortFn:a,ignoreFieldNorm:l}=this.options;let u=Co(e)?Co(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return kM(u,{ignoreFieldNorm:l}),i&&u.sort(a),Eb(n)&&n>-1&&(u=u.slice(0,n)),CM(u,this._docs,{includeMatches:r,includeScore:o})}_searchStringList(e){const n=Np(e,this.options),{records:r}=this._myIndex,o=[];return r.forEach(({v:i,i:a,n:l})=>{if(!Ar(i))return;const{isMatch:u,score:d,indices:h}=n.searchIn(i);u&&o.push({item:i,idx:a,matches:[{score:d,value:i,norm:l,indices:h}]})}),o}_searchLogical(e){const n=jb(e,this.options),r=(l,u,d)=>{if(!l.children){const{keyId:p,searcher:g}=l,m=this._findMatches({key:this._keyStore.get(p),value:this._myIndex.getValueForItemAtKeyId(u,p),searcher:g});return m&&m.length?[{idx:d,item:u,matches:m}]:[]}const h=[];for(let p=0,g=l.children.length;p<g;p+=1){const m=l.children[p],y=r(m,u,d);if(y.length)h.push(...y);else if(l.operator===nd.AND)return[]}return h},o=this._myIndex.records,i={},a=[];return o.forEach(({$:l,i:u})=>{if(Ar(l)){let d=r(n,l,u);d.length&&(i[u]||(i[u]={idx:u,item:l,matches:[]},a.push(i[u])),d.forEach(({matches:h})=>{i[u].matches.push(...h)}))}}),a}_searchObjectList(e){const n=Np(e,this.options),{keys:r,records:o}=this._myIndex,i=[];return o.forEach(({$:a,i:l})=>{if(!Ar(a))return;let u=[];r.forEach((d,h)=>{u.push(...this._findMatches({key:d,value:a[h],searcher:n}))}),u.length&&i.push({idx:l,item:a,matches:u})}),i}_findMatches({key:e,value:n,searcher:r}){if(!Ar(n))return[];let o=[];if(ti(n))n.forEach(({v:i,i:a,n:l})=>{if(!Ar(i))return;const{isMatch:u,score:d,indices:h}=r.searchIn(i);u&&o.push({score:d,key:e,value:i,idx:a,norm:l,indices:h})});else{const{v:i,n:a}=n,{isMatch:l,score:u,indices:d}=r.searchIn(i);l&&o.push({score:u,key:e,value:i,norm:a,indices:d})}return o}}wa.version="7.1.0",wa.createIndex=Ib,wa.parseIndex=iM,wa.config=Ge,wa.parseQuery=jb,xM(yM);function PM({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 o=[];let i=0;for(let a of r)a.index>i&&o.push(e.substr(i,a.index)),o.push(E.jsx("span",{className:"highlight",children:a[0]})),i=a.index+a[0].length;return o.push(e.substr(i)),o}function DM({delay:t=300,placeholder:e,setSearchText:n,width:r="calc(var(--width) / 4)"}){const o=M.useRef(null),i=M.useRef(null),[a,l]=M.useState(""),u=()=>{l(""),n(""),o.current.value="",o.current.focus()};return M.useLayoutEffect(()=>{o.current&&o.current.addEventListener("keyup",()=>{i.current&&clearTimeout(i.current),i.current=setTimeout(()=>{i.current=null,n(o.current.value),l(o.current.value)},t)})},[o.current]),E.jsx(E.Fragment,{children:E.jsxs("div",{className:"search",children:[E.jsx("input",{placeholder:e,style:{width:r},ref:o}),a.length?E.jsx("button",{className:"btn btn-clear",title:"Clear search",onClick:u,children:E.jsx(ft,{name:"x-lg"})}):null]})})}const BM=["software_name","software_description","software_web_page","software_documentation","software_use_link","software_versions"];function TM({infoGroupId:t}){const e=Fn("https://sds-ara-api.access-ci.org/api/v1",{body:JSON.stringify({rps:[t],columns:BM}),headers:{"Content-Type":"application/json","X-API-Key":"asSuQQ0IfIEUrSRTl44aqn2ZpMPpJ_G02BgemAY4WN0"},method:"POST"}),[n,r]=M.useState(""),o=M.useMemo(()=>e?.data&&e.data.length?new wa(e.data,{keys:[{name:"software_name",weight:.6},{name:"software_description",weight:.4}]}):null,[e?.data]);if(!e?.data||!e.data.length)return;const i=g=>E.jsx(PM,{text:g,highlight:n}),d=[{key:"software_name",name:"Package",format:(g,m)=>{const y=i(g),w=m.software_web_page||m.software_documentation,x=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:y},"name"):y," ",m.software_documentation&&E.jsx("a",{href:m.software_documentation,title:`Documentation for ${g}`,children:E.jsx(ft,{name:"book"})},"documentation")," ",x&&x!=m.software_documentation&&E.jsx("a",{href:x,title:`Usage example for ${g}`,children:E.jsx(ft,{name:"terminal"})},"use")]})}},{key:"software_versions",name:"Versions",format:(g,m)=>m.rps[t].software_versions.join(", ")},{key:"software_description",name:"Description",format:(g,m)=>{const y=/Description Source:[ ]+(http[^ ]+)/,w=g.match(y);return E.jsxs(E.Fragment,{children:[i(g.replace(y,""))," ",w?E.jsx("a",{href:w[1],title:`Description source for ${m.software_name}`,children:E.jsx(ft,{name:"info-circle"})}):null]})}}],h=n.length?o.search(n).map(g=>g.item):e.data,p=[E.jsx(DM,{placeholder:"Search software packages...",setSearchText:r},"search")];return E.jsx(vo,{title:"Software",icon:"terminal",headerComponents:p,children:E.jsx(uu,{columns:d,rows:h,scrollResetOnUpdate:!0})})}function IM({prompt:t="Jump To:"}){const[e,n]=M.useState([]),r=M.useRef(null),o=()=>{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)},i=a=>{const l=r.current.querySelector(`#${a}`);l&&l.scrollIntoView()};return M.useEffect(()=>{r.current&&(o(),document.addEventListener("accessci-update-sections",o))},[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(),i(l)},children:[a?E.jsxs(E.Fragment,{children:[E.jsx(ft,{name:a})," "]}):null,u]})},l))})]}):null})}function _M({baseUri:t,showBreadcrumbs:e=!0}){const{infoGroupId:n}=e2(),r=sl(n),o=[{name:"Resources",href:t}];return r&&o.push({name:r.name}),E.jsxs(E.Fragment,{children:[e&&E.jsx(cf,{expandWidth:!0,items:o,topBorder:!0}),E.jsxs("div",{className:"resource-group-detail",children:[E.jsx(gD,{infoGroupId:n}),E.jsx(IM,{}),E.jsx(rT,{infoGroupId:n}),E.jsx(XB,{infoGroupId:n}),E.jsx(eT,{infoGroupId:n}),E.jsx(AD,{infoGroupId:n}),E.jsx(TM,{infoGroupId:n}),E.jsx(qT,{infoGroupId:n}),E.jsx(W5,{infoGroupId:n}),E.jsx(yD,{infoGroupId:n})]})]})}const MM=Object.freeze(Object.defineProperty({__proto__:null,default:_M},Symbol.toStringTag,{value:"Module"})),OM={"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 Nb({active:t,tagCategory:e,tagId:n,iconUri:r,name:o,toggleTag:i}){const a=r||OM[o]||"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(),i(n)},children:[a.startsWith("http")?E.jsx(ft,{alt:o,src:a}):E.jsx(ft,{name:a}),o]})})}function zb({children:t}){return E.jsx("ul",{className:"tags",children:t})}function RM({active:t,baseUri:e,description:n,imageType:r,imageUri:o,name:i,infoGroupId:a,parentInfoGroupId:l,tags:u,toggleTag:d}){const h=`${e}/${l||a}`;return E.jsxs("div",{className:"resource-group",children:[E.jsx("a",{className:`resource-group-image image-type-${r}`,href:h,children:o?E.jsx("img",{src:o}):E.jsx(ft,{name:"motherboard"})}),E.jsxs("div",{className:"resource-group-text",children:[E.jsx("h3",{children:E.jsx("a",{href:h,children:i})}),E.jsx(zb,{children:u.map(p=>E.jsx(Nb,{...p,active:t,toggleTag:d},p.tagId))}),E.jsxs("p",{children:[n&&n,E.jsx("br",{}),E.jsxs("a",{href:h,children:["Learn more about ",i," »"]})]})]})]})}function LM({active:t,baseUri:e,name:n,resourceGroups:r,toggleTag:o}){return E.jsxs(E.Fragment,{children:[E.jsx("h2",{children:n}),r.filter(({infoGroupId:i})=>t.infoGroupIds.has(i)).map(i=>E.jsx(RM,{...i,baseUri:e,active:t,toggleTag:o},i.infoGroupId))]})}function FM({active:t,clearTags:e,tagCategories:n,toggleTag:r}){const[o,i]=M.useState(!1),a=M.useRef(null);return M.useEffect(()=>{const l=()=>i(!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:()=>i(!o),className:`btn-filters btn ${o?"active":""}`,children:[E.jsx(ft,{name:"filter"})," Filters",t.tagIds.size>0?E.jsx("span",{className:"active-tag-count",children:t.tagIds.size}):null]}),o?E.jsxs("div",{className:"filters-inner",children:[n.map(l=>E.jsxs(E.Fragment,{children:[E.jsx("h2",{children:l.name}),E.jsx(zb,{children:l.tags.map(u=>E.jsx(Nb,{...u,active:t,toggleTag:r}))})]})),E.jsxs("button",{onClick:e,disabled:t.tagIds.size==0,className:"btn danger",children:[E.jsx(ft,{name:"trash"})," Clear Filters"]})]}):null]})}function jM({setBotOpen:t}){const e=M.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:o,href:i,description:a,login:l,onClick:u},d)=>E.jsx("li",{className:`resource-pathway-${d}`,children:E.jsxs("a",{href:i||"#",onClick:u,children:[o?E.jsx(ft,{name:o}):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(ft,{name:"key"})," Requires ACCESS Login"]}):null]})]})},r))})]})}function NM({baseUri:t,title:e,setBotOpen:n,showBreadcrumbs:r=!0,showTitle:o=!0}){const[i,a]=M.useState([]),l=Tg(),u=M.useMemo(()=>l?uk(l,i):null,[l,i]),d=p=>a(i.includes(p)?i.filter(g=>g!=p):[...i,p]),h=()=>a([]);return E.jsxs(E.Fragment,{children:[r&&E.jsx(cf,{expandWidth:!0,items:[{name:"Resources"}],topBorder:!0}),e&&E.jsx("h1",{className:o?"":"visually-hidden",children:e}),E.jsx(jM,{setBotOpen:n}),E.jsxs("div",{id:"browse-resources",children:[u?E.jsx(FM,{tagCategories:l.tagCategories,active:u,clearTags:h,toggleTag:d}):null,l?l.resourceCategories.filter(({resourceCategoryId:p})=>u.resourceCategoryIds.has(p)).map(p=>E.jsx(LM,{...p,active:u,baseUri:t,clearTags:h,toggleTag:d},p.name)):null]})]})}const zM=Object.freeze(Object.defineProperty({__proto__:null,default:NM},Symbol.toStringTag,{value:"Module"}));mn.breadcrumbs=xS,mn.footer=bS,mn.footerMenus=wS,mn.header=kS,mn.loginMenuItem=Eg,mn.myAccessMenuItem=Sg,mn.qaBot=SS,mn.resourceCatalog=ES,mn.siteMenus=CS,mn.tableOfContents=PS,mn.universalMenuItems=kg,mn.universalMenus=DS,Object.defineProperty(mn,Symbol.toStringTag,{value:"Module"})}));
|