From a13619f4b8831087b5363d197c86a08e403c2fed Mon Sep 17 00:00:00 2001 From: tabularasae Date: Mon, 23 Jun 2025 22:07:34 -0400 Subject: [PATCH] Updates --- README.md | 11 - public/index.html => index.html | 0 main.js | 2 + main.js.LICENSE.txt | 39 + package-lock.json | 4857 ----------------------- package.json | 33 - public/react-logo.svg => react-logo.svg | 0 src/app.jsx | 187 - src/style.css | 72 - webpack.config.js | 38 - 10 files changed, 41 insertions(+), 5198 deletions(-) delete mode 100644 README.md rename public/index.html => index.html (100%) create mode 100644 main.js create mode 100644 main.js.LICENSE.txt delete mode 100644 package-lock.json delete mode 100644 package.json rename public/react-logo.svg => react-logo.svg (100%) delete mode 100644 src/app.jsx delete mode 100644 src/style.css delete mode 100644 webpack.config.js diff --git a/README.md b/README.md deleted file mode 100644 index 3fd3a98..0000000 --- a/README.md +++ /dev/null @@ -1,11 +0,0 @@ -# ⚛️ React Mini - -This is meant to get you started learning React! It uses Webpack and Babel to complile your React code, along with your CSS. You can also use `webpack-dev-server` to preview your React application locally, and the application will rebuild quickly on every file save. By default, the server runs on [http://localhost:3000](http://localhost:3000). - -## 🚀 Getting Started - -1. Clone or fork this repository on GitHub. -2. Install the NPM packages: `npm install` -3. Preview your React app: `npm run start-dev` - -If you're curious to see what Webpack is actually sending to the browser, try building the app with `npm start`. Then, look at `public/main.js`. What you find may shock and horrify you. 😱 diff --git a/public/index.html b/index.html similarity index 100% rename from public/index.html rename to index.html diff --git a/main.js b/main.js new file mode 100644 index 0000000..934c53e --- /dev/null +++ b/main.js @@ -0,0 +1,2 @@ +/*! For license information please see main.js.LICENSE.txt */ +(()=>{"use strict";var e={56:(e,t,n)=>{e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},72:e=>{var t=[];function n(e){for(var n=-1,r=0;r{e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},159:e=>{e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},208:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(601),l=n.n(r),a=n(314),o=n.n(a)()(l());o.push([e.id,'* {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n font-family: "Roboto", sans-serif;\n}\n\nbody {\n background-color: #2a7b9b;\n}\n\n.title {\n color: #ffffff;\n font-size: 3rem;\n font-weight: 700;\n text-align: center;\n margin-bottom: 2rem;\n}\n\n.app {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n min-height: 100vh;\n}\n\ntd {\n width: 20px;\n height: 20px;\n background-color: #ffffff;\n}\n\n.controls {\n display: flex;\n flex-wrap: wrap;\n justify-content: center;\n gap: 0.75rem;\n margin: 1.5rem 0;\n}\n\n.controls button,\n.controls select {\n padding: 0.5rem 1rem;\n background-color: #ffd54f;\n border: 2px solid #ffffff;\n border-radius: 0.5rem;\n font-size: 1rem;\n font-weight: 500;\n color: #000000;\n cursor: pointer;\n transition: background-color 0.2s ease, color 0.2s ease;\n}\n\n.controls button:hover,\n.controls select:focus {\n background-color: #ffca28;\n color: #1f5c72;\n outline: none;\n}\n\n.table {\n margin: 0 auto 1rem;\n border-collapse: collapse;\n}\n\ntd {\n width: 40px;\n height: 40px;\n background-color: #ffffff;\n border: 1px solid #e0e0e0;\n}',""]);const i=o},221:(e,t,n)=>{var r=n(540);function l(e){var t="https://react.dev/errors/"+e;if(1{var r=n(982),l=n(540),a=n(961);function o(e){var t="https://react.dev/errors/"+e;if(1F||(e.current=M[F],M[F]=null,F--)}function j(e,t){F++,M[F]=e.current,e.current=t}var H=I(null),$=I(null),V=I(null),B=I(null);function Q(e,t){switch(j(V,t),j($,e),j(H,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?rf(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)e=lf(t=rf(t),e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}U(H),j(H,e)}function W(){U(H),U($),U(V)}function q(e){null!==e.memoizedState&&j(B,e);var t=H.current,n=lf(t,e.type);t!==n&&(j($,e),j(H,n))}function K(e){$.current===e&&(U(H),U($)),B.current===e&&(U(B),Kf._currentValue=D)}var G=Object.prototype.hasOwnProperty,Y=r.unstable_scheduleCallback,X=r.unstable_cancelCallback,Z=r.unstable_shouldYield,J=r.unstable_requestPaint,ee=r.unstable_now,te=r.unstable_getCurrentPriorityLevel,ne=r.unstable_ImmediatePriority,re=r.unstable_UserBlockingPriority,le=r.unstable_NormalPriority,ae=r.unstable_LowPriority,oe=r.unstable_IdlePriority,ie=r.log,ue=r.unstable_setDisableYieldValue,se=null,ce=null;function fe(e){if("function"==typeof ie&&ue(e),ce&&"function"==typeof ce.setStrictMode)try{ce.setStrictMode(se,e)}catch(e){}}var de=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(pe(e)/me|0)|0},pe=Math.log,me=Math.LN2,he=256,ge=4194304;function ye(e){var t=42&e;if(0!==t)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194048&e;case 4194304:case 8388608:case 16777216:case 33554432:return 62914560&e;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function ve(e,t,n){var r=e.pendingLanes;if(0===r)return 0;var l=0,a=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var i=134217727&r;return 0!==i?0!==(r=i&~a)?l=ye(r):0!==(o&=i)?l=ye(o):n||0!==(n=i&~e)&&(l=ye(n)):0!==(i=r&~a)?l=ye(i):0!==o?l=ye(o):n||0!==(n=r&~e)&&(l=ye(n)),0===l?0:0!==t&&t!==l&&0===(t&a)&&((a=l&-l)>=(n=t&-t)||32===a&&4194048&n)?t:l}function be(e,t){return 0===(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)}function ke(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function we(){var e=he;return!(4194048&(he<<=1))&&(he=256),e}function Se(){var e=ge;return!(62914560&(ge<<=1))&&(ge=4194304),e}function Ee(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Ce(e,t){e.pendingLanes|=t,268435456!==t&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function xe(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-de(t);e.entangledLanes|=t,e.entanglements[r]=1073741824|e.entanglements[r]|4194090&n}function _e(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-de(n),l=1<)":-1--l||u[r]!==s[l]){var c="\n"+u[r].replace(" at new "," at ");return e.displayName&&c.includes("")&&(c=c.replace("",e.displayName)),c}}while(1<=r&&0<=l);break}}}finally{lt=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?rt(n):""}function ot(e){switch(e.tag){case 26:case 27:case 5:return rt(e.type);case 16:return rt("Lazy");case 13:return rt("Suspense");case 19:return rt("SuspenseList");case 0:case 15:return at(e.type,!1);case 11:return at(e.type.render,!1);case 1:return at(e.type,!0);case 31:return rt("Activity");default:return""}}function it(e){try{var t="";do{t+=ot(e),e=e.return}while(e);return t}catch(e){return"\nError generating stack: "+e.message+"\n"+e.stack}}function ut(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function st(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function ct(e){e._valueTracker||(e._valueTracker=function(e){var t=st(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var l=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(e){r=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function ft(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=st(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function dt(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}var pt=/[\n"\\]/g;function mt(e){return e.replace(pt,(function(e){return"\\"+e.charCodeAt(0).toString(16)+" "}))}function ht(e,t,n,r,l,a,o,i){e.name="",null!=o&&"function"!=typeof o&&"symbol"!=typeof o&&"boolean"!=typeof o?e.type=o:e.removeAttribute("type"),null!=t?"number"===o?(0===t&&""===e.value||e.value!=t)&&(e.value=""+ut(t)):e.value!==""+ut(t)&&(e.value=""+ut(t)):"submit"!==o&&"reset"!==o||e.removeAttribute("value"),null!=t?yt(e,o,ut(t)):null!=n?yt(e,o,ut(n)):null!=r&&e.removeAttribute("value"),null==l&&null!=a&&(e.defaultChecked=!!a),null!=l&&(e.checked=l&&"function"!=typeof l&&"symbol"!=typeof l),null!=i&&"function"!=typeof i&&"symbol"!=typeof i&&"boolean"!=typeof i?e.name=""+ut(i):e.removeAttribute("name")}function gt(e,t,n,r,l,a,o,i){if(null!=a&&"function"!=typeof a&&"symbol"!=typeof a&&"boolean"!=typeof a&&(e.type=a),null!=t||null!=n){if(("submit"===a||"reset"===a)&&null==t)return;n=null!=n?""+ut(n):"",t=null!=t?""+ut(t):n,i||t===e.value||(e.value=t),e.defaultValue=t}r="function"!=typeof(r=null!=r?r:l)&&"symbol"!=typeof r&&!!r,e.checked=i?e.checked:!!r,e.defaultChecked=!!r,null!=o&&"function"!=typeof o&&"symbol"!=typeof o&&"boolean"!=typeof o&&(e.name=o)}function yt(e,t,n){"number"===t&&dt(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function vt(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l=Sn),xn=String.fromCharCode(32),_n=!1;function Pn(e,t){switch(e){case"keyup":return-1!==kn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function zn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Nn=!1,Tn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Ln(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Tn[e.type]:"textarea"===t}function On(e,t,n,r){Lt?Ot?Ot.push(r):Ot=[r]:Lt=r,0<(t=Vc(t,"onChange")).length&&(n=new Zt("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var An=null,Rn=null;function Dn(e){Dc(e,0)}function Mn(e){if(ft($e(e)))return e}function Fn(e,t){if("change"===e)return t}var In=!1;if(Ft){var Un;if(Ft){var jn="oninput"in document;if(!jn){var Hn=document.createElement("div");Hn.setAttribute("oninput","return;"),jn="function"==typeof Hn.oninput}Un=jn}else Un=!1;In=Un&&(!document.documentMode||9=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Yn(r)}}function Zn(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?Zn(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function Jn(e){for(var t=dt((e=null!=e&&null!=e.ownerDocument&&null!=e.ownerDocument.defaultView?e.ownerDocument.defaultView:window).document);t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=dt((e=t.contentWindow).document)}return t}function er(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var tr=Ft&&"documentMode"in document&&11>=document.documentMode,nr=null,rr=null,lr=null,ar=!1;function or(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;ar||null==nr||nr!==dt(r)||(r="selectionStart"in(r=nr)&&er(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},lr&&Gn(lr,r)||(lr=r,0<(r=Vc(rr,"onSelect")).length&&(t=new Zt("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=nr)))}function ir(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var ur={animationend:ir("Animation","AnimationEnd"),animationiteration:ir("Animation","AnimationIteration"),animationstart:ir("Animation","AnimationStart"),transitionrun:ir("Transition","TransitionRun"),transitionstart:ir("Transition","TransitionStart"),transitioncancel:ir("Transition","TransitionCancel"),transitionend:ir("Transition","TransitionEnd")},sr={},cr={};function fr(e){if(sr[e])return sr[e];if(!ur[e])return e;var t,n=ur[e];for(t in n)if(n.hasOwnProperty(t)&&t in cr)return sr[e]=n[t];return e}Ft&&(cr=document.createElement("div").style,"AnimationEvent"in window||(delete ur.animationend.animation,delete ur.animationiteration.animation,delete ur.animationstart.animation),"TransitionEvent"in window||delete ur.transitionend.transition);var dr=fr("animationend"),pr=fr("animationiteration"),mr=fr("animationstart"),hr=fr("transitionrun"),gr=fr("transitionstart"),yr=fr("transitioncancel"),vr=fr("transitionend"),br=new Map,kr="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function wr(e,t){br.set(e,t),qe(t,[e])}kr.push("scrollEnd");var Sr=new WeakMap;function Er(e,t){if("object"==typeof e&&null!==e){var n=Sr.get(e);return void 0!==n?n:(t={value:e,source:t,stack:it(t)},Sr.set(e,t),t)}return{value:e,source:t,stack:it(t)}}var Cr=[],xr=0,_r=0;function Pr(){for(var e=xr,t=_r=xr=0;t>=o,l-=o,Yr=1<<32-de(t)+l|n<a?a:8;var o,i,u,s=A.T,c={};A.T=c,jo(e,!1,t,n);try{var f=l(),d=A.S;null!==d&&d(c,f),null!==f&&"object"==typeof f&&"function"==typeof f.then?Uo(e,t,(o=r,i=[],u={status:"pending",value:null,reason:null,then:function(e){i.push(e)}},f.then((function(){u.status="fulfilled",u.value=o;for(var e=0;ep?(m=f,f=null):m=f.sibling;var h=g(l,f,i[p],u);if(null===h){null===f&&(f=m);break}e&&f&&null===h.alternate&&t(l,f),o=a(h,o,p),null===c?s=h:c.sibling=h,c=h,f=m}if(p===i.length)return n(l,f),ll&&Zr(l,p),s;if(null===f){for(;pm?(h=p,p=null):h=p.sibling;var b=g(l,p,v.value,s);if(null===b){null===p&&(p=h);break}e&&p&&null===b.alternate&&t(l,p),i=a(b,i,m),null===f?c=b:f.sibling=b,f=b,p=h}if(v.done)return n(l,p),ll&&Zr(l,m),c;if(null===p){for(;!v.done;m++,v=u.next())null!==(v=d(l,v.value,s))&&(i=a(v,i,m),null===f?c=v:f.sibling=v,f=v);return ll&&Zr(l,m),c}for(p=r(p);!v.done;m++,v=u.next())null!==(v=y(p,l,m,v.value,s))&&(e&&null!==v.alternate&&p.delete(null===v.key?m:v.key),i=a(v,i,m),null===f?c=v:f.sibling=v,f=v);return e&&p.forEach((function(e){return t(l,e)})),ll&&Zr(l,m),c}(u,s,c=b.call(c),f)}if("function"==typeof c.then)return v(u,s,Yo(c),f);if(c.$$typeof===k)return v(u,s,_l(u,c),f);Zo(u,c)}return"string"==typeof c&&""!==c||"number"==typeof c||"bigint"==typeof c?(c=""+c,null!==s&&6===s.tag?(n(u,s.sibling),(f=l(s,c)).return=u,u=f):(n(u,s),(f=Hr(c,u.mode,f)).return=u,u=f),i(u)):n(u,s)}return function(e,t,n,r){try{Go=0;var l=v(e,t,n,r);return Ko=null,l}catch(t){if(t===Bl||t===Wl)throw t;var a=Dr(29,t,null,e.mode);return a.lanes=r,a.return=e,a}}}var ti=ei(!0),ni=ei(!1),ri=I(null),li=null;function ai(e){var t=e.alternate;j(si,1&si.current),j(ri,e),null===li&&(null===t||null!==da.current||null!==t.memoizedState)&&(li=e)}function oi(e){if(22===e.tag){if(j(si,si.current),j(ri,e),null===li){var t=e.alternate;null!==t&&null!==t.memoizedState&&(li=e)}}else ii()}function ii(){j(si,si.current),j(ri,ri.current)}function ui(e){U(ri),li===e&&(li=null),U(si)}var si=I(0);function ci(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||gf(n)))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(128&t.flags)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function fi(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:f({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var di={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=As(),l=ra(r);l.payload=t,null!=n&&(l.callback=n),null!==(t=la(e,l,r))&&(Ds(t,0,r),aa(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=As(),l=ra(r);l.tag=1,l.payload=t,null!=n&&(l.callback=n),null!==(t=la(e,l,r))&&(Ds(t,0,r),aa(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=As(),r=ra(n);r.tag=2,null!=t&&(r.callback=t),null!==(t=la(e,r,n))&&(Ds(t,0,n),aa(t,e,n))}};function pi(e,t,n,r,l,a,o){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,o):!(t.prototype&&t.prototype.isPureReactComponent&&Gn(n,r)&&Gn(l,a))}function mi(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&di.enqueueReplaceState(t,t.state,null)}function hi(e,t){var n=t;if("ref"in t)for(var r in n={},t)"ref"!==r&&(n[r]=t[r]);if(e=e.defaultProps)for(var l in n===t&&(n=f({},n)),e)void 0===n[l]&&(n[l]=e[l]);return n}var gi="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e);console.error(e)};function yi(e){gi(e)}function vi(e){console.error(e)}function bi(e){gi(e)}function ki(e,t){try{(0,e.onUncaughtError)(t.value,{componentStack:t.stack})}catch(e){setTimeout((function(){throw e}))}}function wi(e,t,n){try{(0,e.onCaughtError)(n.value,{componentStack:n.stack,errorBoundary:1===t.tag?t.stateNode:null})}catch(e){setTimeout((function(){throw e}))}}function Si(e,t,n){return(n=ra(n)).tag=3,n.payload={element:null},n.callback=function(){ki(e,t)},n}function Ei(e){return(e=ra(e)).tag=3,e}function Ci(e,t,n,r){var l=n.type.getDerivedStateFromError;if("function"==typeof l){var a=r.value;e.payload=function(){return l(a)},e.callback=function(){wi(t,n,r)}}var o=n.stateNode;null!==o&&"function"==typeof o.componentDidCatch&&(e.callback=function(){wi(t,n,r),"function"!=typeof l&&(null===Es?Es=new Set([this]):Es.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:null!==e?e:""})})}var xi=Error(o(461)),_i=!1;function Pi(e,t,n,r){t.child=null===e?ni(t,null,n,r):ti(t,e.child,n,r)}function zi(e,t,n,r,l){n=n.render;var a=t.ref;if("ref"in r){var o={};for(var i in r)"ref"!==i&&(o[i]=r[i])}else o=r;return Cl(t),r=Ta(e,t,n,o,a,l),i=Ra(),null===e||_i?(ll&&i&&el(t),t.flags|=1,Pi(e,t,r,l),t.child):(Da(e,t,l),Ki(e,t,l))}function Ni(e,t,n,r,l){if(null===e){var a=n.type;return"function"!=typeof a||Mr(a)||void 0!==a.defaultProps||null!==n.compare?((e=Ur(n.type,null,r,t,t.mode,l)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,Ti(e,t,a,r,l))}if(a=e.child,!Gi(e,l)){var o=a.memoizedProps;if((n=null!==(n=n.compare)?n:Gn)(o,r)&&e.ref===t.ref)return Ki(e,t,l)}return t.flags|=1,(e=Fr(a,r)).ref=t.ref,e.return=t,t.child=e}function Ti(e,t,n,r,l){if(null!==e){var a=e.memoizedProps;if(Gn(a,r)&&e.ref===t.ref){if(_i=!1,t.pendingProps=r=a,!Gi(e,l))return t.lanes=e.lanes,Ki(e,t,l);131072&e.flags&&(_i=!0)}}return Ri(e,t,n,r,l)}function Li(e,t,n){var r=t.pendingProps,l=r.children,a=null!==e?e.memoizedState:null;if("hidden"===r.mode){if(128&t.flags){if(r=null!==a?a.baseLanes|n:n,null!==e){for(l=t.child=e.child,a=0;null!==l;)a=a|l.lanes|l.childLanes,l=l.sibling;t.childLanes=a&~r}else t.childLanes=0,t.child=null;return Oi(e,t,r,n)}if(!(536870912&n))return t.lanes=t.childLanes=536870912,Oi(e,t,null!==a?a.baseLanes|n:n,n);t.memoizedState={baseLanes:0,cachePool:null},null!==e&&$l(0,null!==a?a.cachePool:null),null!==a?ma(t,a):ha(),oi(t)}else null!==a?($l(0,a.cachePool),ma(t,a),ii(),t.memoizedState=null):(null!==e&&$l(0,null),ha(),ii());return Pi(e,t,l,n),t.child}function Oi(e,t,n,r){var l=Hl();return l=null===l?null:{parent:Ll._currentValue,pool:l},t.memoizedState={baseLanes:n,cachePool:l},null!==e&&$l(0,null),ha(),oi(t),null!==e&&Sl(e,t,r,!0),null}function Ai(e,t){var n=t.ref;if(null===n)null!==e&&null!==e.ref&&(t.flags|=4194816);else{if("function"!=typeof n&&"object"!=typeof n)throw Error(o(284));null!==e&&e.ref===n||(t.flags|=4194816)}}function Ri(e,t,n,r,l){return Cl(t),n=Ta(e,t,n,r,void 0,l),r=Ra(),null===e||_i?(ll&&r&&el(t),t.flags|=1,Pi(e,t,n,l),t.child):(Da(e,t,l),Ki(e,t,l))}function Di(e,t,n,r,l,a){return Cl(t),t.updateQueue=null,n=Oa(t,r,n,l),La(e),r=Ra(),null===e||_i?(ll&&r&&el(t),t.flags|=1,Pi(e,t,n,a),t.child):(Da(e,t,a),Ki(e,t,a))}function Mi(e,t,n,r,l){if(Cl(t),null===t.stateNode){var a=Ar,o=n.contextType;"object"==typeof o&&null!==o&&(a=xl(o)),a=new n(r,a),t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,a.updater=di,t.stateNode=a,a._reactInternals=t,(a=t.stateNode).props=r,a.state=t.memoizedState,a.refs={},ta(t),o=n.contextType,a.context="object"==typeof o&&null!==o?xl(o):Ar,a.state=t.memoizedState,"function"==typeof(o=n.getDerivedStateFromProps)&&(fi(t,n,o,r),a.state=t.memoizedState),"function"==typeof n.getDerivedStateFromProps||"function"==typeof a.getSnapshotBeforeUpdate||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||(o=a.state,"function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),o!==a.state&&di.enqueueReplaceState(a,a.state,null),sa(t,r,a,l),ua(),a.state=t.memoizedState),"function"==typeof a.componentDidMount&&(t.flags|=4194308),r=!0}else if(null===e){a=t.stateNode;var i=t.memoizedProps,u=hi(n,i);a.props=u;var s=a.context,c=n.contextType;o=Ar,"object"==typeof c&&null!==c&&(o=xl(c));var f=n.getDerivedStateFromProps;c="function"==typeof f||"function"==typeof a.getSnapshotBeforeUpdate,i=t.pendingProps!==i,c||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(i||s!==o)&&mi(t,a,r,o),ea=!1;var d=t.memoizedState;a.state=d,sa(t,r,a,l),ua(),s=t.memoizedState,i||d!==s||ea?("function"==typeof f&&(fi(t,n,f,r),s=t.memoizedState),(u=ea||pi(t,n,u,r,d,s,o))?(c||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4194308)):("function"==typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),a.props=r,a.state=s,a.context=o,r=u):("function"==typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,na(e,t),c=hi(n,o=t.memoizedProps),a.props=c,f=t.pendingProps,d=a.context,s=n.contextType,u=Ar,"object"==typeof s&&null!==s&&(u=xl(s)),(s="function"==typeof(i=n.getDerivedStateFromProps)||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(o!==f||d!==u)&&mi(t,a,r,u),ea=!1,d=t.memoizedState,a.state=d,sa(t,r,a,l),ua();var p=t.memoizedState;o!==f||d!==p||ea||null!==e&&null!==e.dependencies&&El(e.dependencies)?("function"==typeof i&&(fi(t,n,i,r),p=t.memoizedState),(c=ea||pi(t,n,c,r,d,p,u)||null!==e&&null!==e.dependencies&&El(e.dependencies))?(s||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,p,u),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,p,u)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof a.componentDidUpdate||o===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||o===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=u,r=c):("function"!=typeof a.componentDidUpdate||o===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||o===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return a=r,Ai(e,t),r=!!(128&t.flags),a||r?(a=t.stateNode,n=r&&"function"!=typeof n.getDerivedStateFromError?null:a.render(),t.flags|=1,null!==e&&r?(t.child=ti(t,e.child,null,l),t.child=ti(t,null,n,l)):Pi(e,t,n,l),t.memoizedState=a.state,e=t.child):e=Ki(e,t,l),e}function Fi(e,t,n,r){return dl(),t.flags|=256,Pi(e,t,n,r),t.child}var Ii={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Ui(e){return{baseLanes:e,cachePool:Vl()}}function ji(e,t,n){return e=null!==e?e.childLanes&~n:0,t&&(e|=hs),e}function Hi(e,t,n){var r,l=t.pendingProps,a=!1,i=!!(128&t.flags);if((r=i)||(r=(null===e||null!==e.memoizedState)&&!!(2&si.current)),r&&(a=!0,t.flags&=-129),r=!!(32&t.flags),t.flags&=-33,null===e){if(ll){if(a?ai(t):ii(),ll){var u,s=rl;if(u=s){e:{for(u=s,s=ol;8!==u.nodeType;){if(!s){s=null;break e}if(null===(u=yf(u.nextSibling))){s=null;break e}}s=u}null!==s?(t.memoizedState={dehydrated:s,treeContext:null!==Gr?{id:Yr,overflow:Xr}:null,retryLane:536870912,hydrationErrors:null},(u=Dr(18,null,null,0)).stateNode=s,u.return=t,t.child=u,nl=t,rl=null,u=!0):u=!1}u||ul(t)}if(null!==(s=t.memoizedState)&&null!==(s=s.dehydrated))return gf(s)?t.lanes=32:t.lanes=536870912,null;ui(t)}return s=l.children,l=l.fallback,a?(ii(),s=Vi({mode:"hidden",children:s},a=t.mode),l=jr(l,a,n,null),s.return=t,l.return=t,s.sibling=l,t.child=s,(a=t.child).memoizedState=Ui(n),a.childLanes=ji(e,r,n),t.memoizedState=Ii,l):(ai(t),$i(t,s))}if(null!==(u=e.memoizedState)&&null!==(s=u.dehydrated)){if(i)256&t.flags?(ai(t),t.flags&=-257,t=Bi(e,t,n)):null!==t.memoizedState?(ii(),t.child=e.child,t.flags|=128,t=null):(ii(),a=l.fallback,s=t.mode,l=Vi({mode:"visible",children:l.children},s),(a=jr(a,s,n,null)).flags|=2,l.return=t,a.return=t,l.sibling=a,t.child=l,ti(t,e.child,null,n),(l=t.child).memoizedState=Ui(n),l.childLanes=ji(e,r,n),t.memoizedState=Ii,t=a);else if(ai(t),gf(s)){if(r=s.nextSibling&&s.nextSibling.dataset)var c=r.dgst;r=c,(l=Error(o(419))).stack="",l.digest=r,ml({value:l,source:null,stack:null}),t=Bi(e,t,n)}else if(_i||Sl(e,t,n,!1),r=0!==(n&e.childLanes),_i||r){if(null!==(r=ns)&&0!==(l=0!==((l=42&(l=n&-n)?1:Pe(l))&(r.suspendedLanes|n))?0:l)&&l!==u.retryLane)throw u.retryLane=l,Tr(e,l),Ds(r,0,l),xi;"$?"===s.data||Ws(),t=Bi(e,t,n)}else"$?"===s.data?(t.flags|=192,t.child=e.child,t=null):(e=u.treeContext,rl=yf(s.nextSibling),nl=t,ll=!0,al=null,ol=!1,null!==e&&(qr[Kr++]=Yr,qr[Kr++]=Xr,qr[Kr++]=Gr,Yr=e.id,Xr=e.overflow,Gr=t),(t=$i(t,l.children)).flags|=4096);return t}return a?(ii(),a=l.fallback,s=t.mode,c=(u=e.child).sibling,(l=Fr(u,{mode:"hidden",children:l.children})).subtreeFlags=65011712&u.subtreeFlags,null!==c?a=Fr(c,a):(a=jr(a,s,n,null)).flags|=2,a.return=t,l.return=t,l.sibling=a,t.child=l,l=a,a=t.child,null===(s=e.child.memoizedState)?s=Ui(n):(null!==(u=s.cachePool)?(c=Ll._currentValue,u=u.parent!==c?{parent:c,pool:c}:u):u=Vl(),s={baseLanes:s.baseLanes|n,cachePool:u}),a.memoizedState=s,a.childLanes=ji(e,r,n),t.memoizedState=Ii,l):(ai(t),e=(n=e.child).sibling,(n=Fr(n,{mode:"visible",children:l.children})).return=t,n.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n,t.memoizedState=null,n)}function $i(e,t){return(t=Vi({mode:"visible",children:t},e.mode)).return=e,e.child=t}function Vi(e,t){return(e=Dr(22,e,null,t)).lanes=0,e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},e}function Bi(e,t,n){return ti(t,e.child,null,n),(e=$i(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Qi(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),kl(e.return,t,n)}function Wi(e,t,n,r,l){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:l}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=l)}function qi(e,t,n){var r=t.pendingProps,l=r.revealOrder,a=r.tail;if(Pi(e,t,r.children,n),2&(r=si.current))r=1&r|2,t.flags|=128;else{if(null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Qi(e,n,t);else if(19===e.tag)Qi(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}switch(j(si,r),l){case"forwards":for(n=t.child,l=null;null!==n;)null!==(e=n.alternate)&&null===ci(e)&&(l=n),n=n.sibling;null===(n=l)?(l=t.child,t.child=null):(l=n.sibling,n.sibling=null),Wi(t,!1,l,n,a);break;case"backwards":for(n=null,l=t.child,t.child=null;null!==l;){if(null!==(e=l.alternate)&&null===ci(e)){t.child=l;break}e=l.sibling,l.sibling=n,n=l,l=e}Wi(t,!0,n,null,a);break;case"together":Wi(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Ki(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),ds|=t.lanes,0===(n&t.childLanes)){if(null===e)return null;if(Sl(e,t,n,!1),0===(n&t.childLanes))return null}if(null!==e&&t.child!==e.child)throw Error(o(153));if(null!==t.child){for(n=Fr(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Fr(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Gi(e,t){return 0!==(e.lanes&t)||!(null===(e=e.dependencies)||!El(e))}function Yi(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps)_i=!0;else{if(!(Gi(e,n)||128&t.flags))return _i=!1,function(e,t,n){switch(t.tag){case 3:Q(t,t.stateNode.containerInfo),vl(0,Ll,e.memoizedState.cache),dl();break;case 27:case 5:q(t);break;case 4:Q(t,t.stateNode.containerInfo);break;case 10:vl(0,t.type,t.memoizedProps.value);break;case 13:var r=t.memoizedState;if(null!==r)return null!==r.dehydrated?(ai(t),t.flags|=128,null):0!==(n&t.child.childLanes)?Hi(e,t,n):(ai(t),null!==(e=Ki(e,t,n))?e.sibling:null);ai(t);break;case 19:var l=!!(128&e.flags);if((r=0!==(n&t.childLanes))||(Sl(e,t,n,!1),r=0!==(n&t.childLanes)),l){if(r)return qi(e,t,n);t.flags|=128}if(null!==(l=t.memoizedState)&&(l.rendering=null,l.tail=null,l.lastEffect=null),j(si,si.current),r)break;return null;case 22:case 23:return t.lanes=0,Li(e,t,n);case 24:vl(0,Ll,e.memoizedState.cache)}return Ki(e,t,n)}(e,t,n);_i=!!(131072&e.flags)}else _i=!1,ll&&1048576&t.flags&&Jr(t,Wr,t.index);switch(t.lanes=0,t.tag){case 16:e:{e=t.pendingProps;var r=t.elementType,l=r._init;if(r=l(r._payload),t.type=r,"function"!=typeof r){if(null!=r){if((l=r.$$typeof)===w){t.tag=11,t=zi(null,t,r,e,n);break e}if(l===C){t.tag=14,t=Ni(null,t,r,e,n);break e}}throw t=L(r)||r,Error(o(306,t,""))}Mr(r)?(e=hi(r,e),t.tag=1,t=Mi(null,t,r,e,n)):(t.tag=0,t=Ri(null,t,r,e,n))}return t;case 0:return Ri(e,t,t.type,t.pendingProps,n);case 1:return Mi(e,t,r=t.type,l=hi(r,t.pendingProps),n);case 3:e:{if(Q(t,t.stateNode.containerInfo),null===e)throw Error(o(387));r=t.pendingProps;var a=t.memoizedState;l=a.element,na(e,t),sa(t,r,null,n);var i=t.memoizedState;if(r=i.cache,vl(0,Ll,r),r!==a.cache&&wl(t,[Ll],n,!0),ua(),r=i.element,a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:i.cache},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=Fi(e,t,r,n);break e}if(r!==l){ml(l=Er(Error(o(424)),t)),t=Fi(e,t,r,n);break e}for(e=9===(e=t.stateNode.containerInfo).nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e,rl=yf(e.firstChild),nl=t,ll=!0,al=null,ol=!0,n=ni(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(dl(),r===l){t=Ki(e,t,n);break e}Pi(e,t,r,n)}t=t.child}return t;case 26:return Ai(e,t),null===e?(n=zf(t.type,null,t.pendingProps,null))?t.memoizedState=n:ll||(n=t.type,e=t.pendingProps,(r=nf(V.current).createElement(n))[Le]=t,r[Oe]=e,Jc(r,n,e),Be(r),t.stateNode=r):t.memoizedState=zf(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return q(t),null===e&&ll&&(r=t.stateNode=kf(t.type,t.pendingProps,V.current),nl=t,ol=!0,l=rl,pf(t.type)?(vf=l,rl=yf(r.firstChild)):rl=l),Pi(e,t,t.pendingProps.children,n),Ai(e,t),null===e&&(t.flags|=4194304),t.child;case 5:return null===e&&ll&&((l=r=rl)&&(null!==(r=function(e,t,n,r){for(;1===e.nodeType;){var l=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&("INPUT"!==e.nodeName||"hidden"!==e.type))break}else if(r){if(!e[Ie])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if("stylesheet"===(a=e.getAttribute("rel"))&&e.hasAttribute("data-precedence"))break;if(a!==l.rel||e.getAttribute("href")!==(null==l.href||""===l.href?null:l.href)||e.getAttribute("crossorigin")!==(null==l.crossOrigin?null:l.crossOrigin)||e.getAttribute("title")!==(null==l.title?null:l.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(((a=e.getAttribute("src"))!==(null==l.src?null:l.src)||e.getAttribute("type")!==(null==l.type?null:l.type)||e.getAttribute("crossorigin")!==(null==l.crossOrigin?null:l.crossOrigin))&&a&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else{if("input"!==t||"hidden"!==e.type)return e;var a=null==l.name?null:""+l.name;if("hidden"===l.type&&e.getAttribute("name")===a)return e}if(null===(e=yf(e.nextSibling)))break}return null}(r,t.type,t.pendingProps,ol))?(t.stateNode=r,nl=t,rl=yf(r.firstChild),ol=!1,l=!0):l=!1),l||ul(t)),q(t),l=t.type,a=t.pendingProps,i=null!==e?e.memoizedProps:null,r=a.children,af(l,a)?r=null:null!==i&&af(l,i)&&(t.flags|=32),null!==t.memoizedState&&(l=Ta(e,t,Aa,null,null,n),Kf._currentValue=l),Ai(e,t),Pi(e,t,r,n),t.child;case 6:return null===e&&ll&&((e=n=rl)&&(null!==(n=function(e,t,n){if(""===t)return null;for(;3!==e.nodeType;){if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!n)return null;if(null===(e=yf(e.nextSibling)))return null}return e}(n,t.pendingProps,ol))?(t.stateNode=n,nl=t,rl=null,e=!0):e=!1),e||ul(t)),null;case 13:return Hi(e,t,n);case 4:return Q(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=ti(t,null,r,n):Pi(e,t,r,n),t.child;case 11:return zi(e,t,t.type,t.pendingProps,n);case 7:return Pi(e,t,t.pendingProps,n),t.child;case 8:case 12:return Pi(e,t,t.pendingProps.children,n),t.child;case 10:return r=t.pendingProps,vl(0,t.type,r.value),Pi(e,t,r.children,n),t.child;case 9:return l=t.type._context,r=t.pendingProps.children,Cl(t),r=r(l=xl(l)),t.flags|=1,Pi(e,t,r,n),t.child;case 14:return Ni(e,t,t.type,t.pendingProps,n);case 15:return Ti(e,t,t.type,t.pendingProps,n);case 19:return qi(e,t,n);case 31:return r=t.pendingProps,n=t.mode,r={mode:r.mode,children:r.children},null===e?((n=Vi(r,n)).ref=t.ref,t.child=n,n.return=t,t=n):((n=Fr(e.child,r)).ref=t.ref,t.child=n,n.return=t,t=n),t;case 22:return Li(e,t,n);case 24:return Cl(t),r=xl(Ll),null===e?(null===(l=Hl())&&(l=ns,a=Ol(),l.pooledCache=a,a.refCount++,null!==a&&(l.pooledCacheLanes|=n),l=a),t.memoizedState={parent:r,cache:l},ta(t),vl(0,Ll,l)):(0!==(e.lanes&n)&&(na(e,t),sa(t,null,null,n),ua()),l=e.memoizedState,a=t.memoizedState,l.parent!==r?(l={parent:r,cache:r},t.memoizedState=l,0===t.lanes&&(t.memoizedState=t.updateQueue.baseState=l),vl(0,Ll,r)):(r=a.cache,vl(0,Ll,r),r!==l.cache&&wl(t,[Ll],n,!0))),Pi(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(o(156,t.tag))}function Xi(e){e.flags|=4}function Zi(e,t){if("stylesheet"!==t.type||4&t.state.loading)e.flags&=-16777217;else if(e.flags|=16777216,!Hf(t)){if(null!==(t=ri.current)&&((4194048&ls)===ls?null!==li:(62914560&ls)!==ls&&!(536870912&ls)||t!==li))throw Xl=ql,Ql;e.flags|=8192}}function Ji(e,t){null!==t&&(e.flags|=4),16384&e.flags&&(t=22!==e.tag?Se():536870912,e.lanes|=t,gs|=t)}function eu(e,t){if(!ll)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function tu(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var l=e.child;null!==l;)n|=l.lanes|l.childLanes,r|=65011712&l.subtreeFlags,r|=65011712&l.flags,l.return=e,l=l.sibling;else for(l=e.child;null!==l;)n|=l.lanes|l.childLanes,r|=l.subtreeFlags,r|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function nu(e,t,n){var r=t.pendingProps;switch(tl(t),t.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:case 1:return tu(t),null;case 3:return n=t.stateNode,r=null,null!==e&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),bl(Ll),W(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||(fl(t)?Xi(t):null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,pl())),tu(t),null;case 26:return n=t.memoizedState,null===e?(Xi(t),null!==n?(tu(t),Zi(t,n)):(tu(t),t.flags&=-16777217)):n?n!==e.memoizedState?(Xi(t),tu(t),Zi(t,n)):(tu(t),t.flags&=-16777217):(e.memoizedProps!==r&&Xi(t),tu(t),t.flags&=-16777217),null;case 27:K(t),n=V.current;var l=t.type;if(null!==e&&null!=t.stateNode)e.memoizedProps!==r&&Xi(t);else{if(!r){if(null===t.stateNode)throw Error(o(166));return tu(t),null}e=H.current,fl(t)?sl(t):(e=kf(l,r,n),t.stateNode=e,Xi(t))}return tu(t),null;case 5:if(K(t),n=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==r&&Xi(t);else{if(!r){if(null===t.stateNode)throw Error(o(166));return tu(t),null}if(e=H.current,fl(t))sl(t);else{switch(l=nf(V.current),e){case 1:e=l.createElementNS("http://www.w3.org/2000/svg",n);break;case 2:e=l.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;default:switch(n){case"svg":e=l.createElementNS("http://www.w3.org/2000/svg",n);break;case"math":e=l.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;case"script":(e=l.createElement("div")).innerHTML="