From 2e6591fdfd1b7f42837f156646805d7bab995189 Mon Sep 17 00:00:00 2001 From: DerTyp7 Date: Sun, 12 Nov 2023 18:27:04 +0000 Subject: [PATCH] deploy: f0761c40b72cc33f6bfceb7ea0c8cba26eff8060 --- assets/{index-5ca9e7bc.js => index-7f063229.js} | 16 ++++++++-------- index.html | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) rename assets/{index-5ca9e7bc.js => index-7f063229.js} (93%) diff --git a/assets/index-5ca9e7bc.js b/assets/index-7f063229.js similarity index 93% rename from assets/index-5ca9e7bc.js rename to assets/index-7f063229.js index 93dc7be..dccbd1f 100644 --- a/assets/index-5ca9e7bc.js +++ b/assets/index-7f063229.js @@ -14,7 +14,7 @@ function Hc(e,t){for(var n=0;n>>1,J=_[Q];if(0>>1;Ql(Il,j))xtl(sr,Il)?(_[Q]=sr,_[xt]=j,Q=xt):(_[Q]=Il,_[kt]=j,Q=kt);else if(xtl(sr,j))_[Q]=sr,_[xt]=j,Q=xt;else break e}}return z}function l(_,z){var j=_.sortIndex-z.sortIndex;return j!==0?j:_.id-z.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var o=Date,u=o.now();e.unstable_now=function(){return o.now()-u}}var s=[],a=[],p=1,v=null,h=3,m=!1,w=!1,y=!1,T=typeof setTimeout=="function"?setTimeout:null,d=typeof clearTimeout=="function"?clearTimeout:null,c=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function f(_){for(var z=n(a);z!==null;){if(z.callback===null)r(a);else if(z.startTime<=_)r(a),z.sortIndex=z.expirationTime,t(s,z);else break;z=n(a)}}function g(_){if(y=!1,f(_),!w)if(n(s)!==null)w=!0,zl(x);else{var z=n(a);z!==null&&jl(g,z.startTime-_)}}function x(_,z){w=!1,y&&(y=!1,d(L),L=-1),m=!0;var j=h;try{for(f(z),v=n(s);v!==null&&(!(v.expirationTime>z)||_&&!se());){var Q=v.callback;if(typeof Q=="function"){v.callback=null,h=v.priorityLevel;var J=Q(v.expirationTime<=z);z=e.unstable_now(),typeof J=="function"?v.callback=J:v===n(s)&&r(s),f(z)}else r(s);v=n(s)}if(v!==null)var ur=!0;else{var kt=n(a);kt!==null&&jl(g,kt.startTime-z),ur=!1}return ur}finally{v=null,h=j,m=!1}}var P=!1,N=null,L=-1,O=5,R=-1;function se(){return!(e.unstable_now()-R_||125<_?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):O=0<_?Math.floor(1e3/_):5},e.unstable_getCurrentPriorityLevel=function(){return h},e.unstable_getFirstCallbackNode=function(){return n(s)},e.unstable_next=function(_){switch(h){case 1:case 2:case 3:var z=3;break;default:z=h}var j=h;h=z;try{return _()}finally{h=j}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(_,z){switch(_){case 1:case 2:case 3:case 4:case 5:break;default:_=3}var j=h;h=_;try{return z()}finally{h=j}},e.unstable_scheduleCallback=function(_,z,j){var Q=e.unstable_now();switch(typeof j=="object"&&j!==null?(j=j.delay,j=typeof j=="number"&&0Q?(_.sortIndex=j,t(a,_),n(s)===null&&_===n(a)&&(y?(d(L),L=-1):y=!0,jl(g,j-Q))):(_.sortIndex=J,t(s,_),w||m||(w=!0,zl(x))),_},e.unstable_shouldYield=se,e.unstable_wrapCallback=function(_){var z=h;return function(){var j=h;h=z;try{return _.apply(this,arguments)}finally{h=j}}}})(Rs);Ts.exports=Rs;var pd=Ts.exports;/** + */(function(e){function t(_,z){var j=_.length;_.push(z);e:for(;0>>1,J=_[Q];if(0>>1;Ql(Il,j))xtl(sr,Il)?(_[Q]=sr,_[xt]=j,Q=xt):(_[Q]=Il,_[kt]=j,Q=kt);else if(xtl(sr,j))_[Q]=sr,_[xt]=j,Q=xt;else break e}}return z}function l(_,z){var j=_.sortIndex-z.sortIndex;return j!==0?j:_.id-z.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var o=Date,u=o.now();e.unstable_now=function(){return o.now()-u}}var s=[],a=[],p=1,v=null,h=3,m=!1,w=!1,y=!1,L=typeof setTimeout=="function"?setTimeout:null,d=typeof clearTimeout=="function"?clearTimeout:null,c=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function f(_){for(var z=n(a);z!==null;){if(z.callback===null)r(a);else if(z.startTime<=_)r(a),z.sortIndex=z.expirationTime,t(s,z);else break;z=n(a)}}function g(_){if(y=!1,f(_),!w)if(n(s)!==null)w=!0,zl(x);else{var z=n(a);z!==null&&jl(g,z.startTime-_)}}function x(_,z){w=!1,y&&(y=!1,d(T),T=-1),m=!0;var j=h;try{for(f(z),v=n(s);v!==null&&(!(v.expirationTime>z)||_&&!se());){var Q=v.callback;if(typeof Q=="function"){v.callback=null,h=v.priorityLevel;var J=Q(v.expirationTime<=z);z=e.unstable_now(),typeof J=="function"?v.callback=J:v===n(s)&&r(s),f(z)}else r(s);v=n(s)}if(v!==null)var ur=!0;else{var kt=n(a);kt!==null&&jl(g,kt.startTime-z),ur=!1}return ur}finally{v=null,h=j,m=!1}}var P=!1,N=null,T=-1,O=5,R=-1;function se(){return!(e.unstable_now()-R_||125<_?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):O=0<_?Math.floor(1e3/_):5},e.unstable_getCurrentPriorityLevel=function(){return h},e.unstable_getFirstCallbackNode=function(){return n(s)},e.unstable_next=function(_){switch(h){case 1:case 2:case 3:var z=3;break;default:z=h}var j=h;h=z;try{return _()}finally{h=j}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(_,z){switch(_){case 1:case 2:case 3:case 4:case 5:break;default:_=3}var j=h;h=_;try{return z()}finally{h=j}},e.unstable_scheduleCallback=function(_,z,j){var Q=e.unstable_now();switch(typeof j=="object"&&j!==null?(j=j.delay,j=typeof j=="number"&&0Q?(_.sortIndex=j,t(a,_),n(s)===null&&_===n(a)&&(y?(d(T),T=-1):y=!0,jl(g,j-Q))):(_.sortIndex=J,t(s,_),w||m||(w=!0,zl(x))),_},e.unstable_shouldYield=se,e.unstable_wrapCallback=function(_){var z=h;return function(){var j=h;h=z;try{return _.apply(this,arguments)}finally{h=j}}}})(Rs);Ls.exports=Rs;var pd=Ls.exports;/** * @license React * react-dom.production.min.js * @@ -34,10 +34,10 @@ function Hc(e,t){for(var n=0;nu||l[o]!==i[u]){var s=` -`+l[o].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=o&&0<=u);break}}}finally{Ul=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?_n(e):""}function yd(e){switch(e.tag){case 5:return _n(e.type);case 16:return _n("Lazy");case 13:return _n("Suspense");case 19:return _n("SuspenseList");case 0:case 2:case 15:return e=Dl(e.type,!1),e;case 11:return e=Dl(e.type.render,!1),e;case 1:return e=Dl(e.type,!0),e;default:return""}}function pi(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Ht:return"Fragment";case $t:return"Portal";case ci:return"Profiler";case po:return"StrictMode";case di:return"Suspense";case fi:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Ms:return(e.displayName||"Context")+".Consumer";case Is:return(e._context.displayName||"Context")+".Provider";case ho:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case vo:return t=e.displayName||null,t!==null?t:pi(e.type)||"Memo";case tt:t=e._payload,e=e._init;try{return pi(e(t))}catch{}}return null}function wd(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return pi(t);case 8:return t===po?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function mt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Us(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Sd(e){var t=Us(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(o){r=""+o,i.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function dr(e){e._valueTracker||(e._valueTracker=Sd(e))}function Ds(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Us(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Ar(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function hi(e,t){var n=t.checked;return V({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function su(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=mt(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function As(e,t){t=t.checked,t!=null&&fo(e,"checked",t,!1)}function vi(e,t){As(e,t);var n=mt(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?mi(e,t.type,n):t.hasOwnProperty("defaultValue")&&mi(e,t.type,mt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function au(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function mi(e,t,n){(t!=="number"||Ar(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Pn=Array.isArray;function bt(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l"+t.valueOf().toString()+"",t=fr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Fn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Tn={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Cd=["Webkit","ms","Moz","O"];Object.keys(Tn).forEach(function(e){Cd.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Tn[t]=Tn[e]})});function Hs(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Tn.hasOwnProperty(e)&&Tn[e]?(""+t).trim():t+"px"}function Vs(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=Hs(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var kd=V({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function wi(e,t){if(t){if(kd[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(S(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(S(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(S(61))}if(t.style!=null&&typeof t.style!="object")throw Error(S(62))}}function Si(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Ci=null;function mo(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ki=null,en=null,tn=null;function fu(e){if(e=ir(e)){if(typeof ki!="function")throw Error(S(280));var t=e.stateNode;t&&(t=ml(t),ki(e.stateNode,e.type,t))}}function Ws(e){en?tn?tn.push(e):tn=[e]:en=e}function Qs(){if(en){var e=en,t=tn;if(tn=en=null,fu(e),t)for(e=0;e>>=0,e===0?32:31-(Id(e)/Md|0)|0}var pr=64,hr=4194304;function Nn(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Hr(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,i=e.pingedLanes,o=n&268435455;if(o!==0){var u=o&~l;u!==0?r=Nn(u):(i&=o,i!==0&&(r=Nn(i)))}else o=n&~l,o!==0?r=Nn(o):i!==0&&(r=Nn(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&l)&&(l=r&-r,i=t&-t,l>=i||l===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function rr(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Oe(t),e[t]=n}function Ad(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=zn),Cu=String.fromCharCode(32),ku=!1;function da(e,t){switch(e){case"keyup":return pf.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function fa(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Vt=!1;function vf(e,t){switch(e){case"compositionend":return fa(t);case"keypress":return t.which!==32?null:(ku=!0,Cu);case"textInput":return e=t.data,e===Cu&&ku?null:e;default:return null}}function mf(e,t){if(Vt)return e==="compositionend"||!Eo&&da(e,t)?(e=aa(),Tr=Co=it=null,Vt=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Pu(n)}}function ma(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?ma(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function ga(){for(var e=window,t=Ar();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Ar(e.document)}return t}function _o(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 _f(e){var t=ga(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&ma(n.ownerDocument.documentElement,n)){if(r!==null&&_o(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var l=n.textContent.length,i=Math.min(r.start,l);r=r.end===void 0?i:Math.min(r.end,l),!e.extend&&i>r&&(l=r,r=i,i=l),l=Nu(n,i);var o=Nu(n,r);l&&o&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Wt=null,Li=null,In=null,Ti=!1;function Lu(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Ti||Wt==null||Wt!==Ar(r)||(r=Wt,"selectionStart"in r&&_o(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),In&&Qn(In,r)||(In=r,r=Qr(Li,"onSelect"),0Yt||(e.current=Oi[Yt],Oi[Yt]=null,Yt--)}function D(e,t){Yt++,Oi[Yt]=e.current,e.current=t}var gt={},ue=wt(gt),me=wt(!1),jt=gt;function un(e,t){var n=e.type.contextTypes;if(!n)return gt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},i;for(i in n)l[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function ge(e){return e=e.childContextTypes,e!=null}function Yr(){F(me),F(ue)}function Ou(e,t,n){if(ue.current!==gt)throw Error(S(168));D(ue,t),D(me,n)}function Pa(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(S(108,wd(e)||"Unknown",l));return V({},n,r)}function Xr(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||gt,jt=ue.current,D(ue,e),D(me,me.current),!0}function Uu(e,t,n){var r=e.stateNode;if(!r)throw Error(S(169));n?(e=Pa(e,t,jt),r.__reactInternalMemoizedMergedChildContext=e,F(me),F(ue),D(ue,e)):F(me),D(me,n)}var Qe=null,gl=!1,Jl=!1;function Na(e){Qe===null?Qe=[e]:Qe.push(e)}function Df(e){gl=!0,Na(e)}function St(){if(!Jl&&Qe!==null){Jl=!0;var e=0,t=U;try{var n=Qe;for(U=1;e>=o,l-=o,Ke=1<<32-Oe(t)+l|n<L?(O=N,N=null):O=N.sibling;var R=h(d,N,f[L],g);if(R===null){N===null&&(N=O);break}e&&N&&R.alternate===null&&t(d,N),c=i(R,c,L),P===null?x=R:P.sibling=R,P=R,N=O}if(L===f.length)return n(d,N),B&&Et(d,L),x;if(N===null){for(;LL?(O=N,N=null):O=N.sibling;var se=h(d,N,R.value,g);if(se===null){N===null&&(N=O);break}e&&N&&se.alternate===null&&t(d,N),c=i(se,c,L),P===null?x=se:P.sibling=se,P=se,N=O}if(R.done)return n(d,N),B&&Et(d,L),x;if(N===null){for(;!R.done;L++,R=f.next())R=v(d,R.value,g),R!==null&&(c=i(R,c,L),P===null?x=R:P.sibling=R,P=R);return B&&Et(d,L),x}for(N=r(d,N);!R.done;L++,R=f.next())R=m(N,d,L,R.value,g),R!==null&&(e&&R.alternate!==null&&N.delete(R.key===null?L:R.key),c=i(R,c,L),P===null?x=R:P.sibling=R,P=R);return e&&N.forEach(function(Ct){return t(d,Ct)}),B&&Et(d,L),x}function T(d,c,f,g){if(typeof f=="object"&&f!==null&&f.type===Ht&&f.key===null&&(f=f.props.children),typeof f=="object"&&f!==null){switch(f.$$typeof){case cr:e:{for(var x=f.key,P=c;P!==null;){if(P.key===x){if(x=f.type,x===Ht){if(P.tag===7){n(d,P.sibling),c=l(P,f.props.children),c.return=d,d=c;break e}}else if(P.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===tt&&Vu(x)===P.type){n(d,P.sibling),c=l(P,f.props),c.ref=kn(d,P,f),c.return=d,d=c;break e}n(d,P);break}else t(d,P);P=P.sibling}f.type===Ht?(c=Rt(f.props.children,d.mode,g,f.key),c.return=d,d=c):(g=Dr(f.type,f.key,f.props,null,d.mode,g),g.ref=kn(d,c,f),g.return=d,d=g)}return o(d);case $t:e:{for(P=f.key;c!==null;){if(c.key===P)if(c.tag===4&&c.stateNode.containerInfo===f.containerInfo&&c.stateNode.implementation===f.implementation){n(d,c.sibling),c=l(c,f.children||[]),c.return=d,d=c;break e}else{n(d,c);break}else t(d,c);c=c.sibling}c=ii(f,d.mode,g),c.return=d,d=c}return o(d);case tt:return P=f._init,T(d,c,P(f._payload),g)}if(Pn(f))return w(d,c,f,g);if(gn(f))return y(d,c,f,g);Cr(d,f)}return typeof f=="string"&&f!==""||typeof f=="number"?(f=""+f,c!==null&&c.tag===6?(n(d,c.sibling),c=l(c,f),c.return=d,d=c):(n(d,c),c=li(f,d.mode,g),c.return=d,d=c),o(d)):n(d,c)}return T}var an=Oa(!0),Ua=Oa(!1),or={},Ve=wt(or),Gn=wt(or),Zn=wt(or);function Lt(e){if(e===or)throw Error(S(174));return e}function Mo(e,t){switch(D(Zn,t),D(Gn,e),D(Ve,or),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:yi(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=yi(t,e)}F(Ve),D(Ve,t)}function cn(){F(Ve),F(Gn),F(Zn)}function Da(e){Lt(Zn.current);var t=Lt(Ve.current),n=yi(t,e.type);t!==n&&(D(Gn,e),D(Ve,n))}function Oo(e){Gn.current===e&&(F(Ve),F(Gn))}var $=wt(0);function el(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ql=[];function Uo(){for(var e=0;en?n:4,e(!0);var r=bl.transition;bl.transition={};try{e(!1),t()}finally{U=n,bl.transition=r}}function ba(){return Re().memoizedState}function $f(e,t,n){var r=ht(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},ec(e))tc(t,n);else if(n=za(e,t,n,r),n!==null){var l=ce();Ue(n,e,r,l),nc(n,t,r)}}function Hf(e,t,n){var r=ht(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(ec(e))tc(t,l);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var o=t.lastRenderedState,u=i(o,n);if(l.hasEagerState=!0,l.eagerState=u,De(u,o)){var s=t.interleaved;s===null?(l.next=l,jo(t)):(l.next=s.next,s.next=l),t.interleaved=l;return}}catch{}finally{}n=za(e,t,l,r),n!==null&&(l=ce(),Ue(n,e,r,l),nc(n,t,r))}}function ec(e){var t=e.alternate;return e===H||t!==null&&t===H}function tc(e,t){Mn=tl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function nc(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,yo(e,n)}}var nl={readContext:Te,useCallback:re,useContext:re,useEffect:re,useImperativeHandle:re,useInsertionEffect:re,useLayoutEffect:re,useMemo:re,useReducer:re,useRef:re,useState:re,useDebugValue:re,useDeferredValue:re,useTransition:re,useMutableSource:re,useSyncExternalStore:re,useId:re,unstable_isNewReconciler:!1},Vf={readContext:Te,useCallback:function(e,t){return Be().memoizedState=[e,t===void 0?null:t],e},useContext:Te,useEffect:Qu,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Ir(4194308,4,Xa.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ir(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ir(4,2,e,t)},useMemo:function(e,t){var n=Be();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Be();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=$f.bind(null,H,e),[r.memoizedState,e]},useRef:function(e){var t=Be();return e={current:e},t.memoizedState=e},useState:Wu,useDebugValue:$o,useDeferredValue:function(e){return Be().memoizedState=e},useTransition:function(){var e=Wu(!1),t=e[0];return e=Bf.bind(null,e[1]),Be().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=H,l=Be();if(B){if(n===void 0)throw Error(S(407));n=n()}else{if(n=t(),b===null)throw Error(S(349));Mt&30||Ba(r,t,n)}l.memoizedState=n;var i={value:n,getSnapshot:t};return l.queue=i,Qu(Ha.bind(null,r,i,e),[e]),r.flags|=2048,bn(9,$a.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Be(),t=b.identifierPrefix;if(B){var n=Ye,r=Ke;n=(r&~(1<<32-Oe(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Jn++,0")&&(s=s.replace("",e.displayName)),s}while(1<=o&&0<=u);break}}}finally{Ul=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?_n(e):""}function yd(e){switch(e.tag){case 5:return _n(e.type);case 16:return _n("Lazy");case 13:return _n("Suspense");case 19:return _n("SuspenseList");case 0:case 2:case 15:return e=Dl(e.type,!1),e;case 11:return e=Dl(e.type.render,!1),e;case 1:return e=Dl(e.type,!0),e;default:return""}}function pi(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Ht:return"Fragment";case $t:return"Portal";case ci:return"Profiler";case po:return"StrictMode";case di:return"Suspense";case fi:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Ms:return(e.displayName||"Context")+".Consumer";case Is:return(e._context.displayName||"Context")+".Provider";case ho:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case vo:return t=e.displayName||null,t!==null?t:pi(e.type)||"Memo";case tt:t=e._payload,e=e._init;try{return pi(e(t))}catch{}}return null}function wd(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return pi(t);case 8:return t===po?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function mt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Us(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Sd(e){var t=Us(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(o){r=""+o,i.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function dr(e){e._valueTracker||(e._valueTracker=Sd(e))}function Ds(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Us(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Ar(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function hi(e,t){var n=t.checked;return V({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function su(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=mt(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function As(e,t){t=t.checked,t!=null&&fo(e,"checked",t,!1)}function vi(e,t){As(e,t);var n=mt(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?mi(e,t.type,n):t.hasOwnProperty("defaultValue")&&mi(e,t.type,mt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function au(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function mi(e,t,n){(t!=="number"||Ar(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Pn=Array.isArray;function bt(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l"+t.valueOf().toString()+"",t=fr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Fn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Ln={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Cd=["Webkit","ms","Moz","O"];Object.keys(Ln).forEach(function(e){Cd.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Ln[t]=Ln[e]})});function Hs(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Ln.hasOwnProperty(e)&&Ln[e]?(""+t).trim():t+"px"}function Vs(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=Hs(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var kd=V({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function wi(e,t){if(t){if(kd[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(S(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(S(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(S(61))}if(t.style!=null&&typeof t.style!="object")throw Error(S(62))}}function Si(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Ci=null;function mo(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ki=null,en=null,tn=null;function fu(e){if(e=ir(e)){if(typeof ki!="function")throw Error(S(280));var t=e.stateNode;t&&(t=ml(t),ki(e.stateNode,e.type,t))}}function Ws(e){en?tn?tn.push(e):tn=[e]:en=e}function Qs(){if(en){var e=en,t=tn;if(tn=en=null,fu(e),t)for(e=0;e>>=0,e===0?32:31-(Id(e)/Md|0)|0}var pr=64,hr=4194304;function Nn(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Hr(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,i=e.pingedLanes,o=n&268435455;if(o!==0){var u=o&~l;u!==0?r=Nn(u):(i&=o,i!==0&&(r=Nn(i)))}else o=n&~l,o!==0?r=Nn(o):i!==0&&(r=Nn(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&l)&&(l=r&-r,i=t&-t,l>=i||l===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function rr(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Oe(t),e[t]=n}function Ad(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=zn),Cu=String.fromCharCode(32),ku=!1;function da(e,t){switch(e){case"keyup":return pf.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function fa(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Vt=!1;function vf(e,t){switch(e){case"compositionend":return fa(t);case"keypress":return t.which!==32?null:(ku=!0,Cu);case"textInput":return e=t.data,e===Cu&&ku?null:e;default:return null}}function mf(e,t){if(Vt)return e==="compositionend"||!Eo&&da(e,t)?(e=aa(),Lr=Co=it=null,Vt=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Pu(n)}}function ma(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?ma(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function ga(){for(var e=window,t=Ar();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Ar(e.document)}return t}function _o(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 _f(e){var t=ga(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&ma(n.ownerDocument.documentElement,n)){if(r!==null&&_o(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var l=n.textContent.length,i=Math.min(r.start,l);r=r.end===void 0?i:Math.min(r.end,l),!e.extend&&i>r&&(l=r,r=i,i=l),l=Nu(n,i);var o=Nu(n,r);l&&o&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Wt=null,Ti=null,In=null,Li=!1;function Tu(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Li||Wt==null||Wt!==Ar(r)||(r=Wt,"selectionStart"in r&&_o(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),In&&Qn(In,r)||(In=r,r=Qr(Ti,"onSelect"),0Yt||(e.current=Oi[Yt],Oi[Yt]=null,Yt--)}function D(e,t){Yt++,Oi[Yt]=e.current,e.current=t}var gt={},ue=wt(gt),me=wt(!1),jt=gt;function un(e,t){var n=e.type.contextTypes;if(!n)return gt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},i;for(i in n)l[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function ge(e){return e=e.childContextTypes,e!=null}function Yr(){F(me),F(ue)}function Ou(e,t,n){if(ue.current!==gt)throw Error(S(168));D(ue,t),D(me,n)}function Pa(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(S(108,wd(e)||"Unknown",l));return V({},n,r)}function Xr(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||gt,jt=ue.current,D(ue,e),D(me,me.current),!0}function Uu(e,t,n){var r=e.stateNode;if(!r)throw Error(S(169));n?(e=Pa(e,t,jt),r.__reactInternalMemoizedMergedChildContext=e,F(me),F(ue),D(ue,e)):F(me),D(me,n)}var Qe=null,gl=!1,Jl=!1;function Na(e){Qe===null?Qe=[e]:Qe.push(e)}function Df(e){gl=!0,Na(e)}function St(){if(!Jl&&Qe!==null){Jl=!0;var e=0,t=U;try{var n=Qe;for(U=1;e>=o,l-=o,Ke=1<<32-Oe(t)+l|n<T?(O=N,N=null):O=N.sibling;var R=h(d,N,f[T],g);if(R===null){N===null&&(N=O);break}e&&N&&R.alternate===null&&t(d,N),c=i(R,c,T),P===null?x=R:P.sibling=R,P=R,N=O}if(T===f.length)return n(d,N),B&&Et(d,T),x;if(N===null){for(;TT?(O=N,N=null):O=N.sibling;var se=h(d,N,R.value,g);if(se===null){N===null&&(N=O);break}e&&N&&se.alternate===null&&t(d,N),c=i(se,c,T),P===null?x=se:P.sibling=se,P=se,N=O}if(R.done)return n(d,N),B&&Et(d,T),x;if(N===null){for(;!R.done;T++,R=f.next())R=v(d,R.value,g),R!==null&&(c=i(R,c,T),P===null?x=R:P.sibling=R,P=R);return B&&Et(d,T),x}for(N=r(d,N);!R.done;T++,R=f.next())R=m(N,d,T,R.value,g),R!==null&&(e&&R.alternate!==null&&N.delete(R.key===null?T:R.key),c=i(R,c,T),P===null?x=R:P.sibling=R,P=R);return e&&N.forEach(function(Ct){return t(d,Ct)}),B&&Et(d,T),x}function L(d,c,f,g){if(typeof f=="object"&&f!==null&&f.type===Ht&&f.key===null&&(f=f.props.children),typeof f=="object"&&f!==null){switch(f.$$typeof){case cr:e:{for(var x=f.key,P=c;P!==null;){if(P.key===x){if(x=f.type,x===Ht){if(P.tag===7){n(d,P.sibling),c=l(P,f.props.children),c.return=d,d=c;break e}}else if(P.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===tt&&Vu(x)===P.type){n(d,P.sibling),c=l(P,f.props),c.ref=kn(d,P,f),c.return=d,d=c;break e}n(d,P);break}else t(d,P);P=P.sibling}f.type===Ht?(c=Rt(f.props.children,d.mode,g,f.key),c.return=d,d=c):(g=Dr(f.type,f.key,f.props,null,d.mode,g),g.ref=kn(d,c,f),g.return=d,d=g)}return o(d);case $t:e:{for(P=f.key;c!==null;){if(c.key===P)if(c.tag===4&&c.stateNode.containerInfo===f.containerInfo&&c.stateNode.implementation===f.implementation){n(d,c.sibling),c=l(c,f.children||[]),c.return=d,d=c;break e}else{n(d,c);break}else t(d,c);c=c.sibling}c=ii(f,d.mode,g),c.return=d,d=c}return o(d);case tt:return P=f._init,L(d,c,P(f._payload),g)}if(Pn(f))return w(d,c,f,g);if(gn(f))return y(d,c,f,g);Cr(d,f)}return typeof f=="string"&&f!==""||typeof f=="number"?(f=""+f,c!==null&&c.tag===6?(n(d,c.sibling),c=l(c,f),c.return=d,d=c):(n(d,c),c=li(f,d.mode,g),c.return=d,d=c),o(d)):n(d,c)}return L}var an=Oa(!0),Ua=Oa(!1),or={},Ve=wt(or),Gn=wt(or),Zn=wt(or);function Tt(e){if(e===or)throw Error(S(174));return e}function Mo(e,t){switch(D(Zn,t),D(Gn,e),D(Ve,or),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:yi(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=yi(t,e)}F(Ve),D(Ve,t)}function cn(){F(Ve),F(Gn),F(Zn)}function Da(e){Tt(Zn.current);var t=Tt(Ve.current),n=yi(t,e.type);t!==n&&(D(Gn,e),D(Ve,n))}function Oo(e){Gn.current===e&&(F(Ve),F(Gn))}var $=wt(0);function el(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ql=[];function Uo(){for(var e=0;en?n:4,e(!0);var r=bl.transition;bl.transition={};try{e(!1),t()}finally{U=n,bl.transition=r}}function ba(){return Re().memoizedState}function $f(e,t,n){var r=ht(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},ec(e))tc(t,n);else if(n=za(e,t,n,r),n!==null){var l=ce();Ue(n,e,r,l),nc(n,t,r)}}function Hf(e,t,n){var r=ht(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(ec(e))tc(t,l);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var o=t.lastRenderedState,u=i(o,n);if(l.hasEagerState=!0,l.eagerState=u,De(u,o)){var s=t.interleaved;s===null?(l.next=l,jo(t)):(l.next=s.next,s.next=l),t.interleaved=l;return}}catch{}finally{}n=za(e,t,l,r),n!==null&&(l=ce(),Ue(n,e,r,l),nc(n,t,r))}}function ec(e){var t=e.alternate;return e===H||t!==null&&t===H}function tc(e,t){Mn=tl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function nc(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,yo(e,n)}}var nl={readContext:Le,useCallback:re,useContext:re,useEffect:re,useImperativeHandle:re,useInsertionEffect:re,useLayoutEffect:re,useMemo:re,useReducer:re,useRef:re,useState:re,useDebugValue:re,useDeferredValue:re,useTransition:re,useMutableSource:re,useSyncExternalStore:re,useId:re,unstable_isNewReconciler:!1},Vf={readContext:Le,useCallback:function(e,t){return Be().memoizedState=[e,t===void 0?null:t],e},useContext:Le,useEffect:Qu,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Ir(4194308,4,Xa.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ir(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ir(4,2,e,t)},useMemo:function(e,t){var n=Be();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Be();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=$f.bind(null,H,e),[r.memoizedState,e]},useRef:function(e){var t=Be();return e={current:e},t.memoizedState=e},useState:Wu,useDebugValue:$o,useDeferredValue:function(e){return Be().memoizedState=e},useTransition:function(){var e=Wu(!1),t=e[0];return e=Bf.bind(null,e[1]),Be().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=H,l=Be();if(B){if(n===void 0)throw Error(S(407));n=n()}else{if(n=t(),b===null)throw Error(S(349));Mt&30||Ba(r,t,n)}l.memoizedState=n;var i={value:n,getSnapshot:t};return l.queue=i,Qu(Ha.bind(null,r,i,e),[e]),r.flags|=2048,bn(9,$a.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Be(),t=b.identifierPrefix;if(B){var n=Ye,r=Ke;n=(r&~(1<<32-Oe(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Jn++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[$e]=t,e[Xn]=r,dc(e,t,!1,!1),t.stateNode=e;e:{switch(o=Si(n,r),n){case"dialog":A("cancel",e),A("close",e),l=r;break;case"iframe":case"object":case"embed":A("load",e),l=r;break;case"video":case"audio":for(l=0;lfn&&(t.flags|=128,r=!0,xn(i,!1),t.lanes=4194304)}else{if(!r)if(e=el(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),xn(i,!0),i.tail===null&&i.tailMode==="hidden"&&!o.alternate&&!B)return le(t),null}else 2*K()-i.renderingStartTime>fn&&n!==1073741824&&(t.flags|=128,r=!0,xn(i,!1),t.lanes=4194304);i.isBackwards?(o.sibling=t.child,t.child=o):(n=i.last,n!==null?n.sibling=o:t.child=o,i.last=o)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=K(),t.sibling=null,n=$.current,D($,r?n&1|2:n&1),t):(le(t),null);case 22:case 23:return Yo(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?we&1073741824&&(le(t),t.subtreeFlags&6&&(t.flags|=8192)):le(t),null;case 24:return null;case 25:return null}throw Error(S(156,t.tag))}function Jf(e,t){switch(No(t),t.tag){case 1:return ge(t.type)&&Yr(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return cn(),F(me),F(ue),Uo(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Oo(t),null;case 13:if(F($),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(S(340));sn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return F($),null;case 4:return cn(),null;case 10:return zo(t.type._context),null;case 22:case 23:return Yo(),null;case 24:return null;default:return null}}var xr=!1,oe=!1,qf=typeof WeakSet=="function"?WeakSet:Set,E=null;function Jt(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){W(e,t,r)}else n.current=null}function Yi(e,t,n){try{n()}catch(r){W(e,t,r)}}var es=!1;function bf(e,t){if(Ri=Vr,e=ga(),_o(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var l=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var o=0,u=-1,s=-1,a=0,p=0,v=e,h=null;t:for(;;){for(var m;v!==n||l!==0&&v.nodeType!==3||(u=o+l),v!==i||r!==0&&v.nodeType!==3||(s=o+r),v.nodeType===3&&(o+=v.nodeValue.length),(m=v.firstChild)!==null;)h=v,v=m;for(;;){if(v===e)break t;if(h===n&&++a===l&&(u=o),h===i&&++p===r&&(s=o),(m=v.nextSibling)!==null)break;v=h,h=v.parentNode}v=m}n=u===-1||s===-1?null:{start:u,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(zi={focusedElem:e,selectionRange:n},Vr=!1,E=t;E!==null;)if(t=E,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,E=e;else for(;E!==null;){t=E;try{var w=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var y=w.memoizedProps,T=w.memoizedState,d=t.stateNode,c=d.getSnapshotBeforeUpdate(t.elementType===t.type?y:je(t.type,y),T);d.__reactInternalSnapshotBeforeUpdate=c}break;case 3:var f=t.stateNode.containerInfo;f.nodeType===1?f.textContent="":f.nodeType===9&&f.documentElement&&f.removeChild(f.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(S(163))}}catch(g){W(t,t.return,g)}if(e=t.sibling,e!==null){e.return=t.return,E=e;break}E=t.return}return w=es,es=!1,w}function On(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var i=l.destroy;l.destroy=void 0,i!==void 0&&Yi(t,n,i)}l=l.next}while(l!==r)}}function Sl(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Xi(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function hc(e){var t=e.alternate;t!==null&&(e.alternate=null,hc(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[$e],delete t[Xn],delete t[Mi],delete t[Of],delete t[Uf])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function vc(e){return e.tag===5||e.tag===3||e.tag===4}function ts(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||vc(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Gi(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Kr));else if(r!==4&&(e=e.child,e!==null))for(Gi(e,t,n),e=e.sibling;e!==null;)Gi(e,t,n),e=e.sibling}function Zi(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Zi(e,t,n),e=e.sibling;e!==null;)Zi(e,t,n),e=e.sibling}var ee=null,Ie=!1;function et(e,t,n){for(n=n.child;n!==null;)mc(e,t,n),n=n.sibling}function mc(e,t,n){if(He&&typeof He.onCommitFiberUnmount=="function")try{He.onCommitFiberUnmount(fl,n)}catch{}switch(n.tag){case 5:oe||Jt(n,t);case 6:var r=ee,l=Ie;ee=null,et(e,t,n),ee=r,Ie=l,ee!==null&&(Ie?(e=ee,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ee.removeChild(n.stateNode));break;case 18:ee!==null&&(Ie?(e=ee,n=n.stateNode,e.nodeType===8?Zl(e.parentNode,n):e.nodeType===1&&Zl(e,n),Vn(e)):Zl(ee,n.stateNode));break;case 4:r=ee,l=Ie,ee=n.stateNode.containerInfo,Ie=!0,et(e,t,n),ee=r,Ie=l;break;case 0:case 11:case 14:case 15:if(!oe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var i=l,o=i.destroy;i=i.tag,o!==void 0&&(i&2||i&4)&&Yi(n,t,o),l=l.next}while(l!==r)}et(e,t,n);break;case 1:if(!oe&&(Jt(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){W(n,t,u)}et(e,t,n);break;case 21:et(e,t,n);break;case 22:n.mode&1?(oe=(r=oe)||n.memoizedState!==null,et(e,t,n),oe=r):et(e,t,n);break;default:et(e,t,n)}}function ns(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new qf),t.forEach(function(r){var l=sp.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function ze(e,t){var n=t.deletions;if(n!==null)for(var r=0;rl&&(l=o),r&=~i}if(r=l,r=K()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*tp(r/1960))-r,10e?16:e,ot===null)var r=!1;else{if(e=ot,ot=null,il=0,M&6)throw Error(S(331));var l=M;for(M|=4,E=e.current;E!==null;){var i=E,o=i.child;if(E.flags&16){var u=i.deletions;if(u!==null){for(var s=0;sK()-Qo?Tt(e,0):Wo|=n),ye(e,t)}function Ec(e,t){t===0&&(e.mode&1?(t=hr,hr<<=1,!(hr&130023424)&&(hr=4194304)):t=1);var n=ce();e=Je(e,t),e!==null&&(rr(e,t,n),ye(e,n))}function up(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Ec(e,n)}function sp(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(S(314))}r!==null&&r.delete(t),Ec(e,n)}var _c;_c=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||me.current)ve=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return ve=!1,Gf(e,t,n);ve=!!(e.flags&131072)}else ve=!1,B&&t.flags&1048576&&La(t,Zr,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Mr(e,t),e=t.pendingProps;var l=un(t,ue.current);rn(t,n),l=Ao(null,t,r,e,l,n);var i=Fo();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ge(r)?(i=!0,Xr(t)):i=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Io(t),l.updater=yl,t.stateNode=l,l._reactInternals=t,Bi(t,r,e,n),t=Vi(null,t,r,!0,i,n)):(t.tag=0,B&&i&&Po(t),ae(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Mr(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=cp(r),e=je(r,e),l){case 0:t=Hi(null,t,r,e,n);break e;case 1:t=Ju(null,t,r,e,n);break e;case 11:t=Gu(null,t,r,e,n);break e;case 14:t=Zu(null,t,r,je(r.type,e),n);break e}throw Error(S(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:je(r,l),Hi(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:je(r,l),Ju(e,t,r,l,n);case 3:e:{if(sc(t),e===null)throw Error(S(387));r=t.pendingProps,i=t.memoizedState,l=i.element,ja(e,t),br(t,r,null,n);var o=t.memoizedState;if(r=o.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){l=dn(Error(S(423)),t),t=qu(e,t,r,n,l);break e}else if(r!==l){l=dn(Error(S(424)),t),t=qu(e,t,r,n,l);break e}else for(Se=dt(t.stateNode.containerInfo.firstChild),Ce=t,B=!0,Me=null,n=Ua(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(sn(),r===l){t=qe(e,t,n);break e}ae(e,t,r,n)}t=t.child}return t;case 5:return Da(t),e===null&&Di(t),r=t.type,l=t.pendingProps,i=e!==null?e.memoizedProps:null,o=l.children,ji(r,l)?o=null:i!==null&&ji(r,i)&&(t.flags|=32),uc(e,t),ae(e,t,o,n),t.child;case 6:return e===null&&Di(t),null;case 13:return ac(e,t,n);case 4:return Mo(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=an(t,null,r,n):ae(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:je(r,l),Gu(e,t,r,l,n);case 7:return ae(e,t,t.pendingProps,n),t.child;case 8:return ae(e,t,t.pendingProps.children,n),t.child;case 12:return ae(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,i=t.memoizedProps,o=l.value,D(Jr,r._currentValue),r._currentValue=o,i!==null)if(De(i.value,o)){if(i.children===l.children&&!me.current){t=qe(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var u=i.dependencies;if(u!==null){o=i.child;for(var s=u.firstContext;s!==null;){if(s.context===r){if(i.tag===1){s=Xe(-1,n&-n),s.tag=2;var a=i.updateQueue;if(a!==null){a=a.shared;var p=a.pending;p===null?s.next=s:(s.next=p.next,p.next=s),a.pending=s}}i.lanes|=n,s=i.alternate,s!==null&&(s.lanes|=n),Ai(i.return,n,t),u.lanes|=n;break}s=s.next}}else if(i.tag===10)o=i.type===t.type?null:i.child;else if(i.tag===18){if(o=i.return,o===null)throw Error(S(341));o.lanes|=n,u=o.alternate,u!==null&&(u.lanes|=n),Ai(o,n,t),o=i.sibling}else o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===t){o=null;break}if(i=o.sibling,i!==null){i.return=o.return,o=i;break}o=o.return}i=o}ae(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,rn(t,n),l=Te(l),r=r(l),t.flags|=1,ae(e,t,r,n),t.child;case 14:return r=t.type,l=je(r,t.pendingProps),l=je(r.type,l),Zu(e,t,r,l,n);case 15:return ic(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:je(r,l),Mr(e,t),t.tag=1,ge(r)?(e=!0,Xr(t)):e=!1,rn(t,n),Ma(t,r,l),Bi(t,r,l,n),Vi(null,t,r,!0,e,n);case 19:return cc(e,t,n);case 22:return oc(e,t,n)}throw Error(S(156,t.tag))};function Pc(e,t){return qs(e,t)}function ap(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ne(e,t,n,r){return new ap(e,t,n,r)}function Go(e){return e=e.prototype,!(!e||!e.isReactComponent)}function cp(e){if(typeof e=="function")return Go(e)?1:0;if(e!=null){if(e=e.$$typeof,e===ho)return 11;if(e===vo)return 14}return 2}function vt(e,t){var n=e.alternate;return n===null?(n=Ne(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Dr(e,t,n,r,l,i){var o=2;if(r=e,typeof e=="function")Go(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Ht:return Rt(n.children,l,i,t);case po:o=8,l|=8;break;case ci:return e=Ne(12,n,t,l|2),e.elementType=ci,e.lanes=i,e;case di:return e=Ne(13,n,t,l),e.elementType=di,e.lanes=i,e;case fi:return e=Ne(19,n,t,l),e.elementType=fi,e.lanes=i,e;case Os:return kl(n,l,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Is:o=10;break e;case Ms:o=9;break e;case ho:o=11;break e;case vo:o=14;break e;case tt:o=16,r=null;break e}throw Error(S(130,e==null?e:typeof e,""))}return t=Ne(o,n,t,l),t.elementType=e,t.type=r,t.lanes=i,t}function Rt(e,t,n,r){return e=Ne(7,e,r,t),e.lanes=n,e}function kl(e,t,n,r){return e=Ne(22,e,r,t),e.elementType=Os,e.lanes=n,e.stateNode={isHidden:!1},e}function li(e,t,n){return e=Ne(6,e,null,t),e.lanes=n,e}function ii(e,t,n){return t=Ne(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function dp(e,t,n,r,l){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Fl(0),this.expirationTimes=Fl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Fl(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function Zo(e,t,n,r,l,i,o,u,s){return e=new dp(e,t,n,u,s),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Ne(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Io(i),e}function fp(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Rc)}catch(e){console.error(e)}}Rc(),Ls.exports=xe;var gp=Ls.exports,cs=gp;si.createRoot=cs.createRoot,si.hydrateRoot=cs.hydrateRoot;/** +`+i.stack}return{value:e,source:t,stack:l,digest:null}}function ni(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function $i(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Kf=typeof WeakMap=="function"?WeakMap:Map;function rc(e,t,n){n=Xe(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){ll||(ll=!0,Ji=r),$i(e,t)},n}function lc(e,t,n){n=Xe(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var l=t.value;n.payload=function(){return r(l)},n.callback=function(){$i(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){$i(e,t),typeof r!="function"&&(pt===null?pt=new Set([this]):pt.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),n}function Ku(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Kf;var l=new Set;r.set(t,l)}else l=r.get(t),l===void 0&&(l=new Set,r.set(t,l));l.has(n)||(l.add(n),e=op.bind(null,e,t,n),t.then(e,e))}function Yu(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Xu(e,t,n,r,l){return e.mode&1?(e.flags|=65536,e.lanes=l,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Xe(-1,1),t.tag=2,ft(n,t,1))),n.lanes|=1),e)}var Yf=be.ReactCurrentOwner,ve=!1;function ae(e,t,n,r){t.child=e===null?Ua(t,null,n,r):an(t,e.child,n,r)}function Gu(e,t,n,r,l){n=n.render;var i=t.ref;return rn(t,l),r=Ao(e,t,n,r,i,l),n=Fo(),e!==null&&!ve?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,qe(e,t,l)):(B&&n&&Po(t),t.flags|=1,ae(e,t,r,l),t.child)}function Zu(e,t,n,r,l){if(e===null){var i=n.type;return typeof i=="function"&&!Go(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,ic(e,t,i,r,l)):(e=Dr(n.type,null,r,t,t.mode,l),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&l)){var o=i.memoizedProps;if(n=n.compare,n=n!==null?n:Qn,n(o,r)&&e.ref===t.ref)return qe(e,t,l)}return t.flags|=1,e=vt(i,r),e.ref=t.ref,e.return=t,t.child=e}function ic(e,t,n,r,l){if(e!==null){var i=e.memoizedProps;if(Qn(i,r)&&e.ref===t.ref)if(ve=!1,t.pendingProps=r=i,(e.lanes&l)!==0)e.flags&131072&&(ve=!0);else return t.lanes=e.lanes,qe(e,t,l)}return Hi(e,t,n,r,l)}function oc(e,t,n){var r=t.pendingProps,l=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},D(qt,we),we|=n;else{if(!(n&1073741824))return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,D(qt,we),we|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,D(qt,we),we|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,D(qt,we),we|=r;return ae(e,t,l,n),t.child}function uc(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Hi(e,t,n,r,l){var i=ge(n)?jt:ue.current;return i=un(t,i),rn(t,l),n=Ao(e,t,n,r,i,l),r=Fo(),e!==null&&!ve?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,qe(e,t,l)):(B&&r&&Po(t),t.flags|=1,ae(e,t,n,l),t.child)}function Ju(e,t,n,r,l){if(ge(n)){var i=!0;Xr(t)}else i=!1;if(rn(t,l),t.stateNode===null)Mr(e,t),Ma(t,n,r),Bi(t,n,r,l),r=!0;else if(e===null){var o=t.stateNode,u=t.memoizedProps;o.props=u;var s=o.context,a=n.contextType;typeof a=="object"&&a!==null?a=Le(a):(a=ge(n)?jt:ue.current,a=un(t,a));var p=n.getDerivedStateFromProps,v=typeof p=="function"||typeof o.getSnapshotBeforeUpdate=="function";v||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(u!==r||s!==a)&&Hu(t,o,r,a),nt=!1;var h=t.memoizedState;o.state=h,br(t,r,o,l),s=t.memoizedState,u!==r||h!==s||me.current||nt?(typeof p=="function"&&(Fi(t,n,p,r),s=t.memoizedState),(u=nt||$u(t,n,u,r,h,s,a))?(v||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(t.flags|=4194308)):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),o.props=r,o.state=s,o.context=a,r=u):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,ja(e,t),u=t.memoizedProps,a=t.type===t.elementType?u:je(t.type,u),o.props=a,v=t.pendingProps,h=o.context,s=n.contextType,typeof s=="object"&&s!==null?s=Le(s):(s=ge(n)?jt:ue.current,s=un(t,s));var m=n.getDerivedStateFromProps;(p=typeof m=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(u!==v||h!==s)&&Hu(t,o,r,s),nt=!1,h=t.memoizedState,o.state=h,br(t,r,o,l);var w=t.memoizedState;u!==v||h!==w||me.current||nt?(typeof m=="function"&&(Fi(t,n,m,r),w=t.memoizedState),(a=nt||$u(t,n,a,r,h,w,s)||!1)?(p||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(r,w,s),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(r,w,s)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof o.componentDidUpdate!="function"||u===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=w),o.props=r,o.state=w,o.context=s,r=a):(typeof o.componentDidUpdate!="function"||u===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),r=!1)}return Vi(e,t,n,r,i,l)}function Vi(e,t,n,r,l,i){uc(e,t);var o=(t.flags&128)!==0;if(!r&&!o)return l&&Uu(t,n,!1),qe(e,t,i);r=t.stateNode,Yf.current=t;var u=o&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&o?(t.child=an(t,e.child,null,i),t.child=an(t,null,u,i)):ae(e,t,u,i),t.memoizedState=r.state,l&&Uu(t,n,!0),t.child}function sc(e){var t=e.stateNode;t.pendingContext?Ou(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Ou(e,t.context,!1),Mo(e,t.containerInfo)}function qu(e,t,n,r,l){return sn(),To(l),t.flags|=256,ae(e,t,n,r),t.child}var Wi={dehydrated:null,treeContext:null,retryLane:0};function Qi(e){return{baseLanes:e,cachePool:null,transitions:null}}function ac(e,t,n){var r=t.pendingProps,l=$.current,i=!1,o=(t.flags&128)!==0,u;if((u=o)||(u=e!==null&&e.memoizedState===null?!1:(l&2)!==0),u?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(l|=1),D($,l&1),e===null)return Di(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(o=r.children,e=r.fallback,i?(r=t.mode,i=t.child,o={mode:"hidden",children:o},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=o):i=kl(o,r,0,null),e=Rt(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=Qi(n),t.memoizedState=Wi,e):Ho(t,o));if(l=e.memoizedState,l!==null&&(u=l.dehydrated,u!==null))return Xf(e,t,o,r,u,l,n);if(i){i=r.fallback,o=t.mode,l=e.child,u=l.sibling;var s={mode:"hidden",children:r.children};return!(o&1)&&t.child!==l?(r=t.child,r.childLanes=0,r.pendingProps=s,t.deletions=null):(r=vt(l,s),r.subtreeFlags=l.subtreeFlags&14680064),u!==null?i=vt(u,i):(i=Rt(i,o,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,o=e.child.memoizedState,o=o===null?Qi(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},i.memoizedState=o,i.childLanes=e.childLanes&~n,t.memoizedState=Wi,r}return i=e.child,e=i.sibling,r=vt(i,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Ho(e,t){return t=kl({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function kr(e,t,n,r){return r!==null&&To(r),an(t,e.child,null,n),e=Ho(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Xf(e,t,n,r,l,i,o){if(n)return t.flags&256?(t.flags&=-257,r=ni(Error(S(422))),kr(e,t,o,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,l=t.mode,r=kl({mode:"visible",children:r.children},l,0,null),i=Rt(i,l,o,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,t.mode&1&&an(t,e.child,null,o),t.child.memoizedState=Qi(o),t.memoizedState=Wi,i);if(!(t.mode&1))return kr(e,t,o,null);if(l.data==="$!"){if(r=l.nextSibling&&l.nextSibling.dataset,r)var u=r.dgst;return r=u,i=Error(S(419)),r=ni(i,r,void 0),kr(e,t,o,r)}if(u=(o&e.childLanes)!==0,ve||u){if(r=b,r!==null){switch(o&-o){case 4:l=2;break;case 16:l=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:l=32;break;case 536870912:l=268435456;break;default:l=0}l=l&(r.suspendedLanes|o)?0:l,l!==0&&l!==i.retryLane&&(i.retryLane=l,Je(e,l),Ue(r,e,l,-1))}return Xo(),r=ni(Error(S(421))),kr(e,t,o,r)}return l.data==="$?"?(t.flags|=128,t.child=e.child,t=up.bind(null,e),l._reactRetry=t,null):(e=i.treeContext,Se=dt(l.nextSibling),Ce=t,B=!0,Me=null,e!==null&&(_e[Pe++]=Ke,_e[Pe++]=Ye,_e[Pe++]=It,Ke=e.id,Ye=e.overflow,It=t),t=Ho(t,r.children),t.flags|=4096,t)}function bu(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Ai(e.return,t,n)}function ri(e,t,n,r,l){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:l}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=l)}function cc(e,t,n){var r=t.pendingProps,l=r.revealOrder,i=r.tail;if(ae(e,t,r.children,n),r=$.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&bu(e,n,t);else if(e.tag===19)bu(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(D($,r),!(t.mode&1))t.memoizedState=null;else switch(l){case"forwards":for(n=t.child,l=null;n!==null;)e=n.alternate,e!==null&&el(e)===null&&(l=n),n=n.sibling;n=l,n===null?(l=t.child,t.child=null):(l=n.sibling,n.sibling=null),ri(t,!1,l,n,i);break;case"backwards":for(n=null,l=t.child,t.child=null;l!==null;){if(e=l.alternate,e!==null&&el(e)===null){t.child=l;break}e=l.sibling,l.sibling=n,n=l,l=e}ri(t,!0,n,null,i);break;case"together":ri(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Mr(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function qe(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Ot|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(S(153));if(t.child!==null){for(e=t.child,n=vt(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=vt(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Gf(e,t,n){switch(t.tag){case 3:sc(t),sn();break;case 5:Da(t);break;case 1:ge(t.type)&&Xr(t);break;case 4:Mo(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,l=t.memoizedProps.value;D(Jr,r._currentValue),r._currentValue=l;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(D($,$.current&1),t.flags|=128,null):n&t.child.childLanes?ac(e,t,n):(D($,$.current&1),e=qe(e,t,n),e!==null?e.sibling:null);D($,$.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return cc(e,t,n);t.flags|=128}if(l=t.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),D($,$.current),r)break;return null;case 22:case 23:return t.lanes=0,oc(e,t,n)}return qe(e,t,n)}var dc,Ki,fc,pc;dc=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};Ki=function(){};fc=function(e,t,n,r){var l=e.memoizedProps;if(l!==r){e=t.stateNode,Tt(Ve.current);var i=null;switch(n){case"input":l=hi(e,l),r=hi(e,r),i=[];break;case"select":l=V({},l,{value:void 0}),r=V({},r,{value:void 0}),i=[];break;case"textarea":l=gi(e,l),r=gi(e,r),i=[];break;default:typeof l.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Kr)}wi(n,r);var o;n=null;for(a in l)if(!r.hasOwnProperty(a)&&l.hasOwnProperty(a)&&l[a]!=null)if(a==="style"){var u=l[a];for(o in u)u.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else a!=="dangerouslySetInnerHTML"&&a!=="children"&&a!=="suppressContentEditableWarning"&&a!=="suppressHydrationWarning"&&a!=="autoFocus"&&(An.hasOwnProperty(a)?i||(i=[]):(i=i||[]).push(a,null));for(a in r){var s=r[a];if(u=l!=null?l[a]:void 0,r.hasOwnProperty(a)&&s!==u&&(s!=null||u!=null))if(a==="style")if(u){for(o in u)!u.hasOwnProperty(o)||s&&s.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in s)s.hasOwnProperty(o)&&u[o]!==s[o]&&(n||(n={}),n[o]=s[o])}else n||(i||(i=[]),i.push(a,n)),n=s;else a==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,u=u?u.__html:void 0,s!=null&&u!==s&&(i=i||[]).push(a,s)):a==="children"?typeof s!="string"&&typeof s!="number"||(i=i||[]).push(a,""+s):a!=="suppressContentEditableWarning"&&a!=="suppressHydrationWarning"&&(An.hasOwnProperty(a)?(s!=null&&a==="onScroll"&&A("scroll",e),i||u===s||(i=[])):(i=i||[]).push(a,s))}n&&(i=i||[]).push("style",n);var a=i;(t.updateQueue=a)&&(t.flags|=4)}};pc=function(e,t,n,r){n!==r&&(t.flags|=4)};function xn(e,t){if(!B)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function le(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var l=e.child;l!==null;)n|=l.lanes|l.childLanes,r|=l.subtreeFlags&14680064,r|=l.flags&14680064,l.return=e,l=l.sibling;else for(l=e.child;l!==null;)n|=l.lanes|l.childLanes,r|=l.subtreeFlags,r|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Zf(e,t,n){var r=t.pendingProps;switch(No(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return le(t),null;case 1:return ge(t.type)&&Yr(),le(t),null;case 3:return r=t.stateNode,cn(),F(me),F(ue),Uo(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Sr(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Me!==null&&(eo(Me),Me=null))),Ki(e,t),le(t),null;case 5:Oo(t);var l=Tt(Zn.current);if(n=t.type,e!==null&&t.stateNode!=null)fc(e,t,n,r,l),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(S(166));return le(t),null}if(e=Tt(Ve.current),Sr(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[$e]=t,r[Xn]=i,e=(t.mode&1)!==0,n){case"dialog":A("cancel",r),A("close",r);break;case"iframe":case"object":case"embed":A("load",r);break;case"video":case"audio":for(l=0;l<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[$e]=t,e[Xn]=r,dc(e,t,!1,!1),t.stateNode=e;e:{switch(o=Si(n,r),n){case"dialog":A("cancel",e),A("close",e),l=r;break;case"iframe":case"object":case"embed":A("load",e),l=r;break;case"video":case"audio":for(l=0;lfn&&(t.flags|=128,r=!0,xn(i,!1),t.lanes=4194304)}else{if(!r)if(e=el(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),xn(i,!0),i.tail===null&&i.tailMode==="hidden"&&!o.alternate&&!B)return le(t),null}else 2*K()-i.renderingStartTime>fn&&n!==1073741824&&(t.flags|=128,r=!0,xn(i,!1),t.lanes=4194304);i.isBackwards?(o.sibling=t.child,t.child=o):(n=i.last,n!==null?n.sibling=o:t.child=o,i.last=o)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=K(),t.sibling=null,n=$.current,D($,r?n&1|2:n&1),t):(le(t),null);case 22:case 23:return Yo(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?we&1073741824&&(le(t),t.subtreeFlags&6&&(t.flags|=8192)):le(t),null;case 24:return null;case 25:return null}throw Error(S(156,t.tag))}function Jf(e,t){switch(No(t),t.tag){case 1:return ge(t.type)&&Yr(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return cn(),F(me),F(ue),Uo(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Oo(t),null;case 13:if(F($),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(S(340));sn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return F($),null;case 4:return cn(),null;case 10:return zo(t.type._context),null;case 22:case 23:return Yo(),null;case 24:return null;default:return null}}var xr=!1,oe=!1,qf=typeof WeakSet=="function"?WeakSet:Set,E=null;function Jt(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){W(e,t,r)}else n.current=null}function Yi(e,t,n){try{n()}catch(r){W(e,t,r)}}var es=!1;function bf(e,t){if(Ri=Vr,e=ga(),_o(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var l=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var o=0,u=-1,s=-1,a=0,p=0,v=e,h=null;t:for(;;){for(var m;v!==n||l!==0&&v.nodeType!==3||(u=o+l),v!==i||r!==0&&v.nodeType!==3||(s=o+r),v.nodeType===3&&(o+=v.nodeValue.length),(m=v.firstChild)!==null;)h=v,v=m;for(;;){if(v===e)break t;if(h===n&&++a===l&&(u=o),h===i&&++p===r&&(s=o),(m=v.nextSibling)!==null)break;v=h,h=v.parentNode}v=m}n=u===-1||s===-1?null:{start:u,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(zi={focusedElem:e,selectionRange:n},Vr=!1,E=t;E!==null;)if(t=E,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,E=e;else for(;E!==null;){t=E;try{var w=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var y=w.memoizedProps,L=w.memoizedState,d=t.stateNode,c=d.getSnapshotBeforeUpdate(t.elementType===t.type?y:je(t.type,y),L);d.__reactInternalSnapshotBeforeUpdate=c}break;case 3:var f=t.stateNode.containerInfo;f.nodeType===1?f.textContent="":f.nodeType===9&&f.documentElement&&f.removeChild(f.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(S(163))}}catch(g){W(t,t.return,g)}if(e=t.sibling,e!==null){e.return=t.return,E=e;break}E=t.return}return w=es,es=!1,w}function On(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var i=l.destroy;l.destroy=void 0,i!==void 0&&Yi(t,n,i)}l=l.next}while(l!==r)}}function Sl(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Xi(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function hc(e){var t=e.alternate;t!==null&&(e.alternate=null,hc(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[$e],delete t[Xn],delete t[Mi],delete t[Of],delete t[Uf])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function vc(e){return e.tag===5||e.tag===3||e.tag===4}function ts(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||vc(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Gi(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Kr));else if(r!==4&&(e=e.child,e!==null))for(Gi(e,t,n),e=e.sibling;e!==null;)Gi(e,t,n),e=e.sibling}function Zi(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Zi(e,t,n),e=e.sibling;e!==null;)Zi(e,t,n),e=e.sibling}var ee=null,Ie=!1;function et(e,t,n){for(n=n.child;n!==null;)mc(e,t,n),n=n.sibling}function mc(e,t,n){if(He&&typeof He.onCommitFiberUnmount=="function")try{He.onCommitFiberUnmount(fl,n)}catch{}switch(n.tag){case 5:oe||Jt(n,t);case 6:var r=ee,l=Ie;ee=null,et(e,t,n),ee=r,Ie=l,ee!==null&&(Ie?(e=ee,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ee.removeChild(n.stateNode));break;case 18:ee!==null&&(Ie?(e=ee,n=n.stateNode,e.nodeType===8?Zl(e.parentNode,n):e.nodeType===1&&Zl(e,n),Vn(e)):Zl(ee,n.stateNode));break;case 4:r=ee,l=Ie,ee=n.stateNode.containerInfo,Ie=!0,et(e,t,n),ee=r,Ie=l;break;case 0:case 11:case 14:case 15:if(!oe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var i=l,o=i.destroy;i=i.tag,o!==void 0&&(i&2||i&4)&&Yi(n,t,o),l=l.next}while(l!==r)}et(e,t,n);break;case 1:if(!oe&&(Jt(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){W(n,t,u)}et(e,t,n);break;case 21:et(e,t,n);break;case 22:n.mode&1?(oe=(r=oe)||n.memoizedState!==null,et(e,t,n),oe=r):et(e,t,n);break;default:et(e,t,n)}}function ns(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new qf),t.forEach(function(r){var l=sp.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function ze(e,t){var n=t.deletions;if(n!==null)for(var r=0;rl&&(l=o),r&=~i}if(r=l,r=K()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*tp(r/1960))-r,10e?16:e,ot===null)var r=!1;else{if(e=ot,ot=null,il=0,M&6)throw Error(S(331));var l=M;for(M|=4,E=e.current;E!==null;){var i=E,o=i.child;if(E.flags&16){var u=i.deletions;if(u!==null){for(var s=0;sK()-Qo?Lt(e,0):Wo|=n),ye(e,t)}function Ec(e,t){t===0&&(e.mode&1?(t=hr,hr<<=1,!(hr&130023424)&&(hr=4194304)):t=1);var n=ce();e=Je(e,t),e!==null&&(rr(e,t,n),ye(e,n))}function up(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Ec(e,n)}function sp(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(S(314))}r!==null&&r.delete(t),Ec(e,n)}var _c;_c=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||me.current)ve=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return ve=!1,Gf(e,t,n);ve=!!(e.flags&131072)}else ve=!1,B&&t.flags&1048576&&Ta(t,Zr,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Mr(e,t),e=t.pendingProps;var l=un(t,ue.current);rn(t,n),l=Ao(null,t,r,e,l,n);var i=Fo();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ge(r)?(i=!0,Xr(t)):i=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Io(t),l.updater=yl,t.stateNode=l,l._reactInternals=t,Bi(t,r,e,n),t=Vi(null,t,r,!0,i,n)):(t.tag=0,B&&i&&Po(t),ae(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Mr(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=cp(r),e=je(r,e),l){case 0:t=Hi(null,t,r,e,n);break e;case 1:t=Ju(null,t,r,e,n);break e;case 11:t=Gu(null,t,r,e,n);break e;case 14:t=Zu(null,t,r,je(r.type,e),n);break e}throw Error(S(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:je(r,l),Hi(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:je(r,l),Ju(e,t,r,l,n);case 3:e:{if(sc(t),e===null)throw Error(S(387));r=t.pendingProps,i=t.memoizedState,l=i.element,ja(e,t),br(t,r,null,n);var o=t.memoizedState;if(r=o.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){l=dn(Error(S(423)),t),t=qu(e,t,r,n,l);break e}else if(r!==l){l=dn(Error(S(424)),t),t=qu(e,t,r,n,l);break e}else for(Se=dt(t.stateNode.containerInfo.firstChild),Ce=t,B=!0,Me=null,n=Ua(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(sn(),r===l){t=qe(e,t,n);break e}ae(e,t,r,n)}t=t.child}return t;case 5:return Da(t),e===null&&Di(t),r=t.type,l=t.pendingProps,i=e!==null?e.memoizedProps:null,o=l.children,ji(r,l)?o=null:i!==null&&ji(r,i)&&(t.flags|=32),uc(e,t),ae(e,t,o,n),t.child;case 6:return e===null&&Di(t),null;case 13:return ac(e,t,n);case 4:return Mo(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=an(t,null,r,n):ae(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:je(r,l),Gu(e,t,r,l,n);case 7:return ae(e,t,t.pendingProps,n),t.child;case 8:return ae(e,t,t.pendingProps.children,n),t.child;case 12:return ae(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,i=t.memoizedProps,o=l.value,D(Jr,r._currentValue),r._currentValue=o,i!==null)if(De(i.value,o)){if(i.children===l.children&&!me.current){t=qe(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var u=i.dependencies;if(u!==null){o=i.child;for(var s=u.firstContext;s!==null;){if(s.context===r){if(i.tag===1){s=Xe(-1,n&-n),s.tag=2;var a=i.updateQueue;if(a!==null){a=a.shared;var p=a.pending;p===null?s.next=s:(s.next=p.next,p.next=s),a.pending=s}}i.lanes|=n,s=i.alternate,s!==null&&(s.lanes|=n),Ai(i.return,n,t),u.lanes|=n;break}s=s.next}}else if(i.tag===10)o=i.type===t.type?null:i.child;else if(i.tag===18){if(o=i.return,o===null)throw Error(S(341));o.lanes|=n,u=o.alternate,u!==null&&(u.lanes|=n),Ai(o,n,t),o=i.sibling}else o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===t){o=null;break}if(i=o.sibling,i!==null){i.return=o.return,o=i;break}o=o.return}i=o}ae(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,rn(t,n),l=Le(l),r=r(l),t.flags|=1,ae(e,t,r,n),t.child;case 14:return r=t.type,l=je(r,t.pendingProps),l=je(r.type,l),Zu(e,t,r,l,n);case 15:return ic(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:je(r,l),Mr(e,t),t.tag=1,ge(r)?(e=!0,Xr(t)):e=!1,rn(t,n),Ma(t,r,l),Bi(t,r,l,n),Vi(null,t,r,!0,e,n);case 19:return cc(e,t,n);case 22:return oc(e,t,n)}throw Error(S(156,t.tag))};function Pc(e,t){return qs(e,t)}function ap(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ne(e,t,n,r){return new ap(e,t,n,r)}function Go(e){return e=e.prototype,!(!e||!e.isReactComponent)}function cp(e){if(typeof e=="function")return Go(e)?1:0;if(e!=null){if(e=e.$$typeof,e===ho)return 11;if(e===vo)return 14}return 2}function vt(e,t){var n=e.alternate;return n===null?(n=Ne(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Dr(e,t,n,r,l,i){var o=2;if(r=e,typeof e=="function")Go(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Ht:return Rt(n.children,l,i,t);case po:o=8,l|=8;break;case ci:return e=Ne(12,n,t,l|2),e.elementType=ci,e.lanes=i,e;case di:return e=Ne(13,n,t,l),e.elementType=di,e.lanes=i,e;case fi:return e=Ne(19,n,t,l),e.elementType=fi,e.lanes=i,e;case Os:return kl(n,l,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Is:o=10;break e;case Ms:o=9;break e;case ho:o=11;break e;case vo:o=14;break e;case tt:o=16,r=null;break e}throw Error(S(130,e==null?e:typeof e,""))}return t=Ne(o,n,t,l),t.elementType=e,t.type=r,t.lanes=i,t}function Rt(e,t,n,r){return e=Ne(7,e,r,t),e.lanes=n,e}function kl(e,t,n,r){return e=Ne(22,e,r,t),e.elementType=Os,e.lanes=n,e.stateNode={isHidden:!1},e}function li(e,t,n){return e=Ne(6,e,null,t),e.lanes=n,e}function ii(e,t,n){return t=Ne(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function dp(e,t,n,r,l){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Fl(0),this.expirationTimes=Fl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Fl(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function Zo(e,t,n,r,l,i,o,u,s){return e=new dp(e,t,n,u,s),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Ne(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Io(i),e}function fp(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Rc)}catch(e){console.error(e)}}Rc(),Ts.exports=xe;var gp=Ts.exports,cs=gp;si.createRoot=cs.createRoot,si.hydrateRoot=cs.hydrateRoot;/** * @remix-run/router v1.11.0 * * Copyright (c) Remix Software Inc. @@ -46,7 +46,7 @@ Error generating stack: `+i.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function tr(){return tr=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function Nl(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function wp(){return Math.random().toString(36).substr(2,8)}function fs(e,t){return{usr:e.state,key:e.key,idx:t}}function to(e,t,n,r){return n===void 0&&(n=null),tr({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Ft(t):t,{state:n,key:t&&t.key||r||wp()})}function zc(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function Ft(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function Sp(e,t,n,r){r===void 0&&(r={});let{window:l=document.defaultView,v5Compat:i=!1}=r,o=l.history,u=ut.Pop,s=null,a=p();a==null&&(a=0,o.replaceState(tr({},o.state,{idx:a}),""));function p(){return(o.state||{idx:null}).idx}function v(){u=ut.Pop;let T=p(),d=T==null?null:T-a;a=T,s&&s({action:u,location:y.location,delta:d})}function h(T,d){u=ut.Push;let c=to(y.location,T,d);n&&n(c,T),a=p()+1;let f=fs(c,a),g=y.createHref(c);try{o.pushState(f,"",g)}catch(x){if(x instanceof DOMException&&x.name==="DataCloneError")throw x;l.location.assign(g)}i&&s&&s({action:u,location:y.location,delta:1})}function m(T,d){u=ut.Replace;let c=to(y.location,T,d);n&&n(c,T),a=p();let f=fs(c,a),g=y.createHref(c);o.replaceState(f,"",g),i&&s&&s({action:u,location:y.location,delta:0})}function w(T){let d=l.location.origin!=="null"?l.location.origin:l.location.href,c=typeof T=="string"?T:zc(T);return Z(d,"No window.location.(origin|href) available to create URL for href: "+c),new URL(c,d)}let y={get action(){return u},get location(){return e(l,o)},listen(T){if(s)throw new Error("A history only accepts one active listener");return l.addEventListener(ds,v),s=T,()=>{l.removeEventListener(ds,v),s=null}},createHref(T){return t(l,T)},createURL:w,encodeLocation(T){let d=w(T);return{pathname:d.pathname,search:d.search,hash:d.hash}},push:h,replace:m,go(T){return o.go(T)}};return y}var ps;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(ps||(ps={}));function Cp(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?Ft(t):t,l=Mc(r.pathname||"/",n);if(l==null)return null;let i=jc(e);kp(i);let o=null;for(let u=0;o==null&&u{let s={relativePath:u===void 0?i.path||"":u,caseSensitive:i.caseSensitive===!0,childrenIndex:o,route:i};s.relativePath.startsWith("/")&&(Z(s.relativePath.startsWith(r),'Absolute route path "'+s.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),s.relativePath=s.relativePath.slice(r.length));let a=zt([r,s.relativePath]),p=n.concat(s);i.children&&i.children.length>0&&(Z(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+a+'".')),jc(i.children,t,p,a)),!(i.path==null&&!i.index)&&t.push({path:a,score:Tp(a,i.index),routesMeta:p})};return e.forEach((i,o)=>{var u;if(i.path===""||!((u=i.path)!=null&&u.includes("?")))l(i,o);else for(let s of Ic(i.path))l(i,o,s)}),t}function Ic(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,l=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return l?[i,""]:[i];let o=Ic(r.join("/")),u=[];return u.push(...o.map(s=>s===""?i:[i,s].join("/"))),l&&u.push(...o),u.map(s=>e.startsWith("/")&&s===""?"/":s)}function kp(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:Rp(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const xp=/^:\w+$/,Ep=3,_p=2,Pp=1,Np=10,Lp=-2,hs=e=>e==="*";function Tp(e,t){let n=e.split("/"),r=n.length;return n.some(hs)&&(r+=Lp),t&&(r+=_p),n.filter(l=>!hs(l)).reduce((l,i)=>l+(xp.test(i)?Ep:i===""?Pp:Np),r)}function Rp(e,t){return e.length===t.length&&e.slice(0,-1).every((r,l)=>r===t[l])?e[e.length-1]-t[t.length-1]:0}function zp(e,t){let{routesMeta:n}=e,r={},l="/",i=[];for(let o=0;o{let{paramName:h,isOptional:m}=p;if(h==="*"){let y=u[v]||"";o=i.slice(0,i.length-y.length).replace(/(.)\/+$/,"$1")}const w=u[v];return m&&!w?a[h]=void 0:a[h]=Op(w||"",h),a},{}),pathname:i,pathnameBase:o,pattern:e}}function Ip(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Nl(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],l="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:(\w+)(\?)?/g,(o,u,s)=>(r.push({paramName:u,isOptional:s!=null}),s?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),l+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?l+="\\/*$":e!==""&&e!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,t?void 0:"i"),r]}function Mp(e){try{return decodeURI(e)}catch(t){return Nl(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function Op(e,t){try{return decodeURIComponent(e)}catch(n){return Nl(!1,'The value for the URL param "'+t+'" will not be decoded because'+(' the string "'+e+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+n+").")),e}}function Mc(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function Up(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:l=""}=typeof e=="string"?Ft(e):e;return{pathname:n?n.startsWith("/")?n:Dp(n,t):t,search:$p(r),hash:Hp(l)}}function Dp(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(l=>{l===".."?n.length>1&&n.pop():l!=="."&&n.push(l)}),n.length>1?n.join("/"):"/"}function oi(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function Ap(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Fp(e,t,n,r){r===void 0&&(r=!1);let l;typeof e=="string"?l=Ft(e):(l=tr({},e),Z(!l.pathname||!l.pathname.includes("?"),oi("?","pathname","search",l)),Z(!l.pathname||!l.pathname.includes("#"),oi("#","pathname","hash",l)),Z(!l.search||!l.search.includes("#"),oi("#","search","hash",l)));let i=e===""||l.pathname==="",o=i?"/":l.pathname,u;if(r||o==null)u=n;else{let v=t.length-1;if(o.startsWith("..")){let h=o.split("/");for(;h[0]==="..";)h.shift(),v-=1;l.pathname=h.join("/")}u=v>=0?t[v]:"/"}let s=Up(l,u),a=o&&o!=="/"&&o.endsWith("/"),p=(i||o===".")&&n.endsWith("/");return!s.pathname.endsWith("/")&&(a||p)&&(s.pathname+="/"),s}const zt=e=>e.join("/").replace(/\/\/+/g,"/"),Bp=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),$p=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Hp=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function Vp(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Oc=["post","put","patch","delete"];new Set(Oc);const Wp=["get",...Oc];new Set(Wp);/** + */function tr(){return tr=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function Nl(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function wp(){return Math.random().toString(36).substr(2,8)}function fs(e,t){return{usr:e.state,key:e.key,idx:t}}function to(e,t,n,r){return n===void 0&&(n=null),tr({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Ft(t):t,{state:n,key:t&&t.key||r||wp()})}function zc(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function Ft(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function Sp(e,t,n,r){r===void 0&&(r={});let{window:l=document.defaultView,v5Compat:i=!1}=r,o=l.history,u=ut.Pop,s=null,a=p();a==null&&(a=0,o.replaceState(tr({},o.state,{idx:a}),""));function p(){return(o.state||{idx:null}).idx}function v(){u=ut.Pop;let L=p(),d=L==null?null:L-a;a=L,s&&s({action:u,location:y.location,delta:d})}function h(L,d){u=ut.Push;let c=to(y.location,L,d);n&&n(c,L),a=p()+1;let f=fs(c,a),g=y.createHref(c);try{o.pushState(f,"",g)}catch(x){if(x instanceof DOMException&&x.name==="DataCloneError")throw x;l.location.assign(g)}i&&s&&s({action:u,location:y.location,delta:1})}function m(L,d){u=ut.Replace;let c=to(y.location,L,d);n&&n(c,L),a=p();let f=fs(c,a),g=y.createHref(c);o.replaceState(f,"",g),i&&s&&s({action:u,location:y.location,delta:0})}function w(L){let d=l.location.origin!=="null"?l.location.origin:l.location.href,c=typeof L=="string"?L:zc(L);return Z(d,"No window.location.(origin|href) available to create URL for href: "+c),new URL(c,d)}let y={get action(){return u},get location(){return e(l,o)},listen(L){if(s)throw new Error("A history only accepts one active listener");return l.addEventListener(ds,v),s=L,()=>{l.removeEventListener(ds,v),s=null}},createHref(L){return t(l,L)},createURL:w,encodeLocation(L){let d=w(L);return{pathname:d.pathname,search:d.search,hash:d.hash}},push:h,replace:m,go(L){return o.go(L)}};return y}var ps;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(ps||(ps={}));function Cp(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?Ft(t):t,l=Mc(r.pathname||"/",n);if(l==null)return null;let i=jc(e);kp(i);let o=null;for(let u=0;o==null&&u{let s={relativePath:u===void 0?i.path||"":u,caseSensitive:i.caseSensitive===!0,childrenIndex:o,route:i};s.relativePath.startsWith("/")&&(Z(s.relativePath.startsWith(r),'Absolute route path "'+s.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),s.relativePath=s.relativePath.slice(r.length));let a=zt([r,s.relativePath]),p=n.concat(s);i.children&&i.children.length>0&&(Z(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+a+'".')),jc(i.children,t,p,a)),!(i.path==null&&!i.index)&&t.push({path:a,score:Lp(a,i.index),routesMeta:p})};return e.forEach((i,o)=>{var u;if(i.path===""||!((u=i.path)!=null&&u.includes("?")))l(i,o);else for(let s of Ic(i.path))l(i,o,s)}),t}function Ic(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,l=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return l?[i,""]:[i];let o=Ic(r.join("/")),u=[];return u.push(...o.map(s=>s===""?i:[i,s].join("/"))),l&&u.push(...o),u.map(s=>e.startsWith("/")&&s===""?"/":s)}function kp(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:Rp(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const xp=/^:\w+$/,Ep=3,_p=2,Pp=1,Np=10,Tp=-2,hs=e=>e==="*";function Lp(e,t){let n=e.split("/"),r=n.length;return n.some(hs)&&(r+=Tp),t&&(r+=_p),n.filter(l=>!hs(l)).reduce((l,i)=>l+(xp.test(i)?Ep:i===""?Pp:Np),r)}function Rp(e,t){return e.length===t.length&&e.slice(0,-1).every((r,l)=>r===t[l])?e[e.length-1]-t[t.length-1]:0}function zp(e,t){let{routesMeta:n}=e,r={},l="/",i=[];for(let o=0;o{let{paramName:h,isOptional:m}=p;if(h==="*"){let y=u[v]||"";o=i.slice(0,i.length-y.length).replace(/(.)\/+$/,"$1")}const w=u[v];return m&&!w?a[h]=void 0:a[h]=Op(w||"",h),a},{}),pathname:i,pathnameBase:o,pattern:e}}function Ip(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Nl(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],l="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:(\w+)(\?)?/g,(o,u,s)=>(r.push({paramName:u,isOptional:s!=null}),s?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),l+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?l+="\\/*$":e!==""&&e!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,t?void 0:"i"),r]}function Mp(e){try{return decodeURI(e)}catch(t){return Nl(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function Op(e,t){try{return decodeURIComponent(e)}catch(n){return Nl(!1,'The value for the URL param "'+t+'" will not be decoded because'+(' the string "'+e+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+n+").")),e}}function Mc(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function Up(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:l=""}=typeof e=="string"?Ft(e):e;return{pathname:n?n.startsWith("/")?n:Dp(n,t):t,search:$p(r),hash:Hp(l)}}function Dp(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(l=>{l===".."?n.length>1&&n.pop():l!=="."&&n.push(l)}),n.length>1?n.join("/"):"/"}function oi(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function Ap(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Fp(e,t,n,r){r===void 0&&(r=!1);let l;typeof e=="string"?l=Ft(e):(l=tr({},e),Z(!l.pathname||!l.pathname.includes("?"),oi("?","pathname","search",l)),Z(!l.pathname||!l.pathname.includes("#"),oi("#","pathname","hash",l)),Z(!l.search||!l.search.includes("#"),oi("#","search","hash",l)));let i=e===""||l.pathname==="",o=i?"/":l.pathname,u;if(r||o==null)u=n;else{let v=t.length-1;if(o.startsWith("..")){let h=o.split("/");for(;h[0]==="..";)h.shift(),v-=1;l.pathname=h.join("/")}u=v>=0?t[v]:"/"}let s=Up(l,u),a=o&&o!=="/"&&o.endsWith("/"),p=(i||o===".")&&n.endsWith("/");return!s.pathname.endsWith("/")&&(a||p)&&(s.pathname+="/"),s}const zt=e=>e.join("/").replace(/\/\/+/g,"/"),Bp=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),$p=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Hp=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function Vp(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Oc=["post","put","patch","delete"];new Set(Oc);const Wp=["get",...Oc];new Set(Wp);/** * React Router v6.18.0 * * Copyright (c) Remix Software Inc. @@ -55,7 +55,7 @@ Error generating stack: `+i.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function sl(){return sl=Object.assign?Object.assign.bind():function(e){for(var t=1;ts.pathnameBase)),o=k.useRef(!1);return Dc(()=>{o.current=!0}),k.useCallback(function(s,a){if(a===void 0&&(a={}),!o.current)return;if(typeof s=="number"){n.go(s);return}let p=Fp(s,JSON.parse(i),l,a.relative==="path");e==null&&t!=="/"&&(p.pathname=p.pathname==="/"?t:zt([t,p.pathname])),(a.replace?n.replace:n.push)(p,a.state,a)},[t,n,i,l,e])}function Xp(e,t){return Gp(e,t)}function Gp(e,t,n){Rl()||Z(!1);let{navigator:r}=k.useContext(Ll),{matches:l}=k.useContext(mn),i=l[l.length-1],o=i?i.params:{};i&&i.pathname;let u=i?i.pathnameBase:"/";i&&i.route;let s=tu(),a;if(t){var p;let y=typeof t=="string"?Ft(t):t;u==="/"||(p=y.pathname)!=null&&p.startsWith(u)||Z(!1),a=y}else a=s;let v=a.pathname||"/",h=u==="/"?v:v.slice(u.length)||"/",m=Cp(e,{pathname:h}),w=eh(m&&m.map(y=>Object.assign({},y,{params:Object.assign({},o,y.params),pathname:zt([u,r.encodeLocation?r.encodeLocation(y.pathname).pathname:y.pathname]),pathnameBase:y.pathnameBase==="/"?u:zt([u,r.encodeLocation?r.encodeLocation(y.pathnameBase).pathname:y.pathnameBase])})),l,n);return t&&w?k.createElement(Tl.Provider,{value:{location:sl({pathname:"/",search:"",hash:"",state:null,key:"default"},a),navigationType:ut.Pop}},w):w}function Zp(){let e=lh(),t=Vp(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,l={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"},i=null;return k.createElement(k.Fragment,null,k.createElement("h2",null,"Unexpected Application Error!"),k.createElement("h3",{style:{fontStyle:"italic"}},t),n?k.createElement("pre",{style:l},n):null,i)}const Jp=k.createElement(Zp,null);class qp extends k.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error||n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error?k.createElement(mn.Provider,{value:this.props.routeContext},k.createElement(Uc.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function bp(e){let{routeContext:t,match:n,children:r}=e,l=k.useContext(eu);return l&&l.static&&l.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(l.staticContext._deepestRenderedBoundaryId=n.route.id),k.createElement(mn.Provider,{value:t},r)}function eh(e,t,n){var r;if(t===void 0&&(t=[]),n===void 0&&(n=null),e==null){var l;if((l=n)!=null&&l.errors)e=n.matches;else return null}let i=e,o=(r=n)==null?void 0:r.errors;if(o!=null){let u=i.findIndex(s=>s.route.id&&(o==null?void 0:o[s.route.id]));u>=0||Z(!1),i=i.slice(0,Math.min(i.length,u+1))}return i.reduceRight((u,s,a)=>{let p=s.route.id?o==null?void 0:o[s.route.id]:null,v=null;n&&(v=s.route.errorElement||Jp);let h=t.concat(i.slice(0,a+1)),m=()=>{let w;return p?w=v:s.route.Component?w=k.createElement(s.route.Component,null):s.route.element?w=s.route.element:w=u,k.createElement(bp,{match:s,routeContext:{outlet:u,matches:h,isDataRoute:n!=null},children:w})};return n&&(s.route.ErrorBoundary||s.route.errorElement||a===0)?k.createElement(qp,{location:n.location,revalidation:n.revalidation,component:v,error:p,children:m(),routeContext:{outlet:null,matches:h,isDataRoute:!0}}):m()},null)}var Ac=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Ac||{}),al=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(al||{});function th(e){let t=k.useContext(eu);return t||Z(!1),t}function nh(e){let t=k.useContext(Qp);return t||Z(!1),t}function rh(e){let t=k.useContext(mn);return t||Z(!1),t}function Fc(e){let t=rh(),n=t.matches[t.matches.length-1];return n.route.id||Z(!1),n.route.id}function lh(){var e;let t=k.useContext(Uc),n=nh(al.UseRouteError),r=Fc(al.UseRouteError);return t||((e=n.errors)==null?void 0:e[r])}function ih(){let{router:e}=th(Ac.UseNavigateStable),t=Fc(al.UseNavigateStable),n=k.useRef(!1);return Dc(()=>{n.current=!0}),k.useCallback(function(l,i){i===void 0&&(i={}),n.current&&(typeof l=="number"?e.navigate(l):e.navigate(l,sl({fromRouteId:t},i)))},[e,t])}function no(e){Z(!1)}function oh(e){let{basename:t="/",children:n=null,location:r,navigationType:l=ut.Pop,navigator:i,static:o=!1}=e;Rl()&&Z(!1);let u=t.replace(/^\/*/,"/"),s=k.useMemo(()=>({basename:u,navigator:i,static:o}),[u,i,o]);typeof r=="string"&&(r=Ft(r));let{pathname:a="/",search:p="",hash:v="",state:h=null,key:m="default"}=r,w=k.useMemo(()=>{let y=Mc(a,u);return y==null?null:{location:{pathname:y,search:p,hash:v,state:h,key:m},navigationType:l}},[u,a,p,v,h,m,l]);return w==null?null:k.createElement(Ll.Provider,{value:s},k.createElement(Tl.Provider,{children:n,value:w}))}function uh(e){let{children:t,location:n}=e;return Xp(ro(t),n)}new Promise(()=>{});function ro(e,t){t===void 0&&(t=[]);let n=[];return k.Children.forEach(e,(r,l)=>{if(!k.isValidElement(r))return;let i=[...t,l];if(r.type===k.Fragment){n.push.apply(n,ro(r.props.children,i));return}r.type!==no&&Z(!1),!r.props.index||!r.props.children||Z(!1);let o={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(o.children=ro(r.props.children,i)),n.push(o)}),n}/** + */function sl(){return sl=Object.assign?Object.assign.bind():function(e){for(var t=1;ts.pathnameBase)),o=k.useRef(!1);return Dc(()=>{o.current=!0}),k.useCallback(function(s,a){if(a===void 0&&(a={}),!o.current)return;if(typeof s=="number"){n.go(s);return}let p=Fp(s,JSON.parse(i),l,a.relative==="path");e==null&&t!=="/"&&(p.pathname=p.pathname==="/"?t:zt([t,p.pathname])),(a.replace?n.replace:n.push)(p,a.state,a)},[t,n,i,l,e])}function Xp(e,t){return Gp(e,t)}function Gp(e,t,n){Rl()||Z(!1);let{navigator:r}=k.useContext(Tl),{matches:l}=k.useContext(mn),i=l[l.length-1],o=i?i.params:{};i&&i.pathname;let u=i?i.pathnameBase:"/";i&&i.route;let s=tu(),a;if(t){var p;let y=typeof t=="string"?Ft(t):t;u==="/"||(p=y.pathname)!=null&&p.startsWith(u)||Z(!1),a=y}else a=s;let v=a.pathname||"/",h=u==="/"?v:v.slice(u.length)||"/",m=Cp(e,{pathname:h}),w=eh(m&&m.map(y=>Object.assign({},y,{params:Object.assign({},o,y.params),pathname:zt([u,r.encodeLocation?r.encodeLocation(y.pathname).pathname:y.pathname]),pathnameBase:y.pathnameBase==="/"?u:zt([u,r.encodeLocation?r.encodeLocation(y.pathnameBase).pathname:y.pathnameBase])})),l,n);return t&&w?k.createElement(Ll.Provider,{value:{location:sl({pathname:"/",search:"",hash:"",state:null,key:"default"},a),navigationType:ut.Pop}},w):w}function Zp(){let e=lh(),t=Vp(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,l={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"},i=null;return k.createElement(k.Fragment,null,k.createElement("h2",null,"Unexpected Application Error!"),k.createElement("h3",{style:{fontStyle:"italic"}},t),n?k.createElement("pre",{style:l},n):null,i)}const Jp=k.createElement(Zp,null);class qp extends k.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error||n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error?k.createElement(mn.Provider,{value:this.props.routeContext},k.createElement(Uc.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function bp(e){let{routeContext:t,match:n,children:r}=e,l=k.useContext(eu);return l&&l.static&&l.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(l.staticContext._deepestRenderedBoundaryId=n.route.id),k.createElement(mn.Provider,{value:t},r)}function eh(e,t,n){var r;if(t===void 0&&(t=[]),n===void 0&&(n=null),e==null){var l;if((l=n)!=null&&l.errors)e=n.matches;else return null}let i=e,o=(r=n)==null?void 0:r.errors;if(o!=null){let u=i.findIndex(s=>s.route.id&&(o==null?void 0:o[s.route.id]));u>=0||Z(!1),i=i.slice(0,Math.min(i.length,u+1))}return i.reduceRight((u,s,a)=>{let p=s.route.id?o==null?void 0:o[s.route.id]:null,v=null;n&&(v=s.route.errorElement||Jp);let h=t.concat(i.slice(0,a+1)),m=()=>{let w;return p?w=v:s.route.Component?w=k.createElement(s.route.Component,null):s.route.element?w=s.route.element:w=u,k.createElement(bp,{match:s,routeContext:{outlet:u,matches:h,isDataRoute:n!=null},children:w})};return n&&(s.route.ErrorBoundary||s.route.errorElement||a===0)?k.createElement(qp,{location:n.location,revalidation:n.revalidation,component:v,error:p,children:m(),routeContext:{outlet:null,matches:h,isDataRoute:!0}}):m()},null)}var Ac=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Ac||{}),al=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(al||{});function th(e){let t=k.useContext(eu);return t||Z(!1),t}function nh(e){let t=k.useContext(Qp);return t||Z(!1),t}function rh(e){let t=k.useContext(mn);return t||Z(!1),t}function Fc(e){let t=rh(),n=t.matches[t.matches.length-1];return n.route.id||Z(!1),n.route.id}function lh(){var e;let t=k.useContext(Uc),n=nh(al.UseRouteError),r=Fc(al.UseRouteError);return t||((e=n.errors)==null?void 0:e[r])}function ih(){let{router:e}=th(Ac.UseNavigateStable),t=Fc(al.UseNavigateStable),n=k.useRef(!1);return Dc(()=>{n.current=!0}),k.useCallback(function(l,i){i===void 0&&(i={}),n.current&&(typeof l=="number"?e.navigate(l):e.navigate(l,sl({fromRouteId:t},i)))},[e,t])}function no(e){Z(!1)}function oh(e){let{basename:t="/",children:n=null,location:r,navigationType:l=ut.Pop,navigator:i,static:o=!1}=e;Rl()&&Z(!1);let u=t.replace(/^\/*/,"/"),s=k.useMemo(()=>({basename:u,navigator:i,static:o}),[u,i,o]);typeof r=="string"&&(r=Ft(r));let{pathname:a="/",search:p="",hash:v="",state:h=null,key:m="default"}=r,w=k.useMemo(()=>{let y=Mc(a,u);return y==null?null:{location:{pathname:y,search:p,hash:v,state:h,key:m},navigationType:l}},[u,a,p,v,h,m,l]);return w==null?null:k.createElement(Tl.Provider,{value:s},k.createElement(Ll.Provider,{children:n,value:w}))}function uh(e){let{children:t,location:n}=e;return Xp(ro(t),n)}new Promise(()=>{});function ro(e,t){t===void 0&&(t=[]);let n=[];return k.Children.forEach(e,(r,l)=>{if(!k.isValidElement(r))return;let i=[...t,l];if(r.type===k.Fragment){n.push.apply(n,ro(r.props.children,i));return}r.type!==no&&Z(!1),!r.props.index||!r.props.children||Z(!1);let o={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(o.children=ro(r.props.children,i)),n.push(o)}),n}/** * React Router DOM v6.18.0 * * Copyright (c) Remix Software Inc. @@ -64,4 +64,4 @@ Error generating stack: `+i.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function lo(e){return e===void 0&&(e=""),new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(l=>[n,l]):[[n,r]])},[]))}function sh(e,t){let n=lo(e);return t&&t.forEach((r,l)=>{n.has(l)||t.getAll(l).forEach(i=>{n.append(l,i)})}),n}const ah="startTransition",vs=od[ah];function ch(e){let{basename:t,children:n,future:r,window:l}=e,i=k.useRef();i.current==null&&(i.current=yp({window:l,v5Compat:!0}));let o=i.current,[u,s]=k.useState({action:o.action,location:o.location}),{v7_startTransition:a}=r||{},p=k.useCallback(v=>{a&&vs?vs(()=>s(v)):s(v)},[s,a]);return k.useLayoutEffect(()=>o.listen(p),[o,p]),k.createElement(oh,{basename:t,children:n,location:u.location,navigationType:u.action,navigator:o})}var ms;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(ms||(ms={}));var gs;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(gs||(gs={}));function dh(e){let t=k.useRef(lo(e)),n=k.useRef(!1),r=tu(),l=k.useMemo(()=>sh(r.search,n.current?null:t.current),[r.search]),i=Kp(),o=k.useCallback((u,s)=>{const a=lo(typeof u=="function"?u(l):u);n.current=!0,i("?"+a,s)},[i,l]);return[l,o]}var ui=globalThis&&globalThis.__spreadArray||function(e,t,n){if(n||arguments.length===2)for(var r=0,l=t.length,i;r{var a;if(((a=s.channel)==null?void 0:a.id)===(o==null?void 0:o.id)&&s.channel.connection.id===i)return s});return C.jsxs("div",{className:"viewer",children:[t?C.jsx("div",{className:"channelNameContainer",children:C.jsx("h1",{children:o==null?void 0:o.properties.name})}):null,u==null?void 0:u.map((s,a)=>{var p;return r!=0&&a>=r?null:s?n&&(s.properties.inputMuted||s.properties.outputMuted||s.talkStatus==0)?null:C.jsxs("div",{className:"client",children:[s.properties.outputHardware==!1?C.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 128 128",children:[C.jsx("title",{children:"muted_hardware_output"}),C.jsxs("g",{id:"muted_hardware_output.svg",children:[C.jsx("path",{d:"M116.62,39a4.78,4.78,0,0,1-1.59.3l-6.29,3.63a45.42,45.42,0,0,1-13.33,57.64,49.4,49.4,0,0,1-5.82,3.62c-1.06.57-2.2.92-3.19,1.49-1.7,1-2.77,2.13-2.77,4.18a4.57,4.57,0,0,0,4.54,4.54,5.33,5.33,0,0,0,1.84-.35,54.49,54.49,0,0,0,26.94-75c-.12,0-.22,0-.34,0M88.18,13.58a4.57,4.57,0,0,0-4.54,4.54c0,2.06,1.06,3.19,2.77,4.18,1,.57,2.13.92,3.19,1.49a49.4,49.4,0,0,1,5.82,3.62,45.68,45.68,0,0,1,8.19,7.78l7-4a2.63,2.63,0,0,1,1.11-.34A54.31,54.31,0,0,0,90,13.94a5.33,5.33,0,0,0-1.84-.35",fill:"#d8d8d8"}),C.jsx("path",{d:"M59.46,71.4,32.77,86.81l19,19a4.51,4.51,0,0,0,3.19,1.35,4.57,4.57,0,0,0,4.54-4.54V71.4M54.92,20.88a4.51,4.51,0,0,0-3.19,1.35L28.12,45.85H9.54A4.57,4.57,0,0,0,5,50.38V77.62a4.57,4.57,0,0,0,4.54,4.54H22.26l37.2-21.48V25.42a4.57,4.57,0,0,0-4.54-4.54",fill:"#d8d8d8"}),C.jsx("path",{d:"M85.11,56.6l-7.87,4.54A10,10,0,0,1,77.62,64c0,8.58-8.23,7.09-8.23,12.48A4.53,4.53,0,0,0,73.93,81a4,4,0,0,0,1.77-.35A18.13,18.13,0,0,0,86.69,64a18.34,18.34,0,0,0-1.59-7.4M73.93,47a4.52,4.52,0,0,0-4.54,4.54,3.92,3.92,0,0,0,1.08,2.8l8.76-5.06a16.14,16.14,0,0,0-3.52-1.93A4,4,0,0,0,73.93,47",fill:"#d8d8d8"}),C.jsx("path",{d:"M100.87,47.49,93,52a27.15,27.15,0,0,1-8.36,33.87A36.79,36.79,0,0,1,79.25,89a4.54,4.54,0,0,0,1.84,8.72,5.24,5.24,0,0,0,1.77-.35,36.34,36.34,0,0,0,18-49.91M81,30.25A4.54,4.54,0,0,0,79.25,39a36.82,36.82,0,0,1,5.39,3.12,27,27,0,0,1,2.86,2.4l8.14-4.7A35.37,35.37,0,0,0,82.86,30.6,5.31,5.31,0,0,0,81,30.25",fill:"#d8d8d8"}),C.jsx("path",{d:"M126.57,43.71,10.42,110.77a2.88,2.88,0,0,1-3.93-1.05L4.33,106A2.88,2.88,0,0,1,5.38,102L121.53,35A2.88,2.88,0,0,1,125.46,36l2.16,3.75A2.88,2.88,0,0,1,126.57,43.71Z",fill:"#c9070a"})]})]}):s.properties.inputHardware==!1?C.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 128 128",children:[C.jsx("title",{children:"muted_hardware_input"}),C.jsxs("g",{id:"muted_hardware_input.svg",children:[C.jsx("path",{d:"M88.62,54.15V64A24.69,24.69,0,0,1,64,88.62a25.26,25.26,0,0,1-8.38-1.46l-7.39,7.39A34,34,0,0,0,64,98.46,34.5,34.5,0,0,0,98.46,64V54.15a4.92,4.92,0,1,1,9.85,0V64a44.31,44.31,0,0,1-39.38,44v10.15H88.62a4.92,4.92,0,0,1,0,9.85H39.38a4.92,4.92,0,1,1,0-9.85H59.08V108A43.3,43.3,0,0,1,41,101.77L21.46,121.31a2.46,2.46,0,0,1-3.54,0L11.62,115a2.46,2.46,0,0,1,0-3.54l94.92-94.92a2.46,2.46,0,0,1,3.54,0l6.31,6.31a2.46,2.46,0,0,1,0,3.54ZM22.92,80.46A43.3,43.3,0,0,1,19.69,64V54.15a4.92,4.92,0,1,1,9.85,0V64a35.94,35.94,0,0,0,1.15,8.69ZM39.38,64V24.62a24.62,24.62,0,0,1,47.77-8.38Z",fill:"#d8d8d8"}),C.jsx("rect",{x:"-5.93",y:"61.89",width:"139.87",height:"14.02",rx:"2.87",ry:"2.87",transform:"translate(-29.97 65.43) rotate(-45)",fill:"#c9070a"})]})]}):s.properties.outputMuted?C.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 128 128",children:[C.jsx("title",{children:"muted_output"}),C.jsxs("g",{id:"muted_output",children:[C.jsx("path",{d:"M116.62,39a4.78,4.78,0,0,1-1.59.3l-6.29,3.63a45.42,45.42,0,0,1-13.33,57.64,49.4,49.4,0,0,1-5.82,3.62c-1.06.57-2.2.92-3.19,1.49-1.7,1-2.77,2.13-2.77,4.18a4.57,4.57,0,0,0,4.54,4.54,5.33,5.33,0,0,0,1.84-.35,54.49,54.49,0,0,0,26.94-75c-.12,0-.22,0-.34,0M88.18,13.58a4.57,4.57,0,0,0-4.54,4.54c0,2.06,1.06,3.19,2.77,4.18,1,.57,2.13.92,3.19,1.49a49.4,49.4,0,0,1,5.82,3.62,45.68,45.68,0,0,1,8.19,7.78l7-4a2.63,2.63,0,0,1,1.11-.34A54.31,54.31,0,0,0,90,13.94a5.33,5.33,0,0,0-1.84-.35",fill:"#c9070a"}),C.jsx("path",{d:"M59.46,71.4,32.77,86.81l19,19a4.51,4.51,0,0,0,3.19,1.35,4.57,4.57,0,0,0,4.54-4.54V71.4M54.92,20.88a4.51,4.51,0,0,0-3.19,1.35L28.11,45.85H9.53A4.57,4.57,0,0,0,5,50.38V77.62a4.57,4.57,0,0,0,4.54,4.54H22.25l37.2-21.48V25.42a4.57,4.57,0,0,0-4.54-4.54",fill:"#c9070a"}),C.jsx("path",{d:"M85.1,56.6l-7.87,4.54A10,10,0,0,1,77.61,64c0,8.58-8.23,7.09-8.23,12.48A4.53,4.53,0,0,0,73.92,81a4,4,0,0,0,1.77-.35A18.13,18.13,0,0,0,86.69,64a18.34,18.34,0,0,0-1.59-7.4M73.92,47a4.52,4.52,0,0,0-4.54,4.54,3.92,3.92,0,0,0,1.08,2.8l8.76-5.06a16.14,16.14,0,0,0-3.52-1.93A4,4,0,0,0,73.92,47",fill:"#c9070a"}),C.jsx("path",{d:"M100.87,47.49,93,52a27.15,27.15,0,0,1-8.36,33.87A36.79,36.79,0,0,1,79.24,89a4.54,4.54,0,0,0,1.84,8.72,5.24,5.24,0,0,0,1.77-.35,36.34,36.34,0,0,0,18-49.91M81,30.25A4.54,4.54,0,0,0,79.24,39a36.82,36.82,0,0,1,5.39,3.12,27,27,0,0,1,2.86,2.4l8.14-4.7A35.37,35.37,0,0,0,82.86,30.6,5.31,5.31,0,0,0,81,30.25",fill:"#c9070a"}),C.jsx("path",{d:"M126.57,43.71,10.42,110.77a2.88,2.88,0,0,1-3.93-1.05L4.33,106A2.88,2.88,0,0,1,5.38,102L121.53,35A2.88,2.88,0,0,1,125.46,36l2.16,3.75A2.88,2.88,0,0,1,126.57,43.71Z",fill:"#c9070a"})]})]}):s.properties.inputMuted?C.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 128 128",children:[C.jsx("title",{children:"muted_input"}),C.jsx("g",{id:"muted_input.svg",children:C.jsx("path",{d:"M88.62,54.15V64A24.69,24.69,0,0,1,64,88.62a25.26,25.26,0,0,1-8.38-1.46l-7.39,7.39A34,34,0,0,0,64,98.46,34.5,34.5,0,0,0,98.46,64V54.15a4.92,4.92,0,1,1,9.85,0V64a44.31,44.31,0,0,1-39.38,44v10.15H88.62a4.92,4.92,0,0,1,0,9.85H39.38a4.92,4.92,0,1,1,0-9.85H59.08V108A43.3,43.3,0,0,1,41,101.77L21.46,121.31a2.46,2.46,0,0,1-3.54,0L11.62,115a2.46,2.46,0,0,1,0-3.54l94.92-94.92a2.46,2.46,0,0,1,3.54,0l6.31,6.31a2.46,2.46,0,0,1,0,3.54ZM22.92,80.46A43.3,43.3,0,0,1,19.69,64V54.15a4.92,4.92,0,1,1,9.85,0V64a35.94,35.94,0,0,0,1.15,8.69ZM39.38,64V24.62a24.62,24.62,0,0,1,47.77-8.38Z",fill:"#c9070a"})})]}):s.talkStatus==1?C.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 128 128",children:[C.jsx("title",{children:"player_on_v2"}),C.jsx("g",{id:"player_on_v2.svg",children:C.jsx("path",{d:"M64,128a64,64,0,1,1,64-64A64,64,0,0,1,64,128Z",fill:"#00b4df"})})]}):C.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 128 128",children:[C.jsx("title",{children:"player_off_v2"}),C.jsx("g",{id:"player_off_v2.svg",children:C.jsx("path",{d:"M64,128a64,64,0,1,1,64-64A64,64,0,0,1,64,128Z",fill:"#3e4f5e"})})]}),C.jsx("p",{children:s.properties.nickname})]},`${s.id}-${(p=s.channel)==null?void 0:p.connection.id}`):C.jsx("div",{},Math.random())})]})}function gh(){const[e,t]=k.useState(()=>new URL(window.location.href).toString()),n=k.useRef(null),[r,l]=k.useState(5899),[i,o]=k.useState(!0),[u,s]=k.useState(!1),[a,p]=k.useState(0);k.useEffect(()=>{v()},[r,i,u,a]);function v(){const m=new URL(window.location.href);m.hash="",m.searchParams.set("remoteAppPort",r.toString()),m.searchParams.set("showChannelName",i.toString()),m.searchParams.set("hideNonTalking",u.toString()),m.searchParams.set("clientLimit",a.toString()),t(m.toString().replace("?","#/?"))}function h(){navigator.clipboard.writeText(e),n.current&&(n.current.style.animation="tooltipAnimation 200ms",n.current.style.opacity="1",setTimeout(()=>{n.current&&(n.current.style.opacity="0",n.current.style.animation="")},1e3))}return C.jsxs("div",{className:"generator",children:[C.jsxs("div",{className:"headline",children:[C.jsx("h1",{children:"TS5-OBS-Overlay Generator"}),C.jsx("h4",{children:"by DerTyp7"})]}),C.jsxs("div",{className:"instructions",children:[C.jsx("p",{children:"1. Customize your settings"}),C.jsx("p",{children:"2. Copy the generated URL"}),C.jsx("p",{children:"3. Paste the URL into the BrowserSource URL field in OBS"}),C.jsx("a",{href:"#",children:"Click here for detailed instructions"})]}),C.jsxs("div",{className:"output",children:[C.jsx("p",{className:"url",children:C.jsx("code",{children:e})}),C.jsx("button",{onClick:h,className:"copy",children:"Copy"}),C.jsx("div",{ref:n,className:"copiedTooltip",children:"Copied!"})]}),C.jsxs("div",{className:"generatorContent",children:[C.jsxs("div",{className:"configurations",children:[C.jsx("h2",{children:"Configurations"}),C.jsxs("div",{className:"options",children:[C.jsxs("section",{children:[C.jsxs("div",{className:"option",onClick:()=>o(!i),children:[C.jsx("input",{type:"checkbox",checked:i}),C.jsx("label",{children:"Show channel name"})]}),C.jsxs("div",{className:"option",onClick:()=>s(!u),children:[C.jsx("input",{type:"checkbox",checked:u}),C.jsx("label",{children:"Hide non talking clients"})]})]}),C.jsxs("section",{children:[C.jsxs("div",{className:"option",children:[C.jsx("input",{type:"number",value:a,min:0,onChange:m=>p(parseInt(m.target.value))}),C.jsx("label",{children:"Client Limit"})]}),C.jsxs("div",{className:"option",children:[C.jsx("input",{type:"number",value:r,min:0,onChange:m=>l(parseInt(m.target.value))}),C.jsx("label",{children:"RemoteApp-Port"})]})]})]})]}),C.jsx("div",{className:"preview",children:C.jsx(Bc,{remoteAppPort:r,showChannelName:i,hideNonTalking:u,clientLimit:a})})]})]})}function yh(){const[e]=dh();return C.jsxs(uh,{children:[C.jsx(no,{path:"/",element:C.jsx(Bc,{remoteAppPort:parseInt(e.get("remoteAppPort")??"5899"),showChannelName:e.get("showChannelName")==="true",hideNonTalking:e.get("hideNonTalking")==="true",clientLimit:e.get("clientLimit")?parseInt(e.get("clientLimit")??"0"):0})}),C.jsx(no,{path:"/generate",element:C.jsx(gh,{})})]})}si.createRoot(document.getElementById("root")).render(C.jsx(ch,{children:C.jsx(yh,{})})); + */function lo(e){return e===void 0&&(e=""),new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(l=>[n,l]):[[n,r]])},[]))}function sh(e,t){let n=lo(e);return t&&t.forEach((r,l)=>{n.has(l)||t.getAll(l).forEach(i=>{n.append(l,i)})}),n}const ah="startTransition",vs=od[ah];function ch(e){let{basename:t,children:n,future:r,window:l}=e,i=k.useRef();i.current==null&&(i.current=yp({window:l,v5Compat:!0}));let o=i.current,[u,s]=k.useState({action:o.action,location:o.location}),{v7_startTransition:a}=r||{},p=k.useCallback(v=>{a&&vs?vs(()=>s(v)):s(v)},[s,a]);return k.useLayoutEffect(()=>o.listen(p),[o,p]),k.createElement(oh,{basename:t,children:n,location:u.location,navigationType:u.action,navigator:o})}var ms;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(ms||(ms={}));var gs;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(gs||(gs={}));function dh(e){let t=k.useRef(lo(e)),n=k.useRef(!1),r=tu(),l=k.useMemo(()=>sh(r.search,n.current?null:t.current),[r.search]),i=Kp(),o=k.useCallback((u,s)=>{const a=lo(typeof u=="function"?u(l):u);n.current=!0,i("?"+a,s)},[i,l]);return[l,o]}var ui=globalThis&&globalThis.__spreadArray||function(e,t,n){if(n||arguments.length===2)for(var r=0,l=t.length,i;r{var a;if(((a=s.channel)==null?void 0:a.id)===(o==null?void 0:o.id)&&s.channel.connection.id===i)return s});return C.jsxs("div",{className:"viewer",children:[t?C.jsx("div",{className:"channelNameContainer",children:C.jsx("h1",{children:o==null?void 0:o.properties.name})}):null,u==null?void 0:u.map((s,a)=>{var p;return r!=0&&a>=r?null:s?n&&(s.properties.inputMuted||s.properties.outputMuted||s.talkStatus==0)?null:C.jsxs("div",{className:"client",children:[s.properties.outputHardware==!1?C.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 128 128",children:[C.jsx("title",{children:"muted_hardware_output"}),C.jsxs("g",{id:"muted_hardware_output.svg",children:[C.jsx("path",{d:"M116.62,39a4.78,4.78,0,0,1-1.59.3l-6.29,3.63a45.42,45.42,0,0,1-13.33,57.64,49.4,49.4,0,0,1-5.82,3.62c-1.06.57-2.2.92-3.19,1.49-1.7,1-2.77,2.13-2.77,4.18a4.57,4.57,0,0,0,4.54,4.54,5.33,5.33,0,0,0,1.84-.35,54.49,54.49,0,0,0,26.94-75c-.12,0-.22,0-.34,0M88.18,13.58a4.57,4.57,0,0,0-4.54,4.54c0,2.06,1.06,3.19,2.77,4.18,1,.57,2.13.92,3.19,1.49a49.4,49.4,0,0,1,5.82,3.62,45.68,45.68,0,0,1,8.19,7.78l7-4a2.63,2.63,0,0,1,1.11-.34A54.31,54.31,0,0,0,90,13.94a5.33,5.33,0,0,0-1.84-.35",fill:"#d8d8d8"}),C.jsx("path",{d:"M59.46,71.4,32.77,86.81l19,19a4.51,4.51,0,0,0,3.19,1.35,4.57,4.57,0,0,0,4.54-4.54V71.4M54.92,20.88a4.51,4.51,0,0,0-3.19,1.35L28.12,45.85H9.54A4.57,4.57,0,0,0,5,50.38V77.62a4.57,4.57,0,0,0,4.54,4.54H22.26l37.2-21.48V25.42a4.57,4.57,0,0,0-4.54-4.54",fill:"#d8d8d8"}),C.jsx("path",{d:"M85.11,56.6l-7.87,4.54A10,10,0,0,1,77.62,64c0,8.58-8.23,7.09-8.23,12.48A4.53,4.53,0,0,0,73.93,81a4,4,0,0,0,1.77-.35A18.13,18.13,0,0,0,86.69,64a18.34,18.34,0,0,0-1.59-7.4M73.93,47a4.52,4.52,0,0,0-4.54,4.54,3.92,3.92,0,0,0,1.08,2.8l8.76-5.06a16.14,16.14,0,0,0-3.52-1.93A4,4,0,0,0,73.93,47",fill:"#d8d8d8"}),C.jsx("path",{d:"M100.87,47.49,93,52a27.15,27.15,0,0,1-8.36,33.87A36.79,36.79,0,0,1,79.25,89a4.54,4.54,0,0,0,1.84,8.72,5.24,5.24,0,0,0,1.77-.35,36.34,36.34,0,0,0,18-49.91M81,30.25A4.54,4.54,0,0,0,79.25,39a36.82,36.82,0,0,1,5.39,3.12,27,27,0,0,1,2.86,2.4l8.14-4.7A35.37,35.37,0,0,0,82.86,30.6,5.31,5.31,0,0,0,81,30.25",fill:"#d8d8d8"}),C.jsx("path",{d:"M126.57,43.71,10.42,110.77a2.88,2.88,0,0,1-3.93-1.05L4.33,106A2.88,2.88,0,0,1,5.38,102L121.53,35A2.88,2.88,0,0,1,125.46,36l2.16,3.75A2.88,2.88,0,0,1,126.57,43.71Z",fill:"#c9070a"})]})]}):s.properties.inputHardware==!1?C.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 128 128",children:[C.jsx("title",{children:"muted_hardware_input"}),C.jsxs("g",{id:"muted_hardware_input.svg",children:[C.jsx("path",{d:"M88.62,54.15V64A24.69,24.69,0,0,1,64,88.62a25.26,25.26,0,0,1-8.38-1.46l-7.39,7.39A34,34,0,0,0,64,98.46,34.5,34.5,0,0,0,98.46,64V54.15a4.92,4.92,0,1,1,9.85,0V64a44.31,44.31,0,0,1-39.38,44v10.15H88.62a4.92,4.92,0,0,1,0,9.85H39.38a4.92,4.92,0,1,1,0-9.85H59.08V108A43.3,43.3,0,0,1,41,101.77L21.46,121.31a2.46,2.46,0,0,1-3.54,0L11.62,115a2.46,2.46,0,0,1,0-3.54l94.92-94.92a2.46,2.46,0,0,1,3.54,0l6.31,6.31a2.46,2.46,0,0,1,0,3.54ZM22.92,80.46A43.3,43.3,0,0,1,19.69,64V54.15a4.92,4.92,0,1,1,9.85,0V64a35.94,35.94,0,0,0,1.15,8.69ZM39.38,64V24.62a24.62,24.62,0,0,1,47.77-8.38Z",fill:"#d8d8d8"}),C.jsx("rect",{x:"-5.93",y:"61.89",width:"139.87",height:"14.02",rx:"2.87",ry:"2.87",transform:"translate(-29.97 65.43) rotate(-45)",fill:"#c9070a"})]})]}):s.properties.outputMuted?C.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 128 128",children:[C.jsx("title",{children:"muted_output"}),C.jsxs("g",{id:"muted_output",children:[C.jsx("path",{d:"M116.62,39a4.78,4.78,0,0,1-1.59.3l-6.29,3.63a45.42,45.42,0,0,1-13.33,57.64,49.4,49.4,0,0,1-5.82,3.62c-1.06.57-2.2.92-3.19,1.49-1.7,1-2.77,2.13-2.77,4.18a4.57,4.57,0,0,0,4.54,4.54,5.33,5.33,0,0,0,1.84-.35,54.49,54.49,0,0,0,26.94-75c-.12,0-.22,0-.34,0M88.18,13.58a4.57,4.57,0,0,0-4.54,4.54c0,2.06,1.06,3.19,2.77,4.18,1,.57,2.13.92,3.19,1.49a49.4,49.4,0,0,1,5.82,3.62,45.68,45.68,0,0,1,8.19,7.78l7-4a2.63,2.63,0,0,1,1.11-.34A54.31,54.31,0,0,0,90,13.94a5.33,5.33,0,0,0-1.84-.35",fill:"#c9070a"}),C.jsx("path",{d:"M59.46,71.4,32.77,86.81l19,19a4.51,4.51,0,0,0,3.19,1.35,4.57,4.57,0,0,0,4.54-4.54V71.4M54.92,20.88a4.51,4.51,0,0,0-3.19,1.35L28.11,45.85H9.53A4.57,4.57,0,0,0,5,50.38V77.62a4.57,4.57,0,0,0,4.54,4.54H22.25l37.2-21.48V25.42a4.57,4.57,0,0,0-4.54-4.54",fill:"#c9070a"}),C.jsx("path",{d:"M85.1,56.6l-7.87,4.54A10,10,0,0,1,77.61,64c0,8.58-8.23,7.09-8.23,12.48A4.53,4.53,0,0,0,73.92,81a4,4,0,0,0,1.77-.35A18.13,18.13,0,0,0,86.69,64a18.34,18.34,0,0,0-1.59-7.4M73.92,47a4.52,4.52,0,0,0-4.54,4.54,3.92,3.92,0,0,0,1.08,2.8l8.76-5.06a16.14,16.14,0,0,0-3.52-1.93A4,4,0,0,0,73.92,47",fill:"#c9070a"}),C.jsx("path",{d:"M100.87,47.49,93,52a27.15,27.15,0,0,1-8.36,33.87A36.79,36.79,0,0,1,79.24,89a4.54,4.54,0,0,0,1.84,8.72,5.24,5.24,0,0,0,1.77-.35,36.34,36.34,0,0,0,18-49.91M81,30.25A4.54,4.54,0,0,0,79.24,39a36.82,36.82,0,0,1,5.39,3.12,27,27,0,0,1,2.86,2.4l8.14-4.7A35.37,35.37,0,0,0,82.86,30.6,5.31,5.31,0,0,0,81,30.25",fill:"#c9070a"}),C.jsx("path",{d:"M126.57,43.71,10.42,110.77a2.88,2.88,0,0,1-3.93-1.05L4.33,106A2.88,2.88,0,0,1,5.38,102L121.53,35A2.88,2.88,0,0,1,125.46,36l2.16,3.75A2.88,2.88,0,0,1,126.57,43.71Z",fill:"#c9070a"})]})]}):s.properties.inputMuted?C.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 128 128",children:[C.jsx("title",{children:"muted_input"}),C.jsx("g",{id:"muted_input.svg",children:C.jsx("path",{d:"M88.62,54.15V64A24.69,24.69,0,0,1,64,88.62a25.26,25.26,0,0,1-8.38-1.46l-7.39,7.39A34,34,0,0,0,64,98.46,34.5,34.5,0,0,0,98.46,64V54.15a4.92,4.92,0,1,1,9.85,0V64a44.31,44.31,0,0,1-39.38,44v10.15H88.62a4.92,4.92,0,0,1,0,9.85H39.38a4.92,4.92,0,1,1,0-9.85H59.08V108A43.3,43.3,0,0,1,41,101.77L21.46,121.31a2.46,2.46,0,0,1-3.54,0L11.62,115a2.46,2.46,0,0,1,0-3.54l94.92-94.92a2.46,2.46,0,0,1,3.54,0l6.31,6.31a2.46,2.46,0,0,1,0,3.54ZM22.92,80.46A43.3,43.3,0,0,1,19.69,64V54.15a4.92,4.92,0,1,1,9.85,0V64a35.94,35.94,0,0,0,1.15,8.69ZM39.38,64V24.62a24.62,24.62,0,0,1,47.77-8.38Z",fill:"#c9070a"})})]}):s.talkStatus==1?C.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 128 128",children:[C.jsx("title",{children:"player_on_v2"}),C.jsx("g",{id:"player_on_v2.svg",children:C.jsx("path",{d:"M64,128a64,64,0,1,1,64-64A64,64,0,0,1,64,128Z",fill:"#00b4df"})})]}):C.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 128 128",children:[C.jsx("title",{children:"player_off_v2"}),C.jsx("g",{id:"player_off_v2.svg",children:C.jsx("path",{d:"M64,128a64,64,0,1,1,64-64A64,64,0,0,1,64,128Z",fill:"#3e4f5e"})})]}),C.jsx("p",{children:s.properties.nickname})]},`${s.id}-${(p=s.channel)==null?void 0:p.connection.id}`):C.jsx("div",{},Math.random())})]})}function gh(){const[e,t]=k.useState(()=>new URL(window.location.href).toString()),n=k.useRef(null),[r,l]=k.useState(5899),[i,o]=k.useState(!0),[u,s]=k.useState(!1),[a,p]=k.useState(0);k.useEffect(()=>{v()},[r,i,u,a]);function v(){const m=new URL(window.location.href);m.hash="",m.searchParams.set("remoteAppPort",r.toString()),m.searchParams.set("showChannelName",i.toString()),m.searchParams.set("hideNonTalking",u.toString()),m.searchParams.set("clientLimit",a.toString()),t(m.toString().replace("?","#/?"))}function h(){navigator.clipboard.writeText(e),n.current&&(n.current.style.animation="tooltipAnimation 200ms",n.current.style.opacity="1",setTimeout(()=>{n.current&&(n.current.style.opacity="0",n.current.style.animation="")},1e3))}return C.jsxs("div",{className:"generator",children:[C.jsxs("div",{className:"headline",children:[C.jsx("h1",{children:"TS5-OBS-Overlay Generator"}),C.jsx("h4",{children:"by DerTyp7"})]}),C.jsxs("div",{className:"instructions",children:[C.jsx("p",{children:"1. Customize your settings"}),C.jsx("p",{children:"2. Copy the generated URL"}),C.jsx("p",{children:"3. Paste the URL into the BrowserSource URL field in OBS"}),C.jsx("a",{href:"https://github.com/DerTyp7/ts5-obs-overlay#detailed-instructions",children:"Click here for detailed instructions"})]}),C.jsxs("div",{className:"output",children:[C.jsx("p",{className:"url",children:C.jsx("code",{children:e})}),C.jsx("button",{onClick:h,className:"copy",children:"Copy"}),C.jsx("div",{ref:n,className:"copiedTooltip",children:"Copied!"})]}),C.jsxs("div",{className:"generatorContent",children:[C.jsxs("div",{className:"configurations",children:[C.jsx("h2",{children:"Configurations"}),C.jsxs("div",{className:"options",children:[C.jsxs("section",{children:[C.jsxs("div",{className:"option",onClick:()=>o(!i),children:[C.jsx("input",{type:"checkbox",checked:i}),C.jsx("label",{children:"Show channel name"})]}),C.jsxs("div",{className:"option",onClick:()=>s(!u),children:[C.jsx("input",{type:"checkbox",checked:u}),C.jsx("label",{children:"Hide non talking clients"})]})]}),C.jsxs("section",{children:[C.jsxs("div",{className:"option",children:[C.jsx("input",{type:"number",value:a,min:0,onChange:m=>p(parseInt(m.target.value))}),C.jsx("label",{children:"Client Limit"})]}),C.jsxs("div",{className:"option",children:[C.jsx("input",{type:"number",value:r,min:0,onChange:m=>l(parseInt(m.target.value))}),C.jsx("label",{children:"RemoteApp-Port"})]})]})]})]}),C.jsx("div",{className:"preview",children:C.jsx(Bc,{remoteAppPort:r,showChannelName:i,hideNonTalking:u,clientLimit:a})})]})]})}function yh(){const[e]=dh();return C.jsxs(uh,{children:[C.jsx(no,{path:"/",element:C.jsx(Bc,{remoteAppPort:parseInt(e.get("remoteAppPort")??"5899"),showChannelName:e.get("showChannelName")==="true",hideNonTalking:e.get("hideNonTalking")==="true",clientLimit:e.get("clientLimit")?parseInt(e.get("clientLimit")??"0"):0})}),C.jsx(no,{path:"/generate",element:C.jsx(gh,{})})]})}si.createRoot(document.getElementById("root")).render(C.jsx(ch,{children:C.jsx(yh,{})})); diff --git a/index.html b/index.html index 002e96f..4884ef8 100644 --- a/index.html +++ b/index.html @@ -7,7 +7,7 @@ TS5-OBS-Overlay - +