@oslokommune/punkt-react 12.42.13 → 12.43.0

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.
@@ -190,7 +190,7 @@ Check the render method of \``+e+"`.":""}var js=["value","defaultValue"];functio
190
190
  * @internal
191
191
  * @license Modernizr 3.0.0pre (Custom Build) | MIT
192
192
  */function jm(e){if(!en)return!1;var t="on"+e,s=t in document;if(!s){var u=document.createElement("div");u.setAttribute(t,"return;"),s=typeof u[t]=="function"}return s}function I2(){Lt("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function ff(e,t,s,u){zu(u);var p=kk(t,"onChange");if(p.length>0){var y=new Na("onChange","change",null,s,u);e.push({event:y,listeners:p})}}var Zp=null,ic=null;function a(e){var t=e.nodeName&&e.nodeName.toLowerCase();return t==="select"||t==="input"&&e.type==="file"}function o(e){var t=[];ff(t,ic,e,kp(e)),um(d,t)}function d(e){nT(e,0)}function v(e){var t=Vm(e);if(Ao(t))return e}function b(e,t){if(e==="change")return t}var S=!1;en&&(S=jm("input")&&(!document.documentMode||document.documentMode>9));function P(e,t){Zp=e,ic=t,Zp.attachEvent("onpropertychange",K)}function H(){Zp&&(Zp.detachEvent("onpropertychange",K),Zp=null,ic=null)}function K(e){e.propertyName==="value"&&v(ic)&&o(e)}function me(e,t,s){e==="focusin"?(H(),P(t,s)):e==="focusout"&&H()}function Ne(e,t){if(e==="selectionchange"||e==="keyup"||e==="keydown")return v(ic)}function Be(e){var t=e.nodeName;return t&&t.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function Pe(e,t){if(e==="click")return v(t)}function st(e,t){if(e==="input"||e==="change")return v(t)}function mt(e){var t=e._wrapperState;!t||!t.controlled||e.type!=="number"||Tt(e,"number",e.value)}function kt(e,t,s,u,p,y,w){var _=s?Vm(s):window,F,B;if(a(_)?F=b:mk(_)?S?F=st:(F=Ne,B=me):Be(_)&&(F=Pe),F){var I=F(t,s);if(I){ff(e,I,u,p);return}}B&&B(t,_,s),t==="focusout"&&mt(_)}function Gr(){fn("onMouseEnter",["mouseout","mouseover"]),fn("onMouseLeave",["mouseout","mouseover"]),fn("onPointerEnter",["pointerout","pointerover"]),fn("onPointerLeave",["pointerout","pointerover"])}function oe(e,t,s,u,p,y,w){var _=t==="mouseover"||t==="pointerover",F=t==="mouseout"||t==="pointerout";if(_&&!Lc(u)){var B=u.relatedTarget||u.fromElement;if(B&&(nh(B)||Qv(B)))return}if(!(!F&&!_)){var I;if(p.window===p)I=p;else{var re=p.ownerDocument;re?I=re.defaultView||re.parentWindow:I=window}var te,ue;if(F){var ge=u.relatedTarget||u.toElement;if(te=s,ue=ge?nh(ge):null,ue!==null){var Ce=di(ue);(ue!==Ce||ue.tag!==L&&ue.tag!==j)&&(ue=null)}}else te=null,ue=s;if(te!==ue){var tt=Jl,St="onMouseLeave",Pt="onMouseEnter",pn="mouse";(t==="pointerout"||t==="pointerover")&&(tt=ok,St="onPointerLeave",Pt="onPointerEnter",pn="pointer");var un=te==null?I:Vm(te),se=ue==null?I:Vm(ue),De=new tt(St,pn+"leave",te,u,p);De.target=un,De.relatedTarget=se;var le=null,je=nh(p);if(je===s){var ut=new tt(Pt,pn+"enter",ue,u,p);ut.target=se,ut.relatedTarget=un,le=ut}h8(e,De,le,te,ue)}}}function ne(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var ie=typeof Object.is=="function"?Object.is:ne;function Ue(e,t){if(ie(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var s=Object.keys(e),u=Object.keys(t);if(s.length!==u.length)return!1;for(var p=0;p<s.length;p++){var y=s[p];if(!Jn.call(t,y)||!ie(e[y],t[y]))return!1}return!0}function wt(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Nt(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function $t(e,t){for(var s=wt(e),u=0,p=0;s;){if(s.nodeType===Po){if(p=u+s.textContent.length,u<=t&&p>=t)return{node:s,offset:t-u};u=p}s=wt(Nt(s))}}function jt(e){var t=e.ownerDocument,s=t&&t.defaultView||window,u=s.getSelection&&s.getSelection();if(!u||u.rangeCount===0)return null;var p=u.anchorNode,y=u.anchorOffset,w=u.focusNode,_=u.focusOffset;try{p.nodeType,w.nodeType}catch{return null}return Da(e,p,y,w,_)}function Da(e,t,s,u,p){var y=0,w=-1,_=-1,F=0,B=0,I=e,re=null;e:for(;;){for(var te=null;I===t&&(s===0||I.nodeType===Po)&&(w=y+s),I===u&&(p===0||I.nodeType===Po)&&(_=y+p),I.nodeType===Po&&(y+=I.nodeValue.length),(te=I.firstChild)!==null;)re=I,I=te;for(;;){if(I===e)break e;if(re===t&&++F===s&&(w=y),re===u&&++B===p&&(_=y),(te=I.nextSibling)!==null)break;I=re,re=I.parentNode}I=te}return w===-1||_===-1?null:{start:w,end:_}}function Ln(e,t){var s=e.ownerDocument||document,u=s&&s.defaultView||window;if(u.getSelection){var p=u.getSelection(),y=e.textContent.length,w=Math.min(t.start,y),_=t.end===void 0?w:Math.min(t.end,y);if(!p.extend&&w>_){var F=_;_=w,w=F}var B=$t(e,w),I=$t(e,_);if(B&&I){if(p.rangeCount===1&&p.anchorNode===B.node&&p.anchorOffset===B.offset&&p.focusNode===I.node&&p.focusOffset===I.offset)return;var re=s.createRange();re.setStart(B.node,B.offset),p.removeAllRanges(),w>_?(p.addRange(re),p.extend(I.node,I.offset)):(re.setEnd(I.node,I.offset),p.addRange(re))}}}function Kl(e){return e&&e.nodeType===Po}function gk(e,t){return!e||!t?!1:e===t?!0:Kl(e)?!1:Kl(t)?gk(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1}function J4(e){return e&&e.ownerDocument&&gk(e.ownerDocument.documentElement,e)}function Q4(e){try{return typeof e.contentWindow.location.href=="string"}catch{return!1}}function VE(){for(var e=window,t=Ti();t instanceof e.HTMLIFrameElement;){if(Q4(t))e=t.contentWindow;else return t;t=Ti(e.document)}return t}function j2(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function K4(){var e=VE();return{focusedElem:e,selectionRange:j2(e)?e8(e):null}}function Z4(e){var t=VE(),s=e.focusedElem,u=e.selectionRange;if(t!==s&&J4(s)){u!==null&&j2(s)&&t8(s,u);for(var p=[],y=s;y=y.parentNode;)y.nodeType===Qr&&p.push({element:y,left:y.scrollLeft,top:y.scrollTop});typeof s.focus=="function"&&s.focus();for(var w=0;w<p.length;w++){var _=p[w];_.element.scrollLeft=_.left,_.element.scrollTop=_.top}}}function e8(e){var t;return"selectionStart"in e?t={start:e.selectionStart,end:e.selectionEnd}:t=jt(e),t||{start:0,end:0}}function t8(e,t){var s=t.start,u=t.end;u===void 0&&(u=s),"selectionStart"in e?(e.selectionStart=s,e.selectionEnd=Math.min(u,e.value.length)):Ln(e,t)}var n8=en&&"documentMode"in document&&document.documentMode<=11;function r8(){Lt("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var zm=null,z2=null,Mv=null,U2=!1;function a8(e){if("selectionStart"in e&&j2(e))return{start:e.selectionStart,end:e.selectionEnd};var t=e.ownerDocument&&e.ownerDocument.defaultView||window,s=t.getSelection();return{anchorNode:s.anchorNode,anchorOffset:s.anchorOffset,focusNode:s.focusNode,focusOffset:s.focusOffset}}function i8(e){return e.window===e?e.document:e.nodeType===ui?e:e.ownerDocument}function YE(e,t,s){var u=i8(s);if(!(U2||zm==null||zm!==Ti(u))){var p=a8(zm);if(!Mv||!Ue(Mv,p)){Mv=p;var y=kk(z2,"onSelect");if(y.length>0){var w=new Na("onSelect","select",null,t,s);e.push({event:w,listeners:y}),w.target=zm}}}}function o8(e,t,s,u,p,y,w){var _=s?Vm(s):window;switch(t){case"focusin":(mk(_)||_.contentEditable==="true")&&(zm=_,z2=s,Mv=null);break;case"focusout":zm=null,z2=null,Mv=null;break;case"mousedown":U2=!0;break;case"contextmenu":case"mouseup":case"dragend":U2=!1,YE(e,u,p);break;case"selectionchange":if(n8)break;case"keydown":case"keyup":YE(e,u,p)}}function vk(e,t){var s={};return s[e.toLowerCase()]=t.toLowerCase(),s["Webkit"+e]="webkit"+t,s["Moz"+e]="moz"+t,s}var Um={animationend:vk("Animation","AnimationEnd"),animationiteration:vk("Animation","AnimationIteration"),animationstart:vk("Animation","AnimationStart"),transitionend:vk("Transition","TransitionEnd")},H2={},GE={};en&&(GE=document.createElement("div").style,"AnimationEvent"in window||(delete Um.animationend.animation,delete Um.animationiteration.animation,delete Um.animationstart.animation),"TransitionEvent"in window||delete Um.transitionend.transition);function yk(e){if(H2[e])return H2[e];if(!Um[e])return e;var t=Um[e];for(var s in t)if(t.hasOwnProperty(s)&&s in GE)return H2[e]=t[s];return e}var XE=yk("animationend"),JE=yk("animationiteration"),QE=yk("animationstart"),KE=yk("transitionend"),ZE=new Map,eT=["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 pf(e,t){ZE.set(e,t),Lt(t,[e])}function s8(){for(var e=0;e<eT.length;e++){var t=eT[e],s=t.toLowerCase(),u=t[0].toUpperCase()+t.slice(1);pf(s,"on"+u)}pf(XE,"onAnimationEnd"),pf(JE,"onAnimationIteration"),pf(QE,"onAnimationStart"),pf("dblclick","onDoubleClick"),pf("focusin","onFocus"),pf("focusout","onBlur"),pf(KE,"onTransitionEnd")}function l8(e,t,s,u,p,y,w){var _=ZE.get(t);if(_!==void 0){var F=Na,B=t;switch(t){case"keypress":if(od(u)===0)return;case"keydown":case"keyup":F=L2;break;case"focusin":B="focus",F=Qp;break;case"focusout":B="blur",F=Qp;break;case"beforeblur":case"afterblur":F=Qp;break;case"click":if(u.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":F=Jl;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":F=$v;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":F=sk;break;case XE:case JE:case QE:F=ek;break;case KE:F=B2;break;case"scroll":F=ws;break;case"wheel":F=Nv;break;case"copy":case"cut":case"paste":F=Pv;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":F=ok;break}var I=(y&Fi)!==0;{var re=!I&&t==="scroll",te=f8(s,_,u.type,I,re);if(te.length>0){var ue=new F(_,B,null,u,p);e.push({event:ue,listeners:te})}}}}s8(),Gr(),I2(),r8(),Rv();function u8(e,t,s,u,p,y,w){l8(e,t,s,u,p,y);var _=(y&bp)===0;_&&(oe(e,t,s,u,p),kt(e,t,s,u,p),o8(e,t,s,u,p),Im(e,t,s,u,p))}var Iv=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],W2=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(Iv));function tT(e,t,s){var u=e.type||"unknown-event";e.currentTarget=s,io(u,t,void 0,e),e.currentTarget=null}function c8(e,t,s){var u;if(s)for(var p=t.length-1;p>=0;p--){var y=t[p],w=y.instance,_=y.currentTarget,F=y.listener;if(w!==u&&e.isPropagationStopped())return;tT(e,F,_),u=w}else for(var B=0;B<t.length;B++){var I=t[B],re=I.instance,te=I.currentTarget,ue=I.listener;if(re!==u&&e.isPropagationStopped())return;tT(e,ue,te),u=re}}function nT(e,t){for(var s=(t&Fi)!==0,u=0;u<e.length;u++){var p=e[u],y=p.event,w=p.listeners;c8(y,w,s)}Vs()}function d8(e,t,s,u,p){var y=kp(s),w=[];u8(w,e,u,s,y,t),nT(w,t)}function Nr(e,t){W2.has(e)||m('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var s=!1,u=z6(t),p=m8(e);u.has(p)||(rT(t,e,Xd,s),u.add(p))}function q2(e,t,s){W2.has(e)&&!t&&m('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var u=0;t&&(u|=Fi),rT(s,e,u,t)}var bk="_reactListening"+Math.random().toString(36).slice(2);function jv(e){if(!e[bk]){e[bk]=!0,ht.forEach(function(s){s!=="selectionchange"&&(W2.has(s)||q2(s,!1,e),q2(s,!0,e))});var t=e.nodeType===ui?e:e.ownerDocument;t!==null&&(t[bk]||(t[bk]=!0,q2("selectionchange",!1,t)))}}function rT(e,t,s,u,p){var y=ta(e,t,s),w=void 0;Hu&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(w=!0),e=e,u?w!==void 0?ji(e,t,y,w):Xp(e,t,y):w!==void 0?Tv(e,t,y,w):Ev(e,t,y)}function aT(e,t){return e===t||e.nodeType===er&&e.parentNode===t}function V2(e,t,s,u,p){var y=u;if(!(t&Gd)&&!(t&Xd)){var w=p;if(u!==null){var _=u;e:for(;;){if(_===null)return;var F=_.tag;if(F===N||F===R){var B=_.stateNode.containerInfo;if(aT(B,w))break;if(F===R)for(var I=_.return;I!==null;){var re=I.tag;if(re===N||re===R){var te=I.stateNode.containerInfo;if(aT(te,w))return}I=I.return}for(;B!==null;){var ue=nh(B);if(ue===null)return;var ge=ue.tag;if(ge===L||ge===j){_=y=ue;continue e}B=B.parentNode}}_=_.return}}}um(function(){return d8(e,t,s,y)})}function zv(e,t,s){return{instance:e,listener:t,currentTarget:s}}function f8(e,t,s,u,p,y){for(var w=t!==null?t+"Capture":null,_=u?w:t,F=[],B=e,I=null;B!==null;){var re=B,te=re.stateNode,ue=re.tag;if(ue===L&&te!==null&&(I=te,_!==null)){var ge=us(B,_);ge!=null&&F.push(zv(B,ge,I))}if(p)break;B=B.return}return F}function kk(e,t){for(var s=t+"Capture",u=[],p=e;p!==null;){var y=p,w=y.stateNode,_=y.tag;if(_===L&&w!==null){var F=w,B=us(p,s);B!=null&&u.unshift(zv(p,B,F));var I=us(p,t);I!=null&&u.push(zv(p,I,F))}p=p.return}return u}function Hm(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==L);return e||null}function p8(e,t){for(var s=e,u=t,p=0,y=s;y;y=Hm(y))p++;for(var w=0,_=u;_;_=Hm(_))w++;for(;p-w>0;)s=Hm(s),p--;for(;w-p>0;)u=Hm(u),w--;for(var F=p;F--;){if(s===u||u!==null&&s===u.alternate)return s;s=Hm(s),u=Hm(u)}return null}function iT(e,t,s,u,p){for(var y=t._reactName,w=[],_=s;_!==null&&_!==u;){var F=_,B=F.alternate,I=F.stateNode,re=F.tag;if(B!==null&&B===u)break;if(re===L&&I!==null){var te=I;if(p){var ue=us(_,y);ue!=null&&w.unshift(zv(_,ue,te))}else if(!p){var ge=us(_,y);ge!=null&&w.push(zv(_,ge,te))}}_=_.return}w.length!==0&&e.push({event:t,listeners:w})}function h8(e,t,s,u,p){var y=u&&p?p8(u,p):null;u!==null&&iT(e,t,u,y,!1),p!==null&&s!==null&&iT(e,s,p,y,!0)}function m8(e,t){return e+"__bubble"}var Wo=!1,Uv="dangerouslySetInnerHTML",wk="suppressContentEditableWarning",hf="suppressHydrationWarning",oT="autoFocus",eh="children",th="style",Dk="__html",Y2,Sk,Hv,sT,Ck,lT,uT;Y2={dialog:!0,webview:!0},Sk=function(e,t){Iu(e,t),ju(e,t),Rc(e,t,{registrationNameDependencies:bt,possibleRegistrationNames:vt})},lT=en&&!document.documentMode,Hv=function(e,t,s){if(!Wo){var u=xk(s),p=xk(t);p!==u&&(Wo=!0,m("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(p),JSON.stringify(u)))}},sT=function(e){if(!Wo){Wo=!0;var t=[];e.forEach(function(s){t.push(s)}),m("Extra attributes from the server: %s",t)}},Ck=function(e,t){t===!1?m("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):m("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)},uT=function(e,t){var s=e.namespaceURI===li?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return s.innerHTML=t,s.innerHTML};var g8=/\r\n?/g,v8=/\u0000|\uFFFD/g;function xk(e){kr(e);var t=typeof e=="string"?e:""+e;return t.replace(g8,`
193
- `).replace(v8,"")}function _k(e,t,s,u){var p=xk(t),y=xk(e);if(y!==p&&(u&&(Wo||(Wo=!0,m('Text content did not match. Server: "%s" Client: "%s"',y,p))),s&&Oe))throw new Error("Text content does not match server-rendered HTML.")}function cT(e){return e.nodeType===ui?e:e.ownerDocument}function y8(){}function Ek(e){e.onclick=y8}function b8(e,t,s,u,p){for(var y in u)if(u.hasOwnProperty(y)){var w=u[y];if(y===th)w&&Object.freeze(w),im(t,w);else if(y===Uv){var _=w?w[Dk]:void 0;_!=null&&zd(t,_)}else if(y===eh)if(typeof w=="string"){var F=e!=="textarea"||w!=="";F&&is(t,w)}else typeof w=="number"&&is(t,""+w);else y===wk||y===hf||y===oT||(bt.hasOwnProperty(y)?w!=null&&(typeof w!="function"&&Ck(y,w),y==="onScroll"&&Nr("scroll",t)):w!=null&&lr(t,y,w,p))}}function k8(e,t,s,u){for(var p=0;p<t.length;p+=2){var y=t[p],w=t[p+1];y===th?im(e,w):y===Uv?zd(e,w):y===eh?is(e,w):lr(e,y,w,u)}}function w8(e,t,s,u){var p,y=cT(s),w,_=u;if(_===li&&(_=cp(e)),_===li){if(p=ss(e,t),!p&&e!==e.toLowerCase()&&m("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),e==="script"){var F=y.createElement("div");F.innerHTML="<script><\/script>";var B=F.firstChild;w=F.removeChild(B)}else if(typeof t.is=="string")w=y.createElement(e,{is:t.is});else if(w=y.createElement(e),e==="select"){var I=w;t.multiple?I.multiple=!0:t.size&&(I.size=t.size)}}else w=y.createElementNS(_,e);return _===li&&!p&&Object.prototype.toString.call(w)==="[object HTMLUnknownElement]"&&!Jn.call(Y2,e)&&(Y2[e]=!0,m("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e)),w}function D8(e,t){return cT(t).createTextNode(e)}function S8(e,t,s,u){var p=ss(t,s);Sk(t,s);var y;switch(t){case"dialog":Nr("cancel",e),Nr("close",e),y=s;break;case"iframe":case"object":case"embed":Nr("load",e),y=s;break;case"video":case"audio":for(var w=0;w<Iv.length;w++)Nr(Iv[w],e);y=s;break;case"source":Nr("error",e),y=s;break;case"img":case"image":case"link":Nr("error",e),Nr("load",e),y=s;break;case"details":Nr("toggle",e),y=s;break;case"input":ro(e,s),y=Pu(e,s),Nr("invalid",e);break;case"option":wn(e,s),y=s;break;case"select":_l(e,s),y=Ac(e,s),Nr("invalid",e);break;case"textarea":jd(e,s),y=sp(e,s),Nr("invalid",e);break;default:y=s}switch(Wd(t,y),b8(t,e,u,y,p),t){case"input":no(e),fe(e,s,!1);break;case"textarea":no(e),Qh(e);break;case"option":zn(e,s);break;case"select":Md(e,s);break;default:typeof y.onClick=="function"&&Ek(e);break}}function C8(e,t,s,u,p){Sk(t,u);var y=null,w,_;switch(t){case"input":w=Pu(e,s),_=Pu(e,u),y=[];break;case"select":w=Ac(e,s),_=Ac(e,u),y=[];break;case"textarea":w=sp(e,s),_=sp(e,u),y=[];break;default:w=s,_=u,typeof w.onClick!="function"&&typeof _.onClick=="function"&&Ek(e);break}Wd(t,_);var F,B,I=null;for(F in w)if(!(_.hasOwnProperty(F)||!w.hasOwnProperty(F)||w[F]==null))if(F===th){var re=w[F];for(B in re)re.hasOwnProperty(B)&&(I||(I={}),I[B]="")}else F===Uv||F===eh||F===wk||F===hf||F===oT||(bt.hasOwnProperty(F)?y||(y=[]):(y=y||[]).push(F,null));for(F in _){var te=_[F],ue=w!=null?w[F]:void 0;if(!(!_.hasOwnProperty(F)||te===ue||te==null&&ue==null))if(F===th)if(te&&Object.freeze(te),ue){for(B in ue)ue.hasOwnProperty(B)&&(!te||!te.hasOwnProperty(B))&&(I||(I={}),I[B]="");for(B in te)te.hasOwnProperty(B)&&ue[B]!==te[B]&&(I||(I={}),I[B]=te[B])}else I||(y||(y=[]),y.push(F,I)),I=te;else if(F===Uv){var ge=te?te[Dk]:void 0,Ce=ue?ue[Dk]:void 0;ge!=null&&Ce!==ge&&(y=y||[]).push(F,ge)}else F===eh?(typeof te=="string"||typeof te=="number")&&(y=y||[]).push(F,""+te):F===wk||F===hf||(bt.hasOwnProperty(F)?(te!=null&&(typeof te!="function"&&Ck(F,te),F==="onScroll"&&Nr("scroll",e)),!y&&ue!==te&&(y=[])):(y=y||[]).push(F,te))}return I&&(sm(I,_[th]),(y=y||[]).push(th,I)),y}function x8(e,t,s,u,p){s==="input"&&p.type==="radio"&&p.name!=null&&A(e,p);var y=ss(s,u),w=ss(s,p);switch(k8(e,t,y,w),s){case"input":V(e,p);break;case"textarea":lp(e,p);break;case"select":Id(e,p);break}}function _8(e){{var t=e.toLowerCase();return Nc.hasOwnProperty(t)&&Nc[t]||null}}function E8(e,t,s,u,p,y,w){var _,F;switch(_=ss(t,s),Sk(t,s),t){case"dialog":Nr("cancel",e),Nr("close",e);break;case"iframe":case"object":case"embed":Nr("load",e);break;case"video":case"audio":for(var B=0;B<Iv.length;B++)Nr(Iv[B],e);break;case"source":Nr("error",e);break;case"img":case"image":case"link":Nr("error",e),Nr("load",e);break;case"details":Nr("toggle",e);break;case"input":ro(e,s),Nr("invalid",e);break;case"option":wn(e,s);break;case"select":_l(e,s),Nr("invalid",e);break;case"textarea":jd(e,s),Nr("invalid",e);break}Wd(t,s);{F=new Set;for(var I=e.attributes,re=0;re<I.length;re++){var te=I[re].name.toLowerCase();switch(te){case"value":break;case"checked":break;case"selected":break;default:F.add(I[re].name)}}}var ue=null;for(var ge in s)if(s.hasOwnProperty(ge)){var Ce=s[ge];if(ge===eh)typeof Ce=="string"?e.textContent!==Ce&&(s[hf]!==!0&&_k(e.textContent,Ce,y,w),ue=[eh,Ce]):typeof Ce=="number"&&e.textContent!==""+Ce&&(s[hf]!==!0&&_k(e.textContent,Ce,y,w),ue=[eh,""+Ce]);else if(bt.hasOwnProperty(ge))Ce!=null&&(typeof Ce!="function"&&Ck(ge,Ce),ge==="onScroll"&&Nr("scroll",e));else if(w&&typeof _=="boolean"){var tt=void 0,St=ma(ge);if(s[hf]!==!0&&!(ge===wk||ge===hf||ge==="value"||ge==="checked"||ge==="selected")){if(ge===Uv){var Pt=e.innerHTML,pn=Ce?Ce[Dk]:void 0;if(pn!=null){var un=uT(e,pn);un!==Pt&&Hv(ge,Pt,un)}}else if(ge===th){if(F.delete(ge),lT){var se=av(Ce);tt=e.getAttribute("style"),se!==tt&&Hv(ge,tt,se)}}else if(_)F.delete(ge.toLowerCase()),tt=Ci(e,ge,Ce),Ce!==tt&&Hv(ge,tt,Ce);else if(!xn(ge,St,_)&&!bn(ge,Ce,St,_)){var De=!1;if(St!==null)F.delete(St.attributeName),tt=Ji(e,ge,Ce,St);else{var le=u;if(le===li&&(le=cp(t)),le===li)F.delete(ge.toLowerCase());else{var je=_8(ge);je!==null&&je!==ge&&(De=!0,F.delete(je)),F.delete(ge)}tt=Ci(e,ge,Ce)}var ut=Q;!ut&&Ce!==tt&&!De&&Hv(ge,tt,Ce)}}}}switch(w&&F.size>0&&s[hf]!==!0&&sT(F),t){case"input":no(e),fe(e,s,!0);break;case"textarea":no(e),Qh(e);break;case"select":case"option":break;default:typeof s.onClick=="function"&&Ek(e);break}return ue}function T8(e,t,s){var u=e.nodeValue!==t;return u}function G2(e,t){{if(Wo)return;Wo=!0,m("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function X2(e,t){{if(Wo)return;Wo=!0,m('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase())}}function J2(e,t,s){{if(Wo)return;Wo=!0,m("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function Q2(e,t){{if(t===""||Wo)return;Wo=!0,m('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())}}function F8(e,t,s){switch(t){case"input":ke(e,s);return;case"textarea":up(e,s);return;case"select":op(e,s);return}}var Wv=function(){},qv=function(){};{var A8=["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"],dT=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],$8=dT.concat(["button"]),P8=["dd","dt","li","option","optgroup","p","rp","rt"],fT={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};qv=function(e,t){var s=Jt({},e||fT),u={tag:t};return dT.indexOf(t)!==-1&&(s.aTagInScope=null,s.buttonTagInScope=null,s.nobrTagInScope=null),$8.indexOf(t)!==-1&&(s.pTagInButtonScope=null),A8.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(s.listItemTagAutoclosing=null,s.dlItemTagAutoclosing=null),s.current=u,t==="form"&&(s.formTag=u),t==="a"&&(s.aTagInScope=u),t==="button"&&(s.buttonTagInScope=u),t==="nobr"&&(s.nobrTagInScope=u),t==="p"&&(s.pTagInButtonScope=u),t==="li"&&(s.listItemTagAutoclosing=u),(t==="dd"||t==="dt")&&(s.dlItemTagAutoclosing=u),s};var N8=function(e,t){switch(t){case"select":return e==="option"||e==="optgroup"||e==="#text";case"optgroup":return e==="option"||e==="#text";case"option":return e==="#text";case"tr":return e==="th"||e==="td"||e==="style"||e==="script"||e==="template";case"tbody":case"thead":case"tfoot":return e==="tr"||e==="style"||e==="script"||e==="template";case"colgroup":return e==="col"||e==="template";case"table":return e==="caption"||e==="colgroup"||e==="tbody"||e==="tfoot"||e==="thead"||e==="style"||e==="script"||e==="template";case"head":return e==="base"||e==="basefont"||e==="bgsound"||e==="link"||e==="meta"||e==="title"||e==="noscript"||e==="noframes"||e==="style"||e==="script"||e==="template";case"html":return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":return e==="html"}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6";case"rp":case"rt":return P8.indexOf(t)===-1;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 t==null}return!0},R8=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},pT={};Wv=function(e,t,s){s=s||fT;var u=s.current,p=u&&u.tag;t!=null&&(e!=null&&m("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var y=N8(e,p)?null:u,w=y?null:R8(e,s),_=y||w;if(_){var F=_.tag,B=!!y+"|"+e+"|"+F;if(!pT[B]){pT[B]=!0;var I=e,re="";if(e==="#text"?/\S/.test(t)?I="Text nodes":(I="Whitespace text nodes",re=" Make sure you don't have any extra whitespace between tags on each line of your source code."):I="<"+e+">",y){var te="";F==="table"&&e==="tr"&&(te+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),m("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",I,F,re,te)}else m("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",I,F)}}}}var Tk="suppressHydrationWarning",Fk="$",Ak="/$",Vv="$?",Yv="$!",L8="style",K2=null,Z2=null;function O8(e){var t,s,u=e.nodeType;switch(u){case ui:case Fl:{t=u===ui?"#document":"#fragment";var p=e.documentElement;s=p?p.namespaceURI:Tl(null,"");break}default:{var y=u===er?e.parentNode:e,w=y.namespaceURI||null;t=y.tagName,s=Tl(w,t);break}}{var _=t.toLowerCase(),F=qv(null,_);return{namespace:s,ancestorInfo:F}}}function B8(e,t,s){{var u=e,p=Tl(u.namespace,t),y=qv(u.ancestorInfo,t);return{namespace:p,ancestorInfo:y}}}function M8(e){K2=wa(),Z2=K4();var t=null;return Fn(!1),t}function I8(e){Z4(Z2),Fn(K2),K2=null,Z2=null}function j8(e,t,s,u,p){var y;{var w=u;if(Wv(e,null,w.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var _=""+t.children,F=qv(w.ancestorInfo,e);Wv(null,_,F)}y=w.namespace}var B=w8(e,t,s,y);return Jv(p,B),sD(B,t),B}function z8(e,t){e.appendChild(t)}function U8(e,t,s,u,p){switch(S8(e,t,s,u),t){case"button":case"input":case"select":case"textarea":return!!s.autoFocus;case"img":return!0;default:return!1}}function H8(e,t,s,u,p,y){{var w=y;if(typeof u.children!=typeof s.children&&(typeof u.children=="string"||typeof u.children=="number")){var _=""+u.children,F=qv(w.ancestorInfo,t);Wv(null,_,F)}}return C8(e,t,s,u)}function eD(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function W8(e,t,s,u){{var p=s;Wv(null,e,p.ancestorInfo)}var y=D8(e,t);return Jv(u,y),y}function q8(){var e=window.event;return e===void 0?tl:Gp(e.type)}var tD=typeof setTimeout=="function"?setTimeout:void 0,V8=typeof clearTimeout=="function"?clearTimeout:void 0,nD=-1,hT=typeof Promise=="function"?Promise:void 0,Y8=typeof queueMicrotask=="function"?queueMicrotask:typeof hT<"u"?function(e){return hT.resolve(null).then(e).catch(G8)}:tD;function G8(e){setTimeout(function(){throw e})}function X8(e,t,s,u){switch(t){case"button":case"input":case"select":case"textarea":s.autoFocus&&e.focus();return;case"img":{s.src&&(e.src=s.src);return}}}function J8(e,t,s,u,p,y){x8(e,t,s,u,p),sD(e,p)}function mT(e){is(e,"")}function Q8(e,t,s){e.nodeValue=s}function K8(e,t){e.appendChild(t)}function Z8(e,t){var s;e.nodeType===er?(s=e.parentNode,s.insertBefore(t,e)):(s=e,s.appendChild(t));var u=e._reactRootContainer;u==null&&s.onclick===null&&Ek(s)}function e6(e,t,s){e.insertBefore(t,s)}function t6(e,t,s){e.nodeType===er?e.parentNode.insertBefore(t,s):e.insertBefore(t,s)}function n6(e,t){e.removeChild(t)}function r6(e,t){e.nodeType===er?e.parentNode.removeChild(t):e.removeChild(t)}function rD(e,t){var s=t,u=0;do{var p=s.nextSibling;if(e.removeChild(s),p&&p.nodeType===er){var y=p.data;if(y===Ak)if(u===0){e.removeChild(p),Ku(t);return}else u--;else(y===Fk||y===Vv||y===Yv)&&u++}s=p}while(s);Ku(t)}function a6(e,t){e.nodeType===er?rD(e.parentNode,t):e.nodeType===Qr&&rD(e,t),Ku(e)}function i6(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function o6(e){e.nodeValue=""}function s6(e,t){e=e;var s=t[L8],u=s!=null&&s.hasOwnProperty("display")?s.display:null;e.style.display=Nu("display",u)}function l6(e,t){e.nodeValue=t}function u6(e){e.nodeType===Qr?e.textContent="":e.nodeType===ui&&e.documentElement&&e.removeChild(e.documentElement)}function c6(e,t,s){return e.nodeType!==Qr||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function d6(e,t){return t===""||e.nodeType!==Po?null:e}function f6(e){return e.nodeType!==er?null:e}function gT(e){return e.data===Vv}function aD(e){return e.data===Yv}function p6(e){var t=e.nextSibling&&e.nextSibling.dataset,s,u,p;return t&&(s=t.dgst,u=t.msg,p=t.stck),{message:u,digest:s,stack:p}}function h6(e,t){e._reactRetry=t}function $k(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===Qr||t===Po)break;if(t===er){var s=e.data;if(s===Fk||s===Yv||s===Vv)break;if(s===Ak)return null}}return e}function Gv(e){return $k(e.nextSibling)}function m6(e){return $k(e.firstChild)}function g6(e){return $k(e.firstChild)}function v6(e){return $k(e.nextSibling)}function y6(e,t,s,u,p,y,w){Jv(y,e),sD(e,s);var _;{var F=p;_=F.namespace}var B=(y.mode&rn)!==xt;return E8(e,t,s,_,u,B,w)}function b6(e,t,s,u){return Jv(s,e),s.mode&rn,T8(e,t)}function k6(e,t){Jv(t,e)}function w6(e){for(var t=e.nextSibling,s=0;t;){if(t.nodeType===er){var u=t.data;if(u===Ak){if(s===0)return Gv(t);s--}else(u===Fk||u===Yv||u===Vv)&&s++}t=t.nextSibling}return null}function vT(e){for(var t=e.previousSibling,s=0;t;){if(t.nodeType===er){var u=t.data;if(u===Fk||u===Yv||u===Vv){if(s===0)return t;s--}else u===Ak&&s++}t=t.previousSibling}return null}function D6(e){Ku(e)}function S6(e){Ku(e)}function C6(e){return e!=="head"&&e!=="body"}function x6(e,t,s,u){var p=!0;_k(t.nodeValue,s,u,p)}function _6(e,t,s,u,p,y){if(t[Tk]!==!0){var w=!0;_k(u.nodeValue,p,y,w)}}function E6(e,t){t.nodeType===Qr?G2(e,t):t.nodeType===er||X2(e,t)}function T6(e,t){{var s=e.parentNode;s!==null&&(t.nodeType===Qr?G2(s,t):t.nodeType===er||X2(s,t))}}function F6(e,t,s,u,p){(p||t[Tk]!==!0)&&(u.nodeType===Qr?G2(s,u):u.nodeType===er||X2(s,u))}function A6(e,t,s){J2(e,t)}function $6(e,t){Q2(e,t)}function P6(e,t,s){{var u=e.parentNode;u!==null&&J2(u,t)}}function N6(e,t){{var s=e.parentNode;s!==null&&Q2(s,t)}}function R6(e,t,s,u,p,y){(y||t[Tk]!==!0)&&J2(s,u)}function L6(e,t,s,u,p){(p||t[Tk]!==!0)&&Q2(s,u)}function O6(e){m("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function B6(e){jv(e)}var Wm=Math.random().toString(36).slice(2),qm="__reactFiber$"+Wm,iD="__reactProps$"+Wm,Xv="__reactContainer$"+Wm,oD="__reactEvents$"+Wm,M6="__reactListeners$"+Wm,I6="__reactHandles$"+Wm;function j6(e){delete e[qm],delete e[iD],delete e[oD],delete e[M6],delete e[I6]}function Jv(e,t){t[qm]=e}function Pk(e,t){t[Xv]=e}function yT(e){e[Xv]=null}function Qv(e){return!!e[Xv]}function nh(e){var t=e[qm];if(t)return t;for(var s=e.parentNode;s;){if(t=s[Xv]||s[qm],t){var u=t.alternate;if(t.child!==null||u!==null&&u.child!==null)for(var p=vT(e);p!==null;){var y=p[qm];if(y)return y;p=vT(p)}return t}e=s,s=e.parentNode}return null}function mf(e){var t=e[qm]||e[Xv];return t&&(t.tag===L||t.tag===j||t.tag===X||t.tag===N)?t:null}function Vm(e){if(e.tag===L||e.tag===j)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function Nk(e){return e[iD]||null}function sD(e,t){e[iD]=t}function z6(e){var t=e[oD];return t===void 0&&(t=e[oD]=new Set),t}var bT={},kT=i.ReactDebugCurrentFrame;function Rk(e){if(e){var t=e._owner,s=oi(e.type,e._source,t?t.type:null);kT.setExtraStackFrame(s)}else kT.setExtraStackFrame(null)}function Zl(e,t,s,u,p){{var y=Function.call.bind(Jn);for(var w in e)if(y(e,w)){var _=void 0;try{if(typeof e[w]!="function"){var F=Error((u||"React class")+": "+s+" type `"+w+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[w]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw F.name="Invariant Violation",F}_=e[w](t,w,u,s,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(B){_=B}_&&!(_ instanceof Error)&&(Rk(p),m("%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).",u||"React class",s,w,typeof _),Rk(null)),_ instanceof Error&&!(_.message in bT)&&(bT[_.message]=!0,Rk(p),m("Failed %s type: %s",s,_.message),Rk(null))}}}var lD=[],Lk;Lk=[];var dd=-1;function gf(e){return{current:e}}function zi(e,t){if(dd<0){m("Unexpected pop.");return}t!==Lk[dd]&&m("Unexpected Fiber popped."),e.current=lD[dd],lD[dd]=null,Lk[dd]=null,dd--}function Ui(e,t,s){dd++,lD[dd]=e.current,Lk[dd]=s,e.current=t}var uD;uD={};var Ss={};Object.freeze(Ss);var fd=gf(Ss),oc=gf(!1),cD=Ss;function Ym(e,t,s){return s&&sc(t)?cD:fd.current}function wT(e,t,s){{var u=e.stateNode;u.__reactInternalMemoizedUnmaskedChildContext=t,u.__reactInternalMemoizedMaskedChildContext=s}}function Gm(e,t){{var s=e.type,u=s.contextTypes;if(!u)return Ss;var p=e.stateNode;if(p&&p.__reactInternalMemoizedUnmaskedChildContext===t)return p.__reactInternalMemoizedMaskedChildContext;var y={};for(var w in u)y[w]=t[w];{var _=Bt(e)||"Unknown";Zl(u,y,"context",_)}return p&&wT(e,t,y),y}}function Ok(){return oc.current}function sc(e){{var t=e.childContextTypes;return t!=null}}function Bk(e){zi(oc,e),zi(fd,e)}function dD(e){zi(oc,e),zi(fd,e)}function DT(e,t,s){{if(fd.current!==Ss)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");Ui(fd,t,e),Ui(oc,s,e)}}function ST(e,t,s){{var u=e.stateNode,p=t.childContextTypes;if(typeof u.getChildContext!="function"){{var y=Bt(e)||"Unknown";uD[y]||(uD[y]=!0,m("%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.",y,y))}return s}var w=u.getChildContext();for(var _ in w)if(!(_ in p))throw new Error((Bt(e)||"Unknown")+'.getChildContext(): key "'+_+'" is not defined in childContextTypes.');{var F=Bt(e)||"Unknown";Zl(p,w,"child context",F)}return Jt({},s,w)}}function Mk(e){{var t=e.stateNode,s=t&&t.__reactInternalMemoizedMergedChildContext||Ss;return cD=fd.current,Ui(fd,s,e),Ui(oc,oc.current,e),!0}}function CT(e,t,s){{var u=e.stateNode;if(!u)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(s){var p=ST(e,t,cD);u.__reactInternalMemoizedMergedChildContext=p,zi(oc,e),zi(fd,e),Ui(fd,p,e),Ui(oc,s,e)}else zi(oc,e),Ui(oc,s,e)}}function U6(e){{if(!Js(e)||e.tag!==T)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 N:return t.stateNode.context;case T:{var s=t.type;if(sc(s))return t.stateNode.__reactInternalMemoizedMergedChildContext;break}}t=t.return}while(t!==null);throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}}var vf=0,Ik=1,pd=null,fD=!1,pD=!1;function xT(e){pd===null?pd=[e]:pd.push(e)}function H6(e){fD=!0,xT(e)}function _T(){fD&&yf()}function yf(){if(!pD&&pd!==null){pD=!0;var e=0,t=bs();try{var s=!0,u=pd;for(ua(Mi);e<u.length;e++){var p=u[e];do p=p(s);while(p!==null)}pd=null,fD=!1}catch(y){throw pd!==null&&(pd=pd.slice(e+1)),Sp(Yu,yf),y}finally{ua(t),pD=!1}}return null}var Xm=[],Jm=0,jk=null,zk=0,il=[],ol=0,rh=null,hd=1,md="";function W6(e){return ih(),(e.flags&oo)!==Ct}function q6(e){return ih(),zk}function V6(){var e=md,t=hd,s=t&~Y6(t);return s.toString(32)+e}function ah(e,t){ih(),Xm[Jm++]=zk,Xm[Jm++]=jk,jk=e,zk=t}function ET(e,t,s){ih(),il[ol++]=hd,il[ol++]=md,il[ol++]=rh,rh=e;var u=hd,p=md,y=Uk(u)-1,w=u&~(1<<y),_=s+1,F=Uk(t)+y;if(F>30){var B=y-y%5,I=(1<<B)-1,re=(w&I).toString(32),te=w>>B,ue=y-B,ge=Uk(t)+ue,Ce=_<<ue,tt=Ce|te,St=re+p;hd=1<<ge|tt,md=St}else{var Pt=_<<y,pn=Pt|w,un=p;hd=1<<F|pn,md=un}}function hD(e){ih();var t=e.return;if(t!==null){var s=1,u=0;ah(e,s),ET(e,s,u)}}function Uk(e){return 32-Mr(e)}function Y6(e){return 1<<Uk(e)-1}function mD(e){for(;e===jk;)jk=Xm[--Jm],Xm[Jm]=null,zk=Xm[--Jm],Xm[Jm]=null;for(;e===rh;)rh=il[--ol],il[ol]=null,md=il[--ol],il[ol]=null,hd=il[--ol],il[ol]=null}function G6(){return ih(),rh!==null?{id:hd,overflow:md}:null}function X6(e,t){ih(),il[ol++]=hd,il[ol++]=md,il[ol++]=rh,hd=t.id,md=t.overflow,rh=e}function ih(){pi()||m("Expected to be hydrating. This is a bug in React. Please file an issue.")}var fi=null,sl=null,eu=!1,oh=!1,bf=null;function J6(){eu&&m("We should not be hydrating here. This is a bug in React. Please file a bug.")}function TT(){oh=!0}function Q6(){return oh}function K6(e){var t=e.stateNode.containerInfo;return sl=g6(t),fi=e,eu=!0,bf=null,oh=!1,!0}function Z6(e,t,s){return sl=v6(t),fi=e,eu=!0,bf=null,oh=!1,s!==null&&X6(e,s),!0}function FT(e,t){switch(e.tag){case N:{E6(e.stateNode.containerInfo,t);break}case L:{var s=(e.mode&rn)!==xt;F6(e.type,e.memoizedProps,e.stateNode,t,s);break}case X:{var u=e.memoizedState;u.dehydrated!==null&&T6(u.dehydrated,t);break}}}function AT(e,t){FT(e,t);var s=r7();s.stateNode=t,s.return=e;var u=e.deletions;u===null?(e.deletions=[s],e.flags|=Pi):u.push(s)}function gD(e,t){{if(oh)return;switch(e.tag){case N:{var s=e.stateNode.containerInfo;switch(t.tag){case L:var u=t.type;t.pendingProps,A6(s,u);break;case j:var p=t.pendingProps;$6(s,p);break}break}case L:{var y=e.type,w=e.memoizedProps,_=e.stateNode;switch(t.tag){case L:{var F=t.type,B=t.pendingProps,I=(e.mode&rn)!==xt;R6(y,w,_,F,B,I);break}case j:{var re=t.pendingProps,te=(e.mode&rn)!==xt;L6(y,w,_,re,te);break}}break}case X:{var ue=e.memoizedState,ge=ue.dehydrated;if(ge!==null)switch(t.tag){case L:var Ce=t.type;t.pendingProps,P6(ge,Ce);break;case j:var tt=t.pendingProps;N6(ge,tt);break}break}default:return}}}function $T(e,t){t.flags=t.flags&-4097|Ar,gD(e,t)}function PT(e,t){switch(e.tag){case L:{var s=e.type;e.pendingProps;var u=c6(t,s);return u!==null?(e.stateNode=u,fi=e,sl=m6(u),!0):!1}case j:{var p=e.pendingProps,y=d6(t,p);return y!==null?(e.stateNode=y,fi=e,sl=null,!0):!1}case X:{var w=f6(t);if(w!==null){var _={dehydrated:w,treeContext:G6(),retryLane:lo};e.memoizedState=_;var F=a7(w);return F.return=e,e.child=F,fi=e,sl=null,!0}return!1}default:return!1}}function vD(e){return(e.mode&rn)!==xt&&(e.flags&yt)===Ct}function yD(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function bD(e){if(eu){var t=sl;if(!t){vD(e)&&(gD(fi,e),yD()),$T(fi,e),eu=!1,fi=e;return}var s=t;if(!PT(e,t)){vD(e)&&(gD(fi,e),yD()),t=Gv(s);var u=fi;if(!t||!PT(e,t)){$T(fi,e),eu=!1,fi=e;return}AT(u,s)}}}function ez(e,t,s){var u=e.stateNode,p=!oh,y=y6(u,e.type,e.memoizedProps,t,s,e,p);return e.updateQueue=y,y!==null}function tz(e){var t=e.stateNode,s=e.memoizedProps,u=b6(t,s,e);if(u){var p=fi;if(p!==null)switch(p.tag){case N:{var y=p.stateNode.containerInfo,w=(p.mode&rn)!==xt;x6(y,t,s,w);break}case L:{var _=p.type,F=p.memoizedProps,B=p.stateNode,I=(p.mode&rn)!==xt;_6(_,F,B,t,s,I);break}}}return u}function nz(e){var t=e.memoizedState,s=t!==null?t.dehydrated:null;if(!s)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");k6(s,e)}function rz(e){var t=e.memoizedState,s=t!==null?t.dehydrated:null;if(!s)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 w6(s)}function NT(e){for(var t=e.return;t!==null&&t.tag!==L&&t.tag!==N&&t.tag!==X;)t=t.return;fi=t}function Hk(e){if(e!==fi)return!1;if(!eu)return NT(e),eu=!0,!1;if(e.tag!==N&&(e.tag!==L||C6(e.type)&&!eD(e.type,e.memoizedProps))){var t=sl;if(t)if(vD(e))RT(e),yD();else for(;t;)AT(e,t),t=Gv(t)}return NT(e),e.tag===X?sl=rz(e):sl=fi?Gv(e.stateNode):null,!0}function az(){return eu&&sl!==null}function RT(e){for(var t=sl;t;)FT(e,t),t=Gv(t)}function Qm(){fi=null,sl=null,eu=!1,oh=!1}function LT(){bf!==null&&(TA(bf),bf=null)}function pi(){return eu}function kD(e){bf===null?bf=[e]:bf.push(e)}var iz=i.ReactCurrentBatchConfig,oz=null;function sz(){return iz.transition}var tu={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var lz=function(e){for(var t=null,s=e;s!==null;)s.mode&Wn&&(t=s),s=s.return;return t},sh=function(e){var t=[];return e.forEach(function(s){t.push(s)}),t.sort().join(", ")},Kv=[],Zv=[],ey=[],ty=[],ny=[],ry=[],lh=new Set;tu.recordUnsafeLifecycleWarnings=function(e,t){lh.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&Kv.push(e),e.mode&Wn&&typeof t.UNSAFE_componentWillMount=="function"&&Zv.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&ey.push(e),e.mode&Wn&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&ty.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&ny.push(e),e.mode&Wn&&typeof t.UNSAFE_componentWillUpdate=="function"&&ry.push(e))},tu.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;Kv.length>0&&(Kv.forEach(function(te){e.add(Bt(te)||"Component"),lh.add(te.type)}),Kv=[]);var t=new Set;Zv.length>0&&(Zv.forEach(function(te){t.add(Bt(te)||"Component"),lh.add(te.type)}),Zv=[]);var s=new Set;ey.length>0&&(ey.forEach(function(te){s.add(Bt(te)||"Component"),lh.add(te.type)}),ey=[]);var u=new Set;ty.length>0&&(ty.forEach(function(te){u.add(Bt(te)||"Component"),lh.add(te.type)}),ty=[]);var p=new Set;ny.length>0&&(ny.forEach(function(te){p.add(Bt(te)||"Component"),lh.add(te.type)}),ny=[]);var y=new Set;if(ry.length>0&&(ry.forEach(function(te){y.add(Bt(te)||"Component"),lh.add(te.type)}),ry=[]),t.size>0){var w=sh(t);m(`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.
193
+ `).replace(v8,"")}function _k(e,t,s,u){var p=xk(t),y=xk(e);if(y!==p&&(u&&(Wo||(Wo=!0,m('Text content did not match. Server: "%s" Client: "%s"',y,p))),s&&Oe))throw new Error("Text content does not match server-rendered HTML.")}function cT(e){return e.nodeType===ui?e:e.ownerDocument}function y8(){}function Ek(e){e.onclick=y8}function b8(e,t,s,u,p){for(var y in u)if(u.hasOwnProperty(y)){var w=u[y];if(y===th)w&&Object.freeze(w),im(t,w);else if(y===Uv){var _=w?w[Dk]:void 0;_!=null&&zd(t,_)}else if(y===eh)if(typeof w=="string"){var F=e!=="textarea"||w!=="";F&&is(t,w)}else typeof w=="number"&&is(t,""+w);else y===wk||y===hf||y===oT||(bt.hasOwnProperty(y)?w!=null&&(typeof w!="function"&&Ck(y,w),y==="onScroll"&&Nr("scroll",t)):w!=null&&lr(t,y,w,p))}}function k8(e,t,s,u){for(var p=0;p<t.length;p+=2){var y=t[p],w=t[p+1];y===th?im(e,w):y===Uv?zd(e,w):y===eh?is(e,w):lr(e,y,w,u)}}function w8(e,t,s,u){var p,y=cT(s),w,_=u;if(_===li&&(_=cp(e)),_===li){if(p=ss(e,t),!p&&e!==e.toLowerCase()&&m("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),e==="script"){var F=y.createElement("div");F.innerHTML="<script><\/script>";var B=F.firstChild;w=F.removeChild(B)}else if(typeof t.is=="string")w=y.createElement(e,{is:t.is});else if(w=y.createElement(e),e==="select"){var I=w;t.multiple?I.multiple=!0:t.size&&(I.size=t.size)}}else w=y.createElementNS(_,e);return _===li&&!p&&Object.prototype.toString.call(w)==="[object HTMLUnknownElement]"&&!Jn.call(Y2,e)&&(Y2[e]=!0,m("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e)),w}function D8(e,t){return cT(t).createTextNode(e)}function S8(e,t,s,u){var p=ss(t,s);Sk(t,s);var y;switch(t){case"dialog":Nr("cancel",e),Nr("close",e),y=s;break;case"iframe":case"object":case"embed":Nr("load",e),y=s;break;case"video":case"audio":for(var w=0;w<Iv.length;w++)Nr(Iv[w],e);y=s;break;case"source":Nr("error",e),y=s;break;case"img":case"image":case"link":Nr("error",e),Nr("load",e),y=s;break;case"details":Nr("toggle",e),y=s;break;case"input":ro(e,s),y=Pu(e,s),Nr("invalid",e);break;case"option":wn(e,s),y=s;break;case"select":_l(e,s),y=Ac(e,s),Nr("invalid",e);break;case"textarea":jd(e,s),y=sp(e,s),Nr("invalid",e);break;default:y=s}switch(Wd(t,y),b8(t,e,u,y,p),t){case"input":no(e),fe(e,s,!1);break;case"textarea":no(e),Qh(e);break;case"option":zn(e,s);break;case"select":Md(e,s);break;default:typeof y.onClick=="function"&&Ek(e);break}}function C8(e,t,s,u,p){Sk(t,u);var y=null,w,_;switch(t){case"input":w=Pu(e,s),_=Pu(e,u),y=[];break;case"select":w=Ac(e,s),_=Ac(e,u),y=[];break;case"textarea":w=sp(e,s),_=sp(e,u),y=[];break;default:w=s,_=u,typeof w.onClick!="function"&&typeof _.onClick=="function"&&Ek(e);break}Wd(t,_);var F,B,I=null;for(F in w)if(!(_.hasOwnProperty(F)||!w.hasOwnProperty(F)||w[F]==null))if(F===th){var re=w[F];for(B in re)re.hasOwnProperty(B)&&(I||(I={}),I[B]="")}else F===Uv||F===eh||F===wk||F===hf||F===oT||(bt.hasOwnProperty(F)?y||(y=[]):(y=y||[]).push(F,null));for(F in _){var te=_[F],ue=w!=null?w[F]:void 0;if(!(!_.hasOwnProperty(F)||te===ue||te==null&&ue==null))if(F===th)if(te&&Object.freeze(te),ue){for(B in ue)ue.hasOwnProperty(B)&&(!te||!te.hasOwnProperty(B))&&(I||(I={}),I[B]="");for(B in te)te.hasOwnProperty(B)&&ue[B]!==te[B]&&(I||(I={}),I[B]=te[B])}else I||(y||(y=[]),y.push(F,I)),I=te;else if(F===Uv){var ge=te?te[Dk]:void 0,Ce=ue?ue[Dk]:void 0;ge!=null&&Ce!==ge&&(y=y||[]).push(F,ge)}else F===eh?(typeof te=="string"||typeof te=="number")&&(y=y||[]).push(F,""+te):F===wk||F===hf||(bt.hasOwnProperty(F)?(te!=null&&(typeof te!="function"&&Ck(F,te),F==="onScroll"&&Nr("scroll",e)),!y&&ue!==te&&(y=[])):(y=y||[]).push(F,te))}return I&&(sm(I,_[th]),(y=y||[]).push(th,I)),y}function x8(e,t,s,u,p){s==="input"&&p.type==="radio"&&p.name!=null&&A(e,p);var y=ss(s,u),w=ss(s,p);switch(k8(e,t,y,w),s){case"input":V(e,p);break;case"textarea":lp(e,p);break;case"select":Id(e,p);break}}function _8(e){{var t=e.toLowerCase();return Nc.hasOwnProperty(t)&&Nc[t]||null}}function E8(e,t,s,u,p,y,w){var _,F;switch(_=ss(t,s),Sk(t,s),t){case"dialog":Nr("cancel",e),Nr("close",e);break;case"iframe":case"object":case"embed":Nr("load",e);break;case"video":case"audio":for(var B=0;B<Iv.length;B++)Nr(Iv[B],e);break;case"source":Nr("error",e);break;case"img":case"image":case"link":Nr("error",e),Nr("load",e);break;case"details":Nr("toggle",e);break;case"input":ro(e,s),Nr("invalid",e);break;case"option":wn(e,s);break;case"select":_l(e,s),Nr("invalid",e);break;case"textarea":jd(e,s),Nr("invalid",e);break}Wd(t,s);{F=new Set;for(var I=e.attributes,re=0;re<I.length;re++){var te=I[re].name.toLowerCase();switch(te){case"value":break;case"checked":break;case"selected":break;default:F.add(I[re].name)}}}var ue=null;for(var ge in s)if(s.hasOwnProperty(ge)){var Ce=s[ge];if(ge===eh)typeof Ce=="string"?e.textContent!==Ce&&(s[hf]!==!0&&_k(e.textContent,Ce,y,w),ue=[eh,Ce]):typeof Ce=="number"&&e.textContent!==""+Ce&&(s[hf]!==!0&&_k(e.textContent,Ce,y,w),ue=[eh,""+Ce]);else if(bt.hasOwnProperty(ge))Ce!=null&&(typeof Ce!="function"&&Ck(ge,Ce),ge==="onScroll"&&Nr("scroll",e));else if(w&&typeof _=="boolean"){var tt=void 0,St=ma(ge);if(s[hf]!==!0&&!(ge===wk||ge===hf||ge==="value"||ge==="checked"||ge==="selected")){if(ge===Uv){var Pt=e.innerHTML,pn=Ce?Ce[Dk]:void 0;if(pn!=null){var un=uT(e,pn);un!==Pt&&Hv(ge,Pt,un)}}else if(ge===th){if(F.delete(ge),lT){var se=av(Ce);tt=e.getAttribute("style"),se!==tt&&Hv(ge,tt,se)}}else if(_)F.delete(ge.toLowerCase()),tt=Ci(e,ge,Ce),Ce!==tt&&Hv(ge,tt,Ce);else if(!xn(ge,St,_)&&!bn(ge,Ce,St,_)){var De=!1;if(St!==null)F.delete(St.attributeName),tt=Ji(e,ge,Ce,St);else{var le=u;if(le===li&&(le=cp(t)),le===li)F.delete(ge.toLowerCase());else{var je=_8(ge);je!==null&&je!==ge&&(De=!0,F.delete(je)),F.delete(ge)}tt=Ci(e,ge,Ce)}var ut=Q;!ut&&Ce!==tt&&!De&&Hv(ge,tt,Ce)}}}}switch(w&&F.size>0&&s[hf]!==!0&&sT(F),t){case"input":no(e),fe(e,s,!0);break;case"textarea":no(e),Qh(e);break;case"select":case"option":break;default:typeof s.onClick=="function"&&Ek(e);break}return ue}function T8(e,t,s){var u=e.nodeValue!==t;return u}function G2(e,t){{if(Wo)return;Wo=!0,m("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function X2(e,t){{if(Wo)return;Wo=!0,m('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase())}}function J2(e,t,s){{if(Wo)return;Wo=!0,m("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function Q2(e,t){{if(t===""||Wo)return;Wo=!0,m('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())}}function F8(e,t,s){switch(t){case"input":ke(e,s);return;case"textarea":up(e,s);return;case"select":op(e,s);return}}var Wv=function(){},qv=function(){};{var A8=["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"],dT=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],$8=dT.concat(["button"]),P8=["dd","dt","li","option","optgroup","p","rp","rt"],fT={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};qv=function(e,t){var s=Jt({},e||fT),u={tag:t};return dT.indexOf(t)!==-1&&(s.aTagInScope=null,s.buttonTagInScope=null,s.nobrTagInScope=null),$8.indexOf(t)!==-1&&(s.pTagInButtonScope=null),A8.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(s.listItemTagAutoclosing=null,s.dlItemTagAutoclosing=null),s.current=u,t==="form"&&(s.formTag=u),t==="a"&&(s.aTagInScope=u),t==="button"&&(s.buttonTagInScope=u),t==="nobr"&&(s.nobrTagInScope=u),t==="p"&&(s.pTagInButtonScope=u),t==="li"&&(s.listItemTagAutoclosing=u),(t==="dd"||t==="dt")&&(s.dlItemTagAutoclosing=u),s};var N8=function(e,t){switch(t){case"select":return e==="option"||e==="optgroup"||e==="#text";case"optgroup":return e==="option"||e==="#text";case"option":return e==="#text";case"tr":return e==="th"||e==="td"||e==="style"||e==="script"||e==="template";case"tbody":case"thead":case"tfoot":return e==="tr"||e==="style"||e==="script"||e==="template";case"colgroup":return e==="col"||e==="template";case"table":return e==="caption"||e==="colgroup"||e==="tbody"||e==="tfoot"||e==="thead"||e==="style"||e==="script"||e==="template";case"head":return e==="base"||e==="basefont"||e==="bgsound"||e==="link"||e==="meta"||e==="title"||e==="noscript"||e==="noframes"||e==="style"||e==="script"||e==="template";case"html":return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":return e==="html"}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6";case"rp":case"rt":return P8.indexOf(t)===-1;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 t==null}return!0},R8=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},pT={};Wv=function(e,t,s){s=s||fT;var u=s.current,p=u&&u.tag;t!=null&&(e!=null&&m("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var y=N8(e,p)?null:u,w=y?null:R8(e,s),_=y||w;if(_){var F=_.tag,B=!!y+"|"+e+"|"+F;if(!pT[B]){pT[B]=!0;var I=e,re="";if(e==="#text"?/\S/.test(t)?I="Text nodes":(I="Whitespace text nodes",re=" Make sure you don't have any extra whitespace between tags on each line of your source code."):I="<"+e+">",y){var te="";F==="table"&&e==="tr"&&(te+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),m("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",I,F,re,te)}else m("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",I,F)}}}}var Tk="suppressHydrationWarning",Fk="$",Ak="/$",Vv="$?",Yv="$!",L8="style",K2=null,Z2=null;function O8(e){var t,s,u=e.nodeType;switch(u){case ui:case Fl:{t=u===ui?"#document":"#fragment";var p=e.documentElement;s=p?p.namespaceURI:Tl(null,"");break}default:{var y=u===er?e.parentNode:e,w=y.namespaceURI||null;t=y.tagName,s=Tl(w,t);break}}{var _=t.toLowerCase(),F=qv(null,_);return{namespace:s,ancestorInfo:F}}}function B8(e,t,s){{var u=e,p=Tl(u.namespace,t),y=qv(u.ancestorInfo,t);return{namespace:p,ancestorInfo:y}}}function M8(e){K2=wa(),Z2=K4();var t=null;return Fn(!1),t}function I8(e){Z4(Z2),Fn(K2),K2=null,Z2=null}function j8(e,t,s,u,p){var y;{var w=u;if(Wv(e,null,w.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var _=""+t.children,F=qv(w.ancestorInfo,e);Wv(null,_,F)}y=w.namespace}var B=w8(e,t,s,y);return Jv(p,B),sD(B,t),B}function z8(e,t){e.appendChild(t)}function U8(e,t,s,u,p){switch(S8(e,t,s,u),t){case"button":case"input":case"select":case"textarea":return!!s.autoFocus;case"img":return!0;default:return!1}}function H8(e,t,s,u,p,y){{var w=y;if(typeof u.children!=typeof s.children&&(typeof u.children=="string"||typeof u.children=="number")){var _=""+u.children,F=qv(w.ancestorInfo,t);Wv(null,_,F)}}return C8(e,t,s,u)}function eD(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function W8(e,t,s,u){{var p=s;Wv(null,e,p.ancestorInfo)}var y=D8(e,t);return Jv(u,y),y}function q8(){var e=window.event;return e===void 0?tl:Gp(e.type)}var tD=typeof setTimeout=="function"?setTimeout:void 0,V8=typeof clearTimeout=="function"?clearTimeout:void 0,nD=-1,hT=typeof Promise=="function"?Promise:void 0,Y8=typeof queueMicrotask=="function"?queueMicrotask:typeof hT<"u"?function(e){return hT.resolve(null).then(e).catch(G8)}:tD;function G8(e){setTimeout(function(){throw e})}function X8(e,t,s,u){switch(t){case"button":case"input":case"select":case"textarea":s.autoFocus&&e.focus();return;case"img":{s.src&&(e.src=s.src);return}}}function J8(e,t,s,u,p,y){x8(e,t,s,u,p),sD(e,p)}function mT(e){is(e,"")}function Q8(e,t,s){e.nodeValue=s}function K8(e,t){e.appendChild(t)}function Z8(e,t){var s;e.nodeType===er?(s=e.parentNode,s.insertBefore(t,e)):(s=e,s.appendChild(t));var u=e._reactRootContainer;u==null&&s.onclick===null&&Ek(s)}function e6(e,t,s){e.insertBefore(t,s)}function t6(e,t,s){e.nodeType===er?e.parentNode.insertBefore(t,s):e.insertBefore(t,s)}function n6(e,t){e.removeChild(t)}function r6(e,t){e.nodeType===er?e.parentNode.removeChild(t):e.removeChild(t)}function rD(e,t){var s=t,u=0;do{var p=s.nextSibling;if(e.removeChild(s),p&&p.nodeType===er){var y=p.data;if(y===Ak)if(u===0){e.removeChild(p),Ku(t);return}else u--;else(y===Fk||y===Vv||y===Yv)&&u++}s=p}while(s);Ku(t)}function a6(e,t){e.nodeType===er?rD(e.parentNode,t):e.nodeType===Qr&&rD(e,t),Ku(e)}function i6(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function o6(e){e.nodeValue=""}function s6(e,t){e=e;var s=t[L8],u=s!=null&&s.hasOwnProperty("display")?s.display:null;e.style.display=Nu("display",u)}function l6(e,t){e.nodeValue=t}function u6(e){e.nodeType===Qr?e.textContent="":e.nodeType===ui&&e.documentElement&&e.removeChild(e.documentElement)}function c6(e,t,s){return e.nodeType!==Qr||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function d6(e,t){return t===""||e.nodeType!==Po?null:e}function f6(e){return e.nodeType!==er?null:e}function gT(e){return e.data===Vv}function aD(e){return e.data===Yv}function p6(e){var t=e.nextSibling&&e.nextSibling.dataset,s,u,p;return t&&(s=t.dgst,u=t.msg,p=t.stck),{message:u,digest:s,stack:p}}function h6(e,t){e._reactRetry=t}function $k(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===Qr||t===Po)break;if(t===er){var s=e.data;if(s===Fk||s===Yv||s===Vv)break;if(s===Ak)return null}}return e}function Gv(e){return $k(e.nextSibling)}function m6(e){return $k(e.firstChild)}function g6(e){return $k(e.firstChild)}function v6(e){return $k(e.nextSibling)}function y6(e,t,s,u,p,y,w){Jv(y,e),sD(e,s);var _;{var F=p;_=F.namespace}var B=(y.mode&rn)!==xt;return E8(e,t,s,_,u,B,w)}function b6(e,t,s,u){return Jv(s,e),s.mode&rn,T8(e,t)}function k6(e,t){Jv(t,e)}function w6(e){for(var t=e.nextSibling,s=0;t;){if(t.nodeType===er){var u=t.data;if(u===Ak){if(s===0)return Gv(t);s--}else(u===Fk||u===Yv||u===Vv)&&s++}t=t.nextSibling}return null}function vT(e){for(var t=e.previousSibling,s=0;t;){if(t.nodeType===er){var u=t.data;if(u===Fk||u===Yv||u===Vv){if(s===0)return t;s--}else u===Ak&&s++}t=t.previousSibling}return null}function D6(e){Ku(e)}function S6(e){Ku(e)}function C6(e){return e!=="head"&&e!=="body"}function x6(e,t,s,u){var p=!0;_k(t.nodeValue,s,u,p)}function _6(e,t,s,u,p,y){if(t[Tk]!==!0){var w=!0;_k(u.nodeValue,p,y,w)}}function E6(e,t){t.nodeType===Qr?G2(e,t):t.nodeType===er||X2(e,t)}function T6(e,t){{var s=e.parentNode;s!==null&&(t.nodeType===Qr?G2(s,t):t.nodeType===er||X2(s,t))}}function F6(e,t,s,u,p){(p||t[Tk]!==!0)&&(u.nodeType===Qr?G2(s,u):u.nodeType===er||X2(s,u))}function A6(e,t,s){J2(e,t)}function $6(e,t){Q2(e,t)}function P6(e,t,s){{var u=e.parentNode;u!==null&&J2(u,t)}}function N6(e,t){{var s=e.parentNode;s!==null&&Q2(s,t)}}function R6(e,t,s,u,p,y){(y||t[Tk]!==!0)&&J2(s,u)}function L6(e,t,s,u,p){(p||t[Tk]!==!0)&&Q2(s,u)}function O6(e){m("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function B6(e){jv(e)}var Wm=Math.random().toString(36).slice(2),qm="__reactFiber$"+Wm,iD="__reactProps$"+Wm,Xv="__reactContainer$"+Wm,oD="__reactEvents$"+Wm,M6="__reactListeners$"+Wm,I6="__reactHandles$"+Wm;function j6(e){delete e[qm],delete e[iD],delete e[oD],delete e[M6],delete e[I6]}function Jv(e,t){t[qm]=e}function Pk(e,t){t[Xv]=e}function yT(e){e[Xv]=null}function Qv(e){return!!e[Xv]}function nh(e){var t=e[qm];if(t)return t;for(var s=e.parentNode;s;){if(t=s[Xv]||s[qm],t){var u=t.alternate;if(t.child!==null||u!==null&&u.child!==null)for(var p=vT(e);p!==null;){var y=p[qm];if(y)return y;p=vT(p)}return t}e=s,s=e.parentNode}return null}function mf(e){var t=e[qm]||e[Xv];return t&&(t.tag===L||t.tag===j||t.tag===X||t.tag===N)?t:null}function Vm(e){if(e.tag===L||e.tag===j)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function Nk(e){return e[iD]||null}function sD(e,t){e[iD]=t}function z6(e){var t=e[oD];return t===void 0&&(t=e[oD]=new Set),t}var bT={},kT=i.ReactDebugCurrentFrame;function Rk(e){if(e){var t=e._owner,s=oi(e.type,e._source,t?t.type:null);kT.setExtraStackFrame(s)}else kT.setExtraStackFrame(null)}function Zl(e,t,s,u,p){{var y=Function.call.bind(Jn);for(var w in e)if(y(e,w)){var _=void 0;try{if(typeof e[w]!="function"){var F=Error((u||"React class")+": "+s+" type `"+w+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[w]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw F.name="Invariant Violation",F}_=e[w](t,w,u,s,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(B){_=B}_&&!(_ instanceof Error)&&(Rk(p),m("%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).",u||"React class",s,w,typeof _),Rk(null)),_ instanceof Error&&!(_.message in bT)&&(bT[_.message]=!0,Rk(p),m("Failed %s type: %s",s,_.message),Rk(null))}}}var lD=[],Lk;Lk=[];var dd=-1;function gf(e){return{current:e}}function zi(e,t){if(dd<0){m("Unexpected pop.");return}t!==Lk[dd]&&m("Unexpected Fiber popped."),e.current=lD[dd],lD[dd]=null,Lk[dd]=null,dd--}function Ui(e,t,s){dd++,lD[dd]=e.current,Lk[dd]=s,e.current=t}var uD;uD={};var Ss={};Object.freeze(Ss);var fd=gf(Ss),oc=gf(!1),cD=Ss;function Ym(e,t,s){return s&&sc(t)?cD:fd.current}function wT(e,t,s){{var u=e.stateNode;u.__reactInternalMemoizedUnmaskedChildContext=t,u.__reactInternalMemoizedMaskedChildContext=s}}function Gm(e,t){{var s=e.type,u=s.contextTypes;if(!u)return Ss;var p=e.stateNode;if(p&&p.__reactInternalMemoizedUnmaskedChildContext===t)return p.__reactInternalMemoizedMaskedChildContext;var y={};for(var w in u)y[w]=t[w];{var _=Bt(e)||"Unknown";Zl(u,y,"context",_)}return p&&wT(e,t,y),y}}function Ok(){return oc.current}function sc(e){{var t=e.childContextTypes;return t!=null}}function Bk(e){zi(oc,e),zi(fd,e)}function dD(e){zi(oc,e),zi(fd,e)}function DT(e,t,s){{if(fd.current!==Ss)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");Ui(fd,t,e),Ui(oc,s,e)}}function ST(e,t,s){{var u=e.stateNode,p=t.childContextTypes;if(typeof u.getChildContext!="function"){{var y=Bt(e)||"Unknown";uD[y]||(uD[y]=!0,m("%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.",y,y))}return s}var w=u.getChildContext();for(var _ in w)if(!(_ in p))throw new Error((Bt(e)||"Unknown")+'.getChildContext(): key "'+_+'" is not defined in childContextTypes.');{var F=Bt(e)||"Unknown";Zl(p,w,"child context",F)}return Jt({},s,w)}}function Mk(e){{var t=e.stateNode,s=t&&t.__reactInternalMemoizedMergedChildContext||Ss;return cD=fd.current,Ui(fd,s,e),Ui(oc,oc.current,e),!0}}function CT(e,t,s){{var u=e.stateNode;if(!u)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(s){var p=ST(e,t,cD);u.__reactInternalMemoizedMergedChildContext=p,zi(oc,e),zi(fd,e),Ui(fd,p,e),Ui(oc,s,e)}else zi(oc,e),Ui(oc,s,e)}}function U6(e){{if(!Js(e)||e.tag!==T)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 N:return t.stateNode.context;case T:{var s=t.type;if(sc(s))return t.stateNode.__reactInternalMemoizedMergedChildContext;break}}t=t.return}while(t!==null);throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}}var vf=0,Ik=1,pd=null,fD=!1,pD=!1;function xT(e){pd===null?pd=[e]:pd.push(e)}function H6(e){fD=!0,xT(e)}function _T(){fD&&yf()}function yf(){if(!pD&&pd!==null){pD=!0;var e=0,t=bs();try{var s=!0,u=pd;for(ua(Mi);e<u.length;e++){var p=u[e];do p=p(s);while(p!==null)}pd=null,fD=!1}catch(y){throw pd!==null&&(pd=pd.slice(e+1)),Sp(Yu,yf),y}finally{ua(t),pD=!1}}return null}var Xm=[],Jm=0,jk=null,zk=0,il=[],ol=0,rh=null,hd=1,md="";function W6(e){return ih(),(e.flags&oo)!==Ct}function q6(e){return ih(),zk}function V6(){var e=md,t=hd,s=t&~Y6(t);return s.toString(32)+e}function ah(e,t){ih(),Xm[Jm++]=zk,Xm[Jm++]=jk,jk=e,zk=t}function ET(e,t,s){ih(),il[ol++]=hd,il[ol++]=md,il[ol++]=rh,rh=e;var u=hd,p=md,y=Uk(u)-1,w=u&~(1<<y),_=s+1,F=Uk(t)+y;if(F>30){var B=y-y%5,I=(1<<B)-1,re=(w&I).toString(32),te=w>>B,ue=y-B,ge=Uk(t)+ue,Ce=_<<ue,tt=Ce|te,St=re+p;hd=1<<ge|tt,md=St}else{var Pt=_<<y,pn=Pt|w,un=p;hd=1<<F|pn,md=un}}function hD(e){ih();var t=e.return;if(t!==null){var s=1,u=0;ah(e,s),ET(e,s,u)}}function Uk(e){return 32-Mr(e)}function Y6(e){return 1<<Uk(e)-1}function mD(e){for(;e===jk;)jk=Xm[--Jm],Xm[Jm]=null,zk=Xm[--Jm],Xm[Jm]=null;for(;e===rh;)rh=il[--ol],il[ol]=null,md=il[--ol],il[ol]=null,hd=il[--ol],il[ol]=null}function G6(){return ih(),rh!==null?{id:hd,overflow:md}:null}function X6(e,t){ih(),il[ol++]=hd,il[ol++]=md,il[ol++]=rh,hd=t.id,md=t.overflow,rh=e}function ih(){pi()||m("Expected to be hydrating. This is a bug in React. Please file an issue.")}var fi=null,sl=null,eu=!1,oh=!1,bf=null;function J6(){eu&&m("We should not be hydrating here. This is a bug in React. Please file a bug.")}function TT(){oh=!0}function Q6(){return oh}function K6(e){var t=e.stateNode.containerInfo;return sl=g6(t),fi=e,eu=!0,bf=null,oh=!1,!0}function Z6(e,t,s){return sl=v6(t),fi=e,eu=!0,bf=null,oh=!1,s!==null&&X6(e,s),!0}function FT(e,t){switch(e.tag){case N:{E6(e.stateNode.containerInfo,t);break}case L:{var s=(e.mode&rn)!==xt;F6(e.type,e.memoizedProps,e.stateNode,t,s);break}case X:{var u=e.memoizedState;u.dehydrated!==null&&T6(u.dehydrated,t);break}}}function AT(e,t){FT(e,t);var s=r7();s.stateNode=t,s.return=e;var u=e.deletions;u===null?(e.deletions=[s],e.flags|=Pi):u.push(s)}function gD(e,t){{if(oh)return;switch(e.tag){case N:{var s=e.stateNode.containerInfo;switch(t.tag){case L:var u=t.type;t.pendingProps,A6(s,u);break;case j:var p=t.pendingProps;$6(s,p);break}break}case L:{var y=e.type,w=e.memoizedProps,_=e.stateNode;switch(t.tag){case L:{var F=t.type,B=t.pendingProps,I=(e.mode&rn)!==xt;R6(y,w,_,F,B,I);break}case j:{var re=t.pendingProps,te=(e.mode&rn)!==xt;L6(y,w,_,re,te);break}}break}case X:{var ue=e.memoizedState,ge=ue.dehydrated;if(ge!==null)switch(t.tag){case L:var Ce=t.type;t.pendingProps,P6(ge,Ce);break;case j:var tt=t.pendingProps;N6(ge,tt);break}break}default:return}}}function $T(e,t){t.flags=t.flags&-4097|Ar,gD(e,t)}function PT(e,t){switch(e.tag){case L:{var s=e.type;e.pendingProps;var u=c6(t,s);return u!==null?(e.stateNode=u,fi=e,sl=m6(u),!0):!1}case j:{var p=e.pendingProps,y=d6(t,p);return y!==null?(e.stateNode=y,fi=e,sl=null,!0):!1}case X:{var w=f6(t);if(w!==null){var _={dehydrated:w,treeContext:G6(),retryLane:lo};e.memoizedState=_;var F=a7(w);return F.return=e,e.child=F,fi=e,sl=null,!0}return!1}default:return!1}}function vD(e){return(e.mode&rn)!==xt&&(e.flags&yt)===Ct}function yD(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function bD(e){if(eu){var t=sl;if(!t){vD(e)&&(gD(fi,e),yD()),$T(fi,e),eu=!1,fi=e;return}var s=t;if(!PT(e,t)){vD(e)&&(gD(fi,e),yD()),t=Gv(s);var u=fi;if(!t||!PT(e,t)){$T(fi,e),eu=!1,fi=e;return}AT(u,s)}}}function e5(e,t,s){var u=e.stateNode,p=!oh,y=y6(u,e.type,e.memoizedProps,t,s,e,p);return e.updateQueue=y,y!==null}function t5(e){var t=e.stateNode,s=e.memoizedProps,u=b6(t,s,e);if(u){var p=fi;if(p!==null)switch(p.tag){case N:{var y=p.stateNode.containerInfo,w=(p.mode&rn)!==xt;x6(y,t,s,w);break}case L:{var _=p.type,F=p.memoizedProps,B=p.stateNode,I=(p.mode&rn)!==xt;_6(_,F,B,t,s,I);break}}}return u}function n5(e){var t=e.memoizedState,s=t!==null?t.dehydrated:null;if(!s)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");k6(s,e)}function r5(e){var t=e.memoizedState,s=t!==null?t.dehydrated:null;if(!s)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 w6(s)}function NT(e){for(var t=e.return;t!==null&&t.tag!==L&&t.tag!==N&&t.tag!==X;)t=t.return;fi=t}function Hk(e){if(e!==fi)return!1;if(!eu)return NT(e),eu=!0,!1;if(e.tag!==N&&(e.tag!==L||C6(e.type)&&!eD(e.type,e.memoizedProps))){var t=sl;if(t)if(vD(e))RT(e),yD();else for(;t;)AT(e,t),t=Gv(t)}return NT(e),e.tag===X?sl=r5(e):sl=fi?Gv(e.stateNode):null,!0}function a5(){return eu&&sl!==null}function RT(e){for(var t=sl;t;)FT(e,t),t=Gv(t)}function Qm(){fi=null,sl=null,eu=!1,oh=!1}function LT(){bf!==null&&(TA(bf),bf=null)}function pi(){return eu}function kD(e){bf===null?bf=[e]:bf.push(e)}var i5=i.ReactCurrentBatchConfig,o5=null;function s5(){return i5.transition}var tu={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var l5=function(e){for(var t=null,s=e;s!==null;)s.mode&Wn&&(t=s),s=s.return;return t},sh=function(e){var t=[];return e.forEach(function(s){t.push(s)}),t.sort().join(", ")},Kv=[],Zv=[],ey=[],ty=[],ny=[],ry=[],lh=new Set;tu.recordUnsafeLifecycleWarnings=function(e,t){lh.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&Kv.push(e),e.mode&Wn&&typeof t.UNSAFE_componentWillMount=="function"&&Zv.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&ey.push(e),e.mode&Wn&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&ty.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&ny.push(e),e.mode&Wn&&typeof t.UNSAFE_componentWillUpdate=="function"&&ry.push(e))},tu.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;Kv.length>0&&(Kv.forEach(function(te){e.add(Bt(te)||"Component"),lh.add(te.type)}),Kv=[]);var t=new Set;Zv.length>0&&(Zv.forEach(function(te){t.add(Bt(te)||"Component"),lh.add(te.type)}),Zv=[]);var s=new Set;ey.length>0&&(ey.forEach(function(te){s.add(Bt(te)||"Component"),lh.add(te.type)}),ey=[]);var u=new Set;ty.length>0&&(ty.forEach(function(te){u.add(Bt(te)||"Component"),lh.add(te.type)}),ty=[]);var p=new Set;ny.length>0&&(ny.forEach(function(te){p.add(Bt(te)||"Component"),lh.add(te.type)}),ny=[]);var y=new Set;if(ry.length>0&&(ry.forEach(function(te){y.add(Bt(te)||"Component"),lh.add(te.type)}),ry=[]),t.size>0){var w=sh(t);m(`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.
194
194
 
195
195
  * Move code with side effects to componentDidMount, and set initial state in the constructor.
196
196
 
@@ -219,17 +219,17 @@ Please update the following components: %s`,I)}if(p.size>0){var re=sh(p);h(`comp
219
219
  * Move data fetching code or side effects to componentDidUpdate.
220
220
  * 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.
221
221
 
222
- Please update the following components: %s`,re)}};var Wk=new Map,OT=new Set;tu.recordLegacyContextWarning=function(e,t){var s=lz(e);if(s===null){m("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.");return}if(!OT.has(e.type)){var u=Wk.get(s);(e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(u===void 0&&(u=[],Wk.set(s,u)),u.push(e))}},tu.flushLegacyContextWarning=function(){Wk.forEach(function(e,t){if(e.length!==0){var s=e[0],u=new Set;e.forEach(function(y){u.add(Bt(y)||"Component"),OT.add(y.type)});var p=sh(u);try{An(s),m(`Legacy context API has been detected within a strict-mode tree.
222
+ Please update the following components: %s`,re)}};var Wk=new Map,OT=new Set;tu.recordLegacyContextWarning=function(e,t){var s=l5(e);if(s===null){m("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.");return}if(!OT.has(e.type)){var u=Wk.get(s);(e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(u===void 0&&(u=[],Wk.set(s,u)),u.push(e))}},tu.flushLegacyContextWarning=function(){Wk.forEach(function(e,t){if(e.length!==0){var s=e[0],u=new Set;e.forEach(function(y){u.add(Bt(y)||"Component"),OT.add(y.type)});var p=sh(u);try{An(s),m(`Legacy context API has been detected within a strict-mode tree.
223
223
 
224
224
  The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
225
225
 
226
226
  Please update the following components: %s
227
227
 
228
- Learn more about this warning here: https://reactjs.org/link/legacy-context`,p)}finally{ur()}}})},tu.discardPendingWarnings=function(){Kv=[],Zv=[],ey=[],ty=[],ny=[],ry=[],Wk=new Map}}var wD,DD,SD,CD,xD,BT=function(e,t){};wD=!1,DD=!1,SD={},CD={},xD={},BT=function(e,t){if(!(e===null||typeof e!="object")&&!(!e._store||e._store.validated||e.key!=null)){if(typeof e._store!="object")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 s=Bt(t)||"Component";CD[s]||(CD[s]=!0,m('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'))}};function uz(e){return e.prototype&&e.prototype.isReactComponent}function ay(e,t,s){var u=s.ref;if(u!==null&&typeof u!="function"&&typeof u!="object"){if((e.mode&Wn||he)&&!(s._owner&&s._self&&s._owner.stateNode!==s._self)&&!(s._owner&&s._owner.tag!==T)&&!(typeof s.type=="function"&&!uz(s.type))&&s._owner){var p=Bt(e)||"Component";SD[p]||(m('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',p,u),SD[p]=!0)}if(s._owner){var y=s._owner,w;if(y){var _=y;if(_.tag!==T)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");w=_.stateNode}if(!w)throw new Error("Missing owner for string ref "+u+". This error is likely caused by a bug in React. Please file an issue.");var F=w;Xi(u,"ref");var B=""+u;if(t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===B)return t.ref;var I=function(re){var te=F.refs;re===null?delete te[B]:te[B]=re};return I._stringRef=B,I}else{if(typeof u!="string")throw new Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");if(!s._owner)throw new Error("Element ref was specified as a string ("+u+`) but no owner was set. This could happen for one of the following reasons:
228
+ Learn more about this warning here: https://reactjs.org/link/legacy-context`,p)}finally{ur()}}})},tu.discardPendingWarnings=function(){Kv=[],Zv=[],ey=[],ty=[],ny=[],ry=[],Wk=new Map}}var wD,DD,SD,CD,xD,BT=function(e,t){};wD=!1,DD=!1,SD={},CD={},xD={},BT=function(e,t){if(!(e===null||typeof e!="object")&&!(!e._store||e._store.validated||e.key!=null)){if(typeof e._store!="object")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 s=Bt(t)||"Component";CD[s]||(CD[s]=!0,m('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'))}};function u5(e){return e.prototype&&e.prototype.isReactComponent}function ay(e,t,s){var u=s.ref;if(u!==null&&typeof u!="function"&&typeof u!="object"){if((e.mode&Wn||he)&&!(s._owner&&s._self&&s._owner.stateNode!==s._self)&&!(s._owner&&s._owner.tag!==T)&&!(typeof s.type=="function"&&!u5(s.type))&&s._owner){var p=Bt(e)||"Component";SD[p]||(m('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',p,u),SD[p]=!0)}if(s._owner){var y=s._owner,w;if(y){var _=y;if(_.tag!==T)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");w=_.stateNode}if(!w)throw new Error("Missing owner for string ref "+u+". This error is likely caused by a bug in React. Please file an issue.");var F=w;Xi(u,"ref");var B=""+u;if(t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===B)return t.ref;var I=function(re){var te=F.refs;re===null?delete te[B]:te[B]=re};return I._stringRef=B,I}else{if(typeof u!="string")throw new Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");if(!s._owner)throw new Error("Element ref was specified as a string ("+u+`) but no owner was set. This could happen for one of the following reasons:
229
229
  1. You may be adding a ref to a function component
230
230
  2. You may be adding a ref to a component that was not created inside a component's render method
231
231
  3. You have multiple copies of React loaded
232
- See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return u}function qk(e,t){var s=Object.prototype.toString.call(t);throw new Error("Objects are not valid as a React child (found: "+(s==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":s)+"). If you meant to render a collection of children, use an array instead.")}function Vk(e){{var t=Bt(e)||"Component";if(xD[t])return;xD[t]=!0,m("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 MT(e){var t=e._payload,s=e._init;return s(t)}function IT(e){function t(se,De){if(e){var le=se.deletions;le===null?(se.deletions=[De],se.flags|=Pi):le.push(De)}}function s(se,De){if(!e)return null;for(var le=De;le!==null;)t(se,le),le=le.sibling;return null}function u(se,De){for(var le=new Map,je=De;je!==null;)je.key!==null?le.set(je.key,je):le.set(je.index,je),je=je.sibling;return le}function p(se,De){var le=vh(se,De);return le.index=0,le.sibling=null,le}function y(se,De,le){if(se.index=le,!e)return se.flags|=oo,De;var je=se.alternate;if(je!==null){var ut=je.index;return ut<De?(se.flags|=Ar,De):ut}else return se.flags|=Ar,De}function w(se){return e&&se.alternate===null&&(se.flags|=Ar),se}function _(se,De,le,je){if(De===null||De.tag!==j){var ut=kC(le,se.mode,je);return ut.return=se,ut}else{var it=p(De,le);return it.return=se,it}}function F(se,De,le,je){var ut=le.type;if(ut===xo)return I(se,De,le.props.children,je,le.key);if(De!==null&&(De.elementType===ut||WA(De,le)||typeof ut=="object"&&ut!==null&&ut.$$typeof===It&&MT(ut)===De.type)){var it=p(De,le.props);return it.ref=ay(se,De,le),it.return=se,it._debugSource=le._source,it._debugOwner=le._owner,it}var Mt=bC(le,se.mode,je);return Mt.ref=ay(se,De,le),Mt.return=se,Mt}function B(se,De,le,je){if(De===null||De.tag!==R||De.stateNode.containerInfo!==le.containerInfo||De.stateNode.implementation!==le.implementation){var ut=wC(le,se.mode,je);return ut.return=se,ut}else{var it=p(De,le.children||[]);return it.return=se,it}}function I(se,De,le,je,ut){if(De===null||De.tag!==J){var it=Af(le,se.mode,je,ut);return it.return=se,it}else{var Mt=p(De,le);return Mt.return=se,Mt}}function re(se,De,le){if(typeof De=="string"&&De!==""||typeof De=="number"){var je=kC(""+De,se.mode,le);return je.return=se,je}if(typeof De=="object"&&De!==null){switch(De.$$typeof){case _a:{var ut=bC(De,se.mode,le);return ut.ref=ay(se,null,De),ut.return=se,ut}case ia:{var it=wC(De,se.mode,le);return it.return=se,it}case It:{var Mt=De._payload,Xt=De._init;return re(se,Xt(Mt),le)}}if(Vt(De)||Et(De)){var rr=Af(De,se.mode,le,null);return rr.return=se,rr}qk(se,De)}return typeof De=="function"&&Vk(se),null}function te(se,De,le,je){var ut=De!==null?De.key:null;if(typeof le=="string"&&le!==""||typeof le=="number")return ut!==null?null:_(se,De,""+le,je);if(typeof le=="object"&&le!==null){switch(le.$$typeof){case _a:return le.key===ut?F(se,De,le,je):null;case ia:return le.key===ut?B(se,De,le,je):null;case It:{var it=le._payload,Mt=le._init;return te(se,De,Mt(it),je)}}if(Vt(le)||Et(le))return ut!==null?null:I(se,De,le,je,null);qk(se,le)}return typeof le=="function"&&Vk(se),null}function ue(se,De,le,je,ut){if(typeof je=="string"&&je!==""||typeof je=="number"){var it=se.get(le)||null;return _(De,it,""+je,ut)}if(typeof je=="object"&&je!==null){switch(je.$$typeof){case _a:{var Mt=se.get(je.key===null?le:je.key)||null;return F(De,Mt,je,ut)}case ia:{var Xt=se.get(je.key===null?le:je.key)||null;return B(De,Xt,je,ut)}case It:var rr=je._payload,On=je._init;return ue(se,De,le,On(rr),ut)}if(Vt(je)||Et(je)){var da=se.get(le)||null;return I(De,da,je,ut,null)}qk(De,je)}return typeof je=="function"&&Vk(De),null}function ge(se,De,le){{if(typeof se!="object"||se===null)return De;switch(se.$$typeof){case _a:case ia:BT(se,le);var je=se.key;if(typeof je!="string")break;if(De===null){De=new Set,De.add(je);break}if(!De.has(je)){De.add(je);break}m("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.",je);break;case It:var ut=se._payload,it=se._init;ge(it(ut),De,le);break}}return De}function Ce(se,De,le,je){for(var ut=null,it=0;it<le.length;it++){var Mt=le[it];ut=ge(Mt,ut,se)}for(var Xt=null,rr=null,On=De,da=0,Bn=0,na=null;On!==null&&Bn<le.length;Bn++){On.index>Bn?(na=On,On=null):na=On.sibling;var Wi=te(se,On,le[Bn],je);if(Wi===null){On===null&&(On=na);break}e&&On&&Wi.alternate===null&&t(se,On),da=y(Wi,da,Bn),rr===null?Xt=Wi:rr.sibling=Wi,rr=Wi,On=na}if(Bn===le.length){if(s(se,On),pi()){var ki=Bn;ah(se,ki)}return Xt}if(On===null){for(;Bn<le.length;Bn++){var xs=re(se,le[Bn],je);xs!==null&&(da=y(xs,da,Bn),rr===null?Xt=xs:rr.sibling=xs,rr=xs)}if(pi()){var mo=Bn;ah(se,mo)}return Xt}for(var go=u(se,On);Bn<le.length;Bn++){var qi=ue(go,se,Bn,le[Bn],je);qi!==null&&(e&&qi.alternate!==null&&go.delete(qi.key===null?Bn:qi.key),da=y(qi,da,Bn),rr===null?Xt=qi:rr.sibling=qi,rr=qi)}if(e&&go.forEach(function(gg){return t(se,gg)}),pi()){var Dd=Bn;ah(se,Dd)}return Xt}function tt(se,De,le,je){var ut=Et(le);if(typeof ut!="function")throw new Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");{typeof Symbol=="function"&&le[Symbol.toStringTag]==="Generator"&&(DD||m("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."),DD=!0),le.entries===ut&&(wD||m("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),wD=!0);var it=ut.call(le);if(it)for(var Mt=null,Xt=it.next();!Xt.done;Xt=it.next()){var rr=Xt.value;Mt=ge(rr,Mt,se)}}var On=ut.call(le);if(On==null)throw new Error("An iterable object provided no iterator.");for(var da=null,Bn=null,na=De,Wi=0,ki=0,xs=null,mo=On.next();na!==null&&!mo.done;ki++,mo=On.next()){na.index>ki?(xs=na,na=null):xs=na.sibling;var go=te(se,na,mo.value,je);if(go===null){na===null&&(na=xs);break}e&&na&&go.alternate===null&&t(se,na),Wi=y(go,Wi,ki),Bn===null?da=go:Bn.sibling=go,Bn=go,na=xs}if(mo.done){if(s(se,na),pi()){var qi=ki;ah(se,qi)}return da}if(na===null){for(;!mo.done;ki++,mo=On.next()){var Dd=re(se,mo.value,je);Dd!==null&&(Wi=y(Dd,Wi,ki),Bn===null?da=Dd:Bn.sibling=Dd,Bn=Dd)}if(pi()){var gg=ki;ah(se,gg)}return da}for(var Ly=u(se,na);!mo.done;ki++,mo=On.next()){var mc=ue(Ly,se,ki,mo.value,je);mc!==null&&(e&&mc.alternate!==null&&Ly.delete(mc.key===null?ki:mc.key),Wi=y(mc,Wi,ki),Bn===null?da=mc:Bn.sibling=mc,Bn=mc)}if(e&&Ly.forEach(function(L7){return t(se,L7)}),pi()){var R7=ki;ah(se,R7)}return da}function St(se,De,le,je){if(De!==null&&De.tag===j){s(se,De.sibling);var ut=p(De,le);return ut.return=se,ut}s(se,De);var it=kC(le,se.mode,je);return it.return=se,it}function Pt(se,De,le,je){for(var ut=le.key,it=De;it!==null;){if(it.key===ut){var Mt=le.type;if(Mt===xo){if(it.tag===J){s(se,it.sibling);var Xt=p(it,le.props.children);return Xt.return=se,Xt._debugSource=le._source,Xt._debugOwner=le._owner,Xt}}else if(it.elementType===Mt||WA(it,le)||typeof Mt=="object"&&Mt!==null&&Mt.$$typeof===It&&MT(Mt)===it.type){s(se,it.sibling);var rr=p(it,le.props);return rr.ref=ay(se,it,le),rr.return=se,rr._debugSource=le._source,rr._debugOwner=le._owner,rr}s(se,it);break}else t(se,it);it=it.sibling}if(le.type===xo){var On=Af(le.props.children,se.mode,je,le.key);return On.return=se,On}else{var da=bC(le,se.mode,je);return da.ref=ay(se,De,le),da.return=se,da}}function pn(se,De,le,je){for(var ut=le.key,it=De;it!==null;){if(it.key===ut)if(it.tag===R&&it.stateNode.containerInfo===le.containerInfo&&it.stateNode.implementation===le.implementation){s(se,it.sibling);var Mt=p(it,le.children||[]);return Mt.return=se,Mt}else{s(se,it);break}else t(se,it);it=it.sibling}var Xt=wC(le,se.mode,je);return Xt.return=se,Xt}function un(se,De,le,je){var ut=typeof le=="object"&&le!==null&&le.type===xo&&le.key===null;if(ut&&(le=le.props.children),typeof le=="object"&&le!==null){switch(le.$$typeof){case _a:return w(Pt(se,De,le,je));case ia:return w(pn(se,De,le,je));case It:var it=le._payload,Mt=le._init;return un(se,De,Mt(it),je)}if(Vt(le))return Ce(se,De,le,je);if(Et(le))return tt(se,De,le,je);qk(se,le)}return typeof le=="string"&&le!==""||typeof le=="number"?w(St(se,De,""+le,je)):(typeof le=="function"&&Vk(se),s(se,De))}return un}var Km=IT(!0),jT=IT(!1);function cz(e,t){if(e!==null&&t.child!==e.child)throw new Error("Resuming work not yet implemented.");if(t.child!==null){var s=t.child,u=vh(s,s.pendingProps);for(t.child=u,u.return=t;s.sibling!==null;)s=s.sibling,u=u.sibling=vh(s,s.pendingProps),u.return=t;u.sibling=null}}function dz(e,t){for(var s=e.child;s!==null;)K9(s,t),s=s.sibling}var _D=gf(null),ED;ED={};var Yk=null,Zm=null,TD=null,Gk=!1;function Xk(){Yk=null,Zm=null,TD=null,Gk=!1}function zT(){Gk=!0}function UT(){Gk=!1}function HT(e,t,s){Ui(_D,t._currentValue,e),t._currentValue=s,t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==ED&&m("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=ED}function FD(e,t){var s=_D.current;zi(_D,t),e._currentValue=s}function AD(e,t,s){for(var u=e;u!==null;){var p=u.alternate;if(ed(u.childLanes,t)?p!==null&&!ed(p.childLanes,t)&&(p.childLanes=Kt(p.childLanes,t)):(u.childLanes=Kt(u.childLanes,t),p!==null&&(p.childLanes=Kt(p.childLanes,t))),u===s)break;u=u.return}u!==s&&m("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 fz(e,t,s){pz(e,t,s)}function pz(e,t,s){var u=e.child;for(u!==null&&(u.return=e);u!==null;){var p=void 0,y=u.dependencies;if(y!==null){p=u.child;for(var w=y.firstContext;w!==null;){if(w.context===t){if(u.tag===T){var _=jp(s),F=gd(dr,_);F.tag=Qk;var B=u.updateQueue;if(B!==null){var I=B.shared,re=I.pending;re===null?F.next=F:(F.next=re.next,re.next=F),I.pending=F}}u.lanes=Kt(u.lanes,s);var te=u.alternate;te!==null&&(te.lanes=Kt(te.lanes,s)),AD(u.return,s,e),y.lanes=Kt(y.lanes,s);break}w=w.next}}else if(u.tag===q)p=u.type===e.type?null:u.child;else if(u.tag===Ge){var ue=u.return;if(ue===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");ue.lanes=Kt(ue.lanes,s);var ge=ue.alternate;ge!==null&&(ge.lanes=Kt(ge.lanes,s)),AD(ue,s,e),p=u.sibling}else p=u.child;if(p!==null)p.return=u;else for(p=u;p!==null;){if(p===e){p=null;break}var Ce=p.sibling;if(Ce!==null){Ce.return=p.return,p=Ce;break}p=p.return}u=p}}function eg(e,t){Yk=e,Zm=null,TD=null;var s=e.dependencies;if(s!==null){var u=s.firstContext;u!==null&&(Bi(s.lanes,t)&&by(),s.firstContext=null)}}function Sa(e){Gk&&m("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(TD!==e){var s={context:e,memoizedValue:t,next:null};if(Zm===null){if(Yk===null)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().");Zm=s,Yk.dependencies={lanes:E,firstContext:s}}else Zm=Zm.next=s}return t}var uh=null;function $D(e){uh===null?uh=[e]:uh.push(e)}function hz(){if(uh!==null){for(var e=0;e<uh.length;e++){var t=uh[e],s=t.interleaved;if(s!==null){t.interleaved=null;var u=s.next,p=t.pending;if(p!==null){var y=p.next;p.next=u,s.next=y}t.pending=s}}uh=null}}function WT(e,t,s,u){var p=t.interleaved;return p===null?(s.next=s,$D(t)):(s.next=p.next,p.next=s),t.interleaved=s,Jk(e,u)}function mz(e,t,s,u){var p=t.interleaved;p===null?(s.next=s,$D(t)):(s.next=p.next,p.next=s),t.interleaved=s}function gz(e,t,s,u){var p=t.interleaved;return p===null?(s.next=s,$D(t)):(s.next=p.next,p.next=s),t.interleaved=s,Jk(e,u)}function qo(e,t){return Jk(e,t)}var vz=Jk;function Jk(e,t){e.lanes=Kt(e.lanes,t);var s=e.alternate;s!==null&&(s.lanes=Kt(s.lanes,t)),s===null&&(e.flags&(Ar|Ni))!==Ct&&jA(e);for(var u=e,p=e.return;p!==null;)p.childLanes=Kt(p.childLanes,t),s=p.alternate,s!==null?s.childLanes=Kt(s.childLanes,t):(p.flags&(Ar|Ni))!==Ct&&jA(e),u=p,p=p.return;if(u.tag===N){var y=u.stateNode;return y}else return null}var qT=0,VT=1,Qk=2,PD=3,Kk=!1,ND,Zk;ND=!1,Zk=null;function RD(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:E},effects:null};e.updateQueue=t}function YT(e,t){var s=t.updateQueue,u=e.updateQueue;if(s===u){var p={baseState:u.baseState,firstBaseUpdate:u.firstBaseUpdate,lastBaseUpdate:u.lastBaseUpdate,shared:u.shared,effects:u.effects};t.updateQueue=p}}function gd(e,t){var s={eventTime:e,lane:t,tag:qT,payload:null,callback:null,next:null};return s}function kf(e,t,s){var u=e.updateQueue;if(u===null)return null;var p=u.shared;if(Zk===p&&!ND&&(m("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."),ND=!0),m9()){var y=p.pending;return y===null?t.next=t:(t.next=y.next,y.next=t),p.pending=t,vz(e,s)}else return gz(e,p,t,s)}function ew(e,t,s){var u=t.updateQueue;if(u!==null){var p=u.shared;if(vv(s)){var y=p.lanes;y=bv(y,e.pendingLanes);var w=Kt(y,s);p.lanes=w,Up(e,w)}}}function LD(e,t){var s=e.updateQueue,u=e.alternate;if(u!==null){var p=u.updateQueue;if(s===p){var y=null,w=null,_=s.firstBaseUpdate;if(_!==null){var F=_;do{var B={eventTime:F.eventTime,lane:F.lane,tag:F.tag,payload:F.payload,callback:F.callback,next:null};w===null?y=w=B:(w.next=B,w=B),F=F.next}while(F!==null);w===null?y=w=t:(w.next=t,w=t)}else y=w=t;s={baseState:p.baseState,firstBaseUpdate:y,lastBaseUpdate:w,shared:p.shared,effects:p.effects},e.updateQueue=s;return}}var I=s.lastBaseUpdate;I===null?s.firstBaseUpdate=t:I.next=t,s.lastBaseUpdate=t}function yz(e,t,s,u,p,y){switch(s.tag){case VT:{var w=s.payload;if(typeof w=="function"){zT();var _=w.call(y,u,p);{if(e.mode&Wn){tr(!0);try{w.call(y,u,p)}finally{tr(!1)}}UT()}return _}return w}case PD:e.flags=e.flags&-65537|yt;case qT:{var F=s.payload,B;if(typeof F=="function"){zT(),B=F.call(y,u,p);{if(e.mode&Wn){tr(!0);try{F.call(y,u,p)}finally{tr(!1)}}UT()}}else B=F;return B==null?u:Jt({},u,B)}case Qk:return Kk=!0,u}return u}function tw(e,t,s,u){var p=e.updateQueue;Kk=!1,Zk=p.shared;var y=p.firstBaseUpdate,w=p.lastBaseUpdate,_=p.shared.pending;if(_!==null){p.shared.pending=null;var F=_,B=F.next;F.next=null,w===null?y=B:w.next=B,w=F;var I=e.alternate;if(I!==null){var re=I.updateQueue,te=re.lastBaseUpdate;te!==w&&(te===null?re.firstBaseUpdate=B:te.next=B,re.lastBaseUpdate=F)}}if(y!==null){var ue=p.baseState,ge=E,Ce=null,tt=null,St=null,Pt=y;do{var pn=Pt.lane,un=Pt.eventTime;if(ed(u,pn)){if(St!==null){var se={eventTime:un,lane:M,tag:Pt.tag,payload:Pt.payload,callback:Pt.callback,next:null};St=St.next=se}ue=yz(e,p,Pt,ue,t,s);var De=Pt.callback;if(De!==null&&Pt.lane!==M){e.flags|=Vn;var le=p.effects;le===null?p.effects=[Pt]:le.push(Pt)}}else{var je={eventTime:un,lane:pn,tag:Pt.tag,payload:Pt.payload,callback:Pt.callback,next:null};St===null?(tt=St=je,Ce=ue):St=St.next=je,ge=Kt(ge,pn)}if(Pt=Pt.next,Pt===null){if(_=p.shared.pending,_===null)break;var ut=_,it=ut.next;ut.next=null,Pt=it,p.lastBaseUpdate=ut,p.shared.pending=null}}while(!0);St===null&&(Ce=ue),p.baseState=Ce,p.firstBaseUpdate=tt,p.lastBaseUpdate=St;var Mt=p.shared.interleaved;if(Mt!==null){var Xt=Mt;do ge=Kt(ge,Xt.lane),Xt=Xt.next;while(Xt!==Mt)}else y===null&&(p.shared.lanes=E);Ay(ge),e.lanes=ge,e.memoizedState=ue}Zk=null}function bz(e,t){if(typeof e!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+e));e.call(t)}function GT(){Kk=!1}function nw(){return Kk}function XT(e,t,s){var u=t.effects;if(t.effects=null,u!==null)for(var p=0;p<u.length;p++){var y=u[p],w=y.callback;w!==null&&(y.callback=null,bz(w,s))}}var iy={},wf=gf(iy),oy=gf(iy),rw=gf(iy);function aw(e){if(e===iy)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 JT(){var e=aw(rw.current);return e}function OD(e,t){Ui(rw,t,e),Ui(oy,e,e),Ui(wf,iy,e);var s=O8(t);zi(wf,e),Ui(wf,s,e)}function tg(e){zi(wf,e),zi(oy,e),zi(rw,e)}function BD(){var e=aw(wf.current);return e}function QT(e){aw(rw.current);var t=aw(wf.current),s=B8(t,e.type);t!==s&&(Ui(oy,e,e),Ui(wf,s,e))}function MD(e){oy.current===e&&(zi(wf,e),zi(oy,e))}var kz=0,KT=1,ZT=1,sy=2,nu=gf(kz);function ID(e,t){return(e&t)!==0}function ng(e){return e&KT}function jD(e,t){return e&KT|t}function wz(e,t){return e|t}function Df(e,t){Ui(nu,t,e)}function rg(e){zi(nu,e)}function Dz(e,t){var s=e.memoizedState;return s!==null?s.dehydrated!==null:(e.memoizedProps,!0)}function iw(e){for(var t=e;t!==null;){if(t.tag===X){var s=t.memoizedState;if(s!==null){var u=s.dehydrated;if(u===null||gT(u)||aD(u))return t}}else if(t.tag===qe&&t.memoizedProps.revealOrder!==void 0){var p=(t.flags&yt)!==Ct;if(p)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)return null;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Vo=0,Ra=1,lc=2,La=4,hi=8,zD=[];function UD(){for(var e=0;e<zD.length;e++){var t=zD[e];t._workInProgressVersionPrimary=null}zD.length=0}function Sz(e,t){var s=t._getVersion,u=s(t._source);e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[t,u]:e.mutableSourceEagerHydrationData.push(t,u)}var lt=i.ReactCurrentDispatcher,ly=i.ReactCurrentBatchConfig,HD,ag;HD=new Set;var ch=E,nr=null,Oa=null,Ba=null,ow=!1,uy=!1,cy=0,Cz=0,xz=25,Ee=null,ll=null,Sf=-1,WD=!1;function qn(){{var e=Ee;ll===null?ll=[e]:ll.push(e)}}function Qe(){{var e=Ee;ll!==null&&(Sf++,ll[Sf]!==e&&_z(e))}}function ig(e){e!=null&&!Vt(e)&&m("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",Ee,typeof e)}function _z(e){{var t=Bt(nr);if(!HD.has(t)&&(HD.add(t),ll!==null)){for(var s="",u=30,p=0;p<=Sf;p++){for(var y=ll[p],w=p===Sf?e:y,_=p+1+". "+y;_.length<u;)_+=" ";_+=w+`
232
+ See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return u}function qk(e,t){var s=Object.prototype.toString.call(t);throw new Error("Objects are not valid as a React child (found: "+(s==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":s)+"). If you meant to render a collection of children, use an array instead.")}function Vk(e){{var t=Bt(e)||"Component";if(xD[t])return;xD[t]=!0,m("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 MT(e){var t=e._payload,s=e._init;return s(t)}function IT(e){function t(se,De){if(e){var le=se.deletions;le===null?(se.deletions=[De],se.flags|=Pi):le.push(De)}}function s(se,De){if(!e)return null;for(var le=De;le!==null;)t(se,le),le=le.sibling;return null}function u(se,De){for(var le=new Map,je=De;je!==null;)je.key!==null?le.set(je.key,je):le.set(je.index,je),je=je.sibling;return le}function p(se,De){var le=vh(se,De);return le.index=0,le.sibling=null,le}function y(se,De,le){if(se.index=le,!e)return se.flags|=oo,De;var je=se.alternate;if(je!==null){var ut=je.index;return ut<De?(se.flags|=Ar,De):ut}else return se.flags|=Ar,De}function w(se){return e&&se.alternate===null&&(se.flags|=Ar),se}function _(se,De,le,je){if(De===null||De.tag!==j){var ut=kC(le,se.mode,je);return ut.return=se,ut}else{var it=p(De,le);return it.return=se,it}}function F(se,De,le,je){var ut=le.type;if(ut===xo)return I(se,De,le.props.children,je,le.key);if(De!==null&&(De.elementType===ut||WA(De,le)||typeof ut=="object"&&ut!==null&&ut.$$typeof===It&&MT(ut)===De.type)){var it=p(De,le.props);return it.ref=ay(se,De,le),it.return=se,it._debugSource=le._source,it._debugOwner=le._owner,it}var Mt=bC(le,se.mode,je);return Mt.ref=ay(se,De,le),Mt.return=se,Mt}function B(se,De,le,je){if(De===null||De.tag!==R||De.stateNode.containerInfo!==le.containerInfo||De.stateNode.implementation!==le.implementation){var ut=wC(le,se.mode,je);return ut.return=se,ut}else{var it=p(De,le.children||[]);return it.return=se,it}}function I(se,De,le,je,ut){if(De===null||De.tag!==J){var it=Af(le,se.mode,je,ut);return it.return=se,it}else{var Mt=p(De,le);return Mt.return=se,Mt}}function re(se,De,le){if(typeof De=="string"&&De!==""||typeof De=="number"){var je=kC(""+De,se.mode,le);return je.return=se,je}if(typeof De=="object"&&De!==null){switch(De.$$typeof){case _a:{var ut=bC(De,se.mode,le);return ut.ref=ay(se,null,De),ut.return=se,ut}case ia:{var it=wC(De,se.mode,le);return it.return=se,it}case It:{var Mt=De._payload,Xt=De._init;return re(se,Xt(Mt),le)}}if(Vt(De)||Et(De)){var rr=Af(De,se.mode,le,null);return rr.return=se,rr}qk(se,De)}return typeof De=="function"&&Vk(se),null}function te(se,De,le,je){var ut=De!==null?De.key:null;if(typeof le=="string"&&le!==""||typeof le=="number")return ut!==null?null:_(se,De,""+le,je);if(typeof le=="object"&&le!==null){switch(le.$$typeof){case _a:return le.key===ut?F(se,De,le,je):null;case ia:return le.key===ut?B(se,De,le,je):null;case It:{var it=le._payload,Mt=le._init;return te(se,De,Mt(it),je)}}if(Vt(le)||Et(le))return ut!==null?null:I(se,De,le,je,null);qk(se,le)}return typeof le=="function"&&Vk(se),null}function ue(se,De,le,je,ut){if(typeof je=="string"&&je!==""||typeof je=="number"){var it=se.get(le)||null;return _(De,it,""+je,ut)}if(typeof je=="object"&&je!==null){switch(je.$$typeof){case _a:{var Mt=se.get(je.key===null?le:je.key)||null;return F(De,Mt,je,ut)}case ia:{var Xt=se.get(je.key===null?le:je.key)||null;return B(De,Xt,je,ut)}case It:var rr=je._payload,On=je._init;return ue(se,De,le,On(rr),ut)}if(Vt(je)||Et(je)){var da=se.get(le)||null;return I(De,da,je,ut,null)}qk(De,je)}return typeof je=="function"&&Vk(De),null}function ge(se,De,le){{if(typeof se!="object"||se===null)return De;switch(se.$$typeof){case _a:case ia:BT(se,le);var je=se.key;if(typeof je!="string")break;if(De===null){De=new Set,De.add(je);break}if(!De.has(je)){De.add(je);break}m("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.",je);break;case It:var ut=se._payload,it=se._init;ge(it(ut),De,le);break}}return De}function Ce(se,De,le,je){for(var ut=null,it=0;it<le.length;it++){var Mt=le[it];ut=ge(Mt,ut,se)}for(var Xt=null,rr=null,On=De,da=0,Bn=0,na=null;On!==null&&Bn<le.length;Bn++){On.index>Bn?(na=On,On=null):na=On.sibling;var Wi=te(se,On,le[Bn],je);if(Wi===null){On===null&&(On=na);break}e&&On&&Wi.alternate===null&&t(se,On),da=y(Wi,da,Bn),rr===null?Xt=Wi:rr.sibling=Wi,rr=Wi,On=na}if(Bn===le.length){if(s(se,On),pi()){var ki=Bn;ah(se,ki)}return Xt}if(On===null){for(;Bn<le.length;Bn++){var xs=re(se,le[Bn],je);xs!==null&&(da=y(xs,da,Bn),rr===null?Xt=xs:rr.sibling=xs,rr=xs)}if(pi()){var mo=Bn;ah(se,mo)}return Xt}for(var go=u(se,On);Bn<le.length;Bn++){var qi=ue(go,se,Bn,le[Bn],je);qi!==null&&(e&&qi.alternate!==null&&go.delete(qi.key===null?Bn:qi.key),da=y(qi,da,Bn),rr===null?Xt=qi:rr.sibling=qi,rr=qi)}if(e&&go.forEach(function(gg){return t(se,gg)}),pi()){var Dd=Bn;ah(se,Dd)}return Xt}function tt(se,De,le,je){var ut=Et(le);if(typeof ut!="function")throw new Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");{typeof Symbol=="function"&&le[Symbol.toStringTag]==="Generator"&&(DD||m("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."),DD=!0),le.entries===ut&&(wD||m("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),wD=!0);var it=ut.call(le);if(it)for(var Mt=null,Xt=it.next();!Xt.done;Xt=it.next()){var rr=Xt.value;Mt=ge(rr,Mt,se)}}var On=ut.call(le);if(On==null)throw new Error("An iterable object provided no iterator.");for(var da=null,Bn=null,na=De,Wi=0,ki=0,xs=null,mo=On.next();na!==null&&!mo.done;ki++,mo=On.next()){na.index>ki?(xs=na,na=null):xs=na.sibling;var go=te(se,na,mo.value,je);if(go===null){na===null&&(na=xs);break}e&&na&&go.alternate===null&&t(se,na),Wi=y(go,Wi,ki),Bn===null?da=go:Bn.sibling=go,Bn=go,na=xs}if(mo.done){if(s(se,na),pi()){var qi=ki;ah(se,qi)}return da}if(na===null){for(;!mo.done;ki++,mo=On.next()){var Dd=re(se,mo.value,je);Dd!==null&&(Wi=y(Dd,Wi,ki),Bn===null?da=Dd:Bn.sibling=Dd,Bn=Dd)}if(pi()){var gg=ki;ah(se,gg)}return da}for(var Ly=u(se,na);!mo.done;ki++,mo=On.next()){var mc=ue(Ly,se,ki,mo.value,je);mc!==null&&(e&&mc.alternate!==null&&Ly.delete(mc.key===null?ki:mc.key),Wi=y(mc,Wi,ki),Bn===null?da=mc:Bn.sibling=mc,Bn=mc)}if(e&&Ly.forEach(function(L7){return t(se,L7)}),pi()){var R7=ki;ah(se,R7)}return da}function St(se,De,le,je){if(De!==null&&De.tag===j){s(se,De.sibling);var ut=p(De,le);return ut.return=se,ut}s(se,De);var it=kC(le,se.mode,je);return it.return=se,it}function Pt(se,De,le,je){for(var ut=le.key,it=De;it!==null;){if(it.key===ut){var Mt=le.type;if(Mt===xo){if(it.tag===J){s(se,it.sibling);var Xt=p(it,le.props.children);return Xt.return=se,Xt._debugSource=le._source,Xt._debugOwner=le._owner,Xt}}else if(it.elementType===Mt||WA(it,le)||typeof Mt=="object"&&Mt!==null&&Mt.$$typeof===It&&MT(Mt)===it.type){s(se,it.sibling);var rr=p(it,le.props);return rr.ref=ay(se,it,le),rr.return=se,rr._debugSource=le._source,rr._debugOwner=le._owner,rr}s(se,it);break}else t(se,it);it=it.sibling}if(le.type===xo){var On=Af(le.props.children,se.mode,je,le.key);return On.return=se,On}else{var da=bC(le,se.mode,je);return da.ref=ay(se,De,le),da.return=se,da}}function pn(se,De,le,je){for(var ut=le.key,it=De;it!==null;){if(it.key===ut)if(it.tag===R&&it.stateNode.containerInfo===le.containerInfo&&it.stateNode.implementation===le.implementation){s(se,it.sibling);var Mt=p(it,le.children||[]);return Mt.return=se,Mt}else{s(se,it);break}else t(se,it);it=it.sibling}var Xt=wC(le,se.mode,je);return Xt.return=se,Xt}function un(se,De,le,je){var ut=typeof le=="object"&&le!==null&&le.type===xo&&le.key===null;if(ut&&(le=le.props.children),typeof le=="object"&&le!==null){switch(le.$$typeof){case _a:return w(Pt(se,De,le,je));case ia:return w(pn(se,De,le,je));case It:var it=le._payload,Mt=le._init;return un(se,De,Mt(it),je)}if(Vt(le))return Ce(se,De,le,je);if(Et(le))return tt(se,De,le,je);qk(se,le)}return typeof le=="string"&&le!==""||typeof le=="number"?w(St(se,De,""+le,je)):(typeof le=="function"&&Vk(se),s(se,De))}return un}var Km=IT(!0),jT=IT(!1);function c5(e,t){if(e!==null&&t.child!==e.child)throw new Error("Resuming work not yet implemented.");if(t.child!==null){var s=t.child,u=vh(s,s.pendingProps);for(t.child=u,u.return=t;s.sibling!==null;)s=s.sibling,u=u.sibling=vh(s,s.pendingProps),u.return=t;u.sibling=null}}function d5(e,t){for(var s=e.child;s!==null;)Kz(s,t),s=s.sibling}var _D=gf(null),ED;ED={};var Yk=null,Zm=null,TD=null,Gk=!1;function Xk(){Yk=null,Zm=null,TD=null,Gk=!1}function zT(){Gk=!0}function UT(){Gk=!1}function HT(e,t,s){Ui(_D,t._currentValue,e),t._currentValue=s,t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==ED&&m("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=ED}function FD(e,t){var s=_D.current;zi(_D,t),e._currentValue=s}function AD(e,t,s){for(var u=e;u!==null;){var p=u.alternate;if(ed(u.childLanes,t)?p!==null&&!ed(p.childLanes,t)&&(p.childLanes=Kt(p.childLanes,t)):(u.childLanes=Kt(u.childLanes,t),p!==null&&(p.childLanes=Kt(p.childLanes,t))),u===s)break;u=u.return}u!==s&&m("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 f5(e,t,s){p5(e,t,s)}function p5(e,t,s){var u=e.child;for(u!==null&&(u.return=e);u!==null;){var p=void 0,y=u.dependencies;if(y!==null){p=u.child;for(var w=y.firstContext;w!==null;){if(w.context===t){if(u.tag===T){var _=jp(s),F=gd(dr,_);F.tag=Qk;var B=u.updateQueue;if(B!==null){var I=B.shared,re=I.pending;re===null?F.next=F:(F.next=re.next,re.next=F),I.pending=F}}u.lanes=Kt(u.lanes,s);var te=u.alternate;te!==null&&(te.lanes=Kt(te.lanes,s)),AD(u.return,s,e),y.lanes=Kt(y.lanes,s);break}w=w.next}}else if(u.tag===q)p=u.type===e.type?null:u.child;else if(u.tag===Ge){var ue=u.return;if(ue===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");ue.lanes=Kt(ue.lanes,s);var ge=ue.alternate;ge!==null&&(ge.lanes=Kt(ge.lanes,s)),AD(ue,s,e),p=u.sibling}else p=u.child;if(p!==null)p.return=u;else for(p=u;p!==null;){if(p===e){p=null;break}var Ce=p.sibling;if(Ce!==null){Ce.return=p.return,p=Ce;break}p=p.return}u=p}}function eg(e,t){Yk=e,Zm=null,TD=null;var s=e.dependencies;if(s!==null){var u=s.firstContext;u!==null&&(Bi(s.lanes,t)&&by(),s.firstContext=null)}}function Sa(e){Gk&&m("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(TD!==e){var s={context:e,memoizedValue:t,next:null};if(Zm===null){if(Yk===null)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().");Zm=s,Yk.dependencies={lanes:E,firstContext:s}}else Zm=Zm.next=s}return t}var uh=null;function $D(e){uh===null?uh=[e]:uh.push(e)}function h5(){if(uh!==null){for(var e=0;e<uh.length;e++){var t=uh[e],s=t.interleaved;if(s!==null){t.interleaved=null;var u=s.next,p=t.pending;if(p!==null){var y=p.next;p.next=u,s.next=y}t.pending=s}}uh=null}}function WT(e,t,s,u){var p=t.interleaved;return p===null?(s.next=s,$D(t)):(s.next=p.next,p.next=s),t.interleaved=s,Jk(e,u)}function m5(e,t,s,u){var p=t.interleaved;p===null?(s.next=s,$D(t)):(s.next=p.next,p.next=s),t.interleaved=s}function g5(e,t,s,u){var p=t.interleaved;return p===null?(s.next=s,$D(t)):(s.next=p.next,p.next=s),t.interleaved=s,Jk(e,u)}function qo(e,t){return Jk(e,t)}var v5=Jk;function Jk(e,t){e.lanes=Kt(e.lanes,t);var s=e.alternate;s!==null&&(s.lanes=Kt(s.lanes,t)),s===null&&(e.flags&(Ar|Ni))!==Ct&&jA(e);for(var u=e,p=e.return;p!==null;)p.childLanes=Kt(p.childLanes,t),s=p.alternate,s!==null?s.childLanes=Kt(s.childLanes,t):(p.flags&(Ar|Ni))!==Ct&&jA(e),u=p,p=p.return;if(u.tag===N){var y=u.stateNode;return y}else return null}var qT=0,VT=1,Qk=2,PD=3,Kk=!1,ND,Zk;ND=!1,Zk=null;function RD(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:E},effects:null};e.updateQueue=t}function YT(e,t){var s=t.updateQueue,u=e.updateQueue;if(s===u){var p={baseState:u.baseState,firstBaseUpdate:u.firstBaseUpdate,lastBaseUpdate:u.lastBaseUpdate,shared:u.shared,effects:u.effects};t.updateQueue=p}}function gd(e,t){var s={eventTime:e,lane:t,tag:qT,payload:null,callback:null,next:null};return s}function kf(e,t,s){var u=e.updateQueue;if(u===null)return null;var p=u.shared;if(Zk===p&&!ND&&(m("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."),ND=!0),mz()){var y=p.pending;return y===null?t.next=t:(t.next=y.next,y.next=t),p.pending=t,v5(e,s)}else return g5(e,p,t,s)}function ew(e,t,s){var u=t.updateQueue;if(u!==null){var p=u.shared;if(vv(s)){var y=p.lanes;y=bv(y,e.pendingLanes);var w=Kt(y,s);p.lanes=w,Up(e,w)}}}function LD(e,t){var s=e.updateQueue,u=e.alternate;if(u!==null){var p=u.updateQueue;if(s===p){var y=null,w=null,_=s.firstBaseUpdate;if(_!==null){var F=_;do{var B={eventTime:F.eventTime,lane:F.lane,tag:F.tag,payload:F.payload,callback:F.callback,next:null};w===null?y=w=B:(w.next=B,w=B),F=F.next}while(F!==null);w===null?y=w=t:(w.next=t,w=t)}else y=w=t;s={baseState:p.baseState,firstBaseUpdate:y,lastBaseUpdate:w,shared:p.shared,effects:p.effects},e.updateQueue=s;return}}var I=s.lastBaseUpdate;I===null?s.firstBaseUpdate=t:I.next=t,s.lastBaseUpdate=t}function y5(e,t,s,u,p,y){switch(s.tag){case VT:{var w=s.payload;if(typeof w=="function"){zT();var _=w.call(y,u,p);{if(e.mode&Wn){tr(!0);try{w.call(y,u,p)}finally{tr(!1)}}UT()}return _}return w}case PD:e.flags=e.flags&-65537|yt;case qT:{var F=s.payload,B;if(typeof F=="function"){zT(),B=F.call(y,u,p);{if(e.mode&Wn){tr(!0);try{F.call(y,u,p)}finally{tr(!1)}}UT()}}else B=F;return B==null?u:Jt({},u,B)}case Qk:return Kk=!0,u}return u}function tw(e,t,s,u){var p=e.updateQueue;Kk=!1,Zk=p.shared;var y=p.firstBaseUpdate,w=p.lastBaseUpdate,_=p.shared.pending;if(_!==null){p.shared.pending=null;var F=_,B=F.next;F.next=null,w===null?y=B:w.next=B,w=F;var I=e.alternate;if(I!==null){var re=I.updateQueue,te=re.lastBaseUpdate;te!==w&&(te===null?re.firstBaseUpdate=B:te.next=B,re.lastBaseUpdate=F)}}if(y!==null){var ue=p.baseState,ge=E,Ce=null,tt=null,St=null,Pt=y;do{var pn=Pt.lane,un=Pt.eventTime;if(ed(u,pn)){if(St!==null){var se={eventTime:un,lane:M,tag:Pt.tag,payload:Pt.payload,callback:Pt.callback,next:null};St=St.next=se}ue=y5(e,p,Pt,ue,t,s);var De=Pt.callback;if(De!==null&&Pt.lane!==M){e.flags|=Vn;var le=p.effects;le===null?p.effects=[Pt]:le.push(Pt)}}else{var je={eventTime:un,lane:pn,tag:Pt.tag,payload:Pt.payload,callback:Pt.callback,next:null};St===null?(tt=St=je,Ce=ue):St=St.next=je,ge=Kt(ge,pn)}if(Pt=Pt.next,Pt===null){if(_=p.shared.pending,_===null)break;var ut=_,it=ut.next;ut.next=null,Pt=it,p.lastBaseUpdate=ut,p.shared.pending=null}}while(!0);St===null&&(Ce=ue),p.baseState=Ce,p.firstBaseUpdate=tt,p.lastBaseUpdate=St;var Mt=p.shared.interleaved;if(Mt!==null){var Xt=Mt;do ge=Kt(ge,Xt.lane),Xt=Xt.next;while(Xt!==Mt)}else y===null&&(p.shared.lanes=E);Ay(ge),e.lanes=ge,e.memoizedState=ue}Zk=null}function b5(e,t){if(typeof e!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+e));e.call(t)}function GT(){Kk=!1}function nw(){return Kk}function XT(e,t,s){var u=t.effects;if(t.effects=null,u!==null)for(var p=0;p<u.length;p++){var y=u[p],w=y.callback;w!==null&&(y.callback=null,b5(w,s))}}var iy={},wf=gf(iy),oy=gf(iy),rw=gf(iy);function aw(e){if(e===iy)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 JT(){var e=aw(rw.current);return e}function OD(e,t){Ui(rw,t,e),Ui(oy,e,e),Ui(wf,iy,e);var s=O8(t);zi(wf,e),Ui(wf,s,e)}function tg(e){zi(wf,e),zi(oy,e),zi(rw,e)}function BD(){var e=aw(wf.current);return e}function QT(e){aw(rw.current);var t=aw(wf.current),s=B8(t,e.type);t!==s&&(Ui(oy,e,e),Ui(wf,s,e))}function MD(e){oy.current===e&&(zi(wf,e),zi(oy,e))}var k5=0,KT=1,ZT=1,sy=2,nu=gf(k5);function ID(e,t){return(e&t)!==0}function ng(e){return e&KT}function jD(e,t){return e&KT|t}function w5(e,t){return e|t}function Df(e,t){Ui(nu,t,e)}function rg(e){zi(nu,e)}function D5(e,t){var s=e.memoizedState;return s!==null?s.dehydrated!==null:(e.memoizedProps,!0)}function iw(e){for(var t=e;t!==null;){if(t.tag===X){var s=t.memoizedState;if(s!==null){var u=s.dehydrated;if(u===null||gT(u)||aD(u))return t}}else if(t.tag===qe&&t.memoizedProps.revealOrder!==void 0){var p=(t.flags&yt)!==Ct;if(p)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)return null;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Vo=0,Ra=1,lc=2,La=4,hi=8,zD=[];function UD(){for(var e=0;e<zD.length;e++){var t=zD[e];t._workInProgressVersionPrimary=null}zD.length=0}function S5(e,t){var s=t._getVersion,u=s(t._source);e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[t,u]:e.mutableSourceEagerHydrationData.push(t,u)}var lt=i.ReactCurrentDispatcher,ly=i.ReactCurrentBatchConfig,HD,ag;HD=new Set;var ch=E,nr=null,Oa=null,Ba=null,ow=!1,uy=!1,cy=0,C5=0,x5=25,Ee=null,ll=null,Sf=-1,WD=!1;function qn(){{var e=Ee;ll===null?ll=[e]:ll.push(e)}}function Qe(){{var e=Ee;ll!==null&&(Sf++,ll[Sf]!==e&&_5(e))}}function ig(e){e!=null&&!Vt(e)&&m("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",Ee,typeof e)}function _5(e){{var t=Bt(nr);if(!HD.has(t)&&(HD.add(t),ll!==null)){for(var s="",u=30,p=0;p<=Sf;p++){for(var y=ll[p],w=p===Sf?e:y,_=p+1+". "+y;_.length<u;)_+=" ";_+=w+`
233
233
  `,s+=_}m(`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
234
234
 
235
235
  Previous render Next render
@@ -242,7 +242,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`)}}retur
242
242
  See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function qD(e,t){if(WD)return!1;if(t===null)return m("%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.",Ee),!1;e.length!==t.length&&m(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
243
243
 
244
244
  Previous: %s
245
- Incoming: %s`,Ee,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var s=0;s<t.length&&s<e.length;s++)if(!ie(e[s],t[s]))return!1;return!0}function og(e,t,s,u,p,y){ch=y,nr=t,ll=e!==null?e._debugHookTypes:null,Sf=-1,WD=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=E,e!==null&&e.memoizedState!==null?lt.current=wF:ll!==null?lt.current=kF:lt.current=bF;var w=s(u,p);if(uy){var _=0;do{if(uy=!1,cy=0,_>=xz)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");_+=1,WD=!1,Oa=null,Ba=null,t.updateQueue=null,Sf=-1,lt.current=DF,w=s(u,p)}while(uy)}lt.current=bw,t._debugHookTypes=ll;var F=Oa!==null&&Oa.next!==null;if(ch=E,nr=null,Oa=null,Ba=null,Ee=null,ll=null,Sf=-1,e!==null&&(e.flags&Sr)!==(t.flags&Sr)&&(e.mode&rn)!==xt&&m("Internal React error: Expected static flag was missing. Please notify the React team."),ow=!1,F)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return w}function sg(){var e=cy!==0;return cy=0,e}function eF(e,t,s){t.updateQueue=e.updateQueue,(t.mode&Tn)!==xt?t.flags&=-50333701:t.flags&=-2053,e.lanes=zp(e.lanes,s)}function tF(){if(lt.current=bw,ow){for(var e=nr.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}ow=!1}ch=E,nr=null,Oa=null,Ba=null,ll=null,Sf=-1,Ee=null,hF=!1,uy=!1,cy=0}function uc(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ba===null?nr.memoizedState=Ba=e:Ba=Ba.next=e,Ba}function ul(){var e;if(Oa===null){var t=nr.alternate;t!==null?e=t.memoizedState:e=null}else e=Oa.next;var s;if(Ba===null?s=nr.memoizedState:s=Ba.next,s!==null)Ba=s,s=Ba.next,Oa=e;else{if(e===null)throw new Error("Rendered more hooks than during the previous render.");Oa=e;var u={memoizedState:Oa.memoizedState,baseState:Oa.baseState,baseQueue:Oa.baseQueue,queue:Oa.queue,next:null};Ba===null?nr.memoizedState=Ba=u:Ba=Ba.next=u}return Ba}function nF(){return{lastEffect:null,stores:null}}function VD(e,t){return typeof t=="function"?t(e):t}function YD(e,t,s){var u=uc(),p;s!==void 0?p=s(t):p=t,u.memoizedState=u.baseState=p;var y={pending:null,interleaved:null,lanes:E,dispatch:null,lastRenderedReducer:e,lastRenderedState:p};u.queue=y;var w=y.dispatch=Az.bind(null,nr,y);return[u.memoizedState,w]}function GD(e,t,s){var u=ul(),p=u.queue;if(p===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");p.lastRenderedReducer=e;var y=Oa,w=y.baseQueue,_=p.pending;if(_!==null){if(w!==null){var F=w.next,B=_.next;w.next=B,_.next=F}y.baseQueue!==w&&m("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),y.baseQueue=w=_,p.pending=null}if(w!==null){var I=w.next,re=y.baseState,te=null,ue=null,ge=null,Ce=I;do{var tt=Ce.lane;if(ed(ch,tt)){if(ge!==null){var St={lane:M,action:Ce.action,hasEagerState:Ce.hasEagerState,eagerState:Ce.eagerState,next:null};ge=ge.next=St}if(Ce.hasEagerState)re=Ce.eagerState;else{var Pt=Ce.action;re=e(re,Pt)}}else{var pn={lane:tt,action:Ce.action,hasEagerState:Ce.hasEagerState,eagerState:Ce.eagerState,next:null};ge===null?(ue=ge=pn,te=re):ge=ge.next=pn,nr.lanes=Kt(nr.lanes,tt),Ay(tt)}Ce=Ce.next}while(Ce!==null&&Ce!==I);ge===null?te=re:ge.next=ue,ie(re,u.memoizedState)||by(),u.memoizedState=re,u.baseState=te,u.baseQueue=ge,p.lastRenderedState=re}var un=p.interleaved;if(un!==null){var se=un;do{var De=se.lane;nr.lanes=Kt(nr.lanes,De),Ay(De),se=se.next}while(se!==un)}else w===null&&(p.lanes=E);var le=p.dispatch;return[u.memoizedState,le]}function XD(e,t,s){var u=ul(),p=u.queue;if(p===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");p.lastRenderedReducer=e;var y=p.dispatch,w=p.pending,_=u.memoizedState;if(w!==null){p.pending=null;var F=w.next,B=F;do{var I=B.action;_=e(_,I),B=B.next}while(B!==F);ie(_,u.memoizedState)||by(),u.memoizedState=_,u.baseQueue===null&&(u.baseState=_),p.lastRenderedState=_}return[_,y]}function JD(e,t,s){var u=nr,p=uc(),y,w=pi();if(w){if(s===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");y=s(),ag||y!==s()&&(m("The result of getServerSnapshot should be cached to avoid an infinite loop"),ag=!0)}else{if(y=t(),!ag){var _=t();ie(y,_)||(m("The result of getSnapshot should be cached to avoid an infinite loop"),ag=!0)}var F=Iw();if(F===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Dm(F,ch)||rF(u,t,y)}p.memoizedState=y;var B={value:y,getSnapshot:t};return p.queue=B,dw(iF.bind(null,u,B,e),[e]),u.flags|=Ya,dy(Ra|hi,aF.bind(null,u,B,y,t),void 0,null),y}function sw(e,t,s){var u=nr,p=ul(),y=t();if(!ag){var w=t();ie(y,w)||(m("The result of getSnapshot should be cached to avoid an infinite loop"),ag=!0)}var _=p.memoizedState,F=!ie(_,y);F&&(p.memoizedState=y,by());var B=p.queue;if(py(iF.bind(null,u,B,e),[e]),B.getSnapshot!==t||F||Ba!==null&&Ba.memoizedState.tag&Ra){u.flags|=Ya,dy(Ra|hi,aF.bind(null,u,B,y,t),void 0,null);var I=Iw();if(I===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Dm(I,ch)||rF(u,t,y)}return y}function rF(e,t,s){e.flags|=qu;var u={getSnapshot:t,value:s},p=nr.updateQueue;if(p===null)p=nF(),nr.updateQueue=p,p.stores=[u];else{var y=p.stores;y===null?p.stores=[u]:y.push(u)}}function aF(e,t,s,u){t.value=s,t.getSnapshot=u,oF(t)&&sF(e)}function iF(e,t,s){var u=function(){oF(t)&&sF(e)};return s(u)}function oF(e){var t=e.getSnapshot,s=e.value;try{var u=t();return!ie(s,u)}catch{return!0}}function sF(e){var t=qo(e,U);t!==null&&za(t,e,U,dr)}function lw(e){var t=uc();typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e;var s={pending:null,interleaved:null,lanes:E,dispatch:null,lastRenderedReducer:VD,lastRenderedState:e};t.queue=s;var u=s.dispatch=$z.bind(null,nr,s);return[t.memoizedState,u]}function QD(e){return GD(VD)}function KD(e){return XD(VD)}function dy(e,t,s,u){var p={tag:e,create:t,destroy:s,deps:u,next:null},y=nr.updateQueue;if(y===null)y=nF(),nr.updateQueue=y,y.lastEffect=p.next=p;else{var w=y.lastEffect;if(w===null)y.lastEffect=p.next=p;else{var _=w.next;w.next=p,p.next=_,y.lastEffect=p}}return p}function ZD(e){var t=uc();{var s={current:e};return t.memoizedState=s,s}}function uw(e){var t=ul();return t.memoizedState}function fy(e,t,s,u){var p=uc(),y=u===void 0?null:u;nr.flags|=e,p.memoizedState=dy(Ra|t,s,void 0,y)}function cw(e,t,s,u){var p=ul(),y=u===void 0?null:u,w=void 0;if(Oa!==null){var _=Oa.memoizedState;if(w=_.destroy,y!==null){var F=_.deps;if(qD(y,F)){p.memoizedState=dy(t,s,w,y);return}}}nr.flags|=e,p.memoizedState=dy(Ra|t,s,w,y)}function dw(e,t){return(nr.mode&Tn)!==xt?fy(Oo|Ya|tf,hi,e,t):fy(Ya|tf,hi,e,t)}function py(e,t){return cw(Ya,hi,e,t)}function eS(e,t){return fy(mn,lc,e,t)}function fw(e,t){return cw(mn,lc,e,t)}function tS(e,t){var s=mn;return s|=Lo,(nr.mode&Tn)!==xt&&(s|=so),fy(s,La,e,t)}function pw(e,t){return cw(mn,La,e,t)}function lF(e,t){if(typeof t=="function"){var s=t,u=e();return s(u),function(){s(null)}}else if(t!=null){var p=t;p.hasOwnProperty("current")||m("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(p).join(", ")+"}");var y=e();return p.current=y,function(){p.current=null}}}function nS(e,t,s){typeof t!="function"&&m("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var u=s!=null?s.concat([e]):null,p=mn;return p|=Lo,(nr.mode&Tn)!==xt&&(p|=so),fy(p,La,lF.bind(null,t,e),u)}function hw(e,t,s){typeof t!="function"&&m("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var u=s!=null?s.concat([e]):null;return cw(mn,La,lF.bind(null,t,e),u)}function Ez(e,t){}var mw=Ez;function rS(e,t){var s=uc(),u=t===void 0?null:t;return s.memoizedState=[e,u],e}function gw(e,t){var s=ul(),u=t===void 0?null:t,p=s.memoizedState;if(p!==null&&u!==null){var y=p[1];if(qD(u,y))return p[0]}return s.memoizedState=[e,u],e}function aS(e,t){var s=uc(),u=t===void 0?null:t,p=e();return s.memoizedState=[p,u],p}function vw(e,t){var s=ul(),u=t===void 0?null:t,p=s.memoizedState;if(p!==null&&u!==null){var y=p[1];if(qD(u,y))return p[0]}var w=e();return s.memoizedState=[w,u],w}function iS(e){var t=uc();return t.memoizedState=e,e}function uF(e){var t=ul(),s=Oa,u=s.memoizedState;return dF(t,u,e)}function cF(e){var t=ul();if(Oa===null)return t.memoizedState=e,e;var s=Oa.memoizedState;return dF(t,s,e)}function dF(e,t,s){var u=!mv(ch);if(u){if(!ie(s,t)){var p=yv();nr.lanes=Kt(nr.lanes,p),Ay(p),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,by()),e.memoizedState=s,s}function Tz(e,t,s){var u=bs();ua(Wb(u,ys)),e(!0);var p=ly.transition;ly.transition={};var y=ly.transition;ly.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(ua(u),ly.transition=p,p===null&&y._updatedFibers){var w=y._updatedFibers.size;w>10&&h("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."),y._updatedFibers.clear()}}}function oS(){var e=lw(!1),t=e[0],s=e[1],u=Tz.bind(null,s),p=uc();return p.memoizedState=u,[t,u]}function fF(){var e=QD(),t=e[0],s=ul(),u=s.memoizedState;return[t,u]}function pF(){var e=KD(),t=e[0],s=ul(),u=s.memoizedState;return[t,u]}var hF=!1;function Fz(){return hF}function sS(){var e=uc(),t=Iw(),s=t.identifierPrefix,u;if(pi()){var p=V6();u=":"+s+"R"+p;var y=cy++;y>0&&(u+="H"+y.toString(32)),u+=":"}else{var w=Cz++;u=":"+s+"r"+w.toString(32)+":"}return e.memoizedState=u,u}function yw(){var e=ul(),t=e.memoizedState;return t}function Az(e,t,s){typeof arguments[3]=="function"&&m("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 u=Tf(e),p={lane:u,action:s,hasEagerState:!1,eagerState:null,next:null};if(mF(e))gF(t,p);else{var y=WT(e,t,p,u);if(y!==null){var w=ho();za(y,e,u,w),vF(y,t,u)}}yF(e,u)}function $z(e,t,s){typeof arguments[3]=="function"&&m("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 u=Tf(e),p={lane:u,action:s,hasEagerState:!1,eagerState:null,next:null};if(mF(e))gF(t,p);else{var y=e.alternate;if(e.lanes===E&&(y===null||y.lanes===E)){var w=t.lastRenderedReducer;if(w!==null){var _;_=lt.current,lt.current=ru;try{var F=t.lastRenderedState,B=w(F,s);if(p.hasEagerState=!0,p.eagerState=B,ie(B,F)){mz(e,t,p,u);return}}catch{}finally{lt.current=_}}}var I=WT(e,t,p,u);if(I!==null){var re=ho();za(I,e,u,re),vF(I,t,u)}}yF(e,u)}function mF(e){var t=e.alternate;return e===nr||t!==null&&t===nr}function gF(e,t){uy=ow=!0;var s=e.pending;s===null?t.next=t:(t.next=s.next,s.next=t),e.pending=t}function vF(e,t,s){if(vv(s)){var u=t.lanes;u=bv(u,e.pendingLanes);var p=Kt(u,s);t.lanes=p,Up(e,p)}}function yF(e,t,s){el(e,t)}var bw={readContext:Sa,useCallback:Hi,useContext:Hi,useEffect:Hi,useImperativeHandle:Hi,useInsertionEffect:Hi,useLayoutEffect:Hi,useMemo:Hi,useReducer:Hi,useRef:Hi,useState:Hi,useDebugValue:Hi,useDeferredValue:Hi,useTransition:Hi,useMutableSource:Hi,useSyncExternalStore:Hi,useId:Hi,unstable_isNewReconciler:de},bF=null,kF=null,wF=null,DF=null,cc=null,ru=null,kw=null;{var lS=function(){m("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().")},Ht=function(){m("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")};bF={readContext:function(e){return Sa(e)},useCallback:function(e,t){return Ee="useCallback",qn(),ig(t),rS(e,t)},useContext:function(e){return Ee="useContext",qn(),Sa(e)},useEffect:function(e,t){return Ee="useEffect",qn(),ig(t),dw(e,t)},useImperativeHandle:function(e,t,s){return Ee="useImperativeHandle",qn(),ig(s),nS(e,t,s)},useInsertionEffect:function(e,t){return Ee="useInsertionEffect",qn(),ig(t),eS(e,t)},useLayoutEffect:function(e,t){return Ee="useLayoutEffect",qn(),ig(t),tS(e,t)},useMemo:function(e,t){Ee="useMemo",qn(),ig(t);var s=lt.current;lt.current=cc;try{return aS(e,t)}finally{lt.current=s}},useReducer:function(e,t,s){Ee="useReducer",qn();var u=lt.current;lt.current=cc;try{return YD(e,t,s)}finally{lt.current=u}},useRef:function(e){return Ee="useRef",qn(),ZD(e)},useState:function(e){Ee="useState",qn();var t=lt.current;lt.current=cc;try{return lw(e)}finally{lt.current=t}},useDebugValue:function(e,t){return Ee="useDebugValue",qn(),void 0},useDeferredValue:function(e){return Ee="useDeferredValue",qn(),iS(e)},useTransition:function(){return Ee="useTransition",qn(),oS()},useMutableSource:function(e,t,s){return Ee="useMutableSource",qn(),void 0},useSyncExternalStore:function(e,t,s){return Ee="useSyncExternalStore",qn(),JD(e,t,s)},useId:function(){return Ee="useId",qn(),sS()},unstable_isNewReconciler:de},kF={readContext:function(e){return Sa(e)},useCallback:function(e,t){return Ee="useCallback",Qe(),rS(e,t)},useContext:function(e){return Ee="useContext",Qe(),Sa(e)},useEffect:function(e,t){return Ee="useEffect",Qe(),dw(e,t)},useImperativeHandle:function(e,t,s){return Ee="useImperativeHandle",Qe(),nS(e,t,s)},useInsertionEffect:function(e,t){return Ee="useInsertionEffect",Qe(),eS(e,t)},useLayoutEffect:function(e,t){return Ee="useLayoutEffect",Qe(),tS(e,t)},useMemo:function(e,t){Ee="useMemo",Qe();var s=lt.current;lt.current=cc;try{return aS(e,t)}finally{lt.current=s}},useReducer:function(e,t,s){Ee="useReducer",Qe();var u=lt.current;lt.current=cc;try{return YD(e,t,s)}finally{lt.current=u}},useRef:function(e){return Ee="useRef",Qe(),ZD(e)},useState:function(e){Ee="useState",Qe();var t=lt.current;lt.current=cc;try{return lw(e)}finally{lt.current=t}},useDebugValue:function(e,t){return Ee="useDebugValue",Qe(),void 0},useDeferredValue:function(e){return Ee="useDeferredValue",Qe(),iS(e)},useTransition:function(){return Ee="useTransition",Qe(),oS()},useMutableSource:function(e,t,s){return Ee="useMutableSource",Qe(),void 0},useSyncExternalStore:function(e,t,s){return Ee="useSyncExternalStore",Qe(),JD(e,t,s)},useId:function(){return Ee="useId",Qe(),sS()},unstable_isNewReconciler:de},wF={readContext:function(e){return Sa(e)},useCallback:function(e,t){return Ee="useCallback",Qe(),gw(e,t)},useContext:function(e){return Ee="useContext",Qe(),Sa(e)},useEffect:function(e,t){return Ee="useEffect",Qe(),py(e,t)},useImperativeHandle:function(e,t,s){return Ee="useImperativeHandle",Qe(),hw(e,t,s)},useInsertionEffect:function(e,t){return Ee="useInsertionEffect",Qe(),fw(e,t)},useLayoutEffect:function(e,t){return Ee="useLayoutEffect",Qe(),pw(e,t)},useMemo:function(e,t){Ee="useMemo",Qe();var s=lt.current;lt.current=ru;try{return vw(e,t)}finally{lt.current=s}},useReducer:function(e,t,s){Ee="useReducer",Qe();var u=lt.current;lt.current=ru;try{return GD(e,t,s)}finally{lt.current=u}},useRef:function(e){return Ee="useRef",Qe(),uw()},useState:function(e){Ee="useState",Qe();var t=lt.current;lt.current=ru;try{return QD(e)}finally{lt.current=t}},useDebugValue:function(e,t){return Ee="useDebugValue",Qe(),mw()},useDeferredValue:function(e){return Ee="useDeferredValue",Qe(),uF(e)},useTransition:function(){return Ee="useTransition",Qe(),fF()},useMutableSource:function(e,t,s){return Ee="useMutableSource",Qe(),void 0},useSyncExternalStore:function(e,t,s){return Ee="useSyncExternalStore",Qe(),sw(e,t)},useId:function(){return Ee="useId",Qe(),yw()},unstable_isNewReconciler:de},DF={readContext:function(e){return Sa(e)},useCallback:function(e,t){return Ee="useCallback",Qe(),gw(e,t)},useContext:function(e){return Ee="useContext",Qe(),Sa(e)},useEffect:function(e,t){return Ee="useEffect",Qe(),py(e,t)},useImperativeHandle:function(e,t,s){return Ee="useImperativeHandle",Qe(),hw(e,t,s)},useInsertionEffect:function(e,t){return Ee="useInsertionEffect",Qe(),fw(e,t)},useLayoutEffect:function(e,t){return Ee="useLayoutEffect",Qe(),pw(e,t)},useMemo:function(e,t){Ee="useMemo",Qe();var s=lt.current;lt.current=kw;try{return vw(e,t)}finally{lt.current=s}},useReducer:function(e,t,s){Ee="useReducer",Qe();var u=lt.current;lt.current=kw;try{return XD(e,t,s)}finally{lt.current=u}},useRef:function(e){return Ee="useRef",Qe(),uw()},useState:function(e){Ee="useState",Qe();var t=lt.current;lt.current=kw;try{return KD(e)}finally{lt.current=t}},useDebugValue:function(e,t){return Ee="useDebugValue",Qe(),mw()},useDeferredValue:function(e){return Ee="useDeferredValue",Qe(),cF(e)},useTransition:function(){return Ee="useTransition",Qe(),pF()},useMutableSource:function(e,t,s){return Ee="useMutableSource",Qe(),void 0},useSyncExternalStore:function(e,t,s){return Ee="useSyncExternalStore",Qe(),sw(e,t)},useId:function(){return Ee="useId",Qe(),yw()},unstable_isNewReconciler:de},cc={readContext:function(e){return lS(),Sa(e)},useCallback:function(e,t){return Ee="useCallback",Ht(),qn(),rS(e,t)},useContext:function(e){return Ee="useContext",Ht(),qn(),Sa(e)},useEffect:function(e,t){return Ee="useEffect",Ht(),qn(),dw(e,t)},useImperativeHandle:function(e,t,s){return Ee="useImperativeHandle",Ht(),qn(),nS(e,t,s)},useInsertionEffect:function(e,t){return Ee="useInsertionEffect",Ht(),qn(),eS(e,t)},useLayoutEffect:function(e,t){return Ee="useLayoutEffect",Ht(),qn(),tS(e,t)},useMemo:function(e,t){Ee="useMemo",Ht(),qn();var s=lt.current;lt.current=cc;try{return aS(e,t)}finally{lt.current=s}},useReducer:function(e,t,s){Ee="useReducer",Ht(),qn();var u=lt.current;lt.current=cc;try{return YD(e,t,s)}finally{lt.current=u}},useRef:function(e){return Ee="useRef",Ht(),qn(),ZD(e)},useState:function(e){Ee="useState",Ht(),qn();var t=lt.current;lt.current=cc;try{return lw(e)}finally{lt.current=t}},useDebugValue:function(e,t){return Ee="useDebugValue",Ht(),qn(),void 0},useDeferredValue:function(e){return Ee="useDeferredValue",Ht(),qn(),iS(e)},useTransition:function(){return Ee="useTransition",Ht(),qn(),oS()},useMutableSource:function(e,t,s){return Ee="useMutableSource",Ht(),qn(),void 0},useSyncExternalStore:function(e,t,s){return Ee="useSyncExternalStore",Ht(),qn(),JD(e,t,s)},useId:function(){return Ee="useId",Ht(),qn(),sS()},unstable_isNewReconciler:de},ru={readContext:function(e){return lS(),Sa(e)},useCallback:function(e,t){return Ee="useCallback",Ht(),Qe(),gw(e,t)},useContext:function(e){return Ee="useContext",Ht(),Qe(),Sa(e)},useEffect:function(e,t){return Ee="useEffect",Ht(),Qe(),py(e,t)},useImperativeHandle:function(e,t,s){return Ee="useImperativeHandle",Ht(),Qe(),hw(e,t,s)},useInsertionEffect:function(e,t){return Ee="useInsertionEffect",Ht(),Qe(),fw(e,t)},useLayoutEffect:function(e,t){return Ee="useLayoutEffect",Ht(),Qe(),pw(e,t)},useMemo:function(e,t){Ee="useMemo",Ht(),Qe();var s=lt.current;lt.current=ru;try{return vw(e,t)}finally{lt.current=s}},useReducer:function(e,t,s){Ee="useReducer",Ht(),Qe();var u=lt.current;lt.current=ru;try{return GD(e,t,s)}finally{lt.current=u}},useRef:function(e){return Ee="useRef",Ht(),Qe(),uw()},useState:function(e){Ee="useState",Ht(),Qe();var t=lt.current;lt.current=ru;try{return QD(e)}finally{lt.current=t}},useDebugValue:function(e,t){return Ee="useDebugValue",Ht(),Qe(),mw()},useDeferredValue:function(e){return Ee="useDeferredValue",Ht(),Qe(),uF(e)},useTransition:function(){return Ee="useTransition",Ht(),Qe(),fF()},useMutableSource:function(e,t,s){return Ee="useMutableSource",Ht(),Qe(),void 0},useSyncExternalStore:function(e,t,s){return Ee="useSyncExternalStore",Ht(),Qe(),sw(e,t)},useId:function(){return Ee="useId",Ht(),Qe(),yw()},unstable_isNewReconciler:de},kw={readContext:function(e){return lS(),Sa(e)},useCallback:function(e,t){return Ee="useCallback",Ht(),Qe(),gw(e,t)},useContext:function(e){return Ee="useContext",Ht(),Qe(),Sa(e)},useEffect:function(e,t){return Ee="useEffect",Ht(),Qe(),py(e,t)},useImperativeHandle:function(e,t,s){return Ee="useImperativeHandle",Ht(),Qe(),hw(e,t,s)},useInsertionEffect:function(e,t){return Ee="useInsertionEffect",Ht(),Qe(),fw(e,t)},useLayoutEffect:function(e,t){return Ee="useLayoutEffect",Ht(),Qe(),pw(e,t)},useMemo:function(e,t){Ee="useMemo",Ht(),Qe();var s=lt.current;lt.current=ru;try{return vw(e,t)}finally{lt.current=s}},useReducer:function(e,t,s){Ee="useReducer",Ht(),Qe();var u=lt.current;lt.current=ru;try{return XD(e,t,s)}finally{lt.current=u}},useRef:function(e){return Ee="useRef",Ht(),Qe(),uw()},useState:function(e){Ee="useState",Ht(),Qe();var t=lt.current;lt.current=ru;try{return KD(e)}finally{lt.current=t}},useDebugValue:function(e,t){return Ee="useDebugValue",Ht(),Qe(),mw()},useDeferredValue:function(e){return Ee="useDeferredValue",Ht(),Qe(),cF(e)},useTransition:function(){return Ee="useTransition",Ht(),Qe(),pF()},useMutableSource:function(e,t,s){return Ee="useMutableSource",Ht(),Qe(),void 0},useSyncExternalStore:function(e,t,s){return Ee="useSyncExternalStore",Ht(),Qe(),sw(e,t)},useId:function(){return Ee="useId",Ht(),Qe(),yw()},unstable_isNewReconciler:de}}var Cf=n.unstable_now,SF=0,ww=-1,hy=-1,Dw=-1,uS=!1,Sw=!1;function CF(){return uS}function Pz(){Sw=!0}function Nz(){uS=!1,Sw=!1}function Rz(){uS=Sw,Sw=!1}function xF(){return SF}function _F(){SF=Cf()}function cS(e){hy=Cf(),e.actualStartTime<0&&(e.actualStartTime=Cf())}function EF(e){hy=-1}function Cw(e,t){if(hy>=0){var s=Cf()-hy;e.actualDuration+=s,t&&(e.selfBaseDuration=s),hy=-1}}function dc(e){if(ww>=0){var t=Cf()-ww;ww=-1;for(var s=e.return;s!==null;){switch(s.tag){case N:var u=s.stateNode;u.effectDuration+=t;return;case Z:var p=s.stateNode;p.effectDuration+=t;return}s=s.return}}}function dS(e){if(Dw>=0){var t=Cf()-Dw;Dw=-1;for(var s=e.return;s!==null;){switch(s.tag){case N:var u=s.stateNode;u!==null&&(u.passiveEffectDuration+=t);return;case Z:var p=s.stateNode;p!==null&&(p.passiveEffectDuration+=t);return}s=s.return}}}function fc(){ww=Cf()}function fS(){Dw=Cf()}function pS(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function au(e,t){if(e&&e.defaultProps){var s=Jt({},t),u=e.defaultProps;for(var p in u)s[p]===void 0&&(s[p]=u[p]);return s}return t}var hS={},mS,gS,vS,yS,bS,TF,xw,kS,wS,DS,my;{mS=new Set,gS=new Set,vS=new Set,yS=new Set,kS=new Set,bS=new Set,wS=new Set,DS=new Set,my=new Set;var FF=new Set;xw=function(e,t){if(!(e===null||typeof e=="function")){var s=t+"_"+e;FF.has(s)||(FF.add(s),m("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},TF=function(e,t){if(t===void 0){var s=kn(e)||"Component";bS.has(s)||(bS.add(s),m("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",s))}},Object.defineProperty(hS,"_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(hS)}function SS(e,t,s,u){var p=e.memoizedState,y=s(u,p);{if(e.mode&Wn){tr(!0);try{y=s(u,p)}finally{tr(!1)}}TF(t,y)}var w=y==null?p:Jt({},p,y);if(e.memoizedState=w,e.lanes===E){var _=e.updateQueue;_.baseState=w}}var CS={isMounted:cm,enqueueSetState:function(e,t,s){var u=Wu(e),p=ho(),y=Tf(u),w=gd(p,y);w.payload=t,s!=null&&(xw(s,"setState"),w.callback=s);var _=kf(u,w,y);_!==null&&(za(_,u,y,p),ew(_,u,y)),el(u,y)},enqueueReplaceState:function(e,t,s){var u=Wu(e),p=ho(),y=Tf(u),w=gd(p,y);w.tag=VT,w.payload=t,s!=null&&(xw(s,"replaceState"),w.callback=s);var _=kf(u,w,y);_!==null&&(za(_,u,y,p),ew(_,u,y)),el(u,y)},enqueueForceUpdate:function(e,t){var s=Wu(e),u=ho(),p=Tf(s),y=gd(u,p);y.tag=Qk,t!=null&&(xw(t,"forceUpdate"),y.callback=t);var w=kf(s,y,p);w!==null&&(za(w,s,p,u),ew(w,s,p)),Gc(s,p)}};function AF(e,t,s,u,p,y,w){var _=e.stateNode;if(typeof _.shouldComponentUpdate=="function"){var F=_.shouldComponentUpdate(u,y,w);{if(e.mode&Wn){tr(!0);try{F=_.shouldComponentUpdate(u,y,w)}finally{tr(!1)}}F===void 0&&m("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",kn(t)||"Component")}return F}return t.prototype&&t.prototype.isPureReactComponent?!Ue(s,u)||!Ue(p,y):!0}function Lz(e,t,s){var u=e.stateNode;{var p=kn(t)||"Component",y=u.render;y||(t.prototype&&typeof t.prototype.render=="function"?m("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",p):m("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",p)),u.getInitialState&&!u.getInitialState.isReactClassApproved&&!u.state&&m("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?",p),u.getDefaultProps&&!u.getDefaultProps.isReactClassApproved&&m("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.",p),u.propTypes&&m("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",p),u.contextType&&m("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",p),t.childContextTypes&&!my.has(t)&&(e.mode&Wn)===xt&&(my.add(t),m(`%s uses the legacy childContextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() instead
245
+ Incoming: %s`,Ee,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var s=0;s<t.length&&s<e.length;s++)if(!ie(e[s],t[s]))return!1;return!0}function og(e,t,s,u,p,y){ch=y,nr=t,ll=e!==null?e._debugHookTypes:null,Sf=-1,WD=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=E,e!==null&&e.memoizedState!==null?lt.current=wF:ll!==null?lt.current=kF:lt.current=bF;var w=s(u,p);if(uy){var _=0;do{if(uy=!1,cy=0,_>=x5)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");_+=1,WD=!1,Oa=null,Ba=null,t.updateQueue=null,Sf=-1,lt.current=DF,w=s(u,p)}while(uy)}lt.current=bw,t._debugHookTypes=ll;var F=Oa!==null&&Oa.next!==null;if(ch=E,nr=null,Oa=null,Ba=null,Ee=null,ll=null,Sf=-1,e!==null&&(e.flags&Sr)!==(t.flags&Sr)&&(e.mode&rn)!==xt&&m("Internal React error: Expected static flag was missing. Please notify the React team."),ow=!1,F)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return w}function sg(){var e=cy!==0;return cy=0,e}function eF(e,t,s){t.updateQueue=e.updateQueue,(t.mode&Tn)!==xt?t.flags&=-50333701:t.flags&=-2053,e.lanes=zp(e.lanes,s)}function tF(){if(lt.current=bw,ow){for(var e=nr.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}ow=!1}ch=E,nr=null,Oa=null,Ba=null,ll=null,Sf=-1,Ee=null,hF=!1,uy=!1,cy=0}function uc(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ba===null?nr.memoizedState=Ba=e:Ba=Ba.next=e,Ba}function ul(){var e;if(Oa===null){var t=nr.alternate;t!==null?e=t.memoizedState:e=null}else e=Oa.next;var s;if(Ba===null?s=nr.memoizedState:s=Ba.next,s!==null)Ba=s,s=Ba.next,Oa=e;else{if(e===null)throw new Error("Rendered more hooks than during the previous render.");Oa=e;var u={memoizedState:Oa.memoizedState,baseState:Oa.baseState,baseQueue:Oa.baseQueue,queue:Oa.queue,next:null};Ba===null?nr.memoizedState=Ba=u:Ba=Ba.next=u}return Ba}function nF(){return{lastEffect:null,stores:null}}function VD(e,t){return typeof t=="function"?t(e):t}function YD(e,t,s){var u=uc(),p;s!==void 0?p=s(t):p=t,u.memoizedState=u.baseState=p;var y={pending:null,interleaved:null,lanes:E,dispatch:null,lastRenderedReducer:e,lastRenderedState:p};u.queue=y;var w=y.dispatch=A5.bind(null,nr,y);return[u.memoizedState,w]}function GD(e,t,s){var u=ul(),p=u.queue;if(p===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");p.lastRenderedReducer=e;var y=Oa,w=y.baseQueue,_=p.pending;if(_!==null){if(w!==null){var F=w.next,B=_.next;w.next=B,_.next=F}y.baseQueue!==w&&m("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),y.baseQueue=w=_,p.pending=null}if(w!==null){var I=w.next,re=y.baseState,te=null,ue=null,ge=null,Ce=I;do{var tt=Ce.lane;if(ed(ch,tt)){if(ge!==null){var St={lane:M,action:Ce.action,hasEagerState:Ce.hasEagerState,eagerState:Ce.eagerState,next:null};ge=ge.next=St}if(Ce.hasEagerState)re=Ce.eagerState;else{var Pt=Ce.action;re=e(re,Pt)}}else{var pn={lane:tt,action:Ce.action,hasEagerState:Ce.hasEagerState,eagerState:Ce.eagerState,next:null};ge===null?(ue=ge=pn,te=re):ge=ge.next=pn,nr.lanes=Kt(nr.lanes,tt),Ay(tt)}Ce=Ce.next}while(Ce!==null&&Ce!==I);ge===null?te=re:ge.next=ue,ie(re,u.memoizedState)||by(),u.memoizedState=re,u.baseState=te,u.baseQueue=ge,p.lastRenderedState=re}var un=p.interleaved;if(un!==null){var se=un;do{var De=se.lane;nr.lanes=Kt(nr.lanes,De),Ay(De),se=se.next}while(se!==un)}else w===null&&(p.lanes=E);var le=p.dispatch;return[u.memoizedState,le]}function XD(e,t,s){var u=ul(),p=u.queue;if(p===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");p.lastRenderedReducer=e;var y=p.dispatch,w=p.pending,_=u.memoizedState;if(w!==null){p.pending=null;var F=w.next,B=F;do{var I=B.action;_=e(_,I),B=B.next}while(B!==F);ie(_,u.memoizedState)||by(),u.memoizedState=_,u.baseQueue===null&&(u.baseState=_),p.lastRenderedState=_}return[_,y]}function JD(e,t,s){var u=nr,p=uc(),y,w=pi();if(w){if(s===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");y=s(),ag||y!==s()&&(m("The result of getServerSnapshot should be cached to avoid an infinite loop"),ag=!0)}else{if(y=t(),!ag){var _=t();ie(y,_)||(m("The result of getSnapshot should be cached to avoid an infinite loop"),ag=!0)}var F=Iw();if(F===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Dm(F,ch)||rF(u,t,y)}p.memoizedState=y;var B={value:y,getSnapshot:t};return p.queue=B,dw(iF.bind(null,u,B,e),[e]),u.flags|=Ya,dy(Ra|hi,aF.bind(null,u,B,y,t),void 0,null),y}function sw(e,t,s){var u=nr,p=ul(),y=t();if(!ag){var w=t();ie(y,w)||(m("The result of getSnapshot should be cached to avoid an infinite loop"),ag=!0)}var _=p.memoizedState,F=!ie(_,y);F&&(p.memoizedState=y,by());var B=p.queue;if(py(iF.bind(null,u,B,e),[e]),B.getSnapshot!==t||F||Ba!==null&&Ba.memoizedState.tag&Ra){u.flags|=Ya,dy(Ra|hi,aF.bind(null,u,B,y,t),void 0,null);var I=Iw();if(I===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Dm(I,ch)||rF(u,t,y)}return y}function rF(e,t,s){e.flags|=qu;var u={getSnapshot:t,value:s},p=nr.updateQueue;if(p===null)p=nF(),nr.updateQueue=p,p.stores=[u];else{var y=p.stores;y===null?p.stores=[u]:y.push(u)}}function aF(e,t,s,u){t.value=s,t.getSnapshot=u,oF(t)&&sF(e)}function iF(e,t,s){var u=function(){oF(t)&&sF(e)};return s(u)}function oF(e){var t=e.getSnapshot,s=e.value;try{var u=t();return!ie(s,u)}catch{return!0}}function sF(e){var t=qo(e,U);t!==null&&za(t,e,U,dr)}function lw(e){var t=uc();typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e;var s={pending:null,interleaved:null,lanes:E,dispatch:null,lastRenderedReducer:VD,lastRenderedState:e};t.queue=s;var u=s.dispatch=$5.bind(null,nr,s);return[t.memoizedState,u]}function QD(e){return GD(VD)}function KD(e){return XD(VD)}function dy(e,t,s,u){var p={tag:e,create:t,destroy:s,deps:u,next:null},y=nr.updateQueue;if(y===null)y=nF(),nr.updateQueue=y,y.lastEffect=p.next=p;else{var w=y.lastEffect;if(w===null)y.lastEffect=p.next=p;else{var _=w.next;w.next=p,p.next=_,y.lastEffect=p}}return p}function ZD(e){var t=uc();{var s={current:e};return t.memoizedState=s,s}}function uw(e){var t=ul();return t.memoizedState}function fy(e,t,s,u){var p=uc(),y=u===void 0?null:u;nr.flags|=e,p.memoizedState=dy(Ra|t,s,void 0,y)}function cw(e,t,s,u){var p=ul(),y=u===void 0?null:u,w=void 0;if(Oa!==null){var _=Oa.memoizedState;if(w=_.destroy,y!==null){var F=_.deps;if(qD(y,F)){p.memoizedState=dy(t,s,w,y);return}}}nr.flags|=e,p.memoizedState=dy(Ra|t,s,w,y)}function dw(e,t){return(nr.mode&Tn)!==xt?fy(Oo|Ya|tf,hi,e,t):fy(Ya|tf,hi,e,t)}function py(e,t){return cw(Ya,hi,e,t)}function eS(e,t){return fy(mn,lc,e,t)}function fw(e,t){return cw(mn,lc,e,t)}function tS(e,t){var s=mn;return s|=Lo,(nr.mode&Tn)!==xt&&(s|=so),fy(s,La,e,t)}function pw(e,t){return cw(mn,La,e,t)}function lF(e,t){if(typeof t=="function"){var s=t,u=e();return s(u),function(){s(null)}}else if(t!=null){var p=t;p.hasOwnProperty("current")||m("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(p).join(", ")+"}");var y=e();return p.current=y,function(){p.current=null}}}function nS(e,t,s){typeof t!="function"&&m("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var u=s!=null?s.concat([e]):null,p=mn;return p|=Lo,(nr.mode&Tn)!==xt&&(p|=so),fy(p,La,lF.bind(null,t,e),u)}function hw(e,t,s){typeof t!="function"&&m("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var u=s!=null?s.concat([e]):null;return cw(mn,La,lF.bind(null,t,e),u)}function E5(e,t){}var mw=E5;function rS(e,t){var s=uc(),u=t===void 0?null:t;return s.memoizedState=[e,u],e}function gw(e,t){var s=ul(),u=t===void 0?null:t,p=s.memoizedState;if(p!==null&&u!==null){var y=p[1];if(qD(u,y))return p[0]}return s.memoizedState=[e,u],e}function aS(e,t){var s=uc(),u=t===void 0?null:t,p=e();return s.memoizedState=[p,u],p}function vw(e,t){var s=ul(),u=t===void 0?null:t,p=s.memoizedState;if(p!==null&&u!==null){var y=p[1];if(qD(u,y))return p[0]}var w=e();return s.memoizedState=[w,u],w}function iS(e){var t=uc();return t.memoizedState=e,e}function uF(e){var t=ul(),s=Oa,u=s.memoizedState;return dF(t,u,e)}function cF(e){var t=ul();if(Oa===null)return t.memoizedState=e,e;var s=Oa.memoizedState;return dF(t,s,e)}function dF(e,t,s){var u=!mv(ch);if(u){if(!ie(s,t)){var p=yv();nr.lanes=Kt(nr.lanes,p),Ay(p),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,by()),e.memoizedState=s,s}function T5(e,t,s){var u=bs();ua(Wb(u,ys)),e(!0);var p=ly.transition;ly.transition={};var y=ly.transition;ly.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(ua(u),ly.transition=p,p===null&&y._updatedFibers){var w=y._updatedFibers.size;w>10&&h("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."),y._updatedFibers.clear()}}}function oS(){var e=lw(!1),t=e[0],s=e[1],u=T5.bind(null,s),p=uc();return p.memoizedState=u,[t,u]}function fF(){var e=QD(),t=e[0],s=ul(),u=s.memoizedState;return[t,u]}function pF(){var e=KD(),t=e[0],s=ul(),u=s.memoizedState;return[t,u]}var hF=!1;function F5(){return hF}function sS(){var e=uc(),t=Iw(),s=t.identifierPrefix,u;if(pi()){var p=V6();u=":"+s+"R"+p;var y=cy++;y>0&&(u+="H"+y.toString(32)),u+=":"}else{var w=C5++;u=":"+s+"r"+w.toString(32)+":"}return e.memoizedState=u,u}function yw(){var e=ul(),t=e.memoizedState;return t}function A5(e,t,s){typeof arguments[3]=="function"&&m("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 u=Tf(e),p={lane:u,action:s,hasEagerState:!1,eagerState:null,next:null};if(mF(e))gF(t,p);else{var y=WT(e,t,p,u);if(y!==null){var w=ho();za(y,e,u,w),vF(y,t,u)}}yF(e,u)}function $5(e,t,s){typeof arguments[3]=="function"&&m("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 u=Tf(e),p={lane:u,action:s,hasEagerState:!1,eagerState:null,next:null};if(mF(e))gF(t,p);else{var y=e.alternate;if(e.lanes===E&&(y===null||y.lanes===E)){var w=t.lastRenderedReducer;if(w!==null){var _;_=lt.current,lt.current=ru;try{var F=t.lastRenderedState,B=w(F,s);if(p.hasEagerState=!0,p.eagerState=B,ie(B,F)){m5(e,t,p,u);return}}catch{}finally{lt.current=_}}}var I=WT(e,t,p,u);if(I!==null){var re=ho();za(I,e,u,re),vF(I,t,u)}}yF(e,u)}function mF(e){var t=e.alternate;return e===nr||t!==null&&t===nr}function gF(e,t){uy=ow=!0;var s=e.pending;s===null?t.next=t:(t.next=s.next,s.next=t),e.pending=t}function vF(e,t,s){if(vv(s)){var u=t.lanes;u=bv(u,e.pendingLanes);var p=Kt(u,s);t.lanes=p,Up(e,p)}}function yF(e,t,s){el(e,t)}var bw={readContext:Sa,useCallback:Hi,useContext:Hi,useEffect:Hi,useImperativeHandle:Hi,useInsertionEffect:Hi,useLayoutEffect:Hi,useMemo:Hi,useReducer:Hi,useRef:Hi,useState:Hi,useDebugValue:Hi,useDeferredValue:Hi,useTransition:Hi,useMutableSource:Hi,useSyncExternalStore:Hi,useId:Hi,unstable_isNewReconciler:de},bF=null,kF=null,wF=null,DF=null,cc=null,ru=null,kw=null;{var lS=function(){m("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().")},Ht=function(){m("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")};bF={readContext:function(e){return Sa(e)},useCallback:function(e,t){return Ee="useCallback",qn(),ig(t),rS(e,t)},useContext:function(e){return Ee="useContext",qn(),Sa(e)},useEffect:function(e,t){return Ee="useEffect",qn(),ig(t),dw(e,t)},useImperativeHandle:function(e,t,s){return Ee="useImperativeHandle",qn(),ig(s),nS(e,t,s)},useInsertionEffect:function(e,t){return Ee="useInsertionEffect",qn(),ig(t),eS(e,t)},useLayoutEffect:function(e,t){return Ee="useLayoutEffect",qn(),ig(t),tS(e,t)},useMemo:function(e,t){Ee="useMemo",qn(),ig(t);var s=lt.current;lt.current=cc;try{return aS(e,t)}finally{lt.current=s}},useReducer:function(e,t,s){Ee="useReducer",qn();var u=lt.current;lt.current=cc;try{return YD(e,t,s)}finally{lt.current=u}},useRef:function(e){return Ee="useRef",qn(),ZD(e)},useState:function(e){Ee="useState",qn();var t=lt.current;lt.current=cc;try{return lw(e)}finally{lt.current=t}},useDebugValue:function(e,t){return Ee="useDebugValue",qn(),void 0},useDeferredValue:function(e){return Ee="useDeferredValue",qn(),iS(e)},useTransition:function(){return Ee="useTransition",qn(),oS()},useMutableSource:function(e,t,s){return Ee="useMutableSource",qn(),void 0},useSyncExternalStore:function(e,t,s){return Ee="useSyncExternalStore",qn(),JD(e,t,s)},useId:function(){return Ee="useId",qn(),sS()},unstable_isNewReconciler:de},kF={readContext:function(e){return Sa(e)},useCallback:function(e,t){return Ee="useCallback",Qe(),rS(e,t)},useContext:function(e){return Ee="useContext",Qe(),Sa(e)},useEffect:function(e,t){return Ee="useEffect",Qe(),dw(e,t)},useImperativeHandle:function(e,t,s){return Ee="useImperativeHandle",Qe(),nS(e,t,s)},useInsertionEffect:function(e,t){return Ee="useInsertionEffect",Qe(),eS(e,t)},useLayoutEffect:function(e,t){return Ee="useLayoutEffect",Qe(),tS(e,t)},useMemo:function(e,t){Ee="useMemo",Qe();var s=lt.current;lt.current=cc;try{return aS(e,t)}finally{lt.current=s}},useReducer:function(e,t,s){Ee="useReducer",Qe();var u=lt.current;lt.current=cc;try{return YD(e,t,s)}finally{lt.current=u}},useRef:function(e){return Ee="useRef",Qe(),ZD(e)},useState:function(e){Ee="useState",Qe();var t=lt.current;lt.current=cc;try{return lw(e)}finally{lt.current=t}},useDebugValue:function(e,t){return Ee="useDebugValue",Qe(),void 0},useDeferredValue:function(e){return Ee="useDeferredValue",Qe(),iS(e)},useTransition:function(){return Ee="useTransition",Qe(),oS()},useMutableSource:function(e,t,s){return Ee="useMutableSource",Qe(),void 0},useSyncExternalStore:function(e,t,s){return Ee="useSyncExternalStore",Qe(),JD(e,t,s)},useId:function(){return Ee="useId",Qe(),sS()},unstable_isNewReconciler:de},wF={readContext:function(e){return Sa(e)},useCallback:function(e,t){return Ee="useCallback",Qe(),gw(e,t)},useContext:function(e){return Ee="useContext",Qe(),Sa(e)},useEffect:function(e,t){return Ee="useEffect",Qe(),py(e,t)},useImperativeHandle:function(e,t,s){return Ee="useImperativeHandle",Qe(),hw(e,t,s)},useInsertionEffect:function(e,t){return Ee="useInsertionEffect",Qe(),fw(e,t)},useLayoutEffect:function(e,t){return Ee="useLayoutEffect",Qe(),pw(e,t)},useMemo:function(e,t){Ee="useMemo",Qe();var s=lt.current;lt.current=ru;try{return vw(e,t)}finally{lt.current=s}},useReducer:function(e,t,s){Ee="useReducer",Qe();var u=lt.current;lt.current=ru;try{return GD(e,t,s)}finally{lt.current=u}},useRef:function(e){return Ee="useRef",Qe(),uw()},useState:function(e){Ee="useState",Qe();var t=lt.current;lt.current=ru;try{return QD(e)}finally{lt.current=t}},useDebugValue:function(e,t){return Ee="useDebugValue",Qe(),mw()},useDeferredValue:function(e){return Ee="useDeferredValue",Qe(),uF(e)},useTransition:function(){return Ee="useTransition",Qe(),fF()},useMutableSource:function(e,t,s){return Ee="useMutableSource",Qe(),void 0},useSyncExternalStore:function(e,t,s){return Ee="useSyncExternalStore",Qe(),sw(e,t)},useId:function(){return Ee="useId",Qe(),yw()},unstable_isNewReconciler:de},DF={readContext:function(e){return Sa(e)},useCallback:function(e,t){return Ee="useCallback",Qe(),gw(e,t)},useContext:function(e){return Ee="useContext",Qe(),Sa(e)},useEffect:function(e,t){return Ee="useEffect",Qe(),py(e,t)},useImperativeHandle:function(e,t,s){return Ee="useImperativeHandle",Qe(),hw(e,t,s)},useInsertionEffect:function(e,t){return Ee="useInsertionEffect",Qe(),fw(e,t)},useLayoutEffect:function(e,t){return Ee="useLayoutEffect",Qe(),pw(e,t)},useMemo:function(e,t){Ee="useMemo",Qe();var s=lt.current;lt.current=kw;try{return vw(e,t)}finally{lt.current=s}},useReducer:function(e,t,s){Ee="useReducer",Qe();var u=lt.current;lt.current=kw;try{return XD(e,t,s)}finally{lt.current=u}},useRef:function(e){return Ee="useRef",Qe(),uw()},useState:function(e){Ee="useState",Qe();var t=lt.current;lt.current=kw;try{return KD(e)}finally{lt.current=t}},useDebugValue:function(e,t){return Ee="useDebugValue",Qe(),mw()},useDeferredValue:function(e){return Ee="useDeferredValue",Qe(),cF(e)},useTransition:function(){return Ee="useTransition",Qe(),pF()},useMutableSource:function(e,t,s){return Ee="useMutableSource",Qe(),void 0},useSyncExternalStore:function(e,t,s){return Ee="useSyncExternalStore",Qe(),sw(e,t)},useId:function(){return Ee="useId",Qe(),yw()},unstable_isNewReconciler:de},cc={readContext:function(e){return lS(),Sa(e)},useCallback:function(e,t){return Ee="useCallback",Ht(),qn(),rS(e,t)},useContext:function(e){return Ee="useContext",Ht(),qn(),Sa(e)},useEffect:function(e,t){return Ee="useEffect",Ht(),qn(),dw(e,t)},useImperativeHandle:function(e,t,s){return Ee="useImperativeHandle",Ht(),qn(),nS(e,t,s)},useInsertionEffect:function(e,t){return Ee="useInsertionEffect",Ht(),qn(),eS(e,t)},useLayoutEffect:function(e,t){return Ee="useLayoutEffect",Ht(),qn(),tS(e,t)},useMemo:function(e,t){Ee="useMemo",Ht(),qn();var s=lt.current;lt.current=cc;try{return aS(e,t)}finally{lt.current=s}},useReducer:function(e,t,s){Ee="useReducer",Ht(),qn();var u=lt.current;lt.current=cc;try{return YD(e,t,s)}finally{lt.current=u}},useRef:function(e){return Ee="useRef",Ht(),qn(),ZD(e)},useState:function(e){Ee="useState",Ht(),qn();var t=lt.current;lt.current=cc;try{return lw(e)}finally{lt.current=t}},useDebugValue:function(e,t){return Ee="useDebugValue",Ht(),qn(),void 0},useDeferredValue:function(e){return Ee="useDeferredValue",Ht(),qn(),iS(e)},useTransition:function(){return Ee="useTransition",Ht(),qn(),oS()},useMutableSource:function(e,t,s){return Ee="useMutableSource",Ht(),qn(),void 0},useSyncExternalStore:function(e,t,s){return Ee="useSyncExternalStore",Ht(),qn(),JD(e,t,s)},useId:function(){return Ee="useId",Ht(),qn(),sS()},unstable_isNewReconciler:de},ru={readContext:function(e){return lS(),Sa(e)},useCallback:function(e,t){return Ee="useCallback",Ht(),Qe(),gw(e,t)},useContext:function(e){return Ee="useContext",Ht(),Qe(),Sa(e)},useEffect:function(e,t){return Ee="useEffect",Ht(),Qe(),py(e,t)},useImperativeHandle:function(e,t,s){return Ee="useImperativeHandle",Ht(),Qe(),hw(e,t,s)},useInsertionEffect:function(e,t){return Ee="useInsertionEffect",Ht(),Qe(),fw(e,t)},useLayoutEffect:function(e,t){return Ee="useLayoutEffect",Ht(),Qe(),pw(e,t)},useMemo:function(e,t){Ee="useMemo",Ht(),Qe();var s=lt.current;lt.current=ru;try{return vw(e,t)}finally{lt.current=s}},useReducer:function(e,t,s){Ee="useReducer",Ht(),Qe();var u=lt.current;lt.current=ru;try{return GD(e,t,s)}finally{lt.current=u}},useRef:function(e){return Ee="useRef",Ht(),Qe(),uw()},useState:function(e){Ee="useState",Ht(),Qe();var t=lt.current;lt.current=ru;try{return QD(e)}finally{lt.current=t}},useDebugValue:function(e,t){return Ee="useDebugValue",Ht(),Qe(),mw()},useDeferredValue:function(e){return Ee="useDeferredValue",Ht(),Qe(),uF(e)},useTransition:function(){return Ee="useTransition",Ht(),Qe(),fF()},useMutableSource:function(e,t,s){return Ee="useMutableSource",Ht(),Qe(),void 0},useSyncExternalStore:function(e,t,s){return Ee="useSyncExternalStore",Ht(),Qe(),sw(e,t)},useId:function(){return Ee="useId",Ht(),Qe(),yw()},unstable_isNewReconciler:de},kw={readContext:function(e){return lS(),Sa(e)},useCallback:function(e,t){return Ee="useCallback",Ht(),Qe(),gw(e,t)},useContext:function(e){return Ee="useContext",Ht(),Qe(),Sa(e)},useEffect:function(e,t){return Ee="useEffect",Ht(),Qe(),py(e,t)},useImperativeHandle:function(e,t,s){return Ee="useImperativeHandle",Ht(),Qe(),hw(e,t,s)},useInsertionEffect:function(e,t){return Ee="useInsertionEffect",Ht(),Qe(),fw(e,t)},useLayoutEffect:function(e,t){return Ee="useLayoutEffect",Ht(),Qe(),pw(e,t)},useMemo:function(e,t){Ee="useMemo",Ht(),Qe();var s=lt.current;lt.current=ru;try{return vw(e,t)}finally{lt.current=s}},useReducer:function(e,t,s){Ee="useReducer",Ht(),Qe();var u=lt.current;lt.current=ru;try{return XD(e,t,s)}finally{lt.current=u}},useRef:function(e){return Ee="useRef",Ht(),Qe(),uw()},useState:function(e){Ee="useState",Ht(),Qe();var t=lt.current;lt.current=ru;try{return KD(e)}finally{lt.current=t}},useDebugValue:function(e,t){return Ee="useDebugValue",Ht(),Qe(),mw()},useDeferredValue:function(e){return Ee="useDeferredValue",Ht(),Qe(),cF(e)},useTransition:function(){return Ee="useTransition",Ht(),Qe(),pF()},useMutableSource:function(e,t,s){return Ee="useMutableSource",Ht(),Qe(),void 0},useSyncExternalStore:function(e,t,s){return Ee="useSyncExternalStore",Ht(),Qe(),sw(e,t)},useId:function(){return Ee="useId",Ht(),Qe(),yw()},unstable_isNewReconciler:de}}var Cf=n.unstable_now,SF=0,ww=-1,hy=-1,Dw=-1,uS=!1,Sw=!1;function CF(){return uS}function P5(){Sw=!0}function N5(){uS=!1,Sw=!1}function R5(){uS=Sw,Sw=!1}function xF(){return SF}function _F(){SF=Cf()}function cS(e){hy=Cf(),e.actualStartTime<0&&(e.actualStartTime=Cf())}function EF(e){hy=-1}function Cw(e,t){if(hy>=0){var s=Cf()-hy;e.actualDuration+=s,t&&(e.selfBaseDuration=s),hy=-1}}function dc(e){if(ww>=0){var t=Cf()-ww;ww=-1;for(var s=e.return;s!==null;){switch(s.tag){case N:var u=s.stateNode;u.effectDuration+=t;return;case Z:var p=s.stateNode;p.effectDuration+=t;return}s=s.return}}}function dS(e){if(Dw>=0){var t=Cf()-Dw;Dw=-1;for(var s=e.return;s!==null;){switch(s.tag){case N:var u=s.stateNode;u!==null&&(u.passiveEffectDuration+=t);return;case Z:var p=s.stateNode;p!==null&&(p.passiveEffectDuration+=t);return}s=s.return}}}function fc(){ww=Cf()}function fS(){Dw=Cf()}function pS(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function au(e,t){if(e&&e.defaultProps){var s=Jt({},t),u=e.defaultProps;for(var p in u)s[p]===void 0&&(s[p]=u[p]);return s}return t}var hS={},mS,gS,vS,yS,bS,TF,xw,kS,wS,DS,my;{mS=new Set,gS=new Set,vS=new Set,yS=new Set,kS=new Set,bS=new Set,wS=new Set,DS=new Set,my=new Set;var FF=new Set;xw=function(e,t){if(!(e===null||typeof e=="function")){var s=t+"_"+e;FF.has(s)||(FF.add(s),m("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},TF=function(e,t){if(t===void 0){var s=kn(e)||"Component";bS.has(s)||(bS.add(s),m("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",s))}},Object.defineProperty(hS,"_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(hS)}function SS(e,t,s,u){var p=e.memoizedState,y=s(u,p);{if(e.mode&Wn){tr(!0);try{y=s(u,p)}finally{tr(!1)}}TF(t,y)}var w=y==null?p:Jt({},p,y);if(e.memoizedState=w,e.lanes===E){var _=e.updateQueue;_.baseState=w}}var CS={isMounted:cm,enqueueSetState:function(e,t,s){var u=Wu(e),p=ho(),y=Tf(u),w=gd(p,y);w.payload=t,s!=null&&(xw(s,"setState"),w.callback=s);var _=kf(u,w,y);_!==null&&(za(_,u,y,p),ew(_,u,y)),el(u,y)},enqueueReplaceState:function(e,t,s){var u=Wu(e),p=ho(),y=Tf(u),w=gd(p,y);w.tag=VT,w.payload=t,s!=null&&(xw(s,"replaceState"),w.callback=s);var _=kf(u,w,y);_!==null&&(za(_,u,y,p),ew(_,u,y)),el(u,y)},enqueueForceUpdate:function(e,t){var s=Wu(e),u=ho(),p=Tf(s),y=gd(u,p);y.tag=Qk,t!=null&&(xw(t,"forceUpdate"),y.callback=t);var w=kf(s,y,p);w!==null&&(za(w,s,p,u),ew(w,s,p)),Gc(s,p)}};function AF(e,t,s,u,p,y,w){var _=e.stateNode;if(typeof _.shouldComponentUpdate=="function"){var F=_.shouldComponentUpdate(u,y,w);{if(e.mode&Wn){tr(!0);try{F=_.shouldComponentUpdate(u,y,w)}finally{tr(!1)}}F===void 0&&m("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",kn(t)||"Component")}return F}return t.prototype&&t.prototype.isPureReactComponent?!Ue(s,u)||!Ue(p,y):!0}function L5(e,t,s){var u=e.stateNode;{var p=kn(t)||"Component",y=u.render;y||(t.prototype&&typeof t.prototype.render=="function"?m("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",p):m("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",p)),u.getInitialState&&!u.getInitialState.isReactClassApproved&&!u.state&&m("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?",p),u.getDefaultProps&&!u.getDefaultProps.isReactClassApproved&&m("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.",p),u.propTypes&&m("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",p),u.contextType&&m("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",p),t.childContextTypes&&!my.has(t)&&(e.mode&Wn)===xt&&(my.add(t),m(`%s uses the legacy childContextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() instead
246
246
 
247
247
  .Learn more about this warning here: https://reactjs.org/link/legacy-context`,p)),t.contextTypes&&!my.has(t)&&(e.mode&Wn)===xt&&(my.add(t),m(`%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.
248
248
 
@@ -254,13 +254,13 @@ The above lifecycles should be removed. Learn more about this warning here:
254
254
  https://reactjs.org/link/unsafe-component-lifecycles`,tt,St,ue!==null?`
255
255
  `+ue:"",ge!==null?`
256
256
  `+ge:"",Ce!==null?`
257
- `+Ce:""))}}}return u&&wT(e,p,y),I}function Oz(e,t){var s=t.state;typeof t.componentWillMount=="function"&&t.componentWillMount(),typeof t.UNSAFE_componentWillMount=="function"&&t.UNSAFE_componentWillMount(),s!==t.state&&(m("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",Bt(e)||"Component"),CS.enqueueReplaceState(t,t.state,null))}function NF(e,t,s,u){var p=t.state;if(typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(s,u),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(s,u),t.state!==p){{var y=Bt(e)||"Component";mS.has(y)||(mS.add(y),m("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",y))}CS.enqueueReplaceState(t,t.state,null)}}function xS(e,t,s,u){Lz(e,t,s);var p=e.stateNode;p.props=s,p.state=e.memoizedState,p.refs={},RD(e);var y=t.contextType;if(typeof y=="object"&&y!==null)p.context=Sa(y);else{var w=Ym(e,t,!0);p.context=Gm(e,w)}{if(p.state===s){var _=kn(t)||"Component";kS.has(_)||(kS.add(_),m("%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.",_))}e.mode&Wn&&tu.recordLegacyContextWarning(e,p),tu.recordUnsafeLifecycleWarnings(e,p)}p.state=e.memoizedState;var F=t.getDerivedStateFromProps;if(typeof F=="function"&&(SS(e,t,F,s),p.state=e.memoizedState),typeof t.getDerivedStateFromProps!="function"&&typeof p.getSnapshotBeforeUpdate!="function"&&(typeof p.UNSAFE_componentWillMount=="function"||typeof p.componentWillMount=="function")&&(Oz(e,p),tw(e,s,p,u),p.state=e.memoizedState),typeof p.componentDidMount=="function"){var B=mn;B|=Lo,(e.mode&Tn)!==xt&&(B|=so),e.flags|=B}}function Bz(e,t,s,u){var p=e.stateNode,y=e.memoizedProps;p.props=y;var w=p.context,_=t.contextType,F=Ss;if(typeof _=="object"&&_!==null)F=Sa(_);else{var B=Ym(e,t,!0);F=Gm(e,B)}var I=t.getDerivedStateFromProps,re=typeof I=="function"||typeof p.getSnapshotBeforeUpdate=="function";!re&&(typeof p.UNSAFE_componentWillReceiveProps=="function"||typeof p.componentWillReceiveProps=="function")&&(y!==s||w!==F)&&NF(e,p,s,F),GT();var te=e.memoizedState,ue=p.state=te;if(tw(e,s,p,u),ue=e.memoizedState,y===s&&te===ue&&!Ok()&&!nw()){if(typeof p.componentDidMount=="function"){var ge=mn;ge|=Lo,(e.mode&Tn)!==xt&&(ge|=so),e.flags|=ge}return!1}typeof I=="function"&&(SS(e,t,I,s),ue=e.memoizedState);var Ce=nw()||AF(e,t,y,s,te,ue,F);if(Ce){if(!re&&(typeof p.UNSAFE_componentWillMount=="function"||typeof p.componentWillMount=="function")&&(typeof p.componentWillMount=="function"&&p.componentWillMount(),typeof p.UNSAFE_componentWillMount=="function"&&p.UNSAFE_componentWillMount()),typeof p.componentDidMount=="function"){var tt=mn;tt|=Lo,(e.mode&Tn)!==xt&&(tt|=so),e.flags|=tt}}else{if(typeof p.componentDidMount=="function"){var St=mn;St|=Lo,(e.mode&Tn)!==xt&&(St|=so),e.flags|=St}e.memoizedProps=s,e.memoizedState=ue}return p.props=s,p.state=ue,p.context=F,Ce}function Mz(e,t,s,u,p){var y=t.stateNode;YT(e,t);var w=t.memoizedProps,_=t.type===t.elementType?w:au(t.type,w);y.props=_;var F=t.pendingProps,B=y.context,I=s.contextType,re=Ss;if(typeof I=="object"&&I!==null)re=Sa(I);else{var te=Ym(t,s,!0);re=Gm(t,te)}var ue=s.getDerivedStateFromProps,ge=typeof ue=="function"||typeof y.getSnapshotBeforeUpdate=="function";!ge&&(typeof y.UNSAFE_componentWillReceiveProps=="function"||typeof y.componentWillReceiveProps=="function")&&(w!==F||B!==re)&&NF(t,y,u,re),GT();var Ce=t.memoizedState,tt=y.state=Ce;if(tw(t,u,y,p),tt=t.memoizedState,w===F&&Ce===tt&&!Ok()&&!nw())return typeof y.componentDidUpdate=="function"&&(w!==e.memoizedProps||Ce!==e.memoizedState)&&(t.flags|=mn),typeof y.getSnapshotBeforeUpdate=="function"&&(w!==e.memoizedProps||Ce!==e.memoizedState)&&(t.flags|=qr),!1;typeof ue=="function"&&(SS(t,s,ue,u),tt=t.memoizedState);var St=nw()||AF(t,s,_,u,Ce,tt,re)||Le;return St?(!ge&&(typeof y.UNSAFE_componentWillUpdate=="function"||typeof y.componentWillUpdate=="function")&&(typeof y.componentWillUpdate=="function"&&y.componentWillUpdate(u,tt,re),typeof y.UNSAFE_componentWillUpdate=="function"&&y.UNSAFE_componentWillUpdate(u,tt,re)),typeof y.componentDidUpdate=="function"&&(t.flags|=mn),typeof y.getSnapshotBeforeUpdate=="function"&&(t.flags|=qr)):(typeof y.componentDidUpdate=="function"&&(w!==e.memoizedProps||Ce!==e.memoizedState)&&(t.flags|=mn),typeof y.getSnapshotBeforeUpdate=="function"&&(w!==e.memoizedProps||Ce!==e.memoizedState)&&(t.flags|=qr),t.memoizedProps=u,t.memoizedState=tt),y.props=u,y.state=tt,y.context=re,St}function dh(e,t){return{value:e,source:t,stack:ts(t),digest:null}}function _S(e,t,s){return{value:e,source:null,stack:s??null,digest:t??null}}function Iz(e,t){return!0}function ES(e,t){try{var s=Iz(e,t);if(s===!1)return;var u=t.value,p=t.source,y=t.stack,w=y!==null?y:"";if(u!=null&&u._suppressLogging){if(e.tag===T)return;console.error(u)}var _=p?Bt(p):null,F=_?"The above error occurred in the <"+_+"> component:":"The above error occurred in one of your React components:",B;if(e.tag===N)B=`Consider adding an error boundary to your tree to customize error handling behavior.
257
+ `+Ce:""))}}}return u&&wT(e,p,y),I}function O5(e,t){var s=t.state;typeof t.componentWillMount=="function"&&t.componentWillMount(),typeof t.UNSAFE_componentWillMount=="function"&&t.UNSAFE_componentWillMount(),s!==t.state&&(m("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",Bt(e)||"Component"),CS.enqueueReplaceState(t,t.state,null))}function NF(e,t,s,u){var p=t.state;if(typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(s,u),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(s,u),t.state!==p){{var y=Bt(e)||"Component";mS.has(y)||(mS.add(y),m("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",y))}CS.enqueueReplaceState(t,t.state,null)}}function xS(e,t,s,u){L5(e,t,s);var p=e.stateNode;p.props=s,p.state=e.memoizedState,p.refs={},RD(e);var y=t.contextType;if(typeof y=="object"&&y!==null)p.context=Sa(y);else{var w=Ym(e,t,!0);p.context=Gm(e,w)}{if(p.state===s){var _=kn(t)||"Component";kS.has(_)||(kS.add(_),m("%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.",_))}e.mode&Wn&&tu.recordLegacyContextWarning(e,p),tu.recordUnsafeLifecycleWarnings(e,p)}p.state=e.memoizedState;var F=t.getDerivedStateFromProps;if(typeof F=="function"&&(SS(e,t,F,s),p.state=e.memoizedState),typeof t.getDerivedStateFromProps!="function"&&typeof p.getSnapshotBeforeUpdate!="function"&&(typeof p.UNSAFE_componentWillMount=="function"||typeof p.componentWillMount=="function")&&(O5(e,p),tw(e,s,p,u),p.state=e.memoizedState),typeof p.componentDidMount=="function"){var B=mn;B|=Lo,(e.mode&Tn)!==xt&&(B|=so),e.flags|=B}}function B5(e,t,s,u){var p=e.stateNode,y=e.memoizedProps;p.props=y;var w=p.context,_=t.contextType,F=Ss;if(typeof _=="object"&&_!==null)F=Sa(_);else{var B=Ym(e,t,!0);F=Gm(e,B)}var I=t.getDerivedStateFromProps,re=typeof I=="function"||typeof p.getSnapshotBeforeUpdate=="function";!re&&(typeof p.UNSAFE_componentWillReceiveProps=="function"||typeof p.componentWillReceiveProps=="function")&&(y!==s||w!==F)&&NF(e,p,s,F),GT();var te=e.memoizedState,ue=p.state=te;if(tw(e,s,p,u),ue=e.memoizedState,y===s&&te===ue&&!Ok()&&!nw()){if(typeof p.componentDidMount=="function"){var ge=mn;ge|=Lo,(e.mode&Tn)!==xt&&(ge|=so),e.flags|=ge}return!1}typeof I=="function"&&(SS(e,t,I,s),ue=e.memoizedState);var Ce=nw()||AF(e,t,y,s,te,ue,F);if(Ce){if(!re&&(typeof p.UNSAFE_componentWillMount=="function"||typeof p.componentWillMount=="function")&&(typeof p.componentWillMount=="function"&&p.componentWillMount(),typeof p.UNSAFE_componentWillMount=="function"&&p.UNSAFE_componentWillMount()),typeof p.componentDidMount=="function"){var tt=mn;tt|=Lo,(e.mode&Tn)!==xt&&(tt|=so),e.flags|=tt}}else{if(typeof p.componentDidMount=="function"){var St=mn;St|=Lo,(e.mode&Tn)!==xt&&(St|=so),e.flags|=St}e.memoizedProps=s,e.memoizedState=ue}return p.props=s,p.state=ue,p.context=F,Ce}function M5(e,t,s,u,p){var y=t.stateNode;YT(e,t);var w=t.memoizedProps,_=t.type===t.elementType?w:au(t.type,w);y.props=_;var F=t.pendingProps,B=y.context,I=s.contextType,re=Ss;if(typeof I=="object"&&I!==null)re=Sa(I);else{var te=Ym(t,s,!0);re=Gm(t,te)}var ue=s.getDerivedStateFromProps,ge=typeof ue=="function"||typeof y.getSnapshotBeforeUpdate=="function";!ge&&(typeof y.UNSAFE_componentWillReceiveProps=="function"||typeof y.componentWillReceiveProps=="function")&&(w!==F||B!==re)&&NF(t,y,u,re),GT();var Ce=t.memoizedState,tt=y.state=Ce;if(tw(t,u,y,p),tt=t.memoizedState,w===F&&Ce===tt&&!Ok()&&!nw())return typeof y.componentDidUpdate=="function"&&(w!==e.memoizedProps||Ce!==e.memoizedState)&&(t.flags|=mn),typeof y.getSnapshotBeforeUpdate=="function"&&(w!==e.memoizedProps||Ce!==e.memoizedState)&&(t.flags|=qr),!1;typeof ue=="function"&&(SS(t,s,ue,u),tt=t.memoizedState);var St=nw()||AF(t,s,_,u,Ce,tt,re)||Le;return St?(!ge&&(typeof y.UNSAFE_componentWillUpdate=="function"||typeof y.componentWillUpdate=="function")&&(typeof y.componentWillUpdate=="function"&&y.componentWillUpdate(u,tt,re),typeof y.UNSAFE_componentWillUpdate=="function"&&y.UNSAFE_componentWillUpdate(u,tt,re)),typeof y.componentDidUpdate=="function"&&(t.flags|=mn),typeof y.getSnapshotBeforeUpdate=="function"&&(t.flags|=qr)):(typeof y.componentDidUpdate=="function"&&(w!==e.memoizedProps||Ce!==e.memoizedState)&&(t.flags|=mn),typeof y.getSnapshotBeforeUpdate=="function"&&(w!==e.memoizedProps||Ce!==e.memoizedState)&&(t.flags|=qr),t.memoizedProps=u,t.memoizedState=tt),y.props=u,y.state=tt,y.context=re,St}function dh(e,t){return{value:e,source:t,stack:ts(t),digest:null}}function _S(e,t,s){return{value:e,source:null,stack:s??null,digest:t??null}}function I5(e,t){return!0}function ES(e,t){try{var s=I5(e,t);if(s===!1)return;var u=t.value,p=t.source,y=t.stack,w=y!==null?y:"";if(u!=null&&u._suppressLogging){if(e.tag===T)return;console.error(u)}var _=p?Bt(p):null,F=_?"The above error occurred in the <"+_+"> component:":"The above error occurred in one of your React components:",B;if(e.tag===N)B=`Consider adding an error boundary to your tree to customize error handling behavior.
258
258
  Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;else{var I=Bt(e)||"Anonymous";B="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+I+".")}var re=F+`
259
259
  `+w+`
260
260
 
261
- `+(""+B);console.error(re)}catch(te){setTimeout(function(){throw te})}}var jz=typeof WeakMap=="function"?WeakMap:Map;function RF(e,t,s){var u=gd(dr,s);u.tag=PD,u.payload={element:null};var p=t.value;return u.callback=function(){P9(p),ES(e,t)},u}function TS(e,t,s){var u=gd(dr,s);u.tag=PD;var p=e.type.getDerivedStateFromError;if(typeof p=="function"){var y=t.value;u.payload=function(){return p(y)},u.callback=function(){qA(e),ES(e,t)}}var w=e.stateNode;return w!==null&&typeof w.componentDidCatch=="function"&&(u.callback=function(){qA(e),ES(e,t),typeof p!="function"&&A9(this);var _=t.value,F=t.stack;this.componentDidCatch(_,{componentStack:F!==null?F:""}),typeof p!="function"&&(Bi(e.lanes,U)||m("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",Bt(e)||"Unknown"))}),u}function LF(e,t,s){var u=e.pingCache,p;if(u===null?(u=e.pingCache=new jz,p=new Set,u.set(t,p)):(p=u.get(t),p===void 0&&(p=new Set,u.set(t,p))),!p.has(s)){p.add(s);var y=N9.bind(null,e,t,s);Qa&&$y(e,s),t.then(y,y)}}function zz(e,t,s,u){var p=e.updateQueue;if(p===null){var y=new Set;y.add(s),e.updateQueue=y}else p.add(s)}function Uz(e,t){var s=e.tag;if((e.mode&rn)===xt&&(s===C||s===W||s===pe)){var u=e.alternate;u?(e.updateQueue=u.updateQueue,e.memoizedState=u.memoizedState,e.lanes=u.lanes):(e.updateQueue=null,e.memoizedState=null)}}function OF(e){var t=e;do{if(t.tag===X&&Dz(t))return t;t=t.return}while(t!==null);return null}function BF(e,t,s,u,p){if((e.mode&rn)===xt){if(e===t)e.flags|=Ga;else{if(e.flags|=yt,s.flags|=ps,s.flags&=-52805,s.tag===T){var y=s.alternate;if(y===null)s.tag=be;else{var w=gd(dr,U);w.tag=Qk,kf(s,w,U)}}s.lanes=Kt(s.lanes,U)}return e}return e.flags|=Ga,e.lanes=p,e}function Hz(e,t,s,u,p){if(s.flags|=Uc,Qa&&$y(e,p),u!==null&&typeof u=="object"&&typeof u.then=="function"){var y=u;Uz(s),pi()&&s.mode&rn&&TT();var w=OF(t);if(w!==null){w.flags&=-257,BF(w,t,s,e,p),w.mode&rn&&LF(e,y,p),zz(w,e,y);return}else{if(!Mb(p)){LF(e,y,p),sC();return}var _=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.");u=_}}else if(pi()&&s.mode&rn){TT();var F=OF(t);if(F!==null){(F.flags&Ga)===Ct&&(F.flags|=ba),BF(F,t,s,e,p),kD(dh(u,s));return}}u=dh(u,s),D9(u);var B=t;do{switch(B.tag){case N:{var I=u;B.flags|=Ga;var re=jp(p);B.lanes=Kt(B.lanes,re);var te=RF(B,I,re);LD(B,te);return}case T:var ue=u,ge=B.type,Ce=B.stateNode;if((B.flags&yt)===Ct&&(typeof ge.getDerivedStateFromError=="function"||Ce!==null&&typeof Ce.componentDidCatch=="function"&&!OA(Ce))){B.flags|=Ga;var tt=jp(p);B.lanes=Kt(B.lanes,tt);var St=TS(B,ue,tt);LD(B,St);return}break}B=B.return}while(B!==null)}function Wz(){return null}var gy=i.ReactCurrentOwner,iu=!1,FS,vy,AS,$S,PS,fh,NS,_w,yy;FS={},vy={},AS={},$S={},PS={},fh=!1,NS={},_w={},yy={};function fo(e,t,s,u){e===null?t.child=jT(t,null,s,u):t.child=Km(t,e.child,s,u)}function qz(e,t,s,u){t.child=Km(t,e.child,null,u),t.child=Km(t,null,s,u)}function MF(e,t,s,u,p){if(t.type!==t.elementType){var y=s.propTypes;y&&Zl(y,u,"prop",kn(s))}var w=s.render,_=t.ref,F,B;eg(t,p),Ka(t);{if(gy.current=t,Fr(!0),F=og(e,t,w,u,_,p),B=sg(),t.mode&Wn){tr(!0);try{F=og(e,t,w,u,_,p),B=sg()}finally{tr(!1)}}Fr(!1)}return Zr(),e!==null&&!iu?(eF(e,t,p),vd(e,t,p)):(pi()&&B&&hD(t),t.flags|=$i,fo(e,t,F,p),t.child)}function IF(e,t,s,u,p){if(e===null){var y=s.type;if(J9(y)&&s.compare===null&&s.defaultProps===void 0){var w=y;return w=mg(y),t.tag=pe,t.type=w,OS(t,y),jF(e,t,w,u,p)}{var _=y.propTypes;if(_&&Zl(_,u,"prop",kn(y)),s.defaultProps!==void 0){var F=kn(y)||"Unknown";yy[F]||(m("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",F),yy[F]=!0)}}var B=yC(s.type,null,u,t,t.mode,p);return B.ref=t.ref,B.return=t,t.child=B,B}{var I=s.type,re=I.propTypes;re&&Zl(re,u,"prop",kn(I))}var te=e.child,ue=US(e,p);if(!ue){var ge=te.memoizedProps,Ce=s.compare;if(Ce=Ce!==null?Ce:Ue,Ce(ge,u)&&e.ref===t.ref)return vd(e,t,p)}t.flags|=$i;var tt=vh(te,u);return tt.ref=t.ref,tt.return=t,t.child=tt,tt}function jF(e,t,s,u,p){if(t.type!==t.elementType){var y=t.elementType;if(y.$$typeof===It){var w=y,_=w._payload,F=w._init;try{y=F(_)}catch{y=null}var B=y&&y.propTypes;B&&Zl(B,u,"prop",kn(y))}}if(e!==null){var I=e.memoizedProps;if(Ue(I,u)&&e.ref===t.ref&&t.type===e.type)if(iu=!1,t.pendingProps=u=I,US(e,p))(e.flags&ps)!==Ct&&(iu=!0);else return t.lanes=e.lanes,vd(e,t,p)}return RS(e,t,s,u,p)}function zF(e,t,s){var u=t.pendingProps,p=u.children,y=e!==null?e.memoizedState:null;if(u.mode==="hidden"||xe)if((t.mode&rn)===xt){var w={baseLanes:E,cachePool:null,transitions:null};t.memoizedState=w,jw(t,s)}else if(Bi(s,lo)){var _={baseLanes:E,cachePool:null,transitions:null};t.memoizedState=_;var F=y!==null?y.baseLanes:s;jw(t,F)}else{var B=null,I;if(y!==null){var re=y.baseLanes;I=Kt(re,s)}else I=s;t.lanes=t.childLanes=lo;var te={baseLanes:I,cachePool:B,transitions:null};return t.memoizedState=te,t.updateQueue=null,jw(t,I),null}else{var ue;y!==null?(ue=Kt(y.baseLanes,s),t.memoizedState=null):ue=s,jw(t,ue)}return fo(e,t,p,s),t.child}function Vz(e,t,s){var u=t.pendingProps;return fo(e,t,u,s),t.child}function Yz(e,t,s){var u=t.pendingProps.children;return fo(e,t,u,s),t.child}function Gz(e,t,s){{t.flags|=mn;{var u=t.stateNode;u.effectDuration=0,u.passiveEffectDuration=0}}var p=t.pendingProps,y=p.children;return fo(e,t,y,s),t.child}function UF(e,t){var s=t.ref;(e===null&&s!==null||e!==null&&e.ref!==s)&&(t.flags|=Yn,t.flags|=Bl)}function RS(e,t,s,u,p){if(t.type!==t.elementType){var y=s.propTypes;y&&Zl(y,u,"prop",kn(s))}var w;{var _=Ym(t,s,!0);w=Gm(t,_)}var F,B;eg(t,p),Ka(t);{if(gy.current=t,Fr(!0),F=og(e,t,s,u,w,p),B=sg(),t.mode&Wn){tr(!0);try{F=og(e,t,s,u,w,p),B=sg()}finally{tr(!1)}}Fr(!1)}return Zr(),e!==null&&!iu?(eF(e,t,p),vd(e,t,p)):(pi()&&B&&hD(t),t.flags|=$i,fo(e,t,F,p),t.child)}function HF(e,t,s,u,p){{switch(d7(t)){case!1:{var y=t.stateNode,w=t.type,_=new w(t.memoizedProps,y.context),F=_.state;y.updater.enqueueSetState(y,F,null);break}case!0:{t.flags|=yt,t.flags|=Ga;var B=new Error("Simulated error coming from DevTools"),I=jp(p);t.lanes=Kt(t.lanes,I);var re=TS(t,dh(B,t),I);LD(t,re);break}}if(t.type!==t.elementType){var te=s.propTypes;te&&Zl(te,u,"prop",kn(s))}}var ue;sc(s)?(ue=!0,Mk(t)):ue=!1,eg(t,p);var ge=t.stateNode,Ce;ge===null?(Tw(e,t),PF(t,s,u),xS(t,s,u,p),Ce=!0):e===null?Ce=Bz(t,s,u,p):Ce=Mz(e,t,s,u,p);var tt=LS(e,t,s,Ce,ue,p);{var St=t.stateNode;Ce&&St.props!==u&&(fh||m("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",Bt(t)||"a component"),fh=!0)}return tt}function LS(e,t,s,u,p,y){UF(e,t);var w=(t.flags&yt)!==Ct;if(!u&&!w)return p&&CT(t,s,!1),vd(e,t,y);var _=t.stateNode;gy.current=t;var F;if(w&&typeof s.getDerivedStateFromError!="function")F=null,EF();else{Ka(t);{if(Fr(!0),F=_.render(),t.mode&Wn){tr(!0);try{_.render()}finally{tr(!1)}}Fr(!1)}Zr()}return t.flags|=$i,e!==null&&w?qz(e,t,F,y):fo(e,t,F,y),t.memoizedState=_.state,p&&CT(t,s,!0),t.child}function WF(e){var t=e.stateNode;t.pendingContext?DT(e,t.pendingContext,t.pendingContext!==t.context):t.context&&DT(e,t.context,!1),OD(e,t.containerInfo)}function Xz(e,t,s){if(WF(t),e===null)throw new Error("Should have a current fiber. This is a bug in React.");var u=t.pendingProps,p=t.memoizedState,y=p.element;YT(e,t),tw(t,u,null,s);var w=t.memoizedState;t.stateNode;var _=w.element;if(p.isDehydrated){var F={element:_,isDehydrated:!1,cache:w.cache,pendingSuspenseBoundaries:w.pendingSuspenseBoundaries,transitions:w.transitions},B=t.updateQueue;if(B.baseState=F,t.memoizedState=F,t.flags&ba){var I=dh(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);return qF(e,t,_,s,I)}else if(_!==y){var re=dh(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t);return qF(e,t,_,s,re)}else{K6(t);var te=jT(t,null,_,s);t.child=te;for(var ue=te;ue;)ue.flags=ue.flags&-3|Ni,ue=ue.sibling}}else{if(Qm(),_===y)return vd(e,t,s);fo(e,t,_,s)}return t.child}function qF(e,t,s,u,p){return Qm(),kD(p),t.flags|=ba,fo(e,t,s,u),t.child}function Jz(e,t,s){QT(t),e===null&&bD(t);var u=t.type,p=t.pendingProps,y=e!==null?e.memoizedProps:null,w=p.children,_=eD(u,p);return _?w=null:y!==null&&eD(u,y)&&(t.flags|=At),UF(e,t),fo(e,t,w,s),t.child}function Qz(e,t){return e===null&&bD(t),null}function Kz(e,t,s,u){Tw(e,t);var p=t.pendingProps,y=s,w=y._payload,_=y._init,F=_(w);t.type=F;var B=t.tag=Q9(F),I=au(F,p),re;switch(B){case C:return OS(t,F),t.type=F=mg(F),re=RS(null,t,F,I,u),re;case T:return t.type=F=fC(F),re=HF(null,t,F,I,u),re;case W:return t.type=F=pC(F),re=MF(null,t,F,I,u),re;case ae:{if(t.type!==t.elementType){var te=F.propTypes;te&&Zl(te,I,"prop",kn(F))}return re=IF(null,t,F,au(F.type,I),u),re}}var ue="";throw F!==null&&typeof F=="object"&&F.$$typeof===It&&(ue=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+F+". "+("Lazy element type must resolve to a class or function."+ue))}function Zz(e,t,s,u,p){Tw(e,t),t.tag=T;var y;return sc(s)?(y=!0,Mk(t)):y=!1,eg(t,p),PF(t,s,u),xS(t,s,u,p),LS(null,t,s,!0,y,p)}function e5(e,t,s,u){Tw(e,t);var p=t.pendingProps,y;{var w=Ym(t,s,!1);y=Gm(t,w)}eg(t,u);var _,F;Ka(t);{if(s.prototype&&typeof s.prototype.render=="function"){var B=kn(s)||"Unknown";FS[B]||(m("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.",B,B),FS[B]=!0)}t.mode&Wn&&tu.recordLegacyContextWarning(t,null),Fr(!0),gy.current=t,_=og(null,t,s,p,y,u),F=sg(),Fr(!1)}if(Zr(),t.flags|=$i,typeof _=="object"&&_!==null&&typeof _.render=="function"&&_.$$typeof===void 0){var I=kn(s)||"Unknown";vy[I]||(m("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.",I,I,I),vy[I]=!0)}if(typeof _=="object"&&_!==null&&typeof _.render=="function"&&_.$$typeof===void 0){{var re=kn(s)||"Unknown";vy[re]||(m("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.",re,re,re),vy[re]=!0)}t.tag=T,t.memoizedState=null,t.updateQueue=null;var te=!1;return sc(s)?(te=!0,Mk(t)):te=!1,t.memoizedState=_.state!==null&&_.state!==void 0?_.state:null,RD(t),$F(t,_),xS(t,s,p,u),LS(null,t,s,!0,te,u)}else{if(t.tag=C,t.mode&Wn){tr(!0);try{_=og(null,t,s,p,y,u),F=sg()}finally{tr(!1)}}return pi()&&F&&hD(t),fo(null,t,_,u),OS(t,s),t.child}}function OS(e,t){{if(t&&t.childContextTypes&&m("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),e.ref!==null){var s="",u=ya();u&&(s+=`
261
+ `+(""+B);console.error(re)}catch(te){setTimeout(function(){throw te})}}var j5=typeof WeakMap=="function"?WeakMap:Map;function RF(e,t,s){var u=gd(dr,s);u.tag=PD,u.payload={element:null};var p=t.value;return u.callback=function(){Pz(p),ES(e,t)},u}function TS(e,t,s){var u=gd(dr,s);u.tag=PD;var p=e.type.getDerivedStateFromError;if(typeof p=="function"){var y=t.value;u.payload=function(){return p(y)},u.callback=function(){qA(e),ES(e,t)}}var w=e.stateNode;return w!==null&&typeof w.componentDidCatch=="function"&&(u.callback=function(){qA(e),ES(e,t),typeof p!="function"&&Az(this);var _=t.value,F=t.stack;this.componentDidCatch(_,{componentStack:F!==null?F:""}),typeof p!="function"&&(Bi(e.lanes,U)||m("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",Bt(e)||"Unknown"))}),u}function LF(e,t,s){var u=e.pingCache,p;if(u===null?(u=e.pingCache=new j5,p=new Set,u.set(t,p)):(p=u.get(t),p===void 0&&(p=new Set,u.set(t,p))),!p.has(s)){p.add(s);var y=Nz.bind(null,e,t,s);Qa&&$y(e,s),t.then(y,y)}}function z5(e,t,s,u){var p=e.updateQueue;if(p===null){var y=new Set;y.add(s),e.updateQueue=y}else p.add(s)}function U5(e,t){var s=e.tag;if((e.mode&rn)===xt&&(s===C||s===W||s===pe)){var u=e.alternate;u?(e.updateQueue=u.updateQueue,e.memoizedState=u.memoizedState,e.lanes=u.lanes):(e.updateQueue=null,e.memoizedState=null)}}function OF(e){var t=e;do{if(t.tag===X&&D5(t))return t;t=t.return}while(t!==null);return null}function BF(e,t,s,u,p){if((e.mode&rn)===xt){if(e===t)e.flags|=Ga;else{if(e.flags|=yt,s.flags|=ps,s.flags&=-52805,s.tag===T){var y=s.alternate;if(y===null)s.tag=be;else{var w=gd(dr,U);w.tag=Qk,kf(s,w,U)}}s.lanes=Kt(s.lanes,U)}return e}return e.flags|=Ga,e.lanes=p,e}function H5(e,t,s,u,p){if(s.flags|=Uc,Qa&&$y(e,p),u!==null&&typeof u=="object"&&typeof u.then=="function"){var y=u;U5(s),pi()&&s.mode&rn&&TT();var w=OF(t);if(w!==null){w.flags&=-257,BF(w,t,s,e,p),w.mode&rn&&LF(e,y,p),z5(w,e,y);return}else{if(!Mb(p)){LF(e,y,p),sC();return}var _=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.");u=_}}else if(pi()&&s.mode&rn){TT();var F=OF(t);if(F!==null){(F.flags&Ga)===Ct&&(F.flags|=ba),BF(F,t,s,e,p),kD(dh(u,s));return}}u=dh(u,s),Dz(u);var B=t;do{switch(B.tag){case N:{var I=u;B.flags|=Ga;var re=jp(p);B.lanes=Kt(B.lanes,re);var te=RF(B,I,re);LD(B,te);return}case T:var ue=u,ge=B.type,Ce=B.stateNode;if((B.flags&yt)===Ct&&(typeof ge.getDerivedStateFromError=="function"||Ce!==null&&typeof Ce.componentDidCatch=="function"&&!OA(Ce))){B.flags|=Ga;var tt=jp(p);B.lanes=Kt(B.lanes,tt);var St=TS(B,ue,tt);LD(B,St);return}break}B=B.return}while(B!==null)}function W5(){return null}var gy=i.ReactCurrentOwner,iu=!1,FS,vy,AS,$S,PS,fh,NS,_w,yy;FS={},vy={},AS={},$S={},PS={},fh=!1,NS={},_w={},yy={};function fo(e,t,s,u){e===null?t.child=jT(t,null,s,u):t.child=Km(t,e.child,s,u)}function q5(e,t,s,u){t.child=Km(t,e.child,null,u),t.child=Km(t,null,s,u)}function MF(e,t,s,u,p){if(t.type!==t.elementType){var y=s.propTypes;y&&Zl(y,u,"prop",kn(s))}var w=s.render,_=t.ref,F,B;eg(t,p),Ka(t);{if(gy.current=t,Fr(!0),F=og(e,t,w,u,_,p),B=sg(),t.mode&Wn){tr(!0);try{F=og(e,t,w,u,_,p),B=sg()}finally{tr(!1)}}Fr(!1)}return Zr(),e!==null&&!iu?(eF(e,t,p),vd(e,t,p)):(pi()&&B&&hD(t),t.flags|=$i,fo(e,t,F,p),t.child)}function IF(e,t,s,u,p){if(e===null){var y=s.type;if(Jz(y)&&s.compare===null&&s.defaultProps===void 0){var w=y;return w=mg(y),t.tag=pe,t.type=w,OS(t,y),jF(e,t,w,u,p)}{var _=y.propTypes;if(_&&Zl(_,u,"prop",kn(y)),s.defaultProps!==void 0){var F=kn(y)||"Unknown";yy[F]||(m("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",F),yy[F]=!0)}}var B=yC(s.type,null,u,t,t.mode,p);return B.ref=t.ref,B.return=t,t.child=B,B}{var I=s.type,re=I.propTypes;re&&Zl(re,u,"prop",kn(I))}var te=e.child,ue=US(e,p);if(!ue){var ge=te.memoizedProps,Ce=s.compare;if(Ce=Ce!==null?Ce:Ue,Ce(ge,u)&&e.ref===t.ref)return vd(e,t,p)}t.flags|=$i;var tt=vh(te,u);return tt.ref=t.ref,tt.return=t,t.child=tt,tt}function jF(e,t,s,u,p){if(t.type!==t.elementType){var y=t.elementType;if(y.$$typeof===It){var w=y,_=w._payload,F=w._init;try{y=F(_)}catch{y=null}var B=y&&y.propTypes;B&&Zl(B,u,"prop",kn(y))}}if(e!==null){var I=e.memoizedProps;if(Ue(I,u)&&e.ref===t.ref&&t.type===e.type)if(iu=!1,t.pendingProps=u=I,US(e,p))(e.flags&ps)!==Ct&&(iu=!0);else return t.lanes=e.lanes,vd(e,t,p)}return RS(e,t,s,u,p)}function zF(e,t,s){var u=t.pendingProps,p=u.children,y=e!==null?e.memoizedState:null;if(u.mode==="hidden"||xe)if((t.mode&rn)===xt){var w={baseLanes:E,cachePool:null,transitions:null};t.memoizedState=w,jw(t,s)}else if(Bi(s,lo)){var _={baseLanes:E,cachePool:null,transitions:null};t.memoizedState=_;var F=y!==null?y.baseLanes:s;jw(t,F)}else{var B=null,I;if(y!==null){var re=y.baseLanes;I=Kt(re,s)}else I=s;t.lanes=t.childLanes=lo;var te={baseLanes:I,cachePool:B,transitions:null};return t.memoizedState=te,t.updateQueue=null,jw(t,I),null}else{var ue;y!==null?(ue=Kt(y.baseLanes,s),t.memoizedState=null):ue=s,jw(t,ue)}return fo(e,t,p,s),t.child}function V5(e,t,s){var u=t.pendingProps;return fo(e,t,u,s),t.child}function Y5(e,t,s){var u=t.pendingProps.children;return fo(e,t,u,s),t.child}function G5(e,t,s){{t.flags|=mn;{var u=t.stateNode;u.effectDuration=0,u.passiveEffectDuration=0}}var p=t.pendingProps,y=p.children;return fo(e,t,y,s),t.child}function UF(e,t){var s=t.ref;(e===null&&s!==null||e!==null&&e.ref!==s)&&(t.flags|=Yn,t.flags|=Bl)}function RS(e,t,s,u,p){if(t.type!==t.elementType){var y=s.propTypes;y&&Zl(y,u,"prop",kn(s))}var w;{var _=Ym(t,s,!0);w=Gm(t,_)}var F,B;eg(t,p),Ka(t);{if(gy.current=t,Fr(!0),F=og(e,t,s,u,w,p),B=sg(),t.mode&Wn){tr(!0);try{F=og(e,t,s,u,w,p),B=sg()}finally{tr(!1)}}Fr(!1)}return Zr(),e!==null&&!iu?(eF(e,t,p),vd(e,t,p)):(pi()&&B&&hD(t),t.flags|=$i,fo(e,t,F,p),t.child)}function HF(e,t,s,u,p){{switch(d7(t)){case!1:{var y=t.stateNode,w=t.type,_=new w(t.memoizedProps,y.context),F=_.state;y.updater.enqueueSetState(y,F,null);break}case!0:{t.flags|=yt,t.flags|=Ga;var B=new Error("Simulated error coming from DevTools"),I=jp(p);t.lanes=Kt(t.lanes,I);var re=TS(t,dh(B,t),I);LD(t,re);break}}if(t.type!==t.elementType){var te=s.propTypes;te&&Zl(te,u,"prop",kn(s))}}var ue;sc(s)?(ue=!0,Mk(t)):ue=!1,eg(t,p);var ge=t.stateNode,Ce;ge===null?(Tw(e,t),PF(t,s,u),xS(t,s,u,p),Ce=!0):e===null?Ce=B5(t,s,u,p):Ce=M5(e,t,s,u,p);var tt=LS(e,t,s,Ce,ue,p);{var St=t.stateNode;Ce&&St.props!==u&&(fh||m("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",Bt(t)||"a component"),fh=!0)}return tt}function LS(e,t,s,u,p,y){UF(e,t);var w=(t.flags&yt)!==Ct;if(!u&&!w)return p&&CT(t,s,!1),vd(e,t,y);var _=t.stateNode;gy.current=t;var F;if(w&&typeof s.getDerivedStateFromError!="function")F=null,EF();else{Ka(t);{if(Fr(!0),F=_.render(),t.mode&Wn){tr(!0);try{_.render()}finally{tr(!1)}}Fr(!1)}Zr()}return t.flags|=$i,e!==null&&w?q5(e,t,F,y):fo(e,t,F,y),t.memoizedState=_.state,p&&CT(t,s,!0),t.child}function WF(e){var t=e.stateNode;t.pendingContext?DT(e,t.pendingContext,t.pendingContext!==t.context):t.context&&DT(e,t.context,!1),OD(e,t.containerInfo)}function X5(e,t,s){if(WF(t),e===null)throw new Error("Should have a current fiber. This is a bug in React.");var u=t.pendingProps,p=t.memoizedState,y=p.element;YT(e,t),tw(t,u,null,s);var w=t.memoizedState;t.stateNode;var _=w.element;if(p.isDehydrated){var F={element:_,isDehydrated:!1,cache:w.cache,pendingSuspenseBoundaries:w.pendingSuspenseBoundaries,transitions:w.transitions},B=t.updateQueue;if(B.baseState=F,t.memoizedState=F,t.flags&ba){var I=dh(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);return qF(e,t,_,s,I)}else if(_!==y){var re=dh(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t);return qF(e,t,_,s,re)}else{K6(t);var te=jT(t,null,_,s);t.child=te;for(var ue=te;ue;)ue.flags=ue.flags&-3|Ni,ue=ue.sibling}}else{if(Qm(),_===y)return vd(e,t,s);fo(e,t,_,s)}return t.child}function qF(e,t,s,u,p){return Qm(),kD(p),t.flags|=ba,fo(e,t,s,u),t.child}function J5(e,t,s){QT(t),e===null&&bD(t);var u=t.type,p=t.pendingProps,y=e!==null?e.memoizedProps:null,w=p.children,_=eD(u,p);return _?w=null:y!==null&&eD(u,y)&&(t.flags|=At),UF(e,t),fo(e,t,w,s),t.child}function Q5(e,t){return e===null&&bD(t),null}function K5(e,t,s,u){Tw(e,t);var p=t.pendingProps,y=s,w=y._payload,_=y._init,F=_(w);t.type=F;var B=t.tag=Qz(F),I=au(F,p),re;switch(B){case C:return OS(t,F),t.type=F=mg(F),re=RS(null,t,F,I,u),re;case T:return t.type=F=fC(F),re=HF(null,t,F,I,u),re;case W:return t.type=F=pC(F),re=MF(null,t,F,I,u),re;case ae:{if(t.type!==t.elementType){var te=F.propTypes;te&&Zl(te,I,"prop",kn(F))}return re=IF(null,t,F,au(F.type,I),u),re}}var ue="";throw F!==null&&typeof F=="object"&&F.$$typeof===It&&(ue=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+F+". "+("Lazy element type must resolve to a class or function."+ue))}function Z5(e,t,s,u,p){Tw(e,t),t.tag=T;var y;return sc(s)?(y=!0,Mk(t)):y=!1,eg(t,p),PF(t,s,u),xS(t,s,u,p),LS(null,t,s,!0,y,p)}function e9(e,t,s,u){Tw(e,t);var p=t.pendingProps,y;{var w=Ym(t,s,!1);y=Gm(t,w)}eg(t,u);var _,F;Ka(t);{if(s.prototype&&typeof s.prototype.render=="function"){var B=kn(s)||"Unknown";FS[B]||(m("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.",B,B),FS[B]=!0)}t.mode&Wn&&tu.recordLegacyContextWarning(t,null),Fr(!0),gy.current=t,_=og(null,t,s,p,y,u),F=sg(),Fr(!1)}if(Zr(),t.flags|=$i,typeof _=="object"&&_!==null&&typeof _.render=="function"&&_.$$typeof===void 0){var I=kn(s)||"Unknown";vy[I]||(m("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.",I,I,I),vy[I]=!0)}if(typeof _=="object"&&_!==null&&typeof _.render=="function"&&_.$$typeof===void 0){{var re=kn(s)||"Unknown";vy[re]||(m("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.",re,re,re),vy[re]=!0)}t.tag=T,t.memoizedState=null,t.updateQueue=null;var te=!1;return sc(s)?(te=!0,Mk(t)):te=!1,t.memoizedState=_.state!==null&&_.state!==void 0?_.state:null,RD(t),$F(t,_),xS(t,s,p,u),LS(null,t,s,!0,te,u)}else{if(t.tag=C,t.mode&Wn){tr(!0);try{_=og(null,t,s,p,y,u),F=sg()}finally{tr(!1)}}return pi()&&F&&hD(t),fo(null,t,_,u),OS(t,s),t.child}}function OS(e,t){{if(t&&t.childContextTypes&&m("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),e.ref!==null){var s="",u=ya();u&&(s+=`
262
262
 
263
- Check the render method of \``+u+"`.");var p=u||"",y=e._debugSource;y&&(p=y.fileName+":"+y.lineNumber),PS[p]||(PS[p]=!0,m("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",s))}if(t.defaultProps!==void 0){var w=kn(t)||"Unknown";yy[w]||(m("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",w),yy[w]=!0)}if(typeof t.getDerivedStateFromProps=="function"){var _=kn(t)||"Unknown";$S[_]||(m("%s: Function components do not support getDerivedStateFromProps.",_),$S[_]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var F=kn(t)||"Unknown";AS[F]||(m("%s: Function components do not support contextType.",F),AS[F]=!0)}}}var BS={dehydrated:null,treeContext:null,retryLane:M};function MS(e){return{baseLanes:e,cachePool:Wz(),transitions:null}}function t5(e,t){var s=null;return{baseLanes:Kt(e.baseLanes,t),cachePool:s,transitions:e.transitions}}function n5(e,t,s,u){if(t!==null){var p=t.memoizedState;if(p===null)return!1}return ID(e,sy)}function r5(e,t){return zp(e.childLanes,t)}function VF(e,t,s){var u=t.pendingProps;f7(t)&&(t.flags|=yt);var p=nu.current,y=!1,w=(t.flags&yt)!==Ct;if(w||n5(p,e)?(y=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(p=wz(p,ZT)),p=ng(p),Df(t,p),e===null){bD(t);var _=t.memoizedState;if(_!==null){var F=_.dehydrated;if(F!==null)return l5(t,F)}var B=u.children,I=u.fallback;if(y){var re=a5(t,B,I,s),te=t.child;return te.memoizedState=MS(s),t.memoizedState=BS,re}else return IS(t,B)}else{var ue=e.memoizedState;if(ue!==null){var ge=ue.dehydrated;if(ge!==null)return u5(e,t,w,u,ge,ue,s)}if(y){var Ce=u.fallback,tt=u.children,St=o5(e,t,tt,Ce,s),Pt=t.child,pn=e.child.memoizedState;return Pt.memoizedState=pn===null?MS(s):t5(pn,s),Pt.childLanes=r5(e,s),t.memoizedState=BS,St}else{var un=u.children,se=i5(e,t,un,s);return t.memoizedState=null,se}}}function IS(e,t,s){var u=e.mode,p={mode:"visible",children:t},y=jS(p,u);return y.return=e,e.child=y,y}function a5(e,t,s,u){var p=e.mode,y=e.child,w={mode:"hidden",children:t},_,F;return(p&rn)===xt&&y!==null?(_=y,_.childLanes=E,_.pendingProps=w,e.mode&En&&(_.actualDuration=0,_.actualStartTime=-1,_.selfBaseDuration=0,_.treeBaseDuration=0),F=Af(s,p,u,null)):(_=jS(w,p),F=Af(s,p,u,null)),_.return=e,F.return=e,_.sibling=F,e.child=_,F}function jS(e,t,s){return VA(e,t,E,null)}function YF(e,t){return vh(e,t)}function i5(e,t,s,u){var p=e.child,y=p.sibling,w=YF(p,{mode:"visible",children:s});if((t.mode&rn)===xt&&(w.lanes=u),w.return=t,w.sibling=null,y!==null){var _=t.deletions;_===null?(t.deletions=[y],t.flags|=Pi):_.push(y)}return t.child=w,w}function o5(e,t,s,u,p){var y=t.mode,w=e.child,_=w.sibling,F={mode:"hidden",children:s},B;if((y&rn)===xt&&t.child!==w){var I=t.child;B=I,B.childLanes=E,B.pendingProps=F,t.mode&En&&(B.actualDuration=0,B.actualStartTime=-1,B.selfBaseDuration=w.selfBaseDuration,B.treeBaseDuration=w.treeBaseDuration),t.deletions=null}else B=YF(w,F),B.subtreeFlags=w.subtreeFlags&Sr;var re;return _!==null?re=vh(_,u):(re=Af(u,y,p,null),re.flags|=Ar),re.return=t,B.return=t,B.sibling=re,t.child=B,re}function Ew(e,t,s,u){u!==null&&kD(u),Km(t,e.child,null,s);var p=t.pendingProps,y=p.children,w=IS(t,y);return w.flags|=Ar,t.memoizedState=null,w}function s5(e,t,s,u,p){var y=t.mode,w={mode:"visible",children:s},_=jS(w,y),F=Af(u,y,p,null);return F.flags|=Ar,_.return=t,F.return=t,_.sibling=F,t.child=_,(t.mode&rn)!==xt&&Km(t,e.child,null,p),F}function l5(e,t,s){return(e.mode&rn)===xt?(m("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=U):aD(t)?e.lanes=et:e.lanes=lo,null}function u5(e,t,s,u,p,y,w){if(s)if(t.flags&ba){t.flags&=-257;var _=_S(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return Ew(e,t,w,_)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=yt,null;var F=u.children,B=u.fallback,I=s5(e,t,F,B,w),re=t.child;return re.memoizedState=MS(w),t.memoizedState=BS,I}else{if(J6(),(t.mode&rn)===xt)return Ew(e,t,w,null);if(aD(p)){var te,ue,ge;{var Ce=p6(p);te=Ce.digest,ue=Ce.message,ge=Ce.stack}var tt;ue?tt=new Error(ue):tt=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var St=_S(tt,te,ge);return Ew(e,t,w,St)}var Pt=Bi(w,e.childLanes);if(iu||Pt){var pn=Iw();if(pn!==null){var un=Ub(pn,w);if(un!==M&&un!==y.retryLane){y.retryLane=un;var se=dr;qo(e,un),za(pn,e,un,se)}}sC();var De=_S(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."));return Ew(e,t,w,De)}else if(gT(p)){t.flags|=yt,t.child=e.child;var le=R9.bind(null,e);return h6(p,le),null}else{Z6(t,p,y.treeContext);var je=u.children,ut=IS(t,je);return ut.flags|=Ni,ut}}}function GF(e,t,s){e.lanes=Kt(e.lanes,t);var u=e.alternate;u!==null&&(u.lanes=Kt(u.lanes,t)),AD(e.return,t,s)}function c5(e,t,s){for(var u=t;u!==null;){if(u.tag===X){var p=u.memoizedState;p!==null&&GF(u,s,e)}else if(u.tag===qe)GF(u,s,e);else if(u.child!==null){u.child.return=u,u=u.child;continue}if(u===e)return;for(;u.sibling===null;){if(u.return===null||u.return===e)return;u=u.return}u.sibling.return=u.return,u=u.sibling}}function d5(e){for(var t=e,s=null;t!==null;){var u=t.alternate;u!==null&&iw(u)===null&&(s=t),t=t.sibling}return s}function f5(e){if(e!==void 0&&e!=="forwards"&&e!=="backwards"&&e!=="together"&&!NS[e])if(NS[e]=!0,typeof e=="string")switch(e.toLowerCase()){case"together":case"forwards":case"backwards":{m('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break}case"forward":case"backward":{m('"%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:m('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e);break}else m('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}function p5(e,t){e!==void 0&&!_w[e]&&(e!=="collapsed"&&e!=="hidden"?(_w[e]=!0,m('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):t!=="forwards"&&t!=="backwards"&&(_w[e]=!0,m('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}function XF(e,t){{var s=Vt(e),u=!s&&typeof Et(e)=="function";if(s||u){var p=s?"array":"iterable";return m("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>",p,t,p),!1}}return!0}function h5(e,t){if((t==="forwards"||t==="backwards")&&e!==void 0&&e!==null&&e!==!1)if(Vt(e)){for(var s=0;s<e.length;s++)if(!XF(e[s],s))return}else{var u=Et(e);if(typeof u=="function"){var p=u.call(e);if(p)for(var y=p.next(),w=0;!y.done;y=p.next()){if(!XF(y.value,w))return;w++}}else m('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)}}function zS(e,t,s,u,p){var y=e.memoizedState;y===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:u,tail:s,tailMode:p}:(y.isBackwards=t,y.rendering=null,y.renderingStartTime=0,y.last=u,y.tail=s,y.tailMode=p)}function JF(e,t,s){var u=t.pendingProps,p=u.revealOrder,y=u.tail,w=u.children;f5(p),p5(y,p),h5(w,p),fo(e,t,w,s);var _=nu.current,F=ID(_,sy);if(F)_=jD(_,sy),t.flags|=yt;else{var B=e!==null&&(e.flags&yt)!==Ct;B&&c5(t,t.child,s),_=ng(_)}if(Df(t,_),(t.mode&rn)===xt)t.memoizedState=null;else switch(p){case"forwards":{var I=d5(t.child),re;I===null?(re=t.child,t.child=null):(re=I.sibling,I.sibling=null),zS(t,!1,re,I,y);break}case"backwards":{var te=null,ue=t.child;for(t.child=null;ue!==null;){var ge=ue.alternate;if(ge!==null&&iw(ge)===null){t.child=ue;break}var Ce=ue.sibling;ue.sibling=te,te=ue,ue=Ce}zS(t,!0,te,null,y);break}case"together":{zS(t,!1,null,null,void 0);break}default:t.memoizedState=null}return t.child}function m5(e,t,s){OD(t,t.stateNode.containerInfo);var u=t.pendingProps;return e===null?t.child=Km(t,null,u,s):fo(e,t,u,s),t.child}var QF=!1;function g5(e,t,s){var u=t.type,p=u._context,y=t.pendingProps,w=t.memoizedProps,_=y.value;{"value"in y||QF||(QF=!0,m("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var F=t.type.propTypes;F&&Zl(F,y,"prop","Context.Provider")}if(HT(t,p,_),w!==null){var B=w.value;if(ie(B,_)){if(w.children===y.children&&!Ok())return vd(e,t,s)}else fz(t,p,s)}var I=y.children;return fo(e,t,I,s),t.child}var KF=!1;function v5(e,t,s){var u=t.type;u._context===void 0?u!==u.Consumer&&(KF||(KF=!0,m("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):u=u._context;var p=t.pendingProps,y=p.children;typeof y!="function"&&m("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."),eg(t,s);var w=Sa(u);Ka(t);var _;return gy.current=t,Fr(!0),_=y(w),Fr(!1),Zr(),t.flags|=$i,fo(e,t,_,s),t.child}function by(){iu=!0}function Tw(e,t){(t.mode&rn)===xt&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=Ar)}function vd(e,t,s){return e!==null&&(t.dependencies=e.dependencies),EF(),Ay(t.lanes),Bi(s,t.childLanes)?(cz(e,t),t.child):null}function y5(e,t,s){{var u=t.return;if(u===null)throw new Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,s.index=t.index,s.sibling=t.sibling,s.return=t.return,s.ref=t.ref,t===u.child)u.child=s;else{var p=u.child;if(p===null)throw new Error("Expected parent to have a child.");for(;p.sibling!==t;)if(p=p.sibling,p===null)throw new Error("Expected to find the previous sibling.");p.sibling=s}var y=u.deletions;return y===null?(u.deletions=[e],u.flags|=Pi):y.push(e),s.flags|=Ar,s}}function US(e,t){var s=e.lanes;return!!Bi(s,t)}function b5(e,t,s){switch(t.tag){case N:WF(t),t.stateNode,Qm();break;case L:QT(t);break;case T:{var u=t.type;sc(u)&&Mk(t);break}case R:OD(t,t.stateNode.containerInfo);break;case q:{var p=t.memoizedProps.value,y=t.type._context;HT(t,y,p);break}case Z:{var w=Bi(s,t.childLanes);w&&(t.flags|=mn);{var _=t.stateNode;_.effectDuration=0,_.passiveEffectDuration=0}}break;case X:{var F=t.memoizedState;if(F!==null){if(F.dehydrated!==null)return Df(t,ng(nu.current)),t.flags|=yt,null;var B=t.child,I=B.childLanes;if(Bi(s,I))return VF(e,t,s);Df(t,ng(nu.current));var re=vd(e,t,s);return re!==null?re.sibling:null}else Df(t,ng(nu.current));break}case qe:{var te=(e.flags&yt)!==Ct,ue=Bi(s,t.childLanes);if(te){if(ue)return JF(e,t,s);t.flags|=yt}var ge=t.memoizedState;if(ge!==null&&(ge.rendering=null,ge.tail=null,ge.lastEffect=null),Df(t,nu.current),ue)break;return null}case nt:case He:return t.lanes=E,zF(e,t,s)}return vd(e,t,s)}function ZF(e,t,s){if(t._debugNeedsRemount&&e!==null)return y5(e,t,yC(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes));if(e!==null){var u=e.memoizedProps,p=t.pendingProps;if(u!==p||Ok()||t.type!==e.type)iu=!0;else{var y=US(e,s);if(!y&&(t.flags&yt)===Ct)return iu=!1,b5(e,t,s);(e.flags&ps)!==Ct?iu=!0:iu=!1}}else if(iu=!1,pi()&&W6(t)){var w=t.index,_=q6();ET(t,_,w)}switch(t.lanes=E,t.tag){case $:return e5(e,t,t.type,s);case Te:{var F=t.elementType;return Kz(e,t,F,s)}case C:{var B=t.type,I=t.pendingProps,re=t.elementType===B?I:au(B,I);return RS(e,t,B,re,s)}case T:{var te=t.type,ue=t.pendingProps,ge=t.elementType===te?ue:au(te,ue);return HF(e,t,te,ge,s)}case N:return Xz(e,t,s);case L:return Jz(e,t,s);case j:return Qz(e,t);case X:return VF(e,t,s);case R:return m5(e,t,s);case W:{var Ce=t.type,tt=t.pendingProps,St=t.elementType===Ce?tt:au(Ce,tt);return MF(e,t,Ce,St,s)}case J:return Vz(e,t,s);case G:return Yz(e,t,s);case Z:return Gz(e,t,s);case q:return g5(e,t,s);case Se:return v5(e,t,s);case ae:{var Pt=t.type,pn=t.pendingProps,un=au(Pt,pn);if(t.type!==t.elementType){var se=Pt.propTypes;se&&Zl(se,un,"prop",kn(Pt))}return un=au(Pt.type,un),IF(e,t,Pt,un,s)}case pe:return jF(e,t,t.type,t.pendingProps,s);case be:{var De=t.type,le=t.pendingProps,je=t.elementType===De?le:au(De,le);return Zz(e,t,De,je,s)}case qe:return JF(e,t,s);case Xe:break;case nt:return zF(e,t,s)}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 lg(e){e.flags|=mn}function eA(e){e.flags|=Yn,e.flags|=Bl}var tA,HS,nA,rA;tA=function(e,t,s,u){for(var p=t.child;p!==null;){if(p.tag===L||p.tag===j)z8(e,p.stateNode);else if(p.tag!==R&&p.child!==null){p.child.return=p,p=p.child;continue}if(p===t)return;for(;p.sibling===null;){if(p.return===null||p.return===t)return;p=p.return}p.sibling.return=p.return,p=p.sibling}},HS=function(e,t){},nA=function(e,t,s,u,p){var y=e.memoizedProps;if(y!==u){var w=t.stateNode,_=BD(),F=H8(w,s,y,u,p,_);t.updateQueue=F,F&&lg(t)}},rA=function(e,t,s,u){s!==u&&lg(t)};function ky(e,t){if(!pi())switch(e.tailMode){case"hidden":{for(var s=e.tail,u=null;s!==null;)s.alternate!==null&&(u=s),s=s.sibling;u===null?e.tail=null:u.sibling=null;break}case"collapsed":{for(var p=e.tail,y=null;p!==null;)p.alternate!==null&&(y=p),p=p.sibling;y===null?!t&&e.tail!==null?e.tail.sibling=null:e.tail=null:y.sibling=null;break}}}function mi(e){var t=e.alternate!==null&&e.alternate.child===e.child,s=E,u=Ct;if(t){if((e.mode&En)!==xt){for(var p=e.selfBaseDuration,y=e.child;y!==null;)s=Kt(s,Kt(y.lanes,y.childLanes)),u|=y.subtreeFlags&Sr,u|=y.flags&Sr,p+=y.treeBaseDuration,y=y.sibling;e.treeBaseDuration=p}else for(var w=e.child;w!==null;)s=Kt(s,Kt(w.lanes,w.childLanes)),u|=w.subtreeFlags&Sr,u|=w.flags&Sr,w.return=e,w=w.sibling;e.subtreeFlags|=u}else{if((e.mode&En)!==xt){for(var _=e.actualDuration,F=e.selfBaseDuration,B=e.child;B!==null;)s=Kt(s,Kt(B.lanes,B.childLanes)),u|=B.subtreeFlags,u|=B.flags,_+=B.actualDuration,F+=B.treeBaseDuration,B=B.sibling;e.actualDuration=_,e.treeBaseDuration=F}else for(var I=e.child;I!==null;)s=Kt(s,Kt(I.lanes,I.childLanes)),u|=I.subtreeFlags,u|=I.flags,I.return=e,I=I.sibling;e.subtreeFlags|=u}return e.childLanes=s,t}function k5(e,t,s){if(az()&&(t.mode&rn)!==xt&&(t.flags&yt)===Ct)return RT(t),Qm(),t.flags|=ba|Uc|Ga,!1;var u=Hk(t);if(s!==null&&s.dehydrated!==null)if(e===null){if(!u)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(nz(t),mi(t),(t.mode&En)!==xt){var p=s!==null;if(p){var y=t.child;y!==null&&(t.treeBaseDuration-=y.treeBaseDuration)}}return!1}else{if(Qm(),(t.flags&yt)===Ct&&(t.memoizedState=null),t.flags|=mn,mi(t),(t.mode&En)!==xt){var w=s!==null;if(w){var _=t.child;_!==null&&(t.treeBaseDuration-=_.treeBaseDuration)}}return!1}else return LT(),!0}function aA(e,t,s){var u=t.pendingProps;switch(mD(t),t.tag){case $:case Te:case pe:case C:case W:case J:case G:case Z:case Se:case ae:return mi(t),null;case T:{var p=t.type;return sc(p)&&Bk(t),mi(t),null}case N:{var y=t.stateNode;if(tg(t),dD(t),UD(),y.pendingContext&&(y.context=y.pendingContext,y.pendingContext=null),e===null||e.child===null){var w=Hk(t);if(w)lg(t);else if(e!==null){var _=e.memoizedState;(!_.isDehydrated||(t.flags&ba)!==Ct)&&(t.flags|=qr,LT())}}return HS(e,t),mi(t),null}case L:{MD(t);var F=JT(),B=t.type;if(e!==null&&t.stateNode!=null)nA(e,t,B,u,F),e.ref!==t.ref&&eA(t);else{if(!u){if(t.stateNode===null)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 mi(t),null}var I=BD(),re=Hk(t);if(re)ez(t,F,I)&&lg(t);else{var te=j8(B,u,F,I,t);tA(te,t,!1,!1),t.stateNode=te,U8(te,B,u,F)&&lg(t)}t.ref!==null&&eA(t)}return mi(t),null}case j:{var ue=u;if(e&&t.stateNode!=null){var ge=e.memoizedProps;rA(e,t,ge,ue)}else{if(typeof ue!="string"&&t.stateNode===null)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 Ce=JT(),tt=BD(),St=Hk(t);St?tz(t)&&lg(t):t.stateNode=W8(ue,Ce,tt,t)}return mi(t),null}case X:{rg(t);var Pt=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var pn=k5(e,t,Pt);if(!pn)return t.flags&Ga?t:null}if((t.flags&yt)!==Ct)return t.lanes=s,(t.mode&En)!==xt&&pS(t),t;var un=Pt!==null,se=e!==null&&e.memoizedState!==null;if(un!==se&&un){var De=t.child;if(De.flags|=Or,(t.mode&rn)!==xt){var le=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!0);le||ID(nu.current,ZT)?w9():sC()}}var je=t.updateQueue;if(je!==null&&(t.flags|=mn),mi(t),(t.mode&En)!==xt&&un){var ut=t.child;ut!==null&&(t.treeBaseDuration-=ut.treeBaseDuration)}return null}case R:return tg(t),HS(e,t),e===null&&B6(t.stateNode.containerInfo),mi(t),null;case q:var it=t.type._context;return FD(it,t),mi(t),null;case be:{var Mt=t.type;return sc(Mt)&&Bk(t),mi(t),null}case qe:{rg(t);var Xt=t.memoizedState;if(Xt===null)return mi(t),null;var rr=(t.flags&yt)!==Ct,On=Xt.rendering;if(On===null)if(rr)ky(Xt,!1);else{var da=S9()&&(e===null||(e.flags&yt)===Ct);if(!da)for(var Bn=t.child;Bn!==null;){var na=iw(Bn);if(na!==null){rr=!0,t.flags|=yt,ky(Xt,!1);var Wi=na.updateQueue;return Wi!==null&&(t.updateQueue=Wi,t.flags|=mn),t.subtreeFlags=Ct,dz(t,s),Df(t,jD(nu.current,sy)),t.child}Bn=Bn.sibling}Xt.tail!==null&&Br()>xA()&&(t.flags|=yt,rr=!0,ky(Xt,!1),t.lanes=fv)}else{if(!rr){var ki=iw(On);if(ki!==null){t.flags|=yt,rr=!0;var xs=ki.updateQueue;if(xs!==null&&(t.updateQueue=xs,t.flags|=mn),ky(Xt,!0),Xt.tail===null&&Xt.tailMode==="hidden"&&!On.alternate&&!pi())return mi(t),null}else Br()*2-Xt.renderingStartTime>xA()&&s!==lo&&(t.flags|=yt,rr=!0,ky(Xt,!1),t.lanes=fv)}if(Xt.isBackwards)On.sibling=t.child,t.child=On;else{var mo=Xt.last;mo!==null?mo.sibling=On:t.child=On,Xt.last=On}}if(Xt.tail!==null){var go=Xt.tail;Xt.rendering=go,Xt.tail=go.sibling,Xt.renderingStartTime=Br(),go.sibling=null;var qi=nu.current;return rr?qi=jD(qi,sy):qi=ng(qi),Df(t,qi),go}return mi(t),null}case Xe:break;case nt:case He:{oC(t);var Dd=t.memoizedState,gg=Dd!==null;if(e!==null){var Ly=e.memoizedState,mc=Ly!==null;mc!==gg&&(t.flags|=Or)}return!gg||(t.mode&rn)===xt?mi(t):Bi(hc,lo)&&(mi(t),t.subtreeFlags&(Ar|mn)&&(t.flags|=Or)),null}case dt:return null;case Me: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 w5(e,t,s){switch(mD(t),t.tag){case T:{var u=t.type;sc(u)&&Bk(t);var p=t.flags;return p&Ga?(t.flags=p&-65537|yt,(t.mode&En)!==xt&&pS(t),t):null}case N:{t.stateNode,tg(t),dD(t),UD();var y=t.flags;return(y&Ga)!==Ct&&(y&yt)===Ct?(t.flags=y&-65537|yt,t):null}case L:return MD(t),null;case X:{rg(t);var w=t.memoizedState;if(w!==null&&w.dehydrated!==null){if(t.alternate===null)throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Qm()}var _=t.flags;return _&Ga?(t.flags=_&-65537|yt,(t.mode&En)!==xt&&pS(t),t):null}case qe:return rg(t),null;case R:return tg(t),null;case q:var F=t.type._context;return FD(F,t),null;case nt:case He:return oC(t),null;case dt:return null;default:return null}}function iA(e,t,s){switch(mD(t),t.tag){case T:{var u=t.type.childContextTypes;u!=null&&Bk(t);break}case N:{t.stateNode,tg(t),dD(t),UD();break}case L:{MD(t);break}case R:tg(t);break;case X:rg(t);break;case qe:rg(t);break;case q:var p=t.type._context;FD(p,t);break;case nt:case He:oC(t);break}}var oA=null;oA=new Set;var Fw=!1,gi=!1,D5=typeof WeakSet=="function"?WeakSet:Set,gt=null,ug=null,cg=null;function S5(e){ao(null,function(){throw e}),zc()}var C5=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&En)try{fc(),t.componentWillUnmount()}finally{dc(e)}else t.componentWillUnmount()};function sA(e,t){try{xf(La,e)}catch(s){yr(e,t,s)}}function WS(e,t,s){try{C5(e,s)}catch(u){yr(e,t,u)}}function x5(e,t,s){try{s.componentDidMount()}catch(u){yr(e,t,u)}}function lA(e,t){try{cA(e)}catch(s){yr(e,t,s)}}function dg(e,t){var s=e.ref;if(s!==null)if(typeof s=="function"){var u;try{if(rt&&Dt&&e.mode&En)try{fc(),u=s(null)}finally{dc(e)}else u=s(null)}catch(p){yr(e,t,p)}typeof u=="function"&&m("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Bt(e))}else s.current=null}function Aw(e,t,s){try{s()}catch(u){yr(e,t,u)}}var uA=!1;function _5(e,t){M8(e.containerInfo),gt=t,E5();var s=uA;return uA=!1,s}function E5(){for(;gt!==null;){var e=gt,t=e.child;(e.subtreeFlags&Ys)!==Ct&&t!==null?(t.return=e,gt=t):T5()}}function T5(){for(;gt!==null;){var e=gt;An(e);try{F5(e)}catch(s){yr(e,e.return,s)}ur();var t=e.sibling;if(t!==null){t.return=e.return,gt=t;return}gt=e.return}}function F5(e){var t=e.alternate,s=e.flags;if((s&qr)!==Ct){switch(An(e),e.tag){case C:case W:case pe:break;case T:{if(t!==null){var u=t.memoizedProps,p=t.memoizedState,y=e.stateNode;e.type===e.elementType&&!fh&&(y.props!==e.memoizedProps&&m("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.",Bt(e)||"instance"),y.state!==e.memoizedState&&m("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.",Bt(e)||"instance"));var w=y.getSnapshotBeforeUpdate(e.elementType===e.type?u:au(e.type,u),p);{var _=oA;w===void 0&&!_.has(e.type)&&(_.add(e.type),m("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",Bt(e)))}y.__reactInternalSnapshotBeforeUpdate=w}break}case N:{{var F=e.stateNode;u6(F.containerInfo)}break}case L:case j:case R:case be: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.")}ur()}}function ou(e,t,s){var u=t.updateQueue,p=u!==null?u.lastEffect:null;if(p!==null){var y=p.next,w=y;do{if((w.tag&e)===e){var _=w.destroy;w.destroy=void 0,_!==void 0&&((e&hi)!==Vo?ms(t):(e&La)!==Vo&&qc(t),(e&lc)!==Vo&&Py(!0),Aw(t,s,_),(e&lc)!==Vo&&Py(!1),(e&hi)!==Vo?Zs():(e&La)!==Vo&&Ap())}w=w.next}while(w!==y)}}function xf(e,t){var s=t.updateQueue,u=s!==null?s.lastEffect:null;if(u!==null){var p=u.next,y=p;do{if((y.tag&e)===e){(e&hi)!==Vo?Wc(t):(e&La)!==Vo&&af(t);var w=y.create;(e&lc)!==Vo&&Py(!0),y.destroy=w(),(e&lc)!==Vo&&Py(!1),(e&hi)!==Vo?rf():(e&La)!==Vo&&pm();{var _=y.destroy;if(_!==void 0&&typeof _!="function"){var F=void 0;(y.tag&La)!==Ct?F="useLayoutEffect":(y.tag&lc)!==Ct?F="useInsertionEffect":F="useEffect";var B=void 0;_===null?B=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof _.then=="function"?B=`
263
+ Check the render method of \``+u+"`.");var p=u||"",y=e._debugSource;y&&(p=y.fileName+":"+y.lineNumber),PS[p]||(PS[p]=!0,m("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",s))}if(t.defaultProps!==void 0){var w=kn(t)||"Unknown";yy[w]||(m("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",w),yy[w]=!0)}if(typeof t.getDerivedStateFromProps=="function"){var _=kn(t)||"Unknown";$S[_]||(m("%s: Function components do not support getDerivedStateFromProps.",_),$S[_]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var F=kn(t)||"Unknown";AS[F]||(m("%s: Function components do not support contextType.",F),AS[F]=!0)}}}var BS={dehydrated:null,treeContext:null,retryLane:M};function MS(e){return{baseLanes:e,cachePool:W5(),transitions:null}}function t9(e,t){var s=null;return{baseLanes:Kt(e.baseLanes,t),cachePool:s,transitions:e.transitions}}function n9(e,t,s,u){if(t!==null){var p=t.memoizedState;if(p===null)return!1}return ID(e,sy)}function r9(e,t){return zp(e.childLanes,t)}function VF(e,t,s){var u=t.pendingProps;f7(t)&&(t.flags|=yt);var p=nu.current,y=!1,w=(t.flags&yt)!==Ct;if(w||n9(p,e)?(y=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(p=w5(p,ZT)),p=ng(p),Df(t,p),e===null){bD(t);var _=t.memoizedState;if(_!==null){var F=_.dehydrated;if(F!==null)return l9(t,F)}var B=u.children,I=u.fallback;if(y){var re=a9(t,B,I,s),te=t.child;return te.memoizedState=MS(s),t.memoizedState=BS,re}else return IS(t,B)}else{var ue=e.memoizedState;if(ue!==null){var ge=ue.dehydrated;if(ge!==null)return u9(e,t,w,u,ge,ue,s)}if(y){var Ce=u.fallback,tt=u.children,St=o9(e,t,tt,Ce,s),Pt=t.child,pn=e.child.memoizedState;return Pt.memoizedState=pn===null?MS(s):t9(pn,s),Pt.childLanes=r9(e,s),t.memoizedState=BS,St}else{var un=u.children,se=i9(e,t,un,s);return t.memoizedState=null,se}}}function IS(e,t,s){var u=e.mode,p={mode:"visible",children:t},y=jS(p,u);return y.return=e,e.child=y,y}function a9(e,t,s,u){var p=e.mode,y=e.child,w={mode:"hidden",children:t},_,F;return(p&rn)===xt&&y!==null?(_=y,_.childLanes=E,_.pendingProps=w,e.mode&En&&(_.actualDuration=0,_.actualStartTime=-1,_.selfBaseDuration=0,_.treeBaseDuration=0),F=Af(s,p,u,null)):(_=jS(w,p),F=Af(s,p,u,null)),_.return=e,F.return=e,_.sibling=F,e.child=_,F}function jS(e,t,s){return VA(e,t,E,null)}function YF(e,t){return vh(e,t)}function i9(e,t,s,u){var p=e.child,y=p.sibling,w=YF(p,{mode:"visible",children:s});if((t.mode&rn)===xt&&(w.lanes=u),w.return=t,w.sibling=null,y!==null){var _=t.deletions;_===null?(t.deletions=[y],t.flags|=Pi):_.push(y)}return t.child=w,w}function o9(e,t,s,u,p){var y=t.mode,w=e.child,_=w.sibling,F={mode:"hidden",children:s},B;if((y&rn)===xt&&t.child!==w){var I=t.child;B=I,B.childLanes=E,B.pendingProps=F,t.mode&En&&(B.actualDuration=0,B.actualStartTime=-1,B.selfBaseDuration=w.selfBaseDuration,B.treeBaseDuration=w.treeBaseDuration),t.deletions=null}else B=YF(w,F),B.subtreeFlags=w.subtreeFlags&Sr;var re;return _!==null?re=vh(_,u):(re=Af(u,y,p,null),re.flags|=Ar),re.return=t,B.return=t,B.sibling=re,t.child=B,re}function Ew(e,t,s,u){u!==null&&kD(u),Km(t,e.child,null,s);var p=t.pendingProps,y=p.children,w=IS(t,y);return w.flags|=Ar,t.memoizedState=null,w}function s9(e,t,s,u,p){var y=t.mode,w={mode:"visible",children:s},_=jS(w,y),F=Af(u,y,p,null);return F.flags|=Ar,_.return=t,F.return=t,_.sibling=F,t.child=_,(t.mode&rn)!==xt&&Km(t,e.child,null,p),F}function l9(e,t,s){return(e.mode&rn)===xt?(m("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=U):aD(t)?e.lanes=et:e.lanes=lo,null}function u9(e,t,s,u,p,y,w){if(s)if(t.flags&ba){t.flags&=-257;var _=_S(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return Ew(e,t,w,_)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=yt,null;var F=u.children,B=u.fallback,I=s9(e,t,F,B,w),re=t.child;return re.memoizedState=MS(w),t.memoizedState=BS,I}else{if(J6(),(t.mode&rn)===xt)return Ew(e,t,w,null);if(aD(p)){var te,ue,ge;{var Ce=p6(p);te=Ce.digest,ue=Ce.message,ge=Ce.stack}var tt;ue?tt=new Error(ue):tt=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var St=_S(tt,te,ge);return Ew(e,t,w,St)}var Pt=Bi(w,e.childLanes);if(iu||Pt){var pn=Iw();if(pn!==null){var un=Ub(pn,w);if(un!==M&&un!==y.retryLane){y.retryLane=un;var se=dr;qo(e,un),za(pn,e,un,se)}}sC();var De=_S(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."));return Ew(e,t,w,De)}else if(gT(p)){t.flags|=yt,t.child=e.child;var le=Rz.bind(null,e);return h6(p,le),null}else{Z6(t,p,y.treeContext);var je=u.children,ut=IS(t,je);return ut.flags|=Ni,ut}}}function GF(e,t,s){e.lanes=Kt(e.lanes,t);var u=e.alternate;u!==null&&(u.lanes=Kt(u.lanes,t)),AD(e.return,t,s)}function c9(e,t,s){for(var u=t;u!==null;){if(u.tag===X){var p=u.memoizedState;p!==null&&GF(u,s,e)}else if(u.tag===qe)GF(u,s,e);else if(u.child!==null){u.child.return=u,u=u.child;continue}if(u===e)return;for(;u.sibling===null;){if(u.return===null||u.return===e)return;u=u.return}u.sibling.return=u.return,u=u.sibling}}function d9(e){for(var t=e,s=null;t!==null;){var u=t.alternate;u!==null&&iw(u)===null&&(s=t),t=t.sibling}return s}function f9(e){if(e!==void 0&&e!=="forwards"&&e!=="backwards"&&e!=="together"&&!NS[e])if(NS[e]=!0,typeof e=="string")switch(e.toLowerCase()){case"together":case"forwards":case"backwards":{m('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break}case"forward":case"backward":{m('"%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:m('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e);break}else m('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}function p9(e,t){e!==void 0&&!_w[e]&&(e!=="collapsed"&&e!=="hidden"?(_w[e]=!0,m('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):t!=="forwards"&&t!=="backwards"&&(_w[e]=!0,m('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}function XF(e,t){{var s=Vt(e),u=!s&&typeof Et(e)=="function";if(s||u){var p=s?"array":"iterable";return m("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>",p,t,p),!1}}return!0}function h9(e,t){if((t==="forwards"||t==="backwards")&&e!==void 0&&e!==null&&e!==!1)if(Vt(e)){for(var s=0;s<e.length;s++)if(!XF(e[s],s))return}else{var u=Et(e);if(typeof u=="function"){var p=u.call(e);if(p)for(var y=p.next(),w=0;!y.done;y=p.next()){if(!XF(y.value,w))return;w++}}else m('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)}}function zS(e,t,s,u,p){var y=e.memoizedState;y===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:u,tail:s,tailMode:p}:(y.isBackwards=t,y.rendering=null,y.renderingStartTime=0,y.last=u,y.tail=s,y.tailMode=p)}function JF(e,t,s){var u=t.pendingProps,p=u.revealOrder,y=u.tail,w=u.children;f9(p),p9(y,p),h9(w,p),fo(e,t,w,s);var _=nu.current,F=ID(_,sy);if(F)_=jD(_,sy),t.flags|=yt;else{var B=e!==null&&(e.flags&yt)!==Ct;B&&c9(t,t.child,s),_=ng(_)}if(Df(t,_),(t.mode&rn)===xt)t.memoizedState=null;else switch(p){case"forwards":{var I=d9(t.child),re;I===null?(re=t.child,t.child=null):(re=I.sibling,I.sibling=null),zS(t,!1,re,I,y);break}case"backwards":{var te=null,ue=t.child;for(t.child=null;ue!==null;){var ge=ue.alternate;if(ge!==null&&iw(ge)===null){t.child=ue;break}var Ce=ue.sibling;ue.sibling=te,te=ue,ue=Ce}zS(t,!0,te,null,y);break}case"together":{zS(t,!1,null,null,void 0);break}default:t.memoizedState=null}return t.child}function m9(e,t,s){OD(t,t.stateNode.containerInfo);var u=t.pendingProps;return e===null?t.child=Km(t,null,u,s):fo(e,t,u,s),t.child}var QF=!1;function g9(e,t,s){var u=t.type,p=u._context,y=t.pendingProps,w=t.memoizedProps,_=y.value;{"value"in y||QF||(QF=!0,m("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var F=t.type.propTypes;F&&Zl(F,y,"prop","Context.Provider")}if(HT(t,p,_),w!==null){var B=w.value;if(ie(B,_)){if(w.children===y.children&&!Ok())return vd(e,t,s)}else f5(t,p,s)}var I=y.children;return fo(e,t,I,s),t.child}var KF=!1;function v9(e,t,s){var u=t.type;u._context===void 0?u!==u.Consumer&&(KF||(KF=!0,m("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):u=u._context;var p=t.pendingProps,y=p.children;typeof y!="function"&&m("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."),eg(t,s);var w=Sa(u);Ka(t);var _;return gy.current=t,Fr(!0),_=y(w),Fr(!1),Zr(),t.flags|=$i,fo(e,t,_,s),t.child}function by(){iu=!0}function Tw(e,t){(t.mode&rn)===xt&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=Ar)}function vd(e,t,s){return e!==null&&(t.dependencies=e.dependencies),EF(),Ay(t.lanes),Bi(s,t.childLanes)?(c5(e,t),t.child):null}function y9(e,t,s){{var u=t.return;if(u===null)throw new Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,s.index=t.index,s.sibling=t.sibling,s.return=t.return,s.ref=t.ref,t===u.child)u.child=s;else{var p=u.child;if(p===null)throw new Error("Expected parent to have a child.");for(;p.sibling!==t;)if(p=p.sibling,p===null)throw new Error("Expected to find the previous sibling.");p.sibling=s}var y=u.deletions;return y===null?(u.deletions=[e],u.flags|=Pi):y.push(e),s.flags|=Ar,s}}function US(e,t){var s=e.lanes;return!!Bi(s,t)}function b9(e,t,s){switch(t.tag){case N:WF(t),t.stateNode,Qm();break;case L:QT(t);break;case T:{var u=t.type;sc(u)&&Mk(t);break}case R:OD(t,t.stateNode.containerInfo);break;case q:{var p=t.memoizedProps.value,y=t.type._context;HT(t,y,p);break}case Z:{var w=Bi(s,t.childLanes);w&&(t.flags|=mn);{var _=t.stateNode;_.effectDuration=0,_.passiveEffectDuration=0}}break;case X:{var F=t.memoizedState;if(F!==null){if(F.dehydrated!==null)return Df(t,ng(nu.current)),t.flags|=yt,null;var B=t.child,I=B.childLanes;if(Bi(s,I))return VF(e,t,s);Df(t,ng(nu.current));var re=vd(e,t,s);return re!==null?re.sibling:null}else Df(t,ng(nu.current));break}case qe:{var te=(e.flags&yt)!==Ct,ue=Bi(s,t.childLanes);if(te){if(ue)return JF(e,t,s);t.flags|=yt}var ge=t.memoizedState;if(ge!==null&&(ge.rendering=null,ge.tail=null,ge.lastEffect=null),Df(t,nu.current),ue)break;return null}case nt:case He:return t.lanes=E,zF(e,t,s)}return vd(e,t,s)}function ZF(e,t,s){if(t._debugNeedsRemount&&e!==null)return y9(e,t,yC(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes));if(e!==null){var u=e.memoizedProps,p=t.pendingProps;if(u!==p||Ok()||t.type!==e.type)iu=!0;else{var y=US(e,s);if(!y&&(t.flags&yt)===Ct)return iu=!1,b9(e,t,s);(e.flags&ps)!==Ct?iu=!0:iu=!1}}else if(iu=!1,pi()&&W6(t)){var w=t.index,_=q6();ET(t,_,w)}switch(t.lanes=E,t.tag){case $:return e9(e,t,t.type,s);case Te:{var F=t.elementType;return K5(e,t,F,s)}case C:{var B=t.type,I=t.pendingProps,re=t.elementType===B?I:au(B,I);return RS(e,t,B,re,s)}case T:{var te=t.type,ue=t.pendingProps,ge=t.elementType===te?ue:au(te,ue);return HF(e,t,te,ge,s)}case N:return X5(e,t,s);case L:return J5(e,t,s);case j:return Q5(e,t);case X:return VF(e,t,s);case R:return m9(e,t,s);case W:{var Ce=t.type,tt=t.pendingProps,St=t.elementType===Ce?tt:au(Ce,tt);return MF(e,t,Ce,St,s)}case J:return V5(e,t,s);case G:return Y5(e,t,s);case Z:return G5(e,t,s);case q:return g9(e,t,s);case Se:return v9(e,t,s);case ae:{var Pt=t.type,pn=t.pendingProps,un=au(Pt,pn);if(t.type!==t.elementType){var se=Pt.propTypes;se&&Zl(se,un,"prop",kn(Pt))}return un=au(Pt.type,un),IF(e,t,Pt,un,s)}case pe:return jF(e,t,t.type,t.pendingProps,s);case be:{var De=t.type,le=t.pendingProps,je=t.elementType===De?le:au(De,le);return Z5(e,t,De,je,s)}case qe:return JF(e,t,s);case Xe:break;case nt:return zF(e,t,s)}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 lg(e){e.flags|=mn}function eA(e){e.flags|=Yn,e.flags|=Bl}var tA,HS,nA,rA;tA=function(e,t,s,u){for(var p=t.child;p!==null;){if(p.tag===L||p.tag===j)z8(e,p.stateNode);else if(p.tag!==R&&p.child!==null){p.child.return=p,p=p.child;continue}if(p===t)return;for(;p.sibling===null;){if(p.return===null||p.return===t)return;p=p.return}p.sibling.return=p.return,p=p.sibling}},HS=function(e,t){},nA=function(e,t,s,u,p){var y=e.memoizedProps;if(y!==u){var w=t.stateNode,_=BD(),F=H8(w,s,y,u,p,_);t.updateQueue=F,F&&lg(t)}},rA=function(e,t,s,u){s!==u&&lg(t)};function ky(e,t){if(!pi())switch(e.tailMode){case"hidden":{for(var s=e.tail,u=null;s!==null;)s.alternate!==null&&(u=s),s=s.sibling;u===null?e.tail=null:u.sibling=null;break}case"collapsed":{for(var p=e.tail,y=null;p!==null;)p.alternate!==null&&(y=p),p=p.sibling;y===null?!t&&e.tail!==null?e.tail.sibling=null:e.tail=null:y.sibling=null;break}}}function mi(e){var t=e.alternate!==null&&e.alternate.child===e.child,s=E,u=Ct;if(t){if((e.mode&En)!==xt){for(var p=e.selfBaseDuration,y=e.child;y!==null;)s=Kt(s,Kt(y.lanes,y.childLanes)),u|=y.subtreeFlags&Sr,u|=y.flags&Sr,p+=y.treeBaseDuration,y=y.sibling;e.treeBaseDuration=p}else for(var w=e.child;w!==null;)s=Kt(s,Kt(w.lanes,w.childLanes)),u|=w.subtreeFlags&Sr,u|=w.flags&Sr,w.return=e,w=w.sibling;e.subtreeFlags|=u}else{if((e.mode&En)!==xt){for(var _=e.actualDuration,F=e.selfBaseDuration,B=e.child;B!==null;)s=Kt(s,Kt(B.lanes,B.childLanes)),u|=B.subtreeFlags,u|=B.flags,_+=B.actualDuration,F+=B.treeBaseDuration,B=B.sibling;e.actualDuration=_,e.treeBaseDuration=F}else for(var I=e.child;I!==null;)s=Kt(s,Kt(I.lanes,I.childLanes)),u|=I.subtreeFlags,u|=I.flags,I.return=e,I=I.sibling;e.subtreeFlags|=u}return e.childLanes=s,t}function k9(e,t,s){if(a5()&&(t.mode&rn)!==xt&&(t.flags&yt)===Ct)return RT(t),Qm(),t.flags|=ba|Uc|Ga,!1;var u=Hk(t);if(s!==null&&s.dehydrated!==null)if(e===null){if(!u)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(n5(t),mi(t),(t.mode&En)!==xt){var p=s!==null;if(p){var y=t.child;y!==null&&(t.treeBaseDuration-=y.treeBaseDuration)}}return!1}else{if(Qm(),(t.flags&yt)===Ct&&(t.memoizedState=null),t.flags|=mn,mi(t),(t.mode&En)!==xt){var w=s!==null;if(w){var _=t.child;_!==null&&(t.treeBaseDuration-=_.treeBaseDuration)}}return!1}else return LT(),!0}function aA(e,t,s){var u=t.pendingProps;switch(mD(t),t.tag){case $:case Te:case pe:case C:case W:case J:case G:case Z:case Se:case ae:return mi(t),null;case T:{var p=t.type;return sc(p)&&Bk(t),mi(t),null}case N:{var y=t.stateNode;if(tg(t),dD(t),UD(),y.pendingContext&&(y.context=y.pendingContext,y.pendingContext=null),e===null||e.child===null){var w=Hk(t);if(w)lg(t);else if(e!==null){var _=e.memoizedState;(!_.isDehydrated||(t.flags&ba)!==Ct)&&(t.flags|=qr,LT())}}return HS(e,t),mi(t),null}case L:{MD(t);var F=JT(),B=t.type;if(e!==null&&t.stateNode!=null)nA(e,t,B,u,F),e.ref!==t.ref&&eA(t);else{if(!u){if(t.stateNode===null)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 mi(t),null}var I=BD(),re=Hk(t);if(re)e5(t,F,I)&&lg(t);else{var te=j8(B,u,F,I,t);tA(te,t,!1,!1),t.stateNode=te,U8(te,B,u,F)&&lg(t)}t.ref!==null&&eA(t)}return mi(t),null}case j:{var ue=u;if(e&&t.stateNode!=null){var ge=e.memoizedProps;rA(e,t,ge,ue)}else{if(typeof ue!="string"&&t.stateNode===null)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 Ce=JT(),tt=BD(),St=Hk(t);St?t5(t)&&lg(t):t.stateNode=W8(ue,Ce,tt,t)}return mi(t),null}case X:{rg(t);var Pt=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var pn=k9(e,t,Pt);if(!pn)return t.flags&Ga?t:null}if((t.flags&yt)!==Ct)return t.lanes=s,(t.mode&En)!==xt&&pS(t),t;var un=Pt!==null,se=e!==null&&e.memoizedState!==null;if(un!==se&&un){var De=t.child;if(De.flags|=Or,(t.mode&rn)!==xt){var le=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!0);le||ID(nu.current,ZT)?wz():sC()}}var je=t.updateQueue;if(je!==null&&(t.flags|=mn),mi(t),(t.mode&En)!==xt&&un){var ut=t.child;ut!==null&&(t.treeBaseDuration-=ut.treeBaseDuration)}return null}case R:return tg(t),HS(e,t),e===null&&B6(t.stateNode.containerInfo),mi(t),null;case q:var it=t.type._context;return FD(it,t),mi(t),null;case be:{var Mt=t.type;return sc(Mt)&&Bk(t),mi(t),null}case qe:{rg(t);var Xt=t.memoizedState;if(Xt===null)return mi(t),null;var rr=(t.flags&yt)!==Ct,On=Xt.rendering;if(On===null)if(rr)ky(Xt,!1);else{var da=Sz()&&(e===null||(e.flags&yt)===Ct);if(!da)for(var Bn=t.child;Bn!==null;){var na=iw(Bn);if(na!==null){rr=!0,t.flags|=yt,ky(Xt,!1);var Wi=na.updateQueue;return Wi!==null&&(t.updateQueue=Wi,t.flags|=mn),t.subtreeFlags=Ct,d5(t,s),Df(t,jD(nu.current,sy)),t.child}Bn=Bn.sibling}Xt.tail!==null&&Br()>xA()&&(t.flags|=yt,rr=!0,ky(Xt,!1),t.lanes=fv)}else{if(!rr){var ki=iw(On);if(ki!==null){t.flags|=yt,rr=!0;var xs=ki.updateQueue;if(xs!==null&&(t.updateQueue=xs,t.flags|=mn),ky(Xt,!0),Xt.tail===null&&Xt.tailMode==="hidden"&&!On.alternate&&!pi())return mi(t),null}else Br()*2-Xt.renderingStartTime>xA()&&s!==lo&&(t.flags|=yt,rr=!0,ky(Xt,!1),t.lanes=fv)}if(Xt.isBackwards)On.sibling=t.child,t.child=On;else{var mo=Xt.last;mo!==null?mo.sibling=On:t.child=On,Xt.last=On}}if(Xt.tail!==null){var go=Xt.tail;Xt.rendering=go,Xt.tail=go.sibling,Xt.renderingStartTime=Br(),go.sibling=null;var qi=nu.current;return rr?qi=jD(qi,sy):qi=ng(qi),Df(t,qi),go}return mi(t),null}case Xe:break;case nt:case He:{oC(t);var Dd=t.memoizedState,gg=Dd!==null;if(e!==null){var Ly=e.memoizedState,mc=Ly!==null;mc!==gg&&(t.flags|=Or)}return!gg||(t.mode&rn)===xt?mi(t):Bi(hc,lo)&&(mi(t),t.subtreeFlags&(Ar|mn)&&(t.flags|=Or)),null}case dt:return null;case Me: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 w9(e,t,s){switch(mD(t),t.tag){case T:{var u=t.type;sc(u)&&Bk(t);var p=t.flags;return p&Ga?(t.flags=p&-65537|yt,(t.mode&En)!==xt&&pS(t),t):null}case N:{t.stateNode,tg(t),dD(t),UD();var y=t.flags;return(y&Ga)!==Ct&&(y&yt)===Ct?(t.flags=y&-65537|yt,t):null}case L:return MD(t),null;case X:{rg(t);var w=t.memoizedState;if(w!==null&&w.dehydrated!==null){if(t.alternate===null)throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Qm()}var _=t.flags;return _&Ga?(t.flags=_&-65537|yt,(t.mode&En)!==xt&&pS(t),t):null}case qe:return rg(t),null;case R:return tg(t),null;case q:var F=t.type._context;return FD(F,t),null;case nt:case He:return oC(t),null;case dt:return null;default:return null}}function iA(e,t,s){switch(mD(t),t.tag){case T:{var u=t.type.childContextTypes;u!=null&&Bk(t);break}case N:{t.stateNode,tg(t),dD(t),UD();break}case L:{MD(t);break}case R:tg(t);break;case X:rg(t);break;case qe:rg(t);break;case q:var p=t.type._context;FD(p,t);break;case nt:case He:oC(t);break}}var oA=null;oA=new Set;var Fw=!1,gi=!1,D9=typeof WeakSet=="function"?WeakSet:Set,gt=null,ug=null,cg=null;function S9(e){ao(null,function(){throw e}),zc()}var C9=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&En)try{fc(),t.componentWillUnmount()}finally{dc(e)}else t.componentWillUnmount()};function sA(e,t){try{xf(La,e)}catch(s){yr(e,t,s)}}function WS(e,t,s){try{C9(e,s)}catch(u){yr(e,t,u)}}function x9(e,t,s){try{s.componentDidMount()}catch(u){yr(e,t,u)}}function lA(e,t){try{cA(e)}catch(s){yr(e,t,s)}}function dg(e,t){var s=e.ref;if(s!==null)if(typeof s=="function"){var u;try{if(rt&&Dt&&e.mode&En)try{fc(),u=s(null)}finally{dc(e)}else u=s(null)}catch(p){yr(e,t,p)}typeof u=="function"&&m("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Bt(e))}else s.current=null}function Aw(e,t,s){try{s()}catch(u){yr(e,t,u)}}var uA=!1;function _9(e,t){M8(e.containerInfo),gt=t,E9();var s=uA;return uA=!1,s}function E9(){for(;gt!==null;){var e=gt,t=e.child;(e.subtreeFlags&Ys)!==Ct&&t!==null?(t.return=e,gt=t):T9()}}function T9(){for(;gt!==null;){var e=gt;An(e);try{F9(e)}catch(s){yr(e,e.return,s)}ur();var t=e.sibling;if(t!==null){t.return=e.return,gt=t;return}gt=e.return}}function F9(e){var t=e.alternate,s=e.flags;if((s&qr)!==Ct){switch(An(e),e.tag){case C:case W:case pe:break;case T:{if(t!==null){var u=t.memoizedProps,p=t.memoizedState,y=e.stateNode;e.type===e.elementType&&!fh&&(y.props!==e.memoizedProps&&m("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.",Bt(e)||"instance"),y.state!==e.memoizedState&&m("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.",Bt(e)||"instance"));var w=y.getSnapshotBeforeUpdate(e.elementType===e.type?u:au(e.type,u),p);{var _=oA;w===void 0&&!_.has(e.type)&&(_.add(e.type),m("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",Bt(e)))}y.__reactInternalSnapshotBeforeUpdate=w}break}case N:{{var F=e.stateNode;u6(F.containerInfo)}break}case L:case j:case R:case be: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.")}ur()}}function ou(e,t,s){var u=t.updateQueue,p=u!==null?u.lastEffect:null;if(p!==null){var y=p.next,w=y;do{if((w.tag&e)===e){var _=w.destroy;w.destroy=void 0,_!==void 0&&((e&hi)!==Vo?ms(t):(e&La)!==Vo&&qc(t),(e&lc)!==Vo&&Py(!0),Aw(t,s,_),(e&lc)!==Vo&&Py(!1),(e&hi)!==Vo?Zs():(e&La)!==Vo&&Ap())}w=w.next}while(w!==y)}}function xf(e,t){var s=t.updateQueue,u=s!==null?s.lastEffect:null;if(u!==null){var p=u.next,y=p;do{if((y.tag&e)===e){(e&hi)!==Vo?Wc(t):(e&La)!==Vo&&af(t);var w=y.create;(e&lc)!==Vo&&Py(!0),y.destroy=w(),(e&lc)!==Vo&&Py(!1),(e&hi)!==Vo?rf():(e&La)!==Vo&&pm();{var _=y.destroy;if(_!==void 0&&typeof _!="function"){var F=void 0;(y.tag&La)!==Ct?F="useLayoutEffect":(y.tag&lc)!==Ct?F="useInsertionEffect":F="useEffect";var B=void 0;_===null?B=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof _.then=="function"?B=`
264
264
 
265
265
  It looks like you wrote `+F+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
266
266
 
@@ -273,11 +273,11 @@ It looks like you wrote `+F+`(async () => ...) or returned a Promise. Instead, w
273
273
  fetchData();
274
274
  }, [someId]); // Or [] if effect doesn't need props or state
275
275
 
276
- Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:B=" You returned: "+_,m("%s must not return anything besides a function, which is used for clean-up.%s",F,B)}}}y=y.next}while(y!==p)}}function A5(e,t){if((t.flags&mn)!==Ct)switch(t.tag){case Z:{var s=t.stateNode.passiveEffectDuration,u=t.memoizedProps,p=u.id,y=u.onPostCommit,w=xF(),_=t.alternate===null?"mount":"update";CF()&&(_="nested-update"),typeof y=="function"&&y(p,_,s,w);var F=t.return;e:for(;F!==null;){switch(F.tag){case N:var B=F.stateNode;B.passiveEffectDuration+=s;break e;case Z:var I=F.stateNode;I.passiveEffectDuration+=s;break e}F=F.return}break}}}function $5(e,t,s,u){if((s.flags&Xs)!==Ct)switch(s.tag){case C:case W:case pe:{if(!gi)if(s.mode&En)try{fc(),xf(La|Ra,s)}finally{dc(s)}else xf(La|Ra,s);break}case T:{var p=s.stateNode;if(s.flags&mn&&!gi)if(t===null)if(s.type===s.elementType&&!fh&&(p.props!==s.memoizedProps&&m("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.",Bt(s)||"instance"),p.state!==s.memoizedState&&m("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.",Bt(s)||"instance")),s.mode&En)try{fc(),p.componentDidMount()}finally{dc(s)}else p.componentDidMount();else{var y=s.elementType===s.type?t.memoizedProps:au(s.type,t.memoizedProps),w=t.memoizedState;if(s.type===s.elementType&&!fh&&(p.props!==s.memoizedProps&&m("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.",Bt(s)||"instance"),p.state!==s.memoizedState&&m("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.",Bt(s)||"instance")),s.mode&En)try{fc(),p.componentDidUpdate(y,w,p.__reactInternalSnapshotBeforeUpdate)}finally{dc(s)}else p.componentDidUpdate(y,w,p.__reactInternalSnapshotBeforeUpdate)}var _=s.updateQueue;_!==null&&(s.type===s.elementType&&!fh&&(p.props!==s.memoizedProps&&m("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.",Bt(s)||"instance"),p.state!==s.memoizedState&&m("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.",Bt(s)||"instance")),XT(s,_,p));break}case N:{var F=s.updateQueue;if(F!==null){var B=null;if(s.child!==null)switch(s.child.tag){case L:B=s.child.stateNode;break;case T:B=s.child.stateNode;break}XT(s,F,B)}break}case L:{var I=s.stateNode;if(t===null&&s.flags&mn){var re=s.type,te=s.memoizedProps;X8(I,re,te)}break}case j:break;case R:break;case Z:{{var ue=s.memoizedProps,ge=ue.onCommit,Ce=ue.onRender,tt=s.stateNode.effectDuration,St=xF(),Pt=t===null?"mount":"update";CF()&&(Pt="nested-update"),typeof Ce=="function"&&Ce(s.memoizedProps.id,Pt,s.actualDuration,s.treeBaseDuration,s.actualStartTime,St);{typeof ge=="function"&&ge(s.memoizedProps.id,Pt,tt,St),T9(s);var pn=s.return;e:for(;pn!==null;){switch(pn.tag){case N:var un=pn.stateNode;un.effectDuration+=tt;break e;case Z:var se=pn.stateNode;se.effectDuration+=tt;break e}pn=pn.return}}}break}case X:{I5(e,s);break}case qe:case be:case Xe:case nt:case He:case Me: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.")}gi||s.flags&Yn&&cA(s)}function P5(e){switch(e.tag){case C:case W:case pe:{if(e.mode&En)try{fc(),sA(e,e.return)}finally{dc(e)}else sA(e,e.return);break}case T:{var t=e.stateNode;typeof t.componentDidMount=="function"&&x5(e,e.return,t),lA(e,e.return);break}case L:{lA(e,e.return);break}}}function N5(e,t){for(var s=null,u=e;;){if(u.tag===L){if(s===null){s=u;try{var p=u.stateNode;t?i6(p):s6(u.stateNode,u.memoizedProps)}catch(w){yr(e,e.return,w)}}}else if(u.tag===j){if(s===null)try{var y=u.stateNode;t?o6(y):l6(y,u.memoizedProps)}catch(w){yr(e,e.return,w)}}else if(!((u.tag===nt||u.tag===He)&&u.memoizedState!==null&&u!==e)&&u.child!==null){u.child.return=u,u=u.child;continue}if(u===e)return;for(;u.sibling===null;){if(u.return===null||u.return===e)return;s===u&&(s=null),u=u.return}s===u&&(s=null),u.sibling.return=u.return,u=u.sibling}}function cA(e){var t=e.ref;if(t!==null){var s=e.stateNode,u;switch(e.tag){case L:u=s;break;default:u=s}if(typeof t=="function"){var p;if(e.mode&En)try{fc(),p=t(u)}finally{dc(e)}else p=t(u);typeof p=="function"&&m("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Bt(e))}else t.hasOwnProperty("current")||m("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",Bt(e)),t.current=u}}function R5(e){var t=e.alternate;t!==null&&(t.return=null),e.return=null}function dA(e){var t=e.alternate;t!==null&&(e.alternate=null,dA(t));{if(e.child=null,e.deletions=null,e.sibling=null,e.tag===L){var s=e.stateNode;s!==null&&j6(s)}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 L5(e){for(var t=e.return;t!==null;){if(fA(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.")}function fA(e){return e.tag===L||e.tag===N||e.tag===R}function pA(e){var t=e;e:for(;;){for(;t.sibling===null;){if(t.return===null||fA(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==L&&t.tag!==j&&t.tag!==Ge;){if(t.flags&Ar||t.child===null||t.tag===R)continue e;t.child.return=t,t=t.child}if(!(t.flags&Ar))return t.stateNode}}function O5(e){var t=L5(e);switch(t.tag){case L:{var s=t.stateNode;t.flags&At&&(mT(s),t.flags&=-33);var u=pA(e);VS(e,u,s);break}case N:case R:{var p=t.stateNode.containerInfo,y=pA(e);qS(e,y,p);break}default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function qS(e,t,s){var u=e.tag,p=u===L||u===j;if(p){var y=e.stateNode;t?t6(s,y,t):Z8(s,y)}else if(u!==R){var w=e.child;if(w!==null){qS(w,t,s);for(var _=w.sibling;_!==null;)qS(_,t,s),_=_.sibling}}}function VS(e,t,s){var u=e.tag,p=u===L||u===j;if(p){var y=e.stateNode;t?e6(s,y,t):K8(s,y)}else if(u!==R){var w=e.child;if(w!==null){VS(w,t,s);for(var _=w.sibling;_!==null;)VS(_,t,s),_=_.sibling}}}var vi=null,su=!1;function B5(e,t,s){{var u=t;e:for(;u!==null;){switch(u.tag){case L:{vi=u.stateNode,su=!1;break e}case N:{vi=u.stateNode.containerInfo,su=!0;break e}case R:{vi=u.stateNode.containerInfo,su=!0;break e}}u=u.return}if(vi===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");hA(e,t,s),vi=null,su=!1}R5(s)}function _f(e,t,s){for(var u=s.child;u!==null;)hA(e,t,u),u=u.sibling}function hA(e,t,s){switch(Tp(s),s.tag){case L:gi||dg(s,t);case j:{{var u=vi,p=su;vi=null,_f(e,t,s),vi=u,su=p,vi!==null&&(su?r6(vi,s.stateNode):n6(vi,s.stateNode))}return}case Ge:{vi!==null&&(su?a6(vi,s.stateNode):rD(vi,s.stateNode));return}case R:{{var y=vi,w=su;vi=s.stateNode.containerInfo,su=!0,_f(e,t,s),vi=y,su=w}return}case C:case W:case ae:case pe:{if(!gi){var _=s.updateQueue;if(_!==null){var F=_.lastEffect;if(F!==null){var B=F.next,I=B;do{var re=I,te=re.destroy,ue=re.tag;te!==void 0&&((ue&lc)!==Vo?Aw(s,t,te):(ue&La)!==Vo&&(qc(s),s.mode&En?(fc(),Aw(s,t,te),dc(s)):Aw(s,t,te),Ap())),I=I.next}while(I!==B)}}}_f(e,t,s);return}case T:{if(!gi){dg(s,t);var ge=s.stateNode;typeof ge.componentWillUnmount=="function"&&WS(s,t,ge)}_f(e,t,s);return}case Xe:{_f(e,t,s);return}case nt:{if(s.mode&rn){var Ce=gi;gi=Ce||s.memoizedState!==null,_f(e,t,s),gi=Ce}else _f(e,t,s);break}default:{_f(e,t,s);return}}}function M5(e){e.memoizedState}function I5(e,t){var s=t.memoizedState;if(s===null){var u=t.alternate;if(u!==null){var p=u.memoizedState;if(p!==null){var y=p.dehydrated;y!==null&&S6(y)}}}}function mA(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var s=e.stateNode;s===null&&(s=e.stateNode=new D5),t.forEach(function(u){var p=L9.bind(null,e,u);if(!s.has(u)){if(s.add(u),Qa)if(ug!==null&&cg!==null)$y(cg,ug);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");u.then(p,p)}})}}function j5(e,t,s){ug=s,cg=e,An(t),gA(t,e),An(t),ug=null,cg=null}function lu(e,t,s){var u=t.deletions;if(u!==null)for(var p=0;p<u.length;p++){var y=u[p];try{B5(e,t,y)}catch(F){yr(y,t,F)}}var w=si();if(t.subtreeFlags&Gs)for(var _=t.child;_!==null;)An(_),gA(_,e),_=_.sibling;An(w)}function gA(e,t,s){var u=e.alternate,p=e.flags;switch(e.tag){case C:case W:case ae:case pe:{if(lu(t,e),pc(e),p&mn){try{ou(lc|Ra,e,e.return),xf(lc|Ra,e)}catch(Mt){yr(e,e.return,Mt)}if(e.mode&En){try{fc(),ou(La|Ra,e,e.return)}catch(Mt){yr(e,e.return,Mt)}dc(e)}else try{ou(La|Ra,e,e.return)}catch(Mt){yr(e,e.return,Mt)}}return}case T:{lu(t,e),pc(e),p&Yn&&u!==null&&dg(u,u.return);return}case L:{lu(t,e),pc(e),p&Yn&&u!==null&&dg(u,u.return);{if(e.flags&At){var y=e.stateNode;try{mT(y)}catch(Mt){yr(e,e.return,Mt)}}if(p&mn){var w=e.stateNode;if(w!=null){var _=e.memoizedProps,F=u!==null?u.memoizedProps:_,B=e.type,I=e.updateQueue;if(e.updateQueue=null,I!==null)try{J8(w,I,B,F,_,e)}catch(Mt){yr(e,e.return,Mt)}}}}return}case j:{if(lu(t,e),pc(e),p&mn){if(e.stateNode===null)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 re=e.stateNode,te=e.memoizedProps,ue=u!==null?u.memoizedProps:te;try{Q8(re,ue,te)}catch(Mt){yr(e,e.return,Mt)}}return}case N:{if(lu(t,e),pc(e),p&mn&&u!==null){var ge=u.memoizedState;if(ge.isDehydrated)try{D6(t.containerInfo)}catch(Mt){yr(e,e.return,Mt)}}return}case R:{lu(t,e),pc(e);return}case X:{lu(t,e),pc(e);var Ce=e.child;if(Ce.flags&Or){var tt=Ce.stateNode,St=Ce.memoizedState,Pt=St!==null;if(tt.isHidden=Pt,Pt){var pn=Ce.alternate!==null&&Ce.alternate.memoizedState!==null;pn||k9()}}if(p&mn){try{M5(e)}catch(Mt){yr(e,e.return,Mt)}mA(e)}return}case nt:{var un=u!==null&&u.memoizedState!==null;if(e.mode&rn){var se=gi;gi=se||un,lu(t,e),gi=se}else lu(t,e);if(pc(e),p&Or){var De=e.stateNode,le=e.memoizedState,je=le!==null,ut=e;if(De.isHidden=je,je&&!un&&(ut.mode&rn)!==xt){gt=ut;for(var it=ut.child;it!==null;)gt=it,U5(it),it=it.sibling}N5(ut,je)}return}case qe:{lu(t,e),pc(e),p&mn&&mA(e);return}case Xe:return;default:{lu(t,e),pc(e);return}}}function pc(e){var t=e.flags;if(t&Ar){try{O5(e)}catch(s){yr(e,e.return,s)}e.flags&=-3}t&Ni&&(e.flags&=-4097)}function z5(e,t,s){ug=s,cg=t,gt=e,vA(e,t,s),ug=null,cg=null}function vA(e,t,s){for(var u=(e.mode&rn)!==xt;gt!==null;){var p=gt,y=p.child;if(p.tag===nt&&u){var w=p.memoizedState!==null,_=w||Fw;if(_){YS(e,t,s);continue}else{var F=p.alternate,B=F!==null&&F.memoizedState!==null,I=B||gi,re=Fw,te=gi;Fw=_,gi=I,gi&&!te&&(gt=p,H5(p));for(var ue=y;ue!==null;)gt=ue,vA(ue,t,s),ue=ue.sibling;gt=p,Fw=re,gi=te,YS(e,t,s);continue}}(p.subtreeFlags&Xs)!==Ct&&y!==null?(y.return=p,gt=y):YS(e,t,s)}}function YS(e,t,s){for(;gt!==null;){var u=gt;if((u.flags&Xs)!==Ct){var p=u.alternate;An(u);try{$5(t,p,u,s)}catch(w){yr(u,u.return,w)}ur()}if(u===e){gt=null;return}var y=u.sibling;if(y!==null){y.return=u.return,gt=y;return}gt=u.return}}function U5(e){for(;gt!==null;){var t=gt,s=t.child;switch(t.tag){case C:case W:case ae:case pe:{if(t.mode&En)try{fc(),ou(La,t,t.return)}finally{dc(t)}else ou(La,t,t.return);break}case T:{dg(t,t.return);var u=t.stateNode;typeof u.componentWillUnmount=="function"&&WS(t,t.return,u);break}case L:{dg(t,t.return);break}case nt:{var p=t.memoizedState!==null;if(p){yA(e);continue}break}}s!==null?(s.return=t,gt=s):yA(e)}}function yA(e){for(;gt!==null;){var t=gt;if(t===e){gt=null;return}var s=t.sibling;if(s!==null){s.return=t.return,gt=s;return}gt=t.return}}function H5(e){for(;gt!==null;){var t=gt,s=t.child;if(t.tag===nt){var u=t.memoizedState!==null;if(u){bA(e);continue}}s!==null?(s.return=t,gt=s):bA(e)}}function bA(e){for(;gt!==null;){var t=gt;An(t);try{P5(t)}catch(u){yr(t,t.return,u)}if(ur(),t===e){gt=null;return}var s=t.sibling;if(s!==null){s.return=t.return,gt=s;return}gt=t.return}}function W5(e,t,s,u){gt=t,q5(t,e,s,u)}function q5(e,t,s,u){for(;gt!==null;){var p=gt,y=p.child;(p.subtreeFlags&Bo)!==Ct&&y!==null?(y.return=p,gt=y):V5(e,t,s,u)}}function V5(e,t,s,u){for(;gt!==null;){var p=gt;if((p.flags&Ya)!==Ct){An(p);try{Y5(t,p,s,u)}catch(w){yr(p,p.return,w)}ur()}if(p===e){gt=null;return}var y=p.sibling;if(y!==null){y.return=p.return,gt=y;return}gt=p.return}}function Y5(e,t,s,u){switch(t.tag){case C:case W:case pe:{if(t.mode&En){fS();try{xf(hi|Ra,t)}finally{dS(t)}}else xf(hi|Ra,t);break}}}function G5(e){gt=e,X5()}function X5(){for(;gt!==null;){var e=gt,t=e.child;if((gt.flags&Pi)!==Ct){var s=e.deletions;if(s!==null){for(var u=0;u<s.length;u++){var p=s[u];gt=p,K5(p,e)}{var y=e.alternate;if(y!==null){var w=y.child;if(w!==null){y.child=null;do{var _=w.sibling;w.sibling=null,w=_}while(w!==null)}}}gt=e}}(e.subtreeFlags&Bo)!==Ct&&t!==null?(t.return=e,gt=t):J5()}}function J5(){for(;gt!==null;){var e=gt;(e.flags&Ya)!==Ct&&(An(e),Q5(e),ur());var t=e.sibling;if(t!==null){t.return=e.return,gt=t;return}gt=e.return}}function Q5(e){switch(e.tag){case C:case W:case pe:{e.mode&En?(fS(),ou(hi|Ra,e,e.return),dS(e)):ou(hi|Ra,e,e.return);break}}}function K5(e,t){for(;gt!==null;){var s=gt;An(s),e9(s,t),ur();var u=s.child;u!==null?(u.return=s,gt=u):Z5(e)}}function Z5(e){for(;gt!==null;){var t=gt,s=t.sibling,u=t.return;if(dA(t),t===e){gt=null;return}if(s!==null){s.return=u,gt=s;return}gt=u}}function e9(e,t){switch(e.tag){case C:case W:case pe:{e.mode&En?(fS(),ou(hi,e,t),dS(e)):ou(hi,e,t);break}}}function t9(e){switch(e.tag){case C:case W:case pe:{try{xf(La|Ra,e)}catch(s){yr(e,e.return,s)}break}case T:{var t=e.stateNode;try{t.componentDidMount()}catch(s){yr(e,e.return,s)}break}}}function n9(e){switch(e.tag){case C:case W:case pe:{try{xf(hi|Ra,e)}catch(t){yr(e,e.return,t)}break}}}function r9(e){switch(e.tag){case C:case W:case pe:{try{ou(La|Ra,e,e.return)}catch(s){yr(e,e.return,s)}break}case T:{var t=e.stateNode;typeof t.componentWillUnmount=="function"&&WS(e,e.return,t);break}}}function a9(e){switch(e.tag){case C:case W:case pe:try{ou(hi|Ra,e,e.return)}catch(t){yr(e,e.return,t)}}}if(typeof Symbol=="function"&&Symbol.for){var wy=Symbol.for;wy("selector.component"),wy("selector.has_pseudo_class"),wy("selector.role"),wy("selector.test_id"),wy("selector.text")}var i9=[];function o9(){i9.forEach(function(e){return e()})}var s9=i.ReactCurrentActQueue;function l9(e){{var t=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0,s=typeof jest<"u";return s&&t!==!1}}function kA(){{var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return!e&&s9.current!==null&&m("The current testing environment is not configured to support act(...)"),e}}var u9=Math.ceil,GS=i.ReactCurrentDispatcher,XS=i.ReactCurrentOwner,yi=i.ReactCurrentBatchConfig,uu=i.ReactCurrentActQueue,Ma=0,wA=1,bi=2,cl=4,yd=0,Dy=1,ph=2,$w=3,Sy=4,DA=5,JS=6,Cn=Ma,po=null,Xr=null,Ia=E,hc=E,QS=gf(E),ja=yd,Cy=null,Pw=E,xy=E,Nw=E,_y=null,Yo=null,KS=0,SA=500,CA=1/0,c9=500,bd=null;function Ey(){CA=Br()+c9}function xA(){return CA}var Rw=!1,ZS=null,fg=null,hh=!1,Ef=null,Ty=E,eC=[],tC=null,d9=50,Fy=0,nC=null,rC=!1,Lw=!1,f9=50,pg=0,Ow=null,Bw=dr,Mw=E,_A=!1;function Iw(){return po}function ho(){return(Cn&(bi|cl))!==Ma?Br():(Bw!==dr||(Bw=Br()),Bw)}function Tf(e){var t=e.mode;if((t&rn)===xt)return U;if((Cn&bi)!==Ma&&Ia!==E)return jp(Ia);var s=sz()!==oz;if(s){if(yi.transition!==null){var u=yi.transition;u._updatedFibers||(u._updatedFibers=new Set),u._updatedFibers.add(e)}return Mw===M&&(Mw=yv()),Mw}var p=bs();if(p!==M)return p;var y=q8();return y}function p9(e){var t=e.mode;return(t&rn)===xt?U:jb()}function za(e,t,s,u){B9(),_A&&m("useInsertionEffect must not schedule updates."),rC&&(Lw=!0),td(e,s,u),(Cn&bi)!==E&&e===po?j9(t):(Qa&&Cm(e,t,s),z9(t),e===po&&((Cn&bi)===Ma&&(xy=Kt(xy,s)),ja===Sy&&Ff(e,Ia)),Go(e,u),s===U&&Cn===Ma&&(t.mode&rn)===xt&&!uu.isBatchingLegacy&&(Ey(),_T()))}function h9(e,t,s){var u=e.current;u.lanes=t,td(e,t,s),Go(e,s)}function m9(e){return(Cn&bi)!==Ma}function Go(e,t){var s=e.callbackNode;km(e,t);var u=bm(e,e===po?Ia:E);if(u===E){s!==null&&UA(s),e.callbackNode=null,e.callbackPriority=M;return}var p=Ju(u),y=e.callbackPriority;if(y===p&&!(uu.current!==null&&s!==cC)){s==null&&y!==U&&m("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}s!=null&&UA(s);var w;if(p===U)e.tag===vf?(uu.isBatchingLegacy!==null&&(uu.didScheduleLegacyUpdate=!0),H6(FA.bind(null,e))):xT(FA.bind(null,e)),uu.current!==null?uu.current.push(yf):Y8(function(){(Cn&(bi|cl))===Ma&&yf()}),w=null;else{var _;switch($a(u)){case Mi:_=Yu;break;case ys:_=Qs;break;case tl:_=Io;break;case nd:_=hs;break;default:_=Io;break}w=dC(_,EA.bind(null,e))}e.callbackPriority=p,e.callbackNode=w}function EA(e,t){if(Nz(),Bw=dr,Mw=E,(Cn&(bi|cl))!==Ma)throw new Error("Should not already be working.");var s=e.callbackNode,u=wd();if(u&&e.callbackNode!==s)return null;var p=bm(e,e===po?Ia:E);if(p===E)return null;var y=!Dm(e,p)&&!Ib(e,p)&&!t,w=y?x9(e,p):zw(e,p);if(w!==yd){if(w===ph){var _=wm(e);_!==E&&(p=_,w=aC(e,_))}if(w===Dy){var F=Cy;throw mh(e,E),Ff(e,p),Go(e,Br()),F}if(w===JS)Ff(e,p);else{var B=!Dm(e,p),I=e.current.alternate;if(B&&!v9(I)){if(w=zw(e,p),w===ph){var re=wm(e);re!==E&&(p=re,w=aC(e,re))}if(w===Dy){var te=Cy;throw mh(e,E),Ff(e,p),Go(e,Br()),te}}e.finishedWork=I,e.finishedLanes=p,g9(e,w,p)}}return Go(e,Br()),e.callbackNode===s?EA.bind(null,e):null}function aC(e,t){var s=_y;if(xm(e)){var u=mh(e,t);u.flags|=ba,O6(e.containerInfo)}var p=zw(e,t);if(p!==ph){var y=Yo;Yo=s,y!==null&&TA(y)}return p}function TA(e){Yo===null?Yo=e:Yo.push.apply(Yo,e)}function g9(e,t,s){switch(t){case yd:case Dy:throw new Error("Root did not complete. This is a bug in React.");case ph:{gh(e,Yo,bd);break}case $w:{if(Ff(e,s),Zc(s)&&!HA()){var u=KS+SA-Br();if(u>10){var p=bm(e,E);if(p!==E)break;var y=e.suspendedLanes;if(!ed(y,s)){ho(),wv(e,y);break}e.timeoutHandle=tD(gh.bind(null,e,Yo,bd),u);break}}gh(e,Yo,bd);break}case Sy:{if(Ff(e,s),gv(s))break;if(!HA()){var w=vs(e,s),_=w,F=Br()-_,B=O9(F)-F;if(B>10){e.timeoutHandle=tD(gh.bind(null,e,Yo,bd),B);break}}gh(e,Yo,bd);break}case DA:{gh(e,Yo,bd);break}default:throw new Error("Unknown root exit status.")}}function v9(e){for(var t=e;;){if(t.flags&qu){var s=t.updateQueue;if(s!==null){var u=s.stores;if(u!==null)for(var p=0;p<u.length;p++){var y=u[p],w=y.getSnapshot,_=y.value;try{if(!ie(w(),_))return!1}catch{return!1}}}}var F=t.child;if(t.subtreeFlags&qu&&F!==null){F.return=t,t=F;continue}if(t===e)return!0;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}return!0}function Ff(e,t){t=zp(t,Nw),t=zp(t,xy),zb(e,t)}function FA(e){if(Rz(),(Cn&(bi|cl))!==Ma)throw new Error("Should not already be working.");wd();var t=bm(e,E);if(!Bi(t,U))return Go(e,Br()),null;var s=zw(e,t);if(e.tag!==vf&&s===ph){var u=wm(e);u!==E&&(t=u,s=aC(e,u))}if(s===Dy){var p=Cy;throw mh(e,E),Ff(e,t),Go(e,Br()),p}if(s===JS)throw new Error("Root did not complete. This is a bug in React.");var y=e.current.alternate;return e.finishedWork=y,e.finishedLanes=t,gh(e,Yo,bd),Go(e,Br()),null}function y9(e,t){t!==E&&(Up(e,Kt(t,U)),Go(e,Br()),(Cn&(bi|cl))===Ma&&(Ey(),yf()))}function iC(e,t){var s=Cn;Cn|=wA;try{return e(t)}finally{Cn=s,Cn===Ma&&!uu.isBatchingLegacy&&(Ey(),_T())}}function b9(e,t,s,u,p){var y=bs(),w=yi.transition;try{return yi.transition=null,ua(Mi),e(t,s,u,p)}finally{ua(y),yi.transition=w,Cn===Ma&&Ey()}}function kd(e){Ef!==null&&Ef.tag===vf&&(Cn&(bi|cl))===Ma&&wd();var t=Cn;Cn|=wA;var s=yi.transition,u=bs();try{return yi.transition=null,ua(Mi),e?e():void 0}finally{ua(u),yi.transition=s,Cn=t,(Cn&(bi|cl))===Ma&&yf()}}function AA(){return(Cn&(bi|cl))!==Ma}function jw(e,t){Ui(QS,hc,e),hc=Kt(hc,t)}function oC(e){hc=QS.current,zi(QS,e)}function mh(e,t){e.finishedWork=null,e.finishedLanes=E;var s=e.timeoutHandle;if(s!==nD&&(e.timeoutHandle=nD,V8(s)),Xr!==null)for(var u=Xr.return;u!==null;){var p=u.alternate;iA(p,u),u=u.return}po=e;var y=vh(e.current,null);return Xr=y,Ia=hc=t,ja=yd,Cy=null,Pw=E,xy=E,Nw=E,_y=null,Yo=null,hz(),tu.discardPendingWarnings(),y}function $A(e,t){do{var s=Xr;try{if(Xk(),tF(),ur(),XS.current=null,s===null||s.return===null){ja=Dy,Cy=t,Xr=null;return}if(rt&&s.mode&En&&Cw(s,!0),ot)if(Zr(),t!==null&&typeof t=="object"&&typeof t.then=="function"){var u=t;jo(s,u,Ia)}else Vc(s,t,Ia);Hz(e,s.return,s,t,Ia),LA(s)}catch(p){t=p,Xr===s&&s!==null?(s=s.return,Xr=s):s=Xr;continue}return}while(!0)}function PA(){var e=GS.current;return GS.current=bw,e===null?bw:e}function NA(e){GS.current=e}function k9(){KS=Br()}function Ay(e){Pw=Kt(e,Pw)}function w9(){ja===yd&&(ja=$w)}function sC(){(ja===yd||ja===$w||ja===ph)&&(ja=Sy),po!==null&&(Ip(Pw)||Ip(xy))&&Ff(po,Ia)}function D9(e){ja!==Sy&&(ja=ph),_y===null?_y=[e]:_y.push(e)}function S9(){return ja===yd}function zw(e,t){var s=Cn;Cn|=bi;var u=PA();if(po!==e||Ia!==t){if(Qa){var p=e.memoizedUpdaters;p.size>0&&($y(e,Ia),p.clear()),Hp(e,t)}bd=Hb(),mh(e,t)}Hl(t);do try{C9();break}catch(y){$A(e,y)}while(!0);if(Xk(),Cn=s,NA(u),Xr!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return of(),po=null,Ia=E,ja}function C9(){for(;Xr!==null;)RA(Xr)}function x9(e,t){var s=Cn;Cn|=bi;var u=PA();if(po!==e||Ia!==t){if(Qa){var p=e.memoizedUpdaters;p.size>0&&($y(e,Ia),p.clear()),Hp(e,t)}bd=Hb(),Ey(),mh(e,t)}Hl(t);do try{_9();break}catch(y){$A(e,y)}while(!0);return Xk(),NA(u),Cn=s,Xr!==null?(Pp(),yd):(of(),po=null,Ia=E,ja)}function _9(){for(;Xr!==null&&!Cp();)RA(Xr)}function RA(e){var t=e.alternate;An(e);var s;(e.mode&En)!==xt?(cS(e),s=lC(t,e,hc),Cw(e,!0)):s=lC(t,e,hc),ur(),e.memoizedProps=e.pendingProps,s===null?LA(e):Xr=s,XS.current=null}function LA(e){var t=e;do{var s=t.alternate,u=t.return;if((t.flags&Uc)===Ct){An(t);var p=void 0;if((t.mode&En)===xt?p=aA(s,t,hc):(cS(t),p=aA(s,t,hc),Cw(t,!1)),ur(),p!==null){Xr=p;return}}else{var y=w5(s,t);if(y!==null){y.flags&=fs,Xr=y;return}if((t.mode&En)!==xt){Cw(t,!1);for(var w=t.actualDuration,_=t.child;_!==null;)w+=_.actualDuration,_=_.sibling;t.actualDuration=w}if(u!==null)u.flags|=Uc,u.subtreeFlags=Ct,u.deletions=null;else{ja=JS,Xr=null;return}}var F=t.sibling;if(F!==null){Xr=F;return}t=u,Xr=t}while(t!==null);ja===yd&&(ja=DA)}function gh(e,t,s){var u=bs(),p=yi.transition;try{yi.transition=null,ua(Mi),E9(e,t,s,u)}finally{yi.transition=p,ua(u)}return null}function E9(e,t,s,u){do wd();while(Ef!==null);if(M9(),(Cn&(bi|cl))!==Ma)throw new Error("Should not already be working.");var p=e.finishedWork,y=e.finishedLanes;if(Fp(y),p===null)return Gu(),null;if(y===E&&m("root.finishedLanes should not be empty during a commit. This is a bug in React."),e.finishedWork=null,e.finishedLanes=E,p===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=M;var w=Kt(p.lanes,p.childLanes);Dv(e,w),e===po&&(po=null,Xr=null,Ia=E),((p.subtreeFlags&Bo)!==Ct||(p.flags&Bo)!==Ct)&&(hh||(hh=!0,tC=s,dC(Io,function(){return wd(),null})));var _=(p.subtreeFlags&(Ys|Gs|Xs|Bo))!==Ct,F=(p.flags&(Ys|Gs|Xs|Bo))!==Ct;if(_||F){var B=yi.transition;yi.transition=null;var I=bs();ua(Mi);var re=Cn;Cn|=cl,XS.current=null,_5(e,p),_F(),j5(e,p,y),I8(e.containerInfo),e.current=p,zl(y),z5(p,e,y),Yc(),xp(),Cn=re,ua(I),yi.transition=B}else e.current=p,_F();var te=hh;if(hh?(hh=!1,Ef=e,Ty=y):(pg=0,Ow=null),w=e.pendingLanes,w===E&&(fg=null),te||IA(e.current,!1),nf(p.stateNode,u),Qa&&e.memoizedUpdaters.clear(),o9(),Go(e,Br()),t!==null)for(var ue=e.onRecoverableError,ge=0;ge<t.length;ge++){var Ce=t[ge],tt=Ce.stack,St=Ce.digest;ue(Ce.value,{componentStack:tt,digest:St})}if(Rw){Rw=!1;var Pt=ZS;throw ZS=null,Pt}return Bi(Ty,U)&&e.tag!==vf&&wd(),w=e.pendingLanes,Bi(w,U)?(Pz(),e===nC?Fy++:(Fy=0,nC=e)):Fy=0,yf(),Gu(),null}function wd(){if(Ef!==null){var e=$a(Ty),t=qb(tl,e),s=yi.transition,u=bs();try{return yi.transition=null,ua(t),F9()}finally{ua(u),yi.transition=s}}return!1}function T9(e){eC.push(e),hh||(hh=!0,dC(Io,function(){return wd(),null}))}function F9(){if(Ef===null)return!1;var e=tC;tC=null;var t=Ef,s=Ty;if(Ef=null,Ty=E,(Cn&(bi|cl))!==Ma)throw new Error("Cannot flush passive effects while already rendering.");rC=!0,Lw=!1,Ul(s);var u=Cn;Cn|=cl,G5(t.current),W5(t,t.current,s,e);{var p=eC;eC=[];for(var y=0;y<p.length;y++){var w=p[y];A5(t,w)}}$p(),IA(t.current,!0),Cn=u,yf(),Lw?t===Ow?pg++:(pg=0,Ow=t):pg=0,rC=!1,Lw=!1,Ep(t);{var _=t.current.stateNode;_.effectDuration=0,_.passiveEffectDuration=0}return!0}function OA(e){return fg!==null&&fg.has(e)}function A9(e){fg===null?fg=new Set([e]):fg.add(e)}function $9(e){Rw||(Rw=!0,ZS=e)}var P9=$9;function BA(e,t,s){var u=dh(s,t),p=RF(e,u,U),y=kf(e,p,U),w=ho();y!==null&&(td(y,U,w),Go(y,w))}function yr(e,t,s){if(S5(s),Py(!1),e.tag===N){BA(e,e,s);return}var u=null;for(u=t;u!==null;){if(u.tag===N){BA(u,e,s);return}else if(u.tag===T){var p=u.type,y=u.stateNode;if(typeof p.getDerivedStateFromError=="function"||typeof y.componentDidCatch=="function"&&!OA(y)){var w=dh(s,e),_=TS(u,w,U),F=kf(u,_,U),B=ho();F!==null&&(td(F,U,B),Go(F,B));return}}u=u.return}m(`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.
276
+ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:B=" You returned: "+_,m("%s must not return anything besides a function, which is used for clean-up.%s",F,B)}}}y=y.next}while(y!==p)}}function A9(e,t){if((t.flags&mn)!==Ct)switch(t.tag){case Z:{var s=t.stateNode.passiveEffectDuration,u=t.memoizedProps,p=u.id,y=u.onPostCommit,w=xF(),_=t.alternate===null?"mount":"update";CF()&&(_="nested-update"),typeof y=="function"&&y(p,_,s,w);var F=t.return;e:for(;F!==null;){switch(F.tag){case N:var B=F.stateNode;B.passiveEffectDuration+=s;break e;case Z:var I=F.stateNode;I.passiveEffectDuration+=s;break e}F=F.return}break}}}function $9(e,t,s,u){if((s.flags&Xs)!==Ct)switch(s.tag){case C:case W:case pe:{if(!gi)if(s.mode&En)try{fc(),xf(La|Ra,s)}finally{dc(s)}else xf(La|Ra,s);break}case T:{var p=s.stateNode;if(s.flags&mn&&!gi)if(t===null)if(s.type===s.elementType&&!fh&&(p.props!==s.memoizedProps&&m("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.",Bt(s)||"instance"),p.state!==s.memoizedState&&m("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.",Bt(s)||"instance")),s.mode&En)try{fc(),p.componentDidMount()}finally{dc(s)}else p.componentDidMount();else{var y=s.elementType===s.type?t.memoizedProps:au(s.type,t.memoizedProps),w=t.memoizedState;if(s.type===s.elementType&&!fh&&(p.props!==s.memoizedProps&&m("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.",Bt(s)||"instance"),p.state!==s.memoizedState&&m("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.",Bt(s)||"instance")),s.mode&En)try{fc(),p.componentDidUpdate(y,w,p.__reactInternalSnapshotBeforeUpdate)}finally{dc(s)}else p.componentDidUpdate(y,w,p.__reactInternalSnapshotBeforeUpdate)}var _=s.updateQueue;_!==null&&(s.type===s.elementType&&!fh&&(p.props!==s.memoizedProps&&m("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.",Bt(s)||"instance"),p.state!==s.memoizedState&&m("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.",Bt(s)||"instance")),XT(s,_,p));break}case N:{var F=s.updateQueue;if(F!==null){var B=null;if(s.child!==null)switch(s.child.tag){case L:B=s.child.stateNode;break;case T:B=s.child.stateNode;break}XT(s,F,B)}break}case L:{var I=s.stateNode;if(t===null&&s.flags&mn){var re=s.type,te=s.memoizedProps;X8(I,re,te)}break}case j:break;case R:break;case Z:{{var ue=s.memoizedProps,ge=ue.onCommit,Ce=ue.onRender,tt=s.stateNode.effectDuration,St=xF(),Pt=t===null?"mount":"update";CF()&&(Pt="nested-update"),typeof Ce=="function"&&Ce(s.memoizedProps.id,Pt,s.actualDuration,s.treeBaseDuration,s.actualStartTime,St);{typeof ge=="function"&&ge(s.memoizedProps.id,Pt,tt,St),Tz(s);var pn=s.return;e:for(;pn!==null;){switch(pn.tag){case N:var un=pn.stateNode;un.effectDuration+=tt;break e;case Z:var se=pn.stateNode;se.effectDuration+=tt;break e}pn=pn.return}}}break}case X:{I9(e,s);break}case qe:case be:case Xe:case nt:case He:case Me: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.")}gi||s.flags&Yn&&cA(s)}function P9(e){switch(e.tag){case C:case W:case pe:{if(e.mode&En)try{fc(),sA(e,e.return)}finally{dc(e)}else sA(e,e.return);break}case T:{var t=e.stateNode;typeof t.componentDidMount=="function"&&x9(e,e.return,t),lA(e,e.return);break}case L:{lA(e,e.return);break}}}function N9(e,t){for(var s=null,u=e;;){if(u.tag===L){if(s===null){s=u;try{var p=u.stateNode;t?i6(p):s6(u.stateNode,u.memoizedProps)}catch(w){yr(e,e.return,w)}}}else if(u.tag===j){if(s===null)try{var y=u.stateNode;t?o6(y):l6(y,u.memoizedProps)}catch(w){yr(e,e.return,w)}}else if(!((u.tag===nt||u.tag===He)&&u.memoizedState!==null&&u!==e)&&u.child!==null){u.child.return=u,u=u.child;continue}if(u===e)return;for(;u.sibling===null;){if(u.return===null||u.return===e)return;s===u&&(s=null),u=u.return}s===u&&(s=null),u.sibling.return=u.return,u=u.sibling}}function cA(e){var t=e.ref;if(t!==null){var s=e.stateNode,u;switch(e.tag){case L:u=s;break;default:u=s}if(typeof t=="function"){var p;if(e.mode&En)try{fc(),p=t(u)}finally{dc(e)}else p=t(u);typeof p=="function"&&m("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Bt(e))}else t.hasOwnProperty("current")||m("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",Bt(e)),t.current=u}}function R9(e){var t=e.alternate;t!==null&&(t.return=null),e.return=null}function dA(e){var t=e.alternate;t!==null&&(e.alternate=null,dA(t));{if(e.child=null,e.deletions=null,e.sibling=null,e.tag===L){var s=e.stateNode;s!==null&&j6(s)}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 L9(e){for(var t=e.return;t!==null;){if(fA(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.")}function fA(e){return e.tag===L||e.tag===N||e.tag===R}function pA(e){var t=e;e:for(;;){for(;t.sibling===null;){if(t.return===null||fA(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==L&&t.tag!==j&&t.tag!==Ge;){if(t.flags&Ar||t.child===null||t.tag===R)continue e;t.child.return=t,t=t.child}if(!(t.flags&Ar))return t.stateNode}}function O9(e){var t=L9(e);switch(t.tag){case L:{var s=t.stateNode;t.flags&At&&(mT(s),t.flags&=-33);var u=pA(e);VS(e,u,s);break}case N:case R:{var p=t.stateNode.containerInfo,y=pA(e);qS(e,y,p);break}default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function qS(e,t,s){var u=e.tag,p=u===L||u===j;if(p){var y=e.stateNode;t?t6(s,y,t):Z8(s,y)}else if(u!==R){var w=e.child;if(w!==null){qS(w,t,s);for(var _=w.sibling;_!==null;)qS(_,t,s),_=_.sibling}}}function VS(e,t,s){var u=e.tag,p=u===L||u===j;if(p){var y=e.stateNode;t?e6(s,y,t):K8(s,y)}else if(u!==R){var w=e.child;if(w!==null){VS(w,t,s);for(var _=w.sibling;_!==null;)VS(_,t,s),_=_.sibling}}}var vi=null,su=!1;function B9(e,t,s){{var u=t;e:for(;u!==null;){switch(u.tag){case L:{vi=u.stateNode,su=!1;break e}case N:{vi=u.stateNode.containerInfo,su=!0;break e}case R:{vi=u.stateNode.containerInfo,su=!0;break e}}u=u.return}if(vi===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");hA(e,t,s),vi=null,su=!1}R9(s)}function _f(e,t,s){for(var u=s.child;u!==null;)hA(e,t,u),u=u.sibling}function hA(e,t,s){switch(Tp(s),s.tag){case L:gi||dg(s,t);case j:{{var u=vi,p=su;vi=null,_f(e,t,s),vi=u,su=p,vi!==null&&(su?r6(vi,s.stateNode):n6(vi,s.stateNode))}return}case Ge:{vi!==null&&(su?a6(vi,s.stateNode):rD(vi,s.stateNode));return}case R:{{var y=vi,w=su;vi=s.stateNode.containerInfo,su=!0,_f(e,t,s),vi=y,su=w}return}case C:case W:case ae:case pe:{if(!gi){var _=s.updateQueue;if(_!==null){var F=_.lastEffect;if(F!==null){var B=F.next,I=B;do{var re=I,te=re.destroy,ue=re.tag;te!==void 0&&((ue&lc)!==Vo?Aw(s,t,te):(ue&La)!==Vo&&(qc(s),s.mode&En?(fc(),Aw(s,t,te),dc(s)):Aw(s,t,te),Ap())),I=I.next}while(I!==B)}}}_f(e,t,s);return}case T:{if(!gi){dg(s,t);var ge=s.stateNode;typeof ge.componentWillUnmount=="function"&&WS(s,t,ge)}_f(e,t,s);return}case Xe:{_f(e,t,s);return}case nt:{if(s.mode&rn){var Ce=gi;gi=Ce||s.memoizedState!==null,_f(e,t,s),gi=Ce}else _f(e,t,s);break}default:{_f(e,t,s);return}}}function M9(e){e.memoizedState}function I9(e,t){var s=t.memoizedState;if(s===null){var u=t.alternate;if(u!==null){var p=u.memoizedState;if(p!==null){var y=p.dehydrated;y!==null&&S6(y)}}}}function mA(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var s=e.stateNode;s===null&&(s=e.stateNode=new D9),t.forEach(function(u){var p=Lz.bind(null,e,u);if(!s.has(u)){if(s.add(u),Qa)if(ug!==null&&cg!==null)$y(cg,ug);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");u.then(p,p)}})}}function j9(e,t,s){ug=s,cg=e,An(t),gA(t,e),An(t),ug=null,cg=null}function lu(e,t,s){var u=t.deletions;if(u!==null)for(var p=0;p<u.length;p++){var y=u[p];try{B9(e,t,y)}catch(F){yr(y,t,F)}}var w=si();if(t.subtreeFlags&Gs)for(var _=t.child;_!==null;)An(_),gA(_,e),_=_.sibling;An(w)}function gA(e,t,s){var u=e.alternate,p=e.flags;switch(e.tag){case C:case W:case ae:case pe:{if(lu(t,e),pc(e),p&mn){try{ou(lc|Ra,e,e.return),xf(lc|Ra,e)}catch(Mt){yr(e,e.return,Mt)}if(e.mode&En){try{fc(),ou(La|Ra,e,e.return)}catch(Mt){yr(e,e.return,Mt)}dc(e)}else try{ou(La|Ra,e,e.return)}catch(Mt){yr(e,e.return,Mt)}}return}case T:{lu(t,e),pc(e),p&Yn&&u!==null&&dg(u,u.return);return}case L:{lu(t,e),pc(e),p&Yn&&u!==null&&dg(u,u.return);{if(e.flags&At){var y=e.stateNode;try{mT(y)}catch(Mt){yr(e,e.return,Mt)}}if(p&mn){var w=e.stateNode;if(w!=null){var _=e.memoizedProps,F=u!==null?u.memoizedProps:_,B=e.type,I=e.updateQueue;if(e.updateQueue=null,I!==null)try{J8(w,I,B,F,_,e)}catch(Mt){yr(e,e.return,Mt)}}}}return}case j:{if(lu(t,e),pc(e),p&mn){if(e.stateNode===null)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 re=e.stateNode,te=e.memoizedProps,ue=u!==null?u.memoizedProps:te;try{Q8(re,ue,te)}catch(Mt){yr(e,e.return,Mt)}}return}case N:{if(lu(t,e),pc(e),p&mn&&u!==null){var ge=u.memoizedState;if(ge.isDehydrated)try{D6(t.containerInfo)}catch(Mt){yr(e,e.return,Mt)}}return}case R:{lu(t,e),pc(e);return}case X:{lu(t,e),pc(e);var Ce=e.child;if(Ce.flags&Or){var tt=Ce.stateNode,St=Ce.memoizedState,Pt=St!==null;if(tt.isHidden=Pt,Pt){var pn=Ce.alternate!==null&&Ce.alternate.memoizedState!==null;pn||kz()}}if(p&mn){try{M9(e)}catch(Mt){yr(e,e.return,Mt)}mA(e)}return}case nt:{var un=u!==null&&u.memoizedState!==null;if(e.mode&rn){var se=gi;gi=se||un,lu(t,e),gi=se}else lu(t,e);if(pc(e),p&Or){var De=e.stateNode,le=e.memoizedState,je=le!==null,ut=e;if(De.isHidden=je,je&&!un&&(ut.mode&rn)!==xt){gt=ut;for(var it=ut.child;it!==null;)gt=it,U9(it),it=it.sibling}N9(ut,je)}return}case qe:{lu(t,e),pc(e),p&mn&&mA(e);return}case Xe:return;default:{lu(t,e),pc(e);return}}}function pc(e){var t=e.flags;if(t&Ar){try{O9(e)}catch(s){yr(e,e.return,s)}e.flags&=-3}t&Ni&&(e.flags&=-4097)}function z9(e,t,s){ug=s,cg=t,gt=e,vA(e,t,s),ug=null,cg=null}function vA(e,t,s){for(var u=(e.mode&rn)!==xt;gt!==null;){var p=gt,y=p.child;if(p.tag===nt&&u){var w=p.memoizedState!==null,_=w||Fw;if(_){YS(e,t,s);continue}else{var F=p.alternate,B=F!==null&&F.memoizedState!==null,I=B||gi,re=Fw,te=gi;Fw=_,gi=I,gi&&!te&&(gt=p,H9(p));for(var ue=y;ue!==null;)gt=ue,vA(ue,t,s),ue=ue.sibling;gt=p,Fw=re,gi=te,YS(e,t,s);continue}}(p.subtreeFlags&Xs)!==Ct&&y!==null?(y.return=p,gt=y):YS(e,t,s)}}function YS(e,t,s){for(;gt!==null;){var u=gt;if((u.flags&Xs)!==Ct){var p=u.alternate;An(u);try{$9(t,p,u,s)}catch(w){yr(u,u.return,w)}ur()}if(u===e){gt=null;return}var y=u.sibling;if(y!==null){y.return=u.return,gt=y;return}gt=u.return}}function U9(e){for(;gt!==null;){var t=gt,s=t.child;switch(t.tag){case C:case W:case ae:case pe:{if(t.mode&En)try{fc(),ou(La,t,t.return)}finally{dc(t)}else ou(La,t,t.return);break}case T:{dg(t,t.return);var u=t.stateNode;typeof u.componentWillUnmount=="function"&&WS(t,t.return,u);break}case L:{dg(t,t.return);break}case nt:{var p=t.memoizedState!==null;if(p){yA(e);continue}break}}s!==null?(s.return=t,gt=s):yA(e)}}function yA(e){for(;gt!==null;){var t=gt;if(t===e){gt=null;return}var s=t.sibling;if(s!==null){s.return=t.return,gt=s;return}gt=t.return}}function H9(e){for(;gt!==null;){var t=gt,s=t.child;if(t.tag===nt){var u=t.memoizedState!==null;if(u){bA(e);continue}}s!==null?(s.return=t,gt=s):bA(e)}}function bA(e){for(;gt!==null;){var t=gt;An(t);try{P9(t)}catch(u){yr(t,t.return,u)}if(ur(),t===e){gt=null;return}var s=t.sibling;if(s!==null){s.return=t.return,gt=s;return}gt=t.return}}function W9(e,t,s,u){gt=t,q9(t,e,s,u)}function q9(e,t,s,u){for(;gt!==null;){var p=gt,y=p.child;(p.subtreeFlags&Bo)!==Ct&&y!==null?(y.return=p,gt=y):V9(e,t,s,u)}}function V9(e,t,s,u){for(;gt!==null;){var p=gt;if((p.flags&Ya)!==Ct){An(p);try{Y9(t,p,s,u)}catch(w){yr(p,p.return,w)}ur()}if(p===e){gt=null;return}var y=p.sibling;if(y!==null){y.return=p.return,gt=y;return}gt=p.return}}function Y9(e,t,s,u){switch(t.tag){case C:case W:case pe:{if(t.mode&En){fS();try{xf(hi|Ra,t)}finally{dS(t)}}else xf(hi|Ra,t);break}}}function G9(e){gt=e,X9()}function X9(){for(;gt!==null;){var e=gt,t=e.child;if((gt.flags&Pi)!==Ct){var s=e.deletions;if(s!==null){for(var u=0;u<s.length;u++){var p=s[u];gt=p,K9(p,e)}{var y=e.alternate;if(y!==null){var w=y.child;if(w!==null){y.child=null;do{var _=w.sibling;w.sibling=null,w=_}while(w!==null)}}}gt=e}}(e.subtreeFlags&Bo)!==Ct&&t!==null?(t.return=e,gt=t):J9()}}function J9(){for(;gt!==null;){var e=gt;(e.flags&Ya)!==Ct&&(An(e),Q9(e),ur());var t=e.sibling;if(t!==null){t.return=e.return,gt=t;return}gt=e.return}}function Q9(e){switch(e.tag){case C:case W:case pe:{e.mode&En?(fS(),ou(hi|Ra,e,e.return),dS(e)):ou(hi|Ra,e,e.return);break}}}function K9(e,t){for(;gt!==null;){var s=gt;An(s),ez(s,t),ur();var u=s.child;u!==null?(u.return=s,gt=u):Z9(e)}}function Z9(e){for(;gt!==null;){var t=gt,s=t.sibling,u=t.return;if(dA(t),t===e){gt=null;return}if(s!==null){s.return=u,gt=s;return}gt=u}}function ez(e,t){switch(e.tag){case C:case W:case pe:{e.mode&En?(fS(),ou(hi,e,t),dS(e)):ou(hi,e,t);break}}}function tz(e){switch(e.tag){case C:case W:case pe:{try{xf(La|Ra,e)}catch(s){yr(e,e.return,s)}break}case T:{var t=e.stateNode;try{t.componentDidMount()}catch(s){yr(e,e.return,s)}break}}}function nz(e){switch(e.tag){case C:case W:case pe:{try{xf(hi|Ra,e)}catch(t){yr(e,e.return,t)}break}}}function rz(e){switch(e.tag){case C:case W:case pe:{try{ou(La|Ra,e,e.return)}catch(s){yr(e,e.return,s)}break}case T:{var t=e.stateNode;typeof t.componentWillUnmount=="function"&&WS(e,e.return,t);break}}}function az(e){switch(e.tag){case C:case W:case pe:try{ou(hi|Ra,e,e.return)}catch(t){yr(e,e.return,t)}}}if(typeof Symbol=="function"&&Symbol.for){var wy=Symbol.for;wy("selector.component"),wy("selector.has_pseudo_class"),wy("selector.role"),wy("selector.test_id"),wy("selector.text")}var iz=[];function oz(){iz.forEach(function(e){return e()})}var sz=i.ReactCurrentActQueue;function lz(e){{var t=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0,s=typeof jest<"u";return s&&t!==!1}}function kA(){{var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return!e&&sz.current!==null&&m("The current testing environment is not configured to support act(...)"),e}}var uz=Math.ceil,GS=i.ReactCurrentDispatcher,XS=i.ReactCurrentOwner,yi=i.ReactCurrentBatchConfig,uu=i.ReactCurrentActQueue,Ma=0,wA=1,bi=2,cl=4,yd=0,Dy=1,ph=2,$w=3,Sy=4,DA=5,JS=6,Cn=Ma,po=null,Xr=null,Ia=E,hc=E,QS=gf(E),ja=yd,Cy=null,Pw=E,xy=E,Nw=E,_y=null,Yo=null,KS=0,SA=500,CA=1/0,cz=500,bd=null;function Ey(){CA=Br()+cz}function xA(){return CA}var Rw=!1,ZS=null,fg=null,hh=!1,Ef=null,Ty=E,eC=[],tC=null,dz=50,Fy=0,nC=null,rC=!1,Lw=!1,fz=50,pg=0,Ow=null,Bw=dr,Mw=E,_A=!1;function Iw(){return po}function ho(){return(Cn&(bi|cl))!==Ma?Br():(Bw!==dr||(Bw=Br()),Bw)}function Tf(e){var t=e.mode;if((t&rn)===xt)return U;if((Cn&bi)!==Ma&&Ia!==E)return jp(Ia);var s=s5()!==o5;if(s){if(yi.transition!==null){var u=yi.transition;u._updatedFibers||(u._updatedFibers=new Set),u._updatedFibers.add(e)}return Mw===M&&(Mw=yv()),Mw}var p=bs();if(p!==M)return p;var y=q8();return y}function pz(e){var t=e.mode;return(t&rn)===xt?U:jb()}function za(e,t,s,u){Bz(),_A&&m("useInsertionEffect must not schedule updates."),rC&&(Lw=!0),td(e,s,u),(Cn&bi)!==E&&e===po?jz(t):(Qa&&Cm(e,t,s),zz(t),e===po&&((Cn&bi)===Ma&&(xy=Kt(xy,s)),ja===Sy&&Ff(e,Ia)),Go(e,u),s===U&&Cn===Ma&&(t.mode&rn)===xt&&!uu.isBatchingLegacy&&(Ey(),_T()))}function hz(e,t,s){var u=e.current;u.lanes=t,td(e,t,s),Go(e,s)}function mz(e){return(Cn&bi)!==Ma}function Go(e,t){var s=e.callbackNode;km(e,t);var u=bm(e,e===po?Ia:E);if(u===E){s!==null&&UA(s),e.callbackNode=null,e.callbackPriority=M;return}var p=Ju(u),y=e.callbackPriority;if(y===p&&!(uu.current!==null&&s!==cC)){s==null&&y!==U&&m("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}s!=null&&UA(s);var w;if(p===U)e.tag===vf?(uu.isBatchingLegacy!==null&&(uu.didScheduleLegacyUpdate=!0),H6(FA.bind(null,e))):xT(FA.bind(null,e)),uu.current!==null?uu.current.push(yf):Y8(function(){(Cn&(bi|cl))===Ma&&yf()}),w=null;else{var _;switch($a(u)){case Mi:_=Yu;break;case ys:_=Qs;break;case tl:_=Io;break;case nd:_=hs;break;default:_=Io;break}w=dC(_,EA.bind(null,e))}e.callbackPriority=p,e.callbackNode=w}function EA(e,t){if(N5(),Bw=dr,Mw=E,(Cn&(bi|cl))!==Ma)throw new Error("Should not already be working.");var s=e.callbackNode,u=wd();if(u&&e.callbackNode!==s)return null;var p=bm(e,e===po?Ia:E);if(p===E)return null;var y=!Dm(e,p)&&!Ib(e,p)&&!t,w=y?xz(e,p):zw(e,p);if(w!==yd){if(w===ph){var _=wm(e);_!==E&&(p=_,w=aC(e,_))}if(w===Dy){var F=Cy;throw mh(e,E),Ff(e,p),Go(e,Br()),F}if(w===JS)Ff(e,p);else{var B=!Dm(e,p),I=e.current.alternate;if(B&&!vz(I)){if(w=zw(e,p),w===ph){var re=wm(e);re!==E&&(p=re,w=aC(e,re))}if(w===Dy){var te=Cy;throw mh(e,E),Ff(e,p),Go(e,Br()),te}}e.finishedWork=I,e.finishedLanes=p,gz(e,w,p)}}return Go(e,Br()),e.callbackNode===s?EA.bind(null,e):null}function aC(e,t){var s=_y;if(xm(e)){var u=mh(e,t);u.flags|=ba,O6(e.containerInfo)}var p=zw(e,t);if(p!==ph){var y=Yo;Yo=s,y!==null&&TA(y)}return p}function TA(e){Yo===null?Yo=e:Yo.push.apply(Yo,e)}function gz(e,t,s){switch(t){case yd:case Dy:throw new Error("Root did not complete. This is a bug in React.");case ph:{gh(e,Yo,bd);break}case $w:{if(Ff(e,s),Zc(s)&&!HA()){var u=KS+SA-Br();if(u>10){var p=bm(e,E);if(p!==E)break;var y=e.suspendedLanes;if(!ed(y,s)){ho(),wv(e,y);break}e.timeoutHandle=tD(gh.bind(null,e,Yo,bd),u);break}}gh(e,Yo,bd);break}case Sy:{if(Ff(e,s),gv(s))break;if(!HA()){var w=vs(e,s),_=w,F=Br()-_,B=Oz(F)-F;if(B>10){e.timeoutHandle=tD(gh.bind(null,e,Yo,bd),B);break}}gh(e,Yo,bd);break}case DA:{gh(e,Yo,bd);break}default:throw new Error("Unknown root exit status.")}}function vz(e){for(var t=e;;){if(t.flags&qu){var s=t.updateQueue;if(s!==null){var u=s.stores;if(u!==null)for(var p=0;p<u.length;p++){var y=u[p],w=y.getSnapshot,_=y.value;try{if(!ie(w(),_))return!1}catch{return!1}}}}var F=t.child;if(t.subtreeFlags&qu&&F!==null){F.return=t,t=F;continue}if(t===e)return!0;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}return!0}function Ff(e,t){t=zp(t,Nw),t=zp(t,xy),zb(e,t)}function FA(e){if(R5(),(Cn&(bi|cl))!==Ma)throw new Error("Should not already be working.");wd();var t=bm(e,E);if(!Bi(t,U))return Go(e,Br()),null;var s=zw(e,t);if(e.tag!==vf&&s===ph){var u=wm(e);u!==E&&(t=u,s=aC(e,u))}if(s===Dy){var p=Cy;throw mh(e,E),Ff(e,t),Go(e,Br()),p}if(s===JS)throw new Error("Root did not complete. This is a bug in React.");var y=e.current.alternate;return e.finishedWork=y,e.finishedLanes=t,gh(e,Yo,bd),Go(e,Br()),null}function yz(e,t){t!==E&&(Up(e,Kt(t,U)),Go(e,Br()),(Cn&(bi|cl))===Ma&&(Ey(),yf()))}function iC(e,t){var s=Cn;Cn|=wA;try{return e(t)}finally{Cn=s,Cn===Ma&&!uu.isBatchingLegacy&&(Ey(),_T())}}function bz(e,t,s,u,p){var y=bs(),w=yi.transition;try{return yi.transition=null,ua(Mi),e(t,s,u,p)}finally{ua(y),yi.transition=w,Cn===Ma&&Ey()}}function kd(e){Ef!==null&&Ef.tag===vf&&(Cn&(bi|cl))===Ma&&wd();var t=Cn;Cn|=wA;var s=yi.transition,u=bs();try{return yi.transition=null,ua(Mi),e?e():void 0}finally{ua(u),yi.transition=s,Cn=t,(Cn&(bi|cl))===Ma&&yf()}}function AA(){return(Cn&(bi|cl))!==Ma}function jw(e,t){Ui(QS,hc,e),hc=Kt(hc,t)}function oC(e){hc=QS.current,zi(QS,e)}function mh(e,t){e.finishedWork=null,e.finishedLanes=E;var s=e.timeoutHandle;if(s!==nD&&(e.timeoutHandle=nD,V8(s)),Xr!==null)for(var u=Xr.return;u!==null;){var p=u.alternate;iA(p,u),u=u.return}po=e;var y=vh(e.current,null);return Xr=y,Ia=hc=t,ja=yd,Cy=null,Pw=E,xy=E,Nw=E,_y=null,Yo=null,h5(),tu.discardPendingWarnings(),y}function $A(e,t){do{var s=Xr;try{if(Xk(),tF(),ur(),XS.current=null,s===null||s.return===null){ja=Dy,Cy=t,Xr=null;return}if(rt&&s.mode&En&&Cw(s,!0),ot)if(Zr(),t!==null&&typeof t=="object"&&typeof t.then=="function"){var u=t;jo(s,u,Ia)}else Vc(s,t,Ia);H5(e,s.return,s,t,Ia),LA(s)}catch(p){t=p,Xr===s&&s!==null?(s=s.return,Xr=s):s=Xr;continue}return}while(!0)}function PA(){var e=GS.current;return GS.current=bw,e===null?bw:e}function NA(e){GS.current=e}function kz(){KS=Br()}function Ay(e){Pw=Kt(e,Pw)}function wz(){ja===yd&&(ja=$w)}function sC(){(ja===yd||ja===$w||ja===ph)&&(ja=Sy),po!==null&&(Ip(Pw)||Ip(xy))&&Ff(po,Ia)}function Dz(e){ja!==Sy&&(ja=ph),_y===null?_y=[e]:_y.push(e)}function Sz(){return ja===yd}function zw(e,t){var s=Cn;Cn|=bi;var u=PA();if(po!==e||Ia!==t){if(Qa){var p=e.memoizedUpdaters;p.size>0&&($y(e,Ia),p.clear()),Hp(e,t)}bd=Hb(),mh(e,t)}Hl(t);do try{Cz();break}catch(y){$A(e,y)}while(!0);if(Xk(),Cn=s,NA(u),Xr!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return of(),po=null,Ia=E,ja}function Cz(){for(;Xr!==null;)RA(Xr)}function xz(e,t){var s=Cn;Cn|=bi;var u=PA();if(po!==e||Ia!==t){if(Qa){var p=e.memoizedUpdaters;p.size>0&&($y(e,Ia),p.clear()),Hp(e,t)}bd=Hb(),Ey(),mh(e,t)}Hl(t);do try{_z();break}catch(y){$A(e,y)}while(!0);return Xk(),NA(u),Cn=s,Xr!==null?(Pp(),yd):(of(),po=null,Ia=E,ja)}function _z(){for(;Xr!==null&&!Cp();)RA(Xr)}function RA(e){var t=e.alternate;An(e);var s;(e.mode&En)!==xt?(cS(e),s=lC(t,e,hc),Cw(e,!0)):s=lC(t,e,hc),ur(),e.memoizedProps=e.pendingProps,s===null?LA(e):Xr=s,XS.current=null}function LA(e){var t=e;do{var s=t.alternate,u=t.return;if((t.flags&Uc)===Ct){An(t);var p=void 0;if((t.mode&En)===xt?p=aA(s,t,hc):(cS(t),p=aA(s,t,hc),Cw(t,!1)),ur(),p!==null){Xr=p;return}}else{var y=w9(s,t);if(y!==null){y.flags&=fs,Xr=y;return}if((t.mode&En)!==xt){Cw(t,!1);for(var w=t.actualDuration,_=t.child;_!==null;)w+=_.actualDuration,_=_.sibling;t.actualDuration=w}if(u!==null)u.flags|=Uc,u.subtreeFlags=Ct,u.deletions=null;else{ja=JS,Xr=null;return}}var F=t.sibling;if(F!==null){Xr=F;return}t=u,Xr=t}while(t!==null);ja===yd&&(ja=DA)}function gh(e,t,s){var u=bs(),p=yi.transition;try{yi.transition=null,ua(Mi),Ez(e,t,s,u)}finally{yi.transition=p,ua(u)}return null}function Ez(e,t,s,u){do wd();while(Ef!==null);if(Mz(),(Cn&(bi|cl))!==Ma)throw new Error("Should not already be working.");var p=e.finishedWork,y=e.finishedLanes;if(Fp(y),p===null)return Gu(),null;if(y===E&&m("root.finishedLanes should not be empty during a commit. This is a bug in React."),e.finishedWork=null,e.finishedLanes=E,p===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=M;var w=Kt(p.lanes,p.childLanes);Dv(e,w),e===po&&(po=null,Xr=null,Ia=E),((p.subtreeFlags&Bo)!==Ct||(p.flags&Bo)!==Ct)&&(hh||(hh=!0,tC=s,dC(Io,function(){return wd(),null})));var _=(p.subtreeFlags&(Ys|Gs|Xs|Bo))!==Ct,F=(p.flags&(Ys|Gs|Xs|Bo))!==Ct;if(_||F){var B=yi.transition;yi.transition=null;var I=bs();ua(Mi);var re=Cn;Cn|=cl,XS.current=null,_9(e,p),_F(),j9(e,p,y),I8(e.containerInfo),e.current=p,zl(y),z9(p,e,y),Yc(),xp(),Cn=re,ua(I),yi.transition=B}else e.current=p,_F();var te=hh;if(hh?(hh=!1,Ef=e,Ty=y):(pg=0,Ow=null),w=e.pendingLanes,w===E&&(fg=null),te||IA(e.current,!1),nf(p.stateNode,u),Qa&&e.memoizedUpdaters.clear(),oz(),Go(e,Br()),t!==null)for(var ue=e.onRecoverableError,ge=0;ge<t.length;ge++){var Ce=t[ge],tt=Ce.stack,St=Ce.digest;ue(Ce.value,{componentStack:tt,digest:St})}if(Rw){Rw=!1;var Pt=ZS;throw ZS=null,Pt}return Bi(Ty,U)&&e.tag!==vf&&wd(),w=e.pendingLanes,Bi(w,U)?(P5(),e===nC?Fy++:(Fy=0,nC=e)):Fy=0,yf(),Gu(),null}function wd(){if(Ef!==null){var e=$a(Ty),t=qb(tl,e),s=yi.transition,u=bs();try{return yi.transition=null,ua(t),Fz()}finally{ua(u),yi.transition=s}}return!1}function Tz(e){eC.push(e),hh||(hh=!0,dC(Io,function(){return wd(),null}))}function Fz(){if(Ef===null)return!1;var e=tC;tC=null;var t=Ef,s=Ty;if(Ef=null,Ty=E,(Cn&(bi|cl))!==Ma)throw new Error("Cannot flush passive effects while already rendering.");rC=!0,Lw=!1,Ul(s);var u=Cn;Cn|=cl,G9(t.current),W9(t,t.current,s,e);{var p=eC;eC=[];for(var y=0;y<p.length;y++){var w=p[y];A9(t,w)}}$p(),IA(t.current,!0),Cn=u,yf(),Lw?t===Ow?pg++:(pg=0,Ow=t):pg=0,rC=!1,Lw=!1,Ep(t);{var _=t.current.stateNode;_.effectDuration=0,_.passiveEffectDuration=0}return!0}function OA(e){return fg!==null&&fg.has(e)}function Az(e){fg===null?fg=new Set([e]):fg.add(e)}function $z(e){Rw||(Rw=!0,ZS=e)}var Pz=$z;function BA(e,t,s){var u=dh(s,t),p=RF(e,u,U),y=kf(e,p,U),w=ho();y!==null&&(td(y,U,w),Go(y,w))}function yr(e,t,s){if(S9(s),Py(!1),e.tag===N){BA(e,e,s);return}var u=null;for(u=t;u!==null;){if(u.tag===N){BA(u,e,s);return}else if(u.tag===T){var p=u.type,y=u.stateNode;if(typeof p.getDerivedStateFromError=="function"||typeof y.componentDidCatch=="function"&&!OA(y)){var w=dh(s,e),_=TS(u,w,U),F=kf(u,_,U),B=ho();F!==null&&(td(F,U,B),Go(F,B));return}}u=u.return}m(`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.
277
277
 
278
278
  Error message:
279
279
 
280
- %s`,s)}function N9(e,t,s){var u=e.pingCache;u!==null&&u.delete(t);var p=ho();wv(e,s),U9(e),po===e&&ed(Ia,s)&&(ja===Sy||ja===$w&&Zc(Ia)&&Br()-KS<SA?mh(e,E):Nw=Kt(Nw,s)),Go(e,p)}function MA(e,t){t===M&&(t=p9(e));var s=ho(),u=qo(e,t);u!==null&&(td(u,t,s),Go(u,s))}function R9(e){var t=e.memoizedState,s=M;t!==null&&(s=t.retryLane),MA(e,s)}function L9(e,t){var s=M,u;switch(e.tag){case X:u=e.stateNode;var p=e.memoizedState;p!==null&&(s=p.retryLane);break;case qe:u=e.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}u!==null&&u.delete(t),MA(e,s)}function O9(e){return e<120?120:e<480?480:e<1080?1080:e<1920?1920:e<3e3?3e3:e<4320?4320:u9(e/1960)*1960}function B9(){if(Fy>d9)throw Fy=0,nC=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.");pg>f9&&(pg=0,Ow=null,m("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."))}function M9(){tu.flushLegacyContextWarning(),tu.flushPendingUnsafeLifecycleWarnings()}function IA(e,t){An(e),Uw(e,so,r9),t&&Uw(e,Oo,a9),Uw(e,so,t9),t&&Uw(e,Oo,n9),ur()}function Uw(e,t,s){for(var u=e,p=null;u!==null;){var y=u.subtreeFlags&t;u!==p&&u.child!==null&&y!==Ct?u=u.child:((u.flags&t)!==Ct&&s(u),u.sibling!==null?u=u.sibling:u=p=u.return)}}var Hw=null;function jA(e){{if((Cn&bi)!==Ma||!(e.mode&rn))return;var t=e.tag;if(t!==$&&t!==N&&t!==T&&t!==C&&t!==W&&t!==ae&&t!==pe)return;var s=Bt(e)||"ReactComponent";if(Hw!==null){if(Hw.has(s))return;Hw.add(s)}else Hw=new Set([s]);var u=sa;try{An(e),m("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{u?An(e):ur()}}}var lC;{var I9=null;lC=function(e,t,s){var u=YA(I9,t);try{return ZF(e,t,s)}catch(y){if(Q6()||y!==null&&typeof y=="object"&&typeof y.then=="function")throw y;if(Xk(),tF(),iA(e,t),YA(t,u),t.mode&En&&cS(t),ao(null,ZF,null,e,t,s),ds()){var p=zc();typeof p=="object"&&p!==null&&p._suppressLogging&&typeof y=="object"&&y!==null&&!y._suppressLogging&&(y._suppressLogging=!0)}throw y}}}var zA=!1,uC;uC=new Set;function j9(e){if(to&&!Fz())switch(e.tag){case C:case W:case pe:{var t=Xr&&Bt(Xr)||"Unknown",s=t;if(!uC.has(s)){uC.add(s);var u=Bt(e)||"Unknown";m("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",u,t,t)}break}case T:{zA||(m("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),zA=!0);break}}}function $y(e,t){if(Qa){var s=e.memoizedUpdaters;s.forEach(function(u){Cm(e,u,t)})}}var cC={};function dC(e,t){{var s=uu.current;return s!==null?(s.push(t),cC):Sp(e,t)}}function UA(e){if(e!==cC)return dm(e)}function HA(){return uu.current!==null}function z9(e){{if(e.mode&rn){if(!kA())return}else if(!l9()||Cn!==Ma||e.tag!==C&&e.tag!==W&&e.tag!==pe)return;if(uu.current===null){var t=sa;try{An(e),m(`An update to %s inside a test was not wrapped in act(...).
280
+ %s`,s)}function Nz(e,t,s){var u=e.pingCache;u!==null&&u.delete(t);var p=ho();wv(e,s),Uz(e),po===e&&ed(Ia,s)&&(ja===Sy||ja===$w&&Zc(Ia)&&Br()-KS<SA?mh(e,E):Nw=Kt(Nw,s)),Go(e,p)}function MA(e,t){t===M&&(t=pz(e));var s=ho(),u=qo(e,t);u!==null&&(td(u,t,s),Go(u,s))}function Rz(e){var t=e.memoizedState,s=M;t!==null&&(s=t.retryLane),MA(e,s)}function Lz(e,t){var s=M,u;switch(e.tag){case X:u=e.stateNode;var p=e.memoizedState;p!==null&&(s=p.retryLane);break;case qe:u=e.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}u!==null&&u.delete(t),MA(e,s)}function Oz(e){return e<120?120:e<480?480:e<1080?1080:e<1920?1920:e<3e3?3e3:e<4320?4320:uz(e/1960)*1960}function Bz(){if(Fy>dz)throw Fy=0,nC=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.");pg>fz&&(pg=0,Ow=null,m("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."))}function Mz(){tu.flushLegacyContextWarning(),tu.flushPendingUnsafeLifecycleWarnings()}function IA(e,t){An(e),Uw(e,so,rz),t&&Uw(e,Oo,az),Uw(e,so,tz),t&&Uw(e,Oo,nz),ur()}function Uw(e,t,s){for(var u=e,p=null;u!==null;){var y=u.subtreeFlags&t;u!==p&&u.child!==null&&y!==Ct?u=u.child:((u.flags&t)!==Ct&&s(u),u.sibling!==null?u=u.sibling:u=p=u.return)}}var Hw=null;function jA(e){{if((Cn&bi)!==Ma||!(e.mode&rn))return;var t=e.tag;if(t!==$&&t!==N&&t!==T&&t!==C&&t!==W&&t!==ae&&t!==pe)return;var s=Bt(e)||"ReactComponent";if(Hw!==null){if(Hw.has(s))return;Hw.add(s)}else Hw=new Set([s]);var u=sa;try{An(e),m("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{u?An(e):ur()}}}var lC;{var Iz=null;lC=function(e,t,s){var u=YA(Iz,t);try{return ZF(e,t,s)}catch(y){if(Q6()||y!==null&&typeof y=="object"&&typeof y.then=="function")throw y;if(Xk(),tF(),iA(e,t),YA(t,u),t.mode&En&&cS(t),ao(null,ZF,null,e,t,s),ds()){var p=zc();typeof p=="object"&&p!==null&&p._suppressLogging&&typeof y=="object"&&y!==null&&!y._suppressLogging&&(y._suppressLogging=!0)}throw y}}}var zA=!1,uC;uC=new Set;function jz(e){if(to&&!F5())switch(e.tag){case C:case W:case pe:{var t=Xr&&Bt(Xr)||"Unknown",s=t;if(!uC.has(s)){uC.add(s);var u=Bt(e)||"Unknown";m("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",u,t,t)}break}case T:{zA||(m("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),zA=!0);break}}}function $y(e,t){if(Qa){var s=e.memoizedUpdaters;s.forEach(function(u){Cm(e,u,t)})}}var cC={};function dC(e,t){{var s=uu.current;return s!==null?(s.push(t),cC):Sp(e,t)}}function UA(e){if(e!==cC)return dm(e)}function HA(){return uu.current!==null}function zz(e){{if(e.mode&rn){if(!kA())return}else if(!lz()||Cn!==Ma||e.tag!==C&&e.tag!==W&&e.tag!==pe)return;if(uu.current===null){var t=sa;try{An(e),m(`An update to %s inside a test was not wrapped in act(...).
281
281
 
282
282
  When testing, code that causes React state updates should be wrapped into act(...):
283
283
 
@@ -286,7 +286,7 @@ act(() => {
286
286
  });
287
287
  /* assert on the output */
288
288
 
289
- This 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`,Bt(e))}finally{t?An(e):ur()}}}}function U9(e){e.tag!==vf&&kA()&&uu.current===null&&m(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
289
+ This 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`,Bt(e))}finally{t?An(e):ur()}}}}function Uz(e){e.tag!==vf&&kA()&&uu.current===null&&m(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
290
290
 
291
291
  When testing, code that resolves suspended data should be wrapped into act(...):
292
292
 
@@ -295,14 +295,14 @@ act(() => {
295
295
  });
296
296
  /* assert on the output */
297
297
 
298
- This 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`)}function Py(e){_A=e}var dl=null,hg=null,H9=function(e){dl=e};function mg(e){{if(dl===null)return e;var t=dl(e);return t===void 0?e:t.current}}function fC(e){return mg(e)}function pC(e){{if(dl===null)return e;var t=dl(e);if(t===void 0){if(e!=null&&typeof e.render=="function"){var s=mg(e.render);if(e.render!==s){var u={$$typeof:Fe,render:s};return e.displayName!==void 0&&(u.displayName=e.displayName),u}}return e}return t.current}}function WA(e,t){{if(dl===null)return!1;var s=e.elementType,u=t.type,p=!1,y=typeof u=="object"&&u!==null?u.$$typeof:null;switch(e.tag){case T:{typeof u=="function"&&(p=!0);break}case C:{(typeof u=="function"||y===It)&&(p=!0);break}case W:{(y===Fe||y===It)&&(p=!0);break}case ae:case pe:{(y===Ut||y===It)&&(p=!0);break}default:return!1}if(p){var w=dl(s);if(w!==void 0&&w===dl(u))return!0}return!1}}function qA(e){{if(dl===null||typeof WeakSet!="function")return;hg===null&&(hg=new WeakSet),hg.add(e)}}var W9=function(e,t){{if(dl===null)return;var s=t.staleFamilies,u=t.updatedFamilies;wd(),kd(function(){hC(e.current,u,s)})}},q9=function(e,t){{if(e.context!==Ss)return;wd(),kd(function(){Ny(t,e,null,null)})}};function hC(e,t,s){{var u=e.alternate,p=e.child,y=e.sibling,w=e.tag,_=e.type,F=null;switch(w){case C:case pe:case T:F=_;break;case W:F=_.render;break}if(dl===null)throw new Error("Expected resolveFamily to be set during hot reload.");var B=!1,I=!1;if(F!==null){var re=dl(F);re!==void 0&&(s.has(re)?I=!0:t.has(re)&&(w===T?I=!0:B=!0))}if(hg!==null&&(hg.has(e)||u!==null&&hg.has(u))&&(I=!0),I&&(e._debugNeedsRemount=!0),I||B){var te=qo(e,U);te!==null&&za(te,e,U,dr)}p!==null&&!I&&hC(p,t,s),y!==null&&hC(y,t,s)}}var V9=function(e,t){{var s=new Set,u=new Set(t.map(function(p){return p.current}));return mC(e.current,u,s),s}};function mC(e,t,s){{var u=e.child,p=e.sibling,y=e.tag,w=e.type,_=null;switch(y){case C:case pe:case T:_=w;break;case W:_=w.render;break}var F=!1;_!==null&&t.has(_)&&(F=!0),F?Y9(e,s):u!==null&&mC(u,t,s),p!==null&&mC(p,t,s)}}function Y9(e,t){{var s=G9(e,t);if(s)return;for(var u=e;;){switch(u.tag){case L:t.add(u.stateNode);return;case R:t.add(u.stateNode.containerInfo);return;case N:t.add(u.stateNode.containerInfo);return}if(u.return===null)throw new Error("Expected to reach root first.");u=u.return}}}function G9(e,t){for(var s=e,u=!1;;){if(s.tag===L)u=!0,t.add(s.stateNode);else if(s.child!==null){s.child.return=s,s=s.child;continue}if(s===e)return u;for(;s.sibling===null;){if(s.return===null||s.return===e)return u;s=s.return}s.sibling.return=s.return,s=s.sibling}return!1}var gC;{gC=!1;try{var BH=Object.preventExtensions({})}catch{gC=!0}}function X9(e,t,s,u){this.tag=e,this.key=s,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=u,this.flags=Ct,this.subtreeFlags=Ct,this.deletions=null,this.lanes=E,this.childLanes=E,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,!gC&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var Cs=function(e,t,s,u){return new X9(e,t,s,u)};function vC(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function J9(e){return typeof e=="function"&&!vC(e)&&e.defaultProps===void 0}function Q9(e){if(typeof e=="function")return vC(e)?T:C;if(e!=null){var t=e.$$typeof;if(t===Fe)return W;if(t===Ut)return ae}return $}function vh(e,t){var s=e.alternate;s===null?(s=Cs(e.tag,t,e.key,e.mode),s.elementType=e.elementType,s.type=e.type,s.stateNode=e.stateNode,s._debugSource=e._debugSource,s._debugOwner=e._debugOwner,s._debugHookTypes=e._debugHookTypes,s.alternate=e,e.alternate=s):(s.pendingProps=t,s.type=e.type,s.flags=Ct,s.subtreeFlags=Ct,s.deletions=null,s.actualDuration=0,s.actualStartTime=-1),s.flags=e.flags&Sr,s.childLanes=e.childLanes,s.lanes=e.lanes,s.child=e.child,s.memoizedProps=e.memoizedProps,s.memoizedState=e.memoizedState,s.updateQueue=e.updateQueue;var u=e.dependencies;switch(s.dependencies=u===null?null:{lanes:u.lanes,firstContext:u.firstContext},s.sibling=e.sibling,s.index=e.index,s.ref=e.ref,s.selfBaseDuration=e.selfBaseDuration,s.treeBaseDuration=e.treeBaseDuration,s._debugNeedsRemount=e._debugNeedsRemount,s.tag){case $:case C:case pe:s.type=mg(e.type);break;case T:s.type=fC(e.type);break;case W:s.type=pC(e.type);break}return s}function K9(e,t){e.flags&=Sr|Ar;var s=e.alternate;if(s===null)e.childLanes=E,e.lanes=t,e.child=null,e.subtreeFlags=Ct,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0;else{e.childLanes=s.childLanes,e.lanes=s.lanes,e.child=s.child,e.subtreeFlags=Ct,e.deletions=null,e.memoizedProps=s.memoizedProps,e.memoizedState=s.memoizedState,e.updateQueue=s.updateQueue,e.type=s.type;var u=s.dependencies;e.dependencies=u===null?null:{lanes:u.lanes,firstContext:u.firstContext},e.selfBaseDuration=s.selfBaseDuration,e.treeBaseDuration=s.treeBaseDuration}return e}function Z9(e,t,s){var u;return e===Ik?(u=rn,t===!0&&(u|=Wn,u|=Tn)):u=xt,Qa&&(u|=En),Cs(N,null,null,u)}function yC(e,t,s,u,p,y){var w=$,_=e;if(typeof e=="function")vC(e)?(w=T,_=fC(_)):_=mg(_);else if(typeof e=="string")w=L;else e:switch(e){case xo:return Af(s.children,p,y,t);case xi:w=G,p|=Wn,(p&rn)!==xt&&(p|=Tn);break;case _o:return e7(s,p,y,t);case Ke:return t7(s,p,y,t);case ct:return n7(s,p,y,t);case wr:return VA(s,p,y,t);case Kn:case qt:case Zn:case Lr:case tn:default:{if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Eo:w=q;break e;case Y:w=Se;break e;case Fe:w=W,_=pC(_);break e;case Ut:w=ae;break e;case It:w=Te,_=null;break e}var F="";{(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(F+=" 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 B=u?Bt(u):null;B&&(F+=`
298
+ This 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`)}function Py(e){_A=e}var dl=null,hg=null,Hz=function(e){dl=e};function mg(e){{if(dl===null)return e;var t=dl(e);return t===void 0?e:t.current}}function fC(e){return mg(e)}function pC(e){{if(dl===null)return e;var t=dl(e);if(t===void 0){if(e!=null&&typeof e.render=="function"){var s=mg(e.render);if(e.render!==s){var u={$$typeof:Fe,render:s};return e.displayName!==void 0&&(u.displayName=e.displayName),u}}return e}return t.current}}function WA(e,t){{if(dl===null)return!1;var s=e.elementType,u=t.type,p=!1,y=typeof u=="object"&&u!==null?u.$$typeof:null;switch(e.tag){case T:{typeof u=="function"&&(p=!0);break}case C:{(typeof u=="function"||y===It)&&(p=!0);break}case W:{(y===Fe||y===It)&&(p=!0);break}case ae:case pe:{(y===Ut||y===It)&&(p=!0);break}default:return!1}if(p){var w=dl(s);if(w!==void 0&&w===dl(u))return!0}return!1}}function qA(e){{if(dl===null||typeof WeakSet!="function")return;hg===null&&(hg=new WeakSet),hg.add(e)}}var Wz=function(e,t){{if(dl===null)return;var s=t.staleFamilies,u=t.updatedFamilies;wd(),kd(function(){hC(e.current,u,s)})}},qz=function(e,t){{if(e.context!==Ss)return;wd(),kd(function(){Ny(t,e,null,null)})}};function hC(e,t,s){{var u=e.alternate,p=e.child,y=e.sibling,w=e.tag,_=e.type,F=null;switch(w){case C:case pe:case T:F=_;break;case W:F=_.render;break}if(dl===null)throw new Error("Expected resolveFamily to be set during hot reload.");var B=!1,I=!1;if(F!==null){var re=dl(F);re!==void 0&&(s.has(re)?I=!0:t.has(re)&&(w===T?I=!0:B=!0))}if(hg!==null&&(hg.has(e)||u!==null&&hg.has(u))&&(I=!0),I&&(e._debugNeedsRemount=!0),I||B){var te=qo(e,U);te!==null&&za(te,e,U,dr)}p!==null&&!I&&hC(p,t,s),y!==null&&hC(y,t,s)}}var Vz=function(e,t){{var s=new Set,u=new Set(t.map(function(p){return p.current}));return mC(e.current,u,s),s}};function mC(e,t,s){{var u=e.child,p=e.sibling,y=e.tag,w=e.type,_=null;switch(y){case C:case pe:case T:_=w;break;case W:_=w.render;break}var F=!1;_!==null&&t.has(_)&&(F=!0),F?Yz(e,s):u!==null&&mC(u,t,s),p!==null&&mC(p,t,s)}}function Yz(e,t){{var s=Gz(e,t);if(s)return;for(var u=e;;){switch(u.tag){case L:t.add(u.stateNode);return;case R:t.add(u.stateNode.containerInfo);return;case N:t.add(u.stateNode.containerInfo);return}if(u.return===null)throw new Error("Expected to reach root first.");u=u.return}}}function Gz(e,t){for(var s=e,u=!1;;){if(s.tag===L)u=!0,t.add(s.stateNode);else if(s.child!==null){s.child.return=s,s=s.child;continue}if(s===e)return u;for(;s.sibling===null;){if(s.return===null||s.return===e)return u;s=s.return}s.sibling.return=s.return,s=s.sibling}return!1}var gC;{gC=!1;try{var BH=Object.preventExtensions({})}catch{gC=!0}}function Xz(e,t,s,u){this.tag=e,this.key=s,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=u,this.flags=Ct,this.subtreeFlags=Ct,this.deletions=null,this.lanes=E,this.childLanes=E,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,!gC&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var Cs=function(e,t,s,u){return new Xz(e,t,s,u)};function vC(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function Jz(e){return typeof e=="function"&&!vC(e)&&e.defaultProps===void 0}function Qz(e){if(typeof e=="function")return vC(e)?T:C;if(e!=null){var t=e.$$typeof;if(t===Fe)return W;if(t===Ut)return ae}return $}function vh(e,t){var s=e.alternate;s===null?(s=Cs(e.tag,t,e.key,e.mode),s.elementType=e.elementType,s.type=e.type,s.stateNode=e.stateNode,s._debugSource=e._debugSource,s._debugOwner=e._debugOwner,s._debugHookTypes=e._debugHookTypes,s.alternate=e,e.alternate=s):(s.pendingProps=t,s.type=e.type,s.flags=Ct,s.subtreeFlags=Ct,s.deletions=null,s.actualDuration=0,s.actualStartTime=-1),s.flags=e.flags&Sr,s.childLanes=e.childLanes,s.lanes=e.lanes,s.child=e.child,s.memoizedProps=e.memoizedProps,s.memoizedState=e.memoizedState,s.updateQueue=e.updateQueue;var u=e.dependencies;switch(s.dependencies=u===null?null:{lanes:u.lanes,firstContext:u.firstContext},s.sibling=e.sibling,s.index=e.index,s.ref=e.ref,s.selfBaseDuration=e.selfBaseDuration,s.treeBaseDuration=e.treeBaseDuration,s._debugNeedsRemount=e._debugNeedsRemount,s.tag){case $:case C:case pe:s.type=mg(e.type);break;case T:s.type=fC(e.type);break;case W:s.type=pC(e.type);break}return s}function Kz(e,t){e.flags&=Sr|Ar;var s=e.alternate;if(s===null)e.childLanes=E,e.lanes=t,e.child=null,e.subtreeFlags=Ct,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0;else{e.childLanes=s.childLanes,e.lanes=s.lanes,e.child=s.child,e.subtreeFlags=Ct,e.deletions=null,e.memoizedProps=s.memoizedProps,e.memoizedState=s.memoizedState,e.updateQueue=s.updateQueue,e.type=s.type;var u=s.dependencies;e.dependencies=u===null?null:{lanes:u.lanes,firstContext:u.firstContext},e.selfBaseDuration=s.selfBaseDuration,e.treeBaseDuration=s.treeBaseDuration}return e}function Zz(e,t,s){var u;return e===Ik?(u=rn,t===!0&&(u|=Wn,u|=Tn)):u=xt,Qa&&(u|=En),Cs(N,null,null,u)}function yC(e,t,s,u,p,y){var w=$,_=e;if(typeof e=="function")vC(e)?(w=T,_=fC(_)):_=mg(_);else if(typeof e=="string")w=L;else e:switch(e){case xo:return Af(s.children,p,y,t);case xi:w=G,p|=Wn,(p&rn)!==xt&&(p|=Tn);break;case _o:return e7(s,p,y,t);case Ke:return t7(s,p,y,t);case ct:return n7(s,p,y,t);case wr:return VA(s,p,y,t);case Kn:case qt:case Zn:case Lr:case tn:default:{if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Eo:w=q;break e;case Y:w=Se;break e;case Fe:w=W,_=pC(_);break e;case Ut:w=ae;break e;case It:w=Te,_=null;break e}var F="";{(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(F+=" 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 B=u?Bt(u):null;B&&(F+=`
299
299
 
300
- Check the render method of \``+B+"`.")}throw new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(e==null?e:typeof e)+"."+F))}}var I=Cs(w,s,t,p);return I.elementType=e,I.type=_,I.lanes=y,I._debugOwner=u,I}function bC(e,t,s){var u=null;u=e._owner;var p=e.type,y=e.key,w=e.props,_=yC(p,y,w,u,t,s);return _._debugSource=e._source,_._debugOwner=e._owner,_}function Af(e,t,s,u){var p=Cs(J,e,u,t);return p.lanes=s,p}function e7(e,t,s,u){typeof e.id!="string"&&m('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id);var p=Cs(Z,e,u,t|En);return p.elementType=_o,p.lanes=s,p.stateNode={effectDuration:0,passiveEffectDuration:0},p}function t7(e,t,s,u){var p=Cs(X,e,u,t);return p.elementType=Ke,p.lanes=s,p}function n7(e,t,s,u){var p=Cs(qe,e,u,t);return p.elementType=ct,p.lanes=s,p}function VA(e,t,s,u){var p=Cs(nt,e,u,t);p.elementType=wr,p.lanes=s;var y={isHidden:!1};return p.stateNode=y,p}function kC(e,t,s){var u=Cs(j,e,null,t);return u.lanes=s,u}function r7(){var e=Cs(L,null,null,xt);return e.elementType="DELETED",e}function a7(e){var t=Cs(Ge,null,null,xt);return t.stateNode=e,t}function wC(e,t,s){var u=e.children!==null?e.children:[],p=Cs(R,u,e.key,t);return p.lanes=s,p.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},p}function YA(e,t){return e===null&&(e=Cs($,null,null,xt)),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 i7(e,t,s,u,p){this.tag=t,this.containerInfo=e,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=nD,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=M,this.eventTimes=Sm(E),this.expirationTimes=Sm(dr),this.pendingLanes=E,this.suspendedLanes=E,this.pingedLanes=E,this.expiredLanes=E,this.mutableReadLanes=E,this.finishedLanes=E,this.entangledLanes=E,this.entanglements=Sm(E),this.identifierPrefix=u,this.onRecoverableError=p,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;for(var y=this.pendingUpdatersLaneMap=[],w=0;w<x;w++)y.push(new Set)}switch(t){case Ik:this._debugRootType=s?"hydrateRoot()":"createRoot()";break;case vf:this._debugRootType=s?"hydrate()":"render()";break}}function GA(e,t,s,u,p,y,w,_,F,B){var I=new i7(e,t,s,_,F),re=Z9(t,y);I.current=re,re.stateNode=I;{var te={element:u,isDehydrated:s,cache:null,transitions:null,pendingSuspenseBoundaries:null};re.memoizedState=te}return RD(re),I}var DC="18.3.1";function o7(e,t,s){var u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return br(u),{$$typeof:ia,key:u==null?null:""+u,children:e,containerInfo:t,implementation:s}}var SC,CC;SC=!1,CC={};function XA(e){if(!e)return Ss;var t=Wu(e),s=U6(t);if(t.tag===T){var u=t.type;if(sc(u))return ST(t,u,s)}return s}function s7(e,t){{var s=Wu(e);if(s===void 0){if(typeof e.render=="function")throw new Error("Unable to find node on an unmounted component.");var u=Object.keys(e).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+u)}var p=Xa(s);if(p===null)return null;if(p.mode&Wn){var y=Bt(s)||"Component";if(!CC[y]){CC[y]=!0;var w=sa;try{An(p),s.mode&Wn?m("%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,y):m("%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,y)}finally{w?An(w):ur()}}}return p.stateNode}}function JA(e,t,s,u,p,y,w,_){var F=!1,B=null;return GA(e,t,F,B,s,u,p,y,w)}function QA(e,t,s,u,p,y,w,_,F,B){var I=!0,re=GA(s,u,I,e,p,y,w,_,F);re.context=XA(null);var te=re.current,ue=ho(),ge=Tf(te),Ce=gd(ue,ge);return Ce.callback=t??null,kf(te,Ce,ge),h9(re,ge,ue),re}function Ny(e,t,s,u){_p(t,e);var p=t.current,y=ho(),w=Tf(p);hr(w);var _=XA(s);t.context===null?t.context=_:t.pendingContext=_,to&&sa!==null&&!SC&&(SC=!0,m(`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.
300
+ Check the render method of \``+B+"`.")}throw new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(e==null?e:typeof e)+"."+F))}}var I=Cs(w,s,t,p);return I.elementType=e,I.type=_,I.lanes=y,I._debugOwner=u,I}function bC(e,t,s){var u=null;u=e._owner;var p=e.type,y=e.key,w=e.props,_=yC(p,y,w,u,t,s);return _._debugSource=e._source,_._debugOwner=e._owner,_}function Af(e,t,s,u){var p=Cs(J,e,u,t);return p.lanes=s,p}function e7(e,t,s,u){typeof e.id!="string"&&m('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id);var p=Cs(Z,e,u,t|En);return p.elementType=_o,p.lanes=s,p.stateNode={effectDuration:0,passiveEffectDuration:0},p}function t7(e,t,s,u){var p=Cs(X,e,u,t);return p.elementType=Ke,p.lanes=s,p}function n7(e,t,s,u){var p=Cs(qe,e,u,t);return p.elementType=ct,p.lanes=s,p}function VA(e,t,s,u){var p=Cs(nt,e,u,t);p.elementType=wr,p.lanes=s;var y={isHidden:!1};return p.stateNode=y,p}function kC(e,t,s){var u=Cs(j,e,null,t);return u.lanes=s,u}function r7(){var e=Cs(L,null,null,xt);return e.elementType="DELETED",e}function a7(e){var t=Cs(Ge,null,null,xt);return t.stateNode=e,t}function wC(e,t,s){var u=e.children!==null?e.children:[],p=Cs(R,u,e.key,t);return p.lanes=s,p.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},p}function YA(e,t){return e===null&&(e=Cs($,null,null,xt)),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 i7(e,t,s,u,p){this.tag=t,this.containerInfo=e,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=nD,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=M,this.eventTimes=Sm(E),this.expirationTimes=Sm(dr),this.pendingLanes=E,this.suspendedLanes=E,this.pingedLanes=E,this.expiredLanes=E,this.mutableReadLanes=E,this.finishedLanes=E,this.entangledLanes=E,this.entanglements=Sm(E),this.identifierPrefix=u,this.onRecoverableError=p,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;for(var y=this.pendingUpdatersLaneMap=[],w=0;w<x;w++)y.push(new Set)}switch(t){case Ik:this._debugRootType=s?"hydrateRoot()":"createRoot()";break;case vf:this._debugRootType=s?"hydrate()":"render()";break}}function GA(e,t,s,u,p,y,w,_,F,B){var I=new i7(e,t,s,_,F),re=Zz(t,y);I.current=re,re.stateNode=I;{var te={element:u,isDehydrated:s,cache:null,transitions:null,pendingSuspenseBoundaries:null};re.memoizedState=te}return RD(re),I}var DC="18.3.1";function o7(e,t,s){var u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return br(u),{$$typeof:ia,key:u==null?null:""+u,children:e,containerInfo:t,implementation:s}}var SC,CC;SC=!1,CC={};function XA(e){if(!e)return Ss;var t=Wu(e),s=U6(t);if(t.tag===T){var u=t.type;if(sc(u))return ST(t,u,s)}return s}function s7(e,t){{var s=Wu(e);if(s===void 0){if(typeof e.render=="function")throw new Error("Unable to find node on an unmounted component.");var u=Object.keys(e).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+u)}var p=Xa(s);if(p===null)return null;if(p.mode&Wn){var y=Bt(s)||"Component";if(!CC[y]){CC[y]=!0;var w=sa;try{An(p),s.mode&Wn?m("%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,y):m("%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,y)}finally{w?An(w):ur()}}}return p.stateNode}}function JA(e,t,s,u,p,y,w,_){var F=!1,B=null;return GA(e,t,F,B,s,u,p,y,w)}function QA(e,t,s,u,p,y,w,_,F,B){var I=!0,re=GA(s,u,I,e,p,y,w,_,F);re.context=XA(null);var te=re.current,ue=ho(),ge=Tf(te),Ce=gd(ue,ge);return Ce.callback=t??null,kf(te,Ce,ge),hz(re,ge,ue),re}function Ny(e,t,s,u){_p(t,e);var p=t.current,y=ho(),w=Tf(p);hr(w);var _=XA(s);t.context===null?t.context=_:t.pendingContext=_,to&&sa!==null&&!SC&&(SC=!0,m(`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.
301
301
 
302
- Check the render method of %s.`,Bt(sa)||"Unknown"));var F=gd(y,w);F.payload={element:e},u=u===void 0?null:u,u!==null&&(typeof u!="function"&&m("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",u),F.callback=u);var B=kf(p,F,w);return B!==null&&(za(B,p,w,y),ew(B,p,w)),w}function Ww(e){var t=e.current;if(!t.child)return null;switch(t.child.tag){case L:return t.child.stateNode;default:return t.child.stateNode}}function l7(e){switch(e.tag){case N:{var t=e.stateNode;if(xm(t)){var s=Bb(t);y9(t,s)}break}case X:{kd(function(){var p=qo(e,U);if(p!==null){var y=ho();za(p,e,U,y)}});var u=U;xC(e,u);break}}}function KA(e,t){var s=e.memoizedState;s!==null&&s.dehydrated!==null&&(s.retryLane=kv(s.retryLane,t))}function xC(e,t){KA(e,t);var s=e.alternate;s&&KA(s,t)}function u7(e){if(e.tag===X){var t=Op,s=qo(e,t);if(s!==null){var u=ho();za(s,e,t,u)}xC(e,t)}}function c7(e){if(e.tag===X){var t=Tf(e),s=qo(e,t);if(s!==null){var u=ho();za(s,e,t,u)}xC(e,t)}}function ZA(e){var t=cr(e);return t===null?null:t.stateNode}var e$=function(e){return null};function d7(e){return e$(e)}var t$=function(e){return!1};function f7(e){return t$(e)}var n$=null,r$=null,a$=null,i$=null,o$=null,s$=null,l$=null,u$=null,c$=null;{var d$=function(e,t,s){var u=t[s],p=Vt(e)?e.slice():Jt({},e);return s+1===t.length?(Vt(p)?p.splice(u,1):delete p[u],p):(p[u]=d$(e[u],t,s+1),p)},f$=function(e,t){return d$(e,t,0)},p$=function(e,t,s,u){var p=t[u],y=Vt(e)?e.slice():Jt({},e);if(u+1===t.length){var w=s[u];y[w]=y[p],Vt(y)?y.splice(p,1):delete y[p]}else y[p]=p$(e[p],t,s,u+1);return y},h$=function(e,t,s){if(t.length!==s.length){h("copyWithRename() expects paths of the same length");return}else for(var u=0;u<s.length-1;u++)if(t[u]!==s[u]){h("copyWithRename() expects paths to be the same except for the deepest key");return}return p$(e,t,s,0)},m$=function(e,t,s,u){if(s>=t.length)return u;var p=t[s],y=Vt(e)?e.slice():Jt({},e);return y[p]=m$(e[p],t,s+1,u),y},g$=function(e,t,s){return m$(e,t,0,s)},_C=function(e,t){for(var s=e.memoizedState;s!==null&&t>0;)s=s.next,t--;return s};n$=function(e,t,s,u){var p=_C(e,t);if(p!==null){var y=g$(p.memoizedState,s,u);p.memoizedState=y,p.baseState=y,e.memoizedProps=Jt({},e.memoizedProps);var w=qo(e,U);w!==null&&za(w,e,U,dr)}},r$=function(e,t,s){var u=_C(e,t);if(u!==null){var p=f$(u.memoizedState,s);u.memoizedState=p,u.baseState=p,e.memoizedProps=Jt({},e.memoizedProps);var y=qo(e,U);y!==null&&za(y,e,U,dr)}},a$=function(e,t,s,u){var p=_C(e,t);if(p!==null){var y=h$(p.memoizedState,s,u);p.memoizedState=y,p.baseState=y,e.memoizedProps=Jt({},e.memoizedProps);var w=qo(e,U);w!==null&&za(w,e,U,dr)}},i$=function(e,t,s){e.pendingProps=g$(e.memoizedProps,t,s),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var u=qo(e,U);u!==null&&za(u,e,U,dr)},o$=function(e,t){e.pendingProps=f$(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var s=qo(e,U);s!==null&&za(s,e,U,dr)},s$=function(e,t,s){e.pendingProps=h$(e.memoizedProps,t,s),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var u=qo(e,U);u!==null&&za(u,e,U,dr)},l$=function(e){var t=qo(e,U);t!==null&&za(t,e,U,dr)},u$=function(e){e$=e},c$=function(e){t$=e}}function p7(e){var t=Xa(e);return t===null?null:t.stateNode}function h7(e){return null}function m7(){return sa}function g7(e){var t=e.findFiberByHostInstance,s=i.ReactCurrentDispatcher;return Ks({bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:n$,overrideHookStateDeletePath:r$,overrideHookStateRenamePath:a$,overrideProps:i$,overridePropsDeletePath:o$,overridePropsRenamePath:s$,setErrorHandler:u$,setSuspenseHandler:c$,scheduleUpdate:l$,currentDispatcherRef:s,findHostInstanceByFiber:p7,findFiberByHostInstance:t||h7,findHostInstancesForRefresh:V9,scheduleRefresh:W9,scheduleRoot:q9,setRefreshHandler:H9,getCurrentFiber:m7,reconcilerVersion:DC})}var v$=typeof reportError=="function"?reportError:function(e){console.error(e)};function EC(e){this._internalRoot=e}qw.prototype.render=EC.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw new Error("Cannot update an unmounted root.");{typeof arguments[1]=="function"?m("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):Vw(arguments[1])?m("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."):typeof arguments[1]<"u"&&m("You passed a second argument to root.render(...) but it only accepts one argument.");var s=t.containerInfo;if(s.nodeType!==er){var u=ZA(t.current);u&&u.parentNode!==s&&m("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.")}}Ny(e,t,null,null)},qw.prototype.unmount=EC.prototype.unmount=function(){typeof arguments[0]=="function"&&m("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(e!==null){this._internalRoot=null;var t=e.containerInfo;AA()&&m("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."),kd(function(){Ny(null,e,null,null)}),yT(t)}};function v7(e,t){if(!Vw(e))throw new Error("createRoot(...): Target container is not a DOM element.");y$(e);var s=!1,u=!1,p="",y=v$;t!=null&&(t.hydrate?h("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===_a&&m(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
302
+ Check the render method of %s.`,Bt(sa)||"Unknown"));var F=gd(y,w);F.payload={element:e},u=u===void 0?null:u,u!==null&&(typeof u!="function"&&m("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",u),F.callback=u);var B=kf(p,F,w);return B!==null&&(za(B,p,w,y),ew(B,p,w)),w}function Ww(e){var t=e.current;if(!t.child)return null;switch(t.child.tag){case L:return t.child.stateNode;default:return t.child.stateNode}}function l7(e){switch(e.tag){case N:{var t=e.stateNode;if(xm(t)){var s=Bb(t);yz(t,s)}break}case X:{kd(function(){var p=qo(e,U);if(p!==null){var y=ho();za(p,e,U,y)}});var u=U;xC(e,u);break}}}function KA(e,t){var s=e.memoizedState;s!==null&&s.dehydrated!==null&&(s.retryLane=kv(s.retryLane,t))}function xC(e,t){KA(e,t);var s=e.alternate;s&&KA(s,t)}function u7(e){if(e.tag===X){var t=Op,s=qo(e,t);if(s!==null){var u=ho();za(s,e,t,u)}xC(e,t)}}function c7(e){if(e.tag===X){var t=Tf(e),s=qo(e,t);if(s!==null){var u=ho();za(s,e,t,u)}xC(e,t)}}function ZA(e){var t=cr(e);return t===null?null:t.stateNode}var e$=function(e){return null};function d7(e){return e$(e)}var t$=function(e){return!1};function f7(e){return t$(e)}var n$=null,r$=null,a$=null,i$=null,o$=null,s$=null,l$=null,u$=null,c$=null;{var d$=function(e,t,s){var u=t[s],p=Vt(e)?e.slice():Jt({},e);return s+1===t.length?(Vt(p)?p.splice(u,1):delete p[u],p):(p[u]=d$(e[u],t,s+1),p)},f$=function(e,t){return d$(e,t,0)},p$=function(e,t,s,u){var p=t[u],y=Vt(e)?e.slice():Jt({},e);if(u+1===t.length){var w=s[u];y[w]=y[p],Vt(y)?y.splice(p,1):delete y[p]}else y[p]=p$(e[p],t,s,u+1);return y},h$=function(e,t,s){if(t.length!==s.length){h("copyWithRename() expects paths of the same length");return}else for(var u=0;u<s.length-1;u++)if(t[u]!==s[u]){h("copyWithRename() expects paths to be the same except for the deepest key");return}return p$(e,t,s,0)},m$=function(e,t,s,u){if(s>=t.length)return u;var p=t[s],y=Vt(e)?e.slice():Jt({},e);return y[p]=m$(e[p],t,s+1,u),y},g$=function(e,t,s){return m$(e,t,0,s)},_C=function(e,t){for(var s=e.memoizedState;s!==null&&t>0;)s=s.next,t--;return s};n$=function(e,t,s,u){var p=_C(e,t);if(p!==null){var y=g$(p.memoizedState,s,u);p.memoizedState=y,p.baseState=y,e.memoizedProps=Jt({},e.memoizedProps);var w=qo(e,U);w!==null&&za(w,e,U,dr)}},r$=function(e,t,s){var u=_C(e,t);if(u!==null){var p=f$(u.memoizedState,s);u.memoizedState=p,u.baseState=p,e.memoizedProps=Jt({},e.memoizedProps);var y=qo(e,U);y!==null&&za(y,e,U,dr)}},a$=function(e,t,s,u){var p=_C(e,t);if(p!==null){var y=h$(p.memoizedState,s,u);p.memoizedState=y,p.baseState=y,e.memoizedProps=Jt({},e.memoizedProps);var w=qo(e,U);w!==null&&za(w,e,U,dr)}},i$=function(e,t,s){e.pendingProps=g$(e.memoizedProps,t,s),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var u=qo(e,U);u!==null&&za(u,e,U,dr)},o$=function(e,t){e.pendingProps=f$(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var s=qo(e,U);s!==null&&za(s,e,U,dr)},s$=function(e,t,s){e.pendingProps=h$(e.memoizedProps,t,s),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var u=qo(e,U);u!==null&&za(u,e,U,dr)},l$=function(e){var t=qo(e,U);t!==null&&za(t,e,U,dr)},u$=function(e){e$=e},c$=function(e){t$=e}}function p7(e){var t=Xa(e);return t===null?null:t.stateNode}function h7(e){return null}function m7(){return sa}function g7(e){var t=e.findFiberByHostInstance,s=i.ReactCurrentDispatcher;return Ks({bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:n$,overrideHookStateDeletePath:r$,overrideHookStateRenamePath:a$,overrideProps:i$,overridePropsDeletePath:o$,overridePropsRenamePath:s$,setErrorHandler:u$,setSuspenseHandler:c$,scheduleUpdate:l$,currentDispatcherRef:s,findHostInstanceByFiber:p7,findFiberByHostInstance:t||h7,findHostInstancesForRefresh:Vz,scheduleRefresh:Wz,scheduleRoot:qz,setRefreshHandler:Hz,getCurrentFiber:m7,reconcilerVersion:DC})}var v$=typeof reportError=="function"?reportError:function(e){console.error(e)};function EC(e){this._internalRoot=e}qw.prototype.render=EC.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw new Error("Cannot update an unmounted root.");{typeof arguments[1]=="function"?m("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):Vw(arguments[1])?m("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."):typeof arguments[1]<"u"&&m("You passed a second argument to root.render(...) but it only accepts one argument.");var s=t.containerInfo;if(s.nodeType!==er){var u=ZA(t.current);u&&u.parentNode!==s&&m("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.")}}Ny(e,t,null,null)},qw.prototype.unmount=EC.prototype.unmount=function(){typeof arguments[0]=="function"&&m("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(e!==null){this._internalRoot=null;var t=e.containerInfo;AA()&&m("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."),kd(function(){Ny(null,e,null,null)}),yT(t)}};function v7(e,t){if(!Vw(e))throw new Error("createRoot(...): Target container is not a DOM element.");y$(e);var s=!1,u=!1,p="",y=v$;t!=null&&(t.hydrate?h("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===_a&&m(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
303
303
 
304
304
  let root = createRoot(domContainer);
305
- root.render(<App />);`),t.unstable_strictMode===!0&&(s=!0),t.identifierPrefix!==void 0&&(p=t.identifierPrefix),t.onRecoverableError!==void 0&&(y=t.onRecoverableError),t.transitionCallbacks!==void 0&&t.transitionCallbacks);var w=JA(e,Ik,null,s,u,p,y);Pk(w.current,e);var _=e.nodeType===er?e.parentNode:e;return jv(_),new EC(w)}function qw(e){this._internalRoot=e}function y7(e){e&&Qb(e)}qw.prototype.unstable_scheduleHydration=y7;function b7(e,t,s){if(!Vw(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");y$(e),t===void 0&&m("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var u=s??null,p=s!=null&&s.hydratedSources||null,y=!1,w=!1,_="",F=v$;s!=null&&(s.unstable_strictMode===!0&&(y=!0),s.identifierPrefix!==void 0&&(_=s.identifierPrefix),s.onRecoverableError!==void 0&&(F=s.onRecoverableError));var B=QA(t,null,e,Ik,u,y,w,_,F);if(Pk(B.current,e),jv(e),p)for(var I=0;I<p.length;I++){var re=p[I];Sz(B,re)}return new qw(B)}function Vw(e){return!!(e&&(e.nodeType===Qr||e.nodeType===ui||e.nodeType===Fl))}function Ry(e){return!!(e&&(e.nodeType===Qr||e.nodeType===ui||e.nodeType===Fl||e.nodeType===er&&e.nodeValue===" react-mount-point-unstable "))}function y$(e){e.nodeType===Qr&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&m("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."),Qv(e)&&(e._reactRootContainer?m("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):m("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."))}var k7=i.ReactCurrentOwner,b$;b$=function(e){if(e._reactRootContainer&&e.nodeType!==er){var t=ZA(e._reactRootContainer.current);t&&t.parentNode!==e&&m("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 s=!!e._reactRootContainer,u=TC(e),p=!!(u&&mf(u));p&&!s&&m("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===Qr&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&m("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.")};function TC(e){return e?e.nodeType===ui?e.documentElement:e.firstChild:null}function k$(){}function w7(e,t,s,u,p){if(p){if(typeof u=="function"){var y=u;u=function(){var te=Ww(w);y.call(te)}}var w=QA(t,u,e,vf,null,!1,!1,"",k$);e._reactRootContainer=w,Pk(w.current,e);var _=e.nodeType===er?e.parentNode:e;return jv(_),kd(),w}else{for(var F;F=e.lastChild;)e.removeChild(F);if(typeof u=="function"){var B=u;u=function(){var te=Ww(I);B.call(te)}}var I=JA(e,vf,null,!1,!1,"",k$);e._reactRootContainer=I,Pk(I.current,e);var re=e.nodeType===er?e.parentNode:e;return jv(re),kd(function(){Ny(t,I,s,u)}),I}}function D7(e,t){e!==null&&typeof e!="function"&&m("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e)}function Yw(e,t,s,u,p){b$(s),D7(p===void 0?null:p,"render");var y=s._reactRootContainer,w;if(!y)w=w7(s,t,e,p,u);else{if(w=y,typeof p=="function"){var _=p;p=function(){var F=Ww(w);_.call(F)}}Ny(t,w,e,p)}return Ww(w)}var w$=!1;function S7(e){{w$||(w$=!0,m("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=k7.current;if(t!==null&&t.stateNode!==null){var s=t.stateNode._warnedAboutRefsInRender;s||m("%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.",kn(t.type)||"A component"),t.stateNode._warnedAboutRefsInRender=!0}}return e==null?null:e.nodeType===Qr?e:s7(e,"findDOMNode")}function C7(e,t,s){if(m("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"),!Ry(t))throw new Error("Target container is not a DOM element.");{var u=Qv(t)&&t._reactRootContainer===void 0;u&&m("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)?")}return Yw(null,e,t,!0,s)}function x7(e,t,s){if(m("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"),!Ry(t))throw new Error("Target container is not a DOM element.");{var u=Qv(t)&&t._reactRootContainer===void 0;u&&m("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)?")}return Yw(null,e,t,!1,s)}function _7(e,t,s,u){if(m("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"),!Ry(s))throw new Error("Target container is not a DOM element.");if(e==null||!cv(e))throw new Error("parentComponent must be a valid React Component");return Yw(e,t,s,!1,u)}var D$=!1;function E7(e){if(D$||(D$=!0,m("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")),!Ry(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var t=Qv(e)&&e._reactRootContainer===void 0;t&&m("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()?")}if(e._reactRootContainer){{var s=TC(e),u=s&&!mf(s);u&&m("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return kd(function(){Yw(null,null,e,!1,function(){e._reactRootContainer=null,yT(e)})}),!0}else{{var p=TC(e),y=!!(p&&mf(p)),w=e.nodeType===Qr&&Ry(e.parentNode)&&!!e.parentNode._reactRootContainer;y&&m("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",w?"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.")}return!1}}_m(l7),pt(u7),Yb(c7),P2(bs),Em(Sv),(typeof Map!="function"||Map.prototype==null||typeof Map.prototype.forEach!="function"||typeof Set!="function"||Set.prototype==null||typeof Set.prototype.clear!="function"||typeof Set.prototype.forEach!="function")&&m("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"),Kd(F8),uv(iC,b9,kd);function T7(e,t){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!Vw(t))throw new Error("Target container is not a DOM element.");return o7(e,t,null,s)}function F7(e,t,s,u){return _7(e,t,s,u)}var FC={usingClientEntryPoint:!1,Events:[mf,Vm,Nk,zu,Zd,iC]};function A7(e,t){return FC.usingClientEntryPoint||m('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),v7(e,t)}function $7(e,t,s){return FC.usingClientEntryPoint||m('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),b7(e,t,s)}function P7(e){return AA()&&m("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."),kd(e)}var N7=g7({findFiberByHostInstance:nh,bundleType:1,version:DC,rendererPackageName:"react-dom"});if(!N7&&en&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var S$=window.location.protocol;/^(https?|file):$/.test(S$)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+(S$==="file:"?`
305
+ root.render(<App />);`),t.unstable_strictMode===!0&&(s=!0),t.identifierPrefix!==void 0&&(p=t.identifierPrefix),t.onRecoverableError!==void 0&&(y=t.onRecoverableError),t.transitionCallbacks!==void 0&&t.transitionCallbacks);var w=JA(e,Ik,null,s,u,p,y);Pk(w.current,e);var _=e.nodeType===er?e.parentNode:e;return jv(_),new EC(w)}function qw(e){this._internalRoot=e}function y7(e){e&&Qb(e)}qw.prototype.unstable_scheduleHydration=y7;function b7(e,t,s){if(!Vw(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");y$(e),t===void 0&&m("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var u=s??null,p=s!=null&&s.hydratedSources||null,y=!1,w=!1,_="",F=v$;s!=null&&(s.unstable_strictMode===!0&&(y=!0),s.identifierPrefix!==void 0&&(_=s.identifierPrefix),s.onRecoverableError!==void 0&&(F=s.onRecoverableError));var B=QA(t,null,e,Ik,u,y,w,_,F);if(Pk(B.current,e),jv(e),p)for(var I=0;I<p.length;I++){var re=p[I];S5(B,re)}return new qw(B)}function Vw(e){return!!(e&&(e.nodeType===Qr||e.nodeType===ui||e.nodeType===Fl))}function Ry(e){return!!(e&&(e.nodeType===Qr||e.nodeType===ui||e.nodeType===Fl||e.nodeType===er&&e.nodeValue===" react-mount-point-unstable "))}function y$(e){e.nodeType===Qr&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&m("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."),Qv(e)&&(e._reactRootContainer?m("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):m("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."))}var k7=i.ReactCurrentOwner,b$;b$=function(e){if(e._reactRootContainer&&e.nodeType!==er){var t=ZA(e._reactRootContainer.current);t&&t.parentNode!==e&&m("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 s=!!e._reactRootContainer,u=TC(e),p=!!(u&&mf(u));p&&!s&&m("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===Qr&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&m("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.")};function TC(e){return e?e.nodeType===ui?e.documentElement:e.firstChild:null}function k$(){}function w7(e,t,s,u,p){if(p){if(typeof u=="function"){var y=u;u=function(){var te=Ww(w);y.call(te)}}var w=QA(t,u,e,vf,null,!1,!1,"",k$);e._reactRootContainer=w,Pk(w.current,e);var _=e.nodeType===er?e.parentNode:e;return jv(_),kd(),w}else{for(var F;F=e.lastChild;)e.removeChild(F);if(typeof u=="function"){var B=u;u=function(){var te=Ww(I);B.call(te)}}var I=JA(e,vf,null,!1,!1,"",k$);e._reactRootContainer=I,Pk(I.current,e);var re=e.nodeType===er?e.parentNode:e;return jv(re),kd(function(){Ny(t,I,s,u)}),I}}function D7(e,t){e!==null&&typeof e!="function"&&m("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e)}function Yw(e,t,s,u,p){b$(s),D7(p===void 0?null:p,"render");var y=s._reactRootContainer,w;if(!y)w=w7(s,t,e,p,u);else{if(w=y,typeof p=="function"){var _=p;p=function(){var F=Ww(w);_.call(F)}}Ny(t,w,e,p)}return Ww(w)}var w$=!1;function S7(e){{w$||(w$=!0,m("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=k7.current;if(t!==null&&t.stateNode!==null){var s=t.stateNode._warnedAboutRefsInRender;s||m("%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.",kn(t.type)||"A component"),t.stateNode._warnedAboutRefsInRender=!0}}return e==null?null:e.nodeType===Qr?e:s7(e,"findDOMNode")}function C7(e,t,s){if(m("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"),!Ry(t))throw new Error("Target container is not a DOM element.");{var u=Qv(t)&&t._reactRootContainer===void 0;u&&m("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)?")}return Yw(null,e,t,!0,s)}function x7(e,t,s){if(m("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"),!Ry(t))throw new Error("Target container is not a DOM element.");{var u=Qv(t)&&t._reactRootContainer===void 0;u&&m("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)?")}return Yw(null,e,t,!1,s)}function _7(e,t,s,u){if(m("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"),!Ry(s))throw new Error("Target container is not a DOM element.");if(e==null||!cv(e))throw new Error("parentComponent must be a valid React Component");return Yw(e,t,s,!1,u)}var D$=!1;function E7(e){if(D$||(D$=!0,m("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")),!Ry(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var t=Qv(e)&&e._reactRootContainer===void 0;t&&m("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()?")}if(e._reactRootContainer){{var s=TC(e),u=s&&!mf(s);u&&m("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return kd(function(){Yw(null,null,e,!1,function(){e._reactRootContainer=null,yT(e)})}),!0}else{{var p=TC(e),y=!!(p&&mf(p)),w=e.nodeType===Qr&&Ry(e.parentNode)&&!!e.parentNode._reactRootContainer;y&&m("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",w?"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.")}return!1}}_m(l7),pt(u7),Yb(c7),P2(bs),Em(Sv),(typeof Map!="function"||Map.prototype==null||typeof Map.prototype.forEach!="function"||typeof Set!="function"||Set.prototype==null||typeof Set.prototype.clear!="function"||typeof Set.prototype.forEach!="function")&&m("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"),Kd(F8),uv(iC,bz,kd);function T7(e,t){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!Vw(t))throw new Error("Target container is not a DOM element.");return o7(e,t,null,s)}function F7(e,t,s,u){return _7(e,t,s,u)}var FC={usingClientEntryPoint:!1,Events:[mf,Vm,Nk,zu,Zd,iC]};function A7(e,t){return FC.usingClientEntryPoint||m('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),v7(e,t)}function $7(e,t,s){return FC.usingClientEntryPoint||m('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),b7(e,t,s)}function P7(e){return AA()&&m("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."),kd(e)}var N7=g7({findFiberByHostInstance:nh,bundleType:1,version:DC,rendererPackageName:"react-dom"});if(!N7&&en&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var S$=window.location.protocol;/^(https?|file):$/.test(S$)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+(S$==="file:"?`
306
306
  You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}Xo.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=FC,Xo.createPortal=T7,Xo.createRoot=A7,Xo.findDOMNode=S7,Xo.flushSync=P7,Xo.hydrate=C7,Xo.hydrateRoot=$7,Xo.render=x7,Xo.unmountComponentAtNode=E7,Xo.unstable_batchedUpdates=iC,Xo.unstable_renderSubtreeIntoContainer=F7,Xo.version=DC,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),Xo}function px(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(px)}catch(r){console.error(r)}}}process.env.NODE_ENV==="production"?(px(),Zw.exports=sP()):Zw.exports=lP();var hx=Zw.exports,n0,Vy=hx;if(process.env.NODE_ENV==="production")n0=Vy.createRoot,Vy.hydrateRoot;else{var mx=Vy.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;n0=function(r,n){mx.usingClientEntryPoint=!0;try{return Vy.createRoot(r,n)}finally{mx.usingClientEntryPoint=!1}}}const uP=r=>{const n=document.createElement("div"),i=n0(n);return hx.flushSync(()=>{i.render(r)}),n.innerHTML},cP={hi:"Hei!"},dP={from:"Fra",to:"Til"},fP={buttonAltText:"Åpne kalender",deleteDate:"Fjern dato"},pP={month:"Måned",year:"År",days:["Mandag","Tirsdag","Onsdag","Torsdag","Fredag","Lørdag","Søndag"],daysShort:["Man","Tir","Ons","Tor","Fre","Lør","Søn"],months:["Januar","Februar","Mars","April","Mai","Juni","Juli","August","September","Oktober","November","Desember"],monthsShort:["Jan","Feb","Mar","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Des"],week:"Uke",prevMonth:"Forrige måned",nextMonth:"Neste måned"},hP={search:{placeholder:"Søk…"},labels:{optional:"Valgfritt",required:"Må fylles ut"},messages:{required:"Dette feltet er påkrevd",invalid:"Ugyldig verdi",invalidPattern:"Ugyldig format",tooShort:"For kort",tooLong:"For lang",rangeUnderflow:"For lav verdi",rangeOverflow:"For høy verdi",rangeUnderflowMin:"Verdien må være større enn eller lik {min}.",rangeOverflowMax:"Verdien må være mindre enn eller lik {max}.",dateUnderflow:"For tidlig dato",dateOverflow:"For sen dato"},helptext:{helptextDropdownButton:"Les mer"},date:{multiple:"Her kan du velge flere datoer. Trykk komma eller enter når du har skrevet inn en dato."}},Vi={example:cP,generic:dP,calendar:fP,dates:pP,forms:hP};var mP=Object.defineProperty,gx=(r,n,i,l)=>{for(var c=void 0,h=r.length-1,m;h>=0;h--)(m=r[h])&&(c=m(n,i,c)||c);return c&&mP(n,i,c),c};class Yy extends Dh{constructor(){super(...arguments),this.strings=Vi,this.role=null}hotReplacedCallback(){this.requestUpdate()}update(n){n.forEach((i,l)=>{typeof l=="string"&&this[l]&&typeof this[l]=="object"&&this[l].$$typeof&&(this[l]=uP(this[l]))}),super.update(n)}}gx([z({type:Object})],Yy.prototype,"strings"),gx([z({type:String})],Yy.prototype,"role");class fa extends Yy{createRenderRoot(){return this}}/**
307
307
  * @license
308
308
  * Copyright 2017 Google LLC
@@ -335,7 +335,7 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
335
335
  * @license
336
336
  * Copyright 2017 Google LLC
337
337
  * SPDX-License-Identifier: BSD-3-Clause
338
- */let o0=class extends Xy{};o0.directiveName="unsafeSVG",o0.resultType=2;const Sx=Lf(o0);var xP=Object.defineProperty,_P=Object.getOwnPropertyDescriptor,Fg=(r,n,i,l)=>{for(var c=l>1?void 0:l?_P(n,i):n,h=r.length-1,m;h>=0;h--)(m=r[h])&&(c=(l?m(n,i,c):m(c))||c);return l&&c&&xP(n,i,c),c};window.pktFetch=window.pktFetch===void 0?fetch:window.pktFetch,window.pktIconPath=window.pktIconPath||"https://punkt-cdn.oslo.kommune.no/12.42/icons/";const EP=r=>new Promise(n=>setTimeout(n,r)),Qy='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"></svg>',s0={},TP=async(r,n)=>{let i=0;for(;s0[n+r+".svg"]==="fetching"&&(i++,!(i>50));)await EP(50);return localStorage.getItem(n+r+".svg")?Promise.resolve(localStorage.getItem(n+r+".svg")):typeof window.pktFetch=="function"?(s0[n+r+".svg"]="fetching",Promise.resolve(window.pktFetch(n+r+".svg").then(l=>l.ok?l.text():(console.error("Missing icon: "+n+r+".svg"),Qy)).then(l=>(l!==Qy&&localStorage.setItem(n+r+".svg",l),s0[n+r+".svg"]="fetched",l)))):Promise.resolve(Qy)};let Bf=class extends fa{constructor(){super(...arguments),this.path=window.pktIconPath,this.name="",this.icon=Sx(Qy),this._updatedProps=[]}connectedCallback(){super.connectedCallback(),this.classList.add("pkt-icon")}async attributeChangedCallback(n,i,l){super.attributeChangedCallback(n,i,l),(n==="name"||n==="path")&&this.getIcon(this.name)}async updated(n){super.updated(n),(n.has("name")||n.has("path"))&&this.getIcon(this.name)}async getIcon(n=""){this._updatedProps.length>0?(this.path||(this.path,window.pktIconPath),this.icon=Sx(await TP(this.name||"",this.path).then(i=>i)),this._updatedProps=[]):this._updatedProps.includes(n)||this._updatedProps.push(n)}render(){return we`${this.name&&this.icon}`}};Fg([z({type:String,reflect:!1})],Bf.prototype,"path",2),Fg([z({type:String,reflect:!0})],Bf.prototype,"name",2),Fg([z({type:SVGElement})],Bf.prototype,"icon",2),Fg([z({type:Array,noAccessor:!0})],Bf.prototype,"_updatedProps",2),Bf=Fg([fr("pkt-icon")],Bf);const FP={skin:{default:"info"},ariaLive:{default:"polite"},compact:{default:!1},closeAlert:{default:!1}},Ky={props:FP};var AP=Object.defineProperty,$P=Object.getOwnPropertyDescriptor,cu=(r,n,i,l)=>{for(var c=l>1?void 0:l?$P(n,i):n,h=r.length-1,m;h>=0;h--)(m=r[h])&&(c=(l?m(n,i,c):m(c))||c);return l&&c&&AP(n,i,c),c};let _s=class extends fa{constructor(){super(),this.defaultSlot=hn(),this.compact=Ky.props.compact.default,this.title="",this.skin=Ky.props.skin.default,this.ariaLive=Ky.props.ariaLive.default,this["aria-live"]=null,this.closeAlert=Ky.props.closeAlert.default,this.date=null,this.role="status",this._isClosed=!1,this.close=n=>{this._isClosed=!0,this.dispatchEvent(new CustomEvent("close",{detail:{origin:n},bubbles:!0,composed:!0})),this.dispatchEvent(new CustomEvent("on-close",{detail:{origin:n},bubbles:!0,composed:!0}))},this.slotController=new Ua(this,this.defaultSlot),this._isClosed=!1}connectedCallback(){super.connectedCallback(),this["aria-live"]=this.getAttribute("aria-live")||this.ariaLive}attributeChangedCallback(n,i,l){n==="ariaLive"&&(this["aria-live"]=l),super.attributeChangedCallback(n,i,l)}updated(n){super.updated(n),n.has("ariaLive")&&(this["aria-live"]=this.ariaLive),n.has("_isClosed")&&Dx(this,"pkt-hide",this._isClosed)}render(){const n={"pkt-alert":!0,"pkt-alert--compact":this.compact,[`pkt-alert--${this.skin}`]:this.skin,"pkt-hide":this._isClosed},i={"pkt-alert__grid":!0,"pkt-alert__noTitle":!this.title,"pkt-alert__noDate":!this.date};return we`
338
+ */let o0=class extends Xy{};o0.directiveName="unsafeSVG",o0.resultType=2;const Sx=Lf(o0);var xP=Object.defineProperty,_P=Object.getOwnPropertyDescriptor,Fg=(r,n,i,l)=>{for(var c=l>1?void 0:l?_P(n,i):n,h=r.length-1,m;h>=0;h--)(m=r[h])&&(c=(l?m(n,i,c):m(c))||c);return l&&c&&xP(n,i,c),c};window.pktFetch=window.pktFetch===void 0?fetch:window.pktFetch,window.pktIconPath=window.pktIconPath||"https://punkt-cdn.oslo.kommune.no/12.43/icons/";const EP=r=>new Promise(n=>setTimeout(n,r)),Qy='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"></svg>',s0={},TP=async(r,n)=>{let i=0;for(;s0[n+r+".svg"]==="fetching"&&(i++,!(i>50));)await EP(50);return localStorage.getItem(n+r+".svg")?Promise.resolve(localStorage.getItem(n+r+".svg")):typeof window.pktFetch=="function"?(s0[n+r+".svg"]="fetching",Promise.resolve(window.pktFetch(n+r+".svg").then(l=>l.ok?l.text():(console.error("Missing icon: "+n+r+".svg"),Qy)).then(l=>(l!==Qy&&localStorage.setItem(n+r+".svg",l),s0[n+r+".svg"]="fetched",l)))):Promise.resolve(Qy)};let Bf=class extends fa{constructor(){super(...arguments),this.path=window.pktIconPath,this.name="",this.icon=Sx(Qy),this._updatedProps=[]}connectedCallback(){super.connectedCallback(),this.classList.add("pkt-icon")}async attributeChangedCallback(n,i,l){super.attributeChangedCallback(n,i,l),(n==="name"||n==="path")&&this.getIcon(this.name)}async updated(n){super.updated(n),(n.has("name")||n.has("path"))&&this.getIcon(this.name)}async getIcon(n=""){this._updatedProps.length>0?(this.path||(this.path,window.pktIconPath),this.icon=Sx(await TP(this.name||"",this.path).then(i=>i)),this._updatedProps=[]):this._updatedProps.includes(n)||this._updatedProps.push(n)}render(){return we`${this.name&&this.icon}`}};Fg([z({type:String,reflect:!1})],Bf.prototype,"path",2),Fg([z({type:String,reflect:!0})],Bf.prototype,"name",2),Fg([z({type:SVGElement})],Bf.prototype,"icon",2),Fg([z({type:Array,noAccessor:!0})],Bf.prototype,"_updatedProps",2),Bf=Fg([fr("pkt-icon")],Bf);const FP={skin:{default:"info"},ariaLive:{default:"polite"},compact:{default:!1},closeAlert:{default:!1}},Ky={props:FP};var AP=Object.defineProperty,$P=Object.getOwnPropertyDescriptor,cu=(r,n,i,l)=>{for(var c=l>1?void 0:l?$P(n,i):n,h=r.length-1,m;h>=0;h--)(m=r[h])&&(c=(l?m(n,i,c):m(c))||c);return l&&c&&AP(n,i,c),c};let _s=class extends fa{constructor(){super(),this.defaultSlot=hn(),this.compact=Ky.props.compact.default,this.title="",this.skin=Ky.props.skin.default,this.ariaLive=Ky.props.ariaLive.default,this["aria-live"]=null,this.closeAlert=Ky.props.closeAlert.default,this.date=null,this.role="status",this._isClosed=!1,this.close=n=>{this._isClosed=!0,this.dispatchEvent(new CustomEvent("close",{detail:{origin:n},bubbles:!0,composed:!0})),this.dispatchEvent(new CustomEvent("on-close",{detail:{origin:n},bubbles:!0,composed:!0}))},this.slotController=new Ua(this,this.defaultSlot),this._isClosed=!1}connectedCallback(){super.connectedCallback(),this["aria-live"]=this.getAttribute("aria-live")||this.ariaLive}attributeChangedCallback(n,i,l){n==="ariaLive"&&(this["aria-live"]=l),super.attributeChangedCallback(n,i,l)}updated(n){super.updated(n),n.has("ariaLive")&&(this["aria-live"]=this.ariaLive),n.has("_isClosed")&&Dx(this,"pkt-hide",this._isClosed)}render(){const n={"pkt-alert":!0,"pkt-alert--compact":this.compact,[`pkt-alert--${this.skin}`]:this.skin,"pkt-hide":this._isClosed},i={"pkt-alert__grid":!0,"pkt-alert__noTitle":!this.title,"pkt-alert__noDate":!this.date};return we`
339
339
  <div class=${Wt(n)} aria-live=${this["aria-live"]}>
340
340
  <div class=${Wt(i)}>
341
341
  <pkt-icon
@@ -414,7 +414,7 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
414
414
  ></pkt-icon
415
415
  ><span class="pkt-back-link__text">${this.text}</span></a
416
416
  >
417
- </nav>`}};eb([z({type:String,reflect:!0})],Eh.prototype,"href",2),eb([z({type:String,reflect:!0})],Eh.prototype,"text",2),eb([z({type:String,reflect:!0})],Eh.prototype,"ariaLabel",2),Eh=eb([fr("pkt-backlink")],Eh);var jP=Object.defineProperty,zP=Object.getOwnPropertyDescriptor,bo=(r,n,i,l)=>{for(var c=l>1?void 0:l?zP(n,i):n,h=r.length-1,m;h>=0;h--)(m=r[h])&&(c=(l?m(n,i,c):m(c))||c);return l&&c&&jP(n,i,c),c};window.pktAnimationPath=window.pktAnimationPath||"https://punkt-cdn.oslo.kommune.no/12.42/animations/";let Yi=class extends fa{constructor(){super(),this.defaultSlot=hn(),this.iconName="user",this.secondIconName="user",this.mode="light",this.size="medium",this.skin="primary",this.variant="label-only",this.state="normal",this.type="button",this.form=void 0,this.isLoading=!1,this.disabled=!1,this.loadingAnimationPath=window.pktAnimationPath,this.slotController=new Ua(this,this.defaultSlot)}connectedCallback(){super.connectedCallback(),this.addEventListener("click",n=>{(this.disabled||this.hasAttribute("disabled")||this.isLoading)&&(n.preventDefault(),n.stopImmediatePropagation())},!0),this.addEventListener("keydown",n=>{(this.disabled||this.hasAttribute("disabled")||this.isLoading)&&(n.key==="Enter"||n.key===" ")&&(n.preventDefault(),n.stopImmediatePropagation())},!0)}attributeChangedCallback(n,i,l){super.attributeChangedCallback(n,i,l),n==="disabled"&&l==="false"&&(this.disabled=!1),(n==="isloading"||n==="isLoading")&&l==="false"&&(this.isLoading=!1)}firstUpdated(n){super.firstUpdated(n),this.disabled==="false"&&(this.disabled=!1),this.isLoading==="false"&&(this.isLoading=!1)}render(){const n=this.form??this.getAttribute("form")??void 0,i={"pkt-btn":!0,[`pkt-btn--${this.size}`]:!!this.size,[`pkt-btn--${this.skin}`]:!!this.skin,[`pkt-btn--${this.variant}`]:!!this.variant,[`pkt-btn--${this.color}`]:!!this.color,[`pkt-btn--${this.state}`]:!!this.state,"pkt-btn--disabled":!!this.disabled,"pkt-btn--isLoading":!!this.isLoading};return we`
417
+ </nav>`}};eb([z({type:String,reflect:!0})],Eh.prototype,"href",2),eb([z({type:String,reflect:!0})],Eh.prototype,"text",2),eb([z({type:String,reflect:!0})],Eh.prototype,"ariaLabel",2),Eh=eb([fr("pkt-backlink")],Eh);var jP=Object.defineProperty,zP=Object.getOwnPropertyDescriptor,bo=(r,n,i,l)=>{for(var c=l>1?void 0:l?zP(n,i):n,h=r.length-1,m;h>=0;h--)(m=r[h])&&(c=(l?m(n,i,c):m(c))||c);return l&&c&&jP(n,i,c),c};window.pktAnimationPath=window.pktAnimationPath||"https://punkt-cdn.oslo.kommune.no/12.43/animations/";let Yi=class extends fa{constructor(){super(),this.defaultSlot=hn(),this.iconName="user",this.secondIconName="user",this.mode="light",this.size="medium",this.skin="primary",this.variant="label-only",this.state="normal",this.type="button",this.form=void 0,this.isLoading=!1,this.disabled=!1,this.loadingAnimationPath=window.pktAnimationPath,this.slotController=new Ua(this,this.defaultSlot)}connectedCallback(){super.connectedCallback(),this.addEventListener("click",n=>{(this.disabled||this.hasAttribute("disabled")||this.isLoading)&&(n.preventDefault(),n.stopImmediatePropagation())},!0),this.addEventListener("keydown",n=>{(this.disabled||this.hasAttribute("disabled")||this.isLoading)&&(n.key==="Enter"||n.key===" ")&&(n.preventDefault(),n.stopImmediatePropagation())},!0)}attributeChangedCallback(n,i,l){super.attributeChangedCallback(n,i,l),n==="disabled"&&l==="false"&&(this.disabled=!1),(n==="isloading"||n==="isLoading")&&l==="false"&&(this.isLoading=!1)}firstUpdated(n){super.firstUpdated(n),this.disabled==="false"&&(this.disabled=!1),this.isLoading==="false"&&(this.isLoading=!1)}render(){const n=this.form??this.getAttribute("form")??void 0,i={"pkt-btn":!0,[`pkt-btn--${this.size}`]:!!this.size,[`pkt-btn--${this.skin}`]:!!this.skin,[`pkt-btn--${this.variant}`]:!!this.variant,[`pkt-btn--${this.color}`]:!!this.color,[`pkt-btn--${this.state}`]:!!this.state,"pkt-btn--disabled":!!this.disabled,"pkt-btn--isLoading":!!this.isLoading};return we`
418
418
  <button
419
419
  class=${Wt(i)}
420
420
  type=${this.type}
@@ -1134,7 +1134,7 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
1134
1134
 
1135
1135
  <div class="pkt-linkcard__text" ${cn(this.defaultSlot)}></div>
1136
1136
  </a>
1137
- `}};Wf([z({type:String,reflect:!0})],vc.prototype,"title",2),Wf([z({type:String,reflect:!0})],vc.prototype,"href",2),Wf([z({type:String,reflect:!0})],vc.prototype,"iconName",2),Wf([z({type:Boolean,reflect:!0})],vc.prototype,"external",2),Wf([z({type:Boolean,reflect:!0})],vc.prototype,"openInNewTab",2),Wf([z({type:String,reflect:!0})],vc.prototype,"skin",2),vc=Wf([fr("pkt-linkcard")],vc);var U3=Object.defineProperty,H3=Object.getOwnPropertyDescriptor,yc=(r,n,i,l)=>{for(var c=l>1?void 0:l?H3(n,i):n,h=r.length-1,m;h>=0;h--)(m=r[h])&&(c=(l?m(n,i,c):m(c))||c);return l&&c&&U3(n,i,c),c};window.pktAnimationPath=window.pktAnimationPath||"https://punkt-cdn.oslo.kommune.no/12.42/animations/";let pl=class extends fa{constructor(){super(),this.defaultSlot=hn(),this.delay=0,this.inline=!1,this.isLoading=!0,this.message=null,this.size="medium",this.variant="shapes",this.loadingAnimationPath=window.pktAnimationPath,this._shouldDisplayLoader=!1,this.slotController=new Ua(this,this.defaultSlot)}connectedCallback(){super.connectedCallback(),this._shouldDisplayLoader=this.delay===0,this.delay>0&&this.setupLoader()}updated(n){n.has("delay")&&this.setupLoader()}render(){const n=Wt({"pkt-loader":!0,[`pkt-loader--${this.inline?"inline":"box"}`]:!0,[`pkt-loader--${this.size}`]:!0}),i=Wt({"pkt-contents":!0,"pkt-hide":this.isLoading});return we`<div role="status" aria-live="polite" .aria-busy=${this.isLoading} class=${n}>
1137
+ `}};Wf([z({type:String,reflect:!0})],vc.prototype,"title",2),Wf([z({type:String,reflect:!0})],vc.prototype,"href",2),Wf([z({type:String,reflect:!0})],vc.prototype,"iconName",2),Wf([z({type:Boolean,reflect:!0})],vc.prototype,"external",2),Wf([z({type:Boolean,reflect:!0})],vc.prototype,"openInNewTab",2),Wf([z({type:String,reflect:!0})],vc.prototype,"skin",2),vc=Wf([fr("pkt-linkcard")],vc);var U3=Object.defineProperty,H3=Object.getOwnPropertyDescriptor,yc=(r,n,i,l)=>{for(var c=l>1?void 0:l?H3(n,i):n,h=r.length-1,m;h>=0;h--)(m=r[h])&&(c=(l?m(n,i,c):m(c))||c);return l&&c&&U3(n,i,c),c};window.pktAnimationPath=window.pktAnimationPath||"https://punkt-cdn.oslo.kommune.no/12.43/animations/";let pl=class extends fa{constructor(){super(),this.defaultSlot=hn(),this.delay=0,this.inline=!1,this.isLoading=!0,this.message=null,this.size="medium",this.variant="shapes",this.loadingAnimationPath=window.pktAnimationPath,this._shouldDisplayLoader=!1,this.slotController=new Ua(this,this.defaultSlot)}connectedCallback(){super.connectedCallback(),this._shouldDisplayLoader=this.delay===0,this.delay>0&&this.setupLoader()}updated(n){n.has("delay")&&this.setupLoader()}render(){const n=Wt({"pkt-loader":!0,[`pkt-loader--${this.inline?"inline":"box"}`]:!0,[`pkt-loader--${this.size}`]:!0}),i=Wt({"pkt-contents":!0,"pkt-hide":this.isLoading});return we`<div role="status" aria-live="polite" .aria-busy=${this.isLoading} class=${n}>
1138
1138
  ${this.isLoading&&this._shouldDisplayLoader?we`<div class="pkt-loader__spinner">
1139
1139
  <pkt-icon
1140
1140
  name=${this.getVariant(this.variant)}
@@ -1427,11 +1427,11 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
1427
1427
  <ul>
1428
1428
  ${r.map(n=>we`<li>${n}</li>`)}
1429
1429
  </ul>
1430
- `}doStuff(r){return r.reverse()}handleGreeting(){this.dispatchEvent(new CustomEvent("pkt-greeting",{detail:"Hei på deg!"}))}};Mg([z({type:String})],Rh.prototype,"string",2),Mg([z({converter:zx})],Rh.prototype,"strings",2),Mg([z({type:Boolean})],Rh.prototype,"darkmode",2),Mg([z({type:Array})],Rh.prototype,"_list",2),Rh=Mg([fr("pkt-component")],Rh);const dR=zr({tagName:"pkt-accordion",elementClass:RP,react:$e,displayName:"PktAccordion"}),Yx=$e.forwardRef(({children:r,...n},i)=>O.jsx(dR,{"data-testid":"pkt-accordion",...n,ref:i,children:O.jsx("div",{className:"pkt-contents",children:r})}));Yx.displayName="PktAccordion";const fR=zr({tagName:"pkt-accordion-item",elementClass:BP,react:$e,displayName:"PktAccordionItem",events:{onClick:"click"}}),Gx=$e.forwardRef(({children:r,...n},i)=>O.jsx(fR,{ref:i,...n,children:O.jsx("div",{className:"pkt-contents",children:r})}));Gx.displayName="PktAccordionItem";const pR=zr({tagName:"pkt-alert",elementClass:_s,react:$e,displayName:"PktAlert",events:{onClose:"close"}}),Xx=$e.forwardRef(({children:r,...n},i)=>O.jsx(pR,{ref:i,...n,children:O.jsx("div",{className:"pkt-contents",children:r})}));Xx.displayName="PktAlert";const Jx=zr({tagName:"pkt-backlink",elementClass:Eh,react:$e,displayName:"PktBackLink"});Jx.displayName="PktBackLink";const or=zr({tagName:"pkt-icon",elementClass:Bf,react:$e,displayName:"PktIcon",events:{}}),hR=$e.forwardRef(({breadcrumbs:r,navigationType:n,className:i,...l},c)=>{const h=r,m=h[h.length-2],D=[i,"pkt-breadcrumbs"].filter(Boolean).join(" ");return O.jsxs("nav",{ref:c,"aria-label":"brødsmulemeny",className:D,children:[O.jsx("ol",{className:"pkt-breadcrumbs__list pkt-breadcrumbs--desktop",children:h.map((C,T)=>O.jsx("li",{className:"pkt-breadcrumbs__item",children:T===h.length-1?O.jsx("span",{className:"pkt-breadcrumbs__label","aria-current":"true",children:O.jsx("span",{className:"pkt-breadcrumbs__text",children:C.text})}):n==="router"?O.jsxs($f.Link,{to:C.href,className:"pkt-link pkt-link--icon-right pkt-breadcrumbs__label pkt-breadcrumbs__link",...l,children:[O.jsx(or,{className:"pkt-icon pkt-breadcrumbs__icon pkt-link__icon",name:"chevron-thin-right"}),O.jsx("span",{className:"pkt-breadcrumbs__text",children:C.text})]}):O.jsxs("a",{href:C.href,className:"pkt-link pkt-link--icon-right pkt-breadcrumbs__label pkt-breadcrumbs__link",...l,children:[O.jsx(or,{className:"pkt-icon pkt-breadcrumbs__icon pkt-link__icon",name:"chevron-thin-right"}),O.jsx("span",{className:"pkt-breadcrumbs__text",children:C.text})]})},`breadcrumb-${T}`))}),n==="router"?O.jsxs($f.Link,{to:m.href,className:"pkt-link pkt-link--icon-left pkt-breadcrumbs--mobile",...l,children:[O.jsx(or,{className:"pkt-back-link__icon pkt-icon pkt-link__icon",name:"chevron-thin-left"}),O.jsx("span",{className:"pkt-breadcrumbs__text",children:m.text})]}):O.jsxs("a",{href:m.href,className:"pkt-link pkt-link--icon-left pkt-breadcrumbs--mobile",...l,children:[O.jsx(or,{className:"pkt-back-link__icon pkt-icon pkt-link__icon",name:"chevron-thin-left"}),O.jsx("span",{className:"pkt-breadcrumbs__text",children:m.text})]})]})});window.pktAnimationPath=window.pktAnimationPath||"https://punkt-cdn.oslo.kommune.no/12.42/animations/";const $d=$e.forwardRef(({children:r,className:n,iconName:i="user",secondIconName:l="user",size:c="medium",skin:h="primary",type:m="button",variant:D="label-only",state:C,color:T,isLoading:$=void 0,disabled:N=void 0,loadingAnimationPath:R=window.pktAnimationPath,...L},j)=>{const J=[n,"pkt-btn",c&&`pkt-btn--${c}`,h&&`pkt-btn--${h}`,D&&`pkt-btn--${D}`,T&&`pkt-btn--${T}`,C&&`pkt-btn--${C}`,$&&"pkt-btn--isLoading"].filter(Boolean).join(" ");return O.jsxs("button",{...L,"aria-busy":$||void 0,"aria-disabled":N||void 0,disabled:N,className:J,type:m,ref:j,children:[$&&O.jsx(or,{className:"pkt-btn__icon pkt-btn__spinner",name:"spinner-blue",path:R}),D!=="label-only"&&O.jsx(or,{className:"pkt-btn__icon",name:i}),O.jsx("span",{className:"pkt-btn__text",children:r}),D==="icons-right-and-left"&&O.jsx(or,{className:"pkt-btn__icon",name:l})]})});$d.displayName="PktButton";const mR=zr({tagName:"pkt-card",elementClass:Ca,react:$e,displayName:"PktCard",events:{}}),Qx=$e.forwardRef(({children:r,...n},i)=>O.jsx(mR,{...n,ref:i,children:O.jsx("div",{className:"pkt-contents",children:r})}));Qx.displayName="PktCard";const k0=zr({tagName:"pkt-checkbox",elementClass:Fs,react:$e,displayName:"PktCheckbox",events:{onChange:"change",onInput:"input",onBlur:"blur",onFocus:"focus",onValueChange:"valueChange"}}),gR=zr({tagName:"pkt-combobox",elementClass:Hr,react:$e,displayName:"PktCombobox",events:{onClick:"click",onChange:"change",onInput:"input",onBlur:"blur",onFocus:"focus",onValueChange:"valueChange",onToggleHelpText:"toggleHelpText"}}),Kx=$e.forwardRef(({children:r,helptext:n,...i},l)=>O.jsxs(gR,{...i,ref:l,children:[n&&O.jsx("div",{slot:"helptext",className:"pkt-contents",children:n}),r]}));Kx.displayName="PktCombobox";const ib=zr({tagName:"pkt-consent",elementClass:Ts,react:$e,displayName:"PktConsent",events:{onToggleConsent:"toggle-consent"}});ib.displayName="PktConsent";const vR=zr({tagName:"pkt-datepicker",elementClass:Jr,react:$e,displayName:"PktDatepicker",events:{onChange:"change",onBlur:"blur",onFocus:"focus",onValueChange:"value-change",onToggleHelpText:"toggleHelpText"}}),w0=$e.forwardRef(({helptext:r,...n},i)=>O.jsx(vR,{ref:i,...n,children:O.jsx("div",{className:"pkt-contents",slot:"helptext",children:r})}));w0.displayName="PktDatepicker";const yR=({columnOne:r,columnTwo:n,socialLinks:i,className:l,openLinksInNewTab:c=!1,personvernOgInfoLink:h="https://www.oslo.kommune.no/personvern-og-informasjonskapsler/",tilgjengelighetLink:m="https://www.oslo.kommune.no/tilgjengelighet/",includeConsent:D=!1,hotjarId:C=null,googleAnalyticsId:T=null,devMode:$=!1,cookieDomain:N=null,cookieSecure:R=null,cookieExpiryDays:L=null,onToggleConsent:j=J=>{console.log(J.detail)}})=>{var G,Se;const J=[l,"pkt-footer"].filter(Boolean).join(" ");return O.jsx("footer",{className:J,"data-mode":"dark",children:O.jsxs("div",{className:"pkt-footer__container",children:[O.jsxs("div",{className:"pkt-grid pkt-grid--rowgap-size-32 pkt-grid--gap-size-16",children:[O.jsxs("div",{className:"pkt-footer__column pkt-cell pkt-cell--span12 pkt-cell--span4-laptop-up",children:[O.jsx("h2",{className:"pkt-footer__title",children:r.title}),O.jsxs("ul",{className:"pkt-footer__list",children:[r.text&&O.jsx("li",{className:"pkt-footer__text",children:r.text}),(G=r.links)==null?void 0:G.map((q,W)=>O.jsx("li",{className:"pkt-footer__list-item",children:O.jsxs("a",{className:`pkt-footer__link ${q.external?"pkt-link--external":""}`,href:q.href,target:q.openInNewTab||c?"_blank":"_self",rel:q.openInNewTab||c?"noopener noreferrer":void 0,children:[O.jsx(or,{className:"pkt-footer__link-icon",name:"chevron-right"}),q.text]})},`links-${W}`))]})]}),O.jsxs("div",{className:"pkt-footer__column pkt-cell pkt-cell--span12 pkt-cell--span4-laptop-up",children:[O.jsx("h2",{className:"pkt-footer__title",children:n.title}),O.jsxs("ul",{className:"pkt-footer__list",children:[n.text&&O.jsx("li",{className:"pkt-footer__text",children:n.text}),(Se=n.links)==null?void 0:Se.map((q,W)=>O.jsx("li",{className:"pkt-footer__list-item",children:O.jsxs("a",{className:`pkt-footer__link ${q.external?"pkt-link--external":""}`,href:q.href,target:q.openInNewTab||c?"_blank":"_self",rel:q.openInNewTab||c?"noopener noreferrer":void 0,children:[O.jsx(or,{className:"pkt-footer__link-icon",name:"chevron-right"}),q.text]})},`links-${W}`))]})]}),O.jsxs("div",{className:"pkt-footer__column pkt-cell pkt-cell--span12 pkt-cell--span4-laptop-up",children:[O.jsx("h2",{className:"pkt-footer__title",children:"Om nettstedet"}),O.jsxs("ul",{className:"pkt-footer__list",children:[O.jsx("li",{className:"pkt-footer__list-item",children:O.jsxs("a",{className:"pkt-footer__link",href:h,target:c?"_blank":"_self",rel:c?"noopener noreferrer":void 0,children:[O.jsx(or,{className:"pkt-footer__link-icon",name:"chevron-right"}),"Personvern og informasjonskapsler"]})}),O.jsx("li",{className:"pkt-footer__list-item",children:O.jsxs("a",{className:"pkt-footer__link",href:m,target:c?"_blank":"_self",rel:c?"noopener noreferrer":void 0,children:[O.jsx(or,{className:"pkt-footer__link-icon",name:"chevron-right"}),"Tilgjengelighet"]})}),D&&O.jsx("li",{className:"pkt-footer__list-item",children:O.jsx(ib,{triggerType:"footerlink",hotjarId:C,googleAnalyticsId:T,devMode:$,cookieDomain:N,cookieSecure:R,cookieExpiryDays:L,onToggleConsent:j})})]})]})]}),i&&O.jsxs("div",{className:"pkt-footer__social","aria-label":"standard lenker",children:[O.jsx("div",{className:"pkt-footer__social-languages",children:i.filter(q=>q.language).map((q,W)=>O.jsx("div",{className:"pkt-footer__social-language",children:O.jsx("a",{href:q.href,"aria-label":`til ${q.language} versjon av nettsiden`,target:q.openInNewTab||c?"_blank":"_self",rel:q.openInNewTab||c?"noopener noreferrer":void 0,children:q.language})},`sociallinks-language-${W}`))}),O.jsx("div",{className:"pkt-footer__social-icons",children:i.filter(q=>q.iconName).map((q,W)=>O.jsx($e.Fragment,{children:O.jsx("a",{href:q.href,"aria-label":`til ${q.iconName}`,className:"pkt-footer__social-icon-link",target:q.openInNewTab||c?"_blank":"_self",rel:q.openInNewTab||c?"noopener noreferrer":void 0,children:O.jsx(or,{className:"pkt-footer__social-icon",name:q.iconName})})},`sociallinks-${W}`))})]})]})})},bR=({links:r=[],openLinksInNewTab:n=!1,personvernOgInfoLink:i="https://www.oslo.kommune.no/personvern-og-informasjonskapsler/",tilgjengelighetLink:l="https://www.oslo.kommune.no/tilgjengelighet/",includeConsent:c=!1,hotjarId:h=null,googleAnalyticsId:m=null,devMode:D=!1,cookieDomain:C=null,cookieSecure:T=null,cookieExpiryDays:$=null,onToggleConsent:N=L=>{console.log(L.detail)},className:R})=>{const L=[R,"pkt-footer-simple"].filter(Boolean).join(" ");return O.jsx("footer",{className:L,"data-mode":"dark",children:O.jsx("div",{className:"pkt-footer-simple__container",children:O.jsxs("ul",{className:"pkt-footer-simple__list",children:[r.map((j,J)=>O.jsx("li",{className:"pkt-footer-simple__list-item",children:O.jsxs("a",{className:`pkt-footer-simple__link ${j.external?" pkt-link--external":""}`,href:j.href,target:j.openInNewTab||n?"_blank":"_self",rel:j.openInNewTab||n?"noopener noreferrer":void 0,children:[O.jsx(or,{className:"pkt-footer-simple__link-icon",name:"chevron-right"}),j.text]})},J)),O.jsx("li",{className:"pkt-footer-simple__list-item",children:O.jsxs("a",{className:"pkt-footer-simple__link",href:i,target:n?"_blank":"_self",rel:n?"noopener noreferrer":void 0,children:[O.jsx(or,{className:"pkt-footer-simple__link-icon",name:"chevron-right"}),"Personvern og informasjonskapsler"]})}),O.jsx("li",{className:"pkt-footer-simple__list-item",children:O.jsxs("a",{className:"pkt-footer-simple__link",href:l,target:n?"_blank":"_self",rel:n?"noopener noreferrer":void 0,children:[O.jsx(or,{className:"pkt-footer-simple__link-icon",name:"chevron-right"}),"Tilgjengelighet"]})}),c&&O.jsx("li",{className:"pkt-footer-simple__list-item",children:O.jsx(ib,{triggerType:"footerlink",hotjarId:h,googleAnalyticsId:m,devMode:D,cookieDomain:C,cookieSecure:T,cookieExpiryDays:$,onToggleConsent:N})})]})})})};var Zx={exports:{}};/*!
1430
+ `}doStuff(r){return r.reverse()}handleGreeting(){this.dispatchEvent(new CustomEvent("pkt-greeting",{detail:"Hei på deg!"}))}};Mg([z({type:String})],Rh.prototype,"string",2),Mg([z({converter:zx})],Rh.prototype,"strings",2),Mg([z({type:Boolean})],Rh.prototype,"darkmode",2),Mg([z({type:Array})],Rh.prototype,"_list",2),Rh=Mg([fr("pkt-component")],Rh);const dR=zr({tagName:"pkt-accordion",elementClass:RP,react:$e,displayName:"PktAccordion"}),Yx=$e.forwardRef(({children:r,...n},i)=>O.jsx(dR,{"data-testid":"pkt-accordion",...n,ref:i,children:O.jsx("div",{className:"pkt-contents",children:r})}));Yx.displayName="PktAccordion";const fR=zr({tagName:"pkt-accordion-item",elementClass:BP,react:$e,displayName:"PktAccordionItem",events:{onClick:"click"}}),Gx=$e.forwardRef(({children:r,...n},i)=>O.jsx(fR,{ref:i,...n,children:O.jsx("div",{className:"pkt-contents",children:r})}));Gx.displayName="PktAccordionItem";const pR=zr({tagName:"pkt-alert",elementClass:_s,react:$e,displayName:"PktAlert",events:{onClose:"close"}}),Xx=$e.forwardRef(({children:r,...n},i)=>O.jsx(pR,{ref:i,...n,children:O.jsx("div",{className:"pkt-contents",children:r})}));Xx.displayName="PktAlert";const Jx=zr({tagName:"pkt-backlink",elementClass:Eh,react:$e,displayName:"PktBackLink"});Jx.displayName="PktBackLink";const or=zr({tagName:"pkt-icon",elementClass:Bf,react:$e,displayName:"PktIcon",events:{}}),hR=$e.forwardRef(({breadcrumbs:r,navigationType:n,className:i,...l},c)=>{const h=r,m=h[h.length-2],D=[i,"pkt-breadcrumbs"].filter(Boolean).join(" ");return O.jsxs("nav",{ref:c,"aria-label":"brødsmulemeny",className:D,children:[O.jsx("ol",{className:"pkt-breadcrumbs__list pkt-breadcrumbs--desktop",children:h.map((C,T)=>O.jsx("li",{className:"pkt-breadcrumbs__item",children:T===h.length-1?O.jsx("span",{className:"pkt-breadcrumbs__label","aria-current":"true",children:O.jsx("span",{className:"pkt-breadcrumbs__text",children:C.text})}):n==="router"?O.jsxs($f.Link,{to:C.href,className:"pkt-link pkt-link--icon-right pkt-breadcrumbs__label pkt-breadcrumbs__link",...l,children:[O.jsx(or,{className:"pkt-icon pkt-breadcrumbs__icon pkt-link__icon",name:"chevron-thin-right"}),O.jsx("span",{className:"pkt-breadcrumbs__text",children:C.text})]}):O.jsxs("a",{href:C.href,className:"pkt-link pkt-link--icon-right pkt-breadcrumbs__label pkt-breadcrumbs__link",...l,children:[O.jsx(or,{className:"pkt-icon pkt-breadcrumbs__icon pkt-link__icon",name:"chevron-thin-right"}),O.jsx("span",{className:"pkt-breadcrumbs__text",children:C.text})]})},`breadcrumb-${T}`))}),n==="router"?O.jsxs($f.Link,{to:m.href,className:"pkt-link pkt-link--icon-left pkt-breadcrumbs--mobile",...l,children:[O.jsx(or,{className:"pkt-back-link__icon pkt-icon pkt-link__icon",name:"chevron-thin-left"}),O.jsx("span",{className:"pkt-breadcrumbs__text",children:m.text})]}):O.jsxs("a",{href:m.href,className:"pkt-link pkt-link--icon-left pkt-breadcrumbs--mobile",...l,children:[O.jsx(or,{className:"pkt-back-link__icon pkt-icon pkt-link__icon",name:"chevron-thin-left"}),O.jsx("span",{className:"pkt-breadcrumbs__text",children:m.text})]})]})});window.pktAnimationPath=window.pktAnimationPath||"https://punkt-cdn.oslo.kommune.no/12.43/animations/";const $d=$e.forwardRef(({children:r,className:n,iconName:i="user",secondIconName:l="user",size:c="medium",skin:h="primary",type:m="button",variant:D="label-only",state:C,color:T,isLoading:$=void 0,disabled:N=void 0,loadingAnimationPath:R=window.pktAnimationPath,...L},j)=>{const J=[n,"pkt-btn",c&&`pkt-btn--${c}`,h&&`pkt-btn--${h}`,D&&`pkt-btn--${D}`,T&&`pkt-btn--${T}`,C&&`pkt-btn--${C}`,$&&"pkt-btn--isLoading"].filter(Boolean).join(" ");return O.jsxs("button",{...L,"aria-busy":$||void 0,"aria-disabled":N||void 0,disabled:N,className:J,type:m,ref:j,children:[$&&O.jsx(or,{className:"pkt-btn__icon pkt-btn__spinner",name:"spinner-blue",path:R}),D!=="label-only"&&O.jsx(or,{className:"pkt-btn__icon",name:i}),O.jsx("span",{className:"pkt-btn__text",children:r}),D==="icons-right-and-left"&&O.jsx(or,{className:"pkt-btn__icon",name:l})]})});$d.displayName="PktButton";const mR=zr({tagName:"pkt-card",elementClass:Ca,react:$e,displayName:"PktCard",events:{}}),Qx=$e.forwardRef(({children:r,...n},i)=>O.jsx(mR,{...n,ref:i,children:O.jsx("div",{className:"pkt-contents",children:r})}));Qx.displayName="PktCard";const k0=zr({tagName:"pkt-checkbox",elementClass:Fs,react:$e,displayName:"PktCheckbox",events:{onChange:"change",onInput:"input",onBlur:"blur",onFocus:"focus",onValueChange:"valueChange"}}),gR=zr({tagName:"pkt-combobox",elementClass:Hr,react:$e,displayName:"PktCombobox",events:{onClick:"click",onChange:"change",onInput:"input",onBlur:"blur",onFocus:"focus",onValueChange:"valueChange",onToggleHelpText:"toggleHelpText"}}),Kx=$e.forwardRef(({children:r,helptext:n,...i},l)=>O.jsxs(gR,{...i,ref:l,children:[n&&O.jsx("div",{slot:"helptext",className:"pkt-contents",children:n}),r]}));Kx.displayName="PktCombobox";const ib=zr({tagName:"pkt-consent",elementClass:Ts,react:$e,displayName:"PktConsent",events:{onToggleConsent:"toggle-consent"}});ib.displayName="PktConsent";const vR=zr({tagName:"pkt-datepicker",elementClass:Jr,react:$e,displayName:"PktDatepicker",events:{onChange:"change",onBlur:"blur",onFocus:"focus",onValueChange:"value-change",onToggleHelpText:"toggleHelpText"}}),w0=$e.forwardRef(({helptext:r,...n},i)=>O.jsx(vR,{ref:i,...n,children:O.jsx("div",{className:"pkt-contents",slot:"helptext",children:r})}));w0.displayName="PktDatepicker";const yR=({columnOne:r,columnTwo:n,socialLinks:i,className:l,openLinksInNewTab:c=!1,personvernOgInfoLink:h="https://www.oslo.kommune.no/personvern-og-informasjonskapsler/",tilgjengelighetLink:m="https://www.oslo.kommune.no/tilgjengelighet/",includeConsent:D=!1,hotjarId:C=null,googleAnalyticsId:T=null,devMode:$=!1,cookieDomain:N=null,cookieSecure:R=null,cookieExpiryDays:L=null,onToggleConsent:j=J=>{console.log(J.detail)}})=>{var G,Se;const J=[l,"pkt-footer"].filter(Boolean).join(" ");return O.jsx("footer",{className:J,"data-mode":"dark",children:O.jsxs("div",{className:"pkt-footer__container",children:[O.jsxs("div",{className:"pkt-grid pkt-grid--rowgap-size-32 pkt-grid--gap-size-16",children:[O.jsxs("div",{className:"pkt-footer__column pkt-cell pkt-cell--span12 pkt-cell--span4-laptop-up",children:[O.jsx("h2",{className:"pkt-footer__title",children:r.title}),O.jsxs("ul",{className:"pkt-footer__list",children:[r.text&&O.jsx("li",{className:"pkt-footer__text",children:r.text}),(G=r.links)==null?void 0:G.map((q,W)=>O.jsx("li",{className:"pkt-footer__list-item",children:O.jsxs("a",{className:`pkt-footer__link ${q.external?"pkt-link--external":""}`,href:q.href,target:q.openInNewTab||c?"_blank":"_self",rel:q.openInNewTab||c?"noopener noreferrer":void 0,children:[O.jsx(or,{className:"pkt-footer__link-icon",name:"chevron-right"}),q.text]})},`links-${W}`))]})]}),O.jsxs("div",{className:"pkt-footer__column pkt-cell pkt-cell--span12 pkt-cell--span4-laptop-up",children:[O.jsx("h2",{className:"pkt-footer__title",children:n.title}),O.jsxs("ul",{className:"pkt-footer__list",children:[n.text&&O.jsx("li",{className:"pkt-footer__text",children:n.text}),(Se=n.links)==null?void 0:Se.map((q,W)=>O.jsx("li",{className:"pkt-footer__list-item",children:O.jsxs("a",{className:`pkt-footer__link ${q.external?"pkt-link--external":""}`,href:q.href,target:q.openInNewTab||c?"_blank":"_self",rel:q.openInNewTab||c?"noopener noreferrer":void 0,children:[O.jsx(or,{className:"pkt-footer__link-icon",name:"chevron-right"}),q.text]})},`links-${W}`))]})]}),O.jsxs("div",{className:"pkt-footer__column pkt-cell pkt-cell--span12 pkt-cell--span4-laptop-up",children:[O.jsx("h2",{className:"pkt-footer__title",children:"Om nettstedet"}),O.jsxs("ul",{className:"pkt-footer__list",children:[O.jsx("li",{className:"pkt-footer__list-item",children:O.jsxs("a",{className:"pkt-footer__link",href:h,target:c?"_blank":"_self",rel:c?"noopener noreferrer":void 0,children:[O.jsx(or,{className:"pkt-footer__link-icon",name:"chevron-right"}),"Personvern og informasjonskapsler"]})}),O.jsx("li",{className:"pkt-footer__list-item",children:O.jsxs("a",{className:"pkt-footer__link",href:m,target:c?"_blank":"_self",rel:c?"noopener noreferrer":void 0,children:[O.jsx(or,{className:"pkt-footer__link-icon",name:"chevron-right"}),"Tilgjengelighet"]})}),D&&O.jsx("li",{className:"pkt-footer__list-item",children:O.jsx(ib,{triggerType:"footerlink",hotjarId:C,googleAnalyticsId:T,devMode:$,cookieDomain:N,cookieSecure:R,cookieExpiryDays:L,onToggleConsent:j})})]})]})]}),i&&O.jsxs("div",{className:"pkt-footer__social","aria-label":"standard lenker",children:[O.jsx("div",{className:"pkt-footer__social-languages",children:i.filter(q=>q.language).map((q,W)=>O.jsx("div",{className:"pkt-footer__social-language",children:O.jsx("a",{href:q.href,"aria-label":`til ${q.language} versjon av nettsiden`,target:q.openInNewTab||c?"_blank":"_self",rel:q.openInNewTab||c?"noopener noreferrer":void 0,children:q.language})},`sociallinks-language-${W}`))}),O.jsx("div",{className:"pkt-footer__social-icons",children:i.filter(q=>q.iconName).map((q,W)=>O.jsx($e.Fragment,{children:O.jsx("a",{href:q.href,"aria-label":`til ${q.iconName}`,className:"pkt-footer__social-icon-link",target:q.openInNewTab||c?"_blank":"_self",rel:q.openInNewTab||c?"noopener noreferrer":void 0,children:O.jsx(or,{className:"pkt-footer__social-icon",name:q.iconName})})},`sociallinks-${W}`))})]})]})})},bR=({links:r=[],openLinksInNewTab:n=!1,personvernOgInfoLink:i="https://www.oslo.kommune.no/personvern-og-informasjonskapsler/",tilgjengelighetLink:l="https://www.oslo.kommune.no/tilgjengelighet/",includeConsent:c=!1,hotjarId:h=null,googleAnalyticsId:m=null,devMode:D=!1,cookieDomain:C=null,cookieSecure:T=null,cookieExpiryDays:$=null,onToggleConsent:N=L=>{console.log(L.detail)},className:R})=>{const L=[R,"pkt-footer-simple"].filter(Boolean).join(" ");return O.jsx("footer",{className:L,"data-mode":"dark",children:O.jsx("div",{className:"pkt-footer-simple__container",children:O.jsxs("ul",{className:"pkt-footer-simple__list",children:[r.map((j,J)=>O.jsx("li",{className:"pkt-footer-simple__list-item",children:O.jsxs("a",{className:`pkt-footer-simple__link ${j.external?" pkt-link--external":""}`,href:j.href,target:j.openInNewTab||n?"_blank":"_self",rel:j.openInNewTab||n?"noopener noreferrer":void 0,children:[O.jsx(or,{className:"pkt-footer-simple__link-icon",name:"chevron-right"}),j.text]})},J)),O.jsx("li",{className:"pkt-footer-simple__list-item",children:O.jsxs("a",{className:"pkt-footer-simple__link",href:i,target:n?"_blank":"_self",rel:n?"noopener noreferrer":void 0,children:[O.jsx(or,{className:"pkt-footer-simple__link-icon",name:"chevron-right"}),"Personvern og informasjonskapsler"]})}),O.jsx("li",{className:"pkt-footer-simple__list-item",children:O.jsxs("a",{className:"pkt-footer-simple__link",href:l,target:n?"_blank":"_self",rel:n?"noopener noreferrer":void 0,children:[O.jsx(or,{className:"pkt-footer-simple__link-icon",name:"chevron-right"}),"Tilgjengelighet"]})}),c&&O.jsx("li",{className:"pkt-footer-simple__list-item",children:O.jsx(ib,{triggerType:"footerlink",hotjarId:h,googleAnalyticsId:m,devMode:D,cookieDomain:C,cookieSecure:T,cookieExpiryDays:$,onToggleConsent:N})})]})})})};var Zx={exports:{}};/*!
1431
1431
  Copyright (c) 2018 Jed Watson.
1432
1432
  Licensed under the MIT License (MIT), see
1433
1433
  http://jedwatson.github.io/classnames
1434
- */(function(r){(function(){var n={}.hasOwnProperty;function i(){for(var h="",m=0;m<arguments.length;m++){var D=arguments[m];D&&(h=c(h,l(D)))}return h}function l(h){if(typeof h=="string"||typeof h=="number")return h;if(typeof h!="object")return"";if(Array.isArray(h))return i.apply(null,h);if(h.toString!==Object.prototype.toString&&!h.toString.toString().includes("[native code]"))return h.toString();var m="";for(var D in h)n.call(h,D)&&h[D]&&(m=c(m,D));return m}function c(h,m){return m?h?h+" "+m:h+m:h}r.exports?(i.default=i,r.exports=i):window.classNames=i})()})(Zx);var kR=Zx.exports;const ml=Iy(kR),wR=$e.forwardRef(({className:r,logoLink:n="https://www.oslo.kommune.no/",serviceName:i,fixed:l=!0,scrollToHide:c=!0,user:h,userMenu:m,representing:D,userOptions:C,userMenuFooter:T,canChangeRepresentation:$=!0,showMenuButton:N=!1,showLogOutButton:R=!1,openMenu:L,logOut:j,changeRepresentation:J,children:G,...Se},q)=>{const W=$e.useMemo(()=>typeof(h==null?void 0:h.lastLoggedIn)=="string"?h.lastLoggedIn:h!=null&&h.lastLoggedIn?new Date(h.lastLoggedIn).toLocaleString("nb-NO",{year:"numeric",month:"long",day:"numeric"}):"",[h]),[Z,X]=$e.useState(!1),[ae,pe]=$e.useState(0),[Te,be]=$e.useState(!1),Ge=$e.useRef(null);$e.useEffect(()=>(document&&(document.addEventListener("mouseup",Xe),window.addEventListener("scroll",nt)),()=>{document&&(document.removeEventListener("mouseup",Xe),window.removeEventListener("scroll",nt))}));const qe=()=>{be(!Te)},Xe=He=>{Ge.current&&!Ge.current.contains(He.target)&&be(!1)},nt=()=>{if(c){const He=window.pageYOffset||document.documentElement.scrollTop;if(He<0||Math.abs(He-ae)<60)return;X(He>ae),pe(He)}};return O.jsxs("header",{...Se,id:"pkt-header","data-testid":"pkt-header","aria-label":"Topp",className:ml(r,"pkt-header",{"pkt-header--fixed":l,"pkt-header--scroll-to-hide":c,"pkt-header--hidden":Z}),ref:q,children:[O.jsxs("div",{className:"pkt-header__logo",children:[typeof n=="string"?O.jsx("a",{"aria-label":"Tilbake til forside",className:"pkt-header__logo-link",href:n,children:O.jsx(or,{name:"oslologo",className:"pkt-header__logo-svg","aria-hidden":"true",path:"https://punkt-cdn.oslo.kommune.no/12.42/logos/"})}):O.jsx("button",{"aria-label":"Tilbake til forside",className:"pkt-link-button pkt-link pkt-header__logo-link",onClick:n,children:O.jsx(or,{name:"oslologo",className:"pkt-header__logo-svg","aria-hidden":"true",path:"https://punkt-cdn.oslo.kommune.no/12.42/logos/"})}),O.jsx("span",{className:"pkt-header__logo-service",translate:"no",children:i})]}),O.jsx("nav",{className:"pkt-header__actions",children:O.jsxs("ul",{className:"pkt-header__actions-row",children:[N&&O.jsx("li",{children:O.jsx($d,{className:"pkt-header__menu-btn",skin:"secondary",variant:"icon-right",iconName:"menu",onClick:L,children:"Meny"})}),(h||D)&&O.jsxs("li",{"data-testid":"usermenu",className:`pkt-header--has-dropdown ${Te&&!Z?"pkt-header--open-dropdown":""}`,ref:Ge,children:[O.jsxs("button",{className:"pkt-header__user-btn pkt-btn pkt-btn--secondary pkt-btn--icons-right-and-left",type:"button",role:"button","aria-controls":"pktUserDropdown","aria-expanded":Te,onClick:qe,children:[O.jsx(or,{name:"user",className:"pkt-btn__icon"}),O.jsx("span",{className:"pkt-header__user-fullname",translate:"no",children:(D==null?void 0:D.name)||(h==null?void 0:h.name)}),O.jsx("span",{className:"pkt-header__user-shortname",translate:"no",children:(D==null?void 0:D.shortname)||(h==null?void 0:h.shortname)}),O.jsx(or,{name:"chevron-thin-down",className:"pkt-btn--closed"}),O.jsx(or,{name:"chevron-thin-up",className:"pkt-btn--open"})]}),O.jsxs("ul",{id:"pktUserDropdown",className:"pkt-header__dropdown pkt-user-menu",children:[h&&O.jsxs("li",{children:[O.jsx("div",{className:"pkt-user-menu__label",children:"Pålogget som"}),O.jsx("div",{className:"pkt-user-menu__name",translate:"no",children:h.name}),h.lastLoggedIn&&O.jsxs("div",{className:"pkt-user-menu__last-logged-in",children:["Sist pålogget: ",O.jsx("time",{children:W})]})]}),m&&O.jsx("li",{children:O.jsx("ul",{className:"pkt-list",children:m.map((He,dt)=>O.jsx("li",{children:typeof He.target=="string"?O.jsxs("a",{href:He.target,className:"pkt-link",children:[He.iconName&&O.jsx(or,{name:He.iconName,className:"pkt-link__icon"}),He.title]}):O.jsxs("button",{className:"pkt-link-button pkt-link",onClick:He.target,children:[He.iconName&&O.jsx(or,{name:He.iconName,className:"pkt-link__icon"}),He.title]})},`userMenu-${dt}`))})}),(D||$)&&O.jsxs("li",{children:[D&&O.jsxs(O.Fragment,{children:[O.jsx("div",{className:"pkt-user-menu__label",children:"Representerer"}),O.jsx("div",{className:"pkt-user-menu__name",translate:"no",children:D.name}),D.orgNumber&&O.jsxs("div",{className:"pkt-user-menu__org-number",children:["Org.nr. ",D.orgNumber]})]}),O.jsx("ul",{className:"pkt-list mt-size-16",children:$&&O.jsx("li",{children:O.jsxs("button",{className:"pkt-link-button pkt-link",onClick:J,children:[O.jsx(or,{name:"cogwheel",className:"pkt-link__icon"}),"Endre organisasjon"]})})})]}),O.jsx("li",{children:O.jsx("ul",{className:"pkt-list",children:(C||!R)&&O.jsxs(O.Fragment,{children:[C==null?void 0:C.map((He,dt)=>O.jsx("li",{children:typeof He.target=="string"?O.jsxs("a",{href:He.target,className:"pkt-link",children:[He.iconName&&O.jsx(or,{name:He.iconName,className:"pkt-link__icon"}),He.title]}):O.jsxs("button",{className:"pkt-link-button pkt-link",onClick:He.target,children:[He.iconName&&O.jsx(or,{name:He.iconName,className:"pkt-link__icon"}),He.title]})},`userOptions-${dt}`)),!R&&O.jsx("li",{children:O.jsxs("button",{className:"pkt-link-button pkt-link",onClick:j,children:[O.jsx(or,{name:"exit",className:"pkt-link__icon"}),"Logg ut"]})})]})})}),T&&O.jsx("li",{className:"footer",children:O.jsx("ul",{className:"pkt-list-horizontal bordered",children:T.map((He,dt)=>O.jsx("li",{children:typeof He.target=="string"?O.jsx("a",{href:He.target,className:"pkt-link",children:He.title}):O.jsx("button",{className:"pkt-link-button pkt-link",onClick:He.target,children:He.title})},`userMenuFooter-${dt}`))})})]})]}),G&&O.jsx("li",{children:G}),R&&O.jsx("li",{children:O.jsx($d,{className:"pkt-header__user-btn pkt-header__user-btn-logout",iconName:"exit",role:"button",onClick:j,skin:"secondary",variant:"icon-right",children:"Logg ut"})})]})})]})}),DR=zr({tagName:"pkt-helptext",elementClass:gc,react:$e,displayName:"PktHelptext",events:{onToggleHelpText:"toggleHelpText"}}),e_=$e.forwardRef(({children:r,...n},i)=>O.jsx(DR,{...n,ref:i,children:O.jsx("div",{className:"pkt-contents",children:r})}));e_.displayName="PktHelptext";const t_=$e.forwardRef(({label:r,id:n,children:i,...l},c)=>O.jsxs("div",{className:"pkt-form-group",children:[O.jsx("label",{htmlFor:n,className:"pkt-form-label",children:r}),O.jsx("input",{className:"pkt-form-input",id:n,...l,ref:c}),i]}));t_.displayName="PktInput";const SR=zr({tagName:"pkt-input-wrapper",elementClass:_r,react:$e,displayName:"PktInputWrapper",events:{onToggleHelpText:"toggleHelpText"}}),n_=$e.forwardRef(({children:r,helptext:n,...i},l)=>O.jsxs(SR,{ref:l,...i,children:[O.jsx("div",{className:"pkt-contents",slot:"helptext",children:n}),O.jsx("div",{className:"pkt-contents",children:r})]})),CR=zr({tagName:"pkt-link",elementClass:Td,react:$e,displayName:"PktLink"}),r_=$e.forwardRef(({children:r,...n},i)=>O.jsx(CR,{...n,ref:i,children:O.jsx("span",{className:"pkt-contents",children:r})}));r_.displayName="PktLink";const xR=zr({tagName:"pkt-linkcard",elementClass:vc,react:$e,displayName:"PktLinkCard",events:{}}),a_=$e.forwardRef(({children:r,...n},i)=>O.jsx(xR,{ref:i,...n,children:O.jsx("div",{className:"pkt-contents",children:r})}));a_.displayName="PktLinkCard";const _R=zr({tagName:"pkt-loader",elementClass:pl,react:$e,displayName:"PktLoader",events:{}}),i_=$e.forwardRef(({children:r,...n},i)=>O.jsx(_R,{...n,ref:i,children:O.jsx("div",{className:"pkt-contents",children:r})}));i_.displayName="PktLoader";const ER=zr({tagName:"pkt-messagebox",elementClass:Fd,react:$e,displayName:"PktMessagebox",events:{onClose:"close"}}),o_=$e.forwardRef(({children:r,...n},i)=>O.jsx(ER,{...n,ref:i,children:O.jsx("div",{className:"pkt-contents",children:r})}));o_.displayName="PktMessagebox";const TR=zr({tagName:"pkt-modal",elementClass:Qo,react:$e,displayName:"PktModal",events:{}}),s_=$e.forwardRef(({children:r,...n},i)=>O.jsx(TR,{...n,ref:i,children:O.jsx("div",{className:"pkt-contents",children:r})}));s_.displayName="PktModal";/*!
1434
+ */(function(r){(function(){var n={}.hasOwnProperty;function i(){for(var h="",m=0;m<arguments.length;m++){var D=arguments[m];D&&(h=c(h,l(D)))}return h}function l(h){if(typeof h=="string"||typeof h=="number")return h;if(typeof h!="object")return"";if(Array.isArray(h))return i.apply(null,h);if(h.toString!==Object.prototype.toString&&!h.toString.toString().includes("[native code]"))return h.toString();var m="";for(var D in h)n.call(h,D)&&h[D]&&(m=c(m,D));return m}function c(h,m){return m?h?h+" "+m:h+m:h}r.exports?(i.default=i,r.exports=i):window.classNames=i})()})(Zx);var kR=Zx.exports;const ml=Iy(kR),wR=$e.forwardRef(({className:r,logoLink:n="https://www.oslo.kommune.no/",serviceName:i,fixed:l=!0,scrollToHide:c=!0,user:h,userMenu:m,representing:D,userOptions:C,userMenuFooter:T,canChangeRepresentation:$=!0,showMenuButton:N=!1,showLogOutButton:R=!1,openMenu:L,logOut:j,changeRepresentation:J,children:G,...Se},q)=>{const W=$e.useMemo(()=>typeof(h==null?void 0:h.lastLoggedIn)=="string"?h.lastLoggedIn:h!=null&&h.lastLoggedIn?new Date(h.lastLoggedIn).toLocaleString("nb-NO",{year:"numeric",month:"long",day:"numeric"}):"",[h]),[Z,X]=$e.useState(!1),[ae,pe]=$e.useState(0),[Te,be]=$e.useState(!1),Ge=$e.useRef(null);$e.useEffect(()=>(document&&(document.addEventListener("mouseup",Xe),window.addEventListener("scroll",nt)),()=>{document&&(document.removeEventListener("mouseup",Xe),window.removeEventListener("scroll",nt))}));const qe=()=>{be(!Te)},Xe=He=>{Ge.current&&!Ge.current.contains(He.target)&&be(!1)},nt=()=>{if(c){const He=window.pageYOffset||document.documentElement.scrollTop;if(He<0||Math.abs(He-ae)<60)return;X(He>ae),pe(He)}};return O.jsxs("header",{...Se,id:"pkt-header","data-testid":"pkt-header","aria-label":"Topp",className:ml(r,"pkt-header",{"pkt-header--fixed":l,"pkt-header--scroll-to-hide":c,"pkt-header--hidden":Z}),ref:q,children:[O.jsxs("div",{className:"pkt-header__logo",children:[typeof n=="string"?O.jsx("a",{"aria-label":"Tilbake til forside",className:"pkt-header__logo-link",href:n,children:O.jsx(or,{name:"oslologo",className:"pkt-header__logo-svg","aria-hidden":"true",path:"https://punkt-cdn.oslo.kommune.no/12.43/logos/"})}):O.jsx("button",{"aria-label":"Tilbake til forside",className:"pkt-link-button pkt-link pkt-header__logo-link",onClick:n,children:O.jsx(or,{name:"oslologo",className:"pkt-header__logo-svg","aria-hidden":"true",path:"https://punkt-cdn.oslo.kommune.no/12.43/logos/"})}),O.jsx("span",{className:"pkt-header__logo-service",translate:"no",children:i})]}),O.jsx("nav",{className:"pkt-header__actions",children:O.jsxs("ul",{className:"pkt-header__actions-row",children:[N&&O.jsx("li",{children:O.jsx($d,{className:"pkt-header__menu-btn",skin:"secondary",variant:"icon-right",iconName:"menu",onClick:L,children:"Meny"})}),(h||D)&&O.jsxs("li",{"data-testid":"usermenu",className:`pkt-header--has-dropdown ${Te&&!Z?"pkt-header--open-dropdown":""}`,ref:Ge,children:[O.jsxs("button",{className:"pkt-header__user-btn pkt-btn pkt-btn--secondary pkt-btn--icons-right-and-left",type:"button",role:"button","aria-controls":"pktUserDropdown","aria-expanded":Te,onClick:qe,children:[O.jsx(or,{name:"user",className:"pkt-btn__icon"}),O.jsx("span",{className:"pkt-header__user-fullname",translate:"no",children:(D==null?void 0:D.name)||(h==null?void 0:h.name)}),O.jsx("span",{className:"pkt-header__user-shortname",translate:"no",children:(D==null?void 0:D.shortname)||(h==null?void 0:h.shortname)}),O.jsx(or,{name:"chevron-thin-down",className:"pkt-btn--closed"}),O.jsx(or,{name:"chevron-thin-up",className:"pkt-btn--open"})]}),O.jsxs("ul",{id:"pktUserDropdown",className:"pkt-header__dropdown pkt-user-menu",children:[h&&O.jsxs("li",{children:[O.jsx("div",{className:"pkt-user-menu__label",children:"Pålogget som"}),O.jsx("div",{className:"pkt-user-menu__name",translate:"no",children:h.name}),h.lastLoggedIn&&O.jsxs("div",{className:"pkt-user-menu__last-logged-in",children:["Sist pålogget: ",O.jsx("time",{children:W})]})]}),m&&O.jsx("li",{children:O.jsx("ul",{className:"pkt-list",children:m.map((He,dt)=>O.jsx("li",{children:typeof He.target=="string"?O.jsxs("a",{href:He.target,className:"pkt-link",children:[He.iconName&&O.jsx(or,{name:He.iconName,className:"pkt-link__icon"}),He.title]}):O.jsxs("button",{className:"pkt-link-button pkt-link",onClick:He.target,children:[He.iconName&&O.jsx(or,{name:He.iconName,className:"pkt-link__icon"}),He.title]})},`userMenu-${dt}`))})}),(D||$)&&O.jsxs("li",{children:[D&&O.jsxs(O.Fragment,{children:[O.jsx("div",{className:"pkt-user-menu__label",children:"Representerer"}),O.jsx("div",{className:"pkt-user-menu__name",translate:"no",children:D.name}),D.orgNumber&&O.jsxs("div",{className:"pkt-user-menu__org-number",children:["Org.nr. ",D.orgNumber]})]}),O.jsx("ul",{className:"pkt-list mt-size-16",children:$&&O.jsx("li",{children:O.jsxs("button",{className:"pkt-link-button pkt-link",onClick:J,children:[O.jsx(or,{name:"cogwheel",className:"pkt-link__icon"}),"Endre organisasjon"]})})})]}),O.jsx("li",{children:O.jsx("ul",{className:"pkt-list",children:(C||!R)&&O.jsxs(O.Fragment,{children:[C==null?void 0:C.map((He,dt)=>O.jsx("li",{children:typeof He.target=="string"?O.jsxs("a",{href:He.target,className:"pkt-link",children:[He.iconName&&O.jsx(or,{name:He.iconName,className:"pkt-link__icon"}),He.title]}):O.jsxs("button",{className:"pkt-link-button pkt-link",onClick:He.target,children:[He.iconName&&O.jsx(or,{name:He.iconName,className:"pkt-link__icon"}),He.title]})},`userOptions-${dt}`)),!R&&O.jsx("li",{children:O.jsxs("button",{className:"pkt-link-button pkt-link",onClick:j,children:[O.jsx(or,{name:"exit",className:"pkt-link__icon"}),"Logg ut"]})})]})})}),T&&O.jsx("li",{className:"footer",children:O.jsx("ul",{className:"pkt-list-horizontal bordered",children:T.map((He,dt)=>O.jsx("li",{children:typeof He.target=="string"?O.jsx("a",{href:He.target,className:"pkt-link",children:He.title}):O.jsx("button",{className:"pkt-link-button pkt-link",onClick:He.target,children:He.title})},`userMenuFooter-${dt}`))})})]})]}),G&&O.jsx("li",{children:G}),R&&O.jsx("li",{children:O.jsx($d,{className:"pkt-header__user-btn pkt-header__user-btn-logout",iconName:"exit",role:"button",onClick:j,skin:"secondary",variant:"icon-right",children:"Logg ut"})})]})})]})}),DR=zr({tagName:"pkt-helptext",elementClass:gc,react:$e,displayName:"PktHelptext",events:{onToggleHelpText:"toggleHelpText"}}),e_=$e.forwardRef(({children:r,...n},i)=>O.jsx(DR,{...n,ref:i,children:O.jsx("div",{className:"pkt-contents",children:r})}));e_.displayName="PktHelptext";const t_=$e.forwardRef(({label:r,id:n,children:i,...l},c)=>O.jsxs("div",{className:"pkt-form-group",children:[O.jsx("label",{htmlFor:n,className:"pkt-form-label",children:r}),O.jsx("input",{className:"pkt-form-input",id:n,...l,ref:c}),i]}));t_.displayName="PktInput";const SR=zr({tagName:"pkt-input-wrapper",elementClass:_r,react:$e,displayName:"PktInputWrapper",events:{onToggleHelpText:"toggleHelpText"}}),n_=$e.forwardRef(({children:r,helptext:n,...i},l)=>O.jsxs(SR,{ref:l,...i,children:[O.jsx("div",{className:"pkt-contents",slot:"helptext",children:n}),O.jsx("div",{className:"pkt-contents",children:r})]})),CR=zr({tagName:"pkt-link",elementClass:Td,react:$e,displayName:"PktLink"}),r_=$e.forwardRef(({children:r,...n},i)=>O.jsx(CR,{...n,ref:i,children:O.jsx("span",{className:"pkt-contents",children:r})}));r_.displayName="PktLink";const xR=zr({tagName:"pkt-linkcard",elementClass:vc,react:$e,displayName:"PktLinkCard",events:{}}),a_=$e.forwardRef(({children:r,...n},i)=>O.jsx(xR,{ref:i,...n,children:O.jsx("div",{className:"pkt-contents",children:r})}));a_.displayName="PktLinkCard";const _R=zr({tagName:"pkt-loader",elementClass:pl,react:$e,displayName:"PktLoader",events:{}}),i_=$e.forwardRef(({children:r,...n},i)=>O.jsx(_R,{...n,ref:i,children:O.jsx("div",{className:"pkt-contents",children:r})}));i_.displayName="PktLoader";const ER=zr({tagName:"pkt-messagebox",elementClass:Fd,react:$e,displayName:"PktMessagebox",events:{onClose:"close"}}),o_=$e.forwardRef(({children:r,...n},i)=>O.jsx(ER,{...n,ref:i,children:O.jsx("div",{className:"pkt-contents",children:r})}));o_.displayName="PktMessagebox";const TR=zr({tagName:"pkt-modal",elementClass:Qo,react:$e,displayName:"PktModal",events:{}}),s_=$e.forwardRef(({children:r,...n},i)=>O.jsx(TR,{...n,ref:i,children:O.jsx("div",{className:"pkt-contents",children:r})}));s_.displayName="PktModal";/*!
1435
1435
  * is-plain-object <https://github.com/jonschlinkert/is-plain-object>
1436
1436
  *
1437
1437
  * Copyright (c) 2014-2017, Jon Schlinkert.
@@ -1542,5 +1542,5 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1542
1542
  * @public
1543
1543
  */var i=function(l){var c=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,h=0,m={},D={manual:l.Prism&&l.Prism.manual,disableWorkerMessageHandler:l.Prism&&l.Prism.disableWorkerMessageHandler,util:{encode:function q(W){return W instanceof C?new C(W.type,q(W.content),W.alias):Array.isArray(W)?W.map(q):W.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(q){return Object.prototype.toString.call(q).slice(8,-1)},objId:function(q){return q.__id||Object.defineProperty(q,"__id",{value:++h}),q.__id},clone:function q(W,Z){Z=Z||{};var X,ae;switch(D.util.type(W)){case"Object":if(ae=D.util.objId(W),Z[ae])return Z[ae];X={},Z[ae]=X;for(var pe in W)W.hasOwnProperty(pe)&&(X[pe]=q(W[pe],Z));return X;case"Array":return ae=D.util.objId(W),Z[ae]?Z[ae]:(X=[],Z[ae]=X,W.forEach(function(Te,be){X[be]=q(Te,Z)}),X);default:return W}},getLanguage:function(q){for(;q;){var W=c.exec(q.className);if(W)return W[1].toLowerCase();q=q.parentElement}return"none"},setLanguage:function(q,W){q.className=q.className.replace(RegExp(c,"gi"),""),q.classList.add("language-"+W)},currentScript:function(){if(typeof document>"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(X){var q=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(X.stack)||[])[1];if(q){var W=document.getElementsByTagName("script");for(var Z in W)if(W[Z].src==q)return W[Z]}return null}},isActive:function(q,W,Z){for(var X="no-"+W;q;){var ae=q.classList;if(ae.contains(W))return!0;if(ae.contains(X))return!1;q=q.parentElement}return!!Z}},languages:{plain:m,plaintext:m,text:m,txt:m,extend:function(q,W){var Z=D.util.clone(D.languages[q]);for(var X in W)Z[X]=W[X];return Z},insertBefore:function(q,W,Z,X){X=X||D.languages;var ae=X[q],pe={};for(var Te in ae)if(ae.hasOwnProperty(Te)){if(Te==W)for(var be in Z)Z.hasOwnProperty(be)&&(pe[be]=Z[be]);Z.hasOwnProperty(Te)||(pe[Te]=ae[Te])}var Ge=X[q];return X[q]=pe,D.languages.DFS(D.languages,function(qe,Xe){Xe===Ge&&qe!=q&&(this[qe]=pe)}),pe},DFS:function q(W,Z,X,ae){ae=ae||{};var pe=D.util.objId;for(var Te in W)if(W.hasOwnProperty(Te)){Z.call(W,Te,W[Te],X||Te);var be=W[Te],Ge=D.util.type(be);Ge==="Object"&&!ae[pe(be)]?(ae[pe(be)]=!0,q(be,Z,null,ae)):Ge==="Array"&&!ae[pe(be)]&&(ae[pe(be)]=!0,q(be,Z,Te,ae))}}},plugins:{},highlightAll:function(q,W){D.highlightAllUnder(document,q,W)},highlightAllUnder:function(q,W,Z){var X={callback:Z,container:q,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};D.hooks.run("before-highlightall",X),X.elements=Array.prototype.slice.apply(X.container.querySelectorAll(X.selector)),D.hooks.run("before-all-elements-highlight",X);for(var ae=0,pe;pe=X.elements[ae++];)D.highlightElement(pe,W===!0,X.callback)},highlightElement:function(q,W,Z){var X=D.util.getLanguage(q),ae=D.languages[X];D.util.setLanguage(q,X);var pe=q.parentElement;pe&&pe.nodeName.toLowerCase()==="pre"&&D.util.setLanguage(pe,X);var Te=q.textContent,be={element:q,language:X,grammar:ae,code:Te};function Ge(Xe){be.highlightedCode=Xe,D.hooks.run("before-insert",be),be.element.innerHTML=be.highlightedCode,D.hooks.run("after-highlight",be),D.hooks.run("complete",be),Z&&Z.call(be.element)}if(D.hooks.run("before-sanity-check",be),pe=be.element.parentElement,pe&&pe.nodeName.toLowerCase()==="pre"&&!pe.hasAttribute("tabindex")&&pe.setAttribute("tabindex","0"),!be.code){D.hooks.run("complete",be),Z&&Z.call(be.element);return}if(D.hooks.run("before-highlight",be),!be.grammar){Ge(D.util.encode(be.code));return}if(W&&l.Worker){var qe=new Worker(D.filename);qe.onmessage=function(Xe){Ge(Xe.data)},qe.postMessage(JSON.stringify({language:be.language,code:be.code,immediateClose:!0}))}else Ge(D.highlight(be.code,be.grammar,be.language))},highlight:function(q,W,Z){var X={code:q,grammar:W,language:Z};if(D.hooks.run("before-tokenize",X),!X.grammar)throw new Error('The language "'+X.language+'" has no grammar.');return X.tokens=D.tokenize(X.code,X.grammar),D.hooks.run("after-tokenize",X),C.stringify(D.util.encode(X.tokens),X.language)},tokenize:function(q,W){var Z=W.rest;if(Z){for(var X in Z)W[X]=Z[X];delete W.rest}var ae=new N;return R(ae,ae.head,q),$(q,ae,W,ae.head,0),j(ae)},hooks:{all:{},add:function(q,W){var Z=D.hooks.all;Z[q]=Z[q]||[],Z[q].push(W)},run:function(q,W){var Z=D.hooks.all[q];if(!(!Z||!Z.length))for(var X=0,ae;ae=Z[X++];)ae(W)}},Token:C};l.Prism=D;function C(q,W,Z,X){this.type=q,this.content=W,this.alias=Z,this.length=(X||"").length|0}C.stringify=function q(W,Z){if(typeof W=="string")return W;if(Array.isArray(W)){var X="";return W.forEach(function(Ge){X+=q(Ge,Z)}),X}var ae={type:W.type,content:q(W.content,Z),tag:"span",classes:["token",W.type],attributes:{},language:Z},pe=W.alias;pe&&(Array.isArray(pe)?Array.prototype.push.apply(ae.classes,pe):ae.classes.push(pe)),D.hooks.run("wrap",ae);var Te="";for(var be in ae.attributes)Te+=" "+be+'="'+(ae.attributes[be]||"").replace(/"/g,"&quot;")+'"';return"<"+ae.tag+' class="'+ae.classes.join(" ")+'"'+Te+">"+ae.content+"</"+ae.tag+">"};function T(q,W,Z,X){q.lastIndex=W;var ae=q.exec(Z);if(ae&&X&&ae[1]){var pe=ae[1].length;ae.index+=pe,ae[0]=ae[0].slice(pe)}return ae}function $(q,W,Z,X,ae,pe){for(var Te in Z)if(!(!Z.hasOwnProperty(Te)||!Z[Te])){var be=Z[Te];be=Array.isArray(be)?be:[be];for(var Ge=0;Ge<be.length;++Ge){if(pe&&pe.cause==Te+","+Ge)return;var qe=be[Ge],Xe=qe.inside,nt=!!qe.lookbehind,He=!!qe.greedy,dt=qe.alias;if(He&&!qe.pattern.global){var Me=qe.pattern.toString().match(/[imsuy]*$/)[0];qe.pattern=RegExp(qe.pattern.source,Me+"g")}for(var Oe=qe.pattern||qe,de=X.next,Le=ae;de!==W.tail&&!(pe&&Le>=pe.reach);Le+=de.value.length,de=de.next){var xe=de.value;if(W.length>q.length)return;if(!(xe instanceof C)){var Q=1,he;if(He){if(he=T(Oe,Le,q,nt),!he||he.index>=q.length)break;var ht=he.index,ot=he.index+he[0].length,rt=Le;for(rt+=de.value.length;ht>=rt;)de=de.next,rt+=de.value.length;if(rt-=de.value.length,Le=rt,de.value instanceof C)continue;for(var Dt=de;Dt!==W.tail&&(rt<ot||typeof Dt.value=="string");Dt=Dt.next)Q++,rt+=Dt.value.length;Q--,xe=q.slice(Le,rt),he.index-=Le}else if(he=T(Oe,0,xe,nt),!he)continue;var ht=he.index,bt=he[0],vt=xe.slice(0,ht),Lt=xe.slice(ht+bt.length),fn=Le+xe.length;pe&&fn>pe.reach&&(pe.reach=fn);var en=de.prev;vt&&(en=R(W,en,vt),Le+=vt.length),L(W,en,Q);var Jn=new C(Te,Xe?D.tokenize(bt,Xe):bt,dt,bt);if(de=R(W,en,Jn),Lt&&R(W,de,Lt),Q>1){var Ot={cause:Te+","+Ge,reach:fn};$(q,W,Z,de.prev,Le,Ot),pe&&Ot.reach>pe.reach&&(pe.reach=Ot.reach)}}}}}}function N(){var q={value:null,prev:null,next:null},W={value:null,prev:q,next:null};q.next=W,this.head=q,this.tail=W,this.length=0}function R(q,W,Z){var X=W.next,ae={value:Z,prev:W,next:X};return W.next=ae,X.prev=ae,q.length++,ae}function L(q,W,Z){for(var X=W.next,ae=0;ae<Z&&X!==q.tail;ae++)X=X.next;W.next=X,X.prev=W,q.length-=ae}function j(q){for(var W=[],Z=q.head.next;Z!==q.tail;)W.push(Z.value),Z=Z.next;return W}if(!l.document)return l.addEventListener&&(D.disableWorkerMessageHandler||l.addEventListener("message",function(q){var W=JSON.parse(q.data),Z=W.language,X=W.code,ae=W.immediateClose;l.postMessage(D.highlight(X,D.languages[Z],Z)),ae&&l.close()},!1)),D;var J=D.util.currentScript();J&&(D.filename=J.src,J.hasAttribute("data-manual")&&(D.manual=!0));function G(){D.manual||D.highlightAll()}if(!D.manual){var Se=document.readyState;Se==="loading"||Se==="interactive"&&J&&J.defer?document.addEventListener("DOMContentLoaded",G):window.requestAnimationFrame?window.requestAnimationFrame(G):window.setTimeout(G,16)}return D}(n);r.exports&&(r.exports=i),typeof Sd<"u"&&(Sd.Prism=i)})($E);var a4=$E.exports,i4=S2;S2.displayName="markup",S2.aliases=["html","mathml","svg","xml","ssml","atom","rss"];function S2(r){r.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},r.languages.markup.tag.inside["attr-value"].inside.entity=r.languages.markup.entity,r.languages.markup.doctype.inside["internal-subset"].inside=r.languages.markup,r.hooks.add("wrap",function(n){n.type==="entity"&&(n.attributes.title=n.content.value.replace(/&amp;/,"&"))}),Object.defineProperty(r.languages.markup.tag,"addInlined",{value:function(i,l){var c={};c["language-"+l]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:r.languages[l]},c.cdata=/^<!\[CDATA\[|\]\]>$/i;var h={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:c}};h["language-"+l]={pattern:/[\s\S]+/,inside:r.languages[l]};var m={};m[i]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return i}),"i"),lookbehind:!0,greedy:!0,inside:h},r.languages.insertBefore("markup","cdata",m)}}),Object.defineProperty(r.languages.markup.tag,"addAttribute",{value:function(n,i){r.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+n+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[i,"language-"+i],inside:r.languages[i]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),r.languages.html=r.languages.markup,r.languages.mathml=r.languages.markup,r.languages.svg=r.languages.markup,r.languages.xml=r.languages.extend("markup",{}),r.languages.ssml=r.languages.xml,r.languages.atom=r.languages.xml,r.languages.rss=r.languages.xml}var o4=C2;C2.displayName="css",C2.aliases=[];function C2(r){(function(n){var i=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;n.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+i.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+i.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+i.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:i,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},n.languages.css.atrule.inside.rest=n.languages.css;var l=n.languages.markup;l&&(l.tag.addInlined("style","css"),l.tag.addAttribute("style","css"))})(r)}var s4=x2;x2.displayName="clike",x2.aliases=[];function x2(r){r.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}var l4=_2;_2.displayName="javascript",_2.aliases=["js"];function _2(r){r.languages.javascript=r.languages.extend("clike",{"class-name":[r.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),r.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,r.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:r.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:r.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:r.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:r.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:r.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),r.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:r.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),r.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),r.languages.markup&&(r.languages.markup.tag.addInlined("script","javascript"),r.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),r.languages.js=r.languages.javascript}var Qg=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof Sd=="object"?Sd:{},u4=x4();Qg.Prism={manual:!0,disableWorkerMessageHandler:!0};var c4=Sj,d4=zj,PE=a4,f4=i4,p4=o4,h4=s4,m4=l4;u4();var E2={}.hasOwnProperty;function NE(){}NE.prototype=PE;var ha=new NE,g4=ha;ha.highlight=y4,ha.register=Kg,ha.alias=v4,ha.registered=b4,ha.listLanguages=k4,Kg(f4),Kg(p4),Kg(h4),Kg(m4),ha.util.encode=S4,ha.Token.stringify=w4;function Kg(r){if(typeof r!="function"||!r.displayName)throw new Error("Expected `function` for `grammar`, got `"+r+"`");ha.languages[r.displayName]===void 0&&r(ha)}function v4(r,n){var i=ha.languages,l=r,c,h,m,D;n&&(l={},l[r]=n);for(c in l)for(h=l[c],h=typeof h=="string"?[h]:h,m=h.length,D=-1;++D<m;)i[h[D]]=i[c]}function y4(r,n){var i=PE.highlight,l;if(typeof r!="string")throw new Error("Expected `string` for `value`, got `"+r+"`");if(ha.util.type(n)==="Object")l=n,n=null;else{if(typeof n!="string")throw new Error("Expected `string` for `name`, got `"+n+"`");if(E2.call(ha.languages,n))l=ha.languages[n];else throw new Error("Unknown language: `"+n+"` is not registered")}return i.call(this,r,l,n)}function b4(r){if(typeof r!="string")throw new Error("Expected `string` for `language`, got `"+r+"`");return E2.call(ha.languages,r)}function k4(){var r=ha.languages,n=[],i;for(i in r)E2.call(r,i)&&typeof r[i]=="object"&&n.push(i);return n}function w4(r,n,i){var l;return typeof r=="string"?{type:"text",value:r}:ha.util.type(r)==="Array"?D4(r,n):(l={type:r.type,content:ha.Token.stringify(r.content,n,i),tag:"span",classes:["token",r.type],attributes:{},language:n,parent:i},r.alias&&(l.classes=l.classes.concat(r.alias)),ha.hooks.run("wrap",l),c4(l.tag+"."+l.classes.join("."),C4(l.attributes),l.content))}function D4(r,n){for(var i=[],l=r.length,c=-1,h;++c<l;)h=r[c],h!==""&&h!==null&&h!==void 0&&i.push(h);for(c=-1,l=i.length;++c<l;)h=i[c],i[c]=ha.Token.stringify(h,n,i);return i}function S4(r){return r}function C4(r){var n;for(n in r)r[n]=d4(r[n]);return r}function x4(){var r="Prism"in Qg,n=r?Qg.Prism:void 0;return i;function i(){r?Qg.Prism=n:delete Qg.Prism,r=void 0,n=void 0}}const T2=Iy(g4);var Zg=iI(T2,{});Zg.registerLanguage=function(r,n){return T2.register(n)},Zg.alias=function(r,n){return T2.alias(r,n)};const RE={'code[class*="language-"]':{color:"black",background:"none",textShadow:"0 1px white",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"black",background:"#f5f2f0",textShadow:"0 1px white",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#b3d4fc"},':not(pre) > code[class*="language-"]':{background:"#f5f2f0",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"slategray"},prolog:{color:"slategray"},doctype:{color:"slategray"},cdata:{color:"slategray"},punctuation:{color:"#999"},namespace:{Opacity:".7"},property:{color:"#905"},tag:{color:"#905"},boolean:{color:"#905"},number:{color:"#905"},constant:{color:"#905"},symbol:{color:"#905"},deleted:{color:"#905"},selector:{color:"#690"},"attr-name":{color:"#690"},string:{color:"#690"},char:{color:"#690"},builtin:{color:"#690"},inserted:{color:"#690"},operator:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},entity:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)",cursor:"help"},url:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".language-css .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".style .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},atrule:{color:"#07a"},"attr-value":{color:"#07a"},keyword:{color:"#07a"},function:{color:"#DD4A68"},"class-name":{color:"#DD4A68"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"bold"},variable:{color:"#e90"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}};var _4=F2;F2.displayName="jsx",F2.aliases=[];function F2(r){(function(n){var i=n.util.clone(n.languages.javascript),l=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,c=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,h=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function m(T,$){return T=T.replace(/<S>/g,function(){return l}).replace(/<BRACES>/g,function(){return c}).replace(/<SPREAD>/g,function(){return h}),RegExp(T,$)}h=m(h).source,n.languages.jsx=n.languages.extend("markup",i),n.languages.jsx.tag.pattern=m(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),n.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,n.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,n.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,n.languages.jsx.tag.inside.comment=i.comment,n.languages.insertBefore("inside","attr-name",{spread:{pattern:m(/<SPREAD>/.source),inside:n.languages.jsx}},n.languages.jsx.tag),n.languages.insertBefore("inside","special-attr",{script:{pattern:m(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:n.languages.jsx}}},n.languages.jsx.tag);var D=function(T){return T?typeof T=="string"?T:typeof T.content=="string"?T.content:T.content.map(D).join(""):""},C=function(T){for(var $=[],N=0;N<T.length;N++){var R=T[N],L=!1;if(typeof R!="string"&&(R.type==="tag"&&R.content[0]&&R.content[0].type==="tag"?R.content[0].content[0].content==="</"?$.length>0&&$[$.length-1].tagName===D(R.content[0].content[1])&&$.pop():R.content[R.content.length-1].content==="/>"||$.push({tagName:D(R.content[0].content[1]),openedBraces:0}):$.length>0&&R.type==="punctuation"&&R.content==="{"?$[$.length-1].openedBraces++:$.length>0&&$[$.length-1].openedBraces>0&&R.type==="punctuation"&&R.content==="}"?$[$.length-1].openedBraces--:L=!0),(L||typeof R=="string")&&$.length>0&&$[$.length-1].openedBraces===0){var j=D(R);N<T.length-1&&(typeof T[N+1]=="string"||T[N+1].type==="plain-text")&&(j+=D(T[N+1]),T.splice(N+1,1)),N>0&&(typeof T[N-1]=="string"||T[N-1].type==="plain-text")&&(j=D(T[N-1])+j,T.splice(N-1,1),N--),T[N]=new n.Token("plain-text",j,null,j)}R.content&&typeof R.content!="string"&&C(R.content)}};n.hooks.add("after-tokenize",function(T){T.language!=="jsx"&&T.language!=="tsx"||C(T.tokens)})})(r)}const E4=Iy(_4),T4=zr({tagName:"pkt-tag",elementClass:Es,react:$e,displayName:"PktTag",events:{onClose:"close"}}),Yh=$e.forwardRef(({children:r,...n},i)=>O.jsx(T4,{ref:i,...n,children:O.jsx("div",{className:"pkt-contents",children:r})}));Yh.displayName="PktTag";const LE=$e.forwardRef(({arrowNav:r=!0,tabs:n,onTabSelected:i},l)=>{const c=$e.useRef([]);$e.useEffect(()=>{c.current=c.current.slice(0,n.length)},[n]);const h=(D,C)=>{C.action&&C.action(D),i&&i(D)},m=(D,C)=>{var T,$;r&&(C.code==="ArrowLeft"&&D!==0&&((T=c.current[D-1])==null||T.focus()),C.code==="ArrowRight"&&D<n.length-1&&(($=c.current[D+1])==null||$.focus()),(C.code==="ArrowDown"||C.code==="Space")&&h(D,n[D]))};return O.jsx("div",{className:"pkt-tabs",ref:l,children:O.jsx("div",{className:"pkt-tabs__list",role:r?"tablist":"navigation",children:n.map((D,C)=>O.jsx($e.Fragment,{children:D.href?O.jsxs("a",{"aria-selected":!!D.active,role:r?"tab":void 0,href:D.href,"aria-controls":D.controls,className:`pkt-tabs__link ${D.active?"active":""}`,onKeyUp:T=>m(C,T),onClick:()=>h(C,D),tabIndex:D.active||!r?void 0:-1,ref:T=>{c.current[C]=T},children:[D.icon&&O.jsx(or,{name:D.icon,className:"pkt-icon--small"}),D.text,D.tag&&O.jsx(Yh,{skin:D.tag.skin,size:"small",children:D.tag.text})]}):O.jsxs("button",{"aria-selected":!!D.active,role:r?"tab":void 0,type:"button","aria-controls":D.controls,className:`pkt-tabs__button pkt-link-button ${D.active?"active":""}`,onKeyUp:T=>m(C,T),onClick:()=>h(C,D),tabIndex:D.active||!r?void 0:-1,ref:T=>{c.current[C]=T},children:[D.icon&&O.jsx(or,{name:D.icon,className:"pkt-icon--small"}),D.text,D.tag&&O.jsx(Yh,{skin:D.tag.skin,size:"small",children:D.tag.text})]},"b-"+C)},C))})})}),F4=zr({tagName:"pkt-textinput",elementClass:As,react:$e,displayName:"PktTextinput",events:{onChange:"change",onInput:"input",onBlur:"blur",onFocus:"focus",onValueChange:"valueChange",onToggleHelpText:"toggleHelpText"}}),ev=$e.forwardRef(({helptext:r,...n},i)=>O.jsx(F4,{...n,ref:i,children:r&&O.jsx("div",{slot:"helptext",className:"pkt-contents",children:r})}));ev.displayName="PktTextinput";const Pb=({className:r,compact:n=!1,skin:i="basic",responsiveView:l=!0,children:c})=>O.jsx("table",{"data-testid":"pkt-table",className:ml(r,"pkt-table",{"pkt-table--responsive":l,"pkt-table--compact":n,"pkt-table--basic":i==="basic","pkt-table--zebra-blue":i==="zebra-blue"}),role:"table",children:c}),Nb=({className:r,children:n})=>O.jsx("thead",{className:ml(r,"pkt-table__header",{}),role:"rowgroup",children:n}),Rb=({children:r,className:n})=>O.jsx("tbody",{className:ml(n,"pkt-table__body",{}),role:"rowgroup",children:r}),rp=({className:r,children:n})=>O.jsx("tr",{className:ml(r,"pkt-table__row",{}),role:"row",children:n}),gl=({className:r,children:n})=>O.jsx("th",{className:ml(r,"pkt-table__header-cell",{}),role:"columnheader",children:n}),Zo=({children:r,className:n,dataLabel:i})=>O.jsx("td",{className:ml(n,"pkt-table__data-cell",{}),"data-label":i,role:"cell","data-testid":"pkt-table__data-cell",children:r}),A4=({specs:r})=>{const n=l=>Array.isArray(l)?l.join(`
1544
1544
  `):l,i=l=>typeof l=="boolean"?l?"true":"false":l;return O.jsxs(O.Fragment,{children:[O.jsx("h2",{children:"Egenskaper"}),O.jsxs(Pb,{compact:!0,children:[O.jsx(Nb,{children:O.jsxs(rp,{children:[O.jsx(gl,{children:"Prop"}),O.jsx(gl,{children:"Navn"}),O.jsx(gl,{children:"Beskrivelse"}),O.jsx(gl,{children:"Type"}),O.jsx(gl,{children:"Standardverdi"})]})}),O.jsx(Rb,{children:Object.entries(r.props||{}).map(([l,c])=>O.jsxs(rp,{children:[O.jsx(Zo,{dataLabel:"Prop",children:O.jsx("pre",{children:l})}),O.jsx(Zo,{dataLabel:"Navn",children:!Array.isArray(c)&&c.name||l}),Array.isArray(c)?O.jsxs(O.Fragment,{children:[O.jsx(Zo,{dataLabel:"Beskrivelse"}),O.jsx(Zo,{dataLabel:"Type",children:O.jsx("pre",{children:c.join(`
1545
- `)})})]}):O.jsxs(O.Fragment,{children:[O.jsx(Zo,{dataLabel:"Beskrivelse",children:O.jsx("span",{dangerouslySetInnerHTML:{__html:c.description||""}})}),O.jsx(Zo,{dataLabel:"Type",children:O.jsx("pre",{children:c.type&&n(c.type)})}),O.jsx(Zo,{dataLabel:"Standardverdi",children:O.jsx("pre",{children:i(c.default)})})]})]},l))})]}),r.events&&O.jsxs(O.Fragment,{children:[O.jsx("h2",{children:"Hendelser / handlinger"}),O.jsxs(Pb,{compact:!0,children:[O.jsx(Nb,{children:O.jsxs(rp,{children:[O.jsx(gl,{children:"Event"}),O.jsx(gl,{children:"Beskrivelse"}),O.jsx(gl,{children:"Type"})]})}),O.jsx(Rb,{children:Object.entries(r.events||{}).map(([l,c])=>O.jsxs(rp,{children:[O.jsx(Zo,{dataLabel:"Event",children:O.jsx("pre",{children:l})}),O.jsx(Zo,{dataLabel:"Beskrivelse",children:O.jsx("span",{dangerouslySetInnerHTML:{__html:c.description||""}})}),O.jsx(Zo,{dataLabel:"Type",children:c.type})]},l))})]})]}),r.slots&&O.jsxs(O.Fragment,{children:[O.jsx("h2",{children:"Innhold"}),O.jsxs(Pb,{compact:!0,children:[O.jsx(Nb,{children:O.jsxs(rp,{children:[O.jsx(gl,{children:"Slot"}),O.jsx(gl,{children:"Beskrivelse"})]})}),O.jsx(Rb,{children:Object.entries(r.slots||{}).map(([l,c])=>O.jsxs(rp,{children:[O.jsx(Zo,{dataLabel:"Slot",children:O.jsx("pre",{children:l})}),O.jsx(Zo,{dataLabel:"Beskrivelse",children:O.jsx("span",{dangerouslySetInnerHTML:{__html:c.description||""}})})]},l))})]})]})]})},$4=zr({tagName:"pkt-select",elementClass:Nh,react:$e,displayName:"PktSelect",events:{onChange:"change",onInput:"input",onBlur:"blur",onFocus:"focus",onValueChange:"valueChange",onToggleHelpText:"toggleHelpText"}}),Lb=$e.forwardRef(({children:r,helptext:n,...i},l)=>O.jsxs($4,{ref:l,...i,children:[n&&O.jsx("div",{slot:"helptext",className:"pkt-contents",children:n}),r]}));Lb.displayName="PktSelect";const P4=[{id:"24h",fn:"24h.svg",cat:"services"},{id:"access-prohibited",fn:"access-prohibited.svg",cat:"uncategorized"},{id:"accessibility",fn:"accessibility.svg",cat:"uncategorized"},{id:"accessible-water-access",fn:"accessible-water-access.svg",cat:"uncategorized"},{id:"active-person",fn:"active-person.svg",cat:"people-and-health"},{id:"adjust",fn:"adjust.svg",cat:"ui"},{id:"advice",fn:"advice.svg",cat:"ui"},{id:"alcohol-prohibited",fn:"alcohol-prohibited.svg",cat:"uncategorized"},{id:"alert-circle",fn:"alert-circle.svg",cat:"ui"},{id:"alert-error-system",fn:"alert-error-system.svg",cat:"uncategorized"},{id:"alert-error",fn:"alert-error.svg",cat:"ui"},{id:"alert-information",fn:"alert-information.svg",cat:"ui"},{id:"alert-success-system",fn:"alert-success-system.svg",cat:"uncategorized"},{id:"alert-success",fn:"alert-success.svg",cat:"ui"},{id:"alert-warning",fn:"alert-warning.svg",cat:"ui"},{id:"ambulance",fn:"ambulance.svg",cat:"uncategorized"},{id:"apple",fn:"apple.svg",cat:"ui"},{id:"archive",fn:"archive.svg",cat:"ui"},{id:"arrow-circle",fn:"arrow-circle.svg",cat:"ui"},{id:"arrow-return",fn:"arrow-return.svg",cat:"arrows"},{id:"arrow",fn:"arrow.svg",cat:"arrows"},{id:"arts-and-culture",fn:"arts-and-culture.svg",cat:"uncategorized"},{id:"attachment",fn:"attachment.svg",cat:"ui"},{id:"audioguide",fn:"audioguide.svg",cat:"uncategorized"},{id:"baby-bottle",fn:"baby-bottle.svg",cat:"uncategorized"},{id:"backpack-prohibited",fn:"backpack-prohibited.svg",cat:"uncategorized"},{id:"backpack",fn:"backpack.svg",cat:"services"},{id:"ball-sports",fn:"ball-sports.svg",cat:"uncategorized"},{id:"balloons",fn:"balloons.svg",cat:"ui"},{id:"bath",fn:"bath.svg",cat:"uncategorized"},{id:"bed",fn:"bed.svg",cat:"uncategorized"},{id:"beehive",fn:"beehive.svg",cat:"uncategorized"},{id:"bicycle-prohibited",fn:"bicycle-prohibited.svg",cat:"uncategorized"},{id:"bicycle-service",fn:"bicycle-service.svg",cat:"uncategorized"},{id:"bicycle",fn:"bicycle.svg",cat:"uncategorized"},{id:"bike-helmet",fn:"bike-helmet.svg",cat:"uncategorized"},{id:"bike-parking",fn:"bike-parking.svg",cat:"uncategorized"},{id:"bike",fn:"bike.svg",cat:"uncategorized"},{id:"blitz-prohibited",fn:"blitz-prohibited.svg",cat:"uncategorized"},{id:"books",fn:"books.svg",cat:"services"},{id:"boys-shower",fn:"boys-shower.svg",cat:"uncategorized"},{id:"boys-toilet",fn:"boys-toilet.svg",cat:"uncategorized"},{id:"brain-heart",fn:"brain-heart.svg",cat:"people-and-health"},{id:"brain-signal",fn:"brain-signal.svg",cat:"people-and-health"},{id:"brain",fn:"brain.svg",cat:"uncategorized"},{id:"briefcase",fn:"briefcase.svg",cat:"sign"},{id:"bulb",fn:"bulb.svg",cat:"uncategorized"},{id:"bullseye",fn:"bullseye.svg",cat:"ui"},{id:"bus",fn:"bus.svg",cat:"services"},{id:"cafe",fn:"cafe.svg",cat:"sign"},{id:"calendar",fn:"calendar.svg",cat:"ui"},{id:"camera-surveillance-CCTV",fn:"camera-surveillance-CCTV.svg",cat:"uncategorized"},{id:"camera",fn:"camera.svg",cat:"ui"},{id:"campfire-site",fn:"campfire-site.svg",cat:"uncategorized"},{id:"camping",fn:"camping.svg",cat:"uncategorized"},{id:"car",fn:"car.svg",cat:"sign"},{id:"care-room",fn:"care-room.svg",cat:"sign"},{id:"changing-room",fn:"changing-room.svg",cat:"uncategorized"},{id:"character-exclamation-mark",fn:"character-exclamation-mark.svg",cat:"ui"},{id:"character-information",fn:"character-information.svg",cat:"ui"},{id:"charging-point",fn:"charging-point.svg",cat:"uncategorized"},{id:"check-big",fn:"check-big.svg",cat:"ui"},{id:"check-box-checked",fn:"check-box-checked.svg",cat:"uncategorized"},{id:"check-box-unchecked",fn:"check-box-unchecked.svg",cat:"uncategorized"},{id:"check-circle",fn:"check-circle.svg",cat:"ui"},{id:"check-medium",fn:"check-medium.svg",cat:"ui"},{id:"check",fn:"check.svg",cat:"ui"},{id:"chevron-down",fn:"chevron-down.svg",cat:"arrows"},{id:"chevron-left",fn:"chevron-left.svg",cat:"arrows"},{id:"chevron-right",fn:"chevron-right.svg",cat:"arrows"},{id:"chevron-thin-down",fn:"chevron-thin-down.svg",cat:"arrows"},{id:"chevron-thin-left",fn:"chevron-thin-left.svg",cat:"arrows"},{id:"chevron-thin-right",fn:"chevron-thin-right.svg",cat:"arrows"},{id:"chevron-thin-up",fn:"chevron-thin-up.svg",cat:"arrows"},{id:"chevron-up-and-down",fn:"chevron-up-and-down.svg",cat:"ui"},{id:"chevron-up",fn:"chevron-up.svg",cat:"arrows"},{id:"childrens-toilet",fn:"childrens-toilet.svg",cat:"uncategorized"},{id:"circular-economy",fn:"circular-economy.svg",cat:"uncategorized"},{id:"climbing",fn:"climbing.svg",cat:"uncategorized"},{id:"clock-history",fn:"clock-history.svg",cat:"ui"},{id:"clock",fn:"clock.svg",cat:"ui"},{id:"close",fn:"close.svg",cat:"ui"},{id:"cloud",fn:"cloud.svg",cat:"ui"},{id:"code",fn:"code.svg",cat:"ui"},{id:"coffee",fn:"coffee.svg",cat:"sign"},{id:"cogwheel",fn:"cogwheel.svg",cat:"ui"},{id:"coin-stacks",fn:"coin-stacks.svg",cat:"services"},{id:"computer",fn:"computer.svg",cat:"ui"},{id:"cookie",fn:"cookie.svg",cat:"ui"},{id:"copy",fn:"copy.svg",cat:"ui"},{id:"crane",fn:"crane.svg",cat:"services"},{id:"crayfish",fn:"crayfish.svg",cat:"uncategorized"},{id:"cross-circle-big",fn:"cross-circle-big.svg",cat:"ui"},{id:"cross-circle-fill-large",fn:"cross-circle-fill-large.svg",cat:"ui"},{id:"cross-circle-fill",fn:"cross-circle-fill.svg",cat:"ui"},{id:"cross-circle",fn:"cross-circle.svg",cat:"ui"},{id:"cross",fn:"cross.svg",cat:"ui"},{id:"cupboard",fn:"cupboard.svg",cat:"uncategorized"},{id:"dancing",fn:"dancing.svg",cat:"uncategorized"},{id:"data",fn:"data.svg",cat:"ui"},{id:"deer",fn:"deer.svg",cat:"uncategorized"},{id:"defibrillators",fn:"defibrillators.svg",cat:"sign"},{id:"district",fn:"district.svg",cat:"ui"},{id:"diving-prohibited",fn:"diving-prohibited.svg",cat:"uncategorized"},{id:"dock",fn:"dock.svg",cat:"uncategorized"},{id:"document-code",fn:"document-code.svg",cat:"ui"},{id:"document-pdf",fn:"document-pdf.svg",cat:"ui"},{id:"document-plain",fn:"document-plain.svg",cat:"ui"},{id:"document-table",fn:"document-table.svg",cat:"ui"},{id:"document-text",fn:"document-text.svg",cat:"ui"},{id:"dog-forbidden",fn:"dog-forbidden.svg",cat:"uncategorized"},{id:"dog-on-a-leash",fn:"dog-on-a-leash.svg",cat:"uncategorized"},{id:"download",fn:"download.svg",cat:"ui"},{id:"drag",fn:"drag.svg",cat:"ui"},{id:"drinking-area-refreshments",fn:"drinking-area-refreshments.svg",cat:"sign"},{id:"drone",fn:"drone.svg",cat:"uncategorized"},{id:"drugs-prohibited",fn:"drugs-prohibited.svg",cat:"uncategorized"},{id:"ecg-heart",fn:"ecg-heart.svg",cat:"people-and-health"},{id:"edit",fn:"edit.svg",cat:"ui"},{id:"elderly",fn:"elderly.svg",cat:"uncategorized"},{id:"electric-car",fn:"electric-car.svg",cat:"uncategorized"},{id:"electric-van",fn:"electric-van.svg",cat:"uncategorized"},{id:"elevator",fn:"elevator.svg",cat:"uncategorized"},{id:"email",fn:"email.svg",cat:"ui"},{id:"escalator",fn:"escalator.svg",cat:"uncategorized"},{id:"exclamation-mark-circle",fn:"exclamation-mark-circle.svg",cat:"ui"},{id:"exclamation-mark-square",fn:"exclamation-mark-square.svg",cat:"ui"},{id:"exit-door",fn:"exit-door.svg",cat:"uncategorized"},{id:"exit",fn:"exit.svg",cat:"ui"},{id:"expand",fn:"expand.svg",cat:"ui"},{id:"eye",fn:"eye.svg",cat:"ui"},{id:"face-almost-happy",fn:"face-almost-happy.svg",cat:"feedback"},{id:"face-almost-sad",fn:"face-almost-sad.svg",cat:"feedback"},{id:"face-happy",fn:"face-happy.svg",cat:"feedback"},{id:"face-neutral",fn:"face-neutral.svg",cat:"feedback"},{id:"face-sad",fn:"face-sad.svg",cat:"feedback"},{id:"facebook",fn:"facebook.svg",cat:"social"},{id:"factory-fill",fn:"factory-fill.svg",cat:"ui"},{id:"feedback",fn:"feedback.svg",cat:"ui"},{id:"figma",fn:"figma.svg",cat:"social"},{id:"filming-prohibited",fn:"filming-prohibited.svg",cat:"uncategorized"},{id:"filter",fn:"filter.svg",cat:"ui"},{id:"fire-prohibited",fn:"fire-prohibited.svg",cat:"uncategorized"},{id:"fire-safety",fn:"fire-safety.svg",cat:"people-and-health"},{id:"fireworks-prohibited",fn:"fireworks-prohibited.svg",cat:"uncategorized"},{id:"fishing-prohibited",fn:"fishing-prohibited.svg",cat:"uncategorized"},{id:"fixed-bench",fn:"fixed-bench.svg",cat:"uncategorized"},{id:"fixed-grill",fn:"fixed-grill.svg",cat:"uncategorized"},{id:"flammable-waste",fn:"flammable-waste.svg",cat:"uncategorized"},{id:"folder",fn:"folder.svg",cat:"ui"},{id:"food-and-drinks-prohibited",fn:"food-and-drinks-prohibited.svg",cat:"uncategorized"},{id:"fountain",fn:"fountain.svg",cat:"uncategorized"},{id:"game-console",fn:"game-console.svg",cat:"ui"},{id:"girls-shower",fn:"girls-shower.svg",cat:"uncategorized"},{id:"girls-toilet",fn:"girls-toilet.svg",cat:"uncategorized"},{id:"github",fn:"github.svg",cat:"social"},{id:"graffiti-allowed",fn:"graffiti-allowed.svg",cat:"uncategorized"},{id:"graffiti-prohibited",fn:"graffiti-prohibited.svg",cat:"uncategorized"},{id:"graph",fn:"graph.svg",cat:"ui"},{id:"grid",fn:"grid.svg",cat:"ui"},{id:"gym",fn:"gym.svg",cat:"uncategorized"},{id:"handicap-elevator",fn:"handicap-elevator.svg",cat:"uncategorized"},{id:"handicap",fn:"handicap.svg",cat:"uncategorized"},{id:"hands-globe",fn:"hands-globe.svg",cat:"people-and-health"},{id:"headset",fn:"headset.svg",cat:"ui"},{id:"heart-hand",fn:"heart-hand.svg",cat:"people-and-health"},{id:"heart-plus",fn:"heart-plus.svg",cat:"services"},{id:"heart",fn:"heart.svg",cat:"ui"},{id:"height-restriction",fn:"height-restriction.svg",cat:"uncategorized"},{id:"helmet",fn:"helmet.svg",cat:"uncategorized"},{id:"hiking-trail",fn:"hiking-trail.svg",cat:"uncategorized"},{id:"holding-hands",fn:"holding-hands.svg",cat:"people-and-health"},{id:"home",fn:"home.svg",cat:"ui"},{id:"horizontal-menu",fn:"horizontal-menu.svg",cat:"ui"},{id:"house-heart",fn:"house-heart.svg",cat:"services"},{id:"ice-skating",fn:"ice-skating.svg",cat:"uncategorized"},{id:"indoor-pool",fn:"indoor-pool.svg",cat:"uncategorized"},{id:"information",fn:"information.svg",cat:"ui"},{id:"instagram",fn:"instagram.svg",cat:"social"},{id:"invoice",fn:"invoice.svg",cat:"ui"},{id:"key",fn:"key.svg",cat:"ui"},{id:"ladies-toilet",fn:"ladies-toilet.svg",cat:"uncategorized"},{id:"language",fn:"language.svg",cat:"ui"},{id:"law-paragraph",fn:"law-paragraph.svg",cat:"ui"},{id:"lecture-workplace",fn:"lecture-workplace.svg",cat:"sign"},{id:"lecture",fn:"lecture.svg",cat:"uncategorized"},{id:"life-ring",fn:"life-ring.svg",cat:"uncategorized"},{id:"link",fn:"link.svg",cat:"ui"},{id:"linkedin",fn:"linkedin.svg",cat:"social"},{id:"list",fn:"list.svg",cat:"ui"},{id:"living-room",fn:"living-room.svg",cat:"uncategorized"},{id:"location-pin-filled",fn:"location-pin-filled.svg",cat:"ui"},{id:"location-pin",fn:"location-pin.svg",cat:"ui"},{id:"lock-locked",fn:"lock-locked.svg",cat:"ui"},{id:"lock-unlocked",fn:"lock-unlocked.svg",cat:"ui"},{id:"luggage-prohibited",fn:"luggage-prohibited.svg",cat:"uncategorized"},{id:"magnifying-glass-big",fn:"magnifying-glass-big.svg",cat:"ui"},{id:"magnifying-glass-small",fn:"magnifying-glass-small.svg",cat:"ui"},{id:"map",fn:"map.svg",cat:"ui"},{id:"medicine-cabinet",fn:"medicine-cabinet.svg",cat:"ui"},{id:"megaphone",fn:"megaphone.svg",cat:"uncategorized"},{id:"memorial-stone",fn:"memorial-stone.svg",cat:"uncategorized"},{id:"mens-toilet",fn:"mens-toilet.svg",cat:"uncategorized"},{id:"menu",fn:"menu.svg",cat:"ui"},{id:"message",fn:"message.svg",cat:"ui"},{id:"minimize",fn:"minimize.svg",cat:"ui"},{id:"minus-circle-fill",fn:"minus-circle-fill.svg",cat:"plusminus"},{id:"minus-circle",fn:"minus-circle.svg",cat:"plusminus"},{id:"minus-sign",fn:"minus-sign.svg",cat:"plusminus"},{id:"mobile-phone",fn:"mobile-phone.svg",cat:"ui"},{id:"moon",fn:"moon.svg",cat:"uncategorized"},{id:"motorcycle",fn:"motorcycle.svg",cat:"uncategorized"},{id:"museum",fn:"museum.svg",cat:"uncategorized"},{id:"music-notes",fn:"music-notes.svg",cat:"ui"},{id:"nature-plant-2",fn:"nature-plant-2.svg",cat:"uncategorized"},{id:"nature-plant",fn:"nature-plant.svg",cat:"uncategorized"},{id:"new-window-small",fn:"new-window-small.svg",cat:"ui"},{id:"new-window",fn:"new-window.svg",cat:"ui"},{id:"no-walking",fn:"no-walking.svg",cat:"uncategorized"},{id:"nodejs",fn:"nodejs.svg",cat:"social"},{id:"obstacle",fn:"obstacle.svg",cat:"ui"},{id:"organization",fn:"organization.svg",cat:"ui"},{id:"package",fn:"package.svg",cat:"uncategorized"},{id:"paint-bucket",fn:"paint-bucket.svg",cat:"ui"},{id:"palette",fn:"palette.svg",cat:"ui"},{id:"paragraph",fn:"paragraph.svg",cat:"ui"},{id:"park",fn:"park.svg",cat:"services"},{id:"parking-meter",fn:"parking-meter.svg",cat:"uncategorized"},{id:"partner-workout",fn:"partner-workout.svg",cat:"people-and-health"},{id:"paste",fn:"paste.svg",cat:"ui"},{id:"picnic-table",fn:"picnic-table.svg",cat:"uncategorized"},{id:"picture",fn:"picture.svg",cat:"ui"},{id:"placeholder-icon",fn:"placeholder-icon.svg",cat:"ui"},{id:"planter-box",fn:"planter-box.svg",cat:"uncategorized"},{id:"playground",fn:"playground.svg",cat:"uncategorized"},{id:"plus-circle-fill",fn:"plus-circle-fill.svg",cat:"plusminus"},{id:"plus-circle",fn:"plus-circle.svg",cat:"plusminus"},{id:"plus-sign",fn:"plus-sign.svg",cat:"plusminus"},{id:"pregnant",fn:"pregnant.svg",cat:"uncategorized"},{id:"pride-heart",fn:"pride-heart.svg",cat:"people-and-health"},{id:"print",fn:"print.svg",cat:"ui"},{id:"privacy",fn:"privacy.svg",cat:"ui"},{id:"process-back",fn:"process-back.svg",cat:"uncategorized"},{id:"process-forward",fn:"process-forward.svg",cat:"uncategorized"},{id:"process-iteration",fn:"process-iteration.svg",cat:"uncategorized"},{id:"processing",fn:"processing.svg",cat:"uncategorized"},{id:"prohibited",fn:"prohibited.svg",cat:"uncategorized"},{id:"punkt-circle-blue",fn:"punkt-circle-blue.svg",cat:"social"},{id:"qr-code",fn:"qr-code.svg",cat:"ui"},{id:"question",fn:"question.svg",cat:"ui"},{id:"radio-checked",fn:"radio-checked.svg",cat:"uncategorized"},{id:"radio-unchecked",fn:"radio-unchecked.svg",cat:"uncategorized"},{id:"react",fn:"react.svg",cat:"social"},{id:"receipt",fn:"receipt.svg",cat:"ui"},{id:"recycling",fn:"recycling.svg",cat:"services"},{id:"restaurant",fn:"restaurant.svg",cat:"sign"},{id:"roadblock",fn:"roadblock.svg",cat:"uncategorized"},{id:"ruler",fn:"ruler.svg",cat:"ui"},{id:"sass",fn:"sass.svg",cat:"social"},{id:"sauna",fn:"sauna.svg",cat:"uncategorized"},{id:"save",fn:"save.svg",cat:"ui"},{id:"scooter-prohibited",fn:"scooter-prohibited.svg",cat:"uncategorized"},{id:"scooter",fn:"scooter.svg",cat:"ui"},{id:"search-icon-round-active",fn:"search-icon-round-active.svg",cat:"uncategorized"},{id:"search-icon-round-disabled",fn:"search-icon-round-disabled.svg",cat:"uncategorized"},{id:"search-icon-round-normal",fn:"search-icon-round-normal.svg",cat:"uncategorized"},{id:"search-icon-square-active",fn:"search-icon-square-active.svg",cat:"uncategorized"},{id:"search-icon-square-disabled",fn:"search-icon-square-disabled.svg",cat:"uncategorized"},{id:"search-icon-square-normal",fn:"search-icon-square-normal.svg",cat:"uncategorized"},{id:"share-outline",fn:"share-outline.svg",cat:"ui"},{id:"share",fn:"share.svg",cat:"ui"},{id:"shield-fire",fn:"shield-fire.svg",cat:"services"},{id:"shield-law-paragraph",fn:"shield-law-paragraph.svg",cat:"ui"},{id:"shoes-prohibited",fn:"shoes-prohibited.svg",cat:"uncategorized"},{id:"shop",fn:"shop.svg",cat:"uncategorized"},{id:"shower",fn:"shower.svg",cat:"uncategorized"},{id:"signature",fn:"signature.svg",cat:"uncategorized"},{id:"skateboarding",fn:"skateboarding.svg",cat:"uncategorized"},{id:"slack",fn:"slack.svg",cat:"social"},{id:"sledding",fn:"sledding.svg",cat:"uncategorized"},{id:"smiley-neutral",fn:"smiley-neutral.svg",cat:"feedback"},{id:"smiley-sad",fn:"smiley-sad.svg",cat:"feedback"},{id:"smiley-smile",fn:"smiley-smile.svg",cat:"feedback"},{id:"smoking-prohibited",fn:"smoking-prohibited.svg",cat:"uncategorized"},{id:"snow",fn:"snow.svg",cat:"uncategorized"},{id:"sort",fn:"sort.svg",cat:"ui"},{id:"sound-off",fn:"sound-off.svg",cat:"ui"},{id:"sound-on",fn:"sound-on.svg",cat:"ui"},{id:"sparkles",fn:"sparkles.svg",cat:"ui"},{id:"stairs-down",fn:"stairs-down.svg",cat:"uncategorized"},{id:"stairs-up",fn:"stairs-up.svg",cat:"uncategorized"},{id:"stairs",fn:"stairs.svg",cat:"uncategorized"},{id:"street-vendor",fn:"street-vendor.svg",cat:"uncategorized"},{id:"stroller-prohibited",fn:"stroller-prohibited.svg",cat:"uncategorized"},{id:"stroller",fn:"stroller.svg",cat:"uncategorized"},{id:"studded-tires",fn:"studded-tires.svg",cat:"uncategorized"},{id:"svg-logo",fn:"svg.svg",cat:"social"},{id:"swimming-area",fn:"swimming-area.svg",cat:"uncategorized"},{id:"swingset",fn:"swingset.svg",cat:"services"},{id:"table",fn:"table.svg",cat:"ui"},{id:"tap",fn:"tap.svg",cat:"ui"},{id:"target",fn:"target.svg",cat:"ui"},{id:"thumbs-down",fn:"thumbs-down.svg",cat:"feedback"},{id:"thumbs-up",fn:"thumbs-up.svg",cat:"feedback"},{id:"tickets",fn:"tickets.svg",cat:"sign"},{id:"toilet-unisex",fn:"toilet-unisex.svg",cat:"uncategorized"},{id:"toilet",fn:"toilet.svg",cat:"uncategorized"},{id:"tool",fn:"tool.svg",cat:"uncategorized"},{id:"touching-prohibited",fn:"touching-prohibited.svg",cat:"uncategorized"},{id:"trail-gate",fn:"trail-gate.svg",cat:"uncategorized"},{id:"trail",fn:"trail.svg",cat:"sign"},{id:"tram",fn:"tram.svg",cat:"uncategorized"},{id:"trash-can",fn:"trash-can.svg",cat:"ui"},{id:"trash",fn:"trash.svg",cat:"sign"},{id:"twitter",fn:"twitter.svg",cat:"social"},{id:"two-people-dancing",fn:"two-people-dancing.svg",cat:"people-and-health"},{id:"two-people-talking",fn:"two-people-talking.svg",cat:"people-and-health"},{id:"umbrella-prohibited",fn:"umbrella-prohibited.svg",cat:"uncategorized"},{id:"urban-landscape",fn:"urban-landscape.svg",cat:"uncategorized"},{id:"urinal",fn:"urinal.svg",cat:"uncategorized"},{id:"user",fn:"user.svg",cat:"ui"},{id:"van",fn:"van.svg",cat:"uncategorized"},{id:"vertical-menu",fn:"vertical-menu.svg",cat:"ui"},{id:"viewpoint",fn:"viewpoint.svg",cat:"uncategorized"},{id:"virus",fn:"virus.svg",cat:"uncategorized"},{id:"vue",fn:"vue.svg",cat:"social"},{id:"walking",fn:"walking.svg",cat:"uncategorized"},{id:"wardrobe-boys",fn:"wardrobe-boys.svg",cat:"sign"},{id:"wardrobe-girls",fn:"wardrobe-girls.svg",cat:"sign"},{id:"wardrobe",fn:"wardrobe.svg",cat:"sign"},{id:"waste-container",fn:"waste-container.svg",cat:"uncategorized"},{id:"water-faucet",fn:"water-faucet.svg",cat:"services"},{id:"wheelchair-ramp",fn:"wheelchair-ramp.svg",cat:"uncategorized"},{id:"wheelchair",fn:"wheelchair.svg",cat:"sign"},{id:"wifi",fn:"wifi.svg",cat:"sign"},{id:"wine-bottle",fn:"wine-bottle.svg",cat:"people-and-health"},{id:"workplace",fn:"workplace.svg",cat:"social"},{id:"wrench",fn:"wrench.svg",cat:"ui"},{id:"x",fn:"x.svg",cat:"uncategorized"}],A2=({propKey:r,spec:n,props:i,handleChange:l})=>{const c={BOOLEAN:"boolean",ICON:"icon",ARRAY:"array",OBJECT:"object",DATE:"ISOdatestring",NUMBER:"number"},h=(T,$)=>{l(r,{...i[r],[T]:$})},m=(T,$,N)=>{const R=[...i[r]];R[T]={...R[T],[$]:N},l(r,R)},D=()=>{const T=[...i[r],{}];l(r,T)},C=T=>{const $=i[r].filter((N,R)=>R!==T);l(r,$)};if(n.type===c.BOOLEAN)return O.jsx(n_,{label:n.name||r,forId:r,helptext:n.description||null,hasFieldset:!0,requiredTag:n.required,children:O.jsx(k0,{id:r,label:r,type:"checkbox",checked:i[r]||!1,onChange:T=>l(r,T.target.checked,n.displayAsFalse),labelPosition:"right",isSwitch:!0})});if(n.type===c.ICON)return O.jsxs(Lb,{label:n.name||r,helptext:n.description||null,id:r,value:i[r]||"",onChange:T=>l(r,T.target.value),requiredTag:n.required,children:[O.jsx("option",{value:""}),P4.map(T=>O.jsx("option",{value:T.id,children:T.id},T.id))]});if(n.type===c.DATE)return O.jsx(w0,{id:r,label:n.name||r,helptext:n.description||null,value:i[r]||"",multiple:n.variant==="multiple",maxlength:999,onChange:T=>l(r,T.target.value),requiredTag:n.required});if(Array.isArray(n)||Array.isArray(n.type)||Array.isArray(n.values)){const T=Array.isArray(n)?n:n.values||n.type;return O.jsxs(Lb,{label:n.name||r,helptext:n.description||null,id:r,value:i[r],onChange:$=>l(r,$.target.value),requiredTag:n.required,children:[O.jsx("option",{value:""}),T.map($=>O.jsx("option",{value:$,children:$},$))]})}return n.type===c.NUMBER?O.jsx(ev,{id:r,label:n.name||r,helptext:n.description||null,type:"number",value:i[r]||"",onChange:T=>l(r,parseFloat(T.currentTarget.value)),requiredTag:n.required}):n.type===c.OBJECT?(i[r]||(i[r]={}),O.jsxs("div",{children:[O.jsx("div",{className:"pkt-inputwrapper__label",children:O.jsx("h2",{children:n.name||r})}),n.description&&O.jsx("p",{children:n.description}),O.jsxs("fieldset",{children:[O.jsx("legend",{children:n.name||r}),Object.entries(n.properties).map(([T,$])=>O.jsx(A2,{propKey:T,props:i[r],spec:$,handleChange:(N,R)=>h(N,R)},T))]})]})):n.type===c.ARRAY&&n.items.type===c.OBJECT?(i[r]||(i[r]=[]),O.jsxs("div",{children:[O.jsx("div",{className:"pkt-inputwrapper__label",children:O.jsx("h2",{children:n.name||r})}),n.description&&O.jsx("p",{children:n.description}),i[r].map((T,$)=>O.jsx("div",{children:O.jsxs("fieldset",{children:[O.jsxs("legend",{children:["Item ",$+1]}),Object.entries(n.items.properties).map(([N,R])=>O.jsx(A2,{propKey:N,props:T,spec:R,handleChange:(L,j)=>m($,L,j)},N)),O.jsx($d,{onClick:()=>C($),children:"Fjern denne"})]})},$)),O.jsx($d,{onClick:D,children:"Legg til ny"})]})):O.jsx(ev,{id:r,label:n.name||r,helptext:n.description||null,type:"text",value:i[r]||"",onChange:T=>l(r,n.type==="number"?parseFloat(T.currentTarget.value):T.currentTarget.value),requiredTag:n.required})};Zg.registerLanguage("jsx",E4);const OE=({specs:r,children:n,fullWidth:i})=>{var He,dt;const l=r.props&&typeof r.props=="object"&&!Array.isArray(r.props)?Object.entries(r.props).reduce((Me,[Oe,de])=>(typeof de=="object"&&!Array.isArray(de)&&de.previewDefault!==void 0&&de.previewDefault!==null?(de.previewDefault==="false"&&(de.previewDefault=!1),de.previewDefault==="true"&&(de.previewDefault=!0),Me[Oe]=de.previewDefault):typeof de=="object"&&!Array.isArray(de)&&de.default!==void 0&&de.default!==null&&(de.default==="false"&&(de.default=!1),de.default==="true"&&(de.default=!0),Me[Oe]=de.default),Me),{}):{},[c,h]=$e.useState(0),[m,D]=$e.useState(l),[C,T]=$e.useState("light"),[$,N]=$e.useState(""),[R,L]=$e.useState(""),[j,J]=$e.useState(""),[G,Se]=$e.useState("Rediger innhold"),[q,W]=$e.useState([{text:"Rediger",icon:"adjust",active:!0},{text:"Kode (React)",icon:"react",active:!1},{text:`Kode (${r.isElement?"Element":"HTML"})`,icon:"code",active:!1},{text:"Egenskaper",icon:"list",active:!1}]),Z=Me=>{Me===1&&pe(),Me===2&&ae(),J(""),W(Oe=>Oe.map((de,Le)=>({...de,active:Le===Me})))},X=$e.useRef(null),ae=async()=>{if(r.isElement&&$e.isValidElement(Xe)){const Me=$e.isValidElement(Xe)?Xe.type.displayName||Xe.type.name:r.name,Oe=Object.entries(m).map(([Le,xe])=>{if(xe&&!be(xe)&&!Ge(xe))return typeof xe=="object"?`${Le}='${JSON.stringify(xe)}'`:`${Le}="${xe}"`}).join(" "),de=await Eb(`<${r.name||Me} ${Oe}>${G}</${r.name||Me}>`,{parser:"html",plugins:[j1]});N(`<!-- Denne koden bør testes grundig før bruk. Spør en Punkt-utvikler om du er usikker. -->
1545
+ `)})})]}):O.jsxs(O.Fragment,{children:[O.jsx(Zo,{dataLabel:"Beskrivelse",children:O.jsx("span",{dangerouslySetInnerHTML:{__html:c.description||""}})}),O.jsx(Zo,{dataLabel:"Type",children:O.jsx("pre",{children:c.type&&n(c.type)})}),O.jsx(Zo,{dataLabel:"Standardverdi",children:O.jsx("pre",{children:i(c.default)})})]})]},l))})]}),r.events&&O.jsxs(O.Fragment,{children:[O.jsx("h2",{children:"Hendelser / handlinger"}),O.jsxs(Pb,{compact:!0,children:[O.jsx(Nb,{children:O.jsxs(rp,{children:[O.jsx(gl,{children:"Event"}),O.jsx(gl,{children:"Beskrivelse"}),O.jsx(gl,{children:"Type"})]})}),O.jsx(Rb,{children:Object.entries(r.events||{}).map(([l,c])=>O.jsxs(rp,{children:[O.jsx(Zo,{dataLabel:"Event",children:O.jsx("pre",{children:l})}),O.jsx(Zo,{dataLabel:"Beskrivelse",children:O.jsx("span",{dangerouslySetInnerHTML:{__html:c.description||""}})}),O.jsx(Zo,{dataLabel:"Type",children:c.type})]},l))})]})]}),r.slots&&O.jsxs(O.Fragment,{children:[O.jsx("h2",{children:"Innhold"}),O.jsxs(Pb,{compact:!0,children:[O.jsx(Nb,{children:O.jsxs(rp,{children:[O.jsx(gl,{children:"Slot"}),O.jsx(gl,{children:"Beskrivelse"})]})}),O.jsx(Rb,{children:Object.entries(r.slots||{}).map(([l,c])=>O.jsxs(rp,{children:[O.jsx(Zo,{dataLabel:"Slot",children:O.jsx("pre",{children:l})}),O.jsx(Zo,{dataLabel:"Beskrivelse",children:O.jsx("span",{dangerouslySetInnerHTML:{__html:c.description||""}})})]},l))})]})]})]})},$4=zr({tagName:"pkt-select",elementClass:Nh,react:$e,displayName:"PktSelect",events:{onChange:"change",onInput:"input",onBlur:"blur",onFocus:"focus",onValueChange:"valueChange",onToggleHelpText:"toggleHelpText"}}),Lb=$e.forwardRef(({children:r,helptext:n,...i},l)=>O.jsxs($4,{ref:l,...i,children:[n&&O.jsx("div",{slot:"helptext",className:"pkt-contents",children:n}),r]}));Lb.displayName="PktSelect";const P4=[{id:"24h",fn:"24h.svg",cat:"health"},{id:"access-prohibited",fn:"access-prohibited.svg",cat:"signs"},{id:"accessibility",fn:"accessibility.svg",cat:"signs"},{id:"accessible-water-access",fn:"accessible-water-access.svg",cat:"activities"},{id:"active-person",fn:"active-person.svg",cat:"activities"},{id:"adjust",fn:"adjust.svg",cat:"ui"},{id:"advice",fn:"advice.svg",cat:"social"},{id:"alcohol-prohibited",fn:"alcohol-prohibited.svg",cat:"food"},{id:"alert-circle",fn:"alert-circle.svg",cat:"status"},{id:"alert-error-system",fn:"alert-error-system.svg",cat:"status"},{id:"alert-error",fn:"alert-error.svg",cat:"status"},{id:"alert-information",fn:"alert-information.svg",cat:"status"},{id:"alert-success-system",fn:"alert-success-system.svg",cat:"status"},{id:"alert-success",fn:"alert-success.svg",cat:"status"},{id:"alert-warning",fn:"alert-warning.svg",cat:"status"},{id:"ambulance",fn:"ambulance.svg",cat:"travel"},{id:"apple",fn:"apple.svg",cat:"food"},{id:"archive",fn:"archive.svg",cat:"ui"},{id:"arrow-circle",fn:"arrow-circle.svg",cat:"ui"},{id:"arrow-return",fn:"arrow-return.svg",cat:"navigation"},{id:"arrow",fn:"arrow.svg",cat:"navigation"},{id:"arts-and-culture",fn:"arts-and-culture.svg",cat:"places"},{id:"attachment",fn:"attachment.svg",cat:"ui"},{id:"audioguide",fn:"audioguide.svg",cat:"uncategorized"},{id:"baby-bottle",fn:"baby-bottle.svg",cat:"food"},{id:"baby-changing-room",fn:"baby-changing-room.svg",cat:"activities"},{id:"backpack-prohibited",fn:"backpack-prohibited.svg",cat:"objects"},{id:"backpack",fn:"backpack.svg",cat:"services"},{id:"ball-sports",fn:"ball-sports.svg",cat:"activities"},{id:"balloons",fn:"balloons.svg",cat:"objects"},{id:"bath",fn:"bath.svg",cat:"objects"},{id:"bed",fn:"bed.svg",cat:"objects"},{id:"beehive",fn:"beehive.svg",cat:"objects"},{id:"bicycle-parking",fn:"bicycle-parking.svg",cat:"travel"},{id:"bicycle-prohibited",fn:"bicycle-prohibited.svg",cat:"travel"},{id:"bicycle-service",fn:"bicycle-service.svg",cat:"travel"},{id:"bicycle",fn:"bicycle.svg",cat:"travel"},{id:"blitz-prohibited",fn:"blitz-prohibited.svg",cat:"objects"},{id:"books",fn:"books.svg",cat:"health"},{id:"boys-shower",fn:"boys-shower.svg",cat:"signs"},{id:"boys-toilet",fn:"boys-toilet.svg",cat:"user"},{id:"brain-heart",fn:"brain-heart.svg",cat:"health"},{id:"brain-signal",fn:"brain-signal.svg",cat:"health"},{id:"brain",fn:"brain.svg",cat:"health"},{id:"briefcase",fn:"briefcase.svg",cat:"objects"},{id:"bulb",fn:"bulb.svg",cat:"objects"},{id:"bullseye",fn:"bullseye.svg",cat:"objects"},{id:"bus",fn:"bus.svg",cat:"travel"},{id:"cafe",fn:"cafe.svg",cat:"food"},{id:"calendar",fn:"calendar.svg",cat:"ui"},{id:"camera-surveillance-CCTV",fn:"camera-surveillance-CCTV.svg",cat:"objects"},{id:"camera",fn:"camera.svg",cat:"objects"},{id:"campfire-site",fn:"campfire-site.svg",cat:"health"},{id:"camping",fn:"camping.svg",cat:"places"},{id:"car",fn:"car.svg",cat:"travel"},{id:"character-exclamation-mark",fn:"character-exclamation-mark.svg",cat:"status"},{id:"character-information",fn:"character-information.svg",cat:"status"},{id:"charging-point",fn:"charging-point.svg",cat:"objects"},{id:"check-big",fn:"check-big.svg",cat:"ui"},{id:"check-box-checked",fn:"check-box-checked.svg",cat:"ui"},{id:"check-box-unchecked",fn:"check-box-unchecked.svg",cat:"ui"},{id:"check-circle",fn:"check-circle.svg",cat:"ui"},{id:"check-medium",fn:"check-medium.svg",cat:"ui"},{id:"check",fn:"check.svg",cat:"ui"},{id:"chevron-down",fn:"chevron-down.svg",cat:"navigation"},{id:"chevron-left",fn:"chevron-left.svg",cat:"navigation"},{id:"chevron-right",fn:"chevron-right.svg",cat:"navigation"},{id:"chevron-thin-down",fn:"chevron-thin-down.svg",cat:"navigation"},{id:"chevron-thin-left",fn:"chevron-thin-left.svg",cat:"navigation"},{id:"chevron-thin-right",fn:"chevron-thin-right.svg",cat:"navigation"},{id:"chevron-thin-up",fn:"chevron-thin-up.svg",cat:"navigation"},{id:"chevron-up-and-down",fn:"chevron-up-and-down.svg",cat:"ui"},{id:"chevron-up",fn:"chevron-up.svg",cat:"navigation"},{id:"childrens-toilet",fn:"childrens-toilet.svg",cat:"signs"},{id:"circular-economy",fn:"circular-economy.svg",cat:"ui"},{id:"climbing",fn:"climbing.svg",cat:"activities"},{id:"clock-history",fn:"clock-history.svg",cat:"ui"},{id:"clock",fn:"clock.svg",cat:"ui"},{id:"close",fn:"close.svg",cat:"ui"},{id:"cloud",fn:"cloud.svg",cat:"objects"},{id:"code",fn:"code.svg",cat:"data"},{id:"coffee",fn:"coffee.svg",cat:"food"},{id:"cogwheel",fn:"cogwheel.svg",cat:"ui"},{id:"coin-stacks",fn:"coin-stacks.svg",cat:"health"},{id:"computer",fn:"computer.svg",cat:"objects"},{id:"cookie",fn:"cookie.svg",cat:"ui"},{id:"copy",fn:"copy.svg",cat:"ui"},{id:"crane",fn:"crane.svg",cat:"places"},{id:"crayfish",fn:"crayfish.svg",cat:"objects"},{id:"cross-circle-big",fn:"cross-circle-big.svg",cat:"ui"},{id:"cross-circle-fill-large",fn:"cross-circle-fill-large.svg",cat:"ui"},{id:"cross-circle-fill",fn:"cross-circle-fill.svg",cat:"ui"},{id:"cross-circle",fn:"cross-circle.svg",cat:"ui"},{id:"cross",fn:"cross.svg",cat:"ui"},{id:"cupboard",fn:"cupboard.svg",cat:"objects"},{id:"dancing",fn:"dancing.svg",cat:"uncategorized"},{id:"data",fn:"data.svg",cat:"data"},{id:"deer",fn:"deer.svg",cat:"objects"},{id:"defibrillators",fn:"defibrillators.svg",cat:"signs"},{id:"district",fn:"district.svg",cat:"places"},{id:"diving-prohibited",fn:"diving-prohibited.svg",cat:"activities"},{id:"dock",fn:"dock.svg",cat:"places"},{id:"document-code",fn:"document-code.svg",cat:"ui"},{id:"document-pdf",fn:"document-pdf.svg",cat:"ui"},{id:"document-plain",fn:"document-plain.svg",cat:"ui"},{id:"document-table",fn:"document-table.svg",cat:"ui"},{id:"document-text",fn:"document-text.svg",cat:"ui"},{id:"dog-forbidden",fn:"dog-forbidden.svg",cat:"objects"},{id:"dog-on-a-leash",fn:"dog-on-a-leash.svg",cat:"objects"},{id:"download",fn:"download.svg",cat:"ui"},{id:"drag",fn:"drag.svg",cat:"ui"},{id:"drinking-area-refreshments",fn:"drinking-area-refreshments.svg",cat:"food"},{id:"drone",fn:"drone.svg",cat:"objects"},{id:"drugs-prohibited",fn:"drugs-prohibited.svg",cat:"objects"},{id:"ecg-heart",fn:"ecg-heart.svg",cat:"health"},{id:"edit",fn:"edit.svg",cat:"ui"},{id:"elderly",fn:"elderly.svg",cat:"user"},{id:"electric-car",fn:"electric-car.svg",cat:"travel"},{id:"electric-van",fn:"electric-van.svg",cat:"travel"},{id:"elevator",fn:"elevator.svg",cat:"signs"},{id:"email",fn:"email.svg",cat:"social"},{id:"escalator",fn:"escalator.svg",cat:"signs"},{id:"exclamation-mark-circle",fn:"exclamation-mark-circle.svg",cat:"status"},{id:"exclamation-mark-square",fn:"exclamation-mark-square.svg",cat:"status"},{id:"exit-door",fn:"exit-door.svg",cat:"ui"},{id:"exit",fn:"exit.svg",cat:"navigation"},{id:"expand",fn:"expand.svg",cat:"ui"},{id:"eye",fn:"eye.svg",cat:"ui"},{id:"face-almost-happy",fn:"face-almost-happy.svg",cat:"feedback"},{id:"face-almost-sad",fn:"face-almost-sad.svg",cat:"feedback"},{id:"face-happy",fn:"face-happy.svg",cat:"feedback"},{id:"face-neutral",fn:"face-neutral.svg",cat:"feedback"},{id:"face-sad",fn:"face-sad.svg",cat:"feedback"},{id:"facebook",fn:"facebook.svg",cat:"social"},{id:"factory-fill",fn:"factory-fill.svg",cat:"places"},{id:"feedback",fn:"feedback.svg",cat:"social"},{id:"figma",fn:"figma.svg",cat:"social"},{id:"filming-prohibited",fn:"filming-prohibited.svg",cat:"signs"},{id:"filter",fn:"filter.svg",cat:"ui"},{id:"fire-prohibited",fn:"fire-prohibited.svg",cat:"signs"},{id:"fire-safety",fn:"fire-safety.svg",cat:"health"},{id:"fireworks-prohibited",fn:"fireworks-prohibited.svg",cat:"signs"},{id:"fishing-prohibited",fn:"fishing-prohibited.svg",cat:"signs"},{id:"fixed-bench",fn:"fixed-bench.svg",cat:"objects"},{id:"fixed-grill",fn:"fixed-grill.svg",cat:"objects"},{id:"flammable-waste",fn:"flammable-waste.svg",cat:"signs"},{id:"folder",fn:"folder.svg",cat:"ui"},{id:"food-and-drinks-prohibited",fn:"food-and-drinks-prohibited.svg",cat:"food"},{id:"fountain",fn:"fountain.svg",cat:"uncategorized"},{id:"game-console",fn:"game-console.svg",cat:"objects"},{id:"girls-shower",fn:"girls-shower.svg",cat:"signs"},{id:"girls-toilet",fn:"girls-toilet.svg",cat:"user"},{id:"github",fn:"github.svg",cat:"social"},{id:"graffiti-allowed",fn:"graffiti-allowed.svg",cat:"objects"},{id:"graffiti-prohibited",fn:"graffiti-prohibited.svg",cat:"objects"},{id:"graph",fn:"graph.svg",cat:"data"},{id:"grid",fn:"grid.svg",cat:"ui"},{id:"gym",fn:"gym.svg",cat:"objects"},{id:"handicap-elevator",fn:"handicap-elevator.svg",cat:"signs"},{id:"handicap",fn:"handicap.svg",cat:"user"},{id:"hands-globe",fn:"hands-globe.svg",cat:"health"},{id:"headset",fn:"headset.svg",cat:"objects"},{id:"heart-hand",fn:"heart-hand.svg",cat:"health"},{id:"heart-plus",fn:"heart-plus.svg",cat:"health"},{id:"heart",fn:"heart.svg",cat:"health"},{id:"height-restriction",fn:"height-restriction.svg",cat:"objects"},{id:"helmet",fn:"helmet.svg",cat:"uncategorized"},{id:"hiking-trail",fn:"hiking-trail.svg",cat:"places"},{id:"holding-hands",fn:"holding-hands.svg",cat:"user"},{id:"home",fn:"home.svg",cat:"places"},{id:"horizontal-menu",fn:"horizontal-menu.svg",cat:"ui"},{id:"house-heart",fn:"house-heart.svg",cat:"places"},{id:"ice-skating",fn:"ice-skating.svg",cat:"objects"},{id:"indoor-pool",fn:"indoor-pool.svg",cat:"activities"},{id:"information",fn:"information.svg",cat:"status"},{id:"instagram",fn:"instagram.svg",cat:"social"},{id:"invoice",fn:"invoice.svg",cat:"ui"},{id:"key",fn:"key.svg",cat:"objects"},{id:"ladies-toilet",fn:"ladies-toilet.svg",cat:"user"},{id:"language",fn:"language.svg",cat:"user"},{id:"law-paragraph",fn:"law-paragraph.svg",cat:"user"},{id:"lecture-workplace",fn:"lecture-workplace.svg",cat:"sign"},{id:"lecture",fn:"lecture.svg",cat:"activities"},{id:"life-ring",fn:"life-ring.svg",cat:"objects"},{id:"link",fn:"link.svg",cat:"ui"},{id:"linkedin",fn:"linkedin.svg",cat:"social"},{id:"list",fn:"list.svg",cat:"ui"},{id:"living-room",fn:"living-room.svg",cat:"objects"},{id:"location-pin-filled",fn:"location-pin-filled.svg",cat:"travel"},{id:"location-pin",fn:"location-pin.svg",cat:"travel"},{id:"lock-locked",fn:"lock-locked.svg",cat:"ui"},{id:"lock-unlocked",fn:"lock-unlocked.svg",cat:"ui"},{id:"luggage-prohibited",fn:"luggage-prohibited.svg",cat:"objects"},{id:"magnifying-glass-big",fn:"magnifying-glass-big.svg",cat:"ui"},{id:"magnifying-glass-small",fn:"magnifying-glass-small.svg",cat:"ui"},{id:"map",fn:"map.svg",cat:"travel"},{id:"medicine-cabinet",fn:"medicine-cabinet.svg",cat:"objects"},{id:"megaphone",fn:"megaphone.svg",cat:"uncategorized"},{id:"memorial-stone",fn:"memorial-stone.svg",cat:"objects"},{id:"mens-toilet",fn:"mens-toilet.svg",cat:"user"},{id:"menu",fn:"menu.svg",cat:"navigation"},{id:"message",fn:"message.svg",cat:"social"},{id:"minimize",fn:"minimize.svg",cat:"ui"},{id:"minus-circle-fill",fn:"minus-circle-fill.svg",cat:"ui"},{id:"minus-circle",fn:"minus-circle.svg",cat:"ui"},{id:"minus-sign",fn:"minus-sign.svg",cat:"ui"},{id:"mobile-phone",fn:"mobile-phone.svg",cat:"objects"},{id:"moon",fn:"moon.svg",cat:"objects"},{id:"motorcycle",fn:"motorcycle.svg",cat:"travel"},{id:"museum",fn:"museum.svg",cat:"places"},{id:"music-notes",fn:"music-notes.svg",cat:"objects"},{id:"nature-plant-2",fn:"nature-plant-2.svg",cat:"objects"},{id:"nature-plant",fn:"nature-plant.svg",cat:"objects"},{id:"new-window-small",fn:"new-window-small.svg",cat:"navigation"},{id:"new-window",fn:"new-window.svg",cat:"navigation"},{id:"no-walking",fn:"no-walking.svg",cat:"activities"},{id:"nodejs",fn:"nodejs.svg",cat:"social"},{id:"obstacle",fn:"obstacle.svg",cat:"objects"},{id:"organization",fn:"organization.svg",cat:"places"},{id:"package",fn:"package.svg",cat:"data"},{id:"paint-bucket",fn:"paint-bucket.svg",cat:"objects"},{id:"palette",fn:"palette.svg",cat:"objects"},{id:"paragraph",fn:"paragraph.svg",cat:"ui"},{id:"park",fn:"park.svg",cat:"places"},{id:"parking-meter",fn:"parking-meter.svg",cat:"signs"},{id:"partner-workout",fn:"partner-workout.svg",cat:"activities"},{id:"paste",fn:"paste.svg",cat:"ui"},{id:"picnic-table",fn:"picnic-table.svg",cat:"uncategorized"},{id:"picture",fn:"picture.svg",cat:"objects"},{id:"placeholder-icon",fn:"placeholder-icon.svg",cat:"ui"},{id:"planter-box",fn:"planter-box.svg",cat:"places"},{id:"playground",fn:"playground.svg",cat:"places"},{id:"plus-circle-fill",fn:"plus-circle-fill.svg",cat:"ui"},{id:"plus-circle",fn:"plus-circle.svg",cat:"ui"},{id:"plus-sign",fn:"plus-sign.svg",cat:"ui"},{id:"pregnant",fn:"pregnant.svg",cat:"user"},{id:"pride-heart",fn:"pride-heart.svg",cat:"health"},{id:"print",fn:"print.svg",cat:"objects"},{id:"privacy",fn:"privacy.svg",cat:"user"},{id:"process-back",fn:"process-back.svg",cat:"ui"},{id:"process-forward",fn:"process-forward.svg",cat:"ui"},{id:"process-iteration",fn:"process-iteration.svg",cat:"ui"},{id:"processing",fn:"processing.svg",cat:"ui"},{id:"prohibited",fn:"prohibited.svg",cat:"signs"},{id:"punkt-circle-blue",fn:"punkt-circle-blue.svg",cat:"social"},{id:"qr-code",fn:"qr-code.svg",cat:"ui"},{id:"question",fn:"question.svg",cat:"ui"},{id:"radio-checked",fn:"radio-checked.svg",cat:"ui"},{id:"radio-unchecked",fn:"radio-unchecked.svg",cat:"ui"},{id:"react",fn:"react.svg",cat:"social"},{id:"receipt",fn:"receipt.svg",cat:"ui"},{id:"recycling",fn:"recycling.svg",cat:"health"},{id:"restaurant",fn:"restaurant.svg",cat:"food"},{id:"roadblock",fn:"roadblock.svg",cat:"uncategorized"},{id:"ruler",fn:"ruler.svg",cat:"objects"},{id:"sass",fn:"sass.svg",cat:"social"},{id:"sauna",fn:"sauna.svg",cat:"activities"},{id:"save",fn:"save.svg",cat:"ui"},{id:"scooter-prohibited",fn:"scooter-prohibited.svg",cat:"travel"},{id:"scooter",fn:"scooter.svg",cat:"travel"},{id:"search-icon-round-active",fn:"search-icon-round-active.svg",cat:"uncategorized"},{id:"search-icon-round-disabled",fn:"search-icon-round-disabled.svg",cat:"uncategorized"},{id:"search-icon-round-normal",fn:"search-icon-round-normal.svg",cat:"uncategorized"},{id:"search-icon-square-active",fn:"search-icon-square-active.svg",cat:"uncategorized"},{id:"search-icon-square-disabled",fn:"search-icon-square-disabled.svg",cat:"uncategorized"},{id:"search-icon-square-normal",fn:"search-icon-square-normal.svg",cat:"uncategorized"},{id:"share-outline",fn:"share-outline.svg",cat:"social"},{id:"share",fn:"share.svg",cat:"social"},{id:"shield-fire",fn:"shield-fire.svg",cat:"health"},{id:"shield-law-paragraph",fn:"shield-law-paragraph.svg",cat:"user"},{id:"shoes-prohibited",fn:"shoes-prohibited.svg",cat:"objects"},{id:"shop",fn:"shop.svg",cat:"objects"},{id:"shower",fn:"shower.svg",cat:"objects"},{id:"signature",fn:"signature.svg",cat:"objects"},{id:"skateboarding",fn:"skateboarding.svg",cat:"activities"},{id:"slack",fn:"slack.svg",cat:"social"},{id:"sledding",fn:"sledding.svg",cat:"activities"},{id:"smiley-neutral",fn:"smiley-neutral.svg",cat:"feedback"},{id:"smiley-sad",fn:"smiley-sad.svg",cat:"feedback"},{id:"smiley-smile",fn:"smiley-smile.svg",cat:"feedback"},{id:"smoking-prohibited",fn:"smoking-prohibited.svg",cat:"signs"},{id:"snow",fn:"snow.svg",cat:"objects"},{id:"sort",fn:"sort.svg",cat:"ui"},{id:"sound-off",fn:"sound-off.svg",cat:"status"},{id:"sound-on",fn:"sound-on.svg",cat:"status"},{id:"sparkles",fn:"sparkles.svg",cat:"objects"},{id:"stairs-down",fn:"stairs-down.svg",cat:"signs"},{id:"stairs-up",fn:"stairs-up.svg",cat:"signs"},{id:"stairs",fn:"stairs.svg",cat:"signs"},{id:"street-vendor",fn:"street-vendor.svg",cat:"places"},{id:"stroller-prohibited",fn:"stroller-prohibited.svg",cat:"objects"},{id:"stroller",fn:"stroller.svg",cat:"objects"},{id:"studded-tires",fn:"studded-tires.svg",cat:"objects"},{id:"svg",fn:"svg.svg",cat:"social"},{id:"swimming-area",fn:"swimming-area.svg",cat:"activities"},{id:"swingset",fn:"swingset.svg",cat:"places"},{id:"table",fn:"table.svg",cat:"data"},{id:"tap",fn:"tap.svg",cat:"objects"},{id:"target",fn:"target.svg",cat:"ui"},{id:"thumbs-down",fn:"thumbs-down.svg",cat:"feedback"},{id:"thumbs-up",fn:"thumbs-up.svg",cat:"feedback"},{id:"tickets",fn:"tickets.svg",cat:"objects"},{id:"toilet-unisex",fn:"toilet-unisex.svg",cat:"user"},{id:"toilet",fn:"toilet.svg",cat:"signs"},{id:"tool",fn:"tool.svg",cat:"objects"},{id:"touching-prohibited",fn:"touching-prohibited.svg",cat:"signs"},{id:"trail-gate",fn:"trail-gate.svg",cat:"objects"},{id:"trail",fn:"trail.svg",cat:"sign"},{id:"tram",fn:"tram.svg",cat:"travel"},{id:"trash-can",fn:"trash-can.svg",cat:"ui"},{id:"trash",fn:"trash.svg",cat:"activities"},{id:"twitter",fn:"twitter.svg",cat:"social"},{id:"two-people-dancing",fn:"two-people-dancing.svg",cat:"activities"},{id:"two-people-talking",fn:"two-people-talking.svg",cat:"activities"},{id:"umbrella-prohibited",fn:"umbrella-prohibited.svg",cat:"objects"},{id:"urban-landscape",fn:"urban-landscape.svg",cat:"places"},{id:"urinal",fn:"urinal.svg",cat:"signs"},{id:"user",fn:"user.svg",cat:"user"},{id:"van",fn:"van.svg",cat:"travel"},{id:"vertical-menu",fn:"vertical-menu.svg",cat:"ui"},{id:"viewpoint",fn:"viewpoint.svg",cat:"objects"},{id:"virus",fn:"virus.svg",cat:"objects"},{id:"vue",fn:"vue.svg",cat:"social"},{id:"walking",fn:"walking.svg",cat:"activities"},{id:"wardrobe-boys",fn:"wardrobe-boys.svg",cat:"signs"},{id:"wardrobe-girls",fn:"wardrobe-girls.svg",cat:"signs"},{id:"wardrobe",fn:"wardrobe.svg",cat:"objects"},{id:"waste-container",fn:"waste-container.svg",cat:"objects"},{id:"water-faucet",fn:"water-faucet.svg",cat:"health"},{id:"wheelchair-ramp",fn:"wheelchair-ramp.svg",cat:"activities"},{id:"wheelchair",fn:"wheelchair.svg",cat:"sign"},{id:"wifi",fn:"wifi.svg",cat:"signs"},{id:"wine-bottle",fn:"wine-bottle.svg",cat:"food"},{id:"workplace",fn:"workplace.svg",cat:"social"},{id:"wrench",fn:"wrench.svg",cat:"objects"},{id:"x",fn:"x.svg",cat:"social"}],A2=({propKey:r,spec:n,props:i,handleChange:l})=>{const c={BOOLEAN:"boolean",ICON:"icon",ARRAY:"array",OBJECT:"object",DATE:"ISOdatestring",NUMBER:"number"},h=(T,$)=>{l(r,{...i[r],[T]:$})},m=(T,$,N)=>{const R=[...i[r]];R[T]={...R[T],[$]:N},l(r,R)},D=()=>{const T=[...i[r],{}];l(r,T)},C=T=>{const $=i[r].filter((N,R)=>R!==T);l(r,$)};if(n.type===c.BOOLEAN)return O.jsx(n_,{label:n.name||r,forId:r,helptext:n.description||null,hasFieldset:!0,requiredTag:n.required,children:O.jsx(k0,{id:r,label:r,type:"checkbox",checked:i[r]||!1,onChange:T=>l(r,T.target.checked,n.displayAsFalse),labelPosition:"right",isSwitch:!0})});if(n.type===c.ICON)return O.jsxs(Lb,{label:n.name||r,helptext:n.description||null,id:r,value:i[r]||"",onChange:T=>l(r,T.target.value),requiredTag:n.required,children:[O.jsx("option",{value:""}),P4.map(T=>O.jsx("option",{value:T.id,children:T.id},T.id))]});if(n.type===c.DATE)return O.jsx(w0,{id:r,label:n.name||r,helptext:n.description||null,value:i[r]||"",multiple:n.variant==="multiple",maxlength:999,onChange:T=>l(r,T.target.value),requiredTag:n.required});if(Array.isArray(n)||Array.isArray(n.type)||Array.isArray(n.values)){const T=Array.isArray(n)?n:n.values||n.type;return O.jsxs(Lb,{label:n.name||r,helptext:n.description||null,id:r,value:i[r],onChange:$=>l(r,$.target.value),requiredTag:n.required,children:[O.jsx("option",{value:""}),T.map($=>O.jsx("option",{value:$,children:$},$))]})}return n.type===c.NUMBER?O.jsx(ev,{id:r,label:n.name||r,helptext:n.description||null,type:"number",value:i[r]||"",onChange:T=>l(r,parseFloat(T.currentTarget.value)),requiredTag:n.required}):n.type===c.OBJECT?(i[r]||(i[r]={}),O.jsxs("div",{children:[O.jsx("div",{className:"pkt-inputwrapper__label",children:O.jsx("h2",{children:n.name||r})}),n.description&&O.jsx("p",{children:n.description}),O.jsxs("fieldset",{children:[O.jsx("legend",{children:n.name||r}),Object.entries(n.properties).map(([T,$])=>O.jsx(A2,{propKey:T,props:i[r],spec:$,handleChange:(N,R)=>h(N,R)},T))]})]})):n.type===c.ARRAY&&n.items.type===c.OBJECT?(i[r]||(i[r]=[]),O.jsxs("div",{children:[O.jsx("div",{className:"pkt-inputwrapper__label",children:O.jsx("h2",{children:n.name||r})}),n.description&&O.jsx("p",{children:n.description}),i[r].map((T,$)=>O.jsx("div",{children:O.jsxs("fieldset",{children:[O.jsxs("legend",{children:["Item ",$+1]}),Object.entries(n.items.properties).map(([N,R])=>O.jsx(A2,{propKey:N,props:T,spec:R,handleChange:(L,j)=>m($,L,j)},N)),O.jsx($d,{onClick:()=>C($),children:"Fjern denne"})]})},$)),O.jsx($d,{onClick:D,children:"Legg til ny"})]})):O.jsx(ev,{id:r,label:n.name||r,helptext:n.description||null,type:"text",value:i[r]||"",onChange:T=>l(r,n.type==="number"?parseFloat(T.currentTarget.value):T.currentTarget.value),requiredTag:n.required})};Zg.registerLanguage("jsx",E4);const OE=({specs:r,children:n,fullWidth:i})=>{var He,dt;const l=r.props&&typeof r.props=="object"&&!Array.isArray(r.props)?Object.entries(r.props).reduce((Me,[Oe,de])=>(typeof de=="object"&&!Array.isArray(de)&&de.previewDefault!==void 0&&de.previewDefault!==null?(de.previewDefault==="false"&&(de.previewDefault=!1),de.previewDefault==="true"&&(de.previewDefault=!0),Me[Oe]=de.previewDefault):typeof de=="object"&&!Array.isArray(de)&&de.default!==void 0&&de.default!==null&&(de.default==="false"&&(de.default=!1),de.default==="true"&&(de.default=!0),Me[Oe]=de.default),Me),{}):{},[c,h]=$e.useState(0),[m,D]=$e.useState(l),[C,T]=$e.useState("light"),[$,N]=$e.useState(""),[R,L]=$e.useState(""),[j,J]=$e.useState(""),[G,Se]=$e.useState("Rediger innhold"),[q,W]=$e.useState([{text:"Rediger",icon:"adjust",active:!0},{text:"Kode (React)",icon:"react",active:!1},{text:`Kode (${r.isElement?"Element":"HTML"})`,icon:"code",active:!1},{text:"Egenskaper",icon:"list",active:!1}]),Z=Me=>{Me===1&&pe(),Me===2&&ae(),J(""),W(Oe=>Oe.map((de,Le)=>({...de,active:Le===Me})))},X=$e.useRef(null),ae=async()=>{if(r.isElement&&$e.isValidElement(Xe)){const Me=$e.isValidElement(Xe)?Xe.type.displayName||Xe.type.name:r.name,Oe=Object.entries(m).map(([Le,xe])=>{if(xe&&!be(xe)&&!Ge(xe))return typeof xe=="object"?`${Le}='${JSON.stringify(xe)}'`:`${Le}="${xe}"`}).join(" "),de=await Eb(`<${r.name||Me} ${Oe}>${G}</${r.name||Me}>`,{parser:"html",plugins:[j1]});N(`<!-- Denne koden bør testes grundig før bruk. Spør en Punkt-utvikler om du er usikker. -->
1546
1546
  `+de)}else{const Me=await Eb(X.current.innerHTML,{parser:"html",plugins:[j1]});N(Me.replace(/<\!--.*?-->/g,""))}},pe=async()=>{const Me=await bL(Xe);return L(Me),Promise.resolve()},Te=(Me,Oe)=>{navigator.clipboard.writeText(Oe).then(()=>{J(Me),console.log("Copied to clipboard",Me)})},be=Me=>Array.isArray(Me)&&Me.length===0,Ge=Me=>Me&&typeof Me=="object"&&!Object.keys(Me).length,qe=(Me,Oe)=>O.jsxs("div",{className:"pkt-preview__copy",children:[j===Me&&O.jsx("span",{className:"pkt-preview__copied",children:"Kode kopiert til utklippstavle"}),O.jsx($d,{skin:"tertiary",variant:"icon-only",size:"small",iconName:"copy",onClick:()=>Te(Me,Oe),children:"Kopier kode"})]}),Xe=$e.isValidElement(n)&&$e.cloneElement(n,{...m},n.props.children?n.props.children:(He=r.slots)!=null&&He.default?G:null),nt=(Me,Oe,de=!1)=>{if(h(c+1),!de&&(!Oe||Oe=="false")){const{[Me]:Le,...xe}=m;D(xe)}else D(Le=>({...Le,[Me]:Oe}))};return O.jsxs("div",{className:"pkt-preview",children:[O.jsxs("div",{className:"pkt-preview__component-container","data-mode":C,children:[r["dark-mode"]&&O.jsx("div",{className:"pkt-preview__mode",children:O.jsx(k0,{id:"mode",label:"Dark mode",type:"checkbox",checked:C==="dark",onChange:Me=>T(Me.target.checked?"dark":"light"),labelPosition:"right",isSwitch:!0})}),O.jsx("div",{className:`pkt-preview__component ${i&&"pkt-preview__component--fullwidth"}`,ref:X,children:O.jsx("div",{children:Xe})},c)]}),O.jsx(LE,{tabs:q,onTabSelected:Z}),O.jsxs("div",{className:`pkt-grid pkt-preview__opts ${q[0].active?"":"pkt-hide"}`,children:[((dt=r.slots)==null?void 0:dt.default)&&!n.props.children&&O.jsxs("div",{className:"pkt-cell pkt-cell--span12 pkt-cell--span6-phablet-up",children:[O.jsx(Yh,{size:"small",skin:"blue-light",textStyle:"thin-text",children:"children"}),O.jsx(ev,{id:"slot",label:"Slot",helptext:r.slots.default.description||"Innholdet i slot",type:"text",value:G,onChange:Me=>Se(Me.currentTarget.value)})]}),r.props&&typeof r.props=="object"&&!Array.isArray(r.props)?Object.entries(r.props).map(([Me,Oe])=>O.jsxs("div",{className:"pkt-cell pkt-cell--span12 pkt-cell--span6-phablet-up",children:[O.jsx(Yh,{size:"small",skin:"blue-light",textStyle:"thin-text",children:Me}),O.jsx(A2,{propKey:Me,props:m,spec:Oe,handleChange:nt})]},Me)):O.jsx("p",{children:"OBS! Specs mangler props!"})]}),O.jsxs("div",{className:`pkt-preview__code ${q[1].active?"":"pkt-hide"}`,children:[O.jsx(Zg,{language:"jsx",style:RE,children:R}),qe("jsx",R)]}),O.jsxs("div",{className:`pkt-preview__code ${q[2].active?"":"pkt-hide"}`,children:[O.jsx(Zg,{language:"html",style:RE,children:$}),qe("html",$)]}),O.jsx("div",{className:`pkt-preview__specs ${q[3].active?"":"pkt-hide"}`,children:O.jsx(A4,{specs:r})})]})};OE.displayName="PktPreview";const N4=zr({tagName:"pkt-progressbar",elementClass:aa,react:$e,displayName:"PktProgressbar",events:{}}),BE=$e.forwardRef(({children:r,...n},i)=>O.jsx(N4,{ref:i,...n,children:O.jsx("div",{className:"pkt-contents",children:r})}));BE.displayName="PktProgressbar";const R4=zr({tagName:"pkt-radiobutton",elementClass:mu,react:$e,displayName:"PktRadioButton",events:{onChange:"change",onInput:"input",onBlur:"blur",onFocus:"focus",onValueChange:"valueChange"}}),L4=$e.forwardRef(({appearance:r="local",disabled:n=!1,fullwidth:i=!1,id:l,label:c,name:h,placeholder:m="Søk…",suggestions:D,value:C="",action:T,method:$,onChange:N,onSearch:R,onSuggestionClick:L,...j},J)=>{const G=(Z,X)=>{Z?Z():L&&L(X)},Se=Z=>{C=Z.target.value},q=`pkt-searchinput pkt-searchinput--${r} ${i?"pkt-searchinput--fullwidth":""}`;let W;return T?W=Z=>O.jsx("form",{role:"search",className:q,action:T,method:$,children:Z}):W=Z=>O.jsx("div",{role:"search",className:q,children:Z}),W(O.jsxs(O.Fragment,{children:[c&&O.jsx("label",{htmlFor:c?l:void 0,className:c?"pkt-inputwrapper__label":"",children:c}),O.jsxs("div",{className:r==="local"?"pkt-input__container":"pkt-searchinput__field",children:[O.jsx("input",{className:`pkt-input ${i?"pkt-input--fullwidth":""}`,type:"search",name:h||l,id:l,placeholder:m,defaultValue:C,disabled:n,autoComplete:"off","aria-autocomplete":"list",ref:J,"aria-controls":`${l}-suggestions`,onChange:N||Se,onKeyUp:R&&(Z=>{Z.key==="Enter"&&(Z.preventDefault(),R(C))}),...j}),O.jsx($d,{className:`pkt-searchinput__button ${r==="local"?"pkt-input-icon":""}`,variant:"icon-only",iconName:"magnifying-glass-big",skin:r==="local"?"tertiary":"primary",color:r==="global"?"yellow":void 0,type:"submit",disabled:n,onClick:R&&(Z=>{Z.preventDefault(),R(C)}),children:c||m})]}),D&&O.jsx("ul",{id:`${l}-suggestions`,className:"pkt-searchinput__suggestions","aria-live":"assertive",children:D.map((Z,X)=>O.jsx("li",{children:$e.createElement(Z.href?"a":Z.onClick?"button":"div",{href:Z.href,className:`pkt-searchinput__suggestion ${Z.onClick?"pkt-link-button":""} ${Z.href||Z.onClick?"pkt-searchinput__suggestion--has-hover":""}`,type:Z.onClick?"button":void 0,onClick:()=>G(Z.onClick,X),onKeyUp:ae=>ae.key==="Enter"&&G(Z.onClick,X)},O.jsxs(O.Fragment,{children:[Z.title&&O.jsx("h3",{className:"pkt-searchinput__suggestion-title",children:Z.title}),Z.text&&O.jsx("p",{className:"pkt-searchinput__suggestion-text",children:Z.text})]}))},`search-suggestion-${X}`))})]}))}),O4=$e.forwardRef(({activeStep:r,className:n,children:i,hideNonActiveSteps:l=!1,hideNonActiveStepsContent:c=!0,orientation:h="vertical",...m},D)=>{const C=ml(n,"pkt-stepper",h==="horizontal"?"pkt-stepper--horizontal":"pkt-stepper--vertical"),T=$e.Children.map(i,($,N)=>$e.isValidElement($)?$e.cloneElement($,{className:ml($.props.className,{"pkt-step--hideStep":l&&N!==r,"pkt-step--hideContent":c&&N!==r})}):$);return O.jsx("ol",{"data-testid":"pkt-stepper",className:C,ref:D,...m,children:T})}),B4=O.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",children:O.jsx("circle",{cx:"12",cy:"12",r:"7",style:{fill:"var(--pkt-color-grays-grey-200, #CCC)"}})}),M4=O.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",children:[O.jsx("circle",{opacity:".15",cx:"12",cy:"12",r:"12",fill:"#2A2859"}),O.jsx("circle",{cx:"12",cy:"12",r:"6",fill:"#2A2859"})]}),I4=O.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",children:[O.jsx("path",{fill:"#2A2859",d:"M3 3h18v18H3z"}),O.jsx("path",{d:"m10.34 16-1.11-1.14L7 12.58l1.11-1.15 2.23 2.28L15.88 8 17 9.15l-5.55 5.71L10.34 16Z",fill:"#F1FDFF"})]}),j4=({children:r,className:n,status:i="incomplete",title:l})=>O.jsxs("li",{className:ml("pkt-step",n,`pkt-step--${i}`),"data-testid":"pkt-step",children:[O.jsx("span",{className:"pkt-step__line pkt-step__line--1","aria-hidden":!0}),O.jsx("span",{className:"pkt-step__line pkt-step__line--2","aria-hidden":!0}),O.jsx("span",{className:ml("pkt-step__indicator"),children:i==="current"?M4:i==="completed"?I4:B4}),O.jsx("span",{className:"pkt-step__line pkt-step__line--3","aria-hidden":!0}),O.jsxs("div",{className:"pkt-step__wrapper",children:[O.jsx("div",{className:"pkt-step__title",children:l}),O.jsx("div",{className:"pkt-step__content",children:r})]})]}),z4=zr({tagName:"pkt-textarea",elementClass:qf,react:$e,displayName:"PktTextarea",events:{onChange:"change",onInput:"input",onBlur:"blur",onFocus:"focus",onValueChange:"valueChange",onToggleHelpText:"toggleHelpText"}}),ME=$e.forwardRef(({helptext:r,...n},i)=>O.jsx(z4,{...n,ref:i,children:r&&O.jsx("div",{slot:"helptext",className:"pkt-contents",children:r})}));ME.displayName="PktTextarea";var Gh=window.CustomEvent;(!Gh||typeof Gh=="object")&&(Gh=function(r,n){n=n||{};var i=document.createEvent("CustomEvent");return i.initCustomEvent(r,!!n.bubbles,!!n.cancelable,n.detail||null),i},Gh.prototype=window.Event.prototype);function IE(r,n){var i="on"+n.type.toLowerCase();return typeof r[i]=="function"&&r[i](n),r.dispatchEvent(n)}function U4(r){for(;r&&r!==document.body;){var n=window.getComputedStyle(r),i=function(l,c){return!(n[l]===void 0||n[l]===c)};if(n.opacity<1||i("zIndex","auto")||i("transform","none")||i("mixBlendMode","normal")||i("filter","none")||i("perspective","none")||n.isolation==="isolate"||n.position==="fixed"||n.webkitOverflowScrolling==="touch")return!0;r=r.parentElement}return!1}function tv(r){for(;r;){if(r.localName==="dialog")return r;r.parentElement?r=r.parentElement:r.parentNode?r=r.parentNode.host:r=null}return null}function jE(r){for(;r&&r.shadowRoot&&r.shadowRoot.activeElement;)r=r.shadowRoot.activeElement;r&&r.blur&&r!==document.body&&r.blur()}function H4(r,n){for(var i=0;i<r.length;++i)if(r[i]===n)return!0;return!1}function $2(r){return!r||!r.hasAttribute("method")?!1:r.getAttribute("method").toLowerCase()==="dialog"}function zE(r){var n=["button","input","keygen","select","textarea"],i=n.map(function(m){return m+":not([disabled])"});i.push('[tabindex]:not([disabled]):not([tabindex=""])');var l=r.querySelector(i.join(", "));if(!l&&"attachShadow"in Element.prototype)for(var c=r.querySelectorAll("*"),h=0;h<c.length&&!(c[h].tagName&&c[h].shadowRoot&&(l=zE(c[h].shadowRoot),l));h++);return l}function UE(r){return r.isConnected||document.body.contains(r)}function HE(r){if(r.submitter)return r.submitter;var n=r.target;if(!(n instanceof HTMLFormElement))return null;var i=In.formSubmitter;if(!i){var l=r.target,c="getRootNode"in l&&l.getRootNode()||document;i=c.activeElement}return!i||i.form!==n?null:i}function W4(r){if(!r.defaultPrevented){var n=r.target,i=In.imagemapUseValue,l=HE(r);i===null&&l&&(i=l.value);var c=tv(n);if(c){var h=l&&l.getAttribute("formmethod")||n.getAttribute("method");h==="dialog"&&(r.preventDefault(),i!=null?c.close(i):c.close())}}}function WE(r){if(this.dialog_=r,this.replacedStyleTop_=!1,this.openAsModal_=!1,r.hasAttribute("role")||r.setAttribute("role","dialog"),r.show=this.show.bind(this),r.showModal=this.showModal.bind(this),r.close=this.close.bind(this),r.addEventListener("submit",W4,!1),"returnValue"in r||(r.returnValue=""),"MutationObserver"in window){var n=new MutationObserver(this.maybeHideModal.bind(this));n.observe(r,{attributes:!0,attributeFilter:["open"]})}else{var i=!1,l=(function(){i?this.downgradeModal():this.maybeHideModal(),i=!1}).bind(this),c,h=function(m){if(m.target===r){var D="DOMNodeRemoved";i|=m.type.substr(0,D.length)===D,window.clearTimeout(c),c=window.setTimeout(l,0)}};["DOMAttrModified","DOMNodeRemoved","DOMNodeRemovedFromDocument"].forEach(function(m){r.addEventListener(m,h)})}Object.defineProperty(r,"open",{set:this.setOpen.bind(this),get:r.hasAttribute.bind(r,"open")}),this.backdrop_=document.createElement("div"),this.backdrop_.className="backdrop",this.backdrop_.addEventListener("mouseup",this.backdropMouseEvent_.bind(this)),this.backdrop_.addEventListener("mousedown",this.backdropMouseEvent_.bind(this)),this.backdrop_.addEventListener("click",this.backdropMouseEvent_.bind(this))}WE.prototype={get dialog(){return this.dialog_},maybeHideModal:function(){this.dialog_.hasAttribute("open")&&UE(this.dialog_)||this.downgradeModal()},downgradeModal:function(){this.openAsModal_&&(this.openAsModal_=!1,this.dialog_.style.zIndex="",this.replacedStyleTop_&&(this.dialog_.style.top="",this.replacedStyleTop_=!1),this.backdrop_.parentNode&&this.backdrop_.parentNode.removeChild(this.backdrop_),In.dm.removeDialog(this))},setOpen:function(r){r?this.dialog_.hasAttribute("open")||this.dialog_.setAttribute("open",""):(this.dialog_.removeAttribute("open"),this.maybeHideModal())},backdropMouseEvent_:function(r){if(this.dialog_.hasAttribute("tabindex"))this.dialog_.focus();else{var n=document.createElement("div");this.dialog_.insertBefore(n,this.dialog_.firstChild),n.tabIndex=-1,n.focus(),this.dialog_.removeChild(n)}var i=document.createEvent("MouseEvents");i.initMouseEvent(r.type,r.bubbles,r.cancelable,window,r.detail,r.screenX,r.screenY,r.clientX,r.clientY,r.ctrlKey,r.altKey,r.shiftKey,r.metaKey,r.button,r.relatedTarget),this.dialog_.dispatchEvent(i),r.stopPropagation()},focus_:function(){var r=this.dialog_.querySelector("[autofocus]:not([disabled])");!r&&this.dialog_.tabIndex>=0&&(r=this.dialog_),r||(r=zE(this.dialog_)),jE(document.activeElement),r&&r.focus()},updateZIndex:function(r,n){if(r<n)throw new Error("dialogZ should never be < backdropZ");this.dialog_.style.zIndex=r,this.backdrop_.style.zIndex=n},show:function(){this.dialog_.open||(this.setOpen(!0),this.focus_())},showModal:function(){if(this.dialog_.hasAttribute("open"))throw new Error("Failed to execute 'showModal' on dialog: The element is already open, and therefore cannot be opened modally.");if(!UE(this.dialog_))throw new Error("Failed to execute 'showModal' on dialog: The element is not in a Document.");if(!In.dm.pushDialog(this))throw new Error("Failed to execute 'showModal' on dialog: There are too many open modal dialogs.");U4(this.dialog_.parentElement)&&console.warn("A dialog is being shown inside a stacking context. This may cause it to be unusable. For more information, see this link: https://github.com/GoogleChrome/dialog-polyfill/#stacking-context"),this.setOpen(!0),this.openAsModal_=!0,In.needsCentering(this.dialog_)?(In.reposition(this.dialog_),this.replacedStyleTop_=!0):this.replacedStyleTop_=!1,this.dialog_.parentNode.insertBefore(this.backdrop_,this.dialog_.nextSibling),this.focus_()},close:function(r){if(!this.dialog_.hasAttribute("open"))throw new Error("Failed to execute 'close' on dialog: The element does not have an 'open' attribute, and therefore cannot be closed.");this.setOpen(!1),r!==void 0&&(this.dialog_.returnValue=r);var n=new Gh("close",{bubbles:!1,cancelable:!1});IE(this.dialog_,n)}};var In={};if(In.reposition=function(r){var n=document.body.scrollTop||document.documentElement.scrollTop,i=n+(window.innerHeight-r.offsetHeight)/2;r.style.top=Math.max(n,i)+"px"},In.isInlinePositionSetByStylesheet=function(r){for(var n=0;n<document.styleSheets.length;++n){var i=document.styleSheets[n],l=null;try{l=i.cssRules}catch{}if(l)for(var c=0;c<l.length;++c){var h=l[c],m=null;try{m=document.querySelectorAll(h.selectorText)}catch{}if(!(!m||!H4(m,r))){var D=h.style.getPropertyValue("top"),C=h.style.getPropertyValue("bottom");if(D&&D!=="auto"||C&&C!=="auto")return!0}}}return!1},In.needsCentering=function(r){var n=window.getComputedStyle(r);return n.position!=="absolute"||r.style.top!=="auto"&&r.style.top!==""||r.style.bottom!=="auto"&&r.style.bottom!==""?!1:!In.isInlinePositionSetByStylesheet(r)},In.forceRegisterDialog=function(r){if((window.HTMLDialogElement||r.showModal)&&console.warn("This browser already supports <dialog>, the polyfill may not work correctly",r),r.localName!=="dialog")throw new Error("Failed to register dialog: The element is not a dialog.");new WE(r)},In.registerDialog=function(r){r.showModal||In.forceRegisterDialog(r)},In.DialogManager=function(){this.pendingDialogStack=[];var r=this.checkDOM_.bind(this);this.overlay=document.createElement("div"),this.overlay.className="_dialog_overlay",this.overlay.addEventListener("click",(function(n){this.forwardTab_=void 0,n.stopPropagation(),r([])}).bind(this)),this.handleKey_=this.handleKey_.bind(this),this.handleFocus_=this.handleFocus_.bind(this),this.zIndexLow_=1e5,this.zIndexHigh_=100150,this.forwardTab_=void 0,"MutationObserver"in window&&(this.mo_=new MutationObserver(function(n){var i=[];n.forEach(function(l){for(var c=0,h;h=l.removedNodes[c];++c){if(h instanceof Element)h.localName==="dialog"&&i.push(h);else continue;i=i.concat(h.querySelectorAll("dialog"))}}),i.length&&r(i)}))},In.DialogManager.prototype.blockDocument=function(){document.documentElement.addEventListener("focus",this.handleFocus_,!0),document.addEventListener("keydown",this.handleKey_),this.mo_&&this.mo_.observe(document,{childList:!0,subtree:!0})},In.DialogManager.prototype.unblockDocument=function(){document.documentElement.removeEventListener("focus",this.handleFocus_,!0),document.removeEventListener("keydown",this.handleKey_),this.mo_&&this.mo_.disconnect()},In.DialogManager.prototype.updateStacking=function(){for(var r=this.zIndexHigh_,n=0,i;i=this.pendingDialogStack[n];++n)i.updateZIndex(--r,--r),n===0&&(this.overlay.style.zIndex=--r);var l=this.pendingDialogStack[0];if(l){var c=l.dialog.parentNode||document.body;c.appendChild(this.overlay)}else this.overlay.parentNode&&this.overlay.parentNode.removeChild(this.overlay)},In.DialogManager.prototype.containedByTopDialog_=function(r){for(;r=tv(r);){for(var n=0,i;i=this.pendingDialogStack[n];++n)if(i.dialog===r)return n===0;r=r.parentElement}return!1},In.DialogManager.prototype.handleFocus_=function(r){var n=r.composedPath?r.composedPath()[0]:r.target;if(!this.containedByTopDialog_(n)&&document.activeElement!==document.documentElement&&(r.preventDefault(),r.stopPropagation(),jE(n),this.forwardTab_!==void 0)){var i=this.pendingDialogStack[0],l=i.dialog,c=l.compareDocumentPosition(n);return c&Node.DOCUMENT_POSITION_PRECEDING&&(this.forwardTab_?i.focus_():n!==document.documentElement&&document.documentElement.focus()),!1}},In.DialogManager.prototype.handleKey_=function(r){if(this.forwardTab_=void 0,r.keyCode===27){r.preventDefault(),r.stopPropagation();var n=new Gh("cancel",{bubbles:!1,cancelable:!0}),i=this.pendingDialogStack[0];i&&IE(i.dialog,n)&&i.dialog.close()}else r.keyCode===9&&(this.forwardTab_=!r.shiftKey)},In.DialogManager.prototype.checkDOM_=function(r){var n=this.pendingDialogStack.slice();n.forEach(function(i){r.indexOf(i.dialog)!==-1?i.downgradeModal():i.maybeHideModal()})},In.DialogManager.prototype.pushDialog=function(r){var n=(this.zIndexHigh_-this.zIndexLow_)/2-1;return this.pendingDialogStack.length>=n?!1:(this.pendingDialogStack.unshift(r)===1&&this.blockDocument(),this.updateStacking(),!0)},In.DialogManager.prototype.removeDialog=function(r){var n=this.pendingDialogStack.indexOf(r);n!==-1&&(this.pendingDialogStack.splice(n,1),this.pendingDialogStack.length===0&&this.unblockDocument(),this.updateStacking())},In.dm=new In.DialogManager,In.formSubmitter=null,In.imagemapUseValue=null,window.HTMLDialogElement===void 0){var qE=document.createElement("form");if(qE.setAttribute("method","dialog"),qE.method!=="dialog"){var Xh=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"method");if(Xh){var q4=Xh.get;Xh.get=function(){return $2(this)?"dialog":q4.call(this)};var V4=Xh.set;Xh.set=function(r){return typeof r=="string"&&r.toLowerCase()==="dialog"?this.setAttribute("method",r):V4.call(this,r)},Object.defineProperty(HTMLFormElement.prototype,"method",Xh)}}document.addEventListener("click",function(r){if(In.formSubmitter=null,In.imagemapUseValue=null,!r.defaultPrevented){var n=r.target;if("composedPath"in r){var i=r.composedPath();n=i.shift()||n}if(!(!n||!$2(n.form))){var l=n.type==="submit"&&["button","input"].indexOf(n.localName)>-1;if(!l){if(!(n.localName==="input"&&n.type==="image"))return;In.imagemapUseValue=r.offsetX+","+r.offsetY}var c=tv(n);c&&(In.formSubmitter=n)}}},!1),document.addEventListener("submit",function(r){var n=r.target,i=tv(n);if(!i){var l=HE(r),c=l&&l.getAttribute("formmethod")||n.getAttribute("method");c==="dialog"&&r.preventDefault()}});var Y4=HTMLFormElement.prototype.submit,G4=function(){if(!$2(this))return Y4.call(this);var r=tv(this);r&&r.close()};HTMLFormElement.prototype.submit=G4}const X4=Object.freeze(Object.defineProperty({__proto__:null,default:In},Symbol.toStringTag,{value:"Module"}));Rt.PktAccordion=Yx,Rt.PktAccordionItem=Gx,Rt.PktAlert=Xx,Rt.PktBackLink=Jx,Rt.PktBreadcrumbs=hR,Rt.PktButton=$d,Rt.PktCard=Qx,Rt.PktCheckbox=k0,Rt.PktCombobox=Kx,Rt.PktConsent=ib,Rt.PktDatepicker=w0,Rt.PktFooter=yR,Rt.PktFooterSimple=bR,Rt.PktHeader=wR,Rt.PktHelptext=e_,Rt.PktIcon=or,Rt.PktInput=t_,Rt.PktInputWrapper=n_,Rt.PktLink=r_,Rt.PktLinkCard=a_,Rt.PktLoader=i_,Rt.PktMessagebox=o_,Rt.PktModal=s_,Rt.PktPreview=OE,Rt.PktProgressbar=BE,Rt.PktRadioButton=R4,Rt.PktSearchInput=L4,Rt.PktSelect=Lb,Rt.PktStep=j4,Rt.PktStepper=O4,Rt.PktTable=Pb,Rt.PktTableBody=Rb,Rt.PktTableDataCell=Zo,Rt.PktTableHeader=Nb,Rt.PktTableHeaderCell=gl,Rt.PktTableRow=rp,Rt.PktTabs=LE,Rt.PktTag=Yh,Rt.PktTextarea=ME,Rt.PktTextinput=ev,Object.defineProperty(Rt,Symbol.toStringTag,{value:"Module"})});