diff --git a/dashboard/assets/packages/ui/dist/assets/index-c22a49a3.js b/dashboard/assets/packages/ui/dist/assets/index-eb8d20e7.js similarity index 99% rename from dashboard/assets/packages/ui/dist/assets/index-c22a49a3.js rename to dashboard/assets/packages/ui/dist/assets/index-eb8d20e7.js index f2b5dae..33850e0 100644 --- a/dashboard/assets/packages/ui/dist/assets/index-c22a49a3.js +++ b/dashboard/assets/packages/ui/dist/assets/index-eb8d20e7.js @@ -41,7 +41,7 @@ var Qv=Object.defineProperty;var Zv=(e,t,n)=>t in e?Qv(e,t,{enumerable:!0,config `+l[o].replace(" at new "," at ");return e.displayName&&u.includes("")&&(u=u.replace("",e.displayName)),u}while(1<=o&&0<=s);break}}}finally{cu=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Hi(e):""}function Tg(e){switch(e.tag){case 5:return Hi(e.type);case 16:return Hi("Lazy");case 13:return Hi("Suspense");case 19:return Hi("SuspenseList");case 0:case 2:case 15:return e=fu(e.type,!1),e;case 11:return e=fu(e.type.render,!1),e;case 1:return e=fu(e.type,!0),e;default:return""}}function Gu(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Ol:return"Fragment";case Pl:return"Portal";case Wu:return"Profiler";case nf:return"StrictMode";case qu:return"Suspense";case Ku:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case kh:return(e.displayName||"Context")+".Consumer";case xh:return(e._context.displayName||"Context")+".Provider";case rf:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case lf:return t=e.displayName||null,t!==null?t:Gu(e.type)||"Memo";case _r:t=e._payload,e=e._init;try{return Gu(e(t))}catch{}}return null}function Pg(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Gu(t);case 8:return t===nf?"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 t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Dr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Eh(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Og(e){var t=Eh(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(o){r=""+o,i.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function es(e){e._valueTracker||(e._valueTracker=Og(e))}function Ch(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Eh(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Fs(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Yu(e,t){var n=t.checked;return Ye({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Kd(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Dr(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Th(e,t){t=t.checked,t!=null&&tf(e,"checked",t,!1)}function Qu(e,t){Th(e,t);var n=Dr(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Zu(e,t.type,n):t.hasOwnProperty("defaultValue")&&Zu(e,t.type,Dr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Gd(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Zu(e,t,n){(t!=="number"||Fs(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Vi=Array.isArray;function Il(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l"+t.valueOf().toString()+"",t=ts.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function uo(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Yi={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},Ng=["Webkit","ms","Moz","O"];Object.keys(Yi).forEach(function(e){Ng.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Yi[t]=Yi[e]})});function Mh(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Yi.hasOwnProperty(e)&&Yi[e]?(""+t).trim():t+"px"}function Lh(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=Mh(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var Mg=Ye({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 ec(e,t){if(t){if(Mg[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error($(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error($(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error($(61))}if(t.style!=null&&typeof t.style!="object")throw Error($(62))}}function tc(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){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 nc=null;function of(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var rc=null,Bl=null,$l=null;function Zd(e){if(e=jo(e)){if(typeof rc!="function")throw Error($(280));var t=e.stateNode;t&&(t=wa(t),rc(e.stateNode,e.type,t))}}function Rh(e){Bl?$l?$l.push(e):$l=[e]:Bl=e}function jh(){if(Bl){var e=Bl,t=$l;if($l=Bl=null,Zd(e),t)for(e=0;e>>=0,e===0?32:31-($g(e)/Hg|0)|0}var ns=64,rs=4194304;function Ui(e){switch(e&-e){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 e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Hs(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,i=e.pingedLanes,o=n&268435455;if(o!==0){var s=o&~l;s!==0?r=Ui(s):(i&=o,i!==0&&(r=Ui(i)))}else o=n&~l,o!==0?r=Ui(o):i!==0&&(r=Ui(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&l)&&(l=r&-r,i=t&-t,l>=i||l===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Lo(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Dn(t),e[t]=n}function qg(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Zi),op=String.fromCharCode(32),sp=!1;function Xh(e,t){switch(e){case"keyup":return _y.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function em(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Nl=!1;function ky(e,t){switch(e){case"compositionend":return em(t);case"keypress":return t.which!==32?null:(sp=!0,op);case"textInput":return e=t.data,e===op&&sp?null:e;default:return null}}function Sy(e,t){if(Nl)return e==="compositionend"||!hf&&Xh(e,t)?(e=Zh(),Cs=ff=Cr=null,Nl=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=fp(n)}}function lm(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?lm(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function im(){for(var e=window,t=Fs();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Fs(e.document)}return t}function mf(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Ry(e){var t=im(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&lm(n.ownerDocument.documentElement,n)){if(r!==null&&mf(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var l=n.textContent.length,i=Math.min(r.start,l);r=r.end===void 0?i:Math.min(r.end,l),!e.extend&&i>r&&(l=r,r=i,i=l),l=dp(n,i);var o=dp(n,r);l&&o&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Ml=null,uc=null,Xi=null,cc=!1;function pp(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;cc||Ml==null||Ml!==Fs(r)||(r=Ml,"selectionStart"in r&&mf(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Xi&&vo(Xi,r)||(Xi=r,r=Ws(uc,"onSelect"),0jl||(e.current=vc[jl],vc[jl]=null,jl--)}function Ae(e,t){jl++,vc[jl]=e.current,e.current=t}var zr={},bt=Fr(zr),Gt=Fr(!1),ll=zr;function Kl(e,t){var n=e.type.contextTypes;if(!n)return zr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},i;for(i in n)l[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function Yt(e){return e=e.childContextTypes,e!=null}function Ks(){Ie(Gt),Ie(bt)}function _p(e,t,n){if(bt.current!==zr)throw Error($(168));Ae(bt,t),Ae(Gt,n)}function hm(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error($(108,Pg(e)||"Unknown",l));return Ye({},n,r)}function Gs(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||zr,ll=bt.current,Ae(bt,e),Ae(Gt,Gt.current),!0}function xp(e,t,n){var r=e.stateNode;if(!r)throw Error($(169));n?(e=hm(e,t,ll),r.__reactInternalMemoizedMergedChildContext=e,Ie(Gt),Ie(bt),Ae(bt,e)):Ie(Gt),Ae(Gt,n)}var tr=null,_a=!1,Cu=!1;function mm(e){tr===null?tr=[e]:tr.push(e)}function Uy(e){_a=!0,mm(e)}function Ir(){if(!Cu&&tr!==null){Cu=!0;var e=0,t=Le;try{var n=tr;for(Le=1;e>=o,l-=o,nr=1<<32-Dn(t)+l|n<R?(I=M,M=null):I=M.sibling;var D=d(y,M,w[R],T);if(D===null){M===null&&(M=I);break}e&&M&&D.alternate===null&&t(y,M),v=i(D,v,R),L===null?O=D:L.sibling=D,L=D,M=I}if(R===w.length)return n(y,M),Ve&&Wr(y,R),O;if(M===null){for(;RR?(I=M,M=null):I=M.sibling;var b=d(y,M,D.value,T);if(b===null){M===null&&(M=I);break}e&&M&&b.alternate===null&&t(y,M),v=i(b,v,R),L===null?O=b:L.sibling=b,L=b,M=I}if(D.done)return n(y,M),Ve&&Wr(y,R),O;if(M===null){for(;!D.done;R++,D=w.next())D=p(y,D.value,T),D!==null&&(v=i(D,v,R),L===null?O=D:L.sibling=D,L=D);return Ve&&Wr(y,R),O}for(M=r(y,M);!D.done;R++,D=w.next())D=g(M,y,R,D.value,T),D!==null&&(e&&D.alternate!==null&&M.delete(D.key===null?R:D.key),v=i(D,v,R),L===null?O=D:L.sibling=D,L=D);return e&&M.forEach(function(H){return t(y,H)}),Ve&&Wr(y,R),O}function P(y,v,w,T){if(typeof w=="object"&&w!==null&&w.type===Ol&&w.key===null&&(w=w.props.children),typeof w=="object"&&w!==null){switch(w.$$typeof){case Xo:e:{for(var O=w.key,L=v;L!==null;){if(L.key===O){if(O=w.type,O===Ol){if(L.tag===7){n(y,L.sibling),v=l(L,w.props.children),v.return=y,y=v;break e}}else if(L.elementType===O||typeof O=="object"&&O!==null&&O.$$typeof===_r&&Op(O)===L.type){n(y,L.sibling),v=l(L,w.props),v.ref=zi(y,L,w),v.return=y,y=v;break e}n(y,L);break}else t(y,L);L=L.sibling}w.type===Ol?(v=el(w.props.children,y.mode,T,w.key),v.return=y,y=v):(T=js(w.type,w.key,w.props,null,y.mode,T),T.ref=zi(y,v,w),T.return=y,y=T)}return o(y);case Pl:e:{for(L=w.key;v!==null;){if(v.key===L)if(v.tag===4&&v.stateNode.containerInfo===w.containerInfo&&v.stateNode.implementation===w.implementation){n(y,v.sibling),v=l(v,w.children||[]),v.return=y,y=v;break e}else{n(y,v);break}else t(y,v);v=v.sibling}v=ju(w,y.mode,T),v.return=y,y=v}return o(y);case _r:return L=w._init,P(y,v,L(w._payload),T)}if(Vi(w))return _(y,v,w,T);if(Li(w))return x(y,v,w,T);cs(y,w)}return typeof w=="string"&&w!==""||typeof w=="number"?(w=""+w,v!==null&&v.tag===6?(n(y,v.sibling),v=l(v,w),v.return=y,y=v):(n(y,v),v=Ru(w,y.mode,T),v.return=y,y=v),o(y)):n(y,v)}return P}var Yl=Sm(!0),Em=Sm(!1),Ao={},Wn=Fr(Ao),_o=Fr(Ao),xo=Fr(Ao);function Jr(e){if(e===Ao)throw Error($(174));return e}function Ef(e,t){switch(Ae(xo,t),Ae(_o,e),Ae(Wn,Ao),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Xu(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Xu(t,e)}Ie(Wn),Ae(Wn,t)}function Ql(){Ie(Wn),Ie(_o),Ie(xo)}function Cm(e){Jr(xo.current);var t=Jr(Wn.current),n=Xu(t,e.type);t!==n&&(Ae(_o,e),Ae(Wn,n))}function Cf(e){_o.current===e&&(Ie(Wn),Ie(_o))}var Ke=Fr(0);function ea(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Tu=[];function Tf(){for(var e=0;en?n:4,e(!0);var r=Pu.transition;Pu.transition={};try{e(!1),t()}finally{Le=n,Pu.transition=r}}function $m(){return kn().memoizedState}function Gy(e,t,n){var r=jr(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Hm(e))Vm(t,n);else if(n=wm(e,t,n,r),n!==null){var l=Ht();zn(n,e,r,l),Um(n,t,r)}}function Yy(e,t,n){var r=jr(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Hm(e))Vm(t,l);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var o=t.lastRenderedState,s=i(o,n);if(l.hasEagerState=!0,l.eagerState=s,bn(s,o)){var u=t.interleaved;u===null?(l.next=l,kf(t)):(l.next=u.next,u.next=l),t.interleaved=l;return}}catch{}finally{}n=wm(e,t,l,r),n!==null&&(l=Ht(),zn(n,e,r,l),Um(n,t,r))}}function Hm(e){var t=e.alternate;return e===Ge||t!==null&&t===Ge}function Vm(e,t){eo=ta=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Um(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,af(e,n)}}var na={readContext:xn,useCallback:At,useContext:At,useEffect:At,useImperativeHandle:At,useInsertionEffect:At,useLayoutEffect:At,useMemo:At,useReducer:At,useRef:At,useState:At,useDebugValue:At,useDeferredValue:At,useTransition:At,useMutableSource:At,useSyncExternalStore:At,useId:At,unstable_isNewReconciler:!1},Qy={readContext:xn,useCallback:function(e,t){return Hn().memoizedState=[e,t===void 0?null:t],e},useContext:xn,useEffect:Mp,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Ns(4194308,4,zm.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ns(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ns(4,2,e,t)},useMemo:function(e,t){var n=Hn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Hn();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Gy.bind(null,Ge,e),[r.memoizedState,e]},useRef:function(e){var t=Hn();return e={current:e},t.memoizedState=e},useState:Np,useDebugValue:Lf,useDeferredValue:function(e){return Hn().memoizedState=e},useTransition:function(){var e=Np(!1),t=e[0];return e=Ky.bind(null,e[1]),Hn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Ge,l=Hn();if(Ve){if(n===void 0)throw Error($(407));n=n()}else{if(n=t(),kt===null)throw Error($(349));ol&30||Om(r,t,n)}l.memoizedState=n;var i={value:n,getSnapshot:t};return l.queue=i,Mp(Mm.bind(null,r,i,e),[e]),r.flags|=2048,Eo(9,Nm.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Hn(),t=kt.identifierPrefix;if(Ve){var n=rr,r=nr;n=(r&~(1<<32-Dn(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=ko++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[Vn]=t,e[wo]=r,Xm(e,t,!1,!1),t.stateNode=e;e:{switch(o=tc(n,r),n){case"dialog":Fe("cancel",e),Fe("close",e),l=r;break;case"iframe":case"object":case"embed":Fe("load",e),l=r;break;case"video":case"audio":for(l=0;lJl&&(t.flags|=128,r=!0,bi(i,!1),t.lanes=4194304)}else{if(!r)if(e=ea(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),bi(i,!0),i.tail===null&&i.tailMode==="hidden"&&!o.alternate&&!Ve)return Dt(t),null}else 2*et()-i.renderingStartTime>Jl&&n!==1073741824&&(t.flags|=128,r=!0,bi(i,!1),t.lanes=4194304);i.isBackwards?(o.sibling=t.child,t.child=o):(n=i.last,n!==null?n.sibling=o:t.child=o,i.last=o)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=et(),t.sibling=null,n=Ke.current,Ae(Ke,r?n&1|2:n&1),t):(Dt(t),null);case 22:case 23:return bf(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?tn&1073741824&&(Dt(t),t.subtreeFlags&6&&(t.flags|=8192)):Dt(t),null;case 24:return null;case 25:return null}throw Error($(156,t.tag))}function l2(e,t){switch(gf(t),t.tag){case 1:return Yt(t.type)&&Ks(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Ql(),Ie(Gt),Ie(bt),Tf(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Cf(t),null;case 13:if(Ie(Ke),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error($(340));Gl()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Ie(Ke),null;case 4:return Ql(),null;case 10:return xf(t.type._context),null;case 22:case 23:return bf(),null;case 24:return null;default:return null}}var ds=!1,zt=!1,i2=typeof WeakSet=="function"?WeakSet:Set,ee=null;function bl(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Je(e,t,r)}else n.current=null}function Oc(e,t,n){try{n()}catch(r){Je(e,t,r)}}var Ip=!1;function o2(e,t){if(fc=Vs,e=im(),mf(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var l=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var o=0,s=-1,u=-1,a=0,c=0,p=e,d=null;t:for(;;){for(var g;p!==n||l!==0&&p.nodeType!==3||(s=o+l),p!==i||r!==0&&p.nodeType!==3||(u=o+r),p.nodeType===3&&(o+=p.nodeValue.length),(g=p.firstChild)!==null;)d=p,p=g;for(;;){if(p===e)break t;if(d===n&&++a===l&&(s=o),d===i&&++c===r&&(u=o),(g=p.nextSibling)!==null)break;p=d,d=p.parentNode}p=g}n=s===-1||u===-1?null:{start:s,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(dc={focusedElem:e,selectionRange:n},Vs=!1,ee=t;ee!==null;)if(t=ee,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,ee=e;else for(;ee!==null;){t=ee;try{var _=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(_!==null){var x=_.memoizedProps,P=_.memoizedState,y=t.stateNode,v=y.getSnapshotBeforeUpdate(t.elementType===t.type?x:Rn(t.type,x),P);y.__reactInternalSnapshotBeforeUpdate=v}break;case 3:var w=t.stateNode.containerInfo;w.nodeType===1?w.textContent="":w.nodeType===9&&w.documentElement&&w.removeChild(w.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error($(163))}}catch(T){Je(t,t.return,T)}if(e=t.sibling,e!==null){e.return=t.return,ee=e;break}ee=t.return}return _=Ip,Ip=!1,_}function to(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var i=l.destroy;l.destroy=void 0,i!==void 0&&Oc(t,n,i)}l=l.next}while(l!==r)}}function Sa(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Nc(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function n1(e){var t=e.alternate;t!==null&&(e.alternate=null,n1(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Vn],delete t[wo],delete t[mc],delete t[Hy],delete t[Vy])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function r1(e){return e.tag===5||e.tag===3||e.tag===4}function Bp(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||r1(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Mc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=qs));else if(r!==4&&(e=e.child,e!==null))for(Mc(e,t,n),e=e.sibling;e!==null;)Mc(e,t,n),e=e.sibling}function Lc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Lc(e,t,n),e=e.sibling;e!==null;)Lc(e,t,n),e=e.sibling}var Mt=null,jn=!1;function yr(e,t,n){for(n=n.child;n!==null;)l1(e,t,n),n=n.sibling}function l1(e,t,n){if(Un&&typeof Un.onCommitFiberUnmount=="function")try{Un.onCommitFiberUnmount(ma,n)}catch{}switch(n.tag){case 5:zt||bl(n,t);case 6:var r=Mt,l=jn;Mt=null,yr(e,t,n),Mt=r,jn=l,Mt!==null&&(jn?(e=Mt,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Mt.removeChild(n.stateNode));break;case 18:Mt!==null&&(jn?(e=Mt,n=n.stateNode,e.nodeType===8?Eu(e.parentNode,n):e.nodeType===1&&Eu(e,n),ho(e)):Eu(Mt,n.stateNode));break;case 4:r=Mt,l=jn,Mt=n.stateNode.containerInfo,jn=!0,yr(e,t,n),Mt=r,jn=l;break;case 0:case 11:case 14:case 15:if(!zt&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var i=l,o=i.destroy;i=i.tag,o!==void 0&&(i&2||i&4)&&Oc(n,t,o),l=l.next}while(l!==r)}yr(e,t,n);break;case 1:if(!zt&&(bl(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){Je(n,t,s)}yr(e,t,n);break;case 21:yr(e,t,n);break;case 22:n.mode&1?(zt=(r=zt)||n.memoizedState!==null,yr(e,t,n),zt=r):yr(e,t,n);break;default:yr(e,t,n)}}function $p(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new i2),t.forEach(function(r){var l=m2.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function Mn(e,t){var n=t.deletions;if(n!==null)for(var r=0;rl&&(l=o),r&=~i}if(r=l,r=et()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*a2(r/1960))-r,10e?16:e,Tr===null)var r=!1;else{if(e=Tr,Tr=null,ia=0,Se&6)throw Error($(331));var l=Se;for(Se|=4,ee=e.current;ee!==null;){var i=ee,o=i.child;if(ee.flags&16){var s=i.deletions;if(s!==null){for(var u=0;uet()-Df?Xr(e,0):Af|=n),Qt(e,t)}function d1(e,t){t===0&&(e.mode&1?(t=rs,rs<<=1,!(rs&130023424)&&(rs=4194304)):t=1);var n=Ht();e=ur(e,t),e!==null&&(Lo(e,t,n),Qt(e,n))}function h2(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),d1(e,n)}function m2(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error($(314))}r!==null&&r.delete(t),d1(e,n)}var p1;p1=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Gt.current)Kt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Kt=!1,n2(e,t,n);Kt=!!(e.flags&131072)}else Kt=!1,Ve&&t.flags&1048576&&vm(t,Qs,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ms(e,t),e=t.pendingProps;var l=Kl(t,bt.current);Vl(t,n),l=Of(null,t,r,e,l,n);var i=Nf();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Yt(r)?(i=!0,Gs(t)):i=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Sf(t),l.updater=xa,t.stateNode=l,l._reactInternals=t,xc(t,r,e,n),t=Ec(null,t,r,!0,i,n)):(t.tag=0,Ve&&i&&vf(t),$t(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ms(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=g2(r),e=Rn(r,e),l){case 0:t=Sc(null,t,r,e,n);break e;case 1:t=zp(null,t,r,e,n);break e;case 11:t=Ap(null,t,r,e,n);break e;case 14:t=Dp(null,t,r,Rn(r.type,e),n);break e}throw Error($(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Rn(r,l),Sc(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Rn(r,l),zp(e,t,r,l,n);case 3:e:{if(Qm(t),e===null)throw Error($(387));r=t.pendingProps,i=t.memoizedState,l=i.element,_m(e,t),Xs(t,r,null,n);var o=t.memoizedState;if(r=o.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){l=Zl(Error($(423)),t),t=bp(e,t,r,n,l);break e}else if(r!==l){l=Zl(Error($(424)),t),t=bp(e,t,r,n,l);break e}else for(rn=Mr(t.stateNode.containerInfo.firstChild),ln=t,Ve=!0,An=null,n=Em(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Gl(),r===l){t=cr(e,t,n);break e}$t(e,t,r,n)}t=t.child}return t;case 5:return Cm(t),e===null&&yc(t),r=t.type,l=t.pendingProps,i=e!==null?e.memoizedProps:null,o=l.children,pc(r,l)?o=null:i!==null&&pc(r,i)&&(t.flags|=32),Ym(e,t),$t(e,t,o,n),t.child;case 6:return e===null&&yc(t),null;case 13:return Zm(e,t,n);case 4:return Ef(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Yl(t,null,r,n):$t(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Rn(r,l),Ap(e,t,r,l,n);case 7:return $t(e,t,t.pendingProps,n),t.child;case 8:return $t(e,t,t.pendingProps.children,n),t.child;case 12:return $t(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,i=t.memoizedProps,o=l.value,Ae(Zs,r._currentValue),r._currentValue=o,i!==null)if(bn(i.value,o)){if(i.children===l.children&&!Gt.current){t=cr(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var s=i.dependencies;if(s!==null){o=i.child;for(var u=s.firstContext;u!==null;){if(u.context===r){if(i.tag===1){u=lr(-1,n&-n),u.tag=2;var a=i.updateQueue;if(a!==null){a=a.shared;var c=a.pending;c===null?u.next=u:(u.next=c.next,c.next=u),a.pending=u}}i.lanes|=n,u=i.alternate,u!==null&&(u.lanes|=n),wc(i.return,n,t),s.lanes|=n;break}u=u.next}}else if(i.tag===10)o=i.type===t.type?null:i.child;else if(i.tag===18){if(o=i.return,o===null)throw Error($(341));o.lanes|=n,s=o.alternate,s!==null&&(s.lanes|=n),wc(o,n,t),o=i.sibling}else o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===t){o=null;break}if(i=o.sibling,i!==null){i.return=o.return,o=i;break}o=o.return}i=o}$t(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,Vl(t,n),l=xn(l),r=r(l),t.flags|=1,$t(e,t,r,n),t.child;case 14:return r=t.type,l=Rn(r,t.pendingProps),l=Rn(r.type,l),Dp(e,t,r,l,n);case 15:return Km(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Rn(r,l),Ms(e,t),t.tag=1,Yt(r)?(e=!0,Gs(t)):e=!1,Vl(t,n),km(t,r,l),xc(t,r,l,n),Ec(null,t,r,!0,e,n);case 19:return Jm(e,t,n);case 22:return Gm(e,t,n)}throw Error($(156,t.tag))};function h1(e,t){return Bh(e,t)}function v2(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function yn(e,t,n,r){return new v2(e,t,n,r)}function If(e){return e=e.prototype,!(!e||!e.isReactComponent)}function g2(e){if(typeof e=="function")return If(e)?1:0;if(e!=null){if(e=e.$$typeof,e===rf)return 11;if(e===lf)return 14}return 2}function Ar(e,t){var n=e.alternate;return n===null?(n=yn(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function js(e,t,n,r,l,i){var o=2;if(r=e,typeof e=="function")If(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Ol:return el(n.children,l,i,t);case nf:o=8,l|=8;break;case Wu:return e=yn(12,n,t,l|2),e.elementType=Wu,e.lanes=i,e;case qu:return e=yn(13,n,t,l),e.elementType=qu,e.lanes=i,e;case Ku:return e=yn(19,n,t,l),e.elementType=Ku,e.lanes=i,e;case Sh:return Ca(n,l,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case xh:o=10;break e;case kh:o=9;break e;case rf:o=11;break e;case lf:o=14;break e;case _r:o=16,r=null;break e}throw Error($(130,e==null?e:typeof e,""))}return t=yn(o,n,t,l),t.elementType=e,t.type=r,t.lanes=i,t}function el(e,t,n,r){return e=yn(7,e,r,t),e.lanes=n,e}function Ca(e,t,n,r){return e=yn(22,e,r,t),e.elementType=Sh,e.lanes=n,e.stateNode={isHidden:!1},e}function Ru(e,t,n){return e=yn(6,e,null,t),e.lanes=n,e}function ju(e,t,n){return t=yn(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function y2(e,t,n,r,l){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=pu(0),this.expirationTimes=pu(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=pu(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function Bf(e,t,n,r,l,i,o,s,u){return e=new y2(e,t,n,s,u),t===1?(t=1,i===!0&&(t|=8)):t=0,i=yn(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Sf(i),e}function w2(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(y1)}catch(e){console.error(e)}}y1(),vh.exports=un;var w1=vh.exports,Yp=w1;Vu.createRoot=Yp.createRoot,Vu.hydrateRoot=Yp.hydrateRoot;const E2="k6 dashboard",C2=[{sections:[{panels:[{series:[{query:"iterations[?!tags && rate]"}],title:"Iteration Rate",kind:"stat",id:"tab-0.section-0.panel-0",summary:""},{series:[{query:"http_reqs[?!tags && rate]"}],title:"HTTP Request Rate",kind:"stat",id:"tab-0.section-0.panel-1",summary:""},{series:[{query:"http_req_duration[?!tags && avg]"}],title:"HTTP Request Duration",kind:"stat",id:"tab-0.section-0.panel-2",summary:""},{series:[{query:"http_req_failed[?!tags && rate ]"}],title:"HTTP Request Failed",kind:"stat",id:"tab-0.section-0.panel-3",summary:""},{series:[{query:"data_received[?!tags && rate]"}],title:"Received Rate",kind:"stat",id:"tab-0.section-0.panel-4",summary:""},{series:[{query:"data_sent[?!tags && rate]"}],title:"Sent Rate",kind:"stat",id:"tab-0.section-0.panel-5",summary:""}],id:"tab-0.section-0"},{panels:[{series:[{query:"http_reqs[?!tags && rate]",legend:"Request Rate"},{query:"http_req_duration[?!tags && p95]",legend:"Request Duration p(95)"},{query:"http_req_failed[?!tags && rate ]",legend:"Request Failed"}],title:"HTTP Performance overview",id:"tab-0.section-1.panel-0",summary:"",fullWidth:!0,kind:"chart"}],id:"tab-0.section-1"},{panels:[{series:[{query:"vus[?!tags && value]"},{query:"http_reqs[?!tags && rate ]"}],title:"VUs",id:"tab-0.section-2.panel-0",summary:"",kind:"chart"},{series:[{query:"data_received[?!tags && rate]"},{query:"data_sent[?!tags && rate]"}],title:"Transfer Rate",id:"tab-0.section-2.panel-1",summary:"",kind:"chart"},{series:[{query:"http_req_duration[?!tags && (avg || p90 || p95 || p99)]"}],title:"HTTP Request Duration",id:"tab-0.section-2.panel-2",summary:"",kind:"chart"},{series:[{query:"iteration_duration[?!tags && (avg || p90 || p95 || p99)]"}],title:"Iteration Duration",id:"tab-0.section-2.panel-3",summary:"",kind:"chart"}],id:"tab-0.section-2"}],title:"Overview",summary:"This chapter provides an overview of the most important metrics of the test run. Graphs plot the value of metrics over time.",id:"tab-0"},{sections:[{panels:[{series:[{query:"http_req_duration[?!tags && (avg || p90 || p95 || p99)]"}],title:"Request Duration",id:"tab-1.section-0.panel-0",summary:"",kind:"chart"},{series:[{query:"http_req_failed[?!tags && rate ]"}],title:"Request Failed Rate",id:"tab-1.section-0.panel-1",summary:"",kind:"chart"},{series:[{query:"http_reqs[?!tags && rate]"}],title:"Request Rate",id:"tab-1.section-0.panel-2",summary:"",kind:"chart"},{series:[{query:"http_req_waiting[?!tags && (avg || p90 || p95 || p99)]"}],title:"Request Waiting",id:"tab-1.section-0.panel-3",summary:"",kind:"chart"},{series:[{query:"http_req_tls_handshaking[?!tags && (avg || p90 || p95 || p99)]"}],title:"TLS handshaking",id:"tab-1.section-0.panel-4",summary:"",kind:"chart"},{series:[{query:"http_req_sending[?!tags && (avg || p90 || p95 || p99)]"}],title:"Request Sending",id:"tab-1.section-0.panel-5",summary:"",kind:"chart"},{series:[{query:"http_req_connecting[?!tags && (avg || p90 || p95 || p99)]"}],title:"Request Connecting",id:"tab-1.section-0.panel-6",summary:"",kind:"chart"},{series:[{query:"http_req_receiving[?!tags && (avg || p90 || p95 || p99)]"}],title:"Request Receiving",id:"tab-1.section-0.panel-7",summary:"",kind:"chart"},{series:[{query:"http_req_blocked[?!tags && (avg || p90 || p95 || p99)]"}],title:"Request Blocked",id:"tab-1.section-0.panel-8",summary:"",kind:"chart"}],title:"HTTP",summary:"These metrics are generated only when the test makes HTTP requests.",id:"tab-1.section-0"},{panels:[{series:[{query:"browser_http_req_duration[?!tags && (avg || p90 || p95 || p99)]"}],title:"Request Duration",id:"tab-1.section-1.panel-0",summary:"",kind:"chart"},{series:[{query:"browser_http_req_failed[?!tags && rate ]"}],title:"Request Failed Rate",id:"tab-1.section-1.panel-1",summary:"",kind:"chart"},{series:[{query:"browser_web_vital_lcp[?!tags && (avg || p90 || p95 || p99)]"}],title:"Largest Contentful Paint",id:"tab-1.section-1.panel-2",summary:"",kind:"chart"},{series:[{query:"browser_web_vital_fid[?!tags && (avg || p90 || p95 || p99)]"}],title:"First Input Delay",id:"tab-1.section-1.panel-3",summary:"",kind:"chart"},{series:[{query:"browser_web_vital_cls[?!tags && (avg || p90 || p95 || p99)]"}],title:"Cumulative Layout Shift",id:"tab-1.section-1.panel-4",summary:"",kind:"chart"},{series:[{query:"browser_web_vital_ttfb[?!tags && (avg || p90 || p95 || p99)]"}],title:"Time to First Byte",id:"tab-1.section-1.panel-5",summary:"",kind:"chart"},{series:[{query:"browser_web_vital_fcp[?!tags && (avg || p90 || p95 || p99)]"}],title:"First Contentful Paint",id:"tab-1.section-1.panel-6",summary:"",kind:"chart"},{series:[{query:"browser_web_vital_inp[?!tags && (avg || p90 || p95 || p99)]"}],title:"Interaction to Next Paint",id:"tab-1.section-1.panel-7",summary:"",kind:"chart"}],title:"Browser",summary:"The k6 browser module emits its own metrics based on the Core Web Vitals and Other Web Vitals.",id:"tab-1.section-1"},{panels:[{series:[{query:"ws_connecting[?!tags && (avg || p90 || p95 || p99)]"}],title:"Connect Duration",id:"tab-1.section-2.panel-0",summary:"",kind:"chart"},{series:[{query:"ws_session_duration[?!tags && (avg || p90 || p95 || p99)]"}],title:"Session Duration",id:"tab-1.section-2.panel-1",summary:"",kind:"chart"},{series:[{query:"ws_ping[?!tags && (avg || p90 || p95 || p99)]"}],title:"Ping Duration",id:"tab-1.section-2.panel-2",summary:"",kind:"chart"},{series:[{query:"ws_msgs_sent[?!tags && rate]"},{query:"ws_msgs_received[?!tags && rate]"}],title:"Transfer Rate",id:"tab-1.section-2.panel-3",summary:"",kind:"chart"},{series:[{query:"ws_sessions[?!tags && rate]"}],title:"Sessions Rate",id:"tab-1.section-2.panel-4",summary:"",kind:"chart"}],title:"WebSocket",summary:"k6 emits the following metrics when interacting with a WebSocket service through the experimental or legacy websockets API.",id:"tab-1.section-2"},{panels:[{series:[{query:"grpc_req_duration[?!tags && (avg || p90 || p95 || p99)]"}],title:"Request Duration",id:"tab-1.section-3.panel-0",summary:"",kind:"chart"},{series:[{query:"grpc_streams_msgs_sent[?!tags && rate]"},{query:"grpc_streams_msgs_received[?!tags && rate]"}],title:"Transfer Rate",id:"tab-1.section-3.panel-1",summary:"",kind:"chart"},{series:[{query:"grpc_streams[?!tags && rate]"}],title:"Streams Rate",id:"tab-1.section-3.panel-2",summary:"",kind:"chart"}],title:"gRPC",summary:"k6 emits the following metrics when it interacts with a service through the gRPC API.",id:"tab-1.section-3"}],title:"Timings",summary:"This chapter provides an overview of test run HTTP timing metrics. Graphs plot the value of metrics over time.",id:"tab-1"},{sections:[{panels:[{series:[{query:"[?!tags && trend]"}],title:"Trends",kind:"summary",id:"tab-2.section-0.panel-0",summary:""}],title:"",id:"tab-2.section-0"},{panels:[{series:[{query:"[?!tags && counter]"}],title:"Counters",kind:"summary",id:"tab-2.section-1.panel-0",summary:""},{series:[{query:"[?!tags && rate]"}],title:"Rates",kind:"summary",id:"tab-2.section-1.panel-1",summary:""},{series:[{query:"[?!tags && gauge]"}],title:"Gauges",kind:"summary",id:"tab-2.section-1.panel-2",summary:""}],title:"",id:"tab-2.section-1"}],title:"Summary",summary:"This chapter provides a summary of the test run metrics. The tables contains the aggregated values of the metrics for the entire test run.",id:"tab-2"}],_1={title:E2,tabs:C2};var x1={};(function(e){(function(t){function n(h){return h!==null?Object.prototype.toString.call(h)==="[object Array]":!1}function r(h){return h!==null?Object.prototype.toString.call(h)==="[object Object]":!1}function l(h,S){if(h===S)return!0;var C=Object.prototype.toString.call(h);if(C!==Object.prototype.toString.call(S))return!1;if(n(h)===!0){if(h.length!==S.length)return!1;for(var j=0;j",9:"Array"},w="EOF",T="UnquotedIdentifier",O="QuotedIdentifier",L="Rbracket",M="Rparen",R="Comma",I="Colon",D="Rbrace",b="Number",H="Current",K="Expref",oe="Pipe",se="Or",fe="And",ne="EQ",q="GT",J="LT",G="GTE",re="LTE",Y="NE",me="Flatten",X="Star",pe="Filter",Re="Dot",Ue="Not",Be="Lbrace",tt="Lbracket",Ct="Lparen",st="Literal",dn={".":Re,"*":X,",":R,":":I,"{":Be,"}":D,"]":L,"(":Ct,")":M,"@":H},Qn={"<":!0,">":!0,"=":!0,"!":!0},pn={" ":!0," ":!0,"\n":!0};function Zn(h){return h>="a"&&h<="z"||h>="A"&&h<="Z"||h==="_"}function Cn(h){return h>="0"&&h<="9"||h==="-"}function hn(h){return h>="a"&&h<="z"||h>="A"&&h<="Z"||h>="0"&&h<="9"||h==="_"}function pt(){}pt.prototype={tokenize:function(h){var S=[];this._current=0;for(var C,j,F;this._current")return h[this._current]==="="?(this._current++,{type:G,value:">=",start:S}):{type:q,value:">",start:S};if(C==="="&&h[this._current]==="=")return this._current++,{type:ne,value:"==",start:S}},_consumeLiteral:function(h){this._current++;for(var S=this._current,C=h.length,j;h[this._current]!=="`"&&this._current=0)return!0;if(C.indexOf(h)>=0)return!0;if(j.indexOf(h[0])>=0)try{return JSON.parse(h),!0}catch{return!1}else return!1}};var ue={};ue[w]=0,ue[T]=0,ue[O]=0,ue[L]=0,ue[M]=0,ue[R]=0,ue[D]=0,ue[b]=0,ue[H]=0,ue[K]=0,ue[oe]=1,ue[se]=2,ue[fe]=3,ue[ne]=5,ue[q]=5,ue[J]=5,ue[G]=5,ue[re]=5,ue[Y]=5,ue[me]=9,ue[X]=20,ue[pe]=21,ue[Re]=40,ue[Ue]=45,ue[Be]=50,ue[tt]=55,ue[Ct]=60;function nt(){}nt.prototype={parse:function(h){this._loadTokens(h),this.index=0;var S=this.expression(0);if(this._lookahead(0)!==w){var C=this._lookaheadToken(0),j=new Error("Unexpected token type: "+C.type+", value: "+C.value);throw j.name="ParserError",j}return S},_loadTokens:function(h){var S=new pt,C=S.tokenize(h);C.push({type:w,value:"",start:h.length}),this.tokens=C},expression:function(h){var S=this._lookaheadToken(0);this._advance();for(var C=this.nud(S),j=this._lookahead(0);h=0)return this.expression(h);if(S===tt)return this._match(tt),this._parseMultiselectList();if(S===Be)return this._match(Be),this._parseMultiselectHash()},_parseProjectionRHS:function(h){var S;if(ue[this._lookahead(0)]<10)S={type:"Identity"};else if(this._lookahead(0)===tt)S=this.expression(h);else if(this._lookahead(0)===pe)S=this.expression(h);else if(this._lookahead(0)===Re)this._match(Re),S=this._parseDotRHS(h);else{var C=this._lookaheadToken(0),j=new Error("Sytanx error, unexpected token: "+C.value+"("+C.type+")");throw j.name="ParserError",j}return S},_parseMultiselectList:function(){for(var h=[];this._lookahead(0)!==L;){var S=this.expression(0);if(h.push(S),this._lookahead(0)===R&&(this._match(R),this._lookahead(0)===L))throw new Error("Unexpected token Rbracket")}return this._match(L),{type:"MultiSelectList",children:h}},_parseMultiselectHash:function(){for(var h=[],S=[T,O],C,j,F,Q;;){if(C=this._lookaheadToken(0),S.indexOf(C.type)<0)throw new Error("Expecting an identifier token, got: "+C.type);if(j=C.value,this._advance(),this._match(I),F=this.expression(0),Q={type:"KeyValuePair",name:j,value:F},h.push(Q),this._lookahead(0)===R)this._match(R);else if(this._lookahead(0)===D){this._match(D);break}}return{type:"MultiSelectHash",children:h}}};function Ft(h){this.runtime=h}Ft.prototype={search:function(h,S){return this.visit(h,S)},visit:function(h,S){var C,j,F,Q,ae,he,at,Qe,We,ce;switch(h.type){case"Field":return S!==null&&r(S)?(he=S[h.name],he===void 0?null:he):null;case"Subexpression":for(F=this.visit(h.children[0],S),ce=1;ce0)for(ce=Fo;ceIo;ce+=de)F.push(S[ce]);return F;case"Projection":var ut=this.visit(h.children[0],S);if(!n(ut))return null;for(We=[],ce=0;ceae;break;case G:F=Q>=ae;break;case J:F=Q=h&&(S=C<0?h-1:h),S}};function ye(h){this._interpreter=h,this.functionTable={abs:{_func:this._functionAbs,_signature:[{types:[u]}]},avg:{_func:this._functionAvg,_signature:[{types:[P]}]},ceil:{_func:this._functionCeil,_signature:[{types:[u]}]},contains:{_func:this._functionContains,_signature:[{types:[c,p]},{types:[a]}]},ends_with:{_func:this._functionEndsWith,_signature:[{types:[c]},{types:[c]}]},floor:{_func:this._functionFloor,_signature:[{types:[u]}]},length:{_func:this._functionLength,_signature:[{types:[c,p,d]}]},map:{_func:this._functionMap,_signature:[{types:[_]},{types:[p]}]},max:{_func:this._functionMax,_signature:[{types:[P,y]}]},merge:{_func:this._functionMerge,_signature:[{types:[d],variadic:!0}]},max_by:{_func:this._functionMaxBy,_signature:[{types:[p]},{types:[_]}]},sum:{_func:this._functionSum,_signature:[{types:[P]}]},starts_with:{_func:this._functionStartsWith,_signature:[{types:[c]},{types:[c]}]},min:{_func:this._functionMin,_signature:[{types:[P,y]}]},min_by:{_func:this._functionMinBy,_signature:[{types:[p]},{types:[_]}]},type:{_func:this._functionType,_signature:[{types:[a]}]},keys:{_func:this._functionKeys,_signature:[{types:[d]}]},values:{_func:this._functionValues,_signature:[{types:[d]}]},sort:{_func:this._functionSort,_signature:[{types:[y,P]}]},sort_by:{_func:this._functionSortBy,_signature:[{types:[p]},{types:[_]}]},join:{_func:this._functionJoin,_signature:[{types:[c]},{types:[y]}]},reverse:{_func:this._functionReverse,_signature:[{types:[c,p]}]},to_array:{_func:this._functionToArray,_signature:[{types:[a]}]},to_string:{_func:this._functionToString,_signature:[{types:[a]}]},to_number:{_func:this._functionToNumber,_signature:[{types:[a]}]},not_null:{_func:this._functionNotNull,_signature:[{types:[a],variadic:!0}]}}}ye.prototype={callFunction:function(h,S){var C=this.functionTable[h];if(C===void 0)throw new Error("Unknown function: "+h+"()");return this._validateArgs(h,S,C._signature),C._func.call(this,S)},_validateArgs:function(h,S,C){var j;if(C[C.length-1].variadic){if(S.length=0;F--)j+=C[F];return j}else{var Q=h[0].slice(0);return Q.reverse(),Q}},_functionAbs:function(h){return Math.abs(h[0])},_functionCeil:function(h){return Math.ceil(h[0])},_functionAvg:function(h){for(var S=0,C=h[0],j=0;j=0},_functionFloor:function(h){return Math.floor(h[0])},_functionLength:function(h){return r(h[0])?Object.keys(h[0]).length:h[0].length},_functionMap:function(h){for(var S=[],C=this._interpreter,j=h[0],F=h[1],Q=0;Q0){var S=this._getTypeName(h[0][0]);if(S===u)return Math.max.apply(Math,h[0]);for(var C=h[0],j=C[0],F=1;F0){var S=this._getTypeName(h[0][0]);if(S===u)return Math.min.apply(Math,h[0]);for(var C=h[0],j=C[0],F=1;FTn?1:ceF&&(F=ae,Q=C[he]);return Q},_functionMinBy:function(h){for(var S=h[1],C=h[0],j=this.createKeyFunction(S,[u,c]),F=1/0,Q,ae,he=0;he(e.bytes="bytes",e.bps="bps",e.counter="counter",e.rps="rps",e.duration="duration",e.timestamp="timestamp",e.unknown="",e))(Kr||{}),k1=class{constructor(e){ve(this,"name");ve(this,"aggregate");ve(this,"tags");ve(this,"group");ve(this,"scenario");const[t,n]=e.split(".",2);this.aggregate=n,this.name=t;let r="";const l=t.indexOf("{");if(l&&l>0){r=t.substring(l),r=r.substring(1,r.length-1);const i=r.indexOf(":"),o=r.substring(0,i),s=r.substring(i+1);this.tags={[o]:s},o=="group"&&(this.group=s.substring(2)),this.name=t.substring(0,l)}}},Qp="time",Uf=class{constructor({values:e={}}={}){ve(this,"values");this.values=e}onEvent(e){for(const t in e)this.values[t]={...e[t],name:t}}find(e){const t=new k1(e);return this.values[t.name]}unit(e,t){const n=this.find(e);if(!n||!t&&e!=Qp)return"";switch(n.type){case"counter":switch(n.contains){case"data":return t=="count"?"bytes":"bps";default:return t=="count"?"counter":"rps"}case"rate":switch(n.contains){case"data":return"bps";default:return"rps"}case"gauge":switch(n.contains){case"time":return n.name==Qp?"timestamp":"duration";case"data":return"bytes";default:return"counter"}case"trend":switch(n.contains){case"time":return"duration";case"data":return"bps";default:return"rps"}default:return""}}},ms="time",vs=class{constructor({length:e=0,capacity:t=1e4,values:n=new Array,aggregate:r="value",metric:l=void 0,unit:i="",name:o="",tags:s={},group:u=void 0}={}){ve(this,"capacity");ve(this,"aggregate");ve(this,"metric");ve(this,"unit");ve(this,"empty");ve(this,"name");ve(this,"tags");ve(this,"group");ve(this,"values");this.values=e==0?n:new Array(e),this.capacity=t,this.aggregate=r,this.metric=l,this.unit=i,this.empty=this.values.length==0,this.name=o,this.tags=s,this.group=u,Object.defineProperty(this,r,{value:!0,configurable:!0,enumerable:!0,writable:!0})}hasTags(){return this.tags!=null&&Object.keys(this.tags).length!=0}formatTags(){if(!this.hasTags())return"";let e="{";for(const t in this.tags)e+=`${t}:${this.tags[t]}`;return e+="}",e}get legend(){let e=this.aggregate;return this.metric&&this.metric.type!="trend"&&this.name.length!=0&&(e=this.name+this.formatTags()),e}grow(e){this.values[e-1]=void 0}push(...e){let t=!1;if(e.forEach(n=>{this.values.push(n),this.empty=!1,this.values.length==this.capacity&&(this.values.shift(),t=!0)}),t){this.empty=!0;for(let n=0;n{t.unit&&!e.includes(t.unit)&&e.push(t.unit)}),e}},P2=class{constructor({capacity:e=1e4,metrics:t=new Uf}={}){ve(this,"capacity");ve(this,"metrics");ve(this,"values");ve(this,"vectors");ve(this,"lookup");this.capacity=e,this.metrics=t,this.lookup={},this.vectors={},this.values={}}get length(){return this.values[ms]?this.values[ms].values.length:0}_push(e,t,n=void 0){const r=n?e+"."+n:e;let l=this.vectors[r];if(l)l.values.length0){r=e.substring(l),r=r.substring(1,r.length-1);const i=r.indexOf(":"),o=r.substring(0,i),s=r.substring(i+1);n.tags={[o]:s},o=="group"&&(n.group=s.substring(2)),e=e.substring(0,l)}return n.name=e,n.metric=this.metrics.find(e),n.unit=this.metrics.unit(e,t),new vs(n)}onEvent(e){for(const t in e){if(t==ms){this._push(t,Math.floor(e[t].value/1e3));continue}for(const n in e[t]){const r=n;this._push(t,e[t][r],r)}}}annotate(e){this.metrics=e;for(const t in this.values){this.values[t].metric=e.find(t);const n=new k1(t);this.values[t].unit=e.unit(n.name,n.aggregate)}}select(e){const t=new T2(this.values[ms]);if(t.length==0)return t;for(const n of e){const r=this.queryAll(n);r.length>0&&t.push(...r)}return t}query(e){const t=zc.search(this.lookup,e);if(Array.isArray(t)){const r=t.at(0);return r instanceof vs?r:void 0}return t instanceof vs?t:void 0}queryAll(e){const t=zc.search(this.lookup,e);if(!Array.isArray(t)||t.length==0)return new Array;const n=t;return n.at(0)instanceof vs?n:new Array}},Zp=class{constructor({values:e,metric:t,name:n}={}){ve(this,"values");ve(this,"metric");ve(this,"name");ve(this,"tags");ve(this,"group");this.values=e,this.metric=t,this.name=n,t&&t.type&&Object.defineProperty(this,t.type,{value:!0,configurable:!0,enumerable:!0,writable:!0});let r="";const l=n.indexOf("{");if(l&&l>0){r=n.substring(l),r=r.substring(1,r.length-1);const i=r.indexOf(":"),o=r.substring(0,i),s=r.substring(i+1);this.tags={[o]:s},o=="group"&&(this.group=s.substring(2)),n=n.substring(0,l)}}},O2="time",N2=class extends Array{constructor(t){super();ve(this,"aggregates");this.aggregates=new Array;for(let n=0;nl))}}get empty(){return this.length==0}},M2=class{constructor({values:t={},metrics:n=new Uf,time:r=0}={}){ve(this,"values");ve(this,"lookup");ve(this,"metrics");ve(this,"time");this.values=t,this.lookup=new Array,this.metrics=n,this.time=r}onEvent(t){const n={};let r=0;for(const i in t){if(i==O2){r=Math.floor(t[i].value/1e3);continue}const o=this.newSummaryRow(i,t[i]);n[i]=o}this.values=n,this.time=r;const l=Array();for(const i in this.values)l.push(this.values[i]);this.lookup=l}newSummaryRow(t,n){const r={};return r.name=t,r.metric=this.metrics.find(t),r.values=n,new Zp(r)}annotate(t){this.metrics=t;for(const n in this.values)this.values[n].metric=t.find(n)}select(t){const n=new Array;for(const r of t){const l=this.queryAll(r);l.length>0&&n.push(...l)}return new N2(n)}queryAll(t){const n=zc.search(this.lookup,t);if(!Array.isArray(n)||n.length==0)return new Array;const r=n;return r.at(0)instanceof Zp?r:new Array}},L2=class{constructor(e={}){Object.assign(this,e)}},S1=(e=>(e.config="config",e.param="param",e.start="start",e.stop="stop",e.metric="metric",e.snapshot="snapshot",e.cumulative="cumulative",e))(S1||{}),bc=class{constructor({config:e={},param:t={},start:n=void 0,stop:r=void 0,metrics:l=new Uf,samples:i=new P2,summary:o=new M2}={}){ve(this,"config");ve(this,"param");ve(this,"start");ve(this,"stop");ve(this,"metrics");ve(this,"samples");ve(this,"summary");this.config=e,this.param=t,this.start=n,this.stop=r,this.metrics=l,this.samples=i,this.summary=o}handleEvent(e){const t=e.type,n=JSON.parse(e.data);this.onEvent(t,n)}onEvent(e,t){for(const n in t)for(const r in t[n])if(r.indexOf("(")>=0){const l=r.replaceAll("(","").replaceAll(")","");t[n][l]=t[n][r],delete t[n][r]}switch(e){case"config":this.onConfig(t);break;case"param":this.onParam(t);break;case"start":this.onStart(t);break;case"stop":this.onStop(t);break;case"metric":this.onMetric(t);break;case"snapshot":this.onSnapshot(t);break;case"cumulative":this.onCumulative(t);break}}onConfig(e){Object.assign(this.config,e)}onParam(e){Object.assign(this.param,e)}onStart(e){e.time&&e.time.value&&(this.start=new Date(e.time.value))}onStop(e){e.time&&e.time.value&&(this.stop=new Date(e.time.value))}onMetric(e){this.metrics.onEvent(e),this.samples.annotate(this.metrics),this.summary.annotate(this.metrics)}onSnapshot(e){this.samples.onEvent(e),this.samples.annotate(this.metrics)}onCumulative(e){this.summary.onEvent(e),this.summary.annotate(this.metrics)}};const Wf=U.createContext(()=>new bc({config:_1}));Wf.displayName="Digest";function R2({endpoint:e="/events",children:t}){const[n,r]=U.useState(new bc({config:new L2(_1)}));return U.useEffect(()=>{const l=new EventSource(e),i=o=>{n.handleEvent(o),r(new bc(n))};for(const o in S1)l.addEventListener(o,i)},[]),z.jsx(Wf.Provider,{value:()=>n,children:t})}function pl(){const e=U.useContext(Wf);if(e===void 0)throw new Error("useDigest must be used within a DigestProvider");return e()}var j2="_1dwurlb25",A2="_1dwurlb24";globalThis&&globalThis.__awaiter;function E1(){const[e,t]=U.useState(null),[n,r]=U.useState({width:0,height:0}),l=U.useCallback(()=>{r({width:(e==null?void 0:e.offsetWidth)||0,height:(e==null?void 0:e.offsetHeight)||0})},[e==null?void 0:e.offsetHeight,e==null?void 0:e.offsetWidth]);return To("resize",l),qf(()=>{l()},[e==null?void 0:e.offsetHeight,e==null?void 0:e.offsetWidth]),[t,n]}function C1(e){const t=U.useRef(()=>{throw new Error("Cannot call an event handler while rendering.")});return qf(()=>{t.current=e},[e]),U.useCallback((...n)=>t.current(...n),[t])}function To(e,t,n,r){const l=U.useRef(t);qf(()=>{l.current=t},[t]),U.useEffect(()=>{var i;const o=(i=n==null?void 0:n.current)!==null&&i!==void 0?i:window;if(!(o&&o.addEventListener))return;const s=u=>l.current(u);return o.addEventListener(e,s,r),()=>{o.removeEventListener(e,s,r)}},[e,n,r])}globalThis&&globalThis.__awaiter;const qf=typeof window<"u"?U.useLayoutEffect:U.useEffect;function D2(e){const t=i=>typeof window<"u"?window.matchMedia(i).matches:!1,[n,r]=U.useState(t(e));function l(){r(t(e))}return U.useEffect(()=>{const i=window.matchMedia(e);return l(),i.addListener?i.addListener(l):i.addEventListener("change",l),()=>{i.removeListener?i.removeListener(l):i.removeEventListener("change",l)}},[e]),n}function z2(e,t){const n=U.useCallback(()=>{if(typeof window>"u")return t;try{const s=window.sessionStorage.getItem(e);return s?b2(s):t}catch(s){return console.warn(`Error reading sessionStorage key “${e}”:`,s),t}},[t,e]),[r,l]=U.useState(n),i=C1(s=>{typeof window>"u"&&console.warn(`Tried setting sessionStorage key “${e}” even though environment is not a client`);try{const u=s instanceof Function?s(r):s;window.sessionStorage.setItem(e,JSON.stringify(u)),l(u),window.dispatchEvent(new Event("session-storage"))}catch(u){console.warn(`Error setting sessionStorage key “${e}”:`,u)}});U.useEffect(()=>{l(n())},[]);const o=U.useCallback(s=>{s!=null&&s.key&&s.key!==e||l(n())},[e,n]);return To("storage",o),To("session-storage",o),[r,i]}function b2(e){try{return e==="undefined"?void 0:JSON.parse(e??"")}catch{console.log("parsing error on",{value:e});return}}const T1=U.createContext({});function F2({children:e}){const t=D2("(prefers-color-scheme: dark)"),[n,r]=z2("theme",t?"dark":"light"),l={theme:n,themeClassName:n==="light"?A2:j2,setTheme:r};return z.jsx(T1.Provider,{value:l,children:e})}function pi(){const e=U.useContext(T1);if(e===void 0)throw new Error("useTheme must be used within a ThemeProvider");return e}var I2={50:"#fff8e1",100:"#ffecb3",200:"#ffe082",300:"#ffd54f",400:"#ffca28",500:"#ffc107",600:"#ffb300",700:"#ffa000",800:"#ff8f00",900:"#ff6f00",A100:"#ffe57f",A200:"#ffd740",A400:"#ffc400",A700:"#ffab00"},B2={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},$2={50:"#eceff1",100:"#cfd8dc",200:"#b0bec5",300:"#90a4ae",400:"#78909c",500:"#607d8b",600:"#546e7a",700:"#455a64",800:"#37474f",900:"#263238",A100:"#cfd8dc",A200:"#b0bec5",A400:"#78909c",A700:"#455a64"},H2={50:"#efebe9",100:"#d7ccc8",200:"#bcaaa4",300:"#a1887f",400:"#8d6e63",500:"#795548",600:"#6d4c41",700:"#5d4037",800:"#4e342e",900:"#3e2723",A100:"#d7ccc8",A200:"#bcaaa4",A400:"#8d6e63",A700:"#5d4037"},Au={black:"#000000",white:"#ffffff"},V2={50:"#e0f7fa",100:"#b2ebf2",200:"#80deea",300:"#4dd0e1",400:"#26c6da",500:"#00bcd4",600:"#00acc1",700:"#0097a7",800:"#00838f",900:"#006064",A100:"#84ffff",A200:"#18ffff",A400:"#00e5ff",A700:"#00b8d4"},U2={50:"#fbe9e7",100:"#ffccbc",200:"#ffab91",300:"#ff8a65",400:"#ff7043",500:"#ff5722",600:"#f4511e",700:"#e64a19",800:"#d84315",900:"#bf360c",A100:"#ff9e80",A200:"#ff6e40",A400:"#ff3d00",A700:"#dd2c00"},W2={50:"#ede7f6",100:"#d1c4e9",200:"#b39ddb",300:"#9575cd",400:"#7e57c2",500:"#673ab7",600:"#5e35b1",700:"#512da8",800:"#4527a0",900:"#311b92",A100:"#b388ff",A200:"#7c4dff",A400:"#651fff",A700:"#6200ea"},q2={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},P1={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},K2={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"},G2={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},Y2={50:"#f1f8e9",100:"#dcedc8",200:"#c5e1a5",300:"#aed581",400:"#9ccc65",500:"#8bc34a",600:"#7cb342",700:"#689f38",800:"#558b2f",900:"#33691e",A100:"#ccff90",A200:"#b2ff59",A400:"#76ff03",A700:"#64dd17"},Q2={50:"#f9fbe7",100:"#f0f4c3",200:"#e6ee9c",300:"#dce775",400:"#d4e157",500:"#cddc39",600:"#c0ca33",700:"#afb42b",800:"#9e9d24",900:"#827717",A100:"#f4ff81",A200:"#eeff41",A400:"#c6ff00",A700:"#aeea00"},Jp={50:"#ffffff",100:"#D6DCFF",200:"#CED4EF",300:"#C2CAEF",400:"#B6C0EF",500:"#AAB6EF",600:"#3f486b",700:"#394160",800:"#2c324b",900:"#1F2537"},Z2={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},J2={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"},X2={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},ew={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},tw={50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",A100:"#a7ffeb",A200:"#64ffda",A400:"#1de9b6",A700:"#00bfa5"},nw={50:"#fffde7",100:"#fff9c4",200:"#fff59d",300:"#fff176",400:"#ffee58",500:"#ffeb3b",600:"#fdd835",700:"#fbc02d",800:"#f9a825",900:"#f57f17",A100:"#ffff8d",A200:"#ffff00",A400:"#ffea00",A700:"#ffd600"};const gs={red:ew,pink:J2,purple:X2,deepPurple:W2,indigo:K2,blue:B2,lightBlue:G2,cyan:V2,teal:tw,green:q2,lightGreen:Y2,lime:Q2,yellow:nw,amber:I2,orange:Z2,deepOrange:U2,brown:H2,grey:P1,blueGrey:$2},rw=["grey","teal","blue","purple","indigo","orange","pink","green","cyan","amber","lime","brown","lightGreen","red","deepPurple","lightBlue","yellow","deepOrange","blueGrey"],O1=e=>rw.map(t=>({stroke:e=="dark"?gs[t][500]:gs[t][800],fill:(e=="dark"?gs[t][300]:gs[t][600])+"20"})),lw=e=>Object.entries(e).reduce((t,[n,r])=>r===void 0?t:{...t,[n]:r},{}),iw=(e,t)=>Object.entries(t).reduce((n,[r,l])=>(e.includes(r)&&(n[r]=l),n),{}),ow=(e,t)=>({...e,...t}),sw=e=>(t,n)=>ow(t,iw(e,n));function Xp(e){var t=e.match(/^var\((.*)\)$/);return t?t[1]:e}function aw(e,t){var n=e;for(var r of t){if(!(r in n))throw new Error("Path ".concat(t.join(" -> ")," does not exist in object"));n=n[r]}return n}function N1(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],r=e.constructor();for(var l in e){var i=e[l],o=[...n,l];typeof i=="string"||typeof i=="number"||i==null?r[l]=t(i,o):typeof i=="object"&&!Array.isArray(i)?r[l]=N1(i,t,o):console.warn('Skipping invalid key "'.concat(o.join("."),'". Should be a string, number, null or object. Received: "').concat(Array.isArray(i)?"Array":typeof i,'"'))}return r}function uw(e,t){var n={};if(typeof t=="object"){var r=e;N1(t,(o,s)=>{var u=aw(r,s);n[Xp(u)]=String(o)})}else{var l=e;for(var i in l)n[Xp(i)]=l[i]}return Object.defineProperty(n,"toString",{value:function(){return Object.keys(this).map(s=>"".concat(s,":").concat(this[s])).join(";")},writable:!1}),n}const Yn=(...e)=>e.filter(Boolean).join(" "),cw=(e,t)=>uw(e,lw(t));function fw(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function dw(e){var t=fw(e,"string");return typeof t=="symbol"?t:String(t)}function pw(e,t,n){return t=dw(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function e0(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),n.push.apply(n,r)}return n}function Du(e){for(var t=1;tfunction(){for(var t=arguments.length,n=new Array(t),r=0;ru.styles)),i=Object.keys(l),o=i.filter(u=>"mappings"in l[u]),s=u=>{var a=[],c={},p=Du({},u),d=!1;for(var g of o){var _=u[g];if(_!=null){var x=l[g];d=!0;for(var P of x.mappings)c[P]=_,p[P]==null&&delete p[P]}}var y=d?Du(Du({},c),p):u,v=function(){var L=y[w],M=l[w];try{if(M.mappings)return"continue";if(typeof L=="string"||typeof L=="number")a.push(M.values[L].defaultClass);else if(Array.isArray(L))for(var R=0;Re,Do=function(){return hw(mw)(...arguments)},vw="wy7gkc15",gw={flexGrow:"var(--wy7gkc10)",flexShrink:"var(--wy7gkc11)",flexBasis:"var(--wy7gkc12)",height:"var(--wy7gkc13)",width:"var(--wy7gkc14)"},yw=Do({conditions:void 0,styles:{flexDirection:{values:{row:{defaultClass:"wy7gkc0"},column:{defaultClass:"wy7gkc1"}}},flexWrap:{values:{nowrap:{defaultClass:"wy7gkc2"},wrap:{defaultClass:"wy7gkc3"},"wrap-reverse":{defaultClass:"wy7gkc4"}}},alignItems:{values:{"flex-start":{defaultClass:"wy7gkc5"},"flex-end":{defaultClass:"wy7gkc6"},stretch:{defaultClass:"wy7gkc7"},center:{defaultClass:"wy7gkc8"},baseline:{defaultClass:"wy7gkc9"},start:{defaultClass:"wy7gkca"},end:{defaultClass:"wy7gkcb"},"self-start":{defaultClass:"wy7gkcc"},"self-end":{defaultClass:"wy7gkcd"}}},justifyContent:{values:{"flex-start":{defaultClass:"wy7gkce"},"flex-end":{defaultClass:"wy7gkcf"},start:{defaultClass:"wy7gkcg"},end:{defaultClass:"wy7gkch"},left:{defaultClass:"wy7gkci"},right:{defaultClass:"wy7gkcj"},center:{defaultClass:"wy7gkck"},"space-between":{defaultClass:"wy7gkcl"},"space-around":{defaultClass:"wy7gkcm"},"space-evenly":{defaultClass:"wy7gkcn"}}},gap:{values:{0:{defaultClass:"wy7gkco"},1:{defaultClass:"wy7gkcp"},2:{defaultClass:"wy7gkcq"},3:{defaultClass:"wy7gkcr"},4:{defaultClass:"wy7gkcs"},5:{defaultClass:"wy7gkct"}}},padding:{values:{0:{defaultClass:"wy7gkcu"},1:{defaultClass:"wy7gkcv"},2:{defaultClass:"wy7gkcw"},3:{defaultClass:"wy7gkcx"},4:{defaultClass:"wy7gkcy"},5:{defaultClass:"wy7gkcz"}}}}});function ww({as:e="div",align:t,basis:n,children:r,className:l,direction:i,gap:o=3,grow:s,height:u,justify:a,padding:c,shrink:p,width:d,wrap:g,..._},x){const P=yw({alignItems:t,flexDirection:i,flexWrap:g,gap:o,justifyContent:a,padding:c}),y=Yn(vw,P,l),v=cw(gw,{flexBasis:n,flexGrow:s,flexShrink:p,height:u,width:d});return z.jsx(e,{ref:x,className:y,style:v,..._,children:r})}const St=U.forwardRef(ww);var _w={fill:"_17y8ldl1 _17y8ldl0",text:"_17y8ldl0"};const xw=({as:e="button",children:t,className:n,variant:r="fill",...l},i)=>z.jsx(e,{ref:i,className:Yn(_w[r],n),...l,children:t}),Ma=U.forwardRef(xw);var kw="_17unuvp0";const Sw=({className:e,...t})=>z.jsx("div",{className:Yn(kw,e),...t}),Ew=e=>U.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",enableBackground:"new 0 0 24 24",height:"24px",viewBox:"0 0 24 24",width:"24px",fill:"currentColor",...e},U.createElement("rect",{fill:"none",height:24,width:24}),U.createElement("path",{d:"M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36c-0.98,1.37-2.58,2.26-4.4,2.26 c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"})),Cw=e=>U.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 0 24 24",width:"24px",fill:"currentColor",...e},U.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),U.createElement("path",{d:"M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"})),Tw=e=>U.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 0 24 24",width:"24px",fill:"currentColor",...e},U.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),U.createElement("path",{d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"})),Pw=e=>U.createElement("svg",{fill:"currentColor",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"24px",height:"24px",viewBox:"796 796 200 200",enableBackground:"new 796 796 200 200",xmlSpace:"preserve",...e},U.createElement("g",null,U.createElement("path",{d:"M939.741,830.286c0.203-1.198-0.133-2.426-0.918-3.354s-1.938-1.461-3.153-1.461h-79.338c-1.214,0-2.365,0.536-3.149,1.463 c-0.784,0.928-1.124,2.155-0.92,3.352c2.866,16.875,12.069,32.797,25.945,42.713c7.737,5.529,13.827,8.003,17.793,8.003 c3.965,0,10.055-2.474,17.793-8.003C927.67,863.083,936.874,847.162,939.741,830.286z"}),U.createElement("path",{d:"M966.478,980.009h-5.074v-11.396c0-23.987-13.375-48.914-35.775-66.679l-7.485-5.936l7.485-5.934 c22.4-17.762,35.775-42.688,35.775-66.678v-11.396h5.074c4.416,0,7.996-3.58,7.996-7.995c0-4.416-3.58-7.996-7.996-7.996H825.521 c-4.415,0-7.995,3.58-7.995,7.996c0,4.415,3.58,7.995,7.995,7.995h5.077v9.202c0,27.228,13.175,53.007,35.243,68.962l8.085,5.843 l-8.085,5.847c-22.068,15.952-35.243,41.732-35.243,68.962v9.202h-5.077c-4.415,0-7.995,3.58-7.995,7.996 c0,4.415,3.58,7.995,7.995,7.995h140.956c4.416,0,7.996-3.58,7.996-7.995C974.474,983.589,970.894,980.009,966.478,980.009z M842.592,970.807c0-23.392,11.318-45.538,30.277-59.242l8.429-6.097c3.03-2.19,4.839-5.729,4.839-9.47 c0-3.739-1.809-7.279-4.84-9.471l-8.429-6.091c-18.958-13.707-30.276-35.853-30.276-59.243v-3.349c0-3.232,2.62-5.853,5.853-5.853 h95.112c3.232,0,5.854,2.621,5.854,5.853v5.543c0,20.36-11.676,41.774-31.232,57.279l-7.792,6.177 c-2.811,2.232-4.422,5.568-4.422,9.155c0,3.588,1.611,6.926,4.425,9.157l7.788,6.177c19.558,15.508,31.233,36.921,31.233,57.28 v5.544c0,3.232-2.621,5.854-5.854,5.854h-95.112c-3.232,0-5.853-2.621-5.853-5.854V970.807z"}))),Ow=e=>U.createElement("svg",{width:"24px",height:"24px",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},U.createElement("path",{d:"M12 11V16M21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3C16.9706 3 21 7.02944 21 12Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),U.createElement("circle",{cx:12,cy:7.5,r:1,fill:"currentColor"})),Nw=e=>U.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",enableBackground:"new 0 0 24 24",height:"24px",viewBox:"0 0 24 24",width:"24px",fill:"currentColor",...e},U.createElement("rect",{fill:"none",height:24,width:24}),U.createElement("path",{d:"M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0 c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2 c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1 C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06 c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41 l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41 c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36 c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"})),Mw=e=>U.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:37,height:34,viewBox:"0 0 37 34",fill:"currentColor",...e},U.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.9129 12.4547L29.0217 0L36.6667 33.1967H0L12.2687 6.86803L19.9129 12.4547ZM15.1741 24.4166L17.3529 27.4205L19.6915 27.4198L17.1351 23.8957L19.3864 20.7907L17.8567 19.6768L15.1741 23.3764V17.7248L13.1575 16.2575V27.4205H15.1741V24.4166ZM20.0105 24.1067C20.0105 26.0056 21.5468 27.5452 23.4425 27.5452C25.3396 27.5452 26.8759 26.0056 26.8759 24.1075C26.8746 23.2903 26.5844 22.5003 26.0573 21.8786C25.5301 21.2569 24.8003 20.8441 23.9983 20.714L25.6403 18.45L24.1105 17.3361L20.6675 22.0832C20.2395 22.6699 20.0093 23.379 20.0105 24.1067ZM24.9179 24.1067C24.9179 24.9226 24.2579 25.5843 23.4432 25.5843C23.2499 25.5848 23.0583 25.547 22.8795 25.473C22.7007 25.399 22.5382 25.2903 22.4011 25.153C22.2641 25.0158 22.1553 24.8528 22.081 24.6733C22.0066 24.4937 21.9681 24.3012 21.9677 24.1067C21.9677 23.2908 22.6277 22.6291 23.4432 22.6291C24.2572 22.6291 24.9179 23.2908 24.9179 24.1067Z",fill:"#7D64FF"})),Lw=e=>U.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20",fill:"currentColor",...e},U.createElement("path",{d:"M12 2C12 0.89544 11.1046 0 10 0C8.8954 0 8 0.89544 8 2C8 3.10456 8.8954 4 10 4C11.1046 4 12 3.10456 12 2Z",fill:"currentColor"}),U.createElement("path",{d:"M12 9.33337C12 8.22881 11.1046 7.33337 10 7.33337C8.8954 7.33337 8 8.22881 8 9.33337C8 10.4379 8.8954 11.3334 10 11.3334C11.1046 11.3334 12 10.4379 12 9.33337Z",fill:"currentColor"}),U.createElement("path",{d:"M12 16.6666C12 15.5621 11.1046 14.6666 10 14.6666C8.8954 14.6666 8 15.5621 8 16.6666C8 17.7712 8.8954 18.6666 10 18.6666C11.1046 18.6666 12 17.7712 12 16.6666Z",fill:"currentColor"})),Rw=e=>U.createElement("svg",{width:"24px",height:"24px",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",...e},U.createElement("g",{id:"Page-1",stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},U.createElement("g",{id:"add",fill:"currentColor",transform:"translate(42.666667, 42.666667)"},U.createElement("path",{d:"M291.76704,163.504 C291.76704,177.01952 288.33216,188.82176 281.479253,198.90112 C275.828267,207.371093 266.358187,216.549547 253.042987,226.434987 C245.378987,231.682347 240.331947,236.618667 237.916587,241.257813 C234.87744,246.90624 233.376213,255.371093 233.376213,266.666667 L190.710827,266.666667 C190.710827,249.530027 192.53504,237.027413 196.165333,229.162667 C200.394453,219.679573 209.571627,210.098773 223.686187,200.42048 C230.350293,195.374933 235.188693,190.2368 238.214827,184.994773 C241.839787,179.143253 243.664,172.49216 243.664,165.028693 C243.664,153.13024 240.125013,144.26304 233.070293,138.404907 C227.4336,134.177067 220.56768,132.059947 212.501333,132.059947 C199.39328,132.059947 189.911467,136.398507 184.065067,145.069013 C179.829333,151.518293 177.7056,159.787733 177.7056,169.868587 L177.7056,170.173227 L132.34368,170.173227 C132.34368,143.751253 140.703147,123.790507 157.43488,110.274773 C171.554773,98.9922133 189.007787,93.3346133 209.77344,93.3346133 C227.933653,93.3346133 243.865813,96.86848 257.571627,103.9232 C280.37504,115.62624 291.76704,135.494827 291.76704,163.504 Z M426.666667,213.333333 C426.666667,331.153707 331.153707,426.666667 213.333333,426.666667 C95.51296,426.666667 3.55271368e-14,331.153707 3.55271368e-14,213.333333 C3.55271368e-14,95.51168 95.51296,3.55271368e-14 213.333333,3.55271368e-14 C331.153707,3.55271368e-14 426.666667,95.51168 426.666667,213.333333 Z M384,213.333333 C384,119.226667 307.43872,42.6666667 213.333333,42.6666667 C119.227947,42.6666667 42.6666667,119.226667 42.6666667,213.333333 C42.6666667,307.43872 119.227947,384 213.333333,384 C307.43872,384 384,307.43872 384,213.333333 Z M213.332053,282.666667 C198.60416,282.666667 186.665387,294.60544 186.665387,309.333333 C186.665387,324.061227 198.60416,336 213.332053,336 C228.059947,336 239.99872,324.061227 239.99872,309.333333 C239.99872,294.60544 228.059947,282.666667 213.332053,282.666667 Z",id:"Shape"})))),jw=e=>U.createElement("svg",{width:"24px",height:"24px",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},U.createElement("path",{opacity:.2,fillRule:"evenodd",clipRule:"evenodd",d:"M12 19C15.866 19 19 15.866 19 12C19 8.13401 15.866 5 12 5C8.13401 5 5 8.13401 5 12C5 15.866 8.13401 19 12 19ZM12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z",fill:"currentColor"}),U.createElement("path",{d:"M12 22C17.5228 22 22 17.5228 22 12H19C19 15.866 15.866 19 12 19V22Z",fill:"currentColor"}),U.createElement("path",{d:"M2 12C2 6.47715 6.47715 2 12 2V5C8.13401 5 5 8.13401 5 12H2Z",fill:"currentColor"})),Aw=e=>U.createElement("svg",{width:"24px",height:"24px",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",className:"bi bi-stopwatch",...e},U.createElement("path",{d:"M8.5 5.6a.5.5 0 1 0-1 0v2.9h-3a.5.5 0 0 0 0 1H8a.5.5 0 0 0 .5-.5V5.6z"}),U.createElement("path",{d:"M6.5 1A.5.5 0 0 1 7 .5h2a.5.5 0 0 1 0 1v.57c1.36.196 2.594.78 3.584 1.64a.715.715 0 0 1 .012-.013l.354-.354-.354-.353a.5.5 0 0 1 .707-.708l1.414 1.415a.5.5 0 1 1-.707.707l-.353-.354-.354.354a.512.512 0 0 1-.013.012A7 7 0 1 1 7 2.071V1.5a.5.5 0 0 1-.5-.5zM8 3a6 6 0 1 0 .001 12A6 6 0 0 0 8 3z"}));function Dw({className:e,name:t,title:n,...r},l){const i=zw[t];return z.jsx("span",{ref:l,children:z.jsx(i,{"aria-hidden":"true",className:e,title:n,...r})})}const zw={"chevron-down":Tw,"chevron-up":Cw,"hour-glass":Pw,info:Ow,options:Lw,logo:Mw,moon:Ew,question:Rw,spinner:jw,"stop-watch":Aw,sun:Nw},Kn=U.forwardRef(Dw);var t0=function(t){return t.reduce(function(n,r){var l=r[0],i=r[1];return n[l]=i,n},{})},n0=typeof window<"u"&&window.document&&window.document.createElement?U.useLayoutEffect:U.useEffect,Zt="top",Sn="bottom",En="right",Jt="left",Kf="auto",zo=[Zt,Sn,En,Jt],Xl="start",Po="end",bw="clippingParents",M1="viewport",Ii="popper",Fw="reference",r0=zo.reduce(function(e,t){return e.concat([t+"-"+Xl,t+"-"+Po])},[]),L1=[].concat(zo,[Kf]).reduce(function(e,t){return e.concat([t,t+"-"+Xl,t+"-"+Po])},[]),Iw="beforeRead",Bw="read",$w="afterRead",Hw="beforeMain",Vw="main",Uw="afterMain",Ww="beforeWrite",qw="write",Kw="afterWrite",Gw=[Iw,Bw,$w,Hw,Vw,Uw,Ww,qw,Kw];function Gn(e){return e?(e.nodeName||"").toLowerCase():null}function an(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ul(e){var t=an(e).Element;return e instanceof t||e instanceof Element}function _n(e){var t=an(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Gf(e){if(typeof ShadowRoot>"u")return!1;var t=an(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Yw(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},l=t.attributes[n]||{},i=t.elements[n];!_n(i)||!Gn(i)||(Object.assign(i.style,r),Object.keys(l).forEach(function(o){var s=l[o];s===!1?i.removeAttribute(o):i.setAttribute(o,s===!0?"":s)}))})}function Qw(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var l=t.elements[r],i=t.attributes[r]||{},o=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),s=o.reduce(function(u,a){return u[a]="",u},{});!_n(l)||!Gn(l)||(Object.assign(l.style,s),Object.keys(i).forEach(function(u){l.removeAttribute(u)}))})}}const Zw={name:"applyStyles",enabled:!0,phase:"write",fn:Yw,effect:Qw,requires:["computeStyles"]};function qn(e){return e.split("-")[0]}var tl=Math.max,aa=Math.min,ei=Math.round;function Fc(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function R1(){return!/^((?!chrome|android).)*safari/i.test(Fc())}function ti(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),l=1,i=1;t&&_n(e)&&(l=e.offsetWidth>0&&ei(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&ei(r.height)/e.offsetHeight||1);var o=ul(e)?an(e):window,s=o.visualViewport,u=!R1()&&n,a=(r.left+(u&&s?s.offsetLeft:0))/l,c=(r.top+(u&&s?s.offsetTop:0))/i,p=r.width/l,d=r.height/i;return{width:p,height:d,top:c,right:a+p,bottom:c+d,left:a,x:a,y:c}}function Yf(e){var t=ti(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function j1(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Gf(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function fr(e){return an(e).getComputedStyle(e)}function Jw(e){return["table","td","th"].indexOf(Gn(e))>=0}function Br(e){return((ul(e)?e.ownerDocument:e.document)||window.document).documentElement}function La(e){return Gn(e)==="html"?e:e.assignedSlot||e.parentNode||(Gf(e)?e.host:null)||Br(e)}function l0(e){return!_n(e)||fr(e).position==="fixed"?null:e.offsetParent}function Xw(e){var t=/firefox/i.test(Fc()),n=/Trident/i.test(Fc());if(n&&_n(e)){var r=fr(e);if(r.position==="fixed")return null}var l=La(e);for(Gf(l)&&(l=l.host);_n(l)&&["html","body"].indexOf(Gn(l))<0;){var i=fr(l);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return l;l=l.parentNode}return null}function bo(e){for(var t=an(e),n=l0(e);n&&Jw(n)&&fr(n).position==="static";)n=l0(n);return n&&(Gn(n)==="html"||Gn(n)==="body"&&fr(n).position==="static")?t:n||Xw(e)||t}function Qf(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function lo(e,t,n){return tl(e,aa(t,n))}function e_(e,t,n){var r=lo(e,t,n);return r>n?n:r}function A1(){return{top:0,right:0,bottom:0,left:0}}function D1(e){return Object.assign({},A1(),e)}function z1(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var t_=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,D1(typeof t!="number"?t:z1(t,zo))};function n_(e){var t,n=e.state,r=e.name,l=e.options,i=n.elements.arrow,o=n.modifiersData.popperOffsets,s=qn(n.placement),u=Qf(s),a=[Jt,En].indexOf(s)>=0,c=a?"height":"width";if(!(!i||!o)){var p=t_(l.padding,n),d=Yf(i),g=u==="y"?Zt:Jt,_=u==="y"?Sn:En,x=n.rects.reference[c]+n.rects.reference[u]-o[u]-n.rects.popper[c],P=o[u]-n.rects.reference[u],y=bo(i),v=y?u==="y"?y.clientHeight||0:y.clientWidth||0:0,w=x/2-P/2,T=p[g],O=v-d[c]-p[_],L=v/2-d[c]/2+w,M=lo(T,L,O),R=u;n.modifiersData[r]=(t={},t[R]=M,t.centerOffset=M-L,t)}}function r_(e){var t=e.state,n=e.options,r=n.element,l=r===void 0?"[data-popper-arrow]":r;l!=null&&(typeof l=="string"&&(l=t.elements.popper.querySelector(l),!l)||j1(t.elements.popper,l)&&(t.elements.arrow=l))}const l_={name:"arrow",enabled:!0,phase:"main",fn:n_,effect:r_,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ni(e){return e.split("-")[1]}var i_={top:"auto",right:"auto",bottom:"auto",left:"auto"};function o_(e,t){var n=e.x,r=e.y,l=t.devicePixelRatio||1;return{x:ei(n*l)/l||0,y:ei(r*l)/l||0}}function i0(e){var t,n=e.popper,r=e.popperRect,l=e.placement,i=e.variation,o=e.offsets,s=e.position,u=e.gpuAcceleration,a=e.adaptive,c=e.roundOffsets,p=e.isFixed,d=o.x,g=d===void 0?0:d,_=o.y,x=_===void 0?0:_,P=typeof c=="function"?c({x:g,y:x}):{x:g,y:x};g=P.x,x=P.y;var y=o.hasOwnProperty("x"),v=o.hasOwnProperty("y"),w=Jt,T=Zt,O=window;if(a){var L=bo(n),M="clientHeight",R="clientWidth";if(L===an(n)&&(L=Br(n),fr(L).position!=="static"&&s==="absolute"&&(M="scrollHeight",R="scrollWidth")),L=L,l===Zt||(l===Jt||l===En)&&i===Po){T=Sn;var I=p&&L===O&&O.visualViewport?O.visualViewport.height:L[M];x-=I-r.height,x*=u?1:-1}if(l===Jt||(l===Zt||l===Sn)&&i===Po){w=En;var D=p&&L===O&&O.visualViewport?O.visualViewport.width:L[R];g-=D-r.width,g*=u?1:-1}}var b=Object.assign({position:s},a&&i_),H=c===!0?o_({x:g,y:x},an(n)):{x:g,y:x};if(g=H.x,x=H.y,u){var K;return Object.assign({},b,(K={},K[T]=v?"0":"",K[w]=y?"0":"",K.transform=(O.devicePixelRatio||1)<=1?"translate("+g+"px, "+x+"px)":"translate3d("+g+"px, "+x+"px, 0)",K))}return Object.assign({},b,(t={},t[T]=v?x+"px":"",t[w]=y?g+"px":"",t.transform="",t))}function s_(e){var t=e.state,n=e.options,r=n.gpuAcceleration,l=r===void 0?!0:r,i=n.adaptive,o=i===void 0?!0:i,s=n.roundOffsets,u=s===void 0?!0:s,a={placement:qn(t.placement),variation:ni(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:l,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,i0(Object.assign({},a,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:u})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,i0(Object.assign({},a,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const a_={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:s_,data:{}};var ys={passive:!0};function u_(e){var t=e.state,n=e.instance,r=e.options,l=r.scroll,i=l===void 0?!0:l,o=r.resize,s=o===void 0?!0:o,u=an(t.elements.popper),a=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&a.forEach(function(c){c.addEventListener("scroll",n.update,ys)}),s&&u.addEventListener("resize",n.update,ys),function(){i&&a.forEach(function(c){c.removeEventListener("scroll",n.update,ys)}),s&&u.removeEventListener("resize",n.update,ys)}}const c_={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:u_,data:{}};var f_={left:"right",right:"left",bottom:"top",top:"bottom"};function As(e){return e.replace(/left|right|bottom|top/g,function(t){return f_[t]})}var d_={start:"end",end:"start"};function o0(e){return e.replace(/start|end/g,function(t){return d_[t]})}function Zf(e){var t=an(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Jf(e){return ti(Br(e)).left+Zf(e).scrollLeft}function p_(e,t){var n=an(e),r=Br(e),l=n.visualViewport,i=r.clientWidth,o=r.clientHeight,s=0,u=0;if(l){i=l.width,o=l.height;var a=R1();(a||!a&&t==="fixed")&&(s=l.offsetLeft,u=l.offsetTop)}return{width:i,height:o,x:s+Jf(e),y:u}}function h_(e){var t,n=Br(e),r=Zf(e),l=(t=e.ownerDocument)==null?void 0:t.body,i=tl(n.scrollWidth,n.clientWidth,l?l.scrollWidth:0,l?l.clientWidth:0),o=tl(n.scrollHeight,n.clientHeight,l?l.scrollHeight:0,l?l.clientHeight:0),s=-r.scrollLeft+Jf(e),u=-r.scrollTop;return fr(l||n).direction==="rtl"&&(s+=tl(n.clientWidth,l?l.clientWidth:0)-i),{width:i,height:o,x:s,y:u}}function Xf(e){var t=fr(e),n=t.overflow,r=t.overflowX,l=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+l+r)}function b1(e){return["html","body","#document"].indexOf(Gn(e))>=0?e.ownerDocument.body:_n(e)&&Xf(e)?e:b1(La(e))}function io(e,t){var n;t===void 0&&(t=[]);var r=b1(e),l=r===((n=e.ownerDocument)==null?void 0:n.body),i=an(r),o=l?[i].concat(i.visualViewport||[],Xf(r)?r:[]):r,s=t.concat(o);return l?s:s.concat(io(La(o)))}function Ic(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function m_(e,t){var n=ti(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function s0(e,t,n){return t===M1?Ic(p_(e,n)):ul(t)?m_(t,n):Ic(h_(Br(e)))}function v_(e){var t=io(La(e)),n=["absolute","fixed"].indexOf(fr(e).position)>=0,r=n&&_n(e)?bo(e):e;return ul(r)?t.filter(function(l){return ul(l)&&j1(l,r)&&Gn(l)!=="body"}):[]}function g_(e,t,n,r){var l=t==="clippingParents"?v_(e):[].concat(t),i=[].concat(l,[n]),o=i[0],s=i.reduce(function(u,a){var c=s0(e,a,r);return u.top=tl(c.top,u.top),u.right=aa(c.right,u.right),u.bottom=aa(c.bottom,u.bottom),u.left=tl(c.left,u.left),u},s0(e,o,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function F1(e){var t=e.reference,n=e.element,r=e.placement,l=r?qn(r):null,i=r?ni(r):null,o=t.x+t.width/2-n.width/2,s=t.y+t.height/2-n.height/2,u;switch(l){case Zt:u={x:o,y:t.y-n.height};break;case Sn:u={x:o,y:t.y+t.height};break;case En:u={x:t.x+t.width,y:s};break;case Jt:u={x:t.x-n.width,y:s};break;default:u={x:t.x,y:t.y}}var a=l?Qf(l):null;if(a!=null){var c=a==="y"?"height":"width";switch(i){case Xl:u[a]=u[a]-(t[c]/2-n[c]/2);break;case Po:u[a]=u[a]+(t[c]/2-n[c]/2);break}}return u}function Oo(e,t){t===void 0&&(t={});var n=t,r=n.placement,l=r===void 0?e.placement:r,i=n.strategy,o=i===void 0?e.strategy:i,s=n.boundary,u=s===void 0?bw:s,a=n.rootBoundary,c=a===void 0?M1:a,p=n.elementContext,d=p===void 0?Ii:p,g=n.altBoundary,_=g===void 0?!1:g,x=n.padding,P=x===void 0?0:x,y=D1(typeof P!="number"?P:z1(P,zo)),v=d===Ii?Fw:Ii,w=e.rects.popper,T=e.elements[_?v:d],O=g_(ul(T)?T:T.contextElement||Br(e.elements.popper),u,c,o),L=ti(e.elements.reference),M=F1({reference:L,element:w,strategy:"absolute",placement:l}),R=Ic(Object.assign({},w,M)),I=d===Ii?R:L,D={top:O.top-I.top+y.top,bottom:I.bottom-O.bottom+y.bottom,left:O.left-I.left+y.left,right:I.right-O.right+y.right},b=e.modifiersData.offset;if(d===Ii&&b){var H=b[l];Object.keys(D).forEach(function(K){var oe=[En,Sn].indexOf(K)>=0?1:-1,se=[Zt,Sn].indexOf(K)>=0?"y":"x";D[K]+=H[se]*oe})}return D}function y_(e,t){t===void 0&&(t={});var n=t,r=n.placement,l=n.boundary,i=n.rootBoundary,o=n.padding,s=n.flipVariations,u=n.allowedAutoPlacements,a=u===void 0?L1:u,c=ni(r),p=c?s?r0:r0.filter(function(_){return ni(_)===c}):zo,d=p.filter(function(_){return a.indexOf(_)>=0});d.length===0&&(d=p);var g=d.reduce(function(_,x){return _[x]=Oo(e,{placement:x,boundary:l,rootBoundary:i,padding:o})[qn(x)],_},{});return Object.keys(g).sort(function(_,x){return g[_]-g[x]})}function w_(e){if(qn(e)===Kf)return[];var t=As(e);return[o0(e),t,o0(t)]}function __(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var l=n.mainAxis,i=l===void 0?!0:l,o=n.altAxis,s=o===void 0?!0:o,u=n.fallbackPlacements,a=n.padding,c=n.boundary,p=n.rootBoundary,d=n.altBoundary,g=n.flipVariations,_=g===void 0?!0:g,x=n.allowedAutoPlacements,P=t.options.placement,y=qn(P),v=y===P,w=u||(v||!_?[As(P)]:w_(P)),T=[P].concat(w).reduce(function(X,pe){return X.concat(qn(pe)===Kf?y_(t,{placement:pe,boundary:c,rootBoundary:p,padding:a,flipVariations:_,allowedAutoPlacements:x}):pe)},[]),O=t.rects.reference,L=t.rects.popper,M=new Map,R=!0,I=T[0],D=0;D=0,se=oe?"width":"height",fe=Oo(t,{placement:b,boundary:c,rootBoundary:p,altBoundary:d,padding:a}),ne=oe?K?En:Jt:K?Sn:Zt;O[se]>L[se]&&(ne=As(ne));var q=As(ne),J=[];if(i&&J.push(fe[H]<=0),s&&J.push(fe[ne]<=0,fe[q]<=0),J.every(function(X){return X})){I=b,R=!1;break}M.set(b,J)}if(R)for(var G=_?3:1,re=function(pe){var Re=T.find(function(Ue){var Be=M.get(Ue);if(Be)return Be.slice(0,pe).every(function(tt){return tt})});if(Re)return I=Re,"break"},Y=G;Y>0;Y--){var me=re(Y);if(me==="break")break}t.placement!==I&&(t.modifiersData[r]._skip=!0,t.placement=I,t.reset=!0)}}const x_={name:"flip",enabled:!0,phase:"main",fn:__,requiresIfExists:["offset"],data:{_skip:!1}};function a0(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function u0(e){return[Zt,En,Sn,Jt].some(function(t){return e[t]>=0})}function k_(e){var t=e.state,n=e.name,r=t.rects.reference,l=t.rects.popper,i=t.modifiersData.preventOverflow,o=Oo(t,{elementContext:"reference"}),s=Oo(t,{altBoundary:!0}),u=a0(o,r),a=a0(s,l,i),c=u0(u),p=u0(a);t.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:a,isReferenceHidden:c,hasPopperEscaped:p},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":p})}const S_={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:k_};function E_(e,t,n){var r=qn(e),l=[Jt,Zt].indexOf(r)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,o=i[0],s=i[1];return o=o||0,s=(s||0)*l,[Jt,En].indexOf(r)>=0?{x:s,y:o}:{x:o,y:s}}function C_(e){var t=e.state,n=e.options,r=e.name,l=n.offset,i=l===void 0?[0,0]:l,o=L1.reduce(function(c,p){return c[p]=E_(p,t.rects,i),c},{}),s=o[t.placement],u=s.x,a=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=a),t.modifiersData[r]=o}const T_={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:C_};function P_(e){var t=e.state,n=e.name;t.modifiersData[n]=F1({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const O_={name:"popperOffsets",enabled:!0,phase:"read",fn:P_,data:{}};function N_(e){return e==="x"?"y":"x"}function M_(e){var t=e.state,n=e.options,r=e.name,l=n.mainAxis,i=l===void 0?!0:l,o=n.altAxis,s=o===void 0?!1:o,u=n.boundary,a=n.rootBoundary,c=n.altBoundary,p=n.padding,d=n.tether,g=d===void 0?!0:d,_=n.tetherOffset,x=_===void 0?0:_,P=Oo(t,{boundary:u,rootBoundary:a,padding:p,altBoundary:c}),y=qn(t.placement),v=ni(t.placement),w=!v,T=Qf(y),O=N_(T),L=t.modifiersData.popperOffsets,M=t.rects.reference,R=t.rects.popper,I=typeof x=="function"?x(Object.assign({},t.rects,{placement:t.placement})):x,D=typeof I=="number"?{mainAxis:I,altAxis:I}:Object.assign({mainAxis:0,altAxis:0},I),b=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,H={x:0,y:0};if(L){if(i){var K,oe=T==="y"?Zt:Jt,se=T==="y"?Sn:En,fe=T==="y"?"height":"width",ne=L[T],q=ne+P[oe],J=ne-P[se],G=g?-R[fe]/2:0,re=v===Xl?M[fe]:R[fe],Y=v===Xl?-R[fe]:-M[fe],me=t.elements.arrow,X=g&&me?Yf(me):{width:0,height:0},pe=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:A1(),Re=pe[oe],Ue=pe[se],Be=lo(0,M[fe],X[fe]),tt=w?M[fe]/2-G-Be-Re-D.mainAxis:re-Be-Re-D.mainAxis,Ct=w?-M[fe]/2+G+Be+Ue+D.mainAxis:Y+Be+Ue+D.mainAxis,st=t.elements.arrow&&bo(t.elements.arrow),dn=st?T==="y"?st.clientTop||0:st.clientLeft||0:0,Qn=(K=b==null?void 0:b[T])!=null?K:0,pn=ne+tt-Qn-dn,Zn=ne+Ct-Qn,Cn=lo(g?aa(q,pn):q,ne,g?tl(J,Zn):J);L[T]=Cn,H[T]=Cn-ne}if(s){var hn,pt=T==="x"?Zt:Jt,ue=T==="x"?Sn:En,nt=L[O],Ft=O==="y"?"height":"width",ye=nt+P[pt],te=nt-P[ue],Oe=[Zt,Jt].indexOf(y)!==-1,$e=(hn=b==null?void 0:b[O])!=null?hn:0,h=Oe?ye:nt-M[Ft]-R[Ft]-$e+D.altAxis,S=Oe?nt+M[Ft]+R[Ft]-$e-D.altAxis:te,C=g&&Oe?e_(h,nt,S):lo(g?h:ye,nt,g?S:te);L[O]=C,H[O]=C-nt}t.modifiersData[r]=H}}const L_={name:"preventOverflow",enabled:!0,phase:"main",fn:M_,requiresIfExists:["offset"]};function R_(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function j_(e){return e===an(e)||!_n(e)?Zf(e):R_(e)}function A_(e){var t=e.getBoundingClientRect(),n=ei(t.width)/e.offsetWidth||1,r=ei(t.height)/e.offsetHeight||1;return n!==1||r!==1}function D_(e,t,n){n===void 0&&(n=!1);var r=_n(t),l=_n(t)&&A_(t),i=Br(t),o=ti(e,l,n),s={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(r||!r&&!n)&&((Gn(t)!=="body"||Xf(i))&&(s=j_(t)),_n(t)?(u=ti(t,!0),u.x+=t.clientLeft,u.y+=t.clientTop):i&&(u.x=Jf(i))),{x:o.left+s.scrollLeft-u.x,y:o.top+s.scrollTop-u.y,width:o.width,height:o.height}}function z_(e){var t=new Map,n=new Set,r=[];e.forEach(function(i){t.set(i.name,i)});function l(i){n.add(i.name);var o=[].concat(i.requires||[],i.requiresIfExists||[]);o.forEach(function(s){if(!n.has(s)){var u=t.get(s);u&&l(u)}}),r.push(i)}return e.forEach(function(i){n.has(i.name)||l(i)}),r}function b_(e){var t=z_(e);return Gw.reduce(function(n,r){return n.concat(t.filter(function(l){return l.phase===r}))},[])}function F_(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function I_(e){var t=e.reduce(function(n,r){var l=n[r.name];return n[r.name]=l?Object.assign({},l,r,{options:Object.assign({},l.options,r.options),data:Object.assign({},l.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var c0={placement:"bottom",modifiers:[],strategy:"absolute"};function f0(){for(var e=arguments.length,t=new Array(e),n=0;ne===null&&t===null?null:n=>{d0(e,n),d0(t,n)},[e,t])}const Z_=({children:e,onClickAway:t})=>{const n=U.useRef(document),r=U.useRef(null),l=Q_(r,e.ref),i=C1(o=>{if(!r.current)throw new Error("ClickAwayListener: missing ref");const s=!n.current.contains(o.target)||r.current.contains(o.target);o.type==="keyup"&&"key"in o&&(!["Escape","Tab"].includes(o.key)||o.key==="Tab"&&s)||o.type==="mouseup"&&s||t(o)});return To("mouseup",i,n),To("keyup",i,n),z.jsx(z.Fragment,{children:U.cloneElement(e,{ref:l})})};var J_="iy2n4g0",X_={fill:"iy2n4g1",text:"iy2n4g2"};function e3({className:e,name:t,title:n,variant:r="fill",...l},i){return z.jsx(Ma,{ref:i,className:Yn(J_,e),variant:r,...l,children:z.jsx(Kn,{className:X_[r],name:t,title:n})})}const t3=U.forwardRef(e3);var n3="_1sxwks00";function r3({children:e,className:t,...n},r){return z.jsx("div",{ref:r,className:Yn(n3,t),...n,children:e})}const Ra=U.forwardRef(r3);var l3="_1x45rmb3",i3={light:"_1x45rmb1 _1x45rmb0",dark:"_1x45rmb2 _1x45rmb0"};function o3({children:e}){const{theme:t}=pi(),[n,r]=U.useState(!1),[l,i]=U.useState(null),[o,s]=U.useState(null),{styles:u,attributes:a}=I1(l,o,{placement:"bottom-end",modifiers:[{name:"offset",options:{offset:[0,10]}}]});return z.jsxs(z.Fragment,{children:[z.jsx(t3,{ref:i,"aria-expanded":n?"true":"false","aria-label":"Menu",name:"options",variant:"text",onClick:()=>r(!n)}),n&&z.jsx(Z_,{onClickAway:()=>r(!1),children:z.jsx(Ra,{...a.popper,ref:s,className:i3[t],style:u.popper,onMouseLeave:()=>r(!1),children:z.jsx(St,{direction:"column",gap:0,children:e})})})]})}function s3({children:e,onClick:t}){return z.jsx(Ma,{variant:"text",onClick:t,children:z.jsx(St,{className:l3,align:"center",gap:2,children:e})})}const zu=Object.assign(o3,{Item:s3});var a3={active:"tz5dd56 tz5dd55",inactive:"tz5dd57 tz5dd55"},u3=Do({conditions:{defaultCondition:"mobile",conditionNames:["mobile","desktop"],responsiveArray:void 0},styles:{display:{values:{none:{conditions:{mobile:"tz5dd51",desktop:"tz5dd52"},defaultClass:"tz5dd51"},block:{conditions:{mobile:"tz5dd53",desktop:"tz5dd54"},defaultClass:"tz5dd53"}}}}}),c3="tz5dd50";function p0({isMobile:e=!1,options:t,value:n,onChange:r}){return z.jsx("nav",{className:Yn(c3,u3({display:{desktop:e?"none":"block",mobile:e?"block":"none"}})),children:z.jsx(St,{gap:2,children:t.map((l,i)=>z.jsx(f3,{label:l.title,index:i,value:n,onChange:r},l.id))})})}function f3({index:e,label:t,value:n,onChange:r,...l}){const i=e===n,o=i?"active":"inactive";return z.jsx(Ma,{"aria-current":i,className:a3[o],variant:"text",onClick:()=>r(e),...l,children:t})}var d3={loading:"_1e0qizf1",default:"_1e0qizf3 _1e0qizf1"},p3="_1e0qizf4",h3="_1e0qizf5";const m3=({children:e,isLoading:t=!1,max:n="100",value:r,...l})=>{const i=t?"loading":"default";return z.jsxs("div",{className:p3,children:[z.jsx("progress",{className:d3[i],max:n,value:r,...l}),e?z.jsx("div",{className:h3,children:e}):null]})},h0=e=>e&&new Date(e).getTime(),B1=(e,t)=>e&&new Date(e.getTime()+t),v3=(e,t,n)=>{const r=h0(e)||0,l=h0(t)||0,i=n.getTime()-r,o=l-r;return i/o*100},g3=(e,t)=>{if(e.stop)return 100;const n=e.param.endOffset,r=B1(e.start,n),l=v3(e.start,r,t);return Math.round(l)},$1=(e=0)=>{const t=Math.round(e),n=Math.round(t%60);return t<0?"-":t<60?`${t}s`:n>0?`${Math.round((e-n)/60)}min ${n}s`:`${Math.round(t/60)}min`},y3=e=>{const t=e.param.period||0;return $1(t/1e3)},w3=e=>{const t=e.start,n=e.param.endOffset||0,r=e.stop||B1(e.start,n);if(!(!t||!r))return $1((r.getTime()-t.getTime())/1e3)};var _3="kfrms71",x3="kfrms73",k3="kfrms70",S3="kfrms74";const E3=e=>{var t;return(t=e==null?void 0:e.popper)==null?void 0:t["data-popper-placement"]},C3=e=>e?e.startsWith("top")?"top":e.startsWith("bottom")?"bottom":e.startsWith("right")?"right":"left":"left";var T3={top:"_1lpb9zp4 _1lpb9zp3",bottom:"_1lpb9zp5 _1lpb9zp3",left:"_1lpb9zp6 _1lpb9zp3",right:"_1lpb9zp7 _1lpb9zp3"},P3={light:"_1lpb9zp1 _1lpb9zp0",dark:"_1lpb9zp2 _1lpb9zp0"};function Bc({children:e,placement:t="bottom-start",title:n}){const[r,l]=U.useState(!1),{theme:i}=pi(),[o,s]=U.useState(null),[u,a]=U.useState(null),[c,p]=U.useState(null),{styles:d,attributes:g}=I1(u,c,{placement:t,modifiers:[{name:"arrow",options:{element:o}},{name:"offset",options:{offset:[0,5]}}]}),_=C3(E3(g));return n?z.jsxs(z.Fragment,{children:[z.jsx("div",{ref:a,onMouseEnter:()=>l(!0),onMouseLeave:()=>l(!1),children:e}),r&&z.jsxs("div",{ref:p,className:P3[i],style:d.popper,...g.popper,children:[n,z.jsx("div",{ref:s,className:T3[_],style:d.arrow})]})]}):e}function O3({config:e,tab:t,onTabChange:n}){const r=pl(),l=!r.stop&&g3(r,new Date);return z.jsx(z.Fragment,{children:z.jsxs("header",{className:k3,children:[z.jsxs(St,{className:_3,align:"center",justify:"space-between",children:[z.jsxs(St,{align:"center",gap:4,children:[z.jsx(Kn,{name:"logo"}),z.jsx(p0,{options:e.tabs,value:t,onChange:n})]}),z.jsxs(St,{align:"center",children:[z.jsx(N3,{}),z.jsx(Ma,{onClick:()=>window.open("../report","k6-report"),children:"Report"}),z.jsx(M3,{})]})]}),l?z.jsx(m3,{value:l}):z.jsx(Sw,{className:x3}),z.jsx(p0,{isMobile:!0,options:e.tabs,value:t,onChange:n})]})})}const N3=()=>{const e=pl();return z.jsx("div",{className:S3,children:z.jsxs(St,{align:"center",gap:3,children:[z.jsx(Bc,{placement:"bottom",title:"Refresh rate",children:z.jsxs(St,{align:"center",gap:2,children:[z.jsx(Kn,{name:"stop-watch",width:"12px",height:"12px"}),z.jsx("span",{children:y3(e)})]})}),z.jsx(Bc,{placement:"bottom",title:"Duration",children:z.jsxs(St,{align:"center",gap:2,children:[z.jsx(Kn,{name:"hour-glass",width:"12px",height:"12px"}),z.jsx("span",{children:w3(e)})]})})]})})},M3=()=>{const{theme:e,setTheme:t}=pi();function n(){window.open("https://github.com/grafana/xk6-dashboard","_blank")}function r(){t(e==="light"?"dark":"light")}return z.jsxs(zu,{children:[z.jsxs(zu.Item,{onClick:n,children:[z.jsx(Kn,{name:"question"}),z.jsx("span",{children:"Help"})]}),z.jsxs(zu.Item,{onClick:r,children:[z.jsx(Kn,{name:e==="dark"?"sun":"moon"}),z.jsxs("span",{children:[e==="dark"?"Light":"Dark"," mode"]})]})]})};var L3="_1isundr0";function R3({children:e,message:t,isLoading:n}){return n?z.jsxs(St,{align:"center",justify:"center",children:[z.jsx(Kn,{className:L3,name:"spinner"}),z.jsx("h2",{children:t})]}):e}var H1={exports:{}};/*! @preserve +`+i.stack}return{value:e,source:t,stack:l,digest:null}}function Mu(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function kc(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Xy=typeof WeakMap=="function"?WeakMap:Map;function Wm(e,t,n){n=lr(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){la||(la=!0,Rc=r),kc(e,t)},n}function qm(e,t,n){n=lr(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var l=t.value;n.payload=function(){return r(l)},n.callback=function(){kc(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){kc(e,t),typeof r!="function"&&(Rr===null?Rr=new Set([this]):Rr.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),n}function Lp(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Xy;var l=new Set;r.set(t,l)}else l=r.get(t),l===void 0&&(l=new Set,r.set(t,l));l.has(n)||(l.add(n),e=p2.bind(null,e,t,n),t.then(e,e))}function Rp(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function jp(e,t,n,r,l){return e.mode&1?(e.flags|=65536,e.lanes=l,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=lr(-1,1),t.tag=2,Lr(n,t,1))),n.lanes|=1),e)}var e2=dr.ReactCurrentOwner,Kt=!1;function $t(e,t,n,r){t.child=e===null?Em(t,null,n,r):Yl(t,e.child,n,r)}function Ap(e,t,n,r,l){n=n.render;var i=t.ref;return Vl(t,l),r=Of(e,t,n,r,i,l),n=Nf(),e!==null&&!Kt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,cr(e,t,l)):(Ve&&n&&vf(t),t.flags|=1,$t(e,t,r,l),t.child)}function Dp(e,t,n,r,l){if(e===null){var i=n.type;return typeof i=="function"&&!If(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,Km(e,t,i,r,l)):(e=js(n.type,null,r,t,t.mode,l),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&l)){var o=i.memoizedProps;if(n=n.compare,n=n!==null?n:vo,n(o,r)&&e.ref===t.ref)return cr(e,t,l)}return t.flags|=1,e=Ar(i,r),e.ref=t.ref,e.return=t,t.child=e}function Km(e,t,n,r,l){if(e!==null){var i=e.memoizedProps;if(vo(i,r)&&e.ref===t.ref)if(Kt=!1,t.pendingProps=r=i,(e.lanes&l)!==0)e.flags&131072&&(Kt=!0);else return t.lanes=e.lanes,cr(e,t,l)}return Sc(e,t,n,r,l)}function Gm(e,t,n){var r=t.pendingProps,l=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ae(Fl,tn),tn|=n;else{if(!(n&1073741824))return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ae(Fl,tn),tn|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,Ae(Fl,tn),tn|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,Ae(Fl,tn),tn|=r;return $t(e,t,l,n),t.child}function Ym(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Sc(e,t,n,r,l){var i=Yt(n)?ll:bt.current;return i=Kl(t,i),Vl(t,l),n=Of(e,t,n,r,i,l),r=Nf(),e!==null&&!Kt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,cr(e,t,l)):(Ve&&r&&vf(t),t.flags|=1,$t(e,t,n,l),t.child)}function zp(e,t,n,r,l){if(Yt(n)){var i=!0;Gs(t)}else i=!1;if(Vl(t,l),t.stateNode===null)Ms(e,t),km(t,n,r),xc(t,n,r,l),r=!0;else if(e===null){var o=t.stateNode,s=t.memoizedProps;o.props=s;var u=o.context,a=n.contextType;typeof a=="object"&&a!==null?a=xn(a):(a=Yt(n)?ll:bt.current,a=Kl(t,a));var c=n.getDerivedStateFromProps,p=typeof c=="function"||typeof o.getSnapshotBeforeUpdate=="function";p||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(s!==r||u!==a)&&Pp(t,o,r,a),xr=!1;var d=t.memoizedState;o.state=d,Xs(t,r,o,l),u=t.memoizedState,s!==r||d!==u||Gt.current||xr?(typeof c=="function"&&(_c(t,n,c,r),u=t.memoizedState),(s=xr||Tp(t,n,s,r,d,u,a))?(p||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"&&(t.flags|=4194308)):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),o.props=r,o.state=u,o.context=a,r=s):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,_m(e,t),s=t.memoizedProps,a=t.type===t.elementType?s:Rn(t.type,s),o.props=a,p=t.pendingProps,d=o.context,u=n.contextType,typeof u=="object"&&u!==null?u=xn(u):(u=Yt(n)?ll:bt.current,u=Kl(t,u));var g=n.getDerivedStateFromProps;(c=typeof g=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(s!==p||d!==u)&&Pp(t,o,r,u),xr=!1,d=t.memoizedState,o.state=d,Xs(t,r,o,l);var _=t.memoizedState;s!==p||d!==_||Gt.current||xr?(typeof g=="function"&&(_c(t,n,g,r),_=t.memoizedState),(a=xr||Tp(t,n,a,r,d,_,u)||!1)?(c||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(r,_,u),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(r,_,u)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof o.componentDidUpdate!="function"||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=_),o.props=r,o.state=_,o.context=u,r=a):(typeof o.componentDidUpdate!="function"||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return Ec(e,t,n,r,i,l)}function Ec(e,t,n,r,l,i){Ym(e,t);var o=(t.flags&128)!==0;if(!r&&!o)return l&&xp(t,n,!1),cr(e,t,i);r=t.stateNode,e2.current=t;var s=o&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&o?(t.child=Yl(t,e.child,null,i),t.child=Yl(t,null,s,i)):$t(e,t,s,i),t.memoizedState=r.state,l&&xp(t,n,!0),t.child}function Qm(e){var t=e.stateNode;t.pendingContext?_p(e,t.pendingContext,t.pendingContext!==t.context):t.context&&_p(e,t.context,!1),Ef(e,t.containerInfo)}function bp(e,t,n,r,l){return Gl(),yf(l),t.flags|=256,$t(e,t,n,r),t.child}var Cc={dehydrated:null,treeContext:null,retryLane:0};function Tc(e){return{baseLanes:e,cachePool:null,transitions:null}}function Zm(e,t,n){var r=t.pendingProps,l=Ke.current,i=!1,o=(t.flags&128)!==0,s;if((s=o)||(s=e!==null&&e.memoizedState===null?!1:(l&2)!==0),s?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(l|=1),Ae(Ke,l&1),e===null)return yc(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(o=r.children,e=r.fallback,i?(r=t.mode,i=t.child,o={mode:"hidden",children:o},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=o):i=Ca(o,r,0,null),e=el(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=Tc(n),t.memoizedState=Cc,e):Rf(t,o));if(l=e.memoizedState,l!==null&&(s=l.dehydrated,s!==null))return t2(e,t,o,r,s,l,n);if(i){i=r.fallback,o=t.mode,l=e.child,s=l.sibling;var u={mode:"hidden",children:r.children};return!(o&1)&&t.child!==l?(r=t.child,r.childLanes=0,r.pendingProps=u,t.deletions=null):(r=Ar(l,u),r.subtreeFlags=l.subtreeFlags&14680064),s!==null?i=Ar(s,i):(i=el(i,o,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,o=e.child.memoizedState,o=o===null?Tc(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},i.memoizedState=o,i.childLanes=e.childLanes&~n,t.memoizedState=Cc,r}return i=e.child,e=i.sibling,r=Ar(i,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Rf(e,t){return t=Ca({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function fs(e,t,n,r){return r!==null&&yf(r),Yl(t,e.child,null,n),e=Rf(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function t2(e,t,n,r,l,i,o){if(n)return t.flags&256?(t.flags&=-257,r=Mu(Error($(422))),fs(e,t,o,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,l=t.mode,r=Ca({mode:"visible",children:r.children},l,0,null),i=el(i,l,o,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,t.mode&1&&Yl(t,e.child,null,o),t.child.memoizedState=Tc(o),t.memoizedState=Cc,i);if(!(t.mode&1))return fs(e,t,o,null);if(l.data==="$!"){if(r=l.nextSibling&&l.nextSibling.dataset,r)var s=r.dgst;return r=s,i=Error($(419)),r=Mu(i,r,void 0),fs(e,t,o,r)}if(s=(o&e.childLanes)!==0,Kt||s){if(r=kt,r!==null){switch(o&-o){case 4:l=2;break;case 16:l=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:l=32;break;case 536870912:l=268435456;break;default:l=0}l=l&(r.suspendedLanes|o)?0:l,l!==0&&l!==i.retryLane&&(i.retryLane=l,ur(e,l),zn(r,e,l,-1))}return Ff(),r=Mu(Error($(421))),fs(e,t,o,r)}return l.data==="$?"?(t.flags|=128,t.child=e.child,t=h2.bind(null,e),l._reactRetry=t,null):(e=i.treeContext,rn=Mr(l.nextSibling),ln=t,Ve=!0,An=null,e!==null&&(vn[gn++]=nr,vn[gn++]=rr,vn[gn++]=il,nr=e.id,rr=e.overflow,il=t),t=Rf(t,r.children),t.flags|=4096,t)}function Fp(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),wc(e.return,t,n)}function Lu(e,t,n,r,l){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:l}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=l)}function Jm(e,t,n){var r=t.pendingProps,l=r.revealOrder,i=r.tail;if($t(e,t,r.children,n),r=Ke.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Fp(e,n,t);else if(e.tag===19)Fp(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Ae(Ke,r),!(t.mode&1))t.memoizedState=null;else switch(l){case"forwards":for(n=t.child,l=null;n!==null;)e=n.alternate,e!==null&&ea(e)===null&&(l=n),n=n.sibling;n=l,n===null?(l=t.child,t.child=null):(l=n.sibling,n.sibling=null),Lu(t,!1,l,n,i);break;case"backwards":for(n=null,l=t.child,t.child=null;l!==null;){if(e=l.alternate,e!==null&&ea(e)===null){t.child=l;break}e=l.sibling,l.sibling=n,n=l,l=e}Lu(t,!0,n,null,i);break;case"together":Lu(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Ms(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function cr(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),sl|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error($(153));if(t.child!==null){for(e=t.child,n=Ar(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Ar(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function n2(e,t,n){switch(t.tag){case 3:Qm(t),Gl();break;case 5:Cm(t);break;case 1:Yt(t.type)&&Gs(t);break;case 4:Ef(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,l=t.memoizedProps.value;Ae(Zs,r._currentValue),r._currentValue=l;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(Ae(Ke,Ke.current&1),t.flags|=128,null):n&t.child.childLanes?Zm(e,t,n):(Ae(Ke,Ke.current&1),e=cr(e,t,n),e!==null?e.sibling:null);Ae(Ke,Ke.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return Jm(e,t,n);t.flags|=128}if(l=t.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),Ae(Ke,Ke.current),r)break;return null;case 22:case 23:return t.lanes=0,Gm(e,t,n)}return cr(e,t,n)}var Xm,Pc,e1,t1;Xm=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};Pc=function(){};e1=function(e,t,n,r){var l=e.memoizedProps;if(l!==r){e=t.stateNode,Jr(Wn.current);var i=null;switch(n){case"input":l=Yu(e,l),r=Yu(e,r),i=[];break;case"select":l=Ye({},l,{value:void 0}),r=Ye({},r,{value:void 0}),i=[];break;case"textarea":l=Ju(e,l),r=Ju(e,r),i=[];break;default:typeof l.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=qs)}ec(n,r);var o;n=null;for(a in l)if(!r.hasOwnProperty(a)&&l.hasOwnProperty(a)&&l[a]!=null)if(a==="style"){var s=l[a];for(o in s)s.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else a!=="dangerouslySetInnerHTML"&&a!=="children"&&a!=="suppressContentEditableWarning"&&a!=="suppressHydrationWarning"&&a!=="autoFocus"&&(ao.hasOwnProperty(a)?i||(i=[]):(i=i||[]).push(a,null));for(a in r){var u=r[a];if(s=l!=null?l[a]:void 0,r.hasOwnProperty(a)&&u!==s&&(u!=null||s!=null))if(a==="style")if(s){for(o in s)!s.hasOwnProperty(o)||u&&u.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in u)u.hasOwnProperty(o)&&s[o]!==u[o]&&(n||(n={}),n[o]=u[o])}else n||(i||(i=[]),i.push(a,n)),n=u;else a==="dangerouslySetInnerHTML"?(u=u?u.__html:void 0,s=s?s.__html:void 0,u!=null&&s!==u&&(i=i||[]).push(a,u)):a==="children"?typeof u!="string"&&typeof u!="number"||(i=i||[]).push(a,""+u):a!=="suppressContentEditableWarning"&&a!=="suppressHydrationWarning"&&(ao.hasOwnProperty(a)?(u!=null&&a==="onScroll"&&Fe("scroll",e),i||s===u||(i=[])):(i=i||[]).push(a,u))}n&&(i=i||[]).push("style",n);var a=i;(t.updateQueue=a)&&(t.flags|=4)}};t1=function(e,t,n,r){n!==r&&(t.flags|=4)};function bi(e,t){if(!Ve)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Dt(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var l=e.child;l!==null;)n|=l.lanes|l.childLanes,r|=l.subtreeFlags&14680064,r|=l.flags&14680064,l.return=e,l=l.sibling;else for(l=e.child;l!==null;)n|=l.lanes|l.childLanes,r|=l.subtreeFlags,r|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function r2(e,t,n){var r=t.pendingProps;switch(gf(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Dt(t),null;case 1:return Yt(t.type)&&Ks(),Dt(t),null;case 3:return r=t.stateNode,Ql(),Ie(Gt),Ie(bt),Tf(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(us(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,An!==null&&(Dc(An),An=null))),Pc(e,t),Dt(t),null;case 5:Cf(t);var l=Jr(xo.current);if(n=t.type,e!==null&&t.stateNode!=null)e1(e,t,n,r,l),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error($(166));return Dt(t),null}if(e=Jr(Wn.current),us(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[Vn]=t,r[wo]=i,e=(t.mode&1)!==0,n){case"dialog":Fe("cancel",r),Fe("close",r);break;case"iframe":case"object":case"embed":Fe("load",r);break;case"video":case"audio":for(l=0;l<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[Vn]=t,e[wo]=r,Xm(e,t,!1,!1),t.stateNode=e;e:{switch(o=tc(n,r),n){case"dialog":Fe("cancel",e),Fe("close",e),l=r;break;case"iframe":case"object":case"embed":Fe("load",e),l=r;break;case"video":case"audio":for(l=0;lJl&&(t.flags|=128,r=!0,bi(i,!1),t.lanes=4194304)}else{if(!r)if(e=ea(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),bi(i,!0),i.tail===null&&i.tailMode==="hidden"&&!o.alternate&&!Ve)return Dt(t),null}else 2*et()-i.renderingStartTime>Jl&&n!==1073741824&&(t.flags|=128,r=!0,bi(i,!1),t.lanes=4194304);i.isBackwards?(o.sibling=t.child,t.child=o):(n=i.last,n!==null?n.sibling=o:t.child=o,i.last=o)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=et(),t.sibling=null,n=Ke.current,Ae(Ke,r?n&1|2:n&1),t):(Dt(t),null);case 22:case 23:return bf(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?tn&1073741824&&(Dt(t),t.subtreeFlags&6&&(t.flags|=8192)):Dt(t),null;case 24:return null;case 25:return null}throw Error($(156,t.tag))}function l2(e,t){switch(gf(t),t.tag){case 1:return Yt(t.type)&&Ks(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Ql(),Ie(Gt),Ie(bt),Tf(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Cf(t),null;case 13:if(Ie(Ke),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error($(340));Gl()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Ie(Ke),null;case 4:return Ql(),null;case 10:return xf(t.type._context),null;case 22:case 23:return bf(),null;case 24:return null;default:return null}}var ds=!1,zt=!1,i2=typeof WeakSet=="function"?WeakSet:Set,ee=null;function bl(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Je(e,t,r)}else n.current=null}function Oc(e,t,n){try{n()}catch(r){Je(e,t,r)}}var Ip=!1;function o2(e,t){if(fc=Vs,e=im(),mf(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var l=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var o=0,s=-1,u=-1,a=0,c=0,p=e,d=null;t:for(;;){for(var g;p!==n||l!==0&&p.nodeType!==3||(s=o+l),p!==i||r!==0&&p.nodeType!==3||(u=o+r),p.nodeType===3&&(o+=p.nodeValue.length),(g=p.firstChild)!==null;)d=p,p=g;for(;;){if(p===e)break t;if(d===n&&++a===l&&(s=o),d===i&&++c===r&&(u=o),(g=p.nextSibling)!==null)break;p=d,d=p.parentNode}p=g}n=s===-1||u===-1?null:{start:s,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(dc={focusedElem:e,selectionRange:n},Vs=!1,ee=t;ee!==null;)if(t=ee,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,ee=e;else for(;ee!==null;){t=ee;try{var _=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(_!==null){var x=_.memoizedProps,P=_.memoizedState,y=t.stateNode,v=y.getSnapshotBeforeUpdate(t.elementType===t.type?x:Rn(t.type,x),P);y.__reactInternalSnapshotBeforeUpdate=v}break;case 3:var w=t.stateNode.containerInfo;w.nodeType===1?w.textContent="":w.nodeType===9&&w.documentElement&&w.removeChild(w.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error($(163))}}catch(T){Je(t,t.return,T)}if(e=t.sibling,e!==null){e.return=t.return,ee=e;break}ee=t.return}return _=Ip,Ip=!1,_}function to(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var i=l.destroy;l.destroy=void 0,i!==void 0&&Oc(t,n,i)}l=l.next}while(l!==r)}}function Sa(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Nc(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function n1(e){var t=e.alternate;t!==null&&(e.alternate=null,n1(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Vn],delete t[wo],delete t[mc],delete t[Hy],delete t[Vy])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function r1(e){return e.tag===5||e.tag===3||e.tag===4}function Bp(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||r1(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Mc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=qs));else if(r!==4&&(e=e.child,e!==null))for(Mc(e,t,n),e=e.sibling;e!==null;)Mc(e,t,n),e=e.sibling}function Lc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Lc(e,t,n),e=e.sibling;e!==null;)Lc(e,t,n),e=e.sibling}var Mt=null,jn=!1;function yr(e,t,n){for(n=n.child;n!==null;)l1(e,t,n),n=n.sibling}function l1(e,t,n){if(Un&&typeof Un.onCommitFiberUnmount=="function")try{Un.onCommitFiberUnmount(ma,n)}catch{}switch(n.tag){case 5:zt||bl(n,t);case 6:var r=Mt,l=jn;Mt=null,yr(e,t,n),Mt=r,jn=l,Mt!==null&&(jn?(e=Mt,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Mt.removeChild(n.stateNode));break;case 18:Mt!==null&&(jn?(e=Mt,n=n.stateNode,e.nodeType===8?Eu(e.parentNode,n):e.nodeType===1&&Eu(e,n),ho(e)):Eu(Mt,n.stateNode));break;case 4:r=Mt,l=jn,Mt=n.stateNode.containerInfo,jn=!0,yr(e,t,n),Mt=r,jn=l;break;case 0:case 11:case 14:case 15:if(!zt&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var i=l,o=i.destroy;i=i.tag,o!==void 0&&(i&2||i&4)&&Oc(n,t,o),l=l.next}while(l!==r)}yr(e,t,n);break;case 1:if(!zt&&(bl(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){Je(n,t,s)}yr(e,t,n);break;case 21:yr(e,t,n);break;case 22:n.mode&1?(zt=(r=zt)||n.memoizedState!==null,yr(e,t,n),zt=r):yr(e,t,n);break;default:yr(e,t,n)}}function $p(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new i2),t.forEach(function(r){var l=m2.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function Mn(e,t){var n=t.deletions;if(n!==null)for(var r=0;rl&&(l=o),r&=~i}if(r=l,r=et()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*a2(r/1960))-r,10e?16:e,Tr===null)var r=!1;else{if(e=Tr,Tr=null,ia=0,Se&6)throw Error($(331));var l=Se;for(Se|=4,ee=e.current;ee!==null;){var i=ee,o=i.child;if(ee.flags&16){var s=i.deletions;if(s!==null){for(var u=0;uet()-Df?Xr(e,0):Af|=n),Qt(e,t)}function d1(e,t){t===0&&(e.mode&1?(t=rs,rs<<=1,!(rs&130023424)&&(rs=4194304)):t=1);var n=Ht();e=ur(e,t),e!==null&&(Lo(e,t,n),Qt(e,n))}function h2(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),d1(e,n)}function m2(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error($(314))}r!==null&&r.delete(t),d1(e,n)}var p1;p1=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Gt.current)Kt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Kt=!1,n2(e,t,n);Kt=!!(e.flags&131072)}else Kt=!1,Ve&&t.flags&1048576&&vm(t,Qs,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ms(e,t),e=t.pendingProps;var l=Kl(t,bt.current);Vl(t,n),l=Of(null,t,r,e,l,n);var i=Nf();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Yt(r)?(i=!0,Gs(t)):i=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Sf(t),l.updater=xa,t.stateNode=l,l._reactInternals=t,xc(t,r,e,n),t=Ec(null,t,r,!0,i,n)):(t.tag=0,Ve&&i&&vf(t),$t(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ms(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=g2(r),e=Rn(r,e),l){case 0:t=Sc(null,t,r,e,n);break e;case 1:t=zp(null,t,r,e,n);break e;case 11:t=Ap(null,t,r,e,n);break e;case 14:t=Dp(null,t,r,Rn(r.type,e),n);break e}throw Error($(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Rn(r,l),Sc(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Rn(r,l),zp(e,t,r,l,n);case 3:e:{if(Qm(t),e===null)throw Error($(387));r=t.pendingProps,i=t.memoizedState,l=i.element,_m(e,t),Xs(t,r,null,n);var o=t.memoizedState;if(r=o.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){l=Zl(Error($(423)),t),t=bp(e,t,r,n,l);break e}else if(r!==l){l=Zl(Error($(424)),t),t=bp(e,t,r,n,l);break e}else for(rn=Mr(t.stateNode.containerInfo.firstChild),ln=t,Ve=!0,An=null,n=Em(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Gl(),r===l){t=cr(e,t,n);break e}$t(e,t,r,n)}t=t.child}return t;case 5:return Cm(t),e===null&&yc(t),r=t.type,l=t.pendingProps,i=e!==null?e.memoizedProps:null,o=l.children,pc(r,l)?o=null:i!==null&&pc(r,i)&&(t.flags|=32),Ym(e,t),$t(e,t,o,n),t.child;case 6:return e===null&&yc(t),null;case 13:return Zm(e,t,n);case 4:return Ef(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Yl(t,null,r,n):$t(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Rn(r,l),Ap(e,t,r,l,n);case 7:return $t(e,t,t.pendingProps,n),t.child;case 8:return $t(e,t,t.pendingProps.children,n),t.child;case 12:return $t(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,i=t.memoizedProps,o=l.value,Ae(Zs,r._currentValue),r._currentValue=o,i!==null)if(bn(i.value,o)){if(i.children===l.children&&!Gt.current){t=cr(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var s=i.dependencies;if(s!==null){o=i.child;for(var u=s.firstContext;u!==null;){if(u.context===r){if(i.tag===1){u=lr(-1,n&-n),u.tag=2;var a=i.updateQueue;if(a!==null){a=a.shared;var c=a.pending;c===null?u.next=u:(u.next=c.next,c.next=u),a.pending=u}}i.lanes|=n,u=i.alternate,u!==null&&(u.lanes|=n),wc(i.return,n,t),s.lanes|=n;break}u=u.next}}else if(i.tag===10)o=i.type===t.type?null:i.child;else if(i.tag===18){if(o=i.return,o===null)throw Error($(341));o.lanes|=n,s=o.alternate,s!==null&&(s.lanes|=n),wc(o,n,t),o=i.sibling}else o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===t){o=null;break}if(i=o.sibling,i!==null){i.return=o.return,o=i;break}o=o.return}i=o}$t(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,Vl(t,n),l=xn(l),r=r(l),t.flags|=1,$t(e,t,r,n),t.child;case 14:return r=t.type,l=Rn(r,t.pendingProps),l=Rn(r.type,l),Dp(e,t,r,l,n);case 15:return Km(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Rn(r,l),Ms(e,t),t.tag=1,Yt(r)?(e=!0,Gs(t)):e=!1,Vl(t,n),km(t,r,l),xc(t,r,l,n),Ec(null,t,r,!0,e,n);case 19:return Jm(e,t,n);case 22:return Gm(e,t,n)}throw Error($(156,t.tag))};function h1(e,t){return Bh(e,t)}function v2(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function yn(e,t,n,r){return new v2(e,t,n,r)}function If(e){return e=e.prototype,!(!e||!e.isReactComponent)}function g2(e){if(typeof e=="function")return If(e)?1:0;if(e!=null){if(e=e.$$typeof,e===rf)return 11;if(e===lf)return 14}return 2}function Ar(e,t){var n=e.alternate;return n===null?(n=yn(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function js(e,t,n,r,l,i){var o=2;if(r=e,typeof e=="function")If(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Ol:return el(n.children,l,i,t);case nf:o=8,l|=8;break;case Wu:return e=yn(12,n,t,l|2),e.elementType=Wu,e.lanes=i,e;case qu:return e=yn(13,n,t,l),e.elementType=qu,e.lanes=i,e;case Ku:return e=yn(19,n,t,l),e.elementType=Ku,e.lanes=i,e;case Sh:return Ca(n,l,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case xh:o=10;break e;case kh:o=9;break e;case rf:o=11;break e;case lf:o=14;break e;case _r:o=16,r=null;break e}throw Error($(130,e==null?e:typeof e,""))}return t=yn(o,n,t,l),t.elementType=e,t.type=r,t.lanes=i,t}function el(e,t,n,r){return e=yn(7,e,r,t),e.lanes=n,e}function Ca(e,t,n,r){return e=yn(22,e,r,t),e.elementType=Sh,e.lanes=n,e.stateNode={isHidden:!1},e}function Ru(e,t,n){return e=yn(6,e,null,t),e.lanes=n,e}function ju(e,t,n){return t=yn(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function y2(e,t,n,r,l){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=pu(0),this.expirationTimes=pu(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=pu(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function Bf(e,t,n,r,l,i,o,s,u){return e=new y2(e,t,n,s,u),t===1?(t=1,i===!0&&(t|=8)):t=0,i=yn(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Sf(i),e}function w2(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(y1)}catch(e){console.error(e)}}y1(),vh.exports=un;var w1=vh.exports,Yp=w1;Vu.createRoot=Yp.createRoot,Vu.hydrateRoot=Yp.hydrateRoot;const E2="k6 dashboard",C2=[{sections:[{panels:[{series:[{query:"iterations[?!tags && rate]"}],title:"Iteration Rate",kind:"stat",id:"tab-0.section-0.panel-0",summary:""},{series:[{query:"http_reqs[?!tags && rate]"}],title:"HTTP Request Rate",kind:"stat",id:"tab-0.section-0.panel-1",summary:""},{series:[{query:"http_req_duration[?!tags && avg]"}],title:"HTTP Request Duration",kind:"stat",id:"tab-0.section-0.panel-2",summary:""},{series:[{query:"http_req_failed[?!tags && rate ]"}],title:"HTTP Request Failed",kind:"stat",id:"tab-0.section-0.panel-3",summary:""},{series:[{query:"data_received[?!tags && rate]"}],title:"Received Rate",kind:"stat",id:"tab-0.section-0.panel-4",summary:""},{series:[{query:"data_sent[?!tags && rate]"}],title:"Sent Rate",kind:"stat",id:"tab-0.section-0.panel-5",summary:""}],id:"tab-0.section-0"},{panels:[{series:[{query:"http_reqs[?!tags && rate]",legend:"Request Rate"},{query:"http_req_duration[?!tags && p95]",legend:"Request Duration p(95)"},{query:"http_req_failed[?!tags && rate ]",legend:"Request Failed"}],title:"HTTP Performance overview",id:"tab-0.section-1.panel-0",summary:"",fullWidth:!0,kind:"chart"}],id:"tab-0.section-1"},{panels:[{series:[{query:"vus[?!tags && value]"},{query:"http_reqs[?!tags && rate ]"}],title:"VUs",id:"tab-0.section-2.panel-0",summary:"",kind:"chart"},{series:[{query:"data_received[?!tags && rate]"},{query:"data_sent[?!tags && rate]"}],title:"Transfer Rate",id:"tab-0.section-2.panel-1",summary:"",kind:"chart"},{series:[{query:"http_req_duration[?!tags && (avg || p90 || p95 || p99)]"}],title:"HTTP Request Duration",id:"tab-0.section-2.panel-2",summary:"",kind:"chart"},{series:[{query:"iteration_duration[?!tags && (avg || p90 || p95 || p99)]"}],title:"Iteration Duration",id:"tab-0.section-2.panel-3",summary:"",kind:"chart"}],id:"tab-0.section-2"}],title:"Overview",summary:"This chapter provides an overview of the most important metrics of the test run. Graphs plot the value of metrics over time.",id:"tab-0"},{sections:[{panels:[{series:[{query:"http_req_duration[?!tags && (avg || p90 || p95 || p99)]"}],title:"Request Duration",id:"tab-1.section-0.panel-0",summary:"",kind:"chart"},{series:[{query:"http_req_failed[?!tags && rate ]"}],title:"Request Failed Rate",id:"tab-1.section-0.panel-1",summary:"",kind:"chart"},{series:[{query:"http_reqs[?!tags && rate]"}],title:"Request Rate",id:"tab-1.section-0.panel-2",summary:"",kind:"chart"},{series:[{query:"http_req_waiting[?!tags && (avg || p90 || p95 || p99)]"}],title:"Request Waiting",id:"tab-1.section-0.panel-3",summary:"",kind:"chart"},{series:[{query:"http_req_tls_handshaking[?!tags && (avg || p90 || p95 || p99)]"}],title:"TLS handshaking",id:"tab-1.section-0.panel-4",summary:"",kind:"chart"},{series:[{query:"http_req_sending[?!tags && (avg || p90 || p95 || p99)]"}],title:"Request Sending",id:"tab-1.section-0.panel-5",summary:"",kind:"chart"},{series:[{query:"http_req_connecting[?!tags && (avg || p90 || p95 || p99)]"}],title:"Request Connecting",id:"tab-1.section-0.panel-6",summary:"",kind:"chart"},{series:[{query:"http_req_receiving[?!tags && (avg || p90 || p95 || p99)]"}],title:"Request Receiving",id:"tab-1.section-0.panel-7",summary:"",kind:"chart"},{series:[{query:"http_req_blocked[?!tags && (avg || p90 || p95 || p99)]"}],title:"Request Blocked",id:"tab-1.section-0.panel-8",summary:"",kind:"chart"}],title:"HTTP",summary:"These metrics are generated only when the test makes HTTP requests.",id:"tab-1.section-0"},{panels:[{series:[{query:"browser_http_req_duration[?!tags && (avg || p90 || p95 || p99)]"}],title:"Request Duration",id:"tab-1.section-1.panel-0",summary:"",kind:"chart"},{series:[{query:"browser_http_req_failed[?!tags && rate ]"}],title:"Request Failed Rate",id:"tab-1.section-1.panel-1",summary:"",kind:"chart"},{series:[{query:"browser_web_vital_lcp[?!tags && (avg || p90 || p95 || p99)]"}],title:"Largest Contentful Paint",id:"tab-1.section-1.panel-2",summary:"",kind:"chart"},{series:[{query:"browser_web_vital_fid[?!tags && (avg || p90 || p95 || p99)]"}],title:"First Input Delay",id:"tab-1.section-1.panel-3",summary:"",kind:"chart"},{series:[{query:"browser_web_vital_cls[?!tags && (avg || p90 || p95 || p99)]"}],title:"Cumulative Layout Shift",id:"tab-1.section-1.panel-4",summary:"",kind:"chart"},{series:[{query:"browser_web_vital_ttfb[?!tags && (avg || p90 || p95 || p99)]"}],title:"Time to First Byte",id:"tab-1.section-1.panel-5",summary:"",kind:"chart"},{series:[{query:"browser_web_vital_fcp[?!tags && (avg || p90 || p95 || p99)]"}],title:"First Contentful Paint",id:"tab-1.section-1.panel-6",summary:"",kind:"chart"},{series:[{query:"browser_web_vital_inp[?!tags && (avg || p90 || p95 || p99)]"}],title:"Interaction to Next Paint",id:"tab-1.section-1.panel-7",summary:"",kind:"chart"}],title:"Browser",summary:"The k6 browser module emits its own metrics based on the Core Web Vitals and Other Web Vitals.",id:"tab-1.section-1"},{panels:[{series:[{query:"ws_connecting[?!tags && (avg || p90 || p95 || p99)]"}],title:"Connect Duration",id:"tab-1.section-2.panel-0",summary:"",kind:"chart"},{series:[{query:"ws_session_duration[?!tags && (avg || p90 || p95 || p99)]"}],title:"Session Duration",id:"tab-1.section-2.panel-1",summary:"",kind:"chart"},{series:[{query:"ws_ping[?!tags && (avg || p90 || p95 || p99)]"}],title:"Ping Duration",id:"tab-1.section-2.panel-2",summary:"",kind:"chart"},{series:[{query:"ws_msgs_sent[?!tags && rate]"},{query:"ws_msgs_received[?!tags && rate]"}],title:"Transfer Rate",id:"tab-1.section-2.panel-3",summary:"",kind:"chart"},{series:[{query:"ws_sessions[?!tags && rate]"}],title:"Sessions Rate",id:"tab-1.section-2.panel-4",summary:"",kind:"chart"}],title:"WebSocket",summary:"k6 emits the following metrics when interacting with a WebSocket service through the experimental or legacy websockets API.",id:"tab-1.section-2"},{panels:[{series:[{query:"grpc_req_duration[?!tags && (avg || p90 || p95 || p99)]"}],title:"Request Duration",id:"tab-1.section-3.panel-0",summary:"",kind:"chart"},{series:[{query:"grpc_streams_msgs_sent[?!tags && rate]"},{query:"grpc_streams_msgs_received[?!tags && rate]"}],title:"Transfer Rate",id:"tab-1.section-3.panel-1",summary:"",kind:"chart"},{series:[{query:"grpc_streams[?!tags && rate]"}],title:"Streams Rate",id:"tab-1.section-3.panel-2",summary:"",kind:"chart"}],title:"gRPC",summary:"k6 emits the following metrics when it interacts with a service through the gRPC API.",id:"tab-1.section-3"}],title:"Timings",summary:"This chapter provides an overview of test run HTTP timing metrics. Graphs plot the value of metrics over time.",id:"tab-1"},{sections:[{panels:[{series:[{query:"[?!tags && trend]"}],title:"Trends",kind:"summary",id:"tab-2.section-0.panel-0",summary:""}],title:"",id:"tab-2.section-0"},{panels:[{series:[{query:"[?!tags && counter]"}],title:"Counters",kind:"summary",id:"tab-2.section-1.panel-0",summary:""},{series:[{query:"[?!tags && rate]"}],title:"Rates",kind:"summary",id:"tab-2.section-1.panel-1",summary:""},{series:[{query:"[?!tags && gauge]"}],title:"Gauges",kind:"summary",id:"tab-2.section-1.panel-2",summary:""}],title:"",id:"tab-2.section-1"}],title:"Summary",summary:"This chapter provides a summary of the test run metrics. The tables contains the aggregated values of the metrics for the entire test run.",id:"tab-2"}],_1={title:E2,tabs:C2};var x1={};(function(e){(function(t){function n(h){return h!==null?Object.prototype.toString.call(h)==="[object Array]":!1}function r(h){return h!==null?Object.prototype.toString.call(h)==="[object Object]":!1}function l(h,S){if(h===S)return!0;var C=Object.prototype.toString.call(h);if(C!==Object.prototype.toString.call(S))return!1;if(n(h)===!0){if(h.length!==S.length)return!1;for(var j=0;j",9:"Array"},w="EOF",T="UnquotedIdentifier",O="QuotedIdentifier",L="Rbracket",M="Rparen",R="Comma",I="Colon",D="Rbrace",b="Number",H="Current",K="Expref",oe="Pipe",se="Or",fe="And",ne="EQ",q="GT",J="LT",G="GTE",re="LTE",Y="NE",me="Flatten",X="Star",pe="Filter",Re="Dot",Ue="Not",Be="Lbrace",tt="Lbracket",Ct="Lparen",st="Literal",dn={".":Re,"*":X,",":R,":":I,"{":Be,"}":D,"]":L,"(":Ct,")":M,"@":H},Qn={"<":!0,">":!0,"=":!0,"!":!0},pn={" ":!0," ":!0,"\n":!0};function Zn(h){return h>="a"&&h<="z"||h>="A"&&h<="Z"||h==="_"}function Cn(h){return h>="0"&&h<="9"||h==="-"}function hn(h){return h>="a"&&h<="z"||h>="A"&&h<="Z"||h>="0"&&h<="9"||h==="_"}function pt(){}pt.prototype={tokenize:function(h){var S=[];this._current=0;for(var C,j,F;this._current")return h[this._current]==="="?(this._current++,{type:G,value:">=",start:S}):{type:q,value:">",start:S};if(C==="="&&h[this._current]==="=")return this._current++,{type:ne,value:"==",start:S}},_consumeLiteral:function(h){this._current++;for(var S=this._current,C=h.length,j;h[this._current]!=="`"&&this._current=0)return!0;if(C.indexOf(h)>=0)return!0;if(j.indexOf(h[0])>=0)try{return JSON.parse(h),!0}catch{return!1}else return!1}};var ue={};ue[w]=0,ue[T]=0,ue[O]=0,ue[L]=0,ue[M]=0,ue[R]=0,ue[D]=0,ue[b]=0,ue[H]=0,ue[K]=0,ue[oe]=1,ue[se]=2,ue[fe]=3,ue[ne]=5,ue[q]=5,ue[J]=5,ue[G]=5,ue[re]=5,ue[Y]=5,ue[me]=9,ue[X]=20,ue[pe]=21,ue[Re]=40,ue[Ue]=45,ue[Be]=50,ue[tt]=55,ue[Ct]=60;function nt(){}nt.prototype={parse:function(h){this._loadTokens(h),this.index=0;var S=this.expression(0);if(this._lookahead(0)!==w){var C=this._lookaheadToken(0),j=new Error("Unexpected token type: "+C.type+", value: "+C.value);throw j.name="ParserError",j}return S},_loadTokens:function(h){var S=new pt,C=S.tokenize(h);C.push({type:w,value:"",start:h.length}),this.tokens=C},expression:function(h){var S=this._lookaheadToken(0);this._advance();for(var C=this.nud(S),j=this._lookahead(0);h=0)return this.expression(h);if(S===tt)return this._match(tt),this._parseMultiselectList();if(S===Be)return this._match(Be),this._parseMultiselectHash()},_parseProjectionRHS:function(h){var S;if(ue[this._lookahead(0)]<10)S={type:"Identity"};else if(this._lookahead(0)===tt)S=this.expression(h);else if(this._lookahead(0)===pe)S=this.expression(h);else if(this._lookahead(0)===Re)this._match(Re),S=this._parseDotRHS(h);else{var C=this._lookaheadToken(0),j=new Error("Sytanx error, unexpected token: "+C.value+"("+C.type+")");throw j.name="ParserError",j}return S},_parseMultiselectList:function(){for(var h=[];this._lookahead(0)!==L;){var S=this.expression(0);if(h.push(S),this._lookahead(0)===R&&(this._match(R),this._lookahead(0)===L))throw new Error("Unexpected token Rbracket")}return this._match(L),{type:"MultiSelectList",children:h}},_parseMultiselectHash:function(){for(var h=[],S=[T,O],C,j,F,Q;;){if(C=this._lookaheadToken(0),S.indexOf(C.type)<0)throw new Error("Expecting an identifier token, got: "+C.type);if(j=C.value,this._advance(),this._match(I),F=this.expression(0),Q={type:"KeyValuePair",name:j,value:F},h.push(Q),this._lookahead(0)===R)this._match(R);else if(this._lookahead(0)===D){this._match(D);break}}return{type:"MultiSelectHash",children:h}}};function Ft(h){this.runtime=h}Ft.prototype={search:function(h,S){return this.visit(h,S)},visit:function(h,S){var C,j,F,Q,ae,he,at,Qe,We,ce;switch(h.type){case"Field":return S!==null&&r(S)?(he=S[h.name],he===void 0?null:he):null;case"Subexpression":for(F=this.visit(h.children[0],S),ce=1;ce0)for(ce=Fo;ceIo;ce+=de)F.push(S[ce]);return F;case"Projection":var ut=this.visit(h.children[0],S);if(!n(ut))return null;for(We=[],ce=0;ceae;break;case G:F=Q>=ae;break;case J:F=Q=h&&(S=C<0?h-1:h),S}};function ye(h){this._interpreter=h,this.functionTable={abs:{_func:this._functionAbs,_signature:[{types:[u]}]},avg:{_func:this._functionAvg,_signature:[{types:[P]}]},ceil:{_func:this._functionCeil,_signature:[{types:[u]}]},contains:{_func:this._functionContains,_signature:[{types:[c,p]},{types:[a]}]},ends_with:{_func:this._functionEndsWith,_signature:[{types:[c]},{types:[c]}]},floor:{_func:this._functionFloor,_signature:[{types:[u]}]},length:{_func:this._functionLength,_signature:[{types:[c,p,d]}]},map:{_func:this._functionMap,_signature:[{types:[_]},{types:[p]}]},max:{_func:this._functionMax,_signature:[{types:[P,y]}]},merge:{_func:this._functionMerge,_signature:[{types:[d],variadic:!0}]},max_by:{_func:this._functionMaxBy,_signature:[{types:[p]},{types:[_]}]},sum:{_func:this._functionSum,_signature:[{types:[P]}]},starts_with:{_func:this._functionStartsWith,_signature:[{types:[c]},{types:[c]}]},min:{_func:this._functionMin,_signature:[{types:[P,y]}]},min_by:{_func:this._functionMinBy,_signature:[{types:[p]},{types:[_]}]},type:{_func:this._functionType,_signature:[{types:[a]}]},keys:{_func:this._functionKeys,_signature:[{types:[d]}]},values:{_func:this._functionValues,_signature:[{types:[d]}]},sort:{_func:this._functionSort,_signature:[{types:[y,P]}]},sort_by:{_func:this._functionSortBy,_signature:[{types:[p]},{types:[_]}]},join:{_func:this._functionJoin,_signature:[{types:[c]},{types:[y]}]},reverse:{_func:this._functionReverse,_signature:[{types:[c,p]}]},to_array:{_func:this._functionToArray,_signature:[{types:[a]}]},to_string:{_func:this._functionToString,_signature:[{types:[a]}]},to_number:{_func:this._functionToNumber,_signature:[{types:[a]}]},not_null:{_func:this._functionNotNull,_signature:[{types:[a],variadic:!0}]}}}ye.prototype={callFunction:function(h,S){var C=this.functionTable[h];if(C===void 0)throw new Error("Unknown function: "+h+"()");return this._validateArgs(h,S,C._signature),C._func.call(this,S)},_validateArgs:function(h,S,C){var j;if(C[C.length-1].variadic){if(S.length=0;F--)j+=C[F];return j}else{var Q=h[0].slice(0);return Q.reverse(),Q}},_functionAbs:function(h){return Math.abs(h[0])},_functionCeil:function(h){return Math.ceil(h[0])},_functionAvg:function(h){for(var S=0,C=h[0],j=0;j=0},_functionFloor:function(h){return Math.floor(h[0])},_functionLength:function(h){return r(h[0])?Object.keys(h[0]).length:h[0].length},_functionMap:function(h){for(var S=[],C=this._interpreter,j=h[0],F=h[1],Q=0;Q0){var S=this._getTypeName(h[0][0]);if(S===u)return Math.max.apply(Math,h[0]);for(var C=h[0],j=C[0],F=1;F0){var S=this._getTypeName(h[0][0]);if(S===u)return Math.min.apply(Math,h[0]);for(var C=h[0],j=C[0],F=1;FTn?1:ceF&&(F=ae,Q=C[he]);return Q},_functionMinBy:function(h){for(var S=h[1],C=h[0],j=this.createKeyFunction(S,[u,c]),F=1/0,Q,ae,he=0;he(e.bytes="bytes",e.bps="bps",e.counter="counter",e.rps="rps",e.duration="duration",e.timestamp="timestamp",e.unknown="",e))(Kr||{}),k1=class{constructor(e){ve(this,"name");ve(this,"aggregate");ve(this,"tags");ve(this,"group");ve(this,"scenario");const[t,n]=e.split(".",2);this.aggregate=n,this.name=t;let r="";const l=t.indexOf("{");if(l&&l>0){r=t.substring(l),r=r.substring(1,r.length-1);const i=r.indexOf(":"),o=r.substring(0,i),s=r.substring(i+1);this.tags={[o]:s},o=="group"&&(this.group=s.substring(2)),this.name=t.substring(0,l)}}},Qp="time",Uf=class{constructor({values:e={}}={}){ve(this,"values");this.values=e}onEvent(e){for(const t in e)this.values[t]={...e[t],name:t}}find(e){const t=new k1(e);return this.values[t.name]}unit(e,t){const n=this.find(e);if(!n||!t&&e!=Qp)return"";switch(n.type){case"counter":switch(n.contains){case"data":return t=="count"?"bytes":"bps";default:return t=="count"?"counter":"rps"}case"rate":switch(n.contains){case"data":return"bps";default:return"rps"}case"gauge":switch(n.contains){case"time":return n.name==Qp?"timestamp":"duration";case"data":return"bytes";default:return"counter"}case"trend":switch(n.contains){case"time":return"duration";case"data":return"bps";default:return"rps"}default:return""}}},ms="time",vs=class{constructor({length:e=0,capacity:t=1e4,values:n=new Array,aggregate:r="value",metric:l=void 0,unit:i="",name:o="",tags:s={},group:u=void 0}={}){ve(this,"capacity");ve(this,"aggregate");ve(this,"metric");ve(this,"unit");ve(this,"empty");ve(this,"name");ve(this,"tags");ve(this,"group");ve(this,"values");this.values=e==0?n:new Array(e),this.capacity=t,this.aggregate=r,this.metric=l,this.unit=i,this.empty=this.values.length==0,this.name=o,this.tags=s,this.group=u,Object.defineProperty(this,r,{value:!0,configurable:!0,enumerable:!0,writable:!0})}hasTags(){return this.tags!=null&&Object.keys(this.tags).length!=0}formatTags(){if(!this.hasTags())return"";let e="{";for(const t in this.tags)e+=`${t}:${this.tags[t]}`;return e+="}",e}get legend(){let e=this.aggregate;return this.metric&&this.metric.type!="trend"&&this.name.length!=0&&(e=this.name+this.formatTags()),e}grow(e){this.values[e-1]=void 0}push(...e){let t=!1;if(e.forEach(n=>{this.values.push(n),this.empty=!1,this.values.length==this.capacity&&(this.values.shift(),t=!0)}),t){this.empty=!0;for(let n=0;n{t.unit&&!e.includes(t.unit)&&e.push(t.unit)}),e}},P2=class{constructor({capacity:e=1e4,metrics:t=new Uf}={}){ve(this,"capacity");ve(this,"metrics");ve(this,"values");ve(this,"vectors");ve(this,"lookup");this.capacity=e,this.metrics=t,this.lookup={},this.vectors={},this.values={}}get length(){return this.values[ms]?this.values[ms].values.length:0}_push(e,t,n=void 0){const r=n?e+"."+n:e;let l=this.vectors[r];if(l)l.values.length0){r=e.substring(l),r=r.substring(1,r.length-1);const i=r.indexOf(":"),o=r.substring(0,i),s=r.substring(i+1);n.tags={[o]:s},o=="group"&&(n.group=s.substring(2)),e=e.substring(0,l)}return n.name=e,n.metric=this.metrics.find(e),n.unit=this.metrics.unit(e,t),new vs(n)}onEvent(e){for(const t in e){if(t==ms){this._push(t,Math.floor(e[t].value/1e3));continue}for(const n in e[t]){const r=n;this._push(t,e[t][r],r)}}}annotate(e){this.metrics=e;for(const t in this.values){this.values[t].metric=e.find(t);const n=new k1(t);this.values[t].unit=e.unit(n.name,n.aggregate)}}select(e){const t=new T2(this.values[ms]);if(t.length==0)return t;for(const n of e){const r=this.queryAll(n);r.length>0&&t.push(...r)}return t}query(e){const t=zc.search(this.lookup,e);if(Array.isArray(t)){const r=t.at(0);return r instanceof vs?r:void 0}return t instanceof vs?t:void 0}queryAll(e){const t=zc.search(this.lookup,e);if(!Array.isArray(t)||t.length==0)return new Array;const n=t;return n.at(0)instanceof vs?n:new Array}},Zp=class{constructor({values:e,metric:t,name:n}={}){ve(this,"values");ve(this,"metric");ve(this,"name");ve(this,"tags");ve(this,"group");this.values=e,this.metric=t,this.name=n,t&&t.type&&Object.defineProperty(this,t.type,{value:!0,configurable:!0,enumerable:!0,writable:!0});let r="";const l=n.indexOf("{");if(l&&l>0){r=n.substring(l),r=r.substring(1,r.length-1);const i=r.indexOf(":"),o=r.substring(0,i),s=r.substring(i+1);this.tags={[o]:s},o=="group"&&(this.group=s.substring(2)),n=n.substring(0,l)}}},O2="time",N2=class extends Array{constructor(t){super();ve(this,"aggregates");this.aggregates=new Array;for(let n=0;nl))}}get empty(){return this.length==0}},M2=class{constructor({values:t={},metrics:n=new Uf,time:r=0}={}){ve(this,"values");ve(this,"lookup");ve(this,"metrics");ve(this,"time");this.values=t,this.lookup=new Array,this.metrics=n,this.time=r}onEvent(t){const n={};let r=0;for(const i in t){if(i==O2){r=Math.floor(t[i].value/1e3);continue}const o=this.newSummaryRow(i,t[i]);n[i]=o}this.values=n,this.time=r;const l=Array();for(const i in this.values)l.push(this.values[i]);this.lookup=l}newSummaryRow(t,n){const r={};return r.name=t,r.metric=this.metrics.find(t),r.values=n,new Zp(r)}annotate(t){this.metrics=t;for(const n in this.values)this.values[n].metric=t.find(n)}select(t){const n=new Array;for(const r of t){const l=this.queryAll(r);l.length>0&&n.push(...l)}return new N2(n)}queryAll(t){const n=zc.search(this.lookup,t);if(!Array.isArray(n)||n.length==0)return new Array;const r=n;return r.at(0)instanceof Zp?r:new Array}},L2=class{constructor(e={}){Object.assign(this,e)}},S1=(e=>(e.config="config",e.param="param",e.start="start",e.stop="stop",e.metric="metric",e.snapshot="snapshot",e.cumulative="cumulative",e))(S1||{}),bc=class{constructor({config:e={},param:t={},start:n=void 0,stop:r=void 0,metrics:l=new Uf,samples:i=new P2,summary:o=new M2}={}){ve(this,"config");ve(this,"param");ve(this,"start");ve(this,"stop");ve(this,"metrics");ve(this,"samples");ve(this,"summary");this.config=e,this.param=t,this.start=n,this.stop=r,this.metrics=l,this.samples=i,this.summary=o}handleEvent(e){const t=e.type,n=JSON.parse(e.data);this.onEvent(t,n)}onEvent(e,t){for(const n in t)for(const r in t[n])if(r.indexOf("(")>=0){const l=r.replaceAll("(","").replaceAll(")","");t[n][l]=t[n][r],delete t[n][r]}switch(e){case"config":this.onConfig(t);break;case"param":this.onParam(t);break;case"start":this.onStart(t);break;case"stop":this.onStop(t);break;case"metric":this.onMetric(t);break;case"snapshot":this.onSnapshot(t);break;case"cumulative":this.onCumulative(t);break}}onConfig(e){Object.assign(this.config,e)}onParam(e){Object.assign(this.param,e)}onStart(e){e.time&&e.time.value&&(this.start=new Date(e.time.value))}onStop(e){e.time&&e.time.value&&(this.stop=new Date(e.time.value))}onMetric(e){this.metrics.onEvent(e),this.samples.annotate(this.metrics),this.summary.annotate(this.metrics)}onSnapshot(e){this.samples.onEvent(e),this.samples.annotate(this.metrics)}onCumulative(e){this.summary.onEvent(e),this.summary.annotate(this.metrics)}};const Wf=U.createContext(()=>new bc({config:_1}));Wf.displayName="Digest";function R2({endpoint:e="/events",children:t}){const[n,r]=U.useState(new bc({config:new L2(_1)}));return U.useEffect(()=>{const l=new EventSource(e),i=o=>{n.handleEvent(o),r(new bc(n))};for(const o in S1)l.addEventListener(o,i)},[]),z.jsx(Wf.Provider,{value:()=>n,children:t})}function pl(){const e=U.useContext(Wf);if(e===void 0)throw new Error("useDigest must be used within a DigestProvider");return e()}var j2="_1dwurlb25",A2="_1dwurlb24";globalThis&&globalThis.__awaiter;function E1(){const[e,t]=U.useState(null),[n,r]=U.useState({width:0,height:0}),l=U.useCallback(()=>{r({width:(e==null?void 0:e.offsetWidth)||0,height:(e==null?void 0:e.offsetHeight)||0})},[e==null?void 0:e.offsetHeight,e==null?void 0:e.offsetWidth]);return To("resize",l),qf(()=>{l()},[e==null?void 0:e.offsetHeight,e==null?void 0:e.offsetWidth]),[t,n]}function C1(e){const t=U.useRef(()=>{throw new Error("Cannot call an event handler while rendering.")});return qf(()=>{t.current=e},[e]),U.useCallback((...n)=>t.current(...n),[t])}function To(e,t,n,r){const l=U.useRef(t);qf(()=>{l.current=t},[t]),U.useEffect(()=>{var i;const o=(i=n==null?void 0:n.current)!==null&&i!==void 0?i:window;if(!(o&&o.addEventListener))return;const s=u=>l.current(u);return o.addEventListener(e,s,r),()=>{o.removeEventListener(e,s,r)}},[e,n,r])}globalThis&&globalThis.__awaiter;const qf=typeof window<"u"?U.useLayoutEffect:U.useEffect;function D2(e){const t=i=>typeof window<"u"?window.matchMedia(i).matches:!1,[n,r]=U.useState(t(e));function l(){r(t(e))}return U.useEffect(()=>{const i=window.matchMedia(e);return l(),i.addListener?i.addListener(l):i.addEventListener("change",l),()=>{i.removeListener?i.removeListener(l):i.removeEventListener("change",l)}},[e]),n}function z2(e,t){const n=U.useCallback(()=>{if(typeof window>"u")return t;try{const s=window.sessionStorage.getItem(e);return s?b2(s):t}catch(s){return console.warn(`Error reading sessionStorage key “${e}”:`,s),t}},[t,e]),[r,l]=U.useState(n),i=C1(s=>{typeof window>"u"&&console.warn(`Tried setting sessionStorage key “${e}” even though environment is not a client`);try{const u=s instanceof Function?s(r):s;window.sessionStorage.setItem(e,JSON.stringify(u)),l(u),window.dispatchEvent(new Event("session-storage"))}catch(u){console.warn(`Error setting sessionStorage key “${e}”:`,u)}});U.useEffect(()=>{l(n())},[]);const o=U.useCallback(s=>{s!=null&&s.key&&s.key!==e||l(n())},[e,n]);return To("storage",o),To("session-storage",o),[r,i]}function b2(e){try{return e==="undefined"?void 0:JSON.parse(e??"")}catch{console.log("parsing error on",{value:e});return}}const T1=U.createContext({});function F2({children:e}){const t=D2("(prefers-color-scheme: dark)"),[n,r]=z2("theme",t?"dark":"light"),l={theme:n,themeClassName:n==="light"?A2:j2,setTheme:r};return z.jsx(T1.Provider,{value:l,children:e})}function pi(){const e=U.useContext(T1);if(e===void 0)throw new Error("useTheme must be used within a ThemeProvider");return e}var I2={50:"#fff8e1",100:"#ffecb3",200:"#ffe082",300:"#ffd54f",400:"#ffca28",500:"#ffc107",600:"#ffb300",700:"#ffa000",800:"#ff8f00",900:"#ff6f00",A100:"#ffe57f",A200:"#ffd740",A400:"#ffc400",A700:"#ffab00"},B2={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},$2={50:"#eceff1",100:"#cfd8dc",200:"#b0bec5",300:"#90a4ae",400:"#78909c",500:"#607d8b",600:"#546e7a",700:"#455a64",800:"#37474f",900:"#263238",A100:"#cfd8dc",A200:"#b0bec5",A400:"#78909c",A700:"#455a64"},H2={50:"#efebe9",100:"#d7ccc8",200:"#bcaaa4",300:"#a1887f",400:"#8d6e63",500:"#795548",600:"#6d4c41",700:"#5d4037",800:"#4e342e",900:"#3e2723",A100:"#d7ccc8",A200:"#bcaaa4",A400:"#8d6e63",A700:"#5d4037"},Au={black:"#000000",white:"#ffffff"},V2={50:"#e0f7fa",100:"#b2ebf2",200:"#80deea",300:"#4dd0e1",400:"#26c6da",500:"#00bcd4",600:"#00acc1",700:"#0097a7",800:"#00838f",900:"#006064",A100:"#84ffff",A200:"#18ffff",A400:"#00e5ff",A700:"#00b8d4"},U2={50:"#fbe9e7",100:"#ffccbc",200:"#ffab91",300:"#ff8a65",400:"#ff7043",500:"#ff5722",600:"#f4511e",700:"#e64a19",800:"#d84315",900:"#bf360c",A100:"#ff9e80",A200:"#ff6e40",A400:"#ff3d00",A700:"#dd2c00"},W2={50:"#ede7f6",100:"#d1c4e9",200:"#b39ddb",300:"#9575cd",400:"#7e57c2",500:"#673ab7",600:"#5e35b1",700:"#512da8",800:"#4527a0",900:"#311b92",A100:"#b388ff",A200:"#7c4dff",A400:"#651fff",A700:"#6200ea"},q2={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},P1={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},K2={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"},G2={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},Y2={50:"#f1f8e9",100:"#dcedc8",200:"#c5e1a5",300:"#aed581",400:"#9ccc65",500:"#8bc34a",600:"#7cb342",700:"#689f38",800:"#558b2f",900:"#33691e",A100:"#ccff90",A200:"#b2ff59",A400:"#76ff03",A700:"#64dd17"},Q2={50:"#f9fbe7",100:"#f0f4c3",200:"#e6ee9c",300:"#dce775",400:"#d4e157",500:"#cddc39",600:"#c0ca33",700:"#afb42b",800:"#9e9d24",900:"#827717",A100:"#f4ff81",A200:"#eeff41",A400:"#c6ff00",A700:"#aeea00"},Jp={50:"#ffffff",100:"#D6DCFF",200:"#CED4EF",300:"#C2CAEF",400:"#B6C0EF",500:"#AAB6EF",600:"#3f486b",700:"#394160",800:"#2c324b",900:"#1F2537"},Z2={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},J2={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"},X2={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},ew={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},tw={50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",A100:"#a7ffeb",A200:"#64ffda",A400:"#1de9b6",A700:"#00bfa5"},nw={50:"#fffde7",100:"#fff9c4",200:"#fff59d",300:"#fff176",400:"#ffee58",500:"#ffeb3b",600:"#fdd835",700:"#fbc02d",800:"#f9a825",900:"#f57f17",A100:"#ffff8d",A200:"#ffff00",A400:"#ffea00",A700:"#ffd600"};const gs={red:ew,pink:J2,purple:X2,deepPurple:W2,indigo:K2,blue:B2,lightBlue:G2,cyan:V2,teal:tw,green:q2,lightGreen:Y2,lime:Q2,yellow:nw,amber:I2,orange:Z2,deepOrange:U2,brown:H2,grey:P1,blueGrey:$2},rw=["grey","teal","blue","purple","indigo","orange","pink","green","cyan","amber","lime","brown","lightGreen","red","deepPurple","lightBlue","yellow","deepOrange","blueGrey"],O1=e=>rw.map(t=>({stroke:e=="dark"?gs[t][500]:gs[t][800],fill:(e=="dark"?gs[t][300]:gs[t][600])+"20"})),lw=e=>Object.entries(e).reduce((t,[n,r])=>r===void 0?t:{...t,[n]:r},{}),iw=(e,t)=>Object.entries(t).reduce((n,[r,l])=>(e.includes(r)&&(n[r]=l),n),{}),ow=(e,t)=>({...e,...t}),sw=e=>(t,n)=>ow(t,iw(e,n));function Xp(e){var t=e.match(/^var\((.*)\)$/);return t?t[1]:e}function aw(e,t){var n=e;for(var r of t){if(!(r in n))throw new Error("Path ".concat(t.join(" -> ")," does not exist in object"));n=n[r]}return n}function N1(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],r=e.constructor();for(var l in e){var i=e[l],o=[...n,l];typeof i=="string"||typeof i=="number"||i==null?r[l]=t(i,o):typeof i=="object"&&!Array.isArray(i)?r[l]=N1(i,t,o):console.warn('Skipping invalid key "'.concat(o.join("."),'". Should be a string, number, null or object. Received: "').concat(Array.isArray(i)?"Array":typeof i,'"'))}return r}function uw(e,t){var n={};if(typeof t=="object"){var r=e;N1(t,(o,s)=>{var u=aw(r,s);n[Xp(u)]=String(o)})}else{var l=e;for(var i in l)n[Xp(i)]=l[i]}return Object.defineProperty(n,"toString",{value:function(){return Object.keys(this).map(s=>"".concat(s,":").concat(this[s])).join(";")},writable:!1}),n}const Yn=(...e)=>e.filter(Boolean).join(" "),cw=(e,t)=>uw(e,lw(t));function fw(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function dw(e){var t=fw(e,"string");return typeof t=="symbol"?t:String(t)}function pw(e,t,n){return t=dw(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function e0(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),n.push.apply(n,r)}return n}function Du(e){for(var t=1;tfunction(){for(var t=arguments.length,n=new Array(t),r=0;ru.styles)),i=Object.keys(l),o=i.filter(u=>"mappings"in l[u]),s=u=>{var a=[],c={},p=Du({},u),d=!1;for(var g of o){var _=u[g];if(_!=null){var x=l[g];d=!0;for(var P of x.mappings)c[P]=_,p[P]==null&&delete p[P]}}var y=d?Du(Du({},c),p):u,v=function(){var L=y[w],M=l[w];try{if(M.mappings)return"continue";if(typeof L=="string"||typeof L=="number")a.push(M.values[L].defaultClass);else if(Array.isArray(L))for(var R=0;Re,Do=function(){return hw(mw)(...arguments)},vw="wy7gkc15",gw={flexGrow:"var(--wy7gkc10)",flexShrink:"var(--wy7gkc11)",flexBasis:"var(--wy7gkc12)",height:"var(--wy7gkc13)",width:"var(--wy7gkc14)"},yw=Do({conditions:void 0,styles:{flexDirection:{values:{row:{defaultClass:"wy7gkc0"},column:{defaultClass:"wy7gkc1"}}},flexWrap:{values:{nowrap:{defaultClass:"wy7gkc2"},wrap:{defaultClass:"wy7gkc3"},"wrap-reverse":{defaultClass:"wy7gkc4"}}},alignItems:{values:{"flex-start":{defaultClass:"wy7gkc5"},"flex-end":{defaultClass:"wy7gkc6"},stretch:{defaultClass:"wy7gkc7"},center:{defaultClass:"wy7gkc8"},baseline:{defaultClass:"wy7gkc9"},start:{defaultClass:"wy7gkca"},end:{defaultClass:"wy7gkcb"},"self-start":{defaultClass:"wy7gkcc"},"self-end":{defaultClass:"wy7gkcd"}}},justifyContent:{values:{"flex-start":{defaultClass:"wy7gkce"},"flex-end":{defaultClass:"wy7gkcf"},start:{defaultClass:"wy7gkcg"},end:{defaultClass:"wy7gkch"},left:{defaultClass:"wy7gkci"},right:{defaultClass:"wy7gkcj"},center:{defaultClass:"wy7gkck"},"space-between":{defaultClass:"wy7gkcl"},"space-around":{defaultClass:"wy7gkcm"},"space-evenly":{defaultClass:"wy7gkcn"}}},gap:{values:{0:{defaultClass:"wy7gkco"},1:{defaultClass:"wy7gkcp"},2:{defaultClass:"wy7gkcq"},3:{defaultClass:"wy7gkcr"},4:{defaultClass:"wy7gkcs"},5:{defaultClass:"wy7gkct"}}},padding:{values:{0:{defaultClass:"wy7gkcu"},1:{defaultClass:"wy7gkcv"},2:{defaultClass:"wy7gkcw"},3:{defaultClass:"wy7gkcx"},4:{defaultClass:"wy7gkcy"},5:{defaultClass:"wy7gkcz"}}}}});function ww({as:e="div",align:t,basis:n,children:r,className:l,direction:i,gap:o=3,grow:s,height:u,justify:a,padding:c,shrink:p,width:d,wrap:g,..._},x){const P=yw({alignItems:t,flexDirection:i,flexWrap:g,gap:o,justifyContent:a,padding:c}),y=Yn(vw,P,l),v=cw(gw,{flexBasis:n,flexGrow:s,flexShrink:p,height:u,width:d});return z.jsx(e,{ref:x,className:y,style:v,..._,children:r})}const St=U.forwardRef(ww);var _w={fill:"_17y8ldl1 _17y8ldl0",text:"_17y8ldl0"};const xw=({as:e="button",children:t,className:n,variant:r="fill",...l},i)=>z.jsx(e,{ref:i,className:Yn(_w[r],n),...l,children:t}),Ma=U.forwardRef(xw);var kw="_17unuvp0";const Sw=({className:e,...t})=>z.jsx("div",{className:Yn(kw,e),...t}),Ew=e=>U.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",enableBackground:"new 0 0 24 24",height:"24px",viewBox:"0 0 24 24",width:"24px",fill:"currentColor",...e},U.createElement("rect",{fill:"none",height:24,width:24}),U.createElement("path",{d:"M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36c-0.98,1.37-2.58,2.26-4.4,2.26 c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"})),Cw=e=>U.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 0 24 24",width:"24px",fill:"currentColor",...e},U.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),U.createElement("path",{d:"M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"})),Tw=e=>U.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 0 24 24",width:"24px",fill:"currentColor",...e},U.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),U.createElement("path",{d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"})),Pw=e=>U.createElement("svg",{fill:"currentColor",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"24px",height:"24px",viewBox:"796 796 200 200",enableBackground:"new 796 796 200 200",xmlSpace:"preserve",...e},U.createElement("g",null,U.createElement("path",{d:"M939.741,830.286c0.203-1.198-0.133-2.426-0.918-3.354s-1.938-1.461-3.153-1.461h-79.338c-1.214,0-2.365,0.536-3.149,1.463 c-0.784,0.928-1.124,2.155-0.92,3.352c2.866,16.875,12.069,32.797,25.945,42.713c7.737,5.529,13.827,8.003,17.793,8.003 c3.965,0,10.055-2.474,17.793-8.003C927.67,863.083,936.874,847.162,939.741,830.286z"}),U.createElement("path",{d:"M966.478,980.009h-5.074v-11.396c0-23.987-13.375-48.914-35.775-66.679l-7.485-5.936l7.485-5.934 c22.4-17.762,35.775-42.688,35.775-66.678v-11.396h5.074c4.416,0,7.996-3.58,7.996-7.995c0-4.416-3.58-7.996-7.996-7.996H825.521 c-4.415,0-7.995,3.58-7.995,7.996c0,4.415,3.58,7.995,7.995,7.995h5.077v9.202c0,27.228,13.175,53.007,35.243,68.962l8.085,5.843 l-8.085,5.847c-22.068,15.952-35.243,41.732-35.243,68.962v9.202h-5.077c-4.415,0-7.995,3.58-7.995,7.996 c0,4.415,3.58,7.995,7.995,7.995h140.956c4.416,0,7.996-3.58,7.996-7.995C974.474,983.589,970.894,980.009,966.478,980.009z M842.592,970.807c0-23.392,11.318-45.538,30.277-59.242l8.429-6.097c3.03-2.19,4.839-5.729,4.839-9.47 c0-3.739-1.809-7.279-4.84-9.471l-8.429-6.091c-18.958-13.707-30.276-35.853-30.276-59.243v-3.349c0-3.232,2.62-5.853,5.853-5.853 h95.112c3.232,0,5.854,2.621,5.854,5.853v5.543c0,20.36-11.676,41.774-31.232,57.279l-7.792,6.177 c-2.811,2.232-4.422,5.568-4.422,9.155c0,3.588,1.611,6.926,4.425,9.157l7.788,6.177c19.558,15.508,31.233,36.921,31.233,57.28 v5.544c0,3.232-2.621,5.854-5.854,5.854h-95.112c-3.232,0-5.853-2.621-5.853-5.854V970.807z"}))),Ow=e=>U.createElement("svg",{width:"24px",height:"24px",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},U.createElement("path",{d:"M12 11V16M21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3C16.9706 3 21 7.02944 21 12Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),U.createElement("circle",{cx:12,cy:7.5,r:1,fill:"currentColor"})),Nw=e=>U.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",enableBackground:"new 0 0 24 24",height:"24px",viewBox:"0 0 24 24",width:"24px",fill:"currentColor",...e},U.createElement("rect",{fill:"none",height:24,width:24}),U.createElement("path",{d:"M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0 c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2 c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1 C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06 c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41 l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41 c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36 c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"})),Mw=e=>U.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:37,height:34,viewBox:"0 0 37 34",fill:"currentColor",...e},U.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.9129 12.4547L29.0217 0L36.6667 33.1967H0L12.2687 6.86803L19.9129 12.4547ZM15.1741 24.4166L17.3529 27.4205L19.6915 27.4198L17.1351 23.8957L19.3864 20.7907L17.8567 19.6768L15.1741 23.3764V17.7248L13.1575 16.2575V27.4205H15.1741V24.4166ZM20.0105 24.1067C20.0105 26.0056 21.5468 27.5452 23.4425 27.5452C25.3396 27.5452 26.8759 26.0056 26.8759 24.1075C26.8746 23.2903 26.5844 22.5003 26.0573 21.8786C25.5301 21.2569 24.8003 20.8441 23.9983 20.714L25.6403 18.45L24.1105 17.3361L20.6675 22.0832C20.2395 22.6699 20.0093 23.379 20.0105 24.1067ZM24.9179 24.1067C24.9179 24.9226 24.2579 25.5843 23.4432 25.5843C23.2499 25.5848 23.0583 25.547 22.8795 25.473C22.7007 25.399 22.5382 25.2903 22.4011 25.153C22.2641 25.0158 22.1553 24.8528 22.081 24.6733C22.0066 24.4937 21.9681 24.3012 21.9677 24.1067C21.9677 23.2908 22.6277 22.6291 23.4432 22.6291C24.2572 22.6291 24.9179 23.2908 24.9179 24.1067Z",fill:"#7D64FF"})),Lw=e=>U.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20",fill:"currentColor",...e},U.createElement("path",{d:"M12 2C12 0.89544 11.1046 0 10 0C8.8954 0 8 0.89544 8 2C8 3.10456 8.8954 4 10 4C11.1046 4 12 3.10456 12 2Z",fill:"currentColor"}),U.createElement("path",{d:"M12 9.33337C12 8.22881 11.1046 7.33337 10 7.33337C8.8954 7.33337 8 8.22881 8 9.33337C8 10.4379 8.8954 11.3334 10 11.3334C11.1046 11.3334 12 10.4379 12 9.33337Z",fill:"currentColor"}),U.createElement("path",{d:"M12 16.6666C12 15.5621 11.1046 14.6666 10 14.6666C8.8954 14.6666 8 15.5621 8 16.6666C8 17.7712 8.8954 18.6666 10 18.6666C11.1046 18.6666 12 17.7712 12 16.6666Z",fill:"currentColor"})),Rw=e=>U.createElement("svg",{width:"24px",height:"24px",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",...e},U.createElement("g",{id:"Page-1",stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},U.createElement("g",{id:"add",fill:"currentColor",transform:"translate(42.666667, 42.666667)"},U.createElement("path",{d:"M291.76704,163.504 C291.76704,177.01952 288.33216,188.82176 281.479253,198.90112 C275.828267,207.371093 266.358187,216.549547 253.042987,226.434987 C245.378987,231.682347 240.331947,236.618667 237.916587,241.257813 C234.87744,246.90624 233.376213,255.371093 233.376213,266.666667 L190.710827,266.666667 C190.710827,249.530027 192.53504,237.027413 196.165333,229.162667 C200.394453,219.679573 209.571627,210.098773 223.686187,200.42048 C230.350293,195.374933 235.188693,190.2368 238.214827,184.994773 C241.839787,179.143253 243.664,172.49216 243.664,165.028693 C243.664,153.13024 240.125013,144.26304 233.070293,138.404907 C227.4336,134.177067 220.56768,132.059947 212.501333,132.059947 C199.39328,132.059947 189.911467,136.398507 184.065067,145.069013 C179.829333,151.518293 177.7056,159.787733 177.7056,169.868587 L177.7056,170.173227 L132.34368,170.173227 C132.34368,143.751253 140.703147,123.790507 157.43488,110.274773 C171.554773,98.9922133 189.007787,93.3346133 209.77344,93.3346133 C227.933653,93.3346133 243.865813,96.86848 257.571627,103.9232 C280.37504,115.62624 291.76704,135.494827 291.76704,163.504 Z M426.666667,213.333333 C426.666667,331.153707 331.153707,426.666667 213.333333,426.666667 C95.51296,426.666667 3.55271368e-14,331.153707 3.55271368e-14,213.333333 C3.55271368e-14,95.51168 95.51296,3.55271368e-14 213.333333,3.55271368e-14 C331.153707,3.55271368e-14 426.666667,95.51168 426.666667,213.333333 Z M384,213.333333 C384,119.226667 307.43872,42.6666667 213.333333,42.6666667 C119.227947,42.6666667 42.6666667,119.226667 42.6666667,213.333333 C42.6666667,307.43872 119.227947,384 213.333333,384 C307.43872,384 384,307.43872 384,213.333333 Z M213.332053,282.666667 C198.60416,282.666667 186.665387,294.60544 186.665387,309.333333 C186.665387,324.061227 198.60416,336 213.332053,336 C228.059947,336 239.99872,324.061227 239.99872,309.333333 C239.99872,294.60544 228.059947,282.666667 213.332053,282.666667 Z",id:"Shape"})))),jw=e=>U.createElement("svg",{width:"24px",height:"24px",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},U.createElement("path",{opacity:.2,fillRule:"evenodd",clipRule:"evenodd",d:"M12 19C15.866 19 19 15.866 19 12C19 8.13401 15.866 5 12 5C8.13401 5 5 8.13401 5 12C5 15.866 8.13401 19 12 19ZM12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z",fill:"currentColor"}),U.createElement("path",{d:"M12 22C17.5228 22 22 17.5228 22 12H19C19 15.866 15.866 19 12 19V22Z",fill:"currentColor"}),U.createElement("path",{d:"M2 12C2 6.47715 6.47715 2 12 2V5C8.13401 5 5 8.13401 5 12H2Z",fill:"currentColor"})),Aw=e=>U.createElement("svg",{width:"24px",height:"24px",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",className:"bi bi-stopwatch",...e},U.createElement("path",{d:"M8.5 5.6a.5.5 0 1 0-1 0v2.9h-3a.5.5 0 0 0 0 1H8a.5.5 0 0 0 .5-.5V5.6z"}),U.createElement("path",{d:"M6.5 1A.5.5 0 0 1 7 .5h2a.5.5 0 0 1 0 1v.57c1.36.196 2.594.78 3.584 1.64a.715.715 0 0 1 .012-.013l.354-.354-.354-.353a.5.5 0 0 1 .707-.708l1.414 1.415a.5.5 0 1 1-.707.707l-.353-.354-.354.354a.512.512 0 0 1-.013.012A7 7 0 1 1 7 2.071V1.5a.5.5 0 0 1-.5-.5zM8 3a6 6 0 1 0 .001 12A6 6 0 0 0 8 3z"}));function Dw({className:e,name:t,title:n,...r},l){const i=zw[t];return z.jsx("span",{ref:l,children:z.jsx(i,{"aria-hidden":"true",className:e,title:n,...r})})}const zw={"chevron-down":Tw,"chevron-up":Cw,"hour-glass":Pw,info:Ow,options:Lw,logo:Mw,moon:Ew,question:Rw,spinner:jw,"stop-watch":Aw,sun:Nw},Kn=U.forwardRef(Dw);var t0=function(t){return t.reduce(function(n,r){var l=r[0],i=r[1];return n[l]=i,n},{})},n0=typeof window<"u"&&window.document&&window.document.createElement?U.useLayoutEffect:U.useEffect,Zt="top",Sn="bottom",En="right",Jt="left",Kf="auto",zo=[Zt,Sn,En,Jt],Xl="start",Po="end",bw="clippingParents",M1="viewport",Ii="popper",Fw="reference",r0=zo.reduce(function(e,t){return e.concat([t+"-"+Xl,t+"-"+Po])},[]),L1=[].concat(zo,[Kf]).reduce(function(e,t){return e.concat([t,t+"-"+Xl,t+"-"+Po])},[]),Iw="beforeRead",Bw="read",$w="afterRead",Hw="beforeMain",Vw="main",Uw="afterMain",Ww="beforeWrite",qw="write",Kw="afterWrite",Gw=[Iw,Bw,$w,Hw,Vw,Uw,Ww,qw,Kw];function Gn(e){return e?(e.nodeName||"").toLowerCase():null}function an(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ul(e){var t=an(e).Element;return e instanceof t||e instanceof Element}function _n(e){var t=an(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Gf(e){if(typeof ShadowRoot>"u")return!1;var t=an(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Yw(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},l=t.attributes[n]||{},i=t.elements[n];!_n(i)||!Gn(i)||(Object.assign(i.style,r),Object.keys(l).forEach(function(o){var s=l[o];s===!1?i.removeAttribute(o):i.setAttribute(o,s===!0?"":s)}))})}function Qw(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var l=t.elements[r],i=t.attributes[r]||{},o=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),s=o.reduce(function(u,a){return u[a]="",u},{});!_n(l)||!Gn(l)||(Object.assign(l.style,s),Object.keys(i).forEach(function(u){l.removeAttribute(u)}))})}}const Zw={name:"applyStyles",enabled:!0,phase:"write",fn:Yw,effect:Qw,requires:["computeStyles"]};function qn(e){return e.split("-")[0]}var tl=Math.max,aa=Math.min,ei=Math.round;function Fc(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function R1(){return!/^((?!chrome|android).)*safari/i.test(Fc())}function ti(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),l=1,i=1;t&&_n(e)&&(l=e.offsetWidth>0&&ei(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&ei(r.height)/e.offsetHeight||1);var o=ul(e)?an(e):window,s=o.visualViewport,u=!R1()&&n,a=(r.left+(u&&s?s.offsetLeft:0))/l,c=(r.top+(u&&s?s.offsetTop:0))/i,p=r.width/l,d=r.height/i;return{width:p,height:d,top:c,right:a+p,bottom:c+d,left:a,x:a,y:c}}function Yf(e){var t=ti(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function j1(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Gf(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function fr(e){return an(e).getComputedStyle(e)}function Jw(e){return["table","td","th"].indexOf(Gn(e))>=0}function Br(e){return((ul(e)?e.ownerDocument:e.document)||window.document).documentElement}function La(e){return Gn(e)==="html"?e:e.assignedSlot||e.parentNode||(Gf(e)?e.host:null)||Br(e)}function l0(e){return!_n(e)||fr(e).position==="fixed"?null:e.offsetParent}function Xw(e){var t=/firefox/i.test(Fc()),n=/Trident/i.test(Fc());if(n&&_n(e)){var r=fr(e);if(r.position==="fixed")return null}var l=La(e);for(Gf(l)&&(l=l.host);_n(l)&&["html","body"].indexOf(Gn(l))<0;){var i=fr(l);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return l;l=l.parentNode}return null}function bo(e){for(var t=an(e),n=l0(e);n&&Jw(n)&&fr(n).position==="static";)n=l0(n);return n&&(Gn(n)==="html"||Gn(n)==="body"&&fr(n).position==="static")?t:n||Xw(e)||t}function Qf(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function lo(e,t,n){return tl(e,aa(t,n))}function e_(e,t,n){var r=lo(e,t,n);return r>n?n:r}function A1(){return{top:0,right:0,bottom:0,left:0}}function D1(e){return Object.assign({},A1(),e)}function z1(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var t_=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,D1(typeof t!="number"?t:z1(t,zo))};function n_(e){var t,n=e.state,r=e.name,l=e.options,i=n.elements.arrow,o=n.modifiersData.popperOffsets,s=qn(n.placement),u=Qf(s),a=[Jt,En].indexOf(s)>=0,c=a?"height":"width";if(!(!i||!o)){var p=t_(l.padding,n),d=Yf(i),g=u==="y"?Zt:Jt,_=u==="y"?Sn:En,x=n.rects.reference[c]+n.rects.reference[u]-o[u]-n.rects.popper[c],P=o[u]-n.rects.reference[u],y=bo(i),v=y?u==="y"?y.clientHeight||0:y.clientWidth||0:0,w=x/2-P/2,T=p[g],O=v-d[c]-p[_],L=v/2-d[c]/2+w,M=lo(T,L,O),R=u;n.modifiersData[r]=(t={},t[R]=M,t.centerOffset=M-L,t)}}function r_(e){var t=e.state,n=e.options,r=n.element,l=r===void 0?"[data-popper-arrow]":r;l!=null&&(typeof l=="string"&&(l=t.elements.popper.querySelector(l),!l)||j1(t.elements.popper,l)&&(t.elements.arrow=l))}const l_={name:"arrow",enabled:!0,phase:"main",fn:n_,effect:r_,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ni(e){return e.split("-")[1]}var i_={top:"auto",right:"auto",bottom:"auto",left:"auto"};function o_(e,t){var n=e.x,r=e.y,l=t.devicePixelRatio||1;return{x:ei(n*l)/l||0,y:ei(r*l)/l||0}}function i0(e){var t,n=e.popper,r=e.popperRect,l=e.placement,i=e.variation,o=e.offsets,s=e.position,u=e.gpuAcceleration,a=e.adaptive,c=e.roundOffsets,p=e.isFixed,d=o.x,g=d===void 0?0:d,_=o.y,x=_===void 0?0:_,P=typeof c=="function"?c({x:g,y:x}):{x:g,y:x};g=P.x,x=P.y;var y=o.hasOwnProperty("x"),v=o.hasOwnProperty("y"),w=Jt,T=Zt,O=window;if(a){var L=bo(n),M="clientHeight",R="clientWidth";if(L===an(n)&&(L=Br(n),fr(L).position!=="static"&&s==="absolute"&&(M="scrollHeight",R="scrollWidth")),L=L,l===Zt||(l===Jt||l===En)&&i===Po){T=Sn;var I=p&&L===O&&O.visualViewport?O.visualViewport.height:L[M];x-=I-r.height,x*=u?1:-1}if(l===Jt||(l===Zt||l===Sn)&&i===Po){w=En;var D=p&&L===O&&O.visualViewport?O.visualViewport.width:L[R];g-=D-r.width,g*=u?1:-1}}var b=Object.assign({position:s},a&&i_),H=c===!0?o_({x:g,y:x},an(n)):{x:g,y:x};if(g=H.x,x=H.y,u){var K;return Object.assign({},b,(K={},K[T]=v?"0":"",K[w]=y?"0":"",K.transform=(O.devicePixelRatio||1)<=1?"translate("+g+"px, "+x+"px)":"translate3d("+g+"px, "+x+"px, 0)",K))}return Object.assign({},b,(t={},t[T]=v?x+"px":"",t[w]=y?g+"px":"",t.transform="",t))}function s_(e){var t=e.state,n=e.options,r=n.gpuAcceleration,l=r===void 0?!0:r,i=n.adaptive,o=i===void 0?!0:i,s=n.roundOffsets,u=s===void 0?!0:s,a={placement:qn(t.placement),variation:ni(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:l,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,i0(Object.assign({},a,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:u})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,i0(Object.assign({},a,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const a_={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:s_,data:{}};var ys={passive:!0};function u_(e){var t=e.state,n=e.instance,r=e.options,l=r.scroll,i=l===void 0?!0:l,o=r.resize,s=o===void 0?!0:o,u=an(t.elements.popper),a=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&a.forEach(function(c){c.addEventListener("scroll",n.update,ys)}),s&&u.addEventListener("resize",n.update,ys),function(){i&&a.forEach(function(c){c.removeEventListener("scroll",n.update,ys)}),s&&u.removeEventListener("resize",n.update,ys)}}const c_={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:u_,data:{}};var f_={left:"right",right:"left",bottom:"top",top:"bottom"};function As(e){return e.replace(/left|right|bottom|top/g,function(t){return f_[t]})}var d_={start:"end",end:"start"};function o0(e){return e.replace(/start|end/g,function(t){return d_[t]})}function Zf(e){var t=an(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Jf(e){return ti(Br(e)).left+Zf(e).scrollLeft}function p_(e,t){var n=an(e),r=Br(e),l=n.visualViewport,i=r.clientWidth,o=r.clientHeight,s=0,u=0;if(l){i=l.width,o=l.height;var a=R1();(a||!a&&t==="fixed")&&(s=l.offsetLeft,u=l.offsetTop)}return{width:i,height:o,x:s+Jf(e),y:u}}function h_(e){var t,n=Br(e),r=Zf(e),l=(t=e.ownerDocument)==null?void 0:t.body,i=tl(n.scrollWidth,n.clientWidth,l?l.scrollWidth:0,l?l.clientWidth:0),o=tl(n.scrollHeight,n.clientHeight,l?l.scrollHeight:0,l?l.clientHeight:0),s=-r.scrollLeft+Jf(e),u=-r.scrollTop;return fr(l||n).direction==="rtl"&&(s+=tl(n.clientWidth,l?l.clientWidth:0)-i),{width:i,height:o,x:s,y:u}}function Xf(e){var t=fr(e),n=t.overflow,r=t.overflowX,l=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+l+r)}function b1(e){return["html","body","#document"].indexOf(Gn(e))>=0?e.ownerDocument.body:_n(e)&&Xf(e)?e:b1(La(e))}function io(e,t){var n;t===void 0&&(t=[]);var r=b1(e),l=r===((n=e.ownerDocument)==null?void 0:n.body),i=an(r),o=l?[i].concat(i.visualViewport||[],Xf(r)?r:[]):r,s=t.concat(o);return l?s:s.concat(io(La(o)))}function Ic(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function m_(e,t){var n=ti(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function s0(e,t,n){return t===M1?Ic(p_(e,n)):ul(t)?m_(t,n):Ic(h_(Br(e)))}function v_(e){var t=io(La(e)),n=["absolute","fixed"].indexOf(fr(e).position)>=0,r=n&&_n(e)?bo(e):e;return ul(r)?t.filter(function(l){return ul(l)&&j1(l,r)&&Gn(l)!=="body"}):[]}function g_(e,t,n,r){var l=t==="clippingParents"?v_(e):[].concat(t),i=[].concat(l,[n]),o=i[0],s=i.reduce(function(u,a){var c=s0(e,a,r);return u.top=tl(c.top,u.top),u.right=aa(c.right,u.right),u.bottom=aa(c.bottom,u.bottom),u.left=tl(c.left,u.left),u},s0(e,o,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function F1(e){var t=e.reference,n=e.element,r=e.placement,l=r?qn(r):null,i=r?ni(r):null,o=t.x+t.width/2-n.width/2,s=t.y+t.height/2-n.height/2,u;switch(l){case Zt:u={x:o,y:t.y-n.height};break;case Sn:u={x:o,y:t.y+t.height};break;case En:u={x:t.x+t.width,y:s};break;case Jt:u={x:t.x-n.width,y:s};break;default:u={x:t.x,y:t.y}}var a=l?Qf(l):null;if(a!=null){var c=a==="y"?"height":"width";switch(i){case Xl:u[a]=u[a]-(t[c]/2-n[c]/2);break;case Po:u[a]=u[a]+(t[c]/2-n[c]/2);break}}return u}function Oo(e,t){t===void 0&&(t={});var n=t,r=n.placement,l=r===void 0?e.placement:r,i=n.strategy,o=i===void 0?e.strategy:i,s=n.boundary,u=s===void 0?bw:s,a=n.rootBoundary,c=a===void 0?M1:a,p=n.elementContext,d=p===void 0?Ii:p,g=n.altBoundary,_=g===void 0?!1:g,x=n.padding,P=x===void 0?0:x,y=D1(typeof P!="number"?P:z1(P,zo)),v=d===Ii?Fw:Ii,w=e.rects.popper,T=e.elements[_?v:d],O=g_(ul(T)?T:T.contextElement||Br(e.elements.popper),u,c,o),L=ti(e.elements.reference),M=F1({reference:L,element:w,strategy:"absolute",placement:l}),R=Ic(Object.assign({},w,M)),I=d===Ii?R:L,D={top:O.top-I.top+y.top,bottom:I.bottom-O.bottom+y.bottom,left:O.left-I.left+y.left,right:I.right-O.right+y.right},b=e.modifiersData.offset;if(d===Ii&&b){var H=b[l];Object.keys(D).forEach(function(K){var oe=[En,Sn].indexOf(K)>=0?1:-1,se=[Zt,Sn].indexOf(K)>=0?"y":"x";D[K]+=H[se]*oe})}return D}function y_(e,t){t===void 0&&(t={});var n=t,r=n.placement,l=n.boundary,i=n.rootBoundary,o=n.padding,s=n.flipVariations,u=n.allowedAutoPlacements,a=u===void 0?L1:u,c=ni(r),p=c?s?r0:r0.filter(function(_){return ni(_)===c}):zo,d=p.filter(function(_){return a.indexOf(_)>=0});d.length===0&&(d=p);var g=d.reduce(function(_,x){return _[x]=Oo(e,{placement:x,boundary:l,rootBoundary:i,padding:o})[qn(x)],_},{});return Object.keys(g).sort(function(_,x){return g[_]-g[x]})}function w_(e){if(qn(e)===Kf)return[];var t=As(e);return[o0(e),t,o0(t)]}function __(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var l=n.mainAxis,i=l===void 0?!0:l,o=n.altAxis,s=o===void 0?!0:o,u=n.fallbackPlacements,a=n.padding,c=n.boundary,p=n.rootBoundary,d=n.altBoundary,g=n.flipVariations,_=g===void 0?!0:g,x=n.allowedAutoPlacements,P=t.options.placement,y=qn(P),v=y===P,w=u||(v||!_?[As(P)]:w_(P)),T=[P].concat(w).reduce(function(X,pe){return X.concat(qn(pe)===Kf?y_(t,{placement:pe,boundary:c,rootBoundary:p,padding:a,flipVariations:_,allowedAutoPlacements:x}):pe)},[]),O=t.rects.reference,L=t.rects.popper,M=new Map,R=!0,I=T[0],D=0;D=0,se=oe?"width":"height",fe=Oo(t,{placement:b,boundary:c,rootBoundary:p,altBoundary:d,padding:a}),ne=oe?K?En:Jt:K?Sn:Zt;O[se]>L[se]&&(ne=As(ne));var q=As(ne),J=[];if(i&&J.push(fe[H]<=0),s&&J.push(fe[ne]<=0,fe[q]<=0),J.every(function(X){return X})){I=b,R=!1;break}M.set(b,J)}if(R)for(var G=_?3:1,re=function(pe){var Re=T.find(function(Ue){var Be=M.get(Ue);if(Be)return Be.slice(0,pe).every(function(tt){return tt})});if(Re)return I=Re,"break"},Y=G;Y>0;Y--){var me=re(Y);if(me==="break")break}t.placement!==I&&(t.modifiersData[r]._skip=!0,t.placement=I,t.reset=!0)}}const x_={name:"flip",enabled:!0,phase:"main",fn:__,requiresIfExists:["offset"],data:{_skip:!1}};function a0(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function u0(e){return[Zt,En,Sn,Jt].some(function(t){return e[t]>=0})}function k_(e){var t=e.state,n=e.name,r=t.rects.reference,l=t.rects.popper,i=t.modifiersData.preventOverflow,o=Oo(t,{elementContext:"reference"}),s=Oo(t,{altBoundary:!0}),u=a0(o,r),a=a0(s,l,i),c=u0(u),p=u0(a);t.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:a,isReferenceHidden:c,hasPopperEscaped:p},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":p})}const S_={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:k_};function E_(e,t,n){var r=qn(e),l=[Jt,Zt].indexOf(r)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,o=i[0],s=i[1];return o=o||0,s=(s||0)*l,[Jt,En].indexOf(r)>=0?{x:s,y:o}:{x:o,y:s}}function C_(e){var t=e.state,n=e.options,r=e.name,l=n.offset,i=l===void 0?[0,0]:l,o=L1.reduce(function(c,p){return c[p]=E_(p,t.rects,i),c},{}),s=o[t.placement],u=s.x,a=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=a),t.modifiersData[r]=o}const T_={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:C_};function P_(e){var t=e.state,n=e.name;t.modifiersData[n]=F1({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const O_={name:"popperOffsets",enabled:!0,phase:"read",fn:P_,data:{}};function N_(e){return e==="x"?"y":"x"}function M_(e){var t=e.state,n=e.options,r=e.name,l=n.mainAxis,i=l===void 0?!0:l,o=n.altAxis,s=o===void 0?!1:o,u=n.boundary,a=n.rootBoundary,c=n.altBoundary,p=n.padding,d=n.tether,g=d===void 0?!0:d,_=n.tetherOffset,x=_===void 0?0:_,P=Oo(t,{boundary:u,rootBoundary:a,padding:p,altBoundary:c}),y=qn(t.placement),v=ni(t.placement),w=!v,T=Qf(y),O=N_(T),L=t.modifiersData.popperOffsets,M=t.rects.reference,R=t.rects.popper,I=typeof x=="function"?x(Object.assign({},t.rects,{placement:t.placement})):x,D=typeof I=="number"?{mainAxis:I,altAxis:I}:Object.assign({mainAxis:0,altAxis:0},I),b=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,H={x:0,y:0};if(L){if(i){var K,oe=T==="y"?Zt:Jt,se=T==="y"?Sn:En,fe=T==="y"?"height":"width",ne=L[T],q=ne+P[oe],J=ne-P[se],G=g?-R[fe]/2:0,re=v===Xl?M[fe]:R[fe],Y=v===Xl?-R[fe]:-M[fe],me=t.elements.arrow,X=g&&me?Yf(me):{width:0,height:0},pe=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:A1(),Re=pe[oe],Ue=pe[se],Be=lo(0,M[fe],X[fe]),tt=w?M[fe]/2-G-Be-Re-D.mainAxis:re-Be-Re-D.mainAxis,Ct=w?-M[fe]/2+G+Be+Ue+D.mainAxis:Y+Be+Ue+D.mainAxis,st=t.elements.arrow&&bo(t.elements.arrow),dn=st?T==="y"?st.clientTop||0:st.clientLeft||0:0,Qn=(K=b==null?void 0:b[T])!=null?K:0,pn=ne+tt-Qn-dn,Zn=ne+Ct-Qn,Cn=lo(g?aa(q,pn):q,ne,g?tl(J,Zn):J);L[T]=Cn,H[T]=Cn-ne}if(s){var hn,pt=T==="x"?Zt:Jt,ue=T==="x"?Sn:En,nt=L[O],Ft=O==="y"?"height":"width",ye=nt+P[pt],te=nt-P[ue],Oe=[Zt,Jt].indexOf(y)!==-1,$e=(hn=b==null?void 0:b[O])!=null?hn:0,h=Oe?ye:nt-M[Ft]-R[Ft]-$e+D.altAxis,S=Oe?nt+M[Ft]+R[Ft]-$e-D.altAxis:te,C=g&&Oe?e_(h,nt,S):lo(g?h:ye,nt,g?S:te);L[O]=C,H[O]=C-nt}t.modifiersData[r]=H}}const L_={name:"preventOverflow",enabled:!0,phase:"main",fn:M_,requiresIfExists:["offset"]};function R_(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function j_(e){return e===an(e)||!_n(e)?Zf(e):R_(e)}function A_(e){var t=e.getBoundingClientRect(),n=ei(t.width)/e.offsetWidth||1,r=ei(t.height)/e.offsetHeight||1;return n!==1||r!==1}function D_(e,t,n){n===void 0&&(n=!1);var r=_n(t),l=_n(t)&&A_(t),i=Br(t),o=ti(e,l,n),s={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(r||!r&&!n)&&((Gn(t)!=="body"||Xf(i))&&(s=j_(t)),_n(t)?(u=ti(t,!0),u.x+=t.clientLeft,u.y+=t.clientTop):i&&(u.x=Jf(i))),{x:o.left+s.scrollLeft-u.x,y:o.top+s.scrollTop-u.y,width:o.width,height:o.height}}function z_(e){var t=new Map,n=new Set,r=[];e.forEach(function(i){t.set(i.name,i)});function l(i){n.add(i.name);var o=[].concat(i.requires||[],i.requiresIfExists||[]);o.forEach(function(s){if(!n.has(s)){var u=t.get(s);u&&l(u)}}),r.push(i)}return e.forEach(function(i){n.has(i.name)||l(i)}),r}function b_(e){var t=z_(e);return Gw.reduce(function(n,r){return n.concat(t.filter(function(l){return l.phase===r}))},[])}function F_(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function I_(e){var t=e.reduce(function(n,r){var l=n[r.name];return n[r.name]=l?Object.assign({},l,r,{options:Object.assign({},l.options,r.options),data:Object.assign({},l.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var c0={placement:"bottom",modifiers:[],strategy:"absolute"};function f0(){for(var e=arguments.length,t=new Array(e),n=0;ne===null&&t===null?null:n=>{d0(e,n),d0(t,n)},[e,t])}const Z_=({children:e,onClickAway:t})=>{const n=U.useRef(document),r=U.useRef(null),l=Q_(r,e.ref),i=C1(o=>{if(!r.current)throw new Error("ClickAwayListener: missing ref");const s=!n.current.contains(o.target)||r.current.contains(o.target);o.type==="keyup"&&"key"in o&&(!["Escape","Tab"].includes(o.key)||o.key==="Tab"&&s)||o.type==="mouseup"&&s||t(o)});return To("mouseup",i,n),To("keyup",i,n),z.jsx(z.Fragment,{children:U.cloneElement(e,{ref:l})})};var J_="iy2n4g0",X_={fill:"iy2n4g1",text:"iy2n4g2"};function e3({className:e,name:t,title:n,variant:r="fill",...l},i){return z.jsx(Ma,{ref:i,className:Yn(J_,e),variant:r,...l,children:z.jsx(Kn,{className:X_[r],name:t,title:n})})}const t3=U.forwardRef(e3);var n3="_1sxwks00";function r3({children:e,className:t,...n},r){return z.jsx("div",{ref:r,className:Yn(n3,t),...n,children:e})}const Ra=U.forwardRef(r3);var l3="_1x45rmb3",i3={light:"_1x45rmb1 _1x45rmb0",dark:"_1x45rmb2 _1x45rmb0"};function o3({children:e}){const{theme:t}=pi(),[n,r]=U.useState(!1),[l,i]=U.useState(null),[o,s]=U.useState(null),{styles:u,attributes:a}=I1(l,o,{placement:"bottom-end",modifiers:[{name:"offset",options:{offset:[0,10]}}]});return z.jsxs(z.Fragment,{children:[z.jsx(t3,{ref:i,"aria-expanded":n?"true":"false","aria-label":"Menu",name:"options",variant:"text",onClick:()=>r(!n)}),n&&z.jsx(Z_,{onClickAway:()=>r(!1),children:z.jsx(Ra,{...a.popper,ref:s,className:i3[t],style:u.popper,onMouseLeave:()=>r(!1),children:z.jsx(St,{direction:"column",gap:0,children:e})})})]})}function s3({children:e,onClick:t}){return z.jsx(Ma,{variant:"text",onClick:t,children:z.jsx(St,{className:l3,align:"center",gap:2,children:e})})}const zu=Object.assign(o3,{Item:s3});var a3={active:"tz5dd56 tz5dd55",inactive:"tz5dd57 tz5dd55"},u3=Do({conditions:{defaultCondition:"mobile",conditionNames:["mobile","desktop"],responsiveArray:void 0},styles:{display:{values:{none:{conditions:{mobile:"tz5dd51",desktop:"tz5dd52"},defaultClass:"tz5dd51"},block:{conditions:{mobile:"tz5dd53",desktop:"tz5dd54"},defaultClass:"tz5dd53"}}}}}),c3="tz5dd50";function p0({isMobile:e=!1,options:t,value:n,onChange:r}){return z.jsx("nav",{className:Yn(c3,u3({display:{desktop:e?"none":"block",mobile:e?"block":"none"}})),children:z.jsx(St,{gap:2,children:t.map((l,i)=>z.jsx(f3,{label:l.title,index:i,value:n,onChange:r},l.id))})})}function f3({index:e,label:t,value:n,onChange:r,...l}){const i=e===n,o=i?"active":"inactive";return z.jsx(Ma,{"aria-current":i,className:a3[o],variant:"text",onClick:()=>r(e),...l,children:t})}var d3={loading:"_1e0qizf1",default:"_1e0qizf3 _1e0qizf1"},p3="_1e0qizf4",h3="_1e0qizf5";const m3=({children:e,isLoading:t=!1,max:n="100",value:r,...l})=>{const i=t?"loading":"default";return z.jsxs("div",{className:p3,children:[z.jsx("progress",{className:d3[i],max:n,value:r,...l}),e?z.jsx("div",{className:h3,children:e}):null]})},h0=e=>e&&new Date(e).getTime(),B1=(e,t)=>e&&new Date(e.getTime()+t),v3=(e,t,n)=>{const r=h0(e)||0,l=h0(t)||0,i=n.getTime()-r,o=l-r;return i/o*100},g3=(e,t)=>{if(e.stop)return 100;const n=e.param.endOffset,r=B1(e.start,n),l=v3(e.start,r,t);return Math.round(l)},$1=(e=0)=>{const t=Math.round(e),n=Math.round(t%60);return t<0?"-":t<60?`${t}s`:n>0?`${Math.round((e-n)/60)}min ${n}s`:`${Math.round(t/60)}min`},y3=e=>{const t=e.param.period||0;return $1(t/1e3)},w3=e=>{const t=e.start,n=e.param.endOffset||0,r=e.stop||B1(e.start,n);if(!(!t||!r))return $1((r.getTime()-t.getTime())/1e3)};var _3="kfrms71",x3="kfrms73",k3="kfrms70",S3="kfrms74";const E3=e=>{var t;return(t=e==null?void 0:e.popper)==null?void 0:t["data-popper-placement"]},C3=e=>e?e.startsWith("top")?"top":e.startsWith("bottom")?"bottom":e.startsWith("right")?"right":"left":"left";var T3={top:"_1lpb9zp4 _1lpb9zp3",bottom:"_1lpb9zp5 _1lpb9zp3",left:"_1lpb9zp6 _1lpb9zp3",right:"_1lpb9zp7 _1lpb9zp3"},P3={light:"_1lpb9zp1 _1lpb9zp0",dark:"_1lpb9zp2 _1lpb9zp0"};function Bc({children:e,placement:t="bottom-start",title:n}){const[r,l]=U.useState(!1),{theme:i}=pi(),[o,s]=U.useState(null),[u,a]=U.useState(null),[c,p]=U.useState(null),{styles:d,attributes:g}=I1(u,c,{placement:t,modifiers:[{name:"arrow",options:{element:o}},{name:"offset",options:{offset:[0,5]}}]}),_=C3(E3(g));return n?z.jsxs(z.Fragment,{children:[z.jsx("div",{ref:a,onMouseEnter:()=>l(!0),onMouseLeave:()=>l(!1),children:e}),r&&z.jsxs("div",{ref:p,className:P3[i],style:d.popper,...g.popper,children:[n,z.jsx("div",{ref:s,className:T3[_],style:d.arrow})]})]}):e}function O3({config:e,tab:t,onTabChange:n}){const r=pl(),l=!r.stop&&g3(r,new Date);return z.jsx(z.Fragment,{children:z.jsxs("header",{className:k3,children:[z.jsxs(St,{className:_3,align:"center",justify:"space-between",children:[z.jsxs(St,{align:"center",gap:4,children:[z.jsx(Kn,{name:"logo"}),z.jsx(p0,{options:e.tabs,value:t,onChange:n})]}),z.jsxs(St,{align:"center",children:[z.jsx(N3,{}),z.jsx(Ma,{onClick:()=>window.open("../report","k6-report"),children:"Report"}),z.jsx(M3,{})]})]}),l?z.jsx(m3,{value:l}):z.jsx(Sw,{className:x3}),z.jsx(p0,{isMobile:!0,options:e.tabs,value:t,onChange:n})]})})}const N3=()=>{const e=pl();return z.jsx("div",{className:S3,children:z.jsxs(St,{align:"center",gap:3,children:[z.jsx(Bc,{placement:"bottom",title:"Refresh rate",children:z.jsxs(St,{align:"center",gap:2,children:[z.jsx(Kn,{name:"stop-watch",width:"12px",height:"12px"}),z.jsx("span",{children:y3(e)})]})}),z.jsx(Bc,{placement:"bottom",title:"Duration",children:z.jsxs(St,{align:"center",gap:2,children:[z.jsx(Kn,{name:"hour-glass",width:"12px",height:"12px"}),z.jsx("span",{children:w3(e)})]})})]})})},M3=()=>{const{theme:e,setTheme:t}=pi();function n(){window.open("https://github.com/grafana/k6/blob/master/SUPPORT.md","_blank")}function r(){t(e==="light"?"dark":"light")}return z.jsxs(zu,{children:[z.jsxs(zu.Item,{onClick:n,children:[z.jsx(Kn,{name:"question"}),z.jsx("span",{children:"Help"})]}),z.jsxs(zu.Item,{onClick:r,children:[z.jsx(Kn,{name:e==="dark"?"sun":"moon"}),z.jsxs("span",{children:[e==="dark"?"Light":"Dark"," mode"]})]})]})};var L3="_1isundr0";function R3({children:e,message:t,isLoading:n}){return n?z.jsxs(St,{align:"center",justify:"center",children:[z.jsx(Kn,{className:L3,name:"spinner"}),z.jsx("h2",{children:t})]}):e}var H1={exports:{}};/*! @preserve * numeral.js * version : 2.0.6 * author : Adam Draper diff --git a/dashboard/assets/packages/ui/dist/index.html b/dashboard/assets/packages/ui/dist/index.html index c31f533..d22ffdf 100644 --- a/dashboard/assets/packages/ui/dist/index.html +++ b/dashboard/assets/packages/ui/dist/index.html @@ -11,7 +11,7 @@ k6 dashboard - + diff --git a/dashboard/assets/packages/ui/src/components/Header/Header.tsx b/dashboard/assets/packages/ui/src/components/Header/Header.tsx index 7eb188a..5facc80 100644 --- a/dashboard/assets/packages/ui/src/components/Header/Header.tsx +++ b/dashboard/assets/packages/ui/src/components/Header/Header.tsx @@ -78,7 +78,7 @@ const Options = () => { const { theme, setTheme } = useTheme() function handleHelpClick() { - window.open("https://github.com/grafana/xk6-dashboard", "_blank") + window.open("https://github.com/grafana/k6/blob/master/SUPPORT.md", "_blank") } function handleThemeChange() {