@xapp/form-widget 1.72.1 → 1.72.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11,7 +11,7 @@
11
11
  * @return {boolean} True if the event is supported.
12
12
  * @internal
13
13
  * @license Modernizr 3.0.0pre (Custom Build) | MIT
14
- */function ds(e,t,n,r){yr(r);var o=bu(t,"onChange");if(o.length>0){var a=new Tl("onChange","change",null,n,r);e.push({event:a,listeners:o})}}var fs=null,ps=null;function ms(e){cu(e,0)}function hs(e){if(Mt(Yc(e)))return e}function vs(e,t){if("change"===e)return t}var ys=!1;function gs(){fs&&(fs.detachEvent("onpropertychange",bs),fs=null,ps=null)}function bs(e){"value"===e.propertyName&&hs(ps)&&function(e){var t=[];ds(t,ps,e,fr(e)),Sr(ms,t)}(e)}function ws(e,t,n){"focusin"===e?(gs(),function(e,t){ps=t,(fs=e).attachEvent("onpropertychange",bs)}(t,n)):"focusout"===e&&gs()}function xs(e,t){if("selectionchange"===e||"keyup"===e||"keydown"===e)return hs(ps)}function ks(e,t){if("click"===e)return hs(t)}function Ss(e,t){if("input"===e||"change"===e)return hs(t)}function Es(e,t,n,r,o,a,i){var l,s,u,c,d=n?Yc(n):window;if("select"===(c=(u=d).nodeName&&u.nodeName.toLowerCase())||"input"===c&&"file"===u.type?l=vs:cs(d)?ys?l=Ss:(l=xs,s=ws):function(e){var t=e.nodeName;return t&&"input"===t.toLowerCase()&&("checkbox"===e.type||"radio"===e.type)}(d)&&(l=ks),l){var f=l(t,n);if(f)return void ds(e,f,r,o)}s&&s(t,d,n),"focusout"===t&&function(e){var t=e._wrapperState;t&&t.controlled&&"number"===e.type&&Wt(e,"number",e.value)}(d)}function Cs(e,t,n,r,o,a,i){var l="mouseover"===t||"pointerover"===t,s="mouseout"===t||"pointerout"===t;if(l&&r!==dr){var u=r.relatedTarget||r.fromElement;if(u&&(Hc(u)||Wc(u)))return}if(s||l){var c,d,m;if(o.window===o)c=o;else{var h=o.ownerDocument;c=h?h.defaultView||h.parentWindow:window}if(s){var v=r.relatedTarget||r.toElement;d=n,null!==(m=v?Hc(v):null)&&(m!==go(m)||m.tag!==f&&m.tag!==p)&&(m=null)}else d=null,m=n;if(d!==m){var y=Rl,g="onMouseLeave",b="onMouseEnter",w="mouse";"pointerout"!==t&&"pointerover"!==t||(y=Bl,g="onPointerLeave",b="onPointerEnter",w="pointer");var x=null==d?c:Yc(d),k=null==m?c:Yc(m),S=new y(g,w+"leave",d,r,o);S.target=x,S.relatedTarget=k;var E=null;if(Hc(o)===n){var C=new y(b,w+"enter",m,r,o);C.target=k,C.relatedTarget=x,E=C}!function(e,t,n,r,o){var a=r&&o?function(e,t){for(var n=e,r=t,o=0,a=n;a;a=wu(a))o++;for(var i=0,l=r;l;l=wu(l))i++;for(;o-i>0;)n=wu(n),o--;for(;i-o>0;)r=wu(r),i--;for(var s=o;s--;){if(n===r||null!==r&&n===r.alternate)return n;n=wu(n),r=wu(r)}return null}(r,o):null;null!==r&&xu(e,t,r,a,!1),null!==o&&null!==n&&xu(e,n,o,a,!0)}(e,S,E,d,m)}}}X&&(ys=function(){if(!X)return!1;var e="oninput",t=e in document;if(!t){var n=document.createElement("div");n.setAttribute(e,"return;"),t="function"==typeof n[e]}return t}()&&(!document.documentMode||document.documentMode>9));var Ts="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function Os(e,t){if(Ts(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=0;o<n.length;o++){var a=n[o];if(!J.call(t,a)||!Ts(e[a],t[a]))return!1}return!0}function _s(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Ns(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function Rs(e,t){for(var n=_s(e),r=0,o=0;n;){if(n.nodeType===gn){if(o=r+n.textContent.length,r<=t&&o>=t)return{node:n,offset:t-r};r=o}n=_s(Ns(n))}}function Ms(e){var t=e.ownerDocument,n=t&&t.defaultView||window,r=n.getSelection&&n.getSelection();if(!r||0===r.rangeCount)return null;var o=r.anchorNode,a=r.anchorOffset,i=r.focusNode,l=r.focusOffset;try{o.nodeType,i.nodeType}catch(e){return null}return function(e,t,n,r,o){var a=0,i=-1,l=-1,s=0,u=0,c=e,d=null;e:for(;;){for(var f=null;c!==t||0!==n&&c.nodeType!==gn||(i=a+n),c!==r||0!==o&&c.nodeType!==gn||(l=a+o),c.nodeType===gn&&(a+=c.nodeValue.length),null!==(f=c.firstChild);)d=c,c=f;for(;;){if(c===e)break e;if(d===t&&++s===n&&(i=a),d===r&&++u===o&&(l=a),null!==(f=c.nextSibling))break;d=(c=d).parentNode}c=f}return-1===i||-1===l?null:{start:i,end:l}}(e,o,a,i,l)}function Ps(e){return e&&e.nodeType===gn}function Ds(e,t){return!(!e||!t)&&(e===t||!Ps(e)&&(Ps(t)?Ds(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function Is(e){return e&&e.ownerDocument&&Ds(e.ownerDocument.documentElement,e)}function js(e){try{return"string"==typeof e.contentWindow.location.href}catch(e){return!1}}function Ls(){for(var e=window,t=Pt();t instanceof e.HTMLIFrameElement;){if(!js(t))return t;t=Pt((e=t.contentWindow).document)}return t}function zs(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function $s(e){var t=Ls(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&Is(n)){null!==r&&zs(n)&&function(e,t){var n=t.start,r=t.end;void 0===r&&(r=n),"selectionStart"in e?(e.selectionStart=n,e.selectionEnd=Math.min(r,e.value.length)):function(e,t){var n=e.ownerDocument||document,r=n&&n.defaultView||window;if(r.getSelection){var o=r.getSelection(),a=e.textContent.length,i=Math.min(t.start,a),l=void 0===t.end?i:Math.min(t.end,a);if(!o.extend&&i>l){var s=l;l=i,i=s}var u=Rs(e,i),c=Rs(e,l);if(u&&c){if(1===o.rangeCount&&o.anchorNode===u.node&&o.anchorOffset===u.offset&&o.focusNode===c.node&&o.focusOffset===c.offset)return;var d=n.createRange();d.setStart(u.node,u.offset),o.removeAllRanges(),i>l?(o.addRange(d),o.extend(c.node,c.offset)):(d.setEnd(c.node,c.offset),o.addRange(d))}}}(e,t)}(n,r);for(var o=[],a=n;a=a.parentNode;)a.nodeType===yn&&o.push({element:a,left:a.scrollLeft,top:a.scrollTop});"function"==typeof n.focus&&n.focus();for(var i=0;i<o.length;i++){var l=o[i];l.element.scrollLeft=l.left,l.element.scrollTop=l.top}}}function As(e){return("selectionStart"in e?{start:e.selectionStart,end:e.selectionEnd}:Ms(e))||{start:0,end:0}}var Fs=X&&"documentMode"in document&&document.documentMode<=11,Vs=null,Us=null,Bs=null,Ws=!1;function Hs(e,t,n){var r,o=(r=n).window===r?r.document:r.nodeType===wn?r:r.ownerDocument;if(!Ws&&null!=Vs&&Vs===Pt(o)){var a=function(e){if("selectionStart"in e&&zs(e))return{start:e.selectionStart,end:e.selectionEnd};var t=(e.ownerDocument&&e.ownerDocument.defaultView||window).getSelection();return{anchorNode:t.anchorNode,anchorOffset:t.anchorOffset,focusNode:t.focusNode,focusOffset:t.focusOffset}}(Vs);if(!Bs||!Os(Bs,a)){Bs=a;var i=bu(Us,"onSelect");if(i.length>0){var l=new Tl("onSelect","select",null,t,n);e.push({event:l,listeners:i}),l.target=Vs}}}}function qs(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Ys={animationend:qs("Animation","AnimationEnd"),animationiteration:qs("Animation","AnimationIteration"),animationstart:qs("Animation","AnimationStart"),transitionend:qs("Transition","TransitionEnd")},Ks={},Gs={};function Qs(e){if(Ks[e])return Ks[e];if(!Ys[e])return e;var t=Ys[e];for(var n in t)if(t.hasOwnProperty(n)&&n in Gs)return Ks[e]=t[n];return e}X&&(Gs=document.createElement("div").style,"AnimationEvent"in window||(delete Ys.animationend.animation,delete Ys.animationiteration.animation,delete Ys.animationstart.animation),"TransitionEvent"in window||delete Ys.transitionend.transition);var Xs=Qs("animationend"),Js=Qs("animationiteration"),Zs=Qs("animationstart"),eu=Qs("transitionend"),tu=new Map,nu=["abort","auxClick","cancel","canPlay","canPlayThrough","click","close","contextMenu","copy","cut","drag","dragEnd","dragEnter","dragExit","dragLeave","dragOver","dragStart","drop","durationChange","emptied","encrypted","ended","error","gotPointerCapture","input","invalid","keyDown","keyPress","keyUp","load","loadedData","loadedMetadata","loadStart","lostPointerCapture","mouseDown","mouseMove","mouseOut","mouseOver","mouseUp","paste","pause","play","playing","pointerCancel","pointerDown","pointerMove","pointerOut","pointerOver","pointerUp","progress","rateChange","reset","resize","seeked","seeking","stalled","submit","suspend","timeUpdate","touchCancel","touchEnd","touchStart","volumeChange","scroll","toggle","touchMove","waiting","wheel"];function ru(e,t){tu.set(e,t),G(t,[e])}function ou(e,t,n,r,o,a,i){var l=tu.get(t);if(void 0!==l){var s=Tl,u=t;switch(t){case"keypress":if(0===gl(r))return;case"keydown":case"keyup":s=Ul;break;case"focusin":u="focus",s=Pl;break;case"focusout":u="blur",s=Pl;break;case"beforeblur":case"afterblur":s=Pl;break;case"click":if(2===r.button)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s=Rl;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=Ml;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=Wl;break;case Xs:case Js:case Zs:s=Dl;break;case eu:s=Hl;break;case"scroll":s=_l;break;case"wheel":s=ql;break;case"copy":case"cut":case"paste":s=Il;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=Bl}var c=!!(a&ur),d=!c&&"scroll"===t,p=function(e,t,n,r,o){for(var a=r?null!==t?t+"Capture":null:t,i=[],l=e,s=null;null!==l;){var u=l,c=u.stateNode;if(u.tag===f&&null!==c&&(s=c,null!==a)){var d=Er(l,a);null!=d&&i.push(gu(l,d,s))}if(o)break;l=l.return}return i}(n,l,r.type,c,d);if(p.length>0){var m=new s(l,u,null,r,o);e.push({event:m,listeners:p})}}}function au(e,t,n,r,o,a,i){ou(e,t,n,r,o,a),!(a&cr)&&(Cs(e,t,n,r,o),Es(e,t,n,r,o),function(e,t,n,r,o){var a=n?Yc(n):window;switch(t){case"focusin":(cs(a)||"true"===a.contentEditable)&&(Vs=a,Us=n,Bs=null);break;case"focusout":Vs=null,Us=null,Bs=null;break;case"mousedown":Ws=!0;break;case"contextmenu":case"mouseup":case"dragend":Ws=!1,Hs(e,r,o);break;case"selectionchange":if(Fs)break;case"keydown":case"keyup":Hs(e,r,o)}}(e,t,n,r,o),function(e,t,n,r,o){is(e,t,n,r,o),ss(e,t,n,r,o)}(e,t,n,r,o))}!function(){for(var e=0;e<nu.length;e++){var t=nu[e];ru(t.toLowerCase(),"on"+(t[0].toUpperCase()+t.slice(1)))}ru(Xs,"onAnimationEnd"),ru(Js,"onAnimationIteration"),ru(Zs,"onAnimationStart"),ru("dblclick","onDoubleClick"),ru("focusin","onFocus"),ru("focusout","onBlur"),ru(eu,"onTransitionEnd")}(),Q("onMouseEnter",["mouseout","mouseover"]),Q("onMouseLeave",["mouseout","mouseover"]),Q("onPointerEnter",["pointerout","pointerover"]),Q("onPointerLeave",["pointerout","pointerover"]),G("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"]),G("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"]),G("onBeforeInput",["compositionend","keypress","textInput","paste"]),G("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),G("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),G("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"]);var iu=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],lu=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(iu));function su(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,a,i,l,s){if(Lr.apply(this,arguments),Mr){var u=zr();Dr||(Dr=!0,Ir=u)}}(r,t,void 0,e),e.currentTarget=null}function uu(e,t,n){var r;if(n)for(var o=t.length-1;o>=0;o--){var a=t[o],i=a.instance,l=a.currentTarget,s=a.listener;if(i!==r&&e.isPropagationStopped())return;su(e,s,l),r=i}else for(var u=0;u<t.length;u++){var c=t[u],d=c.instance,f=c.currentTarget,p=c.listener;if(d!==r&&e.isPropagationStopped())return;su(e,p,f),r=d}}function cu(e,t){for(var n=!!(t&ur),r=0;r<e.length;r++){var o=e[r];uu(o.event,o.listeners,n)}!function(){if(Dr){var e=Ir;throw Dr=!1,Ir=null,e}}()}function du(e,t){lu.has(e)||a('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var n=function(e){var t=e[$c];return void 0===t&&(t=e[$c]=new Set),t}(t),r=function(e){return e+"__bubble"}(e);n.has(r)||(hu(t,e,sr,!1),n.add(r))}function fu(e,t,n){lu.has(e)&&!t&&a('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var r=0;t&&(r|=ur),hu(n,e,r,t)}var pu="_reactListening"+Math.random().toString(36).slice(2);function mu(e){if(!e[pu]){e[pu]=!0,q.forEach((function(t){"selectionchange"!==t&&(lu.has(t)||fu(t,!1,e),fu(t,!0,e))}));var t=e.nodeType===wn?e:e.ownerDocument;null!==t&&(t[pu]||(t[pu]=!0,fu("selectionchange",!1,t)))}}function hu(e,t,n,r,o){var a=function(e,t,n){var r;switch(fl(t)){case Ri:r=ll;break;case Mi:r=sl;break;default:r=ul}return r.bind(null,t,n,e)}(e,t,n),i=void 0;Cr&&("touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(i=!0)),r?void 0!==i?function(e,t,n,r){e.addEventListener(t,n,{capture:!0,passive:r})}(e,t,a,i):function(e,t,n){e.addEventListener(t,n,!0)}(e,t,a):void 0!==i?function(e,t,n,r){e.addEventListener(t,n,{passive:r})}(e,t,a,i):function(e,t,n){e.addEventListener(t,n,!1)}(e,t,a)}function vu(e,t){return e===t||e.nodeType===bn&&e.parentNode===t}function yu(e,t,n,r,o){var a=r;if(!(t&lr||t&sr)){var i=o;if(null!==r){var l=r;e:for(;;){if(null===l)return;var s=l.tag;if(s===c||s===d){var u=l.stateNode.containerInfo;if(vu(u,i))break;if(s===d)for(var m=l.return;null!==m;){var h=m.tag;if((h===c||h===d)&&vu(m.stateNode.containerInfo,i))return;m=m.return}for(;null!==u;){var v=Hc(u);if(null===v)return;var y=v.tag;if(y===f||y===p){l=a=v;continue e}u=u.parentNode}}l=l.return}}}Sr((function(){return function(e,t,n,r){var o=[];au(o,e,r,n,fr(n),t),cu(o,t)}(e,t,n,a)}))}function gu(e,t,n){return{instance:e,listener:t,currentTarget:n}}function bu(e,t){for(var n=t+"Capture",r=[],o=e;null!==o;){var a=o,i=a.stateNode;if(a.tag===f&&null!==i){var l=i,s=Er(o,n);null!=s&&r.unshift(gu(o,s,l));var u=Er(o,t);null!=u&&r.push(gu(o,u,l))}o=o.return}return r}function wu(e){if(null===e)return null;do{e=e.return}while(e&&e.tag!==f);return e||null}function xu(e,t,n,r,o){for(var a=t._reactName,i=[],l=n;null!==l&&l!==r;){var s=l,u=s.alternate,c=s.stateNode,d=s.tag;if(null!==u&&u===r)break;if(d===f&&null!==c){var p=c;if(o){var m=Er(l,a);null!=m&&i.unshift(gu(l,m,p))}else if(!o){var h=Er(l,a);null!=h&&i.push(gu(l,h,p))}}l=l.return}0!==i.length&&e.push({event:t,listeners:i})}var ku,Su,Eu,Cu,Tu,Ou,_u,Nu=!1,Ru="dangerouslySetInnerHTML",Mu="suppressContentEditableWarning",Pu="suppressHydrationWarning",Du="autoFocus",Iu="children",ju="style",Lu="__html";ku={dialog:!0,webview:!0},Su=function(e,t){Jn(e,t),function(e,t){"input"!==e&&"textarea"!==e&&"select"!==e||null==t||null!==t.value||er||(er=!0,"select"===e&&t.multiple?a("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):a("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e))}(e,t),ir(e,t,{registrationNameDependencies:Y,possibleRegistrationNames:K})},Ou=X&&!document.documentMode,Eu=function(e,t,n){if(!Nu){var r=Au(n),o=Au(t);o!==r&&(Nu=!0,a("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(o),JSON.stringify(r)))}},Cu=function(e){if(!Nu){Nu=!0;var t=[];e.forEach((function(e){t.push(e)})),a("Extra attributes from the server: %s",t)}},Tu=function(e,t){!1===t?a("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):a("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)},_u=function(e,t){var n=e.namespaceURI===un?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return n.innerHTML=t,n.innerHTML};var zu=/\r\n?/g,$u=/\u0000|\uFFFD/g;function Au(e){return ee(t=e)&&(a("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",Z(t)),te(t)),("string"==typeof e?e:""+e).replace(zu,"\n").replace($u,"");var t}function Fu(e,t,n,r){var o=Au(t),i=Au(e);if(i!==o&&(r&&(Nu||(Nu=!0,a('Text content did not match. Server: "%s" Client: "%s"',i,o))),n&&j))throw new Error("Text content does not match server-rendered HTML.")}function Vu(e){return e.nodeType===wn?e:e.ownerDocument}function Uu(){}function Bu(e){e.onclick=Uu}function Wu(e,t,n,r){var o,a=Hn(t,n);switch(Su(t,n),t){case"dialog":du("cancel",e),du("close",e),o=n;break;case"iframe":case"object":case"embed":du("load",e),o=n;break;case"video":case"audio":for(var i=0;i<iu.length;i++)du(iu[i],e);o=n;break;case"source":du("error",e),o=n;break;case"img":case"image":case"link":du("error",e),du("load",e),o=n;break;case"details":du("toggle",e),o=n;break;case"input":At(e,n),o=$t(e,n),du("invalid",e);break;case"option":Kt(0,n),o=n;break;case"select":nn(e,n),o=tn(0,n),du("invalid",e);break;case"textarea":an(e,n),o=on(e,n),du("invalid",e);break;default:o=n}switch(Wn(t,o),function(e,t,n,r,o){for(var a in r)if(r.hasOwnProperty(a)){var i=r[a];if(a===ju)i&&Object.freeze(i),Fn(t,i);else if(a===Ru){var l=i?i[Lu]:void 0;null!=l&&vn(t,l)}else a===Iu?"string"==typeof i?("textarea"!==e||""!==i)&&kn(t,i):"number"==typeof i&&kn(t,""+i):a===Mu||a===Pu||a===Du||(Y.hasOwnProperty(a)?null!=i&&("function"!=typeof i&&Tu(a,i),"onScroll"===a&&du("scroll",t)):null!=i&&_e(t,a,i,o))}}(t,e,0,o,a),t){case"input":Rt(e),Ut(e,n,!1);break;case"textarea":Rt(e),sn(e);break;case"option":!function(e,t){null!=t.value&&e.setAttribute("value",Et(Ct(t.value)))}(e,n);break;case"select":!function(e,t){var n=e;n.multiple=!!t.multiple;var r=t.value;null!=r?en(n,!!t.multiple,r,!1):null!=t.defaultValue&&en(n,!!t.multiple,t.defaultValue,!0)}(e,n);break;default:"function"==typeof o.onClick&&Bu(e)}}function Hu(e,t,n,r,o){Su(t,r);var i,l,s,u,c=null;switch(t){case"input":i=$t(e,n),l=$t(e,r),c=[];break;case"select":i=tn(0,n),l=tn(0,r),c=[];break;case"textarea":i=on(e,n),l=on(e,r),c=[];break;default:l=r,"function"!=typeof(i=n).onClick&&"function"==typeof l.onClick&&Bu(e)}Wn(t,l);var d=null;for(s in i)if(!l.hasOwnProperty(s)&&i.hasOwnProperty(s)&&null!=i[s])if(s===ju){var f=i[s];for(u in f)f.hasOwnProperty(u)&&(d||(d={}),d[u]="")}else s===Ru||s===Iu||s===Mu||s===Pu||s===Du||(Y.hasOwnProperty(s)?c||(c=[]):(c=c||[]).push(s,null));for(s in l){var p=l[s],m=null!=i?i[s]:void 0;if(l.hasOwnProperty(s)&&p!==m&&(null!=p||null!=m))if(s===ju)if(p&&Object.freeze(p),m){for(u in m)!m.hasOwnProperty(u)||p&&p.hasOwnProperty(u)||(d||(d={}),d[u]="");for(u in p)p.hasOwnProperty(u)&&m[u]!==p[u]&&(d||(d={}),d[u]=p[u])}else d||(c||(c=[]),c.push(s,d)),d=p;else if(s===Ru){var h=p?p[Lu]:void 0,v=m?m[Lu]:void 0;null!=h&&v!==h&&(c=c||[]).push(s,h)}else s===Iu?"string"!=typeof p&&"number"!=typeof p||(c=c||[]).push(s,""+p):s===Mu||s===Pu||(Y.hasOwnProperty(s)?(null!=p&&("function"!=typeof p&&Tu(s,p),"onScroll"===s&&du("scroll",e)),c||m===p||(c=[])):(c=c||[]).push(s,p))}return d&&(function(e,t){if(t){var n,r=Vn(e),o=Vn(t),i={};for(var l in r){var s=r[l],u=o[l];if(u&&s!==u){var c=s+","+u;if(i[c])continue;i[c]=!0,a("%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",null==(n=e[s])||"boolean"==typeof n||""===n?"Removing":"Updating",s,u)}}}}(d,l[ju]),(c=c||[]).push(ju,d)),c}function qu(e,t,n,r,o){switch("input"===n&&"radio"===o.type&&null!=o.name&&Ft(e,o),Hn(n,r),function(e,t,n,r){for(var o=0;o<t.length;o+=2){var a=t[o],i=t[o+1];a===ju?Fn(e,i):a===Ru?vn(e,i):a===Iu?kn(e,i):_e(e,a,i,r)}}(e,t,0,Hn(n,o)),n){case"input":Vt(e,o);break;case"textarea":ln(e,o);break;case"select":!function(e,t){var n=e,r=n._wrapperState.wasMultiple;n._wrapperState.wasMultiple=!!t.multiple;var o=t.value;null!=o?en(n,!!t.multiple,o,!1):r!==!!t.multiple&&(null!=t.defaultValue?en(n,!!t.multiple,t.defaultValue,!0):en(n,!!t.multiple,t.multiple?[]:"",!1))}(e,o)}}function Yu(e,t){Nu||(Nu=!0,a("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase()))}function Ku(e,t){Nu||(Nu=!0,a('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase()))}function Gu(e,t,n){Nu||(Nu=!0,a("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase()))}function Qu(e,t){""!==t&&(Nu||(Nu=!0,a('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())))}var Xu=function(){},Ju=function(){},Zu=["address","applet","area","article","aside","base","basefont","bgsound","blockquote","body","br","button","caption","center","col","colgroup","dd","details","dir","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","isindex","li","link","listing","main","marquee","menu","menuitem","meta","nav","noembed","noframes","noscript","object","ol","p","param","plaintext","pre","script","section","select","source","style","summary","table","tbody","td","template","textarea","tfoot","th","thead","title","tr","track","ul","wbr","xmp"],ec=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],tc=ec.concat(["button"]),nc=["dd","dt","li","option","optgroup","p","rp","rt"],rc={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};Ju=function(e,t){var n=Je({},e||rc),r={tag:t};return-1!==ec.indexOf(t)&&(n.aTagInScope=null,n.buttonTagInScope=null,n.nobrTagInScope=null),-1!==tc.indexOf(t)&&(n.pTagInButtonScope=null),-1!==Zu.indexOf(t)&&"address"!==t&&"div"!==t&&"p"!==t&&(n.listItemTagAutoclosing=null,n.dlItemTagAutoclosing=null),n.current=r,"form"===t&&(n.formTag=r),"a"===t&&(n.aTagInScope=r),"button"===t&&(n.buttonTagInScope=r),"nobr"===t&&(n.nobrTagInScope=r),"p"===t&&(n.pTagInButtonScope=r),"li"===t&&(n.listItemTagAutoclosing=r),"dd"!==t&&"dt"!==t||(n.dlItemTagAutoclosing=r),n};var oc={};Xu=function(e,t,n){var r=(n=n||rc).current,o=r&&r.tag;null!=t&&(null!=e&&a("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var i=function(e,t){switch(t){case"select":return"option"===e||"optgroup"===e||"#text"===e;case"optgroup":return"option"===e||"#text"===e;case"option":return"#text"===e;case"tr":return"th"===e||"td"===e||"style"===e||"script"===e||"template"===e;case"tbody":case"thead":case"tfoot":return"tr"===e||"style"===e||"script"===e||"template"===e;case"colgroup":return"col"===e||"template"===e;case"table":return"caption"===e||"colgroup"===e||"tbody"===e||"tfoot"===e||"thead"===e||"style"===e||"script"===e||"template"===e;case"head":return"base"===e||"basefont"===e||"bgsound"===e||"link"===e||"meta"===e||"title"===e||"noscript"===e||"noframes"===e||"style"===e||"script"===e||"template"===e;case"html":return"head"===e||"body"===e||"frameset"===e;case"frameset":return"frame"===e;case"#document":return"html"===e}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return"h1"!==t&&"h2"!==t&&"h3"!==t&&"h4"!==t&&"h5"!==t&&"h6"!==t;case"rp":case"rt":return-1===nc.indexOf(t);case"body":case"caption":case"col":case"colgroup":case"frameset":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return null==t}return!0}(e,o)?null:r,l=i?null:function(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null}(e,n),s=i||l;if(s){var u=s.tag,c=!!i+"|"+e+"|"+u;if(!oc[c]){oc[c]=!0;var d=e,f="";if("#text"===e?/\S/.test(t)?d="Text nodes":(d="Whitespace text nodes",f=" Make sure you don't have any extra whitespace between tags on each line of your source code."):d="<"+e+">",i){var p="";"table"===u&&"tr"===e&&(p+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),a("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",d,u,f,p)}else a("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",d,u)}}};var ac="suppressHydrationWarning",ic="$",lc="/$",sc="$?",uc="$!",cc="style",dc=null,fc=null;function pc(e){var t;return dc=al,t=Ls(),fc={focusedElem:t,selectionRange:zs(t)?As(t):null},il(!1),null}function mc(e,t,n,r,o){var i=r;if(Xu(e,null,i.ancestorInfo),"string"==typeof t.children||"number"==typeof t.children){var l=""+t.children,s=Ju(i.ancestorInfo,e);Xu(null,l,s)}var u=function(e,t,n,r){var o,i,l=Vu(n),s=r;if(s===un&&(s=fn(e)),s===un){if((o=Hn(e,t))||e===e.toLowerCase()||a("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),"script"===e){var u=l.createElement("div");u.innerHTML="<script><\/script>";var c=u.firstChild;i=u.removeChild(c)}else if("string"==typeof t.is)i=l.createElement(e,{is:t.is});else if(i=l.createElement(e),"select"===e){var d=i;t.multiple?d.multiple=!0:t.size&&(d.size=t.size)}}else i=l.createElementNS(s,e);return s===un&&(o||"[object HTMLUnknownElement]"!==Object.prototype.toString.call(i)||J.call(ku,e)||(ku[e]=!0,a("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e))),i}(e,t,n,i.namespace);return Vc(o,u),Gc(u,t),u}function hc(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}function vc(e,t,n,r){Xu(null,e,n.ancestorInfo);var o=function(e,t){return Vu(t).createTextNode(e)}(e,t);return Vc(r,o),o}var yc="function"==typeof setTimeout?setTimeout:void 0,gc="function"==typeof clearTimeout?clearTimeout:void 0,bc=-1,wc="function"==typeof Promise?Promise:void 0,xc="function"==typeof queueMicrotask?queueMicrotask:void 0!==wc?function(e){return wc.resolve(null).then(e).catch(kc)}:yc;function kc(e){setTimeout((function(){throw e}))}function Sc(e){kn(e,"")}function Ec(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===bn){var a=o.data;if(a===lc){if(0===r)return e.removeChild(o),void rl(t);r--}else a!==ic&&a!==sc&&a!==uc||r++}n=o}while(n);rl(t)}function Cc(e){var t=e.style;"function"==typeof t.setProperty?t.setProperty("display","none","important"):t.display="none"}function Tc(e,t){var n=t[cc],r=null!=n&&n.hasOwnProperty("display")?n.display:null;e.style.display=Tn("display",r)}function Oc(e,t){e.nodeValue=t}function _c(e){return e.data===sc}function Nc(e){return e.data===uc}function Rc(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(t===yn||t===gn)break;if(t===bn){var n=e.data;if(n===ic||n===uc||n===sc)break;if(n===lc)return null}}return e}function Mc(e){return Rc(e.nextSibling)}function Pc(e,t,n,r,o,a,i){return Vc(a,e),Gc(e,n),function(e,t,n,r,o,a,i){var l,s;switch(l=Hn(t,n),Su(t,n),t){case"dialog":du("cancel",e),du("close",e);break;case"iframe":case"object":case"embed":du("load",e);break;case"video":case"audio":for(var u=0;u<iu.length;u++)du(iu[u],e);break;case"source":du("error",e);break;case"img":case"image":case"link":du("error",e),du("load",e);break;case"details":du("toggle",e);break;case"input":At(e,n),du("invalid",e);break;case"option":Kt(0,n);break;case"select":nn(e,n),du("invalid",e);break;case"textarea":an(e,n),du("invalid",e)}Wn(t,n),s=new Set;for(var c=e.attributes,d=0;d<c.length;d++)switch(c[d].name.toLowerCase()){case"value":case"checked":case"selected":break;default:s.add(c[d].name)}var f,p=null;for(var m in n)if(n.hasOwnProperty(m)){var h=n[m];if(m===Iu)"string"==typeof h?e.textContent!==h&&(!0!==n[Pu]&&Fu(e.textContent,h,a,i),p=[Iu,h]):"number"==typeof h&&e.textContent!==""+h&&(!0!==n[Pu]&&Fu(e.textContent,h,a,i),p=[Iu,""+h]);else if(Y.hasOwnProperty(m))null!=h&&("function"!=typeof h&&Tu(m,h),"onScroll"===m&&du("scroll",e));else if(i&&"boolean"==typeof l){var v=void 0,y=l&&V?null:ge(m);if(!0===n[Pu]);else if(m===Mu||m===Pu||"value"===m||"checked"===m||"selected"===m);else if(m===Ru){var g=e.innerHTML,b=h?h[Lu]:void 0;if(null!=b){var w=_u(e,b);w!==g&&Eu(m,g,w)}}else if(m===ju){if(s.delete(m),Ou){var x=An(h);x!==(v=e.getAttribute("style"))&&Eu(m,v,x)}}else if(l&&!V)s.delete(m.toLowerCase()),h!==(v=Oe(e,m,h))&&Eu(m,v,h);else if(!he(m,y,l)&&!ye(m,h,y,l)){var k=!1;if(null!==y)s.delete(y.attributeName),v=Te(e,m,h,y);else{var S=r;if(S===un&&(S=fn(t)),S===un)s.delete(m.toLowerCase());else{var E=(f=void 0,f=m.toLowerCase(),qn.hasOwnProperty(f)&&qn[f]||null);null!==E&&E!==m&&(k=!0,s.delete(E)),s.delete(m)}v=Oe(e,m,h)}V||h===v||k||Eu(m,v,h)}}}switch(i&&s.size>0&&!0!==n[Pu]&&Cu(s),t){case"input":Rt(e),Ut(e,n,!0);break;case"textarea":Rt(e),sn(e);break;case"select":case"option":break;default:"function"==typeof n.onClick&&Bu(e)}return p}(e,t,n,o.namespace,0,(a.mode&ia)!==aa,i)}function Dc(e){for(var t=e.previousSibling,n=0;t;){if(t.nodeType===bn){var r=t.data;if(r===ic||r===uc||r===sc){if(0===n)return t;n--}else r===lc&&n++}t=t.previousSibling}return null}var Ic=Math.random().toString(36).slice(2),jc="__reactFiber$"+Ic,Lc="__reactProps$"+Ic,zc="__reactContainer$"+Ic,$c="__reactEvents$"+Ic,Ac="__reactListeners$"+Ic,Fc="__reactHandles$"+Ic;function Vc(e,t){t[jc]=e}function Uc(e,t){t[zc]=e}function Bc(e){e[zc]=null}function Wc(e){return!!e[zc]}function Hc(e){var t=e[jc];if(t)return t;for(var n=e.parentNode;n;){if(t=n[zc]||n[jc]){var r=t.alternate;if(null!==t.child||null!==r&&null!==r.child)for(var o=Dc(e);null!==o;){var a=o[jc];if(a)return a;o=Dc(o)}return t}n=(e=n).parentNode}return null}function qc(e){var t=e[jc]||e[zc];return!t||t.tag!==f&&t.tag!==p&&t.tag!==x&&t.tag!==c?null:t}function Yc(e){if(e.tag===f||e.tag===p)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function Kc(e){return e[Lc]||null}function Gc(e,t){e[Lc]=t}var Qc={},Xc=n.ReactDebugCurrentFrame;function Jc(e){if(e){var t=e._owner,n=ut(e.type,e._source,t?t.type:null);Xc.setExtraStackFrame(n)}else Xc.setExtraStackFrame(null)}function Zc(e,t,n,r,o){var i=Function.call.bind(J);for(var l in e)if(i(e,l)){var s=void 0;try{if("function"!=typeof e[l]){var u=Error((r||"React class")+": "+n+" type `"+l+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[l]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw u.name="Invariant Violation",u}s=e[l](t,l,r,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){s=e}!s||s instanceof Error||(Jc(o),a("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",r||"React class",n,l,typeof s),Jc(null)),s instanceof Error&&!(s.message in Qc)&&(Qc[s.message]=!0,Jc(o),a("Failed %s type: %s",n,s.message),Jc(null))}}var ed,td=[];ed=[];var nd,rd=-1;function od(e){return{current:e}}function ad(e,t){rd<0?a("Unexpected pop."):(t!==ed[rd]&&a("Unexpected Fiber popped."),e.current=td[rd],td[rd]=null,ed[rd]=null,rd--)}function id(e,t,n){rd++,td[rd]=e.current,ed[rd]=n,e.current=t}nd={};var ld={};Object.freeze(ld);var sd=od(ld),ud=od(!1),cd=ld;function dd(e,t,n){return n&&hd(t)?cd:sd.current}function fd(e,t,n){var r=e.stateNode;r.__reactInternalMemoizedUnmaskedChildContext=t,r.__reactInternalMemoizedMaskedChildContext=n}function pd(e,t){var n=e.type.contextTypes;if(!n)return ld;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={};for(var a in n)o[a]=t[a];return Zc(n,o,"context",ht(e)||"Unknown"),r&&fd(e,t,o),o}function md(){return ud.current}function hd(e){return null!=e.childContextTypes}function vd(e){ad(ud,e),ad(sd,e)}function yd(e){ad(ud,e),ad(sd,e)}function gd(e,t,n){if(sd.current!==ld)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");id(sd,t,e),id(ud,n,e)}function bd(e,t,n){var r=e.stateNode,o=t.childContextTypes;if("function"!=typeof r.getChildContext){var i=ht(e)||"Unknown";return nd[i]||(nd[i]=!0,a("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",i,i)),n}var l=r.getChildContext();for(var s in l)if(!(s in o))throw new Error((ht(e)||"Unknown")+'.getChildContext(): key "'+s+'" is not defined in childContextTypes.');return Zc(o,l,"child context",ht(e)||"Unknown"),Je({},n,l)}function wd(e){var t=e.stateNode,n=t&&t.__reactInternalMemoizedMergedChildContext||ld;return cd=sd.current,id(sd,n,e),id(ud,ud.current,e),!0}function xd(e,t,n){var r=e.stateNode;if(!r)throw new Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");if(n){var o=bd(e,t,cd);r.__reactInternalMemoizedMergedChildContext=o,ad(ud,e),ad(sd,e),id(sd,o,e),id(ud,n,e)}else ad(ud,e),id(ud,n,e)}function kd(e){if(!function(e){return go(e)===e}(e)||e.tag!==s)throw new Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");var t=e;do{switch(t.tag){case c:return t.stateNode.context;case s:if(hd(t.type))return t.stateNode.__reactInternalMemoizedMergedChildContext}t=t.return}while(null!==t);throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}var Sd=0,Ed=1,Cd=null,Td=!1,Od=!1;function _d(e){null===Cd?Cd=[e]:Cd.push(e)}function Nd(){Td&&Rd()}function Rd(){if(!Od&&null!==Cd){Od=!0;var e=0,t=ji();try{var n=Cd;for(Li(Ri);e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Cd=null,Td=!1}catch(t){throw null!==Cd&&(Cd=Cd.slice(e+1)),Oo(Do,Rd),t}finally{Li(t),Od=!1}}return null}var Md=[],Pd=0,Dd=null,Id=0,jd=[],Ld=0,zd=null,$d=1,Ad="";function Fd(){var e,t=Ad;return($d&(e=$d,~(1<<Wd(e)-1))).toString(32)+t}function Vd(e,t){qd(),Md[Pd++]=Id,Md[Pd++]=Dd,Dd=e,Id=t}function Ud(e,t,n){qd(),jd[Ld++]=$d,jd[Ld++]=Ad,jd[Ld++]=zd,zd=e;var r=$d,o=Ad,a=Wd(r)-1,i=r&~(1<<a),l=n+1,s=Wd(t)+a;if(s>30){var u=a-a%5,c=(i&(1<<u)-1).toString(32),d=i>>u,f=a-u,p=Wd(t)+f;$d=1<<p|l<<f|d,Ad=c+o}else $d=1<<s|l<<a|i,Ad=o}function Bd(e){qd(),null!==e.return&&(Vd(e,1),Ud(e,1,0))}function Wd(e){return 32-ca(e)}function Hd(e){for(;e===Dd;)Dd=Md[--Pd],Md[Pd]=null,Id=Md[--Pd],Md[Pd]=null;for(;e===zd;)zd=jd[--Ld],jd[Ld]=null,Ad=jd[--Ld],jd[Ld]=null,$d=jd[--Ld],jd[Ld]=null}function qd(){bf()||a("Expected to be hydrating. This is a bug in React. Please file an issue.")}var Yd=null,Kd=null,Gd=!1,Qd=!1,Xd=null;function Jd(){Gd&&a("We should not be hydrating here. This is a bug in React. Please file a bug.")}function Zd(){Qd=!0}function ef(e){var t=e.stateNode.containerInfo;return Kd=Rc(t.firstChild),Yd=e,Gd=!0,Xd=null,Qd=!1,!0}function tf(e,t,n){return Kd=Rc(t.nextSibling),Yd=e,Gd=!0,Xd=null,Qd=!1,null!==n&&function(e,t){qd(),jd[Ld++]=$d,jd[Ld++]=Ad,jd[Ld++]=zd,$d=t.id,Ad=t.overflow,zd=e}(e,n),!0}function nf(e,t){switch(e.tag){case c:!function(e,t){t.nodeType===yn?Yu(e,t):t.nodeType===bn||Ku(e,t)}(e.stateNode.containerInfo,t);break;case f:var n=(e.mode&ia)!==aa;!function(e,t,n,r,o){(o||!0!==t[ac])&&(r.nodeType===yn?Yu(n,r):r.nodeType===bn||Ku(n,r))}(e.type,e.memoizedProps,e.stateNode,t,n);break;case x:var r=e.memoizedState;null!==r.dehydrated&&function(e,t){var n=e.parentNode;null!==n&&(t.nodeType===yn?Yu(n,t):t.nodeType===bn||Ku(n,t))}(r.dehydrated,t)}}function rf(e,t){nf(e,t);var n,r=((n=lx(f,null,null,aa)).elementType="DELETED",n);r.stateNode=t,r.return=e;var o=e.deletions;null===o?(e.deletions=[r],e.flags|=Br):o.push(r)}function of(e,t){if(!Qd)switch(e.tag){case c:var n=e.stateNode.containerInfo;switch(t.tag){case f:var r=t.type;t.pendingProps,function(e,t){Gu(e,t)}(n,r);break;case p:!function(e,t){Qu(e,t)}(n,t.pendingProps)}break;case f:e.type;var o=e.memoizedProps,a=e.stateNode;switch(t.tag){case f:var i=t.type;t.pendingProps,function(e,t,n,r,o,a){(a||!0!==t[ac])&&Gu(n,r)}(0,o,a,i,0,(e.mode&ia)!==aa);break;case p:!function(e,t,n,r,o){(o||!0!==t[ac])&&Qu(n,r)}(0,o,a,t.pendingProps,(e.mode&ia)!==aa)}break;case x:var l=e.memoizedState.dehydrated;if(null!==l)switch(t.tag){case f:var s=t.type;t.pendingProps,function(e,t){var n=e.parentNode;null!==n&&Gu(n,t)}(l,s);break;case p:!function(e,t){var n=e.parentNode;null!==n&&Qu(n,t)}(l,t.pendingProps)}break;default:return}}function af(e,t){t.flags=t.flags&~Xr|Vr,of(e,t)}function lf(e,t){switch(e.tag){case f:var n=e.type;e.pendingProps;var r=function(e,t){return e.nodeType!==yn||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}(t,n);return null!==r&&(e.stateNode=r,Yd=e,Kd=Rc(r.firstChild),!0);case p:var o=function(e,t){return""===t||e.nodeType!==gn?null:e}(t,e.pendingProps);return null!==o&&(e.stateNode=o,Yd=e,Kd=null,!0);case x:var a=function(e){return e.nodeType!==bn?null:e}(t);if(null!==a){var i={dehydrated:a,treeContext:(qd(),null!==zd?{id:$d,overflow:Ad}:null),retryLane:Qa};e.memoizedState=i;var l=function(e){var t=lx(T,null,null,aa);return t.stateNode=e,t}(a);return l.return=e,e.child=l,Yd=e,Kd=null,!0}return!1;default:return!1}}function sf(e){return(e.mode&ia)!==aa&&(e.flags&qr)===Ar}function uf(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function cf(e){if(Gd){var t=Kd;if(!t)return sf(e)&&(of(Yd,e),uf()),af(Yd,e),Gd=!1,void(Yd=e);var n=t;if(!lf(e,t)){sf(e)&&(of(Yd,e),uf()),t=Mc(n);var r=Yd;if(!t||!lf(e,t))return af(Yd,e),Gd=!1,void(Yd=e);rf(r,n)}}}function df(e){var t=e.stateNode,n=e.memoizedProps,r=function(e,t,n){return Vc(n,e),n.mode,function(e,t){return e.nodeValue!==t}(e,t)}(t,n,e);if(r){var o=Yd;if(null!==o)switch(o.tag){case c:o.stateNode.containerInfo,function(e,t,n,r){Fu(t.nodeValue,n,r,!0)}(0,t,n,(o.mode&ia)!==aa);break;case f:o.type;var a=o.memoizedProps;o.stateNode,function(e,t,n,r,o,a){!0!==t[ac]&&Fu(r.nodeValue,o,a,!0)}(0,a,0,t,n,(o.mode&ia)!==aa)}}return r}function ff(e){var t=e.memoizedState,n=null!==t?t.dehydrated:null;if(!n)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");!function(e,t){Vc(t,e)}(n,e)}function pf(e){var t=e.memoizedState,n=null!==t?t.dehydrated:null;if(!n)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");return function(e){for(var t=e.nextSibling,n=0;t;){if(t.nodeType===bn){var r=t.data;if(r===lc){if(0===n)return Mc(t);n--}else r!==ic&&r!==uc&&r!==sc||n++}t=t.nextSibling}return null}(n)}function mf(e){for(var t=e.return;null!==t&&t.tag!==f&&t.tag!==c&&t.tag!==x;)t=t.return;Yd=t}function hf(e){if(e!==Yd)return!1;if(!Gd)return mf(e),Gd=!0,!1;if(e.tag!==c&&(e.tag!==f||"head"!==(n=e.type)&&"body"!==n&&!hc(e.type,e.memoizedProps))){var t=Kd;if(t)if(sf(e))vf(e),uf();else for(;t;)rf(e,t),t=Mc(t)}var n;return mf(e),Kd=e.tag===x?pf(e):Yd?Mc(e.stateNode):null,!0}function vf(e){for(var t=Kd;t;)nf(e,t),t=Mc(t)}function yf(){Yd=null,Kd=null,Gd=!1,Qd=!1}function gf(){null!==Xd&&(rw(Xd),Xd=null)}function bf(){return Gd}function wf(e){null===Xd?Xd=[e]:Xd.push(e)}var xf=n.ReactCurrentBatchConfig,kf=null,Sf={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},Ef=function(e){var t=[];return e.forEach((function(e){t.push(e)})),t.sort().join(", ")},Cf=[],Tf=[],Of=[],_f=[],Nf=[],Rf=[],Mf=new Set;Sf.recordUnsafeLifecycleWarnings=function(e,t){Mf.has(e.type)||("function"==typeof t.componentWillMount&&!0!==t.componentWillMount.__suppressDeprecationWarning&&Cf.push(e),e.mode&sa&&"function"==typeof t.UNSAFE_componentWillMount&&Tf.push(e),"function"==typeof t.componentWillReceiveProps&&!0!==t.componentWillReceiveProps.__suppressDeprecationWarning&&Of.push(e),e.mode&sa&&"function"==typeof t.UNSAFE_componentWillReceiveProps&&_f.push(e),"function"==typeof t.componentWillUpdate&&!0!==t.componentWillUpdate.__suppressDeprecationWarning&&Nf.push(e),e.mode&sa&&"function"==typeof t.UNSAFE_componentWillUpdate&&Rf.push(e))},Sf.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;Cf.length>0&&(Cf.forEach((function(t){e.add(ht(t)||"Component"),Mf.add(t.type)})),Cf=[]);var t=new Set;Tf.length>0&&(Tf.forEach((function(e){t.add(ht(e)||"Component"),Mf.add(e.type)})),Tf=[]);var n=new Set;Of.length>0&&(Of.forEach((function(e){n.add(ht(e)||"Component"),Mf.add(e.type)})),Of=[]);var r=new Set;_f.length>0&&(_f.forEach((function(e){r.add(ht(e)||"Component"),Mf.add(e.type)})),_f=[]);var i=new Set;Nf.length>0&&(Nf.forEach((function(e){i.add(ht(e)||"Component"),Mf.add(e.type)})),Nf=[]);var l=new Set;Rf.length>0&&(Rf.forEach((function(e){l.add(ht(e)||"Component"),Mf.add(e.type)})),Rf=[]),t.size>0&&a("Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move code with side effects to componentDidMount, and set initial state in the constructor.\n\nPlease update the following components: %s",Ef(t)),r.size>0&&a("Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state\n\nPlease update the following components: %s",Ef(r)),l.size>0&&a("Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n\nPlease update the following components: %s",Ef(l)),e.size>0&&o("componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move code with side effects to componentDidMount, and set initial state in the constructor.\n* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s",Ef(e)),n.size>0&&o("componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state\n* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s",Ef(n)),i.size>0&&o("componentWillUpdate has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s",Ef(i))};var Pf,Df,If,jf,Lf,zf,$f=new Map,Af=new Set;function Ff(e,t,n){var r,o,i,l=n.ref;if(null!==l&&"function"!=typeof l&&"object"!=typeof l){if((e.mode&sa||U)&&(!n._owner||!n._self||n._owner.stateNode===n._self)&&(!n._owner||n._owner.tag===s)&&("function"!=typeof n.type||(r=n.type).prototype&&r.prototype.isReactComponent)&&n._owner){var u=ht(e)||"Component";If[u]||(a('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',u,l),If[u]=!0)}if(n._owner){var c,d=n._owner;if(d){var f=d;if(f.tag!==s)throw new Error("Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref");c=f.stateNode}if(!c)throw new Error("Missing owner for string ref "+l+". This error is likely caused by a bug in React. Please file an issue.");var p=c;i="ref",ee(o=l)&&(a("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",i,Z(o)),te(o));var m=""+l;if(null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===m)return t.ref;var h=function(e){var t=p.refs;null===e?delete t[m]:t[m]=e};return h._stringRef=m,h}if("string"!=typeof l)throw new Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");if(!n._owner)throw new Error("Element ref was specified as a string ("+l+") but no owner was set. This could happen for one of the following reasons:\n1. You may be adding a ref to a function component\n2. You may be adding a ref to a component that was not created inside a component's render method\n3. You have multiple copies of React loaded\nSee https://reactjs.org/link/refs-must-have-owner for more information.")}return l}function Vf(e,t){var n=Object.prototype.toString.call(t);throw new Error("Objects are not valid as a React child (found: "+("[object Object]"===n?"object with keys {"+Object.keys(t).join(", ")+"}":n)+"). If you meant to render a collection of children, use an array instead.")}function Uf(e){var t=ht(e)||"Component";Lf[t]||(Lf[t]=!0,a("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it."))}function Bf(e){var t=e._payload;return(0,e._init)(t)}function Wf(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=Br):r.push(n)}}function n(n,r){if(!e)return null;for(var o=r;null!==o;)t(n,o),o=o.sibling;return null}function r(e,t){for(var n=new Map,r=t;null!==r;)null!==r.key?n.set(r.key,r):n.set(r.index,r),r=r.sibling;return n}function o(e,t){var n=ux(e,t);return n.index=0,n.sibling=null,n}function i(t,n,r){if(t.index=r,!e)return t.flags|=ao,n;var o=t.alternate;if(null!==o){var a=o.index;return a<n?(t.flags|=Vr,n):a}return t.flags|=Vr,n}function l(t){return e&&null===t.alternate&&(t.flags|=Vr),t}function s(e,t,n,r){if(null===t||t.tag!==p){var a=hx(n,e.mode,r);return a.return=e,a}var i=o(t,n);return i.return=e,i}function u(e,t,n,r){var a=n.type;if(a===Me)return f(e,t,n.props.children,r,n.key);if(null!==t&&(t.elementType===a||Xw(t,n)||"object"==typeof a&&null!==a&&a.$$typeof===Fe&&Bf(a)===t.type)){var i=o(t,n.props);return i.ref=Ff(e,t,n),i.return=e,i._debugSource=n._source,i._debugOwner=n._owner,i}var l=fx(n,e.mode,r);return l.ref=Ff(e,t,n),l.return=e,l}function c(e,t,n,r){if(null===t||t.tag!==d||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation){var a=vx(n,e.mode,r);return a.return=e,a}var i=o(t,n.children||[]);return i.return=e,i}function f(e,t,n,r,a){if(null===t||t.tag!==m){var i=px(n,e.mode,r,a);return i.return=e,i}var l=o(t,n);return l.return=e,l}function h(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t){var r=hx(""+t,e.mode,n);return r.return=e,r}if("object"==typeof t&&null!==t){switch(t.$$typeof){case Ne:var o=fx(t,e.mode,n);return o.ref=Ff(e,null,t),o.return=e,o;case Re:var a=vx(t,e.mode,n);return a.return=e,a;case Fe:var i=t._payload;return h(e,(0,t._init)(i),n)}if(Xt(t)||We(t)){var l=px(t,e.mode,n,null);return l.return=e,l}Vf(0,t)}return"function"==typeof t&&Uf(e),null}function v(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==o?null:s(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case Ne:return n.key===o?u(e,t,n,r):null;case Re:return n.key===o?c(e,t,n,r):null;case Fe:var a=n._payload;return v(e,t,(0,n._init)(a),r)}if(Xt(n)||We(n))return null!==o?null:f(e,t,n,r,null);Vf(0,n)}return"function"==typeof n&&Uf(e),null}function y(e,t,n,r,o){if("string"==typeof r&&""!==r||"number"==typeof r)return s(t,e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case Ne:return u(t,e.get(null===r.key?n:r.key)||null,r,o);case Re:return c(t,e.get(null===r.key?n:r.key)||null,r,o);case Fe:var a=r._payload;return y(e,t,n,(0,r._init)(a),o)}if(Xt(r)||We(r))return f(t,e.get(n)||null,r,o,null);Vf(0,r)}return"function"==typeof r&&Uf(t),null}function g(e,t,n){if("object"!=typeof e||null===e)return t;switch(e.$$typeof){case Ne:case Re:zf(e,n);var r=e.key;if("string"!=typeof r)break;if(null===t){(t=new Set).add(r);break}if(!t.has(r)){t.add(r);break}a("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",r);break;case Fe:var o=e._payload;g((0,e._init)(o),t,n)}return t}return function s(u,c,f,b){if("object"==typeof f&&null!==f&&f.type===Me&&null===f.key&&(f=f.props.children),"object"==typeof f&&null!==f){switch(f.$$typeof){case Ne:return l(function(e,r,a,i){for(var l=a.key,s=r;null!==s;){if(s.key===l){var u=a.type;if(u===Me){if(s.tag===m){n(e,s.sibling);var c=o(s,a.props.children);return c.return=e,c._debugSource=a._source,c._debugOwner=a._owner,c}}else if(s.elementType===u||Xw(s,a)||"object"==typeof u&&null!==u&&u.$$typeof===Fe&&Bf(u)===s.type){n(e,s.sibling);var d=o(s,a.props);return d.ref=Ff(e,s,a),d.return=e,d._debugSource=a._source,d._debugOwner=a._owner,d}n(e,s);break}t(e,s),s=s.sibling}if(a.type===Me){var f=px(a.props.children,e.mode,i,a.key);return f.return=e,f}var p=fx(a,e.mode,i);return p.ref=Ff(e,r,a),p.return=e,p}(u,c,f,b));case Re:return l(function(e,r,a,i){for(var l=a.key,s=r;null!==s;){if(s.key===l){if(s.tag===d&&s.stateNode.containerInfo===a.containerInfo&&s.stateNode.implementation===a.implementation){n(e,s.sibling);var u=o(s,a.children||[]);return u.return=e,u}n(e,s);break}t(e,s),s=s.sibling}var c=vx(a,e.mode,i);return c.return=e,c}(u,c,f,b));case Fe:var w=f._payload;return s(u,c,(0,f._init)(w),b)}if(Xt(f))return function(o,a,l,s){for(var u=null,c=0;c<l.length;c++)u=g(l[c],u,o);for(var d=null,f=null,p=a,m=0,b=0,w=null;null!==p&&b<l.length;b++){p.index>b?(w=p,p=null):w=p.sibling;var x=v(o,p,l[b],s);if(null===x){null===p&&(p=w);break}e&&p&&null===x.alternate&&t(o,p),m=i(x,m,b),null===f?d=x:f.sibling=x,f=x,p=w}if(b===l.length)return n(o,p),bf()&&Vd(o,b),d;if(null===p){for(;b<l.length;b++){var k=h(o,l[b],s);null!==k&&(m=i(k,m,b),null===f?d=k:f.sibling=k,f=k)}return bf()&&Vd(o,b),d}for(var S=r(0,p);b<l.length;b++){var E=y(S,o,b,l[b],s);null!==E&&(e&&null!==E.alternate&&S.delete(null===E.key?b:E.key),m=i(E,m,b),null===f?d=E:f.sibling=E,f=E)}return e&&S.forEach((function(e){return t(o,e)})),bf()&&Vd(o,b),d}(u,c,f,b);if(We(f))return function(o,l,s,u){var c=We(s);if("function"!=typeof c)throw new Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");"function"==typeof Symbol&&"Generator"===s[Symbol.toStringTag]&&(Df||a("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),Df=!0),s.entries===c&&(Pf||a("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Pf=!0);var d=c.call(s);if(d)for(var f=null,p=d.next();!p.done;p=d.next())f=g(p.value,f,o);var m=c.call(s);if(null==m)throw new Error("An iterable object provided no iterator.");for(var b=null,w=null,x=l,k=0,S=0,E=null,C=m.next();null!==x&&!C.done;S++,C=m.next()){x.index>S?(E=x,x=null):E=x.sibling;var T=v(o,x,C.value,u);if(null===T){null===x&&(x=E);break}e&&x&&null===T.alternate&&t(o,x),k=i(T,k,S),null===w?b=T:w.sibling=T,w=T,x=E}if(C.done)return n(o,x),bf()&&Vd(o,S),b;if(null===x){for(;!C.done;S++,C=m.next()){var O=h(o,C.value,u);null!==O&&(k=i(O,k,S),null===w?b=O:w.sibling=O,w=O)}return bf()&&Vd(o,S),b}for(var _=r(0,x);!C.done;S++,C=m.next()){var N=y(_,o,S,C.value,u);null!==N&&(e&&null!==N.alternate&&_.delete(null===N.key?S:N.key),k=i(N,k,S),null===w?b=N:w.sibling=N,w=N)}return e&&_.forEach((function(e){return t(o,e)})),bf()&&Vd(o,S),b}(u,c,f,b);Vf(0,f)}return"string"==typeof f&&""!==f||"number"==typeof f?l(function(e,t,r,a){if(null!==t&&t.tag===p){n(e,t.sibling);var i=o(t,r);return i.return=e,i}n(e,t);var l=hx(r,e.mode,a);return l.return=e,l}(u,c,""+f,b)):("function"==typeof f&&Uf(u),n(u,c))}}Sf.recordLegacyContextWarning=function(e,t){var n=function(e){for(var t=null,n=e;null!==n;)n.mode&sa&&(t=n),n=n.return;return t}(e);if(null!==n){if(!Af.has(e.type)){var r=$f.get(n);(null!=e.type.contextTypes||null!=e.type.childContextTypes||null!==t&&"function"==typeof t.getChildContext)&&(void 0===r&&(r=[],$f.set(n,r)),r.push(e))}}else a("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.")},Sf.flushLegacyContextWarning=function(){$f.forEach((function(e,t){if(0!==e.length){var n=e[0],r=new Set;e.forEach((function(e){r.add(ht(e)||"Component"),Af.add(e.type)}));var o=Ef(r);try{kt(n),a("Legacy context API has been detected within a strict-mode tree.\n\nThe old API will be supported in all 16.x releases, but applications using it should migrate to the new version.\n\nPlease update the following components: %s\n\nLearn more about this warning here: https://reactjs.org/link/legacy-context",o)}finally{xt()}}}))},Sf.discardPendingWarnings=function(){Cf=[],Tf=[],Of=[],_f=[],Nf=[],Rf=[],$f=new Map},Pf=!1,Df=!1,If={},jf={},Lf={},zf=function(e,t){if(null!==e&&"object"==typeof e&&e._store&&!e._store.validated&&null==e.key){if("object"!=typeof e._store)throw new Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");e._store.validated=!0;var n=ht(t)||"Component";jf[n]||(jf[n]=!0,a('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'))}};var Hf=Wf(!0),qf=Wf(!1);function Yf(e,t){for(var n=e.child;null!==n;)cx(n,t),n=n.sibling}var Kf,Gf=od(null);Kf={};var Qf=null,Xf=null,Jf=null,Zf=!1;function ep(){Qf=null,Xf=null,Jf=null,Zf=!1}function tp(){Zf=!0}function np(){Zf=!1}function rp(e,t,n){id(Gf,t._currentValue,e),t._currentValue=n,void 0!==t._currentRenderer&&null!==t._currentRenderer&&t._currentRenderer!==Kf&&a("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=Kf}function op(e,t){var n=Gf.current;ad(Gf,t),e._currentValue=n}function ap(e,t,n){for(var r=e;null!==r;){var o=r.alternate;if(hi(r.childLanes,t)?null===o||hi(o.childLanes,t)||(o.childLanes=vi(o.childLanes,t)):(r.childLanes=vi(r.childLanes,t),null!==o&&(o.childLanes=vi(o.childLanes,t))),r===n)break;r=r.return}r!==n&&a("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function ip(e,t,n){!function(e,t,n){var r=e.child;for(null!==r&&(r.return=e);null!==r;){var o=void 0,a=r.dependencies;if(null!==a){o=r.child;for(var i=a.firstContext;null!==i;){if(i.context===t){if(r.tag===s){var l=di(n),u=Ep(Ja,l);u.tag=bp;var c=r.updateQueue;if(null===c);else{var d=c.shared,f=d.pending;null===f?u.next=u:(u.next=f.next,f.next=u),d.pending=u}}r.lanes=vi(r.lanes,n);var p=r.alternate;null!==p&&(p.lanes=vi(p.lanes,n)),ap(r.return,n,e),a.lanes=vi(a.lanes,n);break}i=i.next}}else if(r.tag===g)o=r.type===e.type?null:r.child;else if(r.tag===T){var m=r.return;if(null===m)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");m.lanes=vi(m.lanes,n);var h=m.alternate;null!==h&&(h.lanes=vi(h.lanes,n)),ap(m,n,e),o=r.sibling}else o=r.child;if(null!==o)o.return=r;else for(o=r;null!==o;){if(o===e){o=null;break}var v=o.sibling;if(null!==v){v.return=o.return,o=v;break}o=o.return}r=o}}(e,t,n)}function lp(e,t){Qf=e,Xf=null,Jf=null;var n=e.dependencies;null!==n&&null!==n.firstContext&&(mi(n.lanes,t)&&Oy(),n.firstContext=null)}function sp(e){Zf&&a("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");var t=e._currentValue;if(Jf===e);else{var n={context:e,memoizedValue:t,next:null};if(null===Xf){if(null===Qf)throw new Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");Xf=n,Qf.dependencies={lanes:ma,firstContext:n}}else Xf=Xf.next=n}return t}var up=null;function cp(e){null===up?up=[e]:up.push(e)}function dp(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,cp(t)):(n.next=o.next,o.next=n),t.interleaved=n,mp(e,r)}function fp(e,t){return mp(e,t)}var pp=mp;function mp(e,t){e.lanes=vi(e.lanes,t);var n=e.alternate;null!==n&&(n.lanes=vi(n.lanes,t)),null===n&&(e.flags&(Vr|Xr))!==Ar&&Lw(e);for(var r=e,o=e.return;null!==o;)o.childLanes=vi(o.childLanes,t),null!==(n=o.alternate)?n.childLanes=vi(n.childLanes,t):(o.flags&(Vr|Xr))!==Ar&&Lw(e),r=o,o=o.return;return r.tag===c?r.stateNode:null}var hp,vp,yp=0,gp=1,bp=2,wp=3,xp=!1;function kp(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:ma},effects:null};e.updateQueue=t}function Sp(e,t){var n=t.updateQueue,r=e.updateQueue;if(n===r){var o={baseState:r.baseState,firstBaseUpdate:r.firstBaseUpdate,lastBaseUpdate:r.lastBaseUpdate,shared:r.shared,effects:r.effects};t.updateQueue=o}}function Ep(e,t){return{eventTime:e,lane:t,tag:yp,payload:null,callback:null,next:null}}function Cp(e,t,n){var r=e.updateQueue;if(null===r)return null;var o=r.shared;if(vp!==o||hp||(a("An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback."),hp=!0),(cb&tb)!==Zg){var i=o.pending;return null===i?t.next=t:(t.next=i.next,i.next=t),o.pending=t,pp(e,n)}return function(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,cp(t)):(n.next=o.next,o.next=n),t.interleaved=n,mp(e,r)}(e,o,t,n)}function Tp(e,t,n){var r=t.updateQueue;if(null!==r){var o=r.shared;if(si(n)){var a=o.lanes,i=vi(a=gi(a,e.pendingLanes),n);o.lanes=i,ki(e,i)}}}function Op(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r){var o=r.updateQueue;if(n===o){var a=null,i=null,l=n.firstBaseUpdate;if(null!==l){var s=l;do{var u={eventTime:s.eventTime,lane:s.lane,tag:s.tag,payload:s.payload,callback:s.callback,next:null};null===i?a=i=u:(i.next=u,i=u),s=s.next}while(null!==s);null===i?a=i=t:(i.next=t,i=t)}else a=i=t;return n={baseState:o.baseState,firstBaseUpdate:a,lastBaseUpdate:i,shared:o.shared,effects:o.effects},void(e.updateQueue=n)}}var c=n.lastBaseUpdate;null===c?n.firstBaseUpdate=t:c.next=t,n.lastBaseUpdate=t}function _p(e,t,n,r,o,a){switch(n.tag){case gp:var i=n.payload;if("function"==typeof i){tp();var l=i.call(a,r,o);if(e.mode&sa){Ho(!0);try{i.call(a,r,o)}finally{Ho(!1)}}return np(),l}return i;case wp:e.flags=e.flags&~ro|qr;case yp:var s,u=n.payload;if("function"==typeof u){if(tp(),s=u.call(a,r,o),e.mode&sa){Ho(!0);try{u.call(a,r,o)}finally{Ho(!1)}}np()}else s=u;return null==s?r:Je({},r,s);case bp:return xp=!0,r}return r}function Np(e,t,n,r){var o=e.updateQueue;xp=!1,vp=o.shared;var a=o.firstBaseUpdate,i=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var s=l,u=s.next;s.next=null,null===i?a=u:i.next=u,i=s;var c=e.alternate;if(null!==c){var d=c.updateQueue,f=d.lastBaseUpdate;f!==i&&(null===f?d.firstBaseUpdate=u:f.next=u,d.lastBaseUpdate=s)}}if(null!==a){for(var p=o.baseState,m=ma,h=null,v=null,y=null,g=a;;){var b=g.lane,w=g.eventTime;if(hi(r,b)){if(null!==y){var x={eventTime:w,lane:ha,tag:g.tag,payload:g.payload,callback:g.callback,next:null};y=y.next=x}if(p=_p(e,0,g,p,t,n),null!==g.callback&&g.lane!==ha){e.flags|=Hr;var k=o.effects;null===k?o.effects=[g]:k.push(g)}}else{var S={eventTime:w,lane:b,tag:g.tag,payload:g.payload,callback:g.callback,next:null};null===y?(v=y=S,h=p):y=y.next=S,m=vi(m,b)}if(null===(g=g.next)){if(null===(l=o.shared.pending))break;var E=l,C=E.next;E.next=null,g=C,o.lastBaseUpdate=E,o.shared.pending=null}}null===y&&(h=p),o.baseState=h,o.firstBaseUpdate=v,o.lastBaseUpdate=y;var T=o.shared.interleaved;if(null!==T){var O=T;do{m=vi(m,O.lane),O=O.next}while(O!==T)}else null===a&&(o.shared.lanes=ma);hw(m),e.lanes=m,e.memoizedState=p}vp=null}function Rp(e,t){if("function"!=typeof e)throw new Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(t)}function Mp(){xp=!1}function Pp(){return xp}function Dp(e,t,n){var r=t.effects;if(t.effects=null,null!==r)for(var o=0;o<r.length;o++){var a=r[o],i=a.callback;null!==i&&(a.callback=null,Rp(i,n))}}hp=!1,vp=null;var Ip={},jp=od(Ip),Lp=od(Ip),zp=od(Ip);function $p(e){if(e===Ip)throw new Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.");return e}function Ap(){return $p(zp.current)}function Fp(e,t){id(zp,t,e),id(Lp,e,e),id(jp,Ip,e);var n=function(e){var t,n,r=e.nodeType;switch(r){case wn:case xn:t=r===wn?"#document":"#fragment";var o=e.documentElement;n=o?o.namespaceURI:pn(null,"");break;default:var a=r===bn?e.parentNode:e;n=pn(a.namespaceURI||null,t=a.tagName)}var i=t.toLowerCase();return{namespace:n,ancestorInfo:Ju(null,i)}}(t);ad(jp,e),id(jp,n,e)}function Vp(e){ad(jp,e),ad(Lp,e),ad(zp,e)}function Up(){return $p(jp.current)}function Bp(e){$p(zp.current);var t,n,r,o=$p(jp.current),a=(t=o,n=e.type,{namespace:pn((r=t).namespace,n),ancestorInfo:Ju(r.ancestorInfo,n)});o!==a&&(id(Lp,e,e),id(jp,a,e))}function Wp(e){Lp.current===e&&(ad(jp,e),ad(Lp,e))}var Hp=1,qp=1,Yp=2,Kp=od(0);function Gp(e,t){return!!(e&t)}function Qp(e){return e&Hp}function Xp(e,t){return e&Hp|t}function Jp(e,t){id(Kp,t,e)}function Zp(e){ad(Kp,e)}function em(e,t){var n=e.memoizedState;return null!==n?null!==n.dehydrated:(e.memoizedProps,!0)}function tm(e){for(var t=e;null!==t;){if(t.tag===x){var n=t.memoizedState;if(null!==n){var r=n.dehydrated;if(null===r||_c(r)||Nc(r))return t}}else if(t.tag===_&&void 0!==t.memoizedProps.revealOrder){if((t.flags&qr)!==Ar)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)return null;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var nm=0,rm=1,om=2,am=4,im=8,lm=[];function sm(){for(var e=0;e<lm.length;e++)lm[e]._workInProgressVersionPrimary=null;lm.length=0}function um(e,t){var n=(0,t._getVersion)(t._source);null==e.mutableSourceEagerHydrationData?e.mutableSourceEagerHydrationData=[t,n]:e.mutableSourceEagerHydrationData.push(t,n)}var cm,dm,fm=n.ReactCurrentDispatcher,pm=n.ReactCurrentBatchConfig;cm=new Set;var mm=ma,hm=null,vm=null,ym=null,gm=!1,bm=!1,wm=0,xm=0,km=25,Sm=null,Em=null,Cm=-1,Tm=!1;function Om(){var e=Sm;null===Em?Em=[e]:Em.push(e)}function _m(){var e=Sm;null!==Em&&(Cm++,Em[Cm]!==e&&function(e){var t=ht(hm);if(!cm.has(t)&&(cm.add(t),null!==Em)){for(var n="",r=30,o=0;o<=Cm;o++){for(var i=Em[o],l=o===Cm?e:i,s=o+1+". "+i;s.length<r;)s+=" ";n+=s+=l+"\n"}a("React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://reactjs.org/link/rules-of-hooks\n\n Previous render Next render\n ------------------------------------------------------\n%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n",t,n)}}(e))}function Nm(e){null==e||Xt(e)||a("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",Sm,typeof e)}function Rm(){throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.")}function Mm(e,t){if(Tm)return!1;if(null===t)return a("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",Sm),!1;e.length!==t.length&&a("The final argument passed to %s changed size between renders. The order and size of this array must remain constant.\n\nPrevious: %s\nIncoming: %s",Sm,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var n=0;n<t.length&&n<e.length;n++)if(!Ts(e[n],t[n]))return!1;return!0}function Pm(e,t,n,r,o,i){mm=i,hm=t,Em=null!==e?e._debugHookTypes:null,Cm=-1,Tm=null!==e&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=ma,null!==e&&null!==e.memoizedState?fm.current=$h:fm.current=null!==Em?zh:Lh;var l=n(r,o);if(bm){var s=0;do{if(bm=!1,wm=0,s>=km)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");s+=1,Tm=!1,vm=null,ym=null,t.updateQueue=null,Cm=-1,fm.current=Ah,l=n(r,o)}while(bm)}fm.current=jh,t._debugHookTypes=Em;var u=null!==vm&&null!==vm.next;if(mm=ma,hm=null,vm=null,ym=null,Sm=null,Em=null,Cm=-1,null!==e&&(e.flags&vo)!=(t.flags&vo)&&(e.mode&ia)!==aa&&a("Internal React error: Expected static flag was missing. Please notify the React team."),gm=!1,u)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return l}function Dm(){var e=0!==wm;return wm=0,e}function Im(e,t,n){t.updateQueue=e.updateQueue,(t.mode&ua)!==aa?t.flags&=~(co|uo|Qr|Ur):t.flags&=~(Qr|Ur),e.lanes=yi(e.lanes,n)}function jm(){if(fm.current=jh,gm){for(var e=hm.memoizedState;null!==e;){var t=e.queue;null!==t&&(t.pending=null),e=e.next}gm=!1}mm=ma,hm=null,vm=null,ym=null,Em=null,Cm=-1,Sm=null,Th=!1,bm=!1,wm=0}function Lm(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ym?hm.memoizedState=ym=e:ym=ym.next=e,ym}function zm(){var e,t;if(null===vm){var n=hm.alternate;e=null!==n?n.memoizedState:null}else e=vm.next;if(null!==(t=null===ym?hm.memoizedState:ym.next))t=(ym=t).next,vm=e;else{if(null===e)throw new Error("Rendered more hooks than during the previous render.");var r={memoizedState:(vm=e).memoizedState,baseState:vm.baseState,baseQueue:vm.baseQueue,queue:vm.queue,next:null};null===ym?hm.memoizedState=ym=r:ym=ym.next=r}return ym}function $m(e,t){return"function"==typeof t?t(e):t}function Am(e,t,n){var r,o=Lm();r=void 0!==n?n(t):t,o.memoizedState=o.baseState=r;var a={pending:null,interleaved:null,lanes:ma,dispatch:null,lastRenderedReducer:e,lastRenderedState:r};o.queue=a;var i=a.dispatch=Nh.bind(null,hm,a);return[o.memoizedState,i]}function Fm(e,t,n){var r=zm(),o=r.queue;if(null===o)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");o.lastRenderedReducer=e;var i=vm,l=i.baseQueue,s=o.pending;if(null!==s){if(null!==l){var u=l.next,c=s.next;l.next=c,s.next=u}i.baseQueue!==l&&a("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),i.baseQueue=l=s,o.pending=null}if(null!==l){var d=l.next,f=i.baseState,p=null,m=null,h=null,v=d;do{var y=v.lane;if(hi(mm,y)){if(null!==h){var g={lane:ha,action:v.action,hasEagerState:v.hasEagerState,eagerState:v.eagerState,next:null};h=h.next=g}f=v.hasEagerState?v.eagerState:e(f,v.action)}else{var b={lane:y,action:v.action,hasEagerState:v.hasEagerState,eagerState:v.eagerState,next:null};null===h?(m=h=b,p=f):h=h.next=b,hm.lanes=vi(hm.lanes,y),hw(y)}v=v.next}while(null!==v&&v!==d);null===h?p=f:h.next=m,Ts(f,r.memoizedState)||Oy(),r.memoizedState=f,r.baseState=p,r.baseQueue=h,o.lastRenderedState=f}var w=o.interleaved;if(null!==w){var x=w;do{var k=x.lane;hm.lanes=vi(hm.lanes,k),hw(k),x=x.next}while(x!==w)}else null===l&&(o.lanes=ma);var S=o.dispatch;return[r.memoizedState,S]}function Vm(e,t,n){var r=zm(),o=r.queue;if(null===o)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");o.lastRenderedReducer=e;var a=o.dispatch,i=o.pending,l=r.memoizedState;if(null!==i){o.pending=null;var s=i.next,u=s;do{l=e(l,u.action),u=u.next}while(u!==s);Ts(l,r.memoizedState)||Oy(),r.memoizedState=l,null===r.baseQueue&&(r.baseState=l),o.lastRenderedState=l}return[l,a]}function Um(e,t,n){var r,o=hm,i=Lm();if(bf()){if(void 0===n)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");r=n(),dm||r!==n()&&(a("The result of getServerSnapshot should be cached to avoid an infinite loop"),dm=!0)}else{if(r=t(),!dm){var l=t();Ts(r,l)||(a("The result of getSnapshot should be cached to avoid an infinite loop"),dm=!0)}if(null===Gb())throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");li(0,mm)||Wm(o,t,r)}i.memoizedState=r;var s={value:r,getSnapshot:t};return i.queue=s,rh(qm.bind(null,o,s,e),[e]),o.flags|=Qr,Jm(rm|im,Hm.bind(null,o,s,r,t),void 0,null),r}function Bm(e,t,n){var r=hm,o=zm(),i=t();if(!dm){var l=t();Ts(i,l)||(a("The result of getSnapshot should be cached to avoid an infinite loop"),dm=!0)}var s=o.memoizedState,u=!Ts(s,i);u&&(o.memoizedState=i,Oy());var c=o.queue;if(oh(qm.bind(null,r,c,e),[e]),c.getSnapshot!==t||u||null!==ym&&ym.memoizedState.tag&rm){if(r.flags|=Qr,Jm(rm|im,Hm.bind(null,r,c,i,t),void 0,null),null===Gb())throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");li(0,mm)||Wm(r,t,i)}return i}function Wm(e,t,n){e.flags|=Zr;var r={getSnapshot:t,value:n},o=hm.updateQueue;if(null===o)o={lastEffect:null,stores:null},hm.updateQueue=o,o.stores=[r];else{var a=o.stores;null===a?o.stores=[r]:a.push(r)}}function Hm(e,t,n,r){t.value=n,t.getSnapshot=r,Ym(t)&&Km(e)}function qm(e,t,n){return n((function(){Ym(t)&&Km(e)}))}function Ym(e){var t=e.getSnapshot,n=e.value;try{var r=t();return!Ts(n,r)}catch(e){return!0}}function Km(e){var t=fp(e,va);null!==t&&Zb(t,e,va,Ja)}function Gm(e){var t=Lm();"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e;var n={pending:null,interleaved:null,lanes:ma,dispatch:null,lastRenderedReducer:$m,lastRenderedState:e};t.queue=n;var r=n.dispatch=Rh.bind(null,hm,n);return[t.memoizedState,r]}function Qm(e){return Fm($m)}function Xm(e){return Vm($m)}function Jm(e,t,n,r){var o={tag:e,create:t,destroy:n,deps:r,next:null},a=hm.updateQueue;if(null===a)a={lastEffect:null,stores:null},hm.updateQueue=a,a.lastEffect=o.next=o;else{var i=a.lastEffect;if(null===i)a.lastEffect=o.next=o;else{var l=i.next;i.next=o,o.next=l,a.lastEffect=o}}return o}function Zm(e){var t={current:e};return Lm().memoizedState=t,t}function eh(e){return zm().memoizedState}function th(e,t,n,r){var o=Lm(),a=void 0===r?null:r;hm.flags|=e,o.memoizedState=Jm(rm|t,n,void 0,a)}function nh(e,t,n,r){var o=zm(),a=void 0===r?null:r,i=void 0;if(null!==vm){var l=vm.memoizedState;if(i=l.destroy,null!==a&&Mm(a,l.deps))return void(o.memoizedState=Jm(t,n,i,a))}hm.flags|=e,o.memoizedState=Jm(rm|t,n,i,a)}function rh(e,t){return(hm.mode&ua)!==aa?th(co|Qr|so,im,e,t):th(Qr|so,im,e,t)}function oh(e,t){return nh(Qr,im,e,t)}function ah(e,t){return th(Ur,om,e,t)}function ih(e,t){return nh(Ur,om,e,t)}function lh(e,t){var n=Ur;return n|=lo,(hm.mode&ua)!==aa&&(n|=uo),th(n,am,e,t)}function sh(e,t){return nh(Ur,am,e,t)}function uh(e,t){if("function"==typeof t){var n=t,r=e();return n(r),function(){n(null)}}if(null!=t){var o=t;o.hasOwnProperty("current")||a("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(o).join(", ")+"}");var i=e();return o.current=i,function(){o.current=null}}}function ch(e,t,n){"function"!=typeof t&&a("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",null!==t?typeof t:"null");var r=null!=n?n.concat([e]):null,o=Ur;return o|=lo,(hm.mode&ua)!==aa&&(o|=uo),th(o,am,uh.bind(null,t,e),r)}function dh(e,t,n){"function"!=typeof t&&a("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",null!==t?typeof t:"null");var r=null!=n?n.concat([e]):null;return nh(Ur,am,uh.bind(null,t,e),r)}function fh(e,t){}var ph=fh;function mh(e,t){var n=void 0===t?null:t;return Lm().memoizedState=[e,n],e}function hh(e,t){var n=zm(),r=void 0===t?null:t,o=n.memoizedState;return null!==o&&null!==r&&Mm(r,o[1])?o[0]:(n.memoizedState=[e,r],e)}function vh(e,t){var n=Lm(),r=void 0===t?null:t,o=e();return n.memoizedState=[o,r],o}function yh(e,t){var n=zm(),r=void 0===t?null:t,o=n.memoizedState;if(null!==o&&null!==r&&Mm(r,o[1]))return o[0];var a=e();return n.memoizedState=[a,r],a}function gh(e){return Lm().memoizedState=e,e}function bh(e){return xh(zm(),vm.memoizedState,e)}function wh(e){var t=zm();return null===vm?(t.memoizedState=e,e):xh(t,vm.memoizedState,e)}function xh(e,t,n){if((mm&(va|ga|wa))!==ma){if(!Ts(n,t)){var r=ui();hm.lanes=vi(hm.lanes,r),hw(r),e.baseState=!0}return t}return e.baseState&&(e.baseState=!1,Oy()),e.memoizedState=n,n}function kh(e,t,n){var r,a,i=ji();Li((a=Mi,0!==(r=i)&&r<a?r:a)),e(!0);var l=pm.transition;pm.transition={};var s=pm.transition;pm.transition._updatedFibers=new Set;try{e(!1),t()}finally{Li(i),pm.transition=l,null===l&&s._updatedFibers&&(s._updatedFibers.size>10&&o("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),s._updatedFibers.clear())}}function Sh(){var e=Gm(!1),t=e[0],n=e[1],r=kh.bind(null,n);return Lm().memoizedState=r,[t,r]}function Eh(){return[Qm()[0],zm().memoizedState]}function Ch(){return[Xm()[0],zm().memoizedState]}var Th=!1;function Oh(){var e,t=Lm(),n=Gb().identifierPrefix;if(bf()){e=":"+n+"R"+Fd();var r=wm++;r>0&&(e+="H"+r.toString(32)),e+=":"}else e=":"+n+"r"+(xm++).toString(32)+":";return t.memoizedState=e,e}function _h(){return zm().memoizedState}function Nh(e,t,n){"function"==typeof arguments[3]&&a("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var r=Xb(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Mh(e))Ph(t,o);else{var i=dp(e,t,o,r);null!==i&&(Zb(i,e,r,Qb()),Dh(i,t,r))}Ih(e,r)}function Rh(e,t,n){"function"==typeof arguments[3]&&a("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var r=Xb(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Mh(e))Ph(t,o);else{var i=e.alternate;if(e.lanes===ma&&(null===i||i.lanes===ma)){var l=t.lastRenderedReducer;if(null!==l){var s;s=fm.current,fm.current=Vh;try{var u=t.lastRenderedState,c=l(u,n);if(o.hasEagerState=!0,o.eagerState=c,Ts(c,u))return void function(e,t,n){var r=t.interleaved;null===r?(n.next=n,cp(t)):(n.next=r.next,r.next=n),t.interleaved=n}(0,t,o)}catch(e){}finally{fm.current=s}}}var d=dp(e,t,o,r);null!==d&&(Zb(d,e,r,Qb()),Dh(d,t,r))}Ih(e,r)}function Mh(e){var t=e.alternate;return e===hm||null!==t&&t===hm}function Ph(e,t){bm=gm=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Dh(e,t,n){if(si(n)){var r=t.lanes,o=vi(r=gi(r,e.pendingLanes),n);t.lanes=o,ki(e,o)}}function Ih(e,t,n){oa(e,t)}var jh={readContext:sp,useCallback:Rm,useContext:Rm,useEffect:Rm,useImperativeHandle:Rm,useInsertionEffect:Rm,useLayoutEffect:Rm,useMemo:Rm,useReducer:Rm,useRef:Rm,useState:Rm,useDebugValue:Rm,useDeferredValue:Rm,useTransition:Rm,useMutableSource:Rm,useSyncExternalStore:Rm,useId:Rm,unstable_isNewReconciler:L},Lh=null,zh=null,$h=null,Ah=null,Fh=null,Vh=null,Uh=null,Bh=function(){a("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")},Wh=function(){a("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks")};Lh={readContext:function(e){return sp(e)},useCallback:function(e,t){return Sm="useCallback",Om(),Nm(t),mh(e,t)},useContext:function(e){return Sm="useContext",Om(),sp(e)},useEffect:function(e,t){return Sm="useEffect",Om(),Nm(t),rh(e,t)},useImperativeHandle:function(e,t,n){return Sm="useImperativeHandle",Om(),Nm(n),ch(e,t,n)},useInsertionEffect:function(e,t){return Sm="useInsertionEffect",Om(),Nm(t),ah(e,t)},useLayoutEffect:function(e,t){return Sm="useLayoutEffect",Om(),Nm(t),lh(e,t)},useMemo:function(e,t){Sm="useMemo",Om(),Nm(t);var n=fm.current;fm.current=Fh;try{return vh(e,t)}finally{fm.current=n}},useReducer:function(e,t,n){Sm="useReducer",Om();var r=fm.current;fm.current=Fh;try{return Am(e,t,n)}finally{fm.current=r}},useRef:function(e){return Sm="useRef",Om(),Zm(e)},useState:function(e){Sm="useState",Om();var t=fm.current;fm.current=Fh;try{return Gm(e)}finally{fm.current=t}},useDebugValue:function(e,t){Sm="useDebugValue",Om()},useDeferredValue:function(e){return Sm="useDeferredValue",Om(),gh(e)},useTransition:function(){return Sm="useTransition",Om(),Sh()},useMutableSource:function(e,t,n){Sm="useMutableSource",Om()},useSyncExternalStore:function(e,t,n){return Sm="useSyncExternalStore",Om(),Um(e,t,n)},useId:function(){return Sm="useId",Om(),Oh()},unstable_isNewReconciler:L},zh={readContext:function(e){return sp(e)},useCallback:function(e,t){return Sm="useCallback",_m(),mh(e,t)},useContext:function(e){return Sm="useContext",_m(),sp(e)},useEffect:function(e,t){return Sm="useEffect",_m(),rh(e,t)},useImperativeHandle:function(e,t,n){return Sm="useImperativeHandle",_m(),ch(e,t,n)},useInsertionEffect:function(e,t){return Sm="useInsertionEffect",_m(),ah(e,t)},useLayoutEffect:function(e,t){return Sm="useLayoutEffect",_m(),lh(e,t)},useMemo:function(e,t){Sm="useMemo",_m();var n=fm.current;fm.current=Fh;try{return vh(e,t)}finally{fm.current=n}},useReducer:function(e,t,n){Sm="useReducer",_m();var r=fm.current;fm.current=Fh;try{return Am(e,t,n)}finally{fm.current=r}},useRef:function(e){return Sm="useRef",_m(),Zm(e)},useState:function(e){Sm="useState",_m();var t=fm.current;fm.current=Fh;try{return Gm(e)}finally{fm.current=t}},useDebugValue:function(e,t){Sm="useDebugValue",_m()},useDeferredValue:function(e){return Sm="useDeferredValue",_m(),gh(e)},useTransition:function(){return Sm="useTransition",_m(),Sh()},useMutableSource:function(e,t,n){Sm="useMutableSource",_m()},useSyncExternalStore:function(e,t,n){return Sm="useSyncExternalStore",_m(),Um(e,t,n)},useId:function(){return Sm="useId",_m(),Oh()},unstable_isNewReconciler:L},$h={readContext:function(e){return sp(e)},useCallback:function(e,t){return Sm="useCallback",_m(),hh(e,t)},useContext:function(e){return Sm="useContext",_m(),sp(e)},useEffect:function(e,t){return Sm="useEffect",_m(),oh(e,t)},useImperativeHandle:function(e,t,n){return Sm="useImperativeHandle",_m(),dh(e,t,n)},useInsertionEffect:function(e,t){return Sm="useInsertionEffect",_m(),ih(e,t)},useLayoutEffect:function(e,t){return Sm="useLayoutEffect",_m(),sh(e,t)},useMemo:function(e,t){Sm="useMemo",_m();var n=fm.current;fm.current=Vh;try{return yh(e,t)}finally{fm.current=n}},useReducer:function(e,t,n){Sm="useReducer",_m();var r=fm.current;fm.current=Vh;try{return Fm(e)}finally{fm.current=r}},useRef:function(e){return Sm="useRef",_m(),eh()},useState:function(e){Sm="useState",_m();var t=fm.current;fm.current=Vh;try{return Qm()}finally{fm.current=t}},useDebugValue:function(e,t){return Sm="useDebugValue",_m(),ph()},useDeferredValue:function(e){return Sm="useDeferredValue",_m(),bh(e)},useTransition:function(){return Sm="useTransition",_m(),Eh()},useMutableSource:function(e,t,n){Sm="useMutableSource",_m()},useSyncExternalStore:function(e,t,n){return Sm="useSyncExternalStore",_m(),Bm(e,t)},useId:function(){return Sm="useId",_m(),_h()},unstable_isNewReconciler:L},Ah={readContext:function(e){return sp(e)},useCallback:function(e,t){return Sm="useCallback",_m(),hh(e,t)},useContext:function(e){return Sm="useContext",_m(),sp(e)},useEffect:function(e,t){return Sm="useEffect",_m(),oh(e,t)},useImperativeHandle:function(e,t,n){return Sm="useImperativeHandle",_m(),dh(e,t,n)},useInsertionEffect:function(e,t){return Sm="useInsertionEffect",_m(),ih(e,t)},useLayoutEffect:function(e,t){return Sm="useLayoutEffect",_m(),sh(e,t)},useMemo:function(e,t){Sm="useMemo",_m();var n=fm.current;fm.current=Uh;try{return yh(e,t)}finally{fm.current=n}},useReducer:function(e,t,n){Sm="useReducer",_m();var r=fm.current;fm.current=Uh;try{return Vm(e)}finally{fm.current=r}},useRef:function(e){return Sm="useRef",_m(),eh()},useState:function(e){Sm="useState",_m();var t=fm.current;fm.current=Uh;try{return Xm()}finally{fm.current=t}},useDebugValue:function(e,t){return Sm="useDebugValue",_m(),ph()},useDeferredValue:function(e){return Sm="useDeferredValue",_m(),wh(e)},useTransition:function(){return Sm="useTransition",_m(),Ch()},useMutableSource:function(e,t,n){Sm="useMutableSource",_m()},useSyncExternalStore:function(e,t,n){return Sm="useSyncExternalStore",_m(),Bm(e,t)},useId:function(){return Sm="useId",_m(),_h()},unstable_isNewReconciler:L},Fh={readContext:function(e){return Bh(),sp(e)},useCallback:function(e,t){return Sm="useCallback",Wh(),Om(),mh(e,t)},useContext:function(e){return Sm="useContext",Wh(),Om(),sp(e)},useEffect:function(e,t){return Sm="useEffect",Wh(),Om(),rh(e,t)},useImperativeHandle:function(e,t,n){return Sm="useImperativeHandle",Wh(),Om(),ch(e,t,n)},useInsertionEffect:function(e,t){return Sm="useInsertionEffect",Wh(),Om(),ah(e,t)},useLayoutEffect:function(e,t){return Sm="useLayoutEffect",Wh(),Om(),lh(e,t)},useMemo:function(e,t){Sm="useMemo",Wh(),Om();var n=fm.current;fm.current=Fh;try{return vh(e,t)}finally{fm.current=n}},useReducer:function(e,t,n){Sm="useReducer",Wh(),Om();var r=fm.current;fm.current=Fh;try{return Am(e,t,n)}finally{fm.current=r}},useRef:function(e){return Sm="useRef",Wh(),Om(),Zm(e)},useState:function(e){Sm="useState",Wh(),Om();var t=fm.current;fm.current=Fh;try{return Gm(e)}finally{fm.current=t}},useDebugValue:function(e,t){Sm="useDebugValue",Wh(),Om()},useDeferredValue:function(e){return Sm="useDeferredValue",Wh(),Om(),gh(e)},useTransition:function(){return Sm="useTransition",Wh(),Om(),Sh()},useMutableSource:function(e,t,n){Sm="useMutableSource",Wh(),Om()},useSyncExternalStore:function(e,t,n){return Sm="useSyncExternalStore",Wh(),Om(),Um(e,t,n)},useId:function(){return Sm="useId",Wh(),Om(),Oh()},unstable_isNewReconciler:L},Vh={readContext:function(e){return Bh(),sp(e)},useCallback:function(e,t){return Sm="useCallback",Wh(),_m(),hh(e,t)},useContext:function(e){return Sm="useContext",Wh(),_m(),sp(e)},useEffect:function(e,t){return Sm="useEffect",Wh(),_m(),oh(e,t)},useImperativeHandle:function(e,t,n){return Sm="useImperativeHandle",Wh(),_m(),dh(e,t,n)},useInsertionEffect:function(e,t){return Sm="useInsertionEffect",Wh(),_m(),ih(e,t)},useLayoutEffect:function(e,t){return Sm="useLayoutEffect",Wh(),_m(),sh(e,t)},useMemo:function(e,t){Sm="useMemo",Wh(),_m();var n=fm.current;fm.current=Vh;try{return yh(e,t)}finally{fm.current=n}},useReducer:function(e,t,n){Sm="useReducer",Wh(),_m();var r=fm.current;fm.current=Vh;try{return Fm(e)}finally{fm.current=r}},useRef:function(e){return Sm="useRef",Wh(),_m(),eh()},useState:function(e){Sm="useState",Wh(),_m();var t=fm.current;fm.current=Vh;try{return Qm()}finally{fm.current=t}},useDebugValue:function(e,t){return Sm="useDebugValue",Wh(),_m(),ph()},useDeferredValue:function(e){return Sm="useDeferredValue",Wh(),_m(),bh(e)},useTransition:function(){return Sm="useTransition",Wh(),_m(),Eh()},useMutableSource:function(e,t,n){Sm="useMutableSource",Wh(),_m()},useSyncExternalStore:function(e,t,n){return Sm="useSyncExternalStore",Wh(),_m(),Bm(e,t)},useId:function(){return Sm="useId",Wh(),_m(),_h()},unstable_isNewReconciler:L},Uh={readContext:function(e){return Bh(),sp(e)},useCallback:function(e,t){return Sm="useCallback",Wh(),_m(),hh(e,t)},useContext:function(e){return Sm="useContext",Wh(),_m(),sp(e)},useEffect:function(e,t){return Sm="useEffect",Wh(),_m(),oh(e,t)},useImperativeHandle:function(e,t,n){return Sm="useImperativeHandle",Wh(),_m(),dh(e,t,n)},useInsertionEffect:function(e,t){return Sm="useInsertionEffect",Wh(),_m(),ih(e,t)},useLayoutEffect:function(e,t){return Sm="useLayoutEffect",Wh(),_m(),sh(e,t)},useMemo:function(e,t){Sm="useMemo",Wh(),_m();var n=fm.current;fm.current=Vh;try{return yh(e,t)}finally{fm.current=n}},useReducer:function(e,t,n){Sm="useReducer",Wh(),_m();var r=fm.current;fm.current=Vh;try{return Vm(e)}finally{fm.current=r}},useRef:function(e){return Sm="useRef",Wh(),_m(),eh()},useState:function(e){Sm="useState",Wh(),_m();var t=fm.current;fm.current=Vh;try{return Xm()}finally{fm.current=t}},useDebugValue:function(e,t){return Sm="useDebugValue",Wh(),_m(),ph()},useDeferredValue:function(e){return Sm="useDeferredValue",Wh(),_m(),wh(e)},useTransition:function(){return Sm="useTransition",Wh(),_m(),Ch()},useMutableSource:function(e,t,n){Sm="useMutableSource",Wh(),_m()},useSyncExternalStore:function(e,t,n){return Sm="useSyncExternalStore",Wh(),_m(),Bm(e,t)},useId:function(){return Sm="useId",Wh(),_m(),_h()},unstable_isNewReconciler:L};var Hh=t.unstable_now,qh=0,Yh=-1,Kh=-1,Gh=-1,Qh=!1,Xh=!1;function Jh(){return Qh}function Zh(){return qh}function ev(){qh=Hh()}function tv(e){Kh=Hh(),e.actualStartTime<0&&(e.actualStartTime=Hh())}function nv(e){Kh=-1}function rv(e,t){if(Kh>=0){var n=Hh()-Kh;e.actualDuration+=n,t&&(e.selfBaseDuration=n),Kh=-1}}function ov(e){if(Yh>=0){var t=Hh()-Yh;Yh=-1;for(var n=e.return;null!==n;){switch(n.tag){case c:case w:return void(n.stateNode.effectDuration+=t)}n=n.return}}}function av(e){if(Gh>=0){var t=Hh()-Gh;Gh=-1;for(var n=e.return;null!==n;){switch(n.tag){case c:var r=n.stateNode;return void(null!==r&&(r.passiveEffectDuration+=t));case w:var o=n.stateNode;return void(null!==o&&(o.passiveEffectDuration+=t))}n=n.return}}}function iv(){Yh=Hh()}function lv(){Gh=Hh()}function sv(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function uv(e,t){if(e&&e.defaultProps){var n=Je({},t),r=e.defaultProps;for(var o in r)void 0===n[o]&&(n[o]=r[o]);return n}return t}var cv,dv,fv,pv,mv,hv,vv,yv,gv,bv,wv,xv={};cv=new Set,dv=new Set,fv=new Set,pv=new Set,yv=new Set,mv=new Set,gv=new Set,bv=new Set,wv=new Set;var kv=new Set;function Sv(e,t,n,r){var o=e.memoizedState,a=n(r,o);if(e.mode&sa){Ho(!0);try{a=n(r,o)}finally{Ho(!1)}}hv(t,a);var i=null==a?o:Je({},o,a);e.memoizedState=i,e.lanes===ma&&(e.updateQueue.baseState=i)}vv=function(e,t){if(null!==e&&"function"!=typeof e){var n=t+"_"+e;kv.has(n)||(kv.add(n),a("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},hv=function(e,t){if(void 0===t){var n=pt(e)||"Component";mv.has(n)||(mv.add(n),a("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",n))}},Object.defineProperty(xv,"_processChildContext",{enumerable:!1,value:function(){throw new Error("_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal).")}}),Object.freeze(xv);var Ev={isMounted:function(e){var t=yo.current;if(null!==t&&t.tag===s){var n=t,r=n.stateNode;r._warnedAboutRefsInRender||a("%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",ht(n)||"A component"),r._warnedAboutRefsInRender=!0}var o=$r(e);return!!o&&go(o)===o},enqueueSetState:function(e,t,n){var r=$r(e),o=Qb(),a=Xb(r),i=Ep(o,a);i.payload=t,null!=n&&(vv(n,"setState"),i.callback=n);var l=Cp(r,i,a);null!==l&&(Zb(l,r,a,o),Tp(l,r,a)),oa(r,a)},enqueueReplaceState:function(e,t,n){var r=$r(e),o=Qb(),a=Xb(r),i=Ep(o,a);i.tag=gp,i.payload=t,null!=n&&(vv(n,"replaceState"),i.callback=n);var l=Cp(r,i,a);null!==l&&(Zb(l,r,a,o),Tp(l,r,a)),oa(r,a)},enqueueForceUpdate:function(e,t){var n=$r(e),r=Qb(),o=Xb(n),a=Ep(r,o);a.tag=bp,null!=t&&(vv(t,"forceUpdate"),a.callback=t);var i=Cp(n,a,o);null!==i&&(Zb(i,n,o,r),Tp(i,n,o)),function(e,t){null!==Uo&&"function"==typeof Uo.markForceUpdateScheduled&&Uo.markForceUpdateScheduled(e,t)}(n,o)}};function Cv(e,t,n,r,o,i,l){var s=e.stateNode;if("function"==typeof s.shouldComponentUpdate){var u=s.shouldComponentUpdate(r,i,l);if(e.mode&sa){Ho(!0);try{u=s.shouldComponentUpdate(r,i,l)}finally{Ho(!1)}}return void 0===u&&a("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",pt(t)||"Component"),u}return!(t.prototype&&t.prototype.isPureReactComponent&&Os(n,r)&&Os(o,i))}function Tv(e,t){var n;t.updater=Ev,e.stateNode=t,n=e,t._reactInternals=n,t._reactInternalInstance=xv}function Ov(e,t,n){var r=!1,o=ld,i=ld,l=t.contextType;if("contextType"in t&&null!==l&&(void 0===l||l.$$typeof!==je||void 0!==l._context)&&!bv.has(t)){bv.add(t);var s="";s=void 0===l?" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":"object"!=typeof l?" However, it is set to a "+typeof l+".":l.$$typeof===Ie?" Did you accidentally pass the Context.Provider instead?":void 0!==l._context?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(l).join(", ")+"}.",a("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",pt(t)||"Component",s)}"object"==typeof l&&null!==l?i=sp(l):(o=dd(0,t,!0),i=(r=null!=t.contextTypes)?pd(e,o):ld);var u=new t(n,i);if(e.mode&sa){Ho(!0);try{u=new t(n,i)}finally{Ho(!1)}}var c=e.memoizedState=null!==u.state&&void 0!==u.state?u.state:null;if(Tv(e,u),"function"==typeof t.getDerivedStateFromProps&&null===c){var d=pt(t)||"Component";dv.has(d)||(dv.add(d),a("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",d,null===u.state?"null":"undefined",d))}if("function"==typeof t.getDerivedStateFromProps||"function"==typeof u.getSnapshotBeforeUpdate){var f=null,p=null,m=null;if("function"==typeof u.componentWillMount&&!0!==u.componentWillMount.__suppressDeprecationWarning?f="componentWillMount":"function"==typeof u.UNSAFE_componentWillMount&&(f="UNSAFE_componentWillMount"),"function"==typeof u.componentWillReceiveProps&&!0!==u.componentWillReceiveProps.__suppressDeprecationWarning?p="componentWillReceiveProps":"function"==typeof u.UNSAFE_componentWillReceiveProps&&(p="UNSAFE_componentWillReceiveProps"),"function"==typeof u.componentWillUpdate&&!0!==u.componentWillUpdate.__suppressDeprecationWarning?m="componentWillUpdate":"function"==typeof u.UNSAFE_componentWillUpdate&&(m="UNSAFE_componentWillUpdate"),null!==f||null!==p||null!==m){var h=pt(t)||"Component",v="function"==typeof t.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";pv.has(h)||(pv.add(h),a("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n%s uses %s but also contains the following legacy lifecycles:%s%s%s\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://reactjs.org/link/unsafe-component-lifecycles",h,v,null!==f?"\n "+f:"",null!==p?"\n "+p:"",null!==m?"\n "+m:""))}}return r&&fd(e,o,i),u}function _v(e,t,n,r){var o=t.state;if("function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==o){var i=ht(e)||"Component";cv.has(i)||(cv.add(i),a("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",i)),Ev.enqueueReplaceState(t,t.state,null)}}function Nv(e,t,n,r){!function(e,t,n){var r=e.stateNode,o=pt(t)||"Component";r.render||(t.prototype&&"function"==typeof t.prototype.render?a("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",o):a("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",o)),!r.getInitialState||r.getInitialState.isReactClassApproved||r.state||a("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",o),r.getDefaultProps&&!r.getDefaultProps.isReactClassApproved&&a("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",o),r.propTypes&&a("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",o),r.contextType&&a("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",o),t.childContextTypes&&!wv.has(t)&&(e.mode&sa)===aa&&(wv.add(t),a("%s uses the legacy childContextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() instead\n\n.Learn more about this warning here: https://reactjs.org/link/legacy-context",o)),t.contextTypes&&!wv.has(t)&&(e.mode&sa)===aa&&(wv.add(t),a("%s uses the legacy contextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() with static contextType instead.\n\nLearn more about this warning here: https://reactjs.org/link/legacy-context",o)),r.contextTypes&&a("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",o),t.contextType&&t.contextTypes&&!gv.has(t)&&(gv.add(t),a("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",o)),"function"==typeof r.componentShouldUpdate&&a("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",o),t.prototype&&t.prototype.isPureReactComponent&&void 0!==r.shouldComponentUpdate&&a("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",pt(t)||"A pure component"),"function"==typeof r.componentDidUnmount&&a("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",o),"function"==typeof r.componentDidReceiveProps&&a("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",o),"function"==typeof r.componentWillRecieveProps&&a("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",o),"function"==typeof r.UNSAFE_componentWillRecieveProps&&a("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",o);var i=r.props!==n;void 0!==r.props&&i&&a("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",o,o),r.defaultProps&&a("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",o,o),"function"!=typeof r.getSnapshotBeforeUpdate||"function"==typeof r.componentDidUpdate||fv.has(t)||(fv.add(t),a("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",pt(t))),"function"==typeof r.getDerivedStateFromProps&&a("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",o),"function"==typeof r.getDerivedStateFromError&&a("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",o),"function"==typeof t.getSnapshotBeforeUpdate&&a("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",o);var l=r.state;l&&("object"!=typeof l||Xt(l))&&a("%s.state: must be set to an object or null",o),"function"==typeof r.getChildContext&&"object"!=typeof t.childContextTypes&&a("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",o)}(e,t,n);var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},kp(e);var i=t.contextType;if("object"==typeof i&&null!==i)o.context=sp(i);else{var l=dd(0,t,!0);o.context=pd(e,l)}if(o.state===n){var s=pt(t)||"Component";yv.has(s)||(yv.add(s),a("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",s))}e.mode&sa&&Sf.recordLegacyContextWarning(e,o),Sf.recordUnsafeLifecycleWarnings(e,o),o.state=e.memoizedState;var u=t.getDerivedStateFromProps;if("function"==typeof u&&(Sv(e,t,u,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(function(e,t){var n=t.state;"function"==typeof t.componentWillMount&&t.componentWillMount(),"function"==typeof t.UNSAFE_componentWillMount&&t.UNSAFE_componentWillMount(),n!==t.state&&(a("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",ht(e)||"Component"),Ev.enqueueReplaceState(t,t.state,null))}(e,o),Np(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount){var c=Ur;c|=lo,(e.mode&ua)!==aa&&(c|=uo),e.flags|=c}}function Rv(e,t){return{value:e,source:t,stack:dt(t),digest:null}}function Mv(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function Pv(e,t){try{var n=t.value,r=t.source,o=t.stack,a=null!==o?o:"";if(null!=n&&n._suppressLogging){if(e.tag===s)return;console.error(n)}var i=r?ht(r):null,l=(i?"The above error occurred in the <"+i+"> component:":"The above error occurred in one of your React components:")+"\n"+a+"\n\n"+(e.tag===c?"Consider adding an error boundary to your tree to customize error handling behavior.\nVisit https://reactjs.org/link/error-boundaries to learn more about error boundaries.":"React will try to recreate this component tree from scratch using the error boundary you provided, "+(ht(e)||"Anonymous")+".");console.error(l)}catch(e){setTimeout((function(){throw e}))}}var Dv="function"==typeof WeakMap?WeakMap:Map;function Iv(e,t,n){var r=Ep(Ja,n);r.tag=wp,r.payload={element:null};var o=t.value;return r.callback=function(){Cw(o),Pv(e,t)},r}function jv(e,t,n){var r=Ep(Ja,n);r.tag=wp;var o=e.type.getDerivedStateFromError;if("function"==typeof o){var i=t.value;r.payload=function(){return o(i)},r.callback=function(){Jw(e),Pv(e,t)}}var l=e.stateNode;return null!==l&&"function"==typeof l.componentDidCatch&&(r.callback=function(){var n;Jw(e),Pv(e,t),"function"!=typeof o&&(n=this,null===Pb?Pb=new Set([n]):Pb.add(n));var r=t.value,i=t.stack;this.componentDidCatch(r,{componentStack:null!==i?i:""}),"function"!=typeof o&&(mi(e.lanes,va)||a("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",ht(e)||"Unknown"))}),r}function Lv(e,t,n){var r,o=e.pingCache;if(null===o?(o=e.pingCache=new Dv,r=new Set,o.set(t,r)):void 0===(r=o.get(t))&&(r=new Set,o.set(t,r)),!r.has(n)){r.add(n);var a=_w.bind(null,e,t,n);Wo&&Aw(e,n),t.then(a,a)}}function zv(e){var t=e;do{if(t.tag===x&&em(t))return t;t=t.return}while(null!==t);return null}function $v(e,t,n,r,o){if((e.mode&ia)===aa){if(e===t)e.flags|=ro;else{if(e.flags|=qr,n.flags|=oo,n.flags&=~(eo|no),n.tag===s)if(null===n.alternate)n.tag=C;else{var a=Ep(Ja,va);a.tag=bp,Cp(n,a,va)}n.lanes=vi(n.lanes,va)}return e}return e.flags|=ro,e.lanes=o,e}function Av(e,t,n,r,o){if(n.flags|=no,Wo&&Aw(e,o),null!==r&&"object"==typeof r&&"function"==typeof r.then){var a=r;!function(e){var t=e.tag;if((e.mode&ia)===aa&&(t===l||t===b||t===S)){var n=e.alternate;n?(e.updateQueue=n.updateQueue,e.memoizedState=n.memoizedState,e.lanes=n.lanes):(e.updateQueue=null,e.memoizedState=null)}}(n),bf()&&n.mode&ia&&Zd();var i=zv(t);if(null!==i)return i.flags&=~Yr,$v(i,t,n,0,o),i.mode&ia&&Lv(e,a,o),void function(e,t,n){var r=e.updateQueue;if(null===r){var o=new Set;o.add(n),e.updateQueue=o}else r.add(n)}(i,0,a);if((o&va)===ma)return Lv(e,a,o),void vw();r=new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.")}else if(bf()&&n.mode&ia){Zd();var u=zv(t);if(null!==u)return(u.flags&ro)===Ar&&(u.flags|=Yr),$v(u,t,n,0,o),void wf(Rv(r,n))}!function(e){vb!==lb&&(vb=ab),null===xb?xb=[e]:xb.push(e)}(r=Rv(r,n));var d=t;do{switch(d.tag){case c:var f=r;d.flags|=ro;var p=di(o);return d.lanes=vi(d.lanes,p),void Op(d,Iv(d,f,p));case s:var m=r,h=d.type,v=d.stateNode;if((d.flags&qr)===Ar&&("function"==typeof h.getDerivedStateFromError||null!==v&&"function"==typeof v.componentDidCatch&&!Ew(v))){d.flags|=ro;var y=di(o);return d.lanes=vi(d.lanes,y),void Op(d,jv(d,m,y))}}d=d.return}while(null!==d)}var Fv,Vv,Uv,Bv,Wv,Hv,qv,Yv,Kv,Gv=n.ReactCurrentOwner,Qv=!1;function Xv(e,t,n,r){t.child=null===e?qf(t,null,n,r):Hf(t,e.child,n,r)}function Jv(e,t,n,r,o){if(t.type!==t.elementType){var a=n.propTypes;a&&Zc(a,r,"prop",pt(n))}var i,l,s=n.render,u=t.ref;if(lp(t,o),Go(t),Gv.current=t,St(!0),i=Pm(e,t,s,r,u,o),l=Dm(),t.mode&sa){Ho(!0);try{i=Pm(e,t,s,r,u,o),l=Dm()}finally{Ho(!1)}}return St(!1),Qo(),null===e||Qv?(bf()&&l&&Bd(t),t.flags|=Fr,Xv(e,t,i,o),t.child):(Im(e,t,o),Ny(e,t,o))}function Zv(e,t,n,r,o){if(null===e){var i,l=n.type;if(function(e){return"function"==typeof e&&!sx(e)&&void 0===e.defaultProps}(l)&&null===n.compare&&void 0===n.defaultProps)return i=Kw(l),t.tag=S,t.type=i,uy(t,l),ey(e,t,i,r,o);var s=l.propTypes;if(s&&Zc(s,r,"prop",pt(l)),void 0!==n.defaultProps){var u=pt(l)||"Unknown";Kv[u]||(a("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",u),Kv[u]=!0)}var c=dx(n.type,null,r,t,t.mode,o);return c.ref=t.ref,c.return=t,t.child=c,c}var d=n.type,f=d.propTypes;f&&Zc(f,r,"prop",pt(d));var p=e.child;if(!Ry(e,o)){var m=p.memoizedProps,h=n.compare;if((h=null!==h?h:Os)(m,r)&&e.ref===t.ref)return Ny(e,t,o)}t.flags|=Fr;var v=ux(p,r);return v.ref=t.ref,v.return=t,t.child=v,v}function ey(e,t,n,r,o){if(t.type!==t.elementType){var a=t.elementType;if(a.$$typeof===Fe){var i=a,l=i._payload,s=i._init;try{a=s(l)}catch(e){a=null}var u=a&&a.propTypes;u&&Zc(u,r,"prop",pt(a))}}if(null!==e){var c=e.memoizedProps;if(Os(c,r)&&e.ref===t.ref&&t.type===e.type){if(Qv=!1,t.pendingProps=r=c,!Ry(e,o))return t.lanes=e.lanes,Ny(e,t,o);(e.flags&oo)!==Ar&&(Qv=!0)}}return ry(e,t,n,r,o)}function ty(e,t,n){var r,o=t.pendingProps,a=o.children,i=null!==e?e.memoizedState:null;if("hidden"===o.mode||$)if((t.mode&ia)===aa){var l={baseLanes:ma,cachePool:null,transitions:null};t.memoizedState=l,uw(t,n)}else{if(!mi(n,Qa)){var s;s=null!==i?vi(i.baseLanes,n):n,t.lanes=t.childLanes=Qa;var u={baseLanes:s,cachePool:null,transitions:null};return t.memoizedState=u,t.updateQueue=null,uw(t,s),null}var c={baseLanes:ma,cachePool:null,transitions:null};t.memoizedState=c,uw(t,null!==i?i.baseLanes:n)}else null!==i?(r=vi(i.baseLanes,n),t.memoizedState=null):r=n,uw(t,r);return Xv(e,t,a,n),t.child}function ny(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=Kr,t.flags|=io)}function ry(e,t,n,r,o){if(t.type!==t.elementType){var a=n.propTypes;a&&Zc(a,r,"prop",pt(n))}var i,l,s;if(i=pd(t,dd(0,n,!0)),lp(t,o),Go(t),Gv.current=t,St(!0),l=Pm(e,t,n,r,i,o),s=Dm(),t.mode&sa){Ho(!0);try{l=Pm(e,t,n,r,i,o),s=Dm()}finally{Ho(!1)}}return St(!1),Qo(),null===e||Qv?(bf()&&s&&Bd(t),t.flags|=Fr,Xv(e,t,l,o),t.child):(Im(e,t,o),Ny(e,t,o))}function oy(e,t,n,r,o){switch(Vx(t)){case!1:var i=t.stateNode,l=new(0,t.type)(t.memoizedProps,i.context).state;i.updater.enqueueSetState(i,l,null);break;case!0:t.flags|=qr,t.flags|=ro;var s=new Error("Simulated error coming from DevTools"),u=di(o);t.lanes=vi(t.lanes,u),Op(t,jv(t,Rv(s,t),u))}if(t.type!==t.elementType){var c=n.propTypes;c&&Zc(c,r,"prop",pt(n))}var d,f;hd(n)?(d=!0,wd(t)):d=!1,lp(t,o),null===t.stateNode?(_y(e,t),Ov(t,n,r),Nv(t,n,r,o),f=!0):f=null===e?function(e,t,n,r){var o=e.stateNode,a=e.memoizedProps;o.props=a;var i=o.context,l=t.contextType,s=ld;s="object"==typeof l&&null!==l?sp(l):pd(e,dd(0,t,!0));var u=t.getDerivedStateFromProps,c="function"==typeof u||"function"==typeof o.getSnapshotBeforeUpdate;c||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||a===n&&i===s||_v(e,o,n,s),Mp();var d=e.memoizedState,f=o.state=d;if(Np(e,n,o,r),f=e.memoizedState,a===n&&d===f&&!md()&&!Pp()){if("function"==typeof o.componentDidMount){var p=Ur;p|=lo,(e.mode&ua)!==aa&&(p|=uo),e.flags|=p}return!1}"function"==typeof u&&(Sv(e,t,u,n),f=e.memoizedState);var m=Pp()||Cv(e,t,a,n,d,f,s);if(m){if(c||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||("function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount()),"function"==typeof o.componentDidMount){var h=Ur;h|=lo,(e.mode&ua)!==aa&&(h|=uo),e.flags|=h}}else{if("function"==typeof o.componentDidMount){var v=Ur;v|=lo,(e.mode&ua)!==aa&&(v|=uo),e.flags|=v}e.memoizedProps=n,e.memoizedState=f}return o.props=n,o.state=f,o.context=s,m}(t,n,r,o):function(e,t,n,r,o){var a=t.stateNode;Sp(e,t);var i=t.memoizedProps,l=t.type===t.elementType?i:uv(t.type,i);a.props=l;var s=t.pendingProps,u=a.context,c=n.contextType,d=ld;d="object"==typeof c&&null!==c?sp(c):pd(t,dd(0,n,!0));var f=n.getDerivedStateFromProps,p="function"==typeof f||"function"==typeof a.getSnapshotBeforeUpdate;p||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||i===s&&u===d||_v(t,a,r,d),Mp();var m=t.memoizedState,h=a.state=m;if(Np(t,r,a,o),h=t.memoizedState,i===s&&m===h&&!md()&&!Pp()&&!z)return"function"==typeof a.componentDidUpdate&&(i===e.memoizedProps&&m===e.memoizedState||(t.flags|=Ur)),"function"==typeof a.getSnapshotBeforeUpdate&&(i===e.memoizedProps&&m===e.memoizedState||(t.flags|=Gr)),!1;"function"==typeof f&&(Sv(t,n,f,r),h=t.memoizedState);var v=Pp()||Cv(t,n,l,r,m,h,d)||z;return v?(p||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,d),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,d)),"function"==typeof a.componentDidUpdate&&(t.flags|=Ur),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=Gr)):("function"==typeof a.componentDidUpdate&&(i===e.memoizedProps&&m===e.memoizedState||(t.flags|=Ur)),"function"==typeof a.getSnapshotBeforeUpdate&&(i===e.memoizedProps&&m===e.memoizedState||(t.flags|=Gr)),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=d,v}(e,t,n,r,o);var p=ay(e,t,n,f,d,o),m=t.stateNode;return f&&m.props!==r&&(Hv||a("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",ht(t)||"a component"),Hv=!0),p}function ay(e,t,n,r,o,a){ny(e,t);var i=(t.flags&qr)!==Ar;if(!r&&!i)return o&&xd(t,n,!1),Ny(e,t,a);var l,s=t.stateNode;if(Gv.current=t,i&&"function"!=typeof n.getDerivedStateFromError)l=null,nv();else{if(Go(t),St(!0),l=s.render(),t.mode&sa){Ho(!0);try{s.render()}finally{Ho(!1)}}St(!1),Qo()}return t.flags|=Fr,null!==e&&i?function(e,t,n,r){t.child=Hf(t,e.child,null,r),t.child=Hf(t,null,n,r)}(e,t,l,a):Xv(e,t,l,a),t.memoizedState=s.state,o&&xd(t,n,!0),t.child}function iy(e){var t=e.stateNode;t.pendingContext?gd(e,t.pendingContext,t.pendingContext!==t.context):t.context&&gd(e,t.context,!1),Fp(e,t.containerInfo)}function ly(e,t,n,r,o){return yf(),wf(o),t.flags|=Yr,Xv(e,t,n,r),t.child}function sy(e,t,n,r){_y(e,t);var o=t.pendingProps,a=n,i=a._payload,c=(0,a._init)(i);t.type=c;var d=t.tag=function(e){if("function"==typeof e)return sx(e)?s:l;if(null!=e){var t=e.$$typeof;if(t===Le)return b;if(t===Ae)return k}return u}(c),f=uv(c,o);switch(d){case l:return uy(t,c),t.type=c=Kw(c),ry(null,t,c,f,r);case s:return t.type=c=Gw(c),oy(null,t,c,f,r);case b:return t.type=c=Qw(c),Jv(null,t,c,f,r);case k:if(t.type!==t.elementType){var p=c.propTypes;p&&Zc(p,f,"prop",pt(c))}return Zv(null,t,c,uv(c.type,f),r)}var m="";throw null!==c&&"object"==typeof c&&c.$$typeof===Fe&&(m=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+c+". Lazy element type must resolve to a class or function."+m)}function uy(e,t){if(t&&t.childContextTypes&&a("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),null!==e.ref){var n="",r=bt();r&&(n+="\n\nCheck the render method of `"+r+"`.");var o=r||"",i=e._debugSource;i&&(o=i.fileName+":"+i.lineNumber),Wv[o]||(Wv[o]=!0,a("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",n))}if(void 0!==t.defaultProps){var l=pt(t)||"Unknown";Kv[l]||(a("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",l),Kv[l]=!0)}if("function"==typeof t.getDerivedStateFromProps){var s=pt(t)||"Unknown";Bv[s]||(a("%s: Function components do not support getDerivedStateFromProps.",s),Bv[s]=!0)}if("object"==typeof t.contextType&&null!==t.contextType){var u=pt(t)||"Unknown";Uv[u]||(a("%s: Function components do not support contextType.",u),Uv[u]=!0)}}Fv={},Vv={},Uv={},Bv={},Wv={},Hv=!1,qv={},Yv={},Kv={};var cy={dehydrated:null,treeContext:null,retryLane:ha};function dy(e){return{baseLanes:e,cachePool:null,transitions:null}}function fy(e,t,n){var r=t.pendingProps;Ux(t)&&(t.flags|=qr);var o=Kp.current,i=!1,l=(t.flags&qr)!==Ar;if(l||function(e,t){return(null===t||null!==t.memoizedState)&&Gp(e,Yp)}(o,e)?(i=!0,t.flags&=~qr):null!==e&&null===e.memoizedState||(o|=qp),Jp(t,o=Qp(o)),null===e){cf(t);var s=t.memoizedState;if(null!==s){var u=s.dehydrated;if(null!==u)return function(e,t){return(e.mode&ia)===aa?(a("Cannot hydrate Suspense in legacy mode. Switch from ReactDOM.hydrate(element, container) to ReactDOMClient.hydrateRoot(container, <App />).render(element) or remove the Suspense components from the server rendered components."),e.lanes=va):Nc(t)?e.lanes=ba:e.lanes=Qa,null}(t,u)}var c=r.children,d=r.fallback;if(i){var f=function(e,t,n,r){var o,a,i=e.mode,l=e.child,s={mode:"hidden",children:t};return(i&ia)===aa&&null!==l?((o=l).childLanes=ma,o.pendingProps=s,e.mode&la&&(o.actualDuration=0,o.actualStartTime=-1,o.selfBaseDuration=0,o.treeBaseDuration=0),a=px(n,i,r,null)):(o=my(s,i),a=px(n,i,r,null)),o.return=e,a.return=e,o.sibling=a,e.child=o,a}(t,c,d,n);return t.child.memoizedState=dy(n),t.memoizedState=cy,f}return py(t,c)}var p=e.memoizedState;if(null!==p){var m=p.dehydrated;if(null!==m)return function(e,t,n,r,o,a,i){if(n){if(t.flags&Yr)return t.flags&=~Yr,vy(e,t,i,Mv(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering.")));if(null!==t.memoizedState)return t.child=e.child,t.flags|=qr,null;var l=function(e,t,n,r,o){var a=t.mode,i=my({mode:"visible",children:n},a),l=px(r,a,o,null);return l.flags|=Vr,i.return=t,l.return=t,i.sibling=l,t.child=i,(t.mode&ia)!==aa&&Hf(t,e.child,null,o),l}(e,t,r.children,r.fallback,i);return t.child.memoizedState=dy(i),t.memoizedState=cy,l}if(Jd(),(t.mode&ia)===aa)return vy(e,t,i,null);if(Nc(o)){var s,u,c,d=function(e){var t,n,r,o=e.nextSibling&&e.nextSibling.dataset;return o&&(t=o.dgst,n=o.msg,r=o.stck),{message:n,digest:t,stack:r}}(o);return s=d.digest,u=d.message,c=d.stack,vy(e,t,i,Mv(u?new Error(u):new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),s,c))}var f=mi(i,e.childLanes);if(Qv||f){var p=Gb();if(null!==p){var m=function(e,t){var n;switch(ci(t)){case ga:n=ya;break;case wa:n=ba;break;case Sa:case Ea:case Ca:case Ta:case Oa:case _a:case Na:case Ra:case Ma:case Pa:case Da:case Ia:case ja:case La:case za:case $a:case Fa:case Va:case Ua:case Ba:case Wa:n=xa;break;case Ga:n=Ka;break;default:n=ha}return(n&(e.suspendedLanes|t))!==ha?ha:n}(p,i);if(m!==ha&&m!==a.retryLane){a.retryLane=m;var h=Ja;fp(e,m),Zb(p,e,m,h)}}return vw(),vy(e,t,i,Mv(new Error("This Suspense boundary received an update before it finished hydrating. This caused the boundary to switch to client rendering. The usual way to fix this is to wrap the original update in startTransition.")))}if(_c(o))return t.flags|=qr,t.child=e.child,v=Rw.bind(null,e),o._reactRetry=v,null;tf(t,o,a.treeContext);var v,y=py(t,r.children);return y.flags|=Xr,y}(e,t,l,r,m,p,n)}if(i){var h=r.fallback,v=function(e,t,n,r,o){var a,i,l=t.mode,s=e.child,u=s.sibling,c={mode:"hidden",children:n};return(l&ia)===aa&&t.child!==s?((a=t.child).childLanes=ma,a.pendingProps=c,t.mode&la&&(a.actualDuration=0,a.actualStartTime=-1,a.selfBaseDuration=s.selfBaseDuration,a.treeBaseDuration=s.treeBaseDuration),t.deletions=null):(a=hy(s,c)).subtreeFlags=s.subtreeFlags&vo,null!==u?i=ux(u,r):(i=px(r,l,o,null)).flags|=Vr,i.return=t,a.return=t,a.sibling=i,t.child=a,i}(e,t,r.children,h,n),y=t.child,g=e.child.memoizedState;return y.memoizedState=null===g?dy(n):function(e,t){return{baseLanes:vi(e.baseLanes,t),cachePool:null,transitions:e.transitions}}(g,n),y.childLanes=function(e,t){return yi(e.childLanes,t)}(e,n),t.memoizedState=cy,v}var b=function(e,t,n,r){var o=e.child,a=o.sibling,i=hy(o,{mode:"visible",children:n});if((t.mode&ia)===aa&&(i.lanes=r),i.return=t,i.sibling=null,null!==a){var l=t.deletions;null===l?(t.deletions=[a],t.flags|=Br):l.push(a)}return t.child=i,i}(e,t,r.children,n);return t.memoizedState=null,b}function py(e,t,n){var r=my({mode:"visible",children:t},e.mode);return r.return=e,e.child=r,r}function my(e,t,n){return mx(e,t,ma,null)}function hy(e,t){return ux(e,t)}function vy(e,t,n,r){null!==r&&wf(r),Hf(t,e.child,null,n);var o=py(t,t.pendingProps.children);return o.flags|=Vr,t.memoizedState=null,o}function yy(e,t,n){e.lanes=vi(e.lanes,t);var r=e.alternate;null!==r&&(r.lanes=vi(r.lanes,t)),ap(e.return,t,n)}function gy(e,t){var n=Xt(e),r=!n&&"function"==typeof We(e);if(n||r){var o=n?"array":"iterable";return a("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",o,t,o),!1}return!0}function by(e,t,n,r,o){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=o)}function wy(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail,l=r.children;!function(e){if(void 0!==e&&"forwards"!==e&&"backwards"!==e&&"together"!==e&&!qv[e])if(qv[e]=!0,"string"==typeof e)switch(e.toLowerCase()){case"together":case"forwards":case"backwards":a('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break;case"forward":case"backward":a('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',e,e.toLowerCase());break;default:a('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}else a('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}(o),function(e,t){void 0===e||Yv[e]||("collapsed"!==e&&"hidden"!==e?(Yv[e]=!0,a('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):"forwards"!==t&&"backwards"!==t&&(Yv[e]=!0,a('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}(i,o),function(e,t){if(("forwards"===t||"backwards"===t)&&null!=e&&!1!==e)if(Xt(e)){for(var n=0;n<e.length;n++)if(!gy(e[n],n))return}else{var r=We(e);if("function"==typeof r){var o=r.call(e);if(o)for(var i=o.next(),l=0;!i.done;i=o.next()){if(!gy(i.value,l))return;l++}}else a('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',t)}}(l,o),Xv(e,t,l,n);var s=Kp.current;if(Gp(s,Yp)?(s=Xp(s,Yp),t.flags|=qr):(null!==e&&(e.flags&qr)!==Ar&&function(e,t,n){for(var r=t;null!==r;){if(r.tag===x)null!==r.memoizedState&&yy(r,n,e);else if(r.tag===_)yy(r,n,e);else if(null!==r.child){r.child.return=r,r=r.child;continue}if(r===e)return;for(;null===r.sibling;){if(null===r.return||r.return===e)return;r=r.return}r.sibling.return=r.return,r=r.sibling}}(t,t.child,n),s=Qp(s)),Jp(t,s),(t.mode&ia)===aa)t.memoizedState=null;else switch(o){case"forwards":var u,c=function(e){for(var t=e,n=null;null!==t;){var r=t.alternate;null!==r&&null===tm(r)&&(n=t),t=t.sibling}return n}(t.child);null===c?(u=t.child,t.child=null):(u=c.sibling,c.sibling=null),by(t,!1,u,c,i);break;case"backwards":var d=null,f=t.child;for(t.child=null;null!==f;){var p=f.alternate;if(null!==p&&null===tm(p)){t.child=f;break}var m=f.sibling;f.sibling=d,d=f,f=m}by(t,!0,d,null,i);break;case"together":by(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}var xy,ky,Sy,Ey,Cy=!1,Ty=!1;function Oy(){Qv=!0}function _y(e,t){(t.mode&ia)===aa&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=Vr)}function Ny(e,t,n){return null!==e&&(t.dependencies=e.dependencies),nv(),hw(t.lanes),mi(n,t.childLanes)?(function(e,t){if(null!==e&&t.child!==e.child)throw new Error("Resuming work not yet implemented.");if(null!==t.child){var n=t.child,r=ux(n,n.pendingProps);for(t.child=r,r.return=t;null!==n.sibling;)n=n.sibling,(r=r.sibling=ux(n,n.pendingProps)).return=t;r.sibling=null}}(e,t),t.child):null}function Ry(e,t){return!!mi(e.lanes,t)}function My(e,t,n){if(t._debugNeedsRemount&&null!==e)return function(e,t,n){var r=t.return;if(null===r)throw new Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,n.index=t.index,n.sibling=t.sibling,n.return=t.return,n.ref=t.ref,t===r.child)r.child=n;else{var o=r.child;if(null===o)throw new Error("Expected parent to have a child.");for(;o.sibling!==t;)if(null===(o=o.sibling))throw new Error("Expected to find the previous sibling.");o.sibling=n}var a=r.deletions;return null===a?(r.deletions=[e],r.flags|=Br):a.push(e),n.flags|=Vr,n}(e,t,dx(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes));if(null!==e)if(e.memoizedProps!==t.pendingProps||md()||t.type!==e.type)Qv=!0;else{if(!Ry(e,n)&&(t.flags&qr)===Ar)return Qv=!1,function(e,t,n){switch(t.tag){case c:iy(t),t.stateNode,yf();break;case f:Bp(t);break;case s:hd(t.type)&&wd(t);break;case d:Fp(t,t.stateNode.containerInfo);break;case g:var r=t.memoizedProps.value;rp(t,t.type._context,r);break;case w:mi(n,t.childLanes)&&(t.flags|=Ur);var o=t.stateNode;o.effectDuration=0,o.passiveEffectDuration=0;break;case x:var a=t.memoizedState;if(null!==a){if(null!==a.dehydrated)return Jp(t,Qp(Kp.current)),t.flags|=qr,null;if(mi(n,t.child.childLanes))return fy(e,t,n);Jp(t,Qp(Kp.current));var i=Ny(e,t,n);return null!==i?i.sibling:null}Jp(t,Qp(Kp.current));break;case _:var l=(e.flags&qr)!==Ar,u=mi(n,t.childLanes);if(l){if(u)return wy(e,t,n);t.flags|=qr}var p=t.memoizedState;if(null!==p&&(p.rendering=null,p.tail=null,p.lastEffect=null),Jp(t,Kp.current),u)break;return null;case M:case P:return t.lanes=ma,ty(e,t,n)}return Ny(e,t,n)}(e,t,n);Qv=(e.flags&oo)!==Ar}else if(Qv=!1,bf()&&function(e){return qd(),(e.flags&ao)!==Ar}(t)){var r=t.index;Ud(t,(qd(),Id),r)}switch(t.lanes=ma,t.tag){case u:return function(e,t,n,r){_y(e,t);var o,i,u,c=t.pendingProps;if(o=pd(t,dd(0,n,!1)),lp(t,r),Go(t),n.prototype&&"function"==typeof n.prototype.render){var d=pt(n)||"Unknown";Fv[d]||(a("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",d,d),Fv[d]=!0)}if(t.mode&sa&&Sf.recordLegacyContextWarning(t,null),St(!0),Gv.current=t,i=Pm(null,t,n,c,o,r),u=Dm(),St(!1),Qo(),t.flags|=Fr,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof){var f=pt(n)||"Unknown";Vv[f]||(a("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",f,f,f),Vv[f]=!0)}if("object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof){var p=pt(n)||"Unknown";Vv[p]||(a("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",p,p,p),Vv[p]=!0),t.tag=s,t.memoizedState=null,t.updateQueue=null;var m=!1;return hd(n)?(m=!0,wd(t)):m=!1,t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,kp(t),Tv(t,i),Nv(t,n,c,r),ay(null,t,n,!0,m,r)}if(t.tag=l,t.mode&sa){Ho(!0);try{i=Pm(null,t,n,c,o,r),u=Dm()}finally{Ho(!1)}}return bf()&&u&&Bd(t),Xv(null,t,i,r),uy(t,n),t.child}(e,t,t.type,n);case E:return sy(e,t,t.elementType,n);case l:var o=t.type,i=t.pendingProps;return ry(e,t,o,t.elementType===o?i:uv(o,i),n);case s:var h=t.type,T=t.pendingProps;return oy(e,t,h,t.elementType===h?T:uv(h,T),n);case c:return function(e,t,n){if(iy(t),null===e)throw new Error("Should have a current fiber. This is a bug in React.");var r=t.pendingProps,o=t.memoizedState,a=o.element;Sp(e,t),Np(t,r,null,n);var i=t.memoizedState;t.stateNode;var l=i.element;if(o.isDehydrated){var s={element:l,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions};if(t.updateQueue.baseState=s,t.memoizedState=s,t.flags&Yr)return ly(e,t,l,n,Rv(new Error("There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering."),t));if(l!==a)return ly(e,t,l,n,Rv(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t));ef(t);var u=qf(t,null,l,n);t.child=u;for(var c=u;c;)c.flags=c.flags&~Vr|Xr,c=c.sibling}else{if(yf(),l===a)return Ny(e,t,n);Xv(e,t,l,n)}return t.child}(e,t,n);case f:return function(e,t,n){Bp(t),null===e&&cf(t);var r=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,i=o.children;return hc(r,o)?i=null:null!==a&&hc(r,a)&&(t.flags|=Wr),ny(e,t),Xv(e,t,i,n),t.child}(e,t,n);case p:return function(e,t){return null===e&&cf(t),null}(e,t);case x:return fy(e,t,n);case d:return function(e,t,n){Fp(t,t.stateNode.containerInfo);var r=t.pendingProps;return null===e?t.child=Hf(t,null,r,n):Xv(e,t,r,n),t.child}(e,t,n);case b:var O=t.type,N=t.pendingProps;return Jv(e,t,O,t.elementType===O?N:uv(O,N),n);case m:return function(e,t,n){return Xv(e,t,t.pendingProps,n),t.child}(e,t,n);case v:return function(e,t,n){return Xv(e,t,t.pendingProps.children,n),t.child}(e,t,n);case w:return function(e,t,n){t.flags|=Ur;var r=t.stateNode;return r.effectDuration=0,r.passiveEffectDuration=0,Xv(e,t,t.pendingProps.children,n),t.child}(e,t,n);case g:return function(e,t,n){var r=t.type._context,o=t.pendingProps,i=t.memoizedProps,l=o.value;"value"in o||Cy||(Cy=!0,a("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var s=t.type.propTypes;if(s&&Zc(s,o,"prop","Context.Provider"),rp(t,r,l),null!==i){var u=i.value;if(Ts(u,l)){if(i.children===o.children&&!md())return Ny(e,t,n)}else ip(t,r,n)}return Xv(e,t,o.children,n),t.child}(e,t,n);case y:return function(e,t,n){var r=t.type;void 0===r._context?r!==r.Consumer&&(Ty||(Ty=!0,a("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):r=r._context;var o=t.pendingProps.children;"function"!=typeof o&&a("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),lp(t,n);var i,l=sp(r);return Go(t),Gv.current=t,St(!0),i=o(l),St(!1),Qo(),t.flags|=Fr,Xv(e,t,i,n),t.child}(e,t,n);case k:var D=t.type,I=uv(D,t.pendingProps);if(t.type!==t.elementType){var j=D.propTypes;j&&Zc(j,I,"prop",pt(D))}return Zv(e,t,D,I=uv(D.type,I),n);case S:return ey(e,t,t.type,t.pendingProps,n);case C:var L=t.type,z=t.pendingProps;return function(e,t,n,r,o){var a;return _y(e,t),t.tag=s,hd(n)?(a=!0,wd(t)):a=!1,lp(t,o),Ov(t,n,r),Nv(t,n,r,o),ay(null,t,n,!0,a,o)}(e,t,L,t.elementType===L?z:uv(L,z),n);case _:return wy(e,t,n);case R:break;case M:return ty(e,t,n)}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Py(e){e.flags|=Ur}function Dy(e){e.flags|=Kr,e.flags|=io}function Iy(e,t){if(!bf())switch(e.tailMode){case"hidden":for(var n=e.tail,r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?e.tail=null:r.sibling=null;break;case"collapsed":for(var o=e.tail,a=null;null!==o;)null!==o.alternate&&(a=o),o=o.sibling;null===a?t||null===e.tail?e.tail=null:e.tail.sibling=null:a.sibling=null}}function jy(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=ma,r=Ar;if(t){if((e.mode&la)!==aa){for(var o=e.selfBaseDuration,a=e.child;null!==a;)n=vi(n,vi(a.lanes,a.childLanes)),r|=a.subtreeFlags&vo,r|=a.flags&vo,o+=a.treeBaseDuration,a=a.sibling;e.treeBaseDuration=o}else for(var i=e.child;null!==i;)n=vi(n,vi(i.lanes,i.childLanes)),r|=i.subtreeFlags&vo,r|=i.flags&vo,i.return=e,i=i.sibling;e.subtreeFlags|=r}else{if((e.mode&la)!==aa){for(var l=e.actualDuration,s=e.selfBaseDuration,u=e.child;null!==u;)n=vi(n,vi(u.lanes,u.childLanes)),r|=u.subtreeFlags,r|=u.flags,l+=u.actualDuration,s+=u.treeBaseDuration,u=u.sibling;e.actualDuration=l,e.treeBaseDuration=s}else for(var c=e.child;null!==c;)n=vi(n,vi(c.lanes,c.childLanes)),r|=c.subtreeFlags,r|=c.flags,c.return=e,c=c.sibling;e.subtreeFlags|=r}return e.childLanes=n,t}function Ly(e,t,n){if(Gd&&null!==Kd&&(t.mode&ia)!==aa&&(t.flags&qr)===Ar)return vf(t),yf(),t.flags|=Yr|no|ro,!1;var r=hf(t);if(null!==n&&null!==n.dehydrated){if(null===e){if(!r)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(ff(t),jy(t),(t.mode&la)!==aa&&null!==n){var o=t.child;null!==o&&(t.treeBaseDuration-=o.treeBaseDuration)}return!1}if(yf(),(t.flags&qr)===Ar&&(t.memoizedState=null),t.flags|=Ur,jy(t),(t.mode&la)!==aa&&null!==n){var a=t.child;null!==a&&(t.treeBaseDuration-=a.treeBaseDuration)}return!1}return gf(),!0}function zy(e,t,n){var r=t.pendingProps;switch(Hd(t),t.tag){case u:case E:case S:case l:case b:case m:case v:case w:case y:case k:return jy(t),null;case s:return hd(t.type)&&vd(t),jy(t),null;case c:var o=t.stateNode;return Vp(t),yd(t),sm(),o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),(null===e||null===e.child)&&(hf(t)?Py(t):null!==e&&(e.memoizedState.isDehydrated&&(t.flags&Yr)===Ar||(t.flags|=Gr,gf()))),ky(e,t),jy(t),null;case f:Wp(t);var a=Ap(),i=t.type;if(null!==e&&null!=t.stateNode)Sy(e,t,i,r,a),e.ref!==t.ref&&Dy(t);else{if(!r){if(null===t.stateNode)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return jy(t),null}var h=Up();if(hf(t))(function(e,t,n){var r=e.stateNode,o=!Qd,a=Pc(r,e.type,e.memoizedProps,0,n,e,o);return e.updateQueue=a,null!==a})(t,0,h)&&Py(t);else{var T=mc(i,r,a,h,t);xy(T,t,!1,!1),t.stateNode=T,function(e,t,n){switch(Wu(e,t,n),t){case"button":case"input":case"select":case"textarea":return!!n.autoFocus;case"img":return!0;default:return!1}}(T,i,r)&&Py(t)}null!==t.ref&&Dy(t)}return jy(t),null;case p:var O=r;if(e&&null!=t.stateNode){var N=e.memoizedProps;Ey(e,t,N,O)}else{if("string"!=typeof O&&null===t.stateNode)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");var j=Ap(),L=Up();hf(t)?df(t)&&Py(t):t.stateNode=vc(O,j,L,t)}return jy(t),null;case x:Zp(t);var z=t.memoizedState;if((null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated)&&!Ly(e,t,z))return t.flags&ro?t:null;if((t.flags&qr)!==Ar)return t.lanes=n,(t.mode&la)!==aa&&sv(t),t;var F=null!==z;if(F!==(null!==e&&null!==e.memoizedState)&&F&&(t.child.flags|=Jr,(t.mode&ia)!==aa&&(null===e&&(!0!==t.memoizedProps.unstable_avoidThisFallback||!A)||Gp(Kp.current,qp)?vb===rb&&(vb=ib):vw())),null!==t.updateQueue&&(t.flags|=Ur),jy(t),(t.mode&la)!==aa&&F){var V=t.child;null!==V&&(t.treeBaseDuration-=V.treeBaseDuration)}return null;case d:return Vp(t),ky(e,t),null===e&&mu(t.stateNode.containerInfo),jy(t),null;case g:return op(t.type._context,t),jy(t),null;case C:return hd(t.type)&&vd(t),jy(t),null;case _:Zp(t);var U=t.memoizedState;if(null===U)return jy(t),null;var B=(t.flags&qr)!==Ar,W=U.rendering;if(null===W)if(B)Iy(U,!1);else{if(vb!==rb||null!==e&&(e.flags&qr)!==Ar)for(var H=t.child;null!==H;){var q=tm(H);if(null!==q){B=!0,t.flags|=qr,Iy(U,!1);var Y=q.updateQueue;return null!==Y&&(t.updateQueue=Y,t.flags|=Ur),t.subtreeFlags=Ar,Yf(t,n),Jp(t,Xp(Kp.current,Yp)),t.child}H=H.sibling}null!==U.tail&&Mo()>Nb()&&(t.flags|=qr,B=!0,Iy(U,!1),t.lanes=Ha)}else{if(!B){var K=tm(W);if(null!==K){t.flags|=qr,B=!0;var G=K.updateQueue;if(null!==G&&(t.updateQueue=G,t.flags|=Ur),Iy(U,!0),null===U.tail&&"hidden"===U.tailMode&&!W.alternate&&!bf())return jy(t),null}else 2*Mo()-U.renderingStartTime>Nb()&&n!==Qa&&(t.flags|=qr,B=!0,Iy(U,!1),t.lanes=Ha)}if(U.isBackwards)W.sibling=t.child,t.child=W;else{var Q=U.last;null!==Q?Q.sibling=W:t.child=W,U.last=W}}if(null!==U.tail){var X=U.tail;U.rendering=X,U.tail=X.sibling,U.renderingStartTime=Mo(),X.sibling=null;var J=Kp.current;return Jp(t,J=B?Xp(J,Yp):Qp(J)),X}return jy(t),null;case R:break;case M:case P:cw(t);var Z=null!==t.memoizedState;return null!==e&&(null!==e.memoizedState===Z||$||(t.flags|=Jr)),Z&&(t.mode&ia)!==aa?mi(mb,Qa)&&(jy(t),t.subtreeFlags&(Vr|Ur)&&(t.flags|=Jr)):jy(t),null;case D:case I:return null}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function $y(e,t,n){switch(Hd(t),t.tag){case s:hd(t.type)&&vd(t);var r=t.flags;return r&ro?(t.flags=r&~ro|qr,(t.mode&la)!==aa&&sv(t),t):null;case c:t.stateNode,Vp(t),yd(t),sm();var o=t.flags;return(o&ro)!==Ar&&(o&qr)===Ar?(t.flags=o&~ro|qr,t):null;case f:return Wp(t),null;case x:Zp(t);var a=t.memoizedState;if(null!==a&&null!==a.dehydrated){if(null===t.alternate)throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");yf()}var i=t.flags;return i&ro?(t.flags=i&~ro|qr,(t.mode&la)!==aa&&sv(t),t):null;case _:return Zp(t),null;case d:return Vp(t),null;case g:return op(t.type._context,t),null;case M:case P:return cw(t),null;default:return null}}function Ay(e,t,n){switch(Hd(t),t.tag){case s:null!=t.type.childContextTypes&&vd(t);break;case c:t.stateNode,Vp(t),yd(t),sm();break;case f:Wp(t);break;case d:Vp(t);break;case x:case _:Zp(t);break;case g:op(t.type._context,t);break;case M:case P:cw(t)}}xy=function(e,t,n,r){for(var o,a,i=t.child;null!==i;){if(i.tag===f||i.tag===p)o=e,a=i.stateNode,o.appendChild(a);else if(i.tag===d);else if(null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)return;for(;null===i.sibling;){if(null===i.return||i.return===t)return;i=i.return}i.sibling.return=i.return,i=i.sibling}},ky=function(e,t){},Sy=function(e,t,n,r,o){var a=e.memoizedProps;if(a!==r){var i=function(e,t,n,r,o,a){var i=a;if(typeof r.children!=typeof n.children&&("string"==typeof r.children||"number"==typeof r.children)){var l=""+r.children,s=Ju(i.ancestorInfo,t);Xu(null,l,s)}return Hu(e,t,n,r)}(t.stateNode,n,a,r,0,Up());t.updateQueue=i,i&&Py(t)}},Ey=function(e,t,n,r){n!==r&&Py(t)};var Fy=null;Fy=new Set;var Vy=!1,Uy=!1,By="function"==typeof WeakSet?WeakSet:Set,Wy=null,Hy=null,qy=null,Yy=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&la)try{iv(),t.componentWillUnmount()}finally{ov(e)}else t.componentWillUnmount()};function Ky(e,t){try{og(am,e)}catch(n){Ow(e,t,n)}}function Gy(e,t,n){try{Yy(e,n)}catch(n){Ow(e,t,n)}}function Qy(e,t){try{sg(e)}catch(n){Ow(e,t,n)}}function Xy(e,t){var n=e.ref;if(null!==n)if("function"==typeof n){var r;try{if(W&&H&&e.mode&la)try{iv(),r=n(null)}finally{ov(e)}else r=n(null)}catch(n){Ow(e,t,n)}"function"==typeof r&&a("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",ht(e))}else n.current=null}function Jy(e,t,n){try{n()}catch(n){Ow(e,t,n)}}var Zy=!1;function eg(e,t){pc(e.containerInfo),Wy=t,function(){for(;null!==Wy;){var e=Wy,t=e.child;(e.subtreeFlags&fo)!==Ar&&null!==t?(t.return=e,Wy=t):tg()}}();var n=Zy;return Zy=!1,n}function tg(){for(;null!==Wy;){var e=Wy;kt(e);try{ng(e)}catch(t){Ow(e,e.return,t)}xt();var t=e.sibling;if(null!==t)return t.return=e.return,void(Wy=t);Wy=e.return}}function ng(e){var t,n=e.alternate;if((e.flags&Gr)!==Ar){switch(kt(e),e.tag){case l:case b:case S:break;case s:if(null!==n){var r=n.memoizedProps,o=n.memoizedState,i=e.stateNode;e.type!==e.elementType||Hv||(i.props!==e.memoizedProps&&a("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",ht(e)||"instance"),i.state!==e.memoizedState&&a("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",ht(e)||"instance"));var u=i.getSnapshotBeforeUpdate(e.elementType===e.type?r:uv(e.type,r),o),m=Fy;void 0!==u||m.has(e.type)||(m.add(e.type),a("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",ht(e))),i.__reactInternalSnapshotBeforeUpdate=u}break;case c:(t=e.stateNode.containerInfo).nodeType===yn?t.textContent="":t.nodeType===wn&&t.documentElement&&t.removeChild(t.documentElement);break;case f:case p:case d:case C:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}xt()}}function rg(e,t,n){var r,o=t.updateQueue,a=null!==o?o.lastEffect:null;if(null!==a){var i=a.next,l=i;do{if((l.tag&e)===e){var s=l.destroy;l.destroy=void 0,void 0!==s&&((e&im)!==nm?(r=t,null!==Uo&&"function"==typeof Uo.markComponentPassiveEffectUnmountStarted&&Uo.markComponentPassiveEffectUnmountStarted(r)):(e&am)!==nm&&Jo(t),(e&om)!==nm&&Ww(!0),Jy(t,n,s),(e&om)!==nm&&Ww(!1),(e&im)!==nm?null!==Uo&&"function"==typeof Uo.markComponentPassiveEffectUnmountStopped&&Uo.markComponentPassiveEffectUnmountStopped():(e&am)!==nm&&Zo())}l=l.next}while(l!==i)}}function og(e,t){var n,r=t.updateQueue,o=null!==r?r.lastEffect:null;if(null!==o){var i=o.next,l=i;do{if((l.tag&e)===e){(e&im)!==nm?(n=t,null!==Uo&&"function"==typeof Uo.markComponentPassiveEffectMountStarted&&Uo.markComponentPassiveEffectMountStarted(n)):(e&am)!==nm&&Xo(t);var s=l.create;(e&om)!==nm&&Ww(!0),l.destroy=s(),(e&om)!==nm&&Ww(!1),(e&im)!==nm?null!==Uo&&"function"==typeof Uo.markComponentPassiveEffectMountStopped&&Uo.markComponentPassiveEffectMountStopped():(e&am)!==nm&&null!==Uo&&"function"==typeof Uo.markComponentLayoutEffectMountStopped&&Uo.markComponentLayoutEffectMountStopped();var u=l.destroy;if(void 0!==u&&"function"!=typeof u){var c=void 0;a("%s must not return anything besides a function, which is used for clean-up.%s",c=(l.tag&am)!==Ar?"useLayoutEffect":(l.tag&om)!==Ar?"useInsertionEffect":"useEffect",null===u?" You returned null. If your effect does not require clean up, return undefined (or nothing).":"function"==typeof u.then?"\n\nIt looks like you wrote "+c+"(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:\n\n"+c+"(() => {\n async function fetchData() {\n // You can await here\n const response = await MyAPI.getData(someId);\n // ...\n }\n fetchData();\n}, [someId]); // Or [] if effect doesn't need props or state\n\nLearn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching":" You returned: "+u)}}l=l.next}while(l!==i)}}function ag(e,t){if((t.flags&Ur)!==Ar&&t.tag===w){var n=t.stateNode.passiveEffectDuration,r=t.memoizedProps,o=r.id,a=r.onPostCommit,i=Zh(),l=null===t.alternate?"mount":"update";Jh()&&(l="nested-update"),"function"==typeof a&&a(o,l,n,i);var s=t.return;e:for(;null!==s;){switch(s.tag){case c:case w:s.stateNode.passiveEffectDuration+=n;break e}s=s.return}}}function ig(e,t,n,r){if((n.flags&mo)!==Ar)switch(n.tag){case l:case b:case S:if(!Uy)if(n.mode&la)try{iv(),og(am|rm,n)}finally{ov(n)}else og(am|rm,n);break;case s:var o=n.stateNode;if(n.flags&Ur&&!Uy)if(null===t)if(n.type!==n.elementType||Hv||(o.props!==n.memoizedProps&&a("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",ht(n)||"instance"),o.state!==n.memoizedState&&a("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",ht(n)||"instance")),n.mode&la)try{iv(),o.componentDidMount()}finally{ov(n)}else o.componentDidMount();else{var i=n.elementType===n.type?t.memoizedProps:uv(n.type,t.memoizedProps),u=t.memoizedState;if(n.type!==n.elementType||Hv||(o.props!==n.memoizedProps&&a("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",ht(n)||"instance"),o.state!==n.memoizedState&&a("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",ht(n)||"instance")),n.mode&la)try{iv(),o.componentDidUpdate(i,u,o.__reactInternalSnapshotBeforeUpdate)}finally{ov(n)}else o.componentDidUpdate(i,u,o.__reactInternalSnapshotBeforeUpdate)}var m=n.updateQueue;null!==m&&(n.type!==n.elementType||Hv||(o.props!==n.memoizedProps&&a("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",ht(n)||"instance"),o.state!==n.memoizedState&&a("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",ht(n)||"instance")),Dp(0,m,o));break;case c:var h=n.updateQueue;if(null!==h){var v=null;if(null!==n.child)switch(n.child.tag){case f:case s:v=n.child.stateNode}Dp(0,h,v)}break;case f:var y=n.stateNode;null===t&&n.flags&Ur&&function(e,t,n){switch(t){case"button":case"input":case"select":case"textarea":return void(n.autoFocus&&e.focus());case"img":n.src&&(e.src=n.src)}}(y,n.type,n.memoizedProps);break;case p:case d:break;case w:var g=n.memoizedProps,k=g.onCommit,E=g.onRender,T=n.stateNode.effectDuration,O=Zh(),N=null===t?"mount":"update";Jh()&&(N="nested-update"),"function"==typeof E&&E(n.memoizedProps.id,N,n.actualDuration,n.treeBaseDuration,n.actualStartTime,O),"function"==typeof k&&k(n.memoizedProps.id,N,T,O),j=n,Lb.push(j),Db||(Db=!0,Vw(jo,(function(){return Sw(),null})));var D=n.return;e:for(;null!==D;){switch(D.tag){case c:case w:D.stateNode.effectDuration+=T;break e}D=D.return}break;case x:!function(e,t){if(null===t.memoizedState){var n=t.alternate;if(null!==n){var r=n.memoizedState;if(null!==r){var o=r.dehydrated;null!==o&&function(e){rl(e)}(o)}}}}(0,n);break;case _:case C:case R:case M:case P:case I:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}var j;Uy||n.flags&Kr&&sg(n)}function lg(e){switch(e.tag){case l:case b:case S:if(e.mode&la)try{iv(),Ky(e,e.return)}finally{ov(e)}else Ky(e,e.return);break;case s:var t=e.stateNode;"function"==typeof t.componentDidMount&&function(e,t,n){try{n.componentDidMount()}catch(n){Ow(e,t,n)}}(e,e.return,t),Qy(e,e.return);break;case f:Qy(e,e.return)}}function sg(e){var t=e.ref;if(null!==t){var n,r=e.stateNode;if(e.tag,n=r,"function"==typeof t){var o;if(e.mode&la)try{iv(),o=t(n)}finally{ov(e)}else o=t(n);"function"==typeof o&&a("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",ht(e))}else t.hasOwnProperty("current")||a("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",ht(e)),t.current=n}}function ug(e){var t=e.alternate;if(null!==t&&(e.alternate=null,ug(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===f){var n=e.stateNode;null!==n&&function(e){delete e[jc],delete e[Lc],delete e[$c],delete e[Ac],delete e[Fc]}(n)}e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function cg(e){return e.tag===f||e.tag===c||e.tag===d}function dg(e){var t=e;e:for(;;){for(;null===t.sibling;){if(null===t.return||cg(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==f&&t.tag!==p&&t.tag!==T;){if(t.flags&Vr)continue e;if(null===t.child||t.tag===d)continue e;t.child.return=t,t=t.child}if(!(t.flags&Vr))return t.stateNode}}function fg(e){var t=function(e){for(var t=e.return;null!==t;){if(cg(t))return t;t=t.return}throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.")}(e);switch(t.tag){case f:var n=t.stateNode;t.flags&Wr&&(Sc(n),t.flags&=~Wr),mg(e,dg(e),n);break;case c:case d:var r=t.stateNode.containerInfo;pg(e,dg(e),r);break;default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function pg(e,t,n){var r=e.tag;if(r===f||r===p){var o=e.stateNode;t?function(e,t,n){e.nodeType===bn?e.parentNode.insertBefore(t,n):e.insertBefore(t,n)}(n,o,t):function(e,t){var n;e.nodeType===bn?(n=e.parentNode).insertBefore(t,e):(n=e).appendChild(t),null==e._reactRootContainer&&null===n.onclick&&Bu(n)}(n,o)}else if(r===d);else{var a=e.child;if(null!==a){pg(a,t,n);for(var i=a.sibling;null!==i;)pg(i,t,n),i=i.sibling}}}function mg(e,t,n){var r=e.tag;if(r===f||r===p){var o=e.stateNode;t?function(e,t,n){e.insertBefore(t,n)}(n,o,t):function(e,t){e.appendChild(t)}(n,o)}else if(r===d);else{var a=e.child;if(null!==a){mg(a,t,n);for(var i=a.sibling;null!==i;)mg(i,t,n),i=i.sibling}}}var hg=null,vg=!1;function yg(e,t,n){var r,o,a=t;e:for(;null!==a;){switch(a.tag){case f:hg=a.stateNode,vg=!1;break e;case c:case d:hg=a.stateNode.containerInfo,vg=!0;break e}a=a.return}if(null===hg)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");bg(e,t,n),hg=null,vg=!1,null!==(o=(r=n).alternate)&&(o.return=null),r.return=null}function gg(e,t,n){for(var r=n.child;null!==r;)bg(e,t,r),r=r.sibling}function bg(e,t,n){switch(function(e){if(Vo&&"function"==typeof Vo.onCommitFiberUnmount)try{Vo.onCommitFiberUnmount(Fo,e)}catch(e){Bo||(Bo=!0,a("React instrumentation encountered an error: %s",e))}}(n),n.tag){case f:Uy||Xy(n,t);case p:var r=hg,o=vg;return hg=null,gg(e,t,n),vg=o,void(null!==(hg=r)&&(vg?(C=hg,O=n.stateNode,C.nodeType===bn?C.parentNode.removeChild(O):C.removeChild(O)):function(e,t){e.removeChild(t)}(hg,n.stateNode)));case T:return void(null!==hg&&(vg?function(e,t){e.nodeType===bn?Ec(e.parentNode,t):e.nodeType===yn&&Ec(e,t),rl(e)}(hg,n.stateNode):Ec(hg,n.stateNode)));case d:var i=hg,u=vg;return hg=n.stateNode.containerInfo,vg=!0,gg(e,t,n),hg=i,void(vg=u);case l:case b:case k:case S:if(!Uy){var c=n.updateQueue;if(null!==c){var m=c.lastEffect;if(null!==m){var h=m.next,v=h;do{var y=v,g=y.destroy,w=y.tag;void 0!==g&&((w&om)!==nm?Jy(n,t,g):(w&am)!==nm&&(Jo(n),n.mode&la?(iv(),Jy(n,t,g),ov(n)):Jy(n,t,g),Zo())),v=v.next}while(v!==h)}}}return void gg(e,t,n);case s:if(!Uy){Xy(n,t);var x=n.stateNode;"function"==typeof x.componentWillUnmount&&Gy(n,t,x)}return void gg(e,t,n);case R:return void gg(e,t,n);case M:if(n.mode&ia){var E=Uy;Uy=E||null!==n.memoizedState,gg(e,t,n),Uy=E}else gg(e,t,n);break;default:return void gg(e,t,n)}var C,O}function wg(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new By),t.forEach((function(t){var r=Mw.bind(null,e,t);if(!n.has(t)){if(n.add(t),Wo){if(null===Hy||null===qy)throw Error("Expected finished root and lanes to be set. This is a bug in React.");Aw(qy,Hy)}t.then(r,r)}}))}}function xg(e,t,n){var r=t.deletions;if(null!==r)for(var o=0;o<r.length;o++){var a=r[o];try{yg(e,t,a)}catch(e){Ow(a,t,e)}}var i=yt;if(t.subtreeFlags&po)for(var l=t.child;null!==l;)kt(l),kg(l,e),l=l.sibling;kt(i)}function kg(e,t,n){var r=e.alternate,o=e.flags;switch(e.tag){case l:case b:case k:case S:if(xg(t,e),Sg(e),o&Ur){try{rg(om|rm,e,e.return),og(om|rm,e)}catch(t){Ow(e,e.return,t)}if(e.mode&la){try{iv(),rg(am|rm,e,e.return)}catch(t){Ow(e,e.return,t)}ov(e)}else try{rg(am|rm,e,e.return)}catch(t){Ow(e,e.return,t)}}return;case s:return xg(t,e),Sg(e),void(o&Kr&&null!==r&&Xy(r,r.return));case f:if(xg(t,e),Sg(e),o&Kr&&null!==r&&Xy(r,r.return),e.flags&Wr){var a=e.stateNode;try{Sc(a)}catch(t){Ow(e,e.return,t)}}if(o&Ur){var i=e.stateNode;if(null!=i){var u=e.memoizedProps,m=null!==r?r.memoizedProps:u,h=e.type,v=e.updateQueue;if(e.updateQueue=null,null!==v)try{!function(e,t,n,r,o){qu(e,t,n,r,o),Gc(e,o)}(i,v,h,m,u)}catch(t){Ow(e,e.return,t)}}}return;case p:if(xg(t,e),Sg(e),o&Ur){if(null===e.stateNode)throw new Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");var y=e.stateNode,g=e.memoizedProps;null!==r&&r.memoizedProps;try{!function(e,t,n){e.nodeValue=n}(y,0,g)}catch(t){Ow(e,e.return,t)}}return;case c:if(xg(t,e),Sg(e),o&Ur&&null!==r&&r.memoizedState.isDehydrated)try{rl(t.containerInfo)}catch(t){Ow(e,e.return,t)}return;case d:return xg(t,e),void Sg(e);case x:xg(t,e),Sg(e);var w=e.child;if(w.flags&Jr){var E=w.stateNode,C=null!==w.memoizedState;E.isHidden=C,C&&(null!==w.alternate&&null!==w.alternate.memoizedState||(Sb=Mo()))}if(o&Ur){try{!function(e){e.memoizedState}(e)}catch(t){Ow(e,e.return,t)}wg(e)}return;case M:var T=null!==r&&null!==r.memoizedState;if(e.mode&ia){var O=Uy;Uy=O||T,xg(t,e),Uy=O}else xg(t,e);if(Sg(e),o&Jr){var N=e.stateNode,D=null!==e.memoizedState,I=e;if(N.isHidden=D,D&&!T&&(I.mode&ia)!==aa){Wy=I;for(var j=I.child;null!==j;)Wy=j,Og(j),j=j.sibling}!function(e,t){for(var n=null,r=e;;){if(r.tag===f){if(null===n){n=r;try{var o=r.stateNode;t?Cc(o):Tc(r.stateNode,r.memoizedProps)}catch(t){Ow(e,e.return,t)}}}else if(r.tag===p){if(null===n)try{var a=r.stateNode;t?a.nodeValue="":Oc(a,r.memoizedProps)}catch(t){Ow(e,e.return,t)}}else if((r.tag!==M&&r.tag!==P||null===r.memoizedState||r===e)&&null!==r.child){r.child.return=r,r=r.child;continue}if(r===e)return;for(;null===r.sibling;){if(null===r.return||r.return===e)return;n===r&&(n=null),r=r.return}n===r&&(n=null),r.sibling.return=r.return,r=r.sibling}}(I,D)}return;case _:return xg(t,e),Sg(e),void(o&Ur&&wg(e));case R:return;default:return xg(t,e),void Sg(e)}}function Sg(e){var t=e.flags;if(t&Vr){try{fg(e)}catch(t){Ow(e,e.return,t)}e.flags&=~Vr}t&Xr&&(e.flags&=~Xr)}function Eg(e,t,n){Hy=n,qy=t,Wy=e,Cg(e,t,n),Hy=null,qy=null}function Cg(e,t,n){for(var r=(e.mode&ia)!==aa;null!==Wy;){var o=Wy,a=o.child;if(o.tag===M&&r){var i=null!==o.memoizedState||Vy;if(i){Tg(e,t,n);continue}var l=o.alternate,s=null!==l&&null!==l.memoizedState,u=Vy,c=Uy;Vy=i,(Uy=s||Uy)&&!c&&(Wy=o,Ng(o));for(var d=a;null!==d;)Wy=d,Cg(d,t,n),d=d.sibling;Wy=o,Vy=u,Uy=c,Tg(e,t,n)}else(o.subtreeFlags&mo)!==Ar&&null!==a?(a.return=o,Wy=a):Tg(e,t,n)}}function Tg(e,t,n){for(;null!==Wy;){var r=Wy;if((r.flags&mo)!==Ar){var o=r.alternate;kt(r);try{ig(0,o,r)}catch(e){Ow(r,r.return,e)}xt()}if(r===e)return void(Wy=null);var a=r.sibling;if(null!==a)return a.return=r.return,void(Wy=a);Wy=r.return}}function Og(e){for(;null!==Wy;){var t=Wy,n=t.child;switch(t.tag){case l:case b:case k:case S:if(t.mode&la)try{iv(),rg(am,t,t.return)}finally{ov(t)}else rg(am,t,t.return);break;case s:Xy(t,t.return);var r=t.stateNode;"function"==typeof r.componentWillUnmount&&Gy(t,t.return,r);break;case f:Xy(t,t.return);break;case M:if(null!==t.memoizedState){_g(e);continue}}null!==n?(n.return=t,Wy=n):_g(e)}}function _g(e){for(;null!==Wy;){var t=Wy;if(t===e)return void(Wy=null);var n=t.sibling;if(null!==n)return n.return=t.return,void(Wy=n);Wy=t.return}}function Ng(e){for(;null!==Wy;){var t=Wy,n=t.child;(t.tag!==M||null===t.memoizedState)&&null!==n?(n.return=t,Wy=n):Rg(e)}}function Rg(e){for(;null!==Wy;){var t=Wy;kt(t);try{lg(t)}catch(e){Ow(t,t.return,e)}if(xt(),t===e)return void(Wy=null);var n=t.sibling;if(null!==n)return n.return=t.return,void(Wy=n);Wy=t.return}}function Mg(e,t,n,r){Wy=t,function(e,t,n,r){for(;null!==Wy;){var o=Wy,a=o.child;(o.subtreeFlags&ho)!==Ar&&null!==a?(a.return=o,Wy=a):Pg(e,t,n,r)}}(t,e,n,r)}function Pg(e,t,n,r){for(;null!==Wy;){var o=Wy;if((o.flags&Qr)!==Ar){kt(o);try{Dg(t,o,n,r)}catch(e){Ow(o,o.return,e)}xt()}if(o===e)return void(Wy=null);var a=o.sibling;if(null!==a)return a.return=o.return,void(Wy=a);Wy=o.return}}function Dg(e,t,n,r){switch(t.tag){case l:case b:case S:if(t.mode&la){lv();try{og(im|rm,t)}finally{av(t)}}else og(im|rm,t)}}function Ig(e){Wy=e,function(){for(;null!==Wy;){var e=Wy,t=e.child;if((Wy.flags&Br)!==Ar){var n=e.deletions;if(null!==n){for(var r=0;r<n.length;r++){var o=n[r];Wy=o,zg(o,e)}var a=e.alternate;if(null!==a){var i=a.child;if(null!==i){a.child=null;do{var l=i.sibling;i.sibling=null,i=l}while(null!==i)}}Wy=e}}(e.subtreeFlags&ho)!==Ar&&null!==t?(t.return=e,Wy=t):jg()}}()}function jg(){for(;null!==Wy;){var e=Wy;(e.flags&Qr)!==Ar&&(kt(e),Lg(e),xt());var t=e.sibling;if(null!==t)return t.return=e.return,void(Wy=t);Wy=e.return}}function Lg(e){switch(e.tag){case l:case b:case S:e.mode&la?(lv(),rg(im|rm,e,e.return),av(e)):rg(im|rm,e,e.return)}}function zg(e,t){for(;null!==Wy;){var n=Wy;kt(n),Ag(n,t),xt();var r=n.child;null!==r?(r.return=n,Wy=r):$g(e)}}function $g(e){for(;null!==Wy;){var t=Wy,n=t.sibling,r=t.return;if(ug(t),t===e)return void(Wy=null);if(null!==n)return n.return=r,void(Wy=n);Wy=r}}function Ag(e,t){switch(e.tag){case l:case b:case S:e.mode&la?(lv(),rg(im,e,t),av(e)):rg(im,e,t)}}function Fg(e){switch(e.tag){case l:case b:case S:try{og(am|rm,e)}catch(t){Ow(e,e.return,t)}break;case s:var t=e.stateNode;try{t.componentDidMount()}catch(t){Ow(e,e.return,t)}}}function Vg(e){switch(e.tag){case l:case b:case S:try{og(im|rm,e)}catch(t){Ow(e,e.return,t)}}}function Ug(e){switch(e.tag){case l:case b:case S:try{rg(am|rm,e,e.return)}catch(t){Ow(e,e.return,t)}break;case s:var t=e.stateNode;"function"==typeof t.componentWillUnmount&&Gy(e,e.return,t)}}function Bg(e){switch(e.tag){case l:case b:case S:try{rg(im|rm,e,e.return)}catch(t){Ow(e,e.return,t)}}}if("function"==typeof Symbol&&Symbol.for){var Wg=Symbol.for;Wg("selector.component"),Wg("selector.has_pseudo_class"),Wg("selector.role"),Wg("selector.test_id"),Wg("selector.text")}var Hg=[],qg=n.ReactCurrentActQueue;function Yg(){var e="undefined"!=typeof IS_REACT_ACT_ENVIRONMENT?IS_REACT_ACT_ENVIRONMENT:void 0;return e||null===qg.current||a("The current testing environment is not configured to support act(...)"),e}var Kg=Math.ceil,Gg=n.ReactCurrentDispatcher,Qg=n.ReactCurrentOwner,Xg=n.ReactCurrentBatchConfig,Jg=n.ReactCurrentActQueue,Zg=0,eb=1,tb=2,nb=4,rb=0,ob=1,ab=2,ib=3,lb=4,sb=5,ub=6,cb=Zg,db=null,fb=null,pb=ma,mb=ma,hb=od(ma),vb=rb,yb=null,gb=ma,bb=ma,wb=ma,xb=null,kb=null,Sb=0,Eb=500,Cb=1/0,Tb=500,Ob=null;function _b(){Cb=Mo()+Tb}function Nb(){return Cb}var Rb=!1,Mb=null,Pb=null,Db=!1,Ib=null,jb=ma,Lb=[],zb=null,$b=50,Ab=0,Fb=null,Vb=!1,Ub=!1,Bb=50,Wb=0,Hb=null,qb=Ja,Yb=ma,Kb=!1;function Gb(){return db}function Qb(){return(cb&(tb|nb))!==Zg?Mo():qb!==Ja?qb:qb=Mo()}function Xb(e){if((e.mode&ia)===aa)return va;if((cb&tb)!==Zg&&pb!==ma)return di(pb);if(xf.transition!==kf){if(null!==Xg.transition){var t=Xg.transition;t._updatedFibers||(t._updatedFibers=new Set),t._updatedFibers.add(e)}return Yb===ha&&(Yb=ui()),Yb}var n,r=ji();return r!==ha?r:void 0===(n=window.event)?Pi:fl(n.type)}function Jb(e){var t;return(e.mode&ia)===aa?va:(t=ei,((ei<<=1)&Aa)===ma&&(ei=Fa),t)}function Zb(e,t,n,r){!function(){if(Ab>$b)throw Ab=0,Fb=null,new Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");Wb>Bb&&(Wb=0,Hb=null,a("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render."))}(),Kb&&a("useInsertionEffect must not schedule updates."),Vb&&(Ub=!0),wi(e,n,r),(cb&tb)!==ma&&e===db?function(e){if(gt&&!Th)switch(e.tag){case l:case b:case S:var t=fb&&ht(fb)||"Unknown",n=t;zw.has(n)||(zw.add(n),a("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://reactjs.org/link/setstate-in-render",ht(e)||"Unknown",t,t));break;case s:$w||(a("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),$w=!0)}}(t):(Wo&&Si(e,t,n),function(e){if(e.mode&ia){if(!Yg())return}else{if(t="undefined"!=typeof IS_REACT_ACT_ENVIRONMENT?IS_REACT_ACT_ENVIRONMENT:void 0,"undefined"==typeof jest||!1===t)return;if(cb!==Zg)return;if(e.tag!==l&&e.tag!==b&&e.tag!==S)return}var t;if(null===Jg.current){var n=yt;try{kt(e),a("An update to %s inside a test was not wrapped in act(...).\n\nWhen testing, code that causes React state updates should be wrapped into act(...):\n\nact(() => {\n /* fire events that update state */\n});\n/* assert on the output */\n\nThis ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act",ht(e))}finally{n?kt(e):xt()}}}(t),e===db&&((cb&tb)===Zg&&(bb=vi(bb,n)),vb===lb&&ow(e,pb)),ew(e,r),n!==va||cb!==Zg||(t.mode&ia)!==aa||Jg.isBatchingLegacy||(_b(),Nd()))}function ew(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.pendingLanes,r=e.suspendedLanes,o=e.pingedLanes,a=e.expirationTimes,i=n;i>0;){var l=fi(i),s=1<<l,u=a[l];u===Ja?(s&r)!==ma&&(s&o)===ma||(a[l]=ri(s,t)):u<=t&&(e.expiredLanes|=s),i&=~s}}(e,t);var r=ni(e,e===db?pb:ma);if(r===ma)return null!==n&&Uw(n),e.callbackNode=null,void(e.callbackPriority=ha);var o=ci(r),i=e.callbackPriority;if(i!==o||null!==Jg.current&&n!==Fw){var l,s;if(null!=n&&Uw(n),o===va)e.tag===Sd?(null!==Jg.isBatchingLegacy&&(Jg.didScheduleLegacyUpdate=!0),s=aw.bind(null,e),Td=!0,_d(s)):_d(aw.bind(null,e)),null!==Jg.current?Jg.current.push(Rd):xc((function(){(cb&(tb|nb))===Zg&&Rd()})),l=null;else{var u;switch($i(r)){case Ri:u=Do;break;case Mi:u=Io;break;case Pi:u=jo;break;case Di:u=zo;break;default:u=jo}l=Vw(u,tw.bind(null,e))}e.callbackPriority=o,e.callbackNode=l}else null==n&&i!==va&&a("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.")}function tw(e,t){if(Qh=!1,Xh=!1,qb=Ja,Yb=ma,(cb&(tb|nb))!==Zg)throw new Error("Should not already be working.");var n=e.callbackNode;if(Sw()&&e.callbackNode!==n)return null;var r=ni(e,e===db?pb:ma);if(r===ma)return null;var o=!li(0,r)&&!function(e,t){return(t&e.expiredLanes)!==ma}(e,r)&&!t,a=o?function(e,t){var n=cb;cb|=tb;var r=pw();if(db!==e||pb!==t){if(Wo){var o=e.memoizedUpdaters;o.size>0&&(Aw(e,pb),o.clear()),Ei(e,t)}Ob=null,_b(),dw(e,t)}for(na(t);;)try{bw();break}catch(t){fw(e,t)}return ep(),mw(r),cb=n,null!==fb?(null!==Uo&&"function"==typeof Uo.markRenderYielded&&Uo.markRenderYielded(),rb):(ra(),db=null,pb=ma,vb)}(e,r):yw(e,r);if(a!==rb){if(a===ab){var i=oi(e);i!==ma&&(r=i,a=nw(e,i))}if(a===ob){var l=yb;throw dw(e,ma),ow(e,r),ew(e,Mo()),l}if(a===ub)ow(e,r);else{var s=!li(0,r),u=e.current.alternate;if(s&&!function(e){for(var t=e;;){if(t.flags&Zr){var n=t.updateQueue;if(null!==n){var r=n.stores;if(null!==r)for(var o=0;o<r.length;o++){var a=r[o],i=a.getSnapshot,l=a.value;try{if(!Ts(i(),l))return!1}catch(e){return!1}}}}var s=t.child;if(t.subtreeFlags&Zr&&null!==s)s.return=t,t=s;else{if(t===e)return!0;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(u)){if((a=yw(e,r))===ab){var c=oi(e);c!==ma&&(r=c,a=nw(e,c))}if(a===ob){var d=yb;throw dw(e,ma),ow(e,r),ew(e,Mo()),d}}e.finishedWork=u,e.finishedLanes=r,function(e,t,n){switch(t){case rb:case ob:throw new Error("Root did not complete. This is a bug in React.");case ab:kw(e,kb,Ob);break;case ib:if(ow(e,n),ii(n)&&!Bw()){var r=Sb+Eb-Mo();if(r>10){if(ni(e,ma)!==ma)break;var o=e.suspendedLanes;if(!hi(o,n)){Qb(),xi(e,o);break}e.timeoutHandle=yc(kw.bind(null,e,kb,Ob),r);break}}kw(e,kb,Ob);break;case lb:if(ow(e,n),function(e){return(e&ka)===e}(n))break;if(!Bw()){var a=function(e,t){for(var n=e.eventTimes,r=Ja;t>0;){var o=fi(t),a=1<<o,i=n[o];i>r&&(r=i),t&=~a}return r}(e,n),i=a,l=Mo()-i,s=((u=l)<120?120:u<480?480:u<1080?1080:u<1920?1920:u<3e3?3e3:u<4320?4320:1960*Kg(u/1960))-l;if(s>10){e.timeoutHandle=yc(kw.bind(null,e,kb,Ob),s);break}}kw(e,kb,Ob);break;case sb:kw(e,kb,Ob);break;default:throw new Error("Unknown root exit status.")}var u}(e,a,r)}}return ew(e,Mo()),e.callbackNode===n?tw.bind(null,e):null}function nw(e,t){var n=xb;Ai(e)&&(dw(e,t).flags|=Yr,a("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.containerInfo.nodeName.toLowerCase()));var r=yw(e,t);if(r!==ab){var o=kb;kb=n,null!==o&&rw(o)}return r}function rw(e){null===kb?kb=e:kb.push.apply(kb,e)}function ow(e,t){t=yi(t,wb),function(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var n=e.expirationTimes,r=t;r>0;){var o=fi(r),a=1<<o;n[o]=Ja,r&=~a}}(e,t=yi(t,bb))}function aw(e){if(Qh=Xh,Xh=!1,(cb&(tb|nb))!==Zg)throw new Error("Should not already be working.");Sw();var t=ni(e,ma);if(!mi(t,va))return ew(e,Mo()),null;var n=yw(e,t);if(e.tag!==Sd&&n===ab){var r=oi(e);r!==ma&&(t=r,n=nw(e,r))}if(n===ob){var o=yb;throw dw(e,ma),ow(e,t),ew(e,Mo()),o}if(n===ub)throw new Error("Root did not complete. This is a bug in React.");var a=e.current.alternate;return e.finishedWork=a,e.finishedLanes=t,kw(e,kb,Ob),ew(e,Mo()),null}function iw(e,t){var n=cb;cb|=eb;try{return e(t)}finally{(cb=n)!==Zg||Jg.isBatchingLegacy||(_b(),Nd())}}function lw(e){null!==Ib&&Ib.tag===Sd&&(cb&(tb|nb))===Zg&&Sw();var t=cb;cb|=eb;var n=Xg.transition,r=ji();try{return Xg.transition=null,Li(Ri),e?e():void 0}finally{Li(r),Xg.transition=n,((cb=t)&(tb|nb))===Zg&&Rd()}}function sw(){return(cb&(tb|nb))!==Zg}function uw(e,t){id(hb,mb,e),mb=vi(mb,t)}function cw(e){mb=hb.current,ad(hb,e)}function dw(e,t){e.finishedWork=null,e.finishedLanes=ma;var n=e.timeoutHandle;if(n!==bc&&(e.timeoutHandle=bc,gc(n)),null!==fb)for(var r=fb.return;null!==r;)r.alternate,Ay(0,r),r=r.return;db=e;var o=ux(e.current,null);return fb=o,pb=mb=t,vb=rb,yb=null,gb=ma,bb=ma,wb=ma,xb=null,kb=null,function(){if(null!==up){for(var e=0;e<up.length;e++){var t=up[e],n=t.interleaved;if(null!==n){t.interleaved=null;var r=n.next,o=t.pending;if(null!==o){var a=o.next;o.next=r,n.next=a}t.pending=n}}up=null}}(),Sf.discardPendingWarnings(),o}function fw(e,t){for(;;){var n=fb;try{if(ep(),jm(),xt(),Qg.current=null,null===n||null===n.return)return vb=ob,yb=t,void(fb=null);W&&n.mode&la&&rv(n,!0),B&&(Qo(),null!==t&&"object"==typeof t&&"function"==typeof t.then?ta(n,t,pb):ea(n,t,pb)),Av(e,n.return,n,t,pb),xw(n)}catch(e){t=e,fb===n&&null!==n?(n=n.return,fb=n):n=fb;continue}return}}function pw(){var e=Gg.current;return Gg.current=jh,null===e?jh:e}function mw(e){Gg.current=e}function hw(e){gb=vi(e,gb)}function vw(){vb!==rb&&vb!==ib&&vb!==ab||(vb=lb),null!==db&&(ai(gb)||ai(bb))&&ow(db,pb)}function yw(e,t){var n=cb;cb|=tb;var r=pw();if(db!==e||pb!==t){if(Wo){var o=e.memoizedUpdaters;o.size>0&&(Aw(e,pb),o.clear()),Ei(e,t)}Ob=null,dw(e,t)}for(na(t);;)try{gw();break}catch(t){fw(e,t)}if(ep(),cb=n,mw(r),null!==fb)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return ra(),db=null,pb=ma,vb}function gw(){for(;null!==fb;)ww(fb)}function bw(){for(;null!==fb&&!No();)ww(fb)}function ww(e){var t,n=e.alternate;kt(e),(e.mode&la)!==aa?(tv(e),t=Iw(n,e,mb),rv(e,!0)):t=Iw(n,e,mb),xt(),e.memoizedProps=e.pendingProps,null===t?xw(e):fb=t,Qg.current=null}function xw(e){var t=e;do{var n=t.alternate,r=t.return;if((t.flags&no)===Ar){kt(t);var o=void 0;if((t.mode&la)===aa?o=zy(n,t,mb):(tv(t),o=zy(n,t,mb),rv(t,!1)),xt(),null!==o)return void(fb=o)}else{var a=$y(0,t);if(null!==a)return a.flags&=to,void(fb=a);if((t.mode&la)!==aa){rv(t,!1);for(var i=t.actualDuration,l=t.child;null!==l;)i+=l.actualDuration,l=l.sibling;t.actualDuration=i}if(null===r)return vb=ub,void(fb=null);r.flags|=no,r.subtreeFlags=Ar,r.deletions=null}var s=t.sibling;if(null!==s)return void(fb=s);fb=t=r}while(null!==t);vb===rb&&(vb=sb)}function kw(e,t,n){var r=ji(),o=Xg.transition;try{Xg.transition=null,Li(Ri),function(e,t,n,r){do{Sw()}while(null!==Ib);if(Sf.flushLegacyContextWarning(),Sf.flushPendingUnsafeLifecycleWarnings(),(cb&(tb|nb))!==Zg)throw new Error("Should not already be working.");var o=e.finishedWork,i=e.finishedLanes;if(function(e){null!==Uo&&"function"==typeof Uo.markCommitStarted&&Uo.markCommitStarted(e)}(i),null===o)return Ko(),null;if(i===ma&&a("root.finishedLanes should not be empty during a commit. This is a bug in React."),e.finishedWork=null,e.finishedLanes=ma,o===e.current)throw new Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");e.callbackNode=null,e.callbackPriority=ha;var l=vi(o.lanes,o.childLanes);(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=ma,e.pingedLanes=ma,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t;for(var r=e.entanglements,o=e.eventTimes,a=e.expirationTimes,i=n;i>0;){var l=fi(i),s=1<<l;r[l]=ma,o[l]=Ja,a[l]=Ja,i&=~s}})(e,l),e===db&&(db=null,fb=null,pb=ma),(o.subtreeFlags&ho)===Ar&&(o.flags&ho)===Ar||Db||(Db=!0,zb=n,Vw(jo,(function(){return Sw(),null})));var s=(o.subtreeFlags&(fo|po|mo|ho))!==Ar,u=(o.flags&(fo|po|mo|ho))!==Ar;if(s||u){var c=Xg.transition;Xg.transition=null;var d=ji();Li(Ri);var f=cb;cb|=nb,Qg.current=null,eg(e,o),ev(),function(e,t,n){Hy=n,qy=e,kt(t),kg(t,e),kt(t),Hy=null,qy=null}(e,o,i),e.containerInfo,$s(fc),il(dc),dc=null,fc=null,e.current=o,function(e){null!==Uo&&"function"==typeof Uo.markLayoutEffectsStarted&&Uo.markLayoutEffectsStarted(e)}(i),Eg(o,e,i),null!==Uo&&"function"==typeof Uo.markLayoutEffectsStopped&&Uo.markLayoutEffectsStopped(),Ro(),cb=f,Li(d),Xg.transition=c}else e.current=o,ev();var p=Db;if(Db?(Db=!1,Ib=e,jb=i):(Wb=0,Hb=null),(l=e.pendingLanes)===ma&&(Pb=null),p||Pw(e.current,!1),function(e,t){if(Vo&&"function"==typeof Vo.onCommitFiberRoot)try{var n=(e.current.flags&qr)===qr;if(W){var r;switch(t){case Ri:r=Do;break;case Mi:r=Io;break;case Pi:r=jo;break;case Di:r=zo;break;default:r=jo}Vo.onCommitFiberRoot(Fo,e,r,n)}}catch(e){Bo||(Bo=!0,a("React instrumentation encountered an error: %s",e))}}(o.stateNode,r),Wo&&e.memoizedUpdaters.clear(),Hg.forEach((function(e){return e()})),ew(e,Mo()),null!==t)for(var m=e.onRecoverableError,h=0;h<t.length;h++){var v=t[h],y=v.stack,g=v.digest;m(v.value,{componentStack:y,digest:g})}if(Rb){Rb=!1;var b=Mb;throw Mb=null,b}mi(jb,va)&&e.tag!==Sd&&Sw(),mi(l=e.pendingLanes,va)?(Xh=!0,e===Fb?Ab++:(Ab=0,Fb=e)):Ab=0,Rd(),Ko()}(e,t,n,r)}finally{Xg.transition=o,Li(r)}return null}function Sw(){if(null!==Ib){var e=$i(jb),t=(o=Pi)>(i=e)?o:i,n=Xg.transition,r=ji();try{return Xg.transition=null,Li(t),function(){if(null===Ib)return!1;var e=zb;zb=null;var t=Ib,n=jb;if(Ib=null,jb=ma,(cb&(tb|nb))!==Zg)throw new Error("Cannot flush passive effects while already rendering.");Vb=!0,Ub=!1,function(e){null!==Uo&&"function"==typeof Uo.markPassiveEffectsStarted&&Uo.markPassiveEffectsStarted(e)}(n);var r=cb;cb|=nb,Ig(t.current),Mg(t,t.current,n,e);var o=Lb;Lb=[];for(var i=0;i<o.length;i++)ag(0,o[i]);null!==Uo&&"function"==typeof Uo.markPassiveEffectsStopped&&Uo.markPassiveEffectsStopped(),Pw(t.current,!0),cb=r,Rd(),Ub?t===Hb?Wb++:(Wb=0,Hb=t):Wb=0,Vb=!1,Ub=!1,function(e){if(Vo&&"function"==typeof Vo.onPostCommitFiberRoot)try{Vo.onPostCommitFiberRoot(Fo,e)}catch(e){Bo||(Bo=!0,a("React instrumentation encountered an error: %s",e))}}(t);var l=t.current.stateNode;return l.effectDuration=0,l.passiveEffectDuration=0,!0}()}finally{Li(r),Xg.transition=n}}var o,i;return!1}function Ew(e){return null!==Pb&&Pb.has(e)}var Cw=function(e){Rb||(Rb=!0,Mb=e)};function Tw(e,t,n){var r=Cp(e,Iv(e,Rv(n,t),va),va),o=Qb();null!==r&&(wi(r,va,o),ew(r,o))}function Ow(e,t,n){if(function(e){Lr(null,(function(){throw e})),zr()}(n),Ww(!1),e.tag!==c){var r=null;for(r=t;null!==r;){if(r.tag===c)return void Tw(r,e,n);if(r.tag===s){var o=r.type,i=r.stateNode;if("function"==typeof o.getDerivedStateFromError||"function"==typeof i.componentDidCatch&&!Ew(i)){var l=Cp(r,jv(r,Rv(n,e),va),va),u=Qb();return void(null!==l&&(wi(l,va,u),ew(l,u)))}}r=r.return}a("Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Likely causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.\n\nError message:\n\n%s",n)}else Tw(e,e,n)}function _w(e,t,n){var r=e.pingCache;null!==r&&r.delete(t);var o=Qb();xi(e,n),function(e){e.tag!==Sd&&Yg()&&null===Jg.current&&a("A suspended resource finished loading inside a test, but the event was not wrapped in act(...).\n\nWhen testing, code that resolves suspended data should be wrapped into act(...):\n\nact(() => {\n /* finish loading suspended data */\n});\n/* assert on the output */\n\nThis ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act")}(e),db===e&&hi(pb,n)&&(vb===lb||vb===ib&&ii(pb)&&Mo()-Sb<Eb?dw(e,ma):wb=vi(wb,n)),ew(e,o)}function Nw(e,t){t===ha&&(t=Jb(e));var n=Qb(),r=fp(e,t);null!==r&&(wi(r,t,n),ew(r,n))}function Rw(e){var t=e.memoizedState,n=ha;null!==t&&(n=t.retryLane),Nw(e,n)}function Mw(e,t){var n,r=ha;switch(e.tag){case x:n=e.stateNode;var o=e.memoizedState;null!==o&&(r=o.retryLane);break;case _:n=e.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}null!==n&&n.delete(t),Nw(e,r)}function Pw(e,t){kt(e),Dw(e,uo,Ug),t&&Dw(e,co,Bg),Dw(e,uo,Fg),t&&Dw(e,co,Vg),xt()}function Dw(e,t,n){for(var r=e,o=null;null!==r;){var a=r.subtreeFlags&t;r!==o&&null!==r.child&&a!==Ar?r=r.child:((r.flags&t)!==Ar&&n(r),r=null!==r.sibling?r.sibling:o=r.return)}}var Iw,jw=null;function Lw(e){if((cb&tb)===Zg&&e.mode&ia){var t=e.tag;if(t===u||t===c||t===s||t===l||t===b||t===k||t===S){var n=ht(e)||"ReactComponent";if(null!==jw){if(jw.has(n))return;jw.add(n)}else jw=new Set([n]);var r=yt;try{kt(e),a("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.")}finally{r?kt(e):xt()}}}}Iw=function(e,t,n){var r=yx(null,t);try{return My(e,t,n)}catch(a){if(Qd||null!==a&&"object"==typeof a&&"function"==typeof a.then)throw a;if(ep(),jm(),Ay(0,t),yx(t,r),t.mode&la&&tv(t),Lr(null,My,null,e,t,n),Mr){var o=zr();"object"==typeof o&&null!==o&&o._suppressLogging&&"object"==typeof a&&null!==a&&!a._suppressLogging&&(a._suppressLogging=!0)}throw a}};var zw,$w=!1;function Aw(e,t){Wo&&e.memoizedUpdaters.forEach((function(n){Si(e,n,t)}))}zw=new Set;var Fw={};function Vw(e,t){var n=Jg.current;return null!==n?(n.push(t),Fw):Oo(e,t)}function Uw(e){if(e!==Fw)return _o(e)}function Bw(){return null!==Jg.current}function Ww(e){Kb=e}var Hw=null,qw=null,Yw=function(e){Hw=e};function Kw(e){if(null===Hw)return e;var t=Hw(e);return void 0===t?e:t.current}function Gw(e){return Kw(e)}function Qw(e){if(null===Hw)return e;var t=Hw(e);if(void 0===t){if(null!=e&&"function"==typeof e.render){var n=Kw(e.render);if(e.render!==n){var r={$$typeof:Le,render:n};return void 0!==e.displayName&&(r.displayName=e.displayName),r}}return e}return t.current}function Xw(e,t){if(null===Hw)return!1;var n=e.elementType,r=t.type,o=!1,a="object"==typeof r&&null!==r?r.$$typeof:null;switch(e.tag){case s:"function"==typeof r&&(o=!0);break;case l:("function"==typeof r||a===Fe)&&(o=!0);break;case b:(a===Le||a===Fe)&&(o=!0);break;case k:case S:(a===Ae||a===Fe)&&(o=!0);break;default:return!1}if(o){var i=Hw(n);if(void 0!==i&&i===Hw(r))return!0}return!1}function Jw(e){null!==Hw&&"function"==typeof WeakSet&&(null===qw&&(qw=new WeakSet),qw.add(e))}var Zw=function(e,t){if(null!==Hw){var n=t.staleFamilies,r=t.updatedFamilies;Sw(),lw((function(){tx(e.current,r,n)}))}},ex=function(e,t){e.context===ld&&(Sw(),lw((function(){Ox(t,e,null,null)})))};function tx(e,t,n){var r=e.alternate,o=e.child,a=e.sibling,i=e.tag,u=e.type,c=null;switch(i){case l:case S:case s:c=u;break;case b:c=u.render}if(null===Hw)throw new Error("Expected resolveFamily to be set during hot reload.");var d=!1,f=!1;if(null!==c){var p=Hw(c);void 0!==p&&(n.has(p)?f=!0:t.has(p)&&(i===s?f=!0:d=!0))}if(null!==qw&&(qw.has(e)||null!==r&&qw.has(r))&&(f=!0),f&&(e._debugNeedsRemount=!0),f||d){var m=fp(e,va);null!==m&&Zb(m,e,va,Ja)}null===o||f||tx(o,t,n),null!==a&&tx(a,t,n)}var nx,rx=function(e,t){var n=new Set,r=new Set(t.map((function(e){return e.current})));return ox(e.current,r,n),n};function ox(e,t,n){var r=e.child,o=e.sibling,a=e.tag,i=e.type,u=null;switch(a){case l:case S:case s:u=i;break;case b:u=i.render}var p=!1;null!==u&&t.has(u)&&(p=!0),p?function(e,t){var n=function(e,t){for(var n=e,r=!1;;){if(n.tag===f)r=!0,t.add(n.stateNode);else if(null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)return r;for(;null===n.sibling;){if(null===n.return||n.return===e)return r;n=n.return}n.sibling.return=n.return,n=n.sibling}return!1}(e,t);if(!n)for(var r=e;;){switch(r.tag){case f:return void t.add(r.stateNode);case d:case c:return void t.add(r.stateNode.containerInfo)}if(null===r.return)throw new Error("Expected to reach root first.");r=r.return}}(e,n):null!==r&&ox(r,t,n),null!==o&&ox(o,t,n)}nx=!1;try{var ax=Object.preventExtensions({});new Map([[ax,null]]),new Set([ax])}catch(e){nx=!0}function ix(e,t,n,r){this.tag=e,this.key=n,this.elementType=null,this.type=null,this.stateNode=null,this.return=null,this.child=null,this.sibling=null,this.index=0,this.ref=null,this.pendingProps=t,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=r,this.flags=Ar,this.subtreeFlags=Ar,this.deletions=null,this.lanes=ma,this.childLanes=ma,this.alternate=null,this.actualDuration=Number.NaN,this.actualStartTime=Number.NaN,this.selfBaseDuration=Number.NaN,this.treeBaseDuration=Number.NaN,this.actualDuration=0,this.actualStartTime=-1,this.selfBaseDuration=0,this.treeBaseDuration=0,this._debugSource=null,this._debugOwner=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,nx||"function"!=typeof Object.preventExtensions||Object.preventExtensions(this)}var lx=function(e,t,n,r){return new ix(e,t,n,r)};function sx(e){var t=e.prototype;return!(!t||!t.isReactComponent)}function ux(e,t){var n=e.alternate;null===n?((n=lx(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n._debugSource=e._debugSource,n._debugOwner=e._debugOwner,n._debugHookTypes=e._debugHookTypes,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=Ar,n.subtreeFlags=Ar,n.deletions=null,n.actualDuration=0,n.actualStartTime=-1),n.flags=e.flags&vo,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue;var r=e.dependencies;switch(n.dependencies=null===r?null:{lanes:r.lanes,firstContext:r.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.selfBaseDuration=e.selfBaseDuration,n.treeBaseDuration=e.treeBaseDuration,n._debugNeedsRemount=e._debugNeedsRemount,n.tag){case u:case l:case S:n.type=Kw(e.type);break;case s:n.type=Gw(e.type);break;case b:n.type=Qw(e.type)}return n}function cx(e,t){e.flags&=vo|Vr;var n=e.alternate;if(null===n)e.childLanes=ma,e.lanes=t,e.child=null,e.subtreeFlags=Ar,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0;else{e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=Ar,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type;var r=n.dependencies;e.dependencies=null===r?null:{lanes:r.lanes,firstContext:r.firstContext},e.selfBaseDuration=n.selfBaseDuration,e.treeBaseDuration=n.treeBaseDuration}return e}function dx(e,t,n,r,o,i){var l=u,c=e;if("function"==typeof e)sx(e)?(l=s,c=Gw(c)):c=Kw(c);else if("string"==typeof e)l=f;else e:switch(e){case Me:return px(n.children,o,i,t);case Pe:l=v,((o|=sa)&ia)!==aa&&(o|=ua);break;case De:return function(e,t,n,r){"string"!=typeof e.id&&a('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id);var o=lx(w,e,r,t|la);return o.elementType=De,o.lanes=n,o.stateNode={effectDuration:0,passiveEffectDuration:0},o}(n,o,i,t);case ze:return function(e,t,n,r){var o=lx(x,e,r,t);return o.elementType=ze,o.lanes=n,o}(n,o,i,t);case $e:return function(e,t,n,r){var o=lx(_,e,r,t);return o.elementType=$e,o.lanes=n,o}(n,o,i,t);case Ve:return mx(n,o,i,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case Ie:l=g;break e;case je:l=y;break e;case Le:l=b,c=Qw(c);break e;case Ae:l=k;break e;case Fe:l=E,c=null;break e}var d="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(d+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var p=r?ht(r):null;throw p&&(d+="\n\nCheck the render method of `"+p+"`."),new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(null==e?e:typeof e)+"."+d)}var m=lx(l,n,t,o);return m.elementType=e,m.type=c,m.lanes=i,m._debugOwner=r,m}function fx(e,t,n){var r;r=e._owner;var o=dx(e.type,e.key,e.props,r,t,n);return o._debugSource=e._source,o._debugOwner=e._owner,o}function px(e,t,n,r){var o=lx(m,e,r,t);return o.lanes=n,o}function mx(e,t,n,r){var o=lx(M,e,r,t);return o.elementType=Ve,o.lanes=n,o.stateNode={isHidden:!1},o}function hx(e,t,n){var r=lx(p,e,null,t);return r.lanes=n,r}function vx(e,t,n){var r=null!==e.children?e.children:[],o=lx(d,r,e.key,t);return o.lanes=n,o.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},o}function yx(e,t){return null===e&&(e=lx(u,null,null,aa)),e.tag=t.tag,e.key=t.key,e.elementType=t.elementType,e.type=t.type,e.stateNode=t.stateNode,e.return=t.return,e.child=t.child,e.sibling=t.sibling,e.index=t.index,e.ref=t.ref,e.pendingProps=t.pendingProps,e.memoizedProps=t.memoizedProps,e.updateQueue=t.updateQueue,e.memoizedState=t.memoizedState,e.dependencies=t.dependencies,e.mode=t.mode,e.flags=t.flags,e.subtreeFlags=t.subtreeFlags,e.deletions=t.deletions,e.lanes=t.lanes,e.childLanes=t.childLanes,e.alternate=t.alternate,e.actualDuration=t.actualDuration,e.actualStartTime=t.actualStartTime,e.selfBaseDuration=t.selfBaseDuration,e.treeBaseDuration=t.treeBaseDuration,e._debugSource=t._debugSource,e._debugOwner=t._debugOwner,e._debugNeedsRemount=t._debugNeedsRemount,e._debugHookTypes=t._debugHookTypes,e}function gx(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=bc,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=ha,this.eventTimes=bi(ma),this.expirationTimes=bi(Ja),this.pendingLanes=ma,this.suspendedLanes=ma,this.pingedLanes=ma,this.expiredLanes=ma,this.mutableReadLanes=ma,this.finishedLanes=ma,this.entangledLanes=ma,this.entanglements=bi(ma),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0,this.memoizedUpdaters=new Set;for(var a=this.pendingUpdatersLaneMap=[],i=0;i<pa;i++)a.push(new Set);switch(t){case Ed:this._debugRootType=n?"hydrateRoot()":"createRoot()";break;case Sd:this._debugRootType=n?"hydrate()":"render()"}}function bx(e,t,n,r,o,a,i,l,s,u){var d=new gx(e,t,n,l,s),f=function(e,t){var n;return e===Ed?(n=ia,!0===t&&(n|=sa,n|=ua)):n=aa,Wo&&(n|=la),lx(c,null,null,n)}(t,a);d.current=f,f.stateNode=d;var p={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null};return f.memoizedState=p,kp(f),d}var wx,xx,kx="18.3.1";function Sx(e,t,n){var r,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return ee(r=o)&&(a("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Z(r)),te(r)),{$$typeof:Re,key:null==o?null:""+o,children:e,containerInfo:t,implementation:n}}function Ex(e){if(!e)return ld;var t=$r(e),n=kd(t);if(t.tag===s){var r=t.type;if(hd(r))return bd(t,r,n)}return n}function Cx(e,t,n,r,o,a,i,l){return bx(e,t,!1,null,0,r,0,a,i)}function Tx(e,t,n,r,o,a,i,l,s,u){var c=bx(n,r,!0,e,0,a,0,l,s);c.context=Ex(null);var d=c.current,f=Qb(),p=Xb(d),m=Ep(f,p);return m.callback=null!=t?t:null,Cp(d,m,p),function(e,t,n){e.current.lanes=t,wi(e,t,n),ew(e,n)}(c,p,f),c}function Ox(e,t,n,r){!function(e,t){if(Vo&&"function"==typeof Vo.onScheduleFiberRoot)try{Vo.onScheduleFiberRoot(Fo,e,t)}catch(e){Bo||(Bo=!0,a("React instrumentation encountered an error: %s",e))}}(t,e);var o=t.current,i=Qb(),l=Xb(o);!function(e){null!==Uo&&"function"==typeof Uo.markRenderScheduled&&Uo.markRenderScheduled(e)}(l);var s=Ex(n);null===t.context?t.context=s:t.pendingContext=s,gt&&null!==yt&&!wx&&(wx=!0,a("Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.\n\nCheck the render method of %s.",ht(yt)||"Unknown"));var u=Ep(i,l);u.payload={element:e},null!==(r=void 0===r?null:r)&&("function"!=typeof r&&a("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",r),u.callback=r);var c=Cp(o,u,l);return null!==c&&(Zb(c,o,l,i),Tp(c,o,l)),l}function _x(e){var t=e.current;return t.child?(t.child.tag,t.child.stateNode):null}function Nx(e,t){var n,r,o=e.memoizedState;null!==o&&null!==o.dehydrated&&(o.retryLane=(r=t,(n=o.retryLane)!==ha&&n<r?n:r))}function Rx(e,t){Nx(e,t);var n=e.alternate;n&&Nx(n,t)}function Mx(e){var t=Co(e);return null===t?null:t.stateNode}wx=!1,xx={};var Px,Dx,Ix,jx,Lx,zx,$x,Ax,Fx,Vx=function(e){return null},Ux=function(e){return!1},Bx=function(e,t,n){var r=t[n],o=Xt(e)?e.slice():Je({},e);return n+1===t.length?(Xt(o)?o.splice(r,1):delete o[r],o):(o[r]=Bx(e[r],t,n+1),o)},Wx=function(e,t){return Bx(e,t,0)},Hx=function(e,t,n,r){var o=t[r],a=Xt(e)?e.slice():Je({},e);return r+1===t.length?(a[n[r]]=a[o],Xt(a)?a.splice(o,1):delete a[o]):a[o]=Hx(e[o],t,n,r+1),a},qx=function(e,t,n){if(t.length===n.length){for(var r=0;r<n.length-1;r++)if(t[r]!==n[r])return void o("copyWithRename() expects paths to be the same except for the deepest key");return Hx(e,t,n,0)}o("copyWithRename() expects paths of the same length")},Yx=function(e,t,n,r){if(n>=t.length)return r;var o=t[n],a=Xt(e)?e.slice():Je({},e);return a[o]=Yx(e[o],t,n+1,r),a},Kx=function(e,t,n){return Yx(e,t,0,n)},Gx=function(e,t){for(var n=e.memoizedState;null!==n&&t>0;)n=n.next,t--;return n};function Qx(e){var t=So(e);return null===t?null:t.stateNode}function Xx(e){return null}function Jx(){return yt}Px=function(e,t,n,r){var o=Gx(e,t);if(null!==o){var a=Kx(o.memoizedState,n,r);o.memoizedState=a,o.baseState=a,e.memoizedProps=Je({},e.memoizedProps);var i=fp(e,va);null!==i&&Zb(i,e,va,Ja)}},Dx=function(e,t,n){var r=Gx(e,t);if(null!==r){var o=Wx(r.memoizedState,n);r.memoizedState=o,r.baseState=o,e.memoizedProps=Je({},e.memoizedProps);var a=fp(e,va);null!==a&&Zb(a,e,va,Ja)}},Ix=function(e,t,n,r){var o=Gx(e,t);if(null!==o){var a=qx(o.memoizedState,n,r);o.memoizedState=a,o.baseState=a,e.memoizedProps=Je({},e.memoizedProps);var i=fp(e,va);null!==i&&Zb(i,e,va,Ja)}},jx=function(e,t,n){e.pendingProps=Kx(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var r=fp(e,va);null!==r&&Zb(r,e,va,Ja)},Lx=function(e,t){e.pendingProps=Wx(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var n=fp(e,va);null!==n&&Zb(n,e,va,Ja)},zx=function(e,t,n){e.pendingProps=qx(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var r=fp(e,va);null!==r&&Zb(r,e,va,Ja)},$x=function(e){var t=fp(e,va);null!==t&&Zb(t,e,va,Ja)},Ax=function(e){Vx=e},Fx=function(e){Ux=e};var Zx="function"==typeof reportError?reportError:function(e){console.error(e)};function ek(e){this._internalRoot=e}function tk(e){this._internalRoot=e}function nk(e){return!(!e||e.nodeType!==yn&&e.nodeType!==wn&&e.nodeType!==xn&&F)}function rk(e){return!(!e||e.nodeType!==yn&&e.nodeType!==wn&&e.nodeType!==xn&&(e.nodeType!==bn||" react-mount-point-unstable "!==e.nodeValue))}function ok(e){e.nodeType===yn&&e.tagName&&"BODY"===e.tagName.toUpperCase()&&a("createRoot(): Creating roots directly with document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try using a container element created for your app."),Wc(e)&&(e._reactRootContainer?a("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):a("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}tk.prototype.render=ek.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw new Error("Cannot update an unmounted root.");"function"==typeof arguments[1]?a("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):nk(arguments[1])?a("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):void 0!==arguments[1]&&a("You passed a second argument to root.render(...) but it only accepts one argument.");var n=t.containerInfo;if(n.nodeType!==bn){var r=Mx(t.current);r&&r.parentNode!==n&&a("render(...): It looks like the React-rendered content of the root container was removed without using React. This is not supported and will cause errors. Instead, call root.unmount() to empty a root's container.")}Ox(e,t,null,null)},tk.prototype.unmount=ek.prototype.unmount=function(){"function"==typeof arguments[0]&&a("unmount(...): does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;sw()&&a("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),lw((function(){Ox(null,e,null,null)})),Bc(t)}},tk.prototype.unstable_scheduleHydration=function(e){e&&function(e){for(var t=_i(),n={blockedOn:null,target:e,priority:t},r=0;r<Ki.length&&zi(t,Ki[r].priority);r++);Ki.splice(r,0,n),0===r&&Ji(n)}(e)};var ak,ik=n.ReactCurrentOwner;function lk(e){return e?e.nodeType===wn?e.documentElement:e.firstChild:null}function sk(){}function uk(e,t,n,r,o){ak(n),function(e){null!==e&&"function"!=typeof e&&a("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.","render",e)}(void 0===o?null:o);var i,l=n._reactRootContainer;if(l){if("function"==typeof o){var s=o;o=function(){var e=_x(i);s.call(e)}}Ox(t,i=l,e,o)}else i=function(e,t,n,r,o){if(o){if("function"==typeof r){var a=r;r=function(){var e=_x(i);a.call(e)}}var i=Tx(t,r,e,Sd,0,!1,0,"",sk);return e._reactRootContainer=i,Uc(i.current,e),mu(e.nodeType===bn?e.parentNode:e),lw(),i}for(var l;l=e.lastChild;)e.removeChild(l);if("function"==typeof r){var s=r;r=function(){var e=_x(u);s.call(e)}}var u=Cx(e,Sd,0,!1,0,"",sk);return e._reactRootContainer=u,Uc(u.current,e),mu(e.nodeType===bn?e.parentNode:e),lw((function(){Ox(t,u,n,r)})),u}(n,t,e,o,r);return _x(i)}ak=function(e){if(e._reactRootContainer&&e.nodeType!==bn){var t=Mx(e._reactRootContainer.current);t&&t.parentNode!==e&&a("render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.")}var n=!!e._reactRootContainer,r=lk(e);!(!r||!qc(r))&&!n&&a("render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."),e.nodeType===yn&&e.tagName&&"BODY"===e.tagName.toUpperCase()&&a("render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.")};var ck,dk,fk=!1,pk=!1;ck=function(e){switch(e.tag){case c:var t=e.stateNode;if(Ai(t)){var n=function(e){return ti(e.pendingLanes)}(t);!function(e,t){t!==ma&&(ki(e,vi(t,va)),ew(e,Mo()),(cb&(tb|nb))===Zg&&(_b(),Rd()))}(t,n)}break;case x:lw((function(){var t=fp(e,va);if(null!==t){var n=Qb();Zb(t,e,va,n)}})),Rx(e,va)}},Ci=ck,function(e){Ti=e}((function(e){if(e.tag===x){var t=qa,n=fp(e,t);null!==n&&Zb(n,e,t,Qb()),Rx(e,t)}})),function(e){Oi=e}((function(e){if(e.tag===x){var t=Xb(e),n=fp(e,t);null!==n&&Zb(n,e,t,Qb()),Rx(e,t)}})),function(e){_i=e}(ji),function(e){Ni=e}((function(e,t){var n=Ii;try{return Ii=e,t()}finally{Ii=n}})),"function"==typeof Map&&null!=Map.prototype&&"function"==typeof Map.prototype.forEach&&"function"==typeof Set&&null!=Set.prototype&&"function"==typeof Set.prototype.clear&&"function"==typeof Set.prototype.forEach||a("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),dk=function(e,t,n){switch(t){case"input":return void Bt(e,n);case"textarea":return void function(e,t){ln(e,t)}(e,n);case"select":return void function(e,t){var n=e,r=t.value;null!=r&&en(n,!!t.multiple,r,!1)}(e,n)}},pr=dk,br=iw,wr=lw;var mk={usingClientEntryPoint:!1,Events:[qc,Yc,Kc,yr,gr,iw]},hk=function(e){var t=e.findFiberByHostInstance,r=n.ReactCurrentDispatcher;return function(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return a("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://reactjs.org/link/react-devtools"),!0;try{B&&(e=Je({},e,{getLaneLabelMap:Yo,injectProfilingHooks:qo})),Fo=t.inject(e),Vo=t}catch(e){a("React instrumentation encountered an error: %s.",e)}return!!t.checkDCE}({bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:Px,overrideHookStateDeletePath:Dx,overrideHookStateRenamePath:Ix,overrideProps:jx,overridePropsDeletePath:Lx,overridePropsRenamePath:zx,setErrorHandler:Ax,setSuspenseHandler:Fx,scheduleUpdate:$x,currentDispatcherRef:r,findHostInstanceByFiber:Qx,findFiberByHostInstance:t||Xx,findHostInstancesForRefresh:rx,scheduleRefresh:Zw,scheduleRoot:ex,setRefreshHandler:Yw,getCurrentFiber:Jx,reconcilerVersion:kx})}({findFiberByHostInstance:Hc,bundleType:1,version:kx,rendererPackageName:"react-dom"});if(!hk&&X&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&-1===navigator.userAgent.indexOf("Edge")||navigator.userAgent.indexOf("Firefox")>-1)){var vk=window.location.protocol;/^(https?|file):$/.test(vk)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+("file:"===vk?"\nYou might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq":""),"font-weight:bold")}N.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=mk,N.createPortal=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!nk(t))throw new Error("Target container is not a DOM element.");return Sx(e,t,null,n)},N.createRoot=function(e,t){return mk.usingClientEntryPoint||a('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),function(e,t){if(!nk(e))throw new Error("createRoot(...): Target container is not a DOM element.");ok(e);var n=!1,r="",i=Zx;null!=t&&(t.hydrate?o("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):"object"==typeof t&&null!==t&&t.$$typeof===Ne&&a("You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:\n\n let root = createRoot(domContainer);\n root.render(<App />);"),!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(i=t.onRecoverableError),void 0!==t.transitionCallbacks&&t.transitionCallbacks);var l=Cx(e,Ed,0,n,0,r,i);return Uc(l.current,e),mu(e.nodeType===bn?e.parentNode:e),new ek(l)}(e,t)},N.findDOMNode=function(e){fk||(fk=!0,a("findDOMNode is deprecated and will be removed in the next major release. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node"));var t=ik.current;return null!==t&&null!==t.stateNode&&(t.stateNode._warnedAboutRefsInRender||a("%s is accessing findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",pt(t.type)||"A component"),t.stateNode._warnedAboutRefsInRender=!0),null==e?null:e.nodeType===yn?e:function(e,t){var n=$r(e);if(void 0===n){if("function"==typeof e.render)throw new Error("Unable to find node on an unmounted component.");var r=Object.keys(e).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+r)}var o=So(n);if(null===o)return null;if(o.mode&sa){var i=ht(n)||"Component";if(!xx[i]){xx[i]=!0;var l=yt;try{kt(o),n.mode&sa?a("%s is deprecated in StrictMode. %s was passed an instance of %s which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,i):a("%s is deprecated in StrictMode. %s was passed an instance of %s which renders StrictMode children. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,i)}finally{l?kt(l):xt()}}}return o.stateNode}(e,"findDOMNode")},N.flushSync=function(e){return sw()&&a("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."),lw(e)},N.hydrate=function(e,t,n){if(a("ReactDOM.hydrate is no longer supported in React 18. Use hydrateRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!rk(t))throw new Error("Target container is not a DOM element.");return Wc(t)&&void 0===t._reactRootContainer&&a("You are calling ReactDOM.hydrate() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call hydrateRoot(container, element)?"),uk(null,e,t,!0,n)},N.hydrateRoot=function(e,t,n){return mk.usingClientEntryPoint||a('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),function(e,t,n){if(!nk(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");ok(e),void 0===t&&a("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var r=null!=n&&n.hydratedSources||null,o=!1,i="",l=Zx;null!=n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(i=n.identifierPrefix),void 0!==n.onRecoverableError&&(l=n.onRecoverableError));var s=Tx(t,null,e,Ed,0,o,0,i,l);if(Uc(s.current,e),mu(e),r)for(var u=0;u<r.length;u++)um(s,r[u]);return new tk(s)}(e,t,n)},N.render=function(e,t,n){if(a("ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!rk(t))throw new Error("Target container is not a DOM element.");return Wc(t)&&void 0===t._reactRootContainer&&a("You are calling ReactDOM.render() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.render(element)?"),uk(null,e,t,!1,n)},N.unmountComponentAtNode=function(e){if(pk||(pk=!0,a("unmountComponentAtNode is deprecated and will be removed in the next major release. Switch to the createRoot API. Learn more: https://reactjs.org/link/switch-to-createroot")),!rk(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");if(Wc(e)&&void 0===e._reactRootContainer&&a("You are calling ReactDOM.unmountComponentAtNode() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.unmount()?"),e._reactRootContainer){var t=lk(e);return t&&!qc(t)&&a("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React."),lw((function(){uk(null,null,e,!1,(function(){e._reactRootContainer=null,Bc(e)}))})),!0}var n=lk(e),r=!(!n||!qc(n)),o=e.nodeType===yn&&rk(e.parentNode)&&!!e.parentNode._reactRootContainer;return r&&a("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",o?"You may have accidentally passed in a React root node instead of its container.":"Instead, have the parent component update its state and rerender in order to remove this component."),!1},N.unstable_batchedUpdates=iw,N.unstable_renderSubtreeIntoContainer=function(e,t,n,r){return function(e,t,n,r){if(a("ReactDOM.unstable_renderSubtreeIntoContainer() is no longer supported in React 18. Consider using a portal instead. Until you switch to the createRoot API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!rk(n))throw new Error("Target container is not a DOM element.");if(null==e||void 0===e._reactInternals)throw new Error("parentComponent must be a valid React Component");return uk(e,t,n,!1,r)}(e,t,n,r)},N.version=kx,"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),N);var R=g.exports,M=l(R);function P(){return(new Date).toISOString()+" ::"}function D(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];"debug"===window.xaLogLevel&&console.log.apply(console,a([P()],e,!1))}function I(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];console.error.apply(console,a([P()],e,!1))}function j(e){return!!e&&"FORM"===e.type}function L(e,t){var r=t.type;switch(r){case"set-query":return n(n({},e),{query:t.query||""});case"set-response":return n(n({},e),{responseQuery:t.query,responseIntentId:t.intentId});case"set-context":return n(n({},e),{context:t.context});case"new-search":return n(n({},e),{query:""});case"set-modal-state":return n(n({},e),{active:t.active,minimized:t.minimized,sendRequest:t.sendRequest});case"toggle-modal-state":var o=e.active,a=e.minimized;return n(n({},e),o||a?{active:!1,minimized:!1,sendRequest:!1}:{active:!0,minimized:!1,sendRequest:!0});default:!function(e){throw new Error("Unknown kind "+e)}(r)}}var z={query:"",active:!1,minimized:!1,sendRequest:!0},$=[z,function(){}],A=v.createContext($),F=function(e){var t=h.useReducer(L,e.initialState||z);return v.createElement(A.Provider,{value:t},e.children)};function V(){return h.useContext(A)}function U(){return V()[0]}var B="ModalDialog-module_xapp_search_modal__WpGiJ",W="ModalDialog-module_xapp_search_modal__backdrop__rryOU",H="ModalDialog-module_xapp_search_modal__body__qK17C",q="ModalDialog-module_xapp_search_opened__jgDSX",Y=function(e){return h.useEffect((function(){return document.body.classList.add(q),function(){document.body.classList.remove(q)}}),[]),v.createElement("div",{className:B},v.createElement("div",{className:W,onClick:e.onClose}),v.createElement("div",{className:H},e.children))},K=function(e){var t=e.icon;return v.createElement("div",{tabIndex:e.tabIndex?Number(e.tabIndex):0,className:"xapp-search-icon-button ".concat(e.className||""),onClick:e.onClick},v.createElement("div",{className:"xapp-search-icon-button__content"},v.createElement(t,null)))},G=function(e){return v.createElement("div",{className:"xappw-message-bubble"},e.children)};var Q=function(e){var t=e.format,n=e.text;return v.createElement("span",{"data-rich-text-type":"bold",className:"xapp-search-rich-text-bold-span"},n.substring(t.start,t.end))},X=function(e){var t=e.format,n=e.text,r=e.readOnly,o=e.onClick,a=t.text||n.substring(t.start,t.end),i=h.useState(a),l=i[0],s=i[1],u=h.useCallback((function(e){s(e.target.value)}),[]),c=h.useCallback((function(e){o&&(!1===o(t)&&(e.preventDefault(),e.stopPropagation()))}),[o,t]);return r?v.createElement("span",{className:"xapp-search-rich-text-input-span xapp-search-rich-text-input-span--readonly",onClick:c},a):v.createElement("input",{type:"text",value:l,className:"xapp-search-rich-text-input-span","data-rich-text-type":"inputText",onChange:u,onClick:c,readOnly:r})},J=function(e){var t=e.format,n=e.text;return v.createElement("span",{"data-rich-text-type":"normal",className:"xapp-search-rich-text-normal-span"},n.substring(t.start,t.end))},Z=function(e){var t=e.format,n=e.text,r=e.readOnly,o=e.onClick,a=t.type;switch(a){case"normal":return v.createElement(J,{text:n,format:t,readOnly:r});case"bold":return v.createElement(Q,{text:n,format:t,readOnly:r});case"inputText":return v.createElement(X,{text:n,format:t,readOnly:r,onClick:o});default:!function(e){throw new Error("Unknown kind "+e)}(a)}};function ee(e){var t=e.childNodes,n=[],r="";return t.forEach((function(e){if(e.nodeType===Node.ELEMENT_NODE){var t=e,o="INPUT"===t.tagName?t.value:t.innerText,a=t.dataset.richTextType;n.push({type:a,start:r.length,end:r.length+o.length}),r+=o}e.nodeType===Node.TEXT_NODE&&((o=e.nodeValue)&&(n.push({type:"normal",start:r.length,end:r.length+o.length}),r+=o))})),function(e){for(var t=e.text,n=[],r=0,o=e.formats;r<o.length;r++){var a=o[r],i=a.type;switch(i){case"normal":continue;case"inputText":n.push(a);break;case"bold":if(n.length>0){var l=n[n.length-1];l.type===i&&l.end===a.start&&(n.pop(),n.push({type:i,start:l.start,end:a.end}))}else n.push(a)}}return{text:t,formats:n}}({text:r,formats:n})}var te=function(e){var t=e.value,n=e.className,r=e.readOnly,o=e.onInput,a=e.onChange,i=e.onSpanClick,l=t.formats,s=t.text,u=h.useMemo((function(){return function(e,t){for(var n=[],r=0,o=0,a=e;o<a.length;o++){var i=a[o],l=i.start,s=i.end,u=i.type,c=i.text;r<l&&n.push({type:"normal",start:r,end:l}),n.push({type:u,start:l,end:s,text:c}),r=s}return r<t&&n.push({type:"normal",start:r,end:t}),n}(l,s.length)}),[l,s.length]),c=h.useCallback((function(e){var t=ee(e.currentTarget);o&&o(t)}),[o]),d=h.useCallback((function(e){var t=e.currentTarget,n=ee(t);!function(e){for(var t,n=[],r=e.childNodes,o=0;o<r.length;o++)(null==(l=r.item(o))?void 0:l.nodeType)===Node.TEXT_NODE&&n.push(l);for(var a=0,i=n;a<i.length;a++){var l=i[a];try{null===(t=l.parentElement)||void 0===t||t.removeChild(l)}catch(e){}}}(t),a&&a(n)}),[a]);return v.createElement("div",{id:e.id,className:"xapp-search-rich-text ".concat(n||""),contentEditable:!r,suppressContentEditableWarning:!0,onInput:c,onBlur:d,onKeyDown:e.onKeyDown},u.map((function(e,t){return v.createElement(Z,{key:t,format:e,text:s,readOnly:r,onClick:i})})))},ne=function(e){var t=e.id,n=e.value,r=e.type,o=e.autoFocus,a=e.spellCheck,i=e.tabIndex,l=e.onChange,s=e.onInput,u=e.onKeyDown,c=e.onSearch,d=n.formats.some((function(e){return"inputText"===e.type})),f=h.useCallback((function(e){l({text:e.target.value,formats:[]})}),[l]),p=h.useCallback((function(e){l(e)}),[l]),m=h.useCallback((function(e){s&&s({text:e.target.value,formats:[]})}),[s]),y=h.useCallback((function(e){s&&s(e)}),[s]),g=h.useCallback((function(e){u&&u(e)}),[u]),b=h.useRef(null),w=b.current;return h.useEffect((function(){if(w&&c){var e=function(e){var t=e.target;t&&c({text:t.value,formats:[]})};return w.addEventListener("search",e),function(){w.removeEventListener("search",e)}}}),[w,c]),v.createElement("div",{className:"xappw-rich-input ".concat(e.className)},d?v.createElement(te,{id:t,value:n,onChange:p,onInput:y,onKeyDown:g,className:"xappw-rich-input__input ".concat(e.className,"__input")}):v.createElement("input",{id:t,ref:b,type:r,value:n.text,autoComplete:"off",autoFocus:o,placeholder:e.placeholder,spellCheck:a,tabIndex:i?Number(i):0,className:"xappw-rich-input__input ".concat(e.className,"__input"),onFocus:e.onFocus,onChange:f,onInput:m,onKeyDown:g}))},re=function(e){return v.createElement("div",{className:"xappw-suggestions-group-heading"},e.label)};function oe(e){var t=Object.keys(e)[0],n=e[t];if(!n)throw new Error;return{type:t,start:n.start,end:n.end}}function ae(e){switch(e){case"FAQ":return"FAQs";case"INTENT":case"HISTORICAL":return"Suggestions";default:return e}}function ie(e,t){if(e){var n=function(e,t){return function(e,t){for(var n,r=0,o=t.length;r<o;r++)!n&&r in t||(n||(n=Array.prototype.slice.call(t,0,r)),n[r]=t[r]);return e.concat(n||Array.prototype.slice.call(t))}([],e).sort((function(e,n){return function(e,t,n){return n*(ue[t.type]-ue[e.type])}(e,n,t)}))}(e.suggestions,t);return n.reduce((function(e,t){var n,r,o={text:(n=t).suggestion,content:n.answer,formats:(r=n.format,r.map(oe)),type:n.type};if(e.length){var a=e[e.length-1];if(a.heading===ae(t.type))return a.items.push(o),e}return e.push({heading:ae(t.type),items:[o]}),e}),[])}}function le(e,t,n,r){return new(n||(n=Promise))((function(t,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function i(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var r;e.done?t(e.value):(r=e.value,r instanceof n?r:new n((function(e){e(r)}))).then(a,i)}l((r=r.apply(e,[])).next())}))}function se(e,t){var n,r,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function l(l){return function(s){return function(l){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,l[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&l[0]?r.return:l[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,l[1])).done)return o;switch(r=0,o&&(l=[2&l[0],o.value]),l[0]){case 0:case 1:o=l;break;case 4:return i.label++,{value:l[1],done:!1};case 5:i.label++,r=l[1],l=[0];continue;case 7:l=i.ops.pop(),i.trys.pop();continue;default:if(!(o=i.trys,(o=o.length>0&&o[o.length-1])||6!==l[0]&&2!==l[0])){i=0;continue}if(3===l[0]&&(!o||l[1]>o[0]&&l[1]<o[3])){i.label=l[1];break}if(6===l[0]&&i.label<o[1]){i.label=o[1],o=l;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(l);break}o[2]&&i.ops.pop(),i.trys.pop();continue}l=t.call(e,i)}catch(e){l=[6,e],r=0}finally{n=o=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([l,s])}}}"function"==typeof SuppressedError&&SuppressedError;var ue=["FAQ","INTENT","HISTORICAL"].reduce((function(e,t,n){return e[t]=n,e}),{});function ce(e,t){var n=new URL(e).searchParams;t.forEach((function(e,t){n.append(t,e)}));var r=new URL(e);return r.search=n.toString(),r}var de={};function fe(){}function pe(e){var t=e.url,n=e.context,r=e.query,o=h.useMemo((function(){if(t){var e=new URLSearchParams;return e.append("size","5"),e.append("queryText",r),(null==n?void 0:n.length)&&e.append("activeContexts",n.join(",")),ce(t,e)}}),[r,n,t]),a=function(e,t){void 0===t&&(t=de);var n=h.useState({state:"paused"}),r=n[0],o=n[1],a=t.pause;return h.useEffect((function(){if(a)return o({state:"paused"}),fe;var t=new AbortController,n=t.signal,r=!0;return function(){le(this,0,void 0,(function(){var t,a,i;return se(this,(function(l){switch(l.label){case 0:return l.trys.push([0,4,,5]),o({state:"fetching"}),[4,fetch(e,{signal:n})];case 1:return t=l.sent(),r?[4,t.json()]:[3,3];case 2:a=l.sent(),t.ok?o({state:"success",data:a}):o({state:"error",error:a}),l.label=3;case 3:return[3,5];case 4:if("AbortError"===(i=l.sent()).name)return o({state:"paused"}),[2];throw i;case 5:return[2]}}))}))}(),function(){r=!1,t.abort()}}),[e,a]),r}(o?"".concat(o.toString()):"",{pause:!r||!t});return a}function me(){var e=(new Date).getTime(),t="xxxxxxxx-xxxx-65xx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){var n=(e+16*Math.random())%16|0;return e=Math.floor(e/16),("x"===t?n:3&n|8).toString(16)}));return t}var he,ve="__xapp_form_user_id",ye=function(){function e(e){this.prefetchSemaphore=Promise.resolve(),this.config=e,this.responseCache={}}return e.getApi=function(t){return he||(he=new e(t),t.prefetchQuery&&he.prefetch(t.prefetchQuery),he)},e.prototype.launchRequest=function(e){return this.send({type:"LAUNCH_REQUEST",rawQuery:e,intentId:"LaunchRequest",platform:"stentor-platform",channel:"form-widget"})},e.prototype.intentRequest=function(e){var t=(null==e?void 0:e.intentId)?void 0:e.query,n=(null==e?void 0:e.intentId)?e.intentId:"NLU_RESULT_PLACEHOLDER";return this.send({type:"INTENT_REQUEST",rawQuery:t,intentId:n,platform:"stentor-platform",channel:"form-widget"})},e.prototype.channelActionRequest=function(e,t){if(this.session){if(this.session.hadFinal)return D("Had final submit. Not sending action request: ".concat(t)),Promise.resolve({});this.session.hadFinal=!!e.final}return this.send({type:"CHANNEL_ACTION_REQUEST",action:t,platform:"stentor-platform",channel:"form-widget",attributes:{data:e}})},e.prototype.resetSession=function(){this.session=void 0},e.prototype.getCachedResponse=function(e){if(e){var t=(new Date).getTime(),n=this.responseCache[e];if(n){if(t-n.ts<9e5)return D('Returning cached response for "'.concat(e,'"')),n.value;D('Deleting expired cached response for "'.concat(e,'"')),delete this.responseCache[e]}}},e.prototype.send=function(e){return r(this,void 0,void 0,(function(){var t,r,a,i,l,s,u,c,d,f,p,m,h,v,y,g,b,w,x;return o(this,(function(o){switch(o.label){case 0:return[4,this.prefetchSemaphore];case 1:return o.sent(),(t=this.getCachedResponse(e.rawQuery))?[2,Promise.resolve(t)]:(r=this.config,a=r.url,i=r.key,l=!this.session,this.session||((s=localStorage.getItem(ve))||(s=me(),localStorage.setItem(ve,s)),this.session={sessionId:"stentor-form-session-".concat(me()),userId:s,hadFinal:!1}),u={},(c=localStorage.getItem("xa_rwg_token"))&&(u.rwg_token=c),(d=localStorage.getItem("xa_merchant_id"))&&(u.merchant_id=d),(f=localStorage.getItem("xa_environment"))&&(u.environment=f),(p=localStorage.getItem("xa_enablePreferredTime"))&&(u.enablePreferredTime=p),(m=localStorage.getItem("xa_service"))&&(u.service=m),h=this.session,v=h.sessionId,y=h.userId,g=n(n({},e),{sessionId:v,userId:y,isNewSession:l,attributes:n(n({},e.attributes),u)}),b=JSON.stringify(g),w={method:"POST",headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(i),"User-Agent":"Stentor Chat Server"},body:b,mode:"cors"},[4,fetch(a,w)]);case 2:return(x=o.sent()).ok?[3,5]:(I("Stentor call failed: ".concat(x.statusText)),[4,(k=1e3,new Promise((function(e){setTimeout(e,k)})))]);case 3:return o.sent(),[4,fetch(a,w)];case 4:if(!(x=o.sent()).ok)throw I("Stentor call failed again: ".concat(x.statusText)),new Error("Status ".concat(x.status,", Text: ").concat(x.statusText));o.label=5;case 5:return[2,x.json()]}var k}))}))},e.prototype.prefetch=function(e){return r(this,void 0,void 0,(function(){var t,a,i,l,s,u,c,d,f,p,m,h,v,y=this;return o(this,(function(g){return this.getCachedResponse(e)||(this.prefetchSemaphore=new Promise((function(e){t=e})),a=this.config,i=a.url,l=a.key,s=!this.session,this.session||((u=localStorage.getItem(ve))||(u=me(),localStorage.setItem(ve,u)),this.session={sessionId:"stentor-form-session-".concat(me()),userId:u,hadFinal:!1}),c=this.session,d=c.sessionId,f=c.userId,p=n(n({},{type:"INTENT_REQUEST",rawQuery:e,intentId:"NLU_RESULT_PLACEHOLDER",platform:"stentor-platform",channel:"form-widget"}),{sessionId:d,userId:f,isNewSession:s}),m=JSON.stringify(p),h={method:"POST",headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(l),"User-Agent":"Stentor Chat Server"},body:m,mode:"cors"},v=(new Date).getTime(),fetch(i,h).then((function(t){return r(y,void 0,void 0,(function(){var n,r,a,i;return o(this,(function(o){switch(o.label){case 0:return t.ok?(n=(new Date).getTime(),r=this.responseCache,a=e,i={ts:n},[4,t.json()]):(I("Stentor prefetch failed: ".concat(t.statusText)),[2]);case 1:return r[a]=(i.value=o.sent(),i),D("Stentor prefetch took: ".concat(n-v," ms")),[2]}}))}))})).finally((function(){t()}))),[2]}))}))},e}();function ge(e){return"string"==typeof e?e:e.title}var be=v.createContext({api:{key:"",url:""},suggestionsUrl:"",isVoiceEnabled:!1,autoGreeting:"schedule"});function we(){var e,t=h.useState(0),n=t[0],r=t[1],o=(e=h.useRef(!1),h.useEffect((function(){return e.current=!0,function(){e.current=!1}}),[]),h.useCallback((function(){return e.current}),[])),a=h.useCallback((function(e){return function(e,t){return t(1),e().finally((function(){t(-1)}))}(e,(function(e){o()&&r((function(t){return t+e}))}))}),[o]);return h.useMemo((function(){return{loading:!!n,run:a}}),[n,a])}function xe(e,t){var n=function(){var e=h.useContext(be);return h.useMemo((function(){if(e.suggestionsUrl)try{var t=new URL(e.suggestionsUrl);if(!new URLSearchParams(t.search).get("key")&&e.api.key){var n=new URLSearchParams(t.search);n.append("key",e.api.key),t=ce(e.suggestionsUrl,n)}return t.toString()}catch(e){console.error("Error parsing suggestions link: ".concat(e))}return""}),[e])}();return pe({query:e,context:t,url:n})}var ke=function(){return v.createElement("svg",{viewBox:"0 0 15 15",xmlns:"http://www.w3.org/2000/svg"},v.createElement("path",{d:"M10 14L3 7.5L10 1",stroke:"currentColor",fill:"none",strokeLinecap:"square"}))},Se=function(){return v.createElement("svg",{viewBox:"0 0 15 15",xmlns:"http://www.w3.org/2000/svg"},v.createElement("path",{d:"M5 14L12 7.5L5 1",stroke:"currentColor",fill:"none",strokeLinecap:"square"}))},Ee=function(){return v.createElement("svg",{fill:"#000000",height:"300px",width:"30px",version:"1.1",id:"Capa_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 382.163 382.163"},v.createElement("g",null,v.createElement("path",{d:"M344.89,215.855c0-50.602-24.567-95.57-62.396-123.618l2.982-5.326l46.258,25.92c1.16,0.65,2.418,0.958,3.659,0.958\n\t\tc2.626,0,5.175-1.381,6.55-3.835c8.883-15.853,11.061-34.216,6.132-51.706c-4.243-15.059-13.327-27.91-25.887-36.864l5.722-10.22\n\t\tc2.023-3.614,0.733-8.185-2.881-10.208c-3.614-2.023-8.184-0.734-10.208,2.88l-5.72,10.216\n\t\tc-31.487-13.349-68.758-1.123-85.857,29.391c-0.972,1.735-1.215,3.786-0.676,5.7s1.817,3.536,3.553,4.509l46.268,25.925\n\t\tl-2.406,4.297c-23.084-13.853-50.078-21.83-78.903-21.83c-28.825,0-55.818,7.977-78.902,21.829l-2.408-4.296l46.269-25.926\n\t\tc3.614-2.025,4.902-6.595,2.877-10.209c-8.883-15.853-23.407-27.297-40.897-32.226c-15.061-4.244-30.765-3.205-44.96,2.833\n\t\tL67.342,3.838c-2.023-3.615-6.593-4.904-10.208-2.881c-3.614,2.023-4.904,6.594-2.881,10.208l5.721,10.22\n\t\tc-12.559,8.954-21.643,21.804-25.886,36.864c-4.929,17.49-2.751,35.854,6.132,51.706c1.375,2.454,3.924,3.835,6.55,3.835\n\t\tc1.241,0,2.5-0.309,3.659-0.958l46.257-25.919l2.984,5.324c-37.83,28.047-62.397,73.016-62.397,123.619\n\t\tc0,45.21,19.61,85.924,50.767,114.091l-9.427,43.114c-0.885,4.047,1.678,8.044,5.725,8.929c0.54,0.118,1.078,0.175,1.609,0.175\n\t\tc3.448,0,6.553-2.393,7.32-5.899l7.818-35.757c25.321,18.332,56.416,29.157,89.996,29.157c33.58,0,64.676-10.825,89.997-29.158\n\t\tl7.818,35.758c0.767,3.507,3.871,5.899,7.319,5.899c0.531,0,1.07-0.057,1.609-0.175c4.046-0.885,6.61-4.882,5.725-8.929\n\t\tl-9.427-43.115C325.281,301.778,344.89,261.065,344.89,215.855z M308.517,30.436c12.357,6.924,21.279,18.246,25.121,31.88\n\t\tc3.155,11.198,2.574,22.853-1.57,33.507l-91.609-51.331C256.211,23.856,285.228,17.387,308.517,30.436z M50.096,95.824\n\t\tc-4.145-10.654-4.726-22.31-1.57-33.507c3.842-13.634,12.763-24.956,25.121-31.88c8.179-4.583,17.064-6.758,25.833-6.758\n\t\tc16.201,0,32.005,7.425,42.225,20.814L50.096,95.824z M52.273,215.855c0-76.54,62.269-138.809,138.809-138.809\n\t\tS329.89,139.315,329.89,215.855s-62.27,138.809-138.809,138.809S52.273,292.394,52.273,215.855z"}),v.createElement("path",{d:"M191.081,107.685c-59.645,0-108.17,48.525-108.17,108.17c0,59.645,48.525,108.17,108.17,108.17\n\t\tc59.646,0,108.17-48.525,108.17-108.17C299.252,156.21,250.727,107.685,191.081,107.685z M191.081,309.025\n\t\tc-51.374,0-93.17-41.796-93.17-93.17c0-51.374,41.796-93.17,93.17-93.17c51.375,0,93.17,41.796,93.17,93.17\n\t\tC284.252,267.229,242.456,309.025,191.081,309.025z"}),v.createElement("path",{d:"M198.585,190.081v-36.262c0-4.142-3.358-7.5-7.5-7.5s-7.5,3.358-7.5,7.5v36.26c-8.784,2.559-15.718,9.492-18.279,18.276\n\t\th-16.941c-4.142,0-7.5,3.358-7.5,7.5s3.358,7.5,7.5,7.5h16.941c3.254,11.165,13.574,19.349,25.775,19.349\n\t\tc14.805,0,26.849-12.044,26.849-26.849C217.93,203.655,209.748,193.337,198.585,190.081z M191.081,227.704\n\t\tc-6.533,0-11.849-5.315-11.849-11.849s5.315-11.849,11.849-11.849c6.534,0,11.849,5.315,11.849,11.849\n\t\tS197.615,227.704,191.081,227.704z"})))},Ce=function(){return v.createElement("svg",{viewBox:"0 0 200 200",fill:"none",xmlns:"http://www.w3.org/2000/svg"},v.createElement("defs",null,v.createElement("linearGradient",{id:"spinner-secondHalf"},v.createElement("stop",{offset:"0%",stopOpacity:"0",stopColor:"currentColor"}),v.createElement("stop",{offset:"100%",stopOpacity:"0.5",stopColor:"currentColor"})),v.createElement("linearGradient",{id:"spinner-firstHalf"},v.createElement("stop",{offset:"0%",stopOpacity:"1",stopColor:"currentColor"}),v.createElement("stop",{offset:"100%",stopOpacity:"0.5",stopColor:"currentColor"}))),v.createElement("g",{strokeWidth:16},v.createElement("path",{stroke:"url(#spinner-secondHalf)",d:"M".concat(8," 100 A").concat(92," ").concat(92," 0 0 1 ").concat(192," 100")}),v.createElement("path",{stroke:"url(#spinner-firstHalf)",d:"M".concat(192," 100 A").concat(92," ").concat(92," 0 0 1 ").concat(8," 100")}),v.createElement("path",{stroke:"currentColor",strokeLinecap:"round",d:"M".concat(8," 100 A").concat(92," ").concat(92," 0 0 1 ").concat(8," ").concat(96)})),v.createElement("animateTransform",{from:"0 0 0",to:"360 0 0",attributeName:"transform",type:"rotate",repeatCount:"indefinite",dur:"1300ms"}))},Te="IconLabel-module_xapp_search_icon_label__L1kw0",Oe=function(e){var t=e.icon;return v.createElement("label",{onClick:e.onClick,htmlFor:e.htmlFor,className:"".concat(Te," ").concat(e.className||"")},v.createElement(t,null))},_e="SearchInput-module_xapp_search_input__bcNwP",Ne="SearchInput-module_xapp_search_input__value__SdenA",Re="SearchInput-module_xapp_search_input__btn__lVlFp",Me=function(){return v.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"40",fill:"white",className:"bi bi-mic",viewBox:"0 0 16 16"},v.createElement("path",{d:"M3.5 6.5A.5.5 0 0 1 4 7v1a4 4 0 0 0 8 0V7a.5.5 0 0 1 1 0v1a5 5 0 0 1-4.5 4.975V15h3a.5.5 0 0 1 0 1h-7a.5.5 0 0 1 0-1h3v-2.025A5 5 0 0 1 3 8V7a.5.5 0 0 1 .5-.5z"}),v.createElement("path",{d:"M10 8a2 2 0 1 1-4 0V3a2 2 0 1 1 4 0v5zM8 0a3 3 0 0 0-3 3v5a3 3 0 0 0 6 0V3a3 3 0 0 0-3-3z"}))},Pe=function(){return v.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"40",fill:"currentColor",className:"bi bi-mic",viewBox:"0 0 16 16"},v.createElement("path",{d:"M3.5 6.5A.5.5 0 0 1 4 7v1a4 4 0 0 0 8 0V7a.5.5 0 0 1 1 0v1a5 5 0 0 1-4.5 4.975V15h3a.5.5 0 0 1 0 1h-7a.5.5 0 0 1 0-1h3v-2.025A5 5 0 0 1 3 8V7a.5.5 0 0 1 .5-.5z"}),v.createElement("path",{d:"M10 8a2 2 0 1 1-4 0V3a2 2 0 1 1 4 0v5zM8 0a3 3 0 0 0-3 3v5a3 3 0 0 0 6 0V3a3 3 0 0 0-3-3z"}))},De=function(e){var t=e.value,n=e.autoFocus,r=e.audioOn,o=e.onPrev,a=e.onNext,i=e.onChange,l=e.onCancel,s=e.onSubmit,u=e.onSearch,c=h.useContext(be),d=h.useMemo((function(){return"g-".concat(me())}),[]),f=h.useCallback((function(e){i(e)}),[i]),p=h.useCallback((function(e){u&&u(e)}),[u]),m=h.useState(!1),y=m[0];m[1],h.useEffect((function(){}),[f,s]);var g=h.useCallback((function(e){"ArrowUp"===e.key?(o(),e.preventDefault()):"ArrowDown"===e.key?(a(),e.preventDefault()):"Enter"===e.key?(s(t),e.preventDefault()):"Escape"===e.key&&l&&(l(),e.preventDefault())}),[o,a,l,s,t]);return h.useEffect((function(){}),[r]),c.autoGreeting?v.createElement(v.Fragment,null):v.createElement("div",{className:_e},v.createElement(Oe,{htmlFor:d,className:Re,icon:c.isVoiceEnabled?y?Me:Pe:Ee,onClick:function(){}}),v.createElement(ne,{id:d,type:"search",value:t,autoFocus:n,onChange:f,onSearch:p,onInput:f,onFocus:e.onFocus,onKeyDown:g,className:Ne,placeholder:c.isVoiceEnabled?"":'Ask for a test. Like "test 1"'}))},Ie=function(e){var t=V(),r=t[0],o=t[1],a=r.query,i=h.useCallback((function(e){o({type:"set-query",query:e.text})}),[o]);return v.createElement(De,n({},e,{value:{text:a,formats:[]},onChange:i}))},je="SearchResponseBubble-module_xapp_search_response_bubble__UtmuK",Le=function(e){return v.createElement("div",{className:je},v.createElement(G,null,e.children))};function ze(e,t){for(var n=-1,r=0,o=t;r<o.length;r++){var a=o[r],i=e.indexOf(a);i>=0&&(n<0||n>=0&&i<n)&&(n=i)}return n}var $e=[":","/"],Ae=["/"],Fe=["?","#"],Ve=["#"],Ue=[function(e){var t=e.indexOf("://");return t<0?t:t+3},function(e){return ze(e,$e)},function(e){return":"!==e.charAt(0)?-1:ze(e,Ae)},function(e){var t=ze(e,Fe);return t>=0?t:e.length},function(e){return ze(e,Ve)}];var Be="/...";function We(e,t){if(!e)return e;if(e.length<t)return e;var n=function(e){for(var t=[],n=e,r=0,o=Ue;r<o.length;r++){var a=o[r],i=Math.max(0,a(n,e)),l=n.substring(0,i);t.push(l),n=n.substring(i)}return n&&t.push(n),t}(e);function r(){return n.join("")}function o(){return r().length>t}function a(e){o()&&(n[e]="")}if(":80"===n[2]&&"http://"===n[0]&&a(2),":443"===n[2]&&"https://"===n[0]&&a(2),a(5),a(4),a(2),a(0),o()){var i=n[3],l=r().length-i.length,s=t-l;if(s<0)n[3]="";else if(s<i.length){var u=i.length-s+4;n[3]=Be+i.substring(u)}}return r()}var He="Card-module_xapp_search_card__9iVCv",qe="Card-module_xapp_search_card__featured__CX-L0",Ye="Card-module_xapp_search_card__featured_box__1fV9y",Ke="Card-module_xapp_search_card__img__KJ1s3",Ge="Card-module_xapp_search_card__content__dathl",Qe="Card-module_xapp_search_card__link__DNSSb",Xe="Card-module_xapp_search_card__title__ddR3K",Je="Card-module_xapp_search_card__description__MruSU",Ze=function(e){var t,n,r,o=e.item,a=null===(t=o.image)||void 0===t?void 0:t.url;return v.createElement("div",{className:"".concat(He," ").concat(e.className||"")},!!a&&v.createElement("div",{className:qe},v.createElement("div",{className:Ye},v.createElement("img",{src:null===(n=o.image)||void 0===n?void 0:n.url,className:Ke,alt:null===(r=o.image)||void 0===r?void 0:r.accessibilityText}))),v.createElement("div",{className:Ge},!!o.url&&v.createElement("a",{href:o.url,className:Xe},o.title),!!o.url&&v.createElement("div",{className:Qe},We(o.url,40)),v.createElement("div",{className:Je},o.description)))},et="Carousel-module_xapp_search_carousel__NZTGa",tt="Carousel-module_xapp_search_carousel__prev__BdNo-",nt="Carousel-module_xapp_search_carousel__next__udR98",rt="Carousel-module_xapp_search_carousel__items__gRPzO",ot="Carousel-module_xapp_search_carousel__content__EoqyB",at="CarouselItem-module_xapp_search_carousel_item__xNpwo",it=function(e){return v.createElement("div",{className:"".concat(at," ").concat(e.className||"")},e.children)},lt=function(e){var t=e.list,n=h.useRef(null),r=h.useCallback((function(e){var t=n.current;if(t)for(var r=t.getElementsByClassName("xapp_search_carousel-item"),o=t.getBoundingClientRect(),a=r.length,i=0;i<a;i++){var l=r.item(i);if(l){var s=l.getBoundingClientRect(),u=e({position:s.left-o.left,size:s.width});if(void 0!==u)return void(t.scrollLeft+=u)}}}),[]),o=h.useCallback((function(){var e;r((function(t){if(t.position>-10)return e;e=t.position}))}),[r]),a=h.useCallback((function(){r((function(e){if(e.position>10)return e.position}))}),[r]);return v.createElement("div",{className:et},v.createElement(K,{icon:ke,className:tt,onClick:o}),v.createElement("div",{ref:n,className:rt},t.items.map((function(e,t){return v.createElement(it,{key:t},v.createElement(Ze,{item:e,className:ot}))}))),v.createElement(K,{icon:Se,className:nt,onClick:a}))},st=function(e){var t=e.carousel;return v.createElement("div",null,v.createElement(lt,{list:t}))},ut="Cards-module_xapp_search_cards__aeR3S",ct=function(e){var t=e.list;return v.createElement("div",{className:ut},t.items.map((function(e,t){return v.createElement(Ze,{key:t,item:e})})))},dt=function(e){var t=e.list,n=null==t?void 0:t.title;return v.createElement("div",null,n?v.createElement(re,{label:n}):v.createElement(v.Fragment,null),v.createElement(ct,{list:t}))};function ft(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}function pt(){return pt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},pt.apply(null,arguments)}var mt,ht={exports:{}},vt={exports:{}},yt={};var gt,bt,wt,xt,kt,St,Et,Ct,Tt,Ot,_t,Nt,Rt,Mt,Pt={};function Dt(){return bt||(bt=1,"production"===process.env.NODE_ENV?vt.exports=function(){if(mt)return yt;mt=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,s=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,c=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,h=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,y=e?Symbol.for("react.responder"):60118,g=e?Symbol.for("react.scope"):60119;function b(e){if("object"==typeof e&&null!==e){var f=e.$$typeof;switch(f){case t:switch(e=e.type){case s:case u:case r:case a:case o:case d:return e;default:switch(e=e&&e.$$typeof){case l:case c:case m:case p:case i:return e;default:return f}}case n:return f}}}function w(e){return b(e)===u}return yt.AsyncMode=s,yt.ConcurrentMode=u,yt.ContextConsumer=l,yt.ContextProvider=i,yt.Element=t,yt.ForwardRef=c,yt.Fragment=r,yt.Lazy=m,yt.Memo=p,yt.Portal=n,yt.Profiler=a,yt.StrictMode=o,yt.Suspense=d,yt.isAsyncMode=function(e){return w(e)||b(e)===s},yt.isConcurrentMode=w,yt.isContextConsumer=function(e){return b(e)===l},yt.isContextProvider=function(e){return b(e)===i},yt.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},yt.isForwardRef=function(e){return b(e)===c},yt.isFragment=function(e){return b(e)===r},yt.isLazy=function(e){return b(e)===m},yt.isMemo=function(e){return b(e)===p},yt.isPortal=function(e){return b(e)===n},yt.isProfiler=function(e){return b(e)===a},yt.isStrictMode=function(e){return b(e)===o},yt.isSuspense=function(e){return b(e)===d},yt.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===u||e===a||e===o||e===d||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===p||e.$$typeof===i||e.$$typeof===l||e.$$typeof===c||e.$$typeof===v||e.$$typeof===y||e.$$typeof===g||e.$$typeof===h)},yt.typeOf=b,yt}():vt.exports=(gt||(gt=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,s=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,c=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,h=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,y=e?Symbol.for("react.responder"):60118,g=e?Symbol.for("react.scope"):60119;function b(e){if("object"==typeof e&&null!==e){var f=e.$$typeof;switch(f){case t:var h=e.type;switch(h){case s:case u:case r:case a:case o:case d:return h;default:var v=h&&h.$$typeof;switch(v){case l:case c:case m:case p:case i:return v;default:return f}}case n:return f}}}var w=s,x=u,k=l,S=i,E=t,C=c,T=r,O=m,_=p,N=n,R=a,M=o,P=d,D=!1;function I(e){return b(e)===u}Pt.AsyncMode=w,Pt.ConcurrentMode=x,Pt.ContextConsumer=k,Pt.ContextProvider=S,Pt.Element=E,Pt.ForwardRef=C,Pt.Fragment=T,Pt.Lazy=O,Pt.Memo=_,Pt.Portal=N,Pt.Profiler=R,Pt.StrictMode=M,Pt.Suspense=P,Pt.isAsyncMode=function(e){return D||(D=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),I(e)||b(e)===s},Pt.isConcurrentMode=I,Pt.isContextConsumer=function(e){return b(e)===l},Pt.isContextProvider=function(e){return b(e)===i},Pt.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Pt.isForwardRef=function(e){return b(e)===c},Pt.isFragment=function(e){return b(e)===r},Pt.isLazy=function(e){return b(e)===m},Pt.isMemo=function(e){return b(e)===p},Pt.isPortal=function(e){return b(e)===n},Pt.isProfiler=function(e){return b(e)===a},Pt.isStrictMode=function(e){return b(e)===o},Pt.isSuspense=function(e){return b(e)===d},Pt.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===u||e===a||e===o||e===d||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===p||e.$$typeof===i||e.$$typeof===l||e.$$typeof===c||e.$$typeof===v||e.$$typeof===y||e.$$typeof===g||e.$$typeof===h)},Pt.typeOf=b}()),Pt)),vt.exports}function It(){if(xt)return wt;xt=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;return wt=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(r,o){for(var a,i,l=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(r),s=1;s<arguments.length;s++){for(var u in a=Object(arguments[s]))t.call(a,u)&&(l[u]=a[u]);if(e){i=e(a);for(var c=0;c<i.length;c++)n.call(a,i[c])&&(l[i[c]]=a[i[c]])}}return l},wt}function jt(){if(St)return kt;St=1;return kt="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function Lt(){return Ct?Et:(Ct=1,Et=Function.call.bind(Object.prototype.hasOwnProperty))}if("production"!==process.env.NODE_ENV){var zt=Dt();ht.exports=function(){if(Nt)return _t;Nt=1;var e=Dt(),t=It(),n=jt(),r=Lt(),o=function(){if(Ot)return Tt;Ot=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=jt(),n={},r=Lt();e=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function o(o,a,i,l,s){if("production"!==process.env.NODE_ENV)for(var u in o)if(r(o,u)){var c;try{if("function"!=typeof o[u]){var d=Error((l||"React class")+": "+i+" type `"+u+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof o[u]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name="Invariant Violation",d}c=o[u](a,u,l,i,null,t)}catch(e){c=e}if(!c||c instanceof Error||e((l||"React class")+": type specification of "+i+" `"+u+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof c+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),c instanceof Error&&!(c.message in n)){n[c.message]=!0;var f=s?s():"";e("Failed "+i+" type: "+c.message+(null!=f?f:""))}}}return o.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(n={})},Tt=o}(),a=function(){};function i(){return null}return"production"!==process.env.NODE_ENV&&(a=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}),_t=function(l,s){var u="function"==typeof Symbol&&Symbol.iterator,c="@@iterator",d="<<anonymous>>",f={array:v("array"),bigint:v("bigint"),bool:v("boolean"),func:v("function"),number:v("number"),object:v("object"),string:v("string"),symbol:v("symbol"),any:h(i),arrayOf:function(e){return h((function(t,r,o,a,i){if("function"!=typeof e)return new m("Property `"+i+"` of component `"+o+"` has invalid PropType notation inside arrayOf.");var l=t[r];if(!Array.isArray(l))return new m("Invalid "+a+" `"+i+"` of type `"+b(l)+"` supplied to `"+o+"`, expected an array.");for(var s=0;s<l.length;s++){var u=e(l,s,o,a,i+"["+s+"]",n);if(u instanceof Error)return u}return null}))},element:h((function(e,t,n,r,o){var a=e[t];return l(a)?null:new m("Invalid "+r+" `"+o+"` of type `"+b(a)+"` supplied to `"+n+"`, expected a single ReactElement.")})),elementType:h((function(t,n,r,o,a){var i=t[n];return e.isValidElementType(i)?null:new m("Invalid "+o+" `"+a+"` of type `"+b(i)+"` supplied to `"+r+"`, expected a single ReactElement type.")})),instanceOf:function(e){return h((function(t,n,r,o,a){if(!(t[n]instanceof e)){var i=e.name||d;return new m("Invalid "+o+" `"+a+"` of type `"+((l=t[n]).constructor&&l.constructor.name?l.constructor.name:d)+"` supplied to `"+r+"`, expected instance of `"+i+"`.")}var l;return null}))},node:h((function(e,t,n,r,o){return g(e[t])?null:new m("Invalid "+r+" `"+o+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return h((function(t,o,a,i,l){if("function"!=typeof e)return new m("Property `"+l+"` of component `"+a+"` has invalid PropType notation inside objectOf.");var s=t[o],u=b(s);if("object"!==u)return new m("Invalid "+i+" `"+l+"` of type `"+u+"` supplied to `"+a+"`, expected an object.");for(var c in s)if(r(s,c)){var d=e(s,c,a,i,l+"."+c,n);if(d instanceof Error)return d}return null}))},oneOf:function(e){return Array.isArray(e)?h((function(t,n,r,o,a){for(var i=t[n],l=0;l<e.length;l++)if(p(i,e[l]))return null;var s=JSON.stringify(e,(function(e,t){return"symbol"===w(t)?String(t):t}));return new m("Invalid "+o+" `"+a+"` of value `"+String(i)+"` supplied to `"+r+"`, expected one of "+s+".")})):("production"!==process.env.NODE_ENV&&a(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),i)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&a("Invalid argument supplied to oneOfType, expected an instance of array."),i;for(var t=0;t<e.length;t++){var o=e[t];if("function"!=typeof o)return a("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+x(o)+" at index "+t+"."),i}return h((function(t,o,a,i,l){for(var s=[],u=0;u<e.length;u++){var c=(0,e[u])(t,o,a,i,l,n);if(null==c)return null;c.data&&r(c.data,"expectedType")&&s.push(c.data.expectedType)}return new m("Invalid "+i+" `"+l+"` supplied to `"+a+"`"+(s.length>0?", expected one of type ["+s.join(", ")+"]":"")+".")}))},shape:function(e){return h((function(t,r,o,a,i){var l=t[r],s=b(l);if("object"!==s)return new m("Invalid "+a+" `"+i+"` of type `"+s+"` supplied to `"+o+"`, expected `object`.");for(var u in e){var c=e[u];if("function"!=typeof c)return y(o,a,i,u,w(c));var d=c(l,u,o,a,i+"."+u,n);if(d)return d}return null}))},exact:function(e){return h((function(o,a,i,l,s){var u=o[a],c=b(u);if("object"!==c)return new m("Invalid "+l+" `"+s+"` of type `"+c+"` supplied to `"+i+"`, expected `object`.");var d=t({},o[a],e);for(var f in d){var p=e[f];if(r(e,f)&&"function"!=typeof p)return y(i,l,s,f,w(p));if(!p)return new m("Invalid "+l+" `"+s+"` key `"+f+"` supplied to `"+i+"`.\nBad object: "+JSON.stringify(o[a],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var h=p(u,f,i,l,s+"."+f,n);if(h)return h}return null}))}};function p(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function m(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function h(e){if("production"!==process.env.NODE_ENV)var t={},r=0;function o(o,i,l,u,c,f,p){if(u=u||d,f=f||l,p!==n){if(s){var h=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw h.name="Invariant Violation",h}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var v=u+":"+l;!t[v]&&r<3&&(a("You are manually calling a React.PropTypes validation function for the `"+f+"` prop on `"+u+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),t[v]=!0,r++)}}return null==i[l]?o?null===i[l]?new m("The "+c+" `"+f+"` is marked as required in `"+u+"`, but its value is `null`."):new m("The "+c+" `"+f+"` is marked as required in `"+u+"`, but its value is `undefined`."):null:e(i,l,u,c,f)}var i=o.bind(null,!1);return i.isRequired=o.bind(null,!0),i}function v(e){return h((function(t,n,r,o,a,i){var l=t[n];return b(l)!==e?new m("Invalid "+o+" `"+a+"` of type `"+w(l)+"` supplied to `"+r+"`, expected `"+e+"`.",{expectedType:e}):null}))}function y(e,t,n,r,o){return new m((e||"React class")+": "+t+" type `"+n+"."+r+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+o+"`.")}function g(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(g);if(null===e||l(e))return!0;var t=function(e){var t=e&&(u&&e[u]||e[c]);if("function"==typeof t)return t}(e);if(!t)return!1;var n,r=t.call(e);if(t!==e.entries){for(;!(n=r.next()).done;)if(!g(n.value))return!1}else for(;!(n=r.next()).done;){var o=n.value;if(o&&!g(o[1]))return!1}return!0;default:return!1}}function b(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function w(e){if(null==e)return""+e;var t=b(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function x(e){var t=w(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return m.prototype=Error.prototype,f.checkPropTypes=o,f.resetWarningCache=o.resetWarningCache,f.PropTypes=f,f},_t}()(zt.isElement,!0)}else ht.exports=function(){if(Mt)return Rt;Mt=1;var e=jt();function t(){}function n(){}return n.resetWarningCache=t,Rt=function(){function r(t,n,r,o,a,i){if(i!==e){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function o(){return r}r.isRequired=r;var a={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:o,element:r,elementType:r,instanceOf:o,node:r,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:n,resetWarningCache:t};return a.PropTypes=a,a},Rt}()();var $t=l(ht.exports);function At(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=At(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Ft(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=At(e))&&(r&&(r+=" "),r+=t);return r}function Vt(e,t,n=void 0){const r={};return Object.keys(e).forEach((o=>{r[o]=e[o].reduce(((e,r)=>{if(r){const o=t(r);""!==o&&e.push(o),n&&n[r]&&e.push(n[r])}return e}),[]).join(" ")})),r}var Ut={},Bt={exports:{}};!function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports}(Bt);var Wt=Bt.exports;function Ht(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;e<arguments.length;e+=1)t+="&args[]="+encodeURIComponent(arguments[e]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}var qt=s(Object.freeze({__proto__:null,default:Ht}));function Yt(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}var Kt=s(Object.freeze({__proto__:null,default:Yt})),Gt=Wt;Object.defineProperty(Ut,"__esModule",{value:!0});var Qt=Ut.alpha=cn;Ut.blend=function(e,t,n,r=1){const o=(e,t)=>Math.round((e**(1/r)*(1-n)+t**(1/r)*n)**r),a=on(e),i=on(t),l=[o(a.values[0],i.values[0]),o(a.values[1],i.values[1]),o(a.values[2],i.values[2])];return ln({type:"rgb",values:l})},Ut.colorChannel=void 0;var Xt=Ut.darken=dn;Ut.decomposeColor=on,Ut.emphasize=pn;var Jt=Ut.getContrastRatio=function(e,t){const n=un(e),r=un(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)};Ut.getLuminance=un,Ut.hexToRgb=rn,Ut.hslToRgb=sn;var Zt=Ut.lighten=fn;Ut.private_safeAlpha=function(e,t,n){try{return cn(e,t)}catch(t){return n&&"production"!==process.env.NODE_ENV&&console.warn(n),e}},Ut.private_safeColorChannel=void 0,Ut.private_safeDarken=function(e,t,n){try{return dn(e,t)}catch(t){return n&&"production"!==process.env.NODE_ENV&&console.warn(n),e}},Ut.private_safeEmphasize=function(e,t,n){try{return pn(e,t)}catch(t){return n&&"production"!==process.env.NODE_ENV&&console.warn(n),e}},Ut.private_safeLighten=function(e,t,n){try{return fn(e,t)}catch(t){return n&&"production"!==process.env.NODE_ENV&&console.warn(n),e}},Ut.recomposeColor=ln,Ut.rgbToHex=function(e){if(0===e.indexOf("#"))return e;const{values:t}=on(e);return`#${t.map(((e,t)=>function(e){const t=e.toString(16);return 1===t.length?`0${t}`:t}(3===t?Math.round(255*e):e))).join("")}`};var en=Gt(qt),tn=Gt(Kt);function nn(e,t=0,n=1){return"production"!==process.env.NODE_ENV&&(e<t||e>n)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${n}].`),(0,tn.default)(e,t,n)}function rn(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map((e=>e+e))),n?`rgb${4===n.length?"a":""}(${n.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}function on(e){if(e.type)return e;if("#"===e.charAt(0))return on(rn(e));const t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error("production"!==process.env.NODE_ENV?`MUI: Unsupported \`${e}\` color.\nThe following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:(0,en.default)(9,e));let r,o=e.substring(t+1,e.length-1);if("color"===n){if(o=o.split(" "),r=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(r))throw new Error("production"!==process.env.NODE_ENV?`MUI: unsupported \`${r}\` color space.\nThe following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:(0,en.default)(10,r))}else o=o.split(",");return o=o.map((e=>parseFloat(e))),{type:n,values:o,colorSpace:r}}const an=e=>{const t=on(e);return t.values.slice(0,3).map(((e,n)=>-1!==t.type.indexOf("hsl")&&0!==n?`${e}%`:e)).join(" ")};Ut.colorChannel=an;function ln(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return-1!==t.indexOf("rgb")?r=r.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`,`${t}(${r})`}function sn(e){e=on(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,a=r*Math.min(o,1-o),i=(e,t=(e+n/30)%12)=>o-a*Math.max(Math.min(t-3,9-t,1),-1);let l="rgb";const s=[Math.round(255*i(0)),Math.round(255*i(8)),Math.round(255*i(4))];return"hsla"===e.type&&(l+="a",s.push(t[3])),ln({type:l,values:s})}function un(e){let t="hsl"===(e=on(e)).type||"hsla"===e.type?on(sn(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function cn(e,t){return e=on(e),t=nn(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,ln(e)}function dn(e,t){if(e=on(e),t=nn(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return ln(e)}function fn(e,t){if(e=on(e),t=nn(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return ln(e)}function pn(e,t=.15){return un(e)>.5?dn(e,t):fn(e,t)}function mn(e){if("string"!=typeof e)throw new Error("production"!==process.env.NODE_ENV?"MUI: `capitalize(string)` expects a string argument.":Ht(7));return e.charAt(0).toUpperCase()+e.slice(1)}Ut.private_safeColorChannel=(e,t)=>{try{return an(e)}catch(n){return t&&"production"!==process.env.NODE_ENV&&console.warn(t),e}};var hn=Object.freeze({__proto__:null,default:mn});function vn(e,t){const n=pt({},t);return Object.keys(e).forEach((r=>{if(r.toString().match(/^(components|slots)$/))n[r]=pt({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const o=e[r]||{},a=t[r];n[r]={},a&&Object.keys(a)?o&&Object.keys(o)?(n[r]=pt({},a),Object.keys(o).forEach((e=>{n[r][e]=vn(o[e],a[e])}))):n[r]=a:n[r]=o}else void 0===n[r]&&(n[r]=e[r])})),n}var yn,gn={exports:{}},bn={};var wn,xn,kn={};function Sn(){return wn||(wn=1,"production"!==process.env.NODE_ENV&&function(){var e=h,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),l=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.for("react.offscreen"),m=Symbol.iterator,v="@@iterator";var y=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function g(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];!function(e,t,n){var r=y.ReactDebugCurrentFrame,o=r.getStackAddendum();""!==o&&(t+="%s",n=n.concat([o]));var a=n.map((function(e){return String(e)}));a.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,a)}("error",e,n)}var b,w=!1,x=!1,k=!1,S=!1,E=!1;function C(e){return e.displayName||"Context"}function T(e){if(null==e)return null;if("number"==typeof e.tag&&g("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),"function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case r:return"Fragment";case n:return"Portal";case a:return"Profiler";case o:return"StrictMode";case u:return"Suspense";case c:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case l:return C(e)+".Consumer";case i:return C(e._context)+".Provider";case s:return function(e,t,n){var r=e.displayName;if(r)return r;var o=t.displayName||t.name||"";return""!==o?n+"("+o+")":n}(e,e.render,"ForwardRef");case d:var t=e.displayName||null;return null!==t?t:T(e.type)||"Memo";case f:var p=e,m=p._payload,h=p._init;try{return T(h(m))}catch(e){return null}}return null}b=Symbol.for("react.module.reference");var O,_,N,R,M,P,D,I=Object.assign,j=0;function L(){}L.__reactDisabledLog=!0;var z,$=y.ReactCurrentDispatcher;function A(e,t,n){if(void 0===z)try{throw Error()}catch(e){var r=e.stack.trim().match(/\n( *(at )?)/);z=r&&r[1]||""}return"\n"+z+e}var F,V=!1,U="function"==typeof WeakMap?WeakMap:Map;function B(e,t){if(!e||V)return"";var n,r=F.get(e);if(void 0!==r)return r;V=!0;var o,a=Error.prepareStackTrace;Error.prepareStackTrace=void 0,o=$.current,$.current=null,function(){if(0===j){O=console.log,_=console.info,N=console.warn,R=console.error,M=console.group,P=console.groupCollapsed,D=console.groupEnd;var e={configurable:!0,enumerable:!0,value:L,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}j++}();try{if(t){var i=function(){throw Error()};if(Object.defineProperty(i.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(i,[])}catch(e){n=e}Reflect.construct(e,[],i)}else{try{i.call()}catch(e){n=e}e.call(i.prototype)}}else{try{throw Error()}catch(e){n=e}e()}}catch(t){if(t&&n&&"string"==typeof t.stack){for(var l=t.stack.split("\n"),s=n.stack.split("\n"),u=l.length-1,c=s.length-1;u>=1&&c>=0&&l[u]!==s[c];)c--;for(;u>=1&&c>=0;u--,c--)if(l[u]!==s[c]){if(1!==u||1!==c)do{if(u--,--c<0||l[u]!==s[c]){var d="\n"+l[u].replace(" at new "," at ");return e.displayName&&d.includes("<anonymous>")&&(d=d.replace("<anonymous>",e.displayName)),"function"==typeof e&&F.set(e,d),d}}while(u>=1&&c>=0);break}}}finally{V=!1,$.current=o,function(){if(0==--j){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:I({},e,{value:O}),info:I({},e,{value:_}),warn:I({},e,{value:N}),error:I({},e,{value:R}),group:I({},e,{value:M}),groupCollapsed:I({},e,{value:P}),groupEnd:I({},e,{value:D})})}j<0&&g("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=a}var f=e?e.displayName||e.name:"",p=f?A(f):"";return"function"==typeof e&&F.set(e,p),p}function W(e,t,n){if(null==e)return"";if("function"==typeof e)return B(e,!(!(r=e.prototype)||!r.isReactComponent));var r;if("string"==typeof e)return A(e);switch(e){case u:return A("Suspense");case c:return A("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case s:return B(e.render,!1);case d:return W(e.type,t,n);case f:var o=e,a=o._payload,i=o._init;try{return W(i(a),t,n)}catch(e){}}return""}F=new U;var H=Object.prototype.hasOwnProperty,q={},Y=y.ReactDebugCurrentFrame;function K(e){if(e){var t=e._owner,n=W(e.type,e._source,t?t.type:null);Y.setExtraStackFrame(n)}else Y.setExtraStackFrame(null)}var G=Array.isArray;function Q(e){return G(e)}function X(e){return""+e}function J(e){if(function(e){try{return X(e),!1}catch(e){return!0}}(e))return g("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",function(e){return"function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}(e)),X(e)}var Z,ee,te,ne=y.ReactCurrentOwner,re={key:!0,ref:!0,__self:!0,__source:!0};te={};var oe=function(e,n,r,o,a,i,l){var s={$$typeof:t,type:e,key:n,ref:r,props:l,_owner:i,_store:{}};return Object.defineProperty(s._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(s,"_self",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.defineProperty(s,"_source",{configurable:!1,enumerable:!1,writable:!1,value:a}),Object.freeze&&(Object.freeze(s.props),Object.freeze(s)),s};function ae(e,t,n,r,o){var a,i={},l=null,s=null;for(a in void 0!==n&&(J(n),l=""+n),function(e){if(H.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}(t)&&(J(t.key),l=""+t.key),function(e){if(H.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return void 0!==e.ref}(t)&&(s=t.ref,function(e,t){if("string"==typeof e.ref&&ne.current&&t&&ne.current.stateNode!==t){var n=T(ne.current.type);te[n]||(g('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',T(ne.current.type),e.ref),te[n]=!0)}}(t,o)),t)H.call(t,a)&&!re.hasOwnProperty(a)&&(i[a]=t[a]);if(e&&e.defaultProps){var u=e.defaultProps;for(a in u)void 0===i[a]&&(i[a]=u[a])}if(l||s){var c="function"==typeof e?e.displayName||e.name||"Unknown":e;l&&function(e,t){var n=function(){Z||(Z=!0,g("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};n.isReactWarning=!0,Object.defineProperty(e,"key",{get:n,configurable:!0})}(i,c),s&&function(e,t){var n=function(){ee||(ee=!0,g("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};n.isReactWarning=!0,Object.defineProperty(e,"ref",{get:n,configurable:!0})}(i,c)}return oe(e,l,s,o,r,ne.current,i)}var ie,le=y.ReactCurrentOwner,se=y.ReactDebugCurrentFrame;function ue(e){if(e){var t=e._owner,n=W(e.type,e._source,t?t.type:null);se.setExtraStackFrame(n)}else se.setExtraStackFrame(null)}function ce(e){return"object"==typeof e&&null!==e&&e.$$typeof===t}function de(){if(le.current){var e=T(le.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}ie=!1;var fe={};function pe(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var n=function(e){var t=de();if(!t){var n="string"==typeof e?e:e.displayName||e.name;n&&(t="\n\nCheck the top-level render call using <"+n+">.")}return t}(t);if(!fe[n]){fe[n]=!0;var r="";e&&e._owner&&e._owner!==le.current&&(r=" It was passed a child from "+T(e._owner.type)+"."),ue(e),g('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',n,r),ue(null)}}}function me(e,t){if("object"==typeof e)if(Q(e))for(var n=0;n<e.length;n++){var r=e[n];ce(r)&&pe(r,t)}else if(ce(e))e._store&&(e._store.validated=!0);else if(e){var o=function(e){if(null===e||"object"!=typeof e)return null;var t=m&&e[m]||e[v];return"function"==typeof t?t:null}(e);if("function"==typeof o&&o!==e.entries)for(var a,i=o.call(e);!(a=i.next()).done;)ce(a.value)&&pe(a.value,t)}}function he(e){var t,n=e.type;if(null!=n&&"string"!=typeof n){if("function"==typeof n)t=n.propTypes;else{if("object"!=typeof n||n.$$typeof!==s&&n.$$typeof!==d)return;t=n.propTypes}if(t){var r=T(n);!function(e,t,n,r,o){var a=Function.call.bind(H);for(var i in e)if(a(e,i)){var l=void 0;try{if("function"!=typeof e[i]){var s=Error((r||"React class")+": "+n+" type `"+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[i]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw s.name="Invariant Violation",s}l=e[i](t,i,r,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){l=e}!l||l instanceof Error||(K(o),g("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",r||"React class",n,i,typeof l),K(null)),l instanceof Error&&!(l.message in q)&&(q[l.message]=!0,K(o),g("Failed %s type: %s",n,l.message),K(null))}}(t,e.props,"prop",r,e)}else if(void 0!==n.PropTypes&&!ie){ie=!0,g("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",T(n)||"Unknown")}"function"!=typeof n.getDefaultProps||n.getDefaultProps.isReactClassApproved||g("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}var ve={};function ye(e,n,m,h,v,y){var C=function(e){return"string"==typeof e||"function"==typeof e||!!(e===r||e===a||E||e===o||e===u||e===c||S||e===p||w||x||k)||"object"==typeof e&&null!==e&&(e.$$typeof===f||e.$$typeof===d||e.$$typeof===i||e.$$typeof===l||e.$$typeof===s||e.$$typeof===b||void 0!==e.getModuleId)}(e);if(!C){var O="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(O+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var _;O+=de(),null===e?_="null":Q(e)?_="array":void 0!==e&&e.$$typeof===t?(_="<"+(T(e.type)||"Unknown")+" />",O=" Did you accidentally export a JSX literal instead of a component?"):_=typeof e,g("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",_,O)}var N=ae(e,n,m,v,y);if(null==N)return N;if(C){var R=n.children;if(void 0!==R)if(h)if(Q(R)){for(var M=0;M<R.length;M++)me(R[M],e);Object.freeze&&Object.freeze(R)}else g("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else me(R,e)}if(H.call(n,"key")){var P=T(e),D=Object.keys(n).filter((function(e){return"key"!==e})),I=D.length>0?"{key: someKey, "+D.join(": ..., ")+": ...}":"{key: someKey}";if(!ve[P+I])g('A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',I,P,D.length>0?"{"+D.join(": ..., ")+": ...}":"{}",P),ve[P+I]=!0}return e===r?function(e){for(var t=Object.keys(e.props),n=0;n<t.length;n++){var r=t[n];if("children"!==r&&"key"!==r){ue(e),g("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",r),ue(null);break}}null!==e.ref&&(ue(e),g("Invalid attribute `ref` supplied to `React.Fragment`."),ue(null))}(N):he(N),N}var ge=function(e,t,n){return ye(e,t,n,!1)},be=function(e,t,n){return ye(e,t,n,!0)};kn.Fragment=r,kn.jsx=ge,kn.jsxs=be}()),kn}function En(){return xn||(xn=1,"production"===process.env.NODE_ENV?gn.exports=function(){if(yn)return bn;yn=1;var e=h,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function i(e,n,i){var l,s={},u=null,c=null;for(l in void 0!==i&&(u=""+i),void 0!==n.key&&(u=""+n.key),void 0!==n.ref&&(c=n.ref),n)r.call(n,l)&&!a.hasOwnProperty(l)&&(s[l]=n[l]);if(e&&e.defaultProps)for(l in n=e.defaultProps)void 0===s[l]&&(s[l]=n[l]);return{$$typeof:t,type:e,key:u,ref:c,props:s,_owner:o.current}}return bn.Fragment=n,bn.jsx=i,bn.jsxs=i,bn}():gn.exports=Sn()),gn.exports}var Cn=En();const Tn=h.createContext(void 0);function On({props:e,name:t}){return function(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const o=t.components[n];return o.defaultProps?vn(o.defaultProps,r):o.styleOverrides||o.variants?r:vn(o,r)}({props:e,name:t,theme:{components:h.useContext(Tn)}})}function _n(e){return On(e)}"production"!==process.env.NODE_ENV&&($t.node,$t.object),"production"!==process.env.NODE_ENV&&($t.node,$t.object.isRequired);var Nn,Rn={},Mn={exports:{}};var Pn,Dn={exports:{}};function In(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var jn=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Ln=In((function(e){return jn.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));var zn=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy?"production"===process.env.NODE_ENV:e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if("production"!==process.env.NODE_ENV){var n=64===e.charCodeAt(0)&&105===e.charCodeAt(1);n&&this._alreadyInsertedOrderInsensitiveRule&&console.error("You're attempting to insert the following rule:\n"+e+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!n}if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{r.insertRule(e,r.cssRules.length)}catch(t){"production"===process.env.NODE_ENV||/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(e)||console.error('There was a problem inserting the following rule: "'+e+'"',t)}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)})),this.tags=[],this.ctr=0,"production"!==process.env.NODE_ENV&&(this._alreadyInsertedOrderInsensitiveRule=!1)},e}(),$n="-ms-",An="-moz-",Fn="-webkit-",Vn="comm",Un="rule",Bn="decl",Wn="@keyframes",Hn=Math.abs,qn=String.fromCharCode,Yn=Object.assign;function Kn(e){return e.trim()}function Gn(e,t,n){return e.replace(t,n)}function Qn(e,t){return e.indexOf(t)}function Xn(e,t){return 0|e.charCodeAt(t)}function Jn(e,t,n){return e.slice(t,n)}function Zn(e){return e.length}function er(e){return e.length}function tr(e,t){return t.push(e),e}var nr=1,rr=1,or=0,ar=0,ir=0,lr="";function sr(e,t,n,r,o,a,i){return{value:e,root:t,parent:n,type:r,props:o,children:a,line:nr,column:rr,length:i,return:""}}function ur(e,t){return Yn(sr("",null,null,"",null,null,0),e,{length:-e.length},t)}function cr(){return ir=ar>0?Xn(lr,--ar):0,rr--,10===ir&&(rr=1,nr--),ir}function dr(){return ir=ar<or?Xn(lr,ar++):0,rr++,10===ir&&(rr=1,nr++),ir}function fr(){return Xn(lr,ar)}function pr(){return ar}function mr(e,t){return Jn(lr,e,t)}function hr(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function vr(e){return nr=rr=1,or=Zn(lr=e),ar=0,[]}function yr(e){return lr="",e}function gr(e){return Kn(mr(ar-1,xr(91===e?e+2:40===e?e+1:e)))}function br(e){for(;(ir=fr())&&ir<33;)dr();return hr(e)>2||hr(ir)>3?"":" "}function wr(e,t){for(;--t&&dr()&&!(ir<48||ir>102||ir>57&&ir<65||ir>70&&ir<97););return mr(e,pr()+(t<6&&32==fr()&&32==dr()))}function xr(e){for(;dr();)switch(ir){case e:return ar;case 34:case 39:34!==e&&39!==e&&xr(ir);break;case 40:41===e&&xr(e);break;case 92:dr()}return ar}function kr(e,t){for(;dr()&&e+ir!==57&&(e+ir!==84||47!==fr()););return"/*"+mr(t,ar-1)+"*"+qn(47===e?e:dr())}function Sr(e){for(;!hr(fr());)dr();return mr(e,ar)}function Er(e){return yr(Cr("",null,null,null,[""],e=vr(e),0,[0],e))}function Cr(e,t,n,r,o,a,i,l,s){for(var u=0,c=0,d=i,f=0,p=0,m=0,h=1,v=1,y=1,g=0,b="",w=o,x=a,k=r,S=b;v;)switch(m=g,g=dr()){case 40:if(108!=m&&58==Xn(S,d-1)){-1!=Qn(S+=Gn(gr(g),"&","&\f"),"&\f")&&(y=-1);break}case 34:case 39:case 91:S+=gr(g);break;case 9:case 10:case 13:case 32:S+=br(m);break;case 92:S+=wr(pr()-1,7);continue;case 47:switch(fr()){case 42:case 47:tr(Or(kr(dr(),pr()),t,n),s);break;default:S+="/"}break;case 123*h:l[u++]=Zn(S)*y;case 125*h:case 59:case 0:switch(g){case 0:case 125:v=0;case 59+c:-1==y&&(S=Gn(S,/\f/g,"")),p>0&&Zn(S)-d&&tr(p>32?_r(S+";",r,n,d-1):_r(Gn(S," ","")+";",r,n,d-2),s);break;case 59:S+=";";default:if(tr(k=Tr(S,t,n,u,c,o,l,b,w=[],x=[],d),a),123===g)if(0===c)Cr(S,t,k,k,w,a,d,l,x);else switch(99===f&&110===Xn(S,3)?100:f){case 100:case 108:case 109:case 115:Cr(e,k,k,r&&tr(Tr(e,k,k,0,0,o,l,b,o,w=[],d),x),o,x,d,l,r?w:x);break;default:Cr(S,k,k,k,[""],x,0,l,x)}}u=c=p=0,h=y=1,b=S="",d=i;break;case 58:d=1+Zn(S),p=m;default:if(h<1)if(123==g)--h;else if(125==g&&0==h++&&125==cr())continue;switch(S+=qn(g),g*h){case 38:y=c>0?1:(S+="\f",-1);break;case 44:l[u++]=(Zn(S)-1)*y,y=1;break;case 64:45===fr()&&(S+=gr(dr())),f=fr(),c=d=Zn(b=S+=Sr(pr())),g++;break;case 45:45===m&&2==Zn(S)&&(h=0)}}return a}function Tr(e,t,n,r,o,a,i,l,s,u,c){for(var d=o-1,f=0===o?a:[""],p=er(f),m=0,h=0,v=0;m<r;++m)for(var y=0,g=Jn(e,d+1,d=Hn(h=i[m])),b=e;y<p;++y)(b=Kn(h>0?f[y]+" "+g:Gn(g,/&\f/g,f[y])))&&(s[v++]=b);return sr(e,t,n,0===o?Un:l,s,u,c)}function Or(e,t,n){return sr(e,t,n,Vn,qn(ir),Jn(e,2,-2),0)}function _r(e,t,n,r){return sr(e,t,n,Bn,Jn(e,0,r),Jn(e,r+1,-1),r)}function Nr(e,t){for(var n="",r=er(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function Rr(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case Bn:return e.return=e.return||e.value;case Vn:return"";case Wn:return e.return=e.value+"{"+Nr(e.children,r)+"}";case Un:e.value=e.props.join(",")}return Zn(n=Nr(e.children,r))?e.return=e.value+"{"+n+"}":""}function Mr(e){var t=er(e);return function(n,r,o,a){for(var i="",l=0;l<t;l++)i+=e[l](n,r,o,a)||"";return i}}var Pr=function(e,t,n){for(var r=0,o=0;r=o,o=fr(),38===r&&12===o&&(t[n]=1),!hr(o);)dr();return mr(e,ar)},Dr=function(e,t){return yr(function(e,t){var n=-1,r=44;do{switch(hr(r)){case 0:38===r&&12===fr()&&(t[n]=1),e[n]+=Pr(ar-1,t,n);break;case 2:e[n]+=gr(r);break;case 4:if(44===r){e[++n]=58===fr()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=qn(r)}}while(r=dr());return e}(vr(e),t))},Ir=new WeakMap,jr=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Ir.get(n))&&!r){Ir.set(e,!0);for(var o=[],a=Dr(t,o),i=n.props,l=0,s=0;l<a.length;l++)for(var u=0;u<i.length;u++,s++)e.props[s]=o[l]?a[l].replace(/&\f/g,i[u]):i[u]+" "+a[l]}}},Lr=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},zr=function(e){return"comm"===e.type&&e.children.indexOf("emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason")>-1},$r=function(e){return 105===e.type.charCodeAt(1)&&64===e.type.charCodeAt(0)},Ar=function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},Fr=function(e,t,n){$r(e)&&(e.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),Ar(e)):function(e,t){for(var n=e-1;n>=0;n--)if(!$r(t[n]))return!0;return!1}(t,n)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),Ar(e)))};function Vr(e,t){switch(function(e,t){return 45^Xn(e,0)?(((t<<2^Xn(e,0))<<2^Xn(e,1))<<2^Xn(e,2))<<2^Xn(e,3):0}(e,t)){case 5103:return Fn+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Fn+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Fn+e+An+e+$n+e+e;case 6828:case 4268:return Fn+e+$n+e+e;case 6165:return Fn+e+$n+"flex-"+e+e;case 5187:return Fn+e+Gn(e,/(\w+).+(:[^]+)/,Fn+"box-$1$2"+$n+"flex-$1$2")+e;case 5443:return Fn+e+$n+"flex-item-"+Gn(e,/flex-|-self/,"")+e;case 4675:return Fn+e+$n+"flex-line-pack"+Gn(e,/align-content|flex-|-self/,"")+e;case 5548:return Fn+e+$n+Gn(e,"shrink","negative")+e;case 5292:return Fn+e+$n+Gn(e,"basis","preferred-size")+e;case 6060:return Fn+"box-"+Gn(e,"-grow","")+Fn+e+$n+Gn(e,"grow","positive")+e;case 4554:return Fn+Gn(e,/([^-])(transform)/g,"$1"+Fn+"$2")+e;case 6187:return Gn(Gn(Gn(e,/(zoom-|grab)/,Fn+"$1"),/(image-set)/,Fn+"$1"),e,"")+e;case 5495:case 3959:return Gn(e,/(image-set\([^]*)/,Fn+"$1$`$1");case 4968:return Gn(Gn(e,/(.+:)(flex-)?(.*)/,Fn+"box-pack:$3"+$n+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Fn+e+e;case 4095:case 3583:case 4068:case 2532:return Gn(e,/(.+)-inline(.+)/,Fn+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Zn(e)-1-t>6)switch(Xn(e,t+1)){case 109:if(45!==Xn(e,t+4))break;case 102:return Gn(e,/(.+:)(.+)-([^]+)/,"$1"+Fn+"$2-$3$1"+An+(108==Xn(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Qn(e,"stretch")?Vr(Gn(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Xn(e,t+1))break;case 6444:switch(Xn(e,Zn(e)-3-(~Qn(e,"!important")&&10))){case 107:return Gn(e,":",":"+Fn)+e;case 101:return Gn(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Fn+(45===Xn(e,14)?"inline-":"")+"box$3$1"+Fn+"$2$3$1"+$n+"$2box$3")+e}break;case 5936:switch(Xn(e,t+11)){case 114:return Fn+e+$n+Gn(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Fn+e+$n+Gn(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Fn+e+$n+Gn(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Fn+e+$n+e+e}return e}var Ur,Br="undefined"!=typeof document,Wr=Br?void 0:function(e){var t=new WeakMap;return function(n){if(t.has(n))return t.get(n);var r=e(n);return t.set(n,r),r}}((function(){return In((function(){var e={};return function(t){return e[t]}}))})),Hr=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case Bn:e.return=Vr(e.value,e.length);break;case Wn:return Nr([ur(e,{value:Gn(e.value,"@","@"+Fn)})],r);case Un:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Nr([ur(e,{props:[Gn(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return Nr([ur(e,{props:[Gn(t,/:(plac\w+)/,":"+Fn+"input-$1")]}),ur(e,{props:[Gn(t,/:(plac\w+)/,":-moz-$1")]}),ur(e,{props:[Gn(t,/:(plac\w+)/,$n+"input-$1")]})],r)}return""}))}}],qr=function(e){var t=e.key;if("production"!==process.env.NODE_ENV&&!t)throw new Error("You have to configure `key` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.\nIf multiple caches share the same key they might \"fight\" for each other's style elements.");if(Br&&"css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r=e.stylisPlugins||Hr;if("production"!==process.env.NODE_ENV&&/[^a-z-]/.test(t))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+t+'" was passed');var o,a,i={},l=[];Br&&(o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)i[t[n]]=!0;l.push(e)})));var s,u=[jr,Lr];if("production"!==process.env.NODE_ENV&&u.push(function(e){return function(t,n,r){if("rule"===t.type&&!e.compat){var o=t.value.match(/(:first|:nth|:nth-last)-child/g);if(o){for(var a=t.parent?t.parent.children:r,i=a.length-1;i>=0;i--){var l=a[i];if(l.line<t.line)break;if(l.column<t.column){if(zr(l))return;break}}o.forEach((function(e){console.error('The pseudo class "'+e+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+e.split("-child")[0]+'-of-type".')}))}}}}({get compat(){return y.compat}}),Fr),Br){var c,d=[Rr,"production"!==process.env.NODE_ENV?function(e){e.root||(e.return?c.insert(e.return):e.value&&e.type!==Vn&&c.insert(e.value+"{}"))}:(s=function(e){c.insert(e)},function(e){e.root||(e=e.return)&&s(e)})],f=Mr(u.concat(r,d));a=function(e,t,n,r){c=n,"production"!==process.env.NODE_ENV&&void 0!==t.map&&(c={insert:function(e){n.insert(e+t.map)}}),function(e){Nr(Er(e),f)}(e?e+"{"+t.styles+"}":t.styles),r&&(y.inserted[t.name]=!0)}}else{var p=[Rr],m=Mr(u.concat(r,p)),h=Wr(r)(t),v=function(e,t){var n=t.name;return void 0===h[n]&&(h[n]=function(e){return Nr(Er(e),m)}(e?e+"{"+t.styles+"}":t.styles)),h[n]};a=function(e,t,n,r){var o=t.name,a=v(e,t);return void 0===y.compat?(r&&(y.inserted[o]=!0),"development"===process.env.NODE_ENV&&void 0!==t.map?a+t.map:a):r?void(y.inserted[o]=a):a}}var y={key:t,sheet:new zn({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:a};return y.sheet.hydrate(l),y},Yr={exports:{}},Kr={};var Gr,Qr={};"production"===process.env.NODE_ENV?Yr.exports=function(){if(Ur)return Kr;Ur=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,s=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,c=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,h=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,y=e?Symbol.for("react.responder"):60118,g=e?Symbol.for("react.scope"):60119;function b(e){if("object"==typeof e&&null!==e){var f=e.$$typeof;switch(f){case t:switch(e=e.type){case s:case u:case r:case a:case o:case d:return e;default:switch(e=e&&e.$$typeof){case l:case c:case m:case p:case i:return e;default:return f}}case n:return f}}}function w(e){return b(e)===u}return Kr.AsyncMode=s,Kr.ConcurrentMode=u,Kr.ContextConsumer=l,Kr.ContextProvider=i,Kr.Element=t,Kr.ForwardRef=c,Kr.Fragment=r,Kr.Lazy=m,Kr.Memo=p,Kr.Portal=n,Kr.Profiler=a,Kr.StrictMode=o,Kr.Suspense=d,Kr.isAsyncMode=function(e){return w(e)||b(e)===s},Kr.isConcurrentMode=w,Kr.isContextConsumer=function(e){return b(e)===l},Kr.isContextProvider=function(e){return b(e)===i},Kr.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Kr.isForwardRef=function(e){return b(e)===c},Kr.isFragment=function(e){return b(e)===r},Kr.isLazy=function(e){return b(e)===m},Kr.isMemo=function(e){return b(e)===p},Kr.isPortal=function(e){return b(e)===n},Kr.isProfiler=function(e){return b(e)===a},Kr.isStrictMode=function(e){return b(e)===o},Kr.isSuspense=function(e){return b(e)===d},Kr.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===u||e===a||e===o||e===d||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===p||e.$$typeof===i||e.$$typeof===l||e.$$typeof===c||e.$$typeof===v||e.$$typeof===y||e.$$typeof===g||e.$$typeof===h)},Kr.typeOf=b,Kr}():Yr.exports=(Gr||(Gr=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,s=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,c=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,h=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,y=e?Symbol.for("react.responder"):60118,g=e?Symbol.for("react.scope"):60119;function b(e){if("object"==typeof e&&null!==e){var f=e.$$typeof;switch(f){case t:var h=e.type;switch(h){case s:case u:case r:case a:case o:case d:return h;default:var v=h&&h.$$typeof;switch(v){case l:case c:case m:case p:case i:return v;default:return f}}case n:return f}}}var w=s,x=u,k=l,S=i,E=t,C=c,T=r,O=m,_=p,N=n,R=a,M=o,P=d,D=!1;function I(e){return b(e)===u}Qr.AsyncMode=w,Qr.ConcurrentMode=x,Qr.ContextConsumer=k,Qr.ContextProvider=S,Qr.Element=E,Qr.ForwardRef=C,Qr.Fragment=T,Qr.Lazy=O,Qr.Memo=_,Qr.Portal=N,Qr.Profiler=R,Qr.StrictMode=M,Qr.Suspense=P,Qr.isAsyncMode=function(e){return D||(D=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),I(e)||b(e)===s},Qr.isConcurrentMode=I,Qr.isContextConsumer=function(e){return b(e)===l},Qr.isContextProvider=function(e){return b(e)===i},Qr.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Qr.isForwardRef=function(e){return b(e)===c},Qr.isFragment=function(e){return b(e)===r},Qr.isLazy=function(e){return b(e)===m},Qr.isMemo=function(e){return b(e)===p},Qr.isPortal=function(e){return b(e)===n},Qr.isProfiler=function(e){return b(e)===a},Qr.isStrictMode=function(e){return b(e)===o},Qr.isSuspense=function(e){return b(e)===d},Qr.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===u||e===a||e===o||e===d||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===p||e.$$typeof===i||e.$$typeof===l||e.$$typeof===c||e.$$typeof===v||e.$$typeof===y||e.$$typeof===g||e.$$typeof===h)},Qr.typeOf=b}()),Qr);var Xr=Yr.exports,Jr={};Jr[Xr.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Jr[Xr.Memo]={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0};var Zr="undefined"!=typeof document;function eo(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}var to=function(e,t,n){var r=e.key+"-"+t.name;(!1===n||!1===Zr&&void 0!==e.compat)&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},no=function(e,t,n){to(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o="",a=t;do{var i=e.insert(t===a?"."+r:"",a,e.sheet,!0);Zr||void 0===i||(o+=i),a=a.next}while(void 0!==a);if(!Zr&&0!==o.length)return o}};var ro={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},oo="You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences",ao="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",io=/[A-Z]|^ms/g,lo=/_EMO_([^_]+?)_([^]*?)_EMO_/g,so=function(e){return 45===e.charCodeAt(1)},uo=function(e){return null!=e&&"boolean"!=typeof e},co=In((function(e){return so(e)?e:e.replace(io,"-$&").toLowerCase()})),fo=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(lo,(function(e,t,n){return ko={name:t,styles:n,next:ko},t}))}return 1===ro[e]||so(e)||"number"!=typeof t||0===t?t:t+"px"};if("production"!==process.env.NODE_ENV){var po=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,mo=["normal","none","initial","inherit","unset"],ho=fo,vo=/^-ms-/,yo=/-(.)/g,go={};fo=function(e,t){if("content"===e&&("string"!=typeof t||-1===mo.indexOf(t)&&!po.test(t)&&(t.charAt(0)!==t.charAt(t.length-1)||'"'!==t.charAt(0)&&"'"!==t.charAt(0))))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+t+"\"'`");var n=ho(e,t);return""===n||so(e)||-1===e.indexOf("-")||void 0!==go[e]||(go[e]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+e.replace(vo,"ms-").replace(yo,(function(e,t){return t.toUpperCase()}))+"?")),n}}var bo="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function wo(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles){if("production"!==process.env.NODE_ENV&&"NO_COMPONENT_SELECTOR"===String(r))throw new Error(bo);return r}switch(typeof n){case"boolean":return"";case"object":var o=n;if(1===o.anim)return ko={name:o.name,styles:o.styles,next:ko},o.name;var a=n;if(void 0!==a.styles){var i=a.next;if(void 0!==i)for(;void 0!==i;)ko={name:i.name,styles:i.styles,next:ko},i=i.next;var l=a.styles+";";return"production"!==process.env.NODE_ENV&&void 0!==a.map&&(l+=a.map),l}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=wo(e,t,n[o])+";";else for(var a in n){var i=n[a];if("object"!=typeof i){var l=i;null!=t&&void 0!==t[l]?r+=a+"{"+t[l]+"}":uo(l)&&(r+=co(a)+":"+fo(a,l)+";")}else{if("NO_COMPONENT_SELECTOR"===a&&"production"!==process.env.NODE_ENV)throw new Error(bo);if(!Array.isArray(i)||"string"!=typeof i[0]||null!=t&&void 0!==t[i[0]]){var s=wo(e,t,i);switch(a){case"animation":case"animationName":r+=co(a)+":"+s+";";break;default:"production"!==process.env.NODE_ENV&&"undefined"===a&&console.error(ao),r+=a+"{"+s+"}"}}else for(var u=0;u<i.length;u++)uo(i[u])&&(r+=co(a)+":"+fo(a,i[u])+";")}}return r}(e,t,n);case"function":if(void 0!==e){var s=ko,u=n(e);return ko=s,wo(e,t,u)}"production"!==process.env.NODE_ENV&&console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break;case"string":if("production"!==process.env.NODE_ENV){var c=[],d=n.replace(lo,(function(e,t,n){var r="animation"+c.length;return c.push("const "+r+" = keyframes`"+n.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+r+"}"}));c.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(c,["`"+d+"`"]).join("\n")+"\n\nYou should wrap it with `css` like this:\n\ncss`"+d+"`")}}var f=n;if(null==t)return f;var p=t[f];return void 0!==p?p:f}var xo,ko,So=/label:\s*([^\s;\n{]+)\s*(;|$)/g;function Eo(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";ko=void 0;var a,i=e[0];if(null==i||void 0===i.raw)r=!1,o+=wo(n,t,i);else{var l=i;"production"!==process.env.NODE_ENV&&void 0===l[0]&&console.error(oo),o+=l[0]}for(var s=1;s<e.length;s++)if(o+=wo(n,t,e[s]),r){var u=i;"production"!==process.env.NODE_ENV&&void 0===u[s]&&console.error(oo),o+=u[s]}"production"!==process.env.NODE_ENV&&(o=o.replace(xo,(function(e){return a=e,""}))),So.lastIndex=0;for(var c,d="";null!==(c=So.exec(o));)d+="-"+c[1];var f=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+d;return"production"!==process.env.NODE_ENV?{name:f,styles:o,map:a,next:ko,toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}}:{name:f,styles:o,next:ko}}"production"!==process.env.NODE_ENV&&(xo=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);var Co="undefined"!=typeof document,To=function(e){return e()},Oo=!!y.useInsertionEffect&&y.useInsertionEffect,_o=Co&&Oo||To,No=Oo||h.useLayoutEffect,Ro="undefined"!=typeof document,Mo={}.hasOwnProperty,Po=h.createContext("undefined"!=typeof HTMLElement?qr({key:"css"}):null);"production"!==process.env.NODE_ENV&&(Po.displayName="EmotionCacheContext");var Do=Po.Provider,Io=function(e){return h.forwardRef((function(t,n){var r=h.useContext(Po);return e(t,r,n)}))};Ro||(Io=function(e){return function(t){var n=h.useContext(Po);return null===n?(n=qr({key:"css"}),h.createElement(Po.Provider,{value:n},e(t,n))):e(t,n)}});var jo=h.createContext({});"production"!==process.env.NODE_ENV&&(jo.displayName="EmotionThemeContext");var Lo="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",zo="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",$o=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;to(t,n,r);var o=_o((function(){return no(t,n,r)}));if(!Ro&&void 0!==o){for(var a,i=n.name,l=n.next;void 0!==l;)i+=" "+l.name,l=l.next;return h.createElement("style",((a={})["data-emotion"]=t.key+" "+i,a.dangerouslySetInnerHTML={__html:o},a.nonce=t.sheet.nonce,a))}return null},Ao=Io((function(e,t,n){var r=e.css;"string"==typeof r&&void 0!==t.registered[r]&&(r=t.registered[r]);var o=e[Lo],a=[r],i="";"string"==typeof e.className?i=eo(t.registered,a,e.className):null!=e.className&&(i=e.className+" ");var l=Eo(a,void 0,h.useContext(jo));if("production"!==process.env.NODE_ENV&&-1===l.name.indexOf("-")){var s=e[zo];s&&(l=Eo([l,"label:"+s+";"]))}i+=t.key+"-"+l.name;var u={};for(var c in e)!Mo.call(e,c)||"css"===c||c===Lo||"production"!==process.env.NODE_ENV&&c===zo||(u[c]=e[c]);return u.ref=n,u.className=i,h.createElement(h.Fragment,null,h.createElement($o,{cache:t,serialized:l,isStringTag:"string"==typeof o}),h.createElement(o,u))}));"production"!==process.env.NODE_ENV&&(Ao.displayName="EmotionCssPropInternal");var Fo=!1,Vo=Io((function(e,t){"production"===process.env.NODE_ENV||Fo||!e.className&&!e.css||(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),Fo=!0);var n=Eo([e.styles],void 0,h.useContext(jo));if(!Ro){for(var r,o=n.name,a=n.styles,i=n.next;void 0!==i;)o+=" "+i.name,a+=i.styles,i=i.next;var l=!0===t.compat,s=t.insert("",{name:o,styles:a},t.sheet,l);return l?null:h.createElement("style",((r={})["data-emotion"]=t.key+"-global "+o,r.dangerouslySetInnerHTML={__html:s},r.nonce=t.sheet.nonce,r))}var u=h.useRef();return No((function(){var e=t.key+"-global",r=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),o=!1,a=document.querySelector('style[data-emotion="'+e+" "+n.name+'"]');return t.sheet.tags.length&&(r.before=t.sheet.tags[0]),null!==a&&(o=!0,a.setAttribute("data-emotion",e),r.hydrate([a])),u.current=[r,o],function(){r.flush()}}),[t]),No((function(){var e=u.current,r=e[0];if(e[1])e[1]=!1;else{if(void 0!==n.next&&no(t,n.next,!0),r.tags.length){var o=r.tags[r.tags.length-1].nextElementSibling;r.before=o,r.flush()}t.insert("",n,r,!1)}}),[t,n.name]),null}));function Uo(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Eo(t)}"production"!==process.env.NODE_ENV&&(Vo.displayName="EmotionGlobal");var Bo=function(){var e=Uo.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},Wo=function e(t){for(var n=t.length,r=0,o="";r<n;r++){var a=t[r];if(null!=a){var i=void 0;switch(typeof a){case"boolean":break;case"object":if(Array.isArray(a))i=e(a);else for(var l in"production"!==process.env.NODE_ENV&&void 0!==a.styles&&void 0!==a.name&&console.error("You have passed styles created with `css` from `@emotion/react` package to the `cx`.\n`cx` is meant to compose class names (strings) so you should convert those styles to a class name by passing them to the `css` received from <ClassNames/> component."),i="",a)a[l]&&l&&(i&&(i+=" "),i+=l);break;default:i=a}i&&(o&&(o+=" "),o+=i)}}return o};var Ho=function(e){var t,n=e.cache,r=e.serializedArr,o=_o((function(){for(var e="",t=0;t<r.length;t++){var o=no(n,r[t],!1);Ro||void 0===o||(e+=o)}if(!Ro)return e}));return Ro||0===o.length?null:h.createElement("style",((t={})["data-emotion"]=n.key+" "+r.map((function(e){return e.name})).join(" "),t.dangerouslySetInnerHTML={__html:o},t.nonce=n.sheet.nonce,t))},qo=Io((function(e,t){var n=!1,r=[],o=function(){if(n&&"production"!==process.env.NODE_ENV)throw new Error("css can only be used during render");for(var e=arguments.length,o=new Array(e),a=0;a<e;a++)o[a]=arguments[a];var i=Eo(o,t.registered);return r.push(i),to(t,i,!1),t.key+"-"+i.name},a={css:o,cx:function(){if(n&&"production"!==process.env.NODE_ENV)throw new Error("cx can only be used during render");for(var e=arguments.length,r=new Array(e),a=0;a<e;a++)r[a]=arguments[a];return function(e,t,n){var r=[],o=eo(e,r,n);return r.length<2?n:o+t(r)}(t.registered,o,Wo(r))},theme:h.useContext(jo)},i=e.children(a);return n=!0,h.createElement(h.Fragment,null,h.createElement(Ho,{cache:t,serializedArr:r}),i)}));if("production"!==process.env.NODE_ENV&&(qo.displayName="EmotionClassNames"),"production"!==process.env.NODE_ENV){var Yo="undefined"!=typeof document,Ko="undefined"!=typeof jest||"undefined"!=typeof vi;if(Yo&&!Ko){var Go="undefined"!=typeof globalThis?globalThis:Yo?window:global,Qo="__EMOTION_REACT_"+"11.11.4".split(".")[0]+"__";Go[Qo]&&console.warn("You are loading @emotion/react when it is already loaded. Running multiple instances may cause problems. This can happen if multiple versions are used, or if multiple builds of the same version are used."),Go[Qo]=!0}}var Xo=Ln,Jo=function(e){return"theme"!==e},Zo=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?Xo:Jo},ea=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},ta="You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences",na="undefined"!=typeof document,ra=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;to(t,n,r);var o=_o((function(){return no(t,n,r)}));if(!na&&void 0!==o){for(var a,i=n.name,l=n.next;void 0!==l;)i+=" "+l.name,l=l.next;return h.createElement("style",((a={})["data-emotion"]=t.key+" "+i,a.dangerouslySetInnerHTML={__html:o},a.nonce=t.sheet.nonce,a))}return null},oa=function e(t,n){if("production"!==process.env.NODE_ENV&&void 0===t)throw new Error("You are trying to create a styled element with an undefined component.\nYou may have forgotten to import it.");var r,o,a=t.__emotion_real===t,i=a&&t.__emotion_base||t;void 0!==n&&(r=n.label,o=n.target);var l=ea(t,n,a),s=l||Zo(i),u=!s("as");return function(){var c=arguments,d=a&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==r&&d.push("label:"+r+";"),null==c[0]||void 0===c[0].raw)d.push.apply(d,c);else{"production"!==process.env.NODE_ENV&&void 0===c[0][0]&&console.error(ta),d.push(c[0][0]);for(var f=c.length,p=1;p<f;p++)"production"!==process.env.NODE_ENV&&void 0===c[0][p]&&console.error(ta),d.push(c[p],c[0][p])}var m=Io((function(e,t,n){var r=u&&e.as||i,a="",c=[],f=e;if(null==e.theme){for(var p in f={},e)f[p]=e[p];f.theme=h.useContext(jo)}"string"==typeof e.className?a=eo(t.registered,c,e.className):null!=e.className&&(a=e.className+" ");var m=Eo(d.concat(c),t.registered,f);a+=t.key+"-"+m.name,void 0!==o&&(a+=" "+o);var v=u&&void 0===l?Zo(r):s,y={};for(var g in e)u&&"as"===g||v(g)&&(y[g]=e[g]);return y.className=a,y.ref=n,h.createElement(h.Fragment,null,h.createElement(ra,{cache:t,serialized:m,isStringTag:"string"==typeof r}),h.createElement(r,y))}));return m.displayName=void 0!==r?r:"Styled("+("string"==typeof i?i:i.displayName||i.name||"Component")+")",m.defaultProps=t.defaultProps,m.__emotion_real=m,m.__emotion_base=i,m.__emotion_styles=d,m.__emotion_forwardProp=l,Object.defineProperty(m,"toString",{value:function(){return void 0===o&&"production"!==process.env.NODE_ENV?"NO_COMPONENT_SELECTOR":"."+o}}),m.withComponent=function(t,r){return e(t,pt({},n,r,{shouldForwardProp:ea(m,r,!0)})).apply(void 0,d)},m}}.bind();let aa;function ia(e){const{injectFirst:t,children:n}=e;return t&&aa?Cn.jsx(Do,{value:aa,children:n}):n}function la(e){const{styles:t,defaultTheme:n={}}=e,r="function"==typeof t?e=>{return t(null==(r=e)||0===Object.keys(r).length?n:e);var r}:t;return Cn.jsx(Vo,{styles:r})}function sa(e,t){const n=oa(e,t);return"production"!==process.env.NODE_ENV?(...t)=>{const r="string"==typeof e?`"${e}"`:"component";return 0===t.length?console.error([`MUI: Seems like you called \`styled(${r})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join("\n")):t.some((e=>void 0===e))&&console.error(`MUI: the styled(${r})(...args) API requires all its args to be defined.`),n(...t)}:n}["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){oa[e]=oa(e)})),"object"==typeof document&&(aa=qr({key:"css",prepend:!0})),"production"!==process.env.NODE_ENV&&(ia.propTypes={children:$t.node,injectFirst:$t.bool}),"production"!==process.env.NODE_ENV&&(la.propTypes={defaultTheme:$t.object,styles:$t.oneOfType([$t.array,$t.string,$t.object,$t.func])});const ua=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))};var ca=s(Object.freeze({__proto__:null,GlobalStyles:la,StyledEngineProvider:ia,ThemeContext:jo,css:Uo,default:sa,internal_processStyles:ua,keyframes:Bo}));function da(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function fa(e){if(!da(e))return e;const t={};return Object.keys(e).forEach((n=>{t[n]=fa(e[n])})),t}function pa(e,t,n={clone:!0}){const r=n.clone?pt({},e):e;return da(e)&&da(t)&&Object.keys(t).forEach((o=>{da(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&da(e[o])?r[o]=pa(e[o],t[o],n):n.clone?r[o]=da(t[o])?fa(t[o]):t[o]:r[o]=t[o]})),r}var ma,ha=s(Object.freeze({__proto__:null,default:pa,isPlainObject:da})),va=s(hn),ya={exports:{}},ga={};var ba,wa={};"production"===process.env.NODE_ENV?ya.exports=function(){if(ma)return ga;ma=1;var e,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),l=Symbol.for("react.context"),s=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen");function h(e){if("object"==typeof e&&null!==e){var m=e.$$typeof;switch(m){case t:switch(e=e.type){case r:case a:case o:case c:case d:return e;default:switch(e=e&&e.$$typeof){case s:case l:case u:case p:case f:case i:return e;default:return m}}case n:return m}}}return e=Symbol.for("react.module.reference"),ga.ContextConsumer=l,ga.ContextProvider=i,ga.Element=t,ga.ForwardRef=u,ga.Fragment=r,ga.Lazy=p,ga.Memo=f,ga.Portal=n,ga.Profiler=a,ga.StrictMode=o,ga.Suspense=c,ga.SuspenseList=d,ga.isAsyncMode=function(){return!1},ga.isConcurrentMode=function(){return!1},ga.isContextConsumer=function(e){return h(e)===l},ga.isContextProvider=function(e){return h(e)===i},ga.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},ga.isForwardRef=function(e){return h(e)===u},ga.isFragment=function(e){return h(e)===r},ga.isLazy=function(e){return h(e)===p},ga.isMemo=function(e){return h(e)===f},ga.isPortal=function(e){return h(e)===n},ga.isProfiler=function(e){return h(e)===a},ga.isStrictMode=function(e){return h(e)===o},ga.isSuspense=function(e){return h(e)===c},ga.isSuspenseList=function(e){return h(e)===d},ga.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===r||t===a||t===o||t===c||t===d||t===m||"object"==typeof t&&null!==t&&(t.$$typeof===p||t.$$typeof===f||t.$$typeof===i||t.$$typeof===l||t.$$typeof===u||t.$$typeof===e||void 0!==t.getModuleId)},ga.typeOf=h,ga}():ya.exports=(ba||(ba=1,"production"!==process.env.NODE_ENV&&function(){var e,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),l=Symbol.for("react.context"),s=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen");function h(e){if("object"==typeof e&&null!==e){var m=e.$$typeof;switch(m){case t:var h=e.type;switch(h){case r:case a:case o:case c:case d:return h;default:var v=h&&h.$$typeof;switch(v){case s:case l:case u:case p:case f:case i:return v;default:return m}}case n:return m}}}e=Symbol.for("react.module.reference");var v=l,y=i,g=t,b=u,w=r,x=p,k=f,S=n,E=a,C=o,T=c,O=d,_=!1,N=!1;wa.ContextConsumer=v,wa.ContextProvider=y,wa.Element=g,wa.ForwardRef=b,wa.Fragment=w,wa.Lazy=x,wa.Memo=k,wa.Portal=S,wa.Profiler=E,wa.StrictMode=C,wa.Suspense=T,wa.SuspenseList=O,wa.isAsyncMode=function(e){return _||(_=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1},wa.isConcurrentMode=function(e){return N||(N=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1},wa.isContextConsumer=function(e){return h(e)===l},wa.isContextProvider=function(e){return h(e)===i},wa.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},wa.isForwardRef=function(e){return h(e)===u},wa.isFragment=function(e){return h(e)===r},wa.isLazy=function(e){return h(e)===p},wa.isMemo=function(e){return h(e)===f},wa.isPortal=function(e){return h(e)===n},wa.isProfiler=function(e){return h(e)===a},wa.isStrictMode=function(e){return h(e)===o},wa.isSuspense=function(e){return h(e)===c},wa.isSuspenseList=function(e){return h(e)===d},wa.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===r||t===a||t===o||t===c||t===d||t===m||"object"==typeof t&&null!==t&&(t.$$typeof===p||t.$$typeof===f||t.$$typeof===i||t.$$typeof===l||t.$$typeof===u||t.$$typeof===e||void 0!==t.getModuleId)},wa.typeOf=h}()),wa);var xa=ya.exports;const ka=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function Sa(e){const t=`${e}`.match(ka);return t&&t[1]||""}function Ea(e,t=""){return e.displayName||e.name||Sa(e)||t}function Ca(e,t,n){const r=Ea(t);return e.displayName||(""!==r?`${n}(${r})`:n)}function Ta(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return Ea(e,"Component");if("object"==typeof e)switch(e.$$typeof){case xa.ForwardRef:return Ca(e,e.render,"ForwardRef");case xa.Memo:return Ca(e,e.type,"memo");default:return}}}var Oa=s(Object.freeze({__proto__:null,default:Ta,getFunctionName:Sa}));const _a=["values","unit","step"],Na=e=>{const t=Object.keys(e).map((t=>({key:t,val:e[t]})))||[];return t.sort(((e,t)=>e.val-t.val)),t.reduce(((e,t)=>pt({},e,{[t.key]:t.val})),{})};function Ra(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=ft(e,_a),a=Na(t),i=Object.keys(a);function l(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n})`}function s(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-r/100}${n})`}function u(e,o){const a=i.indexOf(o);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n}) and (max-width:${(-1!==a&&"number"==typeof t[i[a]]?t[i[a]]:o)-r/100}${n})`}return pt({keys:i,values:a,up:l,down:s,between:u,only:function(e){return i.indexOf(e)+1<i.length?u(e,i[i.indexOf(e)+1]):l(e)},not:function(e){const t=i.indexOf(e);return 0===t?l(i[1]):t===i.length-1?s(i[t]):u(e,i[i.indexOf(e)+1]).replace("@media","@media not all and")},unit:n},o)}const Ma={borderRadius:4},Pa="production"!==process.env.NODE_ENV?$t.oneOfType([$t.number,$t.string,$t.object,$t.array]):{};function Da(e,t){return t?pa(e,t,{clone:!1}):e}const Ia={xs:0,sm:600,md:900,lg:1200,xl:1536},ja={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Ia[e]}px)`};function La(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const e=r.breakpoints||ja;return t.reduce(((r,o,a)=>(r[e.up(e.keys[a])]=n(t[a]),r)),{})}if("object"==typeof t){const e=r.breakpoints||ja;return Object.keys(t).reduce(((r,o)=>{if(-1!==Object.keys(e.values||Ia).indexOf(o)){r[e.up(o)]=n(t[o],o)}else{const e=o;r[e]=t[e]}return r}),{})}return n(t)}function za(e={}){var t;return(null==(t=e.keys)?void 0:t.reduce(((t,n)=>(t[e.up(n)]={},t)),{}))||{}}function $a(e,t){return e.reduce(((e,t)=>{const n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e}),t)}function Aa({values:e,breakpoints:t,base:n}){const r=n||function(e,t){if("object"!=typeof e)return{};const n={},r=Object.keys(t);return Array.isArray(e)?r.forEach(((t,r)=>{r<e.length&&(n[t]=!0)})):r.forEach((t=>{null!=e[t]&&(n[t]=!0)})),n}(e,t),o=Object.keys(r);if(0===o.length)return e;let a;return o.reduce(((t,n,r)=>(Array.isArray(e)?(t[n]=null!=e[r]?e[r]:e[a],a=r):"object"==typeof e?(t[n]=null!=e[n]?e[n]:e[a],a=n):t[n]=e,t)),{})}function Fa(e,t,n=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&n){const n=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=n)return n}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function Va(e,t,n,r=n){let o;return o="function"==typeof e?e(n):Array.isArray(e)?e[n]||r:Fa(e,n)||r,t&&(o=t(o,r,e)),o}function Ua(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,a=e=>{if(null==e[t])return null;const a=e[t],i=Fa(e.theme,r)||{};return La(e,a,(e=>{let r=Va(i,o,e);return e===r&&"string"==typeof e&&(r=Va(i,o,`${t}${"default"===e?"":mn(e)}`,e)),!1===n?r:{[n]:r}}))};return a.propTypes="production"!==process.env.NODE_ENV?{[t]:Pa}:{},a.filterProps=[t],a}const Ba={m:"margin",p:"padding"},Wa={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Ha={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},qa=function(e){const t={};return n=>(void 0===t[n]&&(t[n]=e(n)),t[n])}((e=>{if(e.length>2){if(!Ha[e])return[e];e=Ha[e]}const[t,n]=e.split(""),r=Ba[t],o=Wa[n]||"";return Array.isArray(o)?o.map((e=>r+e)):[r+o]})),Ya=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Ka=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],Ga=[...Ya,...Ka];function Qa(e,t,n,r){var o;const a=null!=(o=Fa(e,t,!1))?o:n;return"number"==typeof a?e=>"string"==typeof e?e:("production"!==process.env.NODE_ENV&&"number"!=typeof e&&console.error(`MUI: Expected ${r} argument to be a number or a string, got ${e}.`),a*e):Array.isArray(a)?e=>"string"==typeof e?e:("production"!==process.env.NODE_ENV&&(Number.isInteger(e)?e>a.length-1&&console.error([`MUI: The value provided (${e}) overflows.`,`The supported values are: ${JSON.stringify(a)}.`,`${e} > ${a.length-1}, you need to add the missing values.`].join("\n")):console.error([`MUI: The \`theme.${t}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${t}\` as a number.`].join("\n"))),a[e]):"function"==typeof a?a:("production"!==process.env.NODE_ENV&&console.error([`MUI: The \`theme.${t}\` value (${a}) is invalid.`,"It should be a number, an array or a function."].join("\n")),()=>{})}function Xa(e){return Qa(e,"spacing",8,"spacing")}function Ja(e,t){if("string"==typeof t||null==t)return t;const n=e(Math.abs(t));return t>=0?n:"number"==typeof n?-n:`-${n}`}function Za(e,t,n,r){if(-1===t.indexOf(n))return null;const o=function(e,t){return n=>e.reduce(((e,r)=>(e[r]=Ja(t,n),e)),{})}(qa(n),r);return La(e,e[n],o)}function ei(e,t){const n=Xa(e.theme);return Object.keys(e).map((r=>Za(e,t,r,n))).reduce(Da,{})}function ti(e){return ei(e,Ya)}function ni(e){return ei(e,Ka)}function ri(...e){const t=e.reduce(((e,t)=>(t.filterProps.forEach((n=>{e[n]=t})),e)),{}),n=e=>Object.keys(e).reduce(((n,r)=>t[r]?Da(n,t[r](e)):n),{});return n.propTypes="production"!==process.env.NODE_ENV?e.reduce(((e,t)=>Object.assign(e,t.propTypes)),{}):{},n.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),n}function oi(e){return"number"!=typeof e?e:`${e}px solid`}function ai(e,t){return Ua({prop:e,themeKey:"borders",transform:t})}ti.propTypes="production"!==process.env.NODE_ENV?Ya.reduce(((e,t)=>(e[t]=Pa,e)),{}):{},ti.filterProps=Ya,ni.propTypes="production"!==process.env.NODE_ENV?Ka.reduce(((e,t)=>(e[t]=Pa,e)),{}):{},ni.filterProps=Ka,"production"===process.env.NODE_ENV||Ga.reduce(((e,t)=>(e[t]=Pa,e)),{});const ii=ai("border",oi),li=ai("borderTop",oi),si=ai("borderRight",oi),ui=ai("borderBottom",oi),ci=ai("borderLeft",oi),di=ai("borderColor"),fi=ai("borderTopColor"),pi=ai("borderRightColor"),mi=ai("borderBottomColor"),hi=ai("borderLeftColor"),yi=ai("outline",oi),gi=ai("outlineColor"),bi=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=Qa(e.theme,"shape.borderRadius",4,"borderRadius"),n=e=>({borderRadius:Ja(t,e)});return La(e,e.borderRadius,n)}return null};bi.propTypes="production"!==process.env.NODE_ENV?{borderRadius:Pa}:{},bi.filterProps=["borderRadius"],ri(ii,li,si,ui,ci,di,fi,pi,mi,hi,bi,yi,gi);const wi=e=>{if(void 0!==e.gap&&null!==e.gap){const t=Qa(e.theme,"spacing",8,"gap"),n=e=>({gap:Ja(t,e)});return La(e,e.gap,n)}return null};wi.propTypes="production"!==process.env.NODE_ENV?{gap:Pa}:{},wi.filterProps=["gap"];const xi=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=Qa(e.theme,"spacing",8,"columnGap"),n=e=>({columnGap:Ja(t,e)});return La(e,e.columnGap,n)}return null};xi.propTypes="production"!==process.env.NODE_ENV?{columnGap:Pa}:{},xi.filterProps=["columnGap"];const ki=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=Qa(e.theme,"spacing",8,"rowGap"),n=e=>({rowGap:Ja(t,e)});return La(e,e.rowGap,n)}return null};ki.propTypes="production"!==process.env.NODE_ENV?{rowGap:Pa}:{},ki.filterProps=["rowGap"];function Si(e,t){return"grey"===t?t:e}ri(wi,xi,ki,Ua({prop:"gridColumn"}),Ua({prop:"gridRow"}),Ua({prop:"gridAutoFlow"}),Ua({prop:"gridAutoColumns"}),Ua({prop:"gridAutoRows"}),Ua({prop:"gridTemplateColumns"}),Ua({prop:"gridTemplateRows"}),Ua({prop:"gridTemplateAreas"}),Ua({prop:"gridArea"}));function Ei(e){return e<=1&&0!==e?100*e+"%":e}ri(Ua({prop:"color",themeKey:"palette",transform:Si}),Ua({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Si}),Ua({prop:"backgroundColor",themeKey:"palette",transform:Si}));const Ci=Ua({prop:"width",transform:Ei}),Ti=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var n,r;const o=(null==(n=e.theme)||null==(n=n.breakpoints)||null==(n=n.values)?void 0:n[t])||Ia[t];return o?"px"!==(null==(r=e.theme)||null==(r=r.breakpoints)?void 0:r.unit)?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:Ei(t)}};return La(e,e.maxWidth,t)}return null};Ti.filterProps=["maxWidth"];const Oi=Ua({prop:"minWidth",transform:Ei}),_i=Ua({prop:"height",transform:Ei}),Ni=Ua({prop:"maxHeight",transform:Ei}),Ri=Ua({prop:"minHeight",transform:Ei});Ua({prop:"size",cssProperty:"width",transform:Ei}),Ua({prop:"size",cssProperty:"height",transform:Ei});ri(Ci,Ti,Oi,_i,Ni,Ri,Ua({prop:"boxSizing"}));const Mi={border:{themeKey:"borders",transform:oi},borderTop:{themeKey:"borders",transform:oi},borderRight:{themeKey:"borders",transform:oi},borderBottom:{themeKey:"borders",transform:oi},borderLeft:{themeKey:"borders",transform:oi},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:oi},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:bi},color:{themeKey:"palette",transform:Si},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Si},backgroundColor:{themeKey:"palette",transform:Si},p:{style:ni},pt:{style:ni},pr:{style:ni},pb:{style:ni},pl:{style:ni},px:{style:ni},py:{style:ni},padding:{style:ni},paddingTop:{style:ni},paddingRight:{style:ni},paddingBottom:{style:ni},paddingLeft:{style:ni},paddingX:{style:ni},paddingY:{style:ni},paddingInline:{style:ni},paddingInlineStart:{style:ni},paddingInlineEnd:{style:ni},paddingBlock:{style:ni},paddingBlockStart:{style:ni},paddingBlockEnd:{style:ni},m:{style:ti},mt:{style:ti},mr:{style:ti},mb:{style:ti},ml:{style:ti},mx:{style:ti},my:{style:ti},margin:{style:ti},marginTop:{style:ti},marginRight:{style:ti},marginBottom:{style:ti},marginLeft:{style:ti},marginX:{style:ti},marginY:{style:ti},marginInline:{style:ti},marginInlineStart:{style:ti},marginInlineEnd:{style:ti},marginBlock:{style:ti},marginBlockStart:{style:ti},marginBlockEnd:{style:ti},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:wi},rowGap:{style:ki},columnGap:{style:xi},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Ei},maxWidth:{style:Ti},minWidth:{transform:Ei},height:{transform:Ei},maxHeight:{transform:Ei},minHeight:{transform:Ei},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function Pi(){function e(e,t,n,r){const o={[e]:t,theme:n},a=r[e];if(!a)return{[e]:t};const{cssProperty:i=e,themeKey:l,transform:s,style:u}=a;if(null==t)return null;if("typography"===l&&"inherit"===t)return{[e]:t};const c=Fa(n,l)||{};if(u)return u(o);return La(o,t,(t=>{let n=Va(c,s,t);return t===n&&"string"==typeof t&&(n=Va(c,s,`${e}${"default"===t?"":mn(t)}`,t)),!1===i?n:{[i]:n}}))}return function t(n){var r;const{sx:o,theme:a={}}=n||{};if(!o)return null;const i=null!=(r=a.unstable_sxConfig)?r:Mi;function l(n){let r=n;if("function"==typeof n)r=n(a);else if("object"!=typeof n)return n;if(!r)return null;const o=za(a.breakpoints),l=Object.keys(o);let s=o;return Object.keys(r).forEach((n=>{const o=(l=r[n],u=a,"function"==typeof l?l(u):l);var l,u;if(null!=o)if("object"==typeof o)if(i[n])s=Da(s,e(n,o,a,i));else{const e=La({theme:a},o,(e=>({[n]:e})));!function(...e){const t=e.reduce(((e,t)=>e.concat(Object.keys(t))),[]),n=new Set(t);return e.every((e=>n.size===Object.keys(e).length))}(e,o)?s=Da(s,e):s[n]=t({sx:o,theme:a})}else s=Da(s,e(n,o,a,i))})),$a(l,s)}return Array.isArray(o)?o.map(l):l(o)}}const Di=Pi();function Ii(e,t){const n=this;if(n.vars&&"function"==typeof n.getColorSchemeSelector){const r=n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)");return{[r]:t}}return n.palette.mode===e?t:{}}Di.filterProps=["sx"];const ji=["breakpoints","palette","spacing","shape"];function Li(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:a={}}=e,i=ft(e,ji),l=Ra(n),s=function(e=8){if(e.mui)return e;const t=Xa({spacing:e}),n=(...e)=>("production"!==process.env.NODE_ENV&&(e.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${e.length}`)),(0===e.length?[1]:e).map((e=>{const n=t(e);return"number"==typeof n?`${n}px`:n})).join(" "));return n.mui=!0,n}(o);let u=pa({breakpoints:l,direction:"ltr",components:{},palette:pt({mode:"light"},r),spacing:s,shape:pt({},Ma,a)},i);return u.applyStyles=Ii,u=t.reduce(((e,t)=>pa(e,t)),u),u.unstable_sxConfig=pt({},Mi,null==i?void 0:i.unstable_sxConfig),u.unstable_sx=function(e){return Di({sx:e,theme:this})},u}var zi=s(Object.freeze({__proto__:null,default:Li,private_createBreakpoints:Ra,unstable_applyStyles:Ii}));const $i=["sx"],Ai=e=>{var t,n;const r={systemProps:{},otherProps:{}},o=null!=(t=null==e||null==(n=e.theme)?void 0:n.unstable_sxConfig)?t:Mi;return Object.keys(e).forEach((t=>{o[t]?r.systemProps[t]=e[t]:r.otherProps[t]=e[t]})),r};function Fi(e){const{sx:t}=e,n=ft(e,$i),{systemProps:r,otherProps:o}=Ai(n);let a;return a=Array.isArray(t)?[r,...t]:"function"==typeof t?(...e)=>{const n=t(...e);return da(n)?pt({},r,n):r}:pt({},r,t),pt({},o,{sx:a})}var Vi=s(Object.freeze({__proto__:null,default:Di,extendSxProp:Fi,unstable_createStyleFunctionSx:Pi,unstable_defaultSxConfig:Mi})),Ui=Wt;Object.defineProperty(Rn,"__esModule",{value:!0});var Bi=Rn.default=function(e={}){const{themeId:t,defaultTheme:n=rl,rootShouldForwardProp:r=nl,slotShouldForwardProp:o=nl}=e,a=e=>(0,Xi.default)((0,Wi.default)({},e,{theme:al((0,Wi.default)({},e,{defaultTheme:n,themeId:t}))}));return a.__mui_systemSx=!0,(e,i={})=>{(0,qi.internal_processStyles)(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:l,slot:s,skipVariantsResolver:u,skipSx:c,overridesResolver:d=il(ol(s))}=i,f=(0,Hi.default)(i,el),p=void 0!==u?u:s&&"Root"!==s&&"root"!==s||!1,m=c||!1;let h;"production"!==process.env.NODE_ENV&&l&&(h=`${l}-${ol(s||"Root")}`);let v=nl;"Root"===s||"root"===s?v=r:s?v=o:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(v=void 0);const y=(0,qi.default)(e,(0,Wi.default)({shouldForwardProp:v,label:h},f)),g=e=>"function"==typeof e&&e.__emotion_real!==e||(0,Yi.isPlainObject)(e)?r=>ll(e,(0,Wi.default)({},r,{theme:al({theme:r.theme,defaultTheme:n,themeId:t})})):e,b=(r,...o)=>{let i=g(r);const u=o?o.map(g):[];l&&d&&u.push((e=>{const r=al((0,Wi.default)({},e,{defaultTheme:n,themeId:t}));if(!r.components||!r.components[l]||!r.components[l].styleOverrides)return null;const o=r.components[l].styleOverrides,a={};return Object.entries(o).forEach((([t,n])=>{a[t]=ll(n,(0,Wi.default)({},e,{theme:r}))})),d(e,a)})),l&&!p&&u.push((e=>{var r;const o=al((0,Wi.default)({},e,{defaultTheme:n,themeId:t}));return ll({variants:null==o||null==(r=o.components)||null==(r=r[l])?void 0:r.variants},(0,Wi.default)({},e,{theme:o}))})),m||u.push(a);const c=u.length-o.length;if(Array.isArray(r)&&c>0){const e=new Array(c).fill("");i=[...r,...e],i.raw=[...r.raw,...e]}const f=y(i,...u);if("production"!==process.env.NODE_ENV){let t;l&&(t=`${l}${(0,Ki.default)(s||"")}`),void 0===t&&(t=`Styled(${(0,Gi.default)(e)})`),f.displayName=t}return e.muiName&&(f.muiName=e.muiName),f};return y.withConfig&&(b.withConfig=y.withConfig),b}};Rn.shouldForwardProp=nl,Rn.systemDefaultTheme=void 0;var Wi=Ui((Nn||(Nn=1,function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(null,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(Mn)),Mn.exports)),Hi=Ui((Pn||(Pn=1,function(e){e.exports=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n},e.exports.__esModule=!0,e.exports.default=e.exports}(Dn)),Dn.exports)),qi=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=tl(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(ca),Yi=ha,Ki=Ui(va),Gi=Ui(Oa),Qi=Ui(zi),Xi=Ui(Vi);const Ji=["ownerState"],Zi=["variants"],el=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function tl(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(tl=function(e){return e?n:t})(e)}function nl(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const rl=Rn.systemDefaultTheme=(0,Qi.default)(),ol=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function al({defaultTheme:e,theme:t,themeId:n}){return r=t,0===Object.keys(r).length?e:t[n]||t;var r}function il(e){return e?(t,n)=>n[e]:null}function ll(e,t){let{ownerState:n}=t,r=(0,Hi.default)(t,Ji);const o="function"==typeof e?e((0,Wi.default)({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap((e=>ll(e,(0,Wi.default)({ownerState:n},r))));if(o&&"object"==typeof o&&Array.isArray(o.variants)){const{variants:e=[]}=o;let t=(0,Hi.default)(o,Zi);return e.forEach((e=>{let o=!0;"function"==typeof e.props?o=e.props((0,Wi.default)({ownerState:n},r,n)):Object.keys(e.props).forEach((t=>{(null==n?void 0:n[t])!==e.props[t]&&r[t]!==e.props[t]&&(o=!1)})),o&&(Array.isArray(t)||(t=[t]),t.push("function"==typeof e.style?e.style((0,Wi.default)({ownerState:n},r,n)):e.style))})),t}return o}const sl=e=>e,ul=(()=>{let e=sl;return{configure(t){e=t},generate:t=>e(t),reset(){e=sl}}})(),cl={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function dl(e,t,n="Mui"){const r=cl[t];return r?`${n}-${r}`:`${ul.generate(e)}-${t}`}const fl={black:"#000",white:"#fff"},pl={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"},ml={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"},hl={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"},vl={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"},yl={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"},gl={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"},bl={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"},wl=["mode","contrastThreshold","tonalOffset"],xl={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:fl.white,default:fl.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},kl={text:{primary:fl.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:fl.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function Sl(e,t,n,r){const o=r.light||r,a=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=Zt(e.main,o):"dark"===t&&(e.dark=Xt(e.main,a)))}function El(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,o=ft(e,wl),a=e.primary||function(e="light"){return"dark"===e?{main:yl[200],light:yl[50],dark:yl[400]}:{main:yl[700],light:yl[400],dark:yl[800]}}(t),i=e.secondary||function(e="light"){return"dark"===e?{main:ml[200],light:ml[50],dark:ml[400]}:{main:ml[500],light:ml[300],dark:ml[700]}}(t),l=e.error||function(e="light"){return"dark"===e?{main:hl[500],light:hl[300],dark:hl[700]}:{main:hl[700],light:hl[400],dark:hl[800]}}(t),s=e.info||function(e="light"){return"dark"===e?{main:gl[400],light:gl[300],dark:gl[700]}:{main:gl[700],light:gl[500],dark:gl[900]}}(t),u=e.success||function(e="light"){return"dark"===e?{main:bl[400],light:bl[300],dark:bl[700]}:{main:bl[800],light:bl[500],dark:bl[900]}}(t),c=e.warning||function(e="light"){return"dark"===e?{main:vl[400],light:vl[300],dark:vl[700]}:{main:"#ed6c02",light:vl[500],dark:vl[900]}}(t);function d(e){const t=Jt(e,kl.text.primary)>=n?kl.text.primary:xl.text.primary;if("production"!==process.env.NODE_ENV){const n=Jt(e,t);n<3&&console.error([`MUI: The contrast ratio of ${n}:1 for ${t} on ${e}`,"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join("\n"))}return t}const f=({color:e,name:t,mainShade:n=500,lightShade:o=300,darkShade:a=700})=>{if(!(e=pt({},e)).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw new Error("production"!==process.env.NODE_ENV?`MUI: The color${t?` (${t})`:""} provided to augmentColor(color) is invalid.\nThe color object needs to have a \`main\` property or a \`${n}\` property.`:Ht(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw new Error("production"!==process.env.NODE_ENV?`MUI: The color${t?` (${t})`:""} provided to augmentColor(color) is invalid.\n\`color.main\` should be a string, but \`${JSON.stringify(e.main)}\` was provided instead.\n\nDid you intend to use one of the following approaches?\n\nimport { green } from "@mui/material/colors";\n\nconst theme1 = createTheme({ palette: {\n primary: green,\n} });\n\nconst theme2 = createTheme({ palette: {\n primary: { main: green[500] },\n} });`:Ht(12,t?` (${t})`:"",JSON.stringify(e.main)));return Sl(e,"light",o,r),Sl(e,"dark",a,r),e.contrastText||(e.contrastText=d(e.main)),e},p={dark:kl,light:xl};"production"!==process.env.NODE_ENV&&(p[t]||console.error(`MUI: The palette mode \`${t}\` is not supported.`));return pa(pt({common:pt({},fl),mode:t,primary:f({color:a,name:"primary"}),secondary:f({color:i,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:f({color:l,name:"error"}),warning:f({color:c,name:"warning"}),info:f({color:s,name:"info"}),success:f({color:u,name:"success"}),grey:pl,contrastThreshold:n,getContrastText:d,augmentColor:f,tonalOffset:r},p[t]),o)}const Cl=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const Tl={textTransform:"uppercase"},Ol='"Roboto", "Helvetica", "Arial", sans-serif';function _l(e,t){const n="function"==typeof t?t(e):t,{fontFamily:r=Ol,fontSize:o=14,fontWeightLight:a=300,fontWeightRegular:i=400,fontWeightMedium:l=500,fontWeightBold:s=700,htmlFontSize:u=16,allVariants:c,pxToRem:d}=n,f=ft(n,Cl);"production"!==process.env.NODE_ENV&&("number"!=typeof o&&console.error("MUI: `fontSize` is required to be a number."),"number"!=typeof u&&console.error("MUI: `htmlFontSize` is required to be a number."));const p=o/14,m=d||(e=>e/u*p+"rem"),h=(e,t,n,o,a)=>{return pt({fontFamily:r,fontWeight:e,fontSize:m(t),lineHeight:n},r===Ol?{letterSpacing:(i=o/t,Math.round(1e5*i)/1e5)+"em"}:{},a,c);var i},v={h1:h(a,96,1.167,-1.5),h2:h(a,60,1.2,-.5),h3:h(i,48,1.167,0),h4:h(i,34,1.235,.25),h5:h(i,24,1.334,0),h6:h(l,20,1.6,.15),subtitle1:h(i,16,1.75,.15),subtitle2:h(l,14,1.57,.1),body1:h(i,16,1.5,.15),body2:h(i,14,1.43,.15),button:h(l,14,1.75,.4,Tl),caption:h(i,12,1.66,.4),overline:h(i,12,2.66,1,Tl),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return pa(pt({htmlFontSize:u,pxToRem:m,fontFamily:r,fontSize:o,fontWeightLight:a,fontWeightRegular:i,fontWeightMedium:l,fontWeightBold:s},v),f,{clone:!1})}function Nl(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}const Rl=["none",Nl(0,2,1,-1,0,1,1,0,0,1,3,0),Nl(0,3,1,-2,0,2,2,0,0,1,5,0),Nl(0,3,3,-2,0,3,4,0,0,1,8,0),Nl(0,2,4,-1,0,4,5,0,0,1,10,0),Nl(0,3,5,-1,0,5,8,0,0,1,14,0),Nl(0,3,5,-1,0,6,10,0,0,1,18,0),Nl(0,4,5,-2,0,7,10,1,0,2,16,1),Nl(0,5,5,-3,0,8,10,1,0,3,14,2),Nl(0,5,6,-3,0,9,12,1,0,3,16,2),Nl(0,6,6,-3,0,10,14,1,0,4,18,3),Nl(0,6,7,-4,0,11,15,1,0,4,20,3),Nl(0,7,8,-4,0,12,17,2,0,5,22,4),Nl(0,7,8,-4,0,13,19,2,0,5,24,4),Nl(0,7,9,-4,0,14,21,2,0,5,26,4),Nl(0,8,9,-5,0,15,22,2,0,6,28,5),Nl(0,8,10,-5,0,16,24,2,0,6,30,5),Nl(0,8,11,-5,0,17,26,2,0,6,32,5),Nl(0,9,11,-5,0,18,28,2,0,7,34,6),Nl(0,9,12,-6,0,19,29,2,0,7,36,6),Nl(0,10,13,-6,0,20,31,3,0,8,38,7),Nl(0,10,13,-6,0,21,33,3,0,8,40,7),Nl(0,10,14,-6,0,22,35,3,0,8,42,7),Nl(0,11,14,-7,0,23,36,3,0,9,44,8),Nl(0,11,15,-7,0,24,38,3,0,9,46,8)],Ml=["duration","easing","delay"],Pl={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Dl={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Il(e){return`${Math.round(e)}ms`}function jl(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function Ll(e){const t=pt({},Pl,e.easing),n=pt({},Dl,e.duration);return pt({getAutoHeightDuration:jl,create:(e=["all"],r={})=>{const{duration:o=n.standard,easing:a=t.easeInOut,delay:i=0}=r,l=ft(r,Ml);if("production"!==process.env.NODE_ENV){const t=e=>"string"==typeof e,n=e=>!isNaN(parseFloat(e));t(e)||Array.isArray(e)||console.error('MUI: Argument "props" must be a string or Array.'),n(o)||t(o)||console.error(`MUI: Argument "duration" must be a number or a string but found ${o}.`),t(a)||console.error('MUI: Argument "easing" must be a string.'),n(i)||t(i)||console.error('MUI: Argument "delay" must be a number or a string.'),"object"!=typeof r&&console.error(["MUI: Secong argument of transition.create must be an object.","Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join("\n")),0!==Object.keys(l).length&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(l).join(",")}].`)}return(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof o?o:Il(o)} ${a} ${"string"==typeof i?i:Il(i)}`)).join(",")}},e,{easing:t,duration:n})}const zl={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},$l=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Al(e={},...t){const{mixins:n={},palette:r={},transitions:o={},typography:a={}}=e,i=ft(e,$l);if(e.vars)throw new Error("production"!==process.env.NODE_ENV?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name.":Ht(18));const l=El(r),s=Li(e);let u=pa(s,{mixins:(c=s.breakpoints,d=n,pt({toolbar:{minHeight:56,[c.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[c.up("sm")]:{minHeight:64}}},d)),palette:l,shadows:Rl.slice(),typography:_l(l,a),transitions:Ll(o),zIndex:pt({},zl)});var c,d;if(u=pa(u,i),u=t.reduce(((e,t)=>pa(e,t)),u),"production"!==process.env.NODE_ENV){const e=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],t=(t,n)=>{let r;for(r in t){const o=t[r];if(-1!==e.indexOf(r)&&Object.keys(o).length>0){if("production"!==process.env.NODE_ENV){const e=dl("",r);console.error([`MUI: The \`${n}\` component increases the CSS specificity of the \`${r}\` internal state.`,"You can not override it like this: ",JSON.stringify(t,null,2),"",`Instead, you need to use the '&.${e}' syntax:`,JSON.stringify({root:{[`&.${e}`]:o}},null,2),"","https://mui.com/r/state-classes-guide"].join("\n"))}t[r]={}}}};Object.keys(u.components).forEach((e=>{const n=u.components[e].styleOverrides;n&&0===e.indexOf("Mui")&&t(n,e)}))}return u.unstable_sxConfig=pt({},Mi,null==i?void 0:i.unstable_sxConfig),u.unstable_sx=function(e){return Di({sx:e,theme:this})},u}const Fl=Al();var Vl="$$material";function Ul(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const Bl=e=>Ul(e)&&"classes"!==e,Wl=Bi({themeId:Vl,defaultTheme:Fl,rootShouldForwardProp:Bl});function Hl(e,t,n="Mui"){const r={};return t.forEach((t=>{r[t]=dl(e,t,n)})),r}function ql(e){return dl("MuiSvgIcon",e)}Hl("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Yl=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],Kl=Wl("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${mn(n.color)}`],t[`fontSize${mn(n.fontSize)}`]]}})((({theme:e,ownerState:t})=>{var n,r,o,a,i,l,s,u,c,d,f,p,m;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(n=e.transitions)||null==(r=n.create)?void 0:r.call(n,"fill",{duration:null==(o=e.transitions)||null==(o=o.duration)?void 0:o.shorter}),fontSize:{inherit:"inherit",small:(null==(a=e.typography)||null==(i=a.pxToRem)?void 0:i.call(a,20))||"1.25rem",medium:(null==(l=e.typography)||null==(s=l.pxToRem)?void 0:s.call(l,24))||"1.5rem",large:(null==(u=e.typography)||null==(c=u.pxToRem)?void 0:c.call(u,35))||"2.1875rem"}[t.fontSize],color:null!=(d=null==(f=(e.vars||e).palette)||null==(f=f[t.color])?void 0:f.main)?d:{action:null==(p=(e.vars||e).palette)||null==(p=p.action)?void 0:p.active,disabled:null==(m=(e.vars||e).palette)||null==(m=m.action)?void 0:m.disabled,inherit:void 0}[t.color]}})),Gl=h.forwardRef((function(e,t){const n=_n({props:e,name:"MuiSvgIcon"}),{children:r,className:o,color:a="inherit",component:i="svg",fontSize:l="medium",htmlColor:s,inheritViewBox:u=!1,titleAccess:c,viewBox:d="0 0 24 24"}=n,f=ft(n,Yl),p=h.isValidElement(r)&&"svg"===r.type,m=pt({},n,{color:a,component:i,fontSize:l,instanceFontSize:e.fontSize,inheritViewBox:u,viewBox:d,hasSvgAsChild:p}),v={};u||(v.viewBox=d);const y=(e=>{const{color:t,fontSize:n,classes:r}=e;return Vt({root:["root","inherit"!==t&&`color${mn(t)}`,`fontSize${mn(n)}`]},ql,r)})(m);return Cn.jsxs(Kl,pt({as:i,className:Ft(y.root,o),focusable:"false",color:s,"aria-hidden":!c||void 0,role:c?"img":void 0,ref:t},v,f,p&&r.props,{ownerState:m,children:[p?r.props.children:r,c?Cn.jsx("title",{children:c}):null]}))}));function Ql(e,t){function n(n,r){return Cn.jsx(Gl,pt({"data-testid":`${t}Icon`,ref:r},n,{children:e}))}return"production"!==process.env.NODE_ENV&&(n.displayName=`${t}Icon`),n.muiName=Gl.muiName,h.memo(h.forwardRef(n))}"production"!==process.env.NODE_ENV&&(Gl.propTypes={children:$t.node,classes:$t.object,className:$t.string,color:$t.oneOfType([$t.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),$t.string]),component:$t.elementType,fontSize:$t.oneOfType([$t.oneOf(["inherit","large","medium","small"]),$t.string]),htmlColor:$t.string,inheritViewBox:$t.bool,shapeRendering:$t.string,sx:$t.oneOfType([$t.arrayOf($t.oneOfType([$t.func,$t.object,$t.bool])),$t.func,$t.object]),titleAccess:$t.string,viewBox:$t.string}),Gl.muiName="SvgIcon";var Xl=Ql(Cn.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function Jl(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function Zl(...e){return h.useMemo((()=>e.every((e=>null==e))?null:t=>{e.forEach((e=>{Jl(e,t)}))}),e)}function es(e,t,n,r,o){if("production"===process.env.NODE_ENV)return null;const a=o||t;return void 0!==e[t]?new Error(`The prop \`${a}\` is not supported. Please remove it.`):null}const ts=$t.oneOfType([$t.func,$t.object]);function ns(e,t){return"production"===process.env.NODE_ENV?()=>null:function(...n){return e(...n)||t(...n)}}var rs=ns($t.elementType,(function(e,t,n,r,o){const a=e[t],i=o||t;if(null==a||"undefined"==typeof window)return null;let l;return"function"!=typeof a||function(e){const{prototype:t={}}=e;return Boolean(t.isReactComponent)}(a)||(l="Did you accidentally provide a plain function component instead?"),void 0!==l?new Error(`Invalid ${r} \`${i}\` supplied to \`${n}\`. Expected an element type that can hold a ref. ${l} For more information see https://mui.com/r/caveat-with-refs-guide`):null}));const os="undefined"!=typeof window?h.useLayoutEffect:h.useEffect;function as(e){const t=h.useRef(e);return os((()=>{t.current=e})),h.useRef(((...e)=>(0,t.current)(...e))).current}const is={};const ls=[];class ss{constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new ss}start(e,t){this.clear(),this.currentId=setTimeout((()=>{this.currentId=null,t()}),e)}}function us(){const e=function(e,t){const n=h.useRef(is);return n.current===is&&(n.current=e(t)),n}(ss.create).current;var t;return t=e.disposeEffect,h.useEffect(t,ls),e}let cs=!0,ds=!1;const fs=new ss,ps={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function ms(e){e.metaKey||e.altKey||e.ctrlKey||(cs=!0)}function hs(){cs=!1}function vs(){"hidden"===this.visibilityState&&ds&&(cs=!0)}function ys(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return cs||function(e){const{type:t,tagName:n}=e;return!("INPUT"!==n||!ps[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}function gs(){const e=h.useCallback((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",ms,!0),t.addEventListener("mousedown",hs,!0),t.addEventListener("pointerdown",hs,!0),t.addEventListener("touchstart",hs,!0),t.addEventListener("visibilitychange",vs,!0))}),[]),t=h.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!ys(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(ds=!0,fs.start(100,(()=>{ds=!1})),t.current=!1,!0)},ref:e}}function bs(e,t){return bs=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},bs(e,t)}function ws(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,bs(e,t)}function xs(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}var ks=!1,Ss="production"!==process.env.NODE_ENV?$t.oneOfType([$t.number,$t.shape({enter:$t.number,exit:$t.number,appear:$t.number}).isRequired]):null,Es="production"!==process.env.NODE_ENV?$t.oneOfType([$t.string,$t.shape({enter:$t.string,exit:$t.string,active:$t.string}),$t.shape({enter:$t.string,enterDone:$t.string,enterActive:$t.string,exit:$t.string,exitDone:$t.string,exitActive:$t.string})]):null,Cs=v.createContext(null),Ts=function(e){return e.scrollTop},Os="unmounted",_s="exited",Ns="entering",Rs="entered",Ms="exiting",Ps=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var o,a=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?a?(o=_s,r.appearStatus=Ns):o=Rs:o=t.unmountOnExit||t.mountOnEnter?Os:_s,r.state={status:o},r.nextCallback=null,r}ws(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Os?{status:_s}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==Ns&&n!==Rs&&(t=Ns):n!==Ns&&n!==Rs||(t=Ms)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===Ns){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:M.findDOMNode(this);n&&Ts(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===_s&&this.setState({status:Os})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[M.findDOMNode(this),r],a=o[0],i=o[1],l=this.getTimeouts(),s=r?l.appear:l.enter;!e&&!n||ks?this.safeSetState({status:Rs},(function(){t.props.onEntered(a)})):(this.props.onEnter(a,i),this.safeSetState({status:Ns},(function(){t.props.onEntering(a,i),t.onTransitionEnd(s,(function(){t.safeSetState({status:Rs},(function(){t.props.onEntered(a,i)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:M.findDOMNode(this);t&&!ks?(this.props.onExit(r),this.safeSetState({status:Ms},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:_s},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:_s},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:M.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],a=o[0],i=o[1];this.props.addEndListener(a,i)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===Os)return null;var t=this.props,n=t.children;t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef;var r=ft(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return v.createElement(Cs.Provider,{value:null},"function"==typeof n?n(e,r):v.cloneElement(v.Children.only(n),r))},t}(v.Component);function Ds(){}Ps.contextType=Cs,Ps.propTypes="production"!==process.env.NODE_ENV?{nodeRef:$t.shape({current:"undefined"==typeof Element?$t.any:function(e,t,n,r,o,a){var i=e[t];return $t.instanceOf(i&&"ownerDocument"in i?i.ownerDocument.defaultView.Element:Element)(e,t,n,r,o,a)}}),children:$t.oneOfType([$t.func.isRequired,$t.element.isRequired]).isRequired,in:$t.bool,mountOnEnter:$t.bool,unmountOnExit:$t.bool,appear:$t.bool,enter:$t.bool,exit:$t.bool,timeout:function(e){var t=Ss;e.addEndListener||(t=t.isRequired);for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return t.apply(void 0,[e].concat(r))},addEndListener:$t.func,onEnter:$t.func,onEntering:$t.func,onEntered:$t.func,onExit:$t.func,onExiting:$t.func,onExited:$t.func}:{},Ps.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Ds,onEntering:Ds,onEntered:Ds,onExit:Ds,onExiting:Ds,onExited:Ds},Ps.UNMOUNTED=Os,Ps.EXITED=_s,Ps.ENTERING=Ns,Ps.ENTERED=Rs,Ps.EXITING=Ms;var Is=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.add(r):function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}(n,r)||("string"==typeof n.className?n.className=n.className+" "+r:n.setAttribute("class",(n.className&&n.className.baseVal||"")+" "+r)));var n,r}))},js=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.remove(r):"string"==typeof n.className?n.className=xs(n.className,r):n.setAttribute("class",xs(n.className&&n.className.baseVal||"",r)));var n,r}))},Ls=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,n){var r=t.resolveArguments(e,n),o=r[0],a=r[1];t.removeClasses(o,"exit"),t.addClass(o,a?"appear":"enter","base"),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var r=t.resolveArguments(e,n),o=r[0],a=r[1]?"appear":"enter";t.addClass(o,a,"active"),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var r=t.resolveArguments(e,n),o=r[0],a=r[1]?"appear":"enter";t.removeClasses(o,a),t.addClass(o,a,"done"),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"appear"),t.removeClasses(n,"enter"),t.addClass(n,"exit","base"),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.resolveArguments(e)[0];t.addClass(n,"exit","active"),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"exit"),t.addClass(n,"exit","done"),t.props.onExited&&t.props.onExited(e)},t.resolveArguments=function(e,n){return t.props.nodeRef?[t.props.nodeRef.current,e]:[e,n]},t.getClassNames=function(e){var n=t.props.classNames,r="string"==typeof n,o=r?""+(r&&n?n+"-":"")+e:n[e];return{baseClassName:o,activeClassName:r?o+"-active":n[e+"Active"],doneClassName:r?o+"-done":n[e+"Done"]}},t}ws(t,e);var n=t.prototype;return n.addClass=function(e,t,n){var r=this.getClassNames(t)[n+"ClassName"],o=this.getClassNames("enter").doneClassName;"appear"===t&&"done"===n&&o&&(r+=" "+o),"active"===n&&e&&Ts(e),r&&(this.appliedClasses[t][n]=r,Is(e,r))},n.removeClasses=function(e,t){var n=this.appliedClasses[t],r=n.base,o=n.active,a=n.done;this.appliedClasses[t]={},r&&js(e,r),o&&js(e,o),a&&js(e,a)},n.render=function(){var e=this.props;e.classNames;var t=ft(e,["classNames"]);return v.createElement(Ps,pt({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(v.Component);function zs(e,t){var n=Object.create(null);return e&&h.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&h.isValidElement(e)?t(e):e}(e)})),n}function $s(e,t,n){return null!=n[t]?n[t]:e.props[t]}function As(e,t,n){var r=zs(e.children),o=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,o=Object.create(null),a=[];for(var i in e)i in t?a.length&&(o[i]=a,a=[]):a.push(i);var l={};for(var s in t){if(o[s])for(r=0;r<o[s].length;r++){var u=o[s][r];l[o[s][r]]=n(u)}l[s]=n(s)}for(r=0;r<a.length;r++)l[a[r]]=n(a[r]);return l}(t,r);return Object.keys(o).forEach((function(a){var i=o[a];if(h.isValidElement(i)){var l=a in t,s=a in r,u=t[a],c=h.isValidElement(u)&&!u.props.in;!s||l&&!c?s||!l||c?s&&l&&h.isValidElement(u)&&(o[a]=h.cloneElement(i,{onExited:n.bind(null,i),in:u.props.in,exit:$s(i,"exit",e),enter:$s(i,"enter",e)})):o[a]=h.cloneElement(i,{in:!1}):o[a]=h.cloneElement(i,{onExited:n.bind(null,i),in:!0,exit:$s(i,"exit",e),enter:$s(i,"enter",e)})}})),o}Ls.defaultProps={classNames:""},Ls.propTypes="production"!==process.env.NODE_ENV?pt({},Ps.propTypes,{classNames:Es,onEnter:$t.func,onEntering:$t.func,onEntered:$t.func,onExit:$t.func,onExiting:$t.func,onExited:$t.func}):{};var Fs=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},Vs=function(e){function t(t,n){var r,o=(r=e.call(this,t,n)||this).handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(r));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}ws(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,r,o=t.children,a=t.handleExited;return{children:t.firstRender?(n=e,r=a,zs(n.children,(function(e){return h.cloneElement(e,{onExited:r.bind(null,e),in:!0,appear:$s(e,"appear",n),enter:$s(e,"enter",n),exit:$s(e,"exit",n)})}))):As(e,o,a),firstRender:!1}},n.handleExited=function(e,t){var n=zs(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=pt({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=ft(e,["component","childFactory"]),o=this.state.contextValue,a=Fs(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?v.createElement(Cs.Provider,{value:o},a):v.createElement(Cs.Provider,{value:o},v.createElement(t,r,a))},t}(v.Component);function Us(e=null){const t=h.useContext(jo);return t&&(n=t,0!==Object.keys(n).length)?t:e;var n}Vs.propTypes="production"!==process.env.NODE_ENV?{component:$t.any,children:$t.node,appear:$t.bool,enter:$t.bool,exit:$t.bool,childFactory:$t.func}:{},Vs.defaultProps={component:"div",childFactory:function(e){return e}};const Bs=Li();function Ws(e=Bs){return Us(e)}function Hs({styles:e,themeId:t,defaultTheme:n={}}){const r=Ws(n),o="function"==typeof e?e(t&&r[t]||r):e;return Cn.jsx(la,{styles:o})}"production"!==process.env.NODE_ENV&&(Hs.propTypes={defaultTheme:$t.object,styles:$t.oneOfType([$t.array,$t.func,$t.number,$t.object,$t.string,$t.bool]),themeId:$t.string});const qs=["className","component"];const Ys=["ownerState"],Ks=["variants"],Gs=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function Qs(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const Xs=Li(),Js=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function Zs({defaultTheme:e,theme:t,themeId:n}){return r=t,0===Object.keys(r).length?e:t[n]||t;var r}function eu(e){return e?(t,n)=>n[e]:null}function tu(e,t){let{ownerState:n}=t,r=ft(t,Ys);const o="function"==typeof e?e(pt({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap((e=>tu(e,pt({ownerState:n},r))));if(o&&"object"==typeof o&&Array.isArray(o.variants)){const{variants:e=[]}=o;let t=ft(o,Ks);return e.forEach((e=>{let o=!0;"function"==typeof e.props?o=e.props(pt({ownerState:n},r,n)):Object.keys(e.props).forEach((t=>{(null==n?void 0:n[t])!==e.props[t]&&r[t]!==e.props[t]&&(o=!1)})),o&&(Array.isArray(t)||(t=[t]),t.push("function"==typeof e.style?e.style(pt({ownerState:n},r,n)):e.style))})),t}return o}const nu=function(e={}){const{themeId:t,defaultTheme:n=Xs,rootShouldForwardProp:r=Qs,slotShouldForwardProp:o=Qs}=e,a=e=>Di(pt({},e,{theme:Zs(pt({},e,{defaultTheme:n,themeId:t}))}));return a.__mui_systemSx=!0,(e,i={})=>{ua(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:l,slot:s,skipVariantsResolver:u,skipSx:c,overridesResolver:d=eu(Js(s))}=i,f=ft(i,Gs),p=void 0!==u?u:s&&"Root"!==s&&"root"!==s||!1,m=c||!1;let h;"production"!==process.env.NODE_ENV&&l&&(h=`${l}-${Js(s||"Root")}`);let v=Qs;"Root"===s||"root"===s?v=r:s?v=o:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(v=void 0);const y=sa(e,pt({shouldForwardProp:v,label:h},f)),g=e=>"function"==typeof e&&e.__emotion_real!==e||da(e)?r=>tu(e,pt({},r,{theme:Zs({theme:r.theme,defaultTheme:n,themeId:t})})):e,b=(r,...o)=>{let i=g(r);const u=o?o.map(g):[];l&&d&&u.push((e=>{const r=Zs(pt({},e,{defaultTheme:n,themeId:t}));if(!r.components||!r.components[l]||!r.components[l].styleOverrides)return null;const o=r.components[l].styleOverrides,a={};return Object.entries(o).forEach((([t,n])=>{a[t]=tu(n,pt({},e,{theme:r}))})),d(e,a)})),l&&!p&&u.push((e=>{var r;const o=Zs(pt({},e,{defaultTheme:n,themeId:t}));return tu({variants:null==o||null==(r=o.components)||null==(r=r[l])?void 0:r.variants},pt({},e,{theme:o}))})),m||u.push(a);const c=u.length-o.length;if(Array.isArray(r)&&c>0){const e=new Array(c).fill("");i=[...r,...e],i.raw=[...r.raw,...e]}const f=y(i,...u);if("production"!==process.env.NODE_ENV){let t;l&&(t=`${l}${mn(s||"")}`),void 0===t&&(t=`Styled(${Ta(e)})`),f.displayName=t}return e.muiName&&(f.muiName=e.muiName),f};return y.withConfig&&(b.withConfig=y.withConfig),b}}();function ru(e){const{theme:t,name:n,props:r}=e;return t&&t.components&&t.components[n]&&t.components[n].defaultProps?vn(t.components[n].defaultProps,r):r}function ou({props:e,name:t,defaultTheme:n,themeId:r}){let o=Ws(n);r&&(o=o[r]||o);return ru({theme:o,name:t,props:e})}function au(e,t,n,r,o){const[a,i]=h.useState((()=>o&&n?n(e).matches:r?r(e).matches:t));return os((()=>{let t=!0;if(!n)return;const r=n(e),o=()=>{t&&i(r.matches)};return o(),r.addListener(o),()=>{t=!1,r.removeListener(o)}}),[e,n]),a}const iu=y.useSyncExternalStore;function lu(e,t,n,r,o){const a=h.useCallback((()=>t),[t]),i=h.useMemo((()=>{if(o&&n)return()=>n(e).matches;if(null!==r){const{matches:t}=r(e);return()=>t}return a}),[a,e,r,o,n]),[l,s]=h.useMemo((()=>{if(null===n)return[a,()=>()=>{}];const t=n(e);return[()=>t.matches,e=>(t.addListener(e),()=>{t.removeListener(e)})]}),[a,n,e]);return iu(s,l,i)}function su(e){if(e.type)return e;if("#"===e.charAt(0))return su(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map((e=>e+e))),n?`rgb${4===n.length?"a":""}(${n.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}(e));const t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error("production"!==process.env.NODE_ENV?`MUI: Unsupported \`${e}\` color.\nThe following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:Ht(9,e));let r,o=e.substring(t+1,e.length-1);if("color"===n){if(o=o.split(" "),r=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(r))throw new Error("production"!==process.env.NODE_ENV?`MUI: unsupported \`${r}\` color space.\nThe following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:Ht(10,r))}else o=o.split(",");return o=o.map((e=>parseFloat(e))),{type:n,values:o,colorSpace:r}}function uu(e,t){return e=su(e),t=function(e,t=0,n=1){return"production"!==process.env.NODE_ENV&&(e<t||e>n)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${n}].`),Yt(e,t,n)}(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,function(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return-1!==t.indexOf("rgb")?r=r.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`,`${t}(${r})`}(e)}function cu(e,t,n,r,o){const a=e[t],i=o||t;if(null==a||"undefined"==typeof window)return null;let l;const s=a.type;return"function"!=typeof s||function(e){const{prototype:t={}}=e;return Boolean(t.isReactComponent)}(s)||(l="Did you accidentally use a plain function component for an element instead?"),void 0!==l?new Error(`Invalid ${r} \`${i}\` supplied to \`${n}\`. Expected an element that can hold a ref. ${l} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const du=ns($t.element,cu);du.isRequired=ns($t.element.isRequired,cu);const fu="exact-prop: ​";function pu(e){return"production"===process.env.NODE_ENV?e:pt({},e,{[fu]:t=>{const n=Object.keys(t).filter((t=>!e.hasOwnProperty(t)));return n.length>0?new Error(`The following props are not supported: ${n.map((e=>`\`${e}\``)).join(", ")}. Please remove them.`):null}})}function mu(e,t,n,r,o){if("production"===process.env.NODE_ENV)return null;const a=e[t],i=o||t;return null==a?null:a&&1!==a.nodeType?new Error(`Invalid ${r} \`${i}\` supplied to \`${n}\`. Expected an HTMLElement.`):null}function hu(...e){return e.reduce(((e,t)=>null==t?e:function(...n){e.apply(this,n),t.apply(this,n)}),(()=>{}))}function vu(e,t=166){let n;function r(...r){clearTimeout(n),n=setTimeout((()=>{e.apply(this,r)}),t)}return r.clear=()=>{clearTimeout(n)},r}function yu(e,t){var n,r;return h.isValidElement(e)&&-1!==t.indexOf(null!=(n=e.type.muiName)?n:null==(r=e.type)||null==(r=r._payload)||null==(r=r.value)?void 0:r.muiName)}function gu(e){return e&&e.ownerDocument||document}function bu(e){return gu(e).defaultView||window}function wu(e,t){if("production"===process.env.NODE_ENV)return()=>null;const n=t?pt({},t.propTypes):null;return t=>(r,o,a,i,l,...s)=>{const u=l||o,c=null==n?void 0:n[u];if(c){const e=c(r,o,a,i,l,...s);if(e)return e}return void 0===r[o]||r[t]?null:new Error(`The prop \`${u}\` of \`${e}\` can only be used together with the \`${t}\` prop.`)}}let xu=0;const ku=y["useId".toString()];function Su(e){if(void 0!==ku){const t=ku();return null!=e?e:t}return function(e){const[t,n]=h.useState(e),r=e||t;return h.useEffect((()=>{null==t&&(xu+=1,n(`mui-${xu}`))}),[t]),r}(e)}function Eu({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=h.useRef(void 0!==e),[a,i]=h.useState(t),l=o?e:a;if("production"!==process.env.NODE_ENV){h.useEffect((()=>{o!==(void 0!==e)&&console.error([`MUI: A component is changing the ${o?"":"un"}controlled ${r} state of ${n} to be ${o?"un":""}controlled.`,"Elements should not switch from uncontrolled to controlled (or vice versa).",`Decide between using a controlled or uncontrolled ${n} element for the lifetime of the component.`,"The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.","More info: https://fb.me/react-controlled-components"].join("\n"))}),[r,n,e]);const{current:a}=h.useRef(t);h.useEffect((()=>{o||Object.is(a,t)||console.error([`MUI: A component is changing the default ${r} state of an uncontrolled ${n} after being initialized. To suppress this warning opt to use a controlled ${n}.`].join("\n"))}),[JSON.stringify(t)])}return[l,h.useCallback((e=>{o||i(e)}),[])]}function Cu(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}const Tu=Number.isInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e};function Ou(e,t,n,r){const o=e[t];if(null==o||!Tu(o)){const e=function(e){const t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":Number.isFinite(e)?e!==Math.floor(e)?"float":"number":"Infinity";case"object":return null===e?"null":e.constructor.name;default:return t}}(o);return new RangeError(`Invalid ${r} \`${t}\` of type \`${e}\` supplied to \`${n}\`, expected \`integer\`.`)}return null}function _u(e,t,...n){return void 0===e[t]?null:Ou(e,t,...n)}function Nu(){return null}_u.isRequired=Ou,Nu.isRequired=Nu;var Ru="production"===process.env.NODE_ENV?Nu:_u;function Mu(e){return"string"==typeof e}function Pu(e,t=[]){if(void 0===e)return{};const n={};return Object.keys(e).filter((n=>n.match(/^on[A-Z]/)&&"function"==typeof e[n]&&!t.includes(n))).forEach((t=>{n[t]=e[t]})),n}function Du(e){if(void 0===e)return{};const t={};return Object.keys(e).filter((t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t]))).forEach((n=>{t[n]=e[n]})),t}const Iu=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function ju(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o,skipResolvingSlotProps:a=!1}=e,i=ft(e,Iu),l=a?{}:function(e,t,n){return"function"==typeof e?e(t,n):e}(r,o),{props:s,internalRef:u}=function(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:a}=e;if(!t){const e=Ft(null==n?void 0:n.className,a,null==o?void 0:o.className,null==r?void 0:r.className),t=pt({},null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),i=pt({},n,o,r);return e.length>0&&(i.className=e),Object.keys(t).length>0&&(i.style=t),{props:i,internalRef:void 0}}const i=Pu(pt({},o,r)),l=Du(r),s=Du(o),u=t(i),c=Ft(null==u?void 0:u.className,null==n?void 0:n.className,a,null==o?void 0:o.className,null==r?void 0:r.className),d=pt({},null==u?void 0:u.style,null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),f=pt({},u,n,s,l);return c.length>0&&(f.className=c),Object.keys(d).length>0&&(f.style=d),{props:f,internalRef:u.ref}}(pt({},i,{externalSlotProps:l})),c=function(e,t,n){return void 0===e||Mu(e)?t:pt({},t,{ownerState:pt({},t.ownerState,n)})}(n,pt({},s,{ref:Zl(u,null==l?void 0:l.ref,null==(t=e.additionalProps)?void 0:t.ref)}),o);return c}const Lu=h.createContext();"production"!==process.env.NODE_ENV&&($t.node,$t.bool);const zu=["component","direction","spacing","divider","children","className","useFlexGap"],$u=Li(),Au=nu("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function Fu(e){return ou({props:e,name:"MuiStack",defaultTheme:$u})}function Vu(e,t){const n=h.Children.toArray(e).filter(Boolean);return n.reduce(((e,r,o)=>(e.push(r),o<n.length-1&&e.push(h.cloneElement(t,{key:`separator-${o}`})),e)),[])}const Uu=({ownerState:e,theme:t})=>{let n=pt({display:"flex",flexDirection:"column"},La({theme:t},Aa({values:e.direction,breakpoints:t.breakpoints.values}),(e=>({flexDirection:e}))));if(e.spacing){const r=Xa(t),o=Object.keys(t.breakpoints.values).reduce(((t,n)=>(("object"==typeof e.spacing&&null!=e.spacing[n]||"object"==typeof e.direction&&null!=e.direction[n])&&(t[n]=!0),t)),{}),a=Aa({values:e.direction,base:o}),i=Aa({values:e.spacing,base:o});"object"==typeof a&&Object.keys(a).forEach(((e,t,n)=>{if(!a[e]){const r=t>0?a[n[t-1]]:"column";a[e]=r}}));n=pa(n,La({theme:t},i,((t,n)=>{return e.useFlexGap?{gap:Ja(r,t)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${o=n?a[n]:e.direction,{row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"}[o]}`]:Ja(r,t)}};var o})))}return n=function(e,...t){const n=za(e),r=[n,...t].reduce(((e,t)=>pa(e,t)),{});return $a(Object.keys(n),r)}(t.breakpoints,n),n};function Bu(e){const{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:a,rippleSize:i,in:l,onExited:s,timeout:u}=e,[c,d]=h.useState(!1),f=Ft(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),p={width:i,height:i,top:-i/2+a,left:-i/2+o},m=Ft(n.child,c&&n.childLeaving,r&&n.childPulsate);return l||c||d(!0),h.useEffect((()=>{if(!l&&null!=s){const e=setTimeout(s,u);return()=>{clearTimeout(e)}}}),[s,l,u]),Cn.jsx("span",{className:f,style:p,children:Cn.jsx("span",{className:m})})}"production"!==process.env.NODE_ENV&&(Bu.propTypes={classes:$t.object.isRequired,className:$t.string,in:$t.bool,onExited:$t.func,pulsate:$t.bool,rippleSize:$t.number,rippleX:$t.number,rippleY:$t.number,timeout:$t.number.isRequired});const Wu=Hl("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Hu=["center","classes","className"];let qu,Yu,Ku,Gu,Qu=e=>e;const Xu=Bo(qu||(qu=Qu`
14
+ */function ds(e,t,n,r){yr(r);var o=bu(t,"onChange");if(o.length>0){var a=new Tl("onChange","change",null,n,r);e.push({event:a,listeners:o})}}var fs=null,ps=null;function ms(e){cu(e,0)}function hs(e){if(Mt(Yc(e)))return e}function vs(e,t){if("change"===e)return t}var ys=!1;function gs(){fs&&(fs.detachEvent("onpropertychange",bs),fs=null,ps=null)}function bs(e){"value"===e.propertyName&&hs(ps)&&function(e){var t=[];ds(t,ps,e,fr(e)),Sr(ms,t)}(e)}function ws(e,t,n){"focusin"===e?(gs(),function(e,t){ps=t,(fs=e).attachEvent("onpropertychange",bs)}(t,n)):"focusout"===e&&gs()}function xs(e,t){if("selectionchange"===e||"keyup"===e||"keydown"===e)return hs(ps)}function ks(e,t){if("click"===e)return hs(t)}function Ss(e,t){if("input"===e||"change"===e)return hs(t)}function Es(e,t,n,r,o,a,i){var l,s,u,c,d=n?Yc(n):window;if("select"===(c=(u=d).nodeName&&u.nodeName.toLowerCase())||"input"===c&&"file"===u.type?l=vs:cs(d)?ys?l=Ss:(l=xs,s=ws):function(e){var t=e.nodeName;return t&&"input"===t.toLowerCase()&&("checkbox"===e.type||"radio"===e.type)}(d)&&(l=ks),l){var f=l(t,n);if(f)return void ds(e,f,r,o)}s&&s(t,d,n),"focusout"===t&&function(e){var t=e._wrapperState;t&&t.controlled&&"number"===e.type&&Wt(e,"number",e.value)}(d)}function Cs(e,t,n,r,o,a,i){var l="mouseover"===t||"pointerover"===t,s="mouseout"===t||"pointerout"===t;if(l&&r!==dr){var u=r.relatedTarget||r.fromElement;if(u&&(Hc(u)||Wc(u)))return}if(s||l){var c,d,m;if(o.window===o)c=o;else{var h=o.ownerDocument;c=h?h.defaultView||h.parentWindow:window}if(s){var v=r.relatedTarget||r.toElement;d=n,null!==(m=v?Hc(v):null)&&(m!==go(m)||m.tag!==f&&m.tag!==p)&&(m=null)}else d=null,m=n;if(d!==m){var y=Rl,g="onMouseLeave",b="onMouseEnter",w="mouse";"pointerout"!==t&&"pointerover"!==t||(y=Bl,g="onPointerLeave",b="onPointerEnter",w="pointer");var x=null==d?c:Yc(d),k=null==m?c:Yc(m),S=new y(g,w+"leave",d,r,o);S.target=x,S.relatedTarget=k;var E=null;if(Hc(o)===n){var C=new y(b,w+"enter",m,r,o);C.target=k,C.relatedTarget=x,E=C}!function(e,t,n,r,o){var a=r&&o?function(e,t){for(var n=e,r=t,o=0,a=n;a;a=wu(a))o++;for(var i=0,l=r;l;l=wu(l))i++;for(;o-i>0;)n=wu(n),o--;for(;i-o>0;)r=wu(r),i--;for(var s=o;s--;){if(n===r||null!==r&&n===r.alternate)return n;n=wu(n),r=wu(r)}return null}(r,o):null;null!==r&&xu(e,t,r,a,!1),null!==o&&null!==n&&xu(e,n,o,a,!0)}(e,S,E,d,m)}}}X&&(ys=function(){if(!X)return!1;var e="oninput",t=e in document;if(!t){var n=document.createElement("div");n.setAttribute(e,"return;"),t="function"==typeof n[e]}return t}()&&(!document.documentMode||document.documentMode>9));var Ts="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function Os(e,t){if(Ts(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=0;o<n.length;o++){var a=n[o];if(!J.call(t,a)||!Ts(e[a],t[a]))return!1}return!0}function _s(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Ns(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function Rs(e,t){for(var n=_s(e),r=0,o=0;n;){if(n.nodeType===gn){if(o=r+n.textContent.length,r<=t&&o>=t)return{node:n,offset:t-r};r=o}n=_s(Ns(n))}}function Ms(e){var t=e.ownerDocument,n=t&&t.defaultView||window,r=n.getSelection&&n.getSelection();if(!r||0===r.rangeCount)return null;var o=r.anchorNode,a=r.anchorOffset,i=r.focusNode,l=r.focusOffset;try{o.nodeType,i.nodeType}catch(e){return null}return function(e,t,n,r,o){var a=0,i=-1,l=-1,s=0,u=0,c=e,d=null;e:for(;;){for(var f=null;c!==t||0!==n&&c.nodeType!==gn||(i=a+n),c!==r||0!==o&&c.nodeType!==gn||(l=a+o),c.nodeType===gn&&(a+=c.nodeValue.length),null!==(f=c.firstChild);)d=c,c=f;for(;;){if(c===e)break e;if(d===t&&++s===n&&(i=a),d===r&&++u===o&&(l=a),null!==(f=c.nextSibling))break;d=(c=d).parentNode}c=f}return-1===i||-1===l?null:{start:i,end:l}}(e,o,a,i,l)}function Ps(e){return e&&e.nodeType===gn}function Ds(e,t){return!(!e||!t)&&(e===t||!Ps(e)&&(Ps(t)?Ds(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function Is(e){return e&&e.ownerDocument&&Ds(e.ownerDocument.documentElement,e)}function js(e){try{return"string"==typeof e.contentWindow.location.href}catch(e){return!1}}function Ls(){for(var e=window,t=Pt();t instanceof e.HTMLIFrameElement;){if(!js(t))return t;t=Pt((e=t.contentWindow).document)}return t}function zs(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function $s(e){var t=Ls(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&Is(n)){null!==r&&zs(n)&&function(e,t){var n=t.start,r=t.end;void 0===r&&(r=n),"selectionStart"in e?(e.selectionStart=n,e.selectionEnd=Math.min(r,e.value.length)):function(e,t){var n=e.ownerDocument||document,r=n&&n.defaultView||window;if(r.getSelection){var o=r.getSelection(),a=e.textContent.length,i=Math.min(t.start,a),l=void 0===t.end?i:Math.min(t.end,a);if(!o.extend&&i>l){var s=l;l=i,i=s}var u=Rs(e,i),c=Rs(e,l);if(u&&c){if(1===o.rangeCount&&o.anchorNode===u.node&&o.anchorOffset===u.offset&&o.focusNode===c.node&&o.focusOffset===c.offset)return;var d=n.createRange();d.setStart(u.node,u.offset),o.removeAllRanges(),i>l?(o.addRange(d),o.extend(c.node,c.offset)):(d.setEnd(c.node,c.offset),o.addRange(d))}}}(e,t)}(n,r);for(var o=[],a=n;a=a.parentNode;)a.nodeType===yn&&o.push({element:a,left:a.scrollLeft,top:a.scrollTop});"function"==typeof n.focus&&n.focus();for(var i=0;i<o.length;i++){var l=o[i];l.element.scrollLeft=l.left,l.element.scrollTop=l.top}}}function As(e){return("selectionStart"in e?{start:e.selectionStart,end:e.selectionEnd}:Ms(e))||{start:0,end:0}}var Fs=X&&"documentMode"in document&&document.documentMode<=11,Vs=null,Us=null,Bs=null,Ws=!1;function Hs(e,t,n){var r,o=(r=n).window===r?r.document:r.nodeType===wn?r:r.ownerDocument;if(!Ws&&null!=Vs&&Vs===Pt(o)){var a=function(e){if("selectionStart"in e&&zs(e))return{start:e.selectionStart,end:e.selectionEnd};var t=(e.ownerDocument&&e.ownerDocument.defaultView||window).getSelection();return{anchorNode:t.anchorNode,anchorOffset:t.anchorOffset,focusNode:t.focusNode,focusOffset:t.focusOffset}}(Vs);if(!Bs||!Os(Bs,a)){Bs=a;var i=bu(Us,"onSelect");if(i.length>0){var l=new Tl("onSelect","select",null,t,n);e.push({event:l,listeners:i}),l.target=Vs}}}}function qs(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Ys={animationend:qs("Animation","AnimationEnd"),animationiteration:qs("Animation","AnimationIteration"),animationstart:qs("Animation","AnimationStart"),transitionend:qs("Transition","TransitionEnd")},Ks={},Gs={};function Qs(e){if(Ks[e])return Ks[e];if(!Ys[e])return e;var t=Ys[e];for(var n in t)if(t.hasOwnProperty(n)&&n in Gs)return Ks[e]=t[n];return e}X&&(Gs=document.createElement("div").style,"AnimationEvent"in window||(delete Ys.animationend.animation,delete Ys.animationiteration.animation,delete Ys.animationstart.animation),"TransitionEvent"in window||delete Ys.transitionend.transition);var Xs=Qs("animationend"),Js=Qs("animationiteration"),Zs=Qs("animationstart"),eu=Qs("transitionend"),tu=new Map,nu=["abort","auxClick","cancel","canPlay","canPlayThrough","click","close","contextMenu","copy","cut","drag","dragEnd","dragEnter","dragExit","dragLeave","dragOver","dragStart","drop","durationChange","emptied","encrypted","ended","error","gotPointerCapture","input","invalid","keyDown","keyPress","keyUp","load","loadedData","loadedMetadata","loadStart","lostPointerCapture","mouseDown","mouseMove","mouseOut","mouseOver","mouseUp","paste","pause","play","playing","pointerCancel","pointerDown","pointerMove","pointerOut","pointerOver","pointerUp","progress","rateChange","reset","resize","seeked","seeking","stalled","submit","suspend","timeUpdate","touchCancel","touchEnd","touchStart","volumeChange","scroll","toggle","touchMove","waiting","wheel"];function ru(e,t){tu.set(e,t),G(t,[e])}function ou(e,t,n,r,o,a,i){var l=tu.get(t);if(void 0!==l){var s=Tl,u=t;switch(t){case"keypress":if(0===gl(r))return;case"keydown":case"keyup":s=Ul;break;case"focusin":u="focus",s=Pl;break;case"focusout":u="blur",s=Pl;break;case"beforeblur":case"afterblur":s=Pl;break;case"click":if(2===r.button)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s=Rl;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=Ml;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=Wl;break;case Xs:case Js:case Zs:s=Dl;break;case eu:s=Hl;break;case"scroll":s=_l;break;case"wheel":s=ql;break;case"copy":case"cut":case"paste":s=Il;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=Bl}var c=!!(a&ur),d=!c&&"scroll"===t,p=function(e,t,n,r,o){for(var a=r?null!==t?t+"Capture":null:t,i=[],l=e,s=null;null!==l;){var u=l,c=u.stateNode;if(u.tag===f&&null!==c&&(s=c,null!==a)){var d=Er(l,a);null!=d&&i.push(gu(l,d,s))}if(o)break;l=l.return}return i}(n,l,r.type,c,d);if(p.length>0){var m=new s(l,u,null,r,o);e.push({event:m,listeners:p})}}}function au(e,t,n,r,o,a,i){ou(e,t,n,r,o,a),!(a&cr)&&(Cs(e,t,n,r,o),Es(e,t,n,r,o),function(e,t,n,r,o){var a=n?Yc(n):window;switch(t){case"focusin":(cs(a)||"true"===a.contentEditable)&&(Vs=a,Us=n,Bs=null);break;case"focusout":Vs=null,Us=null,Bs=null;break;case"mousedown":Ws=!0;break;case"contextmenu":case"mouseup":case"dragend":Ws=!1,Hs(e,r,o);break;case"selectionchange":if(Fs)break;case"keydown":case"keyup":Hs(e,r,o)}}(e,t,n,r,o),function(e,t,n,r,o){is(e,t,n,r,o),ss(e,t,n,r,o)}(e,t,n,r,o))}!function(){for(var e=0;e<nu.length;e++){var t=nu[e];ru(t.toLowerCase(),"on"+(t[0].toUpperCase()+t.slice(1)))}ru(Xs,"onAnimationEnd"),ru(Js,"onAnimationIteration"),ru(Zs,"onAnimationStart"),ru("dblclick","onDoubleClick"),ru("focusin","onFocus"),ru("focusout","onBlur"),ru(eu,"onTransitionEnd")}(),Q("onMouseEnter",["mouseout","mouseover"]),Q("onMouseLeave",["mouseout","mouseover"]),Q("onPointerEnter",["pointerout","pointerover"]),Q("onPointerLeave",["pointerout","pointerover"]),G("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"]),G("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"]),G("onBeforeInput",["compositionend","keypress","textInput","paste"]),G("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),G("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),G("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"]);var iu=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],lu=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(iu));function su(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,a,i,l,s){if(Lr.apply(this,arguments),Mr){var u=zr();Dr||(Dr=!0,Ir=u)}}(r,t,void 0,e),e.currentTarget=null}function uu(e,t,n){var r;if(n)for(var o=t.length-1;o>=0;o--){var a=t[o],i=a.instance,l=a.currentTarget,s=a.listener;if(i!==r&&e.isPropagationStopped())return;su(e,s,l),r=i}else for(var u=0;u<t.length;u++){var c=t[u],d=c.instance,f=c.currentTarget,p=c.listener;if(d!==r&&e.isPropagationStopped())return;su(e,p,f),r=d}}function cu(e,t){for(var n=!!(t&ur),r=0;r<e.length;r++){var o=e[r];uu(o.event,o.listeners,n)}!function(){if(Dr){var e=Ir;throw Dr=!1,Ir=null,e}}()}function du(e,t){lu.has(e)||a('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var n=function(e){var t=e[$c];return void 0===t&&(t=e[$c]=new Set),t}(t),r=function(e){return e+"__bubble"}(e);n.has(r)||(hu(t,e,sr,!1),n.add(r))}function fu(e,t,n){lu.has(e)&&!t&&a('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var r=0;t&&(r|=ur),hu(n,e,r,t)}var pu="_reactListening"+Math.random().toString(36).slice(2);function mu(e){if(!e[pu]){e[pu]=!0,q.forEach((function(t){"selectionchange"!==t&&(lu.has(t)||fu(t,!1,e),fu(t,!0,e))}));var t=e.nodeType===wn?e:e.ownerDocument;null!==t&&(t[pu]||(t[pu]=!0,fu("selectionchange",!1,t)))}}function hu(e,t,n,r,o){var a=function(e,t,n){var r;switch(fl(t)){case Ri:r=ll;break;case Mi:r=sl;break;default:r=ul}return r.bind(null,t,n,e)}(e,t,n),i=void 0;Cr&&("touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(i=!0)),r?void 0!==i?function(e,t,n,r){e.addEventListener(t,n,{capture:!0,passive:r})}(e,t,a,i):function(e,t,n){e.addEventListener(t,n,!0)}(e,t,a):void 0!==i?function(e,t,n,r){e.addEventListener(t,n,{passive:r})}(e,t,a,i):function(e,t,n){e.addEventListener(t,n,!1)}(e,t,a)}function vu(e,t){return e===t||e.nodeType===bn&&e.parentNode===t}function yu(e,t,n,r,o){var a=r;if(!(t&lr||t&sr)){var i=o;if(null!==r){var l=r;e:for(;;){if(null===l)return;var s=l.tag;if(s===c||s===d){var u=l.stateNode.containerInfo;if(vu(u,i))break;if(s===d)for(var m=l.return;null!==m;){var h=m.tag;if((h===c||h===d)&&vu(m.stateNode.containerInfo,i))return;m=m.return}for(;null!==u;){var v=Hc(u);if(null===v)return;var y=v.tag;if(y===f||y===p){l=a=v;continue e}u=u.parentNode}}l=l.return}}}Sr((function(){return function(e,t,n,r){var o=[];au(o,e,r,n,fr(n),t),cu(o,t)}(e,t,n,a)}))}function gu(e,t,n){return{instance:e,listener:t,currentTarget:n}}function bu(e,t){for(var n=t+"Capture",r=[],o=e;null!==o;){var a=o,i=a.stateNode;if(a.tag===f&&null!==i){var l=i,s=Er(o,n);null!=s&&r.unshift(gu(o,s,l));var u=Er(o,t);null!=u&&r.push(gu(o,u,l))}o=o.return}return r}function wu(e){if(null===e)return null;do{e=e.return}while(e&&e.tag!==f);return e||null}function xu(e,t,n,r,o){for(var a=t._reactName,i=[],l=n;null!==l&&l!==r;){var s=l,u=s.alternate,c=s.stateNode,d=s.tag;if(null!==u&&u===r)break;if(d===f&&null!==c){var p=c;if(o){var m=Er(l,a);null!=m&&i.unshift(gu(l,m,p))}else if(!o){var h=Er(l,a);null!=h&&i.push(gu(l,h,p))}}l=l.return}0!==i.length&&e.push({event:t,listeners:i})}var ku,Su,Eu,Cu,Tu,Ou,_u,Nu=!1,Ru="dangerouslySetInnerHTML",Mu="suppressContentEditableWarning",Pu="suppressHydrationWarning",Du="autoFocus",Iu="children",ju="style",Lu="__html";ku={dialog:!0,webview:!0},Su=function(e,t){Jn(e,t),function(e,t){"input"!==e&&"textarea"!==e&&"select"!==e||null==t||null!==t.value||er||(er=!0,"select"===e&&t.multiple?a("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):a("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e))}(e,t),ir(e,t,{registrationNameDependencies:Y,possibleRegistrationNames:K})},Ou=X&&!document.documentMode,Eu=function(e,t,n){if(!Nu){var r=Au(n),o=Au(t);o!==r&&(Nu=!0,a("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(o),JSON.stringify(r)))}},Cu=function(e){if(!Nu){Nu=!0;var t=[];e.forEach((function(e){t.push(e)})),a("Extra attributes from the server: %s",t)}},Tu=function(e,t){!1===t?a("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):a("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)},_u=function(e,t){var n=e.namespaceURI===un?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return n.innerHTML=t,n.innerHTML};var zu=/\r\n?/g,$u=/\u0000|\uFFFD/g;function Au(e){return ee(t=e)&&(a("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",Z(t)),te(t)),("string"==typeof e?e:""+e).replace(zu,"\n").replace($u,"");var t}function Fu(e,t,n,r){var o=Au(t),i=Au(e);if(i!==o&&(r&&(Nu||(Nu=!0,a('Text content did not match. Server: "%s" Client: "%s"',i,o))),n&&j))throw new Error("Text content does not match server-rendered HTML.")}function Vu(e){return e.nodeType===wn?e:e.ownerDocument}function Uu(){}function Bu(e){e.onclick=Uu}function Wu(e,t,n,r){var o,a=Hn(t,n);switch(Su(t,n),t){case"dialog":du("cancel",e),du("close",e),o=n;break;case"iframe":case"object":case"embed":du("load",e),o=n;break;case"video":case"audio":for(var i=0;i<iu.length;i++)du(iu[i],e);o=n;break;case"source":du("error",e),o=n;break;case"img":case"image":case"link":du("error",e),du("load",e),o=n;break;case"details":du("toggle",e),o=n;break;case"input":At(e,n),o=$t(e,n),du("invalid",e);break;case"option":Kt(0,n),o=n;break;case"select":nn(e,n),o=tn(0,n),du("invalid",e);break;case"textarea":an(e,n),o=on(e,n),du("invalid",e);break;default:o=n}switch(Wn(t,o),function(e,t,n,r,o){for(var a in r)if(r.hasOwnProperty(a)){var i=r[a];if(a===ju)i&&Object.freeze(i),Fn(t,i);else if(a===Ru){var l=i?i[Lu]:void 0;null!=l&&vn(t,l)}else a===Iu?"string"==typeof i?("textarea"!==e||""!==i)&&kn(t,i):"number"==typeof i&&kn(t,""+i):a===Mu||a===Pu||a===Du||(Y.hasOwnProperty(a)?null!=i&&("function"!=typeof i&&Tu(a,i),"onScroll"===a&&du("scroll",t)):null!=i&&_e(t,a,i,o))}}(t,e,0,o,a),t){case"input":Rt(e),Ut(e,n,!1);break;case"textarea":Rt(e),sn(e);break;case"option":!function(e,t){null!=t.value&&e.setAttribute("value",Et(Ct(t.value)))}(e,n);break;case"select":!function(e,t){var n=e;n.multiple=!!t.multiple;var r=t.value;null!=r?en(n,!!t.multiple,r,!1):null!=t.defaultValue&&en(n,!!t.multiple,t.defaultValue,!0)}(e,n);break;default:"function"==typeof o.onClick&&Bu(e)}}function Hu(e,t,n,r,o){Su(t,r);var i,l,s,u,c=null;switch(t){case"input":i=$t(e,n),l=$t(e,r),c=[];break;case"select":i=tn(0,n),l=tn(0,r),c=[];break;case"textarea":i=on(e,n),l=on(e,r),c=[];break;default:l=r,"function"!=typeof(i=n).onClick&&"function"==typeof l.onClick&&Bu(e)}Wn(t,l);var d=null;for(s in i)if(!l.hasOwnProperty(s)&&i.hasOwnProperty(s)&&null!=i[s])if(s===ju){var f=i[s];for(u in f)f.hasOwnProperty(u)&&(d||(d={}),d[u]="")}else s===Ru||s===Iu||s===Mu||s===Pu||s===Du||(Y.hasOwnProperty(s)?c||(c=[]):(c=c||[]).push(s,null));for(s in l){var p=l[s],m=null!=i?i[s]:void 0;if(l.hasOwnProperty(s)&&p!==m&&(null!=p||null!=m))if(s===ju)if(p&&Object.freeze(p),m){for(u in m)!m.hasOwnProperty(u)||p&&p.hasOwnProperty(u)||(d||(d={}),d[u]="");for(u in p)p.hasOwnProperty(u)&&m[u]!==p[u]&&(d||(d={}),d[u]=p[u])}else d||(c||(c=[]),c.push(s,d)),d=p;else if(s===Ru){var h=p?p[Lu]:void 0,v=m?m[Lu]:void 0;null!=h&&v!==h&&(c=c||[]).push(s,h)}else s===Iu?"string"!=typeof p&&"number"!=typeof p||(c=c||[]).push(s,""+p):s===Mu||s===Pu||(Y.hasOwnProperty(s)?(null!=p&&("function"!=typeof p&&Tu(s,p),"onScroll"===s&&du("scroll",e)),c||m===p||(c=[])):(c=c||[]).push(s,p))}return d&&(function(e,t){if(t){var n,r=Vn(e),o=Vn(t),i={};for(var l in r){var s=r[l],u=o[l];if(u&&s!==u){var c=s+","+u;if(i[c])continue;i[c]=!0,a("%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",null==(n=e[s])||"boolean"==typeof n||""===n?"Removing":"Updating",s,u)}}}}(d,l[ju]),(c=c||[]).push(ju,d)),c}function qu(e,t,n,r,o){switch("input"===n&&"radio"===o.type&&null!=o.name&&Ft(e,o),Hn(n,r),function(e,t,n,r){for(var o=0;o<t.length;o+=2){var a=t[o],i=t[o+1];a===ju?Fn(e,i):a===Ru?vn(e,i):a===Iu?kn(e,i):_e(e,a,i,r)}}(e,t,0,Hn(n,o)),n){case"input":Vt(e,o);break;case"textarea":ln(e,o);break;case"select":!function(e,t){var n=e,r=n._wrapperState.wasMultiple;n._wrapperState.wasMultiple=!!t.multiple;var o=t.value;null!=o?en(n,!!t.multiple,o,!1):r!==!!t.multiple&&(null!=t.defaultValue?en(n,!!t.multiple,t.defaultValue,!0):en(n,!!t.multiple,t.multiple?[]:"",!1))}(e,o)}}function Yu(e,t){Nu||(Nu=!0,a("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase()))}function Ku(e,t){Nu||(Nu=!0,a('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase()))}function Gu(e,t,n){Nu||(Nu=!0,a("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase()))}function Qu(e,t){""!==t&&(Nu||(Nu=!0,a('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())))}var Xu=function(){},Ju=function(){},Zu=["address","applet","area","article","aside","base","basefont","bgsound","blockquote","body","br","button","caption","center","col","colgroup","dd","details","dir","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","isindex","li","link","listing","main","marquee","menu","menuitem","meta","nav","noembed","noframes","noscript","object","ol","p","param","plaintext","pre","script","section","select","source","style","summary","table","tbody","td","template","textarea","tfoot","th","thead","title","tr","track","ul","wbr","xmp"],ec=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],tc=ec.concat(["button"]),nc=["dd","dt","li","option","optgroup","p","rp","rt"],rc={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};Ju=function(e,t){var n=Je({},e||rc),r={tag:t};return-1!==ec.indexOf(t)&&(n.aTagInScope=null,n.buttonTagInScope=null,n.nobrTagInScope=null),-1!==tc.indexOf(t)&&(n.pTagInButtonScope=null),-1!==Zu.indexOf(t)&&"address"!==t&&"div"!==t&&"p"!==t&&(n.listItemTagAutoclosing=null,n.dlItemTagAutoclosing=null),n.current=r,"form"===t&&(n.formTag=r),"a"===t&&(n.aTagInScope=r),"button"===t&&(n.buttonTagInScope=r),"nobr"===t&&(n.nobrTagInScope=r),"p"===t&&(n.pTagInButtonScope=r),"li"===t&&(n.listItemTagAutoclosing=r),"dd"!==t&&"dt"!==t||(n.dlItemTagAutoclosing=r),n};var oc={};Xu=function(e,t,n){var r=(n=n||rc).current,o=r&&r.tag;null!=t&&(null!=e&&a("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var i=function(e,t){switch(t){case"select":return"option"===e||"optgroup"===e||"#text"===e;case"optgroup":return"option"===e||"#text"===e;case"option":return"#text"===e;case"tr":return"th"===e||"td"===e||"style"===e||"script"===e||"template"===e;case"tbody":case"thead":case"tfoot":return"tr"===e||"style"===e||"script"===e||"template"===e;case"colgroup":return"col"===e||"template"===e;case"table":return"caption"===e||"colgroup"===e||"tbody"===e||"tfoot"===e||"thead"===e||"style"===e||"script"===e||"template"===e;case"head":return"base"===e||"basefont"===e||"bgsound"===e||"link"===e||"meta"===e||"title"===e||"noscript"===e||"noframes"===e||"style"===e||"script"===e||"template"===e;case"html":return"head"===e||"body"===e||"frameset"===e;case"frameset":return"frame"===e;case"#document":return"html"===e}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return"h1"!==t&&"h2"!==t&&"h3"!==t&&"h4"!==t&&"h5"!==t&&"h6"!==t;case"rp":case"rt":return-1===nc.indexOf(t);case"body":case"caption":case"col":case"colgroup":case"frameset":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return null==t}return!0}(e,o)?null:r,l=i?null:function(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null}(e,n),s=i||l;if(s){var u=s.tag,c=!!i+"|"+e+"|"+u;if(!oc[c]){oc[c]=!0;var d=e,f="";if("#text"===e?/\S/.test(t)?d="Text nodes":(d="Whitespace text nodes",f=" Make sure you don't have any extra whitespace between tags on each line of your source code."):d="<"+e+">",i){var p="";"table"===u&&"tr"===e&&(p+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),a("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",d,u,f,p)}else a("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",d,u)}}};var ac="suppressHydrationWarning",ic="$",lc="/$",sc="$?",uc="$!",cc="style",dc=null,fc=null;function pc(e){var t;return dc=al,t=Ls(),fc={focusedElem:t,selectionRange:zs(t)?As(t):null},il(!1),null}function mc(e,t,n,r,o){var i=r;if(Xu(e,null,i.ancestorInfo),"string"==typeof t.children||"number"==typeof t.children){var l=""+t.children,s=Ju(i.ancestorInfo,e);Xu(null,l,s)}var u=function(e,t,n,r){var o,i,l=Vu(n),s=r;if(s===un&&(s=fn(e)),s===un){if((o=Hn(e,t))||e===e.toLowerCase()||a("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),"script"===e){var u=l.createElement("div");u.innerHTML="<script><\/script>";var c=u.firstChild;i=u.removeChild(c)}else if("string"==typeof t.is)i=l.createElement(e,{is:t.is});else if(i=l.createElement(e),"select"===e){var d=i;t.multiple?d.multiple=!0:t.size&&(d.size=t.size)}}else i=l.createElementNS(s,e);return s===un&&(o||"[object HTMLUnknownElement]"!==Object.prototype.toString.call(i)||J.call(ku,e)||(ku[e]=!0,a("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e))),i}(e,t,n,i.namespace);return Vc(o,u),Gc(u,t),u}function hc(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}function vc(e,t,n,r){Xu(null,e,n.ancestorInfo);var o=function(e,t){return Vu(t).createTextNode(e)}(e,t);return Vc(r,o),o}var yc="function"==typeof setTimeout?setTimeout:void 0,gc="function"==typeof clearTimeout?clearTimeout:void 0,bc=-1,wc="function"==typeof Promise?Promise:void 0,xc="function"==typeof queueMicrotask?queueMicrotask:void 0!==wc?function(e){return wc.resolve(null).then(e).catch(kc)}:yc;function kc(e){setTimeout((function(){throw e}))}function Sc(e){kn(e,"")}function Ec(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===bn){var a=o.data;if(a===lc){if(0===r)return e.removeChild(o),void rl(t);r--}else a!==ic&&a!==sc&&a!==uc||r++}n=o}while(n);rl(t)}function Cc(e){var t=e.style;"function"==typeof t.setProperty?t.setProperty("display","none","important"):t.display="none"}function Tc(e,t){var n=t[cc],r=null!=n&&n.hasOwnProperty("display")?n.display:null;e.style.display=Tn("display",r)}function Oc(e,t){e.nodeValue=t}function _c(e){return e.data===sc}function Nc(e){return e.data===uc}function Rc(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(t===yn||t===gn)break;if(t===bn){var n=e.data;if(n===ic||n===uc||n===sc)break;if(n===lc)return null}}return e}function Mc(e){return Rc(e.nextSibling)}function Pc(e,t,n,r,o,a,i){return Vc(a,e),Gc(e,n),function(e,t,n,r,o,a,i){var l,s;switch(l=Hn(t,n),Su(t,n),t){case"dialog":du("cancel",e),du("close",e);break;case"iframe":case"object":case"embed":du("load",e);break;case"video":case"audio":for(var u=0;u<iu.length;u++)du(iu[u],e);break;case"source":du("error",e);break;case"img":case"image":case"link":du("error",e),du("load",e);break;case"details":du("toggle",e);break;case"input":At(e,n),du("invalid",e);break;case"option":Kt(0,n);break;case"select":nn(e,n),du("invalid",e);break;case"textarea":an(e,n),du("invalid",e)}Wn(t,n),s=new Set;for(var c=e.attributes,d=0;d<c.length;d++)switch(c[d].name.toLowerCase()){case"value":case"checked":case"selected":break;default:s.add(c[d].name)}var f,p=null;for(var m in n)if(n.hasOwnProperty(m)){var h=n[m];if(m===Iu)"string"==typeof h?e.textContent!==h&&(!0!==n[Pu]&&Fu(e.textContent,h,a,i),p=[Iu,h]):"number"==typeof h&&e.textContent!==""+h&&(!0!==n[Pu]&&Fu(e.textContent,h,a,i),p=[Iu,""+h]);else if(Y.hasOwnProperty(m))null!=h&&("function"!=typeof h&&Tu(m,h),"onScroll"===m&&du("scroll",e));else if(i&&"boolean"==typeof l){var v=void 0,y=l&&V?null:ge(m);if(!0===n[Pu]);else if(m===Mu||m===Pu||"value"===m||"checked"===m||"selected"===m);else if(m===Ru){var g=e.innerHTML,b=h?h[Lu]:void 0;if(null!=b){var w=_u(e,b);w!==g&&Eu(m,g,w)}}else if(m===ju){if(s.delete(m),Ou){var x=An(h);x!==(v=e.getAttribute("style"))&&Eu(m,v,x)}}else if(l&&!V)s.delete(m.toLowerCase()),h!==(v=Oe(e,m,h))&&Eu(m,v,h);else if(!he(m,y,l)&&!ye(m,h,y,l)){var k=!1;if(null!==y)s.delete(y.attributeName),v=Te(e,m,h,y);else{var S=r;if(S===un&&(S=fn(t)),S===un)s.delete(m.toLowerCase());else{var E=(f=void 0,f=m.toLowerCase(),qn.hasOwnProperty(f)&&qn[f]||null);null!==E&&E!==m&&(k=!0,s.delete(E)),s.delete(m)}v=Oe(e,m,h)}V||h===v||k||Eu(m,v,h)}}}switch(i&&s.size>0&&!0!==n[Pu]&&Cu(s),t){case"input":Rt(e),Ut(e,n,!0);break;case"textarea":Rt(e),sn(e);break;case"select":case"option":break;default:"function"==typeof n.onClick&&Bu(e)}return p}(e,t,n,o.namespace,0,(a.mode&ia)!==aa,i)}function Dc(e){for(var t=e.previousSibling,n=0;t;){if(t.nodeType===bn){var r=t.data;if(r===ic||r===uc||r===sc){if(0===n)return t;n--}else r===lc&&n++}t=t.previousSibling}return null}var Ic=Math.random().toString(36).slice(2),jc="__reactFiber$"+Ic,Lc="__reactProps$"+Ic,zc="__reactContainer$"+Ic,$c="__reactEvents$"+Ic,Ac="__reactListeners$"+Ic,Fc="__reactHandles$"+Ic;function Vc(e,t){t[jc]=e}function Uc(e,t){t[zc]=e}function Bc(e){e[zc]=null}function Wc(e){return!!e[zc]}function Hc(e){var t=e[jc];if(t)return t;for(var n=e.parentNode;n;){if(t=n[zc]||n[jc]){var r=t.alternate;if(null!==t.child||null!==r&&null!==r.child)for(var o=Dc(e);null!==o;){var a=o[jc];if(a)return a;o=Dc(o)}return t}n=(e=n).parentNode}return null}function qc(e){var t=e[jc]||e[zc];return!t||t.tag!==f&&t.tag!==p&&t.tag!==x&&t.tag!==c?null:t}function Yc(e){if(e.tag===f||e.tag===p)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function Kc(e){return e[Lc]||null}function Gc(e,t){e[Lc]=t}var Qc={},Xc=n.ReactDebugCurrentFrame;function Jc(e){if(e){var t=e._owner,n=ut(e.type,e._source,t?t.type:null);Xc.setExtraStackFrame(n)}else Xc.setExtraStackFrame(null)}function Zc(e,t,n,r,o){var i=Function.call.bind(J);for(var l in e)if(i(e,l)){var s=void 0;try{if("function"!=typeof e[l]){var u=Error((r||"React class")+": "+n+" type `"+l+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[l]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw u.name="Invariant Violation",u}s=e[l](t,l,r,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){s=e}!s||s instanceof Error||(Jc(o),a("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",r||"React class",n,l,typeof s),Jc(null)),s instanceof Error&&!(s.message in Qc)&&(Qc[s.message]=!0,Jc(o),a("Failed %s type: %s",n,s.message),Jc(null))}}var ed,td=[];ed=[];var nd,rd=-1;function od(e){return{current:e}}function ad(e,t){rd<0?a("Unexpected pop."):(t!==ed[rd]&&a("Unexpected Fiber popped."),e.current=td[rd],td[rd]=null,ed[rd]=null,rd--)}function id(e,t,n){rd++,td[rd]=e.current,ed[rd]=n,e.current=t}nd={};var ld={};Object.freeze(ld);var sd=od(ld),ud=od(!1),cd=ld;function dd(e,t,n){return n&&hd(t)?cd:sd.current}function fd(e,t,n){var r=e.stateNode;r.__reactInternalMemoizedUnmaskedChildContext=t,r.__reactInternalMemoizedMaskedChildContext=n}function pd(e,t){var n=e.type.contextTypes;if(!n)return ld;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={};for(var a in n)o[a]=t[a];return Zc(n,o,"context",ht(e)||"Unknown"),r&&fd(e,t,o),o}function md(){return ud.current}function hd(e){return null!=e.childContextTypes}function vd(e){ad(ud,e),ad(sd,e)}function yd(e){ad(ud,e),ad(sd,e)}function gd(e,t,n){if(sd.current!==ld)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");id(sd,t,e),id(ud,n,e)}function bd(e,t,n){var r=e.stateNode,o=t.childContextTypes;if("function"!=typeof r.getChildContext){var i=ht(e)||"Unknown";return nd[i]||(nd[i]=!0,a("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",i,i)),n}var l=r.getChildContext();for(var s in l)if(!(s in o))throw new Error((ht(e)||"Unknown")+'.getChildContext(): key "'+s+'" is not defined in childContextTypes.');return Zc(o,l,"child context",ht(e)||"Unknown"),Je({},n,l)}function wd(e){var t=e.stateNode,n=t&&t.__reactInternalMemoizedMergedChildContext||ld;return cd=sd.current,id(sd,n,e),id(ud,ud.current,e),!0}function xd(e,t,n){var r=e.stateNode;if(!r)throw new Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");if(n){var o=bd(e,t,cd);r.__reactInternalMemoizedMergedChildContext=o,ad(ud,e),ad(sd,e),id(sd,o,e),id(ud,n,e)}else ad(ud,e),id(ud,n,e)}function kd(e){if(!function(e){return go(e)===e}(e)||e.tag!==s)throw new Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");var t=e;do{switch(t.tag){case c:return t.stateNode.context;case s:if(hd(t.type))return t.stateNode.__reactInternalMemoizedMergedChildContext}t=t.return}while(null!==t);throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}var Sd=0,Ed=1,Cd=null,Td=!1,Od=!1;function _d(e){null===Cd?Cd=[e]:Cd.push(e)}function Nd(){Td&&Rd()}function Rd(){if(!Od&&null!==Cd){Od=!0;var e=0,t=ji();try{var n=Cd;for(Li(Ri);e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Cd=null,Td=!1}catch(t){throw null!==Cd&&(Cd=Cd.slice(e+1)),Oo(Do,Rd),t}finally{Li(t),Od=!1}}return null}var Md=[],Pd=0,Dd=null,Id=0,jd=[],Ld=0,zd=null,$d=1,Ad="";function Fd(){var e,t=Ad;return($d&(e=$d,~(1<<Wd(e)-1))).toString(32)+t}function Vd(e,t){qd(),Md[Pd++]=Id,Md[Pd++]=Dd,Dd=e,Id=t}function Ud(e,t,n){qd(),jd[Ld++]=$d,jd[Ld++]=Ad,jd[Ld++]=zd,zd=e;var r=$d,o=Ad,a=Wd(r)-1,i=r&~(1<<a),l=n+1,s=Wd(t)+a;if(s>30){var u=a-a%5,c=(i&(1<<u)-1).toString(32),d=i>>u,f=a-u,p=Wd(t)+f;$d=1<<p|l<<f|d,Ad=c+o}else $d=1<<s|l<<a|i,Ad=o}function Bd(e){qd(),null!==e.return&&(Vd(e,1),Ud(e,1,0))}function Wd(e){return 32-ca(e)}function Hd(e){for(;e===Dd;)Dd=Md[--Pd],Md[Pd]=null,Id=Md[--Pd],Md[Pd]=null;for(;e===zd;)zd=jd[--Ld],jd[Ld]=null,Ad=jd[--Ld],jd[Ld]=null,$d=jd[--Ld],jd[Ld]=null}function qd(){bf()||a("Expected to be hydrating. This is a bug in React. Please file an issue.")}var Yd=null,Kd=null,Gd=!1,Qd=!1,Xd=null;function Jd(){Gd&&a("We should not be hydrating here. This is a bug in React. Please file a bug.")}function Zd(){Qd=!0}function ef(e){var t=e.stateNode.containerInfo;return Kd=Rc(t.firstChild),Yd=e,Gd=!0,Xd=null,Qd=!1,!0}function tf(e,t,n){return Kd=Rc(t.nextSibling),Yd=e,Gd=!0,Xd=null,Qd=!1,null!==n&&function(e,t){qd(),jd[Ld++]=$d,jd[Ld++]=Ad,jd[Ld++]=zd,$d=t.id,Ad=t.overflow,zd=e}(e,n),!0}function nf(e,t){switch(e.tag){case c:!function(e,t){t.nodeType===yn?Yu(e,t):t.nodeType===bn||Ku(e,t)}(e.stateNode.containerInfo,t);break;case f:var n=(e.mode&ia)!==aa;!function(e,t,n,r,o){(o||!0!==t[ac])&&(r.nodeType===yn?Yu(n,r):r.nodeType===bn||Ku(n,r))}(e.type,e.memoizedProps,e.stateNode,t,n);break;case x:var r=e.memoizedState;null!==r.dehydrated&&function(e,t){var n=e.parentNode;null!==n&&(t.nodeType===yn?Yu(n,t):t.nodeType===bn||Ku(n,t))}(r.dehydrated,t)}}function rf(e,t){nf(e,t);var n,r=((n=lx(f,null,null,aa)).elementType="DELETED",n);r.stateNode=t,r.return=e;var o=e.deletions;null===o?(e.deletions=[r],e.flags|=Br):o.push(r)}function of(e,t){if(!Qd)switch(e.tag){case c:var n=e.stateNode.containerInfo;switch(t.tag){case f:var r=t.type;t.pendingProps,function(e,t){Gu(e,t)}(n,r);break;case p:!function(e,t){Qu(e,t)}(n,t.pendingProps)}break;case f:e.type;var o=e.memoizedProps,a=e.stateNode;switch(t.tag){case f:var i=t.type;t.pendingProps,function(e,t,n,r,o,a){(a||!0!==t[ac])&&Gu(n,r)}(0,o,a,i,0,(e.mode&ia)!==aa);break;case p:!function(e,t,n,r,o){(o||!0!==t[ac])&&Qu(n,r)}(0,o,a,t.pendingProps,(e.mode&ia)!==aa)}break;case x:var l=e.memoizedState.dehydrated;if(null!==l)switch(t.tag){case f:var s=t.type;t.pendingProps,function(e,t){var n=e.parentNode;null!==n&&Gu(n,t)}(l,s);break;case p:!function(e,t){var n=e.parentNode;null!==n&&Qu(n,t)}(l,t.pendingProps)}break;default:return}}function af(e,t){t.flags=t.flags&~Xr|Vr,of(e,t)}function lf(e,t){switch(e.tag){case f:var n=e.type;e.pendingProps;var r=function(e,t){return e.nodeType!==yn||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}(t,n);return null!==r&&(e.stateNode=r,Yd=e,Kd=Rc(r.firstChild),!0);case p:var o=function(e,t){return""===t||e.nodeType!==gn?null:e}(t,e.pendingProps);return null!==o&&(e.stateNode=o,Yd=e,Kd=null,!0);case x:var a=function(e){return e.nodeType!==bn?null:e}(t);if(null!==a){var i={dehydrated:a,treeContext:(qd(),null!==zd?{id:$d,overflow:Ad}:null),retryLane:Qa};e.memoizedState=i;var l=function(e){var t=lx(T,null,null,aa);return t.stateNode=e,t}(a);return l.return=e,e.child=l,Yd=e,Kd=null,!0}return!1;default:return!1}}function sf(e){return(e.mode&ia)!==aa&&(e.flags&qr)===Ar}function uf(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function cf(e){if(Gd){var t=Kd;if(!t)return sf(e)&&(of(Yd,e),uf()),af(Yd,e),Gd=!1,void(Yd=e);var n=t;if(!lf(e,t)){sf(e)&&(of(Yd,e),uf()),t=Mc(n);var r=Yd;if(!t||!lf(e,t))return af(Yd,e),Gd=!1,void(Yd=e);rf(r,n)}}}function df(e){var t=e.stateNode,n=e.memoizedProps,r=function(e,t,n){return Vc(n,e),n.mode,function(e,t){return e.nodeValue!==t}(e,t)}(t,n,e);if(r){var o=Yd;if(null!==o)switch(o.tag){case c:o.stateNode.containerInfo,function(e,t,n,r){Fu(t.nodeValue,n,r,!0)}(0,t,n,(o.mode&ia)!==aa);break;case f:o.type;var a=o.memoizedProps;o.stateNode,function(e,t,n,r,o,a){!0!==t[ac]&&Fu(r.nodeValue,o,a,!0)}(0,a,0,t,n,(o.mode&ia)!==aa)}}return r}function ff(e){var t=e.memoizedState,n=null!==t?t.dehydrated:null;if(!n)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");!function(e,t){Vc(t,e)}(n,e)}function pf(e){var t=e.memoizedState,n=null!==t?t.dehydrated:null;if(!n)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");return function(e){for(var t=e.nextSibling,n=0;t;){if(t.nodeType===bn){var r=t.data;if(r===lc){if(0===n)return Mc(t);n--}else r!==ic&&r!==uc&&r!==sc||n++}t=t.nextSibling}return null}(n)}function mf(e){for(var t=e.return;null!==t&&t.tag!==f&&t.tag!==c&&t.tag!==x;)t=t.return;Yd=t}function hf(e){if(e!==Yd)return!1;if(!Gd)return mf(e),Gd=!0,!1;if(e.tag!==c&&(e.tag!==f||"head"!==(n=e.type)&&"body"!==n&&!hc(e.type,e.memoizedProps))){var t=Kd;if(t)if(sf(e))vf(e),uf();else for(;t;)rf(e,t),t=Mc(t)}var n;return mf(e),Kd=e.tag===x?pf(e):Yd?Mc(e.stateNode):null,!0}function vf(e){for(var t=Kd;t;)nf(e,t),t=Mc(t)}function yf(){Yd=null,Kd=null,Gd=!1,Qd=!1}function gf(){null!==Xd&&(rw(Xd),Xd=null)}function bf(){return Gd}function wf(e){null===Xd?Xd=[e]:Xd.push(e)}var xf=n.ReactCurrentBatchConfig,kf=null,Sf={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},Ef=function(e){var t=[];return e.forEach((function(e){t.push(e)})),t.sort().join(", ")},Cf=[],Tf=[],Of=[],_f=[],Nf=[],Rf=[],Mf=new Set;Sf.recordUnsafeLifecycleWarnings=function(e,t){Mf.has(e.type)||("function"==typeof t.componentWillMount&&!0!==t.componentWillMount.__suppressDeprecationWarning&&Cf.push(e),e.mode&sa&&"function"==typeof t.UNSAFE_componentWillMount&&Tf.push(e),"function"==typeof t.componentWillReceiveProps&&!0!==t.componentWillReceiveProps.__suppressDeprecationWarning&&Of.push(e),e.mode&sa&&"function"==typeof t.UNSAFE_componentWillReceiveProps&&_f.push(e),"function"==typeof t.componentWillUpdate&&!0!==t.componentWillUpdate.__suppressDeprecationWarning&&Nf.push(e),e.mode&sa&&"function"==typeof t.UNSAFE_componentWillUpdate&&Rf.push(e))},Sf.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;Cf.length>0&&(Cf.forEach((function(t){e.add(ht(t)||"Component"),Mf.add(t.type)})),Cf=[]);var t=new Set;Tf.length>0&&(Tf.forEach((function(e){t.add(ht(e)||"Component"),Mf.add(e.type)})),Tf=[]);var n=new Set;Of.length>0&&(Of.forEach((function(e){n.add(ht(e)||"Component"),Mf.add(e.type)})),Of=[]);var r=new Set;_f.length>0&&(_f.forEach((function(e){r.add(ht(e)||"Component"),Mf.add(e.type)})),_f=[]);var i=new Set;Nf.length>0&&(Nf.forEach((function(e){i.add(ht(e)||"Component"),Mf.add(e.type)})),Nf=[]);var l=new Set;Rf.length>0&&(Rf.forEach((function(e){l.add(ht(e)||"Component"),Mf.add(e.type)})),Rf=[]),t.size>0&&a("Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move code with side effects to componentDidMount, and set initial state in the constructor.\n\nPlease update the following components: %s",Ef(t)),r.size>0&&a("Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state\n\nPlease update the following components: %s",Ef(r)),l.size>0&&a("Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n\nPlease update the following components: %s",Ef(l)),e.size>0&&o("componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move code with side effects to componentDidMount, and set initial state in the constructor.\n* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s",Ef(e)),n.size>0&&o("componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state\n* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s",Ef(n)),i.size>0&&o("componentWillUpdate has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s",Ef(i))};var Pf,Df,If,jf,Lf,zf,$f=new Map,Af=new Set;function Ff(e,t,n){var r,o,i,l=n.ref;if(null!==l&&"function"!=typeof l&&"object"!=typeof l){if((e.mode&sa||U)&&(!n._owner||!n._self||n._owner.stateNode===n._self)&&(!n._owner||n._owner.tag===s)&&("function"!=typeof n.type||(r=n.type).prototype&&r.prototype.isReactComponent)&&n._owner){var u=ht(e)||"Component";If[u]||(a('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',u,l),If[u]=!0)}if(n._owner){var c,d=n._owner;if(d){var f=d;if(f.tag!==s)throw new Error("Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref");c=f.stateNode}if(!c)throw new Error("Missing owner for string ref "+l+". This error is likely caused by a bug in React. Please file an issue.");var p=c;i="ref",ee(o=l)&&(a("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",i,Z(o)),te(o));var m=""+l;if(null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===m)return t.ref;var h=function(e){var t=p.refs;null===e?delete t[m]:t[m]=e};return h._stringRef=m,h}if("string"!=typeof l)throw new Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");if(!n._owner)throw new Error("Element ref was specified as a string ("+l+") but no owner was set. This could happen for one of the following reasons:\n1. You may be adding a ref to a function component\n2. You may be adding a ref to a component that was not created inside a component's render method\n3. You have multiple copies of React loaded\nSee https://reactjs.org/link/refs-must-have-owner for more information.")}return l}function Vf(e,t){var n=Object.prototype.toString.call(t);throw new Error("Objects are not valid as a React child (found: "+("[object Object]"===n?"object with keys {"+Object.keys(t).join(", ")+"}":n)+"). If you meant to render a collection of children, use an array instead.")}function Uf(e){var t=ht(e)||"Component";Lf[t]||(Lf[t]=!0,a("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it."))}function Bf(e){var t=e._payload;return(0,e._init)(t)}function Wf(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=Br):r.push(n)}}function n(n,r){if(!e)return null;for(var o=r;null!==o;)t(n,o),o=o.sibling;return null}function r(e,t){for(var n=new Map,r=t;null!==r;)null!==r.key?n.set(r.key,r):n.set(r.index,r),r=r.sibling;return n}function o(e,t){var n=ux(e,t);return n.index=0,n.sibling=null,n}function i(t,n,r){if(t.index=r,!e)return t.flags|=ao,n;var o=t.alternate;if(null!==o){var a=o.index;return a<n?(t.flags|=Vr,n):a}return t.flags|=Vr,n}function l(t){return e&&null===t.alternate&&(t.flags|=Vr),t}function s(e,t,n,r){if(null===t||t.tag!==p){var a=hx(n,e.mode,r);return a.return=e,a}var i=o(t,n);return i.return=e,i}function u(e,t,n,r){var a=n.type;if(a===Me)return f(e,t,n.props.children,r,n.key);if(null!==t&&(t.elementType===a||Xw(t,n)||"object"==typeof a&&null!==a&&a.$$typeof===Fe&&Bf(a)===t.type)){var i=o(t,n.props);return i.ref=Ff(e,t,n),i.return=e,i._debugSource=n._source,i._debugOwner=n._owner,i}var l=fx(n,e.mode,r);return l.ref=Ff(e,t,n),l.return=e,l}function c(e,t,n,r){if(null===t||t.tag!==d||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation){var a=vx(n,e.mode,r);return a.return=e,a}var i=o(t,n.children||[]);return i.return=e,i}function f(e,t,n,r,a){if(null===t||t.tag!==m){var i=px(n,e.mode,r,a);return i.return=e,i}var l=o(t,n);return l.return=e,l}function h(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t){var r=hx(""+t,e.mode,n);return r.return=e,r}if("object"==typeof t&&null!==t){switch(t.$$typeof){case Ne:var o=fx(t,e.mode,n);return o.ref=Ff(e,null,t),o.return=e,o;case Re:var a=vx(t,e.mode,n);return a.return=e,a;case Fe:var i=t._payload;return h(e,(0,t._init)(i),n)}if(Xt(t)||We(t)){var l=px(t,e.mode,n,null);return l.return=e,l}Vf(0,t)}return"function"==typeof t&&Uf(e),null}function v(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==o?null:s(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case Ne:return n.key===o?u(e,t,n,r):null;case Re:return n.key===o?c(e,t,n,r):null;case Fe:var a=n._payload;return v(e,t,(0,n._init)(a),r)}if(Xt(n)||We(n))return null!==o?null:f(e,t,n,r,null);Vf(0,n)}return"function"==typeof n&&Uf(e),null}function y(e,t,n,r,o){if("string"==typeof r&&""!==r||"number"==typeof r)return s(t,e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case Ne:return u(t,e.get(null===r.key?n:r.key)||null,r,o);case Re:return c(t,e.get(null===r.key?n:r.key)||null,r,o);case Fe:var a=r._payload;return y(e,t,n,(0,r._init)(a),o)}if(Xt(r)||We(r))return f(t,e.get(n)||null,r,o,null);Vf(0,r)}return"function"==typeof r&&Uf(t),null}function g(e,t,n){if("object"!=typeof e||null===e)return t;switch(e.$$typeof){case Ne:case Re:zf(e,n);var r=e.key;if("string"!=typeof r)break;if(null===t){(t=new Set).add(r);break}if(!t.has(r)){t.add(r);break}a("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",r);break;case Fe:var o=e._payload;g((0,e._init)(o),t,n)}return t}return function s(u,c,f,b){if("object"==typeof f&&null!==f&&f.type===Me&&null===f.key&&(f=f.props.children),"object"==typeof f&&null!==f){switch(f.$$typeof){case Ne:return l(function(e,r,a,i){for(var l=a.key,s=r;null!==s;){if(s.key===l){var u=a.type;if(u===Me){if(s.tag===m){n(e,s.sibling);var c=o(s,a.props.children);return c.return=e,c._debugSource=a._source,c._debugOwner=a._owner,c}}else if(s.elementType===u||Xw(s,a)||"object"==typeof u&&null!==u&&u.$$typeof===Fe&&Bf(u)===s.type){n(e,s.sibling);var d=o(s,a.props);return d.ref=Ff(e,s,a),d.return=e,d._debugSource=a._source,d._debugOwner=a._owner,d}n(e,s);break}t(e,s),s=s.sibling}if(a.type===Me){var f=px(a.props.children,e.mode,i,a.key);return f.return=e,f}var p=fx(a,e.mode,i);return p.ref=Ff(e,r,a),p.return=e,p}(u,c,f,b));case Re:return l(function(e,r,a,i){for(var l=a.key,s=r;null!==s;){if(s.key===l){if(s.tag===d&&s.stateNode.containerInfo===a.containerInfo&&s.stateNode.implementation===a.implementation){n(e,s.sibling);var u=o(s,a.children||[]);return u.return=e,u}n(e,s);break}t(e,s),s=s.sibling}var c=vx(a,e.mode,i);return c.return=e,c}(u,c,f,b));case Fe:var w=f._payload;return s(u,c,(0,f._init)(w),b)}if(Xt(f))return function(o,a,l,s){for(var u=null,c=0;c<l.length;c++)u=g(l[c],u,o);for(var d=null,f=null,p=a,m=0,b=0,w=null;null!==p&&b<l.length;b++){p.index>b?(w=p,p=null):w=p.sibling;var x=v(o,p,l[b],s);if(null===x){null===p&&(p=w);break}e&&p&&null===x.alternate&&t(o,p),m=i(x,m,b),null===f?d=x:f.sibling=x,f=x,p=w}if(b===l.length)return n(o,p),bf()&&Vd(o,b),d;if(null===p){for(;b<l.length;b++){var k=h(o,l[b],s);null!==k&&(m=i(k,m,b),null===f?d=k:f.sibling=k,f=k)}return bf()&&Vd(o,b),d}for(var S=r(0,p);b<l.length;b++){var E=y(S,o,b,l[b],s);null!==E&&(e&&null!==E.alternate&&S.delete(null===E.key?b:E.key),m=i(E,m,b),null===f?d=E:f.sibling=E,f=E)}return e&&S.forEach((function(e){return t(o,e)})),bf()&&Vd(o,b),d}(u,c,f,b);if(We(f))return function(o,l,s,u){var c=We(s);if("function"!=typeof c)throw new Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");"function"==typeof Symbol&&"Generator"===s[Symbol.toStringTag]&&(Df||a("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),Df=!0),s.entries===c&&(Pf||a("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Pf=!0);var d=c.call(s);if(d)for(var f=null,p=d.next();!p.done;p=d.next())f=g(p.value,f,o);var m=c.call(s);if(null==m)throw new Error("An iterable object provided no iterator.");for(var b=null,w=null,x=l,k=0,S=0,E=null,C=m.next();null!==x&&!C.done;S++,C=m.next()){x.index>S?(E=x,x=null):E=x.sibling;var T=v(o,x,C.value,u);if(null===T){null===x&&(x=E);break}e&&x&&null===T.alternate&&t(o,x),k=i(T,k,S),null===w?b=T:w.sibling=T,w=T,x=E}if(C.done)return n(o,x),bf()&&Vd(o,S),b;if(null===x){for(;!C.done;S++,C=m.next()){var O=h(o,C.value,u);null!==O&&(k=i(O,k,S),null===w?b=O:w.sibling=O,w=O)}return bf()&&Vd(o,S),b}for(var _=r(0,x);!C.done;S++,C=m.next()){var N=y(_,o,S,C.value,u);null!==N&&(e&&null!==N.alternate&&_.delete(null===N.key?S:N.key),k=i(N,k,S),null===w?b=N:w.sibling=N,w=N)}return e&&_.forEach((function(e){return t(o,e)})),bf()&&Vd(o,S),b}(u,c,f,b);Vf(0,f)}return"string"==typeof f&&""!==f||"number"==typeof f?l(function(e,t,r,a){if(null!==t&&t.tag===p){n(e,t.sibling);var i=o(t,r);return i.return=e,i}n(e,t);var l=hx(r,e.mode,a);return l.return=e,l}(u,c,""+f,b)):("function"==typeof f&&Uf(u),n(u,c))}}Sf.recordLegacyContextWarning=function(e,t){var n=function(e){for(var t=null,n=e;null!==n;)n.mode&sa&&(t=n),n=n.return;return t}(e);if(null!==n){if(!Af.has(e.type)){var r=$f.get(n);(null!=e.type.contextTypes||null!=e.type.childContextTypes||null!==t&&"function"==typeof t.getChildContext)&&(void 0===r&&(r=[],$f.set(n,r)),r.push(e))}}else a("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.")},Sf.flushLegacyContextWarning=function(){$f.forEach((function(e,t){if(0!==e.length){var n=e[0],r=new Set;e.forEach((function(e){r.add(ht(e)||"Component"),Af.add(e.type)}));var o=Ef(r);try{kt(n),a("Legacy context API has been detected within a strict-mode tree.\n\nThe old API will be supported in all 16.x releases, but applications using it should migrate to the new version.\n\nPlease update the following components: %s\n\nLearn more about this warning here: https://reactjs.org/link/legacy-context",o)}finally{xt()}}}))},Sf.discardPendingWarnings=function(){Cf=[],Tf=[],Of=[],_f=[],Nf=[],Rf=[],$f=new Map},Pf=!1,Df=!1,If={},jf={},Lf={},zf=function(e,t){if(null!==e&&"object"==typeof e&&e._store&&!e._store.validated&&null==e.key){if("object"!=typeof e._store)throw new Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");e._store.validated=!0;var n=ht(t)||"Component";jf[n]||(jf[n]=!0,a('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'))}};var Hf=Wf(!0),qf=Wf(!1);function Yf(e,t){for(var n=e.child;null!==n;)cx(n,t),n=n.sibling}var Kf,Gf=od(null);Kf={};var Qf=null,Xf=null,Jf=null,Zf=!1;function ep(){Qf=null,Xf=null,Jf=null,Zf=!1}function tp(){Zf=!0}function np(){Zf=!1}function rp(e,t,n){id(Gf,t._currentValue,e),t._currentValue=n,void 0!==t._currentRenderer&&null!==t._currentRenderer&&t._currentRenderer!==Kf&&a("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=Kf}function op(e,t){var n=Gf.current;ad(Gf,t),e._currentValue=n}function ap(e,t,n){for(var r=e;null!==r;){var o=r.alternate;if(hi(r.childLanes,t)?null===o||hi(o.childLanes,t)||(o.childLanes=vi(o.childLanes,t)):(r.childLanes=vi(r.childLanes,t),null!==o&&(o.childLanes=vi(o.childLanes,t))),r===n)break;r=r.return}r!==n&&a("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function ip(e,t,n){!function(e,t,n){var r=e.child;for(null!==r&&(r.return=e);null!==r;){var o=void 0,a=r.dependencies;if(null!==a){o=r.child;for(var i=a.firstContext;null!==i;){if(i.context===t){if(r.tag===s){var l=di(n),u=Ep(Ja,l);u.tag=bp;var c=r.updateQueue;if(null===c);else{var d=c.shared,f=d.pending;null===f?u.next=u:(u.next=f.next,f.next=u),d.pending=u}}r.lanes=vi(r.lanes,n);var p=r.alternate;null!==p&&(p.lanes=vi(p.lanes,n)),ap(r.return,n,e),a.lanes=vi(a.lanes,n);break}i=i.next}}else if(r.tag===g)o=r.type===e.type?null:r.child;else if(r.tag===T){var m=r.return;if(null===m)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");m.lanes=vi(m.lanes,n);var h=m.alternate;null!==h&&(h.lanes=vi(h.lanes,n)),ap(m,n,e),o=r.sibling}else o=r.child;if(null!==o)o.return=r;else for(o=r;null!==o;){if(o===e){o=null;break}var v=o.sibling;if(null!==v){v.return=o.return,o=v;break}o=o.return}r=o}}(e,t,n)}function lp(e,t){Qf=e,Xf=null,Jf=null;var n=e.dependencies;null!==n&&null!==n.firstContext&&(mi(n.lanes,t)&&Oy(),n.firstContext=null)}function sp(e){Zf&&a("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");var t=e._currentValue;if(Jf===e);else{var n={context:e,memoizedValue:t,next:null};if(null===Xf){if(null===Qf)throw new Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");Xf=n,Qf.dependencies={lanes:ma,firstContext:n}}else Xf=Xf.next=n}return t}var up=null;function cp(e){null===up?up=[e]:up.push(e)}function dp(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,cp(t)):(n.next=o.next,o.next=n),t.interleaved=n,mp(e,r)}function fp(e,t){return mp(e,t)}var pp=mp;function mp(e,t){e.lanes=vi(e.lanes,t);var n=e.alternate;null!==n&&(n.lanes=vi(n.lanes,t)),null===n&&(e.flags&(Vr|Xr))!==Ar&&Lw(e);for(var r=e,o=e.return;null!==o;)o.childLanes=vi(o.childLanes,t),null!==(n=o.alternate)?n.childLanes=vi(n.childLanes,t):(o.flags&(Vr|Xr))!==Ar&&Lw(e),r=o,o=o.return;return r.tag===c?r.stateNode:null}var hp,vp,yp=0,gp=1,bp=2,wp=3,xp=!1;function kp(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:ma},effects:null};e.updateQueue=t}function Sp(e,t){var n=t.updateQueue,r=e.updateQueue;if(n===r){var o={baseState:r.baseState,firstBaseUpdate:r.firstBaseUpdate,lastBaseUpdate:r.lastBaseUpdate,shared:r.shared,effects:r.effects};t.updateQueue=o}}function Ep(e,t){return{eventTime:e,lane:t,tag:yp,payload:null,callback:null,next:null}}function Cp(e,t,n){var r=e.updateQueue;if(null===r)return null;var o=r.shared;if(vp!==o||hp||(a("An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback."),hp=!0),(cb&tb)!==Zg){var i=o.pending;return null===i?t.next=t:(t.next=i.next,i.next=t),o.pending=t,pp(e,n)}return function(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,cp(t)):(n.next=o.next,o.next=n),t.interleaved=n,mp(e,r)}(e,o,t,n)}function Tp(e,t,n){var r=t.updateQueue;if(null!==r){var o=r.shared;if(si(n)){var a=o.lanes,i=vi(a=gi(a,e.pendingLanes),n);o.lanes=i,ki(e,i)}}}function Op(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r){var o=r.updateQueue;if(n===o){var a=null,i=null,l=n.firstBaseUpdate;if(null!==l){var s=l;do{var u={eventTime:s.eventTime,lane:s.lane,tag:s.tag,payload:s.payload,callback:s.callback,next:null};null===i?a=i=u:(i.next=u,i=u),s=s.next}while(null!==s);null===i?a=i=t:(i.next=t,i=t)}else a=i=t;return n={baseState:o.baseState,firstBaseUpdate:a,lastBaseUpdate:i,shared:o.shared,effects:o.effects},void(e.updateQueue=n)}}var c=n.lastBaseUpdate;null===c?n.firstBaseUpdate=t:c.next=t,n.lastBaseUpdate=t}function _p(e,t,n,r,o,a){switch(n.tag){case gp:var i=n.payload;if("function"==typeof i){tp();var l=i.call(a,r,o);if(e.mode&sa){Ho(!0);try{i.call(a,r,o)}finally{Ho(!1)}}return np(),l}return i;case wp:e.flags=e.flags&~ro|qr;case yp:var s,u=n.payload;if("function"==typeof u){if(tp(),s=u.call(a,r,o),e.mode&sa){Ho(!0);try{u.call(a,r,o)}finally{Ho(!1)}}np()}else s=u;return null==s?r:Je({},r,s);case bp:return xp=!0,r}return r}function Np(e,t,n,r){var o=e.updateQueue;xp=!1,vp=o.shared;var a=o.firstBaseUpdate,i=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var s=l,u=s.next;s.next=null,null===i?a=u:i.next=u,i=s;var c=e.alternate;if(null!==c){var d=c.updateQueue,f=d.lastBaseUpdate;f!==i&&(null===f?d.firstBaseUpdate=u:f.next=u,d.lastBaseUpdate=s)}}if(null!==a){for(var p=o.baseState,m=ma,h=null,v=null,y=null,g=a;;){var b=g.lane,w=g.eventTime;if(hi(r,b)){if(null!==y){var x={eventTime:w,lane:ha,tag:g.tag,payload:g.payload,callback:g.callback,next:null};y=y.next=x}if(p=_p(e,0,g,p,t,n),null!==g.callback&&g.lane!==ha){e.flags|=Hr;var k=o.effects;null===k?o.effects=[g]:k.push(g)}}else{var S={eventTime:w,lane:b,tag:g.tag,payload:g.payload,callback:g.callback,next:null};null===y?(v=y=S,h=p):y=y.next=S,m=vi(m,b)}if(null===(g=g.next)){if(null===(l=o.shared.pending))break;var E=l,C=E.next;E.next=null,g=C,o.lastBaseUpdate=E,o.shared.pending=null}}null===y&&(h=p),o.baseState=h,o.firstBaseUpdate=v,o.lastBaseUpdate=y;var T=o.shared.interleaved;if(null!==T){var O=T;do{m=vi(m,O.lane),O=O.next}while(O!==T)}else null===a&&(o.shared.lanes=ma);hw(m),e.lanes=m,e.memoizedState=p}vp=null}function Rp(e,t){if("function"!=typeof e)throw new Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(t)}function Mp(){xp=!1}function Pp(){return xp}function Dp(e,t,n){var r=t.effects;if(t.effects=null,null!==r)for(var o=0;o<r.length;o++){var a=r[o],i=a.callback;null!==i&&(a.callback=null,Rp(i,n))}}hp=!1,vp=null;var Ip={},jp=od(Ip),Lp=od(Ip),zp=od(Ip);function $p(e){if(e===Ip)throw new Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.");return e}function Ap(){return $p(zp.current)}function Fp(e,t){id(zp,t,e),id(Lp,e,e),id(jp,Ip,e);var n=function(e){var t,n,r=e.nodeType;switch(r){case wn:case xn:t=r===wn?"#document":"#fragment";var o=e.documentElement;n=o?o.namespaceURI:pn(null,"");break;default:var a=r===bn?e.parentNode:e;n=pn(a.namespaceURI||null,t=a.tagName)}var i=t.toLowerCase();return{namespace:n,ancestorInfo:Ju(null,i)}}(t);ad(jp,e),id(jp,n,e)}function Vp(e){ad(jp,e),ad(Lp,e),ad(zp,e)}function Up(){return $p(jp.current)}function Bp(e){$p(zp.current);var t,n,r,o=$p(jp.current),a=(t=o,n=e.type,{namespace:pn((r=t).namespace,n),ancestorInfo:Ju(r.ancestorInfo,n)});o!==a&&(id(Lp,e,e),id(jp,a,e))}function Wp(e){Lp.current===e&&(ad(jp,e),ad(Lp,e))}var Hp=1,qp=1,Yp=2,Kp=od(0);function Gp(e,t){return!!(e&t)}function Qp(e){return e&Hp}function Xp(e,t){return e&Hp|t}function Jp(e,t){id(Kp,t,e)}function Zp(e){ad(Kp,e)}function em(e,t){var n=e.memoizedState;return null!==n?null!==n.dehydrated:(e.memoizedProps,!0)}function tm(e){for(var t=e;null!==t;){if(t.tag===x){var n=t.memoizedState;if(null!==n){var r=n.dehydrated;if(null===r||_c(r)||Nc(r))return t}}else if(t.tag===_&&void 0!==t.memoizedProps.revealOrder){if((t.flags&qr)!==Ar)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)return null;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var nm=0,rm=1,om=2,am=4,im=8,lm=[];function sm(){for(var e=0;e<lm.length;e++)lm[e]._workInProgressVersionPrimary=null;lm.length=0}function um(e,t){var n=(0,t._getVersion)(t._source);null==e.mutableSourceEagerHydrationData?e.mutableSourceEagerHydrationData=[t,n]:e.mutableSourceEagerHydrationData.push(t,n)}var cm,dm,fm=n.ReactCurrentDispatcher,pm=n.ReactCurrentBatchConfig;cm=new Set;var mm=ma,hm=null,vm=null,ym=null,gm=!1,bm=!1,wm=0,xm=0,km=25,Sm=null,Em=null,Cm=-1,Tm=!1;function Om(){var e=Sm;null===Em?Em=[e]:Em.push(e)}function _m(){var e=Sm;null!==Em&&(Cm++,Em[Cm]!==e&&function(e){var t=ht(hm);if(!cm.has(t)&&(cm.add(t),null!==Em)){for(var n="",r=30,o=0;o<=Cm;o++){for(var i=Em[o],l=o===Cm?e:i,s=o+1+". "+i;s.length<r;)s+=" ";n+=s+=l+"\n"}a("React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://reactjs.org/link/rules-of-hooks\n\n Previous render Next render\n ------------------------------------------------------\n%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n",t,n)}}(e))}function Nm(e){null==e||Xt(e)||a("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",Sm,typeof e)}function Rm(){throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.")}function Mm(e,t){if(Tm)return!1;if(null===t)return a("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",Sm),!1;e.length!==t.length&&a("The final argument passed to %s changed size between renders. The order and size of this array must remain constant.\n\nPrevious: %s\nIncoming: %s",Sm,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var n=0;n<t.length&&n<e.length;n++)if(!Ts(e[n],t[n]))return!1;return!0}function Pm(e,t,n,r,o,i){mm=i,hm=t,Em=null!==e?e._debugHookTypes:null,Cm=-1,Tm=null!==e&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=ma,null!==e&&null!==e.memoizedState?fm.current=$h:fm.current=null!==Em?zh:Lh;var l=n(r,o);if(bm){var s=0;do{if(bm=!1,wm=0,s>=km)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");s+=1,Tm=!1,vm=null,ym=null,t.updateQueue=null,Cm=-1,fm.current=Ah,l=n(r,o)}while(bm)}fm.current=jh,t._debugHookTypes=Em;var u=null!==vm&&null!==vm.next;if(mm=ma,hm=null,vm=null,ym=null,Sm=null,Em=null,Cm=-1,null!==e&&(e.flags&vo)!=(t.flags&vo)&&(e.mode&ia)!==aa&&a("Internal React error: Expected static flag was missing. Please notify the React team."),gm=!1,u)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return l}function Dm(){var e=0!==wm;return wm=0,e}function Im(e,t,n){t.updateQueue=e.updateQueue,(t.mode&ua)!==aa?t.flags&=~(co|uo|Qr|Ur):t.flags&=~(Qr|Ur),e.lanes=yi(e.lanes,n)}function jm(){if(fm.current=jh,gm){for(var e=hm.memoizedState;null!==e;){var t=e.queue;null!==t&&(t.pending=null),e=e.next}gm=!1}mm=ma,hm=null,vm=null,ym=null,Em=null,Cm=-1,Sm=null,Th=!1,bm=!1,wm=0}function Lm(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ym?hm.memoizedState=ym=e:ym=ym.next=e,ym}function zm(){var e,t;if(null===vm){var n=hm.alternate;e=null!==n?n.memoizedState:null}else e=vm.next;if(null!==(t=null===ym?hm.memoizedState:ym.next))t=(ym=t).next,vm=e;else{if(null===e)throw new Error("Rendered more hooks than during the previous render.");var r={memoizedState:(vm=e).memoizedState,baseState:vm.baseState,baseQueue:vm.baseQueue,queue:vm.queue,next:null};null===ym?hm.memoizedState=ym=r:ym=ym.next=r}return ym}function $m(e,t){return"function"==typeof t?t(e):t}function Am(e,t,n){var r,o=Lm();r=void 0!==n?n(t):t,o.memoizedState=o.baseState=r;var a={pending:null,interleaved:null,lanes:ma,dispatch:null,lastRenderedReducer:e,lastRenderedState:r};o.queue=a;var i=a.dispatch=Nh.bind(null,hm,a);return[o.memoizedState,i]}function Fm(e,t,n){var r=zm(),o=r.queue;if(null===o)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");o.lastRenderedReducer=e;var i=vm,l=i.baseQueue,s=o.pending;if(null!==s){if(null!==l){var u=l.next,c=s.next;l.next=c,s.next=u}i.baseQueue!==l&&a("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),i.baseQueue=l=s,o.pending=null}if(null!==l){var d=l.next,f=i.baseState,p=null,m=null,h=null,v=d;do{var y=v.lane;if(hi(mm,y)){if(null!==h){var g={lane:ha,action:v.action,hasEagerState:v.hasEagerState,eagerState:v.eagerState,next:null};h=h.next=g}f=v.hasEagerState?v.eagerState:e(f,v.action)}else{var b={lane:y,action:v.action,hasEagerState:v.hasEagerState,eagerState:v.eagerState,next:null};null===h?(m=h=b,p=f):h=h.next=b,hm.lanes=vi(hm.lanes,y),hw(y)}v=v.next}while(null!==v&&v!==d);null===h?p=f:h.next=m,Ts(f,r.memoizedState)||Oy(),r.memoizedState=f,r.baseState=p,r.baseQueue=h,o.lastRenderedState=f}var w=o.interleaved;if(null!==w){var x=w;do{var k=x.lane;hm.lanes=vi(hm.lanes,k),hw(k),x=x.next}while(x!==w)}else null===l&&(o.lanes=ma);var S=o.dispatch;return[r.memoizedState,S]}function Vm(e,t,n){var r=zm(),o=r.queue;if(null===o)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");o.lastRenderedReducer=e;var a=o.dispatch,i=o.pending,l=r.memoizedState;if(null!==i){o.pending=null;var s=i.next,u=s;do{l=e(l,u.action),u=u.next}while(u!==s);Ts(l,r.memoizedState)||Oy(),r.memoizedState=l,null===r.baseQueue&&(r.baseState=l),o.lastRenderedState=l}return[l,a]}function Um(e,t,n){var r,o=hm,i=Lm();if(bf()){if(void 0===n)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");r=n(),dm||r!==n()&&(a("The result of getServerSnapshot should be cached to avoid an infinite loop"),dm=!0)}else{if(r=t(),!dm){var l=t();Ts(r,l)||(a("The result of getSnapshot should be cached to avoid an infinite loop"),dm=!0)}if(null===Gb())throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");li(0,mm)||Wm(o,t,r)}i.memoizedState=r;var s={value:r,getSnapshot:t};return i.queue=s,rh(qm.bind(null,o,s,e),[e]),o.flags|=Qr,Jm(rm|im,Hm.bind(null,o,s,r,t),void 0,null),r}function Bm(e,t,n){var r=hm,o=zm(),i=t();if(!dm){var l=t();Ts(i,l)||(a("The result of getSnapshot should be cached to avoid an infinite loop"),dm=!0)}var s=o.memoizedState,u=!Ts(s,i);u&&(o.memoizedState=i,Oy());var c=o.queue;if(oh(qm.bind(null,r,c,e),[e]),c.getSnapshot!==t||u||null!==ym&&ym.memoizedState.tag&rm){if(r.flags|=Qr,Jm(rm|im,Hm.bind(null,r,c,i,t),void 0,null),null===Gb())throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");li(0,mm)||Wm(r,t,i)}return i}function Wm(e,t,n){e.flags|=Zr;var r={getSnapshot:t,value:n},o=hm.updateQueue;if(null===o)o={lastEffect:null,stores:null},hm.updateQueue=o,o.stores=[r];else{var a=o.stores;null===a?o.stores=[r]:a.push(r)}}function Hm(e,t,n,r){t.value=n,t.getSnapshot=r,Ym(t)&&Km(e)}function qm(e,t,n){return n((function(){Ym(t)&&Km(e)}))}function Ym(e){var t=e.getSnapshot,n=e.value;try{var r=t();return!Ts(n,r)}catch(e){return!0}}function Km(e){var t=fp(e,va);null!==t&&Zb(t,e,va,Ja)}function Gm(e){var t=Lm();"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e;var n={pending:null,interleaved:null,lanes:ma,dispatch:null,lastRenderedReducer:$m,lastRenderedState:e};t.queue=n;var r=n.dispatch=Rh.bind(null,hm,n);return[t.memoizedState,r]}function Qm(e){return Fm($m)}function Xm(e){return Vm($m)}function Jm(e,t,n,r){var o={tag:e,create:t,destroy:n,deps:r,next:null},a=hm.updateQueue;if(null===a)a={lastEffect:null,stores:null},hm.updateQueue=a,a.lastEffect=o.next=o;else{var i=a.lastEffect;if(null===i)a.lastEffect=o.next=o;else{var l=i.next;i.next=o,o.next=l,a.lastEffect=o}}return o}function Zm(e){var t={current:e};return Lm().memoizedState=t,t}function eh(e){return zm().memoizedState}function th(e,t,n,r){var o=Lm(),a=void 0===r?null:r;hm.flags|=e,o.memoizedState=Jm(rm|t,n,void 0,a)}function nh(e,t,n,r){var o=zm(),a=void 0===r?null:r,i=void 0;if(null!==vm){var l=vm.memoizedState;if(i=l.destroy,null!==a&&Mm(a,l.deps))return void(o.memoizedState=Jm(t,n,i,a))}hm.flags|=e,o.memoizedState=Jm(rm|t,n,i,a)}function rh(e,t){return(hm.mode&ua)!==aa?th(co|Qr|so,im,e,t):th(Qr|so,im,e,t)}function oh(e,t){return nh(Qr,im,e,t)}function ah(e,t){return th(Ur,om,e,t)}function ih(e,t){return nh(Ur,om,e,t)}function lh(e,t){var n=Ur;return n|=lo,(hm.mode&ua)!==aa&&(n|=uo),th(n,am,e,t)}function sh(e,t){return nh(Ur,am,e,t)}function uh(e,t){if("function"==typeof t){var n=t,r=e();return n(r),function(){n(null)}}if(null!=t){var o=t;o.hasOwnProperty("current")||a("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(o).join(", ")+"}");var i=e();return o.current=i,function(){o.current=null}}}function ch(e,t,n){"function"!=typeof t&&a("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",null!==t?typeof t:"null");var r=null!=n?n.concat([e]):null,o=Ur;return o|=lo,(hm.mode&ua)!==aa&&(o|=uo),th(o,am,uh.bind(null,t,e),r)}function dh(e,t,n){"function"!=typeof t&&a("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",null!==t?typeof t:"null");var r=null!=n?n.concat([e]):null;return nh(Ur,am,uh.bind(null,t,e),r)}function fh(e,t){}var ph=fh;function mh(e,t){var n=void 0===t?null:t;return Lm().memoizedState=[e,n],e}function hh(e,t){var n=zm(),r=void 0===t?null:t,o=n.memoizedState;return null!==o&&null!==r&&Mm(r,o[1])?o[0]:(n.memoizedState=[e,r],e)}function vh(e,t){var n=Lm(),r=void 0===t?null:t,o=e();return n.memoizedState=[o,r],o}function yh(e,t){var n=zm(),r=void 0===t?null:t,o=n.memoizedState;if(null!==o&&null!==r&&Mm(r,o[1]))return o[0];var a=e();return n.memoizedState=[a,r],a}function gh(e){return Lm().memoizedState=e,e}function bh(e){return xh(zm(),vm.memoizedState,e)}function wh(e){var t=zm();return null===vm?(t.memoizedState=e,e):xh(t,vm.memoizedState,e)}function xh(e,t,n){if((mm&(va|ga|wa))!==ma){if(!Ts(n,t)){var r=ui();hm.lanes=vi(hm.lanes,r),hw(r),e.baseState=!0}return t}return e.baseState&&(e.baseState=!1,Oy()),e.memoizedState=n,n}function kh(e,t,n){var r,a,i=ji();Li((a=Mi,0!==(r=i)&&r<a?r:a)),e(!0);var l=pm.transition;pm.transition={};var s=pm.transition;pm.transition._updatedFibers=new Set;try{e(!1),t()}finally{Li(i),pm.transition=l,null===l&&s._updatedFibers&&(s._updatedFibers.size>10&&o("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),s._updatedFibers.clear())}}function Sh(){var e=Gm(!1),t=e[0],n=e[1],r=kh.bind(null,n);return Lm().memoizedState=r,[t,r]}function Eh(){return[Qm()[0],zm().memoizedState]}function Ch(){return[Xm()[0],zm().memoizedState]}var Th=!1;function Oh(){var e,t=Lm(),n=Gb().identifierPrefix;if(bf()){e=":"+n+"R"+Fd();var r=wm++;r>0&&(e+="H"+r.toString(32)),e+=":"}else e=":"+n+"r"+(xm++).toString(32)+":";return t.memoizedState=e,e}function _h(){return zm().memoizedState}function Nh(e,t,n){"function"==typeof arguments[3]&&a("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var r=Xb(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Mh(e))Ph(t,o);else{var i=dp(e,t,o,r);null!==i&&(Zb(i,e,r,Qb()),Dh(i,t,r))}Ih(e,r)}function Rh(e,t,n){"function"==typeof arguments[3]&&a("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var r=Xb(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Mh(e))Ph(t,o);else{var i=e.alternate;if(e.lanes===ma&&(null===i||i.lanes===ma)){var l=t.lastRenderedReducer;if(null!==l){var s;s=fm.current,fm.current=Vh;try{var u=t.lastRenderedState,c=l(u,n);if(o.hasEagerState=!0,o.eagerState=c,Ts(c,u))return void function(e,t,n){var r=t.interleaved;null===r?(n.next=n,cp(t)):(n.next=r.next,r.next=n),t.interleaved=n}(0,t,o)}catch(e){}finally{fm.current=s}}}var d=dp(e,t,o,r);null!==d&&(Zb(d,e,r,Qb()),Dh(d,t,r))}Ih(e,r)}function Mh(e){var t=e.alternate;return e===hm||null!==t&&t===hm}function Ph(e,t){bm=gm=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Dh(e,t,n){if(si(n)){var r=t.lanes,o=vi(r=gi(r,e.pendingLanes),n);t.lanes=o,ki(e,o)}}function Ih(e,t,n){oa(e,t)}var jh={readContext:sp,useCallback:Rm,useContext:Rm,useEffect:Rm,useImperativeHandle:Rm,useInsertionEffect:Rm,useLayoutEffect:Rm,useMemo:Rm,useReducer:Rm,useRef:Rm,useState:Rm,useDebugValue:Rm,useDeferredValue:Rm,useTransition:Rm,useMutableSource:Rm,useSyncExternalStore:Rm,useId:Rm,unstable_isNewReconciler:L},Lh=null,zh=null,$h=null,Ah=null,Fh=null,Vh=null,Uh=null,Bh=function(){a("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")},Wh=function(){a("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks")};Lh={readContext:function(e){return sp(e)},useCallback:function(e,t){return Sm="useCallback",Om(),Nm(t),mh(e,t)},useContext:function(e){return Sm="useContext",Om(),sp(e)},useEffect:function(e,t){return Sm="useEffect",Om(),Nm(t),rh(e,t)},useImperativeHandle:function(e,t,n){return Sm="useImperativeHandle",Om(),Nm(n),ch(e,t,n)},useInsertionEffect:function(e,t){return Sm="useInsertionEffect",Om(),Nm(t),ah(e,t)},useLayoutEffect:function(e,t){return Sm="useLayoutEffect",Om(),Nm(t),lh(e,t)},useMemo:function(e,t){Sm="useMemo",Om(),Nm(t);var n=fm.current;fm.current=Fh;try{return vh(e,t)}finally{fm.current=n}},useReducer:function(e,t,n){Sm="useReducer",Om();var r=fm.current;fm.current=Fh;try{return Am(e,t,n)}finally{fm.current=r}},useRef:function(e){return Sm="useRef",Om(),Zm(e)},useState:function(e){Sm="useState",Om();var t=fm.current;fm.current=Fh;try{return Gm(e)}finally{fm.current=t}},useDebugValue:function(e,t){Sm="useDebugValue",Om()},useDeferredValue:function(e){return Sm="useDeferredValue",Om(),gh(e)},useTransition:function(){return Sm="useTransition",Om(),Sh()},useMutableSource:function(e,t,n){Sm="useMutableSource",Om()},useSyncExternalStore:function(e,t,n){return Sm="useSyncExternalStore",Om(),Um(e,t,n)},useId:function(){return Sm="useId",Om(),Oh()},unstable_isNewReconciler:L},zh={readContext:function(e){return sp(e)},useCallback:function(e,t){return Sm="useCallback",_m(),mh(e,t)},useContext:function(e){return Sm="useContext",_m(),sp(e)},useEffect:function(e,t){return Sm="useEffect",_m(),rh(e,t)},useImperativeHandle:function(e,t,n){return Sm="useImperativeHandle",_m(),ch(e,t,n)},useInsertionEffect:function(e,t){return Sm="useInsertionEffect",_m(),ah(e,t)},useLayoutEffect:function(e,t){return Sm="useLayoutEffect",_m(),lh(e,t)},useMemo:function(e,t){Sm="useMemo",_m();var n=fm.current;fm.current=Fh;try{return vh(e,t)}finally{fm.current=n}},useReducer:function(e,t,n){Sm="useReducer",_m();var r=fm.current;fm.current=Fh;try{return Am(e,t,n)}finally{fm.current=r}},useRef:function(e){return Sm="useRef",_m(),Zm(e)},useState:function(e){Sm="useState",_m();var t=fm.current;fm.current=Fh;try{return Gm(e)}finally{fm.current=t}},useDebugValue:function(e,t){Sm="useDebugValue",_m()},useDeferredValue:function(e){return Sm="useDeferredValue",_m(),gh(e)},useTransition:function(){return Sm="useTransition",_m(),Sh()},useMutableSource:function(e,t,n){Sm="useMutableSource",_m()},useSyncExternalStore:function(e,t,n){return Sm="useSyncExternalStore",_m(),Um(e,t,n)},useId:function(){return Sm="useId",_m(),Oh()},unstable_isNewReconciler:L},$h={readContext:function(e){return sp(e)},useCallback:function(e,t){return Sm="useCallback",_m(),hh(e,t)},useContext:function(e){return Sm="useContext",_m(),sp(e)},useEffect:function(e,t){return Sm="useEffect",_m(),oh(e,t)},useImperativeHandle:function(e,t,n){return Sm="useImperativeHandle",_m(),dh(e,t,n)},useInsertionEffect:function(e,t){return Sm="useInsertionEffect",_m(),ih(e,t)},useLayoutEffect:function(e,t){return Sm="useLayoutEffect",_m(),sh(e,t)},useMemo:function(e,t){Sm="useMemo",_m();var n=fm.current;fm.current=Vh;try{return yh(e,t)}finally{fm.current=n}},useReducer:function(e,t,n){Sm="useReducer",_m();var r=fm.current;fm.current=Vh;try{return Fm(e)}finally{fm.current=r}},useRef:function(e){return Sm="useRef",_m(),eh()},useState:function(e){Sm="useState",_m();var t=fm.current;fm.current=Vh;try{return Qm()}finally{fm.current=t}},useDebugValue:function(e,t){return Sm="useDebugValue",_m(),ph()},useDeferredValue:function(e){return Sm="useDeferredValue",_m(),bh(e)},useTransition:function(){return Sm="useTransition",_m(),Eh()},useMutableSource:function(e,t,n){Sm="useMutableSource",_m()},useSyncExternalStore:function(e,t,n){return Sm="useSyncExternalStore",_m(),Bm(e,t)},useId:function(){return Sm="useId",_m(),_h()},unstable_isNewReconciler:L},Ah={readContext:function(e){return sp(e)},useCallback:function(e,t){return Sm="useCallback",_m(),hh(e,t)},useContext:function(e){return Sm="useContext",_m(),sp(e)},useEffect:function(e,t){return Sm="useEffect",_m(),oh(e,t)},useImperativeHandle:function(e,t,n){return Sm="useImperativeHandle",_m(),dh(e,t,n)},useInsertionEffect:function(e,t){return Sm="useInsertionEffect",_m(),ih(e,t)},useLayoutEffect:function(e,t){return Sm="useLayoutEffect",_m(),sh(e,t)},useMemo:function(e,t){Sm="useMemo",_m();var n=fm.current;fm.current=Uh;try{return yh(e,t)}finally{fm.current=n}},useReducer:function(e,t,n){Sm="useReducer",_m();var r=fm.current;fm.current=Uh;try{return Vm(e)}finally{fm.current=r}},useRef:function(e){return Sm="useRef",_m(),eh()},useState:function(e){Sm="useState",_m();var t=fm.current;fm.current=Uh;try{return Xm()}finally{fm.current=t}},useDebugValue:function(e,t){return Sm="useDebugValue",_m(),ph()},useDeferredValue:function(e){return Sm="useDeferredValue",_m(),wh(e)},useTransition:function(){return Sm="useTransition",_m(),Ch()},useMutableSource:function(e,t,n){Sm="useMutableSource",_m()},useSyncExternalStore:function(e,t,n){return Sm="useSyncExternalStore",_m(),Bm(e,t)},useId:function(){return Sm="useId",_m(),_h()},unstable_isNewReconciler:L},Fh={readContext:function(e){return Bh(),sp(e)},useCallback:function(e,t){return Sm="useCallback",Wh(),Om(),mh(e,t)},useContext:function(e){return Sm="useContext",Wh(),Om(),sp(e)},useEffect:function(e,t){return Sm="useEffect",Wh(),Om(),rh(e,t)},useImperativeHandle:function(e,t,n){return Sm="useImperativeHandle",Wh(),Om(),ch(e,t,n)},useInsertionEffect:function(e,t){return Sm="useInsertionEffect",Wh(),Om(),ah(e,t)},useLayoutEffect:function(e,t){return Sm="useLayoutEffect",Wh(),Om(),lh(e,t)},useMemo:function(e,t){Sm="useMemo",Wh(),Om();var n=fm.current;fm.current=Fh;try{return vh(e,t)}finally{fm.current=n}},useReducer:function(e,t,n){Sm="useReducer",Wh(),Om();var r=fm.current;fm.current=Fh;try{return Am(e,t,n)}finally{fm.current=r}},useRef:function(e){return Sm="useRef",Wh(),Om(),Zm(e)},useState:function(e){Sm="useState",Wh(),Om();var t=fm.current;fm.current=Fh;try{return Gm(e)}finally{fm.current=t}},useDebugValue:function(e,t){Sm="useDebugValue",Wh(),Om()},useDeferredValue:function(e){return Sm="useDeferredValue",Wh(),Om(),gh(e)},useTransition:function(){return Sm="useTransition",Wh(),Om(),Sh()},useMutableSource:function(e,t,n){Sm="useMutableSource",Wh(),Om()},useSyncExternalStore:function(e,t,n){return Sm="useSyncExternalStore",Wh(),Om(),Um(e,t,n)},useId:function(){return Sm="useId",Wh(),Om(),Oh()},unstable_isNewReconciler:L},Vh={readContext:function(e){return Bh(),sp(e)},useCallback:function(e,t){return Sm="useCallback",Wh(),_m(),hh(e,t)},useContext:function(e){return Sm="useContext",Wh(),_m(),sp(e)},useEffect:function(e,t){return Sm="useEffect",Wh(),_m(),oh(e,t)},useImperativeHandle:function(e,t,n){return Sm="useImperativeHandle",Wh(),_m(),dh(e,t,n)},useInsertionEffect:function(e,t){return Sm="useInsertionEffect",Wh(),_m(),ih(e,t)},useLayoutEffect:function(e,t){return Sm="useLayoutEffect",Wh(),_m(),sh(e,t)},useMemo:function(e,t){Sm="useMemo",Wh(),_m();var n=fm.current;fm.current=Vh;try{return yh(e,t)}finally{fm.current=n}},useReducer:function(e,t,n){Sm="useReducer",Wh(),_m();var r=fm.current;fm.current=Vh;try{return Fm(e)}finally{fm.current=r}},useRef:function(e){return Sm="useRef",Wh(),_m(),eh()},useState:function(e){Sm="useState",Wh(),_m();var t=fm.current;fm.current=Vh;try{return Qm()}finally{fm.current=t}},useDebugValue:function(e,t){return Sm="useDebugValue",Wh(),_m(),ph()},useDeferredValue:function(e){return Sm="useDeferredValue",Wh(),_m(),bh(e)},useTransition:function(){return Sm="useTransition",Wh(),_m(),Eh()},useMutableSource:function(e,t,n){Sm="useMutableSource",Wh(),_m()},useSyncExternalStore:function(e,t,n){return Sm="useSyncExternalStore",Wh(),_m(),Bm(e,t)},useId:function(){return Sm="useId",Wh(),_m(),_h()},unstable_isNewReconciler:L},Uh={readContext:function(e){return Bh(),sp(e)},useCallback:function(e,t){return Sm="useCallback",Wh(),_m(),hh(e,t)},useContext:function(e){return Sm="useContext",Wh(),_m(),sp(e)},useEffect:function(e,t){return Sm="useEffect",Wh(),_m(),oh(e,t)},useImperativeHandle:function(e,t,n){return Sm="useImperativeHandle",Wh(),_m(),dh(e,t,n)},useInsertionEffect:function(e,t){return Sm="useInsertionEffect",Wh(),_m(),ih(e,t)},useLayoutEffect:function(e,t){return Sm="useLayoutEffect",Wh(),_m(),sh(e,t)},useMemo:function(e,t){Sm="useMemo",Wh(),_m();var n=fm.current;fm.current=Vh;try{return yh(e,t)}finally{fm.current=n}},useReducer:function(e,t,n){Sm="useReducer",Wh(),_m();var r=fm.current;fm.current=Vh;try{return Vm(e)}finally{fm.current=r}},useRef:function(e){return Sm="useRef",Wh(),_m(),eh()},useState:function(e){Sm="useState",Wh(),_m();var t=fm.current;fm.current=Vh;try{return Xm()}finally{fm.current=t}},useDebugValue:function(e,t){return Sm="useDebugValue",Wh(),_m(),ph()},useDeferredValue:function(e){return Sm="useDeferredValue",Wh(),_m(),wh(e)},useTransition:function(){return Sm="useTransition",Wh(),_m(),Ch()},useMutableSource:function(e,t,n){Sm="useMutableSource",Wh(),_m()},useSyncExternalStore:function(e,t,n){return Sm="useSyncExternalStore",Wh(),_m(),Bm(e,t)},useId:function(){return Sm="useId",Wh(),_m(),_h()},unstable_isNewReconciler:L};var Hh=t.unstable_now,qh=0,Yh=-1,Kh=-1,Gh=-1,Qh=!1,Xh=!1;function Jh(){return Qh}function Zh(){return qh}function ev(){qh=Hh()}function tv(e){Kh=Hh(),e.actualStartTime<0&&(e.actualStartTime=Hh())}function nv(e){Kh=-1}function rv(e,t){if(Kh>=0){var n=Hh()-Kh;e.actualDuration+=n,t&&(e.selfBaseDuration=n),Kh=-1}}function ov(e){if(Yh>=0){var t=Hh()-Yh;Yh=-1;for(var n=e.return;null!==n;){switch(n.tag){case c:case w:return void(n.stateNode.effectDuration+=t)}n=n.return}}}function av(e){if(Gh>=0){var t=Hh()-Gh;Gh=-1;for(var n=e.return;null!==n;){switch(n.tag){case c:var r=n.stateNode;return void(null!==r&&(r.passiveEffectDuration+=t));case w:var o=n.stateNode;return void(null!==o&&(o.passiveEffectDuration+=t))}n=n.return}}}function iv(){Yh=Hh()}function lv(){Gh=Hh()}function sv(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function uv(e,t){if(e&&e.defaultProps){var n=Je({},t),r=e.defaultProps;for(var o in r)void 0===n[o]&&(n[o]=r[o]);return n}return t}var cv,dv,fv,pv,mv,hv,vv,yv,gv,bv,wv,xv={};cv=new Set,dv=new Set,fv=new Set,pv=new Set,yv=new Set,mv=new Set,gv=new Set,bv=new Set,wv=new Set;var kv=new Set;function Sv(e,t,n,r){var o=e.memoizedState,a=n(r,o);if(e.mode&sa){Ho(!0);try{a=n(r,o)}finally{Ho(!1)}}hv(t,a);var i=null==a?o:Je({},o,a);e.memoizedState=i,e.lanes===ma&&(e.updateQueue.baseState=i)}vv=function(e,t){if(null!==e&&"function"!=typeof e){var n=t+"_"+e;kv.has(n)||(kv.add(n),a("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},hv=function(e,t){if(void 0===t){var n=pt(e)||"Component";mv.has(n)||(mv.add(n),a("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",n))}},Object.defineProperty(xv,"_processChildContext",{enumerable:!1,value:function(){throw new Error("_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal).")}}),Object.freeze(xv);var Ev={isMounted:function(e){var t=yo.current;if(null!==t&&t.tag===s){var n=t,r=n.stateNode;r._warnedAboutRefsInRender||a("%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",ht(n)||"A component"),r._warnedAboutRefsInRender=!0}var o=$r(e);return!!o&&go(o)===o},enqueueSetState:function(e,t,n){var r=$r(e),o=Qb(),a=Xb(r),i=Ep(o,a);i.payload=t,null!=n&&(vv(n,"setState"),i.callback=n);var l=Cp(r,i,a);null!==l&&(Zb(l,r,a,o),Tp(l,r,a)),oa(r,a)},enqueueReplaceState:function(e,t,n){var r=$r(e),o=Qb(),a=Xb(r),i=Ep(o,a);i.tag=gp,i.payload=t,null!=n&&(vv(n,"replaceState"),i.callback=n);var l=Cp(r,i,a);null!==l&&(Zb(l,r,a,o),Tp(l,r,a)),oa(r,a)},enqueueForceUpdate:function(e,t){var n=$r(e),r=Qb(),o=Xb(n),a=Ep(r,o);a.tag=bp,null!=t&&(vv(t,"forceUpdate"),a.callback=t);var i=Cp(n,a,o);null!==i&&(Zb(i,n,o,r),Tp(i,n,o)),function(e,t){null!==Uo&&"function"==typeof Uo.markForceUpdateScheduled&&Uo.markForceUpdateScheduled(e,t)}(n,o)}};function Cv(e,t,n,r,o,i,l){var s=e.stateNode;if("function"==typeof s.shouldComponentUpdate){var u=s.shouldComponentUpdate(r,i,l);if(e.mode&sa){Ho(!0);try{u=s.shouldComponentUpdate(r,i,l)}finally{Ho(!1)}}return void 0===u&&a("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",pt(t)||"Component"),u}return!(t.prototype&&t.prototype.isPureReactComponent&&Os(n,r)&&Os(o,i))}function Tv(e,t){var n;t.updater=Ev,e.stateNode=t,n=e,t._reactInternals=n,t._reactInternalInstance=xv}function Ov(e,t,n){var r=!1,o=ld,i=ld,l=t.contextType;if("contextType"in t&&null!==l&&(void 0===l||l.$$typeof!==je||void 0!==l._context)&&!bv.has(t)){bv.add(t);var s="";s=void 0===l?" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":"object"!=typeof l?" However, it is set to a "+typeof l+".":l.$$typeof===Ie?" Did you accidentally pass the Context.Provider instead?":void 0!==l._context?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(l).join(", ")+"}.",a("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",pt(t)||"Component",s)}"object"==typeof l&&null!==l?i=sp(l):(o=dd(0,t,!0),i=(r=null!=t.contextTypes)?pd(e,o):ld);var u=new t(n,i);if(e.mode&sa){Ho(!0);try{u=new t(n,i)}finally{Ho(!1)}}var c=e.memoizedState=null!==u.state&&void 0!==u.state?u.state:null;if(Tv(e,u),"function"==typeof t.getDerivedStateFromProps&&null===c){var d=pt(t)||"Component";dv.has(d)||(dv.add(d),a("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",d,null===u.state?"null":"undefined",d))}if("function"==typeof t.getDerivedStateFromProps||"function"==typeof u.getSnapshotBeforeUpdate){var f=null,p=null,m=null;if("function"==typeof u.componentWillMount&&!0!==u.componentWillMount.__suppressDeprecationWarning?f="componentWillMount":"function"==typeof u.UNSAFE_componentWillMount&&(f="UNSAFE_componentWillMount"),"function"==typeof u.componentWillReceiveProps&&!0!==u.componentWillReceiveProps.__suppressDeprecationWarning?p="componentWillReceiveProps":"function"==typeof u.UNSAFE_componentWillReceiveProps&&(p="UNSAFE_componentWillReceiveProps"),"function"==typeof u.componentWillUpdate&&!0!==u.componentWillUpdate.__suppressDeprecationWarning?m="componentWillUpdate":"function"==typeof u.UNSAFE_componentWillUpdate&&(m="UNSAFE_componentWillUpdate"),null!==f||null!==p||null!==m){var h=pt(t)||"Component",v="function"==typeof t.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";pv.has(h)||(pv.add(h),a("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n%s uses %s but also contains the following legacy lifecycles:%s%s%s\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://reactjs.org/link/unsafe-component-lifecycles",h,v,null!==f?"\n "+f:"",null!==p?"\n "+p:"",null!==m?"\n "+m:""))}}return r&&fd(e,o,i),u}function _v(e,t,n,r){var o=t.state;if("function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==o){var i=ht(e)||"Component";cv.has(i)||(cv.add(i),a("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",i)),Ev.enqueueReplaceState(t,t.state,null)}}function Nv(e,t,n,r){!function(e,t,n){var r=e.stateNode,o=pt(t)||"Component";r.render||(t.prototype&&"function"==typeof t.prototype.render?a("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",o):a("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",o)),!r.getInitialState||r.getInitialState.isReactClassApproved||r.state||a("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",o),r.getDefaultProps&&!r.getDefaultProps.isReactClassApproved&&a("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",o),r.propTypes&&a("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",o),r.contextType&&a("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",o),t.childContextTypes&&!wv.has(t)&&(e.mode&sa)===aa&&(wv.add(t),a("%s uses the legacy childContextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() instead\n\n.Learn more about this warning here: https://reactjs.org/link/legacy-context",o)),t.contextTypes&&!wv.has(t)&&(e.mode&sa)===aa&&(wv.add(t),a("%s uses the legacy contextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() with static contextType instead.\n\nLearn more about this warning here: https://reactjs.org/link/legacy-context",o)),r.contextTypes&&a("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",o),t.contextType&&t.contextTypes&&!gv.has(t)&&(gv.add(t),a("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",o)),"function"==typeof r.componentShouldUpdate&&a("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",o),t.prototype&&t.prototype.isPureReactComponent&&void 0!==r.shouldComponentUpdate&&a("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",pt(t)||"A pure component"),"function"==typeof r.componentDidUnmount&&a("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",o),"function"==typeof r.componentDidReceiveProps&&a("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",o),"function"==typeof r.componentWillRecieveProps&&a("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",o),"function"==typeof r.UNSAFE_componentWillRecieveProps&&a("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",o);var i=r.props!==n;void 0!==r.props&&i&&a("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",o,o),r.defaultProps&&a("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",o,o),"function"!=typeof r.getSnapshotBeforeUpdate||"function"==typeof r.componentDidUpdate||fv.has(t)||(fv.add(t),a("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",pt(t))),"function"==typeof r.getDerivedStateFromProps&&a("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",o),"function"==typeof r.getDerivedStateFromError&&a("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",o),"function"==typeof t.getSnapshotBeforeUpdate&&a("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",o);var l=r.state;l&&("object"!=typeof l||Xt(l))&&a("%s.state: must be set to an object or null",o),"function"==typeof r.getChildContext&&"object"!=typeof t.childContextTypes&&a("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",o)}(e,t,n);var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},kp(e);var i=t.contextType;if("object"==typeof i&&null!==i)o.context=sp(i);else{var l=dd(0,t,!0);o.context=pd(e,l)}if(o.state===n){var s=pt(t)||"Component";yv.has(s)||(yv.add(s),a("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",s))}e.mode&sa&&Sf.recordLegacyContextWarning(e,o),Sf.recordUnsafeLifecycleWarnings(e,o),o.state=e.memoizedState;var u=t.getDerivedStateFromProps;if("function"==typeof u&&(Sv(e,t,u,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(function(e,t){var n=t.state;"function"==typeof t.componentWillMount&&t.componentWillMount(),"function"==typeof t.UNSAFE_componentWillMount&&t.UNSAFE_componentWillMount(),n!==t.state&&(a("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",ht(e)||"Component"),Ev.enqueueReplaceState(t,t.state,null))}(e,o),Np(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount){var c=Ur;c|=lo,(e.mode&ua)!==aa&&(c|=uo),e.flags|=c}}function Rv(e,t){return{value:e,source:t,stack:dt(t),digest:null}}function Mv(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function Pv(e,t){try{var n=t.value,r=t.source,o=t.stack,a=null!==o?o:"";if(null!=n&&n._suppressLogging){if(e.tag===s)return;console.error(n)}var i=r?ht(r):null,l=(i?"The above error occurred in the <"+i+"> component:":"The above error occurred in one of your React components:")+"\n"+a+"\n\n"+(e.tag===c?"Consider adding an error boundary to your tree to customize error handling behavior.\nVisit https://reactjs.org/link/error-boundaries to learn more about error boundaries.":"React will try to recreate this component tree from scratch using the error boundary you provided, "+(ht(e)||"Anonymous")+".");console.error(l)}catch(e){setTimeout((function(){throw e}))}}var Dv="function"==typeof WeakMap?WeakMap:Map;function Iv(e,t,n){var r=Ep(Ja,n);r.tag=wp,r.payload={element:null};var o=t.value;return r.callback=function(){Cw(o),Pv(e,t)},r}function jv(e,t,n){var r=Ep(Ja,n);r.tag=wp;var o=e.type.getDerivedStateFromError;if("function"==typeof o){var i=t.value;r.payload=function(){return o(i)},r.callback=function(){Jw(e),Pv(e,t)}}var l=e.stateNode;return null!==l&&"function"==typeof l.componentDidCatch&&(r.callback=function(){var n;Jw(e),Pv(e,t),"function"!=typeof o&&(n=this,null===Pb?Pb=new Set([n]):Pb.add(n));var r=t.value,i=t.stack;this.componentDidCatch(r,{componentStack:null!==i?i:""}),"function"!=typeof o&&(mi(e.lanes,va)||a("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",ht(e)||"Unknown"))}),r}function Lv(e,t,n){var r,o=e.pingCache;if(null===o?(o=e.pingCache=new Dv,r=new Set,o.set(t,r)):void 0===(r=o.get(t))&&(r=new Set,o.set(t,r)),!r.has(n)){r.add(n);var a=_w.bind(null,e,t,n);Wo&&Aw(e,n),t.then(a,a)}}function zv(e){var t=e;do{if(t.tag===x&&em(t))return t;t=t.return}while(null!==t);return null}function $v(e,t,n,r,o){if((e.mode&ia)===aa){if(e===t)e.flags|=ro;else{if(e.flags|=qr,n.flags|=oo,n.flags&=~(eo|no),n.tag===s)if(null===n.alternate)n.tag=C;else{var a=Ep(Ja,va);a.tag=bp,Cp(n,a,va)}n.lanes=vi(n.lanes,va)}return e}return e.flags|=ro,e.lanes=o,e}function Av(e,t,n,r,o){if(n.flags|=no,Wo&&Aw(e,o),null!==r&&"object"==typeof r&&"function"==typeof r.then){var a=r;!function(e){var t=e.tag;if((e.mode&ia)===aa&&(t===l||t===b||t===S)){var n=e.alternate;n?(e.updateQueue=n.updateQueue,e.memoizedState=n.memoizedState,e.lanes=n.lanes):(e.updateQueue=null,e.memoizedState=null)}}(n),bf()&&n.mode&ia&&Zd();var i=zv(t);if(null!==i)return i.flags&=~Yr,$v(i,t,n,0,o),i.mode&ia&&Lv(e,a,o),void function(e,t,n){var r=e.updateQueue;if(null===r){var o=new Set;o.add(n),e.updateQueue=o}else r.add(n)}(i,0,a);if((o&va)===ma)return Lv(e,a,o),void vw();r=new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.")}else if(bf()&&n.mode&ia){Zd();var u=zv(t);if(null!==u)return(u.flags&ro)===Ar&&(u.flags|=Yr),$v(u,t,n,0,o),void wf(Rv(r,n))}!function(e){vb!==lb&&(vb=ab),null===xb?xb=[e]:xb.push(e)}(r=Rv(r,n));var d=t;do{switch(d.tag){case c:var f=r;d.flags|=ro;var p=di(o);return d.lanes=vi(d.lanes,p),void Op(d,Iv(d,f,p));case s:var m=r,h=d.type,v=d.stateNode;if((d.flags&qr)===Ar&&("function"==typeof h.getDerivedStateFromError||null!==v&&"function"==typeof v.componentDidCatch&&!Ew(v))){d.flags|=ro;var y=di(o);return d.lanes=vi(d.lanes,y),void Op(d,jv(d,m,y))}}d=d.return}while(null!==d)}var Fv,Vv,Uv,Bv,Wv,Hv,qv,Yv,Kv,Gv=n.ReactCurrentOwner,Qv=!1;function Xv(e,t,n,r){t.child=null===e?qf(t,null,n,r):Hf(t,e.child,n,r)}function Jv(e,t,n,r,o){if(t.type!==t.elementType){var a=n.propTypes;a&&Zc(a,r,"prop",pt(n))}var i,l,s=n.render,u=t.ref;if(lp(t,o),Go(t),Gv.current=t,St(!0),i=Pm(e,t,s,r,u,o),l=Dm(),t.mode&sa){Ho(!0);try{i=Pm(e,t,s,r,u,o),l=Dm()}finally{Ho(!1)}}return St(!1),Qo(),null===e||Qv?(bf()&&l&&Bd(t),t.flags|=Fr,Xv(e,t,i,o),t.child):(Im(e,t,o),Ny(e,t,o))}function Zv(e,t,n,r,o){if(null===e){var i,l=n.type;if(function(e){return"function"==typeof e&&!sx(e)&&void 0===e.defaultProps}(l)&&null===n.compare&&void 0===n.defaultProps)return i=Kw(l),t.tag=S,t.type=i,uy(t,l),ey(e,t,i,r,o);var s=l.propTypes;if(s&&Zc(s,r,"prop",pt(l)),void 0!==n.defaultProps){var u=pt(l)||"Unknown";Kv[u]||(a("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",u),Kv[u]=!0)}var c=dx(n.type,null,r,t,t.mode,o);return c.ref=t.ref,c.return=t,t.child=c,c}var d=n.type,f=d.propTypes;f&&Zc(f,r,"prop",pt(d));var p=e.child;if(!Ry(e,o)){var m=p.memoizedProps,h=n.compare;if((h=null!==h?h:Os)(m,r)&&e.ref===t.ref)return Ny(e,t,o)}t.flags|=Fr;var v=ux(p,r);return v.ref=t.ref,v.return=t,t.child=v,v}function ey(e,t,n,r,o){if(t.type!==t.elementType){var a=t.elementType;if(a.$$typeof===Fe){var i=a,l=i._payload,s=i._init;try{a=s(l)}catch(e){a=null}var u=a&&a.propTypes;u&&Zc(u,r,"prop",pt(a))}}if(null!==e){var c=e.memoizedProps;if(Os(c,r)&&e.ref===t.ref&&t.type===e.type){if(Qv=!1,t.pendingProps=r=c,!Ry(e,o))return t.lanes=e.lanes,Ny(e,t,o);(e.flags&oo)!==Ar&&(Qv=!0)}}return ry(e,t,n,r,o)}function ty(e,t,n){var r,o=t.pendingProps,a=o.children,i=null!==e?e.memoizedState:null;if("hidden"===o.mode||$)if((t.mode&ia)===aa){var l={baseLanes:ma,cachePool:null,transitions:null};t.memoizedState=l,uw(t,n)}else{if(!mi(n,Qa)){var s;s=null!==i?vi(i.baseLanes,n):n,t.lanes=t.childLanes=Qa;var u={baseLanes:s,cachePool:null,transitions:null};return t.memoizedState=u,t.updateQueue=null,uw(t,s),null}var c={baseLanes:ma,cachePool:null,transitions:null};t.memoizedState=c,uw(t,null!==i?i.baseLanes:n)}else null!==i?(r=vi(i.baseLanes,n),t.memoizedState=null):r=n,uw(t,r);return Xv(e,t,a,n),t.child}function ny(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=Kr,t.flags|=io)}function ry(e,t,n,r,o){if(t.type!==t.elementType){var a=n.propTypes;a&&Zc(a,r,"prop",pt(n))}var i,l,s;if(i=pd(t,dd(0,n,!0)),lp(t,o),Go(t),Gv.current=t,St(!0),l=Pm(e,t,n,r,i,o),s=Dm(),t.mode&sa){Ho(!0);try{l=Pm(e,t,n,r,i,o),s=Dm()}finally{Ho(!1)}}return St(!1),Qo(),null===e||Qv?(bf()&&s&&Bd(t),t.flags|=Fr,Xv(e,t,l,o),t.child):(Im(e,t,o),Ny(e,t,o))}function oy(e,t,n,r,o){switch(Vx(t)){case!1:var i=t.stateNode,l=new(0,t.type)(t.memoizedProps,i.context).state;i.updater.enqueueSetState(i,l,null);break;case!0:t.flags|=qr,t.flags|=ro;var s=new Error("Simulated error coming from DevTools"),u=di(o);t.lanes=vi(t.lanes,u),Op(t,jv(t,Rv(s,t),u))}if(t.type!==t.elementType){var c=n.propTypes;c&&Zc(c,r,"prop",pt(n))}var d,f;hd(n)?(d=!0,wd(t)):d=!1,lp(t,o),null===t.stateNode?(_y(e,t),Ov(t,n,r),Nv(t,n,r,o),f=!0):f=null===e?function(e,t,n,r){var o=e.stateNode,a=e.memoizedProps;o.props=a;var i=o.context,l=t.contextType,s=ld;s="object"==typeof l&&null!==l?sp(l):pd(e,dd(0,t,!0));var u=t.getDerivedStateFromProps,c="function"==typeof u||"function"==typeof o.getSnapshotBeforeUpdate;c||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||a===n&&i===s||_v(e,o,n,s),Mp();var d=e.memoizedState,f=o.state=d;if(Np(e,n,o,r),f=e.memoizedState,a===n&&d===f&&!md()&&!Pp()){if("function"==typeof o.componentDidMount){var p=Ur;p|=lo,(e.mode&ua)!==aa&&(p|=uo),e.flags|=p}return!1}"function"==typeof u&&(Sv(e,t,u,n),f=e.memoizedState);var m=Pp()||Cv(e,t,a,n,d,f,s);if(m){if(c||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||("function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount()),"function"==typeof o.componentDidMount){var h=Ur;h|=lo,(e.mode&ua)!==aa&&(h|=uo),e.flags|=h}}else{if("function"==typeof o.componentDidMount){var v=Ur;v|=lo,(e.mode&ua)!==aa&&(v|=uo),e.flags|=v}e.memoizedProps=n,e.memoizedState=f}return o.props=n,o.state=f,o.context=s,m}(t,n,r,o):function(e,t,n,r,o){var a=t.stateNode;Sp(e,t);var i=t.memoizedProps,l=t.type===t.elementType?i:uv(t.type,i);a.props=l;var s=t.pendingProps,u=a.context,c=n.contextType,d=ld;d="object"==typeof c&&null!==c?sp(c):pd(t,dd(0,n,!0));var f=n.getDerivedStateFromProps,p="function"==typeof f||"function"==typeof a.getSnapshotBeforeUpdate;p||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||i===s&&u===d||_v(t,a,r,d),Mp();var m=t.memoizedState,h=a.state=m;if(Np(t,r,a,o),h=t.memoizedState,i===s&&m===h&&!md()&&!Pp()&&!z)return"function"==typeof a.componentDidUpdate&&(i===e.memoizedProps&&m===e.memoizedState||(t.flags|=Ur)),"function"==typeof a.getSnapshotBeforeUpdate&&(i===e.memoizedProps&&m===e.memoizedState||(t.flags|=Gr)),!1;"function"==typeof f&&(Sv(t,n,f,r),h=t.memoizedState);var v=Pp()||Cv(t,n,l,r,m,h,d)||z;return v?(p||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,d),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,d)),"function"==typeof a.componentDidUpdate&&(t.flags|=Ur),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=Gr)):("function"==typeof a.componentDidUpdate&&(i===e.memoizedProps&&m===e.memoizedState||(t.flags|=Ur)),"function"==typeof a.getSnapshotBeforeUpdate&&(i===e.memoizedProps&&m===e.memoizedState||(t.flags|=Gr)),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=d,v}(e,t,n,r,o);var p=ay(e,t,n,f,d,o),m=t.stateNode;return f&&m.props!==r&&(Hv||a("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",ht(t)||"a component"),Hv=!0),p}function ay(e,t,n,r,o,a){ny(e,t);var i=(t.flags&qr)!==Ar;if(!r&&!i)return o&&xd(t,n,!1),Ny(e,t,a);var l,s=t.stateNode;if(Gv.current=t,i&&"function"!=typeof n.getDerivedStateFromError)l=null,nv();else{if(Go(t),St(!0),l=s.render(),t.mode&sa){Ho(!0);try{s.render()}finally{Ho(!1)}}St(!1),Qo()}return t.flags|=Fr,null!==e&&i?function(e,t,n,r){t.child=Hf(t,e.child,null,r),t.child=Hf(t,null,n,r)}(e,t,l,a):Xv(e,t,l,a),t.memoizedState=s.state,o&&xd(t,n,!0),t.child}function iy(e){var t=e.stateNode;t.pendingContext?gd(e,t.pendingContext,t.pendingContext!==t.context):t.context&&gd(e,t.context,!1),Fp(e,t.containerInfo)}function ly(e,t,n,r,o){return yf(),wf(o),t.flags|=Yr,Xv(e,t,n,r),t.child}function sy(e,t,n,r){_y(e,t);var o=t.pendingProps,a=n,i=a._payload,c=(0,a._init)(i);t.type=c;var d=t.tag=function(e){if("function"==typeof e)return sx(e)?s:l;if(null!=e){var t=e.$$typeof;if(t===Le)return b;if(t===Ae)return k}return u}(c),f=uv(c,o);switch(d){case l:return uy(t,c),t.type=c=Kw(c),ry(null,t,c,f,r);case s:return t.type=c=Gw(c),oy(null,t,c,f,r);case b:return t.type=c=Qw(c),Jv(null,t,c,f,r);case k:if(t.type!==t.elementType){var p=c.propTypes;p&&Zc(p,f,"prop",pt(c))}return Zv(null,t,c,uv(c.type,f),r)}var m="";throw null!==c&&"object"==typeof c&&c.$$typeof===Fe&&(m=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+c+". Lazy element type must resolve to a class or function."+m)}function uy(e,t){if(t&&t.childContextTypes&&a("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),null!==e.ref){var n="",r=bt();r&&(n+="\n\nCheck the render method of `"+r+"`.");var o=r||"",i=e._debugSource;i&&(o=i.fileName+":"+i.lineNumber),Wv[o]||(Wv[o]=!0,a("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",n))}if(void 0!==t.defaultProps){var l=pt(t)||"Unknown";Kv[l]||(a("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",l),Kv[l]=!0)}if("function"==typeof t.getDerivedStateFromProps){var s=pt(t)||"Unknown";Bv[s]||(a("%s: Function components do not support getDerivedStateFromProps.",s),Bv[s]=!0)}if("object"==typeof t.contextType&&null!==t.contextType){var u=pt(t)||"Unknown";Uv[u]||(a("%s: Function components do not support contextType.",u),Uv[u]=!0)}}Fv={},Vv={},Uv={},Bv={},Wv={},Hv=!1,qv={},Yv={},Kv={};var cy={dehydrated:null,treeContext:null,retryLane:ha};function dy(e){return{baseLanes:e,cachePool:null,transitions:null}}function fy(e,t,n){var r=t.pendingProps;Ux(t)&&(t.flags|=qr);var o=Kp.current,i=!1,l=(t.flags&qr)!==Ar;if(l||function(e,t){return(null===t||null!==t.memoizedState)&&Gp(e,Yp)}(o,e)?(i=!0,t.flags&=~qr):null!==e&&null===e.memoizedState||(o|=qp),Jp(t,o=Qp(o)),null===e){cf(t);var s=t.memoizedState;if(null!==s){var u=s.dehydrated;if(null!==u)return function(e,t){return(e.mode&ia)===aa?(a("Cannot hydrate Suspense in legacy mode. Switch from ReactDOM.hydrate(element, container) to ReactDOMClient.hydrateRoot(container, <App />).render(element) or remove the Suspense components from the server rendered components."),e.lanes=va):Nc(t)?e.lanes=ba:e.lanes=Qa,null}(t,u)}var c=r.children,d=r.fallback;if(i){var f=function(e,t,n,r){var o,a,i=e.mode,l=e.child,s={mode:"hidden",children:t};return(i&ia)===aa&&null!==l?((o=l).childLanes=ma,o.pendingProps=s,e.mode&la&&(o.actualDuration=0,o.actualStartTime=-1,o.selfBaseDuration=0,o.treeBaseDuration=0),a=px(n,i,r,null)):(o=my(s,i),a=px(n,i,r,null)),o.return=e,a.return=e,o.sibling=a,e.child=o,a}(t,c,d,n);return t.child.memoizedState=dy(n),t.memoizedState=cy,f}return py(t,c)}var p=e.memoizedState;if(null!==p){var m=p.dehydrated;if(null!==m)return function(e,t,n,r,o,a,i){if(n){if(t.flags&Yr)return t.flags&=~Yr,vy(e,t,i,Mv(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering.")));if(null!==t.memoizedState)return t.child=e.child,t.flags|=qr,null;var l=function(e,t,n,r,o){var a=t.mode,i=my({mode:"visible",children:n},a),l=px(r,a,o,null);return l.flags|=Vr,i.return=t,l.return=t,i.sibling=l,t.child=i,(t.mode&ia)!==aa&&Hf(t,e.child,null,o),l}(e,t,r.children,r.fallback,i);return t.child.memoizedState=dy(i),t.memoizedState=cy,l}if(Jd(),(t.mode&ia)===aa)return vy(e,t,i,null);if(Nc(o)){var s,u,c,d=function(e){var t,n,r,o=e.nextSibling&&e.nextSibling.dataset;return o&&(t=o.dgst,n=o.msg,r=o.stck),{message:n,digest:t,stack:r}}(o);return s=d.digest,u=d.message,c=d.stack,vy(e,t,i,Mv(u?new Error(u):new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),s,c))}var f=mi(i,e.childLanes);if(Qv||f){var p=Gb();if(null!==p){var m=function(e,t){var n;switch(ci(t)){case ga:n=ya;break;case wa:n=ba;break;case Sa:case Ea:case Ca:case Ta:case Oa:case _a:case Na:case Ra:case Ma:case Pa:case Da:case Ia:case ja:case La:case za:case $a:case Fa:case Va:case Ua:case Ba:case Wa:n=xa;break;case Ga:n=Ka;break;default:n=ha}return(n&(e.suspendedLanes|t))!==ha?ha:n}(p,i);if(m!==ha&&m!==a.retryLane){a.retryLane=m;var h=Ja;fp(e,m),Zb(p,e,m,h)}}return vw(),vy(e,t,i,Mv(new Error("This Suspense boundary received an update before it finished hydrating. This caused the boundary to switch to client rendering. The usual way to fix this is to wrap the original update in startTransition.")))}if(_c(o))return t.flags|=qr,t.child=e.child,v=Rw.bind(null,e),o._reactRetry=v,null;tf(t,o,a.treeContext);var v,y=py(t,r.children);return y.flags|=Xr,y}(e,t,l,r,m,p,n)}if(i){var h=r.fallback,v=function(e,t,n,r,o){var a,i,l=t.mode,s=e.child,u=s.sibling,c={mode:"hidden",children:n};return(l&ia)===aa&&t.child!==s?((a=t.child).childLanes=ma,a.pendingProps=c,t.mode&la&&(a.actualDuration=0,a.actualStartTime=-1,a.selfBaseDuration=s.selfBaseDuration,a.treeBaseDuration=s.treeBaseDuration),t.deletions=null):(a=hy(s,c)).subtreeFlags=s.subtreeFlags&vo,null!==u?i=ux(u,r):(i=px(r,l,o,null)).flags|=Vr,i.return=t,a.return=t,a.sibling=i,t.child=a,i}(e,t,r.children,h,n),y=t.child,g=e.child.memoizedState;return y.memoizedState=null===g?dy(n):function(e,t){return{baseLanes:vi(e.baseLanes,t),cachePool:null,transitions:e.transitions}}(g,n),y.childLanes=function(e,t){return yi(e.childLanes,t)}(e,n),t.memoizedState=cy,v}var b=function(e,t,n,r){var o=e.child,a=o.sibling,i=hy(o,{mode:"visible",children:n});if((t.mode&ia)===aa&&(i.lanes=r),i.return=t,i.sibling=null,null!==a){var l=t.deletions;null===l?(t.deletions=[a],t.flags|=Br):l.push(a)}return t.child=i,i}(e,t,r.children,n);return t.memoizedState=null,b}function py(e,t,n){var r=my({mode:"visible",children:t},e.mode);return r.return=e,e.child=r,r}function my(e,t,n){return mx(e,t,ma,null)}function hy(e,t){return ux(e,t)}function vy(e,t,n,r){null!==r&&wf(r),Hf(t,e.child,null,n);var o=py(t,t.pendingProps.children);return o.flags|=Vr,t.memoizedState=null,o}function yy(e,t,n){e.lanes=vi(e.lanes,t);var r=e.alternate;null!==r&&(r.lanes=vi(r.lanes,t)),ap(e.return,t,n)}function gy(e,t){var n=Xt(e),r=!n&&"function"==typeof We(e);if(n||r){var o=n?"array":"iterable";return a("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",o,t,o),!1}return!0}function by(e,t,n,r,o){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=o)}function wy(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail,l=r.children;!function(e){if(void 0!==e&&"forwards"!==e&&"backwards"!==e&&"together"!==e&&!qv[e])if(qv[e]=!0,"string"==typeof e)switch(e.toLowerCase()){case"together":case"forwards":case"backwards":a('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break;case"forward":case"backward":a('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',e,e.toLowerCase());break;default:a('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}else a('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}(o),function(e,t){void 0===e||Yv[e]||("collapsed"!==e&&"hidden"!==e?(Yv[e]=!0,a('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):"forwards"!==t&&"backwards"!==t&&(Yv[e]=!0,a('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}(i,o),function(e,t){if(("forwards"===t||"backwards"===t)&&null!=e&&!1!==e)if(Xt(e)){for(var n=0;n<e.length;n++)if(!gy(e[n],n))return}else{var r=We(e);if("function"==typeof r){var o=r.call(e);if(o)for(var i=o.next(),l=0;!i.done;i=o.next()){if(!gy(i.value,l))return;l++}}else a('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',t)}}(l,o),Xv(e,t,l,n);var s=Kp.current;if(Gp(s,Yp)?(s=Xp(s,Yp),t.flags|=qr):(null!==e&&(e.flags&qr)!==Ar&&function(e,t,n){for(var r=t;null!==r;){if(r.tag===x)null!==r.memoizedState&&yy(r,n,e);else if(r.tag===_)yy(r,n,e);else if(null!==r.child){r.child.return=r,r=r.child;continue}if(r===e)return;for(;null===r.sibling;){if(null===r.return||r.return===e)return;r=r.return}r.sibling.return=r.return,r=r.sibling}}(t,t.child,n),s=Qp(s)),Jp(t,s),(t.mode&ia)===aa)t.memoizedState=null;else switch(o){case"forwards":var u,c=function(e){for(var t=e,n=null;null!==t;){var r=t.alternate;null!==r&&null===tm(r)&&(n=t),t=t.sibling}return n}(t.child);null===c?(u=t.child,t.child=null):(u=c.sibling,c.sibling=null),by(t,!1,u,c,i);break;case"backwards":var d=null,f=t.child;for(t.child=null;null!==f;){var p=f.alternate;if(null!==p&&null===tm(p)){t.child=f;break}var m=f.sibling;f.sibling=d,d=f,f=m}by(t,!0,d,null,i);break;case"together":by(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}var xy,ky,Sy,Ey,Cy=!1,Ty=!1;function Oy(){Qv=!0}function _y(e,t){(t.mode&ia)===aa&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=Vr)}function Ny(e,t,n){return null!==e&&(t.dependencies=e.dependencies),nv(),hw(t.lanes),mi(n,t.childLanes)?(function(e,t){if(null!==e&&t.child!==e.child)throw new Error("Resuming work not yet implemented.");if(null!==t.child){var n=t.child,r=ux(n,n.pendingProps);for(t.child=r,r.return=t;null!==n.sibling;)n=n.sibling,(r=r.sibling=ux(n,n.pendingProps)).return=t;r.sibling=null}}(e,t),t.child):null}function Ry(e,t){return!!mi(e.lanes,t)}function My(e,t,n){if(t._debugNeedsRemount&&null!==e)return function(e,t,n){var r=t.return;if(null===r)throw new Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,n.index=t.index,n.sibling=t.sibling,n.return=t.return,n.ref=t.ref,t===r.child)r.child=n;else{var o=r.child;if(null===o)throw new Error("Expected parent to have a child.");for(;o.sibling!==t;)if(null===(o=o.sibling))throw new Error("Expected to find the previous sibling.");o.sibling=n}var a=r.deletions;return null===a?(r.deletions=[e],r.flags|=Br):a.push(e),n.flags|=Vr,n}(e,t,dx(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes));if(null!==e)if(e.memoizedProps!==t.pendingProps||md()||t.type!==e.type)Qv=!0;else{if(!Ry(e,n)&&(t.flags&qr)===Ar)return Qv=!1,function(e,t,n){switch(t.tag){case c:iy(t),t.stateNode,yf();break;case f:Bp(t);break;case s:hd(t.type)&&wd(t);break;case d:Fp(t,t.stateNode.containerInfo);break;case g:var r=t.memoizedProps.value;rp(t,t.type._context,r);break;case w:mi(n,t.childLanes)&&(t.flags|=Ur);var o=t.stateNode;o.effectDuration=0,o.passiveEffectDuration=0;break;case x:var a=t.memoizedState;if(null!==a){if(null!==a.dehydrated)return Jp(t,Qp(Kp.current)),t.flags|=qr,null;if(mi(n,t.child.childLanes))return fy(e,t,n);Jp(t,Qp(Kp.current));var i=Ny(e,t,n);return null!==i?i.sibling:null}Jp(t,Qp(Kp.current));break;case _:var l=(e.flags&qr)!==Ar,u=mi(n,t.childLanes);if(l){if(u)return wy(e,t,n);t.flags|=qr}var p=t.memoizedState;if(null!==p&&(p.rendering=null,p.tail=null,p.lastEffect=null),Jp(t,Kp.current),u)break;return null;case M:case P:return t.lanes=ma,ty(e,t,n)}return Ny(e,t,n)}(e,t,n);Qv=(e.flags&oo)!==Ar}else if(Qv=!1,bf()&&function(e){return qd(),(e.flags&ao)!==Ar}(t)){var r=t.index;Ud(t,(qd(),Id),r)}switch(t.lanes=ma,t.tag){case u:return function(e,t,n,r){_y(e,t);var o,i,u,c=t.pendingProps;if(o=pd(t,dd(0,n,!1)),lp(t,r),Go(t),n.prototype&&"function"==typeof n.prototype.render){var d=pt(n)||"Unknown";Fv[d]||(a("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",d,d),Fv[d]=!0)}if(t.mode&sa&&Sf.recordLegacyContextWarning(t,null),St(!0),Gv.current=t,i=Pm(null,t,n,c,o,r),u=Dm(),St(!1),Qo(),t.flags|=Fr,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof){var f=pt(n)||"Unknown";Vv[f]||(a("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",f,f,f),Vv[f]=!0)}if("object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof){var p=pt(n)||"Unknown";Vv[p]||(a("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",p,p,p),Vv[p]=!0),t.tag=s,t.memoizedState=null,t.updateQueue=null;var m=!1;return hd(n)?(m=!0,wd(t)):m=!1,t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,kp(t),Tv(t,i),Nv(t,n,c,r),ay(null,t,n,!0,m,r)}if(t.tag=l,t.mode&sa){Ho(!0);try{i=Pm(null,t,n,c,o,r),u=Dm()}finally{Ho(!1)}}return bf()&&u&&Bd(t),Xv(null,t,i,r),uy(t,n),t.child}(e,t,t.type,n);case E:return sy(e,t,t.elementType,n);case l:var o=t.type,i=t.pendingProps;return ry(e,t,o,t.elementType===o?i:uv(o,i),n);case s:var h=t.type,T=t.pendingProps;return oy(e,t,h,t.elementType===h?T:uv(h,T),n);case c:return function(e,t,n){if(iy(t),null===e)throw new Error("Should have a current fiber. This is a bug in React.");var r=t.pendingProps,o=t.memoizedState,a=o.element;Sp(e,t),Np(t,r,null,n);var i=t.memoizedState;t.stateNode;var l=i.element;if(o.isDehydrated){var s={element:l,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions};if(t.updateQueue.baseState=s,t.memoizedState=s,t.flags&Yr)return ly(e,t,l,n,Rv(new Error("There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering."),t));if(l!==a)return ly(e,t,l,n,Rv(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t));ef(t);var u=qf(t,null,l,n);t.child=u;for(var c=u;c;)c.flags=c.flags&~Vr|Xr,c=c.sibling}else{if(yf(),l===a)return Ny(e,t,n);Xv(e,t,l,n)}return t.child}(e,t,n);case f:return function(e,t,n){Bp(t),null===e&&cf(t);var r=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,i=o.children;return hc(r,o)?i=null:null!==a&&hc(r,a)&&(t.flags|=Wr),ny(e,t),Xv(e,t,i,n),t.child}(e,t,n);case p:return function(e,t){return null===e&&cf(t),null}(e,t);case x:return fy(e,t,n);case d:return function(e,t,n){Fp(t,t.stateNode.containerInfo);var r=t.pendingProps;return null===e?t.child=Hf(t,null,r,n):Xv(e,t,r,n),t.child}(e,t,n);case b:var O=t.type,N=t.pendingProps;return Jv(e,t,O,t.elementType===O?N:uv(O,N),n);case m:return function(e,t,n){return Xv(e,t,t.pendingProps,n),t.child}(e,t,n);case v:return function(e,t,n){return Xv(e,t,t.pendingProps.children,n),t.child}(e,t,n);case w:return function(e,t,n){t.flags|=Ur;var r=t.stateNode;return r.effectDuration=0,r.passiveEffectDuration=0,Xv(e,t,t.pendingProps.children,n),t.child}(e,t,n);case g:return function(e,t,n){var r=t.type._context,o=t.pendingProps,i=t.memoizedProps,l=o.value;"value"in o||Cy||(Cy=!0,a("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var s=t.type.propTypes;if(s&&Zc(s,o,"prop","Context.Provider"),rp(t,r,l),null!==i){var u=i.value;if(Ts(u,l)){if(i.children===o.children&&!md())return Ny(e,t,n)}else ip(t,r,n)}return Xv(e,t,o.children,n),t.child}(e,t,n);case y:return function(e,t,n){var r=t.type;void 0===r._context?r!==r.Consumer&&(Ty||(Ty=!0,a("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):r=r._context;var o=t.pendingProps.children;"function"!=typeof o&&a("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),lp(t,n);var i,l=sp(r);return Go(t),Gv.current=t,St(!0),i=o(l),St(!1),Qo(),t.flags|=Fr,Xv(e,t,i,n),t.child}(e,t,n);case k:var D=t.type,I=uv(D,t.pendingProps);if(t.type!==t.elementType){var j=D.propTypes;j&&Zc(j,I,"prop",pt(D))}return Zv(e,t,D,I=uv(D.type,I),n);case S:return ey(e,t,t.type,t.pendingProps,n);case C:var L=t.type,z=t.pendingProps;return function(e,t,n,r,o){var a;return _y(e,t),t.tag=s,hd(n)?(a=!0,wd(t)):a=!1,lp(t,o),Ov(t,n,r),Nv(t,n,r,o),ay(null,t,n,!0,a,o)}(e,t,L,t.elementType===L?z:uv(L,z),n);case _:return wy(e,t,n);case R:break;case M:return ty(e,t,n)}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Py(e){e.flags|=Ur}function Dy(e){e.flags|=Kr,e.flags|=io}function Iy(e,t){if(!bf())switch(e.tailMode){case"hidden":for(var n=e.tail,r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?e.tail=null:r.sibling=null;break;case"collapsed":for(var o=e.tail,a=null;null!==o;)null!==o.alternate&&(a=o),o=o.sibling;null===a?t||null===e.tail?e.tail=null:e.tail.sibling=null:a.sibling=null}}function jy(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=ma,r=Ar;if(t){if((e.mode&la)!==aa){for(var o=e.selfBaseDuration,a=e.child;null!==a;)n=vi(n,vi(a.lanes,a.childLanes)),r|=a.subtreeFlags&vo,r|=a.flags&vo,o+=a.treeBaseDuration,a=a.sibling;e.treeBaseDuration=o}else for(var i=e.child;null!==i;)n=vi(n,vi(i.lanes,i.childLanes)),r|=i.subtreeFlags&vo,r|=i.flags&vo,i.return=e,i=i.sibling;e.subtreeFlags|=r}else{if((e.mode&la)!==aa){for(var l=e.actualDuration,s=e.selfBaseDuration,u=e.child;null!==u;)n=vi(n,vi(u.lanes,u.childLanes)),r|=u.subtreeFlags,r|=u.flags,l+=u.actualDuration,s+=u.treeBaseDuration,u=u.sibling;e.actualDuration=l,e.treeBaseDuration=s}else for(var c=e.child;null!==c;)n=vi(n,vi(c.lanes,c.childLanes)),r|=c.subtreeFlags,r|=c.flags,c.return=e,c=c.sibling;e.subtreeFlags|=r}return e.childLanes=n,t}function Ly(e,t,n){if(Gd&&null!==Kd&&(t.mode&ia)!==aa&&(t.flags&qr)===Ar)return vf(t),yf(),t.flags|=Yr|no|ro,!1;var r=hf(t);if(null!==n&&null!==n.dehydrated){if(null===e){if(!r)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(ff(t),jy(t),(t.mode&la)!==aa&&null!==n){var o=t.child;null!==o&&(t.treeBaseDuration-=o.treeBaseDuration)}return!1}if(yf(),(t.flags&qr)===Ar&&(t.memoizedState=null),t.flags|=Ur,jy(t),(t.mode&la)!==aa&&null!==n){var a=t.child;null!==a&&(t.treeBaseDuration-=a.treeBaseDuration)}return!1}return gf(),!0}function zy(e,t,n){var r=t.pendingProps;switch(Hd(t),t.tag){case u:case E:case S:case l:case b:case m:case v:case w:case y:case k:return jy(t),null;case s:return hd(t.type)&&vd(t),jy(t),null;case c:var o=t.stateNode;return Vp(t),yd(t),sm(),o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),(null===e||null===e.child)&&(hf(t)?Py(t):null!==e&&(e.memoizedState.isDehydrated&&(t.flags&Yr)===Ar||(t.flags|=Gr,gf()))),ky(e,t),jy(t),null;case f:Wp(t);var a=Ap(),i=t.type;if(null!==e&&null!=t.stateNode)Sy(e,t,i,r,a),e.ref!==t.ref&&Dy(t);else{if(!r){if(null===t.stateNode)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return jy(t),null}var h=Up();if(hf(t))(function(e,t,n){var r=e.stateNode,o=!Qd,a=Pc(r,e.type,e.memoizedProps,0,n,e,o);return e.updateQueue=a,null!==a})(t,0,h)&&Py(t);else{var T=mc(i,r,a,h,t);xy(T,t,!1,!1),t.stateNode=T,function(e,t,n){switch(Wu(e,t,n),t){case"button":case"input":case"select":case"textarea":return!!n.autoFocus;case"img":return!0;default:return!1}}(T,i,r)&&Py(t)}null!==t.ref&&Dy(t)}return jy(t),null;case p:var O=r;if(e&&null!=t.stateNode){var N=e.memoizedProps;Ey(e,t,N,O)}else{if("string"!=typeof O&&null===t.stateNode)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");var j=Ap(),L=Up();hf(t)?df(t)&&Py(t):t.stateNode=vc(O,j,L,t)}return jy(t),null;case x:Zp(t);var z=t.memoizedState;if((null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated)&&!Ly(e,t,z))return t.flags&ro?t:null;if((t.flags&qr)!==Ar)return t.lanes=n,(t.mode&la)!==aa&&sv(t),t;var F=null!==z;if(F!==(null!==e&&null!==e.memoizedState)&&F&&(t.child.flags|=Jr,(t.mode&ia)!==aa&&(null===e&&(!0!==t.memoizedProps.unstable_avoidThisFallback||!A)||Gp(Kp.current,qp)?vb===rb&&(vb=ib):vw())),null!==t.updateQueue&&(t.flags|=Ur),jy(t),(t.mode&la)!==aa&&F){var V=t.child;null!==V&&(t.treeBaseDuration-=V.treeBaseDuration)}return null;case d:return Vp(t),ky(e,t),null===e&&mu(t.stateNode.containerInfo),jy(t),null;case g:return op(t.type._context,t),jy(t),null;case C:return hd(t.type)&&vd(t),jy(t),null;case _:Zp(t);var U=t.memoizedState;if(null===U)return jy(t),null;var B=(t.flags&qr)!==Ar,W=U.rendering;if(null===W)if(B)Iy(U,!1);else{if(vb!==rb||null!==e&&(e.flags&qr)!==Ar)for(var H=t.child;null!==H;){var q=tm(H);if(null!==q){B=!0,t.flags|=qr,Iy(U,!1);var Y=q.updateQueue;return null!==Y&&(t.updateQueue=Y,t.flags|=Ur),t.subtreeFlags=Ar,Yf(t,n),Jp(t,Xp(Kp.current,Yp)),t.child}H=H.sibling}null!==U.tail&&Mo()>Nb()&&(t.flags|=qr,B=!0,Iy(U,!1),t.lanes=Ha)}else{if(!B){var K=tm(W);if(null!==K){t.flags|=qr,B=!0;var G=K.updateQueue;if(null!==G&&(t.updateQueue=G,t.flags|=Ur),Iy(U,!0),null===U.tail&&"hidden"===U.tailMode&&!W.alternate&&!bf())return jy(t),null}else 2*Mo()-U.renderingStartTime>Nb()&&n!==Qa&&(t.flags|=qr,B=!0,Iy(U,!1),t.lanes=Ha)}if(U.isBackwards)W.sibling=t.child,t.child=W;else{var Q=U.last;null!==Q?Q.sibling=W:t.child=W,U.last=W}}if(null!==U.tail){var X=U.tail;U.rendering=X,U.tail=X.sibling,U.renderingStartTime=Mo(),X.sibling=null;var J=Kp.current;return Jp(t,J=B?Xp(J,Yp):Qp(J)),X}return jy(t),null;case R:break;case M:case P:cw(t);var Z=null!==t.memoizedState;return null!==e&&(null!==e.memoizedState===Z||$||(t.flags|=Jr)),Z&&(t.mode&ia)!==aa?mi(mb,Qa)&&(jy(t),t.subtreeFlags&(Vr|Ur)&&(t.flags|=Jr)):jy(t),null;case D:case I:return null}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function $y(e,t,n){switch(Hd(t),t.tag){case s:hd(t.type)&&vd(t);var r=t.flags;return r&ro?(t.flags=r&~ro|qr,(t.mode&la)!==aa&&sv(t),t):null;case c:t.stateNode,Vp(t),yd(t),sm();var o=t.flags;return(o&ro)!==Ar&&(o&qr)===Ar?(t.flags=o&~ro|qr,t):null;case f:return Wp(t),null;case x:Zp(t);var a=t.memoizedState;if(null!==a&&null!==a.dehydrated){if(null===t.alternate)throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");yf()}var i=t.flags;return i&ro?(t.flags=i&~ro|qr,(t.mode&la)!==aa&&sv(t),t):null;case _:return Zp(t),null;case d:return Vp(t),null;case g:return op(t.type._context,t),null;case M:case P:return cw(t),null;default:return null}}function Ay(e,t,n){switch(Hd(t),t.tag){case s:null!=t.type.childContextTypes&&vd(t);break;case c:t.stateNode,Vp(t),yd(t),sm();break;case f:Wp(t);break;case d:Vp(t);break;case x:case _:Zp(t);break;case g:op(t.type._context,t);break;case M:case P:cw(t)}}xy=function(e,t,n,r){for(var o,a,i=t.child;null!==i;){if(i.tag===f||i.tag===p)o=e,a=i.stateNode,o.appendChild(a);else if(i.tag===d);else if(null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)return;for(;null===i.sibling;){if(null===i.return||i.return===t)return;i=i.return}i.sibling.return=i.return,i=i.sibling}},ky=function(e,t){},Sy=function(e,t,n,r,o){var a=e.memoizedProps;if(a!==r){var i=function(e,t,n,r,o,a){var i=a;if(typeof r.children!=typeof n.children&&("string"==typeof r.children||"number"==typeof r.children)){var l=""+r.children,s=Ju(i.ancestorInfo,t);Xu(null,l,s)}return Hu(e,t,n,r)}(t.stateNode,n,a,r,0,Up());t.updateQueue=i,i&&Py(t)}},Ey=function(e,t,n,r){n!==r&&Py(t)};var Fy=null;Fy=new Set;var Vy=!1,Uy=!1,By="function"==typeof WeakSet?WeakSet:Set,Wy=null,Hy=null,qy=null,Yy=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&la)try{iv(),t.componentWillUnmount()}finally{ov(e)}else t.componentWillUnmount()};function Ky(e,t){try{og(am,e)}catch(n){Ow(e,t,n)}}function Gy(e,t,n){try{Yy(e,n)}catch(n){Ow(e,t,n)}}function Qy(e,t){try{sg(e)}catch(n){Ow(e,t,n)}}function Xy(e,t){var n=e.ref;if(null!==n)if("function"==typeof n){var r;try{if(W&&H&&e.mode&la)try{iv(),r=n(null)}finally{ov(e)}else r=n(null)}catch(n){Ow(e,t,n)}"function"==typeof r&&a("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",ht(e))}else n.current=null}function Jy(e,t,n){try{n()}catch(n){Ow(e,t,n)}}var Zy=!1;function eg(e,t){pc(e.containerInfo),Wy=t,function(){for(;null!==Wy;){var e=Wy,t=e.child;(e.subtreeFlags&fo)!==Ar&&null!==t?(t.return=e,Wy=t):tg()}}();var n=Zy;return Zy=!1,n}function tg(){for(;null!==Wy;){var e=Wy;kt(e);try{ng(e)}catch(t){Ow(e,e.return,t)}xt();var t=e.sibling;if(null!==t)return t.return=e.return,void(Wy=t);Wy=e.return}}function ng(e){var t,n=e.alternate;if((e.flags&Gr)!==Ar){switch(kt(e),e.tag){case l:case b:case S:break;case s:if(null!==n){var r=n.memoizedProps,o=n.memoizedState,i=e.stateNode;e.type!==e.elementType||Hv||(i.props!==e.memoizedProps&&a("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",ht(e)||"instance"),i.state!==e.memoizedState&&a("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",ht(e)||"instance"));var u=i.getSnapshotBeforeUpdate(e.elementType===e.type?r:uv(e.type,r),o),m=Fy;void 0!==u||m.has(e.type)||(m.add(e.type),a("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",ht(e))),i.__reactInternalSnapshotBeforeUpdate=u}break;case c:(t=e.stateNode.containerInfo).nodeType===yn?t.textContent="":t.nodeType===wn&&t.documentElement&&t.removeChild(t.documentElement);break;case f:case p:case d:case C:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}xt()}}function rg(e,t,n){var r,o=t.updateQueue,a=null!==o?o.lastEffect:null;if(null!==a){var i=a.next,l=i;do{if((l.tag&e)===e){var s=l.destroy;l.destroy=void 0,void 0!==s&&((e&im)!==nm?(r=t,null!==Uo&&"function"==typeof Uo.markComponentPassiveEffectUnmountStarted&&Uo.markComponentPassiveEffectUnmountStarted(r)):(e&am)!==nm&&Jo(t),(e&om)!==nm&&Ww(!0),Jy(t,n,s),(e&om)!==nm&&Ww(!1),(e&im)!==nm?null!==Uo&&"function"==typeof Uo.markComponentPassiveEffectUnmountStopped&&Uo.markComponentPassiveEffectUnmountStopped():(e&am)!==nm&&Zo())}l=l.next}while(l!==i)}}function og(e,t){var n,r=t.updateQueue,o=null!==r?r.lastEffect:null;if(null!==o){var i=o.next,l=i;do{if((l.tag&e)===e){(e&im)!==nm?(n=t,null!==Uo&&"function"==typeof Uo.markComponentPassiveEffectMountStarted&&Uo.markComponentPassiveEffectMountStarted(n)):(e&am)!==nm&&Xo(t);var s=l.create;(e&om)!==nm&&Ww(!0),l.destroy=s(),(e&om)!==nm&&Ww(!1),(e&im)!==nm?null!==Uo&&"function"==typeof Uo.markComponentPassiveEffectMountStopped&&Uo.markComponentPassiveEffectMountStopped():(e&am)!==nm&&null!==Uo&&"function"==typeof Uo.markComponentLayoutEffectMountStopped&&Uo.markComponentLayoutEffectMountStopped();var u=l.destroy;if(void 0!==u&&"function"!=typeof u){var c=void 0;a("%s must not return anything besides a function, which is used for clean-up.%s",c=(l.tag&am)!==Ar?"useLayoutEffect":(l.tag&om)!==Ar?"useInsertionEffect":"useEffect",null===u?" You returned null. If your effect does not require clean up, return undefined (or nothing).":"function"==typeof u.then?"\n\nIt looks like you wrote "+c+"(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:\n\n"+c+"(() => {\n async function fetchData() {\n // You can await here\n const response = await MyAPI.getData(someId);\n // ...\n }\n fetchData();\n}, [someId]); // Or [] if effect doesn't need props or state\n\nLearn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching":" You returned: "+u)}}l=l.next}while(l!==i)}}function ag(e,t){if((t.flags&Ur)!==Ar&&t.tag===w){var n=t.stateNode.passiveEffectDuration,r=t.memoizedProps,o=r.id,a=r.onPostCommit,i=Zh(),l=null===t.alternate?"mount":"update";Jh()&&(l="nested-update"),"function"==typeof a&&a(o,l,n,i);var s=t.return;e:for(;null!==s;){switch(s.tag){case c:case w:s.stateNode.passiveEffectDuration+=n;break e}s=s.return}}}function ig(e,t,n,r){if((n.flags&mo)!==Ar)switch(n.tag){case l:case b:case S:if(!Uy)if(n.mode&la)try{iv(),og(am|rm,n)}finally{ov(n)}else og(am|rm,n);break;case s:var o=n.stateNode;if(n.flags&Ur&&!Uy)if(null===t)if(n.type!==n.elementType||Hv||(o.props!==n.memoizedProps&&a("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",ht(n)||"instance"),o.state!==n.memoizedState&&a("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",ht(n)||"instance")),n.mode&la)try{iv(),o.componentDidMount()}finally{ov(n)}else o.componentDidMount();else{var i=n.elementType===n.type?t.memoizedProps:uv(n.type,t.memoizedProps),u=t.memoizedState;if(n.type!==n.elementType||Hv||(o.props!==n.memoizedProps&&a("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",ht(n)||"instance"),o.state!==n.memoizedState&&a("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",ht(n)||"instance")),n.mode&la)try{iv(),o.componentDidUpdate(i,u,o.__reactInternalSnapshotBeforeUpdate)}finally{ov(n)}else o.componentDidUpdate(i,u,o.__reactInternalSnapshotBeforeUpdate)}var m=n.updateQueue;null!==m&&(n.type!==n.elementType||Hv||(o.props!==n.memoizedProps&&a("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",ht(n)||"instance"),o.state!==n.memoizedState&&a("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",ht(n)||"instance")),Dp(0,m,o));break;case c:var h=n.updateQueue;if(null!==h){var v=null;if(null!==n.child)switch(n.child.tag){case f:case s:v=n.child.stateNode}Dp(0,h,v)}break;case f:var y=n.stateNode;null===t&&n.flags&Ur&&function(e,t,n){switch(t){case"button":case"input":case"select":case"textarea":return void(n.autoFocus&&e.focus());case"img":n.src&&(e.src=n.src)}}(y,n.type,n.memoizedProps);break;case p:case d:break;case w:var g=n.memoizedProps,k=g.onCommit,E=g.onRender,T=n.stateNode.effectDuration,O=Zh(),N=null===t?"mount":"update";Jh()&&(N="nested-update"),"function"==typeof E&&E(n.memoizedProps.id,N,n.actualDuration,n.treeBaseDuration,n.actualStartTime,O),"function"==typeof k&&k(n.memoizedProps.id,N,T,O),j=n,Lb.push(j),Db||(Db=!0,Vw(jo,(function(){return Sw(),null})));var D=n.return;e:for(;null!==D;){switch(D.tag){case c:case w:D.stateNode.effectDuration+=T;break e}D=D.return}break;case x:!function(e,t){if(null===t.memoizedState){var n=t.alternate;if(null!==n){var r=n.memoizedState;if(null!==r){var o=r.dehydrated;null!==o&&function(e){rl(e)}(o)}}}}(0,n);break;case _:case C:case R:case M:case P:case I:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}var j;Uy||n.flags&Kr&&sg(n)}function lg(e){switch(e.tag){case l:case b:case S:if(e.mode&la)try{iv(),Ky(e,e.return)}finally{ov(e)}else Ky(e,e.return);break;case s:var t=e.stateNode;"function"==typeof t.componentDidMount&&function(e,t,n){try{n.componentDidMount()}catch(n){Ow(e,t,n)}}(e,e.return,t),Qy(e,e.return);break;case f:Qy(e,e.return)}}function sg(e){var t=e.ref;if(null!==t){var n,r=e.stateNode;if(e.tag,n=r,"function"==typeof t){var o;if(e.mode&la)try{iv(),o=t(n)}finally{ov(e)}else o=t(n);"function"==typeof o&&a("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",ht(e))}else t.hasOwnProperty("current")||a("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",ht(e)),t.current=n}}function ug(e){var t=e.alternate;if(null!==t&&(e.alternate=null,ug(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===f){var n=e.stateNode;null!==n&&function(e){delete e[jc],delete e[Lc],delete e[$c],delete e[Ac],delete e[Fc]}(n)}e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function cg(e){return e.tag===f||e.tag===c||e.tag===d}function dg(e){var t=e;e:for(;;){for(;null===t.sibling;){if(null===t.return||cg(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==f&&t.tag!==p&&t.tag!==T;){if(t.flags&Vr)continue e;if(null===t.child||t.tag===d)continue e;t.child.return=t,t=t.child}if(!(t.flags&Vr))return t.stateNode}}function fg(e){var t=function(e){for(var t=e.return;null!==t;){if(cg(t))return t;t=t.return}throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.")}(e);switch(t.tag){case f:var n=t.stateNode;t.flags&Wr&&(Sc(n),t.flags&=~Wr),mg(e,dg(e),n);break;case c:case d:var r=t.stateNode.containerInfo;pg(e,dg(e),r);break;default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function pg(e,t,n){var r=e.tag;if(r===f||r===p){var o=e.stateNode;t?function(e,t,n){e.nodeType===bn?e.parentNode.insertBefore(t,n):e.insertBefore(t,n)}(n,o,t):function(e,t){var n;e.nodeType===bn?(n=e.parentNode).insertBefore(t,e):(n=e).appendChild(t),null==e._reactRootContainer&&null===n.onclick&&Bu(n)}(n,o)}else if(r===d);else{var a=e.child;if(null!==a){pg(a,t,n);for(var i=a.sibling;null!==i;)pg(i,t,n),i=i.sibling}}}function mg(e,t,n){var r=e.tag;if(r===f||r===p){var o=e.stateNode;t?function(e,t,n){e.insertBefore(t,n)}(n,o,t):function(e,t){e.appendChild(t)}(n,o)}else if(r===d);else{var a=e.child;if(null!==a){mg(a,t,n);for(var i=a.sibling;null!==i;)mg(i,t,n),i=i.sibling}}}var hg=null,vg=!1;function yg(e,t,n){var r,o,a=t;e:for(;null!==a;){switch(a.tag){case f:hg=a.stateNode,vg=!1;break e;case c:case d:hg=a.stateNode.containerInfo,vg=!0;break e}a=a.return}if(null===hg)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");bg(e,t,n),hg=null,vg=!1,null!==(o=(r=n).alternate)&&(o.return=null),r.return=null}function gg(e,t,n){for(var r=n.child;null!==r;)bg(e,t,r),r=r.sibling}function bg(e,t,n){switch(function(e){if(Vo&&"function"==typeof Vo.onCommitFiberUnmount)try{Vo.onCommitFiberUnmount(Fo,e)}catch(e){Bo||(Bo=!0,a("React instrumentation encountered an error: %s",e))}}(n),n.tag){case f:Uy||Xy(n,t);case p:var r=hg,o=vg;return hg=null,gg(e,t,n),vg=o,void(null!==(hg=r)&&(vg?(C=hg,O=n.stateNode,C.nodeType===bn?C.parentNode.removeChild(O):C.removeChild(O)):function(e,t){e.removeChild(t)}(hg,n.stateNode)));case T:return void(null!==hg&&(vg?function(e,t){e.nodeType===bn?Ec(e.parentNode,t):e.nodeType===yn&&Ec(e,t),rl(e)}(hg,n.stateNode):Ec(hg,n.stateNode)));case d:var i=hg,u=vg;return hg=n.stateNode.containerInfo,vg=!0,gg(e,t,n),hg=i,void(vg=u);case l:case b:case k:case S:if(!Uy){var c=n.updateQueue;if(null!==c){var m=c.lastEffect;if(null!==m){var h=m.next,v=h;do{var y=v,g=y.destroy,w=y.tag;void 0!==g&&((w&om)!==nm?Jy(n,t,g):(w&am)!==nm&&(Jo(n),n.mode&la?(iv(),Jy(n,t,g),ov(n)):Jy(n,t,g),Zo())),v=v.next}while(v!==h)}}}return void gg(e,t,n);case s:if(!Uy){Xy(n,t);var x=n.stateNode;"function"==typeof x.componentWillUnmount&&Gy(n,t,x)}return void gg(e,t,n);case R:return void gg(e,t,n);case M:if(n.mode&ia){var E=Uy;Uy=E||null!==n.memoizedState,gg(e,t,n),Uy=E}else gg(e,t,n);break;default:return void gg(e,t,n)}var C,O}function wg(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new By),t.forEach((function(t){var r=Mw.bind(null,e,t);if(!n.has(t)){if(n.add(t),Wo){if(null===Hy||null===qy)throw Error("Expected finished root and lanes to be set. This is a bug in React.");Aw(qy,Hy)}t.then(r,r)}}))}}function xg(e,t,n){var r=t.deletions;if(null!==r)for(var o=0;o<r.length;o++){var a=r[o];try{yg(e,t,a)}catch(e){Ow(a,t,e)}}var i=yt;if(t.subtreeFlags&po)for(var l=t.child;null!==l;)kt(l),kg(l,e),l=l.sibling;kt(i)}function kg(e,t,n){var r=e.alternate,o=e.flags;switch(e.tag){case l:case b:case k:case S:if(xg(t,e),Sg(e),o&Ur){try{rg(om|rm,e,e.return),og(om|rm,e)}catch(t){Ow(e,e.return,t)}if(e.mode&la){try{iv(),rg(am|rm,e,e.return)}catch(t){Ow(e,e.return,t)}ov(e)}else try{rg(am|rm,e,e.return)}catch(t){Ow(e,e.return,t)}}return;case s:return xg(t,e),Sg(e),void(o&Kr&&null!==r&&Xy(r,r.return));case f:if(xg(t,e),Sg(e),o&Kr&&null!==r&&Xy(r,r.return),e.flags&Wr){var a=e.stateNode;try{Sc(a)}catch(t){Ow(e,e.return,t)}}if(o&Ur){var i=e.stateNode;if(null!=i){var u=e.memoizedProps,m=null!==r?r.memoizedProps:u,h=e.type,v=e.updateQueue;if(e.updateQueue=null,null!==v)try{!function(e,t,n,r,o){qu(e,t,n,r,o),Gc(e,o)}(i,v,h,m,u)}catch(t){Ow(e,e.return,t)}}}return;case p:if(xg(t,e),Sg(e),o&Ur){if(null===e.stateNode)throw new Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");var y=e.stateNode,g=e.memoizedProps;null!==r&&r.memoizedProps;try{!function(e,t,n){e.nodeValue=n}(y,0,g)}catch(t){Ow(e,e.return,t)}}return;case c:if(xg(t,e),Sg(e),o&Ur&&null!==r&&r.memoizedState.isDehydrated)try{rl(t.containerInfo)}catch(t){Ow(e,e.return,t)}return;case d:return xg(t,e),void Sg(e);case x:xg(t,e),Sg(e);var w=e.child;if(w.flags&Jr){var E=w.stateNode,C=null!==w.memoizedState;E.isHidden=C,C&&(null!==w.alternate&&null!==w.alternate.memoizedState||(Sb=Mo()))}if(o&Ur){try{!function(e){e.memoizedState}(e)}catch(t){Ow(e,e.return,t)}wg(e)}return;case M:var T=null!==r&&null!==r.memoizedState;if(e.mode&ia){var O=Uy;Uy=O||T,xg(t,e),Uy=O}else xg(t,e);if(Sg(e),o&Jr){var N=e.stateNode,D=null!==e.memoizedState,I=e;if(N.isHidden=D,D&&!T&&(I.mode&ia)!==aa){Wy=I;for(var j=I.child;null!==j;)Wy=j,Og(j),j=j.sibling}!function(e,t){for(var n=null,r=e;;){if(r.tag===f){if(null===n){n=r;try{var o=r.stateNode;t?Cc(o):Tc(r.stateNode,r.memoizedProps)}catch(t){Ow(e,e.return,t)}}}else if(r.tag===p){if(null===n)try{var a=r.stateNode;t?a.nodeValue="":Oc(a,r.memoizedProps)}catch(t){Ow(e,e.return,t)}}else if((r.tag!==M&&r.tag!==P||null===r.memoizedState||r===e)&&null!==r.child){r.child.return=r,r=r.child;continue}if(r===e)return;for(;null===r.sibling;){if(null===r.return||r.return===e)return;n===r&&(n=null),r=r.return}n===r&&(n=null),r.sibling.return=r.return,r=r.sibling}}(I,D)}return;case _:return xg(t,e),Sg(e),void(o&Ur&&wg(e));case R:return;default:return xg(t,e),void Sg(e)}}function Sg(e){var t=e.flags;if(t&Vr){try{fg(e)}catch(t){Ow(e,e.return,t)}e.flags&=~Vr}t&Xr&&(e.flags&=~Xr)}function Eg(e,t,n){Hy=n,qy=t,Wy=e,Cg(e,t,n),Hy=null,qy=null}function Cg(e,t,n){for(var r=(e.mode&ia)!==aa;null!==Wy;){var o=Wy,a=o.child;if(o.tag===M&&r){var i=null!==o.memoizedState||Vy;if(i){Tg(e,t,n);continue}var l=o.alternate,s=null!==l&&null!==l.memoizedState,u=Vy,c=Uy;Vy=i,(Uy=s||Uy)&&!c&&(Wy=o,Ng(o));for(var d=a;null!==d;)Wy=d,Cg(d,t,n),d=d.sibling;Wy=o,Vy=u,Uy=c,Tg(e,t,n)}else(o.subtreeFlags&mo)!==Ar&&null!==a?(a.return=o,Wy=a):Tg(e,t,n)}}function Tg(e,t,n){for(;null!==Wy;){var r=Wy;if((r.flags&mo)!==Ar){var o=r.alternate;kt(r);try{ig(0,o,r)}catch(e){Ow(r,r.return,e)}xt()}if(r===e)return void(Wy=null);var a=r.sibling;if(null!==a)return a.return=r.return,void(Wy=a);Wy=r.return}}function Og(e){for(;null!==Wy;){var t=Wy,n=t.child;switch(t.tag){case l:case b:case k:case S:if(t.mode&la)try{iv(),rg(am,t,t.return)}finally{ov(t)}else rg(am,t,t.return);break;case s:Xy(t,t.return);var r=t.stateNode;"function"==typeof r.componentWillUnmount&&Gy(t,t.return,r);break;case f:Xy(t,t.return);break;case M:if(null!==t.memoizedState){_g(e);continue}}null!==n?(n.return=t,Wy=n):_g(e)}}function _g(e){for(;null!==Wy;){var t=Wy;if(t===e)return void(Wy=null);var n=t.sibling;if(null!==n)return n.return=t.return,void(Wy=n);Wy=t.return}}function Ng(e){for(;null!==Wy;){var t=Wy,n=t.child;(t.tag!==M||null===t.memoizedState)&&null!==n?(n.return=t,Wy=n):Rg(e)}}function Rg(e){for(;null!==Wy;){var t=Wy;kt(t);try{lg(t)}catch(e){Ow(t,t.return,e)}if(xt(),t===e)return void(Wy=null);var n=t.sibling;if(null!==n)return n.return=t.return,void(Wy=n);Wy=t.return}}function Mg(e,t,n,r){Wy=t,function(e,t,n,r){for(;null!==Wy;){var o=Wy,a=o.child;(o.subtreeFlags&ho)!==Ar&&null!==a?(a.return=o,Wy=a):Pg(e,t,n,r)}}(t,e,n,r)}function Pg(e,t,n,r){for(;null!==Wy;){var o=Wy;if((o.flags&Qr)!==Ar){kt(o);try{Dg(t,o,n,r)}catch(e){Ow(o,o.return,e)}xt()}if(o===e)return void(Wy=null);var a=o.sibling;if(null!==a)return a.return=o.return,void(Wy=a);Wy=o.return}}function Dg(e,t,n,r){switch(t.tag){case l:case b:case S:if(t.mode&la){lv();try{og(im|rm,t)}finally{av(t)}}else og(im|rm,t)}}function Ig(e){Wy=e,function(){for(;null!==Wy;){var e=Wy,t=e.child;if((Wy.flags&Br)!==Ar){var n=e.deletions;if(null!==n){for(var r=0;r<n.length;r++){var o=n[r];Wy=o,zg(o,e)}var a=e.alternate;if(null!==a){var i=a.child;if(null!==i){a.child=null;do{var l=i.sibling;i.sibling=null,i=l}while(null!==i)}}Wy=e}}(e.subtreeFlags&ho)!==Ar&&null!==t?(t.return=e,Wy=t):jg()}}()}function jg(){for(;null!==Wy;){var e=Wy;(e.flags&Qr)!==Ar&&(kt(e),Lg(e),xt());var t=e.sibling;if(null!==t)return t.return=e.return,void(Wy=t);Wy=e.return}}function Lg(e){switch(e.tag){case l:case b:case S:e.mode&la?(lv(),rg(im|rm,e,e.return),av(e)):rg(im|rm,e,e.return)}}function zg(e,t){for(;null!==Wy;){var n=Wy;kt(n),Ag(n,t),xt();var r=n.child;null!==r?(r.return=n,Wy=r):$g(e)}}function $g(e){for(;null!==Wy;){var t=Wy,n=t.sibling,r=t.return;if(ug(t),t===e)return void(Wy=null);if(null!==n)return n.return=r,void(Wy=n);Wy=r}}function Ag(e,t){switch(e.tag){case l:case b:case S:e.mode&la?(lv(),rg(im,e,t),av(e)):rg(im,e,t)}}function Fg(e){switch(e.tag){case l:case b:case S:try{og(am|rm,e)}catch(t){Ow(e,e.return,t)}break;case s:var t=e.stateNode;try{t.componentDidMount()}catch(t){Ow(e,e.return,t)}}}function Vg(e){switch(e.tag){case l:case b:case S:try{og(im|rm,e)}catch(t){Ow(e,e.return,t)}}}function Ug(e){switch(e.tag){case l:case b:case S:try{rg(am|rm,e,e.return)}catch(t){Ow(e,e.return,t)}break;case s:var t=e.stateNode;"function"==typeof t.componentWillUnmount&&Gy(e,e.return,t)}}function Bg(e){switch(e.tag){case l:case b:case S:try{rg(im|rm,e,e.return)}catch(t){Ow(e,e.return,t)}}}if("function"==typeof Symbol&&Symbol.for){var Wg=Symbol.for;Wg("selector.component"),Wg("selector.has_pseudo_class"),Wg("selector.role"),Wg("selector.test_id"),Wg("selector.text")}var Hg=[],qg=n.ReactCurrentActQueue;function Yg(){var e="undefined"!=typeof IS_REACT_ACT_ENVIRONMENT?IS_REACT_ACT_ENVIRONMENT:void 0;return e||null===qg.current||a("The current testing environment is not configured to support act(...)"),e}var Kg=Math.ceil,Gg=n.ReactCurrentDispatcher,Qg=n.ReactCurrentOwner,Xg=n.ReactCurrentBatchConfig,Jg=n.ReactCurrentActQueue,Zg=0,eb=1,tb=2,nb=4,rb=0,ob=1,ab=2,ib=3,lb=4,sb=5,ub=6,cb=Zg,db=null,fb=null,pb=ma,mb=ma,hb=od(ma),vb=rb,yb=null,gb=ma,bb=ma,wb=ma,xb=null,kb=null,Sb=0,Eb=500,Cb=1/0,Tb=500,Ob=null;function _b(){Cb=Mo()+Tb}function Nb(){return Cb}var Rb=!1,Mb=null,Pb=null,Db=!1,Ib=null,jb=ma,Lb=[],zb=null,$b=50,Ab=0,Fb=null,Vb=!1,Ub=!1,Bb=50,Wb=0,Hb=null,qb=Ja,Yb=ma,Kb=!1;function Gb(){return db}function Qb(){return(cb&(tb|nb))!==Zg?Mo():qb!==Ja?qb:qb=Mo()}function Xb(e){if((e.mode&ia)===aa)return va;if((cb&tb)!==Zg&&pb!==ma)return di(pb);if(xf.transition!==kf){if(null!==Xg.transition){var t=Xg.transition;t._updatedFibers||(t._updatedFibers=new Set),t._updatedFibers.add(e)}return Yb===ha&&(Yb=ui()),Yb}var n,r=ji();return r!==ha?r:void 0===(n=window.event)?Pi:fl(n.type)}function Jb(e){var t;return(e.mode&ia)===aa?va:(t=ei,((ei<<=1)&Aa)===ma&&(ei=Fa),t)}function Zb(e,t,n,r){!function(){if(Ab>$b)throw Ab=0,Fb=null,new Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");Wb>Bb&&(Wb=0,Hb=null,a("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render."))}(),Kb&&a("useInsertionEffect must not schedule updates."),Vb&&(Ub=!0),wi(e,n,r),(cb&tb)!==ma&&e===db?function(e){if(gt&&!Th)switch(e.tag){case l:case b:case S:var t=fb&&ht(fb)||"Unknown",n=t;zw.has(n)||(zw.add(n),a("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://reactjs.org/link/setstate-in-render",ht(e)||"Unknown",t,t));break;case s:$w||(a("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),$w=!0)}}(t):(Wo&&Si(e,t,n),function(e){if(e.mode&ia){if(!Yg())return}else{if(t="undefined"!=typeof IS_REACT_ACT_ENVIRONMENT?IS_REACT_ACT_ENVIRONMENT:void 0,"undefined"==typeof jest||!1===t)return;if(cb!==Zg)return;if(e.tag!==l&&e.tag!==b&&e.tag!==S)return}var t;if(null===Jg.current){var n=yt;try{kt(e),a("An update to %s inside a test was not wrapped in act(...).\n\nWhen testing, code that causes React state updates should be wrapped into act(...):\n\nact(() => {\n /* fire events that update state */\n});\n/* assert on the output */\n\nThis ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act",ht(e))}finally{n?kt(e):xt()}}}(t),e===db&&((cb&tb)===Zg&&(bb=vi(bb,n)),vb===lb&&ow(e,pb)),ew(e,r),n!==va||cb!==Zg||(t.mode&ia)!==aa||Jg.isBatchingLegacy||(_b(),Nd()))}function ew(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.pendingLanes,r=e.suspendedLanes,o=e.pingedLanes,a=e.expirationTimes,i=n;i>0;){var l=fi(i),s=1<<l,u=a[l];u===Ja?(s&r)!==ma&&(s&o)===ma||(a[l]=ri(s,t)):u<=t&&(e.expiredLanes|=s),i&=~s}}(e,t);var r=ni(e,e===db?pb:ma);if(r===ma)return null!==n&&Uw(n),e.callbackNode=null,void(e.callbackPriority=ha);var o=ci(r),i=e.callbackPriority;if(i!==o||null!==Jg.current&&n!==Fw){var l,s;if(null!=n&&Uw(n),o===va)e.tag===Sd?(null!==Jg.isBatchingLegacy&&(Jg.didScheduleLegacyUpdate=!0),s=aw.bind(null,e),Td=!0,_d(s)):_d(aw.bind(null,e)),null!==Jg.current?Jg.current.push(Rd):xc((function(){(cb&(tb|nb))===Zg&&Rd()})),l=null;else{var u;switch($i(r)){case Ri:u=Do;break;case Mi:u=Io;break;case Pi:u=jo;break;case Di:u=zo;break;default:u=jo}l=Vw(u,tw.bind(null,e))}e.callbackPriority=o,e.callbackNode=l}else null==n&&i!==va&&a("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.")}function tw(e,t){if(Qh=!1,Xh=!1,qb=Ja,Yb=ma,(cb&(tb|nb))!==Zg)throw new Error("Should not already be working.");var n=e.callbackNode;if(Sw()&&e.callbackNode!==n)return null;var r=ni(e,e===db?pb:ma);if(r===ma)return null;var o=!li(0,r)&&!function(e,t){return(t&e.expiredLanes)!==ma}(e,r)&&!t,a=o?function(e,t){var n=cb;cb|=tb;var r=pw();if(db!==e||pb!==t){if(Wo){var o=e.memoizedUpdaters;o.size>0&&(Aw(e,pb),o.clear()),Ei(e,t)}Ob=null,_b(),dw(e,t)}for(na(t);;)try{bw();break}catch(t){fw(e,t)}return ep(),mw(r),cb=n,null!==fb?(null!==Uo&&"function"==typeof Uo.markRenderYielded&&Uo.markRenderYielded(),rb):(ra(),db=null,pb=ma,vb)}(e,r):yw(e,r);if(a!==rb){if(a===ab){var i=oi(e);i!==ma&&(r=i,a=nw(e,i))}if(a===ob){var l=yb;throw dw(e,ma),ow(e,r),ew(e,Mo()),l}if(a===ub)ow(e,r);else{var s=!li(0,r),u=e.current.alternate;if(s&&!function(e){for(var t=e;;){if(t.flags&Zr){var n=t.updateQueue;if(null!==n){var r=n.stores;if(null!==r)for(var o=0;o<r.length;o++){var a=r[o],i=a.getSnapshot,l=a.value;try{if(!Ts(i(),l))return!1}catch(e){return!1}}}}var s=t.child;if(t.subtreeFlags&Zr&&null!==s)s.return=t,t=s;else{if(t===e)return!0;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(u)){if((a=yw(e,r))===ab){var c=oi(e);c!==ma&&(r=c,a=nw(e,c))}if(a===ob){var d=yb;throw dw(e,ma),ow(e,r),ew(e,Mo()),d}}e.finishedWork=u,e.finishedLanes=r,function(e,t,n){switch(t){case rb:case ob:throw new Error("Root did not complete. This is a bug in React.");case ab:kw(e,kb,Ob);break;case ib:if(ow(e,n),ii(n)&&!Bw()){var r=Sb+Eb-Mo();if(r>10){if(ni(e,ma)!==ma)break;var o=e.suspendedLanes;if(!hi(o,n)){Qb(),xi(e,o);break}e.timeoutHandle=yc(kw.bind(null,e,kb,Ob),r);break}}kw(e,kb,Ob);break;case lb:if(ow(e,n),function(e){return(e&ka)===e}(n))break;if(!Bw()){var a=function(e,t){for(var n=e.eventTimes,r=Ja;t>0;){var o=fi(t),a=1<<o,i=n[o];i>r&&(r=i),t&=~a}return r}(e,n),i=a,l=Mo()-i,s=((u=l)<120?120:u<480?480:u<1080?1080:u<1920?1920:u<3e3?3e3:u<4320?4320:1960*Kg(u/1960))-l;if(s>10){e.timeoutHandle=yc(kw.bind(null,e,kb,Ob),s);break}}kw(e,kb,Ob);break;case sb:kw(e,kb,Ob);break;default:throw new Error("Unknown root exit status.")}var u}(e,a,r)}}return ew(e,Mo()),e.callbackNode===n?tw.bind(null,e):null}function nw(e,t){var n=xb;Ai(e)&&(dw(e,t).flags|=Yr,a("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.containerInfo.nodeName.toLowerCase()));var r=yw(e,t);if(r!==ab){var o=kb;kb=n,null!==o&&rw(o)}return r}function rw(e){null===kb?kb=e:kb.push.apply(kb,e)}function ow(e,t){t=yi(t,wb),function(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var n=e.expirationTimes,r=t;r>0;){var o=fi(r),a=1<<o;n[o]=Ja,r&=~a}}(e,t=yi(t,bb))}function aw(e){if(Qh=Xh,Xh=!1,(cb&(tb|nb))!==Zg)throw new Error("Should not already be working.");Sw();var t=ni(e,ma);if(!mi(t,va))return ew(e,Mo()),null;var n=yw(e,t);if(e.tag!==Sd&&n===ab){var r=oi(e);r!==ma&&(t=r,n=nw(e,r))}if(n===ob){var o=yb;throw dw(e,ma),ow(e,t),ew(e,Mo()),o}if(n===ub)throw new Error("Root did not complete. This is a bug in React.");var a=e.current.alternate;return e.finishedWork=a,e.finishedLanes=t,kw(e,kb,Ob),ew(e,Mo()),null}function iw(e,t){var n=cb;cb|=eb;try{return e(t)}finally{(cb=n)!==Zg||Jg.isBatchingLegacy||(_b(),Nd())}}function lw(e){null!==Ib&&Ib.tag===Sd&&(cb&(tb|nb))===Zg&&Sw();var t=cb;cb|=eb;var n=Xg.transition,r=ji();try{return Xg.transition=null,Li(Ri),e?e():void 0}finally{Li(r),Xg.transition=n,((cb=t)&(tb|nb))===Zg&&Rd()}}function sw(){return(cb&(tb|nb))!==Zg}function uw(e,t){id(hb,mb,e),mb=vi(mb,t)}function cw(e){mb=hb.current,ad(hb,e)}function dw(e,t){e.finishedWork=null,e.finishedLanes=ma;var n=e.timeoutHandle;if(n!==bc&&(e.timeoutHandle=bc,gc(n)),null!==fb)for(var r=fb.return;null!==r;)r.alternate,Ay(0,r),r=r.return;db=e;var o=ux(e.current,null);return fb=o,pb=mb=t,vb=rb,yb=null,gb=ma,bb=ma,wb=ma,xb=null,kb=null,function(){if(null!==up){for(var e=0;e<up.length;e++){var t=up[e],n=t.interleaved;if(null!==n){t.interleaved=null;var r=n.next,o=t.pending;if(null!==o){var a=o.next;o.next=r,n.next=a}t.pending=n}}up=null}}(),Sf.discardPendingWarnings(),o}function fw(e,t){for(;;){var n=fb;try{if(ep(),jm(),xt(),Qg.current=null,null===n||null===n.return)return vb=ob,yb=t,void(fb=null);W&&n.mode&la&&rv(n,!0),B&&(Qo(),null!==t&&"object"==typeof t&&"function"==typeof t.then?ta(n,t,pb):ea(n,t,pb)),Av(e,n.return,n,t,pb),xw(n)}catch(e){t=e,fb===n&&null!==n?(n=n.return,fb=n):n=fb;continue}return}}function pw(){var e=Gg.current;return Gg.current=jh,null===e?jh:e}function mw(e){Gg.current=e}function hw(e){gb=vi(e,gb)}function vw(){vb!==rb&&vb!==ib&&vb!==ab||(vb=lb),null!==db&&(ai(gb)||ai(bb))&&ow(db,pb)}function yw(e,t){var n=cb;cb|=tb;var r=pw();if(db!==e||pb!==t){if(Wo){var o=e.memoizedUpdaters;o.size>0&&(Aw(e,pb),o.clear()),Ei(e,t)}Ob=null,dw(e,t)}for(na(t);;)try{gw();break}catch(t){fw(e,t)}if(ep(),cb=n,mw(r),null!==fb)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return ra(),db=null,pb=ma,vb}function gw(){for(;null!==fb;)ww(fb)}function bw(){for(;null!==fb&&!No();)ww(fb)}function ww(e){var t,n=e.alternate;kt(e),(e.mode&la)!==aa?(tv(e),t=Iw(n,e,mb),rv(e,!0)):t=Iw(n,e,mb),xt(),e.memoizedProps=e.pendingProps,null===t?xw(e):fb=t,Qg.current=null}function xw(e){var t=e;do{var n=t.alternate,r=t.return;if((t.flags&no)===Ar){kt(t);var o=void 0;if((t.mode&la)===aa?o=zy(n,t,mb):(tv(t),o=zy(n,t,mb),rv(t,!1)),xt(),null!==o)return void(fb=o)}else{var a=$y(0,t);if(null!==a)return a.flags&=to,void(fb=a);if((t.mode&la)!==aa){rv(t,!1);for(var i=t.actualDuration,l=t.child;null!==l;)i+=l.actualDuration,l=l.sibling;t.actualDuration=i}if(null===r)return vb=ub,void(fb=null);r.flags|=no,r.subtreeFlags=Ar,r.deletions=null}var s=t.sibling;if(null!==s)return void(fb=s);fb=t=r}while(null!==t);vb===rb&&(vb=sb)}function kw(e,t,n){var r=ji(),o=Xg.transition;try{Xg.transition=null,Li(Ri),function(e,t,n,r){do{Sw()}while(null!==Ib);if(Sf.flushLegacyContextWarning(),Sf.flushPendingUnsafeLifecycleWarnings(),(cb&(tb|nb))!==Zg)throw new Error("Should not already be working.");var o=e.finishedWork,i=e.finishedLanes;if(function(e){null!==Uo&&"function"==typeof Uo.markCommitStarted&&Uo.markCommitStarted(e)}(i),null===o)return Ko(),null;if(i===ma&&a("root.finishedLanes should not be empty during a commit. This is a bug in React."),e.finishedWork=null,e.finishedLanes=ma,o===e.current)throw new Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");e.callbackNode=null,e.callbackPriority=ha;var l=vi(o.lanes,o.childLanes);(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=ma,e.pingedLanes=ma,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t;for(var r=e.entanglements,o=e.eventTimes,a=e.expirationTimes,i=n;i>0;){var l=fi(i),s=1<<l;r[l]=ma,o[l]=Ja,a[l]=Ja,i&=~s}})(e,l),e===db&&(db=null,fb=null,pb=ma),(o.subtreeFlags&ho)===Ar&&(o.flags&ho)===Ar||Db||(Db=!0,zb=n,Vw(jo,(function(){return Sw(),null})));var s=(o.subtreeFlags&(fo|po|mo|ho))!==Ar,u=(o.flags&(fo|po|mo|ho))!==Ar;if(s||u){var c=Xg.transition;Xg.transition=null;var d=ji();Li(Ri);var f=cb;cb|=nb,Qg.current=null,eg(e,o),ev(),function(e,t,n){Hy=n,qy=e,kt(t),kg(t,e),kt(t),Hy=null,qy=null}(e,o,i),e.containerInfo,$s(fc),il(dc),dc=null,fc=null,e.current=o,function(e){null!==Uo&&"function"==typeof Uo.markLayoutEffectsStarted&&Uo.markLayoutEffectsStarted(e)}(i),Eg(o,e,i),null!==Uo&&"function"==typeof Uo.markLayoutEffectsStopped&&Uo.markLayoutEffectsStopped(),Ro(),cb=f,Li(d),Xg.transition=c}else e.current=o,ev();var p=Db;if(Db?(Db=!1,Ib=e,jb=i):(Wb=0,Hb=null),(l=e.pendingLanes)===ma&&(Pb=null),p||Pw(e.current,!1),function(e,t){if(Vo&&"function"==typeof Vo.onCommitFiberRoot)try{var n=(e.current.flags&qr)===qr;if(W){var r;switch(t){case Ri:r=Do;break;case Mi:r=Io;break;case Pi:r=jo;break;case Di:r=zo;break;default:r=jo}Vo.onCommitFiberRoot(Fo,e,r,n)}}catch(e){Bo||(Bo=!0,a("React instrumentation encountered an error: %s",e))}}(o.stateNode,r),Wo&&e.memoizedUpdaters.clear(),Hg.forEach((function(e){return e()})),ew(e,Mo()),null!==t)for(var m=e.onRecoverableError,h=0;h<t.length;h++){var v=t[h],y=v.stack,g=v.digest;m(v.value,{componentStack:y,digest:g})}if(Rb){Rb=!1;var b=Mb;throw Mb=null,b}mi(jb,va)&&e.tag!==Sd&&Sw(),mi(l=e.pendingLanes,va)?(Xh=!0,e===Fb?Ab++:(Ab=0,Fb=e)):Ab=0,Rd(),Ko()}(e,t,n,r)}finally{Xg.transition=o,Li(r)}return null}function Sw(){if(null!==Ib){var e=$i(jb),t=(o=Pi)>(i=e)?o:i,n=Xg.transition,r=ji();try{return Xg.transition=null,Li(t),function(){if(null===Ib)return!1;var e=zb;zb=null;var t=Ib,n=jb;if(Ib=null,jb=ma,(cb&(tb|nb))!==Zg)throw new Error("Cannot flush passive effects while already rendering.");Vb=!0,Ub=!1,function(e){null!==Uo&&"function"==typeof Uo.markPassiveEffectsStarted&&Uo.markPassiveEffectsStarted(e)}(n);var r=cb;cb|=nb,Ig(t.current),Mg(t,t.current,n,e);var o=Lb;Lb=[];for(var i=0;i<o.length;i++)ag(0,o[i]);null!==Uo&&"function"==typeof Uo.markPassiveEffectsStopped&&Uo.markPassiveEffectsStopped(),Pw(t.current,!0),cb=r,Rd(),Ub?t===Hb?Wb++:(Wb=0,Hb=t):Wb=0,Vb=!1,Ub=!1,function(e){if(Vo&&"function"==typeof Vo.onPostCommitFiberRoot)try{Vo.onPostCommitFiberRoot(Fo,e)}catch(e){Bo||(Bo=!0,a("React instrumentation encountered an error: %s",e))}}(t);var l=t.current.stateNode;return l.effectDuration=0,l.passiveEffectDuration=0,!0}()}finally{Li(r),Xg.transition=n}}var o,i;return!1}function Ew(e){return null!==Pb&&Pb.has(e)}var Cw=function(e){Rb||(Rb=!0,Mb=e)};function Tw(e,t,n){var r=Cp(e,Iv(e,Rv(n,t),va),va),o=Qb();null!==r&&(wi(r,va,o),ew(r,o))}function Ow(e,t,n){if(function(e){Lr(null,(function(){throw e})),zr()}(n),Ww(!1),e.tag!==c){var r=null;for(r=t;null!==r;){if(r.tag===c)return void Tw(r,e,n);if(r.tag===s){var o=r.type,i=r.stateNode;if("function"==typeof o.getDerivedStateFromError||"function"==typeof i.componentDidCatch&&!Ew(i)){var l=Cp(r,jv(r,Rv(n,e),va),va),u=Qb();return void(null!==l&&(wi(l,va,u),ew(l,u)))}}r=r.return}a("Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Likely causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.\n\nError message:\n\n%s",n)}else Tw(e,e,n)}function _w(e,t,n){var r=e.pingCache;null!==r&&r.delete(t);var o=Qb();xi(e,n),function(e){e.tag!==Sd&&Yg()&&null===Jg.current&&a("A suspended resource finished loading inside a test, but the event was not wrapped in act(...).\n\nWhen testing, code that resolves suspended data should be wrapped into act(...):\n\nact(() => {\n /* finish loading suspended data */\n});\n/* assert on the output */\n\nThis ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act")}(e),db===e&&hi(pb,n)&&(vb===lb||vb===ib&&ii(pb)&&Mo()-Sb<Eb?dw(e,ma):wb=vi(wb,n)),ew(e,o)}function Nw(e,t){t===ha&&(t=Jb(e));var n=Qb(),r=fp(e,t);null!==r&&(wi(r,t,n),ew(r,n))}function Rw(e){var t=e.memoizedState,n=ha;null!==t&&(n=t.retryLane),Nw(e,n)}function Mw(e,t){var n,r=ha;switch(e.tag){case x:n=e.stateNode;var o=e.memoizedState;null!==o&&(r=o.retryLane);break;case _:n=e.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}null!==n&&n.delete(t),Nw(e,r)}function Pw(e,t){kt(e),Dw(e,uo,Ug),t&&Dw(e,co,Bg),Dw(e,uo,Fg),t&&Dw(e,co,Vg),xt()}function Dw(e,t,n){for(var r=e,o=null;null!==r;){var a=r.subtreeFlags&t;r!==o&&null!==r.child&&a!==Ar?r=r.child:((r.flags&t)!==Ar&&n(r),r=null!==r.sibling?r.sibling:o=r.return)}}var Iw,jw=null;function Lw(e){if((cb&tb)===Zg&&e.mode&ia){var t=e.tag;if(t===u||t===c||t===s||t===l||t===b||t===k||t===S){var n=ht(e)||"ReactComponent";if(null!==jw){if(jw.has(n))return;jw.add(n)}else jw=new Set([n]);var r=yt;try{kt(e),a("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.")}finally{r?kt(e):xt()}}}}Iw=function(e,t,n){var r=yx(null,t);try{return My(e,t,n)}catch(a){if(Qd||null!==a&&"object"==typeof a&&"function"==typeof a.then)throw a;if(ep(),jm(),Ay(0,t),yx(t,r),t.mode&la&&tv(t),Lr(null,My,null,e,t,n),Mr){var o=zr();"object"==typeof o&&null!==o&&o._suppressLogging&&"object"==typeof a&&null!==a&&!a._suppressLogging&&(a._suppressLogging=!0)}throw a}};var zw,$w=!1;function Aw(e,t){Wo&&e.memoizedUpdaters.forEach((function(n){Si(e,n,t)}))}zw=new Set;var Fw={};function Vw(e,t){var n=Jg.current;return null!==n?(n.push(t),Fw):Oo(e,t)}function Uw(e){if(e!==Fw)return _o(e)}function Bw(){return null!==Jg.current}function Ww(e){Kb=e}var Hw=null,qw=null,Yw=function(e){Hw=e};function Kw(e){if(null===Hw)return e;var t=Hw(e);return void 0===t?e:t.current}function Gw(e){return Kw(e)}function Qw(e){if(null===Hw)return e;var t=Hw(e);if(void 0===t){if(null!=e&&"function"==typeof e.render){var n=Kw(e.render);if(e.render!==n){var r={$$typeof:Le,render:n};return void 0!==e.displayName&&(r.displayName=e.displayName),r}}return e}return t.current}function Xw(e,t){if(null===Hw)return!1;var n=e.elementType,r=t.type,o=!1,a="object"==typeof r&&null!==r?r.$$typeof:null;switch(e.tag){case s:"function"==typeof r&&(o=!0);break;case l:("function"==typeof r||a===Fe)&&(o=!0);break;case b:(a===Le||a===Fe)&&(o=!0);break;case k:case S:(a===Ae||a===Fe)&&(o=!0);break;default:return!1}if(o){var i=Hw(n);if(void 0!==i&&i===Hw(r))return!0}return!1}function Jw(e){null!==Hw&&"function"==typeof WeakSet&&(null===qw&&(qw=new WeakSet),qw.add(e))}var Zw=function(e,t){if(null!==Hw){var n=t.staleFamilies,r=t.updatedFamilies;Sw(),lw((function(){tx(e.current,r,n)}))}},ex=function(e,t){e.context===ld&&(Sw(),lw((function(){Ox(t,e,null,null)})))};function tx(e,t,n){var r=e.alternate,o=e.child,a=e.sibling,i=e.tag,u=e.type,c=null;switch(i){case l:case S:case s:c=u;break;case b:c=u.render}if(null===Hw)throw new Error("Expected resolveFamily to be set during hot reload.");var d=!1,f=!1;if(null!==c){var p=Hw(c);void 0!==p&&(n.has(p)?f=!0:t.has(p)&&(i===s?f=!0:d=!0))}if(null!==qw&&(qw.has(e)||null!==r&&qw.has(r))&&(f=!0),f&&(e._debugNeedsRemount=!0),f||d){var m=fp(e,va);null!==m&&Zb(m,e,va,Ja)}null===o||f||tx(o,t,n),null!==a&&tx(a,t,n)}var nx,rx=function(e,t){var n=new Set,r=new Set(t.map((function(e){return e.current})));return ox(e.current,r,n),n};function ox(e,t,n){var r=e.child,o=e.sibling,a=e.tag,i=e.type,u=null;switch(a){case l:case S:case s:u=i;break;case b:u=i.render}var p=!1;null!==u&&t.has(u)&&(p=!0),p?function(e,t){var n=function(e,t){for(var n=e,r=!1;;){if(n.tag===f)r=!0,t.add(n.stateNode);else if(null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)return r;for(;null===n.sibling;){if(null===n.return||n.return===e)return r;n=n.return}n.sibling.return=n.return,n=n.sibling}return!1}(e,t);if(!n)for(var r=e;;){switch(r.tag){case f:return void t.add(r.stateNode);case d:case c:return void t.add(r.stateNode.containerInfo)}if(null===r.return)throw new Error("Expected to reach root first.");r=r.return}}(e,n):null!==r&&ox(r,t,n),null!==o&&ox(o,t,n)}nx=!1;try{var ax=Object.preventExtensions({});new Map([[ax,null]]),new Set([ax])}catch(e){nx=!0}function ix(e,t,n,r){this.tag=e,this.key=n,this.elementType=null,this.type=null,this.stateNode=null,this.return=null,this.child=null,this.sibling=null,this.index=0,this.ref=null,this.pendingProps=t,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=r,this.flags=Ar,this.subtreeFlags=Ar,this.deletions=null,this.lanes=ma,this.childLanes=ma,this.alternate=null,this.actualDuration=Number.NaN,this.actualStartTime=Number.NaN,this.selfBaseDuration=Number.NaN,this.treeBaseDuration=Number.NaN,this.actualDuration=0,this.actualStartTime=-1,this.selfBaseDuration=0,this.treeBaseDuration=0,this._debugSource=null,this._debugOwner=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,nx||"function"!=typeof Object.preventExtensions||Object.preventExtensions(this)}var lx=function(e,t,n,r){return new ix(e,t,n,r)};function sx(e){var t=e.prototype;return!(!t||!t.isReactComponent)}function ux(e,t){var n=e.alternate;null===n?((n=lx(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n._debugSource=e._debugSource,n._debugOwner=e._debugOwner,n._debugHookTypes=e._debugHookTypes,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=Ar,n.subtreeFlags=Ar,n.deletions=null,n.actualDuration=0,n.actualStartTime=-1),n.flags=e.flags&vo,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue;var r=e.dependencies;switch(n.dependencies=null===r?null:{lanes:r.lanes,firstContext:r.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.selfBaseDuration=e.selfBaseDuration,n.treeBaseDuration=e.treeBaseDuration,n._debugNeedsRemount=e._debugNeedsRemount,n.tag){case u:case l:case S:n.type=Kw(e.type);break;case s:n.type=Gw(e.type);break;case b:n.type=Qw(e.type)}return n}function cx(e,t){e.flags&=vo|Vr;var n=e.alternate;if(null===n)e.childLanes=ma,e.lanes=t,e.child=null,e.subtreeFlags=Ar,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0;else{e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=Ar,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type;var r=n.dependencies;e.dependencies=null===r?null:{lanes:r.lanes,firstContext:r.firstContext},e.selfBaseDuration=n.selfBaseDuration,e.treeBaseDuration=n.treeBaseDuration}return e}function dx(e,t,n,r,o,i){var l=u,c=e;if("function"==typeof e)sx(e)?(l=s,c=Gw(c)):c=Kw(c);else if("string"==typeof e)l=f;else e:switch(e){case Me:return px(n.children,o,i,t);case Pe:l=v,((o|=sa)&ia)!==aa&&(o|=ua);break;case De:return function(e,t,n,r){"string"!=typeof e.id&&a('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id);var o=lx(w,e,r,t|la);return o.elementType=De,o.lanes=n,o.stateNode={effectDuration:0,passiveEffectDuration:0},o}(n,o,i,t);case ze:return function(e,t,n,r){var o=lx(x,e,r,t);return o.elementType=ze,o.lanes=n,o}(n,o,i,t);case $e:return function(e,t,n,r){var o=lx(_,e,r,t);return o.elementType=$e,o.lanes=n,o}(n,o,i,t);case Ve:return mx(n,o,i,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case Ie:l=g;break e;case je:l=y;break e;case Le:l=b,c=Qw(c);break e;case Ae:l=k;break e;case Fe:l=E,c=null;break e}var d="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(d+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var p=r?ht(r):null;throw p&&(d+="\n\nCheck the render method of `"+p+"`."),new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(null==e?e:typeof e)+"."+d)}var m=lx(l,n,t,o);return m.elementType=e,m.type=c,m.lanes=i,m._debugOwner=r,m}function fx(e,t,n){var r;r=e._owner;var o=dx(e.type,e.key,e.props,r,t,n);return o._debugSource=e._source,o._debugOwner=e._owner,o}function px(e,t,n,r){var o=lx(m,e,r,t);return o.lanes=n,o}function mx(e,t,n,r){var o=lx(M,e,r,t);return o.elementType=Ve,o.lanes=n,o.stateNode={isHidden:!1},o}function hx(e,t,n){var r=lx(p,e,null,t);return r.lanes=n,r}function vx(e,t,n){var r=null!==e.children?e.children:[],o=lx(d,r,e.key,t);return o.lanes=n,o.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},o}function yx(e,t){return null===e&&(e=lx(u,null,null,aa)),e.tag=t.tag,e.key=t.key,e.elementType=t.elementType,e.type=t.type,e.stateNode=t.stateNode,e.return=t.return,e.child=t.child,e.sibling=t.sibling,e.index=t.index,e.ref=t.ref,e.pendingProps=t.pendingProps,e.memoizedProps=t.memoizedProps,e.updateQueue=t.updateQueue,e.memoizedState=t.memoizedState,e.dependencies=t.dependencies,e.mode=t.mode,e.flags=t.flags,e.subtreeFlags=t.subtreeFlags,e.deletions=t.deletions,e.lanes=t.lanes,e.childLanes=t.childLanes,e.alternate=t.alternate,e.actualDuration=t.actualDuration,e.actualStartTime=t.actualStartTime,e.selfBaseDuration=t.selfBaseDuration,e.treeBaseDuration=t.treeBaseDuration,e._debugSource=t._debugSource,e._debugOwner=t._debugOwner,e._debugNeedsRemount=t._debugNeedsRemount,e._debugHookTypes=t._debugHookTypes,e}function gx(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=bc,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=ha,this.eventTimes=bi(ma),this.expirationTimes=bi(Ja),this.pendingLanes=ma,this.suspendedLanes=ma,this.pingedLanes=ma,this.expiredLanes=ma,this.mutableReadLanes=ma,this.finishedLanes=ma,this.entangledLanes=ma,this.entanglements=bi(ma),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0,this.memoizedUpdaters=new Set;for(var a=this.pendingUpdatersLaneMap=[],i=0;i<pa;i++)a.push(new Set);switch(t){case Ed:this._debugRootType=n?"hydrateRoot()":"createRoot()";break;case Sd:this._debugRootType=n?"hydrate()":"render()"}}function bx(e,t,n,r,o,a,i,l,s,u){var d=new gx(e,t,n,l,s),f=function(e,t){var n;return e===Ed?(n=ia,!0===t&&(n|=sa,n|=ua)):n=aa,Wo&&(n|=la),lx(c,null,null,n)}(t,a);d.current=f,f.stateNode=d;var p={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null};return f.memoizedState=p,kp(f),d}var wx,xx,kx="18.3.1";function Sx(e,t,n){var r,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return ee(r=o)&&(a("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Z(r)),te(r)),{$$typeof:Re,key:null==o?null:""+o,children:e,containerInfo:t,implementation:n}}function Ex(e){if(!e)return ld;var t=$r(e),n=kd(t);if(t.tag===s){var r=t.type;if(hd(r))return bd(t,r,n)}return n}function Cx(e,t,n,r,o,a,i,l){return bx(e,t,!1,null,0,r,0,a,i)}function Tx(e,t,n,r,o,a,i,l,s,u){var c=bx(n,r,!0,e,0,a,0,l,s);c.context=Ex(null);var d=c.current,f=Qb(),p=Xb(d),m=Ep(f,p);return m.callback=null!=t?t:null,Cp(d,m,p),function(e,t,n){e.current.lanes=t,wi(e,t,n),ew(e,n)}(c,p,f),c}function Ox(e,t,n,r){!function(e,t){if(Vo&&"function"==typeof Vo.onScheduleFiberRoot)try{Vo.onScheduleFiberRoot(Fo,e,t)}catch(e){Bo||(Bo=!0,a("React instrumentation encountered an error: %s",e))}}(t,e);var o=t.current,i=Qb(),l=Xb(o);!function(e){null!==Uo&&"function"==typeof Uo.markRenderScheduled&&Uo.markRenderScheduled(e)}(l);var s=Ex(n);null===t.context?t.context=s:t.pendingContext=s,gt&&null!==yt&&!wx&&(wx=!0,a("Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.\n\nCheck the render method of %s.",ht(yt)||"Unknown"));var u=Ep(i,l);u.payload={element:e},null!==(r=void 0===r?null:r)&&("function"!=typeof r&&a("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",r),u.callback=r);var c=Cp(o,u,l);return null!==c&&(Zb(c,o,l,i),Tp(c,o,l)),l}function _x(e){var t=e.current;return t.child?(t.child.tag,t.child.stateNode):null}function Nx(e,t){var n,r,o=e.memoizedState;null!==o&&null!==o.dehydrated&&(o.retryLane=(r=t,(n=o.retryLane)!==ha&&n<r?n:r))}function Rx(e,t){Nx(e,t);var n=e.alternate;n&&Nx(n,t)}function Mx(e){var t=Co(e);return null===t?null:t.stateNode}wx=!1,xx={};var Px,Dx,Ix,jx,Lx,zx,$x,Ax,Fx,Vx=function(e){return null},Ux=function(e){return!1},Bx=function(e,t,n){var r=t[n],o=Xt(e)?e.slice():Je({},e);return n+1===t.length?(Xt(o)?o.splice(r,1):delete o[r],o):(o[r]=Bx(e[r],t,n+1),o)},Wx=function(e,t){return Bx(e,t,0)},Hx=function(e,t,n,r){var o=t[r],a=Xt(e)?e.slice():Je({},e);return r+1===t.length?(a[n[r]]=a[o],Xt(a)?a.splice(o,1):delete a[o]):a[o]=Hx(e[o],t,n,r+1),a},qx=function(e,t,n){if(t.length===n.length){for(var r=0;r<n.length-1;r++)if(t[r]!==n[r])return void o("copyWithRename() expects paths to be the same except for the deepest key");return Hx(e,t,n,0)}o("copyWithRename() expects paths of the same length")},Yx=function(e,t,n,r){if(n>=t.length)return r;var o=t[n],a=Xt(e)?e.slice():Je({},e);return a[o]=Yx(e[o],t,n+1,r),a},Kx=function(e,t,n){return Yx(e,t,0,n)},Gx=function(e,t){for(var n=e.memoizedState;null!==n&&t>0;)n=n.next,t--;return n};function Qx(e){var t=So(e);return null===t?null:t.stateNode}function Xx(e){return null}function Jx(){return yt}Px=function(e,t,n,r){var o=Gx(e,t);if(null!==o){var a=Kx(o.memoizedState,n,r);o.memoizedState=a,o.baseState=a,e.memoizedProps=Je({},e.memoizedProps);var i=fp(e,va);null!==i&&Zb(i,e,va,Ja)}},Dx=function(e,t,n){var r=Gx(e,t);if(null!==r){var o=Wx(r.memoizedState,n);r.memoizedState=o,r.baseState=o,e.memoizedProps=Je({},e.memoizedProps);var a=fp(e,va);null!==a&&Zb(a,e,va,Ja)}},Ix=function(e,t,n,r){var o=Gx(e,t);if(null!==o){var a=qx(o.memoizedState,n,r);o.memoizedState=a,o.baseState=a,e.memoizedProps=Je({},e.memoizedProps);var i=fp(e,va);null!==i&&Zb(i,e,va,Ja)}},jx=function(e,t,n){e.pendingProps=Kx(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var r=fp(e,va);null!==r&&Zb(r,e,va,Ja)},Lx=function(e,t){e.pendingProps=Wx(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var n=fp(e,va);null!==n&&Zb(n,e,va,Ja)},zx=function(e,t,n){e.pendingProps=qx(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var r=fp(e,va);null!==r&&Zb(r,e,va,Ja)},$x=function(e){var t=fp(e,va);null!==t&&Zb(t,e,va,Ja)},Ax=function(e){Vx=e},Fx=function(e){Ux=e};var Zx="function"==typeof reportError?reportError:function(e){console.error(e)};function ek(e){this._internalRoot=e}function tk(e){this._internalRoot=e}function nk(e){return!(!e||e.nodeType!==yn&&e.nodeType!==wn&&e.nodeType!==xn&&F)}function rk(e){return!(!e||e.nodeType!==yn&&e.nodeType!==wn&&e.nodeType!==xn&&(e.nodeType!==bn||" react-mount-point-unstable "!==e.nodeValue))}function ok(e){e.nodeType===yn&&e.tagName&&"BODY"===e.tagName.toUpperCase()&&a("createRoot(): Creating roots directly with document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try using a container element created for your app."),Wc(e)&&(e._reactRootContainer?a("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):a("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}tk.prototype.render=ek.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw new Error("Cannot update an unmounted root.");"function"==typeof arguments[1]?a("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):nk(arguments[1])?a("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):void 0!==arguments[1]&&a("You passed a second argument to root.render(...) but it only accepts one argument.");var n=t.containerInfo;if(n.nodeType!==bn){var r=Mx(t.current);r&&r.parentNode!==n&&a("render(...): It looks like the React-rendered content of the root container was removed without using React. This is not supported and will cause errors. Instead, call root.unmount() to empty a root's container.")}Ox(e,t,null,null)},tk.prototype.unmount=ek.prototype.unmount=function(){"function"==typeof arguments[0]&&a("unmount(...): does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;sw()&&a("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),lw((function(){Ox(null,e,null,null)})),Bc(t)}},tk.prototype.unstable_scheduleHydration=function(e){e&&function(e){for(var t=_i(),n={blockedOn:null,target:e,priority:t},r=0;r<Ki.length&&zi(t,Ki[r].priority);r++);Ki.splice(r,0,n),0===r&&Ji(n)}(e)};var ak,ik=n.ReactCurrentOwner;function lk(e){return e?e.nodeType===wn?e.documentElement:e.firstChild:null}function sk(){}function uk(e,t,n,r,o){ak(n),function(e){null!==e&&"function"!=typeof e&&a("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.","render",e)}(void 0===o?null:o);var i,l=n._reactRootContainer;if(l){if("function"==typeof o){var s=o;o=function(){var e=_x(i);s.call(e)}}Ox(t,i=l,e,o)}else i=function(e,t,n,r,o){if(o){if("function"==typeof r){var a=r;r=function(){var e=_x(i);a.call(e)}}var i=Tx(t,r,e,Sd,0,!1,0,"",sk);return e._reactRootContainer=i,Uc(i.current,e),mu(e.nodeType===bn?e.parentNode:e),lw(),i}for(var l;l=e.lastChild;)e.removeChild(l);if("function"==typeof r){var s=r;r=function(){var e=_x(u);s.call(e)}}var u=Cx(e,Sd,0,!1,0,"",sk);return e._reactRootContainer=u,Uc(u.current,e),mu(e.nodeType===bn?e.parentNode:e),lw((function(){Ox(t,u,n,r)})),u}(n,t,e,o,r);return _x(i)}ak=function(e){if(e._reactRootContainer&&e.nodeType!==bn){var t=Mx(e._reactRootContainer.current);t&&t.parentNode!==e&&a("render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.")}var n=!!e._reactRootContainer,r=lk(e);!(!r||!qc(r))&&!n&&a("render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."),e.nodeType===yn&&e.tagName&&"BODY"===e.tagName.toUpperCase()&&a("render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.")};var ck,dk,fk=!1,pk=!1;ck=function(e){switch(e.tag){case c:var t=e.stateNode;if(Ai(t)){var n=function(e){return ti(e.pendingLanes)}(t);!function(e,t){t!==ma&&(ki(e,vi(t,va)),ew(e,Mo()),(cb&(tb|nb))===Zg&&(_b(),Rd()))}(t,n)}break;case x:lw((function(){var t=fp(e,va);if(null!==t){var n=Qb();Zb(t,e,va,n)}})),Rx(e,va)}},Ci=ck,function(e){Ti=e}((function(e){if(e.tag===x){var t=qa,n=fp(e,t);null!==n&&Zb(n,e,t,Qb()),Rx(e,t)}})),function(e){Oi=e}((function(e){if(e.tag===x){var t=Xb(e),n=fp(e,t);null!==n&&Zb(n,e,t,Qb()),Rx(e,t)}})),function(e){_i=e}(ji),function(e){Ni=e}((function(e,t){var n=Ii;try{return Ii=e,t()}finally{Ii=n}})),"function"==typeof Map&&null!=Map.prototype&&"function"==typeof Map.prototype.forEach&&"function"==typeof Set&&null!=Set.prototype&&"function"==typeof Set.prototype.clear&&"function"==typeof Set.prototype.forEach||a("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),dk=function(e,t,n){switch(t){case"input":return void Bt(e,n);case"textarea":return void function(e,t){ln(e,t)}(e,n);case"select":return void function(e,t){var n=e,r=t.value;null!=r&&en(n,!!t.multiple,r,!1)}(e,n)}},pr=dk,br=iw,wr=lw;var mk={usingClientEntryPoint:!1,Events:[qc,Yc,Kc,yr,gr,iw]},hk=function(e){var t=e.findFiberByHostInstance,r=n.ReactCurrentDispatcher;return function(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return a("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://reactjs.org/link/react-devtools"),!0;try{B&&(e=Je({},e,{getLaneLabelMap:Yo,injectProfilingHooks:qo})),Fo=t.inject(e),Vo=t}catch(e){a("React instrumentation encountered an error: %s.",e)}return!!t.checkDCE}({bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:Px,overrideHookStateDeletePath:Dx,overrideHookStateRenamePath:Ix,overrideProps:jx,overridePropsDeletePath:Lx,overridePropsRenamePath:zx,setErrorHandler:Ax,setSuspenseHandler:Fx,scheduleUpdate:$x,currentDispatcherRef:r,findHostInstanceByFiber:Qx,findFiberByHostInstance:t||Xx,findHostInstancesForRefresh:rx,scheduleRefresh:Zw,scheduleRoot:ex,setRefreshHandler:Yw,getCurrentFiber:Jx,reconcilerVersion:kx})}({findFiberByHostInstance:Hc,bundleType:1,version:kx,rendererPackageName:"react-dom"});if(!hk&&X&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&-1===navigator.userAgent.indexOf("Edge")||navigator.userAgent.indexOf("Firefox")>-1)){var vk=window.location.protocol;/^(https?|file):$/.test(vk)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+("file:"===vk?"\nYou might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq":""),"font-weight:bold")}N.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=mk,N.createPortal=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!nk(t))throw new Error("Target container is not a DOM element.");return Sx(e,t,null,n)},N.createRoot=function(e,t){return mk.usingClientEntryPoint||a('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),function(e,t){if(!nk(e))throw new Error("createRoot(...): Target container is not a DOM element.");ok(e);var n=!1,r="",i=Zx;null!=t&&(t.hydrate?o("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):"object"==typeof t&&null!==t&&t.$$typeof===Ne&&a("You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:\n\n let root = createRoot(domContainer);\n root.render(<App />);"),!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(i=t.onRecoverableError),void 0!==t.transitionCallbacks&&t.transitionCallbacks);var l=Cx(e,Ed,0,n,0,r,i);return Uc(l.current,e),mu(e.nodeType===bn?e.parentNode:e),new ek(l)}(e,t)},N.findDOMNode=function(e){fk||(fk=!0,a("findDOMNode is deprecated and will be removed in the next major release. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node"));var t=ik.current;return null!==t&&null!==t.stateNode&&(t.stateNode._warnedAboutRefsInRender||a("%s is accessing findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",pt(t.type)||"A component"),t.stateNode._warnedAboutRefsInRender=!0),null==e?null:e.nodeType===yn?e:function(e,t){var n=$r(e);if(void 0===n){if("function"==typeof e.render)throw new Error("Unable to find node on an unmounted component.");var r=Object.keys(e).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+r)}var o=So(n);if(null===o)return null;if(o.mode&sa){var i=ht(n)||"Component";if(!xx[i]){xx[i]=!0;var l=yt;try{kt(o),n.mode&sa?a("%s is deprecated in StrictMode. %s was passed an instance of %s which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,i):a("%s is deprecated in StrictMode. %s was passed an instance of %s which renders StrictMode children. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,i)}finally{l?kt(l):xt()}}}return o.stateNode}(e,"findDOMNode")},N.flushSync=function(e){return sw()&&a("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."),lw(e)},N.hydrate=function(e,t,n){if(a("ReactDOM.hydrate is no longer supported in React 18. Use hydrateRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!rk(t))throw new Error("Target container is not a DOM element.");return Wc(t)&&void 0===t._reactRootContainer&&a("You are calling ReactDOM.hydrate() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call hydrateRoot(container, element)?"),uk(null,e,t,!0,n)},N.hydrateRoot=function(e,t,n){return mk.usingClientEntryPoint||a('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),function(e,t,n){if(!nk(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");ok(e),void 0===t&&a("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var r=null!=n&&n.hydratedSources||null,o=!1,i="",l=Zx;null!=n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(i=n.identifierPrefix),void 0!==n.onRecoverableError&&(l=n.onRecoverableError));var s=Tx(t,null,e,Ed,0,o,0,i,l);if(Uc(s.current,e),mu(e),r)for(var u=0;u<r.length;u++)um(s,r[u]);return new tk(s)}(e,t,n)},N.render=function(e,t,n){if(a("ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!rk(t))throw new Error("Target container is not a DOM element.");return Wc(t)&&void 0===t._reactRootContainer&&a("You are calling ReactDOM.render() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.render(element)?"),uk(null,e,t,!1,n)},N.unmountComponentAtNode=function(e){if(pk||(pk=!0,a("unmountComponentAtNode is deprecated and will be removed in the next major release. Switch to the createRoot API. Learn more: https://reactjs.org/link/switch-to-createroot")),!rk(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");if(Wc(e)&&void 0===e._reactRootContainer&&a("You are calling ReactDOM.unmountComponentAtNode() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.unmount()?"),e._reactRootContainer){var t=lk(e);return t&&!qc(t)&&a("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React."),lw((function(){uk(null,null,e,!1,(function(){e._reactRootContainer=null,Bc(e)}))})),!0}var n=lk(e),r=!(!n||!qc(n)),o=e.nodeType===yn&&rk(e.parentNode)&&!!e.parentNode._reactRootContainer;return r&&a("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",o?"You may have accidentally passed in a React root node instead of its container.":"Instead, have the parent component update its state and rerender in order to remove this component."),!1},N.unstable_batchedUpdates=iw,N.unstable_renderSubtreeIntoContainer=function(e,t,n,r){return function(e,t,n,r){if(a("ReactDOM.unstable_renderSubtreeIntoContainer() is no longer supported in React 18. Consider using a portal instead. Until you switch to the createRoot API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!rk(n))throw new Error("Target container is not a DOM element.");if(null==e||void 0===e._reactInternals)throw new Error("parentComponent must be a valid React Component");return uk(e,t,n,!1,r)}(e,t,n,r)},N.version=kx,"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),N);var R=g.exports,M=l(R);function P(){return(new Date).toISOString()+" ::"}function D(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];"debug"===window.xaLogLevel&&console.log.apply(console,a([P()],e,!1))}function I(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];console.error.apply(console,a([P()],e,!1))}function j(e){return!!e&&"FORM"===e.type}function L(e,t){var r=t.type;switch(r){case"set-query":return n(n({},e),{query:t.query||""});case"set-response":return n(n({},e),{responseQuery:t.query,responseIntentId:t.intentId});case"set-context":return n(n({},e),{context:t.context});case"new-search":return n(n({},e),{query:""});case"set-modal-state":return n(n({},e),{active:t.active,minimized:t.minimized,sendRequest:t.sendRequest});case"toggle-modal-state":var o=e.active,a=e.minimized;return n(n({},e),o||a?{active:!1,minimized:!1,sendRequest:!1}:{active:!0,minimized:!1,sendRequest:!0});default:!function(e){throw new Error("Unknown kind "+e)}(r)}}var z={query:"",active:!1,minimized:!1,sendRequest:!0},$=[z,function(){}],A=v.createContext($),F=function(e){var t=h.useReducer(L,e.initialState||z);return v.createElement(A.Provider,{value:t},e.children)};function V(){return h.useContext(A)}function U(){return V()[0]}var B="ModalDialog-module_xapp_search_modal__WpGiJ",W="ModalDialog-module_xapp_search_modal__backdrop__rryOU",H="ModalDialog-module_xapp_search_modal__body__qK17C",q="ModalDialog-module_xapp_search_opened__jgDSX",Y=function(e){return h.useEffect((function(){return document.body.classList.add(q),function(){document.body.classList.remove(q)}}),[]),v.createElement("div",{className:B},v.createElement("div",{className:W,onClick:e.onClose}),v.createElement("div",{className:H},e.children))},K=function(e){var t=e.icon;return v.createElement("div",{tabIndex:e.tabIndex?Number(e.tabIndex):0,className:"xapp-search-icon-button ".concat(e.className||""),onClick:e.onClick},v.createElement("div",{className:"xapp-search-icon-button__content"},v.createElement(t,null)))},G=function(e){return v.createElement("div",{className:"xappw-message-bubble"},e.children)};var Q=function(e){var t=e.format,n=e.text;return v.createElement("span",{"data-rich-text-type":"bold",className:"xapp-search-rich-text-bold-span"},n.substring(t.start,t.end))},X=function(e){var t=e.format,n=e.text,r=e.readOnly,o=e.onClick,a=t.text||n.substring(t.start,t.end),i=h.useState(a),l=i[0],s=i[1],u=h.useCallback((function(e){s(e.target.value)}),[]),c=h.useCallback((function(e){o&&(!1===o(t)&&(e.preventDefault(),e.stopPropagation()))}),[o,t]);return r?v.createElement("span",{className:"xapp-search-rich-text-input-span xapp-search-rich-text-input-span--readonly",onClick:c},a):v.createElement("input",{type:"text",value:l,className:"xapp-search-rich-text-input-span","data-rich-text-type":"inputText",onChange:u,onClick:c,readOnly:r})},J=function(e){var t=e.format,n=e.text;return v.createElement("span",{"data-rich-text-type":"normal",className:"xapp-search-rich-text-normal-span"},n.substring(t.start,t.end))},Z=function(e){var t=e.format,n=e.text,r=e.readOnly,o=e.onClick,a=t.type;switch(a){case"normal":return v.createElement(J,{text:n,format:t,readOnly:r});case"bold":return v.createElement(Q,{text:n,format:t,readOnly:r});case"inputText":return v.createElement(X,{text:n,format:t,readOnly:r,onClick:o});default:!function(e){throw new Error("Unknown kind "+e)}(a)}};function ee(e){var t=e.childNodes,n=[],r="";return t.forEach((function(e){if(e.nodeType===Node.ELEMENT_NODE){var t=e,o="INPUT"===t.tagName?t.value:t.innerText,a=t.dataset.richTextType;n.push({type:a,start:r.length,end:r.length+o.length}),r+=o}e.nodeType===Node.TEXT_NODE&&((o=e.nodeValue)&&(n.push({type:"normal",start:r.length,end:r.length+o.length}),r+=o))})),function(e){for(var t=e.text,n=[],r=0,o=e.formats;r<o.length;r++){var a=o[r],i=a.type;switch(i){case"normal":continue;case"inputText":n.push(a);break;case"bold":if(n.length>0){var l=n[n.length-1];l.type===i&&l.end===a.start&&(n.pop(),n.push({type:i,start:l.start,end:a.end}))}else n.push(a)}}return{text:t,formats:n}}({text:r,formats:n})}var te=function(e){var t=e.value,n=e.className,r=e.readOnly,o=e.onInput,a=e.onChange,i=e.onSpanClick,l=t.formats,s=t.text,u=h.useMemo((function(){return function(e,t){for(var n=[],r=0,o=0,a=e;o<a.length;o++){var i=a[o],l=i.start,s=i.end,u=i.type,c=i.text;r<l&&n.push({type:"normal",start:r,end:l}),n.push({type:u,start:l,end:s,text:c}),r=s}return r<t&&n.push({type:"normal",start:r,end:t}),n}(l,s.length)}),[l,s.length]),c=h.useCallback((function(e){var t=ee(e.currentTarget);o&&o(t)}),[o]),d=h.useCallback((function(e){var t=e.currentTarget,n=ee(t);!function(e){for(var t,n=[],r=e.childNodes,o=0;o<r.length;o++)(null==(l=r.item(o))?void 0:l.nodeType)===Node.TEXT_NODE&&n.push(l);for(var a=0,i=n;a<i.length;a++){var l=i[a];try{null===(t=l.parentElement)||void 0===t||t.removeChild(l)}catch(e){}}}(t),a&&a(n)}),[a]);return v.createElement("div",{id:e.id,className:"xapp-search-rich-text ".concat(n||""),contentEditable:!r,suppressContentEditableWarning:!0,onInput:c,onBlur:d,onKeyDown:e.onKeyDown},u.map((function(e,t){return v.createElement(Z,{key:t,format:e,text:s,readOnly:r,onClick:i})})))},ne=function(e){var t=e.id,n=e.value,r=e.type,o=e.autoFocus,a=e.spellCheck,i=e.tabIndex,l=e.onChange,s=e.onInput,u=e.onKeyDown,c=e.onSearch,d=n.formats.some((function(e){return"inputText"===e.type})),f=h.useCallback((function(e){l({text:e.target.value,formats:[]})}),[l]),p=h.useCallback((function(e){l(e)}),[l]),m=h.useCallback((function(e){s&&s({text:e.target.value,formats:[]})}),[s]),y=h.useCallback((function(e){s&&s(e)}),[s]),g=h.useCallback((function(e){u&&u(e)}),[u]),b=h.useRef(null),w=b.current;return h.useEffect((function(){if(w&&c){var e=function(e){var t=e.target;t&&c({text:t.value,formats:[]})};return w.addEventListener("search",e),function(){w.removeEventListener("search",e)}}}),[w,c]),v.createElement("div",{className:"xappw-rich-input ".concat(e.className)},d?v.createElement(te,{id:t,value:n,onChange:p,onInput:y,onKeyDown:g,className:"xappw-rich-input__input ".concat(e.className,"__input")}):v.createElement("input",{id:t,ref:b,type:r,value:n.text,autoComplete:"off",autoFocus:o,placeholder:e.placeholder,spellCheck:a,tabIndex:i?Number(i):0,className:"xappw-rich-input__input ".concat(e.className,"__input"),onFocus:e.onFocus,onChange:f,onInput:m,onKeyDown:g}))},re=function(e){return v.createElement("div",{className:"xappw-suggestions-group-heading"},e.label)};function oe(e){var t=Object.keys(e)[0],n=e[t];if(!n)throw new Error;return{type:t,start:n.start,end:n.end}}function ae(e){switch(e){case"FAQ":return"FAQs";case"INTENT":case"HISTORICAL":return"Suggestions";default:return e}}function ie(e,t){if(e){var n=function(e,t){return function(e,t){for(var n,r=0,o=t.length;r<o;r++)!n&&r in t||(n||(n=Array.prototype.slice.call(t,0,r)),n[r]=t[r]);return e.concat(n||Array.prototype.slice.call(t))}([],e).sort((function(e,n){return function(e,t,n){return n*(ue[t.type]-ue[e.type])}(e,n,t)}))}(e.suggestions,t);return n.reduce((function(e,t){var n,r,o={text:(n=t).suggestion,content:n.answer,formats:(r=n.format,r.map(oe)),type:n.type};if(e.length){var a=e[e.length-1];if(a.heading===ae(t.type))return a.items.push(o),e}return e.push({heading:ae(t.type),items:[o]}),e}),[])}}function le(e,t,n,r){return new(n||(n=Promise))((function(t,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function i(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var r;e.done?t(e.value):(r=e.value,r instanceof n?r:new n((function(e){e(r)}))).then(a,i)}l((r=r.apply(e,[])).next())}))}function se(e,t){var n,r,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function l(l){return function(s){return function(l){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,l[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&l[0]?r.return:l[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,l[1])).done)return o;switch(r=0,o&&(l=[2&l[0],o.value]),l[0]){case 0:case 1:o=l;break;case 4:return i.label++,{value:l[1],done:!1};case 5:i.label++,r=l[1],l=[0];continue;case 7:l=i.ops.pop(),i.trys.pop();continue;default:if(!(o=i.trys,(o=o.length>0&&o[o.length-1])||6!==l[0]&&2!==l[0])){i=0;continue}if(3===l[0]&&(!o||l[1]>o[0]&&l[1]<o[3])){i.label=l[1];break}if(6===l[0]&&i.label<o[1]){i.label=o[1],o=l;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(l);break}o[2]&&i.ops.pop(),i.trys.pop();continue}l=t.call(e,i)}catch(e){l=[6,e],r=0}finally{n=o=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([l,s])}}}"function"==typeof SuppressedError&&SuppressedError;var ue=["FAQ","INTENT","HISTORICAL"].reduce((function(e,t,n){return e[t]=n,e}),{});function ce(e,t){var n=new URL(e).searchParams;t.forEach((function(e,t){n.append(t,e)}));var r=new URL(e);return r.search=n.toString(),r}var de={};function fe(){}function pe(e){var t=e.url,n=e.context,r=e.query,o=h.useMemo((function(){if(t){var e=new URLSearchParams;return e.append("size","5"),e.append("queryText",r),(null==n?void 0:n.length)&&e.append("activeContexts",n.join(",")),ce(t,e)}}),[r,n,t]),a=function(e,t){void 0===t&&(t=de);var n=h.useState({state:"paused"}),r=n[0],o=n[1],a=t.pause;return h.useEffect((function(){if(a)return o({state:"paused"}),fe;var t=new AbortController,n=t.signal,r=!0;return function(){le(this,0,void 0,(function(){var t,a,i;return se(this,(function(l){switch(l.label){case 0:return l.trys.push([0,4,,5]),o({state:"fetching"}),[4,fetch(e,{signal:n})];case 1:return t=l.sent(),r?[4,t.json()]:[3,3];case 2:a=l.sent(),t.ok?o({state:"success",data:a}):o({state:"error",error:a}),l.label=3;case 3:return[3,5];case 4:if("AbortError"===(i=l.sent()).name)return o({state:"paused"}),[2];throw i;case 5:return[2]}}))}))}(),function(){r=!1,t.abort()}}),[e,a]),r}(o?"".concat(o.toString()):"",{pause:!r||!t});return a}function me(){var e=(new Date).getTime(),t="xxxxxxxx-xxxx-65xx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){var n=(e+16*Math.random())%16|0;return e=Math.floor(e/16),("x"===t?n:3&n|8).toString(16)}));return t}var he,ve="__xapp_form_user_id",ye=function(){function e(e){this.prefetchSemaphore=Promise.resolve(),this.config=e,this.responseCache={}}return e.getApi=function(t){return he||(he=new e(t),t.prefetchQuery&&he.prefetch(t.prefetchQuery),he)},e.prototype.launchRequest=function(e){return this.send({type:"LAUNCH_REQUEST",rawQuery:e,intentId:"LaunchRequest",platform:"stentor-platform",channel:"form-widget"})},e.prototype.intentRequest=function(e){var t=(null==e?void 0:e.intentId)?void 0:e.query,n=(null==e?void 0:e.intentId)?e.intentId:"NLU_RESULT_PLACEHOLDER";return this.send({type:"INTENT_REQUEST",rawQuery:t,intentId:n,platform:"stentor-platform",channel:"form-widget"})},e.prototype.channelActionRequest=function(e,t){if(this.session){if(this.session.hadFinal)return D("Had final submit. Not sending action request: ".concat(t)),Promise.resolve({});this.session.hadFinal=!!e.final}return this.send({type:"CHANNEL_ACTION_REQUEST",action:t,platform:"stentor-platform",channel:"form-widget",attributes:{data:e}})},e.prototype.resetSession=function(){this.session=void 0},e.prototype.getCachedResponse=function(e){if(e){var t=(new Date).getTime(),n=this.responseCache[e];if(n){if(t-n.ts<9e5)return D('Returning cached response for "'.concat(e,'"')),n.value;D('Deleting expired cached response for "'.concat(e,'"')),delete this.responseCache[e]}}},e.prototype.send=function(e){return r(this,void 0,void 0,(function(){var t,r,a,i,l,s,u,c,d,f,p,m,h,v,y,g,b,w,x,k;return o(this,(function(o){switch(o.label){case 0:return[4,this.prefetchSemaphore];case 1:return o.sent(),(t=this.getCachedResponse(e.rawQuery))?[2,Promise.resolve(t)]:(r=this.config,a=r.url,i=r.key,l=!this.session,this.session||((s=localStorage.getItem(ve))||(s=me(),localStorage.setItem(ve,s)),this.session={sessionId:"stentor-form-session-".concat(me()),userId:s,hadFinal:!1}),u={},(c=localStorage.getItem("xa_rwg_token"))&&(u.rwg_token=c),(d=localStorage.getItem("xa_merchant_id"))&&(u.merchant_id=d),(f=localStorage.getItem("xa_environment"))&&(u.environment=f),(p=localStorage.getItem("xa_enablePreferredTime"))&&(u.enablePreferredTime=p),(m=localStorage.getItem("xa_service"))&&(u.service=m),(h=localStorage.getItem("xa_origin"))&&(u.origin=h),v=this.session,y=v.sessionId,g=v.userId,b=n(n({},e),{sessionId:y,userId:g,isNewSession:l,attributes:n(n({},e.attributes),u)}),w=JSON.stringify(b),x={method:"POST",headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(i),"User-Agent":"Stentor Chat Server"},body:w,mode:"cors"},[4,fetch(a,x)]);case 2:return(k=o.sent()).ok?[3,5]:(I("Stentor call failed: ".concat(k.statusText)),[4,(S=1e3,new Promise((function(e){setTimeout(e,S)})))]);case 3:return o.sent(),[4,fetch(a,x)];case 4:if(!(k=o.sent()).ok)throw I("Stentor call failed again: ".concat(k.statusText)),new Error("Status ".concat(k.status,", Text: ").concat(k.statusText));o.label=5;case 5:return[2,k.json()]}var S}))}))},e.prototype.prefetch=function(e){return r(this,void 0,void 0,(function(){var t,a,i,l,s,u,c,d,f,p,m,h,v,y=this;return o(this,(function(g){return this.getCachedResponse(e)||(this.prefetchSemaphore=new Promise((function(e){t=e})),a=this.config,i=a.url,l=a.key,s=!this.session,this.session||((u=localStorage.getItem(ve))||(u=me(),localStorage.setItem(ve,u)),this.session={sessionId:"stentor-form-session-".concat(me()),userId:u,hadFinal:!1}),c=this.session,d=c.sessionId,f=c.userId,p=n(n({},{type:"INTENT_REQUEST",rawQuery:e,intentId:"NLU_RESULT_PLACEHOLDER",platform:"stentor-platform",channel:"form-widget"}),{sessionId:d,userId:f,isNewSession:s}),m=JSON.stringify(p),h={method:"POST",headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(l),"User-Agent":"Stentor Chat Server"},body:m,mode:"cors"},v=(new Date).getTime(),fetch(i,h).then((function(t){return r(y,void 0,void 0,(function(){var n,r,a,i;return o(this,(function(o){switch(o.label){case 0:return t.ok?(n=(new Date).getTime(),r=this.responseCache,a=e,i={ts:n},[4,t.json()]):(I("Stentor prefetch failed: ".concat(t.statusText)),[2]);case 1:return r[a]=(i.value=o.sent(),i),D("Stentor prefetch took: ".concat(n-v," ms")),[2]}}))}))})).finally((function(){t()}))),[2]}))}))},e}();function ge(e){return"string"==typeof e?e:e.title}var be=v.createContext({api:{key:"",url:""},suggestionsUrl:"",isVoiceEnabled:!1,autoGreeting:"schedule"});function we(){var e,t=h.useState(0),n=t[0],r=t[1],o=(e=h.useRef(!1),h.useEffect((function(){return e.current=!0,function(){e.current=!1}}),[]),h.useCallback((function(){return e.current}),[])),a=h.useCallback((function(e){return function(e,t){return t(1),e().finally((function(){t(-1)}))}(e,(function(e){o()&&r((function(t){return t+e}))}))}),[o]);return h.useMemo((function(){return{loading:!!n,run:a}}),[n,a])}function xe(e,t){var n=function(){var e=h.useContext(be);return h.useMemo((function(){if(e.suggestionsUrl)try{var t=new URL(e.suggestionsUrl);if(!new URLSearchParams(t.search).get("key")&&e.api.key){var n=new URLSearchParams(t.search);n.append("key",e.api.key),t=ce(e.suggestionsUrl,n)}return t.toString()}catch(e){console.error("Error parsing suggestions link: ".concat(e))}return""}),[e])}();return pe({query:e,context:t,url:n})}var ke=function(){return v.createElement("svg",{viewBox:"0 0 15 15",xmlns:"http://www.w3.org/2000/svg"},v.createElement("path",{d:"M10 14L3 7.5L10 1",stroke:"currentColor",fill:"none",strokeLinecap:"square"}))},Se=function(){return v.createElement("svg",{viewBox:"0 0 15 15",xmlns:"http://www.w3.org/2000/svg"},v.createElement("path",{d:"M5 14L12 7.5L5 1",stroke:"currentColor",fill:"none",strokeLinecap:"square"}))},Ee=function(){return v.createElement("svg",{fill:"#000000",height:"300px",width:"30px",version:"1.1",id:"Capa_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 382.163 382.163"},v.createElement("g",null,v.createElement("path",{d:"M344.89,215.855c0-50.602-24.567-95.57-62.396-123.618l2.982-5.326l46.258,25.92c1.16,0.65,2.418,0.958,3.659,0.958\n\t\tc2.626,0,5.175-1.381,6.55-3.835c8.883-15.853,11.061-34.216,6.132-51.706c-4.243-15.059-13.327-27.91-25.887-36.864l5.722-10.22\n\t\tc2.023-3.614,0.733-8.185-2.881-10.208c-3.614-2.023-8.184-0.734-10.208,2.88l-5.72,10.216\n\t\tc-31.487-13.349-68.758-1.123-85.857,29.391c-0.972,1.735-1.215,3.786-0.676,5.7s1.817,3.536,3.553,4.509l46.268,25.925\n\t\tl-2.406,4.297c-23.084-13.853-50.078-21.83-78.903-21.83c-28.825,0-55.818,7.977-78.902,21.829l-2.408-4.296l46.269-25.926\n\t\tc3.614-2.025,4.902-6.595,2.877-10.209c-8.883-15.853-23.407-27.297-40.897-32.226c-15.061-4.244-30.765-3.205-44.96,2.833\n\t\tL67.342,3.838c-2.023-3.615-6.593-4.904-10.208-2.881c-3.614,2.023-4.904,6.594-2.881,10.208l5.721,10.22\n\t\tc-12.559,8.954-21.643,21.804-25.886,36.864c-4.929,17.49-2.751,35.854,6.132,51.706c1.375,2.454,3.924,3.835,6.55,3.835\n\t\tc1.241,0,2.5-0.309,3.659-0.958l46.257-25.919l2.984,5.324c-37.83,28.047-62.397,73.016-62.397,123.619\n\t\tc0,45.21,19.61,85.924,50.767,114.091l-9.427,43.114c-0.885,4.047,1.678,8.044,5.725,8.929c0.54,0.118,1.078,0.175,1.609,0.175\n\t\tc3.448,0,6.553-2.393,7.32-5.899l7.818-35.757c25.321,18.332,56.416,29.157,89.996,29.157c33.58,0,64.676-10.825,89.997-29.158\n\t\tl7.818,35.758c0.767,3.507,3.871,5.899,7.319,5.899c0.531,0,1.07-0.057,1.609-0.175c4.046-0.885,6.61-4.882,5.725-8.929\n\t\tl-9.427-43.115C325.281,301.778,344.89,261.065,344.89,215.855z M308.517,30.436c12.357,6.924,21.279,18.246,25.121,31.88\n\t\tc3.155,11.198,2.574,22.853-1.57,33.507l-91.609-51.331C256.211,23.856,285.228,17.387,308.517,30.436z M50.096,95.824\n\t\tc-4.145-10.654-4.726-22.31-1.57-33.507c3.842-13.634,12.763-24.956,25.121-31.88c8.179-4.583,17.064-6.758,25.833-6.758\n\t\tc16.201,0,32.005,7.425,42.225,20.814L50.096,95.824z M52.273,215.855c0-76.54,62.269-138.809,138.809-138.809\n\t\tS329.89,139.315,329.89,215.855s-62.27,138.809-138.809,138.809S52.273,292.394,52.273,215.855z"}),v.createElement("path",{d:"M191.081,107.685c-59.645,0-108.17,48.525-108.17,108.17c0,59.645,48.525,108.17,108.17,108.17\n\t\tc59.646,0,108.17-48.525,108.17-108.17C299.252,156.21,250.727,107.685,191.081,107.685z M191.081,309.025\n\t\tc-51.374,0-93.17-41.796-93.17-93.17c0-51.374,41.796-93.17,93.17-93.17c51.375,0,93.17,41.796,93.17,93.17\n\t\tC284.252,267.229,242.456,309.025,191.081,309.025z"}),v.createElement("path",{d:"M198.585,190.081v-36.262c0-4.142-3.358-7.5-7.5-7.5s-7.5,3.358-7.5,7.5v36.26c-8.784,2.559-15.718,9.492-18.279,18.276\n\t\th-16.941c-4.142,0-7.5,3.358-7.5,7.5s3.358,7.5,7.5,7.5h16.941c3.254,11.165,13.574,19.349,25.775,19.349\n\t\tc14.805,0,26.849-12.044,26.849-26.849C217.93,203.655,209.748,193.337,198.585,190.081z M191.081,227.704\n\t\tc-6.533,0-11.849-5.315-11.849-11.849s5.315-11.849,11.849-11.849c6.534,0,11.849,5.315,11.849,11.849\n\t\tS197.615,227.704,191.081,227.704z"})))},Ce=function(){return v.createElement("svg",{viewBox:"0 0 200 200",fill:"none",xmlns:"http://www.w3.org/2000/svg"},v.createElement("defs",null,v.createElement("linearGradient",{id:"spinner-secondHalf"},v.createElement("stop",{offset:"0%",stopOpacity:"0",stopColor:"currentColor"}),v.createElement("stop",{offset:"100%",stopOpacity:"0.5",stopColor:"currentColor"})),v.createElement("linearGradient",{id:"spinner-firstHalf"},v.createElement("stop",{offset:"0%",stopOpacity:"1",stopColor:"currentColor"}),v.createElement("stop",{offset:"100%",stopOpacity:"0.5",stopColor:"currentColor"}))),v.createElement("g",{strokeWidth:16},v.createElement("path",{stroke:"url(#spinner-secondHalf)",d:"M".concat(8," 100 A").concat(92," ").concat(92," 0 0 1 ").concat(192," 100")}),v.createElement("path",{stroke:"url(#spinner-firstHalf)",d:"M".concat(192," 100 A").concat(92," ").concat(92," 0 0 1 ").concat(8," 100")}),v.createElement("path",{stroke:"currentColor",strokeLinecap:"round",d:"M".concat(8," 100 A").concat(92," ").concat(92," 0 0 1 ").concat(8," ").concat(96)})),v.createElement("animateTransform",{from:"0 0 0",to:"360 0 0",attributeName:"transform",type:"rotate",repeatCount:"indefinite",dur:"1300ms"}))},Te="IconLabel-module_xapp_search_icon_label__L1kw0",Oe=function(e){var t=e.icon;return v.createElement("label",{onClick:e.onClick,htmlFor:e.htmlFor,className:"".concat(Te," ").concat(e.className||"")},v.createElement(t,null))},_e="SearchInput-module_xapp_search_input__bcNwP",Ne="SearchInput-module_xapp_search_input__value__SdenA",Re="SearchInput-module_xapp_search_input__btn__lVlFp",Me=function(){return v.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"40",fill:"white",className:"bi bi-mic",viewBox:"0 0 16 16"},v.createElement("path",{d:"M3.5 6.5A.5.5 0 0 1 4 7v1a4 4 0 0 0 8 0V7a.5.5 0 0 1 1 0v1a5 5 0 0 1-4.5 4.975V15h3a.5.5 0 0 1 0 1h-7a.5.5 0 0 1 0-1h3v-2.025A5 5 0 0 1 3 8V7a.5.5 0 0 1 .5-.5z"}),v.createElement("path",{d:"M10 8a2 2 0 1 1-4 0V3a2 2 0 1 1 4 0v5zM8 0a3 3 0 0 0-3 3v5a3 3 0 0 0 6 0V3a3 3 0 0 0-3-3z"}))},Pe=function(){return v.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"40",fill:"currentColor",className:"bi bi-mic",viewBox:"0 0 16 16"},v.createElement("path",{d:"M3.5 6.5A.5.5 0 0 1 4 7v1a4 4 0 0 0 8 0V7a.5.5 0 0 1 1 0v1a5 5 0 0 1-4.5 4.975V15h3a.5.5 0 0 1 0 1h-7a.5.5 0 0 1 0-1h3v-2.025A5 5 0 0 1 3 8V7a.5.5 0 0 1 .5-.5z"}),v.createElement("path",{d:"M10 8a2 2 0 1 1-4 0V3a2 2 0 1 1 4 0v5zM8 0a3 3 0 0 0-3 3v5a3 3 0 0 0 6 0V3a3 3 0 0 0-3-3z"}))},De=function(e){var t=e.value,n=e.autoFocus,r=e.audioOn,o=e.onPrev,a=e.onNext,i=e.onChange,l=e.onCancel,s=e.onSubmit,u=e.onSearch,c=h.useContext(be),d=h.useMemo((function(){return"g-".concat(me())}),[]),f=h.useCallback((function(e){i(e)}),[i]),p=h.useCallback((function(e){u&&u(e)}),[u]),m=h.useState(!1),y=m[0];m[1],h.useEffect((function(){}),[f,s]);var g=h.useCallback((function(e){"ArrowUp"===e.key?(o(),e.preventDefault()):"ArrowDown"===e.key?(a(),e.preventDefault()):"Enter"===e.key?(s(t),e.preventDefault()):"Escape"===e.key&&l&&(l(),e.preventDefault())}),[o,a,l,s,t]);return h.useEffect((function(){}),[r]),c.autoGreeting?v.createElement(v.Fragment,null):v.createElement("div",{className:_e},v.createElement(Oe,{htmlFor:d,className:Re,icon:c.isVoiceEnabled?y?Me:Pe:Ee,onClick:function(){}}),v.createElement(ne,{id:d,type:"search",value:t,autoFocus:n,onChange:f,onSearch:p,onInput:f,onFocus:e.onFocus,onKeyDown:g,className:Ne,placeholder:c.isVoiceEnabled?"":'Ask for a test. Like "test 1"'}))},Ie=function(e){var t=V(),r=t[0],o=t[1],a=r.query,i=h.useCallback((function(e){o({type:"set-query",query:e.text})}),[o]);return v.createElement(De,n({},e,{value:{text:a,formats:[]},onChange:i}))},je="SearchResponseBubble-module_xapp_search_response_bubble__UtmuK",Le=function(e){return v.createElement("div",{className:je},v.createElement(G,null,e.children))};function ze(e,t){for(var n=-1,r=0,o=t;r<o.length;r++){var a=o[r],i=e.indexOf(a);i>=0&&(n<0||n>=0&&i<n)&&(n=i)}return n}var $e=[":","/"],Ae=["/"],Fe=["?","#"],Ve=["#"],Ue=[function(e){var t=e.indexOf("://");return t<0?t:t+3},function(e){return ze(e,$e)},function(e){return":"!==e.charAt(0)?-1:ze(e,Ae)},function(e){var t=ze(e,Fe);return t>=0?t:e.length},function(e){return ze(e,Ve)}];var Be="/...";function We(e,t){if(!e)return e;if(e.length<t)return e;var n=function(e){for(var t=[],n=e,r=0,o=Ue;r<o.length;r++){var a=o[r],i=Math.max(0,a(n,e)),l=n.substring(0,i);t.push(l),n=n.substring(i)}return n&&t.push(n),t}(e);function r(){return n.join("")}function o(){return r().length>t}function a(e){o()&&(n[e]="")}if(":80"===n[2]&&"http://"===n[0]&&a(2),":443"===n[2]&&"https://"===n[0]&&a(2),a(5),a(4),a(2),a(0),o()){var i=n[3],l=r().length-i.length,s=t-l;if(s<0)n[3]="";else if(s<i.length){var u=i.length-s+4;n[3]=Be+i.substring(u)}}return r()}var He="Card-module_xapp_search_card__9iVCv",qe="Card-module_xapp_search_card__featured__CX-L0",Ye="Card-module_xapp_search_card__featured_box__1fV9y",Ke="Card-module_xapp_search_card__img__KJ1s3",Ge="Card-module_xapp_search_card__content__dathl",Qe="Card-module_xapp_search_card__link__DNSSb",Xe="Card-module_xapp_search_card__title__ddR3K",Je="Card-module_xapp_search_card__description__MruSU",Ze=function(e){var t,n,r,o=e.item,a=null===(t=o.image)||void 0===t?void 0:t.url;return v.createElement("div",{className:"".concat(He," ").concat(e.className||"")},!!a&&v.createElement("div",{className:qe},v.createElement("div",{className:Ye},v.createElement("img",{src:null===(n=o.image)||void 0===n?void 0:n.url,className:Ke,alt:null===(r=o.image)||void 0===r?void 0:r.accessibilityText}))),v.createElement("div",{className:Ge},!!o.url&&v.createElement("a",{href:o.url,className:Xe},o.title),!!o.url&&v.createElement("div",{className:Qe},We(o.url,40)),v.createElement("div",{className:Je},o.description)))},et="Carousel-module_xapp_search_carousel__NZTGa",tt="Carousel-module_xapp_search_carousel__prev__BdNo-",nt="Carousel-module_xapp_search_carousel__next__udR98",rt="Carousel-module_xapp_search_carousel__items__gRPzO",ot="Carousel-module_xapp_search_carousel__content__EoqyB",at="CarouselItem-module_xapp_search_carousel_item__xNpwo",it=function(e){return v.createElement("div",{className:"".concat(at," ").concat(e.className||"")},e.children)},lt=function(e){var t=e.list,n=h.useRef(null),r=h.useCallback((function(e){var t=n.current;if(t)for(var r=t.getElementsByClassName("xapp_search_carousel-item"),o=t.getBoundingClientRect(),a=r.length,i=0;i<a;i++){var l=r.item(i);if(l){var s=l.getBoundingClientRect(),u=e({position:s.left-o.left,size:s.width});if(void 0!==u)return void(t.scrollLeft+=u)}}}),[]),o=h.useCallback((function(){var e;r((function(t){if(t.position>-10)return e;e=t.position}))}),[r]),a=h.useCallback((function(){r((function(e){if(e.position>10)return e.position}))}),[r]);return v.createElement("div",{className:et},v.createElement(K,{icon:ke,className:tt,onClick:o}),v.createElement("div",{ref:n,className:rt},t.items.map((function(e,t){return v.createElement(it,{key:t},v.createElement(Ze,{item:e,className:ot}))}))),v.createElement(K,{icon:Se,className:nt,onClick:a}))},st=function(e){var t=e.carousel;return v.createElement("div",null,v.createElement(lt,{list:t}))},ut="Cards-module_xapp_search_cards__aeR3S",ct=function(e){var t=e.list;return v.createElement("div",{className:ut},t.items.map((function(e,t){return v.createElement(Ze,{key:t,item:e})})))},dt=function(e){var t=e.list,n=null==t?void 0:t.title;return v.createElement("div",null,n?v.createElement(re,{label:n}):v.createElement(v.Fragment,null),v.createElement(ct,{list:t}))};function ft(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}function pt(){return pt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},pt.apply(null,arguments)}var mt,ht={exports:{}},vt={exports:{}},yt={};var gt,bt,wt,xt,kt,St,Et,Ct,Tt,Ot,_t,Nt,Rt,Mt,Pt={};function Dt(){return bt||(bt=1,"production"===process.env.NODE_ENV?vt.exports=function(){if(mt)return yt;mt=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,s=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,c=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,h=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,y=e?Symbol.for("react.responder"):60118,g=e?Symbol.for("react.scope"):60119;function b(e){if("object"==typeof e&&null!==e){var f=e.$$typeof;switch(f){case t:switch(e=e.type){case s:case u:case r:case a:case o:case d:return e;default:switch(e=e&&e.$$typeof){case l:case c:case m:case p:case i:return e;default:return f}}case n:return f}}}function w(e){return b(e)===u}return yt.AsyncMode=s,yt.ConcurrentMode=u,yt.ContextConsumer=l,yt.ContextProvider=i,yt.Element=t,yt.ForwardRef=c,yt.Fragment=r,yt.Lazy=m,yt.Memo=p,yt.Portal=n,yt.Profiler=a,yt.StrictMode=o,yt.Suspense=d,yt.isAsyncMode=function(e){return w(e)||b(e)===s},yt.isConcurrentMode=w,yt.isContextConsumer=function(e){return b(e)===l},yt.isContextProvider=function(e){return b(e)===i},yt.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},yt.isForwardRef=function(e){return b(e)===c},yt.isFragment=function(e){return b(e)===r},yt.isLazy=function(e){return b(e)===m},yt.isMemo=function(e){return b(e)===p},yt.isPortal=function(e){return b(e)===n},yt.isProfiler=function(e){return b(e)===a},yt.isStrictMode=function(e){return b(e)===o},yt.isSuspense=function(e){return b(e)===d},yt.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===u||e===a||e===o||e===d||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===p||e.$$typeof===i||e.$$typeof===l||e.$$typeof===c||e.$$typeof===v||e.$$typeof===y||e.$$typeof===g||e.$$typeof===h)},yt.typeOf=b,yt}():vt.exports=(gt||(gt=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,s=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,c=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,h=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,y=e?Symbol.for("react.responder"):60118,g=e?Symbol.for("react.scope"):60119;function b(e){if("object"==typeof e&&null!==e){var f=e.$$typeof;switch(f){case t:var h=e.type;switch(h){case s:case u:case r:case a:case o:case d:return h;default:var v=h&&h.$$typeof;switch(v){case l:case c:case m:case p:case i:return v;default:return f}}case n:return f}}}var w=s,x=u,k=l,S=i,E=t,C=c,T=r,O=m,_=p,N=n,R=a,M=o,P=d,D=!1;function I(e){return b(e)===u}Pt.AsyncMode=w,Pt.ConcurrentMode=x,Pt.ContextConsumer=k,Pt.ContextProvider=S,Pt.Element=E,Pt.ForwardRef=C,Pt.Fragment=T,Pt.Lazy=O,Pt.Memo=_,Pt.Portal=N,Pt.Profiler=R,Pt.StrictMode=M,Pt.Suspense=P,Pt.isAsyncMode=function(e){return D||(D=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),I(e)||b(e)===s},Pt.isConcurrentMode=I,Pt.isContextConsumer=function(e){return b(e)===l},Pt.isContextProvider=function(e){return b(e)===i},Pt.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Pt.isForwardRef=function(e){return b(e)===c},Pt.isFragment=function(e){return b(e)===r},Pt.isLazy=function(e){return b(e)===m},Pt.isMemo=function(e){return b(e)===p},Pt.isPortal=function(e){return b(e)===n},Pt.isProfiler=function(e){return b(e)===a},Pt.isStrictMode=function(e){return b(e)===o},Pt.isSuspense=function(e){return b(e)===d},Pt.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===u||e===a||e===o||e===d||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===p||e.$$typeof===i||e.$$typeof===l||e.$$typeof===c||e.$$typeof===v||e.$$typeof===y||e.$$typeof===g||e.$$typeof===h)},Pt.typeOf=b}()),Pt)),vt.exports}function It(){if(xt)return wt;xt=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;return wt=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(r,o){for(var a,i,l=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(r),s=1;s<arguments.length;s++){for(var u in a=Object(arguments[s]))t.call(a,u)&&(l[u]=a[u]);if(e){i=e(a);for(var c=0;c<i.length;c++)n.call(a,i[c])&&(l[i[c]]=a[i[c]])}}return l},wt}function jt(){if(St)return kt;St=1;return kt="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function Lt(){return Ct?Et:(Ct=1,Et=Function.call.bind(Object.prototype.hasOwnProperty))}if("production"!==process.env.NODE_ENV){var zt=Dt();ht.exports=function(){if(Nt)return _t;Nt=1;var e=Dt(),t=It(),n=jt(),r=Lt(),o=function(){if(Ot)return Tt;Ot=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=jt(),n={},r=Lt();e=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function o(o,a,i,l,s){if("production"!==process.env.NODE_ENV)for(var u in o)if(r(o,u)){var c;try{if("function"!=typeof o[u]){var d=Error((l||"React class")+": "+i+" type `"+u+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof o[u]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name="Invariant Violation",d}c=o[u](a,u,l,i,null,t)}catch(e){c=e}if(!c||c instanceof Error||e((l||"React class")+": type specification of "+i+" `"+u+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof c+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),c instanceof Error&&!(c.message in n)){n[c.message]=!0;var f=s?s():"";e("Failed "+i+" type: "+c.message+(null!=f?f:""))}}}return o.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(n={})},Tt=o}(),a=function(){};function i(){return null}return"production"!==process.env.NODE_ENV&&(a=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}),_t=function(l,s){var u="function"==typeof Symbol&&Symbol.iterator,c="@@iterator",d="<<anonymous>>",f={array:v("array"),bigint:v("bigint"),bool:v("boolean"),func:v("function"),number:v("number"),object:v("object"),string:v("string"),symbol:v("symbol"),any:h(i),arrayOf:function(e){return h((function(t,r,o,a,i){if("function"!=typeof e)return new m("Property `"+i+"` of component `"+o+"` has invalid PropType notation inside arrayOf.");var l=t[r];if(!Array.isArray(l))return new m("Invalid "+a+" `"+i+"` of type `"+b(l)+"` supplied to `"+o+"`, expected an array.");for(var s=0;s<l.length;s++){var u=e(l,s,o,a,i+"["+s+"]",n);if(u instanceof Error)return u}return null}))},element:h((function(e,t,n,r,o){var a=e[t];return l(a)?null:new m("Invalid "+r+" `"+o+"` of type `"+b(a)+"` supplied to `"+n+"`, expected a single ReactElement.")})),elementType:h((function(t,n,r,o,a){var i=t[n];return e.isValidElementType(i)?null:new m("Invalid "+o+" `"+a+"` of type `"+b(i)+"` supplied to `"+r+"`, expected a single ReactElement type.")})),instanceOf:function(e){return h((function(t,n,r,o,a){if(!(t[n]instanceof e)){var i=e.name||d;return new m("Invalid "+o+" `"+a+"` of type `"+((l=t[n]).constructor&&l.constructor.name?l.constructor.name:d)+"` supplied to `"+r+"`, expected instance of `"+i+"`.")}var l;return null}))},node:h((function(e,t,n,r,o){return g(e[t])?null:new m("Invalid "+r+" `"+o+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return h((function(t,o,a,i,l){if("function"!=typeof e)return new m("Property `"+l+"` of component `"+a+"` has invalid PropType notation inside objectOf.");var s=t[o],u=b(s);if("object"!==u)return new m("Invalid "+i+" `"+l+"` of type `"+u+"` supplied to `"+a+"`, expected an object.");for(var c in s)if(r(s,c)){var d=e(s,c,a,i,l+"."+c,n);if(d instanceof Error)return d}return null}))},oneOf:function(e){return Array.isArray(e)?h((function(t,n,r,o,a){for(var i=t[n],l=0;l<e.length;l++)if(p(i,e[l]))return null;var s=JSON.stringify(e,(function(e,t){return"symbol"===w(t)?String(t):t}));return new m("Invalid "+o+" `"+a+"` of value `"+String(i)+"` supplied to `"+r+"`, expected one of "+s+".")})):("production"!==process.env.NODE_ENV&&a(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),i)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&a("Invalid argument supplied to oneOfType, expected an instance of array."),i;for(var t=0;t<e.length;t++){var o=e[t];if("function"!=typeof o)return a("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+x(o)+" at index "+t+"."),i}return h((function(t,o,a,i,l){for(var s=[],u=0;u<e.length;u++){var c=(0,e[u])(t,o,a,i,l,n);if(null==c)return null;c.data&&r(c.data,"expectedType")&&s.push(c.data.expectedType)}return new m("Invalid "+i+" `"+l+"` supplied to `"+a+"`"+(s.length>0?", expected one of type ["+s.join(", ")+"]":"")+".")}))},shape:function(e){return h((function(t,r,o,a,i){var l=t[r],s=b(l);if("object"!==s)return new m("Invalid "+a+" `"+i+"` of type `"+s+"` supplied to `"+o+"`, expected `object`.");for(var u in e){var c=e[u];if("function"!=typeof c)return y(o,a,i,u,w(c));var d=c(l,u,o,a,i+"."+u,n);if(d)return d}return null}))},exact:function(e){return h((function(o,a,i,l,s){var u=o[a],c=b(u);if("object"!==c)return new m("Invalid "+l+" `"+s+"` of type `"+c+"` supplied to `"+i+"`, expected `object`.");var d=t({},o[a],e);for(var f in d){var p=e[f];if(r(e,f)&&"function"!=typeof p)return y(i,l,s,f,w(p));if(!p)return new m("Invalid "+l+" `"+s+"` key `"+f+"` supplied to `"+i+"`.\nBad object: "+JSON.stringify(o[a],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var h=p(u,f,i,l,s+"."+f,n);if(h)return h}return null}))}};function p(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function m(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function h(e){if("production"!==process.env.NODE_ENV)var t={},r=0;function o(o,i,l,u,c,f,p){if(u=u||d,f=f||l,p!==n){if(s){var h=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw h.name="Invariant Violation",h}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var v=u+":"+l;!t[v]&&r<3&&(a("You are manually calling a React.PropTypes validation function for the `"+f+"` prop on `"+u+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),t[v]=!0,r++)}}return null==i[l]?o?null===i[l]?new m("The "+c+" `"+f+"` is marked as required in `"+u+"`, but its value is `null`."):new m("The "+c+" `"+f+"` is marked as required in `"+u+"`, but its value is `undefined`."):null:e(i,l,u,c,f)}var i=o.bind(null,!1);return i.isRequired=o.bind(null,!0),i}function v(e){return h((function(t,n,r,o,a,i){var l=t[n];return b(l)!==e?new m("Invalid "+o+" `"+a+"` of type `"+w(l)+"` supplied to `"+r+"`, expected `"+e+"`.",{expectedType:e}):null}))}function y(e,t,n,r,o){return new m((e||"React class")+": "+t+" type `"+n+"."+r+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+o+"`.")}function g(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(g);if(null===e||l(e))return!0;var t=function(e){var t=e&&(u&&e[u]||e[c]);if("function"==typeof t)return t}(e);if(!t)return!1;var n,r=t.call(e);if(t!==e.entries){for(;!(n=r.next()).done;)if(!g(n.value))return!1}else for(;!(n=r.next()).done;){var o=n.value;if(o&&!g(o[1]))return!1}return!0;default:return!1}}function b(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function w(e){if(null==e)return""+e;var t=b(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function x(e){var t=w(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return m.prototype=Error.prototype,f.checkPropTypes=o,f.resetWarningCache=o.resetWarningCache,f.PropTypes=f,f},_t}()(zt.isElement,!0)}else ht.exports=function(){if(Mt)return Rt;Mt=1;var e=jt();function t(){}function n(){}return n.resetWarningCache=t,Rt=function(){function r(t,n,r,o,a,i){if(i!==e){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function o(){return r}r.isRequired=r;var a={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:o,element:r,elementType:r,instanceOf:o,node:r,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:n,resetWarningCache:t};return a.PropTypes=a,a},Rt}()();var $t=l(ht.exports);function At(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=At(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Ft(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=At(e))&&(r&&(r+=" "),r+=t);return r}function Vt(e,t,n=void 0){const r={};return Object.keys(e).forEach((o=>{r[o]=e[o].reduce(((e,r)=>{if(r){const o=t(r);""!==o&&e.push(o),n&&n[r]&&e.push(n[r])}return e}),[]).join(" ")})),r}var Ut={},Bt={exports:{}};!function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports}(Bt);var Wt=Bt.exports;function Ht(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;e<arguments.length;e+=1)t+="&args[]="+encodeURIComponent(arguments[e]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}var qt=s(Object.freeze({__proto__:null,default:Ht}));function Yt(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}var Kt=s(Object.freeze({__proto__:null,default:Yt})),Gt=Wt;Object.defineProperty(Ut,"__esModule",{value:!0});var Qt=Ut.alpha=cn;Ut.blend=function(e,t,n,r=1){const o=(e,t)=>Math.round((e**(1/r)*(1-n)+t**(1/r)*n)**r),a=on(e),i=on(t),l=[o(a.values[0],i.values[0]),o(a.values[1],i.values[1]),o(a.values[2],i.values[2])];return ln({type:"rgb",values:l})},Ut.colorChannel=void 0;var Xt=Ut.darken=dn;Ut.decomposeColor=on,Ut.emphasize=pn;var Jt=Ut.getContrastRatio=function(e,t){const n=un(e),r=un(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)};Ut.getLuminance=un,Ut.hexToRgb=rn,Ut.hslToRgb=sn;var Zt=Ut.lighten=fn;Ut.private_safeAlpha=function(e,t,n){try{return cn(e,t)}catch(t){return n&&"production"!==process.env.NODE_ENV&&console.warn(n),e}},Ut.private_safeColorChannel=void 0,Ut.private_safeDarken=function(e,t,n){try{return dn(e,t)}catch(t){return n&&"production"!==process.env.NODE_ENV&&console.warn(n),e}},Ut.private_safeEmphasize=function(e,t,n){try{return pn(e,t)}catch(t){return n&&"production"!==process.env.NODE_ENV&&console.warn(n),e}},Ut.private_safeLighten=function(e,t,n){try{return fn(e,t)}catch(t){return n&&"production"!==process.env.NODE_ENV&&console.warn(n),e}},Ut.recomposeColor=ln,Ut.rgbToHex=function(e){if(0===e.indexOf("#"))return e;const{values:t}=on(e);return`#${t.map(((e,t)=>function(e){const t=e.toString(16);return 1===t.length?`0${t}`:t}(3===t?Math.round(255*e):e))).join("")}`};var en=Gt(qt),tn=Gt(Kt);function nn(e,t=0,n=1){return"production"!==process.env.NODE_ENV&&(e<t||e>n)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${n}].`),(0,tn.default)(e,t,n)}function rn(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map((e=>e+e))),n?`rgb${4===n.length?"a":""}(${n.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}function on(e){if(e.type)return e;if("#"===e.charAt(0))return on(rn(e));const t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error("production"!==process.env.NODE_ENV?`MUI: Unsupported \`${e}\` color.\nThe following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:(0,en.default)(9,e));let r,o=e.substring(t+1,e.length-1);if("color"===n){if(o=o.split(" "),r=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(r))throw new Error("production"!==process.env.NODE_ENV?`MUI: unsupported \`${r}\` color space.\nThe following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:(0,en.default)(10,r))}else o=o.split(",");return o=o.map((e=>parseFloat(e))),{type:n,values:o,colorSpace:r}}const an=e=>{const t=on(e);return t.values.slice(0,3).map(((e,n)=>-1!==t.type.indexOf("hsl")&&0!==n?`${e}%`:e)).join(" ")};Ut.colorChannel=an;function ln(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return-1!==t.indexOf("rgb")?r=r.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`,`${t}(${r})`}function sn(e){e=on(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,a=r*Math.min(o,1-o),i=(e,t=(e+n/30)%12)=>o-a*Math.max(Math.min(t-3,9-t,1),-1);let l="rgb";const s=[Math.round(255*i(0)),Math.round(255*i(8)),Math.round(255*i(4))];return"hsla"===e.type&&(l+="a",s.push(t[3])),ln({type:l,values:s})}function un(e){let t="hsl"===(e=on(e)).type||"hsla"===e.type?on(sn(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function cn(e,t){return e=on(e),t=nn(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,ln(e)}function dn(e,t){if(e=on(e),t=nn(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return ln(e)}function fn(e,t){if(e=on(e),t=nn(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return ln(e)}function pn(e,t=.15){return un(e)>.5?dn(e,t):fn(e,t)}function mn(e){if("string"!=typeof e)throw new Error("production"!==process.env.NODE_ENV?"MUI: `capitalize(string)` expects a string argument.":Ht(7));return e.charAt(0).toUpperCase()+e.slice(1)}Ut.private_safeColorChannel=(e,t)=>{try{return an(e)}catch(n){return t&&"production"!==process.env.NODE_ENV&&console.warn(t),e}};var hn=Object.freeze({__proto__:null,default:mn});function vn(e,t){const n=pt({},t);return Object.keys(e).forEach((r=>{if(r.toString().match(/^(components|slots)$/))n[r]=pt({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const o=e[r]||{},a=t[r];n[r]={},a&&Object.keys(a)?o&&Object.keys(o)?(n[r]=pt({},a),Object.keys(o).forEach((e=>{n[r][e]=vn(o[e],a[e])}))):n[r]=a:n[r]=o}else void 0===n[r]&&(n[r]=e[r])})),n}var yn,gn={exports:{}},bn={};var wn,xn,kn={};function Sn(){return wn||(wn=1,"production"!==process.env.NODE_ENV&&function(){var e=h,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),l=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.for("react.offscreen"),m=Symbol.iterator,v="@@iterator";var y=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function g(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];!function(e,t,n){var r=y.ReactDebugCurrentFrame,o=r.getStackAddendum();""!==o&&(t+="%s",n=n.concat([o]));var a=n.map((function(e){return String(e)}));a.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,a)}("error",e,n)}var b,w=!1,x=!1,k=!1,S=!1,E=!1;function C(e){return e.displayName||"Context"}function T(e){if(null==e)return null;if("number"==typeof e.tag&&g("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),"function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case r:return"Fragment";case n:return"Portal";case a:return"Profiler";case o:return"StrictMode";case u:return"Suspense";case c:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case l:return C(e)+".Consumer";case i:return C(e._context)+".Provider";case s:return function(e,t,n){var r=e.displayName;if(r)return r;var o=t.displayName||t.name||"";return""!==o?n+"("+o+")":n}(e,e.render,"ForwardRef");case d:var t=e.displayName||null;return null!==t?t:T(e.type)||"Memo";case f:var p=e,m=p._payload,h=p._init;try{return T(h(m))}catch(e){return null}}return null}b=Symbol.for("react.module.reference");var O,_,N,R,M,P,D,I=Object.assign,j=0;function L(){}L.__reactDisabledLog=!0;var z,$=y.ReactCurrentDispatcher;function A(e,t,n){if(void 0===z)try{throw Error()}catch(e){var r=e.stack.trim().match(/\n( *(at )?)/);z=r&&r[1]||""}return"\n"+z+e}var F,V=!1,U="function"==typeof WeakMap?WeakMap:Map;function B(e,t){if(!e||V)return"";var n,r=F.get(e);if(void 0!==r)return r;V=!0;var o,a=Error.prepareStackTrace;Error.prepareStackTrace=void 0,o=$.current,$.current=null,function(){if(0===j){O=console.log,_=console.info,N=console.warn,R=console.error,M=console.group,P=console.groupCollapsed,D=console.groupEnd;var e={configurable:!0,enumerable:!0,value:L,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}j++}();try{if(t){var i=function(){throw Error()};if(Object.defineProperty(i.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(i,[])}catch(e){n=e}Reflect.construct(e,[],i)}else{try{i.call()}catch(e){n=e}e.call(i.prototype)}}else{try{throw Error()}catch(e){n=e}e()}}catch(t){if(t&&n&&"string"==typeof t.stack){for(var l=t.stack.split("\n"),s=n.stack.split("\n"),u=l.length-1,c=s.length-1;u>=1&&c>=0&&l[u]!==s[c];)c--;for(;u>=1&&c>=0;u--,c--)if(l[u]!==s[c]){if(1!==u||1!==c)do{if(u--,--c<0||l[u]!==s[c]){var d="\n"+l[u].replace(" at new "," at ");return e.displayName&&d.includes("<anonymous>")&&(d=d.replace("<anonymous>",e.displayName)),"function"==typeof e&&F.set(e,d),d}}while(u>=1&&c>=0);break}}}finally{V=!1,$.current=o,function(){if(0==--j){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:I({},e,{value:O}),info:I({},e,{value:_}),warn:I({},e,{value:N}),error:I({},e,{value:R}),group:I({},e,{value:M}),groupCollapsed:I({},e,{value:P}),groupEnd:I({},e,{value:D})})}j<0&&g("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=a}var f=e?e.displayName||e.name:"",p=f?A(f):"";return"function"==typeof e&&F.set(e,p),p}function W(e,t,n){if(null==e)return"";if("function"==typeof e)return B(e,!(!(r=e.prototype)||!r.isReactComponent));var r;if("string"==typeof e)return A(e);switch(e){case u:return A("Suspense");case c:return A("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case s:return B(e.render,!1);case d:return W(e.type,t,n);case f:var o=e,a=o._payload,i=o._init;try{return W(i(a),t,n)}catch(e){}}return""}F=new U;var H=Object.prototype.hasOwnProperty,q={},Y=y.ReactDebugCurrentFrame;function K(e){if(e){var t=e._owner,n=W(e.type,e._source,t?t.type:null);Y.setExtraStackFrame(n)}else Y.setExtraStackFrame(null)}var G=Array.isArray;function Q(e){return G(e)}function X(e){return""+e}function J(e){if(function(e){try{return X(e),!1}catch(e){return!0}}(e))return g("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",function(e){return"function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}(e)),X(e)}var Z,ee,te,ne=y.ReactCurrentOwner,re={key:!0,ref:!0,__self:!0,__source:!0};te={};var oe=function(e,n,r,o,a,i,l){var s={$$typeof:t,type:e,key:n,ref:r,props:l,_owner:i,_store:{}};return Object.defineProperty(s._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(s,"_self",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.defineProperty(s,"_source",{configurable:!1,enumerable:!1,writable:!1,value:a}),Object.freeze&&(Object.freeze(s.props),Object.freeze(s)),s};function ae(e,t,n,r,o){var a,i={},l=null,s=null;for(a in void 0!==n&&(J(n),l=""+n),function(e){if(H.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}(t)&&(J(t.key),l=""+t.key),function(e){if(H.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return void 0!==e.ref}(t)&&(s=t.ref,function(e,t){if("string"==typeof e.ref&&ne.current&&t&&ne.current.stateNode!==t){var n=T(ne.current.type);te[n]||(g('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',T(ne.current.type),e.ref),te[n]=!0)}}(t,o)),t)H.call(t,a)&&!re.hasOwnProperty(a)&&(i[a]=t[a]);if(e&&e.defaultProps){var u=e.defaultProps;for(a in u)void 0===i[a]&&(i[a]=u[a])}if(l||s){var c="function"==typeof e?e.displayName||e.name||"Unknown":e;l&&function(e,t){var n=function(){Z||(Z=!0,g("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};n.isReactWarning=!0,Object.defineProperty(e,"key",{get:n,configurable:!0})}(i,c),s&&function(e,t){var n=function(){ee||(ee=!0,g("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};n.isReactWarning=!0,Object.defineProperty(e,"ref",{get:n,configurable:!0})}(i,c)}return oe(e,l,s,o,r,ne.current,i)}var ie,le=y.ReactCurrentOwner,se=y.ReactDebugCurrentFrame;function ue(e){if(e){var t=e._owner,n=W(e.type,e._source,t?t.type:null);se.setExtraStackFrame(n)}else se.setExtraStackFrame(null)}function ce(e){return"object"==typeof e&&null!==e&&e.$$typeof===t}function de(){if(le.current){var e=T(le.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}ie=!1;var fe={};function pe(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var n=function(e){var t=de();if(!t){var n="string"==typeof e?e:e.displayName||e.name;n&&(t="\n\nCheck the top-level render call using <"+n+">.")}return t}(t);if(!fe[n]){fe[n]=!0;var r="";e&&e._owner&&e._owner!==le.current&&(r=" It was passed a child from "+T(e._owner.type)+"."),ue(e),g('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',n,r),ue(null)}}}function me(e,t){if("object"==typeof e)if(Q(e))for(var n=0;n<e.length;n++){var r=e[n];ce(r)&&pe(r,t)}else if(ce(e))e._store&&(e._store.validated=!0);else if(e){var o=function(e){if(null===e||"object"!=typeof e)return null;var t=m&&e[m]||e[v];return"function"==typeof t?t:null}(e);if("function"==typeof o&&o!==e.entries)for(var a,i=o.call(e);!(a=i.next()).done;)ce(a.value)&&pe(a.value,t)}}function he(e){var t,n=e.type;if(null!=n&&"string"!=typeof n){if("function"==typeof n)t=n.propTypes;else{if("object"!=typeof n||n.$$typeof!==s&&n.$$typeof!==d)return;t=n.propTypes}if(t){var r=T(n);!function(e,t,n,r,o){var a=Function.call.bind(H);for(var i in e)if(a(e,i)){var l=void 0;try{if("function"!=typeof e[i]){var s=Error((r||"React class")+": "+n+" type `"+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[i]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw s.name="Invariant Violation",s}l=e[i](t,i,r,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){l=e}!l||l instanceof Error||(K(o),g("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",r||"React class",n,i,typeof l),K(null)),l instanceof Error&&!(l.message in q)&&(q[l.message]=!0,K(o),g("Failed %s type: %s",n,l.message),K(null))}}(t,e.props,"prop",r,e)}else if(void 0!==n.PropTypes&&!ie){ie=!0,g("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",T(n)||"Unknown")}"function"!=typeof n.getDefaultProps||n.getDefaultProps.isReactClassApproved||g("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}var ve={};function ye(e,n,m,h,v,y){var C=function(e){return"string"==typeof e||"function"==typeof e||!!(e===r||e===a||E||e===o||e===u||e===c||S||e===p||w||x||k)||"object"==typeof e&&null!==e&&(e.$$typeof===f||e.$$typeof===d||e.$$typeof===i||e.$$typeof===l||e.$$typeof===s||e.$$typeof===b||void 0!==e.getModuleId)}(e);if(!C){var O="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(O+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var _;O+=de(),null===e?_="null":Q(e)?_="array":void 0!==e&&e.$$typeof===t?(_="<"+(T(e.type)||"Unknown")+" />",O=" Did you accidentally export a JSX literal instead of a component?"):_=typeof e,g("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",_,O)}var N=ae(e,n,m,v,y);if(null==N)return N;if(C){var R=n.children;if(void 0!==R)if(h)if(Q(R)){for(var M=0;M<R.length;M++)me(R[M],e);Object.freeze&&Object.freeze(R)}else g("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else me(R,e)}if(H.call(n,"key")){var P=T(e),D=Object.keys(n).filter((function(e){return"key"!==e})),I=D.length>0?"{key: someKey, "+D.join(": ..., ")+": ...}":"{key: someKey}";if(!ve[P+I])g('A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',I,P,D.length>0?"{"+D.join(": ..., ")+": ...}":"{}",P),ve[P+I]=!0}return e===r?function(e){for(var t=Object.keys(e.props),n=0;n<t.length;n++){var r=t[n];if("children"!==r&&"key"!==r){ue(e),g("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",r),ue(null);break}}null!==e.ref&&(ue(e),g("Invalid attribute `ref` supplied to `React.Fragment`."),ue(null))}(N):he(N),N}var ge=function(e,t,n){return ye(e,t,n,!1)},be=function(e,t,n){return ye(e,t,n,!0)};kn.Fragment=r,kn.jsx=ge,kn.jsxs=be}()),kn}function En(){return xn||(xn=1,"production"===process.env.NODE_ENV?gn.exports=function(){if(yn)return bn;yn=1;var e=h,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function i(e,n,i){var l,s={},u=null,c=null;for(l in void 0!==i&&(u=""+i),void 0!==n.key&&(u=""+n.key),void 0!==n.ref&&(c=n.ref),n)r.call(n,l)&&!a.hasOwnProperty(l)&&(s[l]=n[l]);if(e&&e.defaultProps)for(l in n=e.defaultProps)void 0===s[l]&&(s[l]=n[l]);return{$$typeof:t,type:e,key:u,ref:c,props:s,_owner:o.current}}return bn.Fragment=n,bn.jsx=i,bn.jsxs=i,bn}():gn.exports=Sn()),gn.exports}var Cn=En();const Tn=h.createContext(void 0);function On({props:e,name:t}){return function(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const o=t.components[n];return o.defaultProps?vn(o.defaultProps,r):o.styleOverrides||o.variants?r:vn(o,r)}({props:e,name:t,theme:{components:h.useContext(Tn)}})}function _n(e){return On(e)}"production"!==process.env.NODE_ENV&&($t.node,$t.object),"production"!==process.env.NODE_ENV&&($t.node,$t.object.isRequired);var Nn,Rn={},Mn={exports:{}};var Pn,Dn={exports:{}};function In(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var jn=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Ln=In((function(e){return jn.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));var zn=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy?"production"===process.env.NODE_ENV:e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if("production"!==process.env.NODE_ENV){var n=64===e.charCodeAt(0)&&105===e.charCodeAt(1);n&&this._alreadyInsertedOrderInsensitiveRule&&console.error("You're attempting to insert the following rule:\n"+e+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!n}if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{r.insertRule(e,r.cssRules.length)}catch(t){"production"===process.env.NODE_ENV||/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(e)||console.error('There was a problem inserting the following rule: "'+e+'"',t)}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)})),this.tags=[],this.ctr=0,"production"!==process.env.NODE_ENV&&(this._alreadyInsertedOrderInsensitiveRule=!1)},e}(),$n="-ms-",An="-moz-",Fn="-webkit-",Vn="comm",Un="rule",Bn="decl",Wn="@keyframes",Hn=Math.abs,qn=String.fromCharCode,Yn=Object.assign;function Kn(e){return e.trim()}function Gn(e,t,n){return e.replace(t,n)}function Qn(e,t){return e.indexOf(t)}function Xn(e,t){return 0|e.charCodeAt(t)}function Jn(e,t,n){return e.slice(t,n)}function Zn(e){return e.length}function er(e){return e.length}function tr(e,t){return t.push(e),e}var nr=1,rr=1,or=0,ar=0,ir=0,lr="";function sr(e,t,n,r,o,a,i){return{value:e,root:t,parent:n,type:r,props:o,children:a,line:nr,column:rr,length:i,return:""}}function ur(e,t){return Yn(sr("",null,null,"",null,null,0),e,{length:-e.length},t)}function cr(){return ir=ar>0?Xn(lr,--ar):0,rr--,10===ir&&(rr=1,nr--),ir}function dr(){return ir=ar<or?Xn(lr,ar++):0,rr++,10===ir&&(rr=1,nr++),ir}function fr(){return Xn(lr,ar)}function pr(){return ar}function mr(e,t){return Jn(lr,e,t)}function hr(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function vr(e){return nr=rr=1,or=Zn(lr=e),ar=0,[]}function yr(e){return lr="",e}function gr(e){return Kn(mr(ar-1,xr(91===e?e+2:40===e?e+1:e)))}function br(e){for(;(ir=fr())&&ir<33;)dr();return hr(e)>2||hr(ir)>3?"":" "}function wr(e,t){for(;--t&&dr()&&!(ir<48||ir>102||ir>57&&ir<65||ir>70&&ir<97););return mr(e,pr()+(t<6&&32==fr()&&32==dr()))}function xr(e){for(;dr();)switch(ir){case e:return ar;case 34:case 39:34!==e&&39!==e&&xr(ir);break;case 40:41===e&&xr(e);break;case 92:dr()}return ar}function kr(e,t){for(;dr()&&e+ir!==57&&(e+ir!==84||47!==fr()););return"/*"+mr(t,ar-1)+"*"+qn(47===e?e:dr())}function Sr(e){for(;!hr(fr());)dr();return mr(e,ar)}function Er(e){return yr(Cr("",null,null,null,[""],e=vr(e),0,[0],e))}function Cr(e,t,n,r,o,a,i,l,s){for(var u=0,c=0,d=i,f=0,p=0,m=0,h=1,v=1,y=1,g=0,b="",w=o,x=a,k=r,S=b;v;)switch(m=g,g=dr()){case 40:if(108!=m&&58==Xn(S,d-1)){-1!=Qn(S+=Gn(gr(g),"&","&\f"),"&\f")&&(y=-1);break}case 34:case 39:case 91:S+=gr(g);break;case 9:case 10:case 13:case 32:S+=br(m);break;case 92:S+=wr(pr()-1,7);continue;case 47:switch(fr()){case 42:case 47:tr(Or(kr(dr(),pr()),t,n),s);break;default:S+="/"}break;case 123*h:l[u++]=Zn(S)*y;case 125*h:case 59:case 0:switch(g){case 0:case 125:v=0;case 59+c:-1==y&&(S=Gn(S,/\f/g,"")),p>0&&Zn(S)-d&&tr(p>32?_r(S+";",r,n,d-1):_r(Gn(S," ","")+";",r,n,d-2),s);break;case 59:S+=";";default:if(tr(k=Tr(S,t,n,u,c,o,l,b,w=[],x=[],d),a),123===g)if(0===c)Cr(S,t,k,k,w,a,d,l,x);else switch(99===f&&110===Xn(S,3)?100:f){case 100:case 108:case 109:case 115:Cr(e,k,k,r&&tr(Tr(e,k,k,0,0,o,l,b,o,w=[],d),x),o,x,d,l,r?w:x);break;default:Cr(S,k,k,k,[""],x,0,l,x)}}u=c=p=0,h=y=1,b=S="",d=i;break;case 58:d=1+Zn(S),p=m;default:if(h<1)if(123==g)--h;else if(125==g&&0==h++&&125==cr())continue;switch(S+=qn(g),g*h){case 38:y=c>0?1:(S+="\f",-1);break;case 44:l[u++]=(Zn(S)-1)*y,y=1;break;case 64:45===fr()&&(S+=gr(dr())),f=fr(),c=d=Zn(b=S+=Sr(pr())),g++;break;case 45:45===m&&2==Zn(S)&&(h=0)}}return a}function Tr(e,t,n,r,o,a,i,l,s,u,c){for(var d=o-1,f=0===o?a:[""],p=er(f),m=0,h=0,v=0;m<r;++m)for(var y=0,g=Jn(e,d+1,d=Hn(h=i[m])),b=e;y<p;++y)(b=Kn(h>0?f[y]+" "+g:Gn(g,/&\f/g,f[y])))&&(s[v++]=b);return sr(e,t,n,0===o?Un:l,s,u,c)}function Or(e,t,n){return sr(e,t,n,Vn,qn(ir),Jn(e,2,-2),0)}function _r(e,t,n,r){return sr(e,t,n,Bn,Jn(e,0,r),Jn(e,r+1,-1),r)}function Nr(e,t){for(var n="",r=er(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function Rr(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case Bn:return e.return=e.return||e.value;case Vn:return"";case Wn:return e.return=e.value+"{"+Nr(e.children,r)+"}";case Un:e.value=e.props.join(",")}return Zn(n=Nr(e.children,r))?e.return=e.value+"{"+n+"}":""}function Mr(e){var t=er(e);return function(n,r,o,a){for(var i="",l=0;l<t;l++)i+=e[l](n,r,o,a)||"";return i}}var Pr=function(e,t,n){for(var r=0,o=0;r=o,o=fr(),38===r&&12===o&&(t[n]=1),!hr(o);)dr();return mr(e,ar)},Dr=function(e,t){return yr(function(e,t){var n=-1,r=44;do{switch(hr(r)){case 0:38===r&&12===fr()&&(t[n]=1),e[n]+=Pr(ar-1,t,n);break;case 2:e[n]+=gr(r);break;case 4:if(44===r){e[++n]=58===fr()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=qn(r)}}while(r=dr());return e}(vr(e),t))},Ir=new WeakMap,jr=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Ir.get(n))&&!r){Ir.set(e,!0);for(var o=[],a=Dr(t,o),i=n.props,l=0,s=0;l<a.length;l++)for(var u=0;u<i.length;u++,s++)e.props[s]=o[l]?a[l].replace(/&\f/g,i[u]):i[u]+" "+a[l]}}},Lr=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},zr=function(e){return"comm"===e.type&&e.children.indexOf("emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason")>-1},$r=function(e){return 105===e.type.charCodeAt(1)&&64===e.type.charCodeAt(0)},Ar=function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},Fr=function(e,t,n){$r(e)&&(e.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),Ar(e)):function(e,t){for(var n=e-1;n>=0;n--)if(!$r(t[n]))return!0;return!1}(t,n)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),Ar(e)))};function Vr(e,t){switch(function(e,t){return 45^Xn(e,0)?(((t<<2^Xn(e,0))<<2^Xn(e,1))<<2^Xn(e,2))<<2^Xn(e,3):0}(e,t)){case 5103:return Fn+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Fn+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Fn+e+An+e+$n+e+e;case 6828:case 4268:return Fn+e+$n+e+e;case 6165:return Fn+e+$n+"flex-"+e+e;case 5187:return Fn+e+Gn(e,/(\w+).+(:[^]+)/,Fn+"box-$1$2"+$n+"flex-$1$2")+e;case 5443:return Fn+e+$n+"flex-item-"+Gn(e,/flex-|-self/,"")+e;case 4675:return Fn+e+$n+"flex-line-pack"+Gn(e,/align-content|flex-|-self/,"")+e;case 5548:return Fn+e+$n+Gn(e,"shrink","negative")+e;case 5292:return Fn+e+$n+Gn(e,"basis","preferred-size")+e;case 6060:return Fn+"box-"+Gn(e,"-grow","")+Fn+e+$n+Gn(e,"grow","positive")+e;case 4554:return Fn+Gn(e,/([^-])(transform)/g,"$1"+Fn+"$2")+e;case 6187:return Gn(Gn(Gn(e,/(zoom-|grab)/,Fn+"$1"),/(image-set)/,Fn+"$1"),e,"")+e;case 5495:case 3959:return Gn(e,/(image-set\([^]*)/,Fn+"$1$`$1");case 4968:return Gn(Gn(e,/(.+:)(flex-)?(.*)/,Fn+"box-pack:$3"+$n+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Fn+e+e;case 4095:case 3583:case 4068:case 2532:return Gn(e,/(.+)-inline(.+)/,Fn+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Zn(e)-1-t>6)switch(Xn(e,t+1)){case 109:if(45!==Xn(e,t+4))break;case 102:return Gn(e,/(.+:)(.+)-([^]+)/,"$1"+Fn+"$2-$3$1"+An+(108==Xn(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Qn(e,"stretch")?Vr(Gn(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Xn(e,t+1))break;case 6444:switch(Xn(e,Zn(e)-3-(~Qn(e,"!important")&&10))){case 107:return Gn(e,":",":"+Fn)+e;case 101:return Gn(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Fn+(45===Xn(e,14)?"inline-":"")+"box$3$1"+Fn+"$2$3$1"+$n+"$2box$3")+e}break;case 5936:switch(Xn(e,t+11)){case 114:return Fn+e+$n+Gn(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Fn+e+$n+Gn(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Fn+e+$n+Gn(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Fn+e+$n+e+e}return e}var Ur,Br="undefined"!=typeof document,Wr=Br?void 0:function(e){var t=new WeakMap;return function(n){if(t.has(n))return t.get(n);var r=e(n);return t.set(n,r),r}}((function(){return In((function(){var e={};return function(t){return e[t]}}))})),Hr=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case Bn:e.return=Vr(e.value,e.length);break;case Wn:return Nr([ur(e,{value:Gn(e.value,"@","@"+Fn)})],r);case Un:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Nr([ur(e,{props:[Gn(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return Nr([ur(e,{props:[Gn(t,/:(plac\w+)/,":"+Fn+"input-$1")]}),ur(e,{props:[Gn(t,/:(plac\w+)/,":-moz-$1")]}),ur(e,{props:[Gn(t,/:(plac\w+)/,$n+"input-$1")]})],r)}return""}))}}],qr=function(e){var t=e.key;if("production"!==process.env.NODE_ENV&&!t)throw new Error("You have to configure `key` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.\nIf multiple caches share the same key they might \"fight\" for each other's style elements.");if(Br&&"css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r=e.stylisPlugins||Hr;if("production"!==process.env.NODE_ENV&&/[^a-z-]/.test(t))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+t+'" was passed');var o,a,i={},l=[];Br&&(o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)i[t[n]]=!0;l.push(e)})));var s,u=[jr,Lr];if("production"!==process.env.NODE_ENV&&u.push(function(e){return function(t,n,r){if("rule"===t.type&&!e.compat){var o=t.value.match(/(:first|:nth|:nth-last)-child/g);if(o){for(var a=t.parent?t.parent.children:r,i=a.length-1;i>=0;i--){var l=a[i];if(l.line<t.line)break;if(l.column<t.column){if(zr(l))return;break}}o.forEach((function(e){console.error('The pseudo class "'+e+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+e.split("-child")[0]+'-of-type".')}))}}}}({get compat(){return y.compat}}),Fr),Br){var c,d=[Rr,"production"!==process.env.NODE_ENV?function(e){e.root||(e.return?c.insert(e.return):e.value&&e.type!==Vn&&c.insert(e.value+"{}"))}:(s=function(e){c.insert(e)},function(e){e.root||(e=e.return)&&s(e)})],f=Mr(u.concat(r,d));a=function(e,t,n,r){c=n,"production"!==process.env.NODE_ENV&&void 0!==t.map&&(c={insert:function(e){n.insert(e+t.map)}}),function(e){Nr(Er(e),f)}(e?e+"{"+t.styles+"}":t.styles),r&&(y.inserted[t.name]=!0)}}else{var p=[Rr],m=Mr(u.concat(r,p)),h=Wr(r)(t),v=function(e,t){var n=t.name;return void 0===h[n]&&(h[n]=function(e){return Nr(Er(e),m)}(e?e+"{"+t.styles+"}":t.styles)),h[n]};a=function(e,t,n,r){var o=t.name,a=v(e,t);return void 0===y.compat?(r&&(y.inserted[o]=!0),"development"===process.env.NODE_ENV&&void 0!==t.map?a+t.map:a):r?void(y.inserted[o]=a):a}}var y={key:t,sheet:new zn({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:a};return y.sheet.hydrate(l),y},Yr={exports:{}},Kr={};var Gr,Qr={};"production"===process.env.NODE_ENV?Yr.exports=function(){if(Ur)return Kr;Ur=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,s=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,c=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,h=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,y=e?Symbol.for("react.responder"):60118,g=e?Symbol.for("react.scope"):60119;function b(e){if("object"==typeof e&&null!==e){var f=e.$$typeof;switch(f){case t:switch(e=e.type){case s:case u:case r:case a:case o:case d:return e;default:switch(e=e&&e.$$typeof){case l:case c:case m:case p:case i:return e;default:return f}}case n:return f}}}function w(e){return b(e)===u}return Kr.AsyncMode=s,Kr.ConcurrentMode=u,Kr.ContextConsumer=l,Kr.ContextProvider=i,Kr.Element=t,Kr.ForwardRef=c,Kr.Fragment=r,Kr.Lazy=m,Kr.Memo=p,Kr.Portal=n,Kr.Profiler=a,Kr.StrictMode=o,Kr.Suspense=d,Kr.isAsyncMode=function(e){return w(e)||b(e)===s},Kr.isConcurrentMode=w,Kr.isContextConsumer=function(e){return b(e)===l},Kr.isContextProvider=function(e){return b(e)===i},Kr.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Kr.isForwardRef=function(e){return b(e)===c},Kr.isFragment=function(e){return b(e)===r},Kr.isLazy=function(e){return b(e)===m},Kr.isMemo=function(e){return b(e)===p},Kr.isPortal=function(e){return b(e)===n},Kr.isProfiler=function(e){return b(e)===a},Kr.isStrictMode=function(e){return b(e)===o},Kr.isSuspense=function(e){return b(e)===d},Kr.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===u||e===a||e===o||e===d||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===p||e.$$typeof===i||e.$$typeof===l||e.$$typeof===c||e.$$typeof===v||e.$$typeof===y||e.$$typeof===g||e.$$typeof===h)},Kr.typeOf=b,Kr}():Yr.exports=(Gr||(Gr=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,s=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,c=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,h=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,y=e?Symbol.for("react.responder"):60118,g=e?Symbol.for("react.scope"):60119;function b(e){if("object"==typeof e&&null!==e){var f=e.$$typeof;switch(f){case t:var h=e.type;switch(h){case s:case u:case r:case a:case o:case d:return h;default:var v=h&&h.$$typeof;switch(v){case l:case c:case m:case p:case i:return v;default:return f}}case n:return f}}}var w=s,x=u,k=l,S=i,E=t,C=c,T=r,O=m,_=p,N=n,R=a,M=o,P=d,D=!1;function I(e){return b(e)===u}Qr.AsyncMode=w,Qr.ConcurrentMode=x,Qr.ContextConsumer=k,Qr.ContextProvider=S,Qr.Element=E,Qr.ForwardRef=C,Qr.Fragment=T,Qr.Lazy=O,Qr.Memo=_,Qr.Portal=N,Qr.Profiler=R,Qr.StrictMode=M,Qr.Suspense=P,Qr.isAsyncMode=function(e){return D||(D=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),I(e)||b(e)===s},Qr.isConcurrentMode=I,Qr.isContextConsumer=function(e){return b(e)===l},Qr.isContextProvider=function(e){return b(e)===i},Qr.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Qr.isForwardRef=function(e){return b(e)===c},Qr.isFragment=function(e){return b(e)===r},Qr.isLazy=function(e){return b(e)===m},Qr.isMemo=function(e){return b(e)===p},Qr.isPortal=function(e){return b(e)===n},Qr.isProfiler=function(e){return b(e)===a},Qr.isStrictMode=function(e){return b(e)===o},Qr.isSuspense=function(e){return b(e)===d},Qr.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===u||e===a||e===o||e===d||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===p||e.$$typeof===i||e.$$typeof===l||e.$$typeof===c||e.$$typeof===v||e.$$typeof===y||e.$$typeof===g||e.$$typeof===h)},Qr.typeOf=b}()),Qr);var Xr=Yr.exports,Jr={};Jr[Xr.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Jr[Xr.Memo]={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0};var Zr="undefined"!=typeof document;function eo(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}var to=function(e,t,n){var r=e.key+"-"+t.name;(!1===n||!1===Zr&&void 0!==e.compat)&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},no=function(e,t,n){to(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o="",a=t;do{var i=e.insert(t===a?"."+r:"",a,e.sheet,!0);Zr||void 0===i||(o+=i),a=a.next}while(void 0!==a);if(!Zr&&0!==o.length)return o}};var ro={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},oo="You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences",ao="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",io=/[A-Z]|^ms/g,lo=/_EMO_([^_]+?)_([^]*?)_EMO_/g,so=function(e){return 45===e.charCodeAt(1)},uo=function(e){return null!=e&&"boolean"!=typeof e},co=In((function(e){return so(e)?e:e.replace(io,"-$&").toLowerCase()})),fo=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(lo,(function(e,t,n){return ko={name:t,styles:n,next:ko},t}))}return 1===ro[e]||so(e)||"number"!=typeof t||0===t?t:t+"px"};if("production"!==process.env.NODE_ENV){var po=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,mo=["normal","none","initial","inherit","unset"],ho=fo,vo=/^-ms-/,yo=/-(.)/g,go={};fo=function(e,t){if("content"===e&&("string"!=typeof t||-1===mo.indexOf(t)&&!po.test(t)&&(t.charAt(0)!==t.charAt(t.length-1)||'"'!==t.charAt(0)&&"'"!==t.charAt(0))))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+t+"\"'`");var n=ho(e,t);return""===n||so(e)||-1===e.indexOf("-")||void 0!==go[e]||(go[e]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+e.replace(vo,"ms-").replace(yo,(function(e,t){return t.toUpperCase()}))+"?")),n}}var bo="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function wo(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles){if("production"!==process.env.NODE_ENV&&"NO_COMPONENT_SELECTOR"===String(r))throw new Error(bo);return r}switch(typeof n){case"boolean":return"";case"object":var o=n;if(1===o.anim)return ko={name:o.name,styles:o.styles,next:ko},o.name;var a=n;if(void 0!==a.styles){var i=a.next;if(void 0!==i)for(;void 0!==i;)ko={name:i.name,styles:i.styles,next:ko},i=i.next;var l=a.styles+";";return"production"!==process.env.NODE_ENV&&void 0!==a.map&&(l+=a.map),l}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=wo(e,t,n[o])+";";else for(var a in n){var i=n[a];if("object"!=typeof i){var l=i;null!=t&&void 0!==t[l]?r+=a+"{"+t[l]+"}":uo(l)&&(r+=co(a)+":"+fo(a,l)+";")}else{if("NO_COMPONENT_SELECTOR"===a&&"production"!==process.env.NODE_ENV)throw new Error(bo);if(!Array.isArray(i)||"string"!=typeof i[0]||null!=t&&void 0!==t[i[0]]){var s=wo(e,t,i);switch(a){case"animation":case"animationName":r+=co(a)+":"+s+";";break;default:"production"!==process.env.NODE_ENV&&"undefined"===a&&console.error(ao),r+=a+"{"+s+"}"}}else for(var u=0;u<i.length;u++)uo(i[u])&&(r+=co(a)+":"+fo(a,i[u])+";")}}return r}(e,t,n);case"function":if(void 0!==e){var s=ko,u=n(e);return ko=s,wo(e,t,u)}"production"!==process.env.NODE_ENV&&console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break;case"string":if("production"!==process.env.NODE_ENV){var c=[],d=n.replace(lo,(function(e,t,n){var r="animation"+c.length;return c.push("const "+r+" = keyframes`"+n.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+r+"}"}));c.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(c,["`"+d+"`"]).join("\n")+"\n\nYou should wrap it with `css` like this:\n\ncss`"+d+"`")}}var f=n;if(null==t)return f;var p=t[f];return void 0!==p?p:f}var xo,ko,So=/label:\s*([^\s;\n{]+)\s*(;|$)/g;function Eo(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";ko=void 0;var a,i=e[0];if(null==i||void 0===i.raw)r=!1,o+=wo(n,t,i);else{var l=i;"production"!==process.env.NODE_ENV&&void 0===l[0]&&console.error(oo),o+=l[0]}for(var s=1;s<e.length;s++)if(o+=wo(n,t,e[s]),r){var u=i;"production"!==process.env.NODE_ENV&&void 0===u[s]&&console.error(oo),o+=u[s]}"production"!==process.env.NODE_ENV&&(o=o.replace(xo,(function(e){return a=e,""}))),So.lastIndex=0;for(var c,d="";null!==(c=So.exec(o));)d+="-"+c[1];var f=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+d;return"production"!==process.env.NODE_ENV?{name:f,styles:o,map:a,next:ko,toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}}:{name:f,styles:o,next:ko}}"production"!==process.env.NODE_ENV&&(xo=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);var Co="undefined"!=typeof document,To=function(e){return e()},Oo=!!y.useInsertionEffect&&y.useInsertionEffect,_o=Co&&Oo||To,No=Oo||h.useLayoutEffect,Ro="undefined"!=typeof document,Mo={}.hasOwnProperty,Po=h.createContext("undefined"!=typeof HTMLElement?qr({key:"css"}):null);"production"!==process.env.NODE_ENV&&(Po.displayName="EmotionCacheContext");var Do=Po.Provider,Io=function(e){return h.forwardRef((function(t,n){var r=h.useContext(Po);return e(t,r,n)}))};Ro||(Io=function(e){return function(t){var n=h.useContext(Po);return null===n?(n=qr({key:"css"}),h.createElement(Po.Provider,{value:n},e(t,n))):e(t,n)}});var jo=h.createContext({});"production"!==process.env.NODE_ENV&&(jo.displayName="EmotionThemeContext");var Lo="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",zo="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",$o=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;to(t,n,r);var o=_o((function(){return no(t,n,r)}));if(!Ro&&void 0!==o){for(var a,i=n.name,l=n.next;void 0!==l;)i+=" "+l.name,l=l.next;return h.createElement("style",((a={})["data-emotion"]=t.key+" "+i,a.dangerouslySetInnerHTML={__html:o},a.nonce=t.sheet.nonce,a))}return null},Ao=Io((function(e,t,n){var r=e.css;"string"==typeof r&&void 0!==t.registered[r]&&(r=t.registered[r]);var o=e[Lo],a=[r],i="";"string"==typeof e.className?i=eo(t.registered,a,e.className):null!=e.className&&(i=e.className+" ");var l=Eo(a,void 0,h.useContext(jo));if("production"!==process.env.NODE_ENV&&-1===l.name.indexOf("-")){var s=e[zo];s&&(l=Eo([l,"label:"+s+";"]))}i+=t.key+"-"+l.name;var u={};for(var c in e)!Mo.call(e,c)||"css"===c||c===Lo||"production"!==process.env.NODE_ENV&&c===zo||(u[c]=e[c]);return u.ref=n,u.className=i,h.createElement(h.Fragment,null,h.createElement($o,{cache:t,serialized:l,isStringTag:"string"==typeof o}),h.createElement(o,u))}));"production"!==process.env.NODE_ENV&&(Ao.displayName="EmotionCssPropInternal");var Fo=!1,Vo=Io((function(e,t){"production"===process.env.NODE_ENV||Fo||!e.className&&!e.css||(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),Fo=!0);var n=Eo([e.styles],void 0,h.useContext(jo));if(!Ro){for(var r,o=n.name,a=n.styles,i=n.next;void 0!==i;)o+=" "+i.name,a+=i.styles,i=i.next;var l=!0===t.compat,s=t.insert("",{name:o,styles:a},t.sheet,l);return l?null:h.createElement("style",((r={})["data-emotion"]=t.key+"-global "+o,r.dangerouslySetInnerHTML={__html:s},r.nonce=t.sheet.nonce,r))}var u=h.useRef();return No((function(){var e=t.key+"-global",r=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),o=!1,a=document.querySelector('style[data-emotion="'+e+" "+n.name+'"]');return t.sheet.tags.length&&(r.before=t.sheet.tags[0]),null!==a&&(o=!0,a.setAttribute("data-emotion",e),r.hydrate([a])),u.current=[r,o],function(){r.flush()}}),[t]),No((function(){var e=u.current,r=e[0];if(e[1])e[1]=!1;else{if(void 0!==n.next&&no(t,n.next,!0),r.tags.length){var o=r.tags[r.tags.length-1].nextElementSibling;r.before=o,r.flush()}t.insert("",n,r,!1)}}),[t,n.name]),null}));function Uo(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Eo(t)}"production"!==process.env.NODE_ENV&&(Vo.displayName="EmotionGlobal");var Bo=function(){var e=Uo.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},Wo=function e(t){for(var n=t.length,r=0,o="";r<n;r++){var a=t[r];if(null!=a){var i=void 0;switch(typeof a){case"boolean":break;case"object":if(Array.isArray(a))i=e(a);else for(var l in"production"!==process.env.NODE_ENV&&void 0!==a.styles&&void 0!==a.name&&console.error("You have passed styles created with `css` from `@emotion/react` package to the `cx`.\n`cx` is meant to compose class names (strings) so you should convert those styles to a class name by passing them to the `css` received from <ClassNames/> component."),i="",a)a[l]&&l&&(i&&(i+=" "),i+=l);break;default:i=a}i&&(o&&(o+=" "),o+=i)}}return o};var Ho=function(e){var t,n=e.cache,r=e.serializedArr,o=_o((function(){for(var e="",t=0;t<r.length;t++){var o=no(n,r[t],!1);Ro||void 0===o||(e+=o)}if(!Ro)return e}));return Ro||0===o.length?null:h.createElement("style",((t={})["data-emotion"]=n.key+" "+r.map((function(e){return e.name})).join(" "),t.dangerouslySetInnerHTML={__html:o},t.nonce=n.sheet.nonce,t))},qo=Io((function(e,t){var n=!1,r=[],o=function(){if(n&&"production"!==process.env.NODE_ENV)throw new Error("css can only be used during render");for(var e=arguments.length,o=new Array(e),a=0;a<e;a++)o[a]=arguments[a];var i=Eo(o,t.registered);return r.push(i),to(t,i,!1),t.key+"-"+i.name},a={css:o,cx:function(){if(n&&"production"!==process.env.NODE_ENV)throw new Error("cx can only be used during render");for(var e=arguments.length,r=new Array(e),a=0;a<e;a++)r[a]=arguments[a];return function(e,t,n){var r=[],o=eo(e,r,n);return r.length<2?n:o+t(r)}(t.registered,o,Wo(r))},theme:h.useContext(jo)},i=e.children(a);return n=!0,h.createElement(h.Fragment,null,h.createElement(Ho,{cache:t,serializedArr:r}),i)}));if("production"!==process.env.NODE_ENV&&(qo.displayName="EmotionClassNames"),"production"!==process.env.NODE_ENV){var Yo="undefined"!=typeof document,Ko="undefined"!=typeof jest||"undefined"!=typeof vi;if(Yo&&!Ko){var Go="undefined"!=typeof globalThis?globalThis:Yo?window:global,Qo="__EMOTION_REACT_"+"11.11.4".split(".")[0]+"__";Go[Qo]&&console.warn("You are loading @emotion/react when it is already loaded. Running multiple instances may cause problems. This can happen if multiple versions are used, or if multiple builds of the same version are used."),Go[Qo]=!0}}var Xo=Ln,Jo=function(e){return"theme"!==e},Zo=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?Xo:Jo},ea=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},ta="You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences",na="undefined"!=typeof document,ra=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;to(t,n,r);var o=_o((function(){return no(t,n,r)}));if(!na&&void 0!==o){for(var a,i=n.name,l=n.next;void 0!==l;)i+=" "+l.name,l=l.next;return h.createElement("style",((a={})["data-emotion"]=t.key+" "+i,a.dangerouslySetInnerHTML={__html:o},a.nonce=t.sheet.nonce,a))}return null},oa=function e(t,n){if("production"!==process.env.NODE_ENV&&void 0===t)throw new Error("You are trying to create a styled element with an undefined component.\nYou may have forgotten to import it.");var r,o,a=t.__emotion_real===t,i=a&&t.__emotion_base||t;void 0!==n&&(r=n.label,o=n.target);var l=ea(t,n,a),s=l||Zo(i),u=!s("as");return function(){var c=arguments,d=a&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==r&&d.push("label:"+r+";"),null==c[0]||void 0===c[0].raw)d.push.apply(d,c);else{"production"!==process.env.NODE_ENV&&void 0===c[0][0]&&console.error(ta),d.push(c[0][0]);for(var f=c.length,p=1;p<f;p++)"production"!==process.env.NODE_ENV&&void 0===c[0][p]&&console.error(ta),d.push(c[p],c[0][p])}var m=Io((function(e,t,n){var r=u&&e.as||i,a="",c=[],f=e;if(null==e.theme){for(var p in f={},e)f[p]=e[p];f.theme=h.useContext(jo)}"string"==typeof e.className?a=eo(t.registered,c,e.className):null!=e.className&&(a=e.className+" ");var m=Eo(d.concat(c),t.registered,f);a+=t.key+"-"+m.name,void 0!==o&&(a+=" "+o);var v=u&&void 0===l?Zo(r):s,y={};for(var g in e)u&&"as"===g||v(g)&&(y[g]=e[g]);return y.className=a,y.ref=n,h.createElement(h.Fragment,null,h.createElement(ra,{cache:t,serialized:m,isStringTag:"string"==typeof r}),h.createElement(r,y))}));return m.displayName=void 0!==r?r:"Styled("+("string"==typeof i?i:i.displayName||i.name||"Component")+")",m.defaultProps=t.defaultProps,m.__emotion_real=m,m.__emotion_base=i,m.__emotion_styles=d,m.__emotion_forwardProp=l,Object.defineProperty(m,"toString",{value:function(){return void 0===o&&"production"!==process.env.NODE_ENV?"NO_COMPONENT_SELECTOR":"."+o}}),m.withComponent=function(t,r){return e(t,pt({},n,r,{shouldForwardProp:ea(m,r,!0)})).apply(void 0,d)},m}}.bind();let aa;function ia(e){const{injectFirst:t,children:n}=e;return t&&aa?Cn.jsx(Do,{value:aa,children:n}):n}function la(e){const{styles:t,defaultTheme:n={}}=e,r="function"==typeof t?e=>{return t(null==(r=e)||0===Object.keys(r).length?n:e);var r}:t;return Cn.jsx(Vo,{styles:r})}function sa(e,t){const n=oa(e,t);return"production"!==process.env.NODE_ENV?(...t)=>{const r="string"==typeof e?`"${e}"`:"component";return 0===t.length?console.error([`MUI: Seems like you called \`styled(${r})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join("\n")):t.some((e=>void 0===e))&&console.error(`MUI: the styled(${r})(...args) API requires all its args to be defined.`),n(...t)}:n}["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){oa[e]=oa(e)})),"object"==typeof document&&(aa=qr({key:"css",prepend:!0})),"production"!==process.env.NODE_ENV&&(ia.propTypes={children:$t.node,injectFirst:$t.bool}),"production"!==process.env.NODE_ENV&&(la.propTypes={defaultTheme:$t.object,styles:$t.oneOfType([$t.array,$t.string,$t.object,$t.func])});const ua=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))};var ca=s(Object.freeze({__proto__:null,GlobalStyles:la,StyledEngineProvider:ia,ThemeContext:jo,css:Uo,default:sa,internal_processStyles:ua,keyframes:Bo}));function da(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function fa(e){if(!da(e))return e;const t={};return Object.keys(e).forEach((n=>{t[n]=fa(e[n])})),t}function pa(e,t,n={clone:!0}){const r=n.clone?pt({},e):e;return da(e)&&da(t)&&Object.keys(t).forEach((o=>{da(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&da(e[o])?r[o]=pa(e[o],t[o],n):n.clone?r[o]=da(t[o])?fa(t[o]):t[o]:r[o]=t[o]})),r}var ma,ha=s(Object.freeze({__proto__:null,default:pa,isPlainObject:da})),va=s(hn),ya={exports:{}},ga={};var ba,wa={};"production"===process.env.NODE_ENV?ya.exports=function(){if(ma)return ga;ma=1;var e,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),l=Symbol.for("react.context"),s=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen");function h(e){if("object"==typeof e&&null!==e){var m=e.$$typeof;switch(m){case t:switch(e=e.type){case r:case a:case o:case c:case d:return e;default:switch(e=e&&e.$$typeof){case s:case l:case u:case p:case f:case i:return e;default:return m}}case n:return m}}}return e=Symbol.for("react.module.reference"),ga.ContextConsumer=l,ga.ContextProvider=i,ga.Element=t,ga.ForwardRef=u,ga.Fragment=r,ga.Lazy=p,ga.Memo=f,ga.Portal=n,ga.Profiler=a,ga.StrictMode=o,ga.Suspense=c,ga.SuspenseList=d,ga.isAsyncMode=function(){return!1},ga.isConcurrentMode=function(){return!1},ga.isContextConsumer=function(e){return h(e)===l},ga.isContextProvider=function(e){return h(e)===i},ga.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},ga.isForwardRef=function(e){return h(e)===u},ga.isFragment=function(e){return h(e)===r},ga.isLazy=function(e){return h(e)===p},ga.isMemo=function(e){return h(e)===f},ga.isPortal=function(e){return h(e)===n},ga.isProfiler=function(e){return h(e)===a},ga.isStrictMode=function(e){return h(e)===o},ga.isSuspense=function(e){return h(e)===c},ga.isSuspenseList=function(e){return h(e)===d},ga.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===r||t===a||t===o||t===c||t===d||t===m||"object"==typeof t&&null!==t&&(t.$$typeof===p||t.$$typeof===f||t.$$typeof===i||t.$$typeof===l||t.$$typeof===u||t.$$typeof===e||void 0!==t.getModuleId)},ga.typeOf=h,ga}():ya.exports=(ba||(ba=1,"production"!==process.env.NODE_ENV&&function(){var e,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),l=Symbol.for("react.context"),s=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen");function h(e){if("object"==typeof e&&null!==e){var m=e.$$typeof;switch(m){case t:var h=e.type;switch(h){case r:case a:case o:case c:case d:return h;default:var v=h&&h.$$typeof;switch(v){case s:case l:case u:case p:case f:case i:return v;default:return m}}case n:return m}}}e=Symbol.for("react.module.reference");var v=l,y=i,g=t,b=u,w=r,x=p,k=f,S=n,E=a,C=o,T=c,O=d,_=!1,N=!1;wa.ContextConsumer=v,wa.ContextProvider=y,wa.Element=g,wa.ForwardRef=b,wa.Fragment=w,wa.Lazy=x,wa.Memo=k,wa.Portal=S,wa.Profiler=E,wa.StrictMode=C,wa.Suspense=T,wa.SuspenseList=O,wa.isAsyncMode=function(e){return _||(_=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1},wa.isConcurrentMode=function(e){return N||(N=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1},wa.isContextConsumer=function(e){return h(e)===l},wa.isContextProvider=function(e){return h(e)===i},wa.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},wa.isForwardRef=function(e){return h(e)===u},wa.isFragment=function(e){return h(e)===r},wa.isLazy=function(e){return h(e)===p},wa.isMemo=function(e){return h(e)===f},wa.isPortal=function(e){return h(e)===n},wa.isProfiler=function(e){return h(e)===a},wa.isStrictMode=function(e){return h(e)===o},wa.isSuspense=function(e){return h(e)===c},wa.isSuspenseList=function(e){return h(e)===d},wa.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===r||t===a||t===o||t===c||t===d||t===m||"object"==typeof t&&null!==t&&(t.$$typeof===p||t.$$typeof===f||t.$$typeof===i||t.$$typeof===l||t.$$typeof===u||t.$$typeof===e||void 0!==t.getModuleId)},wa.typeOf=h}()),wa);var xa=ya.exports;const ka=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function Sa(e){const t=`${e}`.match(ka);return t&&t[1]||""}function Ea(e,t=""){return e.displayName||e.name||Sa(e)||t}function Ca(e,t,n){const r=Ea(t);return e.displayName||(""!==r?`${n}(${r})`:n)}function Ta(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return Ea(e,"Component");if("object"==typeof e)switch(e.$$typeof){case xa.ForwardRef:return Ca(e,e.render,"ForwardRef");case xa.Memo:return Ca(e,e.type,"memo");default:return}}}var Oa=s(Object.freeze({__proto__:null,default:Ta,getFunctionName:Sa}));const _a=["values","unit","step"],Na=e=>{const t=Object.keys(e).map((t=>({key:t,val:e[t]})))||[];return t.sort(((e,t)=>e.val-t.val)),t.reduce(((e,t)=>pt({},e,{[t.key]:t.val})),{})};function Ra(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=ft(e,_a),a=Na(t),i=Object.keys(a);function l(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n})`}function s(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-r/100}${n})`}function u(e,o){const a=i.indexOf(o);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n}) and (max-width:${(-1!==a&&"number"==typeof t[i[a]]?t[i[a]]:o)-r/100}${n})`}return pt({keys:i,values:a,up:l,down:s,between:u,only:function(e){return i.indexOf(e)+1<i.length?u(e,i[i.indexOf(e)+1]):l(e)},not:function(e){const t=i.indexOf(e);return 0===t?l(i[1]):t===i.length-1?s(i[t]):u(e,i[i.indexOf(e)+1]).replace("@media","@media not all and")},unit:n},o)}const Ma={borderRadius:4},Pa="production"!==process.env.NODE_ENV?$t.oneOfType([$t.number,$t.string,$t.object,$t.array]):{};function Da(e,t){return t?pa(e,t,{clone:!1}):e}const Ia={xs:0,sm:600,md:900,lg:1200,xl:1536},ja={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Ia[e]}px)`};function La(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const e=r.breakpoints||ja;return t.reduce(((r,o,a)=>(r[e.up(e.keys[a])]=n(t[a]),r)),{})}if("object"==typeof t){const e=r.breakpoints||ja;return Object.keys(t).reduce(((r,o)=>{if(-1!==Object.keys(e.values||Ia).indexOf(o)){r[e.up(o)]=n(t[o],o)}else{const e=o;r[e]=t[e]}return r}),{})}return n(t)}function za(e={}){var t;return(null==(t=e.keys)?void 0:t.reduce(((t,n)=>(t[e.up(n)]={},t)),{}))||{}}function $a(e,t){return e.reduce(((e,t)=>{const n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e}),t)}function Aa({values:e,breakpoints:t,base:n}){const r=n||function(e,t){if("object"!=typeof e)return{};const n={},r=Object.keys(t);return Array.isArray(e)?r.forEach(((t,r)=>{r<e.length&&(n[t]=!0)})):r.forEach((t=>{null!=e[t]&&(n[t]=!0)})),n}(e,t),o=Object.keys(r);if(0===o.length)return e;let a;return o.reduce(((t,n,r)=>(Array.isArray(e)?(t[n]=null!=e[r]?e[r]:e[a],a=r):"object"==typeof e?(t[n]=null!=e[n]?e[n]:e[a],a=n):t[n]=e,t)),{})}function Fa(e,t,n=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&n){const n=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=n)return n}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function Va(e,t,n,r=n){let o;return o="function"==typeof e?e(n):Array.isArray(e)?e[n]||r:Fa(e,n)||r,t&&(o=t(o,r,e)),o}function Ua(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,a=e=>{if(null==e[t])return null;const a=e[t],i=Fa(e.theme,r)||{};return La(e,a,(e=>{let r=Va(i,o,e);return e===r&&"string"==typeof e&&(r=Va(i,o,`${t}${"default"===e?"":mn(e)}`,e)),!1===n?r:{[n]:r}}))};return a.propTypes="production"!==process.env.NODE_ENV?{[t]:Pa}:{},a.filterProps=[t],a}const Ba={m:"margin",p:"padding"},Wa={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Ha={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},qa=function(e){const t={};return n=>(void 0===t[n]&&(t[n]=e(n)),t[n])}((e=>{if(e.length>2){if(!Ha[e])return[e];e=Ha[e]}const[t,n]=e.split(""),r=Ba[t],o=Wa[n]||"";return Array.isArray(o)?o.map((e=>r+e)):[r+o]})),Ya=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Ka=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],Ga=[...Ya,...Ka];function Qa(e,t,n,r){var o;const a=null!=(o=Fa(e,t,!1))?o:n;return"number"==typeof a?e=>"string"==typeof e?e:("production"!==process.env.NODE_ENV&&"number"!=typeof e&&console.error(`MUI: Expected ${r} argument to be a number or a string, got ${e}.`),a*e):Array.isArray(a)?e=>"string"==typeof e?e:("production"!==process.env.NODE_ENV&&(Number.isInteger(e)?e>a.length-1&&console.error([`MUI: The value provided (${e}) overflows.`,`The supported values are: ${JSON.stringify(a)}.`,`${e} > ${a.length-1}, you need to add the missing values.`].join("\n")):console.error([`MUI: The \`theme.${t}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${t}\` as a number.`].join("\n"))),a[e]):"function"==typeof a?a:("production"!==process.env.NODE_ENV&&console.error([`MUI: The \`theme.${t}\` value (${a}) is invalid.`,"It should be a number, an array or a function."].join("\n")),()=>{})}function Xa(e){return Qa(e,"spacing",8,"spacing")}function Ja(e,t){if("string"==typeof t||null==t)return t;const n=e(Math.abs(t));return t>=0?n:"number"==typeof n?-n:`-${n}`}function Za(e,t,n,r){if(-1===t.indexOf(n))return null;const o=function(e,t){return n=>e.reduce(((e,r)=>(e[r]=Ja(t,n),e)),{})}(qa(n),r);return La(e,e[n],o)}function ei(e,t){const n=Xa(e.theme);return Object.keys(e).map((r=>Za(e,t,r,n))).reduce(Da,{})}function ti(e){return ei(e,Ya)}function ni(e){return ei(e,Ka)}function ri(...e){const t=e.reduce(((e,t)=>(t.filterProps.forEach((n=>{e[n]=t})),e)),{}),n=e=>Object.keys(e).reduce(((n,r)=>t[r]?Da(n,t[r](e)):n),{});return n.propTypes="production"!==process.env.NODE_ENV?e.reduce(((e,t)=>Object.assign(e,t.propTypes)),{}):{},n.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),n}function oi(e){return"number"!=typeof e?e:`${e}px solid`}function ai(e,t){return Ua({prop:e,themeKey:"borders",transform:t})}ti.propTypes="production"!==process.env.NODE_ENV?Ya.reduce(((e,t)=>(e[t]=Pa,e)),{}):{},ti.filterProps=Ya,ni.propTypes="production"!==process.env.NODE_ENV?Ka.reduce(((e,t)=>(e[t]=Pa,e)),{}):{},ni.filterProps=Ka,"production"===process.env.NODE_ENV||Ga.reduce(((e,t)=>(e[t]=Pa,e)),{});const ii=ai("border",oi),li=ai("borderTop",oi),si=ai("borderRight",oi),ui=ai("borderBottom",oi),ci=ai("borderLeft",oi),di=ai("borderColor"),fi=ai("borderTopColor"),pi=ai("borderRightColor"),mi=ai("borderBottomColor"),hi=ai("borderLeftColor"),yi=ai("outline",oi),gi=ai("outlineColor"),bi=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=Qa(e.theme,"shape.borderRadius",4,"borderRadius"),n=e=>({borderRadius:Ja(t,e)});return La(e,e.borderRadius,n)}return null};bi.propTypes="production"!==process.env.NODE_ENV?{borderRadius:Pa}:{},bi.filterProps=["borderRadius"],ri(ii,li,si,ui,ci,di,fi,pi,mi,hi,bi,yi,gi);const wi=e=>{if(void 0!==e.gap&&null!==e.gap){const t=Qa(e.theme,"spacing",8,"gap"),n=e=>({gap:Ja(t,e)});return La(e,e.gap,n)}return null};wi.propTypes="production"!==process.env.NODE_ENV?{gap:Pa}:{},wi.filterProps=["gap"];const xi=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=Qa(e.theme,"spacing",8,"columnGap"),n=e=>({columnGap:Ja(t,e)});return La(e,e.columnGap,n)}return null};xi.propTypes="production"!==process.env.NODE_ENV?{columnGap:Pa}:{},xi.filterProps=["columnGap"];const ki=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=Qa(e.theme,"spacing",8,"rowGap"),n=e=>({rowGap:Ja(t,e)});return La(e,e.rowGap,n)}return null};ki.propTypes="production"!==process.env.NODE_ENV?{rowGap:Pa}:{},ki.filterProps=["rowGap"];function Si(e,t){return"grey"===t?t:e}ri(wi,xi,ki,Ua({prop:"gridColumn"}),Ua({prop:"gridRow"}),Ua({prop:"gridAutoFlow"}),Ua({prop:"gridAutoColumns"}),Ua({prop:"gridAutoRows"}),Ua({prop:"gridTemplateColumns"}),Ua({prop:"gridTemplateRows"}),Ua({prop:"gridTemplateAreas"}),Ua({prop:"gridArea"}));function Ei(e){return e<=1&&0!==e?100*e+"%":e}ri(Ua({prop:"color",themeKey:"palette",transform:Si}),Ua({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Si}),Ua({prop:"backgroundColor",themeKey:"palette",transform:Si}));const Ci=Ua({prop:"width",transform:Ei}),Ti=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var n,r;const o=(null==(n=e.theme)||null==(n=n.breakpoints)||null==(n=n.values)?void 0:n[t])||Ia[t];return o?"px"!==(null==(r=e.theme)||null==(r=r.breakpoints)?void 0:r.unit)?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:Ei(t)}};return La(e,e.maxWidth,t)}return null};Ti.filterProps=["maxWidth"];const Oi=Ua({prop:"minWidth",transform:Ei}),_i=Ua({prop:"height",transform:Ei}),Ni=Ua({prop:"maxHeight",transform:Ei}),Ri=Ua({prop:"minHeight",transform:Ei});Ua({prop:"size",cssProperty:"width",transform:Ei}),Ua({prop:"size",cssProperty:"height",transform:Ei});ri(Ci,Ti,Oi,_i,Ni,Ri,Ua({prop:"boxSizing"}));const Mi={border:{themeKey:"borders",transform:oi},borderTop:{themeKey:"borders",transform:oi},borderRight:{themeKey:"borders",transform:oi},borderBottom:{themeKey:"borders",transform:oi},borderLeft:{themeKey:"borders",transform:oi},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:oi},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:bi},color:{themeKey:"palette",transform:Si},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Si},backgroundColor:{themeKey:"palette",transform:Si},p:{style:ni},pt:{style:ni},pr:{style:ni},pb:{style:ni},pl:{style:ni},px:{style:ni},py:{style:ni},padding:{style:ni},paddingTop:{style:ni},paddingRight:{style:ni},paddingBottom:{style:ni},paddingLeft:{style:ni},paddingX:{style:ni},paddingY:{style:ni},paddingInline:{style:ni},paddingInlineStart:{style:ni},paddingInlineEnd:{style:ni},paddingBlock:{style:ni},paddingBlockStart:{style:ni},paddingBlockEnd:{style:ni},m:{style:ti},mt:{style:ti},mr:{style:ti},mb:{style:ti},ml:{style:ti},mx:{style:ti},my:{style:ti},margin:{style:ti},marginTop:{style:ti},marginRight:{style:ti},marginBottom:{style:ti},marginLeft:{style:ti},marginX:{style:ti},marginY:{style:ti},marginInline:{style:ti},marginInlineStart:{style:ti},marginInlineEnd:{style:ti},marginBlock:{style:ti},marginBlockStart:{style:ti},marginBlockEnd:{style:ti},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:wi},rowGap:{style:ki},columnGap:{style:xi},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Ei},maxWidth:{style:Ti},minWidth:{transform:Ei},height:{transform:Ei},maxHeight:{transform:Ei},minHeight:{transform:Ei},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function Pi(){function e(e,t,n,r){const o={[e]:t,theme:n},a=r[e];if(!a)return{[e]:t};const{cssProperty:i=e,themeKey:l,transform:s,style:u}=a;if(null==t)return null;if("typography"===l&&"inherit"===t)return{[e]:t};const c=Fa(n,l)||{};if(u)return u(o);return La(o,t,(t=>{let n=Va(c,s,t);return t===n&&"string"==typeof t&&(n=Va(c,s,`${e}${"default"===t?"":mn(t)}`,t)),!1===i?n:{[i]:n}}))}return function t(n){var r;const{sx:o,theme:a={}}=n||{};if(!o)return null;const i=null!=(r=a.unstable_sxConfig)?r:Mi;function l(n){let r=n;if("function"==typeof n)r=n(a);else if("object"!=typeof n)return n;if(!r)return null;const o=za(a.breakpoints),l=Object.keys(o);let s=o;return Object.keys(r).forEach((n=>{const o=(l=r[n],u=a,"function"==typeof l?l(u):l);var l,u;if(null!=o)if("object"==typeof o)if(i[n])s=Da(s,e(n,o,a,i));else{const e=La({theme:a},o,(e=>({[n]:e})));!function(...e){const t=e.reduce(((e,t)=>e.concat(Object.keys(t))),[]),n=new Set(t);return e.every((e=>n.size===Object.keys(e).length))}(e,o)?s=Da(s,e):s[n]=t({sx:o,theme:a})}else s=Da(s,e(n,o,a,i))})),$a(l,s)}return Array.isArray(o)?o.map(l):l(o)}}const Di=Pi();function Ii(e,t){const n=this;if(n.vars&&"function"==typeof n.getColorSchemeSelector){const r=n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)");return{[r]:t}}return n.palette.mode===e?t:{}}Di.filterProps=["sx"];const ji=["breakpoints","palette","spacing","shape"];function Li(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:a={}}=e,i=ft(e,ji),l=Ra(n),s=function(e=8){if(e.mui)return e;const t=Xa({spacing:e}),n=(...e)=>("production"!==process.env.NODE_ENV&&(e.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${e.length}`)),(0===e.length?[1]:e).map((e=>{const n=t(e);return"number"==typeof n?`${n}px`:n})).join(" "));return n.mui=!0,n}(o);let u=pa({breakpoints:l,direction:"ltr",components:{},palette:pt({mode:"light"},r),spacing:s,shape:pt({},Ma,a)},i);return u.applyStyles=Ii,u=t.reduce(((e,t)=>pa(e,t)),u),u.unstable_sxConfig=pt({},Mi,null==i?void 0:i.unstable_sxConfig),u.unstable_sx=function(e){return Di({sx:e,theme:this})},u}var zi=s(Object.freeze({__proto__:null,default:Li,private_createBreakpoints:Ra,unstable_applyStyles:Ii}));const $i=["sx"],Ai=e=>{var t,n;const r={systemProps:{},otherProps:{}},o=null!=(t=null==e||null==(n=e.theme)?void 0:n.unstable_sxConfig)?t:Mi;return Object.keys(e).forEach((t=>{o[t]?r.systemProps[t]=e[t]:r.otherProps[t]=e[t]})),r};function Fi(e){const{sx:t}=e,n=ft(e,$i),{systemProps:r,otherProps:o}=Ai(n);let a;return a=Array.isArray(t)?[r,...t]:"function"==typeof t?(...e)=>{const n=t(...e);return da(n)?pt({},r,n):r}:pt({},r,t),pt({},o,{sx:a})}var Vi=s(Object.freeze({__proto__:null,default:Di,extendSxProp:Fi,unstable_createStyleFunctionSx:Pi,unstable_defaultSxConfig:Mi})),Ui=Wt;Object.defineProperty(Rn,"__esModule",{value:!0});var Bi=Rn.default=function(e={}){const{themeId:t,defaultTheme:n=rl,rootShouldForwardProp:r=nl,slotShouldForwardProp:o=nl}=e,a=e=>(0,Xi.default)((0,Wi.default)({},e,{theme:al((0,Wi.default)({},e,{defaultTheme:n,themeId:t}))}));return a.__mui_systemSx=!0,(e,i={})=>{(0,qi.internal_processStyles)(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:l,slot:s,skipVariantsResolver:u,skipSx:c,overridesResolver:d=il(ol(s))}=i,f=(0,Hi.default)(i,el),p=void 0!==u?u:s&&"Root"!==s&&"root"!==s||!1,m=c||!1;let h;"production"!==process.env.NODE_ENV&&l&&(h=`${l}-${ol(s||"Root")}`);let v=nl;"Root"===s||"root"===s?v=r:s?v=o:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(v=void 0);const y=(0,qi.default)(e,(0,Wi.default)({shouldForwardProp:v,label:h},f)),g=e=>"function"==typeof e&&e.__emotion_real!==e||(0,Yi.isPlainObject)(e)?r=>ll(e,(0,Wi.default)({},r,{theme:al({theme:r.theme,defaultTheme:n,themeId:t})})):e,b=(r,...o)=>{let i=g(r);const u=o?o.map(g):[];l&&d&&u.push((e=>{const r=al((0,Wi.default)({},e,{defaultTheme:n,themeId:t}));if(!r.components||!r.components[l]||!r.components[l].styleOverrides)return null;const o=r.components[l].styleOverrides,a={};return Object.entries(o).forEach((([t,n])=>{a[t]=ll(n,(0,Wi.default)({},e,{theme:r}))})),d(e,a)})),l&&!p&&u.push((e=>{var r;const o=al((0,Wi.default)({},e,{defaultTheme:n,themeId:t}));return ll({variants:null==o||null==(r=o.components)||null==(r=r[l])?void 0:r.variants},(0,Wi.default)({},e,{theme:o}))})),m||u.push(a);const c=u.length-o.length;if(Array.isArray(r)&&c>0){const e=new Array(c).fill("");i=[...r,...e],i.raw=[...r.raw,...e]}const f=y(i,...u);if("production"!==process.env.NODE_ENV){let t;l&&(t=`${l}${(0,Ki.default)(s||"")}`),void 0===t&&(t=`Styled(${(0,Gi.default)(e)})`),f.displayName=t}return e.muiName&&(f.muiName=e.muiName),f};return y.withConfig&&(b.withConfig=y.withConfig),b}};Rn.shouldForwardProp=nl,Rn.systemDefaultTheme=void 0;var Wi=Ui((Nn||(Nn=1,function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(null,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(Mn)),Mn.exports)),Hi=Ui((Pn||(Pn=1,function(e){e.exports=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n},e.exports.__esModule=!0,e.exports.default=e.exports}(Dn)),Dn.exports)),qi=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=tl(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(ca),Yi=ha,Ki=Ui(va),Gi=Ui(Oa),Qi=Ui(zi),Xi=Ui(Vi);const Ji=["ownerState"],Zi=["variants"],el=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function tl(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(tl=function(e){return e?n:t})(e)}function nl(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const rl=Rn.systemDefaultTheme=(0,Qi.default)(),ol=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function al({defaultTheme:e,theme:t,themeId:n}){return r=t,0===Object.keys(r).length?e:t[n]||t;var r}function il(e){return e?(t,n)=>n[e]:null}function ll(e,t){let{ownerState:n}=t,r=(0,Hi.default)(t,Ji);const o="function"==typeof e?e((0,Wi.default)({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap((e=>ll(e,(0,Wi.default)({ownerState:n},r))));if(o&&"object"==typeof o&&Array.isArray(o.variants)){const{variants:e=[]}=o;let t=(0,Hi.default)(o,Zi);return e.forEach((e=>{let o=!0;"function"==typeof e.props?o=e.props((0,Wi.default)({ownerState:n},r,n)):Object.keys(e.props).forEach((t=>{(null==n?void 0:n[t])!==e.props[t]&&r[t]!==e.props[t]&&(o=!1)})),o&&(Array.isArray(t)||(t=[t]),t.push("function"==typeof e.style?e.style((0,Wi.default)({ownerState:n},r,n)):e.style))})),t}return o}const sl=e=>e,ul=(()=>{let e=sl;return{configure(t){e=t},generate:t=>e(t),reset(){e=sl}}})(),cl={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function dl(e,t,n="Mui"){const r=cl[t];return r?`${n}-${r}`:`${ul.generate(e)}-${t}`}const fl={black:"#000",white:"#fff"},pl={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"},ml={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"},hl={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"},vl={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"},yl={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"},gl={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"},bl={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"},wl=["mode","contrastThreshold","tonalOffset"],xl={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:fl.white,default:fl.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},kl={text:{primary:fl.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:fl.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function Sl(e,t,n,r){const o=r.light||r,a=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=Zt(e.main,o):"dark"===t&&(e.dark=Xt(e.main,a)))}function El(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,o=ft(e,wl),a=e.primary||function(e="light"){return"dark"===e?{main:yl[200],light:yl[50],dark:yl[400]}:{main:yl[700],light:yl[400],dark:yl[800]}}(t),i=e.secondary||function(e="light"){return"dark"===e?{main:ml[200],light:ml[50],dark:ml[400]}:{main:ml[500],light:ml[300],dark:ml[700]}}(t),l=e.error||function(e="light"){return"dark"===e?{main:hl[500],light:hl[300],dark:hl[700]}:{main:hl[700],light:hl[400],dark:hl[800]}}(t),s=e.info||function(e="light"){return"dark"===e?{main:gl[400],light:gl[300],dark:gl[700]}:{main:gl[700],light:gl[500],dark:gl[900]}}(t),u=e.success||function(e="light"){return"dark"===e?{main:bl[400],light:bl[300],dark:bl[700]}:{main:bl[800],light:bl[500],dark:bl[900]}}(t),c=e.warning||function(e="light"){return"dark"===e?{main:vl[400],light:vl[300],dark:vl[700]}:{main:"#ed6c02",light:vl[500],dark:vl[900]}}(t);function d(e){const t=Jt(e,kl.text.primary)>=n?kl.text.primary:xl.text.primary;if("production"!==process.env.NODE_ENV){const n=Jt(e,t);n<3&&console.error([`MUI: The contrast ratio of ${n}:1 for ${t} on ${e}`,"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join("\n"))}return t}const f=({color:e,name:t,mainShade:n=500,lightShade:o=300,darkShade:a=700})=>{if(!(e=pt({},e)).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw new Error("production"!==process.env.NODE_ENV?`MUI: The color${t?` (${t})`:""} provided to augmentColor(color) is invalid.\nThe color object needs to have a \`main\` property or a \`${n}\` property.`:Ht(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw new Error("production"!==process.env.NODE_ENV?`MUI: The color${t?` (${t})`:""} provided to augmentColor(color) is invalid.\n\`color.main\` should be a string, but \`${JSON.stringify(e.main)}\` was provided instead.\n\nDid you intend to use one of the following approaches?\n\nimport { green } from "@mui/material/colors";\n\nconst theme1 = createTheme({ palette: {\n primary: green,\n} });\n\nconst theme2 = createTheme({ palette: {\n primary: { main: green[500] },\n} });`:Ht(12,t?` (${t})`:"",JSON.stringify(e.main)));return Sl(e,"light",o,r),Sl(e,"dark",a,r),e.contrastText||(e.contrastText=d(e.main)),e},p={dark:kl,light:xl};"production"!==process.env.NODE_ENV&&(p[t]||console.error(`MUI: The palette mode \`${t}\` is not supported.`));return pa(pt({common:pt({},fl),mode:t,primary:f({color:a,name:"primary"}),secondary:f({color:i,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:f({color:l,name:"error"}),warning:f({color:c,name:"warning"}),info:f({color:s,name:"info"}),success:f({color:u,name:"success"}),grey:pl,contrastThreshold:n,getContrastText:d,augmentColor:f,tonalOffset:r},p[t]),o)}const Cl=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const Tl={textTransform:"uppercase"},Ol='"Roboto", "Helvetica", "Arial", sans-serif';function _l(e,t){const n="function"==typeof t?t(e):t,{fontFamily:r=Ol,fontSize:o=14,fontWeightLight:a=300,fontWeightRegular:i=400,fontWeightMedium:l=500,fontWeightBold:s=700,htmlFontSize:u=16,allVariants:c,pxToRem:d}=n,f=ft(n,Cl);"production"!==process.env.NODE_ENV&&("number"!=typeof o&&console.error("MUI: `fontSize` is required to be a number."),"number"!=typeof u&&console.error("MUI: `htmlFontSize` is required to be a number."));const p=o/14,m=d||(e=>e/u*p+"rem"),h=(e,t,n,o,a)=>{return pt({fontFamily:r,fontWeight:e,fontSize:m(t),lineHeight:n},r===Ol?{letterSpacing:(i=o/t,Math.round(1e5*i)/1e5)+"em"}:{},a,c);var i},v={h1:h(a,96,1.167,-1.5),h2:h(a,60,1.2,-.5),h3:h(i,48,1.167,0),h4:h(i,34,1.235,.25),h5:h(i,24,1.334,0),h6:h(l,20,1.6,.15),subtitle1:h(i,16,1.75,.15),subtitle2:h(l,14,1.57,.1),body1:h(i,16,1.5,.15),body2:h(i,14,1.43,.15),button:h(l,14,1.75,.4,Tl),caption:h(i,12,1.66,.4),overline:h(i,12,2.66,1,Tl),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return pa(pt({htmlFontSize:u,pxToRem:m,fontFamily:r,fontSize:o,fontWeightLight:a,fontWeightRegular:i,fontWeightMedium:l,fontWeightBold:s},v),f,{clone:!1})}function Nl(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}const Rl=["none",Nl(0,2,1,-1,0,1,1,0,0,1,3,0),Nl(0,3,1,-2,0,2,2,0,0,1,5,0),Nl(0,3,3,-2,0,3,4,0,0,1,8,0),Nl(0,2,4,-1,0,4,5,0,0,1,10,0),Nl(0,3,5,-1,0,5,8,0,0,1,14,0),Nl(0,3,5,-1,0,6,10,0,0,1,18,0),Nl(0,4,5,-2,0,7,10,1,0,2,16,1),Nl(0,5,5,-3,0,8,10,1,0,3,14,2),Nl(0,5,6,-3,0,9,12,1,0,3,16,2),Nl(0,6,6,-3,0,10,14,1,0,4,18,3),Nl(0,6,7,-4,0,11,15,1,0,4,20,3),Nl(0,7,8,-4,0,12,17,2,0,5,22,4),Nl(0,7,8,-4,0,13,19,2,0,5,24,4),Nl(0,7,9,-4,0,14,21,2,0,5,26,4),Nl(0,8,9,-5,0,15,22,2,0,6,28,5),Nl(0,8,10,-5,0,16,24,2,0,6,30,5),Nl(0,8,11,-5,0,17,26,2,0,6,32,5),Nl(0,9,11,-5,0,18,28,2,0,7,34,6),Nl(0,9,12,-6,0,19,29,2,0,7,36,6),Nl(0,10,13,-6,0,20,31,3,0,8,38,7),Nl(0,10,13,-6,0,21,33,3,0,8,40,7),Nl(0,10,14,-6,0,22,35,3,0,8,42,7),Nl(0,11,14,-7,0,23,36,3,0,9,44,8),Nl(0,11,15,-7,0,24,38,3,0,9,46,8)],Ml=["duration","easing","delay"],Pl={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Dl={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Il(e){return`${Math.round(e)}ms`}function jl(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function Ll(e){const t=pt({},Pl,e.easing),n=pt({},Dl,e.duration);return pt({getAutoHeightDuration:jl,create:(e=["all"],r={})=>{const{duration:o=n.standard,easing:a=t.easeInOut,delay:i=0}=r,l=ft(r,Ml);if("production"!==process.env.NODE_ENV){const t=e=>"string"==typeof e,n=e=>!isNaN(parseFloat(e));t(e)||Array.isArray(e)||console.error('MUI: Argument "props" must be a string or Array.'),n(o)||t(o)||console.error(`MUI: Argument "duration" must be a number or a string but found ${o}.`),t(a)||console.error('MUI: Argument "easing" must be a string.'),n(i)||t(i)||console.error('MUI: Argument "delay" must be a number or a string.'),"object"!=typeof r&&console.error(["MUI: Secong argument of transition.create must be an object.","Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join("\n")),0!==Object.keys(l).length&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(l).join(",")}].`)}return(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof o?o:Il(o)} ${a} ${"string"==typeof i?i:Il(i)}`)).join(",")}},e,{easing:t,duration:n})}const zl={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},$l=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Al(e={},...t){const{mixins:n={},palette:r={},transitions:o={},typography:a={}}=e,i=ft(e,$l);if(e.vars)throw new Error("production"!==process.env.NODE_ENV?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name.":Ht(18));const l=El(r),s=Li(e);let u=pa(s,{mixins:(c=s.breakpoints,d=n,pt({toolbar:{minHeight:56,[c.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[c.up("sm")]:{minHeight:64}}},d)),palette:l,shadows:Rl.slice(),typography:_l(l,a),transitions:Ll(o),zIndex:pt({},zl)});var c,d;if(u=pa(u,i),u=t.reduce(((e,t)=>pa(e,t)),u),"production"!==process.env.NODE_ENV){const e=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],t=(t,n)=>{let r;for(r in t){const o=t[r];if(-1!==e.indexOf(r)&&Object.keys(o).length>0){if("production"!==process.env.NODE_ENV){const e=dl("",r);console.error([`MUI: The \`${n}\` component increases the CSS specificity of the \`${r}\` internal state.`,"You can not override it like this: ",JSON.stringify(t,null,2),"",`Instead, you need to use the '&.${e}' syntax:`,JSON.stringify({root:{[`&.${e}`]:o}},null,2),"","https://mui.com/r/state-classes-guide"].join("\n"))}t[r]={}}}};Object.keys(u.components).forEach((e=>{const n=u.components[e].styleOverrides;n&&0===e.indexOf("Mui")&&t(n,e)}))}return u.unstable_sxConfig=pt({},Mi,null==i?void 0:i.unstable_sxConfig),u.unstable_sx=function(e){return Di({sx:e,theme:this})},u}const Fl=Al();var Vl="$$material";function Ul(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const Bl=e=>Ul(e)&&"classes"!==e,Wl=Bi({themeId:Vl,defaultTheme:Fl,rootShouldForwardProp:Bl});function Hl(e,t,n="Mui"){const r={};return t.forEach((t=>{r[t]=dl(e,t,n)})),r}function ql(e){return dl("MuiSvgIcon",e)}Hl("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Yl=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],Kl=Wl("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${mn(n.color)}`],t[`fontSize${mn(n.fontSize)}`]]}})((({theme:e,ownerState:t})=>{var n,r,o,a,i,l,s,u,c,d,f,p,m;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(n=e.transitions)||null==(r=n.create)?void 0:r.call(n,"fill",{duration:null==(o=e.transitions)||null==(o=o.duration)?void 0:o.shorter}),fontSize:{inherit:"inherit",small:(null==(a=e.typography)||null==(i=a.pxToRem)?void 0:i.call(a,20))||"1.25rem",medium:(null==(l=e.typography)||null==(s=l.pxToRem)?void 0:s.call(l,24))||"1.5rem",large:(null==(u=e.typography)||null==(c=u.pxToRem)?void 0:c.call(u,35))||"2.1875rem"}[t.fontSize],color:null!=(d=null==(f=(e.vars||e).palette)||null==(f=f[t.color])?void 0:f.main)?d:{action:null==(p=(e.vars||e).palette)||null==(p=p.action)?void 0:p.active,disabled:null==(m=(e.vars||e).palette)||null==(m=m.action)?void 0:m.disabled,inherit:void 0}[t.color]}})),Gl=h.forwardRef((function(e,t){const n=_n({props:e,name:"MuiSvgIcon"}),{children:r,className:o,color:a="inherit",component:i="svg",fontSize:l="medium",htmlColor:s,inheritViewBox:u=!1,titleAccess:c,viewBox:d="0 0 24 24"}=n,f=ft(n,Yl),p=h.isValidElement(r)&&"svg"===r.type,m=pt({},n,{color:a,component:i,fontSize:l,instanceFontSize:e.fontSize,inheritViewBox:u,viewBox:d,hasSvgAsChild:p}),v={};u||(v.viewBox=d);const y=(e=>{const{color:t,fontSize:n,classes:r}=e;return Vt({root:["root","inherit"!==t&&`color${mn(t)}`,`fontSize${mn(n)}`]},ql,r)})(m);return Cn.jsxs(Kl,pt({as:i,className:Ft(y.root,o),focusable:"false",color:s,"aria-hidden":!c||void 0,role:c?"img":void 0,ref:t},v,f,p&&r.props,{ownerState:m,children:[p?r.props.children:r,c?Cn.jsx("title",{children:c}):null]}))}));function Ql(e,t){function n(n,r){return Cn.jsx(Gl,pt({"data-testid":`${t}Icon`,ref:r},n,{children:e}))}return"production"!==process.env.NODE_ENV&&(n.displayName=`${t}Icon`),n.muiName=Gl.muiName,h.memo(h.forwardRef(n))}"production"!==process.env.NODE_ENV&&(Gl.propTypes={children:$t.node,classes:$t.object,className:$t.string,color:$t.oneOfType([$t.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),$t.string]),component:$t.elementType,fontSize:$t.oneOfType([$t.oneOf(["inherit","large","medium","small"]),$t.string]),htmlColor:$t.string,inheritViewBox:$t.bool,shapeRendering:$t.string,sx:$t.oneOfType([$t.arrayOf($t.oneOfType([$t.func,$t.object,$t.bool])),$t.func,$t.object]),titleAccess:$t.string,viewBox:$t.string}),Gl.muiName="SvgIcon";var Xl=Ql(Cn.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function Jl(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function Zl(...e){return h.useMemo((()=>e.every((e=>null==e))?null:t=>{e.forEach((e=>{Jl(e,t)}))}),e)}function es(e,t,n,r,o){if("production"===process.env.NODE_ENV)return null;const a=o||t;return void 0!==e[t]?new Error(`The prop \`${a}\` is not supported. Please remove it.`):null}const ts=$t.oneOfType([$t.func,$t.object]);function ns(e,t){return"production"===process.env.NODE_ENV?()=>null:function(...n){return e(...n)||t(...n)}}var rs=ns($t.elementType,(function(e,t,n,r,o){const a=e[t],i=o||t;if(null==a||"undefined"==typeof window)return null;let l;return"function"!=typeof a||function(e){const{prototype:t={}}=e;return Boolean(t.isReactComponent)}(a)||(l="Did you accidentally provide a plain function component instead?"),void 0!==l?new Error(`Invalid ${r} \`${i}\` supplied to \`${n}\`. Expected an element type that can hold a ref. ${l} For more information see https://mui.com/r/caveat-with-refs-guide`):null}));const os="undefined"!=typeof window?h.useLayoutEffect:h.useEffect;function as(e){const t=h.useRef(e);return os((()=>{t.current=e})),h.useRef(((...e)=>(0,t.current)(...e))).current}const is={};const ls=[];class ss{constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new ss}start(e,t){this.clear(),this.currentId=setTimeout((()=>{this.currentId=null,t()}),e)}}function us(){const e=function(e,t){const n=h.useRef(is);return n.current===is&&(n.current=e(t)),n}(ss.create).current;var t;return t=e.disposeEffect,h.useEffect(t,ls),e}let cs=!0,ds=!1;const fs=new ss,ps={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function ms(e){e.metaKey||e.altKey||e.ctrlKey||(cs=!0)}function hs(){cs=!1}function vs(){"hidden"===this.visibilityState&&ds&&(cs=!0)}function ys(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return cs||function(e){const{type:t,tagName:n}=e;return!("INPUT"!==n||!ps[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}function gs(){const e=h.useCallback((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",ms,!0),t.addEventListener("mousedown",hs,!0),t.addEventListener("pointerdown",hs,!0),t.addEventListener("touchstart",hs,!0),t.addEventListener("visibilitychange",vs,!0))}),[]),t=h.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!ys(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(ds=!0,fs.start(100,(()=>{ds=!1})),t.current=!1,!0)},ref:e}}function bs(e,t){return bs=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},bs(e,t)}function ws(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,bs(e,t)}function xs(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}var ks=!1,Ss="production"!==process.env.NODE_ENV?$t.oneOfType([$t.number,$t.shape({enter:$t.number,exit:$t.number,appear:$t.number}).isRequired]):null,Es="production"!==process.env.NODE_ENV?$t.oneOfType([$t.string,$t.shape({enter:$t.string,exit:$t.string,active:$t.string}),$t.shape({enter:$t.string,enterDone:$t.string,enterActive:$t.string,exit:$t.string,exitDone:$t.string,exitActive:$t.string})]):null,Cs=v.createContext(null),Ts=function(e){return e.scrollTop},Os="unmounted",_s="exited",Ns="entering",Rs="entered",Ms="exiting",Ps=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var o,a=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?a?(o=_s,r.appearStatus=Ns):o=Rs:o=t.unmountOnExit||t.mountOnEnter?Os:_s,r.state={status:o},r.nextCallback=null,r}ws(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Os?{status:_s}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==Ns&&n!==Rs&&(t=Ns):n!==Ns&&n!==Rs||(t=Ms)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===Ns){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:M.findDOMNode(this);n&&Ts(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===_s&&this.setState({status:Os})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[M.findDOMNode(this),r],a=o[0],i=o[1],l=this.getTimeouts(),s=r?l.appear:l.enter;!e&&!n||ks?this.safeSetState({status:Rs},(function(){t.props.onEntered(a)})):(this.props.onEnter(a,i),this.safeSetState({status:Ns},(function(){t.props.onEntering(a,i),t.onTransitionEnd(s,(function(){t.safeSetState({status:Rs},(function(){t.props.onEntered(a,i)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:M.findDOMNode(this);t&&!ks?(this.props.onExit(r),this.safeSetState({status:Ms},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:_s},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:_s},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:M.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],a=o[0],i=o[1];this.props.addEndListener(a,i)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===Os)return null;var t=this.props,n=t.children;t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef;var r=ft(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return v.createElement(Cs.Provider,{value:null},"function"==typeof n?n(e,r):v.cloneElement(v.Children.only(n),r))},t}(v.Component);function Ds(){}Ps.contextType=Cs,Ps.propTypes="production"!==process.env.NODE_ENV?{nodeRef:$t.shape({current:"undefined"==typeof Element?$t.any:function(e,t,n,r,o,a){var i=e[t];return $t.instanceOf(i&&"ownerDocument"in i?i.ownerDocument.defaultView.Element:Element)(e,t,n,r,o,a)}}),children:$t.oneOfType([$t.func.isRequired,$t.element.isRequired]).isRequired,in:$t.bool,mountOnEnter:$t.bool,unmountOnExit:$t.bool,appear:$t.bool,enter:$t.bool,exit:$t.bool,timeout:function(e){var t=Ss;e.addEndListener||(t=t.isRequired);for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return t.apply(void 0,[e].concat(r))},addEndListener:$t.func,onEnter:$t.func,onEntering:$t.func,onEntered:$t.func,onExit:$t.func,onExiting:$t.func,onExited:$t.func}:{},Ps.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Ds,onEntering:Ds,onEntered:Ds,onExit:Ds,onExiting:Ds,onExited:Ds},Ps.UNMOUNTED=Os,Ps.EXITED=_s,Ps.ENTERING=Ns,Ps.ENTERED=Rs,Ps.EXITING=Ms;var Is=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.add(r):function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}(n,r)||("string"==typeof n.className?n.className=n.className+" "+r:n.setAttribute("class",(n.className&&n.className.baseVal||"")+" "+r)));var n,r}))},js=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.remove(r):"string"==typeof n.className?n.className=xs(n.className,r):n.setAttribute("class",xs(n.className&&n.className.baseVal||"",r)));var n,r}))},Ls=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,n){var r=t.resolveArguments(e,n),o=r[0],a=r[1];t.removeClasses(o,"exit"),t.addClass(o,a?"appear":"enter","base"),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var r=t.resolveArguments(e,n),o=r[0],a=r[1]?"appear":"enter";t.addClass(o,a,"active"),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var r=t.resolveArguments(e,n),o=r[0],a=r[1]?"appear":"enter";t.removeClasses(o,a),t.addClass(o,a,"done"),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"appear"),t.removeClasses(n,"enter"),t.addClass(n,"exit","base"),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.resolveArguments(e)[0];t.addClass(n,"exit","active"),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"exit"),t.addClass(n,"exit","done"),t.props.onExited&&t.props.onExited(e)},t.resolveArguments=function(e,n){return t.props.nodeRef?[t.props.nodeRef.current,e]:[e,n]},t.getClassNames=function(e){var n=t.props.classNames,r="string"==typeof n,o=r?""+(r&&n?n+"-":"")+e:n[e];return{baseClassName:o,activeClassName:r?o+"-active":n[e+"Active"],doneClassName:r?o+"-done":n[e+"Done"]}},t}ws(t,e);var n=t.prototype;return n.addClass=function(e,t,n){var r=this.getClassNames(t)[n+"ClassName"],o=this.getClassNames("enter").doneClassName;"appear"===t&&"done"===n&&o&&(r+=" "+o),"active"===n&&e&&Ts(e),r&&(this.appliedClasses[t][n]=r,Is(e,r))},n.removeClasses=function(e,t){var n=this.appliedClasses[t],r=n.base,o=n.active,a=n.done;this.appliedClasses[t]={},r&&js(e,r),o&&js(e,o),a&&js(e,a)},n.render=function(){var e=this.props;e.classNames;var t=ft(e,["classNames"]);return v.createElement(Ps,pt({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(v.Component);function zs(e,t){var n=Object.create(null);return e&&h.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&h.isValidElement(e)?t(e):e}(e)})),n}function $s(e,t,n){return null!=n[t]?n[t]:e.props[t]}function As(e,t,n){var r=zs(e.children),o=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,o=Object.create(null),a=[];for(var i in e)i in t?a.length&&(o[i]=a,a=[]):a.push(i);var l={};for(var s in t){if(o[s])for(r=0;r<o[s].length;r++){var u=o[s][r];l[o[s][r]]=n(u)}l[s]=n(s)}for(r=0;r<a.length;r++)l[a[r]]=n(a[r]);return l}(t,r);return Object.keys(o).forEach((function(a){var i=o[a];if(h.isValidElement(i)){var l=a in t,s=a in r,u=t[a],c=h.isValidElement(u)&&!u.props.in;!s||l&&!c?s||!l||c?s&&l&&h.isValidElement(u)&&(o[a]=h.cloneElement(i,{onExited:n.bind(null,i),in:u.props.in,exit:$s(i,"exit",e),enter:$s(i,"enter",e)})):o[a]=h.cloneElement(i,{in:!1}):o[a]=h.cloneElement(i,{onExited:n.bind(null,i),in:!0,exit:$s(i,"exit",e),enter:$s(i,"enter",e)})}})),o}Ls.defaultProps={classNames:""},Ls.propTypes="production"!==process.env.NODE_ENV?pt({},Ps.propTypes,{classNames:Es,onEnter:$t.func,onEntering:$t.func,onEntered:$t.func,onExit:$t.func,onExiting:$t.func,onExited:$t.func}):{};var Fs=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},Vs=function(e){function t(t,n){var r,o=(r=e.call(this,t,n)||this).handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(r));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}ws(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,r,o=t.children,a=t.handleExited;return{children:t.firstRender?(n=e,r=a,zs(n.children,(function(e){return h.cloneElement(e,{onExited:r.bind(null,e),in:!0,appear:$s(e,"appear",n),enter:$s(e,"enter",n),exit:$s(e,"exit",n)})}))):As(e,o,a),firstRender:!1}},n.handleExited=function(e,t){var n=zs(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=pt({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=ft(e,["component","childFactory"]),o=this.state.contextValue,a=Fs(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?v.createElement(Cs.Provider,{value:o},a):v.createElement(Cs.Provider,{value:o},v.createElement(t,r,a))},t}(v.Component);function Us(e=null){const t=h.useContext(jo);return t&&(n=t,0!==Object.keys(n).length)?t:e;var n}Vs.propTypes="production"!==process.env.NODE_ENV?{component:$t.any,children:$t.node,appear:$t.bool,enter:$t.bool,exit:$t.bool,childFactory:$t.func}:{},Vs.defaultProps={component:"div",childFactory:function(e){return e}};const Bs=Li();function Ws(e=Bs){return Us(e)}function Hs({styles:e,themeId:t,defaultTheme:n={}}){const r=Ws(n),o="function"==typeof e?e(t&&r[t]||r):e;return Cn.jsx(la,{styles:o})}"production"!==process.env.NODE_ENV&&(Hs.propTypes={defaultTheme:$t.object,styles:$t.oneOfType([$t.array,$t.func,$t.number,$t.object,$t.string,$t.bool]),themeId:$t.string});const qs=["className","component"];const Ys=["ownerState"],Ks=["variants"],Gs=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function Qs(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const Xs=Li(),Js=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function Zs({defaultTheme:e,theme:t,themeId:n}){return r=t,0===Object.keys(r).length?e:t[n]||t;var r}function eu(e){return e?(t,n)=>n[e]:null}function tu(e,t){let{ownerState:n}=t,r=ft(t,Ys);const o="function"==typeof e?e(pt({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap((e=>tu(e,pt({ownerState:n},r))));if(o&&"object"==typeof o&&Array.isArray(o.variants)){const{variants:e=[]}=o;let t=ft(o,Ks);return e.forEach((e=>{let o=!0;"function"==typeof e.props?o=e.props(pt({ownerState:n},r,n)):Object.keys(e.props).forEach((t=>{(null==n?void 0:n[t])!==e.props[t]&&r[t]!==e.props[t]&&(o=!1)})),o&&(Array.isArray(t)||(t=[t]),t.push("function"==typeof e.style?e.style(pt({ownerState:n},r,n)):e.style))})),t}return o}const nu=function(e={}){const{themeId:t,defaultTheme:n=Xs,rootShouldForwardProp:r=Qs,slotShouldForwardProp:o=Qs}=e,a=e=>Di(pt({},e,{theme:Zs(pt({},e,{defaultTheme:n,themeId:t}))}));return a.__mui_systemSx=!0,(e,i={})=>{ua(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:l,slot:s,skipVariantsResolver:u,skipSx:c,overridesResolver:d=eu(Js(s))}=i,f=ft(i,Gs),p=void 0!==u?u:s&&"Root"!==s&&"root"!==s||!1,m=c||!1;let h;"production"!==process.env.NODE_ENV&&l&&(h=`${l}-${Js(s||"Root")}`);let v=Qs;"Root"===s||"root"===s?v=r:s?v=o:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(v=void 0);const y=sa(e,pt({shouldForwardProp:v,label:h},f)),g=e=>"function"==typeof e&&e.__emotion_real!==e||da(e)?r=>tu(e,pt({},r,{theme:Zs({theme:r.theme,defaultTheme:n,themeId:t})})):e,b=(r,...o)=>{let i=g(r);const u=o?o.map(g):[];l&&d&&u.push((e=>{const r=Zs(pt({},e,{defaultTheme:n,themeId:t}));if(!r.components||!r.components[l]||!r.components[l].styleOverrides)return null;const o=r.components[l].styleOverrides,a={};return Object.entries(o).forEach((([t,n])=>{a[t]=tu(n,pt({},e,{theme:r}))})),d(e,a)})),l&&!p&&u.push((e=>{var r;const o=Zs(pt({},e,{defaultTheme:n,themeId:t}));return tu({variants:null==o||null==(r=o.components)||null==(r=r[l])?void 0:r.variants},pt({},e,{theme:o}))})),m||u.push(a);const c=u.length-o.length;if(Array.isArray(r)&&c>0){const e=new Array(c).fill("");i=[...r,...e],i.raw=[...r.raw,...e]}const f=y(i,...u);if("production"!==process.env.NODE_ENV){let t;l&&(t=`${l}${mn(s||"")}`),void 0===t&&(t=`Styled(${Ta(e)})`),f.displayName=t}return e.muiName&&(f.muiName=e.muiName),f};return y.withConfig&&(b.withConfig=y.withConfig),b}}();function ru(e){const{theme:t,name:n,props:r}=e;return t&&t.components&&t.components[n]&&t.components[n].defaultProps?vn(t.components[n].defaultProps,r):r}function ou({props:e,name:t,defaultTheme:n,themeId:r}){let o=Ws(n);r&&(o=o[r]||o);return ru({theme:o,name:t,props:e})}function au(e,t,n,r,o){const[a,i]=h.useState((()=>o&&n?n(e).matches:r?r(e).matches:t));return os((()=>{let t=!0;if(!n)return;const r=n(e),o=()=>{t&&i(r.matches)};return o(),r.addListener(o),()=>{t=!1,r.removeListener(o)}}),[e,n]),a}const iu=y.useSyncExternalStore;function lu(e,t,n,r,o){const a=h.useCallback((()=>t),[t]),i=h.useMemo((()=>{if(o&&n)return()=>n(e).matches;if(null!==r){const{matches:t}=r(e);return()=>t}return a}),[a,e,r,o,n]),[l,s]=h.useMemo((()=>{if(null===n)return[a,()=>()=>{}];const t=n(e);return[()=>t.matches,e=>(t.addListener(e),()=>{t.removeListener(e)})]}),[a,n,e]);return iu(s,l,i)}function su(e){if(e.type)return e;if("#"===e.charAt(0))return su(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map((e=>e+e))),n?`rgb${4===n.length?"a":""}(${n.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}(e));const t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error("production"!==process.env.NODE_ENV?`MUI: Unsupported \`${e}\` color.\nThe following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:Ht(9,e));let r,o=e.substring(t+1,e.length-1);if("color"===n){if(o=o.split(" "),r=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(r))throw new Error("production"!==process.env.NODE_ENV?`MUI: unsupported \`${r}\` color space.\nThe following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:Ht(10,r))}else o=o.split(",");return o=o.map((e=>parseFloat(e))),{type:n,values:o,colorSpace:r}}function uu(e,t){return e=su(e),t=function(e,t=0,n=1){return"production"!==process.env.NODE_ENV&&(e<t||e>n)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${n}].`),Yt(e,t,n)}(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,function(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return-1!==t.indexOf("rgb")?r=r.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`,`${t}(${r})`}(e)}function cu(e,t,n,r,o){const a=e[t],i=o||t;if(null==a||"undefined"==typeof window)return null;let l;const s=a.type;return"function"!=typeof s||function(e){const{prototype:t={}}=e;return Boolean(t.isReactComponent)}(s)||(l="Did you accidentally use a plain function component for an element instead?"),void 0!==l?new Error(`Invalid ${r} \`${i}\` supplied to \`${n}\`. Expected an element that can hold a ref. ${l} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const du=ns($t.element,cu);du.isRequired=ns($t.element.isRequired,cu);const fu="exact-prop: ​";function pu(e){return"production"===process.env.NODE_ENV?e:pt({},e,{[fu]:t=>{const n=Object.keys(t).filter((t=>!e.hasOwnProperty(t)));return n.length>0?new Error(`The following props are not supported: ${n.map((e=>`\`${e}\``)).join(", ")}. Please remove them.`):null}})}function mu(e,t,n,r,o){if("production"===process.env.NODE_ENV)return null;const a=e[t],i=o||t;return null==a?null:a&&1!==a.nodeType?new Error(`Invalid ${r} \`${i}\` supplied to \`${n}\`. Expected an HTMLElement.`):null}function hu(...e){return e.reduce(((e,t)=>null==t?e:function(...n){e.apply(this,n),t.apply(this,n)}),(()=>{}))}function vu(e,t=166){let n;function r(...r){clearTimeout(n),n=setTimeout((()=>{e.apply(this,r)}),t)}return r.clear=()=>{clearTimeout(n)},r}function yu(e,t){var n,r;return h.isValidElement(e)&&-1!==t.indexOf(null!=(n=e.type.muiName)?n:null==(r=e.type)||null==(r=r._payload)||null==(r=r.value)?void 0:r.muiName)}function gu(e){return e&&e.ownerDocument||document}function bu(e){return gu(e).defaultView||window}function wu(e,t){if("production"===process.env.NODE_ENV)return()=>null;const n=t?pt({},t.propTypes):null;return t=>(r,o,a,i,l,...s)=>{const u=l||o,c=null==n?void 0:n[u];if(c){const e=c(r,o,a,i,l,...s);if(e)return e}return void 0===r[o]||r[t]?null:new Error(`The prop \`${u}\` of \`${e}\` can only be used together with the \`${t}\` prop.`)}}let xu=0;const ku=y["useId".toString()];function Su(e){if(void 0!==ku){const t=ku();return null!=e?e:t}return function(e){const[t,n]=h.useState(e),r=e||t;return h.useEffect((()=>{null==t&&(xu+=1,n(`mui-${xu}`))}),[t]),r}(e)}function Eu({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=h.useRef(void 0!==e),[a,i]=h.useState(t),l=o?e:a;if("production"!==process.env.NODE_ENV){h.useEffect((()=>{o!==(void 0!==e)&&console.error([`MUI: A component is changing the ${o?"":"un"}controlled ${r} state of ${n} to be ${o?"un":""}controlled.`,"Elements should not switch from uncontrolled to controlled (or vice versa).",`Decide between using a controlled or uncontrolled ${n} element for the lifetime of the component.`,"The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.","More info: https://fb.me/react-controlled-components"].join("\n"))}),[r,n,e]);const{current:a}=h.useRef(t);h.useEffect((()=>{o||Object.is(a,t)||console.error([`MUI: A component is changing the default ${r} state of an uncontrolled ${n} after being initialized. To suppress this warning opt to use a controlled ${n}.`].join("\n"))}),[JSON.stringify(t)])}return[l,h.useCallback((e=>{o||i(e)}),[])]}function Cu(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}const Tu=Number.isInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e};function Ou(e,t,n,r){const o=e[t];if(null==o||!Tu(o)){const e=function(e){const t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":Number.isFinite(e)?e!==Math.floor(e)?"float":"number":"Infinity";case"object":return null===e?"null":e.constructor.name;default:return t}}(o);return new RangeError(`Invalid ${r} \`${t}\` of type \`${e}\` supplied to \`${n}\`, expected \`integer\`.`)}return null}function _u(e,t,...n){return void 0===e[t]?null:Ou(e,t,...n)}function Nu(){return null}_u.isRequired=Ou,Nu.isRequired=Nu;var Ru="production"===process.env.NODE_ENV?Nu:_u;function Mu(e){return"string"==typeof e}function Pu(e,t=[]){if(void 0===e)return{};const n={};return Object.keys(e).filter((n=>n.match(/^on[A-Z]/)&&"function"==typeof e[n]&&!t.includes(n))).forEach((t=>{n[t]=e[t]})),n}function Du(e){if(void 0===e)return{};const t={};return Object.keys(e).filter((t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t]))).forEach((n=>{t[n]=e[n]})),t}const Iu=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function ju(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o,skipResolvingSlotProps:a=!1}=e,i=ft(e,Iu),l=a?{}:function(e,t,n){return"function"==typeof e?e(t,n):e}(r,o),{props:s,internalRef:u}=function(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:a}=e;if(!t){const e=Ft(null==n?void 0:n.className,a,null==o?void 0:o.className,null==r?void 0:r.className),t=pt({},null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),i=pt({},n,o,r);return e.length>0&&(i.className=e),Object.keys(t).length>0&&(i.style=t),{props:i,internalRef:void 0}}const i=Pu(pt({},o,r)),l=Du(r),s=Du(o),u=t(i),c=Ft(null==u?void 0:u.className,null==n?void 0:n.className,a,null==o?void 0:o.className,null==r?void 0:r.className),d=pt({},null==u?void 0:u.style,null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),f=pt({},u,n,s,l);return c.length>0&&(f.className=c),Object.keys(d).length>0&&(f.style=d),{props:f,internalRef:u.ref}}(pt({},i,{externalSlotProps:l})),c=function(e,t,n){return void 0===e||Mu(e)?t:pt({},t,{ownerState:pt({},t.ownerState,n)})}(n,pt({},s,{ref:Zl(u,null==l?void 0:l.ref,null==(t=e.additionalProps)?void 0:t.ref)}),o);return c}const Lu=h.createContext();"production"!==process.env.NODE_ENV&&($t.node,$t.bool);const zu=["component","direction","spacing","divider","children","className","useFlexGap"],$u=Li(),Au=nu("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function Fu(e){return ou({props:e,name:"MuiStack",defaultTheme:$u})}function Vu(e,t){const n=h.Children.toArray(e).filter(Boolean);return n.reduce(((e,r,o)=>(e.push(r),o<n.length-1&&e.push(h.cloneElement(t,{key:`separator-${o}`})),e)),[])}const Uu=({ownerState:e,theme:t})=>{let n=pt({display:"flex",flexDirection:"column"},La({theme:t},Aa({values:e.direction,breakpoints:t.breakpoints.values}),(e=>({flexDirection:e}))));if(e.spacing){const r=Xa(t),o=Object.keys(t.breakpoints.values).reduce(((t,n)=>(("object"==typeof e.spacing&&null!=e.spacing[n]||"object"==typeof e.direction&&null!=e.direction[n])&&(t[n]=!0),t)),{}),a=Aa({values:e.direction,base:o}),i=Aa({values:e.spacing,base:o});"object"==typeof a&&Object.keys(a).forEach(((e,t,n)=>{if(!a[e]){const r=t>0?a[n[t-1]]:"column";a[e]=r}}));n=pa(n,La({theme:t},i,((t,n)=>{return e.useFlexGap?{gap:Ja(r,t)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${o=n?a[n]:e.direction,{row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"}[o]}`]:Ja(r,t)}};var o})))}return n=function(e,...t){const n=za(e),r=[n,...t].reduce(((e,t)=>pa(e,t)),{});return $a(Object.keys(n),r)}(t.breakpoints,n),n};function Bu(e){const{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:a,rippleSize:i,in:l,onExited:s,timeout:u}=e,[c,d]=h.useState(!1),f=Ft(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),p={width:i,height:i,top:-i/2+a,left:-i/2+o},m=Ft(n.child,c&&n.childLeaving,r&&n.childPulsate);return l||c||d(!0),h.useEffect((()=>{if(!l&&null!=s){const e=setTimeout(s,u);return()=>{clearTimeout(e)}}}),[s,l,u]),Cn.jsx("span",{className:f,style:p,children:Cn.jsx("span",{className:m})})}"production"!==process.env.NODE_ENV&&(Bu.propTypes={classes:$t.object.isRequired,className:$t.string,in:$t.bool,onExited:$t.func,pulsate:$t.bool,rippleSize:$t.number,rippleX:$t.number,rippleY:$t.number,timeout:$t.number.isRequired});const Wu=Hl("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Hu=["center","classes","className"];let qu,Yu,Ku,Gu,Qu=e=>e;const Xu=Bo(qu||(qu=Qu`
15
15
  0% {
16
16
  transform: scale(0);
17
17
  opacity: 0.1;
@@ -134,4 +134,4 @@
134
134
  right: 0;
135
135
  top: 0;
136
136
  }
137
- `),Fv,(t.vars||t).palette.action.hover))),Uv=h.forwardRef((function(e,t){const n=_n({props:e,name:"MuiSkeleton"}),{animation:r="pulse",className:o,component:a="span",height:i,style:l,variant:s="text",width:u}=n,c=ft(n,Dv),d=pt({},n,{animation:r,component:a,variant:s,hasChildren:Boolean(c.children)}),f=(e=>{const{classes:t,variant:n,animation:r,hasChildren:o,width:a,height:i}=e;return Vt({root:["root",n,r,o&&"withChildren",o&&!a&&"fitContent",o&&!i&&"heightAuto"]},Pv,t)})(d);return Cn.jsx(Vv,pt({as:a,ref:t,className:Ft(f.root,o),ownerState:d},c,{style:pt({width:u,height:i},l)}))}));"production"!==process.env.NODE_ENV&&(Uv.propTypes={animation:$t.oneOf(["pulse","wave",!1]),children:$t.node,classes:$t.object,className:$t.string,component:$t.elementType,height:$t.oneOfType([$t.number,$t.string]),style:$t.object,sx:$t.oneOfType([$t.arrayOf($t.oneOfType([$t.func,$t.object,$t.bool])),$t.func,$t.object]),variant:$t.oneOfType([$t.oneOf(["circular","rectangular","rounded","text"]),$t.string]),width:$t.oneOfType([$t.number,$t.string])});const Bv=e=>dl("MuiDayCalendarSkeleton",e);Hl("MuiDayCalendarSkeleton",["root","week","daySkeleton"]);const Wv=["className"],Hv=Wl("div",{name:"MuiDayCalendarSkeleton",slot:"Root",overridesResolver:(e,t)=>t.root})({alignSelf:"start"}),qv=Wl("div",{name:"MuiDayCalendarSkeleton",slot:"Week",overridesResolver:(e,t)=>t.week})({margin:"2px 0",display:"flex",justifyContent:"center"}),Yv=Wl(Uv,{name:"MuiDayCalendarSkeleton",slot:"DaySkeleton",overridesResolver:(e,t)=>t.daySkeleton})((({ownerState:e})=>pt({margin:"0 2px"},0===e.day&&{visibility:"hidden"})));Yv.propTypes={ownerState:$t.shape({day:$t.number.isRequired}).isRequired};const Kv=[[0,1,1,1,1,1,1],[1,1,1,1,1,1,1],[1,1,1,1,1,1,1],[1,1,1,1,1,1,1],[1,1,1,1,0,0,0]];function Gv(e){const t=Qp({props:e,name:"MuiDayCalendarSkeleton"}),{className:n}=t,r=ft(t,Wv),o=(e=>{const{classes:t}=e;return Vt({root:["root"],week:["week"],daySkeleton:["daySkeleton"]},Bv,t)})(r);return Cn.jsx(Hv,pt({className:Ft(o.root,n)},r,{children:Kv.map(((e,t)=>Cn.jsx(qv,{className:o.week,children:e.map(((e,t)=>Cn.jsx(Yv,{variant:"circular",width:Pm,height:Pm,className:o.daySkeleton,ownerState:{day:e}},t)))},t)))}))}function Qv(e,t){var n=t.split("*").map(Xv).join(".*");return new RegExp("^".concat(n,"$")).test(e)}function Xv(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}"production"!==process.env.NODE_ENV&&(Gv.propTypes={classes:$t.object,sx:$t.oneOfType([$t.arrayOf($t.oneOfType([$t.func,$t.object,$t.bool])),$t.func,$t.object])});var Jv=function(e){var t=function(){return v.createElement(Gv,null)},r=e.field,o=e.onFieldChange,a=e.errorMessage,i=e.busyDays,l=e.loading,s=v.useState(null),u=s[0],c=s[1];h.useEffect((function(){o(r.name,u)}),[u,r.name,o]),h.useEffect((function(){D('Busy days: "'.concat(i,'"'))}),[i]);var d=i?i.split(","):void 0;return v.createElement(v.Fragment,null,v.createElement("div",{className:_v},v.createElement(Zp,{dateAdapter:Ov},v.createElement(dv,{className:Nv,views:["day"],value:u,disablePast:!0,shouldDisableDate:function(e){var t=e.format("YYYY-MM-DD");if(!d)return!1;try{var n=e.format("dddd");if(d.some((function(e){return!(!Qv(t,e)&&!Qv(n,e))})))return!0}catch(e){e("shouldDisableDate: ".concat(e))}return!1},onChange:function(e){c(e)},loading:l,renderLoading:function(){return v.createElement(t,null)},disableHighlightToday:!0,slots:{day:function(e){var t=e.day,r=e.disabled;return t.isBefore(pv(),"day")?v.createElement(Um,n({},e,{className:Rv})):r?v.createElement(Um,n({},e,{className:Mv})):v.createElement(Um,n({},e))}}}))),l&&v.createElement(Sc,{error:!0,style:{color:"inherit",marginLeft:"98px",marginTop:"14px",marginBottom:"-14px"}},"Getting latest availability..."),!l&&a&&v.createElement(Sc,{error:!0,style:{marginLeft:"14px",marginTop:"14px",marginBottom:"-14px"}},a))},Zv=function(e){var t=e.field,r=e.onFieldChange,o=h.useState({from:"",to:""}),a=o[0],i=o[1],l=function(e){var o=e.target.value;e.target.id.endsWith("-from")?i(n(n({},a),{from:o})):i(n(n({},a),{to:o})),r(t.name,a),i(a)};return v.createElement("div",null,v.createElement("h2",null,t.title),v.createElement("input",{id:"".concat(t.name,"-from"),value:a.from,onChange:l}),v.createElement("input",{id:"".concat(t.name,"-to"),value:a.to,onChange:l}))};const ey=Hl("MuiBox",["root"]),ty=Al(),ny=function(e={}){const{themeId:t,defaultTheme:n,defaultClassName:r="MuiBox-root",generateClassName:o}=e,a=sa("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(Di);return h.forwardRef((function(e,i){const l=Ws(n),s=Fi(e),{className:u,component:c="div"}=s,d=ft(s,qs);return Cn.jsx(a,pt({as:c,ref:i,className:Ft(u,o?o(r):r),theme:t&&l[t]||l},d))}))}({themeId:Vl,defaultTheme:ty,defaultClassName:ey.root,generateClassName:ul.generate});function ry(e){return void 0!==e.normalize?e.normalize("NFD").replace(/[\u0300-\u036f]/g,""):e}function oy(e,t){for(let n=0;n<e.length;n+=1)if(t(e[n]))return n;return-1}"production"!==process.env.NODE_ENV&&(ny.propTypes={children:$t.node,component:$t.elementType,sx:$t.oneOfType([$t.arrayOf($t.oneOfType([$t.func,$t.object,$t.bool])),$t.func,$t.object])});const ay=function(e={}){const{ignoreAccents:t=!0,ignoreCase:n=!0,limit:r,matchFrom:o="any",stringify:a,trim:i=!1}=e;return(e,{inputValue:l,getOptionLabel:s})=>{let u=i?l.trim():l;n&&(u=u.toLowerCase()),t&&(u=ry(u));const c=u?e.filter((e=>{let r=(a||s)(e);return n&&(r=r.toLowerCase()),t&&(r=ry(r)),"start"===o?0===r.indexOf(u):r.indexOf(u)>-1})):e;return"number"==typeof r?c.slice(0,r):c}}(),iy=e=>{var t;return null!==e.current&&(null==(t=e.current.parentElement)?void 0:t.contains(document.activeElement))};function ly(e){const{unstable_isActiveElementInListbox:t=iy,unstable_classNamePrefix:n="Mui",autoComplete:r=!1,autoHighlight:o=!1,autoSelect:a=!1,blurOnSelect:i=!1,clearOnBlur:l=!e.freeSolo,clearOnEscape:s=!1,componentName:u="useAutocomplete",defaultValue:c=(e.multiple?[]:null),disableClearable:d=!1,disableCloseOnSelect:f=!1,disabled:p,disabledItemsFocusable:m=!1,disableListWrap:v=!1,filterOptions:y=ay,filterSelectedOptions:g=!1,freeSolo:b=!1,getOptionDisabled:w,getOptionKey:x,getOptionLabel:k=e=>{var t;return null!=(t=e.label)?t:e},groupBy:S,handleHomeEndKeys:E=!e.freeSolo,id:C,includeInputInList:T=!1,inputValue:O,isOptionEqualToValue:_=(e,t)=>e===t,multiple:N=!1,onChange:R,onClose:M,onHighlightChange:P,onInputChange:D,onOpen:I,open:j,openOnFocus:L=!1,options:z,readOnly:$=!1,selectOnFocus:A=!e.freeSolo,value:F}=e,V=Su(C);let U=k;U=e=>{const t=k(e);if("string"!=typeof t){if("production"!==process.env.NODE_ENV){const n=void 0===t?"undefined":`${typeof t} (${t})`;console.error(`MUI: The \`getOptionLabel\` method of ${u} returned ${n} instead of a string for ${JSON.stringify(e)}.`)}return String(t)}return t};const B=h.useRef(!1),W=h.useRef(!0),H=h.useRef(null),q=h.useRef(null),[Y,K]=h.useState(null),[G,Q]=h.useState(-1),X=o?0:-1,J=h.useRef(X),[Z,ee]=Eu({controlled:F,default:c,name:u}),[te,ne]=Eu({controlled:O,default:"",name:u,state:"inputValue"}),[re,oe]=h.useState(!1),ae=h.useCallback(((e,t)=>{if(!(N?Z.length<t.length:null!==t)&&!l)return;let n;if(N)n="";else if(null==t)n="";else{const e=U(t);n="string"==typeof e?e:""}te!==n&&(ne(n),D&&D(e,n,"reset"))}),[U,te,N,D,ne,l,Z]),[ie,le]=Eu({controlled:j,default:!1,name:u,state:"open"}),[se,ue]=h.useState(!0),ce=!N&&null!=Z&&te===U(Z),de=ie&&!$,fe=de?y(z.filter((e=>!g||!(N?Z:[Z]).some((t=>null!==t&&_(e,t))))),{inputValue:ce&&se?"":te,getOptionLabel:U}):[],pe=(e=>{const t=h.useRef({});return h.useEffect((()=>{t.current=e})),t.current})({filteredOptions:fe,value:Z,inputValue:te});h.useEffect((()=>{const e=Z!==pe.value;re&&!e||b&&!e||ae(null,Z)}),[Z,ae,re,pe.value,b]);const me=ie&&fe.length>0&&!$;if("production"!==process.env.NODE_ENV&&null!==Z&&!b&&z.length>0){const e=(N?Z:[Z]).filter((e=>!z.some((t=>_(t,e)))));e.length>0&&console.warn([`MUI: The value provided to ${u} is invalid.`,`None of the options match with \`${e.length>1?JSON.stringify(e):JSON.stringify(e[0])}\`.`,"You can use the `isOptionEqualToValue` prop to customize the equality test."].join("\n"))}const he=as((e=>{-1===e?H.current.focus():Y.querySelector(`[data-tag-index="${e}"]`).focus()}));h.useEffect((()=>{N&&G>Z.length-1&&(Q(-1),he(-1))}),[Z,N,G,he]);const ve=as((({event:e,index:t,reason:r="auto"})=>{if(J.current=t,-1===t?H.current.removeAttribute("aria-activedescendant"):H.current.setAttribute("aria-activedescendant",`${V}-option-${t}`),P&&P(e,-1===t?null:fe[t],r),!q.current)return;const o=q.current.querySelector(`[role="option"].${n}-focused`);o&&(o.classList.remove(`${n}-focused`),o.classList.remove(`${n}-focusVisible`));let a=q.current;if("listbox"!==q.current.getAttribute("role")&&(a=q.current.parentElement.querySelector('[role="listbox"]')),!a)return;if(-1===t)return void(a.scrollTop=0);const i=q.current.querySelector(`[data-option-index="${t}"]`);if(i&&(i.classList.add(`${n}-focused`),"keyboard"===r&&i.classList.add(`${n}-focusVisible`),a.scrollHeight>a.clientHeight&&"mouse"!==r&&"touch"!==r)){const e=i,t=a.clientHeight+a.scrollTop,n=e.offsetTop+e.offsetHeight;n>t?a.scrollTop=n-a.clientHeight:e.offsetTop-e.offsetHeight*(S?1.3:0)<a.scrollTop&&(a.scrollTop=e.offsetTop-e.offsetHeight*(S?1.3:0))}})),ye=as((({event:e,diff:t,direction:n="next",reason:o="auto"})=>{if(!de)return;const a=function(e,t){if(!q.current||e<0||e>=fe.length)return-1;let n=e;for(;;){const r=q.current.querySelector(`[data-option-index="${n}"]`),o=!m&&(!r||r.disabled||"true"===r.getAttribute("aria-disabled"));if(r&&r.hasAttribute("tabindex")&&!o)return n;if(n="next"===t?(n+1)%fe.length:(n-1+fe.length)%fe.length,n===e)return-1}}((()=>{const e=fe.length-1;if("reset"===t)return X;if("start"===t)return 0;if("end"===t)return e;const n=J.current+t;return n<0?-1===n&&T?-1:v&&-1!==J.current||Math.abs(t)>1?0:e:n>e?n===e+1&&T?-1:v||Math.abs(t)>1?e:0:n})(),n);if(ve({index:a,reason:o,event:e}),r&&"reset"!==t)if(-1===a)H.current.value=te;else{const e=U(fe[a]);H.current.value=e;0===e.toLowerCase().indexOf(te.toLowerCase())&&te.length>0&&H.current.setSelectionRange(te.length,e.length)}})),ge=h.useCallback((()=>{if(!de)return;const e=(()=>{if(-1!==J.current&&pe.filteredOptions&&pe.filteredOptions.length!==fe.length&&pe.inputValue===te&&(N?Z.length===pe.value.length&&pe.value.every(((e,t)=>U(Z[t])===U(e))):(e=pe.value,t=Z,(e?U(e):"")===(t?U(t):"")))){const e=pe.filteredOptions[J.current];if(e)return oy(fe,(t=>U(t)===U(e)))}var e,t;return-1})();if(-1!==e)return void(J.current=e);const t=N?Z[0]:Z;if(0!==fe.length&&null!=t){if(q.current)if(null==t)J.current>=fe.length-1?ve({index:fe.length-1}):ve({index:J.current});else{const e=fe[J.current];if(N&&e&&-1!==oy(Z,(t=>_(e,t))))return;const n=oy(fe,(e=>_(e,t)));-1===n?ye({diff:"reset"}):ve({index:n})}}else ye({diff:"reset"})}),[fe.length,!N&&Z,g,ye,ve,de,te,N]),be=as((e=>{Jl(q,e),e&&ge()}));"production"!==process.env.NODE_ENV&&h.useEffect((()=>{H.current&&"INPUT"===H.current.nodeName||(H.current&&"TEXTAREA"===H.current.nodeName?console.warn([`A textarea element was provided to ${u} where input was expected.`,"This is not a supported scenario but it may work under certain conditions.","A textarea keyboard navigation may conflict with Autocomplete controls (for example enter and arrow keys).","Make sure to test keyboard navigation and add custom event handlers if necessary."].join("\n")):console.error([`MUI: Unable to find the input element. It was resolved to ${H.current} while an HTMLInputElement was expected.`,`Instead, ${u} expects an input element.`,"","useAutocomplete"===u?"Make sure you have bound getInputProps correctly and that the normal ref/effect resolutions order is guaranteed.":"Make sure you have customized the input component correctly."].join("\n")))}),[u]),h.useEffect((()=>{ge()}),[ge]);const we=e=>{ie||(le(!0),ue(!0),I&&I(e))},xe=(e,t)=>{ie&&(le(!1),M&&M(e,t))},ke=(e,t,n,r)=>{if(N){if(Z.length===t.length&&Z.every(((e,n)=>e===t[n])))return}else if(Z===t)return;R&&R(e,t,n,r),ee(t)},Se=h.useRef(!1),Ee=(e,t,n="selectOption",r="options")=>{let o=n,a=t;if(N){if(a=Array.isArray(Z)?Z.slice():[],"production"!==process.env.NODE_ENV){const e=a.filter((e=>_(t,e)));e.length>1&&console.error([`MUI: The \`isOptionEqualToValue\` method of ${u} does not handle the arguments correctly.`,`The component expects a single value to match a given option but found ${e.length} matches.`].join("\n"))}const e=oy(a,(e=>_(t,e)));-1===e?a.push(t):"freeSolo"!==r&&(a.splice(e,1),o="removeOption")}ae(e,a),ke(e,a,o,{option:t}),f||e&&(e.ctrlKey||e.metaKey)||xe(e,o),(!0===i||"touch"===i&&Se.current||"mouse"===i&&!Se.current)&&H.current.blur()};const Ce=(e,t)=>{if(!N)return;""===te&&xe(e,"toggleInput");let n=G;-1===G?""===te&&"previous"===t&&(n=Z.length-1):(n+="next"===t?1:-1,n<0&&(n=0),n===Z.length&&(n=-1)),n=function(e,t){if(-1===e)return-1;let n=e;for(;;){if("next"===t&&n===Z.length||"previous"===t&&-1===n)return-1;const e=Y.querySelector(`[data-tag-index="${n}"]`);if(e&&e.hasAttribute("tabindex")&&!e.disabled&&"true"!==e.getAttribute("aria-disabled"))return n;n+="next"===t?1:-1}}(n,t),Q(n),he(n)},Te=e=>{B.current=!0,ne(""),D&&D(e,"","clear"),ke(e,N?[]:null,"clear")},Oe=e=>t=>{if(e.onKeyDown&&e.onKeyDown(t),!t.defaultMuiPrevented&&(-1!==G&&-1===["ArrowLeft","ArrowRight"].indexOf(t.key)&&(Q(-1),he(-1)),229!==t.which))switch(t.key){case"Home":de&&E&&(t.preventDefault(),ye({diff:"start",direction:"next",reason:"keyboard",event:t}));break;case"End":de&&E&&(t.preventDefault(),ye({diff:"end",direction:"previous",reason:"keyboard",event:t}));break;case"PageUp":t.preventDefault(),ye({diff:-5,direction:"previous",reason:"keyboard",event:t}),we(t);break;case"PageDown":t.preventDefault(),ye({diff:5,direction:"next",reason:"keyboard",event:t}),we(t);break;case"ArrowDown":t.preventDefault(),ye({diff:1,direction:"next",reason:"keyboard",event:t}),we(t);break;case"ArrowUp":t.preventDefault(),ye({diff:-1,direction:"previous",reason:"keyboard",event:t}),we(t);break;case"ArrowLeft":Ce(t,"previous");break;case"ArrowRight":Ce(t,"next");break;case"Enter":if(-1!==J.current&&de){const e=fe[J.current],n=!!w&&w(e);if(t.preventDefault(),n)return;Ee(t,e,"selectOption"),r&&H.current.setSelectionRange(H.current.value.length,H.current.value.length)}else b&&""!==te&&!1===ce&&(N&&t.preventDefault(),Ee(t,te,"createOption","freeSolo"));break;case"Escape":de?(t.preventDefault(),t.stopPropagation(),xe(t,"escape")):s&&(""!==te||N&&Z.length>0)&&(t.preventDefault(),t.stopPropagation(),Te(t));break;case"Backspace":if(N&&!$&&""===te&&Z.length>0){const e=-1===G?Z.length-1:G,n=Z.slice();n.splice(e,1),ke(t,n,"removeOption",{option:Z[e]})}break;case"Delete":if(N&&!$&&""===te&&Z.length>0&&-1!==G){const e=G,n=Z.slice();n.splice(e,1),ke(t,n,"removeOption",{option:Z[e]})}}},_e=e=>{oe(!0),L&&!B.current&&we(e)},Ne=e=>{t(q)?H.current.focus():(oe(!1),W.current=!0,B.current=!1,a&&-1!==J.current&&de?Ee(e,fe[J.current],"blur"):a&&b&&""!==te?Ee(e,te,"blur","freeSolo"):l&&ae(e,Z),xe(e,"blur"))},Re=e=>{const t=e.target.value;te!==t&&(ne(t),ue(!1),D&&D(e,t,"input")),""===t?d||N||ke(e,null,"clear"):we(e)},Me=e=>{const t=Number(e.currentTarget.getAttribute("data-option-index"));J.current!==t&&ve({event:e,index:t,reason:"mouse"})},Pe=e=>{ve({event:e,index:Number(e.currentTarget.getAttribute("data-option-index")),reason:"touch"}),Se.current=!0},De=e=>{const t=Number(e.currentTarget.getAttribute("data-option-index"));Ee(e,fe[t],"selectOption"),Se.current=!1},Ie=e=>t=>{const n=Z.slice();n.splice(e,1),ke(t,n,"removeOption",{option:Z[e]})},je=e=>{ie?xe(e,"toggleInput"):we(e)},Le=e=>{e.currentTarget.contains(e.target)&&e.target.getAttribute("id")!==V&&e.preventDefault()},ze=e=>{e.currentTarget.contains(e.target)&&(H.current.focus(),A&&W.current&&H.current.selectionEnd-H.current.selectionStart==0&&H.current.select(),W.current=!1)},$e=e=>{p||""!==te&&ie||je(e)};let Ae=b&&te.length>0;Ae=Ae||(N?Z.length>0:null!==Z);let Fe=fe;if(S){const e=new Map;let t=!1;Fe=fe.reduce(((n,r,o)=>{const a=S(r);return n.length>0&&n[n.length-1].group===a?n[n.length-1].options.push(r):("production"!==process.env.NODE_ENV&&(e.get(a)&&!t&&(console.warn(`MUI: The options provided combined with the \`groupBy\` method of ${u} returns duplicated headers.`,"You can solve the issue by sorting the options with the output of `groupBy`."),t=!0),e.set(a,!0)),n.push({key:o,index:o,group:a,options:[r]})),n}),[])}return p&&re&&Ne(),{getRootProps:(e={})=>pt({"aria-owns":me?`${V}-listbox`:null},e,{onKeyDown:Oe(e),onMouseDown:Le,onClick:ze}),getInputLabelProps:()=>({id:`${V}-label`,htmlFor:V}),getInputProps:()=>({id:V,value:te,onBlur:Ne,onFocus:_e,onChange:Re,onMouseDown:$e,"aria-activedescendant":de?"":null,"aria-autocomplete":r?"both":"list","aria-controls":me?`${V}-listbox`:void 0,"aria-expanded":me,autoComplete:"off",ref:H,autoCapitalize:"none",spellCheck:"false",role:"combobox",disabled:p}),getClearProps:()=>({tabIndex:-1,type:"button",onClick:Te}),getPopupIndicatorProps:()=>({tabIndex:-1,type:"button",onClick:je}),getTagProps:({index:e})=>pt({key:e,"data-tag-index":e,tabIndex:-1},!$&&{onDelete:Ie(e)}),getListboxProps:()=>({role:"listbox",id:`${V}-listbox`,"aria-labelledby":`${V}-label`,ref:be,onMouseDown:e=>{e.preventDefault()}}),getOptionProps:({index:e,option:t})=>{var n;const r=(N?Z:[Z]).some((e=>null!=e&&_(t,e))),o=!!w&&w(t);return{key:null!=(n=null==x?void 0:x(t))?n:U(t),tabIndex:-1,role:"option",id:`${V}-option-${e}`,onMouseMove:Me,onClick:De,onTouchStart:Pe,"data-option-index":e,"aria-disabled":o,"aria-selected":r}},id:V,inputValue:te,value:Z,dirty:Ae,expanded:de&&Y,popupOpen:de,focused:re||-1!==G,anchorEl:Y,setAnchorEl:K,focusedTag:G,groupedOptions:Fe}}var sy={};Object.defineProperty(sy,"__esModule",{value:!0});var uy=sy.default=void 0,cy=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=fy(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(h),dy=ca;function fy(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(fy=function(e){return e?n:t})(e)}uy=sy.default=function(e=null){const t=cy.useContext(dy.ThemeContext);return t&&(n=t,0!==Object.keys(n).length)?t:e;var n};var py="top",my="bottom",hy="right",vy="left",yy="auto",gy=[py,my,hy,vy],by="start",wy="end",xy="clippingParents",ky="viewport",Sy="popper",Ey="reference",Cy=gy.reduce((function(e,t){return e.concat([t+"-"+by,t+"-"+wy])}),[]),Ty=[].concat(gy,[yy]).reduce((function(e,t){return e.concat([t,t+"-"+by,t+"-"+wy])}),[]),Oy=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function _y(e){return e?(e.nodeName||"").toLowerCase():null}function Ny(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Ry(e){return e instanceof Ny(e).Element||e instanceof Element}function My(e){return e instanceof Ny(e).HTMLElement||e instanceof HTMLElement}function Py(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Ny(e).ShadowRoot||e instanceof ShadowRoot)}var Dy={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];My(o)&&_y(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(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(e){var r=t.elements[e],o=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});My(r)&&_y(r)&&(Object.assign(r.style,a),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};function Iy(e){return e.split("-")[0]}var jy=Math.max,Ly=Math.min,zy=Math.round;function $y(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function Ay(){return!/^((?!chrome|android).)*safari/i.test($y())}function Fy(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,a=1;t&&My(e)&&(o=e.offsetWidth>0&&zy(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&zy(r.height)/e.offsetHeight||1);var i=(Ry(e)?Ny(e):window).visualViewport,l=!Ay()&&n,s=(r.left+(l&&i?i.offsetLeft:0))/o,u=(r.top+(l&&i?i.offsetTop:0))/a,c=r.width/o,d=r.height/a;return{width:c,height:d,top:u,right:s+c,bottom:u+d,left:s,x:s,y:u}}function Vy(e){var t=Fy(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 Uy(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Py(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function By(e){return Ny(e).getComputedStyle(e)}function Wy(e){return["table","td","th"].indexOf(_y(e))>=0}function Hy(e){return((Ry(e)?e.ownerDocument:e.document)||window.document).documentElement}function qy(e){return"html"===_y(e)?e:e.assignedSlot||e.parentNode||(Py(e)?e.host:null)||Hy(e)}function Yy(e){return My(e)&&"fixed"!==By(e).position?e.offsetParent:null}function Ky(e){for(var t=Ny(e),n=Yy(e);n&&Wy(n)&&"static"===By(n).position;)n=Yy(n);return n&&("html"===_y(n)||"body"===_y(n)&&"static"===By(n).position)?t:n||function(e){var t=/firefox/i.test($y());if(/Trident/i.test($y())&&My(e)&&"fixed"===By(e).position)return null;var n=qy(e);for(Py(n)&&(n=n.host);My(n)&&["html","body"].indexOf(_y(n))<0;){var r=By(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}function Gy(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Qy(e,t,n){return jy(e,Ly(t,n))}function Xy(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Jy(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var Zy={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,a=n.elements.arrow,i=n.modifiersData.popperOffsets,l=Iy(n.placement),s=Gy(l),u=[vy,hy].indexOf(l)>=0?"height":"width";if(a&&i){var c=function(e,t){return Xy("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Jy(e,gy))}(o.padding,n),d=Vy(a),f="y"===s?py:vy,p="y"===s?my:hy,m=n.rects.reference[u]+n.rects.reference[s]-i[s]-n.rects.popper[u],h=i[s]-n.rects.reference[s],v=Ky(a),y=v?"y"===s?v.clientHeight||0:v.clientWidth||0:0,g=m/2-h/2,b=c[f],w=y-d[u]-c[p],x=y/2-d[u]/2+g,k=Qy(b,x,w),S=s;n.modifiersData[r]=((t={})[S]=k,t.centerOffset=k-x,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&Uy(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function eg(e){return e.split("-")[1]}var tg={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ng(e){var t,n=e.popper,r=e.popperRect,o=e.placement,a=e.variation,i=e.offsets,l=e.position,s=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,d=e.isFixed,f=i.x,p=void 0===f?0:f,m=i.y,h=void 0===m?0:m,v="function"==typeof c?c({x:p,y:h}):{x:p,y:h};p=v.x,h=v.y;var y=i.hasOwnProperty("x"),g=i.hasOwnProperty("y"),b=vy,w=py,x=window;if(u){var k=Ky(n),S="clientHeight",E="clientWidth";if(k===Ny(n)&&"static"!==By(k=Hy(n)).position&&"absolute"===l&&(S="scrollHeight",E="scrollWidth"),o===py||(o===vy||o===hy)&&a===wy)w=my,h-=(d&&k===x&&x.visualViewport?x.visualViewport.height:k[S])-r.height,h*=s?1:-1;if(o===vy||(o===py||o===my)&&a===wy)b=hy,p-=(d&&k===x&&x.visualViewport?x.visualViewport.width:k[E])-r.width,p*=s?1:-1}var C,T=Object.assign({position:l},u&&tg),O=!0===c?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:zy(n*o)/o||0,y:zy(r*o)/o||0}}({x:p,y:h},Ny(n)):{x:p,y:h};return p=O.x,h=O.y,s?Object.assign({},T,((C={})[w]=g?"0":"",C[b]=y?"0":"",C.transform=(x.devicePixelRatio||1)<=1?"translate("+p+"px, "+h+"px)":"translate3d("+p+"px, "+h+"px, 0)",C)):Object.assign({},T,((t={})[w]=g?h+"px":"",t[b]=y?p+"px":"",t.transform="",t))}var rg={passive:!0};var og={left:"right",right:"left",bottom:"top",top:"bottom"};function ag(e){return e.replace(/left|right|bottom|top/g,(function(e){return og[e]}))}var ig={start:"end",end:"start"};function lg(e){return e.replace(/start|end/g,(function(e){return ig[e]}))}function sg(e){var t=Ny(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ug(e){return Fy(Hy(e)).left+sg(e).scrollLeft}function cg(e){var t=By(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function dg(e){return["html","body","#document"].indexOf(_y(e))>=0?e.ownerDocument.body:My(e)&&cg(e)?e:dg(qy(e))}function fg(e,t){var n;void 0===t&&(t=[]);var r=dg(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),a=Ny(r),i=o?[a].concat(a.visualViewport||[],cg(r)?r:[]):r,l=t.concat(i);return o?l:l.concat(fg(qy(i)))}function pg(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function mg(e,t,n){return t===ky?pg(function(e,t){var n=Ny(e),r=Hy(e),o=n.visualViewport,a=r.clientWidth,i=r.clientHeight,l=0,s=0;if(o){a=o.width,i=o.height;var u=Ay();(u||!u&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}return{width:a,height:i,x:l+ug(e),y:s}}(e,n)):Ry(t)?function(e,t){var n=Fy(e,!1,"fixed"===t);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}(t,n):pg(function(e){var t,n=Hy(e),r=sg(e),o=null==(t=e.ownerDocument)?void 0:t.body,a=jy(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=jy(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-r.scrollLeft+ug(e),s=-r.scrollTop;return"rtl"===By(o||n).direction&&(l+=jy(n.clientWidth,o?o.clientWidth:0)-a),{width:a,height:i,x:l,y:s}}(Hy(e)))}function hg(e,t,n,r){var o="clippingParents"===t?function(e){var t=fg(qy(e)),n=["absolute","fixed"].indexOf(By(e).position)>=0&&My(e)?Ky(e):e;return Ry(n)?t.filter((function(e){return Ry(e)&&Uy(e,n)&&"body"!==_y(e)})):[]}(e):[].concat(t),a=[].concat(o,[n]),i=a[0],l=a.reduce((function(t,n){var o=mg(e,n,r);return t.top=jy(o.top,t.top),t.right=Ly(o.right,t.right),t.bottom=Ly(o.bottom,t.bottom),t.left=jy(o.left,t.left),t}),mg(e,i,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function vg(e){var t,n=e.reference,r=e.element,o=e.placement,a=o?Iy(o):null,i=o?eg(o):null,l=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(a){case py:t={x:l,y:n.y-r.height};break;case my:t={x:l,y:n.y+n.height};break;case hy:t={x:n.x+n.width,y:s};break;case vy:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var u=a?Gy(a):null;if(null!=u){var c="y"===u?"height":"width";switch(i){case by:t[u]=t[u]-(n[c]/2-r[c]/2);break;case wy:t[u]=t[u]+(n[c]/2-r[c]/2)}}return t}function yg(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,a=n.strategy,i=void 0===a?e.strategy:a,l=n.boundary,s=void 0===l?xy:l,u=n.rootBoundary,c=void 0===u?ky:u,d=n.elementContext,f=void 0===d?Sy:d,p=n.altBoundary,m=void 0!==p&&p,h=n.padding,v=void 0===h?0:h,y=Xy("number"!=typeof v?v:Jy(v,gy)),g=f===Sy?Ey:Sy,b=e.rects.popper,w=e.elements[m?g:f],x=hg(Ry(w)?w:w.contextElement||Hy(e.elements.popper),s,c,i),k=Fy(e.elements.reference),S=vg({reference:k,element:b,strategy:"absolute",placement:o}),E=pg(Object.assign({},b,S)),C=f===Sy?E:k,T={top:x.top-C.top+y.top,bottom:C.bottom-x.bottom+y.bottom,left:x.left-C.left+y.left,right:C.right-x.right+y.right},O=e.modifiersData.offset;if(f===Sy&&O){var _=O[o];Object.keys(T).forEach((function(e){var t=[hy,my].indexOf(e)>=0?1:-1,n=[py,my].indexOf(e)>=0?"y":"x";T[e]+=_[n]*t}))}return T}function gg(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,a=n.rootBoundary,i=n.padding,l=n.flipVariations,s=n.allowedAutoPlacements,u=void 0===s?Ty:s,c=eg(r),d=c?l?Cy:Cy.filter((function(e){return eg(e)===c})):gy,f=d.filter((function(e){return u.indexOf(e)>=0}));0===f.length&&(f=d);var p=f.reduce((function(t,n){return t[n]=yg(e,{placement:n,boundary:o,rootBoundary:a,padding:i})[Iy(n)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}var bg={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,a=void 0===o||o,i=n.altAxis,l=void 0===i||i,s=n.fallbackPlacements,u=n.padding,c=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,m=void 0===p||p,h=n.allowedAutoPlacements,v=t.options.placement,y=Iy(v),g=s||(y===v||!m?[ag(v)]:function(e){if(Iy(e)===yy)return[];var t=ag(e);return[lg(e),t,lg(t)]}(v)),b=[v].concat(g).reduce((function(e,n){return e.concat(Iy(n)===yy?gg(t,{placement:n,boundary:c,rootBoundary:d,padding:u,flipVariations:m,allowedAutoPlacements:h}):n)}),[]),w=t.rects.reference,x=t.rects.popper,k=new Map,S=!0,E=b[0],C=0;C<b.length;C++){var T=b[C],O=Iy(T),_=eg(T)===by,N=[py,my].indexOf(O)>=0,R=N?"width":"height",M=yg(t,{placement:T,boundary:c,rootBoundary:d,altBoundary:f,padding:u}),P=N?_?hy:vy:_?my:py;w[R]>x[R]&&(P=ag(P));var D=ag(P),I=[];if(a&&I.push(M[O]<=0),l&&I.push(M[P]<=0,M[D]<=0),I.every((function(e){return e}))){E=T,S=!1;break}k.set(T,I)}if(S)for(var j=function(e){var t=b.find((function(t){var n=k.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return E=t,"break"},L=m?3:1;L>0;L--){if("break"===j(L))break}t.placement!==E&&(t.modifiersData[r]._skip=!0,t.placement=E,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function wg(e,t,n){return void 0===n&&(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 xg(e){return[py,hy,my,vy].some((function(t){return e[t]>=0}))}var kg={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,a=void 0===o?[0,0]:o,i=Ty.reduce((function(e,n){return e[n]=function(e,t,n){var r=Iy(e),o=[vy,py].indexOf(r)>=0?-1:1,a="function"==typeof n?n(Object.assign({},t,{placement:e})):n,i=a[0],l=a[1];return i=i||0,l=(l||0)*o,[vy,hy].indexOf(r)>=0?{x:l,y:i}:{x:i,y:l}}(n,t.rects,a),e}),{}),l=i[t.placement],s=l.x,u=l.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=i}};var Sg={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,a=void 0===o||o,i=n.altAxis,l=void 0!==i&&i,s=n.boundary,u=n.rootBoundary,c=n.altBoundary,d=n.padding,f=n.tether,p=void 0===f||f,m=n.tetherOffset,h=void 0===m?0:m,v=yg(t,{boundary:s,rootBoundary:u,padding:d,altBoundary:c}),y=Iy(t.placement),g=eg(t.placement),b=!g,w=Gy(y),x="x"===w?"y":"x",k=t.modifiersData.popperOffsets,S=t.rects.reference,E=t.rects.popper,C="function"==typeof h?h(Object.assign({},t.rects,{placement:t.placement})):h,T="number"==typeof C?{mainAxis:C,altAxis:C}:Object.assign({mainAxis:0,altAxis:0},C),O=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,_={x:0,y:0};if(k){if(a){var N,R="y"===w?py:vy,M="y"===w?my:hy,P="y"===w?"height":"width",D=k[w],I=D+v[R],j=D-v[M],L=p?-E[P]/2:0,z=g===by?S[P]:E[P],$=g===by?-E[P]:-S[P],A=t.elements.arrow,F=p&&A?Vy(A):{width:0,height:0},V=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},U=V[R],B=V[M],W=Qy(0,S[P],F[P]),H=b?S[P]/2-L-W-U-T.mainAxis:z-W-U-T.mainAxis,q=b?-S[P]/2+L+W+B+T.mainAxis:$+W+B+T.mainAxis,Y=t.elements.arrow&&Ky(t.elements.arrow),K=Y?"y"===w?Y.clientTop||0:Y.clientLeft||0:0,G=null!=(N=null==O?void 0:O[w])?N:0,Q=D+q-G,X=Qy(p?Ly(I,D+H-G-K):I,D,p?jy(j,Q):j);k[w]=X,_[w]=X-D}if(l){var J,Z="x"===w?py:vy,ee="x"===w?my:hy,te=k[x],ne="y"===x?"height":"width",re=te+v[Z],oe=te-v[ee],ae=-1!==[py,vy].indexOf(y),ie=null!=(J=null==O?void 0:O[x])?J:0,le=ae?re:te-S[ne]-E[ne]-ie+T.altAxis,se=ae?te+S[ne]+E[ne]-ie-T.altAxis:oe,ue=p&&ae?function(e,t,n){var r=Qy(e,t,n);return r>n?n:r}(le,te,se):Qy(p?le:re,te,p?se:oe);k[x]=ue,_[x]=ue-te}t.modifiersData[r]=_}},requiresIfExists:["offset"]};function Eg(e,t,n){void 0===n&&(n=!1);var r=My(t),o=My(t)&&function(e){var t=e.getBoundingClientRect(),n=zy(t.width)/e.offsetWidth||1,r=zy(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),a=Hy(t),i=Fy(e,o,n),l={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(r||!r&&!n)&&(("body"!==_y(t)||cg(a))&&(l=function(e){return e!==Ny(e)&&My(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:sg(e);var t}(t)),My(t)?((s=Fy(t,!0)).x+=t.clientLeft,s.y+=t.clientTop):a&&(s.x=ug(a))),{x:i.left+l.scrollLeft-s.x,y:i.top+l.scrollTop-s.y,width:i.width,height:i.height}}function Cg(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}var Tg={placement:"bottom",modifiers:[],strategy:"absolute"};function Og(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function _g(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,a=void 0===o?Tg:o;return function(e,t,n){void 0===n&&(n=a);var o,i,l={placement:"bottom",orderedModifiers:[],options:Object.assign({},Tg,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},s=[],u=!1,c={state:l,setOptions:function(n){var o="function"==typeof n?n(l.options):n;d(),l.options=Object.assign({},a,l.options,o),l.scrollParents={reference:Ry(e)?fg(e):e.contextElement?fg(e.contextElement):[],popper:fg(t)};var i,u,f=function(e){var t=Cg(e);return Oy.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((i=[].concat(r,l.options.modifiers),u=i.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{}),Object.keys(u).map((function(e){return u[e]}))));return l.orderedModifiers=f.filter((function(e){return e.enabled})),l.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var a=o({state:l,name:t,instance:c,options:r}),i=function(){};s.push(a||i)}})),c.update()},forceUpdate:function(){if(!u){var e=l.elements,t=e.reference,n=e.popper;if(Og(t,n)){l.rects={reference:Eg(t,Ky(n),"fixed"===l.options.strategy),popper:Vy(n)},l.reset=!1,l.placement=l.options.placement,l.orderedModifiers.forEach((function(e){return l.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<l.orderedModifiers.length;r++)if(!0!==l.reset){var o=l.orderedModifiers[r],a=o.fn,i=o.options,s=void 0===i?{}:i,d=o.name;"function"==typeof a&&(l=a({state:l,options:s,name:d,instance:c})||l)}else l.reset=!1,r=-1}}},update:(o=function(){return new Promise((function(e){c.forceUpdate(),e(l)}))},function(){return i||(i=new Promise((function(e){Promise.resolve().then((function(){i=void 0,e(o())}))}))),i}),destroy:function(){d(),u=!0}};if(!Og(e,t))return c;function d(){s.forEach((function(e){return e()})),s=[]}return c.setOptions(n).then((function(e){!u&&n.onFirstUpdate&&n.onFirstUpdate(e)})),c}}var Ng=_g({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,a=void 0===o||o,i=r.resize,l=void 0===i||i,s=Ny(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&u.forEach((function(e){e.addEventListener("scroll",n.update,rg)})),l&&s.addEventListener("resize",n.update,rg),function(){a&&u.forEach((function(e){e.removeEventListener("scroll",n.update,rg)})),l&&s.removeEventListener("resize",n.update,rg)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=vg({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,a=n.adaptive,i=void 0===a||a,l=n.roundOffsets,s=void 0===l||l,u={placement:Iy(t.placement),variation:eg(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,ng(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,ng(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},Dy,kg,bg,Sg,Zy,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,a=t.modifiersData.preventOverflow,i=yg(t,{elementContext:"reference"}),l=yg(t,{altBoundary:!0}),s=wg(i,r),u=wg(l,o,a),c=xg(s),d=xg(u);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":d})}}]});function Rg(e){return dl("MuiPopper",e)}Hl("MuiPopper",["root"]);const Mg=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],Pg=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function Dg(e){return"function"==typeof e?e():e}function Ig(e){return void 0!==e.nodeType}const jg={},Lg=h.forwardRef((function(e,t){var n;const{anchorEl:r,children:o,direction:a,disablePortal:i,modifiers:l,open:s,placement:u,popperOptions:c,popperRef:d,slotProps:f={},slots:p={},TransitionProps:m}=e,v=ft(e,Mg),y=h.useRef(null),g=Zl(y,t),b=h.useRef(null),w=Zl(b,d),x=h.useRef(w);os((()=>{x.current=w}),[w]),h.useImperativeHandle(d,(()=>b.current),[]);const k=function(e,t){if("ltr"===t)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(u,a),[S,E]=h.useState(k),[C,T]=h.useState(Dg(r));h.useEffect((()=>{b.current&&b.current.forceUpdate()})),h.useEffect((()=>{r&&T(Dg(r))}),[r]),os((()=>{if(!C||!s)return;if("production"!==process.env.NODE_ENV&&C&&Ig(C)&&1===C.nodeType){const e=C.getBoundingClientRect();"test"!==process.env.NODE_ENV&&0===e.top&&0===e.left&&0===e.right&&0===e.bottom&&console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join("\n"))}let e=[{name:"preventOverflow",options:{altBoundary:i}},{name:"flip",options:{altBoundary:i}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:e})=>{E(e.placement)}}];null!=l&&(e=e.concat(l)),c&&null!=c.modifiers&&(e=e.concat(c.modifiers));const t=Ng(C,y.current,pt({placement:k},c,{modifiers:e}));return x.current(t),()=>{t.destroy(),x.current(null)}}),[C,i,l,s,c,k]);const O={placement:S};null!==m&&(O.TransitionProps=m);const _=(e=>{const{classes:t}=e;return Vt({root:["root"]},Rg,t)})(e),N=null!=(n=p.root)?n:"div",R=ju({elementType:N,externalSlotProps:f.root,externalForwardedProps:v,additionalProps:{role:"tooltip",ref:g},ownerState:e,className:_.root});return Cn.jsx(N,pt({},R,{children:"function"==typeof o?o(O):o}))})),zg=h.forwardRef((function(e,t){const{anchorEl:n,children:r,container:o,direction:a="ltr",disablePortal:i=!1,keepMounted:l=!1,modifiers:s,open:u,placement:c="bottom",popperOptions:d=jg,popperRef:f,style:p,transition:m=!1,slotProps:v={},slots:y={}}=e,g=ft(e,Pg),[b,w]=h.useState(!0);if(!l&&!u&&(!m||b))return null;let x;if(o)x=o;else if(n){const e=Dg(n);x=e&&Ig(e)?gu(e).body:gu(null).body}const k=u||!l||m&&!b?void 0:"none",S=m?{in:u,onEnter:()=>{w(!1)},onExited:()=>{w(!0)}}:void 0;return Cn.jsx(vf,{disablePortal:i,container:x,children:Cn.jsx(Lg,pt({anchorEl:n,direction:a,disablePortal:i,modifiers:s,ref:t,open:m?!b:u,placement:c,popperOptions:d,popperRef:f,slotProps:v,slots:y},g,{style:pt({position:"fixed",top:0,left:0,display:k},p),TransitionProps:S,children:r}))})}));"production"!==process.env.NODE_ENV&&(zg.propTypes={anchorEl:ns($t.oneOfType([mu,$t.object,$t.func]),(e=>{if(e.open){const t=Dg(e.anchorEl);if(t&&Ig(t)&&1===t.nodeType){const e=t.getBoundingClientRect();if("test"!==process.env.NODE_ENV&&0===e.top&&0===e.left&&0===e.right&&0===e.bottom)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join("\n"))}else if(!t||"function"!=typeof t.getBoundingClientRect||!Ig(t)&&null!=t.contextElement&&1!==t.contextElement.nodeType)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","It should be an HTML element instance or a virtualElement ","(https://popper.js.org/docs/v2/virtual-elements/)."].join("\n"))}return null})),children:$t.oneOfType([$t.node,$t.func]),container:$t.oneOfType([mu,$t.func]),direction:$t.oneOf(["ltr","rtl"]),disablePortal:$t.bool,keepMounted:$t.bool,modifiers:$t.arrayOf($t.shape({data:$t.object,effect:$t.func,enabled:$t.bool,fn:$t.func,name:$t.any,options:$t.object,phase:$t.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:$t.arrayOf($t.string),requiresIfExists:$t.arrayOf($t.string)})),open:$t.bool.isRequired,placement:$t.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),popperOptions:$t.shape({modifiers:$t.array,onFirstUpdate:$t.func,placement:$t.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),strategy:$t.oneOf(["absolute","fixed"])}),popperRef:ts,slotProps:$t.shape({root:$t.oneOfType([$t.func,$t.object])}),slots:$t.shape({root:$t.elementType}),transition:$t.bool});const $g=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],Ag=Wl(zg,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Fg=h.forwardRef((function(e,t){var n;const r=uy(),o=_n({props:e,name:"MuiPopper"}),{anchorEl:a,component:i,components:l,componentsProps:s,container:u,disablePortal:c,keepMounted:d,modifiers:f,open:p,placement:m,popperOptions:h,popperRef:v,transition:y,slots:g,slotProps:b}=o,w=ft(o,$g),x=null!=(n=null==g?void 0:g.root)?n:null==l?void 0:l.Root,k=pt({anchorEl:a,container:u,disablePortal:c,keepMounted:d,modifiers:f,open:p,placement:m,popperOptions:h,popperRef:v,transition:y},w);return Cn.jsx(Ag,pt({as:i,direction:null==r?void 0:r.direction,slots:{root:x},slotProps:null!=b?b:s},k,{ref:t}))}));function Vg(e){return dl("MuiListSubheader",e)}"production"!==process.env.NODE_ENV&&(Fg.propTypes={anchorEl:$t.oneOfType([mu,$t.object,$t.func]),children:$t.oneOfType([$t.node,$t.func]),component:$t.elementType,components:$t.shape({Root:$t.elementType}),componentsProps:$t.shape({root:$t.oneOfType([$t.func,$t.object])}),container:$t.oneOfType([mu,$t.func]),disablePortal:$t.bool,keepMounted:$t.bool,modifiers:$t.arrayOf($t.shape({data:$t.object,effect:$t.func,enabled:$t.bool,fn:$t.func,name:$t.any,options:$t.object,phase:$t.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:$t.arrayOf($t.string),requiresIfExists:$t.arrayOf($t.string)})),open:$t.bool.isRequired,placement:$t.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),popperOptions:$t.shape({modifiers:$t.array,onFirstUpdate:$t.func,placement:$t.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),strategy:$t.oneOf(["absolute","fixed"])}),popperRef:ts,slotProps:$t.shape({root:$t.oneOfType([$t.func,$t.object])}),slots:$t.shape({root:$t.elementType}),sx:$t.oneOfType([$t.arrayOf($t.oneOfType([$t.func,$t.object,$t.bool])),$t.func,$t.object]),transition:$t.bool}),Hl("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);const Ug=["className","color","component","disableGutters","disableSticky","inset"],Bg=Wl("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"default"!==n.color&&t[`color${mn(n.color)}`],!n.disableGutters&&t.gutters,n.inset&&t.inset,!n.disableSticky&&t.sticky]}})((({theme:e,ownerState:t})=>pt({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(e.vars||e).palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14)},"primary"===t.color&&{color:(e.vars||e).palette.primary.main},"inherit"===t.color&&{color:"inherit"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.inset&&{paddingLeft:72},!t.disableSticky&&{position:"sticky",top:0,zIndex:1,backgroundColor:(e.vars||e).palette.background.paper}))),Wg=h.forwardRef((function(e,t){const n=_n({props:e,name:"MuiListSubheader"}),{className:r,color:o="default",component:a="li",disableGutters:i=!1,disableSticky:l=!1,inset:s=!1}=n,u=ft(n,Ug),c=pt({},n,{color:o,component:a,disableGutters:i,disableSticky:l,inset:s}),d=(e=>{const{classes:t,color:n,disableGutters:r,inset:o,disableSticky:a}=e;return Vt({root:["root","default"!==n&&`color${mn(n)}`,!r&&"gutters",o&&"inset",!a&&"sticky"]},Vg,t)})(c);return Cn.jsx(Bg,pt({as:a,className:Ft(d.root,r),ref:t,ownerState:c},u))}));Wg.muiSkipListHighlight=!0,"production"!==process.env.NODE_ENV&&(Wg.propTypes={children:$t.node,classes:$t.object,className:$t.string,color:$t.oneOf(["default","inherit","primary"]),component:$t.elementType,disableGutters:$t.bool,disableSticky:$t.bool,inset:$t.bool,sx:$t.oneOfType([$t.arrayOf($t.oneOfType([$t.func,$t.object,$t.bool])),$t.func,$t.object])});var Hg=Ql(Cn.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");function qg(e){return dl("MuiAutocomplete",e)}const Yg=Hl("MuiAutocomplete",["root","expanded","fullWidth","focused","focusVisible","tag","tagSizeSmall","tagSizeMedium","hasPopupIcon","hasClearIcon","inputRoot","input","inputFocused","endAdornment","clearIndicator","popupIndicator","popupIndicatorOpen","popper","popperDisablePortal","paper","listbox","loading","noOptions","option","groupLabel","groupUl"]);var Kg,Gg;const Qg=["autoComplete","autoHighlight","autoSelect","blurOnSelect","ChipProps","className","clearIcon","clearOnBlur","clearOnEscape","clearText","closeText","componentsProps","defaultValue","disableClearable","disableCloseOnSelect","disabled","disabledItemsFocusable","disableListWrap","disablePortal","filterOptions","filterSelectedOptions","forcePopupIcon","freeSolo","fullWidth","getLimitTagsText","getOptionDisabled","getOptionKey","getOptionLabel","isOptionEqualToValue","groupBy","handleHomeEndKeys","id","includeInputInList","inputValue","limitTags","ListboxComponent","ListboxProps","loading","loadingText","multiple","noOptionsText","onChange","onClose","onHighlightChange","onInputChange","onOpen","open","openOnFocus","openText","options","PaperComponent","PopperComponent","popupIcon","readOnly","renderGroup","renderInput","renderOption","renderTags","selectOnFocus","size","slotProps","value"],Xg=["ref"],Jg=["key"],Zg=["key"],eb=Wl("div",{name:"MuiAutocomplete",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{fullWidth:r,hasClearIcon:o,hasPopupIcon:a,inputFocused:i,size:l}=n;return[{[`& .${Yg.tag}`]:t.tag},{[`& .${Yg.tag}`]:t[`tagSize${mn(l)}`]},{[`& .${Yg.inputRoot}`]:t.inputRoot},{[`& .${Yg.input}`]:t.input},{[`& .${Yg.input}`]:i&&t.inputFocused},t.root,r&&t.fullWidth,a&&t.hasPopupIcon,o&&t.hasClearIcon]}})({[`&.${Yg.focused} .${Yg.clearIndicator}`]:{visibility:"visible"},"@media (pointer: fine)":{[`&:hover .${Yg.clearIndicator}`]:{visibility:"visible"}},[`& .${Yg.tag}`]:{margin:3,maxWidth:"calc(100% - 6px)"},[`& .${Yg.inputRoot}`]:{[`.${Yg.hasPopupIcon}&, .${Yg.hasClearIcon}&`]:{paddingRight:30},[`.${Yg.hasPopupIcon}.${Yg.hasClearIcon}&`]:{paddingRight:56},[`& .${Yg.input}`]:{width:0,minWidth:30}},[`& .${od.root}`]:{paddingBottom:1,"& .MuiInput-input":{padding:"4px 4px 4px 0px"}},[`& .${od.root}.${Kc.sizeSmall}`]:{[`& .${od.input}`]:{padding:"2px 4px 3px 0"}},[`& .${xd.root}`]:{padding:9,[`.${Yg.hasPopupIcon}&, .${Yg.hasClearIcon}&`]:{paddingRight:39},[`.${Yg.hasPopupIcon}.${Yg.hasClearIcon}&`]:{paddingRight:65},[`& .${Yg.input}`]:{padding:"7.5px 4px 7.5px 5px"},[`& .${Yg.endAdornment}`]:{right:9}},[`& .${xd.root}.${Kc.sizeSmall}`]:{paddingTop:6,paddingBottom:6,paddingLeft:6,[`& .${Yg.input}`]:{padding:"2.5px 4px 2.5px 8px"}},[`& .${cd.root}`]:{paddingTop:19,paddingLeft:8,[`.${Yg.hasPopupIcon}&, .${Yg.hasClearIcon}&`]:{paddingRight:39},[`.${Yg.hasPopupIcon}.${Yg.hasClearIcon}&`]:{paddingRight:65},[`& .${cd.input}`]:{padding:"7px 4px"},[`& .${Yg.endAdornment}`]:{right:9}},[`& .${cd.root}.${Kc.sizeSmall}`]:{paddingBottom:1,[`& .${cd.input}`]:{padding:"2.5px 4px"}},[`& .${Kc.hiddenLabel}`]:{paddingTop:8},[`& .${cd.root}.${Kc.hiddenLabel}`]:{paddingTop:0,paddingBottom:0,[`& .${Yg.input}`]:{paddingTop:16,paddingBottom:17}},[`& .${cd.root}.${Kc.hiddenLabel}.${Kc.sizeSmall}`]:{[`& .${Yg.input}`]:{paddingTop:8,paddingBottom:9}},[`& .${Yg.input}`]:{flexGrow:1,textOverflow:"ellipsis",opacity:0},variants:[{props:{fullWidth:!0},style:{width:"100%"}},{props:{size:"small"},style:{[`& .${Yg.tag}`]:{margin:2,maxWidth:"calc(100% - 4px)"}}},{props:{inputFocused:!0},style:{[`& .${Yg.input}`]:{opacity:1}}},{props:{multiple:!0},style:{[`& .${Yg.inputRoot}`]:{flexWrap:"wrap"}}}]}),tb=Wl("div",{name:"MuiAutocomplete",slot:"EndAdornment",overridesResolver:(e,t)=>t.endAdornment})({position:"absolute",right:0,top:"50%",transform:"translate(0, -50%)"}),nb=Wl(jh,{name:"MuiAutocomplete",slot:"ClearIndicator",overridesResolver:(e,t)=>t.clearIndicator})({marginRight:-2,padding:4,visibility:"hidden"}),rb=Wl(jh,{name:"MuiAutocomplete",slot:"PopupIndicator",overridesResolver:({ownerState:e},t)=>pt({},t.popupIndicator,e.popupOpen&&t.popupIndicatorOpen)})({padding:2,marginRight:-2,variants:[{props:{popupOpen:!0},style:{transform:"rotate(180deg)"}}]}),ob=Wl(Fg,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Yg.option}`]:t.option},t.popper,n.disablePortal&&t.popperDisablePortal]}})((({theme:e})=>({zIndex:(e.vars||e).zIndex.modal,variants:[{props:{disablePortal:!0},style:{position:"absolute"}}]}))),ab=Wl(jf,{name:"MuiAutocomplete",slot:"Paper",overridesResolver:(e,t)=>t.paper})((({theme:e})=>pt({},e.typography.body1,{overflow:"auto"}))),ib=Wl("div",{name:"MuiAutocomplete",slot:"Loading",overridesResolver:(e,t)=>t.loading})((({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),lb=Wl("div",{name:"MuiAutocomplete",slot:"NoOptions",overridesResolver:(e,t)=>t.noOptions})((({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),sb=Wl("div",{name:"MuiAutocomplete",slot:"Listbox",overridesResolver:(e,t)=>t.listbox})((({theme:e})=>({listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto",position:"relative",[`& .${Yg.option}`]:{minHeight:48,display:"flex",overflow:"hidden",justifyContent:"flex-start",alignItems:"center",cursor:"pointer",paddingTop:6,boxSizing:"border-box",outline:"0",WebkitTapHighlightColor:"transparent",paddingBottom:6,paddingLeft:16,paddingRight:16,[e.breakpoints.up("sm")]:{minHeight:"auto"},[`&.${Yg.focused}`]:{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},'&[aria-disabled="true"]':{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${Yg.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},'&[aria-selected="true"]':{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Qt(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Yg.focused}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Qt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${Yg.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Qt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}}}))),ub=Wl(Wg,{name:"MuiAutocomplete",slot:"GroupLabel",overridesResolver:(e,t)=>t.groupLabel})((({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,top:-8}))),cb=Wl("ul",{name:"MuiAutocomplete",slot:"GroupUl",overridesResolver:(e,t)=>t.groupUl})({padding:0,[`& .${Yg.option}`]:{paddingLeft:24}}),db=h.forwardRef((function(e,t){var n,r,o,a;const i=_n({props:e,name:"MuiAutocomplete"}),{autoComplete:l=!1,autoHighlight:s=!1,autoSelect:u=!1,blurOnSelect:c=!1,ChipProps:d,className:f,clearIcon:p=Kg||(Kg=Cn.jsx(Hg,{fontSize:"small"})),clearOnBlur:m=!i.freeSolo,clearOnEscape:v=!1,clearText:y="Clear",closeText:g="Close",componentsProps:b={},defaultValue:w=(i.multiple?[]:null),disableClearable:x=!1,disableCloseOnSelect:k=!1,disabled:S=!1,disabledItemsFocusable:E=!1,disableListWrap:C=!1,disablePortal:T=!1,filterSelectedOptions:O=!1,forcePopupIcon:_="auto",freeSolo:N=!1,fullWidth:R=!1,getLimitTagsText:M=e=>`+${e}`,getOptionLabel:P,groupBy:D,handleHomeEndKeys:I=!i.freeSolo,includeInputInList:j=!1,limitTags:L=-1,ListboxComponent:z="ul",ListboxProps:$,loading:A=!1,loadingText:F="Loading…",multiple:V=!1,noOptionsText:U="No options",openOnFocus:B=!1,openText:W="Open",PaperComponent:H=jf,PopperComponent:q=Fg,popupIcon:Y=Gg||(Gg=Cn.jsx(wp,{})),readOnly:K=!1,renderGroup:G,renderInput:Q,renderOption:X,renderTags:J,selectOnFocus:Z=!i.freeSolo,size:ee="medium",slotProps:te={}}=i,ne=ft(i,Qg),{getRootProps:re,getInputProps:oe,getInputLabelProps:ae,getPopupIndicatorProps:ie,getClearProps:le,getTagProps:se,getListboxProps:ue,getOptionProps:ce,value:de,dirty:fe,expanded:pe,id:me,popupOpen:he,focused:ve,focusedTag:ye,anchorEl:ge,setAnchorEl:be,inputValue:we,groupedOptions:xe}=ly(pt({},i,{componentName:"Autocomplete"})),ke=!x&&!S&&fe&&!K,Se=(!N||!0===_)&&!1!==_,{onMouseDown:Ee}=oe(),{ref:Ce}=null!=$?$:{},Te=ue(),{ref:Oe}=Te,_e=ft(Te,Xg),Ne=Zl(Oe,Ce),Re=P||(e=>{var t;return null!=(t=e.label)?t:e}),Me=pt({},i,{disablePortal:T,expanded:pe,focused:ve,fullWidth:R,getOptionLabel:Re,hasClearIcon:ke,hasPopupIcon:Se,inputFocused:-1===ye,popupOpen:he,size:ee}),Pe=(e=>{const{classes:t,disablePortal:n,expanded:r,focused:o,fullWidth:a,hasClearIcon:i,hasPopupIcon:l,inputFocused:s,popupOpen:u,size:c}=e;return Vt({root:["root",r&&"expanded",o&&"focused",a&&"fullWidth",i&&"hasClearIcon",l&&"hasPopupIcon"],inputRoot:["inputRoot"],input:["input",s&&"inputFocused"],tag:["tag",`tagSize${mn(c)}`],endAdornment:["endAdornment"],clearIndicator:["clearIndicator"],popupIndicator:["popupIndicator",u&&"popupIndicatorOpen"],popper:["popper",n&&"popperDisablePortal"],paper:["paper"],listbox:["listbox"],loading:["loading"],noOptions:["noOptions"],option:["option"],groupLabel:["groupLabel"],groupUl:["groupUl"]},qg,t)})(Me);let De;if(V&&de.length>0){const e=e=>pt({className:Pe.tag,disabled:S},se(e));De=J?J(de,e,Me):de.map(((t,n)=>{const r=e({index:n}),{key:o}=r,a=ft(r,Jg);return Cn.jsx(mc,pt({label:Re(t),size:ee},a,d),o)}))}if(L>-1&&Array.isArray(De)){const e=De.length-L;!ve&&e>0&&(De=De.splice(0,L),De.push(Cn.jsx("span",{className:Pe.tag,children:M(e)},De.length)))}const Ie=G||(e=>Cn.jsxs("li",{children:[Cn.jsx(ub,{className:Pe.groupLabel,ownerState:Me,component:"div",children:e.group}),Cn.jsx(cb,{className:Pe.groupUl,ownerState:Me,children:e.children})]},e.key)),je=X||((e,t)=>{const{key:n}=e,r=ft(e,Zg);return Cn.jsx("li",pt({},r,{children:Re(t)}),n)}),Le=(e,t)=>{const n=ce({option:e,index:t});return je(pt({},n,{className:Pe.option}),e,{selected:n["aria-selected"],index:t,inputValue:we},Me)},ze=null!=(n=te.clearIndicator)?n:b.clearIndicator,$e=null!=(r=te.paper)?r:b.paper,Ae=null!=(o=te.popper)?o:b.popper,Fe=null!=(a=te.popupIndicator)?a:b.popupIndicator,Ve=e=>Cn.jsx(ob,pt({as:q,disablePortal:T,style:{width:ge?ge.clientWidth:null},ownerState:Me,role:"presentation",anchorEl:ge,open:he},Ae,{className:Ft(Pe.popper,null==Ae?void 0:Ae.className),children:Cn.jsx(ab,pt({ownerState:Me,as:H},$e,{className:Ft(Pe.paper,null==$e?void 0:$e.className),children:e}))}));let Ue=null;return xe.length>0?Ue=Ve(Cn.jsx(sb,pt({as:z,className:Pe.listbox,ownerState:Me},_e,$,{ref:Ne,children:xe.map(((e,t)=>D?Ie({key:e.key,group:e.group,children:e.options.map(((t,n)=>Le(t,e.index+n)))}):Le(e,t)))}))):A&&0===xe.length?Ue=Ve(Cn.jsx(ib,{className:Pe.loading,ownerState:Me,children:F})):0!==xe.length||N||A||(Ue=Ve(Cn.jsx(lb,{className:Pe.noOptions,ownerState:Me,role:"presentation",onMouseDown:e=>{e.preventDefault()},children:U}))),Cn.jsxs(h.Fragment,{children:[Cn.jsx(eb,pt({ref:t,className:Ft(Pe.root,f),ownerState:Me},re(ne),{children:Q({id:me,disabled:S,fullWidth:!0,size:"small"===ee?"small":void 0,InputLabelProps:ae(),InputProps:pt({ref:be,className:Pe.inputRoot,startAdornment:De,onClick:e=>{e.target===e.currentTarget&&Ee(e)}},(ke||Se)&&{endAdornment:Cn.jsxs(tb,{className:Pe.endAdornment,ownerState:Me,children:[ke?Cn.jsx(nb,pt({},le(),{"aria-label":y,title:y,ownerState:Me},ze,{className:Ft(Pe.clearIndicator,null==ze?void 0:ze.className),children:p})):null,Se?Cn.jsx(rb,pt({},ie(),{disabled:S,"aria-label":he?g:W,title:he?g:W,ownerState:Me},Fe,{className:Ft(Pe.popupIndicator,null==Fe?void 0:Fe.className),children:Y})):null]})}),inputProps:pt({className:Pe.input,disabled:S,readOnly:K},oe())})})),ge?Ue:null]})}));"production"!==process.env.NODE_ENV&&(db.propTypes={autoComplete:$t.bool,autoHighlight:$t.bool,autoSelect:$t.bool,blurOnSelect:$t.oneOfType([$t.oneOf(["mouse","touch"]),$t.bool]),ChipProps:$t.object,classes:$t.object,className:$t.string,clearIcon:$t.node,clearOnBlur:$t.bool,clearOnEscape:$t.bool,clearText:$t.string,closeText:$t.string,componentsProps:$t.shape({clearIndicator:$t.object,paper:$t.object,popper:$t.object,popupIndicator:$t.object}),defaultValue:ns($t.any,(e=>e.multiple&&void 0!==e.defaultValue&&!Array.isArray(e.defaultValue)?new Error(["MUI: The Autocomplete expects the `defaultValue` prop to be an array when `multiple={true}` or undefined.",`However, ${e.defaultValue} was provided.`].join("\n")):null)),disableClearable:$t.bool,disableCloseOnSelect:$t.bool,disabled:$t.bool,disabledItemsFocusable:$t.bool,disableListWrap:$t.bool,disablePortal:$t.bool,filterOptions:$t.func,filterSelectedOptions:$t.bool,forcePopupIcon:$t.oneOfType([$t.oneOf(["auto"]),$t.bool]),freeSolo:$t.bool,fullWidth:$t.bool,getLimitTagsText:$t.func,getOptionDisabled:$t.func,getOptionKey:$t.func,getOptionLabel:$t.func,groupBy:$t.func,handleHomeEndKeys:$t.bool,id:$t.string,includeInputInList:$t.bool,inputValue:$t.string,isOptionEqualToValue:$t.func,limitTags:Ru,ListboxComponent:$t.elementType,ListboxProps:$t.object,loading:$t.bool,loadingText:$t.node,multiple:$t.bool,noOptionsText:$t.node,onChange:$t.func,onClose:$t.func,onHighlightChange:$t.func,onInputChange:$t.func,onKeyDown:$t.func,onOpen:$t.func,open:$t.bool,openOnFocus:$t.bool,openText:$t.string,options:$t.array.isRequired,PaperComponent:$t.elementType,PopperComponent:$t.elementType,popupIcon:$t.node,readOnly:$t.bool,renderGroup:$t.func,renderInput:$t.func.isRequired,renderOption:$t.func,renderTags:$t.func,selectOnFocus:$t.bool,size:$t.oneOfType([$t.oneOf(["small","medium"]),$t.string]),slotProps:$t.shape({clearIndicator:$t.object,paper:$t.object,popper:$t.object,popupIndicator:$t.object}),sx:$t.oneOfType([$t.arrayOf($t.oneOfType([$t.func,$t.object,$t.bool])),$t.func,$t.object]),value:ns($t.any,(e=>e.multiple&&void 0!==e.value&&!Array.isArray(e.value)?new Error(["MUI: The Autocomplete expects the `value` prop to be an array when `multiple={true}` or undefined.",`However, ${e.value} was provided.`].join("\n")):null))});var fb={},pb=Wt;Object.defineProperty(fb,"__esModule",{value:!0});var mb=fb.default=void 0,hb=pb(Nc()),vb=En();mb=fb.default=(0,hb.default)((0,vb.jsx)("path",{d:"M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7m0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5"}),"LocationOn");const yb=h.createContext();function gb(e){return dl("MuiGrid",e)}"production"!==process.env.NODE_ENV&&(yb.displayName="GridContext");const bb=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],wb=Hl("MuiGrid",["root","container","item","zeroMinWidth",...[0,1,2,3,4,5,6,7,8,9,10].map((e=>`spacing-xs-${e}`)),...["column-reverse","column","row-reverse","row"].map((e=>`direction-xs-${e}`)),...["nowrap","wrap-reverse","wrap"].map((e=>`wrap-xs-${e}`)),...bb.map((e=>`grid-xs-${e}`)),...bb.map((e=>`grid-sm-${e}`)),...bb.map((e=>`grid-md-${e}`)),...bb.map((e=>`grid-lg-${e}`)),...bb.map((e=>`grid-xl-${e}`))]),xb=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function kb(e){const t=parseFloat(e);return`${t}${String(e).replace(String(t),"")||"px"}`}function Sb({breakpoints:e,values:t}){let n="";Object.keys(t).forEach((e=>{""===n&&0!==t[e]&&(n=e)}));const r=Object.keys(e).sort(((t,n)=>e[t]-e[n]));return r.slice(0,r.indexOf(n))}const Eb=Wl("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{container:r,direction:o,item:a,spacing:i,wrap:l,zeroMinWidth:s,breakpoints:u}=n;let c=[];r&&(c=function(e,t,n={}){if(!e||e<=0)return[];if("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e)return[n[`spacing-xs-${String(e)}`]];const r=[];return t.forEach((t=>{const o=e[t];Number(o)>0&&r.push(n[`spacing-${t}-${String(o)}`])})),r}(i,u,t));const d=[];return u.forEach((e=>{const r=n[e];r&&d.push(t[`grid-${e}-${String(r)}`])})),[t.root,r&&t.container,a&&t.item,s&&t.zeroMinWidth,...c,"row"!==o&&t[`direction-xs-${String(o)}`],"wrap"!==l&&t[`wrap-xs-${String(l)}`],...d]}})((({ownerState:e})=>pt({boxSizing:"border-box"},e.container&&{display:"flex",flexWrap:"wrap",width:"100%"},e.item&&{margin:0},e.zeroMinWidth&&{minWidth:0},"wrap"!==e.wrap&&{flexWrap:e.wrap})),(function({theme:e,ownerState:t}){return La({theme:e},Aa({values:t.direction,breakpoints:e.breakpoints.values}),(e=>{const t={flexDirection:e};return 0===e.indexOf("column")&&(t[`& > .${wb.item}`]={maxWidth:"none"}),t}))}),(function({theme:e,ownerState:t}){const{container:n,rowSpacing:r}=t;let o={};if(n&&0!==r){const t=Aa({values:r,breakpoints:e.breakpoints.values});let n;"object"==typeof t&&(n=Sb({breakpoints:e.breakpoints.values,values:t})),o=La({theme:e},t,((t,r)=>{var o;const a=e.spacing(t);return"0px"!==a?{marginTop:`-${kb(a)}`,[`& > .${wb.item}`]:{paddingTop:kb(a)}}:null!=(o=n)&&o.includes(r)?{}:{marginTop:0,[`& > .${wb.item}`]:{paddingTop:0}}}))}return o}),(function({theme:e,ownerState:t}){const{container:n,columnSpacing:r}=t;let o={};if(n&&0!==r){const t=Aa({values:r,breakpoints:e.breakpoints.values});let n;"object"==typeof t&&(n=Sb({breakpoints:e.breakpoints.values,values:t})),o=La({theme:e},t,((t,r)=>{var o;const a=e.spacing(t);return"0px"!==a?{width:`calc(100% + ${kb(a)})`,marginLeft:`-${kb(a)}`,[`& > .${wb.item}`]:{paddingLeft:kb(a)}}:null!=(o=n)&&o.includes(r)?{}:{width:"100%",marginLeft:0,[`& > .${wb.item}`]:{paddingLeft:0}}}))}return o}),(function({theme:e,ownerState:t}){let n;return e.breakpoints.keys.reduce(((r,o)=>{let a={};if(t[o]&&(n=t[o]),!n)return r;if(!0===n)a={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if("auto"===n)a={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const i=Aa({values:t.columns,breakpoints:e.breakpoints.values}),l="object"==typeof i?i[o]:i;if(null==l)return r;const s=Math.round(n/l*1e8)/1e6+"%";let u={};if(t.container&&t.item&&0!==t.columnSpacing){const n=e.spacing(t.columnSpacing);if("0px"!==n){const e=`calc(${s} + ${kb(n)})`;u={flexBasis:e,maxWidth:e}}}a=pt({flexBasis:s,flexGrow:0,maxWidth:s},u)}return 0===e.breakpoints.values[o]?Object.assign(r,a):r[e.breakpoints.up(o)]=a,r}),{})}));const Cb=e=>{const{classes:t,container:n,direction:r,item:o,spacing:a,wrap:i,zeroMinWidth:l,breakpoints:s}=e;let u=[];n&&(u=function(e,t){if(!e||e<=0)return[];if("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e)return[`spacing-xs-${String(e)}`];const n=[];return t.forEach((t=>{const r=e[t];if(Number(r)>0){const e=`spacing-${t}-${String(r)}`;n.push(e)}})),n}(a,s));const c=[];s.forEach((t=>{const n=e[t];n&&c.push(`grid-${t}-${String(n)}`)}));return Vt({root:["root",n&&"container",o&&"item",l&&"zeroMinWidth",...u,"row"!==r&&`direction-xs-${String(r)}`,"wrap"!==i&&`wrap-xs-${String(i)}`,...c]},gb,t)},Tb=h.forwardRef((function(e,t){const n=_n({props:e,name:"MuiGrid"}),{breakpoints:r}=Jd(),o=Fi(n),{className:a,columns:i,columnSpacing:l,component:s="div",container:u=!1,direction:c="row",item:d=!1,rowSpacing:f,spacing:p=0,wrap:m="wrap",zeroMinWidth:v=!1}=o,y=ft(o,xb),g=f||p,b=l||p,w=h.useContext(yb),x=u?i||12:w,k={},S=pt({},y);r.keys.forEach((e=>{null!=y[e]&&(k[e]=y[e],delete S[e])}));const E=pt({},o,{columns:x,container:u,direction:c,item:d,rowSpacing:g,columnSpacing:b,wrap:m,zeroMinWidth:v,spacing:p},k,{breakpoints:r.keys}),C=Cb(E);return Cn.jsx(yb.Provider,{value:x,children:Cn.jsx(Eb,pt({ownerState:E,className:Ft(C.root,a),as:s,ref:t},S))})}));if("production"!==process.env.NODE_ENV&&(Tb.propTypes={children:$t.node,classes:$t.object,className:$t.string,columns:$t.oneOfType([$t.arrayOf($t.number),$t.number,$t.object]),columnSpacing:$t.oneOfType([$t.arrayOf($t.oneOfType([$t.number,$t.string])),$t.number,$t.object,$t.string]),component:$t.elementType,container:$t.bool,direction:$t.oneOfType([$t.oneOf(["column-reverse","column","row-reverse","row"]),$t.arrayOf($t.oneOf(["column-reverse","column","row-reverse","row"])),$t.object]),item:$t.bool,lg:$t.oneOfType([$t.oneOf(["auto"]),$t.number,$t.bool]),md:$t.oneOfType([$t.oneOf(["auto"]),$t.number,$t.bool]),rowSpacing:$t.oneOfType([$t.arrayOf($t.oneOfType([$t.number,$t.string])),$t.number,$t.object,$t.string]),sm:$t.oneOfType([$t.oneOf(["auto"]),$t.number,$t.bool]),spacing:$t.oneOfType([$t.arrayOf($t.oneOfType([$t.number,$t.string])),$t.number,$t.object,$t.string]),sx:$t.oneOfType([$t.arrayOf($t.oneOfType([$t.func,$t.object,$t.bool])),$t.func,$t.object]),wrap:$t.oneOf(["nowrap","wrap-reverse","wrap"]),xl:$t.oneOfType([$t.oneOf(["auto"]),$t.number,$t.bool]),xs:$t.oneOfType([$t.oneOf(["auto"]),$t.number,$t.bool]),zeroMinWidth:$t.bool}),"production"!==process.env.NODE_ENV){const e=wu("Grid",Tb);Tb.propTypes=pt({},Tb.propTypes,{direction:e("container"),lg:e("item"),md:e("item"),sm:e("item"),spacing:e("container"),wrap:e("container"),xs:e("item"),zeroMinWidth:e("item")})}function Ob(e){return dl("MuiButton",e)}const _b=Hl("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),Nb=h.createContext({});"production"!==process.env.NODE_ENV&&(Nb.displayName="ButtonGroupContext");const Rb=h.createContext(void 0);"production"!==process.env.NODE_ENV&&(Rb.displayName="ButtonGroupButtonContext");const Mb=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],Pb=e=>pt({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),Db=Wl(lc,{shouldForwardProp:e=>Bl(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${mn(n.color)}`],t[`size${mn(n.size)}`],t[`${n.variant}Size${mn(n.size)}`],"inherit"===n.color&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})((({theme:e,ownerState:t})=>{var n,r;const o="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],a="light"===e.palette.mode?e.palette.grey.A100:e.palette.grey[700];return pt({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":pt({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Qt(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===t.variant&&"inherit"!==t.color&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Qt(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===t.variant&&"inherit"!==t.color&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Qt(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===t.variant&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:a,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},"contained"===t.variant&&"inherit"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":pt({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${_b.focusVisible}`]:pt({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${_b.disabled}`]:pt({color:(e.vars||e).palette.action.disabled},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"contained"===t.variant&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},"text"===t.variant&&{padding:"6px 8px"},"text"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main},"outlined"===t.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${Qt(e.palette[t.color].main,.5)}`},"contained"===t.variant&&{color:e.vars?e.vars.palette.text.primary:null==(n=(r=e.palette).getContrastText)?void 0:n.call(r,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:o,boxShadow:(e.vars||e).shadows[2]},"contained"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},"inherit"===t.color&&{color:"inherit",borderColor:"currentColor"},"small"===t.size&&"text"===t.variant&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"text"===t.variant&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"outlined"===t.variant&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"outlined"===t.variant&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"contained"===t.variant&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"contained"===t.variant&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})}),(({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${_b.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${_b.disabled}`]:{boxShadow:"none"}})),Ib=Wl("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${mn(n.size)}`]]}})((({ownerState:e})=>pt({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},Pb(e)))),jb=Wl("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${mn(n.size)}`]]}})((({ownerState:e})=>pt({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},Pb(e)))),Lb=h.forwardRef((function(e,t){const n=h.useContext(Nb),r=h.useContext(Rb),o=_n({props:vn(n,e),name:"MuiButton"}),{children:a,color:i="primary",component:l="button",className:s,disabled:u=!1,disableElevation:c=!1,disableFocusRipple:d=!1,endIcon:f,focusVisibleClassName:p,fullWidth:m=!1,size:v="medium",startIcon:y,type:g,variant:b="text"}=o,w=ft(o,Mb),x=pt({},o,{color:i,component:l,disabled:u,disableElevation:c,disableFocusRipple:d,fullWidth:m,size:v,type:g,variant:b}),k=(e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:a,classes:i}=e;return pt({},i,Vt({root:["root",a,`${a}${mn(t)}`,`size${mn(o)}`,`${a}Size${mn(o)}`,`color${mn(t)}`,n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${mn(o)}`],endIcon:["icon","endIcon",`iconSize${mn(o)}`]},Ob,i))})(x),S=y&&Cn.jsx(Ib,{className:k.startIcon,ownerState:x,children:y}),E=f&&Cn.jsx(jb,{className:k.endIcon,ownerState:x,children:f}),C=r||"";return Cn.jsxs(Db,pt({ownerState:x,className:Ft(n.className,k.root,s,C),component:l,disabled:u,focusRipple:!d,focusVisibleClassName:Ft(k.focusVisible,p),ref:t,type:g},w,{classes:k,children:[S,a,E]}))}));function zb(e){return dl("MuiCard",e)}"production"!==process.env.NODE_ENV&&(Lb.propTypes={children:$t.node,classes:$t.object,className:$t.string,color:$t.oneOfType([$t.oneOf(["inherit","primary","secondary","success","error","info","warning"]),$t.string]),component:$t.elementType,disabled:$t.bool,disableElevation:$t.bool,disableFocusRipple:$t.bool,disableRipple:$t.bool,endIcon:$t.node,focusVisibleClassName:$t.string,fullWidth:$t.bool,href:$t.string,size:$t.oneOfType([$t.oneOf(["small","medium","large"]),$t.string]),startIcon:$t.node,sx:$t.oneOfType([$t.arrayOf($t.oneOfType([$t.func,$t.object,$t.bool])),$t.func,$t.object]),type:$t.oneOfType([$t.oneOf(["button","reset","submit"]),$t.string]),variant:$t.oneOfType([$t.oneOf(["contained","outlined","text"]),$t.string])}),Hl("MuiCard",["root"]);const $b=["className","raised"],Ab=Wl(jf,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})((()=>({overflow:"hidden"}))),Fb=h.forwardRef((function(e,t){const n=_n({props:e,name:"MuiCard"}),{className:r,raised:o=!1}=n,a=ft(n,$b),i=pt({},n,{raised:o}),l=(e=>{const{classes:t}=e;return Vt({root:["root"]},zb,t)})(i);return Cn.jsx(Ab,pt({className:Ft(l.root,r),elevation:o?8:void 0,ref:t,ownerState:i},a))}));function Vb(e){return dl("MuiCardContent",e)}"production"!==process.env.NODE_ENV&&(Fb.propTypes={children:$t.node,classes:$t.object,className:$t.string,raised:ns($t.bool,(e=>e.raised&&"outlined"===e.variant?new Error('MUI: Combining `raised={true}` with `variant="outlined"` has no effect.'):null)),sx:$t.oneOfType([$t.arrayOf($t.oneOfType([$t.func,$t.object,$t.bool])),$t.func,$t.object])}),Hl("MuiCardContent",["root"]);const Ub=["className","component"],Bb=Wl("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})((()=>({padding:16,"&:last-child":{paddingBottom:24}}))),Wb=h.forwardRef((function(e,t){const n=_n({props:e,name:"MuiCardContent"}),{className:r,component:o="div"}=n,a=ft(n,Ub),i=pt({},n,{component:o}),l=(e=>{const{classes:t}=e;return Vt({root:["root"]},Vb,t)})(i);return Cn.jsx(Bb,pt({as:o,className:Ft(l.root,r),ownerState:i,ref:t},a))}));function Hb(e){return dl("MuiCardHeader",e)}"production"!==process.env.NODE_ENV&&(Wb.propTypes={children:$t.node,classes:$t.object,className:$t.string,component:$t.elementType,sx:$t.oneOfType([$t.arrayOf($t.oneOfType([$t.func,$t.object,$t.bool])),$t.func,$t.object])});const qb=Hl("MuiCardHeader",["root","avatar","action","content","title","subheader"]),Yb=["action","avatar","className","component","disableTypography","subheader","subheaderTypographyProps","title","titleTypographyProps"],Kb=Wl("div",{name:"MuiCardHeader",slot:"Root",overridesResolver:(e,t)=>pt({[`& .${qb.title}`]:t.title,[`& .${qb.subheader}`]:t.subheader},t.root)})({display:"flex",alignItems:"center",padding:16}),Gb=Wl("div",{name:"MuiCardHeader",slot:"Avatar",overridesResolver:(e,t)=>t.avatar})({display:"flex",flex:"0 0 auto",marginRight:16}),Qb=Wl("div",{name:"MuiCardHeader",slot:"Action",overridesResolver:(e,t)=>t.action})({flex:"0 0 auto",alignSelf:"flex-start",marginTop:-4,marginRight:-8,marginBottom:-4}),Xb=Wl("div",{name:"MuiCardHeader",slot:"Content",overridesResolver:(e,t)=>t.content})({flex:"1 1 auto"}),Jb=h.forwardRef((function(e,t){const n=_n({props:e,name:"MuiCardHeader"}),{action:r,avatar:o,className:a,component:i="div",disableTypography:l=!1,subheader:s,subheaderTypographyProps:u,title:c,titleTypographyProps:d}=n,f=ft(n,Yb),p=pt({},n,{component:i,disableTypography:l}),m=(e=>{const{classes:t}=e;return Vt({root:["root"],avatar:["avatar"],action:["action"],content:["content"],title:["title"],subheader:["subheader"]},Hb,t)})(p);let h=c;null==h||h.type===Up||l||(h=Cn.jsx(Up,pt({variant:o?"body2":"h5",className:m.title,component:"span",display:"block"},d,{children:h})));let v=s;return null==v||v.type===Up||l||(v=Cn.jsx(Up,pt({variant:o?"body2":"body1",className:m.subheader,color:"text.secondary",component:"span",display:"block"},u,{children:v}))),Cn.jsxs(Kb,pt({className:Ft(m.root,a),as:i,ref:t,ownerState:p},f,{children:[o&&Cn.jsx(Gb,{className:m.avatar,ownerState:p,children:o}),Cn.jsxs(Xb,{className:m.content,ownerState:p,children:[h,v]}),r&&Cn.jsx(Qb,{className:m.action,ownerState:p,children:r})]}))}));function Zb(e){return dl("MuiCardMedia",e)}"production"!==process.env.NODE_ENV&&(Jb.propTypes={action:$t.node,avatar:$t.node,children:$t.node,classes:$t.object,className:$t.string,component:$t.elementType,disableTypography:$t.bool,subheader:$t.node,subheaderTypographyProps:$t.object,sx:$t.oneOfType([$t.arrayOf($t.oneOfType([$t.func,$t.object,$t.bool])),$t.func,$t.object]),title:$t.node,titleTypographyProps:$t.object}),Hl("MuiCardMedia",["root","media","img"]);const ew=["children","className","component","image","src","style"],tw=Wl("div",{name:"MuiCardMedia",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{isMediaComponent:r,isImageComponent:o}=n;return[t.root,r&&t.media,o&&t.img]}})((({ownerState:e})=>pt({display:"block",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center"},e.isMediaComponent&&{width:"100%"},e.isImageComponent&&{objectFit:"cover"}))),nw=["video","audio","picture","iframe","img"],rw=["picture","img"],ow=h.forwardRef((function(e,t){const n=_n({props:e,name:"MuiCardMedia"}),{children:r,className:o,component:a="div",image:i,src:l,style:s}=n,u=ft(n,ew),c=-1!==nw.indexOf(a),d=!c&&i?pt({backgroundImage:`url("${i}")`},s):s,f=pt({},n,{component:a,isMediaComponent:c,isImageComponent:-1!==rw.indexOf(a)}),p=(e=>{const{classes:t,isMediaComponent:n,isImageComponent:r}=e;return Vt({root:["root",n&&"media",r&&"img"]},Zb,t)})(f);return Cn.jsx(tw,pt({className:Ft(p.root,o),as:a,role:!c&&i?"img":void 0,ref:t,style:d,ownerState:f,src:c?i||l:void 0},u,{children:r}))}));function aw(e){return dl("PrivateSwitchBase",e)}"production"!==process.env.NODE_ENV&&(ow.propTypes={children:ns($t.node,(e=>e.children||e.image||e.src||e.component?null:new Error("MUI: Either `children`, `image`, `src` or `component` prop must be specified."))),classes:$t.object,className:$t.string,component:$t.elementType,image:$t.string,src:$t.string,style:$t.object,sx:$t.oneOfType([$t.arrayOf($t.oneOfType([$t.func,$t.object,$t.bool])),$t.func,$t.object])}),Hl("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const iw=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],lw=Wl(lc)((({ownerState:e})=>pt({padding:9,borderRadius:"50%"},"start"===e.edge&&{marginLeft:"small"===e.size?-3:-12},"end"===e.edge&&{marginRight:"small"===e.size?-3:-12}))),sw=Wl("input",{shouldForwardProp:Bl})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),uw=h.forwardRef((function(e,t){const{autoFocus:n,checked:r,checkedIcon:o,className:a,defaultChecked:i,disabled:l,disableFocusRipple:s=!1,edge:u=!1,icon:c,id:d,inputProps:f,inputRef:p,name:m,onBlur:h,onChange:v,onFocus:y,readOnly:g,required:b=!1,tabIndex:w,type:x,value:k}=e,S=ft(e,iw),[E,C]=Eu({controlled:r,default:Boolean(i),name:"SwitchBase",state:"checked"}),T=yc();let O=l;T&&void 0===O&&(O=T.disabled);const _="checkbox"===x||"radio"===x,N=pt({},e,{checked:E,disabled:O,disableFocusRipple:s,edge:u}),R=(e=>{const{classes:t,checked:n,disabled:r,edge:o}=e;return Vt({root:["root",n&&"checked",r&&"disabled",o&&`edge${mn(o)}`],input:["input"]},aw,t)})(N);return Cn.jsxs(lw,pt({component:"span",className:Ft(R.root,a),centerRipple:!0,focusRipple:!s,disabled:O,tabIndex:null,role:void 0,onFocus:e=>{y&&y(e),T&&T.onFocus&&T.onFocus(e)},onBlur:e=>{h&&h(e),T&&T.onBlur&&T.onBlur(e)},ownerState:N,ref:t},S,{children:[Cn.jsx(sw,pt({autoFocus:n,checked:r,defaultChecked:i,className:R.input,disabled:O,id:_?d:void 0,name:m,onChange:e=>{if(e.nativeEvent.defaultPrevented)return;const t=e.target.checked;C(t),v&&v(e,t)},readOnly:g,ref:p,required:b,ownerState:N,tabIndex:w,type:x},"checkbox"===x&&void 0===k?{}:{value:k},f)),E?o:c]}))}));"production"!==process.env.NODE_ENV&&(uw.propTypes={autoFocus:$t.bool,checked:$t.bool,checkedIcon:$t.node.isRequired,classes:$t.object,className:$t.string,defaultChecked:$t.bool,disabled:$t.bool,disableFocusRipple:$t.bool,edge:$t.oneOf(["end","start",!1]),icon:$t.node.isRequired,id:$t.string,inputProps:$t.object,inputRef:ts,name:$t.string,onBlur:$t.func,onChange:$t.func,onFocus:$t.func,readOnly:$t.bool,required:$t.bool,sx:$t.object,tabIndex:$t.oneOfType([$t.number,$t.string]),type:$t.string.isRequired,value:$t.any});var cw=Ql(Cn.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),dw=Ql(Cn.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),fw=Ql(Cn.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function pw(e){return dl("MuiCheckbox",e)}const mw=Hl("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),hw=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],vw=Wl(uw,{shouldForwardProp:e=>Bl(e)||"classes"===e,name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.indeterminate&&t.indeterminate,t[`size${mn(n.size)}`],"default"!==n.color&&t[`color${mn(n.color)}`]]}})((({theme:e,ownerState:t})=>pt({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${"default"===t.color?e.vars.palette.action.activeChannel:e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Qt("default"===t.color?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==t.color&&{[`&.${mw.checked}, &.${mw.indeterminate}`]:{color:(e.vars||e).palette[t.color].main},[`&.${mw.disabled}`]:{color:(e.vars||e).palette.action.disabled}}))),yw=Cn.jsx(dw,{}),gw=Cn.jsx(cw,{}),bw=Cn.jsx(fw,{}),ww=h.forwardRef((function(e,t){var n,r;const o=_n({props:e,name:"MuiCheckbox"}),{checkedIcon:a=yw,color:i="primary",icon:l=gw,indeterminate:s=!1,indeterminateIcon:u=bw,inputProps:c,size:d="medium",className:f}=o,p=ft(o,hw),m=s?u:l,v=s?u:a,y=pt({},o,{color:i,indeterminate:s,size:d}),g=(e=>{const{classes:t,indeterminate:n,color:r,size:o}=e;return pt({},t,Vt({root:["root",n&&"indeterminate",`color${mn(r)}`,`size${mn(o)}`]},pw,t))})(y);return Cn.jsx(vw,pt({type:"checkbox",inputProps:pt({"data-indeterminate":s},c),icon:h.cloneElement(m,{fontSize:null!=(n=m.props.fontSize)?n:d}),checkedIcon:h.cloneElement(v,{fontSize:null!=(r=v.props.fontSize)?r:d}),ownerState:y,ref:t,className:Ft(g.root,f)},p,{classes:g}))}));"production"!==process.env.NODE_ENV&&(ww.propTypes={checked:$t.bool,checkedIcon:$t.node,classes:$t.object,className:$t.string,color:$t.oneOfType([$t.oneOf(["default","primary","secondary","error","info","success","warning"]),$t.string]),defaultChecked:$t.bool,disabled:$t.bool,disableRipple:$t.bool,icon:$t.node,id:$t.string,indeterminate:$t.bool,indeterminateIcon:$t.node,inputProps:$t.object,inputRef:ts,onChange:$t.func,required:$t.bool,size:$t.oneOfType([$t.oneOf(["medium","small"]),$t.string]),sx:$t.oneOfType([$t.arrayOf($t.oneOfType([$t.func,$t.object,$t.bool])),$t.func,$t.object]),value:$t.any});const xw=function(e={}){const{createStyledComponent:t=Au,useThemeProps:n=Fu,componentName:r="MuiStack"}=e,o=t(Uu),a=h.forwardRef((function(e,t){const a=Fi(n(e)),{component:i="div",direction:l="column",spacing:s=0,divider:u,children:c,className:d,useFlexGap:f=!1}=a,p=ft(a,zu),m={direction:l,spacing:s,useFlexGap:f},h=Vt({root:["root"]},(e=>dl(r,e)),{});return Cn.jsx(o,pt({as:i,ownerState:m,ref:t,className:Ft(h.root,d)},p,{children:u?Vu(c,u):c}))}));return"production"!==process.env.NODE_ENV&&(a.propTypes={children:$t.node,direction:$t.oneOfType([$t.oneOf(["column-reverse","column","row-reverse","row"]),$t.arrayOf($t.oneOf(["column-reverse","column","row-reverse","row"])),$t.object]),divider:$t.node,spacing:$t.oneOfType([$t.arrayOf($t.oneOfType([$t.number,$t.string])),$t.number,$t.object,$t.string]),sx:$t.oneOfType([$t.arrayOf($t.oneOfType([$t.func,$t.object,$t.bool])),$t.func,$t.object])}),a}({createStyledComponent:Wl("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>_n({props:e,name:"MuiStack"})});function kw(e){return dl("MuiFormControlLabel",e)}"production"!==process.env.NODE_ENV&&(xw.propTypes={children:$t.node,component:$t.elementType,direction:$t.oneOfType([$t.oneOf(["column-reverse","column","row-reverse","row"]),$t.arrayOf($t.oneOf(["column-reverse","column","row-reverse","row"])),$t.object]),divider:$t.node,spacing:$t.oneOfType([$t.arrayOf($t.oneOfType([$t.number,$t.string])),$t.number,$t.object,$t.string]),sx:$t.oneOfType([$t.arrayOf($t.oneOfType([$t.func,$t.object,$t.bool])),$t.func,$t.object]),useFlexGap:$t.bool});const Sw=Hl("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]),Ew=["checked","className","componentsProps","control","disabled","disableTypography","inputRef","label","labelPlacement","name","onChange","required","slotProps","value"],Cw=Wl("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Sw.label}`]:t.label},t.root,t[`labelPlacement${mn(n.labelPlacement)}`]]}})((({theme:e,ownerState:t})=>pt({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${Sw.disabled}`]:{cursor:"default"}},"start"===t.labelPlacement&&{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},"top"===t.labelPlacement&&{flexDirection:"column-reverse",marginLeft:16},"bottom"===t.labelPlacement&&{flexDirection:"column",marginLeft:16},{[`& .${Sw.label}`]:{[`&.${Sw.disabled}`]:{color:(e.vars||e).palette.text.disabled}}}))),Tw=Wl("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})((({theme:e})=>({[`&.${Sw.error}`]:{color:(e.vars||e).palette.error.main}}))),Ow=h.forwardRef((function(e,t){var n,r;const o=_n({props:e,name:"MuiFormControlLabel"}),{className:a,componentsProps:i={},control:l,disabled:s,disableTypography:u,label:c,labelPlacement:d="end",required:f,slotProps:p={}}=o,m=ft(o,Ew),v=yc(),y=null!=(n=null!=s?s:l.props.disabled)?n:null==v?void 0:v.disabled,g=null!=f?f:l.props.required,b={disabled:y,required:g};["checked","name","onChange","value","inputRef"].forEach((e=>{void 0===l.props[e]&&void 0!==o[e]&&(b[e]=o[e])}));const w=hc({props:o,muiFormControl:v,states:["error"]}),x=pt({},o,{disabled:y,labelPlacement:d,required:g,error:w.error}),k=(e=>{const{classes:t,disabled:n,labelPlacement:r,error:o,required:a}=e;return Vt({root:["root",n&&"disabled",`labelPlacement${mn(r)}`,o&&"error",a&&"required"],label:["label",n&&"disabled"],asterisk:["asterisk",o&&"error"]},kw,t)})(x),S=null!=(r=p.typography)?r:i.typography;let E=c;return null==E||E.type===Up||u||(E=Cn.jsx(Up,pt({component:"span"},S,{className:Ft(k.label,null==S?void 0:S.className),children:E}))),Cn.jsxs(Cw,pt({className:Ft(k.root,a),ownerState:x,ref:t},m,{children:[h.cloneElement(l,b),g?Cn.jsxs(xw,{display:"block",children:[E,Cn.jsxs(Tw,{ownerState:x,"aria-hidden":!0,className:k.asterisk,children:[" ","*"]})]}):E]}))}));"production"!==process.env.NODE_ENV&&(Ow.propTypes={checked:$t.bool,classes:$t.object,className:$t.string,componentsProps:$t.shape({typography:$t.object}),control:$t.element.isRequired,disabled:$t.bool,disableTypography:$t.bool,inputRef:ts,label:$t.node,labelPlacement:$t.oneOf(["bottom","end","start","top"]),name:$t.string,onChange:$t.func,required:$t.bool,slotProps:$t.shape({typography:$t.object}),sx:$t.oneOfType([$t.arrayOf($t.oneOfType([$t.func,$t.object,$t.bool])),$t.func,$t.object]),value:$t.any});var _w={exports:{}};!function(e){var t,n;e.exports=(t={705:e=>{e.exports=function(e,t){const n=[];return 0===t.length?n.push({text:e,highlight:!1}):t[0][0]>0&&n.push({text:e.slice(0,t[0][0]),highlight:!1}),t.forEach(((r,o)=>{const a=r[0],i=r[1];n.push({text:e.slice(a,i),highlight:!0}),o===t.length-1?i<e.length&&n.push({text:e.slice(i,e.length),highlight:!1}):i<t[o+1][0]&&n.push({text:e.slice(i,t[o+1][0]),highlight:!1})})),n}}},n={},function e(r){var o=n[r];if(void 0!==o)return o.exports;var a=n[r]={exports:{}};return t[r](a,a.exports,e),a.exports}(705))}(_w);var Nw=l(_w.exports);function Rw(e,t){var n=new URL(e),r=new URLSearchParams(function(e){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=String(e[n]));return t}(t));return n.search=r.toString(),n.toString()}var Mw,Pw=function(){function e(e){this.baseUrl=e.baseUrl||"https://places.xapp.media",this.key=e.apiKey}return e.prototype.getPlacePredictions=function(e,t){var r=e.params?n(n({},e.params),{input:e.input}):{input:e.input};if(e.componentRestrictions){var o=Object.entries(e.componentRestrictions).map((function(e){var t=e[0],n=e[1];return"".concat(t,":").concat(n)})).join(",");r.components=o}e.params||r.components||(r.components="country:us"),this.key&&(r.key=this.key);var a=Rw("".concat(this.baseUrl,"/maps/api/place/autocomplete/json"),r);fetch(a).then((function(e){if(!e.ok)throw new Error("getPlacePredictions: HTTP error! Status: ".concat(e.status));return e.json()})).then((function(e){"INVALID_REQUEST"===e.status&&I("getPlacePredictions: INVALID_REQUEST. Url: ".concat(a)),t(e.predictions)})).catch((function(e){return I("getPlacePredictions: Fetch error:",e)}))},e}(),Dw="FormFieldTextInputAddress-module_xapp_text_input_address__-FQjM",Iw=function(e){var t=e.field,r=e.onFieldChange,o=e.errorMessage,i=e.required,l=e.googleMapsApiKey,s=e.mapsBaseUrl,u=h.useState(null),c=u[0],d=u[1],f=h.useState(""),p=f[0],m=f[1],y=h.useState([]),g=y[0],b=y[1],w=function(e){b(e)};h.useEffect((function(){r(t.name,p)}),[t.name,r,p]);var x=t.googleMapsApiKey||l,k=t.mapsBaseUrl||s,S=h.useMemo((function(){return vu((function(e,t){Mw.getPlacePredictions(e,t)}),400)}),[]);return h.useEffect((function(){var e=!0;if(Mw||(Mw=new Pw({apiKey:x,baseUrl:k})),""!==p){var n=t.mapsUrlQueryParams||void 0;return S({input:p,params:n},(function(t){if(e){var n=[];c&&(n=[c]),t&&(n=a(a([],n,!0),t,!0)),w(n)}})),function(){e=!1}}w(c?[c]:[])}),[c,p,S,x,k,t.mapsUrlQueryParams]),v.createElement(db,{id:"google-map-input",getOptionLabel:function(e){return"string"==typeof e?e:e.description},filterOptions:function(e){return e},options:g,autoComplete:!0,includeInputInList:!0,filterSelectedOptions:!0,value:c,noOptionsText:"No locations",onChange:function(e,t){w(t?a([t],g,!0):g),d(t)},onInputChange:function(e,t){m(t)},renderInput:function(e){return v.createElement(Pp,n({className:Dw},e,{variant:"filled",size:"small",margin:"normal",label:t.label,error:!!o,helperText:o,name:t.name,placeholder:t.placeholder,required:i,fullWidth:!0,style:t.style}))},renderOption:function(e,t){var r=t.structured_formatting.main_text_matched_substrings||[],o=Nw(t.structured_formatting.main_text,r.map((function(e){return[e.offset,e.offset+e.length]})));return v.createElement("li",n({},e),v.createElement(Tb,{container:!0,alignItems:"center"},v.createElement(Tb,{item:!0,sx:{display:"flex",width:44}},v.createElement(mb,{sx:{color:"text.secondary"}})),v.createElement(Tb,{item:!0,sx:{width:"calc(100% - 44px)",wordWrap:"break-word"}},o.map((function(e,t){return v.createElement(ny,{key:t,component:"span",sx:{fontWeight:e.highlight?"bold":"regular"}},e.text)})),v.createElement(Up,{variant:"body2",color:"text.secondary"},t.structured_formatting.secondary_text))))}})},jw="FormStepDisplay-module_xapp_formfield__hRmVx",Lw="FormStepDisplay-module_active__fCsMz",zw="FormStepDisplay-module_xapp_formfield_title__INjeF",$w="FormStepDisplay-module_xapp_form_nav_buttons__lI4BI",Aw="FormStepDisplay-module_xapp_dummy_button__Q-nE6",Fw="FormStepDisplay-module_xapp_primary_button__d2wra",Vw="FormStepDisplay-module_xapp_secondary_button__LuMfN",Uw="FormStepDisplay-module_xapp_disabled_button__RjSfL",Bw=function(e,t){void 0===t&&(t="this");return e.replace(/\b(?<!')(?!(?:if|else|length|for|while|includes|function|var|let|const|return|switch|case|do|true|false|null|undefined|typeof|new|this|void|delete|in|instanceof|export|import)\b)([a-zA-Z_$][a-zA-Z0-9_$]*)\b/g,"".concat(t,".$1"))},Ww=function(e){return"string"!=typeof e||0===e.trim().length},Hw=function(e){var t=e.replace(/\D/g,"");if(10===t.length||11===t.length&&t.startsWith("1")){return/^(1)?[-. ]?\(?(\d{3})\)?[-. ]?(\d{3})[-. ]?(\d{4})$/.test(t)}return!1},qw=function(e){return 0===Object.keys(e).length},Yw={xapp_checkbox_select:"FormFieldSelect-module_xapp_checkbox_select__QccWu",xapp_select_container:"FormFieldSelect-module_xapp_select_container__HWy4J",xapp_select_title_container__empty:"FormFieldSelect-module_xapp_select_title_container__empty__zC4gk"},Kw=function(e){var t=e.field,n=e.onFieldChange,r=e.errorMessage,o=h.useState([]),i=o[0],l=o[1],s=function(e){var t=e.target,n=t.name,r=t.checked;l((function(e){return r?a(a([],e,!0),[n],!1):e.filter((function(e){return e!==n}))}))};return h.useEffect((function(){n(t.name,i)}),[i,t.name,n]),v.createElement("div",null,v.createElement("div",{className:"".concat(Yw.xapp_select_title_container).concat(t.title?"":"__empty")},v.createElement("p",null,t.title)),v.createElement("div",{className:Yw.xapp_select_container},t.items.map((function(e){return v.createElement(Ow,{key:e.id,control:v.createElement(ww,{checked:i.includes(e.id),onChange:s,name:e.id,color:"primary",className:"".concat(Yw.xapp_checkbox_select)}),label:e.label})}))),r&&v.createElement(Sc,{error:!0,style:{marginLeft:"14px"}},r))},Gw="FormFieldCard-module_xapp_form_card__AcVAf",Qw={backgroundColor:"transparent",boxShadow:"none",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},Xw={padding:"4px"},Jw={whiteSpace:"pre-line"},Zw=function(e){var t=e.field;return v.createElement("div",{className:Gw},v.createElement(Fb,{style:Qw},t.header&&v.createElement(Jb,{title:t.header.title,subheader:t.header.subheader}),t.media&&v.createElement(ow,{component:"img",alt:t.media.alt,height:t.media.height,width:t.media.width,image:t.media.imageUrl}),t.text&&v.createElement(Wb,{style:Xw},v.createElement(Up,{variant:t.variant||"body2",color:t.color||"textSecondary",align:t.align||"center",style:n(n({},Jw),t.style)},t.text))))},ex={exports:{}},tx=/<%=([\s\S]+?)%>/g,nx=tx,rx=1/0,ox="[object Null]",ax="[object Symbol]",ix="[object Undefined]",lx=/[&<>"']/g,sx=RegExp(lx.source),ux="object"==typeof i&&i&&i.Object===Object&&i,cx="object"==typeof self&&self&&self.Object===Object&&self,dx=ux||cx||Function("return this")();var fx,px=(fx={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},function(e){return null==fx?void 0:fx[e]}),mx=Object.prototype,hx=mx.hasOwnProperty,vx=mx.toString,yx=dx.Symbol,gx=yx?yx.toStringTag:void 0,bx=yx?yx.prototype:void 0,wx=bx?bx.toString:void 0,xx={escape:/<%-([\s\S]+?)%>/g,evaluate:/<%([\s\S]+?)%>/g,interpolate:nx,variable:"",imports:{_:{escape:function(e){return(e=Cx(e))&&sx.test(e)?e.replace(lx,px):e}}}};function kx(e){return null==e?void 0===e?ix:ox:gx&&gx in Object(e)?function(e){var t=hx.call(e,gx),n=e[gx];try{e[gx]=void 0;var r=!0}catch(e){}var o=vx.call(e);r&&(t?e[gx]=n:delete e[gx]);return o}(e):function(e){return vx.call(e)}(e)}function Sx(e){if("string"==typeof e)return e;if(Ex(e))return function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}(e,Sx)+"";if(function(e){return"symbol"==typeof e||function(e){return null!=e&&"object"==typeof e}(e)&&kx(e)==ax}(e))return wx?wx.call(e):"";var t=e+"";return"0"==t&&1/e==-rx?"-0":t}var Ex=Array.isArray;function Cx(e){return null==e?"":Sx(e)}var Tx=xx;!function(e,t){var n=tx,r=Tx,o=1/0,a=9007199254740991,l="[object Arguments]",s="[object AsyncFunction]",u="[object DOMException]",c="[object Error]",d="[object Function]",f="[object GeneratorFunction]",p="[object Null]",m="[object Object]",h="[object Proxy]",v="[object Symbol]",y="[object Undefined]",g=/\b__p \+= '';/g,b=/\b(__p \+=) '' \+/g,w=/(__e\(.*?\)|\b__t\)) \+\n'';/g,x=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,k=/^\[object .+?Constructor\]$/,S=/^(?:0|[1-9]\d*)$/,E=/($^)/,C=/['\n\r\u2028\u2029\\]/g,T={};T["[object Float32Array]"]=T["[object Float64Array]"]=T["[object Int8Array]"]=T["[object Int16Array]"]=T["[object Int32Array]"]=T["[object Uint8Array]"]=T["[object Uint8ClampedArray]"]=T["[object Uint16Array]"]=T["[object Uint32Array]"]=!0,T[l]=T["[object Array]"]=T["[object ArrayBuffer]"]=T["[object Boolean]"]=T["[object DataView]"]=T["[object Date]"]=T[c]=T[d]=T["[object Map]"]=T["[object Number]"]=T[m]=T["[object RegExp]"]=T["[object Set]"]=T["[object String]"]=T["[object WeakMap]"]=!1;var O={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},_="object"==typeof i&&i&&i.Object===Object&&i,N="object"==typeof self&&self&&self.Object===Object&&self,R=_||N||Function("return this")(),M=t&&!t.nodeType&&t,P=M&&e&&!e.nodeType&&e,D=P&&P.exports===M,I=D&&_.process,j=function(){try{var e=P&&P.require&&P.require("util").types;return e||I&&I.binding&&I.binding("util")}catch(e){}}(),L=j&&j.isTypedArray;function z(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function $(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function A(e){return"\\"+O[e]}function F(e,t){return function(n){return e(t(n))}}var V,U=Function.prototype,B=Object.prototype,W=R["__core-js_shared__"],H=U.toString,q=B.hasOwnProperty,Y=(V=/[^.]+$/.exec(W&&W.keys&&W.keys.IE_PROTO||""))?"Symbol(src)_1."+V:"",K=B.toString,G=H.call(Object),Q=RegExp("^"+H.call(q).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),X=D?R.Buffer:void 0,J=R.Symbol,Z=F(Object.getPrototypeOf,Object),ee=B.propertyIsEnumerable,te=J?J.toStringTag:void 0,ne=function(){try{var e=function(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){if(!Ie(e)||function(e){return!!Y&&Y in e}(e))return!1;var t=Pe(e)?Q:k;return t.test(function(e){if(null!=e){try{return H.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}(n)?n:void 0}(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),re=X?X.isBuffer:void 0,oe=F(Object.keys,Object),ae=Math.max,ie=Date.now,le=J?J.prototype:void 0,se=le?le.toString:void 0;function ue(e,t){var n=_e(e),r=!n&&Oe(e),o=!n&&!r&&Re(e),a=!n&&!r&&!o&&Le(e),i=n||r||o||a,l=i?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],s=l.length;for(var u in e)!t&&!q.call(e,u)||i&&("length"==u||o&&("offset"==u||"parent"==u)||a&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||be(u,s))||l.push(u);return l}function ce(e,t,n){var r=e[t];q.call(e,t)&&Te(r,n)&&(void 0!==n||t in e)||de(e,t,n)}function de(e,t,n){"__proto__"==t&&ne?ne(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function fe(e){return null==e?void 0===e?y:p:te&&te in Object(e)?function(e){var t=q.call(e,te),n=e[te];try{e[te]=void 0;var r=!0}catch(e){}var o=K.call(e);r&&(t?e[te]=n:delete e[te]);return o}(e):function(e){return K.call(e)}(e)}function pe(e){return je(e)&&fe(e)==l}function me(e){if(!Ie(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=xe(e),n=[];for(var r in e)("constructor"!=r||!t&&q.call(e,r))&&n.push(r);return n}function he(e,t){return Ce(function(e,t,n){return t=ae(void 0===t?e.length-1:t,0),function(){for(var r=arguments,o=-1,a=ae(r.length-t,0),i=Array(a);++o<a;)i[o]=r[t+o];o=-1;for(var l=Array(t+1);++o<t;)l[o]=r[o];return l[t]=n(i),z(e,this,l)}}(e,t,Ve),e+"")}var ve=ne?function(e,t){return ne(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:Ve;function ye(e){if("string"==typeof e)return e;if(_e(e))return $(e,ye)+"";if(function(e){return"symbol"==typeof e||je(e)&&fe(e)==v}(e))return se?se.call(e):"";var t=e+"";return"0"==t&&1/e==-o?"-0":t}function ge(e,t,n,r){return void 0===e||Te(e,B[n])&&!q.call(r,n)?t:e}function be(e,t){var n=typeof e;return!!(t=null==t?a:t)&&("number"==n||"symbol"!=n&&S.test(e))&&e>-1&&e%1==0&&e<t}function we(e,t,n){if(!Ie(n))return!1;var r=typeof t;return!!("number"==r?Ne(n)&&be(t,n.length):"string"==r&&t in n)&&Te(n[t],e)}function xe(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||B)}var ke,Se,Ee,Ce=(ke=ve,Se=0,Ee=0,function(){var e=ie(),t=16-(e-Ee);if(Ee=e,t>0){if(++Se>=800)return arguments[0]}else Se=0;return ke.apply(void 0,arguments)});function Te(e,t){return e===t||e!=e&&t!=t}var Oe=pe(function(){return arguments}())?pe:function(e){return je(e)&&q.call(e,"callee")&&!ee.call(e,"callee")},_e=Array.isArray;function Ne(e){return null!=e&&De(e.length)&&!Pe(e)}var Re=re||function(){return!1};function Me(e){if(!je(e))return!1;var t=fe(e);return t==c||t==u||"string"==typeof e.message&&"string"==typeof e.name&&!function(e){if(!je(e)||fe(e)!=m)return!1;var t=Z(e);if(null===t)return!0;var n=q.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&H.call(n)==G}(e)}function Pe(e){if(!Ie(e))return!1;var t=fe(e);return t==d||t==f||t==s||t==h}function De(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=a}function Ie(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function je(e){return null!=e&&"object"==typeof e}var Le=L?function(e){return function(t){return e(t)}}(L):function(e){return je(e)&&De(e.length)&&!!T[fe(e)]};var ze,$e=(ze=function(e,t,n,r){!function(e,t,n,r){var o=!n;n||(n={});for(var a=-1,i=t.length;++a<i;){var l=t[a],s=r?r(n[l],e[l],l,n,e):void 0;void 0===s&&(s=e[l]),o?de(n,l,s):ce(n,l,s)}}(t,function(e){return Ne(e)?ue(e,!0):me(e)}(t),e,r)},he((function(e,t){var n=-1,r=t.length,o=r>1?t[r-1]:void 0,a=r>2?t[2]:void 0;for(o=ze.length>3&&"function"==typeof o?(r--,o):void 0,a&&we(t[0],t[1],a)&&(o=r<3?void 0:o,r=1),e=Object(e);++n<r;){var i=t[n];i&&ze(e,i,n,o)}return e})));function Ae(e){return Ne(e)?ue(e):function(e){if(!xe(e))return oe(e);var t=[];for(var n in Object(e))q.call(e,n)&&"constructor"!=n&&t.push(n);return t}(e)}var Fe=he((function(e,t){try{return z(e,void 0,t)}catch(e){return Me(e)?e:new Error(e)}}));function Ve(e){return e}e.exports=function(e,t,o){var a,i=r.imports._.templateSettings||r;o&&we(e,t,o)&&(t=void 0),e=null==(a=e)?"":ye(a),t=$e({},t,i,ge);var l,s,u=$e({},t.imports,i.imports,ge),c=Ae(u),d=function(e,t){return $(t,(function(t){return e[t]}))}(u,c),f=0,p=t.interpolate||E,m="__p += '",h=RegExp((t.escape||E).source+"|"+p.source+"|"+(p===n?x:E).source+"|"+(t.evaluate||E).source+"|$","g"),v=q.call(t,"sourceURL")?"//# sourceURL="+(t.sourceURL+"").replace(/[\r\n]/g," ")+"\n":"";e.replace(h,(function(t,n,r,o,a,i){return r||(r=o),m+=e.slice(f,i).replace(C,A),n&&(l=!0,m+="' +\n__e("+n+") +\n'"),a&&(s=!0,m+="';\n"+a+";\n__p += '"),r&&(m+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),f=i+t.length,t})),m+="';\n";var y=q.call(t,"variable")&&t.variable;y||(m="with (obj) {\n"+m+"\n}\n"),m=(s?m.replace(g,""):m).replace(b,"$1").replace(w,"$1;"),m="function("+(y||"obj")+") {\n"+(y?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(l?", __e = _.escape":"")+(s?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+m+"return __p\n}";var k=Fe((function(){return Function(c,v+"return "+m).apply(void 0,d)}));if(k.source=m,Me(k))throw k;return k}}(ex,ex.exports);var Ox=l(ex.exports),_x={dateTime:function(e){return Rx(e)}};function Nx(e,t){try{var n=Ox(JSON.stringify(e),{interpolate:/#{([\s\S]+?)}/g,imports:_x})(t).replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t");return JSON.parse(n)}catch(e){}return e}function Rx(e){var t=new Date(e),n=t.getDate(),r=t.toLocaleString("default",{month:"long"}),o=t.getFullYear(),a=function(e){if(e>=11&&e<=13)return"th";switch(e%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}}(n);return"".concat(r," ").concat(n).concat(a,", ").concat(o)}var Mx=function(e){var t=h.useRef({}),r=h.useRef({}),o=h.useState({}),a=o[0],i=o[1],l=h.useState({}),s=l[0],u=l[1],c=e.formStep,d=e.nextStep,f=e.prevStep,p=e.handleData,m=e.handleDataWithLabels,y=e.getData,g=e.getDataWithLabels,b=e.loading;h.useEffect((function(){for(var e=0,t=c.fields;e<t.length;e++){var n=t[e];if(n.condition){var o=Bw(n.condition);r.current[n.name]=new Function("return (".concat(o,");"))}}w()}),[]);var w=function(){var e={};Object.entries(r.current).forEach((function(r){var o=r[0],a=r[1];e[o]=a.call(n(n({},y()),t.current))})),function(e,t){var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=0,a=n;o<a.length;o++){var i=a[o];if(e[i]!==t[i])return!1}return!0}(e,a)||i(e)},x=function(){var e={},r=!0,o={};return c.fields.forEach((function(n){var i,l,s={valid:!0};if(!1!==a[n.name]&&t.current.hasOwnProperty(n.name))if(function(e){return!!e&&"TEXT"===e.type}(n))if(!0===n.mandatory&&Ww(t.current[n.name]))s={valid:!1,message:n.mandatoryError||"This field is mandatory"};else switch(n.format){case"EMAIL":i=t.current[n.name],s={valid:l=/^[\w-.]+@([\w-]+\.)+[\w-]{2,4}$/.test(String(i).toLowerCase()),message:l?void 0:"Invalid email address"};break;case"PHONE":if(s=function(e){if(Ww(e))return{valid:!0};var t=Hw(e);return{valid:t,message:t?void 0:"Invalid phone number"}}(t.current[n.name]),s.valid){var u=function(e){if(Ww(e)||!Hw(e))return e;var t=e.replace(/\D/g,"");return 11===t.length&&t.startsWith("1")&&(t=t.slice(1)),t.replace(/(\d{3})(\d{3})(\d{4})/,"($1) $2-$3")}(t.current[n.name]);u!==t.current[n.name]&&(o[n.name]=u)}}else!function(e){return!!e&&"CHIPS"===e.type}(n)?!function(e){return!!e&&"DATE"===e.type}(n)?function(e){return!!e&&"CHECK"===e.type}(n)&&n.mandatory&&1!==t.current[n.name].length&&(s={valid:!1,message:n.mandatoryError||"This field is mandatory"}):n.mandatory&&null==t.current[n.name]&&(s={valid:!1,message:n.mandatoryError||"Please select a day"}):(n.minRequired&&t.current[n.name].length<n.minRequired&&(s={valid:!1,message:n.mandatoryError||"Please select at least ".concat(n.minRequired," option(s)")}),n.maxAllowed&&t.current[n.name].length>n.maxAllowed&&(s={valid:!1,message:n.mandatoryError||"Please select no more than ".concat(n.maxAllowed," option(s)")}),n.mandatory&&1!==t.current[n.name].length&&(s={valid:!1,message:n.mandatoryError||"Please select one option"}));r=r&&s.valid,e[n.name]=s})),qw(o)||(t.current=n(n({},t.current),o)),function(e,t){var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=0,a=n;o<a.length;o++){var i=a[o];if(!t.hasOwnProperty(i))return!1;var l=e[i],s=t[i];if(l.valid!==s.valid)return!1}return!0}(s,e)||u(e),r},k=function(e){p(e);for(var t={},n=function(n){var r=e[n],o=c.fields.find((function(e){return e.name===n}));if("CHIPS"===(null==o?void 0:o.type)&&void 0!==r){var a=[];r.forEach((function(e){var t=o.items.find((function(t){return t.id===e}));t&&a.push(t.label)})),t[n]=function(e){if(0===e.length)return"";if(1===e.length)return e[0];if(2===e.length)return e.join(" and ");var t=e.pop();return e.join(", ")+", and "+t}(a)}else"DATE"===(null==o?void 0:o.type)&&void 0!==r?t[n]=Rx(r):t[n]=r},r=0,o=Object.keys(e);r<o.length;r++){n(o[r])}m(t)},S=function(e,r){var o;(!t.current.hasOwnProperty(e)||t.current[e]!==r)&&(t.current=n(n({},t.current),((o={})[e]=r,o)),w(),qw(s)||x())},E=h.useContext(be),C=U().context;return w(),v.createElement("div",null,!!c&&c.title&&v.createElement("div",{className:zw},v.createElement("p",null,c.title)),v.createElement("div",null,!!c&&c.fields.map((function(e,n){var r,o,i,l,u,c;switch(e.type){case"TEXT":c="ADDRESS"===e.format?v.createElement(Iw,{key:e.name,field:e,onFieldChange:S,value:t.current[e.name],errorMessage:null===(r=s[e.name])||void 0===r?void 0:r.message,required:e.mandatory,googleMapsApiKey:E.googleMapsApiKey,mapsBaseUrl:E.mapsBaseUrl}):v.createElement(Ip,{key:e.name,field:e,onFieldChange:S,value:t.current[e.name],errorMessage:null===(o=s[e.name])||void 0===o?void 0:o.message,required:e.mandatory});break;case"DROPDOWN":c=v.createElement(Gp,{key:e.name,field:e,onFieldChange:S});break;case"CHECK":c=v.createElement(Kw,{key:e.name,field:e,onFieldChange:S,errorMessage:null===(i=s[e.name])||void 0===i?void 0:i.message});break;case"CHIPS":c=v.createElement(Ac,{key:e.name,field:e,onFieldChange:S,errorMessage:null===(l=s[e.name])||void 0===l?void 0:l.message});break;case"DATE":c=v.createElement(Jv,{key:e.name,field:e,onFieldChange:S,errorMessage:null===(u=s[e.name])||void 0===u?void 0:u.message,busyDays:null==C?void 0:C.busyDays,loading:b});break;case"DATERANGE":c=v.createElement(Zv,{key:e.name,field:e,onFieldChange:S});break;case"CARD":c=v.createElement(Zw,{key:e.name,field:Nx(e,g()),onFieldChange:S});break;default:c=null}return v.createElement("div",{key:n,className:"".concat(jw," ").concat(!1!==a[e.name]?Lw:"")},c)}))),v.createElement("div",{className:$w},void 0===f&&v.createElement("div",{className:Aw}),!!f&&"omit"!==c.previousAction&&v.createElement(Lb,{className:Fw,onClick:function(){k(t.current),f&&f()},variant:"contained"},c.previousLabel||"Previous"),!!d&&"omit"!==c.nextAction&&v.createElement(Lb,{className:function(){for(var e in s)if(!s[e].valid)return!0;return!1}()?Uw:c.nextLabel?Vw:Fw,onClick:function(){x()&&(k(t.current),d&&d("submit"===c.nextAction))},variant:"contained"},c.nextLabel||"Next")))},Px="SearchResponseFormDisplay-module_xapp_formstep__2WhYK",Dx="SearchResponseFormDisplay-module_active__x-n-n",Ix="SearchResponseFormDisplay-module_xapp_header_container__ayUqb",jx="SearchResponseFormDisplay-module_xapp_header_container_showcase__-VUjy",Lx={xapp_navigation_header:"SimpleNavigationHeader-module_xapp_navigation_header__YhCD1",xapp_navigation_header_showcase:"SimpleNavigationHeader-module_xapp_navigation_header_showcase__NhRLn"},zx=function(e){var t=e.items,n=e.onHeaderClick,r=e.labelHeader,o=e.stepName,a=e.isShowCase;if(r){var i=t.find((function(e){return e.step===o})),l=null==i?void 0:i.label;return void 0!==l?v.createElement(ny,{display:"flex",justifyContent:"center",gap:2,padding:2,"min-height":100,className:a?Lx.xapp_navigation_header_showcase:Lx.xapp_navigation_header_container},v.createElement(Up,{variant:"h4",color:"white",margin:0},l)):v.createElement(ny,{display:"flex",justifyContent:"center",gap:2,padding:2,"min-height":100,className:a?Lx.xapp_navigation_header_showcase:Lx.xapp_navigation_header_container},v.createElement("div",{className:"empty_step_header"}))}return v.createElement(ny,{display:"flex",justifyContent:"center",gap:2,padding:2,"min-height":100,className:Lx.xapp_navigation_header},v.createElement(ny,{position:"relative",display:"flex",alignItems:"center",justifyContent:"center",width:"100%",minHeight:"50px",sx:{"&::before":{content:'""',position:"absolute",top:"50%",left:0,right:0,height:"3px",backgroundColor:"white",zIndex:1}}},t.map((function(e,t){return v.createElement(ny,{key:t,position:"relative",zIndex:2,display:"flex",flexDirection:"column",alignItems:"center",top:"10px",minWidth:100},v.createElement(Lb,{variant:"contained",color:"primary",size:"small",style:{borderRadius:"50%",minWidth:"auto",width:"30px",height:"30px",display:"flex",alignItems:"center",justifyContent:"center",border:"3px solid white"},className:Lx.xapp_navigation_header,onClick:function(){n("".concat(e.step))}}),v.createElement(Up,{variant:"body2",color:"white",margin:1,marginTop:1},e.label))}))))},$x=function(e){var t=e.form,r=e.onActionResponse,o=e.isShowCase,a=e.loading,i=h.useState(0),l=i[0],s=i[1],u=h.useRef({});h.useEffect((function(){for(var e=0,n=t.steps;e<n.length;e++){var r=n[e];if(r.condition){var o=Bw(r.condition);u.current[r.name]=new Function("return (".concat(o,");"))}}}),[]),h.useEffect((function(){(l<0||l>=t.steps.length)&&s(0)}),[t.steps,l]);var c=h.useRef({}),d=h.useRef({}),f=function(e){for(var r=l+1;r<t.steps.length;r++){var o=t.steps[r],a=u.current[o.name];if(!a){s(r);break}if(a.call(n({},c.current))){s(r);break}}e&&w()},p=function(){for(var e=l-1;e>=0;e--){var r=t.steps[e],o=u.current[r.name];if(!o){s(e);break}if(o.call(n({},c.current))){s(e);break}}},m=function(e){c.current=n(n({},c.current),e)},y=function(){return c.current},g=function(e){d.current=n(n({},d.current),e)},b=function(){return d.current},w=function(){var e={result:c.current,form:t.name,step:t.steps[x].name,final:!!t.steps[x].final};r(e,"FORM_SUBMIT")},x=l;return(l<0||l>=t.steps.length)&&(x=0),v.createElement("div",null,t.header.length>0&&v.createElement("div",{className:o?jx:Ix},v.createElement(zx,{items:t.header,onHeaderClick:function(e){var n=t.steps.findIndex((function(t){return t.name===e}));-1!==n?s(n):I("Header click: Cannot find step to jump to: ".concat(e))},labelHeader:t.labelHeader,stepName:t.steps[x].name,isShowCase:o})),v.createElement("div",null,t.steps.map((function(e,n){return v.createElement("div",{key:n,className:"".concat(Px," ").concat(t.steps[x].name===e.name?Dx:"")},v.createElement(Mx,{formStep:e,handleData:m,handleDataWithLabels:g,nextStep:x<t.steps.length?f:void 0,prevStep:x>0?p:void 0,getData:y,getDataWithLabels:b,loading:a}))}))))},Ax=function(e){var t=e.display,n=e.onActionResponse,r=e.loading;return v.createElement("div",{className:"xapp-search-response-display"},j(t)&&v.createElement($x,{form:t,loading:r,onActionResponse:n}),function(e){return!!e&&"LIST"===e.type}(t)&&v.createElement(dt,{list:t}),function(e){return!!e&&"CAROUSEL"===e.type}(t)&&v.createElement(st,{carousel:t}))},Fx=function(e){var t=e.html;return v.createElement("div",{className:"xapp-search-response-html",dangerouslySetInnerHTML:{__html:t}})},Vx=function(e){var t=e.text;return v.createElement("div",{className:"xapp-search-response-text"},v.createElement("p",null,t))},Ux=function(e){var t=e.audio,n=e.onAudioChange,r=h.useRef(null);return h.useEffect((function(){var e=r.current,t=function(){D("Audio finished playing"),n(!1)},o=function(){D("Audio started playing"),n(!0)};return e&&(e.addEventListener("ended",t),e.addEventListener("play",o)),function(){e&&(e.removeEventListener("ended",t),e.removeEventListener("play",o))}}),[t,n]),v.createElement("audio",{ref:r,autoPlay:!0,src:t})},Bx="SearchResponseOutputSpeech-module_xapp_search_response_output_speech__DCf8F";var Wx=function(e){var t,n=e.outputSpeech,r=e.onAudioChange,o="string"==typeof n?n:null==n?void 0:n.displayText,a="string"==typeof n||null==n?void 0:n.html,i="string"==typeof n||null==n?void 0:n.ssml;if(h.useContext(be).isVoiceEnabled){var l=i?function(e){for(var t,n=/<audio\s+src\s*=\s*"(.+?)"\s*\/?>/g,r=[];null!==(t=n.exec(e));)r.push(t[1]);return r}(i):[];t=l.length>0?l[0]:void 0}return v.createElement("div",{className:Bx},!!a&&v.createElement(Fx,{html:a}),!!o&&!a&&v.createElement(Vx,{text:o}),!!t&&v.createElement(Ux,{audio:t,onAudioChange:r}))},Hx="SearchResponsePart-module_xapp_search_response_part__DRpYu",qx=function(e){var t=e.extraClass;return v.createElement("div",{className:"".concat(Hx," ").concat(t||"")},e.children)},Yx={};Object.defineProperty(Yx,"__esModule",{value:!0});var Kx=Yx.isLinkoutSuggestion=function(e){if(!e)return!1;return void 0!==e.url};var Gx,Qx="Button-module_xapp_search_btn__cQf3T",Xx="Button-module_xapp_search_btn__expand__dUwot",Jx=function(e){var t=e.className,n=e.expand,r=e.onClick;return v.createElement("button",{type:"button",className:"".concat(Qx," ").concat(n?Xx:""," ").concat(t||""),onClick:r},e.children)},Zx="SuggestedAction-module_xapp_search_suggested_action__gbLCz",ek=function(e){var t=e.action,n=e.className,r=e.onClick,o=h.useCallback((function(){r(t)}),[t,r]);return Kx(t)?v.createElement("span",{className:"".concat(Zx," ").concat(n||"")},v.createElement("a",{href:t.url},ge(t))):v.createElement(Jx,{className:"".concat(Zx," ").concat(n||""),onClick:o}," ",ge(t))},tk={xapp_search_suggested_actions__actions:"SuggestedActions-module_xapp_search_suggested_actions__actions__Apv0-",xapp_search_suggested_actions__item:"SuggestedActions-module_xapp_search_suggested_actions__item__Q7nQb"},nk=function(e){var t=e.actions,n=e.onActionClick;return v.createElement("div",{className:tk.xapp_search_suggested_actions},v.createElement("div",{className:tk.xapp_search_suggested_actions__actions},t.map((function(e,t){return v.createElement(ek,{key:t,action:e,className:tk.xapp_search_suggested_actions__item,onClick:n})}))))},rk="SearchResponse-module_xapp_search_response__nnEM8",ok=function(e){var t=e.response,n=e.className,r=e.onActionClick,o=e.onActionResponse,a=e.onAudioChange,i=e.loading,l=t.outputSpeech,s=t.displays,u="object"==typeof l?l.suggestions:void 0;return v.createElement("div",{className:"".concat(rk," ").concat(n||"")},!!l&&v.createElement(qx,null,v.createElement(Le,null,v.createElement(Wx,{outputSpeech:l,onAudioChange:a}))),!!(null==u?void 0:u.length)&&(null==u?void 0:u.length)>0&&v.createElement(nk,{actions:u,onActionClick:r}),!!(null==s?void 0:s.length)&&(null==s?void 0:s.length)>0&&s.map((function(e,t){var n=j(e)&&(!e.header||0===e.header.length);return v.createElement(qx,{key:t,extraClass:n?"noHeaderForm":""},v.createElement(Ax,{display:e,onActionResponse:o,loading:i}))})))},ak=ok,ik="FormWidget-module_loading__aAJ-B",lk="FormWidget-module_xapp_form_widget__V-G-H",sk="FormWidget-module_xapp_form_widget__content__a9NXC",uk="FormWidget-module_xapp_form_widget__response__X8Hbz",ck="FormWidget-module_xapp_form_widget__spinner__FBxso",dk="FormWidget-module_xapp_form_widget__close__0lp0O",fk=function(e){var t=e.config;return v.createElement(be.Provider,{value:t},v.createElement(pk,{docked:e.docked}))},pk=function(e){var t=e.docked,n=V(),r=n[0],o=n[1],a=we(),i=a.loading,l=a.run,s=r.query,u=r.sendRequest,c=r.active,d=h.useState(e.response),f=d[0],p=d[1],m=h.useState(-1),y=m[0],g=m[1],b=xe(s,void 0),w="success"===b.state?b.data:void 0,x=h.useMemo((function(){return ie(w,1)}),[w]),k=h.useState(x),S=k[0],E=k[1],C=h.useState(!1),T=C[0],O=C[1],_=h.useState(0),N=_[0],R=_[1];h.useEffect((function(){x&&E(x)}),[x]);var M=h.useMemo((function(){return S?function(e){return e.reduce((function(e,t){return e+t.items.length}),0)}(S):0}),[S]),P=h.useMemo((function(){return S?function(e,t){if(t>=0)for(var n=0,r=e;n<r.length;n++)for(var o=0,a=r[n].items;o<a.length;o++){var i=a[o];if(t<=0)return i;t--}}(S,y):void 0}),[S,y]),I=h.useContext(be),j=h.useMemo((function(){return ye.getApi({key:I.api.key,url:I.api.url})}),[I]),L=h.useCallback((function(){g((function(e){return e<0?0:(e+1)%M}))}),[M]),z=h.useCallback((function(){g((function(e){return e<0?M-1:(e+M-1)%M}))}),[M]),$=h.useCallback((function(){p(void 0),o({type:"new-search"}),o({type:"set-modal-state",active:!1,minimized:!0,sendRequest:!1})}),[o]),A=h.useCallback((function(){p(void 0),o({type:"new-search"}),o({type:"set-modal-state",active:!1,minimized:!1,sendRequest:!1}),j.channelActionRequest({data:{result:{},step:"",form:""}},"FORM_CLOSE").then((function(e){D("ACTION Request (FORM_CLOSE). Data: Response: ".concat(JSON.stringify(e))),R(0)}))}),[j,o]),F=h.useCallback((function(e){o({query:e.query,intentId:e.intentId,type:"set-query"}),l((function(){return j.intentRequest(e).then((function(t){p(t),o({type:"set-response",response:t,query:e.query,intentId:e.intentId})}))}))}),[j,o,l]),U=h.useCallback((function(e,t){l((function(){return j.channelActionRequest(e,t).then((function(n){var r;if(D("ACTION Request (".concat(t,"). Data: ").concat(JSON.stringify(e)," Response: ").concat(JSON.stringify(n))),(n.outputSpeech||n.displays)&&o({type:"set-response",response:n,query:""}),(null===(r=n.context)||void 0===r?void 0:r.active)&&n.context.active.length>0){var a=n.context.active[0].parameters||{};o({type:"set-context",context:a})}e.autoClose?R(1):e.autoMinimize?R(2):R(0)}))}))}),[j,o,l]);h.useEffect((function(){(t||u&&c&&(I.autoGreeting||I.intentId))&&(j.resetSession(),F({query:I.autoGreeting,intentId:I.intentId}),o({type:"set-modal-state",active:!0,minimized:!1,sendRequest:!1}))}),[t,u,c,F,o,I.autoGreeting,j,I.intentId]),h.useEffect((function(){T||(1===N?(p(void 0),o({type:"new-search"}),o({type:"set-modal-state",active:!1,minimized:!1,sendRequest:!1}),R(0)):2===N&&(p(void 0),o({type:"new-search"}),o({type:"set-modal-state",active:!1,minimized:!0,sendRequest:!1}),R(0)))}),[T,o,N]);var B=h.useCallback((function(e){F(P?{query:P.text}:{query:e.text})}),[F,P]),W=h.useCallback((function(e){e.text||(p(void 0),o({type:"new-search"}))}),[o]),H=h.useCallback((function(e){var t=ge(e);F({query:t})}),[F]),q=h.useCallback((function(e,t){t||(t=e.action),e.timezoneOffset=(new Date).getTimezoneOffset(),U(e,t)}),[U]),Y=function(e){O(e)},K=!!s||!!f;return t?v.createElement("div",{className:"".concat(lk," ").concat(i?ik:"")},v.createElement("div",{className:"".concat(sk," ").concat(i?ik:"")},f?v.createElement(ak,{response:f,className:uk,onActionClick:H,onActionResponse:q,onAudioChange:Y,loading:i}):v.createElement("div",{className:ck},v.createElement(Ce,null)))):v.createElement("div",{className:"".concat(lk," ").concat(i&&!f?ik:"")},(!I.autoGreeting||!I.intentId)&&v.createElement(Ie,{autoFocus:!0,audioOn:T,onPrev:z,onNext:L,onSubmit:B,onCancel:$,onSearch:W}),K&&v.createElement("div",{className:"".concat(sk," ").concat(i&&!f?ik:"")},!f&&i&&v.createElement("div",{className:ck},v.createElement(Ce,null)),f&&v.createElement(ok,{response:f,className:uk,onActionClick:H,onActionResponse:q,onAudioChange:Y,loading:i})),f&&!!$&&v.createElement("div",{className:dk,onClick:A},"✕"))},mk=function(e){var t=function(e){var t=e||{};return"\n:root {\n ".concat(function(e){var t=e.next(),n="";for(;!1===t.done;){var r=t.value,o=r[0],a=r[1];null!=a&&""!==a&&(n+="".concat(o,": ").concat(a,";\n\r")),t=e.next()}return n}(hk("\t--xapp-form-widget-",vk(yk("background-color",null==t?void 0:t.backgroundColor),yk("header-background-color",null==t?void 0:t.headerBackgroundColor),yk("header-text-color",null==t?void 0:t.headerTextColor),yk("primary-button-color",null==t?void 0:t.primaryButtonColor),yk("primary-button-text-color",null==t?void 0:t.primaryButtonTextColor),yk("secondary-button-color",null==t?void 0:t.secondaryButtonColor),yk("secondary-button-text-color",null==t?void 0:t.secondaryButtonTextColor),hk("text-",vk(function(e){return o(this,(function(t){switch(t.label){case 0:return e?[4,["background-color",e.backgroundColor]]:[3,5];case 1:return t.sent(),[4,["background-color-dark",gk(e.backgroundColor,3)]];case 2:return t.sent(),[4,["color",e.color]];case 3:return t.sent(),[4,["font-size",e.fontSize]];case 4:t.sent(),t.label=5;case 5:return[2]}}))}(null==t?void 0:t.text))),hk("dropdown-",vk(function(e){return o(this,(function(t){switch(t.label){case 0:return e?[4,["background-color",e.backgroundColor]]:[3,4];case 1:return t.sent(),[4,["color",e.color]];case 2:return t.sent(),[4,["font-size",e.fontSize]];case 3:t.sent(),t.label=4;case 4:return[2]}}))}(null==t?void 0:t.dropdown))),hk("checkbox-",vk(function(e){return o(this,(function(t){switch(t.label){case 0:return e?[4,["background-color",e.backgroundColor]]:[3,4];case 1:return t.sent(),[4,["color",e.color]];case 2:return t.sent(),[4,["font-size",e.fontSize]];case 3:t.sent(),t.label=4;case 4:return[2]}}))}(null==t?void 0:t.checkbox))),hk("chips-",vk(function(e){return o(this,(function(t){switch(t.label){case 0:return e?[4,["background-color",e.backgroundColor]]:[3,7];case 1:return t.sent(),[4,["background-color-selected",e.backgroundColorSelected]];case 2:return t.sent(),[4,["background-color-dark",gk(e.backgroundColor,20)]];case 3:return t.sent(),[4,["color",e.color]];case 4:return t.sent(),[4,["color-selected",e.colorSelected]];case 5:return t.sent(),[4,["font-size",e.fontSize]];case 6:t.sent(),t.label=7;case 7:return[2]}}))}(null==t?void 0:t.chips))),hk("date-",vk(function(e){return o(this,(function(t){switch(t.label){case 0:return e?[4,["background-color",e.backgroundColor]]:[3,5];case 1:return t.sent(),[4,["background-color-selected",e.backgroundColorSelected]];case 2:return t.sent(),[4,["color",e.color]];case 3:return t.sent(),[4,["font-size",e.fontSize]];case 4:t.sent(),t.label=5;case 5:return[2]}}))}(null==t?void 0:t.date))),hk("card-",vk(function(e){return o(this,(function(t){switch(t.label){case 0:return e?[4,["background-color",e.backgroundColor]]:[3,4];case 1:return t.sent(),[4,["color",e.color]];case 2:return t.sent(),[4,["font-size",e.fontSize]];case 3:t.sent(),t.label=4;case 4:return[2]}}))}(null==t?void 0:t.card))),hk("side-button-",vk(function(e){return o(this,(function(t){switch(t.label){case 0:return e?[4,["background-color",e.backgroundColor]]:[3,7];case 1:return t.sent(),[4,["background-color-dark",gk(e.backgroundColor,10)]];case 2:return t.sent(),[4,["color",e.color]];case 3:return t.sent(),[4,["font-size",e.fontSize]];case 4:return t.sent(),[4,["top",e.top]];case 5:return t.sent(),[4,["min-length",e.minLength]];case 6:t.sent(),t.label=7;case 7:return[2]}}))}(null==t?void 0:t.sideButton)))))),"\n}\n\n")}(e.theme);return v.createElement("style",null,t)};function hk(e,t){var n;return o(this,(function(r){switch(r.label){case 0:n=t.next(),r.label=1;case 1:return n.done?[3,3]:[4,["".concat(e).concat(n.value[0]),n.value[1]]];case 2:return r.sent(),n=t.next(),[3,1];case 3:return[2]}}))}function vk(){var e,t,n,r,a,i=[];for(e=0;e<arguments.length;e++)i[e]=arguments[e];return o(this,(function(e){switch(e.label){case 0:t=0,n=i,e.label=1;case 1:if(!(t<n.length))return[3,5];r=n[t],a=r.next(),e.label=2;case 2:return!1!==a.done?[3,4]:[4,a.value];case 3:return e.sent(),a=r.next(),[3,2];case 4:return t++,[3,1];case 5:return[2]}}))}function yk(e,t){return o(this,(function(n){switch(n.label){case 0:return[4,[e,t]];case 1:return n.sent(),[2]}}))}function gk(e,t){var n,r,o,a,i,l;if(!e)return e;try{if(e.startsWith("#")){var s=e.match(/\w\w/g);s&&(r=(n=s.map((function(e){return parseInt(e,16)})))[0],o=n[1],a=n[2])}else if(e.startsWith("rgb")){var u=function(e){var t,n=/^rgba?\((\d+),\s*(\d+),\s*(\d+),\s*([\d.]+)\)$/,r=/^rgb?\((\d+),\s*(\d+),\s*(\d+)\)$/;return(t=e.match(n))?{r:parseInt(t[1]),g:parseInt(t[2]),b:parseInt(t[3]),a:parseFloat(t[4])}:(t=e.match(r))?{r:parseInt(t[1]),g:parseInt(t[2]),b:parseInt(t[3])}:null}(e);u&&(r=u.r,o=u.g,a=u.b,i=u.a)}if(void 0===r||void 0===o||void 0===a)return I("Darken: Unsupported color format: ".concat(e)),e;if(void 0!==i){if(0===r&&0===o&&0===a)i+=t/100;else{var c=.3*r+.59*o+.11*a,d=c*(1-t/100)/c;r=Math.round(r*d),o=Math.round(o*d),a=Math.round(a*d)}l="rgba(".concat(r,", ").concat(o,", ").concat(a,", ").concat(i,")")}else r=Math.max(0,r-t),o=Math.max(0,o-t),a=Math.max(0,a-t),l="#".concat(r.toString(16).padStart(2,"0")).concat(o.toString(16).padStart(2,"0")).concat(a.toString(16).padStart(2,"0"))}catch(t){I("Darken: Unsupported color format: ".concat(e," - Error: ").concat(t))}return l}!function(e){e.XAPP_FORM_BUTTON="xapp-form-button"}(Gx||(Gx={}));var bk="ChatButton-module_xapp_chat_button__HH7eW",wk="ChatButton-module_xapp_chat_button__btn__HAq8m",xk=function(e){return v.createElement("button",{className:"".concat(bk," ").concat(e.addClass||""),onClick:e.onClick},v.createElement("div",{id:"xapp-widget-button",className:wk,style:e.borderStyle&&{border:"solid",borderWidth:e.borderStyle.width,borderColor:e.borderStyle.color}},v.createElement("svg",{fill:"#000000",height:"300px",width:"30px",version:"1.1",id:"Capa_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 382.163 382.163"},v.createElement("g",null,v.createElement("path",{d:"M344.89,215.855c0-50.602-24.567-95.57-62.396-123.618l2.982-5.326l46.258,25.92c1.16,0.65,2.418,0.958,3.659,0.958\n\t\tc2.626,0,5.175-1.381,6.55-3.835c8.883-15.853,11.061-34.216,6.132-51.706c-4.243-15.059-13.327-27.91-25.887-36.864l5.722-10.22\n\t\tc2.023-3.614,0.733-8.185-2.881-10.208c-3.614-2.023-8.184-0.734-10.208,2.88l-5.72,10.216\n\t\tc-31.487-13.349-68.758-1.123-85.857,29.391c-0.972,1.735-1.215,3.786-0.676,5.7s1.817,3.536,3.553,4.509l46.268,25.925\n\t\tl-2.406,4.297c-23.084-13.853-50.078-21.83-78.903-21.83c-28.825,0-55.818,7.977-78.902,21.829l-2.408-4.296l46.269-25.926\n\t\tc3.614-2.025,4.902-6.595,2.877-10.209c-8.883-15.853-23.407-27.297-40.897-32.226c-15.061-4.244-30.765-3.205-44.96,2.833\n\t\tL67.342,3.838c-2.023-3.615-6.593-4.904-10.208-2.881c-3.614,2.023-4.904,6.594-2.881,10.208l5.721,10.22\n\t\tc-12.559,8.954-21.643,21.804-25.886,36.864c-4.929,17.49-2.751,35.854,6.132,51.706c1.375,2.454,3.924,3.835,6.55,3.835\n\t\tc1.241,0,2.5-0.309,3.659-0.958l46.257-25.919l2.984,5.324c-37.83,28.047-62.397,73.016-62.397,123.619\n\t\tc0,45.21,19.61,85.924,50.767,114.091l-9.427,43.114c-0.885,4.047,1.678,8.044,5.725,8.929c0.54,0.118,1.078,0.175,1.609,0.175\n\t\tc3.448,0,6.553-2.393,7.32-5.899l7.818-35.757c25.321,18.332,56.416,29.157,89.996,29.157c33.58,0,64.676-10.825,89.997-29.158\n\t\tl7.818,35.758c0.767,3.507,3.871,5.899,7.319,5.899c0.531,0,1.07-0.057,1.609-0.175c4.046-0.885,6.61-4.882,5.725-8.929\n\t\tl-9.427-43.115C325.281,301.778,344.89,261.065,344.89,215.855z M308.517,30.436c12.357,6.924,21.279,18.246,25.121,31.88\n\t\tc3.155,11.198,2.574,22.853-1.57,33.507l-91.609-51.331C256.211,23.856,285.228,17.387,308.517,30.436z M50.096,95.824\n\t\tc-4.145-10.654-4.726-22.31-1.57-33.507c3.842-13.634,12.763-24.956,25.121-31.88c8.179-4.583,17.064-6.758,25.833-6.758\n\t\tc16.201,0,32.005,7.425,42.225,20.814L50.096,95.824z M52.273,215.855c0-76.54,62.269-138.809,138.809-138.809\n\t\tS329.89,139.315,329.89,215.855s-62.27,138.809-138.809,138.809S52.273,292.394,52.273,215.855z"}),v.createElement("path",{d:"M191.081,107.685c-59.645,0-108.17,48.525-108.17,108.17c0,59.645,48.525,108.17,108.17,108.17\n\t\tc59.646,0,108.17-48.525,108.17-108.17C299.252,156.21,250.727,107.685,191.081,107.685z M191.081,309.025\n\t\tc-51.374,0-93.17-41.796-93.17-93.17c0-51.374,41.796-93.17,93.17-93.17c51.375,0,93.17,41.796,93.17,93.17\n\t\tC284.252,267.229,242.456,309.025,191.081,309.025z"}),v.createElement("path",{d:"M198.585,190.081v-36.262c0-4.142-3.358-7.5-7.5-7.5s-7.5,3.358-7.5,7.5v36.26c-8.784,2.559-15.718,9.492-18.279,18.276\n\t\th-16.941c-4.142,0-7.5,3.358-7.5,7.5s3.358,7.5,7.5,7.5h16.941c3.254,11.165,13.574,19.349,25.775,19.349\n\t\tc14.805,0,26.849-12.044,26.849-26.849C217.93,203.655,209.748,193.337,198.585,190.081z M191.081,227.704\n\t\tc-6.533,0-11.849-5.315-11.849-11.849s5.315-11.849,11.849-11.849c6.534,0,11.849,5.315,11.849,11.849\n\t\tS197.615,227.704,191.081,227.704z"})))))},kk="SideButton-module_xapp_form_sticky_button__YqORL",Sk="SideButton-module_left__GT6z8",Ek="SideButton-module_right__Hy2FU",Ck=function(e){var t=e.onClick,n=e.position,r=e.label,o="right"===(null==n?void 0:n.toLowerCase())?Ek:Sk;return v.createElement("div",{onClick:t,className:"".concat(kk," ").concat(o)},v.createElement("span",null,r||"Schedule Now"))},Tk="Form-module_xapp_form__mMqzX",Ok=function(e){return v.createElement(F,null,v.createElement(_k,{config:e.config,theme:e.theme,button:e.button,buttonElementLookup:e.buttonElementLookup}))},_k=function(e){var t,r,o=e.config,a=e.theme,i=V()[1],l=U(),s=l.active,u=l.minimized,c=h.useCallback((function(){i({type:"set-modal-state",active:!0,minimized:!1,sendRequest:!1})}),[i]),d=h.useCallback((function(){i({type:"toggle-modal-state"})}),[i]),f=h.useCallback((function(){return{active:s,minimized:u}}),[s,u]),p=h.useMemo((function(){return ye.getApi({key:o.api.key,url:o.api.url})}),[o]),m=h.useCallback((function(){i({type:"new-search"}),i({type:"set-modal-state",active:!1,minimized:!1,sendRequest:!1}),p.channelActionRequest({data:{result:{},step:"",form:""}},"FORM_CLOSE").then((function(e){D("ACTION Request (FORM_CLOSE). Data: Response: ".concat(JSON.stringify(e)))}))}),[p,i]);return h.useEffect((function(){var e=document.getElementsByClassName(Gx.XAPP_FORM_BUTTON);if(e.length)D("Assigning ".concat(e.length," button(s) by class: ").concat(Gx.XAPP_FORM_BUTTON)),Array.from(e).forEach((function(e){e.onclick=d,e.onfocus=d}));else{var t=document.getElementById(Gx.XAPP_FORM_BUTTON);t?(D("Assigning one button by id: ".concat(Gx.XAPP_FORM_BUTTON,")}")),t.onclick=d,t.onfocus=d):D("Cannot assign buttons by class or id: ".concat(Gx.XAPP_FORM_BUTTON,")}"))}window.xafwControl={openForm:d,formStatus:f}}),[f,d]),r=e.button&&"object"==typeof e.button?v.createElement(e.button.type,n({},e.button.props,{onClick:d,onFocus:d})):v.createElement(v.Fragment,null),v.createElement("div",{className:Tk},v.createElement(mk,{theme:a}),o.sideButtonLabel&&v.createElement(Ck,{onClick:d,label:o.sideButtonLabel,position:null===(t=null==a?void 0:a.sideButton)||void 0===t?void 0:t.postion}),r,u&&v.createElement(xk,{onClick:c}),s&&v.createElement(Y,{onClose:m},v.createElement(fk,{config:o})))};function Nk(e){return e.split("-").map((function(e,t){return e.length?t?e[0].toUpperCase()+e.substring(1).toLowerCase():e.toLowerCase():""})).join("")}function Rk(e){return Object.keys(e).reduce((function(t,n){var r=n,o="string";n.endsWith("-FLAG")?(r=n.substring(0,n.length-5),o="boolean"):n.endsWith("-MSEC")&&(r=n.substring(0,n.length-5),o="number");for(var a=r.split("_").map(Nk),i=t;a.length>1;){(l=a.shift())&&i&&"object"==typeof i&&(i[l]||(i[l]={}),i=i[l])}if(i&&"object"==typeof i){var l=a.shift(),s=e[n];l&&s&&(i[l]=function(e,t){return"string"===t?e:"boolean"===t?"TRUE"===e:"number"===t?parseFloat(e):e}(s,o))}return t}),{})}function Mk(){var e=null===document||void 0===document?void 0:document.getElementById("xapp-form-js");return function(e){if(!e)return{path:""};var t=e.lastIndexOf("/"),n="";t>=0&&(n=e.substr(0,t));var r=new URL(e),o=new URLSearchParams(r.search).get("key")||"";return{path:n,key:o}}(null==e?void 0:e.src)}var Pk="xapp-form-widget",Dk="{{INJECT}}",Ik=10;function jk(e){var t=e||Dk;try{var r=t.length===Ik?{}:JSON.parse(t);D("Config: ".concat(JSON.stringify(r,null,2)));var o=window.xafwConfig||{};window.xafwConfig=n(n(n({},r),o),{attributes:n(n({},r.attributes),o.attributes)})}catch(e){console.info("Unable to load search config: ".concat(e))}}function Lk(){var e,t=Rk(process.env);return n(n({},t),(e=window)&&"object"==typeof e.xafwConfig&&window.xafwConfig||{})}var zk=function(e){var t=e.env,n=function(){var e=h.useState(!1),t=e[0],n=e[1];return h.useEffect((function(){if(!document.getElementById("xapp-form-style")){var e=Mk(),t=document.createElement("link");t.id="xapp-form-style",e.key?t.href="".concat(e.path,"/xapp-form-widget.css?key=").concat(e.key):t.href="".concat(e.path,"/xapp-form-widget.css"),t.rel="stylesheet",D("CSS loaded: ".concat(t.href)),document.head.appendChild(t),t.addEventListener("load",(function(){n(!0)}))}}),[]),[t]}()[0];if(t.disabled)return v.createElement(v.Fragment,null);var r=function(e){var t,n;return[{api:{url:(null===(t=e.connection)||void 0===t?void 0:t.serverUrl)||"",key:(null===(n=e.connection)||void 0===n?void 0:n.accountKey)||""},suggestionsUrl:e.autocompleteSuggestionsUrl,autoGreeting:e.autoGreeting||"contact us",intentId:e.intentId,sideButtonLabel:e.sideButtonLabel,googleMapsApiKey:e.googleMapsApiKey,mapsBaseUrl:e.mapsBaseUrl},e.theme]}(t),o=r[0],a=r[1];return n?v.createElement(Ok,{config:o,theme:a,button:"xapp-form-widget-button",buttonElementLookup:e.buttonElementLookup}):v.createElement(v.Fragment,null)};function $k(){return r(this,void 0,void 0,(function(){var e,t,n;return o(this,(function(r){return(e=document.getElementById(Pk))||((e=document.createElement("div")).id=Pk,document.body.appendChild(e)),console.log("XAPP Form Bundle created on 7/23/2024, 4:57:17 PM (master)"),jk(),t=Lk(),n=window.xappSearchButtonLookup,e.getAttribute("xapp-form-mounted")?console.log("XAPP Form already mounted"):(e.setAttribute("xapp-form-mounted","true"),M.render(v.createElement(zk,{env:t,buttonElementLookup:n}),e)),[2]}))}))}window.addEventListener("load",(function(){$k()})),"complete"===document.readyState&&$k(),e.React=v,e.injectConfig=jk}));
137
+ `),Fv,(t.vars||t).palette.action.hover))),Uv=h.forwardRef((function(e,t){const n=_n({props:e,name:"MuiSkeleton"}),{animation:r="pulse",className:o,component:a="span",height:i,style:l,variant:s="text",width:u}=n,c=ft(n,Dv),d=pt({},n,{animation:r,component:a,variant:s,hasChildren:Boolean(c.children)}),f=(e=>{const{classes:t,variant:n,animation:r,hasChildren:o,width:a,height:i}=e;return Vt({root:["root",n,r,o&&"withChildren",o&&!a&&"fitContent",o&&!i&&"heightAuto"]},Pv,t)})(d);return Cn.jsx(Vv,pt({as:a,ref:t,className:Ft(f.root,o),ownerState:d},c,{style:pt({width:u,height:i},l)}))}));"production"!==process.env.NODE_ENV&&(Uv.propTypes={animation:$t.oneOf(["pulse","wave",!1]),children:$t.node,classes:$t.object,className:$t.string,component:$t.elementType,height:$t.oneOfType([$t.number,$t.string]),style:$t.object,sx:$t.oneOfType([$t.arrayOf($t.oneOfType([$t.func,$t.object,$t.bool])),$t.func,$t.object]),variant:$t.oneOfType([$t.oneOf(["circular","rectangular","rounded","text"]),$t.string]),width:$t.oneOfType([$t.number,$t.string])});const Bv=e=>dl("MuiDayCalendarSkeleton",e);Hl("MuiDayCalendarSkeleton",["root","week","daySkeleton"]);const Wv=["className"],Hv=Wl("div",{name:"MuiDayCalendarSkeleton",slot:"Root",overridesResolver:(e,t)=>t.root})({alignSelf:"start"}),qv=Wl("div",{name:"MuiDayCalendarSkeleton",slot:"Week",overridesResolver:(e,t)=>t.week})({margin:"2px 0",display:"flex",justifyContent:"center"}),Yv=Wl(Uv,{name:"MuiDayCalendarSkeleton",slot:"DaySkeleton",overridesResolver:(e,t)=>t.daySkeleton})((({ownerState:e})=>pt({margin:"0 2px"},0===e.day&&{visibility:"hidden"})));Yv.propTypes={ownerState:$t.shape({day:$t.number.isRequired}).isRequired};const Kv=[[0,1,1,1,1,1,1],[1,1,1,1,1,1,1],[1,1,1,1,1,1,1],[1,1,1,1,1,1,1],[1,1,1,1,0,0,0]];function Gv(e){const t=Qp({props:e,name:"MuiDayCalendarSkeleton"}),{className:n}=t,r=ft(t,Wv),o=(e=>{const{classes:t}=e;return Vt({root:["root"],week:["week"],daySkeleton:["daySkeleton"]},Bv,t)})(r);return Cn.jsx(Hv,pt({className:Ft(o.root,n)},r,{children:Kv.map(((e,t)=>Cn.jsx(qv,{className:o.week,children:e.map(((e,t)=>Cn.jsx(Yv,{variant:"circular",width:Pm,height:Pm,className:o.daySkeleton,ownerState:{day:e}},t)))},t)))}))}function Qv(e,t){var n=t.split("*").map(Xv).join(".*");return new RegExp("^".concat(n,"$")).test(e)}function Xv(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}"production"!==process.env.NODE_ENV&&(Gv.propTypes={classes:$t.object,sx:$t.oneOfType([$t.arrayOf($t.oneOfType([$t.func,$t.object,$t.bool])),$t.func,$t.object])});var Jv=function(e){var t=function(){return v.createElement(Gv,null)},r=e.field,o=e.onFieldChange,a=e.errorMessage,i=e.busyDays,l=e.loading,s=v.useState(null),u=s[0],c=s[1];h.useEffect((function(){o(r.name,u)}),[u,r.name,o]),h.useEffect((function(){D('Busy days: "'.concat(i,'"'))}),[i]);var d=i?i.split(","):void 0;return v.createElement(v.Fragment,null,v.createElement("div",{className:_v},v.createElement(Zp,{dateAdapter:Ov},v.createElement(dv,{className:Nv,views:["day"],value:u,disablePast:!0,shouldDisableDate:function(e){var t=e.format("YYYY-MM-DD");if(!d)return!1;try{var n=e.format("dddd");if(d.some((function(e){return!(!Qv(t,e)&&!Qv(n,e))})))return!0}catch(e){e("shouldDisableDate: ".concat(e))}return!1},onChange:function(e){c(e)},loading:l,renderLoading:function(){return v.createElement(t,null)},disableHighlightToday:!0,slots:{day:function(e){var t=e.day,r=e.disabled;return t.isBefore(pv(),"day")?v.createElement(Um,n({},e,{className:Rv})):r?v.createElement(Um,n({},e,{className:Mv})):v.createElement(Um,n({},e))}}}))),l&&v.createElement(Sc,{error:!0,style:{color:"inherit",marginLeft:"98px",marginTop:"14px",marginBottom:"-14px"}},"Getting latest availability..."),!l&&a&&v.createElement(Sc,{error:!0,style:{marginLeft:"14px",marginTop:"14px",marginBottom:"-14px"}},a))},Zv=function(e){var t=e.field,r=e.onFieldChange,o=h.useState({from:"",to:""}),a=o[0],i=o[1],l=function(e){var o=e.target.value;e.target.id.endsWith("-from")?i(n(n({},a),{from:o})):i(n(n({},a),{to:o})),r(t.name,a),i(a)};return v.createElement("div",null,v.createElement("h2",null,t.title),v.createElement("input",{id:"".concat(t.name,"-from"),value:a.from,onChange:l}),v.createElement("input",{id:"".concat(t.name,"-to"),value:a.to,onChange:l}))};const ey=Hl("MuiBox",["root"]),ty=Al(),ny=function(e={}){const{themeId:t,defaultTheme:n,defaultClassName:r="MuiBox-root",generateClassName:o}=e,a=sa("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(Di);return h.forwardRef((function(e,i){const l=Ws(n),s=Fi(e),{className:u,component:c="div"}=s,d=ft(s,qs);return Cn.jsx(a,pt({as:c,ref:i,className:Ft(u,o?o(r):r),theme:t&&l[t]||l},d))}))}({themeId:Vl,defaultTheme:ty,defaultClassName:ey.root,generateClassName:ul.generate});function ry(e){return void 0!==e.normalize?e.normalize("NFD").replace(/[\u0300-\u036f]/g,""):e}function oy(e,t){for(let n=0;n<e.length;n+=1)if(t(e[n]))return n;return-1}"production"!==process.env.NODE_ENV&&(ny.propTypes={children:$t.node,component:$t.elementType,sx:$t.oneOfType([$t.arrayOf($t.oneOfType([$t.func,$t.object,$t.bool])),$t.func,$t.object])});const ay=function(e={}){const{ignoreAccents:t=!0,ignoreCase:n=!0,limit:r,matchFrom:o="any",stringify:a,trim:i=!1}=e;return(e,{inputValue:l,getOptionLabel:s})=>{let u=i?l.trim():l;n&&(u=u.toLowerCase()),t&&(u=ry(u));const c=u?e.filter((e=>{let r=(a||s)(e);return n&&(r=r.toLowerCase()),t&&(r=ry(r)),"start"===o?0===r.indexOf(u):r.indexOf(u)>-1})):e;return"number"==typeof r?c.slice(0,r):c}}(),iy=e=>{var t;return null!==e.current&&(null==(t=e.current.parentElement)?void 0:t.contains(document.activeElement))};function ly(e){const{unstable_isActiveElementInListbox:t=iy,unstable_classNamePrefix:n="Mui",autoComplete:r=!1,autoHighlight:o=!1,autoSelect:a=!1,blurOnSelect:i=!1,clearOnBlur:l=!e.freeSolo,clearOnEscape:s=!1,componentName:u="useAutocomplete",defaultValue:c=(e.multiple?[]:null),disableClearable:d=!1,disableCloseOnSelect:f=!1,disabled:p,disabledItemsFocusable:m=!1,disableListWrap:v=!1,filterOptions:y=ay,filterSelectedOptions:g=!1,freeSolo:b=!1,getOptionDisabled:w,getOptionKey:x,getOptionLabel:k=e=>{var t;return null!=(t=e.label)?t:e},groupBy:S,handleHomeEndKeys:E=!e.freeSolo,id:C,includeInputInList:T=!1,inputValue:O,isOptionEqualToValue:_=(e,t)=>e===t,multiple:N=!1,onChange:R,onClose:M,onHighlightChange:P,onInputChange:D,onOpen:I,open:j,openOnFocus:L=!1,options:z,readOnly:$=!1,selectOnFocus:A=!e.freeSolo,value:F}=e,V=Su(C);let U=k;U=e=>{const t=k(e);if("string"!=typeof t){if("production"!==process.env.NODE_ENV){const n=void 0===t?"undefined":`${typeof t} (${t})`;console.error(`MUI: The \`getOptionLabel\` method of ${u} returned ${n} instead of a string for ${JSON.stringify(e)}.`)}return String(t)}return t};const B=h.useRef(!1),W=h.useRef(!0),H=h.useRef(null),q=h.useRef(null),[Y,K]=h.useState(null),[G,Q]=h.useState(-1),X=o?0:-1,J=h.useRef(X),[Z,ee]=Eu({controlled:F,default:c,name:u}),[te,ne]=Eu({controlled:O,default:"",name:u,state:"inputValue"}),[re,oe]=h.useState(!1),ae=h.useCallback(((e,t)=>{if(!(N?Z.length<t.length:null!==t)&&!l)return;let n;if(N)n="";else if(null==t)n="";else{const e=U(t);n="string"==typeof e?e:""}te!==n&&(ne(n),D&&D(e,n,"reset"))}),[U,te,N,D,ne,l,Z]),[ie,le]=Eu({controlled:j,default:!1,name:u,state:"open"}),[se,ue]=h.useState(!0),ce=!N&&null!=Z&&te===U(Z),de=ie&&!$,fe=de?y(z.filter((e=>!g||!(N?Z:[Z]).some((t=>null!==t&&_(e,t))))),{inputValue:ce&&se?"":te,getOptionLabel:U}):[],pe=(e=>{const t=h.useRef({});return h.useEffect((()=>{t.current=e})),t.current})({filteredOptions:fe,value:Z,inputValue:te});h.useEffect((()=>{const e=Z!==pe.value;re&&!e||b&&!e||ae(null,Z)}),[Z,ae,re,pe.value,b]);const me=ie&&fe.length>0&&!$;if("production"!==process.env.NODE_ENV&&null!==Z&&!b&&z.length>0){const e=(N?Z:[Z]).filter((e=>!z.some((t=>_(t,e)))));e.length>0&&console.warn([`MUI: The value provided to ${u} is invalid.`,`None of the options match with \`${e.length>1?JSON.stringify(e):JSON.stringify(e[0])}\`.`,"You can use the `isOptionEqualToValue` prop to customize the equality test."].join("\n"))}const he=as((e=>{-1===e?H.current.focus():Y.querySelector(`[data-tag-index="${e}"]`).focus()}));h.useEffect((()=>{N&&G>Z.length-1&&(Q(-1),he(-1))}),[Z,N,G,he]);const ve=as((({event:e,index:t,reason:r="auto"})=>{if(J.current=t,-1===t?H.current.removeAttribute("aria-activedescendant"):H.current.setAttribute("aria-activedescendant",`${V}-option-${t}`),P&&P(e,-1===t?null:fe[t],r),!q.current)return;const o=q.current.querySelector(`[role="option"].${n}-focused`);o&&(o.classList.remove(`${n}-focused`),o.classList.remove(`${n}-focusVisible`));let a=q.current;if("listbox"!==q.current.getAttribute("role")&&(a=q.current.parentElement.querySelector('[role="listbox"]')),!a)return;if(-1===t)return void(a.scrollTop=0);const i=q.current.querySelector(`[data-option-index="${t}"]`);if(i&&(i.classList.add(`${n}-focused`),"keyboard"===r&&i.classList.add(`${n}-focusVisible`),a.scrollHeight>a.clientHeight&&"mouse"!==r&&"touch"!==r)){const e=i,t=a.clientHeight+a.scrollTop,n=e.offsetTop+e.offsetHeight;n>t?a.scrollTop=n-a.clientHeight:e.offsetTop-e.offsetHeight*(S?1.3:0)<a.scrollTop&&(a.scrollTop=e.offsetTop-e.offsetHeight*(S?1.3:0))}})),ye=as((({event:e,diff:t,direction:n="next",reason:o="auto"})=>{if(!de)return;const a=function(e,t){if(!q.current||e<0||e>=fe.length)return-1;let n=e;for(;;){const r=q.current.querySelector(`[data-option-index="${n}"]`),o=!m&&(!r||r.disabled||"true"===r.getAttribute("aria-disabled"));if(r&&r.hasAttribute("tabindex")&&!o)return n;if(n="next"===t?(n+1)%fe.length:(n-1+fe.length)%fe.length,n===e)return-1}}((()=>{const e=fe.length-1;if("reset"===t)return X;if("start"===t)return 0;if("end"===t)return e;const n=J.current+t;return n<0?-1===n&&T?-1:v&&-1!==J.current||Math.abs(t)>1?0:e:n>e?n===e+1&&T?-1:v||Math.abs(t)>1?e:0:n})(),n);if(ve({index:a,reason:o,event:e}),r&&"reset"!==t)if(-1===a)H.current.value=te;else{const e=U(fe[a]);H.current.value=e;0===e.toLowerCase().indexOf(te.toLowerCase())&&te.length>0&&H.current.setSelectionRange(te.length,e.length)}})),ge=h.useCallback((()=>{if(!de)return;const e=(()=>{if(-1!==J.current&&pe.filteredOptions&&pe.filteredOptions.length!==fe.length&&pe.inputValue===te&&(N?Z.length===pe.value.length&&pe.value.every(((e,t)=>U(Z[t])===U(e))):(e=pe.value,t=Z,(e?U(e):"")===(t?U(t):"")))){const e=pe.filteredOptions[J.current];if(e)return oy(fe,(t=>U(t)===U(e)))}var e,t;return-1})();if(-1!==e)return void(J.current=e);const t=N?Z[0]:Z;if(0!==fe.length&&null!=t){if(q.current)if(null==t)J.current>=fe.length-1?ve({index:fe.length-1}):ve({index:J.current});else{const e=fe[J.current];if(N&&e&&-1!==oy(Z,(t=>_(e,t))))return;const n=oy(fe,(e=>_(e,t)));-1===n?ye({diff:"reset"}):ve({index:n})}}else ye({diff:"reset"})}),[fe.length,!N&&Z,g,ye,ve,de,te,N]),be=as((e=>{Jl(q,e),e&&ge()}));"production"!==process.env.NODE_ENV&&h.useEffect((()=>{H.current&&"INPUT"===H.current.nodeName||(H.current&&"TEXTAREA"===H.current.nodeName?console.warn([`A textarea element was provided to ${u} where input was expected.`,"This is not a supported scenario but it may work under certain conditions.","A textarea keyboard navigation may conflict with Autocomplete controls (for example enter and arrow keys).","Make sure to test keyboard navigation and add custom event handlers if necessary."].join("\n")):console.error([`MUI: Unable to find the input element. It was resolved to ${H.current} while an HTMLInputElement was expected.`,`Instead, ${u} expects an input element.`,"","useAutocomplete"===u?"Make sure you have bound getInputProps correctly and that the normal ref/effect resolutions order is guaranteed.":"Make sure you have customized the input component correctly."].join("\n")))}),[u]),h.useEffect((()=>{ge()}),[ge]);const we=e=>{ie||(le(!0),ue(!0),I&&I(e))},xe=(e,t)=>{ie&&(le(!1),M&&M(e,t))},ke=(e,t,n,r)=>{if(N){if(Z.length===t.length&&Z.every(((e,n)=>e===t[n])))return}else if(Z===t)return;R&&R(e,t,n,r),ee(t)},Se=h.useRef(!1),Ee=(e,t,n="selectOption",r="options")=>{let o=n,a=t;if(N){if(a=Array.isArray(Z)?Z.slice():[],"production"!==process.env.NODE_ENV){const e=a.filter((e=>_(t,e)));e.length>1&&console.error([`MUI: The \`isOptionEqualToValue\` method of ${u} does not handle the arguments correctly.`,`The component expects a single value to match a given option but found ${e.length} matches.`].join("\n"))}const e=oy(a,(e=>_(t,e)));-1===e?a.push(t):"freeSolo"!==r&&(a.splice(e,1),o="removeOption")}ae(e,a),ke(e,a,o,{option:t}),f||e&&(e.ctrlKey||e.metaKey)||xe(e,o),(!0===i||"touch"===i&&Se.current||"mouse"===i&&!Se.current)&&H.current.blur()};const Ce=(e,t)=>{if(!N)return;""===te&&xe(e,"toggleInput");let n=G;-1===G?""===te&&"previous"===t&&(n=Z.length-1):(n+="next"===t?1:-1,n<0&&(n=0),n===Z.length&&(n=-1)),n=function(e,t){if(-1===e)return-1;let n=e;for(;;){if("next"===t&&n===Z.length||"previous"===t&&-1===n)return-1;const e=Y.querySelector(`[data-tag-index="${n}"]`);if(e&&e.hasAttribute("tabindex")&&!e.disabled&&"true"!==e.getAttribute("aria-disabled"))return n;n+="next"===t?1:-1}}(n,t),Q(n),he(n)},Te=e=>{B.current=!0,ne(""),D&&D(e,"","clear"),ke(e,N?[]:null,"clear")},Oe=e=>t=>{if(e.onKeyDown&&e.onKeyDown(t),!t.defaultMuiPrevented&&(-1!==G&&-1===["ArrowLeft","ArrowRight"].indexOf(t.key)&&(Q(-1),he(-1)),229!==t.which))switch(t.key){case"Home":de&&E&&(t.preventDefault(),ye({diff:"start",direction:"next",reason:"keyboard",event:t}));break;case"End":de&&E&&(t.preventDefault(),ye({diff:"end",direction:"previous",reason:"keyboard",event:t}));break;case"PageUp":t.preventDefault(),ye({diff:-5,direction:"previous",reason:"keyboard",event:t}),we(t);break;case"PageDown":t.preventDefault(),ye({diff:5,direction:"next",reason:"keyboard",event:t}),we(t);break;case"ArrowDown":t.preventDefault(),ye({diff:1,direction:"next",reason:"keyboard",event:t}),we(t);break;case"ArrowUp":t.preventDefault(),ye({diff:-1,direction:"previous",reason:"keyboard",event:t}),we(t);break;case"ArrowLeft":Ce(t,"previous");break;case"ArrowRight":Ce(t,"next");break;case"Enter":if(-1!==J.current&&de){const e=fe[J.current],n=!!w&&w(e);if(t.preventDefault(),n)return;Ee(t,e,"selectOption"),r&&H.current.setSelectionRange(H.current.value.length,H.current.value.length)}else b&&""!==te&&!1===ce&&(N&&t.preventDefault(),Ee(t,te,"createOption","freeSolo"));break;case"Escape":de?(t.preventDefault(),t.stopPropagation(),xe(t,"escape")):s&&(""!==te||N&&Z.length>0)&&(t.preventDefault(),t.stopPropagation(),Te(t));break;case"Backspace":if(N&&!$&&""===te&&Z.length>0){const e=-1===G?Z.length-1:G,n=Z.slice();n.splice(e,1),ke(t,n,"removeOption",{option:Z[e]})}break;case"Delete":if(N&&!$&&""===te&&Z.length>0&&-1!==G){const e=G,n=Z.slice();n.splice(e,1),ke(t,n,"removeOption",{option:Z[e]})}}},_e=e=>{oe(!0),L&&!B.current&&we(e)},Ne=e=>{t(q)?H.current.focus():(oe(!1),W.current=!0,B.current=!1,a&&-1!==J.current&&de?Ee(e,fe[J.current],"blur"):a&&b&&""!==te?Ee(e,te,"blur","freeSolo"):l&&ae(e,Z),xe(e,"blur"))},Re=e=>{const t=e.target.value;te!==t&&(ne(t),ue(!1),D&&D(e,t,"input")),""===t?d||N||ke(e,null,"clear"):we(e)},Me=e=>{const t=Number(e.currentTarget.getAttribute("data-option-index"));J.current!==t&&ve({event:e,index:t,reason:"mouse"})},Pe=e=>{ve({event:e,index:Number(e.currentTarget.getAttribute("data-option-index")),reason:"touch"}),Se.current=!0},De=e=>{const t=Number(e.currentTarget.getAttribute("data-option-index"));Ee(e,fe[t],"selectOption"),Se.current=!1},Ie=e=>t=>{const n=Z.slice();n.splice(e,1),ke(t,n,"removeOption",{option:Z[e]})},je=e=>{ie?xe(e,"toggleInput"):we(e)},Le=e=>{e.currentTarget.contains(e.target)&&e.target.getAttribute("id")!==V&&e.preventDefault()},ze=e=>{e.currentTarget.contains(e.target)&&(H.current.focus(),A&&W.current&&H.current.selectionEnd-H.current.selectionStart==0&&H.current.select(),W.current=!1)},$e=e=>{p||""!==te&&ie||je(e)};let Ae=b&&te.length>0;Ae=Ae||(N?Z.length>0:null!==Z);let Fe=fe;if(S){const e=new Map;let t=!1;Fe=fe.reduce(((n,r,o)=>{const a=S(r);return n.length>0&&n[n.length-1].group===a?n[n.length-1].options.push(r):("production"!==process.env.NODE_ENV&&(e.get(a)&&!t&&(console.warn(`MUI: The options provided combined with the \`groupBy\` method of ${u} returns duplicated headers.`,"You can solve the issue by sorting the options with the output of `groupBy`."),t=!0),e.set(a,!0)),n.push({key:o,index:o,group:a,options:[r]})),n}),[])}return p&&re&&Ne(),{getRootProps:(e={})=>pt({"aria-owns":me?`${V}-listbox`:null},e,{onKeyDown:Oe(e),onMouseDown:Le,onClick:ze}),getInputLabelProps:()=>({id:`${V}-label`,htmlFor:V}),getInputProps:()=>({id:V,value:te,onBlur:Ne,onFocus:_e,onChange:Re,onMouseDown:$e,"aria-activedescendant":de?"":null,"aria-autocomplete":r?"both":"list","aria-controls":me?`${V}-listbox`:void 0,"aria-expanded":me,autoComplete:"off",ref:H,autoCapitalize:"none",spellCheck:"false",role:"combobox",disabled:p}),getClearProps:()=>({tabIndex:-1,type:"button",onClick:Te}),getPopupIndicatorProps:()=>({tabIndex:-1,type:"button",onClick:je}),getTagProps:({index:e})=>pt({key:e,"data-tag-index":e,tabIndex:-1},!$&&{onDelete:Ie(e)}),getListboxProps:()=>({role:"listbox",id:`${V}-listbox`,"aria-labelledby":`${V}-label`,ref:be,onMouseDown:e=>{e.preventDefault()}}),getOptionProps:({index:e,option:t})=>{var n;const r=(N?Z:[Z]).some((e=>null!=e&&_(t,e))),o=!!w&&w(t);return{key:null!=(n=null==x?void 0:x(t))?n:U(t),tabIndex:-1,role:"option",id:`${V}-option-${e}`,onMouseMove:Me,onClick:De,onTouchStart:Pe,"data-option-index":e,"aria-disabled":o,"aria-selected":r}},id:V,inputValue:te,value:Z,dirty:Ae,expanded:de&&Y,popupOpen:de,focused:re||-1!==G,anchorEl:Y,setAnchorEl:K,focusedTag:G,groupedOptions:Fe}}var sy={};Object.defineProperty(sy,"__esModule",{value:!0});var uy=sy.default=void 0,cy=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=fy(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(h),dy=ca;function fy(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(fy=function(e){return e?n:t})(e)}uy=sy.default=function(e=null){const t=cy.useContext(dy.ThemeContext);return t&&(n=t,0!==Object.keys(n).length)?t:e;var n};var py="top",my="bottom",hy="right",vy="left",yy="auto",gy=[py,my,hy,vy],by="start",wy="end",xy="clippingParents",ky="viewport",Sy="popper",Ey="reference",Cy=gy.reduce((function(e,t){return e.concat([t+"-"+by,t+"-"+wy])}),[]),Ty=[].concat(gy,[yy]).reduce((function(e,t){return e.concat([t,t+"-"+by,t+"-"+wy])}),[]),Oy=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function _y(e){return e?(e.nodeName||"").toLowerCase():null}function Ny(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Ry(e){return e instanceof Ny(e).Element||e instanceof Element}function My(e){return e instanceof Ny(e).HTMLElement||e instanceof HTMLElement}function Py(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Ny(e).ShadowRoot||e instanceof ShadowRoot)}var Dy={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];My(o)&&_y(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(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(e){var r=t.elements[e],o=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});My(r)&&_y(r)&&(Object.assign(r.style,a),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};function Iy(e){return e.split("-")[0]}var jy=Math.max,Ly=Math.min,zy=Math.round;function $y(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function Ay(){return!/^((?!chrome|android).)*safari/i.test($y())}function Fy(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,a=1;t&&My(e)&&(o=e.offsetWidth>0&&zy(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&zy(r.height)/e.offsetHeight||1);var i=(Ry(e)?Ny(e):window).visualViewport,l=!Ay()&&n,s=(r.left+(l&&i?i.offsetLeft:0))/o,u=(r.top+(l&&i?i.offsetTop:0))/a,c=r.width/o,d=r.height/a;return{width:c,height:d,top:u,right:s+c,bottom:u+d,left:s,x:s,y:u}}function Vy(e){var t=Fy(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 Uy(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Py(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function By(e){return Ny(e).getComputedStyle(e)}function Wy(e){return["table","td","th"].indexOf(_y(e))>=0}function Hy(e){return((Ry(e)?e.ownerDocument:e.document)||window.document).documentElement}function qy(e){return"html"===_y(e)?e:e.assignedSlot||e.parentNode||(Py(e)?e.host:null)||Hy(e)}function Yy(e){return My(e)&&"fixed"!==By(e).position?e.offsetParent:null}function Ky(e){for(var t=Ny(e),n=Yy(e);n&&Wy(n)&&"static"===By(n).position;)n=Yy(n);return n&&("html"===_y(n)||"body"===_y(n)&&"static"===By(n).position)?t:n||function(e){var t=/firefox/i.test($y());if(/Trident/i.test($y())&&My(e)&&"fixed"===By(e).position)return null;var n=qy(e);for(Py(n)&&(n=n.host);My(n)&&["html","body"].indexOf(_y(n))<0;){var r=By(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}function Gy(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Qy(e,t,n){return jy(e,Ly(t,n))}function Xy(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Jy(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var Zy={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,a=n.elements.arrow,i=n.modifiersData.popperOffsets,l=Iy(n.placement),s=Gy(l),u=[vy,hy].indexOf(l)>=0?"height":"width";if(a&&i){var c=function(e,t){return Xy("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Jy(e,gy))}(o.padding,n),d=Vy(a),f="y"===s?py:vy,p="y"===s?my:hy,m=n.rects.reference[u]+n.rects.reference[s]-i[s]-n.rects.popper[u],h=i[s]-n.rects.reference[s],v=Ky(a),y=v?"y"===s?v.clientHeight||0:v.clientWidth||0:0,g=m/2-h/2,b=c[f],w=y-d[u]-c[p],x=y/2-d[u]/2+g,k=Qy(b,x,w),S=s;n.modifiersData[r]=((t={})[S]=k,t.centerOffset=k-x,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&Uy(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function eg(e){return e.split("-")[1]}var tg={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ng(e){var t,n=e.popper,r=e.popperRect,o=e.placement,a=e.variation,i=e.offsets,l=e.position,s=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,d=e.isFixed,f=i.x,p=void 0===f?0:f,m=i.y,h=void 0===m?0:m,v="function"==typeof c?c({x:p,y:h}):{x:p,y:h};p=v.x,h=v.y;var y=i.hasOwnProperty("x"),g=i.hasOwnProperty("y"),b=vy,w=py,x=window;if(u){var k=Ky(n),S="clientHeight",E="clientWidth";if(k===Ny(n)&&"static"!==By(k=Hy(n)).position&&"absolute"===l&&(S="scrollHeight",E="scrollWidth"),o===py||(o===vy||o===hy)&&a===wy)w=my,h-=(d&&k===x&&x.visualViewport?x.visualViewport.height:k[S])-r.height,h*=s?1:-1;if(o===vy||(o===py||o===my)&&a===wy)b=hy,p-=(d&&k===x&&x.visualViewport?x.visualViewport.width:k[E])-r.width,p*=s?1:-1}var C,T=Object.assign({position:l},u&&tg),O=!0===c?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:zy(n*o)/o||0,y:zy(r*o)/o||0}}({x:p,y:h},Ny(n)):{x:p,y:h};return p=O.x,h=O.y,s?Object.assign({},T,((C={})[w]=g?"0":"",C[b]=y?"0":"",C.transform=(x.devicePixelRatio||1)<=1?"translate("+p+"px, "+h+"px)":"translate3d("+p+"px, "+h+"px, 0)",C)):Object.assign({},T,((t={})[w]=g?h+"px":"",t[b]=y?p+"px":"",t.transform="",t))}var rg={passive:!0};var og={left:"right",right:"left",bottom:"top",top:"bottom"};function ag(e){return e.replace(/left|right|bottom|top/g,(function(e){return og[e]}))}var ig={start:"end",end:"start"};function lg(e){return e.replace(/start|end/g,(function(e){return ig[e]}))}function sg(e){var t=Ny(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ug(e){return Fy(Hy(e)).left+sg(e).scrollLeft}function cg(e){var t=By(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function dg(e){return["html","body","#document"].indexOf(_y(e))>=0?e.ownerDocument.body:My(e)&&cg(e)?e:dg(qy(e))}function fg(e,t){var n;void 0===t&&(t=[]);var r=dg(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),a=Ny(r),i=o?[a].concat(a.visualViewport||[],cg(r)?r:[]):r,l=t.concat(i);return o?l:l.concat(fg(qy(i)))}function pg(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function mg(e,t,n){return t===ky?pg(function(e,t){var n=Ny(e),r=Hy(e),o=n.visualViewport,a=r.clientWidth,i=r.clientHeight,l=0,s=0;if(o){a=o.width,i=o.height;var u=Ay();(u||!u&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}return{width:a,height:i,x:l+ug(e),y:s}}(e,n)):Ry(t)?function(e,t){var n=Fy(e,!1,"fixed"===t);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}(t,n):pg(function(e){var t,n=Hy(e),r=sg(e),o=null==(t=e.ownerDocument)?void 0:t.body,a=jy(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=jy(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-r.scrollLeft+ug(e),s=-r.scrollTop;return"rtl"===By(o||n).direction&&(l+=jy(n.clientWidth,o?o.clientWidth:0)-a),{width:a,height:i,x:l,y:s}}(Hy(e)))}function hg(e,t,n,r){var o="clippingParents"===t?function(e){var t=fg(qy(e)),n=["absolute","fixed"].indexOf(By(e).position)>=0&&My(e)?Ky(e):e;return Ry(n)?t.filter((function(e){return Ry(e)&&Uy(e,n)&&"body"!==_y(e)})):[]}(e):[].concat(t),a=[].concat(o,[n]),i=a[0],l=a.reduce((function(t,n){var o=mg(e,n,r);return t.top=jy(o.top,t.top),t.right=Ly(o.right,t.right),t.bottom=Ly(o.bottom,t.bottom),t.left=jy(o.left,t.left),t}),mg(e,i,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function vg(e){var t,n=e.reference,r=e.element,o=e.placement,a=o?Iy(o):null,i=o?eg(o):null,l=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(a){case py:t={x:l,y:n.y-r.height};break;case my:t={x:l,y:n.y+n.height};break;case hy:t={x:n.x+n.width,y:s};break;case vy:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var u=a?Gy(a):null;if(null!=u){var c="y"===u?"height":"width";switch(i){case by:t[u]=t[u]-(n[c]/2-r[c]/2);break;case wy:t[u]=t[u]+(n[c]/2-r[c]/2)}}return t}function yg(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,a=n.strategy,i=void 0===a?e.strategy:a,l=n.boundary,s=void 0===l?xy:l,u=n.rootBoundary,c=void 0===u?ky:u,d=n.elementContext,f=void 0===d?Sy:d,p=n.altBoundary,m=void 0!==p&&p,h=n.padding,v=void 0===h?0:h,y=Xy("number"!=typeof v?v:Jy(v,gy)),g=f===Sy?Ey:Sy,b=e.rects.popper,w=e.elements[m?g:f],x=hg(Ry(w)?w:w.contextElement||Hy(e.elements.popper),s,c,i),k=Fy(e.elements.reference),S=vg({reference:k,element:b,strategy:"absolute",placement:o}),E=pg(Object.assign({},b,S)),C=f===Sy?E:k,T={top:x.top-C.top+y.top,bottom:C.bottom-x.bottom+y.bottom,left:x.left-C.left+y.left,right:C.right-x.right+y.right},O=e.modifiersData.offset;if(f===Sy&&O){var _=O[o];Object.keys(T).forEach((function(e){var t=[hy,my].indexOf(e)>=0?1:-1,n=[py,my].indexOf(e)>=0?"y":"x";T[e]+=_[n]*t}))}return T}function gg(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,a=n.rootBoundary,i=n.padding,l=n.flipVariations,s=n.allowedAutoPlacements,u=void 0===s?Ty:s,c=eg(r),d=c?l?Cy:Cy.filter((function(e){return eg(e)===c})):gy,f=d.filter((function(e){return u.indexOf(e)>=0}));0===f.length&&(f=d);var p=f.reduce((function(t,n){return t[n]=yg(e,{placement:n,boundary:o,rootBoundary:a,padding:i})[Iy(n)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}var bg={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,a=void 0===o||o,i=n.altAxis,l=void 0===i||i,s=n.fallbackPlacements,u=n.padding,c=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,m=void 0===p||p,h=n.allowedAutoPlacements,v=t.options.placement,y=Iy(v),g=s||(y===v||!m?[ag(v)]:function(e){if(Iy(e)===yy)return[];var t=ag(e);return[lg(e),t,lg(t)]}(v)),b=[v].concat(g).reduce((function(e,n){return e.concat(Iy(n)===yy?gg(t,{placement:n,boundary:c,rootBoundary:d,padding:u,flipVariations:m,allowedAutoPlacements:h}):n)}),[]),w=t.rects.reference,x=t.rects.popper,k=new Map,S=!0,E=b[0],C=0;C<b.length;C++){var T=b[C],O=Iy(T),_=eg(T)===by,N=[py,my].indexOf(O)>=0,R=N?"width":"height",M=yg(t,{placement:T,boundary:c,rootBoundary:d,altBoundary:f,padding:u}),P=N?_?hy:vy:_?my:py;w[R]>x[R]&&(P=ag(P));var D=ag(P),I=[];if(a&&I.push(M[O]<=0),l&&I.push(M[P]<=0,M[D]<=0),I.every((function(e){return e}))){E=T,S=!1;break}k.set(T,I)}if(S)for(var j=function(e){var t=b.find((function(t){var n=k.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return E=t,"break"},L=m?3:1;L>0;L--){if("break"===j(L))break}t.placement!==E&&(t.modifiersData[r]._skip=!0,t.placement=E,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function wg(e,t,n){return void 0===n&&(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 xg(e){return[py,hy,my,vy].some((function(t){return e[t]>=0}))}var kg={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,a=void 0===o?[0,0]:o,i=Ty.reduce((function(e,n){return e[n]=function(e,t,n){var r=Iy(e),o=[vy,py].indexOf(r)>=0?-1:1,a="function"==typeof n?n(Object.assign({},t,{placement:e})):n,i=a[0],l=a[1];return i=i||0,l=(l||0)*o,[vy,hy].indexOf(r)>=0?{x:l,y:i}:{x:i,y:l}}(n,t.rects,a),e}),{}),l=i[t.placement],s=l.x,u=l.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=i}};var Sg={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,a=void 0===o||o,i=n.altAxis,l=void 0!==i&&i,s=n.boundary,u=n.rootBoundary,c=n.altBoundary,d=n.padding,f=n.tether,p=void 0===f||f,m=n.tetherOffset,h=void 0===m?0:m,v=yg(t,{boundary:s,rootBoundary:u,padding:d,altBoundary:c}),y=Iy(t.placement),g=eg(t.placement),b=!g,w=Gy(y),x="x"===w?"y":"x",k=t.modifiersData.popperOffsets,S=t.rects.reference,E=t.rects.popper,C="function"==typeof h?h(Object.assign({},t.rects,{placement:t.placement})):h,T="number"==typeof C?{mainAxis:C,altAxis:C}:Object.assign({mainAxis:0,altAxis:0},C),O=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,_={x:0,y:0};if(k){if(a){var N,R="y"===w?py:vy,M="y"===w?my:hy,P="y"===w?"height":"width",D=k[w],I=D+v[R],j=D-v[M],L=p?-E[P]/2:0,z=g===by?S[P]:E[P],$=g===by?-E[P]:-S[P],A=t.elements.arrow,F=p&&A?Vy(A):{width:0,height:0},V=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},U=V[R],B=V[M],W=Qy(0,S[P],F[P]),H=b?S[P]/2-L-W-U-T.mainAxis:z-W-U-T.mainAxis,q=b?-S[P]/2+L+W+B+T.mainAxis:$+W+B+T.mainAxis,Y=t.elements.arrow&&Ky(t.elements.arrow),K=Y?"y"===w?Y.clientTop||0:Y.clientLeft||0:0,G=null!=(N=null==O?void 0:O[w])?N:0,Q=D+q-G,X=Qy(p?Ly(I,D+H-G-K):I,D,p?jy(j,Q):j);k[w]=X,_[w]=X-D}if(l){var J,Z="x"===w?py:vy,ee="x"===w?my:hy,te=k[x],ne="y"===x?"height":"width",re=te+v[Z],oe=te-v[ee],ae=-1!==[py,vy].indexOf(y),ie=null!=(J=null==O?void 0:O[x])?J:0,le=ae?re:te-S[ne]-E[ne]-ie+T.altAxis,se=ae?te+S[ne]+E[ne]-ie-T.altAxis:oe,ue=p&&ae?function(e,t,n){var r=Qy(e,t,n);return r>n?n:r}(le,te,se):Qy(p?le:re,te,p?se:oe);k[x]=ue,_[x]=ue-te}t.modifiersData[r]=_}},requiresIfExists:["offset"]};function Eg(e,t,n){void 0===n&&(n=!1);var r=My(t),o=My(t)&&function(e){var t=e.getBoundingClientRect(),n=zy(t.width)/e.offsetWidth||1,r=zy(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),a=Hy(t),i=Fy(e,o,n),l={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(r||!r&&!n)&&(("body"!==_y(t)||cg(a))&&(l=function(e){return e!==Ny(e)&&My(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:sg(e);var t}(t)),My(t)?((s=Fy(t,!0)).x+=t.clientLeft,s.y+=t.clientTop):a&&(s.x=ug(a))),{x:i.left+l.scrollLeft-s.x,y:i.top+l.scrollTop-s.y,width:i.width,height:i.height}}function Cg(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}var Tg={placement:"bottom",modifiers:[],strategy:"absolute"};function Og(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function _g(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,a=void 0===o?Tg:o;return function(e,t,n){void 0===n&&(n=a);var o,i,l={placement:"bottom",orderedModifiers:[],options:Object.assign({},Tg,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},s=[],u=!1,c={state:l,setOptions:function(n){var o="function"==typeof n?n(l.options):n;d(),l.options=Object.assign({},a,l.options,o),l.scrollParents={reference:Ry(e)?fg(e):e.contextElement?fg(e.contextElement):[],popper:fg(t)};var i,u,f=function(e){var t=Cg(e);return Oy.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((i=[].concat(r,l.options.modifiers),u=i.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{}),Object.keys(u).map((function(e){return u[e]}))));return l.orderedModifiers=f.filter((function(e){return e.enabled})),l.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var a=o({state:l,name:t,instance:c,options:r}),i=function(){};s.push(a||i)}})),c.update()},forceUpdate:function(){if(!u){var e=l.elements,t=e.reference,n=e.popper;if(Og(t,n)){l.rects={reference:Eg(t,Ky(n),"fixed"===l.options.strategy),popper:Vy(n)},l.reset=!1,l.placement=l.options.placement,l.orderedModifiers.forEach((function(e){return l.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<l.orderedModifiers.length;r++)if(!0!==l.reset){var o=l.orderedModifiers[r],a=o.fn,i=o.options,s=void 0===i?{}:i,d=o.name;"function"==typeof a&&(l=a({state:l,options:s,name:d,instance:c})||l)}else l.reset=!1,r=-1}}},update:(o=function(){return new Promise((function(e){c.forceUpdate(),e(l)}))},function(){return i||(i=new Promise((function(e){Promise.resolve().then((function(){i=void 0,e(o())}))}))),i}),destroy:function(){d(),u=!0}};if(!Og(e,t))return c;function d(){s.forEach((function(e){return e()})),s=[]}return c.setOptions(n).then((function(e){!u&&n.onFirstUpdate&&n.onFirstUpdate(e)})),c}}var Ng=_g({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,a=void 0===o||o,i=r.resize,l=void 0===i||i,s=Ny(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&u.forEach((function(e){e.addEventListener("scroll",n.update,rg)})),l&&s.addEventListener("resize",n.update,rg),function(){a&&u.forEach((function(e){e.removeEventListener("scroll",n.update,rg)})),l&&s.removeEventListener("resize",n.update,rg)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=vg({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,a=n.adaptive,i=void 0===a||a,l=n.roundOffsets,s=void 0===l||l,u={placement:Iy(t.placement),variation:eg(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,ng(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,ng(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},Dy,kg,bg,Sg,Zy,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,a=t.modifiersData.preventOverflow,i=yg(t,{elementContext:"reference"}),l=yg(t,{altBoundary:!0}),s=wg(i,r),u=wg(l,o,a),c=xg(s),d=xg(u);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":d})}}]});function Rg(e){return dl("MuiPopper",e)}Hl("MuiPopper",["root"]);const Mg=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],Pg=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function Dg(e){return"function"==typeof e?e():e}function Ig(e){return void 0!==e.nodeType}const jg={},Lg=h.forwardRef((function(e,t){var n;const{anchorEl:r,children:o,direction:a,disablePortal:i,modifiers:l,open:s,placement:u,popperOptions:c,popperRef:d,slotProps:f={},slots:p={},TransitionProps:m}=e,v=ft(e,Mg),y=h.useRef(null),g=Zl(y,t),b=h.useRef(null),w=Zl(b,d),x=h.useRef(w);os((()=>{x.current=w}),[w]),h.useImperativeHandle(d,(()=>b.current),[]);const k=function(e,t){if("ltr"===t)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(u,a),[S,E]=h.useState(k),[C,T]=h.useState(Dg(r));h.useEffect((()=>{b.current&&b.current.forceUpdate()})),h.useEffect((()=>{r&&T(Dg(r))}),[r]),os((()=>{if(!C||!s)return;if("production"!==process.env.NODE_ENV&&C&&Ig(C)&&1===C.nodeType){const e=C.getBoundingClientRect();"test"!==process.env.NODE_ENV&&0===e.top&&0===e.left&&0===e.right&&0===e.bottom&&console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join("\n"))}let e=[{name:"preventOverflow",options:{altBoundary:i}},{name:"flip",options:{altBoundary:i}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:e})=>{E(e.placement)}}];null!=l&&(e=e.concat(l)),c&&null!=c.modifiers&&(e=e.concat(c.modifiers));const t=Ng(C,y.current,pt({placement:k},c,{modifiers:e}));return x.current(t),()=>{t.destroy(),x.current(null)}}),[C,i,l,s,c,k]);const O={placement:S};null!==m&&(O.TransitionProps=m);const _=(e=>{const{classes:t}=e;return Vt({root:["root"]},Rg,t)})(e),N=null!=(n=p.root)?n:"div",R=ju({elementType:N,externalSlotProps:f.root,externalForwardedProps:v,additionalProps:{role:"tooltip",ref:g},ownerState:e,className:_.root});return Cn.jsx(N,pt({},R,{children:"function"==typeof o?o(O):o}))})),zg=h.forwardRef((function(e,t){const{anchorEl:n,children:r,container:o,direction:a="ltr",disablePortal:i=!1,keepMounted:l=!1,modifiers:s,open:u,placement:c="bottom",popperOptions:d=jg,popperRef:f,style:p,transition:m=!1,slotProps:v={},slots:y={}}=e,g=ft(e,Pg),[b,w]=h.useState(!0);if(!l&&!u&&(!m||b))return null;let x;if(o)x=o;else if(n){const e=Dg(n);x=e&&Ig(e)?gu(e).body:gu(null).body}const k=u||!l||m&&!b?void 0:"none",S=m?{in:u,onEnter:()=>{w(!1)},onExited:()=>{w(!0)}}:void 0;return Cn.jsx(vf,{disablePortal:i,container:x,children:Cn.jsx(Lg,pt({anchorEl:n,direction:a,disablePortal:i,modifiers:s,ref:t,open:m?!b:u,placement:c,popperOptions:d,popperRef:f,slotProps:v,slots:y},g,{style:pt({position:"fixed",top:0,left:0,display:k},p),TransitionProps:S,children:r}))})}));"production"!==process.env.NODE_ENV&&(zg.propTypes={anchorEl:ns($t.oneOfType([mu,$t.object,$t.func]),(e=>{if(e.open){const t=Dg(e.anchorEl);if(t&&Ig(t)&&1===t.nodeType){const e=t.getBoundingClientRect();if("test"!==process.env.NODE_ENV&&0===e.top&&0===e.left&&0===e.right&&0===e.bottom)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join("\n"))}else if(!t||"function"!=typeof t.getBoundingClientRect||!Ig(t)&&null!=t.contextElement&&1!==t.contextElement.nodeType)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","It should be an HTML element instance or a virtualElement ","(https://popper.js.org/docs/v2/virtual-elements/)."].join("\n"))}return null})),children:$t.oneOfType([$t.node,$t.func]),container:$t.oneOfType([mu,$t.func]),direction:$t.oneOf(["ltr","rtl"]),disablePortal:$t.bool,keepMounted:$t.bool,modifiers:$t.arrayOf($t.shape({data:$t.object,effect:$t.func,enabled:$t.bool,fn:$t.func,name:$t.any,options:$t.object,phase:$t.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:$t.arrayOf($t.string),requiresIfExists:$t.arrayOf($t.string)})),open:$t.bool.isRequired,placement:$t.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),popperOptions:$t.shape({modifiers:$t.array,onFirstUpdate:$t.func,placement:$t.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),strategy:$t.oneOf(["absolute","fixed"])}),popperRef:ts,slotProps:$t.shape({root:$t.oneOfType([$t.func,$t.object])}),slots:$t.shape({root:$t.elementType}),transition:$t.bool});const $g=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],Ag=Wl(zg,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Fg=h.forwardRef((function(e,t){var n;const r=uy(),o=_n({props:e,name:"MuiPopper"}),{anchorEl:a,component:i,components:l,componentsProps:s,container:u,disablePortal:c,keepMounted:d,modifiers:f,open:p,placement:m,popperOptions:h,popperRef:v,transition:y,slots:g,slotProps:b}=o,w=ft(o,$g),x=null!=(n=null==g?void 0:g.root)?n:null==l?void 0:l.Root,k=pt({anchorEl:a,container:u,disablePortal:c,keepMounted:d,modifiers:f,open:p,placement:m,popperOptions:h,popperRef:v,transition:y},w);return Cn.jsx(Ag,pt({as:i,direction:null==r?void 0:r.direction,slots:{root:x},slotProps:null!=b?b:s},k,{ref:t}))}));function Vg(e){return dl("MuiListSubheader",e)}"production"!==process.env.NODE_ENV&&(Fg.propTypes={anchorEl:$t.oneOfType([mu,$t.object,$t.func]),children:$t.oneOfType([$t.node,$t.func]),component:$t.elementType,components:$t.shape({Root:$t.elementType}),componentsProps:$t.shape({root:$t.oneOfType([$t.func,$t.object])}),container:$t.oneOfType([mu,$t.func]),disablePortal:$t.bool,keepMounted:$t.bool,modifiers:$t.arrayOf($t.shape({data:$t.object,effect:$t.func,enabled:$t.bool,fn:$t.func,name:$t.any,options:$t.object,phase:$t.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:$t.arrayOf($t.string),requiresIfExists:$t.arrayOf($t.string)})),open:$t.bool.isRequired,placement:$t.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),popperOptions:$t.shape({modifiers:$t.array,onFirstUpdate:$t.func,placement:$t.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),strategy:$t.oneOf(["absolute","fixed"])}),popperRef:ts,slotProps:$t.shape({root:$t.oneOfType([$t.func,$t.object])}),slots:$t.shape({root:$t.elementType}),sx:$t.oneOfType([$t.arrayOf($t.oneOfType([$t.func,$t.object,$t.bool])),$t.func,$t.object]),transition:$t.bool}),Hl("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);const Ug=["className","color","component","disableGutters","disableSticky","inset"],Bg=Wl("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"default"!==n.color&&t[`color${mn(n.color)}`],!n.disableGutters&&t.gutters,n.inset&&t.inset,!n.disableSticky&&t.sticky]}})((({theme:e,ownerState:t})=>pt({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(e.vars||e).palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14)},"primary"===t.color&&{color:(e.vars||e).palette.primary.main},"inherit"===t.color&&{color:"inherit"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.inset&&{paddingLeft:72},!t.disableSticky&&{position:"sticky",top:0,zIndex:1,backgroundColor:(e.vars||e).palette.background.paper}))),Wg=h.forwardRef((function(e,t){const n=_n({props:e,name:"MuiListSubheader"}),{className:r,color:o="default",component:a="li",disableGutters:i=!1,disableSticky:l=!1,inset:s=!1}=n,u=ft(n,Ug),c=pt({},n,{color:o,component:a,disableGutters:i,disableSticky:l,inset:s}),d=(e=>{const{classes:t,color:n,disableGutters:r,inset:o,disableSticky:a}=e;return Vt({root:["root","default"!==n&&`color${mn(n)}`,!r&&"gutters",o&&"inset",!a&&"sticky"]},Vg,t)})(c);return Cn.jsx(Bg,pt({as:a,className:Ft(d.root,r),ref:t,ownerState:c},u))}));Wg.muiSkipListHighlight=!0,"production"!==process.env.NODE_ENV&&(Wg.propTypes={children:$t.node,classes:$t.object,className:$t.string,color:$t.oneOf(["default","inherit","primary"]),component:$t.elementType,disableGutters:$t.bool,disableSticky:$t.bool,inset:$t.bool,sx:$t.oneOfType([$t.arrayOf($t.oneOfType([$t.func,$t.object,$t.bool])),$t.func,$t.object])});var Hg=Ql(Cn.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");function qg(e){return dl("MuiAutocomplete",e)}const Yg=Hl("MuiAutocomplete",["root","expanded","fullWidth","focused","focusVisible","tag","tagSizeSmall","tagSizeMedium","hasPopupIcon","hasClearIcon","inputRoot","input","inputFocused","endAdornment","clearIndicator","popupIndicator","popupIndicatorOpen","popper","popperDisablePortal","paper","listbox","loading","noOptions","option","groupLabel","groupUl"]);var Kg,Gg;const Qg=["autoComplete","autoHighlight","autoSelect","blurOnSelect","ChipProps","className","clearIcon","clearOnBlur","clearOnEscape","clearText","closeText","componentsProps","defaultValue","disableClearable","disableCloseOnSelect","disabled","disabledItemsFocusable","disableListWrap","disablePortal","filterOptions","filterSelectedOptions","forcePopupIcon","freeSolo","fullWidth","getLimitTagsText","getOptionDisabled","getOptionKey","getOptionLabel","isOptionEqualToValue","groupBy","handleHomeEndKeys","id","includeInputInList","inputValue","limitTags","ListboxComponent","ListboxProps","loading","loadingText","multiple","noOptionsText","onChange","onClose","onHighlightChange","onInputChange","onOpen","open","openOnFocus","openText","options","PaperComponent","PopperComponent","popupIcon","readOnly","renderGroup","renderInput","renderOption","renderTags","selectOnFocus","size","slotProps","value"],Xg=["ref"],Jg=["key"],Zg=["key"],eb=Wl("div",{name:"MuiAutocomplete",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{fullWidth:r,hasClearIcon:o,hasPopupIcon:a,inputFocused:i,size:l}=n;return[{[`& .${Yg.tag}`]:t.tag},{[`& .${Yg.tag}`]:t[`tagSize${mn(l)}`]},{[`& .${Yg.inputRoot}`]:t.inputRoot},{[`& .${Yg.input}`]:t.input},{[`& .${Yg.input}`]:i&&t.inputFocused},t.root,r&&t.fullWidth,a&&t.hasPopupIcon,o&&t.hasClearIcon]}})({[`&.${Yg.focused} .${Yg.clearIndicator}`]:{visibility:"visible"},"@media (pointer: fine)":{[`&:hover .${Yg.clearIndicator}`]:{visibility:"visible"}},[`& .${Yg.tag}`]:{margin:3,maxWidth:"calc(100% - 6px)"},[`& .${Yg.inputRoot}`]:{[`.${Yg.hasPopupIcon}&, .${Yg.hasClearIcon}&`]:{paddingRight:30},[`.${Yg.hasPopupIcon}.${Yg.hasClearIcon}&`]:{paddingRight:56},[`& .${Yg.input}`]:{width:0,minWidth:30}},[`& .${od.root}`]:{paddingBottom:1,"& .MuiInput-input":{padding:"4px 4px 4px 0px"}},[`& .${od.root}.${Kc.sizeSmall}`]:{[`& .${od.input}`]:{padding:"2px 4px 3px 0"}},[`& .${xd.root}`]:{padding:9,[`.${Yg.hasPopupIcon}&, .${Yg.hasClearIcon}&`]:{paddingRight:39},[`.${Yg.hasPopupIcon}.${Yg.hasClearIcon}&`]:{paddingRight:65},[`& .${Yg.input}`]:{padding:"7.5px 4px 7.5px 5px"},[`& .${Yg.endAdornment}`]:{right:9}},[`& .${xd.root}.${Kc.sizeSmall}`]:{paddingTop:6,paddingBottom:6,paddingLeft:6,[`& .${Yg.input}`]:{padding:"2.5px 4px 2.5px 8px"}},[`& .${cd.root}`]:{paddingTop:19,paddingLeft:8,[`.${Yg.hasPopupIcon}&, .${Yg.hasClearIcon}&`]:{paddingRight:39},[`.${Yg.hasPopupIcon}.${Yg.hasClearIcon}&`]:{paddingRight:65},[`& .${cd.input}`]:{padding:"7px 4px"},[`& .${Yg.endAdornment}`]:{right:9}},[`& .${cd.root}.${Kc.sizeSmall}`]:{paddingBottom:1,[`& .${cd.input}`]:{padding:"2.5px 4px"}},[`& .${Kc.hiddenLabel}`]:{paddingTop:8},[`& .${cd.root}.${Kc.hiddenLabel}`]:{paddingTop:0,paddingBottom:0,[`& .${Yg.input}`]:{paddingTop:16,paddingBottom:17}},[`& .${cd.root}.${Kc.hiddenLabel}.${Kc.sizeSmall}`]:{[`& .${Yg.input}`]:{paddingTop:8,paddingBottom:9}},[`& .${Yg.input}`]:{flexGrow:1,textOverflow:"ellipsis",opacity:0},variants:[{props:{fullWidth:!0},style:{width:"100%"}},{props:{size:"small"},style:{[`& .${Yg.tag}`]:{margin:2,maxWidth:"calc(100% - 4px)"}}},{props:{inputFocused:!0},style:{[`& .${Yg.input}`]:{opacity:1}}},{props:{multiple:!0},style:{[`& .${Yg.inputRoot}`]:{flexWrap:"wrap"}}}]}),tb=Wl("div",{name:"MuiAutocomplete",slot:"EndAdornment",overridesResolver:(e,t)=>t.endAdornment})({position:"absolute",right:0,top:"50%",transform:"translate(0, -50%)"}),nb=Wl(jh,{name:"MuiAutocomplete",slot:"ClearIndicator",overridesResolver:(e,t)=>t.clearIndicator})({marginRight:-2,padding:4,visibility:"hidden"}),rb=Wl(jh,{name:"MuiAutocomplete",slot:"PopupIndicator",overridesResolver:({ownerState:e},t)=>pt({},t.popupIndicator,e.popupOpen&&t.popupIndicatorOpen)})({padding:2,marginRight:-2,variants:[{props:{popupOpen:!0},style:{transform:"rotate(180deg)"}}]}),ob=Wl(Fg,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Yg.option}`]:t.option},t.popper,n.disablePortal&&t.popperDisablePortal]}})((({theme:e})=>({zIndex:(e.vars||e).zIndex.modal,variants:[{props:{disablePortal:!0},style:{position:"absolute"}}]}))),ab=Wl(jf,{name:"MuiAutocomplete",slot:"Paper",overridesResolver:(e,t)=>t.paper})((({theme:e})=>pt({},e.typography.body1,{overflow:"auto"}))),ib=Wl("div",{name:"MuiAutocomplete",slot:"Loading",overridesResolver:(e,t)=>t.loading})((({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),lb=Wl("div",{name:"MuiAutocomplete",slot:"NoOptions",overridesResolver:(e,t)=>t.noOptions})((({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),sb=Wl("div",{name:"MuiAutocomplete",slot:"Listbox",overridesResolver:(e,t)=>t.listbox})((({theme:e})=>({listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto",position:"relative",[`& .${Yg.option}`]:{minHeight:48,display:"flex",overflow:"hidden",justifyContent:"flex-start",alignItems:"center",cursor:"pointer",paddingTop:6,boxSizing:"border-box",outline:"0",WebkitTapHighlightColor:"transparent",paddingBottom:6,paddingLeft:16,paddingRight:16,[e.breakpoints.up("sm")]:{minHeight:"auto"},[`&.${Yg.focused}`]:{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},'&[aria-disabled="true"]':{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${Yg.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},'&[aria-selected="true"]':{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Qt(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Yg.focused}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Qt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${Yg.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Qt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}}}))),ub=Wl(Wg,{name:"MuiAutocomplete",slot:"GroupLabel",overridesResolver:(e,t)=>t.groupLabel})((({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,top:-8}))),cb=Wl("ul",{name:"MuiAutocomplete",slot:"GroupUl",overridesResolver:(e,t)=>t.groupUl})({padding:0,[`& .${Yg.option}`]:{paddingLeft:24}}),db=h.forwardRef((function(e,t){var n,r,o,a;const i=_n({props:e,name:"MuiAutocomplete"}),{autoComplete:l=!1,autoHighlight:s=!1,autoSelect:u=!1,blurOnSelect:c=!1,ChipProps:d,className:f,clearIcon:p=Kg||(Kg=Cn.jsx(Hg,{fontSize:"small"})),clearOnBlur:m=!i.freeSolo,clearOnEscape:v=!1,clearText:y="Clear",closeText:g="Close",componentsProps:b={},defaultValue:w=(i.multiple?[]:null),disableClearable:x=!1,disableCloseOnSelect:k=!1,disabled:S=!1,disabledItemsFocusable:E=!1,disableListWrap:C=!1,disablePortal:T=!1,filterSelectedOptions:O=!1,forcePopupIcon:_="auto",freeSolo:N=!1,fullWidth:R=!1,getLimitTagsText:M=e=>`+${e}`,getOptionLabel:P,groupBy:D,handleHomeEndKeys:I=!i.freeSolo,includeInputInList:j=!1,limitTags:L=-1,ListboxComponent:z="ul",ListboxProps:$,loading:A=!1,loadingText:F="Loading…",multiple:V=!1,noOptionsText:U="No options",openOnFocus:B=!1,openText:W="Open",PaperComponent:H=jf,PopperComponent:q=Fg,popupIcon:Y=Gg||(Gg=Cn.jsx(wp,{})),readOnly:K=!1,renderGroup:G,renderInput:Q,renderOption:X,renderTags:J,selectOnFocus:Z=!i.freeSolo,size:ee="medium",slotProps:te={}}=i,ne=ft(i,Qg),{getRootProps:re,getInputProps:oe,getInputLabelProps:ae,getPopupIndicatorProps:ie,getClearProps:le,getTagProps:se,getListboxProps:ue,getOptionProps:ce,value:de,dirty:fe,expanded:pe,id:me,popupOpen:he,focused:ve,focusedTag:ye,anchorEl:ge,setAnchorEl:be,inputValue:we,groupedOptions:xe}=ly(pt({},i,{componentName:"Autocomplete"})),ke=!x&&!S&&fe&&!K,Se=(!N||!0===_)&&!1!==_,{onMouseDown:Ee}=oe(),{ref:Ce}=null!=$?$:{},Te=ue(),{ref:Oe}=Te,_e=ft(Te,Xg),Ne=Zl(Oe,Ce),Re=P||(e=>{var t;return null!=(t=e.label)?t:e}),Me=pt({},i,{disablePortal:T,expanded:pe,focused:ve,fullWidth:R,getOptionLabel:Re,hasClearIcon:ke,hasPopupIcon:Se,inputFocused:-1===ye,popupOpen:he,size:ee}),Pe=(e=>{const{classes:t,disablePortal:n,expanded:r,focused:o,fullWidth:a,hasClearIcon:i,hasPopupIcon:l,inputFocused:s,popupOpen:u,size:c}=e;return Vt({root:["root",r&&"expanded",o&&"focused",a&&"fullWidth",i&&"hasClearIcon",l&&"hasPopupIcon"],inputRoot:["inputRoot"],input:["input",s&&"inputFocused"],tag:["tag",`tagSize${mn(c)}`],endAdornment:["endAdornment"],clearIndicator:["clearIndicator"],popupIndicator:["popupIndicator",u&&"popupIndicatorOpen"],popper:["popper",n&&"popperDisablePortal"],paper:["paper"],listbox:["listbox"],loading:["loading"],noOptions:["noOptions"],option:["option"],groupLabel:["groupLabel"],groupUl:["groupUl"]},qg,t)})(Me);let De;if(V&&de.length>0){const e=e=>pt({className:Pe.tag,disabled:S},se(e));De=J?J(de,e,Me):de.map(((t,n)=>{const r=e({index:n}),{key:o}=r,a=ft(r,Jg);return Cn.jsx(mc,pt({label:Re(t),size:ee},a,d),o)}))}if(L>-1&&Array.isArray(De)){const e=De.length-L;!ve&&e>0&&(De=De.splice(0,L),De.push(Cn.jsx("span",{className:Pe.tag,children:M(e)},De.length)))}const Ie=G||(e=>Cn.jsxs("li",{children:[Cn.jsx(ub,{className:Pe.groupLabel,ownerState:Me,component:"div",children:e.group}),Cn.jsx(cb,{className:Pe.groupUl,ownerState:Me,children:e.children})]},e.key)),je=X||((e,t)=>{const{key:n}=e,r=ft(e,Zg);return Cn.jsx("li",pt({},r,{children:Re(t)}),n)}),Le=(e,t)=>{const n=ce({option:e,index:t});return je(pt({},n,{className:Pe.option}),e,{selected:n["aria-selected"],index:t,inputValue:we},Me)},ze=null!=(n=te.clearIndicator)?n:b.clearIndicator,$e=null!=(r=te.paper)?r:b.paper,Ae=null!=(o=te.popper)?o:b.popper,Fe=null!=(a=te.popupIndicator)?a:b.popupIndicator,Ve=e=>Cn.jsx(ob,pt({as:q,disablePortal:T,style:{width:ge?ge.clientWidth:null},ownerState:Me,role:"presentation",anchorEl:ge,open:he},Ae,{className:Ft(Pe.popper,null==Ae?void 0:Ae.className),children:Cn.jsx(ab,pt({ownerState:Me,as:H},$e,{className:Ft(Pe.paper,null==$e?void 0:$e.className),children:e}))}));let Ue=null;return xe.length>0?Ue=Ve(Cn.jsx(sb,pt({as:z,className:Pe.listbox,ownerState:Me},_e,$,{ref:Ne,children:xe.map(((e,t)=>D?Ie({key:e.key,group:e.group,children:e.options.map(((t,n)=>Le(t,e.index+n)))}):Le(e,t)))}))):A&&0===xe.length?Ue=Ve(Cn.jsx(ib,{className:Pe.loading,ownerState:Me,children:F})):0!==xe.length||N||A||(Ue=Ve(Cn.jsx(lb,{className:Pe.noOptions,ownerState:Me,role:"presentation",onMouseDown:e=>{e.preventDefault()},children:U}))),Cn.jsxs(h.Fragment,{children:[Cn.jsx(eb,pt({ref:t,className:Ft(Pe.root,f),ownerState:Me},re(ne),{children:Q({id:me,disabled:S,fullWidth:!0,size:"small"===ee?"small":void 0,InputLabelProps:ae(),InputProps:pt({ref:be,className:Pe.inputRoot,startAdornment:De,onClick:e=>{e.target===e.currentTarget&&Ee(e)}},(ke||Se)&&{endAdornment:Cn.jsxs(tb,{className:Pe.endAdornment,ownerState:Me,children:[ke?Cn.jsx(nb,pt({},le(),{"aria-label":y,title:y,ownerState:Me},ze,{className:Ft(Pe.clearIndicator,null==ze?void 0:ze.className),children:p})):null,Se?Cn.jsx(rb,pt({},ie(),{disabled:S,"aria-label":he?g:W,title:he?g:W,ownerState:Me},Fe,{className:Ft(Pe.popupIndicator,null==Fe?void 0:Fe.className),children:Y})):null]})}),inputProps:pt({className:Pe.input,disabled:S,readOnly:K},oe())})})),ge?Ue:null]})}));"production"!==process.env.NODE_ENV&&(db.propTypes={autoComplete:$t.bool,autoHighlight:$t.bool,autoSelect:$t.bool,blurOnSelect:$t.oneOfType([$t.oneOf(["mouse","touch"]),$t.bool]),ChipProps:$t.object,classes:$t.object,className:$t.string,clearIcon:$t.node,clearOnBlur:$t.bool,clearOnEscape:$t.bool,clearText:$t.string,closeText:$t.string,componentsProps:$t.shape({clearIndicator:$t.object,paper:$t.object,popper:$t.object,popupIndicator:$t.object}),defaultValue:ns($t.any,(e=>e.multiple&&void 0!==e.defaultValue&&!Array.isArray(e.defaultValue)?new Error(["MUI: The Autocomplete expects the `defaultValue` prop to be an array when `multiple={true}` or undefined.",`However, ${e.defaultValue} was provided.`].join("\n")):null)),disableClearable:$t.bool,disableCloseOnSelect:$t.bool,disabled:$t.bool,disabledItemsFocusable:$t.bool,disableListWrap:$t.bool,disablePortal:$t.bool,filterOptions:$t.func,filterSelectedOptions:$t.bool,forcePopupIcon:$t.oneOfType([$t.oneOf(["auto"]),$t.bool]),freeSolo:$t.bool,fullWidth:$t.bool,getLimitTagsText:$t.func,getOptionDisabled:$t.func,getOptionKey:$t.func,getOptionLabel:$t.func,groupBy:$t.func,handleHomeEndKeys:$t.bool,id:$t.string,includeInputInList:$t.bool,inputValue:$t.string,isOptionEqualToValue:$t.func,limitTags:Ru,ListboxComponent:$t.elementType,ListboxProps:$t.object,loading:$t.bool,loadingText:$t.node,multiple:$t.bool,noOptionsText:$t.node,onChange:$t.func,onClose:$t.func,onHighlightChange:$t.func,onInputChange:$t.func,onKeyDown:$t.func,onOpen:$t.func,open:$t.bool,openOnFocus:$t.bool,openText:$t.string,options:$t.array.isRequired,PaperComponent:$t.elementType,PopperComponent:$t.elementType,popupIcon:$t.node,readOnly:$t.bool,renderGroup:$t.func,renderInput:$t.func.isRequired,renderOption:$t.func,renderTags:$t.func,selectOnFocus:$t.bool,size:$t.oneOfType([$t.oneOf(["small","medium"]),$t.string]),slotProps:$t.shape({clearIndicator:$t.object,paper:$t.object,popper:$t.object,popupIndicator:$t.object}),sx:$t.oneOfType([$t.arrayOf($t.oneOfType([$t.func,$t.object,$t.bool])),$t.func,$t.object]),value:ns($t.any,(e=>e.multiple&&void 0!==e.value&&!Array.isArray(e.value)?new Error(["MUI: The Autocomplete expects the `value` prop to be an array when `multiple={true}` or undefined.",`However, ${e.value} was provided.`].join("\n")):null))});var fb={},pb=Wt;Object.defineProperty(fb,"__esModule",{value:!0});var mb=fb.default=void 0,hb=pb(Nc()),vb=En();mb=fb.default=(0,hb.default)((0,vb.jsx)("path",{d:"M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7m0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5"}),"LocationOn");const yb=h.createContext();function gb(e){return dl("MuiGrid",e)}"production"!==process.env.NODE_ENV&&(yb.displayName="GridContext");const bb=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],wb=Hl("MuiGrid",["root","container","item","zeroMinWidth",...[0,1,2,3,4,5,6,7,8,9,10].map((e=>`spacing-xs-${e}`)),...["column-reverse","column","row-reverse","row"].map((e=>`direction-xs-${e}`)),...["nowrap","wrap-reverse","wrap"].map((e=>`wrap-xs-${e}`)),...bb.map((e=>`grid-xs-${e}`)),...bb.map((e=>`grid-sm-${e}`)),...bb.map((e=>`grid-md-${e}`)),...bb.map((e=>`grid-lg-${e}`)),...bb.map((e=>`grid-xl-${e}`))]),xb=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function kb(e){const t=parseFloat(e);return`${t}${String(e).replace(String(t),"")||"px"}`}function Sb({breakpoints:e,values:t}){let n="";Object.keys(t).forEach((e=>{""===n&&0!==t[e]&&(n=e)}));const r=Object.keys(e).sort(((t,n)=>e[t]-e[n]));return r.slice(0,r.indexOf(n))}const Eb=Wl("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{container:r,direction:o,item:a,spacing:i,wrap:l,zeroMinWidth:s,breakpoints:u}=n;let c=[];r&&(c=function(e,t,n={}){if(!e||e<=0)return[];if("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e)return[n[`spacing-xs-${String(e)}`]];const r=[];return t.forEach((t=>{const o=e[t];Number(o)>0&&r.push(n[`spacing-${t}-${String(o)}`])})),r}(i,u,t));const d=[];return u.forEach((e=>{const r=n[e];r&&d.push(t[`grid-${e}-${String(r)}`])})),[t.root,r&&t.container,a&&t.item,s&&t.zeroMinWidth,...c,"row"!==o&&t[`direction-xs-${String(o)}`],"wrap"!==l&&t[`wrap-xs-${String(l)}`],...d]}})((({ownerState:e})=>pt({boxSizing:"border-box"},e.container&&{display:"flex",flexWrap:"wrap",width:"100%"},e.item&&{margin:0},e.zeroMinWidth&&{minWidth:0},"wrap"!==e.wrap&&{flexWrap:e.wrap})),(function({theme:e,ownerState:t}){return La({theme:e},Aa({values:t.direction,breakpoints:e.breakpoints.values}),(e=>{const t={flexDirection:e};return 0===e.indexOf("column")&&(t[`& > .${wb.item}`]={maxWidth:"none"}),t}))}),(function({theme:e,ownerState:t}){const{container:n,rowSpacing:r}=t;let o={};if(n&&0!==r){const t=Aa({values:r,breakpoints:e.breakpoints.values});let n;"object"==typeof t&&(n=Sb({breakpoints:e.breakpoints.values,values:t})),o=La({theme:e},t,((t,r)=>{var o;const a=e.spacing(t);return"0px"!==a?{marginTop:`-${kb(a)}`,[`& > .${wb.item}`]:{paddingTop:kb(a)}}:null!=(o=n)&&o.includes(r)?{}:{marginTop:0,[`& > .${wb.item}`]:{paddingTop:0}}}))}return o}),(function({theme:e,ownerState:t}){const{container:n,columnSpacing:r}=t;let o={};if(n&&0!==r){const t=Aa({values:r,breakpoints:e.breakpoints.values});let n;"object"==typeof t&&(n=Sb({breakpoints:e.breakpoints.values,values:t})),o=La({theme:e},t,((t,r)=>{var o;const a=e.spacing(t);return"0px"!==a?{width:`calc(100% + ${kb(a)})`,marginLeft:`-${kb(a)}`,[`& > .${wb.item}`]:{paddingLeft:kb(a)}}:null!=(o=n)&&o.includes(r)?{}:{width:"100%",marginLeft:0,[`& > .${wb.item}`]:{paddingLeft:0}}}))}return o}),(function({theme:e,ownerState:t}){let n;return e.breakpoints.keys.reduce(((r,o)=>{let a={};if(t[o]&&(n=t[o]),!n)return r;if(!0===n)a={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if("auto"===n)a={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const i=Aa({values:t.columns,breakpoints:e.breakpoints.values}),l="object"==typeof i?i[o]:i;if(null==l)return r;const s=Math.round(n/l*1e8)/1e6+"%";let u={};if(t.container&&t.item&&0!==t.columnSpacing){const n=e.spacing(t.columnSpacing);if("0px"!==n){const e=`calc(${s} + ${kb(n)})`;u={flexBasis:e,maxWidth:e}}}a=pt({flexBasis:s,flexGrow:0,maxWidth:s},u)}return 0===e.breakpoints.values[o]?Object.assign(r,a):r[e.breakpoints.up(o)]=a,r}),{})}));const Cb=e=>{const{classes:t,container:n,direction:r,item:o,spacing:a,wrap:i,zeroMinWidth:l,breakpoints:s}=e;let u=[];n&&(u=function(e,t){if(!e||e<=0)return[];if("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e)return[`spacing-xs-${String(e)}`];const n=[];return t.forEach((t=>{const r=e[t];if(Number(r)>0){const e=`spacing-${t}-${String(r)}`;n.push(e)}})),n}(a,s));const c=[];s.forEach((t=>{const n=e[t];n&&c.push(`grid-${t}-${String(n)}`)}));return Vt({root:["root",n&&"container",o&&"item",l&&"zeroMinWidth",...u,"row"!==r&&`direction-xs-${String(r)}`,"wrap"!==i&&`wrap-xs-${String(i)}`,...c]},gb,t)},Tb=h.forwardRef((function(e,t){const n=_n({props:e,name:"MuiGrid"}),{breakpoints:r}=Jd(),o=Fi(n),{className:a,columns:i,columnSpacing:l,component:s="div",container:u=!1,direction:c="row",item:d=!1,rowSpacing:f,spacing:p=0,wrap:m="wrap",zeroMinWidth:v=!1}=o,y=ft(o,xb),g=f||p,b=l||p,w=h.useContext(yb),x=u?i||12:w,k={},S=pt({},y);r.keys.forEach((e=>{null!=y[e]&&(k[e]=y[e],delete S[e])}));const E=pt({},o,{columns:x,container:u,direction:c,item:d,rowSpacing:g,columnSpacing:b,wrap:m,zeroMinWidth:v,spacing:p},k,{breakpoints:r.keys}),C=Cb(E);return Cn.jsx(yb.Provider,{value:x,children:Cn.jsx(Eb,pt({ownerState:E,className:Ft(C.root,a),as:s,ref:t},S))})}));if("production"!==process.env.NODE_ENV&&(Tb.propTypes={children:$t.node,classes:$t.object,className:$t.string,columns:$t.oneOfType([$t.arrayOf($t.number),$t.number,$t.object]),columnSpacing:$t.oneOfType([$t.arrayOf($t.oneOfType([$t.number,$t.string])),$t.number,$t.object,$t.string]),component:$t.elementType,container:$t.bool,direction:$t.oneOfType([$t.oneOf(["column-reverse","column","row-reverse","row"]),$t.arrayOf($t.oneOf(["column-reverse","column","row-reverse","row"])),$t.object]),item:$t.bool,lg:$t.oneOfType([$t.oneOf(["auto"]),$t.number,$t.bool]),md:$t.oneOfType([$t.oneOf(["auto"]),$t.number,$t.bool]),rowSpacing:$t.oneOfType([$t.arrayOf($t.oneOfType([$t.number,$t.string])),$t.number,$t.object,$t.string]),sm:$t.oneOfType([$t.oneOf(["auto"]),$t.number,$t.bool]),spacing:$t.oneOfType([$t.arrayOf($t.oneOfType([$t.number,$t.string])),$t.number,$t.object,$t.string]),sx:$t.oneOfType([$t.arrayOf($t.oneOfType([$t.func,$t.object,$t.bool])),$t.func,$t.object]),wrap:$t.oneOf(["nowrap","wrap-reverse","wrap"]),xl:$t.oneOfType([$t.oneOf(["auto"]),$t.number,$t.bool]),xs:$t.oneOfType([$t.oneOf(["auto"]),$t.number,$t.bool]),zeroMinWidth:$t.bool}),"production"!==process.env.NODE_ENV){const e=wu("Grid",Tb);Tb.propTypes=pt({},Tb.propTypes,{direction:e("container"),lg:e("item"),md:e("item"),sm:e("item"),spacing:e("container"),wrap:e("container"),xs:e("item"),zeroMinWidth:e("item")})}function Ob(e){return dl("MuiButton",e)}const _b=Hl("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),Nb=h.createContext({});"production"!==process.env.NODE_ENV&&(Nb.displayName="ButtonGroupContext");const Rb=h.createContext(void 0);"production"!==process.env.NODE_ENV&&(Rb.displayName="ButtonGroupButtonContext");const Mb=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],Pb=e=>pt({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),Db=Wl(lc,{shouldForwardProp:e=>Bl(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${mn(n.color)}`],t[`size${mn(n.size)}`],t[`${n.variant}Size${mn(n.size)}`],"inherit"===n.color&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})((({theme:e,ownerState:t})=>{var n,r;const o="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],a="light"===e.palette.mode?e.palette.grey.A100:e.palette.grey[700];return pt({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":pt({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Qt(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===t.variant&&"inherit"!==t.color&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Qt(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===t.variant&&"inherit"!==t.color&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Qt(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===t.variant&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:a,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},"contained"===t.variant&&"inherit"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":pt({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${_b.focusVisible}`]:pt({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${_b.disabled}`]:pt({color:(e.vars||e).palette.action.disabled},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"contained"===t.variant&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},"text"===t.variant&&{padding:"6px 8px"},"text"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main},"outlined"===t.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${Qt(e.palette[t.color].main,.5)}`},"contained"===t.variant&&{color:e.vars?e.vars.palette.text.primary:null==(n=(r=e.palette).getContrastText)?void 0:n.call(r,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:o,boxShadow:(e.vars||e).shadows[2]},"contained"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},"inherit"===t.color&&{color:"inherit",borderColor:"currentColor"},"small"===t.size&&"text"===t.variant&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"text"===t.variant&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"outlined"===t.variant&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"outlined"===t.variant&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"contained"===t.variant&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"contained"===t.variant&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})}),(({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${_b.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${_b.disabled}`]:{boxShadow:"none"}})),Ib=Wl("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${mn(n.size)}`]]}})((({ownerState:e})=>pt({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},Pb(e)))),jb=Wl("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${mn(n.size)}`]]}})((({ownerState:e})=>pt({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},Pb(e)))),Lb=h.forwardRef((function(e,t){const n=h.useContext(Nb),r=h.useContext(Rb),o=_n({props:vn(n,e),name:"MuiButton"}),{children:a,color:i="primary",component:l="button",className:s,disabled:u=!1,disableElevation:c=!1,disableFocusRipple:d=!1,endIcon:f,focusVisibleClassName:p,fullWidth:m=!1,size:v="medium",startIcon:y,type:g,variant:b="text"}=o,w=ft(o,Mb),x=pt({},o,{color:i,component:l,disabled:u,disableElevation:c,disableFocusRipple:d,fullWidth:m,size:v,type:g,variant:b}),k=(e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:a,classes:i}=e;return pt({},i,Vt({root:["root",a,`${a}${mn(t)}`,`size${mn(o)}`,`${a}Size${mn(o)}`,`color${mn(t)}`,n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${mn(o)}`],endIcon:["icon","endIcon",`iconSize${mn(o)}`]},Ob,i))})(x),S=y&&Cn.jsx(Ib,{className:k.startIcon,ownerState:x,children:y}),E=f&&Cn.jsx(jb,{className:k.endIcon,ownerState:x,children:f}),C=r||"";return Cn.jsxs(Db,pt({ownerState:x,className:Ft(n.className,k.root,s,C),component:l,disabled:u,focusRipple:!d,focusVisibleClassName:Ft(k.focusVisible,p),ref:t,type:g},w,{classes:k,children:[S,a,E]}))}));function zb(e){return dl("MuiCard",e)}"production"!==process.env.NODE_ENV&&(Lb.propTypes={children:$t.node,classes:$t.object,className:$t.string,color:$t.oneOfType([$t.oneOf(["inherit","primary","secondary","success","error","info","warning"]),$t.string]),component:$t.elementType,disabled:$t.bool,disableElevation:$t.bool,disableFocusRipple:$t.bool,disableRipple:$t.bool,endIcon:$t.node,focusVisibleClassName:$t.string,fullWidth:$t.bool,href:$t.string,size:$t.oneOfType([$t.oneOf(["small","medium","large"]),$t.string]),startIcon:$t.node,sx:$t.oneOfType([$t.arrayOf($t.oneOfType([$t.func,$t.object,$t.bool])),$t.func,$t.object]),type:$t.oneOfType([$t.oneOf(["button","reset","submit"]),$t.string]),variant:$t.oneOfType([$t.oneOf(["contained","outlined","text"]),$t.string])}),Hl("MuiCard",["root"]);const $b=["className","raised"],Ab=Wl(jf,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})((()=>({overflow:"hidden"}))),Fb=h.forwardRef((function(e,t){const n=_n({props:e,name:"MuiCard"}),{className:r,raised:o=!1}=n,a=ft(n,$b),i=pt({},n,{raised:o}),l=(e=>{const{classes:t}=e;return Vt({root:["root"]},zb,t)})(i);return Cn.jsx(Ab,pt({className:Ft(l.root,r),elevation:o?8:void 0,ref:t,ownerState:i},a))}));function Vb(e){return dl("MuiCardContent",e)}"production"!==process.env.NODE_ENV&&(Fb.propTypes={children:$t.node,classes:$t.object,className:$t.string,raised:ns($t.bool,(e=>e.raised&&"outlined"===e.variant?new Error('MUI: Combining `raised={true}` with `variant="outlined"` has no effect.'):null)),sx:$t.oneOfType([$t.arrayOf($t.oneOfType([$t.func,$t.object,$t.bool])),$t.func,$t.object])}),Hl("MuiCardContent",["root"]);const Ub=["className","component"],Bb=Wl("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})((()=>({padding:16,"&:last-child":{paddingBottom:24}}))),Wb=h.forwardRef((function(e,t){const n=_n({props:e,name:"MuiCardContent"}),{className:r,component:o="div"}=n,a=ft(n,Ub),i=pt({},n,{component:o}),l=(e=>{const{classes:t}=e;return Vt({root:["root"]},Vb,t)})(i);return Cn.jsx(Bb,pt({as:o,className:Ft(l.root,r),ownerState:i,ref:t},a))}));function Hb(e){return dl("MuiCardHeader",e)}"production"!==process.env.NODE_ENV&&(Wb.propTypes={children:$t.node,classes:$t.object,className:$t.string,component:$t.elementType,sx:$t.oneOfType([$t.arrayOf($t.oneOfType([$t.func,$t.object,$t.bool])),$t.func,$t.object])});const qb=Hl("MuiCardHeader",["root","avatar","action","content","title","subheader"]),Yb=["action","avatar","className","component","disableTypography","subheader","subheaderTypographyProps","title","titleTypographyProps"],Kb=Wl("div",{name:"MuiCardHeader",slot:"Root",overridesResolver:(e,t)=>pt({[`& .${qb.title}`]:t.title,[`& .${qb.subheader}`]:t.subheader},t.root)})({display:"flex",alignItems:"center",padding:16}),Gb=Wl("div",{name:"MuiCardHeader",slot:"Avatar",overridesResolver:(e,t)=>t.avatar})({display:"flex",flex:"0 0 auto",marginRight:16}),Qb=Wl("div",{name:"MuiCardHeader",slot:"Action",overridesResolver:(e,t)=>t.action})({flex:"0 0 auto",alignSelf:"flex-start",marginTop:-4,marginRight:-8,marginBottom:-4}),Xb=Wl("div",{name:"MuiCardHeader",slot:"Content",overridesResolver:(e,t)=>t.content})({flex:"1 1 auto"}),Jb=h.forwardRef((function(e,t){const n=_n({props:e,name:"MuiCardHeader"}),{action:r,avatar:o,className:a,component:i="div",disableTypography:l=!1,subheader:s,subheaderTypographyProps:u,title:c,titleTypographyProps:d}=n,f=ft(n,Yb),p=pt({},n,{component:i,disableTypography:l}),m=(e=>{const{classes:t}=e;return Vt({root:["root"],avatar:["avatar"],action:["action"],content:["content"],title:["title"],subheader:["subheader"]},Hb,t)})(p);let h=c;null==h||h.type===Up||l||(h=Cn.jsx(Up,pt({variant:o?"body2":"h5",className:m.title,component:"span",display:"block"},d,{children:h})));let v=s;return null==v||v.type===Up||l||(v=Cn.jsx(Up,pt({variant:o?"body2":"body1",className:m.subheader,color:"text.secondary",component:"span",display:"block"},u,{children:v}))),Cn.jsxs(Kb,pt({className:Ft(m.root,a),as:i,ref:t,ownerState:p},f,{children:[o&&Cn.jsx(Gb,{className:m.avatar,ownerState:p,children:o}),Cn.jsxs(Xb,{className:m.content,ownerState:p,children:[h,v]}),r&&Cn.jsx(Qb,{className:m.action,ownerState:p,children:r})]}))}));function Zb(e){return dl("MuiCardMedia",e)}"production"!==process.env.NODE_ENV&&(Jb.propTypes={action:$t.node,avatar:$t.node,children:$t.node,classes:$t.object,className:$t.string,component:$t.elementType,disableTypography:$t.bool,subheader:$t.node,subheaderTypographyProps:$t.object,sx:$t.oneOfType([$t.arrayOf($t.oneOfType([$t.func,$t.object,$t.bool])),$t.func,$t.object]),title:$t.node,titleTypographyProps:$t.object}),Hl("MuiCardMedia",["root","media","img"]);const ew=["children","className","component","image","src","style"],tw=Wl("div",{name:"MuiCardMedia",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{isMediaComponent:r,isImageComponent:o}=n;return[t.root,r&&t.media,o&&t.img]}})((({ownerState:e})=>pt({display:"block",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center"},e.isMediaComponent&&{width:"100%"},e.isImageComponent&&{objectFit:"cover"}))),nw=["video","audio","picture","iframe","img"],rw=["picture","img"],ow=h.forwardRef((function(e,t){const n=_n({props:e,name:"MuiCardMedia"}),{children:r,className:o,component:a="div",image:i,src:l,style:s}=n,u=ft(n,ew),c=-1!==nw.indexOf(a),d=!c&&i?pt({backgroundImage:`url("${i}")`},s):s,f=pt({},n,{component:a,isMediaComponent:c,isImageComponent:-1!==rw.indexOf(a)}),p=(e=>{const{classes:t,isMediaComponent:n,isImageComponent:r}=e;return Vt({root:["root",n&&"media",r&&"img"]},Zb,t)})(f);return Cn.jsx(tw,pt({className:Ft(p.root,o),as:a,role:!c&&i?"img":void 0,ref:t,style:d,ownerState:f,src:c?i||l:void 0},u,{children:r}))}));function aw(e){return dl("PrivateSwitchBase",e)}"production"!==process.env.NODE_ENV&&(ow.propTypes={children:ns($t.node,(e=>e.children||e.image||e.src||e.component?null:new Error("MUI: Either `children`, `image`, `src` or `component` prop must be specified."))),classes:$t.object,className:$t.string,component:$t.elementType,image:$t.string,src:$t.string,style:$t.object,sx:$t.oneOfType([$t.arrayOf($t.oneOfType([$t.func,$t.object,$t.bool])),$t.func,$t.object])}),Hl("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const iw=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],lw=Wl(lc)((({ownerState:e})=>pt({padding:9,borderRadius:"50%"},"start"===e.edge&&{marginLeft:"small"===e.size?-3:-12},"end"===e.edge&&{marginRight:"small"===e.size?-3:-12}))),sw=Wl("input",{shouldForwardProp:Bl})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),uw=h.forwardRef((function(e,t){const{autoFocus:n,checked:r,checkedIcon:o,className:a,defaultChecked:i,disabled:l,disableFocusRipple:s=!1,edge:u=!1,icon:c,id:d,inputProps:f,inputRef:p,name:m,onBlur:h,onChange:v,onFocus:y,readOnly:g,required:b=!1,tabIndex:w,type:x,value:k}=e,S=ft(e,iw),[E,C]=Eu({controlled:r,default:Boolean(i),name:"SwitchBase",state:"checked"}),T=yc();let O=l;T&&void 0===O&&(O=T.disabled);const _="checkbox"===x||"radio"===x,N=pt({},e,{checked:E,disabled:O,disableFocusRipple:s,edge:u}),R=(e=>{const{classes:t,checked:n,disabled:r,edge:o}=e;return Vt({root:["root",n&&"checked",r&&"disabled",o&&`edge${mn(o)}`],input:["input"]},aw,t)})(N);return Cn.jsxs(lw,pt({component:"span",className:Ft(R.root,a),centerRipple:!0,focusRipple:!s,disabled:O,tabIndex:null,role:void 0,onFocus:e=>{y&&y(e),T&&T.onFocus&&T.onFocus(e)},onBlur:e=>{h&&h(e),T&&T.onBlur&&T.onBlur(e)},ownerState:N,ref:t},S,{children:[Cn.jsx(sw,pt({autoFocus:n,checked:r,defaultChecked:i,className:R.input,disabled:O,id:_?d:void 0,name:m,onChange:e=>{if(e.nativeEvent.defaultPrevented)return;const t=e.target.checked;C(t),v&&v(e,t)},readOnly:g,ref:p,required:b,ownerState:N,tabIndex:w,type:x},"checkbox"===x&&void 0===k?{}:{value:k},f)),E?o:c]}))}));"production"!==process.env.NODE_ENV&&(uw.propTypes={autoFocus:$t.bool,checked:$t.bool,checkedIcon:$t.node.isRequired,classes:$t.object,className:$t.string,defaultChecked:$t.bool,disabled:$t.bool,disableFocusRipple:$t.bool,edge:$t.oneOf(["end","start",!1]),icon:$t.node.isRequired,id:$t.string,inputProps:$t.object,inputRef:ts,name:$t.string,onBlur:$t.func,onChange:$t.func,onFocus:$t.func,readOnly:$t.bool,required:$t.bool,sx:$t.object,tabIndex:$t.oneOfType([$t.number,$t.string]),type:$t.string.isRequired,value:$t.any});var cw=Ql(Cn.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),dw=Ql(Cn.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),fw=Ql(Cn.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function pw(e){return dl("MuiCheckbox",e)}const mw=Hl("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),hw=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],vw=Wl(uw,{shouldForwardProp:e=>Bl(e)||"classes"===e,name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.indeterminate&&t.indeterminate,t[`size${mn(n.size)}`],"default"!==n.color&&t[`color${mn(n.color)}`]]}})((({theme:e,ownerState:t})=>pt({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${"default"===t.color?e.vars.palette.action.activeChannel:e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Qt("default"===t.color?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==t.color&&{[`&.${mw.checked}, &.${mw.indeterminate}`]:{color:(e.vars||e).palette[t.color].main},[`&.${mw.disabled}`]:{color:(e.vars||e).palette.action.disabled}}))),yw=Cn.jsx(dw,{}),gw=Cn.jsx(cw,{}),bw=Cn.jsx(fw,{}),ww=h.forwardRef((function(e,t){var n,r;const o=_n({props:e,name:"MuiCheckbox"}),{checkedIcon:a=yw,color:i="primary",icon:l=gw,indeterminate:s=!1,indeterminateIcon:u=bw,inputProps:c,size:d="medium",className:f}=o,p=ft(o,hw),m=s?u:l,v=s?u:a,y=pt({},o,{color:i,indeterminate:s,size:d}),g=(e=>{const{classes:t,indeterminate:n,color:r,size:o}=e;return pt({},t,Vt({root:["root",n&&"indeterminate",`color${mn(r)}`,`size${mn(o)}`]},pw,t))})(y);return Cn.jsx(vw,pt({type:"checkbox",inputProps:pt({"data-indeterminate":s},c),icon:h.cloneElement(m,{fontSize:null!=(n=m.props.fontSize)?n:d}),checkedIcon:h.cloneElement(v,{fontSize:null!=(r=v.props.fontSize)?r:d}),ownerState:y,ref:t,className:Ft(g.root,f)},p,{classes:g}))}));"production"!==process.env.NODE_ENV&&(ww.propTypes={checked:$t.bool,checkedIcon:$t.node,classes:$t.object,className:$t.string,color:$t.oneOfType([$t.oneOf(["default","primary","secondary","error","info","success","warning"]),$t.string]),defaultChecked:$t.bool,disabled:$t.bool,disableRipple:$t.bool,icon:$t.node,id:$t.string,indeterminate:$t.bool,indeterminateIcon:$t.node,inputProps:$t.object,inputRef:ts,onChange:$t.func,required:$t.bool,size:$t.oneOfType([$t.oneOf(["medium","small"]),$t.string]),sx:$t.oneOfType([$t.arrayOf($t.oneOfType([$t.func,$t.object,$t.bool])),$t.func,$t.object]),value:$t.any});const xw=function(e={}){const{createStyledComponent:t=Au,useThemeProps:n=Fu,componentName:r="MuiStack"}=e,o=t(Uu),a=h.forwardRef((function(e,t){const a=Fi(n(e)),{component:i="div",direction:l="column",spacing:s=0,divider:u,children:c,className:d,useFlexGap:f=!1}=a,p=ft(a,zu),m={direction:l,spacing:s,useFlexGap:f},h=Vt({root:["root"]},(e=>dl(r,e)),{});return Cn.jsx(o,pt({as:i,ownerState:m,ref:t,className:Ft(h.root,d)},p,{children:u?Vu(c,u):c}))}));return"production"!==process.env.NODE_ENV&&(a.propTypes={children:$t.node,direction:$t.oneOfType([$t.oneOf(["column-reverse","column","row-reverse","row"]),$t.arrayOf($t.oneOf(["column-reverse","column","row-reverse","row"])),$t.object]),divider:$t.node,spacing:$t.oneOfType([$t.arrayOf($t.oneOfType([$t.number,$t.string])),$t.number,$t.object,$t.string]),sx:$t.oneOfType([$t.arrayOf($t.oneOfType([$t.func,$t.object,$t.bool])),$t.func,$t.object])}),a}({createStyledComponent:Wl("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>_n({props:e,name:"MuiStack"})});function kw(e){return dl("MuiFormControlLabel",e)}"production"!==process.env.NODE_ENV&&(xw.propTypes={children:$t.node,component:$t.elementType,direction:$t.oneOfType([$t.oneOf(["column-reverse","column","row-reverse","row"]),$t.arrayOf($t.oneOf(["column-reverse","column","row-reverse","row"])),$t.object]),divider:$t.node,spacing:$t.oneOfType([$t.arrayOf($t.oneOfType([$t.number,$t.string])),$t.number,$t.object,$t.string]),sx:$t.oneOfType([$t.arrayOf($t.oneOfType([$t.func,$t.object,$t.bool])),$t.func,$t.object]),useFlexGap:$t.bool});const Sw=Hl("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]),Ew=["checked","className","componentsProps","control","disabled","disableTypography","inputRef","label","labelPlacement","name","onChange","required","slotProps","value"],Cw=Wl("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Sw.label}`]:t.label},t.root,t[`labelPlacement${mn(n.labelPlacement)}`]]}})((({theme:e,ownerState:t})=>pt({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${Sw.disabled}`]:{cursor:"default"}},"start"===t.labelPlacement&&{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},"top"===t.labelPlacement&&{flexDirection:"column-reverse",marginLeft:16},"bottom"===t.labelPlacement&&{flexDirection:"column",marginLeft:16},{[`& .${Sw.label}`]:{[`&.${Sw.disabled}`]:{color:(e.vars||e).palette.text.disabled}}}))),Tw=Wl("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})((({theme:e})=>({[`&.${Sw.error}`]:{color:(e.vars||e).palette.error.main}}))),Ow=h.forwardRef((function(e,t){var n,r;const o=_n({props:e,name:"MuiFormControlLabel"}),{className:a,componentsProps:i={},control:l,disabled:s,disableTypography:u,label:c,labelPlacement:d="end",required:f,slotProps:p={}}=o,m=ft(o,Ew),v=yc(),y=null!=(n=null!=s?s:l.props.disabled)?n:null==v?void 0:v.disabled,g=null!=f?f:l.props.required,b={disabled:y,required:g};["checked","name","onChange","value","inputRef"].forEach((e=>{void 0===l.props[e]&&void 0!==o[e]&&(b[e]=o[e])}));const w=hc({props:o,muiFormControl:v,states:["error"]}),x=pt({},o,{disabled:y,labelPlacement:d,required:g,error:w.error}),k=(e=>{const{classes:t,disabled:n,labelPlacement:r,error:o,required:a}=e;return Vt({root:["root",n&&"disabled",`labelPlacement${mn(r)}`,o&&"error",a&&"required"],label:["label",n&&"disabled"],asterisk:["asterisk",o&&"error"]},kw,t)})(x),S=null!=(r=p.typography)?r:i.typography;let E=c;return null==E||E.type===Up||u||(E=Cn.jsx(Up,pt({component:"span"},S,{className:Ft(k.label,null==S?void 0:S.className),children:E}))),Cn.jsxs(Cw,pt({className:Ft(k.root,a),ownerState:x,ref:t},m,{children:[h.cloneElement(l,b),g?Cn.jsxs(xw,{display:"block",children:[E,Cn.jsxs(Tw,{ownerState:x,"aria-hidden":!0,className:k.asterisk,children:[" ","*"]})]}):E]}))}));"production"!==process.env.NODE_ENV&&(Ow.propTypes={checked:$t.bool,classes:$t.object,className:$t.string,componentsProps:$t.shape({typography:$t.object}),control:$t.element.isRequired,disabled:$t.bool,disableTypography:$t.bool,inputRef:ts,label:$t.node,labelPlacement:$t.oneOf(["bottom","end","start","top"]),name:$t.string,onChange:$t.func,required:$t.bool,slotProps:$t.shape({typography:$t.object}),sx:$t.oneOfType([$t.arrayOf($t.oneOfType([$t.func,$t.object,$t.bool])),$t.func,$t.object]),value:$t.any});var _w={exports:{}};!function(e){var t,n;e.exports=(t={705:e=>{e.exports=function(e,t){const n=[];return 0===t.length?n.push({text:e,highlight:!1}):t[0][0]>0&&n.push({text:e.slice(0,t[0][0]),highlight:!1}),t.forEach(((r,o)=>{const a=r[0],i=r[1];n.push({text:e.slice(a,i),highlight:!0}),o===t.length-1?i<e.length&&n.push({text:e.slice(i,e.length),highlight:!1}):i<t[o+1][0]&&n.push({text:e.slice(i,t[o+1][0]),highlight:!1})})),n}}},n={},function e(r){var o=n[r];if(void 0!==o)return o.exports;var a=n[r]={exports:{}};return t[r](a,a.exports,e),a.exports}(705))}(_w);var Nw=l(_w.exports);function Rw(e,t){var n=new URL(e),r=new URLSearchParams(function(e){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=String(e[n]));return t}(t));return n.search=r.toString(),n.toString()}var Mw,Pw=function(){function e(e){this.baseUrl=e.baseUrl||"https://places.xapp.media",this.key=e.apiKey}return e.prototype.getPlacePredictions=function(e,t){var r=e.params?n(n({},e.params),{input:e.input}):{input:e.input};if(e.componentRestrictions){var o=Object.entries(e.componentRestrictions).map((function(e){var t=e[0],n=e[1];return"".concat(t,":").concat(n)})).join(",");r.components=o}e.params||r.components||(r.components="country:us"),this.key&&(r.key=this.key);var a=Rw("".concat(this.baseUrl,"/maps/api/place/autocomplete/json"),r);fetch(a).then((function(e){if(!e.ok)throw new Error("getPlacePredictions: HTTP error! Status: ".concat(e.status));return e.json()})).then((function(e){"INVALID_REQUEST"===e.status&&I("getPlacePredictions: INVALID_REQUEST. Url: ".concat(a)),t(e.predictions)})).catch((function(e){return I("getPlacePredictions: Fetch error:",e)}))},e}(),Dw="FormFieldTextInputAddress-module_xapp_text_input_address__-FQjM",Iw=function(e){var t=e.field,r=e.onFieldChange,o=e.errorMessage,i=e.required,l=e.googleMapsApiKey,s=e.mapsBaseUrl,u=h.useState(null),c=u[0],d=u[1],f=h.useState(""),p=f[0],m=f[1],y=h.useState([]),g=y[0],b=y[1],w=function(e){b(e)};h.useEffect((function(){r(t.name,p)}),[t.name,r,p]);var x=t.googleMapsApiKey||l,k=t.mapsBaseUrl||s,S=h.useMemo((function(){return vu((function(e,t){Mw.getPlacePredictions(e,t)}),400)}),[]);return h.useEffect((function(){var e=!0;if(Mw||(Mw=new Pw({apiKey:x,baseUrl:k})),""!==p){var n=t.mapsUrlQueryParams||void 0;return S({input:p,params:n},(function(t){if(e){var n=[];c&&(n=[c]),t&&(n=a(a([],n,!0),t,!0)),w(n)}})),function(){e=!1}}w(c?[c]:[])}),[c,p,S,x,k,t.mapsUrlQueryParams]),v.createElement(db,{id:"google-map-input",getOptionLabel:function(e){return"string"==typeof e?e:e.description},filterOptions:function(e){return e},options:g,autoComplete:!0,includeInputInList:!0,filterSelectedOptions:!0,value:c,noOptionsText:"No locations",onChange:function(e,t){w(t?a([t],g,!0):g),d(t)},onInputChange:function(e,t){m(t)},renderInput:function(e){return v.createElement(Pp,n({className:Dw},e,{variant:"filled",size:"small",margin:"normal",label:t.label,error:!!o,helperText:o,name:t.name,placeholder:t.placeholder,required:i,fullWidth:!0,style:t.style}))},renderOption:function(e,t){var r=t.structured_formatting.main_text_matched_substrings||[],o=Nw(t.structured_formatting.main_text,r.map((function(e){return[e.offset,e.offset+e.length]})));return v.createElement("li",n({},e),v.createElement(Tb,{container:!0,alignItems:"center"},v.createElement(Tb,{item:!0,sx:{display:"flex",width:44}},v.createElement(mb,{sx:{color:"text.secondary"}})),v.createElement(Tb,{item:!0,sx:{width:"calc(100% - 44px)",wordWrap:"break-word"}},o.map((function(e,t){return v.createElement(ny,{key:t,component:"span",sx:{fontWeight:e.highlight?"bold":"regular"}},e.text)})),v.createElement(Up,{variant:"body2",color:"text.secondary"},t.structured_formatting.secondary_text))))}})},jw="FormStepDisplay-module_xapp_formfield__hRmVx",Lw="FormStepDisplay-module_active__fCsMz",zw="FormStepDisplay-module_xapp_formfield_title__INjeF",$w="FormStepDisplay-module_xapp_form_nav_buttons__lI4BI",Aw="FormStepDisplay-module_xapp_dummy_button__Q-nE6",Fw="FormStepDisplay-module_xapp_primary_button__d2wra",Vw="FormStepDisplay-module_xapp_secondary_button__LuMfN",Uw="FormStepDisplay-module_xapp_disabled_button__RjSfL",Bw=function(e,t){void 0===t&&(t="this");return e.replace(/\b(?<!')(?!(?:if|else|length|for|while|includes|function|var|let|const|return|switch|case|do|true|false|null|undefined|typeof|new|this|void|delete|in|instanceof|export|import)\b)([a-zA-Z_$][a-zA-Z0-9_$]*)\b/g,"".concat(t,".$1"))},Ww=function(e){return"string"!=typeof e||0===e.trim().length},Hw=function(e){var t=e.replace(/\D/g,"");if(10===t.length||11===t.length&&t.startsWith("1")){return/^(1)?[-. ]?\(?(\d{3})\)?[-. ]?(\d{3})[-. ]?(\d{4})$/.test(t)}return!1},qw=function(e){return 0===Object.keys(e).length},Yw={xapp_checkbox_select:"FormFieldSelect-module_xapp_checkbox_select__QccWu",xapp_select_container:"FormFieldSelect-module_xapp_select_container__HWy4J",xapp_select_title_container__empty:"FormFieldSelect-module_xapp_select_title_container__empty__zC4gk"},Kw=function(e){var t=e.field,n=e.onFieldChange,r=e.errorMessage,o=h.useState([]),i=o[0],l=o[1],s=function(e){var t=e.target,n=t.name,r=t.checked;l((function(e){return r?a(a([],e,!0),[n],!1):e.filter((function(e){return e!==n}))}))};return h.useEffect((function(){n(t.name,i)}),[i,t.name,n]),v.createElement("div",null,v.createElement("div",{className:"".concat(Yw.xapp_select_title_container).concat(t.title?"":"__empty")},v.createElement("p",null,t.title)),v.createElement("div",{className:Yw.xapp_select_container},t.items.map((function(e){return v.createElement(Ow,{key:e.id,control:v.createElement(ww,{checked:i.includes(e.id),onChange:s,name:e.id,color:"primary",className:"".concat(Yw.xapp_checkbox_select)}),label:e.label})}))),r&&v.createElement(Sc,{error:!0,style:{marginLeft:"14px"}},r))},Gw="FormFieldCard-module_xapp_form_card__AcVAf",Qw={backgroundColor:"transparent",boxShadow:"none",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},Xw={padding:"4px"},Jw={whiteSpace:"pre-line"},Zw=function(e){var t=e.field;return v.createElement("div",{className:Gw},v.createElement(Fb,{style:Qw},t.header&&v.createElement(Jb,{title:t.header.title,subheader:t.header.subheader}),t.media&&v.createElement(ow,{component:"img",alt:t.media.alt,height:t.media.height,width:t.media.width,image:t.media.imageUrl}),t.text&&v.createElement(Wb,{style:Xw},v.createElement(Up,{variant:t.variant||"body2",color:t.color||"textSecondary",align:t.align||"center",style:n(n({},Jw),t.style)},t.text))))},ex={exports:{}},tx=/<%=([\s\S]+?)%>/g,nx=tx,rx=1/0,ox="[object Null]",ax="[object Symbol]",ix="[object Undefined]",lx=/[&<>"']/g,sx=RegExp(lx.source),ux="object"==typeof i&&i&&i.Object===Object&&i,cx="object"==typeof self&&self&&self.Object===Object&&self,dx=ux||cx||Function("return this")();var fx,px=(fx={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},function(e){return null==fx?void 0:fx[e]}),mx=Object.prototype,hx=mx.hasOwnProperty,vx=mx.toString,yx=dx.Symbol,gx=yx?yx.toStringTag:void 0,bx=yx?yx.prototype:void 0,wx=bx?bx.toString:void 0,xx={escape:/<%-([\s\S]+?)%>/g,evaluate:/<%([\s\S]+?)%>/g,interpolate:nx,variable:"",imports:{_:{escape:function(e){return(e=Cx(e))&&sx.test(e)?e.replace(lx,px):e}}}};function kx(e){return null==e?void 0===e?ix:ox:gx&&gx in Object(e)?function(e){var t=hx.call(e,gx),n=e[gx];try{e[gx]=void 0;var r=!0}catch(e){}var o=vx.call(e);r&&(t?e[gx]=n:delete e[gx]);return o}(e):function(e){return vx.call(e)}(e)}function Sx(e){if("string"==typeof e)return e;if(Ex(e))return function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}(e,Sx)+"";if(function(e){return"symbol"==typeof e||function(e){return null!=e&&"object"==typeof e}(e)&&kx(e)==ax}(e))return wx?wx.call(e):"";var t=e+"";return"0"==t&&1/e==-rx?"-0":t}var Ex=Array.isArray;function Cx(e){return null==e?"":Sx(e)}var Tx=xx;!function(e,t){var n=tx,r=Tx,o=1/0,a=9007199254740991,l="[object Arguments]",s="[object AsyncFunction]",u="[object DOMException]",c="[object Error]",d="[object Function]",f="[object GeneratorFunction]",p="[object Null]",m="[object Object]",h="[object Proxy]",v="[object Symbol]",y="[object Undefined]",g=/\b__p \+= '';/g,b=/\b(__p \+=) '' \+/g,w=/(__e\(.*?\)|\b__t\)) \+\n'';/g,x=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,k=/^\[object .+?Constructor\]$/,S=/^(?:0|[1-9]\d*)$/,E=/($^)/,C=/['\n\r\u2028\u2029\\]/g,T={};T["[object Float32Array]"]=T["[object Float64Array]"]=T["[object Int8Array]"]=T["[object Int16Array]"]=T["[object Int32Array]"]=T["[object Uint8Array]"]=T["[object Uint8ClampedArray]"]=T["[object Uint16Array]"]=T["[object Uint32Array]"]=!0,T[l]=T["[object Array]"]=T["[object ArrayBuffer]"]=T["[object Boolean]"]=T["[object DataView]"]=T["[object Date]"]=T[c]=T[d]=T["[object Map]"]=T["[object Number]"]=T[m]=T["[object RegExp]"]=T["[object Set]"]=T["[object String]"]=T["[object WeakMap]"]=!1;var O={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},_="object"==typeof i&&i&&i.Object===Object&&i,N="object"==typeof self&&self&&self.Object===Object&&self,R=_||N||Function("return this")(),M=t&&!t.nodeType&&t,P=M&&e&&!e.nodeType&&e,D=P&&P.exports===M,I=D&&_.process,j=function(){try{var e=P&&P.require&&P.require("util").types;return e||I&&I.binding&&I.binding("util")}catch(e){}}(),L=j&&j.isTypedArray;function z(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function $(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function A(e){return"\\"+O[e]}function F(e,t){return function(n){return e(t(n))}}var V,U=Function.prototype,B=Object.prototype,W=R["__core-js_shared__"],H=U.toString,q=B.hasOwnProperty,Y=(V=/[^.]+$/.exec(W&&W.keys&&W.keys.IE_PROTO||""))?"Symbol(src)_1."+V:"",K=B.toString,G=H.call(Object),Q=RegExp("^"+H.call(q).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),X=D?R.Buffer:void 0,J=R.Symbol,Z=F(Object.getPrototypeOf,Object),ee=B.propertyIsEnumerable,te=J?J.toStringTag:void 0,ne=function(){try{var e=function(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){if(!Ie(e)||function(e){return!!Y&&Y in e}(e))return!1;var t=Pe(e)?Q:k;return t.test(function(e){if(null!=e){try{return H.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}(n)?n:void 0}(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),re=X?X.isBuffer:void 0,oe=F(Object.keys,Object),ae=Math.max,ie=Date.now,le=J?J.prototype:void 0,se=le?le.toString:void 0;function ue(e,t){var n=_e(e),r=!n&&Oe(e),o=!n&&!r&&Re(e),a=!n&&!r&&!o&&Le(e),i=n||r||o||a,l=i?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],s=l.length;for(var u in e)!t&&!q.call(e,u)||i&&("length"==u||o&&("offset"==u||"parent"==u)||a&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||be(u,s))||l.push(u);return l}function ce(e,t,n){var r=e[t];q.call(e,t)&&Te(r,n)&&(void 0!==n||t in e)||de(e,t,n)}function de(e,t,n){"__proto__"==t&&ne?ne(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function fe(e){return null==e?void 0===e?y:p:te&&te in Object(e)?function(e){var t=q.call(e,te),n=e[te];try{e[te]=void 0;var r=!0}catch(e){}var o=K.call(e);r&&(t?e[te]=n:delete e[te]);return o}(e):function(e){return K.call(e)}(e)}function pe(e){return je(e)&&fe(e)==l}function me(e){if(!Ie(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=xe(e),n=[];for(var r in e)("constructor"!=r||!t&&q.call(e,r))&&n.push(r);return n}function he(e,t){return Ce(function(e,t,n){return t=ae(void 0===t?e.length-1:t,0),function(){for(var r=arguments,o=-1,a=ae(r.length-t,0),i=Array(a);++o<a;)i[o]=r[t+o];o=-1;for(var l=Array(t+1);++o<t;)l[o]=r[o];return l[t]=n(i),z(e,this,l)}}(e,t,Ve),e+"")}var ve=ne?function(e,t){return ne(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:Ve;function ye(e){if("string"==typeof e)return e;if(_e(e))return $(e,ye)+"";if(function(e){return"symbol"==typeof e||je(e)&&fe(e)==v}(e))return se?se.call(e):"";var t=e+"";return"0"==t&&1/e==-o?"-0":t}function ge(e,t,n,r){return void 0===e||Te(e,B[n])&&!q.call(r,n)?t:e}function be(e,t){var n=typeof e;return!!(t=null==t?a:t)&&("number"==n||"symbol"!=n&&S.test(e))&&e>-1&&e%1==0&&e<t}function we(e,t,n){if(!Ie(n))return!1;var r=typeof t;return!!("number"==r?Ne(n)&&be(t,n.length):"string"==r&&t in n)&&Te(n[t],e)}function xe(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||B)}var ke,Se,Ee,Ce=(ke=ve,Se=0,Ee=0,function(){var e=ie(),t=16-(e-Ee);if(Ee=e,t>0){if(++Se>=800)return arguments[0]}else Se=0;return ke.apply(void 0,arguments)});function Te(e,t){return e===t||e!=e&&t!=t}var Oe=pe(function(){return arguments}())?pe:function(e){return je(e)&&q.call(e,"callee")&&!ee.call(e,"callee")},_e=Array.isArray;function Ne(e){return null!=e&&De(e.length)&&!Pe(e)}var Re=re||function(){return!1};function Me(e){if(!je(e))return!1;var t=fe(e);return t==c||t==u||"string"==typeof e.message&&"string"==typeof e.name&&!function(e){if(!je(e)||fe(e)!=m)return!1;var t=Z(e);if(null===t)return!0;var n=q.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&H.call(n)==G}(e)}function Pe(e){if(!Ie(e))return!1;var t=fe(e);return t==d||t==f||t==s||t==h}function De(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=a}function Ie(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function je(e){return null!=e&&"object"==typeof e}var Le=L?function(e){return function(t){return e(t)}}(L):function(e){return je(e)&&De(e.length)&&!!T[fe(e)]};var ze,$e=(ze=function(e,t,n,r){!function(e,t,n,r){var o=!n;n||(n={});for(var a=-1,i=t.length;++a<i;){var l=t[a],s=r?r(n[l],e[l],l,n,e):void 0;void 0===s&&(s=e[l]),o?de(n,l,s):ce(n,l,s)}}(t,function(e){return Ne(e)?ue(e,!0):me(e)}(t),e,r)},he((function(e,t){var n=-1,r=t.length,o=r>1?t[r-1]:void 0,a=r>2?t[2]:void 0;for(o=ze.length>3&&"function"==typeof o?(r--,o):void 0,a&&we(t[0],t[1],a)&&(o=r<3?void 0:o,r=1),e=Object(e);++n<r;){var i=t[n];i&&ze(e,i,n,o)}return e})));function Ae(e){return Ne(e)?ue(e):function(e){if(!xe(e))return oe(e);var t=[];for(var n in Object(e))q.call(e,n)&&"constructor"!=n&&t.push(n);return t}(e)}var Fe=he((function(e,t){try{return z(e,void 0,t)}catch(e){return Me(e)?e:new Error(e)}}));function Ve(e){return e}e.exports=function(e,t,o){var a,i=r.imports._.templateSettings||r;o&&we(e,t,o)&&(t=void 0),e=null==(a=e)?"":ye(a),t=$e({},t,i,ge);var l,s,u=$e({},t.imports,i.imports,ge),c=Ae(u),d=function(e,t){return $(t,(function(t){return e[t]}))}(u,c),f=0,p=t.interpolate||E,m="__p += '",h=RegExp((t.escape||E).source+"|"+p.source+"|"+(p===n?x:E).source+"|"+(t.evaluate||E).source+"|$","g"),v=q.call(t,"sourceURL")?"//# sourceURL="+(t.sourceURL+"").replace(/[\r\n]/g," ")+"\n":"";e.replace(h,(function(t,n,r,o,a,i){return r||(r=o),m+=e.slice(f,i).replace(C,A),n&&(l=!0,m+="' +\n__e("+n+") +\n'"),a&&(s=!0,m+="';\n"+a+";\n__p += '"),r&&(m+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),f=i+t.length,t})),m+="';\n";var y=q.call(t,"variable")&&t.variable;y||(m="with (obj) {\n"+m+"\n}\n"),m=(s?m.replace(g,""):m).replace(b,"$1").replace(w,"$1;"),m="function("+(y||"obj")+") {\n"+(y?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(l?", __e = _.escape":"")+(s?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+m+"return __p\n}";var k=Fe((function(){return Function(c,v+"return "+m).apply(void 0,d)}));if(k.source=m,Me(k))throw k;return k}}(ex,ex.exports);var Ox=l(ex.exports),_x={dateTime:function(e){return Rx(e)}};function Nx(e,t){try{var n=Ox(JSON.stringify(e),{interpolate:/#{([\s\S]+?)}/g,imports:_x})(t).replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t");return JSON.parse(n)}catch(e){}return e}function Rx(e){var t=new Date(e),n=t.getDate(),r=t.toLocaleString("default",{month:"long"}),o=t.getFullYear(),a=function(e){if(e>=11&&e<=13)return"th";switch(e%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}}(n);return"".concat(r," ").concat(n).concat(a,", ").concat(o)}var Mx=function(e){var t=h.useRef({}),r=h.useRef({}),o=h.useState({}),a=o[0],i=o[1],l=h.useState({}),s=l[0],u=l[1],c=e.formStep,d=e.nextStep,f=e.prevStep,p=e.handleData,m=e.handleDataWithLabels,y=e.getData,g=e.getDataWithLabels,b=e.loading;h.useEffect((function(){for(var e=0,t=c.fields;e<t.length;e++){var n=t[e];if(n.condition){var o=Bw(n.condition);r.current[n.name]=new Function("return (".concat(o,");"))}}w()}),[]);var w=function(){var e={};Object.entries(r.current).forEach((function(r){var o=r[0],a=r[1];e[o]=a.call(n(n({},y()),t.current))})),function(e,t){var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=0,a=n;o<a.length;o++){var i=a[o];if(e[i]!==t[i])return!1}return!0}(e,a)||i(e)},x=function(){var e={},r=!0,o={};return c.fields.forEach((function(n){var i,l,s={valid:!0};if(!1!==a[n.name]&&t.current.hasOwnProperty(n.name))if(function(e){return!!e&&"TEXT"===e.type}(n))if(!0===n.mandatory&&Ww(t.current[n.name]))s={valid:!1,message:n.mandatoryError||"This field is mandatory"};else switch(n.format){case"EMAIL":i=t.current[n.name],s={valid:l=/^[\w-.]+@([\w-]+\.)+[\w-]{2,4}$/.test(String(i).toLowerCase()),message:l?void 0:"Invalid email address"};break;case"PHONE":if(s=function(e){if(Ww(e))return{valid:!0};var t=Hw(e);return{valid:t,message:t?void 0:"Invalid phone number"}}(t.current[n.name]),s.valid){var u=function(e){if(Ww(e)||!Hw(e))return e;var t=e.replace(/\D/g,"");return 11===t.length&&t.startsWith("1")&&(t=t.slice(1)),t.replace(/(\d{3})(\d{3})(\d{4})/,"($1) $2-$3")}(t.current[n.name]);u!==t.current[n.name]&&(o[n.name]=u)}}else!function(e){return!!e&&"CHIPS"===e.type}(n)?!function(e){return!!e&&"DATE"===e.type}(n)?function(e){return!!e&&"CHECK"===e.type}(n)&&n.mandatory&&1!==t.current[n.name].length&&(s={valid:!1,message:n.mandatoryError||"This field is mandatory"}):n.mandatory&&null==t.current[n.name]&&(s={valid:!1,message:n.mandatoryError||"Please select a day"}):(n.minRequired&&t.current[n.name].length<n.minRequired&&(s={valid:!1,message:n.mandatoryError||"Please select at least ".concat(n.minRequired," option(s)")}),n.maxAllowed&&t.current[n.name].length>n.maxAllowed&&(s={valid:!1,message:n.mandatoryError||"Please select no more than ".concat(n.maxAllowed," option(s)")}),n.mandatory&&1!==t.current[n.name].length&&(s={valid:!1,message:n.mandatoryError||"Please select one option"}));r=r&&s.valid,e[n.name]=s})),qw(o)||(t.current=n(n({},t.current),o)),function(e,t){var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=0,a=n;o<a.length;o++){var i=a[o];if(!t.hasOwnProperty(i))return!1;var l=e[i],s=t[i];if(l.valid!==s.valid)return!1}return!0}(s,e)||u(e),r},k=function(e){p(e);for(var t={},n=function(n){var r=e[n],o=c.fields.find((function(e){return e.name===n}));if("CHIPS"===(null==o?void 0:o.type)&&void 0!==r){var a=[];r.forEach((function(e){var t=o.items.find((function(t){return t.id===e}));t&&a.push(t.label)})),t[n]=function(e){if(0===e.length)return"";if(1===e.length)return e[0];if(2===e.length)return e.join(" and ");var t=e.pop();return e.join(", ")+", and "+t}(a)}else"DATE"===(null==o?void 0:o.type)&&void 0!==r?t[n]=Rx(r):t[n]=r},r=0,o=Object.keys(e);r<o.length;r++){n(o[r])}m(t)},S=function(e,r){var o;(!t.current.hasOwnProperty(e)||t.current[e]!==r)&&(t.current=n(n({},t.current),((o={})[e]=r,o)),w(),qw(s)||x())},E=h.useContext(be),C=U().context;return w(),v.createElement("div",null,!!c&&c.title&&v.createElement("div",{className:zw},v.createElement("p",null,c.title)),v.createElement("div",null,!!c&&c.fields.map((function(e,n){var r,o,i,l,u,c;switch(e.type){case"TEXT":c="ADDRESS"===e.format?v.createElement(Iw,{key:e.name,field:e,onFieldChange:S,value:t.current[e.name],errorMessage:null===(r=s[e.name])||void 0===r?void 0:r.message,required:e.mandatory,googleMapsApiKey:E.googleMapsApiKey,mapsBaseUrl:E.mapsBaseUrl}):v.createElement(Ip,{key:e.name,field:e,onFieldChange:S,value:t.current[e.name],errorMessage:null===(o=s[e.name])||void 0===o?void 0:o.message,required:e.mandatory});break;case"DROPDOWN":c=v.createElement(Gp,{key:e.name,field:e,onFieldChange:S});break;case"CHECK":c=v.createElement(Kw,{key:e.name,field:e,onFieldChange:S,errorMessage:null===(i=s[e.name])||void 0===i?void 0:i.message});break;case"CHIPS":c=v.createElement(Ac,{key:e.name,field:e,onFieldChange:S,errorMessage:null===(l=s[e.name])||void 0===l?void 0:l.message});break;case"DATE":c=v.createElement(Jv,{key:e.name,field:e,onFieldChange:S,errorMessage:null===(u=s[e.name])||void 0===u?void 0:u.message,busyDays:null==C?void 0:C.busyDays,loading:b});break;case"DATERANGE":c=v.createElement(Zv,{key:e.name,field:e,onFieldChange:S});break;case"CARD":c=v.createElement(Zw,{key:e.name,field:Nx(e,g()),onFieldChange:S});break;default:c=null}return v.createElement("div",{key:n,className:"".concat(jw," ").concat(!1!==a[e.name]?Lw:"")},c)}))),v.createElement("div",{className:$w},void 0===f&&v.createElement("div",{className:Aw}),!!f&&"omit"!==c.previousAction&&v.createElement(Lb,{className:Fw,onClick:function(){k(t.current),f&&f()},variant:"contained"},c.previousLabel||"Previous"),!!d&&"omit"!==c.nextAction&&v.createElement(Lb,{className:function(){for(var e in s)if(!s[e].valid)return!0;return!1}()?Uw:c.nextLabel?Vw:Fw,onClick:function(){x()&&(k(t.current),d&&d("submit"===c.nextAction))},variant:"contained"},c.nextLabel||"Next")))},Px="SearchResponseFormDisplay-module_xapp_formstep__2WhYK",Dx="SearchResponseFormDisplay-module_active__x-n-n",Ix="SearchResponseFormDisplay-module_xapp_header_container__ayUqb",jx="SearchResponseFormDisplay-module_xapp_header_container_showcase__-VUjy",Lx={xapp_navigation_header:"SimpleNavigationHeader-module_xapp_navigation_header__YhCD1",xapp_navigation_header_showcase:"SimpleNavigationHeader-module_xapp_navigation_header_showcase__NhRLn"},zx=function(e){var t=e.items,n=e.onHeaderClick,r=e.labelHeader,o=e.stepName,a=e.isShowCase;if(r){var i=t.find((function(e){return e.step===o})),l=null==i?void 0:i.label;return void 0!==l?v.createElement(ny,{display:"flex",justifyContent:"center",gap:2,padding:2,"min-height":100,className:a?Lx.xapp_navigation_header_showcase:Lx.xapp_navigation_header_container},v.createElement(Up,{variant:"h4",color:"white",margin:0},l)):v.createElement(ny,{display:"flex",justifyContent:"center",gap:2,padding:2,"min-height":100,className:a?Lx.xapp_navigation_header_showcase:Lx.xapp_navigation_header_container},v.createElement("div",{className:"empty_step_header"}))}return v.createElement(ny,{display:"flex",justifyContent:"center",gap:2,padding:2,"min-height":100,className:Lx.xapp_navigation_header},v.createElement(ny,{position:"relative",display:"flex",alignItems:"center",justifyContent:"center",width:"100%",minHeight:"50px",sx:{"&::before":{content:'""',position:"absolute",top:"50%",left:0,right:0,height:"3px",backgroundColor:"white",zIndex:1}}},t.map((function(e,t){return v.createElement(ny,{key:t,position:"relative",zIndex:2,display:"flex",flexDirection:"column",alignItems:"center",top:"10px",minWidth:100},v.createElement(Lb,{variant:"contained",color:"primary",size:"small",style:{borderRadius:"50%",minWidth:"auto",width:"30px",height:"30px",display:"flex",alignItems:"center",justifyContent:"center",border:"3px solid white"},className:Lx.xapp_navigation_header,onClick:function(){n("".concat(e.step))}}),v.createElement(Up,{variant:"body2",color:"white",margin:1,marginTop:1},e.label))}))))},$x=function(e){var t=e.form,r=e.onActionResponse,o=e.isShowCase,a=e.loading,i=h.useState(0),l=i[0],s=i[1],u=h.useRef({});h.useEffect((function(){for(var e=0,n=t.steps;e<n.length;e++){var r=n[e];if(r.condition){var o=Bw(r.condition);u.current[r.name]=new Function("return (".concat(o,");"))}}}),[]),h.useEffect((function(){(l<0||l>=t.steps.length)&&s(0)}),[t.steps,l]);var c=h.useRef({}),d=h.useRef({}),f=function(e){for(var r=l+1;r<t.steps.length;r++){var o=t.steps[r],a=u.current[o.name];if(!a){s(r);break}if(a.call(n({},c.current))){s(r);break}}e&&w()},p=function(){for(var e=l-1;e>=0;e--){var r=t.steps[e],o=u.current[r.name];if(!o){s(e);break}if(o.call(n({},c.current))){s(e);break}}},m=function(e){c.current=n(n({},c.current),e)},y=function(){return c.current},g=function(e){d.current=n(n({},d.current),e)},b=function(){return d.current},w=function(){var e={result:c.current,form:t.name,step:t.steps[x].name,final:!!t.steps[x].final};r(e,"FORM_SUBMIT")},x=l;return(l<0||l>=t.steps.length)&&(x=0),v.createElement("div",null,t.header.length>0&&v.createElement("div",{className:o?jx:Ix},v.createElement(zx,{items:t.header,onHeaderClick:function(e){var n=t.steps.findIndex((function(t){return t.name===e}));-1!==n?s(n):I("Header click: Cannot find step to jump to: ".concat(e))},labelHeader:t.labelHeader,stepName:t.steps[x].name,isShowCase:o})),v.createElement("div",null,t.steps.map((function(e,n){return v.createElement("div",{key:n,className:"".concat(Px," ").concat(t.steps[x].name===e.name?Dx:"")},v.createElement(Mx,{formStep:e,handleData:m,handleDataWithLabels:g,nextStep:x<t.steps.length?f:void 0,prevStep:x>0?p:void 0,getData:y,getDataWithLabels:b,loading:a}))}))))},Ax=function(e){var t=e.display,n=e.onActionResponse,r=e.loading;return v.createElement("div",{className:"xapp-search-response-display"},j(t)&&v.createElement($x,{form:t,loading:r,onActionResponse:n}),function(e){return!!e&&"LIST"===e.type}(t)&&v.createElement(dt,{list:t}),function(e){return!!e&&"CAROUSEL"===e.type}(t)&&v.createElement(st,{carousel:t}))},Fx=function(e){var t=e.html;return v.createElement("div",{className:"xapp-search-response-html",dangerouslySetInnerHTML:{__html:t}})},Vx=function(e){var t=e.text;return v.createElement("div",{className:"xapp-search-response-text"},v.createElement("p",null,t))},Ux=function(e){var t=e.audio,n=e.onAudioChange,r=h.useRef(null);return h.useEffect((function(){var e=r.current,t=function(){D("Audio finished playing"),n(!1)},o=function(){D("Audio started playing"),n(!0)};return e&&(e.addEventListener("ended",t),e.addEventListener("play",o)),function(){e&&(e.removeEventListener("ended",t),e.removeEventListener("play",o))}}),[t,n]),v.createElement("audio",{ref:r,autoPlay:!0,src:t})},Bx="SearchResponseOutputSpeech-module_xapp_search_response_output_speech__DCf8F";var Wx=function(e){var t,n=e.outputSpeech,r=e.onAudioChange,o="string"==typeof n?n:null==n?void 0:n.displayText,a="string"==typeof n||null==n?void 0:n.html,i="string"==typeof n||null==n?void 0:n.ssml;if(h.useContext(be).isVoiceEnabled){var l=i?function(e){for(var t,n=/<audio\s+src\s*=\s*"(.+?)"\s*\/?>/g,r=[];null!==(t=n.exec(e));)r.push(t[1]);return r}(i):[];t=l.length>0?l[0]:void 0}return v.createElement("div",{className:Bx},!!a&&v.createElement(Fx,{html:a}),!!o&&!a&&v.createElement(Vx,{text:o}),!!t&&v.createElement(Ux,{audio:t,onAudioChange:r}))},Hx="SearchResponsePart-module_xapp_search_response_part__DRpYu",qx=function(e){var t=e.extraClass;return v.createElement("div",{className:"".concat(Hx," ").concat(t||"")},e.children)},Yx={};Object.defineProperty(Yx,"__esModule",{value:!0});var Kx=Yx.isLinkoutSuggestion=function(e){if(!e)return!1;return void 0!==e.url};var Gx,Qx="Button-module_xapp_search_btn__cQf3T",Xx="Button-module_xapp_search_btn__expand__dUwot",Jx=function(e){var t=e.className,n=e.expand,r=e.onClick;return v.createElement("button",{type:"button",className:"".concat(Qx," ").concat(n?Xx:""," ").concat(t||""),onClick:r},e.children)},Zx="SuggestedAction-module_xapp_search_suggested_action__gbLCz",ek=function(e){var t=e.action,n=e.className,r=e.onClick,o=h.useCallback((function(){r(t)}),[t,r]);return Kx(t)?v.createElement("span",{className:"".concat(Zx," ").concat(n||"")},v.createElement("a",{href:t.url},ge(t))):v.createElement(Jx,{className:"".concat(Zx," ").concat(n||""),onClick:o}," ",ge(t))},tk={xapp_search_suggested_actions__actions:"SuggestedActions-module_xapp_search_suggested_actions__actions__Apv0-",xapp_search_suggested_actions__item:"SuggestedActions-module_xapp_search_suggested_actions__item__Q7nQb"},nk=function(e){var t=e.actions,n=e.onActionClick;return v.createElement("div",{className:tk.xapp_search_suggested_actions},v.createElement("div",{className:tk.xapp_search_suggested_actions__actions},t.map((function(e,t){return v.createElement(ek,{key:t,action:e,className:tk.xapp_search_suggested_actions__item,onClick:n})}))))},rk="SearchResponse-module_xapp_search_response__nnEM8",ok=function(e){var t=e.response,n=e.className,r=e.onActionClick,o=e.onActionResponse,a=e.onAudioChange,i=e.loading,l=t.outputSpeech,s=t.displays,u="object"==typeof l?l.suggestions:void 0;return v.createElement("div",{className:"".concat(rk," ").concat(n||"")},!!l&&v.createElement(qx,null,v.createElement(Le,null,v.createElement(Wx,{outputSpeech:l,onAudioChange:a}))),!!(null==u?void 0:u.length)&&(null==u?void 0:u.length)>0&&v.createElement(nk,{actions:u,onActionClick:r}),!!(null==s?void 0:s.length)&&(null==s?void 0:s.length)>0&&s.map((function(e,t){var n=j(e)&&(!e.header||0===e.header.length);return v.createElement(qx,{key:t,extraClass:n?"noHeaderForm":""},v.createElement(Ax,{display:e,onActionResponse:o,loading:i}))})))},ak=ok,ik="FormWidget-module_loading__aAJ-B",lk="FormWidget-module_xapp_form_widget__V-G-H",sk="FormWidget-module_xapp_form_widget__content__a9NXC",uk="FormWidget-module_xapp_form_widget__response__X8Hbz",ck="FormWidget-module_xapp_form_widget__spinner__FBxso",dk="FormWidget-module_xapp_form_widget__close__0lp0O",fk=function(e){var t=e.config;return v.createElement(be.Provider,{value:t},v.createElement(pk,{docked:e.docked}))},pk=function(e){var t=e.docked,n=V(),r=n[0],o=n[1],a=we(),i=a.loading,l=a.run,s=r.query,u=r.sendRequest,c=r.active,d=h.useState(e.response),f=d[0],p=d[1],m=h.useState(-1),y=m[0],g=m[1],b=xe(s,void 0),w="success"===b.state?b.data:void 0,x=h.useMemo((function(){return ie(w,1)}),[w]),k=h.useState(x),S=k[0],E=k[1],C=h.useState(!1),T=C[0],O=C[1],_=h.useState(0),N=_[0],R=_[1];h.useEffect((function(){x&&E(x)}),[x]);var M=h.useMemo((function(){return S?function(e){return e.reduce((function(e,t){return e+t.items.length}),0)}(S):0}),[S]),P=h.useMemo((function(){return S?function(e,t){if(t>=0)for(var n=0,r=e;n<r.length;n++)for(var o=0,a=r[n].items;o<a.length;o++){var i=a[o];if(t<=0)return i;t--}}(S,y):void 0}),[S,y]),I=h.useContext(be),j=h.useMemo((function(){return ye.getApi({key:I.api.key,url:I.api.url})}),[I]),L=h.useCallback((function(){g((function(e){return e<0?0:(e+1)%M}))}),[M]),z=h.useCallback((function(){g((function(e){return e<0?M-1:(e+M-1)%M}))}),[M]),$=h.useCallback((function(){p(void 0),o({type:"new-search"}),o({type:"set-modal-state",active:!1,minimized:!0,sendRequest:!1})}),[o]),A=h.useCallback((function(){p(void 0),o({type:"new-search"}),o({type:"set-modal-state",active:!1,minimized:!1,sendRequest:!1}),j.channelActionRequest({data:{result:{},step:"",form:""}},"FORM_CLOSE").then((function(e){D("ACTION Request (FORM_CLOSE). Data: Response: ".concat(JSON.stringify(e))),R(0)}))}),[j,o]),F=h.useCallback((function(e){o({query:e.query,intentId:e.intentId,type:"set-query"}),l((function(){return j.intentRequest(e).then((function(t){p(t),o({type:"set-response",response:t,query:e.query,intentId:e.intentId})}))}))}),[j,o,l]),U=h.useCallback((function(e,t){l((function(){return j.channelActionRequest(e,t).then((function(n){var r;if(D("ACTION Request (".concat(t,"). Data: ").concat(JSON.stringify(e)," Response: ").concat(JSON.stringify(n))),(n.outputSpeech||n.displays)&&o({type:"set-response",response:n,query:""}),(null===(r=n.context)||void 0===r?void 0:r.active)&&n.context.active.length>0){var a=n.context.active[0].parameters||{};o({type:"set-context",context:a})}e.autoClose?R(1):e.autoMinimize?R(2):R(0)}))}))}),[j,o,l]);h.useEffect((function(){(t||u&&c&&(I.autoGreeting||I.intentId))&&(j.resetSession(),F({query:I.autoGreeting,intentId:I.intentId}),o({type:"set-modal-state",active:!0,minimized:!1,sendRequest:!1}))}),[t,u,c,F,o,I.autoGreeting,j,I.intentId]),h.useEffect((function(){T||(1===N?(p(void 0),o({type:"new-search"}),o({type:"set-modal-state",active:!1,minimized:!1,sendRequest:!1}),R(0)):2===N&&(p(void 0),o({type:"new-search"}),o({type:"set-modal-state",active:!1,minimized:!0,sendRequest:!1}),R(0)))}),[T,o,N]);var B=h.useCallback((function(e){F(P?{query:P.text}:{query:e.text})}),[F,P]),W=h.useCallback((function(e){e.text||(p(void 0),o({type:"new-search"}))}),[o]),H=h.useCallback((function(e){var t=ge(e);F({query:t})}),[F]),q=h.useCallback((function(e,t){t||(t=e.action),e.timezoneOffset=(new Date).getTimezoneOffset(),U(e,t)}),[U]),Y=function(e){O(e)},K=!!s||!!f;return t?v.createElement("div",{className:"".concat(lk," ").concat(i?ik:"")},v.createElement("div",{className:"".concat(sk," ").concat(i?ik:"")},f?v.createElement(ak,{response:f,className:uk,onActionClick:H,onActionResponse:q,onAudioChange:Y,loading:i}):v.createElement("div",{className:ck},v.createElement(Ce,null)))):v.createElement("div",{className:"".concat(lk," ").concat(i&&!f?ik:"")},(!I.autoGreeting||!I.intentId)&&v.createElement(Ie,{autoFocus:!0,audioOn:T,onPrev:z,onNext:L,onSubmit:B,onCancel:$,onSearch:W}),K&&v.createElement("div",{className:"".concat(sk," ").concat(i&&!f?ik:"")},!f&&i&&v.createElement("div",{className:ck},v.createElement(Ce,null)),f&&v.createElement(ok,{response:f,className:uk,onActionClick:H,onActionResponse:q,onAudioChange:Y,loading:i})),f&&!!$&&v.createElement("div",{className:dk,onClick:A},"✕"))},mk=function(e){var t=function(e){var t=e||{};return"\n:root {\n ".concat(function(e){var t=e.next(),n="";for(;!1===t.done;){var r=t.value,o=r[0],a=r[1];null!=a&&""!==a&&(n+="".concat(o,": ").concat(a,";\n\r")),t=e.next()}return n}(hk("\t--xapp-form-widget-",vk(yk("background-color",null==t?void 0:t.backgroundColor),yk("header-background-color",null==t?void 0:t.headerBackgroundColor),yk("header-text-color",null==t?void 0:t.headerTextColor),yk("primary-button-color",null==t?void 0:t.primaryButtonColor),yk("primary-button-text-color",null==t?void 0:t.primaryButtonTextColor),yk("secondary-button-color",null==t?void 0:t.secondaryButtonColor),yk("secondary-button-text-color",null==t?void 0:t.secondaryButtonTextColor),hk("text-",vk(function(e){return o(this,(function(t){switch(t.label){case 0:return e?[4,["background-color",e.backgroundColor]]:[3,5];case 1:return t.sent(),[4,["background-color-dark",gk(e.backgroundColor,3)]];case 2:return t.sent(),[4,["color",e.color]];case 3:return t.sent(),[4,["font-size",e.fontSize]];case 4:t.sent(),t.label=5;case 5:return[2]}}))}(null==t?void 0:t.text))),hk("dropdown-",vk(function(e){return o(this,(function(t){switch(t.label){case 0:return e?[4,["background-color",e.backgroundColor]]:[3,4];case 1:return t.sent(),[4,["color",e.color]];case 2:return t.sent(),[4,["font-size",e.fontSize]];case 3:t.sent(),t.label=4;case 4:return[2]}}))}(null==t?void 0:t.dropdown))),hk("checkbox-",vk(function(e){return o(this,(function(t){switch(t.label){case 0:return e?[4,["background-color",e.backgroundColor]]:[3,4];case 1:return t.sent(),[4,["color",e.color]];case 2:return t.sent(),[4,["font-size",e.fontSize]];case 3:t.sent(),t.label=4;case 4:return[2]}}))}(null==t?void 0:t.checkbox))),hk("chips-",vk(function(e){return o(this,(function(t){switch(t.label){case 0:return e?[4,["background-color",e.backgroundColor]]:[3,7];case 1:return t.sent(),[4,["background-color-selected",e.backgroundColorSelected]];case 2:return t.sent(),[4,["background-color-dark",gk(e.backgroundColor,20)]];case 3:return t.sent(),[4,["color",e.color]];case 4:return t.sent(),[4,["color-selected",e.colorSelected]];case 5:return t.sent(),[4,["font-size",e.fontSize]];case 6:t.sent(),t.label=7;case 7:return[2]}}))}(null==t?void 0:t.chips))),hk("date-",vk(function(e){return o(this,(function(t){switch(t.label){case 0:return e?[4,["background-color",e.backgroundColor]]:[3,5];case 1:return t.sent(),[4,["background-color-selected",e.backgroundColorSelected]];case 2:return t.sent(),[4,["color",e.color]];case 3:return t.sent(),[4,["font-size",e.fontSize]];case 4:t.sent(),t.label=5;case 5:return[2]}}))}(null==t?void 0:t.date))),hk("card-",vk(function(e){return o(this,(function(t){switch(t.label){case 0:return e?[4,["background-color",e.backgroundColor]]:[3,4];case 1:return t.sent(),[4,["color",e.color]];case 2:return t.sent(),[4,["font-size",e.fontSize]];case 3:t.sent(),t.label=4;case 4:return[2]}}))}(null==t?void 0:t.card))),hk("side-button-",vk(function(e){return o(this,(function(t){switch(t.label){case 0:return e?[4,["background-color",e.backgroundColor]]:[3,7];case 1:return t.sent(),[4,["background-color-dark",gk(e.backgroundColor,10)]];case 2:return t.sent(),[4,["color",e.color]];case 3:return t.sent(),[4,["font-size",e.fontSize]];case 4:return t.sent(),[4,["top",e.top]];case 5:return t.sent(),[4,["min-length",e.minLength]];case 6:t.sent(),t.label=7;case 7:return[2]}}))}(null==t?void 0:t.sideButton)))))),"\n}\n\n")}(e.theme);return v.createElement("style",null,t)};function hk(e,t){var n;return o(this,(function(r){switch(r.label){case 0:n=t.next(),r.label=1;case 1:return n.done?[3,3]:[4,["".concat(e).concat(n.value[0]),n.value[1]]];case 2:return r.sent(),n=t.next(),[3,1];case 3:return[2]}}))}function vk(){var e,t,n,r,a,i=[];for(e=0;e<arguments.length;e++)i[e]=arguments[e];return o(this,(function(e){switch(e.label){case 0:t=0,n=i,e.label=1;case 1:if(!(t<n.length))return[3,5];r=n[t],a=r.next(),e.label=2;case 2:return!1!==a.done?[3,4]:[4,a.value];case 3:return e.sent(),a=r.next(),[3,2];case 4:return t++,[3,1];case 5:return[2]}}))}function yk(e,t){return o(this,(function(n){switch(n.label){case 0:return[4,[e,t]];case 1:return n.sent(),[2]}}))}function gk(e,t){var n,r,o,a,i,l;if(!e)return e;try{if(e.startsWith("#")){var s=e.match(/\w\w/g);s&&(r=(n=s.map((function(e){return parseInt(e,16)})))[0],o=n[1],a=n[2])}else if(e.startsWith("rgb")){var u=function(e){var t,n=/^rgba?\((\d+),\s*(\d+),\s*(\d+),\s*([\d.]+)\)$/,r=/^rgb?\((\d+),\s*(\d+),\s*(\d+)\)$/;return(t=e.match(n))?{r:parseInt(t[1]),g:parseInt(t[2]),b:parseInt(t[3]),a:parseFloat(t[4])}:(t=e.match(r))?{r:parseInt(t[1]),g:parseInt(t[2]),b:parseInt(t[3])}:null}(e);u&&(r=u.r,o=u.g,a=u.b,i=u.a)}if(void 0===r||void 0===o||void 0===a)return I("Darken: Unsupported color format: ".concat(e)),e;if(void 0!==i){if(0===r&&0===o&&0===a)i+=t/100;else{var c=.3*r+.59*o+.11*a,d=c*(1-t/100)/c;r=Math.round(r*d),o=Math.round(o*d),a=Math.round(a*d)}l="rgba(".concat(r,", ").concat(o,", ").concat(a,", ").concat(i,")")}else r=Math.max(0,r-t),o=Math.max(0,o-t),a=Math.max(0,a-t),l="#".concat(r.toString(16).padStart(2,"0")).concat(o.toString(16).padStart(2,"0")).concat(a.toString(16).padStart(2,"0"))}catch(t){I("Darken: Unsupported color format: ".concat(e," - Error: ").concat(t))}return l}!function(e){e.XAPP_FORM_BUTTON="xapp-form-button"}(Gx||(Gx={}));var bk="ChatButton-module_xapp_chat_button__HH7eW",wk="ChatButton-module_xapp_chat_button__btn__HAq8m",xk=function(e){return v.createElement("button",{className:"".concat(bk," ").concat(e.addClass||""),onClick:e.onClick},v.createElement("div",{id:"xapp-widget-button",className:wk,style:e.borderStyle&&{border:"solid",borderWidth:e.borderStyle.width,borderColor:e.borderStyle.color}},v.createElement("svg",{fill:"#000000",height:"300px",width:"30px",version:"1.1",id:"Capa_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 382.163 382.163"},v.createElement("g",null,v.createElement("path",{d:"M344.89,215.855c0-50.602-24.567-95.57-62.396-123.618l2.982-5.326l46.258,25.92c1.16,0.65,2.418,0.958,3.659,0.958\n\t\tc2.626,0,5.175-1.381,6.55-3.835c8.883-15.853,11.061-34.216,6.132-51.706c-4.243-15.059-13.327-27.91-25.887-36.864l5.722-10.22\n\t\tc2.023-3.614,0.733-8.185-2.881-10.208c-3.614-2.023-8.184-0.734-10.208,2.88l-5.72,10.216\n\t\tc-31.487-13.349-68.758-1.123-85.857,29.391c-0.972,1.735-1.215,3.786-0.676,5.7s1.817,3.536,3.553,4.509l46.268,25.925\n\t\tl-2.406,4.297c-23.084-13.853-50.078-21.83-78.903-21.83c-28.825,0-55.818,7.977-78.902,21.829l-2.408-4.296l46.269-25.926\n\t\tc3.614-2.025,4.902-6.595,2.877-10.209c-8.883-15.853-23.407-27.297-40.897-32.226c-15.061-4.244-30.765-3.205-44.96,2.833\n\t\tL67.342,3.838c-2.023-3.615-6.593-4.904-10.208-2.881c-3.614,2.023-4.904,6.594-2.881,10.208l5.721,10.22\n\t\tc-12.559,8.954-21.643,21.804-25.886,36.864c-4.929,17.49-2.751,35.854,6.132,51.706c1.375,2.454,3.924,3.835,6.55,3.835\n\t\tc1.241,0,2.5-0.309,3.659-0.958l46.257-25.919l2.984,5.324c-37.83,28.047-62.397,73.016-62.397,123.619\n\t\tc0,45.21,19.61,85.924,50.767,114.091l-9.427,43.114c-0.885,4.047,1.678,8.044,5.725,8.929c0.54,0.118,1.078,0.175,1.609,0.175\n\t\tc3.448,0,6.553-2.393,7.32-5.899l7.818-35.757c25.321,18.332,56.416,29.157,89.996,29.157c33.58,0,64.676-10.825,89.997-29.158\n\t\tl7.818,35.758c0.767,3.507,3.871,5.899,7.319,5.899c0.531,0,1.07-0.057,1.609-0.175c4.046-0.885,6.61-4.882,5.725-8.929\n\t\tl-9.427-43.115C325.281,301.778,344.89,261.065,344.89,215.855z M308.517,30.436c12.357,6.924,21.279,18.246,25.121,31.88\n\t\tc3.155,11.198,2.574,22.853-1.57,33.507l-91.609-51.331C256.211,23.856,285.228,17.387,308.517,30.436z M50.096,95.824\n\t\tc-4.145-10.654-4.726-22.31-1.57-33.507c3.842-13.634,12.763-24.956,25.121-31.88c8.179-4.583,17.064-6.758,25.833-6.758\n\t\tc16.201,0,32.005,7.425,42.225,20.814L50.096,95.824z M52.273,215.855c0-76.54,62.269-138.809,138.809-138.809\n\t\tS329.89,139.315,329.89,215.855s-62.27,138.809-138.809,138.809S52.273,292.394,52.273,215.855z"}),v.createElement("path",{d:"M191.081,107.685c-59.645,0-108.17,48.525-108.17,108.17c0,59.645,48.525,108.17,108.17,108.17\n\t\tc59.646,0,108.17-48.525,108.17-108.17C299.252,156.21,250.727,107.685,191.081,107.685z M191.081,309.025\n\t\tc-51.374,0-93.17-41.796-93.17-93.17c0-51.374,41.796-93.17,93.17-93.17c51.375,0,93.17,41.796,93.17,93.17\n\t\tC284.252,267.229,242.456,309.025,191.081,309.025z"}),v.createElement("path",{d:"M198.585,190.081v-36.262c0-4.142-3.358-7.5-7.5-7.5s-7.5,3.358-7.5,7.5v36.26c-8.784,2.559-15.718,9.492-18.279,18.276\n\t\th-16.941c-4.142,0-7.5,3.358-7.5,7.5s3.358,7.5,7.5,7.5h16.941c3.254,11.165,13.574,19.349,25.775,19.349\n\t\tc14.805,0,26.849-12.044,26.849-26.849C217.93,203.655,209.748,193.337,198.585,190.081z M191.081,227.704\n\t\tc-6.533,0-11.849-5.315-11.849-11.849s5.315-11.849,11.849-11.849c6.534,0,11.849,5.315,11.849,11.849\n\t\tS197.615,227.704,191.081,227.704z"})))))},kk="SideButton-module_xapp_form_sticky_button__YqORL",Sk="SideButton-module_left__GT6z8",Ek="SideButton-module_right__Hy2FU",Ck=function(e){var t=e.onClick,n=e.position,r=e.label,o="right"===(null==n?void 0:n.toLowerCase())?Ek:Sk;return v.createElement("div",{onClick:t,className:"".concat(kk," ").concat(o)},v.createElement("span",null,r||"Schedule Now"))},Tk="Form-module_xapp_form__mMqzX",Ok=function(e){return v.createElement(F,null,v.createElement(_k,{config:e.config,theme:e.theme,button:e.button,buttonElementLookup:e.buttonElementLookup}))},_k=function(e){var t,r,o=e.config,a=e.theme,i=V()[1],l=U(),s=l.active,u=l.minimized,c=h.useCallback((function(){i({type:"set-modal-state",active:!0,minimized:!1,sendRequest:!1})}),[i]),d=h.useCallback((function(){i({type:"toggle-modal-state"})}),[i]),f=h.useCallback((function(){return{active:s,minimized:u}}),[s,u]),p=h.useMemo((function(){return ye.getApi({key:o.api.key,url:o.api.url})}),[o]),m=h.useCallback((function(){i({type:"new-search"}),i({type:"set-modal-state",active:!1,minimized:!1,sendRequest:!1}),p.channelActionRequest({data:{result:{},step:"",form:""}},"FORM_CLOSE").then((function(e){D("ACTION Request (FORM_CLOSE). Data: Response: ".concat(JSON.stringify(e)))}))}),[p,i]);return h.useEffect((function(){var e=document.getElementsByClassName(Gx.XAPP_FORM_BUTTON);if(e.length)D("Assigning ".concat(e.length," button(s) by class: ").concat(Gx.XAPP_FORM_BUTTON)),Array.from(e).forEach((function(e){e.onclick=d,e.onfocus=d}));else{var t=document.getElementById(Gx.XAPP_FORM_BUTTON);t?(D("Assigning one button by id: ".concat(Gx.XAPP_FORM_BUTTON,")}")),t.onclick=d,t.onfocus=d):D("Cannot assign buttons by class or id: ".concat(Gx.XAPP_FORM_BUTTON,")}"))}window.xafwControl={openForm:d,formStatus:f}}),[f,d]),r=e.button&&"object"==typeof e.button?v.createElement(e.button.type,n({},e.button.props,{onClick:d,onFocus:d})):v.createElement(v.Fragment,null),v.createElement("div",{className:Tk},v.createElement(mk,{theme:a}),o.sideButtonLabel&&v.createElement(Ck,{onClick:d,label:o.sideButtonLabel,position:null===(t=null==a?void 0:a.sideButton)||void 0===t?void 0:t.postion}),r,u&&v.createElement(xk,{onClick:c}),s&&v.createElement(Y,{onClose:m},v.createElement(fk,{config:o})))};function Nk(e){return e.split("-").map((function(e,t){return e.length?t?e[0].toUpperCase()+e.substring(1).toLowerCase():e.toLowerCase():""})).join("")}function Rk(e){return Object.keys(e).reduce((function(t,n){var r=n,o="string";n.endsWith("-FLAG")?(r=n.substring(0,n.length-5),o="boolean"):n.endsWith("-MSEC")&&(r=n.substring(0,n.length-5),o="number");for(var a=r.split("_").map(Nk),i=t;a.length>1;){(l=a.shift())&&i&&"object"==typeof i&&(i[l]||(i[l]={}),i=i[l])}if(i&&"object"==typeof i){var l=a.shift(),s=e[n];l&&s&&(i[l]=function(e,t){return"string"===t?e:"boolean"===t?"TRUE"===e:"number"===t?parseFloat(e):e}(s,o))}return t}),{})}function Mk(){var e=null===document||void 0===document?void 0:document.getElementById("xapp-form-js");return function(e){if(!e)return{path:""};var t=e.lastIndexOf("/"),n="";t>=0&&(n=e.substr(0,t));var r=new URL(e),o=new URLSearchParams(r.search).get("key")||"";return{path:n,key:o}}(null==e?void 0:e.src)}var Pk="xapp-form-widget",Dk="{{INJECT}}",Ik=10;function jk(e){var t=e||Dk;try{var r=t.length===Ik?{}:JSON.parse(t);D("Config: ".concat(JSON.stringify(r,null,2)));var o=window.xafwConfig||{};window.xafwConfig=n(n(n({},r),o),{attributes:n(n({},r.attributes),o.attributes)})}catch(e){console.info("Unable to load search config: ".concat(e))}}function Lk(){var e,t=Rk(process.env);return n(n({},t),(e=window)&&"object"==typeof e.xafwConfig&&window.xafwConfig||{})}var zk=function(e){var t=e.env,n=function(){var e=h.useState(!1),t=e[0],n=e[1];return h.useEffect((function(){if(!document.getElementById("xapp-form-style")){var e=Mk(),t=document.createElement("link");t.id="xapp-form-style",e.key?t.href="".concat(e.path,"/xapp-form-widget.css?key=").concat(e.key):t.href="".concat(e.path,"/xapp-form-widget.css"),t.rel="stylesheet",D("CSS loaded: ".concat(t.href)),document.head.appendChild(t),t.addEventListener("load",(function(){n(!0)}))}}),[]),[t]}()[0];if(t.disabled)return v.createElement(v.Fragment,null);var r=function(e){var t,n;return[{api:{url:(null===(t=e.connection)||void 0===t?void 0:t.serverUrl)||"",key:(null===(n=e.connection)||void 0===n?void 0:n.accountKey)||""},suggestionsUrl:e.autocompleteSuggestionsUrl,autoGreeting:e.autoGreeting||"contact us",intentId:e.intentId,sideButtonLabel:e.sideButtonLabel,googleMapsApiKey:e.googleMapsApiKey,mapsBaseUrl:e.mapsBaseUrl},e.theme]}(t),o=r[0],a=r[1];return n?v.createElement(Ok,{config:o,theme:a,button:"xapp-form-widget-button",buttonElementLookup:e.buttonElementLookup}):v.createElement(v.Fragment,null)};function $k(){return r(this,void 0,void 0,(function(){var e,t,n;return o(this,(function(r){return(e=document.getElementById(Pk))||((e=document.createElement("div")).id=Pk,document.body.appendChild(e)),console.log("XAPP Form Bundle created on 7/23/2024, 11:47:08 PM (master)"),jk(),t=Lk(),n=window.xappSearchButtonLookup,e.getAttribute("xapp-form-mounted")?console.log("XAPP Form already mounted"):(e.setAttribute("xapp-form-mounted","true"),M.render(v.createElement(zk,{env:t,buttonElementLookup:n}),e)),[2]}))}))}window.addEventListener("load",(function(){$k()})),"complete"===document.readyState&&$k(),e.React=v,e.injectConfig=jk}));